Showing 517 of 2,859 total issues

Avoid too many return statements within this function.
Open

      return;
Severity: Major
Found in tools/doc/json.js - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

            return;
    Severity: Major
    Found in tools/doc/html.js - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

            return;
      Severity: Major
      Found in tools/doc/json.js - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

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

          Avoid too many return statements within this function.
          Open

                return formatError(value);
          Severity: Major
          Found in lib/util.js - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                  return ctx.stylize('[Boolean: ' + formatted + ']', 'boolean');
            Severity: Major
            Found in lib/util.js - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

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

                Avoid too many return statements within this function.
                Open

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

                  Avoid too many return statements within this function.
                  Open

                      return result;
                  Severity: Major
                  Found in lib/url.js - About 30 mins to fix

                    Avoid too many return statements within this function.
                    Open

                        return ctx.stylize(value.toString(), 'symbol');
                    Severity: Major
                    Found in lib/util.js - About 30 mins to fix

                      Avoid too many return statements within this function.
                      Open

                          return actual == expected;
                      Severity: Major
                      Found in lib/assert.js - About 30 mins to fix

                        Avoid too many return statements within this function.
                        Open

                          return reduceToSingleString(output, base, braces);
                        Severity: Major
                        Found in lib/util.js - About 30 mins to fix

                          Avoid too many return statements within this function.
                          Open

                              return ctx.stylize('' + value, 'boolean');
                          Severity: Major
                          Found in lib/util.js - About 30 mins to fix

                            Avoid too many return statements within this function.
                            Open

                              return path;
                            Severity: Major
                            Found in lib/path.js - About 30 mins to fix

                              Avoid too many return statements within this function.
                              Open

                                    return ctx.stylize(Date.prototype.toString.call(value), 'date');
                              Severity: Major
                              Found in lib/util.js - About 30 mins to fix

                                Avoid too many return statements within this function.
                                Open

                                    return actual.source === expected.source &&
                                           actual.global === expected.global &&
                                           actual.multiline === expected.multiline &&
                                           actual.lastIndex === expected.lastIndex &&
                                           actual.ignoreCase === expected.ignoreCase;
                                Severity: Major
                                Found in lib/assert.js - About 30 mins to fix

                                  Avoid too many return statements within this function.
                                  Open

                                        return ctx.stylize('[String: ' + formatted + ']', 'string');
                                  Severity: Major
                                  Found in lib/util.js - About 30 mins to fix

                                    Avoid too many return statements within this function.
                                    Open

                                        return ctx.stylize('null', 'null');
                                    Severity: Major
                                    Found in lib/util.js - About 30 mins to fix

                                      Avoid too many return statements within this function.
                                      Open

                                          return objEquiv(actual, expected);
                                      Severity: Major
                                      Found in lib/assert.js - About 30 mins to fix

                                        Avoid too many return statements within this function.
                                        Open

                                            if (!_deepEqual(a[key], b[key])) return false;
                                        Severity: Major
                                        Found in lib/assert.js - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language