An Exploratory Study on Code Smells During Code Review in OSS Projects: A Case Study on OpenStack and WikiMedia

E. Boonchieng, Aziz Nanthaamornphong
{"title":"An Exploratory Study on Code Smells During Code Review in OSS Projects: A Case Study on OpenStack and WikiMedia","authors":"E. Boonchieng, Aziz Nanthaamornphong","doi":"10.2174/2666255816666230222112313","DOIUrl":null,"url":null,"abstract":"\n\nOpen-source software (OSS) has become an important choice for developing software applications, and its usage has exponentially increased in recent years. Although many OSS systems have shown high reliability in terms of their functionality, they often exhibit several quality issues. Since most developers focus primarily on meeting clients’ functional requirements within the appropriate deadlines, the outcome suffers from poor design and implementation practices. This issue can also manifest as software code smells, resulting in a variety of quality issues such as software maintainability, comprehensibility, and extensibility. Generally speaking, OSS developers use code reviews during their software development to discover flaws or bugs in the updated code before it is merged with the code base. Nevertheless, despite the harmful impacts of code smells on software projects, the extent to which developers do consider them in the code review process is unclear in practice.\n\n\n\nOpen-source software (OSS) has become an important choice for developing software applications, and its usage is exponentially increasing in recent years. While many OSS systems have shown high reliability in terms of their functionality, they often exhibit several quality issues. Since most developers focus primarily on meeting clients’ functional requirements within the appropriate deadlines, the outcome suffers from poor design and implementation practices.\n\n\n\nTo better understand the code review process in OSS projects, we gathered the comments of code reviewers who specified where developers should fix code smells in two OSS projects, OpenStack and WikiMedia, between 2011 and 2015.\n\n\n\nSince most developers focus primarily on meeting clients’ functional requirements within the appropriate deadlines, the outcome suffers from poor design and implementation practices. This problem can further manifest in the form of software code smells leading to multiple quality issues including software maintainability, comprehensibility, and extensibility.\n\n\n\nOur findings indicate that most code reviewers do not pay much attention to code smells. Only a few code reviewers have attempted to motivate developers to improve their source code quality in general. The results also show that there is an increasing tendency to provide advice concerning code smells corrections over time.\n\n\n\nWe believe that this study's findings will encourage developers to use new software engineering practices, such as refactoring, to reduce code smells when developing OSS.\n\n\n\n-\n","PeriodicalId":36514,"journal":{"name":"Recent Advances in Computer Science and Communications","volume":null,"pages":null},"PeriodicalIF":0.0000,"publicationDate":"2023-02-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Recent Advances in Computer Science and Communications","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.2174/2666255816666230222112313","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q3","JCRName":"Computer Science","Score":null,"Total":0}
引用次数: 0

Abstract

Open-source software (OSS) has become an important choice for developing software applications, and its usage has exponentially increased in recent years. Although many OSS systems have shown high reliability in terms of their functionality, they often exhibit several quality issues. Since most developers focus primarily on meeting clients’ functional requirements within the appropriate deadlines, the outcome suffers from poor design and implementation practices. This issue can also manifest as software code smells, resulting in a variety of quality issues such as software maintainability, comprehensibility, and extensibility. Generally speaking, OSS developers use code reviews during their software development to discover flaws or bugs in the updated code before it is merged with the code base. Nevertheless, despite the harmful impacts of code smells on software projects, the extent to which developers do consider them in the code review process is unclear in practice. Open-source software (OSS) has become an important choice for developing software applications, and its usage is exponentially increasing in recent years. While many OSS systems have shown high reliability in terms of their functionality, they often exhibit several quality issues. Since most developers focus primarily on meeting clients’ functional requirements within the appropriate deadlines, the outcome suffers from poor design and implementation practices. To better understand the code review process in OSS projects, we gathered the comments of code reviewers who specified where developers should fix code smells in two OSS projects, OpenStack and WikiMedia, between 2011 and 2015. Since most developers focus primarily on meeting clients’ functional requirements within the appropriate deadlines, the outcome suffers from poor design and implementation practices. This problem can further manifest in the form of software code smells leading to multiple quality issues including software maintainability, comprehensibility, and extensibility. Our findings indicate that most code reviewers do not pay much attention to code smells. Only a few code reviewers have attempted to motivate developers to improve their source code quality in general. The results also show that there is an increasing tendency to provide advice concerning code smells corrections over time. We believe that this study's findings will encourage developers to use new software engineering practices, such as refactoring, to reduce code smells when developing OSS. -
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
开源项目代码评审过程中代码气味的探索性研究——以OpenStack和WikiMedia为例
开放源码软件(OSS)已成为开发软件应用程序的重要选择,近年来其使用量呈指数级增长。尽管许多OSS系统在功能方面表现出了很高的可靠性,但它们经常会出现一些质量问题。由于大多数开发人员主要关注在适当的截止日期内满足客户的功能需求,因此设计和实现实践不佳。这个问题也可能表现为软件代码的气味,导致各种质量问题,如软件的可维护性、可理解性和可扩展性。一般来说,OSS开发人员在软件开发过程中会使用代码评审来发现更新后的代码中的缺陷或bug,然后再将其与代码库合并。然而,尽管代码气味对软件项目有有害影响,但在实践中,开发人员在代码审查过程中对它们的考虑程度尚不清楚。开放源码软件(OSS)已成为开发软件应用程序的重要选择,近年来其使用量呈指数级增长。尽管许多OSS系统在功能方面表现出了很高的可靠性,但它们经常会出现一些质量问题。由于大多数开发人员主要关注在适当的截止日期内满足客户的功能需求,因此设计和实现实践不佳。为了更好地理解OSS项目中的代码审查过程,我们收集了代码审查人员的意见,他们在2011年至2015年间指定了开发人员应该在哪里修复OpenStack和WikiMedia这两个OSS项目的代码气味。由于大多数开发人员主要关注在适当的截止日期内满足客户的功能需求,其结果是设计和实施实践不力。这个问题可能会以软件代码气味的形式进一步表现出来,从而导致多个质量问题,包括软件的可维护性、可理解性和可扩展性。我们的研究结果表明,大多数代码审查人员并不太关注代码气味。只有少数代码评审员试图激励开发人员提高他们的源代码质量。结果还表明,随着时间的推移,提供有关代码气味校正的建议的趋势越来越大。我们相信,这项研究的发现将鼓励开发人员在开发OSS时使用新的软件工程实践,如重构,以减少代码气味-
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
Recent Advances in Computer Science and Communications
Recent Advances in Computer Science and Communications Computer Science-Computer Science (all)
CiteScore
2.50
自引率
0.00%
发文量
142
期刊最新文献
Flood Mapping and Damage Analysis Using Multispectral Sentinel-2 Satellite Imagery and Machine Learning Techniques Efficacy of Keystroke Dynamics-Based User Authentication in the Face of Language Complexity Innovation in Knowledge Economy: A Case Study of 3D Printing's Rise in Global Markets and India Cognitive Inherent SLR Enabled Survey for Software Defect Prediction An Era of Communication Technology Using Machine Learning Techniques in Medical Imaging
×
引用
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