节点文献

基于超图模型的软件模块自动划分

Automatic Software Module Partition Based on Hypergraph Model

  • 推荐 CAJ下载
  • PDF下载
  • 不支持迅雷等下载工具,请取消加速工具后下载。

【作者】 魏小凤; 胡继承; 罗永恩;

【Author】 WEI Xiaofeng;HU Jicheng;LUO Yong ’en;State Key Lab of Software Engineering,Wuhan University;

【机构】 武汉大学软件工程国家重点实验室;

【摘要】 应用超图理论模型设计软件模块的自动划分算法。通过分析软件源码建立超图模型,将类抽象为超图的顶点,使多个类之间存在关联,将软件模块划分转换为超图划分问题,再利用超图模型实现对超图的划分,从而达到软件模块划分的目的。基于高内聚低耦合原则给出模块度的概念,得到优化的分割结果。以开源软件为实验数据,并与传统的划分算法hMetis进行对比,结果表明该算法的划分结果较优,验证了其合理性与有效性。

【Abstract】 This paper applies the hypergraph model to design automatic software module partition algorithm.Under the hypergraph modeling,each significant class extracted from the source codes of an analyzing software system is abstracted as a vertex of a hypergraph,and hyperedges are built among the classes which have relations to some extent.Then the problem of module partition is translated into a partitioning problem of a hypergraph,which can be solved by hypergraph partitioning algorithm.In order to improve the partitioning result,a new modularity function is constructed according to the cohesion states and coupling relations in and among software modules.Compared with hMetis algorithm,experimental results show that the proposed algorithm can obtain reasonable and effective module partition.

【基金】 国家国际科技合作专项基金资助项目(2013DFA12460)
  • 【文献出处】 计算机工程 ,Computer Engineering , 编辑部邮箱 ,2016年01期
  • 【分类号】TP311.5;O157.5
  • 【被引频次】13
  • 【下载频次】175
节点文献中: