PMD Results

The following document contains the results of PMD 7.17.0.

Violations By Priority

Priority 1

io.github.magwas.inez.model.tests - io/github/magwas/inez/storage/BridiStoreEndToEndTest.java

Rule Violation Line
LocalVariableNamingConventions The local variable name 'CECILE_EATS_BANANA_REPR' doesn't match '[a-z][a-zA-Z0-9]*' 38
LocalVariableNamingConventions The local variable name 'CECILE_LOOKS_AT_BANANA_REPR' doesn't match '[a-z][a-zA-Z0-9]*' 39
LocalVariableNamingConventions The local variable name 'cecile_eats_banana' doesn't match '[a-z][a-zA-Z0-9]*' 40
LocalVariableNamingConventions The local variable name 'ceclie_looks_at_banana' doesn't match '[a-z][a-zA-Z0-9]*' 41
LocalVariableNamingConventions The local variable name 'looks_at_banana' doesn't match '[a-z][a-zA-Z0-9]*' 46
LocalVariableNamingConventions The local variable name 'looks_at' doesn't match '[a-z][a-zA-Z0-9]*' 48

io.github.magwas.inez.model - io/github/magwas/inez/element/GetBridiElementRepresentationService.java

Rule Violation Line
AvoidThrowingRawExceptionTypes Avoid throwing raw exception type Error. 20

io.github.magwas.inez.model - io/github/magwas/inez/element/GetBridiElementTypeIdService.java

Rule Violation Line
AvoidThrowingRawExceptionTypes Avoid throwing raw exception type Error. 19

io.github.magwas.inez.model - io/github/magwas/inez/element/IsOfTypeService.java

Rule Violation Line
AvoidThrowingRawExceptionTypes Avoid throwing raw exception type Error. 22

io.github.magwas.inez.model - io/github/magwas/inez/query/CreateBridisFromDefinitionService.java

Rule Violation Line
AvoidThrowingRawExceptionTypes Avoid throwing raw exception type Error. 23

io.github.magwas.inez.model - io/github/magwas/inez/query/QueryProcessorService.java

Rule Violation Line
AvoidThrowingRawExceptionTypes Avoid throwing raw exception type Error. 128

io.github.magwas.inez.ui - io/github/magwas/inez/ui/mindmap/visuals/MindMapNodeVisual.java

Rule Violation Line
ConstructorCallsOverridableMethod Overridable method called during object construction: Region.setMinSize(double, double) 66
ConstructorCallsOverridableMethod Overridable method called during object construction: Parent.getChildren() 70

io.github.magwas.inez.ui - io/github/magwas/inez/ui/tree/NewDiagramAction.java

Rule Violation Line
AvoidThrowingRawExceptionTypes Avoid throwing raw exception type Error. 50

Priority 2

io.github.magwas.inez.model.tests - io/github/magwas/inez/query/QueryProcessorEndToEndTest.java

Rule Violation Line
SystemPrintln Usage of System.out/err 75
SystemPrintln Usage of System.out/err 77

io.github.magwas.inez.model - io/github/magwas/inez/element/GetBridiElementRepresentationService.java

Rule Violation Line
SystemPrintln Usage of System.out/err 19

io.github.magwas.inez.model - io/github/magwas/inez/element/IsOfTypeService.java

Rule Violation Line
AvoidReassigningParameters Avoid reassigning parameters such as 'id' 19

io.github.magwas.inez.model - io/github/magwas/inez/osgi/SpringBootBundleActivator.java

Rule Violation Line
SystemPrintln Usage of System.out/err 47

io.github.magwas.inez.model - io/github/magwas/inez/query/CreateBridisFromParserOutputService.java

Rule Violation Line
SystemPrintln Usage of System.out/err 54

io.github.magwas.inez.model - io/github/magwas/inez/query/QueryProcessorService.java

Rule Violation Line
AvoidReassigningParameters Avoid reassigning parameters such as 'candidates' 181

io.github.magwas.inez.parser - io/github/magwas/inez/parse/ParserBundleActivator.java

Rule Violation Line
SystemPrintln Usage of System.out/err 38

io.github.magwas.inez.parser - io/github/magwas/inez/parse/ThrowingErrorListener.java

Rule Violation Line
SystemPrintln Usage of System.out/err 32

io.github.magwas.inez.ui - io/github/magwas/inez/ui/Application.java

Rule Violation Line
SystemPrintln Usage of System.out/err 18
SystemPrintln Usage of System.out/err 38

io.github.magwas.inez.ui - io/github/magwas/inez/ui/tree/ModelTreeContentProvider.java

Rule Violation Line
SystemPrintln Usage of System.out/err 18

io.github.magwas.inez.ui - io/github/magwas/inez/ui/tree/NewDiagramAction.java

Rule Violation Line
SystemPrintln Usage of System.out/err 42
SystemPrintln Usage of System.out/err 43

io.github.magwas.inez.ui - io/github/magwas/inez/ui/tree/TreeModelDragSourceLIstener.java

Rule Violation Line
SystemPrintln Usage of System.out/err 19
SystemPrintln Usage of System.out/err 29
SystemPrintln Usage of System.out/err 35

io.github.magwas.inez.ui - io/github/magwas/inez/ui/tree/TreeModelDropTargetListener.java

Rule Violation Line
SystemPrintln Usage of System.out/err 15
SystemPrintln Usage of System.out/err 20
SystemPrintln Usage of System.out/err 25
SystemPrintln Usage of System.out/err 34
SystemPrintln Usage of System.out/err 35
SystemPrintln Usage of System.out/err 41

Priority 3

io.github.magwas.inez.model.tests - io/github/magwas/inez/InezPluginTest.java

Rule Violation Line
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 23

io.github.magwas.inez.model.tests - io/github/magwas/inez/InezProblemsTest.java

Rule Violation Line
JUnit5TestShouldBePackagePrivate JUnit 5 tests should be package-private. 11
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 19

io.github.magwas.inez.model.tests - io/github/magwas/inez/TestConfig.java

Rule Violation Line
TestClassWithoutTestCases The class 'TestConfig' might be a test class, but it contains no test cases. 15

io.github.magwas.inez.model.tests - io/github/magwas/inez/element/BridiElementEndToEndTest.java

Rule Violation Line
LambdaCanBeMethodReference Lambda expression could be written as a method reference: `sumtiRepository::delete` 48
LambdaCanBeMethodReference Lambda expression could be written as a method reference: `bridiReferenceRepository::delete` 49
UnitTestContainsTooManyAsserts Unit tests should not contain more than 1 assert(s). 53
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 54
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 55
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 5861
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 65
UselessPureMethodCall Do not call pure method toArray if the result is not used. 66
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 70
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 71
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 73
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 7476
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 77
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 78
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 82
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 83
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 84
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 85
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 86
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 87
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 89
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 90
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 91
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 92
RelianceOnDefaultCharset Specify a character set instead of relying on the default charset 98

io.github.magwas.inez.model.tests - io/github/magwas/inez/element/BridiElementSystemInitializationServiceTest.java

Rule Violation Line
TooManyMethods This class has too many methods, consider refactoring it. 14115

io.github.magwas.inez.model.tests - io/github/magwas/inez/element/CreateBridiElementServiceTest.java

Rule Violation Line
TooManyMethods This class has too many methods, consider refactoring it. 20127
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 42
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 49
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 55
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 61
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 67
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 7375
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 81
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 8789
UnitTestContainsTooManyAsserts Unit tests should not contain more than 1 assert(s). 94
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 100
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 101

io.github.magwas.inez.model.tests - 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
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 20
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 26
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 32
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 38

io.github.magwas.inez.model.tests - io/github/magwas/inez/query/CreateBridisFromParserOutputTest.java

Rule Violation Line
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 27

io.github.magwas.inez.model.tests - io/github/magwas/inez/query/QueryProcessorEndToEndTest.java

Rule Violation Line
UnitTestContainsTooManyAsserts Unit tests should not contain more than 1 assert(s). 51
UselessPureMethodCall Do not call pure method toList if the result is not used. 52
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 53
AvoidDuplicateLiterals The String literal "putty" appears 4 times in this file; the first occurrence is on line 59 59
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 60
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 65
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 66
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 67
LambdaCanBeMethodReference Lambda expression could be written as a method reference: `Bridi::representation` 73
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 81

io.github.magwas.inez.model.tests - io/github/magwas/inez/query/QueryProcessorTest.java

Rule Violation Line
TooManyMethods This class has too many methods, consider refactoring it. 1999

io.github.magwas.inez.model.tests - io/github/magwas/inez/storage/AddReferencesServiceTest.java

Rule Violation Line
UnitTestContainsTooManyAsserts Unit tests should not contain more than 1 assert(s). 40
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 45
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 46
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 47
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 48
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 49
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 50

io.github.magwas.inez.model.tests - io/github/magwas/inez/storage/AddReferencesTest.java

Rule Violation Line
UnitTestShouldIncludeAssert This unit test should include assert() or fail() 19

io.github.magwas.inez.model.tests - io/github/magwas/inez/storage/BridiStoreEndToEndTest.java

Rule Violation Line
UnitTestContainsTooManyAsserts Unit tests should not contain more than 1 assert(s). 32
UselessPureMethodCall Do not call pure method toArray if the result is not used. 33
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 34
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 49
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 54
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 56

io.github.magwas.inez.model.tests - io/github/magwas/inez/storage/CreateBridiFromSumtiTest.java

Rule Violation Line
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 21

