Skip to main navigation Skip to search Skip to main content

Aspect mining using model-based clustering

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

Legacy systems contain critical and complex business code that has been in use for a long time. This code is difficult to understand, maintain, and evolve, in large part due to crosscutting concerns: software system features, such as persistence, logging, and error handling, whose implementation is spread across multiple modules. Aspect-oriented techniques separate crosscutting concerns from the base code, using separate modules called aspects and, thus, simplify the legacy code. Aspect mining techniques identify aspect candidates so that the legacy code can then be refactored into aspects. This study shows that model-based clustering using a carefully selected vector-space of features can be more effective than extant aspect mining methods based on heuristic methods as such hierarchical or partitional clustering. Three model-based algorithms were experimentally compared against existing heuristic methods, such as k-means clustering and agglomerative hierarchical clustering, using six different vector-space models. Model-based algorithms performed better in not spreading the methods of the concerns across the multiple clusters and were significantly better at partitioning the data such that, given an ordered list of clusters, fewer clusters and methods were needed to be analyzed to find all the concerns. In addition, model-based algorithms automatically determined the optimal number of clusters, a great advantage over the heuristic-based algorithms. Lastly, the newly defined vector-space models performed better, relative to aspect mining, than the previously defined vector-space models.

Original languageEnglish
Title of host publication2012 Proceedings of IEEE SoutheastCon, SOUTHEASTCON 2012
PublisherInstitute of Electrical and Electronics Engineers Inc.
ISBN (Print)9781467313742
DOIs
StatePublished - 2012
Event2012 IEEE SoutheastCon, SOUTHEASTCON 2012 - Orlando, FL, United States
Duration: Mar 15 2012Mar 18 2012

Publication series

Name2012 Proceedings of IEEE Southeastcon

Conference

Conference2012 IEEE SoutheastCon, SOUTHEASTCON 2012
Country/TerritoryUnited States
CityOrlando, FL
Period3/15/123/18/12

ASJC Scopus Subject Areas

  • Computer Networks and Communications
  • Software
  • Electrical and Electronic Engineering
  • Control and Systems Engineering
  • Signal Processing

Keywords

  • Aspect Mining
  • Aspect-Oriented Programming
  • Crosscutting Concerns
  • Fan-in metric
  • Heuristic-Based Clustering
  • Model-Based Clustering
  • Software Metrics

Fingerprint

Dive into the research topics of 'Aspect mining using model-based clustering'. Together they form a unique fingerprint.

Cite this