PMD Results
The following document contains the results of PMD 7.17.0.
Violations By Priority
Priority 1
inez.model - io/github/magwas/inez/element/GetBridiElementTypeIdService.java
inez.model - io/github/magwas/inez/element/IsOfTypeService.java
inez.model - io/github/magwas/inez/query/CreateBridisFromDefinitionService.java
inez.model - io/github/magwas/inez/query/QueryProcessorService.java
inez.model - io/github/magwas/inez/storage/BridiStoreEndToEndTest.java
Priority 2
inez.model - io/github/magwas/inez/query/CreateBridisFromParserOutputService.java
inez.model - io/github/magwas/inez/query/QueryProcessorService.java
inez.model - io/github/magwas/inez/query/QueryProcessorEndToEndTest.java
Priority 3
inez.model - io/github/magwas/inez/Inez.java
| Rule |
Violation |
Line |
| TooManyMethods |
This class has too many methods, consider refactoring it. |
14–39 |
inez.model - io/github/magwas/inez/InezImpl.java
inez.model - io/github/magwas/inez/InezPlugin.java
| Rule |
Violation |
Line |
| ClassesShouldBeKnown |
Classes should be either Data, Service,Controller,Repository |
3 |
inez.model - io/github/magwas/inez/element/BridiElement.java
| Rule |
Violation |
Line |
| AvoidFieldNameMatchingMethodName |
Field isInstance has the same name as a method |
52 |
| LinguisticNaming |
Linguistics Antipattern - The field 'isInstance' indicates linguistically it is a boolean, but it is 'IsInstanceService' |
52 |
| AutowiredFields |
@Autowired fields naming conventions |
58 |
| LinguisticNaming |
Linguistics Antipattern - The field 'isOfType' indicates linguistically it is a boolean, but it is 'IsOfTypeService' |
61 |
| DelegateMethods |
Delegate methods should only delegate |
69 |
| DelegateMethods |
Delegate methods should only delegate |
109 |
| DelegateMethods |
Delegate methods should only delegate |
118 |
inez.model - io/github/magwas/inez/element/BridiElementFactory.java
| Rule |
Violation |
Line |
| AutowiredFields |
@Autowired fields naming conventions |
11 |
inez.model - io/github/magwas/inez/element/BridiElementSystemInitializationService.java
| Rule |
Violation |
Line |
| AutowiredFields |
@Autowired fields naming conventions |
14 |
inez.model - io/github/magwas/inez/element/CreateBridiElementService.java
| Rule |
Violation |
Line |
| AutowiredFields |
@Autowired fields naming conventions |
25 |
| LinguisticNaming |
Linguistics Antipattern - The variable 'isAId' indicates linguistically it is a boolean, but it is 'String' |
39 |
inez.model - io/github/magwas/inez/element/GetBridiElementChildrenService.java
| Rule |
Violation |
Line |
| AutowiredFields |
@Autowired fields naming conventions |
21 |
inez.model - io/github/magwas/inez/element/GetBridiElementReferenceIdsService.java
inez.model - io/github/magwas/inez/element/GetBridiElementReferencesService.java
| Rule |
Violation |
Line |
| AutowiredFields |
@Autowired fields naming conventions |
14 |
inez.model - io/github/magwas/inez/element/GetBridiElementTypeService.java
| Rule |
Violation |
Line |
| AutowiredFields |
@Autowired fields naming conventions |
12 |
inez.model - io/github/magwas/inez/element/GetRelativeForBridiElementService.java
inez.model - io/github/magwas/inez/element/IsOfTypeService.java
inez.model - io/github/magwas/inez/functions/Save.java
| Rule |
Violation |
Line |
| AutowiredFields |
@Autowired fields naming conventions |
20 |
inez.model - io/github/magwas/inez/query/BridiFunction.java
| Rule |
Violation |
Line |
| ClassesShouldBeKnown |
Classes should be either Data, Service,Controller,Repository |
9 |
inez.model - io/github/magwas/inez/query/CreateBridisFromDefinitionService.java
inez.model - io/github/magwas/inez/query/CreateBridisFromQueryService.java
| Rule |
Violation |
Line |
| AutowiredFields |
@Autowired fields naming conventions |
27 |
inez.model - io/github/magwas/inez/query/GetServiceByNameService.java
| Rule |
Violation |
Line |
| AutowiredFields |
@Autowired fields naming conventions |
16 |
| AvoidUncheckedExceptionsInSignatures |
A method or constructor should not explicitly declare unchecked exception BeansException in its 'throws' clause |
21 |
inez.model - io/github/magwas/inez/query/QueryProcessorService.java
| Rule |
Violation |
Line |
| CyclomaticComplexity |
The class 'QueryProcessorService' has a total cyclomatic complexity of 28 (highest 7). |
33 |
| AutowiredFields |
@Autowired fields naming conventions |
54 |
| LambdaCanBeMethodReference |
Lambda expression could be written as a method reference: `this::apply` |
57 |
inez.model - io/github/magwas/inez/storage/AddReferencesService.java
inez.model - io/github/magwas/inez/storage/BridiStoreChangeListenersService.java
| Rule |
Violation |
Line |
| ClassesShouldBeKnown |
Classes should be either Data, Service,Controller,Repository |
11 |
inez.model - io/github/magwas/inez/storage/CreateBridiFromSumtiService.java
| Rule |
Violation |
Line |
| UseConcurrentHashMap |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
25 |
inez.model - io/github/magwas/inez/InezProblemsTest.java
inez.model - io/github/magwas/inez/element/BridiElementEndToEndTest.java
inez.model - io/github/magwas/inez/element/BridiElementSystemInitializationServiceTest.java
| Rule |
Violation |
Line |
| TooManyMethods |
This class has too many methods, consider refactoring it. |
14–115 |
inez.model - io/github/magwas/inez/element/CreateBridiElementServiceTest.java
inez.model - io/github/magwas/inez/element/IsInstanceServiceTest.java
| Rule |
Violation |
Line |
| LinguisticNaming |
Linguistics Antipattern - The field 'isInstance' indicates linguistically it is a boolean, but it is 'IsInstanceService' |
15 |
inez.model - io/github/magwas/inez/query/GetServiceByNameServiceStub.java
inez.model - io/github/magwas/inez/query/QueryProcessorEndToEndTest.java
inez.model - io/github/magwas/inez/query/QueryProcessorTest.java
| Rule |
Violation |
Line |
| TooManyMethods |
This class has too many methods, consider refactoring it. |
19–100 |
inez.model - io/github/magwas/inez/storage/AddReferencesServiceTest.java
inez.model - io/github/magwas/inez/storage/AddReferencesTest.java
inez.model - io/github/magwas/inez/storage/BridiStoreEndToEndTest.java
inez.model - io/github/magwas/inez/storage/RemoveReferencesTest.java
Priority 4
inez.model - io/github/magwas/inez/Inez.java
inez.model - io/github/magwas/inez/functions/Save.java
Files
inez.model - io/github/magwas/inez/Inez.java
inez.model - io/github/magwas/inez/InezImpl.java
inez.model - io/github/magwas/inez/InezPlugin.java
| Rule |
Violation |
Priority |
Line |
| ClassesShouldBeKnown |
Classes should be either Data, Service,Controller,Repository |
3 |
3 |
inez.model - io/github/magwas/inez/element/BridiElement.java
| Rule |
Violation |
Priority |
Line |
| AvoidFieldNameMatchingMethodName |
Field isInstance has the same name as a method |
3 |
52 |
| LinguisticNaming |
Linguistics Antipattern - The field 'isInstance' indicates linguistically it is a boolean, but it is 'IsInstanceService' |
3 |
52 |
| AutowiredFields |
@Autowired fields naming conventions |
3 |
58 |
| LinguisticNaming |
Linguistics Antipattern - The field 'isOfType' indicates linguistically it is a boolean, but it is 'IsOfTypeService' |
3 |
61 |
| DelegateMethods |
Delegate methods should only delegate |
3 |
69 |
| DelegateMethods |
Delegate methods should only delegate |
3 |
109 |
| DelegateMethods |
Delegate methods should only delegate |
3 |
118 |
inez.model - io/github/magwas/inez/element/BridiElementFactory.java
| Rule |
Violation |
Priority |
Line |
| AutowiredFields |
@Autowired fields naming conventions |
3 |
11 |
inez.model - io/github/magwas/inez/element/BridiElementSystemInitializationService.java
| Rule |
Violation |
Priority |
Line |
| AutowiredFields |
@Autowired fields naming conventions |
3 |
14 |
inez.model - io/github/magwas/inez/element/CreateBridiElementService.java
| Rule |
Violation |
Priority |
Line |
| AutowiredFields |
@Autowired fields naming conventions |
3 |
25 |
| LinguisticNaming |
Linguistics Antipattern - The variable 'isAId' indicates linguistically it is a boolean, but it is 'String' |
3 |
39 |
inez.model - io/github/magwas/inez/element/GetBridiElementChildrenService.java
| Rule |
Violation |
Priority |
Line |
| AutowiredFields |
@Autowired fields naming conventions |
3 |
21 |
inez.model - io/github/magwas/inez/element/GetBridiElementReferenceIdsService.java
| Rule |
Violation |
Priority |
Line |
| LambdaCanBeMethodReference |
Lambda expression could be written as a method reference: `BridiReference::sumtiId` |
3 |
19 |
inez.model - io/github/magwas/inez/element/GetBridiElementReferencesService.java
| Rule |
Violation |
Priority |
Line |
| AutowiredFields |
@Autowired fields naming conventions |
3 |
14 |
inez.model - io/github/magwas/inez/element/GetBridiElementTypeIdService.java
inez.model - io/github/magwas/inez/element/GetBridiElementTypeService.java
| Rule |
Violation |
Priority |
Line |
| AutowiredFields |
@Autowired fields naming conventions |
3 |
12 |
inez.model - io/github/magwas/inez/element/GetRelativeForBridiElementService.java
| Rule |
Violation |
Priority |
Line |
| LambdaCanBeMethodReference |
Lambda expression could be written as a method reference: `Optional::isPresent` |
3 |
26 |
inez.model - io/github/magwas/inez/element/IsOfTypeService.java
inez.model - io/github/magwas/inez/functions/Save.java
| Rule |
Violation |
Priority |
Line |
| ShortClassName |
Avoid short class names like Save |
4 |
17 |
| AutowiredFields |
@Autowired fields naming conventions |
3 |
20 |
inez.model - io/github/magwas/inez/query/BridiFunction.java
| Rule |
Violation |
Priority |
Line |
| ClassesShouldBeKnown |
Classes should be either Data, Service,Controller,Repository |
3 |
9 |
inez.model - io/github/magwas/inez/query/CreateBridisFromDefinitionService.java
inez.model - io/github/magwas/inez/query/CreateBridisFromParserOutputService.java
inez.model - io/github/magwas/inez/query/CreateBridisFromQueryService.java
| Rule |
Violation |
Priority |
Line |
| AutowiredFields |
@Autowired fields naming conventions |
3 |
27 |
inez.model - io/github/magwas/inez/query/GetServiceByNameService.java
| Rule |
Violation |
Priority |
Line |
| AutowiredFields |
@Autowired fields naming conventions |
3 |
16 |
| AvoidUncheckedExceptionsInSignatures |
A method or constructor should not explicitly declare unchecked exception BeansException in its 'throws' clause |
3 |
21 |
inez.model - io/github/magwas/inez/query/QueryProcessorService.java
inez.model - io/github/magwas/inez/storage/AddReferencesService.java
inez.model - io/github/magwas/inez/storage/BridiStoreChangeListenersService.java
| Rule |
Violation |
Priority |
Line |
| ClassesShouldBeKnown |
Classes should be either Data, Service,Controller,Repository |
3 |
11 |
inez.model - io/github/magwas/inez/storage/CreateBridiFromSumtiService.java
| Rule |
Violation |
Priority |
Line |
| UseConcurrentHashMap |
If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation |
3 |
25 |
inez.model - io/github/magwas/inez/InezProblemsTest.java
inez.model - io/github/magwas/inez/element/BridiElementEndToEndTest.java
inez.model - io/github/magwas/inez/element/BridiElementSystemInitializationServiceTest.java
| Rule |
Violation |
Priority |
Line |
| TooManyMethods |
This class has too many methods, consider refactoring it. |
3 |
14–115 |
inez.model - io/github/magwas/inez/element/CreateBridiElementServiceTest.java
inez.model - io/github/magwas/inez/element/IsInstanceServiceTest.java
| Rule |
Violation |
Priority |
Line |
| LinguisticNaming |
Linguistics Antipattern - The field 'isInstance' indicates linguistically it is a boolean, but it is 'IsInstanceService' |
3 |
15 |
inez.model - io/github/magwas/inez/query/GetServiceByNameServiceStub.java
inez.model - io/github/magwas/inez/query/QueryProcessorEndToEndTest.java
inez.model - io/github/magwas/inez/query/QueryProcessorTest.java
| Rule |
Violation |
Priority |
Line |
| TooManyMethods |
This class has too many methods, consider refactoring it. |
3 |
19–100 |
inez.model - io/github/magwas/inez/storage/AddReferencesServiceTest.java
inez.model - io/github/magwas/inez/storage/AddReferencesTest.java
inez.model - io/github/magwas/inez/storage/BridiStoreEndToEndTest.java
inez.model - io/github/magwas/inez/storage/RemoveReferencesTest.java