首页 | 本学科首页   官方微博 | 高级检索  
     

Android应用的用户行为模式挖掘及复用方法
引用本文:毛群,王微微,尤枫,赵瑞莲,李征.Android应用的用户行为模式挖掘及复用方法[J].计算机应用,2022,42(7):2155-2161.
作者姓名:毛群  王微微  尤枫  赵瑞莲  李征
作者单位:北京化工大学 信息科学与技术学院,北京 100029
基金项目:国家自然科学基金资助项目(62077003,61872026)~~;
摘    要:软件测试是保障Android应用质量的有效手段,而理解Android应用的功能作为Android测试过程的基础,旨在深入探究应用的业务逻辑并发现其功能问题,在测试中尤为重要。用户行为模式可充分辅助测试人员理解Android应用功能,从而提高测试效率。基于“相似Android应用共享用户行为模式”的构想,提出一种Android应用的用户行为模式挖掘及复用方法,以降低Android应用测试成本并提高测试效率。具体而言,针对待测Android应用,从其相似Android应用挖掘出用户行为模式;然后利用基于语义的事件模糊匹配策略为待测应用寻找对应事件,并基于用户图形界面(GUI)模型的最优路径选择策略为待测应用生成目标事件序列,从而实现相似应用间的用户行为模式复用。针对三类应用的32种用户行为模式进行实验,结果表明,87.4%的行为模式可在相似Android应用上被完整复用,并且被复用的行为模式可有效覆盖待测应用中90.2%的重要状态。可见,所提方法为Android应用测试提供了有效支撑。

关 键 词:Android应用  Android应用测试  用户行为模式  模式挖掘  模式复用  
收稿时间:2021-04-25
修稿时间:2021-08-03

Pattern mining and reuse method for user behaviors of Android applications
Qun MAO,Weiwei WANG,Feng YOU,Ruilian ZHAO,Zheng LI.Pattern mining and reuse method for user behaviors of Android applications[J].journal of Computer Applications,2022,42(7):2155-2161.
Authors:Qun MAO  Weiwei WANG  Feng YOU  Ruilian ZHAO  Zheng LI
Affiliation:College of Information Science and Technology,Beijing University of Chemical Technology,Beijing 100029,China
Abstract:Software testing is an effective way to ensure the quality of Android applications. Understanding the functions of Android applications is the basis of the Android testing process. It aims to deeply explore the application’s business logic and reveal its functional defects, playing an important role in testing. User behavior patterns can assist testers in understanding an Android application’s functions, thereby improving test efficiency. Based on the idea “similar Android applications share user behavior patterns”, a user behavior pattern mining and reuse method was proposed to reduce the cost of Android application testing and improve the testing efficiency. Specifically, for the Android application under test, the user behavior patterns from a similar Android application were mined. Then, the semantic-based event fuzzy matching strategy was used to search the corresponding events for the application under test, and the Graphical User Interface (GUI) model based optimal path selection strategy was used to generate target event sequences for the application under test, thereby achieving user behavior pattern reuse across similar applications. The experiments were conducted on 32 user behavior patterns of three categories of Android applications. The results show that 87.4% of user behavior patterns can be completely reused on similar Android applications, and the reused user behavior patterns can effectively cover 90.2% of important states in applications under test. Thus, the proposed method provides effective support for the testing of Android applications.
Keywords:Android application  Android application testing  user behavior pattern  pattern mining  pattern reuse  
点击此处可从《计算机应用》浏览原始摘要信息
点击此处可从《计算机应用》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号