Fork me on GitHub

PMD Results

The following document contains the results of PMD 7.10.0.

Violations By Priority

Priority 3

gov/nist/secauto/oscal/tools/cli/core/commands/AbstractResolveCommand.java

Rule Violation Line
NPathComplexity The method 'executeCommand(CallingContext, CommandLine)' has an NPath complexity of 768, current threshold is 200 107

Files

gov/nist/secauto/oscal/tools/cli/core/commands/AbstractResolveCommand.java

Rule Violation Priority Line
NPathComplexity The method 'executeCommand(CallingContext, CommandLine)' has an NPath complexity of 768, current threshold is 200 3 107

Suppressed Violations

Filename Rule message Suppression type Reason
gov/nist/secauto/oscal/tools/cli/core/CLI.java Avoid short class names like CLI @suppresswarnings
gov/nist/secauto/oscal/tools/cli/core/CLI.java If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation @suppresswarnings
gov/nist/secauto/oscal/tools/cli/core/commands/AbstractResolveCommand.java The method 'executeCommand(CallingContext, CommandLine)' has a cyclomatic complexity of 16. @suppresswarnings
gov/nist/secauto/oscal/tools/cli/core/commands/AbstractResolveCommand.java Ensure that resources like this PrintStream object are closed after use @suppresswarnings
gov/nist/secauto/oscal/tools/cli/core/commands/ListAllowedValuesCommand.java Avoid unused method parameters such as 'metapath'. @suppresswarnings
gov/nist/secauto/oscal/tools/cli/core/commands/ListAllowedValuesCommand.java Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block @suppresswarnings
gov/nist/secauto/oscal/tools/cli/core/commands/ListAllowedValuesCommand.java Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block @suppresswarnings
gov/nist/secauto/oscal/tools/cli/core/commands/ListAllowedValuesCommand.java A value of 29 may denote a high amount of coupling within the class (threshold: 20) @suppresswarnings
gov/nist/secauto/oscal/tools/cli/core/commands/ListAllowedValuesCommand.java The method 'executeCommand(CallingContext, CommandLine)' has a cyclomatic complexity of 10. @suppresswarnings