Abstract
Mutation testing is effectively used for evaluation of test case quality but suffers from high cost required for its realization. Mutated programs are injected with program changes specified by various mutation operators. One of the methods applied to the reduction of mutant number is mutant clustering. Instead of using all generated mutants, special mutant groups are distinguished and group representatives are used in further evaluation of tests. Mutant clustering gave some promising results for C programs. In case of object-oriented programs with standard and object-oriented operators the results were positive but not superior to other cost reduction techniques. An open issue is interpretation of mutant clustering results and their generalization to other projects in terms of used mutation operators. In this paper, three metrics are proposed to comprehend mutation clustering. Experimental results are analyzed toward usefulness of mutants created by various operators, their frequency, and dependency. The evaluation result confirms applicability of the metrics, and the practical guidelines about the mutation operators are concluded from the experimental data.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Jia, Y., Harman, M.: An analysis and survey of the development of mutation testing. IEEE Trans. Softw. Eng. 37(5), 649â678 (2011)
Usaola, M.P., Mateo, P.R.: Mutation testing cost reduction techniques: a survey. IEEE Softw. 27(3), 80â86 (2010)
Hussain, S.: Mutation Clustering. Masterâs Thesis. Kingâs College London, Strand, London (2008)
Ji, C., Chen, Z.Y., Xu, B.W., Zhao, Z.H.: A novel method of mutation clustering based on domain analysis. In: Proceedings of 21st International Conference on Software Engineering & Knowledge Engineering 422â425 (2009)
DereziĆska, A., Rudnik, M.: Quality evaluation of object-oriented and standard mutation operators applied to C# programs. In: Furia, C.A., Nanz, S. (eds.) TOOLS Europe. LNCS, vol. 7304, pp. 42â57. Springer, Berlin (2012)
DereziĆska, A.: A quality estimation of mutation clustering in C# programs. In: Zamojski, W. (ed.) New Results in Dependability & Computer Systems. AISC, vol. 224, pp. 119â129. Springer, Switzerland (2013)
Ma, Y.-S., Kwon, Y.-R., Offut, A.J.: Inter-class mutation operators for Java. In: Proceedings of 13-th International Symposium on Software Reliability Engineering, pp. 352â363. IEEE Computer Society (2002)
DereziĆska, A.: Advanced mutation operators applicable in C# programs. In: Sacha, K. (ed.) Software Engineering Techniques: Design for Quality. IFIP, vol. 227, pp. 283â288. Springer, Boston (2006)
DereziĆska, A.: Quality Assessment of Mutation Operators Dedicated for C# Programs. In: 6th International Conference on Quality Software, QSICâ06, Beijing, China, pp. 227â234, IEEE Computer Society Press, California (2006)
Jain, A.K., Murty, M.N., Flynn, P.J.: Data clustering: a review. ACM Comput. Surv. 31(3), 264â323 (1999)
Hu, J., Li, N., Offutt, J.: An analysis of OO mutation operators. In: Proceedings of 4th International Conference Software Testing Verification and Validation Workshops, pp. 334â341 (2011)
Zhang, L., Gligoric, M., Marinov, D., Khurshid, S.: Operator-based and random mutant selection: better together. In: 28th IEEE/ACM Conference on Automated Software Engineering (ASE 2013), pp. 92â102. Palo Alto (2013)
Bluemke, I., Kulesza, K.: Reduction in mutation testing of Java classes. In: Proceedings of International Joint Conference on Software Technologies (ICSOFT). Vienna (2014)
DereziĆska, A., Szustek, A.: Tool-supported mutation approach for verification of C# programs. In: Zamojski, W., et al. (eds.) Proceedings of International Conference on Dependability of Computer Systems, DepCoS-RELCOMEXâ08, pp. 261â268 (2008)
DereziĆska, A., Szustek, A.: Object-oriented testing capabilities and performance evaluation of the C# mutation system, In: Szmuc, T., Szpyrka, M., Zendulka, J. (eds.) CEE-SET 2009. LNCS, vol. 7054, pp. 229â242 (2012)
Offut, J., Rothermel, G., Zapf, C.: An experimental evaluation of selective mutation. In: Proceedings of 15th International Conference on Software Engineering, pp. 100â107 (1993)
Acknowledgments
I am thankful to M. Rudnik for his contribution to the CREAM tool development and for performing mutation testing experiments.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2015 Springer International Publishing Switzerland
About this chapter
Cite this chapter
DereziĆska, A. (2015). Toward Generalization of Mutant Clustering Results in Mutation Testing. In: WiliĆski, A., Fray, I., PejaĆ, J. (eds) Soft Computing in Computer and Information Science. Advances in Intelligent Systems and Computing, vol 342. Springer, Cham. https://doi.org/10.1007/978-3-319-15147-2_33
Download citation
DOI: https://doi.org/10.1007/978-3-319-15147-2_33
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-15146-5
Online ISBN: 978-3-319-15147-2
eBook Packages: EngineeringEngineering (R0)