Publication Type

Journal Article

Version

publishedVersion

Publication Date

12-2019

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 cochange 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.

Keywords

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

Discipline

Software Engineering

Research Areas

Software and Cyber-Physical Systems

Publication

Software Quality Journal

Volume

27

Issue

4

First Page

1481

Last Page

1503

ISSN

0963-9314

Identifier

10.1007/s11219-019-09456-3

Publisher

Springer

Additional URL

https://doi.org/10.1007/s11219-019-09456-3

Share

COinS