Back to Search Start Over

A formal definition of loop unrolling with applications to test coverage

Authors :
Meyer, Bertrand
Publication Year :
2024

Abstract

Techniques to achieve various forms of test coverage, such as branch coverage, typically do not iterate loops; in other words, they treat a loop as a conditional, executed zero or one time. Existing work by the author and collaborators produces test suites guaranteeing full branch coverage. More recent work has shown that by "unrolling" loops the approach can find significantly more bugs. The present discussion provides the theoretical basis and precise definition for this concept of unrolling. While initially motivated by the need to improve standard test coverage practices (which execute loop bodies only once), to better testing coverage, the framework presented here is applicable to any form of reasoning about loops.

Details

Database :
arXiv
Publication Type :
Report
Accession number :
edsarx.2403.08923
Document Type :
Working Paper