ayastreb/bandwidth-hero

View on GitHub

Showing 12 of 21 total issues

Function render has 115 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  render() {
    return (
      <Segment className="wrapper">
        <Header />
        <Segment basic attached>
Severity: Major
Found in src/setup/index.js - About 4 hrs to fix

    Function exports has 84 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

    module.exports = env => {
    
    return{
      mode: env.NODE_ENV,
      devtool: 'inline-source-map',
    Severity: Major
    Found in webpack.config.js - About 3 hrs to fix

      Avoid too many return statements within this function.
      Open

          return false;
      Severity: Major
      Found in src/background/shouldCompress.js - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

            return false;
        Severity: Major
        Found in src/background/shouldCompress.js - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

              return false;
          Severity: Major
          Found in src/background/shouldCompress.js - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                return false;
            Severity: Major
            Found in src/background/shouldCompress.js - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                  return false;
              Severity: Major
              Found in src/background/shouldCompress.js - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                  return true;
                Severity: Major
                Found in src/background/shouldCompress.js - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Open

                      return false;
                  Severity: Major
                  Found in src/background/shouldCompress.js - About 30 mins to fix

                    Avoid too many return statements within this function.
                    Open

                        return false;
                    Severity: Major
                    Found in src/background/shouldCompress.js - About 30 mins to fix

                      Avoid too many return statements within this function.
                      Open

                          return false;
                      Severity: Major
                      Found in src/background/shouldCompress.js - About 30 mins to fix

                        Avoid too many return statements within this function.
                        Open

                            return false;
                        Severity: Major
                        Found in src/background/shouldCompress.js - About 30 mins to fix
                          Severity
                          Category
                          Status
                          Source
                          Language