Checkstyle Results

The following document contains the results of Checkstylerss feed

Summary

FilesInfos InfosWarnings WarningsErrors Errors
1000413

Rules

RulesViolationsSeverity
JavadocPackage
  • allowLegacy: "true"
0Errors Error
NewlineAtEndOfFile0Errors Error
Translation0Errors Error
FileLength0Errors Error
FileTabCharacter
  • eachLine: "true"
27Errors Error
RegexpSingleline
  • message: "Line has trailing spaces."
  • format: "\s+$"
8Errors Error
JavadocMethod32Errors Error
JavadocType0Errors Error
JavadocVariable34Errors Error
JavadocStyle2Errors Error
ConstantName0Errors Error
LocalFinalVariableName0Errors Error
LocalVariableName2Errors Error
MemberName9Errors Error
MethodName0Errors Error
PackageName0Errors Error
ParameterName0Errors Error
StaticVariableName3Errors Error
TypeName0Errors Error
AvoidStarImport4Errors Error
IllegalImport0Errors Error
RedundantImport0Errors Error
UnusedImports4Errors Error
LineLength104Errors Error
MethodLength0Errors Error
ParameterNumber0Errors Error
EmptyForIteratorPad0Errors Error
MethodParamPad4Errors Error
NoWhitespaceAfter0Errors Error
NoWhitespaceBefore0Errors Error
OperatorWrap12Errors Error
ParenPad3Errors Error
TypecastParenPad0Errors Error
WhitespaceAfter12Errors Error
WhitespaceAround18Errors Error
ModifierOrder0Errors Error
RedundantModifier2Errors Error
AvoidNestedBlocks0Errors Error
EmptyBlock2Errors Error
LeftCurly0Errors Error
NeedBraces41Errors Error
RightCurly0Errors Error
AvoidInlineConditionals0Errors Error
EmptyStatement0Errors Error
EqualsHashCode0Errors Error
HiddenField4Errors Error
IllegalInstantiation0Errors Error
InnerAssignment0Errors Error
MagicNumber8Errors Error
MissingSwitchDefault2Errors Error
RedundantThrows0Errors Error
SimplifyBooleanExpression0Errors Error
SimplifyBooleanReturn0Errors Error
DesignForExtension3Errors Error
FinalClass7Errors Error
HideUtilityClassConstructor0Errors Error
InterfaceIsType0Errors Error
VisibilityModifier1Errors Error
ArrayTypeStyle0Errors Error
FinalParameters64Errors Error
TodoComment1Errors Error
UpperEll0Errors Error

Details

uk/ac/ebi/intenz/tools/sib/translator/SIBEnzymeLogger.java

