首页> 外文会议>International Conference on Software Maintenance and Evolution >Do They Really Smell Bad? A Study on Developers' Perception of Bad Code Smells
【24h】

Do They Really Smell Bad? A Study on Developers' Perception of Bad Code Smells

机译:他们真的难闻吗?开发人员对错误代码气味的感知研究

获取原文

摘要

In the last decade several catalogues have been defined to characterize bad code smells, i.e., symptoms of poor design and implementation choices. On top of such catalogues, researchers have defined methods and tools to automatically detect and/or remove bad smells. Nevertheless, there is an ongoing debate regarding the extent to which developers perceive bad smells as serious design problems. Indeed, there seems to be a gap between theory and practice, i.e., what is believed to be a problem (theory) and what is actually a problem (practice). This paper presents a study aimed at providing empirical evidence on how developers perceive bad smells. In this study, we showed to developers code entities -- belonging to three systems -- affected and not by bad smells, and we asked them to indicate whether the code contains a potential design problem, and if any, the nature and severity of the problem. The study involved both original developers from the three projects and outsiders, namely industrial developers and Master's students. The results provide insights on characteristics of bad smells not yet explored sufficiently. Also, our findings could guide future research on approaches for the detection and removal of bad smells.
机译:在过去的十年中,已经定义了几个目录来表征不良的代码气味,即不良的设计和实现选择的症状。除了这些目录外,研究人员还定义了自动检测和/或清除异味的方法和工具。尽管如此,关于开发人员将难闻的气味视为严重的设计问题的程度仍存在争议。实际上,理论与实践之间似乎存在差距,即,什么被认为是一个问题(理论)和什么实际上是一个问题(实践)。本文提出了一项旨在为开发人员如何感知不良气味提供经验证据的研究。在这项研究中,我们向开发人员展示了属于三个系统的代码实体,它们不受臭味的影响,并且不受臭味的影响,我们要求他们指出代码是否包含潜在的设计问题,以及代码的性质和严重性。问题。这项研究涉及三个项目的原始开发人员和外部人员,即工业开发人员和硕士生。结果提供了对尚未充分探究的难闻气味特征的见解。同样,我们的发现可以指导未来关于检测和消除不良气味的方法的研究。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号