Mutation Analysis Approach to Develop Reliable Object-Oriented Software
Author(s) -
Monalisa Sarma
Publication year - 2014
Publication title -
advances in software engineering
Language(s) - English
Resource type - Journals
eISSN - 1687-8663
pISSN - 1687-8655
DOI - 10.1155/2014/197983
Subject(s) - computer science , test suite , java , programming language , mutation testing , mutation , exception handling , software engineering , set (abstract data type) , trace (psycholinguistics) , software , static analysis , process (computing) , test case , machine learning , biochemistry , chemistry , linguistics , regression analysis , philosophy , gene
In general, modern programs are large and complex and it is essential that they should be highly reliable in applications. In order to develop highly reliable software, Java programming language developer provides a rich set of exceptions and exception handling mechanisms. Exception handling mechanisms are intended to help developers build robust programs. Given a program with exception handling constructs, for an effective testing, we are to detect whether all possible exceptions are raised and caught or not. However, complex exception handling constructs make it tedious to trace which exceptions are handled and where and which exceptions are passed on. In this paper, we address this problem and propose a mutation analysis approach to develop reliable object-oriented programs. We have applied a number of mutation operators to create a large set of mutant programs with different type of faults. We then generate test cases and test data to uncover exception related faults. The test suite so obtained is applied to the mutant programs measuring the mutation score and hence verifying whether mutant programs are effective or not. We have tested our approach with a number of case studies to substantiate the efficacy of the proposed mutation analysis technique
Accelerating Research
Robert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom
Address
John Eccles HouseRobert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom