[openssl-dev] Test coverage report + small patch

Harri Porten porten at froglogic.com
Thu Apr 30 14:50:52 UTC 2015


Hi!

In case you are interested in seeing the condition/decision source code 
coverage as achieved through the OpenSSL test suite:

  http://www.opencoverage.net/projects/openssl/index_html/sources.html

We now regularly generate the reports from the tip of the master branch. 
In the hope that it'll be useful for those touching and wanting to know 
how well it is tested.

Condition/decision coverage uncovers test combinations normally hidden in 
line or statement coverage. Hence the much lower result of 29.6%. A long 
way to go still :}

Please let us know if you notice that we should extend the build or test 
configuration to enable or run more components of the code.

Some of the dead code findings may be harmless. Still, changes like the 
attached one for b_sock.c will fix cases like
http://www.opencoverage.net/projects/openssl/index_html/source_565.html#line688 
and make the code more understandable at the same time. Maybe it's even an 
unwanted leftover?

Harri.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: b_sock.diff
Type: text/x-diff
Size: 678 bytes
Desc: 
URL: <http://mta.openssl.org/pipermail/openssl-dev/attachments/20150430/eb3171c3/attachment-0001.diff>


More information about the openssl-dev mailing list