Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AJDT » EMMA and AspectJ
EMMA and AspectJ [message #599019] Tue, 22 July 2008 06:29
Uwe  is currently offline Uwe
Messages: 3
Registered: September 2009
Junior Member
Hi,

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
coverage analysis.

Do you know this problem - and a solution?

Thanks & regards
Uwe
Previous Topic:RCP Application LTW problem
Next Topic:EMMA and AspectJ
Goto Forum:
  


Current Time: Thu Jul 31 23:56:47 EDT 2014

Powered by FUDForum. Page generated in 0.01697 seconds