Efficient JavaScript Mutation Testing
Shabnam Mirshokraie,Ali Mesbah,Karthik Pattabiraman +2 more
- 18 Mar 2013
- pp 74-83
86
TL;DR: This paper proposes a technique that leverages static and dynamic program analysis to guide the mutation generation process a-priori towards parts of the code that are error-prone or likely to influence the program's output.
read more
Abstract: Mutation testing is an effective test adequacy assessment technique. However, it suffers from two main issues. First, there is a high computational cost in executing the test suite against a potentially large pool of generated mutants. Second, there is much effort involved in filtering out equivalent mutants, which are syntactically different but semantically identical to the original program. Prior work has mainly focused on detecting equivalent mutants after the mutation generation phase, which is computationally expensive and has limited efficiency. In this paper, we propose a technique that leverages static and dynamic program analysis to guide the mutation generation process a-priori towards parts of the code that are error-prone or 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. We empirically evaluate MUTANDIS on a number of web applications to assess the efficacy of the approach.
read more
Chat with Paper
AI Agents for this Paper
Find similar papers on Google Scholar, PubMed and Arxiv
Write a critical review of this paper
Analyze citations of this paper to find unaddressed research gaps
Citations
A Preliminary Empirical Exploration of Quality Measurement for Javascript Solutions.
David Kostanjevec,Maja Pusnik,Marjan Hericko,Bostjan Sumak,Gordana Rakic,Zoran Budimac +5 more
- 01 Jan 2017
TL;DR: The preliminary research presented in this paper was conducted during a student course of Empirical research methods at the University of Maribor and therefore is limited in number of included papers, depth of research, and analysis of its contents, which restricts us to preliminary conclusion only.
State of art in the field of Search-based Mutation Testing
Nishtha Jatana,Shweta Rani,Bharti Suri +2 more
- 01 Sep 2015
TL;DR: The opportunities and challenges faced in applying Search-based techniques to mutation testing are presented and the latest research, available tools and updates to SBMT are listed.
3
•Posted Content
Model-based Automated Testing of JavaScript Web Applications via Longer Test Sequences
TL;DR: The empirical finding supports that longer test sequences can achieve higher code coverage in JavsScript testing, and proposes a model-based automated approach to achieve high code Coverage in a reasonable amount of time via testing with longer event sequences.
•Proceedings Article
Mutation analysis for Java script web application testing
Kazuki Nishiura,Yuta Maezawa,Hironori Washizaki,Shinichi Honiden +3 more
- 01 Jan 2013
TL;DR: This paper proposes a mutation analysis approach for estimating the faultfinding capability of test cases and assumes that developers can find overlooked fault instances and improve the test cases with the estimated capability.
3
Enabling Mutant Generation for Open- and Closed-Source Android Apps
TL;DR: In this paper , a taxonomy of 262 types of Android faults grouped in 14 categories by manually analyzing 2,023 software artifacts from different sources is presented. And a set of 38 mutation operators are implemented in two tools, the first enabling mutant generation at the source code level, and the second designed to perform mutations at APK level.
2
References
The anatomy of a large-scale hypertextual Web search engine
Sergey Brin,Lawrence Page +1 more
- 01 Apr 1998
TL;DR: This paper provides an in-depth description of Google, a prototype of a large-scale search engine which makes heavy use of the structure present in hypertext and looks at the problem of how to effectively deal with uncontrolled hypertext collections where anyone can publish anything they want.
•Journal Article
The Anatomy of a Large-Scale Hypertextual Web Search Engine.
Sergey Brin,Lawrence Page +1 more
TL;DR: Google as discussed by the authors is a prototype of a large-scale search engine which makes heavy use of the structure present in hypertext and is designed to crawl and index the Web efficiently and produce much more satisfying search results than existing systems.
13.3K
A Complexity Measure
TL;DR: Several properties of the graph-theoretic complexity are proved which show, for example, that complexity is independent of physical size and complexity depends only on the decision structure of a program.
6K
•Book
A complexity measure
Thomas J. McCabe
- 04 Oct 1993
TL;DR: In this paper, a graph-theoretic complexity measure for managing and controlling program complexity is presented. But the complexity is independent of physical size, and complexity depends only on the decision structure of a program.
5.1K
A validation of object-oriented design metrics as quality indicators
TL;DR: Several of Chidamber and Kemerer's OO metrics appear to be useful to predict class fault-proneness during the early phases of the life-cycle and are better predictors than "traditional" code metrics, which can only be collected at a later phase of the software development processes.