src/main/java/com/trickl/math/Permutator.java

Summary

Maintainability
C
1 day
Test Coverage

Permutator has 30 methods (exceeds 20 allowed). Consider refactoring.
Open

public interface Permutator {

  /**
   * Perform a three cycle permutation.
   * [ 1, 2, 3 ] -> [ 2, 3, 1 ]
Severity: Minor
Found in src/main/java/com/trickl/math/Permutator.java - About 3 hrs to fix

    Method cycle has 6 arguments (exceeds 4 allowed). Consider refactoring.
    Open

      <T> T[] cycle(T[] S, int first, int second, int third, int fourth, int fifth);
    Severity: Minor
    Found in src/main/java/com/trickl/math/Permutator.java - About 45 mins to fix

      Method cycle has 6 arguments (exceeds 4 allowed). Consider refactoring.
      Open

        short[] cycle(short[] S, int first, int second, int third, int fourth, int fifth);
      Severity: Minor
      Found in src/main/java/com/trickl/math/Permutator.java - About 45 mins to fix

        Method cycle has 6 arguments (exceeds 4 allowed). Consider refactoring.
        Open

          char[] cycle(char[] S, int first, int second, int third, int fourth, int fifth);
        Severity: Minor
        Found in src/main/java/com/trickl/math/Permutator.java - About 45 mins to fix

          Method cycle has 6 arguments (exceeds 4 allowed). Consider refactoring.
          Open

            float[] cycle(float[] S, int first, int second, int third, int fourth, int fifth);
          Severity: Minor
          Found in src/main/java/com/trickl/math/Permutator.java - About 45 mins to fix

            Method cycle has 6 arguments (exceeds 4 allowed). Consider refactoring.
            Open

              int[] cycle(int[] S, int first, int second, int third, int fourth, int fifth);
            Severity: Minor
            Found in src/main/java/com/trickl/math/Permutator.java - About 45 mins to fix

              Method cycle has 6 arguments (exceeds 4 allowed). Consider refactoring.
              Open

                double[] cycle(double[] S, int first, int second, int third, int fourth, int fifth);
              Severity: Minor
              Found in src/main/java/com/trickl/math/Permutator.java - About 45 mins to fix

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

                  float[] cycle(float[] S, int first, int second, int third, int fourth);
                Severity: Minor
                Found in src/main/java/com/trickl/math/Permutator.java - About 35 mins to fix

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

                    char[] cycle(char[] S, int first, int second, int third, int fourth);
                  Severity: Minor
                  Found in src/main/java/com/trickl/math/Permutator.java - About 35 mins to fix

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

                      int[] cycle(int[] S, int first, int second, int third, int fourth);
                    Severity: Minor
                    Found in src/main/java/com/trickl/math/Permutator.java - About 35 mins to fix

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

                        <T> T[] cycle(T[] S, int first, int second, int third, int fourth);
                      Severity: Minor
                      Found in src/main/java/com/trickl/math/Permutator.java - About 35 mins to fix

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

                          double[] cycle(double[] S, int first, int second, int third, int fourth);
                        Severity: Minor
                        Found in src/main/java/com/trickl/math/Permutator.java - About 35 mins to fix

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

                            short[] cycle(short[] S, int first, int second, int third, int fourth);
                          Severity: Minor
                          Found in src/main/java/com/trickl/math/Permutator.java - About 35 mins to fix

                            There are no issues that match your filters.

                            Category
                            Status