| Files | Total | Priority 1 | Priority 2 | Priority 3 | Priority 4 | Priority 5 |
|---|---|---|---|---|---|---|
| 12 | 74 | 12 |
2 |
53 |
7 |
0 |
| Prio | File | Line | Description |
|---|---|---|---|
3 |
org.openscience.cdk.formula.IsotopePatternGenerator | 54-407 | The class 'IsotopePatternGenerator' has a Cyclomatic Complexity of 4 (Highest = 15). |
3 |
org.openscience.cdk.formula.IsotopePatternGenerator | 117 | Avoid variables with short names like ab |
3 |
org.openscience.cdk.formula.IsotopePatternGenerator | 135 | Avoid variables with short names like mm |
3 |
org.openscience.cdk.formula.IsotopePatternGenerator | 151 | Avoid variables with short names like mm |
3 |
org.openscience.cdk.formula.IsotopePatternGenerator | 176 | Avoid variables with short names like nC |
3 |
org.openscience.cdk.formula.IsotopePatternGenerator | 249-353 | Avoid really long methods. |
3 |
org.openscience.cdk.formula.IsotopePatternGenerator | 249 | Avoid variables with short names like nC |
3 |
org.openscience.cdk.formula.IsotopePatternGenerator | 249-353 | The method 'mixer' has a Cyclomatic Complexity of 15. |
3 |
org.openscience.cdk.formula.IsotopePatternGenerator | 249-353 | The method mixer() has an NPath complexity of 870 |
3 |
org.openscience.cdk.formula.IsotopePatternGenerator | 382-389 | Avoid unused method parameters such as 'isotopicAtoms'. |
3 |
org.openscience.cdk.formula.IsotopePatternGenerator | 398-406 | Avoid unused method parameters such as 'isotopicAtoms'. |
3 |
org.openscience.cdk.formula.MassToFormulaTool | 65-635 | The class 'MassToFormulaTool' has a Cyclomatic Complexity of 6 (Highest = 29). |
3 |
org.openscience.cdk.formula.MassToFormulaTool | 83 | Avoid unused private fields such as 'charge'. |
3 |
org.openscience.cdk.formula.MassToFormulaTool | 113-162 | The method 'setRestrictions' has a Cyclomatic Complexity of 11. |
3 |
org.openscience.cdk.formula.MassToFormulaTool | 252-416 | Avoid really long methods. |
3 |
org.openscience.cdk.formula.MassToFormulaTool | 252-416 | The method 'generate' has a Cyclomatic Complexity of 29. |
3 |
org.openscience.cdk.formula.MassToFormulaTool | 252-416 | The method generate() has an NPath complexity of 342184 |
3 |
org.openscience.cdk.formula.MassToFormulaTool | 313-314 | These nested if statements could be combined |
3 |
org.openscience.cdk.formula.MassToFormulaTool | 351 | Avoid variables with short names like p |
3 |
org.openscience.cdk.formula.MassToFormulaTool | 400 | Avoid variables with short names like p |
3 |
org.openscience.cdk.formula.MassToFormulaTool | 479-480 | These nested if statements could be combined |
3 |
org.openscience.cdk.formula.MassToFormulaTool | 495 | An empty statement (semicolon) not part of a loop |
3 |
org.openscience.cdk.formula.MassToFormulaTool | 495 | Avoid variables with short names like mf |
3 |
org.openscience.cdk.formula.MassToFormulaTool | 590-634 | The method 'getMatrix' has a Cyclomatic Complexity of 10. |
4 |
org.openscience.cdk.formula.rules.ChargeRule | 26 | Avoid unused imports such as 'java.io.IOException' |
4 |
org.openscience.cdk.formula.rules.ElementRule | 26 | Avoid unused imports such as 'java.io.IOException' |
4 |
org.openscience.cdk.formula.rules.IsotopePatternRule | 26 | Avoid unused imports such as 'java.io.IOException' |
3 |
org.openscience.cdk.formula.rules.IsotopePatternRule | 60-212 | The class 'IsotopePatternRule' has a Cyclomatic Complexity of 4 (Highest = 13). |
3 |
org.openscience.cdk.formula.rules.IsotopePatternRule | 147-210 | The method 'extractScore' has a Cyclomatic Complexity of 13. |
3 |
org.openscience.cdk.formula.rules.IsotopePatternRule | 147-210 | The method extractScore() has an NPath complexity of 336 |
3 |
org.openscience.cdk.formula.rules.IsotopePatternRule | 180-182 | These nested if statements could be combined |
4 |
org.openscience.cdk.formula.rules.MMElementRule | 26 | Avoid unused imports such as 'java.io.IOException' |
3 |
org.openscience.cdk.formula.rules.MMElementRule | 66-342 | The class 'MMElementRule' has a Cyclomatic Complexity of 3 (Highest = 21). |
3 |
org.openscience.cdk.formula.rules.MMElementRule | 121-151 | The method 'setParameters' has a Cyclomatic Complexity of 21. |
3 |
org.openscience.cdk.formula.rules.MMElementRule | 121-151 | The method setParameters() has an NPath complexity of 360 |
1 |
org.openscience.cdk.formula.rules.MMElementRule | 196 | Method names should not contain underscores |
1 |
org.openscience.cdk.formula.rules.MMElementRule | 218 | Method names should not contain underscores |
1 |
org.openscience.cdk.formula.rules.MMElementRule | 239 | Method names should not contain underscores |
1 |
org.openscience.cdk.formula.rules.MMElementRule | 260 | Method names should not contain underscores |
1 |
org.openscience.cdk.formula.rules.MMElementRule | 281 | Method names should not contain underscores |
1 |
org.openscience.cdk.formula.rules.MMElementRule | 304 | Method names should not contain underscores |
1 |
org.openscience.cdk.formula.rules.MMElementRule | 326 | Method names should not contain underscores |
3 |
org.openscience.cdk.formula.rules.NitrogenRule | 55-138 | The class 'NitrogenRule' has a Cyclomatic Complexity of 4 (Highest = 14). |
3 |
org.openscience.cdk.formula.rules.NitrogenRule | 99-124 | The method 'validate' has a Cyclomatic Complexity of 14. |
3 |
org.openscience.cdk.formula.rules.RDBERule | 63-379 | The class 'RDBERule' has a Cyclomatic Complexity of 4 (Highest = 11). |
3 |
org.openscience.cdk.formula.rules.RDBERule | 132-133 | These nested if statements could be combined |
3 |
org.openscience.cdk.formula.rules.RDBERule | 176-232 | The method 'getRDBEValue' has a Cyclomatic Complexity of 11. |
3 |
org.openscience.cdk.formula.rules.RDBERule | 180 | Avoid variables with short names like nE |
3 |
org.openscience.cdk.formula.rules.RDBERule | 181 | Avoid variables with short names like eV |
3 |
org.openscience.cdk.formula.rules.RDBERule | 182 | Avoid variables with short names like nV |
3 |
org.openscience.cdk.formula.rules.RDBERule | 219 | Avoid variables with short names like c |
3 |
org.openscience.cdk.formula.rules.RDBERule | 295 | Avoid variables with short names like m |
3 |
org.openscience.cdk.formula.rules.RDBERule | 295 | Avoid variables with short names like n |
3 |
org.openscience.cdk.formula.rules.RDBERule | 305 | Avoid variables with short names like m |
3 |
org.openscience.cdk.formula.rules.RDBERule | 340 | Avoid variables with short names like i |
3 |
org.openscience.cdk.formula.rules.RDBERule | 372 | Avoid variables with short names like s |
4 |
org.openscience.cdk.formula.rules.ToleranceRangeRule | 26 | Avoid unused imports such as 'java.io.IOException' |
4 |
org.openscience.cdk.tools.manipulator.MolecularFormulaManipulator | 37 | Avoid unused imports such as 'java.util.Iterator' |
3 |
org.openscience.cdk.tools.manipulator.MolecularFormulaManipulator | 50-730 | The class 'MolecularFormulaManipulator' has a Cyclomatic Complexity of 3 (Highest = 16). |
3 |
org.openscience.cdk.tools.manipulator.MolecularFormulaManipulator | 362-425 | The method 'getMolecularFormula' has a Cyclomatic Complexity of 16. |
3 |
org.openscience.cdk.tools.manipulator.MolecularFormulaManipulator | 362-425 | The method getMolecularFormula() has an NPath complexity of 506 |
2 |
org.openscience.cdk.tools.manipulator.MolecularFormulaManipulator | 368 | Avoid instantiating String objects; this is usually unnecessary. |
2 |
org.openscience.cdk.tools.manipulator.MolecularFormulaManipulator | 369 | Avoid instantiating String objects; this is usually unnecessary. |
1 |
org.openscience.cdk.tools.manipulator.MolecularFormulaManipulator | 417 | Avoid throwing raw exception types. |
1 |
org.openscience.cdk.tools.manipulator.MolecularFormulaManipulator | 456 | Avoid throwing raw exception types. |
1 |
org.openscience.cdk.tools.manipulator.MolecularFormulaManipulator | 478 | Avoid throwing raw exception types. |
3 |
org.openscience.cdk.tools.manipulator.MolecularFormulaManipulator | 517 | Avoid variables with short names like ac |
1 |
org.openscience.cdk.tools.manipulator.MolecularFormulaManipulator | 638 | Method names should not contain underscores |
1 |
org.openscience.cdk.tools.manipulator.MolecularFormulaManipulator | 658 | Method names should not contain underscores |
4 |
org.openscience.cdk.tools.manipulator.MolecularFormulaRangeManipulator | 30 | Avoid unused imports such as 'java.util.Iterator' |
3 |
org.openscience.cdk.tools.manipulator.MolecularFormulaRangeManipulator | 50-130 | The class 'MolecularFormulaRangeManipulator' has a Cyclomatic Complexity of 5 (Highest = 10). |
3 |
org.openscience.cdk.tools.manipulator.MolecularFormulaRangeManipulator | 60-93 | The method 'getRange' has a Cyclomatic Complexity of 10. |
3 |
org.openscience.cdk.tools.manipulator.MolecularFormulaSetManipulator | 54-249 | The class 'MolecularFormulaSetManipulator' has a Cyclomatic Complexity of 6 (Highest = 10). |
3 |
org.openscience.cdk.tools.manipulator.MolecularFormulaSetManipulator | 212-247 | The method 'remove' has a Cyclomatic Complexity of 10. |
Generated by PMD 4.2.2 on 2008-11-20 - 12:28:23.