ViolationMessageLine
ErrorsUnused import - java.util.Vector.5
ErrorsMissing a Javadoc comment.18
ErrorsMissing a Javadoc comment.20
ErrorsMissing a Javadoc comment.22
ErrorsMissing a Javadoc comment.24
ErrorsMissing a Javadoc comment.26
ErrorsParameter dir should be final.43
ErrorsExpected @param tag for 'dir'.43
ErrorsParameter ec should be final.43
ErrorsParameter dir should be final.66
ErrorsParameter type should be final.66
ErrorsParameter enzymeLogFormat should be final.66
Errors'enzymeLogFormat' hides a field.66
ErrorsExpected @param tag for 'enzymeLogFormat'.66
Errors'if' construct must use '{}'s.68
Errors'if' construct must use '{}'s.69
Errors'else' construct must use '{}'s.71
ErrorsMissing a Javadoc comment.75
ErrorsParameter type should be final.75
ErrorsParameter dir should be final.75
Errorsswitch without "default" clause.78
Errors'3' is a magic number.97
ErrorsMissing a Javadoc comment.109
ErrorsParameter type should be final.109
ErrorsParameter dir should be final.109
Errorsswitch without "default" clause.111
ErrorsLine is longer than 80 characters (found 93).115
ErrorsLine is longer than 80 characters (found 122).118
ErrorsLine is longer than 80 characters (found 90).123
ErrorsLine is longer than 80 characters (found 122).126
ErrorsLine is longer than 80 characters (found 93).131
ErrorsLine is longer than 80 characters (found 174).134
Errors'3' is a magic number.136
ErrorsLine is longer than 80 characters (found 90).139
ErrorsLine is longer than 80 characters (found 122).142
ErrorsMethod 'add' is not designed for extension - needs to be abstract, final or empty.171
ErrorsParameter before should be final.171
ErrorsParameter after should be final.171
ErrorsParameter ec should be final.171
Errors'if' construct must use '{}'s.180
Errors'if' construct must use '{}'s.182
ErrorsLine is longer than 80 characters (found 88).186
Errors'if' construct must use '{}'s.190
Errors'4' is a magic number.190
Errors'if' construct must use '{}'s.191
Errors'4' is a magic number.191
ErrorsLine is longer than 80 characters (found 82).201
ErrorsLine is longer than 80 characters (found 256).205
Errors'+' should be on a new line.205
ErrorsLine is longer than 80 characters (found 164).206
Errors'+' should be on a new line.206
Errors'+' should be on a new line.207
ErrorsLine is longer than 80 characters (found 177).208
ErrorsLine is longer than 80 characters (found 89).211
Errors'if' construct must use '{}'s.214
Errors'4' is a magic number.214
ErrorsLine is longer than 80 characters (found 256).227
Errors'+' should be on a new line.227
ErrorsLine is longer than 80 characters (found 131).228
Errors'+' should be on a new line.228
ErrorsLine is longer than 80 characters (found 177).229
ErrorsLine is longer than 80 characters (found 89).232
Errors'if' construct must use '{}'s.235
Errors'4' is a magic number.235
ErrorsLine is longer than 80 characters (found 82).244
ErrorsLine is longer than 80 characters (found 256).248
Errors'+' should be on a new line.248
ErrorsLine is longer than 80 characters (found 164).249
Errors'+' should be on a new line.249
Errors'+' should be on a new line.250
ErrorsLine is longer than 80 characters (found 100).251
ErrorsLine is longer than 80 characters (found 90).254
ErrorsLine is longer than 80 characters (found 256).267
Errors'+' should be on a new line.267
ErrorsLine is longer than 80 characters (found 131).268
Errors'+' should be on a new line.268
ErrorsLine is longer than 80 characters (found 100).269
ErrorsMissing a Javadoc comment.277
ErrorsParameter text should be final.277
ErrorsMethod 'addOtherNameLog' is not designed for extension - needs to be abstract, final or empty.281
ErrorsMissing a Javadoc comment.281
ErrorsParameter nameNotMatching should be final.281
ErrorsParameter set should be final.281
ErrorsParameter ec should be final.281
ErrorsMust have at least one statement.287
Errors'else' construct must use '{}'s.289
ErrorsLine is longer than 80 characters (found 212).290
Errors'+' should be on a new line.290
ErrorsLine is longer than 80 characters (found 106).334
ErrorsLine is longer than 80 characters (found 81).345
ErrorsMethod 'close' is not designed for extension - needs to be abstract, final or empty.361
Errors'if' construct must use '{}'s.363
Errors'if' is not followed by whitespace.363
ErrorsMissing a Javadoc comment.370
ErrorsParameter text should be final.370
ErrorsMissing a Javadoc comment.382
ErrorsParameter before should be final.382
ErrorsParameter after should be final.382
ErrorsLine contains a tab character.384
ErrorsLine is longer than 80 characters (found 92).385
ErrorsLine contains a tab character.385
ErrorsLine contains a tab character.386
ErrorsLine is longer than 80 characters (found 89).387
ErrorsLine contains a tab character.387
Errors'if' construct must use '{}'s.393
Errors'else' construct must use '{}'s.395
Errors'if' construct must use '{}'s.397
Errors'else' construct must use '{}'s.399
Errors'if' construct must use '{}'s.401

uk/ac/ebi/intenz/tools/sib/translator/XCharsASCIITranslator.java

