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 条
  • [41] A Fine-Grained Analysis on the Evolutionary Coupling of Cloned Code
    Mondal, Manishankar
    Roy, Chanchal K.
    Schneider, Kevin A.
    2014 IEEE INTERNATIONAL CONFERENCE ON SOFTWARE MAINTENANCE AND EVOLUTION (ICSME), 2014, : 51 - 60
  • [42] Fuzzy Fine-grained Code-history Analysis
    Servant, Francisco
    Jones, James A.
    2017 IEEE/ACM 39TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE), 2017, : 746 - 757
  • [43] Fine-grained interlaced code loading for mobile systems
    Stoops, L
    Mens, T
    D'Hondt, T
    MOBILE AGENTS, PROCEEDINGS, 2002, 2535 : 78 - 92
  • [44] Security code smells in Android ICC
    Pascal Gadient
    Mohammad Ghafari
    Patrick Frischknecht
    Oscar Nierstrasz
    Empirical Software Engineering, 2019, 24 : 3046 - 3076
  • [45] Security code smells in Android ICC
    Gadient, Pascal
    Ghafari, Mohammad
    Frischknecht, Patrick
    Nierstrasz, Oscar
    EMPIRICAL SOFTWARE ENGINEERING, 2019, 24 (05) : 3046 - 3076
  • [46] Understanding Code Smells in Android Applications
    Mannan, Umme Ayda
    Ahmed, Iftekhar
    Almurshed, Rana Abdullah M.
    Dig, Danny
    Jensen, Carlos
    2016 IEEE/ACM INTERNATIONAL CONFERENCE ON MOBILE SOFTWARE ENGINEERING AND SYSTEMS (MOBILESOFT 2016), 2016, : 225 - 236
  • [47] On the Survival of Android Code Smells in the Wild
    Habchi, Sarra
    Rouvoy, Romain
    Moha, Naouel
    2019 IEEE/ACM 6TH INTERNATIONAL CONFERENCE ON MOBILE SOFTWARE ENGINEERING AND SYSTEMS (MOBILESOFT 2019), 2019, : 87 - 98
  • [48] Lightweight Detection of Android-Specific Code Smells: The aDoctor Project
    Palomba, Fabio
    Di Nucci, Dario
    Panichella, Annibale
    Zaidman, Andy
    De Lucia, Andrea
    2017 IEEE 24TH INTERNATIONAL CONFERENCE ON SOFTWARE ANALYSIS, EVOLUTION, AND REENGINEERING (SANER), 2017, : 487 - 491
  • [49] Semantic Clustering for Robust Fine-Grained Scene Recognition
    George, Marian
    Dixit, Mandar
    Zogg, Gabor
    Vasconcelos, Nuno
    COMPUTER VISION - ECCV 2016, PT I, 2016, 9905 : 783 - 798
  • [50] Robust fine-grained image classification with noisy labels
    Tan, Xinxing
    Dong, Zemin
    Zhao, Hualing
    VISUAL COMPUTER, 2022, 39 (11): : 5637 - 5650