<p>Data manipulation functionalities (DMFs) refer to operations such as create, read, update and delete which are crucial for maintaining the integrity of Android application (app) data. Existing testing techniques often fail to explicitly verify DMFs in combination, having limited capability to uncover non-crashing data manipulation errors (DMEs). In this paper, we propose a novel approach <Emphasis FontCategory="SansSerif">SceneData</Emphasis>, which utilizes a scene-guided exploration strategy to effectively detect DMEs in Android apps. Particularly, we model the UI pages as scenes and present a scene transition graph (SceneTG) to capture the relation between scenes. By utilizing SceneTG, we explore app states to thoroughly validate DMFs across different scenes. We evaluate <Emphasis FontCategory="SansSerif">SceneData</Emphasis> on 17 popular real-world apps, and <Emphasis FontCategory="SansSerif">SceneData</Emphasis> discovers 25 previously unknown bugs in their latest releases, 21 of which are non-crashing DMEs. The experiments also show that a significant fraction (15/21) of these bugs cannot be detected by the state-of-the-art techniques.</p>

错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Detecting data manipulation errors in android applications using scene-guided exploration

  • Shuqi Liu,
  • Yu Zhou,
  • Wenhua Yang,
  • Taolue Chen,
  • Harald Gall

摘要

Data manipulation functionalities (DMFs) refer to operations such as create, read, update and delete which are crucial for maintaining the integrity of Android application (app) data. Existing testing techniques often fail to explicitly verify DMFs in combination, having limited capability to uncover non-crashing data manipulation errors (DMEs). In this paper, we propose a novel approach SceneData, which utilizes a scene-guided exploration strategy to effectively detect DMEs in Android apps. Particularly, we model the UI pages as scenes and present a scene transition graph (SceneTG) to capture the relation between scenes. By utilizing SceneTG, we explore app states to thoroughly validate DMFs across different scenes. We evaluate SceneData on 17 popular real-world apps, and SceneData discovers 25 previously unknown bugs in their latest releases, 21 of which are non-crashing DMEs. The experiments also show that a significant fraction (15/21) of these bugs cannot be detected by the state-of-the-art techniques.