The following document contains the results of PMD 4.2.5.
Violation | Line |
---|---|
New exception is thrown in catch block, original stack trace may be lost | 83 |
New exception is thrown in catch block, original stack trace may be lost | 85 |
New exception is thrown in catch block, original stack trace may be lost | 87 |
New exception is thrown in catch block, original stack trace may be lost | 89 |
Violation | Line |
---|---|
Avoid instantiating new objects inside loops | 71 - 72 |
Violation | Line |
---|---|
An empty method in an abstract class should be abstract instead | 706 - 708 |
An empty method in an abstract class should be abstract instead | 711 - 714 |
An empty method in an abstract class should be abstract instead | 866 - 868 |
Violation | Line |
---|---|
Avoid instantiation through private constructors from outside of the constructor's class. | 176 |
Violation | Line |
---|---|
This class has too many methods, consider refactoring it. | 60 - 471 |
Violation | Line |
---|---|
This class has too many methods, consider refactoring it. | 47 - 453 |
Violation | Line |
---|---|
Avoid really long parameter lists. | 102 - 106 |
Violation | Line |
---|---|
This class has a bunch of public methods and attributes | 19 - 1016 |
This class has too many methods, consider refactoring it. | 64 - 1016 |
The class 'VAlign' has a Cyclomatic Complexity of 4 (Highest = 10). | 193 - 290 |
The method 'parseString' has a Cyclomatic Complexity of 10. | 241 - 281 |
Avoid instantiating new objects inside loops | 769 - 770 |
Avoid instantiating new objects inside loops | 792 - 794 |
Avoid instantiating new objects inside loops | 862 |
Violation | Line |
---|---|
The class 'Mo' has a Cyclomatic Complexity of 2 (Highest = 12). | 67 - 734 |
This class has too many methods, consider refactoring it. | 68 - 734 |
The method 'layoutStage2' has a Cyclomatic Complexity of 12. | 574 - 652 |
Violation | Line |
---|---|
Avoid instantiating new objects inside loops | 212 |
Avoid instantiating new objects inside loops | 218 - 219 |
Violation | Line |
---|---|
The class 'OperatorDictionary3' has a Cyclomatic Complexity of 3 (Highest = 10). | 53 - 354 |
Document empty constructor | 102 - 103 |
The method 'intToSpace' has a Cyclomatic Complexity of 10. | 316 - 352 |
Violation | Line |
---|---|
This class has too many methods, consider refactoring it. | 49 - 427 |
The class 'CharacterMapping' has a Cyclomatic Complexity of 4 (Highest = 10). | 49 - 427 |
This call to String.startsWith can be rewritten using String.charAt(0) | 145 |
Use block level rather than method level synchronization | 235 - 260 |
The method 'composeUnicodeChar' has a Cyclomatic Complexity of 10. | 273 - 306 |
Avoid instantiating new objects inside loops | 403 - 404 |
Parameter 'codepoint' is not assigned and could be declared final | 423 |
Violation | Line |
---|---|
clone() method should be implemented only if implementing Cloneable interface | 49 - 52 |
clone() method should throw CloneNotSupportedException | 50 - 52 |
Violation | Line |
---|---|
Avoid instantiating new objects inside loops | 97 - 98 |
Violation | Line |
---|---|
Avoid instantiating new objects inside loops | 73 - 74 |
Violation | Line |
---|---|
Avoid instantiation through private constructors from outside of the constructor's class. | 414 |
Violation | Line |
---|---|
The String literal "unchecked" appears 6 times in this file; the first occurrence is on line 187 | 187 |
Use equals() to compare object references. | 367 |
Violation | Line |
---|---|
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() | 61 |
Document empty method | 74 - 75 |
Document empty method | 83 - 84 |
Document empty method | 92 - 93 |
Document empty method | 101 - 102 |
Violation | Line |
---|---|
Local variable 'jc' could be declared final | 75 |
Local variable 'ref' could be declared final | 77 |
Local variable 'jEuclidView' could be declared final | 93 |
Parameter 'jc' is not assigned and could be declared final | 116 |
Parameter 'jEuclidView' is not assigned and could be declared final | 117 |
Parameter 'c' is not assigned and could be declared final | 140 |
Parameter 'c' is not assigned and could be declared final | 149 |
Parameter 'c' is not assigned and could be declared final | 164 |
Local variable 'jEuclidView' could be declared final | 226 |
Parameter 'jEuclidView' is not assigned and could be declared final | 231 |
Parameter 'mathComponent' is not assigned and could be declared final | 272 |
Local variable 'jEuclidView' could be declared final | 274 - 275 |
Parameter 'jMathComponent' is not assigned and could be declared final | 287 |
Parameter 'g2d' is not assigned and could be declared final | 292 |