Abstract
This paper attempts to link two lines of research that have proceeded independently so far: Mutant subsumption, which is used to identify redundant mutants; and Relative correctness, which is used to define and analyze software faults. We say that a mutant \(M'\) of a program P subsumes a mutant M of P if and only if any test datum that kills M kills \(M'\). On the other hand, we say that a program \(P'\) is more-correct than a program P with respect to a specification R if and only if whenever program P behaves correctly with respect to R on some input datum, so does program \(P'\). We highlight the relationships between these two concepts and consider some potential synergies between these two research directions.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Andrews, J.H., Briand, L.C., Labiche, Y.: Is mutation an appropriate tool for testing experiments? In: Proceedings of ICSE (2005)
Brink, C., Kahl, W., Schmidt, G.: Relational Methods in Computer Science. Advances in Computer Science, Springer Verlag, Berlin (1997). https://doi.org/10.1007/978-3-7091-6510-2
Budd, T.A., DeMillo, R.A., Lipton, R.J., Sayward, F.: Theoretical and empirical studies on using program mutation to test the functional correctness of programs. In: Proceedings of 7th ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages, POPL 1980, pp. 220–233, January 1980
DeMillo, R.A., Lipton, R.J., Sayward, F.G.: Hints on test data selection: help for the practicing programmer. IEEE Comput. 11(4), 34–41 (1978)
Desharnais, J., Diallo, N., Ghardallou, W., Frias, M.F., Jaoua, A., Mili, A.: Relational mathematics for relative correctness. In: Kahl, W., Winter, M., Oliveira, J.N. (eds.) RAMICS 2015. LNCS, vol. 9348, pp. 191–208. Springer, Cham (2015). https://doi.org/10.1007/978-3-319-24704-5_12
Desharnais, J., Diallo, N., Ghardallou, W., Mili, A.: Projecting programs on specifications: definitions and implications. Sci. Comput. Program. 138, 26–48 (2017)
Dijkstra, E.W.: A Discipline of Programming. Prentice Hall, Hoboken (1976)
Gries, D.: The Science of Programming. Springer, Heidelberg (1981). https://doi.org/10.1007/978-1-4612-5983-1
Guimaraes, M.A., Fernandes, L., Riberio, M., d’Amorim, M., Gheyi, R.: Optimizing mutation testing by discovering dynamic mutant subsumption relations. In: Proceedings of 13th International Conference on Software Testing, Validation and Verification (2020)
Hehner, E.C.R.: A Practical Theory of Programming. Prentice Hall, Hoboken (1992)
Just, R., Jalali, D., Inozemtseva, L., Ernst, M.D., Holmes, R., Fraser, G.: Are mutants a valid substitute for real faults in software testing? In: Proceedings of FSE (2014)
Kurtz, B., Amman, P., Delamaro, M.E., Offutt, J., Deng, L.: Mutant subsumption graphs. In: Proceedings of 7th International Conference on Software Testing, Validation and Verification Workshops (2014)
Kurtz, B., Ammann, P., Offutt, J.: Static analysis of mutant subsumption. In: Proceedings of IEEE 8th International Conference on Software Testing, Verification and Validation Workshops (2015)
Manna, Z.: A Mathematical Theory of Computation. McGraw-Hill, New York (1974)
Mili, A., Frias, M.F., Jaoua, A.: On faults and faulty programs. In: Höfner, P., Jipsen, P., Kahl, W., Müller, M.E. (eds.) RAMICS 2014. LNCS, vol. 8428, pp. 191–207. Springer, Cham (2014). https://doi.org/10.1007/978-3-319-06251-8_12
Mili, A.: Differentiators and detectors. Inf. Process. Lett. 169, 106111 (2021)
Mills, H.D., Basili, V.R., Gannon, J.D., Hamlet, D.R.: Structured Programming: A Mathematical Approach. Allyn and Bacon, Boston (1986)
Namin, A.S., Kakarla, S.: The use of mutation in testing experiments and its sensitivity to external threats. In: Proceedings of ISSTA (2011)
Shin, D., Bae, D.H.: A theoretical framework for understanding mutation-based testing methods. In: Proceedings of ICST 2016, Chicago, IL, April 2016
Shin, D., Yoo, S., Bae, D.-H.: A theoretical and empirical study of diversity-aware mutation adequancy criterion. IEEE TSE 44(10), 914–931 (2018)
Acknowledgement
This work is partially supported by NSF under grant number DGE1565478.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2021 Springer Nature Switzerland AG
About this paper
Cite this paper
Khaireddine, B., Ayad, A., Marsit, I., Mili, A. (2021). Mutation Subsumption as Relative Incorrectness. 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_2
Download citation
DOI: https://doi.org/10.1007/978-3-030-85347-1_2
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)