The following document contains the results of PMD 5.3.2.

Files

rdfpro-core - eu/fbk/rdfpro/AbstractRDFHandler.java

Violation Line
Document empty constructor 3435
Document empty method body 4142
Document empty method body 4849
Document empty method body 5556
Document empty method body 6263
Document empty method body 6970
Document empty method body 7677

rdfpro-core - eu/fbk/rdfpro/Mapper.java

Violation Line
Possible God class (WMC=57, ATFD=32, TCC=0.0) 14344
Avoid modifiers which are implied by the context 89107
Avoid modifiers which are implied by the context 119136
Avoid modifiers which are implied by the context 147164
Avoid modifiers which are implied by the context 179322
Avoid really long methods. 179322
The method select() has an NPath complexity of 25879932 179322
Position literals first in String comparisons 183
The method map() has an NPath complexity of 256 242286
Avoid reassigning parameters such as 'index' 306
Avoid reassigning parameters such as 'index' 306
Avoid reassigning parameters such as 'index' 306
Avoid reassigning parameters such as 'index' 306

rdfpro-core - eu/fbk/rdfpro/ProcessorMapReduce.java

Violation Line
The class 'Handler' has a Standard Cyclomatic Complexity of 6 (Highest = 12). 64259
The class 'Handler' has a Modified Cyclomatic Complexity of 6 (Highest = 12). 64259
The class 'Handler' has a Cyclomatic Complexity of 6 (Highest = 14). 64259
The method 'handleStatement' has a Modified Cyclomatic Complexity of 12. 119148
The method 'handleStatement' has a Standard Cyclomatic Complexity of 12. 119148
The method handleStatement() has an NPath complexity of 781252 119148
The method 'handleStatement' has a Cyclomatic Complexity of 12. 119148
Avoid instantiating new objects inside loops 133
Avoid instantiating new objects inside loops 139140
Consider using varargs for methods or constructors which take an array the last parameter. 168
The method accept() has an NPath complexity of 9375 168193
Ensure that resources like this Statement object are closed after use 179
Avoid declaring a variable if it is unreferenced before a possible exit point. 179180
The method 'flush' has a Standard Cyclomatic Complexity of 12. 195257
The method 'flush' has a Cyclomatic Complexity of 14. 195257
The method 'flush' has a Modified Cyclomatic Complexity of 12. 195257
The method flush() has an NPath complexity of 240 195257
Ensure that resources like this Statement object are closed after use 222

rdfpro-core - eu/fbk/rdfpro/ProcessorRDFS.java

Violation Line
Possible God class (WMC=274, ATFD=459, TCC=0.0) 141345
The class 'ProcessorRDFS' has a Standard Cyclomatic Complexity of 6 (Highest = 10). 501345
The class 'ProcessorRDFS' has a Cyclomatic Complexity of 6 (Highest = 10). 501345
The class 'ProcessorRDFS' has a Modified Cyclomatic Complexity of 6 (Highest = 10). 501345
The constructor 'ProcessorRDFS' has a Standard Cyclomatic Complexity of 10. 97149
The constructor 'ProcessorRDFS' has a Modified Cyclomatic Complexity of 10. 97149
The constructor 'ProcessorRDFS' has a Cyclomatic Complexity of 10. 97149
Avoid reassigning parameters such as 'value' 119
Deeply nested if..then statements are hard to read 129131
Private field 'inferencer' could be made final; it is only initialized in the declaration or constructor. 160
Ensure that resources like this Statement object are closed after use 187
The class 'TBox' has a Standard Cyclomatic Complexity of 17 (Highest = 16). 196347
The class 'TBox' has a Modified Cyclomatic Complexity of 17 (Highest = 16). 196347
The class 'TBox' has a Cyclomatic Complexity of 24 (Highest = 23). 196347
The constructor 'TBox' has a Standard Cyclomatic Complexity of 16. 208299
The constructor 'TBox' has a Modified Cyclomatic Complexity of 16. 208299
The constructor 'TBox' has a Cyclomatic Complexity of 23. 208299
Ensure that resources like this Statement object are closed after use 216
Ensure that resources like this Statement object are closed after use 219
Ensure that resources like this Statement object are closed after use 254
Avoid instantiating new objects inside loops 261
Avoid instantiating new objects inside loops 263
Ensure that resources like this Statement object are closed after use 274
Avoid instantiating new objects inside loops 280
The user-supplied array 'parents' is stored directly. 305
Consider using varargs for methods or constructors which take an array the last parameter. 305
The user-supplied array 'domain' is stored directly. 319
Consider using varargs for methods or constructors which take an array the last parameter. 319
The user-supplied array 'range' is stored directly. 319
The user-supplied array 'parents' is stored directly. 319
The class 'TBoxInferencer' has a Modified Cyclomatic Complexity of 15 (Highest = 47). 349761
The class 'TBoxInferencer' has a Standard Cyclomatic Complexity of 15 (Highest = 47). 349761
The class 'TBoxInferencer' has a Cyclomatic Complexity of 19 (Highest = 58). 349761
The method decomposeOWLAxioms() has an NPath complexity of 42966 430573
The method 'decomposeOWLAxioms' has a Standard Cyclomatic Complexity of 44. 430573
The method 'decomposeOWLAxioms' has a Modified Cyclomatic Complexity of 44. 430573
The method decomposeOWLAxioms() has an NCSS line count of 105 430573
Avoid really long methods. 430573
The method 'decomposeOWLAxioms' has a Cyclomatic Complexity of 56. 430573
Ensure that resources like this Statement object are closed after use 441
Avoid instantiating new objects inside loops 463
Avoid instantiating new objects inside loops 468
Avoid instantiating new objects inside loops 485
Avoid instantiating new objects inside loops 493
These nested if statements could be combined 507514
Avoid instantiating new objects inside loops 510
Avoid instantiating new objects inside loops 523
Avoid instantiating new objects inside loops 528
The method 'evalRules' has a Standard Cyclomatic Complexity of 47. 575735
Avoid really long methods. 575735
The method evalRules() has an NPath complexity of 1692057601 575735
The method 'evalRules' has a Modified Cyclomatic Complexity of 47. 575735
The method 'evalRules' has a Cyclomatic Complexity of 58. 575735
Ensure that resources like this Statement object are closed after use 585
These nested if statements could be combined 637639
Ensure that resources like this Statement object are closed after use 646
Ensure that resources like this Statement object are closed after use 650
Ensure that resources like this Statement object are closed after use 660
Ensure that resources like this Statement object are closed after use 667
Ensure that resources like this Statement object are closed after use 692
Ensure that resources like this Statement object are closed after use 698
Ensure that resources like this Statement object are closed after use 722
Ensure that resources like this Statement object are closed after use 728
Ensure that resources like this Statement object are closed after use 744
The class 'ABoxInferencer' has a Modified Cyclomatic Complexity of 10 (Highest = 27). 763971
The class 'ABoxInferencer' has a Standard Cyclomatic Complexity of 10 (Highest = 27). 763971
The class 'ABoxInferencer' has a Cyclomatic Complexity of 12 (Highest = 32). 763971
The method 'handleStatement' has a Modified Cyclomatic Complexity of 11. 799842
The method 'handleStatement' has a Cyclomatic Complexity of 11. 799842
The method 'handleStatement' has a Standard Cyclomatic Complexity of 11. 799842
The method handleStatement() has an NPath complexity of 1440 799842
Ensure that resources like this Statement object are closed after use 830
Ensure that resources like this Statement object are closed after use 835
The method 'infer' has a Cyclomatic Complexity of 32. 844916
The method 'infer' has a Standard Cyclomatic Complexity of 27. 844916
The method 'infer' has a Modified Cyclomatic Complexity of 27. 844916
The method infer() has an NPath complexity of 86400 844916
These nested if statements could be combined 902904
The method 'emit' has a Cyclomatic Complexity of 12. 918963
Ensure that resources like this Statement object are closed after use 938
Ensure that resources like this Statement object are closed after use 953
Avoid instantiating new objects inside loops 990
These nested if statements could be combined 10011003
Ensure that resources like this Statement object are closed after use 1010
The class 'Database' has a Modified Cyclomatic Complexity of 5 (Highest = 20). 10851343
The class 'Database' has a Standard Cyclomatic Complexity of 5 (Highest = 20). 10851343
The class 'Database' has a Cyclomatic Complexity of 6 (Highest = 26). 10851343
Avoid really long methods. 11281233
The method filter() has an NPath complexity of 9250 11281233
The method 'filter' has a Cyclomatic Complexity of 26. 11281233
The method 'filter' has a Standard Cyclomatic Complexity of 20. 11281233
The method 'filter' has a Modified Cyclomatic Complexity of 20. 11281233
The method 'iterator' has a Cyclomatic Complexity of 15. 11851230
Non-static initializers are confusing 11901192
Avoid reassigning parameters such as 'skipCurrent' 1211
The method 'advance' has a Cyclomatic Complexity of 11. 12111227

rdfpro-core - eu/fbk/rdfpro/ProcessorRules.java

Violation Line
The class 'ProcessorRules' has a Modified Cyclomatic Complexity of 11 (Highest = 27). 43295
The class 'ProcessorRules' has a Cyclomatic Complexity of 12 (Highest = 27). 43295
The class 'ProcessorRules' has a Standard Cyclomatic Complexity of 11 (Highest = 27). 43295
The method 'create' has a Cyclomatic Complexity of 27. 59177
The method create() has an NPath complexity of 77395500 59177
The method 'create' has a Modified Cyclomatic Complexity of 27. 59177
The method 'create' has a Standard Cyclomatic Complexity of 27. 59177
Avoid really long methods. 59177
Prefer StringBuffer over += for concatenating strings 68
Prefer StringBuffer over += for concatenating strings 88
Prefer StringBuffer over += for concatenating strings 88
Avoid instantiating new objects inside loops 111
Avoid declaring a variable if it is unreferenced before a possible exit point. 149
Avoid declaring a variable if it is unreferenced before a possible exit point. 192
Ensure that resources like this Statement object are closed after use 212
Ensure that resources like this Statement object are closed after use 278

rdfpro-core - eu/fbk/rdfpro/ProcessorSmush.java

Violation Line
Possible God class (WMC=83, ATFD=23, TCC=0.0036231884057971015) 14447
The class 'Handler' has a Cyclomatic Complexity of 4 (Highest = 13). 60446
The method 'handleStatement' has a Cyclomatic Complexity of 13. 114147
The method handleStatement() has an NPath complexity of 228 114147
Avoid instantiating new objects inside loops 192
The method 'matchResource' has a Cyclomatic Complexity of 12. 381413
Avoid declaring a variable if it is unreferenced before a possible exit point. 383

rdfpro-core - eu/fbk/rdfpro/ProcessorStats.java

Violation Line
Possible God class (WMC=231, ATFD=318, TCC=0.003076923076923077) 141335
Too many fields 87736
The class 'Handler' has a Cyclomatic Complexity of 14 (Highest = 38). 87736
The class 'Handler' has a Standard Cyclomatic Complexity of 13 (Highest = 36). 87736
The class 'Handler' has a Modified Cyclomatic Complexity of 13 (Highest = 36). 87736
Local variable 'ps' could be declared final 148
Avoid really long methods. 181296
The method 'handleStatement' has a Standard Cyclomatic Complexity of 22. 181296
The method 'handleStatement' has a Modified Cyclomatic Complexity of 22. 181296
The method handleStatement() has an NPath complexity of 22680000 181296
The method 'handleStatement' has a Cyclomatic Complexity of 27. 181296
The method 'endRDF' has a Modified Cyclomatic Complexity of 13. 299372
The method 'endRDF' has a Standard Cyclomatic Complexity of 13. 299372
The method 'endRDF' has a Cyclomatic Complexity of 13. 299372
Avoid instantiating new objects inside loops 320
Avoid instantiating new objects inside loops 329
Avoid instantiating new objects inside loops 330
Avoid instantiating new objects inside loops 338
Avoid instantiating new objects inside loops 339
The method 'handleDirectRecord' has a Cyclomatic Complexity of 23. 380441
The method 'handleDirectRecord' has a Modified Cyclomatic Complexity of 19. 380441
The method 'handleDirectRecord' has a Standard Cyclomatic Complexity of 19. 380441
The method handleDirectRecord() has an NPath complexity of 66924 380441
Avoid instantiating new objects inside loops 391
Avoid instantiating new objects inside loops 402
Avoid instantiating new objects inside loops 404
The method 'handleDirectRecordHelper' has a Modified Cyclomatic Complexity of 18. 443516
The method 'handleDirectRecordHelper' has a Cyclomatic Complexity of 18. 443516
The method 'handleDirectRecordHelper' has a Standard Cyclomatic Complexity of 18. 443516
The method handleDirectRecordHelper() has an NPath complexity of 467460 443516
Avoid instantiating new objects inside loops 535
The method 'emitStatistics' has a Standard Cyclomatic Complexity of 36. 545681
Avoid really long methods. 545681
The method 'emitStatistics' has a Cyclomatic Complexity of 38. 545681
The method emitStatistics() has an NCSS line count of 108 545681
The method 'emitStatistics' has a Modified Cyclomatic Complexity of 36. 545681
The method 'emit' has a Cyclomatic Complexity of 13. 683707
Avoid appending characters as strings in StringBuffer.append. 720
Use block level rather than method level synchronization 863869
Use block level rather than method level synchronization 871889
The class 'Sampler' has a Cyclomatic Complexity of 8 (Highest = 19). 9341016
The method 'add' has a Cyclomatic Complexity of 19. 958995
Use block level rather than method level synchronization 958995
Ensure that resources like this Statement object are closed after use 975
Use block level rather than method level synchronization 9971014
Ensure that resources like this Statement object are closed after use 999
Avoid appending characters as strings in StringBuffer.append. 1004
Avoid appending characters as strings in StringBuffer.append. 1007
Avoid declaring a variable if it is unreferenced before a possible exit point. 1082
Avoid declaring a variable if it is unreferenced before a possible exit point. 1085
The class 'Hash' has a Modified Cyclomatic Complexity of 3 (Highest = 16). 11451300
The class 'Hash' has a Cyclomatic Complexity of 3 (Highest = 17). 11451300
The class 'Hash' has a Standard Cyclomatic Complexity of 3 (Highest = 16). 11451300
The method 'compute' has a Modified Cyclomatic Complexity of 16. 11871259
The method 'compute' has a Cyclomatic Complexity of 17. 11871259
The method compute() has an NPath complexity of 1020 11871259
The method 'compute' has a Standard Cyclomatic Complexity of 16. 11871259
Useless parentheses. 1223
Useless parentheses. 1225
Use block level rather than method level synchronization 13181326
Use block level rather than method level synchronization 13291331

