Using information retrieval based coupling measures for impact analysis

  • Authors:
  • Denys Poshyvanyk;Andrian Marcus;Rudolf Ferenc;Tibor Gyimóthy

  • Affiliations:
  • Computer Science Department, The College of William and Mary, Williamsburg, USA 23185;Department of Computer Science, Wayne State University, Detroit, USA 48202;Department of Software Engineering, University of Szeged, Szeged, Hungary;Department of Software Engineering, University of Szeged, Szeged, Hungary

  • Venue:
  • Empirical Software Engineering
  • Year:
  • 2009

Quantified Score

Hi-index 0.00

Visualization

Abstract

Coupling is an important property of software systems, which directly impacts program comprehension. In addition, the strength of coupling measured between modules in software is often used as a predictor of external software quality attributes such as changeability, ripple effects of changes and fault-proneness. This paper presents a new set of coupling measures for Object-Oriented (OO) software systems measuring conceptual coupling of classes. Conceptual coupling is based on measuring the degree to which the identifiers and comments from different classes relate to each other. This type of relationship, called conceptual coupling, is measured through the use of Information Retrieval (IR) techniques. The proposed measures are different from existing coupling measures and they capture new dimensions of coupling, which are not captured by the existing coupling measures. The paper investigates the use of the conceptual coupling measures during change impact analysis. The paper reports the findings of a case study in the source code of the Mozilla web browser, where the conceptual coupling metrics were compared to nine existing structural coupling metrics and proved to be better predictors for classes impacted by changes.