diff options
author | Marc R. Hoffmann <hoffmann@mountainminds.com> | 2014-05-16 15:43:29 +0200 |
---|---|---|
committer | Marc R. Hoffmann <hoffmann@mountainminds.com> | 2014-05-16 15:50:46 +0200 |
commit | 1fadbfb9384433f00e409ab27328d147445c8d9f (patch) | |
tree | 8d85826d6a62368f6cfc3e8799a7823a9a0e2ca8 /org.jacoco.doc | |
parent | 2ac5b7b2e0496beb0af376de182c7e8eed473a00 (diff) | |
download | jacoco-1fadbfb9384433f00e409ab27328d147445c8d9f.tar.gz |
Added clarification about overlapping lines in the same source file.
Diffstat (limited to 'org.jacoco.doc')
-rw-r--r-- | org.jacoco.doc/docroot/doc/counters.html | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/org.jacoco.doc/docroot/doc/counters.html b/org.jacoco.doc/docroot/doc/counters.html index d7784225..a46a66f2 100644 --- a/org.jacoco.doc/docroot/doc/counters.html +++ b/org.jacoco.doc/docroot/doc/counters.html @@ -86,7 +86,9 @@ </p> <blockquote> + <p> v(G) = E - N + 2 + </p> </blockquote> <p> @@ -96,7 +98,9 @@ </p> <blockquote> + <p> v(G) = B - D + 1 + </p> </blockquote> <p> @@ -131,6 +135,15 @@ background)</li> </ul> +<p> + Depending on source formatting a single line of a source code may refer to + multiple methods or multiple classes. Therefore the line count of methods + cannot be simply added to obtain the total number for the containing class. + The same holds true for the lines of multiple classes within a single source + file. JaCoCo calculates line coverage for classes and source file based on the + actual source lines covered. +</p> + <h2>Methods</h2> <p> |