Using information retrieval based coupling measures for impact analysis

Denys Poshyvanyk, Andrian Marcus, Rudolf Ferenc, Tibor Gyimóthy

Research output: Contribution to journalArticle

128 Citations (Scopus)

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.

Original languageEnglish
Pages (from-to)5-32
Number of pages28
JournalEmpirical Software Engineering
Volume14
Issue number1
DOIs
Publication statusPublished - Feb 1 2009

    Fingerprint

Keywords

  • Change prediction
  • Coupling measurement
  • Impact analysis
  • Information retrieval
  • Latent semantic indexing

ASJC Scopus subject areas

  • Software

Cite this