Please use this identifier to cite or link to this item: https://hdl.handle.net/11147/11253
Title: Code change sniffer: Predicting future code changes with Markov chain
Authors: Ufuktepe, Ekincan
Tuğlular, Tuğkan
Keywords: Change impact analysis
Change propagation prediction
Markov chains
Software evolution
Publisher: Institute of Electrical and Electronics Engineers
Abstract: Code changes are one of the essential processes of software evolution. These changes are performed to fix bugs, improve quality of software, and provide a better user experience. However, such changes made in code could lead to ripple effects that can cause unwanted behavior. To prevent such issues occurring after code changes, code change prediction, change impact analysis techniques are used. The proposed approach uses static call information, forward slicing, and method change information to build a Markov chain, which provides a prediction for code changes in the near future commits. For static call information, we utilized and compared call graph and effect graph. We performed an evaluation on five open-source projects from GitHub that varies between 5K-26K lines of code. To measure the effectiveness of our proposed approach, recall, precision, and f-measure metrics have been used on five open-source projects. The results show that the Markov chain that is based on call graph can have higher precision compared to effect graph. On the other hand, for small number of cases higher recall values are obtained with effect graph compared to call graph. With a Markov chain model based on call graph and effect graph, we can achieve recall values between 98%-100%. © 2021 IEEE.
Description: 45th IEEE Annual Computers, Software, and Applications Conference, COMPSAC 2021 -- 12 July 2021 through 16 July 2021
URI: http://doi.org/10.1109/COMPSAC51774.2021.00137
https://hdl.handle.net/11147/11253
ISBN: 9781665424639
Appears in Collections:Computer Engineering / Bilgisayar Mühendisliği
Scopus İndeksli Yayınlar Koleksiyonu / Scopus Indexed Publications Collection
WoS İndeksli Yayınlar Koleksiyonu / WoS Indexed Publications Collection

Files in This Item:
File SizeFormat 
Code_Change_Sniffer.pdf2.26 MBAdobe PDFView/Open
Show full item record



CORE Recommender

Google ScholarTM

Check




Altmetric


Items in GCRIS Repository are protected by copyright, with all rights reserved, unless otherwise indicated.