Le document suivant contient les résultats de PMD 6.13.0.
| Rule | Violation | Ligne |
|---|---|---|
| FieldNamingConventions | The constant name '_objectMapper' doesn't match '[A-Z][A-Z_0-9]*' | 77 |
| AvoidThrowingRawExceptionTypes | Avoid throwing raw exception types. | 272 |
| FormalParameterNamingConventions | The method parameter name '_typegeometry' doesn't match '[a-z][a-zA-Z0-9]*' | 323 |
| Rule | Violation | Ligne |
|---|---|---|
| FieldNamingConventions | The constant name '_objectMapper' doesn't match '[A-Z][A-Z_0-9]*' | 84 |
| AvoidThrowingRawExceptionTypes | Avoid throwing raw exception types. | 253 |
| FormalParameterNamingConventions | The method parameter name '_typegeometry' doesn't match '[a-z][a-zA-Z0-9]*' | 299 |
| Rule | Violation | Ligne |
|---|---|---|
| ClassWithOnlyPrivateConstructorsShouldBeFinal | A class which only has private constructors should be final | 52–110 |
| Rule | Violation | Ligne |
|---|---|---|
| UseDiamondOperator | Explicit type arguments can be replaced by Diamond Operator | 146 |
| UseDiamondOperator | Explicit type arguments can be replaced by Diamond Operator | 174 |
| Rule | Violation | Ligne |
|---|---|---|
| UnusedPrivateField | Avoid unused private fields such as '_typePolygon'. | 98 |
| UseDiamondOperator | Explicit type arguments can be replaced by Diamond Operator | 147 |
| UseDiamondOperator | Explicit type arguments can be replaced by Diamond Operator | 170 |
| Rule | Violation | Ligne |
|---|---|---|
| PreserveStackTrace | New exception is thrown in catch block, original stack trace may be lost | 127 |
| Rule | Violation | Ligne |
|---|---|---|
| CommentRequired | Header comments are required | 48–109 |
| ForLoopCanBeForeach | This for loop can be replaced by a foreach loop | 95–102 |
| Rule | Violation | Ligne |
|---|---|---|
| UseDiamondOperator | Explicit type arguments can be replaced by Diamond Operator | 72 |
| UseDiamondOperator | Explicit type arguments can be replaced by Diamond Operator | 81 |
| UnnecessaryLocalBeforeReturn | Consider simply returning the value vs storing it in local variable 'result' | 83 |
| Rule | Violation | Priority | Ligne |
|---|---|---|---|
| FieldNamingConventions | The constant name '_objectMapper' doesn't match '[A-Z][A-Z_0-9]*' | 1 | 77 |
| UseDiamondOperator | Explicit type arguments can be replaced by Diamond Operator | 3 | 146 |
| UseDiamondOperator | Explicit type arguments can be replaced by Diamond Operator | 3 | 174 |
| AvoidThrowingRawExceptionTypes | Avoid throwing raw exception types. | 1 | 272 |
| FormalParameterNamingConventions | The method parameter name '_typegeometry' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 323 |
| Rule | Violation | Priority | Ligne |
|---|---|---|---|
| FieldNamingConventions | The constant name '_objectMapper' doesn't match '[A-Z][A-Z_0-9]*' | 1 | 84 |
| UnusedPrivateField | Avoid unused private fields such as '_typePolygon'. | 3 | 98 |
| UseDiamondOperator | Explicit type arguments can be replaced by Diamond Operator | 3 | 147 |
| UseDiamondOperator | Explicit type arguments can be replaced by Diamond Operator | 3 | 170 |
| AvoidThrowingRawExceptionTypes | Avoid throwing raw exception types. | 1 | 253 |
| FormalParameterNamingConventions | The method parameter name '_typegeometry' doesn't match '[a-z][a-zA-Z0-9]*' | 1 | 299 |
| Rule | Violation | Priority | Ligne |
|---|---|---|---|
| PreserveStackTrace | New exception is thrown in catch block, original stack trace may be lost | 3 | 127 |
| Rule | Violation | Priority | Ligne |
|---|---|---|---|
| CommentRequired | Header comments are required | 3 | 48–109 |
| ForLoopCanBeForeach | This for loop can be replaced by a foreach loop | 3 | 95–102 |
| Rule | Violation | Priority | Ligne |
|---|---|---|---|
| ClassWithOnlyPrivateConstructorsShouldBeFinal | A class which only has private constructors should be final | 1 | 52–110 |
| UseDiamondOperator | Explicit type arguments can be replaced by Diamond Operator | 3 | 72 |
| UseDiamondOperator | Explicit type arguments can be replaced by Diamond Operator | 3 | 81 |
| UnnecessaryLocalBeforeReturn | Consider simply returning the value vs storing it in local variable 'result' | 3 | 83 |