Pieces of contextual information suitable for predicting co-changes? An empirical study

Igor Scaliante Wiese, Rodrigo Takashi Kuroda, Igor Steinmacher, Gustavo Ansaldi Oliva, Reginaldo Ré, Christoph Treude, Marco Aurelio Gerosa

Research output: Contribution to journalArticlepeer-review

2 Scopus citations

Abstract

Models that predict software artifact co-changes have been proposed to assist developers in altering a software system and they often rely on coupling. However, developers have not yet widely adopted these approaches, presumably because of the high number of false recommendations. In this work, we conjecture that the contextual information related to software changes, which is collected from issues (e.g., issue type and reporter), developers’ communication (e.g., number of issue comments, issue discussants and words in the discussion), and commit metadata (e.g., number of lines added, removed, and modified), improves the accuracy of co-change prediction. We built customized prediction models for each co-change and evaluated the approach on 129 releases from a curated set of 10 Apache Software Foundation projects. Comparing our approach with the widely used association rules as a baseline, we found that contextual information models and association rules provide a similar number of co-change recommendations, but our models achieved a significantly higher F-measure. In particular, we found that contextual information significantly reduces the number of false recommendations compared to the baseline model. We conclude that contextual information is an important source for supporting change prediction and may be used to warn developers when they are about to miss relevant artifacts while performing a software change.

Original languageEnglish (US)
Pages (from-to)1481-1503
Number of pages23
JournalSoftware Quality Journal
Volume27
Issue number4
DOIs
StatePublished - Dec 1 2019

Keywords

  • Change coupling
  • Change impact analysis
  • Change propagation
  • Co-change prediction
  • Contextual information
  • Logical coupling
  • Social factors

ASJC Scopus subject areas

  • Software
  • Safety, Risk, Reliability and Quality

Fingerprint

Dive into the research topics of 'Pieces of contextual information suitable for predicting co-changes? An empirical study'. Together they form a unique fingerprint.

Cite this