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 3021 1372 577 71 %
PopupMenuBuilder 47 21 6 0 %
TestArrowIcon 45 16 8 0 %
PopupParentFinder 49 34 16 0 %
TestMouseListener 99 40 17 0 %
LoggingTableModel 123 61 22 0 %
MyUncaughtExceptionHandler 119 78 33 9 %
ScrollHelper 98 30 11 45 %
Components 79 44 24 54 %
Build 83 43 17 59 %
StatusBarBuilder 131 57 23 70 %
IconFeedbackPanel 565 230 94 70 %
ComponentUtil 140 83 39 85 %
LassiAction 120 66 21 90 %
View 36 5 0 100 %
Validator 17 11 3 100 %
ResizeHelper 84 21 3 100 %
SimpleTreeCellRenderer 39 10 4 100 %
SelectionInterval 41 17 4 100 %
Screen 43 14 5 100 %
ValidationSupport 53 22 7 100 %
MenuBuilder 51 24 7 100 %
MacMenuBuilder 94 30 10 100 %
ValidatingPresentationModel 68 37 12 100 %
SingleRowSelectionModel 59 31 13 100 %
StatusBarBuilderTestCase 60 25 15 100 %
ArrowIcon 84 31 15 100 %
BuildTestCase 86 32 15 100 %
ComponentBuilder 75 38 15 100 %
ToolBarBuilder 119 52 23 100 %
Move 88 44 25 100 %
NumberFormatTestCase 97 45 26 100 %
MoveTestCase 129 80 44 100 %

Class statements covered missed weight  
MyUncaughtExceptionHandler 33 3 30 18.07 %
IconFeedbackPanel 94 66 28 16.87 %
LoggingTableModel 22 0 22 13.25 %
TestMouseListener 17 0 17 10.24 %
PopupParentFinder 16 0 16 9.64 %
Components 24 13 11 6.63 %
TestArrowIcon 8 0 8 4.82 %
StatusBarBuilder 23 16 7 4.22 %
Build 17 10 7 4.22 %
PopupMenuBuilder 6 0 6 3.61 %
ComponentUtil 39 33 6 3.61 %
ScrollHelper 11 5 6 3.61 %
LassiAction 21 19 2 1.20 %

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