Using Hierarchical Latent Dirichlet Allocation to Construct Feature Tree for Program Comprehension

被引:2
|
作者
Sun, Xiaobing [1 ]
Liu, Xiangyue [2 ]
Duan, Yucong [3 ]
Li, Bin [1 ]
机构
[1] Yangzhou Univ, Sch Informat Engn, Yangzhou, Jiangsu, Peoples R China
[2] Nanjing Univ Posts & Telecommun, Tongda Coll, Nanjing, Jiangsu, Peoples R China
[3] Hainan Univ, Haikou, Hainan, Peoples R China
基金
中国博士后科学基金; 中国国家自然科学基金;
关键词
SOFTWARE ARCHITECTURE; SOURCE CODE; INFORMATION; SUPPORT;
D O I
10.1155/2017/4382348
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Programcomprehension is an important task faced by developers during softwaremaintenance. With the increasing complexity of evolving systems, program comprehension becomes more and more difficult. In practice, programmers are accustomed to getting a general view of the features in a software system and then finding the interesting or necessary files to start the understanding process. Given a system, developers may need a general view of the system. The traditional view of a system is shown in a packageclass structure which is difficult to understand, especially for large systems. In this article, we focus on understanding the system in both feature view and file structure view. This article proposes an approach to generate a feature tree based on hierarchical Latent Dirichlet Allocation (hLDA), which includes two hierarchies, the feature hierarchy and file structure hierarchy. The feature hierarchy shows the features from abstract level to detailed level, while the file structure hierarchy shows the classes from whole to part. Empirical results show that the feature tree can produce a view for the features and files, and the clustering of classes in the package in our approach is better (in terms of recall) than the other clustering approach, that is, hierarchical clustering.
引用
收藏
页数:11
相关论文
共 50 条
  • [1] Formation of Hierarchical Object Concept Using Hierarchical Latent Dirichlet Allocation
    Ando, Yoshiki
    Nakamura, Tomoaki
    Araki, Takaya
    Nagai, Takayuki
    2013 IEEE/RSJ INTERNATIONAL CONFERENCE ON INTELLIGENT ROBOTS AND SYSTEMS (IROS), 2013, : 2272 - 2279
  • [2] Feature extraction for document text using Latent Dirichlet Allocation
    Prihatini, P. M.
    Suryawan, I. K.
    Mandia, I. N.
    2ND INTERNATIONAL JOINT CONFERENCE ON SCIENCE AND TECHNOLOGY (IJCST) 2017, 2018, 953
  • [3] Feature Substitution Using Latent Dirichlet Allocation for Text Classification
    Mathivanan, Norsyela Muhammad Noor
    Janor, Roziah Mohd
    Abd Razak, Shukor
    Ghani, Nor Azura Md.
    INTERNATIONAL JOURNAL OF ADVANCED COMPUTER SCIENCE AND APPLICATIONS, 2025, 16 (01) : 1087 - 1098
  • [4] Unsupervised Feature Selection for Latent Dirichlet Allocation
    Xu Weiran
    Du Gang
    Chen Guang
    Guo Jun
    Yang Jie
    CHINA COMMUNICATIONS, 2011, 8 (05) : 54 - 62
  • [5] Configuring latent Dirichlet allocation based feature location
    Biggers, Lauren R.
    Bocovich, Cecylia
    Capshaw, Riley
    Eddy, Brian P.
    Etzkorn, Letha H.
    Kraft, Nicholas A.
    EMPIRICAL SOFTWARE ENGINEERING, 2014, 19 (03) : 465 - 500
  • [6] Configuring latent Dirichlet allocation based feature location
    Lauren R. Biggers
    Cecylia Bocovich
    Riley Capshaw
    Brian P. Eddy
    Letha H. Etzkorn
    Nicholas A. Kraft
    Empirical Software Engineering, 2014, 19 : 465 - 500
  • [7] A Framework for Mining Public Health Using Hierarchical Latent Dirichlet Allocation (HLDA).
    Kaveri, Vijeya V.
    Maheswari, V.
    RESEARCH JOURNAL OF PHARMACEUTICAL BIOLOGICAL AND CHEMICAL SCIENCES, 2016, 7 (03): : 422 - 426
  • [8] Gaussian hierarchical latent Dirichlet allocation: Bringing polysemy back
    Yoshida, Takahiro
    Hisano, Ryohei
    Ohnishi, Takaaki
    PLOS ONE, 2023, 18 (07):
  • [9] Image hierarchical representations models based on latent dirichlet allocation
    Wang, Fushun
    Li, Yan
    Sun, Xiaohua
    Cai, Zhenjiang
    Journal of Multimedia, 2013, 8 (04): : 358 - 364
  • [10] A Hierarchical Model Based on Latent Dirichlet Allocation for Action Recognition
    Yang, Shuang
    Yuan, Chunfeng
    Hu, Weiming
    Ding, Xinmiao
    2014 22ND INTERNATIONAL CONFERENCE ON PATTERN RECOGNITION (ICPR), 2014, : 2613 - 2618