Paths with indirect exceptions not detected as executed
Brought to you by:
vlad_r
EMMA correctly detects the execution of a path that directly throws an exception, but does not detect the execution of a path that calls a method which throws an exception.
EMMA build: EMMA 2.0.5312
JDK or JRE:
java version "1.4.2_10"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_10-b03)
Java HotSpot(TM) Client VM (build 1.4.2_10-b03, mixed mode)
Using Eclipse 3.1.1 on Linux.
Executed using the following command line:
java emmarun -filter +org.phci.emma.* -report html -sp src -cp build/classes org.phci.emma.EmmaTest
The EmmaTest.java source file is attached.
Java source reproducing the defect.
Tar of the entire EmmaTest Eclipse project.
Logged In: YES
user_id=1679326
Originator: YES
File Added: EmmaTest.tar
Logged In: YES
user_id=1679326
Originator: YES
This may be similar to 1566266.