• DocumentCode
    3281332
  • Title

    On Identifying Bug Patterns in Aspect-Oriented Programs

  • Author

    Zhang, Sai ; Zhao, Jianjun

  • Author_Institution
    Shanghai Jiao Tong Univ., Shanghai
  • Volume
    1
  • fYear
    2007
  • fDate
    24-27 July 2007
  • Firstpage
    431
  • Lastpage
    438
  • 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 AspectJprogramming 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.
  • Keywords
    object-oriented programming; program debugging; aspect-oriented programming; bug pattern identification; cross-cutting concern; erroneous code idioms; software design; Computer bugs; Computer languages; Computer science; Java; Pattern classification; Programming profession; Software debugging; Software maintenance; Software quality; Software testing;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Computer Software and Applications Conference, 2007. COMPSAC 2007. 31st Annual International
  • Conference_Location
    Beijing
  • ISSN
    0730-3157
  • Print_ISBN
    0-7695-2870-8
  • Type

    conf

  • DOI
    10.1109/COMPSAC.2007.159
  • Filename
    4291035