Skip to main content

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 10:29
Uwe  is currently offline Uwe Friend
Messages: 3
Registered: September 2009
Junior Member

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
Previous Topic:RCP Application LTW problem
Next Topic:EMMA and AspectJ
Goto Forum:

Current Time: Wed Jun 20 15:47:30 GMT 2018

Powered by FUDForum. Page generated in 0.01641 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top