Checkstyle Results

The following document contains the results of Checkstyle.

Summary

FilesInfosWarningsErrors
700246

Files

FilesIWE
org/ninjasoft/barcodeprocessor/App.java 009
org/ninjasoft/barcodeprocessor/BarcodeData.java 0041
org/ninjasoft/barcodeprocessor/BarcodeImageProcessor.java 00195
org/ninjasoft/barcodeprocessor/package.html 001

org/ninjasoft/barcodeprocessor/App.java

ErrorLine
Error Missing a header - not enough lines in file. 1
Error Line has trailing spaces. 3
Error Missing a Javadoc comment. 3
Error Utility classes should not have a public or default constructor. 3
Error '{' should be on the previous line. 4
Error Missing a Javadoc comment. 5
Error '(' is followed by whitespace. 5
Error Parameter args should be final. 5
Error ')' is preceded with whitespace. 5

org/ninjasoft/barcodeprocessor/BarcodeData.java

ErrorLine
Error Missing a header - not enough lines in file. 1
Error Using the '.*' form of import should be avoided - java.util.*. 19
Error Line has trailing spaces. 24
Error Missing a Javadoc comment. 28
Error Line has trailing spaces. 29
Error Method 'addNarrowSpace' is not designed for extension - needs to be abstract, final or empty. 30
Error Missing a Javadoc comment. 30
Error Method 'addWideSpace' is not designed for extension - needs to be abstract, final or empty. 33
Error Missing a Javadoc comment. 33
Error Method 'addNarrowBar' is not designed for extension - needs to be abstract, final or empty. 36
Error Missing a Javadoc comment. 36
Error Method 'addWideBar' is not designed for extension - needs to be abstract, final or empty. 39
Error Missing a Javadoc comment. 39
Error Method 'addSpace' is not designed for extension - needs to be abstract, final or empty. 42
Error Missing a Javadoc comment. 42
Error Parameter size should be final. 42
Error Redundant throws: 'RuntimeException' is unchecked exception. 42
Error 'if' construct must use '{}'s. 44
Error '4' is a magic number. 44
Error 'if' construct must use '{}'s. 48
Error Method 'addBar' is not designed for extension - needs to be abstract, final or empty. 53
Error Missing a Javadoc comment. 53
Error Parameter size should be final. 53
Error Redundant throws: 'RuntimeException' is unchecked exception. 53
Error 'if' construct must use '{}'s. 55
Error '4' is a magic number. 55
Error 'if' construct must use '{}'s. 59
Error Method 'toString' is not designed for extension - needs to be abstract, final or empty. 64
Error Missing a Javadoc comment. 64
Error ';' is followed by whitespace. 66
Error Method 'toCompactString' is not designed for extension - needs to be abstract, final or empty. 72
Error Missing a Javadoc comment. 72
Error ';' is followed by whitespace. 74
Error 'if' construct must use '{}'s. 76
Error 'else' construct must use '{}'s. 78
Error '=' is not preceded with whitespace. 83
Error '=' is not followed by whitespace. 83
Error '<' is not preceded with whitespace. 83
Error '<' is not followed by whitespace. 83
Error Avoid inline conditionals. 84
Error Line has trailing spaces. 89

org/ninjasoft/barcodeprocessor/BarcodeImageProcessor.java