rdfpro-core - eu/fbk/rdfpro/ProcessorTBox.java

Violation Line
The class 'Handler' has a Modified Cyclomatic Complexity of 6 (Highest = 19). 57259
The class 'Handler' has a Cyclomatic Complexity of 7 (Highest = 20). 57259
The class 'Handler' has a Standard Cyclomatic Complexity of 6 (Highest = 19). 57259
Avoid instantiating new objects inside loops 70
Avoid instantiating new objects inside loops 79
Avoid instantiating new objects inside loops 82
The method 'handleStatement' has a Cyclomatic Complexity of 12. 92144
The method 'handleStatement' has a Modified Cyclomatic Complexity of 11. 92144
The method 'handleStatement' has a Standard Cyclomatic Complexity of 11. 92144
The method 'endRDF' has a Cyclomatic Complexity of 20. 147230
The method 'endRDF' has a Modified Cyclomatic Complexity of 19. 147230
The method 'endRDF' has a Standard Cyclomatic Complexity of 19. 147230
The method endRDF() has an NPath complexity of 4225 147230

rdfpro-core - eu/fbk/rdfpro/ProcessorUnique.java

Violation Line
Possible God class (WMC=57, ATFD=14, TCC=0.09090909090909091) 14690
Document empty method body 463464
The class 'MergeHandler' has a Cyclomatic Complexity of 6 (Highest = 12). 468688
Ensure that resources like this Statement object are closed after use 558
Avoid instantiating new objects inside loops 565
Ensure that resources like this Statement object are closed after use 567
Ensure that resources like this Statement object are closed after use 573
Ensure that resources like this Statement object are closed after use 581
The method 'mergeContexts' has a Cyclomatic Complexity of 12. 595633
Prefer StringBuffer over += for concatenating strings 626
The user-supplied array 'contexts' is stored directly. 641
Consider using varargs for methods or constructors which take an array the last parameter. 641
Avoid using a branching statement as the last in a loop. 676

rdfpro-core - eu/fbk/rdfpro/RDFHandlers.java

Violation Line
Possible God class (WMC=239, ATFD=64, TCC=0.046031746031746035) 141651
The class 'RDFHandlers' has a Cyclomatic Complexity of 4 (Highest = 13). 761651
The method write() has an NPath complexity of 270 186199
Avoid instantiating new objects inside loops 194
Avoid instantiating new objects inside loops 195
Overriding method merely calls super 237239
Avoid using redundant field initializer for 'passHandler' 271
Avoid using redundant field initializer for 'pass' 273
Consider using varargs for methods or constructors which take an array the last parameter. 338
The method 'collect' has a Cyclomatic Complexity of 13. 401434
Avoid instantiating new objects inside loops 429
Use block level rather than method level synchronization 505516
Use block level rather than method level synchronization 519522
New exception is thrown in catch block, original stack trace may be lost 559
Use block level rather than method level synchronization 565567
Use block level rather than method level synchronization 570573
Use block level rather than method level synchronization 576579
New exception is thrown in catch block, original stack trace may be lost 641
The class 'UpdateHandler' has a Cyclomatic Complexity of 4 (Highest = 10). 694835
StringBuffers can grow quite a lot, and so may become a source of memory leak (if the owning class has a long life time). 704
Use block level rather than method level synchronization 726771
The method 'handleStatement' has a Cyclomatic Complexity of 10. 726771
The user-supplied array 'extraPasses' is stored directly. 956
The user-supplied array 'handlers' is stored directly. 956
Consider using varargs for methods or constructors which take an array the last parameter. 956
The user-supplied array 'handlers' is stored directly. 1036
Consider using varargs for methods or constructors which take an array the last parameter. 1036
Document empty method body 11691170
Document empty method body 11771178
Document empty method body 11801181
Consider using varargs for methods or constructors which take an array the last parameter. 1227
Ensure that resources like this Statement object are closed after use 1229
Ensure that resources like this Statement object are closed after use 1381
Consider using varargs for methods or constructors which take an array the last parameter. 1387
Return an empty array rather than null. 13871431
Ensure that resources like this Statement object are closed after use 1408
Avoid empty catch blocks 14841486
Use block level rather than method level synchronization 15161518
Use block level rather than method level synchronization 15211524
Use block level rather than method level synchronization 15271530
The class 'DecoupleQueueHandler' has a Cyclomatic Complexity of 3 (Highest = 10). 15341649
The class 'DecoupleQueueHandler' has a Standard Cyclomatic Complexity of 3 (Highest = 10). 15341649
The class 'DecoupleQueueHandler' has a Modified Cyclomatic Complexity of 3 (Highest = 10). 15341649
The method 'startRDF' has a Standard Cyclomatic Complexity of 10. 15541590
The method 'startRDF' has a Cyclomatic Complexity of 10. 15541590
The method 'startRDF' has a Modified Cyclomatic Complexity of 10. 15541590
Avoid instantiating new objects inside loops 15601588

rdfpro-core - eu/fbk/rdfpro/RDFProcessors.java

Violation Line
Possible God class (WMC=139, ATFD=77, TCC=0.02252252252252252) 141162
The class 'RDFProcessors' has a Cyclomatic Complexity of 4 (Highest = 32). 561162
The class 'RDFProcessors' has a Standard Cyclomatic Complexity of 3 (Highest = 32). 561162
The class 'RDFProcessors' has a Modified Cyclomatic Complexity of 3 (Highest = 21). 561162
The method 'tokenize' has a Cyclomatic Complexity of 10. 85126
The method 'create' has a Cyclomatic Complexity of 32. 139368
The method 'create' has a Standard Cyclomatic Complexity of 32. 139368
The method 'create' has a Modified Cyclomatic Complexity of 21. 139368
Avoid really long methods. 139368
The method create() has an NCSS line count of 167 139368
Avoid declaring a variable if it is unreferenced before a possible exit point. 300
Avoid declaring a variable if it is unreferenced before a possible exit point. 301302

rdfpro-core - eu/fbk/rdfpro/RDFSource.java

Violation Line
Avoid really long methods. 102219
The method spliterator() has an NPath complexity of 1282 102219
Avoid empty while statements 123124
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 148
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 150
Use block level rather than method level synchronization 236239

rdfpro-core - eu/fbk/rdfpro/RDFSources.java

Violation Line
Possible God class (WMC=127, ATFD=119, TCC=0.0) 14856
The class 'RDFSources' has a Modified Cyclomatic Complexity of 4 (Highest = 14). 82856
The class 'RDFSources' has a Cyclomatic Complexity of 4 (Highest = 14). 82856
The class 'RDFSources' has a Standard Cyclomatic Complexity of 4 (Highest = 14). 82856
The method 'wrap' has a Standard Cyclomatic Complexity of 14. 173245
The method 'wrap' has a Cyclomatic Complexity of 14. 173245
The method 'wrap' has a Modified Cyclomatic Complexity of 14. 173245
The method 'emit' has a Standard Cyclomatic Complexity of 11. 181230
The method 'emit' has a Modified Cyclomatic Complexity of 11. 181230
The method 'emit' has a Cyclomatic Complexity of 11. 181230
Ensure that resources like this Statement object are closed after use 221
Avoid instantiating new objects inside loops 269
The class 'FileSource' has a Cyclomatic Complexity of 10 (Highest = 22). 374622
The class 'FileSource' has a Standard Cyclomatic Complexity of 10 (Highest = 21). 374622
The class 'FileSource' has a Modified Cyclomatic Complexity of 10 (Highest = 21). 374622
The method 'parse' has a Cyclomatic Complexity of 22. 428527
The method 'parse' has a Standard Cyclomatic Complexity of 21. 428527
The method parse() has an NPath complexity of 38500 428527
The method 'parse' has a Modified Cyclomatic Complexity of 21. 428527
Avoid empty catch blocks 445447
Avoid calling toString() on String objects; this is unnecessary. 467
Avoid instantiating new objects inside loops 467
Avoid instantiating new objects inside loops 480508
The class 'ParseJob' has a Modified Cyclomatic Complexity of 5 (Highest = 11). 529620
The class 'ParseJob' has a Standard Cyclomatic Complexity of 5 (Highest = 11). 529620
The class 'ParseJob' has a Cyclomatic Complexity of 5 (Highest = 12). 529620
The method 'run' has a Modified Cyclomatic Complexity of 11. 555618
The method 'run' has a Cyclomatic Complexity of 12. 555618
The method 'run' has a Standard Cyclomatic Complexity of 11. 555618
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 605
The class 'SparqlSource' has a Standard Cyclomatic Complexity of 6 (Highest = 16). 624854
The class 'SparqlSource' has a Modified Cyclomatic Complexity of 6 (Highest = 16). 624854
The class 'SparqlSource' has a Cyclomatic Complexity of 7 (Highest = 19). 624854
The method 'parseTupleResult' has a Modified Cyclomatic Complexity of 16. 745802
The method 'parseTupleResult' has a Cyclomatic Complexity of 19. 745802
The method parseTupleResult() has an NPath complexity of 9396 745802
The method 'parseTupleResult' has a Standard Cyclomatic Complexity of 16. 745802
Avoid empty while statements 754755
Avoid declaring a variable if it is unreferenced before a possible exit point. 761
Avoid empty while statements 800801
The method 'isSelectQuery' has a Standard Cyclomatic Complexity of 10. 822852
The method 'isSelectQuery' has a Modified Cyclomatic Complexity of 10. 822852
The method 'isSelectQuery' has a Cyclomatic Complexity of 16. 822852
Position literals first in String comparisons 841
Position literals first in String comparisons 843
Position literals first in String comparisons 843

rdfpro-core - eu/fbk/rdfpro/Reducer.java

Violation Line
Ensure that resources like this Statement object are closed after use 52
Ensure that resources like this Statement object are closed after use 86
Ensure that resources like this Statement object are closed after use 104
Ensure that resources like this Statement object are closed after use 121

rdfpro-core - eu/fbk/rdfpro/Rule.java

