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/metaschema/cli/util/LoggingValidationHandler.java

Rule Violation Line
CyclomaticComplexity The method 'getLogger(IValidationFinding)' has a cyclomatic complexity of 10. 150

Files

gov/nist/secauto/metaschema/cli/util/LoggingValidationHandler.java

Rule Violation Priority Line
CyclomaticComplexity The method 'getLogger(IValidationFinding)' has a cyclomatic complexity of 10. 3 150

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/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