marcells/node-build-monitor

View on GitHub

Showing 110 of 159 total issues

Avoid too many return statements within this function.
Open

                if (lifeCycleState === 'NOT_BUILT') return 'Gray';
Severity: Major
Found in app/services/BambooDeploy.js - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

                return statusText + "/" + resultText;
    Severity: Major
    Found in app/services/Tfs2015.js - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

                if (lifeCycleState === 'NotBuilt') return 'Gray';
      Severity: Major
      Found in app/services/Bamboo.js - About 30 mins to fix

        Avoid too many return statements within this function.
        Open

                    if (result === 'NOT_BUILT') return "Blue";
        Severity: Major
        Found in app/services/Jenkins.js - About 30 mins to fix

          Avoid too many return statements within this function.
          Open

                      if (result === 'ABORTED') return "Aborted";
          Severity: Major
          Found in app/services/Jenkins.js - About 30 mins to fix

            Avoid too many return statements within this function.
            Open

                        if (result === null) return "Running";
            Severity: Major
            Found in app/services/Jenkins.js - About 30 mins to fix

              Avoid too many return statements within this function.
              Open

                                return -1;
              Severity: Major
              Found in app/services/TfsRelease.js - About 30 mins to fix

                Avoid too many return statements within this function.
                Open

                            return null;
                Severity: Major
                Found in app/services/Jenkins.js - About 30 mins to fix

                  Avoid too many return statements within this function.
                  Open

                              if (build.status === "FAILURE") return "Red";
                  Severity: Major
                  Found in app/services/TeamCity.js - About 30 mins to fix

                    Avoid too many return statements within this function.
                    Open

                                if (build.status === "UNKNOWN") return "Unknown";
                    Severity: Major
                    Found in app/services/TeamCity.js - About 30 mins to fix
                      Severity
                      Category
                      Status
                      Source
                      Language