A fast algorithm to locate concepts in execution traces

  • Authors:
  • Soumaya Medini;Philippe Galinier;Massimiliano Di Penta;Yann-Gaël Guéhéneuc;Giuliano Antoniol

  • Affiliations:
  • DGIGL, école Polytechnique de Montréal, Canada;DGIGL, école Polytechnique de Montréal, Canada;RCOST, University of Sannio, Italy;DGIGL, école Polytechnique de Montréal, Canada;DGIGL, école Polytechnique de Montréal, Canada

  • Venue:
  • SSBSE'11 Proceedings of the Third international conference on Search based software engineering
  • Year:
  • 2011

Quantified Score

Hi-index 0.00

Visualization

Abstract

The identification of cohesive segments in execution traces is an important step in concept location which, in turns, is of paramount importance for many program-comprehension activities. In this paper, we reformulate concept location as a trace segmentation problem solved via dynamic programming. Differently to approaches based on genetic algorithms, dynamic programming can compute an exact solution with better performance than previous approaches, even on long traces. We describe the new problem formulation and the algorithmic details of our approach. We then compare the performances of dynamic programming with those of a genetic algorithm, showing that dynamic programming reduces dramatically the time required to segment traces, without sacrificing precision and recall; even slightly improving them.