Violation Line
Possible God class (WMC=235, ATFD=111, TCC=0.001568627450980392) 141433
The class 'Rule' has a Modified Cyclomatic Complexity of 5 (Highest = 19). 991433
The class 'Rule' has a Cyclomatic Complexity of 5 (Highest = 25). 991433
The class 'Rule' has a Standard Cyclomatic Complexity of 5 (Highest = 19). 991433
Too many fields 991433
The method 'isSimple' has a Cyclomatic Complexity of 15. 349383
The method 'isSimple' has a Standard Cyclomatic Complexity of 10. 349383
The method 'isSimple' has a Modified Cyclomatic Complexity of 10. 349383
The method 'meetNode' has a Cyclomatic Complexity of 11. 356376
Prefer StringBuffer over += for concatenating strings 549
Avoid using a branching statement as the last in a loop. 553
The method mergeSameWhereExpr() has an NPath complexity of 381 627664
Avoid instantiating new objects inside loops 635
Avoid instantiating new objects inside loops 646
Avoid instantiating new objects inside loops 655
Avoid instantiating new objects inside loops 657
Avoid instantiating new objects inside loops 660661
Avoid instantiating new objects inside loops 682683
Avoid instantiating new objects inside loops 689690
The method toString() has an NPath complexity of 201 765791
StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 768769
The method 'fromDLOG' has a Standard Cyclomatic Complexity of 16. 828909
The method 'fromDLOG' has a Cyclomatic Complexity of 17. 828909
The method 'fromDLOG' has a Modified Cyclomatic Complexity of 16. 828909
The method fromDLOG() has an NPath complexity of 1369 828909
Avoid using redundant field initializer for 'namespaces' 835
Avoid using redundant field initializer for 'varCounter' 839
This call to String.startsWith can be rewritten using String.charAt(0) 883
The method fromRDF() has an NPath complexity of 3690 918998
The method 'fromRDF' has a Modified Cyclomatic Complexity of 19. 918998
The method 'fromRDF' has a Cyclomatic Complexity of 25. 918998
The method 'fromRDF' has a Standard Cyclomatic Complexity of 19. 918998
Ensure that resources like this Statement object are closed after use 927
Ensure that resources like this Statement object are closed after use 939
Avoid instantiating new objects inside loops 977
Avoid instantiating new objects inside loops 994995
The class 'Evaluation' has a Cyclomatic Complexity of 5 (Highest = 16). 10171246
The class 'Evaluation' has a Modified Cyclomatic Complexity of 5 (Highest = 14). 10171246
The class 'Evaluation' has a Standard Cyclomatic Complexity of 5 (Highest = 14). 10171246
The method 'run' has a Cyclomatic Complexity of 16. 10731170
The method run() has an NPath complexity of 1802 10731170
The method 'run' has a Modified Cyclomatic Complexity of 14. 10731170
The method 'run' has a Standard Cyclomatic Complexity of 14. 10731170
Avoid declaring a variable if it is unreferenced before a possible exit point. 1084
Avoid using redundant field initializer for 'normalizedDeltaPattern' 1198
These nested if statements could be combined 12061208
The class 'Collector' has a Cyclomatic Complexity of 7 (Highest = 19). 12481431
The class 'Collector' has a Standard Cyclomatic Complexity of 6 (Highest = 12). 12481431
The class 'Collector' has a Modified Cyclomatic Complexity of 6 (Highest = 12). 12481431
Avoid appending characters as strings in StringBuffer.append. 1285
The user-supplied array 'insertIndexes' is stored directly. 1336
The user-supplied array 'deleteIndexes' is stored directly. 1336
The user-supplied array 'constants' is stored directly. 1337
Consider using varargs for methods or constructors which take an array the last parameter. 1337
The user-supplied array 'commonVars' is stored directly. 1337
Consider using varargs for methods or constructors which take an array the last parameter. 1346
The method 'collect' has a Modified Cyclomatic Complexity of 12. 13511410
The method 'collect' has a Standard Cyclomatic Complexity of 12. 13511410
The method 'collect' has a Cyclomatic Complexity of 19. 13511410
Avoid instantiating new objects inside loops 13771378
Ensure that resources like this Statement object are closed after use 1380
Avoid instantiating new objects inside loops 13821383
Avoid instantiating new objects inside loops 14001401

rdfpro-core - eu/fbk/rdfpro/RuleEngine.java

Violation Line
This abstract class does not have any abstract methods 45327
New exception is thrown in catch block, original stack trace may be lost 113
Ensure that resources like this Statement object are closed after use 249
Ensure that resources like this Statement object are closed after use 269
Ensure that resources like this Statement object are closed after use 279
Use block level rather than method level synchronization 309312
Ensure that resources like this Statement object are closed after use 317

rdfpro-core - eu/fbk/rdfpro/RuleEngineImpl.java

Violation Line
Possible God class (WMC=182, ATFD=92, TCC=0.015789473684210527) 141152
The class 'RuleEngineImpl' has a Cyclomatic Complexity of 8 (Highest = 22). 491152
The class 'RuleEngineImpl' has a Modified Cyclomatic Complexity of 7 (Highest = 17). 491152
The class 'RuleEngineImpl' has a Standard Cyclomatic Complexity of 7 (Highest = 17). 491152
StringBuffer constructor is initialized with size 16, but has at least 19 characters appended. 81
StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 94
The method doEval() has an NPath complexity of 432 116184
The method 'doEval' has a Standard Cyclomatic Complexity of 12. 116184
The method 'doEval' has a Cyclomatic Complexity of 15. 116184
The method 'doEval' has a Modified Cyclomatic Complexity of 12. 116184
Ensure that resources like this Statement object are closed after use 167
The method 'expand' has a Modified Cyclomatic Complexity of 17. 186282
The method 'expand' has a Standard Cyclomatic Complexity of 17. 186282
The method expand() has an NPath complexity of 2256 186282
The method 'expand' has a Cyclomatic Complexity of 22. 186282
Ensure that resources like this Statement object are closed after use 218
Ensure that resources like this Statement object are closed after use 231
Ensure that resources like this Statement object are closed after use 245
Avoid instantiating new objects inside loops 260
Avoid reassigning parameters such as 'statements' 284
Ensure that resources like this Statement object are closed after use 290
This abstract class does not have any abstract methods 347382
The class 'StreamPhase' has a Cyclomatic Complexity of 6 (Highest = 17). 384531
The class 'StreamPhase' has a Standard Cyclomatic Complexity of 5 (Highest = 14). 384531
The class 'StreamPhase' has a Modified Cyclomatic Complexity of 5 (Highest = 14). 384531
The user-supplied array 'axioms' is stored directly. 397
The method 'create' has a Cyclomatic Complexity of 17. 410467
The method create() has an NPath complexity of 9450 410467
The method 'create' has a Standard Cyclomatic Complexity of 14. 410467
The method 'create' has a Modified Cyclomatic Complexity of 14. 410467
Avoid instantiating new objects inside loops 428
Ensure that resources like this Statement object are closed after use 484
Ensure that resources like this Statement object are closed after use 514
The method eval() has an NPath complexity of 200 583606
Avoid declaring a variable if it is unreferenced before a possible exit point. 612
The class 'SemiNaivePhase' has a Modified Cyclomatic Complexity of 4 (Highest = 12). 6731150
The class 'SemiNaivePhase' has a Cyclomatic Complexity of 4 (Highest = 15). 6731150
The class 'SemiNaivePhase' has a Standard Cyclomatic Complexity of 4 (Highest = 12). 6731150
The user-supplied array 'axioms' is stored directly. 689
The method create() has an NPath complexity of 806 700755
The method 'create' has a Cyclomatic Complexity of 15. 700755
The method 'create' has a Standard Cyclomatic Complexity of 12. 700755
The method 'create' has a Modified Cyclomatic Complexity of 12. 700755
Avoid instantiating new objects inside loops 723
Ensure that resources like this Statement object are closed after use 767
Avoid declaring a variable if it is unreferenced before a possible exit point. 824
Avoid declaring a variable if it is unreferenced before a possible exit point. 866
Avoid instantiating new objects inside loops 979987
Ensure that resources like this Statement object are closed after use 1046
Ensure that resources like this Statement object are closed after use 1116

rdfpro-core - eu/fbk/rdfpro/Ruleset.java

Violation Line
Possible God class (WMC=89, ATFD=52, TCC=0.005263157894736842) 14669
The class 'Ruleset' has a Standard Cyclomatic Complexity of 4 (Highest = 14). 57669
The class 'Ruleset' has a Cyclomatic Complexity of 4 (Highest = 19). 57669
The class 'Ruleset' has a Modified Cyclomatic Complexity of 4 (Highest = 14). 57669
The method isMatchable() has an NPath complexity of 8784 200273
The method 'isMatchable' has a Cyclomatic Complexity of 19. 200273
The method 'isMatchable' has a Modified Cyclomatic Complexity of 14. 200273
The method 'isMatchable' has a Standard Cyclomatic Complexity of 14. 200273
Deeply nested if..then statements are hard to read 216222
Avoid instantiating new objects inside loops 219
Deeply nested if..then statements are hard to read 231233
Deeply nested if..then statements are hard to read 236244
Deeply nested if..then statements are hard to read 249253
The method 'getABoxRuleset' has a Standard Cyclomatic Complexity of 13. 292365
The method 'getABoxRuleset' has a Modified Cyclomatic Complexity of 13. 292365
The method 'getABoxRuleset' has a Cyclomatic Complexity of 16. 292365
Avoid instantiating new objects inside loops 298
Avoid instantiating new objects inside loops 311320
Avoid instantiating new objects inside loops 335336
Deeply nested if..then statements are hard to read 350353
Avoid instantiating new objects inside loops 352
StringBuffer constructor is initialized with size 16, but has at least 42 characters appended. 494
Avoid appending characters as strings in StringBuffer.append. 498
Avoid appending characters as strings in StringBuffer.append. 503
Ensure that resources like this Statement object are closed after use 544
StringBuffer constructor is initialized with size 16, but has at least 18 characters appended. 646

rdfpro-core - eu/fbk/rdfpro/SetOperator.java

Violation Line
Possible God class (WMC=55, ATFD=14, TCC=0.0) 14407
Consider using varargs for methods or constructors which take an array the last parameter. 36
Consider using varargs for methods or constructors which take an array the last parameter. 58
Consider using varargs for methods or constructors which take an array the last parameter. 82
Consider using varargs for methods or constructors which take an array the last parameter. 102
Consider using varargs for methods or constructors which take an array the last parameter. 124
Consider using varargs for methods or constructors which take an array the last parameter. 147
Consider using varargs for methods or constructors which take an array the last parameter. 175
Consider using varargs for methods or constructors which take an array the last parameter. 196
Consider using varargs for methods or constructors which take an array the last parameter. 222
Consider using varargs for methods or constructors which take an array the last parameter. 258
Consider using varargs for methods or constructors which take an array the last parameter. 290
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes. 301
Consider using varargs for methods or constructors which take an array the last parameter. 321

rdfpro-core - eu/fbk/rdfpro/StatementBuffer.java

Violation Line
Possible God class (WMC=63, ATFD=19, TCC=0.24183006535947713) 14458
The class 'StatementBuffer' has a Standard Cyclomatic Complexity of 4 (Highest = 11). 45458
The class 'StatementBuffer' has a Cyclomatic Complexity of 4 (Highest = 11). 45458
The class 'StatementBuffer' has a Modified Cyclomatic Complexity of 4 (Highest = 11). 45458
Ensure that resources like this Statement object are closed after use 114
The method iterator() has an NPath complexity of 350 120170
Avoid using redundant field initializer for 'index' 126
Avoid using redundant field initializer for 'offset' 128
The method 'toModel' has a Standard Cyclomatic Complexity of 11. 172241
The method toModel() has an NPath complexity of 730 172241
The method 'toModel' has a Cyclomatic Complexity of 11. 172241
The method 'toModel' has a Modified Cyclomatic Complexity of 11. 172241
Avoid instantiating new objects inside loops 219
Avoid instantiating new objects inside loops 251252
Use block level rather than method level synchronization 258288
Avoid instantiation through private constructors from outside of the constructors class. 297
Use block level rather than method level synchronization 327334
Use block level rather than method level synchronization 336342
Use block level rather than method level synchronization 344386
Avoid instantiating new objects inside loops 371

rdfpro-core - eu/fbk/rdfpro/Transformer.java

Violation Line
Possible God class (WMC=161, ATFD=40, TCC=0.10909090909090909) 14843
Avoid modifiers which are implied by the context 8894
Document empty method body 9192
Avoid modifiers which are implied by the context 97105
The method filter() has an NPath complexity of 4160 144186
Ensure that resources like this Statement object are closed after use 205
The method map() has an NPath complexity of 63180 228318
The method transform() has an NPath complexity of 243 260315
Avoid declaring a variable if it is unreferenced before a possible exit point. 264
Avoid declaring a variable if it is unreferenced before a possible exit point. 265
Avoid declaring a variable if it is unreferenced before a possible exit point. 266
The method set() has an NPath complexity of 65520 338400
The method transform() has an NPath complexity of 1250 382396
Ensure that resources like this Statement object are closed after use 431
The class 'RuleTransformer' has a Cyclomatic Complexity of 19 (Highest = 22). 547843
The class 'RuleTransformer' has a Standard Cyclomatic Complexity of 16 (Highest = 19). 547843
The class 'RuleTransformer' has a Modified Cyclomatic Complexity of 16 (Highest = 19). 547843
The constructor 'RuleTransformer' has a Modified Cyclomatic Complexity of 19. 562626
The constructor 'RuleTransformer' has a Cyclomatic Complexity of 22. 562626
The constructor 'RuleTransformer' has a Standard Cyclomatic Complexity of 19. 562626
Avoid instantiating new objects inside loops 569
Avoid instantiating new objects inside loops 619620
The method 'transform' has a Cyclomatic Complexity of 15. 629683
The method transform() has an NPath complexity of 2430 629683
The method 'transform' has a Standard Cyclomatic Complexity of 12. 629683
The method 'transform' has a Modified Cyclomatic Complexity of 12. 629683
The class 'ValueTransformer' has a Modified Cyclomatic Complexity of 6 (Highest = 15). 685841
The class 'ValueTransformer' has a Cyclomatic Complexity of 6 (Highest = 15). 685841
The class 'ValueTransformer' has a Standard Cyclomatic Complexity of 6 (Highest = 15). 685841
The constructor 'ValueTransformer' has a Modified Cyclomatic Complexity of 15. 722788
The constructor 'ValueTransformer' has a Cyclomatic Complexity of 15. 722788
The constructor 'ValueTransformer' has a Standard Cyclomatic Complexity of 15. 722788

