arrow
返回

BloatLibD: Detecting Bloat Libraries in Java Applications

delete2021-01-01
delete3
delete
OA
AI
A
Agrim Dewan *
P
Poojith U Rao
B
Balwinder Sodhi
R
Ritu Kapur
DOI:10.5220/0010459401260137delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
Third-party libraries (TPLs) provide ready-made implementations of various software functionalities and are frequently used in software development. However, as software development progresses through various iterations, there often remains an unused set of TPLs referenced in the application's distributable. These unused TPLs become a prominent source of software bloating and are responsible for excessive consumption of resources, such as CPU cycles, memory, and mobile devices' battery-usage. Thus, the identification of such bloat-TPLs is essential. We present a rapid, storage-efficient, obfuscation-resilient method to detect the bloat-TPLs. Our approach's novel aspects are i) Computing a vector representation of a .class file using a model that we call Jar2Vec. The Jar2Vec model is trained using the Paragraph Vector Algorithm. ii) Before using it for training the Jar2Vec models, a .class file is converted to a normalized form via semantics-preserving transformations. iii) A Bloated Library Detector (BloatLibD) developed and tested with 27 different Jar2Vec models. These models were trained using different parameters and >30000 .class files taken from >100 different Java libraries available at MavenCentral.com. BloatLibD achieves an accuracy of 99% with an F1 score of 0.968 and outperforms the existing tools, viz.. LibScout. LiteRadar, and LibD with an accuracy improvement of 74.5%. 30.33%. and 14.1%. respectively. Compared with LibD. BloatLibD achieves a response time improvement of 61.37% and a storage reduction of 87.93%. Our program artifacts are available at littps://bit.ly/2WFALXf.
Keyword:
Third-party Library Detection
Code Similarity
Paragraph Vectors
Software Bloat
Obfuscation

期刊

E
ENASE: Proceedings of the 16th International Conference on Evaluation of Novel Approaches to Software Engineering
IF:
0
论文数:
1
被引数:
0

机构

I
indian institute of technology system (iit system)
学者数:
9.5W
论文数: 9.9W
被引数: 93
P
punjab engineering college (deemed university)
学者数:
570
论文数: 461
被引数: 0
引用论文

引用论文

暂无论文信息