PMD Results
The following document contains the results of PMD 5.0.2.
Files
uk/ac/ebi/intenz/tools/sib/ApplicationResources.java
Violation | Line |
---|
Avoid unused imports such as 'java.io.FileInputStream' | 13 |
uk/ac/ebi/intenz/tools/sib/EnzymeFlatFileComparatorApp.java
Violation | Line |
---|
Avoid unused imports such as 'uk.ac.ebi.intenz.tools.sib.writer.EnzymeFlatFileWriter' | 4 |
Avoid unused imports such as 'java.util.PropertyResourceBundle' | 7 |
Avoid unused private methods such as 'argumentsOk(String)'. | 51 |
Avoid unused private methods such as 'printHelp()'. | 62 |
uk/ac/ebi/intenz/tools/sib/EnzymeFlatFileWriterApp.java
Violation | Line |
---|
Avoid unused private methods such as 'argumentsOk(String)'. | 174 |
Avoid unused private methods such as 'printHelp()'. | 196 |
uk/ac/ebi/intenz/tools/sib/comparator/FlatFileComparator.java
Violation | Line |
---|
Useless parentheses. | 186 |
Useless parentheses. | 193 |
Avoid empty if statements | 312 - 315 |
Useless parentheses. | 413 |
uk/ac/ebi/intenz/tools/sib/helper/EnzymeHelper.java
Violation | Line |
---|
Useless parentheses. | 113 |
uk/ac/ebi/intenz/tools/sib/helper/SibEntryHelper.java
Violation | Line |
---|
Avoid unused private methods such as 'getSynonymQualifier(EnzymeNameQualifierConstant)'. | 178 |
Avoid empty if statements | 206 - 208 |
Avoid empty catch blocks | 209 |
uk/ac/ebi/intenz/tools/sib/sptr_enzyme/EnzymeXrefFactory.java
Violation | Line |
---|
Avoid duplicate imports such as 'uk.ac.ebi.interfaces.sptr.Gene' | 23 |
Avoid duplicate imports such as 'uk.ac.ebi.interfaces.sptr.SPTREntry' | 24 |
Unnecessary use of fully qualified name 'uk.ac.ebi.interfaces.integr8.SPTREntry' due to existing import 'uk.ac.ebi.interfaces.integr8.*' | 382 |
Unnecessary use of fully qualified name 'uk.ac.ebi.interfaces.integr8.SPTREntry' due to existing import 'uk.ac.ebi.interfaces.integr8.*' | 386 |
Unnecessary use of fully qualified name 'uk.ac.ebi.interfaces.integr8.SPTREntry' due to existing import 'uk.ac.ebi.interfaces.integr8.*' | 390 |
Unnecessary use of fully qualified name 'uk.ac.ebi.interfaces.integr8.SPTREntry' due to existing import 'uk.ac.ebi.interfaces.integr8.*' | 390 |
Unnecessary use of fully qualified name 'uk.ac.ebi.interfaces.integr8.Gene' due to existing import 'uk.ac.ebi.interfaces.integr8.*' | 394 |
Unnecessary use of fully qualified name 'uk.ac.ebi.interfaces.integr8.Gene' due to existing import 'uk.ac.ebi.interfaces.integr8.*' | 398 |
Unnecessary use of fully qualified name 'uk.ac.ebi.interfaces.integr8.Gene' due to existing import 'uk.ac.ebi.interfaces.integr8.*' | 402 |
Unnecessary use of fully qualified name 'uk.ac.ebi.interfaces.integr8.Gene' due to existing import 'uk.ac.ebi.interfaces.integr8.*' | 402 |
uk/ac/ebi/intenz/tools/sib/writer/CC_LineFormatter.java
Violation | Line |
---|
Useless parentheses. | 68 |
Useless parentheses. | 250 |
Useless parentheses. | 253 |
uk/ac/ebi/intenz/tools/sib/writer/EnzymeFlatFileWriter.java
Violation | Line |
---|
Avoid empty catch blocks | 119 |
Avoid unused private methods such as 'sortLines(String)'. | 289 |
This usage of the Collection.toArray() method will throw a ClassCastException. | 292 |
uk/ac/ebi/intenz/tools/sib/writer/LineFormatter.java
Violation | Line |
---|
Avoid modifiers which are implied by the context | 34 |
uk/ac/ebi/intenz/tools/sib/writer/LineWrapperFactory.java
Violation | Line |
---|
Avoid unused private fields such as 'MIN_LENGTH_NUMBER'. | 78 |
Avoid unused local variables such as 'lastSpace'. | 138 |
These nested if statements could be combined | 153 - 161 |
Useless parentheses. | 153 - 159 |
These nested if statements could be combined | 168 - 169 |
Avoid unused local variables such as 'after'. | 237 |