io.github.magwas.inez.model.tests - io/github/magwas/inez/storage/DeleteBridiTest.java

Rule Violation Line
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 26

io.github.magwas.inez.model.tests - io/github/magwas/inez/storage/FindAllByRepresentationTest.java

Rule Violation Line
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 2325

io.github.magwas.inez.model.tests - io/github/magwas/inez/storage/FindAllIdByRepresentationTest.java

Rule Violation Line
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 2224

io.github.magwas.inez.model.tests - io/github/magwas/inez/storage/FindBridiByIdTest.java

Rule Violation Line
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 22
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 28

io.github.magwas.inez.model.tests - io/github/magwas/inez/storage/GetBridiIdBySelbriAndSumtiIdsTest.java

Rule Violation Line
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 2427

io.github.magwas.inez.model.tests - io/github/magwas/inez/storage/RemoveReferencesTest.java

Rule Violation Line
UnitTestShouldIncludeAssert This unit test should include assert() or fail() 22

io.github.magwas.inez.model.tests - io/github/magwas/inez/storage/SaveBridiTest.java

Rule Violation Line
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 25
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 80

io.github.magwas.inez.model - io/github/magwas/inez/Inez.java

Rule Violation Line
TooManyMethods This class has too many methods, consider refactoring it. 1336

io.github.magwas.inez.model - io/github/magwas/inez/InezImpl.java

Rule Violation Line
CouplingBetweenObjects A value of 24 may denote a high amount of coupling within the class (threshold: 20) 1156
MissingStaticMethodInNonInstantiatableClass Class cannot be instantiated and does not provide any static methods or fields 36
TooManyMethods This class has too many methods, consider refactoring it. 36156
AvoidFieldNameMatchingMethodName Field findAllByRepresentation has the same name as a method 68
AutowiredFields @Autowired fields naming conventions 74
AvoidFieldNameMatchingMethodName Field createSumti has the same name as a method 80
DelegateMethods Delegate methods should only delegate 95
DelegateMethods Delegate methods should only delegate 100

io.github.magwas.inez.model - io/github/magwas/inez/InezPlugin.java

Rule Violation Line
ClassesShouldBeKnown Classes should be either Data, Service,Controller,Repository 3

io.github.magwas.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
AvoidLiteralsInIfCondition Avoid using literals such as 1 in if statements 75
DelegateMethods Delegate methods should only delegate 109
DelegateMethods Delegate methods should only delegate 118

io.github.magwas.inez.model - io/github/magwas/inez/element/BridiElementFactory.java

Rule Violation Line
AutowiredFields @Autowired fields naming conventions 11

io.github.magwas.inez.model - io/github/magwas/inez/element/BridiElementSystemInitializationService.java

Rule Violation Line
AutowiredFields @Autowired fields naming conventions 14

io.github.magwas.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

io.github.magwas.inez.model - io/github/magwas/inez/element/ElementConstants.java

Rule Violation Line
ClassesShouldBeKnown Classes should be either Data, Service,Controller,Repository 3

io.github.magwas.inez.model - io/github/magwas/inez/element/GetBridiElementChildrenService.java

Rule Violation Line
AutowiredFields @Autowired fields naming conventions 21

io.github.magwas.inez.model - io/github/magwas/inez/element/GetBridiElementReferenceIdsService.java

Rule Violation Line
LambdaCanBeMethodReference Lambda expression could be written as a method reference: `BridiReference::sumtiId` 19

io.github.magwas.inez.model - io/github/magwas/inez/element/GetBridiElementReferencesService.java

Rule Violation Line
AutowiredFields @Autowired fields naming conventions 14

io.github.magwas.inez.model - io/github/magwas/inez/element/GetBridiElementTypeIdService.java

Rule Violation Line
AvoidLiteralsInIfCondition Avoid using literals such as 1 in if statements 18

io.github.magwas.inez.model - io/github/magwas/inez/element/GetBridiElementTypeService.java

Rule Violation Line
AutowiredFields @Autowired fields naming conventions 12

io.github.magwas.inez.model - io/github/magwas/inez/element/GetRelativeForBridiElementService.java

Rule Violation Line
LambdaCanBeMethodReference Lambda expression could be written as a method reference: `Optional::isPresent` 26

io.github.magwas.inez.model - io/github/magwas/inez/functions/Save.java

Rule Violation Line
AutowiredFields @Autowired fields naming conventions 20

io.github.magwas.inez.model - io/github/magwas/inez/osgi/SpringBootBundleActivator.java

Rule Violation Line
MutableStaticState Do not use non-final non-private static fields 28
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 41
UseProperClassLoader In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. 41

io.github.magwas.inez.model - io/github/magwas/inez/query/BridiFunction.java

Rule Violation Line
ClassesShouldBeKnown Classes should be either Data, Service,Controller,Repository 9

io.github.magwas.inez.model - io/github/magwas/inez/query/CreateBridisFromDefinitionService.java

Rule Violation Line
RelianceOnDefaultCharset Specify a character set instead of relying on the default charset 31

io.github.magwas.inez.model - io/github/magwas/inez/query/CreateBridisFromParserOutputService.java

Rule Violation Line
AvoidLiteralsInIfCondition Avoid using literals such as 1 in if statements 54

io.github.magwas.inez.model - io/github/magwas/inez/query/CreateBridisFromQueryService.java

Rule Violation Line
AutowiredFields @Autowired fields naming conventions 27

io.github.magwas.inez.model - io/github/magwas/inez/query/QueryProcessorService.java

Rule Violation Line
CyclomaticComplexity The class 'QueryProcessorService' has a total cyclomatic complexity of 26 (highest 5). 33
AutowiredFields @Autowired fields naming conventions 54
LambdaCanBeMethodReference Lambda expression could be written as a method reference: `this::apply` 57
AvoidLiteralsInIfCondition Avoid using literals such as 1 in if statements 118
AvoidLiteralsInIfCondition Avoid using literals such as 1 in if statements 128

io.github.magwas.inez.model - io/github/magwas/inez/storage/AddReferencesService.java

Rule Violation Line
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 23

io.github.magwas.inez.model - io/github/magwas/inez/storage/BridiStoreChangeListenersService.java

Rule Violation Line
ClassesShouldBeKnown Classes should be either Data, Service,Controller,Repository 11

io.github.magwas.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

io.github.magwas.inez.parser.tests - io/github/magwas/inez/parse/ParseTextPluginTest.java

Rule Violation Line
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 23

io.github.magwas.inez.parser.tests - io/github/magwas/inez/parse/ParseTextTest.java

Rule Violation Line
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 25
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 33
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 41
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 49
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 6971
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 7781

io.github.magwas.inez.parser - io/github/magwas/inez/parse/ParseTextService.java

Rule Violation Line
CyclomaticComplexity The method 'compileBridiFromTree(BridiContext)' has a cyclomatic complexity of 10. 37
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 40
AvoidLiteralsInIfCondition Avoid using literals such as "{[" in if statements 47
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 47
AvoidLiteralsInIfCondition Avoid using literals such as "]}" in if statements 48
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 48
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 48
AssignmentInOperand Avoid assignment to childIndex in operand 57
AssignmentInOperand Avoid assignment to childIndex in operand 61
AssignmentInOperand Avoid assignment to childIndex in operand 66

io.github.magwas.inez.parser - io/github/magwas/inez/parse/ParserBundleActivator.java

Rule Violation Line
ClassesShouldBeKnown Classes should be either Data, Service,Controller,Repository 20
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 32
ReplaceHashtableWithMap Consider replacing this Hashtable with the newer java.util.Map 37
UseDiamondOperator Explicit type arguments can be replaced by a diamond: `new Hashtable<>()` 37

io.github.magwas.inez.parser - io/github/magwas/inez/parse/ParserConstants.java

Rule Violation Line
ClassesShouldBeKnown Classes should be either Data, Service,Controller,Repository 3

io.github.magwas.inez.parser - io/github/magwas/inez/parse/ThrowingErrorListener.java

Rule Violation Line
ImmutableField Field 'input' may be declared final 13

io.github.magwas.inez.parser - io/github/magwas/inez/parser/BridiBaseListener.java

Rule Violation Line
CommentRequired Class comments are unwanted 14
ClassesShouldBeKnown Classes should be either Data, Service,Controller,Repository 14
TooManyMethods This class has too many methods, consider refactoring it. 1488
CommentRequired Comments on @Override methods are unwanted 20
CommentRequired Comments on @Override methods are unwanted 26
CommentRequired Comments on @Override methods are unwanted 32
CommentRequired Comments on @Override methods are unwanted 38
CommentRequired Comments on @Override methods are unwanted 44
CommentRequired Comments on @Override methods are unwanted 50
CommentRequired Comments on @Override methods are unwanted 56
CommentRequired Comments on @Override methods are unwanted 62
CommentRequired Comments on @Override methods are unwanted 69
CommentRequired Comments on @Override methods are unwanted 75
CommentRequired Comments on @Override methods are unwanted 81
CommentRequired Comments on @Override methods are unwanted 87

io.github.magwas.inez.parser - io/github/magwas/inez/parser/BridiListener.java

Rule Violation Line
CommentRequired Class comments are unwanted 9
ClassesShouldBeKnown Classes should be either Data, Service,Controller,Repository 9
CommentRequired Public method and constructor comments are unwanted 14
CommentRequired Public method and constructor comments are unwanted 19
CommentRequired Public method and constructor comments are unwanted 24
CommentRequired Public method and constructor comments are unwanted 29
CommentRequired Public method and constructor comments are unwanted 34
CommentRequired Public method and constructor comments are unwanted 39
CommentRequired Public method and constructor comments are unwanted 44
CommentRequired Public method and constructor comments are unwanted 49

