On identifying bug patterns in aspect-oriented programs

Sai Zhang, Jianjun Zhao

Research output: Chapter in Book/Report/Conference proceedingConference contribution

19 Citations (Scopus)

Abstract

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.

Original languageEnglish
Title of host publicationProceedings - 31st Annual International Computer Software and Applications Conference, COMPSAC 2007
Pages431-438
Number of pages8
DOIs
Publication statusPublished - Dec 31 2007
Externally publishedYes
Event31st Annual International Computer Software and Applications Conference, COMPSAC 2007 - Beijing, China
Duration: Jul 24 2007Jul 27 2007

Publication series

NameProceedings - International Computer Software and Applications Conference
Volume1
ISSN (Print)0730-3157

Other

Other31st Annual International Computer Software and Applications Conference, COMPSAC 2007
CountryChina
CityBeijing
Period7/24/077/27/07

    Fingerprint

All Science Journal Classification (ASJC) codes

  • Software
  • Computer Science Applications

Cite this

Zhang, S., & Zhao, J. (2007). On identifying bug patterns in aspect-oriented programs. In Proceedings - 31st Annual International Computer Software and Applications Conference, COMPSAC 2007 (pp. 431-438). [4291035] (Proceedings - International Computer Software and Applications Conference; Vol. 1). https://doi.org/10.1109/COMPSAC.2007.159