نویسندگان | مهشید هلالی مقدم,سید مرتضی بابامیر |
---|---|
همایش | 4th International Conference on Computer and Knowledge Engineering |
تاریخ برگزاری همایش | ۲۰۱۴-۱۰-۲۹ |
محل برگزاری همایش | مشهد |
نوع ارائه | سخنرانی |
سطح همایش | بین المللی |
چکیده مقاله
Mutation testing is a means of creating more effective test cases. Mutation testing is primarily used as a program-based technique. It is based on applying mutation operators to the program and generating mutants. The goal of mutation testing is generation of a test set that distinguishes the behavior of the mutants from the original program. More formally, the testing goal is to kill the mutants by causing the mutant to produce different output from the original program on the same test data. In this testing method mutation score is the ratio of the dead mutants over the total number of non-equivalent mutants. This paper focuses on using structural complexity of the program in calculating the mutation score. The proposed approach selects some object-oriented metrics which reflect the complexity of features that mutation operators are applied to them in the program. It calculates the total mutation score of the program in terms of mutation scores of different mutation operators and the structural complexity of the program. In the proposed approach, the normalized values of the selected object-oriented metrics are used as weights of different mutation scores of the program. Finally, the total mutation score of the program is estimated in terms of weighted mutation scores of the program. If the program is a concurrent one, the mutation score of the concurrency mutation operators is also considered in calculating the total mutation score.