期刊文献+

一种基于函数依赖图的构件抽取方法 被引量:3

A Method of Component Extraction Based on Function Dependence Graph
在线阅读 下载PDF
导出
摘要 结合程序切片技术,文中提出了一种基于函数依赖图的构件抽取方法。先讨论函数依赖图中的几种依赖关系及其表示方法,再对由源码分析所得的函数依赖图进行切片操作得到依赖子图,并结合源码生成最终切片代码,即为构件抽取的结果。此基础上,提出一种基于函数依赖图的内聚度和耦合度的计算方法,以便从软件度量的角度来评价切片代码(构件)的质量。实验表明利用文中的构件抽取方法生成的切片代码较精简,且具有较高的运行效率。 Based on function dependence graph,we propose a method of component extraction in this paper.First,we discuss some relations of dependence in a function dependence graph as well as their representations in a graph.Then,A sub-graph will be generated by doing slicing operations to the function dependence graph which is generated through parsing the source codes.Combining the source codes and the sub-graph,the sliced codes which are the result of component extraction can be generated.we also propose a method of computing the degree of cohesion and coupling based on function dependence graph to evaluate the qualities of the sliced codes from the point of software metrics.Experiments prove that the sliced codes generated by the method in this paper are more efficient.
出处 《南京邮电大学学报(自然科学版)》 2010年第6期78-84,共7页 Journal of Nanjing University of Posts and Telecommunications:Natural Science Edition
基金 国家自然科学基金(60703086 60873231 60973046 60903026) 江苏省自然科学基金(BK2009426) 江苏省高校自然科学基金(10KJB520015) 南京邮电大学樊登计划(NY210009)资助项目
关键词 构件抽取 函数依赖图 程序切片 内聚度和耦合度 HASKELL component extraction function dependence graph program slicing cohesion and coupling Haskell
  • 相关文献

参考文献14

  • 1李翔,怀进鹏,曾晋,高鹏.一种Java遗留系统服务化切分和封装方法[J].计算机学报,2009,32(9):1804-1815. 被引量:6
  • 2graphType website[EB/OL].http:∥hackage.haskell.org/package/graphtype.
  • 3RODRIGUES F,BARBOSA S.Component Identification Through Program Slicing[C] ∥The Procedings of Formal Aspects of Component Software(FACS).2005:231-245.
  • 4WEISER M.Program slicing[J].IEEE Transactions on Software Engineering,1984,16(5):498-509.
  • 5TIP F.A survey of program slicing techniques[J].Journal of Programming Languages,1995,3(3):121-189.
  • 6BINKLEY D,GALLAGHER K.Program slicing[J].Advances in Computers,1996,43:1-50.
  • 7张迎周,徐宝文.一种新型形式化程序切片方法[J].中国科学(E辑),2008,38(2):161-176. 被引量:8
  • 8DAUME H.Yet Another Haskell Tutorial[EB/OL].http∥www.cs.utah.edu /-hal/htut/tutorial.pdf.
  • 9HUTTON G.Programming in Haskell[M].London:Cambridge University Press,2006.
  • 10张迎周,张卫丰.Haskell:一种现代纯函数式语言[J].南京邮电大学学报(自然科学版),2007,27(4):13-18. 被引量:9

二级参考文献113

共引文献85

同被引文献25

引证文献3

二级引证文献2

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部