Title :
Detection of Interferences in Aspect-Oriented Programs Using Executable Assertions
Author :
Lauret, J. ; Waeselynck, Helene ; Fabre, Jean-Charles
Author_Institution :
LAAS, Toulouse, France
Abstract :
Aspect-oriented programming (AOP) is a technique that promotes separation of concerns. Unfortunately, it still suffers from well-known composition issues, in particular from undesirable interferences when multiple concerns are applied at the same join point. In this paper we propose an approach to detect interferences side effect using executable assertions. The assertions are inserted in the aspect chain to detect various types of interferences. The implementation is based on the AIRIA resolver construct, recently introduced to better control conflicting aspects in AspectJ. Resolvers add observation points that were lacking in AspectJ. We propose to take advantage of this to implement automated detection of interferences at execution time. We study the feasibility of this approach and demonstrate it on artificial examples.
Keywords :
aspect-oriented programming; AIRIA resolver construct; AOP technique; AspectJ; aspect chain; aspect-oriented programming technique; automatic interference detection; executable assertions; execution time; observation points; Data structures; Encryption; Instruments; Interference; Monitoring; Programming; Weaving; Aspect interference; executable assertions; verification;
Conference_Titel :
Software Reliability Engineering Workshops (ISSREW), 2012 IEEE 23rd International Symposium on
Conference_Location :
Dallas, TX
Print_ISBN :
978-1-4673-5048-8
DOI :
10.1109/ISSREW.2012.34