Measure test coverage

Bug #804565 reported by Didier Barvaux
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
rohc
Fix Released
Wishlist
Didier Barvaux

Bug Description

Use GCOV to measure test coverage. See http://people.redhat.com/berrange/dbus-coverage/ for an example of tools that might be used. Once done, open new tickets for code that misses test coverage.

Revision history for this message
Didier Barvaux (didier-barvaux) wrote :

KLEE could also be a great tool to use: http://klee.llvm.org/

Revision history for this message
Didier Barvaux (didier-barvaux) wrote :

zcov seems great too: http://minormatter.com/zcov/

Changed in rohc:
milestone: 1.5.0 → 1.6.0
Revision history for this message
Didier Barvaux (didier-barvaux) wrote :

Option --enable-code-coverage added to configure. If enabled, it computes the coverage of the library's code by tests. It uses gcov to gather the data, and zcov to analyze it and create an HTML report.

See http://bazaar.launchpad.net/~didier-barvaux/rohc/main/revision/703

Changed in rohc:
status: Confirmed → Fix Committed
Revision history for this message
Didier Barvaux (didier-barvaux) wrote :

The zcov/gcov report is available online: http://buildbot.rohc-lib.org:8011/coverage-report/build.html

It is generated within buildbot, so it is updated for the new code of the main branch every day.

Changed in rohc:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.