|
From: Peter C. <pca...@gm...> - 2015-09-08 15:11:17
|
Yes, it's quite ok, isn't it, 80% of the files covered, including the experimental branch. One idea I had was that if people want to get involved into coding but do not know where to start, they could add some test cases for not-yet-covered code in an area they are interested in. Another use case could be that if someone suspects a bug in some function, she or he could check if the code is at all covered by the tests (and if not, it wouldn't be too surprising that something may go wrong with it). Theoretically speaking ;-) Peter On 7 September 2015 at 23:24, Luigi Ballabio <lui...@gm...> wrote: > Hi Peter, > thanks, it's very interesting. (And not as bad as I thought.) > We'll have to think how to act on the info... > > Luigi > > > On Mon, Sep 7, 2015 at 9:38 PM Peter Caspers <pca...@gm...> wrote: >> >> 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 >> Qua...@li... >> https://lists.sourceforge.net/lists/listinfo/quantlib-dev > > -- > > <http://leanpub.com/implementingquantlib/> > <http://implementingquantlib.com> > <http://twitter.com/lballabio> |