Back to GNU Libidn 1.28 Homepage

GNU Libidn 1.28 Cyclomatic Complexity Report

Report generated at: Wed Jul 10 14:47:39 CEST 2013

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 38 94 194 idna.c
stringprep_4i 30 76 137 stringprep.c
_g_utf8_normalize_wc 30 76 135 nfkc.c
punycode_encode 22 57 111 punycode.c
punycode_decode 21 59 101 punycode.c
idna_to_ascii_4z 15 48 87 idna.c
tld_get_4 14 24 37 tld.c
idna_to_unicode_internal 12 47 118 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 11 23 nfkc.c
  g_ucs4_to_utf8 9 26 42 nfkc.c
  stringprep_profile 9 24 38 stringprep.c
  g_utf8_strlen 9 16 37 nfkc.c
  g_unichar_to_utf8 8 28 51 nfkc.c
  idna_to_unicode_4z4z 7 37 61 idna.c
  g_unicode_canonical_ordering 7 24 36 nfkc.c
  pr29_4 7 15 27 pr29.c
  stringprep_find_character_in_table 6 8 21 stringprep.c
  stringprep 6 30 53 stringprep.c
  tld_get_table 5 9 14 tld.c
  stringprep_locale_charset 5 7 17 toutf8.c
  stringprep_apply_table_to_string 5 13 27 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
  decompose_hangul 4 10 21 nfkc.c
  stringprep_find_string_in_table 4 10 19 stringprep.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
  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
  stringprep_check_version 3 3 8 version.c
  tld_get_z 3 14 22 tld.c
  tld_check_8z 3 11 21 tld.c
  tld_check_lz 3 10 20 tld.c
  tld_strerror 2 17 40 strerror-tld.c
  punycode_strerror 2 13 32 strerror-punycode.c
  pr29_strerror 2 11 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_unicode_8zlz 2 8 15 idna.c
  idna_to_unicode_8z8z 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_convert 2 7 16 toutf8.c
  pr29_4z 2 6 10 pr29.c
  encode_basic 2 2 6 punycode.c
  stringprep_strerror 2 29 64 strerror-stringprep.c
  idna_strerror 2 29 64 strerror-idna.c
  stringprep_ucs4_nfkc_normalize 1 6 12 nfkc.c
  g_utf8_normalize 1 5 11 nfkc.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_utf8_nfkc_normalize 1 1 5 nfkc.c
  encode_digit 1 1 7 punycode.c
  stringprep_ucs4_to_utf8 1 1 7 nfkc.c
  stringprep_utf8_to_ucs4 1 1 5 nfkc.c

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