Control flow graphs and code coverage
Robert Gold
International Journal of Applied Mathematics and Computer Science, Tome 20 (2010), p. 739-749 / Harvested from The Polish Digital Mathematics Library

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.

Publié le : 2010-01-01
EUDML-ID : urn:eudml:doc:208022
@article{bwmeta1.element.bwnjournal-article-amcv20i4p739bwm,
     author = {Robert Gold},
     title = {Control flow graphs and code coverage},
     journal = {International Journal of Applied Mathematics and Computer Science},
     volume = {20},
     year = {2010},
     pages = {739-749},
     zbl = {1221.05187},
     language = {en},
     url = {http://dml.mathdoc.fr/item/bwmeta1.element.bwnjournal-article-amcv20i4p739bwm}
}
Robert Gold. Control flow graphs and code coverage. International Journal of Applied Mathematics and Computer Science, Tome 20 (2010) pp. 739-749. http://gdmltest.u-ga.fr/item/bwmeta1.element.bwnjournal-article-amcv20i4p739bwm/

[000] Jalote, P. (2005). An Integrated Approach to Software Engineering, Springer, New York, NY. | Zbl 0784.68002

[001] Kosaraju, S. (1973). Analysis of structured programs, Proceedings of the 5th Annual ACM Symposium on Theory of Computing, Austin, TX, USA, pp. 240-252. | Zbl 0305.68011

[002] McCabe, T. (1976). A complexity measure, IEEE Transactions on Software Engineering SE-2(4): 308-320. | Zbl 0352.68066

[003] Paige, M. (1977). On partitioning program graphs, IEEE Transactions on Software Engineering SE-3(6): 386-393. | Zbl 0361.68025

[004] Rapps, S. and Weyuker, E. (1982). Data flow analysis techniques for test data selection, Proceedings of the 6th International Conference on Software Engineering, Tokyo, Japan, pp. 272-278.

[005] Sommerville, I. (2004). Software Engineering, 7th Edn., Pearson Education Limited, Boston, MA. | Zbl 1151.68300

[006] Tan, L. (2006). The Worst Case Execution Time Tool Challenge 2006: The External Test, Technical report, http://www.absint.com/ait/wcet tool challenge 2006 final report.pdf.

[007] White, L. (1981). Basic mathematical definitions and results in testing, in B. Chandrasekaran and S. Radicchi (Eds.), Computer Program Testing, North-Holland, New York, NY.

[008] Zhu, H., Hall, P. and May, J. (1997). Software unit test coverage and adequacy, ACM Computing Surveys 29(4): 366-427.