io.github.magwas.inez.ui.tests - io/github/magwas/inez/ui/tree/MyEditorInputTest.java

Rule Violation Line
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 19

io.github.magwas.inez.ui - io/github/magwas/inez/ui/Application.java

Rule Violation Line
ClassesShouldBeKnown Classes should be either Data, Service,Controller,Repository 14

io.github.magwas.inez.ui - io/github/magwas/inez/ui/ApplicationActionBarAdvisor.java

Rule Violation Line
CommentRequired Class comments are unwanted 11
ClassesShouldBeKnown Classes should be either Data, Service,Controller,Repository 11
MethodArgumentCouldBeFinal Parameter 'configurer' is not assigned and could be declared final 18

io.github.magwas.inez.ui - io/github/magwas/inez/ui/ApplicationWorkbenchAdvisor.java

Rule Violation Line
ClassesShouldBeKnown Classes should be either Data, Service,Controller,Repository 7
MethodArgumentCouldBeFinal Parameter 'configurer' is not assigned and could be declared final 11

io.github.magwas.inez.ui - io/github/magwas/inez/ui/ApplicationWorkbenchWindowAdvisor.java

Rule Violation Line
ClassesShouldBeKnown Classes should be either Data, Service,Controller,Repository 9
MethodArgumentCouldBeFinal Parameter 'configurer' is not assigned and could be declared final 12
MethodArgumentCouldBeFinal Parameter 'configurer' is not assigned and could be declared final 18

io.github.magwas.inez.ui - io/github/magwas/inez/ui/Perspective.java

Rule Violation Line
ClassesShouldBeKnown Classes should be either Data, Service,Controller,Repository 11
SingularField Perhaps 'folderLayoutLeftTop' could be replaced by a local variable. 17
UnusedPrivateField Avoid unused private fields such as 'folderLayoutLeftBottom'. 18
SingularField Perhaps 'folderLayoutRight' could be replaced by a local variable. 19
SingularField Perhaps 'folderLayoutBottom' could be replaced by a local variable. 20
MethodArgumentCouldBeFinal Parameter 'layout' is not assigned and could be declared final 23

io.github.magwas.inez.ui - io/github/magwas/inez/ui/editor/ModelEditorView.java

Rule Violation Line
ClassesShouldBeKnown Classes should be either Data, Service,Controller,Repository 21
MutableStaticState Do not use non-final non-private static fields 23
MethodArgumentCouldBeFinal Parameter 'parent' is not assigned and could be declared final 26
CloseResource Ensure that resources like this MindMapConnectionVisual object are closed after use 42
MethodArgumentCouldBeFinal Parameter 'site' is not assigned and could be declared final 70
MethodArgumentCouldBeFinal Parameter 'input' is not assigned and could be declared final 70

io.github.magwas.inez.ui - io/github/magwas/inez/ui/mindmap/AbstractMindMapItem.java

Rule Violation Line
ClassesShouldBeKnown Classes should be either Data, Service,Controller,Repository 7
MethodArgumentCouldBeFinal Parameter 'listener' is not assigned and could be declared final 13
MethodArgumentCouldBeFinal Parameter 'listener' is not assigned and could be declared final 17

io.github.magwas.inez.ui - io/github/magwas/inez/ui/mindmap/MindMapConnection.java

Rule Violation Line
ClassesShouldBeKnown Classes should be either Data, Service,Controller,Repository 3
CommentRequired Serial version UID comments are unwanted 8
MethodArgumentCouldBeFinal Parameter 'source' is not assigned and could be declared final 14
MethodArgumentCouldBeFinal Parameter 'target' is not assigned and could be declared final 14
CompareObjectsWithEquals Use equals() to compare object references. 15
MethodArgumentCouldBeFinal Parameter 'source' is not assigned and could be declared final 48
MethodArgumentCouldBeFinal Parameter 'target' is not assigned and could be declared final 52

io.github.magwas.inez.ui - io/github/magwas/inez/ui/mindmap/MindMapNode.java

Rule Violation Line
ClassesShouldBeKnown Classes should be either Data, Service,Controller,Repository 10
CommentRequired Serial version UID comments are unwanted 15
CommentRequired Field comments are unwanted 27
CommentRequired Field comments are unwanted 32
CommentRequired Field comments are unwanted 37
CommentRequired Field comments are unwanted 42
ImmutableField Field 'incomingConnections' may be declared final 44
ImmutableField Field 'outgoingConnections' may be declared final 45
MethodArgumentCouldBeFinal Parameter 'conn' is not assigned and could be declared final 47
MethodArgumentCouldBeFinal Parameter 'conn' is not assigned and could be declared final 52
MethodArgumentCouldBeFinal Parameter 'conn' is not assigned and could be declared final 81
MethodArgumentCouldBeFinal Parameter 'conn' is not assigned and could be declared final 86
MethodArgumentCouldBeFinal Parameter 'bounds' is not assigned and could be declared final 91
AssignmentInOperand Avoid assignments in operands 93
MethodArgumentCouldBeFinal Parameter 'color' is not assigned and could be declared final 96
AssignmentInOperand Avoid assignments in operands 97
MethodArgumentCouldBeFinal Parameter 'description' is not assigned and could be declared final 100
AssignmentInOperand Avoid assignments in operands 102
MethodArgumentCouldBeFinal Parameter 'title' is not assigned and could be declared final 105
AssignmentInOperand Avoid assignments in operands 106

io.github.magwas.inez.ui - io/github/magwas/inez/ui/mindmap/SimpleMindMap.java

Rule Violation Line
ClassesShouldBeKnown Classes should be either Data, Service,Controller,Repository 6
ImmutableField Field 'childElements' may be declared final 12
MethodArgumentCouldBeFinal Parameter 'node' is not assigned and could be declared final 14
MethodArgumentCouldBeFinal Parameter 'node' is not assigned and could be declared final 19
MethodArgumentCouldBeFinal Parameter 'idx' is not assigned and could be declared final 19
MethodArgumentCouldBeFinal Parameter 'node' is not assigned and could be declared final 28

io.github.magwas.inez.ui - io/github/magwas/inez/ui/mindmap/SimpleMindMapExampleFactory.java

Rule Violation Line
ClassesShouldBeKnown Classes should be either Data, Service,Controller,Repository 7
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 25
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 31
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 34

io.github.magwas.inez.ui - io/github/magwas/inez/ui/mindmap/visuals/ArrowHead.java

Rule Violation Line
ClassesShouldBeKnown Classes should be either Data, Service,Controller,Repository 5

io.github.magwas.inez.ui - io/github/magwas/inez/ui/mindmap/visuals/MindMapConnectionVisual.java

Rule Violation Line
ClassesShouldBeKnown Classes should be either Data, Service,Controller,Repository 7

io.github.magwas.inez.ui - io/github/magwas/inez/ui/mindmap/visuals/MindMapNodeVisual.java

Rule Violation Line
ClassesShouldBeKnown Classes should be either Data, Service,Controller,Repository 16
ImmutableField Field 'titleText' may be declared final 22
ImmutableField Field 'descriptionFlow' may be declared final 23
SingularField Perhaps 'descriptionFlow' could be replaced by a local variable. 23
ImmutableField Field 'descriptionText' may be declared final 24
ImmutableField Field 'shape' may be declared final 25
ImmutableField Field 'labelVBox' may be declared final 26
MethodArgumentCouldBeFinal Parameter 'width' is not assigned and could be declared final 74
MethodArgumentCouldBeFinal Parameter 'width' is not assigned and could be declared final 88
MethodArgumentCouldBeFinal Parameter 'height' is not assigned and could be declared final 93
MethodArgumentCouldBeFinal Parameter 'color' is not assigned and could be declared final 114
MethodArgumentCouldBeFinal Parameter 'description' is not assigned and could be declared final 118
MethodArgumentCouldBeFinal Parameter 'title' is not assigned and could be declared final 122

io.github.magwas.inez.ui - io/github/magwas/inez/ui/tree/ModelTreeContentProvider.java

Rule Violation Line
ClassesShouldBeKnown Classes should be either Data, Service,Controller,Repository 11
MethodArgumentCouldBeFinal Parameter 'inputElement' is not assigned and could be declared final 17
MethodArgumentCouldBeFinal Parameter 'parentElement' is not assigned and could be declared final 23
MethodArgumentCouldBeFinal Parameter 'element' is not assigned and could be declared final 28
MethodArgumentCouldBeFinal Parameter 'element' is not assigned and could be declared final 33

io.github.magwas.inez.ui - io/github/magwas/inez/ui/tree/ModelTreeLabelProvider.java

Rule Violation Line
ClassesShouldBeKnown Classes should be either Data, Service,Controller,Repository 13
MethodArgumentCouldBeFinal Parameter 'element' is not assigned and could be declared final 49

io.github.magwas.inez.ui - io/github/magwas/inez/ui/tree/MyEditorInput.java

Rule Violation Line
ClassesShouldBeKnown Classes should be either Data, Service,Controller,Repository 9
ImmutableField Field 'model' may be declared final 11
MethodArgumentCouldBeFinal Parameter 'model' is not assigned and could be declared final 13

io.github.magwas.inez.ui - io/github/magwas/inez/ui/tree/NewDiagramAction.java

