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 4281 2199 772 91 %
PatchBuffer 63 20 11 0 %
Layer 51 10 2 50 %
FadeType 191 66 19 53 %
PatchPair 124 53 26 62 %
LayerStatus 777 365 151 84 %
Buffer 122 45 14 86 %
MixMode 177 53 14 86 %
CueList 137 54 20 90 %
ChaseMode 164 55 13 92 %
Time 365 210 49 96 %
ChannelChanges 223 134 68 97 %
PatchBufferProcessor 35 4 0 100 %
BufferListener 32 4 0 100 %
MixModeTestCase 44 14 5 100 %
ChannelAttributeTestCase 50 24 6 100 %
LayerId 128 88 10 100 %
ChannelChangeTestCase 81 47 13 100 %
ChaseSpeed 335 290 14 100 %
ChannelStatusTestCase 71 36 17 100 %
LayerIdTestCase 76 43 17 100 %
ChannelStatus 112 53 24 100 %
ChannelAttribute 113 49 25 100 %
CueListTestCase 86 50 26 100 %
ChannelChange 125 52 26 100 %
PatchParameters 135 61 29 100 %
TimeTestCase 118 72 38 100 %
PatchParametersTestCase 130 90 49 100 %
ChannelChangesTestCase 216 157 86 100 %

Class statements covered missed weight  
LayerStatus 151 127 24 36.36 %
PatchBuffer 11 0 11 16.67 %
PatchPair 26 16 10 15.15 %
FadeType 19 10 9 13.64 %
Time 49 47 2 3.03 %
Buffer 14 12 2 3.03 %
CueList 20 18 2 3.03 %
MixMode 14 12 2 3.03 %
ChannelChanges 68 66 2 3.03 %
Layer 2 1 1 1.52 %
ChaseMode 13 12 1 1.52 %

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