Apache Commons logo Apache Commons RNG

PMD Results

The following document contains the results of PMD 7.23.0.

Violations By Priority

Priority 3

org/apache/commons/rng/examples/sampling/ManifestVersionProvider.java

Rule Violation Line
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 45
LooseCoupling Avoid using implementation types like 'Attributes'; use the interface instead 47
LooseCoupling Avoid using implementation types like 'Attributes'; use the interface instead 65
LooseCoupling Avoid using implementation types like 'Attributes'; use the interface instead 76

org/apache/commons/rng/examples/sampling/ProbabilityDensityApproximationCommand.java

Rule Violation Line
LooseCoupling Avoid using implementation types like 'EnumSet'; use the interface instead 72
NcssCount The method 'call()' has a NCSS line count of 87. 193
CognitiveComplexity The method 'call()' has a cognitive complexity of 21, current threshold is 15 193
CyclomaticComplexity The method 'call()' has a cyclomatic complexity of 22. 193
DoNotTerminateVM System.exit() should not be used in J2EE/JEE apps 200

Files

org/apache/commons/rng/examples/sampling/ManifestVersionProvider.java

Rule Violation Priority Line
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 45
LooseCoupling Avoid using implementation types like 'Attributes'; use the interface instead 3 47
LooseCoupling Avoid using implementation types like 'Attributes'; use the interface instead 3 65
LooseCoupling Avoid using implementation types like 'Attributes'; use the interface instead 3 76

org/apache/commons/rng/examples/sampling/ProbabilityDensityApproximationCommand.java

Rule Violation Priority Line
LooseCoupling Avoid using implementation types like 'EnumSet'; use the interface instead 3 72
NcssCount The method 'call()' has a NCSS line count of 87. 3 193
CognitiveComplexity The method 'call()' has a cognitive complexity of 21, current threshold is 15 3 193
CyclomaticComplexity The method 'call()' has a cyclomatic complexity of 22. 3 193
DoNotTerminateVM System.exit() should not be used in J2EE/JEE apps 3 200