Back to Gnulib Homepage

Gnulib Cyclomatic Complexity Report

Report generated at: Mon Oct 13 11:12:56 CEST 2008

Resume

Total number of functions 1407
Number of low risk functions 1141
Number of moderate risk functions 168
Number of high risk functions 72
Number of untestable functions 26

Details for all functions

Used ranges:

  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 Cyclomatic
Complexity
Number of
Statements
Number of
Lines
Source File
VASNPRINTF 654 1706 3435 lib/vasnprintf.c
EXT 54 77 181 lib/fnmatch_loop.c
__strptime_internal 226 486 892 lib/strptime.c
glob 146 401 833 lib/glob.c
create_pipe 141 137 337 lib/pipe.c
strftime_case_ 283 435 1016 lib/strftime.c
mem_cd_iconveh_internal 123 341 656 lib/striconveh.c
PRINTF_PARSE 129 293 544 lib/printf-parse.c
_getopt_internal_r 107 312 791 lib/getopt.c
qcopy_acl 95 214 483 lib/copy-acl.c
re_search_internal 94 177 346 lib/regexec.c
execute 87 90 225 lib/execute.c
parse_bracket_exp 88 263 555 lib/regcomp.c
  main 1 2 6 lib/physmem.c
qset_acl 81 238 427 lib/set-mode-acl.c
quotearg_buffer_restyled 195 186 384 lib/quotearg.c
getloadavg 69 234 508 lib/getloadavg.c
check_node_accept_bytes 65 142 234 lib/regexec.c
fts_build 62 142 302 lib/fts.c
read_file_system_list 59 328 544 lib/mountlist.c
strtod 59 117 241 lib/strtod.c
re_string_reconstruct 58 148 260 lib/regex_internal.c
__getcwd 56 163 321 lib/getcwd.c
rijndaelDecrypt 55 29 90 lib/rijndael-alg-fst.c
rijndaelEncrypt 55 29 90 lib/rijndael-alg-fst.c
  peek_token 1 0 124 lib/regcomp.c
divide 54 202 395 lib/vasnprintf.c
wait_subprocess 54 83 170 lib/wait-process.c
human_readable 51 130 237 lib/human.c
EXT 54 77 181 lib/fnmatch_loop.c
poll 50 157 286 lib/poll.c
fts_read 49 119 224 lib/fts.c
INTERNAL 48 95 184 lib/strtol.c
build_trtable 45 134 229 lib/regexec.c
glob_in_dir 45 130 254 lib/glob.c
parse_expression 62 104 208 lib/regcomp.c
__realpath 44 128 231 lib/canonicalize-lgpl.c
canonicalize_filename_mode 44 110 184 lib/canonicalize.c
rijndaelKeySetupEnc 43 54 89 lib/rijndael-alg-fst.c
group_nodes_into_DFAstates 43 123 183 lib/regexec.c
compile_java_class 43 104 286 lib/javacomp.c
kernel_rem_pio2 46 163 212 lib/trigl.c
euidaccess 42 59 111 lib/euidaccess.c
__spawni 46 91 231 lib/spawni.c
build_wcs_upper_buffer 40 134 212 lib/regex_internal.c
rpl_select 39 138 232 lib/winsock-select.c
file_has_acl 38 102 247 lib/file-has-acl.c
getaddrinfo 39 88 186 lib/getaddrinfo.c
__argp_fmtstream_update 37 103 226 lib/argp-fmtstream.c
mem_iconveh 36 86 161 lib/striconveh.c