DocumentCode
3224071
Title
An Empirical Study of Evolution of Inheritance in Java OSS
Author
Nasseri, E. ; Counsell, S. ; Shepperd, M.
Author_Institution
Brunel Univ., Uxbridge
fYear
2008
fDate
26-28 March 2008
Firstpage
269
Lastpage
278
Abstract
Previous studies of Object-Oriented (OO) software have reported avoidance of the inheritance mechanism and cast doubt on the wisdom of ´deep´ inheritance levels. From an evolutionary perspective, the picture is unclear - we still know relatively little about how, over time, changes tend to be applied by developers. Our conjecture is that an inheritance hierarchy will tend to grow ´breadth-wise´ rather than ´depth-wise´. This claim is made on the basis that developers will avoid extending depth in favour of breadth because of the inherent complexity of having to understand the functionality of superclasses. Thus the goal of our study is to investigate this empirically. We conduct an empirical study of seven Java Open-Source Systems (OSSs) over a series of releases to observe the nature and location of changes within the inheritance hierarchies. Results showed a strong tendency for classes to be added at levels one and two of the hierarchy (rather than anywhere else). Over 96% of classes added over the course of the versions of all systems were at level 1 or level 2. The results suggest that changes cluster in the shallow levels of a hierarchy; this is relevant for developers since it indicates where remedial activities such as refactoring should be focused.
Keywords
Java; open systems; Java open-source system; inheritance hierarchy; inheritance mechanism; object-oriented software; Australia; Information systems; Java; Mathematics; Open source software; Software engineering; Software maintenance; Software quality; Software systems; Software testing; Evolution; Inheritance.;
fLanguage
English
Publisher
ieee
Conference_Titel
Software Engineering, 2008. ASWEC 2008. 19th Australian Conference on
Conference_Location
Perth, WA
ISSN
1530-0803
Print_ISBN
978-0-7695-3100-7
Type
conf
DOI
10.1109/ASWEC.2008.4483215
Filename
4483215
Link To Document