Title :
Validating the Use of Topic Models for Software Evolution
Author :
Thomas, Stephen W. ; Adams, Bram ; Hassan, Ahmed E. ; Blostein, Dorothea
Author_Institution :
Software Anal. & Intell. Lab. (SAIL), Queen´´s Univ., Kingston, ON, Canada
Abstract :
Topics are collections of words that co-occur frequently in a text corpus. Topics have been found to be effective tools for describing the major themes spanning a corpus. Using such topics to describe the evolution of a software system´s source code promises to be extremely useful for development tasks such as maintenance and re-engineering. However, no one has yet examined whether these automatically discovered topics accurately describe the evolution of source code, and thus it is not clear whether topic models are a suitable tool for this task. In this paper, we take a first step towards deter-mining the suitability of topic models in the analysis of software evolution by performing a qualitative case study on 12 releases of JHotDraw, a well studied and documented system. We define and compute various metrics on the identified topics and manually investigate how the metrics evolve over time. We find that topic evolutions are characterizable through spikes and drops in their metric values, and that the large majority of these spikes and drops are indeed caused by actual change activity in the source code. We are thus encouraged by the use of topic models as a tool for analyzing the evolution of software.
Keywords :
software maintenance; software metrics; statistical analysis; JHot draw system; software evolution; software maintenance; software re-engineering; source code evolution; topic drops; topic evolutions; topic models; topic spikes; Analytical models; Color; History; Measurement; Monitoring; Software; Visualization; Software evolution; latent Dirichlet allocation; topic modeling;
Conference_Titel :
Source Code Analysis and Manipulation (SCAM), 2010 10th IEEE Working Conference on
Conference_Location :
Timisoara
Print_ISBN :
978-1-4244-8655-7
DOI :
10.1109/SCAM.2010.13