Back to GNU Generic Security Service Homepage

GNU Generic Security Service Cyclomatic Complexity Report

Report generated at: Tue Aug 16 21:00:28 UTC 2022

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

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