This should give us some idea of how well our tests actually stress our code. To generate this data, do the following:
- ./buildconf
- CFLAGS="-fprofile-arcs -ftest-coverage ./configure
- make
- cd test
- make
- ./testall
- cd ..
- make gcov
Note that this will only generate test coverage data for the testall script, but all tests should be moving to the unified framework, so this is correct.
builtins.gcno 100.00% tested builtins64.gcno 100.00% tested Error generating data for ia32.gcno Error generating data for mutex.gcno Error generating data for mutex64.gcno Error generating data for ppc.gcno Error generating data for s390.gcno Error generating data for solaris.gcno apr_brigade.gcno 77.75% tested apr_buckets.gcno 20.00% tested apr_buckets_alloc.gcno 77.92% tested apr_buckets_eos.gcno 100.00% tested apr_buckets_file.gcno 53.33% tested apr_buckets_flush.gcno 75.00% tested apr_buckets_heap.gcno 93.94% tested apr_buckets_mmap.gcno 47.92% tested apr_buckets_pipe.gcno 0.00% tested apr_buckets_pool.gcno 100.00% tested apr_buckets_refcount.gcno 76.19% tested apr_buckets_simple.gcno 86.96% tested apr_buckets_socket.gcno 77.78% tested apr_buffer.gcno 82.56% tested Error generating data for apr_crypto.gcno Error generating data for apr_crypto_prng.gcno apr_md4.gcno 80.92% tested apr_md5.gcno 88.73% tested apr_passwd.gcno 80.77% tested apr_sha1.gcno 82.50% tested apr_siphash.gcno 33.33% tested crypt_blowfish.gcno 93.27% tested getuuid.gcno 8.16% tested uuid.gcno 90.48% tested apr_dbd.gcno 14.36% tested apr_dbd_sqlite3.gcno 0.00% tested apr_dbm.gcno 56.44% tested apr_dbm_sdbm.gcno 81.58% tested sdbm.gcno 77.32% tested sdbm_hash.gcno 100.00% tested sdbm_lock.gcno 76.67% tested sdbm_pair.gcno 92.71% tested dso.gcno 76.19% tested apr_base64.gcno 45.71% tested apr_encode.gcno 92.53% tested apr_escape.gcno 88.43% tested buffer.gcno 84.21% tested copy.gcno 65.79% tested dir.gcno 77.17% tested fileacc.gcno 87.30% tested filedup.gcno 47.62% tested filepath.gcno 80.20% tested filepath_util.gcno 94.59% tested filestat.gcno 63.06% tested flock.gcno 83.33% tested fullrw.gcno 71.74% tested mktemp.gcno 91.67% tested open.gcno 79.07% tested pipe.gcno 64.15% tested printf.gcno 90.00% tested readwrite.gcno 73.26% tested seek.gcno 85.94% tested tempdir.gcno 59.38% tested apr_hooks.gcno 54.82% tested apr_jose.gcno 61.49% tested apr_jose_decode.gcno 52.64% tested apr_jose_encode.gcno 76.84% tested apr_json.gcno 84.57% tested apr_json_decode.gcno 56.74% tested apr_json_encode.gcno 56.60% tested Error generating data for apr_ldap_stub.gcno Error generating data for apr_ldap_url.gcno global_mutex.gcno 0.00% tested proc_mutex.gcno 64.91% tested thread_cond.gcno 91.18% tested thread_mutex.gcno 85.45% tested thread_rwlock.gcno 64.71% tested apr_memcache.gcno 20.00% tested apr_pools.gcno 69.83% tested charset.gcno 0.00% tested env.gcno 92.31% tested errorcodes.gcno 17.86% tested getopt.gcno 35.81% tested otherchild.gcno 52.83% tested rand.gcno 78.57% tested start.gcno 77.27% tested version.gcno 100.00% tested common.gcno 80.00% tested mmap.gcno 74.00% tested inet_ntop.gcno 86.42% tested inet_pton.gcno 89.77% tested multicast.gcno 18.81% tested sendrecv.gcno 39.23% tested sockaddr.gcno 79.45% tested socket_util.gcno 90.91% tested sockets.gcno 72.82% tested sockopt.gcno 45.70% tested apr_getpass.gcno 0.00% tested epoll.gcno 84.07% tested Error generating data for kqueue.gcno poll.gcno 37.42% tested pollcb.gcno 83.91% tested pollset.gcno 70.30% tested Error generating data for port.gcno select.gcno 25.51% tested wakeup.gcno 84.38% tested Error generating data for z_asio.gcno apr_random.gcno 91.91% tested sha2.gcno 72.80% tested sha2_glue.gcno 100.00% tested apr_redis.gcno 0.00% tested shm.gcno 74.83% tested apr_cpystrn.gcno 31.25% tested apr_cstr.gcno 4.31% tested apr_fnmatch.gcno 91.98% tested apr_snprintf.gcno 53.21% tested apr_strings.gcno 67.36% tested apr_strnatcmp.gcno 61.40% tested apr_strtok.gcno 100.00% tested apr_strmatch.gcno 98.15% tested waitio.gcno 92.31% tested apr_hash.gcno 80.09% tested apr_skiplist.gcno 71.19% tested apr_tables.gcno 67.41% tested proc.gcno 49.23% tested procsup.gcno 0.00% tested signals.gcno 53.85% tested thread.gcno 40.88% tested threadpriv.gcno 0.00% tested time.gcno 63.44% tested timestr.gcno 100.00% tested apr_uri.gcno 94.06% tested groupinfo.gcno 75.00% tested userinfo.gcno 66.67% tested apr_date.gcno 60.00% tested apr_error.gcno 0.00% tested apr_queue.gcno 76.69% tested apr_reslist.gcno 83.25% tested apr_rmm.gcno 82.90% tested apr_thread_pool.gcno 63.52% tested apu_dso.gcno 61.25% tested xlate.gcno 65.14% tested apr_xml.gcno 69.38% tested apr_xml_expat.gcno 91.67% tested Error generating data for apr_xml_libxml2.gcno Error generating data for apr_xml_xmllite.gcno Last generated Sat Sep 13 21:56:02 CEST 2025