Violation | Message | Line |
---|
 | Missing package-info.java file. | 0 |
 | Using the '.*' form of import should be avoided - java.io.*. | 22 |
 | Using the '.*' form of import should be avoided - java.util.*. | 23 |
 | Line has trailing spaces. | 26 |
 | Line has trailing spaces. | 27 |
 | Line has trailing spaces. | 29 |
 | Line has trailing spaces. | 30 |
 | Line has trailing spaces. | 37 |
 | Line has trailing spaces. | 38 |
 | Line has trailing spaces. | 40 |
 | Line has trailing spaces. | 62 |
 | Line has trailing spaces. | 63 |
 | Line is longer than 80 characters. | 89 |
 | Line is longer than 80 characters. | 90 |
 | Missing a Javadoc comment. | 107 |
 | Variable 'symbols' must be private and have accessor methods. | 107 |
 | Missing a Javadoc comment. | 109 |
 | Variable 'oldTextStrings' must be private and have accessor methods. | 109 |
 | Missing a Javadoc comment. | 110 |
 | Variable 'newTextStrings' must be private and have accessor methods. | 110 |
 | Missing a Javadoc comment. | 112 |
 | Variable 'errors' must be private and have accessor methods. | 112 |
 | Missing a Javadoc comment. | 113 |
 | Variable 'line' must be private and have accessor methods. | 113 |
 | Missing a Javadoc comment. | 114 |
 | Variable 'inName' must be private and have accessor methods. | 114 |
 | Missing a Javadoc comment. | 115 |
 | Variable 'in' must be private and have accessor methods. | 115 |
 | Missing a Javadoc comment. | 116 |
 | Variable 'out' must be private and have accessor methods. | 116 |
 | Missing a Javadoc comment. | 117 |
 | Variable 'stack' must be private and have accessor methods. | 117 |
 | Missing a Javadoc comment. | 118 |
 | Variable 'printing' must be private and have accessor methods. | 118 |
 | Missing a Javadoc comment. | 119 |
 | Variable 'source' must be private and have accessor methods. | 119 |
 | Missing a Javadoc comment. | 120 |
 | Variable 'block' must be private and have accessor methods. | 120 |
 | Missing a Javadoc comment. | 122 |
 | Variable 'commands' must be private and have accessor methods. | 122 |
 | '{' is followed by whitespace. | 122 |
 | Missing a Javadoc comment. | 123 |
 | Name 'IF' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 123 |
 | Variable 'IF' must be private and have accessor methods. | 123 |
 | Missing a Javadoc comment. | 124 |
 | Name 'IF_NOT' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 124 |
 | Variable 'IF_NOT' must be private and have accessor methods. | 124 |
 | Missing a Javadoc comment. | 125 |
 | Name 'ELSE' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 125 |
 | Variable 'ELSE' must be private and have accessor methods. | 125 |
 | Missing a Javadoc comment. | 126 |
 | Name 'END' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 126 |
 | Variable 'END' must be private and have accessor methods. | 126 |
 | Missing a Javadoc comment. | 127 |
 | Variable 'numCommands' must be private and have accessor methods. | 127 |
 | Missing a Javadoc comment. | 129 |
 | Name 'EOF' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 129 |
 | Variable 'EOF' must be private and have accessor methods. | 129 |
 | Missing a Javadoc comment. | 130 |
 | Name 'COMMENT' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 130 |
 | Variable 'COMMENT' must be private and have accessor methods. | 130 |
 | Missing a Javadoc comment. | 131 |
 | Name 'CODE' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 131 |
 | Variable 'CODE' must be private and have accessor methods. | 131 |
 | Method 'getCommand' is not designed for extension - needs to be abstract, final or empty. | 133 |
 | Missing a Javadoc comment. | 133 |
 | Parameter s should be final. | 133 |
 | Method 'error' is not designed for extension - needs to be abstract, final or empty. | 142 |
 | Missing a Javadoc comment. | 142 |
 | Parameter text should be final. | 142 |
 | Line contains a tab character. | 143 |
 | Line contains a tab character. | 144 |
 | Method 'printErrorCount' is not designed for extension - needs to be abstract, final or empty. | 147 |
 | Missing a Javadoc comment. | 147 |
 | Line contains a tab character. | 148 |
 | Line has trailing spaces. | 149 |
 | Line contains a tab character. | 149 |
 | '+' should be on a new line. | 149 |
 | Line contains a tab character. | 150 |
 | Avoid inline conditionals. | 150 |
 | Line contains a tab character. | 151 |
 | Method 'hasErrors' is not designed for extension - needs to be abstract, final or empty. | 154 |
 | Missing a Javadoc comment. | 154 |
 | Line contains a tab character. | 155 |
 | Missing a Javadoc comment. | 158 |
 | Parameter inName should be final. | 158 |
 | 'inName' hides a field. | 158 |
 | Parameter outName should be final. | 158 |
 | 'if' is not followed by whitespace. | 160 |
 | '(' is followed by whitespace. | 160 |
 | ')' is preceded with whitespace. | 160 |
 | '(' is followed by whitespace. | 161 |
 | ')' is preceded with whitespace. | 161 |
 | '(' is followed by whitespace. | 164 |
 | ')' is preceded with whitespace. | 164 |
 | 'if' is not followed by whitespace. | 172 |
 | '(' is followed by whitespace. | 172 |
 | ')' is preceded with whitespace. | 172 |
 | '(' is followed by whitespace. | 176 |
 | ')' is preceded with whitespace. | 176 |
 | Method 'close' is not designed for extension - needs to be abstract, final or empty. | 184 |
 | Missing a Javadoc comment. | 184 |
 | Line contains a tab character. | 185 |
 | Line contains a tab character. | 186 |
 | Line contains a tab character. | 187 |
 | Method 'cmd_if' is not designed for extension - needs to be abstract, final or empty. | 190 |
 | Missing a Javadoc comment. | 190 |
 | Name 'cmd_if' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 190 |
 | Parameter version should be final. | 190 |
 | Line contains a tab character. | 191 |
 | Line contains a tab character. | 192 |
 | Line contains a tab character. | 193 |
 | Method 'cmd_if_not' is not designed for extension - needs to be abstract, final or empty. | 196 |
 | Missing a Javadoc comment. | 196 |
 | Name 'cmd_if_not' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 196 |
 | Parameter version should be final. | 196 |
 | Line contains a tab character. | 197 |
 | Line contains a tab character. | 198 |
 | Line contains a tab character. | 199 |
 | Method 'cmd_else' is not designed for extension - needs to be abstract, final or empty. | 202 |
 | Missing a Javadoc comment. | 202 |
 | Name 'cmd_else' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 202 |
 | Method 'cmd_end' is not designed for extension - needs to be abstract, final or empty. | 206 |
 | Missing a Javadoc comment. | 206 |
 | Name 'cmd_end' must match pattern '^[a-z][a-zA-Z0-9]*$'. | 206 |
 | Redundant throws: 'EmptyStackException' is unchecked exception. | 206 |
 | Line contains a tab character. | 207 |
 | 'cast' is not followed by whitespace. | 207 |
 | Line contains a tab character. | 208 |
 | Method 'print' is not designed for extension - needs to be abstract, final or empty. | 211 |
 | Missing a Javadoc comment. | 211 |
 | Parameter s should be final. | 211 |
 | Method 'countLines' is not designed for extension - needs to be abstract, final or empty. | 224 |
 | Missing a Javadoc comment. | 224 |
 | Parameter s should be final. | 224 |
 | Method 'processComment' is not designed for extension - needs to be abstract, final or empty. | 237 |
 | Missing a Javadoc comment. | 237 |
 | Parameter comment should be final. | 237 |
 | Line has trailing spaces. | 302 |
 | Method 'nextBlock' is not designed for extension - needs to be abstract, final or empty. | 304 |
 | Missing a Javadoc comment. | 304 |
 | Missing a Javadoc comment. | 345 |
 | Parameter source should be final. | 345 |
 | Parameter fromIndex should be final. | 345 |
 | Line has trailing spaces. | 349 |
 | Missing a Javadoc comment. | 370 |
 | Parameter input should be final. | 370 |
 | Method 'substitute' is not designed for extension - needs to be abstract, final or empty. | 380 |
 | Missing a Javadoc comment. | 380 |
 | 'cast' is not followed by whitespace. | 382 |
 | 'cast' is not followed by whitespace. | 383 |
 | Line has trailing spaces. | 386 |
 | '+' should be on a new line. | 386 |
 | Method 'process' is not designed for extension - needs to be abstract, final or empty. | 392 |
 | Missing a Javadoc comment. | 392 |
 | '8192' is a magic number. | 395 |
 | '8192' is a magic number. | 397 |
 | Line contains a tab character. | 414 |
 | Line contains a tab character. | 416 |
 | Line contains a tab character. | 417 |
 | Line contains a tab character. | 418 |
 | Line contains a tab character. | 419 |
 | Line contains a tab character. | 426 |
 | '+' should be on a new line. | 426 |
 | '+' should be on a new line. | 427 |
 | Line has trailing spaces. | 428 |
 | '+' should be on a new line. | 428 |
 | Line contains a tab character. | 429 |
 | '+' should be on a new line. | 429 |
 | '+' should be on a new line. | 430 |
 | Line has trailing spaces. | 431 |
 | '+' should be on a new line. | 431 |
 | Line contains a tab character. | 432 |
 | Line contains a tab character. | 434 |
 | Missing a Javadoc comment. | 436 |
 | Parameter msg should be final. | 436 |
 | Parameter args should be final. | 444 |
 | Expected @param tag for 'args'. | 444 |
 | Line contains a tab character. | 446 |
 | Line contains a tab character. | 447 |
 | '(' is followed by whitespace. | 451 |
 | ')' is preceded with whitespace. | 451 |
 | 'catch' is not followed by whitespace. | 452 |
 | '(' is followed by whitespace. | 452 |
 | ')' is preceded with whitespace. | 452 |
 | Line has trailing spaces. | 455 |
 | Line contains a tab character. | 456 |
 | Line contains a tab character. | 457 |
 | Line contains a tab character. | 458 |
 | '}' should be on the same line. | 462 |
 | '}' should be on the same line. | 479 |
 | Line contains a tab character. | 486 |
 | Line contains a tab character. | 488 |
 | '-' is not preceded with whitespace. | 490 |
 | '-' is not followed by whitespace. | 490 |
 | '-' is not preceded with whitespace. | 490 |
 | '-' is not followed by whitespace. | 490 |
 | 'if' is not followed by whitespace. | 493 |
 | '(' is followed by whitespace. | 493 |
 | ')' is preceded with whitespace. | 493 |
 | '(' is followed by whitespace. | 494 |
 | '-' is not preceded with whitespace. | 494 |
 | '-' is not followed by whitespace. | 494 |
 | ')' is preceded with whitespace. | 494 |
 | 'if' is not followed by whitespace. | 495 |
 | '(' is followed by whitespace. | 495 |
 | ')' is preceded with whitespace. | 495 |
 | 'for' is not followed by whitespace. | 497 |
 | '<' is not preceded with whitespace. | 497 |
 | '<' is not followed by whitespace. | 497 |
 | '-' is not preceded with whitespace. | 497 |
 | '-' is not followed by whitespace. | 497 |
 | ')' is preceded with whitespace. | 497 |
 | '(' is followed by whitespace. | 499 |
 | ')' is preceded with whitespace. | 499 |
 | '(' is followed by whitespace. | 500 |
 | ')' is preceded with whitespace. | 500 |
 | 'if' is not followed by whitespace. | 503 |
 | '(' is followed by whitespace. | 503 |
 | ')' is preceded with whitespace. | 503 |
 | Line has trailing spaces. | 506 |
 | 'if' is not followed by whitespace. | 508 |
 | '(' is followed by whitespace. | 508 |
 | ')' is preceded with whitespace. | 508 |
 | Line has trailing spaces. | 510 |
 | 'if' is not followed by whitespace. | 511 |
 | '(' is followed by whitespace. | 511 |
 | ')' is preceded with whitespace. | 511 |
 | '-' is not preceded with whitespace. | 512 |
 | '-' is not followed by whitespace. | 512 |
 | Line has trailing spaces. | 513 |
 | 'for' is not followed by whitespace. | 518 |
 | '(' is followed by whitespace. | 518 |
 | '=' is not preceded with whitespace. | 518 |
 | '=' is not followed by whitespace. | 518 |
 | '<' is not preceded with whitespace. | 518 |
 | '<' is not followed by whitespace. | 518 |
 | ')' is preceded with whitespace. | 518 |
 | Line has trailing spaces. | 525 |
 | Utility classes should not have a public or default constructor. | 547 |
 | Line is longer than 80 characters. | 554 |
 | Expected an @return tag. | 558 |
 | Parameter args should be final. | 558 |
 | Expected @param tag for 'args'. | 558 |
 | Expected @throws tag for 'IOException'. | 559 |
 | '{' should be on the previous line. | 560 |
 | Missing a Javadoc comment. | 580 |
 | Parameter name should be final. | 580 |
 | Parameter args should be final. | 580 |
 | '{' should be on the previous line. | 582 |
 | '255' is a magic number. | 586 |