arrow
Return

Guided Mutation Testing for JavaScript Web Applications

delete2015-05-01
delete52
PRE
AI
S
Shabnam Mirshokraie *
Ali Mesbah cover
Ali Mesbah (Ali Mesbah)
Karthik Pattabiraman cover
Karthik Pattabiraman (Karthik Pattabiraman)
DOI:10.1109/TSE.2014.2371458delete
deleteOriginal
deleteShare
deleteSave
Abstract

Abstract

En 中文
Mutation testing is an effective test adequacy assessment technique. However, there is a high computational cost in executing the test suite against a potentially large pool of generated mutants. Moreover, there is much effort involved in filtering out equivalent mutants. Prior work has mainly focused on detecting equivalent mutants after the mutation generation phase, which is computationally expensive and has limited efficiency. We propose an algorithm to select variables and branches for mutation as well as a metric, called Function Rank, to rank functions according to their relative importance from the application's behaviour point of view. We present a technique that leverages static and dynamic analysis to guide the mutation generation process towards parts of the code that are more likely to influence the program's output. Further, we focus on the JavaScript language, and propose a set of mutation operators that are specific to web applications. We implement our approach in a tool called MUTANDIS. The results of our empirical evaluation show that (1) more than 93 percent of generated mutants are non-equivalent, and (2) more than 75 percent of the surviving non-equivalent mutants are in the top 30 percent of the ranked functions.
Keywords:
Mutation testing
JavaScript
equivalent mutants
guided mutation generation
web applications
errShare
errSave
errShare
errSave
Testing web applications
err2006-01-01
err12
PREAI
errMansour, N; Houri, M
errShare
errSave
The ratio of equivalent mutants: A key to analyzing mutation equivalence
err2021-11-01
err3
errOAAI
errMarsit, Imen; Ayad, Amani; Kim, David; Latif, Monsour; Loh, JiMeng; Omri, Mohamed Nazih; Mili, Ali
errShare
errSave
errShare
errSave
METFORD - Mutation tEsTing Framework fOR anDroid
err2025-04-01
err0
PREAI
errVincenzi, Auri M. R.; Kuroishi, Pedro H.; Bispo, Joao; da Veiga, Ana R. C.; da Mata, David R. C.; Azevedo, Francisco B.; Paiva, Ana C. R.
errShare
errSave

Journal

IEEE Transactions on Software Engineering cover
IEEE Transactions on Software Engineering
IF:
5.6
Papers:
3.0K
Citations:
1.3W

Organization

U
University of British Columbia
Scholars:
3.8K
Papers: 1.6K
Citations: 4.5W
Cited Papers

Cited Papers

Tongue thickness measured by ultrasonography is associated with tongue pressure in the Japanese elderly
err2020-08-07
err0
errOAAI
errMasahiro Nakamori; Eiji Imamura; Masako Fukuta; Keisuke Tachiyama; Teppei Kamimura; Yuki Hayashi; Hayato Matsushima; Kanami Ogawa; Masami Nishino; Akiko Hirata; Tatsuya Mizoue; Shinichi Wakabayashi
errShare
errSave
Biologically Inspired Soft Robot for Thumb Rehabilitation1
err2014-04-28
err0
PREAI
errPaxton Maeder-York; Tyler Clites; Emily Boggs; Ryan Neff; Panagiotis Polygerinos; Dónal Holland; Leia Stirling; Kevin Galloway; Catherine Wee; Conor Walsh
errShare
errSave
errShare
errSave
Controlled partial embedding of carbon nanotubes within flexible transparent layers
err2007-12-13
err0
PREAI
errElijah B Sansom; Derek Rinderknecht; Morteza Gharib
errShare
errSave
Evolutionary mutation testing
err2011-10-01
err40
PREAI
errDominguez-Jimenez, J. J.; Estero-Botaro, A.; Garcia-Dominguez, A.; Medina-Bulo, I.
errShare
errSave
researcher View more