Abstract

Test coverage analysis of exception handling features is a non-trivial task, since exception handling constructs introduce implicit control flow in programs. In this paper, we present a model-based technique for coverage analysis of exception handling features in object-oriented programs. Our technique is based on our previous work on coverage analysis. We first propose a program model, Augmented Call-based Object-Oriented System Dependence Graph (ACSD), and describe its construction. The ACSD represents the structural aspects of the exception handling mechanism, as well as intra-procedural and inter-procedural exceptional control and data flows. We propose several coverage measures specific to exception handling, and apply coverage-on-the-fly technique to the ACSD to determine those coverage measures. We also present the results of the experiments carried out using a prototype tool to demonstrate the efficacy of our ACSD model and coverage technique.

Full Text
Paper version not known

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.