Filters information from a code-coverage-data object.
A code-coverage-data object or
A string, a function or a fbound symbol.
A Lisp object, normally a symbol or a string.
A code-coverage-data object.
filter-code-coverage-data creates a new code-coverage-data object with information for some of the files in the argument ccd, as determined by the filter. If ccd is
t, this is interpreted as the internal code-coverage-data object.
If filter is a string, it is interpreted as a regexp (see find-regexp-in-string) which is applied to the namestring of each file. without-stats is ignored in this case.
If filter is a function or a fbound symbol, it is applied to the truename of each file and stats object or only to the truename, depending on without-stats. If without-stats is
nil the filter is applied to the truename and a code-coverage-file-stats object for the file. If without-stats is true, the filter is applied only to the truename. The default value of without-stats is
name is the name supplied to the new code-coverage-data object. The default value of name is "Filter".
LispWorks User Guide and Reference Manual - 20 Sep 2017