1. Coverage
- Posted by SDPringle Mar 02, 2013
- 1077 views
I want to search for dead code in Euphoria itself and so, I started looking for a section on Coverage in Included Tools. It is not there. Where in the docs is the section on Coverage?
2. Re: Coverage
- Posted by mattlewis (admin) Mar 02, 2013
- 1073 views
I want to search for dead code in Euphoria itself and so, I started looking for a section on Coverage in Included Tools. It is not there. Where in the docs is the section on Coverage?
It's under testing. Probably should have its own section. Note that this won't find dead code in euphoria.
I haven't done it in a while, but you can set COVERAGE=1 when making the interpreter to get the ability to generate coverage statistics. It will generate files that can be analyzed with gcov. I don't recall all of the details, but "man gcov" should get you started.
Matt