#10 Coverage analysis

open
nobody
None
5
2012-10-25
2008-04-29
Anonymous
No

Hello,

I'm looking for a possibility to do a C1 coverage analysis after running CUnit. Anybody got an idea or knows a tool?
Thanks in advance.

Greets,
Ralph

Discussion

  • cjulien
    cjulien
    2008-05-26

    Logged In: YES
    user_id=1597036
    Originator: NO

    With a compilation with GCC (under Linux or Cygwin for Windows) when enabling options like -fprofile-arcs -ftest-coverage, you will be able to obtain coverage's information about your code. Then, use of the lcov tools (http://ltp.sourceforge.net/coverage/lcov.php) and you'll obtain some nice reports :)

     


Anonymous


Cancel   Add attachments