大规模软件的结构度量将软件中看做特殊的网络结构进而计算网络的拓扑特征以反应软件特性。实现了一种大规模软件度量工具,根据功能需求,首先给出了工具模型的整体设计;然后分别阐述了各个进程的详细设计和功能以及数据库结构的设计;最后应用工具对六种不同节点数和边数的大规模软件进行度量,计算了各个进程所要耗费的时间。结果表明,度量工具能够很好地满足功能和时间性能的要求。
Large-scale software can be seen as a special kind of network structure induding topology character and they can reflect the characteristics of softworc. This paper implemented an analytical software tool. First it gave the overall model, and then introduced functions of each module. At last, measured six software of different size and computed the runtime of each module. The metric tool is effective and can meet the requirements of functions. The experimental results also show that the time performance is acceptable.