|EMMA and AspectJ [message #599019]
||Tue, 22 July 2008 10:29
Registered: September 2009
when the code coverage tool EMMA is run on AspectJ-advised code, the
reported line coverage for methods with around-advices is always 100% (if
it was called at all), and the reported number of lines is always 1 (one).
I found some posts about problems with missing line numbers in byte code.
This however seems not to be the problem here - in my test there are no
other 3rd party jars involved except emma and aspectj. The decompiled byte
code also shows the line numbers.
A work-around is to instrument first with emma, then weave the aspects.
But this messes up out production process, and omits the aspects from
Do you know this problem - and a solution?
Thanks & regards
Powered by FUDForum
. Page generated in 0.02398 seconds