期刊文献+

基于源码解析的软件依赖网络构建研究

Research on Software Dependency Network ConstructionBased on Source Code Parsing
下载PDF
导出
摘要 软件依赖网络是指代码中各个实体因相互依赖而形成的复杂网络结构。当前,大多数的研究使用商业或闭源工具构建依赖网络数据集,工具之间缺乏统一的实体依赖模型,难以进行数据交换、工具迁移和性能对比。为此,采用源码解析的方式提取依赖关系,构建软件依赖网络,并在6个开源项目上,从依赖提取和依赖强度两个方面开展实证分析,构建一个规模不等、可复现、开放、共享的依赖网络数据集,以便研究人员开展基于软件依赖网络的应用研究。 Software dependency network is the complex network structure formed by the interdependence between entities in code.Currently,most studies rely on commercial or proprietary closed tools for constructing dependency network datasets,and a unified entity dependency model is lacking among these tools.This absence makes it difficult to exchange data,migrate tools,and compare performance.Therefore,this paper uses source code parsing to extract dependency relationship,construct software dependency networks,and conduct empirical analysis on six open source projects in terms of dependency extraction and dependency strength.It strives to build a dataset of dependency networks that is of varying scales,replicable,open,and shared,in order to facilitate researchers in conducting application researches based on software dependency networks.
作者 刘辉辉 马乐军 王蓁蓁 闫瑞 杨沐雨 LIU Hui-hui;MA Le-jun;WANG Zhen-zhen;YAN Rui;YANG Mu-yu(Jinling Institute of Technology,Nanjing 211169,China;Nanjing University,Nanjing 210093,China)
出处 《金陵科技学院学报》 2023年第4期1-8,70,共9页 Journal of Jinling Institute of Technology
基金 金陵科技学院高层次人才科研启动基金(jit-b-202007,jit-b-202211) 江苏省高等学校基础科学(自然科学)研究重大项目(22KJA520002)。
关键词 软件依赖网络 源代码解析 代码依赖提取 静态分析 software dependency network source code parsing code dependency extraction static analysis
  • 相关文献

参考文献1

二级参考文献28

  • 1T. Mens, T. Tourwe. A survey of software refactoring IEEE Transactions on Software Engineering, vol. 30, no. 2 pp. 126-139, 2004.
  • 2M. Fowler, K. Beck. Refactoring: Improving the Design of Existing Code, New York, USA: Addison Wesley, pp. 260- 266, 1999.
  • 3W. F. Pan, B. Li, Y. T. Ma, J. Liu, Y. Y. Qin. Class struc- ture refatoring of object-oriented softwares using commu- nity detection in dependency networks. Frontiers of Com- puter Science in China, vol. 3, no. 3, pp. 396-404, 2009.
  • 4W. J. Brown, R. C. Malveau, H. W. McCormick, T. J. Mow- bray. AntiPatterns: Refactoring Software, Architectures, and Projects in Crises, New York, USA: John Wiley and Sons, pp. 47-56, 1998.
  • 5O. Seng, J. Stanmmel, D. Burkhart. Search-based deter- mination of refactorings for improving the class structure of object-oriented systems. In Proceedings of the 8th An- nual Conference on Genetic and Evolutionary Computa- tion, ACM, New York, USA, pp. 1909-1916, 2006.
  • 6C. R. Myers. Software systems as complex networks: Struc- ture, function, and evolvability of software collaboration graphs. Physical Review E, vol. 68, no. 4, 046116, 2003.
  • 7A. Potanin, J. Noble, M. Frean, R. Biddle. Scale-free geom- etry in OO programs. Communications of the ACM, vol. 48, no. 5, pp. 99-103, 2005.
  • 8G. Concas, M. Marchesi, S. Pinna, N. Serra. Power-laws in a large object-oriented software system. IEEE Transactions on Software Engineering, vol. 33, no. 10, pp. 687-708, 2007.
  • 9W. F. Pan, B. Li, Y. T. Ma, Y. Y. Qin, X. Y. Zhou. Mea- suring structural quality of object-oriented softwares via bug propagation analysis on weighted software networks. Journal of Computer Science and Technology, vol. 25, no. 6, pp. 1202-1213, 2010.
  • 10K. Maruyama, K. Shima. Automatic method refactoring us- ing weighted dependence graphs. In Proceedings of the 21st International Conference on Software Engineering, ACM, Los Angeles, CA, USA, pp. 236-245, 1999.

共引文献3

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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