Back to GNU Generic Security Service 1.0.2 Homepage

GNU Generic Security Service 1.0.2 Cyclomatic Complexity Report

Report generated at: Fri Nov 25 00:58:39 CET 2011

Summary
Total number of functions 82
Number of low risk functions 71
Number of moderate risk functions 7
Number of high risk functions 4
Number of untestable functions 0

Details for all functions
  Cyclomatic Complexity Risk Evaluation
  0 - 10 Simple module, without much risk
  11 - 20 More complex module, moderate risk
  21 - 50 Complex module, high risk
  greater than 50 Untestable module, very high risk

Function Name Modified Cyclo Number of
Statements
Number of
Lines
Source File
gss_krb5_unwrap 41 131 227 krb5/msg.c
gss_krb5_accept_sec_context 30 100 190 krb5/context.c
gss_display_status 23 67 157 error.c
gss_krb5_wrap 22 112 213 krb5/msg.c
gss_init_sec_context 16 38 88 context.c
gss_krb5_init_sec_context 16 38 107 krb5/context.c
gss_krb5_canonicalize_name 14 40 83 krb5/name.c
gss_add_oid_set_member 13 29 56 misc.c
acquire_cred1 12 34 68 krb5/cred.c
_gss_krb5_checksum_parse 11 39 72 krb5/checksum.c
gss_inquire_saslname_for_mech 11 24 47 saslname.c
  init_request 10 38 81 krb5/context.c
  hash_cb 10 36 61 krb5/checksum.c
  gss_acquire_cred 10 27 63 cred.c
  gss_duplicate_name 10 26 42 name.c
  inquire_cred 10 21 40 krb5/cred.c
  _gss_decapsulate_token 9 33 51 asn1.c
  gss_krb5_acquire_cred 9 25 53 krb5/cred.c
  gss_krb5_display_status 9 24 68 krb5/error.c
  gss_delete_sec_context 8 22 43 context.c
  gss_import_name 8 21 37 name.c
  gss_release_cred 8 21 36 cred.c
  gss_inquire_cred_by_mech 8 20 51 cred.c
  gss_display_name 8 17 30 name.c
  gss_compare_name 7 9 20 name.c
  _gss_find_mech_by_saslname 7 9 17 meta.c
  init_reply 7 24 58 krb5/context.c
  gss_decapsulate_token 7 21 36 asn1.c
  _gss_asn1_get_length_der 7 20 43 asn1.c
  gss_accept_sec_context 7 15 51 context.c
  _gss_copy_oid 7 14 25 misc.c
  _gss_krb5_checksum_pack 6 25 124 krb5/checksum.c
  _gss_inquire_mechs_for_name3 6 17 30 name.c
  gss_export_name 6 16 33 name.c
  gss_inquire_cred 6 16 36 cred.c
  gss_inquire_mechs_for_name 6 15 30 name.c
  _gss_asn1_length_der 6 15 32 asn1.c
  gss_test_oid_set_member 6 14 28 misc.c
  gss_inquire_mech_for_saslname 6 13 27 saslname.c
  gss_inquire_names_for_mech 5 17 29 name.c
  gss_release_oid_set 5 14 20 misc.c
  gss_context_time 5 11 23 context.c
  gss_get_mic 5 11 26 msg.c
  gss_krb5_delete_sec_context 5 11 21 krb5/context.c
  gss_unwrap 5 11 27 msg.c
  dup_data 5 11 21 saslname.c
  gss_wrap 5 11 28 msg.c
  gss_encapsulate_token 5 11 26 asn1.c
  gss_verify_mic 5 11 26 msg.c
  gss_krb5_context_time 5 10 23 krb5/context.c
  gss_release_name 5 10 20 name.c
  _gss_encapsulate_token_prefix 4 25 39 asn1.c
  gss_krb5_export_name 4 20 32 krb5/name.c
  _gss_inquire_mechs_for_name1 4 12 22 name.c
  _gss_inquire_mechs_for_name2 4 11 22 name.c
  gss_indicate_mechs 4 11 20 misc.c
  _gss_indicate_mechs1 4 11 18 meta.c
  gss_create_empty_oid_set 4 10 18 misc.c
  gss_oid_equal 4 1 8 oid.c
  gss_krb5_release_cred 3 9 16 krb5/cred.c
  gss_krb5_tktlifetime 3 8 16 krb5/utils.c
  _gss_find_mech_no_default 3 7 11 meta.c
  gss_canonicalize_name 3 7 18 name.c
  gss_release_buffer 3 7 15 misc.c
  _gss_find_mech 3 4 12 meta.c
  gss_check_version 3 3 8 version.c
  gss_krb5_inquire_cred_by_mech 2 5 19 krb5/cred.c
  gss_userok 2 1 7 ext.c
  pack_uint32 1 4 8 krb5/checksum.c
  gss_process_context_token 1 1 7 context.c
  gss_unseal 1 1 11 obsolete.c
  gss_seal 1 1 12 obsolete.c
  gss_krb5_verify_mic 1 1 8 krb5/msg.c
  gss_verify 1 1 9 obsolete.c
  gss_krb5_get_mic 1 1 9 krb5/msg.c
  gss_add_cred 1 1 14 cred.c
  gss_sign 1 1 9 obsolete.c
  gss_krb5_inquire_cred 1 1 11 krb5/cred.c
  gss_import_sec_context 1 1 7 context.c
  gss_export_sec_context 1 1 7 context.c
  gss_wrap_size_limit 1 1 9 context.c
  gss_inquire_context 1 1 11 context.c

Copyright (c) 2007, 2008 Free Software Foundation, Inc.