Abstract
In this paper, we propose the model for automated repair in software fault. Automated patch generation is the most important technique in these days. Genetic Programming (GP) technique is used for automatic program repair, but most of the techniques use just a source code including fault to make initial population. We propose two methods to select similar bug fixing history; using topic modeling and finding similar bugs by using code block similarity.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
References
Yang, G., Baek, S., Lee, J., Lee, B.: Analyzing emotion words to predict severity of software bugs: a case study of open source projects. In: ACM Symposium on Applied Computing, pp. 1280–1287
Smith, R., Susan H.: Detecting and measuring similarity in code clones. In: Proceedings of the International Workshop on Software Clones (2009)
Goues, C.L., ThanhVu, N., Stephanie, F., Westley, W.: GenProg: a generic method for automatic software repair. IEEE Trans. Softw. Eng. 38(1), 54–72 (2012)
Kim, D., Nam, J., Song, J, Kim, S.: Automatic patch generation learned from human-written patches. In: IEEE International Conference on Software Engineering, pp. 802–811
Yokohama, H., Higo, Y., Hotta, K., Ohta, T.: Toward improving ability to repair bugs automatically. In: ACM Symposium on Applied Computing 2016, pp. 1364–1370 (2016)
Nguyen, H.D.T., Qi, D., Roychoudhury, A., Chandra, S.: SemFix: program repair via semantic analysis. In: IEEE International Conference on Software Engineering, pp. 772–781
Stanford Topic Modeling Toolbox. https://nlp.stanford.edu/software/tmt/tmt-0.4/
FBC Bug Repository. https://github.com/freebasic/fbc
Acknowledgments
This research was supported by Next-Generation Information Computing Development Program (NRF-2014M3C4A7030504) and by Basic Science Research Program (NRF-2017R1A2B4009937) through the National Research Foundation of Korea(NRF) funded by the Ministry of Science, ICT & Future Planning.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2018 Springer Nature Singapore Pte Ltd.
About this paper
Cite this paper
Jeong, Y., Min, K., Yang, G., Lee, JW., Lee, B. (2018). Toward Providing Automatic Program Repair by Utilizing Topic-Based Code Block Similarity. In: Park, J., Loia, V., Yi, G., Sung, Y. (eds) Advances in Computer Science and Ubiquitous Computing. CUTE CSA 2017 2017. Lecture Notes in Electrical Engineering, vol 474. Springer, Singapore. https://doi.org/10.1007/978-981-10-7605-3_200
Download citation
DOI: https://doi.org/10.1007/978-981-10-7605-3_200
Published:
Publisher Name: Springer, Singapore
Print ISBN: 978-981-10-7604-6
Online ISBN: 978-981-10-7605-3
eBook Packages: EngineeringEngineering (R0)