diff options
author | Julien Lancelot <julien.lancelot@sonarsource.com> | 2015-04-28 12:03:51 +0200 |
---|---|---|
committer | Julien Lancelot <julien.lancelot@sonarsource.com> | 2015-04-28 12:03:51 +0200 |
commit | 9595b009028629fc1a16ba833151a816d4456d70 (patch) | |
tree | c6abbabc4179ba84d351b44a2cd23bb06552c6de /sonar-batch-protocol/src/main/protobuf/batch_report.proto | |
parent | 2a0b90ac049f9bfca1c18b25eeb2146ebe09bf76 (diff) | |
download | sonarqube-9595b009028629fc1a16ba833151a816d4456d70.tar.gz sonarqube-9595b009028629fc1a16ba833151a816d4456d70.zip |
SONAR-6338 Add some docs in the coverage batch report
Diffstat (limited to 'sonar-batch-protocol/src/main/protobuf/batch_report.proto')
-rw-r--r-- | sonar-batch-protocol/src/main/protobuf/batch_report.proto | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/sonar-batch-protocol/src/main/protobuf/batch_report.proto b/sonar-batch-protocol/src/main/protobuf/batch_report.proto index 634286f7dd0..a94b9d6a953 100644 --- a/sonar-batch-protocol/src/main/protobuf/batch_report.proto +++ b/sonar-batch-protocol/src/main/protobuf/batch_report.proto @@ -211,17 +211,22 @@ message Symbols { } } -// Only FILE component has coverage information +// Only FILE component has coverage information, and only executable lines should contains this information. // TODO rename it LineCoverage ? message Coverage { optional int32 line = 1; - // Number of conditions to cover (never 0) + // Number of conditions to cover (if set, the value must be greater than 0) optional int32 conditions = 2; + // Is the line has been touched by a unit test ? Returning false means that no test has touched this executable line. optional bool ut_hits = 3; + // Is the line has been touched by a integration test ? Returning false means that no test has touched this executable line. optional bool it_hits = 4; + // Number of conditions covered by unit tests optional int32 ut_covered_conditions = 5; + // Number of conditions covered by integration tests optional int32 it_covered_conditions = 6; + // Number of conditions covered by overall tests optional int32 overall_covered_conditions = 7; } |