Re: Are Limitations in AspectJ 1.1 satisfied with1.5?

Günter Kniesel <[email protected]>
Newsgroups gmane.comp.programming.aspect.general
Message-ID <[email protected]>
Pascal Costanza schrieb:
> On 6 Sep 2006, at 02:19, Ron Bodkin wrote:

>>In my view, the major use case where AspectJ isn't fine-grained  
>>enough is measuring code coverage for tests. 
> 
> 
> JMangler has already been used successfully in industrial projects  
> for doing code coverage. I think it's an advantage in this case that  
> you don't have to worry about a dedicated pointcut language, but can  
> use the full Java programming language for expressing what you are  
> interested in at a very low level, at least for the time being.  
> Approaches based on logic metaprogramming are probably also appropriate.

Right. A paper describing the initial approach can be found at
http://www.cs.uni-bonn.de/~gk/papers/[email protected]:

CC4J - Code Coverage for Java - A Load-Time Adaptation Success Story
     Günter Kniesel, Michael Austermann.
     In Component Deployment - IFIP/ACM Working Confrerence, CD 2002, 
Berlin, Germany, June 20-21, 2002, Proceedings, Springer LNCS 2370, pp. 
155-169, 2002. ISBN 3-540-43847-5.

Here is the coverage tool built by SCOOP using JMangler:
http://www.scoop-gmbh.de/scoop/cc4j.htm
http://www.scoop-gmbh.de/scoop/downloads.htm
I wonder what happened to the English version of those pages...
Contact Michael Austermann if you want more information than
babelfishing those pages will give you.

 > On 6 Sep 2006, at 02:19, Ron Bodkin wrote:
 >
 >>I believe the right direction  there is to be able to write
 >>pointcuts that match branching without picking out line
 >>numbers or variable names. That might also be of some value for really
 >>fine-grained spotlighting when profiling too. I believe that the EOS
 >>research project offers this kind of more fine grained yet anonymous
 >>pointcut although I haven't looked it in a while...

LogicAJ 2 offers pattern-based fine-grained pointcuts for any Java 
statement or expression, see
http://roots.iai.uni-bonn.de/research/logicaj/downloads/papers/RhoKnieselAppeltauer%20-%20FOAL06.pdf

@incollection{rho:foal06,
    author    = {Tobias Rho and G\{"u}nter Kniesel and Malte Appeltauer},
    title     = {Fine-grained Generic Aspects},
    booktitle = {FOAL 2006 -- Foundations of Aspect-Oriented Languages 
Workshop, March 21, 2006, Bonn, Germany},
    editor = {Gary Leavens and Curtis Clifton and Ralf L\{"a}mmel and 
Mira Mezini},
    url = {http://roots.iai.uni-bonn.de/research/logicaj/publications},
    month = {Mar},
    year = {2006},
}

A public release of LAJ2 is not yet available but Malte might be willing
to share pre-releases if you ask him. I guess he'll be back from
his long post-diploma-thesis-completion-vacation in October ;)

Günter


_______________________________________________
discuss mailing list    -    [email protected]

To unsubscribe and change options, go to:
http://aosd.net/mailman/listinfo/discuss_aosd.net

Check out the AOSD.net Wiki: http://aosd.net/wiki
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.