Android应用的用户行为模式挖掘及复用方法  

Pattern mining and reuse method for user behaviors of Android applications

在线阅读下载全文

作  者:毛群 王微微[1] 尤枫[1] 赵瑞莲[1] 李征[1] MAO Qun;WANG Weiwei;YOU Feng;ZHAO Ruilian;LI Zheng(College of Information Science and Technology,Beijing University of Chemical Technology,Beijing 100029,China)

机构地区:[1]北京化工大学信息科学与技术学院,北京100029

出  处:《计算机应用》2022年第7期2155-2161,共7页journal of Computer Applications

基  金:国家自然科学基金资助项目(62077003,61872026)。

摘  要:软件测试是保障Android应用质量的有效手段,而理解Android应用的功能作为Android测试过程的基础,旨在深入探究应用的业务逻辑并发现其功能问题,在测试中尤为重要。用户行为模式可充分辅助测试人员理解Android应用功能,从而提高测试效率。基于“相似Android应用共享用户行为模式”的构想,提出一种Android应用的用户行为模式挖掘及复用方法,以降低Android应用测试成本并提高测试效率。具体而言,针对待测Android应用,从其相似Android应用挖掘出用户行为模式;然后利用基于语义的事件模糊匹配策略为待测应用寻找对应事件,并基于用户图形界面(GUI)模型的最优路径选择策略为待测应用生成目标事件序列,从而实现相似应用间的用户行为模式复用。针对三类应用的32种用户行为模式进行实验,结果表明,87.4%的行为模式可在相似Android应用上被完整复用,并且被复用的行为模式可有效覆盖待测应用中90.2%的重要状态。可见,所提方法为Android应用测试提供了有效支撑。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.

关 键 词:ANDROID应用 Android应用测试 用户行为模式 模式挖掘 模式复用 

分 类 号:TP311.5[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象