TopicXP: Exploring topics in source code using Latent Dirichlet Allocation
Trevor Savage, Bogdan Dit, Malcom Gethers et al. · Proceedings/Proceedings - Conference on Software Maintenance · 2010
Acquiring general understanding of large software systems and components from which they are built can be a time consuming task, but having such an understanding is an important prerequisite to adding features or fixing bugs. In this paper we propose the tool, namely TopicXP, to support developers during such software maintenance tasks by extracting and analyzing unstructured information in source code identifier names and comments using Latent Dirichlet Allocation. TopicXPenables developers to gain an overview of a software system under analysis by extracting and visualizing natural language topics, which generally correspond to concepts or features implemented in software classes. TopicXPis implemented as an open-source Eclipse plug-in, which proposes interactive visualization of topics along with structural dependencies between underlying classes implementing these topics. The paper also presents the results of a preliminary user study aimed at evaluating TopicXP.
Cited by 66 works. doi:10.1109/icsm.2010.5609654
Authors
References
- Indexing by latent semantic analysis
- Latent dirichlet allocation
- 10.1162/jmlr.2003.3.4-5.993
- Tree visualization with tree-maps
- Semantic clustering: Identifying topics in source code
- Feature Location Using Probabilistic Ranking of Methods Based on Execution Scenarios and Information Retrieval
- Software traceability with topic modeling
- Source Code Retrieval for Bug Localization Using Latent Dirichlet Allocation
- A theory of aspects as latent topics
- Mining business topics in source code using latent dirichlet allocation