PMD 5.0.4 Report [module - structgen]
2014-02-08 - 15:16:29


Summary

Files Total Priority 1 Priority 2 Priority 3 Priority 4 Priority 5
8 57
1
0
56
0
0

Prio File Line Description
3
org.openscience.cdk.atomtype.StructGenAtomTypeGuesser 76 Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block
3
org.openscience.cdk.atomtype.StructGenMatcher 84 Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block
3
org.openscience.cdk.structgen.IStructureGenerationListener 35 A method/constructor shouldnt explicitly throw java.lang.Exception
3
org.openscience.cdk.structgen.RandomGenerator 51-345 The class 'RandomGenerator' has a Cyclomatic Complexity of 7 (Highest = 30).
3
org.openscience.cdk.structgen.RandomGenerator 91 Avoid variables with short names like s
3
org.openscience.cdk.structgen.RandomGenerator 93 The String literal " " appears 8 times in this file; the first occurrence is on line 93
3
org.openscience.cdk.structgen.RandomGenerator 126-320 Avoid really long methods.
3
org.openscience.cdk.structgen.RandomGenerator 126 Avoid variables with short names like ac
3
org.openscience.cdk.structgen.RandomGenerator 126-320 The method 'mutate' has a Cyclomatic Complexity of 30.
3
org.openscience.cdk.structgen.RandomGenerator 126-320 The method mutate() has an NCSS line count of 106
3
org.openscience.cdk.structgen.RandomGenerator 126-320 The method mutate() has an NPath complexity of 174336
3
org.openscience.cdk.structgen.RandomGenerator 130 Avoid variables with short names like x1
3
org.openscience.cdk.structgen.RandomGenerator 130 Avoid variables with short names like x2
3
org.openscience.cdk.structgen.RandomGenerator 130 Avoid variables with short names like y1
3
org.openscience.cdk.structgen.RandomGenerator 130 Avoid variables with short names like y2
3
org.openscience.cdk.structgen.RandomGenerator 135 Avoid variables with short names like b1
3
org.openscience.cdk.structgen.RandomGenerator 135 Avoid variables with short names like b2
3
org.openscience.cdk.structgen.RandomGenerator 135 Avoid variables with short names like b3
3
org.openscience.cdk.structgen.RandomGenerator 135 Avoid variables with short names like b4
3
org.openscience.cdk.structgen.RandomGenerator 153 The String literal ", " appears 6 times in this file; the first occurrence is on line 153
3
org.openscience.cdk.structgen.SingleStructureRandomGenerator 103 Avoid variables with short names like ac
3
org.openscience.cdk.structgen.VicinitySampler 50-288 The class 'VicinitySampler' has a Cyclomatic Complexity of 14 (Highest = 14).
1
org.openscience.cdk.structgen.VicinitySampler 52 Variables that are final and static should be all capitals, 'logger' is not all capitals.
3
org.openscience.cdk.structgen.VicinitySampler 62-186 Avoid really long methods.
3
org.openscience.cdk.structgen.VicinitySampler 62 Avoid variables with short names like ac
3
org.openscience.cdk.structgen.VicinitySampler 62-186 The method 'sample' has a Cyclomatic Complexity of 14.
3
org.openscience.cdk.structgen.VicinitySampler 77 Avoid variables with short names like b1
3
org.openscience.cdk.structgen.VicinitySampler 77 Avoid variables with short names like b2
3
org.openscience.cdk.structgen.VicinitySampler 77 Avoid variables with short names like b3
3
org.openscience.cdk.structgen.VicinitySampler 77 Avoid variables with short names like b4
3
org.openscience.cdk.structgen.VicinitySampler 188 Avoid variables with short names like ac
3
org.openscience.cdk.structgen.VicinitySampler 188 Avoid variables with short names like x1
3
org.openscience.cdk.structgen.VicinitySampler 188 Avoid variables with short names like x2
3
org.openscience.cdk.structgen.VicinitySampler 188 Avoid variables with short names like y1
3
org.openscience.cdk.structgen.VicinitySampler 188 Avoid variables with short names like y2
3
org.openscience.cdk.structgen.VicinitySampler 188-286 The method 'change' has a Cyclomatic Complexity of 14.
3
org.openscience.cdk.structgen.VicinitySampler 188-286 The method change() has an NPath complexity of 512
3
org.openscience.cdk.structgen.VicinitySampler 191 Avoid variables with short names like b1
3
org.openscience.cdk.structgen.VicinitySampler 191 Avoid variables with short names like b2
3
org.openscience.cdk.structgen.VicinitySampler 191 Avoid variables with short names like b3
3
org.openscience.cdk.structgen.VicinitySampler 191 Avoid variables with short names like b4
3
org.openscience.cdk.structgen.VicinitySampler 197 Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block
3
org.openscience.cdk.structgen.VicinitySampler 208 The String literal "no bond " appears 4 times in this file; the first occurrence is on line 208
3
org.openscience.cdk.structgen.VicinitySampler 215 The String literal " to " appears 4 times in this file; the first occurrence is on line 215
3
org.openscience.cdk.structgen.VicinitySampler 215 The String literal "Setting bondorder for " appears 4 times in this file; the first occurrence is on line 215
3
org.openscience.cdk.structgen.VicinitySampler 221 The String literal "removing bond " appears 4 times in this file; the first occurrence is on line 221
3
org.openscience.cdk.structgen.stochastic.PartialFilledStructureMerger 51-166 The class 'PartialFilledStructureMerger' has a Cyclomatic Complexity of 9 (Highest = 14).
3
org.openscience.cdk.structgen.stochastic.PartialFilledStructureMerger 76-126 The method 'generate' has a Cyclomatic Complexity of 14.
3
org.openscience.cdk.structgen.stochastic.PartialFilledStructureMerger 86 Avoid variables with short names like ac
3
org.openscience.cdk.structgen.stochastic.PartialFilledStructureMerger 135-164 The method 'getAnotherUnsaturatedNode' has a Cyclomatic Complexity of 12.
3
org.openscience.cdk.structgen.stochastic.PartialFilledStructureMerger 139 Avoid variables with short names like ac
3
org.openscience.cdk.structgen.stochastic.PartialFilledStructureMerger 152 Avoid variables with short names like ac
3
org.openscience.cdk.structgen.stochastic.operator.CrossoverMachine 43-228 The class 'CrossoverMachine' has a Cyclomatic Complexity of 16 (Highest = 30).
3
org.openscience.cdk.structgen.stochastic.operator.CrossoverMachine 76-227 Avoid really long methods.
3
org.openscience.cdk.structgen.stochastic.operator.CrossoverMachine 76-227 The method 'doCrossover' has a Cyclomatic Complexity of 30.
3
org.openscience.cdk.structgen.stochastic.operator.CrossoverMachine 76-227 The method doCrossover() has an NPath complexity of 2396161
3
org.openscience.cdk.structgen.stochastic.operator.CrossoverMachine 215 Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block

Generated by PMD 5.0.4 on 2014-02-08 - 15:16:29.