CloudSlang/cs-actions

View on GitHub

Showing 3,994 of 4,023 total issues

Method init has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

    public void init(String from, String to, String by, boolean reset, StepSerializableSessionObject session) throws CounterImplException {

    Method executeCommand has 5 arguments (exceeds 4 allowed). Consider refactoring.
    Open

        private String executeCommand(HttpClientService csHttpClient, HttpClientInputs httpClientInputs, String shellId,
                                      WSManRequestInputs wsManRequestInputs, String command) throws Exception {

      Method isValidPasswordLength has 5 arguments (exceeds 4 allowed). Consider refactoring.
      Open

          private static boolean isValidPasswordLength(@NotNull final String passwordLength, @NotNull final String numberOfLowerCaseCharacters,
                                                       @NotNull final String numberOfUpperCaseCharacters, @NotNull final String numberOfNumericalCharacters,
                                                       @NotNull final String numberOfSpecialCharacters) {

        Method getTaskFailureResults has 5 arguments (exceeds 4 allowed). Consider refactoring.
        Open

            public static Map<String, String> getTaskFailureResults(@NotNull String inputName, @NotNull Integer statusCode,
                                                                    @NotNull String taskStatus, @NotNull String returnMessage,
                                                                    @NotNull String throwable) {

          Method counter has 5 arguments (exceeds 4 allowed). Consider refactoring.
          Open

              public static Map<String, String> counter(String to, String from, String by, boolean reset, GlobalSessionObject<Map<String, Object>> globalSessionObject) {

            Method setProxy has 5 arguments (exceeds 4 allowed). Consider refactoring.
            Open

                public static void setProxy(@NotNull final HttpClientInputs httpClientInputs,
                                            @NotNull final String proxyHost,
                                            @NotNull final String proxyPort,
                                            @NotNull final String proxyUsername,
                                            @NotNull final String proxyPassword) {

              Method createCreateShellRequestBody has 5 arguments (exceeds 4 allowed). Consider refactoring.
              Open

                  private String createCreateShellRequestBody(String doc, String url, String maxEnvelopeSize, String winrmLocale, String operationTimeout) throws RuntimeException {

                Method execute has 5 arguments (exceeds 4 allowed). Consider refactoring.
                Open

                    public Map<String, String> execute(@Param(value = FROM, required = true, description = FROM_DESC) String from,
                                                       @Param(value = TO, required = true, description = TO_DESC) String to,
                                                       @Param(value = INCREMENT_BY, description = INCREMENT_BY_DESC) String incrementBy,
                                                       @Param(value = RESET, description = RESET_DESC) String reset,
                                                       @Param("sessionCounter") StepSerializableSessionObject sessionCounter) {

                  Method init has 5 arguments (exceeds 4 allowed). Consider refactoring.
                  Open

                      public void init(String to, String from, String by, boolean reset, GlobalSessionObject<Map<String, Object>> session) throws Exception {

                    Method init has 5 arguments (exceeds 4 allowed). Consider refactoring.
                    Open

                        public void init(String to, String from, String by, boolean reset, GlobalSessionObject<Map<String, Object>> session) throws CounterImplException {

                      Method receiveCommandResult has 5 arguments (exceeds 4 allowed). Consider refactoring.
                      Open

                          private Map<String, String> receiveCommandResult(HttpClientService csHttpClient, HttpClientInputs httpClientInputs,
                                                                           String shellId, String commandId, WSManRequestInputs wsManRequestInputs) throws Exception {

                        Method execute has 5 arguments (exceeds 4 allowed). Consider refactoring.
                        Open

                            public Map<String, String> execute(@Param(value = TARGET_HOST, required = true, description = TARGET_HOST_INPUT_DESC) String targetHost,
                                                               @Param(value = PACKET_COUNT, description = PACKETS_COUNT_INPUT_DESC) String packetCount,
                                                               @Param(value = PACKET_SIZE, description = PACKET_SIZE_INPUT_DESC) String packetSize,
                                                               @Param(value = TIMEOUT, description = TIMEOUT_INPUT_DESC) String timeout,
                                                               @Param(value = IP_VERSION, description = IP_VERSION_INPUT_DESC) String ipVersion) {

                          Method replaceCommonPlaceholders has 5 arguments (exceeds 4 allowed). Consider refactoring.
                          Open

                              private String replaceCommonPlaceholders(String doc, String url, String maxEnvelopeSize, String winrmLocale, String operationTimeout) {

                            Method execute has 5 arguments (exceeds 4 allowed). Consider refactoring.
                            Open

                                public Map<String, String> execute(@Param(value = FROM, required = true, description = FROM_DESC) String from,
                                                                   @Param(value = TO, required = true, description = TO_DESC) String to,
                                                                   @Param(value = INCREMENT_BY, description = INCREMENT_BY_DESC) String incrementBy,
                                                                   @Param(value = RESET, description = RESET_DESC) String reset,
                                                                   @Param("globalSessionObject") GlobalSessionObject<Map<String, Object>>

                              Method count has 5 arguments (exceeds 4 allowed). Consider refactoring.
                              Open

                                  private Map<String, String> count(String from, String to, String incrementBy, boolean reset, StepSerializableSessionObject session) {

                                Method setCredentials has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                Open

                                    public void setCredentials(String host, int port, String username, String password, String privateKeyFile)

                                  Method init has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                  Open

                                      public void init(String to, String from, String by, boolean reset, GlobalSessionObject<Map<String, Object>> session) throws CounterImplException {

                                    Method setCredentials has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                    Open

                                        public void setCredentials(String host, int port, String username, String password, String privateKeyFile) throws UnsupportedOperationException;
                                    Severity: Minor
                                    Found in cs-rft/src/main/java/io/cloudslang/content/rft/remote_copy/ICopier.java - About 35 mins to fix

                                      Method execute has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                      Open

                                          public Map<String, String> execute(@Param(value = FROM, required = true, description = FROM_DESC) String from,
                                                                             @Param(value = TO, required = true, description = TO_DESC) String to,
                                                                             @Param(value = INCREMENT_BY, description = INCREMENT_BY_DESC) String incrementBy,
                                                                             @Param(value = RESET, description = RESET_DESC) String reset,
                                                                             @Param("globalSessionObject") GlobalSessionObject<Map<String, Object>> globalSessionObject) {

                                        Method addVerifyRemotePathAndFile has 5 arguments (exceeds 4 allowed). Consider refactoring.
                                        Open

                                            private static void addVerifyRemotePathAndFile(@NotNull List<String> exceptions, @Nullable final String remotePath, @Nullable final String remoteFile,
                                                                                           @NotNull final String remotePathInput, @NotNull final String remoteFileInput) {
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language