Please use this identifier to cite or link to this item: http://bura.brunel.ac.uk/handle/2438/30379
Title: Where the Bugs are: A Quasi-replication Study of the Effect of Inheritance Depth and Width in Java Systems
Authors: Counsell, S
Swift, S
Tahir, A
Issue Date: 25-Aug-2021
Publisher: Springer Nature
Citation: Counsell, S., Swift, S. and Tahir, A. (2021) 'Where the Bugs are: A Quasi-replication Study of the Effect of Inheritance Depth and Width in Java Systems', in Paiva, A.C.R. et al. (eds.) 14th International Conference: Quality of Information and Communications Technology. QUATIC 2021, Algarve, Portugal, 8–11 September. (Communications in Computer and Information Science, vol. 1439). Cham: Springer Nature, pp. 459 - 472. doi: 10.1007/978-3-030-85347-1_33.
Series/Report no.: International Conference on the Quality of Information and Communications Technology
Communications in Computer and Information Science (CCIS);volume 1439
Abstract: The role of inheritance in the OO paradigm and its inherent complexity has caused conflicting results in the software engineering community. In a seminal empirical study, Basili et al., suggest that, based on a critique of the Chidamber and Kemerer OO metrics suite, a class located deeper in an inheritance hierarchy will introduce more bugs because it inherits a large number of definitions from its ancestors. Equally, classes with a large number of children (i.e., descendants) are difficult to modify and usually require more testing because the class potentially affects all of its children. In this paper, we use a large data set containing bug and inheritance data from eleven Java systems (seven open-source and four commercial) to explore these two research questions. We explore whether it is the case that a class deeper in the hierarchy is more buggy because of its deep position. Equally, we explore whether there is a positive relationship between the number of children and bugs, if classes with large numbers of children are indeed more difficult to modify. Results showed no specific trend for classes deeper in the hierarchy to be more buggy vis-a-vis shallower classes; the four commercial systems actually showed a negative relationship. The majority of classes across the hierarchy were also found to have no children and those classes included the most buggy.
URI: https://bura.brunel.ac.uk/handle/2438/30379
DOI: https://doi.org/10.1007/978-3-030-85347-1_33
ISBN: 978-3-030-85346-4 (pbk)
978-3-030-85347-1 (ebk)
ISSN: 1865-0929
Other Identifiers: ORCiD: Steve Counsell https://orcid.org/0000-0002-2939-8919
ORCiD: Stephen Swift https://orcid.org/0000-0001-8918-3365
CCIS 1439
Appears in Collections:Dept of Computer Science Research Papers

Files in This Item:
File Description SizeFormat 
FullText.pdfCopyright © 2021 Springer Nature. This version of the article has been accepted for publication, after peer review (when applicable) and is subject to Springer Nature’s AM terms of use, but is not the Version of Record and does not reflect post-acceptance improvements, or any corrections. The Version of Record is available online at: https://doi.org/10.1007/978-3-030-85347-1_33 (see: https://www.springernature.com/gp/open-research/policies/journal-policies).639.14 kBAdobe PDFView/Open


Items in BURA are protected by copyright, with all rights reserved, unless otherwise indicated.