Code Coverage in Lisaac is here

Mildred Ki'Lya ml.mildred593 at gmail.com
Sun Mar 7 15:14:54 UTC 2010


On 03/07/2010 02:15 PM, Nicolas Boulay wrote:
> Can you create a output format like gcov ? It just copy the source
> code with comment, and add a counter for each line of code.
>   
Probably, but I am more precise than just the line number. I get the
column number as well.
if I did not included the execution count it's because i don't really
know how to include it in the HTML report.

I choose a format similar to the lcov format. lcov is front end to gcov.

Anyway, I'll have to improve the format generated by the
compiler/instrumented code in order to make it possible to see the
compiler coverage without overflowing the hard disk. I already have
plenty of ideas for that.

As I said, I don't need to save the block information including full
path to source code each time a block is executed, I just have to
increment a count for the block and when the executable exit, dump it to
the .cov file. The only problem I have is how to hook to the terminaison
of the program. i can't put it at the end of main() as there are many
calls to exit all over the place. i think I'll just replace exit with a
macro.

And, processing 480MB of coverage data isn't a problem for the perl
script, that is great news.


Mildred

-- 
Mildred Ki'Lya
╭───────── mildred593@online.fr ──────────
│ Jabber, GoogleTalk: <mildred at jabber.fr>
│ Website: <http://ki.lya.online.fr>           GPG ID: 9A7D 2E2B
│ Fingerprint: 197C A7E6 645B 4299 6D37 684B 6F9D A8D6 9A7D 2E2B


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/lisaac-devel/attachments/20100307/94016da3/attachment.pgp>


More information about the Lisaac-devel mailing list