An Empirical Study on the Characteristics of Python Fine-Grained Source Code Change Types
Authors:
- Wei LinWLWei Lin
- Zhifei ChenZCZhifei Chen
- Wanwangying MaWMWanwangying Ma
- Lin ChenLCLin Chen
- Lei XuLXLei Xu
- Baowen XuBXBaowen Xu
- 1 October 2016
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 188-199
Abstract
Software has been changing during its whole life cycle. Therefore, identification of source code changes becomes a key issue in software evolution analysis. However, few current change analysis research focus on dynamic language software. In this paper, we pay attention to the fine-grained source code changes of Python software. We implement an automatic tool named PyCT to extract 77 kinds of fine-grained source code change types from commit history information. We conduct an empirical study on ten popular Python projects from five domains, with 132294 commits, to investigate the characteristics of dynamic software source code changes. Analyzing the source code changes in four aspects, we distill 11 findings, which are summarized into two insights on software evolution: change prediction and fault code fix. In addition, we provide direct evidence on how developers use and change dynamic features. Our results provide useful guidance and insights for improving the understanding of source code evolution of dynamic language software.Keywords
This publication has 33 references indexed in Scilit:
- Toward Extended Change Types for Analyzing Software Faults2014
- Why did this code change?2013
- Can we predict types of code changes? An empirical analysis2012
- Change Impact Analysis Based on a Taxonomy of Change Types2010
- Discovering Patterns of Change Types2008
- Toward an understanding of bug fix patternsEmpirical Software Engineering, 2008
- Applying Dynamic Change Impact Analysis in Component-based Architecture Design2006
- An empirical study of fine-grained software modificationsEmpirical Software Engineering, 2006
- UMLDiff2005
- Algorithmic analysis of the impact of changes to object-oriented software1996