rdfpro-core - eu/fbk/rdfpro/internal/FunctionCompatibleDatatype.java

Violation Line
Avoid instantiating new objects inside loops 84
Avoid instantiating new objects inside loops 88
Avoid instantiating new objects inside loops 109

rdfpro-core - eu/fbk/rdfpro/internal/FunctionMint.java

Violation Line
The class 'FunctionMint' has a Standard Cyclomatic Complexity of 8 (Highest = 13). 30101
The class 'FunctionMint' has a Cyclomatic Complexity of 8 (Highest = 15). 30101
The class 'FunctionMint' has a Modified Cyclomatic Complexity of 8 (Highest = 13). 30101
The method 'evaluate' has a Cyclomatic Complexity of 15. 4099
The method 'evaluate' has a Modified Cyclomatic Complexity of 13. 4099
The method 'evaluate' has a Standard Cyclomatic Complexity of 13. 4099

rdfpro-core - eu/fbk/rdfpro/util/Algebra.java

Violation Line
Possible God class (WMC=183, ATFD=116, TCC=0.0033613445378151263) 14973
The class 'Algebra' has a Modified Cyclomatic Complexity of 5 (Highest = 23). 113973
The class 'Algebra' has a Standard Cyclomatic Complexity of 5 (Highest = 23). 113973
All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. 113973
The class 'Algebra' has a Cyclomatic Complexity of 6 (Highest = 32). 113973
The method 'parseQuery' has a Modified Cyclomatic Complexity of 14. 213279
The method 'parseQuery' has a Standard Cyclomatic Complexity of 14. 213279
The method 'parseQuery' has a Cyclomatic Complexity of 14. 213279
Avoid declaring a variable if it is unreferenced before a possible exit point. 225
Avoid reassigning parameters such as 'expr' 292
Avoid reassigning parameters such as 'expr' 315
The method 'evaluateTupleExpr' has a Standard Cyclomatic Complexity of 10. 315375
Avoid reassigning parameters such as 'expr' 315
The method 'evaluateTupleExpr' has a Cyclomatic Complexity of 10. 315375
The method 'evaluateTupleExpr' has a Modified Cyclomatic Complexity of 10. 315375
The method evaluateTupleExpr() has an NPath complexity of 1500 315375
Avoid reassigning parameters such as 'bindings' 316
Avoid reassigning parameters such as 'evaluationStrategy' 317
Avoid reassigning parameters such as 'evaluationStatistics' 318
The method 'normalizeVars' has a Cyclomatic Complexity of 20. 516580
The method 'normalizeVars' has a Modified Cyclomatic Complexity of 16. 516580
The method normalizeVars() has an NPath complexity of 280 516580
Avoid reassigning parameters such as 'expr' 516
Avoid reassigning parameters such as 'expr' 516
The method 'normalizeVars' has a Standard Cyclomatic Complexity of 16. 516580
The method 'meet' has a Cyclomatic Complexity of 10. 550573
Avoid reassigning parameters such as 'expr' 616
Avoid reassigning parameters such as 'expr' 616
Avoid instantiating new objects inside loops 637
Avoid reassigning parameters such as 'expr' 646
Avoid reassigning parameters such as 'expr' 646
The method 'pushFilters' has a Standard Cyclomatic Complexity of 12. 646703
Avoid reassigning parameters such as 'expr' 646
The method 'pushFilters' has a Modified Cyclomatic Complexity of 12. 646703
The method 'pushFilters' has a Cyclomatic Complexity of 12. 646703
Avoid instantiating new objects inside loops 671
Avoid instantiating new objects inside loops 675
The method 'pushExtensions' has a Standard Cyclomatic Complexity of 13. 706753
The method 'pushExtensions' has a Modified Cyclomatic Complexity of 13. 706753
Avoid reassigning parameters such as 'expr' 706
Avoid reassigning parameters such as 'expr' 706
The method 'pushExtensions' has a Cyclomatic Complexity of 13. 706753
Avoid instantiating new objects inside loops 727
Avoid instantiating new objects inside loops 732
Avoid instantiating new objects inside loops 736
The method 'splitTupleExpr' has a Standard Cyclomatic Complexity of 23. 773883
The method 'splitTupleExpr' has a Cyclomatic Complexity of 32. 773883
The method splitTupleExpr() has an NPath complexity of 618 773883
The method 'splitTupleExpr' has a Modified Cyclomatic Complexity of 23. 773883
Avoid really long methods. 773883
Avoid using redundant field initializer for 'flag' 789
Avoid instantiating new objects inside loops 833
Avoid instantiating new objects inside loops 851
Avoid instantiating new objects inside loops 867
Avoid declaring a variable if it is unreferenced before a possible exit point. 925

rdfpro-core - eu/fbk/rdfpro/util/Buffer.java

Violation Line
The class 'FixedBuffer' has a Cyclomatic Complexity of 3 (Highest = 11). 57248
The user-supplied array 'buffer' is stored directly. 61
Avoid reassigning parameters such as 'length' 166
The method 'equalString' has a Cyclomatic Complexity of 11. 211246
The class 'ResizableBuffer' has a Modified Cyclomatic Complexity of 3 (Highest = 10). 250571
The class 'ResizableBuffer' has a Cyclomatic Complexity of 4 (Highest = 12). 250571
The class 'ResizableBuffer' has a Standard Cyclomatic Complexity of 3 (Highest = 10). 250571
Avoid reassigning parameters such as 'length' 410
Avoid reassigning parameters such as 'index' 410
Avoid reassigning parameters such as 'length' 429
Avoid instantiating new objects inside loops 486
The method 'equalString' has a Standard Cyclomatic Complexity of 10. 500545
The method 'equalString' has a Modified Cyclomatic Complexity of 10. 500545
The method 'equalString' has a Cyclomatic Complexity of 12. 500545
Use block level rather than method level synchronization 559569

rdfpro-core - eu/fbk/rdfpro/util/Dictionary.java

Violation Line
Possible God class (WMC=187, ATFD=95, TCC=0.01904761904761905) 141055
The class 'Dictionary' has a Standard Cyclomatic Complexity of 4 (Highest = 18). 451055
The class 'Dictionary' has a Cyclomatic Complexity of 4 (Highest = 26). 451055
The class 'Dictionary' has a Modified Cyclomatic Complexity of 3 (Highest = 13). 451055
Document empty method body 178179
Document empty method body 181182
The method 'encode' has a Cyclomatic Complexity of 15. 246315
The method 'encode' has a Standard Cyclomatic Complexity of 13. 246315
The method 'encode' has a Modified Cyclomatic Complexity of 13. 246315
The method encode() has an NPath complexity of 280 246315
StringBuffer constructor is initialized with size 18, but has at least 41 characters appended. 409
StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 412
Avoid appending characters as strings in StringBuffer.append. 427
The method 'pack' has a Modified Cyclomatic Complexity of 13. 432492
The method 'pack' has a Cyclomatic Complexity of 26. 432492
The method 'pack' has a Standard Cyclomatic Complexity of 18. 432492
Switch statements should have a default label 434488
The method 'unpack' has a Cyclomatic Complexity of 11. 494527
The method 'unpack' has a Standard Cyclomatic Complexity of 11. 494527
Useless parentheses. 498
Useless parentheses. 499
Useless parentheses. 503
Useless parentheses. 506
Avoid modifiers which are implied by the context 539545
Document empty method body 542543
Document empty method body 547548
Document empty method body 552553
Document empty method body 556557
The class 'SequentialDictionary' has a Standard Cyclomatic Complexity of 3 (Highest = 10). 590692
The class 'SequentialDictionary' has a Cyclomatic Complexity of 3 (Highest = 11). 590692
The class 'SequentialDictionary' has a Modified Cyclomatic Complexity of 3 (Highest = 10). 590692
The method 'encode' has a Cyclomatic Complexity of 11. 618659
The method 'encode' has a Standard Cyclomatic Complexity of 10. 618659
The method 'encode' has a Modified Cyclomatic Complexity of 10. 618659
The class 'MemoryDictionary' has a Modified Cyclomatic Complexity of 5 (Highest = 10). 6991053
The class 'MemoryDictionary' has a Standard Cyclomatic Complexity of 5 (Highest = 10). 6991053
The class 'MemoryDictionary' has a Cyclomatic Complexity of 5 (Highest = 12). 6991053
Avoid instantiating new objects inside loops 724
Avoid instantiating new objects inside loops 741
The method 'doEncode2' has a Modified Cyclomatic Complexity of 10. 767817
The method 'doEncode2' has a Standard Cyclomatic Complexity of 10. 767817
The method 'doEncode2' has a Cyclomatic Complexity of 12. 767817
Avoid instantiating new objects inside loops 777
Avoid reassigning parameters such as 'bufferStart' 899
Avoid reassigning parameters such as 'bufferStart' 899
The method append() has an NPath complexity of 6260 899940
Avoid reassigning parameters such as 'bufferLength' 900
The method 'append2' has a Standard Cyclomatic Complexity of 10. 942989
The method 'append2' has a Cyclomatic Complexity of 10. 942989
The method 'append2' has a Modified Cyclomatic Complexity of 10. 942989
The method append2() has an NPath complexity of 37800 942989
Avoid reassigning parameters such as 'offset' 991
The method equals() has an NPath complexity of 260 9911035
Avoid reassigning parameters such as 'offset' 991

rdfpro-core - eu/fbk/rdfpro/util/Environment.java

Violation Line
Possible God class (WMC=74, ATFD=47, TCC=0.14545454545454545) 14408
The class 'Environment' has a Standard Cyclomatic Complexity of 6 (Highest = 14). 54408
The class 'Environment' has a Modified Cyclomatic Complexity of 6 (Highest = 14). 54408
All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. 54408
The class 'Environment' has a Cyclomatic Complexity of 7 (Highest = 16). 54408
Avoid using redundant field initializer for 'configuredPool' 67
Avoid using redundant field initializer for 'frozenPool' 69
Avoid using redundant field initializer for 'frozenPlugins' 71
Avoid using redundant field initializer for 'frozenCores' 73
Do not add empty strings 77
Avoid instantiating new objects inside loops 85
Avoid instantiating new objects inside loops 92
Singleton is not thread safe 153178
The method 'run' has a Modified Cyclomatic Complexity of 10. 182229
The method 'run' has a Cyclomatic Complexity of 11. 182229
The method 'run' has a Standard Cyclomatic Complexity of 10. 182229
Avoid instantiating new objects inside loops 193212
Avoid instantiating new objects inside loops 318
The method 'loadPlugins' has a Standard Cyclomatic Complexity of 14. 328390
The method 'loadPlugins' has a Modified Cyclomatic Complexity of 14. 328390
The method 'loadPlugins' has a Cyclomatic Complexity of 16. 328390
Position literals first in String comparisons for EqualsIgnoreCase 343
Avoid instantiating new objects inside loops 356
Avoid instantiating new objects inside loops 372

rdfpro-core - eu/fbk/rdfpro/util/Hash.java

Violation Line
The class 'Hash' has a Cyclomatic Complexity of 3 (Highest = 10). 19200
The method 'murmur3' has a Cyclomatic Complexity of 10. 49127

rdfpro-core - eu/fbk/rdfpro/util/HashValueFactory.java

Violation Line
Possible God class (WMC=84, ATFD=137, TCC=0.0) 14488
Avoid instantiating new objects inside loops 79
StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 339
StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 340
Avoid appending characters as strings in StringBuffer.append. 351

rdfpro-core - eu/fbk/rdfpro/util/IO.java

