摘要如今,面向对象软件系统被应用于大量网络中,基于因特网的面向对象的软件系统越来越复杂,大型面向对象软件系统最近被发现分享全球网络的特点比如小世界和无尺度这类超出范围的传统软件测试与评估方法。我们需要度量此类软件网络的复杂性,安全程度等等。
为了衡量在各个级别的粒度,图,类(或对象)和源代码的复杂性,本论文基于人们传统的软件网络度量方法,将软件拥有的类以及类之间的软件依赖关系映射成一个图,并对其进行图层度量,而且可以具体分为三级(包级软件网络、类级软件网络、特征级软件网络),由此补充传统的软件度量以及从网络思文观转化成图表的措施,并提供与故障率高的实践有关的更有效的信息,比如聚类系数和耦合度等等。本文将构建三种软件网络,并将具体的实例通过可视化工具呈现出来。6576
关键词 软件网络 软件依赖 传统度量 图层度量
毕业设计说明书(论文)外文摘要
Title Object-oriented Software Network Construction And Visualization
Abstract
Now, object-oriented software system has been applied to a large number of network, Internet based object-oriented software systems become more and more complex, large object-oriented software systems have recently been found to havethe global network characteristics such as small world and scale free of this kind of beyond the range of the traditional software testing and evaluation. We need to measure the complexity, safety degree of any software network.
In order to measure complexity of various levels of granularity, diagram, class and the source code, based on the traditional software metrics, software with classes and relationships between classes are mapped into a graph, and its layer measurement, and can be pided into three levels, which complement the traditional software metrics and from Internet thinking into chart measures, and provides with the high failure rate of practice related to more effective information, such as the clustering coefficient and the degree of coupling and so on. This paper constructs three kinds of software network, and specific examples presented by visualization tool.
Keywords Software network Class diagram graph mapping The traditional metric Layer measurement
目 录
1 引言 1
1.1 背景 1
1.1.1 复杂网络在一些领域的应用与研究 1
1.1.2 复杂软件网络发展前景 4
1.2 本文工作内容 5
1.3 论文结构 5
2 软件网络相关知识 6
2.1 软件网络相关概念 6
2.1.1 软件网络定义 6
2.1.2 复杂网络的表示 6
2.1.3 图论的相关知识 7
2.1.4 软件网络依赖关系模型 8
2.2 软件网络的构建方法综述 9
2.3 度量网络的参数与模型 13
2.3.1 平均最短路径长度 13
2.3.2 聚类系数 13
2.3.3 度分布 14
2.3.4 规则网络模型 15
2.3.5 随机模型 15
2.3.6 “小世界”模型 15
2.3.7 “无尺度”模型 16
3 基于源代码的软件网络构建 16
3.1 包级软件网络 17