Hi,

I would like to know how the linecoverage plugin counts the covered and
uncovered lines. I mean what lines are not considered at all (comments,
imports,...?). Some times method-heads are marked as covered, sometimes not
(in particular methods without parameters are not marked, but also some
methods with parameters are marked some not).

For example at one of my files the count of covered and uncovered lines
seems ok as I have 49 covered lines, 51 total lines and 2 are marked as
uncovered and one as partially. So the numbers seem to fit: 49 covered plus
3 not covered. Although I don't know how the lines are counted. If I take
out all blank lines and imports I get about 60 lines.

At another file the numbers doesn't seem to fit. there are 60 covered lines
and 72 total but there are only 8 marked as uncovered.

May this be that the java compiler adds some special things to the bytecode
(like the default constructor if none is explicitly in the code)?

yours
Andreas
-- 
View this message in context: 
http://www.nabble.com/Linecoverage---linecount-tf3160835.html#a8766858
Sent from the Eclipse - Tracing and Profiling Tools - Dev mailing list archive 
at Nabble.com.

_______________________________________________
tptp-tracing-profiling-tools-dev mailing list
tptp-tracing-profiling-tools-dev@eclipse.org
https://dev.eclipse.org/mailman/listinfo/tptp-tracing-profiling-tools-dev

Reply via email to