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 2937 1790 799 82 %
TestGradientPanel 48 21 8 0 %
NotImplementedFrame 65 23 8 0 %
AboutDialog 50 23 9 0 %
SynchronizerFrameTestCase 64 27 5 20 %
MainPresentationModel 366 253 110 55 %
FunctionKeys 219 161 59 68 %
SynchronizerFrame 120 77 37 78 %
MainFrame 218 133 67 78 %
MainActions 162 114 25 80 %
ShowFileDialog 117 50 23 87 %
WindowsMenu 121 73 47 91 %
ClockFrame 116 66 27 93 %
GradientPanel 172 106 54 96 %
MainFrames 318 205 86 97 %
ClockFrameTestCase 61 27 5 100 %
MainFrameTestCase 52 20 8 100 %
MainMenu 73 40 22 100 %
MainView 85 39 23 100 %
ShowFileDialogTestCase 128 86 30 100 %
MacMenu 164 93 64 100 %
MainPresentationModelTestCase 218 153 82 100 %

Class statements covered missed weight  
MainPresentationModel 110 60 50 35.71 %
FunctionKeys 59 40 19 13.57 %
MainFrame 67 52 15 10.71 %
AboutDialog 9 0 9 6.43 %
TestGradientPanel 8 0 8 5.71 %
SynchronizerFrame 37 29 8 5.71 %
NotImplementedFrame 8 0 8 5.71 %
MainActions 25 20 5 3.57 %
WindowsMenu 47 43 4 2.86 %
SynchronizerFrameTestCase 5 1 4 2.86 %
MainFrames 86 83 3 2.14 %
ShowFileDialog 23 20 3 2.14 %
GradientPanel 54 52 2 1.43 %
ClockFrame 27 25 2 1.43 %

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