PMD Results

The following document contains the results of PMD 5.0.2.

Files

uk/ac/ebi/intenz/domain/DomainObject.java

ViolationLine
Useless parentheses.51

uk/ac/ebi/intenz/domain/constants/EnzymeNameQualifierConstant.java

ViolationLine
Useless parentheses.74

uk/ac/ebi/intenz/domain/constants/EnzymeStatusConstant.java

ViolationLine
Useless parentheses.75

uk/ac/ebi/intenz/domain/constants/EventConstant.java

ViolationLine
Useless parentheses.75

uk/ac/ebi/intenz/domain/constants/XrefDatabaseConstant.java

ViolationLine
Useless parentheses.310

uk/ac/ebi/intenz/domain/enzyme/Cofactor.java

ViolationLine
Useless parentheses.131

uk/ac/ebi/intenz/domain/enzyme/Commented.java

ViolationLine
Avoid modifiers which are implied by the context8
Avoid modifiers which are implied by the context10

uk/ac/ebi/intenz/domain/enzyme/DataComment.java

ViolationLine
Avoid empty catch blocks32
Useless parentheses.38
Useless parentheses.39
Useless parentheses.58

uk/ac/ebi/intenz/domain/enzyme/EnzymeClass.java

ViolationLine
Useless parentheses.89

uk/ac/ebi/intenz/domain/enzyme/EnzymeComment.java

ViolationLine
Useless parentheses.67

uk/ac/ebi/intenz/domain/enzyme/EnzymeCommissionNumber.java

ViolationLine
These nested if statements could be combined169
These nested if statements could be combined172
These nested if statements could be combined214
These nested if statements could be combined217
These nested if statements could be combined220
These nested if statements could be combined223
Avoid empty if statements260 - 270

uk/ac/ebi/intenz/domain/enzyme/EnzymeEntry.java

ViolationLine
Useless parentheses.424

uk/ac/ebi/intenz/domain/enzyme/EnzymeLink.java

ViolationLine
Useless parentheses.323

uk/ac/ebi/intenz/domain/enzyme/EnzymeName.java

ViolationLine
Useless parentheses.129
Useless parentheses.162

uk/ac/ebi/intenz/domain/enzyme/EnzymeSubSubclass.java

ViolationLine
Useless parentheses.92

uk/ac/ebi/intenz/domain/enzyme/EnzymeSubclass.java

ViolationLine
Useless parentheses.84

uk/ac/ebi/intenz/domain/enzyme/Viewable.java

ViolationLine
Avoid modifiers which are implied by the context12

uk/ac/ebi/intenz/domain/history/HistoryGraph.java

ViolationLine
Avoid using a branching statement as the last in a loop.134
Avoid unused private methods such as 'isModifiedRootNode(HistoryEvent)'.185

uk/ac/ebi/intenz/domain/reference/Reference.java

ViolationLine
Useless parentheses.78