iccicci/sedentary

View on GitHub
packages/sedentary/db.ts

Summary

Maintainability
A
3 hrs
Test Coverage

Avoid too many return statements within this function.
Open

    for(const [i, value] of a.entries()) if(deepDiff(value, b[i])) return true;
Severity: Major
Found in packages/sedentary/db.ts - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

        return false;
    Severity: Major
    Found in packages/sedentary/db.ts - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

          if(! (b instanceof Array)) return true;
      Severity: Major
      Found in packages/sedentary/db.ts - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

          if(entriesA.length !== entriesB.length) return true;
        Severity: Major
        Found in packages/sedentary/db.ts - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

              return true;
          Severity: Major
          Found in packages/sedentary/db.ts - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

              for(const [i, [key, value]] of entriesA.entries()) if(key !== entriesB[i][0] || deepDiff(value, entriesB[i][1])) return true;
            Severity: Major
            Found in packages/sedentary/db.ts - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                return false;
              Severity: Major
              Found in packages/sedentary/db.ts - About 30 mins to fix

                There are no issues that match your filters.

                Category
                Status