CloudSlang/cs-actions

View on GitHub
cs-utilities/src/main/java/io/cloudslang/content/utilities/actions/Counter.java

Summary

Maintainability
A
1 hr
Test Coverage

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 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) {

      There are no issues that match your filters.

      Category
      Status