Name: kbR10066 Date: 03/11/2002
JDK's javac compiler sometimes generates extra accessor methods for private members,
and their mapping to the source code seems to always coincide with the
mapping of the private members. As the result, when marked-up source files are generated,
each private method is annotated with two method execution counters, one is the execution
counter of this private method and the other is the counter for that accessor method which is
not present in the source code:
356: MET=> 31 private byte[] serialize(
MET=> 0 ^
BLO=> 0 ^
357: Serializable s
358: ) {
359: BLO=> 31 try {
And this often confuses users. It would be good to provide an option to the report generator
which would allow to skip processing of accessor method coverage data, so that their execuction
counters would not appear in the marked-up sources and would not be added to the overall stats.
======================================================================