Code smells detection via modern code review: a study of the OpenStack and Qt communities
نویسندگان
چکیده
Code review plays an important role in software quality control. A typical process involves a careful check of piece code attempt to detect and locate defects other issues/violations. One type issue that may impact the is smells - i.e., bad coding practices lead or maintenance issues. Yet, little known about extent which are identified during modern review. To investigate concept behind what actions reviewers suggest developers take response smells, we conducted empirical study reviews by analysing from four, large open source projects OpenStack (Nova Neutron) Qt (Qt Base Creator) communities. We manually checked total 25,415 comments obtained keywords search random selection; this resulted identification 1,539 smell-related then allowed causes taken against time fix reasons why ignored fixing smells. Our analysis found 1) were not commonly reviews, 2) usually caused violation conventions, 3) provided constructive feedback, including (refactoring) recommendations help remove 4) generally followed those actioned changes, 5) once reviewers, it takes less than one week 6) main reason chose ignore worth smell. results following: should closely follow conventions their avoid introducing review-based detection perceived be trustworthy approach developers, mainly because context-sensitive (as more aware context given they part project’s development team) program needs fully considered order make decision whether smell immediately.
منابع مشابه
A Study of Bad Smells in Code
Software development is an area which is into action for the last fifteen to twenty years. As rapidly as the software development took place, with the same ratio the trend of analysing the code raised. Code smells are structural characteristics of software that may indicate a code or design problem that makes software hard to evolve and maintain, and may trigger refactoring of code. The presenc...
متن کاملCode smells
s, titles and keywords were analysed by VOSviewer using default parameters. All common terms like study, baseline, control group, trend, method were excluded from the analysis. Three maps were induced (1) clustered landscapes presenting popularity of terms (more popular terms are presented in larger squares), associations between terms (terms locted near each other are stongly associated) and r...
متن کاملInvestigating the Role of Code Smells in Preventive Maintenance
The quest for improving the software quality has given rise to various studies which focus on the enhancement of the quality of software through various processes. Code smells, which are indicators of the software quality have not been put to an extensive study for as to determine their role in the prediction of defects in the software. This study aims to investigate the role of code smells in ...
متن کاملHow Do Community Smells Influence Code Smells?
Code smells reflect sub-optimal patterns of code that often lead to critical software flaws or failure. In the sameway, community smells reflect sub-optimal organisational and socio-technical patterns in the organisational structure of the software community. To understand the relation between the community smells and code smells we start by surveying 162 developers of nine opensource systems. ...
متن کاملCode-Smells Detection as a Bi-Level Problem
Code-Smells represent design situations that can affect the maintenance and evolution of software. They make a system difficult to evolve. Code-smells are detected, in general, using quality metrics that represent some symptoms. However, the selection of suitable quality metrics is challenging due to the absence of consensus to identify some code-smells based on a set of symptoms and also the h...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
ژورنال
عنوان ژورنال: Empirical Software Engineering
سال: 2022
ISSN: ['1382-3256', '1573-7616']
DOI: https://doi.org/10.1007/s10664-022-10178-7