Not all classes are created equal: toward a recommendation system for focusing testing

  • Authors:
  • Segla Kpodjedo;Filippo Ricca;Philippe Galinier;Giuliano Antoniol

  • Affiliations:
  • Éole Polytechnique de Montréal, Québec, Canada;University of Genoa, Italy;Éole Polytechnique de Montréal, Québec, Canada;Éole Polytechnique de Montréal, Québec, Canada

  • Venue:
  • Proceedings of the 2008 international workshop on Recommendation systems for software engineering
  • Year:
  • 2008

Quantified Score

Hi-index 0.00

Visualization

Abstract

When evolving an object oriented system, one relevant question is the following: given a finite amount of resources, what are the most critical classes on which testers should focus their attention? In this paper, we propose a new way for identifying critical classes: classes often changed and playing a key role in the system. We rely on error correcting graph matching (ECGM) and random walks to associate each class with a pair of values representative of the frequency of changes and the class overall connectivity. With those two metrics, we have a grid for assessing the criticality of any class in the system. Classes with high values in both metrics should be identified and reported to developers, as a residual error in those classes will more likely deeply impact the whole system. We show the feasibility of the proposed approach by studying the Mozilla suite evolution over the year 2007.