Empirical evaluation of code smells in open source projects: preliminary results

Aziz Nanthaamornphong, Apatta Chaisutanon
{"title":"Empirical evaluation of code smells in open source projects: preliminary results","authors":"Aziz Nanthaamornphong, Apatta Chaisutanon","doi":"10.1145/2975945.2975947","DOIUrl":null,"url":null,"abstract":"Open Source Software (OSS) now plays an important role in various industry domains. OSS is generally developed by highly experienced developers who have multiple perspectives. However, previous studies have indicated that OSS has quality limitations in software maintainability. In general, OSS developers typically focus on achieving the correct functionality. In contrast, in addition to focusing on building software functionality, software engineering practices also focus on the structure of the software and on its maintainability. Code with a well-designed structure is more likely to result in high quality software. To better understand how peer code review can reduce ``code smells\" in existing OSS projects, we examined comments from code reviewers that identified code smells in OSS projects. This paper is a proof-of-concept that presents the preliminary results from an analysis of comments we obtained for two OSS projects, OpenStack and WikiMedia, both of which use the code review data repository called Gerrit. The preliminary results of this ongoing research show that code reviewers comment on only a small number of code smells. The full-scale results would contribute to the empirical body of validated knowledge in the field of OSS quality and code review.","PeriodicalId":433677,"journal":{"name":"Proceedings of the 1st International Workshop on Software Refactoring","volume":"35 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2016-09-04","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"6","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the 1st International Workshop on Software Refactoring","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/2975945.2975947","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 6

Abstract

Open Source Software (OSS) now plays an important role in various industry domains. OSS is generally developed by highly experienced developers who have multiple perspectives. However, previous studies have indicated that OSS has quality limitations in software maintainability. In general, OSS developers typically focus on achieving the correct functionality. In contrast, in addition to focusing on building software functionality, software engineering practices also focus on the structure of the software and on its maintainability. Code with a well-designed structure is more likely to result in high quality software. To better understand how peer code review can reduce ``code smells" in existing OSS projects, we examined comments from code reviewers that identified code smells in OSS projects. This paper is a proof-of-concept that presents the preliminary results from an analysis of comments we obtained for two OSS projects, OpenStack and WikiMedia, both of which use the code review data repository called Gerrit. The preliminary results of this ongoing research show that code reviewers comment on only a small number of code smells. The full-scale results would contribute to the empirical body of validated knowledge in the field of OSS quality and code review.
开源项目中代码气味的实证评估:初步结果
开源软件(OSS)现在在各个行业领域扮演着重要的角色。OSS通常由经验丰富的开发人员开发,他们具有多种视角。然而,以往的研究表明,OSS在软件可维护性方面存在质量限制。一般来说,OSS开发人员通常关注于实现正确的功能。相反,除了关注构建软件功能之外,软件工程实践还关注软件的结构及其可维护性。具有良好设计结构的代码更有可能产生高质量的软件。为了更好地理解同级代码审查如何减少现有OSS项目中的“代码气味”,我们检查了代码审查者在OSS项目中识别代码气味的评论。这篇论文是一个概念证明,它展示了我们从两个开源项目(OpenStack和WikiMedia)中获得的评论分析的初步结果,这两个项目都使用了代码审查数据存储库Gerrit。这项正在进行的研究的初步结果表明,代码审查者只会对少量的代码气味进行评论。全面的结果将有助于OSS质量和代码审查领域中验证知识的经验体。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约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学术官方微信
小红书