The effect of inheritance on the maintainability of object-oriented software: an empirical study

J. Daly, A. Brooks, J. Miller, M. Roper, M. Wood

Research output: Chapter in Book/Report/Conference proceedingChapter

24 Citations (Scopus)

Abstract

The empirical study was undertaken as part of a programme of research to explore unsupported claims about the object-oriented paradigm: a series of experiments tested the effect of inheritance on the maintainability of object-oriented software. Subjects were asked to modify object-oriented software with a hierarchy of 3 levels of inheritance depth and equivalent object-based software with no inheritance. The collected timing data showed that subjects maintaining object-oriented software using inheritance performed the modification tasks, on average, approximately 20% quicker than those maintaining equivalent object-based software with no inheritance. An initial inductive analysis revealed that 2 out of 3 subjects performed faster when maintaining the object-oriented software with inheritance. The findings are sufficiently important that attempts to verify the results should be made by independent researchers. Subsequent studies should seek to scale up the findings to the maintenance of more complex software by professional programmers.
Original languageEnglish
Title of host publicationProceedings of the IEEE International Conference on Software Maintenance
PublisherIEEE
Pages20-29
Number of pages9
DOIs
Publication statusPublished - 1995

Keywords

  • inheritance
  • data structures
  • software maintenance
  • object-oriented programming
  • timing
  • maintainability
  • object-oriented software
  • empirical study
  • object-oriented software modification
  • inheritance depth
  • timing data
  • inductive analysis

Cite this

Daly, J., Brooks, A., Miller, J., Roper, M., & Wood, M. (1995). The effect of inheritance on the maintainability of object-oriented software: an empirical study. In Proceedings of the IEEE International Conference on Software Maintenance (pp. 20-29). IEEE. https://doi.org/10.1109/ICSM.1995.526524