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/model/testing/AbstractTestSuite.java

Rule Violation Line
CouplingBetweenObjects A value of 35 may denote a high amount of coupling within the class (threshold: 20) 6568
CognitiveComplexity The method 'generateScenario(TestScenario, URI, Lazy<Path>, IBindingContext)' has a cognitive complexity of 16, current threshold is 15 268
NPathComplexity The method 'generateScenario(TestScenario, URI, Lazy<Path>, IBindingContext)' has an NPath complexity of 576, current threshold is 200 268

Files

gov/nist/secauto/metaschema/model/testing/AbstractTestSuite.java

Rule Violation Priority Line
CouplingBetweenObjects A value of 35 may denote a high amount of coupling within the class (threshold: 20) 3 6568
CognitiveComplexity The method 'generateScenario(TestScenario, URI, Lazy<Path>, IBindingContext)' has a cognitive complexity of 16, current threshold is 15 3 268
NPathComplexity The method 'generateScenario(TestScenario, URI, Lazy<Path>, IBindingContext)' has an NPath complexity of 576, current threshold is 200 3 268

Suppressed Violations

Filename Rule message Suppression type Reason
gov/nist/secauto/metaschema/model/testing/AbstractTestSuite.java Returning 'OPEN_OPTIONS_TRUNCATE' may expose an internal array. @suppresswarnings
gov/nist/secauto/metaschema/model/testing/AbstractTestSuite.java Thrown exception does not preserve the stack trace of exception 'ex' on all code paths //nopmd - cause is relevant, exception is not
gov/nist/secauto/metaschema/model/testing/AbstractTestSuite.java Thrown exception does not preserve the stack trace of exception 'ex' on all code paths //nopmd - cause is relevant, exception is not
gov/nist/secauto/metaschema/model/testing/AbstractTestSuite.java Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block @suppresswarnings
gov/nist/secauto/metaschema/model/testing/AbstractTestSuite.java Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block @suppresswarnings
gov/nist/secauto/metaschema/model/testing/AbstractTestSuite.java Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block @suppresswarnings
gov/nist/secauto/metaschema/model/testing/AbstractTestSuite.java Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block @suppresswarnings
gov/nist/secauto/metaschema/model/testing/AbstractTestSuite.java To be compliant to J2EE, a webapp should not use any thread. //nopmd - this is not a webapp