line 22 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
File: src/main/java/pl/touk/sputnik/processor/checkstyle/CheckstyleProcessor.java
line 17 - [PMD] INFO: Avoid unused imports such as 'pl.touk.sputnik.review.filter.FileExtensionFilter'
line 22 - [PMD] INFO: Avoid unused imports such as 'java.util.Collections'
line 27 - [PMD] INFO: Each class should declare at least one constructor
line 27 - [PMD] INFO: headerCommentRequirement Required
line 28 - [PMD] INFO: fieldCommentRequirement Required
line 29 - [PMD] INFO: Found non-transient, non-static member. Please mark as transient or provide accessors.
line 29 - [PMD] INFO: fieldCommentRequirement Required
line 33 - [PMD] INFO: Parameter 'review' is not assigned and could be declared final
line 33 - [PMD] INFO: publicMethodCommentRequirement Required
line 40 - [PMD] INFO: publicMethodCommentRequirement Required
line 44 - [PMD] INFO: Parameter 'auditListener' is not assigned and could be declared final
line 44 - [PMD] INFO: Parameter 'review' is not assigned and could be declared final
line 45 - [PMD] INFO: Local variable 'files' could be declared final
line 46 - [PMD] INFO: Local variable 'checker' could be declared final
line 47 - [PMD] INFO: Potential violation of Law of Demeter (object not created locally)
line 48 - [PMD] INFO: Potential violation of Law of Demeter (object not created locally)
line 52 - [PMD] INFO: Parameter 'auditListener' is not assigned and could be declared final
line 54 - [PMD] INFO: Local variable 'checker' could be declared final
line 55 - [PMD] INFO: In J2EE, getClassLoader() might not work as expected.  Use Thread.currentThread().getContextClassLoader() instead.
line 55 - [PMD] INFO: Local variable 'moduleClassLoader' could be declared final
line 55 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 56 - [PMD] INFO: Local variable 'configurationFile' could be declared final
line 57 - [PMD] INFO: Local variable 'properties' could be declared final
line 69 - [PMD] INFO: Local variable 'configurationFile' could be declared final
line 69 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
File: src/main/java/pl/touk/sputnik/processor/codenarc/CodeNarcProcessor.java
line 13 - [PMD] INFO: Each class should declare at least one constructor
line 13 - [PMD] INFO: headerCommentRequirement Required
line 15 - [PMD] INFO: fieldCommentRequirement Required
line 17 - [PMD] INFO: Avoid excessively long variable names like codeNarcRunnerBuilder
line 17 - [PMD] INFO: Found non-transient, non-static member. Please mark as transient or provide accessors.
line 17 - [PMD] INFO: fieldCommentRequirement Required
line 18 - [PMD] INFO: Found non-transient, non-static member. Please mark as transient or provide accessors.
line 18 - [PMD] INFO: fieldCommentRequirement Required
line 22 - [PMD] INFO: Parameter 'review' is not assigned and could be declared final
line 22 - [PMD] INFO: publicMethodCommentRequirement Required
line 24 - [PMD] INFO: A method should have only one exit point, and that should be the last statement in the method
line 26 - [PMD] INFO: Local variable 'codeNarcRunner' could be declared final
line 27 - [PMD] INFO: Local variable 'results' could be declared final
line 27 - [PMD] INFO: Potential violation of Law of Demeter (object not created locally)
line 31 - [PMD] INFO: Parameter 'review' is not assigned and could be declared final
line 32 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 38 - [PMD] INFO: publicMethodCommentRequirement Required

File: .gitignore
File: README.md
File: build.gradle
File: contrib/stash-execute.sh
File: gradle.properties
File: src/main/java/pl/touk/sputnik/Main.java

