Formatting the code

There is a cmake "format" task available in every build system. It requires having Astyle on your path.

Formatting the license

There is a maven POM with a plugin to do this. From the root directory:

> mvn -f formatHeaders.xml license:format

Getting code coverage

You can build the libraries and exes with gcov support

> make

Then run the test suites to output coverage information.

> ./testopendnp3
> ./testopenpal

Then generate an info file with lcov

> lcov -c -d ./ -b ./ -o

and then process this into html

> genhtml -o test_html