Abstract
This paper proposes an application of the survival analysis to bug-fix events occurred in source files. When a source file is modified, it has a risk of creating a bug (fault). In this paper, such a risk is analyzed from a viewpoint of the survival time—the time that the source file can survive without any bug fix. Through an empirical study with 100 open source software (OSS) projects, the following findings are reported: (1) Source files modified by new developers have about \(26\%\) shorter survival time than the others. (2) The above tendency may be inverted if the OSS project has more developers relative to the total number of source files.
Keywords
This is a preview of subscription content, log in via an institution.
Notes
- 1.
NEW: \(1 \times 3 + 0.750 \times (5-3) + 0.375 \times (9-5) = 6\); CONV: \(1 \times 4 + 0.750 \times (13-4) + 0375 \times (20-13) = 13.375\).
References
Bird, C., Gourley, A., Devanbu, P., Gertz, M., Swaminathan, A.: Mining email social networks. In: Proceedings of International Workshop Mining Software Repositories, pp. 137–143 (2006)
Bird, C., Gourley, A., Devanbu, P., Swaminathan, A., Hsu, G.: Open borders? Immigration in open source projects. In: Proceedings of 4th International Workshop Mining Software Repositories (2007)
Bird, C., Nagappan, N., Murphy, B., Gall, H., Devanbu, P.: Don’t touch my code!: examining the effects of ownership on software quality. In: Proceedings of 19th ACM SIGSOFT Symposium and 13th European Conference Foundations of Software Engineering, pp. 4–14 (2011)
Duck, B.: The 2017 open source 360\(^{\circ }\) survey (2017). https://www.blackducksoftware.com/about/news-events/releases/open-source-360-organizations-increase-reliance-open-source
Google: Bugspots (2011). https://github.com/igrigorik/bugspots
Jones, C.: Applied Software Measurement: Global Analysis of Productivity and Quality, 3rd edn. McGraw-Hill, New York (2008)
Kaplan, E.L., Meier, P.: Nonparametric estimation from incomplete observations. J. Am. Stat. Assoc. 53(282), 457–481 (1958)
Li, Y., Li, D., Huang, F., Lee, S.Y., Ai, J.: An exploratory analysis on software developers’ bug-introducing tendency over time. In: Proceedings of International Conference Software Analysis, Testing and Evolution, pp. 12–17 (2016)
Peto, R., Peto, J.: Asymptotically efficient rank invariant test procedures. J. Roy. Stat. Soc. Ser. A (Gen.) 135(2), 185–207 (1972)
Posnett, D., D’Souza, R., Devanbu, P., Filkov, V.: Dual ecological measures of focus in software development. In: Proceedings of International Conference on Software Engineering, pp. 452–461 (2013)
Rahman, F., Posnett, D., Hindle, A., Barr, E., Devanbu, P.: Bugcache for inspections: hit or miss? In: Proceedings of 19th ACM SIGSOFT Symposium and 13th European Conference on Foundations of Software Engineering, pp. 322–331 (2011)
Rupert, G., Miller, J.: Survival Analysis. John Wiley & Sons, Hoboken, NJ (2011)
Śliwerski, J., Zimmermann, T., Zeller, A.: When do changes induce fixes?. In: Proceedings of International Workshop Mining Software Repositories, pp. 1–5 (2005)
Samoladas, I., Angelis, L., Stamelos, I.: Survival analysis on the duration of open source projects. Inf. Softw. Technol. 52, 902–922 (2010)
Acknowledgment
This work was supported by JSPS KAKENHI #16K00099. The authors would like to thank the anonymous reviewers for their helpful comments.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2017 Springer International Publishing AG
About this paper
Cite this paper
Aman, H., Amasaki, S., Yokogawa, T., Kawahara, M. (2017). A Survival Analysis of Source Files Modified by New Developers. In: Felderer, M., Méndez Fernández, D., Turhan, B., Kalinowski, M., Sarro, F., Winkler, D. (eds) Product-Focused Software Process Improvement. PROFES 2017. Lecture Notes in Computer Science(), vol 10611. Springer, Cham. https://doi.org/10.1007/978-3-319-69926-4_7
Download citation
DOI: https://doi.org/10.1007/978-3-319-69926-4_7
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-69925-7
Online ISBN: 978-3-319-69926-4
eBook Packages: Computer ScienceComputer Science (R0)