Skip to main content

Toward Generalization of Mutant Clustering Results in Mutation Testing

  • Chapter
  • First Online:
Soft Computing in Computer and Information Science

Part of the book series: Advances in Intelligent Systems and Computing ((AISC,volume 342))

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Jia, Y., Harman, M.: An analysis and survey of the development of mutation testing. IEEE Trans. Softw. Eng. 37(5), 649–678 (2011)

    Article  Google Scholar 

  2. Usaola, M.P., Mateo, P.R.: Mutation testing cost reduction techniques: a survey. IEEE Softw. 27(3), 80–86 (2010)

    Article  Google Scholar 

  3. Hussain, S.: Mutation Clustering. Master’s Thesis. King’s College London, Strand, London (2008)

    Google Scholar 

  4. 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)

    Google Scholar 

  5. 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)

    Google Scholar 

  6. 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)

    Google Scholar 

  7. 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)

    Google Scholar 

  8. 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)

    Google Scholar 

  9. 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)

    Google Scholar 

  10. Jain, A.K., Murty, M.N., Flynn, P.J.: Data clustering: a review. ACM Comput. Surv. 31(3), 264–323 (1999)

    Article  Google Scholar 

  11. 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)

    Google Scholar 

  12. 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)

    Google Scholar 

  13. Bluemke, I., Kulesza, K.: Reduction in mutation testing of Java classes. In: Proceedings of International Joint Conference on Software Technologies (ICSOFT). Vienna (2014)

    Google Scholar 

  14. CREAM, http://galera.ii.pw.edu.pl/~adr/CREAM/

  15. 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)

    Google Scholar 

  16. 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)

    Google Scholar 

  17. 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)

    Google Scholar 

Download references

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

Authors

Corresponding author

Correspondence to Anna DereziƄska .

Editor information

Editors and Affiliations

Rights and permissions

Reprints 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)

Publish with us

Policies and ethics