The Apache Portable Runtime Project

ApacheCon

Get Involved

  • CVS
  • Mailing Lists
  • Snapshots
  • Build on Win32
  • Build on Unix
  • Download!

  • from a mirror
  • Docs

  • APR
  • APR-util
  • APR-iconv
  • Guidelines

  • Project Guidelines
  • Contributing
  • Version Numbers
  • Miscellaneous

  • License
  • Projects using APR
  • APR Test Coverage

    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.

    apr_atomic
    84.62% tested
    apr_cpystrn
    26.92% tested
    apr_fnmatch
    38.05% tested
    apr_getpass
    0.00% tested
    apr_hash
    83.12% tested
    apr_pools
    65.27% tested
    apr_random
    92.50% tested
    apr_snprintf
    36.51% tested
    apr_strings
    36.59% tested
    apr_strnatcmp
    63.49% tested
    apr_strtok
    100.00% tested
    apr_tables
    53.47% tested
    charset
    0.00% tested
    common
    80.00% tested
    copy
    68.18% tested
    dir
    78.05% tested
    dso
    72.09% tested
    env
    92.31% tested
    Error generating data for errorcodes
    fileacc
    94.12% tested
    filedup
    53.06% tested
    filepath
    78.38% tested
    filepath_util
    95.45% tested
    filestat
    57.29% tested
    flock
    53.33% tested
    fullrw
    46.15% tested
    getopt
    35.62% tested
    global_mutex
    58.82% tested
    groupinfo
    87.50% tested
    inet_ntop
    0.00% tested
    inet_pton
    91.67% tested
    mktemp
    90.00% tested
    mmap
    70.45% tested
    open
    77.39% tested
    otherchild
    55.00% tested
    pipe
    53.66% tested
    poll
    65.42% tested
    proc
    55.47% tested
    proc_mutex
    37.50% tested
    procsup
    0.00% tested
    rand
    70.00% tested
    readwrite
    67.55% tested
    seek
    18.60% tested
    sendrecv
    26.82% tested
    sha2
    31.56% tested
    sha2_glue
    100.00% tested
    shm
    78.68% tested
    signals
    25.53% tested
    sockaddr
    52.67% tested
    sockets
    66.67% tested
    sockopt
    42.11% tested
    start
    73.91% tested
    tempdir
    64.86% tested
    thread
    38.71% tested
    thread_cond
    73.17% tested
    thread_mutex
    43.55% tested
    thread_rwlock
    61.90% tested
    threadpriv
    0.00% tested
    time
    62.50% tested
    timestr
    100.00% tested
    userinfo
    63.89% tested
    version
    100.00% tested
    waitio
    92.86% tested

    Last generated Thu Mar 18 21:19:27 EST 2004


    Copyright © 1999-2004, The Apache Software Foundation