aboutsummaryrefslogtreecommitdiffstats
path: root/it
diff options
context:
space:
mode:
authorDuarte Meneses <duarte.meneses@sonarsource.com>2015-11-05 14:14:35 +0100
committerDuarte Meneses <duarte.meneses@sonarsource.com>2015-11-09 16:58:03 +0100
commitae7efa83ddab2008efab798ef9b8b119009aca69 (patch)
tree20c7f4cec49de24f96c8ce09275767aa48f4db99 /it
parentf1b4428c014da7768d14bbd34cc322594b283bb4 (diff)
downloadsonarqube-ae7efa83ddab2008efab798ef9b8b119009aca69.tar.gz
sonarqube-ae7efa83ddab2008efab798ef9b8b119009aca69.zip
SONAR-6978 Provide enhanced issue locations (start/end) offset in issues mode
Diffstat (limited to 'it')
-rw-r--r--it/it-projects/shared/xoo-precise-issues/sonar-project.properties5
-rw-r--r--it/it-projects/shared/xoo-precise-issues/src/main/xoo/sample/Sample.xoo16
-rw-r--r--it/it-tests/src/test/java/it/analysis/IssueJsonReportTest.java76
-rw-r--r--it/it-tests/src/test/java/it/analysis/IssuesModeTest.java22
-rw-r--r--it/it-tests/src/test/resources/analysis/IssueJsonReportTest/multiline.xml12
-rw-r--r--it/it-tests/src/test/resources/analysis/IssueJsonReportTest/no-server-analysis.json236
-rw-r--r--it/it-tests/src/test/resources/analysis/IssueJsonReportTest/report-on-root-module.json1634
-rw-r--r--it/it-tests/src/test/resources/analysis/IssueJsonReportTest/report-on-single-module-branch.json281
-rw-r--r--it/it-tests/src/test/resources/analysis/IssueJsonReportTest/report-on-single-module.json446
-rw-r--r--it/it-tests/src/test/resources/analysis/IssueJsonReportTest/report-on-sub-module.json266
10 files changed, 1703 insertions, 1291 deletions
diff --git a/it/it-projects/shared/xoo-precise-issues/sonar-project.properties b/it/it-projects/shared/xoo-precise-issues/sonar-project.properties
new file mode 100644
index 00000000000..1a7b22bbc15
--- /dev/null
+++ b/it/it-projects/shared/xoo-precise-issues/sonar-project.properties
@@ -0,0 +1,5 @@
+sonar.projectKey=sample-multiline
+sonar.projectName=Sample Multiline
+sonar.projectVersion=1.0-SNAPSHOT
+sonar.sources=src/main/xoo
+sonar.language=xoo
diff --git a/it/it-projects/shared/xoo-precise-issues/src/main/xoo/sample/Sample.xoo b/it/it-projects/shared/xoo-precise-issues/src/main/xoo/sample/Sample.xoo
new file mode 100644
index 00000000000..56ce09970af
--- /dev/null
+++ b/it/it-projects/shared/xoo-precise-issues/src/main/xoo/sample/Sample.xoo
@@ -0,0 +1,16 @@
+package sample;
+
+public class Sample {
+
+ public Sample(int i) {
+ int j {xoo-start-issue:0}= i++{xoo-end-issue:0};
+ }
+
+ {xoo-start-issue:1}private String myMethod() {
+ if (foo == bar) {
+ return "hello";
+ } else {
+ throw new IllegalStateException();
+ }
+ }{xoo-end-issue:1}
+}
diff --git a/it/it-tests/src/test/java/it/analysis/IssueJsonReportTest.java b/it/it-tests/src/test/java/it/analysis/IssueJsonReportTest.java
index 6c2d1cd4e5a..0b2c75db850 100644
--- a/it/it-tests/src/test/java/it/analysis/IssueJsonReportTest.java
+++ b/it/it-tests/src/test/java/it/analysis/IssueJsonReportTest.java
@@ -6,15 +6,15 @@
package it.analysis;
import com.sonar.orchestrator.Orchestrator;
+import com.sonar.orchestrator.build.BuildResult;
import com.sonar.orchestrator.build.SonarRunner;
import com.sonar.orchestrator.locator.FileLocation;
import com.sonar.orchestrator.locator.ResourceLocation;
import it.Category3Suite;
-import java.io.File;
-import java.io.FileNotFoundException;
-import java.io.InputStream;
import org.apache.commons.io.FileUtils;
import org.apache.commons.io.IOUtils;
+import org.json.simple.JSONArray;
+import org.json.simple.JSONObject;
import org.junit.Before;
import org.junit.ClassRule;
import org.junit.Rule;
@@ -23,6 +23,13 @@ import org.junit.rules.TemporaryFolder;
import org.skyscreamer.jsonassert.JSONAssert;
import util.ItUtils;
+import java.io.File;
+import java.io.FileNotFoundException;
+import java.io.IOException;
+import java.io.InputStream;
+import java.util.ArrayList;
+import java.util.List;
+
import static org.assertj.core.api.Assertions.assertThat;
public class IssueJsonReportTest {
@@ -39,6 +46,69 @@ public class IssueJsonReportTest {
}
@Test
+ public void issue_line() throws IOException {
+ orchestrator.getServer().restoreProfile(getResource("one-issue-per-line.xml"));
+ orchestrator.getServer().provisionProject("sample", "xoo-sample");
+ orchestrator.getServer().associateProjectToQualityProfile("sample", "xoo", "one-issue-per-line");
+
+ File projectDir = ItUtils.projectDir("shared/xoo-sample");
+ SonarRunner runner = SonarRunner.create(projectDir,
+ "sonar.analysis.mode", "issues",
+ "sonar.verbose", "true",
+ "sonar.report.export.path", "sonar-report.json");
+ BuildResult result = orchestrator.executeBuild(runner);
+ assertThat(ItUtils.countIssuesInJsonReport(result, true)).isEqualTo(17);
+
+ JSONObject obj = ItUtils.getJSONReport(result);
+ JSONArray issues = (JSONArray) obj.get("issues");
+ for (Object issue : issues) {
+ JSONObject jsonIssue = (JSONObject) issue;
+ assertThat(jsonIssue.get("startLine")).isNotNull();
+ assertThat(jsonIssue.get("endLine")).isNotNull();
+
+ assertThat(jsonIssue.get("endLine")).isEqualTo(jsonIssue.get("startLine"));
+
+ assertThat(jsonIssue.get("endOffset")).isNotNull();
+ assertThat(jsonIssue.get("startOffset")).isNotNull();
+ }
+
+ List<Long> lineNumbers = new ArrayList<Long>(16);
+ for (long i = 1L; i < 18; i++) {
+ lineNumbers.add(i);
+ }
+ assertThat(issues).extracting("startLine").containsAll(lineNumbers);
+ assertThat(issues).extracting("endLine").containsAll(lineNumbers);
+ }
+
+ @Test
+ public void precise_issue_location() throws IOException {
+ orchestrator.getServer().restoreProfile(getResource("multiline.xml"));
+ orchestrator.getServer().provisionProject("sample-multiline", "xoo-sample");
+ orchestrator.getServer().associateProjectToQualityProfile("sample-multiline", "xoo", "multiline");
+
+ File projectDir = ItUtils.projectDir("shared/xoo-precise-issues");
+ SonarRunner runner = SonarRunner.create(projectDir,
+ "sonar.analysis.mode", "issues",
+ "sonar.verbose", "true",
+ "sonar.report.export.path", "sonar-report.json");
+ BuildResult result = orchestrator.executeBuild(runner);
+ assertThat(ItUtils.countIssuesInJsonReport(result, true)).isEqualTo(2);
+
+ JSONObject obj = ItUtils.getJSONReport(result);
+ JSONArray issues = (JSONArray) obj.get("issues");
+
+ for (Object i : issues) {
+ JSONObject issue = (JSONObject) i;
+ assertThat(issue.get("startLine")).isIn(6L, 9L);
+ assertThat(issue.get("line")).isIn(6L, 9L);
+ assertThat(issue.get("endLine")).isIn(6L, 15L);
+ assertThat(issue.get("startOffset")).isIn(27L, 20L);
+ assertThat(issue.get("endOffset")).isIn(32L, 2L);
+ }
+
+ }
+
+ @Test
public void test_json_report_no_server_analysis() throws Exception {
orchestrator.getServer().restoreProfile(getResource("one-issue-per-line.xml"));
orchestrator.getServer().provisionProject("sample", "tracking");
diff --git a/it/it-tests/src/test/java/it/analysis/IssuesModeTest.java b/it/it-tests/src/test/java/it/analysis/IssuesModeTest.java
index f5ec507b123..14749d888fd 100644
--- a/it/it-tests/src/test/java/it/analysis/IssuesModeTest.java
+++ b/it/it-tests/src/test/java/it/analysis/IssuesModeTest.java
@@ -116,11 +116,11 @@ public class IssuesModeTest {
assertThat(i.status()).isEqualTo("OPEN");
}
assertThat(serverIssues).hasSize(17);
-
+
// change quality profile
restoreProfile("with-many-rules.xml");
orchestrator.getServer().associateProjectToQualityProfile("sample", "xoo", "with-many-rules");
-
+
// do it again, scanning nothing (all files should be unchanged)
runner = configureRunnerIssues("shared/xoo-sample",
"sonar.verbose", "true");
@@ -129,7 +129,7 @@ public class IssuesModeTest {
assertThat(result.getLogs()).contains("'One Issue Per Line' skipped because there is no related file in current project");
ItUtils.assertIssuesInJsonReport(result, 0, 0, 17);
}
-
+
// SONAR-6931
@Test
public void only_scan_changed_files_transitions() throws IOException {
@@ -144,7 +144,7 @@ public class IssuesModeTest {
assertThat(i.status()).isEqualTo("OPEN");
}
assertThat(serverIssues).hasSize(17);
-
+
// resolve 2 issues
IssueClient issueClient = orchestrator.getServer().wsClient("admin", "admin").issueClient();
issueClient.doTransition(serverIssues.get(0).key(), "wontfix");
@@ -158,7 +158,7 @@ public class IssuesModeTest {
assertThat(result.getLogs()).contains("'One Issue Per Line' skipped because there is no related file in current project");
ItUtils.assertIssuesInJsonReport(result, 0, 0, 15);
}
-
+
// SONAR-6931
@Test
public void only_scan_changed_files_on_change() throws IOException {
@@ -168,11 +168,11 @@ public class IssuesModeTest {
SonarRunner runner = configureRunner("shared/xoo-sample", "sonar.verbose", "true");
BuildResult result = orchestrator.executeBuild(runner);
-
+
// change QP
restoreProfile("with-many-rules.xml");
orchestrator.getServer().associateProjectToQualityProfile("sample", "xoo", "with-many-rules");
-
+
// now change file hash in a temporary location
File tmpProjectDir = temp.newFolder();
FileUtils.copyDirectory(ItUtils.projectDir("shared/xoo-sample"), tmpProjectDir);
@@ -192,7 +192,7 @@ public class IssuesModeTest {
assertThat(result.getLogs()).doesNotContain("'One Issue Per Line' skipped because there is no related file in current project");
ItUtils.assertIssuesInJsonReport(result, 3, 0, 17);
}
-
+
@Test
public void non_associated_mode() throws IOException {
restoreProfile("one-issue-per-line.xml");
@@ -299,8 +299,8 @@ public class IssuesModeTest {
orchestrator.executeBuild(runner);
// Second run issues mode
- runner = configureRunnerIssues("shared/xoo-sample",
- "sonar.report.export.path", "sonar-report.json",
+ runner = configureRunnerIssues("shared/xoo-sample",
+ "sonar.report.export.path", "sonar-report.json",
"sonar.scanAllFiles", "true");
result = orchestrator.executeBuild(runner);
@@ -331,7 +331,7 @@ public class IssuesModeTest {
restoreProfile("/one-issue-per-line.xml");
// Second issues mode
- runner = configureRunnerIssues("shared/xoo-sample",
+ runner = configureRunnerIssues("shared/xoo-sample",
"sonar.report.export.path", "sonar-report.json",
"sonar.scanAllFiles", "true");
result = orchestrator.executeBuild(runner);
diff --git a/it/it-tests/src/test/resources/analysis/IssueJsonReportTest/multiline.xml b/it/it-tests/src/test/resources/analysis/IssueJsonReportTest/multiline.xml
new file mode 100644
index 00000000000..778866e91c2
--- /dev/null
+++ b/it/it-tests/src/test/resources/analysis/IssueJsonReportTest/multiline.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?><!-- Generated by Sonar -->
+<profile>
+ <name>multiline</name>
+ <language>xoo</language>
+ <rules>
+ <rule>
+ <repositoryKey>xoo</repositoryKey>
+ <key>MultilineIssue</key>
+ <priority>MAJOR</priority>
+ </rule>
+ </rules>
+</profile>
diff --git a/it/it-tests/src/test/resources/analysis/IssueJsonReportTest/no-server-analysis.json b/it/it-tests/src/test/resources/analysis/IssueJsonReportTest/no-server-analysis.json
index 3b632a14ba0..4e1b18df6ee 100644
--- a/it/it-tests/src/test/resources/analysis/IssueJsonReportTest/no-server-analysis.json
+++ b/it/it-tests/src/test/resources/analysis/IssueJsonReportTest/no-server-analysis.json
@@ -1,174 +1,212 @@
{
- "version": "<SONAR_VERSION>",
+ "components": [
+ {
+ "key": "sample"
+ },
+ {
+ "key": "sample:src/main/xoo/sample/Sample.xoo",
+ "moduleKey": "sample",
+ "path": "src/main/xoo/sample/Sample.xoo",
+ "status": "ADDED"
+ },
+ {
+ "key": "sample:src/main/xoo/sample",
+ "moduleKey": "sample",
+ "path": "src/main/xoo/sample"
+ }
+ ],
"issues": [
{
- "key": "<ISSUE_KEY>",
"component": "sample:src/main/xoo/sample/Sample.xoo",
- "line": 6,
+ "creationDate": "2013-05-02T00:00:00+0200",
+ "endLine": 2,
+ "endOffset": 0,
+ "isNew": true,
+ "key": "<ISSUE_KEY>",
"message": "This issue is generated on each line",
- "severity": "MAJOR",
"rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": true,
- "creationDate": "2013-05-02T00:00:00+0200"
+ "severity": "MAJOR",
+ "startLine": 2,
+ "startOffset": 0,
+ "status": "OPEN"
},
{
- "key": "<ISSUE_KEY>",
"component": "sample:src/main/xoo/sample/Sample.xoo",
- "line": 5,
+ "creationDate": "2013-05-02T00:00:00+0200",
+ "endLine": 6,
+ "endOffset": 14,
+ "isNew": true,
+ "key": "<ISSUE_KEY>",
"message": "This issue is generated on each line",
- "severity": "MAJOR",
"rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": true,
- "creationDate": "2013-05-02T00:00:00+0200"
+ "severity": "MAJOR",
+ "startLine": 6,
+ "startOffset": 0,
+ "status": "OPEN"
},
{
- "key": "<ISSUE_KEY>",
"component": "sample:src/main/xoo/sample/Sample.xoo",
- "line": 13,
+ "creationDate": "2013-05-02T00:00:00+0200",
+ "endLine": 1,
+ "endOffset": 15,
+ "isNew": true,
+ "key": "<ISSUE_KEY>",
"message": "This issue is generated on each line",
- "severity": "MAJOR",
"rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": true,
- "creationDate": "2013-05-02T00:00:00+0200"
+ "severity": "MAJOR",
+ "startLine": 1,
+ "startOffset": 0,
+ "status": "OPEN"
},
{
- "key": "<ISSUE_KEY>",
"component": "sample:src/main/xoo/sample/Sample.xoo",
- "line": 1,
+ "creationDate": "2013-05-02T00:00:00+0200",
+ "endLine": 5,
+ "endOffset": 23,
+ "isNew": true,
+ "key": "<ISSUE_KEY>",
"message": "This issue is generated on each line",
- "severity": "MAJOR",
"rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": true,
- "creationDate": "2013-05-02T00:00:00+0200"
+ "severity": "MAJOR",
+ "startLine": 5,
+ "startOffset": 0,
+ "status": "OPEN"
},
{
- "key": "<ISSUE_KEY>",
"component": "sample:src/main/xoo/sample/Sample.xoo",
- "line": 3,
+ "creationDate": "2013-05-02T00:00:00+0200",
+ "endLine": 8,
+ "endOffset": 1,
+ "isNew": true,
+ "key": "<ISSUE_KEY>",
"message": "This issue is generated on each line",
- "severity": "MAJOR",
"rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": true,
- "creationDate": "2013-05-02T00:00:00+0200"
+ "severity": "MAJOR",
+ "startLine": 8,
+ "startOffset": 0,
+ "status": "OPEN"
},
{
- "key": "<ISSUE_KEY>",
"component": "sample:src/main/xoo/sample/Sample.xoo",
- "line": 4,
+ "creationDate": "2013-05-02T00:00:00+0200",
+ "endLine": 9,
+ "endOffset": 28,
+ "isNew": true,
+ "key": "<ISSUE_KEY>",
"message": "This issue is generated on each line",
- "severity": "MAJOR",
"rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": true,
- "creationDate": "2013-05-02T00:00:00+0200"
+ "severity": "MAJOR",
+ "startLine": 9,
+ "startOffset": 0,
+ "status": "OPEN"
},
{
- "key": "<ISSUE_KEY>",
"component": "sample:src/main/xoo/sample/Sample.xoo",
- "line": 12,
+ "creationDate": "2013-05-02T00:00:00+0200",
+ "endLine": 7,
+ "endOffset": 2,
+ "isNew": true,
+ "key": "<ISSUE_KEY>",
"message": "This issue is generated on each line",
- "severity": "MAJOR",
"rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": true,
- "creationDate": "2013-05-02T00:00:00+0200"
+ "severity": "MAJOR",
+ "startLine": 7,
+ "startOffset": 0,
+ "status": "OPEN"
},
{
- "key": "<ISSUE_KEY>",
"component": "sample:src/main/xoo/sample/Sample.xoo",
- "line": 10,
+ "creationDate": "2013-05-02T00:00:00+0200",
+ "endLine": 4,
+ "endOffset": 1,
+ "isNew": true,
+ "key": "<ISSUE_KEY>",
"message": "This issue is generated on each line",
- "severity": "MAJOR",
"rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": true,
- "creationDate": "2013-05-02T00:00:00+0200"
+ "severity": "MAJOR",
+ "startLine": 4,
+ "startOffset": 0,
+ "status": "OPEN"
},
{
- "key": "<ISSUE_KEY>",
"component": "sample:src/main/xoo/sample/Sample.xoo",
- "line": 2,
+ "creationDate": "2013-05-02T00:00:00+0200",
+ "endLine": 11,
+ "endOffset": 2,
+ "isNew": true,
+ "key": "<ISSUE_KEY>",
"message": "This issue is generated on each line",
- "severity": "MAJOR",
"rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": true,
- "creationDate": "2013-05-02T00:00:00+0200"
+ "severity": "MAJOR",
+ "startLine": 11,
+ "startOffset": 0,
+ "status": "OPEN"
},
{
- "key": "<ISSUE_KEY>",
"component": "sample:src/main/xoo/sample/Sample.xoo",
- "line": 9,
+ "creationDate": "2013-05-02T00:00:00+0200",
+ "endLine": 3,
+ "endOffset": 21,
+ "isNew": true,
+ "key": "<ISSUE_KEY>",
"message": "This issue is generated on each line",
- "severity": "MAJOR",
"rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": true,
- "creationDate": "2013-05-02T00:00:00+0200"
+ "severity": "MAJOR",
+ "startLine": 3,
+ "startOffset": 0,
+ "status": "OPEN"
},
{
- "key": "<ISSUE_KEY>",
"component": "sample:src/main/xoo/sample/Sample.xoo",
- "line": 11,
+ "creationDate": "2013-05-02T00:00:00+0200",
+ "endLine": 13,
+ "endOffset": 0,
+ "isNew": true,
+ "key": "<ISSUE_KEY>",
"message": "This issue is generated on each line",
- "severity": "MAJOR",
"rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": true,
- "creationDate": "2013-05-02T00:00:00+0200"
+ "severity": "MAJOR",
+ "startLine": 13,
+ "startOffset": 0,
+ "status": "OPEN"
},
{
- "key": "<ISSUE_KEY>",
"component": "sample:src/main/xoo/sample/Sample.xoo",
- "line": 7,
+ "creationDate": "2013-05-02T00:00:00+0200",
+ "endLine": 12,
+ "endOffset": 1,
+ "isNew": true,
+ "key": "<ISSUE_KEY>",
"message": "This issue is generated on each line",
- "severity": "MAJOR",
"rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": true,
- "creationDate": "2013-05-02T00:00:00+0200"
+ "severity": "MAJOR",
+ "startLine": 12,
+ "startOffset": 0,
+ "status": "OPEN"
},
{
- "key": "<ISSUE_KEY>",
"component": "sample:src/main/xoo/sample/Sample.xoo",
- "line": 8,
+ "creationDate": "2013-05-02T00:00:00+0200",
+ "endLine": 10,
+ "endOffset": 17,
+ "isNew": true,
+ "key": "<ISSUE_KEY>",
"message": "This issue is generated on each line",
- "severity": "MAJOR",
"rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": true,
- "creationDate": "2013-05-02T00:00:00+0200"
- }
- ],
- "components": [
- {
- "key": "sample"
- },
- {
- "key": "sample:src/main/xoo/sample",
- "path": "src/main/xoo/sample",
- "moduleKey": "sample"
- },
- {
- "key": "sample:src/main/xoo/sample/Sample.xoo",
- "path": "src/main/xoo/sample/Sample.xoo",
- "moduleKey": "sample",
- "status": "ADDED"
+ "severity": "MAJOR",
+ "startLine": 10,
+ "startOffset": 0,
+ "status": "OPEN"
}
],
"rules": [
{
"key": "xoo:OneIssuePerLine",
- "rule": "OneIssuePerLine",
+ "name": "One Issue Per Line",
"repository": "xoo",
- "name": "One Issue Per Line"
+ "rule": "OneIssuePerLine"
}
],
- "users": [ ]
-
+ "users": [],
+ "version": "<SONAR_VERSION>"
}
diff --git a/it/it-tests/src/test/resources/analysis/IssueJsonReportTest/report-on-root-module.json b/it/it-tests/src/test/resources/analysis/IssueJsonReportTest/report-on-root-module.json
index 53d0bc52c20..ad3c0218cdb 100644
--- a/it/it-tests/src/test/resources/analysis/IssueJsonReportTest/report-on-root-module.json
+++ b/it/it-tests/src/test/resources/analysis/IssueJsonReportTest/report-on-root-module.json
@@ -1,758 +1,880 @@
{
- "version": "5.2-SNAPSHOT",
- "issues": [
- {
- "key": "<ISSUE_KEY>",
- "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1:src/main/xoo/com/sonar/it/samples/modules/a1/HelloA1.xoo",
- "line": 4,
- "message": "This issue is generated on each line",
- "severity": "MAJOR",
- "rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": false,
- "creationDate": "2013-05-01T00:00:00+0200"
- },
- {
- "key": "<ISSUE_KEY>",
- "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1:src/main/xoo/com/sonar/it/samples/modules/a1/HelloA1.xoo",
- "line": 11,
- "message": "This issue is generated on each line",
- "severity": "MAJOR",
- "rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": false,
- "creationDate": "2013-05-01T00:00:00+0200"
- },
- {
- "key": "<ISSUE_KEY>",
- "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1:src/main/xoo/com/sonar/it/samples/modules/a1/HelloA1.xoo",
- "line": 2,
- "message": "This issue is generated on each line",
- "severity": "MAJOR",
- "rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": false,
- "creationDate": "2013-05-01T00:00:00+0200"
- },
- {
- "key": "<ISSUE_KEY>",
- "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1:src/main/xoo/com/sonar/it/samples/modules/a1/HelloA1.xoo",
- "line": 5,
- "message": "This issue is generated on each line",
- "severity": "MAJOR",
- "rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": false,
- "creationDate": "2013-05-01T00:00:00+0200"
- },
- {
- "key": "<ISSUE_KEY>",
- "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1:src/main/xoo/com/sonar/it/samples/modules/a1/HelloA1.xoo",
- "line": 1,
- "message": "This issue is generated on each line",
- "severity": "MAJOR",
- "rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": false,
- "creationDate": "2013-05-01T00:00:00+0200"
- },
- {
- "key": "<ISSUE_KEY>",
- "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1:src/main/xoo/com/sonar/it/samples/modules/a1/HelloA1.xoo",
- "line": 15,
- "message": "This issue is generated on each line",
- "severity": "MAJOR",
- "rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": false,
- "creationDate": "2013-05-01T00:00:00+0200"
- },
- {
- "key": "<ISSUE_KEY>",
- "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1:src/main/xoo/com/sonar/it/samples/modules/a1/HelloA1.xoo",
- "line": 16,
- "message": "This issue is generated on each line",
- "severity": "MAJOR",
- "rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": false,
- "creationDate": "2013-05-01T00:00:00+0200"
- },
- {
- "key": "<ISSUE_KEY>",
- "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1:src/main/xoo/com/sonar/it/samples/modules/a1/HelloA1.xoo",
- "line": 13,
- "message": "This issue is generated on each line",
- "severity": "MAJOR",
- "rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": false,
- "creationDate": "2013-05-01T00:00:00+0200"
- },
- {
- "key": "<ISSUE_KEY>",
- "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1:src/main/xoo/com/sonar/it/samples/modules/a1/HelloA1.xoo",
- "line": 9,
- "message": "This issue is generated on each line",
- "severity": "MAJOR",
- "rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": false,
- "creationDate": "2013-05-01T00:00:00+0200"
- },
- {
- "key": "<ISSUE_KEY>",
- "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1:src/main/xoo/com/sonar/it/samples/modules/a1/HelloA1.xoo",
- "line": 12,
- "message": "This issue is generated on each line",
- "severity": "MAJOR",
- "rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": false,
- "creationDate": "2013-05-01T00:00:00+0200"
- },
- {
- "key": "<ISSUE_KEY>",
- "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1:src/main/xoo/com/sonar/it/samples/modules/a1/HelloA1.xoo",
- "line": 3,
- "message": "This issue is generated on each line",
- "severity": "MAJOR",
- "rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": false,
- "creationDate": "2013-05-01T00:00:00+0200"
- },
- {
- "key": "<ISSUE_KEY>",
- "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1:src/main/xoo/com/sonar/it/samples/modules/a1/HelloA1.xoo",
- "line": 8,
- "message": "This issue is generated on each line",
- "severity": "MAJOR",
- "rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": false,
- "creationDate": "2013-05-01T00:00:00+0200"
- },
- {
- "key": "<ISSUE_KEY>",
- "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1:src/main/xoo/com/sonar/it/samples/modules/a1/HelloA1.xoo",
- "line": 14,
- "message": "This issue is generated on each line",
- "severity": "MAJOR",
- "rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": false,
- "creationDate": "2013-05-01T00:00:00+0200"
- },
- {
- "key": "<ISSUE_KEY>",
- "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1:src/main/xoo/com/sonar/it/samples/modules/a1/HelloA1.xoo",
- "line": 6,
- "message": "This issue is generated on each line",
- "severity": "MAJOR",
- "rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": false,
- "creationDate": "2013-05-01T00:00:00+0200"
- },
- {
- "key": "<ISSUE_KEY>",
- "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1:src/main/xoo/com/sonar/it/samples/modules/a1/HelloA1.xoo",
- "line": 10,
- "message": "This issue is generated on each line",
- "severity": "MAJOR",
- "rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": false,
- "creationDate": "2013-05-01T00:00:00+0200"
- },
- {
- "key": "<ISSUE_KEY>",
- "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1:src/main/xoo/com/sonar/it/samples/modules/a1/HelloA1.xoo",
- "line": 7,
- "message": "This issue is generated on each line",
- "severity": "MAJOR",
- "rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": false,
- "creationDate": "2013-05-01T00:00:00+0200"
- },
- {
- "key": "<ISSUE_KEY>",
- "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a2:src/main/xoo/com/sonar/it/samples/modules/a2/HelloA2.xoo",
- "line": 2,
- "message": "This issue is generated on each line",
- "severity": "MAJOR",
- "rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": false,
- "creationDate": "2013-05-01T00:00:00+0200"
- },
- {
- "key": "<ISSUE_KEY>",
- "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a2:src/main/xoo/com/sonar/it/samples/modules/a2/HelloA2.xoo",
- "line": 12,
- "message": "This issue is generated on each line",
- "severity": "MAJOR",
- "rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": false,
- "creationDate": "2013-05-01T00:00:00+0200"
- },
- {
- "key": "<ISSUE_KEY>",
- "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a2:src/main/xoo/com/sonar/it/samples/modules/a2/HelloA2.xoo",
- "line": 8,
- "message": "This issue is generated on each line",
- "severity": "MAJOR",
- "rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": false,
- "creationDate": "2013-05-01T00:00:00+0200"
- },
- {
- "key": "<ISSUE_KEY>",
- "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a2:src/main/xoo/com/sonar/it/samples/modules/a2/HelloA2.xoo",
- "line": 17,
- "message": "This issue is generated on each line",
- "severity": "MAJOR",
- "rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": false,
- "creationDate": "2013-05-01T00:00:00+0200"
- },
- {
- "key": "<ISSUE_KEY>",
- "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a2:src/main/xoo/com/sonar/it/samples/modules/a2/HelloA2.xoo",
- "line": 19,
- "message": "This issue is generated on each line",
- "severity": "MAJOR",
- "rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": false,
- "creationDate": "2013-05-01T00:00:00+0200"
- },
- {
- "key": "<ISSUE_KEY>",
- "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a2:src/main/xoo/com/sonar/it/samples/modules/a2/HelloA2.xoo",
- "line": 4,
- "message": "This issue is generated on each line",
- "severity": "MAJOR",
- "rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": false,
- "creationDate": "2013-05-01T00:00:00+0200"
- },
- {
- "key": "<ISSUE_KEY>",
- "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a2:src/main/xoo/com/sonar/it/samples/modules/a2/HelloA2.xoo",
- "line": 3,
- "message": "This issue is generated on each line",
- "severity": "MAJOR",
- "rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": false,
- "creationDate": "2013-05-01T00:00:00+0200"
- },
- {
- "key": "<ISSUE_KEY>",
- "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a2:src/main/xoo/com/sonar/it/samples/modules/a2/HelloA2.xoo",
- "line": 21,
- "message": "This issue is generated on each line",
- "severity": "MAJOR",
- "rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": false,
- "creationDate": "2013-05-01T00:00:00+0200"
- },
- {
- "key": "<ISSUE_KEY>",
- "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a2:src/main/xoo/com/sonar/it/samples/modules/a2/HelloA2.xoo",
- "line": 6,
- "message": "This issue is generated on each line",
- "severity": "MAJOR",
- "rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": false,
- "creationDate": "2013-05-01T00:00:00+0200"
- },
- {
- "key": "<ISSUE_KEY>",
- "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a2:src/main/xoo/com/sonar/it/samples/modules/a2/HelloA2.xoo",
- "line": 9,
- "message": "This issue is generated on each line",
- "severity": "MAJOR",
- "rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": false,
- "creationDate": "2013-05-01T00:00:00+0200"
- },
- {
- "key": "<ISSUE_KEY>",
- "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a2:src/main/xoo/com/sonar/it/samples/modules/a2/HelloA2.xoo",
- "line": 18,
- "message": "This issue is generated on each line",
- "severity": "MAJOR",
- "rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": false,
- "creationDate": "2013-05-01T00:00:00+0200"
- },
- {
- "key": "<ISSUE_KEY>",
- "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a2:src/main/xoo/com/sonar/it/samples/modules/a2/HelloA2.xoo",
- "line": 5,
- "message": "This issue is generated on each line",
- "severity": "MAJOR",
- "rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": false,
- "creationDate": "2013-05-01T00:00:00+0200"
- },
- {
- "key": "<ISSUE_KEY>",
- "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a2:src/main/xoo/com/sonar/it/samples/modules/a2/HelloA2.xoo",
- "line": 20,
- "message": "This issue is generated on each line",
- "severity": "MAJOR",
- "rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": false,
- "creationDate": "2013-05-01T00:00:00+0200"
- },
- {
- "key": "<ISSUE_KEY>",
- "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a2:src/main/xoo/com/sonar/it/samples/modules/a2/HelloA2.xoo",
- "line": 15,
- "message": "This issue is generated on each line",
- "severity": "MAJOR",
- "rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": false,
- "creationDate": "2013-05-01T00:00:00+0200"
- },
- {
- "key": "<ISSUE_KEY>",
- "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a2:src/main/xoo/com/sonar/it/samples/modules/a2/HelloA2.xoo",
- "line": 7,
- "message": "This issue is generated on each line",
- "severity": "MAJOR",
- "rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": false,
- "creationDate": "2013-05-01T00:00:00+0200"
- },
- {
- "key": "<ISSUE_KEY>",
- "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a2:src/main/xoo/com/sonar/it/samples/modules/a2/HelloA2.xoo",
- "line": 16,
- "message": "This issue is generated on each line",
- "severity": "MAJOR",
- "rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": false,
- "creationDate": "2013-05-01T00:00:00+0200"
- },
- {
- "key": "<ISSUE_KEY>",
- "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a2:src/main/xoo/com/sonar/it/samples/modules/a2/HelloA2.xoo",
- "line": 13,
- "message": "This issue is generated on each line",
- "severity": "MAJOR",
- "rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": false,
- "creationDate": "2013-05-01T00:00:00+0200"
- },
- {
- "key": "<ISSUE_KEY>",
- "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a2:src/main/xoo/com/sonar/it/samples/modules/a2/HelloA2.xoo",
- "line": 10,
- "message": "This issue is generated on each line",
- "severity": "MAJOR",
- "rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": false,
- "creationDate": "2013-05-01T00:00:00+0200"
- },
- {
- "key": "<ISSUE_KEY>",
- "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a2:src/main/xoo/com/sonar/it/samples/modules/a2/HelloA2.xoo",
- "line": 1,
- "message": "This issue is generated on each line",
- "severity": "MAJOR",
- "rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": false,
- "creationDate": "2013-05-01T00:00:00+0200"
- },
- {
- "key": "<ISSUE_KEY>",
- "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a2:src/main/xoo/com/sonar/it/samples/modules/a2/HelloA2.xoo",
- "line": 14,
- "message": "This issue is generated on each line",
- "severity": "MAJOR",
- "rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": false,
- "creationDate": "2013-05-01T00:00:00+0200"
- },
- {
- "key": "<ISSUE_KEY>",
- "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a2:src/main/xoo/com/sonar/it/samples/modules/a2/HelloA2.xoo",
- "line": 11,
- "message": "This issue is generated on each line",
- "severity": "MAJOR",
- "rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": false,
- "creationDate": "2013-05-01T00:00:00+0200"
- },
- {
- "key": "<ISSUE_KEY>",
- "component": "com.sonarsource.it.samples:multi-modules-sample:module_b:module_b1:src/main/xoo/com/sonar/it/samples/modules/b1/HelloB1.xoo",
- "line": 9,
- "message": "This issue is generated on each line",
- "severity": "MAJOR",
- "rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": false,
- "creationDate": "2013-05-01T00:00:00+0200"
- },
- {
- "key": "<ISSUE_KEY>",
- "component": "com.sonarsource.it.samples:multi-modules-sample:module_b:module_b1:src/main/xoo/com/sonar/it/samples/modules/b1/HelloB1.xoo",
- "line": 10,
- "message": "This issue is generated on each line",
- "severity": "MAJOR",
- "rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": false,
- "creationDate": "2013-05-01T00:00:00+0200"
- },
- {
- "key": "<ISSUE_KEY>",
- "component": "com.sonarsource.it.samples:multi-modules-sample:module_b:module_b1:src/main/xoo/com/sonar/it/samples/modules/b1/HelloB1.xoo",
- "line": 2,
- "message": "This issue is generated on each line",
- "severity": "MAJOR",
- "rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": false,
- "creationDate": "2013-05-01T00:00:00+0200"
- },
- {
- "key": "<ISSUE_KEY>",
- "component": "com.sonarsource.it.samples:multi-modules-sample:module_b:module_b1:src/main/xoo/com/sonar/it/samples/modules/b1/HelloB1.xoo",
- "line": 1,
- "message": "This issue is generated on each line",
- "severity": "MAJOR",
- "rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": false,
- "creationDate": "2013-05-01T00:00:00+0200"
- },
- {
- "key": "<ISSUE_KEY>",
- "component": "com.sonarsource.it.samples:multi-modules-sample:module_b:module_b1:src/main/xoo/com/sonar/it/samples/modules/b1/HelloB1.xoo",
- "line": 8,
- "message": "This issue is generated on each line",
- "severity": "MAJOR",
- "rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": false,
- "creationDate": "2013-05-01T00:00:00+0200"
- },
- {
- "key": "<ISSUE_KEY>",
- "component": "com.sonarsource.it.samples:multi-modules-sample:module_b:module_b1:src/main/xoo/com/sonar/it/samples/modules/b1/HelloB1.xoo",
- "line": 5,
- "message": "This issue is generated on each line",
- "severity": "MAJOR",
- "rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": false,
- "creationDate": "2013-05-01T00:00:00+0200"
- },
- {
- "key": "<ISSUE_KEY>",
- "component": "com.sonarsource.it.samples:multi-modules-sample:module_b:module_b1:src/main/xoo/com/sonar/it/samples/modules/b1/HelloB1.xoo",
- "line": 7,
- "message": "This issue is generated on each line",
- "severity": "MAJOR",
- "rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": false,
- "creationDate": "2013-05-01T00:00:00+0200"
- },
- {
- "key": "<ISSUE_KEY>",
- "component": "com.sonarsource.it.samples:multi-modules-sample:module_b:module_b1:src/main/xoo/com/sonar/it/samples/modules/b1/HelloB1.xoo",
- "line": 3,
- "message": "This issue is generated on each line",
- "severity": "MAJOR",
- "rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": false,
- "creationDate": "2013-05-01T00:00:00+0200"
- },
- {
- "key": "<ISSUE_KEY>",
- "component": "com.sonarsource.it.samples:multi-modules-sample:module_b:module_b1:src/main/xoo/com/sonar/it/samples/modules/b1/HelloB1.xoo",
- "line": 4,
- "message": "This issue is generated on each line",
- "severity": "MAJOR",
- "rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": false,
- "creationDate": "2013-05-01T00:00:00+0200"
- },
- {
- "key": "<ISSUE_KEY>",
- "component": "com.sonarsource.it.samples:multi-modules-sample:module_b:module_b1:src/main/xoo/com/sonar/it/samples/modules/b1/HelloB1.xoo",
- "line": 6,
- "message": "This issue is generated on each line",
- "severity": "MAJOR",
- "rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": false,
- "creationDate": "2013-05-01T00:00:00+0200"
- },
- {
- "key": "<ISSUE_KEY>",
- "component": "com.sonarsource.it.samples:multi-modules-sample:module_b:module_b1:src/main/xoo/com/sonar/it/samples/modules/b1/HelloB1.xoo",
- "line": 12,
- "message": "This issue is generated on each line",
- "severity": "MAJOR",
- "rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": false,
- "creationDate": "2013-05-01T00:00:00+0200"
- },
- {
- "key": "<ISSUE_KEY>",
- "component": "com.sonarsource.it.samples:multi-modules-sample:module_b:module_b1:src/main/xoo/com/sonar/it/samples/modules/b1/HelloB1.xoo",
- "line": 11,
- "message": "This issue is generated on each line",
- "severity": "MAJOR",
- "rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": false,
- "creationDate": "2013-05-01T00:00:00+0200"
- },
- {
- "key": "<ISSUE_KEY>",
- "component": "com.sonarsource.it.samples:multi-modules-sample:module_b:module_b2:src/main/xoo/com/sonar/it/samples/modules/b2/HelloB2.xoo",
- "line": 12,
- "message": "This issue is generated on each line",
- "severity": "MAJOR",
- "rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": false,
- "creationDate": "2013-05-01T00:00:00+0200"
- },
- {
- "key": "<ISSUE_KEY>",
- "component": "com.sonarsource.it.samples:multi-modules-sample:module_b:module_b2:src/main/xoo/com/sonar/it/samples/modules/b2/HelloB2.xoo",
- "line": 5,
- "message": "This issue is generated on each line",
- "severity": "MAJOR",
- "rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": false,
- "creationDate": "2013-05-01T00:00:00+0200"
- },
- {
- "key": "<ISSUE_KEY>",
- "component": "com.sonarsource.it.samples:multi-modules-sample:module_b:module_b2:src/main/xoo/com/sonar/it/samples/modules/b2/HelloB2.xoo",
- "line": 4,
- "message": "This issue is generated on each line",
- "severity": "MAJOR",
- "rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": false,
- "creationDate": "2013-05-01T00:00:00+0200"
- },
- {
- "key": "<ISSUE_KEY>",
- "component": "com.sonarsource.it.samples:multi-modules-sample:module_b:module_b2:src/main/xoo/com/sonar/it/samples/modules/b2/HelloB2.xoo",
- "line": 1,
- "message": "This issue is generated on each line",
- "severity": "MAJOR",
- "rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": false,
- "creationDate": "2013-05-01T00:00:00+0200"
- },
- {
- "key": "<ISSUE_KEY>",
- "component": "com.sonarsource.it.samples:multi-modules-sample:module_b:module_b2:src/main/xoo/com/sonar/it/samples/modules/b2/HelloB2.xoo",
- "line": 8,
- "message": "This issue is generated on each line",
- "severity": "MAJOR",
- "rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": false,
- "creationDate": "2013-05-01T00:00:00+0200"
- },
- {
- "key": "<ISSUE_KEY>",
- "component": "com.sonarsource.it.samples:multi-modules-sample:module_b:module_b2:src/main/xoo/com/sonar/it/samples/modules/b2/HelloB2.xoo",
- "line": 3,
- "message": "This issue is generated on each line",
- "severity": "MAJOR",
- "rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": false,
- "creationDate": "2013-05-01T00:00:00+0200"
- },
- {
- "key": "<ISSUE_KEY>",
- "component": "com.sonarsource.it.samples:multi-modules-sample:module_b:module_b2:src/main/xoo/com/sonar/it/samples/modules/b2/HelloB2.xoo",
- "line": 10,
- "message": "This issue is generated on each line",
- "severity": "MAJOR",
- "rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": false,
- "creationDate": "2013-05-01T00:00:00+0200"
- },
- {
- "key": "<ISSUE_KEY>",
- "component": "com.sonarsource.it.samples:multi-modules-sample:module_b:module_b2:src/main/xoo/com/sonar/it/samples/modules/b2/HelloB2.xoo",
- "line": 6,
- "message": "This issue is generated on each line",
- "severity": "MAJOR",
- "rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": false,
- "creationDate": "2013-05-01T00:00:00+0200"
- },
- {
- "key": "<ISSUE_KEY>",
- "component": "com.sonarsource.it.samples:multi-modules-sample:module_b:module_b2:src/main/xoo/com/sonar/it/samples/modules/b2/HelloB2.xoo",
- "line": 7,
- "message": "This issue is generated on each line",
- "severity": "MAJOR",
- "rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": false,
- "creationDate": "2013-05-01T00:00:00+0200"
- },
- {
- "key": "<ISSUE_KEY>",
- "component": "com.sonarsource.it.samples:multi-modules-sample:module_b:module_b2:src/main/xoo/com/sonar/it/samples/modules/b2/HelloB2.xoo",
- "line": 11,
- "message": "This issue is generated on each line",
- "severity": "MAJOR",
- "rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": false,
- "creationDate": "2013-05-01T00:00:00+0200"
- },
- {
- "key": "<ISSUE_KEY>",
- "component": "com.sonarsource.it.samples:multi-modules-sample:module_b:module_b2:src/main/xoo/com/sonar/it/samples/modules/b2/HelloB2.xoo",
- "line": 2,
- "message": "This issue is generated on each line",
- "severity": "MAJOR",
- "rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": false,
- "creationDate": "2013-05-01T00:00:00+0200"
- },
- {
- "key": "<ISSUE_KEY>",
- "component": "com.sonarsource.it.samples:multi-modules-sample:module_b:module_b2:src/main/xoo/com/sonar/it/samples/modules/b2/HelloB2.xoo",
- "line": 9,
- "message": "This issue is generated on each line",
- "severity": "MAJOR",
- "rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": false,
- "creationDate": "2013-05-01T00:00:00+0200"
- }
- ],
- "components": [
- {
- "key": "com.sonarsource.it.samples:multi-modules-sample"
- },
- {
- "key": "com.sonarsource.it.samples:multi-modules-sample:module_a",
- "path": "module_a"
- },
- {
- "key": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1",
- "path": "module_a1"
- },
- {
- "key": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a2",
- "path": "module_a2"
- },
- {
- "key": "com.sonarsource.it.samples:multi-modules-sample:module_b",
- "path": "module_b"
- },
- {
- "key": "com.sonarsource.it.samples:multi-modules-sample:module_b:module_b1",
- "path": "module_b1"
- },
- {
- "key": "com.sonarsource.it.samples:multi-modules-sample:module_b:module_b2",
- "path": "module_b2"
- },
- {
- "key": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1:src/main/xoo/com/sonar/it/samples/modules/a1/HelloA1.xoo",
- "path": "src/main/xoo/com/sonar/it/samples/modules/a1/HelloA1.xoo",
- "moduleKey": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1",
- "status": "SAME"
- },
- {
- "key": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a2:src/main/xoo/com/sonar/it/samples/modules/a2/HelloA2.xoo",
- "path": "src/main/xoo/com/sonar/it/samples/modules/a2/HelloA2.xoo",
- "moduleKey": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a2",
- "status": "SAME"
- },
- {
- "key": "com.sonarsource.it.samples:multi-modules-sample:module_b:module_b1:src/main/xoo/com/sonar/it/samples/modules/b1/HelloB1.xoo",
- "path": "src/main/xoo/com/sonar/it/samples/modules/b1/HelloB1.xoo",
- "moduleKey": "com.sonarsource.it.samples:multi-modules-sample:module_b:module_b1",
- "status": "SAME"
- },
- {
- "key": "com.sonarsource.it.samples:multi-modules-sample:module_b:module_b2:src/main/xoo/com/sonar/it/samples/modules/b2/HelloB2.xoo",
- "path": "src/main/xoo/com/sonar/it/samples/modules/b2/HelloB2.xoo",
- "moduleKey": "com.sonarsource.it.samples:multi-modules-sample:module_b:module_b2",
- "status": "SAME"
- },
- {
- "key": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1:src/main/xoo/com/sonar/it/samples/modules/a1",
- "path": "src/main/xoo/com/sonar/it/samples/modules/a1",
- "moduleKey": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1"
- },
- {
- "key": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a2:src/main/xoo/com/sonar/it/samples/modules/a2",
- "path": "src/main/xoo/com/sonar/it/samples/modules/a2",
- "moduleKey": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a2"
- },
- {
- "key": "com.sonarsource.it.samples:multi-modules-sample:module_b:module_b1:src/main/xoo/com/sonar/it/samples/modules/b1",
- "path": "src/main/xoo/com/sonar/it/samples/modules/b1",
- "moduleKey": "com.sonarsource.it.samples:multi-modules-sample:module_b:module_b1"
- },
- {
- "key": "com.sonarsource.it.samples:multi-modules-sample:module_b:module_b2:src/main/xoo/com/sonar/it/samples/modules/b2",
- "path": "src/main/xoo/com/sonar/it/samples/modules/b2",
- "moduleKey": "com.sonarsource.it.samples:multi-modules-sample:module_b:module_b2"
- }
- ],
- "rules": [
- {
- "key": "xoo:OneIssuePerLine",
- "rule": "OneIssuePerLine",
- "repository": "xoo",
- "name": "One Issue Per Line"
- }
- ],
- "users": []
+ "components": [
+ {
+ "key": "com.sonarsource.it.samples:multi-modules-sample"
+ },
+ {
+ "key": "com.sonarsource.it.samples:multi-modules-sample:module_a",
+ "path": "module_a"
+ },
+ {
+ "key": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1",
+ "path": "module_a1"
+ },
+ {
+ "key": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a2",
+ "path": "module_a2"
+ },
+ {
+ "key": "com.sonarsource.it.samples:multi-modules-sample:module_b",
+ "path": "module_b"
+ },
+ {
+ "key": "com.sonarsource.it.samples:multi-modules-sample:module_b:module_b1",
+ "path": "module_b1"
+ },
+ {
+ "key": "com.sonarsource.it.samples:multi-modules-sample:module_b:module_b2",
+ "path": "module_b2"
+ },
+ {
+ "key": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1:src/main/xoo/com/sonar/it/samples/modules/a1/HelloA1.xoo",
+ "moduleKey": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1",
+ "path": "src/main/xoo/com/sonar/it/samples/modules/a1/HelloA1.xoo",
+ "status": "SAME"
+ },
+ {
+ "key": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a2:src/main/xoo/com/sonar/it/samples/modules/a2/HelloA2.xoo",
+ "moduleKey": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a2",
+ "path": "src/main/xoo/com/sonar/it/samples/modules/a2/HelloA2.xoo",
+ "status": "SAME"
+ },
+ {
+ "key": "com.sonarsource.it.samples:multi-modules-sample:module_b:module_b1:src/main/xoo/com/sonar/it/samples/modules/b1/HelloB1.xoo",
+ "moduleKey": "com.sonarsource.it.samples:multi-modules-sample:module_b:module_b1",
+ "path": "src/main/xoo/com/sonar/it/samples/modules/b1/HelloB1.xoo",
+ "status": "SAME"
+ },
+ {
+ "key": "com.sonarsource.it.samples:multi-modules-sample:module_b:module_b2:src/main/xoo/com/sonar/it/samples/modules/b2/HelloB2.xoo",
+ "moduleKey": "com.sonarsource.it.samples:multi-modules-sample:module_b:module_b2",
+ "path": "src/main/xoo/com/sonar/it/samples/modules/b2/HelloB2.xoo",
+ "status": "SAME"
+ },
+ {
+ "key": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1:src/main/xoo/com/sonar/it/samples/modules/a1",
+ "moduleKey": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1",
+ "path": "src/main/xoo/com/sonar/it/samples/modules/a1"
+ },
+ {
+ "key": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a2:src/main/xoo/com/sonar/it/samples/modules/a2",
+ "moduleKey": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a2",
+ "path": "src/main/xoo/com/sonar/it/samples/modules/a2"
+ },
+ {
+ "key": "com.sonarsource.it.samples:multi-modules-sample:module_b:module_b1:src/main/xoo/com/sonar/it/samples/modules/b1",
+ "moduleKey": "com.sonarsource.it.samples:multi-modules-sample:module_b:module_b1",
+ "path": "src/main/xoo/com/sonar/it/samples/modules/b1"
+ },
+ {
+ "key": "com.sonarsource.it.samples:multi-modules-sample:module_b:module_b2:src/main/xoo/com/sonar/it/samples/modules/b2",
+ "moduleKey": "com.sonarsource.it.samples:multi-modules-sample:module_b:module_b2",
+ "path": "src/main/xoo/com/sonar/it/samples/modules/b2"
+ }
+ ],
+ "issues": [
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1:src/main/xoo/com/sonar/it/samples/modules/a1/HelloA1.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 9,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 9,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 9,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1:src/main/xoo/com/sonar/it/samples/modules/a1/HelloA1.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 10,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 10,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 10,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1:src/main/xoo/com/sonar/it/samples/modules/a1/HelloA1.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 11,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 11,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 11,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1:src/main/xoo/com/sonar/it/samples/modules/a1/HelloA1.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 12,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 12,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 12,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1:src/main/xoo/com/sonar/it/samples/modules/a1/HelloA1.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 13,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 13,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 13,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1:src/main/xoo/com/sonar/it/samples/modules/a1/HelloA1.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 14,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 14,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 14,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1:src/main/xoo/com/sonar/it/samples/modules/a1/HelloA1.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 15,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 15,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 15,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1:src/main/xoo/com/sonar/it/samples/modules/a1/HelloA1.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 16,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 16,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 16,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1:src/main/xoo/com/sonar/it/samples/modules/a1/HelloA1.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 1,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 1,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 1,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1:src/main/xoo/com/sonar/it/samples/modules/a1/HelloA1.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 2,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 2,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 2,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1:src/main/xoo/com/sonar/it/samples/modules/a1/HelloA1.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 3,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 3,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 3,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1:src/main/xoo/com/sonar/it/samples/modules/a1/HelloA1.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 4,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 4,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 4,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1:src/main/xoo/com/sonar/it/samples/modules/a1/HelloA1.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 5,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 5,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 5,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1:src/main/xoo/com/sonar/it/samples/modules/a1/HelloA1.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 7,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 7,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 7,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1:src/main/xoo/com/sonar/it/samples/modules/a1/HelloA1.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 6,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 6,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 6,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1:src/main/xoo/com/sonar/it/samples/modules/a1/HelloA1.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 8,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 8,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 8,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a2:src/main/xoo/com/sonar/it/samples/modules/a2/HelloA2.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 1,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 1,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 1,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a2:src/main/xoo/com/sonar/it/samples/modules/a2/HelloA2.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 2,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 2,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 2,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a2:src/main/xoo/com/sonar/it/samples/modules/a2/HelloA2.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 3,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 3,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 3,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a2:src/main/xoo/com/sonar/it/samples/modules/a2/HelloA2.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 4,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 4,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 4,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a2:src/main/xoo/com/sonar/it/samples/modules/a2/HelloA2.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 5,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 5,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 5,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a2:src/main/xoo/com/sonar/it/samples/modules/a2/HelloA2.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 6,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 6,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 6,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a2:src/main/xoo/com/sonar/it/samples/modules/a2/HelloA2.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 7,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 7,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 7,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a2:src/main/xoo/com/sonar/it/samples/modules/a2/HelloA2.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 8,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 8,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 8,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a2:src/main/xoo/com/sonar/it/samples/modules/a2/HelloA2.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 9,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 9,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 9,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a2:src/main/xoo/com/sonar/it/samples/modules/a2/HelloA2.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 10,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 10,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 10,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a2:src/main/xoo/com/sonar/it/samples/modules/a2/HelloA2.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 11,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 11,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 11,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a2:src/main/xoo/com/sonar/it/samples/modules/a2/HelloA2.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 12,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 12,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 12,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a2:src/main/xoo/com/sonar/it/samples/modules/a2/HelloA2.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 13,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 13,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 13,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a2:src/main/xoo/com/sonar/it/samples/modules/a2/HelloA2.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 14,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 14,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 14,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a2:src/main/xoo/com/sonar/it/samples/modules/a2/HelloA2.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 15,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 15,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 15,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a2:src/main/xoo/com/sonar/it/samples/modules/a2/HelloA2.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 16,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 16,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 16,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a2:src/main/xoo/com/sonar/it/samples/modules/a2/HelloA2.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 17,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 17,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 17,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a2:src/main/xoo/com/sonar/it/samples/modules/a2/HelloA2.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 18,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 18,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 18,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a2:src/main/xoo/com/sonar/it/samples/modules/a2/HelloA2.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 19,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 19,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 19,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a2:src/main/xoo/com/sonar/it/samples/modules/a2/HelloA2.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 20,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 20,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 20,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a2:src/main/xoo/com/sonar/it/samples/modules/a2/HelloA2.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 21,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 21,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 21,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_b:module_b1:src/main/xoo/com/sonar/it/samples/modules/b1/HelloB1.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 1,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 1,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 1,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_b:module_b1:src/main/xoo/com/sonar/it/samples/modules/b1/HelloB1.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 2,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 2,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 2,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_b:module_b1:src/main/xoo/com/sonar/it/samples/modules/b1/HelloB1.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 3,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 3,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 3,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_b:module_b1:src/main/xoo/com/sonar/it/samples/modules/b1/HelloB1.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 4,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 4,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 4,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_b:module_b1:src/main/xoo/com/sonar/it/samples/modules/b1/HelloB1.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 5,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 5,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 5,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_b:module_b1:src/main/xoo/com/sonar/it/samples/modules/b1/HelloB1.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 6,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 6,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 6,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_b:module_b1:src/main/xoo/com/sonar/it/samples/modules/b1/HelloB1.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 7,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 7,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 7,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_b:module_b1:src/main/xoo/com/sonar/it/samples/modules/b1/HelloB1.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 8,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 8,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 8,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_b:module_b1:src/main/xoo/com/sonar/it/samples/modules/b1/HelloB1.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 9,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 9,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 9,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_b:module_b1:src/main/xoo/com/sonar/it/samples/modules/b1/HelloB1.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 10,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 10,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 10,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_b:module_b1:src/main/xoo/com/sonar/it/samples/modules/b1/HelloB1.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 11,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 11,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 11,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_b:module_b1:src/main/xoo/com/sonar/it/samples/modules/b1/HelloB1.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 12,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 12,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 12,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_b:module_b2:src/main/xoo/com/sonar/it/samples/modules/b2/HelloB2.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 1,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 1,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 1,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_b:module_b2:src/main/xoo/com/sonar/it/samples/modules/b2/HelloB2.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 2,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 2,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 2,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_b:module_b2:src/main/xoo/com/sonar/it/samples/modules/b2/HelloB2.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 3,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 3,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 3,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_b:module_b2:src/main/xoo/com/sonar/it/samples/modules/b2/HelloB2.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 4,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 4,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 4,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_b:module_b2:src/main/xoo/com/sonar/it/samples/modules/b2/HelloB2.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 5,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 5,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 5,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_b:module_b2:src/main/xoo/com/sonar/it/samples/modules/b2/HelloB2.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 6,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 6,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 6,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_b:module_b2:src/main/xoo/com/sonar/it/samples/modules/b2/HelloB2.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 7,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 7,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 7,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_b:module_b2:src/main/xoo/com/sonar/it/samples/modules/b2/HelloB2.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 8,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 8,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 8,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_b:module_b2:src/main/xoo/com/sonar/it/samples/modules/b2/HelloB2.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 9,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 9,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 9,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_b:module_b2:src/main/xoo/com/sonar/it/samples/modules/b2/HelloB2.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 10,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 10,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 10,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_b:module_b2:src/main/xoo/com/sonar/it/samples/modules/b2/HelloB2.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 12,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 12,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 12,
+ "status": "OPEN"
+ },
+ {
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_b:module_b2:src/main/xoo/com/sonar/it/samples/modules/b2/HelloB2.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 11,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 11,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 11,
+ "status": "OPEN"
+ }
+ ],
+ "rules": [
+ {
+ "key": "xoo:OneIssuePerLine",
+ "name": "One Issue Per Line",
+ "repository": "xoo",
+ "rule": "OneIssuePerLine"
+ }
+ ],
+ "users": [],
+ "version": "<SONAR_VERSION>"
}
diff --git a/it/it-tests/src/test/resources/analysis/IssueJsonReportTest/report-on-single-module-branch.json b/it/it-tests/src/test/resources/analysis/IssueJsonReportTest/report-on-single-module-branch.json
index a7673ec603f..aa066bbbf2f 100644
--- a/it/it-tests/src/test/resources/analysis/IssueJsonReportTest/report-on-single-module-branch.json
+++ b/it/it-tests/src/test/resources/analysis/IssueJsonReportTest/report-on-single-module-branch.json
@@ -1,196 +1,255 @@
{
- "version": "<SONAR_VERSION>",
+ "components": [
+ {
+ "key": "sample:mybranch"
+ },
+ {
+ "key": "sample:mybranch:src/main/xoo/sample/Sample.xoo",
+ "moduleKey": "sample:mybranch",
+ "path": "src/main/xoo/sample/Sample.xoo",
+ "status": "CHANGED"
+ },
+ {
+ "key": "sample:mybranch:src/main/xoo/sample",
+ "moduleKey": "sample:mybranch",
+ "path": "src/main/xoo/sample"
+ }
+ ],
"issues": [
{
- "key": "<ISSUE_KEY>",
"component": "sample:mybranch:src/main/xoo/sample/Sample.xoo",
- "line": 2,
- "message": "This issue is generated on each line",
- "severity": "MAJOR",
- "rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 1,
+ "endOffset": 15,
"isNew": false,
- "creationDate": "2013-05-01T00:00:00+0200"
- },
- {
"key": "<ISSUE_KEY>",
- "component": "sample:mybranch:src/main/xoo/sample/Sample.xoo",
- "line": 10,
+ "line": 1,
"message": "This issue is generated on each line",
- "severity": "MAJOR",
"rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": false,
- "creationDate": "2013-05-01T00:00:00+0200"
+ "severity": "MAJOR",
+ "startLine": 1,
+ "startOffset": 0,
+ "status": "OPEN"
},
{
- "key": "<ISSUE_KEY>",
"component": "sample:mybranch:src/main/xoo/sample/Sample.xoo",
- "line": 13,
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 2,
+ "endOffset": 0,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 2,
"message": "This issue is generated on each line",
- "severity": "MAJOR",
"rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": false,
- "creationDate": "2013-05-01T00:00:00+0200"
+ "severity": "MAJOR",
+ "startLine": 2,
+ "startOffset": 0,
+ "status": "OPEN"
},
{
- "key": "<ISSUE_KEY>",
"component": "sample:mybranch:src/main/xoo/sample/Sample.xoo",
- "line": 15,
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 3,
+ "endOffset": 21,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 3,
"message": "This issue is generated on each line",
- "severity": "MAJOR",
"rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": false,
- "creationDate": "2013-05-01T00:00:00+0200"
+ "severity": "MAJOR",
+ "startLine": 3,
+ "startOffset": 0,
+ "status": "OPEN"
},
{
- "key": "<ISSUE_KEY>",
"component": "sample:mybranch:src/main/xoo/sample/Sample.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 4,
+ "endOffset": 1,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
"line": 4,
"message": "This issue is generated on each line",
- "severity": "MAJOR",
"rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": false,
- "creationDate": "2013-05-01T00:00:00+0200"
+ "severity": "MAJOR",
+ "startLine": 4,
+ "startOffset": 0,
+ "status": "OPEN"
},
{
- "key": "<ISSUE_KEY>",
"component": "sample:mybranch:src/main/xoo/sample/Sample.xoo",
- "line": 3,
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 5,
+ "endOffset": 23,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 5,
"message": "This issue is generated on each line",
- "severity": "MAJOR",
"rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": false,
- "creationDate": "2013-05-01T00:00:00+0200"
+ "severity": "MAJOR",
+ "startLine": 5,
+ "startOffset": 0,
+ "status": "OPEN"
},
{
- "key": "<ISSUE_KEY>",
"component": "sample:mybranch:src/main/xoo/sample/Sample.xoo",
- "line": 12,
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 6,
+ "endOffset": 14,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 6,
"message": "This issue is generated on each line",
- "severity": "MAJOR",
"rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": false,
- "creationDate": "2013-05-01T00:00:00+0200"
+ "severity": "MAJOR",
+ "startLine": 6,
+ "startOffset": 0,
+ "status": "OPEN"
},
{
- "key": "<ISSUE_KEY>",
"component": "sample:mybranch:src/main/xoo/sample/Sample.xoo",
- "line": 11,
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 8,
+ "endOffset": 2,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 8,
"message": "This issue is generated on each line",
- "severity": "MAJOR",
"rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": true,
- "creationDate": "2013-05-02T00:00:00+0200"
+ "severity": "MAJOR",
+ "startLine": 8,
+ "startOffset": 0,
+ "status": "OPEN"
},
{
- "key": "<ISSUE_KEY>",
"component": "sample:mybranch:src/main/xoo/sample/Sample.xoo",
- "line": 5,
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 9,
+ "endOffset": 1,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 9,
"message": "This issue is generated on each line",
- "severity": "MAJOR",
"rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": false,
- "creationDate": "2013-05-01T00:00:00+0200"
+ "severity": "MAJOR",
+ "startLine": 9,
+ "startOffset": 0,
+ "status": "OPEN"
},
{
- "key": "<ISSUE_KEY>",
"component": "sample:mybranch:src/main/xoo/sample/Sample.xoo",
- "line": 7,
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 10,
+ "endOffset": 28,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 10,
"message": "This issue is generated on each line",
- "severity": "MAJOR",
"rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": true,
- "creationDate": "2013-05-02T00:00:00+0200"
+ "severity": "MAJOR",
+ "startLine": 10,
+ "startOffset": 0,
+ "status": "OPEN"
},
{
- "key": "<ISSUE_KEY>",
"component": "sample:mybranch:src/main/xoo/sample/Sample.xoo",
- "line": 9,
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 12,
+ "endOffset": 17,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 12,
"message": "This issue is generated on each line",
- "severity": "MAJOR",
"rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": false,
- "creationDate": "2013-05-01T00:00:00+0200"
+ "severity": "MAJOR",
+ "startLine": 12,
+ "startOffset": 0,
+ "status": "OPEN"
},
{
- "key": "<ISSUE_KEY>",
"component": "sample:mybranch:src/main/xoo/sample/Sample.xoo",
- "line": 6,
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 13,
+ "endOffset": 2,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 13,
"message": "This issue is generated on each line",
- "severity": "MAJOR",
"rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": false,
- "creationDate": "2013-05-01T00:00:00+0200"
+ "severity": "MAJOR",
+ "startLine": 13,
+ "startOffset": 0,
+ "status": "OPEN"
},
{
- "key": "<ISSUE_KEY>",
"component": "sample:mybranch:src/main/xoo/sample/Sample.xoo",
- "line": 8,
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 14,
+ "endOffset": 1,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 14,
"message": "This issue is generated on each line",
- "severity": "MAJOR",
"rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": false,
- "creationDate": "2013-05-01T00:00:00+0200"
+ "severity": "MAJOR",
+ "startLine": 14,
+ "startOffset": 0,
+ "status": "OPEN"
},
{
- "key": "<ISSUE_KEY>",
"component": "sample:mybranch:src/main/xoo/sample/Sample.xoo",
- "line": 1,
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 15,
+ "endOffset": 0,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 15,
"message": "This issue is generated on each line",
- "severity": "MAJOR",
"rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": false,
- "creationDate": "2013-05-01T00:00:00+0200"
+ "severity": "MAJOR",
+ "startLine": 15,
+ "startOffset": 0,
+ "status": "OPEN"
},
{
- "key": "<ISSUE_KEY>",
"component": "sample:mybranch:src/main/xoo/sample/Sample.xoo",
- "line": 14,
+ "creationDate": "2013-05-02T00:00:00+0200",
+ "endLine": 11,
+ "endOffset": 28,
+ "isNew": true,
+ "key": "<ISSUE_KEY>",
+ "line": 11,
"message": "This issue is generated on each line",
- "severity": "MAJOR",
"rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": false,
- "creationDate": "2013-05-01T00:00:00+0200"
- }
- ],
- "components": [
- {
- "key": "sample:mybranch"
- },
- {
- "key": "sample:mybranch:src/main/xoo/sample",
- "path": "src/main/xoo/sample",
- "moduleKey": "sample:mybranch"
+ "severity": "MAJOR",
+ "startLine": 11,
+ "startOffset": 0,
+ "status": "OPEN"
},
{
- "key": "sample:mybranch:src/main/xoo/sample/Sample.xoo",
- "path": "src/main/xoo/sample/Sample.xoo",
- "moduleKey": "sample:mybranch",
- "status": "CHANGED"
+ "component": "sample:mybranch:src/main/xoo/sample/Sample.xoo",
+ "creationDate": "2013-05-02T00:00:00+0200",
+ "endLine": 7,
+ "endOffset": 28,
+ "isNew": true,
+ "key": "<ISSUE_KEY>",
+ "line": 7,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 7,
+ "startOffset": 0,
+ "status": "OPEN"
}
],
"rules": [
{
"key": "xoo:OneIssuePerLine",
- "rule": "OneIssuePerLine",
+ "name": "One Issue Per Line",
"repository": "xoo",
- "name": "One Issue Per Line"
+ "rule": "OneIssuePerLine"
}
],
- "users": [ ]
-
+ "users": [],
+ "version": "<SONAR_VERSION>"
}
diff --git a/it/it-tests/src/test/resources/analysis/IssueJsonReportTest/report-on-single-module.json b/it/it-tests/src/test/resources/analysis/IssueJsonReportTest/report-on-single-module.json
index 47b244bd383..6c3aab91f02 100644
--- a/it/it-tests/src/test/resources/analysis/IssueJsonReportTest/report-on-single-module.json
+++ b/it/it-tests/src/test/resources/analysis/IssueJsonReportTest/report-on-single-module.json
@@ -1,195 +1,255 @@
{
- "version": "<SONAR_VERSION>",
- "issues": [
- {
- "key": "<ISSUE_KEY>",
- "component": "sample:src/main/xoo/sample/Sample.xoo",
- "line": 6,
- "message": "This issue is generated on each line",
- "severity": "MAJOR",
- "rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": false,
- "creationDate": "2013-05-01T00:00:00+0200"
- },
- {
- "key": "<ISSUE_KEY>",
- "component": "sample:src/main/xoo/sample/Sample.xoo",
- "line": 5,
- "message": "This issue is generated on each line",
- "severity": "MAJOR",
- "rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": false,
- "creationDate": "2013-05-01T00:00:00+0200"
- },
- {
- "key": "<ISSUE_KEY>",
- "component": "sample:src/main/xoo/sample/Sample.xoo",
- "line": 13,
- "message": "This issue is generated on each line",
- "severity": "MAJOR",
- "rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": false,
- "creationDate": "2013-05-01T00:00:00+0200"
- },
- {
- "key": "<ISSUE_KEY>",
- "component": "sample:src/main/xoo/sample/Sample.xoo",
- "line": 1,
- "message": "This issue is generated on each line",
- "severity": "MAJOR",
- "rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": false,
- "creationDate": "2013-05-01T00:00:00+0200"
- },
- {
- "key": "<ISSUE_KEY>",
- "component": "sample:src/main/xoo/sample/Sample.xoo",
- "line": 3,
- "message": "This issue is generated on each line",
- "severity": "MAJOR",
- "rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": false,
- "creationDate": "2013-05-01T00:00:00+0200"
- },
- {
- "key": "<ISSUE_KEY>",
- "component": "sample:src/main/xoo/sample/Sample.xoo",
- "line": 4,
- "message": "This issue is generated on each line",
- "severity": "MAJOR",
- "rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": false,
- "creationDate": "2013-05-01T00:00:00+0200"
- },
- {
- "key": "<ISSUE_KEY>",
- "component": "sample:src/main/xoo/sample/Sample.xoo",
- "line": 12,
- "message": "This issue is generated on each line",
- "severity": "MAJOR",
- "rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": false,
- "creationDate": "2013-05-01T00:00:00+0200"
- },
- {
- "key": "<ISSUE_KEY>",
- "component": "sample:src/main/xoo/sample/Sample.xoo",
- "line": 10,
- "message": "This issue is generated on each line",
- "severity": "MAJOR",
- "rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": false,
- "creationDate": "2013-05-01T00:00:00+0200"
- },
- {
- "key": "<ISSUE_KEY>",
- "component": "sample:src/main/xoo/sample/Sample.xoo",
- "line": 2,
- "message": "This issue is generated on each line",
- "severity": "MAJOR",
- "rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": false,
- "creationDate": "2013-05-01T00:00:00+0200"
- },
- {
- "key": "<ISSUE_KEY>",
- "component": "sample:src/main/xoo/sample/Sample.xoo",
- "line": 9,
- "message": "This issue is generated on each line",
- "severity": "MAJOR",
- "rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": false,
- "creationDate": "2013-05-01T00:00:00+0200"
- },
- {
- "key": "<ISSUE_KEY>",
- "component": "sample:src/main/xoo/sample/Sample.xoo",
- "line": 11,
- "message": "This issue is generated on each line",
- "severity": "MAJOR",
- "rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": true,
- "creationDate": "2013-05-02T00:00:00+0200"
- },
- {
- "key": "<ISSUE_KEY>",
- "component": "sample:src/main/xoo/sample/Sample.xoo",
- "line": 7,
- "message": "This issue is generated on each line",
- "severity": "MAJOR",
- "rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": true,
- "creationDate": "2013-05-02T00:00:00+0200"
- },
- {
- "key": "<ISSUE_KEY>",
- "component": "sample:src/main/xoo/sample/Sample.xoo",
- "line": 8,
- "message": "This issue is generated on each line",
- "severity": "MAJOR",
- "rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": false,
- "creationDate": "2013-05-01T00:00:00+0200"
- },
- {
- "key": "<ISSUE_KEY>",
- "component": "sample:src/main/xoo/sample/Sample.xoo",
- "line": 14,
- "message": "This issue is generated on each line",
- "severity": "MAJOR",
- "rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": false,
- "creationDate": "2013-05-01T00:00:00+0200"
- },
- {
- "key": "<ISSUE_KEY>",
- "component": "sample:src/main/xoo/sample/Sample.xoo",
- "line": 15,
- "message": "This issue is generated on each line",
- "severity": "MAJOR",
- "rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": false,
- "creationDate": "2013-05-01T00:00:00+0200"
- }
- ],
- "components": [
- {
- "key": "sample"
- },
- {
- "key": "sample:src/main/xoo/sample",
- "path": "src/main/xoo/sample",
- "moduleKey": "sample"
- },
- {
- "key": "sample:src/main/xoo/sample/Sample.xoo",
- "path": "src/main/xoo/sample/Sample.xoo",
- "moduleKey": "sample",
- "status": "CHANGED"
- }
- ],
- "rules": [
- {
- "key": "xoo:OneIssuePerLine",
- "rule": "OneIssuePerLine",
- "repository": "xoo",
- "name": "One Issue Per Line"
- }
- ],
- "users": []
+ "components": [
+ {
+ "key": "sample"
+ },
+ {
+ "key": "sample:src/main/xoo/sample/Sample.xoo",
+ "moduleKey": "sample",
+ "path": "src/main/xoo/sample/Sample.xoo",
+ "status": "CHANGED"
+ },
+ {
+ "key": "sample:src/main/xoo/sample",
+ "moduleKey": "sample",
+ "path": "src/main/xoo/sample"
+ }
+ ],
+ "issues": [
+ {
+ "component": "sample:src/main/xoo/sample/Sample.xoo",
+ "creationDate": "2013-05-02T00:00:00+0200",
+ "endLine": 11,
+ "endOffset": 28,
+ "isNew": true,
+ "key": "<ISSUE_KEY>",
+ "line": 11,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 11,
+ "startOffset": 0,
+ "status": "OPEN"
+ },
+ {
+ "component": "sample:src/main/xoo/sample/Sample.xoo",
+ "creationDate": "2013-05-02T00:00:00+0200",
+ "endLine": 7,
+ "endOffset": 28,
+ "isNew": true,
+ "key": "<ISSUE_KEY>",
+ "line": 7,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 7,
+ "startOffset": 0,
+ "status": "OPEN"
+ },
+ {
+ "component": "sample:src/main/xoo/sample/Sample.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 1,
+ "endOffset": 15,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 1,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 1,
+ "startOffset": 0,
+ "status": "OPEN"
+ },
+ {
+ "component": "sample:src/main/xoo/sample/Sample.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 2,
+ "endOffset": 0,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 2,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 2,
+ "startOffset": 0,
+ "status": "OPEN"
+ },
+ {
+ "component": "sample:src/main/xoo/sample/Sample.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 3,
+ "endOffset": 21,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 3,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 3,
+ "startOffset": 0,
+ "status": "OPEN"
+ },
+ {
+ "component": "sample:src/main/xoo/sample/Sample.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 4,
+ "endOffset": 1,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 4,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 4,
+ "startOffset": 0,
+ "status": "OPEN"
+ },
+ {
+ "component": "sample:src/main/xoo/sample/Sample.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 5,
+ "endOffset": 23,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 5,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 5,
+ "startOffset": 0,
+ "status": "OPEN"
+ },
+ {
+ "component": "sample:src/main/xoo/sample/Sample.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 6,
+ "endOffset": 14,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 6,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 6,
+ "startOffset": 0,
+ "status": "OPEN"
+ },
+ {
+ "component": "sample:src/main/xoo/sample/Sample.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 8,
+ "endOffset": 2,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 8,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 8,
+ "startOffset": 0,
+ "status": "OPEN"
+ },
+ {
+ "component": "sample:src/main/xoo/sample/Sample.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 9,
+ "endOffset": 1,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 9,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 9,
+ "startOffset": 0,
+ "status": "OPEN"
+ },
+ {
+ "component": "sample:src/main/xoo/sample/Sample.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 10,
+ "endOffset": 28,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 10,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 10,
+ "startOffset": 0,
+ "status": "OPEN"
+ },
+ {
+ "component": "sample:src/main/xoo/sample/Sample.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 12,
+ "endOffset": 17,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 12,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 12,
+ "startOffset": 0,
+ "status": "OPEN"
+ },
+ {
+ "component": "sample:src/main/xoo/sample/Sample.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 13,
+ "endOffset": 2,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 13,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 13,
+ "startOffset": 0,
+ "status": "OPEN"
+ },
+ {
+ "component": "sample:src/main/xoo/sample/Sample.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 14,
+ "endOffset": 1,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 14,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 14,
+ "startOffset": 0,
+ "status": "OPEN"
+ },
+ {
+ "component": "sample:src/main/xoo/sample/Sample.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 15,
+ "endOffset": 0,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 15,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 15,
+ "startOffset": 0,
+ "status": "OPEN"
+ }
+ ],
+ "rules": [
+ {
+ "key": "xoo:OneIssuePerLine",
+ "name": "One Issue Per Line",
+ "repository": "xoo",
+ "rule": "OneIssuePerLine"
+ }
+ ],
+ "users": [],
+ "version": "<SONAR_VERSION>"
}
diff --git a/it/it-tests/src/test/resources/analysis/IssueJsonReportTest/report-on-sub-module.json b/it/it-tests/src/test/resources/analysis/IssueJsonReportTest/report-on-sub-module.json
index cc979a77420..84a68c4d5a4 100644
--- a/it/it-tests/src/test/resources/analysis/IssueJsonReportTest/report-on-sub-module.json
+++ b/it/it-tests/src/test/resources/analysis/IssueJsonReportTest/report-on-sub-module.json
@@ -1,208 +1,238 @@
{
-
- "version": "<SONAR_VERSION>",
+ "components": [
+ {
+ "key": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1"
+ },
+ {
+ "key": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1:src/main/xoo/com/sonar/it/samples/modules/a1/HelloA1.xoo",
+ "moduleKey": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1",
+ "path": "src/main/xoo/com/sonar/it/samples/modules/a1/HelloA1.xoo",
+ "status": "SAME"
+ },
+ {
+ "key": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1:src/main/xoo/com/sonar/it/samples/modules/a1",
+ "moduleKey": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1",
+ "path": "src/main/xoo/com/sonar/it/samples/modules/a1"
+ }
+ ],
"issues": [
{
- "key": "<ISSUE_KEY>",
"component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1:src/main/xoo/com/sonar/it/samples/modules/a1/HelloA1.xoo",
- "line": 4,
- "message": "This issue is generated on each line",
- "severity": "MAJOR",
- "rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 1,
"isNew": false,
- "creationDate": "2013-05-01T00:00:00+0200"
- },
- {
"key": "<ISSUE_KEY>",
- "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1:src/main/xoo/com/sonar/it/samples/modules/a1/HelloA1.xoo",
- "line": 7,
+ "line": 1,
"message": "This issue is generated on each line",
- "severity": "MAJOR",
"rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": false,
- "creationDate": "2013-05-01T00:00:00+0200"
+ "severity": "MAJOR",
+ "startLine": 1,
+ "status": "OPEN"
},
{
- "key": "<ISSUE_KEY>",
"component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1:src/main/xoo/com/sonar/it/samples/modules/a1/HelloA1.xoo",
- "line": 6,
- "message": "This issue is generated on each line",
- "severity": "MAJOR",
- "rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 2,
"isNew": false,
- "creationDate": "2013-05-01T00:00:00+0200"
- },
- {
"key": "<ISSUE_KEY>",
- "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1:src/main/xoo/com/sonar/it/samples/modules/a1/HelloA1.xoo",
- "line": 1,
+ "line": 2,
"message": "This issue is generated on each line",
- "severity": "MAJOR",
"rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": false,
- "creationDate": "2013-05-01T00:00:00+0200"
+ "severity": "MAJOR",
+ "startLine": 2,
+ "status": "OPEN"
},
{
- "key": "<ISSUE_KEY>",
"component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1:src/main/xoo/com/sonar/it/samples/modules/a1/HelloA1.xoo",
- "line": 8,
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 3,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 3,
"message": "This issue is generated on each line",
- "severity": "MAJOR",
"rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": false,
- "creationDate": "2013-05-01T00:00:00+0200"
+ "severity": "MAJOR",
+ "startLine": 3,
+ "status": "OPEN"
},
{
- "key": "<ISSUE_KEY>",
"component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1:src/main/xoo/com/sonar/it/samples/modules/a1/HelloA1.xoo",
- "line": 15,
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 4,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 4,
"message": "This issue is generated on each line",
- "severity": "MAJOR",
"rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": false,
- "creationDate": "2013-05-01T00:00:00+0200"
+ "severity": "MAJOR",
+ "startLine": 4,
+ "status": "OPEN"
},
{
- "key": "<ISSUE_KEY>",
"component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1:src/main/xoo/com/sonar/it/samples/modules/a1/HelloA1.xoo",
- "line": 14,
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 5,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 5,
"message": "This issue is generated on each line",
- "severity": "MAJOR",
"rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": false,
- "creationDate": "2013-05-01T00:00:00+0200"
+ "severity": "MAJOR",
+ "startLine": 5,
+ "status": "OPEN"
},
{
- "key": "<ISSUE_KEY>",
"component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1:src/main/xoo/com/sonar/it/samples/modules/a1/HelloA1.xoo",
- "line": 10,
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 6,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 6,
"message": "This issue is generated on each line",
- "severity": "MAJOR",
"rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": false,
- "creationDate": "2013-05-01T00:00:00+0200"
+ "severity": "MAJOR",
+ "startLine": 6,
+ "status": "OPEN"
},
{
- "key": "<ISSUE_KEY>",
"component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1:src/main/xoo/com/sonar/it/samples/modules/a1/HelloA1.xoo",
- "line": 3,
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 7,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 7,
"message": "This issue is generated on each line",
- "severity": "MAJOR",
"rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": false,
- "creationDate": "2013-05-01T00:00:00+0200"
+ "severity": "MAJOR",
+ "startLine": 7,
+ "status": "OPEN"
},
{
- "key": "<ISSUE_KEY>",
"component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1:src/main/xoo/com/sonar/it/samples/modules/a1/HelloA1.xoo",
- "line": 2,
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 8,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 8,
"message": "This issue is generated on each line",
- "severity": "MAJOR",
"rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": false,
- "creationDate": "2013-05-01T00:00:00+0200"
+ "severity": "MAJOR",
+ "startLine": 8,
+ "status": "OPEN"
},
{
- "key": "<ISSUE_KEY>",
"component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1:src/main/xoo/com/sonar/it/samples/modules/a1/HelloA1.xoo",
- "line": 16,
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 9,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 9,
"message": "This issue is generated on each line",
- "severity": "MAJOR",
"rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": false,
- "creationDate": "2013-05-01T00:00:00+0200"
+ "severity": "MAJOR",
+ "startLine": 9,
+ "status": "OPEN"
},
{
- "key": "<ISSUE_KEY>",
"component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1:src/main/xoo/com/sonar/it/samples/modules/a1/HelloA1.xoo",
- "line": 9,
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 10,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 10,
"message": "This issue is generated on each line",
- "severity": "MAJOR",
"rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": false,
- "creationDate": "2013-05-01T00:00:00+0200"
+ "severity": "MAJOR",
+ "startLine": 10,
+ "status": "OPEN"
},
{
- "key": "<ISSUE_KEY>",
"component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1:src/main/xoo/com/sonar/it/samples/modules/a1/HelloA1.xoo",
- "line": 5,
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 11,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 11,
"message": "This issue is generated on each line",
- "severity": "MAJOR",
"rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": false,
- "creationDate": "2013-05-01T00:00:00+0200"
+ "severity": "MAJOR",
+ "startLine": 11,
+ "status": "OPEN"
},
{
- "key": "<ISSUE_KEY>",
"component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1:src/main/xoo/com/sonar/it/samples/modules/a1/HelloA1.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 12,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
"line": 12,
"message": "This issue is generated on each line",
- "severity": "MAJOR",
"rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": false,
- "creationDate": "2013-05-01T00:00:00+0200"
+ "severity": "MAJOR",
+ "startLine": 12,
+ "status": "OPEN"
},
{
- "key": "<ISSUE_KEY>",
"component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1:src/main/xoo/com/sonar/it/samples/modules/a1/HelloA1.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 13,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
"line": 13,
"message": "This issue is generated on each line",
- "severity": "MAJOR",
"rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": false,
- "creationDate": "2013-05-01T00:00:00+0200"
+ "severity": "MAJOR",
+ "startLine": 13,
+ "status": "OPEN"
},
{
- "key": "<ISSUE_KEY>",
"component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1:src/main/xoo/com/sonar/it/samples/modules/a1/HelloA1.xoo",
- "line": 11,
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 14,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 14,
"message": "This issue is generated on each line",
- "severity": "MAJOR",
"rule": "xoo:OneIssuePerLine",
- "status": "OPEN",
- "isNew": false,
- "creationDate": "2013-05-01T00:00:00+0200"
- }
- ],
- "components": [
- {
- "key": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1"
+ "severity": "MAJOR",
+ "startLine": 14,
+ "status": "OPEN"
},
{
- "key": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1:src/main/xoo/com/sonar/it/samples/modules/a1",
- "path": "src/main/xoo/com/sonar/it/samples/modules/a1",
- "moduleKey": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1"
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1:src/main/xoo/com/sonar/it/samples/modules/a1/HelloA1.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 15,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 15,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 15,
+ "status": "OPEN"
},
{
- "key": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1:src/main/xoo/com/sonar/it/samples/modules/a1/HelloA1.xoo",
- "path": "src/main/xoo/com/sonar/it/samples/modules/a1/HelloA1.xoo",
- "moduleKey": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1",
- "status": "SAME"
+ "component": "com.sonarsource.it.samples:multi-modules-sample:module_a:module_a1:src/main/xoo/com/sonar/it/samples/modules/a1/HelloA1.xoo",
+ "creationDate": "2013-05-01T00:00:00+0200",
+ "endLine": 16,
+ "isNew": false,
+ "key": "<ISSUE_KEY>",
+ "line": 16,
+ "message": "This issue is generated on each line",
+ "rule": "xoo:OneIssuePerLine",
+ "severity": "MAJOR",
+ "startLine": 16,
+ "status": "OPEN"
}
],
"rules": [
{
"key": "xoo:OneIssuePerLine",
- "rule": "OneIssuePerLine",
+ "name": "One Issue Per Line",
"repository": "xoo",
- "name": "One Issue Per Line"
+ "rule": "OneIssuePerLine"
}
],
- "users": [ ]
-
+ "users": [],
+ "version": "<SONAR_VERSION>"
}