Back to GNU Libidn 1.38 Homepage

GNU Libidn 1.38 Cyclomatic Complexity Report

Report generated at: Thu Jul 22 15:51:53 CEST 2021

Summary
Total number of functions 72
Number of low risk functions 61
Number of moderate risk functions 6
Number of high risk functions 5
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
idna_to_ascii_4i 37 96 199 idna.c
stringprep_4i 30 77 149 stringprep.c
_g_utf8_normalize_wc 30 76 135 nfkc.c
punycode_decode 26 66 106 punycode.c
punycode_encode 25 59 114 punycode.c
idna_to_ascii_4z 15 46 85 idna.c
tld_get_4 14 24 37 tld.c
idna_to_unicode_internal 12 48 119 idna.c
combine 12 21 54 nfkc.c
g_utf8_to_ucs4_fast 11 38 75 nfkc.c
_tld_checkchar 11 15 28 tld.c
  find_decomposition 10 21 41 nfkc.c
  combine_hangul 10 12 27 nfkc.c
  g_ucs4_to_utf8 9 26 41 nfkc.c
  stringprep_profile 9 25 39 stringprep.c
  g_unichar_to_utf8 8 28 51 nfkc.c
  idna_to_unicode_4z4z 7 38 64 idna.c
  stringprep 7 32 55 stringprep.c
  g_unicode_canonical_ordering 7 24 36 nfkc.c
  pr29_4 7 15 27 pr29.c
  tld_get_table 5 9 14 tld.c
  stringprep_apply_table_to_string 5 17 33 stringprep.c
  tld_check_4t 5 13 24 tld.c
  tld_default_table 4 8 16 tld.c
  decode_digit 4 4 6 punycode.c
  tld_check_4 4 13 28 tld.c
  idna_to_unicode_44i 4 12 24 idna.c
  stringprep_find_string_in_table 4 10 22 stringprep.c
  decompose_hangul 4 10 21 nfkc.c
  first_column 4 10 12 pr29.c
  adapt 3 9 16 punycode.c
  stringprep_4zi_1 3 8 18 stringprep.c
  combinationclass 3 7 11 pr29.c
  in_last_column_row 3 7 11 pr29.c
  stringprep_utf8_nfkc_normalize 3 7 15 nfkc.c
  stringprep_utf8_to_ucs4 3 7 15 nfkc.c
  tld_check_4z 3 6 14 tld.c
  stringprep_4zi 3 6 12 stringprep.c
  tld_check_4tz 3 6 13 tld.c
  tld_get_4z 3 6 13 tld.c
  _compare_table_element 3 5 10 stringprep.c
  stringprep_check_version 3 3 8 version.c
  tld_get_z 3 14 22 tld.c
  tld_check_8z 3 11 21 tld.c
  idna_to_unicode_8zlz 3 10 18 idna.c
  idna_to_unicode_8z8z 3 10 18 idna.c
  tld_check_lz 3 10 20 tld.c
  tld_strerror 2 18 40 strerror-tld.c
  punycode_strerror 2 14 32 strerror-punycode.c
  pr29_strerror 2 12 28 strerror-pr29.c
  idna_to_unicode_8z4z 2 9 16 idna.c
  idna_to_ascii_8z 2 9 18 idna.c
  idna_to_unicode_lzlz 2 8 15 idna.c
  idna_to_ascii_lz 2 8 16 idna.c
  g_utf8_get_char 2 8 14 nfkc.c
  pr29_8z 2 8 16 pr29.c
  stringprep_ucs4_nfkc_normalize 2 8 15 nfkc.c
  g_utf8_normalize 2 6 13 nfkc.c
  g_utf8_strlen 2 6 15 nfkc.c
  pr29_4z 2 6 10 pr29.c
  stringprep_find_character_in_table 2 3 37 stringprep.c
  encode_basic 2 2 6 punycode.c
  stringprep_strerror 2 32 68 strerror-stringprep.c
  idna_strerror 2 30 64 strerror-idna.c
  stringprep_unichar_to_utf8 1 1 5 nfkc.c
  stringprep_utf8_to_unichar 1 1 5 nfkc.c
  idn_free 1 1 5 idn-free.c
  stringprep_utf8_to_locale 1 1 5 toutf8.c
  stringprep_locale_to_utf8 1 1 5 toutf8.c
  stringprep_convert 1 1 16 toutf8.c
  encode_digit 1 1 7 punycode.c
  stringprep_ucs4_to_utf8 1 1 7 nfkc.c

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