Edit me

Coverage

You can create Objective-C coverage information for any MulleObjC program.

Coverage files will be are generated when you run the program with with the environment variables MULLE_OBJC_PEDANTIC_EXIT and MULLE_OBJC_COVERAGE set to YES:

MULLE_OBJC_PEDANTIC_EXIT=YES MULLE_OBJC_COVERAGE=YES myexe

This will produce two coverage files class-coverage.csv and method-coverage.csv.

Extending coverage files

A second “coverage” run will append to previously existing coverage files. But you can also concatenate coverage files from various source with cat.

cat coverage*.txt | sort -u > class-coverage.csv

Next

Tools.

Tags: runtime