Analyzing the Context of Bug-Fixing Changes in the OpenStack Cloud Computing Platform

Domenico Cotroneo, Luigi De Simone, Antonio Ken Iannillo, Roberto Natella, Stefano Rosiello +1 more
8/29/2019
cs.SE

Official code: dessertlab/PySA2 (1 star, HTML, GPL-3.0, last commit 2022-12-08).

Abstract

Many research areas in software engineering, such as mutation testing, automatic repair, fault localization, and fault injection, rely on empirical knowledge about recurring bug-fixing code changes. Previous studies in this field focus on what has been changed due to bug-fixes, such as in terms of code edit actions.

Show full abstract

However, such studies did not consider where the bug-fix change was made (i.e., the context of the change), but knowing about the context can potentially narrow the search space for many software engineering techniques (e.g., by focusing mutation only on specific parts of the software). Furthermore, most previous work on bug-fixing changes focused on C and Java projects, but there is little empirical evidence about Python software. Therefore, in this paper we perform a thorough empirical analysis of bug-fixing changes in three OpenStack projects, focusing on both the what and the where of the changes. We observed that all the recurring change patterns are not oblivious with respect to the surrounding code, but tend to occur in specific code contexts.

View on arXivView PDF

Code Implementations(1)

dessertlab/PySA2Official100%
GPL-3.0

PySA2 is the Python Source-code Analyzer for Python 2.7 that exploits Python AST

11HTML, PythonAug 5, 20193 years agoGPL-3.0

Similar Papers

Cite this paper

@article{cotroneo2019analyzing,
  title  = {Analyzing the Context of Bug-Fixing Changes in the OpenStack Cloud Computing Platform},
  author = {Domenico Cotroneo and Luigi De Simone and Antonio Ken Iannillo and Roberto Natella and Stefano Rosiello and Nematollah Bidokhti},
  year   = {2019},
  eprint = {1908.11297},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1908.11297}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1908.11297.svg)](https://codeofpaper.com/paper/1908.11297)

Discussion