Promact/slack-erp-custom-integration-mvc

View on GitHub

Showing 196 of 517 total issues

Avoid too many return statements within this method.
Open

                return _stringConstant.OnlyPrivateChannel;

    Avoid too many return statements within this method.
    Open

                    return true;

      Avoid too many return statements within this method.
      Open

                      return false;

        Avoid too many return statements within this method.
        Open

                    return false;

          Avoid too many return statements within this method.
          Open

                          return ScrumStatus.InActiveProject;

            Avoid too many return statements within this method.
            Open

                        return _stringConstant.ScrumNotStarted;

              Avoid too many return statements within this method.
              Open

                                      return string.Format(_stringConstant.InActiveInOAuth, expectedSlackUserAc.Name) + await GetQuestionAsync(scrumId, questions, users, projectId);

                Avoid too many return statements within this method.
                Open

                                    return ScrumStatus.NoEmployee;

                  Avoid too many return statements within this method.
                  Open

                                              return string.Format(_stringConstant.NotTeamLeader, slackUserId);

                    Avoid too many return statements within this method.
                    Open

                                return ScrumStatus.NoProject;

                      Avoid too many return statements within this method.
                      Open

                                      return _stringConstant.ProjectChannelNotLinked;

                        Avoid too many return statements within this method.
                        Open

                                            return _stringConstant.UserNotInSlack + await GetQuestionAsync(scrumId, questions, users, projectId);

                          Avoid too many return statements within this method.
                          Open

                                              return Ok();
                          Severity: Major
                          Found in Slack.Automation/Promact.Erp.Core/Controllers/OAuthController.cs - About 30 mins to fix

                            Avoid too many return statements within this method.
                            Open

                                        return View();
                            Severity: Major
                            Found in Slack.Automation/Promact.Erp.Core/Controllers/HomeController.cs - About 30 mins to fix

                              Avoid too many return statements within this method.
                              Open

                                          return Ok();
                              Severity: Major
                              Found in Slack.Automation/Promact.Erp.Core/Controllers/OAuthController.cs - About 30 mins to fix

                                Avoid too many return statements within this method.
                                Open

                                                    return Ok();
                                Severity: Major
                                Found in Slack.Automation/Promact.Erp.Core/Controllers/OAuthController.cs - About 30 mins to fix
                                  Severity
                                  Category
                                  Status
                                  Source
                                  Language