Pregunta

Tengo gran proyecto para analizar. Cómo utilizar gcov o lcov por ello. He encontrado un montón de documentos para gcov para un solo archivo C. No mucho documento sobre lcov también. Voy a estar agradecido por cualquier punteros o consejos o enlaces

¿Fue útil?

Solución

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

Otros consejos

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

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top