PMD Results
The following document contains the results of PMD 7.7.0.
PMD found no problems in your source code.
Suppressed Violations
Filename | Rule message | Suppression type | Reason |
---|---|---|---|
gov/nist/secauto/metaschema/cli/CLI.java | Avoid short class names like CLI | @suppresswarnings | |
gov/nist/secauto/metaschema/cli/CLI.java | If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation | @suppresswarnings | |
gov/nist/secauto/metaschema/cli/commands/AbstractConvertSubcommand.java | The method 'execute()' has a cyclomatic complexity of 10. | @suppresswarnings | |
gov/nist/secauto/metaschema/cli/commands/AbstractValidateContentCommand.java | The method 'validate(URI, Format, CommandLine, IBindingContext)' has a cyclomatic complexity of 15. | @suppresswarnings | |
gov/nist/secauto/metaschema/cli/commands/GenerateSchemaCommand.java | The method 'executeCommand(CallingContext, CommandLine)' has a cyclomatic complexity of 10. | @suppresswarnings | |
gov/nist/secauto/metaschema/cli/commands/MetaschemaCommands.java | Thrown exception does not preserve the stack trace of exception 'ex' on all code paths | @suppresswarnings | |
gov/nist/secauto/metaschema/cli/commands/MetaschemaCommands.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/commands/MetaschemaCommands.java | Possible God Class (WMC=57, ATFD=21, TCC=0.000%) | @suppresswarnings | |
gov/nist/secauto/metaschema/cli/commands/metapath/EvaluateMetapathCommand.java | Avoid unused method parameters such as 'callingContext'. | @suppresswarnings | |
gov/nist/secauto/metaschema/cli/commands/metapath/EvaluateMetapathCommand.java | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | @suppresswarnings | |
gov/nist/secauto/metaschema/cli/commands/metapath/EvaluateMetapathCommand.java | Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | @suppresswarnings | |
gov/nist/secauto/metaschema/cli/commands/metapath/EvaluateMetapathCommand.java | The method 'executeCommand(CallingContext, CommandLine)' has a cognitive complexity of 18, current threshold is 15 | @suppresswarnings | |
gov/nist/secauto/metaschema/cli/commands/metapath/EvaluateMetapathCommand.java | The method 'executeCommand(CallingContext, CommandLine)' has a cyclomatic complexity of 21. | @suppresswarnings | |
gov/nist/secauto/metaschema/cli/commands/metapath/EvaluateMetapathCommand.java | The method 'executeCommand(CallingContext, CommandLine)' has an NPath complexity of 364, current threshold is 200 | @suppresswarnings | |
gov/nist/secauto/metaschema/cli/commands/metapath/ListFunctionsSubcommand.java | The method 'executeCommand(CallingContext, CommandLine)' has a cognitive complexity of 22, current threshold is 15 | @suppresswarnings | |
gov/nist/secauto/metaschema/cli/commands/metapath/ListFunctionsSubcommand.java | Avoid instantiating new objects inside loops | @suppresswarnings |