Identifying Crosscutting Concerns Using Fan-In Analysis

  • Authors:
  • Marius Marin;Arie Van Deursen;Leon Moonen

  • Affiliations:
  • Delft University of Technology, The Netherlands;Delft University of Technology and CWI, The Netherlands;Delft University of Technology, The Netherlands

  • Venue:
  • ACM Transactions on Software Engineering and Methodology (TOSEM)
  • Year:
  • 2007

Quantified Score

Hi-index 0.02

Visualization

Abstract

Aspect mining is a reverse engineering process that aims at finding crosscutting concerns in existing systems. This article proposes an aspect mining approach based on determining methods that are called from many different places, and hence have a high fan-in, which can be seen as a symptom of crosscutting functionality. The approach is semiautomatic, and consists of three steps: metric calculation, method filtering, and call site analysis. Carrying out these steps is an interactive process supported by an Eclipse plug-in called FINT. Fan-in analysis has been applied to three open source Java systems, totaling around 200,000 lines of code. The most interesting concerns identified are discussed in detail, which includes several concerns not previously discussed in the aspect-oriented literature. The results show that a significant number of crosscutting concerns can be recognized using fan-in analysis, and each of the three steps can be supported by tools.