An Empirical Study of Adoption of Software Testing in Open Source Projects

Pavneet Singh Kochhar, Tegawende F. Bissyande, David Lo, Lingxiao Jiang
2013 2013 13th International Conference on Quality Software  
In software engineering, testing is a crucial activity that is designed to ensure the quality of program code. For this activity, software teams spend substantial resources constructing test cases to thoroughly assess the correctness of software functionality. What is the proportion of open source projects that include test cases? What is the effect of number of developers on the number of test cases? In this study, we explore open source projects and investigate the correlation between the
more » ... ence of test cases and various project development characteristics, including the number of lines of code, the size of development teams and the quantity of bug reports. The results show that projects with test cases are bigger in size and projects with bigger team sizes have higher number of test cases. However, surprisingly, number of test cases has a weak correlation with the number of bugs.
doi:10.1109/qsic.2013.57 dblp:conf/qsic/KochharBLJ13 fatcat:xej7jmtv3jal7kb7nx3epluwta