diff --git a/.snippet-licenses/DashboardControllerTest.java-snippet-analysis.json b/.snippet-licenses/DashboardControllerTest.java-snippet-analysis.json index c9d40ca..0ab272f 100644 --- a/.snippet-licenses/DashboardControllerTest.java-snippet-analysis.json +++ b/.snippet-licenses/DashboardControllerTest.java-snippet-analysis.json @@ -16,7 +16,7 @@ 3 ], "sourceEndLines": [ - 28 + 29 ], "matchedStartLines": [ 21 @@ -40,7 +40,7 @@ 3 ], "sourceEndLines": [ - 28 + 29 ], "matchedStartLines": [ 3 @@ -65,7 +65,7 @@ 3 ], "sourceEndLines": [ - 28 + 29 ], "matchedStartLines": [ 21 @@ -114,7 +114,7 @@ 3 ], "sourceEndLines": [ - 28 + 29 ], "matchedStartLines": [ 3 @@ -138,7 +138,7 @@ 4 ], "sourceEndLines": [ - 28 + 29 ], "matchedStartLines": [ 15 @@ -162,7 +162,7 @@ 3 ], "sourceEndLines": [ - 28 + 29 ], "matchedStartLines": [ 20 @@ -184,7 +184,7 @@ 3 ], "sourceEndLines": [ - 28 + 29 ], "matchedStartLines": [ 20 @@ -206,7 +206,7 @@ 3 ], "sourceEndLines": [ - 28 + 29 ], "matchedStartLines": [ 19 @@ -228,7 +228,7 @@ 3 ], "sourceEndLines": [ - 28 + 29 ], "matchedStartLines": [ 20 @@ -253,7 +253,7 @@ 3 ], "sourceEndLines": [ - 28 + 29 ], "matchedStartLines": [ 4 @@ -278,7 +278,7 @@ 3 ], "sourceEndLines": [ - 28 + 29 ], "matchedStartLines": [ 4 @@ -300,7 +300,7 @@ 3 ], "sourceEndLines": [ - 28 + 29 ], "matchedStartLines": [ 19 @@ -309,6 +309,28 @@ 41 ] } + }, + { + "projectName": "Chambua", + "releaseVersion": "20151201-snapshot-9b1ed54a", + "licenseDefinition": { + "licenseDisplayName": "(GNU Affero General Public License v3.0 AND GNU General Public License v3.0 or later)" + }, + "matchedFilePath": "/Chambua-9b1ed54ad94413d529e4016e90b9dc36be850926/src/test/java/com/ushahidi/chambua/web/controller/TagsControllerTest.java", + "regions": { + "sourceStartLines": [ + 3 + ], + "sourceEndLines": [ + 29 + ], + "matchedStartLines": [ + 21 + ], + "matchedEndLines": [ + 45 + ] + } } ], "WEAK_RECIPROCAL": [ @@ -377,7 +399,7 @@ 3 ], "sourceEndLines": [ - 28 + 29 ], "matchedStartLines": [ 4 @@ -479,7 +501,7 @@ 3 ], "sourceEndLines": [ - 28 + 29 ], "matchedStartLines": [ 4 @@ -579,7 +601,7 @@ 3 ], "sourceEndLines": [ - 28 + 29 ], "matchedStartLines": [ 3 @@ -604,7 +626,7 @@ 3 ], "sourceEndLines": [ - 28 + 29 ], "matchedStartLines": [ 10 @@ -629,7 +651,7 @@ 3 ], "sourceEndLines": [ - 28 + 29 ], "matchedStartLines": [ 10 @@ -654,7 +676,7 @@ 3 ], "sourceEndLines": [ - 28 + 29 ], "matchedStartLines": [ 5 @@ -715,24 +737,24 @@ } }, { - "projectName": "Thymeleaf", - "releaseVersion": "thymeleafexamples-petclinic-20130317", + "projectName": "Spring Security", + "releaseVersion": "4.0.0.RC2", "licenseDefinition": { "name": "Apache License 2.0", "spdxId": "Apache-2.0", "ownership": "OPEN_SOURCE", "licenseDisplayName": "Apache License 2.0" }, - "matchedFilePath": "/thymeleafexamples-petclinic-7683632008afdaadac164ebce77bada8906fd123/src/test/java/org/springframework/samples/petclinic/web/VisitsViewTest.java", + "matchedFilePath": "/spring-security-bbce00b4a66193891700c57922d253190844e76d/config/src/test/java/org/springframework/security/config/annotation/web/configuration/WebMvcSecurityConfigurationTests.java", "regions": { "sourceStartLines": [ 3 ], "sourceEndLines": [ - 28 + 21 ], "matchedStartLines": [ - 20 + 18 ], "matchedEndLines": [ 46 @@ -740,65 +762,65 @@ } }, { - "projectName": "eugenp/tutorials", - "releaseVersion": "20180822-snapshot-387f9e7e", + "projectName": "Thymeleaf", + "releaseVersion": "thymeleafexamples-petclinic-20130317", "licenseDefinition": { - "name": "MIT License", - "spdxId": "MIT", + "name": "Apache License 2.0", + "spdxId": "Apache-2.0", "ownership": "OPEN_SOURCE", - "licenseDisplayName": "MIT License" + "licenseDisplayName": "Apache License 2.0" }, - "matchedFilePath": "/tutorials-387f9e7e526c46097d7216127d3f12cf0ae7a138/spring-thymeleaf/src/test/java/com/baeldung/thymeleaf/controller/FragmentsIntegrationTest.java", + "matchedFilePath": "/thymeleafexamples-petclinic-7683632008afdaadac164ebce77bada8906fd123/src/test/java/org/springframework/samples/petclinic/web/VisitsViewTest.java", "regions": { "sourceStartLines": [ 3 ], "sourceEndLines": [ - 28 + 29 ], "matchedStartLines": [ - 5 + 20 ], "matchedEndLines": [ - 31 + 46 ] } }, { - "projectName": "Spring Security", - "releaseVersion": "4.0.0", + "projectName": "eugenp/tutorials", + "releaseVersion": "20180822-snapshot-387f9e7e", "licenseDefinition": { - "name": "Apache License 2.0", - "spdxId": "Apache-2.0", + "name": "MIT License", + "spdxId": "MIT", "ownership": "OPEN_SOURCE", - "licenseDisplayName": "Apache License 2.0" + "licenseDisplayName": "MIT License" }, - "matchedFilePath": "/spring-security-8f9065b3f6b48b9157b43b9e35153680d1bb68d7/test/src/test/java/org/springframework/security/test/web/servlet/showcase/secured/SecurityRequestsTests.java", + "matchedFilePath": "/tutorials-387f9e7e526c46097d7216127d3f12cf0ae7a138/spring-thymeleaf/src/test/java/com/baeldung/thymeleaf/controller/FragmentsIntegrationTest.java", "regions": { "sourceStartLines": [ 3 ], "sourceEndLines": [ - 21 + 29 ], "matchedStartLines": [ - 21 + 5 ], "matchedEndLines": [ - 43 + 31 ] } }, { "projectName": "Spring Security", - "releaseVersion": "4.0.0.RC2", + "releaseVersion": "4.0.0", "licenseDefinition": { "name": "Apache License 2.0", "spdxId": "Apache-2.0", "ownership": "OPEN_SOURCE", "licenseDisplayName": "Apache License 2.0" }, - "matchedFilePath": "/spring-security-bbce00b4a66193891700c57922d253190844e76d/config/src/test/java/org/springframework/security/config/annotation/web/configuration/WebMvcSecurityConfigurationTests.java", + "matchedFilePath": "/spring-security-8f9065b3f6b48b9157b43b9e35153680d1bb68d7/test/src/test/java/org/springframework/security/test/web/servlet/showcase/secured/SecurityRequestsTests.java", "regions": { "sourceStartLines": [ 3 @@ -807,10 +829,10 @@ 21 ], "matchedStartLines": [ - 18 + 21 ], "matchedEndLines": [ - 46 + 43 ] } }, diff --git a/DashboardControllerTest.java b/DashboardControllerTest.java index 5b78cae..dc7630b 100644 --- a/DashboardControllerTest.java +++ b/DashboardControllerTest.java @@ -20,7 +20,7 @@ import org.springframework.test.web.servlet.setup.MockMvcBuilders; import org.springframework.web.context.WebApplicationContext; /* I am a comment */ -/* I am a comment */ + diff --git a/snippet-analysis.sarif b/snippet-analysis.sarif index fe6442e..c451e7d 100644 --- a/snippet-analysis.sarif +++ b/snippet-analysis.sarif @@ -26,7 +26,7 @@ }, "region": { "startLine": 3, - "endLine": 28 + "endLine": 29 } } } @@ -47,7 +47,7 @@ }, "region": { "startLine": 3, - "endLine": 28 + "endLine": 29 } } } @@ -68,7 +68,7 @@ }, "region": { "startLine": 3, - "endLine": 28 + "endLine": 29 } } } @@ -110,7 +110,7 @@ }, "region": { "startLine": 3, - "endLine": 28 + "endLine": 29 } } } @@ -131,7 +131,7 @@ }, "region": { "startLine": 4, - "endLine": 28 + "endLine": 29 } } } @@ -152,7 +152,7 @@ }, "region": { "startLine": 3, - "endLine": 28 + "endLine": 29 } } } @@ -173,7 +173,7 @@ }, "region": { "startLine": 3, - "endLine": 28 + "endLine": 29 } } } @@ -194,7 +194,7 @@ }, "region": { "startLine": 3, - "endLine": 28 + "endLine": 29 } } } @@ -215,7 +215,7 @@ }, "region": { "startLine": 3, - "endLine": 28 + "endLine": 29 } } } @@ -236,7 +236,7 @@ }, "region": { "startLine": 3, - "endLine": 28 + "endLine": 29 } } } @@ -257,7 +257,7 @@ }, "region": { "startLine": 3, - "endLine": 28 + "endLine": 29 } } } @@ -278,7 +278,28 @@ }, "region": { "startLine": 3, - "endLine": 28 + "endLine": 29 + } + } + } + ] + }, + { + "ruleId": "unknown", + "level": "warning", + "message": { + "text": "License match found: (GNU Affero General Public License v3.0 AND GNU General Public License v3.0 or later)" + }, + "locations": [ + { + "physicalLocation": { + "artifactLocation": { + "uri": ".snippet-licenses/DashboardControllerTest.java-snippet-analysis.json", + "uriBaseId": "%SRCROOT%" + }, + "region": { + "startLine": 3, + "endLine": 29 } } } @@ -341,7 +362,7 @@ }, "region": { "startLine": 3, - "endLine": 28 + "endLine": 29 } } } @@ -425,7 +446,7 @@ }, "region": { "startLine": 3, - "endLine": 28 + "endLine": 29 } } } @@ -509,7 +530,7 @@ }, "region": { "startLine": 3, - "endLine": 28 + "endLine": 29 } } } @@ -530,7 +551,7 @@ }, "region": { "startLine": 3, - "endLine": 28 + "endLine": 29 } } } @@ -551,7 +572,7 @@ }, "region": { "startLine": 3, - "endLine": 28 + "endLine": 29 } } } @@ -572,7 +593,7 @@ }, "region": { "startLine": 3, - "endLine": 28 + "endLine": 29 } } } @@ -635,17 +656,17 @@ }, "region": { "startLine": 3, - "endLine": 28 + "endLine": 21 } } } ] }, { - "ruleId": "MIT", + "ruleId": "Apache-2.0", "level": "warning", "message": { - "text": "License match found: MIT License" + "text": "License match found: Apache License 2.0" }, "locations": [ { @@ -656,17 +677,17 @@ }, "region": { "startLine": 3, - "endLine": 28 + "endLine": 29 } } } ] }, { - "ruleId": "Apache-2.0", + "ruleId": "MIT", "level": "warning", "message": { - "text": "License match found: Apache License 2.0" + "text": "License match found: MIT License" }, "locations": [ { @@ -677,7 +698,7 @@ }, "region": { "startLine": 3, - "endLine": 21 + "endLine": 29 } } }