logo_kerberos.gif

Test coverage

From K5Wiki
Revision as of 09:20, 2 December 2011 by Tsitkova (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The purpose of this page is to describe the state of the test coverage produced by gcov (Ubuntu 4.4.3-4ubuntu5) based on "make check" with the default configuration.

Test coverage for versions 1.8 - 1.10

Graphs

The following chart shows the test coverage for version 1.10 (1_10) vs 1.9 (1_9) vs 1.8 (1_8). The vertical axis represents the percent of the lines of code covered by the tests, The number of files invoked under the "make check" tests are plotted on the horizontal axis.

GcovComp.png

The normalized version on the test coverage graph:

GcovNormalized.png

This graph demonstrates the significant improvement in the code coverage between versions 1.8 and 1.10.

Version 1.10 r25475

The following is the test coverage for version 1.10 revision 25475.

The numbered hyperlinks to the right of the file names are the links to the processed gcov files. Every line that was processed by the test is marked with the execution counts; lines which has never been executed have "#####" marker on them; lines with no code are marked with "-".

file name  % covered total lines (with code) directory path
f_cksum.c [1] 0.0 29 /lib/crypto/builtin/des
camellia.c [2] 0.0 2 /lib/crypto/builtin/enc_provider
checksum_cbc.c [3] 0.0 4 /lib/crypto/krb
cksumtype_to_string.c [4] 0.0 7 /lib/crypto/krb
cmac.c [5] 0.0 2 /lib/crypto/krb
combine_keys.c [6] 0.0 87 /lib/crypto/krb
random_to_key.c [7] 0.0 4 /lib/crypto/krb
string_to_cksumtype.c [8] 0.0 14 /lib/crypto/krb
verify_checksum_iov.c [9] 0.0 31 /lib/crypto/krb
disp_com_err_status.c [10] 0.0 9 /lib/gssapi/generic
disp_major_status.c [11] 0.0 86 /lib/gssapi/generic
gssapi_err_generic.c [12] 0.0 3 /lib/gssapi/generic
gssapi_generic.c [13] 0.0 23 /lib/gssapi/generic
util_set.c [14] 0.0 26 /lib/gssapi/generic
accept_sec_context.c [15] 0.0 2 /lib/gssapi/krb5
canon_name.c [16] 0.0 7 /lib/gssapi/krb5
context_time.c [17] 0.0 16 /lib/gssapi/krb5
copy_ccache.c [18] 0.0 36 /lib/gssapi/krb5
duplicate_name.c [19] 0.0 18 /lib/gssapi/krb5
export_name.c [20] 0.0 38 /lib/gssapi/krb5
export_sec_context.c [21] 0.0 36 /lib/gssapi/krb5
get_tkt_flags.c [22] 0.0 5 /lib/gssapi/krb5
gssapi_err_krb5.c [23] 0.0 3 /lib/gssapi/krb5
gssapi_krb5.c [24] 0.0 9 /lib/gssapi/krb5
indicate_mechs.c [25] 0.0 2 /lib/gssapi/krb5
naming_exts.c [26] 0.0 2 /lib/gssapi/krb5
prf.c [27] 0.0 55 /lib/gssapi/krb5
process_context_token.c [28] 0.0 8 /lib/gssapi/krb5
s4u_gss_glue.c [29] 0.0 4 /lib/gssapi/krb5
ser_sctx.c [30] 0.0 374 /lib/gssapi/krb5
set_allowable_enctypes.c [31] 0.0 36 /lib/gssapi/krb5
store_cred.c [32] 0.0 77 /lib/gssapi/krb5
util_crypt.c [33] 0.0 6 /lib/gssapi/krb5
util_seed.c [34] 0.0 15 /lib/gssapi/krb5
wrap_size_limit.c [35] 0.0 40 /lib/gssapi/krb5
g_acquire_cred_imp_name.c [36] 0.0 201 /lib/gssapi/mechglue
g_authorize_localname.c [37] 0.0 78 /lib/gssapi/mechglue
g_complete_auth_token.c [38] 0.0 13 /lib/gssapi/mechglue
g_context_time.c [39] 0.0 18 /lib/gssapi/mechglue
g_decapsulate_token.c [40] 0.0 16 /lib/gssapi/mechglue
g_del_name_attr.c [41] 0.0 18 /lib/gssapi/mechglue
g_dsp_name_ext.c [42] 0.0 46 /lib/gssapi/mechglue
g_encapsulate_token.c [43] 0.0 16 /lib/gssapi/mechglue
g_exp_sec_context.c [44] 0.0 50 /lib/gssapi/mechglue
g_export_name.c [45] 0.0 14 /lib/gssapi/mechglue
g_export_name_comp.c [46] 0.0 20 /lib/gssapi/mechglue
g_get_name_attr.c [47] 0.0 26 /lib/gssapi/mechglue
g_imp_sec_context.c [48] 0.0 65 /lib/gssapi/mechglue
g_inq_cred_oid.c [49] 0.0 52 /lib/gssapi/mechglue
g_map_name_to_any.c [50] 0.0 22 /lib/gssapi/mechglue
g_mechattr.c [51] 0.0 86 /lib/gssapi/mechglue
g_mechname.c [52] 0.0 44 /lib/gssapi/mechglue
g_prf.c [53] 0.0 21 /lib/gssapi/mechglue
g_process_context.c [54] 0.0 20 /lib/gssapi/mechglue
g_rel_name_mapping.c [55] 0.0 22 /lib/gssapi/mechglue
g_saslname.c [56] 0.0 97 /lib/gssapi/mechglue
g_set_context_option.c [57] 0.0 34 /lib/gssapi/mechglue
g_set_name_attr.c [58] 0.0 18 /lib/gssapi/mechglue
g_store_cred.c [59] 0.0 62 /lib/gssapi/mechglue
g_unwrap_aead.c [60] 0.0 54 /lib/gssapi/mechglue
g_wrap_aead.c [61] 0.0 2 /lib/gssapi/mechglue
gssd_pname_to_uid.c [62] 0.0 80 /lib/gssapi/mechglue
chpass_util.c [63] 0.0 79 /lib/kadm5
clnt_chpass_util.c [64] 0.0 4 /lib/kadm5/clnt
clnt_policy.c [65] 0.0 64 /lib/kadm5/clnt
clnt_privs.c [66] 0.0 8 /lib/kadm5/clnt
svr_chpass_util.c [67] 0.0 4 /lib/kadm5/srv
iprop_xdr.c [68] 0.0 185 /lib/kdb
asn1_encode.c [69] 0.0 6 /lib/krb5/asn.1
asn1_k_encode.c [70] 0.0 6 /lib/krb5/asn.1
asn1_make.c [71] 0.0 6 /lib/krb5/asn.1
krb5_decode_kdc.c [72] 0.0 7 /lib/krb5/asn.1
cc_retr.c [73] 0.0 6 /lib/krb5/ccache
asn1_err.c [74] 0.0 3 /lib/krb5/error_tables
k5e1_err.c [75] 0.0 3 /lib/krb5/error_tables
kdb5_err.c [76] 0.0 3 /lib/krb5/error_tables
krb524_err.c [77] 0.0 3 /lib/krb5/error_tables
krb5_err.c [78] 0.0 3 /lib/krb5/error_tables
kv5m_err.c [79] 0.0 3 /lib/krb5/error_tables
kt_srvtab.c [80] 0.0 140 /lib/krb5/keytab
read_servi.c [81] 0.0 16 /lib/krb5/keytab
addr_order.c [82] 0.0 13 /lib/krb5/krb
allow_weak.c [83] 0.0 3 /lib/krb5/krb
appdefault.c [84] 0.0 63 /lib/krb5/krb
authdata_exp.c [85] 0.0 34 /lib/krb5/krb
chpw.c [86] 0.0 171 /lib/krb5/krb
conv_creds.c [87] 0.0 6 /lib/krb5/krb
conv_princ.c [88] 0.0 137 /lib/krb5/krb
copy_ctx.c [89] 0.0 38 /lib/krb5/krb
fwd_tgt.c [90] 0.0 97 /lib/krb5/krb
gic_opt_set_pa.c [91] 0.0 28 /lib/krb5/krb
gic_pwd.c [92] 0.0 4 /lib/krb5/krb
in_tkt_sky.c [93] 0.0 33 /lib/krb5/krb
mk_cred.c [94] 0.0 136 /lib/krb5/krb
mk_priv.c [95] 0.0 103 /lib/krb5/krb
mk_req.c [96] 0.0 16 /lib/krb5/krb
pac_sign.c [97] 0.0 121 /lib/krb5/krb
rd_cred.c [98] 0.0 110 /lib/krb5/krb
rd_error.c [99] 0.0 4 /lib/krb5/krb
rd_priv.c [100] 0.0 82 /lib/krb5/krb
recvauth.c [101] 0.0 97 /lib/krb5/krb
s4u_creds.c [102] 0.0 4 /lib/krb5/krb
sendauth.c [103] 0.0 93 /lib/krb5/krb
ser_actx.c [104] 0.0 200 /lib/krb5/krb
ser_adata.c [105] 0.0 55 /lib/krb5/krb
ser_addr.c [106] 0.0 56 /lib/krb5/krb
ser_auth.c [107] 0.0 104 /lib/krb5/krb
ser_cksum.c [108] 0.0 55 /lib/krb5/krb
ser_ctx.c [109] 0.0 256 /lib/krb5/krb
ser_key.c [110] 0.0 55 /lib/krb5/krb
ser_princ.c [111] 0.0 56 /lib/krb5/krb
serialize.c [112] 0.0 94 /lib/krb5/krb
set_realm.c [113] 0.0 11 /lib/krb5/krb
srv_dec_tkt.c [114] 0.0 42 /lib/krb5/krb
vic_opt.c [115] 0.0 7 /lib/krb5/krb
an_to_ln.c [116] 0.0 260 /lib/krb5/os
changepw.c [117] 0.0 152 /lib/krb5/os
dnsglue.c [118] 0.0 100 /lib/krb5/os
dnssrv.c [119] 0.0 58 /lib/krb5/os
full_ipadr.c [120] 0.0 30 /lib/krb5/os
gen_port.c [121] 0.0 6 /lib/krb5/os
gen_rname.c [122] 0.0 10 /lib/krb5/os
hostaddr.c [123] 0.0 56 /lib/krb5/os
kuserok.c [124] 0.0 61 /lib/krb5/os
port2ip.c [125] 0.0 28 /lib/krb5/os
read_pwd.c [126] 0.0 23 /lib/krb5/os
realm_iter.c [127] 0.0 10 /lib/krb5/os
thread_safe.c [128] 0.0 2 /lib/krb5/os
rc_none.c [129] 0.0 16 /lib/krb5/rcache
ucdata.c [130] 0.0 282 /lib/krb5/unicode
ucstr.c [131] 0.0 232 /lib/krb5/unicode
ure.c [132] 0.0 823 /lib/krb5/unicode
urestubs.c [133] 0.0 9 /lib/krb5/unicode
auth_gssapi.c [134] 0.0 285 /lib/rpc
auth_gssapi_misc.c [135] 0.0 142 /lib/rpc
auth_unix.c [136] 0.0 109 /lib/rpc
authunix_prot.c [137] 0.0 9 /lib/rpc
clnt_generic.c [138] 0.0 39 /lib/rpc
clnt_raw.c [139] 0.0 79 /lib/rpc
clnt_simple.c [140] 0.0 42 /lib/rpc
clnt_udp.c [141] 0.0 187 /lib/rpc
get_myaddress.c [142] 0.0 6 /lib/rpc
getrpcport.c [143] 0.0 8 /lib/rpc
pmap_clnt.c [144] 0.0 29 /lib/rpc
pmap_getmaps.c [145] 0.0 14 /lib/rpc
pmap_getport.c [146] 0.0 19 /lib/rpc
pmap_prot.c [147] 0.0 6 /lib/rpc
pmap_prot2.c [148] 0.0 14 /lib/rpc
pmap_rmt.c [149] 0.0 163 /lib/rpc
svc_auth_none.c [150] 0.0 7 /lib/rpc
svc_auth_unix.c [151] 0.0 47 /lib/rpc
svc_raw.c [152] 0.0 52 /lib/rpc
svc_run.c [153] 0.0 10 /lib/rpc
svc_simple.c [154] 0.0 49 /lib/rpc
svc_udp.c [155] 0.0 205 /lib/rpc
xdr_reference.c [156] 0.0 23 /lib/rpc
xdr_sizeof.c [157] 0.0 52 /lib/rpc
xdr_stdio.c [158] 0.0 34 /lib/rpc
dbm.c [159] 0.0 102 /plugins/kdb/db2/libdb2/hash
hsearch.c [160] 0.0 32 /plugins/kdb/db2/libdb2/hash
pkinit_matching.c [161] 0.0 377 /plugins/preauth/pkinit
prof_err.c [162] 0.0 3 /util/profile
prof_init.c [163] 0.0 4 /util/profile
prof_set.c [164] 0.0 157 /util/profile
zap.c [165] 0.0 3 /util/support
module.c [166] 0.0 51 /util/verto
kdb_convert.c [167] 0.68 444 /lib/kdb
trace.c [168] 2.09 191 /lib/krb5/os
kdb_log.c [169] 3.19 408 /lib/kdb
pac.c [170] 5.82 533 /lib/krb5/krb
client_principal.c [171] 8.71 287 /lib/kadm5/clnt
client_rpc.c [172] 10.0 120 /lib/kadm5/clnt
rec_get.c [173] 11.11 117 /plugins/kdb/db2/libdb2/recno
svc_auth_gssapi.c [174] 11.57 432 /lib/rpc
utf8.c [175] 11.83 186 /util/support
cm.c [176] 12.0 25 /lib/krb5/os
old_api_glue.c [177] 12.33 146 /lib/crypto/krb
kadm_rpc_xdr.c [178] 15.37 566 /lib/kadm5
import_sec_context.c [179] 15.38 39 /lib/gssapi/krb5
bt_seq.c [180] 18.55 318 /plugins/kdb/db2/libdb2/btree
rpc_callmsg.c [181] 18.89 90 /lib/rpc
localaddr.c [182] 19.75 157 /lib/krb5/os
bt_delete.c [183] 20.08 259 /plugins/kdb/db2/libdb2/btree
g_inq_names.c [184] 22.03 59 /lib/gssapi/mechglue
etype_list.c [185] 25.0 12 /lib/krb5/krb
toffset.c [186] 25.0 32 /lib/krb5/os
hst_realm.c [187] 26.25 160 /lib/krb5/os
gic_keytab.c [188] 26.76 71 /lib/krb5/krb
g_imp_name.c [189] 27.13 129 /lib/gssapi/mechglue
g_seal.c [190] 27.27 77 /lib/gssapi/mechglue
g_dsp_status.c [191] 28.17 142 /lib/gssapi/mechglue
g_initialize.c [192] 28.38 532 /lib/gssapi/mechglue
inq_cred.c [193] 29.03 93 /lib/gssapi/krb5
verto.c [194] 29.79 386 /util/verto
clnt_perror.c [195] 30.34 89 /lib/rpc
dyn.c [196] 31.58 190 /lib/rpc
authdata.c [197] 32.5 523 /lib/krb5/krb
prof_parse.c [198] 33.01 312 /util/profile
pkinit_crypto_openssl.c [199] 33.19 2929 /plugins/preauth/pkinit
g_buffer_set.c [200] 33.33 6 /lib/gssapi/mechglue
rpc_prot.c [201] 33.33 90 /lib/rpc
db.c [202] 33.33 18 /plugins/kdb/db2/libdb2/db
inq_context.c [203] 34.38 96 /lib/gssapi/krb5
krb5_gss_glue.c [204] 35.07 134 /lib/gssapi/krb5
str_conv.c [205] 36.49 74 /lib/krb5/krb
adb_xdr.c [206] 36.54 52 /lib/kadm5/srv
util_cksum.c [207] 37.4 123 /lib/gssapi/krb5
rc_base.c [208] 39.33 89 /lib/krb5/rcache
svr_principal.c [209] 39.44 1027 /lib/kadm5/srv
privsafe.c [210] 40.0 80 /lib/krb5/krb
init-addrinfo.c [211] 40.0 5 /util/support
utf8_conv.c [212] 40.35 171 /util/support
server_misc.c [213] 40.58 69 /lib/kadm5/srv
g_inq_cred.c [214] 40.7 86 /lib/gssapi/mechglue
g_compare_name.c [215] 40.85 71 /lib/gssapi/mechglue
kerrs.c [216] 41.18 34 /lib/krb5/krb
gic_opt.c [217] 41.56 243 /lib/krb5/krb
import_name.c [218] 41.57 166 /lib/gssapi/krb5
krb5_encode.c [219] 41.67 60 /lib/krb5/asn.1
server_acl.c [220] 42.23 341 /lib/kadm5/srv
k5unsealiov.c [221] 42.42 297 /lib/gssapi/krb5
val_renew.c [222] 42.42 66 /lib/krb5/krb
pwqual_princ.c [223] 42.86 21 /lib/kadm5/srv
chk_trans.c [224] 43.15 146 /lib/krb5/krb
pkinit_identity.c [225] 43.63 314 /plugins/preauth/pkinit
g_dsp_name.c [226] 43.9 41 /lib/gssapi/mechglue
deltat.c [227] 44.68 47 /lib/krb5/krb
rc_io.c [228] 44.95 198 /lib/krb5/rcache
xdr.c [229] 45.74 188 /lib/rpc
rd_rep.c [230] 46.05 76 /lib/krb5/krb
pwqual_dict.c [231] 46.25 80 /lib/kadm5/srv
k5sealv3iov.c [232] 46.47 241 /lib/gssapi/krb5
addr_srch.c [233] 46.67 15 /lib/krb5/krb
util_ordering.c [234] 46.84 79 /lib/gssapi/generic
copy_athctr.c [235] 46.88 32 /lib/krb5/krb
vfy_increds.c [236] 47.75 111 /lib/krb5/krb
mk_req_ext.c [237] 48.26 172 /lib/krb5/krb
g_inq_name.c [238] 48.57 35 /lib/gssapi/mechglue
ccbase.c [239] 48.66 261 /lib/krb5/ccache
server_init.c [240] 48.72 195 /lib/kadm5/srv
bt_search.c [241] 48.91 92 /plugins/kdb/db2/libdb2/btree
lucid_context.c [242] 49.04 104 /lib/gssapi/krb5
init.c [243] 50.0 4 /lib/crypto/builtin
decrypt_key.c [244] 50.0 42 /lib/kdb
auth_none.c [245] 50.0 32 /lib/rpc
clnt_tcp.c [246] 50.0 188 /lib/rpc
spnego_mech.c [247] 50.54 1490 /lib/gssapi/spnego
locate_kdc.c [248] 50.55 275 /lib/krb5/os
svr_policy.c [249] 50.6 168 /lib/kadm5/srv
g_dup_name.c [250] 50.85 59 /lib/gssapi/mechglue
server_kdb.c [251] 51.02 147 /lib/kadm5/srv
rec_open.c [252] 51.06 94 /plugins/kdb/db2/libdb2/recno
krb5_libinit.c [253] 51.22 41 /lib/krb5
pkinit_clnt.c [254] 51.37 728 /plugins/preauth/pkinit
k5unseal.c [255] 51.76 255 /lib/gssapi/krb5
copy_princ.c [256] 51.85 27 /lib/krb5/krb
logger.c [257] 52.26 266 /lib/kadm5
genaddrs.c [258] 52.27 44 /lib/krb5/os
copy_tick.c [259] 52.31 65 /lib/krb5/krb
asn1_k_decode_kdc.c [260] 52.91 206 /lib/krb5/asn.1
g_set_cred_option.c [261] 52.94 68 /lib/gssapi/mechglue
g_wrap_iov.c [262] 52.94 51 /lib/gssapi/mechglue
kdb_cpw.c [263] 53.33 255 /lib/kdb
prof_file.c [264] 53.48 273 /util/profile
svr_iters.c [265] 53.68 95 /lib/kadm5/srv
def_realm.c [266] 53.7 54 /lib/krb5/os
crypto_libinit.c [267] 53.85 13 /lib/crypto/krb
net_write.c [268] 54.17 24 /lib/krb5/os
pkinit_lib.c [269] 54.77 241 /plugins/preauth/pkinit
svc.c [270] 54.86 175 /lib/rpc
errors.c [271] 55.43 92 /util/support
str_conv.c [272] 56.41 117 /lib/kadm5
rd_safe.c [273] 56.98 86 /lib/krb5/krb
iakerb.c [274] 57.65 451 /lib/gssapi/krb5
bt_conv.c [275] 57.8 109 /plugins/kdb/db2/libdb2/btree
rec_put.c [276] 57.8 109 /plugins/kdb/db2/libdb2/recno
g_acquire_cred_with_pw.c [277] 57.97 207 /lib/gssapi/mechglue
prof_get.c [278] 58.56 292 /util/profile
disp_name.c [279] 58.62 29 /lib/gssapi/krb5
verto-k5ev.c [280] 59.02 61 /util/k5ev
client_init.c [281] 59.13 323 /lib/kadm5/clnt
bt_utils.c [282] 59.21 76 /plugins/kdb/db2/libdb2/btree
g_canon_name.c [283] 59.38 64 /lib/gssapi/mechglue
xdr_alloc.c [284] 59.38 32 /lib/rpc
k5buf.c [285] 59.81 107 /util/support
copy_creds.c [286] 60.0 45 /lib/krb5/krb
xdr_array.c [287] 60.0 35 /lib/rpc
g_accept_sec_context.c [288] 60.16 123 /lib/gssapi/mechglue
unparse.c [289] 60.19 103 /lib/krb5/krb
kdb_default.c [290] 60.81 222 /lib/kdb
auth_con.c [291] 60.89 202 /lib/krb5/krb
rec_utils.c [292] 61.11 36 /plugins/kdb/db2/libdb2/recno
util_errmap.c [293] 61.36 88 /lib/gssapi/generic
asn1_k_decode_sam.c [294] 61.54 156 /lib/krb5/asn.1
prompter.c [295] 61.62 99 /lib/krb5/os
k5sealv3.c [296] 61.74 264 /lib/gssapi/krb5
g_acquire_cred.c [297] 61.78 191 /lib/gssapi/mechglue
hash_bigkey.c [298] 61.82 165 /plugins/kdb/db2/libdb2/hash
g_verify.c [299] 61.9 21 /lib/gssapi/mechglue
ustime.c [300] 61.9 21 /lib/krb5/os
kdb5.c [301] 62.04 1254 /lib/kdb
g_unseal.c [302] 62.07 29 /lib/gssapi/mechglue
sendto_kdc.c [303] 62.4 508 /lib/krb5/os
util_buffer.c [304] 62.5 8 /lib/gssapi/generic
addr_comp.c [305] 62.5 8 /lib/krb5/krb
mk_safe.c [306] 63.11 103 /lib/krb5/krb
adb_openclose.c [307] 63.13 198 /plugins/kdb/db2
auth_gss.c [308] 63.22 242 /lib/rpc
enc_helper.c [309] 63.64 11 /lib/krb5/krb
valid_times.c [310] 63.64 11 /lib/krb5/krb
hash.c [311] 63.86 404 /plugins/kdb/db2/libdb2/hash
xdr_mem.c [312] 64.15 53 /lib/rpc
init_ctx.c [313] 64.16 226 /lib/krb5/krb
ccdefname.c [314] 64.29 42 /lib/krb5/os
d3_kysched.c [315] 64.71 17 /lib/crypto/builtin/des
rec_close.c [316] 64.91 57 /plugins/kdb/db2/libdb2/recno
bld_pr_ext.c [317] 65.0 40 /lib/krb5/krb
gc_via_tkt.c [318] 65.2 204 /lib/krb5/krb
string_to_key.c [319] 65.22 23 /lib/crypto/krb
disp_status.c [320] 65.31 49 /lib/gssapi/krb5
enctype_util.c [321] 65.96 47 /lib/crypto/krb
g_inq_context_oid.c [322] 66.67 15 /lib/gssapi/mechglue
decode_kdc.c [323] 66.67 12 /lib/krb5/krb
s4u_authdata.c [324] 66.67 6 /lib/krb5/krb
send_tgs.c [325] 66.67 147 /lib/krb5/krb
ktdefname.c [326] 66.67 18 /lib/krb5/os
net_read.c [327] 66.67 15 /lib/krb5/os
rec_search.c [328] 66.67 36 /plugins/kdb/db2/libdb2/recno
pol_xdr.c [329] 67.69 65 /plugins/kdb/db2
val_cred.c [330] 67.74 31 /lib/gssapi/krb5
authgss_prot.c [331] 67.92 106 /lib/rpc
g_set_neg_mechs.c [332] 68.0 25 /lib/gssapi/mechglue
hash_page.c [333] 68.8 500 /plugins/kdb/db2/libdb2/hash
pwqual_empty.c [334] 69.23 13 /lib/kadm5/srv
sn2princ.c [335] 69.35 62 /lib/krb5/os
get_krbhst.c [336] 69.57 46 /lib/krb5/os
threads.c [337] 69.7 132 /util/support
copy_cksum.c [338] 70.0 10 /lib/krb5/krb
bt_put.c [339] 70.16 124 /plugins/kdb/db2/libdb2/btree
c_ustime.c [340] 70.37 27 /lib/krb5/os
plugin.c [341] 70.41 196 /lib/krb5/krb
pbkdf2.c [342] 70.53 95 /lib/crypto/builtin
acquire_cred.c [343] 70.71 379 /lib/gssapi/krb5
g_unwrap_iov.c [344] 70.83 24 /lib/gssapi/mechglue
asn1buf.c [345] 70.86 175 /lib/krb5/asn.1
make_checksum_iov.c [346] 70.97 31 /lib/crypto/krb
g_inq_context.c [347] 71.11 45 /lib/gssapi/mechglue
key_sched.c [348] 71.43 7 /lib/crypto/builtin/des
g_oid_ops.c [349] 71.43 28 /lib/gssapi/mechglue
krb5_decode.c [350] 71.43 7 /lib/krb5/asn.1
enc_keyhelper.c [351] 71.43 14 /lib/krb5/krb
timeofday.c [352] 71.43 21 /lib/krb5/os
cccursor.c [353] 71.57 102 /lib/krb5/ccache
svc_tcp.c [354] 71.73 191 /lib/rpc
lock_file.c [355] 71.88 32 /lib/krb5/os
bindresvport.c [356] 72.22 18 /lib/rpc
pkinit_profile.c [357] 72.22 126 /plugins/preauth/pkinit
alt_prof.c [358] 72.37 503 /lib/kadm5
plugins.c [359] 72.38 239 /util/support
init_os_ctx.c [360] 72.59 135 /lib/krb5/os
svc_auth_gss.c [361] 72.69 271 /lib/rpc
g_mech_invoke.c [362] 72.73 11 /lib/gssapi/mechglue
ccdefault.c [363] 72.73 11 /lib/krb5/ccache
s2k_pbkdf2.c [364] 72.84 81 /lib/crypto/krb
keytab.c [365] 73.44 64 /lib/kdb
error_message.c [366] 73.55 121 /util/et
k5seal.c [367] 73.58 159 /lib/gssapi/krb5
rd_req_dec.c [368] 73.68 285 /lib/krb5/krb
get_creds.c [369] 73.9 525 /lib/krb5/krb
kt_memory.c [370] 73.98 246 /lib/krb5/keytab
g_sign.c [371] 74.19 31 /lib/gssapi/mechglue
aeskey.c [372] 74.29 70 /lib/crypto/builtin/aes
kfree.c [373] 74.48 525 /lib/krb5/krb
ktadd.c [374] 75.0 4 /lib/krb5/keytab
ktdefault.c [375] 75.0 4 /lib/krb5/keytab
ktfns.c [376] 75.0 40 /lib/krb5/keytab
ktremove.c [377] 75.0 4 /lib/krb5/keytab
bld_princ.c [378] 75.0 80 /lib/krb5/krb
write_msg.c [379] 75.0 20 /lib/krb5/os
rc_conv.c [380] 75.0 24 /lib/krb5/rcache
k5sealiov.c [381] 75.53 237 /lib/gssapi/krb5
crypto_length.c [382] 75.61 41 /lib/crypto/krb
parse.c [383] 75.95 158 /lib/krb5/krb
copy_addrs.c [384] 76.0 25 /lib/krb5/krb
rd_req.c [385] 76.0 25 /lib/krb5/krb
cc_memory.c [386] 76.17 277 /lib/krb5/ccache
read_msg.c [387] 76.47 17 /lib/krb5/os
cc_dir.c [388] 76.52 345 /lib/krb5/ccache
des3.c [389] 76.67 30 /lib/crypto/builtin/enc_provider
g_rel_cred.c [390] 76.67 30 /lib/gssapi/mechglue
asn1_k_decode.c [391] 76.92 13 /lib/krb5/asn.1
sname_match.c [392] 76.92 13 /lib/krb5/krb
set_ccache.c [393] 77.14 35 /lib/gssapi/krb5
ktbase.c [394] 77.17 92 /lib/krb5/keytab
rec_delete.c [395] 77.36 53 /plugins/kdb/db2/libdb2/recno
bt_open.c [396] 77.49 191 /plugins/kdb/db2/libdb2/btree
rec_seq.c [397] 77.5 40 /plugins/kdb/db2/libdb2/recno
des.c [398] 77.78 36 /lib/crypto/builtin/enc_provider
compare_name.c [399] 77.78 9 /lib/gssapi/krb5
g_init_sec_context.c [400] 77.78 63 /lib/gssapi/mechglue
gen_save_subkey.c [401] 77.78 18 /lib/krb5/krb
xdr_rec.c [402] 77.78 225 /lib/rpc
bt_get.c [403] 77.78 18 /plugins/kdb/db2/libdb2/btree
make_random_key.c [404] 78.57 28 /lib/crypto/krb
authdata_dec.c [405] 78.57 98 /lib/krb5/krb
encode_kdc.c [406] 78.57 28 /lib/krb5/krb
util_token.c [407] 78.65 89 /lib/gssapi/generic
kdb_xdr.c [408] 79.11 225 /plugins/kdb/db2
bt_close.c [409] 79.25 53 /plugins/kdb/db2/libdb2/btree
encrypt_key.c [410] 79.41 34 /lib/kdb
copy_data.c [411] 79.41 34 /lib/krb5/krb
srv_rcache.c [412] 79.41 34 /lib/krb5/krb
bt_split.c [413] 79.73 301 /plugins/kdb/db2/libdb2/btree
cf2.c [414] 80.0 75 /lib/crypto/krb
keyed_cksum.c [415] 80.0 5 /lib/crypto/krb
s2k_rc4.c [416] 80.0 15 /lib/crypto/krb
valid_cksumtype.c [417] 80.0 5 /lib/crypto/krb
rel_name.c [418] 80.0 10 /lib/gssapi/krb5
accessor.c [419] 80.0 5 /lib/krb5/os
rcfns.c [420] 80.0 20 /lib/krb5/rcache
path.c [421] 80.39 51 /util/support
g_delete_sec_context.c [422] 80.77 26 /lib/gssapi/mechglue
rel_cred.c [423] 80.95 42 /lib/gssapi/krb5
prf.c [424] 81.48 27 /lib/crypto/krb
asn1_decode.c [425] 81.51 119 /lib/krb5/asn.1
keylengths.c [426] 81.82 11 /lib/crypto/krb
state.c [427] 81.82 11 /lib/crypto/krb
ccfns.c [428] 81.82 143 /lib/krb5/ccache
gen_subkey.c [429] 81.82 22 /lib/krb5/krb
krbfileio.c [430] 81.82 11 /lib/krb5/os
asn1_k_decode_fast.c [431] 82.14 28 /lib/krb5/asn.1
decrypt_tk.c [432] 82.35 17 /lib/krb5/krb
derive.c [433] 82.42 91 /lib/crypto/krb
verify_checksum.c [434] 82.76 29 /lib/crypto/krb
block_size.c [435] 83.33 6 /lib/crypto/krb
checksum_length.c [436] 83.33 6 /lib/crypto/krb
encrypt_iov.c [437] 83.33 12 /lib/crypto/krb
mandatory_sumtype.c [438] 83.33 6 /lib/crypto/krb
ser_cc.c [439] 83.33 72 /lib/krb5/ccache
copy_auth.c [440] 83.33 30 /lib/krb5/krb
gen_seqnum.c [441] 83.33 18 /lib/krb5/krb
mk_error.c [442] 83.33 6 /lib/krb5/krb
walk_rtree.c [443] 83.61 238 /lib/krb5/krb
hmac.c [444] 83.72 43 /lib/crypto/builtin
util_buffer_set.c [445] 83.72 43 /lib/gssapi/generic
authdata_enc.c [446] 83.72 43 /lib/krb5/krb
prf_dk.c [447] 84.0 25 /lib/crypto/krb
enc_dk_hmac.c [448] 84.17 120 /lib/crypto/krb
ser_rc.c [449] 84.29 70 /lib/krb5/rcache
preauth_encts.c [450] 84.31 51 /lib/krb5/krb
checksum_dk_hmac.c [451] 84.62 13 /lib/crypto/krb
checksum_hmac_md5.c [452] 84.62 39 /lib/crypto/krb
make_checksum.c [453] 84.62 39 /lib/crypto/krb
cccopy.c [454] 84.62 26 /lib/krb5/ccache
pr_to_salt.c [455] 84.62 26 /lib/krb5/krb
enc_rc4.c [456] 84.71 170 /lib/crypto/krb
mpool.c [457] 85.07 134 /plugins/kdb/db2/libdb2/mpool
prng.c [458] 85.29 34 /lib/crypto/krb
checksum_confounder.c [459] 85.53 76 /lib/crypto/krb
decrypt_iov.c [460] 85.71 14 /lib/crypto/krb
enc_raw.c [461] 85.71 35 /lib/crypto/krb
inq_names.c [462] 85.71 21 /lib/gssapi/krb5
encrypt_tk.c [463] 85.71 7 /lib/krb5/krb
free_krbhs.c [464] 85.71 7 /lib/krb5/os
com_err.c [465] 85.71 49 /util/et
ccselect_k5identity.c [466] 86.02 93 /lib/krb5/ccache
lockout.c [467] 86.36 88 /plugins/kdb/db2
fake-addrinfo.c [468] 86.36 22 /util/support
libdef_parse.c [469] 86.67 45 /lib/krb5/krb
bt_overflow.c [470] 87.27 55 /plugins/kdb/db2/libdb2/btree
g_rel_name.c [471] 87.5 24 /lib/gssapi/mechglue
kdc_rep_dc.c [472] 87.5 16 /lib/krb5/krb
decrypt.c [473] 87.8 41 /lib/crypto/krb
enc_old.c [474] 88.1 84 /lib/crypto/krb
encrypt.c [475] 88.24 34 /lib/crypto/krb
mk_rep.c [476] 88.37 43 /lib/krb5/krb
rc4.c [477] 88.73 71 /lib/crypto/builtin/enc_provider
f_parity.c [478] 88.89 9 /lib/crypto/builtin/des
prf_des.c [479] 88.89 9 /lib/crypto/krb
pwqual_hesiod.c [480] 88.89 9 /lib/kadm5/srv
realm_dom.c [481] 88.89 9 /lib/krb5/os
key.c [482] 89.47 38 /lib/crypto/krb
db2_exp.c [483] 89.8 49 /plugins/kdb/db2
hash_crc32.c [484] 90.0 10 /lib/crypto/builtin/hash_provider
encrypt_length.c [485] 90.0 10 /lib/crypto/krb
rel_buffer.c [486] 90.0 10 /lib/gssapi/generic
ktfr_entry.c [487] 90.0 10 /lib/krb5/keytab
aead.c [488] 90.74 54 /lib/crypto/krb
hash_md4.c [489] 90.91 11 /lib/crypto/builtin/hash_provider
hash_md5.c [490] 90.91 11 /lib/crypto/builtin/hash_provider
g_rel_buffer.c [491] 90.91 11 /lib/gssapi/mechglue
svc_auth.c [492] 90.91 11 /lib/rpc
hash_sha1.c [493] 91.67 12 /lib/crypto/builtin/hash_provider
rel_oid_set.c [494] 92.31 13 /lib/gssapi/generic
keyed_checksum_types.c [495] 93.1 29 /lib/crypto/krb
mk_faddr.c [496] 93.1 29 /lib/krb5/os
default_state.c [497] 93.33 15 /lib/crypto/krb
util_seqnum.c [498] 93.55 31 /lib/gssapi/krb5
rel_oid.c [499] 94.12 17 /lib/gssapi/krb5
s2k_des.c [500] 94.42 215 /lib/crypto/krb
preauth_ec.c [501] 94.44 72 /lib/krb5/krb
delete_sec_context.c [502] 95.35 43 /lib/gssapi/krb5
main.c [503] 95.45 22 /plugins/kadm5_hook/test
pkinit_accessor.c [504] 95.65 23 /plugins/preauth/pkinit
asn1_get.c [505] 96.15 52 /lib/krb5/asn.1
strlcpy.c [506] 96.67 30 /util/support
md4.c [507] 98.86 88 /lib/crypto/builtin/md4
sha256.c [508] 98.98 98 /lib/crypto/builtin/sha2
md5.c [509] 99.04 104 /lib/crypto/builtin/md5
shs.c [510] 99.44 179 /lib/crypto/builtin/sha1
aescrypt.c [511] 100.0 44 /lib/crypto/builtin/aes
d3_aead.c [512] 100.0 62 /lib/crypto/builtin/des
des_keys.c [513] 100.0 5 /lib/crypto/builtin/des
f_aead.c [514] 100.0 72 /lib/crypto/builtin/des
f_sched.c [515] 100.0 40 /lib/crypto/builtin/des
weak_key.c [516] 100.0 6 /lib/crypto/builtin/des
aes.c [517] 100.0 7 /lib/crypto/builtin/enc_provider
checksum_unkeyed.c [518] 100.0 2 /lib/crypto/krb
coll_proof_cksum.c [519] 100.0 3 /lib/crypto/krb
crc32.c [520] 100.0 10 /lib/crypto/krb
keyblocks.c [521] 100.0 9 /lib/crypto/krb
nfold.c [522] 100.0 30 /lib/crypto/krb
prf_rc4.c [523] 100.0 5 /lib/crypto/krb
prng_fortuna.c [524] 100.0 4 /lib/crypto/krb
oid_ops.c [525] 100.0 6 /lib/gssapi/generic
init_sec_context.c [526] 100.0 2 /lib/gssapi/krb5
g_glue.c [527] 100.0 2 /lib/gssapi/mechglue
g_rel_oid_set.c [528] 100.0 2 /lib/gssapi/mechglue
chpass_util_strings.c [529] 100.0 3 /lib/kadm5
kadm_err.c [530] 100.0 3 /lib/kadm5
misc_free.c [531] 100.0 9 /lib/kadm5
kadm5_hook.c [532] 100.0 4 /lib/kadm5/srv
pwqual.c [533] 100.0 4 /lib/kadm5/srv
adb_err.c [534] 100.0 3 /lib/kdb
asn1_misc.c [535] 100.0 6 /lib/krb5/asn.1
cc_file.c [536] 100.0 4 /lib/krb5/ccache
ccselect.c [537] 100.0 4 /lib/krb5/ccache
ccselect_realm.c [538] 100.0 2 /lib/krb5/ccache
kt_file.c [539] 100.0 4 /lib/krb5/keytab
copy_key.c [540] 100.0 2 /lib/krb5/krb
cp_key_cnt.c [541] 100.0 2 /lib/krb5/krb
fast.c [542] 100.0 3 /lib/krb5/krb
get_in_tkt.c [543] 100.0 10 /lib/krb5/krb
init_keyblock.c [544] 100.0 2 /lib/krb5/krb
preauth2.c [545] 100.0 4 /lib/krb5/krb
princ_comp.c [546] 100.0 2 /lib/krb5/krb
tgtname.c [547] 100.0 2 /lib/krb5/krb
unlck_file.c [548] 100.0 2 /lib/krb5/os
rc_dfl.c [549] 100.0 2 /lib/krb5/rcache
rpc_dtablesize.c [550] 100.0 6 /lib/rpc
adb_policy.c [551] 100.0 4 /plugins/kdb/db2
kdb_db2.c [552] 100.0 4 /plugins/kdb/db2
bt_page.c [553] 100.0 14 /plugins/kdb/db2/libdb2/btree
hash_func.c [554] 100.0 16 /plugins/kdb/db2/libdb2/hash
hash_log2.c [555] 100.0 4 /plugins/kdb/db2/libdb2/hash
pkinit_srv.c [556] 100.0 4 /plugins/preauth/pkinit
et_name.c [557] 100.0 11 /util/et
prof_tree.c [558] 100.0 2 /util/profile
testmod_main.c [559] 100.0 34 /util/profile/testmod
gmt_mktime.c [560] 100.0 2 /util/support

The typical test flaws

It has been noticed that some code sequences are regularly not tested:

  1. Error conditions
  2. Multi-tier if-statements
  3. goto labeled statements