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

NextPrevUpTopContentsIndex

without-code-coverage

Macro
Summary

Prevents generation of code coverage for a body of code.

Package

hcl

Signature

without-code-coverage &body body => result

Arguments

body

Lisp forms.

Values

result

The result of evaluating body.

Description

The macro without-code-coverage prevents generation of code coverage for the forms of body.

body is evaluated as an implicit progn, except that inside body the compiler does not generate code coverage counters, unless force was supplied non-nil to generate-code-coverage or with-code-coverage-generation.

without-code-coverage is useful for error forms that you do not want to be counted.

Notes

There will be a counter for the (without-code-coverage ...) form itself. If you do not want this counter, use error-situation-forms instead.

See also

error-situation-forms
generate-code-coverage
with-code-coverage-generation


LispWorks User Guide and Reference Manual - 20 Sep 2017

NextPrevUpTopContentsIndex