TY - GEN
T1 - TEST AMPLIFICATION FOR MEDICAL APPS IMPLEMENTING LINEARLY-APPROXIMATABLE FUNCTIONS
AU - Almutawa, Ian
AU - Ahmed, Muyeed
AU - Neamtiu, Iulian
AU - Flis, Peter
N1 - Publisher Copyright:
© 2024 Big Data Analytics, Data Mining and Computational Intelligence. All Rights Reserved.
PY - 2024
Y1 - 2024
N2 - Mobile (smartphone) apps are increasingly used in medical, health, and fitness settings, but their reliability can be poor, which has negative healthcare consequences. Researchers have started to scrutinize the correctness and reliability of such apps, but the techniques used are unsatisfactory. For example, prior work has used ad-hoc techniques to discover some errors and incorrect calculations, but we still lack automated procedures that systematically look for errors. We introduce a novel approach that provides test “amplification”: given a few test cases for an app, we use a linear approximation to model app behavior, compute an error function, and then look for its maxima. The error function maxima are further test cases that exhibit higher errors. Our approach can generally be applied to any calculations based on linearly-approximatable functions. We have applied our approach to 54 Android apps. We have primarily focused on apps computing the Basal Metabolic Rate (BMR). While manual testing discovered errors of at most 0.3%, amplification found errors as large as 5.4%. We also show how our approach can perform effective test amplification, from 2.4% to 8%, for recently-found issues in Android apps that calculate the Body-Surface Area.
AB - Mobile (smartphone) apps are increasingly used in medical, health, and fitness settings, but their reliability can be poor, which has negative healthcare consequences. Researchers have started to scrutinize the correctness and reliability of such apps, but the techniques used are unsatisfactory. For example, prior work has used ad-hoc techniques to discover some errors and incorrect calculations, but we still lack automated procedures that systematically look for errors. We introduce a novel approach that provides test “amplification”: given a few test cases for an app, we use a linear approximation to model app behavior, compute an error function, and then look for its maxima. The error function maxima are further test cases that exhibit higher errors. Our approach can generally be applied to any calculations based on linearly-approximatable functions. We have applied our approach to 54 Android apps. We have primarily focused on apps computing the Basal Metabolic Rate (BMR). While manual testing discovered errors of at most 0.3%, amplification found errors as large as 5.4%. We also show how our approach can perform effective test amplification, from 2.4% to 8%, for recently-found issues in Android apps that calculate the Body-Surface Area.
KW - Android
KW - Health Apps
KW - Linear Approximation
KW - Medical Apps
KW - Software Reliability
KW - Software Testing
UR - http://www.scopus.com/inward/record.url?scp=85207060622&partnerID=8YFLogxK
UR - http://www.scopus.com/inward/citedby.url?scp=85207060622&partnerID=8YFLogxK
M3 - Conference contribution
AN - SCOPUS:85207060622
T3 - Proceedings of the International Conferences on Big Data Analytics, Data Mining and Computational Intelligence 2024, BigDaCI 2024; Connected Smart Cities 2024, CSC 2024; and e-Health 2024, EH 2024
SP - 157
EP - 164
BT - Proceedings of the International Conferences on Big Data Analytics, Data Mining and Computational Intelligence 2024, BigDaCI 2024; Connected Smart Cities 2024, CSC 2024; and e-Health 2024, EH 2024
A2 - Abraham, Ajith
A2 - Peng, Guo Chao
A2 - Isaias, Pedro
A2 - Isaias, Pedro
PB - IADIS
T2 - 9th International Conference on Big Data Analytics, Data Mining and Computational Intelligence, BigDaCI 2024, the 10th International Conference on Connected Smart Cities, CSC 2024 and the 16th International Conference on e-Health, EH 2024, Part of the 18th Multi Conference on Computer Science and Information Systems 2024, MCCSIS 2024
Y2 - 13 July 2024 through 15 July 2024
ER -