The following document contains the results of PMD 4.2.2.
Violation | Line |
---|---|
A high number of imports can indicate a high degree of coupling within an object. | 16 - 1048 |
This class has too many methods, consider refactoring it. | 83 - 1048 |
The class 'MappingProcessor' has a Cyclomatic Complexity of 6 (Highest = 24). | 83 - 1048 |
The method 'mapField' has a Cyclomatic Complexity of 11. | 249 - 301 |
The method 'mapFromFieldMap' has a Cyclomatic Complexity of 10. | 303 - 343 |
The method mapOrRecurseObject() has an NPath complexity of 806400 | 345 - 435 |
The method 'mapOrRecurseObject' has a Cyclomatic Complexity of 24. | 345 - 435 |
The method mapCollection() has an NPath complexity of 228 | 488 - 552 |
The method 'mapCollection' has a Cyclomatic Complexity of 23. | 488 - 552 |
The method addToSet() has an NPath complexity of 488 | 677 - 740 |
The method 'addToSet' has a Cyclomatic Complexity of 14. | 677 - 740 |
The method 'addOrUpdateToList' has a Cyclomatic Complexity of 13. | 742 - 794 |
The method 'writeDestinationValue' has a Cyclomatic Complexity of 11. | 848 - 875 |
The method 'getExistingValue' has a Cyclomatic Complexity of 11. | 1008 - 1031 |
These nested if statements could be combined | 1020 - 1028 |
These nested if statements could be combined | 1022 - 1027 |
Violation | Line |
---|---|
This class has a bunch of public methods and attributes | 16 - 339 |
This class has too many methods, consider refactoring it. | 37 - 339 |
Too many fields | 37 - 339 |
Violation | Line |
---|---|
This class has too many methods, consider refactoring it. | 45 - 392 |
These nested if statements could be combined | 118 - 120 |
The class 'MapMappingGenerator' has a Cyclomatic Complexity of 8 (Highest = 15). | 146 - 213 |
The method apply() has an NPath complexity of 12153 | 156 - 212 |
The method 'apply' has a Cyclomatic Complexity of 15. | 156 - 212 |
Violation | Line |
---|---|
This class has too many methods, consider refactoring it. | 35 - 165 |
The class 'ClassMappings' has a Cyclomatic Complexity of 3 (Highest = 13). | 35 - 165 |
The method 'find' has a Cyclomatic Complexity of 10. | 92 - 120 |
The method 'findInterfaceMapping' has a Cyclomatic Complexity of 13. | 123 - 155 |
These nested if statements could be combined | 148 - 150 |
Violation | Line |
---|---|
The class 'DateConverter' has a Cyclomatic Complexity of 8 (Highest = 14). | 43 - 103 |
The method 'convert' has a Cyclomatic Complexity of 14. | 51 - 101 |
Violation | Line |
---|---|
This class has too many methods, consider refactoring it. | 32 - 310 |
Violation | Line |
---|---|
This class has a bunch of public methods and attributes | 16 - 492 |
This class has too many methods, consider refactoring it. | 47 - 492 |
Too many fields | 47 - 492 |
Violation | Line |
---|---|
The class 'MapFieldMap' has a Cyclomatic Complexity of 6 (Highest = 10). | 37 - 182 |
The method getSrcFieldValue() has an NPath complexity of 260 | 88 - 119 |
The method 'getSrcFieldValue' has a Cyclomatic Complexity of 10. | 88 - 119 |
Violation | Line |
---|---|
This class has a bunch of public methods and attributes | 16 - 590 |
This class has too many methods, consider refactoring it. | 52 - 590 |
This class has too many methods, consider refactoring it. | 79 - 182 |
This class has too many methods, consider refactoring it. | 224 - 363 |
Too many fields | 224 - 363 |
This class has too many methods, consider refactoring it. | 487 - 559 |
Violation | Line |
---|---|
The class 'MappingsParser' has a Cyclomatic Complexity of 10 (Highest = 28). | 43 - 166 |
The method processMappings() has an NPath complexity of 5226 | 54 - 164 |
Avoid really long methods. | 54 - 164 |
The method 'processMappings' has a Cyclomatic Complexity of 28. | 54 - 164 |
These nested if statements could be combined | 99 - 111 |
Violation | Line |
---|---|
This class has too many methods, consider refactoring it. | 29 - 107 |
Violation | Line |
---|---|
This class has too many methods, consider refactoring it. | 30 - 160 |
Violation | Line |
---|---|
This class has too many methods, consider refactoring it. | 25 - 116 |
Violation | Line |
---|---|
This class has too many methods, consider refactoring it. | 28 - 126 |
Violation | Line |
---|---|
This class has too many methods, consider refactoring it. | 43 - 521 |
The class 'XMLParser' has a Cyclomatic Complexity of 6 (Highest = 17). | 43 - 521 |
The method parseMapping() has an NPath complexity of 14336 | 148 - 208 |
The method 'parseMapping' has a Cyclomatic Complexity of 17. | 148 - 208 |
The method parseClass() has an NPath complexity of 256 | 210 - 235 |
The method parseField() has an NPath complexity of 256 | 369 - 394 |
The method 'parseConfiguration' has a Cyclomatic Complexity of 13. | 396 - 432 |
Violation | Line |
---|---|
The class 'GetterSetterPropertyDescriptor' has a Cyclomatic Complexity of 4 (Highest = 24). | 48 - 343 |
Avoid empty catch blocks | 98 - 100 |
The method writeDeepDestinationValue() has an NPath complexity of 6012 | 137 - 245 |
Avoid really long methods. | 137 - 245 |
The method 'writeDeepDestinationValue' has a Cyclomatic Complexity of 24. | 137 - 245 |
Avoid empty catch blocks | 283 - 284 |
Avoid empty catch blocks | 318 - 319 |
Avoid empty catch blocks | 326 - 327 |
Violation | Line |
---|---|
The class 'PropertyDescriptorFactory' has a Cyclomatic Complexity of 8 (Highest = 14). | 28 - 75 |
Avoid really long parameter lists. | 33 - 36 |
The method 'getPropertyDescriptor' has a Cyclomatic Complexity of 14. | 33 - 74 |