Detection of interferences in aspect-oriented programs using executable assertions

被引:4
作者
Lauret, Jimmy [1 ]
Waeselynck, Helene [1 ]
Fabre, Jean-Charles [1 ]
机构
[1] CNRS, LAAS, F-31400 Toulouse, France
来源
23RD IEEE INTERNATIONAL SYMPOSIUM ON SOFTWARE RELIABILITY ENGINEERING WORKSHOPS (ISSRE 2012) | 2012年
关键词
Aspect interference; executable assertions; verification; ADVICE COMPOSITION;
D O I
10.1109/ISSREW.2012.34
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
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.
引用
收藏
页码:165 / 170
页数:6
相关论文
共 11 条
[1]   A Test-Driven Approach to Developing Pointcut Descriptors in AspectJ [J].
Delamare, Romain ;
Baudry, Benoit ;
Ghosh, Sudipto ;
Le Traon, Yves .
SECOND INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION, AND VALIDATION, PROCEEDINGS, 2009, :376-+
[2]  
Dinkelaker T, 2009, AOSD'09: 8TH INTERNATIONAL CONFERENCE ON ASPECT-ORIENTED SOFTWARE DEVELOPMENT, P51
[3]  
Douence R, 2002, LECT NOTES COMPUT SC, V2487, P173
[4]  
Katz E, 2009, FOAL09: FOUNDATIONS OF ASPECT-ORIENTED LANGUAGES, P7
[5]  
Kiczales G, 1997, LECT NOTES COMPUT SC, V1241, P220, DOI 10.1007/BFb0053381
[6]  
Lauret J., 2011, Proceedings of the 13th European Workshop on Dependable Computing, P93, DOI DOI 10.1145/1978582.1978602
[7]  
Marot A., 2010, Proceedings of the 9th International Conference on Aspect-Oriented Software Development, P157, DOI [10.1145/1739230.1739249, DOI 10.1145/1739230.1739249]
[8]  
Marot A, 2009, AOP METADATA SOFTWAR
[9]  
Pawlak R, 2005, LECT NOTES COMPUT SC, V3535, P163
[10]  
Takeyama F, 2010, LECT NOTES COMPUT SC, V6144, P122, DOI 10.1007/978-3-642-14046-4_9