Skip to main content

A Glance on Performance of Fitness Functions Toward Evolutionary Algorithms in Mutation Testing

  • Conference paper
  • First Online:
Data Science: From Research to Application (CiDaS 2019)

Abstract

Nowadays, Internet and web applications have influenced on different aspects of human life. Therefore there are always some needs to different software platforms for implementation of electronic commerce or electronic governance. Hence a great market is now devoted to software production in various platforms. Regarding such market demand, producing high-quality softwares with reliability, safety and availability services are considered as an important issue. To be more specific all software companies use software testing concepts as an independent process in software development cycle. There are various methods for software testing, but mutation testing is one of the most powerful tools. In mutation testing, high-quality test-case generation plays a key role and it has a direct relation with quality of software testing. There are different techniques for test-case generation where evolutionary algorithms are among the most common ones. Since each evolutionary algorithm needs an appropriate fitness function which is dependent on target problem, it is very important to know that for each evolutionary algorithm which fitness function generates better test cases. The main goal of this paper is to answer this question and a treatment of five evolutionary algorithms regarding four different fitness functions are classified in this work.

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 129.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 169.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. Lipton, R.: “Fault Diagnosis of Computer Programs” student report, Carnegie Mellon University (1971)

    Google Scholar 

  2. DeMillo, R.A., Lipton, R.J., Sayward, F.G.: Hints on test data selection: help for the practicing programmer. Computer 11(4), 34–41 (1978)

    Article  Google Scholar 

  3. Hamlet, R.G.: Testing programs with the aid of a compiler. IEEE Trans. Softw. Eng. 3(4), 279–290 (1977)

    Article  MathSciNet  Google Scholar 

  4. Walsh, P.J.: A measure of test completeness. Ph.D. thesis, State University of New York at Binghamton (1985)

    Google Scholar 

  5. Frankl, P.G., Weiss, S.N., Hu, C.: All-uses vs. mutation testing: An experimental comparison of effectiveness. J. Syst. Softw. 38(3), 235–253 (1997)

    Article  Google Scholar 

  6. Offutt, J., Pan, J., Tewary, K., Zhang, T.: An experimental evaluation of data flow and mutation testing. Softw.: Practice Exp. 26(2), 165–176 (1996)

    Google Scholar 

  7. Offutt, A.J.: Automatic test data generation. Ph.D. thesis, Georgia Institute of Technology (1988)

    Google Scholar 

  8. DeMillo, R.A., Offutt, A.J.: Constraint-based automatic test data generation. IEEE Trans. Softw. Eng. 17(9), 900–910 (1991)

    Article  Google Scholar 

  9. Offutt, A.J., Jin, Z., Pan, J.: The dynamic domain reduction approach for test data generation: design and algorithms. Technical report ISSE-TR-94-110, George Mason University (1994)

    Google Scholar 

  10. Baudry, B., Fleurey, F., Jezequel, J.-M., Le Traon, Y.: Genes and bacteria for automatic test-cases optimization in the .NET environment. In: Proceedings of 13th International Symposium Software Reliability Engineering, pp. 195–206 (2002)

    Google Scholar 

  11. Ayari, K., Bouktif, S., Antoniol, G.: Automatic mutation test input data generation via ant colony. In: Proceedings of Genetic and Evolutionary Computation Conference, pp. 1074–1081 (2007)

    Google Scholar 

  12. Acree, A.T., Budd, T.A., DeMillo, R.A., Lipton, R.J., Sayward, F.G.: Mutation analysis. Technical report GIT-ICS-79/08, Georgia Institute of Technology (1979)

    Google Scholar 

  13. King, K.N., Offutt, A.J.: A Fortran language system for mutation-based software testing. Softw.: Practice Exp. 21(7), 685–718 (1991)

    Google Scholar 

  14. Offutt, A.J., King, K.N.: A Fortran 77 interpreter for mutation analysis. ACM SIGPLAN Not. 22(7), 177–188 (1987)

    Article  Google Scholar 

  15. Offutt, A.J., Voas, J., Payn, J.: Mutation operators for Ada. Technical report ISSE-TR-96-09, George Mason University (1996)

    Google Scholar 

  16. Agrawal, H., DeMillo, R.A., Hathaway, B., Hsu, W., Krauser, E.W., Martin, R.J., Mathur, A.P., Spafford, E.: Design of mutant operators for the C programming language. Technical report SERC-TR-41-P, Purdue University (1989)

    Google Scholar 

  17. Kim, S., Clark, J.A., McDermid, J.A.: Investigating the effectiveness of object-oriented testing strategies using the mutation method. In: Proceedings of First Workshop Mutation Analysis, pp. 207–225 (2000)

    Article  Google Scholar 

  18. Chevalley, P.: Applying mutation analysis for object-oriented programs using a reflective approach. In: Proceedings of Eighth Asia-Pacific Software Engineering Conference, p. 267 (2001)

    Google Scholar 

  19. Ma, Y.S., Offutt, A.J., Kwon, Y.-R.: MuJava: an automated class mutation system. Softw. Testing Verif. Reliab. 15(2), 97–133 (2005)

    Article  Google Scholar 

  20. Derezińska, A.: Advanced mutation operators applicable in C# programs. Technical report, Warsaw University of Technology (2005)

    Google Scholar 

  21. Vilela, P., Machado, M., Wong, W.E.: Testing for security vulnerabilities in software. In: Proceedings of Conference Software Engineering and Applications (2002)

    Google Scholar 

  22. Papadakis, M., Malevris, N., Kallia, M.: Towards automating the generation of mutation tests. In: Proceedings of the 5th Workshop on Automation of Software Test, Cape Town, South Africa, pp. 111–118 (2010)

    Google Scholar 

  23. Zhang, L., Xie, T., Zhang, L., Tillmann, N., Halleux, J., Mei, H.: Test generation via dynamic symbolic execution for mutation testing. In: Proceeding of IEEE International Conference on Software Maintenance, Timisoara, Romania, pp. 1–10 (2010)

    Google Scholar 

  24. Fraser, G., Zeller, A.: Mutation-driven generation of unit tests and oracles. IEEE Trans. Softw. Eng. 38(2), 278–292 (2012)

    Article  Google Scholar 

  25. Harman, M., Jia, Y., Langdon, W.B.: Strong higher order mutation-based test data generation. In: Proceedings of Conference the 19th ACM SIGSOFT Symposium and the 13th European Conference on Foundations of software engineering, Szeged, Hungary (2011)

    Google Scholar 

  26. Harman, M., Hassoun, Y., Lakhotia, K., McMinn, P., Wegener, J.: The impact of input domain reduction on search-based test data generation. In: Proceedings of 6th Joint Meeting European Software Engineering Conference ACM SIGSOFT Symposium Foundations Software Engineering, pp. 155–164 (2007)

    Google Scholar 

  27. Zhan, Y., Clark, J.A.: Search-based mutation testing for simulink models. In: Proceedings Conference Genetic and Evolutionary Computation, pp. 1061–1068 (2005)

    Google Scholar 

  28. Tuya, J., Cabal, M.J.S., de la Riva, C.: SQLMutation: a tool to generate mutants of SQL database queries. In: Proceedings of Second Workshop Mutation Analysis, p. 1 (2006)

    Google Scholar 

  29. Hierons, R.M., Merayo, M.G.: Mutation testing from probabilistic finite state machines. In: Proceedings of Third Workshop Mutation Analysis, published with Proceedings Second Testing: Academic and Industrial Conference Practice and Research Techniques, pp. 141–150 (2007)

    Google Scholar 

  30. Vigna, G., Robertson, W., Balzarotti, D.: Testing network-based intrusion detection signatures using mutant exploits. In: Proceedings of 11th ACM Conference Computer and Communication Security, pp. 21–30 (2004)

    Google Scholar 

  31. Wang, R., Huang, N.: Requirement model-based mutation testing for web service. In: Proceedings of Fourth International Conference Next Generation Web Services Practices, pp. 71–76 (2008)

    Google Scholar 

  32. Ammann, P., Offutt, J.: Introduction to Software Testing. Cambridge University Press, Cambridge (2008)

    Google Scholar 

  33. Qin, L.D., Jiang, Q.Y., Zou, Z.Y., Cao, Y.J.: A queen-bee evolution based on genetic algorithm for economic power dispatch. In: Proceedings of Conference UPEC 2004. 39th International, vol. 1, pp. 453–456 (2004)

    Google Scholar 

  34. van den Bergh, F.: An analysis of particle swarm optimizers. Ph.D. thesis, University of Pretoria (2002)

    Google Scholar 

  35. Wegener, J., Baresel, A., Sthamer, H.: Evolutionary test environment for automatic structural testing. Inf. Softw. Technol. 43(14), 841–854 (2001)

    Article  Google Scholar 

  36. Derezinska, A., Szustek, A.: CREAM—a system for object-oriented mutation of C# programs. Technical report, Warsaw University of Technology (2007)

    Google Scholar 

  37. Godefroid, P., Klarlund, N., Sen, K.: DART: directed automated random testing. In: Proceedings of the 2005 ACM SIGPLAN Conference Programming Language Design and Implementation (PLDI 2005), Chicago, Illinois, USA, 11–15 June 2005, vol. 40, pp. 213–223. ACM (2005)

    Google Scholar 

  38. Sen, K., Marinov, D., Agha, G.: CUTE: a concolic unit testing engine for C. In: Proceedings of 13th ACM SIGSOFT International Symposium Foundations of Software Engineering, pp. 263–272 (2005)

    Article  Google Scholar 

  39. Offutt, A.J., Ma, Y.-S., Kwon, Y.-R.: An experimental mutation system for Java. ACM SIGSOFT Softw. Eng. Notes 29(5), 1–4 (2004)

    Google Scholar 

  40. Chen, T., Merkel, R., Wong, P., Eddy, G.: Adaptive random testing through dynamic partitioning. In: Fourth International Conference on Quality Software, pp. 79–86 (2004)

    Google Scholar 

  41. Pacheco, C., Lahiri, S.K., Ernst, M.D., Ball, T.: Feedback-directed random test generation. In: Proceedings of the 29th International Conference on Software Engineering, pp. 75–84 (2007)

    Google Scholar 

  42. Ciupa, I., Leitner, A., Oriol, M., Meyer, B.: ARTOO: adaptive random testing for object-oriented software. In: Proceedings of the 30th International Conference on Software Engineering, pp. 71–80 (2008)

    Google Scholar 

  43. Farzaneh, H., Bakhshayeshi, S., Ebrahimi Atani, R.: A survey on test data generation techniques based on Mutation Testing. Soft Comput. J. 2(1), 72–85 (2013)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Reza Ebrahimi Atani .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2020 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Atani, R.E., Farzaneh, H., Bakhshayeshi, S. (2020). A Glance on Performance of Fitness Functions Toward Evolutionary Algorithms in Mutation Testing. In: Bohlouli, M., Sadeghi Bigham, B., Narimani, Z., Vasighi, M., Ansari, E. (eds) Data Science: From Research to Application. CiDaS 2019. Lecture Notes on Data Engineering and Communications Technologies, vol 45. Springer, Cham. https://doi.org/10.1007/978-3-030-37309-2_6

Download citation

Publish with us

Policies and ethics