Design and Evaluation of an Automated Aspect Mining Tool

Author : Shepherd, David; Gibson, Emily; Pollock, Lori
Booktitle : Mid-Atlantic Student Workshop on Programming Languages and Systems (MASPLAS ’04)
Date : Apr 2004
Publisher : IEEE
Keyword(s) : Aspect Mining, Aspect Oriented Programming, analysis
Document Type : In Conference Proceedings

Abstract :

Attention to aspect oriented programming (AOP) is rapidly growing as its benefits in large software system development and maintenance are increasingly recognized. However, existing large software systems, which could benefit most from refactoring in AOP, still remain unchanged in practice, due to the high cost of the refactoring. Automatic identification and extraction of aspects would not only enable migration of legacy systems to AOP, but also prevent current systems from accumulating scattered and duplicated code. In this paper, we present the design, implementation, and evaluation od an aspect mining analysis, which automatically identifies desirable candidates for refactoring into AOP, without requiring input from the user or predefined queries. By exploiting the program dependence graph and abstract syntax tree representations of a program, our analysis is able to automatically identify a much larger set of valuable refactoring candidates than current aspect mining techniques, as demonstrated by empirical evaluation of our automatic mining analysis on two large software systems.

PS Link

PDF Link