ErrorLine
Error Missing a header - not enough lines in file. 1
Error Using the '.*' form of import should be avoided - java.io.*. 19
Error Using the '.*' form of import should be avoided - java.awt.*. 20
Error Using the '.*' form of import should be avoided - java.awt.image.*. 21
Error Unused import - java.util.Hashtable. 22
Error Using the '.*' form of import should be avoided - javax.imageio.*. 23
Error Using the '.*' form of import should be avoided - javax.swing.*. 24
Error Missing a Javadoc comment. 33
Error Variable 'imageFilename' must be private and have accessor methods. 33
Error Missing a Javadoc comment. 34
Error Missing a Javadoc comment. 35
Error Missing a Javadoc comment. 36
Error Missing a Javadoc comment. 37
Error Missing a Javadoc comment. 38
Error Missing a Javadoc comment. 39
Error '0xff' is a magic number. 39
Error '0xff' is a magic number. 39
Error '0xff' is a magic number. 39
Error Missing a Javadoc comment. 40
Error Missing a Javadoc comment. 41
Error Line has trailing spaces. 42
Error Missing a Javadoc comment. 43
Error Inner assignments should be avoided. 44
Error Line has trailing spaces. 47
Error Method 'guessWidths' is not designed for extension - needs to be abstract, final or empty. 50
Error Missing a Javadoc comment. 50
Error '1024' is a magic number. 52
Error '3' is a magic number. 55
Error 'if' construct must use '{}'s. 57
Error 'if' construct must use '{}'s. 62
Error 'if' construct must use '{}'s. 64
Error 'else' construct must use '{}'s. 66
Error 'if' construct must use '{}'s. 68
Error Line is longer than 80 characters. 69
Error Line contains a tab character. 69
Error Avoid inline conditionals. 69
Error '=' is not preceded with whitespace. 71
Error '=' is not followed by whitespace. 71
Error '<' is not preceded with whitespace. 71
Error '<' is not followed by whitespace. 71
Error Line has trailing spaces. 75
Error Line is longer than 80 characters. 75
Error Line is longer than 80 characters. 76
Error 'if' construct must use '{}'s. 77
Error Line is longer than 80 characters. 78
Error 'if' construct must use '{}'s. 79
Error 'if' construct must use '{}'s. 81
Error 'else' construct must use '{}'s. 83
Error Line is longer than 80 characters. 85
Error Line is longer than 80 characters. 86
Error 'if' construct must use '{}'s. 91
Error Line is longer than 80 characters. 92
Error Line contains a tab character. 92
Error Avoid inline conditionals. 92
Error Line is longer than 80 characters. 99
Error Line is longer than 80 characters. 103
Error Avoid inline conditionals. 103
Error Line is longer than 80 characters. 104
Error Avoid inline conditionals. 104
Error Line has trailing spaces. 108
Error Method 'translate' is not designed for extension - needs to be abstract, final or empty. 111
Error Missing a Javadoc comment. 111
Error '3' is a magic number. 115
Error 'if' construct must use '{}'s. 117
Error 'if' construct must use '{}'s. 122
Error 'if' construct must use '{}'s. 124
Error 'else' construct must use '{}'s. 126
Error '=' is not preceded with whitespace. 129
Error '=' is not followed by whitespace. 129
Error '<' is not preceded with whitespace. 129
Error '<' is not followed by whitespace. 129
Error Line has trailing spaces. 133
Error Line is longer than 80 characters. 133
Error Line is longer than 80 characters. 134
Error 'if' construct must use '{}'s. 135
Error Line is longer than 80 characters. 136
Error 'if' construct must use '{}'s. 137
Error 'if' construct must use '{}'s. 139
Error 'else' construct must use '{}'s. 141
Error Line is longer than 80 characters. 143
Error 'if' construct must use '{}'s. 149
Error 'else' construct must use '{}'s. 151
Error 'if' construct must use '{}'s. 154
Error Line contains a tab character. 154
Error 'else' construct must use '{}'s. 156
Error Line is longer than 80 characters. 159
Error Avoid inline conditionals. 159
Error Line is longer than 80 characters. 165
Error 'if' construct must use '{}'s. 168
Error 'else' construct must use '{}'s. 170
Error 'if' construct must use '{}'s. 173
Error 'else' construct must use '{}'s. 175
Error Line is longer than 80 characters. 178
Error Avoid inline conditionals. 178
Error Missing a Javadoc comment. 183
Error Parameter pixel should be final. 183
Error Parameter x should be final. 183
Error Parameter y should be final. 183
Error Redundant throws: 'RuntimeException' is unchecked exception. 183
Error '+' should be on a new line. 184
Error '16' is a magic number. 185
Error '+' should be on a new line. 185
Error '16' is a magic number. 186
Error '+' should be on a new line. 186
Error '16' is a magic number. 187
Error '+' should be on a new line. 187
Error Line has trailing spaces. 190
Error First sentence should end with a period. 191
Error Parameter a should be final. 197
Error Parameter b should be final. 197
Error 'if' construct must use '{}'s. 198
Error '5' is a magic number. 199
Error '&&' should be on a new line. 199
Error '5' is a magic number. 200
Error '&&' should be on a new line. 200
Error '5' is a magic number. 201
Error 'else' construct must use '{}'s. 202
Error Line has trailing spaces. 205
Error Line has trailing spaces. 207
Error Line contains a tab character. 208
Error Method 'getImageFilename' is not designed for extension - needs to be abstract, final or empty. 208
Error Missing a Javadoc comment. 208
Error Line contains a tab character. 209
Error Line contains a tab character. 210
Error Line contains a tab character. 211
Error Method 'setImageFilename' is not designed for extension - needs to be abstract, final or empty. 211
Error Missing a Javadoc comment. 211
Error Parameter imageFilename should be final. 211
Error 'imageFilename' hides a field. 211
Error Line contains a tab character. 212
Error Line contains a tab character. 213
Error Line contains a tab character. 214
Error Method 'getNarrowElementPixels' is not designed for extension - needs to be abstract, final or empty. 214
Error Missing a Javadoc comment. 214
Error Line contains a tab character. 215
Error Line contains a tab character. 216
Error Line contains a tab character. 217
Error Method 'setNarrowElementPixels' is not designed for extension - needs to be abstract, final or empty. 217
Error Missing a Javadoc comment. 217
Error Parameter narrowElementPixels should be final. 217
Error 'narrowElementPixels' hides a field. 217
Error Line contains a tab character. 218
Error Line contains a tab character. 219
Error Line contains a tab character. 220
Error Method 'getWideElementPixels' is not designed for extension - needs to be abstract, final or empty. 220
Error Missing a Javadoc comment. 220
Error Line contains a tab character. 221
Error Line contains a tab character. 222
Error Line contains a tab character. 223
Error Method 'setWideElementPixels' is not designed for extension - needs to be abstract, final or empty. 223
Error Missing a Javadoc comment. 223
Error Parameter wideElementPixels should be final. 223
Error 'wideElementPixels' hides a field. 223
Error Line contains a tab character. 224
Error Line contains a tab character. 225
Error Method 'setBarColor' is not designed for extension - needs to be abstract, final or empty. 226
Error Missing a Javadoc comment. 226
Error Parameter red should be final. 226
Error Parameter green should be final. 226
Error Parameter blue should be final. 226
Error 'if' construct must use '{}'s. 227
Error Line is longer than 80 characters. 227
Error '255' is a magic number. 227
Error 'if' construct must use '{}'s. 228
Error Line is longer than 80 characters. 228
Error '255' is a magic number. 228
Error 'if' construct must use '{}'s. 229
Error Line is longer than 80 characters. 229
Error '255' is a magic number. 229
Error Method 'setSpaceColor' is not designed for extension - needs to be abstract, final or empty. 232
Error Missing a Javadoc comment. 232
Error Parameter red should be final. 232
Error Parameter green should be final. 232
Error Parameter blue should be final. 232
Error 'if' construct must use '{}'s. 233
Error Line is longer than 80 characters. 233
Error '255' is a magic number. 233
Error 'if' construct must use '{}'s. 234
Error Line is longer than 80 characters. 234
Error '255' is a magic number. 234
Error 'if' construct must use '{}'s. 235
Error Line is longer than 80 characters. 235
Error '255' is a magic number. 235
Error Method 'setUseFuzzyPixelMatching' is not designed for extension - needs to be abstract, final or empty. 238
Error Missing a Javadoc comment. 238
Error Parameter b should be final. 238
Error Method 'getUseFuzzyPixelMatching' is not designed for extension - needs to be abstract, final or empty. 241
Error Missing a Javadoc comment. 241
Error Line contains a tab character. 244
Error Method 'setDebug' is not designed for extension - needs to be abstract, final or empty. 244
Error Missing a Javadoc comment. 244
Error Parameter debug should be final. 244
Error 'debug' hides a field. 244
Error Line contains a tab character. 245
Error Line contains a tab character. 246

org/ninjasoft/barcodeprocessor/package.html

ErrorLine
Error Missing package documentation file.0