Commit f74679d
authored
SONARJAVA-4951 Replace sonar-java specific verifier with analyzer-commons library (#4786)
Use the CheckVerifier provided by the sonar-analyzer-commons testing module instead of the sonar-java-specific implementation to improve testing and allow for better maintanance and updates of the verifier logic.1 parent 308fcf3 commit f74679d
899 files changed
Lines changed: 8164 additions & 4648 deletions
File tree
- docs
- java-custom-rules-example/src/test/files
- its/autoscan/src/test/resources/autoscan/diffs
- java-checks-test-sources
- aws/src/main
- files/non-compiling/checks/aws
- java/checks
- aws
- security
- default/src
- main
- files/non-compiling
- checks
- UselessImportCheck
- regex
- security
- serialization
- spring
- tests
- unused
- symbolicexecution/checks
- java
- checks
- ClassFieldCountCheck
- DisallowedConstructorCheck
- FileHeaderCheck
- OmitPermittedTypesCheck
- S2638_ChangeMethodContractCheck
- noPackageInfo
- nonNullApi
- nullableApi
- S3749_SpringComponentWithNonAutowiredMembersCheck
- TooLongLine_S103_Check
- UselessImportCheck
- UselessPackageInfoCheck/packageWithNoOtherFiles
- VisibleForTestingUsageCheck
- design
- emptyclass
- naming
- regex
- security
- ExcessiveContentRequestCheck
- JWTWithStrongCipherCheck
- VerifiedServerHostnamesCheck
- serialization
- spring
- s4605
- componentScan
- packageC
- springBootApplication
- Ko
- fourthApp/controller
- thirdApp/controller
- sustainability
- unused
- symbolicexecution/checks
- NonNullSetToNullCheck/noDefault
- ParameterNullnessCheck
- noDefault
- packageNonNull
- test/java/checks/tests
- AssertionsInTestsCheck
- spring-3.2/src/main/java/checks
- java-checks-testkit
- src
- main/java/org/sonar/java/checks/verifier
- internal
- test
- files/java-check-verifier
- java/org/sonar/java/checks/verifier
- internal
- java-checks/src/test
- files/checks
- ClassFieldCountCheck
- DisallowedConstructorCheck
- DisallowedMethodCheck
- DoublePrefixOperatorCheck
- PACKAGE
- StaticImportCountCheck
- SuppressWarningsCheck
- UndocumentedApiCheck
- mismatchPackage
- naming
- parsing
- serialization
- spring
- unused
- java/org/sonar/java/checks
- design
- spring
- tests
- unused
- java-frontend/src/main/java/org/sonar/java/ast/visitors
- java-symbolic-execution/src/test/java/org/sonar/java/se
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
682 | 682 | | |
683 | 683 | | |
684 | 684 | | |
685 | | - | |
686 | | - | |
687 | | - | |
| 685 | + | |
| 686 | + | |
| 687 | + | |
| 688 | + | |
| 689 | + | |
| 690 | + | |
| 691 | + | |
| 692 | + | |
| 693 | + | |
| 694 | + | |
| 695 | + | |
688 | 696 | | |
689 | | - | |
| 697 | + | |
| 698 | + | |
690 | 699 | | |
691 | 700 | | |
692 | 701 | | |
| 702 | + | |
| 703 | + | |
693 | 704 | | |
694 | 705 | | |
695 | 706 | | |
| |||
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | | - | |
| 19 | + | |
| 20 | + | |
19 | 21 | | |
20 | 22 | | |
21 | 23 | | |
| |||
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
Lines changed: 12 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | | - | |
17 | | - | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
18 | 21 | | |
19 | 22 | | |
20 | 23 | | |
21 | 24 | | |
22 | 25 | | |
23 | | - | |
| 26 | + | |
| 27 | + | |
24 | 28 | | |
25 | 29 | | |
26 | | - | |
| 30 | + | |
| 31 | + | |
27 | 32 | | |
28 | 33 | | |
29 | 34 | | |
30 | | - | |
| 35 | + | |
| 36 | + | |
31 | 37 | | |
32 | 38 | | |
33 | 39 | | |
| |||
0 commit comments