Violation Line
Possible God class (WMC=375, ATFD=44, TCC=0.017825311942959002) 142160
The class 'IO' has a Modified Cyclomatic Complexity of 3 (Highest = 14). 512160
The class 'IO' has a Standard Cyclomatic Complexity of 3 (Highest = 14). 512160
The class 'IO' has a Cyclomatic Complexity of 3 (Highest = 14). 512160
Do not add empty strings 67
The method extractExtension() has an NPath complexity of 255 117133
The method 'read' has a Cyclomatic Complexity of 14. 135209
The method 'read' has a Standard Cyclomatic Complexity of 14. 135209
The method 'read' has a Modified Cyclomatic Complexity of 14. 135209
New exception is thrown in catch block, original stack trace may be lost 158
Prefer StringBuffer over += for concatenating strings 167
The method 'write' has a Cyclomatic Complexity of 14. 211286
The method 'write' has a Modified Cyclomatic Complexity of 14. 211286
The method 'write' has a Standard Cyclomatic Complexity of 14. 211286
Avoid declaring a variable if it is unreferenced before a possible exit point. 213
New exception is thrown in catch block, original stack trace may be lost 224
The class 'SimpleBufferedInputStream' has a Cyclomatic Complexity of 3 (Highest = 14). 342470
The class 'SimpleBufferedInputStream' has a Standard Cyclomatic Complexity of 3 (Highest = 13). 342470
The class 'SimpleBufferedInputStream' has a Modified Cyclomatic Complexity of 3 (Highest = 13). 342470
The method 'read' has a Standard Cyclomatic Complexity of 13. 374407
Avoid reassigning parameters such as 'len' 374
The method 'read' has a Modified Cyclomatic Complexity of 13. 374407
Avoid reassigning parameters such as 'off' 374
The method read() has an NPath complexity of 2052 374407
The method 'read' has a Cyclomatic Complexity of 14. 374407
Document empty method body 437438
Avoid reassigning parameters such as 'off' 498
Avoid reassigning parameters such as 'len' 498
Document empty method body 623624
Avoid reassigning parameters such as 'off' 685
Avoid reassigning parameters such as 'len' 685
Avoid reassigning parameters such as 'len' 704
Avoid reassigning parameters such as 'off' 704
Document empty method body 832833
The class 'Fetcher' has a Cyclomatic Complexity of 4 (Highest = 11). 8781072
The class 'Fetcher' has a Standard Cyclomatic Complexity of 4 (Highest = 10). 8781072
The class 'Fetcher' has a Modified Cyclomatic Complexity of 4 (Highest = 10). 8781072
The method 'run' has a Standard Cyclomatic Complexity of 10. 9931056
The method 'run' has a Cyclomatic Complexity of 11. 9931056
The method 'run' has a Modified Cyclomatic Complexity of 10. 9931056
Avoid instantiating new objects inside loops 1027
Avoid instantiation through private constructors from outside of the constructors class. 1062
Avoid reassigning parameters such as 'off' 1113
Avoid reassigning parameters such as 'off' 1113
Avoid reassigning parameters such as 'len' 1113
Avoid reassigning parameters such as 'off' 1133
Avoid reassigning parameters such as 'len' 1133
Avoid reassigning parameters such as 'off' 1133
Avoid instantiation through private constructors from outside of the constructors class. 1348
Document empty method body 14411442
The class 'Fetcher' has a Cyclomatic Complexity of 4 (Highest = 12). 14871688
The class 'Fetcher' has a Modified Cyclomatic Complexity of 4 (Highest = 11). 14871688
The class 'Fetcher' has a Standard Cyclomatic Complexity of 4 (Highest = 11). 14871688
The method 'run' has a Cyclomatic Complexity of 12. 16021672
The method 'run' has a Standard Cyclomatic Complexity of 11. 16021672
The method 'run' has a Modified Cyclomatic Complexity of 11. 16021672
Avoid instantiating new objects inside loops 1643
Avoid instantiation through private constructors from outside of the constructors class. 1678
Avoid reassigning parameters such as 'off' 1729
Avoid reassigning parameters such as 'len' 1729
Avoid reassigning parameters such as 'off' 1729
Avoid instantiation through private constructors from outside of the constructors class. 1942
The class 'UTF8Reader' has a Cyclomatic Complexity of 3 (Highest = 11). 19532082
The method 'readHelper' has a Cyclomatic Complexity of 11. 19702000
Avoid declaring a variable if it is unreferenced before a possible exit point. 2011
Document empty method body 20572058

rdfpro-core - eu/fbk/rdfpro/util/Iterators.java

Violation Line
All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. 30346

rdfpro-core - eu/fbk/rdfpro/util/Namespaces.java

Violation Line
Possible God class (WMC=85, ATFD=30, TCC=0.0) 14609
The class 'Namespaces' has a Cyclomatic Complexity of 3 (Highest = 10). 72609
The method insert() has an NPath complexity of 510 152190
The method 'insert' has a Cyclomatic Complexity of 10. 152190
Avoid instantiating new objects inside loops 237238
Avoid instantiating new objects inside loops 244
Avoid instantiating new objects inside loops 278
Avoid instantiating new objects inside loops 303
Avoid instantiating new objects inside loops 336

rdfpro-core - eu/fbk/rdfpro/util/Options.java

Violation Line
Possible God class (WMC=69, ATFD=23, TCC=0.0) 14270
The class 'Options' has a Cyclomatic Complexity of 4 (Highest = 29). 24270
The class 'Options' has a Modified Cyclomatic Complexity of 4 (Highest = 27). 24270
The class 'Options' has a Standard Cyclomatic Complexity of 4 (Highest = 27). 24270
The method parse() has an NPath complexity of 6787161 32129
The method 'parse' has a Modified Cyclomatic Complexity of 27. 32129
The method 'parse' has a Standard Cyclomatic Complexity of 27. 32129
The method 'parse' has a Cyclomatic Complexity of 29. 32129
Prefer StringBuffer over += for concatenating strings 60
Avoid instantiating new objects inside loops 91

rdfpro-core - eu/fbk/rdfpro/util/QuadModel.java

Violation Line
Possible God class (WMC=195, ATFD=49, TCC=0.00816326530612245) 141224
Consider using varargs for methods or constructors which take an array the last parameter. 117
Consider using varargs for methods or constructors which take an array the last parameter. 125
Consider using varargs for methods or constructors which take an array the last parameter. 128
Consider using varargs for methods or constructors which take an array the last parameter. 131
Ensure that resources like this Statement object are closed after use 271
Ensure that resources like this Statement object are closed after use 370
Ensure that resources like this Statement object are closed after use 413
The method getEvaluationStatistics() has an NPath complexity of 628 773793
Avoid instantiation through private constructors from outside of the constructors class. 830
Consider using varargs for methods or constructors which take an array the last parameter. 933
Consider using varargs for methods or constructors which take an array the last parameter. 945
Consider using varargs for methods or constructors which take an array the last parameter. 951
Consider using varargs for methods or constructors which take an array the last parameter. 957
Consider using varargs for methods or constructors which take an array the last parameter. 996
Consider using varargs for methods or constructors which take an array the last parameter. 1008
Consider using varargs for methods or constructors which take an array the last parameter. 1014
Consider using varargs for methods or constructors which take an array the last parameter. 1020
The class 'FilteredModel' has a Standard Cyclomatic Complexity of 3 (Highest = 13). 10381222
The class 'FilteredModel' has a Modified Cyclomatic Complexity of 3 (Highest = 13). 10381222
The class 'FilteredModel' has a Cyclomatic Complexity of 4 (Highest = 13). 10381222
The user-supplied array 'contexts' is stored directly. 1058
Consider using varargs for methods or constructors which take an array the last parameter. 1058
Avoid reassigning parameters such as 'obj' 1082
Avoid reassigning parameters such as 'pred' 1082
Avoid reassigning parameters such as 'subj' 1082
Avoid reassigning parameters such as 'ctxs' 1083
Consider using varargs for methods or constructors which take an array the last parameter. 1083
Avoid reassigning parameters such as 'subj' 1095
Avoid reassigning parameters such as 'pred' 1095
Avoid reassigning parameters such as 'obj' 1096
Avoid reassigning parameters such as 'subj' 1120
Avoid reassigning parameters such as 'pred' 1120
Consider using varargs for methods or constructors which take an array the last parameter. 1121
Avoid reassigning parameters such as 'obj' 1121
Avoid reassigning parameters such as 'ctxs' 1121
Avoid reassigning parameters such as 'pred' 1133
Avoid reassigning parameters such as 'subj' 1133
Avoid reassigning parameters such as 'obj' 1133
Avoid reassigning parameters such as 'ctxs' 1134
Consider using varargs for methods or constructors which take an array the last parameter. 1134
Avoid reassigning parameters such as 'pred' 1149
Avoid reassigning parameters such as 'subj' 1149
Consider using varargs for methods or constructors which take an array the last parameter. 1150
Avoid reassigning parameters such as 'ctxs' 1150
Avoid reassigning parameters such as 'obj' 1150
Avoid reassigning parameters such as 'obj' 1162
Avoid reassigning parameters such as 'pred' 1162
Avoid reassigning parameters such as 'subj' 1162
Consider using varargs for methods or constructors which take an array the last parameter. 1186
The method filter() has an NPath complexity of 435 11861220
The method 'filter' has a Standard Cyclomatic Complexity of 13. 11861220
The method 'filter' has a Cyclomatic Complexity of 13. 11861220
The method 'filter' has a Modified Cyclomatic Complexity of 13. 11861220
Avoid instantiating new objects inside loops 1202
Avoid using a branching statement as the last in a loop. 12151216

rdfpro-core - eu/fbk/rdfpro/util/QuadModelImpl.java

Violation Line
Possible God class (WMC=285, ATFD=115, TCC=0.008627450980392156) 141467
Too many fields 491467
The class 'QuadModelImpl' has a Cyclomatic Complexity of 8 (Highest = 26). 491467
The class 'QuadModelImpl' has a Standard Cyclomatic Complexity of 6 (Highest = 22). 491467
The class 'QuadModelImpl' has a Modified Cyclomatic Complexity of 6 (Highest = 22). 491467
Consider using varargs for methods or constructors which take an array the last parameter. 137
The method doIterator() has an NPath complexity of 204 189227
The method 'doIterator' has a Cyclomatic Complexity of 10. 189227
Consider using varargs for methods or constructors which take an array the last parameter. 190
Consider using varargs for methods or constructors which take an array the last parameter. 231
Consider using varargs for methods or constructors which take an array the last parameter. 264
Use block level rather than method level synchronization 300302
The method 'doIterator' has a Modified Cyclomatic Complexity of 22. 348451
The method 'doIterator' has a Cyclomatic Complexity of 26. 348451
The method doIterator() has an NPath complexity of 26520 348451
The method 'doIterator' has a Standard Cyclomatic Complexity of 22. 348451
Avoid really long methods. 348451
Avoid using redundant field initializer for 'index' 360
Avoid using redundant field initializer for 'next' 362
Avoid using redundant field initializer for 'last' 364
Avoid using redundant field initializer for 'last' 421
The method 'doAdd' has a Cyclomatic Complexity of 10. 453513
Avoid instantiating new objects inside loops 471
The method doRemove() has an NPath complexity of 2340 515570
The method 'doRemove' has a Modified Cyclomatic Complexity of 13. 515570
The method 'doRemove' has a Cyclomatic Complexity of 16. 515570
The method 'doRemove' has a Standard Cyclomatic Complexity of 13. 515570
The method 'lookupValue' has a Cyclomatic Complexity of 17. 614683
The method 'lookupValue' has a Standard Cyclomatic Complexity of 16. 614683
The method 'lookupValue' has a Modified Cyclomatic Complexity of 16. 614683
The method lookupValue() has an NPath complexity of 1752 614683
Avoid instantiating new objects inside loops 644
Avoid instantiating new objects inside loops 646
Avoid instantiating new objects inside loops 652653
The method 'cleanZombies' has a Modified Cyclomatic Complexity of 17. 745816
The method 'cleanZombies' has a Cyclomatic Complexity of 18. 745816
The method 'cleanZombies' has a Standard Cyclomatic Complexity of 17. 745816
The method cleanZombies() has an NPath complexity of 3073 745816
A switch with less than three branches is inefficient, use a if statement instead. 874879
The class 'ModelLiteral' has a Cyclomatic Complexity of 2 (Highest = 11). 11301314
The method 'equals' has a Cyclomatic Complexity of 11. 12681288
Avoid appending characters as strings in StringBuffer.append. 1309
Ensure that resources like this Statement object are closed after use 1439
Avoid appending characters as strings in StringBuffer.append. 1457
Avoid appending characters as strings in StringBuffer.append. 1458
Avoid appending characters as strings in StringBuffer.append. 1460

rdfpro-core - eu/fbk/rdfpro/util/QuadModelModelAdapter.java

Violation Line
Consider using varargs for methods or constructors which take an array the last parameter. 69
Consider using varargs for methods or constructors which take an array the last parameter. 76
Consider using varargs for methods or constructors which take an array the last parameter. 82
Avoid instantiating new objects inside loops 90
Consider using varargs for methods or constructors which take an array the last parameter. 98
Consider using varargs for methods or constructors which take an array the last parameter. 112

