Mining business topics in source code using latent dirichlet allocation
The DOI matches its Crossref record; 23 of the 23 references it cites were found in a registry or an index.
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 approachbased 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 isa satisfactory starting point for further manual refinement of topics
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
(2003) · Journal of Machine Learning Research · doi:10.5555/944919.944937 · Cited by 32,337
Indexing by latent semantic analysis
Deerwester, S., Dumais, S. T., Furnas, G. W., Landauer, T. K., & Harshman, R. (1990) · Journal of the American Society for Information Science · doi:10.1002/(sici)1097-4571(199009)41:6<391::aid-asi1>3.0.co;2-9 · Cited by 12,751
An algorithm for suffix stripping
Porter, M. F. (1980) · Program · doi:10.1108/eb046814 · Cited by 8,096 · cited 1×
“We have used the Porter’s stemming algorithm [ 20 ] for stemming all words into a common root.”
MethodGriffiths, T. L., & Steyvers, M. (2004) · Proceedings of the National Academy of Sciences · doi:10.1073/pnas.0307752101 · Cited by 6,049 · cited 4×
“A few algorithms have been proposed for fitting the LDA model to a text corpus such as variational Bayes [7], expectation propagation [14], and Gibbs sampling [10].”
MethodInfluentialRecovering traceability links between code and documentation
Antoniol, G., Canfora, G., Casazza, G., De Lucia, A., & Merlo, E. (2002) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2002.1041053 · Cited by 967
International Conference on Software Engineering
(2017) · IEEE Software · doi:10.1109/ms.2017.3571566 · Cited by 622
Probabilistic author-topic models for information discovery
Steyvers, M., Smyth, P., Rosen-Zvi, M., & Griffiths, T. (2004) · Proceedings of the tenth ACM SIGKDD international conference on Knowledge discovery and data mining · doi:10.1145/1014052.1014087 · Cited by 572
Recovering Documentation-to-Source-Code Traceability Links using Latent Semantic Indexing
Marcus, A., & Maletic, J. I. (2007) · Cited by 548
Semantic clustering: Identifying topics in source code
Kuhn, A., Ducasse, S., & Gîrba, T. (2007) · Information and Software Technology · doi:10.1016/j.infsof.2006.10.017 · Cited by 496
An information retrieval approach to concept location in source code
Marcus, A., Sergeyev, A., Rajlich, V., & Maletic, J. I. (2005) · 11th Working Conference on Reverse Engineering · doi:10.1109/wcre.2004.10 · Cited by 455
Cited by
Software traceability with topic modeling
Asuncion, H. U., Asuncion, A. U., & Taylor, R. N. (2010) · Proceedings of the 32nd ACM/IEEE International Conference on Software Engineering - Volume 1 · doi:10.1145/1806799.1806817 · Cited by 321
Bug localization using latent Dirichlet allocation
Lukins, S. K., Kraft, N. A., & Etzkorn, L. H. (2010) · Information and Software Technology · doi:10.1016/j.infsof.2010.04.002 · Cited by 311
Source Code Retrieval for Bug Localization Using Latent Dirichlet Allocation
Lukins, S. K., Kraft, N. A., & Etzkorn, L. H. (2008) · 2008 15th Working Conference on Reverse Engineering · doi:10.1109/wcre.2008.33 · Cited by 238
A novel social media competitive analytics framework with sentiment benchmarks
He, W., Wu, H., Yan, G., Akula, V., & Shen, J. (2015) · Information & Management · doi:10.1016/j.im.2015.04.006 · Cited by 234
“The results of the analysis should be presented in a way that the user can understand [35].”
BackgroundOn the Equivalence of Information Retrieval Methods for Automated Traceability Link Recovery
Oliveto, R., Gethers, M., Poshyvanyk, D., & De Lucia, A. (2010) · 2010 IEEE 18th International Conference on Program Comprehension · doi:10.1109/icpc.2010.20 · Cited by 197
“We varied the number of topics starting at 50 and incrementing by 50 until we considered 300 topics, as prior work has shown its best to repeat the topic extraction process until an appropriate number of topics is determined [19].”
BackgroundMethodAutomatically detecting and describing high level actions within methods
Sridhara, G., Pollock, L., & Vijay-Shanker, K. (2011) · Proceedings of the 33rd International Conference on Software Engineering · doi:10.1145/1985793.1985808 · Cited by 182
Mapping the evolution of library and information science (1978–2014) using topic modeling on LISA
Figuerola, C. G., García Marco, F. J., & Pinto, M. (2017) · Scientometrics · doi:10.1007/s11192-017-2432-9 · Cited by 126
Analyzing and mining a code search engine usage log
Bajracharya, S. K., & Lopes, C. V. (2012) · Empirical Software Engineering · doi:10.1007/s10664-010-9144-6 · Cited by 90
“2007), mining business topics (Maskeri et al. 2008), mining author-topic models (Linstead et al.”
BackgroundInfluential
Metadata
- Authors
- Maskeri, G., Sarkar, S., & Heafield, K.
- Venue
- Proceedings of the 1st India software engineering conference
- Publisher
- ACM
- Published
- 2008-02-19
- Pages
- 113-120
- OpenAlex
- W2079194772
- Cited by
- 170
- References
- 23
- FWCI
- 8.39
- Type
- conference paper
- Language
- en
- Open access
- closed
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.