Abstract
The objective of this chapter is to explore the reduction of computational costs of mutation testing of Java programs by selective mutations – omitting mutants generated for a mutation operator. The approaches to reduce the effort in mutation testing are briefly described. The idea of choosing a mutations operator and omitting mutants generated by it is described, next several experiments, conducted in the Eclipse environment using MuClipse and CodePro plugins, are presented in details. Two especially designed and implemented tools: Mutants Remover and Console Output Analyser were also used in experiments. Mutation score was used to evaluate the effectiveness of selective mutation testing.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
Jia, Y., Harman, M.: An Analysis and Survey of the Development of Mutation Testing. Technical report TR-09-06, Crest Centre, Kong’s College London, http://www.dcs.kcl.ac.uk/pg/jiayue/repository/TR-09-06.pdf (accessed 2013)
Mutation repository, http://crestweb.cs.ucl.ac.uk/resources/mutation_testing_repository/ (accessed XII 2013 but modified VII 2011)
Bashir, B.M., Nadeem, A.: Object Oriented Mutation Testing: A Survey. IEEE: 978-1-4673-4451-7/12 (2012)
Mathur, A.P.: Mutation Testing. In: Marciniak, J.J. (ed.) Encyclopedia of Software Engineering, pp. 707–713 (1994)
Schuler, D., Zeller, A.: (Un-)covering equivalent mutants. In: Proc. ICST, pp. 45–54 (2010)
Voas, J.M., Miller, K.W.: Software testability: the new verification. IEEE Softw. 12(3), 17–28 (1995)
Grun, B., Schuler, D., Zeller, A.: The impact of equivalent mutants. In: Proceedings of the 4th International Workshop on Mutation Testing (2009)
Hierons, R., Harman, M., Danicic, S.: Using program slicing to assist in the detection of equivalent mutants. Softw. Test. Verif. Rel. 9(4), 233–262 (1999)
Offutt, A.J., Craft, W.M.: Using compiler optimization techniques to detect equivalent mutants. Softw. Test. Verif. Rel. 4(3), 131–154 (1994)
Offutt, A.J., Pan, J.: Automatically detecting equivalent mutants and infeasible paths. Softw. Test. Verif. Rel. 7(3), 165–192 (1997)
MuClipse, http://muclipse.sourceforge.net/index.php (accessed 2012)
Madeyski, L., Radyk, R.: Judy - A Mutation Testing Tool for Java. IET Software 4(1), 32–42, doi:10.1049/iet-sen.2008.0038
Jumble, http://jumble.sourceforge.net/index.ht (accessed 2010)
Acree, A.T.: On mutation. Ph.D. thesis, Georgia Institute of Technology, Atlanta, Georgia (1980)
Budd, T.A.: Mutation analysis of program test data. Ph.D. thesis, Yale Univesity, New Haven, Connecticut (1980)
Mathur, A.P., Wong, W.E.: Reducing the cost of mutation testing: an empirical study. J. Syst. Softw. 31(3), 185–196 (1995)
DeMillo, R.A., Guindi, D.S., King, K.N., McCracken, W.M., Offutt, A.J.: An extended overview of the Mothra software testing environment. In: Proc. of the Second Workshop on Software Testing, Verification, and Analysis, pp. 142–151 (July 1988)
Scholive, M., Beroulle, V., Robach, C.: Mutation Sampling Technique for the Generation of Structural Test Data. In: Proc. of the Conf. on Design, Automation and Test in Europe, March 7-11, vol. 2, pp. 1022–1023 (2005)
Offutt, J., Rothermel, G., Zapf, C.: An experimental determination of sufficient mutation operators. ACM Trans. on Soft. Eng. and Methodology 5(2), 99–118 (1996)
DeMillo, R.A., Offutt, A.J.: Constraint-based automatic test data generation. IEEE Trans. on Soft. Eng. 17(9), 900–910 (1991)
Mresa, E.S., Bottaci, L.: Efficiency of mutation operators and selective mutation strategies: An empirical study. Soft. Testing, Ver. and Rel. 9(4), 205–232 (1999) ISSN: 09600833
Patrick, M., Oriol, M., Clark, J.A.: MESSI: Mutant Evaluation by Static Semantic Interpretation. In: 2012 IEEE Fifth Int. Conf. on Software Testing, Verification and Validation, pp. 711–719 (2012), doi:10.1109/ICST.2012.161
Bluemke, I., Kulesza, K.: Reduction of computational cost in mutation testing by sampling mutants. In: Zamojski, W., Mazurkiewicz, J., Sugier, J., Walkowiak, T., Kacprzyk, J. (eds.) New Results in Dependability & Comput. Syst. AISC, vol. 224, pp. 41–51. Springer, Heidelberg (2013), doi:10.1007/978-3-319-00945-2_4
Polo, M., Piattini, M., Garcia-Rodrıguez, I.: Decreasing the cost of mutation testing with second order mutants. Softw. Test. Verif. Reliab. 19, 111–131 (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 2012. LNCS, vol. 7304, pp. 42–57. Springer, Heidelberg (2012)
Derezińska, A.: A Quality Estimation of Mutation Clustering in C# Programs. In: Zamojski, W., Mazurkiewicz, J., Sugier, J., Walkowiak, T., Kacprzyk, J., et al. (eds.) New Results in Dependability & Comput. Syst. AISC, vol. 224, pp. 119–129. Springer, Heidelberg (2013)
Mateo, P.R., Usaola, M.P.: Parallel mutation testing. Softw. Test. Verif. Reliab. 23, 315–350 (2013)
CodePro JUnit Demo, https://developers.google.com/java-dev-tools/codepro/doc/features/junit/CodeProJUnitDemo.zip (accessed 2012)
Kulesza, K.: Mutation testing computational cost reduction using mutants sampling and selective mutation (in polish). M.Sc. thesis, Institute of Computer Science, Warsaw University of Technology (September 2012)
http://agile.csc.ncsu.edu/SEMaterials/tutorials/coffee_maker (accessed April 2012)
Godlewski, Ł.: MapMaker. Institute of Computer Science, Warsaw University of Technology (2008) (unpublished)
Suchowski, J.: Network game – NetworkShipsBattle. Institute of Computer Science, Warsaw University of Technology (2010) (unpublished)
jet-tetris, http://sourceforge.net/projects/jet-tetris (accessed 2012)
javasol, http://sourceforge.net/projects/javasol (accessed May 2012)
Bluemke, I., Kulesza, K.: A Comparison of Dataflow and Mutation Testing of Java Methods. In: Zamojski, W., Kacprzyk, J., Mazurkiewicz, J., Sugier, J., Walkowiak, T. (eds.) Dependable Computer Systems. AISC, vol. 97, pp. 17–30. Springer, Heidelberg (2011)
Frankl, P.G., Weiss, S.N., Hu: All-uses versus mutation testing: an experimental comparison of effectiveness. J. Syst. Softw. 38(3), 235–253 (1997)
Andrews, J.H., Briand, L.C., Labiche, Y.: Is mutation an appropriate tool for testing experiments? In: Proc. ICSE, pp. 402–411 (2005)
Segura, S., Hierons, R.M., Benavides, D., Ruiz-Cortés, A.: Mutation testing on an object-oriented framework: An experience report. Information and Software Technology 53, 1124–1136 (2011)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2014 Springer International Publishing Switzerland
About this paper
Cite this paper
Bluemke, I., Kulesza, K. (2014). Reductions of Operators in Java Mutation Testing. In: Zamojski, W., Mazurkiewicz, J., Sugier, J., Walkowiak, T., Kacprzyk, J. (eds) Proceedings of the Ninth International Conference on Dependability and Complex Systems DepCoS-RELCOMEX. June 30 – July 4, 2014, Brunów, Poland. Advances in Intelligent Systems and Computing, vol 286. Springer, Cham. https://doi.org/10.1007/978-3-319-07013-1_9
Download citation
DOI: https://doi.org/10.1007/978-3-319-07013-1_9
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-07012-4
Online ISBN: 978-3-319-07013-1
eBook Packages: EngineeringEngineering (R0)