Facebook pixel tracking

The Science and Information (SAI) Organization publishes open-access peer-reviewed journals in computer science and artificial intelligence.

Contact Info
Website thesai.org
Follow Us
Contact Info
Follow Us
Research Article | Open Access |

Heuristics Applied to Mutation Testing in an Impure Functional Programming Language

Author 1: Juan Gutiérrez-Cárdenas Author 2: Hernan Quintana-Cruz Author 3: Diego Mego-Fernandez Author 4: Serguei Diaz-Baskakov
International Journal of Advanced Computer Science and Applications (IJACSA) · Vol. 10, No. 6 · Published 2019

DOI: https://doi.org/10.14569/IJACSA.2019.0100670

Abstract

The task of elaborating accurate test suites for pro-gram testing can be an extensive computational work. Mutation testing is not immune to the problem of being a computational and time-consuming task so that it has found relief in the use of heuristic techniques. The use of Genetic Algorithms in mutation testing has proved to be useful for probing test suites, but it has mainly been enclosed only in the field of imperative programming paradigms. Therefore, we decided to test the feasibility of using Genetic Algorithms for performing mutation testing in functional programming environments. We tested our proposal by making a graph representations of four different functional programs and applied a Genetic Algorithm to generate a population of mutant programs. We found that it is possible to obtain a set of mutants that could find flaws in test suites in functional programming languages. Additionally, we encountered that when a source code increases its number of instructions it was simpler for a genetic algorithm to find a mutant that can avoid all of the test cases.

Keywords

How to Cite this Article

Gutiérrez-Cárdenas, J., Quintana-Cruz, H., Mego-Fernandez, D., & Diaz-Baskakov, S. (2019). Heuristics Applied to Mutation Testing in an Impure Functional Programming Language. International Journal of Advanced Computer Science and Applications, 10(6). https://doi.org/10.14569/IJACSA.2019.0100670

Gutiérrez-Cárdenas, Juan, et al.. "Heuristics Applied to Mutation Testing in an Impure Functional Programming Language." International Journal of Advanced Computer Science and Applications, vol. 10, no. 6, 2019, https://doi.org/10.14569/IJACSA.2019.0100670.

@article{Gutiérrez-Cárdenas2019,
  title     = {Heuristics Applied to Mutation Testing in an Impure Functional Programming Language},
  journal   = {International Journal of Advanced Computer Science and Applications},
  volume    = {10},
  number    = {6},
  year      = {2019},
  publisher = {The Science and Information Organization},
  author    = {Juan Gutiérrez-Cárdenas and Hernan Quintana-Cruz and Diego Mego-Fernandez and Serguei Diaz-Baskakov},
  doi       = {10.14569/IJACSA.2019.0100670},
  url       = {https://doi.org/10.14569/IJACSA.2019.0100670}
}

Open Access — licensed under a Creative Commons Attribution 4.0 International License. Unrestricted use, distribution, and reproduction in any medium, even commercially, as long as the original work is properly cited.