karma-runner/karma

View on GitHub

Showing 193 of 258 total issues

Avoid too many return statements within this function.
Open

        return obj.nodeValue
Severity: Major
Found in static/context.js - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

        return results.failed ? 1 : 0
    Severity: Major
    Found in lib/browser_collection.js - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

              return '<!--' + obj.nodeValue + '-->'
      Severity: Major
      Found in static/context.js - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

                return obj.nodeValue
        Severity: Major
        Found in static/karma.js - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

                  return obj.outerHTML
          Severity: Major
          Found in static/context.js - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                return next()
            Severity: Major
            Found in lib/middleware/karma.js - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                      return '<!--' + obj.nodeValue + '-->'
              Severity: Major
              Found in static/karma.js - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                        return obj.toString() + '\n' + obj.stack
                Severity: Major
                Found in static/karma.js - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Open

                          return obj.outerHTML
                  Severity: Major
                  Found in static/karma.js - About 30 mins to fix

                    Avoid too many return statements within this function.
                    Open

                            return obj.toString()
                    Severity: Major
                    Found in static/context.js - About 30 mins to fix

                      Avoid too many return statements within this function.
                      Open

                                return 'Skipping stringify, no support for dom-serialize'
                      Severity: Major
                      Found in static/context.js - About 30 mins to fix

                        Avoid too many return statements within this function.
                        Open

                                  return 'Skipping stringify, no support for dom-serialize'
                        Severity: Major
                        Found in static/karma.js - About 30 mins to fix

                          Avoid too many return statements within this function.
                          Open

                                  return obj.toString()
                          Severity: Major
                          Found in common/stringify.js - About 30 mins to fix

                            Avoid too many return statements within this function.
                            Open

                                    return obj.nodeValue
                            Severity: Major
                            Found in common/stringify.js - About 30 mins to fix

                              Avoid too many return statements within this function.
                              Open

                                    return filesPromise.then((files) => {
                                      common.setNoCacheHeaders(response)
                                      response.writeHead(200)
                                      response.end(JSON.stringify({
                                        files: files.included.map((file) => filePathToUrlPath(file.path + '?' + file.sha, basePath, urlRoot, proxyPath))
                              Severity: Major
                              Found in lib/middleware/karma.js - About 30 mins to fix

                                Avoid too many return statements within this function.
                                Open

                                      return strs.join('')
                                Severity: Major
                                Found in common/stringify.js - About 30 mins to fix

                                  Avoid too many return statements within this function.
                                  Open

                                        return strs.join('')
                                  Severity: Major
                                  Found in static/context.js - About 30 mins to fix

                                    Avoid too many return statements within this function.
                                    Open

                                            return obj.outerHTML
                                    Severity: Major
                                    Found in common/stringify.js - About 30 mins to fix

                                      Avoid too many return statements within this function.
                                      Open

                                              return obj.toString() + '\n' + obj.stack
                                      Severity: Major
                                      Found in static/context.js - About 30 mins to fix

                                        Avoid too many return statements within this function.
                                        Open

                                                return '<!--' + obj.nodeValue + '-->'
                                        Severity: Major
                                        Found in common/stringify.js - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language