{"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}
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.