首页> 外文期刊>Software, IET >Effects of incorporating special methods into cohesion measurement on class instantiation reuse-proneness prediction
【24h】

Effects of incorporating special methods into cohesion measurement on class instantiation reuse-proneness prediction

机译:内聚度量中加入特殊方法对类实例重用倾向预测的影响

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

摘要

The previously proposed class cohesion measures employ different approaches to assess the strength of the relations between the attributes and methods in a class. Access methods, constructors and destructors are special types of methods with special characteristics that can falsely alter the class cohesion measurement. In this study, the authors empirically explored the impact of considering special methods (SPs) on the cohesion measures’ abilities to predict the classes that can be intensively reused via instantiation (IRI). They considered classes in the JHotDraw and Eclipse systems. For each class, they obtained cohesion results using 17 measures in four different scenarios of considering or ignoring SPs. They collected the instantiation reusability data and applied a statistical technique to build a prediction model using each measure in each considered scenario. They investigated the significance of the changes in the prediction results. The authors’ results demonstrated that cohesion had a negative impact on class instantiation reuse-proneness and that SPs had significant impacts on cohesion values and the abilities of the cohesion measures to predict IRI classes. In practice, when applying cohesion measures to predict IRI classes, the results suggest that SPs must be included in cohesion measurement.
机译:先前提出的班级凝聚力度量采用不同的方法来评估班级中属性和方法之间关系的强度。访问方法,构造函数和析构函数是具有特殊特征的特殊方法类型,它们可能错误地更改类内聚度量。在这项研究中,作者从经验上探索了考虑特殊方法(SP)对内聚度量预测通过实例化(IRI)可以大量重用的类的能力的影响。他们考虑了JHotDraw和Eclipse系统中的类。对于每个类别,他们在考虑或忽略SP的四种不同情况下使用17种度量获得了凝聚力结果。他们收集了实例化的可重用性数据,并应用了统计技术,以在每个考虑的场景中使用每种度量来构建预测模型。他们调查了预测结果变化的重要性。作者的结果表明,内聚对类实例重用的倾向性具有负面影响,而SP对内聚值和内聚度量IRI类的能力具有重大影响。在实践中,当采用内聚度量来预测IRI类时,结果表明SP必须包含在内聚度量中。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号