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 1005 457 205 96 %
FixtureCommandProducer 97 53 23 70 %
ApplyPreset 68 26 8 88 %
SetColor 72 28 8 88 %
FixtureCommandProcessor 25 4 0 100 %
MockFixtureCommandProcessor 38 12 2 100 %
DeviceMap 65 17 3 100 %
FixtureCommand 44 17 5 100 %
SetAttribute 70 21 5 100 %
FixtureControl 49 22 6 100 %
MockChannelChangeProcessor 60 29 8 100 %
SetAttributeTestCase 74 36 21 100 %
ApplyPresetTestCase 74 39 25 100 %
SetColorTestCase 89 46 27 100 %
FixtureControlTestCase 180 107 64 100 %

Class statements covered missed weight  
FixtureCommandProducer 23 16 7 77.78 %
ApplyPreset 8 7 1 11.11 %
SetColor 8 7 1 11.11 %

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