{"title":"Is there a cliff-edge in object-oriented inheritance?","authors":"A. Newson, S. Counsell, Stella Geddes","doi":"10.2498/iti.2013.0508","DOIUrl":null,"url":null,"abstract":"One open research question in the object-oriented (OO) community is whether a cliff-edge exists in inheritance. In other words, beyond a certain level of OO inheritance depth, are there significant differences between the composition and characteristics of classes at the two levels. Anecdotally, level three has been proposed as that psychological cliff-edge, but no empirical evidence exists to support or refute that theory. In this paper, we analyzed data from nine open-source systems to determine whether significant differences between classes at level three and those at level four existed. We looked at the number of methods, extent of coupling and cohesion in the classes at depth three and compared that with the number of methods at depth four. Results suggested no significant differences in any of the three measures. The data thus refutes the myth that there might be a “cliff-edge” level of inheritance.","PeriodicalId":262789,"journal":{"name":"Proceedings of the ITI 2013 35th International Conference on Information Technology Interfaces","volume":"38 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2013-06-24","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the ITI 2013 35th International Conference on Information Technology Interfaces","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.2498/iti.2013.0508","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1
Abstract
One open research question in the object-oriented (OO) community is whether a cliff-edge exists in inheritance. In other words, beyond a certain level of OO inheritance depth, are there significant differences between the composition and characteristics of classes at the two levels. Anecdotally, level three has been proposed as that psychological cliff-edge, but no empirical evidence exists to support or refute that theory. In this paper, we analyzed data from nine open-source systems to determine whether significant differences between classes at level three and those at level four existed. We looked at the number of methods, extent of coupling and cohesion in the classes at depth three and compared that with the number of methods at depth four. Results suggested no significant differences in any of the three measures. The data thus refutes the myth that there might be a “cliff-edge” level of inheritance.