Rule Violation Line
ClassesShouldBeKnown Classes should be either Data, Service,Controller,Repository 17
MethodArgumentCouldBeFinal Parameter 'selection' is not assigned and could be declared final 30

io.github.magwas.inez.ui - io/github/magwas/inez/ui/tree/TreeModelDragSourceLIstener.java

Rule Violation Line
ClassesShouldBeKnown Classes should be either Data, Service,Controller,Repository 9
ImmutableField Field 'viewer' may be declared final 11
MethodArgumentCouldBeFinal Parameter 'viewer' is not assigned and could be declared final 13
MethodArgumentCouldBeFinal Parameter 'event' is not assigned and could be declared final 18
MethodArgumentCouldBeFinal Parameter 'event' is not assigned and could be declared final 28
MethodArgumentCouldBeFinal Parameter 'event' is not assigned and could be declared final 34

io.github.magwas.inez.ui - io/github/magwas/inez/ui/tree/TreeModelDropTargetListener.java

Rule Violation Line
ClassesShouldBeKnown Classes should be either Data, Service,Controller,Repository 8
MethodArgumentCouldBeFinal Parameter 'event' is not assigned and could be declared final 33
MethodArgumentCouldBeFinal Parameter 'event' is not assigned and could be declared final 40

io.github.magwas.inez.ui - io/github/magwas/inez/ui/tree/TreeModelView.java

Rule Violation Line
ClassesShouldBeKnown Classes should be either Data, Service,Controller,Repository 19
MethodArgumentCouldBeFinal Parameter 'parent' is not assigned and could be declared final 36
UseShortArrayInitializer Array initialization can be written shorter 4142

Priority 4

io.github.magwas.inez.model - io/github/magwas/inez/Inez.java

Rule Violation Line
ShortClassName Avoid short class names like Inez 13

io.github.magwas.inez.model - io/github/magwas/inez/functions/Save.java

Rule Violation Line
ShortClassName Avoid short class names like Save 17

io.github.magwas.inez.parser - io/github/magwas/inez/parser/BridiLexer.java

Rule Violation Line
UnnecessaryImport Unused import 'org.antlr.v4.runtime.Token' 5
UnnecessaryImport Unused import 'org.antlr.v4.runtime.TokenStream' 6
UnnecessaryImport Unused import 'org.antlr.v4.runtime.misc.*' 10

io.github.magwas.inez.parser - io/github/magwas/inez/parser/BridiParser.java

Rule Violation Line
UnnecessaryImport Unused import 'org.antlr.v4.runtime.misc.*' 6
UnnecessaryImport Unused import 'java.util.Iterator' 9
UnnecessaryImport Unused import 'java.util.ArrayList' 10

Files

io.github.magwas.inez.model.tests - io/github/magwas/inez/InezPluginTest.java

Rule Violation Priority Line
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 3 23

io.github.magwas.inez.model.tests - io/github/magwas/inez/InezProblemsTest.java

Rule Violation Priority Line
JUnit5TestShouldBePackagePrivate JUnit 5 tests should be package-private. 3 11
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 3 19

io.github.magwas.inez.model.tests - io/github/magwas/inez/TestConfig.java

Rule Violation Priority Line
TestClassWithoutTestCases The class 'TestConfig' might be a test class, but it contains no test cases. 3 15

io.github.magwas.inez.model.tests - io/github/magwas/inez/element/BridiElementEndToEndTest.java

Rule Violation Priority Line
LambdaCanBeMethodReference Lambda expression could be written as a method reference: `sumtiRepository::delete` 3 48
LambdaCanBeMethodReference Lambda expression could be written as a method reference: `bridiReferenceRepository::delete` 3 49
UnitTestContainsTooManyAsserts Unit tests should not contain more than 1 assert(s). 3 53
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 3 54
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 3 55
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 3 5861
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 3 65
UselessPureMethodCall Do not call pure method toArray if the result is not used. 3 66
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 3 70
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 3 71
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 3 73
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 3 7476
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 3 77
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 3 78
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 3 82
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 3 83
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 3 84
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 3 85
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 3 86
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 3 87
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 3 89
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 3 90
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 3 91
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 3 92
RelianceOnDefaultCharset Specify a character set instead of relying on the default charset 3 98

io.github.magwas.inez.model.tests - io/github/magwas/inez/element/BridiElementSystemInitializationServiceTest.java

Rule Violation Priority Line
TooManyMethods This class has too many methods, consider refactoring it. 3 14115

io.github.magwas.inez.model.tests - io/github/magwas/inez/element/CreateBridiElementServiceTest.java

Rule Violation Priority Line
TooManyMethods This class has too many methods, consider refactoring it. 3 20127
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 3 42
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 3 49
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 3 55
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 3 61
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 3 67
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 3 7375
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 3 81
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 3 8789
UnitTestContainsTooManyAsserts Unit tests should not contain more than 1 assert(s). 3 94
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 3 100
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 3 101

io.github.magwas.inez.model.tests - 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
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 3 20
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 3 26
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 3 32
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 3 38

io.github.magwas.inez.model.tests - io/github/magwas/inez/query/CreateBridisFromParserOutputTest.java

Rule Violation Priority Line
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 3 27

io.github.magwas.inez.model.tests - io/github/magwas/inez/query/QueryProcessorEndToEndTest.java

Rule Violation Priority Line
UnitTestContainsTooManyAsserts Unit tests should not contain more than 1 assert(s). 3 51
UselessPureMethodCall Do not call pure method toList if the result is not used. 3 52
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 3 53
AvoidDuplicateLiterals The String literal "putty" appears 4 times in this file; the first occurrence is on line 59 3 59
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 3 60
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 3 65
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 3 66
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 3 67
LambdaCanBeMethodReference Lambda expression could be written as a method reference: `Bridi::representation` 3 73
SystemPrintln Usage of System.out/err 2 75
SystemPrintln Usage of System.out/err 2 77
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 3 81

io.github.magwas.inez.model.tests - io/github/magwas/inez/query/QueryProcessorTest.java

Rule Violation Priority Line
TooManyMethods This class has too many methods, consider refactoring it. 3 1999

io.github.magwas.inez.model.tests - io/github/magwas/inez/storage/AddReferencesServiceTest.java

Rule Violation Priority Line
UnitTestContainsTooManyAsserts Unit tests should not contain more than 1 assert(s). 3 40
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 3 45
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 3 46
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 3 47
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 3 48
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 3 49
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 3 50

io.github.magwas.inez.model.tests - io/github/magwas/inez/storage/AddReferencesTest.java

Rule Violation Priority Line
UnitTestShouldIncludeAssert This unit test should include assert() or fail() 3 19

io.github.magwas.inez.model.tests - io/github/magwas/inez/storage/BridiStoreEndToEndTest.java

Rule Violation Priority Line
UnitTestContainsTooManyAsserts Unit tests should not contain more than 1 assert(s). 3 32
UselessPureMethodCall Do not call pure method toArray if the result is not used. 3 33
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 3 34
LocalVariableNamingConventions The local variable name 'CECILE_EATS_BANANA_REPR' doesn't match '[a-z][a-zA-Z0-9]*' 1 38
LocalVariableNamingConventions The local variable name 'CECILE_LOOKS_AT_BANANA_REPR' doesn't match '[a-z][a-zA-Z0-9]*' 1 39
LocalVariableNamingConventions The local variable name 'cecile_eats_banana' doesn't match '[a-z][a-zA-Z0-9]*' 1 40
LocalVariableNamingConventions The local variable name 'ceclie_looks_at_banana' doesn't match '[a-z][a-zA-Z0-9]*' 1 41
LocalVariableNamingConventions The local variable name 'looks_at_banana' doesn't match '[a-z][a-zA-Z0-9]*' 1 46
LocalVariableNamingConventions The local variable name 'looks_at' doesn't match '[a-z][a-zA-Z0-9]*' 1 48
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 3 49
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 3 54
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 3 56

io.github.magwas.inez.model.tests - io/github/magwas/inez/storage/CreateBridiFromSumtiTest.java

Rule Violation Priority Line
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 3 21

io.github.magwas.inez.model.tests - io/github/magwas/inez/storage/DeleteBridiTest.java

Rule Violation Priority Line
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 3 26

io.github.magwas.inez.model.tests - io/github/magwas/inez/storage/FindAllByRepresentationTest.java

Rule Violation Priority Line
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 3 2325

io.github.magwas.inez.model.tests - io/github/magwas/inez/storage/FindAllIdByRepresentationTest.java

Rule Violation Priority Line
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 3 2224

io.github.magwas.inez.model.tests - io/github/magwas/inez/storage/FindBridiByIdTest.java

Rule Violation Priority Line
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 3 22
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 3 28

io.github.magwas.inez.model.tests - io/github/magwas/inez/storage/GetBridiIdBySelbriAndSumtiIdsTest.java

Rule Violation Priority Line
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 3 2427

io.github.magwas.inez.model.tests - io/github/magwas/inez/storage/RemoveReferencesTest.java

Rule Violation Priority Line
UnitTestShouldIncludeAssert This unit test should include assert() or fail() 3 22

io.github.magwas.inez.model.tests - io/github/magwas/inez/storage/SaveBridiTest.java

Rule Violation Priority Line
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 3 25
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 3 80

io.github.magwas.inez.model - io/github/magwas/inez/Inez.java

