Communication publiée dans un périodique (Colloques, congrès, conférences scientifiques et actes)
Are mutants really natural? A study on how “naturalness” helps mutant selection
JIMENEZ, Matthieu; TITCHEU CHEKAM, Thierry; CORDY, Maxime et al.
2018In Proceedings of 12th International Symposium on 
 Empirical Software Engineering and Measurement (ESEM'18)
Peer reviewed
 

Documents


Texte intégral
esem18.pdf
Preprint Auteur (6.29 MB)
Télécharger

Tous les documents dans ORBilu sont protégés par une licence d'utilisation.

Envoyer vers



Détails



Mots-clés :
Mutation testing; Fault Revelation; Language Models
Résumé :
[en] Background: Code is repetitive and predictable in a way that is similar to the natural language. This means that code is ``natural'' and this ``naturalness'' can be captured by natural language modelling techniques. Such models promise to capture the program semantics and identify source code parts that `smell', i.e., they are strange, badly written and are generally error-prone (likely to be defective). Aims: We investigate the use of natural language modelling techniques in mutation testing (a testing technique that uses artificial faults). We thus, seek to identify how well artificial faults simulate real ones and ultimately understand how natural the artificial faults can be. %We investigate this question in a fault revelation perspective. Our intuition is that natural mutants, i.e., mutants that are predictable (follow the implicit coding norms of developers), are semantically useful and generally valuable (to testers). We also expect that mutants located on unnatural code locations (which are generally linked with error-proneness) to be of higher value than those located on natural code locations. Method: Based on this idea, we propose mutant selection strategies that rank mutants according to a) their naturalness (naturalness of the mutated code), b) the naturalness of their locations (naturalness of the original program statements) and c) their impact on the naturalness of the code that they apply to (naturalness differences between original and mutated statements). We empirically evaluate these issues on a benchmark set of 5 open-source projects, involving more than 100k mutants and 230 real faults. Based on the fault set we estimate the utility (i.e. capability to reveal faults) of mutants selected on the basis of their naturalness, and compare it against the utility of randomly selected mutants. Results: Our analysis shows that there is no link between naturalness and the fault revelation utility of mutants. We also demonstrate that the naturalness-based mutant selection performs similar (slightly worse) to the random mutant selection. Conclusions: Our findings are negative but we consider them interesting as they confute a strong intuition, i.e., fault revelation is independent of the mutants' naturalness.
Disciplines :
Sciences informatiques
Auteur, co-auteur :
JIMENEZ, Matthieu  ;  University of Luxembourg > Interdisciplinary Centre for Security, Reliability and Trust (SNT)
TITCHEU CHEKAM, Thierry ;  University of Luxembourg > Interdisciplinary Centre for Security, Reliability and Trust (SNT)
CORDY, Maxime  ;  University of Luxembourg > Interdisciplinary Centre for Security, Reliability and Trust (SNT)
PAPADAKIS, Mike ;  University of Luxembourg > Interdisciplinary Centre for Security, Reliability and Trust (SNT) > Computer Science and Communications Research Unit (CSC)
KINTIS, Marinos ;  University of Luxembourg > Interdisciplinary Centre for Security, Reliability and Trust (SNT)
LE TRAON, Yves ;  University of Luxembourg > Faculty of Science, Technology and Communication (FSTC) > Computer Science and Communications Research Unit (CSC)
Harman, Mark;  University College London - UCL
Co-auteurs externes :
yes
Langue du document :
Anglais
Titre :
Are mutants really natural? A study on how “naturalness” helps mutant selection
Date de publication/diffusion :
11 octobre 2018
Nom de la manifestation :
12th International Symposium on 
 Empirical Software Engineering and Measurement (ESEM'18)
Lieu de la manifestation :
Oulu, Finlande
Date de la manifestation :
from 11-10-18 to 13-10-18
Manifestation à portée :
International
Titre du périodique :
Proceedings of 12th International Symposium on 
 Empirical Software Engineering and Measurement (ESEM'18)
Peer reviewed :
Peer reviewed
Focus Area :
Security, Reliability and Trust
Disponible sur ORBilu :
depuis le 06 octobre 2018

Statistiques


Nombre de vues
246 (dont 25 Unilu)
Nombre de téléchargements
508 (dont 24 Unilu)

citations Scopus®
 
16
citations Scopus®
sans auto-citations
14
OpenCitations
 
6
citations OpenAlex
 
16
citations WoS
 
17

Bibliographie


Publications similaires



Contacter ORBilu