On Investigating Code Smells Correlations

On Investigating Code Smells Correlations
复制标题

关于调查代码气味相关性

DOI:
--
复制
发表时间:
2011
期刊:
2011 IEEE Fourth International Conference on Software Testing, Verification and Validation Workshops
影响因子:
--
通讯作者:
M. Zanoni
M. Zanoni
中科院分区:
--
文献类型:
--
作者:
F. Fontana;M. Zanoni

文献摘要

参考文献

被引文献

相似文献

代码气味是软件的特征,可能表明代码或设计问题,这些问题可能使软件难以发展和维护。必要时检测并消除代码气味可以提高系统的质量和可维护性。在[5]中定义了代码气味,并开发了不同的检测工具,每种工具都有特定的特征,并提供不同的结果。通常,检测技术是基于一组特定的组合指标的计算,或标准的面向对象的指标[8]或为气味检测专门定义的指标。如[3]所述,需要更清晰的气味识别和测量研究策略。必须利用其他知识来进行检测。在这项工作中,我们有兴趣研究气味之间存在的直接和间接的相关性。此外,我们建议分析代码气味与另一种称为微模式的微结构之间是否存在其他关系[6]。我们开始这项研究,因为我们认为,这些气味之间的关系的知识可以利用代码气味检测工具,以改善他们的结果。如果一种代码气味存在,这可能意味着另一种代码气味的存在,或者如果一种气味存在,另一种气味不可能存在,或者我们可能会观察到一些代码气味倾向于一起。
Code smells are characteristics of the software that may indicate a code or design problem that can make software hard to evolve and maintain. Detecting and removing code smells, when necessary, improves the quality and maintainability of a system. Code smells have been defined in [5], and different detection tools have been developed, each one characterized by particular features and providing often different results. Usually detection techniques are based on the computation of a particular set of combined metrics, or standard object-oriented metrics [8] or metrics defined ad hoc for the smell detection. As outlined in [3] there is the need for a clearer research strategy on smells identification and measurement. Other knowledge has to be exploited for their detection. In this work we are interested to investigate the direct and indirect correlations existing between smells. Moreover we propose to analyze if other relations exist between code smell and another kind of micro structure, called micro pattern[6]. We started this research since we think that the knowledge on these relations between smells could be exploited by code smell detection tools to improve their results. If one code smell exists, this can imply the existence of another code smell, or if one smell exists, another one cannot be there, or perhaps we could observe that some code smells tend to go together.
DOI: 10.1145/1809223.1809228
发表时间: 2010-05
期刊: --
影响因子: --
作者:
S. Counsell;R. Hierons;H. Hamza;S. Black;M. Durrand
通讯作者: S. Counsell;R. Hierons;H. Hamza;S. Black;M. Durrand