Inheritance usage patterns in open-source systems
Stevenson, Jamie and Wood, Murray I. (2018) Inheritance usage patterns in open-source systems. In: 40th International Conference on Software Engineering, 2018-05-30 - 2018-06-01, Chalmers University of Technology. (https://doi.org/10.1145/3180155.3180168)
Preview |
Text.
Filename: Stevenson_Wood_ICSE_2018_Inheritance_usage_patterns_in_open_source_systems.pdf
Accepted Author Manuscript Download (285kB)| Preview |
Abstract
This research investigates how object-oriented inheritance is actually used in practice. The aim is to close the gap between inheritance guidance and inheritance practice. It is based on detailed analyses of 2440 inheritance hierarchies drawn from 14 open-source systems. The original contributions made by this paper concern pragmatic assessment of inheritance hierarchy design quality. The findings show that inheritance is very widely used but that most of the usage patterns that occur in practice are simple in structure. They are so simple that they may not require much inheritance-specific design consideration. On the other hand, the majority of classes defined using inheritance actually appear within a relatively small number of large, complex hierarchies. While some of these large hierarchies appear to have a consistent structure, often based on a problem domain model or a design pattern, others do not. Another contribution is that the quality of hierarchies, especially the large problematic ones, may be assessed in practice based on size, shape, and the definition and invocation of novel methods – all properties that can be detected automatically.
ORCID iDs
Stevenson, Jamie ORCID: https://orcid.org/0000-0002-1067-7918 and Wood, Murray I. ORCID: https://orcid.org/0000-0002-9449-1036;-
-
Item type: Conference or Workshop Item(Paper) ID code: 63292 Dates: DateEvent30 May 2018Published13 December 2017AcceptedSubjects: Science > Mathematics > Computer software Department: Faculty of Science > Computer and Information Sciences Depositing user: Pure Administrator Date deposited: 14 Feb 2018 14:22 Last modified: 19 Nov 2024 01:29 Related URLs: URI: https://strathprints.strath.ac.uk/id/eprint/63292