Detecting Broken Pointcuts Using Structural Commonality and Degree of Interest (bibtex)
by Raffi Khatchadourian, Awais Rashid, Hidehiko Masuhara and Takuya Watanabe
Abstract:
Pointcut fragility is a well-documented problem in Aspect-Oriented Programming; changes to the base-code can lead to join points incorrectly falling in or out of the scope of pointcuts. Deciding which pointcuts have broken due to base-code changes is a daunting venture, especially in large and complex systems. We present an automated approach that recommends pointcuts that are likely to require modification due to a particular base- code change, as well as ones that do not. Our hypothesis is that join points selected by a pointcut exhibit common structural characteristics. Patterns describing such commonality are used to recommend pointcuts that have potentially broken with a degree of confidence as the developer is typing. The approach is implemented as an extension to the popular Mylyn Eclipse IDE plug-in, which maintains focused contexts of entities relevant to the task at hand using a Degree of Interest (DOI) model. We show that it is accurate in revealing broken pointcuts by applying it to multiple versions of several open source projects and evaluating the quality of the recommendations produced against actual modifications. We found that our tool made broken pointcuts 2.14 times more interesting in the DOI model than unbroken ones, with a p-value under 0.1, indicating a significant difference in final DOI value between the two kinds of pointcuts (i.e., broken and unbroken).
Reference:
Detecting Broken Pointcuts Using Structural Commonality and Degree of Interest (Raffi Khatchadourian, Awais Rashid, Hidehiko Masuhara and Takuya Watanabe), In Science of Computer Programming, volume 150, 2017. (accepted 2017-06-26)
Bibtex Entry:
@article{khatchadourian2017scp,
  title = {Detecting Broken Pointcuts Using Structural Commonality and Degree of Interest},
  journal = {Science of Computer Programming },
  volume = 150,
  optnumber = {.},
  pages = {56--74},
  year = 2017,
  note = {accepted 2017-06-26},
  month = dec,
  issn = {0167-6423},
  doi = {10.1016/j.scico.2017.06.011},
  url = {http://www.sciencedirect.com/science/article/pii/S0167642317301326},
  author = {Raffi Khatchadourian and Awais Rashid  and Hidehiko Masuhara and Takuya Watanabe},
  pdf = {scp2017.pdf},
  keywords = {Software development environments},
  keywords = {Software maintenance},
  keywords = {Software tools },
  keywords = {AspectJ},
  abstract = {Pointcut fragility is a well-documented problem in Aspect-Oriented Programming; changes to the base-code can lead to join points incorrectly falling in or out of the scope of pointcuts. Deciding which pointcuts have broken due to base-code changes is a daunting venture, especially in large and complex systems. We present an automated approach that recommends pointcuts that are likely to require modification due to a particular base- code change, as well as ones that do not. Our hypothesis is that join points selected by a pointcut exhibit common structural characteristics. Patterns describing such commonality are used to recommend pointcuts that have potentially broken with a degree of confidence as the developer is typing. The approach is implemented as an extension to the popular Mylyn Eclipse IDE plug-in, which maintains focused contexts of entities relevant to the task at hand using a Degree of Interest (DOI) model. We show that it is accurate in revealing broken pointcuts by applying it to multiple versions of several open source projects and evaluating the quality of the recommendations produced against actual modifications. We found that our tool made broken pointcuts 2.14 times more interesting in the DOI model than unbroken ones, with a p-value under 0.1, indicating a significant difference in final DOI value between the two kinds of pointcuts (i.e., broken and unbroken).
}
}
Powered by bibtexbrowser