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 to, String from, String by, boolean reset, GlobalSessionObject<Map<String, Object>> session) throws CounterImplException {

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

        private static String getRowIndex(final Sheet worksheet,
                                          final int firstRow,
                                          final String input,
                                          final int columnIndex,
                                          final String operator) {

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

          private void setOptionalQueryParamEntry(Map<String, String> queryParamsMap, String[] inputArray, String customKey,
                                                  int index, boolean condition) {

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

            public static List<String> verifyGetCellRowIndexbyCondition(@NotNull final String excelFileName,
                                                                        @NotNull final String hasHeader,
                                                                        @NotNull final String firstRowIndex,
                                                                        @NotNull final String columnIndextoQuery,
                                                                        @NotNull final String operator) {

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

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

            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 verifyCreateWorkspaceVariableInputs has 5 arguments (exceeds 4 allowed). Consider refactoring.
              Open

                  public static List<String> verifyCreateWorkspaceVariableInputs(@Nullable final String workspaceId,
                                                                        @Nullable final String workspaceVariableCategory,@Nullable final String workspaceVariableName,
                                                                        @Nullable final String requestBody,String sensitiveRequestBody) {

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

                    public static List<String> verifyCreateVariableInputs(@Nullable final String workspaceId,
                                                                          @Nullable final String variableCategory,@Nullable final String variableName,
                                                                          @Nullable final String requestBody,String sensitiveRequestBody) {

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

                      public static List<String> verifyUpdateVariableInputs(@Nullable final String variableId, @Nullable final String variableName, @Nullable final String variableValue, @Nullable final String variableCategory,
                                                                            @Nullable final String requestBody) {

                    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 setSecurityInputs has 5 arguments (exceeds 4 allowed). Consider refactoring.
                      Open

                          public static void setSecurityInputs(@NotNull final HttpClientInputs httpClientInputs,
                                                               @NotNull final String trustAllRoots,
                                                               @NotNull final String x509HostnameVerifier,
                                                               @NotNull final String trustKeystore,
                                                               @NotNull final String trustPassword) {

                        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 getHttpNfcLease has 5 arguments (exceeds 4 allowed). Consider refactoring.
                          Open

                              public static ManagedObjectReference getHttpNfcLease(final ConnectionResources connectionResources, final ImportSpec importSpec,
                                                                                   final ManagedObjectReference resourcePool, final ManagedObjectReference hostMor,
                                                                                   final ManagedObjectReference folderMor) throws Exception {
                          Severity: Minor
                          Found in cs-vmware/src/main/java/io/cloudslang/content/vmware/utils/OvfUtils.java - About 35 mins to fix

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

                                private String downloadAttachment(Message message, String attachment, String characterSet, String path, boolean overwrite) throws Exception {

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

                                  public static long writeToStream(OutputStream outputStream, ProgressUpdater progressUpdater, long bytesCopied, byte[] buffer, int read) throws Exception {
                              Severity: Minor
                              Found in cs-vmware/src/main/java/io/cloudslang/content/vmware/utils/OvfUtils.java - About 35 mins to fix

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

                                    public static void addSSLSettings(boolean trustAllRoots, String keystore,
                                                                      String keystorePassword, String trustKeystore, String trustPassword) throws Exception {
                                Severity: Minor
                                Found in cs-mail/src/main/java/io/cloudslang/content/mail/sslconfig/SSLUtils.java - About 35 mins to fix

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

                                              final ConnectionResources connectionResources, final VmInputs vmInputs, final String templatePath,
                                              final Map<String, String> ovfNetworkMap, final Map<String, String> ovfPropertyMap) throws Exception {

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

                                        public void deployOvfTemplate(final HttpInputs httpInputs, final VmInputs vmInputs, final String templatePath,
                                                                      final Map<String, String> ovfNetworkMap, final Map<String, String> ovfPropertyMap)

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

                                          public VirtualMachineConfigSpec getAddOrRemoveSpecs(ConnectionResources connectionResources, ManagedObjectReference vmMor,
                                                                                              VmInputs vmInputs, VirtualMachineConfigSpec vmConfigSpec, String device)

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

                                            public static List<String> verifyGenerateRandomPasswordInputs(@NotNull final String passwordLength, @NotNull final String numberOfLowerCaseCharacters,
                                                                                                          @NotNull final String numberOfUpperCaseCharacters, @NotNull final String numberOfNumericalCharacters,
                                                                                                          @NotNull final String numberOfSpecialCharacters) throws Exception {
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language