课题基金 / 基金详情

基于模块抽取的安卓应用变更模块测试技术的研究

批准号:
62102197
项目类别:
青年科学基金项目(C类)
资助金额:
30.0 万元
负责人:
范玲玲
依托单位:
学科分类:
软件理论、软件工程与服务
结题年份:
2024
批准年份:
2021
项目状态:
已结题
项目参与者:
范玲玲

项目摘要

结项摘要

相似基金

相关文献

中文摘要
安卓应用的可靠性研究是可靠、可信软件研究的重要组成部分。国内外主流的测试方法和策略主要针对整个应用的测试,存在自动化测试覆盖率不高、回归测试可扩展性不足等问题,导致新版本中功能变更模块无法得到针对性测试或者测试成本巨大,无法满足安卓应用频繁迭代更新功能的现状。针对此问题,本项目拟将开展如下研究:(1)多版本变更功能的识别技术,对安卓应用版本变更功能进行抽象并识别;(2)功能模块边界的抽取技术,定义紧耦合功能模块的边界,抽取出功能相对独立的变更功能模块,便于后续针对性测试;(3)变更功能模块的自动化测试技术,定位变更功能模块的测试入口点,对独立出来的变更功能模块进行高效的、系统化、针对性的测试。该项研究能帮助测试人员快速测试变更功能模块的可靠性和质量,减少测试时间,提高测试效率,减少用户在使用过程中发生的意外退出和异常错误,迭代式的提高安卓应用程序的质量,具有重要的研究价值和实用价值。
英文摘要
Research on the reliability of Android applications is an essential part of research on reliable and trustworthy software. The existing mainstream testing methods and strategies focus on testing on the whole app, with problems such as insufficient scalability of regression testing and low coverage of automated testing, which lead to failures in targeted testing of the changed function modules in the updated versions, or the testing cost is usually huge. Therefore, they cannot meet the current situation of frequent iteration and update of Android applications. To address it, this project plans to carry out studies from the following aspects: (1) Identification of changed functions in multi-versions, we abstract and identify the changed modules in the updated versions of Android apps during evolution; (2) Extraction of function module boundary, we define the boundary of function modules and extract the changed function modules with relatively independent functions for further targeted testing; (3) Automated testing of changed functional modules, we conduct efficient, systematic and targeted testing on the independent changed function modules through localizing the entry point of the changed modules. This study can help testers to quickly test the reliability and quality of the changed functional module, reduce the testing time, improve the testing efficiency, reduce exception errors, and iteratively improve the quality of Android applications, which has important research value and practical value.
随着移动端用户数量的持续增长,安卓应用的可靠性和可用性日益成为影响用户体验和市场竞争力的关键因素。国内外主流的测试方法和策略主要针对整个应用的测试,存在自动化测试覆盖率不高、回归测试可扩展性不足等问题,导致新版本中功能变更模块无法得到针对性测试或者测试成本巨大,无法满足安卓应用频繁迭代更新功能的现状。本项目结合安卓应用频繁迭代的关键属性,研究面向安卓应用变更模块的测试技术。具体研究内容包括:(1)多版本变更功能的识别技术,对安卓应用版本变更功能进行抽象并识别;(2)功能模块边界的抽取技术,定义紧耦合功能模块的边界,抽取出功能相对独立的变更功能模块,便于后续针对性测试;(3)变更功能模块的自动化测试技术,定位变更功能模块的测试入口点,对独立出来的变更功能模块进行高效的、系统化、针对性的测试。项目研究成果显著提升了变更功能模块的测试效率和质量。在100个热门移动应用的实验中,我们提出的功能模块边界抽取技术较现有最先进方法提升了162.42%。在30个应用的60个相邻版本迭代测试中,成功识别了135个功能更新模块,并以此作为测试入口点开展高效测试。这些技术有效降低了安卓应用更新迭代过程中的测试成本,提升了变更功能的可靠性和可用性。本项目的研究成果不仅对安卓应用的回归测试和质量保障具有直接的推广价值,也为大规模移动软件在快速演进过程中的高效测试提供了新思路和技术手段,具有重要的学术价值和应用前景。综上所述,本项目的最终结果符合预期。
国内基金
海外基金