PMD Results

The following document contains the results of PMD 6.21.0.

Violations By Priority

Priority 3

gov/nist/secauto/swid/plugin/entry/FileEntry.java

Rule Violation Line
UnnecessaryModifier Unnecessary modifier 'public' on method 'getPath': the method is declared in an interface type 44
UnnecessaryModifier Unnecessary modifier 'public' on method 'getOutputRelativePath': the method is declared in an interface type 51
UnnecessaryModifier Unnecessary modifier 'public' on method 'getRelativePathSegements': the method is declared in an interface type 60
UnnecessaryModifier Unnecessary modifier 'public' on method 'getSize': the method is declared in an interface type 67
UnnecessaryModifier Unnecessary modifier 'public' on method 'getInputStream': the method is declared in an interface type 78
UnnecessaryModifier Unnecessary modifier 'public' on method 'getVersion': the method is declared in an interface type 85
UnnecessaryModifier Unnecessary modifier 'public' on method 'asFileInfo': the method is declared in an interface type 87

Priority 4

gov/nist/secauto/swid/plugin/HelpMojo.java

Rule Violation Line
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'java.lang.String' due to existing implicit import 'java.lang.*' 44
UselessParentheses Useless parentheses. 241
UselessParentheses Useless parentheses. 290
UselessParentheses Useless parentheses. 300

Files

gov/nist/secauto/swid/plugin/entry/FileEntry.java

Rule Violation Priority Line
UnnecessaryModifier Unnecessary modifier 'public' on method 'getPath': the method is declared in an interface type 3 44
UnnecessaryModifier Unnecessary modifier 'public' on method 'getOutputRelativePath': the method is declared in an interface type 3 51
UnnecessaryModifier Unnecessary modifier 'public' on method 'getRelativePathSegements': the method is declared in an interface type 3 60
UnnecessaryModifier Unnecessary modifier 'public' on method 'getSize': the method is declared in an interface type 3 67
UnnecessaryModifier Unnecessary modifier 'public' on method 'getInputStream': the method is declared in an interface type 3 78
UnnecessaryModifier Unnecessary modifier 'public' on method 'getVersion': the method is declared in an interface type 3 85
UnnecessaryModifier Unnecessary modifier 'public' on method 'asFileInfo': the method is declared in an interface type 3 87

gov/nist/secauto/swid/plugin/HelpMojo.java

Rule Violation Priority Line
UnnecessaryFullyQualifiedName Unnecessary use of fully qualified name 'java.lang.String' due to existing implicit import 'java.lang.*' 4 44
UselessParentheses Useless parentheses. 4 241
UselessParentheses Useless parentheses. 4 290
UselessParentheses Useless parentheses. 4 300