The following document contains the results of PMD 4.3.
Violation | Line |
---|---|
Possible unsafe assignment to a non-final static field in a constructor. | 56 |
Possible unsafe assignment to a non-final static field in a constructor. | 57 |
Violation | Line |
---|---|
This class has too many methods, consider refactoring it. | 37 - 418 |
The class 'NavBarPanel' has a Cyclomatic Complexity of 3 (Highest = 15). | 37 - 418 |
The method 'setupNavigationButtons' has a Cyclomatic Complexity of 15. | 156 - 233 |
Violation | Line |
---|---|
A high number of imports can indicate a high degree of coupling within an object. | 29 - 734 |
This class has too many methods, consider refactoring it. | 87 - 734 |
The class 'OpenLogViewer' has a Cyclomatic Complexity of 4 (Highest = 14). | 87 - 734 |
Too many fields | 87 - 734 |
The constructor 'OpenLogViewer' has a Cyclomatic Complexity of 13. | 135 - 287 |
Local variable 'preliminaryVersion' could be declared final | 141 |
The method 'main' has a Cyclomatic Complexity of 13. | 294 - 351 |
The method 'run' has a Cyclomatic Complexity of 12. | 298 - 349 |
Assigning an Object to null is a code smell. Consider refactoring. | 399 |
The method 'generateChooser' has a Cyclomatic Complexity of 10. | 422 - 473 |
Avoid throwing raw exception types. | 491 |
Avoid throwing raw exception types. | 513 |
The method 'openAppWideProps' has a Cyclomatic Complexity of 14. | 525 - 580 |
Avoid throwing raw exception types. | 545 |
Avoid instantiating new objects inside loops | 620 |
Violation | Line |
---|---|
Local variable 'finalAndInitialLength' could be declared final | 90 |
Avoid instantiating new objects inside loops | 100 |
Violation | Line |
---|---|
The class 'FreeEMSBin' has a Cyclomatic Complexity of 7 (Highest = 27). | 42 - 602 |
Too many fields | 42 - 602 |
Do not use the short type | 51 |
Do not use the short type | 52 |
Do not use the short type | 53 |
Do not use the short type | 54 |
Do not use the short type | 55 |
Do not use the short type | 56 |
Perhaps 'labels' could be replaced by a local variable. | 59 |
Avoid unused private fields such as 'labels'. | 59 |
Do not use the short type | 61 |
Perhaps 't' could be replaced by a local variable. | 63 |
Do not use the short type | 229 |
Avoid really long methods. | 269 - 388 |
The method 'run' has a Cyclomatic Complexity of 19. | 269 - 388 |
Do not use the short type | 275 |
Do not use the short type | 309 |
Do not use the short type | 325 |
Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 362 |
The method decodeBasicLogPacket() has an NPath complexity of 9552 | 396 - 519 |
Avoid really long methods. | 396 - 519 |
The method 'decodeBasicLogPacket' has a Cyclomatic Complexity of 27. | 396 - 519 |
Do not use the short type | 396 |
Do not use the short type | 410 |
Do not use the short type | 413 |
Do not use the short type | 415 |
Do not use the short type | 547 |
Do not use the short type | 549 |
Do not use the short type | 554 |
Do not use the short type | 554 |
Do not use the short type | 567 |
Do not use the short type | 567 |
Do not use the short type | 575 |
Do not use the short type | 585 |
Do not use the short type | 586 |
Violation | Line |
---|---|
The class 'LogField' has a Cyclomatic Complexity of 2 (Highest = 12). | 3 - 139 |
Use explicit scoping instead of the default package private level | 26 |
Use explicit scoping instead of the default package private level | 27 |
Avoid throwing raw exception types. | 65 |
Avoid throwing raw exception types. | 67 |
Avoid throwing raw exception types. | 69 |
Avoid throwing raw exception types. | 71 |
The constructor 'LogField' has a Cyclomatic Complexity of 12. | 75 - 95 |
The user-supplied array 'bitFieldNames' is stored directly. | 75 |
Avoid throwing raw exception types. | 81 |
Avoid throwing raw exception types. | 83 |
Returning 'bitFieldNames' may expose an internal array. | 104 |
The user-supplied array 'bitFieldNames' is stored directly. | 118 |
Violation | Line |
---|---|
This class has too many methods, consider refactoring it. | 45 - 288 |
Assigning an Object to null is a code smell. Consider refactoring. | 286 |
Violation | Line |
---|---|
Avoid instantiating new objects inside loops | 115 |
Avoid throwing raw exception types. | 167 |
Violation | Line |
---|---|
This class has a bunch of public methods and attributes | 23 - 907 |
The class 'EntireGraphingPanel' has a Cyclomatic Complexity of 2 (Highest = 13). | 47 - 907 |
Too many fields | 47 - 907 |
This class has too many methods, consider refactoring it. | 51 - 907 |
Avoid really long methods. | 794 - 906 |
The method 'initKeyBindings' has a Cyclomatic Complexity of 13. | 794 - 906 |
Violation | Line |
---|---|
The class 'GraphPositionPanel' has a Cyclomatic Complexity of 6 (Highest = 14). | 38 - 286 |
The method 'paintPositionBar' has a Cyclomatic Complexity of 12. | 96 - 142 |
The method 'paintPositionData' has a Cyclomatic Complexity of 14. | 144 - 200 |
These nested if statements could be combined | 171 - 177 |
Avoid instantiating new objects inside loops | 182 |
Violation | Line |
---|---|
The class 'InfoPanel' has a Cyclomatic Complexity of 3 (Highest = 11). | 43 - 192 |
The method 'paintComponent' has a Cyclomatic Complexity of 11. | 67 - 127 |
Deeply nested if..then statements are hard to read | 99 - 101 |
Deeply nested if..then statements are hard to read | 108 - 122 |
Prefer StringBuffer over += for concatenating strings | 112 |
Document empty method | 177 - 178 |
Document empty method | 181 - 182 |
Document empty method | 185 - 186 |
Document empty method | 189 - 191 |
Violation | Line |
---|---|
This class has too many methods, consider refactoring it. | 49 - 674 |
The class 'SingleGraphPanel' has a Cyclomatic Complexity of 5 (Highest = 43). | 49 - 674 |
Document empty method | 84 - 85 |
The method paintDataPointsAndTraces() has an NPath complexity of 300964 | 116 - 267 |
Avoid really long methods. | 116 - 267 |
The method 'paintDataPointsAndTraces' has a Cyclomatic Complexity of 43. | 116 - 267 |
The method paintDataPointsAndTraces() has an NCSS line count of 100 | 116 - 267 |
These nested if statements could be combined | 169 - 174 |
These nested if statements could be combined | 213 - 216 |
The method initGraphZoomedOut() has an NPath complexity of 385 | 475 - 639 |
Avoid really long methods. | 475 - 639 |
The method 'initGraphZoomedOut' has a Cyclomatic Complexity of 24. | 475 - 639 |
Violation | Line |
---|---|
A high number of imports can indicate a high degree of coupling within an object. | 23 - 678 |
This class has too many methods, consider refactoring it. | 60 - 678 |
The class 'OptionFrameV2' has a Cyclomatic Complexity of 4 (Highest = 11). | 60 - 678 |
These nested if statements could be combined | 119 - 123 |
The method 'remActiveHeaderPanel' has a Cyclomatic Complexity of 11. | 208 - 255 |
Avoid instantiating new objects inside loops | 325 |
Avoid throwing raw exception types. | 487 |
Avoid throwing raw exception types. | 494 |
Document empty method | 528 - 529 |
Document empty method | 532 - 533 |
Violation | Line |
---|---|
A high number of imports can indicate a high degree of coupling within an object. | 23 - 454 |
This class has too many methods, consider refactoring it. | 65 - 454 |
Avoid throwing raw exception types. | 127 |
Avoid catching generic exceptions such as NullPointerException, RuntimeException, Exception in try-catch block | 137 |
Avoid instantiating new objects inside loops | 215 |
Avoid instantiating new objects inside loops | 218 - 221 |
Avoid throwing raw exception types. | 232 |
Avoid throwing raw exception types. | 251 |
Avoid instantiating new objects inside loops | 327 |
Document empty method | 391 - 392 |
Document empty method | 395 - 396 |
Document empty method | 399 - 400 |
Document empty method | 403 - 404 |
Violation | Line |
---|---|
Assigning an Object to null is a code smell. Consider refactoring. | 254 |