aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-batch-protocol/src/main/protobuf/batch_report.proto
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@sonarsource.com>2015-03-27 16:51:39 +0100
committerJulien Lancelot <julien.lancelot@sonarsource.com>2015-03-27 17:05:48 +0100
commit6e44175ed6e81ae9989aa767439d91b9a502f5bf (patch)
tree55bba76fc85cd06fe1698daac2bc411fe5cfd767 /sonar-batch-protocol/src/main/protobuf/batch_report.proto
parent5446d877b4e67f2f32ac869e76d9ad02ca226773 (diff)
downloadsonarqube-6e44175ed6e81ae9989aa767439d91b9a502f5bf.tar.gz
sonarqube-6e44175ed6e81ae9989aa767439d91b9a502f5bf.zip
SONAR-6338 Coverage in compute
Diffstat (limited to 'sonar-batch-protocol/src/main/protobuf/batch_report.proto')
-rw-r--r--sonar-batch-protocol/src/main/protobuf/batch_report.proto18
1 files changed, 18 insertions, 0 deletions
diff --git a/sonar-batch-protocol/src/main/protobuf/batch_report.proto b/sonar-batch-protocol/src/main/protobuf/batch_report.proto
index 29673bdadd2..39f1750400f 100644
--- a/sonar-batch-protocol/src/main/protobuf/batch_report.proto
+++ b/sonar-batch-protocol/src/main/protobuf/batch_report.proto
@@ -210,6 +210,24 @@ message Symbols {
}
}
+message Coverage {
+ // Only FILE component has coverage information
+ optional int32 file_ref = 1;
+
+ // List of number of conditions by line : 0 => not to cover, 1+ => number of conditions to cover
+ repeated int32 conditions_by_line = 2 [packed = true];
+ // List of unit test hits by line
+ repeated bool ut_hits_by_line = 3 [packed = true];
+ // List of integration test hits by line
+ repeated bool it_hits_by_line = 4 [packed = true];
+ // List of number of conditions covered by unit test by line
+ repeated int32 ut_covered_conditions_by_line = 5 [packed = true];
+ // List of number of conditions covered by integration test by line
+ repeated int32 it_covered_conditions_by_line = 6 [packed = true];
+ // List of number of conditions covered by overall test by line
+ repeated int32 overall_covered_conditions_by_line = 7 [packed = true];
+}
+
message SyntaxHighlighting {
optional int32 file_ref = 1;
// Rule must be sorted by line and start offset