开发人员经验对软件测试代码质量影响的实证研究

Denivan Campos, L. Martins, Ivan Machado
{"title":"开发人员经验对软件测试代码质量影响的实证研究","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":"{\"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}","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

摘要

软件开发人员在开源软件项目中的参与分为核心开发人员和外围开发人员。最近的研究调查了开发人员的贡献及其对软件质量的影响。然而,很少有研究调查软件项目中开发人员的经验与测试代码质量之间的关系。在本研究中,我们旨在从测试气味的角度来研究开发人员的经验与测试代码质量之间的关系。我们执行了一项实证研究来分析四个开源Java项目中测试气味的插入和删除。我们收集了18种测试气味,并通过项目的标签计算它们的作者身份。在这四个软件项目中,我们分析了386个测试类和5178个测试气味。我们发现67.28%的测试气味的插入发生在测试类的创建过程中,20.88%的测试气味的移除发生在项目的演化过程中。此外,核心开发人员负责插入88.91%的测试气味并删除89.82%的测试气味。核心开发人员比外围开发人员插入和删除更多的测试气味。大多数测试气味的去除是由于测试代码的删除,这可能表明核心和外围开发人员都没有意识到测试代码中的测试气味。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
An empirical study on the influence of developers’ experience on software test code quality
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.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
How Agile Organizations Use Metrics: A Systematic Literature Mapping An Ontology to support Knowledge Management Solutions for Human-Computer Interaction Design Joy to the Work: How Does Software Team Formation Strategy Influence Job Satisfaction? Automatic Refactoring Method to Remove Eager Test Smell Enriching user stories with usability features in a remote agile project: a case study
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1