An empirical study evaluating depth of inheritance on the maintainability of object-oriented software

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

Research output: Chapter in Book/Report/Conference proceedingChapter

Abstract

This empirical research was undertaken as part of a multi-method programme of research to investigate unsupported claims made of object-oriented technology. A series of subject-based laboratory experiments, including an internal replication, tested the effect of inheritance depth on the maintainability of object-oriented software. Subjects were timed performing identical maintenance tasks on object-oriented software with a hierarchy of three levels of inheritance depth and equivalent object-based software with no inheritance. This was then replicated with more experienced subjects. In a second experiment of similar design, subjects were timed performing identical maintenance tasks on object-oriented software with a hierarchy of five levels of inheritance depth and the equivalent object-based software. The collected data showed that subjects maintaining object-oriented software with three levels of inheritance depth performed the maintenance tasks significantly quicker than those maintaining equivalent object-based software with no inheritance. In contrast, subjects maintaining the object-oriented software with five levels of inheritance depth took longer, on average, than the subjects maintaining the equivalent object-based software (although statistical significance was not obtained). Subjects' source code solutions and debriefing questionnaires provided some evidence suggesting subjects began to experience diffculties with the deeper inheritance hierarchy. It is not at all obvious that object-oriented software is going to be more maintainable in the long run. These findings are sufficiently important that attempts to verify the results should be made by independent researchers.
LanguageEnglish
Title of host publicationEmpirical Studies of Programmers: Sixth Workshop
Pages39-58
Number of pages19
Publication statusPublished - 1996

Fingerprint

Maintainability
Design of experiments
Experiments

Keywords

  • object-oriented software
  • inheritance
  • software
  • programming

Cite this

Daly, J., Brooks, A., Miller, J., Roper, M., & Wood, M. (1996). An empirical study evaluating depth of inheritance on the maintainability of object-oriented software. In Empirical Studies of Programmers: Sixth Workshop (pp. 39-58)
Daly, J. ; Brooks, A. ; Miller, J. ; Roper, M. ; Wood, M. / An empirical study evaluating depth of inheritance on the maintainability of object-oriented software. Empirical Studies of Programmers: Sixth Workshop. 1996. pp. 39-58
@inbook{a510e4c984fa4a72b0a676d80090a4d0,
title = "An empirical study evaluating depth of inheritance on the maintainability of object-oriented software",
abstract = "This empirical research was undertaken as part of a multi-method programme of research to investigate unsupported claims made of object-oriented technology. A series of subject-based laboratory experiments, including an internal replication, tested the effect of inheritance depth on the maintainability of object-oriented software. Subjects were timed performing identical maintenance tasks on object-oriented software with a hierarchy of three levels of inheritance depth and equivalent object-based software with no inheritance. This was then replicated with more experienced subjects. In a second experiment of similar design, subjects were timed performing identical maintenance tasks on object-oriented software with a hierarchy of five levels of inheritance depth and the equivalent object-based software. The collected data showed that subjects maintaining object-oriented software with three levels of inheritance depth performed the maintenance tasks significantly quicker than those maintaining equivalent object-based software with no inheritance. In contrast, subjects maintaining the object-oriented software with five levels of inheritance depth took longer, on average, than the subjects maintaining the equivalent object-based software (although statistical significance was not obtained). Subjects' source code solutions and debriefing questionnaires provided some evidence suggesting subjects began to experience diffculties with the deeper inheritance hierarchy. It is not at all obvious that object-oriented software is going to be more maintainable in the long run. These findings are sufficiently important that attempts to verify the results should be made by independent researchers.",
keywords = "object-oriented software, inheritance, software, programming",
author = "J. Daly and A. Brooks and J. Miller and M. Roper and M. Wood",
year = "1996",
language = "English",
isbn = "9781567502626",
pages = "39--58",
booktitle = "Empirical Studies of Programmers: Sixth Workshop",

}

