Cargando…
Creation of mutants by using centrality criteria in social network analysis
Mutation testing is a method widely used to evaluate the effectiveness of the test suite in hardware and software tests or to design new software tests. In mutation testing, the original model is systematically mutated using certain error assumptions. Mutation testing is based on well-defined mutati...
Autor principal: | |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
PeerJ Inc.
2020
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7924707/ https://www.ncbi.nlm.nih.gov/pubmed/33816944 http://dx.doi.org/10.7717/peerj-cs.293 |
_version_ | 1783659146171645952 |
---|---|
author | Takan, Savaş |
author_facet | Takan, Savaş |
author_sort | Takan, Savaş |
collection | PubMed |
description | Mutation testing is a method widely used to evaluate the effectiveness of the test suite in hardware and software tests or to design new software tests. In mutation testing, the original model is systematically mutated using certain error assumptions. Mutation testing is based on well-defined mutation operators that imitate typical programming errors or which form highly successful test suites. The success of test suites is determined by the rate of killing mutants created through mutation operators. Because of the high number of mutants in mutation testing, the calculation cost increases in the testing of finite state machines (FSM). Under the assumption that each mutant is of equal value, random selection can be a practical method of mutant reduction. However, in this study, it was assumed that each mutant did not have an equal value. Starting from this point of view, a new mutant reduction method was proposed by using the centrality criteria in social network analysis. It was assumed that the central regions selected within this frame were the regions from where test cases pass the most. To evaluate the proposed method, besides the feature of detecting all failures related to the model, the widely-used W method was chosen. Random and proposed mutant reduction methods were compared with respect to their success by using test suites. As a result of the evaluations, it was discovered that mutants selected via the proposed reduction technique revealed a higher performance. Furthermore, it was observed that the proposed method reduced the cost of mutation testing. |
format | Online Article Text |
id | pubmed-7924707 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2020 |
publisher | PeerJ Inc. |
record_format | MEDLINE/PubMed |
spelling | pubmed-79247072021-04-02 Creation of mutants by using centrality criteria in social network analysis Takan, Savaş PeerJ Comput Sci Network Science and Online Social Networks Mutation testing is a method widely used to evaluate the effectiveness of the test suite in hardware and software tests or to design new software tests. In mutation testing, the original model is systematically mutated using certain error assumptions. Mutation testing is based on well-defined mutation operators that imitate typical programming errors or which form highly successful test suites. The success of test suites is determined by the rate of killing mutants created through mutation operators. Because of the high number of mutants in mutation testing, the calculation cost increases in the testing of finite state machines (FSM). Under the assumption that each mutant is of equal value, random selection can be a practical method of mutant reduction. However, in this study, it was assumed that each mutant did not have an equal value. Starting from this point of view, a new mutant reduction method was proposed by using the centrality criteria in social network analysis. It was assumed that the central regions selected within this frame were the regions from where test cases pass the most. To evaluate the proposed method, besides the feature of detecting all failures related to the model, the widely-used W method was chosen. Random and proposed mutant reduction methods were compared with respect to their success by using test suites. As a result of the evaluations, it was discovered that mutants selected via the proposed reduction technique revealed a higher performance. Furthermore, it was observed that the proposed method reduced the cost of mutation testing. PeerJ Inc. 2020-09-14 /pmc/articles/PMC7924707/ /pubmed/33816944 http://dx.doi.org/10.7717/peerj-cs.293 Text en ©2020 Takan https://creativecommons.org/licenses/by/4.0/ This is an open access article distributed under the terms of the Creative Commons Attribution License (https://creativecommons.org/licenses/by/4.0/) , which permits unrestricted use, distribution, reproduction and adaptation in any medium and for any purpose provided that it is properly attributed. For attribution, the original author(s), title, publication source (PeerJ Computer Science) and either DOI or URL of the article must be cited. |
spellingShingle | Network Science and Online Social Networks Takan, Savaş Creation of mutants by using centrality criteria in social network analysis |
title | Creation of mutants by using centrality criteria in social network analysis |
title_full | Creation of mutants by using centrality criteria in social network analysis |
title_fullStr | Creation of mutants by using centrality criteria in social network analysis |
title_full_unstemmed | Creation of mutants by using centrality criteria in social network analysis |
title_short | Creation of mutants by using centrality criteria in social network analysis |
title_sort | creation of mutants by using centrality criteria in social network analysis |
topic | Network Science and Online Social Networks |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7924707/ https://www.ncbi.nlm.nih.gov/pubmed/33816944 http://dx.doi.org/10.7717/peerj-cs.293 |
work_keys_str_mv | AT takansavas creationofmutantsbyusingcentralitycriteriainsocialnetworkanalysis |