PurrPackage is a code coverage tool that keeps track of which code is exercised by unit tests in the same package. This results in a better measure of the quality of unit testing than other tools can provide.
PurrPackage also has "Coverage Policy" that let's you focus your attention where it is needed most. This is described fully elsewhere. Here, click the "Settings" button to find controls that enable and disable this feature, and others that will hide or show parts of the tested code base that satisfy the policy configured for your build. You can read the current coverage policy under the "Data" button.
Click on the "Packages" button to see an extensive summary of coverage by source package. Click on a package name to restrict the list of source code files to that package. Click on a column header to sort the table by that column.
Abbreviation in column headings:
N | Total number of lines and branches in the given package, file or method. |
m | The number of elements missed by tests in the same package, or by all tests, depending no context. |
% | The coverage rate for test in the same package, or by all tests, depending on context. |
Ok? | Whether your coverage policy is satisfied by this element. Hover over the value for more detail on what part is not satisfied. |
Fails | What aspect of the coverage policy failed, if any. Values are list of indexes of requirements that failed, and "Ch." to indicate at least one source file within the package failed a policy requirement. |
- Entirely covered
- Some branches missed
- Entirely missed
Make the Source Files list: Wider Narrower Taller Shorter
Make the source code font: Larger Smaller
Make policy features: Active Inactive
Make items that satisfy the coverage policy (if active): Visible Hidden