Rule Violation Priority Line
ShortClassName Avoid short class names like Inez 4 13
TooManyMethods This class has too many methods, consider refactoring it. 3 1336

io.github.magwas.inez.model - io/github/magwas/inez/InezImpl.java

Rule Violation Priority Line
CouplingBetweenObjects A value of 24 may denote a high amount of coupling within the class (threshold: 20) 3 1156
MissingStaticMethodInNonInstantiatableClass Class cannot be instantiated and does not provide any static methods or fields 3 36
TooManyMethods This class has too many methods, consider refactoring it. 3 36156
AvoidFieldNameMatchingMethodName Field findAllByRepresentation has the same name as a method 3 68
AutowiredFields @Autowired fields naming conventions 3 74
AvoidFieldNameMatchingMethodName Field createSumti has the same name as a method 3 80
DelegateMethods Delegate methods should only delegate 3 95
DelegateMethods Delegate methods should only delegate 3 100

io.github.magwas.inez.model - io/github/magwas/inez/InezPlugin.java

Rule Violation Priority Line
ClassesShouldBeKnown Classes should be either Data, Service,Controller,Repository 3 3

io.github.magwas.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
AvoidLiteralsInIfCondition Avoid using literals such as 1 in if statements 3 75
DelegateMethods Delegate methods should only delegate 3 109
DelegateMethods Delegate methods should only delegate 3 118

io.github.magwas.inez.model - io/github/magwas/inez/element/BridiElementFactory.java

Rule Violation Priority Line
AutowiredFields @Autowired fields naming conventions 3 11

io.github.magwas.inez.model - io/github/magwas/inez/element/BridiElementSystemInitializationService.java

Rule Violation Priority Line
AutowiredFields @Autowired fields naming conventions 3 14

io.github.magwas.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

io.github.magwas.inez.model - io/github/magwas/inez/element/ElementConstants.java

Rule Violation Priority Line
ClassesShouldBeKnown Classes should be either Data, Service,Controller,Repository 3 3

io.github.magwas.inez.model - io/github/magwas/inez/element/GetBridiElementChildrenService.java

Rule Violation Priority Line
AutowiredFields @Autowired fields naming conventions 3 21

io.github.magwas.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

io.github.magwas.inez.model - io/github/magwas/inez/element/GetBridiElementReferencesService.java

Rule Violation Priority Line
AutowiredFields @Autowired fields naming conventions 3 14

io.github.magwas.inez.model - io/github/magwas/inez/element/GetBridiElementRepresentationService.java

Rule Violation Priority Line
SystemPrintln Usage of System.out/err 2 19
AvoidThrowingRawExceptionTypes Avoid throwing raw exception type Error. 1 20

io.github.magwas.inez.model - io/github/magwas/inez/element/GetBridiElementTypeIdService.java

Rule Violation Priority Line
AvoidLiteralsInIfCondition Avoid using literals such as 1 in if statements 3 18
AvoidThrowingRawExceptionTypes Avoid throwing raw exception type Error. 1 19

io.github.magwas.inez.model - io/github/magwas/inez/element/GetBridiElementTypeService.java

Rule Violation Priority Line
AutowiredFields @Autowired fields naming conventions 3 12

io.github.magwas.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

io.github.magwas.inez.model - io/github/magwas/inez/element/IsOfTypeService.java

Rule Violation Priority Line
AvoidReassigningParameters Avoid reassigning parameters such as 'id' 2 19
AvoidThrowingRawExceptionTypes Avoid throwing raw exception type Error. 1 22

io.github.magwas.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

io.github.magwas.inez.model - io/github/magwas/inez/osgi/SpringBootBundleActivator.java

Rule Violation Priority Line
MutableStaticState Do not use non-final non-private static fields 3 28
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 41
UseProperClassLoader In J2EE, getClassLoader() might not work as expected. Use Thread.currentThread().getContextClassLoader() instead. 3 41
SystemPrintln Usage of System.out/err 2 47

io.github.magwas.inez.model - io/github/magwas/inez/query/BridiFunction.java

Rule Violation Priority Line
ClassesShouldBeKnown Classes should be either Data, Service,Controller,Repository 3 9

io.github.magwas.inez.model - io/github/magwas/inez/query/CreateBridisFromDefinitionService.java

Rule Violation Priority Line
AvoidThrowingRawExceptionTypes Avoid throwing raw exception type Error. 1 23
RelianceOnDefaultCharset Specify a character set instead of relying on the default charset 3 31

io.github.magwas.inez.model - io/github/magwas/inez/query/CreateBridisFromParserOutputService.java

Rule Violation Priority Line
AvoidLiteralsInIfCondition Avoid using literals such as 1 in if statements 3 54
SystemPrintln Usage of System.out/err 2 54

io.github.magwas.inez.model - io/github/magwas/inez/query/CreateBridisFromQueryService.java

Rule Violation Priority Line
AutowiredFields @Autowired fields naming conventions 3 27

io.github.magwas.inez.model - io/github/magwas/inez/query/QueryProcessorService.java

Rule Violation Priority Line
CyclomaticComplexity The class 'QueryProcessorService' has a total cyclomatic complexity of 26 (highest 5). 3 33
AutowiredFields @Autowired fields naming conventions 3 54
LambdaCanBeMethodReference Lambda expression could be written as a method reference: `this::apply` 3 57
AvoidLiteralsInIfCondition Avoid using literals such as 1 in if statements 3 118
AvoidLiteralsInIfCondition Avoid using literals such as 1 in if statements 3 128
AvoidThrowingRawExceptionTypes Avoid throwing raw exception type Error. 1 128
AvoidReassigningParameters Avoid reassigning parameters such as 'candidates' 2 181

io.github.magwas.inez.model - io/github/magwas/inez/storage/AddReferencesService.java

Rule Violation Priority Line
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 23

io.github.magwas.inez.model - io/github/magwas/inez/storage/BridiStoreChangeListenersService.java

Rule Violation Priority Line
ClassesShouldBeKnown Classes should be either Data, Service,Controller,Repository 3 11

io.github.magwas.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

io.github.magwas.inez.parser.tests - io/github/magwas/inez/parse/ParseTextPluginTest.java

Rule Violation Priority Line
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 3 23

io.github.magwas.inez.parser.tests - io/github/magwas/inez/parse/ParseTextTest.java

Rule Violation Priority Line
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 3 25
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 3 33
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 3 41
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 3 49
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 3 6971
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 3 7781

io.github.magwas.inez.parser - io/github/magwas/inez/parse/ParseTextService.java

Rule Violation Priority Line
CyclomaticComplexity The method 'compileBridiFromTree(BridiContext)' has a cyclomatic complexity of 10. 3 37
UseConcurrentHashMap If you run in Java5 or newer and have concurrent access, you should use the ConcurrentHashMap implementation 3 40
AvoidLiteralsInIfCondition Avoid using literals such as "{[" in if statements 3 47
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 47
AvoidLiteralsInIfCondition Avoid using literals such as "]}" in if statements 3 48
ConsecutiveAppendsShouldReuse StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 3 48
AppendCharacterWithChar Avoid appending characters as strings in StringBuffer.append. 3 48
AssignmentInOperand Avoid assignment to childIndex in operand 3 57
AssignmentInOperand Avoid assignment to childIndex in operand 3 61
AssignmentInOperand Avoid assignment to childIndex in operand 3 66

io.github.magwas.inez.parser - io/github/magwas/inez/parse/ParserBundleActivator.java

Rule Violation Priority Line
ClassesShouldBeKnown Classes should be either Data, Service,Controller,Repository 3 20
DoNotUseThreads To be compliant to J2EE, a webapp should not use any thread. 3 32
ReplaceHashtableWithMap Consider replacing this Hashtable with the newer java.util.Map 3 37
UseDiamondOperator Explicit type arguments can be replaced by a diamond: `new Hashtable<>()` 3 37
SystemPrintln Usage of System.out/err 2 38

io.github.magwas.inez.parser - io/github/magwas/inez/parse/ParserConstants.java

Rule Violation Priority Line
ClassesShouldBeKnown Classes should be either Data, Service,Controller,Repository 3 3

io.github.magwas.inez.parser - io/github/magwas/inez/parse/ThrowingErrorListener.java

Rule Violation Priority Line
ImmutableField Field 'input' may be declared final 3 13
SystemPrintln Usage of System.out/err 2 32

io.github.magwas.inez.parser - io/github/magwas/inez/parser/BridiBaseListener.java

Rule Violation Priority Line
CommentRequired Class comments are unwanted 3 14
ClassesShouldBeKnown Classes should be either Data, Service,Controller,Repository 3 14
TooManyMethods This class has too many methods, consider refactoring it. 3 1488
CommentRequired Comments on @Override methods are unwanted 3 20
CommentRequired Comments on @Override methods are unwanted 3 26
CommentRequired Comments on @Override methods are unwanted 3 32
CommentRequired Comments on @Override methods are unwanted 3 38
CommentRequired Comments on @Override methods are unwanted 3 44
CommentRequired Comments on @Override methods are unwanted 3 50
CommentRequired Comments on @Override methods are unwanted 3 56
CommentRequired Comments on @Override methods are unwanted 3 62
CommentRequired Comments on @Override methods are unwanted 3 69
CommentRequired Comments on @Override methods are unwanted 3 75
CommentRequired Comments on @Override methods are unwanted 3 81
CommentRequired Comments on @Override methods are unwanted 3 87

io.github.magwas.inez.parser - io/github/magwas/inez/parser/BridiLexer.java