ViolationMessageLine
ErrorsUsing the '.*' form of import should be avoided - uk.ac.ebi.intenz.tools.sib.translator.rules.*.3
ErrorsUnused import - java.util.PropertyResourceBundle.8
ErrorsUnused import - java.io.FileInputStream.9
ErrorsUnused import - java.io.IOException.10
ErrorsLine is longer than 80 characters (found 101).15
ErrorsLine is longer than 80 characters (found 142).17
ErrorsClass XCharsASCIITranslator should be declared as final.22
ErrorsLine is longer than 80 characters (found 86).24
ErrorsMissing a Javadoc comment.24
ErrorsLine is longer than 80 characters (found 84).35
ErrorsLine is longer than 80 characters (found 88).68
ErrorsUnused @throws tag for 'NullPointerException'.70
ErrorsParameter text should be final.72
ErrorsParameter useReactionRules should be final.72
Errors'if' construct must use '{}'s.73
ErrorsLine is longer than 80 characters (found 91).73
Errors'if' construct must use '{}'s.75
Errors'if' construct must use '{}'s.78
Errors'if' is not followed by whitespace.78
Errors'(' is followed by whitespace.78
Errors')' is preceded with whitespace.78
ErrorsLine is longer than 80 characters (found 100).85
ErrorsLine is longer than 80 characters (found 88).88
ErrorsUnused @throws tag for 'NullPointerException'.90
ErrorsParameter texts should be final.92
ErrorsParameter useReactionRules should be final.92
Errors'if' construct must use '{}'s.93
ErrorsLine is longer than 80 characters (found 93).93
ErrorsLine is longer than 80 characters (found 90).96
ErrorsLine is longer than 80 characters (found 91).104
ErrorsLine is longer than 80 characters (found 120).106
ErrorsUnused @throws tag for 'NullPointerException'.108
ErrorsParameter text should be final.110
ErrorsParameter useReactionRules should be final.110
Errors'if' construct must use '{}'s.111
ErrorsLine is longer than 80 characters (found 91).111
Errors'if' construct must use '{}'s.119
Errors'if' construct must use '{}'s.121
ErrorsLine is longer than 80 characters (found 120).133
ErrorsUnused @throws tag for 'NullPointerException'.135
ErrorsParameter text should be final.137
ErrorsParameter useReactionRules should be final.137
ErrorsLine contains a tab character.138
ErrorsParameter useDeLineRules should be final.138
ErrorsExpected @param tag for 'useDeLineRules'.138
ErrorsLine contains a tab character.142
ErrorsLine contains a tab character.143
ErrorsLine contains a tab character.144
ErrorsLine contains a tab character.145
ErrorsLine contains a tab character.146
ErrorsLine contains a tab character.147
ErrorsLine contains a tab character.148
ErrorsLine contains a tab character.149
ErrorsExpected an @return tag.150
ErrorsLine contains a tab character.150
ErrorsParameter text should be final.150
ErrorsParameter useReactionRules should be final.150
ErrorsLine contains a tab character.151
ErrorsParameter useDeLineRules should be final.151
ErrorsParameter useGrammarRules should be final.151
ErrorsLine contains a tab character.152
ErrorsLine contains a tab character.153
Errors'if' construct must use '{}'s.154
ErrorsLine is longer than 80 characters (found 84).154
ErrorsLine contains a tab character.154
ErrorsLine contains a tab character.155
Errors'if' construct must use '{}'s.156
ErrorsLine is longer than 80 characters (found 89).156
ErrorsLine contains a tab character.156
ErrorsLine contains a tab character.157
Errors'if' construct must use '{}'s.158
ErrorsLine is longer than 80 characters (found 82).158
ErrorsLine contains a tab character.158
ErrorsLine contains a tab character.159
ErrorsLine contains a tab character.160
ErrorsLine contains a tab character.161
ErrorsLine contains a tab character.162
ErrorsLine contains a tab character.163
ErrorsExpected an @return tag.169
Errors'(' is preceded with whitespace.169

uk/ac/ebi/intenz/tools/sib/translator/rules/DescriptionLineRules.java

