tags:

views:

364

answers:

2

I have large project to analyse. How to use gcov or lcov for it. I found plenty of document for gcov for a single C file. Not much document about lcov too. I'll be thankful for any pointers or tips or links

+1  A: 

Havn't you read the example (contained in the dist) and the docs about the gvoc, genhtml etc. There is described that you can analyze as many files as you wish (--zerocounters only for the first one) and then use the same analyze file for the others. So the result would be coverage for all files.

EDIT: Have you read the README on the web site

khmarbaise
thanks checked it ..but still looking for something kind of tutorial or HOwTO on it.
lakshmipathi
May be you can a little more details on what you exactly searching for? The HowTo is described in the README...?
khmarbaise
A: 

Check the man pages for lcov - all options are described in there.

ratkok