cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: code coverage of Curl-7.18.2

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Wed, 30 Jul 2008 11:07:05 -0700

On Wed, Jul 30, 2008 at 05:37:21PM +0530, Abhishek Srivastava wrote:
> I am using Curl-7.18.2 lib and M doning code coverage of only HTTP i
> striped out SSL,FTP and othere protocol
> kindly let me know how to achieve 95% of code coverage.. becouse it does'nt
> seems to be

Are you talking about code coverage in the test suite? First read
tests/README which talks about that. Make sure to run the torture tests as
well as the regular tests, and compile with --enable-debug to enable some
extra tests. Also, grab the new tests out of CVS if you want to maximize
your figures--25 new tests have been added since 7.18.2.

I discussed on this mailing list back in March 2007 some of the code
coverage figures I found on 7.16.2. That was with an almost full set of
protocols enabled, several of which have no tests, so you should do much
better on an HTTP-only libcurl. I'm interested in seeing your results when
you finish.

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
Received on 2008-07-30