rdfpro-core - eu/fbk/rdfpro/util/QuadModelRepositoryAdapter.java

Violation Line
Consider using varargs for methods or constructors which take an array the last parameter. 109
Consider using varargs for methods or constructors which take an array the last parameter. 140
Consider using varargs for methods or constructors which take an array the last parameter. 151
Avoid instantiating new objects inside loops 171
Consider using varargs for methods or constructors which take an array the last parameter. 186

rdfpro-core - eu/fbk/rdfpro/util/QuadModelSailAdapter.java

Violation Line
Consider using varargs for methods or constructors which take an array the last parameter. 133
Consider using varargs for methods or constructors which take an array the last parameter. 164
Consider using varargs for methods or constructors which take an array the last parameter. 175
Consider using varargs for methods or constructors which take an array the last parameter. 210
Avoid reassigning parameters such as 'bindings' 239

rdfpro-core - eu/fbk/rdfpro/util/QuadModelSubModel.java

Violation Line
Possible God class (WMC=71, ATFD=17, TCC=0.0) 14359
The class 'QuadModelSubModel' has a Modified Cyclomatic Complexity of 4 (Highest = 17). 35359
The class 'QuadModelSubModel' has a Cyclomatic Complexity of 5 (Highest = 25). 35359
The class 'QuadModelSubModel' has a Standard Cyclomatic Complexity of 4 (Highest = 17). 35359
Deeply nested if..then statements are hard to read 6264
Ensure that resources like this Statement object are closed after use 95
Deeply nested if..then statements are hard to read 131133
The method 'doIterator' has a Cyclomatic Complexity of 25. 143237
The method doIterator() has an NPath complexity of 3150 143237
The method 'doIterator' has a Modified Cyclomatic Complexity of 17. 143237
The method 'doIterator' has a Standard Cyclomatic Complexity of 17. 143237
Consider using varargs for methods or constructors which take an array the last parameter. 144
Avoid using redundant field initializer for 'offset' 150
Avoid using redundant field initializer for 'next' 191
The method 'hasNext' has a Cyclomatic Complexity of 13. 194224
Consider using varargs for methods or constructors which take an array the last parameter. 256
Consider using varargs for methods or constructors which take an array the last parameter. 268
Consider using varargs for methods or constructors which take an array the last parameter. 274

rdfpro-core - eu/fbk/rdfpro/util/SPARQLRenderer.java

Violation Line
Possible God class (WMC=370, ATFD=281, TCC=0.0) 141687
Avoid appending characters as strings in StringBuffer.append. 208
Avoid appending characters as strings in StringBuffer.append. 258
The class 'Rendering' has a Modified Cyclomatic Complexity of 2 (Highest = 26). 3581374
The class 'Rendering' has a Standard Cyclomatic Complexity of 2 (Highest = 26). 3581374
The class 'Rendering' has a Cyclomatic Complexity of 2 (Highest = 27). 3581374
StringBuffers can grow quite a lot, and so may become a source of memory leak (if the owning class has a long life time). 369
The method emit() has an NPath complexity of 97200 508584
The method 'emit' has a Cyclomatic Complexity of 27. 508584
The method 'emit' has a Modified Cyclomatic Complexity of 26. 508584
The method 'emit' has a Standard Cyclomatic Complexity of 26. 508584
This call to String.startsWith can be rewritten using String.charAt(0) 532
This call to String.startsWith can be rewritten using String.charAt(0) 666
The method 'emitPropertyPath' has a Cyclomatic Complexity of 17. 9161002
The method 'emitPropertyPath' has a Standard Cyclomatic Complexity of 16. 9161002
The method 'emitPropertyPath' has a Modified Cyclomatic Complexity of 16. 9161002
When doing a String.toLowerCase()/toUpperCase() call, use a Locale 1268
The class 'Query' has a Cyclomatic Complexity of 14 (Highest = 30). 13841685
The class 'Query' has a Modified Cyclomatic Complexity of 10 (Highest = 25). 13841685
The class 'Query' has a Standard Cyclomatic Complexity of 10 (Highest = 25). 13841685
The method 'create' has a Modified Cyclomatic Complexity of 25. 14161535
The method create() has an NPath complexity of 6630 14161535
The method 'create' has a Standard Cyclomatic Complexity of 25. 14161535
The method 'create' has a Cyclomatic Complexity of 30. 14161535
Avoid really long methods. 14161535
Substitute calls to size() == 0 (or size() != 0, size() > 0, size() < 1) with calls to isEmpty() 1441
Avoid instantiating new objects inside loops 1477
Avoid instantiating new objects inside loops 1497
The method 'extractQueryNodes' has a Cyclomatic Complexity of 30. 15371600
The method 'extractQueryNodes' has a Standard Cyclomatic Complexity of 14. 15371600
The method 'extractQueryNodes' has a Modified Cyclomatic Complexity of 14. 15371600
This for loop could be simplified to a while loop 15801582
Avoid instantiating new objects inside loops 16291631
Avoid instantiating new objects inside loops 1632
Prefer StringBuffer over += for concatenating strings 1642
Avoid long parameter lists. 16571669

rdfpro-core - eu/fbk/rdfpro/util/Scripting.java

Violation Line
Possible God class (WMC=81, ATFD=28, TCC=0.0) 14351
The class 'Scripting' has a Modified Cyclomatic Complexity of 6 (Highest = 12). 39351
All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. 39351
The class 'Scripting' has a Standard Cyclomatic Complexity of 6 (Highest = 12). 39351
The class 'Scripting' has a Cyclomatic Complexity of 8 (Highest = 18). 39351
Avoid declaring a variable if it is unreferenced before a possible exit point. 57
Deeply nested if..then statements are hard to read 5860
Avoid instantiating new objects inside loops 61
Avoid instantiating new objects inside loops 6263
Avoid appending characters as strings in StringBuffer.append. 66
New exception is thrown in catch block, original stack trace may be lost 69
The method 'compile' has a Modified Cyclomatic Complexity of 12. 94167
The method compile() has an NPath complexity of 2160 94167
The method 'compile' has a Standard Cyclomatic Complexity of 12. 94167
The method 'compile' has a Cyclomatic Complexity of 13. 94167
Avoid empty catch blocks 137139
StringBuffer constructor is initialized with size 16, but has at least 111 characters appended. 159
StringBuffer (or StringBuilder).append is called 2 consecutive times with literal Strings. Use a single append with a single combined String. 160
StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 160
StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 161
StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 162
New exception is thrown in catch block, original stack trace may be lost 164
New exception is thrown in catch block, original stack trace may be lost 164
StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 196
StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 197
Avoid appending characters as strings in StringBuffer.append. 198
StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 198
StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 199
StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 200
StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 210
StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 211
StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 212
Avoid appending characters as strings in StringBuffer.append. 212
StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 213
StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 214
StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 215
The method 'rewrite' has a Cyclomatic Complexity of 12. 225280
The method 'rewrite' has a Modified Cyclomatic Complexity of 10. 225280
The method 'rewrite' has a Standard Cyclomatic Complexity of 10. 225280
Avoid reassigning parameters such as 'i' 285
The method 'parseURI' has a Cyclomatic Complexity of 13. 285301
Avoid reassigning parameters such as 'i' 285
Avoid declaring a variable if it is unreferenced before a possible exit point. 286
Avoid reassigning parameters such as 'i' 303
Avoid reassigning parameters such as 'i' 303
The method parseQName() has an NPath complexity of 1920 303332
The method 'parseQName' has a Cyclomatic Complexity of 18. 303332
Avoid reassigning parameters such as 'i' 303
Avoid declaring a variable if it is unreferenced before a possible exit point. 304
Avoid declaring a variable if it is unreferenced before a possible exit point. 305

rdfpro-core - eu/fbk/rdfpro/util/Sorter.java

Violation Line
Possible God class (WMC=200, ATFD=21, TCC=0.007112375533428165) 141154
The class 'Sorter' has a Cyclomatic Complexity of 4 (Highest = 14). 431154
The class 'Sorter' has a Modified Cyclomatic Complexity of 4 (Highest = 14). 431154
The class 'Sorter' has a Standard Cyclomatic Complexity of 4 (Highest = 14). 431154
New exception is thrown in catch block, original stack trace may be lost 177
The method 'end' has a Cyclomatic Complexity of 14. 184260
The method 'end' has a Standard Cyclomatic Complexity of 14. 184260
The method 'end' has a Modified Cyclomatic Complexity of 14. 184260
Avoid instantiating new objects inside loops 220
Avoid instantiating new objects inside loops 224231
The class 'Output' has a Cyclomatic Complexity of 4 (Highest = 16). 328490
The class 'Output' has a Modified Cyclomatic Complexity of 4 (Highest = 15). 328490
The class 'Output' has a Standard Cyclomatic Complexity of 4 (Highest = 15). 328490
Unnecessary final modifier in final class 350360
The method 'writeValue' has a Cyclomatic Complexity of 16. 362417
The method 'writeValue' has a Standard Cyclomatic Complexity of 15. 362417
The method 'writeValue' has a Modified Cyclomatic Complexity of 15. 362417
Unnecessary final modifier in final class 362417
Unnecessary final modifier in final class 419425
The method 'writeNumber' has a Cyclomatic Complexity of 11. 427449
The method 'writeNumber' has a Standard Cyclomatic Complexity of 10. 427449
Unnecessary final modifier in final class 427449
The method 'writeNumber' has a Modified Cyclomatic Complexity of 10. 427449
The class 'Input' has a Standard Cyclomatic Complexity of 4 (Highest = 11). 492666
The class 'Input' has a Cyclomatic Complexity of 4 (Highest = 12). 492666
The class 'Input' has a Modified Cyclomatic Complexity of 4 (Highest = 11). 492666
StringBuffers can grow quite a lot, and so may become a source of memory leak (if the owning class has a long life time). 498
Unnecessary final modifier in final class 531533
Unnecessary final modifier in final class 536549
Unnecessary final modifier in final class 552586
The method 'readValue' has a Cyclomatic Complexity of 12. 552586
The method 'readValue' has a Modified Cyclomatic Complexity of 11. 552586
The method 'readValue' has a Standard Cyclomatic Complexity of 11. 552586
Unnecessary final modifier in final class 589597
The method 'readNumber' has a Modified Cyclomatic Complexity of 10. 599622
The method 'readNumber' has a Cyclomatic Complexity of 10. 599622
The method 'readNumber' has a Standard Cyclomatic Complexity of 10. 599622
Unnecessary final modifier in final class 599622
Consider using varargs for methods or constructors which take an array the last parameter. 722
The class 'Dictionary' has a Cyclomatic Complexity of 3 (Highest = 10). 7721152
Avoid instantiating new objects inside loops 828
The method 'encodeURI' has a Cyclomatic Complexity of 10. 848897
Consider using varargs for methods or constructors which take an array the last parameter. 848
StringBuffer constructor is initialized with size 16, but has at least 93 characters appended. 943
StringBuffer (or StringBuilder).append is called 2 consecutive times with literal Strings. Use a single append with a single combined String. 944
StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 944
Avoid appending characters as strings in StringBuffer.append. 944
Avoid appending characters as strings in StringBuffer.append. 945
StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 945
StringBuffer (or StringBuilder).append is called 2 consecutive times with literal Strings. Use a single append with a single combined String. 945
StringBuffer (or StringBuilder).append is called 2 consecutive times with literal Strings. Use a single append with a single combined String. 946
StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 946
Avoid appending characters as strings in StringBuffer.append. 946
StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 947
StringBuffer (or StringBuilder).append is called 2 consecutive times with literal Strings. Use a single append with a single combined String. 947
Avoid appending characters as strings in StringBuffer.append. 947
The class 'StringIndex' has a Standard Cyclomatic Complexity of 4 (Highest = 12). 9521076
The class 'StringIndex' has a Cyclomatic Complexity of 5 (Highest = 15). 9521076
The class 'StringIndex' has a Modified Cyclomatic Complexity of 4 (Highest = 12). 9521076
Avoid instantiating new objects inside loops 973
The method 'put' has a Cyclomatic Complexity of 15. 9781043
The method 'put' has a Modified Cyclomatic Complexity of 12. 9781043
The method 'put' has a Standard Cyclomatic Complexity of 12. 9781043
The class 'GenericIndex' has a Cyclomatic Complexity of 4 (Highest = 10). 10781150
The method 'put' has a Cyclomatic Complexity of 10. 10931134

rdfpro-core - eu/fbk/rdfpro/util/Sorting.java

Violation Line
Consider using varargs for methods or constructors which take an array the last parameter. 25
The user-supplied array 'data' is stored directly. 58

rdfpro-core - eu/fbk/rdfpro/util/StatementComponent.java

Violation Line
Avoid reassigning parameters such as 'letter' 162

