netdata/netdata

View on GitHub

Showing 3,000 of 3,000 total issues

Avoid too many return statements within this function.
Open

        else if (n1 > n2) return true;
Severity: Major
Found in src/web/gui/main.js - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

                return self.DEFAULT_MAPPING_TAG
    Severity: Major
    Found in src/collectors/python.d.plugin/python_modules/pyyaml3/resolver.py - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

                  return self.fetch_flow_mapping_start()
      Severity: Major
      Found in src/collectors/python.d.plugin/python_modules/pyyaml3/scanner.py - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

                    return self.fetch_folded()
        Severity: Major
        Found in src/collectors/python.d.plugin/python_modules/pyyaml3/scanner.py - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

                  return prefix + '<div class="netdata-container" data-netdata="' + chart + '" data-after="-120" data-width="25%" data-height="15px" data-chart-library="dygraph" data-dygraph-theme="sparkline" data-dimensions="' + dimension + '" data-show-value-of-' + dimension + '-at="' + key + '"></div> (<span id="' + key + '" style="display: inline-block; min-width: 50px; text-align: right;">X</span>' + units + ')' + suffix;
          Severity: Major
          Found in src/web/gui/main.js - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                            return
            Severity: Major
            Found in src/collectors/python.d.plugin/python_modules/pyyaml3/resolver.py - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                          return self.fetch_flow_entry()
              Severity: Major
              Found in src/collectors/python.d.plugin/python_modules/pyyaml3/scanner.py - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                            return self.fetch_block_entry()
                Severity: Major
                Found in src/collectors/python.d.plugin/python_modules/pyyaml3/scanner.py - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Open

                              return self.fetch_flow_sequence_end()
                  Severity: Major
                  Found in src/collectors/python.d.plugin/python_modules/pyyaml3/scanner.py - About 30 mins to fix

                    Avoid too many return statements within this function.
                    Open

                                return self.fetch_key()
                    Severity: Major
                    Found in src/collectors/python.d.plugin/python_modules/pyyaml3/scanner.py - About 30 mins to fix

                      Avoid too many return statements within this function.
                      Open

                                  return self.fetch_single()
                      Severity: Major
                      Found in src/collectors/python.d.plugin/python_modules/pyyaml3/scanner.py - About 30 mins to fix

                        Avoid too many return statements within this function.
                        Open

                                return True
                        Severity: Major
                        Found in src/collectors/python.d.plugin/python_modules/urllib3/util/connection.py - About 30 mins to fix

                          Avoid too many return statements within this function.
                          Open

                                  return '"'
                          Severity: Major
                          Found in src/collectors/python.d.plugin/python_modules/pyyaml3/emitter.py - About 30 mins to fix

                            Avoid too many return statements within this function.
                            Open

                                        return sign*int(value)
                            Severity: Major
                            Found in src/collectors/python.d.plugin/python_modules/pyyaml3/constructor.py - About 30 mins to fix

                              Avoid too many return statements within this function.
                              Open

                                          return False
                              Severity: Major
                              Found in src/collectors/python.d.plugin/python_modules/pyyaml3/emitter.py - About 30 mins to fix

                                Avoid too many return statements within this function.
                                Open

                                            return self.urlopen(
                                Severity: Major
                                Found in src/collectors/python.d.plugin/python_modules/urllib3/connectionpool.py - About 30 mins to fix

                                  Avoid too many return statements within this function.
                                  Open

                                          return response
                                  Severity: Major
                                  Found in src/collectors/python.d.plugin/python_modules/urllib3/connectionpool.py - About 30 mins to fix

                                    Avoid too many return statements within this function.
                                    Open

                                                return sign*value
                                    Severity: Major
                                    Found in src/collectors/python.d.plugin/python_modules/pyyaml3/constructor.py - About 30 mins to fix

                                      Avoid too many return statements within this function.
                                      Open

                                              return 0

                                        Avoid too many return statements within this function.
                                        Open

                                                    return self.fetch_flow_sequence_end()
                                        Severity: Major
                                        Found in src/collectors/python.d.plugin/python_modules/pyyaml2/scanner.py - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language