sb-cover
========

The sb-cover module provides a code coverage tool for SBCL. The tool has support for expression coverage, and for some branch coverage. Coverage reports are only generated for code compiled using compile-file with the value of the sb-cover:store-coverage-data optimization quality set to 3.

As of SBCL 1.0.6 sb-cover is still experimental, and the interfaces documented here might change in later versions.

Example Usage
-------------

     ;;; Load SB-COVER
     (require :sb-cover)

     ;;; Turn on generation of code coverage instrumentation in the compiler
     (declaim (optimize sb-cover:store-coverage-data))

     ;;; Load some code, ensuring that it's recompiled with the new optimization
     ;;; policy.
     (asdf:oos 'asdf:load-op :cl-ppcre-test :force t)

     ;;; Run the test suite.
     (cl-ppcre-test:test)

     ;;; Produce a coverage report
     (sb-cover:report "/tmp/report/")

     ;;; Turn off instrumentation
     (declaim (optimize (sb-cover:store-coverage-data 0)))

Functions
---------

     [file fun-sb-cover-report.texinfo not included]

     [file fun-sb-cover-reset-coverage.texinfo not included]

     [file fun-sb-cover-clear-coverage.texinfo not included]

     [file fun-sb-cover-save-coverage.texinfo not included]

     [file fun-sb-cover-save-coverage-in-file.texinfo not included]

     [file fun-sb-cover-restore-coverage.texinfo not included]

     [file fun-sb-cover-restore-coverage-from-file.texinfo not included]