摘要
在软件演化中,构件的重要性度量可以为软件演化的控制和监测提供依据。以软件体系结构为蓝图和支撑,提出软件体系结构有向图模型,引入节点介数对构件的重要性进行度量。并对构件的请求依赖、服务依赖进行分析和研究,通过使用Pearson相关系数进行分析,找出与节点介数最相关的因素。对大量开源软件源代码进行实验,实验结果表明,用节点介数度量构件的重要性是有效的,并且构件的请求依赖和服务依赖的总和与构件的节点介数最为相关。这也为下一步利用依赖关系衡量构件重要性指明了另一个研究方向。
In software evolution,the importance measure of components can provide the basis for the control and monitoring of software evolution. With software architecture as blueprint and support,this paper proposes a software architecture directed graph model,and introduces node betweenness to measure the importance of components. And the component request dependence and service dependence are analyzed and studied. By using the Pearson correlation coefficient analysis,the factors which are most related to the node betweenness are found out. Through the experiment of a large number of open source software source code,the experimental results show that it is effective to use node betweenness to measure the importance of component,and the sum of component request dependence and the component service dependence is the most correlative factor to betweenness. This also points to another research direction for measuring the importance of components by using dependencies.
出处
《计算机应用与软件》
2017年第10期29-34,共6页
Computer Applications and Software
基金
国家自然科学基金项目(61379032)
关键词
软件体系结构
软件演化
构件
有向图
节点介数
Software architecture Software evolution Component Directed graph Node betweenness