Energy Metamorphic Testing for Android Applications

Farzaneh Azimian, Fathiyeh Faghih, M. Kargahi, S. M. Mirdehghan
{"title":"Energy Metamorphic Testing for Android Applications","authors":"Farzaneh Azimian, Fathiyeh Faghih, M. Kargahi, S. M. Mirdehghan","doi":"10.1109/PIMRCW.2019.8880814","DOIUrl":null,"url":null,"abstract":"A major requirement for portable battery-operated (IoT-related) devices is energy conservation. This concern has not been well noticed by the application developers, while many energy problems in such devices are due to programming errors. Energy testing to find energy bugs and hotspots has gained attention in the last few years, where a major challenge to do so is designing an effective test oracle. In this paper, we use the idea of metamorphic testing to tackle this problem. In metamorphic testing, the output of different scenarios are compared against each other to detect a test failure, whereas in traditional oracles, the output of each scenario is compared with an “expected” value. Applying our proposed metamorphic relations to test a number of Android applications, we found the effectiveness of our proposed approach in detection of the considered bugs and hotspots.","PeriodicalId":158659,"journal":{"name":"2019 IEEE 30th International Symposium on Personal, Indoor and Mobile Radio Communications (PIMRC Workshops)","volume":"210 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2019-09-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2019 IEEE 30th International Symposium on Personal, Indoor and Mobile Radio Communications (PIMRC Workshops)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/PIMRCW.2019.8880814","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1

Abstract

A major requirement for portable battery-operated (IoT-related) devices is energy conservation. This concern has not been well noticed by the application developers, while many energy problems in such devices are due to programming errors. Energy testing to find energy bugs and hotspots has gained attention in the last few years, where a major challenge to do so is designing an effective test oracle. In this paper, we use the idea of metamorphic testing to tackle this problem. In metamorphic testing, the output of different scenarios are compared against each other to detect a test failure, whereas in traditional oracles, the output of each scenario is compared with an “expected” value. Applying our proposed metamorphic relations to test a number of Android applications, we found the effectiveness of our proposed approach in detection of the considered bugs and hotspots.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
Android应用程序的能量变形测试
对便携式电池供电(物联网相关)设备的主要要求是节能。应用程序开发人员没有很好地注意到这一问题,而此类设备中的许多能源问题是由于编程错误造成的。在过去几年中,通过能量测试来发现能量缺陷和热点已经引起了人们的关注,其中一个主要的挑战是设计一个有效的测试oracle。在本文中,我们使用变质检验的思想来解决这个问题。在变形测试中,将不同场景的输出相互比较以检测测试失败,而在传统的oracle中,将每个场景的输出与“预期”值进行比较。将我们提出的变形关系应用于测试许多Android应用程序,我们发现我们提出的方法在检测考虑的漏洞和热点方面是有效的。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Generalized Spatial Modulation in Highly Correlated Channels Cramer-Rao Lower Bounds for Magnetic Localization of a Wireless Capsule Endoscope based on the Magnetic Dipole Model Long Term Max-min Fairness Guarantee Mechanism: Adaptive Task Splitting and Resource Allocation in MEC-enabled Networks Energy Metamorphic Testing for Android Applications Full Duplex for Next Generation of 802.11
×
引用
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