Abstract
Mobile devices have a rich set of small-scale sensors which improve the functionalities possibilities. The growing use of mobile applications has aroused the interest of researchers in testing mobile applications. However, sensor interaction failures are a challenging and still a little-explored aspect of research. Unexpected behavior because the sensor interactions can introduce failures that manifest themselves in specific sensor configurations. Sensor interaction failures can compromise the mobile application’s quality and harm the user’s experience. We propose an approach for extending test suites of mobile applications in order to evaluate the sensor interactions aspects of mobile applications. We used eight sensors to verify the occurrence of sensor interaction failures. We generated all configurations considering the sensors enabled or disabled. We observed that some pairs of sensors cause failures in some applications including those not so obvious.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
- 2.
- 3.
Apr 20, 2021.
- 4.
- 5.
- 6.
A kind of test that runs on devices or emulators: https://developer.android.com/studio/test.
- 7.
- 8.
- 9.
- 10.
- 11.
- 12.
- 13.
- 14.
- 15.
- 16.
- 17.
- 18.
References
Agrawal, R., Srikant, R., et al.: Fast algorithms for mining association rules. In: Proceedings of 20th International Conference on Very Large Data Bases, VLDB, vol. 1215, pp. 487–499. Citeseer (1994)
Apel, S., Speidel, H., Wendler, P., Rhein, A.V., Beyer, D.: Detection of feature interactions using feature-aware verification. In: Proceedings of the 26th International Conference on Automated Software Engineering (ASE), pp. 372–375 (2011)
Bowen, T.F., Dworack, F., Chow, C., Griffeth, N., Herman, G.E., Lin, Y.J.: The feature interaction problem in telecommunications systems. In: Proceedings of the 7th International Conference on Software Engineering for Telecommunication Switching Systems (SETSS), pp. 59–62 (1989)
Ceccato, M., Gazzola, L., Kifetew, F.M., Mariani, L., Orrú, M., Tonella, P.: Toward in-vivo testing of mobile applications. In: 2019 IEEE International Symposium on Software Reliability Engineering Workshops (ISSREW), pp. 137–143. IEEE (2019)
Esteves, G., Figueiredo, E., Veloso, A., Viggiato, M., Ziviani, N.: Understanding machine learning software defect predictions. Autom. Softw. Eng. 27(3), 369–392 (2020). https://doi.org/10.1007/s10515-020-00277-4
Farooq, U., Zhao, Z.: RuntimeDroid: restarting-free runtime change handling for Android apps. In: Proceedings of the 16th Annual International Conference on Mobile Systems, Applications, and Services, pp. 110–122 (2018)
Ferreira, F., Vale, G., Diniz, J.P., Figueiredo, E.: Evaluating T-wise testing strategies in a community-wide dataset of configurable software systems. J. Syst. Softw. 179, 110990 (2021)
Gambi, A., Bell, J., Zeller, A.: Practical test dependency detection. In: Proceedings of the IEEE International Conference on Software Testing, Verification, and Validation (ICST), pp. 1–11 (2018)
Hornik, K., Grün, B., Hahsler, M.: arules-a computational environment for mining association rules and frequent item sets. J. Stat. Softw. 14(15), 1–25 (2005)
Kong, P., Li, L., Gao, J., Liu, K., Bissyandé, T.F., Klein, J.: Automated testing of Android apps: a systematic literature review. IEEE Trans. Reliabil. 68(1), 45–66 (2018)
Kowalczyk, E., Cohen, M.B., Memon, A.M.: Configurations in Android testing: they matter. In: Proceedings of the 1st International Workshop on Advances in Mobile App Analysis, pp. 1–6 (2018)
Lu, Y., Pan, M., Zhai, J., Zhang, T., Li, X.: Preference-wise testing for Android applications. In: Proceedings of the 2019 27th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering, pp. 268–278 (2019)
Luo, C., Goncalves, J., Velloso, E., Kostakos, V.: A survey of context simulation for testing mobile context-aware applications. ACM Comput. Surv. (CSUR) 53(1), 1–39 (2020)
Machado, I., McGregor, J., Cavalcanti, Y., Almeida, E.: On strategies for testing software product lines: a systematic literature review. Inf. Softw. Technol. (IST) 56, 1183–1199 (2014)
Marinho, E.H., Figueiredo, E.: PLATOOL: a functional test generation tool for mobile applications. In: Proceedings of the 34th Brazilian Symposium on Software Engineering, Tools Track, SBES 2020, pp. 548–553 (2020)
Mendez-Porras, A., Quesada-Lopez, C., Jenkins, M.: Automated testing of mobile applications: a systematic map and review. In: Proceedings of the Ibero-American Conference on Software Engineering (CIbSE), pp. 195–208 (2015)
Morgado, I.C., Paiva, A.C.: The impact tool for Android testing. Proc. ACM Hum.-Comput. Interact. 3(EICS), 1–23 (2019)
Nguyen, S., Nguyen, H., Tran, N., Tran, H., Nguyen, T.: Feature-interaction Aware configuration prioritization for configurable code. In: Proceedings of the 34th IEEE/ACM International Conference on Automated Software Engineering (ASE), pp. 489–501 (2019)
Oliveira, J., Viggiato, M., Santos, M., Figueiredo, E., Marques-Neto, H.: An empirical study on the impact of Android code smells on resource usage. In: Proceedings of the International Conference on Software Engineering and Knowledge Engineering (SEKE), pp. 314–313 (2018)
Rubinov, K., Baresi, L.: What are we missing when testing our Android apps? Computer 51(4), 60–68 (2018)
Sahinoglu, M., Inckin, K., Aktas, M.S.: Mobile application verification: a systematic mapping study. In: Proceedings of the International Conference on Computational Science and Its Applications (ICCSA), pp. 147–163 (2015)
Siegmund, N., et al.: Predicting performance via automated feature-interaction detection. In: Proceedings of the 34th International Conference on Software Engineering (ICSE), pp. 167–177 (2012)
Soares, L.R., Schobbens, P., do Carmo Machado, I., de Almeida, E.S.: Feature interaction in software product line engineering: a systematic mapping study. Inf. Softw. Technol. (IST) 98, 44–58 (2018)
Tramontana, P., Amalfitano, D., Amatucci, N., Fasolino, A.R.: Automated functional testing of mobile applications: a systematic mapping study. Softw. Qual. J. 27(1), 149–201 (2019). https://doi.org/10.1007/s11219-018-9418-6
Vilkomir, S.: Multi-device coverage testing of mobile applications. Softw. Qual. J. 26(2), 197–215 (2018). https://doi.org/10.1007/s11219-017-9357-7
Wei, L., Liu, Y., Cheung, S.C., Huang, H., Lu, X., Liu, X.: Understanding and detecting fragmentation-induced compatibility issues for Android apps. IEEE Trans. Softw. Eng. 46(11), 1176–1199 (2018)
Zein, S., Salleh, N., Grundy, J.: A systematic mapping study of mobile application testing techniques. J. Syst. Softw. 117, 334–356 (2016)
Zolfaghari, B., Parizi, R.M., Srivastava, G., Haleimariam, Y.: Root causing, detecting, and fixing flaky tests: state of the art and future roadmap. Softw. Pract. Exp. 51(5), 1–17 (2020)
Acknowledgements
This research was partially supported by Brazilian funding agencies: CNPq, CAPES, and FAPEMIG.
Author information
Authors and Affiliations
Corresponding authors
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2021 Springer Nature Switzerland AG
About this paper
Cite this paper
Marinho, E.H., Diniz, J.P., Ferreira, F., Figueiredo, E. (2021). Evaluating Sensor Interaction Failures in Mobile Applications. In: Paiva, A.C.R., Cavalli, A.R., Ventura Martins, P., Pérez-Castillo, R. (eds) Quality of Information and Communications Technology. QUATIC 2021. Communications in Computer and Information Science, vol 1439. Springer, Cham. https://doi.org/10.1007/978-3-030-85347-1_5
Download citation
DOI: https://doi.org/10.1007/978-3-030-85347-1_5
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-85346-4
Online ISBN: 978-3-030-85347-1
eBook Packages: Computer ScienceComputer Science (R0)