ViolationMessageLine
ErrorsUsing the '.*' form of import should be avoided - java.util.*.10
ErrorsClass DescriptionLineRules should be declared as final.29
ErrorsMissing a Javadoc comment.31
ErrorsLine is longer than 80 characters (found 82).33
ErrorsMissing a Javadoc comment.33
ErrorsMissing a Javadoc comment.35
Errors'try' is not followed by whitespace.45
Errors'{' is not preceded with whitespace.45
ErrorsLine is longer than 80 characters (found 99).46
Errors'if' construct must use '{}'s.58
Errors'!=' is not preceded with whitespace.58
Errors'!=' is not followed by whitespace.58
ErrorsFirst sentence should end with a period.77
ErrorsUnused @throws tag for 'NullPointerException'.82
ErrorsParameter text should be final.84
Errors'if' construct must use '{}'s.85
ErrorsLine is longer than 80 characters (found 92).85
ErrorsUnused @throws tag for 'NullPointerException'.94
ErrorsParameter text should be final.96
Errors'if' construct must use '{}'s.97
ErrorsLine is longer than 80 characters (found 91).97
ErrorsParameter text should be final.109
ErrorsParameter rules should be final.109

uk/ac/ebi/intenz/tools/sib/translator/rules/GrammarRules.java

ViolationMessageLine
ErrorsFirst sentence should end with a period.19
ErrorsLine is longer than 80 characters (found 82).28
ErrorsClass GrammarRules should be declared as final.31
ErrorsMissing a Javadoc comment.33
ErrorsMissing a Javadoc comment.35
ErrorsName 'INSTANCE' must match pattern '^[a-z][a-zA-Z0-9]*$'.35
ErrorsMissing a Javadoc comment.37
ErrorsName 'CAPITILISATION_RULES_REVERSED' must match pattern '^[a-z][a-zA-Z0-9]*$'.37
ErrorsMissing a Javadoc comment.63
ErrorsName 'CAPITILISATION_EXCLUSIONS' must match pattern '^[a-z][a-zA-Z0-9]*$'.63
ErrorsMissing a Javadoc comment.106
ErrorsName 'SNEAKY_CAPIT_PATTERNS' must match pattern '^[a-z][a-zA-Z0-9]*$'.106
ErrorsLine is longer than 80 characters (found 83).111
ErrorsMissing a Javadoc comment.111
ErrorsName 'SNEAKY_CAPIT_PATTERN' must match pattern '^[a-z][a-zA-Z0-9]*$'.111
ErrorsMissing a Javadoc comment.113
ErrorsName 'DECAPITALIZATION_PATTERNS' must match pattern '^[a-z][a-zA-Z0-9]*$'.113
ErrorsMissing a Javadoc comment.115
Errors'(' is preceded with whitespace.115
ErrorsLine is longer than 80 characters (found 115).116
Errors'{' is not preceded with whitespace.121
Errors'{' is not preceded with whitespace.131
ErrorsMust have at least one statement.131
Errors'{' is not followed by whitespace.131
Errors'}' is not preceded with whitespace.131
ErrorsMissing a Javadoc comment.147
Errors'(' is preceded with whitespace.147
ErrorsParameter text should be final.147
ErrorsMissing a Javadoc comment.151
ErrorsParameter text should be final.151
Errors'if' construct must use '{}'s.152
ErrorsLine is longer than 80 characters (found 81).153
Errors'if' construct must use '{}'s.154
Errors'if' construct must use '{}'s.166
ErrorsMissing a Javadoc comment.173
Errors'(' is preceded with whitespace.173
ErrorsParameter text should be final.173
Errors'{' is not preceded with whitespace.174
Errors'{' is not preceded with whitespace.176
ErrorsLine is longer than 80 characters (found 110).177
Errors'3' is a magic number.177
Errors',' is not followed by whitespace.180
ErrorsMissing a Javadoc comment.185
ErrorsParameter text should be final.185
Errors'{' is not preceded with whitespace.186
ErrorsLine is longer than 80 characters (found 83).188
Errors'{' is not preceded with whitespace.190
ErrorsLine is longer than 80 characters (found 114).191
Errors'3' is a magic number.191
ErrorsParameter text should be final.205
ErrorsParameter rules should be final.205

uk/ac/ebi/intenz/tools/sib/translator/rules/OrderedRules.java

