Mining Crosscutting Concerns Through Random Walks

Charles Zhang and Hans-Arno Jacobsen.

IEEE Transactions on Sofware Engineering, 2011.
Accepted July 2011.

Abstract

Inspired by our past manual aspect mining experiences, this paper describes a probabilistic random walk model to approximate the process of discovering crosscutting concerns in the absence of the domain knowledge about the investigated application. The random walks are performed on the concept graphs extracted from the program sources to calculate metrics of “utilization” and “aggregation” for each of the program elements. We rank all the program elements based on these metrics and use a threshold to produce a set of candidates that represent crosscutting concerns(CCs). We implemented the algorithm as the Prism CC miner (PCM) and evaluated PCM on Java applications ranging from a small-scale drawing application to a medium-sized middleware application and to a large-scale enterprise application server. Our quantification shows that PCM is able to produce comparable results (95% accuracy for top 125 candidates) with respect to the manual mining effort. PCM is also significantly more effective as compared to the conventional approach.

Download



Tags: aspect mining, aspect-oriented programming, aspect-oriented middleware


Readers who enjoyed the above work, may also like the following:


  • Efficiently Mining Crosscutting Concerns Through Random Walks.
    Charles Zhang and Hans-Arno Jacobsen.
    In AOSD 2007: 6th International Conference on Aspect Oriented Systems and Design, pages 226-238, Vancouver, BC, Canada, March 2007.
    Acceptance rate: 18%.
    Tags: aspect mining, aspect-oriented middleware, aspect-oriented programming
  • PRISM is Research in aSpect Mining.
    Charles Zhang and Hans-Arno Jacobsen.
    In Object-oriented Programming Systems, Languages, and Applications (OOPSLA), pages 20-21, Vancouver, BC, May 2004.
    Companion Proceedings.
    Tags: aspect mining, aspect-oriented middleware, aspect-oriented programming
  • Quantifying Aspects in Middleware Platforms.
    Charles Zhang and Hans-Arno Jacobsen.
    In Aspect Oriented Software Development (AOSD), pages 130-139, Boston, MA, March 2003.
    Tags: aspect mining, aspect-oriented middleware, aspect-oriented programming