jashkenas/underscore

View on GitHub

Showing 115 of 117 total issues

Avoid too many return statements within this function.
Open

  return deepEq(a, b, aStack, bStack);
Severity: Major
Found in modules/isEqual.js - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

      return values(obj);
    Severity: Major
    Found in underscore-esm.js - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

          return deepEq(a, b, aStack, bStack);
      Severity: Major
      Found in underscore.js - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

                if (!eq(a[length], b[length], aStack, bStack)) return false;
        Severity: Major
        Found in underscore.js - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

              if (aStack[length] === a) return bStack[length] === b;
          Severity: Major
          Found in modules/isEqual.js - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                if (length !== b.length) return false;
            Severity: Major
            Found in modules/isEqual.js - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                    if (!(has(b, key) && eq(a[key], b[key], aStack, bStack))) return false;
              Severity: Major
              Found in modules/isEqual.js - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                  return values(obj);
                Severity: Major
                Found in modules/toArray.js - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Open

                      if (typeof a != 'object' || typeof b != 'object') return false;
                  Severity: Major
                  Found in underscore-esm.js - About 30 mins to fix

                    Avoid too many return statements within this function.
                    Open

                          if (!(has$1(b, key) && eq(a[key], b[key], aStack, bStack))) return false;
                    Severity: Major
                    Found in underscore-esm.js - About 30 mins to fix

                      Avoid too many return statements within this function.
                      Open

                          if (typeof a != 'object' || typeof b != 'object') return false;
                      Severity: Major
                      Found in modules/isEqual.js - About 30 mins to fix

                        Avoid too many return statements within this function.
                        Open

                                if (byteLength !== getByteLength(b)) return false;
                        Severity: Major
                        Found in underscore.js - About 30 mins to fix

                          Avoid too many return statements within this function.
                          Open

                                return false;
                          Severity: Major
                          Found in modules/isEqual.js - About 30 mins to fix

                            Avoid too many return statements within this function.
                            Open

                                  if (keys(b).length !== length) return false;
                            Severity: Major
                            Found in underscore.js - About 30 mins to fix

                              Avoid too many return statements within this function.
                              Open

                                  return true;
                              Severity: Major
                              Found in underscore-umd.js - About 30 mins to fix

                                Avoid too many return statements within this function.
                                Open

                                  return true;
                                Severity: Major
                                Found in modules/isEqual.js - About 30 mins to fix

                                  Avoid too many return statements within this function.
                                  Open

                                        return false;
                                  Severity: Major
                                  Found in underscore-esm.js - About 30 mins to fix

                                    Avoid too many return statements within this function.
                                    Open

                                            if (!(has$1(b, key) && eq(a[key], b[key], aStack, bStack))) return false;
                                    Severity: Major
                                    Found in underscore.js - About 30 mins to fix

                                      Avoid too many return statements within this function.
                                      Open

                                            if (typeof a != 'object' || typeof b != 'object') return false;
                                      Severity: Major
                                      Found in underscore.js - About 30 mins to fix

                                        Avoid too many return statements within this function.
                                        Open

                                            return values(obj);
                                        Severity: Major
                                        Found in underscore.js - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language