IMGDroid: Detecting Image Loading Defects in Android ApplicationsTechnical Track
Fri 28 May 2021 22:20 - 22:40 at Blended Sessions Room 4 - 4.1.4. Image Processing
Images are essential for many Android applications or apps. Although images play a critical role in app functionalities and user experience, inefficient or improper image loading and displaying operations may severely impact the app performance and quality. Additionally, since these image loading defects may not be manifested by immediate failures, e.g., app crashes, existing GUI testing approaches cannot detect them effectively. In this paper, we identify five anti-patterns of such image loading defects, including image passing by intent, image decoding without resizing, local image loading without permission, repeated decoding without caching, and image decoding in UI thread. Based on these anti-patterns, we propose a static analysis technique, \textsf{IMGDroid}, to automatically and effectively detect such defects. We have applied \textsf{IMGDroid} to a benchmark of 21 open-source Android apps, and found that it not only successfully detects the 45 previously-known image loading defects but also finds 15 new such defects. Our empirical study on 1,000 commercial Android apps demonstrates that the image loading defects are prevalent.
Fri 28 MayDisplayed time zone: Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna change
10:00 - 10:55 | 4.1.4. Image ProcessingJournal-First Papers / Technical Track / SEIS - Software Engineering in Society at Blended Sessions Room 4 +12h Chair(s): Oscar Pastor Universitat Politecnica de Valencia | ||
10:00 20mPaper | psc2code: Denoising Code Extraction from Programming ScreencastsJournal-First Journal-First Papers Lingfeng Bao Zhejiang University, Zhenchang Xing Australian National University, Xin Xia Huawei Software Engineering Application Technology Lab, David Lo Singapore Management University, Minghui Wu Zhejiang University City College}, Xiaohu Yang Zhejiang University Pre-print Media Attached | ||
10:20 20mPaper | IMGDroid: Detecting Image Loading Defects in Android ApplicationsTechnical Track Technical Track Wei Song Nanjing University of Science & Technology, Mengqi Han Nanjing University of Science & Technology, Jeff Huang Texas A&M University Link to publication DOI Pre-print Media Attached | ||
10:40 15mPaper | Image-based Social Sensing: Combining AI and the Crowd to Mine Policy-Adherence Indicators from TwitterSEIS SEIS - Software Engineering in Society Virginia Negri Politecnico di Milano, Dario Scuratti Politecnico di Milano, Stefano Agresti Politecnico di Milano, Donya Rooein Politecnico di Milano, Gabriele Scalia Politecnico di Milano, Jose Luis Fernandez-Marquez University of Geneva, Amudha Ravi Shankar UNIGE, Mark Carman Politecnico di Milano, Barbara Pernici Politecnico di Milano Pre-print Media Attached |