On Fri, Nov 21, 2008 at 09:48:52AM +0100, Simon Josefsson wrote:
> It would be easy to create code coverage reports such as this one for
> libssh2:
> 
> http://www.gnu.org/software/libidn/coverage/
> 
> However, right now the self-tests are pretty minimal, so it may look
> rather embarrassing.

Attached is what I get after running through curl's test suite (the links
don't work, of course).  A bit less embarrassing, but the curl test
suite isn't designed to test libssh2 so it's not ideal.

>>> Dan
-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
Title: LCOV - tracefile - libssh2/src
LTP GCOV extension - code coverage report
Current view: directory - libssh2/src
Test: tracefile
Date: 2008-11-21 Instrumented lines: 6019
Code covered: 41.3 % Executed lines: 2485

Filename Coverage
channel.c
32.7%32.7%
32.7 % 303 / 928 lines
comp.c
1.9%1.9%
1.9 % 2 / 107 lines
crypt.c
88.0%88.0%
88.0 % 22 / 25 lines
hostkey.c
47.7%47.7%
47.7 % 63 / 132 lines
kex.c
56.0%56.0%
56.0 % 413 / 737 lines
mac.c
42.9%42.9%
42.9 % 21 / 49 lines
misc.c
88.7%88.7%
88.7 % 47 / 53 lines
openssl.c
46.7%46.7%
46.7 % 50 / 107 lines
packet.c
25.5%25.5%
25.5 % 125 / 491 lines
publickey.c
0.0%
0.0 % 0 / 505 lines
scp.c
65.0%65.0%
65.0 % 215 / 331 lines
session.c
42.1%42.1%
42.1 % 213 / 506 lines
sftp.c
61.0%61.0%
61.0 % 692 / 1135 lines
transport.c
63.5%63.5%
63.5 % 141 / 222 lines
userauth.c
25.8%25.8%
25.8 % 178 / 691 lines

Generated by: LTP GCOV extension version 1.5

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
libssh2-devel mailing list
libssh2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libssh2-devel

Reply via email to