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 2726 1596 687 73 %
TestPreferencesView 77 41 18 0 %
LogLevelsModel 125 82 19 0 %
LogLevelsView 121 74 41 0 %
LogLevelsTableModel 138 83 53 0 %
ConnectionPreferencesValidator 107 63 34 12 %
MidiPreferencesModel 127 86 22 55 %
SheetPreferencesValidator 67 28 9 67 %
PreferencesFrame 69 31 10 90 %
PreferencesModel 197 130 51 90 %
LogPreferencesModel 112 86 23 96 %
LogPreferencesTableModel 176 110 72 96 %
ConnectionPreferencesModel 39 12 2 100 %
SheetPreferencesModel 39 12 2 100 %
DisplayPreferencesValidator 52 15 3 100 %
PreferencesModelTestCaseA 28 17 3 100 %
PatchPreferencesModel 49 18 3 100 %
DisplayPreferencesModel 47 18 4 100 %
MonitorPreferencesModel 74 38 10 100 %
DisplayPreferencesView 81 36 13 100 %
MonitorPreferencesView 74 35 14 100 %
MonitorPreferencesModelTestCase 47 35 16 100 %
PatchPreferencesView 87 46 18 100 %
SheetPreferencesView 97 55 24 100 %
ConnectionPreferencesView 99 54 25 100 %
MidiPreferencesView 121 70 35 100 %
LogPreferencesView 103 71 38 100 %
LogPreferencesViewTestCase 147 98 38 100 %
PreferencesView 226 152 87 100 %

Class statements covered missed weight  
LogLevelsTableModel 53 0 53 28.80 %
LogLevelsView 41 0 41 22.28 %
ConnectionPreferencesValidator 34 4 30 16.30 %
LogLevelsModel 19 0 19 10.33 %
TestPreferencesView 18 0 18 9.78 %
MidiPreferencesModel 22 12 10 5.43 %
PreferencesModel 51 46 5 2.72 %
LogPreferencesTableModel 72 69 3 1.63 %
SheetPreferencesValidator 9 6 3 1.63 %
LogPreferencesModel 23 22 1 0.54 %
PreferencesFrame 10 9 1 0.54 %

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