Daly, J, Brooks, A, Miller, J, Roper, M & Wood, M 1996, An empirical study evaluating depth of inheritance on the maintainability of object-oriented software. in Empirical Studies of Programmers: Sixth Workshop. pp. 39-58.

An empirical study evaluating depth of inheritance on the maintainability of object-oriented software. / Daly, J.; Brooks, A.; Miller, J.; Roper, M.; Wood, M.

Empirical Studies of Programmers: Sixth Workshop. 1996. p. 39-58.

Research output: Chapter in Book/Report/Conference proceedingChapter

TY - CHAP

T1 - An empirical study evaluating depth of inheritance on the maintainability of object-oriented software

AU - Daly, J.

AU - Brooks, A.

AU - Miller, J.

AU - Roper, M.

AU - Wood, M.

PY - 1996

Y1 - 1996

N2 - This empirical research was undertaken as part of a multi-method programme of research to investigate unsupported claims made of object-oriented technology. A series of subject-based laboratory experiments, including an internal replication, tested the effect of inheritance depth on the maintainability of object-oriented software. Subjects were timed performing identical maintenance tasks on object-oriented software with a hierarchy of three levels of inheritance depth and equivalent object-based software with no inheritance. This was then replicated with more experienced subjects. In a second experiment of similar design, subjects were timed performing identical maintenance tasks on object-oriented software with a hierarchy of five levels of inheritance depth and the equivalent object-based software. The collected data showed that subjects maintaining object-oriented software with three levels of inheritance depth performed the maintenance tasks significantly quicker than those maintaining equivalent object-based software with no inheritance. In contrast, subjects maintaining the object-oriented software with five levels of inheritance depth took longer, on average, than the subjects maintaining the equivalent object-based software (although statistical significance was not obtained). Subjects' source code solutions and debriefing questionnaires provided some evidence suggesting subjects began to experience diffculties with the deeper inheritance hierarchy. It is not at all obvious that object-oriented software is going to be more maintainable in the long run. These findings are sufficiently important that attempts to verify the results should be made by independent researchers.

AB - This empirical research was undertaken as part of a multi-method programme of research to investigate unsupported claims made of object-oriented technology. A series of subject-based laboratory experiments, including an internal replication, tested the effect of inheritance depth on the maintainability of object-oriented software. Subjects were timed performing identical maintenance tasks on object-oriented software with a hierarchy of three levels of inheritance depth and equivalent object-based software with no inheritance. This was then replicated with more experienced subjects. In a second experiment of similar design, subjects were timed performing identical maintenance tasks on object-oriented software with a hierarchy of five levels of inheritance depth and the equivalent object-based software. The collected data showed that subjects maintaining object-oriented software with three levels of inheritance depth performed the maintenance tasks significantly quicker than those maintaining equivalent object-based software with no inheritance. In contrast, subjects maintaining the object-oriented software with five levels of inheritance depth took longer, on average, than the subjects maintaining the equivalent object-based software (although statistical significance was not obtained). Subjects' source code solutions and debriefing questionnaires provided some evidence suggesting subjects began to experience diffculties with the deeper inheritance hierarchy. It is not at all obvious that object-oriented software is going to be more maintainable in the long run. These findings are sufficiently important that attempts to verify the results should be made by independent researchers.

KW - object-oriented software

KW - inheritance

KW - software

KW - programming

UR - http://www.intellectbooks.co.uk/ppbooks.php?isbn=9781567502626

UR - http://www2.umassd.edu/swpi/ISERN/ISERN-96-11.pdf

M3 - Chapter

SN - 9781567502626

SP - 39

EP - 58

BT - Empirical Studies of Programmers: Sixth Workshop

ER -

Daly J, Brooks A, Miller J, Roper M, Wood M. An empirical study evaluating depth of inheritance on the maintainability of object-oriented software. In Empirical Studies of Programmers: Sixth Workshop. 1996. p. 39-58