DocumentCode
575768
Title
A Framework for Examining Topical Locality in Object-Oriented Software
Author
Niu, Nan ; Savolainen, Juha ; Bhowmik, Tanmay ; Mahmoud, Anas ; Reddivari, Sandeep
Author_Institution
Dept. of Comput. Sci. & Eng., Mississippi State Univ., Starkville, MS, USA
fYear
2012
fDate
16-20 July 2012
Firstpage
219
Lastpage
224
Abstract
The software entities of an object-oriented system should be organized in such a way that "spatial relatedness entails semantic relatedness". We refer this as the tenet of "topical locality" and argue that it is fundamental for the code base to be navigable. In this paper, we propose a novel experimental framework to test this key tenet and use large-scale open-source projects to assess three relationships. In particular, we find that: (1) class name along with header comments conveys class body\´s topic; (2) a code line is indicative of its surroundings; and (3) a contiguous code fragment may serve as a snapshot of the entire class. Our work not only shows the foundations necessary for the success of many code navigation approaches, but also opens avenues for further tool enhancements.
Keywords
object-oriented programming; public domain software; reverse engineering; software maintenance; class body topic; class name; code line; code navigation; contiguous code fragment; header comment; large-scale open-source project; navigable code base; object-oriented software; object-oriented system; program comprehension; semantic relatedness; software entity; software maintenance; spatial relatedness; tool enhancement; topical locality; Correlation; Indexing; Navigation; Semantics; Software; Software engineering; Visualization; code navigation; experimentation; information seeking; program comprehension; topical locality;
fLanguage
English
Publisher
ieee
Conference_Titel
Computer Software and Applications Conference (COMPSAC), 2012 IEEE 36th Annual
Conference_Location
Izmir
ISSN
0730-3157
Print_ISBN
978-1-4673-1990-4
Electronic_ISBN
0730-3157
Type
conf
DOI
10.1109/COMPSAC.2012.32
Filename
6340146
Link To Document