Lines Matching +full:coverage +full:- +full:results
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-st…
5 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
6 <link rel="stylesheet" href="resources/doc.css" charset="UTF-8" type="text/css" />
8 <title>JaCoCo - Coverage Counter</title>
15 <span class="el_source">Coverage Counters</span>
19 <h1>Coverage Counters</h1>
22 JaCoCo uses a set of different counters to calculate coverage metrics. All
25 optionally embedded in class files. This approach allows efficient on-the-fly
30 information to calculate line level coverage and provide source highlighting.
33 code which sometimes results in unexpected code coverage results.
36 <h2>Instructions (C0 Coverage)</h2>
40 <i>Instruction coverage</i> provides information about the amount of code that
46 <h2>Branches (C1 Coverage)</h2>
49 JaCoCo also calculates <i>branch coverage</i> for all <code>if</code> and
52 Branch coverage is always available, even in absence of debug information in
63 <li>No coverage: No branches in the line has been executed (red diamond)</li>
64 <li>Partial coverage: Only a part of the branches in the line have been
66 <li>Full coverage: All branches in the line have been executed (green diamond)</li>
72 JaCoCo also calculates cyclomatic complexity for each non-abstract method and
90 v(G) = E - N + 2
102 v(G) = B - D + 1
107 Based on the coverage status of each branch JaCoCo also calculates covered and
117 For all class files that have been compiled with debug information, coverage
130 <li>No coverage: No instruction in the line has been executed (red
132 <li>Partial coverage: Only a part of the instruction in the line have been
134 <li>Full coverage: All instructions in the line have been executed (green
143 file. JaCoCo calculates line coverage for classes and source file based on the
150 Each non-abstract method contains at least one instruction. A method is