An Evolutionary Approach to Software Modularity Analysis

  • Authors:
  • Sunny Huynh;Yuanfang Cai

  • Affiliations:
  • Drexel University;Drexel University

  • Venue:
  • ACoM '07 Proceedings of the First International Workshop on Assessment of Contemporary Modularization Techniques
  • Year:
  • 2007

Quantified Score

Hi-index 0.00

Visualization

Abstract

Modularity determines software quality in terms of evolveability, changeability, maintainability, etc. and a module could be a vertical slicing through source code directory structure or class boundary. Given a modular- ized design, we need to determine whether its implementa- tion realizes the designed modularity. Manually comparing source code modular structure with abstracted design mod- ular structure is tedious and error-prone. In this paper, we present an automated approach to check the conformance of source code modularity to the designed modularity. Our approach uses design structure matrices (DSMs) as a uniform representation; it uses existing tools to automatically derive DSMs from the source code and de- sign, and uses a genetic algorithm to automatically cluster DSMs and check the conformance. We applied our approach to a small canonical software system as a proof of concept experiment. The results sup- ported our hypothesis that it is possible to check the con- formance between source code structure and design struc- ture automatically, and this approach has the potential to be scaled for use in large software systems.