Rule Violation Priority Line
UnnecessaryImport Unused import 'org.antlr.v4.runtime.Token' 4 5
UnnecessaryImport Unused import 'org.antlr.v4.runtime.TokenStream' 4 6
UnnecessaryImport Unused import 'org.antlr.v4.runtime.misc.*' 4 10

io.github.magwas.inez.parser - io/github/magwas/inez/parser/BridiListener.java

Rule Violation Priority Line
CommentRequired Class comments are unwanted 3 9
ClassesShouldBeKnown Classes should be either Data, Service,Controller,Repository 3 9
CommentRequired Public method and constructor comments are unwanted 3 14
CommentRequired Public method and constructor comments are unwanted 3 19
CommentRequired Public method and constructor comments are unwanted 3 24
CommentRequired Public method and constructor comments are unwanted 3 29
CommentRequired Public method and constructor comments are unwanted 3 34
CommentRequired Public method and constructor comments are unwanted 3 39
CommentRequired Public method and constructor comments are unwanted 3 44
CommentRequired Public method and constructor comments are unwanted 3 49

io.github.magwas.inez.parser - io/github/magwas/inez/parser/BridiParser.java

Rule Violation Priority Line
UnnecessaryImport Unused import 'org.antlr.v4.runtime.misc.*' 4 6
UnnecessaryImport Unused import 'java.util.Iterator' 4 9
UnnecessaryImport Unused import 'java.util.ArrayList' 4 10

io.github.magwas.inez.ui.tests - io/github/magwas/inez/ui/tree/MyEditorInputTest.java

Rule Violation Priority Line
UnitTestAssertionsShouldIncludeMessage Unit test assertions should include a message 3 19

io.github.magwas.inez.ui - io/github/magwas/inez/ui/Application.java

Rule Violation Priority Line
ClassesShouldBeKnown Classes should be either Data, Service,Controller,Repository 3 14
SystemPrintln Usage of System.out/err 2 18
SystemPrintln Usage of System.out/err 2 38

io.github.magwas.inez.ui - io/github/magwas/inez/ui/ApplicationActionBarAdvisor.java

Rule Violation Priority Line
CommentRequired Class comments are unwanted 3 11
ClassesShouldBeKnown Classes should be either Data, Service,Controller,Repository 3 11
MethodArgumentCouldBeFinal Parameter 'configurer' is not assigned and could be declared final 3 18

io.github.magwas.inez.ui - io/github/magwas/inez/ui/ApplicationWorkbenchAdvisor.java

Rule Violation Priority Line
ClassesShouldBeKnown Classes should be either Data, Service,Controller,Repository 3 7
MethodArgumentCouldBeFinal Parameter 'configurer' is not assigned and could be declared final 3 11

io.github.magwas.inez.ui - io/github/magwas/inez/ui/ApplicationWorkbenchWindowAdvisor.java

Rule Violation Priority Line
ClassesShouldBeKnown Classes should be either Data, Service,Controller,Repository 3 9
MethodArgumentCouldBeFinal Parameter 'configurer' is not assigned and could be declared final 3 12
MethodArgumentCouldBeFinal Parameter 'configurer' is not assigned and could be declared final 3 18

io.github.magwas.inez.ui - io/github/magwas/inez/ui/Perspective.java

Rule Violation Priority Line
ClassesShouldBeKnown Classes should be either Data, Service,Controller,Repository 3 11
SingularField Perhaps 'folderLayoutLeftTop' could be replaced by a local variable. 3 17
UnusedPrivateField Avoid unused private fields such as 'folderLayoutLeftBottom'. 3 18
SingularField Perhaps 'folderLayoutRight' could be replaced by a local variable. 3 19
SingularField Perhaps 'folderLayoutBottom' could be replaced by a local variable. 3 20
MethodArgumentCouldBeFinal Parameter 'layout' is not assigned and could be declared final 3 23

io.github.magwas.inez.ui - io/github/magwas/inez/ui/editor/ModelEditorView.java

Rule Violation Priority Line
ClassesShouldBeKnown Classes should be either Data, Service,Controller,Repository 3 21
MutableStaticState Do not use non-final non-private static fields 3 23
MethodArgumentCouldBeFinal Parameter 'parent' is not assigned and could be declared final 3 26
CloseResource Ensure that resources like this MindMapConnectionVisual object are closed after use 3 42
MethodArgumentCouldBeFinal Parameter 'site' is not assigned and could be declared final 3 70
MethodArgumentCouldBeFinal Parameter 'input' is not assigned and could be declared final 3 70

io.github.magwas.inez.ui - io/github/magwas/inez/ui/mindmap/AbstractMindMapItem.java

Rule Violation Priority Line
ClassesShouldBeKnown Classes should be either Data, Service,Controller,Repository 3 7
MethodArgumentCouldBeFinal Parameter 'listener' is not assigned and could be declared final 3 13
MethodArgumentCouldBeFinal Parameter 'listener' is not assigned and could be declared final 3 17

io.github.magwas.inez.ui - io/github/magwas/inez/ui/mindmap/MindMapConnection.java

Rule Violation Priority Line
ClassesShouldBeKnown Classes should be either Data, Service,Controller,Repository 3 3
CommentRequired Serial version UID comments are unwanted 3 8
MethodArgumentCouldBeFinal Parameter 'source' is not assigned and could be declared final 3 14
MethodArgumentCouldBeFinal Parameter 'target' is not assigned and could be declared final 3 14
CompareObjectsWithEquals Use equals() to compare object references. 3 15
MethodArgumentCouldBeFinal Parameter 'source' is not assigned and could be declared final 3 48
MethodArgumentCouldBeFinal Parameter 'target' is not assigned and could be declared final 3 52

io.github.magwas.inez.ui - io/github/magwas/inez/ui/mindmap/MindMapNode.java

Rule Violation Priority Line
ClassesShouldBeKnown Classes should be either Data, Service,Controller,Repository 3 10
CommentRequired Serial version UID comments are unwanted 3 15
CommentRequired Field comments are unwanted 3 27
CommentRequired Field comments are unwanted 3 32
CommentRequired Field comments are unwanted 3 37
CommentRequired Field comments are unwanted 3 42
ImmutableField Field 'incomingConnections' may be declared final 3 44
ImmutableField Field 'outgoingConnections' may be declared final 3 45
MethodArgumentCouldBeFinal Parameter 'conn' is not assigned and could be declared final 3 47
MethodArgumentCouldBeFinal Parameter 'conn' is not assigned and could be declared final 3 52
MethodArgumentCouldBeFinal Parameter 'conn' is not assigned and could be declared final 3 81
MethodArgumentCouldBeFinal Parameter 'conn' is not assigned and could be declared final 3 86
MethodArgumentCouldBeFinal Parameter 'bounds' is not assigned and could be declared final 3 91
AssignmentInOperand Avoid assignments in operands 3 93
MethodArgumentCouldBeFinal Parameter 'color' is not assigned and could be declared final 3 96
AssignmentInOperand Avoid assignments in operands 3 97
MethodArgumentCouldBeFinal Parameter 'description' is not assigned and could be declared final 3 100
AssignmentInOperand Avoid assignments in operands 3 102
MethodArgumentCouldBeFinal Parameter 'title' is not assigned and could be declared final 3 105
AssignmentInOperand Avoid assignments in operands 3 106

io.github.magwas.inez.ui - io/github/magwas/inez/ui/mindmap/SimpleMindMap.java

Rule Violation Priority Line
ClassesShouldBeKnown Classes should be either Data, Service,Controller,Repository 3 6
ImmutableField Field 'childElements' may be declared final 3 12
MethodArgumentCouldBeFinal Parameter 'node' is not assigned and could be declared final 3 14
MethodArgumentCouldBeFinal Parameter 'node' is not assigned and could be declared final 3 19
MethodArgumentCouldBeFinal Parameter 'idx' is not assigned and could be declared final 3 19
MethodArgumentCouldBeFinal Parameter 'node' is not assigned and could be declared final 3 28

io.github.magwas.inez.ui - io/github/magwas/inez/ui/mindmap/SimpleMindMapExampleFactory.java

Rule Violation Priority Line
ClassesShouldBeKnown Classes should be either Data, Service,Controller,Repository 3 7
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 25
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 31
AvoidInstantiatingObjectsInLoops Avoid instantiating new objects inside loops 3 34

io.github.magwas.inez.ui - io/github/magwas/inez/ui/mindmap/visuals/ArrowHead.java

Rule Violation Priority Line
ClassesShouldBeKnown Classes should be either Data, Service,Controller,Repository 3 5

io.github.magwas.inez.ui - io/github/magwas/inez/ui/mindmap/visuals/MindMapConnectionVisual.java

Rule Violation Priority Line
ClassesShouldBeKnown Classes should be either Data, Service,Controller,Repository 3 7

io.github.magwas.inez.ui - io/github/magwas/inez/ui/mindmap/visuals/MindMapNodeVisual.java

