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

Joint Authors

Sun, Xiaobing
Li, Bin
Duan, Yucong
Liu, Xiangyue

Source

Scientific Programming

Issue

Vol. 2017, Issue 2017 (31 Dec. 2017), pp.1-11, 11 p.

Publisher

Hindawi Publishing Corporation

Publication Date

2017-04-12

Country of Publication

Egypt

No. of Pages

11

Main Subjects

Mathematics

Abstract EN

Program comprehension is an important task faced by developers during software maintenance.

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 package-class 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.

American Psychological Association (APA)

Sun, Xiaobing& Liu, Xiangyue& Duan, Yucong& Li, Bin. 2017. Using Hierarchical Latent Dirichlet Allocation to Construct Feature Tree for Program Comprehension. Scientific Programming،Vol. 2017, no. 2017, pp.1-11.
https://search.emarefa.net/detail/BIM-1203405

Modern Language Association (MLA)

Sun, Xiaobing…[et al.]. Using Hierarchical Latent Dirichlet Allocation to Construct Feature Tree for Program Comprehension. Scientific Programming No. 2017 (2017), pp.1-11.
https://search.emarefa.net/detail/BIM-1203405

American Medical Association (AMA)

Sun, Xiaobing& Liu, Xiangyue& Duan, Yucong& Li, Bin. Using Hierarchical Latent Dirichlet Allocation to Construct Feature Tree for Program Comprehension. Scientific Programming. 2017. Vol. 2017, no. 2017, pp.1-11.
https://search.emarefa.net/detail/BIM-1203405

Data Type

Journal Articles

Language

English

Notes

Includes bibliographical references

Record ID

BIM-1203405