Bundled Utilities
- Posted by mattlewis (admin) Oct 28, 2010
- 1280 views
In addition to the changes to the language and the new standard library, Euphoria 4.0 comes with some new tools. I'd like to highlight a couple of them here.
EuTest
Euphoria now has a tool to help run unit tests. Part of this process is determining how much of your code your tests actually use. There is a suite of tests for testing euphoria and the standard library. I've used the coverage feature to display the test coverage of the standard library. This was run under Linux...results on other platforms may differ slightly.
I've posted the coverage report.
EuDis
There is also a low level debugging tool called eudis. This analyzes euphoria code, and outputs the symbol table and IL code for programmers to look at. It's probably more detail than most programming tasks require, but can be useful in figuring out a bug, or understanding the performance of different bits of code.
In addition to this, it can provide a Doxygen-like documentation of your code. It can generate call and include dependency graphs (requires GraphViz).
I've also posted this output for the interpreter front end (warning, some large graphics).
Matt