Mining cohesive domain topics from source code

3Citations
Citations of this article
4Readers
Mendeley users who have this article in their library.
Get full text

Abstract

Using topic models to mine domain topics from source code has been a promising way for developers to comprehend the functional concerns implemented in the source code of a software system. However, not all the topics mined from source code are domain topics that represent functional concerns of the software. Besides domain topics, other topics may represent cross-cutting concerns or other concerns. These topics are noises in the context of helping developers to comprehend the functional concerns. In this paper, we propose an approach to filter out noises and mine Cohesive Domain Topics (CDTs) from source code. A topic is a CDT if its associated words represent certain functional concern and its associated source code elements collaboratively implement the functional concern. Firstly, we propose a series of Filtering Heuristics to filter out programming related information in source code which may bring in noises. Then, we mine raw topics from source code using Latent Dirichlet Allocation. Finally, based on the structural relationships among the source code elements associated to a topic, we propose a novel metric called Topic Cohesion to identify CDTs from the raw topics. Experimental results on a set of open source software show that our approach can effectively filter out noises and obtain CDTs from source code. © 2013 Springer-Verlag Berlin Heidelberg.

Cite

CITATION STYLE

APA

Xie, B., Li, M., Jin, J., Zhao, J., & Zou, Y. (2013). Mining cohesive domain topics from source code. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 7925 LNCS, pp. 239–254). https://doi.org/10.1007/978-3-642-38977-1_16

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free