rdfpro-core - eu/fbk/rdfpro/util/StatementDeduplicator.java

Violation Line
Possible God class (WMC=100, ATFD=41, TCC=0.0) 14588
Consider using varargs for methods or constructors which take an array the last parameter. 135
Avoid instantiating new objects inside loops 172
Use block level rather than method level synchronization 204231
The class 'TotalEqualsDeduplicator' has a Cyclomatic Complexity of 6 (Highest = 16). 255320
The class 'TotalEqualsDeduplicator' has a Standard Cyclomatic Complexity of 4 (Highest = 10). 255320
The class 'TotalEqualsDeduplicator' has a Modified Cyclomatic Complexity of 4 (Highest = 10). 255320
The method 'process' has a Standard Cyclomatic Complexity of 10. 274318
The method process() has an NPath complexity of 625 274318
The method 'process' has a Cyclomatic Complexity of 16. 274318
The method 'process' has a Modified Cyclomatic Complexity of 10. 274318
The class 'TotalIdentityDeduplicator' has a Modified Cyclomatic Complexity of 4 (Highest = 10). 322388
The class 'TotalIdentityDeduplicator' has a Standard Cyclomatic Complexity of 4 (Highest = 10). 322388
The class 'TotalIdentityDeduplicator' has a Cyclomatic Complexity of 5 (Highest = 13). 322388
The method 'process' has a Cyclomatic Complexity of 13. 341386
The method 'process' has a Standard Cyclomatic Complexity of 10. 341386
The method 'process' has a Modified Cyclomatic Complexity of 10. 341386
The method process() has an NPath complexity of 475 341386
Avoid instantiating new objects inside loops 400
Avoid instantiating new objects inside loops 449
The method process() has an NPath complexity of 300 459488
The class 'PartialEqualsDeduplicator' has a Cyclomatic Complexity of 5 (Highest = 12). 492547
Avoid instantiating new objects inside loops 506
The method 'process' has a Cyclomatic Complexity of 12. 516545
The method process() has an NPath complexity of 450 516545
The user-supplied array 'deduplicators' is stored directly. 555
Consider using varargs for methods or constructors which take an array the last parameter. 555

rdfpro-core - eu/fbk/rdfpro/util/StatementMatcher.java

Violation Line
Possible God class (WMC=135, ATFD=48, TCC=0.019762845849802372) 14690
The class 'StatementMatcher' has a Standard Cyclomatic Complexity of 4 (Highest = 14). 52690
The class 'StatementMatcher' has a Cyclomatic Complexity of 4 (Highest = 15). 52690
The class 'StatementMatcher' has a Modified Cyclomatic Complexity of 4 (Highest = 14). 52690
The user-supplied array 'masks' is stored directly. 80
The user-supplied array 'values' is stored directly. 80
The user-supplied array 'tables' is stored directly. 80
The method match() has an NPath complexity of 240 108158
The method 'match' has a Cyclomatic Complexity of 15. 108158
The method 'match' has a Modified Cyclomatic Complexity of 14. 108158
The method 'match' has a Standard Cyclomatic Complexity of 14. 108158
Avoid reassigning parameters such as 'ctx' 109
Deeply nested if..then statements are hard to read 138140
Avoid instantiating new objects inside loops 139
The method 'map' has a Cyclomatic Complexity of 15. 166214
The method map() has an NPath complexity of 670 166214
The method 'map' has a Standard Cyclomatic Complexity of 13. 166214
The method 'map' has a Modified Cyclomatic Complexity of 13. 166214
Avoid reassigning parameters such as 'ctx' 167
Avoid instantiating new objects inside loops 207
The method 'match' has a Cyclomatic Complexity of 10. 221250
The method 'normalizeIfNecessary' has a Cyclomatic Complexity of 10. 252271
The class 'Builder' has a Modified Cyclomatic Complexity of 5 (Highest = 13). 349553
The class 'Builder' has a Cyclomatic Complexity of 5 (Highest = 14). 349553
The class 'Builder' has a Standard Cyclomatic Complexity of 5 (Highest = 13). 349553
Avoid instantiating new objects inside loops 386
Avoid reassigning parameters such as 'filter' 397
The method build() has an NPath complexity of 549 458551
The method 'build' has a Cyclomatic Complexity of 14. 458551
The method 'build' has a Modified Cyclomatic Complexity of 13. 458551
The method 'build' has a Standard Cyclomatic Complexity of 13. 458551
Avoid instantiating new objects inside loops 497
Avoid instantiation through private constructors from outside of the constructors class. 549550

rdfpro-core - eu/fbk/rdfpro/util/StatementTemplate.java

Violation Line
Possible God class (WMC=60, ATFD=40, TCC=0.0) 14241
The class 'StatementTemplate' has a Cyclomatic Complexity of 4 (Highest = 12). 31241
The method normalize() has an NPath complexity of 5000 7890
Avoid empty catch blocks 114115
The method 'componentFor' has a Cyclomatic Complexity of 12. 217240

rdfpro-core - eu/fbk/rdfpro/util/Statements.java

Violation Line
Possible God class (WMC=475, ATFD=258, TCC=8.163265306122449E-4) 141573
The class 'Statements' has a Standard Cyclomatic Complexity of 6 (Highest = 29). 561573
The class 'Statements' has a Modified Cyclomatic Complexity of 5 (Highest = 29). 561573
The class 'Statements' has a Cyclomatic Complexity of 8 (Highest = 52). 561573
The method 'isRDFFormatTextBased' has a Cyclomatic Complexity of 12. 260271
Position literals first in String comparisons for EqualsIgnoreCase 262
Position literals first in String comparisons for EqualsIgnoreCase 262
Position literals first in String comparisons for EqualsIgnoreCase 263
Position literals first in String comparisons for EqualsIgnoreCase 263
Position literals first in String comparisons for EqualsIgnoreCase 264
Position literals first in String comparisons for EqualsIgnoreCase 264
Position literals first in String comparisons for EqualsIgnoreCase 265
Position literals first in String comparisons for EqualsIgnoreCase 265
Position literals first in String comparisons for EqualsIgnoreCase 266
Position literals first in String comparisons for EqualsIgnoreCase 266
Position literals first in String comparisons for EqualsIgnoreCase 275
Position literals first in String comparisons for EqualsIgnoreCase 275
Position literals first in String comparisons for EqualsIgnoreCase 276
The method 'isGoodQName' has a Cyclomatic Complexity of 18. 343371
The method 'formatURI' has a Standard Cyclomatic Complexity of 16. 373435
The method 'formatURI' has a Cyclomatic Complexity of 16. 373435
A switch statement does not contain a break 394432
The method 'formatLiteral' has a Modified Cyclomatic Complexity of 11. 469554
The method 'formatLiteral' has a Standard Cyclomatic Complexity of 18. 469554
The method 'formatLiteral' has a Cyclomatic Complexity of 20. 469554
A switch statement does not contain a break 476516
The method 'parseURI' has a Cyclomatic Complexity of 52. 576663
The method parseURI() has an NPath complexity of 679 576663
The method 'parseURI' has a Standard Cyclomatic Complexity of 20. 576663
The method 'parseURI' has a Modified Cyclomatic Complexity of 20. 576663
Avoid declaring a variable if it is unreferenced before a possible exit point. 580
The method 'parseLiteral' has a Cyclomatic Complexity of 26. 688757
The method 'parseLiteral' has a Standard Cyclomatic Complexity of 15. 688757
Avoid declaring a variable if it is unreferenced before a possible exit point. 760
The method 'convertObject' has a Cyclomatic Complexity of 15. 920955
The method 'convertObject' has a Standard Cyclomatic Complexity of 15. 920955
The method 'convertObject' has a Modified Cyclomatic Complexity of 15. 920955
The method 'convertLiteral' has a Standard Cyclomatic Complexity of 14. 9661001
The method 'convertLiteral' has a Cyclomatic Complexity of 24. 9661001
The method 'convertLiteral' has a Modified Cyclomatic Complexity of 14. 9661001
The method 'convertString' has a Cyclomatic Complexity of 37. 10161071
The method 'convertString' has a Standard Cyclomatic Complexity of 29. 10161071
The method 'convertString' has a Modified Cyclomatic Complexity of 29. 10161071
The method 'convertNumber' has a Modified Cyclomatic Complexity of 21. 10741117
The method 'convertNumber' has a Standard Cyclomatic Complexity of 21. 10741117
The method 'convertNumber' has a Cyclomatic Complexity of 29. 10741117
Avoid creating BigDecimal with a decimal (float/double) literal. Use a String literal 1191
The class 'ValueComparator' has a Modified Cyclomatic Complexity of 6 (Highest = 12). 12261285
The class 'ValueComparator' has a Standard Cyclomatic Complexity of 6 (Highest = 12). 12261285
The class 'ValueComparator' has a Cyclomatic Complexity of 7 (Highest = 16). 12261285
The method 'compare' has a Standard Cyclomatic Complexity of 12. 12351274
The method 'compare' has a Modified Cyclomatic Complexity of 12. 12351274
The method 'compare' has a Cyclomatic Complexity of 16. 12351274
The class 'StatementMatcher' has a Standard Cyclomatic Complexity of 10 (Highest = 17). 13361571
The class 'StatementMatcher' has a Cyclomatic Complexity of 10 (Highest = 19). 13361571
The class 'StatementMatcher' has a Modified Cyclomatic Complexity of 10 (Highest = 17). 13361571
The constructor 'StatementMatcher' has a Cyclomatic Complexity of 19. 13511409
The constructor 'StatementMatcher' has a Modified Cyclomatic Complexity of 17. 13511409
The constructor 'StatementMatcher' has a Standard Cyclomatic Complexity of 17. 13511409
Avoid instantiating new objects inside loops 1357
Avoid instantiating new objects inside loops 14021403
The class 'ValueMatcher' has a Modified Cyclomatic Complexity of 5 (Highest = 15). 14191569
The class 'ValueMatcher' has a Cyclomatic Complexity of 5 (Highest = 15). 14191569
The class 'ValueMatcher' has a Standard Cyclomatic Complexity of 5 (Highest = 15). 14191569
The constructor 'ValueMatcher' has a Modified Cyclomatic Complexity of 15. 14531517
The constructor 'ValueMatcher' has a Cyclomatic Complexity of 15. 14531517
The constructor 'ValueMatcher' has a Standard Cyclomatic Complexity of 15. 14531517

rdfpro-core - eu/fbk/rdfpro/util/StringIndex.java

Violation Line
Useless parentheses. 272

rdfpro-core - eu/fbk/rdfpro/util/Tracker.java

Violation Line
Avoid using redundant field initializer for 'counterAtTs' 52
Use block level rather than method level synchronization 113137

rdfpro-dist - eu/fbk/rdfpro/tool/GeonamesRDF.java

Violation Line
Document empty method body 8283
Document empty method body 8687
Avoid instantiating new objects inside loops 9697
Avoid instantiating new objects inside loops 121

rdfpro-dist - eu/fbk/rdfpro/tool/Logging.java

Violation Line
Possible God class (WMC=51, ATFD=22, TCC=0.01818181818181818) 14335
All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. 34335
StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 47
StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 48
StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 49
StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 50
Unnecessary use of fully qualified name 'ch.qos.logback.classic.Level.ERROR_INT' due to existing import 'ch.qos.logback.classic.Level' 67
Unnecessary use of fully qualified name 'ch.qos.logback.classic.Level.WARN_INT' due to existing import 'ch.qos.logback.classic.Level' 69
Unnecessary use of fully qualified name 'ch.qos.logback.classic.Level.ERROR_INT' due to existing import 'ch.qos.logback.classic.Level' 84
Unnecessary use of fully qualified name 'ch.qos.logback.classic.Level.WARN_INT' due to existing import 'ch.qos.logback.classic.Level' 86
Use block level rather than method level synchronization 103105
Use block level rather than method level synchronization 107113
Use block level rather than method level synchronization 116149
Use block level rather than method level synchronization 152166
Use block level rather than method level synchronization 169183
Use block level rather than method level synchronization 200204
Use block level rather than method level synchronization 207211
Use block level rather than method level synchronization 214219
Use block level rather than method level synchronization 221226
The user-supplied array 'status' is stored directly. 221
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 270
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. 272

rdfpro-dist - eu/fbk/rdfpro/tool/Main.java

