首页> 外文会议>International Conference on Decision Aid Sciences and Application >An Approach to Automatically Measure and Visualize Class Cohesion in Object-Oriented Systems
【24h】

An Approach to Automatically Measure and Visualize Class Cohesion in Object-Oriented Systems

机译:一种自动测量和可视化面向对象系统级凝聚的方法

获取原文

摘要

Developing systems with high quality is the motto of software engineering. In object-oriented systems, class cohesion is a significant quality attribute that impacts other quality attributes such as maintainability and reusability. Much time and effort are needed to be spent by the software engineers and developers in order to measure cohesion. Measuring cohesion automatically aids in getting over the manual measurement problem. In this paper, we propose an approach to automatically measure and visualize the cohesion within classes of object-oriented programs. The generated representations give an overall realization of the cohesion in an effective and interactive way. The approach parses the program source code, using an existing tool, into an XML file, and extracts the class tokens according to the definitions of the cohesion metrics. Then, it determines the cohesion relationships through matching these tokens with some class features. Finally, it generates interactive visualizations of the cohesion utilizing several charts. The proposed approach has been validated by conducting a case study. The results showed that the generated visualizations provide a comprehensive recognition of the program cohesion, and facilitate a proper estimation of the software quality based on its cohesion degree.
机译:高品质的开发系统是软件工程的座右铭。在面向对象的系统中,类内聚力是一个重要的质量属性,影响其他质量属性,例如可维护性和可重用性。软件工程师和开发人员需要花费大量的时间和精力,以衡量凝聚力。测量凝聚力自动有助于越过手动测量问题。在本文中,我们提出了一种方法来自动测量和可视化面向对象程序类别的凝聚力。产生的表示以有效和互动的方式整体地实现了凝聚力。该方法使用现有工具将程序源代码解析为XML文件,并根据凝聚度量的定义提取类令牌。然后,它通过将这些令牌与某些类功能匹配来确定凝聚关系。最后,它产生利用多个图表的凝聚力的交互式可视化。通过进行案例研究验证了拟议的方法。结果表明,生成的可视化提供了对程序凝聚力的全面识别,并促进基于其凝聚度的软件质量的适当估计。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号