codenautas/self-explain

View on GitHub

Showing 99 of 254 total issues

Avoid too many return statements within this function.
Open

          return generateRegExp(expr.value);
Severity: Major
Found in dist/escodegen.browser.js - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

                  return systemRequire(originalId);
    Severity: Major
    Found in dist/escodegen.browser.js - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

              return [
                left,
                space,
                right
              ];
      Severity: Major
      Found in dist/escodegen.browser.js - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

                return mappingA.generatedColumn - mappingB.generatedColumn;
        Severity: Major
        Found in dist/escodegen.browser.js - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

                      return ".class: "+constructorName(a)+' != '+constructorName(b);
          Severity: Major
          Found in lib/self-explain.js - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                        return selfExplain.assert.differences(a.split(opts.split), b.split(opts.split), opts, prefix+".split(" + opts.split + ")");
            Severity: Major
            Found in lib/self-explain.js - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                          return loaderCache[id];
              Severity: Major
              Found in dist/escodegen.browser.js - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                          return '\\0';
                Severity: Major
                Found in dist/escodegen.browser.js - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Open

                            return cmp;
                  Severity: Major
                  Found in dist/escodegen.browser.js - About 30 mins to fix

                    Avoid too many return statements within this function.
                    Open

                                return loaderCache[id];
                    Severity: Major
                    Found in dist/escodegen.browser.js - About 30 mins to fix

                      Avoid too many return statements within this function.
                      Open

                              return format(a-b, prefix);
                      Severity: Major
                      Found in lib/self-explain.js - About 30 mins to fix

                        Avoid too many return statements within this function.
                        Open

                            return format(selfExplain.assert.stringify(a)+' != '+selfExplain.assert.stringify(b), prefix);
                        Severity: Major
                        Found in lib/self-explain.js - About 30 mins to fix

                          Avoid too many return statements within this function.
                          Open

                                      return code === 40 || esutils.code.isWhiteSpace(code) || code === 42 || esutils.code.isLineTerminator(code);
                          Severity: Major
                          Found in dist/escodegen.browser.js - About 30 mins to fix

                            Avoid too many return statements within this function.
                            Open

                                      return '\\u2029';
                            Severity: Major
                            Found in dist/escodegen.browser.js - About 30 mins to fix

                              Avoid too many return statements within this function.
                              Open

                                          return expr.value ? 'true' : 'false';
                              Severity: Major
                              Found in dist/escodegen.browser.js - About 30 mins to fix

                                Avoid too many return statements within this function.
                                Open

                                        return strcmp(mappingA.name, mappingB.name);
                                Severity: Major
                                Found in dist/escodegen.browser.js - About 30 mins to fix

                                  Avoid too many return statements within this function.
                                  Open

                                              return loaderCache[id];
                                  Severity: Major
                                  Found in dist/escodegen.browser.js - About 30 mins to fix

                                    Avoid too many return statements within this function.
                                    Open

                                            return result.length ? result.join("\n") : null;
                                    Severity: Major
                                    Found in lib/self-explain.js - About 30 mins to fix

                                      Avoid too many return statements within this function.
                                      Open

                                              if(Math.abs(a-b)<delta) { return null; }
                                      Severity: Major
                                      Found in lib/self-explain.js - About 30 mins to fix
                                        Severity
                                        Category
                                        Status
                                        Source
                                        Language