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 1980 1249 624 67 %
DefaultDocListener 116 38 5 0 %
TableOfContentsBuilder 113 92 59 0 %
PdfManualBuilder 198 144 69 0 %
TableOfContents 115 77 25 8 %
TableOfContentsEntry 72 36 10 40 %
HtmlToPdfTranslator 311 211 109 73 %
HeaderLevel 98 66 33 76 %
State 213 124 31 87 %
PdfList 31 7 1 100 %
RomanNumber 50 24 7 100 %
HeaderLevelTestCase 49 20 11 100 %
EntityResolver 81 34 12 100 %
RomanNumberTestCase 47 37 21 100 %
HtmlToPdfTranslatorTestCase 486 339 231 100 %

Class statements covered missed weight  
PdfManualBuilder 69 0 69 33.99 %
TableOfContentsBuilder 59 0 59 29.06 %
HtmlToPdfTranslator 109 80 29 14.29 %
TableOfContents 25 2 23 11.33 %
HeaderLevel 33 25 8 3.94 %
TableOfContentsEntry 10 4 6 2.96 %
DefaultDocListener 5 0 5 2.46 %
State 31 27 4 1.97 %

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