PMD Results
The following document contains the results of PMD 7.4.0.
PMD found no problems in your source code.
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 15. | @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 | High amount of different objects as members denotes a high coupling | @suppresswarnings | |
gov/nist/secauto/oscal/tools/cli/core/commands/ListAllowedValuesCommand.java | The method 'executeCommand(CallingContext, CommandLine)' has a cyclomatic complexity of 10. | @suppresswarnings |