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 2610 1318 599 96 %
LcEditLogFrameTestCase 157 104 49 76 %
LogToolTestCase 61 28 9 89 %
LcEditLogFrame 99 53 27 93 %
LogParser 183 80 34 94 %
LassiLogFrameTestCase 157 97 44 95 %
LogOptionsTestCase 253 196 116 95 %
NoWrapTextPane 51 17 5 100 %
NamedColorTestCase 49 19 5 100 %
CommandWriter 65 22 5 100 %
LogTool 63 22 8 100 %
LogColorRenderer 67 24 8 100 %
LogColorEditor 61 26 8 100 %
LogOptionDetail 158 43 11 100 %
LogFile 74 32 13 100 %
ColorBox 91 36 13 100 %
LogToolOptions 108 43 18 100 %
LassiLogFrame 110 48 18 100 %
LogFrame 162 65 21 100 %
LogTail 90 42 22 100 %
CommandStyledWriter 197 129 66 100 %
LogOptions 354 192 99 100 %

Class statements covered missed weight  
LcEditLogFrameTestCase 49 37 12 48.00 %
LogOptionsTestCase 116 110 6 24.00 %
LogParser 34 32 2 8.00 %
LcEditLogFrame 27 25 2 8.00 %
LassiLogFrameTestCase 44 42 2 8.00 %
LogToolTestCase 9 8 1 4.00 %

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