1. Coverage

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?

new topic     » topic index » view message » categorize

2. Re: Coverage

SDPringle said...

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

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu