x-lang

← Index

x/tool/cov

Library coverage analysis for x-bin-profile instrumented code.

cov-covered?

Test whether an object was marked as evaluated by x-bin-profile.

Returns: BOOL — True if object was evaluated (FLAG_2 set)

cov-count-tree

Count covered and total AST nodes in a tree.

Returns: LIST — (covered total) pair

cov-check-fn

Check coverage for a single function.

Returns: LIST — (name covered total) or nil

cov-check-class

Check coverage of every method a class defines itself.

Returns: LIST — List of (name covered total) rows (empty in TSV mode)

cov-walk

Walk an environment alist checking coverage on each procedure and class.

cov-skip-to-library

Skip past test definitions to the library boundary marker.

Returns: LIST — Alist from library boundary marker onward