| 注册
首页|期刊导航|电子学报|基于相关主题模型的程序网络自动构建与分析

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

孙小兵 刘湘月 李斌 张伟佳

电子学报2017,Vol.45Issue(5):1052-1056,5.
电子学报2017,Vol.45Issue(5):1052-1056,5.DOI:10.3969/j.issn.0372-2112.2017.05.004

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

On Automatic Construction and Analysis of Program Network via Relational Topic Model

孙小兵 1刘湘月 2李斌 1张伟佳1

作者信息

  • 1. 扬州大学信息工程学院,江苏扬州 225127
  • 2. 南京大学计算机软件新技术国家重点实验室,江苏南京 210023
  • 折叠

摘要

Abstract

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.

关键词

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

Key words

program comprehension/relational topic model/program network

分类

信息技术与安全科学

引用本文复制引用

孙小兵,刘湘月,李斌,张伟佳..基于相关主题模型的程序网络自动构建与分析[J].电子学报,2017,45(5):1052-1056,5.

基金项目

国家自然科学基金(No.61402396,No.61472344) (No.61402396,No.61472344)

江苏省教育厅自然科学基金(No.13KJB520027) (No.13KJB520027)

南京大学计算机软件新技术国家重点实验室开放基金(No.KFKT2016B21) (No.KFKT2016B21)

江苏青蓝工程 ()

电子学报

OA北大核心CSCDCSTPCD

0372-2112

访问量0
|
下载量0
段落导航相关论文