line 15 - [PMD] INFO: Avoid short class names like Main
line 15 - [PMD] INFO: headerCommentRequirement Required
line 16 - [PMD] INFO: fieldCommentRequirement Required
line 17 - [PMD] INFO: fieldCommentRequirement Required
line 18 - [PMD] INFO: fieldCommentRequirement Required
line 22 - [PMD] INFO: Consider using varargs for methods or constructors which take an array the last parameter.
line 22 - [PMD] INFO: Parameter 'args' is not assigned and could be declared final
line 22 - [PMD] INFO: publicMethodCommentRequirement Required
line 23 - [PMD] INFO: Local variable 'cliWrapper' could be declared final
line 24 - [PMD] IGNORE: Found 'DD'-anomaly for variable 'commandLine' (lines '24'-'26').
line 26 - [PMD] INFO: Potential violation of Law of Demeter (object not created locally)
line 29 - [PMD] INFO: Potential violation of Law of Demeter (object not created locally)
line 29 - [PMD] WARNING: System.out.println is used
line 30 - [PMD] INFO: System.exit() should not be used in J2EE/JEE apps
line 33 - [PMD] INFO: Potential violation of Law of Demeter (object not created locally)
line 33 - [PMD] INFO: Potential violation of Law of Demeter (static property access)
line 34 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 35 - [PMD] INFO: Local variable 'facade' could be declared final
line 35 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 35 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 35 - [PMD] INFO: Potential violation of Law of Demeter (static property access)
line 40 - [PMD] INFO: Parameter 'cliOptions' is not assigned and could be declared final
line 41 - [PMD] WARNING: System.out.println is used
line 42 - [PMD] INFO: Local variable 'helpFormatter' could be declared final
File: src/main/java/pl/touk/sputnik/configuration/CliWrapper.java
line 7 - [PMD] INFO: headerCommentRequirement Required
line 10 - [PMD] INFO: Found non-transient, non-static member. Please mark as transient or provide accessors.
line 10 - [PMD] INFO: fieldCommentRequirement Required
line 12 - [PMD] INFO: publicMethodCommentRequirement Required
line 19 - [PMD] INFO: Local variable 'localOptions' could be declared final
line 31 - [PMD] INFO: Consider using varargs for methods or constructors which take an array the last parameter.
line 31 - [PMD] INFO: Parameter 'args' is not assigned and could be declared final
line 31 - [PMD] INFO: publicMethodCommentRequirement Required
line 32 - [PMD] INFO: Local variable 'parser' could be declared final
File: src/main/java/pl/touk/sputnik/configuration/GeneralOption.java
line 8 - [PMD] INFO: enumCommentRequirement Required
line 11 - [PMD] INFO: The String literal "false" appears 7 times in this file; the first occurrence is on line 11
line 47 - [PMD] INFO: fieldCommentRequirement Required
line 48 - [PMD] INFO: fieldCommentRequirement Required
line 49 - [PMD] INFO: fieldCommentRequirement Required
File: src/main/java/pl/touk/sputnik/connector/ConnectorFacade.java
line 9 - [PMD] INFO: headerCommentRequirement Required
line 10 - [PMD] INFO: publicMethodCommentRequirement Required
line 13 - [PMD] INFO: publicMethodCommentRequirement Required
line 15 - [PMD] INFO: publicMethodCommentRequirement Required
File: src/main/java/pl/touk/sputnik/connector/Connectors.java
line 3 - [PMD] INFO: enumCommentRequirement Required
File: src/main/java/pl/touk/sputnik/connector/gerrit/GerritFacade.java
line 19 - [PMD] INFO: headerCommentRequirement Required
line 20 - [PMD] INFO: fieldCommentRequirement Required
line 21 - [PMD] INFO: fieldCommentRequirement Required
line 22 - [PMD] INFO: Found non-transient, non-static member. Please mark as transient or provide accessors.
line 22 - [PMD] INFO: Private field 'gerritConnector' could be made final; it is only initialized in the declaration or constructor.
line 22 - [PMD] INFO: fieldCommentRequirement Required
line 23 - [PMD] INFO: Found non-transient, non-static member. Please mark as transient or provide accessors.
line 23 - [PMD] INFO: Private field 'objectMapper' could be made final; it is only initialized in the declaration or constructor.
line 23 - [PMD] INFO: fieldCommentRequirement Required
line 25 - [PMD] INFO: Parameter 'gerritConnector' is not assigned and could be declared final
line 25 - [PMD] INFO: publicMethodCommentRequirement Required
line 31 - [PMD] IGNORE: Found 'UR'-anomaly for variable 'stringFileInfoEntry' (lines '31'-'39').
line 31 - [PMD] INFO: publicMethodCommentRequirement Required
line 33 - [PMD] INFO: Local variable 'response' could be declared final
line 34 - [PMD] INFO: Local variable 'jsonString' could be declared final
line 35 - [PMD] INFO: Local variable 'listFilesResponse' could be declared final
line 37 - [PMD] INFO: Local variable 'files' could be declared final
line 38 - [PMD] INFO: Avoid excessively long variable names like stringFileInfoEntry
line 38 - [PMD] INFO: Local variable 'stringFileInfoEntry' could be declared final
line 38 - [PMD] INFO: Potential violation of Law of Demeter (object not created locally)
line 42 - [PMD] INFO: Local variable 'value' could be declared final
line 43 - [PMD] INFO: Potential violation of Law of Demeter (object not created locally)
line 46 - [PMD] INFO: Avoid instantiating new objects inside loops
line 55 - [PMD] INFO: Parameter 'review' is not assigned and could be declared final
line 55 - [PMD] INFO: publicMethodCommentRequirement Required
line 57 - [PMD] INFO: Local variable 'json' could be declared final
line 67 - [PMD] INFO: Parameter 'response' is not assigned and could be declared final
line 67 - [PMD] INFO: protectedMethodCommentRequirement Required
line 72 - [PMD] INFO: publicMethodCommentRequirement Required
File: src/main/java/pl/touk/sputnik/connector/gerrit/GerritFacadeBuilder.java
line 16 - [PMD] INFO: Each class should declare at least one constructor
line 16 - [PMD] INFO: headerCommentRequirement Required
line 18 - [PMD] INFO: Found non-transient, non-static member. Please mark as transient or provide accessors.
line 18 - [PMD] INFO: Private field 'httpHelper' could be made final; it is only initialized in the declaration or constructor.
line 18 - [PMD] INFO: fieldCommentRequirement Required
line 21 - [PMD] INFO: publicMethodCommentRequirement Required
line 22 - [PMD] INFO: Local variable 'connectorDetails' could be declared final
line 23 - [PMD] INFO: Local variable 'gerritPatchset' could be declared final
line 25 - [PMD] INFO: Local variable 'httpHost' could be declared final
line 26 - [PMD] INFO: Local variable 'httpClientContext' could be declared final
line 27 - [PMD] INFO: Avoid excessively long variable names like closeableHttpClient
line 27 - [PMD] INFO: Local variable 'closeableHttpClient' could be declared final
line 34 - [PMD] INFO: Local variable 'changeId' could be declared final
line 34 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 35 - [PMD] INFO: Local variable 'revisionId' could be declared final
line 35 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 40 - [PMD] INFO: Avoid declaring a variable if it is unreferenced before a possible exit point.
line 40 - [PMD] INFO: Avoid unused local variables such as 'x'.
line 40 - [PMD] INFO: Avoid variables with short names like x
line 40 - [PMD] IGNORE: Found 'DU'-anomaly for variable 'x' (lines '40'-'47').
line 40 - [PMD] INFO: Local variable 'x' could be declared final
line 43 - [PMD] WARNING: System.out.println is used
File: src/main/java/pl/touk/sputnik/connector/gerrit/ReviewInputBuilder.java
line 15 - [PMD] INFO: Each class should declare at least one constructor
line 15 - [PMD] INFO: headerCommentRequirement Required
line 18 - [PMD] IGNORE: Found 'UR'-anomaly for variable 'comment' (lines '18'-'25').
line 18 - [PMD] IGNORE: Found 'UR'-anomaly for variable 'file' (lines '18'-'24').
line 18 - [PMD] INFO: Parameter 'review' is not assigned and could be declared final
line 18 - [PMD] INFO: publicMethodCommentRequirement Required
line 19 - [PMD] INFO: Local variable 'reviewInput' could be declared final
line 20 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 21 - [PMD] INFO: Potential violation of Law of Demeter (static property access)
line 22 - [PMD] INFO: Local variable 'file' could be declared final
line 23 - [PMD] INFO: Avoid instantiating new objects inside loops
line 23 - [PMD] INFO: Local variable 'comments' could be declared final
line 24 - [PMD] INFO: Local variable 'comment' could be declared final
line 25 - [PMD] INFO: Avoid instantiating new objects inside loops
line 27 - [PMD] INFO: Potential violation of Law of Demeter (static property access)
File: src/main/java/pl/touk/sputnik/connector/gerrit/json/ReviewInput.java
line 7 - [PMD] INFO: Comment is too large: Too many lines
line 19 - [PMD] INFO: Comment is too large: Line too long
line 32 - [PMD] INFO: Each class should declare at least one constructor
line 33 - [PMD] INFO: fieldCommentRequirement Required
line 34 - [PMD] INFO: If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation
line 34 - [PMD] INFO: fieldCommentRequirement Required
line 35 - [PMD] INFO: If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation
line 35 - [PMD] INFO: fieldCommentRequirement Required
File: src/main/java/pl/touk/sputnik/connector/stash/CrcMessage.java
line 8 - [PMD] INFO: Each class should declare at least one constructor
line 8 - [PMD] INFO: headerCommentRequirement Required
line 9 - [PMD] INFO: Found non-transient, non-static member. Please mark as transient or provide accessors.
line 9 - [PMD] INFO: fieldCommentRequirement Required
line 10 - [PMD] INFO: fieldCommentRequirement Required
line 12 - [PMD] INFO: publicMethodCommentRequirement Required
File: src/main/java/pl/touk/sputnik/connector/stash/StashFacade.java
line 24 - [PMD] INFO: headerCommentRequirement Required
line 25 - [PMD] INFO: Found non-transient, non-static member. Please mark as transient or provide accessors.
line 25 - [PMD] INFO: Private field 'stashConnector' could be made final; it is only initialized in the declaration or constructor.
line 25 - [PMD] INFO: fieldCommentRequirement Required
line 26 - [PMD] INFO: Found non-transient, non-static member. Please mark as transient or provide accessors.
line 26 - [PMD] INFO: Private field 'objectMapper' could be made final; it is only initialized in the declaration or constructor.
line 26 - [PMD] INFO: fieldCommentRequirement Required
line 28 - [PMD] INFO: Parameter 'stashConnector' is not assigned and could be declared final
line 28 - [PMD] INFO: publicMethodCommentRequirement Required
line 33 - [PMD] INFO: publicMethodCommentRequirement Required
line 39 - [PMD] IGNORE: Found 'UR'-anomaly for variable 'container' (lines '39'-'47').
line 39 - [PMD] INFO: publicMethodCommentRequirement Required
line 41 - [PMD] INFO: Local variable 'response' could be declared final
line 42 - [PMD] INFO: Local variable 'jsonList' could be declared final
line 43 - [PMD] INFO: Local variable 'containers' could be declared final
line 45 - [PMD] INFO: Local variable 'files' could be declared final
line 46 - [PMD] INFO: Local variable 'container' could be declared final
line 47 - [PMD] INFO: Local variable 'filePath' could be declared final
line 48 - [PMD] INFO: Avoid instantiating new objects inside loops
line 57 - [PMD] INFO: Parameter 'review' is not assigned and could be declared final
line 57 - [PMD] INFO: publicMethodCommentRequirement Required
line 61 - [PMD] INFO: Local variable 'json' could be declared final
line 61 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 68 - [PMD] IGNORE: Found 'UR'-anomaly for variable 'comment' (lines '68'-'74').
line 68 - [PMD] IGNORE: Found 'UR'-anomaly for variable 'reviewFile' (lines '68'-'72').
line 68 - [PMD] INFO: Parameter 'review' is not assigned and could be declared final
line 69 - [PMD] INFO: Avoid excessively long variable names like commentOnlyChangedLines
line 69 - [PMD] IGNORE: Found 'DU'-anomaly for variable 'commentOnlyChangedLines' (lines '69'-'92').
line 69 - [PMD] INFO: Local variable 'commentOnlyChangedLines' could be declared final
line 69 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 69 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 71 - [PMD] INFO: Local variable 'reviewFile' could be declared final
line 72 - [PMD] IGNORE: Found 'DD'-anomaly for variable 'changes' (lines '72'-'72').
line 72 - [PMD] IGNORE: Found 'DU'-anomaly for variable 'changes' (lines '72'-'92').
line 72 - [PMD] INFO: Local variable 'changes' could be declared final
line 73 - [PMD] INFO: Local variable 'comment' could be declared final
line 74 - [PMD] INFO: Avoid instantiating new objects inside loops
line 74 - [PMD] INFO: Local variable 'lineComment' could be declared final
line 76 - [PMD] INFO: Local variable 'changeType' could be declared final
line 77 - [PMD] INFO: Potential violation of Law of Demeter (object not created locally)
line 83 - [PMD] INFO: Local variable 'json' could be declared final
line 94 - [PMD] INFO: Parameter 'changes' is not assigned and could be declared final
line 94 - [PMD] INFO: Parameter 'lineComment' is not assigned and could be declared final
line 95 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 96 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 99 - [PMD] INFO: Parameter 'changes' is not assigned and could be declared final
line 99 - [PMD] INFO: Parameter 'line' is not assigned and could be declared final
line 100 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 101 - [PMD] INFO: A method should have only one exit point, and that should be the last statement in the method
line 101 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 106 - [PMD] INFO: Parameter 'changeType' is not assigned and could be declared final
line 106 - [PMD] INFO: Parameter 'comment' is not assigned and could be declared final
line 106 - [PMD] INFO: Parameter 'key' is not assigned and could be declared final
line 107 - [PMD] INFO: Local variable 'fileComment' could be declared final
line 109 - [PMD] INFO: Local variable 'anchor' could be declared final
line 109 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 109 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 109 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 109 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 109 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 119 - [PMD] IGNORE: Found 'UR'-anomaly for variable 'jsonObject' (lines '119'-'123').
line 119 - [PMD] INFO: Parameter 'jsonList' is not assigned and could be declared final
line 119 - [PMD] INFO: Parameter 'someClass' is not assigned and could be declared final
line 120 - [PMD] IGNORE: Found 'DU'-anomaly for variable 'result' (lines '120'-'129').
line 120 - [PMD] INFO: Local variable 'result' could be declared final
line 122 - [PMD] INFO: Local variable 'jsonObject' could be declared final
line 123 - [PMD] INFO: Potential violation of Law of Demeter (object not created locally)
line 131 - [PMD] IGNORE: Found 'UR'-anomaly for variable 'line' (lines '131'-'141').
line 131 - [PMD] IGNORE: Found 'UR'-anomaly for variable 'segment' (lines '131'-'140').
line 131 - [PMD] INFO: Parameter 'filename' is not assigned and could be declared final
line 131 - [PMD] INFO: Use explicit scoping instead of the default package private level
line 133 - [PMD] INFO: Local variable 'response' could be declared final
line 134 - [PMD] INFO: Local variable 'diffJsonList' could be declared final
line 135 - [PMD] INFO: Local variable 'lineList' could be declared final
line 136 - [PMD] INFO: Local variable 'segments' could be declared final
line 137 - [PMD] INFO: Local variable 'changes' could be declared final
line 137 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 137 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 138 - [PMD] INFO: Potential violation of Law of Demeter (object not created locally)
line 139 - [PMD] INFO: Local variable 'segment' could be declared final
line 140 - [PMD] INFO: Local variable 'line' could be declared final
line 141 - [PMD] INFO: Potential violation of Law of Demeter (object not created locally)
File: src/main/java/pl/touk/sputnik/engine/Engine.java
line 3 - [PMD] INFO: Avoid unused imports such as 'com.google.common.collect.ImmutableMap'
line 5 - [PMD] INFO: Avoid unused imports such as 'org.apache.commons.lang.math.NumberUtils'
line 7 - [PMD] INFO: Avoid unused imports such as 'pl.touk.sputnik.configuration.ConfigurationHolder'
line 10 - [PMD] INFO: Avoid unused imports such as 'java.util.ArrayList'
line 12 - [PMD] INFO: Avoid unused imports such as 'pl.touk.sputnik.configuration.GeneralOption'
line 20 - [PMD] INFO: headerCommentRequirement Required
line 21 - [PMD] INFO: fieldCommentRequirement Required
line 22 - [PMD] INFO: Found non-transient, non-static member. Please mark as transient or provide accessors.
line 22 - [PMD] INFO: fieldCommentRequirement Required
line 24 - [PMD] INFO: Parameter 'facade' is not assigned and could be declared final
line 24 - [PMD] INFO: publicMethodCommentRequirement Required
line 28 - [PMD] IGNORE: Found 'UR'-anomaly for variable 'afterReviewVisitor' (lines '28'-'42').
line 28 - [PMD] IGNORE: Found 'UR'-anomaly for variable 'beforeReviewVisitor' (lines '28'-'33').
line 28 - [PMD] IGNORE: Found 'UR'-anomaly for variable 'processor' (lines '28'-'38').
line 28 - [PMD] INFO: publicMethodCommentRequirement Required
line 29 - [PMD] INFO: Local variable 'reviewFiles' could be declared final
line 30 - [PMD] INFO: Local variable 'review' could be declared final
line 32 - [PMD] INFO: Avoid excessively long variable names like beforeReviewVisitor
line 32 - [PMD] INFO: Local variable 'beforeReviewVisitor' could be declared final
line 36 - [PMD] INFO: Local variable 'processors' could be declared final
line 37 - [PMD] INFO: Local variable 'processor' could be declared final
line 41 - [PMD] INFO: Avoid excessively long variable names like afterReviewVisitor
line 41 - [PMD] INFO: Local variable 'afterReviewVisitor' could be declared final
line 48 - [PMD] INFO: Parameter 'processor' is not assigned and could be declared final
line 48 - [PMD] INFO: Parameter 'review' is not assigned and could be declared final
line 50 - [PMD] INFO: Local variable 'start' could be declared final
line 52 - [PMD] INFO: Local variable 'reviewResult' could be declared final
line 53 - [PMD] WARNING: There is log block not surrounded by if
line 53 - [PMD] WARNING: There is log block not surrounded by if
line 58 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 58 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 58 - [PMD] INFO: Potential violation of Law of Demeter (object not created locally)
File: src/main/java/pl/touk/sputnik/engine/ProcessorBuilder.java
line 16 - [PMD] INFO: Each class should declare at least one constructor
line 16 - [PMD] INFO: headerCommentRequirement Required
line 19 - [PMD] INFO: publicMethodCommentRequirement Required
line 20 - [PMD] INFO: Local variable 'processors' could be declared final
line 21 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 21 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 24 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 24 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 27 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 27 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 30 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 30 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 33 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 33 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
File: src/main/java/pl/touk/sputnik/engine/VisitorBuilder.java
line 23 - [PMD] INFO: Each class should declare at least one constructor
line 23 - [PMD] INFO: headerCommentRequirement Required
line 24 - [PMD] INFO: fieldCommentRequirement Required
line 25 - [PMD] INFO: fieldCommentRequirement Required
line 26 - [PMD] INFO: fieldCommentRequirement Required
line 27 - [PMD] INFO: Avoid excessively long variable names like SCOREPASSIFNOERRORS
line 27 - [PMD] INFO: fieldCommentRequirement Required
line 30 - [PMD] INFO: publicMethodCommentRequirement Required
line 31 - [PMD] INFO: Avoid excessively long variable names like beforeReviewVisitors
line 31 - [PMD] INFO: Local variable 'beforeReviewVisitors' could be declared final
line 32 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 32 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 39 - [PMD] INFO: publicMethodCommentRequirement Required
line 40 - [PMD] INFO: Avoid excessively long variable names like afterReviewVisitors
line 40 - [PMD] INFO: Local variable 'afterReviewVisitors' could be declared final
line 44 - [PMD] INFO: Avoid excessively long variable names like maxNumberOfComments
line 44 - [PMD] INFO: Local variable 'maxNumberOfComments' could be declared final
line 44 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 44 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 56 - [PMD] IGNORE: Found 'DU'-anomaly for variable 'passingScore' (lines '56'-'84').
line 56 - [PMD] INFO: Local variable 'passingScore' could be declared final
line 56 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 56 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 56 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 57 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 58 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 58 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 60 - [PMD] IGNORE: Found 'DU'-anomaly for variable 'failingScore' (lines '60'-'84').
line 60 - [PMD] INFO: Local variable 'failingScore' could be declared final
line 60 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 60 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 60 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 61 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 62 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 62 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 64 - [PMD] INFO: Local variable 'scoreStrategy' could be declared final
line 64 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 67 - [PMD] INFO: Potential violation of Law of Demeter (object not created locally)
line 67 - [PMD] INFO: When doing a String.toLowerCase()/toUpperCase() call, use a Locale
line 69 - [PMD] INFO: A method should have only one exit point, and that should be the last statement in the method
line 72 - [PMD] INFO: A method should have only one exit point, and that should be the last statement in the method
line 75 - [PMD] INFO: A method should have only one exit point, and that should be the last statement in the method
line 78 - [PMD] INFO: A method should have only one exit point, and that should be the last statement in the method
File: src/main/java/pl/touk/sputnik/engine/visitor/AfterReviewVisitor.java
line 6 - [PMD] INFO: headerCommentRequirement Required
line 8 - [PMD] INFO: publicMethodCommentRequirement Required
File: src/main/java/pl/touk/sputnik/engine/visitor/BeforeReviewVisitor.java
line 6 - [PMD] INFO: headerCommentRequirement Required
line 8 - [PMD] INFO: publicMethodCommentRequirement Required
File: src/main/java/pl/touk/sputnik/engine/visitor/FilterOutTestFilesVisitor.java
line 11 - [PMD] INFO: Each class should declare at least one constructor
line 11 - [PMD] INFO: headerCommentRequirement Required
line 14 - [PMD] INFO: Parameter 'review' is not assigned and could be declared final
line 14 - [PMD] INFO: publicMethodCommentRequirement Required
line 18 - [PMD] INFO: Parameter 'file' is not assigned and could be declared final
line 18 - [PMD] INFO: publicMethodCommentRequirement Required
File: src/main/java/pl/touk/sputnik/engine/visitor/LimitCommentVisitor.java
line 14 - [PMD] INFO: Each class should declare at least one constructor
line 14 - [PMD] INFO: headerCommentRequirement Required
line 15 - [PMD] INFO: fieldCommentRequirement Required
line 16 - [PMD] INFO: Found non-transient, non-static member. Please mark as transient or provide accessors.
line 16 - [PMD] INFO: fieldCommentRequirement Required
line 19 - [PMD] INFO: Parameter 'review' is not assigned and could be declared final
line 19 - [PMD] INFO: publicMethodCommentRequirement Required
line 24 - [PMD] WARNING: There is log block not surrounded by if
line 24 - [PMD] WARNING: There is log block not surrounded by if
line 29 - [PMD] IGNORE: Found 'UR'-anomaly for variable 'reviewFile' (lines '29'-'32').
line 29 - [PMD] INFO: Parameter 'review' is not assigned and could be declared final
line 30 - [PMD] IGNORE: Found 'DD'-anomaly for variable 'counter' (lines '30'-'35').
line 30 - [PMD] IGNORE: Found 'DU'-anomaly for variable 'counter' (lines '30'-'41').
line 31 - [PMD] INFO: Local variable 'reviewFile' could be declared final
line 32 - [PMD] INFO: Local variable 'iterator' could be declared final
line 32 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 43 - [PMD] INFO: Parameter 'review' is not assigned and could be declared final
line 44 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
File: src/main/java/pl/touk/sputnik/engine/visitor/SummaryMessageVisitor.java
line 8 - [PMD] INFO: Each class should declare at least one constructor
line 8 - [PMD] INFO: headerCommentRequirement Required
line 11 - [PMD] INFO: Parameter 'review' is not assigned and could be declared final
line 11 - [PMD] INFO: publicMethodCommentRequirement Required
line 12 - [PMD] INFO: Local variable 'message' could be declared final
line 14 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
File: src/main/java/pl/touk/sputnik/engine/visitor/score/NoScore.java
line 9 - [PMD] INFO: Each class should declare at least one constructor
line 9 - [PMD] INFO: headerCommentRequirement Required
line 12 - [PMD] INFO: Parameter 'review' is not assigned and could be declared final
line 12 - [PMD] INFO: publicMethodCommentRequirement Required
File: src/main/java/pl/touk/sputnik/engine/visitor/score/ScoreAlwaysPass.java
line 15 - [PMD] INFO: Each class should declare at least one constructor
line 15 - [PMD] INFO: headerCommentRequirement Required
line 16 - [PMD] INFO: Found non-transient, non-static member. Please mark as transient or provide accessors.
line 16 - [PMD] INFO: fieldCommentRequirement Required
line 19 - [PMD] INFO: Parameter 'review' is not assigned and could be declared final
line 19 - [PMD] INFO: publicMethodCommentRequirement Required
line 21 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
File: src/main/java/pl/touk/sputnik/engine/visitor/score/ScorePassIfEmpty.java
line 15 - [PMD] INFO: Each class should declare at least one constructor
line 15 - [PMD] INFO: headerCommentRequirement Required
line 16 - [PMD] INFO: Found non-transient, non-static member. Please mark as transient or provide accessors.
line 16 - [PMD] INFO: fieldCommentRequirement Required
line 17 - [PMD] INFO: Found non-transient, non-static member. Please mark as transient or provide accessors.
line 17 - [PMD] INFO: fieldCommentRequirement Required
line 20 - [PMD] INFO: Parameter 'review' is not assigned and could be declared final
line 20 - [PMD] INFO: publicMethodCommentRequirement Required
File: src/main/java/pl/touk/sputnik/engine/visitor/score/ScorePassIfNoErrors.java
line 16 - [PMD] INFO: Each class should declare at least one constructor
line 16 - [PMD] INFO: headerCommentRequirement Required
line 17 - [PMD] INFO: Found non-transient, non-static member. Please mark as transient or provide accessors.
line 17 - [PMD] INFO: fieldCommentRequirement Required
line 18 - [PMD] INFO: Found non-transient, non-static member. Please mark as transient or provide accessors.
line 18 - [PMD] INFO: fieldCommentRequirement Required
line 21 - [PMD] INFO: Parameter 'review' is not assigned and could be declared final
line 21 - [PMD] INFO: publicMethodCommentRequirement Required
line 22 - [PMD] INFO: Local variable 'errorCount' could be declared final
line 22 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
File: src/main/java/pl/touk/sputnik/processor/checkstyle/CheckstyleProcessor.java
line 17 - [PMD] INFO: Avoid unused imports such as 'pl.touk.sputnik.review.filter.FileExtensionFilter'
line 22 - [PMD] INFO: Avoid unused imports such as 'java.util.Collections'
line 27 - [PMD] INFO: Each class should declare at least one constructor
line 27 - [PMD] INFO: headerCommentRequirement Required
line 28 - [PMD] INFO: fieldCommentRequirement Required
line 29 - [PMD] INFO: Found non-transient, non-static member. Please mark as transient or provide accessors.
line 29 - [PMD] INFO: fieldCommentRequirement Required
line 33 - [PMD] INFO: Parameter 'review' is not assigned and could be declared final
line 33 - [PMD] INFO: publicMethodCommentRequirement Required
line 40 - [PMD] INFO: publicMethodCommentRequirement Required
line 44 - [PMD] INFO: Parameter 'auditListener' is not assigned and could be declared final
line 44 - [PMD] INFO: Parameter 'review' is not assigned and could be declared final
line 45 - [PMD] INFO: Local variable 'files' could be declared final
line 46 - [PMD] INFO: Local variable 'checker' could be declared final
line 47 - [PMD] INFO: Potential violation of Law of Demeter (object not created locally)
line 48 - [PMD] INFO: Potential violation of Law of Demeter (object not created locally)
line 52 - [PMD] INFO: Parameter 'auditListener' is not assigned and could be declared final
line 54 - [PMD] INFO: Local variable 'checker' could be declared final
line 55 - [PMD] INFO: In J2EE, getClassLoader() might not work as expected.  Use Thread.currentThread().getContextClassLoader() instead.
line 55 - [PMD] INFO: Local variable 'moduleClassLoader' could be declared final
line 55 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 56 - [PMD] INFO: Local variable 'configurationFile' could be declared final
line 57 - [PMD] INFO: Local variable 'properties' could be declared final
line 69 - [PMD] INFO: Local variable 'configurationFile' could be declared final
line 69 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
File: src/main/java/pl/touk/sputnik/processor/codenarc/CodeNarcProcessor.java
line 13 - [PMD] INFO: Each class should declare at least one constructor
line 13 - [PMD] INFO: headerCommentRequirement Required
line 15 - [PMD] INFO: fieldCommentRequirement Required
line 17 - [PMD] INFO: Avoid excessively long variable names like codeNarcRunnerBuilder
line 17 - [PMD] INFO: Found non-transient, non-static member. Please mark as transient or provide accessors.
line 17 - [PMD] INFO: fieldCommentRequirement Required
line 18 - [PMD] INFO: Found non-transient, non-static member. Please mark as transient or provide accessors.
line 18 - [PMD] INFO: fieldCommentRequirement Required
line 22 - [PMD] INFO: Parameter 'review' is not assigned and could be declared final
line 22 - [PMD] INFO: publicMethodCommentRequirement Required
line 24 - [PMD] INFO: A method should have only one exit point, and that should be the last statement in the method
line 26 - [PMD] INFO: Local variable 'codeNarcRunner' could be declared final
line 27 - [PMD] INFO: Local variable 'results' could be declared final
line 27 - [PMD] INFO: Potential violation of Law of Demeter (object not created locally)
line 31 - [PMD] INFO: Parameter 'review' is not assigned and could be declared final
line 32 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 38 - [PMD] INFO: publicMethodCommentRequirement Required

