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 条
  • [41] An empirical catalog of code smells for the presentation layer of Android apps
    Carvalho, Suelen Goularte
    Aniche, Mauricio
    Verissimo, Julio
    Durelli, Rafael S.
    Gerosa, Marco Aurelio
    EMPIRICAL SOFTWARE ENGINEERING, 2019, 24 (06) : 3546 - 3586
  • [42] Classifying Code Comments in Java']Java Mobile Applications
    Pascarella, Luca
    2018 IEEE/ACM 5TH INTERNATIONAL CONFERENCE ON MOBILE SOFTWARE ENGINEERING AND SYSTEMS (MOBILESOFT), 2018, : 39 - 40
  • [43] Automated Detection of Code Smells Caused by Null Checking Conditions in Java']Java Programs
    Sirikul, Kriangchai
    Soomlek, Chitsutha
    2016 13TH INTERNATIONAL JOINT CONFERENCE ON COMPUTER SCIENCE AND SOFTWARE ENGINEERING (JCSSE), 2016, : 268 - 274
  • [44] Transparent and dynamic code offloading for Java']Java applications
    Geoffray, Nicolas
    Thomas, Gael
    Folliot, Bertil
    ON THE MOVE TO MEANINGFUL INTERNET SYSTEMS 2006: COOPIS, DOA, GADA, AND ODBASE PT 2, PROCEEDINGS, 2006, 4276 : 1790 - 1806
  • [45] Improving code caching performance for Java']Java applications
    Sun, Yu
    Zhang, Wei
    2008 IEEE INTERNATIONAL SYMPOSIUM ON PARALLEL & DISTRIBUTED PROCESSING, VOLS 1-8, 2008, : 2719 - 2723
  • [46] Improving code caching performance for Java']Java applications
    Sun, Yu
    Zhang, Wei
    2008 IEEE INTERNATIONAL SYMPOSIUM ON PARALLEL & DISTRIBUTED PROCESSING, VOLS 1-8, 2008, : 2440 - 2444
  • [47] A Severity-Based Classification Assessment of Code Smells in Kotlin and Java']Java Application
    Gupta, Aakanshi
    Chauhan, Nidhi Kumari
    ARABIAN JOURNAL FOR SCIENCE AND ENGINEERING, 2022, 47 (02) : 1831 - 1848
  • [48] ANEPROF: Energy Profiling for Android Java']Java Virtual Machine and Applications
    Chung, Yi-Fan
    Lin, Chun-Yu
    King, Chung-Ta
    2011 IEEE 17TH INTERNATIONAL CONFERENCE ON PARALLEL AND DISTRIBUTED SYSTEMS (ICPADS), 2011, : 372 - 379
  • [49] Mobile code security by Java']Java bytecode dependence analysis
    Bian, G
    Nakayama, K
    Kobayashi, Y
    Maekawa, M
    IEEE INTERNATIONAL SYMPOSIUM ON COMMUNICATIONS AND INFORMATION TECHNOLOGIES 2004 (ISCIT 2004), PROCEEDINGS, VOLS 1 AND 2: SMART INFO-MEDIA SYSTEMS, 2004, : 923 - 926
  • [50] Statically scanning Java']Java Code: Finding security vulnerabilities
    Viega, J
    McGraw, G
    Mutdosch, T
    Felten, EW
    IEEE SOFTWARE, 2000, 17 (05) : 68 - +