Test report generation for Android app testing via heterogeneous data analysis

The rising of the Android market demands higher quality assurance of Android applications (apps) to sharpen the competitive edge, and techniques for traditional software have problems adapting for mobile apps. Android apps often require testing on a large-scale device cluster, which produces a large...

Full description

Saved in:
Bibliographic Details
Main Authors: Fang, Chunrong, Yu, Shengcheng, Su, Ting, Zhang, Jing, Tian, Yuanhan, Liu, Yang
Other Authors: School of Computer Science and Engineering
Format: Article
Language:English
Published: 2023
Subjects:
Online Access:https://hdl.handle.net/10356/172093
Tags: Add Tag
No Tags, Be the first to tag this record!
Institution: Nanyang Technological University
Language: English
id sg-ntu-dr.10356-172093
record_format dspace
spelling sg-ntu-dr.10356-1720932023-11-22T03:47:17Z Test report generation for Android app testing via heterogeneous data analysis Fang, Chunrong Yu, Shengcheng Su, Ting Zhang, Jing Tian, Yuanhan Liu, Yang School of Computer Science and Engineering Engineering::Computer science and engineering Android Testing Test Report Generation The rising of the Android market demands higher quality assurance of Android applications (apps) to sharpen the competitive edge, and techniques for traditional software have problems adapting for mobile apps. Android apps often require testing on a large-scale device cluster, which produces a large amount of test reports consisting of heterogeneous data, e.g., hardware information, GUI screenshots, runtime logs. Such data are hard to merge to be unified analyzed, while they serve as an essential basis for bug inspection and fixing. Existing test report generation or analysis techniques can only handle testing data from different devices separately. They simply list all the information to app developers and have no further processing to summarize test reports. Besides, they neglect the inner connection of the heterogeneous data. Such techniques cannot improve the report reviewing effectiveness and efficiency, and they can hardly find the inner links and rules of the bug occurrence on different devices. As a result, developers still need to devote many efforts to inspect and fix bugs. In this paper, a large amount of test reports are investigated by the authors, as to construct a structured bug model to analyze heterogeneous data of the testing results. According to the investigation, we also define the Bug Inconsistency of testing results from multiple devices and build a novel bug taxonomy. In general, an automated approach is proposed to generate structured and comprehensible test reports from raw testing results from multiple devices. Based on the approach, a tool, namely BreGat, is implemented to evaluate the classification and deduplication capability of our approach. The experimental results of 30 Android apps on 20 devices show that BreGat can successfully cover 83% bug categories and exclude 76% duplicate bugs. Furthermore, a user study involving 16 developers shows that our test reports are more comprehensible and BreGat greatly improves the bug inspection efficiency compared to the state-of-the-art tool. National Research Foundation (NRF) This work was supported partially by the National Natural Science Foundation of China under Grants 62141215, 62272220, 62072178, and 61802171, in part by the “Digital Silk Road” Shanghai International Joint Lab of Trustworthy Intelligent Software under Grant 22510750100, in part by the National Research Foundation through its National Satellite of Excellence in Trustworthy Software Systems under Grant NSOE-TSS project under the National Cybersecurity R&D (NCR) under Grant NRF2018NCR-NSOE003-0001, in part by the Science, Technology and Innovation Commission of Shenzhen Municipality under Grant CJGJZD20200617103001003, and in part by the Postgraduate Research & Practice Innovation Program of Jiangsu Province under Grant KYCX22_0174. 2023-11-22T03:35:55Z 2023-11-22T03:35:55Z 2023 Journal Article Fang, C., Yu, S., Su, T., Zhang, J., Tian, Y. & Liu, Y. (2023). Test report generation for Android app testing via heterogeneous data analysis. IEEE Transactions On Software Engineering, 49(5), 3032-3051. https://dx.doi.org/10.1109/TSE.2023.3237247 0098-5589 https://hdl.handle.net/10356/172093 10.1109/TSE.2023.3237247 2-s2.0-85147263341 5 49 3032 3051 en NRF2018NCR-NSOE003-0001 IEEE Transactions on Software Engineering © 2023 IEEE. All rights reserved.
institution Nanyang Technological University
building NTU Library
continent Asia
country Singapore
Singapore
content_provider NTU Library
collection DR-NTU
language English
topic Engineering::Computer science and engineering
Android Testing
Test Report Generation
spellingShingle Engineering::Computer science and engineering
Android Testing
Test Report Generation
Fang, Chunrong
Yu, Shengcheng
Su, Ting
Zhang, Jing
Tian, Yuanhan
Liu, Yang
Test report generation for Android app testing via heterogeneous data analysis
description The rising of the Android market demands higher quality assurance of Android applications (apps) to sharpen the competitive edge, and techniques for traditional software have problems adapting for mobile apps. Android apps often require testing on a large-scale device cluster, which produces a large amount of test reports consisting of heterogeneous data, e.g., hardware information, GUI screenshots, runtime logs. Such data are hard to merge to be unified analyzed, while they serve as an essential basis for bug inspection and fixing. Existing test report generation or analysis techniques can only handle testing data from different devices separately. They simply list all the information to app developers and have no further processing to summarize test reports. Besides, they neglect the inner connection of the heterogeneous data. Such techniques cannot improve the report reviewing effectiveness and efficiency, and they can hardly find the inner links and rules of the bug occurrence on different devices. As a result, developers still need to devote many efforts to inspect and fix bugs. In this paper, a large amount of test reports are investigated by the authors, as to construct a structured bug model to analyze heterogeneous data of the testing results. According to the investigation, we also define the Bug Inconsistency of testing results from multiple devices and build a novel bug taxonomy. In general, an automated approach is proposed to generate structured and comprehensible test reports from raw testing results from multiple devices. Based on the approach, a tool, namely BreGat, is implemented to evaluate the classification and deduplication capability of our approach. The experimental results of 30 Android apps on 20 devices show that BreGat can successfully cover 83% bug categories and exclude 76% duplicate bugs. Furthermore, a user study involving 16 developers shows that our test reports are more comprehensible and BreGat greatly improves the bug inspection efficiency compared to the state-of-the-art tool.
author2 School of Computer Science and Engineering
author_facet School of Computer Science and Engineering
Fang, Chunrong
Yu, Shengcheng
Su, Ting
Zhang, Jing
Tian, Yuanhan
Liu, Yang
format Article
author Fang, Chunrong
Yu, Shengcheng
Su, Ting
Zhang, Jing
Tian, Yuanhan
Liu, Yang
author_sort Fang, Chunrong
title Test report generation for Android app testing via heterogeneous data analysis
title_short Test report generation for Android app testing via heterogeneous data analysis
title_full Test report generation for Android app testing via heterogeneous data analysis
title_fullStr Test report generation for Android app testing via heterogeneous data analysis
title_full_unstemmed Test report generation for Android app testing via heterogeneous data analysis
title_sort test report generation for android app testing via heterogeneous data analysis
publishDate 2023
url https://hdl.handle.net/10356/172093
_version_ 1783955502976204800