Contextual Integration Testing of Object-Oriented and Aspect-Oriented Programs: A Structural Approach for Java and AspectJ

B. Cafeo, P. Masiero
{"title":"Contextual Integration Testing of Object-Oriented and Aspect-Oriented Programs: A Structural Approach for Java and AspectJ","authors":"B. Cafeo, P. Masiero","doi":"10.1109/SBES.2011.12","DOIUrl":null,"url":null,"abstract":"Aspect-oriented programming (AOP) is a technology that aims to tackle software modularisation problems. Despite the benefits that may be achieved with AOP, its mechanisms represent new potential source of faults that should be handled during the test phase. In this paper a structural integration testing approach for Object-Oriented (OO) and Aspect-Oriented (AO) programs with a configurable integration depth (d) is presented. A model called CoDU (Contextual Def-Use) graph to represent the control flow and data flow between units is proposed. Based on the CoDU, a family of testing criteria is defined: all-i-nodes-Nd (control flow based), all-i-edges-Nd (control flow based), and all-i-uses-Nd (data flow based). We also present the implementation of our approach as an extension to the Java Bytecode Understanding and Testing (JaBUTi) family of testing tools along with an example of usage. The example and an exploratory study involving 8 OO and AO programs present evidence of the effectiveness and feasibility of the proposed approach.","PeriodicalId":142932,"journal":{"name":"2011 25th Brazilian Symposium on Software Engineering","volume":"204 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2011-09-28","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"10","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2011 25th Brazilian Symposium on Software Engineering","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/SBES.2011.12","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 10

Abstract

Aspect-oriented programming (AOP) is a technology that aims to tackle software modularisation problems. Despite the benefits that may be achieved with AOP, its mechanisms represent new potential source of faults that should be handled during the test phase. In this paper a structural integration testing approach for Object-Oriented (OO) and Aspect-Oriented (AO) programs with a configurable integration depth (d) is presented. A model called CoDU (Contextual Def-Use) graph to represent the control flow and data flow between units is proposed. Based on the CoDU, a family of testing criteria is defined: all-i-nodes-Nd (control flow based), all-i-edges-Nd (control flow based), and all-i-uses-Nd (data flow based). We also present the implementation of our approach as an extension to the Java Bytecode Understanding and Testing (JaBUTi) family of testing tools along with an example of usage. The example and an exploratory study involving 8 OO and AO programs present evidence of the effectiveness and feasibility of the proposed approach.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
面向对象和面向方面程序的上下文集成测试:Java和AspectJ的结构化方法
面向方面编程(AOP)是一种旨在解决软件模块化问题的技术。尽管使用AOP可以获得好处,但是它的机制代表了应该在测试阶段处理的新的潜在错误来源。本文提出了一种面向对象(OO)和面向方面(AO)具有可配置集成深度的结构化集成测试方法。提出了一种描述单元间控制流和数据流的模型——上下文定义图(Contextual Def-Use graph)。基于CoDU,定义了一系列测试标准:all-i-nodes-Nd(基于控制流)、all-i-edges-Nd(基于控制流)和all-i-uses-Nd(基于数据流)。我们还将我们的方法作为Java字节码理解和测试(JaBUTi)系列测试工具的扩展来实现,并提供了一个使用示例。实例和涉及8个面向对象和面向对象程序的探索性研究证明了所提出方法的有效性和可行性。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Software Engineering Research in Brazil: An Analysis of the Last Five Editions of SBES Safe Composition of Configuration Knowledge-Based Software Product Lines 25 Years of Software Engineering in Brazil: An Analysis of SBES History Analyzing Refactorings on Software Repositories Twenty-Five Years of Research in Structural and Mutation Testing
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1