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 4613 2103 998 94 %
CueListWriteTest 77 38 20 0 %
GetCueListInfos 116 52 24 50 %
CommonSetPatch 149 74 42 83 %
CommandTCA 212 138 60 85 %
CueListWrite 162 81 43 88 %
LanboxCommand 210 80 36 97 %
CueSceneWrite 216 106 68 99 %
CommandListener 36 4 0 100 %
CommandProcessor 34 4 0 100 %
CommandsProcessor 37 5 0 100 %
CueSceneWriteTCL 34 7 0 100 %
CueSceneReadTCL 34 7 0 100 %
CommonGetLayersTCL 34 7 0 100 %
CueListsRemoveTestCase 35 7 0 100 %
CueListReadTCL 34 7 0 100 %
CueListCreateTCL 34 7 0 100 %
Common16BitModeTCL 34 7 0 100 %
CueListWriteTCL 46 13 0 100 %
Script 30 8 2 100 %
SwingCommandListener 35 12 2 100 %
RemoveAllCueLists 58 16 5 100 %
Common16BitModeTestCase 55 25 7 100 %
CueListRemoveTestCase 56 25 7 100 %
CueListReadTestCase 55 25 7 100 %
UnknownCommandTestCase 54 25 7 100 %
CommonGetDirectoryTestCase 56 25 7 100 %
CueListCreateTestCase 55 25 7 100 %
CueListsRead 74 29 10 100 %
CueListWriteTestCase 62 33 12 100 %
UnknownCommand 82 32 13 100 %
CommonGetPatchTestCase 83 43 15 100 %
Command 116 43 16 100 %
CueSceneReadTestCase 75 40 17 100 %
CommonGetPatchTCL 81 32 19 100 %
CueListsReadTCL 72 34 19 100 %
CommonGetLayersTestCase 72 40 19 100 %
CueSceneWriteTestCase 73 42 19 100 %
CueListRemove 101 41 20 100 %
CueListCreate 107 41 20 100 %
CueListInfoTestCase 84 47 21 100 %
Common16BitMode 110 46 22 100 %
CommonSetPatchTestCase 90 55 26 100 %
CommonGetDirectoryTCL 92 49 29 100 %
CueListInfo 141 58 30 100 %
GetCueListsInfosTCL 101 64 34 100 %
CommonGetDirectory 159 74 35 100 %
CueSceneRead 153 73 40 100 %
CommonGetLayers 179 76 46 100 %
CommonGetPatch 168 88 49 100 %
CueListRead 192 95 59 100 %
CommonSetPatchTCL 158 98 64 100 %

Class statements covered missed weight  
CueListWriteTest 20 0 20 36.36 %
GetCueListInfos 24 12 12 21.82 %
CommandTCA 60 51 9 16.36 %
CommonSetPatch 42 35 7 12.73 %
CueListWrite 43 38 5 9.09 %
CueSceneWrite 68 67 1 1.82 %
LanboxCommand 36 35 1 1.82 %

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