Mining Business Topics in Source Code using Latent Dirichlet Allocation
- Other:
- Shroff, Gautam
Abstract
One of the difficulties in maintaining a large software system is the absence of documented business domain topics and correlation between these domain topics and source code. Without such a correlation, people without any prior application knowledge would find it hard to comprehend the functionality of the system. Latent Dirichlet Allocation (LDA), a statistical model, has emerged as a popular technique for discovering topics in large text document corpus. But its applicability in extracting business domain topics from source code has not been explored so far. This paper investigates LDA in the context of comprehending large software systems and proposes a human assisted approach based on LDA for extracting domain topics from source code. This method has been applied on a number of open source and proprietary systems. Preliminary results indicate that LDA is able to identify some of the domain topics and is a satisfactory starting point for further manual refinement of topics.
Additional Information
© 2008 ACM.Additional details
- Eprint ID
- 72472
- Resolver ID
- CaltechAUTHORS:20161130-151624356
- Created
-
2016-11-30Created from EPrint's datestamp field
- Updated
-
2021-11-11Created from EPrint's last_modified field