Evolution of the Practice of Software Testing in Java']Java Projects

被引:1
作者
Islam, Anisha [1 ]
Hewage, Nipuni Tharushika [1 ]
Bangash, Abdul Ali [1 ]
Hindle, Abram [1 ]
机构
[1] Univ Alberta, Dept Comp Sci, Edmonton, AB, Canada
来源
2023 IEEE/ACM 20TH INTERNATIONAL CONFERENCE ON MINING SOFTWARE REPOSITORIES, MSR | 2023年
基金
加拿大自然科学与工程研究理事会;
关键词
Software Testing; Replication Study; WoC; !text type='Java']Java[!/text] Projects;
D O I
10.1109/MSR59073.2023.00057
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Software testing helps developers minimize bugs and errors in their code, improving the overall software quality. In 2013, Kochhar et al. analyzed 20,817 software projects in order to study how prevalent the practice of software testing is in open-source projects. They found that projects with more lines of code (LOC) and projects with more developers tend to have more test cases. Additionally, they found a weak positive correlation between the number of test cases and the number of bugs. Since the conclusions of a study might become irrelevant over time because of the latest practices in the relevant fields, in this paper, we investigate if these conclusions remain valid if we re-evaluate Kochhar et al.'s findings on the Java projects that were developed from 2012 to 2021. For evaluation, we use a random sample of 20,000 open-source Java projects each year. Our results show that Kochhar et al.'s conclusions regarding the projects with test cases having more LOC, the weak positive correlation between the number of test cases and authors, and the weak positive correlation between the number of test cases and bugs remain stable until 2021. Our study corroborates Kochhar et al.'s conclusions and helps developers refocus in light of the latest findings regarding the practice of software testing.
引用
收藏
页码:367 / 371
页数:5
相关论文
共 20 条
  • [1] On the time-based conclusion stability of cross-project defect prediction models
    Bangash, Abdul Ali
    Sahar, Hareem
    Hindle, Abram
    Ali, Karim
    [J]. EMPIRICAL SOFTWARE ENGINEERING, 2020, 25 (06) : 5047 - 5083
  • [2] COMPARING THE EFFECTIVENESS OF SOFTWARE TESTING STRATEGIES
    BASILI, VR
    SELBY, RW
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1987, 13 (12) : 1278 - 1296
  • [3] Beust C., TESTNG
  • [4] Analyzing The Effects of Test Driven Development In GitHub
    Borle, Neil C.
    Feghhi, Meysam
    Stroulia, Eleni
    Greiner, Russell
    Hindle, Abram
    [J]. PROCEEDINGS 2018 IEEE/ACM 40TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE), 2018, : 1062 - 1062
  • [5] Chacon S., GIT SCM
  • [6] Replication of Studies in Empirical Software Engineering: A Systematic Mapping Study, From 2013 to 2018
    Cruz, Margarita
    Bernardez, Beatriz
    Duran, Amador
    Galindo, Jose A.
    Ruiz-Cortes, Antonio
    [J]. IEEE ACCESS, 2020, 8 : 26773 - 26791
  • [7] Jamil MA, 2016, INT CONF INFORM COMM, P177, DOI [10.1109/ICT4M.2016.045, 10.1109/ICT4M.2016.40]
  • [8] Jangra A., 2011, INT J INF TECHNOL KN, V4, P297
  • [9] JUnit, ANN TYP TEST
  • [10] An Empirical Study of Adoption of Software Testing in Open Source Projects
    Kochhar, Pavneet Singh
    Bissyande, Tegawende F.
    Lo, David
    Jiang, Lingxiao
    [J]. 2013 13TH INTERNATIONAL CONFERENCE ON QUALITY SOFTWARE (QSIC), 2013, : 103 - 112