东北大学学报(自然科学版) ›› 2011, Vol. 32 ›› Issue (9): 1237-1239+1260.DOI: -

• 论著 • 上一篇    下一篇

基于软核结构的软件复杂性分析与度量

刘铮;赵海;张骞;   

  1. 东北大学信息科学与工程学院;东软集团技术战略与发展部;
  • 收稿日期:2013-06-19 修回日期:2013-06-19 发布日期:2013-04-04
  • 通讯作者: -
  • 作者简介:-
  • 基金资助:
    国家自然科学基金资助项目(60973022)

Analysis and metrics for complexity of software systems based on software-core structure

Liu, Zheng (1); Zhao, Hai (1); Zhang, Qian (2)   

  1. (1) School of Information Science and Engineering, Northeastern University, Shenyang 110819, China; (2) Department of TSD, Neusoft, Shenyang 110179, China
  • Received:2013-06-19 Revised:2013-06-19 Published:2013-04-04
  • Contact: Liu, Z.
  • About author:-
  • Supported by:
    -

摘要: 针对大规模软件的复杂性难以度量和控制,以致严重影响了软件质量的问题,提出了一种基于软件基础结构的软件复杂性度量方法.通过对软核结构的提取和扩展操作,对软件结构中节点的继承深度进行了分析,从继承关系的角度对软件结构的复杂性进行度量.根据节点的继承深度与入度的关系,提出一种软件结构缺陷的检测方法,该方法可以在软件设计阶段及时检测出软件结构中的缺陷,以减少日后软件测试与维护的开销.

关键词: 软核结构, 继承深度, 软件度量, 缺陷检测, 软件网络

Abstract: The complexity of large-scale software systems makes their structure more and more intricate, which seriously affects the quality of the whole systems. In order to master the sophisticated structure of software systems and control the structural complexity, a measuring method for complexity of software systems based on the basic structure of the system was proposed. According to the algorithms of extracting and expanding the software-core structure, the inheritance depths of classes are analyzed. Furthermore, a complexity metric method for large-scale software systems is discussed in the view of inheritance. According to the relationship between the depth of inheritance and in-degree of class, a method of detecting the structural drawbacks in a software system is proposed, by which defects in the structure can be diagnozed during the software designing, and the cost of testing and maintenance in future can be reduced.

中图分类号: