Is there a cliff-edge in object-oriented inheritance?

A. Newson, S. Counsell, Stella Geddes
{"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.
在面向对象继承中是否存在一个悬崖边?
在面向对象(OO)社区中,一个开放的研究问题是继承中是否存在断崖。换句话说,在一定程度的OO继承深度之外,两个层次上的类的组成和特征之间存在显著差异。有趣的是,第三级被认为是心理悬崖边缘,但没有经验证据支持或反驳这一理论。在本文中,我们分析了来自9个开源系统的数据,以确定三级和四级班级之间是否存在显著差异。我们查看了深度3的类中的方法数量、耦合程度和内聚,并将其与深度4的方法数量进行了比较。结果显示,三种测量方法均无显著差异。因此,这些数据驳斥了可能存在“悬崖边缘”遗传水平的神话。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信