Code Coverage in Lisaac is here

Mildred Ki'Lya ml.mildred593 at gmail.com
Sun Mar 7 00:36:36 UTC 2010


Just look at the report generated:

http://mildred817.online.fr/temp/coverage/index.html

There is still room for improvements, I agree. in the meantime it is usable.

How to do that ?

First, copy the hello.li source file somewhere, and compile coverage
branch of the lisaac compiler. Then run:


lisaac hello.li -coverage
./hello

A file hello.cov should have been generated. To create the report, just run:

tools/licoverage --help -o coverage hello.cov

And there it is.


The big problem is that the .cov file holding coverage information grows
very big. It is 1.3MB after the compiler compilation and I stopped the
bootstrap when it attained 480MB (no space left on device). I have to
find a more efficient file format.

The problem is that if the program loop 1000 times on a block, it will
create 1000 identical lines in the cov files.

The report generated is here:
http://mildred817.online.fr/temp/li_coverage/index.html



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/650ffd7e/attachment.pgp>


More information about the Lisaac-devel mailing list