Coverage

The Lassi software gets tested using automated (JUnit) testcases. While running these testcases, code coverage information is collected. This coverage information shows the percentage of code that actually gets executed during the tests. This is intended to provide an idea about the quality of the testcases and helps in finding dead code.

Class loc nloc statements coverage  
TOTAL 1425 814 387 100 %
SysexMessageFactory 200 107 63 98 %
Template 27 3 0 100 %
TemplateElement 30 5 0 100 %
ControlReader 50 15 4 100 %
ControlReaderTestCase 55 25 5 100 %
SysexMessageFactoryTestCase 55 23 6 100 %
LevelControlTestCase 75 43 18 100 %
ButtonTestCase 75 43 18 100 %
Button 135 69 26 100 %
LevelControl 159 94 34 100 %
Control 285 170 82 100 %
ControlTestCase 279 217 131 100 %

loc = lines of code count
nloc = non-comment lines of code count
statements = number of Java statements
coverage = percentage of statements covered