Code coverage is not efficient

Nicolas Boulay nicolas.boulay at etherale.org
Tue Mar 9 09:25:39 UTC 2010


Nice work !

You should try to bootstrap a compiler in debug mode. I beleive that
the coverage will be better.

Nicolas

2010/3/9 Mildred Ki'Lya <ml.mildred593 at gmail.com>:
> I improved the coverage tool again.
>
> This time, I generate an instruction that pass through all the lisaac
> executing passes, and generates a simple C instruciton that increments a
> number corresponding to a list in an array. When the program terminates,
> it reads this array and dump its content in a file.
>
> Now, you can see the code coverage of the compiler bootstrapping:
>
> http://mildred817.online.fr/temp/coverage-compiler/
>
> This is great.
>
> Grey code: dead code not compiled at all.
> Red code: code compiled but not executed when the compiler bootstrap
> Green code: code executed during the bootstrap.
>
> For the green code, there are numbers in boxes that represents the
> number of times the list was executed.
>
>
> 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
>
>
> _______________________________________________
> Lisaac-devel mailing list
> Lisaac-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/lisaac-devel
>
>



More information about the Lisaac-devel mailing list