Facilitating Scenario-based Program Comprehension with Topic Models

被引:1
作者
Wang, Tianxia [1 ]
Liu, Yan [1 ]
机构
[1] Tongji Univ, Sch Software Engn, Shanghai, Peoples R China
来源
2017 24TH ASIA-PACIFIC SOFTWARE ENGINEERING CONFERENCE (APSEC 2017) | 2017年
关键词
Mining software assets; !text type='Java']Java[!/text] program comprehension; Topic models;
D O I
10.1109/APSEC.2017.78
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Researchers and practitioners have been seeking automatic and semi-automatic approaches to support program comprehension. However, not too much attention has been given to the discussion about program comprehension scenarios and further exploration based on scenarios. In this paper, we explored program comprehension from the perspective of developers, analyzed the demands of developers, refined two program comprehension scenarios (Program Users Scenario and Program Owners Scenario), and mainly researched on the latter. In the Program Users Scenario, where developers need help to quickly understand a program and be able to use it fast, we found that topic modeling provides a promising way to facilitate program comprehension. Using topic modeling, features and structures can be discovered automatically from textual software assets. We also developed JSEA, a tool that provides semi-automatic program comprehension assistance. JSEA utilizes essential information automatically generated from Java projects to construct a project overview and give developers search capability. Experiments with 12 volunteers on two open source Java projects suggest that JSEA can support Java developers in comprehending programs in the Program Users Scenario.
引用
收藏
页码:642 / 647
页数:6
相关论文
共 22 条
[1]  
[Anonymous], 2015, EMPIRICAL SOFTWARE E
[2]  
[Anonymous], 2016, 2016 Twenty Second National Conference on Communication (NCC)
[3]  
[Anonymous], 2009, TEXT MINING CLASSIFI, DOI [DOI 10.1145/1141844.1143859, DOI 10.1201/9781420059458.CH4]
[4]  
Bacchelli A, 2013, PROCEEDINGS OF THE 35TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE 2013), P712, DOI 10.1109/ICSE.2013.6606617
[5]   Theory of Aspects as Latent Topics [J].
Baldi, Pierre F. ;
Lopes, Cristina V. ;
Linstead, Erik J. ;
Bajracharya, Sushil K. .
ACM SIGPLAN NOTICES, 2008, 43 (10) :543-562
[6]   Latent Dirichlet allocation [J].
Blei, DM ;
Ng, AY ;
Jordan, MI .
JOURNAL OF MACHINE LEARNING RESEARCH, 2003, 3 (4-5) :993-1022
[7]   TOWARDS A THEORY OF THE COMPREHENSION OF COMPUTER-PROGRAMS [J].
BROOKS, R .
INTERNATIONAL JOURNAL OF MAN-MACHINE STUDIES, 1983, 18 (06) :543-554
[8]   PROGRAM UNDERSTANDING - CHALLENGE FOR THE 1990S [J].
CORBI, TA .
IBM SYSTEMS JOURNAL, 1989, 28 (02) :294-306
[9]   A Systematic Survey of Program Comprehension through Dynamic Analysis [J].
Cornelissen, Bas ;
Zaidman, Andy ;
van Deursen, Arie ;
Moonen, Leon ;
Koschke, Rainer .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2009, 35 (05) :684-702
[10]   An exploratory study of program comprehension strategies of procedural and object-oriented programmers [J].
Corritore, CL ;
Wiedenbeck, S .
INTERNATIONAL JOURNAL OF HUMAN-COMPUTER STUDIES, 2001, 54 (01) :1-23