Fork me on GitHub

PMD Results

The following document contains the results of PMD 7.7.0.

Violations By Priority

Priority 3

gov/nist/secauto/metaschema/cli/processor/AbstractExitStatus.java

Rule Violation Line
CognitiveComplexity The method 'generateMessage(boolean)' has a cognitive complexity of 16, current threshold is 15 65
CyclomaticComplexity The method 'generateMessage(boolean)' has a cyclomatic complexity of 13. 65

gov/nist/secauto/metaschema/cli/processor/CLIProcessor.java

Rule Violation Line
CouplingBetweenObjects A value of 28 may denote a high amount of coupling within the class (threshold: 20) 6658
GodClass Possible God Class (WMC=48, ATFD=31, TCC=0.000%) 245
CognitiveComplexity The method 'processCommand()' has a cognitive complexity of 16, current threshold is 15 324
CyclomaticComplexity The method 'processCommand()' has a cyclomatic complexity of 13. 324
NPathComplexity The method 'processCommand()' has an NPath complexity of 1728, current threshold is 200 324
CognitiveComplexity The method 'buildHelpCliSyntax()' has a cognitive complexity of 25, current threshold is 15 551
CyclomaticComplexity The method 'buildHelpCliSyntax()' has a cyclomatic complexity of 11. 551
NPathComplexity The method 'buildHelpCliSyntax()' has an NPath complexity of 240, current threshold is 200 551

gov/nist/secauto/metaschema/cli/processor/Version.java

Rule Violation Line
UnnecessaryConstructor Avoid unnecessary constructors - the compiler will generate these for you 15
UncommentedEmptyConstructor Document empty constructor 15

Files

gov/nist/secauto/metaschema/cli/processor/AbstractExitStatus.java

Rule Violation Priority Line
CognitiveComplexity The method 'generateMessage(boolean)' has a cognitive complexity of 16, current threshold is 15 3 65
CyclomaticComplexity The method 'generateMessage(boolean)' has a cyclomatic complexity of 13. 3 65

gov/nist/secauto/metaschema/cli/processor/CLIProcessor.java

Rule Violation Priority Line
CouplingBetweenObjects A value of 28 may denote a high amount of coupling within the class (threshold: 20) 3 6658
GodClass Possible God Class (WMC=48, ATFD=31, TCC=0.000%) 3 245
CognitiveComplexity The method 'processCommand()' has a cognitive complexity of 16, current threshold is 15 3 324
CyclomaticComplexity The method 'processCommand()' has a cyclomatic complexity of 13. 3 324
NPathComplexity The method 'processCommand()' has an NPath complexity of 1728, current threshold is 200 3 324
CognitiveComplexity The method 'buildHelpCliSyntax()' has a cognitive complexity of 25, current threshold is 15 3 551
CyclomaticComplexity The method 'buildHelpCliSyntax()' has a cyclomatic complexity of 11. 3 551
NPathComplexity The method 'buildHelpCliSyntax()' has an NPath complexity of 240, current threshold is 200 3 551

gov/nist/secauto/metaschema/cli/processor/Version.java

Rule Violation Priority Line
UnnecessaryConstructor Avoid unnecessary constructors - the compiler will generate these for you 3 15
UncommentedEmptyConstructor Document empty constructor 3 15

Suppressed Violations

Filename Rule message Suppression type Reason
gov/nist/secauto/metaschema/cli/processor/CLIProcessor.java Avoid using implementation types like 'LinkedList'; use the interface instead @suppresswarnings
gov/nist/secauto/metaschema/cli/processor/CLIProcessor.java A method should have only one exit point, and that should be the last statement in the method @suppresswarnings
gov/nist/secauto/metaschema/cli/processor/CLIProcessor.java A method should have only one exit point, and that should be the last statement in the method @suppresswarnings
gov/nist/secauto/metaschema/cli/processor/CLIProcessor.java A method should have only one exit point, and that should be the last statement in the method @suppresswarnings
gov/nist/secauto/metaschema/cli/processor/CLIProcessor.java A method should have only one exit point, and that should be the last statement in the method @suppresswarnings
gov/nist/secauto/metaschema/cli/processor/CLIProcessor.java A method should have only one exit point, and that should be the last statement in the method @suppresswarnings
gov/nist/secauto/metaschema/cli/processor/CLIProcessor.java A method should have only one exit point, and that should be the last statement in the method @suppresswarnings
gov/nist/secauto/metaschema/cli/processor/CLIProcessor.java A method should have only one exit point, and that should be the last statement in the method @suppresswarnings
gov/nist/secauto/metaschema/cli/processor/CLIProcessor.java A method should have only one exit point, and that should be the last statement in the method @suppresswarnings
gov/nist/secauto/metaschema/cli/processor/CLIProcessor.java Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block @suppresswarnings
gov/nist/secauto/metaschema/cli/processor/CLIProcessor.java Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block @suppresswarnings
gov/nist/secauto/metaschema/cli/processor/CLIProcessor.java Ensure that resources like this LoggerContext object are closed after use //nopmd not closable here
gov/nist/secauto/metaschema/cli/processor/CLIProcessor.java Ensure that resources like this PrintStream object are closed after use //nopmd - not owner