面向对象软件中继承相似性测试的形式化模型

Khalid Benlhachmi, M. Benattou
{"title":"面向对象软件中继承相似性测试的形式化模型","authors":"Khalid Benlhachmi, M. Benattou","doi":"10.1109/CIST.2012.6388060","DOIUrl":null,"url":null,"abstract":"The work presented in this paper extends the constraint model defined for modeling the specification of a given method to its redefinition in subclass using inheritance principle. The main objective is to establish theoretical concepts which allow to compare the behavior of a redefined method in a subclass with its original behavior in the super-class relatively to the basic specification. The key idea of our approach is based on a partition of domains for testing the similarity between the redefined methods and their basic methods in super-class. The proposed test oracle uses a random data generation to test the similarity of methods in the context of inheritance mechanism.","PeriodicalId":120664,"journal":{"name":"2012 Colloquium in Information Science and Technology","volume":"1 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2012-12-24","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"8","resultStr":"{\"title\":\"A formal model of similarity testing for inheritance in object-oriented software\",\"authors\":\"Khalid Benlhachmi, M. Benattou\",\"doi\":\"10.1109/CIST.2012.6388060\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"The work presented in this paper extends the constraint model defined for modeling the specification of a given method to its redefinition in subclass using inheritance principle. The main objective is to establish theoretical concepts which allow to compare the behavior of a redefined method in a subclass with its original behavior in the super-class relatively to the basic specification. The key idea of our approach is based on a partition of domains for testing the similarity between the redefined methods and their basic methods in super-class. The proposed test oracle uses a random data generation to test the similarity of methods in the context of inheritance mechanism.\",\"PeriodicalId\":120664,\"journal\":{\"name\":\"2012 Colloquium in Information Science and Technology\",\"volume\":\"1 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2012-12-24\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"8\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2012 Colloquium in Information Science and Technology\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/CIST.2012.6388060\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2012 Colloquium in Information Science and Technology","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/CIST.2012.6388060","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 8

摘要

本文的工作将为对给定方法的规范进行建模而定义的约束模型扩展到使用继承原理在子类中对其进行重新定义。主要目标是建立理论概念,以便将子类中重新定义的方法的行为与其在超类中相对于基本规范的原始行为进行比较。该方法的关键思想是基于域划分来测试超类中重新定义的方法与其基本方法之间的相似性。本文提出的测试oracle使用随机数据生成来测试方法在继承机制下的相似度。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
A formal model of similarity testing for inheritance in object-oriented software
The work presented in this paper extends the constraint model defined for modeling the specification of a given method to its redefinition in subclass using inheritance principle. The main objective is to establish theoretical concepts which allow to compare the behavior of a redefined method in a subclass with its original behavior in the super-class relatively to the basic specification. The key idea of our approach is based on a partition of domains for testing the similarity between the redefined methods and their basic methods in super-class. The proposed test oracle uses a random data generation to test the similarity of methods in the context of inheritance mechanism.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
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学术官方微信