The following document contains the results of PMD 4.2.5.
Violation | Line |
---|---|
No abstract method which means that the keyword is most likely used to prevent instantiation. use a private or protected constructor instead. | 48 - 56 |
Violation | Line |
---|---|
The field name indicates a constant but its modifiers do not | 90 |
The field name indicates a constant but its modifiers do not | 94 |
Found non-transient, non-static member. Please mark as transient or provide accessors. | 157 |
Avoid instantiating new objects inside loops | 212 |
Avoid reassigning parameters such as 'newPhrase' | 263 |
Avoid reassigning parameters such as 'setOfPhrases' | 265 |
Avoid reassigning parameters such as 'setOfOptions' | 265 |
Avoid throwing raw exception types. | 276 |
Avoid reassigning parameters such as 'newPhrase' | 295 |
Avoid reassigning parameters such as 'setOfPhrases' | 297 |
Avoid reassigning parameters such as 'setOfPhrases' | 297 |
Avoid reassigning parameters such as 'setOfPhrases' | 297 |
Avoid reassigning parameters such as 'setOfOptions' | 297 |
Avoid reassigning parameters such as 'newPhrase' | 321 |
Avoid reassigning parameters such as 'newPhrase' | 321 |
Avoid reassigning parameters such as 'newPhrase' | 321 |
Avoid reassigning parameters such as 'newPhrase' | 321 |
Avoid reassigning parameters such as 'newPhrase' | 321 |
Avoid reassigning parameters such as 'setOfPhrases' | 323 |
Avoid reassigning parameters such as 'setOfOptions' | 323 |
Avoid reassigning parameters such as 'setOfOptions' | 323 |
Avoid reassigning parameters such as 'setOfOptions' | 323 |
Avoid reassigning parameters such as 'setOfOptions' | 323 |
Avoid if (x != y) ..; else ..; | 436 - 441 |
Violation | Line |
---|---|
It is somewhat confusing to have a field name matching the declaring class name | 67 |
Position literals first in String comparisons | 84 |
Prefer StringBuffer over += for concatenating strings | 157 |
Violation | Line |
---|---|
The class 'ImplementationSyntacticAnalyzer' has a Cyclomatic Complexity of 5 (Highest = 11). | 104 - 431 |
Private field 'assertsEnabled' could be made final; it is only initialized in the declaration or constructor. | 163 |
Found non-transient, non-static member. Please mark as transient or provide accessors. | 163 |
Found non-transient, non-static member. Please mark as transient or provide accessors. | 169 |
The method 'analyzeTokens' has a Cyclomatic Complexity of 11. | 254 - 326 |
Avoid instantiating new objects inside loops | 354 |
Avoid instantiating new objects inside loops | 357 |
Violation | Line |
---|---|
Private field 'assertsEnabled' could be made final; it is only initialized in the declaration or constructor. | 71 |
Found non-transient, non-static member. Please mark as transient or provide accessors. | 71 |
Violation | Line |
---|---|
The class 'Base64' has a Cyclomatic Complexity of 5 (Highest = 17). | 27 - 224 |
Avoid variables with short names like i | 38 |
Avoid variables with short names like in | 76 |
The method decode() has an NPath complexity of 15006 | 76 - 125 |
The method 'decode' has a Cyclomatic Complexity of 17. | 76 - 125 |
Avoid variables with short names like ip | 87 |
Avoid variables with short names like op | 88 |
Avoid variables with short names like i0 | 90 |
Avoid variables with short names like i1 | 92 |
Avoid variables with short names like i2 | 94 |
Avoid variables with short names like i3 | 96 |
Avoid variables with short names like b0 | 102 |
Avoid variables with short names like b1 | 103 |
Avoid variables with short names like b2 | 104 |
Avoid variables with short names like b3 | 105 |
Avoid variables with short names like o0 | 110 |
Avoid variables with short names like o1 | 111 |
Avoid variables with short names like o2 | 112 |
Avoid variables with short names like s | 136 |
Avoid variables with short names like s | 149 |
Avoid variables with short names like in | 161 |
Avoid variables with short names like in | 175 |
The method encode() has an NPath complexity of 626 | 175 - 204 |
Avoid variables with short names like ip | 181 |
Avoid variables with short names like op | 182 |
Avoid variables with short names like i0 | 184 |
Avoid variables with short names like i1 | 186 |
Avoid variables with short names like i2 | 188 |
Avoid variables with short names like o0 | 190 |
Avoid variables with short names like o1 | 191 |
Avoid variables with short names like o2 | 192 |
Avoid variables with short names like o3 | 193 |
Avoid variables with short names like s | 214 |
Violation | Line |
---|---|
Avoid variables with short names like in | 101 |
Violation | Line |
---|---|
This class has a bunch of public methods and attributes | 29 - 1168 |
This class has too many methods, consider refactoring it. | 64 - 1168 |
Avoid really long classes. | 64 - 1168 |
The String literal "db2 create" appears 4 times in this file; the first occurrence is on line 139 | 139 |
The String literal "db2 create table" appears 9 times in this file; the first occurrence is on line 146 | 146 |
The String literal "phrase: '" appears 41 times in this file; the first occurrence is on line 148 | 148 |
The String literal "options: '" appears 41 times in this file; the first occurrence is on line 150 | 150 |
The String literal "phrases: '" appears 41 times in this file; the first occurrence is on line 152 | 152 |
The String literal "db2 create tablespace" appears 6 times in this file; the first occurrence is on line 246 | 246 |
The String literal "db2 create table " appears 4 times in this file; the first occurrence is on line 336 | 336 |
The String literal "db2" appears 10 times in this file; the first occurrence is on line 416 | 416 |
The String literal "db2 c" appears 4 times in this file; the first occurrence is on line 836 | 836 |
JUnit 4 tests that execute tests should use the @Test annotation | 983 - 1002 |
Violation | Line |
---|---|
This class has too many methods, consider refactoring it. | 87 - 992 |
The String literal "crea" appears 6 times in this file; the first occurrence is on line 209 | 209 |
The String literal "tablespace" appears 4 times in this file; the first occurrence is on line 347 | 347 |
The String literal "create table" appears 7 times in this file; the first occurrence is on line 368 | 368 |
Violation | Line |
---|---|
This class has too many methods, consider refactoring it. | 59 - 275 |
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. | 105 |
Violation | Line |
---|---|
This class has too many methods, consider refactoring it. | 81 - 893 |
Avoid variables with short names like C1 | 91 |
Avoid variables with short names like T1 | 124 |
Violation | Line |
---|---|
This class has too many methods, consider refactoring it. | 64 - 465 |
Violation | Line |
---|---|
Found non-transient, non-static member. Please mark as transient or provide accessors. | 74 |
Violation | Line |
---|---|
Avoid excessively long variable names like DB2_NATIVE_PROPERTY | 89 |
Private field 'assertsEnabled' could be made final; it is only initialized in the declaration or constructor. | 153 |
Found non-transient, non-static member. Please mark as transient or provide accessors. | 153 |
Found non-transient, non-static member. Please mark as transient or provide accessors. | 158 |
Avoid instantiating String objects; this is usually unnecessary. | 195 |
Position literals first in String comparisons | 298 |
The String literal "db2" appears 6 times in this file; the first occurrence is on line 355 | 355 |
Avoid variables with short names like os | 385 |
Violation | Line |
---|---|
This class has too many methods, consider refactoring it. | 64 - 397 |
The String literal "sa_conf-test-NoDB2Native.xml" appears 8 times in this file; the first occurrence is on line 113 | 113 |
The String literal "os.name" appears 13 times in this file; the first occurrence is on line 117 | 117 |
The String literal "db2" appears 6 times in this file; the first occurrence is on line 123 | 123 |
The String literal "db2 !dir" appears 5 times in this file; the first occurrence is on line 198 | 198 |
The String literal "!dir" appears 5 times in this file; the first occurrence is on line 202 | 202 |
Avoid variables with short names like os | 224 |
Avoid variables with short names like os | 254 |
Avoid variables with short names like os | 283 |
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. | 360 |
Violation | Line |
---|---|
Avoid variables with short names like io | 100 |
Violation | Line |
---|---|
Package name contains upper case characters | 29 |
Violation | Line |
---|---|
Package name contains upper case characters | 29 |
Found non-transient, non-static member. Please mark as transient or provide accessors. | 67 |
Violation | Line |
---|---|
Package name contains upper case characters | 29 |
Violation | Line |
---|---|
Package name contains upper case characters | 29 |
Violation | Line |
---|---|
Package name contains upper case characters | 29 |
Found non-transient, non-static member. Please mark as transient or provide accessors. | 57 |
Avoid if (x != y) ..; else ..; | 91 - 106 |
Violation | Line |
---|---|
Package name contains upper case characters | 29 |
Violation | Line |
---|---|
Package name contains upper case characters | 29 |
Violation | Line |
---|---|
Package name contains upper case characters | 29 |
Violation | Line |
---|---|
Package name contains upper case characters | 29 |
Violation | Line |
---|---|
Package name contains upper case characters | 29 |
Prefer StringBuffer over += for concatenating strings | 179 |
Found non-transient, non-static member. Please mark as transient or provide accessors. | 191 |
Found non-transient, non-static member. Please mark as transient or provide accessors. | 196 |
Found non-transient, non-static member. Please mark as transient or provide accessors. | 201 |
Avoid excessively long variable names like grammarFileDescriptors | 217 |
Avoid excessively long variable names like tokenFileDescriptors | 219 |
This call to Collection.toArray() may be optimizable | 236 - 237 |
Avoid reassigning parameters such as 'position' | 330 |
Violation | Line |
---|---|
Package name contains upper case characters | 28 |
Violation | Line |
---|---|
Package name contains upper case characters | 29 |
Violation | Line |
---|---|
Package name contains upper case characters | 29 |
Violation | Line |
---|---|
Package name contains upper case characters | 42 |
Violation | Line |
---|---|
Package name contains upper case characters | 42 |
Violation | Line |
---|---|
Package name contains upper case characters | 42 |
Violation | Line |
---|---|
Package name contains upper case characters | 29 |
Violation | Line |
---|---|
Package name contains upper case characters | 29 |
This class has too many methods, consider refactoring it. | 61 - 439 |
Avoid excessively long variable names like IN_MEMORY_GRAMMAR_READER | 65 |
The String literal "GeneralGrammarReaderProblemException" appears 9 times in this file; the first occurrence is on line 96 | 96 |
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. | 97 |
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. | 118 |
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. | 137 |
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. | 223 |
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. | 246 |
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. | 269 |
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. | 292 |
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. | 311 |
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. | 330 |
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. | 349 |
An instanceof check is being performed on the caught exception. Create a separate catch clause for this exception type. | 436 |
Violation | Line |
---|---|
Package name contains upper case characters | 29 |
Violation | Line |
---|---|
Package name contains upper case characters | 29 |
Found non-transient, non-static member. Please mark as transient or provide accessors. | 62 |
A method/constructor shouldn't explicitly throw java.lang.Exception | 75 |
A method/constructor shouldn't explicitly throw java.lang.Exception | 75 |
Position literals first in String comparisons | 83 |
Position literals first in String comparisons | 90 |
Position literals first in String comparisons | 97 |
Position literals first in String comparisons | 98 |
JUnit 4 tests that execute tests should use the @Test annotation | 119 - 137 |
JUnit 4 tests that execute tests should use the @Test annotation | 139 - 157 |
JUnit 4 tests that execute tests should use the @Test annotation | 159 - 174 |
Violation | Line |
---|---|
Package name contains upper case characters | 29 |
A high number of imports can indicate a high degree of coupling within an object. | 29 - 742 |
Avoid if (x != y) ..; else ..; | 111 - 115 |
Prefer StringBuffer over += for concatenating strings | 112 |
Prefer StringBuffer over += for concatenating strings | 114 |
Avoid excessively long variable names like VALIDATE_GRAMMAR_PROPERTY | 243 |
Found non-transient, non-static member. Please mark as transient or provide accessors. | 276 |
Found non-transient, non-static member. Please mark as transient or provide accessors. | 281 |
Found non-transient, non-static member. Please mark as transient or provide accessors. | 286 |
Found non-transient, non-static member. Please mark as transient or provide accessors. | 290 |
Avoid excessively long variable names like contentToBeValidated | 308 |
Unnecessary final modifier in final class | 371 - 392 |
Avoid instantiating new objects inside loops | 420 - 421 |
Avoid instantiating new objects inside loops | 423 - 425 |
This call to Collection.toArray() may be optimizable | 430 - 431 |
Avoid catching NullPointerException; consider removing the cause of the NPE. | 620 |
New exception is thrown in catch block, original stack trace may be lost | 621 |
Unnecessary final modifier in final class | 663 - 685 |
Violation | Line |
---|---|
Package name contains upper case characters | 29 |
Found non-transient, non-static member. Please mark as transient or provide accessors. | 72 |
Violation | Line |
---|---|
Package name contains upper case characters | 29 |
Violation | Line |
---|---|
Package name contains upper case characters | 29 |
Found non-transient, non-static member. Please mark as transient or provide accessors. | 72 |
Violation | Line |
---|---|
Package name contains upper case characters | 29 |
Violation | Line |
---|---|
Package name contains upper case characters | 46 |
Violation | Line |
---|---|
Position literals first in String comparisons | 74 |
Violation | Line |
---|---|
Package name contains upper case characters | 29 |
This class has too many methods, consider refactoring it. | 97 - 1770 |
Avoid really long classes. | 97 - 1770 |
Avoid excessively long variable names like DELIMITERS_ABC_DELIMITERS | 114 |
Avoid excessively long variable names like DELIMITERS_DELIMITERS | 118 |
Avoid excessively long variable names like ID_STARTING_NODE_ID | 142 |
Avoid excessively long variable names like ID_TOKEN_CREATE_ID_TOKEN | 150 |
Avoid excessively long variable names like ID_TOKEN_ENDING_NODE_ID_TOKEN | 154 |
Avoid excessively long variable names like ID_TOKEN_TABLE_ID_TOKEN | 158 |
Avoid excessively long variable names like NAME_ENDING_NODE_NAME | 171 |
Avoid excessively long variable names like NAME_STARTING_NODE_NAME | 175 |
Avoid excessively long variable names like XML_GRAMMAR_READER | 211 |
Prefer StringBuffer over += for concatenating strings | 249 |
Prefer StringBuffer over += for concatenating strings | 250 |
Prefer StringBuffer over += for concatenating strings | 251 |
Prefer StringBuffer over += for concatenating strings | 252 |
Prefer StringBuffer over += for concatenating strings | 254 |
Prefer StringBuffer over += for concatenating strings | 255 |
Prefer StringBuffer over += for concatenating strings | 256 |
Prefer StringBuffer over += for concatenating strings | 257 |
Prefer StringBuffer over += for concatenating strings | 258 |
Prefer StringBuffer over += for concatenating strings | 259 |
Prefer StringBuffer over += for concatenating strings | 260 |
Prefer StringBuffer over += for concatenating strings | 261 |
Prefer StringBuffer over += for concatenating strings | 263 |
Prefer StringBuffer over += for concatenating strings | 264 |
Prefer StringBuffer over += for concatenating strings | 265 |
Prefer StringBuffer over += for concatenating strings | 266 |
Prefer StringBuffer over += for concatenating strings | 267 |
Prefer StringBuffer over += for concatenating strings | 269 |
Prefer StringBuffer over += for concatenating strings | 270 |
Prefer StringBuffer over += for concatenating strings | 271 |
Prefer StringBuffer over += for concatenating strings | 272 |
Prefer StringBuffer over += for concatenating strings | 273 |
Prefer StringBuffer over += for concatenating strings | 274 |
Prefer StringBuffer over += for concatenating strings | 275 |
Avoid variables with short names like e | 288 |
Avoid variables with short names like e | 318 |
The String literal "XMLProblemException" appears 4 times in this file; the first occurrence is on line 324 | 324 |
Prefer StringBuffer over += for concatenating strings | 337 |
Prefer StringBuffer over += for concatenating strings | 338 |
Prefer StringBuffer over += for concatenating strings | 339 |
Prefer StringBuffer over += for concatenating strings | 340 |
Prefer StringBuffer over += for concatenating strings | 341 |
Prefer StringBuffer over += for concatenating strings | 342 |
Avoid variables with short names like e | 355 |
JUnit 4 tests that execute tests should use the @Test annotation | 410 - 453 |
Prefer StringBuffer over += for concatenating strings | 412 |
Prefer StringBuffer over += for concatenating strings | 413 |
Prefer StringBuffer over += for concatenating strings | 414 |
Prefer StringBuffer over += for concatenating strings | 415 |
Prefer StringBuffer over += for concatenating strings | 417 |
Prefer StringBuffer over += for concatenating strings | 418 |
Prefer StringBuffer over += for concatenating strings | 419 |
Prefer StringBuffer over += for concatenating strings | 420 |
Prefer StringBuffer over += for concatenating strings | 421 |
Prefer StringBuffer over += for concatenating strings | 423 |
Prefer StringBuffer over += for concatenating strings | 424 |
Prefer StringBuffer over += for concatenating strings | 425 |
Prefer StringBuffer over += for concatenating strings | 426 |
Prefer StringBuffer over += for concatenating strings | 427 |
Prefer StringBuffer over += for concatenating strings | 428 |
Prefer StringBuffer over += for concatenating strings | 429 |
Prefer StringBuffer over += for concatenating strings | 430 |
Prefer StringBuffer over += for concatenating strings | 432 |
Prefer StringBuffer over += for concatenating strings | 433 |
Prefer StringBuffer over += for concatenating strings | 434 |
Prefer StringBuffer over += for concatenating strings | 435 |
Prefer StringBuffer over += for concatenating strings | 436 |
Prefer StringBuffer over += for concatenating strings | 437 |
Prefer StringBuffer over += for concatenating strings | 438 |
Prefer StringBuffer over += for concatenating strings | 439 |
Prefer StringBuffer over += for concatenating strings | 441 |
Prefer StringBuffer over += for concatenating strings | 442 |
Prefer StringBuffer over += for concatenating strings | 443 |
Prefer StringBuffer over += for concatenating strings | 444 |
Prefer StringBuffer over += for concatenating strings | 445 |
Prefer StringBuffer over += for concatenating strings | 446 |
Prefer StringBuffer over += for concatenating strings | 447 |
Prefer StringBuffer over += for concatenating strings | 448 |
Prefer StringBuffer over += for concatenating strings | 450 |
Prefer StringBuffer over += for concatenating strings | 451 |
Avoid variables with short names like e | 477 |
JUnit 4 tests that execute tests should use the @Test annotation | 487 - 529 |
Prefer StringBuffer over += for concatenating strings | 489 |
Prefer StringBuffer over += for concatenating strings | 490 |
Prefer StringBuffer over += for concatenating strings | 491 |
Prefer StringBuffer over += for concatenating strings | 492 |
Prefer StringBuffer over += for concatenating strings | 494 |
Prefer StringBuffer over += for concatenating strings | 495 |
Prefer StringBuffer over += for concatenating strings | 496 |
Prefer StringBuffer over += for concatenating strings | 497 |
Prefer StringBuffer over += for concatenating strings | 498 |
Prefer StringBuffer over += for concatenating strings | 499 |
Prefer StringBuffer over += for concatenating strings | 500 |
Prefer StringBuffer over += for concatenating strings | 501 |
Prefer StringBuffer over += for concatenating strings | 503 |
Prefer StringBuffer over += for concatenating strings | 504 |
Prefer StringBuffer over += for concatenating strings | 505 |
Prefer StringBuffer over += for concatenating strings | 506 |
Prefer StringBuffer over += for concatenating strings | 507 |
Prefer StringBuffer over += for concatenating strings | 508 |
Prefer StringBuffer over += for concatenating strings | 509 |
Prefer StringBuffer over += for concatenating strings | 510 |
Prefer StringBuffer over += for concatenating strings | 512 |
Prefer StringBuffer over += for concatenating strings | 513 |
Prefer StringBuffer over += for concatenating strings | 514 |
Prefer StringBuffer over += for concatenating strings | 515 |
Prefer StringBuffer over += for concatenating strings | 516 |
Prefer StringBuffer over += for concatenating strings | 517 |
Prefer StringBuffer over += for concatenating strings | 518 |
Prefer StringBuffer over += for concatenating strings | 519 |
Prefer StringBuffer over += for concatenating strings | 521 |
Prefer StringBuffer over += for concatenating strings | 522 |
Prefer StringBuffer over += for concatenating strings | 523 |
Prefer StringBuffer over += for concatenating strings | 524 |
Prefer StringBuffer over += for concatenating strings | 525 |
Prefer StringBuffer over += for concatenating strings | 526 |
Prefer StringBuffer over += for concatenating strings | 527 |
Avoid variables with short names like e | 553 |
JUnit 4 tests that execute tests should use the @Test annotation | 563 - 603 |
Prefer StringBuffer over += for concatenating strings | 565 |
Prefer StringBuffer over += for concatenating strings | 566 |
Prefer StringBuffer over += for concatenating strings | 567 |
Prefer StringBuffer over += for concatenating strings | 568 |
Prefer StringBuffer over += for concatenating strings | 570 |
Prefer StringBuffer over += for concatenating strings | 571 |
Prefer StringBuffer over += for concatenating strings | 572 |
Prefer StringBuffer over += for concatenating strings | 573 |
Prefer StringBuffer over += for concatenating strings | 574 |
Prefer StringBuffer over += for concatenating strings | 575 |
Prefer StringBuffer over += for concatenating strings | 576 |
Prefer StringBuffer over += for concatenating strings | 577 |
Prefer StringBuffer over += for concatenating strings | 579 |
Prefer StringBuffer over += for concatenating strings | 580 |
Prefer StringBuffer over += for concatenating strings | 581 |
Prefer StringBuffer over += for concatenating strings | 582 |
Prefer StringBuffer over += for concatenating strings | 583 |
Prefer StringBuffer over += for concatenating strings | 584 |
Prefer StringBuffer over += for concatenating strings | 585 |
Prefer StringBuffer over += for concatenating strings | 586 |
Prefer StringBuffer over += for concatenating strings | 587 |
Prefer StringBuffer over += for concatenating strings | 589 |
Prefer StringBuffer over += for concatenating strings | 590 |
Prefer StringBuffer over += for concatenating strings | 591 |
Prefer StringBuffer over += for concatenating strings | 592 |
Prefer StringBuffer over += for concatenating strings | 593 |
Prefer StringBuffer over += for concatenating strings | 595 |
Prefer StringBuffer over += for concatenating strings | 596 |
Prefer StringBuffer over += for concatenating strings | 597 |
Prefer StringBuffer over += for concatenating strings | 598 |
Prefer StringBuffer over += for concatenating strings | 599 |
Prefer StringBuffer over += for concatenating strings | 600 |
Prefer StringBuffer over += for concatenating strings | 601 |
Avoid variables with short names like e | 627 |
Prefer StringBuffer over += for concatenating strings | 646 |
Prefer StringBuffer over += for concatenating strings | 647 |
Prefer StringBuffer over += for concatenating strings | 648 |
Prefer StringBuffer over += for concatenating strings | 649 |
Prefer StringBuffer over += for concatenating strings | 651 |
Prefer StringBuffer over += for concatenating strings | 652 |
Prefer StringBuffer over += for concatenating strings | 653 |
Prefer StringBuffer over += for concatenating strings | 654 |
Prefer StringBuffer over += for concatenating strings | 655 |
Prefer StringBuffer over += for concatenating strings | 656 |
Prefer StringBuffer over += for concatenating strings | 657 |
Prefer StringBuffer over += for concatenating strings | 658 |
Prefer StringBuffer over += for concatenating strings | 660 |
Prefer StringBuffer over += for concatenating strings | 661 |
Prefer StringBuffer over += for concatenating strings | 662 |
Prefer StringBuffer over += for concatenating strings | 663 |
Prefer StringBuffer over += for concatenating strings | 664 |
Prefer StringBuffer over += for concatenating strings | 665 |
Prefer StringBuffer over += for concatenating strings | 666 |
Avoid variables with short names like id | 668 |
Avoid variables with short names like e | 679 |
Prefer StringBuffer over += for concatenating strings | 698 |
Prefer StringBuffer over += for concatenating strings | 699 |
Prefer StringBuffer over += for concatenating strings | 700 |
Prefer StringBuffer over += for concatenating strings | 701 |
Prefer StringBuffer over += for concatenating strings | 703 |
Prefer StringBuffer over += for concatenating strings | 704 |
Prefer StringBuffer over += for concatenating strings | 705 |
Prefer StringBuffer over += for concatenating strings | 706 |
Prefer StringBuffer over += for concatenating strings | 707 |
Prefer StringBuffer over += for concatenating strings | 708 |
Prefer StringBuffer over += for concatenating strings | 709 |
Prefer StringBuffer over += for concatenating strings | 710 |
Prefer StringBuffer over += for concatenating strings | 712 |
Prefer StringBuffer over += for concatenating strings | 713 |
Prefer StringBuffer over += for concatenating strings | 714 |
Prefer StringBuffer over += for concatenating strings | 715 |
Prefer StringBuffer over += for concatenating strings | 716 |
Prefer StringBuffer over += for concatenating strings | 717 |
Prefer StringBuffer over += for concatenating strings | 718 |
Prefer StringBuffer over += for concatenating strings | 720 |
Prefer StringBuffer over += for concatenating strings | 721 |
Prefer StringBuffer over += for concatenating strings | 722 |
Prefer StringBuffer over += for concatenating strings | 723 |
Prefer StringBuffer over += for concatenating strings | 724 |
Prefer StringBuffer over += for concatenating strings | 725 |
Prefer StringBuffer over += for concatenating strings | 726 |
Avoid variables with short names like e | 738 |
Prefer StringBuffer over += for concatenating strings | 757 |
Prefer StringBuffer over += for concatenating strings | 758 |
Prefer StringBuffer over += for concatenating strings | 759 |
Prefer StringBuffer over += for concatenating strings | 760 |
Prefer StringBuffer over += for concatenating strings | 762 |
Prefer StringBuffer over += for concatenating strings | 763 |
Prefer StringBuffer over += for concatenating strings | 764 |
Prefer StringBuffer over += for concatenating strings | 765 |
Prefer StringBuffer over += for concatenating strings | 766 |
Prefer StringBuffer over += for concatenating strings | 767 |
Prefer StringBuffer over += for concatenating strings | 768 |
Prefer StringBuffer over += for concatenating strings | 769 |
Prefer StringBuffer over += for concatenating strings | 771 |
Prefer StringBuffer over += for concatenating strings | 772 |
Prefer StringBuffer over += for concatenating strings | 773 |
Prefer StringBuffer over += for concatenating strings | 774 |
Prefer StringBuffer over += for concatenating strings | 775 |
Prefer StringBuffer over += for concatenating strings | 776 |
Prefer StringBuffer over += for concatenating strings | 778 |
Prefer StringBuffer over += for concatenating strings | 779 |
Prefer StringBuffer over += for concatenating strings | 780 |
Prefer StringBuffer over += for concatenating strings | 781 |
Prefer StringBuffer over += for concatenating strings | 782 |
Prefer StringBuffer over += for concatenating strings | 783 |
Prefer StringBuffer over += for concatenating strings | 784 |
Avoid variables with short names like e | 796 |
Prefer StringBuffer over += for concatenating strings | 815 |
Prefer StringBuffer over += for concatenating strings | 816 |
Prefer StringBuffer over += for concatenating strings | 817 |
Prefer StringBuffer over += for concatenating strings | 818 |
Prefer StringBuffer over += for concatenating strings | 820 |
Prefer StringBuffer over += for concatenating strings | 821 |
Prefer StringBuffer over += for concatenating strings | 822 |
Prefer StringBuffer over += for concatenating strings | 823 |
Prefer StringBuffer over += for concatenating strings | 824 |
Prefer StringBuffer over += for concatenating strings | 825 |
Prefer StringBuffer over += for concatenating strings | 826 |
Prefer StringBuffer over += for concatenating strings | 827 |
Prefer StringBuffer over += for concatenating strings | 829 |
Prefer StringBuffer over += for concatenating strings | 830 |
Prefer StringBuffer over += for concatenating strings | 831 |
Prefer StringBuffer over += for concatenating strings | 832 |
Prefer StringBuffer over += for concatenating strings | 833 |
Prefer StringBuffer over += for concatenating strings | 834 |
Prefer StringBuffer over += for concatenating strings | 835 |
Prefer StringBuffer over += for concatenating strings | 837 |
Prefer StringBuffer over += for concatenating strings | 838 |
Prefer StringBuffer over += for concatenating strings | 839 |
Prefer StringBuffer over += for concatenating strings | 840 |
Prefer StringBuffer over += for concatenating strings | 841 |
Prefer StringBuffer over += for concatenating strings | 842 |
Prefer StringBuffer over += for concatenating strings | 843 |
Avoid variables with short names like e | 855 |
Prefer StringBuffer over += for concatenating strings | 874 |
Prefer StringBuffer over += for concatenating strings | 875 |
Prefer StringBuffer over += for concatenating strings | 876 |
Prefer StringBuffer over += for concatenating strings | 877 |
Prefer StringBuffer over += for concatenating strings | 878 |
Prefer StringBuffer over += for concatenating strings | 879 |
Avoid variables with short names like id | 881 |
Avoid variables with short names like e | 892 |
Prefer StringBuffer over += for concatenating strings | 911 |
Prefer StringBuffer over += for concatenating strings | 912 |
Prefer StringBuffer over += for concatenating strings | 913 |
Prefer StringBuffer over += for concatenating strings | 914 |
Prefer StringBuffer over += for concatenating strings | 916 |
Prefer StringBuffer over += for concatenating strings | 917 |
Prefer StringBuffer over += for concatenating strings | 918 |
Prefer StringBuffer over += for concatenating strings | 919 |
Prefer StringBuffer over += for concatenating strings | 920 |
Prefer StringBuffer over += for concatenating strings | 921 |
Prefer StringBuffer over += for concatenating strings | 922 |
Prefer StringBuffer over += for concatenating strings | 923 |
Prefer StringBuffer over += for concatenating strings | 925 |
Prefer StringBuffer over += for concatenating strings | 926 |
Prefer StringBuffer over += for concatenating strings | 927 |
Prefer StringBuffer over += for concatenating strings | 928 |
Prefer StringBuffer over += for concatenating strings | 929 |
Prefer StringBuffer over += for concatenating strings | 930 |
Prefer StringBuffer over += for concatenating strings | 931 |
Avoid variables with short names like id | 933 |
Avoid variables with short names like e | 945 |
Prefer StringBuffer over += for concatenating strings | 964 |
Prefer StringBuffer over += for concatenating strings | 965 |
Prefer StringBuffer over += for concatenating strings | 966 |
Prefer StringBuffer over += for concatenating strings | 967 |
Prefer StringBuffer over += for concatenating strings | 969 |
Prefer StringBuffer over += for concatenating strings | 970 |
Prefer StringBuffer over += for concatenating strings | 971 |
Prefer StringBuffer over += for concatenating strings | 972 |
Prefer StringBuffer over += for concatenating strings | 973 |
Prefer StringBuffer over += for concatenating strings | 974 |
Prefer StringBuffer over += for concatenating strings | 975 |
Prefer StringBuffer over += for concatenating strings | 976 |
Prefer StringBuffer over += for concatenating strings | 977 |
Prefer StringBuffer over += for concatenating strings | 978 |
Avoid variables with short names like e | 991 |
Prefer StringBuffer over += for concatenating strings | 1011 |
Prefer StringBuffer over += for concatenating strings | 1012 |
Prefer StringBuffer over += for concatenating strings | 1013 |
Prefer StringBuffer over += for concatenating strings | 1014 |
Prefer StringBuffer over += for concatenating strings | 1016 |
Prefer StringBuffer over += for concatenating strings | 1017 |
Prefer StringBuffer over += for concatenating strings | 1018 |
Prefer StringBuffer over += for concatenating strings | 1019 |
Prefer StringBuffer over += for concatenating strings | 1020 |
Prefer StringBuffer over += for concatenating strings | 1022 |
Prefer StringBuffer over += for concatenating strings | 1023 |
Prefer StringBuffer over += for concatenating strings | 1024 |
Prefer StringBuffer over += for concatenating strings | 1025 |
Prefer StringBuffer over += for concatenating strings | 1026 |
Prefer StringBuffer over += for concatenating strings | 1027 |
Prefer StringBuffer over += for concatenating strings | 1028 |
Avoid variables with short names like e | 1041 |
Avoid variables with short names like e | 1072 |
Avoid variables with short names like id | 1092 |
JUnit 4 tests that execute tests should use the @Test annotation | 1127 - 1160 |
Prefer StringBuffer over += for concatenating strings | 1129 |
Prefer StringBuffer over += for concatenating strings | 1130 |
Prefer StringBuffer over += for concatenating strings | 1131 |
Prefer StringBuffer over += for concatenating strings | 1132 |
Prefer StringBuffer over += for concatenating strings | 1134 |
Prefer StringBuffer over += for concatenating strings | 1135 |
Prefer StringBuffer over += for concatenating strings | 1136 |
Prefer StringBuffer over += for concatenating strings | 1137 |
Prefer StringBuffer over += for concatenating strings | 1138 |
Prefer StringBuffer over += for concatenating strings | 1139 |
Prefer StringBuffer over += for concatenating strings | 1140 |
Prefer StringBuffer over += for concatenating strings | 1141 |
Prefer StringBuffer over += for concatenating strings | 1143 |
Prefer StringBuffer over += for concatenating strings | 1144 |
Prefer StringBuffer over += for concatenating strings | 1145 |
Prefer StringBuffer over += for concatenating strings | 1146 |
Prefer StringBuffer over += for concatenating strings | 1147 |
Prefer StringBuffer over += for concatenating strings | 1148 |
Prefer StringBuffer over += for concatenating strings | 1149 |
Prefer StringBuffer over += for concatenating strings | 1150 |
Prefer StringBuffer over += for concatenating strings | 1152 |
Prefer StringBuffer over += for concatenating strings | 1153 |
Prefer StringBuffer over += for concatenating strings | 1154 |
Prefer StringBuffer over += for concatenating strings | 1155 |
Prefer StringBuffer over += for concatenating strings | 1156 |
Prefer StringBuffer over += for concatenating strings | 1157 |
Prefer StringBuffer over += for concatenating strings | 1158 |
Avoid variables with short names like id | 1172 |
Avoid variables with short names like e | 1227 |
JUnit 4 tests that execute tests should use the @Test annotation | 1237 - 1271 |
Prefer StringBuffer over += for concatenating strings | 1239 |
Prefer StringBuffer over += for concatenating strings | 1240 |
Prefer StringBuffer over += for concatenating strings | 1241 |
Prefer StringBuffer over += for concatenating strings | 1242 |
Prefer StringBuffer over += for concatenating strings | 1243 |
Prefer StringBuffer over += for concatenating strings | 1245 |
Prefer StringBuffer over += for concatenating strings | 1246 |
Prefer StringBuffer over += for concatenating strings | 1247 |
Prefer StringBuffer over += for concatenating strings | 1248 |
Prefer StringBuffer over += for concatenating strings | 1249 |
Prefer StringBuffer over += for concatenating strings | 1250 |
Prefer StringBuffer over += for concatenating strings | 1251 |
Prefer StringBuffer over += for concatenating strings | 1252 |
Prefer StringBuffer over += for concatenating strings | 1254 |
Prefer StringBuffer over += for concatenating strings | 1255 |
Prefer StringBuffer over += for concatenating strings | 1256 |
Prefer StringBuffer over += for concatenating strings | 1257 |
Prefer StringBuffer over += for concatenating strings | 1258 |
Prefer StringBuffer over += for concatenating strings | 1259 |
Prefer StringBuffer over += for concatenating strings | 1260 |
Prefer StringBuffer over += for concatenating strings | 1261 |
Prefer StringBuffer over += for concatenating strings | 1263 |
Prefer StringBuffer over += for concatenating strings | 1264 |
Prefer StringBuffer over += for concatenating strings | 1265 |
Prefer StringBuffer over += for concatenating strings | 1266 |
Prefer StringBuffer over += for concatenating strings | 1267 |
Prefer StringBuffer over += for concatenating strings | 1268 |
Prefer StringBuffer over += for concatenating strings | 1269 |
Prefer StringBuffer over += for concatenating strings | 1282 |
Prefer StringBuffer over += for concatenating strings | 1285 |
Prefer StringBuffer over += for concatenating strings | 1287 |
Prefer StringBuffer over += for concatenating strings | 1288 |
Prefer StringBuffer over += for concatenating strings | 1289 |
Prefer StringBuffer over += for concatenating strings | 1290 |
Prefer StringBuffer over += for concatenating strings | 1291 |
Prefer StringBuffer over += for concatenating strings | 1292 |
Prefer StringBuffer over += for concatenating strings | 1293 |
Prefer StringBuffer over += for concatenating strings | 1294 |
Prefer StringBuffer over += for concatenating strings | 1296 |
Prefer StringBuffer over += for concatenating strings | 1297 |
Prefer StringBuffer over += for concatenating strings | 1298 |
Prefer StringBuffer over += for concatenating strings | 1299 |
Prefer StringBuffer over += for concatenating strings | 1300 |
Prefer StringBuffer over += for concatenating strings | 1301 |
Prefer StringBuffer over += for concatenating strings | 1302 |
Prefer StringBuffer over += for concatenating strings | 1303 |
Prefer StringBuffer over += for concatenating strings | 1305 |
Prefer StringBuffer over += for concatenating strings | 1306 |
Prefer StringBuffer over += for concatenating strings | 1307 |
Prefer StringBuffer over += for concatenating strings | 1308 |
Prefer StringBuffer over += for concatenating strings | 1309 |
Prefer StringBuffer over += for concatenating strings | 1310 |
Prefer StringBuffer over += for concatenating strings | 1311 |
Avoid variables with short names like e | 1323 |
Prefer StringBuffer over += for concatenating strings | 1342 |
Prefer StringBuffer over += for concatenating strings | 1343 |
Prefer StringBuffer over += for concatenating strings | 1344 |
Prefer StringBuffer over += for concatenating strings | 1345 |
Prefer StringBuffer over += for concatenating strings | 1347 |
Prefer StringBuffer over += for concatenating strings | 1348 |
Prefer StringBuffer over += for concatenating strings | 1349 |
Prefer StringBuffer over += for concatenating strings | 1350 |
Prefer StringBuffer over += for concatenating strings | 1351 |
Prefer StringBuffer over += for concatenating strings | 1352 |
Prefer StringBuffer over += for concatenating strings | 1353 |
Prefer StringBuffer over += for concatenating strings | 1354 |
Prefer StringBuffer over += for concatenating strings | 1356 |
Prefer StringBuffer over += for concatenating strings | 1357 |
Prefer StringBuffer over += for concatenating strings | 1358 |
Prefer StringBuffer over += for concatenating strings | 1359 |
Prefer StringBuffer over += for concatenating strings | 1360 |
Prefer StringBuffer over += for concatenating strings | 1361 |
Prefer StringBuffer over += for concatenating strings | 1362 |
Avoid variables with short names like e | 1374 |
JUnit 4 tests that execute tests should use the @Test annotation | 1384 - 1418 |
Prefer StringBuffer over += for concatenating strings | 1386 |
Prefer StringBuffer over += for concatenating strings | 1387 |
Prefer StringBuffer over += for concatenating strings | 1388 |
Prefer StringBuffer over += for concatenating strings | 1389 |
Prefer StringBuffer over += for concatenating strings | 1391 |
Prefer StringBuffer over += for concatenating strings | 1392 |
Prefer StringBuffer over += for concatenating strings | 1393 |
Prefer StringBuffer over += for concatenating strings | 1394 |
Prefer StringBuffer over += for concatenating strings | 1395 |
Prefer StringBuffer over += for concatenating strings | 1396 |
Prefer StringBuffer over += for concatenating strings | 1397 |
Prefer StringBuffer over += for concatenating strings | 1398 |
Prefer StringBuffer over += for concatenating strings | 1400 |
Prefer StringBuffer over += for concatenating strings | 1401 |
Prefer StringBuffer over += for concatenating strings | 1402 |
Prefer StringBuffer over += for concatenating strings | 1403 |
Prefer StringBuffer over += for concatenating strings | 1404 |
Prefer StringBuffer over += for concatenating strings | 1405 |
Prefer StringBuffer over += for concatenating strings | 1406 |
Prefer StringBuffer over += for concatenating strings | 1407 |
Prefer StringBuffer over += for concatenating strings | 1408 |
Prefer StringBuffer over += for concatenating strings | 1410 |
Prefer StringBuffer over += for concatenating strings | 1411 |
Prefer StringBuffer over += for concatenating strings | 1412 |
Prefer StringBuffer over += for concatenating strings | 1413 |
Prefer StringBuffer over += for concatenating strings | 1414 |
Prefer StringBuffer over += for concatenating strings | 1415 |
Prefer StringBuffer over += for concatenating strings | 1416 |
Avoid variables with short names like id | 1430 |
Unnecessary final modifier in final class | 1476 - 1489 |
Unnecessary final modifier in final class | 1498 - 1511 |
Unnecessary final modifier in final class | 1520 - 1535 |
Unnecessary final modifier in final class | 1544 - 1558 |
Unnecessary final modifier in final class | 1567 - 1581 |
Prefer StringBuffer over += for concatenating strings | 1592 |
Prefer StringBuffer over += for concatenating strings | 1593 |
Prefer StringBuffer over += for concatenating strings | 1594 |
Prefer StringBuffer over += for concatenating strings | 1596 |
Prefer StringBuffer over += for concatenating strings | 1597 |
Prefer StringBuffer over += for concatenating strings | 1598 |
Prefer StringBuffer over += for concatenating strings | 1599 |
Prefer StringBuffer over += for concatenating strings | 1600 |
Prefer StringBuffer over += for concatenating strings | 1601 |
Prefer StringBuffer over += for concatenating strings | 1602 |
Prefer StringBuffer over += for concatenating strings | 1603 |
Prefer StringBuffer over += for concatenating strings | 1605 |
Prefer StringBuffer over += for concatenating strings | 1606 |
Prefer StringBuffer over += for concatenating strings | 1607 |
Prefer StringBuffer over += for concatenating strings | 1608 |
Prefer StringBuffer over += for concatenating strings | 1609 |
Prefer StringBuffer over += for concatenating strings | 1610 |
Prefer StringBuffer over += for concatenating strings | 1611 |
Prefer StringBuffer over += for concatenating strings | 1612 |
Prefer StringBuffer over += for concatenating strings | 1614 |
Prefer StringBuffer over += for concatenating strings | 1615 |
Prefer StringBuffer over += for concatenating strings | 1616 |
Prefer StringBuffer over += for concatenating strings | 1617 |
Prefer StringBuffer over += for concatenating strings | 1618 |
Prefer StringBuffer over += for concatenating strings | 1619 |
Prefer StringBuffer over += for concatenating strings | 1620 |
Avoid variables with short names like e | 1632 |
Avoid variables with short names like e | 1655 |
Avoid variables with short names like e | 1682 |
The String literal "ParameterNullException" appears 4 times in this file; the first occurrence is on line 1,689 | 1689 |
Avoid variables with short names like e | 1710 |
Avoid variables with short names like e | 1737 |
Avoid variables with short names like e | 1760 |
Violation | Line |
---|---|
All methods are static. Consider using Singleton instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. | 77 - 172 |
This is an inefficient use of StringBuffer.toString; call StringBuffer.length instead. | 155 |
Violation | Line |
---|---|
The class 'AbstractGraphNode' has a Cyclomatic Complexity of 3 (Highest = 14). | 56 - 580 |
This class has too many methods, consider refactoring it. | 57 - 580 |
Avoid excessively long variable names like comeFromStartingNode | 72 |
Avoid variables with short names like id | 83 |
Found non-transient, non-static member. Please mark as transient or provide accessors. | 83 |
Avoid if (x != y) ..; else ..; | 137 - 142 |
Avoid if (x != y) ..; else ..; | 161 - 166 |
The method 'getWays' has a Cyclomatic Complexity of 14. | 339 - 422 |
It is somewhat confusing to have a field name with the same name as a method | 363 |
The method 'hasNext' has a Cyclomatic Complexity of 10. | 370 - 400 |
Prefer StringBuffer over += for concatenating strings | 527 |
Prefer StringBuffer over += for concatenating strings | 529 |
Prefer StringBuffer over += for concatenating strings | 532 |
Prefer StringBuffer over += for concatenating strings | 535 |
Prefer StringBuffer over += for concatenating strings | 537 |
Prefer StringBuffer over += for concatenating strings | 539 |
Prefer StringBuffer over += for concatenating strings | 542 |
Prefer StringBuffer over += for concatenating strings | 544 |
Violation | Line |
---|---|
Abstract classes should be named AbstractXXX | 45 - 60 |
Violation | Line |
---|---|
Found non-transient, non-static member. Please mark as transient or provide accessors. | 74 |
Violation | Line |
---|---|
Found non-transient, non-static member. Please mark as transient or provide accessors. | 67 |
Found non-transient, non-static member. Please mark as transient or provide accessors. | 71 |
Found non-transient, non-static member. Please mark as transient or provide accessors. | 76 |
Found non-transient, non-static member. Please mark as transient or provide accessors. | 81 |
Violation | Line |
---|---|
Unnecessary final modifier in final class | 91 - 94 |
Unnecessary final modifier in final class | 104 - 116 |
Unnecessary final modifier in final class | 124 - 126 |
Unnecessary final modifier in final class | 136 - 142 |
Unnecessary final modifier in final class | 151 - 163 |
Prefer StringBuffer over += for concatenating strings | 154 |
Prefer StringBuffer over += for concatenating strings | 156 |
Prefer StringBuffer over += for concatenating strings | 159 |
Prefer StringBuffer over += for concatenating strings | 161 |
Violation | Line |
---|---|
This class has too many methods, consider refactoring it. | 92 - 1151 |
Avoid really long classes. | 92 - 1151 |
The class 'Graph' has a Cyclomatic Complexity of 5 (Highest = 15). | 92 - 1151 |
Avoid variables with short names like n1 | 116 |
Avoid variables with short names like n2 | 116 |
Use equals() to compare object references. | 121 |
Use equals() to compare object references. | 122 |
Avoid variables with short names like n1 | 149 |
Avoid variables with short names like n2 | 149 |
Use equals() to compare object references. | 154 |
Use equals() to compare object references. | 155 |
Avoid variables with short names like n1 | 189 |
Avoid variables with short names like n2 | 194 |
Avoid if (x != y) ..; else ..; | 205 - 211 |
Avoid variables with short names like n1 | 269 |
Avoid variables with short names like n2 | 270 |
Use equals() to compare object references. | 274 |
Found non-transient, non-static member. Please mark as transient or provide accessors. | 291 |
Found non-transient, non-static member. Please mark as transient or provide accessors. | 296 |
Found non-transient, non-static member. Please mark as transient or provide accessors. | 303 |
Found non-transient, non-static member. Please mark as transient or provide accessors. | 309 |
Found non-transient, non-static member. Please mark as transient or provide accessors. | 315 |
Found non-transient, non-static member. Please mark as transient or provide accessors. | 320 |
Avoid if (x != y) ..; else ..; | 358 - 444 |
The method 'addNode' has a Cyclomatic Complexity of 12. | 462 - 517 |
Avoid variables with short names like it | 605 |
Avoid instantiating new objects inside loops | 610 |
Avoid variables with short names like n0 | 613 |
Avoid variables with short names like n1 | 615 |
The method 'equals' has a Cyclomatic Complexity of 14. | 671 - 694 |
Position literals first in String comparisons | 708 |
Avoid if (x != y) ..; else ..; | 813 - 817 |
Avoid if (x != y) ..; else ..; | 818 - 822 |
Avoid variables with short names like i | 858 |
Avoid variables with short names like id | 861 |
Local variable 'node' could be declared final | 862 |
Avoid variables with short names like id | 875 |
Local variable 'node' could be declared final | 876 |
The method 'secondPhaseFinished' has a Cyclomatic Complexity of 10. | 979 - 1025 |
Avoid if (x != y) ..; else ..; | 1005 - 1009 |
The method simplifyGraph() has an NPath complexity of 624 | 1035 - 1114 |
The method 'simplifyGraph' has a Cyclomatic Complexity of 15. | 1035 - 1114 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() | 1046 |
Avoid throwing raw exception types. | 1048 |
Local variable 'size' could be declared final | 1050 |
Avoid variables with short names like it | 1089 |
Local variable 'childrenSize' could be declared final | 1106 |
Local variable 'parentsSize' could be declared final | 1107 |
Avoid instantiating new objects inside loops | 1108 - 1109 |
Prefer StringBuffer over += for concatenating strings | 1124 |
Prefer StringBuffer over += for concatenating strings | 1126 |
Prefer StringBuffer over += for concatenating strings | 1128 |
Prefer StringBuffer over += for concatenating strings | 1145 |
Prefer StringBuffer over += for concatenating strings | 1147 |
Prefer StringBuffer over += for concatenating strings | 1148 |
Violation | Line |
---|---|
Consider simply returning the value vs storing it in local variable 'value' | 161 |
Violation | Line |
---|---|
Found non-transient, non-static member. Please mark as transient or provide accessors. | 65 |
Avoid excessively long variable names like requieredGraphState | 69 |
Found non-transient, non-static member. Please mark as transient or provide accessors. | 69 |
Avoid excessively long variable names like excepCurrentGraphState | 80 |
Avoid excessively long variable names like requiredGraphState | 81 |
Violation | Line |
---|---|
All methods are static. Consider using Singleton instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. | 67 - 155 |
This is an inefficient use of StringBuffer.toString; call StringBuffer.length instead. | 137 |
Violation | Line |
---|---|
Found non-transient, non-static member. Please mark as transient or provide accessors. | 71 |
Violation | Line |
---|---|
Found non-transient, non-static member. Please mark as transient or provide accessors. | 65 |
Violation | Line |
---|---|
Ensure you override both equals() and hashCode() | 89 |
Consider simply returning the value vs storing it in local variable 'value' | 95 |
Violation | Line |
---|---|
Found non-transient, non-static member. Please mark as transient or provide accessors. | 71 |
Found non-transient, non-static member. Please mark as transient or provide accessors. | 75 |
Violation | Line |
---|---|
Found non-transient, non-static member. Please mark as transient or provide accessors. | 66 |
Violation | Line |
---|---|
Abstract classes should be named AbstractXXX | 50 - 65 |
Violation | Line |
---|---|
Avoid excessively long variable names like referencedNodename | 68 |
Found non-transient, non-static member. Please mark as transient or provide accessors. | 68 |
Violation | Line |
---|---|
Avoid excessively long variable names like referencingNodeName | 67 |
Found non-transient, non-static member. Please mark as transient or provide accessors. | 67 |
Violation | Line |
---|---|
Unnecessary final modifier in final class | 92 - 95 |
Unnecessary final modifier in final class | 105 - 116 |
Unnecessary final modifier in final class | 124 - 126 |
Unnecessary final modifier in final class | 136 - 142 |
Unnecessary final modifier in final class | 151 - 163 |
Prefer StringBuffer over += for concatenating strings | 154 |
Prefer StringBuffer over += for concatenating strings | 156 |
Prefer StringBuffer over += for concatenating strings | 159 |
Prefer StringBuffer over += for concatenating strings | 161 |
Violation | Line |
---|---|
Abstract classes should be named AbstractXXX | 48 - 157 |
Position literals first in String comparisons | 77 |
Violation | Line |
---|---|
Abstract classes should be named AbstractXXX | 46 - 61 |
Violation | Line |
---|---|
This class has too many methods, consider refactoring it. | 60 - 298 |
The String literal "test" appears 13 times in this file; the first occurrence is on line 100 | 100 |
Violation | Line |
---|---|
This class has too many methods, consider refactoring it. | 70 - 307 |
The String literal "test" appears 12 times in this file; the first occurrence is on line 91 | 91 |
Avoid variables with short names like e | 93 |
Violation | Line |
---|---|
This class has too many methods, consider refactoring it. | 71 - 1148 |
Avoid really long classes. | 71 - 1148 |
Avoid variables with short names like A | 76 |
The String literal "test" appears 48 times in this file; the first occurrence is on line 125 | 125 |
Avoid variables with short names like e | 132 |
Avoid variables with short names like e | 156 |
The String literal "NullGraphNodeException" appears 4 times in this file; the first occurrence is on line 162 | 162 |
Avoid variables with short names like e | 180 |
Avoid variables with short names like e | 681 |
Avoid variables with short names like e | 707 |
Avoid variables with short names like e | 762 |
Avoid variables with short names like e | 784 |
JUnit tests should include assert() or fail() | 939 - 960 |
Local variable 'graphname' could be declared final | 971 |
Substitute calls to size() == 0 (or size() != 0) with calls to isEmpty() | 990 |
Violation | Line |
---|---|
This class has a bunch of public methods and attributes | 29 - 2039 |
This class has too many methods, consider refactoring it. | 66 - 2039 |
Avoid really long classes. | 66 - 2039 |
Avoid variables with short names like A | 70 |
Avoid variables with short names like ID | 94 |
Avoid excessively long variable names like NOT_EQUALS_TO_FIRST_PHASE_GRAPH | 99 |
Avoid excessively long variable names like NOT_EQUALS_TO_SIMILAR_GRAPH | 100 |
Avoid excessively long variable names like NOT_EQUALS_TO_SIMPLE_GRAPH | 101 |
Avoid variables with short names like e | 162 |
The String literal "InvalidGraphStateException" appears 9 times in this file; the first occurrence is on line 168 | 168 |
Avoid variables with short names like e | 189 |
Avoid variables with short names like e | 211 |
Avoid variables with short names like e | 233 |
Avoid variables with short names like e | 277 |
Avoid variables with short names like e | 300 |
Avoid variables with short names like e | 323 |
JUnit 4 tests that execute tests should use the @Test annotation | 419 - 431 |
Avoid variables with short names like e | 445 |
Avoid variables with short names like e | 466 |
Avoid variables with short names like e | 491 |
Avoid variables with short names like e | 513 |
Avoid variables with short names like e | 538 |
Avoid variables with short names like e | 590 |
Avoid variables with short names like e | 615 |
Avoid variables with short names like e | 677 |
Avoid variables with short names like e | 716 |
Avoid variables with short names like e | 736 |
Avoid variables with short names like e | 756 |
Avoid variables with short names like e | 777 |
The String literal "merged:{" appears 6 times in this file; the first occurrence is on line 821 | 821 |
Local variable 'expectedGraphName' could be declared final | 821 - 822 |
The String literal "-WithoutExtraNodes{{" appears 7 times in this file; the first occurrence is on line 826 | 826 |
The String literal ">}-{" appears 8 times in this file; the first occurrence is on line 831 | 831 |
Prefer StringBuffer over += for concatenating strings | 836 |
Prefer StringBuffer over += for concatenating strings | 838 |
Prefer StringBuffer over += for concatenating strings | 841 |
Prefer StringBuffer over += for concatenating strings | 844 |
Prefer StringBuffer over += for concatenating strings | 846 |
Local variable 'expectedGraphName' could be declared final | 887 - 888 |
Prefer StringBuffer over += for concatenating strings | 894 |
Prefer StringBuffer over += for concatenating strings | 897 |
Prefer StringBuffer over += for concatenating strings | 900 |
Prefer StringBuffer over += for concatenating strings | 902 |
Local variable 'graphName' could be declared final | 990 |
Avoid variables with short names like e | 1037 |
Avoid variables with short names like e | 1061 |
Local variable 'graphName' could be declared final | 1083 |
Local variable 'graphName' could be declared final | 1122 |
Avoid variables with short names like e | 1163 |
Avoid variables with short names like e | 1197 |
Avoid using equals() to compare against null | 1241 |
Position literals first in String comparisons | 1241 |
Avoid variables with short names like e | 1330 |
Avoid variables with short names like e | 1348 |
Avoid variables with short names like e | 1374 |
Avoid variables with short names like e | 1401 |
Local variable 'expectedGraphName' could be declared final | 1464 - 1465 |
Prefer StringBuffer over += for concatenating strings | 1472 |
Prefer StringBuffer over += for concatenating strings | 1475 |
Prefer StringBuffer over += for concatenating strings | 1478 |
Prefer StringBuffer over += for concatenating strings | 1480 |
Avoid variables with short names like a | 1498 |
Local variable 'expectedGraphName' could be declared final | 1530 - 1531 |
Prefer StringBuffer over += for concatenating strings | 1540 |
Prefer StringBuffer over += for concatenating strings | 1543 |
Prefer StringBuffer over += for concatenating strings | 1546 |
Prefer StringBuffer over += for concatenating strings | 1547 |
Prefer StringBuffer over += for concatenating strings | 1549 |
Avoid variables with short names like z | 1567 |
Local variable 'expectedGraphName' could be declared final | 1598 - 1599 |
Prefer StringBuffer over += for concatenating strings | 1608 |
Prefer StringBuffer over += for concatenating strings | 1611 |
Prefer StringBuffer over += for concatenating strings | 1614 |
Prefer StringBuffer over += for concatenating strings | 1616 |
Prefer StringBuffer over += for concatenating strings | 1617 |
Avoid variables with short names like a | 1632 |
Avoid variables with short names like c | 1634 |
Avoid variables with short names like e | 1636 |
JUnit 4 tests that execute tests should use the @Test annotation | 1656 - 1675 |
Avoid variables with short names like a | 1656 |
Avoid variables with short names like e | 1657 |
JUnit 4 tests that execute tests should use the @Test annotation | 1677 - 1705 |
Avoid variables with short names like a | 1678 |
Avoid variables with short names like c | 1679 |
Avoid variables with short names like e | 1679 |
Local variable 'expectedGraphName' could be declared final | 1680 - 1681 |
Prefer StringBuffer over += for concatenating strings | 1692 |
Prefer StringBuffer over += for concatenating strings | 1695 |
Prefer StringBuffer over += for concatenating strings | 1698 |
Prefer StringBuffer over += for concatenating strings | 1699 |
Prefer StringBuffer over += for concatenating strings | 1701 |
Prefer StringBuffer over += for concatenating strings | 1702 |
Prefer StringBuffer over += for concatenating strings | 1703 |
Avoid variables with short names like id | 1753 |
Avoid excessively long variable names like aboutContentMessage | 1763 |
Avoid excessively long variable names like licenseContentMessage | 1764 |
Avoid excessively long variable names like helpContentMessage | 1765 |
Local variable 'expectedGraphName' could be declared final | 1766 |
Prefer StringBuffer over += for concatenating strings | 1777 |
Prefer StringBuffer over += for concatenating strings | 1779 |
Prefer StringBuffer over += for concatenating strings | 1781 |
Prefer StringBuffer over += for concatenating strings | 1782 |
Prefer StringBuffer over += for concatenating strings | 1784 |
Prefer StringBuffer over += for concatenating strings | 1786 |
Prefer StringBuffer over += for concatenating strings | 1788 |
Prefer StringBuffer over += for concatenating strings | 1790 |
Prefer StringBuffer over += for concatenating strings | 1792 |
Prefer StringBuffer over += for concatenating strings | 1794 |
Avoid variables with short names like id | 1812 |
Avoid excessively long variable names like licenseContentMessage | 1822 |
Avoid excessively long variable names like helpContentMessage | 1826 |
Prefer StringBuffer over += for concatenating strings | 1835 |
Prefer StringBuffer over += for concatenating strings | 1836 |
Prefer StringBuffer over += for concatenating strings | 1838 |
Prefer StringBuffer over += for concatenating strings | 1840 |
Violation | Line |
---|---|
This class has too many methods, consider refactoring it. | 56 - 298 |
The String literal "test" appears 12 times in this file; the first occurrence is on line 77 | 77 |
Violation | Line |
---|---|
This class has too many methods, consider refactoring it. | 67 - 292 |
The String literal "test" appears 13 times in this file; the first occurrence is on line 83 | 83 |
Avoid variables with short names like e | 85 |
Violation | Line |
---|---|
Avoid variables with short names like e | 160 |
Violation | Line |
---|---|
A high number of imports can indicate a high degree of coupling within an object. | 29 - 1037 |
This class has a bunch of public methods and attributes | 29 - 1037 |
This class has too many methods, consider refactoring it. | 102 - 1037 |
Avoid variables with short names like ex | 131 |
The String literal "ParentNodeId" appears 4 times in this file; the first occurrence is on line 234 | 234 |
The String literal "RepeatedNodeId" appears 5 times in this file; the first occurrence is on line 235 | 235 |
Avoid variables with short names like g1 | 236 |
The String literal "node1" appears 4 times in this file; the first occurrence is on line 236 | 236 |
Avoid variables with short names like g2 | 237 |
The String literal "node2" appears 4 times in this file; the first occurrence is on line 237 | 237 |
Avoid excessively long variable names like actualParentNodeId | 258 |
Avoid variables with short names like g1 | 302 |
Avoid variables with short names like g2 | 303 |
Avoid variables with short names like g1 | 314 |
Avoid variables with short names like g2 | 315 |
Avoid variables with short names like g1 | 327 |
Avoid variables with short names like g2 | 328 |
Avoid variables with short names like g1 | 341 |
Avoid variables with short names like g2 | 342 |
The String literal "test" appears 6 times in this file; the first occurrence is on line 436 | 436 |
Avoid throwing null pointer exceptions. | 479 |
Avoid excessively long variable names like expectedCurrentState | 645 |
Avoid excessively long variable names like expectedRequiredState | 646 |
Avoid excessively long variable names like actualCurrentState | 660 |
Avoid excessively long variable names like actualRequiredState | 665 |
Avoid excessively long variable names like expectedParameterName | 902 |
Avoid excessively long variable names like actualParameterName | 914 |
Violation | Line |
---|---|
The class 'Main' has a Cyclomatic Complexity of 4 (Highest = 10). | 75 - 361 |
To be compliant to J2EE, a webapp should not use any thread. | 91 |
Found non-transient, non-static member. Please mark as transient or provide accessors. | 95 |
Avoid printStackTrace(); use a logger call instead. | 133 |
System.exit() should not be used in J2EE/JEE apps | 134 |
Avoid excessively long variable names like ID_DEFAULT_CONTROLLER | 142 |
Avoid excessively long variable names like INITIALIZING_ERROR | 155 |
Avoid excessively long variable names like INTERFACE_CONTROLLER_TYPE_PROPERTY | 160 |
Avoid excessively long variable names like VALUE_DEFAULT_CONTROLLER | 185 |
The constructor 'Main' has a Cyclomatic Complexity of 10. | 304 - 348 |
Avoid excessively long variable names like interfaceControllerType | 323 |
Violation | Line |
---|---|
Avoid variables with short names like e | 157 |
Avoid variables with short names like e | 179 |
Violation | Line |
---|---|
This class has too many methods, consider refactoring it. | 61 - 267 |
The String literal "Interface controller type" appears 4 times in this file; the first occurrence is on line 94 | 94 |
Document empty method | 140 - 141 |
JUnit tests should include assert() or fail() | 140 - 141 |
JUnit tests should include assert() or fail() | 149 - 152 |
JUnit tests should include assert() or fail() | 160 - 163 |
Document empty method | 171 - 172 |
JUnit tests should include assert() or fail() | 171 - 172 |
JUnit tests should include assert() or fail() | 201 - 204 |
Document empty method | 212 - 213 |
JUnit tests should include assert() or fail() | 212 - 213 |
JUnit tests should include assert() or fail() | 237 - 240 |
Violation | Line |
---|---|
Found non-transient, non-static member. Please mark as transient or provide accessors. | 72 |
Avoid excessively long variable names like parameterNameExcep | 80 |
Violation | Line |
---|---|
An Interface should be used only to model a behaviour; consider converting this to a class. | 54 - 136 |
Avoid excessively long variable names like ABOUT_CONTENT_TOKEN_ID | 58 |
Avoid excessively long variable names like ABOUT_TOKEN_PROPERTY | 66 |
Avoid excessively long variable names like GRAMMAR_FILE_DESCRIPTORS_PROPERTY | 78 |
Avoid excessively long variable names like GRAMMAR_READER_NAME_PROPERTY | 82 |
Avoid excessively long variable names like HELP_CONTENT_TOKEN_ID | 86 |
Avoid excessively long variable names like HELP_TOKEN_PROPERTY | 94 |
Avoid excessively long variable names like LICENSE_CONTENT_TOKEN_ID | 102 |
Avoid excessively long variable names like LICENSE_TOKEN_PROPERTY | 110 |
Avoid excessively long variable names like LICENSE_TOKEN_VALUE | 114 |
Avoid excessively long variable names like WITHOUT_EXTRA_NODES | 126 |
Avoid excessively long variable names like ZEMUCAN_CONF_XML_PROPERTY | 130 |
Avoid excessively long variable names like ZEMUCAN_CONF_XML_FILENAME | 134 |
Violation | Line |
---|---|
Found non-transient, non-static member. Please mark as transient or provide accessors. | 76 |
Violation | Line |
---|---|
Found non-transient, non-static member. Please mark as transient or provide accessors. | 76 |
Violation | Line |
---|---|
Avoid excessively long variable names like GRAMMAR_FILE_DESCRIPTORS_VALUE | 87 |
Avoid excessively long variable names like GRAMMAR_READER_NAME_VALUE | 91 |
Found non-transient, non-static member. Please mark as transient or provide accessors. | 142 |
Avoid calling toString() on String objects; this is unnecessary. | 186 |
Position literals first in String comparisons | 214 |
Position literals first in String comparisons | 280 |
Violation | Line |
---|---|
Avoid variables with short names like e | 67 |
Violation | Line |
---|---|
Prefer StringBuffer over += for concatenating strings | 71 |
Violation | Line |
---|---|
Found non-transient, non-static member. Please mark as transient or provide accessors. | 56 |
Avoid variables with short names like e | 77 |
Prefer StringBuffer over += for concatenating strings | 92 |
Violation | Line |
---|---|
All methods are static. Consider using Singleton instead. Alternatively, you could add a private constructor or make the class abstract to silence this warning. | 52 - 101 |
Avoid if (x != y) ..; else ..; | 76 - 95 |
Violation | Line |
---|---|
Avoid variables with short names like e | 86 |
Avoid variables with short names like e | 107 |
Violation | Line |
---|---|
Avoid variables with short names like A | 70 |
Violation | Line |
---|---|
Avoid excessively long variable names like SHOW_INTRO_PROPERTY | 58 |
To be compliant to J2EE, a webapp should not use any thread. | 77 |
Violation | Line |
---|---|
Found non-transient, non-static member. Please mark as transient or provide accessors. | 54 |
Violation | Line |
---|---|
This class has too many methods, consider refactoring it. | 58 - 519 |
The String literal "create table" appears 11 times in this file; the first occurrence is on line 113 | 113 |
Avoid variables with short names like e | 359 |
The String literal "ParameterNullException" appears 5 times in this file; the first occurrence is on line 365 | 365 |
Avoid variables with short names like e | 380 |
Avoid variables with short names like e | 402 |
Avoid variables with short names like e | 424 |
Avoid variables with short names like e | 447 |
Violation | Line |
---|---|
Avoid excessively long variable names like AUTO_PRINT_THRESHOLD_KEY | 86 |
Avoid excessively long variable names like AUTO_PRINT_THRESHOLD_VALUE | 90 |
Found non-transient, non-static member. Please mark as transient or provide accessors. | 99 |
Found non-transient, non-static member. Please mark as transient or provide accessors. | 103 |
To be compliant to J2EE, a webapp should not use any thread. | 132 |
Violation | Line |
---|---|
Avoid variables with short names like e | 162 |
System.exit() should not be used in J2EE/JEE apps | 163 |
Violation | Line |
---|---|
Avoid instantiating Integer objects. Call Integer.valueOf() instead. | 86 |
Avoid variables with short names like c | 97 |
Avoid instantiating new objects inside loops | 101 - 102 |
Avoid instantiating new objects inside loops | 105 |
Avoid instantiating new objects inside loops | 110 |
Violation | Line |
---|---|
The class 'ZemucanCompletor' has a Cyclomatic Complexity of 7 (Highest = 12). | 68 - 198 |
Private field 'assertsEnabled' could be made final; it is only initialized in the declaration or constructor. | 78 |
Found non-transient, non-static member. Please mark as transient or provide accessors. | 78 |
The method 'complete' has a Cyclomatic Complexity of 12. | 97 - 167 |
This call to String.startsWith can be rewritten using String.charAt(0) | 127 |
Avoid variables with short names like ex | 155 |
System.exit() should not be used in J2EE/JEE apps | 161 |
Violation | Line |
---|---|
Found non-transient, non-static member. Please mark as transient or provide accessors. | 51 |
Avoid variables with short names like b | 69 |
Avoid using short method names | 112 |
Violation | Line |
---|---|
Error while parsing /media/sf_zemucan/zemucan_v1/source-code/uiImplJLine/src/test/java/name/angoca/zemucan/ui/impl/jline/JlineInputReaderTest.java: Encountered " "@" "@ "" at line 107, column 14. Was expecting one of: "boolean" ... "byte" ... "char" ... "double" ... "false" ... "float" ... "int" ... "long" ... "new" ... "null" ... "short" ... "super" ... "this" ... "true" ... "void" ... <INTEGER_LITERAL> ... <FLOATING_POINT_LITERAL> ... <HEX_FLOATING_POINT_LITERAL> ... <CHARACTER_LITERAL> ... <STRING_LITERAL> ... <IDENTIFIER> ... "(" ... "++" ... "--" ... "boolean" ... "char" ... "byte" ... "short" ... "int" ... "long" ... "float" ... "double" ... <IDENTIFIER> ... "boolean" ... "char" ... "byte" ... "short" ... "int" ... "long" ... "float" ... "double" ... | 0 |
Violation | Line |
---|---|
Found non-transient, non-static member. Please mark as transient or provide accessors. | 81 |
Found non-transient, non-static member. Please mark as transient or provide accessors. | 85 |
To be compliant to J2EE, a webapp should not use any thread. | 112 |