Rule Violation Priority Line
ClassesShouldBeKnown Classes should be either Data, Service,Controller,Repository 3 16
ImmutableField Field 'titleText' may be declared final 3 22
ImmutableField Field 'descriptionFlow' may be declared final 3 23
SingularField Perhaps 'descriptionFlow' could be replaced by a local variable. 3 23
ImmutableField Field 'descriptionText' may be declared final 3 24
ImmutableField Field 'shape' may be declared final 3 25
ImmutableField Field 'labelVBox' may be declared final 3 26
ConstructorCallsOverridableMethod Overridable method called during object construction: Region.setMinSize(double, double) 1 66
ConstructorCallsOverridableMethod Overridable method called during object construction: Parent.getChildren() 1 70
MethodArgumentCouldBeFinal Parameter 'width' is not assigned and could be declared final 3 74
MethodArgumentCouldBeFinal Parameter 'width' is not assigned and could be declared final 3 88
MethodArgumentCouldBeFinal Parameter 'height' is not assigned and could be declared final 3 93
MethodArgumentCouldBeFinal Parameter 'color' is not assigned and could be declared final 3 114
MethodArgumentCouldBeFinal Parameter 'description' is not assigned and could be declared final 3 118
MethodArgumentCouldBeFinal Parameter 'title' is not assigned and could be declared final 3 122

io.github.magwas.inez.ui - io/github/magwas/inez/ui/tree/ModelTreeContentProvider.java

Rule Violation Priority Line
ClassesShouldBeKnown Classes should be either Data, Service,Controller,Repository 3 11
MethodArgumentCouldBeFinal Parameter 'inputElement' is not assigned and could be declared final 3 17
SystemPrintln Usage of System.out/err 2 18
MethodArgumentCouldBeFinal Parameter 'parentElement' is not assigned and could be declared final 3 23
MethodArgumentCouldBeFinal Parameter 'element' is not assigned and could be declared final 3 28
MethodArgumentCouldBeFinal Parameter 'element' is not assigned and could be declared final 3 33

io.github.magwas.inez.ui - io/github/magwas/inez/ui/tree/ModelTreeLabelProvider.java

Rule Violation Priority Line
ClassesShouldBeKnown Classes should be either Data, Service,Controller,Repository 3 13
MethodArgumentCouldBeFinal Parameter 'element' is not assigned and could be declared final 3 49

io.github.magwas.inez.ui - io/github/magwas/inez/ui/tree/MyEditorInput.java

Rule Violation Priority Line
ClassesShouldBeKnown Classes should be either Data, Service,Controller,Repository 3 9
ImmutableField Field 'model' may be declared final 3 11
MethodArgumentCouldBeFinal Parameter 'model' is not assigned and could be declared final 3 13

io.github.magwas.inez.ui - io/github/magwas/inez/ui/tree/NewDiagramAction.java

Rule Violation Priority Line
ClassesShouldBeKnown Classes should be either Data, Service,Controller,Repository 3 17
MethodArgumentCouldBeFinal Parameter 'selection' is not assigned and could be declared final 3 30
SystemPrintln Usage of System.out/err 2 42
SystemPrintln Usage of System.out/err 2 43
AvoidThrowingRawExceptionTypes Avoid throwing raw exception type Error. 1 50

io.github.magwas.inez.ui - io/github/magwas/inez/ui/tree/TreeModelDragSourceLIstener.java

Rule Violation Priority Line
ClassesShouldBeKnown Classes should be either Data, Service,Controller,Repository 3 9
ImmutableField Field 'viewer' may be declared final 3 11
MethodArgumentCouldBeFinal Parameter 'viewer' is not assigned and could be declared final 3 13
MethodArgumentCouldBeFinal Parameter 'event' is not assigned and could be declared final 3 18
SystemPrintln Usage of System.out/err 2 19
MethodArgumentCouldBeFinal Parameter 'event' is not assigned and could be declared final 3 28
SystemPrintln Usage of System.out/err 2 29
MethodArgumentCouldBeFinal Parameter 'event' is not assigned and could be declared final 3 34
SystemPrintln Usage of System.out/err 2 35

io.github.magwas.inez.ui - io/github/magwas/inez/ui/tree/TreeModelDropTargetListener.java

Rule Violation Priority Line
ClassesShouldBeKnown Classes should be either Data, Service,Controller,Repository 3 8
SystemPrintln Usage of System.out/err 2 15
SystemPrintln Usage of System.out/err 2 20
SystemPrintln Usage of System.out/err 2 25
MethodArgumentCouldBeFinal Parameter 'event' is not assigned and could be declared final 3 33
SystemPrintln Usage of System.out/err 2 34
SystemPrintln Usage of System.out/err 2 35
MethodArgumentCouldBeFinal Parameter 'event' is not assigned and could be declared final 3 40
SystemPrintln Usage of System.out/err 2 41

io.github.magwas.inez.ui - io/github/magwas/inez/ui/tree/TreeModelView.java

Rule Violation Priority Line
ClassesShouldBeKnown Classes should be either Data, Service,Controller,Repository 3 19
MethodArgumentCouldBeFinal Parameter 'parent' is not assigned and could be declared final 3 36
UseShortArrayInitializer Array initialization can be written shorter 3 4142

Suppressed Violations

