TY - JOUR
T1 - Heuristics applied to mutation testing in an impure functional programming language
AU - Gutiérrez-Cárdenas, Juan
AU - Quintana-Cruz, Hernan
AU - Mego-Fernandez, Diego
AU - Diaz-Baskakov, Serguei
N1 - Publisher Copyright:
© 2019 International Journal of Advanced Computer Science and Applications.
Copyright:
Copyright 2020 Elsevier B.V., All rights reserved.
PY - 2019
Y1 - 2019
N2 - The task of elaborating accurate test suites for program
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.
AB - The task of elaborating accurate test suites for program
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.
KW - Functional programming
KW - Heuristics
KW - Mutation testing
UR - https://hdl.handle.net/20.500.12724/9173
UR - http://www.scopus.com/inward/record.url?eid=2-s2.0-85070527479&partnerID=MN8TOARS
U2 - 10.14569/ijacsa.2019.0100670
DO - 10.14569/ijacsa.2019.0100670
M3 - Artículo (Contribución a Revista)
AN - SCOPUS:85070527479
SN - 2158-107X
VL - 10
SP - 538
EP - 548
JO - International Journal of Advanced Computer Science and Applications
JF - International Journal of Advanced Computer Science and Applications
IS - 6
ER -