Droidlens: Robust and Fine-Grained Detection for Android Code Smells

被引:3
|
作者
Mao, Chenguang [1 ]
Wang, Hao [1 ]
Han, Gaojie [1 ]
Zhang, Xiaofang [1 ]
机构
[1] Soochow Univ, Sch Comp Sci & Technol, Suzhou, Peoples R China
基金
中国国家自然科学基金;
关键词
Software Testing; Android Code Smell; Detection; Parser; Mobile Application;
D O I
10.1109/TASE49443.2020.00030
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
With rapid changes and rich context of user requirements, mobile applications are becoming complex software systems. Frequent iterations and mazy implementations of software functions lead Android developers to make poor design choices, called Android Code Smells. Past researches have shown that they have negative impacts on Android applications including performance, security, etc. Therefore, the automated detection of Android code smells is indispensable to help alleviate the workload of software maintainers and developers. There are already two automated detection tools, aDoctor and Paprika. However, they both have shortcomings in detecting granularity and accuracy. In this paper, we present a novel approach, called Droidlens, realizing the analysis, detection, location and refactoring of Android code smells. We also make an empirical study focusing on the performance of Droidlens, aDoctor and paprika. The empirical result shows that Droidlens realizes the detection for 18 Android code smells. Moreover, compared to existing tools, our Droidlens can provide robust and fine-grained detection, which contributes to software refactoring and maintenance.
引用
收藏
页码:161 / 168
页数:8
相关论文
共 50 条
  • [1] FgDetector: Fine-grained Android Malware Detection
    Li, Dongfang
    Wang, Zhaoguo
    Li, Lixin
    Wang, Zhihua
    Wang, Yucheng
    Xue, Yibo
    2017 IEEE SECOND INTERNATIONAL CONFERENCE ON DATA SCIENCE IN CYBERSPACE (DSC), 2017, : 311 - 318
  • [2] Exploring the Impact of Code Smells on Fine-Grained Structural Change-Proneness
    Liu, Huihui
    Li, Bixin
    Yang, Yibiao
    Ma, Wanwangying
    Jia, Ru
    INTERNATIONAL JOURNAL OF SOFTWARE ENGINEERING AND KNOWLEDGE ENGINEERING, 2018, 28 (10) : 1487 - 1516
  • [3] Android Malware Detection Using Fine-Grained Features
    Jiang, Xu
    Mao, Baolei
    Guan, Jun
    Huang, Xingli
    SCIENTIFIC PROGRAMMING, 2020, 2020
  • [4] Fine-grained Android Malware Detection based on Deep Learning
    Li, Dongfang
    Wang, Zhaoguo
    Xue, Yibo
    2018 IEEE CONFERENCE ON COMMUNICATIONS AND NETWORK SECURITY (CNS), 2018,
  • [5] Draco: A System for Uniform and Fine-grained Access Control for Web Code on Android
    Tuncay, Guliz Seray
    Demetriou, Soteris
    Gunter, Carl A.
    CCS'16: PROCEEDINGS OF THE 2016 ACM SIGSAC CONFERENCE ON COMPUTER AND COMMUNICATIONS SECURITY, 2016, : 104 - 115
  • [6] FGFDect: A Fine-Grained Features Classification Model for Android Malware Detection
    Liu, Chao
    Li, Jianan
    Yu, Min
    Luo, Bo
    Li, Song
    Chen, Kai
    Huang, Weiqing
    Lv, Bin
    SECURITY AND PRIVACY IN COMMUNICATION NETWORKS, SECURECOMM 2018, PT I, 2018, 254 : 281 - 293
  • [7] Fine-grained Code Coverage Measurement in Automated Black-box Android Testing
    Pilgun, Aleksandr
    Gadyatskaya, Olga
    Zhauniarovich, Yury
    Dashevskyi, Stanislav
    Kushniarou, Artsiom
    Mauw, Sjouke
    ACM TRANSACTIONS ON SOFTWARE ENGINEERING AND METHODOLOGY, 2020, 29 (04)
  • [8] A fine-grained model for code mobility
    Mascolo, C
    Picco, GP
    Roman, GC
    SOFTWARE ENGINEERING - ESEC/FSE '99, PROCEEDINGS, 1999, 1687 : 39 - 56
  • [9] Untangling Fine-Grained Code Changes
    Dias, Martin
    Bacchelli, Alberto
    Gousios, Georgios
    Cassou, Damien
    Ducasse, Stephane
    2015 22ND INTERNATIONAL CONFERENCE ON SOFTWARE ANALYSIS, EVOLUTION, AND REENGINEERING (SANER), 2015, : 341 - 350
  • [10] Call Graph and Model Checking for Fine-Grained Android Malicious Behaviour Detection
    Iadarola, Giacomo
    Martinelli, Fabio
    Mercaldo, Francesco
    Santone, Antonella
    APPLIED SCIENCES-BASEL, 2020, 10 (22): : 1 - 20