Affiliation:
1. College of Computing, Prince of Songkla University, Phuket, 83120, Thailand
2. Department of Computer Science,
Chiang Mai University, Chiang Mai, 50200, Thailand
Abstract
Objective:
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.
Methods:
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.
Results:
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.
Conclusion:
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.
Funder
Chiang Mai University and Fundamental Fund 2022
Chiang Mai University; in part by NSRF via the Program Management Unit for Human Resources & Institutional Development, Research and Innovation
Publisher
Bentham Science Publishers Ltd.
Reference50 articles.
1. Statista Inc. Open source services market revenue world- wide 2017-2022, Available from: (Accessed on: 14 Dec 2022).
2. Aberdour M.; Achieving quality in open-source software. IEEE Softw 2007,24(1),58-64
3. GitHub, Available from: (Accessed on: 14 Dec 2022).
4. Gerrit Code Review, Available from: (Accessed on: 14 Dec 2022).
5. Zhou Y.; Davis J.; Open source software reliability model: An empirical approach. SIGSOFT Softw Eng Notes 2005,30(4),1-6