Sciweavers

ASWEC
2008
IEEE

An Empirical Study of Evolution of Inheritance in Java OSS

13 years 11 months ago
An Empirical Study of Evolution of Inheritance in Java OSS
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 show a strong tendency for classes to be added at levels one and two of the hierarchy (rather than anywhere else). Over 96%...
Emal Nasseri, Steve Counsell, M. Shepperd
Added 29 May 2010
Updated 29 May 2010
Type Conference
Year 2008
Where ASWEC
Authors Emal Nasseri, Steve Counsell, M. Shepperd
Comments (0)