CloudSlang/cs-actions

View on GitHub

Showing 3,993 of 4,022 total issues

Avoid too many return statements within this method.
Open

        return OutputUtilities.getSuccessResultsMap(excelFileName + " created successfully");

    Avoid too many return statements within this method.
    Open

                return getFailureResultsMap(exception);

      Avoid too many return statements within this method.
      Open

                      return results;

        Avoid too many return statements within this method.
        Open

                     return getFailureResultsMap(exception);

          Avoid too many return statements within this method.
          Open

                      return getFailureResultsMap(exception);

            Avoid too many return statements within this method.
            Open

                            return results;

              Avoid too many return statements within this method.
              Open

                          return getFailureResultsMap(exception);

                Avoid too many return statements within this method.
                Open

                            return getFailureResultsMap(exception);

                  Avoid too many return statements within this method.
                  Open

                              return getFailureResultsMap(exception);

                    Avoid too many return statements within this method.
                    Open

                                return getFailureResultsMap(exception);

                      Avoid too many return statements within this method.
                      Open

                                  return getFailureResultsMap(exception);

                        Avoid too many return statements within this method.
                        Open

                                    return getFailureResultsMap(exception);

                          Avoid too many return statements within this method.
                          Open

                                              return ResultUtils.fromException(ex);

                            Avoid too many return statements within this method.
                            Open

                                                return ResultUtils.fromException(ex);

                              Avoid too many return statements within this method.
                              Open

                                                  return ResultUtils.fromException(ex);

                                Avoid too many return statements within this method.
                                Open

                                                    return ResultUtils.fromException(ex);

                                  Avoid too many return statements within this method.
                                  Open

                                                  return fail(ee.toString() + "\n" + e.toString());

                                    Avoid too many return statements within this method.
                                    Open

                                                return getFailureResultsMap(exception);

                                      Avoid too many return statements within this method.
                                      Open

                                                      return getSuccessResultsMap(CREATE_DIR_SUCCESS_DESC);
                                      Severity: Major
                                      Found in cs-rft/src/main/java/io/cloudslang/content/rft/services/SFTPService.java - About 30 mins to fix

                                        Avoid too many return statements within this method.
                                        Open

                                                    return fail(e.toString());
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language