Exploring Android Apps Using Motif Actions

被引:0
|
作者
Auer, Michael [1 ]
Fraser, Gordon [1 ]
机构
[1] Univ Passau, Passau, Germany
关键词
Test Generation; Android;
D O I
10.1109/ASEW60602.2023.00023
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Automated Android testing approaches often fail to interact properly with complex UIs consisting of multiple related elements. For instance, to trigger a state transition in a form-based UI, one has to first fill out all input fields and then click on the submit button, but test generators would usually interact with the fields and button in arbitrary order, struggling to trigger the corresponding state transition, and resulting in overall lower code coverage. One way to overcome this problem is to define motif actions, which allow test generators to interact not just with individual UI elements, but with combinations of UI elements related through common patterns of interaction sequences. We designed 12 such motif actions for common scenarios and integrated them into the Android test generation tool MATE. Our experiments demonstrate that these motif actions are applicable to a wide range of apps (86.5% out of a sample of 551 apps). Motif actions are particularly useful on complex apps, where our experiments on 109 such apps demonstrate an average increase of 2.19% activity coverage and 2% line coverage.
引用
收藏
页码:135 / 142
页数:8
相关论文
共 50 条
  • [21] Repairing Crashes in Android Apps
    Tan, Shin Hwei
    Dong, Zhen
    Gao, Xiang
    Roychoudhury, Abhik
    [J]. PROCEEDINGS 2018 IEEE/ACM 40TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE), 2018, : 187 - 198
  • [22] Annotation practices in Android apps
    Jha, Ajay Kumar
    Nadi, Sarah
    [J]. 2020 20TH IEEE INTERNATIONAL WORKING CONFERENCE ON SOURCE CODE ANALYSIS AND MANIPULATION (SCAM 2020), 2020, : 132 - 142
  • [23] Target Fragmentation in Android Apps
    Mutchler, Patrick
    Safaei, Yeganeh
    Doupe, Adam
    Mitchell, John
    [J]. 2016 IEEE SYMPOSIUM ON SECURITY AND PRIVACY WORKSHOPS (SPW 2016), 2016, : 204 - 213
  • [24] Automated Documentation of Android Apps
    Aghajani, Emad
    Bavota, Gabriele
    Linares-Vasquez, Mario
    Lanza, Michele
    [J]. IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2021, 47 (01) : 204 - 220
  • [25] CRSPR: PageRank for Android Apps
    Li, Chengze
    Wang, Haoyu
    Wang, Junfeng
    Li, Qi
    Yu, Jianbo
    Guo, Jingyi
    Xu, Guoai
    Guo, Yanhui
    [J]. IEEE ACCESS, 2017, 5 : 18004 - 18015
  • [26] On Vulnerability Evolution in Android Apps
    Gao, Jun
    Li, Li
    Kong, Pingfan
    Bissyande, Tegawende F.
    Klein, Jacques
    [J]. PROCEEDINGS 2018 IEEE/ACM 40TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING - COMPANION (ICSE-COMPANION, 2018, : 276 - 277
  • [27] Authorship Attribution of Android Apps
    Gonzalez, Hugo
    Stakhanova, Natalia
    Ghorbani, Ali A.
    [J]. PROCEEDINGS OF THE EIGHTH ACM CONFERENCE ON DATA AND APPLICATION SECURITY AND PRIVACY (CODASPY'18), 2018, : 277 - 286
  • [28] Hall-of-Apps: The Top Android Apps Metadata Archive
    Bello-Jimenez, Laura
    Escobar-Velasquez, Camilo
    Mojica-Hanke, Anamaria
    Cortes-Fernandez, Santiago
    Linares-Vasquez, Mario
    [J]. 2020 IEEE/ACM 17TH INTERNATIONAL CONFERENCE ON MINING SOFTWARE REPOSITORIES, MSR, 2020, : 568 - 572
  • [29] Hybrid Analysis of Android Apps for Security Vetting using Deep Learning
    Chaulagain, Dewan
    Poudel, Prabesh
    Pathak, Prabesh
    Roy, Sankardas
    Caragea, Doina
    Liu, Guojun
    Ou, Xinming
    [J]. 2020 IEEE CONFERENCE ON COMMUNICATIONS AND NETWORK SECURITY (CNS), 2020,
  • [30] DEMO: Starving Permission-Hungry Android Apps Using SecuRank
    Taylor, Vincent F.
    Martinovic, Ivan
    [J]. CCS'16: PROCEEDINGS OF THE 2016 ACM SIGSAC CONFERENCE ON COMPUTER AND COMMUNICATIONS SECURITY, 2016, : 1850 - 1852