ViolationMessageLine
ErrorsLine is longer than 80 characters (found 85).9
ErrorsLine is longer than 80 characters (found 111).11
ErrorsClass OrderedRules should be declared as final.19
ErrorsMissing a Javadoc comment.21
ErrorsMissing a Javadoc comment.23
ErrorsName 'INSTANCE' must match pattern '^[a-z][a-zA-Z0-9]*$'.23
ErrorsMissing a Javadoc comment.25
ErrorsName 'RULES' must match pattern '^[a-z][a-zA-Z0-9]*$'.25
ErrorsLine is longer than 80 characters (found 88).28
ErrorsLine is longer than 80 characters (found 103).29
ErrorsLine is longer than 80 characters (found 87).30
ErrorsLine is longer than 80 characters (found 83).41
ErrorsLine is longer than 80 characters (found 84).48
Errors',' is not followed by whitespace.112
ErrorsMissing a Javadoc comment.115
ErrorsName 'RULES_REVERSED' must match pattern '^[a-z][a-zA-Z0-9]*$'.115
ErrorsLine is longer than 80 characters (found 137).117
ErrorsLine is longer than 80 characters (found 84).119
Errors'+' should be on a new line.119
ErrorsLine is longer than 80 characters (found 88).122
ErrorsLine is longer than 80 characters (found 99).131
ErrorsLine is longer than 80 characters (found 83).134
Errors',' is not followed by whitespace.141
Errors',' is not followed by whitespace.142
ErrorsComment matches to-do format 'TODO:'.143
ErrorsLine is longer than 80 characters (found 395).144
Errors',' is not followed by whitespace.144
ErrorsLine is longer than 80 characters (found 91).145
Errors',' is not followed by whitespace.145
Errors',' is not followed by whitespace.146
ErrorsLine is longer than 80 characters (found 140).150
ErrorsMissing a Javadoc comment.150
ErrorsName 'STEREO_TERMS' must match pattern '^[a-z][a-zA-Z0-9]*$'.150
ErrorsLine is longer than 80 characters (found 113).151
ErrorsUnused @throws tag for 'NullPointerException'.176
ErrorsParameter text should be final.178
Errors'if' construct must use '{}'s.179
ErrorsLine is longer than 80 characters (found 91).179
ErrorsUnused @throws tag for 'NullPointerException'.191
ErrorsParameter text should be final.193
Errors'if' construct must use '{}'s.194
ErrorsLine is longer than 80 characters (found 91).194
ErrorsParameter text should be final.208
ErrorsParameter rules should be final.208
ErrorsLine is longer than 80 characters (found 118).217
ErrorsParameter text should be final.223
ErrorsLine is longer than 80 characters (found 84).224
ErrorsName 'RSZEPattern' must match pattern '^[a-z][a-zA-Z0-9]*$'.234
ErrorsName 'RSZEMatcher' must match pattern '^[a-z][a-zA-Z0-9]*$'.235
Errors'if' construct must use '{}'s.241
ErrorsLine is longer than 80 characters (found 83).246
ErrorsParameter text should be final.251
ErrorsParameter text should be final.261
ErrorsLine is longer than 80 characters (found 89).265
ErrorsParameter text should be final.276
ErrorsLine is longer than 80 characters (found 117).279
ErrorsLine is longer than 80 characters (found 100).280

uk/ac/ebi/intenz/tools/sib/translator/rules/ReactionRules.java

ViolationMessageLine
ErrorsUsing the '.*' form of import should be avoided - java.util.*.8
ErrorsLine is longer than 80 characters (found 85).11
ErrorsLine is longer than 80 characters (found 111).13
ErrorsClass ReactionRules should be declared as final.21
ErrorsMissing a Javadoc comment.23
ErrorsMissing a Javadoc comment.25
ErrorsMissing a Javadoc comment.27
ErrorsMissing a Javadoc comment.29
ErrorsLine has trailing spaces.33
ErrorsLine is longer than 80 characters (found 111).35
ErrorsLine is longer than 80 characters (found 105).53
ErrorsLine has trailing spaces.74
ErrorsLine has trailing spaces.76
ErrorsLine has trailing spaces.78
ErrorsLine has trailing spaces.85
ErrorsUnused @throws tag for 'NullPointerException'.88
ErrorsLine has trailing spaces.89
ErrorsParameter text should be final.90
Errors'if' construct must use '{}'s.91
ErrorsLine is longer than 80 characters (found 91).91
ErrorsLine has trailing spaces.98
ErrorsUnused @throws tag for 'NullPointerException'.101
ErrorsParameter text should be final.103
Errors'if' construct must use '{}'s.104
ErrorsLine is longer than 80 characters (found 91).104
ErrorsParameter text should be final.116
ErrorsParameter rules should be final.116
Errors'rules' hides a field.116

