Incorporating Android Code Smells into Java']Java Static Code Metrics for Security Risk Prediction of Android Applications

被引:5
|
作者
Gong, Ai [1 ]
Zhong, Yi [1 ,4 ]
Zou, Weiqin [2 ,3 ]
Shi, Yangyang [1 ]
Fang, Chunrong [1 ]
机构
[1] Nanjing Univ, State Key Lab Novel Software Technol, Nanjing, Peoples R China
[2] Nanjing Univ Aeronaut & Astronaut, Coll Comp Sci & Technol, Nanjing, Peoples R China
[3] Minist Ind & Informat Technol, Key Lab Safety Crit Software NUAA, Nanjing, Peoples R China
[4] Chongqing Univ Posts & Telecom, Coll Mobile Telecommun, Chongqing, Peoples R China
基金
中国国家自然科学基金; 国家重点研发计划;
关键词
Android code smells; !text type='Java']Java[!/text] code metrics; Android security;
D O I
10.1109/QRS51102.2020.00017
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
With the wide-spread use of Android applications in people's daily life, it becomes more and more important to timely identify the security problems of these applications. To enrich existing studies in guarding the security and privacy of Android applications, we attempted to predict the security risk levels of Android applications. Specifically, we proposed an approach that incorporated Android code smells into traditional Java code metrics to predict how secure an Android application is. With an evaluation of our technique on 3,680 Android applications, we found that: (1) Android code smells could help improve the performance of security risk prediction of Android applications; (2) By building a Random Forest model based on Android code smells and Java code metrics, we could achieve an Area Under Curve (AUC) of 0.97; (3) Android code smells such as member ignoring method (MIM) and leaking inner class (LIC) have a relatively-large influence on Android security risk prediction, to which developers should pay more attention during their application development.
引用
收藏
页码:30 / 40
页数:11
相关论文
共 50 条
  • [31] An Empirical Investigation on the Effect of Code Smells on Resource Usage of Android Mobile Applications
    Alkandari, Mohammad A.
    Kelkawi, Ali
    Elish, Mahmoud O.
    IEEE ACCESS, 2021, 9 : 61853 - 61863
  • [32] ANN Modelling on Vulnerabilities Detection in Code Smells-Associated Android Applications
    Gupta, Aakanshi
    Sharma, Deepanshu
    Phulli, Kritika
    FOUNDATIONS OF COMPUTING AND DECISION SCIENCES, 2022, 47 (01) : 3 - 26
  • [33] A Comparative Analysis of Static Code Analysis Tools that check Java']Java Code Adherence to Java']Java Coding Standards
    Ashfaq, Qirat
    Khan, Rimsha
    Farooq, Sehrish
    2019 2ND INTERNATIONAL CONFERENCE ON COMMUNICATION, COMPUTING AND DIGITAL SYSTEMS (C-CODE), 2019, : 98 - 103
  • [34] Safe Programming Methods in Java']Java for Mobile Applications in Android
    Pimienta Garcia, Rodrigo
    Aguilar Torres, Gualberto
    Ramirez Flores, Manuel
    Gallegos Garcia, Gina
    CIENCIA ERGO-SUM, 2014, 21 (03) : 243 - 248
  • [35] Mobile code security by Java']Java bytecode instrumentation
    Chander, A
    Mitchell, JC
    Shin, I
    DISCEX'01: DARPA INFORMATION SURVIVABILITY CONFERENCE & EXPOSITION II, VOL II, PROCEEDINGS, 2001, : 27 - 40
  • [36] On the diffusion of test smells and their relationship with test code quality of Java']Java projects
    Martins, Luana
    Costa, Heitor
    Machado, Ivan
    JOURNAL OF SOFTWARE-EVOLUTION AND PROCESS, 2024, 36 (04)
  • [37] JS']JSNOSE: Detecting Java']JavaScript Code Smells
    Fard, Amin Milani
    Mesbah, Ali
    2013 IEEE 13TH INTERNATIONAL WORKING CONFERENCE ON SOURCE CODE ANALYSIS AND MANIPULATION (SCAM), 2013, : 116 - 125
  • [38] An Empirical Study of Code Smells in Java']JavaScript Projects
    Saboury, Amir
    Musavi, Pooya
    Khomh, Foutse
    Antoniol, Giulio
    2017 IEEE 24TH INTERNATIONAL CONFERENCE ON SOFTWARE ANALYSIS, EVOLUTION, AND REENGINEERING (SANER), 2017, : 294 - 305
  • [39] An empirical catalog of code smells for the presentation layer of Android apps
    Suelen Goularte Carvalho
    Maurício Aniche
    Júlio Veríssimo
    Rafael S. Durelli
    Marco Aurélio Gerosa
    Empirical Software Engineering, 2019, 24 : 3546 - 3586
  • [40] Exploiting the Progress of OO Refactoring Tools with Android Code Smells
    Gattal, Abderraouf
    Hammache, Abir
    Bousbia, Nabila
    Henniche, Adel Nassim
    36TH ANNUAL ACM SYMPOSIUM ON APPLIED COMPUTING, SAC 2021, 2021, : 1580 - 1583