renuo/ngx-renuo-upload

View on GitHub
src/app/app.component.spec.ts

Summary

Maintainability
A
3 hrs
Test Coverage

Avoid too many return statements within this function.
Open

            return Object.keys(y).every(i => p.indexOf(i) !== -1) &&
              p.every(i => objectEquals(x[i], y[i]));
Severity: Major
Found in src/app/app.component.spec.ts - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

                if (x === y || x.valueOf() === y.valueOf()) { return true; }
    Severity: Major
    Found in src/app/app.component.spec.ts - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

                  if (x instanceof Date) { return false; }
      Severity: Major
      Found in src/app/app.component.spec.ts - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

                    if (!(x instanceof Object)) { return false; }
        Severity: Major
        Found in src/app/app.component.spec.ts - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

                      if (!(y instanceof Object)) { return false; }
          Severity: Major
          Found in src/app/app.component.spec.ts - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                        if (Array.isArray(x) && x.length !== y.length) { return false; }
            Severity: Major
            Found in src/app/app.component.spec.ts - About 30 mins to fix

              There are no issues that match your filters.

              Category
              Status