All Manuals > LispWorks® User Guide and Reference Manual > 10 Code Coverage

10.3 Preventing code generation for some forms

You can use the macros error-situation-forms and without-code-coverage to prevent generation of code coverage inside their body. For example, explicit calls to cl:error that are not expected to happen can be marked not to be counted. The system uses these in macros that call cl:error such as cl:etypecase and cl:assert.


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