2013 IEEE 37th Annual Computer Software and Applications Conference (2007)
July 24, 2007 to July 27, 2007
Jianjun Zhao , Shanghai Jiao Tong University
Sai Zhang , Shanghai Jiao Tong University
Bug patterns are erroneous code idioms or bad coding practices that have been proved fail time and time again. They mainly arise from the misunderstanding of language features, the use of erroneous design patterns or simple mistakes sharing the common behaviors. Aspect-oriented programming (AOP) is a new technique to separate the crosscutting concerns for improving modularity in software design and implementation. However, there is no effective debugging technique for aspect-oriented programs until now and none of the prior researches focused on the identification of bug patterns in aspect-oriented programs. In this paper, we present six bug patterns in AspectJ programming language and show the corresponding example for each bug pattern to help to illustrate the symptoms of these patterns. We take this as the first step to provide an underlying basis on testing and debugging of AspectJ programs.
Jianjun Zhao, Sai Zhang, "On Identifying Bug Patterns in Aspect-Oriented Programs", 2013 IEEE 37th Annual Computer Software and Applications Conference, vol. 01, no. , pp. 431-438, 2007, doi:10.1109/COMPSAC.2007.159