File: .gitignore
File: README.md
File: build.gradle
File: contrib/stash-execute.sh
File: gradle.properties
File: src/main/java/pl/touk/sputnik/Main.java

line 15 - [PMD] INFO: Avoid short class names like Main
line 15 - [PMD] INFO: headerCommentRequirement Required
line 16 - [PMD] INFO: fieldCommentRequirement Required
line 17 - [PMD] INFO: fieldCommentRequirement Required
line 18 - [PMD] INFO: fieldCommentRequirement Required
line 22 - [PMD] INFO: Consider using varargs for methods or constructors which take an array the last parameter.
line 22 - [PMD] INFO: Parameter 'args' is not assigned and could be declared final
line 22 - [PMD] INFO: publicMethodCommentRequirement Required
line 23 - [PMD] INFO: Local variable 'cliWrapper' could be declared final
line 24 - [PMD] IGNORE: Found 'DD'-anomaly for variable 'commandLine' (lines '24'-'26').
line 26 - [PMD] INFO: Potential violation of Law of Demeter (object not created locally)
line 29 - [PMD] INFO: Potential violation of Law of Demeter (object not created locally)
line 29 - [PMD] WARNING: System.out.println is used
line 30 - [PMD] INFO: System.exit() should not be used in J2EE/JEE apps
line 33 - [PMD] INFO: Potential violation of Law of Demeter (object not created locally)
line 33 - [PMD] INFO: Potential violation of Law of Demeter (static property access)
line 34 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 35 - [PMD] INFO: Local variable 'facade' could be declared final
line 35 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 35 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 35 - [PMD] INFO: Potential violation of Law of Demeter (static property access)
line 40 - [PMD] INFO: Parameter 'cliOptions' is not assigned and could be declared final
line 41 - [PMD] WARNING: System.out.println is used
line 42 - [PMD] INFO: Local variable 'helpFormatter' could be declared final
File: src/main/java/pl/touk/sputnik/configuration/CliWrapper.java
line 7 - [PMD] INFO: headerCommentRequirement Required
line 10 - [PMD] INFO: Found non-transient, non-static member. Please mark as transient or provide accessors.
line 10 - [PMD] INFO: fieldCommentRequirement Required
line 12 - [PMD] INFO: publicMethodCommentRequirement Required
line 19 - [PMD] INFO: Local variable 'localOptions' could be declared final
line 31 - [PMD] INFO: Consider using varargs for methods or constructors which take an array the last parameter.
line 31 - [PMD] INFO: Parameter 'args' is not assigned and could be declared final
line 31 - [PMD] INFO: publicMethodCommentRequirement Required
line 32 - [PMD] INFO: Local variable 'parser' could be declared final
File: src/main/java/pl/touk/sputnik/configuration/GeneralOption.java
line 8 - [PMD] INFO: enumCommentRequirement Required
line 11 - [PMD] INFO: The String literal "false" appears 7 times in this file; the first occurrence is on line 11
line 47 - [PMD] INFO: fieldCommentRequirement Required
line 48 - [PMD] INFO: fieldCommentRequirement Required
line 49 - [PMD] INFO: fieldCommentRequirement Required
File: src/main/java/pl/touk/sputnik/connector/ConnectorFacade.java
line 9 - [PMD] INFO: headerCommentRequirement Required
line 10 - [PMD] INFO: publicMethodCommentRequirement Required
line 13 - [PMD] INFO: publicMethodCommentRequirement Required
line 15 - [PMD] INFO: publicMethodCommentRequirement Required
File: src/main/java/pl/touk/sputnik/connector/Connectors.java
line 3 - [PMD] INFO: enumCommentRequirement Required
File: src/main/java/pl/touk/sputnik/connector/gerrit/GerritFacade.java
line 19 - [PMD] INFO: headerCommentRequirement Required
line 20 - [PMD] INFO: fieldCommentRequirement Required
line 21 - [PMD] INFO: fieldCommentRequirement Required
line 22 - [PMD] INFO: Found non-transient, non-static member. Please mark as transient or provide accessors.
line 22 - [PMD] INFO: Private field 'gerritConnector' could be made final; it is only initialized in the declaration or constructor.
line 22 - [PMD] INFO: fieldCommentRequirement Required
line 23 - [PMD] INFO: Found non-transient, non-static member. Please mark as transient or provide accessors.
line 23 - [PMD] INFO: Private field 'objectMapper' could be made final; it is only initialized in the declaration or constructor.
line 23 - [PMD] INFO: fieldCommentRequirement Required
line 25 - [PMD] INFO: Parameter 'gerritConnector' is not assigned and could be declared final
line 25 - [PMD] INFO: publicMethodCommentRequirement Required
line 31 - [PMD] IGNORE: Found 'UR'-anomaly for variable 'stringFileInfoEntry' (lines '31'-'39').
line 31 - [PMD] INFO: publicMethodCommentRequirement Required
line 33 - [PMD] INFO: Local variable 'response' could be declared final
line 34 - [PMD] INFO: Local variable 'jsonString' could be declared final
line 35 - [PMD] INFO: Local variable 'listFilesResponse' could be declared final
line 37 - [PMD] INFO: Local variable 'files' could be declared final
line 38 - [PMD] INFO: Avoid excessively long variable names like stringFileInfoEntry
line 38 - [PMD] INFO: Local variable 'stringFileInfoEntry' could be declared final
line 38 - [PMD] INFO: Potential violation of Law of Demeter (object not created locally)
line 42 - [PMD] INFO: Local variable 'value' could be declared final
line 43 - [PMD] INFO: Potential violation of Law of Demeter (object not created locally)
line 46 - [PMD] INFO: Avoid instantiating new objects inside loops
line 55 - [PMD] INFO: Parameter 'review' is not assigned and could be declared final
line 55 - [PMD] INFO: publicMethodCommentRequirement Required
line 57 - [PMD] INFO: Local variable 'json' could be declared final
line 67 - [PMD] INFO: Parameter 'response' is not assigned and could be declared final
line 67 - [PMD] INFO: protectedMethodCommentRequirement Required
line 72 - [PMD] INFO: publicMethodCommentRequirement Required
File: src/main/java/pl/touk/sputnik/connector/gerrit/GerritFacadeBuilder.java
line 16 - [PMD] INFO: Each class should declare at least one constructor
line 16 - [PMD] INFO: headerCommentRequirement Required
line 18 - [PMD] INFO: Found non-transient, non-static member. Please mark as transient or provide accessors.
line 18 - [PMD] INFO: Private field 'httpHelper' could be made final; it is only initialized in the declaration or constructor.
line 18 - [PMD] INFO: fieldCommentRequirement Required
line 21 - [PMD] INFO: publicMethodCommentRequirement Required
line 22 - [PMD] INFO: Local variable 'connectorDetails' could be declared final
line 23 - [PMD] INFO: Local variable 'gerritPatchset' could be declared final
line 25 - [PMD] INFO: Local variable 'httpHost' could be declared final
line 26 - [PMD] INFO: Local variable 'httpClientContext' could be declared final
line 27 - [PMD] INFO: Avoid excessively long variable names like closeableHttpClient
line 27 - [PMD] INFO: Local variable 'closeableHttpClient' could be declared final
line 34 - [PMD] INFO: Local variable 'changeId' could be declared final
line 34 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 35 - [PMD] INFO: Local variable 'revisionId' could be declared final
line 35 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 40 - [PMD] INFO: Avoid declaring a variable if it is unreferenced before a possible exit point.
line 40 - [PMD] INFO: Avoid unused local variables such as 'x'.
line 40 - [PMD] INFO: Avoid variables with short names like x
line 40 - [PMD] IGNORE: Found 'DU'-anomaly for variable 'x' (lines '40'-'47').
line 40 - [PMD] INFO: Local variable 'x' could be declared final
line 43 - [PMD] WARNING: System.out.println is used
File: src/main/java/pl/touk/sputnik/connector/gerrit/ReviewInputBuilder.java
line 15 - [PMD] INFO: Each class should declare at least one constructor
line 15 - [PMD] INFO: headerCommentRequirement Required
line 18 - [PMD] IGNORE: Found 'UR'-anomaly for variable 'comment' (lines '18'-'25').
line 18 - [PMD] IGNORE: Found 'UR'-anomaly for variable 'file' (lines '18'-'24').
line 18 - [PMD] INFO: Parameter 'review' is not assigned and could be declared final
line 18 - [PMD] INFO: publicMethodCommentRequirement Required
line 19 - [PMD] INFO: Local variable 'reviewInput' could be declared final
line 20 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 21 - [PMD] INFO: Potential violation of Law of Demeter (static property access)
line 22 - [PMD] INFO: Local variable 'file' could be declared final
line 23 - [PMD] INFO: Avoid instantiating new objects inside loops
line 23 - [PMD] INFO: Local variable 'comments' could be declared final
line 24 - [PMD] INFO: Local variable 'comment' could be declared final
line 25 - [PMD] INFO: Avoid instantiating new objects inside loops
line 27 - [PMD] INFO: Potential violation of Law of Demeter (static property access)
File: src/main/java/pl/touk/sputnik/connector/gerrit/json/ReviewInput.java
line 7 - [PMD] INFO: Comment is too large: Too many lines
line 19 - [PMD] INFO: Comment is too large: Line too long
line 32 - [PMD] INFO: Each class should declare at least one constructor
line 33 - [PMD] INFO: fieldCommentRequirement Required
line 34 - [PMD] INFO: If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation
line 34 - [PMD] INFO: fieldCommentRequirement Required
line 35 - [PMD] INFO: If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation
line 35 - [PMD] INFO: fieldCommentRequirement Required
File: src/main/java/pl/touk/sputnik/connector/stash/CrcMessage.java
line 8 - [PMD] INFO: Each class should declare at least one constructor
line 8 - [PMD] INFO: headerCommentRequirement Required
line 9 - [PMD] INFO: Found non-transient, non-static member. Please mark as transient or provide accessors.
line 9 - [PMD] INFO: fieldCommentRequirement Required
line 10 - [PMD] INFO: fieldCommentRequirement Required
line 12 - [PMD] INFO: publicMethodCommentRequirement Required
File: src/main/java/pl/touk/sputnik/connector/stash/StashFacade.java
line 24 - [PMD] INFO: headerCommentRequirement Required
line 25 - [PMD] INFO: Found non-transient, non-static member. Please mark as transient or provide accessors.
line 25 - [PMD] INFO: Private field 'stashConnector' could be made final; it is only initialized in the declaration or constructor.
line 25 - [PMD] INFO: fieldCommentRequirement Required
line 26 - [PMD] INFO: Found non-transient, non-static member. Please mark as transient or provide accessors.
line 26 - [PMD] INFO: Private field 'objectMapper' could be made final; it is only initialized in the declaration or constructor.
line 26 - [PMD] INFO: fieldCommentRequirement Required
line 28 - [PMD] INFO: Parameter 'stashConnector' is not assigned and could be declared final
line 28 - [PMD] INFO: publicMethodCommentRequirement Required
line 33 - [PMD] INFO: publicMethodCommentRequirement Required
line 39 - [PMD] IGNORE: Found 'UR'-anomaly for variable 'container' (lines '39'-'47').
line 39 - [PMD] INFO: publicMethodCommentRequirement Required
line 41 - [PMD] INFO: Local variable 'response' could be declared final
line 42 - [PMD] INFO: Local variable 'jsonList' could be declared final
line 43 - [PMD] INFO: Local variable 'containers' could be declared final
line 45 - [PMD] INFO: Local variable 'files' could be declared final
line 46 - [PMD] INFO: Local variable 'container' could be declared final
line 47 - [PMD] INFO: Local variable 'filePath' could be declared final
line 48 - [PMD] INFO: Avoid instantiating new objects inside loops
line 57 - [PMD] INFO: Parameter 'review' is not assigned and could be declared final
line 57 - [PMD] INFO: publicMethodCommentRequirement Required
line 61 - [PMD] INFO: Local variable 'json' could be declared final
line 61 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 68 - [PMD] IGNORE: Found 'UR'-anomaly for variable 'comment' (lines '68'-'74').
line 68 - [PMD] IGNORE: Found 'UR'-anomaly for variable 'reviewFile' (lines '68'-'72').
line 68 - [PMD] INFO: Parameter 'review' is not assigned and could be declared final
line 69 - [PMD] INFO: Avoid excessively long variable names like commentOnlyChangedLines
line 69 - [PMD] IGNORE: Found 'DU'-anomaly for variable 'commentOnlyChangedLines' (lines '69'-'92').
line 69 - [PMD] INFO: Local variable 'commentOnlyChangedLines' could be declared final
line 69 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 69 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 71 - [PMD] INFO: Local variable 'reviewFile' could be declared final
line 72 - [PMD] IGNORE: Found 'DD'-anomaly for variable 'changes' (lines '72'-'72').
line 72 - [PMD] IGNORE: Found 'DU'-anomaly for variable 'changes' (lines '72'-'92').
line 72 - [PMD] INFO: Local variable 'changes' could be declared final
line 73 - [PMD] INFO: Local variable 'comment' could be declared final
line 74 - [PMD] INFO: Avoid instantiating new objects inside loops
line 74 - [PMD] INFO: Local variable 'lineComment' could be declared final
line 76 - [PMD] INFO: Local variable 'changeType' could be declared final
line 77 - [PMD] INFO: Potential violation of Law of Demeter (object not created locally)
line 83 - [PMD] INFO: Local variable 'json' could be declared final
line 94 - [PMD] INFO: Parameter 'changes' is not assigned and could be declared final
line 94 - [PMD] INFO: Parameter 'lineComment' is not assigned and could be declared final
line 95 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 96 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 99 - [PMD] INFO: Parameter 'changes' is not assigned and could be declared final
line 99 - [PMD] INFO: Parameter 'line' is not assigned and could be declared final
line 100 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 101 - [PMD] INFO: A method should have only one exit point, and that should be the last statement in the method
line 101 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 106 - [PMD] INFO: Parameter 'changeType' is not assigned and could be declared final
line 106 - [PMD] INFO: Parameter 'comment' is not assigned and could be declared final
line 106 - [PMD] INFO: Parameter 'key' is not assigned and could be declared final
line 107 - [PMD] INFO: Local variable 'fileComment' could be declared final
line 109 - [PMD] INFO: Local variable 'anchor' could be declared final
line 109 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 109 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 109 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 109 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 109 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 119 - [PMD] IGNORE: Found 'UR'-anomaly for variable 'jsonObject' (lines '119'-'123').
line 119 - [PMD] INFO: Parameter 'jsonList' is not assigned and could be declared final
line 119 - [PMD] INFO: Parameter 'someClass' is not assigned and could be declared final
line 120 - [PMD] IGNORE: Found 'DU'-anomaly for variable 'result' (lines '120'-'129').
line 120 - [PMD] INFO: Local variable 'result' could be declared final
line 122 - [PMD] INFO: Local variable 'jsonObject' could be declared final
line 123 - [PMD] INFO: Potential violation of Law of Demeter (object not created locally)
line 131 - [PMD] IGNORE: Found 'UR'-anomaly for variable 'line' (lines '131'-'141').
line 131 - [PMD] IGNORE: Found 'UR'-anomaly for variable 'segment' (lines '131'-'140').
line 131 - [PMD] INFO: Parameter 'filename' is not assigned and could be declared final
line 131 - [PMD] INFO: Use explicit scoping instead of the default package private level
line 133 - [PMD] INFO: Local variable 'response' could be declared final
line 134 - [PMD] INFO: Local variable 'diffJsonList' could be declared final
line 135 - [PMD] INFO: Local variable 'lineList' could be declared final
line 136 - [PMD] INFO: Local variable 'segments' could be declared final
line 137 - [PMD] INFO: Local variable 'changes' could be declared final
line 137 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 137 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 138 - [PMD] INFO: Potential violation of Law of Demeter (object not created locally)
line 139 - [PMD] INFO: Local variable 'segment' could be declared final
line 140 - [PMD] INFO: Local variable 'line' could be declared final
line 141 - [PMD] INFO: Potential violation of Law of Demeter (object not created locally)
File: src/main/java/pl/touk/sputnik/engine/Engine.java
line 3 - [PMD] INFO: Avoid unused imports such as 'com.google.common.collect.ImmutableMap'
line 5 - [PMD] INFO: Avoid unused imports such as 'org.apache.commons.lang.math.NumberUtils'
line 7 - [PMD] INFO: Avoid unused imports such as 'pl.touk.sputnik.configuration.ConfigurationHolder'
line 10 - [PMD] INFO: Avoid unused imports such as 'java.util.ArrayList'
line 12 - [PMD] INFO: Avoid unused imports such as 'pl.touk.sputnik.configuration.GeneralOption'
line 20 - [PMD] INFO: headerCommentRequirement Required
line 21 - [PMD] INFO: fieldCommentRequirement Required
line 22 - [PMD] INFO: Found non-transient, non-static member. Please mark as transient or provide accessors.
line 22 - [PMD] INFO: fieldCommentRequirement Required
line 24 - [PMD] INFO: Parameter 'facade' is not assigned and could be declared final
line 24 - [PMD] INFO: publicMethodCommentRequirement Required
line 28 - [PMD] IGNORE: Found 'UR'-anomaly for variable 'afterReviewVisitor' (lines '28'-'42').
line 28 - [PMD] IGNORE: Found 'UR'-anomaly for variable 'beforeReviewVisitor' (lines '28'-'33').
line 28 - [PMD] IGNORE: Found 'UR'-anomaly for variable 'processor' (lines '28'-'38').
line 28 - [PMD] INFO: publicMethodCommentRequirement Required
line 29 - [PMD] INFO: Local variable 'reviewFiles' could be declared final
line 30 - [PMD] INFO: Local variable 'review' could be declared final
line 32 - [PMD] INFO: Avoid excessively long variable names like beforeReviewVisitor
line 32 - [PMD] INFO: Local variable 'beforeReviewVisitor' could be declared final
line 36 - [PMD] INFO: Local variable 'processors' could be declared final
line 37 - [PMD] INFO: Local variable 'processor' could be declared final
line 41 - [PMD] INFO: Avoid excessively long variable names like afterReviewVisitor
line 41 - [PMD] INFO: Local variable 'afterReviewVisitor' could be declared final
line 48 - [PMD] INFO: Parameter 'processor' is not assigned and could be declared final
line 48 - [PMD] INFO: Parameter 'review' is not assigned and could be declared final
line 50 - [PMD] INFO: Local variable 'start' could be declared final
line 52 - [PMD] INFO: Local variable 'reviewResult' could be declared final
line 53 - [PMD] WARNING: There is log block not surrounded by if
line 53 - [PMD] WARNING: There is log block not surrounded by if
line 58 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 58 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 58 - [PMD] INFO: Potential violation of Law of Demeter (object not created locally)
File: src/main/java/pl/touk/sputnik/engine/ProcessorBuilder.java
line 16 - [PMD] INFO: Each class should declare at least one constructor
line 16 - [PMD] INFO: headerCommentRequirement Required
line 19 - [PMD] INFO: publicMethodCommentRequirement Required
line 20 - [PMD] INFO: Local variable 'processors' could be declared final
line 21 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 21 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 24 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 24 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 27 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 27 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 30 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 30 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 33 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 33 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
File: src/main/java/pl/touk/sputnik/engine/VisitorBuilder.java
line 23 - [PMD] INFO: Each class should declare at least one constructor
line 23 - [PMD] INFO: headerCommentRequirement Required
line 24 - [PMD] INFO: fieldCommentRequirement Required
line 25 - [PMD] INFO: fieldCommentRequirement Required
line 26 - [PMD] INFO: fieldCommentRequirement Required
line 27 - [PMD] INFO: Avoid excessively long variable names like SCOREPASSIFNOERRORS
line 27 - [PMD] INFO: fieldCommentRequirement Required
line 30 - [PMD] INFO: publicMethodCommentRequirement Required
line 31 - [PMD] INFO: Avoid excessively long variable names like beforeReviewVisitors
line 31 - [PMD] INFO: Local variable 'beforeReviewVisitors' could be declared final
line 32 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 32 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 39 - [PMD] INFO: publicMethodCommentRequirement Required
line 40 - [PMD] INFO: Avoid excessively long variable names like afterReviewVisitors
line 40 - [PMD] INFO: Local variable 'afterReviewVisitors' could be declared final
line 44 - [PMD] INFO: Avoid excessively long variable names like maxNumberOfComments
line 44 - [PMD] INFO: Local variable 'maxNumberOfComments' could be declared final
line 44 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 44 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 56 - [PMD] IGNORE: Found 'DU'-anomaly for variable 'passingScore' (lines '56'-'84').
line 56 - [PMD] INFO: Local variable 'passingScore' could be declared final
line 56 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 56 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 56 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 57 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 58 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 58 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 60 - [PMD] IGNORE: Found 'DU'-anomaly for variable 'failingScore' (lines '60'-'84').
line 60 - [PMD] INFO: Local variable 'failingScore' could be declared final
line 60 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 60 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 60 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 61 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 62 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 62 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 64 - [PMD] INFO: Local variable 'scoreStrategy' could be declared final
line 64 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 67 - [PMD] INFO: Potential violation of Law of Demeter (object not created locally)
line 67 - [PMD] INFO: When doing a String.toLowerCase()/toUpperCase() call, use a Locale
line 69 - [PMD] INFO: A method should have only one exit point, and that should be the last statement in the method
line 72 - [PMD] INFO: A method should have only one exit point, and that should be the last statement in the method
line 75 - [PMD] INFO: A method should have only one exit point, and that should be the last statement in the method
line 78 - [PMD] INFO: A method should have only one exit point, and that should be the last statement in the method
File: src/main/java/pl/touk/sputnik/engine/visitor/AfterReviewVisitor.java
line 6 - [PMD] INFO: headerCommentRequirement Required
line 8 - [PMD] INFO: publicMethodCommentRequirement Required
File: src/main/java/pl/touk/sputnik/engine/visitor/BeforeReviewVisitor.java
line 6 - [PMD] INFO: headerCommentRequirement Required
line 8 - [PMD] INFO: publicMethodCommentRequirement Required
File: src/main/java/pl/touk/sputnik/engine/visitor/FilterOutTestFilesVisitor.java
line 11 - [PMD] INFO: Each class should declare at least one constructor
line 11 - [PMD] INFO: headerCommentRequirement Required
line 14 - [PMD] INFO: Parameter 'review' is not assigned and could be declared final
line 14 - [PMD] INFO: publicMethodCommentRequirement Required
line 18 - [PMD] INFO: Parameter 'file' is not assigned and could be declared final
line 18 - [PMD] INFO: publicMethodCommentRequirement Required
File: src/main/java/pl/touk/sputnik/engine/visitor/LimitCommentVisitor.java
line 14 - [PMD] INFO: Each class should declare at least one constructor
line 14 - [PMD] INFO: headerCommentRequirement Required
line 15 - [PMD] INFO: fieldCommentRequirement Required
line 16 - [PMD] INFO: Found non-transient, non-static member. Please mark as transient or provide accessors.
line 16 - [PMD] INFO: fieldCommentRequirement Required
line 19 - [PMD] INFO: Parameter 'review' is not assigned and could be declared final
line 19 - [PMD] INFO: publicMethodCommentRequirement Required
line 24 - [PMD] WARNING: There is log block not surrounded by if
line 24 - [PMD] WARNING: There is log block not surrounded by if
line 29 - [PMD] IGNORE: Found 'UR'-anomaly for variable 'reviewFile' (lines '29'-'32').
line 29 - [PMD] INFO: Parameter 'review' is not assigned and could be declared final
line 30 - [PMD] IGNORE: Found 'DD'-anomaly for variable 'counter' (lines '30'-'35').
line 30 - [PMD] IGNORE: Found 'DU'-anomaly for variable 'counter' (lines '30'-'41').
line 31 - [PMD] INFO: Local variable 'reviewFile' could be declared final
line 32 - [PMD] INFO: Local variable 'iterator' could be declared final
line 32 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 43 - [PMD] INFO: Parameter 'review' is not assigned and could be declared final
line 44 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
File: src/main/java/pl/touk/sputnik/engine/visitor/SummaryMessageVisitor.java
line 8 - [PMD] INFO: Each class should declare at least one constructor
line 8 - [PMD] INFO: headerCommentRequirement Required
line 11 - [PMD] INFO: Parameter 'review' is not assigned and could be declared final
line 11 - [PMD] INFO: publicMethodCommentRequirement Required
line 12 - [PMD] INFO: Local variable 'message' could be declared final
line 14 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
File: src/main/java/pl/touk/sputnik/engine/visitor/score/NoScore.java
line 9 - [PMD] INFO: Each class should declare at least one constructor
line 9 - [PMD] INFO: headerCommentRequirement Required
line 12 - [PMD] INFO: Parameter 'review' is not assigned and could be declared final
line 12 - [PMD] INFO: publicMethodCommentRequirement Required
File: src/main/java/pl/touk/sputnik/engine/visitor/score/ScoreAlwaysPass.java
line 15 - [PMD] INFO: Each class should declare at least one constructor
line 15 - [PMD] INFO: headerCommentRequirement Required
line 16 - [PMD] INFO: Found non-transient, non-static member. Please mark as transient or provide accessors.
line 16 - [PMD] INFO: fieldCommentRequirement Required
line 19 - [PMD] INFO: Parameter 'review' is not assigned and could be declared final
line 19 - [PMD] INFO: publicMethodCommentRequirement Required
line 21 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
File: src/main/java/pl/touk/sputnik/engine/visitor/score/ScorePassIfEmpty.java
line 15 - [PMD] INFO: Each class should declare at least one constructor
line 15 - [PMD] INFO: headerCommentRequirement Required
line 16 - [PMD] INFO: Found non-transient, non-static member. Please mark as transient or provide accessors.
line 16 - [PMD] INFO: fieldCommentRequirement Required
line 17 - [PMD] INFO: Found non-transient, non-static member. Please mark as transient or provide accessors.
line 17 - [PMD] INFO: fieldCommentRequirement Required
line 20 - [PMD] INFO: Parameter 'review' is not assigned and could be declared final
line 20 - [PMD] INFO: publicMethodCommentRequirement Required
File: src/main/java/pl/touk/sputnik/engine/visitor/score/ScorePassIfNoErrors.java
line 16 - [PMD] INFO: Each class should declare at least one constructor
line 16 - [PMD] INFO: headerCommentRequirement Required
line 17 - [PMD] INFO: Found non-transient, non-static member. Please mark as transient or provide accessors.
line 17 - [PMD] INFO: fieldCommentRequirement Required
line 18 - [PMD] INFO: Found non-transient, non-static member. Please mark as transient or provide accessors.
line 18 - [PMD] INFO: fieldCommentRequirement Required
line 21 - [PMD] INFO: Parameter 'review' is not assigned and could be declared final
line 21 - [PMD] INFO: publicMethodCommentRequirement Required
line 22 - [PMD] INFO: Local variable 'errorCount' could be declared final
line 22 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
File: src/main/java/pl/touk/sputnik/processor/checkstyle/CheckstyleProcessor.java
line 17 - [PMD] INFO: Avoid unused imports such as 'pl.touk.sputnik.review.filter.FileExtensionFilter'
line 22 - [PMD] INFO: Avoid unused imports such as 'java.util.Collections'
line 27 - [PMD] INFO: Each class should declare at least one constructor
line 27 - [PMD] INFO: headerCommentRequirement Required
line 28 - [PMD] INFO: fieldCommentRequirement Required
line 29 - [PMD] INFO: Found non-transient, non-static member. Please mark as transient or provide accessors.
line 29 - [PMD] INFO: fieldCommentRequirement Required
line 33 - [PMD] INFO: Parameter 'review' is not assigned and could be declared final
line 33 - [PMD] INFO: publicMethodCommentRequirement Required
line 40 - [PMD] INFO: publicMethodCommentRequirement Required
line 44 - [PMD] INFO: Parameter 'auditListener' is not assigned and could be declared final
line 44 - [PMD] INFO: Parameter 'review' is not assigned and could be declared final
line 45 - [PMD] INFO: Local variable 'files' could be declared final
line 46 - [PMD] INFO: Local variable 'checker' could be declared final
line 47 - [PMD] INFO: Potential violation of Law of Demeter (object not created locally)
line 48 - [PMD] INFO: Potential violation of Law of Demeter (object not created locally)
line 52 - [PMD] INFO: Parameter 'auditListener' is not assigned and could be declared final
line 54 - [PMD] INFO: Local variable 'checker' could be declared final
line 55 - [PMD] INFO: In J2EE, getClassLoader() might not work as expected.  Use Thread.currentThread().getContextClassLoader() instead.
line 55 - [PMD] INFO: Local variable 'moduleClassLoader' could be declared final
line 55 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 56 - [PMD] INFO: Local variable 'configurationFile' could be declared final
line 57 - [PMD] INFO: Local variable 'properties' could be declared final
line 69 - [PMD] INFO: Local variable 'configurationFile' could be declared final
line 69 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
File: src/main/java/pl/touk/sputnik/processor/codenarc/CodeNarcProcessor.java
line 13 - [PMD] INFO: Each class should declare at least one constructor
line 13 - [PMD] INFO: headerCommentRequirement Required
line 15 - [PMD] INFO: fieldCommentRequirement Required
line 17 - [PMD] INFO: Avoid excessively long variable names like codeNarcRunnerBuilder
line 17 - [PMD] INFO: Found non-transient, non-static member. Please mark as transient or provide accessors.
line 17 - [PMD] INFO: fieldCommentRequirement Required
line 18 - [PMD] INFO: Found non-transient, non-static member. Please mark as transient or provide accessors.
line 18 - [PMD] INFO: fieldCommentRequirement Required
line 22 - [PMD] INFO: Parameter 'review' is not assigned and could be declared final
line 22 - [PMD] INFO: publicMethodCommentRequirement Required
line 24 - [PMD] INFO: A method should have only one exit point, and that should be the last statement in the method
line 26 - [PMD] INFO: Local variable 'codeNarcRunner' could be declared final
line 27 - [PMD] INFO: Local variable 'results' could be declared final
line 27 - [PMD] INFO: Potential violation of Law of Demeter (object not created locally)
line 31 - [PMD] INFO: Parameter 'review' is not assigned and could be declared final
line 32 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 38 - [PMD] INFO: publicMethodCommentRequirement Required

