Have a personal or library account? Click to login
Control flow graphs and code coverage Cover

Abstract

The control flow of programs can be represented by directed graphs. In this paper we provide a uniform and detailed formal basis for control flow graphs combining known definitions and results with new aspects. Two graph reductions are defined using only syntactical information about the graphs, but no semantical information about the represented programs. We prove some properties of reduced graphs and also about the paths in reduced graphs. Based on graphs, we define statement coverage and branch coverage such that coverage notions correspond to node coverage, and edge coverage, respectively.

DOI: https://doi.org/10.2478/v10006-010-0056-9 | Journal eISSN: 2083-8492 | Journal ISSN: 1641-876X
Language: English
Page range: 739 - 749
Published on: Dec 20, 2010
Published by: University of Zielona Góra
In partnership with: Paradigm Publishing Services
Publication frequency: 4 issues per year

© 2010 Robert Gold, published by University of Zielona Góra
This work is licensed under the Creative Commons License.

Volume 20 (2010): Issue 4 (December 2010)