The following document contains the results of PMD 4.3.
Violation | Line |
---|---|
Avoid empty if statements | 108 - 110 |
Avoid empty if statements | 125 - 128 |
Avoid empty if statements | 285 - 289 |
Avoid empty if statements | 290 - 293 |
Violation | Line |
---|---|
These nested if statements could be combined | 285 - 288 |
Avoid empty if statements | 301 - 303 |
Violation | Line |
---|---|
No need to import a type that lives in the same package | 4 |
Violation | Line |
---|---|
No need to import a type that lives in the same package | 3 |
Violation | Line |
---|---|
Avoid empty if statements | 110 - 113 |
Avoid empty if statements | 168 - 171 |
Violation | Line |
---|---|
Avoid empty if statements | 65 - 67 |
Avoid empty if statements | 87 - 89 |
Avoid empty if statements | 113 - 115 |
Avoid empty if statements | 131 - 134 |
Violation | Line |
---|---|
Avoid unused imports such as 'org.catacomb.report.E' | 12 |
Violation | Line |
---|---|
Avoid using java.lang.ThreadGroup; it is not thread safe | 29 |
Avoid using java.lang.ThreadGroup; it is not thread safe | 55 |
Violation | Line |
---|---|
Avoid unused constructor parameters such as 'c'. | 22 - 24 |
Violation | Line |
---|---|
These nested if statements could be combined | 269 - 274 |
Violation | Line |
---|---|
Avoid unused imports such as 'org.catacomb.report.E' | 7 |
Violation | Line |
---|---|
No need to import a type that lives in the same package | 5 |
Violation | Line |
---|---|
Avoid unused method parameters such as 'ctx'. | 131 - 176 |
Avoid empty if statements | 159 - 161 |
Avoid empty if statements | 167 - 169 |
Violation | Line |
---|---|
Avoid unused constructor parameters such as 's'. | 13 - 15 |
Violation | Line |
---|---|
Avoid empty if statements | 76 - 78 |
Avoid empty if statements | 82 - 85 |
Violation | Line |
---|---|
Avoid unused imports such as 'org.catacomb.druid.dialog.Dialoguer' | 4 |
Avoid unused private methods such as 'checkNbuf()'. | 60 |
Violation | Line |
---|---|
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. | 52 |
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. | 78 |
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. | 81 |
Avoid empty if statements | 124 - 126 |
Violation | Line |
---|---|
Avoid unused constructor parameters such as 'bsName'. | 29 - 33 |
Violation | Line |
---|---|
Avoid unused constructor parameters such as 's'. | 16 - 18 |
Violation | Line |
---|---|
Avoid empty if statements | 27 - 29 |
Avoid empty if statements | 39 - 41 |
Violation | Line |
---|---|
Avoid unused constructor parameters such as 's'. | 36 - 38 |
Violation | Line |
---|---|
Avoid empty if statements | 112 - 114 |
Violation | Line |
---|---|
Avoid empty if statements | 91 - 93 |
These nested if statements could be combined | 113 - 115 |
Violation | Line |
---|---|
Avoid unused constructor parameters such as 'h'. | 36 - 68 |
Violation | Line |
---|---|
Avoid unused constructor parameters such as 'lab'. | 23 - 35 |
Violation | Line |
---|---|
Avoid duplicate imports such as 'org.catacomb.interlish.structure.Factory' | 6 |
Avoid empty if statements | 103 - 105 |
Avoid empty if statements | 219 - 221 |
Avoid empty if statements | 226 - 228 |
Violation | Line |
---|---|
Avoid empty if statements | 22 - 24 |
Avoid empty if statements | 29 - 31 |
Violation | Line |
---|---|
Avoid empty if statements | 158 - 160 |
Do not use if statements that are always true or always false | 158 |
Violation | Line |
---|---|
Avoid empty if statements | 107 - 111 |
Avoid unused method parameters such as 'boardID'. | 197 - 206 |
Avoid unused method parameters such as 's'. | 197 - 206 |
Avoid unused method parameters such as 'hm'. | 197 - 206 |
Violation | Line |
---|---|
Avoid unused constructor parameters such as 'renderer'. | 34 - 65 |
Avoid empty if statements | 91 - 93 |
Violation | Line |
---|---|
Avoid unused constructor parameters such as 'action'. | 33 - 44 |
Violation | Line |
---|---|
Avoid empty if statements | 84 - 86 |
Avoid empty if statements | 87 - 89 |
Violation | Line |
---|---|
Avoid empty if statements | 150 - 154 |
Avoid empty if statements | 190 - 192 |
Avoid empty if statements | 209 - 212 |
Avoid empty if statements | 220 - 222 |
Violation | Line |
---|---|
Overriding method merely calls super | 100 - 102 |
Avoid unused method parameters such as 'e'. | 191 - 203 |
Violation | Line |
---|---|
Avoid empty catch blocks | 187 - 189 |
Avoid empty if statements | 213 - 215 |
Avoid empty if statements | 215 - 217 |
Violation | Line |
---|---|
Avoid empty if statements | 102 - 104 |
Avoid empty if statements | 104 - 106 |
Violation | Line |
---|---|
Avoid unused constructor parameters such as 's'. | 48 - 58 |
Violation | Line |
---|---|
Avoid unused constructor parameters such as 'label'. | 17 - 20 |
Violation | Line |
---|---|
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. | 63 |
Avoid empty if statements | 94 - 96 |
Violation | Line |
---|---|
Avoid empty if statements | 196 - 198 |
These nested if statements could be combined | 214 - 216 |
Avoid using java.lang.ThreadGroup; it is not thread safe | 243 |
Violation | Line |
---|---|
Avoid empty if statements | 57 - 59 |
Avoid empty if statements | 129 - 131 |
Avoid empty if statements | 203 - 205 |
Violation | Line |
---|---|
Avoid empty if statements | 61 - 63 |
Do not use if statements that are always true or always false | 61 |
Violation | Line |
---|---|
Avoid unused constructor parameters such as 's'. | 16 - 30 |
Violation | Line |
---|---|
Avoid unused constructor parameters such as 'string'. | 30 - 36 |
Avoid unused constructor parameters such as 'object'. | 30 - 36 |
Violation | Line |
---|---|
Avoid empty if statements | 57 - 59 |
Do not use if statements that are always true or always false | 57 |
Violation | Line |
---|---|
Avoid empty if statements | 87 - 89 |
Avoid empty if statements | 138 - 140 |
Avoid empty if statements | 161 - 163 |
Violation | Line |
---|---|
Avoid empty if statements | 43 - 45 |
Do not use if statements that are always true or always false | 43 |
Violation | Line |
---|---|
Overriding method merely calls super | 47 - 49 |
Overriding method merely calls super | 52 - 54 |
Violation | Line |
---|---|
Avoid empty if statements | 64 - 66 |
Avoid empty if statements | 108 - 110 |
Violation | Line |
---|---|
These nested if statements could be combined | 21 - 23 |
Violation | Line |
---|---|
Avoid empty if statements | 111 - 113 |
Avoid empty if statements | 117 - 119 |
Violation | Line |
---|---|
Avoid empty if statements | 102 - 104 |
Avoid empty if statements | 122 - 124 |
Avoid empty if statements | 159 - 161 |
Violation | Line |
---|---|
Avoid empty if statements | 167 - 169 |
Avoid empty if statements | 176 - 178 |
Violation | Line |
---|---|
Avoid unused constructor parameters such as 'txt'. | 12 - 14 |
Violation | Line |
---|---|
Avoid empty if statements | 255 - 257 |
Avoid empty if statements | 276 - 279 |
Violation | Line |
---|---|
These nested if statements could be combined | 231 - 235 |
These nested if statements could be combined | 246 - 257 |
Violation | Line |
---|---|
Avoid empty if statements | 164 - 166 |
Avoid empty if statements | 178 - 181 |
Violation | Line |
---|---|
Avoid empty if statements | 470 - 472 |
Avoid empty if statements | 472 - 474 |
Avoid empty if statements | 515 - 519 |
Violation | Line |
---|---|
Avoid empty if statements | 175 - 177 |
Avoid empty if statements | 183 - 185 |
Violation | Line |
---|---|
These nested if statements could be combined | 170 - 179 |
Avoid empty if statements | 221 - 223 |
Avoid empty if statements | 243 - 246 |
Avoid empty if statements | 267 - 269 |
Avoid empty if statements | 286 - 288 |
Violation | Line |
---|---|
Unnecessary final modifier in final class | 121 - 123 |
Unnecessary final modifier in final class | 210 - 212 |
Avoid empty if statements | 821 - 823 |
Unnecessary final modifier in final class | 913 - 923 |
Unnecessary final modifier in final class | 927 - 958 |
Unnecessary final modifier in final class | 1122 - 1124 |
Unnecessary final modifier in final class | 1127 - 1131 |
Unnecessary final modifier in final class | 1133 - 1137 |
Unnecessary final modifier in final class | 1139 - 1143 |
Unnecessary final modifier in final class | 1146 - 1152 |
Unnecessary final modifier in final class | 1162 - 1169 |
Unnecessary final modifier in final class | 1173 - 1188 |
Unnecessary final modifier in final class | 1192 - 1204 |
Unnecessary final modifier in final class | 1209 - 1225 |
Unnecessary final modifier in final class | 1228 - 1231 |
Unnecessary final modifier in final class | 1234 - 1238 |
Unnecessary final modifier in final class | 1241 - 1245 |
Unnecessary final modifier in final class | 1247 - 1256 |
Unnecessary final modifier in final class | 1259 - 1266 |
Unnecessary final modifier in final class | 1281 - 1284 |
Violation | Line |
---|---|
Avoid empty if statements | 72 - 75 |
Avoid empty if statements | 204 - 206 |
Violation | Line |
---|---|
An empty statement (semicolon) not part of a loop | 69 |
Violation | Line |
---|---|
Unnecessary final modifier in final class | 127 - 132 |
Unnecessary final modifier in final class | 358 - 360 |
Unnecessary final modifier in final class | 363 - 365 |
Unnecessary final modifier in final class | 369 - 392 |
Avoid empty if statements | 388 - 390 |
Unnecessary final modifier in final class | 395 - 419 |
Avoid empty if statements | 415 - 417 |
Unnecessary final modifier in final class | 423 - 425 |
Unnecessary final modifier in final class | 428 - 430 |
Unnecessary final modifier in final class | 434 - 436 |
Unnecessary final modifier in final class | 439 - 441 |
Unnecessary final modifier in final class | 444 - 446 |
Unnecessary final modifier in final class | 449 - 451 |
Unnecessary final modifier in final class | 454 - 456 |
Unnecessary final modifier in final class | 460 - 462 |
Unnecessary final modifier in final class | 465 - 467 |
Unnecessary final modifier in final class | 470 - 472 |
Unnecessary final modifier in final class | 475 - 477 |
Unnecessary final modifier in final class | 481 - 483 |
Unnecessary final modifier in final class | 486 - 488 |
Unnecessary final modifier in final class | 492 - 494 |
Unnecessary final modifier in final class | 497 - 499 |
Unnecessary final modifier in final class | 502 - 504 |
Unnecessary final modifier in final class | 507 - 509 |
Unnecessary final modifier in final class | 513 - 519 |
Unnecessary final modifier in final class | 522 - 528 |
Unnecessary final modifier in final class | 732 - 739 |
Unnecessary final modifier in final class | 754 - 772 |
Unnecessary final modifier in final class | 858 - 860 |
Unnecessary final modifier in final class | 862 - 864 |
Unnecessary final modifier in final class | 866 - 868 |
Unnecessary final modifier in final class | 951 - 973 |
Unnecessary final modifier in final class | 976 - 992 |
Violation | Line |
---|---|
These nested if statements could be combined | 84 - 86 |
Violation | Line |
---|---|
No need to import a type that lives in the same package | 4 |
Violation | Line |
---|---|
Avoid empty if statements | 49 - 51 |
Violation | Line |
---|---|
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. | 28 |
Violation | Line |
---|---|
Avoid empty if statements | 98 - 101 |
Avoid empty if statements | 223 - 226 |
Avoid empty if statements | 226 - 234 |
Avoid empty if statements | 353 - 356 |
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. | 373 |
Avoid empty catch blocks | 412 - 413 |
Avoid empty if statements | 444 - 447 |
Violation | Line |
---|---|
Avoid empty if statements | 88 - 90 |
Avoid unused method parameters such as 'role'. | 108 - 117 |
Violation | Line |
---|---|
Avoid unused method parameters such as 'logger'. | 121 - 137 |
Avoid empty if statements | 216 - 218 |
Avoid empty if statements | 264 - 266 |
Avoid empty if statements | 306 - 309 |
Violation | Line |
---|---|
Avoid empty catch blocks | 405 - 406 |
Avoid empty catch blocks | 414 - 415 |
Violation | Line |
---|---|
Avoid empty catch blocks | 113 - 115 |
Avoid empty if statements | 173 - 176 |
Avoid empty if statements | 192 - 195 |
Violation | Line |
---|---|
Avoid empty if statements | 103 - 105 |
Avoid empty if statements | 122 - 125 |
Avoid empty if statements | 131 - 134 |
Violation | Line |
---|---|
Avoid empty if statements | 165 - 167 |
Avoid empty if statements | 289 - 291 |
Avoid empty if statements | 425 - 427 |
Avoid empty if statements | 433 - 435 |
Violation | Line |
---|---|
No need to import a type that lives in the same package | 5 |
No need to import a type that lives in the same package | 6 |
Violation | Line |
---|---|
Avoid empty if statements | 85 - 87 |
Avoid empty if statements | 92 - 94 |
Avoid unused local variables such as 'ntree'. | 123 |
Avoid empty if statements | 169 - 171 |
These nested if statements could be combined | 246 - 253 |
Violation | Line |
---|---|
Avoid empty if statements | 62 - 65 |
Violation | Line |
---|---|
Unnecessary final modifier in final class | 48 - 50 |
Unnecessary final modifier in final class | 588 - 594 |
Unnecessary final modifier in final class | 599 - 605 |
Violation | Line |
---|---|
Unnecessary final modifier in final class | 90 - 92 |
Unnecessary final modifier in final class | 96 - 106 |
Unnecessary final modifier in final class | 110 - 139 |
Violation | Line |
---|---|
Unnecessary final modifier in final class | 59 - 61 |
Unnecessary final modifier in final class | 62 - 64 |
Unnecessary final modifier in final class | 65 - 67 |
Unnecessary final modifier in final class | 68 - 70 |
Unnecessary final modifier in final class | 71 - 73 |
Unnecessary final modifier in final class | 74 - 76 |
Unnecessary final modifier in final class | 77 - 79 |
Unnecessary final modifier in final class | 80 - 82 |
Unnecessary final modifier in final class | 83 - 85 |
Unnecessary final modifier in final class | 86 - 88 |
Unnecessary final modifier in final class | 89 - 91 |
Unnecessary final modifier in final class | 92 - 94 |
Unnecessary final modifier in final class | 95 - 97 |
Unnecessary final modifier in final class | 98 - 100 |
Unnecessary final modifier in final class | 101 - 103 |
Unnecessary final modifier in final class | 104 - 106 |
Unnecessary final modifier in final class | 107 - 109 |
Unnecessary final modifier in final class | 110 - 112 |
Violation | Line |
---|---|
Avoid empty if statements | 210 - 212 |
Avoid empty catch blocks | 280 - 281 |
Avoid empty if statements | 344 - 346 |
Violation | Line |
---|---|
Avoid empty if statements | 69 - 72 |
Avoid empty if statements | 94 - 97 |
Avoid empty if statements | 102 - 105 |
Avoid empty if statements | 109 - 112 |
Violation | Line |
---|---|
These nested if statements could be combined | 187 - 190 |
Violation | Line |
---|---|
These nested if statements could be combined | 95 - 99 |
Violation | Line |
---|---|
Avoid modifying an outer loop incrementer in an inner loop for update expression | 157 - 160 |
Avoid modifying an outer loop incrementer in an inner loop for update expression | 177 - 181 |
Violation | Line |
---|---|
These nested if statements could be combined | 245 - 263 |
These nested if statements could be combined | 278 - 295 |
Violation | Line |
---|---|
Avoid empty if statements | 42 - 44 |
Avoid empty if statements | 77 - 79 |
Violation | Line |
---|---|
Avoid duplicate imports such as 'java.io.File' | 3 |
Avoid empty catch blocks | 213 - 215 |
Violation | Line |
---|---|
Avoid empty if statements | 29 - 31 |
Avoid unused private methods such as 'dump(SDRun)'. | 65 |
Violation | Line |
---|---|
Avoid unused method parameters such as 'radius'. | 357 - 373 |
Avoid unused local variables such as 'nsplit'. | 385 |
Avoid empty if statements | 449 - 451 |
Avoid empty if statements | 451 - 454 |
Violation | Line |
---|---|
Avoid unused imports such as 'org.textensor.stochdiff.numeric.morph.VolumeLine' | 9 |
Avoid empty if statements | 94 - 99 |
Violation | Line |
---|---|
Avoid unused imports such as 'org.textensor.stochdiff.numeric.morph.VolumeLine' | 9 |
Avoid unused imports such as 'org.textensor.stochdiff.numeric.morph.VolumeSlice' | 10 |
Avoid empty if statements | 97 - 102 |
Violation | Line |
---|---|
Avoid unused imports such as 'java.util.Queue' | 4 |
Avoid unused imports such as 'java.util.concurrent.ConcurrentLinkedQueue' | 9 |
Avoid empty if statements | 104 - 109 |
Do not use if statements that are always true or always false | 155 |
Violation | Line |
---|---|
Avoid unused private methods such as 'merge(TreePoint,double,double,double)'. | 16 |
Violation | Line |
---|---|
Avoid unused private methods such as 'getFixedSubdivision(TreePoint,TreePoint)'. | 267 |
Violation | Line |
---|---|
Avoid unused imports such as 'org.textensor.stochdiff.numeric.math.RandomMath' | 9 |
Violation | Line |
---|---|
Avoid unused imports such as 'org.textensor.report.E' | 3 |
Violation | Line |
---|---|
Avoid unused imports such as 'org.catacomb.dataview.CCViz' | 3 |
Avoid unused imports such as 'org.textensor.stochdiff.StochDiff' | 4 |
Violation | Line |
---|---|
Avoid unused imports such as 'org.textensor.report.E' | 3 |
Violation | Line |
---|---|
Avoid unused private fields such as 'r_segment'. | 20 |
Violation | Line |
---|---|
Avoid unused imports such as 'org.textensor.stochdiff.numeric.BaseCalc' | 6 |
Avoid empty if statements | 192 - 194 |
Avoid empty if statements | 214 - 216 |
Violation | Line |
---|---|
Avoid empty if statements | 71 - 73 |
Avoid empty if statements | 76 - 78 |
Violation | Line |
---|---|
Avoid unused imports such as 'org.textensor.report.E' | 5 |
Violation | Line |
---|---|
Avoid unused imports such as 'org.textensor.stochdiff.model.MorphPoint' | 8 |
Avoid empty if statements | 27 - 29 |
Violation | Line |
---|---|
Avoid empty if statements | 173 - 176 |
Avoid unused local variables such as 'iwr'. | 336 |
These nested if statements could be combined | 534 - 536 |
Violation | Line |
---|---|
Avoid unused imports such as 'org.textensor.report.Debug' | 27 |
Avoid empty if statements | 251 - 254 |
Avoid unused local variables such as 'nt'. | 488 |
Avoid empty if statements | 702 - 704 |
Avoid unused local variables such as 'num_molecules_diffused_so_far'. | 842 |
Avoid empty if statements | 898 - 901 |
Avoid unused private methods such as 'parallelDiffusionStep(int,int)'. | 995 |
Avoid unused private methods such as 'sharedDiffusionStep(int,int)'. | 1065 |
Violation | Line |
---|---|
Unnecessary final modifier in final class | 95 - 97 |
Unnecessary final modifier in final class | 695 - 700 |
Unnecessary final modifier in final class | 705 - 711 |
Unnecessary final modifier in final class | 713 - 719 |
Violation | Line |
---|---|
Unnecessary final modifier in final class | 24 - 28 |
Violation | Line |
---|---|
Avoid unused local variables such as 'nv'. | 120 |
Violation | Line |
---|---|
Avoid empty if statements | 390 - 392 |
Violation | Line |
---|---|
Avoid empty if statements | 255 - 257 |
Avoid empty if statements | 265 - 267 |
Avoid unused private methods such as 'makeRanges(double,int)'. | 313 |
Violation | Line |
---|---|
Avoid unused imports such as 'org.textensor.report.E' | 3 |
Violation | Line |
---|---|
An empty statement (semicolon) not part of a loop | 75 |
An empty statement (semicolon) not part of a loop | 118 |
Avoid unused private methods such as 'lookupTest()'. | 298 |
Violation | Line |
---|---|
Avoid unused imports such as 'java.io.File' | 3 |
Avoid unused imports such as 'java.util.StringTokenizer' | 4 |
Avoid unused imports such as 'org.textensor.report.Debug' | 6 |
Avoid unused imports such as 'org.textensor.stochdiff.ResultWriter' | 8 |
Avoid empty if statements | 207 - 210 |
Avoid empty if statements | 621 - 623 |
Avoid unused local variables such as 'num_molecules_diffused_so_far'. | 761 |
Avoid unused private methods such as 'parallelDiffusionStep(int,int)'. | 916 |
Avoid unused private methods such as 'sharedDiffusionStep(int,int)'. | 986 |
Violation | Line |
---|---|
Avoid unused private methods such as 'dump(SDRun)'. | 61 |
Violation | Line |
---|---|
Avoid unused imports such as 'org.textensor.stochdiff.numeric.BaseCalc' | 12 |
Violation | Line |
---|---|
Avoid unused imports such as 'java.util.ArrayList' | 7 |
Violation | Line |
---|---|
Avoid unused local variables such as 'ielt'. | 31 |
Avoid unused local variables such as 'itok'. | 66 |
Avoid unused local variables such as 'itok'. | 79 |
Violation | Line |
---|---|
Avoid unused imports such as 'java.util.HashSet' | 8 |
Violation | Line |
---|---|
Avoid unused imports such as 'javax.media.j3d.TransparencyAttributes' | 15 |
Violation | Line |
---|---|
Avoid empty if statements | 588 - 590 |
Avoid unused private methods such as 'toggleHideShape(Shape3D)'. | 597 |
Avoid empty if statements | 636 - 638 |
Avoid empty if statements | 638 - 640 |
Avoid empty if statements | 640 - 643 |
Avoid empty if statements | 882 - 884 |
Avoid empty if statements | 900 - 902 |
Avoid empty if statements | 911 - 913 |
Violation | Line |
---|---|
Avoid unused imports such as 'org.textensor.report.E' | 3 |
Violation | Line |
---|---|
Avoid instantiating Boolean objects; reference Boolean.TRUE or Boolean.FALSE or call Boolean.valueOf() instead. | 26 |