An Automated Performance Enhancement Approach for Mobile Applications

计算机科学
作者
Muhammad Tahir,Muhammad Rahim Zafar,Muhammad Talha Bashir,Saleem Zubair,Muhammad Waseem Iqbal,Fawad Nasim
标识
DOI:10.61506/01.00211
摘要

In the rapidly evolving landscape of mobile applications, the demand for high-quality, performance-driven software is paramount. However, the swift pace of development often leads to the introduction of code smells—bad programming practices that compromise both code quality and application performance. These code smells, if left unaddressed, can result in increased memory consumption, energy consumption, and CPU utilization, ultimately leading to a suboptimal user experience. This paper presents an automated approach for the detection and refactoring of code smells in Android applications, with a focus on improving performance. The proposed approach involves the development of a plugin integrated with Android Studio, which employs static code analysis to identify code smells. The plugin encompasses a customizable rule-based framework that allows for the detection of various code smells unique to Android development. To validate the approach, a comprehensive experiment is conducted. The experiment assesses the effectiveness of the proposed method in detecting code smells and explores the impact of refactoring on application performance. The results showcase that the proposed plugin successfully detects code smells in various open-source Android applications. Moreover, the integration of refactoring recommendations significantly improves the performance of the applications, as demonstrated through memory, energy, and CPU consumption metrics. Comparison with existing tools reveals that the proposed approach offers superior performance in terms of both code smell detection and refactoring. Additionally, the approach bridges the gap left by some existing tools by identifying previously undetected code smells, such as "string concatenation." The presented method not only enhances code quality but also contributes to the overall performance optimization of Android applications. As mobile applications continue to play an increasingly central role in modern life, the importance of maintaining high-quality code that performs optimally cannot be understated. This work provides a valuable contribution towards achieving these goals, offering developers a powerful tool for ensuring that their applications not only meet but exceed user expectations in terms of quality and performance.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
拼搏的乐双完成签到,获得积分10
刚刚
zhabgyucheng完成签到,获得积分10
1秒前
勾陈一应助李治博采纳,获得10
1秒前
ref:rain完成签到 ,获得积分10
1秒前
阿豪发布了新的文献求助10
1秒前
研究生发布了新的文献求助10
1秒前
hjabao完成签到,获得积分10
2秒前
mixieerjieke完成签到,获得积分10
2秒前
2秒前
小白完成签到,获得积分10
2秒前
Sun_High_Star发布了新的文献求助10
3秒前
霸气的香芦完成签到,获得积分10
3秒前
3秒前
ShiyuZuo完成签到,获得积分10
3秒前
确幸完成签到 ,获得积分10
3秒前
一刀完成签到,获得积分10
3秒前
不吃鸭梨完成签到,获得积分10
4秒前
Hello~完成签到,获得积分0
4秒前
乐乐应助忐忑的草丛采纳,获得30
4秒前
橘子完成签到,获得积分10
4秒前
大胆峻熙完成签到,获得积分10
5秒前
刘亦菲完成签到 ,获得积分10
5秒前
hanbo完成签到,获得积分10
6秒前
芯止谭轩完成签到,获得积分10
6秒前
Chris完成签到,获得积分10
6秒前
123发布了新的文献求助10
6秒前
fafa完成签到,获得积分10
6秒前
蔡毛线发布了新的文献求助10
6秒前
bkagyin应助xch采纳,获得10
6秒前
7秒前
值班平安完成签到 ,获得积分10
7秒前
肉肉完成签到,获得积分10
7秒前
yangjian完成签到,获得积分10
7秒前
int0完成签到,获得积分10
8秒前
时米米米完成签到,获得积分10
8秒前
8秒前
Adler完成签到,获得积分10
8秒前
只耍帅完成签到 ,获得积分10
8秒前
zjk发布了新的文献求助10
8秒前
Akim应助HQJ采纳,获得10
9秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Essentials of Carbohydrate Chemistry and Biochemistry, 4th Edition 800
Organizational Behavior 510
Management and the Arts 510
Matrix Methods in Data Mining and Pattern Recognition Second Edition 510
CLSI VET01S-2024 Performance Standards for Antimicrobial Disk and Dilution Susceptibility Tests for Bacteria Isolated From Animals (7th Ed) 500
DIPPR Project 801 - Full Version 380
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 计算机科学 化学工程 工程类 有机化学 物理 复合材料 生物化学 内科学 细胞生物学 基因 遗传学 免疫学 冶金 光电子学 癌症研究
热门帖子
关注 科研通微信公众号,转发送积分 7766181
求助须知:如何正确求助?哪些是违规求助? 9310092
关于积分的说明 20315074
捐赠科研通 7351008
什么是DOI,文献DOI怎么找? 3315033
关于科研通互助平台的介绍 2464576
邀请新用户注册赠送积分活动 2329603