TY - GEN
T1 - On identifying bug patterns in aspect-oriented programs
AU - Zhang, Sai
AU - Zhao, Jianjun
PY - 2007
Y1 - 2007
N2 - 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 cross-cutting 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.
AB - 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 cross-cutting 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.
UR - http://www.scopus.com/inward/record.url?scp=37349044241&partnerID=8YFLogxK
UR - http://www.scopus.com/inward/citedby.url?scp=37349044241&partnerID=8YFLogxK
U2 - 10.1109/COMPSAC.2007.159
DO - 10.1109/COMPSAC.2007.159
M3 - Conference contribution
AN - SCOPUS:37349044241
SN - 9780769528700
T3 - Proceedings - International Computer Software and Applications Conference
SP - 431
EP - 438
BT - Proceedings - 31st Annual International Computer Software and Applications Conference, COMPSAC 2007
T2 - 31st Annual International Computer Software and Applications Conference, COMPSAC 2007
Y2 - 24 July 2007 through 27 July 2007
ER -