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 2299 1299 647 72 %
MidiDeviceComparator 42 11 3 0 %
MidiDeviceConfigurator 127 55 25 0 %
MidiSystemDevices 171 111 58 17 %
MidiMessageFactory 87 53 32 31 %
MockMidiDevice 169 73 25 60 %
MidiStatus 51 19 3 67 %
MidiEngine 536 364 175 73 %
MidiPreferences 83 47 16 75 %
MidiShowControlParser 100 58 35 80 %
MidiMessagePrinter 133 96 63 83 %
ShowControlMessageListener 25 4 0 100 %
MidiMessageListener 27 5 0 100 %
MidiDevices 62 9 0 100 %
MockTransmitter 53 14 2 100 %
MockReceiver 58 16 2 100 %
MidiShowControlMessage 62 33 10 100 %
MidiMessagePrinterTestCase 108 67 28 100 %
MidiShowControlParserTestCase 86 55 35 100 %
MidiEngineTestCase 319 209 135 100 %

Class statements covered missed weight  
MidiSystemDevices 58 10 48 26.97 %
MidiEngine 175 128 47 26.40 %
MidiDeviceConfigurator 25 0 25 14.04 %
MidiMessageFactory 32 10 22 12.36 %
MidiMessagePrinter 63 52 11 6.18 %
MockMidiDevice 25 15 10 5.62 %
MidiShowControlParser 35 28 7 3.93 %
MidiPreferences 16 12 4 2.25 %
MidiDeviceComparator 3 0 3 1.69 %
MidiStatus 3 2 1 0.56 %

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