Table 3.
|
Production code | Test code | Line coverage | Branch coverage |
|
(SLOCa) | (SLOC) | n (%) | n (%) |
cdm-common | 5862 | 7023 | 1800/1957 (91.98) | 459/486 (94.4) |
cdm-server | 15,260 | 28,109 | 5781/6250 (92.50) | 1437/1577 (91.12) |
cdm-client | 3595 | 7607 | 1128/1269 (88.89) | 133/146 (91.1) |
cdm-client-gwt | 4090 | 5123 | 957/1828 (52.35) | 137/321 (42.7) |
cdm-webapp | 321 | 177 | 38/111 (34.2) | 2/2 (100) |
Total | 29,128 | 48,039 | - | - |
Weighted average | - | - | 9704/11,415 (85.01) | 2168/2532 (85.62) |
aNote that interfaces contribute to SLOC, but not to the number of lines analyzed for line coverage, leading to different counts for number of lines in the “Production code” and “Line coverage” columns.