Name: kbR10066 Date: 01/15/2003
Suppose we have two coverage items with and w/o test scale:
Item1: (no test scale -> 1 test)
3 1 13 0
Item2: (test scale size is 2 -> 2 tests)
3 1 13 7 #1
This means that a test (say, test0) has not covered item1,
test1 has covered item2 and test2 has not covered item2.
If we merge files containing these (corresponding) items:
> java com.sun.tdk.jcov.MergerMain -scale item1.jcov item2.jcov
Then the merged item will be:
3 1 13 7 #3
as if all tests (test0, test1 and test2) cover this item, which is
incorrect. Correctly merged item would look like:
3 1 13 7 #2
(only test1 covers this item).
======================================================================