Posts

Showing posts from May, 2017

EclEmma - A Structural Code Coverage Tool

Image
Code coverage analysis is a structural testing technique (AKA glass box testing and white box testing), which tests a program’s behavior against the intention of the examines how the program works (source code), taking into account possible pitfalls in the structure and logic. Code coverage analysis is the process of finding areas of a program not exercised by a set of test cases, creating additional test cases to increase coverage, and determining a quantitative measure of code coverage, which is an indirect measure of quality. EclEmma is a free Java code coverage tool for Eclipse, available under the Eclipse Public License. It’s an Eclipse plug-in that generates code coverage reports and provide simple trace information about test cases. It launches from within the workbench like JUnit test runs can directly be analyzed for code coverage. For small programs, coverage is relatively easy to calculate by hand; however, for larger programs, the task is much more difficult. Cover