DynamicsLLM: a Dynamic Analysis-based Tool for Generating Intelligent Execution Traces Using LLMs to Detect Android Behavioural Code Smells
Houcine Abdelkader Cherief, Florent Avellaneda, and Naouel Moha

TL;DR
DynamicsLLM enhances Android behavioural code smell detection by leveraging LLMs to generate intelligent execution traces, significantly improving coverage over existing static and dynamic analysis tools.
Contribution
It introduces DynamicsLLM, a novel hybrid approach using LLMs to generate execution traces, improving detection coverage especially in apps with few activities.
Findings
DynamicsLLM with 100% LLM covers three times more code smell events than Dynamics.
The hybrid approach increases LLM coverage by 25.9% in apps with few activities.
12.7% of code smell events undetected by Dynamics are triggered by DynamicsLLM.
Abstract
Mobile apps have become essential of our daily lives, making code quality a critical concern for developers. Behavioural code smells are characteristics in the source code that induce inappropriate code behaviour during execution, which negatively impact software quality in terms of performance, energy consumption, and memory. Dynamics, the latest state-of-the-art tool-based method, is highly effective at detecting Android behavioural code smells. While it outperforms static analysis tools, it suffers from a high false negative rate, with multiple code smell instances remaining undetected. Large Language Models (LLMs) have achieved notable advances across numerous research domains and offer significant potential for generating intelligent execution traces, particularly for detecting behavioural code smells in Android mobile applications. By intelligent execution trace, we mean a…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