uk/ac/ebi/intenz/tools/sib/translator/rules/RuleGroup.java

ViolationMessageLine
ErrorsLine is longer than 80 characters (found 94).4
ErrorsLine is longer than 80 characters (found 99).13
ErrorsRedundant 'public' modifier.18
ErrorsLine is longer than 80 characters (found 114).21
ErrorsRedundant 'public' modifier.26

uk/ac/ebi/intenz/tools/sib/translator/rules/TagRules.java

ViolationMessageLine
ErrorsLine is longer than 80 characters (found 85).9
ErrorsLine is longer than 80 characters (found 111).11
ErrorsClass TagRules should be declared as final.17
ErrorsMissing a Javadoc comment.19
ErrorsMissing a Javadoc comment.21
ErrorsName 'INSTANCE' must match pattern '^[a-z][a-zA-Z0-9]*$'.21
ErrorsMissing a Javadoc comment.22
ErrorsVariable 'encoding' must be private and have accessor methods.22
ErrorsMissing a Javadoc comment.24
ErrorsName 'RULES' must match pattern '^[a-z][a-zA-Z0-9]*$'.24
Errors',' is not followed by whitespace.27
Errors',' is not followed by whitespace.28
Errors',' is not followed by whitespace.29
Errors',' is not followed by whitespace.30
Errors',' is not followed by whitespace.31
ErrorsParameter encoding should be final.37
Errors'encoding' hides a field.37
ErrorsExpected @param tag for 'encoding'.37
ErrorsParameter encoding should be final.49
ErrorsExpected @param tag for 'encoding'.49
Errors'if' is not followed by whitespace.50
Errors'(' is followed by whitespace.50
Errors'{' is not preceded with whitespace.50
Errors'{' is not preceded with whitespace.51
Errors'if' construct must use '{}'s.52
Errors'if' is not followed by whitespace.52
ErrorsUnused @throws tag for 'NullPointerException'.64
ErrorsParameter text should be final.66
Errors'if' construct must use '{}'s.67
ErrorsLine is longer than 80 characters (found 91).67
ErrorsUnused @throws tag for 'NullPointerException'.76
ErrorsParameter text should be final.78
ErrorsLine is longer than 80 characters (found 93).79
ErrorsParameter text should be final.90
ErrorsParameter rules should be final.90
ErrorsLine has trailing spaces.96

uk/ac/ebi/intenz/tools/sib/translator/rules/UnorderedRules.java

ViolationMessageLine
ErrorsUsing the '.*' form of import should be avoided - java.util.*.8
ErrorsLine is longer than 80 characters (found 85).11
ErrorsLine is longer than 80 characters (found 111).13
ErrorsClass UnorderedRules should be declared as final.19
ErrorsMissing a Javadoc comment.21
ErrorsMissing a Javadoc comment.23
ErrorsMissing a Javadoc comment.25
ErrorsMissing a Javadoc comment.27
ErrorsMissing a Javadoc comment.29
ErrorsLine is longer than 80 characters (found 112).35
ErrorsLine is longer than 80 characters (found 106).54
ErrorsLine is longer than 80 characters (found 101).63
ErrorsUnused @throws tag for 'NullPointerException'.99
ErrorsParameter text should be final.101
Errors'if' construct must use '{}'s.102
ErrorsLine is longer than 80 characters (found 91).102
ErrorsLine is longer than 80 characters (found 90).110
ErrorsUnused @throws tag for 'NullPointerException'.115
ErrorsParameter text should be final.117
Errors'if' construct must use '{}'s.118
ErrorsLine is longer than 80 characters (found 91).118
ErrorsParameter text should be final.132
ErrorsParameter rules should be final.132
Errors'rules' hides a field.132