Title :
Type Sensitive Application of Mutation Operators for Dynamically Typed Programs
Author :
Bottaci, Leonardo
Author_Institution :
Dept. of Comput. Sci., Univ. of Hull, Kingston upon Hull, UK
Abstract :
It is commonly accepted that strong typing is useful for revealing programmer errors and so the use of dynamically typed languages increases the importance of software testing. Mutation analysis is a demanding software testing criterion. Although mutation analysis has been applied to procedural languages, and object oriented languages, little work has been done on the mutation analysis of programs written in dynamically typed languages. Mutation analysis depends on the substitution and modification of program elements. In a strongly typed language, the declared type of the mutated element, a variable or operator, can be used to avoid generating type-incorrect substitutions or modifications. In a dynamically typed language, this type information is not available and so a much greater range of mutations are potentially applicable but many of the resulting mutants are likely to be incompetent (too easily killed). This paper describes a mutation analysis method in which the definition of mutants is performed at run-time when type information is available. The type information can be used to avoid generating incompetent mutants.
Keywords :
object-oriented languages; program testing; dynamically typed programs; mutation analysis; mutation operators; object oriented languages; procedural languages; software testing importance; type sensitive application; Application software; Computer errors; Computer science; Genetic mutations; Hardware; Information analysis; Performance analysis; Programming profession; Runtime; Software testing; JavaScript; dynamically typed languages; mutation analysis; software testing;
Conference_Titel :
Software Testing, Verification, and Validation Workshops (ICSTW), 2010 Third International Conference on
Conference_Location :
Paris
Print_ISBN :
978-1-4244-6773-0
DOI :
10.1109/ICSTW.2010.56