sleekbyte/tailor

View on GitHub
src/main/java/com/sleekbyte/tailor/output/Printer.java

Summary

Maintainability
B
4 hrs
Test Coverage

Printer has 22 methods (exceeds 20 allowed). Consider refactoring.
Open

public final class Printer implements Comparable<Printer> {

    private File inputFile;
    private Severity maxSeverity;
    private Formatter formatter;
Severity: Minor
Found in src/main/java/com/sleekbyte/tailor/output/Printer.java - About 2 hrs to fix

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

        public static String genOutputStringForTest(Rules rule, String filePath, int line, int column, Severity severity,
                                                    String msg) {
    Severity: Minor
    Found in src/main/java/com/sleekbyte/tailor/output/Printer.java - About 45 mins to fix

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

          public static String genOutputStringForTest(String filePath, int line, int column, Severity severity, String msg) {
      Severity: Minor
      Found in src/main/java/com/sleekbyte/tailor/output/Printer.java - About 35 mins to fix

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

            public static String genOutputStringForTest(Rules rule, String filePath, int line, Severity severity, String msg) {
        Severity: Minor
        Found in src/main/java/com/sleekbyte/tailor/output/Printer.java - About 35 mins to fix

          There are no issues that match your filters.

          Category
          Status