首页> 外文会议>ICSE workshop on emerging trends in software metrics 2010 >Is a Strategy for Code Smell Assessment Long Overdue?
【24h】

Is a Strategy for Code Smell Assessment Long Overdue?

机译:代码气味评估策略是否早该完成?

获取原文
获取原文并翻译 | 示例

摘要

Code smells reflect code decay and, as such, developers should seek to eradicate such smells through application of 'deodorant' in the form of one or more refactorings. However, a dearth of studies exploring code smells either theoretically or empirically suggests that there are reasons why smell eradication is neither being applied in anger, nor the subject of significant research. In this paper, we present three studies as supporting evidence for this claim. The first is an analysis of a set of five, open-source Java systems, the second an empirical study of a sub-system of a proprietary, C# web-based application and the third, a theoretical enumeration of smell-related refactorings. Key findings of the study were first, that developers seemed to avoid eradicating superficially 'simple' smells in favor of more 'obscure' ones; second, a wide range of conflicts and anomalies soon emerged when trying to identify smelly code. Finally, perceived effort to eradicate a smell may be a key factor. The study highlights the need for a clearer research strategy on the issue of code smells and all aspects of their identification and measurement.
机译:代码气味反映了代码衰减,因此,开发人员应设法通过以一种或多种重构的形式应用“除臭剂”来消除此类气味。然而,从理论上或经验上都缺乏关于代码气味的研究,这表明为什么没有将消除气味的方法应用于愤怒中,也没有引起重大研究的原因。在本文中,我们提出了三项研究作为该主张的支持证据。第一个是对五个开放源Java系统的分析,第二个是对基于C#Web的专有应用程序子系统的实证研究,第三个是与气味相关的重构的理论枚举。该研究的主要发现首先是,开发人员似乎避免根除表面上“简单”的气味,而倾向于使用更多“晦涩”的气味。其次,在尝试识别臭代码时,很快出现了各种各样的冲突和异常情况。最后,消除气味的努力可能是关键因素。这项研究强调了在代码气味及其识别和测量的各个方面需要更清晰的研究策略。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号