National Natural Science Foundation of China (No.61402396, No.61472344);Natural Science Fund of Education Department of Jiangsu Province (No.13KJB520027);Open Fund of State Key Laboratory for Novel Software Technology at Nanjing University (No.KFKT2016B21);Blue Project in Jiangsu Province
SUN Xiao-bing, LIU Xiang-yue, LI Bin, et al. On Automatic Construction and Analysis of Program Network via Relational Topic Model[J]. Acta Electronica Sinica, 2017, 45(5): 1052-1056.
DOI:
SUN Xiao-bing, LIU Xiang-yue, LI Bin, et al. On Automatic Construction and Analysis of Program Network via Relational Topic Model[J]. Acta Electronica Sinica, 2017, 45(5): 1052-1056. DOI: 10.3969/j.issn.0372-2112.2017.05.004.
On Automatic Construction and Analysis of Program Network via Relational Topic Model
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.