An empirical study on the influence of developers’ experience on software test code quality

Denivan Campos, L. Martins, Ivan Machado
{"title":"An empirical study on the influence of developers’ experience on software test code quality","authors":"Denivan Campos, L. Martins, Ivan Machado","doi":"10.1145/3571473.3571481","DOIUrl":null,"url":null,"abstract":"Software developers’ engagement in open-source software projects lies in different levels of participation, e.g., core or peripheral developers. Recent studies have investigated the role of developers’ contributions and their influence on software quality. However, few studies investigate the relationship between the developers’ experience and test code quality in software projects. In this study, we aim to investigate the relationship between the developers’ experience and the test code quality from the perspective of test smells. We performed an empirical study to analyze the insertion and removal of test smells in four open-source Java projects. We collected 18 test smells and calculated their authorship through the projects’ Tags. The four software projects, we analyze 386 test classes and 5,178 test smells. We found out that the insertion of 67.28% of test smells occurs during the test class creation, and the removal of 20.88% of test smells occurs during the evolution of projects. In addition, core developers are responsible for inserting 88.91% and removing 89.82% test smells. Core developers insert and remove more test smells than the peripheral developers. Most test smell removal is due to test code deletion, which may indicate that both core and peripheral developers are unaware of test smells in test code.","PeriodicalId":440784,"journal":{"name":"Proceedings of the XXI Brazilian Symposium on Software Quality","volume":"42 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-11-07","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the XXI Brazilian Symposium on Software Quality","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3571473.3571481","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1

Abstract

Software developers’ engagement in open-source software projects lies in different levels of participation, e.g., core or peripheral developers. Recent studies have investigated the role of developers’ contributions and their influence on software quality. However, few studies investigate the relationship between the developers’ experience and test code quality in software projects. In this study, we aim to investigate the relationship between the developers’ experience and the test code quality from the perspective of test smells. We performed an empirical study to analyze the insertion and removal of test smells in four open-source Java projects. We collected 18 test smells and calculated their authorship through the projects’ Tags. The four software projects, we analyze 386 test classes and 5,178 test smells. We found out that the insertion of 67.28% of test smells occurs during the test class creation, and the removal of 20.88% of test smells occurs during the evolution of projects. In addition, core developers are responsible for inserting 88.91% and removing 89.82% test smells. Core developers insert and remove more test smells than the peripheral developers. Most test smell removal is due to test code deletion, which may indicate that both core and peripheral developers are unaware of test smells in test code.
开发人员经验对软件测试代码质量影响的实证研究
软件开发人员在开源软件项目中的参与分为核心开发人员和外围开发人员。最近的研究调查了开发人员的贡献及其对软件质量的影响。然而,很少有研究调查软件项目中开发人员的经验与测试代码质量之间的关系。在本研究中,我们旨在从测试气味的角度来研究开发人员的经验与测试代码质量之间的关系。我们执行了一项实证研究来分析四个开源Java项目中测试气味的插入和删除。我们收集了18种测试气味,并通过项目的标签计算它们的作者身份。在这四个软件项目中,我们分析了386个测试类和5178个测试气味。我们发现67.28%的测试气味的插入发生在测试类的创建过程中,20.88%的测试气味的移除发生在项目的演化过程中。此外,核心开发人员负责插入88.91%的测试气味并删除89.82%的测试气味。核心开发人员比外围开发人员插入和删除更多的测试气味。大多数测试气味的去除是由于测试代码的删除,这可能表明核心和外围开发人员都没有意识到测试代码中的测试气味。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信