arrow
Return

Semantic clustering: Identifying topics in source code

delete2007-03-01
delete343
PRE
AI
A
Adrian Kuhn *
S
Sté́phane Ducasse
T
Tudor Gîrba
DOI:10.1016/j.infsof.2006.10.017delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
Many of the existing approaches in Software Comprehension focus on program structure or external documentation. However, by analyzing formal information the informal semantics contained in the vocabulary of source code are overlooked. To understand software as a whole, we need to enrich software analysis with the developer knowledge hidden in the code naming. This paper proposes the use of information retrieval to exploit linguistic information found in source code, such as identifier names and comments. We introduce Semantic Clustering, a technique based on Latent Semantic Indexing and clustering to group source artifacts that use similar vocabulary. We call these groups semantic clusters and we interpret them as linguistic topics that reveal the intention of the code. We compare the topics to each other, identify links between them, provide automatically retrieved labels, and use a visualization to illustrate how they are distributed over the system. Our approach is language independent as it works at the level of identifier names. To validate our approach we applied it on several case studies, two of which we present in this paper. Note: Some of the visualizations presented make heavy use of colors. Please obtain a color copy of the article for better understanding. (c) 2006 Elsevier B.V. All rights reserved.
Keywords:
reverse engineering
clustering
latent semantic indexing
visualization
AI Summary

AI Summary

Key information extracted from the uploaded paper, including a brief overview, abstract, background, key highlights, visual analysis, and future outlook.

Journal

Information and Software Technology cover
Information and Software Technology
IF:
4.3
Papers:
3.8K
Citations:
7.7K

Organization

No organization information available
Cited Papers

Cited Papers

Zinc Selective Ionophores for Potentiometric and Optical Sensors
err1992-03-01
err0
PREAI
errErnö Lindner; Mária Horváth; Klára Tóth; Ernö Pungor; István Bitter; Béla Ágai; László Töke
errShare
errSave
errShare
errSave
Recovering traceability links between code and documentation
err2002-10-01
err601
errOAAI
errAntoniol, G; Canfora, G; Casazza, G; De Lucia, A; Merlo, E
errShare
errSave
Data clustering: A review
err1999-09-01
err9.6K
errOAAI
errJain, AK; Murty, MN; Flynn, PJ
errShare
errSave
researcher View more