首页> 中文期刊> 《电子学报》 >基于相关主题模型的程序网络自动构建与分析

基于相关主题模型的程序网络自动构建与分析

         

摘要

程序理解的目的在于获得足够的软件系统信息,以适用于人理解的形式展现出来,辅助开发人员对软件的理解.本文通过使用相关主题模型,为软件系统类层次的代码文件建立程序网络,并可视化展示整个软件系统的相关结构和功能,辅助开发者理解整个程序代码.该技术综合考虑了软件代码中的结构性信息和内容性信息,所建立的程序网络可帮助开发者更好的理解程序的语法依赖关系和语义功能相关关系.实验验证了建立的程序网络具有较好的准确性以及可以为指定的类推荐相关类.%Program comprehension aims to obtain enough information in the software system to promote the comprehension of the target software.This paper proposes a novel technique,which uses relational topic model (RTM) to model code (class-level) documents in the software system into a program network.Then,the program network is visualized to help developers understand the whole software.The advantage of RTM is that it takes into account both the structural and textual information in the software system,which enables developers to fully understand the syntax dependence and semantic functional relationship in the program.The empirical results show that the program network is more accurate to model the relation among different classes,moreover,it is able to recommend relevant classes for a given class to understand a local part in the program.

著录项

  • 来源
    《电子学报》 |2017年第5期|1052-1056|共5页
  • 作者单位

    扬州大学信息工程学院,江苏扬州 225127;

    南京大学计算机软件新技术国家重点实验室,江苏南京 210023;

    扬州大学信息工程学院,江苏扬州 225127;

    扬州大学信息工程学院,江苏扬州 225127;

    南京大学计算机软件新技术国家重点实验室,江苏南京 210023;

    扬州大学信息工程学院,江苏扬州 225127;

  • 原文格式 PDF
  • 正文语种 chi
  • 中图分类 程序设计、软件工程;
  • 关键词

    程序理解; 相关主题模型; 程序网络;

相似文献

  • 中文文献
  • 外文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号