Login  Register

test-suite coverage

Posted by Peter Caspers-4 on Sep 07, 2015; 7:05pm
URL: http://quantlib.414.s1.nabble.com/test-suite-coverage-tp16885.html

Hi Luigi, all,

I ran a code coverage analysis highlighting parts of the library's
code which are not executed by the test-suite (on the current master).
You can download the result with (e.g.)

wget -O quantlib_code_coverage.zip
https://github.com/pcaspers/doc/blob/master/quantlib_code_coverage.zip?raw=true

or by entering the url directly into a browser. Then unpack the
archive and open index.html. There are help pages contained explaining
the meaning of the numbers and colors used to highlight non-covered
source code lines. While I do not fully understand all of the dark
yellow marks yet, the yellow and red ones look plausible and useful.
As well as the list of totally uncovered files of course.

I thought this could be interesting to share. I created the output
using the code coverage tool of the Intel C++ compiler 16.0 (which is
free to use in the context of open source projects).

Thank you
Peter

------------------------------------------------------------------------------
_______________________________________________
QuantLib-dev mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/quantlib-dev