Employing Dynamic Symbolic Execution for Equivalent Mutant Detection
Equivalent mutants (EM) issue is a key challenge in mutation testing. Many methods were applied for detecting and reducing the equivalent mutants. These methods are classified into four classes: equivalent mutant detection, avoiding the generation of equivalent mutants, higher-order equivalent mutan...
Main Authors: | , , |
---|---|
Format: | Article |
Language: | English |
Published: |
IEEE
2019-01-01
|
Series: | IEEE Access |
Subjects: | |
Online Access: | https://ieeexplore.ieee.org/document/8894112/ |
_version_ | 1818479949665796096 |
---|---|
author | Ahmed S. Ghiduk Moheb R. Girgis Marwa H. Shehata |
author_facet | Ahmed S. Ghiduk Moheb R. Girgis Marwa H. Shehata |
author_sort | Ahmed S. Ghiduk |
collection | DOAJ |
description | Equivalent mutants (EM) issue is a key challenge in mutation testing. Many methods were applied for detecting and reducing the equivalent mutants. These methods are classified into four classes: equivalent mutant detection, avoiding the generation of equivalent mutants, higher-order equivalent mutants, and suggesting equivalent mutants. Higher-order mutation testing (HOMT) is considered the strongest employed technique in avoiding the generation of equivalent mutants and reduction of their number. In this paper, a combination of HOMT especially second-order mutation testing (SOMT) and dynamic symbolic execution (DSE) techniques are applied for the automatic detection and reduction of the equivalent second-order mutants. First, SOMT is used to reduce the number of equivalent mutants. Second, DSE technique is applied to classify the SOMs and detect EM. To assess the efficiency of the proposed technique, it is applied to some subject programs and the results of this technique are compared to the manual results and those of related works. The results showed that the proposed algorithm is more effective in detecting and reducing the number of EM. It detects 94% from the equivalent mutants that have manually analyzed. This percentage is a high percentage comparing with previous studies. Besides, the DEM-DSE technique detects 100% of equivalent mutants for 9 of the 14 subject programs. |
first_indexed | 2024-12-10T11:16:43Z |
format | Article |
id | doaj.art-43d4811d4adb40efb059786a976dfa1f |
institution | Directory Open Access Journal |
issn | 2169-3536 |
language | English |
last_indexed | 2024-12-10T11:16:43Z |
publishDate | 2019-01-01 |
publisher | IEEE |
record_format | Article |
series | IEEE Access |
spelling | doaj.art-43d4811d4adb40efb059786a976dfa1f2022-12-22T01:51:09ZengIEEEIEEE Access2169-35362019-01-01716376716377710.1109/ACCESS.2019.29522468894112Employing Dynamic Symbolic Execution for Equivalent Mutant DetectionAhmed S. Ghiduk0https://orcid.org/0000-0002-6845-3490Moheb R. Girgis1Marwa H. Shehata2College of Computers and IT, Taif University, Taif, Saudi ArabiaDepartment of Computer Science, Faculty of Science, Minia University, El-Minia, EgyptDepartment of Math and CS, Faculty of Science, Beni-Suef University, Beni Suef, EgyptEquivalent mutants (EM) issue is a key challenge in mutation testing. Many methods were applied for detecting and reducing the equivalent mutants. These methods are classified into four classes: equivalent mutant detection, avoiding the generation of equivalent mutants, higher-order equivalent mutants, and suggesting equivalent mutants. Higher-order mutation testing (HOMT) is considered the strongest employed technique in avoiding the generation of equivalent mutants and reduction of their number. In this paper, a combination of HOMT especially second-order mutation testing (SOMT) and dynamic symbolic execution (DSE) techniques are applied for the automatic detection and reduction of the equivalent second-order mutants. First, SOMT is used to reduce the number of equivalent mutants. Second, DSE technique is applied to classify the SOMs and detect EM. To assess the efficiency of the proposed technique, it is applied to some subject programs and the results of this technique are compared to the manual results and those of related works. The results showed that the proposed algorithm is more effective in detecting and reducing the number of EM. It detects 94% from the equivalent mutants that have manually analyzed. This percentage is a high percentage comparing with previous studies. Besides, the DEM-DSE technique detects 100% of equivalent mutants for 9 of the 14 subject programs.https://ieeexplore.ieee.org/document/8894112/Higher-order mutation testingdynamic symbolic executionequivalent mutants |
spellingShingle | Ahmed S. Ghiduk Moheb R. Girgis Marwa H. Shehata Employing Dynamic Symbolic Execution for Equivalent Mutant Detection IEEE Access Higher-order mutation testing dynamic symbolic execution equivalent mutants |
title | Employing Dynamic Symbolic Execution for Equivalent Mutant Detection |
title_full | Employing Dynamic Symbolic Execution for Equivalent Mutant Detection |
title_fullStr | Employing Dynamic Symbolic Execution for Equivalent Mutant Detection |
title_full_unstemmed | Employing Dynamic Symbolic Execution for Equivalent Mutant Detection |
title_short | Employing Dynamic Symbolic Execution for Equivalent Mutant Detection |
title_sort | employing dynamic symbolic execution for equivalent mutant detection |
topic | Higher-order mutation testing dynamic symbolic execution equivalent mutants |
url | https://ieeexplore.ieee.org/document/8894112/ |
work_keys_str_mv | AT ahmedsghiduk employingdynamicsymbolicexecutionforequivalentmutantdetection AT mohebrgirgis employingdynamicsymbolicexecutionforequivalentmutantdetection AT marwahshehata employingdynamicsymbolicexecutionforequivalentmutantdetection |