File: .gitignore
File: README.md
File: build.gradle
File: contrib/stash-execute.sh
File: gradle.properties
File: src/main/java/pl/touk/sputnik/Main.java

line 15 - [PMD] INFO: Avoid short class names like Main
line 15 - [PMD] INFO: headerCommentRequirement Required
line 16 - [PMD] INFO: fieldCommentRequirement Required
line 17 - [PMD] INFO: fieldCommentRequirement Required
line 18 - [PMD] INFO: fieldCommentRequirement Required
line 22 - [PMD] INFO: Consider using varargs for methods or constructors which take an array the last parameter.
line 22 - [PMD] INFO: Parameter 'args' is not assigned and could be declared final
line 22 - [PMD] INFO: publicMethodCommentRequirement Required
line 23 - [PMD] INFO: Local variable 'cliWrapper' could be declared final
line 24 - [PMD] IGNORE: Found 'DD'-anomaly for variable 'commandLine' (lines '24'-'26').
line 26 - [PMD] INFO: Potential violation of Law of Demeter (object not created locally)
line 29 - [PMD] INFO: Potential violation of Law of Demeter (object not created locally)
line 29 - [PMD] WARNING: System.out.println is used
line 30 - [PMD] INFO: System.exit() should not be used in J2EE/JEE apps
line 33 - [PMD] INFO: Potential violation of Law of Demeter (object not created locally)
line 33 - [PMD] INFO: Potential violation of Law of Demeter (static property access)
line 34 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 35 - [PMD] INFO: Local variable 'facade' could be declared final
line 35 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 35 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 35 - [PMD] INFO: Potential violation of Law of Demeter (static property access)
line 40 - [PMD] INFO: Parameter 'cliOptions' is not assigned and could be declared final
line 41 - [PMD] WARNING: System.out.println is used
line 42 - [PMD] INFO: Local variable 'helpFormatter' could be declared final
File: src/main/java/pl/touk/sputnik/configuration/CliWrapper.java
line 7 - [PMD] INFO: headerCommentRequirement Required
line 10 - [PMD] INFO: Found non-transient, non-static member. Please mark as transient or provide accessors.
line 10 - [PMD] INFO: fieldCommentRequirement Required
line 12 - [PMD] INFO: publicMethodCommentRequirement Required
line 19 - [PMD] INFO: Local variable 'localOptions' could be declared final
line 31 - [PMD] INFO: Consider using varargs for methods or constructors which take an array the last parameter.
line 31 - [PMD] INFO: Parameter 'args' is not assigned and could be declared final
line 31 - [PMD] INFO: publicMethodCommentRequirement Required
line 32 - [PMD] INFO: Local variable 'parser' could be declared final
File: src/main/java/pl/touk/sputnik/configuration/GeneralOption.java
line 8 - [PMD] INFO: enumCommentRequirement Required
line 11 - [PMD] INFO: The String literal "false" appears 7 times in this file; the first occurrence is on line 11
line 47 - [PMD] INFO: fieldCommentRequirement Required
line 48 - [PMD] INFO: fieldCommentRequirement Required
line 49 - [PMD] INFO: fieldCommentRequirement Required
File: src/main/java/pl/touk/sputnik/connector/ConnectorFacade.java
line 9 - [PMD] INFO: headerCommentRequirement Required
line 10 - [PMD] INFO: publicMethodCommentRequirement Required
line 13 - [PMD] INFO: publicMethodCommentRequirement Required
line 15 - [PMD] INFO: publicMethodCommentRequirement Required
File: src/main/java/pl/touk/sputnik/connector/Connectors.java
line 3 - [PMD] INFO: enumCommentRequirement Required
File: src/main/java/pl/touk/sputnik/connector/gerrit/GerritFacade.java
line 19 - [PMD] INFO: headerCommentRequirement Required
line 20 - [PMD] INFO: fieldCommentRequirement Required
line 21 - [PMD] INFO: fieldCommentRequirement Required
line 22 - [PMD] INFO: Found non-transient, non-static member. Please mark as transient or provide accessors.
line 22 - [PMD] INFO: Private field 'gerritConnector' could be made final; it is only initialized in the declaration or constructor.
line 22 - [PMD] INFO: fieldCommentRequirement Required
line 23 - [PMD] INFO: Found non-transient, non-static member. Please mark as transient or provide accessors.
line 23 - [PMD] INFO: Private field 'objectMapper' could be made final; it is only initialized in the declaration or constructor.
line 23 - [PMD] INFO: fieldCommentRequirement Required
line 25 - [PMD] INFO: Parameter 'gerritConnector' is not assigned and could be declared final
line 25 - [PMD] INFO: publicMethodCommentRequirement Required
line 31 - [PMD] IGNORE: Found 'UR'-anomaly for variable 'stringFileInfoEntry' (lines '31'-'39').
line 31 - [PMD] INFO: publicMethodCommentRequirement Required
line 33 - [PMD] INFO: Local variable 'response' could be declared final
line 34 - [PMD] INFO: Local variable 'jsonString' could be declared final
line 35 - [PMD] INFO: Local variable 'listFilesResponse' could be declared final
line 37 - [PMD] INFO: Local variable 'files' could be declared final
line 38 - [PMD] INFO: Avoid excessively long variable names like stringFileInfoEntry
line 38 - [PMD] INFO: Local variable 'stringFileInfoEntry' could be declared final
line 38 - [PMD] INFO: Potential violation of Law of Demeter (object not created locally)
line 42 - [PMD] INFO: Local variable 'value' could be declared final
line 43 - [PMD] INFO: Potential violation of Law of Demeter (object not created locally)
line 46 - [PMD] INFO: Avoid instantiating new objects inside loops
line 55 - [PMD] INFO: Parameter 'review' is not assigned and could be declared final
line 55 - [PMD] INFO: publicMethodCommentRequirement Required
line 57 - [PMD] INFO: Local variable 'json' could be declared final
line 67 - [PMD] INFO: Parameter 'response' is not assigned and could be declared final
line 67 - [PMD] INFO: protectedMethodCommentRequirement Required
line 72 - [PMD] INFO: publicMethodCommentRequirement Required
File: src/main/java/pl/touk/sputnik/connector/gerrit/GerritFacadeBuilder.java
line 16 - [PMD] INFO: Each class should declare at least one constructor
line 16 - [PMD] INFO: headerCommentRequirement Required
line 18 - [PMD] INFO: Found non-transient, non-static member. Please mark as transient or provide accessors.
line 18 - [PMD] INFO: Private field 'httpHelper' could be made final; it is only initialized in the declaration or constructor.
line 18 - [PMD] INFO: fieldCommentRequirement Required
line 21 - [PMD] INFO: publicMethodCommentRequirement Required
line 22 - [PMD] INFO: Local variable 'connectorDetails' could be declared final
line 23 - [PMD] INFO: Local variable 'gerritPatchset' could be declared final
line 25 - [PMD] INFO: Local variable 'httpHost' could be declared final
line 26 - [PMD] INFO: Local variable 'httpClientContext' could be declared final
line 27 - [PMD] INFO: Avoid excessively long variable names like closeableHttpClient
line 27 - [PMD] INFO: Local variable 'closeableHttpClient' could be declared final
line 34 - [PMD] INFO: Local variable 'changeId' could be declared final
line 34 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 35 - [PMD] INFO: Local variable 'revisionId' could be declared final
line 35 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 40 - [PMD] INFO: Avoid declaring a variable if it is unreferenced before a possible exit point.
line 40 - [PMD] INFO: Avoid unused local variables such as 'x'.
line 40 - [PMD] INFO: Avoid variables with short names like x
line 40 - [PMD] IGNORE: Found 'DU'-anomaly for variable 'x' (lines '40'-'47').
line 40 - [PMD] INFO: Local variable 'x' could be declared final
line 43 - [PMD] WARNING: System.out.println is used
File: src/main/java/pl/touk/sputnik/connector/gerrit/ReviewInputBuilder.java
line 15 - [PMD] INFO: Each class should declare at least one constructor
line 15 - [PMD] INFO: headerCommentRequirement Required
line 18 - [PMD] IGNORE: Found 'UR'-anomaly for variable 'comment' (lines '18'-'25').
line 18 - [PMD] IGNORE: Found 'UR'-anomaly for variable 'file' (lines '18'-'24').
line 18 - [PMD] INFO: Parameter 'review' is not assigned and could be declared final
line 18 - [PMD] INFO: publicMethodCommentRequirement Required
line 19 - [PMD] INFO: Local variable 'reviewInput' could be declared final
line 20 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 21 - [PMD] INFO: Potential violation of Law of Demeter (static property access)
line 22 - [PMD] INFO: Local variable 'file' could be declared final
line 23 - [PMD] INFO: Avoid instantiating new objects inside loops
line 23 - [PMD] INFO: Local variable 'comments' could be declared final
line 24 - [PMD] INFO: Local variable 'comment' could be declared final
line 25 - [PMD] INFO: Avoid instantiating new objects inside loops
line 27 - [PMD] INFO: Potential violation of Law of Demeter (static property access)
File: src/main/java/pl/touk/sputnik/connector/gerrit/json/ReviewInput.java
line 7 - [PMD] INFO: Comment is too large: Too many lines
line 19 - [PMD] INFO: Comment is too large: Line too long
line 32 - [PMD] INFO: Each class should declare at least one constructor
line 33 - [PMD] INFO: fieldCommentRequirement Required
line 34 - [PMD] INFO: If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation
line 34 - [PMD] INFO: fieldCommentRequirement Required
line 35 - [PMD] INFO: If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation
line 35 - [PMD] INFO: fieldCommentRequirement Required
File: src/main/java/pl/touk/sputnik/connector/stash/CrcMessage.java
line 8 - [PMD] INFO: Each class should declare at least one constructor
line 8 - [PMD] INFO: headerCommentRequirement Required
line 9 - [PMD] INFO: Found non-transient, non-static member. Please mark as transient or provide accessors.
line 9 - [PMD] INFO: fieldCommentRequirement Required
line 10 - [PMD] INFO: fieldCommentRequirement Required
line 12 - [PMD] INFO: publicMethodCommentRequirement Required
File: src/main/java/pl/touk/sputnik/connector/stash/StashFacade.java
line 24 - [PMD] INFO: headerCommentRequirement Required
line 25 - [PMD] INFO: Found non-transient, non-static member. Please mark as transient or provide accessors.
line 25 - [PMD] INFO: Private field 'stashConnector' could be made final; it is only initialized in the declaration or constructor.
line 25 - [PMD] INFO: fieldCommentRequirement Required
line 26 - [PMD] INFO: Found non-transient, non-static member. Please mark as transient or provide accessors.
line 26 - [PMD] INFO: Private field 'objectMapper' could be made final; it is only initialized in the declaration or constructor.
line 26 - [PMD] INFO: fieldCommentRequirement Required
line 28 - [PMD] INFO: Parameter 'stashConnector' is not assigned and could be declared final
line 28 - [PMD] INFO: publicMethodCommentRequirement Required
line 33 - [PMD] INFO: publicMethodCommentRequirement Required
line 39 - [PMD] IGNORE: Found 'UR'-anomaly for variable 'container' (lines '39'-'47').
line 39 - [PMD] INFO: publicMethodCommentRequirement Required
line 41 - [PMD] INFO: Local variable 'response' could be declared final
line 42 - [PMD] INFO: Local variable 'jsonList' could be declared final
line 43 - [PMD] INFO: Local variable 'containers' could be declared final
line 45 - [PMD] INFO: Local variable 'files' could be declared final
line 46 - [PMD] INFO: Local variable 'container' could be declared final
line 47 - [PMD] INFO: Local variable 'filePath' could be declared final
line 48 - [PMD] INFO: Avoid instantiating new objects inside loops
line 57 - [PMD] INFO: Parameter 'review' is not assigned and could be declared final
line 57 - [PMD] INFO: publicMethodCommentRequirement Required
line 61 - [PMD] INFO: Local variable 'json' could be declared final
line 61 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 68 - [PMD] IGNORE: Found 'UR'-anomaly for variable 'comment' (lines '68'-'74').
line 68 - [PMD] IGNORE: Found 'UR'-anomaly for variable 'reviewFile' (lines '68'-'72').
line 68 - [PMD] INFO: Parameter 'review' is not assigned and could be declared final
line 69 - [PMD] INFO: Avoid excessively long variable names like commentOnlyChangedLines
line 69 - [PMD] IGNORE: Found 'DU'-anomaly for variable 'commentOnlyChangedLines' (lines '69'-'92').
line 69 - [PMD] INFO: Local variable 'commentOnlyChangedLines' could be declared final
line 69 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 69 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 71 - [PMD] INFO: Local variable 'reviewFile' could be declared final
line 72 - [PMD] IGNORE: Found 'DD'-anomaly for variable 'changes' (lines '72'-'72').
line 72 - [PMD] IGNORE: Found 'DU'-anomaly for variable 'changes' (lines '72'-'92').
line 72 - [PMD] INFO: Local variable 'changes' could be declared final
line 73 - [PMD] INFO: Local variable 'comment' could be declared final
line 74 - [PMD] INFO: Avoid instantiating new objects inside loops
line 74 - [PMD] INFO: Local variable 'lineComment' could be declared final
line 76 - [PMD] INFO: Local variable 'changeType' could be declared final
line 77 - [PMD] INFO: Potential violation of Law of Demeter (object not created locally)
line 83 - [PMD] INFO: Local variable 'json' could be declared final
line 94 - [PMD] INFO: Parameter 'changes' is not assigned and could be declared final
line 94 - [PMD] INFO: Parameter 'lineComment' is not assigned and could be declared final
line 95 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 96 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 99 - [PMD] INFO: Parameter 'changes' is not assigned and could be declared final
line 99 - [PMD] INFO: Parameter 'line' is not assigned and could be declared final
line 100 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 101 - [PMD] INFO: A method should have only one exit point, and that should be the last statement in the method
line 101 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 106 - [PMD] INFO: Parameter 'changeType' is not assigned and could be declared final
line 106 - [PMD] INFO: Parameter 'comment' is not assigned and could be declared final
line 106 - [PMD] INFO: Parameter 'key' is not assigned and could be declared final
line 107 - [PMD] INFO: Local variable 'fileComment' could be declared final
line 109 - [PMD] INFO: Local variable 'anchor' could be declared final
line 109 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 109 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 109 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 109 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 109 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 119 - [PMD] IGNORE: Found 'UR'-anomaly for variable 'jsonObject' (lines '119'-'123').
line 119 - [PMD] INFO: Parameter 'jsonList' is not assigned and could be declared final
line 119 - [PMD] INFO: Parameter 'someClass' is not assigned and could be declared final
line 120 - [PMD] IGNORE: Found 'DU'-anomaly for variable 'result' (lines '120'-'129').
line 120 - [PMD] INFO: Local variable 'result' could be declared final
line 122 - [PMD] INFO: Local variable 'jsonObject' could be declared final
line 123 - [PMD] INFO: Potential violation of Law of Demeter (object not created locally)
line 131 - [PMD] IGNORE: Found 'UR'-anomaly for variable 'line' (lines '131'-'141').
line 131 - [PMD] IGNORE: Found 'UR'-anomaly for variable 'segment' (lines '131'-'140').
line 131 - [PMD] INFO: Parameter 'filename' is not assigned and could be declared final
line 131 - [PMD] INFO: Use explicit scoping instead of the default package private level
line 133 - [PMD] INFO: Local variable 'response' could be declared final
line 134 - [PMD] INFO: Local variable 'diffJsonList' could be declared final
line 135 - [PMD] INFO: Local variable 'lineList' could be declared final
line 136 - [PMD] INFO: Local variable 'segments' could be declared final
line 137 - [PMD] INFO: Local variable 'changes' could be declared final
line 137 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 137 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 138 - [PMD] INFO: Potential violation of Law of Demeter (object not created locally)
line 139 - [PMD] INFO: Local variable 'segment' could be declared final
line 140 - [PMD] INFO: Local variable 'line' could be declared final
line 141 - [PMD] INFO: Potential violation of Law of Demeter (object not created locally)
File: src/main/java/pl/touk/sputnik/engine/Engine.java
line 3 - [PMD] INFO: Avoid unused imports such as 'com.google.common.collect.ImmutableMap'
line 5 - [PMD] INFO: Avoid unused imports such as 'org.apache.commons.lang.math.NumberUtils'
line 7 - [PMD] INFO: Avoid unused imports such as 'pl.touk.sputnik.configuration.ConfigurationHolder'
line 10 - [PMD] INFO: Avoid unused imports such as 'java.util.ArrayList'
line 12 - [PMD] INFO: Avoid unused imports such as 'pl.touk.sputnik.configuration.GeneralOption'
line 20 - [PMD] INFO: headerCommentRequirement Required
line 21 - [PMD] INFO: fieldCommentRequirement Required
line 22 - [PMD] INFO: Found non-transient, non-static member. Please mark as transient or provide accessors.
line 22 - [PMD] INFO: fieldCommentRequirement Required
line 24 - [PMD] INFO: Parameter 'facade' is not assigned and could be declared final
line 24 - [PMD] INFO: publicMethodCommentRequirement Required
line 28 - [PMD] IGNORE: Found 'UR'-anomaly for variable 'afterReviewVisitor' (lines '28'-'42').
line 28 - [PMD] IGNORE: Found 'UR'-anomaly for variable 'beforeReviewVisitor' (lines '28'-'33').
line 28 - [PMD] IGNORE: Found 'UR'-anomaly for variable 'processor' (lines '28'-'38').
line 28 - [PMD] INFO: publicMethodCommentRequirement Required
line 29 - [PMD] INFO: Local variable 'reviewFiles' could be declared final
line 30 - [PMD] INFO: Local variable 'review' could be declared final
line 32 - [PMD] INFO: Avoid excessively long variable names like beforeReviewVisitor
line 32 - [PMD] INFO: Local variable 'beforeReviewVisitor' could be declared final
line 36 - [PMD] INFO: Local variable 'processors' could be declared final
line 37 - [PMD] INFO: Local variable 'processor' could be declared final
line 41 - [PMD] INFO: Avoid excessively long variable names like afterReviewVisitor
line 41 - [PMD] INFO: Local variable 'afterReviewVisitor' could be declared final
line 48 - [PMD] INFO: Parameter 'processor' is not assigned and could be declared final
line 48 - [PMD] INFO: Parameter 'review' is not assigned and could be declared final
line 50 - [PMD] INFO: Local variable 'start' could be declared final
line 52 - [PMD] INFO: Local variable 'reviewResult' could be declared final
line 53 - [PMD] WARNING: There is log block not surrounded by if
line 53 - [PMD] WARNING: There is log block not surrounded by if
line 58 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 58 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 58 - [PMD] INFO: Potential violation of Law of Demeter (object not created locally)
File: src/main/java/pl/touk/sputnik/engine/ProcessorBuilder.java
line 16 - [PMD] INFO: Each class should declare at least one constructor
line 16 - [PMD] INFO: headerCommentRequirement Required
line 19 - [PMD] INFO: publicMethodCommentRequirement Required
line 20 - [PMD] INFO: Local variable 'processors' could be declared final
line 21 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 21 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 24 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 24 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 27 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 27 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 30 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 30 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 33 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 33 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
File: src/main/java/pl/touk/sputnik/engine/VisitorBuilder.java
line 23 - [PMD] INFO: Each class should declare at least one constructor
line 23 - [PMD] INFO: headerCommentRequirement Required
line 24 - [PMD] INFO: fieldCommentRequirement Required
line 25 - [PMD] INFO: fieldCommentRequirement Required
line 26 - [PMD] INFO: fieldCommentRequirement Required
line 27 - [PMD] INFO: Avoid excessively long variable names like SCOREPASSIFNOERRORS
line 27 - [PMD] INFO: fieldCommentRequirement Required
line 30 - [PMD] INFO: publicMethodCommentRequirement Required
line 31 - [PMD] INFO: Avoid excessively long variable names like beforeReviewVisitors
line 31 - [PMD] INFO: Local variable 'beforeReviewVisitors' could be declared final
line 32 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 32 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 39 - [PMD] INFO: publicMethodCommentRequirement Required
line 40 - [PMD] INFO: Avoid excessively long variable names like afterReviewVisitors
line 40 - [PMD] INFO: Local variable 'afterReviewVisitors' could be declared final
line 44 - [PMD] INFO: Avoid excessively long variable names like maxNumberOfComments
line 44 - [PMD] INFO: Local variable 'maxNumberOfComments' could be declared final
line 44 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 44 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 56 - [PMD] IGNORE: Found 'DU'-anomaly for variable 'passingScore' (lines '56'-'84').
line 56 - [PMD] INFO: Local variable 'passingScore' could be declared final
line 56 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 56 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 56 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 57 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 58 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 58 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 60 - [PMD] IGNORE: Found 'DU'-anomaly for variable 'failingScore' (lines '60'-'84').
line 60 - [PMD] INFO: Local variable 'failingScore' could be declared final
line 60 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 60 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 60 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 61 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 62 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 62 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 64 - [PMD] INFO: Local variable 'scoreStrategy' could be declared final
line 64 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 67 - [PMD] INFO: Potential violation of Law of Demeter (object not created locally)
line 67 - [PMD] INFO: When doing a String.toLowerCase()/toUpperCase() call, use a Locale
line 69 - [PMD] INFO: A method should have only one exit point, and that should be the last statement in the method
line 72 - [PMD] INFO: A method should have only one exit point, and that should be the last statement in the method
line 75 - [PMD] INFO: A method should have only one exit point, and that should be the last statement in the method
line 78 - [PMD] INFO: A method should have only one exit point, and that should be the last statement in the method
File: src/main/java/pl/touk/sputnik/engine/visitor/AfterReviewVisitor.java
line 6 - [PMD] INFO: headerCommentRequirement Required
line 8 - [PMD] INFO: publicMethodCommentRequirement Required
File: src/main/java/pl/touk/sputnik/engine/visitor/BeforeReviewVisitor.java
line 6 - [PMD] INFO: headerCommentRequirement Required
line 8 - [PMD] INFO: publicMethodCommentRequirement Required
File: src/main/java/pl/touk/sputnik/engine/visitor/FilterOutTestFilesVisitor.java
line 11 - [PMD] INFO: Each class should declare at least one constructor
line 11 - [PMD] INFO: headerCommentRequirement Required
line 14 - [PMD] INFO: Parameter 'review' is not assigned and could be declared final
line 14 - [PMD] INFO: publicMethodCommentRequirement Required
line 18 - [PMD] INFO: Parameter 'file' is not assigned and could be declared final
line 18 - [PMD] INFO: publicMethodCommentRequirement Required
File: src/main/java/pl/touk/sputnik/engine/visitor/LimitCommentVisitor.java
line 14 - [PMD] INFO: Each class should declare at least one constructor
line 14 - [PMD] INFO: headerCommentRequirement Required
line 15 - [PMD] INFO: fieldCommentRequirement Required
line 16 - [PMD] INFO: Found non-transient, non-static member. Please mark as transient or provide accessors.
line 16 - [PMD] INFO: fieldCommentRequirement Required
line 19 - [PMD] INFO: Parameter 'review' is not assigned and could be declared final
line 19 - [PMD] INFO: publicMethodCommentRequirement Required
line 24 - [PMD] WARNING: There is log block not surrounded by if
line 24 - [PMD] WARNING: There is log block not surrounded by if
line 29 - [PMD] IGNORE: Found 'UR'-anomaly for variable 'reviewFile' (lines '29'-'32').
line 29 - [PMD] INFO: Parameter 'review' is not assigned and could be declared final
line 30 - [PMD] IGNORE: Found 'DD'-anomaly for variable 'counter' (lines '30'-'35').
line 30 - [PMD] IGNORE: Found 'DU'-anomaly for variable 'counter' (lines '30'-'41').
line 31 - [PMD] INFO: Local variable 'reviewFile' could be declared final
line 32 - [PMD] INFO: Local variable 'iterator' could be declared final
line 32 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 43 - [PMD] INFO: Parameter 'review' is not assigned and could be declared final
line 44 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
File: src/main/java/pl/touk/sputnik/engine/visitor/SummaryMessageVisitor.java
line 8 - [PMD] INFO: Each class should declare at least one constructor
line 8 - [PMD] INFO: headerCommentRequirement Required
line 11 - [PMD] INFO: Parameter 'review' is not assigned and could be declared final
line 11 - [PMD] INFO: publicMethodCommentRequirement Required
line 12 - [PMD] INFO: Local variable 'message' could be declared final
line 14 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
File: src/main/java/pl/touk/sputnik/engine/visitor/score/NoScore.java
line 9 - [PMD] INFO: Each class should declare at least one constructor
line 9 - [PMD] INFO: headerCommentRequirement Required
line 12 - [PMD] INFO: Parameter 'review' is not assigned and could be declared final
line 12 - [PMD] INFO: publicMethodCommentRequirement Required
File: src/main/java/pl/touk/sputnik/engine/visitor/score/ScoreAlwaysPass.java
line 15 - [PMD] INFO: Each class should declare at least one constructor
line 15 - [PMD] INFO: headerCommentRequirement Required
line 16 - [PMD] INFO: Found non-transient, non-static member. Please mark as transient or provide accessors.
line 16 - [PMD] INFO: fieldCommentRequirement Required
line 19 - [PMD] INFO: Parameter 'review' is not assigned and could be declared final
line 19 - [PMD] INFO: publicMethodCommentRequirement Required
line 21 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
File: src/main/java/pl/touk/sputnik/engine/visitor/score/ScorePassIfEmpty.java
line 15 - [PMD] INFO: Each class should declare at least one constructor
line 15 - [PMD] INFO: headerCommentRequirement Required
line 16 - [PMD] INFO: Found non-transient, non-static member. Please mark as transient or provide accessors.
line 16 - [PMD] INFO: fieldCommentRequirement Required
line 17 - [PMD] INFO: Found non-transient, non-static member. Please mark as transient or provide accessors.
line 17 - [PMD] INFO: fieldCommentRequirement Required
line 20 - [PMD] INFO: Parameter 'review' is not assigned and could be declared final
line 20 - [PMD] INFO: publicMethodCommentRequirement Required
File: src/main/java/pl/touk/sputnik/engine/visitor/score/ScorePassIfNoErrors.java
line 16 - [PMD] INFO: Each class should declare at least one constructor
line 16 - [PMD] INFO: headerCommentRequirement Required
line 17 - [PMD] INFO: Found non-transient, non-static member. Please mark as transient or provide accessors.
line 17 - [PMD] INFO: fieldCommentRequirement Required
line 18 - [PMD] INFO: Found non-transient, non-static member. Please mark as transient or provide accessors.
line 18 - [PMD] INFO: fieldCommentRequirement Required
line 21 - [PMD] INFO: Parameter 'review' is not assigned and could be declared final
line 21 - [PMD] INFO: publicMethodCommentRequirement Required
line 22 - [PMD] INFO: Local variable 'errorCount' could be declared final
line 22 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
File: src/main/java/pl/touk/sputnik/processor/checkstyle/CheckstyleProcessor.java
line 17 - [PMD] INFO: Avoid unused imports such as 'pl.touk.sputnik.review.filter.FileExtensionFilter'
line 22 - [PMD] INFO: Avoid unused imports such as 'java.util.Collections'
line 27 - [PMD] INFO: Each class should declare at least one constructor
line 27 - [PMD] INFO: headerCommentRequirement Required
line 28 - [PMD] INFO: fieldCommentRequirement Required
line 29 - [PMD] INFO: Found non-transient, non-static member. Please mark as transient or provide accessors.
line 29 - [PMD] INFO: fieldCommentRequirement Required
line 33 - [PMD] INFO: Parameter 'review' is not assigned and could be declared final
line 33 - [PMD] INFO: publicMethodCommentRequirement Required
line 40 - [PMD] INFO: publicMethodCommentRequirement Required
line 44 - [PMD] INFO: Parameter 'auditListener' is not assigned and could be declared final
line 44 - [PMD] INFO: Parameter 'review' is not assigned and could be declared final
line 45 - [PMD] INFO: Local variable 'files' could be declared final
line 46 - [PMD] INFO: Local variable 'checker' could be declared final
line 47 - [PMD] INFO: Potential violation of Law of Demeter (object not created locally)
line 48 - [PMD] INFO: Potential violation of Law of Demeter (object not created locally)
line 52 - [PMD] INFO: Parameter 'auditListener' is not assigned and could be declared final
line 54 - [PMD] INFO: Local variable 'checker' could be declared final
line 55 - [PMD] INFO: In J2EE, getClassLoader() might not work as expected.  Use Thread.currentThread().getContextClassLoader() instead.
line 55 - [PMD] INFO: Local variable 'moduleClassLoader' could be declared final
line 55 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 56 - [PMD] INFO: Local variable 'configurationFile' could be declared final
line 57 - [PMD] INFO: Local variable 'properties' could be declared final
line 69 - [PMD] INFO: Local variable 'configurationFile' could be declared final
line 69 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
File: src/main/java/pl/touk/sputnik/processor/codenarc/CodeNarcProcessor.java
line 13 - [PMD] INFO: Each class should declare at least one constructor
line 13 - [PMD] INFO: headerCommentRequirement Required
line 15 - [PMD] INFO: fieldCommentRequirement Required
line 17 - [PMD] INFO: Avoid excessively long variable names like codeNarcRunnerBuilder
line 17 - [PMD] INFO: Found non-transient, non-static member. Please mark as transient or provide accessors.
line 17 - [PMD] INFO: fieldCommentRequirement Required
line 18 - [PMD] INFO: Found non-transient, non-static member. Please mark as transient or provide accessors.
line 18 - [PMD] INFO: fieldCommentRequirement Required
line 22 - [PMD] INFO: Parameter 'review' is not assigned and could be declared final
line 22 - [PMD] INFO: publicMethodCommentRequirement Required
line 24 - [PMD] INFO: A method should have only one exit point, and that should be the last statement in the method
line 26 - [PMD] INFO: Local variable 'codeNarcRunner' could be declared final
line 27 - [PMD] INFO: Local variable 'results' could be declared final
line 27 - [PMD] INFO: Potential violation of Law of Demeter (object not created locally)
line 31 - [PMD] INFO: Parameter 'review' is not assigned and could be declared final
line 32 - [PMD] INFO: Potential violation of Law of Demeter (method chain calls)
line 38 - [PMD] INFO: publicMethodCommentRequirement Required