DocumentCode :
3587323
Title :
Predicting Next Changes at the Fine-Grained Level
Author :
Murakami, Hiroaki ; Hotta, Keisuke ; Higo, Yoshiki ; Kusumoto, Shinji
Author_Institution :
Grad. Sch. of Inf. Sci. & Technol., Osaka Univ., Suita, Japan
Volume :
1
fYear :
2014
Firstpage :
119
Lastpage :
126
Abstract :
Changing source code is not an easy task. Developers occasionally change source code incorrectly. Such mistakes entail additional cost in having to reedit the source code correctly, and repeated changes themselves can be a vulnerability to software quality. We are conducting research into realizing automated code changing as a countermeasure for human errors. As the first step of this research, we propose a technique to predict the types of program elements deleted and added in a next change to Java methods. This technique is designed to support developers in deciding how to change source code after they have identified a method to be changed. We evaluated predictions using the proposed technique with two thresholds, which are sizes of source code changes. For predictions with the smaller threshold where only a single type of program element was added or deleted, the accuracy of the proposed technique was 74% -- 85%. However, for the larger threshold, where 5 or fewer types of program elements were added or deleted, the accuracy was 44% -- 48%.
Keywords :
Java; software quality; source code (software); Java methods; automated code changing; fine-grained level; next change prediction; program elements; software quality; source code; Cloning; Computer bugs; Java; Prediction algorithms; Predictive models; Software systems; Training; Automated Code Evolution; Fine-Grained Change Prediction; Static Code Analysis;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Software Engineering Conference (APSEC), 2014 21st Asia-Pacific
ISSN :
1530-1362
Print_ISBN :
978-1-4799-7425-2
Type :
conf
DOI :
10.1109/APSEC.2014.27
Filename :
7091300
Link To Document :
بازگشت