Violation Line
The class 'Main' has a Standard Cyclomatic Complexity of 6 (Highest = 14). 49211
The class 'Main' has a Modified Cyclomatic Complexity of 6 (Highest = 14). 49211
All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. 49211
The class 'Main' has a Cyclomatic Complexity of 6 (Highest = 16). 49211
The method main() has an NPath complexity of 3328 59149
The method 'main' has a Modified Cyclomatic Complexity of 14. 59149
The method 'main' has a Standard Cyclomatic Complexity of 14. 59149
The method 'main' has a Cyclomatic Complexity of 16. 59149
Avoid empty catch blocks 6365
Avoid empty catch blocks 6971
This call to String.startsWith can be rewritten using String.charAt(0) 80
This call to String.startsWith can be rewritten using String.charAt(0) 80
This call to String.startsWith can be rewritten using String.charAt(0) 80
Position literals first in String comparisons 83
Position literals first in String comparisons 84
Position literals first in String comparisons 85
Position literals first in String comparisons 87
Avoid empty catch blocks 101103
Avoid appending characters as strings in StringBuffer.append. 185
New exception is thrown in catch block, original stack trace may be lost 192

rdfpro-dist - org/openrdf/query/algebra/evaluation/QueryBindingSet.java

Violation Line
Possible God class (WMC=91, ATFD=14, TCC=0.023715415019762844) 14416
The class 'QueryBindingSet' has a Modified Cyclomatic Complexity of 3 (Highest = 16). 39416
The class 'QueryBindingSet' has a Cyclomatic Complexity of 4 (Highest = 17). 39416
The class 'QueryBindingSet' has a Standard Cyclomatic Complexity of 3 (Highest = 16). 39416
The method 'equals' has a Cyclomatic Complexity of 17. 230278
The method equals() has an NPath complexity of 624 230278
The method 'equals' has a Modified Cyclomatic Complexity of 16. 230278
The method 'equals' has a Standard Cyclomatic Complexity of 16. 230278
Consider using varargs for methods or constructors which take an array the last parameter. 351
The user-supplied array 'data' is stored directly. 351
Consider using varargs for methods or constructors which take an array the last parameter. 392
Consider using varargs for methods or constructors which take an array the last parameter. 405

rdfpro-groovy - eu/fbk/rdfpro/GroovyProcessor.java

Violation Line
Possible God class (WMC=274, ATFD=75, TCC=7.541478129713424E-4) 141257
The class 'GroovyProcessor' has a Standard Cyclomatic Complexity of 4 (Highest = 14). 771257
The class 'GroovyProcessor' has a Modified Cyclomatic Complexity of 4 (Highest = 14). 771257
The class 'GroovyProcessor' has a Cyclomatic Complexity of 4 (Highest = 14). 771257
StringBuffer (or StringBuilder).append is called 2 consecutive times with literal Strings. Use a single append with a single combined String. 212
StringBuffer (or StringBuilder).append is called 2 consecutive times with literal Strings. Use a single append with a single combined String. 216
StringBuffer (or StringBuilder).append is called 2 consecutive times with literal Strings. Use a single append with a single combined String. 220
The class 'Loader' has a Standard Cyclomatic Complexity of 8 (Highest = 11). 227516
The class 'Loader' has a Cyclomatic Complexity of 12 (Highest = 18). 227516
The class 'Loader' has a Modified Cyclomatic Complexity of 8 (Highest = 11). 227516
Avoid instantiating new objects inside loops 243
Avoid instantiating new objects inside loops 245
The method 'getResourceConnection' has a Modified Cyclomatic Complexity of 10. 256296
The method 'getResourceConnection' has a Standard Cyclomatic Complexity of 10. 256296
The method 'getResourceConnection' has a Cyclomatic Complexity of 10. 256296
Avoid instantiating new objects inside loops 264
Avoid instantiating new objects inside loops 267
Avoid instantiating new objects inside loops 277
Avoid instantiating new objects inside loops 278
Avoid instantiating new objects inside loops 283
Avoid instantiating new objects inside loops 284
The method 'filter' has a Cyclomatic Complexity of 13. 298357
The method 'filter' has a Standard Cyclomatic Complexity of 11. 298357
The method 'filter' has a Modified Cyclomatic Complexity of 11. 298357
The method 'parseURI' has a Cyclomatic Complexity of 13. 359379
Avoid reassigning parameters such as 'i' 359
Avoid reassigning parameters such as 'i' 359
Avoid declaring a variable if it is unreferenced before a possible exit point. 361
The method 'parseQName' has a Cyclomatic Complexity of 18. 381418
Avoid reassigning parameters such as 'i' 381
Avoid reassigning parameters such as 'i' 381
Avoid reassigning parameters such as 'i' 381
The method parseQName() has an NPath complexity of 1920 381418
Avoid declaring a variable if it is unreferenced before a possible exit point. 383
Avoid declaring a variable if it is unreferenced before a possible exit point. 384
Avoid appending characters as strings in StringBuffer.append. 466
Private field 'allScripts' could be made final; it is only initialized in the declaration or constructor. 520
Private field 'threadScript' could be made final; it is only initialized in the declaration or constructor. 522
Use block level rather than method level synchronization 591594
Use block level rather than method level synchronization 597600
Use block level rather than method level synchronization 603606
The class 'HandlerScript' has a Standard Cyclomatic Complexity of 4 (Highest = 20). 610948
The class 'HandlerScript' has a Modified Cyclomatic Complexity of 4 (Highest = 20). 610948
The class 'HandlerScript' has a Cyclomatic Complexity of 5 (Highest = 21). 610948
The method 'getProperty' has a Standard Cyclomatic Complexity of 14. 636663
The method 'getProperty' has a Modified Cyclomatic Complexity of 14. 636663
The method 'getProperty' has a Cyclomatic Complexity of 15. 636663
The method 'setProperty' has a Modified Cyclomatic Complexity of 20. 666716
The method 'setProperty' has a Standard Cyclomatic Complexity of 20. 666716
The method 'setProperty' has a Cyclomatic Complexity of 21. 666716
The method setProperty() has an NPath complexity of 14762 666716
Prefer StringBuffer over += for concatenating strings 703
Prefer StringBuffer over += for concatenating strings 703
Prefer StringBuffer over += for concatenating strings 704
Prefer StringBuffer over += for concatenating strings 704
Consider using varargs for methods or constructors which take an array the last parameter. 718
The method 'createHashSet' has a Standard Cyclomatic Complexity of 11. 896946
The method 'createHashSet' has a Modified Cyclomatic Complexity of 11. 896946
The method 'createHashSet' has a Cyclomatic Complexity of 11. 896946
Document empty method body 906907
Document empty method body 910911
Document empty method body 915916
Document empty method body 935936
The method 'toRDF' has a Cyclomatic Complexity of 14. 951990
The method 'toRDF' has a Standard Cyclomatic Complexity of 14. 951990
The method 'toRDF' has a Modified Cyclomatic Complexity of 14. 951990
Avoid unused private methods such as 'toLiteral(Object,String)'. 993
Ensure that resources like this Statement object are closed after use 1100
StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 1115
StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 1116
StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 1117
StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 1118
StringBuffer (or StringBuilder).append is called consecutively without reusing the target variable. 1119
Avoid appending characters as strings in StringBuffer.append. 1124
The class 'GroovyLiteral' has a Modified Cyclomatic Complexity of 4 (Highest = 11). 11701211
The class 'GroovyLiteral' has a Cyclomatic Complexity of 4 (Highest = 11). 11701211
The class 'GroovyLiteral' has a Standard Cyclomatic Complexity of 4 (Highest = 11). 11701211
The method 'compareTo' has a Modified Cyclomatic Complexity of 11. 11871209
The method 'compareTo' has a Standard Cyclomatic Complexity of 11. 11871209
The method 'compareTo' has a Cyclomatic Complexity of 11. 11871209
The class 'ValueSet' has a Cyclomatic Complexity of 5 (Highest = 10). 12131255
The method 'match' has a Cyclomatic Complexity of 10. 12291253
These nested if statements could be combined 12321234
These nested if statements could be combined 12371239
These nested if statements could be combined 12421244

rdfpro-groovy - eu/fbk/rdfpro/SparqlFunctions.java

Violation Line
Possible God class (WMC=100, ATFD=31, TCC=0.0) 14467
All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. 83467
The class 'SparqlFunctions' has a Cyclomatic Complexity of 2 (Highest = 13). 83467
The class 'SparqlFunctions' has a Standard Cyclomatic Complexity of 2 (Highest = 13). 83467
The class 'SparqlFunctions' has a Modified Cyclomatic Complexity of 2 (Highest = 13). 83467
Position literals first in String comparisons 244
The method 'regex' has a Cyclomatic Complexity of 12. 264309
The method 'regex' has a Standard Cyclomatic Complexity of 10. 264309
Avoid declaring a variable if it is unreferenced before a possible exit point. 275
Avoid declaring a variable if it is unreferenced before a possible exit point. 276
The method 'toRDF' has a Modified Cyclomatic Complexity of 13. 432465
The method 'toRDF' has a Standard Cyclomatic Complexity of 13. 432465
The method 'toRDF' has a Cyclomatic Complexity of 13. 432465

rdfpro-jsonld - eu/fbk/rdfpro/jsonld/JSONLDParser.java

Violation Line
Document empty method body 116117
The method emit() has an NPath complexity of 480 177211

rdfpro-jsonld - eu/fbk/rdfpro/jsonld/JSONLDWriter.java

Violation Line
Possible God class (WMC=94, ATFD=43, TCC=0.0) 14532
The class 'JSONLDWriter' has a Modified Cyclomatic Complexity of 4 (Highest = 10). 59532
The class 'JSONLDWriter' has a Standard Cyclomatic Complexity of 4 (Highest = 10). 59532
The class 'JSONLDWriter' has a Cyclomatic Complexity of 4 (Highest = 16). 59532
The method flush() has an NPath complexity of 270 190255
The method 'flush' has a Modified Cyclomatic Complexity of 10. 190255
The method 'flush' has a Cyclomatic Complexity of 16. 190255
The method 'flush' has a Standard Cyclomatic Complexity of 10. 190255
Ensure that resources like this Statement object are closed after use 300
The method 'emitString' has a Cyclomatic Complexity of 10. 375399
The class 'StatementComparator' has a Standard Cyclomatic Complexity of 11 (Highest = 19). 465530
The class 'StatementComparator' has a Cyclomatic Complexity of 11 (Highest = 19). 465530
The class 'StatementComparator' has a Modified Cyclomatic Complexity of 11 (Highest = 19). 465530
The method 'compare' has a Modified Cyclomatic Complexity of 19. 478529
The method 'compare' has a Standard Cyclomatic Complexity of 19. 478529
The method 'compare' has a Cyclomatic Complexity of 19. 478529

rdfpro-tql - eu/fbk/rdfpro/tql/TQL.java

Violation Line
All methods are static. Consider using a utility class instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. 3077

rdfpro-tql - eu/fbk/rdfpro/tql/TQLParser.java

Violation Line
The class 'TQLParser' has a Standard Cyclomatic Complexity of 5 (Highest = 22). 40452
The class 'TQLParser' has a Modified Cyclomatic Complexity of 5 (Highest = 16). 40452
The class 'TQLParser' has a Cyclomatic Complexity of 6 (Highest = 26). 40452
StringBuffers can grow quite a lot, and so may become a source of memory leak (if the owning class has a long life time). 48
The method 'parseQuad' has a Standard Cyclomatic Complexity of 14. 154225
The method 'parseQuad' has a Cyclomatic Complexity of 18. 154225
The method 'parseQuad' has a Modified Cyclomatic Complexity of 14. 154225
The method parseQuad() has an NPath complexity of 5122 154225
Ensure that resources like this Statement object are closed after use 204
Do not add empty strings 238
The method 'parseBNode' has a Cyclomatic Complexity of 10. 294325
The method 'parseLiteral' has a Modified Cyclomatic Complexity of 16. 327412
The method parseLiteral() has an NPath complexity of 864 327412
The method 'parseLiteral' has a Standard Cyclomatic Complexity of 22. 327412
The method 'parseLiteral' has a Cyclomatic Complexity of 26. 327412

rdfpro-tql - eu/fbk/rdfpro/tql/TQLWriter.java

Violation Line
Possible God class (WMC=62, ATFD=18, TCC=0.0) 14310
The class 'TQLWriter' has a Cyclomatic Complexity of 5 (Highest = 20). 38310
The class 'TQLWriter' has a Standard Cyclomatic Complexity of 5 (Highest = 19). 38310
The class 'TQLWriter' has a Modified Cyclomatic Complexity of 3 (Highest = 12). 38310
The method 'emitURI' has a Standard Cyclomatic Complexity of 13. 135183
The method 'emitURI' has a Cyclomatic Complexity of 13. 135183
A switch statement does not contain a break 141180
The method 'emitLiteral' has a Cyclomatic Complexity of 20. 220308
The method 'emitLiteral' has a Modified Cyclomatic Complexity of 12. 220308
The method emitLiteral() has an NPath complexity of 231 220308
The method 'emitLiteral' has a Standard Cyclomatic Complexity of 19. 220308
A switch statement does not contain a break 226266

Back to top

Last Published: 2022/02/04.

Reflow Maven skin by Andrius Velykis.

Data and Knowledge Management tools