arrow
返回

How developers perceive smells in source code: A replicated study

开发人员如何感知源代码中的气味: 一项重复研究

delete2017-12-01
delete63
PRE
AI
D
Davide Taibi *
A
Andrea Janes
V
Valentina Lenarduzzi
DOI:10.1016/j.infsof.2017.08.008delete
delete原文链接
delete分享
delete收藏
摘要

摘要

En 中文
Context. In recent years, smells, also referred to as bad smells, have gained popularity among developers. However, it is still not clear how harmful they are perceived from the developers' point of view. Many developers talk about them, but only few know what they really are, and even fewer really take care of them in their source code. Objective. The goal of this work is to understand the perceived criticality of code smells both in theory, when reading their description, and in practice. Method. We executed an empirical study as a differentiated external replication of two previous studies. The studies were conducted as surveys involving only highly experienced developers (63 in the first study and 41 in the second one). First the perceived criticality was analyzed by proposing the description of the smells, then different pieces of code infected by the smells were proposed, and finally their ability to identify the smells in the analyzed code was tested. Results. According to our knowledge, this is the largest study so far investigating the perception of code smells with professional software developers. The results show that developers are very concerned about code smells in theory, nearly always considering them as harmful or very harmful (17 out of 23 smells). However, when they were asked to analyze an infected piece of code, only few infected classes were considered harmful and even fewer were considered harmful because of the smell. Conclusions. The results confirm our initial hypotheses that code smells are perceived as more critical in theory but not as critical in practice. (C) 2017 Elsevier B.V. All rights reserved.
Keyword:
Software maintenance
Code smells
Bad smells
Antipatterns
Refactoring
AI总结

AI总结

对已上传原文的论文进行重点信息的提取,主要内容包括:简要概述、研究摘要、背景介绍、关键亮点、图文解析、展望与总结。

Improving multi-objective code-smells correction using development history利用发展历史改进多目标代码气味校正
err2015-07-01
err52
PREAI
errOuni, Ali; Kessentini, Marouane; Sahraoui, Houari; Inoue, Katsuro; Hamdi, Mohamed Salah
err分享
err收藏
A survey on software smells关于软件气味的调查
err2018-04-01
err168
errOAAI
errSharma, Tushar; Spinellis, Diomidis
err分享
err收藏

期刊

Information and Software Technology 封面图
Information and Software Technology
IF:
4.3
论文数:
3.8K
被引数:
9.5K

机构

F
Free University of Bozen-Bolzano
学者数:
168
论文数: 62
被引数: 2.1K
引用论文

引用论文

err
IF0
err
err0
PREAI
err
err分享
err收藏
Statistics notes: Cronbach's alpha
errBMJ
IF0
err1997-02-22
err0
errOAAI
errJ M. Bland; D. G Altman
err分享
err收藏
DECOR: A Method for the Specification and Detection of Code and Design Smells
err2010-01-01
err541
errOAAI
errMoha, Naouel; Gueheneuc, Yann-Gael; Duchien, Laurence; Le Meur, Anne-Francoise
err分享
err收藏
A controlled experiment investigation of an object-oriented design heuristic for maintainability
err2004-07-01
err51
PREAI
errDeligiannis, I; Stamelos, I; Angelis, L; Roumeliotis, M; Shepperd, M
err分享
err收藏
Relationship between postoperative retear and preoperative fatty degeneration in large and massive rotator cuff tears: quantitative analysis using T2 mapping
err2019-08-01
err0
PREAI
errYuki Iijima; Keisuke Matsuki; Shota Hoshika; Yusuke Ueda; Hiroshige Hamada; Morihito Tokai; Norimasa Takahashi; Hiroyuki Sugaya; Atsuya Watanabe
err分享
err收藏
Guided by Tawhid (unity): Ethics in The UAE workplace
err2007-01-01
err0
PREAI
errDonelda S. McKechnie; Jim Grant; Lewis R. Tucker; Ralph Kuehn
err分享
err收藏
Quantifying the Effect of Code Smells on Maintenance Effort
err2013-08-01
err230
PREAI
errSjoberg, Dag I. K.; Yamashita, Aiko; Anda, Bente C. D.; Mockus, Audris; Dyba, Tore
err分享
err收藏
没有更多内容