jonreid / XcodeCoverage

Code coverage for Xcode projects (Objective-C only)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Functions coverage no longer measured

bryanenders opened this issue · comments

While source/line coverage is still measured, functions coverage is not. The resultant report shows 0/0 functions coverage for every source file.

I agree. I do not see any functions being covered. Is it supposed to be that way or do we have some workaround?

Not sure why this has changed, but if you explicitly instruct lcov to derive the data using the --derive-func-data argument, the original behavior is restored. I just added the argument to the gather_coverage() function in getcov.

Excellent, thank you @jstevenco!