Skip to main content
Log in

Mutation Analysis and Constraint-Based Criteria: Results from an Empirical Evaluation in the Context of Software Testing

  • Published:
Journal of Electronic Testing Aims and scope Submit manuscript

Abstract

Several software testing criteria have been proposed during last years with the goal of aiming the test set generation and revealing many faults as possible. They are considered complementary because can reveal different kind of faults and are based on different principles. For example, structural criteria use the internal structure of the program for deriving test cases; Mutation Analysis is a fault-based criterion; and Constraint Based Criteria use constraints to be satisfied during the program execution. Because of this, some questions can be posed, such as: “What criterion should be used or be first applied?”. Many research works compare criteria with the goal of answering these questions. However, some criteria as Mutation Analysis and Constraint Based Criteria are theoretically incomparable and only empirical studies can point out the relation between them. This work presents results from an empirical evaluation of Mutation Analysis and All-Constrained-Potential-Uses criterion considering the factors: cost (number of test cases), efficacy (number of revealed faults) and strength (difficulty of satisfying a criterion, given that another one has been satisfied). The obtained results show an empirical relation, which is used to propose a strategy for application of different testing criteria.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

References

  1. M.L. Chaim, "POKE-TOOL-A Tool for Supporting Data Flow Based Testing," Master Thesis, DCA/FEEC/Unicamp, Campinas-SP, Brazil, April 1991 (in Portuguese).

    Google Scholar 

  2. R.A. De Millo, R.J. Lipton, and F.G. Sayward, "Hints on Test Data Selection: Help for the Practicing Programmer," IEEE Computer, vol. C-11, pp. 34–41, 1978.

    Google Scholar 

  3. M.E. Delamaro and J.C. Maldonado, "A Tool for the Assesment fo Test Adequacy forCPrograms," in Proceedings of the Conference on Performability in Computing Systems, East Brunswick, New Jersey, USA, July 1996, pp. 79–95.

    Google Scholar 

  4. J.C. Maldonado, M.L. Chaim, and M. Jino, "Briding the Gap in the Presence of Infeasible Paths: Potential UsesTesting Criteria," in XII International Conference of the Chilean Science Computer Society, Chile: Santiago, IEEE Press, Oct. 1992, pp. 323–340.

    Google Scholar 

  5. A.P Mathur and W.E.Wong, "An Empirical Comparison of Data Flow and Mutation Based Test Adequacy Criteria," The Journal of Software Testing, Verification and Reliability, vol. 4, no. 1, pp. 9–31, 1994.

    Google Scholar 

  6. G.J. Myers, The Art of Software Testing, Wiley, 1979.

  7. S. Rapps and E.J.Weyuker, "Selecting Software Test Data Using Data Flow Information," IEEE Trans. on Software Engineering, vol. SE-11, no. 4, pp. 367–375, 1985.

    Google Scholar 

  8. K.C. Tai, "Predicate-Based Test Generation for Computer Programs," in Proceedings of International Conference on Software Engineering, IEEE Press, May 1993, pp. 267–276.

  9. S.R. Vergilio, J.C. Maldonado, and M. Jino, "Constraint Based Criteria: An Approach for Test Case Selection in the Structural Testing," Journal of Eletronic Testing, vol. 17, no. 2, pp. 175–183, 2001.

    Google Scholar 

  10. W.E. Wong, A.P. Mathur, and J.C. Maldonado, "Mutation Versus All-Uses: An Empirical Evaluation of Cost, Strength and Effectiveness," in Software Quality and Productivity-Theory, Practice, Education and Training, Hong Kong, Dec. 1994.

Download references

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

About this article

Cite this article

Soares, I.W., Vergilio, S.R. Mutation Analysis and Constraint-Based Criteria: Results from an Empirical Evaluation in the Context of Software Testing. Journal of Electronic Testing 20, 439–445 (2004). https://doi.org/10.1023/B:JETT.0000039611.63828.bf

Download citation

  • Issue Date:

  • DOI: https://doi.org/10.1023/B:JETT.0000039611.63828.bf

Navigation