All Manuals > LispWorks® User Guide and Reference Manual > 37 The HCL Package

with-code-coverage-generation Macro

Summary

Switches code coverage generation during the execution of a body of code.

Package

hcl

Signature

with-code-coverage-generation (&key on atomic-p counters force count-implicit-branch) &body body => result

Arguments
on
A boolean.
atomic-p
A boolean.
counters
A boolean.
force
A boolean.
count-implicit-branch
A boolean.
body
Lisp forms.
Values
result
The result of executing body.
Description

The macro with-code-coverage-generation switches code coverage generation on or off inside the dynamic scope of body.

on, atomic-p, counters, force and count-implicit-branch are interpreted as by generate-code-coverage.

See also

generate-code-coverage


LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:30:35