Filename Rule message Suppression type Reason
io/github/magwas/inez/parser/BridiLexer.java Classes should be either Data, Service,Controller,Repository @suppresswarnings
io/github/magwas/inez/parser/BridiLexer.java Use one line for each declaration, it enhances code readability. @suppresswarnings
io/github/magwas/inez/parser/BridiLexer.java Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. @suppresswarnings
io/github/magwas/inez/parser/BridiLexer.java Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. @suppresswarnings
io/github/magwas/inez/parser/BridiLexer.java Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. @suppresswarnings
io/github/magwas/inez/parser/BridiLexer.java Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. @suppresswarnings
io/github/magwas/inez/parser/BridiLexer.java Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. @suppresswarnings
io/github/magwas/inez/parser/BridiLexer.java Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. @suppresswarnings
io/github/magwas/inez/parser/BridiLexer.java Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. @suppresswarnings
io/github/magwas/inez/parser/BridiLexer.java Parameter 'input' is not assigned and could be declared final @suppresswarnings
io/github/magwas/inez/parser/BridiLexer.java Do not use non-final non-private static fields @suppresswarnings
io/github/magwas/inez/parser/BridiLexer.java Do not use non-final non-private static fields @suppresswarnings
io/github/magwas/inez/parser/BridiLexer.java Field comments are unwanted @suppresswarnings
io/github/magwas/inez/parser/BridiParser.java Classes should be either Data, Service,Controller,Repository @suppresswarnings
io/github/magwas/inez/parser/BridiParser.java Classes should be either Data, Service,Controller,Repository @suppresswarnings
io/github/magwas/inez/parser/BridiParser.java Classes should be either Data, Service,Controller,Repository @suppresswarnings
io/github/magwas/inez/parser/BridiParser.java Classes should be either Data, Service,Controller,Repository @suppresswarnings
io/github/magwas/inez/parser/BridiParser.java Classes should be either Data, Service,Controller,Repository @suppresswarnings
io/github/magwas/inez/parser/BridiParser.java Multiple classes/records @suppresswarnings
io/github/magwas/inez/parser/BridiParser.java Switch statements or expressions should be exhaustive, add a default case (or missing enum branches) @suppresswarnings
io/github/magwas/inez/parser/BridiParser.java Use one line for each declaration, it enhances code readability. @suppresswarnings
io/github/magwas/inez/parser/BridiParser.java Use one line for each declaration, it enhances code readability. @suppresswarnings
io/github/magwas/inez/parser/BridiParser.java The value assigned to variable '_la' is never used (overwritten on line 134) @suppresswarnings
io/github/magwas/inez/parser/BridiParser.java The value assigned to variable '_la' is never used (overwritten on line 271) @suppresswarnings
io/github/magwas/inez/parser/BridiParser.java Avoid if (x != y) ..; else ..; @suppresswarnings
io/github/magwas/inez/parser/BridiParser.java Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. @suppresswarnings
io/github/magwas/inez/parser/BridiParser.java Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. @suppresswarnings
io/github/magwas/inez/parser/BridiParser.java Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. @suppresswarnings
io/github/magwas/inez/parser/BridiParser.java Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. @suppresswarnings
io/github/magwas/inez/parser/BridiParser.java Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. @suppresswarnings
io/github/magwas/inez/parser/BridiParser.java Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. @suppresswarnings
io/github/magwas/inez/parser/BridiParser.java Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. @suppresswarnings
io/github/magwas/inez/parser/BridiParser.java The local variable name '_alt' doesn't match '[a-z][a-zA-Z0-9]*' @suppresswarnings
io/github/magwas/inez/parser/BridiParser.java The local variable name '_la' doesn't match '[a-z][a-zA-Z0-9]*' @suppresswarnings
io/github/magwas/inez/parser/BridiParser.java The local variable name '_localctx' doesn't match '[a-z][a-zA-Z0-9]*' @suppresswarnings
io/github/magwas/inez/parser/BridiParser.java The local variable name '_localctx' doesn't match '[a-z][a-zA-Z0-9]*' @suppresswarnings
io/github/magwas/inez/parser/BridiParser.java The local variable name '_la' doesn't match '[a-z][a-zA-Z0-9]*' @suppresswarnings
io/github/magwas/inez/parser/BridiParser.java The local variable name '_localctx' doesn't match '[a-z][a-zA-Z0-9]*' @suppresswarnings
io/github/magwas/inez/parser/BridiParser.java The local variable name '_localctx' doesn't match '[a-z][a-zA-Z0-9]*' @suppresswarnings
io/github/magwas/inez/parser/BridiParser.java Parameter 'parent' is not assigned and could be declared final @suppresswarnings
io/github/magwas/inez/parser/BridiParser.java Parameter 'invokingState' is not assigned and could be declared final @suppresswarnings
io/github/magwas/inez/parser/BridiParser.java Parameter 'i' is not assigned and could be declared final @suppresswarnings
io/github/magwas/inez/parser/BridiParser.java Parameter 'listener' is not assigned and could be declared final @suppresswarnings
io/github/magwas/inez/parser/BridiParser.java Parameter 'i' is not assigned and could be declared final @suppresswarnings
io/github/magwas/inez/parser/BridiParser.java Parameter 'i' is not assigned and could be declared final @suppresswarnings
io/github/magwas/inez/parser/BridiParser.java Parameter 'i' is not assigned and could be declared final @suppresswarnings
io/github/magwas/inez/parser/BridiParser.java Parameter 'i' is not assigned and could be declared final @suppresswarnings
io/github/magwas/inez/parser/BridiParser.java Parameter 'listener' is not assigned and could be declared final @suppresswarnings
io/github/magwas/inez/parser/BridiParser.java Parameter 'i' is not assigned and could be declared final @suppresswarnings
io/github/magwas/inez/parser/BridiParser.java Parameter 'i' is not assigned and could be declared final @suppresswarnings
io/github/magwas/inez/parser/BridiParser.java Parameter 'i' is not assigned and could be declared final @suppresswarnings
io/github/magwas/inez/parser/BridiParser.java Parameter 'listener' is not assigned and could be declared final @suppresswarnings
io/github/magwas/inez/parser/BridiParser.java Parameter 'listener' is not assigned and could be declared final @suppresswarnings
io/github/magwas/inez/parser/BridiParser.java Parameter 'listener' is not assigned and could be declared final @suppresswarnings
io/github/magwas/inez/parser/BridiParser.java Parameter 'listener' is not assigned and could be declared final @suppresswarnings
io/github/magwas/inez/parser/BridiParser.java Parameter 'i' is not assigned and could be declared final @suppresswarnings
io/github/magwas/inez/parser/BridiParser.java Parameter 'parent' is not assigned and could be declared final @suppresswarnings
io/github/magwas/inez/parser/BridiParser.java Parameter 'invokingState' is not assigned and could be declared final @suppresswarnings
io/github/magwas/inez/parser/BridiParser.java Parameter 'i' is not assigned and could be declared final @suppresswarnings
io/github/magwas/inez/parser/BridiParser.java Parameter 'i' is not assigned and could be declared final @suppresswarnings
io/github/magwas/inez/parser/BridiParser.java Parameter 'listener' is not assigned and could be declared final @suppresswarnings
io/github/magwas/inez/parser/BridiParser.java Parameter 'i' is not assigned and could be declared final @suppresswarnings
io/github/magwas/inez/parser/BridiParser.java Parameter 'parent' is not assigned and could be declared final @suppresswarnings
io/github/magwas/inez/parser/BridiParser.java Parameter 'invokingState' is not assigned and could be declared final @suppresswarnings
io/github/magwas/inez/parser/BridiParser.java Parameter 'listener' is not assigned and could be declared final @suppresswarnings
io/github/magwas/inez/parser/BridiParser.java Parameter 'parent' is not assigned and could be declared final @suppresswarnings
io/github/magwas/inez/parser/BridiParser.java Parameter 'invokingState' is not assigned and could be declared final @suppresswarnings
io/github/magwas/inez/parser/BridiParser.java Parameter 'input' is not assigned and could be declared final @suppresswarnings
io/github/magwas/inez/parser/BridiParser.java Parameter 'i' is not assigned and could be declared final @suppresswarnings
io/github/magwas/inez/parser/BridiParser.java Unnecessary qualifier 'BridiParser': 'TEXT' is already in scope because it is declared in an enclosing type @suppresswarnings
io/github/magwas/inez/parser/BridiParser.java Unnecessary qualifier 'BridiParser': 'POST' is already in scope because it is declared in an enclosing type @suppresswarnings
io/github/magwas/inez/parser/BridiParser.java Unnecessary qualifier 'BridiParser': 'TEXT' is already in scope because it is declared in an enclosing type @suppresswarnings
io/github/magwas/inez/parser/BridiParser.java Unnecessary qualifier 'BridiParser': 'LITERALPRE' is already in scope because it is declared in an enclosing type @suppresswarnings
io/github/magwas/inez/parser/BridiParser.java Unnecessary qualifier 'BridiParser': 'LITERALPOST' is already in scope because it is declared in an enclosing type @suppresswarnings
io/github/magwas/inez/parser/BridiParser.java Unnecessary qualifier 'BridiParser': 'NEWLINE' is already in scope because it is declared in an enclosing type @suppresswarnings
io/github/magwas/inez/parser/BridiParser.java Unnecessary qualifier 'BridiParser': 'PRE' is already in scope because it is declared in an enclosing type @suppresswarnings
io/github/magwas/inez/parser/BridiParser.java Unnecessary qualifier 'BridiParser': 'PRE' is already in scope because it is declared in an enclosing type @suppresswarnings
io/github/magwas/inez/parser/BridiParser.java Unnecessary qualifier 'BridiParser': 'LITERALPOST' is already in scope because it is declared in an enclosing type @suppresswarnings
io/github/magwas/inez/parser/BridiParser.java Unnecessary qualifier 'BridiParser': 'PRE' is already in scope because it is declared in an enclosing type @suppresswarnings
io/github/magwas/inez/parser/BridiParser.java Unnecessary qualifier 'BridiParser': 'TEXT' is already in scope because it is declared in an enclosing type @suppresswarnings
io/github/magwas/inez/parser/BridiParser.java Unnecessary qualifier 'BridiParser': 'LITERALPRE' is already in scope because it is declared in an enclosing type @suppresswarnings
io/github/magwas/inez/parser/BridiParser.java Unnecessary qualifier 'org.antlr.v4.runtime.atn': 'ATN' is already in scope because it is imported in this file @suppresswarnings
io/github/magwas/inez/parser/BridiParser.java Unnecessary qualifier 'BridiParser': 'TEXT' is already in scope because it is declared in an enclosing type @suppresswarnings
io/github/magwas/inez/parser/BridiParser.java Unnecessary qualifier 'BridiParser': 'POST' is already in scope because it is declared in an enclosing type @suppresswarnings
io/github/magwas/inez/parser/BridiParser.java Unnecessary qualifier 'BridiParser': 'POST' is already in scope because it is declared in an enclosing type @suppresswarnings
io/github/magwas/inez/parser/BridiParser.java Unnecessary qualifier 'BridiParser': 'REF' is already in scope because it is declared in an enclosing type @suppresswarnings
io/github/magwas/inez/parser/BridiParser.java Unnecessary qualifier 'BridiParser': 'TEXT' is already in scope because it is declared in an enclosing type @suppresswarnings
io/github/magwas/inez/parser/BridiParser.java Unnecessary qualifier 'BridiParser': 'POST' is already in scope because it is declared in an enclosing type @suppresswarnings
io/github/magwas/inez/parser/BridiParser.java Unnecessary qualifier 'BridiParser': 'PRE' is already in scope because it is declared in an enclosing type @suppresswarnings
io/github/magwas/inez/parser/BridiParser.java Unnecessary qualifier 'BridiParser': 'NEWLINE' is already in scope because it is declared in an enclosing type @suppresswarnings
io/github/magwas/inez/parser/BridiParser.java Useless parentheses around `(_la & ~0x3f) == 0 && ((1L << _la) & 134L) != 0`. @suppresswarnings
io/github/magwas/inez/parser/BridiParser.java Useless parentheses around `(_la & ~0x3f) == 0 && ((1L << _la) & 138L) != 0`. @suppresswarnings
io/github/magwas/inez/parser/BridiParser.java Useless parentheses around `_la`. @suppresswarnings
io/github/magwas/inez/parser/BridiParser.java Duplicate parentheses around `(_la & ~0x3f) == 0 && ((1L << _la) & 134L) != 0`. @suppresswarnings
io/github/magwas/inez/parser/BridiParser.java Useless parentheses around `_la`. @suppresswarnings
io/github/magwas/inez/parser/BridiParser.java Useless parentheses around `_la`. @suppresswarnings
io/github/magwas/inez/parser/BridiParser.java A method or constructor should not explicitly declare unchecked exception RecognitionException in its 'throws' clause @suppresswarnings
io/github/magwas/inez/parser/BridiParser.java A method or constructor should not explicitly declare unchecked exception RecognitionException in its 'throws' clause @suppresswarnings
io/github/magwas/inez/parser/BridiParser.java A method or constructor should not explicitly declare unchecked exception RecognitionException in its 'throws' clause @suppresswarnings
io/github/magwas/inez/parser/BridiParser.java A method or constructor should not explicitly declare unchecked exception RecognitionException in its 'throws' clause @suppresswarnings
io/github/magwas/inez/parser/BridiParser.java This class has too many methods, consider refactoring it. @suppresswarnings
io/github/magwas/inez/parser/BridiParser.java The class 'BridiParser' has a total cyclomatic complexity of 32 (highest 8). @suppresswarnings
io/github/magwas/inez/parser/BridiParser.java The class 'BridiContext' has a total cyclomatic complexity of 22 (highest 2). @suppresswarnings
io/github/magwas/inez/parser/BridiParser.java Field comments are unwanted @suppresswarnings
io/github/magwas/inez/parser/BridiParser.java The String literal "CheckReturnValue" appears 5 times in this file; the first occurrence is on line 12 @suppresswarnings
io/github/magwas/inez/parser/BridiParser.java Avoid using literals such as 1 in if statements @suppresswarnings