| Source file: ./sys/ddb/db_elf.h |
| Source file: ./sys/ddb/db_var.h |
| Source file: ./sys/ddb/db_break.h |
| Source file: ./sys/ddb/db_command.h |
| Source file: ./sys/ddb/db_interface.h |
| Source file: ./sys/ddb/db_lex.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| db_read_line |
|
2 |
10 |
47 |
1 |
| db_flush_line |
|
1 |
5 |
14 |
1 |
| db_read_char |
|
3 |
13 |
49 |
1 |
| db_unread_char |
|
1 |
4 |
11 |
1 |
| db_unread_token |
|
1 |
4 |
11 |
1 |
| db_read_token |
|
2 |
11 |
35 |
1 |
| db_flush_lex |
|
1 |
6 |
18 |
1 |
| db_lex |
|
75 |
145 |
749 |
1 |
| Source file: ./sys/ddb/db_expr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| db_term |
|
13 |
48 |
233 |
1 |
| db_unary |
|
5 |
21 |
112 |
1 |
| db_mult_expr |
|
11 |
30 |
158 |
1 |
| db_add_expr |
|
6 |
21 |
100 |
1 |
| db_shift_expr |
|
7 |
25 |
122 |
1 |
| db_expression |
|
1 |
4 |
16 |
1 |
| Source file: ./sys/ddb/db_run.h |
| Source file: ./sys/ddb/db_prof.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| db_prof_init |
|
2 |
9 |
46 |
1 |
| db_prof_forall |
|
10 |
26 |
202 |
5 |
| db_prof_enable |
|
5 |
23 |
123 |
1 |
| db_prof_disable |
|
2 |
16 |
93 |
1 |
| db_prof_hook |
|
5 |
17 |
90 |
1 |
| db_prof_count |
|
13 |
62 |
371 |
2 |
| Source file: ./sys/ddb/db_input.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| db_putstring |
|
2 |
5 |
25 |
2 |
| db_putnchars |
|
2 |
5 |
22 |
2 |
| db_delete |
|
3 |
15 |
84 |
2 |
| db_delete_line |
|
1 |
6 |
30 |
1 |
| db_inputchar |
|
55 |
160 |
809 |
1 |
| db_readline |
|
2 |
13 |
64 |
2 |
| Source file: ./sys/ddb/db_dwarf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| read_bytes |
|
2 |
9 |
57 |
3 |
| read_s8 |
|
1 |
4 |
29 |
2 |
| read_u8 |
|
1 |
4 |
29 |
2 |
| read_u16 |
|
1 |
4 |
29 |
2 |
| read_u32 |
|
1 |
4 |
29 |
2 |
| read_u64 |
|
1 |
4 |
29 |
2 |
| read_leb128 |
|
7 |
17 |
117 |
3 |
| read_sleb128 |
|
1 |
4 |
29 |
2 |
| read_uleb128 |
|
1 |
4 |
25 |
2 |
| read_string |
|
2 |
11 |
78 |
2 |
| read_buf |
|
2 |
10 |
61 |
3 |
| skip_bytes |
|
2 |
8 |
42 |
2 |
| read_filename |
|
16 |
38 |
256 |
5 |
| db_dwarf_line_at_pc |
|
44 |
144 |
750 |
6 |
| usage |
|
1 |
5 |
21 |
1 |
| main |
|
28 |
94 |
694 |
2 |
| Source file: ./sys/ddb/db_ctf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| db_ctf_init |
|
6 |
26 |
184 |
1 |
| db_ctf_idx2sym |
|
3 |
14 |
91 |
2 |
| db_ctf_func_numargs |
|
9 |
28 |
178 |
1 |
| db_ctf_type_len |
|
20 |
58 |
274 |
1 |
| db_ctf_type_by_symbol |
|
6 |
19 |
112 |
1 |
| db_ctf_type_by_name |
|
7 |
26 |
162 |
2 |
| db_ctf_type_by_index |
|
5 |
22 |
110 |
1 |
| db_ctf_pprint |
|
15 |
35 |
152 |
2 |
| db_ctf_pprint_struct |
|
9 |
46 |
314 |
2 |
| db_ctf_pprint_ptr |
|
6 |
32 |
167 |
2 |
| db_ctf_off2name |
|
5 |
14 |
90 |
1 |
| db_ctf_decompress |
|
6 |
36 |
230 |
3 |
| db_ctf_pprint_cmd |
|
5 |
31 |
164 |
4 |
| db_ctf_show_struct |
|
5 |
31 |
167 |
4 |
| Source file: ./sys/ddb/db_watch.h |
| Source file: ./sys/ddb/db_sym.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ddb_init |
|
7 |
21 |
124 |
1 |
| db_eqname |
|
3 |
8 |
57 |
3 |
| db_search_symbol |
|
2 |
14 |
72 |
3 |
| db_printsym |
|
8 |
30 |
202 |
3 |
| Source file: ./sys/ddb/db_output.h |
| Source file: ./sys/ddb/db_watch.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| db_watchpoint_alloc |
|
3 |
15 |
66 |
1 |
| db_watchpoint_free |
|
1 |
5 |
17 |
1 |
| db_set_watchpoint |
|
5 |
19 |
103 |
2 |
| db_delete_watchpoint |
|
4 |
13 |
72 |
1 |
| db_list_watchpoints |
|
3 |
12 |
62 |
1 |
| db_deletewatch_cmd |
|
1 |
4 |
22 |
4 |
| db_watchpoint_cmd |
|
2 |
11 |
54 |
4 |
| db_listwatch_cmd |
|
1 |
4 |
21 |
4 |
| db_set_watchpoints |
|
4 |
12 |
70 |
1 |
| db_clear_watchpoints |
|
1 |
4 |
10 |
1 |
| Source file: ./sys/ddb/db_output.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| db_force_whitespace |
|
4 |
19 |
69 |
1 |
| db_more |
|
7 |
26 |
103 |
1 |
| db_putchar |
|
11 |
33 |
148 |
1 |
| db_print_position |
|
1 |
4 |
11 |
1 |
| db_end_line |
|
2 |
5 |
20 |
1 |
| db_format |
|
9 |
16 |
107 |
6 |
| db_stack_dump |
|
2 |
14 |
61 |
1 |
| db_print_stack_trace |
|
2 |
9 |
56 |
1 |
| Source file: ./sys/ddb/db_variables.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| db_find_variable |
|
6 |
22 |
117 |
1 |
| db_get_variable |
|
2 |
8 |
39 |
1 |
| db_set_variable |
|
2 |
8 |
39 |
1 |
| db_read_variable |
|
2 |
8 |
62 |
2 |
| db_write_variable |
|
2 |
8 |
62 |
2 |
| db_set_cmd |
|
6 |
23 |
119 |
4 |
| db_var_rw_int |
|
2 |
8 |
52 |
3 |
| Source file: ./sys/ddb/db_run.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| db_stop_at_pc |
|
31 |
75 |
413 |
2 |
| db_restart_at_pc |
|
10 |
26 |
144 |
2 |
| db_single_step |
|
2 |
7 |
25 |
1 |
| db_single_step_cmd |
|
3 |
13 |
66 |
4 |
| db_trace_until_call_cmd |
|
2 |
11 |
51 |
4 |
| db_trace_until_matching_cmd |
|
2 |
12 |
55 |
4 |
| db_continue_cmd |
|
2 |
9 |
43 |
4 |
| db_set_single_step |
|
6 |
16 |
108 |
1 |
| db_clear_single_step |
|
3 |
11 |
42 |
1 |
| Source file: ./sys/ddb/db_extern.h |
| Source file: ./sys/ddb/db_access.h |
| Source file: ./sys/ddb/db_lex.h |
| Source file: ./sys/ddb/db_sym.h |
| Source file: ./sys/ddb/db_trap.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| db_trap |
|
9 |
40 |
191 |
2 |
| Source file: ./sys/ddb/db_access.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| db_get_value |
|
9 |
17 |
145 |
3 |
| db_put_value |
|
6 |
14 |
90 |
3 |
| Source file: ./sys/ddb/db_variables.h |
| Source file: ./sys/ddb/db_usrreq.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ddb_sysctl |
|
33 |
78 |
497 |
7 |
| Source file: ./sys/ddb/db_break.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| db_breakpoint_alloc |
|
3 |
15 |
66 |
1 |
| db_breakpoint_free |
|
1 |
5 |
17 |
1 |
| db_set_breakpoint |
|
5 |
23 |
101 |
2 |
| db_delete_breakpoint |
|
4 |
17 |
78 |
1 |
| db_find_breakpoint |
|
3 |
8 |
44 |
1 |
| db_set_breakpoints |
|
3 |
13 |
69 |
1 |
| db_clear_breakpoints |
|
3 |
9 |
48 |
1 |
| db_set_temp_breakpoint |
|
4 |
20 |
112 |
1 |
| db_delete_temp_breakpoint |
|
1 |
5 |
25 |
1 |
| db_list_breakpoints |
|
3 |
14 |
72 |
1 |
| db_delete_cmd |
|
1 |
4 |
25 |
4 |
| db_breakpoint_cmd |
|
2 |
6 |
38 |
4 |
| db_listbreak_cmd |
|
1 |
4 |
21 |
4 |
| Source file: ./sys/ddb/db_hangman.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| db_hang_forall |
|
2 |
6 |
45 |
5 |
| db_randomsym |
|
4 |
18 |
121 |
1 |
| db_hang |
|
15 |
24 |
202 |
3 |
| db_hangman |
|
19 |
57 |
304 |
4 |
| Source file: ./sys/ddb/db_command.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| db_skip_to_eol |
|
2 |
7 |
25 |
1 |
| db_cmd_search |
|
6 |
30 |
141 |
3 |
| db_cmd_list |
|
2 |
8 |
45 |
1 |
| db_command |
|
19 |
108 |
471 |
2 |
| db_buf_print_cmd |
|
2 |
7 |
48 |
4 |
| db_map_print_cmd |
|
2 |
7 |
49 |
4 |
| db_malloc_print_cmd |
|
1 |
4 |
22 |
4 |
| db_mbuf_print_cmd |
|
1 |
4 |
28 |
4 |
| db_socket_print_cmd |
|
1 |
4 |
28 |
4 |
| db_mount_print_cmd |
|
2 |
7 |
49 |
4 |
| db_show_all_mounts |
|
2 |
11 |
67 |
4 |
| db_show_all_vnodes |
|
2 |
7 |
47 |
4 |
| db_show_all_bufs |
|
2 |
7 |
47 |
4 |
| db_object_print_cmd |
|
2 |
7 |
49 |
4 |
| db_page_print_cmd |
|
2 |
7 |
49 |
4 |
| db_vnode_print_cmd |
|
2 |
7 |
48 |
4 |
| db_nfsreq_print_cmd |
|
2 |
8 |
48 |
4 |
| db_nfsnode_print_cmd |
|
2 |
8 |
48 |
4 |
| db_show_panic_cmd |
|
2 |
7 |
34 |
4 |
| db_extent_print_cmd |
|
1 |
4 |
21 |
4 |
| db_pool_print_cmd |
|
1 |
4 |
31 |
4 |
| db_proc_print_cmd |
|
2 |
6 |
43 |
4 |
| db_uvmexp_print_cmd |
|
1 |
4 |
22 |
4 |
| db_bcstats_print_cmd |
|
1 |
4 |
22 |
4 |
| db_machine_commands_install |
|
1 |
5 |
20 |
1 |
| db_help_cmd |
|
1 |
4 |
22 |
4 |
| db_command_loop |
|
4 |
22 |
107 |
1 |
| db_error |
|
3 |
8 |
34 |
1 |
| db_fncall |
|
9 |
49 |
307 |
4 |
| db_boot_sync_cmd |
|
1 |
4 |
26 |
4 |
| db_boot_crash_cmd |
|
1 |
4 |
28 |
4 |
| db_boot_dump_cmd |
|
1 |
4 |
26 |
4 |
| db_boot_halt_cmd |
|
1 |
4 |
28 |
4 |
| db_boot_reboot_cmd |
|
1 |
4 |
28 |
4 |
| db_boot_poweroff_cmd |
|
1 |
4 |
30 |
4 |
| db_dmesg_cmd |
|
7 |
18 |
121 |
4 |
| db_stack_trace_cmd |
|
1 |
5 |
30 |
4 |
| db_show_regs |
|
6 |
21 |
174 |
4 |
| db_write_cmd |
|
9 |
46 |
222 |
4 |
| Source file: ./sys/kern/sys_futex.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| futex_init |
|
1 |
5 |
29 |
1 |
| sys_futex |
|
4 |
33 |
196 |
3 |
| futex_get |
|
5 |
20 |
129 |
2 |
| futex_put |
|
2 |
11 |
65 |
1 |
| futex_wait |
|
12 |
42 |
287 |
3 |
| futex_requeue |
|
6 |
25 |
171 |
4 |
| futex_wake |
|
1 |
4 |
23 |
2 |
| Source file: ./sys/ddb/db_elf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| db_elf_sym_init |
|
17 |
78 |
630 |
4 |
| db_elf_find_strtab |
|
4 |
15 |
140 |
1 |
| db_elf_find_section |
|
4 |
16 |
142 |
3 |
| db_elf_sym_lookup |
|
6 |
19 |
120 |
1 |
| db_elf_sym_search |
|
20 |
51 |
279 |
3 |
| db_symbol_values |
|
6 |
21 |
107 |
3 |
| db_elf_line_at_pc |
|
5 |
22 |
153 |
4 |
| db_elf_sym_forall |
|
9 |
36 |
196 |
2 |
| db_symbol_by_name |
|
2 |
9 |
49 |
2 |
| Source file: ./sys/kern/kern_clock.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| initclocks |
|
5 |
18 |
103 |
1 |
| hardclock |
|
12 |
31 |
216 |
1 |
| tvtohz |
|
7 |
21 |
141 |
1 |
| tstohz |
|
3 |
13 |
73 |
1 |
| startprofclock |
|
4 |
13 |
71 |
1 |
| stopprofclock |
|
4 |
13 |
67 |
1 |
| statclock |
|
23 |
61 |
378 |
1 |
| sysctl_clockrate |
|
2 |
11 |
85 |
3 |
| Source file: ./sys/ddb/db_examine.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| db_examine_cmd |
|
3 |
8 |
61 |
4 |
| db_examine |
|
37 |
148 |
759 |
3 |
| db_print_cmd |
|
12 |
40 |
278 |
4 |
| db_print_loc_and_inst |
|
1 |
6 |
31 |
1 |
| db_strlcpy |
|
8 |
19 |
110 |
3 |
| db_search_cmd |
|
11 |
56 |
269 |
4 |
| db_search |
|
4 |
11 |
63 |
5 |
| Source file: ./sys/kern/subr_prof.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| prof_init |
|
6 |
50 |
318 |
1 |
| prof_state_toggle |
|
7 |
21 |
93 |
2 |
| sysctl_doprof |
|
10 |
42 |
272 |
6 |
| sys_profil |
|
3 |
23 |
160 |
3 |
| addupc_intr |
|
3 |
11 |
73 |
2 |
| addupc_task |
|
7 |
21 |
149 |
3 |
| Source file: ./sys/kern/exec_subr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| new_vmcmd |
|
3 |
17 |
130 |
8 |
| vmcmdset_extend |
|
4 |
16 |
120 |
1 |
| kill_vmcmds |
|
4 |
16 |
108 |
1 |
| exec_process_vmcmds |
|
7 |
21 |
138 |
2 |
| vmcmd_map_pagedvn |
|
7 |
24 |
164 |
2 |
| vmcmd_map_readvn |
|
5 |
27 |
207 |
2 |
| vmcmd_map_zero |
|
2 |
10 |
86 |
2 |
| vmcmd_randomize |
|
6 |
25 |
151 |
2 |
| exec_setup_stack |
|
5 |
30 |
253 |
2 |
| Source file: ./sys/kern/uipc_socket2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| soisconnecting |
|
1 |
6 |
30 |
1 |
| soisconnected |
|
3 |
16 |
95 |
1 |
| soisdisconnecting |
|
1 |
9 |
50 |
1 |
| soisdisconnected |
|
1 |
9 |
56 |
1 |
| sonewconn |
|
8 |
49 |
403 |
2 |
| soqinsque |
|
4 |
15 |
91 |
3 |
| soqremque |
|
4 |
18 |
107 |
2 |
| socantsendmore |
|
1 |
6 |
25 |
1 |
| socantrcvmore |
|
1 |
6 |
25 |
1 |
| solock |
|
4 |
11 |
67 |
1 |
| sounlock |
|
2 |
5 |
18 |
1 |
| soassertlocked |
|
6 |
15 |
50 |
1 |
| sosleep |
|
4 |
9 |
92 |
5 |
| sbwait |
|
2 |
8 |
58 |
2 |
| sblock |
|
6 |
19 |
131 |
3 |
| sbunlock |
|
2 |
9 |
49 |
2 |
| sowakeup |
|
3 |
13 |
86 |
2 |
| soreserve |
|
6 |
21 |
156 |
3 |
| sbreserve |
|
5 |
13 |
111 |
3 |
| sbcheckreserve |
|
3 |
6 |
30 |
2 |
| sbchecklowmem |
|
5 |
11 |
87 |
1 |
| sbrelease |
|
1 |
5 |
31 |
2 |
| sblastrecordchk |
|
5 |
14 |
99 |
2 |
| sblastmbufchk |
|
8 |
21 |
146 |
2 |
| sbappend |
|
5 |
19 |
117 |
3 |
| sbappendstream |
|
2 |
11 |
94 |
3 |
| sbcheck |
|
8 |
20 |
139 |
1 |
| sbappendrecord |
|
5 |
19 |
129 |
3 |
| sbinsertoob |
|
9 |
32 |
192 |
2 |
| sbappendaddr |
|
11 |
39 |
279 |
5 |
| sbappendcontrol |
|
7 |
29 |
203 |
4 |
| sbcompress |
|
17 |
47 |
304 |
3 |
| sbflush |
|
3 |
12 |
109 |
2 |
| sbdrop |
|
14 |
45 |
277 |
3 |
| sbdroprecord |
|
3 |
13 |
70 |
1 |
| sbcreatecontrol |
|
5 |
26 |
177 |
4 |
| Source file: ./sys/kern/kern_task.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| taskq_init |
|
1 |
5 |
20 |
1 |
| taskq_create |
|
2 |
17 |
115 |
4 |
| taskq_destroy |
|
4 |
21 |
125 |
1 |
| taskq_create_thread |
|
7 |
33 |
190 |
1 |
| taskq_barrier |
|
2 |
11 |
66 |
1 |
| taskq_barrier_task |
|
1 |
6 |
25 |
1 |
| task_set |
|
1 |
6 |
41 |
3 |
| task_add |
|
4 |
16 |
104 |
2 |
| task_del |
|
3 |
14 |
95 |
2 |
| taskq_sleep |
|
1 |
10 |
72 |
5 |
| taskq_next_work |
|
5 |
20 |
154 |
3 |
| taskq_thread |
|
7 |
27 |
180 |
1 |
| Source file: ./sys/kern/sys_process.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sys_ptrace |
|
51 |
152 |
710 |
3 |
| ptrace_ctrl |
|
52 |
114 |
787 |
5 |
| ptrace_kstate |
|
14 |
52 |
296 |
4 |
| ptrace_ustate |
|
32 |
108 |
634 |
6 |
| process_tprfind |
|
4 |
16 |
87 |
2 |
| process_checktracestate |
|
7 |
14 |
89 |
3 |
| process_checkioperm |
|
6 |
13 |
105 |
2 |
| process_domem |
|
8 |
23 |
158 |
4 |
| process_auxv_offset |
|
9 |
35 |
269 |
3 |
| Source file: ./sys/kern/tty_conf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| nullioctl |
|
1 |
4 |
30 |
5 |
| Source file: ./sys/kern/kern_mutex.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _mtx_init_flags |
|
2 |
12 |
79 |
5 |
| _mtx_enter |
|
1 |
7 |
58 |
3 |
| _mtx_enter_try |
|
2 |
9 |
53 |
3 |
| _mtx_leave |
|
1 |
6 |
43 |
3 |
| Source file: ./sys/kern/vfs_cache.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| namecache_compare |
|
2 |
7 |
56 |
2 |
| cache_tree_init |
|
1 |
4 |
16 |
1 |
| cache_zap |
|
14 |
30 |
210 |
1 |
| cache_lookup |
|
25 |
95 |
605 |
3 |
| cache_revlookup |
|
13 |
40 |
232 |
4 |
| cache_enter |
|
19 |
52 |
344 |
3 |
| nchinit |
|
1 |
7 |
40 |
1 |
| cache_purge |
|
5 |
12 |
93 |
1 |
| cache_purgevfs |
|
5 |
14 |
89 |
1 |
| Source file: ./sys/kern/kern_tc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dummy_get_timecount |
|
1 |
5 |
19 |
1 |
| tc_delta |
|
1 |
7 |
40 |
1 |
| binuptime |
|
3 |
11 |
64 |
1 |
| nanouptime |
|
1 |
6 |
27 |
1 |
| microuptime |
|
1 |
6 |
27 |
1 |
| bintime |
|
1 |
5 |
22 |
1 |
| nanotime |
|
1 |
6 |
27 |
1 |
| microtime |
|
1 |
6 |
27 |
1 |
| getnanouptime |
|
3 |
10 |
53 |
1 |
| getmicrouptime |
|
3 |
10 |
53 |
1 |
| getnanotime |
|
3 |
10 |
50 |
1 |
| getmicrotime |
|
3 |
10 |
50 |
1 |
| tc_init |
|
7 |
27 |
155 |
1 |
| tc_getfrequency |
|
1 |
4 |
15 |
1 |
| tc_setrealtimeclock |
|
2 |
19 |
121 |
1 |
| tc_setclock |
|
4 |
24 |
154 |
1 |
| tc_windup |
|
8 |
46 |
320 |
1 |
| sysctl_tc_hardware |
|
5 |
20 |
163 |
4 |
| sysctl_tc_choice |
|
3 |
21 |
168 |
4 |
| tc_ticktock |
|
2 |
8 |
27 |
1 |
| inittimecounter |
|
4 |
12 |
73 |
1 |
| sysctl_tc |
|
6 |
19 |
124 |
6 |
| ntp_update_second |
|
2 |
11 |
60 |
1 |
| tc_adjfreq |
|
3 |
10 |
45 |
2 |
| Source file: ./sys/kern/vfs_getcwd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| vfs_getcwd_scandir |
|
17 |
112 |
627 |
5 |
| vfs_getcwd_getcache |
|
8 |
38 |
221 |
4 |
| vfs_getcwd_common |
|
26 |
84 |
462 |
7 |
| sys___getcwd |
|
4 |
24 |
181 |
3 |
| Source file: ./sys/kern/kern_uuid.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| uuid_snprintf |
|
1 |
10 |
107 |
3 |
| uuid_printf |
|
1 |
7 |
43 |
1 |
| be16dec |
|
1 |
5 |
39 |
1 |
| be32dec |
|
1 |
5 |
62 |
1 |
| le16dec |
|
1 |
5 |
39 |
1 |
| le32dec |
|
1 |
5 |
62 |
1 |
| be16enc |
|
1 |
6 |
44 |
2 |
| be32enc |
|
1 |
8 |
72 |
2 |
| le16enc |
|
1 |
6 |
44 |
2 |
| le32enc |
|
1 |
8 |
72 |
2 |
| uuid_enc_le |
|
2 |
12 |
99 |
2 |
| uuid_dec_le |
|
2 |
12 |
100 |
2 |
| uuid_enc_be |
|
2 |
12 |
99 |
2 |
| uuid_dec_be |
|
2 |
12 |
100 |
2 |
| Source file: ./sys/kern/kern_xxx.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sys_reboot |
|
3 |
12 |
76 |
3 |
| reboot |
|
2 |
6 |
29 |
1 |
| __stack_smash_handler |
|
1 |
4 |
19 |
2 |
| scdebug_call |
|
11 |
29 |
210 |
3 |
| scdebug_ret |
|
8 |
22 |
157 |
4 |
| Source file: ./sys/kern/kern_descrip.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| filedesc_init |
|
1 |
8 |
56 |
1 |
| find_next_zero |
|
6 |
24 |
141 |
3 |
| find_last_set |
|
7 |
17 |
115 |
2 |
| fd_used |
|
3 |
10 |
85 |
2 |
| fd_unused |
|
6 |
14 |
121 |
2 |
| fd_getfile |
|
4 |
9 |
64 |
2 |
| fd_getfile_mode |
|
3 |
9 |
62 |
3 |
| sys_dup |
|
4 |
28 |
166 |
3 |
| sys_dup2 |
|
1 |
6 |
50 |
3 |
| sys_dup3 |
|
3 |
11 |
92 |
3 |
| dodup3 |
|
11 |
38 |
245 |
5 |
| sys_fcntl |
|
56 |
215 |
1443 |
3 |
| finishdup |
|
7 |
27 |
186 |
6 |
| fdremove |
|
1 |
7 |
42 |
2 |
| fdrelease |
|
3 |
16 |
102 |
2 |
| sys_close |
|
2 |
13 |
85 |
3 |
| sys_fstat |
|
7 |
24 |
181 |
3 |
| sys_fpathconf |
|
6 |
35 |
190 |
3 |
| fdalloc |
|
9 |
37 |
270 |
3 |
| fdexpand |
|
6 |
52 |
460 |
1 |
| falloc |
|
5 |
38 |
254 |
4 |
| fdinit |
|
1 |
17 |
134 |
1 |
| fdshare |
|
1 |
5 |
23 |
1 |
| fdcopy |
|
12 |
62 |
505 |
1 |
| fdfree |
|
8 |
33 |
250 |
1 |
| closef |
|
7 |
21 |
148 |
2 |
| fdrop |
|
4 |
15 |
91 |
2 |
| sys_flock |
|
7 |
43 |
276 |
3 |
| filedescopen |
|
1 |
5 |
32 |
4 |
| dupfdopen |
|
8 |
27 |
224 |
3 |
| fdcloseexec |
|
3 |
12 |
78 |
1 |
| sys_closefrom |
|
3 |
16 |
104 |
3 |
| sys_getdtablecount |
|
1 |
5 |
31 |
3 |
| Source file: ./sys/kern/sched_bsd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| scheduler_start |
|
1 |
7 |
34 |
1 |
| roundrobin |
|
4 |
16 |
79 |
1 |
| schedcpu |
|
10 |
43 |
310 |
1 |
| updatepri |
|
4 |
15 |
90 |
1 |
| yield |
|
1 |
13 |
60 |
1 |
| preempt |
|
1 |
12 |
56 |
1 |
| mi_switch |
|
13 |
60 |
384 |
1 |
| resched_proc |
|
3 |
7 |
50 |
2 |
| setrunnable |
|
11 |
26 |
139 |
1 |
| resetpriority |
|
1 |
10 |
61 |
1 |
| schedclock |
|
2 |
10 |
56 |
1 |
| setperf_auto |
|
15 |
53 |
317 |
1 |
| sysctl_hwsetperf |
|
6 |
19 |
109 |
4 |
| sysctl_hwperfpolicy |
|
12 |
41 |
242 |
4 |
| Source file: ./sys/kern/uipc_proto.c |
| Source file: ./sys/kern/uipc_mbuf2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| m_pulldown |
|
27 |
87 |
623 |
4 |
| m_dup1 |
|
10 |
32 |
203 |
4 |
| m_tag_get |
|
5 |
14 |
86 |
3 |
| m_tag_prepend |
|
1 |
5 |
38 |
2 |
| m_tag_delete |
|
1 |
10 |
75 |
2 |
| m_tag_delete_chain |
|
2 |
9 |
62 |
1 |
| m_tag_find |
|
5 |
16 |
103 |
3 |
| m_tag_copy |
|
2 |
9 |
63 |
2 |
| m_tag_copy_chain |
|
3 |
19 |
126 |
3 |
| m_tag_init |
|
1 |
4 |
19 |
1 |
| m_tag_first |
|
1 |
4 |
22 |
1 |
| m_tag_next |
|
1 |
4 |
24 |
2 |
| Source file: ./sys/kern/kern_kthread.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| kthread_create |
|
3 |
14 |
106 |
4 |
| kthread_exit |
|
3 |
8 |
50 |
1 |
| kthread_create_deferred |
|
3 |
14 |
87 |
2 |
| kthread_run_deferred_queue |
|
2 |
10 |
64 |
1 |
| Source file: ./sys/kern/kern_subr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| uiomove |
|
16 |
49 |
298 |
3 |
| ureadc |
|
9 |
34 |
177 |
2 |
| hashinit |
|
5 |
16 |
119 |
4 |
| hashfree |
|
3 |
10 |
71 |
3 |
| hook_establish |
|
3 |
15 |
97 |
4 |
| hook_disestablish |
|
5 |
13 |
82 |
2 |
| dohooks |
|
4 |
16 |
118 |
2 |
| Source file: ./sys/kern/tty_nmea.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| nmeaattach |
|
1 |
3 |
7 |
1 |
| nmeaopen |
|
4 |
45 |
409 |
3 |
| nmeaclose |
|
2 |
13 |
102 |
3 |
| nmeainput |
|
12 |
53 |
390 |
2 |
| nmea_scan |
|
19 |
52 |
348 |
2 |
| nmea_gprmc |
|
26 |
97 |
744 |
4 |
| nmea_degrees |
|
13 |
26 |
226 |
3 |
| nmea_date_to_nano |
|
7 |
18 |
187 |
2 |
| nmea_time_to_nano |
|
18 |
41 |
245 |
2 |
| nmea_timeout |
|
2 |
16 |
104 |
1 |
| Source file: ./sys/kern/kern_sched.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sched_init_cpu |
|
2 |
12 |
80 |
1 |
| sched_kthreads_create |
|
2 |
14 |
94 |
1 |
| sched_idle |
|
9 |
49 |
284 |
1 |
| sched_exit |
|
1 |
17 |
114 |
1 |
| sched_init_runqueues |
|
3 |
7 |
32 |
1 |
| setrunqueue |
|
2 |
13 |
97 |
1 |
| remrunqueue |
|
3 |
14 |
101 |
1 |
| sched_chooseproc |
|
11 |
49 |
290 |
1 |
| sched_choosecpu_fork |
|
10 |
27 |
184 |
2 |
| sched_choosecpu |
|
13 |
35 |
234 |
1 |
| sched_steal_proc |
|
7 |
34 |
206 |
1 |
| log2 |
|
2 |
7 |
28 |
1 |
| sched_proc_to_cpu_cost |
|
7 |
23 |
154 |
2 |
| sched_peg_curproc |
|
1 |
14 |
75 |
1 |
| sched_start_secondary_cpus |
|
2 |
13 |
61 |
1 |
| sched_stop_secondary_cpus |
|
4 |
23 |
132 |
1 |
| sched_barrier_task |
|
1 |
8 |
48 |
1 |
| sched_barrier |
|
5 |
24 |
133 |
1 |
| sched_barrier |
|
1 |
3 |
9 |
1 |
| cpuset_init_cpu |
|
1 |
5 |
27 |
1 |
| cpuset_clear |
|
1 |
4 |
22 |
1 |
| cpuset_add |
|
1 |
5 |
47 |
2 |
| cpuset_del |
|
1 |
5 |
47 |
2 |
| cpuset_isset |
|
1 |
5 |
46 |
2 |
| cpuset_add_all |
|
1 |
4 |
17 |
1 |
| cpuset_copy |
|
1 |
4 |
27 |
2 |
| cpuset_first |
|
3 |
8 |
64 |
1 |
| cpuset_union |
|
2 |
6 |
59 |
3 |
| cpuset_intersection |
|
2 |
6 |
59 |
3 |
| cpuset_complement |
|
2 |
6 |
59 |
3 |
| Source file: ./sys/kern/kern_rwlock.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rw_cas |
|
2 |
7 |
40 |
3 |
| _rw_enter_read |
|
3 |
13 |
88 |
1 |
| _rw_enter_write |
|
2 |
13 |
86 |
1 |
| _rw_exit_read |
|
3 |
11 |
73 |
1 |
| _rw_exit_write |
|
3 |
11 |
71 |
1 |
| rw_enter_diag |
|
7 |
21 |
109 |
2 |
| _rw_init_flags_witness |
|
2 |
12 |
78 |
4 |
| _rw_init_flags |
|
1 |
5 |
36 |
4 |
| _rw_enter |
|
14 |
47 |
362 |
2 |
| _rw_exit |
|
6 |
23 |
124 |
1 |
| rw_status |
|
4 |
13 |
56 |
1 |
| rw_assert_wrlock |
|
3 |
7 |
55 |
1 |
| rw_assert_rdlock |
|
3 |
5 |
34 |
1 |
| rw_assert_anylock |
|
3 |
9 |
42 |
1 |
| rw_assert_unlocked |
|
2 |
5 |
26 |
1 |
| _rrw_init_flags |
|
1 |
7 |
51 |
4 |
| _rrw_enter |
|
4 |
19 |
108 |
2 |
| _rrw_exit |
|
3 |
14 |
83 |
1 |
| rrw_status |
|
1 |
4 |
20 |
1 |
| Source file: ./sys/kern/kern_proc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| procinit |
|
5 |
24 |
239 |
1 |
| uid_find |
|
5 |
22 |
133 |
1 |
| chgproccnt |
|
2 |
9 |
48 |
2 |
| inferior |
|
4 |
7 |
51 |
2 |
| tfind |
|
2 |
8 |
41 |
1 |
| prfind |
|
2 |
8 |
41 |
1 |
| pgfind |
|
2 |
8 |
41 |
1 |
| zombiefind |
|
2 |
8 |
39 |
1 |
| enterpgrp |
|
15 |
50 |
339 |
4 |
| leavepgrp |
|
3 |
9 |
60 |
1 |
| pgdelete |
|
3 |
9 |
61 |
1 |
| zapverauth |
|
1 |
6 |
27 |
1 |
| fixjobc |
|
10 |
21 |
142 |
3 |
| orphanpg |
|
2 |
13 |
68 |
1 |
| proc_printit |
|
3 |
26 |
293 |
3 |
| db_kill_cmd |
|
2 |
16 |
99 |
4 |
| db_show_all_procs |
|
34 |
103 |
586 |
4 |
| pgrpdump |
|
3 |
21 |
126 |
1 |
| Source file: ./sys/kern/sysv_msg.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| msginit |
|
1 |
16 |
85 |
1 |
| sys_msgctl |
|
1 |
7 |
60 |
3 |
| msgctl1 |
|
14 |
61 |
439 |
6 |
| sys_msgget |
|
10 |
31 |
211 |
3 |
| sys_msgsnd |
|
15 |
50 |
337 |
3 |
| sys_msgrcv |
|
10 |
46 |
299 |
3 |
| que_create |
|
4 |
32 |
246 |
3 |
| que_lookup |
|
4 |
10 |
54 |
1 |
| que_key_lookup |
|
5 |
12 |
66 |
1 |
| que_wakewriters |
|
2 |
10 |
43 |
1 |
| que_free |
|
4 |
12 |
74 |
1 |
| msg_create |
|
2 |
12 |
62 |
1 |
| msg_lookup |
|
5 |
9 |
60 |
2 |
| msg_free |
|
1 |
6 |
27 |
1 |
| msg_enqueue |
|
1 |
8 |
68 |
3 |
| msg_dequeue |
|
1 |
8 |
68 |
3 |
| msg_copyin |
|
8 |
40 |
263 |
4 |
| msg_copyout |
|
6 |
19 |
153 |
4 |
| sysctl_sysvmsg |
|
6 |
36 |
253 |
4 |
| Source file: ./sys/kern/tty_subr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| clalloc |
|
2 |
12 |
91 |
3 |
| clfree |
|
3 |
12 |
89 |
1 |
| getc |
|
6 |
22 |
143 |
1 |
| q_to_b |
|
8 |
28 |
199 |
3 |
| ndqb |
|
12 |
34 |
198 |
2 |
| ndflush |
|
8 |
27 |
166 |
2 |
| putc |
|
8 |
31 |
178 |
2 |
| clrbits |
|
5 |
26 |
177 |
3 |
| b_to_q |
|
12 |
37 |
239 |
3 |
| nextc |
|
8 |
18 |
110 |
3 |
| firstc |
|
4 |
14 |
79 |
2 |
| unputc |
|
6 |
25 |
155 |
1 |
| catq |
|
5 |
21 |
114 |
2 |
| Source file: ./sys/kern/vfs_biomem.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| buf_mem_init |
|
2 |
13 |
88 |
1 |
| buf_acquire |
|
1 |
7 |
41 |
1 |
| buf_acquire_nomap |
|
2 |
10 |
53 |
1 |
| buf_map |
|
8 |
38 |
228 |
1 |
| buf_release |
|
3 |
15 |
76 |
1 |
| buf_dealloc_mem |
|
7 |
32 |
180 |
1 |
| buf_fix_mapping |
|
2 |
9 |
58 |
2 |
| buf_unmap |
|
2 |
16 |
106 |
1 |
| buf_alloc_pages |
|
5 |
29 |
180 |
2 |
| buf_free_pages |
|
3 |
23 |
158 |
1 |
| buf_realloc_pages |
|
11 |
46 |
351 |
3 |
| Source file: ./sys/kern/kern_resource.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sys_getpriority |
|
14 |
44 |
282 |
3 |
| sys_setpriority |
|
11 |
45 |
292 |
3 |
| donice |
|
9 |
23 |
157 |
3 |
| sys_setrlimit |
|
4 |
14 |
102 |
3 |
| dosetrlimit |
|
17 |
68 |
401 |
3 |
| sys_getrlimit |
|
6 |
14 |
117 |
3 |
| tuagg_sub |
|
1 |
7 |
56 |
2 |
| tuagg_unlocked |
|
1 |
9 |
60 |
2 |
| tuagg |
|
1 |
7 |
34 |
2 |
| calctsru |
|
5 |
28 |
175 |
4 |
| calcru |
|
3 |
10 |
82 |
4 |
| sys_getrusage |
|
5 |
14 |
102 |
3 |
| dogetrusage |
|
5 |
28 |
178 |
3 |
| ruadd |
|
3 |
12 |
121 |
2 |
| limcopy |
|
2 |
15 |
91 |
1 |
| limfree |
|
2 |
6 |
28 |
1 |
| Source file: ./sys/kern/subr_userconf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| userconf_init |
|
5 |
23 |
114 |
1 |
| userconf_more |
|
5 |
17 |
75 |
1 |
| userconf_hist_cmd |
|
2 |
8 |
29 |
1 |
| userconf_hist_int |
|
2 |
10 |
57 |
1 |
| userconf_hist_eoc |
|
2 |
8 |
28 |
1 |
| userconf_pnum |
|
6 |
19 |
73 |
1 |
| userconf_pdevnam |
|
6 |
22 |
88 |
1 |
| userconf_pdev |
|
15 |
60 |
308 |
1 |
| userconf_number |
|
19 |
37 |
225 |
3 |
| userconf_device |
|
10 |
30 |
168 |
4 |
| userconf_attr |
|
9 |
22 |
134 |
2 |
| userconf_modify |
|
7 |
25 |
140 |
3 |
| userconf_change |
|
27 |
88 |
544 |
1 |
| userconf_disable |
|
12 |
51 |
247 |
1 |
| userconf_enable |
|
12 |
51 |
247 |
1 |
| userconf_help |
|
18 |
63 |
237 |
1 |
| userconf_list |
|
3 |
11 |
46 |
1 |
| userconf_show |
|
3 |
11 |
47 |
1 |
| userconf_common_attr_val |
|
11 |
48 |
201 |
3 |
| userconf_show_attr |
|
14 |
35 |
203 |
1 |
| userconf_common_dev |
|
26 |
76 |
362 |
5 |
| userconf_common_attr |
|
10 |
22 |
130 |
3 |
| userconf_add_read |
|
13 |
39 |
234 |
5 |
| userconf_add |
|
34 |
112 |
688 |
4 |
| userconf_parse |
|
67 |
159 |
970 |
1 |
| user_config |
|
4 |
14 |
62 |
1 |
| Source file: ./sys/kern/tty_msts.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mstsattach |
|
1 |
3 |
7 |
1 |
| mstsopen |
|
4 |
34 |
280 |
3 |
| mstsclose |
|
2 |
13 |
100 |
3 |
| mstsinput |
|
9 |
47 |
336 |
2 |
| msts_scan |
|
6 |
25 |
171 |
2 |
| msts_decode |
|
15 |
52 |
418 |
4 |
| msts_date_to_nano |
|
11 |
27 |
284 |
2 |
| msts_time_to_nano |
|
17 |
42 |
268 |
2 |
| msts_timeout |
|
2 |
9 |
54 |
1 |
| Source file: ./sys/kern/kern_time.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| settime |
|
4 |
19 |
113 |
1 |
| clock_gettime |
|
9 |
39 |
250 |
3 |
| sys_clock_gettime |
|
5 |
17 |
128 |
3 |
| sys_clock_settime |
|
5 |
22 |
136 |
3 |
| sys_clock_getres |
|
13 |
39 |
229 |
3 |
| sys_nanosleep |
|
14 |
48 |
319 |
3 |
| sys_gettimeofday |
|
6 |
25 |
161 |
3 |
| sys_settimeofday |
|
7 |
27 |
186 |
3 |
| sys_adjfreq |
|
8 |
24 |
174 |
3 |
| sys_adjtime |
|
8 |
31 |
222 |
3 |
| sys_getitimer |
|
6 |
29 |
248 |
3 |
| sys_setitimer |
|
11 |
48 |
341 |
3 |
| realitexpire |
|
6 |
26 |
177 |
1 |
| timespecfix |
|
5 |
9 |
53 |
1 |
| itimerfix |
|
8 |
9 |
71 |
1 |
| itimerround |
|
4 |
5 |
35 |
1 |
| itimerdecr |
|
6 |
30 |
180 |
2 |
| ratecheck |
|
4 |
13 |
85 |
2 |
| ppsratecheck |
|
9 |
24 |
150 |
3 |
| periodic_resettodr |
|
1 |
4 |
17 |
1 |
| perform_resettodr |
|
1 |
5 |
21 |
1 |
| start_periodic_resettodr |
|
1 |
4 |
14 |
1 |
| stop_periodic_resettodr |
|
1 |
5 |
20 |
1 |
| Source file: ./sys/kern/kern_synch.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sleep_queue_init |
|
2 |
6 |
30 |
1 |
| tsleep |
|
12 |
30 |
194 |
4 |
| msleep |
|
10 |
44 |
297 |
5 |
| rwsleep |
|
4 |
24 |
175 |
5 |
| sleep_setup |
|
5 |
20 |
140 |
4 |
| sleep_finish |
|
6 |
17 |
105 |
2 |
| sleep_setup_timeout |
|
2 |
5 |
26 |
2 |
| sleep_finish_timeout |
|
2 |
10 |
55 |
1 |
| sleep_setup_signal |
|
6 |
16 |
118 |
2 |
| sleep_finish_signal |
|
6 |
16 |
102 |
1 |
| endtsleep |
|
3 |
14 |
65 |
1 |
| unsleep |
|
2 |
8 |
45 |
1 |
| wakeup_n |
|
9 |
26 |
170 |
2 |
| wakeup |
|
1 |
4 |
18 |
1 |
| sys_sched_yield |
|
1 |
15 |
98 |
3 |
| thrsleep_unlock |
|
2 |
8 |
42 |
1 |
| thrsleep |
|
16 |
56 |
380 |
2 |
| sys___thrsleep |
|
3 |
16 |
105 |
3 |
| sys___thrwakeup |
|
6 |
25 |
147 |
3 |
| refcnt_init |
|
1 |
4 |
15 |
1 |
| refcnt_take |
|
2 |
7 |
37 |
1 |
| refcnt_rele |
|
1 |
7 |
36 |
1 |
| refcnt_rele_wake |
|
2 |
5 |
21 |
1 |
| refcnt_finalize |
|
2 |
11 |
63 |
2 |
| Source file: ./sys/kern/tty_pty.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ptydevname |
|
2 |
18 |
146 |
2 |
| ptyarralloc |
|
1 |
7 |
35 |
1 |
| check_pty |
|
6 |
33 |
194 |
1 |
| ptyattach |
|
2 |
8 |
33 |
1 |
| ptsopen |
|
10 |
38 |
278 |
4 |
| ptsclose |
|
1 |
10 |
85 |
4 |
| ptsread |
|
17 |
45 |
334 |
3 |
| ptswrite |
|
2 |
8 |
72 |
3 |
| ptsstart |
|
3 |
11 |
63 |
1 |
| ptsstop |
|
4 |
18 |
95 |
2 |
| ptcwakeup |
|
3 |
12 |
79 |
2 |
| ptcopen |
|
4 |
22 |
153 |
4 |
| ptcclose |
|
1 |
9 |
77 |
4 |
| ptcread |
|
22 |
57 |
403 |
3 |
| ptcwrite |
|
25 |
88 |
564 |
3 |
| ptcpoll |
|
24 |
38 |
363 |
3 |
| filt_ptcrdetach |
|
1 |
8 |
53 |
1 |
| filt_ptcread |
|
7 |
15 |
122 |
2 |
| filt_ptcwdetach |
|
1 |
8 |
53 |
1 |
| filt_ptcwrite |
|
5 |
16 |
144 |
2 |
| ptckqfilter |
|
3 |
23 |
124 |
2 |
| ptytty |
|
1 |
6 |
34 |
1 |
| ptyioctl |
|
43 |
115 |
758 |
5 |
| sysctl_pty |
|
2 |
10 |
53 |
6 |
| pty_isfree_locked |
|
3 |
6 |
38 |
1 |
| pty_isfree |
|
1 |
8 |
34 |
1 |
| pty_getfree |
|
3 |
11 |
55 |
1 |
| ptm_vn_open |
|
5 |
32 |
185 |
1 |
| ptmattach |
|
4 |
10 |
51 |
1 |
| ptmopen |
|
1 |
4 |
23 |
4 |
| ptmclose |
|
1 |
4 |
23 |
4 |
| ptmioctl |
|
14 |
100 |
724 |
5 |
| Source file: ./sys/kern/uipc_usrreq.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| uipc_setaddr |
|
3 |
12 |
93 |
2 |
| uipc_usrreq |
|
46 |
165 |
813 |
6 |
| uipc_attach |
|
9 |
30 |
171 |
2 |
| uipc_detach |
|
2 |
9 |
44 |
1 |
| unp_detach |
|
5 |
21 |
134 |
1 |
| unp_bind |
|
7 |
56 |
404 |
3 |
| unp_connect |
|
12 |
57 |
389 |
3 |
| unp_connect2 |
|
5 |
24 |
123 |
2 |
| unp_disconnect |
|
5 |
23 |
137 |
1 |
| unp_shutdown |
|
4 |
13 |
57 |
1 |
| unp_drop |
|
2 |
12 |
69 |
2 |
| unp_drain |
|
1 |
3 |
6 |
1 |
| fptounp |
|
4 |
11 |
68 |
1 |
| unp_externalize |
|
20 |
83 |
627 |
3 |
| unp_internalize |
|
17 |
79 |
579 |
2 |
| unp_gc |
|
16 |
63 |
386 |
1 |
| unp_dispose |
|
2 |
5 |
20 |
1 |
| unp_scan |
|
8 |
26 |
165 |
2 |
| unp_mark |
|
5 |
17 |
97 |
2 |
| unp_discard |
|
1 |
10 |
100 |
2 |
| unp_nam2sun |
|
9 |
28 |
210 |
3 |
| Source file: ./sys/kern/clock_subr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| leapyear |
|
4 |
13 |
63 |
1 |
| clock_ymdhms_to_secs |
|
5 |
19 |
131 |
1 |
| clock_secs_to_ymdhms |
|
4 |
24 |
176 |
2 |
| Source file: ./sys/kern/uipc_socket.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| soinit |
|
2 |
7 |
50 |
1 |
| socreate |
|
7 |
38 |
266 |
4 |
| sobind |
|
1 |
7 |
56 |
3 |
| solisten |
|
10 |
24 |
158 |
2 |
| sofree |
|
9 |
22 |
145 |
1 |
| soclose |
|
16 |
52 |
318 |
1 |
| soabort |
|
1 |
6 |
37 |
1 |
| soaccept |
|
4 |
15 |
111 |
2 |
| soconnect |
|
5 |
15 |
102 |
2 |
| soconnect2 |
|
1 |
8 |
56 |
2 |
| sodisconnect |
|
3 |
12 |
76 |
1 |
| sosend |
|
43 |
106 |
715 |
6 |
| m_getuio |
|
14 |
49 |
339 |
4 |
| sbsync |
|
4 |
12 |
78 |
2 |
| soreceive |
|
118 |
312 |
2142 |
7 |
| soshutdown |
|
4 |
22 |
105 |
2 |
| sorflush |
|
4 |
22 |
171 |
1 |
| sosplice |
|
31 |
95 |
683 |
4 |
| sounsplice |
|
3 |
11 |
84 |
3 |
| soidle |
|
2 |
11 |
61 |
1 |
| sotask |
|
2 |
11 |
53 |
1 |
| somove |
|
80 |
224 |
1554 |
2 |
| sorwakeup |
|
6 |
15 |
97 |
1 |
| sowwakeup |
|
3 |
7 |
48 |
1 |
| sosetopt |
|
64 |
147 |
896 |
4 |
| sogetopt |
|
36 |
109 |
669 |
4 |
| sohasoutofband |
|
1 |
6 |
40 |
1 |
| soo_kqfilter |
|
4 |
24 |
128 |
2 |
| filt_sordetach |
|
2 |
8 |
64 |
1 |
| filt_soread |
|
8 |
25 |
166 |
2 |
| filt_sowdetach |
|
2 |
8 |
64 |
1 |
| filt_sowrite |
|
8 |
25 |
189 |
2 |
| filt_solisten |
|
3 |
11 |
73 |
2 |
| sobuf_print |
|
1 |
18 |
199 |
2 |
| so_print |
|
3 |
48 |
538 |
2 |
| Source file: ./sys/kern/subr_log.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| initmsgbuf |
|
10 |
19 |
162 |
2 |
| initconsbuf |
|
2 |
10 |
52 |
1 |
| msgbuf_putchar |
|
6 |
17 |
122 |
2 |
| logopen |
|
2 |
7 |
36 |
4 |
| logclose |
|
2 |
11 |
57 |
4 |
| logread |
|
13 |
48 |
306 |
3 |
| logpoll |
|
3 |
13 |
81 |
3 |
| logkqfilter |
|
2 |
18 |
91 |
2 |
| filt_logrdetach |
|
1 |
7 |
39 |
1 |
| filt_logread |
|
1 |
10 |
78 |
2 |
| logwakeup |
|
4 |
13 |
67 |
1 |
| logioctl |
|
12 |
44 |
251 |
5 |
| sys_sendsyslog |
|
5 |
30 |
183 |
3 |
| dosendsyslog |
|
32 |
105 |
679 |
5 |
| Source file: ./sys/kern/subr_prf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __assert |
|
1 |
4 |
35 |
4 |
| tablefull |
|
1 |
4 |
18 |
1 |
| panic |
|
4 |
26 |
120 |
2 |
| splassert_fail |
|
6 |
17 |
68 |
3 |
| log |
|
2 |
17 |
97 |
3 |
| logpri |
|
2 |
10 |
69 |
1 |
| addlog |
|
2 |
17 |
94 |
2 |
| kputchar |
|
23 |
22 |
164 |
3 |
| uprintf |
|
3 |
10 |
68 |
2 |
| tprintf_open |
|
3 |
9 |
59 |
1 |
| tprintf_close |
|
2 |
5 |
21 |
1 |
| tprintf |
|
4 |
16 |
104 |
3 |
| ttyprintf |
|
1 |
7 |
44 |
3 |
| db_printf |
|
1 |
9 |
43 |
2 |
| db_vprintf |
|
2 |
8 |
43 |
2 |
| printf |
|
2 |
13 |
72 |
2 |
| vprintf |
|
2 |
10 |
58 |
2 |
| snprintf |
|
3 |
15 |
94 |
4 |
| vsnprintf |
|
3 |
12 |
80 |
4 |
| kprintf |
|
103 |
296 |
1551 |
5 |
| puts |
|
1 |
5 |
21 |
1 |
| putchar |
|
1 |
5 |
19 |
1 |
| Source file: ./sys/kern/kern_physio.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| physio |
|
15 |
76 |
558 |
5 |
| minphys |
|
2 |
5 |
23 |
1 |
| Source file: ./sys/kern/kern_acct.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sys_acct |
|
10 |
35 |
266 |
3 |
| acct_process |
|
5 |
41 |
364 |
1 |
| encode_comp_t |
|
4 |
20 |
103 |
2 |
| acct_start |
|
2 |
6 |
32 |
1 |
| acct_thread |
|
8 |
37 |
223 |
1 |
| acct_shutdown |
|
4 |
9 |
50 |
1 |
| Source file: ./sys/kern/sysv_sem.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| seminit |
|
1 |
11 |
95 |
1 |
| semu_alloc |
|
4 |
22 |
129 |
1 |
| semundo_adjust |
|
15 |
54 |
336 |
5 |
| semundo_clear |
|
10 |
37 |
224 |
2 |
| sys___semctl |
|
7 |
21 |
130 |
3 |
| semctl1 |
|
44 |
123 |
1037 |
8 |
| sys_semget |
|
22 |
92 |
650 |
3 |
| sys_semop |
|
46 |
172 |
1164 |
3 |
| semexit |
|
9 |
44 |
314 |
1 |
| sysctl_sysvsem |
|
38 |
92 |
616 |
6 |
| Source file: ./sys/kern/subr_poison.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| poison_value |
|
5 |
16 |
78 |
1 |
| poison_mem |
|
3 |
12 |
70 |
2 |
| poison_check |
|
4 |
18 |
100 |
4 |
| Source file: ./sys/kern/spec_vnops.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| spec_open |
|
30 |
57 |
412 |
1 |
| spec_read |
|
19 |
67 |
513 |
1 |
| spec_inactive |
|
1 |
6 |
31 |
1 |
| spec_write |
|
19 |
64 |
478 |
1 |
| spec_ioctl |
|
3 |
16 |
119 |
1 |
| spec_poll |
|
2 |
13 |
83 |
1 |
| spec_kqfilter |
|
2 |
9 |
64 |
1 |
| spec_fsync |
|
8 |
34 |
200 |
1 |
| spec_strategy |
|
2 |
10 |
69 |
1 |
| spec_close |
|
18 |
46 |
374 |
1 |
| spec_getattr |
|
2 |
8 |
62 |
1 |
| spec_setattr |
|
2 |
13 |
96 |
1 |
| spec_access |
|
2 |
8 |
62 |
1 |
| spec_print |
|
1 |
7 |
41 |
1 |
| spec_pathconf |
|
7 |
29 |
113 |
1 |
| spec_advlock |
|
1 |
7 |
56 |
1 |
| spec_badop |
|
1 |
4 |
13 |
1 |
| spec_open_clone |
|
7 |
40 |
304 |
1 |
| spec_close_clone |
|
2 |
13 |
95 |
1 |
| Source file: ./sys/kern/subr_autoconf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| config_init |
|
1 |
6 |
24 |
1 |
| mapply |
|
11 |
37 |
237 |
2 |
| config_search |
|
11 |
34 |
222 |
3 |
| config_scan |
|
9 |
22 |
139 |
2 |
| config_rootsearch |
|
5 |
21 |
135 |
3 |
| config_found_sm |
|
3 |
10 |
83 |
4 |
| config_rootfound |
|
2 |
8 |
65 |
2 |
| config_attach |
|
16 |
59 |
400 |
4 |
| config_make_softc |
|
16 |
53 |
396 |
2 |
| config_detach |
|
29 |
80 |
512 |
2 |
| config_deactivate |
|
3 |
11 |
60 |
1 |
| config_defer |
|
6 |
17 |
128 |
2 |
| config_mountroot |
|
6 |
18 |
129 |
2 |
| config_process_deferred_children |
|
3 |
14 |
97 |
1 |
| config_process_deferred_mountroot |
|
2 |
9 |
62 |
1 |
| config_pending_incr |
|
1 |
4 |
9 |
1 |
| config_pending_decr |
|
4 |
8 |
36 |
1 |
| config_detach_children |
|
4 |
16 |
106 |
2 |
| config_suspend |
|
2 |
12 |
71 |
2 |
| config_suspend_all |
|
12 |
30 |
130 |
1 |
| config_activate_children |
|
17 |
42 |
225 |
2 |
| device_lookup |
|
6 |
13 |
88 |
2 |
| device_mainbus |
|
2 |
7 |
34 |
1 |
| device_mpath |
|
3 |
8 |
39 |
1 |
| device_ref |
|
1 |
4 |
17 |
1 |
| device_unref |
|
2 |
8 |
47 |
1 |
| Source file: ./sys/kern/kern_bufq.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bufq_init |
|
6 |
28 |
185 |
2 |
| bufq_switch |
|
5 |
32 |
204 |
2 |
| bufq_destroy |
|
2 |
12 |
76 |
1 |
| bufq_queue |
|
2 |
11 |
81 |
2 |
| bufq_dequeue |
|
1 |
8 |
48 |
1 |
| bufq_requeue |
|
1 |
6 |
43 |
2 |
| bufq_peek |
|
1 |
8 |
46 |
1 |
| bufq_drain |
|
2 |
12 |
60 |
1 |
| bufq_wait |
|
3 |
14 |
78 |
1 |
| bufq_done |
|
5 |
12 |
92 |
2 |
| bufq_quiesce |
|
2 |
16 |
87 |
1 |
| bufq_restart |
|
1 |
14 |
74 |
1 |
| bufq_fifo_create |
|
2 |
9 |
49 |
1 |
| bufq_fifo_destroy |
|
1 |
5 |
28 |
1 |
| bufq_fifo_queue |
|
1 |
5 |
33 |
2 |
| bufq_fifo_dequeue |
|
2 |
9 |
49 |
1 |
| bufq_fifo_requeue |
|
1 |
5 |
33 |
2 |
| bufq_fifo_peek |
|
1 |
5 |
25 |
1 |
| bufq_simple_nscan |
|
3 |
14 |
76 |
2 |
| bufq_nscan_resort |
|
3 |
15 |
92 |
1 |
| bufq_nscan_create |
|
2 |
10 |
55 |
1 |
| bufq_nscan_destroy |
|
1 |
5 |
28 |
1 |
| bufq_nscan_queue |
|
4 |
13 |
83 |
2 |
| bufq_nscan_dequeue |
|
3 |
12 |
69 |
1 |
| bufq_nscan_requeue |
|
1 |
5 |
32 |
2 |
| bufq_nscan_peek |
|
2 |
6 |
40 |
1 |
| Source file: ./sys/kern/sys_socket.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| soo_read |
|
1 |
6 |
72 |
4 |
| soo_write |
|
1 |
5 |
63 |
4 |
| soo_ioctl |
|
11 |
55 |
353 |
4 |
| soo_poll |
|
12 |
33 |
236 |
3 |
| soo_stat |
|
4 |
18 |
167 |
3 |
| soo_close |
|
2 |
8 |
45 |
2 |
| Source file: ./sys/kern/subr_tree.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rb_n2e |
|
1 |
5 |
40 |
2 |
| rb_e2n |
|
1 |
5 |
40 |
2 |
| rbe_set |
|
1 |
6 |
40 |
2 |
| rbe_set_blackred |
|
1 |
5 |
28 |
2 |
| rbe_augment |
|
1 |
4 |
30 |
2 |
| rbe_if_augment |
|
2 |
5 |
30 |
2 |
| rbe_rotate_left |
|
6 |
28 |
178 |
3 |
| rbe_rotate_right |
|
6 |
28 |
178 |
3 |
| rbe_insert_color |
|
10 |
43 |
264 |
3 |
| rbe_remove_color |
|
24 |
77 |
533 |
4 |
| rbe_remove |
|
18 |
67 |
426 |
3 |
| _rb_remove |
|
2 |
7 |
63 |
3 |
| _rb_insert |
|
6 |
31 |
192 |
3 |
| _rb_find |
|
4 |
17 |
106 |
3 |
| _rb_nfind |
|
4 |
19 |
118 |
3 |
| _rb_next |
|
8 |
20 |
141 |
2 |
| _rb_prev |
|
8 |
20 |
137 |
2 |
| _rb_root |
|
2 |
5 |
41 |
2 |
| _rb_min |
|
3 |
10 |
67 |
2 |
| _rb_max |
|
3 |
10 |
67 |
2 |
| _rb_left |
|
2 |
6 |
49 |
2 |
| _rb_right |
|
2 |
6 |
49 |
2 |
| _rb_parent |
|
2 |
6 |
49 |
2 |
| _rb_set_left |
|
2 |
6 |
57 |
3 |
| _rb_set_right |
|
2 |
6 |
57 |
3 |
| _rb_set_parent |
|
2 |
6 |
57 |
3 |
| _rb_poison |
|
1 |
6 |
52 |
3 |
| _rb_check |
|
3 |
7 |
66 |
3 |
| Source file: ./sys/kern/init_main.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
30 |
164 |
1152 |
1 |
| check_console |
|
3 |
14 |
73 |
1 |
| start_init |
|
17 |
76 |
614 |
1 |
| start_update |
|
1 |
4 |
13 |
1 |
| start_cleaner |
|
1 |
4 |
13 |
1 |
| start_reaper |
|
1 |
4 |
12 |
1 |
| Source file: ./sys/kern/tty_tty.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cttyopen |
|
2 |
11 |
78 |
4 |
| cttyread |
|
2 |
12 |
86 |
3 |
| cttywrite |
|
2 |
12 |
86 |
3 |
| cttyioctl |
|
13 |
42 |
288 |
5 |
| cttypoll |
|
2 |
7 |
59 |
3 |
| cttykqfilter |
|
2 |
7 |
43 |
2 |
| Source file: ./sys/kern/kern_sysctl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sys_sysctl |
|
27 |
85 |
542 |
3 |
| kern_sysctl |
|
146 |
339 |
2401 |
7 |
| hw_sysctl |
|
37 |
99 |
662 |
7 |
| debug_sysctl |
|
7 |
20 |
150 |
7 |
| sysctl_int_lower |
|
4 |
13 |
110 |
5 |
| sysctl_int |
|
8 |
14 |
114 |
5 |
| sysctl_rdint |
|
5 |
12 |
85 |
4 |
| sysctl_int_arr |
|
4 |
9 |
87 |
7 |
| sysctl_quad |
|
8 |
15 |
114 |
5 |
| sysctl_rdquad |
|
5 |
12 |
85 |
4 |
| sysctl_string |
|
1 |
5 |
44 |
6 |
| sysctl_tstring |
|
1 |
5 |
44 |
6 |
| sysctl__string |
|
13 |
29 |
198 |
7 |
| sysctl_rdstring |
|
5 |
14 |
86 |
4 |
| sysctl_struct |
|
8 |
16 |
104 |
6 |
| sysctl_rdstruct |
|
5 |
13 |
77 |
5 |
| fill_file |
|
41 |
181 |
1406 |
9 |
| sysctl_file |
|
52 |
143 |
993 |
5 |
| sysctl_doproc |
|
39 |
116 |
651 |
4 |
| fill_kproc |
|
22 |
57 |
480 |
4 |
| sysctl_proc_args |
|
33 |
148 |
961 |
5 |
| sysctl_proc_cwd |
|
10 |
47 |
320 |
5 |
| sysctl_proc_nobroadcastkill |
|
10 |
29 |
200 |
7 |
| sysctl_proc_vmmap |
|
20 |
65 |
447 |
5 |
| sysctl_diskinit |
|
15 |
77 |
589 |
2 |
| sysctl_sysvipc |
|
26 |
82 |
481 |
4 |
| sysctl_intrcnt |
|
1 |
4 |
37 |
4 |
| sysctl_sensors |
|
6 |
44 |
369 |
6 |
| sysctl_cptime2 |
|
4 |
20 |
116 |
6 |
| Source file: ./sys/kern/exec_script.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| exec_script_makecmds |
|
34 |
134 |
964 |
2 |
| Source file: ./sys/kern/kern_timeout.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| timeout_from_circq |
|
1 |
4 |
21 |
1 |
| timeout_startup |
|
2 |
8 |
46 |
1 |
| timeout_proc_init |
|
1 |
4 |
13 |
1 |
| timeout_set |
|
1 |
6 |
41 |
3 |
| timeout_set_proc |
|
1 |
5 |
38 |
3 |
| timeout_add |
|
6 |
25 |
153 |
2 |
| timeout_add_tv |
|
4 |
10 |
74 |
2 |
| timeout_add_ts |
|
4 |
10 |
78 |
2 |
| timeout_add_bt |
|
4 |
11 |
97 |
2 |
| timeout_add_sec |
|
2 |
8 |
47 |
2 |
| timeout_add_msec |
|
4 |
10 |
63 |
2 |
| timeout_add_usec |
|
3 |
7 |
43 |
2 |
| timeout_add_nsec |
|
3 |
7 |
47 |
2 |
| timeout_del |
|
2 |
13 |
65 |
1 |
| timeout_barrier |
|
3 |
22 |
127 |
1 |
| timeout_proc_barrier |
|
1 |
6 |
24 |
1 |
| timeout_hardclock_update |
|
4 |
17 |
100 |
1 |
| timeout_run |
|
1 |
13 |
70 |
1 |
| softclock |
|
7 |
27 |
163 |
1 |
| softclock_create_thread |
|
2 |
5 |
26 |
1 |
| softclock_thread |
|
4 |
25 |
137 |
1 |
| timeout_adjust_ticks |
|
5 |
23 |
142 |
1 |
| db_show_callout_bucket |
|
3 |
15 |
108 |
1 |
| db_show_callout |
|
2 |
9 |
63 |
4 |
| Source file: ./sys/kern/syscalls.c |
| Source file: ./sys/kern/kern_event.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| KQREF |
|
1 |
4 |
14 |
1 |
| KQRELE |
|
2 |
6 |
28 |
1 |
| kqueue_init |
|
1 |
7 |
50 |
1 |
| filt_fileattach |
|
1 |
5 |
30 |
1 |
| kqueue_kqfilter |
|
2 |
9 |
64 |
2 |
| filt_kqdetach |
|
1 |
5 |
36 |
1 |
| filt_kqueue |
|
1 |
6 |
40 |
2 |
| filt_procattach |
|
7 |
23 |
153 |
1 |
| filt_procdetach |
|
2 |
7 |
44 |
1 |
| filt_proc |
|
6 |
29 |
216 |
2 |
| filt_timer_timeout_add |
|
2 |
9 |
61 |
1 |
| filt_timerexpire |
|
2 |
8 |
42 |
1 |
| filt_timerattach |
|
2 |
13 |
74 |
1 |
| filt_timerdetach |
|
1 |
8 |
46 |
1 |
| filt_timer |
|
1 |
4 |
21 |
2 |
| filt_seltrue |
|
1 |
5 |
23 |
2 |
| filt_seltruedetach |
|
1 |
3 |
9 |
1 |
| seltrue_kqfilter |
|
3 |
12 |
47 |
2 |
| sys_kqueue |
|
3 |
25 |
164 |
3 |
| sys_kevent |
|
17 |
71 |
495 |
3 |
| kqueue_register |
|
29 |
99 |
651 |
3 |
| kqueue_scan |
|
36 |
148 |
933 |
6 |
| kqueue_read |
|
1 |
4 |
28 |
4 |
| kqueue_write |
|
1 |
4 |
28 |
4 |
| kqueue_ioctl |
|
1 |
4 |
25 |
4 |
| kqueue_poll |
|
3 |
16 |
102 |
3 |
| kqueue_stat |
|
1 |
9 |
70 |
3 |
| kqueue_close |
|
8 |
45 |
292 |
2 |
| kqueue_wakeup |
|
3 |
12 |
67 |
1 |
| knote_acquire |
|
2 |
10 |
52 |
1 |
| knote_release |
|
2 |
9 |
41 |
1 |
| knote_activate |
|
1 |
4 |
14 |
1 |
| knote |
|
2 |
7 |
48 |
2 |
| knote_remove |
|
3 |
10 |
64 |
2 |
| knote_fdclose |
|
1 |
6 |
41 |
2 |
| knote_processexit |
|
1 |
6 |
38 |
1 |
| knote_attach |
|
5 |
31 |
234 |
2 |
| knote_drop |
|
4 |
14 |
110 |
3 |
| knote_enqueue |
|
1 |
11 |
71 |
1 |
| knote_dequeue |
|
1 |
10 |
62 |
1 |
| klist_invalidate |
|
1 |
8 |
38 |
1 |
| Source file: ./sys/kern/subr_pool.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pl_enter |
|
1 |
4 |
25 |
2 |
| pl_enter_try |
|
1 |
4 |
26 |
2 |
| pl_leave |
|
1 |
4 |
25 |
2 |
| pl_assert_locked |
|
1 |
4 |
23 |
2 |
| pl_assert_unlocked |
|
1 |
4 |
23 |
2 |
| pl_sleep |
|
1 |
5 |
47 |
6 |
| phtree_compare |
|
3 |
11 |
64 |
0 |
| pr_find_pagehead |
|
4 |
17 |
145 |
0 |
| pool_init |
|
20 |
111 |
768 |
0 |
| pool_destroy |
|
8 |
33 |
207 |
0 |
| pool_request_init |
|
1 |
7 |
48 |
0 |
| pool_request |
|
1 |
7 |
53 |
0 |
| pool_get |
|
16 |
44 |
331 |
0 |
| pool_get_done |
|
1 |
8 |
55 |
0 |
| pool_runqueue |
|
11 |
41 |
316 |
0 |
| pool_do_get |
|
11 |
53 |
396 |
0 |
| pool_put |
|
10 |
28 |
204 |
0 |
| pool_do_put |
|
8 |
31 |
220 |
0 |
| pool_prime |
|
4 |
21 |
146 |
0 |
| pool_p_alloc |
|
9 |
41 |
292 |
0 |
| pool_p_free |
|
6 |
29 |
204 |
0 |
| pool_p_insert |
|
4 |
14 |
107 |
0 |
| pool_p_remove |
|
2 |
12 |
84 |
0 |
| pool_update_curpage |
|
2 |
7 |
47 |
0 |
| pool_setlowat |
|
4 |
14 |
97 |
0 |
| pool_sethiwat |
|
2 |
6 |
37 |
0 |
| pool_sethardlimit |
|
2 |
15 |
85 |
0 |
| pool_set_constraints |
|
1 |
4 |
21 |
0 |
| pool_reclaim |
|
6 |
24 |
175 |
0 |
| pool_reclaim_all |
|
1 |
8 |
37 |
0 |
| pool_printit |
|
1 |
5 |
49 |
0 |
| pool_print_pagelist |
|
2 |
16 |
117 |
0 |
| pool_print1 |
|
8 |
38 |
345 |
0 |
| db_show_all_pools |
|
7 |
56 |
372 |
0 |
| pool_chk_page |
|
13 |
63 |
420 |
0 |
| pool_chk |
|
1 |
12 |
93 |
0 |
| pool_walk |
|
5 |
33 |
226 |
0 |
| sysctl_dopool |
|
14 |
65 |
408 |
0 |
| pool_gc_sched |
|
1 |
4 |
16 |
0 |
| pool_gc_pages |
|
8 |
28 |
181 |
0 |
| pool_allocator_alloc |
|
5 |
13 |
95 |
0 |
| pool_allocator_free |
|
1 |
5 |
34 |
0 |
| pool_page_alloc |
|
1 |
7 |
59 |
0 |
| pool_page_free |
|
1 |
4 |
29 |
0 |
| pool_multi_alloc |
|
2 |
15 |
102 |
0 |
| pool_multi_free |
|
2 |
10 |
64 |
0 |
| pool_multi_alloc_ni |
|
2 |
14 |
96 |
0 |
| pool_multi_free_ni |
|
2 |
9 |
58 |
0 |
| pool_cache_init |
|
2 |
35 |
221 |
0 |
| pool_cache_item_magic |
|
1 |
6 |
65 |
0 |
| pool_cache_item_magic_check |
|
3 |
18 |
120 |
0 |
| pool_list_enter |
|
2 |
7 |
40 |
0 |
| pool_list_leave |
|
1 |
4 |
19 |
0 |
| pool_cache_list_alloc |
|
2 |
17 |
105 |
0 |
| pool_cache_list_free |
|
2 |
13 |
85 |
0 |
| pool_cache_enter |
|
1 |
8 |
47 |
0 |
| pool_cache_leave |
|
1 |
6 |
36 |
0 |
| pool_cache_get |
|
8 |
37 |
240 |
0 |
| pool_cache_put |
|
8 |
29 |
200 |
0 |
| pool_cache_list_put |
|
3 |
15 |
94 |
0 |
| pool_cache_destroy |
|
2 |
19 |
114 |
0 |
| pool_cache_gc |
|
9 |
28 |
196 |
0 |
| pool_cache_pool_info |
|
4 |
23 |
152 |
0 |
| pool_cache_info |
|
2 |
14 |
119 |
0 |
| pool_cache_cpus_info |
|
7 |
42 |
274 |
0 |
| pool_cache_init |
|
1 |
3 |
9 |
0 |
| pool_cache_pool_info |
|
1 |
3 |
14 |
0 |
| pool_cache_info |
|
1 |
4 |
22 |
0 |
| pool_cache_cpus_info |
|
1 |
4 |
22 |
0 |
| pool_lock_mtx_init |
|
1 |
5 |
39 |
0 |
| pool_lock_mtx_enter |
|
1 |
4 |
19 |
0 |
| pool_lock_mtx_enter_try |
|
1 |
4 |
22 |
0 |
| pool_lock_mtx_leave |
|
1 |
4 |
19 |
0 |
| pool_lock_mtx_assert_locked |
|
1 |
4 |
17 |
0 |
| pool_lock_mtx_assert_unlocked |
|
1 |
4 |
17 |
0 |
| pool_lock_mtx_sleep |
|
1 |
5 |
41 |
0 |
| pool_lock_rw_init |
|
1 |
5 |
35 |
0 |
| pool_lock_rw_enter |
|
1 |
4 |
19 |
0 |
| pool_lock_rw_enter_try |
|
1 |
5 |
28 |
0 |
| pool_lock_rw_leave |
|
1 |
4 |
19 |
0 |
| pool_lock_rw_assert_locked |
|
1 |
4 |
17 |
0 |
| pool_lock_rw_assert_unlocked |
|
1 |
4 |
22 |
0 |
| pool_lock_rw_sleep |
|
1 |
5 |
41 |
0 |
| Source file: ./sys/kern/kern_srp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| srpl_rc_init |
|
1 |
6 |
57 |
4 |
| srp_gc_init |
|
1 |
6 |
46 |
3 |
| srp_init |
|
1 |
4 |
15 |
1 |
| srp_swap_locked |
|
1 |
7 |
34 |
2 |
| srp_update_locked |
|
3 |
8 |
56 |
3 |
| srp_get_locked |
|
1 |
4 |
16 |
1 |
| srp_gc_finalize |
|
1 |
4 |
19 |
1 |
| srp_startup |
|
1 |
5 |
28 |
1 |
| srp_v_referenced |
|
4 |
19 |
101 |
2 |
| srp_v_dtor |
|
1 |
5 |
35 |
2 |
| srp_v_gc_start |
|
2 |
14 |
98 |
3 |
| srp_v_gc |
|
2 |
10 |
67 |
1 |
| srp_swap |
|
1 |
4 |
26 |
2 |
| srp_update |
|
3 |
8 |
56 |
3 |
| srp_v |
|
2 |
11 |
60 |
2 |
| srp_enter |
|
3 |
15 |
99 |
2 |
| srp_follow |
|
1 |
4 |
26 |
2 |
| srp_leave |
|
1 |
4 |
17 |
1 |
| srp_referenced |
|
4 |
15 |
86 |
1 |
| srp_finalize |
|
2 |
5 |
31 |
2 |
| srp_startup |
|
1 |
3 |
6 |
1 |
| srp_v_gc_start |
|
1 |
5 |
40 |
3 |
| Source file: ./sys/kern/sysv_shm.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| shm_find_segment_by_key |
|
4 |
11 |
64 |
1 |
| shm_find_segment_by_shmid |
|
5 |
11 |
66 |
1 |
| shm_deallocate_segment |
|
1 |
11 |
57 |
1 |
| shm_delete_mapping |
|
6 |
21 |
142 |
2 |
| sys_shmdt |
|
6 |
19 |
135 |
3 |
| sys_shmat |
|
14 |
70 |
520 |
3 |
| sys_shmctl |
|
1 |
7 |
60 |
3 |
| shmctl1 |
|
13 |
49 |
349 |
6 |
| shmget_existing |
|
5 |
19 |
143 |
5 |
| shmget_allocate_segment |
|
14 |
62 |
464 |
4 |
| sys_shmget |
|
5 |
19 |
138 |
3 |
| shmfork |
|
4 |
22 |
163 |
2 |
| shmexit |
|
4 |
15 |
98 |
1 |
| shminit |
|
1 |
14 |
95 |
1 |
| sysctl_sysvshm |
|
28 |
78 |
531 |
6 |
| Source file: ./sys/kern/subr_percpu.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| percpu_init |
|
1 |
5 |
31 |
1 |
| cpumem_get |
|
2 |
9 |
62 |
1 |
| cpumem_put |
|
2 |
7 |
51 |
2 |
| cpumem_malloc |
|
2 |
10 |
74 |
2 |
| cpumem_malloc_ncpus |
|
2 |
11 |
93 |
3 |
| cpumem_free |
|
2 |
8 |
63 |
3 |
| cpumem_first |
|
1 |
5 |
30 |
2 |
| cpumem_next |
|
2 |
7 |
44 |
2 |
| counters_alloc |
|
2 |
15 |
85 |
1 |
| counters_alloc_ncpus |
|
1 |
5 |
33 |
2 |
| counters_free |
|
1 |
5 |
30 |
2 |
| counters_read |
|
8 |
33 |
226 |
3 |
| counters_zero |
|
3 |
14 |
86 |
2 |
| percpu_init |
|
1 |
3 |
6 |
1 |
| cpumem_get |
|
1 |
4 |
21 |
1 |
| cpumem_put |
|
1 |
4 |
21 |
2 |
| cpumem_malloc |
|
1 |
4 |
24 |
2 |
| cpumem_malloc_ncpus |
|
1 |
4 |
20 |
3 |
| cpumem_free |
|
1 |
4 |
24 |
3 |
| cpumem_first |
|
1 |
4 |
19 |
2 |
| cpumem_next |
|
1 |
4 |
19 |
2 |
| counters_alloc |
|
1 |
5 |
30 |
1 |
| counters_alloc_ncpus |
|
1 |
4 |
30 |
2 |
| counters_free |
|
1 |
4 |
27 |
2 |
| counters_read |
|
2 |
11 |
70 |
3 |
| counters_zero |
|
2 |
11 |
63 |
2 |
| Source file: ./sys/kern/subr_hibernate.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| hibernate_sort_ranges |
|
4 |
19 |
150 |
1 |
| hibe_cmp |
|
2 |
6 |
46 |
2 |
| hib_entry_to_addr |
|
1 |
7 |
29 |
1 |
| hib_addr_to_entry |
|
1 |
7 |
34 |
1 |
| hib_alloc |
|
6 |
24 |
170 |
2 |
| hib_getentropy |
|
3 |
7 |
44 |
2 |
| hib_free |
|
5 |
20 |
150 |
2 |
| hiballoc_init |
|
2 |
17 |
134 |
3 |
| uvm_pmr_zero_everything |
|
4 |
29 |
185 |
1 |
| uvm_pmr_dirty_everything |
|
4 |
25 |
165 |
1 |
| uvm_pmr_alloc_pig |
|
3 |
22 |
145 |
3 |
| uvm_pmr_alloc_piglet |
|
3 |
17 |
119 |
4 |
| uvm_pmr_free_piglet |
|
1 |
5 |
34 |
2 |
| uvm_page_rle |
|
5 |
17 |
120 |
1 |
| hibsum |
|
1 |
4 |
29 |
1 |
| get_hibernate_info |
|
10 |
45 |
353 |
2 |
| hibernate_zlib_alloc |
|
1 |
7 |
41 |
3 |
| hibernate_zlib_free |
|
1 |
7 |
36 |
2 |
| hibernate_inflate_page |
|
11 |
34 |
212 |
1 |
| hibernate_inflate_region |
|
4 |
26 |
132 |
4 |
| hibernate_deflate |
|
2 |
18 |
140 |
3 |
| hibernate_write_signature |
|
1 |
6 |
38 |
1 |
| hibernate_write_chunktable |
|
3 |
19 |
109 |
1 |
| hibernate_clear_signature |
|
3 |
15 |
84 |
1 |
| hibernate_compare_signature |
|
7 |
31 |
223 |
2 |
| hibernate_block_io |
|
8 |
42 |
303 |
5 |
| hibernate_preserve_entropy |
|
2 |
14 |
102 |
1 |
| hibernate_unprotect_ssp |
|
2 |
16 |
110 |
1 |
| hibernate_reprotect_ssp |
|
1 |
5 |
31 |
1 |
| hibernate_resume |
|
10 |
67 |
336 |
1 |
| hibernate_unpack_image |
|
3 |
23 |
170 |
1 |
| hibernate_copy_chunk_to_piglet |
|
3 |
25 |
156 |
3 |
| hibernate_process_chunk |
|
1 |
10 |
77 |
3 |
| hibernate_calc_rle |
|
4 |
9 |
62 |
2 |
| hibernate_write_rle |
|
4 |
29 |
193 |
5 |
| hibernate_write_chunks |
|
20 |
121 |
729 |
1 |
| hibernate_zlib_reset |
|
3 |
24 |
173 |
2 |
| hibernate_read_image |
|
6 |
51 |
334 |
1 |
| hibernate_read_chunks |
|
14 |
77 |
548 |
5 |
| hibernate_suspend |
|
7 |
40 |
230 |
1 |
| hibernate_alloc |
|
3 |
24 |
124 |
1 |
| hibernate_free |
|
3 |
16 |
76 |
1 |
| Source file: ./sys/kern/vfs_sync.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| vn_initialize_syncerd |
|
1 |
6 |
26 |
1 |
| vn_syncer_add_to_worklist |
|
3 |
13 |
86 |
2 |
| sched_sync |
|
13 |
46 |
257 |
1 |
| speedup_syncer |
|
4 |
14 |
59 |
1 |
| vfs_allocate_syncvnode |
|
5 |
25 |
135 |
1 |
| sync_fsync |
|
4 |
19 |
120 |
1 |
| sync_inactive |
|
2 |
18 |
99 |
1 |
| sync_print |
|
1 |
5 |
18 |
1 |
| Source file: ./sys/kern/vfs_lookup.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ndinitat |
|
1 |
11 |
87 |
7 |
| namei |
|
39 |
145 |
987 |
1 |
| vfs_lookup |
|
63 |
205 |
1239 |
1 |
| vfs_relookup |
|
30 |
66 |
437 |
3 |
| Source file: ./sys/kern/init_sysent.c |
| Source file: ./sys/kern/subr_xxx.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| enodev |
|
1 |
4 |
11 |
1 |
| enxio |
|
1 |
4 |
11 |
1 |
| enoioctl |
|
1 |
4 |
11 |
1 |
| enosys |
|
1 |
4 |
11 |
1 |
| eopnotsupp |
|
1 |
4 |
13 |
1 |
| nullop |
|
1 |
4 |
13 |
1 |
| bdevsw_lookup |
|
1 |
4 |
19 |
1 |
| cdevsw_lookup |
|
1 |
4 |
19 |
1 |
| chrtoblk |
|
4 |
10 |
65 |
1 |
| blktochr |
|
4 |
11 |
69 |
1 |
| assertwaitok |
|
3 |
7 |
32 |
1 |
| Source file: ./sys/kern/tty_endrun.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| endrunattach |
|
1 |
3 |
7 |
1 |
| endrunopen |
|
5 |
35 |
286 |
3 |
| endrunclose |
|
2 |
14 |
107 |
3 |
| endruninput |
|
8 |
46 |
351 |
2 |
| endrun_scan |
|
6 |
26 |
184 |
2 |
| endrun_decode |
|
19 |
72 |
515 |
4 |
| endrun_atoi |
|
8 |
12 |
93 |
2 |
| endrun_date_to_nano |
|
7 |
29 |
220 |
3 |
| endrun_time_to_nano |
|
9 |
28 |
231 |
2 |
| endrun_offset_to_nano |
|
5 |
16 |
121 |
2 |
| endrun_timeout |
|
2 |
9 |
54 |
1 |
| Source file: ./sys/kern/uipc_domain.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| domaininit |
|
6 |
22 |
153 |
1 |
| pffinddomain |
|
3 |
10 |
55 |
1 |
| pffindtype |
|
5 |
12 |
78 |
2 |
| pffindproto |
|
10 |
19 |
134 |
3 |
| net_sysctl |
|
16 |
37 |
293 |
7 |
| pfctlinput |
|
4 |
12 |
91 |
2 |
| pfslowtimo |
|
4 |
13 |
95 |
1 |
| pffasttimo |
|
4 |
13 |
95 |
1 |
| Source file: ./sys/kern/tty.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ttyopen |
|
2 |
14 |
97 |
3 |
| ttyclose |
|
3 |
13 |
69 |
1 |
| ttyinput |
|
106 |
261 |
1888 |
2 |
| ttyoutput |
|
44 |
100 |
615 |
2 |
| ttioctl |
|
98 |
290 |
1887 |
5 |
| ttpoll |
|
12 |
27 |
227 |
3 |
| ttkqfilter |
|
3 |
23 |
137 |
2 |
| ttkqflush |
|
1 |
10 |
65 |
1 |
| filt_ttyrdetach |
|
2 |
12 |
85 |
1 |
| filt_ttyread |
|
4 |
19 |
136 |
2 |
| filt_ttywdetach |
|
2 |
12 |
85 |
1 |
| filt_ttywrite |
|
2 |
16 |
120 |
2 |
| ttnread |
|
5 |
14 |
91 |
1 |
| ttywait |
|
12 |
22 |
172 |
1 |
| ttywflush |
|
2 |
7 |
37 |
1 |
| ttyflush |
|
3 |
22 |
145 |
2 |
| ttychars |
|
1 |
4 |
23 |
1 |
| ttyblock |
|
12 |
22 |
193 |
1 |
| ttrstrt |
|
3 |
12 |
56 |
1 |
| ttstart |
|
2 |
6 |
32 |
1 |
| ttylclose |
|
2 |
8 |
43 |
3 |
| ttymodem |
|
10 |
25 |
199 |
2 |
| nullmodem |
|
6 |
16 |
102 |
2 |
| ttypend |
|
2 |
14 |
97 |
1 |
| ttvtimeout |
|
1 |
5 |
28 |
1 |
| ttread |
|
45 |
131 |
813 |
3 |
| ttyunblock |
|
8 |
16 |
122 |
1 |
| ttycheckoutq |
|
6 |
19 |
129 |
2 |
| ttwrite |
|
43 |
139 |
838 |
3 |
| ttyrub |
|
22 |
67 |
443 |
2 |
| ttyrubo |
|
2 |
8 |
51 |
2 |
| ttyretype |
|
4 |
17 |
165 |
1 |
| ttyecho |
|
12 |
20 |
163 |
2 |
| ttwakeupwr |
|
3 |
10 |
61 |
1 |
| ttwakeup |
|
2 |
7 |
50 |
1 |
| ttspeedtab |
|
3 |
7 |
47 |
2 |
| ttsetwater |
|
1 |
8 |
62 |
1 |
| process_sum |
|
3 |
15 |
79 |
2 |
| ttyinfo |
|
30 |
88 |
599 |
1 |
| tputchar |
|
5 |
16 |
109 |
2 |
| ttysleep |
|
3 |
9 |
72 |
5 |
| tty_init |
|
1 |
5 |
16 |
1 |
| ttymalloc |
|
4 |
20 |
143 |
1 |
| ttyfree |
|
3 |
13 |
90 |
1 |
| ttystats_init |
|
3 |
25 |
194 |
2 |
| sysctl_tty |
|
8 |
30 |
199 |
6 |
| ttytstamp |
|
6 |
12 |
94 |
5 |
| Source file: ./sys/kern/kern_malloc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| BUCKETINDX |
|
4 |
17 |
78 |
1 |
| malloc |
|
45 |
148 |
967 |
3 |
| free |
|
29 |
78 |
540 |
3 |
| kmeminit_nkmempages |
|
6 |
17 |
69 |
1 |
| kmeminit |
|
9 |
30 |
242 |
1 |
| sysctl_malloc |
|
26 |
71 |
567 |
7 |
| malloc_roundup |
|
2 |
6 |
30 |
1 |
| malloc_printit |
|
5 |
18 |
154 |
1 |
| mallocarray |
|
6 |
10 |
74 |
4 |
| Source file: ./sys/kern/kern_exit.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sys_exit |
|
1 |
7 |
48 |
3 |
| sys___threxit |
|
3 |
12 |
83 |
3 |
| exit1 |
|
35 |
128 |
848 |
3 |
| exit2 |
|
1 |
7 |
37 |
1 |
| proc_free |
|
1 |
6 |
27 |
1 |
| reaper |
|
5 |
31 |
178 |
1 |
| sys_wait4 |
|
12 |
19 |
190 |
3 |
| dowait4 |
|
31 |
76 |
548 |
6 |
| proc_finish_wait |
|
2 |
21 |
140 |
2 |
| proc_reparent |
|
2 |
8 |
49 |
2 |
| process_zap |
|
3 |
22 |
156 |
1 |
| Source file: ./sys/kern/exec_conf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| init_exec |
|
4 |
8 |
51 |
1 |
| Source file: ./sys/kern/vfs_vops.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| VOP_ISLOCKED |
|
2 |
8 |
49 |
1 |
| VOP_LOOKUP |
|
2 |
11 |
71 |
3 |
| VOP_CREATE |
|
2 |
13 |
87 |
4 |
| VOP_MKNOD |
|
2 |
13 |
87 |
4 |
| VOP_OPEN |
|
2 |
11 |
80 |
4 |
| VOP_CLOSE |
|
2 |
12 |
85 |
4 |
| VOP_ACCESS |
|
2 |
12 |
85 |
4 |
| VOP_GETATTR |
|
2 |
12 |
82 |
4 |
| VOP_SETATTR |
|
2 |
13 |
87 |
4 |
| VOP_READ |
|
2 |
12 |
85 |
4 |
| VOP_WRITE |
|
2 |
13 |
85 |
4 |
| VOP_IOCTL |
|
2 |
14 |
99 |
6 |
| VOP_POLL |
|
2 |
11 |
78 |
4 |
| VOP_KQFILTER |
|
2 |
9 |
60 |
2 |
| VOP_REVOKE |
|
2 |
9 |
58 |
2 |
| VOP_FSYNC |
|
2 |
13 |
85 |
4 |
| VOP_REMOVE |
|
2 |
12 |
81 |
3 |
| VOP_LINK |
|
2 |
11 |
76 |
3 |
| VOP_RENAME |
|
2 |
16 |
109 |
6 |
| VOP_MKDIR |
|
2 |
13 |
87 |
4 |
| VOP_RMDIR |
|
2 |
12 |
81 |
3 |
| VOP_SYMLINK |
|
2 |
14 |
97 |
5 |
| VOP_READDIR |
|
2 |
13 |
86 |
4 |
| VOP_READLINK |
|
2 |
11 |
76 |
3 |
| VOP_ABORTOP |
|
2 |
9 |
60 |
2 |
| VOP_INACTIVE |
|
2 |
10 |
65 |
2 |
| VOP_RECLAIM |
|
2 |
9 |
60 |
2 |
| VOP_LOCK |
|
2 |
10 |
69 |
3 |
| VOP_UNLOCK |
|
2 |
9 |
60 |
2 |
| VOP_BMAP |
|
2 |
14 |
94 |
5 |
| VOP_PRINT |
|
2 |
8 |
49 |
1 |
| VOP_PATHCONF |
|
7 |
24 |
124 |
3 |
| VOP_ADVLOCK |
|
2 |
12 |
88 |
5 |
| VOP_STRATEGY |
|
4 |
10 |
83 |
1 |
| VOP_BWRITE |
|
2 |
8 |
53 |
1 |
| Source file: ./sys/kern/dma_alloc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dma_alloc_init |
|
2 |
11 |
97 |
1 |
| dma_alloc_index |
|
4 |
9 |
59 |
1 |
| dma_alloc |
|
2 |
7 |
42 |
2 |
| dma_free |
|
2 |
7 |
39 |
2 |
| Source file: ./sys/kern/kern_fork.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fork_return |
|
2 |
7 |
42 |
1 |
| sys_fork |
|
2 |
8 |
54 |
3 |
| sys_vfork |
|
1 |
5 |
35 |
3 |
| sys___tfork |
|
8 |
18 |
141 |
3 |
| thread_new |
|
2 |
17 |
140 |
2 |
| process_initialize |
|
1 |
13 |
98 |
2 |
| process_new |
|
10 |
44 |
325 |
3 |
| fork_check_maxthread |
|
5 |
11 |
57 |
1 |
| fork_thread_start |
|
1 |
9 |
52 |
3 |
| fork1 |
|
31 |
114 |
855 |
6 |
| thread_fork |
|
7 |
45 |
308 |
5 |
| alloctid |
|
2 |
8 |
39 |
1 |
| ispidtaken |
|
6 |
14 |
87 |
1 |
| allocpid |
|
3 |
14 |
55 |
1 |
| freepid |
|
1 |
5 |
24 |
1 |
| proc_trampoline_mp |
|
1 |
9 |
32 |
1 |
| Source file: ./sys/kern/vfs_init.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| vfsinit |
|
2 |
16 |
81 |
1 |
| Source file: ./sys/kern/sys_generic.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sys_read |
|
2 |
15 |
127 |
3 |
| sys_readv |
|
2 |
13 |
110 |
3 |
| dofilereadv |
|
23 |
72 |
479 |
8 |
| sys_write |
|
2 |
15 |
131 |
3 |
| sys_writev |
|
2 |
13 |
110 |
3 |
| dofilewritev |
|
24 |
75 |
496 |
8 |
| sys_ioctl |
|
30 |
116 |
790 |
3 |
| sys_select |
|
6 |
20 |
174 |
3 |
| sys_pselect |
|
8 |
24 |
216 |
3 |
| dopselect |
|
30 |
95 |
855 |
8 |
| selscan |
|
6 |
31 |
273 |
6 |
| seltrue |
|
1 |
4 |
30 |
3 |
| selfalse |
|
1 |
4 |
20 |
3 |
| selrecord |
|
4 |
13 |
78 |
2 |
| selwakeup |
|
7 |
26 |
147 |
1 |
| pollscan |
|
5 |
24 |
159 |
4 |
| pollout |
|
3 |
12 |
72 |
3 |
| sys_poll |
|
3 |
16 |
121 |
3 |
| sys_ppoll |
|
8 |
24 |
202 |
3 |
| doppoll |
|
22 |
76 |
533 |
6 |
| sys_utrace |
|
2 |
8 |
58 |
3 |
| Source file: ./sys/kern/vfs_lockf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| lf_init |
|
1 |
5 |
28 |
1 |
| lf_alloc |
|
5 |
13 |
82 |
2 |
| lf_free |
|
1 |
7 |
36 |
1 |
| lf_advlock |
|
15 |
61 |
337 |
6 |
| lf_setlock |
|
39 |
142 |
808 |
1 |
| lf_clearlock |
|
11 |
44 |
233 |
1 |
| lf_getlock |
|
5 |
19 |
121 |
2 |
| lf_getblock |
|
4 |
12 |
84 |
1 |
| lf_findoverlap |
|
35 |
56 |
460 |
5 |
| lf_split |
|
5 |
27 |
181 |
2 |
| lf_wakelock |
|
2 |
9 |
53 |
1 |
| lf_print |
|
6 |
20 |
146 |
2 |
| lf_printlist |
|
6 |
18 |
133 |
2 |
| Source file: ./sys/kern/kern_prot.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| crset |
|
1 |
8 |
70 |
2 |
| sys_getpid |
|
1 |
5 |
31 |
3 |
| sys_getthrid |
|
1 |
5 |
31 |
3 |
| sys_getppid |
|
1 |
5 |
33 |
3 |
| sys_getpgrp |
|
1 |
5 |
33 |
3 |
| sys_getpgid |
|
5 |
15 |
112 |
3 |
| sys_getsid |
|
6 |
17 |
135 |
3 |
| sys_getuid |
|
1 |
5 |
31 |
3 |
| sys_geteuid |
|
1 |
5 |
31 |
3 |
| sys_issetugid |
|
2 |
8 |
43 |
3 |
| sys_getgid |
|
1 |
5 |
31 |
3 |
| sys_getegid |
|
1 |
5 |
31 |
3 |
| sys_getgroups |
|
4 |
21 |
129 |
3 |
| sys_setsid |
|
3 |
19 |
138 |
3 |
| sys_setpgid |
|
13 |
46 |
274 |
3 |
| sys_getresuid |
|
6 |
18 |
168 |
3 |
| sys_setresuid |
|
24 |
52 |
408 |
3 |
| sys_getresgid |
|
6 |
18 |
168 |
3 |
| sys_setresgid |
|
22 |
48 |
373 |
3 |
| sys_setregid |
|
23 |
43 |
368 |
3 |
| sys_setreuid |
|
25 |
47 |
403 |
3 |
| sys_setuid |
|
11 |
38 |
254 |
3 |
| sys_seteuid |
|
4 |
23 |
161 |
3 |
| sys_setgid |
|
9 |
32 |
214 |
3 |
| sys_setegid |
|
4 |
23 |
161 |
3 |
| sys_setgroups |
|
4 |
27 |
191 |
3 |
| groupmember |
|
4 |
12 |
79 |
2 |
| suser |
|
3 |
10 |
58 |
2 |
| suser_ucred |
|
2 |
6 |
27 |
1 |
| crget |
|
1 |
7 |
34 |
1 |
| crfree |
|
2 |
5 |
26 |
1 |
| crcopy |
|
2 |
11 |
55 |
1 |
| crdup |
|
1 |
8 |
37 |
1 |
| crfromxucred |
|
3 |
12 |
94 |
2 |
| sys_getlogin_r |
|
3 |
15 |
110 |
3 |
| sys_setlogin |
|
4 |
16 |
130 |
3 |
| proc_cansugid |
|
3 |
8 |
48 |
1 |
| sys___set_tcb |
|
3 |
10 |
57 |
3 |
| sys___get_tcb |
|
1 |
5 |
33 |
3 |
| dorefreshcreds |
|
2 |
11 |
61 |
2 |
| Source file: ./sys/kern/uipc_mbuf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mbinit |
|
6 |
29 |
244 |
1 |
| mbcpuinit |
|
2 |
9 |
54 |
0 |
| nmbclust_update |
|
1 |
4 |
12 |
1 |
| m_get |
|
3 |
22 |
132 |
2 |
| m_gethdr |
|
3 |
18 |
109 |
2 |
| m_inithdr |
|
1 |
10 |
67 |
1 |
| m_resethdr |
|
2 |
13 |
105 |
1 |
| m_getclr |
|
2 |
9 |
54 |
2 |
| m_clpool |
|
3 |
11 |
59 |
1 |
| m_clget |
|
7 |
22 |
137 |
3 |
| m_extfree_pool |
|
1 |
4 |
21 |
3 |
| m_free |
|
7 |
28 |
150 |
1 |
| m_extref |
|
3 |
14 |
107 |
2 |
| m_extunref |
|
3 |
16 |
90 |
1 |
| mextfree_register |
|
1 |
6 |
39 |
1 |
| m_extfree |
|
2 |
9 |
69 |
1 |
| m_freem |
|
3 |
11 |
51 |
1 |
| m_purge |
|
2 |
5 |
22 |
1 |
| m_defrag |
|
7 |
35 |
291 |
2 |
| m_prepend |
|
6 |
25 |
145 |
3 |
| m_copym |
|
19 |
58 |
379 |
4 |
| m_copydata |
|
6 |
20 |
136 |
4 |
| m_copyback |
|
17 |
65 |
444 |
5 |
| m_cat |
|
5 |
15 |
98 |
2 |
| m_adj |
|
16 |
56 |
292 |
2 |
| m_pullup |
|
13 |
60 |
402 |
2 |
| m_getptr |
|
5 |
22 |
105 |
3 |
| m_split |
|
14 |
65 |
431 |
3 |
| m_makespace |
|
16 |
59 |
405 |
4 |
| m_devget |
|
12 |
48 |
273 |
3 |
| m_zero |
|
5 |
13 |
74 |
1 |
| m_apply |
|
9 |
30 |
184 |
5 |
| m_leadingspace |
|
4 |
8 |
60 |
1 |
| m_trailingspace |
|
3 |
8 |
68 |
1 |
| m_dup_pkthdr |
|
4 |
15 |
127 |
3 |
| m_dup_pkt |
|
6 |
26 |
182 |
3 |
| m_pool_alloc |
|
5 |
22 |
128 |
3 |
| m_pool_free |
|
1 |
7 |
43 |
2 |
| m_pool_init |
|
1 |
5 |
46 |
4 |
| m_print |
|
3 |
39 |
389 |
2 |
| ml_init |
|
1 |
5 |
25 |
1 |
| ml_enqueue |
|
2 |
11 |
60 |
2 |
| ml_enlist |
|
3 |
12 |
71 |
2 |
| ml_dequeue |
|
3 |
13 |
66 |
1 |
| ml_dechain |
|
1 |
7 |
30 |
1 |
| ml_purge |
|
2 |
12 |
66 |
1 |
| mq_init |
|
1 |
6 |
39 |
3 |
| mq_enqueue |
|
3 |
15 |
82 |
2 |
| mq_dequeue |
|
1 |
8 |
45 |
1 |
| mq_enlist |
|
4 |
18 |
106 |
2 |
| mq_delist |
|
1 |
7 |
45 |
2 |
| mq_dechain |
|
1 |
8 |
45 |
1 |
| mq_purge |
|
1 |
6 |
30 |
1 |
| sysctl_mq |
|
7 |
25 |
170 |
7 |
| Source file: ./sys/kern/kern_lock.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _kernel_lock_init |
|
1 |
4 |
12 |
1 |
| _kernel_lock |
|
2 |
6 |
32 |
2 |
| _kernel_unlock |
|
1 |
4 |
12 |
1 |
| _kernel_lock_held |
|
2 |
6 |
26 |
1 |
| ___mp_lock_init |
|
4 |
15 |
123 |
2 |
| __mp_lock_spin |
|
4 |
14 |
67 |
2 |
| ___mp_lock |
|
4 |
15 |
118 |
1 |
| ___mp_unlock |
|
4 |
16 |
99 |
1 |
| ___mp_release_all |
|
4 |
16 |
99 |
1 |
| ___mp_release_all_but_one |
|
5 |
14 |
100 |
1 |
| ___mp_acquire_count |
|
2 |
5 |
24 |
2 |
| __mp_lock_held |
|
2 |
5 |
47 |
2 |
| Source file: ./sys/kern/vfs_bio.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| buf_put |
|
10 |
21 |
150 |
1 |
| bufinit |
|
10 |
43 |
274 |
1 |
| bufadjust |
|
7 |
24 |
129 |
1 |
| bufbackoff |
|
10 |
38 |
220 |
2 |
| buf_flip_high |
|
2 |
18 |
114 |
1 |
| buf_flip_dma |
|
3 |
18 |
132 |
1 |
| bio_doread |
|
6 |
23 |
156 |
4 |
| bread |
|
1 |
6 |
49 |
4 |
| breadn |
|
3 |
13 |
114 |
7 |
| bread_cluster_callback |
|
10 |
36 |
265 |
1 |
| bread_cluster |
|
13 |
60 |
492 |
4 |
| bwrite |
|
11 |
43 |
260 |
1 |
| bdwrite |
|
2 |
15 |
86 |
1 |
| bawrite |
|
1 |
5 |
23 |
1 |
| buf_dirty |
|
4 |
11 |
65 |
1 |
| buf_undirty |
|
4 |
10 |
58 |
1 |
| brelse |
|
13 |
44 |
282 |
1 |
| incore |
|
3 |
13 |
80 |
2 |
| getblk |
|
6 |
33 |
208 |
5 |
| geteblk |
|
2 |
7 |
36 |
1 |
| buf_get |
|
18 |
76 |
479 |
3 |
| buf_daemon |
|
17 |
48 |
269 |
1 |
| biowait |
|
5 |
17 |
117 |
1 |
| biodone |
|
11 |
33 |
227 |
1 |
| bcstats_print |
|
1 |
15 |
130 |
1 |
| buf_adjcnt |
|
1 |
5 |
27 |
2 |
| bufcache_init |
|
2 |
10 |
63 |
1 |
| bufcache_adjust |
|
4 |
11 |
78 |
1 |
| bufcache_getcleanbuf |
|
10 |
39 |
276 |
2 |
| bufcache_getcleanbuf_range |
|
4 |
12 |
76 |
3 |
| bufcache_gethighcleanbuf |
|
2 |
6 |
28 |
1 |
| bufcache_getdmacleanbuf |
|
2 |
6 |
32 |
1 |
| bufcache_getdirtybuf |
|
1 |
4 |
13 |
1 |
| bufcache_take |
|
4 |
29 |
193 |
1 |
| chillbufs |
|
6 |
23 |
157 |
3 |
| bufcache_release |
|
8 |
37 |
249 |
1 |
| hibernate_suspend_bufcache |
|
3 |
15 |
81 |
1 |
| hibernate_resume_bufcache |
|
1 |
3 |
6 |
1 |
| Source file: ./sys/kern/kern_pledge.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sys_pledge |
|
15 |
45 |
305 |
3 |
| pledge_syscall |
|
5 |
13 |
89 |
3 |
| pledge_fail |
|
6 |
22 |
174 |
3 |
| pledge_namei |
|
54 |
103 |
768 |
3 |
| pledge_recvfd |
|
7 |
19 |
115 |
2 |
| pledge_sendfd |
|
7 |
19 |
115 |
2 |
| pledge_sysctl |
|
150 |
160 |
1380 |
4 |
| pledge_chown |
|
7 |
12 |
96 |
3 |
| pledge_adjtime |
|
4 |
11 |
72 |
2 |
| pledge_sendit |
|
4 |
10 |
79 |
2 |
| pledge_ioctl |
|
129 |
192 |
1018 |
3 |
| pledge_sockopt |
|
60 |
124 |
512 |
4 |
| pledge_socket |
|
11 |
25 |
166 |
3 |
| pledge_flock |
|
3 |
8 |
57 |
1 |
| pledge_swapctl |
|
2 |
6 |
33 |
1 |
| pledgereq_flags |
|
4 |
15 |
103 |
1 |
| pledge_fcntl |
|
4 |
8 |
64 |
2 |
| pledge_kill |
|
5 |
10 |
69 |
2 |
| pledge_protexec |
|
4 |
8 |
61 |
2 |
| canonpath |
|
21 |
33 |
252 |
3 |
| Source file: ./sys/kern/subr_disk.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dkcksum |
|
2 |
10 |
62 |
1 |
| initdisklabel |
|
6 |
24 |
188 |
1 |
| checkdisklabel |
|
25 |
102 |
855 |
4 |
| readdisksector |
|
1 |
11 |
97 |
4 |
| readdoslabel |
|
62 |
186 |
1172 |
5 |
| gpt_chk_mbr |
|
9 |
23 |
137 |
2 |
| gpt_chk_hdr |
|
14 |
43 |
285 |
2 |
| gpt_chk_parts |
|
2 |
9 |
61 |
2 |
| gpt_get_fstype |
|
9 |
39 |
313 |
1 |
| spoofgptlabel |
|
18 |
93 |
631 |
3 |
| setdisklabel |
|
19 |
46 |
355 |
3 |
| bounds_check_with_label |
|
10 |
27 |
203 |
2 |
| diskerr |
|
8 |
35 |
355 |
6 |
| disk_init |
|
1 |
5 |
18 |
1 |
| disk_construct |
|
1 |
7 |
42 |
1 |
| disk_attach |
|
7 |
32 |
213 |
2 |
| disk_attach_callback |
|
3 |
18 |
118 |
1 |
| disk_detach |
|
3 |
10 |
64 |
1 |
| disk_openpart |
|
8 |
18 |
121 |
4 |
| disk_closepart |
|
4 |
13 |
76 |
3 |
| disk_gone |
|
5 |
11 |
118 |
2 |
| disk_busy |
|
2 |
7 |
42 |
1 |
| disk_unbusy |
|
4 |
24 |
167 |
4 |
| disk_lock |
|
1 |
4 |
24 |
1 |
| disk_lock_nointr |
|
1 |
4 |
17 |
1 |
| disk_unlock |
|
1 |
4 |
17 |
1 |
| dk_mountroot |
|
10 |
43 |
205 |
1 |
| getdisk |
|
5 |
15 |
104 |
4 |
| parsedisk |
|
12 |
31 |
198 |
4 |
| setroot |
|
75 |
210 |
1383 |
3 |
| findblkmajor |
|
7 |
14 |
120 |
1 |
| findblkname |
|
3 |
8 |
52 |
1 |
| disk_readlabel |
|
6 |
33 |
207 |
4 |
| disk_map |
|
21 |
45 |
335 |
4 |
| disk_lookup |
|
4 |
16 |
84 |
2 |
| duid_equal |
|
1 |
4 |
26 |
2 |
| duid_iszero |
|
1 |
6 |
36 |
1 |
| duid_format |
|
1 |
9 |
72 |
1 |
| Source file: ./sys/kern/subr_extent.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| extent_align |
|
1 |
4 |
39 |
3 |
| extent_register |
|
5 |
14 |
69 |
1 |
| extent_pool_init |
|
2 |
9 |
43 |
1 |
| extent_print_all |
|
1 |
7 |
29 |
1 |
| extent_create |
|
19 |
67 |
471 |
7 |
| extent_destroy |
|
6 |
15 |
110 |
1 |
| extent_insert_and_optimize |
|
11 |
46 |
319 |
5 |
| extent_alloc_region |
|
23 |
78 |
477 |
4 |
| extent_do_alloc |
|
53 |
151 |
1034 |
10 |
| extent_alloc_subregion |
|
3 |
13 |
92 |
9 |
| extent_alloc_subregion_with_descr |
|
3 |
10 |
88 |
10 |
| extent_free |
|
22 |
67 |
449 |
4 |
| extent_alloc_region_descriptor |
|
9 |
27 |
173 |
2 |
| extent_free_region_descriptor |
|
6 |
28 |
155 |
2 |
| extent_print |
|
1 |
4 |
16 |
1 |
| extent_print1 |
|
3 |
13 |
130 |
2 |
| Source file: ./sys/kern/vfs_vnops.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| vn_open |
|
31 |
104 |
694 |
3 |
| vn_writechk |
|
13 |
21 |
89 |
1 |
| vn_fsizechk |
|
6 |
17 |
134 |
4 |
| vn_marktext |
|
1 |
4 |
15 |
1 |
| vn_close |
|
2 |
10 |
70 |
4 |
| vn_rdwr |
|
7 |
32 |
217 |
10 |
| vn_read |
|
5 |
18 |
146 |
4 |
| vn_write |
|
9 |
25 |
192 |
4 |
| vn_statfile |
|
1 |
5 |
38 |
3 |
| vn_stat |
|
9 |
55 |
324 |
3 |
| vn_ioctl |
|
13 |
34 |
212 |
4 |
| vn_poll |
|
1 |
4 |
35 |
3 |
| vn_lock |
|
4 |
16 |
91 |
3 |
| vn_closefile |
|
2 |
13 |
101 |
2 |
| vn_kqfilter |
|
1 |
4 |
26 |
2 |
| vn_isunder |
|
2 |
8 |
58 |
3 |
| Source file: ./sys/kern/sysv_ipc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ipcperm |
|
7 |
14 |
117 |
3 |
| Source file: ./sys/kern/subr_evcount.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| evcount_attach |
|
1 |
9 |
66 |
3 |
| evcount_detach |
|
1 |
4 |
19 |
1 |
| evcount_sysctl |
|
14 |
50 |
290 |
6 |
| Source file: ./sys/kern/exec_elf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| elf_copyargs |
|
3 |
12 |
81 |
4 |
| elf_check_header |
|
8 |
14 |
86 |
1 |
| elf_load_psection |
|
12 |
53 |
462 |
7 |
| elf_read_from |
|
3 |
12 |
83 |
5 |
| elf_load_file |
|
34 |
151 |
1052 |
4 |
| exec_elf_makecmds |
|
48 |
169 |
1076 |
2 |
| exec_elf_fixup |
|
5 |
53 |
323 |
2 |
| elf_os_pt_note |
|
17 |
60 |
417 |
6 |
| coredump_elf |
|
1 |
4 |
16 |
2 |
| coredump_elf |
|
14 |
47 |
319 |
2 |
| coredump_setup_elf |
|
3 |
50 |
382 |
2 |
| coredump_walk_elf |
|
4 |
26 |
158 |
6 |
| coredump_notes_elf |
|
16 |
110 |
795 |
3 |
| coredump_note_elf |
|
9 |
43 |
299 |
3 |
| coredump_writenote_elf |
|
3 |
13 |
92 |
5 |
| Source file: ./sys/kern/sys_pipe.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sys_pipe |
|
1 |
6 |
41 |
3 |
| sys_pipe2 |
|
2 |
8 |
66 |
3 |
| dopipe |
|
9 |
54 |
386 |
3 |
| pipespace |
|
2 |
16 |
102 |
2 |
| pipe_create |
|
2 |
17 |
110 |
1 |
| pipelock |
|
3 |
11 |
59 |
1 |
| pipeunlock |
|
2 |
8 |
36 |
1 |
| pipeselwakeup |
|
4 |
10 |
71 |
1 |
| pipe_read |
|
21 |
69 |
458 |
4 |
| pipe_write |
|
45 |
125 |
779 |
4 |
| pipe_ioctl |
|
7 |
25 |
141 |
4 |
| pipe_poll |
|
12 |
31 |
222 |
3 |
| pipe_stat |
|
1 |
18 |
184 |
3 |
| pipe_close |
|
1 |
8 |
45 |
2 |
| pipe_free_kmem |
|
3 |
11 |
71 |
1 |
| pipeclose |
|
4 |
21 |
110 |
1 |
| pipe_kqfilter |
|
4 |
21 |
119 |
2 |
| filt_pipedetach |
|
4 |
15 |
87 |
1 |
| filt_piperead |
|
4 |
12 |
88 |
2 |
| filt_pipewrite |
|
3 |
12 |
92 |
2 |
| pipe_init |
|
1 |
5 |
28 |
1 |
| Source file: ./sys/kern/uipc_syscalls.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sys_socket |
|
11 |
43 |
310 |
3 |
| isdnssocket |
|
1 |
4 |
18 |
1 |
| dns_portcheck |
|
12 |
40 |
294 |
4 |
| sys_bind |
|
6 |
29 |
205 |
3 |
| sys_listen |
|
2 |
14 |
97 |
3 |
| sys_accept |
|
1 |
7 |
57 |
3 |
| sys_accept4 |
|
2 |
9 |
82 |
3 |
| doaccept |
|
23 |
84 |
563 |
6 |
| sys_connect |
|
20 |
64 |
412 |
3 |
| sys_socketpair |
|
16 |
75 |
583 |
3 |
| sys_sendto |
|
1 |
16 |
135 |
3 |
| sys_sendmsg |
|
11 |
33 |
261 |
3 |
| sendit |
|
32 |
94 |
641 |
5 |
| sys_recvfrom |
|
3 |
24 |
182 |
3 |
| sys_recvmsg |
|
11 |
40 |
300 |
3 |
| recvit |
|
38 |
109 |
724 |
5 |
| sys_shutdown |
|
2 |
12 |
88 |
3 |
| sys_setsockopt |
|
9 |
46 |
306 |
3 |
| sys_getsockopt |
|
11 |
39 |
301 |
3 |
| sys_getsockname |
|
5 |
30 |
227 |
3 |
| sys_getpeername |
|
6 |
34 |
248 |
3 |
| sockargs |
|
9 |
29 |
192 |
4 |
| getsock |
|
3 |
11 |
72 |
3 |
| sys_setrtable |
|
5 |
15 |
120 |
3 |
| sys_getrtable |
|
1 |
5 |
34 |
3 |
| copyaddrout |
|
4 |
13 |
109 |
5 |
| Source file: ./sys/kern/vfs_syscalls.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sys_mount |
|
32 |
149 |
1043 |
3 |
| checkdirs |
|
7 |
32 |
158 |
1 |
| sys_unmount |
|
6 |
29 |
199 |
3 |
| dounmount |
|
10 |
42 |
256 |
3 |
| dounmount_leaf |
|
11 |
34 |
243 |
3 |
| sys_sync |
|
4 |
19 |
117 |
3 |
| sys_quotactl |
|
2 |
15 |
122 |
3 |
| copyout_statfs |
|
4 |
20 |
185 |
3 |
| sys_statfs |
|
3 |
20 |
158 |
3 |
| sys_fstatfs |
|
4 |
23 |
165 |
3 |
| sys_getfsstat |
|
13 |
44 |
255 |
3 |
| sys_fchdir |
|
8 |
37 |
243 |
3 |
| sys_chdir |
|
2 |
18 |
119 |
3 |
| sys_chroot |
|
4 |
25 |
177 |
3 |
| change_dir |
|
4 |
17 |
96 |
2 |
| sys_open |
|
1 |
7 |
57 |
3 |
| sys_openat |
|
1 |
7 |
62 |
3 |
| doopenat |
|
25 |
106 |
694 |
6 |
| sys_getfh |
|
4 |
26 |
179 |
3 |
| sys_fhopen |
|
28 |
107 |
701 |
3 |
| sys_fhstat |
|
6 |
24 |
189 |
3 |
| sys_fhstatfs |
|
6 |
25 |
210 |
3 |
| sys_mknod |
|
1 |
7 |
55 |
3 |
| sys_mknodat |
|
1 |
7 |
60 |
3 |
| domknodat |
|
17 |
66 |
379 |
5 |
| sys_mkfifo |
|
1 |
7 |
56 |
3 |
| sys_mkfifoat |
|
1 |
7 |
61 |
3 |
| sys_link |
|
1 |
7 |
52 |
3 |
| sys_linkat |
|
1 |
7 |
67 |
3 |
| dolinkat |
|
8 |
38 |
263 |
6 |
| sys_symlink |
|
1 |
6 |
48 |
3 |
| sys_symlinkat |
|
1 |
7 |
53 |
3 |
| dosymlinkat |
|
5 |
31 |
225 |
4 |
| sys_unlink |
|
1 |
6 |
43 |
3 |
| sys_unlinkat |
|
1 |
7 |
53 |
3 |
| dounlinkat |
|
10 |
43 |
260 |
4 |
| sys_lseek |
|
11 |
54 |
291 |
3 |
| sys_access |
|
1 |
7 |
50 |
3 |
| sys_faccessat |
|
1 |
7 |
60 |
3 |
| dofaccessat |
|
14 |
44 |
294 |
5 |
| sys_stat |
|
1 |
6 |
50 |
3 |
| sys_fstatat |
|
1 |
7 |
60 |
3 |
| dofstatat |
|
11 |
33 |
253 |
5 |
| sys_lstat |
|
1 |
7 |
50 |
3 |
| sys_pathconf |
|
2 |
15 |
109 |
3 |
| sys_readlink |
|
1 |
7 |
57 |
3 |
| sys_readlinkat |
|
1 |
7 |
62 |
3 |
| doreadlinkat |
|
3 |
31 |
202 |
6 |
| sys_chflags |
|
1 |
7 |
50 |
3 |
| sys_chflagsat |
|
1 |
7 |
60 |
3 |
| dochflagsat |
|
4 |
13 |
114 |
5 |
| sys_fchflags |
|
2 |
14 |
100 |
3 |
| dovchflags |
|
8 |
27 |
166 |
3 |
| sys_chmod |
|
1 |
6 |
50 |
3 |
| sys_fchmodat |
|
1 |
7 |
60 |
3 |
| dofchmodat |
|
7 |
29 |
214 |
5 |
| sys_fchmod |
|
6 |
28 |
197 |
3 |
| sys_chown |
|
1 |
7 |
57 |
3 |
| sys_fchownat |
|
1 |
7 |
67 |
3 |
| dofchownat |
|
13 |
43 |
310 |
6 |
| sys_lchown |
|
11 |
43 |
306 |
3 |
| sys_fchown |
|
11 |
42 |
296 |
3 |
| sys_utimes |
|
3 |
19 |
155 |
3 |
| sys_utimensat |
|
3 |
17 |
128 |
3 |
| doutimensat |
|
4 |
16 |
127 |
5 |
| dovutimens |
|
18 |
43 |
347 |
3 |
| sys_futimes |
|
3 |
19 |
151 |
3 |
| sys_futimens |
|
3 |
16 |
114 |
3 |
| dofutimens |
|
2 |
12 |
85 |
3 |
| sys_truncate |
|
4 |
25 |
195 |
3 |
| sys_ftruncate |
|
6 |
30 |
200 |
3 |
| sys_fsync |
|
6 |
18 |
143 |
3 |
| sys_rename |
|
1 |
7 |
50 |
3 |
| sys_renameat |
|
1 |
7 |
60 |
3 |
| dorenameat |
|
17 |
68 |
460 |
5 |
| sys_mkdir |
|
1 |
6 |
48 |
3 |
| sys_mkdirat |
|
1 |
7 |
53 |
3 |
| domkdirat |
|
5 |
29 |
208 |
4 |
| sys_rmdir |
|
1 |
6 |
43 |
3 |
| sys_getdents |
|
7 |
48 |
292 |
3 |
| sys_umask |
|
1 |
10 |
60 |
3 |
| sys_revoke |
|
9 |
29 |
225 |
3 |
| getvnode |
|
4 |
15 |
96 |
3 |
| sys_pread |
|
7 |
25 |
194 |
3 |
| sys_preadv |
|
7 |
23 |
177 |
3 |
| sys_pwrite |
|
7 |
25 |
198 |
3 |
| sys_pwritev |
|
7 |
23 |
177 |
3 |
| Source file: ./sys/kern/vfs_subr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rb_buf_compare |
|
3 |
8 |
52 |
2 |
| vntblinit |
|
2 |
13 |
87 |
1 |
| vfs_busy |
|
5 |
17 |
91 |
2 |
| vfs_unbusy |
|
1 |
4 |
17 |
1 |
| vfs_isbusy |
|
2 |
7 |
32 |
1 |
| vfs_rootmountalloc |
|
4 |
25 |
210 |
3 |
| vfs_getvfs |
|
3 |
11 |
74 |
1 |
| vfs_getnewfsid |
|
4 |
20 |
144 |
1 |
| vattr_null |
|
1 |
24 |
147 |
1 |
| getnewvnode |
|
14 |
66 |
404 |
4 |
| insmntque |
|
3 |
7 |
53 |
2 |
| bdevvp |
|
1 |
4 |
24 |
2 |
| cdevvp |
|
1 |
4 |
24 |
2 |
| getdevvp |
|
6 |
25 |
154 |
3 |
| checkalias |
|
16 |
56 |
369 |
3 |
| vget |
|
10 |
32 |
197 |
3 |
| vref |
|
4 |
8 |
40 |
1 |
| vputonfreelist |
|
6 |
22 |
115 |
1 |
| vput |
|
10 |
22 |
124 |
1 |
| vrele |
|
12 |
26 |
150 |
1 |
| vhold |
|
4 |
9 |
58 |
1 |
| vdrop |
|
6 |
11 |
71 |
1 |
| vfs_mount_foreach_vnode |
|
3 |
14 |
90 |
3 |
| vflush_vnode |
|
13 |
32 |
205 |
2 |
| vflush |
|
2 |
11 |
65 |
3 |
| vclean |
|
12 |
40 |
244 |
3 |
| vrecycle |
|
2 |
8 |
41 |
2 |
| vgone |
|
1 |
5 |
23 |
1 |
| vgonel |
|
25 |
63 |
431 |
2 |
| vfinddev |
|
4 |
13 |
80 |
3 |
| vdevgone |
|
3 |
8 |
62 |
4 |
| vcount |
|
7 |
19 |
121 |
1 |
| vprint |
|
13 |
36 |
275 |
2 |
| printlockedvnodes |
|
3 |
15 |
77 |
1 |
| vfs_sysctl |
|
14 |
42 |
333 |
7 |
| vfs_mountedon |
|
7 |
19 |
102 |
1 |
| vfs_hang_addrlist |
|
19 |
67 |
471 |
3 |
| vfs_free_netcred |
|
1 |
7 |
57 |
3 |
| vfs_free_addrlist |
|
2 |
9 |
52 |
1 |
| vfs_export |
|
5 |
15 |
95 |
3 |
| vfs_export_lookup |
|
8 |
26 |
143 |
3 |
| vaccess |
|
19 |
37 |
224 |
6 |
| vfs_unmountall |
|
5 |
24 |
122 |
1 |
| vfs_shutdown |
|
5 |
15 |
66 |
1 |
| vfs_syncwait |
|
14 |
42 |
222 |
1 |
| fs_posix_sysctl |
|
5 |
14 |
91 |
7 |
| fs_sysctl |
|
2 |
13 |
85 |
7 |
| vwaitforio |
|
3 |
13 |
76 |
4 |
| vwakeup |
|
5 |
12 |
68 |
1 |
| vinvalbuf |
|
29 |
68 |
465 |
6 |
| vflushbuf |
|
8 |
32 |
181 |
2 |
| bgetvp |
|
4 |
13 |
80 |
2 |
| brelvp |
|
5 |
16 |
103 |
1 |
| buf_replacevnode |
|
3 |
13 |
77 |
2 |
| reassignbuf |
|
9 |
35 |
187 |
1 |
| vfs_register |
|
7 |
18 |
128 |
1 |
| vfs_unregister |
|
7 |
22 |
134 |
1 |
| vn_isdisk |
|
3 |
6 |
37 |
2 |
| vfs_buf_print |
|
3 |
18 |
170 |
3 |
| vfs_vnode_print |
|
4 |
26 |
229 |
3 |
| vfs_mount_print |
|
7 |
50 |
490 |
3 |
| copy_statfs_info |
|
2 |
20 |
181 |
2 |
| Source file: ./sys/kern/vfs_default.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| vop_generic_revoke |
|
14 |
37 |
237 |
1 |
| vop_generic_bmap |
|
4 |
11 |
63 |
1 |
| vop_generic_bwrite |
|
1 |
5 |
25 |
1 |
| vop_generic_abortop |
|
2 |
7 |
50 |
1 |
| vop_generic_lock |
|
1 |
4 |
13 |
1 |
| vop_generic_unlock |
|
1 |
4 |
13 |
1 |
| vop_generic_islocked |
|
1 |
4 |
13 |
1 |
| vop_generic_kqfilter |
|
3 |
14 |
59 |
1 |
| vop_generic_lookup |
|
1 |
6 |
27 |
1 |
| filt_generic_detach |
|
1 |
3 |
9 |
1 |
| filt_generic_readwrite |
|
2 |
9 |
46 |
2 |
| Source file: ./sys/kern/kern_watchdog.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wdog_register |
|
2 |
8 |
46 |
2 |
| wdog_tickle |
|
2 |
7 |
41 |
1 |
| wdog_shutdown |
|
3 |
10 |
51 |
1 |
| sysctl_wdog |
|
9 |
32 |
193 |
6 |
| Source file: ./sys/kern/kern_sig.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cansignal |
|
25 |
40 |
222 |
3 |
| signal_init |
|
1 |
6 |
38 |
1 |
| sigactsinit |
|
1 |
8 |
50 |
1 |
| sigactsshare |
|
1 |
6 |
26 |
1 |
| sigstkinit |
|
1 |
6 |
27 |
1 |
| sigactsunshare |
|
2 |
9 |
44 |
1 |
| sigactsfree |
|
2 |
8 |
43 |
1 |
| sys_sigaction |
|
26 |
59 |
423 |
3 |
| setsigvec |
|
16 |
54 |
363 |
3 |
| siginit |
|
4 |
9 |
64 |
1 |
| execsigs |
|
5 |
22 |
143 |
1 |
| sys_sigprocmask |
|
4 |
24 |
116 |
3 |
| sys_sigpending |
|
1 |
5 |
29 |
3 |
| dosigsuspend |
|
1 |
7 |
43 |
2 |
| sys_sigsuspend |
|
2 |
11 |
80 |
3 |
| sigonstack |
|
2 |
6 |
44 |
1 |
| sys_sigaltstack |
|
10 |
36 |
225 |
3 |
| sys_kill |
|
11 |
35 |
233 |
3 |
| sys_thrkill |
|
9 |
26 |
174 |
3 |
| killpg1 |
|
14 |
34 |
200 |
4 |
| csignal |
|
7 |
20 |
127 |
4 |
| gsignal |
|
2 |
6 |
37 |
2 |
| pgsignal |
|
4 |
8 |
54 |
3 |
| trapsignal |
|
16 |
45 |
339 |
5 |
| psignal |
|
1 |
4 |
21 |
2 |
| ptsignal |
|
54 |
132 |
807 |
3 |
| issignal |
|
29 |
80 |
472 |
1 |
| proc_stop |
|
4 |
16 |
98 |
2 |
| proc_stop_sweep |
|
3 |
12 |
80 |
1 |
| postsig |
|
17 |
65 |
421 |
1 |
| sigexit |
|
4 |
13 |
90 |
2 |
| coredump |
|
23 |
88 |
663 |
1 |
| coredump_write |
|
5 |
32 |
205 |
4 |
| coredump_unmap |
|
1 |
5 |
37 |
3 |
| sys_nosys |
|
1 |
5 |
31 |
3 |
| sys___thrsigdivert |
|
23 |
66 |
452 |
3 |
| initsiginfo |
|
7 |
21 |
102 |
5 |
| filt_sigattach |
|
2 |
10 |
60 |
1 |
| filt_sigdetach |
|
1 |
5 |
34 |
1 |
| filt_signal |
|
3 |
9 |
46 |
2 |
| userret |
|
7 |
31 |
196 |
1 |
| single_thread_check |
|
9 |
24 |
143 |
2 |
| single_thread_set |
|
22 |
76 |
345 |
3 |
| single_thread_wait |
|
2 |
5 |
31 |
1 |
| single_thread_clear |
|
6 |
23 |
151 |
2 |
| Source file: ./sys/kern/kern_exec.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| check_exec |
|
25 |
75 |
552 |
2 |
| sys_execve |
|
83 |
325 |
2578 |
3 |
| copyargs |
|
10 |
29 |
262 |
4 |
| exec_sigcode_map |
|
5 |
36 |
300 |
2 |
| Source file: ./sys/kern/kern_ktrace.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ktrcleartrace |
|
2 |
14 |
69 |
1 |
| ktrsettrace |
|
4 |
21 |
120 |
4 |
| ktrinitheaderraw |
|
1 |
8 |
57 |
4 |
| ktrinitheader |
|
1 |
6 |
56 |
3 |
| ktrstart |
|
1 |
6 |
54 |
3 |
| ktrsyscall |
|
6 |
27 |
251 |
4 |
| ktrsysret |
|
3 |
19 |
126 |
4 |
| ktrnamei |
|
1 |
8 |
62 |
2 |
| ktrgenio |
|
7 |
35 |
233 |
5 |
| ktrpsig |
|
1 |
15 |
113 |
6 |
| ktrstruct |
|
2 |
11 |
91 |
4 |
| ktruser |
|
7 |
29 |
222 |
4 |
| ktrexec |
|
5 |
22 |
134 |
4 |
| ktrpledge |
|
1 |
12 |
90 |
4 |
| doktrace |
|
16 |
70 |
382 |
5 |
| sys_ktrace |
|
4 |
24 |
182 |
3 |
| ktrops |
|
4 |
15 |
95 |
6 |
| ktrsetchildren |
|
6 |
21 |
138 |
6 |
| ktrwrite |
|
2 |
17 |
130 |
4 |
| ktrwrite2 |
|
2 |
19 |
153 |
6 |
| ktrwriteraw |
|
6 |
38 |
273 |
5 |
| ktrcanset |
|
8 |
14 |
104 |
2 |
| Source file: ./sys/kern/kern_sensors.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sensordev_install |
|
5 |
20 |
128 |
1 |
| sensor_attach |
|
10 |
29 |
234 |
2 |
| sensordev_deinstall |
|
2 |
9 |
45 |
1 |
| sensor_detach |
|
2 |
12 |
83 |
2 |
| sensordev_get |
|
3 |
13 |
66 |
2 |
| sensor_find |
|
4 |
17 |
102 |
4 |
| sensor_task_register |
|
5 |
20 |
153 |
3 |
| sensor_task_unregister |
|
1 |
6 |
31 |
1 |
| sensor_task_tick |
|
1 |
5 |
25 |
1 |
| sensor_quiesce |
|
2 |
6 |
28 |
1 |
| sensor_restart |
|
1 |
4 |
10 |
1 |
| sensor_task_work |
|
6 |
19 |
119 |
1 |
| Source file: ./sys/netinet6/in6_ifattach.h |
| Source file: ./sys/netinet6/in6_ifattach.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| in6_get_rand_ifid |
|
1 |
7 |
50 |
2 |
| in6_get_hw_ifid |
|
20 |
60 |
405 |
2 |
| in6_get_ifid |
|
5 |
30 |
200 |
2 |
| in6_ifattach_linklocal |
|
10 |
53 |
490 |
2 |
| in6_ifattach_loopback |
|
1 |
19 |
164 |
1 |
| in6_nigroup |
|
11 |
37 |
304 |
4 |
| in6_ifattach |
|
12 |
28 |
147 |
1 |
| in6_ifdetach |
|
8 |
36 |
283 |
1 |
| Source file: ./sys/netinet6/dest6.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dest6_input |
|
10 |
44 |
286 |
4 |
| Source file: ./sys/netinet6/in6.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| in6_mask2len |
|
13 |
26 |
208 |
2 |
| in6_nam2sin6 |
|
5 |
14 |
96 |
2 |
| in6_control |
|
5 |
13 |
80 |
4 |
| in6_ioctl |
|
59 |
174 |
977 |
4 |
| in6_update_ifa |
|
51 |
225 |
1728 |
3 |
| in6_purgeaddr |
|
6 |
28 |
189 |
1 |
| in6_unlink_ifa |
|
3 |
17 |
109 |
2 |
| in6_ifinit |
|
10 |
29 |
225 |
3 |
| in6_addmulti |
|
4 |
33 |
245 |
3 |
| in6_delmulti |
|
3 |
21 |
150 |
1 |
| in6_hasmulti |
|
1 |
8 |
45 |
2 |
| in6_joingroup |
|
3 |
15 |
94 |
3 |
| in6_leavegroup |
|
2 |
6 |
35 |
1 |
| in6ifa_ifpforlinklocal |
|
4 |
14 |
81 |
2 |
| in6ifa_ifpwithaddr |
|
3 |
11 |
66 |
2 |
| in6_addrscope |
|
11 |
42 |
179 |
1 |
| in6_addr2scopeid |
|
4 |
13 |
53 |
2 |
| in6_matchlen |
|
4 |
16 |
100 |
2 |
| in6_prefixlen2mask |
|
5 |
17 |
129 |
2 |
| in6_ifawithscope |
|
52 |
137 |
818 |
3 |
| in6if_do_dad |
|
5 |
14 |
74 |
1 |
| in6_domifattach |
|
1 |
9 |
55 |
1 |
| in6_domifdetach |
|
1 |
6 |
45 |
2 |
| Source file: ./sys/netinet6/icmp6.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| icmp6_init |
|
1 |
7 |
31 |
1 |
| icmp6_errcount |
|
16 |
55 |
168 |
2 |
| icmp6_mtudisc_callback_register |
|
3 |
13 |
85 |
1 |
| icmp6_error |
|
22 |
76 |
522 |
4 |
| icmp6_input |
|
81 |
275 |
1490 |
4 |
| icmp6_notify_error |
|
26 |
147 |
940 |
4 |
| icmp6_mtudisc_update |
|
17 |
48 |
341 |
2 |
| icmp6_reflect |
|
13 |
91 |
651 |
2 |
| icmp6_fasttimo |
|
1 |
4 |
10 |
1 |
| icmp6_redirect_diag |
|
1 |
13 |
101 |
3 |
| icmp6_redirect_input |
|
29 |
177 |
1171 |
2 |
| icmp6_redirect_output |
|
34 |
170 |
1281 |
2 |
| icmp6_ctloutput |
|
11 |
56 |
247 |
5 |
| icmp6_ratelimit |
|
2 |
7 |
38 |
3 |
| icmp6_mtudisc_clone |
|
9 |
43 |
284 |
2 |
| icmp6_mtudisc_timeout |
|
4 |
15 |
98 |
2 |
| icmp6_redirect_timeout |
|
3 |
12 |
78 |
2 |
| icmp6_sysctl_icmp6stat |
|
1 |
12 |
107 |
3 |
| icmp6_sysctl |
|
4 |
20 |
108 |
6 |
| Source file: ./sys/netinet6/in6_cksum.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| in6_cksum |
|
36 |
164 |
1305 |
4 |
| Source file: ./sys/netinet6/in6_pcb.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| in6_pcbaddrisavail |
|
15 |
47 |
351 |
4 |
| in6_pcbconnect |
|
14 |
50 |
362 |
2 |
| in6_pcbnotify |
|
32 |
66 |
461 |
9 |
| in6_setsockaddr |
|
1 |
13 |
99 |
2 |
| in6_setpeeraddr |
|
1 |
13 |
99 |
2 |
| Source file: ./sys/netinet6/nd6.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| nd6_init |
|
2 |
17 |
110 |
1 |
| nd6_ifattach |
|
1 |
10 |
63 |
1 |
| nd6_ifdetach |
|
1 |
4 |
22 |
1 |
| nd6_option_init |
|
2 |
11 |
79 |
3 |
| nd6_option |
|
9 |
32 |
200 |
1 |
| nd6_options |
|
17 |
58 |
264 |
1 |
| nd6_llinfo_settimer |
|
3 |
10 |
59 |
2 |
| nd6_timer |
|
8 |
21 |
128 |
1 |
| nd6_llinfo_timer |
|
15 |
69 |
391 |
1 |
| nd6_expire_timer_update |
|
9 |
23 |
128 |
1 |
| nd6_expire |
|
4 |
24 |
125 |
1 |
| nd6_expire_timer |
|
1 |
4 |
19 |
1 |
| nd6_purge |
|
5 |
16 |
96 |
1 |
| nd6_lookup |
|
19 |
58 |
400 |
4 |
| nd6_is_addr_neighbor |
|
7 |
26 |
178 |
2 |
| nd6_invalidate |
|
1 |
8 |
48 |
1 |
| nd6_free |
|
4 |
17 |
113 |
1 |
| nd6_nud_hint |
|
10 |
25 |
154 |
1 |
| nd6_rtrequest |
|
38 |
139 |
921 |
3 |
| nd6_ioctl |
|
9 |
44 |
264 |
3 |
| nd6_cache_lladdr |
|
44 |
118 |
651 |
6 |
| nd6_slowtimo |
|
3 |
16 |
87 |
1 |
| nd6_resolve |
|
14 |
63 |
460 |
5 |
| nd6_need_cache |
|
4 |
11 |
38 |
1 |
| Source file: ./sys/netinet6/mld6.h |
| Source file: ./sys/netinet6/mld6_var.h |
| Source file: ./sys/kern/subr_witness.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| witness_lock_type_equal |
|
1 |
5 |
45 |
2 |
| witness_lock_order_key_equal |
|
2 |
5 |
35 |
2 |
| fixup_filename |
|
3 |
8 |
42 |
1 |
| witness_initialize |
|
6 |
45 |
376 |
1 |
| witness_init |
|
12 |
29 |
219 |
2 |
| witness_ddb_compute_levels |
|
2 |
11 |
55 |
1 |
| witness_ddb_level_descendants |
|
4 |
12 |
74 |
2 |
| witness_ddb_display_descendants |
|
7 |
26 |
177 |
3 |
| witness_ddb_display_list |
|
3 |
10 |
63 |
2 |
| witness_ddb_display |
|
2 |
19 |
126 |
1 |
| witness_defineorder |
|
9 |
18 |
119 |
2 |
| witness_checkorder |
|
61 |
207 |
1443 |
5 |
| witness_lock |
|
12 |
48 |
303 |
4 |
| witness_upgrade |
|
11 |
42 |
277 |
4 |
| witness_downgrade |
|
11 |
44 |
277 |
4 |
| witness_unlock |
|
22 |
72 |
519 |
4 |
| witness_thread_exit |
|
7 |
22 |
133 |
1 |
| witness_warn |
|
22 |
52 |
360 |
4 |
| witness_file |
|
4 |
8 |
46 |
1 |
| witness_line |
|
4 |
8 |
46 |
1 |
| enroll |
|
11 |
48 |
288 |
3 |
| adopt |
|
17 |
54 |
375 |
2 |
| itismychild |
|
6 |
23 |
126 |
2 |
| _isitmyx |
|
7 |
26 |
191 |
4 |
| isitmychild |
|
1 |
4 |
28 |
2 |
| isitmydescendant |
|
1 |
5 |
28 |
2 |
| witness_get |
|
7 |
28 |
151 |
1 |
| witness_free |
|
1 |
5 |
22 |
1 |
| witness_lock_list_get |
|
3 |
18 |
92 |
1 |
| witness_lock_list_free |
|
1 |
7 |
31 |
1 |
| find_instance |
|
4 |
14 |
93 |
2 |
| witness_list_lock |
|
2 |
11 |
88 |
2 |
| witness_output |
|
1 |
9 |
43 |
2 |
| witness_voutput |
|
4 |
16 |
63 |
2 |
| witness_thread_has_locks |
|
2 |
6 |
33 |
1 |
| witness_process_has_locks |
|
2 |
9 |
44 |
1 |
| witness_list_locks |
|
3 |
13 |
94 |
2 |
| witness_display_spinlock |
|
3 |
11 |
74 |
3 |
| witness_save |
|
7 |
25 |
152 |
3 |
| witness_restore |
|
8 |
27 |
169 |
3 |
| witness_assert |
|
27 |
68 |
408 |
4 |
| witness_setflag |
|
8 |
26 |
141 |
3 |
| witness_norelease |
|
1 |
4 |
18 |
1 |
| witness_releaseok |
|
1 |
4 |
18 |
1 |
| witness_ddb_list |
|
4 |
11 |
82 |
1 |
| db_witness_list |
|
2 |
9 |
45 |
4 |
| db_witness_list_all |
|
3 |
16 |
95 |
4 |
| witness_print_badstacks |
|
18 |
98 |
576 |
1 |
| db_witness_display |
|
2 |
11 |
44 |
4 |
| db_witness_print_fullgraph |
|
3 |
20 |
87 |
1 |
| db_witness_add_fullgraph |
|
6 |
15 |
109 |
1 |
| witness_hash_djb2 |
|
4 |
12 |
104 |
2 |
| witness_init_hash_tables |
|
4 |
19 |
137 |
1 |
| witness_hash_get |
|
5 |
18 |
109 |
2 |
| witness_hash_put |
|
2 |
17 |
123 |
1 |
| witness_lock_order_get |
|
5 |
24 |
160 |
2 |
| witness_lock_order_check |
|
4 |
9 |
51 |
2 |
| witness_lock_order_add |
|
4 |
27 |
192 |
2 |
| witness_increment_graph_generation |
|
2 |
6 |
21 |
1 |
| witness_debugger |
|
2 |
6 |
23 |
2 |
| Source file: ./sys/netinet6/ip6_divert.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| div6stat_inc |
|
1 |
4 |
15 |
1 |
| Source file: ./sys/netinet6/ip6_id.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ip6id_pmod |
|
3 |
14 |
74 |
3 |
| ip6id_initid |
|
7 |
27 |
287 |
1 |
| ip6id_randomid |
|
5 |
15 |
139 |
1 |
| ip6_randomflowlabel |
|
1 |
4 |
15 |
1 |
| Source file: ./sys/netinet6/udp6_output.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| udp6_output |
|
24 |
117 |
758 |
4 |
| Source file: ./sys/netinet6/ip6_mroute.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ip6_mrouter_set |
|
19 |
32 |
275 |
3 |
| ip6_mrouter_get |
|
2 |
10 |
54 |
3 |
| mrt6_ioctl |
|
3 |
14 |
78 |
3 |
| get_sg6_cnt |
|
4 |
21 |
148 |
2 |
| get_mif6_cnt |
|
2 |
13 |
89 |
2 |
| mrt6_sysctl_mif |
|
7 |
38 |
237 |
2 |
| mrt6_rtwalk_mf6csysctl |
|
12 |
50 |
354 |
3 |
| mrt6_sysctl_mfc |
|
7 |
24 |
176 |
2 |
| ip6_mrouter_init |
|
5 |
16 |
105 |
3 |
| mrouter6_rtwalk_delete |
|
2 |
9 |
54 |
3 |
| ip6_mrouter_done |
|
2 |
18 |
104 |
1 |
| ip6_mrouter_detach |
|
2 |
13 |
101 |
1 |
| add_m6if |
|
7 |
38 |
247 |
2 |
| del_m6if |
|
3 |
12 |
71 |
2 |
| mf6c_add_route |
|
4 |
25 |
191 |
5 |
| mf6c_update |
|
12 |
74 |
520 |
3 |
| mf6c_add |
|
4 |
24 |
190 |
6 |
| add_m6fc |
|
1 |
9 |
64 |
2 |
| del_m6fc |
|
2 |
13 |
87 |
2 |
| socket6_send |
|
3 |
11 |
67 |
3 |
| ip6_mforward |
|
11 |
67 |
442 |
3 |
| mf6c_expire_route |
|
5 |
22 |
161 |
2 |
| ip6_mdq |
|
15 |
61 |
419 |
3 |
| phyint_send6 |
|
7 |
41 |
278 |
3 |
| mrt6_iflookupbymif |
|
4 |
15 |
77 |
2 |
| mf6c_find |
|
6 |
25 |
163 |
4 |
| mrt6_mcast6_add |
|
4 |
21 |
125 |
3 |
| mrt6_mcast6_del |
|
3 |
20 |
118 |
2 |
| Source file: ./sys/netinet6/ip6_forward.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ip6_forward |
|
52 |
185 |
1100 |
3 |
| Source file: ./sys/netinet6/ip6_mroute.h |
| Source file: ./sys/netinet6/in6_var.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ifmatoin6m |
|
1 |
4 |
21 |
1 |
| Source file: ./sys/netinet6/ip6_var.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ip6stat_inc |
|
1 |
4 |
15 |
1 |
| ip6stat_add |
|
1 |
4 |
20 |
2 |
| Source file: ./sys/netinet6/raw_ip6.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rip6_init |
|
1 |
5 |
21 |
1 |
| rip6_input |
|
33 |
117 |
756 |
4 |
| rip6_ctlinput |
|
14 |
47 |
312 |
4 |
| rip6_output |
|
23 |
118 |
752 |
4 |
| rip6_ctloutput |
|
14 |
31 |
167 |
5 |
| rip6_usrreq |
|
29 |
107 |
560 |
6 |
| rip6_attach |
|
8 |
27 |
167 |
2 |
| rip6_detach |
|
4 |
13 |
82 |
1 |
| rip6_sysctl_rip6stat |
|
1 |
8 |
69 |
3 |
| rip6_sysctl |
|
3 |
12 |
66 |
6 |
| Source file: ./sys/netinet6/ip6_input.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ip6_init |
|
8 |
21 |
142 |
1 |
| ip6_ours |
|
2 |
8 |
54 |
4 |
| ip6intr |
|
4 |
12 |
75 |
1 |
| ipv6_input |
|
1 |
7 |
47 |
2 |
| ip6_input_if |
|
68 |
200 |
1378 |
5 |
| ip6_local |
|
3 |
8 |
59 |
4 |
| ip6_hbhchcheck |
|
12 |
50 |
356 |
4 |
| ip6_check_rh0hdr |
|
12 |
48 |
315 |
2 |
| ip6_hopopts_input |
|
4 |
28 |
191 |
4 |
| ip6_process_hopopts |
|
17 |
92 |
499 |
5 |
| ip6_unknown_opt |
|
7 |
27 |
161 |
3 |
| ip6_savecontrol |
|
33 |
135 |
845 |
3 |
| ip6_pullexthdr |
|
12 |
38 |
214 |
3 |
| ip6_get_prevhdr |
|
6 |
31 |
175 |
2 |
| ip6_nexthdr |
|
24 |
59 |
402 |
4 |
| ip6_lasthdr |
|
6 |
20 |
100 |
4 |
| ip6_sysctl_ip6stat |
|
1 |
12 |
107 |
3 |
| ip6_sysctl |
|
22 |
65 |
366 |
6 |
| ip6_send_dispatch |
|
3 |
14 |
81 |
1 |
| ip6_send |
|
1 |
5 |
28 |
1 |
| Source file: ./sys/netinet6/route6.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| route6_input |
|
4 |
27 |
173 |
4 |
| Source file: ./sys/netinet6/nd6_nbr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| nd6_ns_input |
|
46 |
164 |
1132 |
3 |
| nd6_ns_output |
|
24 |
127 |
934 |
5 |
| nd6_na_input |
|
55 |
206 |
1270 |
3 |
| nd6_na_output |
|
20 |
111 |
826 |
6 |
| nd6_ifptomac |
|
6 |
13 |
49 |
1 |
| nd6_dad_find |
|
2 |
9 |
39 |
1 |
| nd6_dad_starttimer |
|
1 |
5 |
36 |
2 |
| nd6_dad_stoptimer |
|
1 |
4 |
17 |
1 |
| nd6_dad_start |
|
7 |
39 |
294 |
1 |
| nd6_dad_stop |
|
3 |
16 |
82 |
1 |
| nd6_dad_timer |
|
12 |
72 |
437 |
1 |
| nd6_dad_duplicated |
|
1 |
22 |
167 |
1 |
| nd6_dad_ns_output |
|
5 |
16 |
111 |
2 |
| nd6_dad_ns_input |
|
6 |
17 |
75 |
1 |
| nd6_isneighbor |
|
3 |
16 |
128 |
2 |
| Source file: ./sys/netinet6/mld6.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mld6_init |
|
1 |
15 |
108 |
1 |
| mld6_start_listening |
|
3 |
16 |
93 |
1 |
| mld6_stop_listening |
|
4 |
11 |
79 |
1 |
| mld6_input |
|
28 |
95 |
586 |
2 |
| mld6_fasttimeo |
|
2 |
12 |
47 |
1 |
| mld6_checktimer |
|
4 |
18 |
99 |
1 |
| mld6_sendpkt |
|
11 |
63 |
453 |
3 |
| Source file: ./sys/netinet6/in6_src.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| in6_pcbselsrc |
|
23 |
83 |
623 |
4 |
| in6_selectsrc |
|
13 |
34 |
232 |
4 |
| in6_selectroute |
|
12 |
37 |
251 |
4 |
| in6_selectif |
|
11 |
23 |
195 |
6 |
| in6_selecthlim |
|
3 |
6 |
31 |
1 |
| in6_embedscope |
|
11 |
30 |
201 |
3 |
| in6_recoverscope |
|
3 |
13 |
77 |
2 |
| in6_clearscope |
|
2 |
5 |
25 |
1 |
| Source file: ./sys/netinet6/ip6protosw.h |
| Source file: ./sys/netinet6/raw_ip6.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rip6stat_inc |
|
1 |
4 |
15 |
1 |
| Source file: ./sys/netinet6/nd6.h |
| Source file: ./sys/netinet6/frag6.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| frag6_init |
|
1 |
8 |
56 |
1 |
| frag6_input |
|
46 |
242 |
1652 |
4 |
| frag6_deletefraghdr |
|
3 |
16 |
126 |
2 |
| frag6_freef |
|
3 |
19 |
123 |
1 |
| frag6_unlink |
|
1 |
8 |
48 |
2 |
| frag6_slowtimo |
|
6 |
27 |
160 |
1 |
| Source file: ./sys/netinet6/in6.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| satosin6 |
|
1 |
4 |
21 |
1 |
| sin6tosa |
|
1 |
4 |
21 |
1 |
| ifatoia6 |
|
1 |
4 |
21 |
1 |
| Source file: ./sys/netinet6/nd6_rtr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| nd6_rtr_cache |
|
15 |
82 |
518 |
4 |
| rt6_flush |
|
2 |
8 |
55 |
2 |
| rt6_deleteroute |
|
8 |
27 |
231 |
3 |
| Source file: ./sys/sys/lockf.h |
| Source file: ./sys/sys/kernel.h |
| Source file: ./sys/sys/reboot.h |
| Source file: ./sys/netinet6/ip6_divert.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| divert6_init |
|
1 |
5 |
21 |
1 |
| divert6_output |
|
18 |
75 |
504 |
4 |
| divert6_packet |
|
9 |
53 |
318 |
3 |
| divert6_usrreq |
|
22 |
58 |
267 |
6 |
| divert6_attach |
|
5 |
16 |
94 |
2 |
| divert6_detach |
|
2 |
9 |
45 |
1 |
| divert6_sysctl_div6stat |
|
2 |
13 |
121 |
3 |
| divert6_sysctl |
|
6 |
32 |
178 |
6 |
| Source file: ./sys/sys/device.h |
| Source file: ./sys/sys/kcore.h |
| Source file: ./sys/sys/specdev.h |
| Source file: ./sys/sys/protosw.h |
| Source file: ./sys/netinet6/in6_proto.c |
| Source file: ./sys/sys/witness.h |
| Source file: ./sys/sys/systm.h |
| Source file: ./sys/sys/filio.h |
| Source file: ./sys/sys/ipc.h |
| Source file: ./sys/sys/resourcevar.h |
| Source file: ./sys/sys/signalvar.h |
| Source file: ./sys/sys/disklabel.h |
| Source file: ./sys/sys/pipe.h |
| Source file: ./sys/sys/types.h |
| Source file: ./sys/sys/percpu.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cpumem_enter |
|
2 |
5 |
26 |
1 |
| cpumem_leave |
|
1 |
3 |
13 |
2 |
| counters_enter |
|
2 |
8 |
55 |
2 |
| counters_leave |
|
2 |
6 |
39 |
2 |
| counters_inc |
|
1 |
8 |
45 |
2 |
| counters_add |
|
1 |
8 |
49 |
3 |
| counters_pkt |
|
1 |
9 |
59 |
4 |
| Source file: ./sys/sys/ataio.h |
| Source file: ./sys/sys/ttydefaults.h |
| Source file: ./sys/sys/times.h |
| Source file: ./sys/sys/mman.h |
| Source file: ./sys/sys/selinfo.h |
| Source file: ./sys/sys/unpcb.h |
| Source file: ./sys/sys/radioio.h |
| Source file: ./sys/sys/uuid.h |
| Source file: ./sys/sys/lock.h |
| Source file: ./sys/sys/extent.h |
| Source file: ./sys/sys/ctf.h |
| Source file: ./sys/sys/syscall.h |
| Source file: ./sys/sys/core.h |
| Source file: ./sys/sys/dkio.h |
| Source file: ./sys/sys/tty.h |
| Source file: ./sys/sys/fusebuf.h |
| Source file: ./sys/sys/sockio.h |
| Source file: ./sys/sys/socketvar.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sb_notify |
|
2 |
7 |
70 |
2 |
| sbspace |
|
2 |
6 |
56 |
2 |
| soreadable |
|
5 |
8 |
53 |
1 |
| Source file: ./sys/sys/pool.h |
| Source file: ./sys/sys/shm.h |
| Source file: ./sys/sys/_lock.h |
| Source file: ./sys/sys/hibernate.h |
| Source file: ./sys/sys/cdio.h |
| Source file: ./sys/sys/memrange.h |
| Source file: ./sys/sys/exec.h |
| Source file: ./sys/sys/poll.h |
| Source file: ./sys/sys/syslog.h |
| Source file: ./sys/sys/stdarg.h |
| Source file: ./sys/sys/stat.h |
| Source file: ./sys/sys/_types.h |
| Source file: ./sys/sys/pciio.h |
| Source file: ./sys/sys/sem.h |
| Source file: ./sys/sys/event.h |
| Source file: ./sys/sys/exec_elf.h |
| Source file: ./sys/sys/statvfs.h |
| Source file: ./sys/sys/ttycom.h |
| Source file: ./sys/sys/tprintf.h |
| Source file: ./sys/sys/srp.h |
| Source file: ./sys/sys/mount.h |
| Source file: ./sys/sys/audioio.h |
| Source file: ./sys/sys/mutex.h |
| Source file: ./sys/sys/timeout.h |
| Source file: ./sys/sys/utsname.h |
| Source file: ./sys/sys/termios.h |
| Source file: ./sys/sys/refcnt.h |
| Source file: ./sys/sys/syslimits.h |
| Source file: ./sys/sys/ioctl.h |
| Source file: ./sys/sys/disk.h |
| Source file: ./sys/sys/resource.h |
| Source file: ./sys/sys/socket.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sstosa |
|
1 |
4 |
21 |
1 |
| Source file: ./sys/sys/gmon.h |
| Source file: ./sys/sys/dirent.h |
| Source file: ./sys/sys/_time.h |
| Source file: ./sys/sys/user.h |
| Source file: ./sys/netinet6/ip6_output.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ip6_output |
|
112 |
348 |
2409 |
6 |
| ip6_fragment |
|
9 |
48 |
403 |
4 |
| ip6_copyexthdr |
|
6 |
21 |
123 |
3 |
| ip6_insert_jumboopt |
|
8 |
53 |
357 |
2 |
| ip6_insertfraghdr |
|
7 |
31 |
233 |
4 |
| ip6_getpmtu |
|
6 |
21 |
120 |
3 |
| ip6_ctloutput |
|
158 |
434 |
1896 |
5 |
| ip6_raw_ctloutput |
|
11 |
44 |
232 |
5 |
| ip6_initpktopts |
|
1 |
7 |
40 |
1 |
| ip6_pcbopt |
|
2 |
12 |
86 |
6 |
| ip6_getpcbopt |
|
28 |
82 |
500 |
3 |
| ip6_clearpktopts |
|
21 |
36 |
261 |
2 |
| copypktopts |
|
3 |
21 |
126 |
2 |
| ip6_freepcbopts |
|
2 |
7 |
34 |
1 |
| ip6_setmoptions |
|
52 |
190 |
1064 |
4 |
| ip6_getmoptions |
|
8 |
32 |
184 |
3 |
| ip6_freemoptions |
|
3 |
12 |
66 |
1 |
| ip6_setpktopts |
|
13 |
37 |
251 |
5 |
| ip6_setpktopt |
|
55 |
173 |
951 |
7 |
| ip6_mloopback |
|
9 |
24 |
180 |
3 |
| ip6_splithdr |
|
3 |
23 |
162 |
2 |
| ip6_randomid |
|
1 |
4 |
13 |
1 |
| ip6_randomid_init |
|
1 |
4 |
12 |
1 |
| in6_cksum_phdr |
|
4 |
24 |
249 |
4 |
| in6_delayed_cksum |
|
8 |
26 |
182 |
2 |
| in6_proto_cksum_out |
|
17 |
42 |
349 |
2 |
| ip6_output_ipsec_lookup |
|
8 |
23 |
168 |
3 |
| ip6_output_ipsec_send |
|
7 |
14 |
110 |
4 |
| Source file: ./sys/sys/cdefs.h |
| Source file: ./sys/sys/time.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bintime_addx |
|
2 |
8 |
40 |
2 |
| bintime_add |
|
2 |
9 |
52 |
2 |
| bintime_sub |
|
2 |
9 |
52 |
2 |
| bintime2timespec |
|
1 |
5 |
53 |
2 |
| timespec2bintime |
|
1 |
5 |
38 |
2 |
| bintime2timeval |
|
1 |
5 |
53 |
2 |
| timeval2bintime |
|
1 |
5 |
41 |
2 |
| Source file: ./sys/sys/msg.h |
| Source file: ./sys/sys/swap.h |
| Source file: ./sys/sys/mtio.h |
| Source file: ./sys/sys/syscall_mi.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mi_syscall |
|
8 |
30 |
200 |
5 |
| mi_syscall_return |
|
4 |
13 |
76 |
4 |
| mi_child_return |
|
7 |
15 |
103 |
1 |
| mi_ast |
|
3 |
10 |
43 |
2 |
| Source file: ./sys/sys/exec_script.h |
| Source file: ./sys/sys/timetc.h |
| Source file: ./sys/sys/endian.h |
| Source file: ./sys/sys/tree.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _rb_init |
|
1 |
4 |
15 |
1 |
| _rb_empty |
|
1 |
4 |
18 |
1 |
| Source file: ./sys/sys/ktrace.h |
| Source file: ./sys/sys/eventvar.h |
| Source file: ./sys/sys/file.h |
| Source file: ./sys/sys/varargs.h |
| Source file: ./sys/sys/task.h |
| Source file: ./sys/sys/domain.h |
| Source file: ./sys/sys/stdint.h |
| Source file: ./sys/sys/limits.h |
| Source file: ./sys/sys/filedesc.h |
| Source file: ./sys/sys/ptrace.h |
| Source file: ./sys/sys/sched.h |
| Source file: ./sys/sys/scsiio.h |
| Source file: ./sys/sys/vnode.h |
| Source file: ./sys/sys/vmmeter.h |
| Source file: ./sys/sys/msgbuf.h |
| Source file: ./sys/sys/evcount.h |
| Source file: ./sys/sys/acct.h |
| Source file: ./sys/sys/atomic.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| atomic_cas_uint |
|
1 |
4 |
28 |
3 |
| atomic_cas_ulong |
|
1 |
4 |
28 |
3 |
| atomic_cas_ptr |
|
1 |
5 |
41 |
3 |
| atomic_swap_uint |
|
1 |
4 |
22 |
2 |
| atomic_swap_ulong |
|
1 |
4 |
22 |
2 |
| atomic_swap_ptr |
|
1 |
5 |
35 |
2 |
| atomic_add_int_nv |
|
1 |
4 |
22 |
2 |
| atomic_add_long_nv |
|
1 |
4 |
22 |
2 |
| atomic_sub_int_nv |
|
1 |
4 |
22 |
2 |
| atomic_sub_long_nv |
|
1 |
4 |
22 |
2 |
| Source file: ./sys/sys/hotplug.h |
| Source file: ./sys/sys/mbuf.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| m_freemp |
|
1 |
6 |
28 |
1 |
| Source file: ./sys/sys/_endian.h |
| Source file: ./sys/sys/mplock.h |
| Source file: ./sys/sys/dir.h |
| Source file: ./sys/sys/rwlock.h |
| Source file: ./sys/sys/sensors.h |
| Source file: ./sys/sys/kthread.h |
| Source file: ./sys/sys/ioccom.h |
| Source file: ./sys/sys/gpio.h |
| Source file: ./sys/sys/pledge.h |
| Source file: ./sys/sys/conf.h |
| Source file: ./sys/sys/un.h |
| Source file: ./sys/sys/proc.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| refreshcreds |
|
2 |
6 |
35 |
1 |
| Source file: ./sys/sys/malloc.h |
| Source file: ./sys/sys/futex.h |
| Source file: ./sys/sys/param.h |
| Source file: ./sys/sys/signal.h |
| Source file: ./sys/sys/namei.h |
| Source file: ./sys/sys/_null.h |
| Source file: ./sys/sys/buf.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| buf_start |
|
2 |
5 |
25 |
1 |
| buf_complete |
|
2 |
5 |
25 |
1 |
| buf_deallocate |
|
2 |
5 |
25 |
1 |
| buf_movedeps |
|
2 |
5 |
32 |
2 |
| buf_countdeps |
|
2 |
7 |
44 |
3 |
| Source file: ./sys/sys/chio.h |
| Source file: ./sys/sys/select.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __fd_set |
|
1 |
4 |
31 |
2 |
| __fd_clr |
|
1 |
4 |
31 |
2 |
| __fd_isset |
|
1 |
4 |
35 |
2 |
| Source file: ./sys/sys/queue.h |
| Source file: ./sys/sys/errno.h |
| Source file: ./sys/sys/fcntl.h |
| Source file: ./sys/sys/unistd.h |
| Source file: ./sys/sys/sysctl.h |
| Source file: ./sys/sys/uio.h |
| Source file: ./sys/sys/wait.h |
| Source file: ./sys/sys/ucred.h |
| Source file: ./sys/sys/siginfo.h |
| Source file: ./sys/dev/fdt/sxipiovar.h |
| Source file: ./sys/sys/videoio.h |
| Source file: ./sys/dev/fdt/exrtc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| exrtc_match |
|
1 |
5 |
34 |
3 |
| exrtc_attach |
|
2 |
14 |
122 |
3 |
| exrtc_gettime |
|
11 |
25 |
218 |
2 |
| exrtc_settime |
|
1 |
16 |
147 |
2 |
| Source file: ./sys/dev/fdt/rkdwusb.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rkdwusb_match |
|
1 |
5 |
34 |
3 |
| rkdwusb_attach |
|
1 |
7 |
58 |
3 |
| Source file: ./sys/dev/fdt/sxitwi.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sxitwi_match |
|
3 |
7 |
54 |
3 |
| sxitwi_attach |
|
5 |
49 |
388 |
3 |
| sxitwi_bus_scan |
|
5 |
24 |
204 |
3 |
| sxitwi_read_4 |
|
1 |
6 |
36 |
2 |
| sxitwi_write_4 |
|
1 |
6 |
37 |
3 |
| sxitwi_intr |
|
2 |
12 |
60 |
1 |
| sxitwi_acquire_bus |
|
2 |
7 |
38 |
2 |
| sxitwi_release_bus |
|
2 |
7 |
34 |
2 |
| sxitwi_send_start |
|
2 |
11 |
54 |
2 |
| sxitwi_send_stop |
|
3 |
13 |
74 |
2 |
| sxitwi_initiate_xfer |
|
5 |
28 |
168 |
3 |
| sxitwi_read_byte |
|
4 |
14 |
103 |
3 |
| sxitwi_write_byte |
|
2 |
10 |
62 |
3 |
| sxitwi_wait |
|
7 |
26 |
149 |
4 |
| Source file: ./sys/dev/fdt/rkiic.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rkiic_match |
|
2 |
6 |
45 |
3 |
| rkiic_attach |
|
4 |
44 |
341 |
3 |
| rkiic_acquire_bus |
|
1 |
6 |
30 |
2 |
| rkiic_release_bus |
|
1 |
5 |
27 |
2 |
| rkiic_send_start |
|
4 |
16 |
93 |
2 |
| rkiic_send_stop |
|
4 |
16 |
93 |
2 |
| rkiic_write |
|
7 |
25 |
206 |
6 |
| rkiic_read |
|
7 |
29 |
223 |
6 |
| rkiic_exec |
|
7 |
29 |
188 |
8 |
| rkiic_bus_scan |
|
5 |
24 |
204 |
3 |
| Source file: ./sys/dev/fdt/sxiccmu_clocks.h |
| Source file: ./sys/dev/fdt/sunxireg.h |
| Source file: ./sys/dev/fdt/axp20x.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| axp20x_match |
|
2 |
7 |
53 |
3 |
| axp20x_attach |
|
5 |
25 |
153 |
3 |
| axp20x_readb |
|
2 |
12 |
80 |
2 |
| axp20x_writeb |
|
2 |
12 |
79 |
2 |
| axp20x_shutdown |
|
1 |
4 |
13 |
1 |
| Source file: ./sys/dev/fdt/rktemp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rktemp_match |
|
1 |
5 |
36 |
3 |
| rktemp_attach |
|
5 |
62 |
507 |
3 |
| rktemp_calc_code |
|
5 |
20 |
156 |
1 |
| rktemp_calc_temp |
|
5 |
20 |
156 |
1 |
| rktemp_valid |
|
3 |
9 |
49 |
1 |
| rktemp_refresh_sensors |
|
3 |
17 |
132 |
1 |
| Source file: ./sys/dev/fdt/plrtc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| plrtc_gettime |
|
1 |
9 |
56 |
2 |
| plrtc_settime |
|
1 |
6 |
43 |
2 |
| plrtc_match |
|
1 |
5 |
36 |
3 |
| plrtc_attach |
|
4 |
26 |
178 |
3 |
| Source file: ./sys/dev/fdt/sxipio.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sxipio_match |
|
3 |
10 |
67 |
3 |
| sxipio_attach |
|
4 |
29 |
247 |
3 |
| sxipio_drive |
|
3 |
11 |
61 |
1 |
| sxipio_pull |
|
5 |
14 |
77 |
1 |
| sxipio_pinctrl |
|
20 |
66 |
569 |
2 |
| sxipio_config_pin |
|
4 |
12 |
100 |
3 |
| sxipio_get_pin |
|
4 |
17 |
108 |
2 |
| sxipio_set_pin |
|
5 |
18 |
119 |
3 |
| sxipio_pin_read |
|
2 |
9 |
61 |
2 |
| sxipio_pin_write |
|
1 |
9 |
61 |
3 |
| sxipio_pin_ctl |
|
2 |
12 |
82 |
3 |
| sxipio_attach_gpio |
|
11 |
51 |
423 |
1 |
| Source file: ./sys/sys/syscallargs.h |
| Source file: ./sys/dev/fdt/bcm2835_dog.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bcmdog_match |
|
1 |
5 |
34 |
3 |
| bcmdog_attach |
|
2 |
13 |
106 |
3 |
| bcmdog_activate |
|
2 |
9 |
31 |
2 |
| bcmdog_wdog_set |
|
2 |
15 |
85 |
2 |
| bcmdog_wdog_cb |
|
1 |
6 |
31 |
2 |
| bcmdog_wdog_reset |
|
1 |
6 |
25 |
1 |
| Source file: ./sys/dev/fdt/rkgpio.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rkgpio_match |
|
1 |
5 |
34 |
3 |
| rkgpio_attach |
|
3 |
22 |
160 |
3 |
| rkgpio_config_pin |
|
3 |
11 |
73 |
3 |
| rkgpio_get_pin |
|
3 |
16 |
93 |
2 |
| rkgpio_set_pin |
|
4 |
14 |
90 |
3 |
| Source file: ./sys/dev/fdt/bcm2835_aux.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bcmaux_match |
|
1 |
5 |
34 |
3 |
| bcmaux_attach |
|
3 |
24 |
187 |
3 |
| bcm_aux_get_frequency |
|
2 |
8 |
41 |
2 |
| bcm_aux_intr_establish_fdt |
|
2 |
9 |
73 |
6 |
| Source file: ./sys/dev/fdt/sxiccmu.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sxiccmu_match |
|
13 |
20 |
154 |
3 |
| sxiccmu_attach |
|
11 |
56 |
450 |
3 |
| sxiccmu_attach_clock |
|
7 |
34 |
286 |
2 |
| sxiccmu_gen_get_frequency |
|
1 |
5 |
29 |
2 |
| sxiccmu_osc_get_frequency |
|
1 |
5 |
31 |
2 |
| sxiccmu_pll6_get_frequency |
|
5 |
22 |
148 |
2 |
| sxiccmu_pll6_enable |
|
7 |
20 |
90 |
3 |
| sxiccmu_apb1_get_frequency |
|
1 |
12 |
88 |
2 |
| sxiccmu_gmac_set_frequency |
|
3 |
17 |
75 |
3 |
| sxiccmu_mmc_do_set_frequency |
|
8 |
34 |
175 |
3 |
| sxiccmu_mmc_set_frequency |
|
2 |
9 |
59 |
3 |
| sxiccmu_mmc_enable |
|
3 |
10 |
56 |
3 |
| sxiccmu_gate_enable |
|
2 |
13 |
101 |
3 |
| sxiccmu_reset |
|
2 |
10 |
79 |
3 |
| sxiccmu_ccu_get_frequency |
|
3 |
11 |
79 |
2 |
| sxiccmu_a10_get_frequency |
|
4 |
13 |
55 |
2 |
| sxiccmu_a64_get_frequency |
|
14 |
55 |
237 |
2 |
| sxiccmu_h3_get_frequency |
|
13 |
53 |
224 |
2 |
| sxiccmu_ccu_set_frequency |
|
1 |
6 |
42 |
3 |
| sxiccmu_a10_set_frequency |
|
5 |
19 |
115 |
3 |
| sxiccmu_a64_set_frequency |
|
4 |
18 |
112 |
3 |
| sxiccmu_h3_set_frequency |
|
4 |
18 |
112 |
3 |
| sxiccmu_ccu_enable |
|
4 |
16 |
125 |
3 |
| sxiccmu_ccu_reset |
|
4 |
16 |
125 |
3 |
| Source file: ./sys/dev/fdt/ehci_fdt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ehci_fdt_match |
|
1 |
5 |
34 |
3 |
| ehci_fdt_attach |
|
5 |
51 |
395 |
3 |
| ehci_fdt_detach |
|
4 |
18 |
115 |
2 |
| ehci_next_phy |
|
2 |
10 |
55 |
1 |
| ehci_init_phy |
|
4 |
14 |
85 |
2 |
| ehci_init_phys |
|
6 |
25 |
154 |
1 |
| sun4i_phy_init |
|
6 |
30 |
226 |
2 |
| sun9i_phy_init |
|
3 |
20 |
136 |
2 |
| Source file: ./sys/dev/fdt/sdhc_fdt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sdhc_fdt_match |
|
1 |
5 |
34 |
3 |
| sdhc_fdt_attach |
|
6 |
37 |
299 |
3 |
| sdhc_fdt_signal_voltage |
|
2 |
9 |
29 |
2 |
| Source file: ./sys/dev/fdt/mvmdiovar.h |
| Source file: ./sys/dev/fdt/rkpinctrl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rkpinctrl_match |
|
2 |
6 |
45 |
3 |
| rkpinctrl_attach |
|
4 |
19 |
157 |
3 |
| rk3288_pull |
|
6 |
16 |
89 |
3 |
| rk3288_strength |
|
6 |
19 |
116 |
3 |
| rk3288_pinctrl |
|
24 |
71 |
622 |
2 |
| rk3399_pull |
|
7 |
22 |
115 |
3 |
| rk3399_strength |
|
6 |
19 |
122 |
3 |
| rk3399_pinctrl |
|
14 |
69 |
576 |
2 |
| Source file: ./sys/dev/fdt/rkpmic.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rkpmic_match |
|
1 |
6 |
46 |
3 |
| rkpmic_attach |
|
3 |
18 |
143 |
3 |
| rkpmic_attach_regulator |
|
4 |
25 |
205 |
2 |
| rkpmic_get_voltage |
|
1 |
7 |
48 |
1 |
| rkpmic_gettime |
|
11 |
20 |
150 |
2 |
| rkpmic_settime |
|
3 |
18 |
110 |
2 |
| rkpmic_reg_read |
|
2 |
16 |
96 |
2 |
| rkpmic_reg_write |
|
2 |
13 |
89 |
3 |
| rkpmic_clock_read |
|
3 |
25 |
193 |
2 |
| rkpmic_clock_write |
|
2 |
25 |
211 |
2 |
| Source file: ./sys/dev/fdt/ahci_fdt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ahci_fdt_match |
|
3 |
7 |
52 |
3 |
| ahci_fdt_attach |
|
5 |
28 |
203 |
3 |
| ahci_fdt_detach |
|
1 |
7 |
49 |
2 |
| ahci_fdt_activate |
|
1 |
5 |
37 |
2 |
| Source file: ./sys/dev/fdt/xhci_fdt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| xhci_fdt_match |
|
3 |
7 |
52 |
3 |
| xhci_fdt_attach |
|
6 |
42 |
334 |
3 |
| xhci_dwc3_init |
|
4 |
25 |
202 |
1 |
| xhci_next_phy |
|
2 |
10 |
55 |
1 |
| xhci_init_phy |
|
4 |
14 |
85 |
2 |
| xhci_init_phys |
|
6 |
25 |
154 |
1 |
| exynos5_usbdrd_init |
|
5 |
47 |
355 |
2 |
| Source file: ./sys/dev/fdt/rkclock_clocks.h |
| Source file: ./sys/dev/fdt/if_mvnetareg.h |
| Source file: ./sys/dev/fdt/simplefb.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| simplefb_match |
|
1 |
5 |
34 |
3 |
| simplefb_attach |
|
7 |
58 |
470 |
3 |
| simplefb_init |
|
4 |
29 |
227 |
2 |
| simplefb_wsioctl |
|
10 |
43 |
204 |
5 |
| simplefb_wsmmap |
|
3 |
8 |
53 |
3 |
| simplefb_alloc_screen |
|
1 |
5 |
44 |
6 |
| simplefb_init_cons |
|
6 |
30 |
210 |
1 |
| Source file: ./sys/dev/fdt/rkclock.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rkclock_match |
|
3 |
10 |
67 |
3 |
| rkclock_attach |
|
6 |
35 |
284 |
3 |
| rk3288_get_pll |
|
1 |
11 |
96 |
2 |
| rk3288_get_frequency |
|
25 |
93 |
578 |
2 |
| rk3288_set_frequency |
|
1 |
6 |
36 |
3 |
| rk3288_enable |
|
22 |
31 |
107 |
3 |
| rk3288_reset |
|
1 |
5 |
32 |
3 |
| rk3399_init |
|
3 |
16 |
79 |
1 |
| rk3399_get_pll |
|
3 |
23 |
139 |
2 |
| rk3399_set_pll |
|
23 |
62 |
307 |
3 |
| rk3399_armclk_parent |
|
5 |
14 |
40 |
1 |
| rk3399_get_armclk |
|
1 |
12 |
75 |
2 |
| rk3399_set_armclk |
|
5 |
42 |
241 |
3 |
| rk3399_get_i2c |
|
2 |
16 |
110 |
3 |
| rk3399_get_frequency |
|
33 |
101 |
637 |
2 |
| rk3399_set_frequency |
|
5 |
17 |
113 |
3 |
| rk3399_enable |
|
41 |
50 |
164 |
3 |
| rk3399_reset |
|
2 |
8 |
69 |
3 |
| rk3399_cpuspeed |
|
1 |
6 |
29 |
1 |
| rk3399_pmu_init |
|
1 |
4 |
13 |
1 |
| rk3399_pmu_get_i2c |
|
1 |
9 |
62 |
3 |
| rk3399_pmu_get_frequency |
|
5 |
19 |
111 |
2 |
| rk3399_pmu_set_frequency |
|
1 |
6 |
36 |
3 |
| rk3399_pmu_enable |
|
7 |
16 |
62 |
3 |
| rk3399_pmu_reset |
|
1 |
5 |
32 |
3 |
| Source file: ./sys/dev/fdt/syscon.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| syscon_match |
|
3 |
7 |
52 |
3 |
| syscon_attach |
|
12 |
44 |
351 |
3 |
| syscon_reset |
|
2 |
10 |
53 |
1 |
| syscon_powerdown |
|
2 |
10 |
53 |
1 |
| Source file: ./sys/dev/fdt/mvmdio.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mvmdio_match |
|
1 |
5 |
34 |
3 |
| mvmdio_attach |
|
2 |
13 |
118 |
3 |
| mvmdio_miibus_readreg |
|
6 |
29 |
187 |
3 |
| mvmdio_miibus_writereg |
|
7 |
28 |
199 |
4 |
| Source file: ./sys/dev/fdt/if_dwxe.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dwxe_match |
|
2 |
6 |
43 |
3 |
| dwxe_attach |
|
8 |
67 |
557 |
3 |
| dwxe_phy_setup |
|
7 |
29 |
219 |
1 |
| dwxe_read |
|
1 |
4 |
26 |
2 |
| dwxe_write |
|
1 |
4 |
30 |
3 |
| dwxe_lladdr_read |
|
1 |
12 |
120 |
2 |
| dwxe_lladdr_write |
|
1 |
8 |
83 |
1 |
| dwxe_start |
|
12 |
39 |
236 |
1 |
| dwxe_ioctl |
|
11 |
40 |
220 |
3 |
| dwxe_watchdog |
|
1 |
4 |
16 |
1 |
| dwxe_media_change |
|
2 |
7 |
43 |
1 |
| dwxe_media_status |
|
2 |
9 |
65 |
2 |
| dwxe_mii_readreg |
|
3 |
18 |
114 |
3 |
| dwxe_mii_writereg |
|
3 |
19 |
117 |
4 |
| dwxe_mii_statchg |
|
9 |
35 |
162 |
1 |
| dwxe_tick |
|
1 |
9 |
47 |
1 |
| dwxe_intr |
|
4 |
13 |
67 |
1 |
| dwxe_tx_proc |
|
6 |
34 |
224 |
1 |
| dwxe_rx_proc |
|
5 |
44 |
312 |
1 |
| dwxe_up |
|
4 |
63 |
560 |
1 |
| dwxe_down |
|
5 |
47 |
359 |
1 |
| bitrev32 |
|
1 |
8 |
126 |
1 |
| dwxe_iff |
|
5 |
34 |
234 |
1 |
| dwxe_encap |
|
10 |
54 |
457 |
3 |
| dwxe_reset |
|
3 |
13 |
73 |
1 |
| dwxe_stop_dma |
|
1 |
8 |
38 |
1 |
| dwxe_dmamem_alloc |
|
5 |
30 |
243 |
3 |
| dwxe_dmamem_free |
|
1 |
7 |
63 |
2 |
| dwxe_alloc_mbuf |
|
3 |
17 |
124 |
2 |
| dwxe_fill_rx_ring |
|
4 |
22 |
164 |
1 |
| Source file: ./sys/dev/fdt/virtio_mmio.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| virtio_mmio_read_queue_size |
|
1 |
7 |
53 |
2 |
| virtio_mmio_setup_queue |
|
1 |
10 |
98 |
3 |
| virtio_mmio_set_status |
|
2 |
10 |
67 |
2 |
| virtio_mmio_match |
|
1 |
5 |
34 |
3 |
| virtio_mmio_attach |
|
9 |
67 |
445 |
3 |
| virtio_mmio_detach |
|
6 |
19 |
138 |
2 |
| virtio_mmio_negotiate_features |
|
6 |
29 |
184 |
3 |
| virtio_mmio_read_device_config_1 |
|
1 |
6 |
42 |
2 |
| virtio_mmio_read_device_config_2 |
|
1 |
6 |
42 |
2 |
| virtio_mmio_read_device_config_4 |
|
1 |
6 |
42 |
2 |
| virtio_mmio_read_device_config_8 |
|
1 |
11 |
78 |
2 |
| virtio_mmio_write_device_config_1 |
|
1 |
7 |
46 |
3 |
| virtio_mmio_write_device_config_2 |
|
1 |
7 |
46 |
3 |
| virtio_mmio_write_device_config_4 |
|
1 |
7 |
46 |
3 |
| virtio_mmio_write_device_config_8 |
|
1 |
11 |
75 |
3 |
| virtio_mmio_intr |
|
4 |
16 |
107 |
1 |
| virtio_mmio_kick |
|
1 |
6 |
39 |
2 |
| Source file: ./sys/dev/fdt/dwdog.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dwdog_match |
|
1 |
5 |
34 |
3 |
| dwdog_attach |
|
4 |
17 |
118 |
3 |
| dwdog_reset |
|
1 |
9 |
61 |
1 |
| Source file: ./sys/dev/fdt/rkgrf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rkgrf_match |
|
5 |
9 |
72 |
3 |
| rkgrf_attach |
|
3 |
18 |
134 |
3 |
| Source file: ./sys/dev/fdt/psci.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| psci_match |
|
3 |
7 |
52 |
3 |
| psci_attach |
|
9 |
28 |
209 |
3 |
| psci_reset |
|
2 |
6 |
37 |
1 |
| psci_powerdown |
|
2 |
6 |
37 |
1 |
| Source file: ./sys/dev/fdt/if_dwge_fdt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dwge_fdt_match |
|
3 |
7 |
54 |
3 |
| dwge_fdt_attach |
|
10 |
54 |
386 |
3 |
| dwge_fdt_reset_phy |
|
3 |
25 |
183 |
1 |
| dwge_fdt_intr |
|
1 |
5 |
24 |
1 |
| dwge_fdt_attach_allwinner |
|
2 |
11 |
65 |
1 |
| dwge_fdt_attach_rockchip |
|
3 |
40 |
248 |
1 |
| dwge_fdt_statchg_rockchip |
|
5 |
23 |
121 |
1 |
| Source file: ./sys/dev/fdt/dwmmc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dwmmc_match |
|
2 |
6 |
45 |
3 |
| dwmmc_attach |
|
12 |
78 |
543 |
3 |
| dwmmc_intr |
|
1 |
4 |
11 |
1 |
| dwmmc_host_reset |
|
1 |
5 |
17 |
1 |
| dwmmc_host_ocr |
|
1 |
4 |
12 |
1 |
| dwmmc_host_maxblklen |
|
1 |
4 |
10 |
1 |
| dwmmc_card_detect |
|
1 |
7 |
34 |
1 |
| dwmmc_bus_power |
|
2 |
9 |
50 |
2 |
| dwmmc_bus_clock |
|
11 |
41 |
251 |
3 |
| dwmmc_bus_width |
|
4 |
19 |
84 |
2 |
| dwmmc_exec_command |
|
31 |
105 |
772 |
2 |
| dwmmc_transfer_data |
|
13 |
51 |
302 |
2 |
| dwmmc_read_data32 |
|
4 |
16 |
99 |
3 |
| dwmmc_write_data32 |
|
5 |
17 |
111 |
3 |
| dwmmc_read_data64 |
|
4 |
20 |
140 |
3 |
| dwmmc_write_data64 |
|
9 |
29 |
205 |
3 |
| Source file: ./sys/dev/fdt/mvpinctrl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mvpinctrl_match |
|
1 |
5 |
34 |
3 |
| mvpinctrl_attach |
|
2 |
13 |
121 |
3 |
| mvpinctrl_pinctrl |
|
9 |
42 |
346 |
2 |
| Source file: ./sys/dev/sbus/uperf_sbusreg.h |
| Source file: ./sys/dev/sbus/xboxvar.h |
| Source file: ./sys/dev/sbus/stp4020reg.h |
| Source file: ./sys/dev/fdt/sxirtc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sxirtc_match |
|
3 |
7 |
54 |
3 |
| sxirtc_attach |
|
6 |
40 |
266 |
3 |
| sxirtc_gettime |
|
10 |
25 |
219 |
2 |
| sxirtc_settime |
|
9 |
19 |
210 |
2 |
| Source file: ./sys/dev/sbus/if_le.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| le_sbus_wrcsr |
|
3 |
15 |
116 |
3 |
| le_sbus_rdcsr |
|
1 |
8 |
72 |
2 |
| lematch_sbus |
|
1 |
6 |
49 |
3 |
| leattach_sbus |
|
12 |
80 |
629 |
3 |
| Source file: ./sys/dev/sbus/qla_sbus.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| qla_sbus_match |
|
3 |
8 |
54 |
3 |
| qla_sbus_attach |
|
10 |
69 |
421 |
3 |
| Source file: ./sys/dev/fdt/if_mvneta.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mvneta_miibus_readreg |
|
1 |
5 |
39 |
3 |
| mvneta_miibus_writereg |
|
1 |
5 |
44 |
4 |
| mvneta_miibus_statchg |
|
11 |
41 |
224 |
1 |
| mvneta_enaddr_write |
|
1 |
12 |
98 |
1 |
| mvneta_wininit |
|
6 |
25 |
189 |
1 |
| mvneta_match |
|
1 |
5 |
34 |
3 |
| mvneta_attach |
|
25 |
199 |
1506 |
3 |
| mvneta_attach_deferred |
|
3 |
23 |
169 |
1 |
| mvneta_tick |
|
1 |
10 |
54 |
1 |
| mvneta_intr |
|
5 |
16 |
100 |
1 |
| mvneta_start |
|
11 |
36 |
232 |
1 |
| mvneta_ioctl |
|
11 |
42 |
236 |
3 |
| mvneta_port_up |
|
1 |
5 |
33 |
1 |
| mvneta_up |
|
5 |
64 |
549 |
1 |
| mvneta_down |
|
16 |
87 |
622 |
1 |
| mvneta_watchdog |
|
2 |
9 |
49 |
1 |
| mvneta_mediachange |
|
2 |
7 |
43 |
1 |
| mvneta_mediastatus |
|
3 |
13 |
93 |
2 |
| mvneta_encap |
|
11 |
61 |
477 |
3 |
| mvneta_rx_proc |
|
19 |
75 |
508 |
1 |
| mvneta_tx_proc |
|
9 |
42 |
308 |
1 |
| mvneta_crc8 |
|
4 |
11 |
93 |
2 |
| mvneta_iff |
|
7 |
49 |
439 |
1 |
| mvneta_dmamem_alloc |
|
5 |
30 |
243 |
3 |
| mvneta_dmamem_free |
|
1 |
7 |
63 |
2 |
| mvneta_alloc_mbuf |
|
3 |
16 |
118 |
2 |
| mvneta_fill_rx_ring |
|
3 |
23 |
188 |
1 |
| Source file: ./sys/dev/sbus/bpp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bppmatch |
|
1 |
5 |
38 |
3 |
| bppattach |
|
10 |
59 |
480 |
3 |
| bpp_setparams |
|
1 |
16 |
148 |
2 |
| bppopen |
|
3 |
20 |
135 |
4 |
| bppclose |
|
1 |
11 |
86 |
4 |
| bppwrite |
|
13 |
62 |
422 |
3 |
| bppioctl |
|
1 |
10 |
45 |
5 |
| bppintr |
|
5 |
21 |
150 |
1 |
| Source file: ./sys/dev/fdt/sximmc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sximmc_match |
|
5 |
9 |
72 |
3 |
| sximmc_idma_setup |
|
6 |
38 |
254 |
1 |
| sximmc_attach |
|
16 |
72 |
519 |
3 |
| sximmc_set_clock |
|
3 |
11 |
65 |
2 |
| sximmc_intr |
|
7 |
24 |
150 |
1 |
| sximmc_wait_rint |
|
9 |
25 |
141 |
3 |
| sximmc_led |
|
1 |
3 |
12 |
2 |
| sximmc_host_reset |
|
9 |
31 |
191 |
1 |
| sximmc_host_ocr |
|
2 |
5 |
19 |
1 |
| sximmc_host_maxblklen |
|
2 |
5 |
13 |
1 |
| sximmc_card_detect |
|
3 |
10 |
67 |
1 |
| sximmc_bus_power |
|
8 |
15 |
101 |
2 |
| sximmc_update_clock |
|
6 |
29 |
198 |
1 |
| sximmc_bus_clock |
|
7 |
25 |
138 |
3 |
| sximmc_bus_width |
|
5 |
19 |
86 |
2 |
| sximmc_pio_wait |
|
4 |
13 |
73 |
2 |
| sximmc_pio_transfer |
|
4 |
15 |
107 |
2 |
| sximmc_dma_prepare |
|
8 |
72 |
488 |
2 |
| sximmc_dma_complete |
|
1 |
5 |
28 |
1 |
| sximmc_exec_command |
|
40 |
143 |
1000 |
2 |
| sximmc_pwrseq_pre |
|
6 |
25 |
153 |
1 |
| sximmc_pwrseq_post |
|
6 |
22 |
132 |
1 |
| Source file: ./sys/dev/sbus/cs4231var.h |
| Source file: ./sys/dev/sbus/if_ti_sbus.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ti_sbus_match |
|
1 |
5 |
38 |
3 |
| ti_sbus_attach |
|
6 |
41 |
329 |
3 |
| Source file: ./sys/dev/sbus/sbusvar.h |
| Source file: ./sys/dev/sbus/stp4020var.h |
| Source file: ./sys/dev/sbus/qlw_sbus.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| qlw_sbus_match |
|
5 |
10 |
76 |
3 |
| qlw_sbus_attach |
|
12 |
57 |
427 |
3 |
| Source file: ./sys/dev/sbus/zxreg.h |
| Source file: ./sys/dev/sbus/if_le_lebuffer.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| le_lebuffer_wrcsr |
|
3 |
15 |
116 |
3 |
| le_lebuffer_rdcsr |
|
1 |
8 |
72 |
2 |
| lematch_lebuffer |
|
1 |
6 |
49 |
3 |
| leattach_lebuffer |
|
3 |
37 |
294 |
3 |
| Source file: ./sys/dev/sbus/magmareg.h |
| Source file: ./sys/dev/sbus/lebuffer.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| lebufprint |
|
1 |
10 |
62 |
2 |
| lebufmatch |
|
1 |
6 |
49 |
3 |
| lebufattach |
|
6 |
44 |
356 |
3 |
| Source file: ./sys/dev/sbus/qereg.h |
| Source file: ./sys/dev/sbus/xbox.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| xboxmatch |
|
2 |
7 |
45 |
3 |
| xboxattach |
|
4 |
41 |
331 |
3 |
| xbox_fix_range |
|
5 |
22 |
175 |
2 |
| xboxprint |
|
2 |
7 |
42 |
2 |
| Source file: ./sys/dev/sbus/qecreg.h |
| Source file: ./sys/dev/sbus/if_le_ledma.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| le_ledma_wrcsr |
|
3 |
15 |
116 |
3 |
| le_ledma_rdcsr |
|
1 |
8 |
72 |
2 |
| le_ledma_setutp |
|
1 |
9 |
51 |
1 |
| le_ledma_setaui |
|
1 |
9 |
51 |
1 |
| lemediachange |
|
5 |
19 |
83 |
1 |
| lemediastatus |
|
2 |
8 |
56 |
2 |
| le_ledma_hwreset |
|
1 |
17 |
105 |
1 |
| le_ledma_hwinit |
|
3 |
11 |
44 |
1 |
| le_ledma_nocarrier |
|
6 |
21 |
109 |
1 |
| lematch_ledma |
|
1 |
6 |
49 |
3 |
| leattach_ledma |
|
7 |
76 |
560 |
3 |
| Source file: ./sys/dev/sbus/tvtwo.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tvtwomatch |
|
3 |
8 |
58 |
3 |
| tvtwoattach |
|
12 |
76 |
595 |
3 |
| tvtwo_ioctl |
|
16 |
44 |
213 |
5 |
| tvtwo_mmap |
|
4 |
11 |
79 |
3 |
| tvtwo_burner |
|
3 |
13 |
69 |
3 |
| tvtwo_reset |
|
2 |
8 |
38 |
2 |
| tvtwo_ramdac_wraddr |
|
1 |
6 |
56 |
2 |
| tvtwo_directcmap |
|
2 |
11 |
72 |
1 |
| tvtwo_setcolor |
|
1 |
9 |
72 |
5 |
| Source file: ./sys/dev/sbus/mgx.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mgxmatch |
|
3 |
8 |
58 |
3 |
| mgxattach |
|
10 |
72 |
568 |
3 |
| mgx_read_1 |
|
2 |
5 |
40 |
2 |
| mgx_read_2 |
|
2 |
5 |
40 |
2 |
| mgx_write_1 |
|
2 |
5 |
45 |
3 |
| mgx_write_4 |
|
1 |
4 |
27 |
3 |
| mgx_ioctl |
|
10 |
41 |
236 |
5 |
| mgx_mmap |
|
4 |
11 |
75 |
3 |
| mgx_burner |
|
7 |
24 |
140 |
3 |
| mgx_setcolor |
|
1 |
9 |
72 |
5 |
| mgx_loadcmap |
|
2 |
9 |
71 |
3 |
| mgx_getcmap |
|
7 |
20 |
165 |
2 |
| mgx_putcmap |
|
7 |
20 |
165 |
2 |
| mgx_wait_engine |
|
3 |
11 |
58 |
1 |
| mgx_wait_fifo |
|
3 |
13 |
73 |
2 |
| mgx_ras_init |
|
15 |
56 |
336 |
2 |
| mgx_ras_copycols |
|
2 |
28 |
222 |
5 |
| mgx_ras_copyrows |
|
2 |
26 |
207 |
4 |
| mgx_ras_erasecols |
|
1 |
24 |
213 |
5 |
| mgx_ras_eraserows |
|
3 |
29 |
254 |
4 |
| mgx_ras_do_cursor |
|
1 |
19 |
174 |
1 |
| Source file: ./sys/dev/sbus/if_hme_sbus.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| hmematch_sbus |
|
3 |
8 |
71 |
3 |
| hmeattach_sbus |
|
14 |
70 |
592 |
3 |
| Source file: ./sys/dev/sbus/bppreg.h |
| Source file: ./sys/dev/sbus/spifvar.h |
| Source file: ./sys/dev/sbus/apio.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| apio_match |
|
2 |
7 |
47 |
3 |
| apio_attach |
|
7 |
48 |
355 |
3 |
| apio_print |
|
2 |
7 |
42 |
2 |
| apio_intr_enable |
|
1 |
9 |
71 |
2 |
| lpt_apio_match |
|
1 |
4 |
22 |
3 |
| lpt_apio_attach |
|
2 |
17 |
134 |
3 |
| lpt_apio_intr |
|
1 |
8 |
48 |
1 |
| Source file: ./sys/dev/sbus/esp_sbus.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| espmatch_sbus |
|
3 |
11 |
85 |
3 |
| espattach_sbus |
|
21 |
105 |
756 |
3 |
| espattach_dma |
|
6 |
37 |
264 |
3 |
| espattach |
|
10 |
56 |
387 |
2 |
| esp_read_reg |
|
6 |
10 |
93 |
2 |
| esp_write_reg |
|
6 |
8 |
90 |
3 |
| esp_rdreg1 |
|
1 |
5 |
40 |
2 |
| esp_wrreg1 |
|
1 |
5 |
42 |
3 |
| esp_dma_isintr |
|
1 |
5 |
31 |
1 |
| esp_dma_reset |
|
1 |
5 |
28 |
1 |
| esp_dma_intr |
|
1 |
5 |
31 |
1 |
| esp_dma_setup |
|
1 |
6 |
54 |
5 |
| esp_dma_go |
|
1 |
5 |
28 |
1 |
| esp_dma_stop |
|
1 |
8 |
46 |
1 |
| esp_dma_isactive |
|
1 |
5 |
31 |
1 |
| db_esp |
|
7 |
39 |
302 |
4 |
| Source file: ./sys/dev/sbus/agten.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| agtenmatch |
|
2 |
7 |
47 |
3 |
| agtenattach |
|
5 |
51 |
444 |
3 |
| agten_ioctl |
|
18 |
55 |
291 |
5 |
| agten_mmap |
|
4 |
14 |
85 |
3 |
| agten_setcolor |
|
1 |
11 |
77 |
5 |
| agten_getcmap |
|
6 |
14 |
142 |
2 |
| agten_putcmap |
|
6 |
14 |
142 |
2 |
| ibm561_write |
|
1 |
5 |
39 |
3 |
| agten_loadcmap |
|
2 |
17 |
137 |
3 |
| Source file: ./sys/dev/sbus/spif.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| spifmatch |
|
3 |
11 |
70 |
3 |
| spifattach |
|
15 |
96 |
704 |
3 |
| sttymatch |
|
2 |
7 |
47 |
3 |
| sttyattach |
|
4 |
26 |
190 |
3 |
| sttyopen |
|
18 |
73 |
542 |
4 |
| sttyclose |
|
3 |
24 |
178 |
4 |
| sttyioctl |
|
14 |
66 |
422 |
5 |
| stty_modem_control |
|
17 |
51 |
342 |
3 |
| stty_param |
|
16 |
77 |
520 |
2 |
| sttyread |
|
1 |
10 |
83 |
3 |
| sttywrite |
|
1 |
10 |
83 |
3 |
| sttytty |
|
1 |
7 |
47 |
1 |
| sttystop |
|
3 |
16 |
113 |
2 |
| stty_start |
|
3 |
21 |
162 |
1 |
| spifstcintr_rxexception |
|
4 |
24 |
156 |
2 |
| spifstcintr_rx |
|
6 |
32 |
199 |
2 |
| spifstcintr_tx |
|
9 |
45 |
299 |
2 |
| spifstcintr_mx |
|
2 |
17 |
105 |
2 |
| spifstcintr |
|
9 |
27 |
195 |
1 |
| spifsoftintr |
|
11 |
58 |
401 |
1 |
| stty_write_ccr |
|
4 |
11 |
60 |
2 |
| stty_compute_baud |
|
4 |
17 |
106 |
4 |
| sbppmatch |
|
2 |
7 |
47 |
3 |
| sbppattach |
|
3 |
13 |
93 |
3 |
| sbppopen |
|
1 |
8 |
31 |
4 |
| sbppclose |
|
1 |
8 |
31 |
4 |
| spifppcintr |
|
1 |
5 |
15 |
1 |
| sbppread |
|
1 |
7 |
31 |
3 |
| sbppwrite |
|
1 |
7 |
31 |
3 |
| sbpp_rw |
|
1 |
6 |
21 |
2 |
| sbpppoll |
|
1 |
7 |
33 |
3 |
| sbppioctl |
|
1 |
11 |
43 |
5 |
| Source file: ./sys/dev/sbus/cgtwelvereg.h |
| Source file: ./sys/dev/sbus/asioreg.h |
| Source file: ./sys/dev/sbus/qec.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| qecprint |
|
1 |
12 |
66 |
2 |
| qecmatch |
|
1 |
9 |
55 |
3 |
| qecattach |
|
11 |
76 |
597 |
3 |
| qec_bus_map |
|
7 |
36 |
235 |
6 |
| if |
|
2 |
8 |
42 |
1 |
| for |
|
2 |
5 |
53 |
1 |
| qec_init |
|
6 |
31 |
241 |
1 |
| qec_meminit |
|
4 |
44 |
314 |
2 |
| Source file: ./sys/dev/sbus/rfx.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rfxmatch |
|
6 |
16 |
107 |
3 |
| rfxattach |
|
13 |
77 |
627 |
3 |
| rfx_ioctl |
|
10 |
41 |
238 |
5 |
| rfx_mmap |
|
4 |
11 |
77 |
3 |
| rfx_burner |
|
3 |
12 |
72 |
3 |
| rfx_setcolor |
|
1 |
8 |
69 |
5 |
| rfx_getcmap |
|
6 |
14 |
136 |
2 |
| rfx_putcmap |
|
6 |
18 |
179 |
2 |
| rfx_loadcmap |
|
2 |
15 |
128 |
3 |
| rfx_initialize |
|
11 |
43 |
301 |
3 |
| Source file: ./sys/dev/sbus/uperf_sbus.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| uperf_sbus_match |
|
1 |
5 |
38 |
3 |
| uperf_sbus_attach |
|
6 |
33 |
255 |
3 |
| uperf_sbus_read_reg |
|
1 |
26 |
225 |
2 |
| uperf_sbus_write_reg |
|
1 |
25 |
233 |
3 |
| uperf_sbus_clrcnt |
|
4 |
14 |
76 |
2 |
| uperf_sbus_setcntsrc |
|
3 |
16 |
104 |
4 |
| uperf_sbus_getcntsrc |
|
3 |
11 |
79 |
4 |
| uperf_sbus_getcnt |
|
3 |
12 |
76 |
4 |
| uperf_sbus_xir |
|
1 |
5 |
27 |
2 |
| Source file: ./sys/dev/sbus/bwtwo.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bwtwomatch |
|
1 |
8 |
54 |
3 |
| bwtwoattach |
|
6 |
50 |
391 |
3 |
| bwtwo_ioctl |
|
13 |
39 |
173 |
5 |
| bwtwo_mmap |
|
4 |
13 |
81 |
3 |
| bwtwo_is_console |
|
1 |
6 |
20 |
1 |
| bwtwo_burner |
|
3 |
19 |
88 |
3 |
| Source file: ./sys/dev/sbus/cgthree.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cgthreematch |
|
1 |
6 |
49 |
3 |
| cgthreeattach |
|
6 |
50 |
402 |
3 |
| cgthree_ioctl |
|
16 |
49 |
262 |
5 |
| cgthree_mmap |
|
9 |
26 |
155 |
3 |
| cgthree_is_console |
|
1 |
5 |
18 |
1 |
| cgthree_setcolor |
|
1 |
9 |
82 |
5 |
| cgthree_loadcmap |
|
2 |
12 |
86 |
3 |
| cg3_bt_getcmap |
|
7 |
19 |
186 |
2 |
| cg3_bt_putcmap |
|
7 |
19 |
186 |
2 |
| cgthree_reset |
|
6 |
41 |
309 |
1 |
| cgthree_burner |
|
3 |
17 |
83 |
3 |
| Source file: ./sys/dev/sbus/lebuffervar.h |
| Source file: ./sys/dev/sbus/magma.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cd1400_compute_baud |
|
5 |
15 |
116 |
4 |
| cd1400_write_ccr |
|
2 |
6 |
31 |
2 |
| cd1400_enable_transmitter |
|
1 |
10 |
62 |
2 |
| magma_match |
|
4 |
12 |
77 |
3 |
| magma_attach |
|
21 |
112 |
837 |
3 |
| magma_hard |
|
28 |
148 |
968 |
1 |
| magma_soft |
|
17 |
66 |
507 |
1 |
| mtty_match |
|
3 |
6 |
48 |
3 |
| mtty_attach |
|
7 |
31 |
243 |
3 |
| mttyopen |
|
16 |
62 |
509 |
4 |
| mttyclose |
|
3 |
15 |
136 |
4 |
| mttyread |
|
1 |
7 |
77 |
3 |
| mttywrite |
|
1 |
7 |
77 |
3 |
| mttytty |
|
1 |
6 |
45 |
1 |
| mttyioctl |
|
14 |
56 |
371 |
5 |
| mttystop |
|
3 |
14 |
109 |
2 |
| mtty_start |
|
3 |
17 |
135 |
1 |
| mtty_modem_control |
|
22 |
49 |
327 |
3 |
| mtty_param |
|
18 |
72 |
508 |
2 |
| mbpp_match |
|
3 |
6 |
48 |
3 |
| mbpp_attach |
|
4 |
20 |
170 |
3 |
| mbppopen |
|
6 |
33 |
233 |
4 |
| mbppclose |
|
1 |
7 |
60 |
4 |
| mbppread |
|
1 |
4 |
25 |
3 |
| mbppwrite |
|
1 |
4 |
25 |
3 |
| mbppioctl |
|
8 |
36 |
248 |
5 |
| mbpppoll |
|
1 |
4 |
27 |
3 |
| mbpp_rw |
|
21 |
80 |
521 |
2 |
| mbpp_timeout |
|
1 |
6 |
31 |
1 |
| mbpp_start |
|
1 |
6 |
29 |
1 |
| mbpp_send |
|
3 |
23 |
156 |
3 |
| mbpp_recv |
|
3 |
27 |
194 |
3 |
| mbpp_hztoms |
|
2 |
7 |
31 |
1 |
| mbpp_mstohz |
|
3 |
10 |
45 |
1 |
| Source file: ./sys/dev/sbus/if_gem_sbus.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| gemmatch_sbus |
|
1 |
5 |
38 |
3 |
| gemattach_sbus |
|
6 |
42 |
340 |
3 |
| Source file: ./sys/dev/sbus/cgsixreg.h |
| Source file: ./sys/dev/sbus/spifreg.h |
| Source file: ./sys/dev/sbus/asio.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| asio_match |
|
2 |
7 |
47 |
3 |
| asio_attach |
|
8 |
50 |
394 |
3 |
| asio_print |
|
2 |
8 |
51 |
2 |
| asio_intr_enable |
|
1 |
9 |
71 |
2 |
| com_asio_match |
|
1 |
4 |
22 |
3 |
| com_asio_attach |
|
2 |
19 |
135 |
3 |
| Source file: ./sys/dev/sbus/bereg.h |
| Source file: ./sys/dev/sbus/vigra.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| vigramatch |
|
4 |
9 |
69 |
3 |
| vigraattach |
|
8 |
63 |
541 |
3 |
| vigra_ioctl |
|
16 |
49 |
279 |
5 |
| vigra_mmap |
|
4 |
11 |
75 |
3 |
| vigra_setcolor |
|
2 |
15 |
145 |
5 |
| vigra_getcmap |
|
12 |
32 |
306 |
3 |
| vigra_putcmap |
|
12 |
33 |
320 |
3 |
| vigra_loadcmap_immediate |
|
3 |
11 |
88 |
3 |
| vigra_loadcmap_deferred |
|
1 |
4 |
23 |
3 |
| vigra_burner |
|
2 |
9 |
46 |
3 |
| vigra_intr |
|
3 |
11 |
66 |
1 |
| Source file: ./sys/dev/sbus/qecvar.h |
| Source file: ./sys/dev/sbus/qe.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| qematch |
|
1 |
9 |
55 |
3 |
| qeattach |
|
9 |
100 |
823 |
3 |
| qe_get |
|
8 |
41 |
259 |
3 |
| qe_put |
|
3 |
22 |
132 |
3 |
| qe_read |
|
4 |
22 |
127 |
3 |
| qestart |
|
9 |
31 |
215 |
1 |
| qestop |
|
5 |
22 |
135 |
1 |
| qereset |
|
1 |
9 |
35 |
1 |
| qewatchdog |
|
1 |
8 |
43 |
1 |
| qeintr |
|
14 |
42 |
284 |
1 |
| qe_tint |
|
8 |
28 |
169 |
1 |
| qe_rint |
|
9 |
27 |
165 |
1 |
| qe_eint |
|
27 |
140 |
736 |
2 |
| qeioctl |
|
13 |
43 |
255 |
3 |
| qeinit |
|
2 |
55 |
467 |
1 |
| qe_mcreset |
|
8 |
55 |
390 |
1 |
| qe_ifmedia_sts |
|
3 |
16 |
90 |
2 |
| qe_ifmedia_upd |
|
3 |
11 |
62 |
1 |
| Source file: ./sys/dev/sbus/be.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bematch |
|
1 |
6 |
49 |
3 |
| beattach |
|
21 |
165 |
1303 |
3 |
| be_put |
|
3 |
19 |
126 |
3 |
| be_get |
|
8 |
39 |
254 |
3 |
| be_read |
|
4 |
20 |
122 |
3 |
| bestart |
|
9 |
30 |
213 |
1 |
| bestop |
|
5 |
21 |
149 |
1 |
| bereset |
|
2 |
9 |
49 |
1 |
| bewatchdog |
|
1 |
7 |
45 |
1 |
| beintr |
|
7 |
19 |
147 |
1 |
| beqint |
|
17 |
62 |
342 |
2 |
| beeint |
|
6 |
29 |
153 |
2 |
| betint |
|
6 |
33 |
233 |
1 |
| berint |
|
4 |
20 |
126 |
1 |
| beioctl |
|
13 |
43 |
252 |
3 |
| beinit |
|
1 |
65 |
525 |
1 |
| be_mcreset |
|
8 |
56 |
402 |
1 |
| be_mii_sync |
|
2 |
15 |
91 |
1 |
| be_pal_gate |
|
2 |
12 |
77 |
2 |
| be_tcvr_read_bit |
|
2 |
24 |
177 |
2 |
| be_tcvr_write_bit |
|
2 |
17 |
125 |
3 |
| be_mii_sendbits |
|
2 |
6 |
58 |
4 |
| be_mii_readreg |
|
2 |
18 |
165 |
3 |
| be_mii_writereg |
|
2 |
14 |
129 |
4 |
| be_mii_reset |
|
4 |
18 |
129 |
2 |
| be_tick |
|
1 |
9 |
60 |
1 |
| be_mii_statchg |
|
4 |
18 |
129 |
1 |
| be_ifmedia_sts |
|
1 |
9 |
68 |
2 |
| be_ifmedia_upd |
|
2 |
8 |
57 |
1 |
| be_intphy_service |
|
23 |
96 |
691 |
3 |
| be_intphy_status |
|
6 |
29 |
173 |
1 |
| Source file: ./sys/dev/sbus/cgsix.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cgsixmatch |
|
1 |
6 |
49 |
3 |
| cgsixattach |
|
14 |
104 |
873 |
3 |
| cgsix_ioctl |
|
30 |
122 |
853 |
5 |
| cgsix_setcursor |
|
16 |
55 |
496 |
2 |
| cgsix_updatecursor |
|
5 |
42 |
375 |
2 |
| cgsix_mmap |
|
11 |
41 |
267 |
3 |
| cgsix_is_console |
|
1 |
5 |
18 |
1 |
| cg6_bt_getcmap |
|
7 |
19 |
186 |
2 |
| cg6_bt_putcmap |
|
7 |
19 |
186 |
2 |
| cgsix_loadcmap_deferred |
|
1 |
8 |
44 |
3 |
| cgsix_loadcmap_immediate |
|
2 |
17 |
135 |
3 |
| cgsix_setcolor |
|
1 |
9 |
82 |
5 |
| cgsix_reset |
|
3 |
20 |
144 |
2 |
| cgsix_hardreset |
|
3 |
41 |
343 |
1 |
| cgsix_burner |
|
3 |
17 |
83 |
3 |
| cgsix_intr |
|
2 |
15 |
87 |
1 |
| cgsix_ras_init |
|
1 |
9 |
43 |
1 |
| cgsix_ras_copyrows |
|
7 |
44 |
361 |
4 |
| cgsix_ras_copycols |
|
9 |
49 |
403 |
5 |
| cgsix_ras_erasecols |
|
6 |
38 |
327 |
5 |
| cgsix_ras_eraserows |
|
6 |
42 |
358 |
4 |
| cgsix_ras_do_cursor |
|
1 |
25 |
217 |
1 |
| Source file: ./sys/dev/sbus/dma_sbus.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dmaprint_sbus |
|
1 |
10 |
64 |
2 |
| dmamatch_sbus |
|
2 |
7 |
60 |
3 |
| dmaattach_sbus |
|
13 |
69 |
462 |
3 |
| dmabus_intr_establish |
|
4 |
25 |
140 |
8 |
| dma_alloc_bustag |
|
2 |
13 |
89 |
1 |
| Source file: ./sys/dev/sbus/xboxreg.h |
| Source file: ./sys/dev/sbus/stp4020.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| stp4020_rd_sockctl |
|
1 |
7 |
49 |
2 |
| stp4020_wr_sockctl |
|
1 |
8 |
51 |
3 |
| stp4020_rd_winctl |
|
1 |
9 |
58 |
3 |
| stp4020_wr_winctl |
|
1 |
10 |
62 |
4 |
| stp4020print |
|
1 |
9 |
47 |
2 |
| stpattach_common |
|
4 |
18 |
120 |
2 |
| stp4020_attach_socket |
|
3 |
34 |
242 |
2 |
| stp4020_create_event_thread |
|
2 |
9 |
50 |
1 |
| stp4020_event_thread |
|
9 |
40 |
231 |
1 |
| stp4020_queue_event |
|
1 |
10 |
49 |
2 |
| stp4020_intr_dispatch |
|
1 |
9 |
54 |
1 |
| stp4020_statintr |
|
14 |
60 |
338 |
1 |
| stp4020_iointr |
|
5 |
30 |
163 |
1 |
| stp4020_calc_speed |
|
5 |
15 |
87 |
4 |
| stp4020_map_window |
|
4 |
22 |
128 |
3 |
| stp4020_chip_mem_alloc |
|
1 |
13 |
70 |
3 |
| stp4020_chip_mem_free |
|
1 |
5 |
16 |
2 |
| stp4020_chip_mem_map |
|
2 |
20 |
130 |
7 |
| stp4020_chip_mem_unmap |
|
1 |
5 |
14 |
2 |
| stp4020_chip_io_alloc |
|
1 |
13 |
75 |
5 |
| stp4020_chip_io_free |
|
1 |
5 |
16 |
2 |
| stp4020_chip_io_map |
|
1 |
15 |
92 |
6 |
| stp4020_chip_io_unmap |
|
1 |
5 |
14 |
2 |
| stp4020_chip_socket_enable |
|
7 |
55 |
353 |
1 |
| stp4020_chip_socket_disable |
|
1 |
12 |
70 |
1 |
| stp4020_chip_intr_disestablish |
|
2 |
12 |
62 |
2 |
| stp4020_chip_intr_string |
|
2 |
9 |
32 |
2 |
| stp4020_delay |
|
5 |
13 |
68 |
1 |
| stp4020_dump_regs |
|
1 |
10 |
55 |
1 |
| Source file: ./sys/dev/sbus/cgtwelve.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cgtwelvematch |
|
2 |
8 |
58 |
3 |
| cgtwelveattach |
|
15 |
82 |
676 |
3 |
| cgtwelveactivate |
|
3 |
12 |
56 |
2 |
| cgtwelve_ioctl |
|
11 |
39 |
198 |
5 |
| cgtwelve_reset |
|
14 |
56 |
434 |
2 |
| cgtwelve_mmap |
|
4 |
11 |
77 |
3 |
| cgtwelve_ramdac_wraddr |
|
1 |
5 |
41 |
2 |
| cgtwelve_prom |
|
2 |
8 |
38 |
1 |
| Source file: ./sys/dev/gpio/gpiosim.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| gpiosim_match |
|
1 |
4 |
20 |
3 |
| gpiosim_attach |
|
2 |
26 |
191 |
3 |
| gpiosim_ioctl |
|
3 |
15 |
88 |
3 |
| gpiosim_pin_read |
|
2 |
8 |
43 |
2 |
| gpiosim_pin_write |
|
2 |
8 |
55 |
3 |
| gpiosim_pin_ctl |
|
1 |
5 |
37 |
3 |
| Source file: ./sys/dev/gpio/gpiovar.h |
| Source file: ./sys/dev/gpio/gpioiic.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| gpioiic_match |
|
2 |
8 |
59 |
3 |
| gpioiic_attach |
|
14 |
84 |
582 |
3 |
| gpioiic_detach |
|
1 |
4 |
17 |
2 |
| gpioiic_i2c_acquire_bus |
|
3 |
7 |
48 |
2 |
| gpioiic_i2c_release_bus |
|
3 |
7 |
38 |
2 |
| gpioiic_i2c_send_start |
|
1 |
4 |
24 |
2 |
| gpioiic_i2c_send_stop |
|
1 |
4 |
24 |
2 |
| gpioiic_i2c_initiate_xfer |
|
1 |
4 |
29 |
3 |
| gpioiic_i2c_read_byte |
|
1 |
4 |
30 |
3 |
| gpioiic_i2c_write_byte |
|
1 |
4 |
29 |
3 |
| gpioiic_bb_set_bits |
|
3 |
8 |
66 |
2 |
| gpioiic_bb_set_dir |
|
5 |
14 |
102 |
2 |
| gpioiic_bb_read_bits |
|
3 |
12 |
67 |
1 |
| Source file: ./sys/dev/gpio/gpioow.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| gpioow_match |
|
2 |
8 |
59 |
3 |
| gpioow_attach |
|
9 |
51 |
350 |
3 |
| gpioow_detach |
|
2 |
9 |
65 |
2 |
| gpioow_activate |
|
3 |
13 |
68 |
2 |
| gpioow_ow_reset |
|
1 |
4 |
19 |
1 |
| gpioow_ow_bit |
|
1 |
4 |
24 |
2 |
| gpioow_bb_rx |
|
3 |
14 |
80 |
1 |
| gpioow_bb_tx |
|
2 |
12 |
70 |
1 |
| gpioow_bb_get |
|
2 |
6 |
38 |
1 |
| gpioow_bb_set |
|
2 |
6 |
38 |
2 |
| Source file: ./sys/dev/fdt/sxipio_pins.h |
| Source file: ./sys/dev/sbus/zx.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| zx_match |
|
2 |
7 |
47 |
3 |
| zx_attach |
|
9 |
89 |
817 |
3 |
| zx_ioctl |
|
10 |
35 |
178 |
5 |
| zx_mmap |
|
4 |
11 |
77 |
3 |
| zx_setcolor |
|
1 |
7 |
60 |
5 |
| zx_reset |
|
5 |
59 |
486 |
2 |
| zx_cross_wait |
|
4 |
15 |
82 |
1 |
| zx_cross_loadwid |
|
3 |
18 |
123 |
4 |
| zx_putcmap |
|
3 |
22 |
170 |
1 |
| zx_burner |
|
2 |
15 |
77 |
3 |
| zx_fillrect |
|
2 |
22 |
207 |
7 |
| zx_copyrect |
|
4 |
31 |
248 |
7 |
| zx_do_cursor |
|
1 |
7 |
42 |
1 |
| zx_erasecols |
|
1 |
7 |
54 |
5 |
| zx_eraserows |
|
4 |
24 |
208 |
4 |
| zx_copyrows |
|
1 |
7 |
53 |
4 |
| zx_copycols |
|
1 |
7 |
54 |
5 |
| zx_putchar |
|
9 |
61 |
480 |
5 |
| Source file: ./sys/dev/gpio/gpio.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| gpio_match |
|
1 |
6 |
49 |
3 |
| gpio_submatch |
|
2 |
8 |
72 |
3 |
| gpio_attach |
|
1 |
10 |
79 |
3 |
| gpio_detach |
|
3 |
10 |
65 |
2 |
| gpio_search |
|
2 |
12 |
102 |
3 |
| gpio_print |
|
3 |
10 |
70 |
2 |
| gpiobus_print |
|
2 |
7 |
42 |
2 |
| gpio_pin_map |
|
7 |
20 |
154 |
4 |
| gpio_pin_unmap |
|
2 |
9 |
62 |
2 |
| gpio_pin_read |
|
1 |
5 |
40 |
3 |
| gpio_pin_write |
|
1 |
5 |
45 |
4 |
| gpio_pin_ctl |
|
1 |
5 |
45 |
4 |
| gpio_pin_caps |
|
1 |
5 |
40 |
3 |
| gpio_npins |
|
3 |
8 |
48 |
1 |
| gpioopen |
|
3 |
11 |
74 |
4 |
| gpioclose |
|
2 |
9 |
63 |
4 |
| gpio_pinbyname |
|
2 |
8 |
54 |
2 |
| gpioioctl |
|
61 |
195 |
1381 |
5 |
| Source file: ./sys/dev/sdmmc/sdmmcvar.h |
| Source file: ./sys/dev/sdmmc/sdmmcreg.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __bitfield |
|
7 |
24 |
154 |
3 |
| Source file: ./sys/dev/sdmmc/sdmmc_ioreg.h |
| Source file: ./sys/dev/gpio/gpiodcf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| gpiodcf_match |
|
2 |
8 |
59 |
3 |
| gpiodcf_attach |
|
5 |
80 |
625 |
3 |
| gpiodcf_detach |
|
1 |
13 |
93 |
2 |
| gpiodcf_signal |
|
2 |
5 |
32 |
1 |
| gpiodcf_probe |
|
8 |
40 |
242 |
1 |
| gpiodcf_bv_probe |
|
5 |
16 |
86 |
1 |
| gpiodcf_mg_probe |
|
21 |
110 |
905 |
1 |
| gpiodcf_sl_probe |
|
2 |
10 |
58 |
1 |
| gpiodcf_invalidate |
|
3 |
13 |
70 |
1 |
| gpiodcf_activate |
|
2 |
10 |
44 |
2 |
| Source file: ./sys/dev/sdmmc/sdmmc_scsi.h |
| Source file: ./sys/dev/sdmmc/sdmmc_scsi.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sdmmc_scsi_attach |
|
4 |
46 |
347 |
1 |
| sdmmc_scsi_detach |
|
5 |
23 |
156 |
1 |
| sdmmc_alloc_ccbs |
|
3 |
24 |
160 |
2 |
| sdmmc_free_ccbs |
|
2 |
8 |
44 |
1 |
| sdmmc_ccb_alloc |
|
2 |
13 |
75 |
1 |
| sdmmc_ccb_free |
|
2 |
16 |
106 |
2 |
| sdmmc_scsi_decode_rw |
|
3 |
15 |
114 |
3 |
| sdmmc_scsi_cmd |
|
16 |
65 |
422 |
1 |
| sdmmc_inquiry |
|
9 |
58 |
461 |
1 |
| sdmmc_start_xs |
|
2 |
18 |
130 |
2 |
| sdmmc_complete_xs |
|
4 |
25 |
197 |
1 |
| sdmmc_done_xs |
|
4 |
14 |
109 |
1 |
| sdmmc_stimeout |
|
2 |
12 |
60 |
1 |
| sdmmc_scsi_minphys |
|
3 |
11 |
97 |
2 |
| Source file: ./sys/dev/sbus/cs4231.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cs4231_match |
|
1 |
5 |
38 |
3 |
| cs4231_attach |
|
7 |
48 |
340 |
3 |
| cs4231_write |
|
1 |
5 |
33 |
3 |
| cs4231_read |
|
1 |
5 |
31 |
2 |
| cs4231_set_speed |
|
9 |
50 |
430 |
2 |
| cs4231_open |
|
5 |
32 |
237 |
2 |
| cs4231_setup_output |
|
12 |
59 |
361 |
1 |
| cs4231_close |
|
1 |
9 |
49 |
1 |
| cs4231_set_params |
|
15 |
52 |
296 |
5 |
| cs4231_round_blocksize |
|
1 |
4 |
25 |
2 |
| cs4231_commit_settings |
|
15 |
51 |
389 |
1 |
| cs4231_halt_output |
|
1 |
13 |
91 |
1 |
| cs4231_halt_input |
|
1 |
11 |
72 |
1 |
| cs4231_set_port |
|
57 |
182 |
1113 |
2 |
| cs4231_get_port |
|
50 |
160 |
979 |
2 |
| cs4231_query_devinfo |
|
20 |
194 |
1588 |
2 |
| cs4231_get_props |
|
1 |
4 |
13 |
1 |
| cs4231_intr |
|
24 |
85 |
599 |
1 |
| cs4231_alloc |
|
6 |
35 |
283 |
5 |
| cs4231_free |
|
3 |
18 |
150 |
3 |
| cs4231_trigger_output |
|
7 |
48 |
368 |
7 |
| cs4231_trigger_input |
|
10 |
63 |
466 |
7 |
| Source file: ./sys/dev/sdmmc/sdmmc_io.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sdmmc_io_enable |
|
6 |
34 |
221 |
1 |
| sdmmc_io_scan |
|
4 |
27 |
177 |
1 |
| sdmmc_io_init |
|
4 |
17 |
105 |
2 |
| sdmmc_io_function_ready |
|
2 |
11 |
74 |
1 |
| sdmmc_io_function_enable |
|
5 |
16 |
119 |
1 |
| sdmmc_io_function_disable |
|
2 |
12 |
77 |
1 |
| sdmmc_io_attach |
|
2 |
14 |
83 |
1 |
| sdmmc_submatch |
|
2 |
7 |
56 |
3 |
| sdmmc_print |
|
19 |
36 |
269 |
2 |
| sdmmc_io_detach |
|
2 |
12 |
71 |
1 |
| sdmmc_io_rw_direct |
|
3 |
24 |
163 |
5 |
| sdmmc_io_rw_extended |
|
5 |
28 |
203 |
6 |
| sdmmc_io_read_1 |
|
1 |
8 |
53 |
2 |
| sdmmc_io_write_1 |
|
1 |
6 |
48 |
3 |
| sdmmc_io_read_2 |
|
1 |
8 |
57 |
2 |
| sdmmc_io_write_2 |
|
1 |
6 |
52 |
3 |
| sdmmc_io_read_4 |
|
1 |
8 |
57 |
2 |
| sdmmc_io_write_4 |
|
1 |
6 |
52 |
3 |
| sdmmc_io_read_multi_1 |
|
3 |
16 |
92 |
4 |
| sdmmc_io_write_multi_1 |
|
3 |
16 |
92 |
4 |
| sdmmc_io_xchg |
|
1 |
7 |
45 |
4 |
| sdmmc_io_reset |
|
2 |
8 |
49 |
1 |
| sdmmc_io_send_op_cond |
|
7 |
24 |
148 |
3 |
| sdmmc_intr_enable |
|
1 |
10 |
65 |
1 |
| sdmmc_intr_disable |
|
1 |
10 |
67 |
1 |
| sdmmc_intr_establish |
|
4 |
24 |
169 |
4 |
| sdmmc_intr_disestablish |
|
3 |
16 |
105 |
1 |
| sdmmc_card_intr |
|
3 |
8 |
54 |
1 |
| sdmmc_intr_task |
|
1 |
14 |
81 |
1 |
| Source file: ./sys/dev/sdmmc/sdhcreg.h |
| Source file: ./sys/dev/sdmmc/sdhcvar.h |
| Source file: ./sys/dev/sdmmc/sdmmcdevs.h |
| Source file: ./sys/dev/sdmmc/if_bwfm_sdio.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bwfm_sdio_match |
|
7 |
17 |
110 |
3 |
| bwfm_sdio_attach |
|
3 |
43 |
317 |
3 |
| bwfm_sdio_detach |
|
1 |
7 |
48 |
2 |
| bwfm_sdio_read_1 |
|
2 |
11 |
61 |
2 |
| bwfm_sdio_read_4 |
|
3 |
23 |
140 |
2 |
| bwfm_sdio_write_1 |
|
2 |
9 |
58 |
3 |
| bwfm_sdio_write_4 |
|
3 |
21 |
137 |
3 |
| bwfm_sdio_buscore_read |
|
1 |
7 |
38 |
2 |
| bwfm_sdio_buscore_write |
|
1 |
5 |
35 |
3 |
| bwfm_sdio_buscore_prepare |
|
5 |
34 |
176 |
1 |
| bwfm_sdio_buscore_activate |
|
3 |
10 |
78 |
2 |
| bwfm_sdio_txdata |
|
2 |
7 |
47 |
2 |
| bwfm_sdio_txctl |
|
2 |
7 |
49 |
3 |
| bwfm_sdio_rxctl |
|
2 |
7 |
50 |
3 |
| Source file: ./sys/dev/sdmmc/sdmmcchip.h |
| Source file: ./sys/dev/sdmmc/sdmmc_cis.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sdmmc_cisptr |
|
1 |
12 |
95 |
1 |
| sdmmc_read_cis |
|
17 |
85 |
492 |
2 |
| sdmmc_print_cis |
|
5 |
28 |
184 |
1 |
| sdmmc_check_cis_quirks |
|
3 |
12 |
89 |
1 |
| Source file: ./sys/dev/onewire/onewirevar.h |
| Source file: ./sys/dev/onewire/onewiredevs.h |
| Source file: ./sys/dev/onewire/onewire_bitbang.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| onewire_bb_reset |
|
3 |
19 |
121 |
2 |
| onewire_bb_bit |
|
4 |
24 |
150 |
3 |
| Source file: ./sys/dev/sdmmc/sdmmc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sdmmc_match |
|
1 |
6 |
47 |
3 |
| sdmmc_attach |
|
10 |
44 |
339 |
3 |
| sdmmc_detach |
|
3 |
12 |
79 |
2 |
| sdmmc_activate |
|
4 |
20 |
107 |
2 |
| sdmmc_create_thread |
|
2 |
7 |
46 |
1 |
| sdmmc_task_thread |
|
5 |
33 |
201 |
1 |
| sdmmc_add_task |
|
1 |
10 |
60 |
2 |
| sdmmc_del_task |
|
2 |
12 |
64 |
1 |
| sdmmc_needs_discover |
|
2 |
6 |
42 |
1 |
| sdmmc_discover_task |
|
5 |
21 |
132 |
1 |
| sdmmc_card_attach |
|
6 |
28 |
180 |
1 |
| sdmmc_card_detach |
|
5 |
21 |
157 |
2 |
| sdmmc_enable |
|
6 |
28 |
172 |
1 |
| sdmmc_disable |
|
1 |
8 |
61 |
1 |
| sdmmc_set_bus_power |
|
5 |
19 |
124 |
3 |
| sdmmc_function_alloc |
|
1 |
12 |
74 |
1 |
| sdmmc_function_free |
|
1 |
4 |
20 |
1 |
| sdmmc_scan |
|
4 |
13 |
77 |
1 |
| sdmmc_init |
|
6 |
18 |
126 |
1 |
| sdmmc_delay |
|
3 |
8 |
45 |
1 |
| sdmmc_app_command |
|
4 |
22 |
134 |
2 |
| sdmmc_mmc_command |
|
2 |
10 |
59 |
2 |
| sdmmc_go_idle_state |
|
1 |
9 |
55 |
1 |
| sdmmc_send_if_cond |
|
3 |
18 |
111 |
2 |
| sdmmc_set_relative_addr |
|
4 |
20 |
130 |
2 |
| sdmmc_select_card |
|
9 |
19 |
143 |
2 |
| sdmmc_ioctl |
|
19 |
61 |
420 |
3 |
| sdmmc_dump_command |
|
8 |
19 |
189 |
2 |
| Source file: ./sys/dev/onewire/owctr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| owctr_match |
|
1 |
4 |
32 |
3 |
| owctr_attach |
|
2 |
25 |
230 |
3 |
| owctr_detach |
|
2 |
10 |
68 |
2 |
| owctr_activate |
|
1 |
4 |
17 |
2 |
| owctr_update |
|
1 |
5 |
22 |
1 |
| owctr_update_counter |
|
6 |
58 |
426 |
2 |
| Source file: ./sys/dev/sdmmc/sdmmc_mem.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sdmmc_mem_enable |
|
8 |
39 |
236 |
1 |
| sdmmc_mem_scan |
|
13 |
60 |
406 |
1 |
| sdmmc_decode_csd |
|
8 |
44 |
277 |
3 |
| sdmmc_decode_cid |
|
7 |
37 |
231 |
3 |
| sdmmc_print_cid |
|
1 |
6 |
39 |
1 |
| sdmmc_mem_send_scr |
|
4 |
24 |
153 |
2 |
| sdmmc_mem_decode_scr |
|
2 |
23 |
185 |
3 |
| sdmmc_mem_send_cxd_data |
|
5 |
30 |
183 |
4 |
| sdmmc_set_bus_width |
|
4 |
23 |
122 |
2 |
| sdmmc_mem_sd_switch |
|
11 |
36 |
267 |
5 |
| sdmmc_mem_mmc_switch |
|
1 |
12 |
94 |
4 |
| sdmmc_mem_init |
|
4 |
13 |
84 |
2 |
| sdmmc_be512_to_bitfield512 |
|
2 |
11 |
94 |
1 |
| sdmmc_mem_sd_init |
|
14 |
62 |
381 |
2 |
| sdmmc_mem_mmc_init |
|
25 |
124 |
694 |
2 |
| sdmmc_mem_send_op_cond |
|
8 |
32 |
192 |
3 |
| sdmmc_mem_set_blocklen |
|
1 |
12 |
95 |
2 |
| sdmmc_mem_read_block_subr |
|
10 |
45 |
314 |
5 |
| sdmmc_mem_single_read_block |
|
3 |
13 |
88 |
4 |
| sdmmc_mem_read_block |
|
5 |
33 |
216 |
4 |
| sdmmc_mem_write_block_subr |
|
10 |
44 |
301 |
5 |
| sdmmc_mem_single_write_block |
|
3 |
13 |
88 |
4 |
| sdmmc_mem_write_block |
|
5 |
33 |
216 |
4 |
| Source file: ./sys/dev/onewire/owtemp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| owtemp_match |
|
1 |
4 |
32 |
3 |
| owtemp_attach |
|
2 |
21 |
182 |
3 |
| owtemp_detach |
|
2 |
10 |
68 |
2 |
| owtemp_activate |
|
1 |
4 |
17 |
2 |
| owtemp_update |
|
7 |
42 |
286 |
1 |
| Source file: ./sys/dev/onewire/owid.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| owid_match |
|
1 |
4 |
32 |
3 |
| owid_attach |
|
1 |
16 |
151 |
3 |
| owid_detach |
|
1 |
6 |
37 |
2 |
| owid_activate |
|
2 |
10 |
46 |
2 |
| Source file: ./sys/dev/onewire/onewirereg.h |
| Source file: ./sys/dev/onewire/onewiredevs_data.h |
| Source file: ./sys/dev/onewire/onewire_subr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| onewire_crc |
|
2 |
8 |
45 |
2 |
| onewire_crc16 |
|
2 |
14 |
82 |
2 |
| onewire_famname |
|
4 |
8 |
48 |
1 |
| onewire_matchbyfam |
|
3 |
10 |
70 |
3 |
| Source file: ./sys/dev/onewire/owsbm.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| owsbm_match |
|
1 |
4 |
32 |
3 |
| owsbm_attach |
|
2 |
30 |
305 |
3 |
| owsbm_detach |
|
2 |
10 |
68 |
2 |
| owsbm_activate |
|
1 |
4 |
17 |
2 |
| owsbm_update |
|
12 |
73 |
628 |
1 |
| Source file: ./sys/dev/onewire/onewire.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| onewire_match |
|
1 |
5 |
40 |
3 |
| onewire_attach |
|
3 |
16 |
112 |
3 |
| onewire_detach |
|
2 |
10 |
71 |
2 |
| onewire_activate |
|
2 |
10 |
51 |
2 |
| onewire_print |
|
4 |
16 |
104 |
2 |
| onewirebus_print |
|
2 |
6 |
31 |
2 |
| onewire_lock |
|
2 |
8 |
46 |
2 |
| onewire_unlock |
|
1 |
5 |
23 |
1 |
| onewire_reset |
|
1 |
6 |
36 |
1 |
| onewire_bit |
|
1 |
6 |
41 |
2 |
| onewire_read_byte |
|
3 |
12 |
88 |
1 |
| onewire_write_byte |
|
3 |
10 |
83 |
2 |
| onewire_read_block |
|
3 |
10 |
75 |
3 |
| onewire_write_block |
|
3 |
10 |
77 |
3 |
| onewire_triplet |
|
4 |
22 |
139 |
2 |
| onewire_matchrom |
|
3 |
11 |
90 |
2 |
| onewire_search |
|
16 |
57 |
383 |
4 |
| onewire_thread |
|
3 |
13 |
73 |
1 |
| onewire_createthread |
|
2 |
8 |
48 |
1 |
| onewire_scan |
|
9 |
54 |
351 |
1 |
| Source file: ./sys/dev/microcode/myx/build.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| myx_build_firmware |
|
9 |
40 |
267 |
4 |
| main |
|
1 |
8 |
40 |
2 |
| Source file: ./sys/dev/sdmmc/sdhc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sdhc_host_found |
|
32 |
140 |
965 |
6 |
| sdhc_activate |
|
8 |
33 |
229 |
2 |
| sdhc_shutdown |
|
2 |
10 |
57 |
1 |
| sdhc_host_reset |
|
2 |
24 |
136 |
1 |
| sdhc_host_ocr |
|
1 |
5 |
19 |
1 |
| sdhc_host_maxblklen |
|
1 |
5 |
19 |
1 |
| sdhc_card_detect |
|
3 |
8 |
51 |
1 |
| sdhc_bus_power |
|
7 |
34 |
191 |
2 |
| sdhc_clock_divisor |
|
4 |
11 |
72 |
2 |
| sdhc_bus_clock |
|
13 |
51 |
290 |
3 |
| sdhc_bus_width |
|
7 |
23 |
135 |
2 |
| sdhc_card_intr_mask |
|
2 |
11 |
62 |
2 |
| sdhc_card_intr_ack |
|
1 |
5 |
23 |
1 |
| sdhc_signal_voltage |
|
7 |
23 |
122 |
2 |
| sdhc_wait_state |
|
3 |
14 |
88 |
3 |
| sdhc_exec_command |
|
9 |
32 |
242 |
2 |
| sdhc_start_command |
|
23 |
94 |
694 |
2 |
| sdhc_transfer_data |
|
17 |
61 |
378 |
2 |
| sdhc_read_data |
|
4 |
15 |
90 |
3 |
| sdhc_write_data |
|
5 |
18 |
129 |
3 |
| sdhc_soft_reset |
|
4 |
19 |
138 |
2 |
| sdhc_wait_intr |
|
4 |
26 |
150 |
3 |
| sdhc_intr |
|
9 |
46 |
297 |
1 |
| sdhc_needs_discover |
|
2 |
6 |
39 |
1 |
| sdhc_dump_regs |
|
1 |
23 |
151 |
1 |
| Source file: ./sys/dev/microcode/aic7xxx/aicasm_symbol.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| symbol_create |
|
3 |
15 |
92 |
1 |
| symbol_delete |
|
19 |
44 |
229 |
1 |
| symtable_open |
|
2 |
10 |
42 |
0 |
| symtable_close |
|
3 |
13 |
71 |
0 |
| symtable_get |
|
5 |
31 |
189 |
1 |
| symlist_search |
|
3 |
11 |
62 |
2 |
| symlist_add |
|
25 |
66 |
375 |
3 |
| symlist_free |
|
2 |
11 |
53 |
1 |
| symlist_merge |
|
2 |
12 |
67 |
3 |
| aic_print_file_prologue |
|
2 |
12 |
29 |
1 |
| aic_print_include |
|
2 |
6 |
29 |
2 |
| aic_print_reg_dump_types |
|
2 |
14 |
35 |
1 |
| aic_print_reg_dump_start |
|
2 |
9 |
35 |
2 |
| aic_print_reg_dump_end |
|
7 |
50 |
195 |
4 |
| aic_print_reg_dump_entry |
|
3 |
15 |
96 |
2 |
| symtable_dump |
|
34 |
187 |
988 |
2 |
| Source file: ./sys/dev/microcode/siop/ncr53cxxx.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
36 |
118 |
742 |
2 |
| setarch |
|
6 |
22 |
68 |
1 |
| emit_symbols |
|
14 |
36 |
252 |
0 |
| list_symbols |
|
4 |
11 |
73 |
0 |
| errout |
|
1 |
5 |
21 |
1 |
| parse |
|
26 |
39 |
268 |
0 |
| process |
|
7 |
28 |
176 |
0 |
| define_symbol |
|
8 |
39 |
254 |
4 |
| patch_label |
|
2 |
12 |
72 |
1 |
| close_script |
|
7 |
22 |
157 |
0 |
| new_script |
|
1 |
7 |
38 |
1 |
| reserved |
|
3 |
6 |
46 |
2 |
| CheckPhase |
|
3 |
11 |
56 |
1 |
| CheckRegister |
|
5 |
13 |
102 |
1 |
| expression |
|
4 |
17 |
94 |
1 |
| evaluate |
|
4 |
15 |
75 |
1 |
| number |
|
15 |
42 |
183 |
1 |
| lookup |
|
6 |
36 |
274 |
1 |
| f_arch |
|
2 |
11 |
46 |
1 |
| f_proc |
|
3 |
7 |
44 |
1 |
| f_pass |
|
1 |
4 |
11 |
1 |
| f_list |
|
7 |
21 |
127 |
1 |
| f_define |
|
5 |
23 |
123 |
1 |
| store_inst |
|
6 |
24 |
138 |
0 |
| f_move |
|
4 |
10 |
53 |
1 |
| f_jump |
|
1 |
4 |
13 |
1 |
| f_call |
|
1 |
4 |
13 |
1 |
| f_return |
|
1 |
4 |
13 |
1 |
| f_int |
|
1 |
4 |
13 |
1 |
| f_intfly |
|
1 |
4 |
13 |
1 |
| f_select |
|
2 |
9 |
34 |
1 |
| f_reselect |
|
1 |
4 |
11 |
1 |
| f_wait |
|
7 |
30 |
130 |
1 |
| f_disconnect |
|
1 |
5 |
14 |
1 |
| f_set |
|
1 |
4 |
11 |
1 |
| f_clear |
|
1 |
4 |
11 |
1 |
| f_load |
|
2 |
9 |
30 |
1 |
| f_store |
|
3 |
15 |
55 |
1 |
| f_nop |
|
1 |
6 |
18 |
1 |
| loadstore |
|
11 |
37 |
189 |
1 |
| transfer |
|
26 |
76 |
407 |
2 |
| select_reselect |
|
7 |
30 |
145 |
1 |
| set_clear |
|
8 |
34 |
142 |
1 |
| block_move |
|
7 |
32 |
157 |
0 |
| register_write |
|
45 |
110 |
685 |
0 |
| memory_to_memory |
|
1 |
8 |
42 |
0 |
| error_line |
|
4 |
7 |
34 |
0 |
| makefn |
|
2 |
15 |
92 |
2 |
| usage |
|
1 |
5 |
17 |
0 |
| Source file: ./sys/dev/microcode/myx/ethp_z8e.h |
| Source file: ./sys/dev/microcode/aic7xxx/aicasm.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
36 |
153 |
765 |
2 |
| usage |
|
1 |
9 |
25 |
0 |
| back_patch |
|
4 |
23 |
129 |
0 |
| output_code |
|
10 |
89 |
442 |
0 |
| dump_scope |
|
2 |
11 |
58 |
1 |
| emit_patch |
|
4 |
22 |
147 |
2 |
| output_listing |
|
17 |
91 |
565 |
1 |
| check_patch |
|
7 |
22 |
129 |
4 |
| stop |
|
9 |
38 |
183 |
2 |
| seq_alloc |
|
2 |
11 |
71 |
0 |
| cs_alloc |
|
2 |
10 |
62 |
0 |
| scope_alloc |
|
3 |
15 |
98 |
0 |
| process_scope |
|
8 |
45 |
222 |
1 |
| Source file: ./sys/dev/microcode/myx/eth_z8e.h |
| Source file: ./sys/dev/microcode/aic7xxx/aicasm_insformat.h |
| Source file: ./sys/dev/microcode/aic7xxx/aicasm_symbol.h |
| Source file: ./sys/dev/microcode/aic7xxx/aicasm.h |
| Source file: ./sys/dev/microcode/aic7xxx/aic7xxx_reg.h |
| Source file: ./sys/dev/microcode/aic7xxx/aic79xx_reg.h |
| Source file: ./sys/dev/microcode/tusb3410/build.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
3 |
13 |
91 |
2 |
| Source file: ./sys/dev/microcode/aic7xxx/aic79xx_seq.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ahd_patch23_func |
|
1 |
4 |
22 |
1 |
| ahd_patch22_func |
|
1 |
4 |
22 |
1 |
| ahd_patch21_func |
|
1 |
4 |
22 |
1 |
| ahd_patch20_func |
|
1 |
4 |
22 |
1 |
| ahd_patch19_func |
|
1 |
4 |
22 |
1 |
| ahd_patch18_func |
|
1 |
4 |
22 |
1 |
| ahd_patch17_func |
|
1 |
4 |
22 |
1 |
| ahd_patch16_func |
|
1 |
4 |
22 |
1 |
| ahd_patch15_func |
|
1 |
4 |
22 |
1 |
| ahd_patch14_func |
|
1 |
4 |
22 |
1 |
| ahd_patch13_func |
|
1 |
4 |
22 |
1 |
| ahd_patch12_func |
|
1 |
4 |
22 |
1 |
| ahd_patch11_func |
|
1 |
4 |
22 |
1 |
| ahd_patch10_func |
|
1 |
4 |
22 |
1 |
| ahd_patch9_func |
|
1 |
4 |
22 |
1 |
| ahd_patch8_func |
|
1 |
4 |
22 |
1 |
| ahd_patch7_func |
|
1 |
4 |
22 |
1 |
| ahd_patch6_func |
|
1 |
4 |
22 |
1 |
| ahd_patch5_func |
|
1 |
4 |
22 |
1 |
| ahd_patch4_func |
|
1 |
4 |
22 |
1 |
| ahd_patch3_func |
|
1 |
4 |
22 |
1 |
| ahd_patch2_func |
|
1 |
4 |
22 |
1 |
| ahd_patch1_func |
|
1 |
4 |
22 |
1 |
| ahd_patch0_func |
|
1 |
4 |
14 |
1 |
| Source file: ./sys/dev/microcode/ral/build.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| output |
|
4 |
15 |
110 |
3 |
| main |
|
1 |
8 |
49 |
1 |
| Source file: ./sys/dev/microcode/cyclades/cyzfirm2h.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
13 |
59 |
374 |
2 |
| usage |
|
1 |
6 |
24 |
0 |
| Source file: ./sys/dev/microcode/esa/esadsp.h |
| Source file: ./sys/dev/microcode/aic7xxx/aic7xxx_seq.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ahc_patch23_func |
|
1 |
4 |
22 |
1 |
| ahc_patch22_func |
|
1 |
4 |
22 |
1 |
| ahc_patch21_func |
|
1 |
4 |
22 |
1 |
| ahc_patch20_func |
|
1 |
4 |
22 |
1 |
| ahc_patch19_func |
|
1 |
4 |
22 |
1 |
| ahc_patch18_func |
|
1 |
4 |
22 |
1 |
| ahc_patch17_func |
|
1 |
4 |
22 |
1 |
| ahc_patch16_func |
|
1 |
4 |
22 |
1 |
| ahc_patch15_func |
|
1 |
4 |
22 |
1 |
| ahc_patch14_func |
|
2 |
4 |
28 |
1 |
| ahc_patch13_func |
|
1 |
4 |
22 |
1 |
| ahc_patch12_func |
|
1 |
4 |
22 |
1 |
| ahc_patch11_func |
|
1 |
4 |
22 |
1 |
| ahc_patch10_func |
|
1 |
4 |
22 |
1 |
| ahc_patch9_func |
|
1 |
4 |
22 |
1 |
| ahc_patch8_func |
|
1 |
4 |
22 |
1 |
| ahc_patch7_func |
|
1 |
4 |
22 |
1 |
| ahc_patch6_func |
|
1 |
4 |
22 |
1 |
| ahc_patch5_func |
|
1 |
4 |
22 |
1 |
| ahc_patch4_func |
|
1 |
4 |
22 |
1 |
| ahc_patch3_func |
|
1 |
4 |
22 |
1 |
| ahc_patch2_func |
|
1 |
4 |
22 |
1 |
| ahc_patch1_func |
|
1 |
4 |
22 |
1 |
| ahc_patch0_func |
|
1 |
4 |
14 |
1 |
| Source file: ./sys/dev/microcode/typhoon/build.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fullwrite |
|
3 |
9 |
56 |
3 |
| main |
|
4 |
16 |
112 |
2 |
| Source file: ./sys/dev/microcode/tusb3410/tusb3410.h |
| Source file: ./sys/dev/microcode/bnx/build.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| hswapn |
|
2 |
7 |
34 |
2 |
| write_firmware |
|
7 |
35 |
263 |
5 |
| main |
|
1 |
149 |
1301 |
2 |
| Source file: ./sys/dev/microcode/ncr53cxxx/ncr53cxxx.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
33 |
99 |
623 |
2 |
| emit_symbols |
|
12 |
31 |
212 |
0 |
| list_symbols |
|
4 |
11 |
73 |
0 |
| errout |
|
1 |
5 |
21 |
1 |
| parse |
|
26 |
39 |
266 |
0 |
| process |
|
7 |
28 |
176 |
0 |
| define_symbol |
|
8 |
39 |
261 |
4 |
| close_script |
|
7 |
22 |
155 |
0 |
| new_script |
|
1 |
7 |
38 |
1 |
| reserved |
|
3 |
6 |
46 |
2 |
| CheckPhase |
|
3 |
11 |
56 |
1 |
| CheckRegister |
|
7 |
18 |
97 |
1 |
| expression |
|
4 |
17 |
94 |
1 |
| evaluate |
|
4 |
15 |
75 |
1 |
| number |
|
15 |
41 |
183 |
1 |
| lookup |
|
6 |
36 |
274 |
1 |
| f_arch |
|
3 |
12 |
56 |
1 |
| f_proc |
|
3 |
7 |
44 |
1 |
| f_pass |
|
1 |
4 |
11 |
1 |
| f_list |
|
7 |
21 |
127 |
1 |
| f_define |
|
5 |
23 |
124 |
1 |
| store_inst |
|
6 |
24 |
137 |
0 |
| f_move |
|
4 |
10 |
53 |
1 |
| f_jump |
|
1 |
4 |
13 |
1 |
| f_call |
|
1 |
4 |
13 |
1 |
| f_return |
|
1 |
4 |
13 |
1 |
| f_int |
|
1 |
4 |
13 |
1 |
| f_select |
|
2 |
9 |
34 |
1 |
| f_reselect |
|
1 |
4 |
11 |
1 |
| f_wait |
|
5 |
25 |
111 |
1 |
| f_disconnect |
|
1 |
5 |
14 |
1 |
| f_set |
|
1 |
4 |
11 |
1 |
| f_clear |
|
1 |
4 |
11 |
1 |
| transfer |
|
22 |
66 |
365 |
2 |
| select_reselect |
|
4 |
21 |
111 |
1 |
| set_clear |
|
7 |
30 |
124 |
1 |
| block_move |
|
6 |
29 |
145 |
0 |
| register_write |
|
25 |
67 |
462 |
0 |
| memory_to_memory |
|
1 |
6 |
34 |
0 |
| error_line |
|
4 |
7 |
34 |
0 |
| makefn |
|
2 |
15 |
92 |
2 |
| usage |
|
1 |
5 |
17 |
0 |
| Source file: ./sys/dev/microcode/zydas/microcode.h |
| Source file: ./sys/dev/microcode/zydas/build.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| output |
|
4 |
15 |
110 |
3 |
| main |
|
1 |
6 |
29 |
1 |
| Source file: ./sys/dev/microcode/kue/kue_fw.h |
| Source file: ./sys/dev/microcode/kue/build.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
4 |
35 |
290 |
2 |
| Source file: ./sys/dev/microcode/bnx/bnxfw.h |
| Source file: ./sys/dev/microcode/neomagic/build.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
4 |
21 |
147 |
2 |
| Source file: ./sys/dev/microcode/yds/build.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| hswapn |
|
2 |
7 |
34 |
2 |
| main |
|
4 |
40 |
361 |
2 |
| Source file: ./sys/dev/microcode/yds/yds_hwmcode.h |
| Source file: ./sys/dev/microcode/ral/microcode.h |
| Source file: ./sys/dev/microcode/ises/ises_fw.h |
| Source file: ./sys/dev/microcode/neomagic/neo-coeff.h |
| Source file: ./sys/dev/microcode/rum/build.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| output |
|
4 |
15 |
110 |
3 |
| main |
|
1 |
7 |
39 |
1 |
| Source file: ./sys/dev/microcode/rum/microcode.h |
| Source file: ./sys/dev/microcode/cirruslogic/build.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
4 |
16 |
113 |
2 |
| Source file: ./sys/dev/microcode/cirruslogic/cs4280_image.h |
| Source file: ./sys/dev/microcode/udl/build.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
5 |
19 |
141 |
1 |
| Source file: ./sys/dev/microcode/typhoon/3c990img.h |
| Source file: ./sys/dev/microcode/tigon/ti_fw.h |
| Source file: ./sys/dev/microcode/tigon/build.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| output |
|
5 |
58 |
453 |
21 |
| main |
|
1 |
26 |
112 |
2 |
| Source file: ./sys/dev/microcode/symbol/spectrum24t_cf.h |
| Source file: ./sys/dev/microcode/cyclades/cyzfirm.h |
| Source file: ./sys/dev/microcode/tigon/ti_fw2.h |
| Source file: ./sys/dev/microcode/isp/asm_1080.h |
| Source file: ./sys/dev/microcode/isp/asm_2400.h |
| Source file: ./sys/dev/microcode/isp/asm_1040.h |
| Source file: ./sys/dev/microcode/isp/asm_sbus.h |
| Source file: ./sys/dev/microcode/isp/asm_12160.h |
| Source file: ./sys/dev/microcode/isp/asm_2200.h |
| Source file: ./sys/dev/microcode/isp/asm_2100.h |
| Source file: ./sys/dev/microcode/tht/build.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
5 |
18 |
150 |
2 |
| Source file: ./sys/dev/microcode/adw/adwmcode.h |
| Source file: ./sys/dev/microcode/tht/microcode.h |
| Source file: ./sys/dev/microcode/adw/advmcode.h |
| Source file: ./sys/dev/microcode/adw/advmcode.c |
| Source file: ./sys/dev/microcode/isp/asm_2300.h |
| Source file: ./sys/dev/microcode/afb/build.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
4 |
16 |
111 |
2 |
| Source file: ./sys/dev/microcode/fxp/build.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| output |
|
5 |
20 |
160 |
3 |
| main |
|
1 |
11 |
88 |
2 |
| Source file: ./sys/dev/microcode/fxp/rcvbundl.h |
| Source file: ./sys/dev/microcode/adw/adwmcode.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| AdwInitCarriers |
|
2 |
18 |
115 |
2 |
| Source file: ./sys/dev/microcode/atmel/atmel_at76c503_rfmd2_fw.h |
| Source file: ./sys/dev/microcode/isp/asm_2500.h |
| Source file: ./sys/dev/microcode/atmel/atmel_at76c503_rfmd_acc_fw.h |
| Source file: ./sys/dev/microcode/atmel/atmel_rfmd2958-smc_fw.h |
| Source file: ./sys/dev/microcode/atmel/atmel_intersil_fw.h |
| Source file: ./sys/dev/microcode/atmel/atmel_at76c505_rfmd.h |
| Source file: ./sys/dev/microcode/atmel/build.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| output |
|
4 |
15 |
109 |
3 |
| main |
|
1 |
32 |
186 |
2 |
| Source file: ./sys/dev/microcode/atmel/atmel_rfmd2958_fw.h |
| Source file: ./sys/dev/microcode/atmel/atmel_at76c503_i3863_fw.h |
| Source file: ./sys/dev/microcode/bwi/build/build.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
19 |
94 |
783 |
2 |
| Source file: ./sys/dev/microcode/bwi/extract/extract.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
18 |
53 |
553 |
2 |
| Source file: ./sys/dev/isa/viasioreg.h |
| Source file: ./sys/dev/isa/if_ex.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ex_look_for_card |
|
3 |
13 |
99 |
2 |
| ex_probe |
|
8 |
49 |
391 |
3 |
| ex_attach |
|
4 |
37 |
337 |
3 |
| ex_init |
|
3 |
52 |
505 |
1 |
| ex_start |
|
20 |
98 |
765 |
1 |
| ex_stop |
|
1 |
15 |
124 |
1 |
| ex_intr |
|
9 |
29 |
180 |
1 |
| ex_tx_intr |
|
4 |
20 |
153 |
1 |
| ex_rx_intr |
|
15 |
72 |
478 |
1 |
| ex_ioctl |
|
10 |
38 |
245 |
3 |
| ex_setmulti |
|
11 |
65 |
567 |
1 |
| ex_reset |
|
1 |
10 |
55 |
1 |
| ex_watchdog |
|
1 |
11 |
74 |
1 |
| ex_get_media |
|
6 |
15 |
112 |
1 |
| ex_ifmedia_upd |
|
2 |
7 |
41 |
1 |
| ex_ifmedia_sts |
|
1 |
6 |
40 |
2 |
| ex_eeprom_read |
|
5 |
33 |
252 |
2 |
| Source file: ./sys/dev/isa/isadmareg.h |
| Source file: ./sys/dev/isa/if_le.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| le_isa_wrcsr |
|
1 |
8 |
67 |
3 |
| le_isa_rdcsr |
|
1 |
10 |
72 |
2 |
| le_isa_intredge |
|
4 |
8 |
41 |
1 |
| Source file: ./sys/dev/isa/isapnpdebug.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| isapnp_print_mem |
|
10 |
29 |
162 |
2 |
| isapnp_print_io |
|
2 |
9 |
59 |
2 |
| isapnp_print_irq |
|
7 |
19 |
119 |
2 |
| isapnp_print_drq |
|
15 |
47 |
221 |
2 |
| isapnp_print_dep_start |
|
6 |
26 |
89 |
2 |
| isapnp_print_attach |
|
6 |
18 |
185 |
1 |
| isapnp_get_config |
|
16 |
107 |
773 |
2 |
| isapnp_print_config |
|
11 |
33 |
264 |
1 |
| Source file: ./sys/dev/isa/if_ec.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ec_probe |
|
22 |
65 |
450 |
3 |
| ec_attach |
|
19 |
127 |
901 |
3 |
| ec_fake_test_mem |
|
1 |
4 |
14 |
1 |
| ec_test_mem |
|
7 |
28 |
180 |
1 |
| ec_readmem |
|
3 |
12 |
86 |
4 |
| ec_write_mbuf |
|
17 |
66 |
435 |
3 |
| ec_ring_copy |
|
2 |
15 |
96 |
4 |
| ec_read_hdr |
|
2 |
8 |
59 |
3 |
| ec_media_init |
|
1 |
7 |
67 |
1 |
| ec_mediachange |
|
1 |
6 |
43 |
1 |
| ec_mediastatus |
|
1 |
5 |
34 |
2 |
| ec_init_card |
|
1 |
6 |
45 |
1 |
| ec_set_media |
|
4 |
18 |
83 |
2 |
| Source file: ./sys/dev/isa/fdreg.h |
| Source file: ./sys/dev/isa/isa.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| isamatch |
|
2 |
10 |
61 |
3 |
| isaattach |
|
9 |
27 |
231 |
3 |
| isaprint |
|
14 |
34 |
256 |
2 |
| isascan |
|
27 |
85 |
628 |
2 |
| isa_intr_typename |
|
5 |
16 |
56 |
1 |
| Source file: ./sys/dev/isa/elink.h |
| Source file: ./sys/dev/isa/elink.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| elink_reset |
|
4 |
21 |
137 |
3 |
| elink_idseq |
|
3 |
14 |
70 |
3 |
| Source file: ./sys/dev/isa/addcom_isa.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| addcomprobe |
|
11 |
37 |
226 |
3 |
| addcomprint |
|
2 |
10 |
49 |
2 |
| addcomattach |
|
10 |
52 |
338 |
3 |
| addcomintr |
|
5 |
15 |
85 |
1 |
| Source file: ./sys/dev/isa/isagpio.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| isagpio_match |
|
3 |
15 |
107 |
3 |
| isagpio_attach |
|
3 |
29 |
224 |
3 |
| isagpio_pin_read |
|
1 |
7 |
48 |
2 |
| isagpio_pin_write |
|
3 |
9 |
71 |
3 |
| isagpio_pin_ctl |
|
1 |
3 |
14 |
3 |
| Source file: ./sys/dev/isa/isapnpreg.h |
| Source file: ./sys/dev/isa/viasio.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| viasio_conf_enable |
|
1 |
5 |
32 |
2 |
| viasio_conf_disable |
|
1 |
4 |
21 |
2 |
| viasio_conf_read |
|
1 |
5 |
36 |
3 |
| viasio_conf_write |
|
1 |
6 |
38 |
4 |
| viasio_raw2temp |
|
6 |
22 |
169 |
1 |
| viasio_probe |
|
3 |
24 |
163 |
3 |
| viasio_attach |
|
2 |
19 |
142 |
3 |
| viasio_activate |
|
2 |
9 |
33 |
2 |
| viasio_hm_init |
|
11 |
87 |
682 |
1 |
| viasio_hm_refresh |
|
8 |
80 |
630 |
1 |
| viasio_wdg_init |
|
5 |
37 |
249 |
1 |
| viasio_wdg_cb |
|
2 |
11 |
72 |
2 |
| Source file: ./sys/dev/isa/com_commulti.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| com_commulti_probe |
|
5 |
16 |
110 |
3 |
| com_commulti_attach |
|
2 |
14 |
98 |
3 |
| Source file: ./sys/dev/isa/if_ie.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ie_setup_config |
|
1 |
17 |
98 |
3 |
| ie_ack |
|
2 |
10 |
52 |
2 |
| ieprobe |
|
4 |
14 |
75 |
3 |
| sl_probe |
|
10 |
47 |
262 |
2 |
| el_probe |
|
12 |
79 |
556 |
2 |
| ee16_probe |
|
22 |
114 |
840 |
2 |
| ieattach |
|
1 |
22 |
167 |
3 |
| iewatchdog |
|
1 |
8 |
47 |
1 |
| ieintr |
|
19 |
45 |
287 |
1 |
| ierint |
|
7 |
33 |
218 |
1 |
| ietint |
|
12 |
39 |
280 |
1 |
| ether_equal |
|
7 |
8 |
83 |
2 |
| check_eh |
|
14 |
35 |
205 |
2 |
| ie_buflen |
|
1 |
7 |
38 |
2 |
| ie_packet_len |
|
3 |
15 |
92 |
1 |
| iexmit |
|
3 |
20 |
198 |
1 |
| ieget |
|
13 |
71 |
424 |
2 |
| ie_readframe |
|
5 |
27 |
207 |
2 |
| ie_drop_packet_buffer |
|
4 |
20 |
161 |
1 |
| iestart |
|
16 |
47 |
329 |
1 |
| check_ie_present |
|
3 |
50 |
374 |
3 |
| ie_find_mem_size |
|
3 |
10 |
51 |
1 |
| el_reset_586 |
|
1 |
8 |
39 |
1 |
| sl_reset_586 |
|
1 |
5 |
20 |
1 |
| ee16_reset_586 |
|
1 |
8 |
39 |
1 |
| el_chan_attn |
|
1 |
5 |
20 |
1 |
| sl_chan_attn |
|
1 |
5 |
20 |
1 |
| ee16_chan_attn |
|
1 |
5 |
20 |
1 |
| ee16_read_eeprom |
|
1 |
19 |
117 |
2 |
| ee16_eeprom_outbits |
|
3 |
21 |
122 |
3 |
| ee16_eeprom_inbits |
|
3 |
17 |
97 |
1 |
| ee16_eeprom_clock |
|
2 |
13 |
60 |
2 |
| ee16_interrupt_enable |
|
1 |
7 |
34 |
1 |
| slel_get_address |
|
2 |
8 |
49 |
1 |
| iereset |
|
3 |
12 |
85 |
1 |
| command_and_wait |
|
6 |
23 |
131 |
4 |
| run_tdr |
|
8 |
32 |
209 |
2 |
| iememinit |
|
7 |
36 |
412 |
2 |
| mc_setup |
|
3 |
20 |
144 |
2 |
| ieinit |
|
6 |
57 |
384 |
1 |
| iestop |
|
1 |
5 |
22 |
1 |
| ieioctl |
|
11 |
42 |
235 |
3 |
| mc_reset |
|
4 |
26 |
156 |
1 |
| print_rbd |
|
1 |
8 |
43 |
1 |
| Source file: ./sys/dev/isa/cs4231var.h |
| Source file: ./sys/dev/isa/uguru.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| uguru_match |
|
7 |
32 |
237 |
3 |
| uguru_attach |
|
37 |
146 |
780 |
3 |
| uguru_refresh |
|
2 |
7 |
52 |
1 |
| uguru_refresh_temp |
|
5 |
23 |
143 |
2 |
| uguru_refresh_volt |
|
4 |
13 |
98 |
2 |
| uguru_refresh_fan |
|
4 |
20 |
121 |
2 |
| uguru_read_sensor |
|
7 |
28 |
247 |
2 |
| uguru_ac5_read_sensor |
|
2 |
11 |
77 |
2 |
| uguru_ac5_read |
|
3 |
14 |
112 |
5 |
| uguru_write_multi |
|
5 |
22 |
139 |
5 |
| uguru_read_multi |
|
4 |
18 |
105 |
4 |
| Source file: ./sys/dev/isa/sb.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sbmatch |
|
20 |
81 |
592 |
1 |
| sbattach |
|
6 |
24 |
174 |
1 |
| sb_mpu401_output |
|
1 |
6 |
26 |
2 |
| sb_mpu401_close |
|
1 |
5 |
18 |
1 |
| sb_mpu401_getinfo |
|
1 |
7 |
29 |
2 |
| Source file: ./sys/dev/isa/fdc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fdcprobe |
|
4 |
29 |
191 |
3 |
| fdcattach |
|
3 |
23 |
177 |
3 |
| fdc_create_kthread |
|
2 |
8 |
43 |
1 |
| fdcattach_deferred |
|
7 |
22 |
155 |
1 |
| fddprint |
|
2 |
7 |
38 |
2 |
| fdcresult |
|
5 |
23 |
137 |
1 |
| out_fdc |
|
7 |
12 |
96 |
3 |
| fdcstart |
|
3 |
8 |
34 |
1 |
| fdcstatus |
|
6 |
30 |
182 |
3 |
| fdcpseudointr |
|
1 |
7 |
30 |
1 |
| fdcintr |
|
2 |
8 |
42 |
1 |
| Source file: ./sys/dev/isa/essreg.h |
| Source file: ./sys/dev/isa/ad1848.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| if |
|
1 |
3 |
22 |
1 |
| ad1848_dump_regs |
|
4 |
18 |
109 |
1 |
| ad1848_mapprobe |
|
5 |
15 |
91 |
2 |
| ad1848_probe |
|
31 |
108 |
668 |
1 |
| ad1848_unmap |
|
1 |
4 |
22 |
1 |
| ad1848_attach |
|
20 |
69 |
524 |
1 |
| ad1848_mute_channel |
|
8 |
31 |
228 |
3 |
| ad1848_set_channel_gain |
|
3 |
24 |
193 |
3 |
| ad1848_get_device_gain |
|
1 |
6 |
30 |
3 |
| ad1848_get_rec_gain |
|
1 |
5 |
24 |
2 |
| ad1848_set_rec_gain |
|
1 |
15 |
124 |
2 |
| ad1848_mute_monitor |
|
8 |
15 |
106 |
2 |
| ad1848_set_mic_gain |
|
2 |
17 |
98 |
2 |
| ad1848_get_mic_gain |
|
2 |
8 |
44 |
2 |
| ad1848_mixer_find_dev |
|
3 |
10 |
58 |
3 |
| ad1848_mixer_get_port |
|
20 |
58 |
313 |
4 |
| ad1848_mixer_set_port |
|
17 |
55 |
314 |
4 |
| ad1848_set_params |
|
20 |
72 |
353 |
5 |
| ad1848_set_rec_port |
|
6 |
23 |
148 |
2 |
| ad1848_get_rec_port |
|
1 |
4 |
14 |
1 |
| ad1848_round_blocksize |
|
1 |
5 |
25 |
2 |
| ad1848_open |
|
3 |
13 |
84 |
2 |
| ad1848_close |
|
3 |
21 |
138 |
1 |
| ad1848_commit_settings |
|
9 |
36 |
235 |
1 |
| ad1848_reset |
|
4 |
13 |
82 |
1 |
| ad1848_set_speed |
|
9 |
51 |
431 |
2 |
| ad1848_halt_output |
|
2 |
15 |
89 |
1 |
| ad1848_halt_input |
|
2 |
15 |
89 |
1 |
| ad1848_trigger_input |
|
5 |
31 |
259 |
7 |
| ad1848_trigger_output |
|
3 |
22 |
194 |
7 |
| ad1848_intr |
|
13 |
38 |
251 |
1 |
| ad1848_malloc |
|
2 |
10 |
65 |
5 |
| ad1848_free |
|
1 |
4 |
22 |
3 |
| ad1848_round |
|
2 |
6 |
27 |
3 |
| ad1848_get_props |
|
2 |
6 |
30 |
1 |
| Source file: ./sys/dev/isa/lm78_isa.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| lm_wbsio_match |
|
3 |
35 |
282 |
3 |
| lm_isa_match |
|
12 |
48 |
351 |
3 |
| lm_isa_attach |
|
9 |
33 |
239 |
3 |
| lm_isa_remove_alias |
|
3 |
12 |
90 |
2 |
| lm_isa_readreg |
|
1 |
6 |
55 |
2 |
| lm_isa_writereg |
|
1 |
6 |
57 |
3 |
| Source file: ./sys/dev/isa/if_ne_isapnp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ne_isapnp_match |
|
1 |
4 |
22 |
3 |
| ne_isapnp_attach |
|
7 |
57 |
331 |
3 |
| Source file: ./sys/dev/isa/hsq.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| hsqprobe |
|
10 |
36 |
203 |
3 |
| hsqprint |
|
2 |
10 |
49 |
2 |
| hsqattach |
|
4 |
27 |
239 |
3 |
| hsqintr |
|
4 |
20 |
110 |
1 |
| Source file: ./sys/dev/isa/com_isapnp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| com_isapnp_probe |
|
3 |
13 |
73 |
3 |
| com_isapnp_attach |
|
2 |
25 |
148 |
3 |
| Source file: ./sys/dev/isa/ad1848var.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ad1848_to_vol |
|
3 |
15 |
110 |
2 |
| ad1848_from_vol |
|
3 |
15 |
106 |
2 |
| Source file: ./sys/dev/isa/boca.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bocaprobe |
|
10 |
36 |
203 |
3 |
| bocaprint |
|
2 |
10 |
49 |
2 |
| bocaattach |
|
5 |
29 |
246 |
3 |
| bocaintr |
|
4 |
24 |
139 |
1 |
| Source file: ./sys/dev/isa/lpt_isa.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| lpt_isa_probe |
|
14 |
46 |
333 |
3 |
| lpt_isa_attach |
|
4 |
20 |
146 |
3 |
| Source file: ./sys/dev/isa/pcppi.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pcppi_match |
|
14 |
44 |
321 |
3 |
| pcppi_attach |
|
6 |
21 |
161 |
3 |
| pcppi_bell |
|
10 |
51 |
318 |
4 |
| pcppi_bell_stop |
|
2 |
15 |
82 |
1 |
| pcppi_kbd_bell |
|
3 |
8 |
53 |
5 |
| Source file: ./sys/dev/isa/i82365_isavar.h |
| Source file: ./sys/dev/isa/wds.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wds_wait |
|
2 |
6 |
37 |
5 |
| wds_cmd |
|
3 |
15 |
102 |
3 |
| wdsprobe |
|
3 |
16 |
102 |
3 |
| wdsprint |
|
2 |
6 |
29 |
2 |
| wdsattach |
|
4 |
32 |
272 |
3 |
| wds_finish_scbs |
|
9 |
43 |
266 |
1 |
| wdsintr |
|
4 |
24 |
122 |
1 |
| wds_reset_scb |
|
1 |
4 |
20 |
2 |
| wds_scb_free |
|
2 |
13 |
84 |
2 |
| wds_free_buf |
|
2 |
10 |
61 |
2 |
| wds_init_scb |
|
1 |
10 |
73 |
2 |
| wds_scb_alloc |
|
2 |
13 |
75 |
1 |
| wds_get_buf |
|
4 |
20 |
102 |
2 |
| wds_scb_phys_kv |
|
4 |
13 |
75 |
2 |
| wds_queue_scb |
|
1 |
5 |
31 |
2 |
| wds_collect_mbo |
|
5 |
15 |
85 |
1 |
| wds_start_scbs |
|
7 |
32 |
233 |
1 |
| wds_done |
|
22 |
60 |
316 |
3 |
| wds_find |
|
13 |
53 |
383 |
2 |
| wds_init |
|
3 |
33 |
264 |
1 |
| wds_inquire_setup_information |
|
5 |
34 |
251 |
1 |
| wdsminphys |
|
2 |
6 |
51 |
2 |
| wds_scsi_cmd |
|
20 |
112 |
800 |
1 |
| wds_sense |
|
4 |
24 |
210 |
2 |
| wds_poll |
|
4 |
18 |
93 |
3 |
| wds_ipoll |
|
4 |
18 |
93 |
3 |
| wds_timeout |
|
4 |
27 |
146 |
1 |
| Source file: ./sys/dev/isa/wdc_isa.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wdc_isa_probe |
|
5 |
28 |
201 |
3 |
| wdc_isa_attach |
|
7 |
50 |
416 |
3 |
| wdc_isa_dma_setup |
|
2 |
9 |
55 |
1 |
| wdc_isa_dma_init |
|
2 |
9 |
61 |
6 |
| wdc_isa_dma_start |
|
1 |
3 |
14 |
3 |
| wdc_isa_dma_finish |
|
1 |
6 |
38 |
4 |
| Source file: ./sys/dev/microcode/atmel/atmel_rfmd_fw.h |
| Source file: ./sys/dev/isa/pnpdevs.h |
| Source file: ./sys/dev/isa/if_le_isa.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| le_isa_probe |
|
7 |
17 |
137 |
3 |
| depca_isa_probe |
|
25 |
72 |
635 |
2 |
| ne2100_isa_probe |
|
4 |
24 |
182 |
2 |
| bicc_isa_probe |
|
4 |
24 |
180 |
2 |
| lance_isa_probe |
|
2 |
9 |
51 |
1 |
| le_isa_attach |
|
11 |
61 |
428 |
3 |
| Source file: ./sys/dev/isa/isapnp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| isapnp_init |
|
2 |
12 |
62 |
1 |
| isapnp_shift_bit |
|
3 |
13 |
57 |
1 |
| isapnp_findcard |
|
6 |
37 |
249 |
1 |
| isapnp_free_region |
|
2 |
9 |
45 |
2 |
| isapnp_alloc_region |
|
4 |
16 |
100 |
2 |
| isapnp_alloc_irq |
|
4 |
16 |
88 |
2 |
| isapnp_alloc_drq |
|
6 |
16 |
89 |
2 |
| isapnp_testconfig |
|
16 |
44 |
327 |
4 |
| isapnp_config |
|
1 |
6 |
32 |
3 |
| isapnp_unconfig |
|
4 |
12 |
107 |
3 |
| isapnp_bestconfig |
|
17 |
61 |
345 |
3 |
| isapnp_id_to_vendor |
|
1 |
16 |
165 |
2 |
| isapnp_print_region |
|
5 |
17 |
96 |
3 |
| isapnp_print_pin |
|
4 |
15 |
81 |
3 |
| isapnp_print |
|
3 |
18 |
134 |
2 |
| isapnp_com_submatch |
|
8 |
19 |
145 |
3 |
| isapnp_submatch |
|
7 |
25 |
197 |
3 |
| isapnp_find |
|
7 |
28 |
141 |
2 |
| isapnp_configure |
|
15 |
107 |
676 |
2 |
| isapnp_isa_attach_hook |
|
2 |
14 |
75 |
1 |
| isapnp_match |
|
3 |
22 |
126 |
3 |
| isapnp_attach |
|
12 |
66 |
461 |
3 |
| Source file: ./sys/dev/isa/itvar.h |
| Source file: ./sys/dev/isa/vga_isavar.h |
| Source file: ./sys/dev/isa/isadma.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| isadmamatch |
|
1 |
8 |
40 |
3 |
| isadmaattach |
|
5 |
16 |
119 |
3 |
| isa_dmaunmask |
|
2 |
12 |
68 |
2 |
| isa_dmamask |
|
2 |
17 |
102 |
2 |
| isa_dmacascade |
|
5 |
26 |
160 |
2 |
| isa_dmamap_create |
|
6 |
28 |
176 |
4 |
| isa_dmamap_destroy |
|
4 |
20 |
113 |
2 |
| isa_dmastart |
|
18 |
100 |
735 |
7 |
| isa_dmaabort |
|
3 |
13 |
85 |
2 |
| isa_dmacount |
|
5 |
34 |
220 |
2 |
| isa_dmafinished |
|
4 |
17 |
125 |
2 |
| isa_dmadone |
|
5 |
21 |
148 |
2 |
| isa_dmamem_alloc |
|
5 |
23 |
154 |
5 |
| isa_dmamem_free |
|
3 |
16 |
90 |
4 |
| isa_dmamem_map |
|
3 |
18 |
110 |
6 |
| isa_dmamem_unmap |
|
3 |
13 |
74 |
4 |
| isa_dmamem_mmap |
|
4 |
19 |
124 |
7 |
| isa_drq_isfree |
|
3 |
11 |
61 |
2 |
| isa_malloc |
|
5 |
33 |
203 |
5 |
| isa_free |
|
4 |
18 |
132 |
2 |
| isa_mappage |
|
4 |
15 |
93 |
3 |
| Source file: ./sys/dev/isa/if_levar.h |
| Source file: ./sys/dev/isa/tcic2_isa.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tcic_isa_probe |
|
9 |
36 |
243 |
3 |
| tcic_isa_attach |
|
9 |
64 |
464 |
3 |
| tcic_isa_chip_intr_disestablish |
|
1 |
14 |
95 |
2 |
| tcic_isa_chip_intr_string |
|
2 |
12 |
74 |
2 |
| Source file: ./sys/dev/isa/rtreg.h |
| Source file: ./sys/dev/isa/asmc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| asmc_match |
|
10 |
25 |
196 |
3 |
| asmc_attach |
|
12 |
63 |
566 |
3 |
| asmc_detach |
|
6 |
22 |
216 |
2 |
| asmc_activate |
|
2 |
10 |
43 |
2 |
| asmc_backlight |
|
2 |
9 |
64 |
1 |
| asmc_get_backlight |
|
1 |
9 |
51 |
1 |
| asmc_set_backlight |
|
2 |
10 |
60 |
1 |
| asmc_status |
|
1 |
4 |
23 |
1 |
| asmc_wait |
|
3 |
11 |
65 |
3 |
| asmc_write |
|
3 |
9 |
61 |
3 |
| asmc_read |
|
2 |
7 |
49 |
3 |
| asmc_command |
|
13 |
25 |
183 |
5 |
| asmc_try |
|
4 |
14 |
103 |
5 |
| asmc_uk |
|
1 |
4 |
33 |
1 |
| asmc_rpm |
|
1 |
4 |
22 |
1 |
| asmc_lux |
|
2 |
6 |
55 |
2 |
| asmc_temp |
|
7 |
29 |
290 |
3 |
| asmc_fan |
|
7 |
32 |
324 |
3 |
| asmc_light |
|
7 |
27 |
235 |
3 |
| asmc_motion |
|
3 |
21 |
193 |
3 |
| asmc_init |
|
21 |
34 |
353 |
1 |
| asmc_update |
|
12 |
17 |
185 |
1 |
| Source file: ./sys/dev/isa/if_ne_isa.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ne_isa_match |
|
7 |
33 |
221 |
3 |
| ne_isa_attach |
|
8 |
55 |
332 |
3 |
| Source file: ./sys/dev/isa/wbsioreg.h |
| Source file: ./sys/dev/isa/if_exreg.h |
| Source file: ./sys/dev/isa/mpu_isa.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mpu_test |
|
9 |
35 |
210 |
2 |
| mpu_isa_match |
|
2 |
11 |
60 |
3 |
| mpu_isa_attach |
|
3 |
19 |
125 |
3 |
| Source file: ./sys/dev/isa/fd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fdgetdisklabel |
|
1 |
19 |
171 |
4 |
| fdprobe |
|
10 |
34 |
301 |
3 |
| fdattach |
|
11 |
49 |
327 |
3 |
| fdactivate |
|
4 |
21 |
115 |
2 |
| fd_nvtotype |
|
10 |
25 |
122 |
3 |
| fd_dev_to_type |
|
3 |
7 |
57 |
2 |
| fdstrategy |
|
13 |
53 |
340 |
1 |
| fdstart |
|
2 |
9 |
78 |
1 |
| fdfinish |
|
4 |
18 |
141 |
2 |
| fdread |
|
1 |
4 |
31 |
3 |
| fdwrite |
|
1 |
4 |
31 |
3 |
| fd_set_motor |
|
6 |
17 |
125 |
2 |
| fd_motor_off |
|
1 |
9 |
55 |
1 |
| fd_motor_on |
|
3 |
12 |
84 |
1 |
| fdopen |
|
9 |
35 |
217 |
4 |
| fdclose |
|
3 |
18 |
113 |
4 |
| fdsize |
|
1 |
4 |
11 |
1 |
| fddump |
|
1 |
4 |
19 |
4 |
| fdintr |
|
54 |
221 |
1625 |
1 |
| fdtimeout |
|
3 |
15 |
95 |
1 |
| fdretry |
|
7 |
32 |
207 |
1 |
| fdioctl |
|
19 |
62 |
422 |
5 |
| fdformat |
|
3 |
23 |
207 |
3 |
| Source file: ./sys/dev/isa/if_le_isapnp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| le_isapnp_match |
|
1 |
4 |
20 |
3 |
| le_isapnp_attach |
|
5 |
38 |
305 |
3 |
| Source file: ./sys/dev/isa/fins.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fins_match |
|
7 |
43 |
330 |
3 |
| fins_attach |
|
10 |
48 |
339 |
3 |
| fins_activate |
|
2 |
9 |
33 |
2 |
| fins_read |
|
1 |
5 |
36 |
3 |
| fins_read_2 |
|
1 |
8 |
68 |
3 |
| fins_write |
|
1 |
5 |
38 |
4 |
| fins_read_sens |
|
1 |
4 |
28 |
2 |
| fins_read_sens_2 |
|
1 |
4 |
28 |
2 |
| fins_read_wdog |
|
1 |
4 |
28 |
2 |
| fins_write_wdog |
|
1 |
4 |
30 |
3 |
| fins_unlock |
|
1 |
5 |
32 |
2 |
| fins_lock |
|
1 |
5 |
30 |
2 |
| fins_setup_sensors |
|
3 |
14 |
139 |
2 |
| fins_get_dividers |
|
4 |
12 |
95 |
1 |
| fins_refresh |
|
2 |
7 |
52 |
1 |
| fins_get_volt |
|
3 |
14 |
95 |
2 |
| fins_get_temp |
|
4 |
16 |
114 |
2 |
| fins_refresh_offset |
|
1 |
10 |
78 |
2 |
| fins_get_rpm |
|
2 |
14 |
89 |
2 |
| fins_wdog_cb |
|
3 |
20 |
135 |
2 |
| Source file: ./sys/dev/isa/sbvar.h |
| Source file: ./sys/dev/isa/essvar.h |
| Source file: ./sys/dev/isa/ics2101.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ics2101_mix_doit |
|
13 |
52 |
385 |
5 |
| ics2101_mix_mute |
|
2 |
7 |
44 |
4 |
| ics2101_mix_attenuate |
|
1 |
6 |
38 |
4 |
| Source file: ./sys/dev/isa/sbdspvar.h |
| Source file: ./sys/dev/isa/vga_isa.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| vga_isa_match |
|
11 |
17 |
143 |
3 |
| vga_isa_attach |
|
2 |
8 |
57 |
3 |
| vga_isa_cnattach |
|
1 |
4 |
24 |
2 |
| Source file: ./sys/dev/isa/wbsio.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wbsio_conf_enable |
|
1 |
5 |
32 |
2 |
| wbsio_conf_disable |
|
1 |
4 |
21 |
2 |
| wbsio_conf_read |
|
1 |
5 |
36 |
3 |
| wbsio_conf_write |
|
1 |
6 |
38 |
4 |
| wbsio_probe |
|
12 |
34 |
191 |
3 |
| wbsio_attach |
|
13 |
62 |
368 |
3 |
| wbsio_print |
|
4 |
11 |
68 |
2 |
| Source file: ./sys/dev/isa/ess_isapnp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ess_isapnp_probe |
|
1 |
4 |
20 |
3 |
| ess_isapnp_attach |
|
2 |
21 |
198 |
3 |
| Source file: ./sys/dev/isa/rtfps.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rtfpsprobe |
|
10 |
36 |
203 |
3 |
| rtfpsprint |
|
2 |
10 |
49 |
2 |
| rtfpsattach |
|
8 |
42 |
361 |
3 |
| rtfpsintr |
|
1 |
13 |
69 |
1 |
| Source file: ./sys/dev/isa/gus_isa.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| gus_isa_match |
|
16 |
41 |
277 |
3 |
| gus_isa_attach |
|
5 |
25 |
223 |
3 |
| Source file: ./sys/dev/isa/ess.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ess_printsc |
|
4 |
19 |
176 |
1 |
| ess_dump_mixer |
|
1 |
42 |
284 |
1 |
| ess_config_addr |
|
7 |
45 |
224 |
1 |
| ess_config_irq |
|
19 |
69 |
291 |
1 |
| ess_config_drq |
|
11 |
46 |
182 |
1 |
| ess_setup |
|
1 |
6 |
28 |
1 |
| ess_identify |
|
15 |
80 |
497 |
1 |
| ess_setup_sc |
|
3 |
12 |
61 |
2 |
| essmatch |
|
22 |
59 |
408 |
1 |
| essattach |
|
22 |
100 |
701 |
1 |
| ess_open |
|
3 |
11 |
68 |
2 |
| ess_1788_close |
|
1 |
10 |
53 |
1 |
| ess_1888_close |
|
1 |
11 |
58 |
1 |
| ess_speaker_ctl |
|
5 |
13 |
81 |
2 |
| ess_set_params |
|
20 |
59 |
365 |
5 |
| ess_audio1_trigger_output |
|
8 |
60 |
422 |
7 |
| ess_audio2_trigger_output |
|
9 |
55 |
389 |
7 |
| ess_audio1_trigger_input |
|
8 |
60 |
420 |
7 |
| ess_audio1_halt |
|
3 |
16 |
97 |
1 |
| ess_audio2_halt |
|
3 |
17 |
99 |
1 |
| ess_audio1_intr |
|
3 |
22 |
150 |
1 |
| ess_audio2_intr |
|
3 |
23 |
142 |
1 |
| ess_audio1_poll |
|
5 |
23 |
179 |
1 |
| ess_audio2_poll |
|
5 |
23 |
179 |
1 |
| ess_round_blocksize |
|
1 |
4 |
23 |
2 |
| ess_set_port |
|
34 |
108 |
628 |
2 |
| ess_get_port |
|
28 |
76 |
453 |
2 |
| ess_query_devinfo |
|
26 |
252 |
2479 |
2 |
| ess_malloc |
|
2 |
10 |
75 |
5 |
| ess_free |
|
1 |
4 |
22 |
3 |
| ess_round_buffersize |
|
2 |
6 |
29 |
3 |
| ess_1788_get_props |
|
1 |
4 |
15 |
1 |
| ess_1888_get_props |
|
1 |
4 |
17 |
1 |
| ess_reset |
|
2 |
14 |
92 |
1 |
| ess_set_gain |
|
23 |
82 |
312 |
3 |
| ess_set_in_port |
|
5 |
18 |
121 |
2 |
| ess_set_in_ports |
|
3 |
15 |
120 |
2 |
| ess_speaker_on |
|
1 |
4 |
18 |
1 |
| ess_speaker_off |
|
1 |
4 |
18 |
1 |
| ess_srtotc |
|
2 |
9 |
38 |
1 |
| ess_srtofc |
|
1 |
4 |
16 |
1 |
| ess_get_dsp_status |
|
1 |
4 |
25 |
1 |
| ess_dsp_read_ready |
|
2 |
4 |
25 |
1 |
| ess_dsp_write_ready |
|
2 |
4 |
25 |
1 |
| ess_rdsp |
|
3 |
16 |
94 |
1 |
| ess_wdsp |
|
3 |
16 |
101 |
2 |
| ess_write_x_reg |
|
2 |
8 |
58 |
3 |
| ess_read_x_reg |
|
3 |
12 |
78 |
2 |
| ess_clear_xreg_bits |
|
2 |
6 |
45 |
3 |
| ess_set_xreg_bits |
|
2 |
6 |
45 |
3 |
| ess_write_mix_reg |
|
1 |
10 |
76 |
3 |
| ess_read_mix_reg |
|
1 |
12 |
79 |
2 |
| ess_clear_mreg_bits |
|
1 |
4 |
31 |
3 |
| ess_set_mreg_bits |
|
1 |
4 |
31 |
3 |
| ess_read_multi_mix_reg |
|
1 |
10 |
69 |
4 |
| Source file: ./sys/dev/isa/uha_isa.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| uha_isa_probe |
|
7 |
25 |
173 |
3 |
| uha_isa_attach |
|
5 |
30 |
203 |
3 |
| u14_find |
|
15 |
74 |
353 |
3 |
| u14_start_mbox |
|
6 |
23 |
157 |
2 |
| u14_poll |
|
4 |
17 |
87 |
3 |
| u14_intr |
|
7 |
29 |
190 |
1 |
| u14_init |
|
2 |
11 |
70 |
1 |
| Source file: ./sys/dev/isa/if_iee16.h |
| Source file: ./sys/dev/isa/isapnpres.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| isapnp_wait_status |
|
3 |
10 |
49 |
1 |
| isapnp_newdev |
|
3 |
17 |
109 |
1 |
| isapnp_newconf |
|
3 |
22 |
155 |
1 |
| isapnp_merge |
|
6 |
14 |
178 |
2 |
| isapnp_flatten |
|
6 |
26 |
162 |
1 |
| isapnp_process_tag |
|
38 |
152 |
1204 |
6 |
| isapnp_get_resource |
|
16 |
71 |
434 |
3 |
| Source file: ./sys/dev/isa/if_egreg.h |
| Source file: ./sys/dev/isa/if_sm_isa.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sm_isa_match |
|
8 |
37 |
270 |
3 |
| sm_isa_attach |
|
3 |
22 |
164 |
3 |
| Source file: ./sys/dev/isa/isareg.h |
| Source file: ./sys/dev/isa/sbreg.h |
| Source file: ./sys/dev/isa/pcdisplay.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pcdisplay_probe_col |
|
4 |
18 |
140 |
2 |
| pcdisplay_probe_mono |
|
4 |
18 |
140 |
2 |
| pcdisplay_init |
|
7 |
28 |
227 |
4 |
| pcdisplay_match |
|
20 |
29 |
218 |
3 |
| pcdisplay_attach |
|
8 |
33 |
237 |
3 |
| pcdisplay_cnattach |
|
3 |
17 |
92 |
2 |
| pcdisplay_is_console |
|
4 |
8 |
32 |
1 |
| pcdisplay_ioctl |
|
1 |
4 |
28 |
5 |
| pcdisplay_mmap |
|
1 |
4 |
20 |
3 |
| pcdisplay_alloc_screen |
|
2 |
13 |
84 |
6 |
| pcdisplay_free_screen |
|
2 |
7 |
38 |
2 |
| pcdisplay_show_screen |
|
3 |
8 |
58 |
5 |
| pcdisplay_alloc_attr |
|
2 |
8 |
47 |
5 |
| pcdisplay_unpack_attr |
|
3 |
12 |
69 |
5 |
| Source file: ./sys/dev/isa/if_we.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| we_probe |
|
1 |
5 |
45 |
3 |
| we_match |
|
25 |
86 |
667 |
3 |
| we_attach |
|
34 |
138 |
1049 |
3 |
| we_test_mem |
|
7 |
29 |
185 |
1 |
| we_readmem |
|
3 |
13 |
86 |
4 |
| we_write_mbuf |
|
15 |
62 |
395 |
3 |
| we_ring_copy |
|
2 |
14 |
96 |
4 |
| we_read_hdr |
|
2 |
8 |
59 |
3 |
| we_recv_int |
|
1 |
7 |
36 |
1 |
| we_media_init |
|
4 |
28 |
201 |
1 |
| we_mediachange |
|
1 |
5 |
19 |
1 |
| we_mediastatus |
|
1 |
5 |
34 |
2 |
| we_params |
|
35 |
125 |
541 |
6 |
| Source file: ./sys/dev/isa/aic_isa.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| aic_isa_probe |
|
3 |
19 |
117 |
3 |
| aic_isa_attach |
|
2 |
17 |
130 |
3 |
| Source file: ./sys/dev/isa/wdc_isapnp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wdc_isapnp_match |
|
6 |
14 |
70 |
3 |
| wdc_isapnp_attach |
|
3 |
37 |
331 |
3 |
| Source file: ./sys/dev/isa/gus_isapnp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| gus_isapnp_match |
|
1 |
6 |
25 |
3 |
| gus_isapnp_attach |
|
1 |
18 |
158 |
3 |
| Source file: ./sys/dev/isa/if_ep_isa.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| epaddcard |
|
3 |
11 |
80 |
4 |
| ep_isa_probe |
|
18 |
76 |
557 |
3 |
| ep_isa_attach |
|
3 |
22 |
171 |
3 |
| Source file: ./sys/dev/isa/rtvar.h |
| Source file: ./sys/dev/isa/com_isa.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| com_isa_probe |
|
5 |
22 |
129 |
3 |
| com_isa_attach |
|
4 |
29 |
178 |
3 |
| Source file: ./sys/dev/isa/i82365_isapnp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pcic_isapnp_match |
|
1 |
7 |
28 |
3 |
| pcic_isapnp_attach |
|
13 |
83 |
580 |
3 |
| Source file: ./sys/dev/isa/gscsioreg.h |
| Source file: ./sys/dev/isa/if_ecreg.h |
| Source file: ./sys/dev/isa/sb_isa.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sb_isa_match |
|
1 |
11 |
87 |
3 |
| sbfind |
|
11 |
34 |
241 |
3 |
| sb_isa_attach |
|
3 |
16 |
109 |
3 |
| Source file: ./sys/dev/isa/if_an_isapnp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| an_isapnp_match |
|
1 |
4 |
20 |
3 |
| an_isapnp_attach |
|
1 |
10 |
91 |
3 |
| Source file: ./sys/dev/isa/pcdisplayvar.h |
| Source file: ./sys/dev/isa/if_ieatt.h |
| Source file: ./sys/dev/isa/if_wereg.h |
| Source file: ./sys/dev/isa/ics2101var.h |
| Source file: ./sys/dev/isa/pcppireg.h |
| Source file: ./sys/dev/isa/mpu401.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mpu_find |
|
3 |
15 |
73 |
1 |
| mpu_waitready |
|
3 |
11 |
58 |
1 |
| mpu_reset |
|
5 |
23 |
133 |
1 |
| mpu_close |
|
1 |
9 |
43 |
1 |
| mpu_readinput |
|
3 |
13 |
85 |
1 |
| mpu_output |
|
4 |
16 |
116 |
2 |
| mpu_getinfo |
|
1 |
7 |
29 |
2 |
| mpu_intr |
|
2 |
14 |
70 |
1 |
| Source file: ./sys/dev/isa/pasreg.h |
| Source file: ./sys/dev/isa/aic_isapnp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| aic_isapnp_match |
|
1 |
7 |
34 |
3 |
| aic_isapnp_attach |
|
1 |
18 |
143 |
3 |
| Source file: ./sys/dev/isa/spkr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tone |
|
1 |
5 |
24 |
2 |
| rest |
|
3 |
7 |
35 |
1 |
| playinit |
|
1 |
9 |
38 |
1 |
| playtone |
|
7 |
22 |
172 |
3 |
| playstring |
|
60 |
122 |
714 |
2 |
| spkrprobe |
|
1 |
4 |
23 |
3 |
| spkrattach |
|
1 |
6 |
40 |
3 |
| spkropen |
|
5 |
14 |
79 |
4 |
| spkrwrite |
|
4 |
16 |
92 |
3 |
| spkrclose |
|
3 |
12 |
67 |
4 |
| spkrioctl |
|
13 |
42 |
232 |
5 |
| Source file: ./sys/dev/isa/if_ep_isapnp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ep_isapnp_match |
|
1 |
4 |
20 |
3 |
| ep_isapnp_attach |
|
1 |
14 |
120 |
3 |
| Source file: ./sys/dev/isa/skgpio.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| skgpio_match |
|
7 |
19 |
139 |
3 |
| skgpio_attach |
|
5 |
48 |
408 |
3 |
| skgpio_gpio_read |
|
2 |
7 |
52 |
2 |
| skgpio_gpio_write |
|
3 |
11 |
85 |
3 |
| skgpio_gpio_ctl |
|
3 |
11 |
84 |
3 |
| skgpio_led_read |
|
2 |
8 |
50 |
2 |
| skgpio_led_write |
|
1 |
6 |
39 |
3 |
| skgpio_led_ctl |
|
1 |
3 |
14 |
3 |
| Source file: ./sys/dev/isa/aps.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| aps_do_io |
|
12 |
49 |
360 |
5 |
| aps_match |
|
7 |
35 |
247 |
3 |
| aps_attach |
|
3 |
47 |
468 |
3 |
| aps_init |
|
13 |
31 |
253 |
2 |
| aps_read_data |
|
2 |
18 |
186 |
1 |
| aps_refresh_sensor_data |
|
11 |
32 |
270 |
1 |
| aps_refresh |
|
1 |
6 |
33 |
1 |
| aps_activate |
|
4 |
21 |
121 |
2 |
| Source file: ./sys/dev/isa/if_eg.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| egprintpcb |
|
2 |
6 |
48 |
1 |
| egoutPCB |
|
3 |
15 |
90 |
2 |
| egreadPCBstat |
|
4 |
15 |
95 |
2 |
| egreadPCBready |
|
3 |
14 |
85 |
1 |
| egwritePCB |
|
5 |
25 |
174 |
1 |
| egreadPCB |
|
9 |
38 |
309 |
1 |
| egprobe |
|
10 |
53 |
378 |
3 |
| egattach |
|
12 |
60 |
444 |
3 |
| eginit |
|
7 |
35 |
281 |
1 |
| egrecv |
|
3 |
18 |
134 |
1 |
| egstart |
|
14 |
60 |
448 |
1 |
| egintr |
|
12 |
70 |
519 |
1 |
| egread |
|
4 |
20 |
118 |
3 |
| egget |
|
7 |
34 |
197 |
3 |
| egioctl |
|
8 |
31 |
195 |
3 |
| egreset |
|
1 |
9 |
40 |
1 |
| egwatchdog |
|
1 |
7 |
45 |
1 |
| egstop |
|
1 |
6 |
35 |
1 |
| Source file: ./sys/dev/isa/i82365_isa.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pcic_isa_probe |
|
12 |
48 |
355 |
3 |
| pcic_isa_attach |
|
10 |
62 |
430 |
3 |
| Source file: ./sys/dev/isa/pcppivar.h |
| Source file: ./sys/dev/isa/gusreg.h |
| Source file: ./sys/dev/isa/pas.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pasconf |
|
4 |
49 |
336 |
4 |
| pasprobe |
|
15 |
86 |
540 |
3 |
| pasattach |
|
1 |
16 |
149 |
3 |
| Source file: ./sys/dev/isa/spkrio.h |
| Source file: ./sys/dev/isa/isavar.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| isapnp_write_reg |
|
1 |
5 |
29 |
3 |
| isapnp_read_reg |
|
1 |
5 |
25 |
2 |
| Source file: ./sys/dev/isa/gscsio.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| idxread |
|
1 |
5 |
36 |
3 |
| idxwrite |
|
1 |
5 |
38 |
4 |
| gscsio_probe |
|
4 |
23 |
148 |
3 |
| gscsio_attach |
|
10 |
64 |
550 |
3 |
| gscsio_acb_init |
|
1 |
23 |
147 |
2 |
| gscsio_acb_wait |
|
7 |
31 |
171 |
3 |
| gscsio_acb_reset |
|
1 |
14 |
84 |
1 |
| gscsio_acb_acquire_bus |
|
3 |
7 |
46 |
2 |
| gscsio_acb_release_bus |
|
3 |
7 |
36 |
2 |
| gscsio_acb_send_start |
|
1 |
10 |
53 |
2 |
| gscsio_acb_send_stop |
|
1 |
10 |
53 |
2 |
| gscsio_acb_initiate_xfer |
|
3 |
17 |
110 |
3 |
| gscsio_acb_read_byte |
|
3 |
16 |
96 |
3 |
| gscsio_acb_write_byte |
|
3 |
16 |
94 |
3 |
| Source file: ./sys/dev/isa/if_ie507.h |
| Source file: ./sys/dev/isa/sch311x.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| schsio_config_enable |
|
1 |
4 |
21 |
2 |
| schsio_config_disable |
|
1 |
4 |
21 |
2 |
| schsio_config_read |
|
1 |
6 |
36 |
3 |
| schsio_config_write |
|
1 |
6 |
38 |
4 |
| schsio_probe |
|
5 |
28 |
183 |
3 |
| schsio_attach |
|
6 |
44 |
280 |
3 |
| schsio_activate |
|
2 |
9 |
33 |
2 |
| schsio_hwm_init |
|
6 |
40 |
432 |
1 |
| schsio_hwm_update |
|
7 |
60 |
532 |
1 |
| schsio_hwm_read |
|
1 |
5 |
43 |
2 |
| schsio_wdt_init |
|
4 |
29 |
193 |
1 |
| schsio_wdt_cb |
|
4 |
26 |
134 |
2 |
| Source file: ./sys/dev/isa/sb_isapnp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sb_isapnp_match |
|
2 |
9 |
43 |
3 |
| sb_isapnp_attach |
|
7 |
32 |
268 |
3 |
| Source file: ./sys/dev/isa/wdsreg.h |
| Source file: ./sys/dev/isa/if_el.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| elprobe |
|
7 |
34 |
235 |
3 |
| elattach |
|
1 |
23 |
184 |
3 |
| elreset |
|
1 |
10 |
42 |
1 |
| elstop |
|
1 |
5 |
22 |
1 |
| el_hardreset |
|
2 |
11 |
73 |
1 |
| elinit |
|
2 |
20 |
147 |
1 |
| elstart |
|
14 |
69 |
477 |
1 |
| el_xmit |
|
4 |
17 |
96 |
1 |
| elintr |
|
7 |
40 |
290 |
1 |
| elread |
|
4 |
22 |
118 |
2 |
| elget |
|
7 |
40 |
230 |
2 |
| elioctl |
|
7 |
31 |
170 |
3 |
| elwatchdog |
|
1 |
8 |
47 |
1 |
| Source file: ./sys/dev/isa/ast.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| astprobe |
|
10 |
36 |
203 |
3 |
| astprint |
|
2 |
10 |
49 |
2 |
| astattach |
|
5 |
29 |
259 |
3 |
| astintr |
|
4 |
20 |
119 |
1 |
| Source file: ./sys/dev/isa/fdlink.h |
| Source file: ./sys/dev/isa/nsclpcsio_isa.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| nsread |
|
1 |
5 |
36 |
3 |
| nswrite |
|
1 |
5 |
38 |
4 |
| nsclpcsio_isa_match |
|
4 |
23 |
148 |
3 |
| nsclpcsio_isa_attach |
|
14 |
61 |
513 |
3 |
| nsclpcsio_refresh |
|
3 |
9 |
56 |
1 |
| nsclpcsio_tms_init |
|
2 |
21 |
211 |
1 |
| nsclpcsio_tms_update |
|
3 |
20 |
137 |
1 |
| nsclpcsio_vlm_init |
|
10 |
39 |
187 |
1 |
| nsclpcsio_vlm_update |
|
6 |
28 |
187 |
1 |
| nsclpcsio_gpio_pin_select |
|
1 |
10 |
73 |
2 |
| nsclpcsio_gpio_init |
|
3 |
17 |
111 |
1 |
| nsclpcsio_gpio_pin_read |
|
5 |
24 |
103 |
2 |
| nsclpcsio_gpio_pin_write |
|
7 |
28 |
134 |
3 |
| nsclpcsio_gpio_pin_ctl |
|
4 |
17 |
122 |
3 |
| Source file: ./sys/dev/isa/if_elreg.h |
| Source file: ./sys/dev/isa/cy_isa.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cy_isa_probe |
|
4 |
24 |
153 |
3 |
| cy_isa_attach |
|
3 |
19 |
147 |
3 |
| Source file: ./sys/dev/isa/it.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| it_match |
|
15 |
45 |
335 |
3 |
| it_attach |
|
11 |
61 |
608 |
3 |
| it_activate |
|
2 |
9 |
33 |
2 |
| it_readreg |
|
1 |
5 |
36 |
3 |
| it_writereg |
|
1 |
5 |
38 |
4 |
| it_enter |
|
2 |
10 |
75 |
3 |
| it_exit |
|
1 |
5 |
32 |
2 |
| it_ec_readreg |
|
1 |
5 |
43 |
2 |
| it_ec_writereg |
|
1 |
5 |
45 |
3 |
| it_ec_refresh |
|
29 |
93 |
767 |
1 |
| it_wdog_cb |
|
9 |
36 |
236 |
2 |
| Source file: ./sys/dev/isa/madreg.h |
| Source file: ./sys/dev/isa/gusvar.h |
| Source file: ./sys/dev/isa/i82365_isasubr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pcic_isa_bus_width_probe |
|
8 |
46 |
315 |
5 |
| pcic_isa_chip_intr_disestablish |
|
1 |
14 |
92 |
2 |
| pcic_isa_chip_intr_string |
|
2 |
12 |
74 |
2 |
| pcic_intr_probe |
|
1 |
6 |
19 |
1 |
| pcic_intr_find |
|
11 |
53 |
300 |
2 |
| Source file: ./sys/dev/isa/isadmavar.h |
| Source file: ./sys/dev/isa/mpu_isapnp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mpu_isapnp_match |
|
2 |
9 |
43 |
3 |
| mpu_isapnp_attach |
|
2 |
20 |
178 |
3 |
| Source file: ./sys/dev/isa/pckbc_isa.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pckbc_isa_match |
|
12 |
40 |
304 |
3 |
| pckbc_isa_activate |
|
3 |
19 |
91 |
2 |
| pckbc_isa_attach |
|
6 |
38 |
282 |
3 |
| Source file: ./sys/dev/isa/if_lc_isa.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| lemac_isa_find |
|
21 |
53 |
377 |
3 |
| lemac_isa_probe |
|
1 |
12 |
89 |
3 |
| lemac_isa_attach |
|
1 |
9 |
51 |
3 |
| Source file: ./sys/dev/isa/gus.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| gusopen |
|
7 |
30 |
212 |
2 |
| gusmaxopen |
|
1 |
5 |
28 |
2 |
| gus_deinterleave |
|
6 |
28 |
245 |
3 |
| gusmax_dma_output |
|
1 |
6 |
52 |
5 |
| stereo_dmaintr |
|
3 |
24 |
183 |
1 |
| gus_dma_output |
|
15 |
63 |
412 |
5 |
| gusmax_close |
|
2 |
9 |
50 |
1 |
| gusclose |
|
2 |
18 |
95 |
1 |
| gusintr |
|
10 |
37 |
220 |
1 |
| gus_dmaout_timeout |
|
2 |
13 |
90 |
1 |
| gus_dmaout_intr |
|
2 |
12 |
66 |
1 |
| gus_dmaout_dointr |
|
20 |
89 |
700 |
1 |
| gus_voice_intr |
|
14 |
67 |
435 |
1 |
| gus_start_playing |
|
8 |
52 |
514 |
2 |
| gus_continue_playing |
|
8 |
48 |
447 |
2 |
| gusdmaout |
|
2 |
26 |
216 |
5 |
| gus_start_voice |
|
3 |
54 |
512 |
3 |
| gus_stop_voice |
|
2 |
27 |
243 |
3 |
| gus_set_volume |
|
2 |
17 |
172 |
3 |
| gusmax_set_params |
|
2 |
12 |
83 |
5 |
| gus_set_params |
|
7 |
34 |
238 |
5 |
| gusmax_round_blocksize |
|
1 |
6 |
35 |
2 |
| gus_round_blocksize |
|
7 |
24 |
146 |
2 |
| gus_get_out_gain |
|
1 |
6 |
33 |
1 |
| gus_set_voices |
|
1 |
8 |
58 |
2 |
| gusmax_commit_settings |
|
2 |
10 |
47 |
1 |
| gus_commit_settings |
|
1 |
14 |
99 |
1 |
| gus_set_chan_addrs |
|
4 |
16 |
122 |
1 |
| gus_set_samprate |
|
1 |
14 |
134 |
3 |
| gus_set_recrate |
|
2 |
11 |
85 |
2 |
| gusmax_speaker_ctl |
|
1 |
5 |
28 |
2 |
| gus_speaker_ctl |
|
5 |
17 |
116 |
2 |
| gus_linein_ctl |
|
5 |
17 |
116 |
2 |
| gus_mic_ctl |
|
5 |
17 |
116 |
2 |
| gus_set_endaddr |
|
2 |
12 |
106 |
3 |
| gus_set_curaddr |
|
2 |
13 |
121 |
3 |
| gus_get_curaddr |
|
2 |
16 |
159 |
2 |
| convert_to_16bit |
|
1 |
9 |
36 |
1 |
| guspoke |
|
1 |
9 |
89 |
4 |
| guspeek |
|
1 |
8 |
88 |
3 |
| gusreset |
|
3 |
80 |
704 |
2 |
| gus_init_cs4231 |
|
4 |
33 |
234 |
1 |
| gus_set_in_gain |
|
1 |
5 |
23 |
3 |
| gus_get_in_gain |
|
1 |
5 |
17 |
1 |
| gusmax_dma_input |
|
1 |
6 |
52 |
5 |
| gus_dma_input |
|
8 |
34 |
223 |
5 |
| gus_dmain_intr |
|
2 |
22 |
128 |
1 |
| gusmax_halt_out_dma |
|
1 |
5 |
23 |
1 |
| gusmax_halt_in_dma |
|
1 |
5 |
23 |
1 |
| gus_halt_out_dma |
|
1 |
24 |
163 |
1 |
| gus_halt_in_dma |
|
1 |
19 |
127 |
1 |
| gusmax_mixer_get_port |
|
8 |
32 |
173 |
2 |
| gus_mixer_get_port |
|
36 |
102 |
641 |
2 |
| gusics_master_mute |
|
1 |
5 |
34 |
2 |
| gusics_mic_mute |
|
1 |
5 |
34 |
2 |
| gusics_linein_mute |
|
1 |
5 |
34 |
2 |
| gusics_cd_mute |
|
1 |
5 |
34 |
2 |
| gusics_dac_mute |
|
1 |
5 |
34 |
2 |
| gusmax_mixer_set_port |
|
10 |
31 |
178 |
2 |
| gus_mixer_set_port |
|
37 |
137 |
659 |
2 |
| gus_get_props |
|
2 |
6 |
32 |
1 |
| gusmax_get_props |
|
1 |
5 |
23 |
1 |
| gusmax_mixer_query_devinfo |
|
22 |
187 |
1549 |
2 |
| gus_mixer_query_devinfo |
|
17 |
131 |
1013 |
2 |
| gus_malloc |
|
2 |
10 |
65 |
5 |
| gus_free |
|
1 |
4 |
22 |
3 |
| gus_round |
|
2 |
6 |
27 |
3 |
| gus_init_ics2101 |
|
2 |
64 |
252 |
1 |
| gus_subattach |
|
20 |
119 |
989 |
2 |
| gus_test_iobase |
|
6 |
41 |
311 |
2 |
| Source file: ./sys/dev/eisa/if_ep_eisa.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ep_eisa_match |
|
12 |
19 |
140 |
3 |
| ep_eisa_attach |
|
18 |
77 |
554 |
3 |
| Source file: ./sys/dev/eisa/cac_eisa.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cac_eisa_match |
|
3 |
12 |
86 |
3 |
| cac_eisa_attach |
|
12 |
66 |
373 |
3 |
| cac_eisa_l0_fifo_full |
|
1 |
5 |
25 |
1 |
| cac_eisa_l0_submit |
|
1 |
12 |
107 |
2 |
| cac_eisa_l0_completed |
|
3 |
21 |
150 |
1 |
| cac_eisa_l0_intr_pending |
|
1 |
5 |
21 |
1 |
| cac_eisa_l0_intr_enable |
|
2 |
12 |
64 |
2 |
| Source file: ./sys/dev/isa/if_ef_isapnp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ef_isapnp_match |
|
1 |
6 |
27 |
3 |
| ef_isapnp_attach |
|
6 |
63 |
524 |
3 |
| efstart |
|
18 |
82 |
544 |
1 |
| efioctl |
|
11 |
42 |
238 |
3 |
| efinit |
|
7 |
52 |
435 |
1 |
| efreset |
|
1 |
9 |
35 |
1 |
| efstop |
|
1 |
21 |
169 |
1 |
| efcompletecmd |
|
2 |
10 |
59 |
3 |
| efintr |
|
6 |
42 |
246 |
1 |
| eftxstat |
|
10 |
37 |
242 |
1 |
| efbusyeeprom |
|
4 |
19 |
83 |
1 |
| efwatchdog |
|
1 |
8 |
45 |
1 |
| efsetmulti |
|
5 |
22 |
134 |
1 |
| efread |
|
14 |
47 |
265 |
1 |
| efget |
|
9 |
51 |
301 |
2 |
| ef_mii_writeb |
|
2 |
14 |
66 |
2 |
| ef_mii_sync |
|
2 |
7 |
34 |
1 |
| ef_miibus_readreg |
|
7 |
47 |
340 |
3 |
| ef_miibus_writereg |
|
7 |
25 |
210 |
4 |
| ef_ifmedia_upd |
|
1 |
7 |
33 |
1 |
| ef_ifmedia_sts |
|
1 |
9 |
55 |
2 |
| ef_miibus_statchg |
|
2 |
16 |
92 |
1 |
| ef_tick |
|
1 |
10 |
49 |
1 |
| Source file: ./sys/dev/eisa/eisa.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| eisamatch |
|
2 |
10 |
61 |
3 |
| eisaprint |
|
2 |
13 |
72 |
2 |
| eisasubmatch |
|
3 |
11 |
74 |
3 |
| eisaattach |
|
10 |
68 |
486 |
3 |
| eisa_devinfo |
|
8 |
30 |
186 |
3 |
| Source file: ./sys/dev/isa/sbdsp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sb_printsc |
|
2 |
22 |
170 |
1 |
| sbdsp_probe |
|
4 |
17 |
78 |
1 |
| sbdsp_jazz16_probe |
|
10 |
54 |
379 |
1 |
| sbdsp_attach |
|
27 |
68 |
396 |
1 |
| sbdsp_mix_write |
|
1 |
14 |
79 |
3 |
| sbdsp_mix_read |
|
1 |
15 |
80 |
2 |
| sbdsp_set_params |
|
61 |
168 |
1022 |
5 |
| sbdsp_set_ifilter |
|
4 |
23 |
94 |
2 |
| sbdsp_get_ifilter |
|
3 |
15 |
59 |
1 |
| sbdsp_set_in_ports |
|
16 |
54 |
297 |
2 |
| sbdsp_speaker_ctl |
|
6 |
19 |
94 |
2 |
| sbdsp_round_blocksize |
|
1 |
6 |
25 |
2 |
| sbdsp_open |
|
5 |
20 |
107 |
2 |
| sbdsp_close |
|
1 |
14 |
73 |
1 |
| sbdsp_reset |
|
4 |
23 |
151 |
1 |
| sbdsp_wdsp |
|
3 |
20 |
106 |
2 |
| sbdsp_rdsp |
|
3 |
19 |
97 |
1 |
| sbdsp_to |
|
1 |
5 |
15 |
1 |
| sbdsp_pause |
|
1 |
6 |
35 |
1 |
| sbdsp_spkron |
|
1 |
6 |
26 |
1 |
| sbdsp_spkroff |
|
1 |
6 |
26 |
1 |
| sbversion |
|
14 |
49 |
269 |
1 |
| sbdsp_haltdma |
|
1 |
10 |
46 |
1 |
| sbdsp_set_timeconst |
|
3 |
10 |
53 |
2 |
| sbdsp16_set_rate |
|
4 |
11 |
71 |
3 |
| if |
|
1 |
4 |
26 |
1 |
| if |
|
3 |
9 |
52 |
1 |
| if |
|
1 |
5 |
32 |
1 |
| if |
|
3 |
8 |
61 |
1 |
| if |
|
2 |
7 |
44 |
1 |
| if |
|
1 |
5 |
33 |
1 |
| sbdsp_block_input |
|
16 |
44 |
342 |
1 |
| if |
|
1 |
4 |
26 |
1 |
| if |
|
3 |
9 |
52 |
1 |
| if |
|
1 |
5 |
32 |
1 |
| if |
|
4 |
8 |
63 |
1 |
| if |
|
2 |
7 |
44 |
1 |
| if |
|
1 |
5 |
33 |
1 |
| sbdsp_block_output |
|
16 |
44 |
340 |
1 |
| sbdsp_intr |
|
10 |
41 |
248 |
1 |
| sbdsp_adjust |
|
2 |
8 |
41 |
2 |
| sbdsp_set_mixer_gain |
|
27 |
101 |
409 |
2 |
| sbdsp_mixer_set_port |
|
57 |
169 |
931 |
2 |
| sbdsp_mixer_get_port |
|
40 |
89 |
435 |
2 |
| sbdsp_mixer_query_devinfo |
|
42 |
283 |
2546 |
2 |
| sb_malloc |
|
2 |
15 |
78 |
5 |
| sb_free |
|
1 |
7 |
28 |
3 |
| sb_round |
|
2 |
9 |
33 |
3 |
| sbdsp_get_props |
|
2 |
7 |
32 |
1 |
| sbdsp_midi_close |
|
2 |
10 |
51 |
1 |
| sbdsp_midi_output |
|
3 |
10 |
53 |
2 |
| sbdsp_midi_getinfo |
|
2 |
8 |
44 |
2 |
| sbdsp_midi_intr |
|
1 |
7 |
36 |
1 |
| Source file: ./sys/dev/eisa/eisadevs.h |
| Source file: ./sys/dev/eisa/eisavar.h |
| Source file: ./sys/dev/eisa/uha_eisa.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| uha_eisa_match |
|
3 |
17 |
113 |
3 |
| uha_eisa_attach |
|
7 |
45 |
299 |
3 |
| u24_find |
|
11 |
50 |
251 |
3 |
| u24_start_mbox |
|
6 |
24 |
168 |
2 |
| u24_poll |
|
4 |
21 |
103 |
3 |
| u24_intr |
|
7 |
30 |
201 |
1 |
| u24_init |
|
2 |
13 |
92 |
1 |
| Source file: ./sys/dev/eisa/eisareg.h |
| Source file: ./sys/dev/eisa/dpt_eisa.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dpt_eisa_irq |
|
4 |
20 |
78 |
3 |
| dpt_eisa_match |
|
3 |
14 |
84 |
3 |
| dpt_eisa_attach |
|
9 |
52 |
297 |
3 |
| Source file: ./sys/dev/dec/if_le_dec.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dec_le_common_attach |
|
2 |
16 |
105 |
2 |
| le_dec_wrcsr |
|
1 |
6 |
51 |
3 |
| le_dec_rdcsr |
|
1 |
8 |
56 |
2 |
| le_dec_writereg |
|
3 |
14 |
61 |
2 |
| Source file: ./sys/dev/dec/clockvar.h |
| Source file: ./sys/dev/dec/mcclockvar.h |
| Source file: ./sys/dev/eisa/ahc_eisa.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ahc_eisa_irq |
|
7 |
24 |
108 |
2 |
| ahc_eisa_match |
|
7 |
21 |
138 |
3 |
| ahc_eisa_attach |
|
25 |
133 |
856 |
3 |
| Source file: ./sys/dev/ic/an.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| an_swap16 |
|
2 |
5 |
29 |
2 |
| an_attach |
|
23 |
128 |
1013 |
1 |
| an_rxeof |
|
14 |
106 |
799 |
1 |
| an_txeof |
|
6 |
31 |
219 |
2 |
| an_intr |
|
17 |
41 |
279 |
1 |
| an_cmd |
|
11 |
42 |
297 |
3 |
| an_reset |
|
3 |
15 |
94 |
1 |
| an_linkstat_intr |
|
5 |
17 |
102 |
1 |
| an_wait |
|
3 |
11 |
74 |
1 |
| an_read_bap |
|
8 |
18 |
159 |
6 |
| an_write_bap |
|
6 |
16 |
121 |
5 |
| an_seek_bap |
|
5 |
27 |
155 |
3 |
| an_mwrite_bap |
|
9 |
32 |
264 |
5 |
| an_alloc_nicmem |
|
5 |
21 |
127 |
3 |
| an_read_rid |
|
3 |
13 |
101 |
4 |
| an_write_rid |
|
3 |
13 |
94 |
4 |
| an_ioctl |
|
14 |
45 |
245 |
3 |
| an_init |
|
20 |
122 |
906 |
1 |
| an_start |
|
21 |
114 |
846 |
1 |
| an_stop |
|
6 |
27 |
187 |
2 |
| an_watchdog |
|
4 |
16 |
78 |
1 |
| an_media_change |
|
13 |
49 |
278 |
1 |
| an_media_status |
|
9 |
39 |
224 |
2 |
| an_set_nwkey |
|
8 |
29 |
145 |
2 |
| an_set_nwkey_wep |
|
29 |
96 |
721 |
2 |
| an_get_nwkey |
|
11 |
34 |
256 |
2 |
| an_write_wepkey |
|
6 |
31 |
291 |
4 |
| an_newstate |
|
6 |
48 |
360 |
3 |
| an_detach |
|
2 |
15 |
83 |
1 |
| Source file: ./sys/dev/ic/aic7xxx_seeprom.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ahc_check_extport |
|
26 |
99 |
619 |
2 |
| ahc_parse_pci_eeprom |
|
27 |
85 |
648 |
2 |
| configure_termination |
|
48 |
164 |
860 |
4 |
| ahc_new_term_detect |
|
1 |
12 |
82 |
6 |
| aic787X_cable_detect |
|
5 |
14 |
108 |
5 |
| aic785X_cable_detect |
|
4 |
16 |
126 |
4 |
| ahc_acquire_seeprom |
|
6 |
17 |
121 |
2 |
| ahc_release_seeprom |
|
1 |
4 |
16 |
1 |
| write_brdctl |
|
6 |
29 |
170 |
2 |
| read_brdctl |
|
4 |
20 |
112 |
1 |
| verify_seeprom_cksum |
|
4 |
18 |
101 |
1 |
| Source file: ./sys/dev/ic/ds1286reg.h |
| Source file: ./sys/dev/eisa/eisadevs_data.h |
| Source file: ./sys/dev/ic/lm78var.h |
| Source file: ./sys/dev/ic/rt2661reg.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| RAL_READ |
|
1 |
5 |
39 |
2 |
| RAL_READ_REGION_4 |
|
2 |
6 |
46 |
4 |
| RAL_WRITE |
|
1 |
5 |
43 |
3 |
| RAL_WRITE_1 |
|
1 |
5 |
43 |
3 |
| RAL_WRITE_REGION_1 |
|
2 |
6 |
46 |
4 |
| Source file: ./sys/dev/ic/rtsxreg.h |
| Source file: ./sys/dev/ic/ar5416.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ar5416_attach |
|
2 |
22 |
142 |
1 |
| ar5416_setup |
|
4 |
11 |
61 |
1 |
| ar5416_swap_rom |
|
4 |
18 |
132 |
1 |
| ar5416_get_spur_chans |
|
1 |
5 |
34 |
2 |
| ar5416_set_synth |
|
11 |
48 |
360 |
3 |
| ar5416_init_from_rom |
|
13 |
81 |
715 |
3 |
| ar5416_init_calib |
|
6 |
25 |
137 |
3 |
| ar5416_get_pdadcs |
|
9 |
50 |
394 |
7 |
| ar5416_set_power_calib |
|
16 |
83 |
656 |
2 |
| ar5416_set_txpower |
|
19 |
108 |
800 |
3 |
| ar5416_spur_mitigate |
|
6 |
40 |
231 |
3 |
| ar5416_reverse_bits |
|
1 |
8 |
101 |
2 |
| ar5416_get_rf_rev |
|
3 |
15 |
133 |
1 |
| ar5416_rw_rfbits |
|
4 |
13 |
110 |
5 |
| ar5416_rw_bank6tpc |
|
2 |
15 |
126 |
3 |
| ar5416_rf_reset |
|
6 |
34 |
241 |
2 |
| ar5416_reset_bb_gain |
|
3 |
11 |
66 |
2 |
| ar5416_force_bias |
|
4 |
19 |
132 |
2 |
| ar9160_rw_addac |
|
6 |
27 |
202 |
3 |
| ar5416_reset_addac |
|
4 |
16 |
129 |
2 |
| Source file: ./sys/dev/ic/i82365var.h |
| Source file: ./sys/dev/ic/ncr5380var.h |
| Source file: ./sys/dev/ic/gem.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| gem_config |
|
29 |
173 |
1238 |
1 |
| gem_unconfig |
|
5 |
25 |
211 |
1 |
| gem_tick |
|
1 |
32 |
254 |
1 |
| gem_bitwait |
|
4 |
12 |
84 |
5 |
| gem_reset |
|
2 |
14 |
104 |
1 |
| gem_rxdrain |
|
3 |
16 |
107 |
1 |
| gem_stop |
|
4 |
31 |
229 |
2 |
| gem_reset_rx |
|
3 |
16 |
127 |
1 |
| gem_reset_tx |
|
3 |
17 |
127 |
1 |
| gem_disable_rx |
|
1 |
10 |
68 |
1 |
| gem_disable_tx |
|
1 |
10 |
68 |
1 |
| gem_meminit |
|
3 |
17 |
123 |
1 |
| gem_ringsize |
|
10 |
26 |
79 |
1 |
| gem_init |
|
4 |
62 |
517 |
1 |
| gem_init_regs |
|
5 |
59 |
594 |
1 |
| gem_rint |
|
8 |
54 |
397 |
1 |
| gem_fill_rx_ring |
|
3 |
10 |
60 |
1 |
| gem_add_rxbuf |
|
4 |
24 |
180 |
2 |
| gem_eint |
|
3 |
9 |
60 |
2 |
| gem_pint |
|
3 |
11 |
68 |
1 |
| gem_intr |
|
16 |
51 |
367 |
1 |
| gem_rx_watchdog |
|
6 |
21 |
140 |
1 |
| gem_watchdog |
|
1 |
12 |
90 |
1 |
| gem_mifinit |
|
1 |
8 |
55 |
1 |
| gem_mii_readreg |
|
5 |
21 |
150 |
3 |
| gem_mii_writereg |
|
5 |
23 |
151 |
4 |
| gem_mii_statchg |
|
10 |
40 |
276 |
1 |
| gem_pcs_readreg |
|
9 |
29 |
135 |
3 |
| gem_pcs_writereg |
|
12 |
40 |
206 |
4 |
| gem_mediachange |
|
2 |
11 |
68 |
1 |
| gem_mediastatus |
|
1 |
7 |
51 |
2 |
| gem_ioctl |
|
14 |
43 |
257 |
3 |
| gem_iff |
|
7 |
40 |
269 |
1 |
| gem_tint |
|
6 |
30 |
192 |
2 |
| gem_load_mbuf |
|
5 |
18 |
95 |
3 |
| gem_start |
|
10 |
69 |
454 |
1 |
| Source file: ./sys/dev/ic/aic79xx_openbsd.h |
| Source file: ./sys/dev/ic/aic7xxx.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ahc_restart |
|
3 |
30 |
244 |
1 |
| ahc_run_qoutfifo |
|
6 |
47 |
288 |
1 |
| ahc_run_untagged_queues |
|
2 |
6 |
38 |
1 |
| ahc_run_untagged_queue |
|
4 |
11 |
67 |
2 |
| ahc_handle_brkadrint |
|
4 |
19 |
120 |
1 |
| ahc_handle_seqint |
|
58 |
409 |
2336 |
2 |
| ahc_handle_scsiint |
|
60 |
289 |
1793 |
2 |
| ahc_force_renegotiation |
|
1 |
12 |
59 |
2 |
| ahc_clear_critical_section |
|
13 |
58 |
354 |
1 |
| ahc_clear_intstat |
|
1 |
11 |
67 |
1 |
| ahc_print_scb |
|
4 |
29 |
194 |
1 |
| ahc_alloc_tstate |
|
7 |
31 |
248 |
3 |
| ahc_free_tstate |
|
8 |
14 |
100 |
4 |
| ahc_devlimited_syncrate |
|
8 |
36 |
223 |
5 |
| ahc_find_syncrate |
|
14 |
33 |
209 |
4 |
| ahc_find_period |
|
7 |
21 |
133 |
3 |
| ahc_validate_offset |
|
6 |
24 |
135 |
6 |
| ahc_validate_width |
|
5 |
20 |
102 |
4 |
| ahc_update_neg_request |
|
11 |
25 |
188 |
5 |
| ahc_set_syncrate |
|
21 |
98 |
578 |
8 |
| ahc_set_width |
|
9 |
41 |
263 |
5 |
| ahc_set_tags |
|
1 |
7 |
48 |
3 |
| ahc_update_pending_scbs |
|
9 |
62 |
389 |
1 |
| ahc_fetch_devinfo |
|
6 |
26 |
166 |
2 |
| ahc_lookup_phase_entry |
|
3 |
11 |
55 |
1 |
| ahc_compile_devinfo |
|
2 |
13 |
85 |
6 |
| ahc_print_devinfo |
|
1 |
5 |
36 |
2 |
| ahc_scb_devinfo |
|
2 |
12 |
84 |
3 |
| ahc_assert_atn |
|
2 |
8 |
46 |
1 |
| ahc_setup_initiator_msgout |
|
10 |
52 |
438 |
3 |
| ahc_build_transfer_msg |
|
17 |
55 |
365 |
2 |
| ahc_construct_sdtr |
|
3 |
17 |
128 |
4 |
| ahc_construct_wdtr |
|
2 |
14 |
101 |
3 |
| ahc_construct_ppr |
|
3 |
22 |
175 |
6 |
| ahc_clear_msg_state |
|
2 |
12 |
78 |
1 |
| ahc_handle_proto_violation |
|
8 |
63 |
377 |
1 |
| ahc_handle_message_phase |
|
45 |
183 |
1007 |
1 |
| ahc_sent_msg |
|
14 |
34 |
196 |
4 |
| ahc_parse_msg |
|
53 |
302 |
1463 |
2 |
| ahc_handle_msg_reject |
|
10 |
99 |
652 |
2 |
| ahc_handle_ign_wide_residue |
|
8 |
47 |
304 |
2 |
| ahc_reinitialize_dataptrs |
|
3 |
44 |
381 |
1 |
| ahc_handle_devreset |
|
9 |
34 |
229 |
5 |
| ahc_setup_target_msgin |
|
3 |
12 |
72 |
3 |
| ahc_softc_init |
|
4 |
15 |
100 |
1 |
| ahc_softc_insert |
|
10 |
41 |
228 |
1 |
| ahc_set_unit |
|
1 |
4 |
18 |
2 |
| ahc_set_name |
|
2 |
6 |
38 |
2 |
| ahc_free |
|
12 |
40 |
243 |
1 |
| ahc_shutdown |
|
2 |
12 |
81 |
1 |
| ahc_reset |
|
12 |
55 |
343 |
2 |
| ahc_probe_scbs |
|
4 |
13 |
85 |
1 |
| ahc_dmamap_cb |
|
1 |
6 |
37 |
4 |
| ahc_build_free_scb_list |
|
6 |
29 |
214 |
1 |
| ahc_init_scbdata |
|
9 |
53 |
377 |
1 |
| ahc_fini_scbdata |
|
10 |
37 |
220 |
1 |
| ahc_alloc_scbs |
|
8 |
62 |
436 |
1 |
| ahc_controller_info |
|
7 |
38 |
264 |
3 |
| ahc_chip_init |
|
23 |
116 |
1081 |
1 |
| ahc_init |
|
57 |
207 |
1488 |
1 |
| ahc_intr_enable |
|
2 |
14 |
71 |
2 |
| ahc_index_busy_tcl |
|
2 |
16 |
105 |
2 |
| ahc_unbusy_tcl |
|
2 |
14 |
97 |
2 |
| ahc_busy_tcl |
|
2 |
14 |
100 |
3 |
| ahc_match_scb |
|
16 |
31 |
251 |
7 |
| ahc_freeze_devq |
|
1 |
13 |
74 |
2 |
| ahc_qinfifo_requeue_tail |
|
3 |
18 |
114 |
2 |
| ahc_qinfifo_requeue |
|
2 |
18 |
134 |
3 |
| ahc_qinfifo_count |
|
2 |
12 |
70 |
1 |
| ahc_search_qinfifo |
|
28 |
148 |
872 |
8 |
| ahc_search_untagged_queues |
|
17 |
66 |
340 |
7 |
| ahc_search_disc_list |
|
9 |
54 |
273 |
8 |
| ahc_rem_scb_from_disc_list |
|
2 |
14 |
91 |
3 |
| ahc_add_curscb_to_free_list |
|
2 |
8 |
60 |
1 |
| ahc_rem_wscb |
|
2 |
18 |
129 |
3 |
| ahc_abort_scbs |
|
20 |
83 |
544 |
7 |
| ahc_reset_current_bus |
|
1 |
12 |
90 |
1 |
| ahc_reset_channel |
|
22 |
94 |
589 |
3 |
| ahc_calc_residual |
|
11 |
42 |
277 |
2 |
| ahc_queue_lstate_event |
|
7 |
35 |
233 |
5 |
| ahc_send_lstate_events |
|
4 |
28 |
186 |
2 |
| ahc_dumpseq |
|
2 |
15 |
113 |
1 |
| ahc_loadseq |
|
15 |
82 |
555 |
1 |
| ahc_check_patch |
|
5 |
22 |
133 |
4 |
| ahc_download_instr |
|
27 |
97 |
524 |
3 |
| ahc_print_register |
|
13 |
38 |
245 |
7 |
| ahc_dump_card_state |
|
25 |
170 |
1381 |
1 |
| ahc_find_tmode_devs |
|
10 |
28 |
195 |
6 |
| ahc_handle_en_lun |
|
50 |
258 |
1573 |
3 |
| ahc_update_scsiid |
|
6 |
26 |
154 |
2 |
| ahc_run_tqinfifo |
|
9 |
35 |
222 |
2 |
| ahc_handle_target_cmd |
|
17 |
77 |
459 |
2 |
| ahc_createdmamem |
|
5 |
41 |
292 |
10 |
| ahc_freedmamem |
|
1 |
8 |
55 |
6 |
| Source file: ./sys/dev/ic/i8237reg.h |
| Source file: ./sys/dev/ic/osiopvar.h |
| Source file: ./sys/dev/ic/aic6360.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| aic_find |
|
5 |
23 |
194 |
2 |
| aicattach |
|
1 |
19 |
150 |
1 |
| aic_detach |
|
1 |
7 |
46 |
2 |
| aic_reset |
|
1 |
20 |
197 |
1 |
| aic_scsi_reset |
|
1 |
9 |
55 |
1 |
| aic_init |
|
8 |
52 |
380 |
1 |
| aic_acb_free |
|
1 |
9 |
60 |
2 |
| aic_acb_alloc |
|
2 |
13 |
73 |
1 |
| aic_scsi_cmd |
|
6 |
38 |
269 |
1 |
| aic_minphys |
|
2 |
7 |
50 |
2 |
| aic_poll |
|
4 |
19 |
108 |
3 |
| aic_sched_msgout |
|
2 |
8 |
55 |
2 |
| aic_setsync |
|
3 |
10 |
80 |
2 |
| aic_select |
|
1 |
16 |
144 |
2 |
| aic_reselect |
|
7 |
50 |
326 |
2 |
| aic_sched |
|
2 |
28 |
205 |
1 |
| aic_sense |
|
4 |
27 |
223 |
2 |
| aic_done |
|
11 |
39 |
271 |
2 |
| aic_dequeue |
|
2 |
8 |
51 |
2 |
| aic_msgin |
|
50 |
202 |
1233 |
1 |
| aic_msgout |
|
24 |
111 |
714 |
1 |
| aic_dataout_pio |
|
20 |
96 |
654 |
3 |
| aic_datain_pio |
|
14 |
75 |
513 |
3 |
| aicintr |
|
51 |
253 |
1640 |
1 |
| aic_abort |
|
4 |
14 |
86 |
2 |
| aic_timeout |
|
2 |
19 |
104 |
1 |
| aic_show_scsi_cmd |
|
4 |
16 |
104 |
1 |
| aic_print_acb |
|
1 |
7 |
46 |
1 |
| aic_print_active_acb |
|
2 |
14 |
85 |
1 |
| aic_dump6360 |
|
1 |
26 |
192 |
1 |
| aic_dump_driver |
|
2 |
15 |
124 |
1 |
| Source file: ./sys/dev/ic/rt2661var.h |
| Source file: ./sys/dev/ic/tc921x.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tc921x_encode_freq |
|
3 |
7 |
36 |
1 |
| tc921x_decode_freq |
|
1 |
3 |
18 |
1 |
| tc921x_read_addr |
|
1 |
11 |
132 |
2 |
| tc921x_write_addr |
|
1 |
9 |
131 |
3 |
| __tc921x_write_burst |
|
7 |
16 |
192 |
4 |
| __tc921x_read_burst |
|
3 |
11 |
113 |
2 |
| Source file: ./sys/dev/ic/advlib.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| AscInitASC_SOFTC |
|
9 |
86 |
629 |
1 |
| AscInitFromEEP |
|
29 |
140 |
1044 |
1 |
| AscInitFromASC_SOFTC |
|
12 |
47 |
308 |
1 |
| AscInitDriver |
|
4 |
18 |
108 |
1 |
| AscFindSignature |
|
4 |
11 |
55 |
2 |
| AscInitLram |
|
3 |
31 |
295 |
1 |
| AscReInitLram |
|
1 |
5 |
18 |
1 |
| AscInitQLinkVar |
|
2 |
23 |
207 |
1 |
| AscResetChipAndScsiBus |
|
2 |
16 |
121 |
2 |
| AscGetChipBusType |
|
8 |
18 |
100 |
2 |
| AscSetBank |
|
3 |
20 |
82 |
3 |
| AscStartChip |
|
2 |
7 |
44 |
2 |
| AscStopChip |
|
2 |
12 |
86 |
2 |
| AscGetChipVersion |
|
2 |
7 |
31 |
3 |
| AscSetChipScsiID |
|
2 |
11 |
75 |
3 |
| AscGetChipScsiCtrl |
|
1 |
8 |
47 |
2 |
| AscSetRunChipSynRegAtID |
|
2 |
10 |
57 |
4 |
| AscSetChipSynRegAtID |
|
5 |
25 |
172 |
4 |
| AscHostReqRiscHalt |
|
4 |
20 |
110 |
2 |
| AscIsChipHalted |
|
3 |
7 |
50 |
2 |
| AscSetChipIH |
|
1 |
7 |
42 |
3 |
| AscReadLramByte |
|
2 |
13 |
82 |
3 |
| AscWriteLramByte |
|
2 |
14 |
89 |
4 |
| AscReadLramWord |
|
1 |
5 |
32 |
3 |
| AscWriteLramWord |
|
1 |
6 |
34 |
4 |
| AscReadLramDWord |
|
1 |
8 |
65 |
3 |
| AscWriteLramDWord |
|
1 |
7 |
58 |
4 |
| AscMemWordSetLram |
|
2 |
8 |
53 |
5 |
| AscMemWordCopyToLram |
|
2 |
8 |
58 |
5 |
| AscMemWordCopyFromLram |
|
2 |
8 |
58 |
5 |
| AscMemDWordCopyToLram |
|
2 |
13 |
89 |
5 |
| AscMemSumLramWord |
|
2 |
9 |
57 |
4 |
| AscTestExternalLram |
|
2 |
18 |
106 |
2 |
| AscInitMicroCodeVar |
|
5 |
33 |
230 |
1 |
| AscLoadMicroCode |
|
1 |
16 |
126 |
5 |
| AscGetOnePhyAddr |
|
3 |
13 |
78 |
3 |
| AscGetSGList |
|
1 |
10 |
62 |
4 |
| AscWriteEEPCmdReg |
|
4 |
15 |
75 |
3 |
| AscWriteEEPDataReg |
|
4 |
16 |
75 |
3 |
| AscWaitEEPRead |
|
1 |
4 |
11 |
1 |
| AscWaitEEPWrite |
|
1 |
4 |
11 |
1 |
| AscReadEEPWord |
|
1 |
13 |
69 |
3 |
| AscWriteEEPWord |
|
2 |
18 |
109 |
4 |
| AscGetEEPConfig |
|
4 |
33 |
183 |
4 |
| AscSetEEPConfig |
|
4 |
14 |
68 |
4 |
| AscSetEEPConfigOnce |
|
11 |
43 |
275 |
4 |
| AscPrintEEPConfig |
|
2 |
33 |
307 |
2 |
| AscISR |
|
13 |
59 |
384 |
1 |
| AscIsrQDone |
|
16 |
103 |
684 |
1 |
| AscIsrChipHalted |
|
23 |
113 |
810 |
1 |
| AscWaitTixISRDone |
|
4 |
15 |
78 |
2 |
| AscWaitISRDone |
|
2 |
7 |
39 |
1 |
| _AscCopyLramScsiDoneQ |
|
1 |
20 |
156 |
5 |
| AscGetQDoneInfo |
|
1 |
21 |
193 |
4 |
| AscToggleIRQAct |
|
1 |
5 |
28 |
2 |
| AscDisableInterrupt |
|
1 |
6 |
35 |
2 |
| AscEnableInterrupt |
|
1 |
6 |
33 |
2 |
| AscGetChipIRQ |
|
7 |
22 |
134 |
3 |
| AscSetChipIRQ |
|
7 |
32 |
209 |
4 |
| AscAckInterrupt |
|
5 |
24 |
140 |
2 |
| AscGetMaxDmaCount |
|
3 |
8 |
39 |
1 |
| AscGetIsaDmaChannel |
|
3 |
10 |
54 |
2 |
| AscSetIsaDmaChannel |
|
4 |
17 |
91 |
3 |
| AscGetIsaDmaSpeed |
|
1 |
9 |
49 |
2 |
| AscSetIsaDmaSpeed |
|
1 |
9 |
54 |
3 |
| AscHandleExtMsgIn |
|
15 |
79 |
521 |
6 |
| AscMsgOutSDTR |
|
2 |
24 |
161 |
3 |
| AscSetChipSDTR |
|
1 |
6 |
40 |
4 |
| AscCalSDTRData |
|
2 |
10 |
62 |
3 |
| AscGetSynPeriodIndex |
|
4 |
18 |
101 |
2 |
| AscExeScsiQueue |
|
41 |
131 |
872 |
2 |
| AscSendScsiQueue |
|
4 |
28 |
172 |
3 |
| AscPutReadySgListQueue |
|
7 |
69 |
426 |
3 |
| AscPutReadyQueue |
|
4 |
30 |
258 |
3 |
| AscPutSCSIQ |
|
1 |
33 |
332 |
4 |
| AscSgListToQueue |
|
2 |
8 |
46 |
1 |
| AscGetNumOfFreeQueue |
|
6 |
22 |
119 |
3 |
| AscAllocFreeQueue |
|
3 |
13 |
83 |
3 |
| AscAllocMultipleFreeQueue |
|
3 |
11 |
58 |
4 |
| AscStopQueueExe |
|
4 |
14 |
80 |
2 |
| AscStartQueueExe |
|
2 |
5 |
34 |
2 |
| AscCleanUpBusyQueue |
|
4 |
14 |
83 |
2 |
| _AscWaitQDone |
|
4 |
15 |
96 |
3 |
| AscCleanUpDiscQueue |
|
4 |
16 |
90 |
2 |
| AscAbortCCB |
|
3 |
23 |
122 |
2 |
| AscRiscHaltedAbortCCB |
|
6 |
36 |
248 |
2 |
| AscRiscHaltedAbortTIX |
|
6 |
32 |
221 |
2 |
| AscResetDevice |
|
7 |
61 |
404 |
2 |
| AscResetBus |
|
5 |
29 |
199 |
1 |
| AscSetLibErrorCode |
|
1 |
6 |
31 |
2 |
| AscInquiryHandling |
|
10 |
35 |
249 |
3 |
| AscTagQueuingSafe |
|
4 |
9 |
56 |
1 |
| AscAsyncFix |
|
19 |
43 |
312 |
3 |
| AscCompareString |
|
3 |
11 |
69 |
3 |
| DvcEnterCritical |
|
1 |
6 |
20 |
1 |
| DvcLeaveCritical |
|
1 |
4 |
12 |
1 |
| DvcSleepMilliSecond |
|
1 |
4 |
14 |
1 |
| DvcDelayMicroSecond |
|
1 |
4 |
12 |
1 |
| DvcDelayNanoSecond |
|
1 |
4 |
18 |
1 |
| Source file: ./sys/dev/ic/am7990var.h |
| Source file: ./sys/dev/ic/ad1848reg.h |
| Source file: ./sys/dev/ic/elink3reg.h |
| Source file: ./sys/dev/ic/ath.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ath_activate |
|
7 |
22 |
118 |
2 |
| ath_enable |
|
4 |
12 |
69 |
1 |
| ath_disable |
|
3 |
8 |
43 |
1 |
| ath_attach |
|
20 |
164 |
1147 |
2 |
| ath_detach |
|
3 |
22 |
144 |
2 |
| ath_intr |
|
1 |
4 |
19 |
1 |
| ath_intr1 |
|
13 |
57 |
368 |
1 |
| ath_fatal_proc |
|
2 |
9 |
62 |
2 |
| ath_rxorn_proc |
|
2 |
9 |
62 |
2 |
| ath_bmiss_proc |
|
3 |
11 |
71 |
2 |
| ath_chan2flags |
|
5 |
17 |
69 |
2 |
| ath_init |
|
1 |
4 |
22 |
1 |
| ath_init1 |
|
8 |
58 |
381 |
1 |
| ath_stop |
|
5 |
30 |
182 |
1 |
| ath_reset |
|
5 |
29 |
195 |
2 |
| ath_start |
|
16 |
85 |
527 |
1 |
| ath_media_change |
|
3 |
12 |
59 |
1 |
| ath_watchdog |
|
5 |
18 |
102 |
1 |
| ath_ioctl |
|
17 |
55 |
307 |
3 |
| ath_initkeytable |
|
9 |
34 |
226 |
1 |
| ath_mcastfilter_accum |
|
1 |
11 |
115 |
2 |
| ath_mcastfilter_compute |
|
3 |
18 |
131 |
2 |
| ath_calcrxfilter |
|
4 |
16 |
97 |
1 |
| ath_mode_init |
|
1 |
13 |
103 |
1 |
| ath_getmbuf |
|
6 |
19 |
116 |
3 |
| ath_beacon_alloc |
|
10 |
81 |
503 |
2 |
| ath_beacon_proc |
|
6 |
25 |
204 |
2 |
| ath_beacon_free |
|
2 |
10 |
58 |
1 |
| ath_beacon_config |
|
13 |
69 |
439 |
1 |
| ath_desc_alloc |
|
15 |
106 |
878 |
1 |
| ath_desc_free |
|
3 |
32 |
255 |
1 |
| ath_node_alloc |
|
3 |
13 |
82 |
1 |
| ath_node_free |
|
2 |
10 |
69 |
2 |
| ath_node_copy |
|
1 |
8 |
72 |
3 |
| ath_node_getrssi |
|
6 |
25 |
154 |
2 |
| ath_rxbuf_init |
|
6 |
46 |
289 |
2 |
| ath_rx_proc |
|
26 |
126 |
927 |
2 |
| ath_tx_start |
|
47 |
263 |
1859 |
4 |
| ath_tx_proc |
|
13 |
70 |
480 |
2 |
| ath_draintxq |
|
8 |
50 |
338 |
1 |
| ath_stoprecv |
|
4 |
19 |
129 |
1 |
| ath_startrecv |
|
2 |
21 |
113 |
1 |
| ath_chan_set |
|
6 |
43 |
291 |
2 |
| ath_next_scan |
|
2 |
11 |
62 |
1 |
| ath_set_slot_time |
|
2 |
8 |
51 |
1 |
| ath_calibrate |
|
3 |
28 |
177 |
1 |
| ath_ledstate |
|
7 |
28 |
115 |
2 |
| ath_newstate |
|
19 |
79 |
531 |
3 |
| ath_recv_mgmt |
|
6 |
21 |
133 |
5 |
| ath_newassoc |
|
2 |
5 |
27 |
3 |
| ath_getchannels |
|
7 |
51 |
356 |
3 |
| ath_rate_setup |
|
7 |
39 |
233 |
2 |
| ath_setcurmode |
|
4 |
21 |
203 |
2 |
| ath_rssadapt_updatenode |
|
1 |
5 |
31 |
2 |
| ath_rssadapt_updatestats |
|
2 |
11 |
71 |
1 |
| ath_printrxbuf |
|
4 |
13 |
115 |
2 |
| ath_printtxbuf |
|
4 |
14 |
130 |
2 |
| ath_gpio_attach |
|
10 |
34 |
252 |
2 |
| ath_gpio_pin_read |
|
2 |
6 |
41 |
2 |
| ath_gpio_pin_write |
|
2 |
6 |
43 |
3 |
| ath_gpio_pin_ctl |
|
3 |
10 |
61 |
3 |
| Source file: ./sys/dev/ic/aic6360reg.h |
| Source file: ./sys/dev/ic/anvar.h |
| Source file: ./sys/dev/ic/apcdmareg.h |
| Source file: ./sys/dev/ic/tcic2reg.h |
| Source file: ./sys/dev/ic/ar5212reg.h |
| Source file: ./sys/dev/ic/pgtvar.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pgt_queue_is_rx |
|
3 |
6 |
23 |
1 |
| pgt_queue_is_tx |
|
3 |
6 |
23 |
1 |
| pgt_queue_is_data |
|
4 |
7 |
27 |
1 |
| pgt_queue_is_mgmt |
|
2 |
5 |
19 |
1 |
| Source file: ./sys/dev/ic/mpireg.h |
| Source file: ./sys/dev/ic/i82586reg.h |
| Source file: ./sys/dev/ic/am7930var.h |
| Source file: ./sys/dev/ic/adv.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| adv_alloc_ccbs |
|
5 |
35 |
251 |
1 |
| adv_create_ccbs |
|
3 |
18 |
105 |
3 |
| adv_ccb_free |
|
1 |
10 |
60 |
2 |
| adv_reset_ccb |
|
1 |
5 |
16 |
1 |
| adv_init_ccb |
|
2 |
17 |
91 |
2 |
| adv_ccb_alloc |
|
2 |
14 |
75 |
1 |
| adv_queue_ccb |
|
1 |
8 |
47 |
2 |
| adv_start_ccbs |
|
5 |
22 |
157 |
1 |
| adv_alloc_overrunbuf |
|
6 |
42 |
277 |
2 |
| adv_init |
|
15 |
60 |
265 |
1 |
| adv_attach |
|
8 |
49 |
296 |
1 |
| advminphys |
|
2 |
6 |
49 |
2 |
| adv_scsi_cmd |
|
13 |
81 |
649 |
1 |
| adv_intr |
|
5 |
15 |
64 |
1 |
| adv_poll |
|
3 |
17 |
73 |
3 |
| adv_timeout |
|
3 |
27 |
152 |
1 |
| adv_watchdog |
|
1 |
13 |
67 |
1 |
| adv_narrow_isr_callback |
|
15 |
68 |
391 |
2 |
| Source file: ./sys/dev/ic/siop_common.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| siop_common_attach |
|
22 |
77 |
590 |
1 |
| siop_common_reset |
|
10 |
67 |
626 |
1 |
| siop_setuptables |
|
22 |
74 |
634 |
1 |
| siop_wdtr_neg |
|
10 |
65 |
482 |
1 |
| siop_ppr_neg |
|
13 |
97 |
731 |
1 |
| siop_sdtr_neg |
|
25 |
114 |
916 |
1 |
| siop_sdtr_msg |
|
1 |
13 |
111 |
4 |
| siop_wdtr_msg |
|
1 |
12 |
94 |
3 |
| siop_ppr_msg |
|
1 |
16 |
150 |
4 |
| siop_minphys |
|
2 |
6 |
33 |
2 |
| siop_ma |
|
14 |
55 |
396 |
1 |
| siop_sdp |
|
6 |
29 |
201 |
2 |
| siop_update_resid |
|
4 |
19 |
128 |
2 |
| siop_iwr |
|
5 |
30 |
194 |
1 |
| siop_clearfifo |
|
4 |
20 |
126 |
1 |
| siop_modechange |
|
6 |
44 |
257 |
1 |
| siop_resetbus |
|
1 |
10 |
66 |
1 |
| siop_update_xfer_mode |
|
15 |
50 |
232 |
2 |
| Source file: ./sys/dev/ic/bwireg.h |
| Source file: ./sys/dev/ic/m41t8xreg.h |
| Source file: ./sys/dev/ic/rtsxvar.h |
| Source file: ./sys/dev/ic/wd33c93.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wd33c93_attach |
|
6 |
31 |
248 |
2 |
| wd33c93_init |
|
7 |
33 |
219 |
1 |
| wd33c93_reset |
|
15 |
72 |
513 |
1 |
| wd33c93_error |
|
2 |
9 |
50 |
2 |
| wd33c93_stp2syn |
|
8 |
18 |
152 |
2 |
| wd33c93_setsync |
|
2 |
10 |
64 |
2 |
| wd33c93_dmaok |
|
5 |
7 |
48 |
2 |
| wd33c93_dma_setup |
|
2 |
14 |
85 |
2 |
| wd33c93_dma_stop |
|
7 |
35 |
218 |
1 |
| wd33c93_scsi_cmd |
|
17 |
62 |
410 |
1 |
| wd33c93_sched |
|
31 |
104 |
648 |
1 |
| wd33c93_scsidone |
|
14 |
46 |
313 |
3 |
| wd33c93_dequeue |
|
10 |
23 |
185 |
2 |
| wd33c93_wait |
|
6 |
21 |
108 |
4 |
| wd33c93_abort |
|
9 |
52 |
330 |
3 |
| wd33c93_selectbus |
|
21 |
111 |
783 |
2 |
| wd33c93_xfout |
|
6 |
27 |
206 |
3 |
| wd33c93_xfin |
|
6 |
30 |
208 |
3 |
| wd33c93_xferdone |
|
5 |
27 |
169 |
1 |
| wd33c93_loop |
|
6 |
18 |
114 |
3 |
| wd33c93_go |
|
6 |
40 |
273 |
2 |
| wd33c93_intr |
|
2 |
13 |
82 |
1 |
| wd33c93_poll |
|
6 |
35 |
197 |
2 |
| __verify_msg_format |
|
8 |
11 |
74 |
2 |
| wd33c93_msgin_phase |
|
4 |
29 |
198 |
2 |
| wd33c93_msgin |
|
34 |
164 |
955 |
3 |
| wd33c93_sched_msgout |
|
2 |
15 |
87 |
2 |
| wd33c93_msgout |
|
19 |
77 |
478 |
1 |
| wd33c93_nextstate |
|
50 |
164 |
968 |
4 |
| wd33c93_reselect |
|
11 |
56 |
377 |
5 |
| wd33c93_timeout |
|
2 |
22 |
152 |
1 |
| wd33c93_watchdog |
|
7 |
22 |
157 |
1 |
| wd33c93_io_get |
|
1 |
4 |
19 |
1 |
| wd33c93_io_put |
|
1 |
4 |
20 |
2 |
| wd33c93_hexdump |
|
2 |
7 |
37 |
2 |
| wd33c93_print_csr |
|
13 |
46 |
153 |
1 |
| Source file: ./sys/dev/ic/siopvar_common.h |
| Source file: ./sys/dev/ic/pcf8584.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pcfiic_init |
|
1 |
9 |
65 |
1 |
| pcfiic_attach |
|
3 |
31 |
217 |
6 |
| pcfiic_intr |
|
1 |
4 |
13 |
1 |
| pcfiic_i2c_acquire_bus |
|
4 |
7 |
52 |
2 |
| pcfiic_i2c_release_bus |
|
4 |
7 |
42 |
2 |
| pcfiic_i2c_exec |
|
9 |
22 |
172 |
8 |
| pcfiic_xmit |
|
6 |
24 |
155 |
4 |
| pcfiic_recv |
|
9 |
28 |
210 |
4 |
| pcfiic_read |
|
1 |
6 |
55 |
2 |
| pcfiic_write |
|
1 |
7 |
72 |
3 |
| pcfiic_choose_bus |
|
1 |
6 |
44 |
2 |
| pcfiic_wait_nBB |
|
3 |
10 |
53 |
1 |
| pcfiic_wait_pin |
|
3 |
11 |
68 |
2 |
| Source file: ./sys/dev/ic/lance.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ether_cmp |
|
2 |
11 |
108 |
2 |
| lance_config |
|
11 |
67 |
441 |
1 |
| lance_reset |
|
1 |
7 |
28 |
1 |
| lance_stop |
|
1 |
5 |
35 |
2 |
| lance_init |
|
6 |
32 |
275 |
1 |
| lance_put |
|
4 |
21 |
133 |
3 |
| lance_get |
|
8 |
41 |
245 |
3 |
| lance_read |
|
10 |
31 |
211 |
3 |
| lance_watchdog |
|
1 |
7 |
41 |
1 |
| lance_mediachange |
|
2 |
7 |
42 |
1 |
| lance_mediastatus |
|
4 |
11 |
73 |
2 |
| lance_ioctl |
|
13 |
46 |
243 |
3 |
| lance_setladrf |
|
4 |
22 |
169 |
2 |
| lance_copytobuf_contig |
|
1 |
5 |
38 |
4 |
| lance_copyfrombuf_contig |
|
1 |
5 |
38 |
4 |
| lance_zerobuf_contig |
|
1 |
5 |
34 |
3 |
| lance_copytobuf_gap2 |
|
4 |
21 |
161 |
4 |
| lance_copyfrombuf_gap2 |
|
4 |
23 |
158 |
4 |
| lance_zerobuf_gap2 |
|
3 |
17 |
105 |
3 |
| lance_copytobuf_gap16 |
|
2 |
18 |
115 |
4 |
| lance_copyfrombuf_gap16 |
|
2 |
18 |
115 |
4 |
| lance_zerobuf_gap16 |
|
2 |
16 |
101 |
3 |
| Source file: ./sys/dev/ic/lpt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| lpt_port_test |
|
3 |
16 |
102 |
6 |
| lpt_attach_common |
|
1 |
6 |
41 |
1 |
| lpt_detach_common |
|
2 |
8 |
38 |
1 |
| lptopen |
|
15 |
56 |
393 |
4 |
| lpt_not_ready |
|
4 |
14 |
101 |
2 |
| lptwakeup |
|
2 |
10 |
52 |
1 |
| lptclose |
|
3 |
17 |
137 |
4 |
| lptpushbytes |
|
16 |
60 |
350 |
1 |
| lptwrite |
|
4 |
19 |
124 |
3 |
| lptintr |
|
8 |
25 |
172 |
1 |
| lpt_activate |
|
7 |
34 |
194 |
2 |
| Source file: ./sys/dev/ic/rt2860reg.h |
| Source file: ./sys/dev/ic/wdcevent.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| WDC_LOG_STATUS |
|
2 |
7 |
40 |
2 |
| WDC_LOG_ERROR |
|
1 |
4 |
24 |
2 |
| WDC_LOG_ATAPI_CMD |
|
1 |
8 |
75 |
5 |
| WDC_LOG_ATAPI_DONE |
|
1 |
5 |
48 |
4 |
| WDC_LOG_ATA_CMDSHORT |
|
1 |
3 |
24 |
2 |
| WDC_LOG_ATA_CMDLONG |
|
1 |
7 |
63 |
8 |
| WDC_LOG_SET_DRIVE |
|
2 |
5 |
27 |
2 |
| WDC_LOG_REG |
|
1 |
8 |
61 |
3 |
| WDC_LOG_ATA_CMDEXT |
|
1 |
8 |
73 |
10 |
| Source file: ./sys/dev/ic/ar9380reg.h |
| Source file: ./sys/dev/ic/ibm525reg.h |
| Source file: ./sys/dev/ic/p9000.h |
| Source file: ./sys/dev/ic/bwfmreg.h |
| Source file: ./sys/dev/ic/ibm561reg.h |
| Source file: ./sys/dev/ic/osiop.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| osiop_attach |
|
12 |
118 |
909 |
1 |
| osiop_minphys |
|
2 |
6 |
33 |
2 |
| osiop_io_get |
|
2 |
11 |
69 |
1 |
| osiop_io_put |
|
1 |
8 |
54 |
2 |
| osiop_scsicmd |
|
12 |
52 |
358 |
1 |
| osiop_poll |
|
11 |
59 |
358 |
2 |
| osiop_sched |
|
12 |
39 |
258 |
1 |
| osiop_scsidone |
|
29 |
126 |
836 |
2 |
| osiop_abort |
|
2 |
16 |
86 |
2 |
| osiop_init |
|
13 |
45 |
355 |
1 |
| osiop_reset |
|
11 |
69 |
512 |
1 |
| osiop_resetbus |
|
1 |
10 |
57 |
1 |
| osiop_start |
|
22 |
97 |
751 |
1 |
| osiop_checkintr |
|
141 |
495 |
3477 |
5 |
| osiop_select |
|
11 |
27 |
200 |
1 |
| osiop_intr |
|
16 |
60 |
415 |
1 |
| osiop_update_xfer_mode |
|
15 |
43 |
192 |
2 |
| scsi_period_to_osiop |
|
16 |
47 |
319 |
2 |
| osiop_timeout |
|
1 |
16 |
87 |
1 |
| osiop_dump_trace |
|
2 |
12 |
77 |
1 |
| osiop_dump_acb |
|
3 |
23 |
151 |
1 |
| osiop_dump |
|
11 |
46 |
285 |
1 |
| Source file: ./sys/dev/ic/z8530reg.h |
| Source file: ./sys/dev/ic/bwfm.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bwfm_attach |
|
14 |
96 |
658 |
1 |
| bwfm_detach |
|
1 |
10 |
64 |
2 |
| bwfm_start |
|
9 |
31 |
189 |
1 |
| bwfm_init |
|
10 |
69 |
516 |
1 |
| bwfm_stop |
|
1 |
13 |
88 |
1 |
| bwfm_watchdog |
|
3 |
14 |
73 |
1 |
| bwfm_ioctl |
|
8 |
30 |
155 |
3 |
| bwfm_media_change |
|
3 |
13 |
63 |
1 |
| bwfm_chip_attach |
|
22 |
96 |
626 |
1 |
| bwfm_chip_get_core |
|
2 |
9 |
46 |
2 |
| bwfm_chip_get_pmu |
|
4 |
12 |
63 |
1 |
| bwfm_chip_ai_isup |
|
3 |
13 |
85 |
2 |
| bwfm_chip_ai_disable |
|
5 |
32 |
201 |
4 |
| bwfm_chip_ai_reset |
|
4 |
22 |
149 |
5 |
| bwfm_chip_dmp_erom_scan |
|
7 |
42 |
264 |
1 |
| bwfm_chip_dmp_get_regaddr |
|
16 |
53 |
315 |
4 |
| bwfm_chip_cr4_set_passive |
|
1 |
4 |
19 |
1 |
| bwfm_chip_ca7_set_passive |
|
1 |
4 |
19 |
1 |
| bwfm_chip_cm3_set_passive |
|
2 |
18 |
138 |
1 |
| bwfm_proto_bcdc_query_dcmd |
|
10 |
52 |
437 |
5 |
| bwfm_proto_bcdc_set_dcmd |
|
7 |
43 |
379 |
5 |
| bwfm_fwvar_cmd_get_data |
|
1 |
4 |
38 |
4 |
| bwfm_fwvar_cmd_set_data |
|
1 |
4 |
37 |
4 |
| bwfm_fwvar_cmd_get_int |
|
1 |
7 |
48 |
3 |
| bwfm_fwvar_cmd_set_int |
|
1 |
5 |
38 |
3 |
| bwfm_fwvar_var_get_data |
|
1 |
13 |
123 |
4 |
| bwfm_fwvar_var_set_data |
|
1 |
12 |
114 |
4 |
| bwfm_fwvar_var_get_int |
|
1 |
7 |
49 |
3 |
| bwfm_fwvar_var_set_int |
|
1 |
5 |
39 |
3 |
| bwfm_connect |
|
18 |
66 |
541 |
1 |
| bwfm_scan |
|
3 |
33 |
281 |
1 |
| bwfm_rx |
|
14 |
40 |
309 |
3 |
| bwfm_rx_event |
|
16 |
62 |
471 |
3 |
| bwfm_scan_node |
|
6 |
48 |
403 |
3 |
| bwfm_task |
|
2 |
17 |
109 |
1 |
| bwfm_do_async |
|
1 |
15 |
126 |
4 |
| bwfm_send_mgmt |
|
2 |
7 |
49 |
5 |
| bwfm_set_key |
|
1 |
10 |
62 |
3 |
| bwfm_set_key_cb |
|
11 |
47 |
313 |
2 |
| bwfm_delete_key |
|
1 |
9 |
59 |
3 |
| bwfm_delete_key_cb |
|
1 |
10 |
81 |
2 |
| bwfm_newstate |
|
1 |
9 |
59 |
3 |
| bwfm_newstate_cb |
|
4 |
33 |
172 |
2 |
| Source file: ./sys/dev/ic/mc146818reg.h |
| Source file: ./sys/dev/ic/am7990reg.h |
| Source file: ./sys/dev/ic/bt458reg.h |
| Source file: ./sys/dev/ic/aic79xx_openbsd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ahd_attach |
|
4 |
28 |
216 |
1 |
| ahd_platform_intr |
|
1 |
6 |
28 |
1 |
| ahd_done |
|
20 |
72 |
415 |
2 |
| ahd_minphys |
|
2 |
7 |
51 |
2 |
| ahd_action |
|
3 |
47 |
333 |
1 |
| ahd_execute_scb |
|
18 |
98 |
698 |
3 |
| ahd_poll |
|
4 |
14 |
74 |
2 |
| ahd_setup_data |
|
7 |
37 |
221 |
3 |
| ahd_platform_set_tags |
|
2 |
11 |
65 |
3 |
| ahd_platform_alloc |
|
3 |
10 |
62 |
2 |
| ahd_platform_free |
|
2 |
5 |
30 |
1 |
| ahd_softc_comp |
|
1 |
4 |
19 |
2 |
| ahd_detach |
|
2 |
9 |
60 |
2 |
| ahd_adapter_req_set_xfer_mode |
|
12 |
56 |
416 |
2 |
| aic_timer_reset |
|
1 |
9 |
45 |
4 |
| aic_scb_timer_reset |
|
2 |
9 |
56 |
2 |
| ahd_flush_device_writes |
|
1 |
4 |
16 |
1 |
| aic_platform_scb_free |
|
3 |
12 |
70 |
2 |
| ahd_print_path |
|
1 |
4 |
23 |
2 |
| ahd_platform_dump_card_state |
|
1 |
5 |
30 |
1 |
| ahd_platform_flushwork |
|
1 |
3 |
9 |
1 |
| Source file: ./sys/dev/ic/bt463var.h |
| Source file: ./sys/dev/ic/ncr5380reg.h |
| Source file: ./sys/dev/ic/vgareg.h |
| Source file: ./sys/dev/ic/trm.h |
| Source file: ./sys/dev/ic/qlavar.h |
| Source file: ./sys/dev/ic/i82596var.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ie_ack |
|
1 |
8 |
70 |
2 |
| Source file: ./sys/dev/ic/r92creg.h |
| Source file: ./sys/dev/ic/rf3000reg.h |
| Source file: ./sys/dev/ic/ar5211reg.h |
| Source file: ./sys/dev/ic/malo.h |
| Source file: ./sys/dev/ic/dwc_gmac.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dwc_gmac_attach |
|
8 |
80 |
611 |
3 |
| dwc_gmac_ifmedia_upd |
|
2 |
13 |
72 |
1 |
| dwc_gmac_ifmedia_sts |
|
1 |
8 |
54 |
2 |
| dwc_gmac_reset |
|
3 |
14 |
98 |
1 |
| dwc_gmac_write_hwaddr |
|
1 |
9 |
102 |
2 |
| dwc_gmac_miibus_read_reg |
|
3 |
25 |
171 |
3 |
| dwc_gmac_miibus_write_reg |
|
3 |
21 |
166 |
4 |
| dwc_gmac_alloc_rx_ring |
|
6 |
63 |
434 |
2 |
| dwc_gmac_reset_rx_ring |
|
2 |
19 |
132 |
2 |
| dwc_gmac_alloc_dma_rings |
|
5 |
41 |
301 |
1 |
| dwc_gmac_free_dma_rings |
|
1 |
9 |
79 |
1 |
| dwc_gmac_free_rx_ring |
|
4 |
19 |
119 |
2 |
| dwc_gmac_alloc_tx_ring |
|
3 |
31 |
205 |
2 |
| dwc_gmac_txdesc_sync |
|
2 |
18 |
112 |
4 |
| dwc_gmac_reset_tx_ring |
|
3 |
24 |
163 |
2 |
| dwc_gmac_free_tx_ring |
|
4 |
20 |
139 |
2 |
| dwc_gmac_miibus_statchg |
|
9 |
46 |
231 |
1 |
| dwc_gmac_init |
|
1 |
21 |
144 |
1 |
| dwc_gmac_start |
|
11 |
33 |
220 |
1 |
| dwc_gmac_stop |
|
1 |
18 |
123 |
2 |
| dwc_gmac_queue |
|
6 |
52 |
404 |
2 |
| bitrev32 |
|
1 |
8 |
126 |
1 |
| dwc_gmac_iff |
|
7 |
41 |
281 |
1 |
| dwc_gmac_ioctl |
|
11 |
38 |
210 |
3 |
| dwc_gmac_tx_intr |
|
7 |
34 |
258 |
1 |
| dwc_gmac_rx_intr |
|
12 |
88 |
593 |
1 |
| dwc_gmac_intr |
|
9 |
30 |
189 |
1 |
| dwc_gmac_dump_dma |
|
1 |
27 |
297 |
1 |
| dwc_gmac_dump_tx_desc |
|
2 |
17 |
132 |
1 |
| dwc_gmac_dump_rx_desc |
|
2 |
16 |
126 |
1 |
| dwc_dump_status |
|
1 |
27 |
107 |
1 |
| dwc_dump_and_abort |
|
1 |
10 |
59 |
2 |
| dwc_gmac_dump_ffilt |
|
1 |
17 |
66 |
2 |
| Source file: ./sys/dev/ic/ar5212var.h |
| Source file: ./sys/dev/ic/ami.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ami_get_ccb |
|
2 |
13 |
77 |
1 |
| ami_put_ccb |
|
1 |
12 |
78 |
2 |
| ami_read |
|
1 |
9 |
65 |
2 |
| ami_write |
|
1 |
7 |
60 |
3 |
| ami_allocmem |
|
6 |
31 |
244 |
2 |
| ami_freemem |
|
1 |
8 |
76 |
2 |
| ami_copyhds |
|
2 |
12 |
111 |
4 |
| ami_alloc_ccbs |
|
7 |
58 |
427 |
2 |
| ami_attach |
|
31 |
187 |
1501 |
1 |
| ami_quartz_init |
|
1 |
5 |
23 |
1 |
| ami_quartz_exec |
|
2 |
15 |
125 |
2 |
| ami_quartz_done |
|
9 |
46 |
395 |
2 |
| ami_quartz_poll |
|
15 |
70 |
464 |
2 |
| ami_schwartz_init |
|
1 |
10 |
97 |
1 |
| ami_schwartz_exec |
|
2 |
14 |
107 |
2 |
| ami_schwartz_done |
|
5 |
19 |
136 |
2 |
| ami_schwartz_poll |
|
11 |
57 |
402 |
2 |
| ami_start_xs |
|
2 |
7 |
46 |
3 |
| ami_start |
|
1 |
8 |
53 |
2 |
| ami_runqueue_tick |
|
1 |
4 |
13 |
1 |
| ami_runqueue |
|
5 |
20 |
130 |
1 |
| ami_poll |
|
2 |
11 |
74 |
2 |
| ami_complete |
|
7 |
42 |
239 |
3 |
| ami_done_pt |
|
9 |
31 |
232 |
2 |
| ami_done_xs |
|
4 |
18 |
128 |
2 |
| ami_done_flush |
|
2 |
14 |
83 |
2 |
| ami_done_sysflush |
|
2 |
8 |
48 |
2 |
| ami_done_dummy |
|
1 |
3 |
14 |
2 |
| ami_done_ioctl |
|
1 |
4 |
19 |
2 |
| ami_done_init |
|
1 |
3 |
14 |
2 |
| amiminphys |
|
2 |
6 |
33 |
2 |
| ami_copy_internal_data |
|
2 |
11 |
65 |
3 |
| ami_scsi_raw_cmd |
|
3 |
41 |
334 |
1 |
| ami_load_ptmem |
|
8 |
38 |
280 |
6 |
| ami_scsi_cmd |
|
31 |
162 |
1173 |
1 |
| ami_intr |
|
7 |
31 |
240 |
1 |
| ami_scsi_ioctl |
|
2 |
8 |
60 |
4 |
| ami_ioctl |
|
7 |
34 |
225 |
3 |
| ami_drv_pt |
|
6 |
47 |
339 |
7 |
| ami_drv_inq |
|
4 |
24 |
168 |
5 |
| ami_drv_readcap |
|
6 |
35 |
263 |
4 |
| ami_mgmt |
|
17 |
80 |
493 |
7 |
| ami_ioctl_inq |
|
17 |
77 |
613 |
2 |
| ami_vol |
|
6 |
28 |
190 |
3 |
| ami_disk |
|
11 |
57 |
472 |
3 |
| ami_ioctl_vol |
|
23 |
88 |
726 |
2 |
| ami_ioctl_disk |
|
15 |
91 |
709 |
2 |
| ami_ioctl_alarm |
|
8 |
34 |
156 |
2 |
| ami_ioctl_setstate |
|
6 |
33 |
177 |
2 |
| ami_create_sensors |
|
9 |
45 |
362 |
1 |
| ami_refresh_sensors |
|
7 |
32 |
225 |
1 |
| ami_print_mbox |
|
2 |
13 |
89 |
1 |
| Source file: ./sys/dev/ic/ar9285.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ar9285_attach |
|
5 |
22 |
162 |
1 |
| ar9285_setup |
|
7 |
24 |
132 |
1 |
| ar9285_swap_rom |
|
2 |
13 |
91 |
1 |
| ar9285_get_spur_chans |
|
1 |
6 |
36 |
2 |
| ar9285_init_from_rom |
|
12 |
180 |
1834 |
3 |
| ar9285_pa_calib |
|
8 |
75 |
567 |
1 |
| ar9271_pa_calib |
|
6 |
58 |
461 |
1 |
| ar9285_cl_cal |
|
9 |
42 |
280 |
3 |
| ar9271_load_ani |
|
2 |
12 |
86 |
1 |
| ar9285_init_calib |
|
10 |
44 |
335 |
3 |
| ar9285_get_pdadcs |
|
2 |
25 |
229 |
6 |
| ar9285_set_power_calib |
|
6 |
43 |
360 |
2 |
| ar9285_set_txpower |
|
8 |
68 |
521 |
3 |
| Source file: ./sys/dev/ic/fxp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fxp_lwcopy |
|
1 |
7 |
56 |
2 |
| fxp_scb_wait |
|
4 |
8 |
52 |
1 |
| fxp_eeprom_shiftin |
|
3 |
17 |
104 |
3 |
| fxp_eeprom_putword |
|
3 |
29 |
226 |
3 |
| fxp_write_eeprom |
|
2 |
6 |
49 |
4 |
| fxp_activate |
|
5 |
21 |
114 |
2 |
| fxp_wakeup |
|
1 |
7 |
32 |
1 |
| fxp_attach |
|
21 |
152 |
1312 |
2 |
| fxp_autosize_eeprom |
|
5 |
32 |
199 |
1 |
| fxp_read_eeprom |
|
8 |
50 |
335 |
4 |
| fxp_start |
|
14 |
74 |
483 |
1 |
| fxp_intr |
|
20 |
112 |
674 |
1 |
| fxp_stats_update |
|
7 |
46 |
291 |
1 |
| fxp_detach |
|
3 |
12 |
97 |
1 |
| fxp_stop |
|
9 |
43 |
288 |
3 |
| fxp_watchdog |
|
1 |
7 |
41 |
1 |
| fxp_scb_cmd |
|
1 |
4 |
21 |
2 |
| fxp_init |
|
30 |
194 |
1443 |
1 |
| fxp_mediachange |
|
2 |
12 |
70 |
1 |
| fxp_mediastatus |
|
1 |
7 |
51 |
2 |
| fxp_add_rfabuf |
|
8 |
71 |
595 |
2 |
| fxp_mdi_read |
|
4 |
14 |
114 |
3 |
| fxp_statchg |
|
1 |
3 |
9 |
1 |
| fxp_mdi_write |
|
4 |
13 |
109 |
4 |
| fxp_ioctl |
|
11 |
38 |
214 |
3 |
| fxp_mc_setup |
|
12 |
52 |
390 |
2 |
| fxp_load_ucode |
|
19 |
70 |
509 |
1 |
| Source file: ./sys/dev/ic/mk48txxreg.h |
| Source file: ./sys/dev/ic/silivar.h |
| Source file: ./sys/dev/ic/qla.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| qla_classify_port |
|
12 |
39 |
225 |
5 |
| qla_get_loop_id |
|
5 |
18 |
88 |
2 |
| qla_get_port_db |
|
3 |
21 |
169 |
3 |
| qla_add_loop_port |
|
12 |
46 |
309 |
2 |
| qla_add_fabric_port |
|
5 |
25 |
216 |
2 |
| qla_add_logged_in_port |
|
7 |
52 |
345 |
3 |
| qla_attach |
|
36 |
219 |
1611 |
1 |
| qla_detach |
|
1 |
4 |
17 |
2 |
| qla_handle_resp |
|
21 |
115 |
624 |
2 |
| qla_handle_intr |
|
11 |
54 |
313 |
3 |
| qla_intr |
|
2 |
10 |
55 |
1 |
| qla_scsi_probe |
|
3 |
17 |
118 |
1 |
| qla_scsi_cmd |
|
18 |
99 |
706 |
1 |
| qla_read |
|
1 |
8 |
54 |
2 |
| qla_write |
|
1 |
6 |
49 |
3 |
| qla_read_mbox |
|
1 |
4 |
30 |
2 |
| qla_write_mbox |
|
1 |
4 |
32 |
3 |
| qla_host_cmd |
|
1 |
4 |
24 |
2 |
| qla_mbox |
|
13 |
51 |
334 |
2 |
| qla_mbox_putaddr |
|
1 |
7 |
81 |
2 |
| qla_sns_req |
|
1 |
22 |
211 |
3 |
| qla_set_ints |
|
2 |
5 |
34 |
2 |
| qla_read_isr_1G |
|
4 |
17 |
98 |
3 |
| qla_read_isr_2G |
|
8 |
28 |
145 |
3 |
| qla_clear_isr |
|
3 |
12 |
46 |
2 |
| qla_read_queue_2100 |
|
3 |
12 |
80 |
2 |
| qla_softreset |
|
5 |
38 |
274 |
1 |
| qla_update_topology |
|
10 |
41 |
213 |
1 |
| qla_update_fabric |
|
7 |
45 |
347 |
1 |
| qla_get_port_name_list |
|
10 |
59 |
378 |
2 |
| qla_next_fabric_port |
|
9 |
51 |
378 |
3 |
| qla_fabric_plogi |
|
8 |
56 |
371 |
2 |
| qla_fabric_plogo |
|
3 |
15 |
107 |
2 |
| qla_update_done |
|
1 |
4 |
22 |
2 |
| qla_update_start |
|
1 |
5 |
34 |
2 |
| qla_clear_port_lists |
|
4 |
18 |
141 |
1 |
| qla_do_update |
|
46 |
242 |
1433 |
1 |
| qla_async |
|
19 |
77 |
396 |
2 |
| qla_dump_iocb |
|
5 |
15 |
98 |
2 |
| qla_dump_iocb_segs |
|
5 |
15 |
110 |
3 |
| qla_put_marker |
|
1 |
11 |
63 |
2 |
| qla_put_data_seg |
|
1 |
7 |
67 |
3 |
| qla_put_cmd |
|
9 |
59 |
466 |
4 |
| qla_verify_firmware |
|
1 |
6 |
40 |
2 |
| qla_load_firmware_words |
|
3 |
15 |
101 |
3 |
| qla_load_firmware_2100 |
|
1 |
5 |
19 |
1 |
| qla_load_firmware_2200 |
|
1 |
5 |
19 |
1 |
| qla_load_fwchunk_2300 |
|
4 |
33 |
235 |
4 |
| qla_load_firmware_2300 |
|
1 |
10 |
58 |
1 |
| qla_load_firmware_2322 |
|
5 |
22 |
145 |
1 |
| qla_read_nvram |
|
15 |
61 |
478 |
1 |
| qla_dmamem_alloc |
|
6 |
31 |
248 |
2 |
| qla_dmamem_free |
|
1 |
8 |
78 |
2 |
| qla_alloc_ccbs |
|
8 |
69 |
492 |
1 |
| qla_free_ccbs |
|
2 |
11 |
84 |
1 |
| qla_get_ccb |
|
2 |
12 |
69 |
1 |
| qla_put_ccb |
|
1 |
9 |
60 |
2 |
| Source file: ./sys/dev/ic/lm700x.h |
| Source file: ./sys/dev/ic/hayespreg.h |
| Source file: ./sys/dev/ic/ax88190.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ax88190_media_init |
|
2 |
18 |
153 |
1 |
| ax88190_media_fini |
|
1 |
4 |
21 |
1 |
| ax88190_mediachange |
|
1 |
5 |
22 |
1 |
| ax88190_mediastatus |
|
1 |
6 |
42 |
2 |
| ax88190_init_card |
|
1 |
4 |
17 |
1 |
| ax88190_stop_card |
|
1 |
4 |
17 |
1 |
| ax88190_mii_bitbang_read |
|
1 |
6 |
38 |
1 |
| ax88190_mii_bitbang_write |
|
1 |
7 |
42 |
2 |
| ax88190_mii_readreg |
|
1 |
6 |
35 |
3 |
| ax88190_mii_writereg |
|
1 |
6 |
38 |
4 |
| ax88190_mii_statchg |
|
1 |
4 |
11 |
1 |
| Source file: ./sys/dev/ic/ar5008reg.h |
| Source file: ./sys/dev/ic/nvmevar.h |
| Source file: ./sys/dev/ic/athnvar.h |
| Source file: ./sys/dev/ic/rtwvar.h |
| Source file: ./sys/dev/ic/lptvar.h |
| Source file: ./sys/dev/ic/mpi.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mpi_dvatosge |
|
1 |
5 |
35 |
2 |
| mpi_attach |
|
30 |
142 |
929 |
1 |
| mpi_cfg_spi_port |
|
7 |
31 |
277 |
1 |
| mpi_squash_ppr |
|
5 |
26 |
193 |
1 |
| mpi_run_ppr |
|
14 |
70 |
472 |
1 |
| mpi_ppr |
|
36 |
157 |
1052 |
6 |
| mpi_inq |
|
5 |
47 |
346 |
3 |
| mpi_cfg_sas |
|
6 |
24 |
163 |
1 |
| mpi_cfg_fc |
|
6 |
33 |
259 |
1 |
| mpi_detach |
|
1 |
3 |
9 |
1 |
| mpi_intr |
|
3 |
13 |
72 |
1 |
| mpi_reply |
|
3 |
39 |
242 |
2 |
| mpi_dmamem_alloc |
|
6 |
34 |
273 |
2 |
| mpi_dmamem_free |
|
1 |
9 |
90 |
2 |
| mpi_alloc_ccbs |
|
6 |
54 |
397 |
1 |
| mpi_get_ccb |
|
2 |
14 |
89 |
1 |
| mpi_put_ccb |
|
3 |
15 |
110 |
2 |
| mpi_alloc_replies |
|
3 |
14 |
103 |
1 |
| mpi_push_reply |
|
1 |
6 |
45 |
2 |
| mpi_push_replies |
|
2 |
16 |
124 |
1 |
| mpi_start |
|
1 |
14 |
100 |
2 |
| mpi_poll |
|
4 |
30 |
163 |
3 |
| mpi_poll_done |
|
1 |
5 |
22 |
1 |
| mpi_wait |
|
2 |
14 |
99 |
2 |
| mpi_wait_done |
|
1 |
8 |
39 |
1 |
| mpi_scsi_cmd |
|
9 |
68 |
448 |
1 |
| mpi_scsi_cmd_done |
|
20 |
99 |
615 |
1 |
| mpi_timeout_xs |
|
1 |
3 |
8 |
1 |
| mpi_load_xs |
|
10 |
65 |
520 |
1 |
| mpi_minphys |
|
2 |
6 |
33 |
2 |
| mpi_scsi_probe_virtual |
|
6 |
25 |
175 |
1 |
| mpi_scsi_probe |
|
7 |
45 |
348 |
1 |
| mpi_read |
|
1 |
9 |
68 |
2 |
| mpi_write |
|
1 |
7 |
63 |
3 |
| mpi_wait_eq |
|
3 |
13 |
84 |
4 |
| mpi_wait_ne |
|
3 |
13 |
84 |
4 |
| mpi_init |
|
10 |
41 |
214 |
1 |
| mpi_reset_soft |
|
4 |
15 |
90 |
1 |
| mpi_reset_hard |
|
1 |
14 |
103 |
1 |
| mpi_handshake_send |
|
7 |
22 |
152 |
3 |
| mpi_handshake_recv_dword |
|
3 |
12 |
82 |
2 |
| mpi_handshake_recv |
|
7 |
24 |
183 |
3 |
| mpi_empty_done |
|
1 |
3 |
9 |
1 |
| mpi_iocfacts |
|
6 |
99 |
827 |
1 |
| mpi_iocinit |
|
4 |
45 |
361 |
1 |
| mpi_portfacts |
|
5 |
59 |
429 |
1 |
| mpi_cfg_coalescing |
|
5 |
33 |
255 |
1 |
| mpi_eventnotify |
|
2 |
23 |
139 |
1 |
| mpi_eventnotify_done |
|
9 |
44 |
301 |
1 |
| mpi_eventnotify_free |
|
2 |
11 |
75 |
2 |
| mpi_evt_sas |
|
9 |
39 |
220 |
2 |
| mpi_evt_sas_detach |
|
4 |
33 |
219 |
2 |
| mpi_evt_sas_detach_done |
|
2 |
14 |
92 |
1 |
| mpi_fc_rescan |
|
10 |
40 |
271 |
1 |
| mpi_eventack |
|
4 |
30 |
197 |
2 |
| mpi_eventack_done |
|
1 |
7 |
49 |
1 |
| mpi_portenable |
|
4 |
29 |
180 |
1 |
| mpi_fwupload |
|
7 |
50 |
351 |
1 |
| mpi_manufacturing |
|
5 |
26 |
189 |
1 |
| mpi_get_raid |
|
6 |
40 |
258 |
1 |
| mpi_req_cfg_header |
|
9 |
78 |
569 |
6 |
| mpi_req_cfg_page |
|
15 |
88 |
656 |
7 |
| mpi_scsi_ioctl |
|
5 |
19 |
119 |
4 |
| mpi_ioctl_cache |
|
14 |
81 |
502 |
3 |
| mpi_bio_get_pg0_raid |
|
7 |
42 |
283 |
2 |
| mpi_ioctl |
|
8 |
38 |
225 |
3 |
| mpi_ioctl_inq |
|
3 |
21 |
170 |
2 |
| mpi_ioctl_vol |
|
20 |
76 |
416 |
2 |
| mpi_ioctl_disk |
|
15 |
59 |
332 |
2 |
| mpi_ioctl_setstate |
|
1 |
4 |
19 |
2 |
| mpi_create_sensors |
|
10 |
44 |
339 |
1 |
| mpi_refresh_sensors |
|
11 |
45 |
280 |
1 |
| Source file: ./sys/dev/ic/qlareg.h |
| Source file: ./sys/dev/ic/rtl81x9reg.h |
| Source file: ./sys/dev/ic/ar5212.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ar5k_ar5212_fill |
|
2 |
98 |
861 |
1 |
| ar5k_ar5212_attach |
|
14 |
64 |
437 |
5 |
| ar5k_ar5212_nic_reset |
|
3 |
16 |
92 |
2 |
| ar5k_ar5212_nic_wakeup |
|
11 |
53 |
267 |
2 |
| ar5k_ar5212_radio_revision |
|
4 |
24 |
163 |
2 |
| ar5k_ar5212_get_rate_table |
|
6 |
17 |
77 |
2 |
| ar5k_ar5212_detach |
|
2 |
6 |
37 |
1 |
| ar5k_ar5212_phy_disable |
|
1 |
5 |
21 |
1 |
| ar5k_ar5212_reset |
|
43 |
254 |
1759 |
5 |
| ar5k_ar5212_set_def_antenna |
|
1 |
4 |
19 |
2 |
| ar5k_ar5212_get_def_antenna |
|
1 |
4 |
15 |
1 |
| ar5k_ar5212_set_opmode |
|
5 |
26 |
102 |
1 |
| ar5k_ar5212_calibrate |
|
6 |
33 |
217 |
2 |
| ar5k_ar5212_update_tx_triglevel |
|
3 |
20 |
105 |
2 |
| ar5k_ar5212_setup_tx_queue |
|
9 |
28 |
174 |
3 |
| ar5k_ar5212_setup_tx_queueprops |
|
5 |
14 |
106 |
3 |
| ar5k_ar5212_get_tx_queueprops |
|
1 |
7 |
52 |
3 |
| ar5k_ar5212_release_tx_queue |
|
1 |
7 |
50 |
2 |
| ar5k_ar5212_reset_tx_queue |
|
20 |
133 |
746 |
2 |
| ar5k_ar5212_get_tx_buf |
|
1 |
5 |
36 |
2 |
| ar5k_ar5212_put_tx_buf |
|
2 |
8 |
57 |
3 |
| ar5k_ar5212_num_tx_pending |
|
1 |
5 |
35 |
2 |
| ar5k_ar5212_tx_start |
|
2 |
8 |
51 |
2 |
| ar5k_ar5212_stop_tx_dma |
|
3 |
13 |
79 |
2 |
| ar5k_ar5212_setup_tx_desc |
|
7 |
46 |
266 |
13 |
| ar5k_ar5212_fill_tx_desc |
|
5 |
19 |
125 |
5 |
| ar5k_ar5212_setup_xtx_desc |
|
1 |
11 |
69 |
8 |
| ar5k_ar5212_proc_tx_desc |
|
11 |
71 |
405 |
2 |
| ar5k_ar5212_has_veol |
|
1 |
4 |
14 |
1 |
| ar5k_ar5212_get_rx_buf |
|
1 |
4 |
17 |
1 |
| ar5k_ar5212_put_rx_buf |
|
1 |
4 |
19 |
2 |
| ar5k_ar5212_start_rx |
|
1 |
4 |
16 |
1 |
| ar5k_ar5212_stop_rx_dma |
|
4 |
10 |
59 |
1 |
| ar5k_ar5212_start_rx_pcu |
|
1 |
4 |
16 |
1 |
| ar5k_ar5212_stop_pcu_recv |
|
1 |
4 |
16 |
1 |
| ar5k_ar5212_set_mcast_filter |
|
1 |
6 |
29 |
3 |
| ar5k_ar5212_set_mcast_filterindex |
|
3 |
13 |
70 |
2 |
| ar5k_ar5212_clear_mcast_filter_idx |
|
3 |
13 |
70 |
2 |
| ar5k_ar5212_get_rx_filter |
|
3 |
12 |
59 |
1 |
| ar5k_ar5212_set_rx_filter |
|
4 |
18 |
78 |
2 |
| ar5k_ar5212_setup_rx_desc |
|
3 |
12 |
75 |
4 |
| ar5k_ar5212_proc_rx_desc |
|
8 |
54 |
332 |
4 |
| ar5k_ar5212_set_rx_signal |
|
1 |
3 |
9 |
1 |
| ar5k_ar5212_dump_state |
|
2 |
96 |
474 |
1 |
| ar5k_ar5212_get_diag_state |
|
1 |
5 |
25 |
4 |
| ar5k_ar5212_get_lladdr |
|
1 |
4 |
24 |
2 |
| ar5k_ar5212_set_lladdr |
|
1 |
10 |
65 |
2 |
| ar5k_ar5212_set_regdomain |
|
2 |
13 |
62 |
3 |
| ar5k_ar5212_set_ledstate |
|
6 |
27 |
86 |
2 |
| ar5k_ar5212_set_associd |
|
3 |
24 |
147 |
4 |
| ar5k_ar5212_set_bssid_mask |
|
1 |
9 |
54 |
2 |
| ar5k_ar5212_set_gpio_output |
|
2 |
9 |
51 |
2 |
| ar5k_ar5212_set_gpio_input |
|
2 |
9 |
51 |
2 |
| ar5k_ar5212_get_gpio |
|
2 |
7 |
42 |
2 |
| ar5k_ar5212_set_gpio |
|
2 |
11 |
68 |
3 |
| ar5k_ar5212_set_gpio_intr |
|
3 |
15 |
88 |
3 |
| ar5k_ar5212_get_tsf32 |
|
1 |
4 |
17 |
1 |
| ar5k_ar5212_get_tsf64 |
|
1 |
5 |
32 |
1 |
| ar5k_ar5212_reset_tsf |
|
1 |
5 |
16 |
1 |
| ar5k_ar5212_get_regdomain |
|
1 |
4 |
17 |
1 |
| ar5k_ar5212_detect_card_present |
|
3 |
7 |
42 |
1 |
| ar5k_ar5212_update_mib_counters |
|
1 |
12 |
86 |
2 |
| ar5k_ar5212_get_rf_gain |
|
11 |
29 |
185 |
1 |
| ar5k_ar5212_set_slot_time |
|
3 |
7 |
39 |
2 |
| ar5k_ar5212_get_slot_time |
|
1 |
4 |
19 |
1 |
| ar5k_ar5212_set_ack_timeout |
|
2 |
9 |
48 |
2 |
| ar5k_ar5212_get_ack_timeout |
|
1 |
5 |
25 |
1 |
| ar5k_ar5212_set_cts_timeout |
|
2 |
9 |
48 |
2 |
| ar5k_ar5212_get_cts_timeout |
|
1 |
5 |
25 |
1 |
| ar5k_ar5212_is_cipher_supported |
|
2 |
6 |
28 |
2 |
| ar5k_ar5212_get_keycache_size |
|
1 |
4 |
14 |
1 |
| ar5k_ar5212_reset_key |
|
2 |
10 |
62 |
2 |
| ar5k_ar5212_is_key_valid |
|
2 |
8 |
41 |
2 |
| ar5k_ar5212_set_key |
|
5 |
36 |
346 |
5 |
| ar5k_ar5212_set_key_lladdr |
|
2 |
13 |
85 |
3 |
| ar5k_ar5212_softcrypto |
|
3 |
14 |
74 |
2 |
| ar5k_ar5212_warm_reset |
|
5 |
15 |
87 |
1 |
| ar5k_ar5212_set_power |
|
12 |
46 |
204 |
4 |
| ar5k_ar5212_get_power_mode |
|
1 |
4 |
16 |
1 |
| ar5k_ar5212_query_pspoll_support |
|
1 |
4 |
14 |
1 |
| ar5k_ar5212_init_pspoll |
|
1 |
4 |
14 |
1 |
| ar5k_ar5212_enable_pspoll |
|
1 |
5 |
21 |
3 |
| ar5k_ar5212_disable_pspoll |
|
1 |
4 |
14 |
1 |
| ar5k_ar5212_init_beacon |
|
3 |
25 |
126 |
3 |
| ar5k_ar5212_set_beacon_timers |
|
13 |
62 |
396 |
5 |
| ar5k_ar5212_reset_beacon |
|
1 |
7 |
32 |
1 |
| ar5k_ar5212_wait_for_beacon |
|
2 |
10 |
52 |
2 |
| ar5k_ar5212_is_intr_pending |
|
2 |
4 |
23 |
1 |
| ar5k_ar5212_get_isr |
|
8 |
20 |
133 |
2 |
| ar5k_ar5212_get_intr |
|
1 |
4 |
16 |
1 |
| ar5k_ar5212_set_intr |
|
4 |
30 |
116 |
2 |
| ar5k_ar5212_get_capabilities |
|
10 |
28 |
176 |
1 |
| ar5k_ar5212_radar_alert |
|
2 |
16 |
65 |
2 |
| ar5k_ar5212_eeprom_is_busy |
|
2 |
5 |
23 |
1 |
| ar5k_ar5212_eeprom_read |
|
4 |
19 |
109 |
3 |
| ar5k_ar5212_eeprom_write |
|
4 |
19 |
102 |
3 |
| ar5k_ar5212_txpower |
|
4 |
40 |
336 |
3 |
| ar5k_ar5212_set_txpower_limit |
|
1 |
6 |
40 |
2 |
| Source file: ./sys/dev/ic/cs4231reg.h |
| Source file: ./sys/dev/ic/smc83c170var.h |
| Source file: ./sys/dev/ic/ar5210reg.h |
| Source file: ./sys/dev/ic/dl10019var.h |
| Source file: ./sys/dev/ic/ar9380.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ar9380_attach |
|
2 |
24 |
151 |
1 |
| ar9380_setup |
|
15 |
51 |
351 |
1 |
| ar9380_get_rom_template |
|
3 |
8 |
56 |
2 |
| ar9380_swap_rom |
|
4 |
24 |
243 |
1 |
| ar9380_get_paprd_masks |
|
2 |
12 |
74 |
4 |
| ar9380_set_synth |
|
3 |
27 |
182 |
3 |
| ar9380_init_from_rom |
|
20 |
131 |
1047 |
3 |
| ar9380_init_swreg |
|
2 |
13 |
77 |
1 |
| ar9485_pmu_write |
|
3 |
13 |
82 |
3 |
| ar9485_init_swreg |
|
2 |
18 |
122 |
1 |
| ar9380_spur_mitigate_cck |
|
4 |
34 |
265 |
3 |
| ar9380_spur_mitigate_ofdm |
|
15 |
114 |
749 |
3 |
| ar9380_spur_mitigate |
|
1 |
6 |
37 |
3 |
| ar9380_set_txpower |
|
6 |
88 |
754 |
3 |
| ar9380_get_correction |
|
2 |
26 |
192 |
5 |
| ar9380_set_correction |
|
7 |
43 |
323 |
2 |
| Source file: ./sys/dev/ic/w83l518dvar.h |
| Source file: ./sys/dev/ic/athnreg.h |
| Source file: ./sys/dev/ic/aic7xxx_cam.h |
| Source file: ./sys/dev/ic/aic6360var.h |
| Source file: ./sys/dev/ic/athn.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| athn_attach |
|
33 |
154 |
1048 |
1 |
| athn_detach |
|
5 |
19 |
134 |
1 |
| athn_radiotap_attach |
|
1 |
11 |
112 |
1 |
| athn_get_chanlist |
|
7 |
30 |
187 |
1 |
| athn_rx_start |
|
5 |
33 |
228 |
1 |
| athn_set_rxfilter |
|
3 |
15 |
97 |
2 |
| athn_intr |
|
2 |
9 |
64 |
1 |
| athn_get_chipid |
|
4 |
16 |
110 |
1 |
| athn_get_mac_name |
|
10 |
24 |
94 |
1 |
| athn_get_rf_name |
|
5 |
15 |
63 |
1 |
| athn_reset_power_on |
|
6 |
26 |
154 |
1 |
| athn_reset |
|
8 |
31 |
206 |
2 |
| athn_set_power_awake |
|
7 |
28 |
168 |
1 |
| athn_set_power_sleep |
|
4 |
10 |
74 |
1 |
| athn_init_pll |
|
14 |
44 |
297 |
2 |
| athn_write_serdes |
|
2 |
7 |
57 |
2 |
| athn_config_pcie |
|
1 |
9 |
57 |
1 |
| athn_config_nonpcie |
|
1 |
4 |
17 |
1 |
| athn_set_chan |
|
6 |
22 |
183 |
3 |
| athn_switch_chan |
|
11 |
40 |
276 |
3 |
| athn_get_delta_slope |
|
3 |
11 |
92 |
3 |
| athn_reset_key |
|
1 |
12 |
113 |
2 |
| athn_set_key |
|
9 |
65 |
533 |
3 |
| athn_delete_key |
|
5 |
21 |
107 |
3 |
| athn_led_init |
|
1 |
6 |
39 |
1 |
| athn_set_led |
|
1 |
6 |
44 |
2 |
| athn_btcoex_init |
|
2 |
31 |
178 |
1 |
| athn_btcoex_enable |
|
3 |
35 |
224 |
1 |
| athn_btcoex_disable |
|
2 |
14 |
90 |
1 |
| athn_iter_calib |
|
2 |
7 |
59 |
2 |
| athn_calib_to |
|
10 |
33 |
203 |
1 |
| athn_init_calib |
|
12 |
37 |
213 |
3 |
| athn_ani_get_rssi |
|
1 |
4 |
14 |
1 |
| athn_ani_ofdm_err_trigger |
|
14 |
53 |
325 |
1 |
| athn_ani_cck_err_trigger |
|
8 |
30 |
182 |
1 |
| athn_ani_lower_immunity |
|
10 |
40 |
232 |
1 |
| athn_ani_restart |
|
1 |
12 |
78 |
1 |
| athn_ani_monitor |
|
14 |
60 |
411 |
1 |
| athn_chan2fbin |
|
2 |
7 |
39 |
1 |
| athn_interpolate |
|
2 |
6 |
55 |
5 |
| athn_get_pier_ival |
|
7 |
15 |
106 |
5 |
| athn_init_dma |
|
8 |
28 |
196 |
1 |
| athn_inc_tx_trigger_level |
|
4 |
11 |
83 |
1 |
| athn_stop_rx_dma |
|
3 |
12 |
72 |
1 |
| athn_rx_abort |
|
3 |
14 |
92 |
1 |
| athn_tx_reclaim |
|
2 |
15 |
121 |
2 |
| athn_tx_pending |
|
2 |
5 |
50 |
2 |
| athn_stop_tx_dma |
|
8 |
36 |
242 |
2 |
| athn_txtime |
|
6 |
22 |
199 |
4 |
| athn_init_tx_queues |
|
3 |
47 |
303 |
1 |
| athn_set_sta_timers |
|
5 |
41 |
307 |
1 |
| athn_set_hostap_timers |
|
1 |
19 |
139 |
1 |
| athn_set_opmode |
|
4 |
28 |
148 |
1 |
| athn_set_bss |
|
1 |
8 |
72 |
2 |
| athn_enable_interrupts |
|
1 |
18 |
131 |
1 |
| athn_disable_interrupts |
|
1 |
15 |
112 |
1 |
| athn_init_qos |
|
1 |
15 |
105 |
1 |
| athn_hw_reset |
|
35 |
152 |
1158 |
4 |
| athn_node_alloc |
|
3 |
8 |
59 |
1 |
| athn_newassoc |
|
14 |
51 |
429 |
3 |
| athn_node_leave |
|
2 |
6 |
41 |
2 |
| athn_media_change |
|
6 |
24 |
158 |
1 |
| athn_next_scan |
|
2 |
10 |
55 |
1 |
| athn_iter_mira_delete |
|
1 |
5 |
33 |
2 |
| athn_delete_mira_nodes |
|
2 |
9 |
61 |
1 |
| athn_newstate |
|
14 |
59 |
365 |
3 |
| athn_updateedca |
|
3 |
22 |
156 |
1 |
| athn_clock_rate |
|
6 |
18 |
97 |
1 |
| athn_updateslot |
|
2 |
9 |
54 |
1 |
| athn_start |
|
16 |
46 |
291 |
1 |
| athn_watchdog |
|
3 |
16 |
89 |
1 |
| athn_set_multi |
|
5 |
35 |
282 |
1 |
| athn_ioctl |
|
18 |
59 |
362 |
3 |
| athn_init |
|
16 |
58 |
395 |
1 |
| athn_stop |
|
7 |
37 |
277 |
2 |
| athn_suspend |
|
2 |
6 |
36 |
1 |
| athn_wakeup |
|
2 |
6 |
34 |
1 |
| Source file: ./sys/dev/ic/dp8390.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dp8390_media_init |
|
1 |
6 |
51 |
1 |
| dp8390_config |
|
7 |
40 |
291 |
1 |
| dp8390_mediachange |
|
2 |
7 |
42 |
1 |
| dp8390_mediastatus |
|
3 |
11 |
67 |
2 |
| dp8390_reset |
|
1 |
8 |
33 |
1 |
| dp8390_stop |
|
4 |
15 |
104 |
1 |
| dp8390_watchdog |
|
1 |
7 |
45 |
1 |
| dp8390_init |
|
7 |
64 |
538 |
1 |
| dp8390_xmit |
|
5 |
27 |
227 |
1 |
| dp8390_start |
|
11 |
34 |
236 |
1 |
| dp8390_rint |
|
13 |
79 |
523 |
1 |
| dp8390_intr |
|
21 |
80 |
517 |
1 |
| dp8390_ioctl |
|
13 |
48 |
260 |
3 |
| dp8390_getmcaf |
|
6 |
23 |
163 |
2 |
| dp8390_get |
|
9 |
43 |
273 |
3 |
| dp8390_test_mem |
|
3 |
15 |
97 |
1 |
| dp8390_read_hdr |
|
1 |
9 |
90 |
3 |
| dp8390_ring_copy |
|
2 |
15 |
102 |
4 |
| dp8390_write_mbuf |
|
3 |
17 |
105 |
3 |
| dp8390_enable |
|
4 |
12 |
68 |
1 |
| dp8390_disable |
|
3 |
7 |
41 |
1 |
| dp8390_detach |
|
2 |
11 |
72 |
2 |
| Source file: ./sys/dev/ic/dwc_gmac_var.h |
| Source file: ./sys/dev/ic/dwiic.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dwiic_detach |
|
2 |
9 |
50 |
2 |
| dwiic_activate |
|
5 |
18 |
92 |
2 |
| dwiic_i2c_print |
|
2 |
8 |
49 |
2 |
| dwiic_read |
|
1 |
6 |
48 |
2 |
| dwiic_write |
|
1 |
6 |
47 |
3 |
| dwiic_i2c_acquire_bus |
|
4 |
7 |
50 |
2 |
| dwiic_i2c_release_bus |
|
4 |
7 |
42 |
2 |
| dwiic_init |
|
3 |
26 |
184 |
1 |
| dwiic_enable |
|
4 |
12 |
80 |
2 |
| dwiic_i2c_exec |
|
33 |
138 |
949 |
8 |
| dwiic_read_clear_intrbits |
|
11 |
26 |
154 |
1 |
| dwiic_intr |
|
7 |
33 |
200 |
1 |
| Source file: ./sys/dev/ic/cy.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cy_probe_common |
|
16 |
52 |
346 |
3 |
| cy_attach |
|
7 |
41 |
336 |
2 |
| cyopen |
|
22 |
93 |
686 |
4 |
| cyclose |
|
4 |
24 |
178 |
4 |
| cyread |
|
2 |
14 |
110 |
3 |
| cywrite |
|
2 |
14 |
110 |
3 |
| cytty |
|
1 |
10 |
64 |
1 |
| cyioctl |
|
16 |
65 |
412 |
5 |
| cystart |
|
5 |
21 |
142 |
1 |
| cystop |
|
4 |
20 |
140 |
2 |
| cyparam |
|
22 |
78 |
549 |
2 |
| cy_modem_control |
|
36 |
72 |
488 |
3 |
| cy_poll |
|
30 |
96 |
592 |
1 |
| cy_intr |
|
43 |
179 |
1204 |
1 |
| cy_enable_transmitter |
|
1 |
10 |
54 |
1 |
| cd1400_channel_cmd |
|
5 |
12 |
73 |
2 |
| cy_speed |
|
5 |
15 |
114 |
4 |
| Source file: ./sys/dev/ic/acxvar.h |
| Source file: ./sys/dev/ic/pcdisplay_chars.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pcdisplay_mapchar |
|
8 |
23 |
193 |
3 |
| Source file: ./sys/dev/ic/dwc_gmac_reg.h |
| Source file: ./sys/dev/ic/ax88190reg.h |
| Source file: ./sys/dev/ic/tivar.h |
| Source file: ./sys/dev/ic/hmereg.h |
| Source file: ./sys/dev/ic/aic7xxx_openbsd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ahc_attach |
|
10 |
49 |
374 |
1 |
| ahc_platform_intr |
|
1 |
8 |
53 |
1 |
| ahc_done |
|
20 |
75 |
418 |
2 |
| ahc_minphys |
|
2 |
7 |
51 |
2 |
| ahc_action |
|
2 |
31 |
226 |
1 |
| ahc_execute_scb |
|
20 |
125 |
913 |
3 |
| ahc_poll |
|
4 |
14 |
74 |
2 |
| ahc_setup_data |
|
7 |
40 |
240 |
3 |
| ahc_timeout |
|
5 |
27 |
176 |
1 |
| ahc_platform_set_tags |
|
4 |
16 |
77 |
3 |
| ahc_platform_alloc |
|
3 |
10 |
62 |
2 |
| ahc_platform_free |
|
2 |
5 |
30 |
1 |
| ahc_softc_comp |
|
1 |
4 |
19 |
2 |
| ahc_send_async |
|
1 |
4 |
25 |
6 |
| ahc_adapter_req_set_xfer_mode |
|
12 |
56 |
397 |
2 |
| ahc_scb_alloc |
|
2 |
11 |
73 |
1 |
| ahc_scb_free |
|
1 |
14 |
101 |
2 |
| Source file: ./sys/dev/ic/cyreg.h |
| Source file: ./sys/dev/ic/dwiicvar.h |
| Source file: ./sys/dev/ic/ibm561.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ibm561_funcs |
|
1 |
4 |
10 |
1 |
| ibm561_init |
|
4 |
54 |
555 |
1 |
| ibm561_set_cmap |
|
6 |
31 |
214 |
2 |
| ibm561_get_cmap |
|
5 |
21 |
153 |
2 |
| ibm561_set_cursor |
|
1 |
6 |
21 |
2 |
| ibm561_get_cursor |
|
1 |
6 |
21 |
2 |
| ibm561_set_curpos |
|
1 |
6 |
21 |
2 |
| ibm561_get_curpos |
|
1 |
6 |
21 |
2 |
| ibm561_get_curmax |
|
1 |
6 |
21 |
2 |
| ibm561_set_dotclock |
|
17 |
29 |
326 |
2 |
| ibm561_update |
|
9 |
26 |
192 |
1 |
| ibm561_load_cmap |
|
5 |
19 |
178 |
1 |
| ibm561_load_dotclock |
|
4 |
9 |
66 |
1 |
| ibm561_regcont10bit |
|
1 |
5 |
55 |
3 |
| ibm561_regbegin |
|
1 |
5 |
47 |
2 |
| ibm561_regcont |
|
1 |
4 |
28 |
3 |
| ibm561_regwr |
|
1 |
5 |
31 |
3 |
| Source file: ./sys/dev/ic/am7930.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| am7930_init |
|
2 |
26 |
166 |
2 |
| am7930_open |
|
2 |
12 |
69 |
2 |
| am7930_close |
|
1 |
8 |
46 |
1 |
| am7930_set_params |
|
6 |
22 |
141 |
5 |
| am7930_round_blocksize |
|
1 |
4 |
14 |
2 |
| am7930_commit_settings |
|
4 |
40 |
249 |
1 |
| am7930_halt_output |
|
1 |
8 |
35 |
1 |
| am7930_halt_input |
|
1 |
8 |
35 |
1 |
| am7930_get_props |
|
1 |
4 |
11 |
1 |
| am7930_set_port |
|
17 |
42 |
235 |
2 |
| am7930_get_port |
|
14 |
38 |
209 |
2 |
| am7930_query_devinfo |
|
12 |
119 |
976 |
2 |
| Source file: ./sys/dev/ic/mpivar.h |
| Source file: ./sys/dev/ic/oosiopreg.h |
| Source file: ./sys/dev/ic/ne2000reg.h |
| Source file: ./sys/dev/ic/bwivar.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bwi_phy_init |
|
1 |
4 |
18 |
1 |
| bwi_rf_off |
|
1 |
5 |
26 |
1 |
| bwi_rf_on |
|
2 |
7 |
38 |
1 |
| bwi_rf_calc_nrssi_slope |
|
1 |
4 |
18 |
1 |
| bwi_rf_set_nrssi_thr |
|
1 |
4 |
18 |
1 |
| bwi_rf_calc_rssi |
|
1 |
4 |
29 |
2 |
| bwi_rf_lo_update |
|
1 |
4 |
18 |
1 |
| Source file: ./sys/dev/ic/pckbcvar.h |
| Source file: ./sys/dev/microcode/afb/microcode.h |
| Source file: ./sys/dev/ic/z8530sc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| zs_break |
|
2 |
11 |
71 |
2 |
| zs_iflush |
|
4 |
15 |
90 |
1 |
| zs_loadchannelregs |
|
10 |
45 |
460 |
1 |
| zsc_intr_hard |
|
11 |
35 |
250 |
1 |
| zsc_intr_soft |
|
3 |
16 |
87 |
1 |
| zsnull_rxint |
|
1 |
4 |
15 |
1 |
| zsnull_stint |
|
1 |
4 |
18 |
2 |
| zsnull_txint |
|
1 |
4 |
15 |
1 |
| zsnull_softint |
|
1 |
5 |
27 |
1 |
| Source file: ./sys/dev/ic/qlw.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| qlw_xs_bus |
|
2 |
4 |
38 |
2 |
| qlw_swap16 |
|
2 |
7 |
33 |
2 |
| qlw_swap32 |
|
2 |
7 |
33 |
2 |
| qlw_queue_read |
|
1 |
4 |
24 |
2 |
| qlw_queue_write |
|
1 |
4 |
28 |
3 |
| qlw_attach |
|
43 |
199 |
1632 |
1 |
| qlw_detach |
|
1 |
4 |
17 |
2 |
| qlw_config_bus |
|
4 |
16 |
117 |
2 |
| qlw_config_target |
|
4 |
26 |
245 |
3 |
| qlw_update_bus |
|
2 |
6 |
37 |
2 |
| qlw_update_target |
|
9 |
39 |
386 |
3 |
| qlw_update_task |
|
2 |
7 |
40 |
1 |
| qlw_handle_resp |
|
20 |
129 |
778 |
2 |
| qlw_handle_intr |
|
12 |
54 |
295 |
3 |
| qlw_intr |
|
2 |
10 |
55 |
1 |
| qlw_scsi_probe |
|
2 |
6 |
27 |
1 |
| qlw_scsi_cmd |
|
20 |
121 |
882 |
1 |
| qlw_read |
|
1 |
8 |
54 |
2 |
| qlw_write |
|
1 |
6 |
49 |
3 |
| qlw_read_mbox |
|
1 |
4 |
30 |
2 |
| qlw_write_mbox |
|
1 |
4 |
32 |
3 |
| qlw_host_cmd |
|
1 |
4 |
26 |
2 |
| qlw_mbox |
|
12 |
52 |
313 |
3 |
| qlw_mbox_putaddr |
|
1 |
7 |
81 |
2 |
| qlw_set_ints |
|
2 |
5 |
34 |
2 |
| qlw_read_isr |
|
4 |
17 |
102 |
3 |
| qlw_clear_isr |
|
3 |
12 |
46 |
2 |
| qlw_softreset |
|
5 |
35 |
233 |
1 |
| qlw_dma_burst_enable |
|
3 |
21 |
138 |
1 |
| qlw_update |
|
1 |
3 |
12 |
2 |
| qlw_async |
|
8 |
29 |
125 |
2 |
| qlw_dump_iocb |
|
4 |
15 |
101 |
3 |
| qlw_dump_iocb_segs |
|
4 |
15 |
110 |
3 |
| qlw_get_header |
|
2 |
11 |
63 |
4 |
| qlw_put_header |
|
2 |
15 |
81 |
4 |
| qlw_put_data_seg |
|
1 |
6 |
56 |
4 |
| qlw_put_marker |
|
1 |
8 |
76 |
3 |
| qlw_put_cmd |
|
9 |
46 |
362 |
4 |
| qlw_put_cont |
|
3 |
13 |
102 |
5 |
| qlw_load_firmware_words |
|
4 |
22 |
148 |
3 |
| qlw_load_firmware |
|
1 |
4 |
21 |
1 |
| qlw_read_nvram |
|
15 |
71 |
513 |
1 |
| qlw_parse_nvram_1040 |
|
3 |
24 |
282 |
2 |
| qlw_parse_nvram_1080 |
|
4 |
28 |
316 |
2 |
| qlw_init_defaults |
|
7 |
35 |
217 |
2 |
| qlw_dmamem_alloc |
|
6 |
31 |
248 |
2 |
| qlw_dmamem_free |
|
1 |
8 |
78 |
2 |
| qlw_alloc_ccbs |
|
7 |
53 |
369 |
1 |
| qlw_free_ccbs |
|
2 |
10 |
75 |
1 |
| qlw_get_ccb |
|
2 |
12 |
69 |
1 |
| qlw_put_ccb |
|
1 |
9 |
60 |
2 |
| Source file: ./sys/dev/ic/dp8390reg.h |
| Source file: ./sys/dev/ic/i8042reg.h |
| Source file: ./sys/dev/ic/i8259reg.h |
| Source file: ./sys/dev/ic/dp8390var.h |
| Source file: ./sys/dev/ic/i82802reg.h |
| Source file: ./sys/dev/ic/am79900reg.h |
| Source file: ./sys/dev/microcode/udl/udl_huffman.h |
| Source file: ./sys/dev/ic/ncr53c9xvar.h |
| Source file: ./sys/dev/ic/am79900var.h |
| Source file: ./sys/dev/ic/sili.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sili_attach |
|
2 |
19 |
124 |
1 |
| sili_detach |
|
4 |
12 |
65 |
2 |
| sili_resume |
|
4 |
14 |
103 |
1 |
| sili_pmp_port_start_error_recovery |
|
3 |
26 |
185 |
2 |
| sili_port_clear_commands |
|
2 |
12 |
77 |
1 |
| sili_pmp_port_do_error_recovery |
|
3 |
17 |
84 |
3 |
| sili_simulate_error |
|
10 |
27 |
152 |
3 |
| sili_port_intr |
|
47 |
218 |
1482 |
2 |
| sili_intr |
|
4 |
17 |
108 |
1 |
| sili_ports_alloc |
|
4 |
25 |
182 |
1 |
| sili_ports_free |
|
3 |
12 |
82 |
1 |
| sili_ccb_alloc |
|
5 |
45 |
340 |
1 |
| sili_ccb_free |
|
2 |
9 |
64 |
1 |
| sili_get_ccb |
|
3 |
16 |
99 |
1 |
| sili_put_ccb |
|
5 |
15 |
105 |
1 |
| sili_dmamem_alloc |
|
5 |
29 |
236 |
3 |
| sili_dmamem_free |
|
1 |
8 |
76 |
2 |
| sili_read |
|
1 |
8 |
52 |
2 |
| sili_write |
|
1 |
6 |
47 |
3 |
| sili_pread |
|
1 |
8 |
56 |
2 |
| sili_pwrite |
|
1 |
6 |
51 |
3 |
| sili_pwait_eq |
|
3 |
11 |
62 |
5 |
| sili_pwait_ne |
|
3 |
11 |
62 |
5 |
| sili_post_direct |
|
4 |
11 |
91 |
4 |
| sili_pread_fis |
|
1 |
8 |
73 |
3 |
| sili_post_indirect |
|
1 |
7 |
61 |
2 |
| sili_signature |
|
1 |
9 |
57 |
2 |
| sili_dummy_done |
|
1 |
3 |
9 |
1 |
| sili_pmp_portreset |
|
14 |
63 |
387 |
3 |
| sili_pmp_op_timeout |
|
4 |
23 |
130 |
1 |
| sili_pmp_softreset |
|
7 |
52 |
342 |
3 |
| sili_port_softreset |
|
5 |
27 |
163 |
1 |
| sili_ata_probe |
|
16 |
70 |
444 |
3 |
| sili_ata_free |
|
3 |
9 |
55 |
3 |
| sili_ata_cmd |
|
6 |
46 |
299 |
1 |
| sili_ata_cmd_done |
|
9 |
30 |
251 |
2 |
| sili_ata_cmd_timeout |
|
1 |
9 |
49 |
1 |
| sili_load |
|
9 |
47 |
383 |
3 |
| sili_unload |
|
4 |
18 |
125 |
1 |
| sili_poll |
|
4 |
18 |
123 |
3 |
| sili_start |
|
1 |
11 |
84 |
2 |
| sili_read_ncq_error |
|
4 |
57 |
467 |
3 |
| sili_ata_get_xfer |
|
2 |
13 |
85 |
2 |
| sili_ata_put_xfer |
|
1 |
5 |
26 |
1 |
| sili_pmp_read |
|
3 |
37 |
265 |
4 |
| sili_pmp_write |
|
2 |
32 |
239 |
4 |
| sili_pmp_phy_status |
|
3 |
10 |
66 |
3 |
| sili_pmp_identify |
|
7 |
27 |
159 |
2 |
| Source file: ./sys/dev/ic/lancevar.h |
| Source file: ./sys/dev/ic/intersil7170.h |
| Source file: ./sys/dev/ic/ne2000var.h |
| Source file: ./sys/dev/ic/bt8xx.h |
| Source file: ./sys/dev/ic/am7930reg.h |
| Source file: ./sys/dev/ic/nvme.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| nvme_read8 |
|
2 |
10 |
83 |
2 |
| nvme_write8 |
|
2 |
8 |
78 |
3 |
| nvme_dumpregs |
|
1 |
32 |
415 |
1 |
| nvme_ready |
|
3 |
11 |
69 |
2 |
| nvme_enable |
|
2 |
26 |
262 |
2 |
| nvme_disable |
|
4 |
16 |
108 |
1 |
| nvme_attach |
|
13 |
96 |
696 |
1 |
| nvme_resume |
|
6 |
31 |
200 |
1 |
| nvme_scsi_probe |
|
3 |
35 |
275 |
1 |
| nvme_shutdown |
|
4 |
26 |
170 |
1 |
| nvme_activate |
|
4 |
19 |
94 |
2 |
| nvme_scsi_cmd |
|
16 |
39 |
138 |
1 |
| nvme_scsi_io |
|
8 |
39 |
286 |
2 |
| nvme_scsi_io_fill |
|
4 |
26 |
205 |
3 |
| nvme_scsi_io_done |
|
4 |
24 |
163 |
3 |
| nvme_scsi_sync |
|
2 |
13 |
89 |
1 |
| nvme_scsi_sync_fill |
|
1 |
8 |
63 |
3 |
| nvme_scsi_sync_done |
|
2 |
12 |
75 |
3 |
| nvme_scsi_inq |
|
2 |
14 |
67 |
1 |
| nvme_scsi_inquiry |
|
1 |
20 |
181 |
1 |
| nvme_scsi_capacity16 |
|
2 |
25 |
194 |
1 |
| nvme_scsi_capacity |
|
3 |
25 |
190 |
1 |
| nvme_scsi_free |
|
1 |
8 |
62 |
1 |
| nvme_q_submit |
|
2 |
20 |
201 |
4 |
| nvme_poll |
|
3 |
23 |
203 |
4 |
| nvme_poll_fill |
|
1 |
6 |
41 |
3 |
| nvme_poll_done |
|
1 |
7 |
47 |
3 |
| nvme_sqe_fill |
|
1 |
6 |
40 |
3 |
| nvme_empty_done |
|
1 |
4 |
19 |
3 |
| nvme_q_complete |
|
6 |
30 |
209 |
2 |
| nvme_identify |
|
6 |
38 |
310 |
2 |
| nvme_q_create |
|
3 |
34 |
282 |
2 |
| nvme_q_delete |
|
3 |
28 |
205 |
2 |
| nvme_fill_identify |
|
1 |
8 |
68 |
3 |
| nvme_ccbs_alloc |
|
4 |
34 |
239 |
2 |
| nvme_ccb_get |
|
2 |
11 |
67 |
1 |
| nvme_ccb_put |
|
1 |
8 |
54 |
2 |
| nvme_ccbs_free |
|
2 |
10 |
73 |
1 |
| nvme_q_alloc |
|
4 |
34 |
273 |
4 |
| nvme_q_reset |
|
1 |
13 |
127 |
2 |
| nvme_q_free |
|
1 |
8 |
65 |
2 |
| nvme_intr |
|
3 |
10 |
55 |
1 |
| nvme_intr_intx |
|
1 |
9 |
48 |
1 |
| nvme_dmamem_alloc |
|
6 |
31 |
246 |
2 |
| nvme_dmamem_sync |
|
1 |
5 |
38 |
3 |
| nvme_dmamem_free |
|
1 |
8 |
76 |
2 |
| nvme_hibernate_admin_cmd |
|
7 |
36 |
297 |
4 |
| nvme_hibernate_io |
|
17 |
121 |
1023 |
6 |
| Source file: ./sys/dev/ic/mpuvar.h |
| Source file: ./sys/dev/ic/ar9280.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ar9280_attach |
|
2 |
21 |
153 |
1 |
| ar9280_setup |
|
15 |
40 |
239 |
1 |
| ar9280_set_synth |
|
11 |
56 |
406 |
3 |
| ar9280_init_from_rom |
|
21 |
153 |
1229 |
3 |
| ar9280_olpc_get_pdadcs |
|
7 |
35 |
305 |
6 |
| ar9280_spur_mitigate |
|
10 |
64 |
356 |
3 |
| ar9280_reset_rx_gain |
|
3 |
12 |
84 |
2 |
| ar9280_reset_tx_gain |
|
3 |
12 |
84 |
2 |
| ar9280_olpc_init |
|
2 |
10 |
62 |
1 |
| ar9280_olpc_temp_compensation |
|
8 |
30 |
221 |
1 |
| Source file: ./sys/dev/ic/gemreg.h |
| Source file: ./sys/dev/ic/sli.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sli_attach |
|
1 |
5 |
19 |
1 |
| sli_detach |
|
1 |
4 |
17 |
2 |
| sli_intr |
|
1 |
4 |
13 |
1 |
| Source file: ./sys/dev/ic/hme.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| hme_config |
|
20 |
116 |
905 |
1 |
| hme_unconfig |
|
5 |
17 |
160 |
1 |
| hme_tick |
|
2 |
23 |
174 |
1 |
| hme_reset |
|
1 |
7 |
28 |
1 |
| hme_stop |
|
9 |
47 |
399 |
2 |
| hme_meminit |
|
3 |
33 |
278 |
1 |
| hme_init |
|
8 |
75 |
598 |
1 |
| hme_start |
|
16 |
74 |
565 |
1 |
| hme_tint |
|
7 |
35 |
218 |
1 |
| hme_rint |
|
5 |
41 |
266 |
1 |
| hme_eint |
|
6 |
23 |
126 |
2 |
| hme_intr |
|
5 |
18 |
126 |
1 |
| hme_watchdog |
|
1 |
7 |
41 |
1 |
| hme_mifinit |
|
5 |
25 |
149 |
1 |
| hme_mii_readreg |
|
7 |
42 |
283 |
3 |
| hme_mii_writereg |
|
7 |
39 |
273 |
4 |
| hme_mii_statchg |
|
4 |
18 |
122 |
1 |
| hme_mediachange |
|
6 |
25 |
182 |
1 |
| hme_mediastatus |
|
2 |
9 |
65 |
2 |
| hme_ioctl |
|
14 |
43 |
256 |
3 |
| hme_iff |
|
4 |
37 |
304 |
1 |
| hme_fill_rx_ring |
|
4 |
18 |
148 |
1 |
| hme_newbuf |
|
3 |
22 |
145 |
2 |
| Source file: ./sys/dev/ic/lsi64854var.h |
| Source file: ./sys/dev/ic/aic7xxxvar.h |
| Source file: ./sys/dev/ic/dc21040reg.h |
| Source file: ./sys/dev/ic/if_wireg.h |
| Source file: ./sys/dev/ic/smc91cxxvar.h |
| Source file: ./sys/dev/ic/decmonitors.c |
| Source file: ./sys/dev/ic/adw.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| adw_alloc_controls |
|
5 |
33 |
249 |
1 |
| adw_alloc_carriers |
|
6 |
42 |
294 |
1 |
| adw_create_ccbs |
|
3 |
15 |
99 |
3 |
| adw_ccb_free |
|
1 |
9 |
57 |
2 |
| adw_reset_ccb |
|
1 |
4 |
14 |
1 |
| adw_init_ccb |
|
2 |
20 |
138 |
2 |
| adw_ccb_alloc |
|
2 |
13 |
73 |
1 |
| adw_ccb_phys_kv |
|
3 |
11 |
57 |
2 |
| adw_queue_ccb |
|
7 |
27 |
189 |
3 |
| adw_init |
|
4 |
25 |
147 |
1 |
| adw_attach |
|
14 |
77 |
430 |
1 |
| adw_minphys |
|
2 |
6 |
49 |
2 |
| adw_scsi_cmd |
|
8 |
37 |
203 |
1 |
| adw_build_req |
|
6 |
53 |
385 |
3 |
| adw_build_sglist |
|
4 |
29 |
189 |
3 |
| adw_intr |
|
2 |
8 |
35 |
1 |
| adw_poll |
|
6 |
19 |
112 |
3 |
| adw_timeout |
|
5 |
31 |
185 |
1 |
| adw_reset_bus |
|
2 |
16 |
114 |
1 |
| adw_print_info |
|
7 |
35 |
229 |
2 |
| adw_isr_callback |
|
42 |
120 |
531 |
2 |
| adw_async_callback |
|
6 |
24 |
104 |
2 |
| Source file: ./sys/dev/ic/if_wi_ieee.h |
| Source file: ./sys/dev/ic/pcf8584var.h |
| Source file: ./sys/dev/ic/aic79xx.h |
| Source file: ./sys/dev/ic/smc91cxx.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| smc91cxx_attach |
|
15 |
87 |
630 |
2 |
| smc91cxx_mediachange |
|
1 |
6 |
36 |
1 |
| smc91cxx_set_media |
|
7 |
30 |
164 |
2 |
| smc91cxx_mediastatus |
|
4 |
24 |
150 |
2 |
| smc91cxx_init |
|
5 |
47 |
355 |
1 |
| smc91cxx_start |
|
21 |
81 |
640 |
1 |
| smc91cxx_intr |
|
17 |
85 |
562 |
1 |
| smc91cxx_read |
|
9 |
57 |
370 |
1 |
| smc91cxx_ioctl |
|
14 |
46 |
281 |
3 |
| smc91cxx_reset |
|
1 |
9 |
35 |
1 |
| smc91cxx_watchdog |
|
1 |
8 |
47 |
1 |
| smc91cxx_stop |
|
1 |
12 |
82 |
1 |
| smc91cxx_enable |
|
4 |
13 |
74 |
1 |
| smc91cxx_disable |
|
3 |
8 |
47 |
1 |
| smc91cxx_activate |
|
4 |
15 |
72 |
2 |
| smc91cxx_detach |
|
2 |
14 |
89 |
2 |
| smc91cxx_mii_bitbang_read |
|
1 |
6 |
38 |
1 |
| smc91cxx_mii_bitbang_write |
|
1 |
7 |
42 |
2 |
| smc91cxx_mii_readreg |
|
1 |
11 |
67 |
3 |
| smc91cxx_mii_writereg |
|
1 |
9 |
63 |
4 |
| smc91cxx_statchg |
|
2 |
16 |
95 |
1 |
| smc91cxx_tick |
|
4 |
14 |
82 |
1 |
| Source file: ./sys/dev/ic/qlwvar.h |
| Source file: ./sys/dev/ic/ar5008.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ar5008_attach |
|
19 |
89 |
606 |
1 |
| ar5008_read_eep_word |
|
3 |
17 |
103 |
3 |
| ar5008_read_rom |
|
10 |
42 |
263 |
1 |
| ar5008_swap_rom |
|
1 |
12 |
116 |
1 |
| ar5008_gpio_read |
|
3 |
7 |
80 |
2 |
| ar5008_gpio_write |
|
6 |
23 |
144 |
3 |
| ar5008_gpio_config_input |
|
3 |
13 |
95 |
2 |
| ar5008_gpio_config_output |
|
5 |
23 |
200 |
3 |
| ar5008_rfsilent_init |
|
2 |
15 |
100 |
1 |
| ar5008_dma_alloc |
|
3 |
11 |
53 |
1 |
| ar5008_dma_free |
|
1 |
5 |
19 |
1 |
| ar5008_tx_alloc |
|
7 |
44 |
334 |
1 |
| ar5008_tx_free |
|
5 |
20 |
141 |
1 |
| ar5008_rx_alloc |
|
10 |
65 |
479 |
1 |
| ar5008_rx_free |
|
6 |
24 |
180 |
1 |
| ar5008_rx_enable |
|
3 |
27 |
216 |
1 |
| ar5008_rx_radiotap |
|
19 |
59 |
466 |
3 |
| ar5008_rx_process |
|
20 |
118 |
883 |
1 |
| ar5008_rx_intr |
|
2 |
4 |
19 |
1 |
| ar5008_tx_process |
|
13 |
60 |
461 |
2 |
| ar5008_tx_intr |
|
5 |
23 |
171 |
1 |
| ar5008_swba_intr |
|
15 |
85 |
670 |
1 |
| ar5008_intr |
|
26 |
69 |
441 |
1 |
| ar5008_tx |
|
69 |
286 |
2209 |
4 |
| ar5008_set_rf_mode |
|
6 |
15 |
87 |
2 |
| ar5008_synth_delay |
|
2 |
10 |
58 |
1 |
| ar5008_rf_bus_request |
|
3 |
12 |
69 |
1 |
| ar5008_rf_bus_release |
|
1 |
6 |
33 |
1 |
| ar5008_set_phy |
|
5 |
22 |
136 |
3 |
| ar5008_set_delta_slope |
|
1 |
20 |
184 |
3 |
| ar5008_enable_antenna_diversity |
|
1 |
6 |
23 |
1 |
| ar5008_init_baseband |
|
1 |
8 |
40 |
1 |
| ar5008_disable_phy |
|
1 |
5 |
23 |
1 |
| ar5008_init_chains |
|
6 |
15 |
115 |
1 |
| ar5008_set_rxchains |
|
3 |
8 |
52 |
1 |
| ar5008_read_noisefloor |
|
4 |
19 |
154 |
3 |
| ar5008_write_noisefloor |
|
2 |
14 |
121 |
3 |
| ar5008_get_noisefloor |
|
4 |
15 |
122 |
2 |
| ar5008_bb_load_noisefloor |
|
6 |
25 |
193 |
1 |
| ar5008_noisefloor_calib |
|
1 |
7 |
41 |
1 |
| ar5008_do_noisefloor_calib |
|
1 |
5 |
23 |
1 |
| ar5008_do_calib |
|
4 |
19 |
119 |
1 |
| ar5008_next_calib |
|
5 |
14 |
68 |
1 |
| ar5008_calib_iq |
|
12 |
49 |
379 |
1 |
| ar5008_calib_adc_gain |
|
7 |
37 |
303 |
1 |
| ar5008_calib_adc_dc_off |
|
6 |
42 |
330 |
1 |
| ar5008_write_txpower |
|
1 |
49 |
536 |
2 |
| ar5008_set_viterbi_mask |
|
7 |
82 |
1432 |
2 |
| ar5008_hw_init |
|
30 |
105 |
721 |
3 |
| ar5008_get_vpd |
|
5 |
18 |
118 |
4 |
| ar5008_get_pdadcs |
|
22 |
80 |
730 |
9 |
| ar5008_get_lg_tpow |
|
8 |
24 |
186 |
6 |
| ar5008_get_ht_tpow |
|
8 |
24 |
186 |
6 |
| ar5008_set_noise_immunity_level |
|
5 |
16 |
149 |
2 |
| ar5008_enable_ofdm_weak_signal |
|
1 |
23 |
190 |
1 |
| ar5008_disable_ofdm_weak_signal |
|
1 |
23 |
190 |
1 |
| ar5008_set_cck_weak_signal |
|
2 |
8 |
53 |
2 |
| ar5008_set_firstep_level |
|
1 |
8 |
51 |
2 |
| ar5008_set_spur_immunity_level |
|
1 |
8 |
55 |
2 |
| Source file: ./sys/dev/ic/i8253reg.h |
| Source file: ./sys/dev/ic/oosiopvar.h |
| Source file: ./sys/dev/ic/uhareg.h |
| Source file: ./sys/dev/ic/ns16450reg.h |
| Source file: ./sys/dev/ic/ciss.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ciss_get_ccb |
|
2 |
14 |
81 |
1 |
| ciss_put_ccb |
|
1 |
11 |
72 |
2 |
| ciss_attach |
|
40 |
228 |
2075 |
1 |
| ciss_shutdown |
|
1 |
7 |
34 |
1 |
| cissminphys |
|
3 |
6 |
33 |
2 |
| ciss_cmd |
|
24 |
138 |
1025 |
3 |
| ciss_done |
|
6 |
30 |
195 |
1 |
| ciss_error |
|
8 |
56 |
311 |
1 |
| ciss_inq |
|
2 |
28 |
222 |
2 |
| ciss_ldmap |
|
3 |
37 |
291 |
1 |
| ciss_sync |
|
2 |
34 |
254 |
1 |
| ciss_scsi_cmd |
|
5 |
39 |
309 |
1 |
| ciss_intr |
|
8 |
36 |
248 |
1 |
| ciss_heartbeat |
|
4 |
24 |
151 |
1 |
| ciss_scsi_ioctl |
|
2 |
5 |
33 |
4 |
| ciss_ioctl |
|
31 |
148 |
1068 |
3 |
| ciss_sensors |
|
14 |
42 |
250 |
1 |
| ciss_ldid |
|
2 |
29 |
230 |
3 |
| ciss_ldstat |
|
2 |
29 |
230 |
3 |
| ciss_pdid |
|
2 |
29 |
233 |
4 |
| ciss_pdscan |
|
10 |
30 |
241 |
2 |
| ciss_blink |
|
6 |
38 |
304 |
5 |
| Source file: ./sys/dev/ic/revar.h |
| Source file: ./sys/dev/ic/silireg.h |
| Source file: ./sys/dev/ic/sa2400reg.h |
| Source file: ./sys/dev/ic/iha.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| iha_intr |
|
3 |
22 |
138 |
1 |
| iha_setup_sg_list |
|
5 |
27 |
216 |
2 |
| iha_scsi_cmd |
|
11 |
57 |
385 |
1 |
| iha_init_tulip |
|
7 |
75 |
605 |
1 |
| iha_minphys |
|
2 |
6 |
49 |
2 |
| iha_reset_dma |
|
3 |
9 |
69 |
2 |
| iha_scb_alloc |
|
2 |
13 |
77 |
1 |
| iha_scb_free |
|
2 |
28 |
180 |
2 |
| iha_append_pend_scb |
|
2 |
7 |
46 |
2 |
| iha_push_pend_scb |
|
2 |
10 |
60 |
2 |
| iha_find_pend_scb |
|
8 |
26 |
143 |
1 |
| iha_mark_busy_scb |
|
2 |
11 |
53 |
1 |
| iha_append_done_scb |
|
6 |
20 |
134 |
3 |
| iha_pop_done_scb |
|
2 |
13 |
69 |
1 |
| iha_abort_xs |
|
7 |
29 |
178 |
3 |
| iha_bad_seq |
|
2 |
8 |
51 |
1 |
| iha_push_sense_request |
|
8 |
55 |
426 |
2 |
| iha_main |
|
11 |
32 |
183 |
3 |
| iha_scsi |
|
21 |
67 |
522 |
3 |
| iha_data_over_run |
|
34 |
43 |
135 |
1 |
| iha_next_state |
|
18 |
53 |
256 |
3 |
| iha_state_1 |
|
7 |
31 |
237 |
3 |
| iha_state_2 |
|
2 |
11 |
94 |
3 |
| iha_state_3 |
|
14 |
40 |
265 |
3 |
| iha_state_4 |
|
15 |
44 |
279 |
3 |
| iha_state_5 |
|
17 |
67 |
505 |
3 |
| iha_state_6 |
|
12 |
30 |
180 |
3 |
| iha_state_8 |
|
7 |
31 |
186 |
3 |
| iha_xfer_data |
|
6 |
28 |
232 |
4 |
| iha_xpad_in |
|
6 |
22 |
143 |
3 |
| iha_xpad_out |
|
6 |
23 |
156 |
3 |
| iha_status_msg |
|
13 |
52 |
351 |
3 |
| iha_busfree |
|
3 |
14 |
94 |
3 |
| iha_reset_scsi_bus |
|
5 |
22 |
137 |
1 |
| iha_resel |
|
16 |
60 |
432 |
3 |
| iha_msgin |
|
16 |
54 |
351 |
3 |
| iha_msgin_ignore_wid_resid |
|
3 |
16 |
108 |
3 |
| iha_msgin_extended |
|
16 |
51 |
461 |
3 |
| iha_msgin_sdtr |
|
6 |
28 |
169 |
1 |
| iha_msgout |
|
1 |
6 |
43 |
4 |
| iha_msgout_abort |
|
4 |
17 |
95 |
4 |
| iha_msgout_reject |
|
2 |
8 |
65 |
3 |
| iha_msgout_extended |
|
1 |
12 |
97 |
3 |
| iha_msgout_wdtr |
|
1 |
9 |
64 |
3 |
| iha_msgout_sdtr |
|
1 |
13 |
90 |
3 |
| iha_wide_done |
|
2 |
12 |
93 |
3 |
| iha_sync_done |
|
5 |
18 |
148 |
3 |
| iha_reset_chip |
|
3 |
13 |
94 |
3 |
| iha_select |
|
5 |
35 |
217 |
5 |
| iha_wait |
|
9 |
42 |
337 |
4 |
| iha_done_scb |
|
23 |
72 |
355 |
2 |
| iha_timeout |
|
2 |
10 |
68 |
1 |
| iha_exec_scb |
|
5 |
27 |
187 |
2 |
| iha_set_ssig |
|
1 |
7 |
47 |
4 |
| iha_print_info |
|
4 |
21 |
152 |
2 |
| iha_alloc_scbs |
|
3 |
22 |
143 |
1 |
| iha_read_eeprom |
|
4 |
23 |
176 |
3 |
| iha_se2_rd |
|
2 |
20 |
134 |
3 |
| iha_se2_instr |
|
3 |
23 |
148 |
3 |
| iha_reset_tcs |
|
1 |
8 |
46 |
2 |
| Source file: ./sys/dev/ic/oosiop.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| oosiop_cb_alloc |
|
2 |
11 |
67 |
1 |
| oosiop_cb_free |
|
1 |
8 |
54 |
2 |
| oosiop_attach |
|
13 |
85 |
642 |
1 |
| oosiop_alloc_cb |
|
9 |
62 |
408 |
2 |
| oosiop_relocate_io |
|
3 |
15 |
114 |
2 |
| oosiop_relocate_tc |
|
3 |
15 |
112 |
2 |
| oosiop_fixup_select |
|
1 |
8 |
57 |
3 |
| oosiop_fixup_jump |
|
1 |
4 |
31 |
3 |
| oosiop_fixup_move |
|
1 |
10 |
77 |
4 |
| oosiop_load_script |
|
7 |
20 |
141 |
1 |
| oosiop_setup_sgdma |
|
10 |
60 |
466 |
2 |
| oosiop_setup_dma |
|
1 |
24 |
210 |
1 |
| oosiop_flush_fifo |
|
2 |
10 |
57 |
1 |
| oosiop_clear_fifo |
|
2 |
10 |
57 |
1 |
| oosiop_phasemismatch |
|
12 |
56 |
423 |
1 |
| oosiop_setup_syncxfer |
|
2 |
8 |
60 |
1 |
| oosiop_set_syncparam |
|
9 |
41 |
309 |
4 |
| oosiop_minphys |
|
2 |
6 |
33 |
2 |
| oosiop_scsicmd |
|
10 |
71 |
460 |
1 |
| oosiop_poll |
|
6 |
29 |
150 |
2 |
| oosiop_setup |
|
2 |
24 |
192 |
2 |
| oosiop_done |
|
18 |
96 |
644 |
2 |
| oosiop_timeout |
|
1 |
14 |
87 |
1 |
| oosiop_reset |
|
3 |
38 |
304 |
2 |
| oosiop_reset_bus |
|
3 |
18 |
116 |
1 |
| oosiop_intr |
|
2 |
9 |
52 |
1 |
| oosiop_processintr |
|
26 |
100 |
641 |
2 |
| oosiop_scriptintr |
|
22 |
88 |
479 |
1 |
| oosiop_msgin |
|
12 |
71 |
469 |
2 |
| Source file: ./sys/dev/ic/tc921x.h |
| Source file: ./sys/dev/ic/mfi.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mfi_get_ccb |
|
2 |
16 |
97 |
1 |
| mfi_put_ccb |
|
1 |
11 |
76 |
2 |
| mfi_scrub_ccb |
|
1 |
16 |
93 |
1 |
| mfi_init_ccb |
|
4 |
43 |
322 |
1 |
| mfi_read |
|
1 |
9 |
68 |
2 |
| mfi_write |
|
1 |
7 |
63 |
3 |
| mfi_allocmem |
|
6 |
35 |
284 |
2 |
| mfi_freemem |
|
1 |
9 |
90 |
2 |
| mfi_transition_firmware |
|
13 |
54 |
253 |
1 |
| mfi_initialize_firmware |
|
2 |
32 |
278 |
1 |
| mfi_empty_done |
|
1 |
3 |
14 |
2 |
| mfi_get_info |
|
8 |
129 |
889 |
1 |
| mfiminphys |
|
2 |
7 |
44 |
2 |
| mfi_attach |
|
21 |
120 |
868 |
2 |
| mfi_syspd |
|
8 |
50 |
386 |
1 |
| mfi_poll |
|
6 |
35 |
230 |
2 |
| mfi_exec |
|
5 |
13 |
96 |
2 |
| mfi_exec_done |
|
1 |
8 |
44 |
2 |
| mfi_intr |
|
5 |
40 |
278 |
1 |
| mfi_scsi_io |
|
5 |
35 |
263 |
5 |
| mfi_scsi_xs_done |
|
5 |
40 |
257 |
2 |
| mfi_scsi_ld |
|
6 |
35 |
282 |
3 |
| mfi_scsi_cmd |
|
16 |
72 |
447 |
1 |
| mfi_default_sgd_load |
|
4 |
23 |
251 |
2 |
| mfi_create_sgl |
|
5 |
42 |
269 |
3 |
| mfi_mgmt |
|
1 |
11 |
87 |
6 |
| mfi_do_mgmt |
|
13 |
53 |
350 |
7 |
| mfi_scsi_ioctl |
|
4 |
16 |
106 |
4 |
| mfi_ioctl_cache |
|
19 |
70 |
449 |
3 |
| mfi_ioctl |
|
8 |
42 |
266 |
3 |
| mfi_bio_getitall |
|
13 |
59 |
449 |
1 |
| mfi_ioctl_inq |
|
4 |
22 |
153 |
2 |
| mfi_ioctl_vol |
|
15 |
67 |
454 |
2 |
| mfi_ioctl_disk |
|
13 |
85 |
590 |
2 |
| mfi_ioctl_alarm |
|
8 |
36 |
162 |
2 |
| mfi_ioctl_blink |
|
11 |
44 |
289 |
2 |
| mfi_ioctl_setstate |
|
12 |
55 |
393 |
2 |
| mfi_ioctl_patrol |
|
30 |
117 |
623 |
2 |
| mfi_bio_hs |
|
9 |
74 |
574 |
4 |
| mfi_bbu |
|
16 |
57 |
482 |
1 |
| mfi_create_sensors |
|
8 |
61 |
586 |
1 |
| mfi_refresh_sensors |
|
10 |
37 |
230 |
1 |
| mfi_start |
|
1 |
7 |
47 |
2 |
| mfi_done |
|
3 |
14 |
101 |
2 |
| mfi_xscale_fw_state |
|
1 |
4 |
19 |
1 |
| mfi_xscale_intr_ena |
|
1 |
4 |
18 |
1 |
| mfi_xscale_intr |
|
2 |
9 |
50 |
1 |
| mfi_xscale_post |
|
1 |
5 |
34 |
2 |
| mfi_ppc_fw_state |
|
1 |
4 |
19 |
1 |
| mfi_ppc_intr_ena |
|
1 |
5 |
27 |
1 |
| mfi_ppc_intr |
|
2 |
9 |
50 |
1 |
| mfi_ppc_post |
|
1 |
5 |
36 |
2 |
| mfi_gen2_fw_state |
|
1 |
4 |
19 |
1 |
| mfi_gen2_intr_ena |
|
1 |
5 |
27 |
1 |
| mfi_gen2_intr |
|
2 |
9 |
50 |
1 |
| mfi_gen2_post |
|
1 |
5 |
36 |
2 |
| mfi_skinny_fw_state |
|
1 |
4 |
19 |
1 |
| mfi_skinny_intr_ena |
|
1 |
4 |
18 |
1 |
| mfi_skinny_intr |
|
2 |
9 |
50 |
1 |
| mfi_skinny_post |
|
1 |
6 |
45 |
2 |
| mfi_skinny_sgd_load |
|
5 |
21 |
169 |
2 |
| mfi_pd_scsi_probe |
|
5 |
18 |
140 |
1 |
| mfi_pd_scsi_cmd |
|
7 |
47 |
342 |
1 |
| Source file: ./sys/dev/ic/z8530sc.h |
| Source file: ./sys/dev/ic/bt463.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bt463_funcs |
|
1 |
4 |
10 |
1 |
| bt463_init |
|
5 |
31 |
307 |
1 |
| bt463_set_cmap |
|
6 |
29 |
213 |
2 |
| bt463_get_cmap |
|
5 |
20 |
147 |
2 |
| bt463_check_curcmap |
|
6 |
19 |
154 |
2 |
| bt463_set_curcmap |
|
1 |
14 |
125 |
2 |
| bt463_get_curcmap |
|
7 |
25 |
168 |
2 |
| bt463_store |
|
1 |
8 |
45 |
1 |
| bt463_readback |
|
1 |
7 |
39 |
1 |
| bt463_debug |
|
3 |
20 |
126 |
1 |
| bt463_copyback |
|
2 |
12 |
103 |
1 |
| bt463_wraddr |
|
1 |
7 |
51 |
2 |
| bt463_update |
|
8 |
38 |
287 |
1 |
| bt463_set_cursor |
|
1 |
7 |
40 |
2 |
| bt463_get_cursor |
|
1 |
7 |
40 |
2 |
| bt463_set_curpos |
|
1 |
7 |
40 |
2 |
| bt463_get_curpos |
|
1 |
7 |
40 |
2 |
| bt463_get_curmax |
|
1 |
7 |
40 |
2 |
| Source file: ./sys/dev/ic/slireg.h |
| Source file: ./sys/dev/ic/rtl81x9.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rl_eeprom_putbyte |
|
3 |
16 |
97 |
3 |
| rl_eeprom_getword |
|
3 |
19 |
129 |
4 |
| rl_read_eeprom |
|
3 |
14 |
98 |
6 |
| rl_mii_sync |
|
2 |
11 |
54 |
1 |
| rl_mii_send |
|
3 |
15 |
84 |
3 |
| rl_mii_readreg |
|
7 |
55 |
323 |
2 |
| rl_mii_writereg |
|
1 |
23 |
152 |
2 |
| rl_iff |
|
6 |
38 |
260 |
1 |
| rl_reset |
|
4 |
12 |
74 |
1 |
| rl_list_tx_init |
|
2 |
13 |
85 |
1 |
| rl_rxeof |
|
13 |
84 |
557 |
1 |
| rl_txeof |
|
11 |
40 |
276 |
1 |
| rl_intr |
|
11 |
28 |
178 |
1 |
| rl_encap |
|
6 |
37 |
269 |
2 |
| rl_start |
|
8 |
28 |
184 |
1 |
| rl_init |
|
1 |
31 |
247 |
1 |
| rl_ifmedia_upd |
|
1 |
6 |
36 |
1 |
| rl_ifmedia_sts |
|
1 |
7 |
51 |
2 |
| rl_ioctl |
|
11 |
38 |
210 |
3 |
| rl_watchdog |
|
1 |
9 |
49 |
1 |
| rl_stop |
|
3 |
25 |
188 |
1 |
| rl_attach |
|
9 |
88 |
766 |
1 |
| rl_activate |
|
5 |
21 |
110 |
2 |
| rl_miibus_readreg |
|
11 |
39 |
180 |
3 |
| rl_miibus_writereg |
|
10 |
37 |
162 |
4 |
| rl_miibus_statchg |
|
1 |
3 |
9 |
1 |
| rl_tick |
|
1 |
9 |
47 |
1 |
| rl_detach |
|
2 |
11 |
82 |
1 |
| Source file: ./sys/dev/ic/atwvar.h |
| Source file: ./sys/dev/ic/tireg.h |
| Source file: ./sys/dev/ic/dc503reg.h |
| Source file: ./sys/dev/ic/pgt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pgt_write_memory_barrier |
|
1 |
5 |
26 |
1 |
| pgt_read_4 |
|
1 |
4 |
28 |
2 |
| pgt_write_4 |
|
1 |
4 |
30 |
3 |
| pgt_write_4_flush |
|
1 |
5 |
46 |
3 |
| pgt_debug_events |
|
2 |
7 |
67 |
2 |
| pgt_queue_frags_pending |
|
1 |
5 |
40 |
2 |
| pgt_reinit_rx_desc_frag |
|
1 |
8 |
70 |
2 |
| pgt_load_tx_desc_frag |
|
3 |
20 |
158 |
3 |
| pgt_unload_tx_desc_frag |
|
1 |
5 |
31 |
2 |
| pgt_load_firmware |
|
7 |
69 |
388 |
1 |
| pgt_cleanup_queue |
|
3 |
20 |
133 |
3 |
| pgt_reset |
|
3 |
42 |
294 |
1 |
| pgt_stop |
|
13 |
70 |
417 |
2 |
| pgt_attach |
|
7 |
37 |
235 |
1 |
| pgt_detach |
|
4 |
14 |
88 |
1 |
| pgt_reboot |
|
1 |
17 |
94 |
1 |
| pgt_init_intr |
|
3 |
11 |
61 |
1 |
| pgt_update_intr |
|
19 |
87 |
590 |
2 |
| pgt_ieee80211_encap |
|
16 |
76 |
573 |
4 |
| pgt_input_frames |
|
18 |
116 |
774 |
2 |
| pgt_wakeup_intr |
|
7 |
26 |
155 |
1 |
| pgt_sleep_intr |
|
8 |
26 |
164 |
1 |
| pgt_empty_traps |
|
2 |
11 |
65 |
1 |
| pgt_per_device_kthread |
|
8 |
39 |
255 |
1 |
| pgt_async_reset |
|
2 |
7 |
39 |
1 |
| pgt_async_update |
|
2 |
7 |
35 |
1 |
| pgt_intr |
|
14 |
43 |
256 |
1 |
| pgt_txdone |
|
4 |
26 |
193 |
2 |
| pgt_rxdone |
|
4 |
19 |
168 |
2 |
| pgt_trap_received |
|
6 |
34 |
220 |
4 |
| pgt_mgmtrx_completion |
|
23 |
106 |
698 |
2 |
| pgt_datarx_completion |
|
11 |
64 |
433 |
2 |
| pgt_oid_get |
|
5 |
17 |
116 |
4 |
| pgt_oid_retrieve |
|
5 |
18 |
122 |
4 |
| pgt_oid_set |
|
5 |
17 |
117 |
4 |
| pgt_state_dump |
|
1 |
27 |
222 |
1 |
| pgt_mgmt_request |
|
16 |
66 |
458 |
2 |
| pgt_desc_transmit |
|
4 |
27 |
228 |
5 |
| pgt_maybe_trigger |
|
8 |
34 |
197 |
2 |
| pgt_ieee80211_node_alloc |
|
2 |
9 |
53 |
1 |
| pgt_ieee80211_newassoc |
|
1 |
5 |
22 |
3 |
| pgt_ieee80211_node_free |
|
1 |
6 |
37 |
2 |
| pgt_ieee80211_node_copy |
|
1 |
9 |
63 |
3 |
| pgt_ieee80211_send_mgmt |
|
1 |
5 |
28 |
5 |
| pgt_net_attach |
|
29 |
132 |
1029 |
1 |
| pgt_media_change |
|
2 |
11 |
54 |
1 |
| pgt_media_status |
|
12 |
51 |
280 |
2 |
| pgt_start |
|
22 |
111 |
726 |
1 |
| pgt_ioctl |
|
24 |
127 |
887 |
3 |
| pgt_obj_bss2scanres |
|
5 |
28 |
262 |
4 |
| node_mark_active_ap |
|
1 |
4 |
19 |
2 |
| node_mark_active_adhoc |
|
2 |
7 |
43 |
2 |
| pgt_watchdog |
|
11 |
35 |
191 |
1 |
| pgt_init |
|
2 |
14 |
102 |
1 |
| pgt_update_hw_from_sw |
|
35 |
208 |
1439 |
3 |
| pgt_hostap_handle_mlme |
|
7 |
30 |
179 |
3 |
| pgt_update_sw_from_hw |
|
24 |
93 |
645 |
3 |
| pgt_newstate |
|
7 |
33 |
194 |
3 |
| pgt_drain_tx_queue |
|
4 |
28 |
220 |
2 |
| pgt_dma_alloc |
|
17 |
91 |
593 |
1 |
| pgt_dma_alloc_queue |
|
13 |
70 |
418 |
2 |
| pgt_dma_free |
|
4 |
23 |
155 |
1 |
| pgt_dma_free_queue |
|
3 |
14 |
112 |
2 |
| pgt_activate |
|
5 |
20 |
123 |
2 |
| pgt_wakeup |
|
3 |
12 |
81 |
1 |
| Source file: ./sys/dev/ic/tea5757.h |
| Source file: ./sys/dev/ic/i82365reg.h |
| Source file: ./sys/dev/ic/ics2101reg.h |
| Source file: ./sys/dev/ic/vgavar.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _vga_attr_read |
|
1 |
10 |
75 |
2 |
| _vga_attr_write |
|
1 |
8 |
70 |
3 |
| _vga_ts_read |
|
1 |
5 |
31 |
2 |
| _vga_ts_write |
|
1 |
5 |
33 |
3 |
| _vga_gdc_read |
|
1 |
5 |
31 |
2 |
| _vga_gdc_write |
|
1 |
5 |
33 |
3 |
| Source file: ./sys/dev/ic/gemvar.h |
| Source file: ./sys/dev/ic/atwreg.h |
| Source file: ./sys/dev/ic/siop.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| siop_table_sync |
|
1 |
12 |
73 |
2 |
| siop_script_sync |
|
2 |
8 |
51 |
2 |
| siop_script_read |
|
2 |
11 |
69 |
2 |
| siop_script_write |
|
2 |
12 |
76 |
3 |
| siop_attach |
|
4 |
27 |
219 |
1 |
| siop_reset |
|
17 |
94 |
823 |
1 |
| siop_intr |
|
121 |
638 |
3772 |
1 |
| siop_scsicmd_end |
|
18 |
95 |
715 |
1 |
| siop_handle_qtag_reject |
|
4 |
30 |
257 |
1 |
| siop_handle_reset |
|
15 |
83 |
627 |
1 |
| siop_cmd_get |
|
4 |
16 |
92 |
1 |
| siop_cmd_put |
|
1 |
10 |
60 |
2 |
| siop_scsiprobe |
|
8 |
49 |
350 |
1 |
| siop_scsicmd |
|
20 |
82 |
631 |
1 |
| siop_start |
|
31 |
126 |
855 |
1 |
| siop_timeout |
|
1 |
16 |
106 |
1 |
| siop_dump_script |
|
3 |
17 |
136 |
1 |
| siop_morecbd |
|
12 |
125 |
1206 |
1 |
| siop_get_lunsw |
|
8 |
42 |
338 |
1 |
| siop_add_reselsw |
|
9 |
41 |
273 |
2 |
| siop_update_scntl3 |
|
1 |
13 |
102 |
2 |
| siop_add_dev |
|
12 |
68 |
530 |
3 |
| siop_scsifree |
|
5 |
26 |
211 |
1 |
| siop_printstats |
|
1 |
11 |
62 |
1 |
| siop_dmamem_alloc |
|
6 |
31 |
260 |
2 |
| siop_dmamem_free |
|
1 |
8 |
84 |
2 |
| Source file: ./sys/dev/ic/aic7xxx_openbsd.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ahc_timer_reset |
|
1 |
4 |
36 |
4 |
| ahc_scb_timer_reset |
|
2 |
7 |
49 |
2 |
| ahc_flush_device_writes |
|
1 |
6 |
35 |
1 |
| ahc_set_transaction_status |
|
1 |
4 |
20 |
2 |
| ahc_set_scsi_status |
|
1 |
4 |
20 |
2 |
| ahc_get_transaction_status |
|
2 |
7 |
30 |
1 |
| ahc_get_scsi_status |
|
1 |
4 |
18 |
1 |
| ahc_set_transaction_tag |
|
1 |
3 |
15 |
3 |
| ahc_get_transfer_length |
|
1 |
4 |
18 |
1 |
| ahc_get_transfer_dir |
|
1 |
4 |
24 |
1 |
| ahc_set_residual |
|
1 |
4 |
20 |
2 |
| ahc_set_sense_residual |
|
1 |
4 |
20 |
2 |
| ahc_get_residual |
|
1 |
4 |
18 |
1 |
| ahc_perform_autosense |
|
1 |
4 |
14 |
1 |
| ahc_get_sense_bufsize |
|
1 |
4 |
23 |
2 |
| ahc_freeze_scb |
|
1 |
3 |
9 |
1 |
| ahc_platform_freeze_devq |
|
1 |
3 |
14 |
2 |
| ahc_platform_abort_scbs |
|
1 |
6 |
32 |
7 |
| ahc_platform_scb_free |
|
2 |
10 |
58 |
2 |
| ahc_pci_read_config |
|
1 |
4 |
29 |
3 |
| ahc_pci_write_config |
|
1 |
4 |
31 |
4 |
| ahc_get_pci_function |
|
1 |
4 |
14 |
1 |
| ahc_get_pci_slot |
|
1 |
4 |
14 |
1 |
| ahc_get_pci_bus |
|
1 |
4 |
14 |
1 |
| ahc_print_path |
|
1 |
4 |
23 |
2 |
| ahc_platform_dump_card_state |
|
1 |
5 |
30 |
1 |
| ahc_platform_flushwork |
|
1 |
3 |
9 |
1 |
| Source file: ./sys/dev/ic/mfivar.h |
| Source file: ./sys/dev/ic/pgtreg.h |
| Source file: ./sys/dev/ic/rtwn.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rtwn_attach |
|
17 |
84 |
559 |
2 |
| rtwn_detach |
|
2 |
13 |
73 |
2 |
| rtwn_activate |
|
4 |
14 |
63 |
2 |
| rtwn_write_1 |
|
1 |
4 |
32 |
3 |
| rtwn_write_2 |
|
1 |
4 |
32 |
3 |
| rtwn_write_4 |
|
1 |
4 |
32 |
3 |
| rtwn_read_1 |
|
1 |
4 |
28 |
2 |
| rtwn_read_2 |
|
1 |
4 |
28 |
2 |
| rtwn_read_4 |
|
1 |
4 |
28 |
2 |
| rtwn_fw_cmd |
|
6 |
28 |
232 |
4 |
| rtwn_rf_write |
|
2 |
10 |
67 |
4 |
| rtwn_rf_read |
|
3 |
22 |
181 |
3 |
| rtwn_cam_write |
|
1 |
7 |
42 |
3 |
| rtwn_efuse_read_1 |
|
3 |
18 |
114 |
2 |
| rtwn_efuse_read |
|
12 |
44 |
310 |
3 |
| rtwn_efuse_switch_power |
|
4 |
20 |
116 |
1 |
| rtwn_read_chipid |
|
8 |
28 |
155 |
1 |
| rtwn_read_rom |
|
2 |
7 |
28 |
1 |
| rtwn_r92c_read_rom |
|
1 |
14 |
131 |
1 |
| rtwn_r88e_read_rom |
|
1 |
12 |
104 |
1 |
| rtwn_media_change |
|
3 |
13 |
67 |
1 |
| rtwn_ra_init |
|
14 |
62 |
427 |
1 |
| rtwn_r92c_ra_init |
|
3 |
29 |
204 |
6 |
| rtwn_r88e_ra_init |
|
3 |
12 |
86 |
6 |
| rtwn_tsf_sync_enable |
|
1 |
17 |
138 |
1 |
| rtwn_set_led |
|
8 |
33 |
196 |
3 |
| rtwn_set_nettype |
|
3 |
16 |
64 |
2 |
| rtwn_calib |
|
2 |
13 |
97 |
1 |
| rtwn_next_scan |
|
2 |
9 |
49 |
1 |
| rtwn_newstate |
|
13 |
102 |
728 |
3 |
| rtwn_update_short_preamble |
|
2 |
8 |
37 |
1 |
| rtwn_r92c_update_short_preamble |
|
2 |
10 |
49 |
1 |
| rtwn_r88e_update_short_preamble |
|
2 |
10 |
49 |
1 |
| rtwn_updateslot |
|
2 |
11 |
59 |
1 |
| rtwn_updateedca |
|
7 |
44 |
217 |
1 |
| rtwn_set_key |
|
8 |
49 |
315 |
3 |
| rtwn_delete_key |
|
5 |
17 |
124 |
3 |
| rtwn_update_avgrssi |
|
13 |
32 |
208 |
3 |
| rtwn_get_rssi |
|
4 |
25 |
193 |
3 |
| rtwn_r88e_get_rssi |
|
5 |
20 |
170 |
3 |
| rtwn_start |
|
14 |
39 |
259 |
1 |
| rtwn_watchdog |
|
3 |
15 |
84 |
1 |
| rtwn_ioctl |
|
15 |
51 |
307 |
3 |
| rtwn_fw_reset |
|
2 |
7 |
28 |
1 |
| rtwn_r92c_fw_reset |
|
4 |
17 |
102 |
1 |
| rtwn_r88e_fw_reset |
|
1 |
11 |
81 |
1 |
| rtwn_load_firmware |
|
17 |
93 |
634 |
1 |
| rtwn_rf_init |
|
10 |
58 |
461 |
1 |
| rtwn_cam_init |
|
1 |
5 |
20 |
1 |
| rtwn_pa_bias_init |
|
4 |
18 |
132 |
1 |
| rtwn_rxfilter_init |
|
1 |
12 |
83 |
1 |
| rtwn_edca_init |
|
4 |
23 |
171 |
1 |
| rtwn_rate_fallback_init |
|
4 |
16 |
131 |
1 |
| rtwn_usb_aggr_init |
|
3 |
19 |
128 |
1 |
| rtwn_write_txpower |
|
3 |
56 |
574 |
3 |
| rtwn_get_txpower |
|
2 |
8 |
63 |
5 |
| rtwn_r92c_get_txpower |
|
26 |
80 |
653 |
5 |
| rtwn_r88e_get_txpower |
|
15 |
50 |
363 |
5 |
| rtwn_set_txpower |
|
2 |
10 |
67 |
3 |
| rtwn_set_chan |
|
10 |
58 |
482 |
3 |
| rtwn_iq_calib_chain |
|
9 |
40 |
371 |
4 |
| rtwn_iq_calib_run |
|
21 |
120 |
1019 |
5 |
| rtwn_iq_calib_compare_results |
|
12 |
21 |
253 |
5 |
| rtwn_iq_calib_write_results |
|
10 |
60 |
499 |
4 |
| rtwn_iq_calib |
|
6 |
22 |
200 |
1 |
| rtwn_lc_calib |
|
5 |
28 |
210 |
1 |
| rtwn_temp_calib |
|
5 |
23 |
140 |
1 |
| rtwn_enable_intr |
|
5 |
27 |
145 |
1 |
| rtwn_disable_intr |
|
3 |
16 |
93 |
1 |
| rtwn_init |
|
24 |
130 |
934 |
1 |
| rtwn_init_task |
|
3 |
16 |
109 |
1 |
| rtwn_stop |
|
1 |
20 |
151 |
1 |
| Source file: ./sys/dev/ic/aic6915.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sf_reg_read |
|
2 |
10 |
70 |
2 |
| sf_reg_write |
|
2 |
11 |
73 |
3 |
| sf_attach |
|
19 |
120 |
931 |
1 |
| sf_start |
|
15 |
89 |
625 |
1 |
| sf_watchdog |
|
1 |
8 |
47 |
1 |
| sf_ioctl |
|
13 |
44 |
260 |
3 |
| sf_intr |
|
13 |
46 |
237 |
1 |
| sf_txintr |
|
6 |
39 |
260 |
1 |
| sf_rxintr |
|
8 |
74 |
502 |
1 |
| sf_tick |
|
1 |
10 |
52 |
1 |
| sf_stats_update |
|
2 |
22 |
158 |
1 |
| sf_reset |
|
4 |
18 |
105 |
1 |
| sf_macreset |
|
1 |
6 |
38 |
1 |
| sf_init |
|
8 |
99 |
728 |
1 |
| sf_rxdrain |
|
3 |
13 |
76 |
1 |
| sf_stop |
|
4 |
24 |
157 |
2 |
| sf_read_eeprom |
|
1 |
6 |
50 |
2 |
| sf_add_rxbuf |
|
5 |
29 |
199 |
2 |
| sf_set_filter_perfect |
|
1 |
10 |
125 |
3 |
| sf_set_filter_hash |
|
1 |
9 |
80 |
2 |
| sf_set_filter |
|
8 |
42 |
277 |
1 |
| sf_mii_read |
|
5 |
17 |
111 |
3 |
| sf_mii_write |
|
3 |
13 |
99 |
4 |
| sf_mii_statchg |
|
2 |
15 |
83 |
1 |
| sf_mediastatus |
|
1 |
7 |
51 |
2 |
| sf_mediachange |
|
2 |
7 |
39 |
1 |
| Source file: ./sys/dev/ic/lemacreg.h |
| Source file: ./sys/dev/ic/lemacvar.h |
| Source file: ./sys/dev/ic/bwfmvar.h |
| Source file: ./sys/dev/ic/si4136reg.h |
| Source file: ./sys/dev/ic/aic6250.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| aic6250_attach |
|
2 |
22 |
183 |
1 |
| aic6250_reset |
|
1 |
18 |
218 |
1 |
| aic6250_scsi_reset |
|
1 |
8 |
53 |
1 |
| aic6250_init |
|
8 |
54 |
407 |
1 |
| aic6250_acb_free |
|
1 |
9 |
60 |
2 |
| aic6250_acb_alloc |
|
2 |
13 |
73 |
1 |
| aic6250_scsi_cmd |
|
6 |
38 |
269 |
1 |
| aic6250_minphys |
|
2 |
7 |
50 |
2 |
| aic6250_poll |
|
19 |
50 |
302 |
3 |
| aic6250_ack |
|
2 |
9 |
83 |
1 |
| aic6250_sched_msgout |
|
2 |
7 |
44 |
2 |
| aic6250_setsync |
|
3 |
10 |
78 |
2 |
| aic6250_select |
|
1 |
19 |
154 |
2 |
| aic6250_reselect |
|
7 |
50 |
326 |
2 |
| aic6250_sched |
|
2 |
29 |
205 |
1 |
| aic6250_sense |
|
4 |
27 |
223 |
2 |
| aic6250_done |
|
11 |
39 |
271 |
2 |
| aic6250_dequeue |
|
2 |
8 |
51 |
2 |
| aic6250_msgin |
|
48 |
195 |
1147 |
1 |
| aic6250_msgout |
|
23 |
107 |
658 |
1 |
| aic6250_dataout_pio |
|
5 |
22 |
151 |
4 |
| aic6250_datain_pio |
|
5 |
22 |
151 |
4 |
| aic6250_intr |
|
64 |
276 |
1767 |
1 |
| aic6250_seltimeout |
|
2 |
23 |
145 |
1 |
| aic6250_abort |
|
4 |
14 |
86 |
2 |
| aic6250_timeout |
|
2 |
19 |
104 |
1 |
| aic6250_show_scsi_cmd |
|
4 |
16 |
104 |
1 |
| aic6250_print_acb |
|
1 |
7 |
46 |
1 |
| aic6250_print_active_acb |
|
2 |
14 |
85 |
1 |
| aic6250_dump_driver |
|
2 |
15 |
124 |
1 |
| Source file: ./sys/dev/ic/atxxreg.h |
| Source file: ./sys/dev/ic/elink3var.h |
| Source file: ./sys/dev/ic/mtd8xxvar.h |
| Source file: ./sys/dev/ic/ad1843reg.h |
| Source file: ./sys/dev/ic/acx111.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| acx111_set_param |
|
1 |
25 |
151 |
1 |
| acx111_init |
|
3 |
15 |
80 |
1 |
| acx111_init_memory |
|
3 |
31 |
218 |
1 |
| acx111_init_fw_txring |
|
2 |
17 |
111 |
2 |
| acx111_write_config |
|
4 |
27 |
181 |
2 |
| acx111_set_fw_txdesc_rate |
|
2 |
9 |
55 |
3 |
| acx111_set_bss_join_param |
|
1 |
6 |
38 |
3 |
| Source file: ./sys/dev/ic/xl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| xl_activate |
|
6 |
25 |
129 |
2 |
| xl_wait |
|
4 |
10 |
60 |
1 |
| xl_mii_sync |
|
2 |
14 |
69 |
1 |
| xl_mii_send |
|
3 |
15 |
83 |
3 |
| xl_mii_readreg |
|
7 |
45 |
273 |
2 |
| xl_mii_writereg |
|
1 |
22 |
147 |
2 |
| xl_miibus_readreg |
|
3 |
12 |
89 |
3 |
| xl_miibus_writereg |
|
3 |
12 |
88 |
4 |
| xl_miibus_statchg |
|
2 |
11 |
73 |
1 |
| xl_eeprom_wait |
|
4 |
15 |
75 |
1 |
| xl_read_eeprom |
|
8 |
28 |
186 |
5 |
| xl_iff |
|
2 |
7 |
28 |
1 |
| xl_iff_90x |
|
4 |
21 |
127 |
1 |
| xl_iff_905b |
|
6 |
37 |
226 |
1 |
| xl_setcfg |
|
4 |
14 |
88 |
1 |
| xl_setmode |
|
13 |
80 |
469 |
2 |
| xl_reset |
|
9 |
31 |
199 |
1 |
| xl_mediacheck |
|
5 |
24 |
126 |
1 |
| xl_choose_xcvr |
|
35 |
82 |
382 |
2 |
| xl_list_tx_init |
|
3 |
18 |
135 |
1 |
| xl_list_tx_init_90xB |
|
4 |
30 |
228 |
1 |
| xl_list_rx_init |
|
3 |
25 |
193 |
1 |
| xl_fill_rx_ring |
|
3 |
13 |
82 |
1 |
| xl_newbuf |
|
4 |
35 |
295 |
2 |
| xl_rxeof |
|
15 |
66 |
429 |
1 |
| xl_txeof |
|
8 |
42 |
291 |
1 |
| xl_txeof_90xB |
|
7 |
30 |
203 |
1 |
| xl_txeoc |
|
13 |
53 |
329 |
1 |
| xl_intr |
|
12 |
40 |
229 |
1 |
| xl_stats_update |
|
6 |
29 |
190 |
1 |
| xl_encap |
|
15 |
75 |
530 |
3 |
| xl_start |
|
12 |
67 |
447 |
1 |
| xl_start_90xB |
|
10 |
43 |
288 |
1 |
| xl_init |
|
14 |
102 |
719 |
1 |
| xl_ifmedia_upd |
|
10 |
31 |
155 |
1 |
| xl_ifmedia_sts |
|
15 |
57 |
306 |
2 |
| xl_ioctl |
|
14 |
50 |
283 |
3 |
| xl_watchdog |
|
3 |
19 |
113 |
1 |
| xl_freetxrx |
|
7 |
31 |
287 |
1 |
| xl_stop |
|
3 |
27 |
197 |
1 |
| xl_wol_power |
|
3 |
7 |
43 |
1 |
| xl_attach |
|
43 |
209 |
1460 |
1 |
| xl_detach |
|
2 |
13 |
88 |
1 |
| xl_wol |
|
3 |
15 |
86 |
2 |
| Source file: ./sys/dev/ic/trm.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| trm_srb_alloc |
|
3 |
13 |
88 |
1 |
| trm_RewaitSRB |
|
3 |
19 |
128 |
2 |
| trm_StartWaitingSRB |
|
6 |
22 |
154 |
1 |
| trm_scsi_cmd |
|
19 |
111 |
757 |
1 |
| trm_ResetAllDevParam |
|
6 |
15 |
144 |
1 |
| trm_ResetDevParam |
|
9 |
27 |
248 |
3 |
| trm_RecoverSRB |
|
2 |
10 |
68 |
1 |
| trm_reset |
|
2 |
25 |
173 |
1 |
| trm_timeout |
|
4 |
22 |
125 |
1 |
| trm_StartSRB |
|
18 |
68 |
617 |
2 |
| trm_Interrupt |
|
9 |
39 |
282 |
1 |
| trm_MsgOutPhase0 |
|
3 |
11 |
43 |
3 |
| trm_MsgOutPhase1 |
|
8 |
42 |
377 |
3 |
| trm_CommandPhase1 |
|
1 |
10 |
96 |
3 |
| trm_DataOutPhase0 |
|
12 |
64 |
342 |
3 |
| trm_DataOutPhase1 |
|
1 |
4 |
27 |
3 |
| trm_DataInPhase0 |
|
9 |
44 |
236 |
3 |
| trm_DataInPhase1 |
|
1 |
4 |
27 |
3 |
| trm_DataIO_transfer |
|
8 |
44 |
291 |
3 |
| trm_StatusPhase0 |
|
1 |
10 |
80 |
3 |
| trm_StatusPhase1 |
|
6 |
31 |
204 |
3 |
| trm_MsgInPhase0 |
|
39 |
148 |
989 |
3 |
| trm_MsgInPhase1 |
|
1 |
9 |
78 |
3 |
| trm_Nop |
|
1 |
3 |
18 |
3 |
| trm_SetXferParams |
|
5 |
19 |
130 |
3 |
| trm_Disconnect |
|
10 |
48 |
239 |
1 |
| trm_Reselect |
|
10 |
49 |
358 |
1 |
| trm_FinishSRB |
|
42 |
138 |
837 |
2 |
| trm_srb_reinit |
|
1 |
16 |
125 |
2 |
| trm_srb_free |
|
2 |
11 |
75 |
2 |
| trm_GoingSRB_Done |
|
4 |
13 |
80 |
2 |
| trm_ResetSCSIBus |
|
2 |
12 |
74 |
1 |
| trm_ScsiRstDetect |
|
4 |
22 |
131 |
1 |
| trm_RequestSense |
|
4 |
20 |
206 |
2 |
| trm_EnableMsgOut |
|
1 |
6 |
42 |
2 |
| trm_linkSRB |
|
6 |
31 |
218 |
1 |
| trm_minphys |
|
2 |
7 |
53 |
2 |
| trm_initACB |
|
8 |
48 |
381 |
2 |
| trm_write_all |
|
2 |
18 |
158 |
3 |
| trm_set_data |
|
5 |
34 |
240 |
4 |
| trm_read_all |
|
2 |
12 |
100 |
3 |
| trm_get_data |
|
3 |
20 |
135 |
3 |
| trm_wait_30us |
|
2 |
6 |
39 |
2 |
| trm_write_cmd |
|
5 |
29 |
190 |
4 |
| trm_check_eeprom |
|
8 |
43 |
326 |
3 |
| trm_initAdapter |
|
2 |
30 |
253 |
1 |
| trm_init |
|
6 |
42 |
292 |
2 |
| trm_print_info |
|
4 |
21 |
142 |
2 |
| Source file: ./sys/dev/ic/malo.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| malo_intr |
|
7 |
20 |
120 |
1 |
| malo_attach |
|
4 |
58 |
434 |
1 |
| malo_detach |
|
1 |
14 |
88 |
1 |
| malo_alloc_cmd |
|
5 |
36 |
305 |
1 |
| malo_free_cmd |
|
1 |
8 |
67 |
1 |
| malo_send_cmd |
|
1 |
7 |
47 |
2 |
| malo_send_cmd_dma |
|
4 |
23 |
145 |
2 |
| malo_alloc_rx_ring |
|
11 |
92 |
649 |
3 |
| malo_reset_rx_ring |
|
2 |
9 |
74 |
2 |
| malo_free_rx_ring |
|
6 |
28 |
218 |
2 |
| malo_alloc_tx_ring |
|
8 |
64 |
464 |
3 |
| malo_reset_tx_ring |
|
3 |
23 |
172 |
2 |
| malo_free_tx_ring |
|
6 |
29 |
224 |
2 |
| malo_init |
|
13 |
69 |
445 |
1 |
| malo_ioctl |
|
12 |
46 |
261 |
3 |
| malo_start |
|
18 |
43 |
289 |
1 |
| malo_stop |
|
3 |
16 |
128 |
1 |
| malo_watchdog |
|
1 |
3 |
9 |
1 |
| malo_newstate |
|
10 |
53 |
332 |
3 |
| malo_newassoc |
|
1 |
3 |
17 |
3 |
| malo_node_alloc |
|
2 |
8 |
52 |
1 |
| malo_media_change |
|
3 |
11 |
73 |
1 |
| malo_media_status |
|
9 |
35 |
155 |
2 |
| malo_chip2rate |
|
14 |
19 |
125 |
1 |
| malo_fix2rate |
|
13 |
18 |
116 |
1 |
| malo_next_scan |
|
2 |
12 |
75 |
1 |
| malo_tx_intr |
|
8 |
54 |
383 |
1 |
| malo_tx_mgt |
|
8 |
72 |
613 |
3 |
| malo_tx_data |
|
10 |
85 |
732 |
3 |
| malo_tx_setup_desc |
|
1 |
8 |
73 |
6 |
| malo_rx_intr |
|
10 |
100 |
784 |
1 |
| malo_load_bootimg |
|
5 |
38 |
266 |
1 |
| malo_load_firmware |
|
6 |
59 |
439 |
1 |
| malo_set_slot |
|
4 |
18 |
91 |
1 |
| malo_update_slot |
|
2 |
7 |
35 |
1 |
| malo_hexdump |
|
9 |
28 |
198 |
2 |
| malo_cmd_string |
|
3 |
26 |
173 |
1 |
| malo_cmd_string_result |
|
3 |
19 |
118 |
1 |
| malo_cmd_get_spec |
|
2 |
31 |
296 |
1 |
| malo_cmd_set_prescan |
|
1 |
11 |
83 |
1 |
| malo_cmd_set_postscan |
|
1 |
16 |
146 |
3 |
| malo_cmd_set_channel |
|
1 |
16 |
136 |
2 |
| malo_cmd_set_antenna |
|
2 |
19 |
155 |
2 |
| malo_cmd_set_radio |
|
1 |
18 |
151 |
3 |
| malo_cmd_set_aid |
|
1 |
16 |
149 |
3 |
| malo_cmd_set_txpower |
|
4 |
21 |
176 |
2 |
| malo_cmd_set_rts |
|
1 |
16 |
139 |
2 |
| malo_cmd_set_slot |
|
1 |
16 |
136 |
2 |
| malo_cmd_set_rate |
|
6 |
44 |
324 |
2 |
| malo_cmd_response |
|
4 |
16 |
99 |
1 |
| Source file: ./sys/dev/ic/aic79xx_inline.h |
| Source file: ./sys/dev/ic/i82596reg.h |
| Source file: ./sys/dev/ic/wd33c93reg.h |
| Source file: ./sys/dev/ic/twereg.h |
| Source file: ./sys/dev/ic/smc83c170.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| epic_attach |
|
22 |
159 |
1261 |
2 |
| epic_start |
|
20 |
103 |
703 |
1 |
| epic_watchdog |
|
1 |
7 |
42 |
1 |
| epic_ioctl |
|
9 |
34 |
194 |
3 |
| epic_intr |
|
27 |
146 |
937 |
1 |
| epic_tick |
|
1 |
9 |
47 |
1 |
| epic_fixup_clock_source |
|
2 |
7 |
40 |
1 |
| epic_reset |
|
1 |
9 |
59 |
1 |
| epic_init |
|
8 |
78 |
649 |
1 |
| epic_rxdrain |
|
3 |
13 |
75 |
1 |
| epic_stop |
|
4 |
30 |
204 |
2 |
| epic_read_eeprom |
|
8 |
48 |
414 |
4 |
| epic_add_rxbuf |
|
5 |
29 |
198 |
2 |
| epic_set_mchash |
|
5 |
33 |
280 |
1 |
| epic_mii_wait |
|
4 |
15 |
87 |
2 |
| epic_mii_read |
|
3 |
12 |
95 |
3 |
| epic_mii_write |
|
2 |
9 |
78 |
4 |
| epic_statchg |
|
4 |
20 |
150 |
1 |
| epic_mediastatus |
|
1 |
7 |
51 |
2 |
| epic_mediachange |
|
14 |
52 |
373 |
1 |
| Source file: ./sys/dev/ic/bt485.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bt485_funcs |
|
1 |
4 |
10 |
1 |
| bt485_init |
|
3 |
37 |
373 |
1 |
| bt485_set_cmap |
|
10 |
34 |
239 |
2 |
| bt485_get_cmap |
|
5 |
20 |
153 |
2 |
| bt485_set_cursor |
|
19 |
74 |
500 |
2 |
| bt485_get_cursor |
|
10 |
39 |
280 |
2 |
| bt485_set_curpos |
|
1 |
9 |
47 |
2 |
| bt485_get_curpos |
|
1 |
8 |
42 |
2 |
| bt485_get_curmax |
|
1 |
7 |
33 |
2 |
| bt485_wr_i |
|
1 |
8 |
47 |
3 |
| bt485_rd_i |
|
1 |
7 |
43 |
2 |
| bt485_update |
|
10 |
59 |
448 |
1 |
| bt485_update_curpos |
|
1 |
14 |
131 |
1 |
| Source file: ./sys/dev/ic/ar9287reg.h |
| Source file: ./sys/dev/ic/acxreg.h |
| Source file: ./sys/dev/ic/w83l518d.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wb_idx_read |
|
1 |
5 |
41 |
2 |
| wb_idx_write |
|
1 |
5 |
45 |
3 |
| wb_read |
|
1 |
4 |
26 |
2 |
| wb_write |
|
1 |
4 |
30 |
3 |
| wb_led |
|
2 |
10 |
46 |
2 |
| wb_attach |
|
5 |
14 |
42 |
1 |
| wb_detach |
|
2 |
9 |
35 |
2 |
| wb_intr |
|
2 |
10 |
37 |
1 |
| Source file: ./sys/dev/ic/mk48txx.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mk48txx_attach |
|
5 |
45 |
262 |
4 |
| mk48txx_gettime |
|
9 |
38 |
344 |
2 |
| mk48txx_settime |
|
3 |
32 |
293 |
2 |
| mk48txx_getcal |
|
1 |
6 |
20 |
2 |
| mk48txx_setcal |
|
1 |
6 |
19 |
2 |
| mk48txx_get_nvram_size |
|
1 |
8 |
36 |
2 |
| Source file: ./sys/dev/ic/smc83c170reg.h |
| Source file: ./sys/dev/ic/dl10019reg.h |
| Source file: ./sys/dev/ic/rt2860var.h |
| Source file: ./sys/dev/ic/re.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| re_set_bufaddr |
|
2 |
8 |
58 |
2 |
| re_eeprom_putbyte |
|
3 |
16 |
96 |
2 |
| re_eeprom_getword |
|
3 |
15 |
86 |
3 |
| re_read_eeprom |
|
2 |
15 |
118 |
4 |
| re_gmii_readreg |
|
6 |
25 |
151 |
3 |
| re_gmii_writereg |
|
4 |
17 |
120 |
4 |
| re_miibus_readreg |
|
12 |
52 |
242 |
3 |
| re_miibus_writereg |
|
10 |
45 |
195 |
4 |
| re_miibus_statchg |
|
7 |
25 |
139 |
1 |
| re_iff |
|
7 |
43 |
303 |
1 |
| re_reset |
|
5 |
14 |
91 |
1 |
| re_attach |
|
78 |
383 |
2480 |
2 |
| re_newbuf |
|
5 |
48 |
347 |
1 |
| re_tx_list_init |
|
2 |
17 |
128 |
1 |
| re_rx_list_init |
|
1 |
11 |
79 |
1 |
| re_rx_list_fill |
|
3 |
11 |
64 |
1 |
| re_rxeof |
|
32 |
111 |
767 |
1 |
| re_txeof |
|
8 |
44 |
299 |
1 |
| re_tick |
|
2 |
13 |
76 |
1 |
| re_intr |
|
13 |
50 |
293 |
1 |
| re_encap |
|
25 |
111 |
818 |
3 |
| re_txstart |
|
1 |
5 |
26 |
1 |
| re_start |
|
11 |
45 |
257 |
1 |
| re_init |
|
15 |
81 |
606 |
1 |
| re_ifmedia_upd |
|
1 |
6 |
31 |
1 |
| re_ifmedia_sts |
|
1 |
8 |
53 |
2 |
| re_ioctl |
|
12 |
42 |
245 |
3 |
| re_watchdog |
|
1 |
10 |
50 |
1 |
| re_stop |
|
15 |
68 |
495 |
1 |
| re_setup_hw_im |
|
1 |
8 |
41 |
1 |
| re_disable_hw_im |
|
2 |
5 |
26 |
1 |
| re_setup_sim_im |
|
2 |
12 |
72 |
1 |
| re_disable_sim_im |
|
2 |
8 |
42 |
1 |
| re_config_imtype |
|
4 |
21 |
95 |
2 |
| re_set_jumbo |
|
3 |
19 |
97 |
1 |
| re_setup_intr |
|
5 |
26 |
122 |
3 |
| re_wol |
|
5 |
37 |
256 |
2 |
| Source file: ./sys/dev/ic/rtl80x9var.h |
| Source file: ./sys/dev/ic/arcofi.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| arcofi_open |
|
2 |
9 |
50 |
2 |
| arcofi_close |
|
1 |
7 |
36 |
1 |
| arcofi_set_param |
|
8 |
41 |
205 |
5 |
| arcofi_set_params |
|
5 |
17 |
106 |
5 |
| arcofi_round_blocksize |
|
1 |
4 |
21 |
2 |
| arcofi_commit_settings |
|
15 |
58 |
515 |
1 |
| arcofi_start_input |
|
3 |
18 |
150 |
5 |
| arcofi_start_output |
|
3 |
18 |
150 |
5 |
| arcofi_halt_input |
|
2 |
13 |
84 |
1 |
| arcofi_halt_output |
|
2 |
13 |
84 |
1 |
| arcofi_gain_to_mi |
|
3 |
9 |
58 |
1 |
| arcofi_mi_to_gain |
|
3 |
9 |
56 |
1 |
| arcofi_portmask_to_cr3 |
|
9 |
21 |
84 |
1 |
| arcofi_cr3_to_portmask |
|
10 |
23 |
87 |
2 |
| arcofi_set_port |
|
20 |
61 |
314 |
2 |
| arcofi_get_port |
|
19 |
46 |
245 |
2 |
| arcofi_query_devinfo |
|
9 |
79 |
524 |
2 |
| arcofi_get_props |
|
1 |
4 |
11 |
1 |
| arcofi_hwintr |
|
19 |
68 |
403 |
1 |
| arcofi_swintr |
|
9 |
20 |
149 |
1 |
| arcofi_cmd |
|
5 |
46 |
285 |
3 |
| arcofi_attach |
|
5 |
37 |
339 |
2 |
| Source file: ./sys/dev/ic/cissvar.h |
| Source file: ./sys/dev/ic/twevar.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| twe_ccb::TAILQ_ENTRY |
|
1 |
5 |
18 |
1 |
| Source file: ./sys/dev/ic/aic6250var.h |
| Source file: ./sys/dev/ic/ti.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ti_eeprom_putbyte |
|
3 |
20 |
139 |
2 |
| ti_eeprom_getbyte |
|
7 |
40 |
254 |
3 |
| ti_read_eeprom |
|
4 |
12 |
83 |
4 |
| ti_mem_read |
|
3 |
21 |
130 |
4 |
| ti_mem_write |
|
3 |
22 |
133 |
4 |
| ti_mem_set |
|
3 |
17 |
111 |
3 |
| ti_loadfw |
|
8 |
50 |
337 |
1 |
| ti_cmd |
|
1 |
9 |
67 |
2 |
| ti_cmd_ext |
|
2 |
16 |
126 |
4 |
| ti_handle_events |
|
15 |
67 |
333 |
1 |
| ti_newbuf_std |
|
7 |
41 |
296 |
4 |
| ti_newbuf_mini |
|
7 |
40 |
285 |
4 |
| ti_newbuf_jumbo |
|
7 |
40 |
282 |
4 |
| ti_init_rx_ring_std |
|
3 |
12 |
73 |
1 |
| ti_free_rx_ring_std |
|
3 |
15 |
111 |
1 |
| ti_init_rx_ring_jumbo |
|
3 |
12 |
74 |
1 |
| ti_free_rx_ring_jumbo |
|
3 |
12 |
84 |
1 |
| ti_init_rx_ring_mini |
|
3 |
11 |
70 |
1 |
| ti_free_rx_ring_mini |
|
3 |
15 |
111 |
1 |
| ti_free_tx_ring |
|
4 |
21 |
167 |
1 |
| ti_init_tx_ring |
|
4 |
24 |
156 |
1 |
| ti_add_mcast |
|
3 |
22 |
189 |
2 |
| ti_del_mcast |
|
3 |
22 |
189 |
2 |
| ti_iff |
|
7 |
46 |
300 |
1 |
| ti_64bitslot_war |
|
4 |
18 |
100 |
1 |
| ti_chipinit |
|
7 |
44 |
239 |
1 |
| ti_chipinit_pci |
|
10 |
32 |
172 |
1 |
| ti_chipinit_sbus |
|
1 |
11 |
49 |
1 |
| ti_gibinit |
|
13 |
93 |
753 |
1 |
| ti_attach |
|
10 |
92 |
720 |
1 |
| ti_rxeof |
|
15 |
86 |
625 |
1 |
| ti_txeof_tigon1 |
|
4 |
31 |
228 |
1 |
| ti_txeof_tigon2 |
|
4 |
28 |
210 |
1 |
| ti_intr |
|
6 |
22 |
134 |
1 |
| ti_stats_update |
|
1 |
13 |
83 |
1 |
| ti_encap_tigon1 |
|
9 |
51 |
388 |
3 |
| ti_encap_tigon2 |
|
9 |
48 |
359 |
3 |
| ti_start |
|
8 |
32 |
194 |
1 |
| ti_init |
|
2 |
13 |
61 |
1 |
| ti_init2 |
|
4 |
37 |
280 |
1 |
| ti_ifmedia_upd |
|
13 |
54 |
305 |
1 |
| ti_ifmedia_sts |
|
13 |
41 |
226 |
2 |
| ti_ioctl |
|
11 |
38 |
209 |
3 |
| ti_watchdog |
|
1 |
9 |
46 |
1 |
| ti_stop |
|
1 |
21 |
130 |
1 |
| Source file: ./sys/dev/ic/ahcivar.h |
| Source file: ./sys/dev/ic/siopvar.h |
| Source file: ./sys/dev/ic/com.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| comspeed |
|
6 |
17 |
101 |
2 |
| comprobe1 |
|
4 |
16 |
95 |
2 |
| com_detach |
|
4 |
20 |
136 |
2 |
| com_activate |
|
8 |
29 |
152 |
2 |
| comopen |
|
40 |
145 |
1046 |
4 |
| comclose |
|
8 |
31 |
224 |
4 |
| compwroff |
|
8 |
35 |
259 |
1 |
| com_resume |
|
17 |
67 |
479 |
1 |
| com_raisedtr |
|
1 |
6 |
43 |
1 |
| comread |
|
1 |
6 |
61 |
3 |
| comwrite |
|
1 |
6 |
61 |
3 |
| comtty |
|
1 |
6 |
36 |
1 |
| tiocm_xxx2mcr |
|
3 |
9 |
47 |
1 |
| comioctl |
|
32 |
104 |
734 |
5 |
| comparam |
|
29 |
103 |
775 |
2 |
| comstart |
|
12 |
42 |
333 |
1 |
| comstop |
|
3 |
10 |
61 |
2 |
| comdiag |
|
3 |
17 |
97 |
1 |
| comsoft |
|
12 |
50 |
346 |
1 |
| comintr |
|
25 |
75 |
551 |
1 |
| com_common_getc |
|
2 |
11 |
75 |
2 |
| com_common_putc |
|
5 |
15 |
121 |
3 |
| cominit |
|
1 |
16 |
139 |
4 |
| comcnprobe |
|
6 |
18 |
109 |
1 |
| comcninit |
|
3 |
8 |
51 |
1 |
| comcnattach |
|
2 |
18 |
102 |
5 |
| comcngetc |
|
1 |
4 |
17 |
1 |
| comcnputc |
|
1 |
4 |
19 |
2 |
| comcnpollc |
|
1 |
3 |
10 |
2 |
| com_enable_debugport |
|
1 |
8 |
53 |
1 |
| com_attach_subr |
|
55 |
170 |
1215 |
1 |
| com_fifo_probe |
|
13 |
43 |
316 |
1 |
| Source file: ./sys/dev/ic/lsi64854.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| lsi64854_attach |
|
11 |
56 |
261 |
1 |
| lsi64854_reset |
|
13 |
56 |
303 |
1 |
| lsi64854_setup |
|
10 |
55 |
370 |
5 |
| lsi64854_scsi_intr |
|
20 |
80 |
584 |
1 |
| lsi64854_enet_intr |
|
6 |
29 |
190 |
1 |
| lsi64854_setup_pp |
|
9 |
50 |
328 |
5 |
| lsi64854_pp_intr |
|
6 |
44 |
288 |
1 |
| Source file: ./sys/dev/ic/monitors.h |
| Source file: ./sys/dev/ic/aac.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| aac_attach |
|
4 |
38 |
274 |
1 |
| aac_create_thread |
|
2 |
11 |
63 |
1 |
| aac_startup |
|
6 |
50 |
406 |
1 |
| aac_intr |
|
8 |
30 |
180 |
1 |
| aac_startio |
|
6 |
26 |
161 |
1 |
| aac_map_command |
|
4 |
20 |
129 |
1 |
| aac_command_thread |
|
12 |
66 |
400 |
1 |
| aac_complete |
|
5 |
29 |
162 |
1 |
| aac_bio_command |
|
9 |
93 |
614 |
2 |
| aac_bio_complete |
|
3 |
22 |
149 |
1 |
| aac_wait_command |
|
3 |
18 |
128 |
2 |
| aac_alloc_command |
|
1 |
10 |
57 |
1 |
| aac_scrub_command |
|
1 |
11 |
77 |
1 |
| aac_release_command |
|
1 |
9 |
56 |
2 |
| aac_alloc_commands |
|
10 |
70 |
513 |
1 |
| aac_free_commands |
|
4 |
19 |
156 |
1 |
| aac_map_command_sg |
|
8 |
44 |
371 |
4 |
| aac_unmap_command |
|
5 |
18 |
116 |
1 |
| aac_check_firmware |
|
11 |
42 |
279 |
1 |
| aac_init |
|
22 |
182 |
1202 |
1 |
| aac_sync_command |
|
7 |
32 |
192 |
7 |
| aac_alloc_sync_fib |
|
2 |
7 |
49 |
3 |
| aac_release_sync_fib |
|
1 |
4 |
17 |
1 |
| aac_sync_fib |
|
3 |
29 |
188 |
5 |
| aac_enqueue_fib |
|
4 |
26 |
198 |
3 |
| aac_dequeue_fib |
|
12 |
52 |
337 |
4 |
| aac_enqueue_response |
|
4 |
26 |
197 |
3 |
| aac_command_timeout |
|
3 |
20 |
123 |
1 |
| aac_timeout |
|
2 |
10 |
49 |
1 |
| aac_sa_get_fwstatus |
|
1 |
4 |
19 |
1 |
| aac_rx_get_fwstatus |
|
1 |
4 |
19 |
1 |
| aac_fa_get_fwstatus |
|
1 |
4 |
19 |
1 |
| aac_rkt_get_fwstatus |
|
1 |
4 |
19 |
1 |
| aac_sa_qnotify |
|
1 |
4 |
21 |
2 |
| aac_rx_qnotify |
|
1 |
4 |
21 |
2 |
| aac_fa_qnotify |
|
1 |
5 |
26 |
2 |
| aac_rkt_qnotify |
|
1 |
4 |
21 |
2 |
| aac_sa_get_istatus |
|
1 |
4 |
19 |
1 |
| aac_rx_get_istatus |
|
1 |
4 |
19 |
1 |
| aac_fa_get_istatus |
|
1 |
4 |
19 |
1 |
| aac_rkt_get_istatus |
|
1 |
4 |
19 |
1 |
| aac_sa_clear_istatus |
|
1 |
4 |
21 |
2 |
| aac_rx_clear_istatus |
|
1 |
4 |
21 |
2 |
| aac_fa_clear_istatus |
|
1 |
5 |
26 |
2 |
| aac_rkt_clear_istatus |
|
1 |
4 |
21 |
2 |
| aac_sa_set_mailbox |
|
1 |
9 |
77 |
6 |
| aac_rx_set_mailbox |
|
1 |
9 |
77 |
6 |
| aac_fa_set_mailbox |
|
1 |
14 |
102 |
6 |
| aac_rkt_set_mailbox |
|
1 |
9 |
77 |
6 |
| aac_sa_get_mailbox |
|
1 |
4 |
28 |
2 |
| aac_rx_get_mailbox |
|
1 |
4 |
28 |
2 |
| aac_fa_get_mailbox |
|
1 |
4 |
28 |
2 |
| aac_rkt_get_mailbox |
|
1 |
4 |
28 |
2 |
| aac_sa_set_interrupts |
|
3 |
9 |
60 |
2 |
| aac_rx_set_interrupts |
|
3 |
9 |
56 |
2 |
| aac_fa_set_interrupts |
|
3 |
12 |
74 |
2 |
| aac_rkt_set_interrupts |
|
3 |
9 |
56 |
2 |
| aac_eval_mapping |
|
3 |
20 |
106 |
4 |
| aac_copy_internal_data |
|
2 |
14 |
88 |
3 |
| aac_internal_cache_cmd |
|
8 |
59 |
404 |
1 |
| aac_scsi_cmd |
|
23 |
107 |
642 |
1 |
| aac_describe_controller |
|
2 |
27 |
202 |
1 |
| aac_describe_code |
|
3 |
8 |
66 |
2 |
| aac_print_fib |
|
7 |
65 |
366 |
3 |
| aac_print_aif |
|
55 |
225 |
1255 |
2 |
| Source file: ./sys/dev/ic/gdtreg.h |
| Source file: ./sys/dev/ic/mtd8xxreg.h |
| Source file: ./sys/dev/ic/slivar.h |
| Source file: ./sys/dev/ic/dl10019.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dl10019_mii_reset |
|
3 |
16 |
103 |
1 |
| dl10019_media_init |
|
2 |
18 |
158 |
1 |
| dl10019_media_fini |
|
1 |
4 |
21 |
1 |
| dl10019_mediachange |
|
1 |
5 |
22 |
1 |
| dl10019_mediastatus |
|
1 |
6 |
42 |
2 |
| dl10019_init_card |
|
1 |
5 |
22 |
1 |
| dl10019_stop_card |
|
1 |
4 |
17 |
1 |
| dl10019_mii_bitbang_read |
|
1 |
6 |
38 |
1 |
| dl10019_mii_bitbang_write |
|
1 |
8 |
66 |
2 |
| dl10019_mii_readreg |
|
2 |
8 |
62 |
3 |
| dl10019_mii_writereg |
|
2 |
8 |
64 |
4 |
| dl10019_mii_statchg |
|
3 |
14 |
78 |
1 |
| Source file: ./sys/dev/ic/osiopreg.h |
| Source file: ./sys/dev/ic/ar5211.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ar5k_ar5211_fill |
|
2 |
98 |
861 |
1 |
| ar5k_ar5211_attach |
|
2 |
27 |
184 |
5 |
| ar5k_ar5211_nic_reset |
|
3 |
16 |
92 |
2 |
| ar5k_ar5211_nic_wakeup |
|
9 |
45 |
229 |
2 |
| ar5k_ar5211_radio_revision |
|
4 |
24 |
163 |
2 |
| ar5k_ar5211_get_rate_table |
|
5 |
15 |
66 |
2 |
| ar5k_ar5211_detach |
|
1 |
4 |
18 |
1 |
| ar5k_ar5211_phy_disable |
|
1 |
5 |
21 |
1 |
| ar5k_ar5211_reset |
|
24 |
159 |
1143 |
5 |
| ar5k_ar5211_set_def_antenna |
|
1 |
4 |
19 |
2 |
| ar5k_ar5211_get_def_antenna |
|
1 |
4 |
15 |
1 |
| ar5k_ar5211_set_opmode |
|
5 |
26 |
102 |
1 |
| ar5k_ar5211_calibrate |
|
5 |
26 |
183 |
2 |
| ar5k_ar5211_update_tx_triglevel |
|
3 |
20 |
105 |
2 |
| ar5k_ar5211_setup_tx_queue |
|
9 |
28 |
174 |
3 |
| ar5k_ar5211_setup_tx_queueprops |
|
5 |
14 |
106 |
3 |
| ar5k_ar5211_get_tx_queueprops |
|
1 |
7 |
52 |
3 |
| ar5k_ar5211_release_tx_queue |
|
1 |
7 |
50 |
2 |
| ar5k_ar5211_reset_tx_queue |
|
19 |
130 |
713 |
2 |
| ar5k_ar5211_get_tx_buf |
|
1 |
5 |
36 |
2 |
| ar5k_ar5211_put_tx_buf |
|
2 |
8 |
57 |
3 |
| ar5k_ar5211_num_tx_pending |
|
1 |
5 |
35 |
2 |
| ar5k_ar5211_tx_start |
|
2 |
8 |
51 |
2 |
| ar5k_ar5211_stop_tx_dma |
|
3 |
13 |
79 |
2 |
| ar5k_ar5211_setup_tx_desc |
|
4 |
31 |
190 |
13 |
| ar5k_ar5211_fill_tx_desc |
|
5 |
17 |
108 |
5 |
| ar5k_ar5211_setup_xtx_desc |
|
1 |
6 |
37 |
8 |
| ar5k_ar5211_proc_tx_desc |
|
6 |
42 |
263 |
2 |
| ar5k_ar5211_has_veol |
|
1 |
4 |
14 |
1 |
| ar5k_ar5211_get_rx_buf |
|
1 |
4 |
17 |
1 |
| ar5k_ar5211_put_rx_buf |
|
1 |
4 |
19 |
2 |
| ar5k_ar5211_start_rx |
|
1 |
4 |
16 |
1 |
| ar5k_ar5211_stop_rx_dma |
|
4 |
10 |
59 |
1 |
| ar5k_ar5211_start_rx_pcu |
|
1 |
4 |
16 |
1 |
| ar5k_ar5211_stop_pcu_recv |
|
1 |
4 |
16 |
1 |
| ar5k_ar5211_set_mcast_filter |
|
1 |
6 |
29 |
3 |
| ar5k_ar5211_set_mcast_filterindex |
|
3 |
13 |
70 |
2 |
| ar5k_ar5211_clear_mcast_filter_idx |
|
3 |
13 |
70 |
2 |
| ar5k_ar5211_get_rx_filter |
|
1 |
4 |
17 |
1 |
| ar5k_ar5211_set_rx_filter |
|
1 |
4 |
19 |
2 |
| ar5k_ar5211_setup_rx_desc |
|
3 |
12 |
75 |
4 |
| ar5k_ar5211_proc_rx_desc |
|
7 |
49 |
294 |
4 |
| ar5k_ar5211_set_rx_signal |
|
1 |
3 |
9 |
1 |
| ar5k_ar5211_dump_state |
|
2 |
81 |
399 |
1 |
| ar5k_ar5211_get_diag_state |
|
1 |
5 |
25 |
4 |
| ar5k_ar5211_get_lladdr |
|
1 |
4 |
24 |
2 |
| ar5k_ar5211_set_lladdr |
|
1 |
10 |
65 |
2 |
| ar5k_ar5211_set_regdomain |
|
2 |
13 |
62 |
3 |
| ar5k_ar5211_set_ledstate |
|
6 |
27 |
86 |
2 |
| ar5k_ar5211_set_associd |
|
3 |
22 |
132 |
4 |
| ar5k_ar5211_set_bssid_mask |
|
1 |
4 |
19 |
2 |
| ar5k_ar5211_set_gpio_output |
|
2 |
9 |
51 |
2 |
| ar5k_ar5211_set_gpio_input |
|
2 |
9 |
51 |
2 |
| ar5k_ar5211_get_gpio |
|
2 |
7 |
42 |
2 |
| ar5k_ar5211_set_gpio |
|
2 |
11 |
68 |
3 |
| ar5k_ar5211_set_gpio_intr |
|
3 |
15 |
88 |
3 |
| ar5k_ar5211_get_tsf32 |
|
1 |
4 |
17 |
1 |
| ar5k_ar5211_get_tsf64 |
|
1 |
5 |
32 |
1 |
| ar5k_ar5211_reset_tsf |
|
1 |
5 |
16 |
1 |
| ar5k_ar5211_get_regdomain |
|
1 |
4 |
17 |
1 |
| ar5k_ar5211_detect_card_present |
|
3 |
7 |
42 |
1 |
| ar5k_ar5211_update_mib_counters |
|
1 |
8 |
58 |
2 |
| ar5k_ar5211_get_rf_gain |
|
1 |
4 |
14 |
1 |
| ar5k_ar5211_set_slot_time |
|
3 |
7 |
39 |
2 |
| ar5k_ar5211_get_slot_time |
|
1 |
4 |
19 |
1 |
| ar5k_ar5211_set_ack_timeout |
|
2 |
9 |
48 |
2 |
| ar5k_ar5211_get_ack_timeout |
|
1 |
5 |
25 |
1 |
| ar5k_ar5211_set_cts_timeout |
|
2 |
9 |
48 |
2 |
| ar5k_ar5211_get_cts_timeout |
|
1 |
5 |
25 |
1 |
| ar5k_ar5211_is_cipher_supported |
|
2 |
6 |
28 |
2 |
| ar5k_ar5211_get_keycache_size |
|
1 |
4 |
14 |
1 |
| ar5k_ar5211_reset_key |
|
2 |
10 |
62 |
2 |
| ar5k_ar5211_is_key_valid |
|
2 |
8 |
41 |
2 |
| ar5k_ar5211_set_key |
|
5 |
36 |
346 |
5 |
| ar5k_ar5211_set_key_lladdr |
|
2 |
13 |
85 |
3 |
| ar5k_ar5211_softcrypto |
|
3 |
14 |
74 |
2 |
| ar5k_ar5211_set_power |
|
11 |
47 |
199 |
4 |
| ar5k_ar5211_get_power_mode |
|
1 |
4 |
16 |
1 |
| ar5k_ar5211_query_pspoll_support |
|
1 |
4 |
14 |
1 |
| ar5k_ar5211_init_pspoll |
|
1 |
4 |
14 |
1 |
| ar5k_ar5211_enable_pspoll |
|
1 |
5 |
21 |
3 |
| ar5k_ar5211_disable_pspoll |
|
1 |
4 |
14 |
1 |
| ar5k_ar5211_init_beacon |
|
3 |
25 |
126 |
3 |
| ar5k_ar5211_set_beacon_timers |
|
6 |
39 |
235 |
5 |
| ar5k_ar5211_reset_beacon |
|
1 |
7 |
32 |
1 |
| ar5k_ar5211_wait_for_beacon |
|
2 |
10 |
52 |
2 |
| ar5k_ar5211_is_intr_pending |
|
2 |
4 |
23 |
1 |
| ar5k_ar5211_get_isr |
|
7 |
18 |
119 |
2 |
| ar5k_ar5211_get_intr |
|
1 |
4 |
16 |
1 |
| ar5k_ar5211_set_intr |
|
4 |
30 |
116 |
2 |
| ar5k_ar5211_get_capabilities |
|
10 |
27 |
174 |
1 |
| ar5k_ar5211_radar_alert |
|
2 |
16 |
65 |
2 |
| ar5k_ar5211_eeprom_is_busy |
|
2 |
5 |
23 |
1 |
| ar5k_ar5211_eeprom_read |
|
4 |
19 |
109 |
3 |
| ar5k_ar5211_eeprom_write |
|
4 |
19 |
102 |
3 |
| ar5k_ar5211_rfregs |
|
10 |
53 |
615 |
4 |
| ar5k_ar5211_set_txpower_limit |
|
1 |
4 |
17 |
2 |
| Source file: ./sys/dev/ic/comreg.h |
| Source file: ./sys/dev/ic/mfireg.h |
| Source file: ./sys/dev/ic/ac97.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ac97_read |
|
7 |
14 |
114 |
3 |
| ac97_write |
|
1 |
5 |
47 |
3 |
| ac97_setup_defaults |
|
2 |
9 |
69 |
1 |
| ac97_restore_shadow |
|
2 |
9 |
75 |
1 |
| ac97_str_equal |
|
4 |
4 |
39 |
2 |
| ac97_check_capability |
|
11 |
28 |
131 |
2 |
| ac97_setup_source_info |
|
18 |
68 |
444 |
1 |
| ac97_attach |
|
26 |
129 |
944 |
1 |
| ac97_resume |
|
9 |
40 |
262 |
2 |
| ac97_lock |
|
1 |
5 |
26 |
1 |
| ac97_unlock |
|
1 |
5 |
26 |
1 |
| ac97_query_devinfo |
|
8 |
27 |
213 |
2 |
| ac97_mixer_set_port |
|
25 |
80 |
640 |
2 |
| ac97_set_rate |
|
21 |
79 |
414 |
3 |
| ac97_set_clock |
|
1 |
6 |
33 |
2 |
| ac97_get_extcaps |
|
1 |
6 |
28 |
1 |
| ac97_add_port |
|
7 |
38 |
234 |
2 |
| ac97_get_portnum_by_name |
|
5 |
14 |
106 |
4 |
| ac97_mixer_get_port |
|
13 |
57 |
453 |
2 |
| ac97_ad1885_init |
|
5 |
12 |
87 |
2 |
| ac97_ad1886_init |
|
1 |
4 |
21 |
2 |
| ac97_ad198x_init |
|
5 |
16 |
113 |
2 |
| ac97_alc650_init |
|
3 |
27 |
185 |
2 |
| ac97_cx20468_init |
|
1 |
7 |
42 |
2 |
| ac97_vt1616_init |
|
2 |
11 |
62 |
2 |
| Source file: ./sys/dev/ic/rtsx.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rtsx_attach |
|
12 |
60 |
426 |
6 |
| rtsx_init |
|
11 |
62 |
395 |
2 |
| rtsx_activate |
|
4 |
23 |
113 |
2 |
| rtsx_led_enable |
|
2 |
12 |
63 |
1 |
| rtsx_led_disable |
|
2 |
11 |
61 |
1 |
| rtsx_host_reset |
|
3 |
15 |
80 |
1 |
| rtsx_host_ocr |
|
1 |
4 |
10 |
1 |
| rtsx_host_maxblklen |
|
1 |
4 |
10 |
1 |
| rtsx_card_detect |
|
1 |
5 |
24 |
1 |
| rtsx_bus_power_off |
|
4 |
24 |
133 |
1 |
| rtsx_bus_power_on |
|
6 |
34 |
207 |
1 |
| rtsx_set_bus_width |
|
4 |
19 |
69 |
2 |
| rtsx_stop_sd_clock |
|
1 |
6 |
30 |
1 |
| rtsx_switch_sd_clock |
|
1 |
17 |
136 |
4 |
| rtsx_bus_power |
|
5 |
29 |
157 |
2 |
| rtsx_bus_clock |
|
7 |
47 |
203 |
3 |
| rtsx_bus_width |
|
1 |
5 |
25 |
2 |
| rtsx_read |
|
4 |
14 |
94 |
3 |
| rtsx_write |
|
4 |
18 |
108 |
4 |
| rtsx_read_phy |
|
4 |
20 |
122 |
3 |
| rtsx_write_phy |
|
4 |
17 |
104 |
3 |
| rtsx_read_cfg |
|
4 |
22 |
180 |
4 |
| rtsx_write_cfg |
|
7 |
28 |
179 |
5 |
| rtsx_hostcmd |
|
1 |
9 |
89 |
6 |
| rtsx_save_regs |
|
4 |
20 |
212 |
1 |
| rtsx_restore_regs |
|
4 |
20 |
215 |
1 |
| rtsx_response_type |
|
3 |
23 |
120 |
1 |
| rtsx_hostcmd_send |
|
1 |
10 |
68 |
2 |
| rtsx_xfer_exec |
|
1 |
8 |
64 |
3 |
| rtsx_xfer |
|
6 |
72 |
503 |
3 |
| rtsx_xfer_bounce |
|
9 |
50 |
383 |
2 |
| rtsx_xfer_adma |
|
5 |
33 |
277 |
2 |
| rtsx_exec_command |
|
19 |
110 |
807 |
2 |
| rtsx_soft_reset |
|
1 |
10 |
87 |
1 |
| rtsx_wait_intr |
|
6 |
25 |
137 |
3 |
| rtsx_card_insert |
|
1 |
7 |
44 |
1 |
| rtsx_card_eject |
|
1 |
7 |
44 |
1 |
| rtsx_intr |
|
7 |
23 |
136 |
1 |
| Source file: ./sys/dev/ic/aic6250reg.h |
| Source file: ./sys/dev/ic/nvmereg.h |
| Source file: ./sys/dev/ic/rtl8225reg.h |
| Source file: ./sys/dev/ic/if_wi_hostap.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| take_hword |
|
1 |
7 |
45 |
2 |
| take_tlv |
|
5 |
14 |
118 |
5 |
| put_hword |
|
1 |
5 |
32 |
2 |
| put_tlv |
|
1 |
7 |
59 |
4 |
| put_rates |
|
5 |
15 |
92 |
2 |
| wihap_init |
|
4 |
16 |
120 |
1 |
| wihap_sta_disassoc |
|
2 |
17 |
163 |
3 |
| wihap_sta_deauth |
|
2 |
17 |
166 |
3 |
| wihap_shutdown |
|
8 |
33 |
231 |
1 |
| sta_hash_func |
|
1 |
4 |
31 |
1 |
| addr_cmp |
|
3 |
6 |
79 |
2 |
| wihap_sta_movetail |
|
1 |
6 |
44 |
2 |
| wihap_timeout |
|
12 |
40 |
296 |
1 |
| wihap_sta_timeout |
|
2 |
14 |
101 |
1 |
| wihap_sta_delete |
|
2 |
14 |
116 |
1 |
| wihap_sta_alloc |
|
4 |
22 |
227 |
2 |
| wihap_sta_find |
|
2 |
10 |
61 |
2 |
| wihap_check_rates |
|
9 |
30 |
173 |
3 |
| wihap_auth_req |
|
30 |
135 |
850 |
4 |
| wihap_assoc_req |
|
26 |
103 |
761 |
4 |
| wihap_deauth_req |
|
4 |
18 |
106 |
4 |
| wihap_disassoc_req |
|
5 |
23 |
134 |
4 |
| wihap_debug_frame_type |
|
13 |
51 |
209 |
1 |
| wihap_mgmt_input |
|
14 |
44 |
222 |
3 |
| wihap_sta_is_assoc |
|
3 |
10 |
66 |
2 |
| wihap_check_tx |
|
4 |
20 |
136 |
3 |
| wihap_data_input |
|
13 |
50 |
353 |
3 |
| wihap_ioctl |
|
34 |
155 |
1071 |
3 |
| wihap_init |
|
1 |
4 |
11 |
1 |
| wihap_shutdown |
|
1 |
4 |
11 |
1 |
| wihap_mgmt_input |
|
1 |
4 |
21 |
3 |
| wihap_data_input |
|
1 |
4 |
24 |
3 |
| wihap_ioctl |
|
1 |
4 |
20 |
3 |
| wihap_check_tx |
|
1 |
4 |
23 |
3 |
| Source file: ./sys/dev/ic/aacvar.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| aac_enc16 |
|
1 |
6 |
27 |
2 |
| aac_enc32 |
|
1 |
6 |
27 |
2 |
| aac_dec16 |
|
1 |
5 |
21 |
1 |
| aac_dec32 |
|
1 |
5 |
21 |
1 |
| aac_print_printf |
|
1 |
7 |
46 |
1 |
| Source file: ./sys/dev/ic/w83l518d_sdmmc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wb_sdmmc_read_data |
|
1 |
4 |
33 |
3 |
| wb_sdmmc_write_data |
|
1 |
4 |
33 |
3 |
| wb_sdmmc_discover |
|
1 |
6 |
29 |
1 |
| wb_sdmmc_enable |
|
5 |
23 |
166 |
1 |
| wb_sdmmc_disable |
|
1 |
9 |
44 |
1 |
| wb_sdmmc_attach |
|
2 |
14 |
97 |
1 |
| wb_sdmmc_detach |
|
3 |
12 |
57 |
2 |
| wb_sdmmc_host_reset |
|
1 |
5 |
17 |
1 |
| wb_sdmmc_host_ocr |
|
1 |
5 |
19 |
1 |
| wb_sdmmc_host_maxblklen |
|
1 |
5 |
17 |
1 |
| wb_sdmmc_card_detect |
|
2 |
10 |
60 |
1 |
| wb_sdmmc_write_protect |
|
2 |
10 |
60 |
1 |
| wb_sdmmc_bus_power |
|
1 |
5 |
22 |
2 |
| wb_sdmmc_bus_clock |
|
5 |
17 |
92 |
3 |
| wb_sdmmc_bus_width |
|
3 |
9 |
48 |
2 |
| wb_sdmmc_rsp_read_long |
|
3 |
16 |
138 |
2 |
| wb_sdmmc_rsp_read_short |
|
3 |
16 |
167 |
2 |
| wb_sdmmc_transfer_data |
|
15 |
49 |
270 |
2 |
| wb_sdmmc_exec_command |
|
21 |
104 |
704 |
2 |
| wb_sdmmc_card_intr_mask |
|
1 |
4 |
19 |
2 |
| wb_sdmmc_card_intr_ack |
|
1 |
4 |
14 |
1 |
| wb_sdmmc_intr |
|
5 |
16 |
84 |
1 |
| Source file: ./sys/dev/ic/wdcvar.h |
| Source file: ./sys/dev/ic/bt485reg.h |
| Source file: ./sys/dev/ic/cd1400reg.h |
| Source file: ./sys/dev/ic/xlreg.h |
| Source file: ./sys/dev/ic/vga_subr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fontram |
|
1 |
10 |
72 |
1 |
| textram |
|
2 |
10 |
80 |
1 |
| vga_loadchars |
|
3 |
15 |
128 |
6 |
| vga_setfontset |
|
1 |
14 |
89 |
3 |
| vga_setscreentype |
|
2 |
11 |
100 |
2 |
| Source file: ./sys/dev/ic/tcic2var.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tcic_read_1 |
|
1 |
6 |
36 |
2 |
| tcic_read_2 |
|
1 |
6 |
36 |
2 |
| tcic_read_4 |
|
1 |
9 |
65 |
2 |
| tcic_write_1 |
|
1 |
7 |
42 |
3 |
| tcic_write_2 |
|
1 |
7 |
42 |
3 |
| tcic_write_4 |
|
1 |
8 |
68 |
3 |
| tcic_read_ind_2 |
|
1 |
11 |
72 |
2 |
| tcic_write_ind_2 |
|
1 |
11 |
74 |
3 |
| tcic_sel_sock |
|
1 |
8 |
45 |
1 |
| tcic_wait_ready |
|
4 |
11 |
52 |
1 |
| tcic_read_aux_1 |
|
1 |
11 |
70 |
4 |
| tcic_read_aux_2 |
|
1 |
11 |
66 |
3 |
| tcic_write_aux_1 |
|
1 |
10 |
69 |
5 |
| tcic_write_aux_2 |
|
1 |
10 |
65 |
4 |
| Source file: ./sys/dev/ic/rtl80x9reg.h |
| Source file: ./sys/dev/ic/pcdisplayvar.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _pcdisplay_6845_read |
|
1 |
5 |
43 |
2 |
| _pcdisplay_6845_write |
|
1 |
5 |
45 |
3 |
| Source file: ./sys/dev/ic/pcdisplay_subr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pcdisplay_cursor_reset |
|
2 |
5 |
31 |
1 |
| pcdisplay_cursor_init |
|
4 |
17 |
113 |
2 |
| pcdisplay_cursor |
|
8 |
49 |
345 |
4 |
| pcdisplay_putchar |
|
2 |
17 |
124 |
5 |
| pcdisplay_getchar |
|
2 |
20 |
135 |
4 |
| pcdisplay_copycols |
|
2 |
21 |
144 |
5 |
| pcdisplay_erasecols |
|
3 |
21 |
144 |
5 |
| pcdisplay_copyrows |
|
2 |
22 |
150 |
4 |
| pcdisplay_eraserows |
|
3 |
21 |
150 |
4 |
| Source file: ./sys/dev/ic/ar5210.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ar5k_ar5210_fill |
|
2 |
98 |
861 |
1 |
| ar5k_ar5210_attach |
|
3 |
32 |
240 |
5 |
| ar5k_ar5210_nic_reset |
|
3 |
18 |
97 |
2 |
| ar5k_ar5210_nic_wakeup |
|
8 |
38 |
195 |
2 |
| ar5k_ar5210_get_rate_table |
|
4 |
12 |
47 |
2 |
| ar5k_ar5210_detach |
|
1 |
4 |
18 |
1 |
| ar5k_ar5210_phy_disable |
|
1 |
5 |
21 |
1 |
| ar5k_ar5210_reset |
|
14 |
52 |
343 |
5 |
| ar5k_ar5210_set_def_antenna |
|
1 |
4 |
14 |
2 |
| ar5k_ar5210_get_def_antenna |
|
1 |
4 |
14 |
1 |
| ar5k_ar5210_set_opmode |
|
5 |
36 |
137 |
1 |
| ar5k_ar5210_calibrate |
|
4 |
50 |
294 |
2 |
| ar5k_ar5210_do_calibrate |
|
2 |
12 |
58 |
2 |
| ar5k_ar5210_noise_floor |
|
6 |
28 |
137 |
2 |
| ar5k_ar5210_update_tx_triglevel |
|
3 |
19 |
92 |
2 |
| ar5k_ar5210_setup_tx_queue |
|
6 |
24 |
114 |
3 |
| ar5k_ar5210_setup_tx_queueprops |
|
2 |
12 |
105 |
3 |
| ar5k_ar5210_get_tx_queueprops |
|
1 |
7 |
52 |
3 |
| ar5k_ar5210_release_tx_queue |
|
1 |
6 |
41 |
2 |
| ar5k_ar5210_init_tx_queue |
|
2 |
11 |
69 |
2 |
| ar5k_ar5210_reset_tx_queue |
|
6 |
32 |
221 |
2 |
| ar5k_ar5210_get_tx_buf |
|
4 |
17 |
77 |
2 |
| ar5k_ar5210_put_tx_buf |
|
4 |
18 |
84 |
3 |
| ar5k_ar5210_num_tx_pending |
|
1 |
4 |
17 |
2 |
| ar5k_ar5210_tx_start |
|
4 |
26 |
120 |
2 |
| ar5k_ar5210_stop_tx_dma |
|
4 |
20 |
99 |
2 |
| ar5k_ar5210_setup_tx_desc |
|
9 |
42 |
243 |
13 |
| ar5k_ar5210_fill_tx_desc |
|
5 |
17 |
108 |
5 |
| ar5k_ar5210_setup_xtx_desc |
|
1 |
6 |
37 |
8 |
| ar5k_ar5210_proc_tx_desc |
|
6 |
42 |
263 |
2 |
| ar5k_ar5210_has_veol |
|
1 |
4 |
14 |
1 |
| ar5k_ar5210_get_rx_buf |
|
1 |
4 |
17 |
1 |
| ar5k_ar5210_put_rx_buf |
|
1 |
4 |
19 |
2 |
| ar5k_ar5210_start_rx |
|
1 |
4 |
16 |
1 |
| ar5k_ar5210_stop_rx_dma |
|
4 |
10 |
59 |
1 |
| ar5k_ar5210_start_rx_pcu |
|
1 |
4 |
16 |
1 |
| ar5k_ar5210_stop_pcu_recv |
|
1 |
4 |
16 |
1 |
| ar5k_ar5210_set_mcast_filter |
|
1 |
6 |
29 |
3 |
| ar5k_ar5210_set_mcast_filterindex |
|
3 |
13 |
70 |
2 |
| ar5k_ar5210_clear_mcast_filter_idx |
|
3 |
13 |
70 |
2 |
| ar5k_ar5210_get_rx_filter |
|
1 |
4 |
17 |
1 |
| ar5k_ar5210_set_rx_filter |
|
2 |
8 |
35 |
2 |
| ar5k_ar5210_setup_rx_desc |
|
3 |
12 |
75 |
4 |
| ar5k_ar5210_proc_rx_desc |
|
8 |
52 |
312 |
4 |
| ar5k_ar5210_set_rx_signal |
|
1 |
3 |
9 |
1 |
| ar5k_ar5210_dump_state |
|
2 |
81 |
402 |
1 |
| ar5k_ar5210_get_diag_state |
|
1 |
5 |
25 |
4 |
| ar5k_ar5210_get_lladdr |
|
1 |
4 |
24 |
2 |
| ar5k_ar5210_set_lladdr |
|
1 |
10 |
65 |
2 |
| ar5k_ar5210_set_regdomain |
|
2 |
13 |
62 |
3 |
| ar5k_ar5210_set_ledstate |
|
4 |
23 |
68 |
2 |
| ar5k_ar5210_set_associd |
|
3 |
18 |
115 |
4 |
| ar5k_ar5210_set_bssid_mask |
|
1 |
4 |
19 |
2 |
| ar5k_ar5210_set_gpio_output |
|
2 |
9 |
51 |
2 |
| ar5k_ar5210_set_gpio_input |
|
2 |
9 |
51 |
2 |
| ar5k_ar5210_get_gpio |
|
2 |
7 |
42 |
2 |
| ar5k_ar5210_set_gpio |
|
2 |
11 |
68 |
3 |
| ar5k_ar5210_set_gpio_intr |
|
3 |
15 |
88 |
3 |
| ar5k_ar5210_get_tsf32 |
|
1 |
4 |
17 |
1 |
| ar5k_ar5210_get_tsf64 |
|
1 |
5 |
32 |
1 |
| ar5k_ar5210_reset_tsf |
|
1 |
5 |
16 |
1 |
| ar5k_ar5210_get_regdomain |
|
1 |
4 |
17 |
1 |
| ar5k_ar5210_detect_card_present |
|
3 |
7 |
42 |
1 |
| ar5k_ar5210_update_mib_counters |
|
1 |
8 |
58 |
2 |
| ar5k_ar5210_get_rf_gain |
|
1 |
4 |
14 |
1 |
| ar5k_ar5210_set_slot_time |
|
3 |
7 |
42 |
2 |
| ar5k_ar5210_get_slot_time |
|
1 |
4 |
22 |
1 |
| ar5k_ar5210_set_ack_timeout |
|
2 |
9 |
48 |
2 |
| ar5k_ar5210_get_ack_timeout |
|
1 |
5 |
25 |
1 |
| ar5k_ar5210_set_cts_timeout |
|
2 |
9 |
48 |
2 |
| ar5k_ar5210_get_cts_timeout |
|
1 |
5 |
25 |
1 |
| ar5k_ar5210_is_cipher_supported |
|
2 |
6 |
28 |
2 |
| ar5k_ar5210_get_keycache_size |
|
1 |
4 |
14 |
1 |
| ar5k_ar5210_reset_key |
|
2 |
8 |
52 |
2 |
| ar5k_ar5210_is_key_valid |
|
2 |
8 |
41 |
2 |
| ar5k_ar5210_set_key |
|
5 |
36 |
346 |
5 |
| ar5k_ar5210_set_key_lladdr |
|
2 |
13 |
85 |
3 |
| ar5k_ar5210_softcrypto |
|
3 |
14 |
74 |
2 |
| ar5k_ar5210_set_power |
|
11 |
47 |
199 |
4 |
| ar5k_ar5210_get_power_mode |
|
1 |
4 |
16 |
1 |
| ar5k_ar5210_query_pspoll_support |
|
1 |
4 |
14 |
1 |
| ar5k_ar5210_init_pspoll |
|
1 |
4 |
14 |
1 |
| ar5k_ar5210_enable_pspoll |
|
1 |
8 |
30 |
3 |
| ar5k_ar5210_disable_pspoll |
|
1 |
7 |
23 |
1 |
| ar5k_ar5210_init_beacon |
|
2 |
24 |
124 |
3 |
| ar5k_ar5210_set_beacon_timers |
|
6 |
37 |
217 |
5 |
| ar5k_ar5210_reset_beacon |
|
1 |
7 |
32 |
1 |
| ar5k_ar5210_wait_for_beacon |
|
5 |
16 |
92 |
2 |
| ar5k_ar5210_is_intr_pending |
|
2 |
4 |
23 |
1 |
| ar5k_ar5210_get_isr |
|
7 |
20 |
129 |
2 |
| ar5k_ar5210_get_intr |
|
1 |
4 |
16 |
1 |
| ar5k_ar5210_set_intr |
|
4 |
23 |
95 |
2 |
| ar5k_ar5210_get_capabilities |
|
1 |
11 |
78 |
1 |
| ar5k_ar5210_radar_alert |
|
2 |
12 |
51 |
2 |
| ar5k_ar5210_eeprom_is_busy |
|
2 |
5 |
23 |
1 |
| ar5k_ar5210_eeprom_read |
|
4 |
18 |
113 |
3 |
| ar5k_ar5210_eeprom_write |
|
4 |
16 |
96 |
3 |
| ar5k_ar5210_set_txpower_limit |
|
1 |
4 |
17 |
2 |
| Source file: ./sys/dev/ic/qlwreg.h |
| Source file: ./sys/dev/ic/tcic2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tcic_check_reserved_bits |
|
20 |
87 |
555 |
2 |
| tcic_chipid |
|
2 |
15 |
97 |
2 |
| tcic_chipid_known |
|
10 |
17 |
48 |
1 |
| tcic_chipid_to_string |
|
10 |
25 |
92 |
1 |
| tcic_validirqs |
|
10 |
17 |
48 |
1 |
| tcic_attach |
|
13 |
61 |
535 |
1 |
| tcic_attach_sockets |
|
3 |
8 |
51 |
1 |
| tcic_attach_socket |
|
2 |
20 |
126 |
1 |
| tcic_create_event_thread |
|
4 |
23 |
123 |
1 |
| tcic_event_thread |
|
5 |
34 |
196 |
1 |
| tcic_init_socket |
|
2 |
13 |
95 |
1 |
| tcic_submatch |
|
11 |
34 |
191 |
3 |
| tcic_print |
|
4 |
20 |
89 |
2 |
| tcic_intr |
|
4 |
11 |
85 |
1 |
| tcic_intr_socket |
|
14 |
63 |
444 |
1 |
| tcic_queue_event |
|
2 |
15 |
87 |
2 |
| tcic_attach_card |
|
2 |
9 |
44 |
1 |
| tcic_detach_card |
|
2 |
10 |
54 |
2 |
| tcic_deactivate_card |
|
2 |
18 |
127 |
1 |
| tcic_chip_mem_alloc |
|
7 |
44 |
322 |
3 |
| tcic_chip_mem_free |
|
1 |
7 |
38 |
2 |
| tcic_chip_do_mem_map |
|
7 |
51 |
470 |
2 |
| tcic_chip_mem_map |
|
5 |
44 |
323 |
7 |
| tcic_chip_mem_unmap |
|
2 |
14 |
96 |
2 |
| tcic_chip_io_alloc |
|
9 |
50 |
316 |
5 |
| tcic_chip_io_free |
|
2 |
12 |
64 |
2 |
| tcic_chip_do_io_map |
|
5 |
36 |
312 |
2 |
| tcic_chip_io_map |
|
7 |
36 |
270 |
6 |
| tcic_chip_io_unmap |
|
2 |
14 |
94 |
2 |
| tcic_chip_socket_enable |
|
11 |
54 |
529 |
1 |
| tcic_chip_socket_disable |
|
1 |
16 |
128 |
1 |
| tcic_ns2wscnt |
|
2 |
9 |
36 |
1 |
| tcic_log2 |
|
3 |
13 |
47 |
1 |
| Source file: ./sys/dev/ic/espreg.h |
| Source file: ./sys/dev/ic/rtl80x9.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rtl80x9_mediachange |
|
1 |
6 |
21 |
1 |
| rtl80x9_mediastatus |
|
4 |
19 |
144 |
2 |
| rtl80x9_init_card |
|
6 |
32 |
244 |
1 |
| rtl80x9_media_init |
|
7 |
39 |
246 |
1 |
| Source file: ./sys/dev/ic/cacvar.h |
| Source file: ./sys/dev/ic/smc93cx6.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| read_seeprom |
|
14 |
63 |
486 |
4 |
| Source file: ./sys/dev/ic/ns16550reg.h |
| Source file: ./sys/dev/ic/cissreg.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ciss_ccb::SLIST_ENTRY |
|
1 |
11 |
40 |
1 |
| Source file: ./sys/dev/ic/lptreg.h |
| Source file: ./sys/dev/ic/rt2560reg.h |
| Source file: ./sys/dev/ic/mc6845reg.h |
| Source file: ./sys/dev/ic/aac_tables.h |
| Source file: ./sys/dev/ic/ahcireg.h |
| Source file: ./sys/dev/ic/lancereg.h |
| Source file: ./sys/dev/ic/ar9003.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ar9003_attach |
|
5 |
52 |
321 |
1 |
| ar9003_read_eep_word |
|
3 |
17 |
103 |
3 |
| ar9003_read_eep_data |
|
8 |
30 |
194 |
4 |
| ar9003_read_otp_word |
|
3 |
15 |
96 |
3 |
| ar9003_read_otp_data |
|
3 |
13 |
98 |
4 |
| ar9003_find_rom |
|
14 |
29 |
273 |
1 |
| ar9003_restore_rom_block |
|
8 |
37 |
246 |
5 |
| ar9003_read_rom |
|
13 |
50 |
407 |
1 |
| ar9003_gpio_read |
|
1 |
6 |
46 |
2 |
| ar9003_gpio_write |
|
2 |
12 |
71 |
3 |
| ar9003_gpio_config_input |
|
1 |
9 |
62 |
2 |
| ar9003_gpio_config_output |
|
1 |
16 |
134 |
3 |
| ar9003_rfsilent_init |
|
2 |
15 |
100 |
1 |
| ar9003_dma_alloc |
|
4 |
14 |
79 |
1 |
| ar9003_dma_free |
|
1 |
6 |
28 |
1 |
| ar9003_tx_alloc |
|
11 |
60 |
486 |
1 |
| ar9003_tx_free |
|
7 |
28 |
217 |
1 |
| ar9003_rx_alloc |
|
6 |
48 |
335 |
3 |
| ar9003_rx_free |
|
4 |
15 |
107 |
2 |
| ar9003_reset_txsring |
|
1 |
10 |
84 |
1 |
| ar9003_rx_enable |
|
4 |
30 |
226 |
1 |
| ar9003_rx_radiotap |
|
18 |
56 |
447 |
3 |
| ar9003_rx_process |
|
18 |
105 |
834 |
2 |
| ar9003_rx_intr |
|
2 |
4 |
24 |
2 |
| ar9003_tx_process |
|
11 |
57 |
479 |
1 |
| ar9003_tx_intr |
|
3 |
10 |
67 |
1 |
| ar9003_swba_intr |
|
15 |
96 |
767 |
1 |
| ar9003_intr |
|
26 |
67 |
452 |
1 |
| ar9003_tx |
|
70 |
294 |
2245 |
4 |
| ar9003_set_rf_mode |
|
4 |
12 |
65 |
2 |
| ar9003_synth_delay |
|
2 |
10 |
58 |
1 |
| ar9003_rf_bus_request |
|
3 |
12 |
69 |
1 |
| ar9003_rf_bus_release |
|
1 |
6 |
33 |
1 |
| ar9003_set_phy |
|
4 |
20 |
126 |
3 |
| ar9003_set_delta_slope |
|
1 |
20 |
184 |
3 |
| ar9003_enable_antenna_diversity |
|
1 |
6 |
23 |
1 |
| ar9003_init_baseband |
|
1 |
8 |
40 |
1 |
| ar9003_disable_phy |
|
1 |
5 |
23 |
1 |
| ar9003_init_chains |
|
4 |
12 |
90 |
1 |
| ar9003_set_rxchains |
|
3 |
8 |
52 |
1 |
| ar9003_read_noisefloor |
|
2 |
13 |
114 |
3 |
| ar9003_write_noisefloor |
|
2 |
14 |
121 |
3 |
| ar9003_get_noisefloor |
|
9 |
31 |
229 |
2 |
| ar9003_bb_load_noisefloor |
|
6 |
25 |
196 |
1 |
| ar9300_noisefloor_calib |
|
1 |
6 |
36 |
1 |
| ar9003_do_noisefloor_calib |
|
1 |
4 |
18 |
1 |
| ar9003_init_calib |
|
5 |
31 |
176 |
1 |
| ar9003_do_calib |
|
3 |
18 |
108 |
1 |
| ar9003_next_calib |
|
3 |
8 |
40 |
1 |
| ar9003_calib_iq |
|
12 |
48 |
374 |
1 |
| ar9003_get_iq_corr |
|
16 |
85 |
1097 |
3 |
| ar9003_calib_tx_iq |
|
8 |
52 |
391 |
1 |
| ar9003_paprd_calib |
|
7 |
82 |
695 |
2 |
| ar9003_get_desired_txgain |
|
1 |
23 |
201 |
3 |
| ar9003_force_txgain |
|
1 |
27 |
191 |
2 |
| ar9003_set_training_gain |
|
3 |
9 |
75 |
2 |
| ar9003_paprd_tx_tone |
|
3 |
25 |
214 |
1 |
| get_scale |
|
3 |
7 |
37 |
1 |
| ar9003_compute_predistortion |
|
33 |
192 |
2034 |
3 |
| ar9003_enable_predistorter |
|
2 |
19 |
169 |
2 |
| ar9003_paprd_enable |
|
3 |
7 |
45 |
1 |
| ar9003_paprd_tx_tone_done |
|
8 |
25 |
194 |
1 |
| ar9003_write_txpower |
|
1 |
59 |
673 |
2 |
| ar9003_reset_rx_gain |
|
3 |
13 |
92 |
2 |
| ar9003_reset_tx_gain |
|
3 |
13 |
92 |
2 |
| ar9003_hw_init |
|
18 |
65 |
483 |
3 |
| ar9003_get_lg_tpow |
|
11 |
25 |
217 |
7 |
| ar9003_get_ht_tpow |
|
11 |
25 |
217 |
7 |
| ar9003_set_noise_immunity_level |
|
5 |
16 |
149 |
2 |
| ar9003_enable_ofdm_weak_signal |
|
1 |
23 |
190 |
1 |
| ar9003_disable_ofdm_weak_signal |
|
1 |
23 |
190 |
1 |
| ar9003_set_cck_weak_signal |
|
2 |
8 |
53 |
2 |
| ar9003_set_firstep_level |
|
1 |
8 |
51 |
2 |
| ar9003_set_spur_immunity_level |
|
1 |
8 |
55 |
2 |
| Source file: ./sys/dev/ic/gdt_common.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| gdt_attach |
|
45 |
320 |
2362 |
1 |
| gdt_eval_mapping |
|
3 |
18 |
100 |
4 |
| gdt_enqueue |
|
2 |
7 |
46 |
3 |
| gdt_dequeue |
|
2 |
8 |
45 |
1 |
| gdt_scsi_cmd |
|
37 |
146 |
788 |
1 |
| gdt_exec_ccb |
|
19 |
97 |
595 |
1 |
| gdt_copy_internal_data |
|
2 |
11 |
65 |
3 |
| gdt_internal_cache_cmd |
|
10 |
59 |
425 |
1 |
| gdt_clear_events |
|
1 |
4 |
20 |
1 |
| gdt_async_event |
|
2 |
8 |
41 |
2 |
| gdt_sync_event |
|
4 |
24 |
126 |
4 |
| gdt_intr |
|
20 |
76 |
429 |
1 |
| gdtminphys |
|
3 |
8 |
70 |
2 |
| gdt_wait |
|
6 |
22 |
122 |
3 |
| gdt_internal_cmd |
|
9 |
71 |
470 |
6 |
| gdt_ccb_alloc |
|
2 |
12 |
80 |
1 |
| gdt_ccb_free |
|
3 |
14 |
99 |
2 |
| gdt_enqueue_ccb |
|
1 |
7 |
58 |
2 |
| gdt_start_ccbs |
|
5 |
22 |
165 |
1 |
| gdt_chain |
|
2 |
6 |
42 |
1 |
| gdt_timeout |
|
1 |
13 |
74 |
1 |
| gdt_watchdog |
|
1 |
11 |
60 |
1 |
| gdt_ioctl |
|
6 |
32 |
212 |
3 |
| gdt_ioctl_inq |
|
1 |
7 |
54 |
2 |
| gdt_ioctl_vol |
|
1 |
4 |
19 |
2 |
| gdt_ioctl_disk |
|
1 |
4 |
19 |
2 |
| gdt_ioctl_alarm |
|
1 |
4 |
19 |
2 |
| gdt_ioctl_setstate |
|
1 |
4 |
19 |
2 |
| Source file: ./sys/dev/ic/acx.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| acx_attach |
|
16 |
111 |
739 |
1 |
| acx_detach |
|
1 |
11 |
60 |
1 |
| acx_init |
|
18 |
70 |
411 |
1 |
| acx_init_info_reg |
|
1 |
5 |
30 |
1 |
| acx_set_crypt_keys |
|
7 |
26 |
164 |
1 |
| acx_next_scan |
|
2 |
8 |
48 |
1 |
| acx_stop |
|
8 |
49 |
360 |
1 |
| acx_config |
|
6 |
25 |
134 |
1 |
| acx_read_config |
|
11 |
58 |
429 |
2 |
| acx_write_config |
|
9 |
51 |
347 |
2 |
| acx_rx_config |
|
3 |
27 |
132 |
1 |
| acx_ioctl |
|
12 |
47 |
271 |
3 |
| acx_start |
|
29 |
118 |
787 |
1 |
| acx_watchdog |
|
4 |
17 |
90 |
1 |
| acx_intr |
|
7 |
23 |
126 |
1 |
| acx_disable_intr |
|
1 |
5 |
29 |
1 |
| acx_enable_intr |
|
1 |
5 |
29 |
1 |
| acx_txeof |
|
8 |
54 |
364 |
1 |
| acx_txerr |
|
11 |
47 |
202 |
2 |
| acx_rxeof |
|
16 |
101 |
717 |
1 |
| acx_reset |
|
2 |
17 |
110 |
1 |
| acx_read_eeprom |
|
4 |
19 |
120 |
3 |
| acx_read_phyreg |
|
4 |
19 |
121 |
3 |
| acx_write_phyreg |
|
1 |
6 |
42 |
3 |
| acx_load_base_firmware |
|
5 |
32 |
207 |
2 |
| acx_load_radio_firmware |
|
9 |
44 |
329 |
2 |
| acx_load_firmware |
|
6 |
43 |
335 |
4 |
| acx_node_alloc |
|
2 |
8 |
52 |
1 |
| acx_newstate |
|
23 |
93 |
553 |
3 |
| acx_init_tmplt_ordered |
|
6 |
27 |
190 |
1 |
| acx_dma_alloc |
|
14 |
96 |
728 |
1 |
| acx_dma_free |
|
10 |
38 |
299 |
1 |
| acx_init_tx_ring |
|
3 |
24 |
187 |
1 |
| acx_init_rx_ring |
|
4 |
26 |
185 |
1 |
| acx_newbuf |
|
8 |
38 |
271 |
3 |
| acx_encap |
|
11 |
75 |
550 |
5 |
| acx_set_null_tmplt |
|
1 |
15 |
115 |
1 |
| acx_set_probe_req_tmplt |
|
2 |
26 |
210 |
3 |
| acx_set_probe_resp_tmplt |
|
3 |
28 |
244 |
2 |
| acx_beacon_locate |
|
4 |
14 |
104 |
2 |
| acx_set_beacon_tmplt |
|
5 |
33 |
241 |
2 |
| acx_init_cmd_reg |
|
1 |
6 |
37 |
1 |
| acx_join_bss |
|
3 |
26 |
219 |
3 |
| acx_set_channel |
|
3 |
16 |
107 |
2 |
| acx_get_conf |
|
2 |
15 |
104 |
4 |
| acx_set_conf |
|
2 |
14 |
100 |
4 |
| acx_set_tmplt |
|
2 |
13 |
89 |
4 |
| acx_init_radio |
|
1 |
8 |
59 |
3 |
| acx_exec_command |
|
11 |
48 |
294 |
6 |
| acx_get_rf |
|
5 |
10 |
42 |
1 |
| acx_get_maxrssi |
|
5 |
10 |
42 |
1 |
| acx_iter_func |
|
1 |
6 |
47 |
2 |
| acx_amrr_timeout |
|
2 |
10 |
62 |
1 |
| acx_newassoc |
|
3 |
10 |
92 |
3 |
| acx_set_tim |
|
1 |
10 |
86 |
3 |
| Source file: ./sys/dev/ic/i82596.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| i82596_probe |
|
6 |
28 |
266 |
1 |
| i82596_attach |
|
6 |
42 |
378 |
6 |
| i82596_watchdog |
|
1 |
8 |
45 |
1 |
| i82596_cmd_wait |
|
8 |
22 |
149 |
1 |
| i82596_start_cmd |
|
13 |
44 |
279 |
5 |
| i82596_count_errors |
|
1 |
13 |
128 |
1 |
| i82596_rx_errors |
|
1 |
5 |
34 |
3 |
| i82596_intr |
|
16 |
48 |
336 |
1 |
| i82596_rint |
|
23 |
85 |
601 |
2 |
| i82596_tint |
|
16 |
57 |
381 |
2 |
| i82596_get_rbd_list |
|
5 |
32 |
191 |
4 |
| i82596_release_rbd_list |
|
4 |
21 |
154 |
3 |
| i82596_drop_frames |
|
2 |
10 |
55 |
1 |
| i82596_chk_rx_ring |
|
5 |
26 |
189 |
1 |
| i82596_get |
|
12 |
69 |
441 |
3 |
| i82596_readframe |
|
5 |
29 |
193 |
2 |
| i82596_xmit |
|
8 |
47 |
428 |
1 |
| i82596_start |
|
24 |
67 |
515 |
1 |
| i82596_proberam |
|
2 |
20 |
178 |
1 |
| i82596_reset |
|
10 |
24 |
167 |
2 |
| i82596_simple_command |
|
1 |
10 |
81 |
3 |
| ie_run_tdr |
|
11 |
30 |
225 |
2 |
| i82596_setup_bufs |
|
11 |
70 |
669 |
1 |
| ie_cfg_setup |
|
3 |
37 |
380 |
4 |
| ie_ia_setup |
|
3 |
23 |
153 |
2 |
| ie_mc_setup |
|
4 |
28 |
189 |
2 |
| i82596_init |
|
6 |
25 |
162 |
1 |
| i82596_start_transceiver |
|
5 |
24 |
191 |
1 |
| i82596_stop |
|
2 |
7 |
39 |
1 |
| i82596_ioctl |
|
13 |
47 |
273 |
3 |
| ie_mc_reset |
|
7 |
38 |
228 |
1 |
| i82596_mediachange |
|
2 |
8 |
44 |
1 |
| i82596_mediastatus |
|
2 |
8 |
45 |
2 |
| print_rbd |
|
1 |
11 |
86 |
2 |
| Source file: ./sys/dev/ic/ncr5380sbc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ncr5380_wait_req |
|
4 |
15 |
60 |
1 |
| ncr5380_wait_not_req |
|
4 |
15 |
64 |
1 |
| ncr_sched_msgout |
|
2 |
12 |
59 |
2 |
| ncr5380_pio_out |
|
7 |
42 |
210 |
4 |
| ncr5380_pio_in |
|
7 |
38 |
189 |
4 |
| ncr5380_init |
|
6 |
30 |
213 |
1 |
| ncr5380_reset_scsibus |
|
1 |
13 |
66 |
1 |
| ncr5380_intr |
|
5 |
29 |
147 |
1 |
| ncr5380_abort |
|
4 |
21 |
111 |
1 |
| ncr5380_cmd_timeout |
|
4 |
38 |
208 |
1 |
| ncr5380_io_get |
|
3 |
17 |
96 |
1 |
| ncr5380_io_put |
|
1 |
8 |
39 |
2 |
| ncr5380_scsi_cmd |
|
11 |
50 |
290 |
1 |
| ncr5380_done |
|
20 |
72 |
419 |
1 |
| ncr5380_sched |
|
31 |
141 |
819 |
1 |
| ncr5380_reselect |
|
22 |
126 |
736 |
1 |
| ncr5380_select |
|
12 |
89 |
515 |
2 |
| ncr5380_msg_in |
|
33 |
142 |
757 |
1 |
| ncr5380_msg_out |
|
23 |
131 |
706 |
1 |
| ncr5380_command |
|
5 |
33 |
208 |
1 |
| ncr5380_data_xfer |
|
12 |
66 |
414 |
2 |
| ncr5380_status |
|
2 |
15 |
70 |
1 |
| ncr5380_machine |
|
31 |
153 |
824 |
1 |
| ncr5380_show_scsi_cmd |
|
4 |
20 |
125 |
1 |
| ncr5380_show_sense |
|
2 |
10 |
65 |
1 |
| ncr5380_trace |
|
2 |
15 |
69 |
2 |
| ncr5380_clear_trace |
|
1 |
5 |
20 |
1 |
| ncr5380_show_trace |
|
4 |
14 |
66 |
1 |
| ncr5380_show_req |
|
3 |
19 |
115 |
1 |
| ncr5380_show_state |
|
8 |
38 |
250 |
1 |
| Source file: ./sys/dev/ic/wdc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wdc_log |
|
15 |
51 |
325 |
4 |
| wdc_get_log |
|
14 |
56 |
306 |
2 |
| wdc_default_read_reg |
|
4 |
12 |
71 |
2 |
| wdc_default_write_reg |
|
4 |
12 |
72 |
3 |
| wdc_default_lba48_write_reg |
|
1 |
6 |
37 |
3 |
| wdc_default_read_raw_multi_2 |
|
3 |
13 |
77 |
3 |
| wdc_default_write_raw_multi_2 |
|
3 |
13 |
79 |
3 |
| wdc_default_write_raw_multi_4 |
|
3 |
13 |
79 |
3 |
| wdc_default_read_raw_multi_4 |
|
3 |
13 |
77 |
3 |
| wdprint |
|
2 |
9 |
51 |
2 |
| wdc_disable_intr |
|
1 |
4 |
18 |
1 |
| wdc_enable_intr |
|
1 |
4 |
18 |
1 |
| wdc_set_drive |
|
1 |
5 |
35 |
2 |
| wdc_floating_bus |
|
4 |
19 |
102 |
2 |
| wdc_preata_drive |
|
4 |
26 |
170 |
2 |
| wdc_ata_present |
|
11 |
47 |
307 |
2 |
| wdcprobe |
|
33 |
87 |
645 |
1 |
| wdc_alloc_queue |
|
3 |
17 |
99 |
1 |
| wdc_free_queue |
|
1 |
4 |
22 |
1 |
| wdcattach |
|
30 |
86 |
670 |
1 |
| wdcstart |
|
6 |
22 |
157 |
1 |
| wdcdetach |
|
1 |
11 |
68 |
2 |
| wdcintr |
|
8 |
36 |
239 |
1 |
| wdc_reset_channel |
|
3 |
12 |
89 |
2 |
| wdcreset |
|
12 |
22 |
189 |
2 |
| wdc_do_reset |
|
1 |
9 |
51 |
1 |
| __wdcwait_reset |
|
13 |
40 |
272 |
2 |
| wdc_wait_for_status |
|
13 |
50 |
331 |
4 |
| wdc_dmawait |
|
4 |
19 |
150 |
3 |
| wdctimeout |
|
6 |
32 |
219 |
1 |
| wdc_probe_caps |
|
51 |
160 |
962 |
2 |
| wdc_output_bytes |
|
3 |
18 |
124 |
3 |
| wdc_input_bytes |
|
3 |
18 |
124 |
3 |
| wdc_print_caps |
|
5 |
16 |
91 |
1 |
| wdc_print_current_modes |
|
7 |
23 |
156 |
1 |
| wdc_downgrade_mode |
|
11 |
34 |
246 |
1 |
| wdc_exec_command |
|
10 |
44 |
266 |
2 |
| __wdccommand_start |
|
9 |
46 |
319 |
2 |
| __wdccommand_intr |
|
9 |
33 |
237 |
3 |
| __wdccommand_done |
|
10 |
42 |
303 |
2 |
| wdccommand |
|
1 |
18 |
163 |
8 |
| wdccommandext |
|
1 |
19 |
208 |
5 |
| wdccommandshort |
|
1 |
9 |
72 |
3 |
| wdc_exec_xfer |
|
3 |
14 |
110 |
2 |
| wdc_xfer_get |
|
1 |
4 |
21 |
1 |
| wdc_scrub_xfer |
|
1 |
5 |
28 |
1 |
| wdc_xfer_put |
|
3 |
14 |
75 |
2 |
| wdc_get_xfer |
|
2 |
5 |
27 |
1 |
| wdc_free_xfer |
|
4 |
20 |
122 |
2 |
| wdc_kill_pending |
|
2 |
8 |
52 |
1 |
| __wdcerror |
|
2 |
12 |
88 |
2 |
| wdcbit_bucket |
|
1 |
4 |
21 |
2 |
| wdc_ioc_ata_cmd |
|
21 |
79 |
512 |
2 |
| wdc_ioctl |
|
8 |
36 |
191 |
5 |
| Source file: ./sys/dev/ic/bt463reg.h |
| Source file: ./sys/dev/ic/max2820reg.h |
| Source file: ./sys/dev/ic/ar5xxx.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ath_hal_probe |
|
4 |
10 |
61 |
2 |
| ath_hal_attach |
|
21 |
100 |
664 |
6 |
| ath_hal_computetxtime |
|
7 |
27 |
158 |
5 |
| ar5k_check_channel |
|
7 |
13 |
99 |
3 |
| ath_hal_init_channels |
|
24 |
88 |
583 |
7 |
| ar5k_printver |
|
8 |
24 |
147 |
2 |
| ar5k_radar_alert |
|
3 |
14 |
92 |
1 |
| ar5k_regdomain_from_ieee |
|
2 |
8 |
39 |
1 |
| ar5k_regdomain_to_ieee |
|
1 |
5 |
20 |
1 |
| ar5k_get_regdomain |
|
3 |
13 |
74 |
1 |
| ar5k_bitswap |
|
3 |
16 |
145 |
2 |
| ar5k_htoclock |
|
1 |
4 |
14 |
1 |
| ar5k_clocktoh |
|
1 |
4 |
14 |
1 |
| ar5k_rt_copy |
|
1 |
8 |
67 |
2 |
| ar5k_register_timeout |
|
6 |
17 |
99 |
5 |
| ar5k_eeprom_bin2freq |
|
6 |
20 |
117 |
3 |
| ar5k_eeprom_read_ants |
|
1 |
44 |
580 |
3 |
| ar5k_eeprom_read_modes |
|
15 |
61 |
558 |
3 |
| ar5k_eeprom_init |
|
20 |
125 |
1228 |
1 |
| ar5k_eeprom_read_mac |
|
6 |
24 |
173 |
2 |
| ar5k_eeprom_regulation_domain |
|
4 |
19 |
110 |
3 |
| ar5k_channel |
|
8 |
23 |
167 |
2 |
| ar5k_ar5110_chan2athchan |
|
1 |
8 |
54 |
1 |
| ar5k_ar5110_channel |
|
1 |
9 |
47 |
2 |
| ar5k_ar5111_chan2athchan |
|
5 |
17 |
111 |
2 |
| ar5k_ar5111_channel |
|
5 |
29 |
261 |
2 |
| ar5k_ar5112_channel |
|
8 |
34 |
333 |
2 |
| ar5k_rfregs_op |
|
10 |
35 |
317 |
7 |
| ar5k_rfregs_gainf_corr |
|
6 |
28 |
187 |
1 |
| ar5k_rfregs_gain_readback |
|
11 |
34 |
306 |
1 |
| ar5k_rfregs_gain_adjust |
|
11 |
45 |
350 |
1 |
| ar5k_rfregs |
|
10 |
43 |
223 |
3 |
| ar5k_ar5111_rfregs |
|
23 |
72 |
652 |
3 |
| ar5k_ar5112_rfregs |
|
20 |
71 |
594 |
3 |
| ar5k_arxxxx_rfregs |
|
9 |
41 |
240 |
3 |
| ar5k_rfgain |
|
10 |
42 |
186 |
2 |
| ar5k_txpower_table |
|
6 |
23 |
176 |
3 |
| ar5k_write_ini |
|
7 |
21 |
124 |
4 |
| ar5k_write_mode |
|
2 |
10 |
67 |
4 |
| Source file: ./sys/dev/ic/anreg.h |
| Source file: ./sys/dev/ic/dptreg.h |
| Source file: ./sys/dev/ic/pt2254a.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pt2254a_encode_volume |
|
6 |
18 |
183 |
2 |
| pt2254a_compose_register |
|
3 |
14 |
64 |
4 |
| Source file: ./sys/dev/ic/dptvar.h |
| Source file: ./sys/dev/ic/am7990.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| am7990_config |
|
5 |
20 |
177 |
1 |
| am7990_meminit |
|
5 |
51 |
495 |
1 |
| am7990_rint |
|
18 |
63 |
415 |
1 |
| am7990_tint |
|
19 |
62 |
366 |
1 |
| am7990_intr |
|
16 |
52 |
336 |
1 |
| am7990_start |
|
14 |
44 |
326 |
1 |
| am7990_recv_print |
|
2 |
22 |
196 |
2 |
| am7990_xmit_print |
|
2 |
22 |
197 |
2 |
| Source file: ./sys/dev/ic/mtd8xx.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mtd_attach |
|
12 |
84 |
653 |
1 |
| mtd_ifmedia_upd |
|
1 |
5 |
29 |
1 |
| mtd_ifmedia_sts |
|
1 |
7 |
51 |
2 |
| mtd_mii_command |
|
6 |
26 |
173 |
4 |
| mtd_miibus_readreg |
|
5 |
23 |
161 |
3 |
| mtd_miibus_writereg |
|
5 |
22 |
149 |
4 |
| mtd_miibus_statchg |
|
1 |
3 |
9 |
1 |
| mtd_setmulti |
|
5 |
33 |
232 |
1 |
| mtd_encap |
|
6 |
49 |
429 |
3 |
| mtd_list_tx_init |
|
2 |
19 |
148 |
1 |
| mtd_list_rx_init |
|
3 |
17 |
107 |
1 |
| mtd_newbuf |
|
5 |
46 |
360 |
3 |
| mtd_reset |
|
3 |
13 |
71 |
1 |
| mtd_ioctl |
|
9 |
35 |
188 |
3 |
| mtd_init |
|
5 |
41 |
265 |
1 |
| mtd_start |
|
8 |
27 |
167 |
1 |
| mtd_stop |
|
7 |
38 |
347 |
1 |
| mtd_watchdog |
|
2 |
9 |
55 |
1 |
| mtd_intr |
|
11 |
34 |
207 |
1 |
| mtd_rxeof |
|
5 |
51 |
357 |
1 |
| mtd_rx_resync |
|
4 |
21 |
138 |
1 |
| mtd_txeof |
|
13 |
60 |
422 |
1 |
| Source file: ./sys/dev/ic/rtwnvar.h |
| Source file: ./sys/dev/ic/vga.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| vga_common_probe |
|
11 |
45 |
344 |
2 |
| vga_selectfont |
|
21 |
39 |
257 |
4 |
| vga_init_screen |
|
12 |
48 |
402 |
5 |
| vga_init |
|
12 |
35 |
297 |
3 |
| vga_common_attach |
|
1 |
5 |
32 |
4 |
| vga_extended_attach |
|
8 |
35 |
214 |
5 |
| vga_cnattach |
|
3 |
19 |
124 |
4 |
| vga_is_console |
|
6 |
9 |
48 |
2 |
| vga_ioctl |
|
16 |
35 |
163 |
5 |
| vga_mmap |
|
2 |
7 |
51 |
3 |
| vga_alloc_screen |
|
3 |
26 |
226 |
6 |
| vga_free_screen |
|
5 |
17 |
128 |
2 |
| vga_setfont |
|
5 |
12 |
91 |
2 |
| vga_show_screen |
|
3 |
21 |
142 |
5 |
| vga_doswitch |
|
13 |
57 |
429 |
1 |
| vga_load_font |
|
20 |
53 |
401 |
3 |
| vga_list_font |
|
5 |
20 |
149 |
2 |
| vga_scrollback |
|
6 |
35 |
288 |
3 |
| vga_alloc_attr |
|
12 |
29 |
185 |
5 |
| vga_unpack_attr |
|
9 |
18 |
149 |
5 |
| vga_copyrows |
|
9 |
48 |
392 |
4 |
| _vga_mapchar |
|
5 |
20 |
101 |
4 |
| vga_mapchar |
|
4 |
21 |
135 |
3 |
| vga_putchar |
|
3 |
12 |
93 |
5 |
| vga_burner |
|
3 |
24 |
169 |
3 |
| vga_getchar |
|
1 |
5 |
42 |
4 |
| vga_save_palette |
|
3 |
13 |
89 |
1 |
| vga_restore_palette |
|
3 |
14 |
94 |
1 |
| vga_restore_fonts |
|
4 |
11 |
77 |
1 |
| vga_pick_monitor_type |
|
7 |
30 |
233 |
1 |
| Source file: ./sys/dev/ic/adwlib.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| AdwInitFromEEPROM |
|
39 |
166 |
927 |
1 |
| AdwInitDriver |
|
38 |
198 |
1301 |
1 |
| AdwRamSelfTest |
|
9 |
33 |
198 |
3 |
| AdwLoadMCode |
|
14 |
91 |
612 |
4 |
| AdwASC3550Cabling |
|
20 |
39 |
226 |
3 |
| AdwASC38C0800Cabling |
|
13 |
39 |
212 |
3 |
| AdwASC38C1600Cabling |
|
8 |
29 |
162 |
3 |
| AdwGetEEPROMConfig |
|
3 |
24 |
124 |
3 |
| AdwReadEEPWord |
|
1 |
7 |
43 |
3 |
| AdwWaitEEPCmd |
|
3 |
12 |
59 |
2 |
| AdwSetEEPROMConfig |
|
3 |
35 |
217 |
3 |
| AdwExeScsiQueue |
|
8 |
48 |
307 |
2 |
| AdwResetChip |
|
1 |
8 |
37 |
2 |
| AdwResetCCB |
|
3 |
15 |
84 |
1 |
| AdwResetSCSIBus |
|
6 |
40 |
308 |
1 |
| AdwISR |
|
16 |
70 |
432 |
1 |
| AdwSendIdleCmd |
|
5 |
29 |
182 |
3 |
| AdwInquiryHandling |
|
23 |
76 |
467 |
2 |
| AdwSleepMilliSecond |
|
1 |
4 |
14 |
1 |
| AdwDelayMicroSecond |
|
1 |
4 |
12 |
1 |
| Source file: ./sys/dev/ic/stireg.h |
| Source file: ./sys/dev/ic/pcdisplay.h |
| Source file: ./sys/dev/ic/w83l518dreg.h |
| Source file: ./sys/dev/ic/s3_617.h |
| Source file: ./sys/dev/ic/atw.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| atw_enable |
|
4 |
12 |
69 |
1 |
| atw_disable |
|
3 |
8 |
43 |
1 |
| atw_read_srom |
|
12 |
71 |
446 |
1 |
| atw_print_regs |
|
1 |
72 |
505 |
2 |
| atw_printmac |
|
5 |
14 |
42 |
1 |
| atw_attach |
|
44 |
235 |
1656 |
1 |
| atw_node_alloc |
|
1 |
7 |
60 |
1 |
| atw_node_free |
|
1 |
7 |
66 |
2 |
| atw_test1_reset |
|
4 |
15 |
55 |
1 |
| atw_reset |
|
4 |
31 |
251 |
1 |
| atw_clear_sram |
|
1 |
5 |
40 |
1 |
| atw_wcsr_init |
|
1 |
10 |
75 |
1 |
| atw_cmdr_init |
|
1 |
10 |
46 |
1 |
| atw_tofs2_init |
|
1 |
21 |
137 |
1 |
| atw_nar_init |
|
1 |
4 |
20 |
1 |
| atw_txlmt_init |
|
1 |
5 |
30 |
1 |
| atw_test1_init |
|
1 |
8 |
49 |
1 |
| atw_rf_reset |
|
1 |
7 |
41 |
1 |
| atw_cfp_init |
|
1 |
8 |
43 |
1 |
| atw_tofs0_init |
|
1 |
6 |
25 |
1 |
| atw_ifs_init |
|
1 |
10 |
53 |
1 |
| atw_response_times_init |
|
1 |
5 |
30 |
1 |
| atw_bbp_io_init |
|
6 |
33 |
145 |
1 |
| atw_si4126_init |
|
3 |
19 |
108 |
1 |
| atw_init |
|
16 |
135 |
980 |
1 |
| atw_bbp_io_enable |
|
2 |
11 |
53 |
2 |
| atw_tune |
|
6 |
24 |
169 |
1 |
| atw_si4126_print |
|
5 |
15 |
102 |
1 |
| atw_si4126_tune |
|
11 |
52 |
362 |
2 |
| atw_rf3000_init |
|
8 |
32 |
192 |
1 |
| atw_rf3000_print |
|
5 |
15 |
102 |
1 |
| atw_rf3000_tune |
|
9 |
45 |
304 |
2 |
| atw_rf3000_write |
|
4 |
19 |
113 |
3 |
| atw_rf3000_read |
|
8 |
31 |
190 |
3 |
| atw_si4126_write |
|
4 |
31 |
227 |
3 |
| atw_si4126_read |
|
8 |
33 |
207 |
3 |
| atw_filter_setup |
|
6 |
42 |
310 |
1 |
| atw_write_bssid |
|
1 |
20 |
172 |
1 |
| atw_write_sram |
|
7 |
30 |
253 |
4 |
| atw_write_wep |
|
9 |
42 |
323 |
1 |
| atw_change_ibss |
|
1 |
6 |
26 |
1 |
| atw_recv_mgmt |
|
8 |
22 |
130 |
5 |
| atw_write_ssid |
|
1 |
10 |
98 |
1 |
| atw_write_sup_rates |
|
2 |
14 |
117 |
1 |
| atw_start_beacon |
|
6 |
51 |
336 |
2 |
| atw_last_even_tsft |
|
1 |
4 |
30 |
3 |
| atw_get_tsft |
|
3 |
12 |
76 |
1 |
| atw_predict_beacon |
|
3 |
31 |
233 |
1 |
| atw_next_scan |
|
2 |
11 |
62 |
1 |
| atw_newstate |
|
16 |
55 |
328 |
3 |
| atw_add_rxbuf |
|
5 |
29 |
199 |
2 |
| atw_txdrain |
|
3 |
14 |
94 |
1 |
| atw_stop |
|
3 |
23 |
150 |
2 |
| atw_rxdrain |
|
3 |
13 |
76 |
1 |
| atw_detach |
|
7 |
38 |
291 |
1 |
| atw_intr |
|
23 |
100 |
603 |
1 |
| atw_idle |
|
13 |
46 |
330 |
2 |
| atw_linkintr |
|
5 |
16 |
109 |
2 |
| atw_hw_decrypted |
|
3 |
8 |
60 |
2 |
| atw_rxintr |
|
15 |
102 |
744 |
1 |
| atw_txintr |
|
17 |
69 |
490 |
1 |
| atw_watchdog |
|
12 |
34 |
230 |
1 |
| atw_compute_duration1 |
|
9 |
42 |
209 |
5 |
| atw_compute_duration |
|
11 |
47 |
303 |
9 |
| atw_dump_pkt |
|
6 |
19 |
152 |
2 |
| atw_start |
|
52 |
257 |
1998 |
1 |
| atw_activate |
|
5 |
17 |
95 |
2 |
| atw_wakeup |
|
3 |
8 |
54 |
1 |
| atw_ioctl |
|
15 |
46 |
262 |
3 |
| atw_media_change |
|
3 |
12 |
59 |
1 |
| atw_media_status |
|
2 |
10 |
57 |
2 |
| Source file: ./sys/dev/ic/rtwreg.h |
| Source file: ./sys/dev/ic/stivar.h |
| Source file: ./sys/dev/ic/sti.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sti_attach_common |
|
5 |
25 |
165 |
5 |
| sti_attach_screen |
|
3 |
19 |
113 |
2 |
| sti_rom_setup |
|
12 |
128 |
1374 |
6 |
| sti_region_setup |
|
22 |
57 |
465 |
1 |
| sti_screen_setup |
|
34 |
157 |
1075 |
2 |
| sti_describe_screen |
|
1 |
10 |
98 |
2 |
| sti_describe |
|
2 |
10 |
81 |
1 |
| sti_end_attach |
|
3 |
7 |
47 |
1 |
| sti_end_attach_screen |
|
3 |
18 |
135 |
3 |
| sti_rom_size |
|
2 |
13 |
71 |
2 |
| sti_fetchfonts |
|
15 |
91 |
692 |
4 |
| sti_init |
|
6 |
28 |
220 |
2 |
| sti_inqcfg |
|
1 |
12 |
85 |
2 |
| sti_bmove |
|
7 |
37 |
251 |
8 |
| sti_setcment |
|
3 |
18 |
158 |
5 |
| sti_ioctl |
|
36 |
97 |
630 |
5 |
| sti_mmap |
|
6 |
14 |
98 |
3 |
| sti_alloc_screen |
|
2 |
13 |
89 |
6 |
| sti_free_screen |
|
1 |
5 |
29 |
2 |
| sti_show_screen |
|
2 |
6 |
48 |
5 |
| sti_cursor |
|
1 |
10 |
81 |
4 |
| sti_mapchar |
|
10 |
27 |
158 |
3 |
| sti_putchar |
|
2 |
44 |
385 |
5 |
| sti_copycols |
|
1 |
10 |
86 |
5 |
| sti_erasecols |
|
1 |
10 |
86 |
5 |
| sti_copyrows |
|
1 |
8 |
77 |
4 |
| sti_eraserows |
|
1 |
8 |
77 |
4 |
| sti_alloc_attr |
|
2 |
6 |
43 |
5 |
| sti_unpack_attr |
|
4 |
13 |
77 |
5 |
| ngle_default_putcmap |
|
3 |
9 |
80 |
3 |
| ngle_artist_setupfb |
|
1 |
15 |
110 |
1 |
| ngle_elk_setupfb |
|
1 |
13 |
92 |
1 |
| ngle_timber_setupfb |
|
1 |
10 |
69 |
1 |
| ngle_setup_bt458 |
|
1 |
9 |
64 |
1 |
| ngle_setup_attr_planes |
|
1 |
19 |
176 |
1 |
| ngle_putcmap |
|
3 |
31 |
247 |
3 |
| ngle_setup_hw |
|
3 |
9 |
51 |
2 |
| ngle_setup_fb |
|
1 |
8 |
60 |
3 |
| Source file: ./sys/dev/ic/lm78.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| lm_attach |
|
6 |
20 |
161 |
1 |
| lm_match |
|
5 |
24 |
92 |
1 |
| def_match |
|
1 |
9 |
48 |
1 |
| wb_match |
|
23 |
100 |
555 |
1 |
| lm_setup_sensors |
|
2 |
13 |
117 |
2 |
| lm_refresh |
|
1 |
5 |
22 |
1 |
| lm_refresh_sensor_data |
|
2 |
6 |
41 |
1 |
| lm_refresh_volt |
|
1 |
9 |
76 |
2 |
| lm_refresh_temp |
|
4 |
15 |
99 |
2 |
| lm_refresh_fanrpm |
|
6 |
21 |
169 |
2 |
| wb_refresh_sensor_data |
|
3 |
13 |
108 |
1 |
| wb_w83637hf_refresh_vcore |
|
2 |
10 |
75 |
2 |
| wb_refresh_nvolt |
|
1 |
10 |
88 |
2 |
| wb_w83627ehf_refresh_nvolt |
|
1 |
10 |
86 |
2 |
| wb_refresh_temp |
|
4 |
16 |
125 |
2 |
| wb_refresh_fanrpm |
|
14 |
39 |
366 |
2 |
| wb_nct6776f_refresh_fanrpm |
|
2 |
14 |
110 |
2 |
| wb_w83792d_refresh_fanrpm |
|
11 |
41 |
236 |
2 |
| as_refresh_temp |
|
3 |
16 |
121 |
2 |
| Source file: ./sys/dev/ic/fxpvar.h |
| Source file: ./sys/dev/ic/tea5757.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tea5757_encode_freq |
|
2 |
10 |
36 |
2 |
| tea5757_decode_freq |
|
2 |
11 |
38 |
2 |
| tea5757_search |
|
4 |
13 |
97 |
4 |
| tea5757_hardware_write |
|
3 |
11 |
110 |
2 |
| tea5757_set_freq |
|
3 |
12 |
74 |
4 |
| tea5757_encode_lock |
|
7 |
13 |
64 |
1 |
| tea5757_decode_lock |
|
5 |
19 |
57 |
1 |
| Source file: ./sys/dev/ic/dp8573areg.h |
| Source file: ./sys/dev/ic/ar5210var.h |
| Source file: ./sys/dev/ic/amivar.h |
| Source file: ./sys/dev/ic/elink3.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ep_reset_cmd |
|
1 |
7 |
47 |
3 |
| ep_finish_reset |
|
3 |
10 |
52 |
2 |
| ep_discard_rxtop |
|
3 |
11 |
65 |
2 |
| ep_w1_reg |
|
5 |
14 |
55 |
2 |
| epconfig |
|
18 |
99 |
631 |
3 |
| ep_detach |
|
2 |
11 |
80 |
1 |
| ep_isa_probemedia |
|
6 |
32 |
222 |
1 |
| ep_vortex_probemedia |
|
7 |
36 |
258 |
1 |
| epinit |
|
10 |
56 |
469 |
1 |
| epsetfilter |
|
3 |
9 |
74 |
1 |
| ep_media_change |
|
1 |
5 |
35 |
1 |
| ep_roadrunner_mii_enable |
|
1 |
16 |
97 |
1 |
| epsetmedia |
|
16 |
90 |
539 |
2 |
| ep_media_status |
|
7 |
42 |
234 |
2 |
| epstart |
|
25 |
99 |
700 |
1 |
| epstatus |
|
13 |
32 |
196 |
1 |
| eptxstat |
|
10 |
34 |
250 |
1 |
| epintr |
|
7 |
33 |
189 |
1 |
| epread |
|
19 |
62 |
343 |
1 |
| epget |
|
14 |
61 |
432 |
2 |
| epioctl |
|
11 |
38 |
210 |
3 |
| epreset |
|
1 |
7 |
28 |
1 |
| epwatchdog |
|
1 |
7 |
45 |
1 |
| epstop |
|
3 |
27 |
211 |
1 |
| epreadeeprom |
|
2 |
10 |
79 |
3 |
| epbusyeeprom |
|
7 |
25 |
128 |
1 |
| ep_read_eeprom |
|
4 |
15 |
89 |
2 |
| epmbuffill |
|
5 |
16 |
106 |
1 |
| epmbufempty |
|
3 |
14 |
84 |
1 |
| ep_mii_setbit |
|
1 |
7 |
47 |
2 |
| ep_mii_clrbit |
|
1 |
7 |
47 |
2 |
| ep_mii_readbit |
|
1 |
5 |
30 |
2 |
| ep_mii_sync |
|
2 |
9 |
48 |
1 |
| ep_mii_sendbits |
|
3 |
15 |
98 |
3 |
| ep_mii_readreg |
|
5 |
29 |
220 |
3 |
| ep_mii_writereg |
|
1 |
15 |
113 |
4 |
| ep_statchg |
|
2 |
15 |
89 |
1 |
| Source file: ./sys/dev/ic/uhavar.h |
| Source file: ./sys/dev/ic/pckbc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pckbc_wait_output |
|
3 |
10 |
54 |
2 |
| pckbc_send_cmd |
|
2 |
7 |
44 |
3 |
| pckbc_poll_data1 |
|
7 |
28 |
143 |
5 |
| pckbc_get8042cmd |
|
3 |
15 |
90 |
1 |
| pckbc_put8042cmd |
|
3 |
12 |
80 |
1 |
| pckbc_send_devcmd |
|
4 |
14 |
92 |
3 |
| pckbc_is_console |
|
5 |
8 |
39 |
2 |
| pckbc_submatch_locators |
|
3 |
9 |
63 |
3 |
| pckbc_submatch |
|
2 |
7 |
61 |
3 |
| pckbc_attach_slot |
|
8 |
23 |
167 |
3 |
| pckbc_attach |
|
30 |
85 |
521 |
2 |
| pckbcprint |
|
2 |
7 |
42 |
2 |
| pckbc_release_console |
|
3 |
8 |
30 |
1 |
| pckbc_init_slotdata |
|
2 |
10 |
69 |
1 |
| pckbc_flush |
|
1 |
6 |
41 |
2 |
| pckbc_poll_data |
|
5 |
13 |
93 |
2 |
| pckbc_xt_translation |
|
6 |
14 |
96 |
1 |
| pckbc_slot_enable |
|
5 |
15 |
100 |
3 |
| pckbc_set_poll |
|
3 |
13 |
74 |
3 |
| pckbc_poll_cmd1 |
|
17 |
60 |
315 |
3 |
| pckbc_poll_cmd |
|
6 |
16 |
134 |
7 |
| pckbc_cleanqueue |
|
5 |
13 |
94 |
1 |
| pckbc_cleanqueues |
|
3 |
7 |
47 |
1 |
| pckbc_cleanup |
|
2 |
13 |
76 |
1 |
| pckbc_stop |
|
1 |
7 |
39 |
1 |
| pckbc_reset |
|
2 |
12 |
100 |
1 |
| pckbc_start |
|
6 |
26 |
172 |
2 |
| pckbc_cmdresponse |
|
14 |
43 |
281 |
3 |
| pckbc_enqueue_cmd |
|
15 |
50 |
364 |
7 |
| pckbc_set_inputhandler |
|
4 |
13 |
100 |
5 |
| pckbc_poll |
|
1 |
9 |
51 |
1 |
| pckbcintr |
|
1 |
5 |
32 |
1 |
| pckbcintr_internal |
|
14 |
39 |
245 |
2 |
| pckbc_cnattach |
|
7 |
38 |
256 |
4 |
| Source file: ./sys/dev/ic/if_wivar.h |
| Source file: ./sys/dev/ic/nec765reg.h |
| Source file: ./sys/dev/ic/rt2560var.h |
| Source file: ./sys/dev/ic/fxpreg.h |
| Source file: ./sys/dev/ic/aic6915.h |
| Source file: ./sys/dev/ic/rt2661.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rt2661_attach |
|
9 |
54 |
363 |
2 |
| rt2661_attachhook |
|
12 |
88 |
596 |
1 |
| rt2661_detach |
|
3 |
18 |
131 |
1 |
| rt2661_suspend |
|
2 |
9 |
50 |
1 |
| rt2661_wakeup |
|
2 |
7 |
40 |
1 |
| rt2661_alloc_tx_ring |
|
8 |
59 |
395 |
3 |
| rt2661_reset_tx_ring |
|
3 |
21 |
168 |
2 |
| rt2661_free_tx_ring |
|
6 |
28 |
226 |
2 |
| rt2661_alloc_rx_ring |
|
11 |
84 |
587 |
3 |
| rt2661_reset_rx_ring |
|
2 |
9 |
77 |
2 |
| rt2661_free_rx_ring |
|
6 |
27 |
220 |
2 |
| rt2661_amrr_node_alloc |
|
4 |
20 |
119 |
2 |
| rt2661_amrr_node_free |
|
2 |
11 |
70 |
2 |
| rt2661_amrr_node_free_all |
|
1 |
9 |
51 |
1 |
| rt2661_amrr_node_free_unused |
|
2 |
11 |
61 |
1 |
| rt2661_amrr_node_find |
|
4 |
16 |
94 |
2 |
| rt2661_node_alloc |
|
2 |
10 |
59 |
1 |
| rt2661_node_free |
|
2 |
8 |
58 |
2 |
| rt2661_media_change |
|
3 |
10 |
56 |
1 |
| rt2661_next_scan |
|
2 |
11 |
62 |
1 |
| rt2661_iter_func |
|
2 |
7 |
55 |
2 |
| rt2661_updatestats |
|
3 |
17 |
97 |
1 |
| rt2661_newassoc |
|
4 |
12 |
103 |
3 |
| rt2661_newstate |
|
12 |
50 |
294 |
3 |
| rt2661_eeprom_read |
|
4 |
36 |
282 |
2 |
| rt2661_tx_intr |
|
8 |
41 |
217 |
1 |
| rt2661_tx_dma_intr |
|
12 |
42 |
363 |
2 |
| rt2661_rx_intr |
|
12 |
100 |
789 |
1 |
| rt2661_mcu_beacon_expire |
|
4 |
16 |
106 |
1 |
| rt2661_mcu_wakeup |
|
1 |
8 |
57 |
1 |
| rt2661_mcu_cmd_intr |
|
1 |
5 |
25 |
1 |
| rt2661_intr |
|
16 |
41 |
297 |
1 |
| rt2661_rxrate |
|
14 |
25 |
131 |
1 |
| rt2661_ack_rate |
|
14 |
23 |
82 |
2 |
| rt2661_txtime |
|
4 |
15 |
100 |
3 |
| rt2661_plcp_signal |
|
13 |
18 |
90 |
1 |
| rt2661_setup_tx_desc |
|
8 |
43 |
341 |
10 |
| rt2661_tx_mgt |
|
7 |
64 |
501 |
3 |
| rt2661_tx_data |
|
36 |
169 |
1302 |
4 |
| rt2661_start |
|
20 |
51 |
327 |
1 |
| rt2661_watchdog |
|
3 |
15 |
79 |
1 |
| rt2661_ioctl |
|
12 |
42 |
235 |
3 |
| rt2661_bbp_write |
|
4 |
17 |
115 |
3 |
| rt2661_bbp_read |
|
6 |
24 |
153 |
2 |
| rt2661_rf_write |
|
4 |
19 |
134 |
3 |
| rt2661_tx_cmd |
|
2 |
9 |
59 |
3 |
| rt2661_select_antenna |
|
1 |
12 |
82 |
1 |
| rt2661_enable_mrr |
|
2 |
11 |
64 |
1 |
| rt2661_set_txpreamble |
|
2 |
9 |
48 |
1 |
| rt2661_set_basicrates |
|
3 |
11 |
70 |
1 |
| rt2661_select_band |
|
12 |
36 |
293 |
2 |
| rt2661_set_chan |
|
12 |
49 |
458 |
2 |
| rt2661_set_bssid |
|
1 |
8 |
86 |
2 |
| rt2661_set_macaddr |
|
1 |
8 |
86 |
2 |
| rt2661_update_promisc |
|
3 |
12 |
80 |
1 |
| rt2661_updateslot |
|
2 |
8 |
42 |
1 |
| rt2661_set_slottime |
|
2 |
12 |
76 |
1 |
| rt2661_get_rf |
|
5 |
10 |
42 |
1 |
| rt2661_read_eeprom |
|
11 |
63 |
629 |
1 |
| rt2661_bbp_init |
|
8 |
24 |
172 |
1 |
| rt2661_init |
|
15 |
95 |
699 |
1 |
| rt2661_stop |
|
5 |
32 |
252 |
2 |
| rt2661_load_microcode |
|
4 |
23 |
150 |
1 |
| rt2661_rx_tune |
|
15 |
41 |
280 |
1 |
| rt2661_radar_start |
|
2 |
22 |
194 |
1 |
| rt2661_radar_stop |
|
1 |
12 |
92 |
1 |
| rt2661_prepare_beacon |
|
6 |
36 |
253 |
1 |
| rt2661_enable_tsf_sync |
|
3 |
16 |
107 |
1 |
| rt2661_get_rssi |
|
8 |
25 |
135 |
2 |
| Source file: ./sys/dev/ic/cd1190reg.h |
| Source file: ./sys/dev/ic/siopreg.h |
| Source file: ./sys/dev/ic/i82365.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pcic_ident_ok |
|
6 |
12 |
60 |
1 |
| pcic_vendor |
|
9 |
48 |
241 |
1 |
| pcic_attach |
|
18 |
100 |
950 |
1 |
| pcic_attach_sockets |
|
3 |
8 |
51 |
1 |
| pcic_attach_socket |
|
2 |
21 |
134 |
1 |
| pcic_create_event_thread |
|
6 |
29 |
137 |
1 |
| pcic_event_thread |
|
3 |
24 |
149 |
1 |
| pcic_event_process |
|
13 |
56 |
364 |
2 |
| pcic_init_socket |
|
7 |
30 |
190 |
1 |
| pcic_submatch |
|
21 |
53 |
296 |
3 |
| pcic_print |
|
6 |
26 |
109 |
2 |
| pcic_intr |
|
4 |
11 |
85 |
1 |
| pcic_poll_intr |
|
3 |
12 |
80 |
1 |
| pcic_intr_socket |
|
11 |
53 |
302 |
1 |
| pcic_queue_event |
|
2 |
15 |
87 |
2 |
| pcic_attach_card |
|
2 |
8 |
37 |
1 |
| pcic_detach_card |
|
2 |
11 |
51 |
2 |
| pcic_deactivate_card |
|
2 |
9 |
58 |
1 |
| pcic_power |
|
5 |
18 |
113 |
2 |
| pcic_chip_mem_alloc |
|
5 |
39 |
273 |
3 |
| pcic_chip_mem_free |
|
1 |
8 |
52 |
2 |
| pcic_chip_do_mem_map |
|
5 |
45 |
439 |
2 |
| pcic_chip_mem_map |
|
5 |
43 |
313 |
7 |
| pcic_chip_mem_unmap |
|
2 |
13 |
91 |
2 |
| pcic_chip_io_alloc |
|
10 |
55 |
387 |
5 |
| pcic_chip_io_free |
|
2 |
12 |
64 |
2 |
| pcic_chip_do_io_map |
|
1 |
23 |
264 |
2 |
| pcic_chip_io_map |
|
6 |
34 |
264 |
6 |
| pcic_chip_io_unmap |
|
2 |
13 |
91 |
2 |
| pcic_wait_ready |
|
7 |
14 |
80 |
1 |
| pcic_chip_socket_enable |
|
10 |
45 |
334 |
1 |
| pcic_chip_socket_disable |
|
1 |
8 |
44 |
1 |
| st_pcic_read |
|
2 |
9 |
56 |
2 |
| st_pcic_write |
|
3 |
12 |
69 |
3 |
| Source file: ./sys/dev/ic/advlib.h |
| Source file: ./sys/dev/ic/aacreg.h |
| Source file: ./sys/dev/ic/lm700x.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| lm700x_encode_freq |
|
1 |
6 |
24 |
2 |
| lm700x_hardware_write |
|
3 |
26 |
239 |
3 |
| lm700x_encode_ref |
|
4 |
11 |
43 |
1 |
| lm700x_decode_ref |
|
4 |
17 |
48 |
1 |
| Source file: ./sys/dev/ic/ar9285reg.h |
| Source file: ./sys/dev/ic/twe.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| twe_get_ccb |
|
2 |
11 |
71 |
1 |
| twe_put_ccb |
|
1 |
9 |
60 |
2 |
| twe_dispose |
|
4 |
14 |
110 |
1 |
| twe_attach |
|
33 |
234 |
1604 |
1 |
| twe_thread_create |
|
2 |
19 |
136 |
1 |
| twe_thread |
|
7 |
40 |
295 |
1 |
| twe_cmd |
|
18 |
93 |
662 |
3 |
| twe_start |
|
5 |
36 |
237 |
2 |
| twe_complete |
|
6 |
26 |
196 |
1 |
| twe_done |
|
12 |
54 |
324 |
2 |
| tweminphys |
|
2 |
6 |
33 |
2 |
| twe_copy_internal_data |
|
2 |
14 |
71 |
3 |
| twe_scsi_cmd |
|
33 |
138 |
948 |
1 |
| twe_intr |
|
8 |
43 |
265 |
1 |
| twe_aen |
|
3 |
35 |
236 |
2 |
| Source file: ./sys/dev/ic/bt485var.h |
| Source file: ./sys/dev/ic/dcreg.h |
| Source file: ./sys/dev/ic/cac.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cac_init |
|
16 |
100 |
790 |
2 |
| cac_flush |
|
1 |
9 |
59 |
1 |
| cac_intr |
|
4 |
16 |
102 |
1 |
| cac_cmd |
|
12 |
70 |
545 |
8 |
| cac_ccb_poll |
|
5 |
17 |
110 |
3 |
| cac_ccb_start |
|
5 |
22 |
151 |
2 |
| cac_ccb_done |
|
10 |
37 |
247 |
2 |
| cac_ccb_alloc |
|
3 |
14 |
89 |
1 |
| cac_ccb_free |
|
1 |
9 |
60 |
2 |
| cac_get_dinfo |
|
3 |
14 |
89 |
2 |
| cacminphys |
|
2 |
6 |
33 |
2 |
| cac_copy_internal_data |
|
2 |
13 |
62 |
3 |
| cac_scsi_cmd |
|
33 |
134 |
816 |
1 |
| cac_l0_fifo_full |
|
1 |
4 |
21 |
1 |
| cac_l0_submit |
|
2 |
8 |
57 |
2 |
| cac_l0_completed |
|
5 |
18 |
126 |
1 |
| cac_l0_intr_pending |
|
1 |
4 |
19 |
1 |
| cac_l0_intr_enable |
|
2 |
5 |
25 |
2 |
| cac_ioctl |
|
8 |
34 |
184 |
3 |
| cac_ioctl_vol |
|
7 |
30 |
250 |
2 |
| cac_create_sensors |
|
8 |
42 |
314 |
1 |
| cac_sensor_refresh |
|
10 |
40 |
237 |
1 |
| Source file: ./sys/dev/ic/ar9003reg.h |
| Source file: ./sys/dev/ic/ramdac.h |
| Source file: ./sys/dev/ic/i82810reg.h |
| Source file: ./sys/dev/ic/lsi64854reg.h |
| Source file: ./sys/dev/ic/hmevar.h |
| Source file: ./sys/dev/ic/z8530tty.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| zs_device_lookup |
|
1 |
4 |
25 |
2 |
| zstty_match |
|
3 |
10 |
65 |
3 |
| zstty_attach |
|
19 |
88 |
660 |
3 |
| zstty |
|
1 |
5 |
30 |
1 |
| zs_shutdown |
|
7 |
26 |
203 |
1 |
| zsopen |
|
49 |
133 |
886 |
4 |
| zsclose |
|
3 |
18 |
135 |
4 |
| zsread |
|
1 |
6 |
60 |
3 |
| zswrite |
|
1 |
6 |
60 |
3 |
| zsioctl |
|
17 |
57 |
329 |
5 |
| zsstart |
|
7 |
33 |
211 |
1 |
| zsstop |
|
3 |
14 |
93 |
2 |
| zsparam |
|
24 |
103 |
640 |
2 |
| zs_maskintr |
|
4 |
18 |
119 |
1 |
| zs_modem |
|
6 |
19 |
126 |
2 |
| tiocm_to_zs |
|
9 |
31 |
196 |
3 |
| zs_to_tiocm |
|
6 |
18 |
129 |
1 |
| zshwiflow |
|
6 |
27 |
169 |
2 |
| zs_hwiflow |
|
4 |
15 |
133 |
1 |
| zstty_rxint |
|
9 |
43 |
279 |
1 |
| zstty_txint |
|
6 |
27 |
146 |
1 |
| zstty_stint |
|
7 |
27 |
183 |
2 |
| zstty_diag |
|
3 |
17 |
97 |
1 |
| zstty_rxsoft |
|
19 |
72 |
482 |
2 |
| zstty_txsoft |
|
2 |
13 |
98 |
2 |
| zstty_stsoft |
|
4 |
22 |
154 |
2 |
| zstty_softint |
|
4 |
20 |
104 |
1 |
| Source file: ./sys/dev/ic/smc93cx6var.h |
| Source file: ./sys/dev/ic/if_wi.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wi_attach |
|
40 |
194 |
1484 |
2 |
| wi_intr_enable |
|
2 |
5 |
32 |
2 |
| wi_intr_ack |
|
2 |
5 |
32 |
2 |
| wi_intr |
|
12 |
48 |
309 |
1 |
| wi_get_fid_io |
|
1 |
4 |
20 |
2 |
| wi_rxeof |
|
40 |
244 |
1373 |
1 |
| wi_txeof |
|
2 |
10 |
53 |
2 |
| wi_inquire |
|
3 |
18 |
103 |
1 |
| wi_update_stats |
|
8 |
36 |
289 |
1 |
| wi_cmd_io |
|
10 |
36 |
243 |
5 |
| wi_reset |
|
6 |
23 |
139 |
1 |
| wi_cor_reset |
|
2 |
16 |
104 |
1 |
| wi_read_record_io |
|
27 |
73 |
476 |
2 |
| wi_write_record_io |
|
28 |
94 |
615 |
2 |
| wi_seek |
|
6 |
27 |
146 |
4 |
| wi_read_data_io |
|
2 |
9 |
67 |
5 |
| wi_write_data_io |
|
7 |
17 |
130 |
5 |
| wi_alloc_nicmem_io |
|
7 |
22 |
161 |
3 |
| wi_setmulti |
|
6 |
32 |
228 |
1 |
| wi_setdef |
|
25 |
96 |
626 |
2 |
| wi_ioctl |
|
149 |
461 |
3082 |
3 |
| wi_scan_timeout |
|
7 |
21 |
150 |
1 |
| wi_init_io |
|
20 |
78 |
641 |
1 |
| wi_do_hostencrypt |
|
5 |
38 |
318 |
3 |
| wi_do_hostdecrypt |
|
8 |
37 |
322 |
3 |
| wi_start |
|
23 |
121 |
974 |
1 |
| wi_mgmt_xmit |
|
3 |
28 |
230 |
3 |
| wi_stop |
|
2 |
16 |
106 |
1 |
| wi_watchdog |
|
1 |
10 |
48 |
1 |
| wi_detach |
|
3 |
10 |
52 |
1 |
| wi_get_id |
|
15 |
72 |
653 |
1 |
| wi_sync_media |
|
12 |
54 |
228 |
3 |
| wi_media_change |
|
19 |
56 |
294 |
1 |
| wi_media_status |
|
13 |
47 |
262 |
2 |
| wi_set_nwkey |
|
18 |
54 |
446 |
2 |
| wi_get_nwkey |
|
7 |
25 |
185 |
2 |
| wi_set_pm |
|
2 |
8 |
52 |
2 |
| wi_get_pm |
|
1 |
6 |
35 |
2 |
| wi_set_txpower |
|
10 |
45 |
265 |
2 |
| wi_get_txpower |
|
5 |
26 |
142 |
2 |
| wi_set_ssid |
|
2 |
8 |
49 |
3 |
| wi_get_debug |
|
10 |
52 |
364 |
2 |
| wi_set_debug |
|
17 |
76 |
451 |
2 |
| Source file: ./sys/dev/ic/ncr53c9x.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ncr53c9x_lunsearch |
|
2 |
10 |
50 |
2 |
| ncr53c9x_attach |
|
8 |
45 |
321 |
1 |
| ncr53c9x_reset |
|
13 |
58 |
391 |
1 |
| ncr53c9x_scsi_reset |
|
1 |
7 |
41 |
1 |
| ncr53c9x_init |
|
18 |
77 |
524 |
2 |
| ncr53c9x_readregs |
|
4 |
16 |
130 |
1 |
| ncr53c9x_stp2cpb |
|
2 |
10 |
50 |
2 |
| ncr53c9x_setsync |
|
8 |
26 |
158 |
2 |
| ncr53c9x_select |
|
16 |
101 |
706 |
2 |
| ncr53c9x_get_ecb |
|
2 |
10 |
59 |
1 |
| ncr53c9x_free_ecb |
|
1 |
4 |
20 |
2 |
| ncr53c9x_scsi_probe |
|
3 |
19 |
131 |
1 |
| ncr53c9x_scsi_free |
|
2 |
15 |
99 |
1 |
| ncr53c9x_scsi_cmd |
|
7 |
53 |
369 |
1 |
| ncr53c9x_poll |
|
7 |
31 |
156 |
3 |
| ncr53c9x_sched |
|
28 |
100 |
602 |
1 |
| ncr53c9x_sense |
|
4 |
35 |
265 |
2 |
| ncr53c9x_done |
|
12 |
49 |
338 |
2 |
| ncr53c9x_dequeue |
|
11 |
30 |
245 |
2 |
| ncr53c9x_flushfifo |
|
3 |
8 |
42 |
1 |
| ncr53c9x_rdfifo |
|
11 |
45 |
270 |
2 |
| ncr53c9x_wrfifo |
|
6 |
15 |
108 |
3 |
| ncr53c9x_reselect |
|
11 |
54 |
329 |
4 |
| __verify_msg_format |
|
8 |
11 |
74 |
2 |
| ncr53c9x_msgin |
|
49 |
252 |
1471 |
1 |
| ncr53c9x_msgout |
|
21 |
120 |
770 |
1 |
| ncr53c9x_intr |
|
109 |
521 |
2886 |
1 |
| ncr53c9x_abort |
|
5 |
20 |
113 |
2 |
| ncr53c9x_timeout |
|
7 |
38 |
259 |
1 |
| Source file: ./sys/dev/ic/uha.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| uhaprint |
|
2 |
8 |
33 |
2 |
| uha_attach |
|
1 |
17 |
135 |
1 |
| uha_reset_mscp |
|
1 |
6 |
24 |
2 |
| uha_mscp_free |
|
1 |
10 |
64 |
2 |
| uha_mscp_alloc |
|
2 |
14 |
75 |
1 |
| uha_mscp_phys_kv |
|
3 |
13 |
63 |
2 |
| uha_done |
|
8 |
43 |
233 |
2 |
| uhaminphys |
|
2 |
6 |
51 |
2 |
| uha_scsi_cmd |
|
12 |
99 |
629 |
1 |
| uha_timeout |
|
2 |
22 |
122 |
1 |
| Source file: ./sys/dev/ic/adwlib.h |
| Source file: ./sys/dev/ic/ar9280reg.h |
| Source file: ./sys/dev/ic/rt2860.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rt2860_attach |
|
16 |
57 |
399 |
2 |
| rt2860_attachhook |
|
7 |
73 |
513 |
1 |
| rt2860_detach |
|
3 |
15 |
105 |
1 |
| rt2860_suspend |
|
2 |
7 |
42 |
1 |
| rt2860_wakeup |
|
2 |
7 |
40 |
1 |
| rt2860_alloc_tx_ring |
|
5 |
35 |
271 |
2 |
| rt2860_reset_tx_ring |
|
3 |
19 |
142 |
2 |
| rt2860_free_tx_ring |
|
5 |
24 |
202 |
2 |
| rt2860_alloc_tx_pool |
|
7 |
56 |
387 |
1 |
| rt2860_free_tx_pool |
|
4 |
19 |
148 |
1 |
| rt2860_alloc_rx_ring |
|
9 |
63 |
483 |
2 |
| rt2860_reset_rx_ring |
|
2 |
9 |
71 |
2 |
| rt2860_free_rx_ring |
|
6 |
25 |
210 |
2 |
| rt2860_node_alloc |
|
1 |
5 |
25 |
1 |
| rt2860_media_change |
|
6 |
24 |
152 |
1 |
| rt2860_iter_func |
|
1 |
6 |
52 |
2 |
| rt2860_updatestats |
|
5 |
19 |
134 |
1 |
| rt2860_newassoc |
|
10 |
37 |
326 |
3 |
| rt2860_node_leave |
|
1 |
6 |
51 |
2 |
| rt2860_ampdu_rx_start |
|
1 |
11 |
86 |
3 |
| rt2860_ampdu_rx_stop |
|
1 |
10 |
85 |
3 |
| rt2860_newstate |
|
15 |
56 |
325 |
3 |
| rt3090_efuse_read_2 |
|
6 |
24 |
161 |
2 |
| rt2860_eeprom_read_2 |
|
4 |
36 |
286 |
2 |
| rt2860_srom_read |
|
1 |
4 |
22 |
2 |
| rt2860_intr_coherent |
|
1 |
9 |
55 |
1 |
| rt2860_drain_stats_fifo |
|
6 |
24 |
161 |
1 |
| rt2860_tx_intr |
|
4 |
30 |
237 |
2 |
| rt2860_maxrssi_chain |
|
5 |
12 |
81 |
2 |
| rt2860_rx_intr |
|
28 |
138 |
1092 |
1 |
| rt2860_tbtt_intr |
|
5 |
17 |
100 |
1 |
| rt2860_gp_intr |
|
3 |
9 |
62 |
1 |
| rt2860_intr |
|
15 |
36 |
200 |
1 |
| rt2860_tx |
|
31 |
150 |
1221 |
3 |
| rt2860_start |
|
16 |
45 |
286 |
1 |
| rt2860_watchdog |
|
3 |
16 |
86 |
1 |
| rt2860_ioctl |
|
12 |
42 |
241 |
3 |
| rt2860_mcu_bbp_write |
|
4 |
19 |
114 |
3 |
| rt2860_mcu_bbp_read |
|
6 |
29 |
172 |
2 |
| rt2860_rf_write |
|
4 |
17 |
111 |
3 |
| rt3090_rf_read |
|
7 |
29 |
161 |
2 |
| rt3090_rf_write |
|
4 |
16 |
100 |
3 |
| rt2860_mcu_cmd |
|
12 |
40 |
282 |
4 |
| rt2860_enable_mrr |
|
1 |
17 |
113 |
1 |
| rt2860_set_txpreamble |
|
2 |
9 |
48 |
1 |
| rt2860_set_basicrates |
|
3 |
10 |
64 |
1 |
| rt2860_select_chan_group |
|
24 |
83 |
572 |
2 |
| rt2860_set_chan |
|
8 |
43 |
364 |
2 |
| rt3090_set_chan |
|
7 |
45 |
393 |
2 |
| rt5390_set_chan |
|
22 |
78 |
650 |
2 |
| rt3090_rf_init |
|
19 |
86 |
662 |
1 |
| rt5390_rf_init |
|
10 |
49 |
397 |
1 |
| rt3090_rf_wakeup |
|
5 |
43 |
339 |
1 |
| rt5390_rf_wakeup |
|
5 |
28 |
227 |
1 |
| rt3090_filter_calib |
|
8 |
43 |
282 |
4 |
| rt3090_rf_setup |
|
8 |
23 |
172 |
1 |
| rt2860_set_leds |
|
1 |
5 |
31 |
2 |
| rt2860_set_gp_timer |
|
2 |
14 |
98 |
2 |
| rt2860_set_bssid |
|
1 |
7 |
70 |
2 |
| rt2860_set_macaddr |
|
1 |
7 |
75 |
2 |
| rt2860_updateslot |
|
2 |
10 |
57 |
1 |
| rt2860_updateprot |
|
5 |
17 |
106 |
1 |
| rt2860_updateedca |
|
2 |
33 |
303 |
1 |
| rt2860_set_key |
|
17 |
87 |
677 |
3 |
| rt2860_delete_key |
|
2 |
17 |
121 |
3 |
| rt2860_rssi2dbm |
|
4 |
18 |
131 |
3 |
| b4inc |
|
4 |
14 |
76 |
2 |
| rt2860_get_rf |
|
15 |
20 |
102 |
1 |
| rt2860_read_eeprom |
|
51 |
247 |
2482 |
1 |
| rt2860_bbp_init |
|
12 |
33 |
224 |
1 |
| rt5390_bbp_init |
|
5 |
27 |
203 |
1 |
| rt2860_txrx_enable |
|
6 |
35 |
198 |
1 |
| rt2860_init |
|
49 |
199 |
1653 |
1 |
| rt2860_stop |
|
6 |
32 |
235 |
2 |
| rt2860_load_microcode |
|
4 |
23 |
140 |
1 |
| rt2860_calib |
|
10 |
30 |
234 |
1 |
| rt3090_set_rx_antenna |
|
4 |
29 |
166 |
2 |
| rt2860_switch_chan |
|
9 |
25 |
146 |
2 |
| rt2860_setup_beacon |
|
4 |
26 |
202 |
1 |
| rt2860_enable_tsf_sync |
|
4 |
20 |
121 |
1 |
| Source file: ./sys/dev/ic/if_wi_hostap.h |
| Source file: ./sys/dev/ic/ncr53c9xreg.h |
| Source file: ./sys/dev/ic/cacreg.h |
| Source file: ./sys/dev/ic/gdtvar.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| gdt_ccb_set_cmd |
|
1 |
7 |
38 |
2 |
| gdt_enc16 |
|
1 |
4 |
23 |
2 |
| gdt_enc32 |
|
1 |
4 |
23 |
2 |
| gdt_dec8 |
|
1 |
4 |
16 |
1 |
| gdt_dec16 |
|
1 |
4 |
19 |
1 |
| gdt_dec32 |
|
1 |
4 |
19 |
1 |
| Source file: ./sys/dev/ic/adw.h |
| Source file: ./sys/dev/ic/acx100.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| acx100_set_param |
|
1 |
26 |
158 |
1 |
| acx100_init |
|
5 |
25 |
134 |
1 |
| acx100_init_wep |
|
4 |
23 |
188 |
1 |
| acx100_init_tmplt |
|
4 |
19 |
133 |
1 |
| acx100_init_fw_ring |
|
4 |
37 |
272 |
1 |
| acx100_init_memory |
|
7 |
54 |
419 |
1 |
| acx100_init_fw_txring |
|
3 |
27 |
176 |
2 |
| acx100_init_fw_rxring |
|
3 |
21 |
119 |
2 |
| acx100_read_config |
|
3 |
21 |
159 |
2 |
| acx100_write_config |
|
3 |
20 |
134 |
2 |
| acx100_set_txpower |
|
4 |
20 |
92 |
1 |
| acx100_set_fw_txdesc_rate |
|
1 |
5 |
31 |
3 |
| acx100_set_bss_join_param |
|
1 |
7 |
41 |
3 |
| acx100_set_wepkey |
|
3 |
20 |
134 |
3 |
| acx100_proc_wep_rxbuf |
|
2 |
13 |
91 |
3 |
| Source file: ./sys/dev/ic/arcofivar.h |
| Source file: ./sys/dev/ic/ax88190var.h |
| Source file: ./sys/dev/ic/rt2560.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rt2560_attach |
|
8 |
97 |
682 |
2 |
| rt2560_detach |
|
1 |
15 |
106 |
1 |
| rt2560_suspend |
|
2 |
7 |
42 |
1 |
| rt2560_wakeup |
|
2 |
7 |
40 |
1 |
| rt2560_alloc_tx_ring |
|
8 |
60 |
401 |
3 |
| rt2560_reset_tx_ring |
|
3 |
22 |
174 |
2 |
| rt2560_free_tx_ring |
|
6 |
28 |
226 |
2 |
| rt2560_alloc_rx_ring |
|
11 |
85 |
593 |
3 |
| rt2560_reset_rx_ring |
|
2 |
12 |
96 |
2 |
| rt2560_free_rx_ring |
|
6 |
27 |
220 |
2 |
| rt2560_node_alloc |
|
1 |
5 |
25 |
1 |
| rt2560_media_change |
|
3 |
10 |
56 |
1 |
| rt2560_next_scan |
|
2 |
11 |
62 |
1 |
| rt2560_iter_func |
|
1 |
6 |
47 |
2 |
| rt2560_amrr_timeout |
|
2 |
13 |
76 |
1 |
| rt2560_newassoc |
|
3 |
10 |
90 |
3 |
| rt2560_newstate |
|
16 |
61 |
368 |
3 |
| rt2560_eeprom_read |
|
4 |
36 |
282 |
2 |
| rt2560_encryption_intr |
|
4 |
28 |
210 |
1 |
| rt2560_tx_intr |
|
14 |
66 |
504 |
1 |
| rt2560_prio_intr |
|
13 |
56 |
430 |
1 |
| rt2560_decryption_intr |
|
12 |
104 |
777 |
1 |
| rt2560_rx_intr |
|
5 |
31 |
254 |
1 |
| rt2560_beacon_expire |
|
8 |
24 |
172 |
1 |
| rt2560_wakeup_expire |
|
1 |
4 |
18 |
1 |
| rt2560_intr |
|
11 |
31 |
181 |
1 |
| rt2560_rxrate |
|
14 |
25 |
129 |
1 |
| rt2560_ack_rate |
|
14 |
23 |
82 |
2 |
| rt2560_txtime |
|
4 |
15 |
100 |
3 |
| rt2560_plcp_signal |
|
13 |
18 |
90 |
1 |
| rt2560_setup_tx_desc |
|
8 |
36 |
263 |
7 |
| rt2560_tx_bcn |
|
5 |
41 |
299 |
3 |
| rt2560_tx_mgt |
|
6 |
63 |
488 |
3 |
| rt2560_tx_data |
|
33 |
171 |
1240 |
3 |
| rt2560_start |
|
20 |
52 |
334 |
1 |
| rt2560_watchdog |
|
3 |
15 |
79 |
1 |
| rt2560_ioctl |
|
12 |
42 |
235 |
3 |
| rt2560_bbp_write |
|
4 |
17 |
113 |
3 |
| rt2560_bbp_read |
|
6 |
24 |
151 |
2 |
| rt2560_rf_write |
|
4 |
19 |
134 |
3 |
| rt2560_set_chan |
|
19 |
72 |
577 |
2 |
| rt2560_disable_rf_tune |
|
2 |
11 |
71 |
1 |
| rt2560_enable_tsf_sync |
|
3 |
22 |
147 |
1 |
| rt2560_update_plcp |
|
3 |
16 |
117 |
1 |
| rt2560_updateslot |
|
2 |
8 |
42 |
1 |
| rt2560_set_slottime |
|
3 |
21 |
158 |
1 |
| rt2560_set_basicrates |
|
2 |
9 |
50 |
1 |
| rt2560_update_led |
|
1 |
6 |
46 |
3 |
| rt2560_set_bssid |
|
1 |
9 |
92 |
2 |
| rt2560_set_macaddr |
|
1 |
9 |
92 |
2 |
| rt2560_get_macaddr |
|
1 |
12 |
106 |
2 |
| rt2560_update_promisc |
|
3 |
12 |
80 |
1 |
| rt2560_set_txantenna |
|
6 |
19 |
125 |
2 |
| rt2560_set_rxantenna |
|
5 |
14 |
79 |
2 |
| rt2560_get_rf |
|
8 |
13 |
60 |
1 |
| rt2560_read_eeprom |
|
3 |
22 |
207 |
1 |
| rt2560_bbp_init |
|
8 |
23 |
162 |
1 |
| rt2560_init |
|
10 |
66 |
503 |
1 |
| rt2560_stop |
|
4 |
28 |
219 |
2 |
| Source file: ./sys/dev/ic/bwi.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bwi_intr |
|
29 |
91 |
575 |
1 |
| bwi_attach |
|
22 |
137 |
885 |
1 |
| bwi_detach |
|
2 |
16 |
105 |
1 |
| bwi_tmplt_write_4 |
|
2 |
8 |
57 |
3 |
| bwi_hostflags_write |
|
1 |
8 |
54 |
2 |
| bwi_hostflags_read |
|
1 |
10 |
56 |
1 |
| bwi_memobj_read_2 |
|
2 |
12 |
76 |
3 |
| bwi_memobj_read_4 |
|
2 |
19 |
131 |
3 |
| bwi_memobj_write_2 |
|
2 |
13 |
78 |
4 |
| bwi_memobj_write_4 |
|
2 |
17 |
125 |
4 |
| bwi_mac_lateattach |
|
8 |
30 |
176 |
1 |
| bwi_mac_init |
|
18 |
93 |
591 |
1 |
| bwi_mac_reset |
|
4 |
36 |
222 |
2 |
| bwi_mac_set_tpctl_11bg |
|
5 |
25 |
182 |
2 |
| bwi_mac_test |
|
5 |
32 |
220 |
1 |
| bwi_mac_setup_tpctl |
|
27 |
75 |
431 |
1 |
| bwi_mac_dummy_xmit |
|
13 |
53 |
393 |
1 |
| bwi_mac_init_tpctl_11bg |
|
13 |
49 |
347 |
1 |
| bwi_mac_detach |
|
1 |
4 |
14 |
1 |
| bwi_get_firmware |
|
5 |
24 |
206 |
5 |
| bwi_fwimage_is_valid |
|
6 |
35 |
207 |
5 |
| bwi_mac_fw_alloc |
|
26 |
104 |
761 |
1 |
| bwi_mac_fw_free |
|
2 |
7 |
38 |
1 |
| bwi_mac_fw_load |
|
7 |
57 |
381 |
1 |
| bwi_mac_gpio_init |
|
4 |
26 |
156 |
1 |
| bwi_mac_gpio_fini |
|
2 |
12 |
78 |
1 |
| bwi_mac_fw_load_iv |
|
8 |
60 |
437 |
3 |
| bwi_mac_fw_init |
|
4 |
17 |
103 |
1 |
| bwi_mac_opmode_init |
|
11 |
48 |
234 |
1 |
| bwi_mac_hostflags_init |
|
8 |
23 |
144 |
1 |
| bwi_mac_bss_param_init |
|
2 |
22 |
145 |
1 |
| bwi_mac_set_retry_lim |
|
1 |
11 |
67 |
2 |
| bwi_mac_set_ackrates |
|
4 |
28 |
173 |
2 |
| bwi_mac_start |
|
1 |
9 |
58 |
1 |
| bwi_mac_stop |
|
5 |
20 |
117 |
1 |
| bwi_mac_config_ps |
|
5 |
24 |
131 |
1 |
| bwi_mac_reset_hwkeys |
|
1 |
4 |
18 |
1 |
| bwi_mac_shutdown |
|
3 |
16 |
107 |
1 |
| bwi_mac_get_property |
|
6 |
36 |
213 |
1 |
| bwi_mac_updateslot |
|
3 |
16 |
90 |
2 |
| bwi_mac_attach |
|
10 |
39 |
259 |
3 |
| bwi_mac_balance_atten |
|
11 |
29 |
157 |
2 |
| bwi_mac_adjust_tpctl |
|
9 |
43 |
256 |
3 |
| bwi_mac_calibrate_txpower |
|
15 |
77 |
499 |
2 |
| bwi_mac_lock |
|
3 |
14 |
87 |
1 |
| bwi_mac_unlock |
|
3 |
13 |
78 |
1 |
| bwi_mac_set_promisc |
|
3 |
10 |
54 |
2 |
| bwi_phy_write |
|
1 |
6 |
42 |
3 |
| bwi_phy_read |
|
1 |
6 |
40 |
2 |
| bwi_phy_attach |
|
9 |
61 |
345 |
1 |
| bwi_phy_set_bbp_atten |
|
3 |
16 |
93 |
2 |
| bwi_phy_calibrate |
|
4 |
14 |
87 |
1 |
| bwi_tbl_write_2 |
|
2 |
7 |
62 |
3 |
| bwi_tbl_write_4 |
|
3 |
9 |
84 |
3 |
| bwi_nrssi_write |
|
1 |
5 |
36 |
3 |
| bwi_nrssi_read |
|
1 |
5 |
34 |
2 |
| bwi_phy_init_11a |
|
1 |
3 |
9 |
1 |
| bwi_phy_init_11g |
|
34 |
92 |
685 |
1 |
| bwi_phy_init_11b_rev2 |
|
1 |
7 |
33 |
1 |
| bwi_phy_init_11b_rev4 |
|
9 |
53 |
404 |
1 |
| bwi_phy_init_11b_rev5 |
|
15 |
73 |
568 |
1 |
| bwi_phy_init_11b_rev6 |
|
19 |
117 |
873 |
1 |
| bwi_phy_config_11g |
|
24 |
94 |
721 |
1 |
| bwi_phy_config_agc |
|
8 |
65 |
580 |
1 |
| bwi_set_gains |
|
10 |
45 |
289 |
2 |
| bwi_phy_clear_state |
|
1 |
4 |
15 |
1 |
| bwi_nrssi_11g |
|
2 |
8 |
44 |
1 |
| bwi_get_rf_lo |
|
1 |
7 |
52 |
3 |
| bwi_rf_lo_isused |
|
2 |
8 |
59 |
2 |
| bwi_rf_write |
|
1 |
6 |
42 |
3 |
| bwi_rf_read |
|
4 |
14 |
85 |
2 |
| bwi_rf_attach |
|
15 |
94 |
520 |
1 |
| bwi_rf_set_chan |
|
5 |
21 |
136 |
3 |
| bwi_rf_get_gains |
|
15 |
106 |
879 |
1 |
| bwi_rf_init |
|
3 |
11 |
57 |
1 |
| bwi_rf_off_11a |
|
1 |
8 |
54 |
1 |
| bwi_rf_off_11bg |
|
1 |
4 |
18 |
1 |
| bwi_rf_off_11g_rev5 |
|
1 |
5 |
27 |
1 |
| bwi_rf_workaround |
|
5 |
18 |
120 |
2 |
| bwi_rf_lo_find |
|
7 |
29 |
164 |
2 |
| bwi_rf_lo_adjust |
|
1 |
6 |
37 |
2 |
| bwi_rf_lo_write |
|
1 |
7 |
50 |
2 |
| bwi_rf_gain_max_reached |
|
1 |
8 |
65 |
2 |
| bwi_bitswap4 |
|
1 |
9 |
59 |
1 |
| bwi_phy812_value |
|
19 |
64 |
342 |
2 |
| bwi_rf_init_bcm2050 |
|
47 |
201 |
1610 |
1 |
| bwi_rf_calibval |
|
2 |
17 |
128 |
1 |
| _bwi_adjust_devide |
|
2 |
7 |
39 |
2 |
| bwi_rf_calc_txpower |
|
6 |
26 |
193 |
3 |
| bwi_rf_map_txpower |
|
22 |
107 |
721 |
1 |
| bwi_rf_lo_update_11g |
|
10 |
99 |
881 |
1 |
| bwi_rf_lo_devi_measure |
|
4 |
29 |
199 |
2 |
| bwi_rf_get_tp_ctrl2 |
|
3 |
20 |
105 |
1 |
| _bwi_rf_lo_update_11g |
|
13 |
71 |
542 |
2 |
| bwi_rf_lo_measure_11g |
|
15 |
69 |
439 |
4 |
| bwi_rf_calc_nrssi_slope_11b |
|
12 |
69 |
643 |
1 |
| bwi_rf_set_nrssi_ofs_11g |
|
22 |
120 |
948 |
1 |
| bwi_rf_calc_nrssi_slope_11g |
|
25 |
126 |
1038 |
1 |
| bwi_rf_init_sw_nrssi_table |
|
4 |
15 |
103 |
1 |
| bwi_rf_init_hw_nrssi_table |
|
4 |
14 |
78 |
2 |
| bwi_rf_set_nrssi_thr_11b |
|
7 |
31 |
238 |
1 |
| _nrssi_threshold |
|
4 |
15 |
93 |
2 |
| bwi_rf_set_nrssi_thr_11g |
|
5 |
25 |
154 |
1 |
| bwi_rf_clear_tssi |
|
4 |
18 |
110 |
1 |
| bwi_rf_clear_state |
|
2 |
17 |
130 |
1 |
| bwi_rf_on_11a |
|
1 |
3 |
9 |
1 |
| bwi_rf_on_11bg |
|
2 |
11 |
73 |
1 |
| bwi_rf_set_ant_mode |
|
14 |
57 |
363 |
2 |
| bwi_rf_get_latest_tssi |
|
4 |
15 |
115 |
3 |
| bwi_rf_tssi2dbm |
|
6 |
14 |
95 |
3 |
| bwi_rf_calc_rssi_bcm2050 |
|
20 |
77 |
441 |
2 |
| bwi_rf_calc_rssi_bcm2053 |
|
2 |
12 |
69 |
2 |
| bwi_rf_calc_rssi_bcm2060 |
|
2 |
8 |
39 |
2 |
| bwi_rf_lo_measure_11b |
|
2 |
16 |
90 |
1 |
| bwi_rf_lo_update_11b |
|
11 |
85 |
653 |
1 |
| bwi_read_sprom |
|
1 |
4 |
24 |
2 |
| bwi_setup_desc32 |
|
5 |
23 |
165 |
7 |
| bwi_power_on |
|
4 |
28 |
197 |
2 |
| bwi_power_off |
|
2 |
17 |
122 |
2 |
| bwi_regwin_switch |
|
6 |
21 |
117 |
3 |
| bwi_regwin_select |
|
3 |
12 |
81 |
2 |
| bwi_regwin_info |
|
1 |
10 |
71 |
3 |
| bwi_led_attach |
|
14 |
50 |
375 |
1 |
| bwi_led_onoff |
|
3 |
10 |
50 |
3 |
| bwi_led_newstate |
|
16 |
52 |
258 |
2 |
| bwi_led_event |
|
8 |
30 |
141 |
2 |
| bwi_led_blink_start |
|
2 |
15 |
98 |
3 |
| bwi_led_blink_next |
|
1 |
9 |
61 |
1 |
| bwi_led_blink_end |
|
1 |
5 |
21 |
1 |
| bwi_bbp_attach |
|
22 |
96 |
651 |
1 |
| bwi_bus_init |
|
13 |
58 |
381 |
2 |
| bwi_get_card_flags |
|
5 |
12 |
77 |
1 |
| bwi_get_eaddr |
|
2 |
8 |
59 |
3 |
| bwi_get_clock_freq |
|
9 |
48 |
325 |
2 |
| bwi_set_clock_mode |
|
12 |
42 |
232 |
2 |
| bwi_set_clock_delay |
|
8 |
30 |
198 |
1 |
| bwi_init |
|
1 |
6 |
30 |
1 |
| bwi_init_statechg |
|
14 |
62 |
397 |
2 |
| bwi_ioctl |
|
12 |
46 |
263 |
3 |
| bwi_start |
|
22 |
79 |
501 |
1 |
| bwi_watchdog |
|
4 |
16 |
85 |
1 |
| bwi_newstate_begin |
|
2 |
8 |
48 |
2 |
| bwi_stop |
|
8 |
40 |
272 |
2 |
| bwi_newstate |
|
11 |
46 |
312 |
3 |
| bwi_media_change |
|
3 |
10 |
60 |
1 |
| bwi_iter_func |
|
1 |
6 |
47 |
2 |
| bwi_amrr_timeout |
|
2 |
10 |
62 |
1 |
| bwi_newassoc |
|
3 |
11 |
107 |
3 |
| bwi_node_alloc |
|
2 |
8 |
52 |
1 |
| bwi_dma_alloc |
|
14 |
82 |
468 |
1 |
| bwi_dma_free |
|
8 |
37 |
242 |
1 |
| bwi_dma_ring_alloc |
|
4 |
32 |
236 |
4 |
| bwi_dma_txstats_alloc |
|
9 |
72 |
532 |
3 |
| bwi_dma_txstats_free |
|
2 |
12 |
91 |
1 |
| bwi_dma_mbuf_create30 |
|
25 |
108 |
773 |
1 |
| bwi_dma_mbuf_create |
|
9 |
51 |
340 |
1 |
| bwi_dma_mbuf_destroy |
|
8 |
32 |
236 |
3 |
| bwi_enable_intrs |
|
1 |
4 |
21 |
2 |
| bwi_disable_intrs |
|
1 |
4 |
21 |
2 |
| bwi_init_tx_ring32 |
|
1 |
24 |
184 |
2 |
| bwi_init_rxdesc_ring32 |
|
1 |
17 |
123 |
5 |
| bwi_init_rx_ring32 |
|
3 |
20 |
146 |
1 |
| bwi_init_txstats32 |
|
2 |
21 |
161 |
1 |
| bwi_setup_rx_desc32 |
|
1 |
8 |
54 |
4 |
| bwi_setup_tx_desc32 |
|
1 |
7 |
49 |
5 |
| bwi_newbuf30 |
|
7 |
35 |
267 |
3 |
| bwi_newbuf |
|
10 |
48 |
313 |
3 |
| bwi_set_addr_filter |
|
2 |
13 |
95 |
3 |
| bwi_set_chan |
|
1 |
8 |
53 |
2 |
| bwi_next_scan |
|
2 |
11 |
62 |
1 |
| bwi_rxeof |
|
11 |
95 |
680 |
2 |
| bwi_rxeof32 |
|
1 |
13 |
84 |
1 |
| bwi_reset_rx_ring32 |
|
4 |
16 |
101 |
2 |
| bwi_free_txstats32 |
|
1 |
4 |
20 |
1 |
| bwi_free_rx_ring32 |
|
3 |
15 |
103 |
1 |
| bwi_free_tx_ring32 |
|
12 |
49 |
333 |
2 |
| bwi_plcp2rate |
|
1 |
5 |
31 |
2 |
| bwi_ofdm_plcp_header |
|
1 |
8 |
46 |
3 |
| bwi_ds_plcp_header |
|
3 |
17 |
102 |
3 |
| bwi_plcp_header |
|
3 |
11 |
64 |
3 |
| bwi_rate2modtype |
|
4 |
10 |
38 |
1 |
| bwi_ack_rate |
|
19 |
49 |
206 |
2 |
| bwi_txtime |
|
6 |
27 |
132 |
5 |
| bwi_encap |
|
27 |
147 |
1088 |
4 |
| bwi_start_tx32 |
|
1 |
6 |
42 |
3 |
| bwi_txeof_status32 |
|
2 |
15 |
106 |
1 |
| _bwi_txeof |
|
5 |
31 |
222 |
2 |
| bwi_txeof_status |
|
2 |
13 |
92 |
2 |
| bwi_txeof |
|
5 |
19 |
117 |
1 |
| bwi_bbp_power_on |
|
1 |
5 |
30 |
2 |
| bwi_bbp_power_off |
|
1 |
5 |
23 |
1 |
| bwi_get_pwron_delay |
|
3 |
20 |
145 |
1 |
| bwi_bus_attach |
|
3 |
13 |
88 |
1 |
| bwi_regwin_name |
|
5 |
15 |
64 |
1 |
| bwi_regwin_disable_bits |
|
3 |
12 |
74 |
1 |
| bwi_regwin_is_enabled |
|
2 |
17 |
102 |
2 |
| bwi_regwin_disable |
|
8 |
46 |
285 |
3 |
| bwi_regwin_enable |
|
3 |
31 |
197 |
3 |
| bwi_set_bssid |
|
3 |
23 |
209 |
2 |
| bwi_updateslot |
|
2 |
12 |
99 |
1 |
| bwi_calibrate |
|
3 |
18 |
111 |
1 |
| bwi_calc_rssi |
|
1 |
7 |
52 |
2 |
| Source file: ./sys/dev/ic/wd33c93var.h |
| Source file: ./sys/dev/ic/athvar.h |
| Source file: ./sys/dev/ic/dwiicreg.h |
| Source file: ./sys/dev/ic/ar9287.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ar9287_attach |
|
2 |
21 |
153 |
1 |
| ar9287_setup |
|
2 |
8 |
47 |
1 |
| ar9287_swap_rom |
|
3 |
15 |
112 |
1 |
| ar9287_get_spur_chans |
|
1 |
6 |
36 |
2 |
| ar9287_init_from_rom |
|
3 |
84 |
789 |
3 |
| ar9287_get_pdadcs |
|
4 |
35 |
298 |
7 |
| ar9287_olpc_get_pdgain |
|
2 |
19 |
176 |
4 |
| ar9287_set_power_calib |
|
11 |
77 |
582 |
2 |
| ar9287_set_txpower |
|
11 |
73 |
567 |
3 |
| ar9287_olpc_init |
|
1 |
11 |
60 |
1 |
| ar9287_olpc_temp_compensation |
|
5 |
27 |
194 |
1 |
| ar9287_1_3_enable_async_fifo |
|
1 |
11 |
50 |
1 |
| ar9287_1_3_setup_async_fifo |
|
1 |
16 |
109 |
1 |
| Source file: ./sys/dev/ic/seeq8003reg.h |
| Source file: ./sys/dev/ic/smc91cxxreg.h |
| Source file: ./sys/dev/ic/comvar.h |
| Source file: ./sys/dev/ic/iha.h |
| Source file: ./sys/dev/ic/ac97.h |
| Source file: ./sys/dev/ic/dc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dc_delay |
|
2 |
6 |
38 |
1 |
| dc_eeprom_width |
|
7 |
49 |
312 |
1 |
| dc_eeprom_idle |
|
2 |
23 |
148 |
1 |
| dc_eeprom_putbyte |
|
5 |
28 |
164 |
2 |
| dc_eeprom_getword_pnic |
|
3 |
14 |
87 |
3 |
| dc_eeprom_getword_xircom |
|
1 |
11 |
95 |
3 |
| dc_eeprom_getword |
|
3 |
26 |
157 |
3 |
| dc_read_eeprom |
|
5 |
19 |
136 |
5 |
| dc_mii_writebit |
|
2 |
10 |
55 |
2 |
| dc_mii_readbit |
|
2 |
10 |
66 |
1 |
| dc_mii_sync |
|
2 |
7 |
41 |
1 |
| dc_mii_send |
|
2 |
6 |
49 |
3 |
| dc_mii_readreg |
|
8 |
36 |
220 |
2 |
| dc_mii_writereg |
|
1 |
19 |
136 |
2 |
| dc_miibus_readreg |
|
27 |
91 |
471 |
3 |
| dc_miibus_writereg |
|
18 |
61 |
322 |
4 |
| dc_miibus_statchg |
|
4 |
17 |
109 |
1 |
| dc_crc_le |
|
5 |
16 |
157 |
2 |
| dc_setfilt_21143 |
|
5 |
55 |
491 |
1 |
| dc_setfilt_admtek |
|
7 |
37 |
311 |
1 |
| dc_setfilt_asix |
|
6 |
41 |
319 |
1 |
| dc_setfilt_xircom |
|
5 |
51 |
453 |
1 |
| dc_setfilt |
|
10 |
12 |
82 |
1 |
| dc_setcfg |
|
40 |
134 |
907 |
2 |
| dc_reset |
|
11 |
29 |
204 |
1 |
| dc_apply_fixup |
|
6 |
23 |
181 |
2 |
| dc_decode_leaf_sia |
|
7 |
35 |
183 |
2 |
| dc_decode_leaf_sym |
|
4 |
16 |
113 |
2 |
| dc_decode_leaf_mii |
|
2 |
19 |
122 |
2 |
| dc_read_srom |
|
2 |
8 |
70 |
2 |
| dc_parse_21143_srom |
|
9 |
43 |
258 |
1 |
| dc_attach |
|
44 |
174 |
1341 |
1 |
| dc_list_tx_init |
|
3 |
24 |
177 |
1 |
| dc_list_rx_init |
|
4 |
23 |
148 |
1 |
| dc_newbuf |
|
6 |
47 |
376 |
3 |
| dc_pnic_rx_bug_war |
|
7 |
35 |
252 |
2 |
| dc_rx_resync |
|
4 |
20 |
136 |
1 |
| dc_rxeof |
|
13 |
73 |
469 |
1 |
| dc_txeof |
|
22 |
77 |
531 |
1 |
| dc_tick |
|
19 |
48 |
314 |
1 |
| dc_tx_underrun |
|
8 |
31 |
172 |
1 |
| dc_intr |
|
21 |
56 |
344 |
1 |
| dc_encap |
|
7 |
38 |
349 |
4 |
| dc_fits |
|
5 |
11 |
74 |
3 |
| dc_start |
|
17 |
65 |
408 |
1 |
| dc_init |
|
23 |
114 |
764 |
1 |
| dc_ifmedia_upd |
|
3 |
16 |
86 |
1 |
| dc_ifmedia_sts |
|
3 |
19 |
108 |
2 |
| dc_ioctl |
|
13 |
42 |
232 |
3 |
| dc_watchdog |
|
2 |
10 |
58 |
1 |
| dc_stop |
|
20 |
71 |
580 |
2 |
| dc_activate |
|
5 |
21 |
112 |
2 |
| dc_detach |
|
7 |
25 |
239 |
1 |
| Source file: ./sys/dev/ic/ar5211var.h |
| Source file: ./sys/dev/ic/wdcreg.h |
| Source file: ./sys/dev/ic/amireg.h |
| Source file: ./sys/dev/ic/ds1687reg.h |
| Source file: ./sys/dev/ic/i82595reg.h |
| Source file: ./sys/dev/ic/ahci.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ahci_attach |
|
27 |
111 |
711 |
1 |
| ahci_detach |
|
5 |
14 |
87 |
2 |
| ahci_activate |
|
7 |
28 |
185 |
2 |
| ahci_init |
|
9 |
48 |
237 |
1 |
| ahci_enable_interrupts |
|
4 |
11 |
74 |
1 |
| ahci_port_alloc |
|
18 |
123 |
941 |
2 |
| ahci_port_detect |
|
12 |
68 |
339 |
2 |
| ahci_port_free |
|
9 |
28 |
227 |
2 |
| ahci_port_init |
|
16 |
99 |
633 |
2 |
| ahci_default_port_start |
|
6 |
18 |
123 |
2 |
| ahci_port_stop |
|
7 |
20 |
139 |
2 |
| ahci_port_clo |
|
5 |
16 |
117 |
1 |
| ahci_port_softreset |
|
12 |
78 |
506 |
1 |
| ahci_pmp_port_softreset |
|
9 |
81 |
514 |
2 |
| ahci_pmp_port_probe |
|
3 |
24 |
138 |
2 |
| ahci_flush_tfd |
|
2 |
7 |
36 |
1 |
| ahci_active_mask |
|
2 |
8 |
43 |
1 |
| ahci_pmp_probe_timeout |
|
7 |
39 |
248 |
1 |
| ahci_port_signature |
|
3 |
12 |
66 |
1 |
| ahci_pmp_port_portreset |
|
15 |
69 |
442 |
2 |
| ahci_port_comreset |
|
2 |
16 |
95 |
1 |
| ahci_port_portreset_start |
|
1 |
12 |
74 |
1 |
| ahci_port_portreset_poll |
|
2 |
7 |
34 |
1 |
| ahci_port_portreset_wait |
|
3 |
9 |
43 |
1 |
| ahci_port_portreset_finish |
|
7 |
41 |
200 |
2 |
| ahci_port_portreset |
|
1 |
6 |
32 |
2 |
| ahci_port_detect_pmp |
|
21 |
145 |
855 |
1 |
| ahci_load_prdt_seg |
|
1 |
7 |
44 |
4 |
| ahci_load_prdt |
|
7 |
32 |
282 |
1 |
| ahci_unload_prdt |
|
4 |
18 |
125 |
1 |
| ahci_poll |
|
6 |
28 |
164 |
3 |
| ahci_start |
|
9 |
37 |
333 |
1 |
| ahci_issue_pending_ncq_commands |
|
8 |
24 |
182 |
1 |
| ahci_issue_pending_commands |
|
15 |
39 |
271 |
2 |
| ahci_intr |
|
7 |
25 |
146 |
1 |
| ahci_port_intr |
|
49 |
242 |
1539 |
2 |
| ahci_get_ccb |
|
2 |
13 |
84 |
1 |
| ahci_put_ccb |
|
5 |
15 |
105 |
1 |
| ahci_get_err_ccb |
|
3 |
21 |
142 |
1 |
| ahci_put_err_ccb |
|
5 |
16 |
106 |
1 |
| ahci_get_pmp_ccb |
|
2 |
18 |
122 |
1 |
| ahci_put_pmp_ccb |
|
2 |
14 |
104 |
1 |
| ahci_port_read_ncq_error |
|
8 |
70 |
491 |
3 |
| ahci_dmamem_alloc |
|
6 |
31 |
248 |
2 |
| ahci_dmamem_free |
|
1 |
8 |
78 |
2 |
| ahci_read |
|
1 |
6 |
45 |
2 |
| ahci_write |
|
1 |
6 |
47 |
3 |
| ahci_wait_ne |
|
3 |
11 |
66 |
4 |
| ahci_pread |
|
1 |
6 |
49 |
2 |
| ahci_pwrite |
|
1 |
6 |
51 |
3 |
| ahci_pwait_eq |
|
3 |
11 |
71 |
5 |
| ahci_ata_probe |
|
4 |
16 |
95 |
3 |
| ahci_ata_free |
|
1 |
3 |
14 |
3 |
| ahci_ata_get_xfer |
|
2 |
15 |
93 |
2 |
| ahci_ata_put_xfer |
|
1 |
6 |
37 |
1 |
| ahci_ata_cmd |
|
6 |
36 |
210 |
1 |
| ahci_pmp_cmd_done |
|
3 |
8 |
52 |
1 |
| ahci_ata_cmd_done |
|
8 |
17 |
122 |
1 |
| ahci_ata_cmd_timeout |
|
19 |
72 |
540 |
1 |
| ahci_empty_done |
|
2 |
5 |
27 |
1 |
| ahci_pmp_read |
|
3 |
33 |
242 |
4 |
| ahci_pmp_write |
|
2 |
29 |
225 |
4 |
| ahci_pmp_phy_status |
|
3 |
10 |
66 |
3 |
| ahci_pmp_identify |
|
7 |
31 |
178 |
2 |
| ahci_hibernate_io_start |
|
1 |
5 |
36 |
2 |
| ahci_hibernate_io_poll |
|
7 |
32 |
186 |
2 |
| ahci_hibernate_load_prdt |
|
4 |
30 |
190 |
1 |
| ahci_hibernate_io |
|
20 |
153 |
1172 |
6 |
| Source file: ./sys/dev/ic/ne2000.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ne2000_attach |
|
31 |
134 |
901 |
2 |
| ne2000_detect |
|
10 |
78 |
596 |
1 |
| ne2000_write_mbuf |
|
20 |
97 |
608 |
3 |
| ne2000_ring_copy |
|
2 |
22 |
155 |
4 |
| ne2000_read_hdr |
|
2 |
8 |
77 |
3 |
| ne2000_test_mem |
|
1 |
4 |
14 |
1 |
| ne2000_readmem |
|
3 |
25 |
177 |
8 |
| ne2000_writemem |
|
4 |
31 |
232 |
8 |
| ne2000_detach |
|
1 |
4 |
25 |
2 |
| Source file: ./sys/dev/ic/aic7xxx_inline.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ahc_pause_bug_fix |
|
2 |
5 |
31 |
1 |
| ahc_is_paused |
|
1 |
4 |
25 |
1 |
| ahc_pause |
|
2 |
7 |
35 |
1 |
| ahc_unpause |
|
2 |
5 |
41 |
1 |
| ahc_freeze_untagged_queues |
|
2 |
5 |
26 |
1 |
| ahc_release_untagged_queues |
|
3 |
8 |
41 |
1 |
| ahc_sg_bus_to_virt |
|
1 |
7 |
45 |
2 |
| ahc_sg_virt_to_bus |
|
1 |
6 |
48 |
2 |
| ahc_hscb_busaddr |
|
1 |
5 |
31 |
2 |
| ahc_sync_scb |
|
1 |
7 |
62 |
3 |
| ahc_targetcmd_offset |
|
1 |
4 |
33 |
2 |
| ahc_name |
|
1 |
4 |
16 |
1 |
| ahc_update_residual |
|
2 |
7 |
45 |
2 |
| ahc_fetch_transinfo |
|
2 |
8 |
57 |
5 |
| ahc_inw |
|
1 |
4 |
36 |
2 |
| ahc_outw |
|
1 |
5 |
44 |
3 |
| ahc_inl |
|
1 |
7 |
66 |
2 |
| ahc_outl |
|
1 |
7 |
88 |
3 |
| ahc_lookup_scb |
|
2 |
9 |
50 |
2 |
| ahc_swap_with_next_hscb |
|
2 |
18 |
140 |
2 |
| ahc_queue_scb |
|
7 |
26 |
208 |
2 |
| ahc_get_sense_buf |
|
1 |
6 |
40 |
2 |
| ahc_get_sense_bufaddr |
|
1 |
7 |
46 |
2 |
| ahc_sync_qoutfifo |
|
1 |
5 |
31 |
2 |
| ahc_sync_tqinfifo |
|
3 |
10 |
56 |
2 |
| ahc_check_cmdcmpltqueues |
|
6 |
21 |
132 |
1 |
| ahc_intr |
|
18 |
44 |
285 |
1 |
| Source file: ./sys/dev/ic/lemac.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| lemac_rxd_intr |
|
5 |
20 |
121 |
2 |
| lemac_tne_intr |
|
6 |
20 |
130 |
1 |
| lemac_txd_intr |
|
2 |
10 |
71 |
2 |
| lemac_read_eeprom |
|
4 |
25 |
177 |
1 |
| lemac_init_adapmem |
|
3 |
15 |
96 |
1 |
| lemac_input |
|
9 |
38 |
300 |
3 |
| lemac_rne_intr |
|
5 |
35 |
232 |
1 |
| lemac_read_macaddr |
|
19 |
60 |
494 |
5 |
| lemac_multicast_op |
|
3 |
15 |
105 |
3 |
| lemac_multicast_filter |
|
5 |
20 |
127 |
1 |
| lemac_reset |
|
6 |
36 |
252 |
1 |
| lemac_init |
|
6 |
53 |
403 |
1 |
| lemac_ifstart |
|
23 |
104 |
723 |
1 |
| lemac_ifioctl |
|
7 |
29 |
160 |
3 |
| lemac_ifmedia_change |
|
7 |
26 |
117 |
1 |
| lemac_ifmedia_status |
|
5 |
22 |
122 |
2 |
| lemac_port_check |
|
3 |
9 |
68 |
2 |
| lemac_info_get |
|
4 |
21 |
153 |
5 |
| lemac_intr |
|
7 |
22 |
134 |
1 |
| lemac_ifattach |
|
8 |
48 |
334 |
1 |
| Source file: ./sys/dev/ic/ar5xxx.h |
| Source file: ./sys/dev/ic/adv.h |
| Source file: ./sys/dev/ic/w83l518d_sdmmc.h |
| Source file: ./sys/dev/ic/ibm561var.h |
| Source file: ./sys/dev/ic/am79900.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| am79900_config |
|
4 |
20 |
189 |
1 |
| am79900_meminit |
|
5 |
49 |
461 |
1 |
| am79900_rint |
|
18 |
61 |
409 |
1 |
| am79900_tint |
|
19 |
59 |
347 |
1 |
| am79900_intr |
|
16 |
54 |
336 |
1 |
| am79900_start |
|
14 |
45 |
332 |
1 |
| am79900_recv_print |
|
2 |
21 |
190 |
2 |
| am79900_xmit_print |
|
2 |
21 |
189 |
2 |
| Source file: ./sys/dev/ic/pt2254a.h |
| Source file: ./sys/dev/ic/mc6845.h |
| Source file: ./sys/dev/ic/ar5416reg.h |
| Source file: ./sys/dev/cardbus/cardbus_exrom.h |
| Source file: ./sys/dev/cardbus/puc_cardbus.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| puc_cardbus_match |
|
5 |
17 |
140 |
3 |
| puc_cardbus_attach |
|
6 |
51 |
444 |
3 |
| puc_cardbus_intr_string |
|
1 |
7 |
44 |
1 |
| puc_cardbus_intr_establish |
|
1 |
11 |
106 |
5 |
| puc_cardbus_detach |
|
7 |
22 |
194 |
2 |
| Source file: ./sys/dev/cardbus/rbus.h |
| Source file: ./sys/dev/cardbus/uhci_cardbus.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| uhci_cardbus_match |
|
4 |
9 |
68 |
3 |
| uhci_cardbus_attach |
|
8 |
71 |
573 |
3 |
| uhci_cardbus_detach |
|
4 |
19 |
133 |
2 |
| Source file: ./sys/dev/cardbus/ehci_cardbus.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ehci_cardbus_match |
|
4 |
9 |
68 |
3 |
| ehci_cardbus_attach |
|
5 |
53 |
439 |
3 |
| ehci_cardbus_detach |
|
4 |
19 |
133 |
2 |
| Source file: ./sys/dev/cardbus/if_atw_cardbus.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| atw_cardbus_match |
|
1 |
5 |
37 |
3 |
| atw_cardbus_attach |
|
7 |
50 |
374 |
3 |
| atw_cardbus_detach |
|
6 |
18 |
135 |
2 |
| atw_cardbus_enable |
|
2 |
18 |
120 |
1 |
| atw_cardbus_disable |
|
1 |
10 |
63 |
1 |
| atw_cardbus_power |
|
2 |
5 |
23 |
2 |
| atw_cardbus_setup |
|
4 |
26 |
205 |
1 |
| Source file: ./sys/dev/cardbus/rbus.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rbus_space_alloc |
|
1 |
7 |
60 |
8 |
| rbus_space_alloc_subregion |
|
17 |
66 |
433 |
10 |
| rbus_space_free |
|
4 |
18 |
100 |
4 |
| rbus_new_body |
|
5 |
20 |
131 |
5 |
| rbus_new_root_delegate |
|
3 |
13 |
88 |
3 |
| rbus_new_root_share |
|
3 |
9 |
59 |
4 |
| Source file: ./sys/dev/ic/dpt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dpt_intr |
|
20 |
73 |
483 |
1 |
| dpt_init |
|
18 |
100 |
923 |
2 |
| dpt_shutdown |
|
1 |
6 |
35 |
1 |
| dpt_cmd |
|
7 |
33 |
227 |
5 |
| dpt_wait |
|
3 |
12 |
69 |
4 |
| dpt_poll |
|
7 |
21 |
135 |
2 |
| dpt_readcfg |
|
21 |
74 |
617 |
1 |
| dpt_minphys |
|
2 |
6 |
33 |
2 |
| dpt_ccb_free |
|
1 |
9 |
60 |
2 |
| dpt_init_ccb |
|
2 |
18 |
104 |
2 |
| dpt_create_ccbs |
|
3 |
19 |
125 |
3 |
| dpt_ccb_alloc |
|
2 |
13 |
75 |
1 |
| dpt_done_ccb |
|
12 |
57 |
309 |
2 |
| dpt_scsi_cmd |
|
17 |
115 |
865 |
1 |
| dpt_timeout |
|
3 |
33 |
193 |
1 |
| dpt_dump_sp |
|
2 |
16 |
112 |
1 |
| dpt_hba_inquire |
|
6 |
53 |
445 |
2 |
| Source file: ./sys/dev/cardbus/if_dc_cardbus.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dc_cardbus_match |
|
1 |
5 |
37 |
3 |
| dc_cardbus_attach |
|
28 |
101 |
658 |
3 |
| dc_cardbus_detach |
|
2 |
12 |
95 |
2 |
| dc_cardbus_setup |
|
4 |
29 |
242 |
1 |
| Source file: ./sys/dev/cardbus/if_rl_cardbus.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rl_cardbus_match |
|
1 |
5 |
37 |
3 |
| rl_cardbus_attach |
|
5 |
50 |
350 |
3 |
| rl_cardbus_detach |
|
6 |
18 |
135 |
2 |
| rl_cardbus_setup |
|
4 |
50 |
353 |
1 |
| Source file: ./sys/dev/cardbus/if_malo_cardbus.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| malo_cardbus_match |
|
1 |
5 |
40 |
3 |
| malo_cardbus_attach |
|
5 |
41 |
285 |
3 |
| malo_cardbus_detach |
|
3 |
21 |
146 |
2 |
| malo_cardbus_setup |
|
1 |
19 |
126 |
1 |
| malo_cardbus_enable |
|
2 |
18 |
119 |
1 |
| malo_cardbus_disable |
|
1 |
10 |
64 |
1 |
| Source file: ./sys/dev/cardbus/ohci_cardbus.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ohci_cardbus_match |
|
4 |
9 |
68 |
3 |
| ohci_cardbus_attach |
|
7 |
59 |
475 |
3 |
| ohci_cardbus_detach |
|
4 |
19 |
133 |
2 |
| Source file: ./sys/dev/cardbus/if_bwi_cardbus.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bwi_cardbus_match |
|
1 |
5 |
40 |
3 |
| bwi_cardbus_attach |
|
3 |
38 |
274 |
3 |
| bwi_cardbus_detach |
|
3 |
19 |
127 |
2 |
| bwi_cardbus_setup |
|
1 |
17 |
111 |
1 |
| bwi_cardbus_enable |
|
2 |
18 |
119 |
1 |
| bwi_cardbus_disable |
|
1 |
10 |
64 |
1 |
| bwi_cardbus_conf_write |
|
1 |
6 |
46 |
3 |
| bwi_cardbus_conf_read |
|
1 |
6 |
44 |
2 |
| Source file: ./sys/dev/cardbus/if_xl_cardbus.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| xl_cardbus_lookup |
|
4 |
10 |
70 |
1 |
| xl_cardbus_match |
|
2 |
7 |
43 |
3 |
| xl_cardbus_attach |
|
8 |
68 |
491 |
3 |
| xl_cardbus_detach |
|
2 |
15 |
113 |
2 |
| xl_cardbus_intr_ack |
|
1 |
6 |
36 |
1 |
| Source file: ./sys/dev/cardbus/cardslot.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cardslotmatch |
|
3 |
8 |
50 |
3 |
| cardslotattach |
|
10 |
45 |
350 |
3 |
| cardslot_cb_print |
|
2 |
7 |
40 |
2 |
| cardslot_16_submatch |
|
4 |
9 |
86 |
3 |
| cardslot_16_print |
|
2 |
6 |
29 |
2 |
| cardslot_event_throw |
|
6 |
18 |
110 |
2 |
| cardslot_event |
|
2 |
6 |
31 |
1 |
| cardslot_process_event |
|
28 |
134 |
672 |
1 |
| Source file: ./sys/dev/cardbus/if_rtw_cardbus.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rtw_cardbus_match |
|
1 |
5 |
37 |
3 |
| rtw_cardbus_intr_ack |
|
1 |
4 |
18 |
1 |
| rtw_cardbus_funcregen |
|
2 |
12 |
69 |
2 |
| rtw_cardbus_attach |
|
3 |
57 |
425 |
3 |
| rtw_cardbus_detach |
|
6 |
20 |
152 |
2 |
| rtw_cardbus_enable |
|
2 |
21 |
154 |
1 |
| rtw_cardbus_disable |
|
1 |
13 |
95 |
1 |
| rtw_cardbus_power |
|
2 |
7 |
38 |
2 |
| rtw_cardbus_setup |
|
6 |
40 |
282 |
1 |
| Source file: ./sys/dev/cardbus/if_pgt_cardbus.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pgt_cardbus_match |
|
1 |
6 |
45 |
3 |
| pgt_cardbus_attach |
|
3 |
33 |
246 |
3 |
| pgt_cardbus_detach |
|
3 |
19 |
127 |
2 |
| pgt_cardbus_enable |
|
2 |
18 |
119 |
1 |
| pgt_cardbus_disable |
|
1 |
10 |
64 |
1 |
| pgt_cardbus_power |
|
5 |
9 |
60 |
2 |
| pgt_cardbus_setup |
|
1 |
17 |
111 |
1 |
| Source file: ./sys/dev/cardbus/cardbusvar.h |
| Source file: ./sys/dev/cardbus/if_ath_cardbus.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ath_cardbus_match |
|
2 |
10 |
62 |
3 |
| ath_cardbus_attach |
|
2 |
28 |
198 |
3 |
| ath_cardbus_detach |
|
5 |
19 |
135 |
2 |
| ath_cardbus_enable |
|
2 |
18 |
114 |
1 |
| ath_cardbus_disable |
|
1 |
10 |
63 |
1 |
| ath_cardbus_power |
|
2 |
5 |
23 |
2 |
| ath_cardbus_setup |
|
3 |
24 |
183 |
1 |
| Source file: ./sys/dev/cardbus/cardslotvar.h |
| Source file: ./sys/dev/cardbus/cardbus_exrom.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cardbus_read_exrom |
|
6 |
45 |
274 |
3 |
| Source file: ./sys/dev/cardbus/if_athn_cardbus.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| athn_cardbus_match |
|
1 |
5 |
32 |
3 |
| athn_cardbus_attach |
|
2 |
32 |
218 |
3 |
| athn_cardbus_detach |
|
2 |
14 |
103 |
2 |
| athn_cardbus_enable |
|
2 |
18 |
119 |
1 |
| athn_cardbus_disable |
|
1 |
10 |
64 |
1 |
| athn_cardbus_power |
|
2 |
7 |
37 |
2 |
| athn_cardbus_setup |
|
2 |
24 |
187 |
1 |
| athn_cardbus_read |
|
1 |
5 |
40 |
2 |
| athn_cardbus_write |
|
1 |
5 |
42 |
3 |
| athn_cardbus_write_barrier |
|
1 |
6 |
40 |
1 |
| Source file: ./sys/dev/cardbus/cardbus_map.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cardbus_mapreg_map |
|
10 |
48 |
315 |
9 |
| cardbus_mapreg_unmap |
|
3 |
22 |
170 |
6 |
| Source file: ./sys/dev/cardbus/com_cardbus.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| com_cardbus_find_csdev |
|
4 |
9 |
63 |
1 |
| com_cardbus_match |
|
7 |
13 |
108 |
3 |
| com_cardbus_gofigure |
|
12 |
54 |
388 |
2 |
| com_cardbus_attach |
|
6 |
40 |
291 |
3 |
| com_cardbus_setup |
|
2 |
21 |
172 |
1 |
| com_cardbus_enable |
|
2 |
18 |
123 |
1 |
| com_cardbus_disable |
|
1 |
10 |
69 |
1 |
| com_cardbus_detach |
|
2 |
13 |
116 |
2 |
| Source file: ./sys/dev/cardbus/if_ral_cardbus.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ral_cardbus_match |
|
1 |
5 |
37 |
3 |
| ral_cardbus_attach |
|
7 |
45 |
277 |
3 |
| ral_cardbus_detach |
|
3 |
19 |
130 |
2 |
| ral_cardbus_activate |
|
3 |
14 |
70 |
2 |
| ral_cardbus_enable |
|
2 |
18 |
119 |
1 |
| ral_cardbus_disable |
|
1 |
10 |
64 |
1 |
| ral_cardbus_setup |
|
1 |
17 |
111 |
1 |
| ral_cardbus_wakeup |
|
1 |
8 |
45 |
1 |
| Source file: ./sys/dev/cardbus/if_fxp_cardbus.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fxp_cardbus_match |
|
1 |
5 |
37 |
3 |
| fxp_cardbus_attach |
|
5 |
48 |
365 |
3 |
| fxp_cardbus_setup |
|
3 |
26 |
208 |
1 |
| fxp_cardbus_detach |
|
2 |
15 |
107 |
2 |
| Source file: ./sys/dev/cardbus/if_re_cardbus.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| re_cardbus_probe |
|
1 |
5 |
37 |
3 |
| re_cardbus_attach |
|
4 |
45 |
341 |
3 |
| re_cardbus_setup |
|
4 |
42 |
355 |
1 |
| re_cardbus_detach |
|
3 |
18 |
159 |
2 |
| Source file: ./sys/dev/cardbus/if_acx_cardbus.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| acx_cardbus_match |
|
1 |
6 |
45 |
3 |
| acx_cardbus_attach |
|
6 |
52 |
363 |
3 |
| acx_cardbus_detach |
|
6 |
30 |
203 |
2 |
| acx_cardbus_enable |
|
3 |
22 |
133 |
1 |
| acx_cardbus_disable |
|
1 |
10 |
64 |
1 |
| acx_cardbus_power |
|
2 |
7 |
37 |
2 |
| acx_cardbus_setup |
|
4 |
26 |
176 |
1 |
| Source file: ./sys/dev/mii/rgephyreg.h |
| Source file: ./sys/dev/mii/inphy.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| inphymatch |
|
2 |
10 |
51 |
3 |
| inphyattach |
|
2 |
21 |
151 |
3 |
| inphy_service |
|
11 |
38 |
218 |
3 |
| inphy_status |
|
10 |
39 |
226 |
1 |
| Source file: ./sys/dev/mii/txphyreg.h |
| Source file: ./sys/dev/mii/iophy.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| iophymatch |
|
2 |
10 |
51 |
3 |
| iophyattach |
|
2 |
21 |
151 |
3 |
| iophy_service |
|
11 |
38 |
218 |
3 |
| iophy_status |
|
10 |
41 |
224 |
1 |
| Source file: ./sys/dev/cardbus/cardbus.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cardbusmatch |
|
2 |
11 |
75 |
3 |
| cardbusattach |
|
1 |
23 |
171 |
3 |
| cardbus_read_tuples |
|
18 |
117 |
698 |
4 |
| parse_tuple |
|
22 |
79 |
512 |
3 |
| cardbus_attach_card |
|
18 |
137 |
992 |
1 |
| cardbussubmatch |
|
5 |
14 |
96 |
3 |
| cardbusprint |
|
3 |
17 |
113 |
2 |
| cardbus_detach_card |
|
4 |
23 |
165 |
1 |
| cardbus_intr_establish |
|
1 |
7 |
65 |
7 |
| cardbus_intr_disestablish |
|
1 |
6 |
33 |
3 |
| enable_function |
|
3 |
12 |
77 |
3 |
| disable_function |
|
2 |
7 |
46 |
2 |
| cardbus_function_enable |
|
1 |
15 |
106 |
2 |
| cardbus_function_disable |
|
1 |
6 |
31 |
2 |
| cardbus_matchbyid |
|
4 |
11 |
81 |
3 |
| decode_tuples |
|
3 |
11 |
75 |
4 |
| decode_tuple |
|
7 |
24 |
125 |
4 |
| tuple_name |
|
4 |
29 |
199 |
1 |
| print_tuple |
|
5 |
14 |
99 |
3 |
| Source file: ./sys/dev/mii/atphy.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| atphy_match |
|
2 |
7 |
45 |
3 |
| atphy_attach |
|
2 |
23 |
196 |
3 |
| atphy_service |
|
21 |
76 |
448 |
3 |
| atphy_status |
|
11 |
48 |
263 |
1 |
| atphy_reset |
|
3 |
19 |
109 |
1 |
| atphy_mii_phy_auto |
|
4 |
16 |
105 |
1 |
| Source file: ./sys/dev/mii/nsgphyreg.h |
| Source file: ./sys/dev/mii/tlphy.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tlphymatch |
|
2 |
7 |
45 |
3 |
| tlphyattach |
|
5 |
32 |
301 |
3 |
| tlphy_service |
|
16 |
52 |
358 |
3 |
| tlphy_status |
|
6 |
31 |
195 |
1 |
| tlphy_mii_phy_auto |
|
3 |
15 |
73 |
2 |
| tlphy_acomp |
|
3 |
15 |
96 |
1 |
| Source file: ./sys/dev/mii/qsphyreg.h |
| Source file: ./sys/dev/mii/mii_bitbang.h |
| Source file: ./sys/dev/mii/iophyreg.h |
| Source file: ./sys/dev/mii/rgephy.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rgephymatch |
|
2 |
7 |
45 |
3 |
| rgephyattach |
|
4 |
25 |
210 |
3 |
| rgephy_service |
|
29 |
98 |
589 |
3 |
| rgephy_status |
|
20 |
59 |
388 |
1 |
| rgephy_mii_phy_auto |
|
2 |
16 |
98 |
1 |
| rgephy_loop |
|
5 |
16 |
85 |
1 |
| rgephy_load_dspcode |
|
3 |
47 |
410 |
1 |
| rgephy_reset |
|
1 |
6 |
24 |
1 |
| Source file: ./sys/dev/mii/mtdphyreg.h |
| Source file: ./sys/dev/ic/rtw.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rtw_continuous_tx_enable |
|
2 |
17 |
98 |
2 |
| rtw_access_string |
|
4 |
13 |
37 |
1 |
| rtw_set_access1 |
|
16 |
41 |
171 |
2 |
| rtw_set_access |
|
1 |
9 |
49 |
2 |
| rtw_config0123_enable |
|
2 |
14 |
81 |
2 |
| rtw_anaparm_enable |
|
2 |
12 |
59 |
2 |
| rtw_txdac_enable |
|
2 |
12 |
65 |
2 |
| rtw_chip_reset1 |
|
3 |
18 |
112 |
2 |
| rtw_chip_reset |
|
1 |
9 |
63 |
2 |
| rtw_recall_eeprom |
|
3 |
21 |
143 |
2 |
| rtw_reset |
|
3 |
12 |
92 |
1 |
| rtw_txdesc_dmamaps_create |
|
3 |
12 |
73 |
3 |
| rtw_rxdesc_dmamaps_create |
|
3 |
12 |
73 |
3 |
| rtw_rxdesc_dmamaps_destroy |
|
3 |
9 |
56 |
3 |
| rtw_txdesc_dmamaps_destroy |
|
3 |
9 |
56 |
3 |
| rtw_srom_parse |
|
11 |
60 |
395 |
1 |
| rtw_srom_read |
|
9 |
63 |
436 |
4 |
| rtw_set_rfprog |
|
4 |
30 |
136 |
3 |
| rtw_identify_country |
|
5 |
19 |
74 |
2 |
| rtw_identify_sta |
|
2 |
22 |
189 |
3 |
| rtw_chan2txpower |
|
2 |
9 |
64 |
3 |
| rtw_txdesc_blk_init_all |
|
2 |
11 |
66 |
1 |
| rtw_txsoft_blk_init |
|
2 |
14 |
87 |
1 |
| rtw_txsoft_blk_init_all |
|
2 |
6 |
34 |
1 |
| rtw_rxdescs_sync |
|
2 |
17 |
152 |
4 |
| rtw_txdescs_sync |
|
2 |
14 |
116 |
4 |
| rtw_rxbufs_release |
|
3 |
15 |
94 |
2 |
| rtw_rxsoft_alloc |
|
5 |
24 |
147 |
2 |
| rtw_rxsoft_init_all |
|
5 |
22 |
127 |
4 |
| rtw_rxdesc_init |
|
3 |
25 |
213 |
4 |
| rtw_rxdesc_init_all |
|
2 |
10 |
61 |
3 |
| rtw_io_enable |
|
4 |
15 |
90 |
3 |
| rtw_intr_rx |
|
25 |
159 |
1107 |
2 |
| rtw_txsoft_release |
|
1 |
17 |
105 |
3 |
| rtw_txsofts_release |
|
2 |
11 |
77 |
3 |
| rtw_collect_txpkt |
|
2 |
25 |
170 |
4 |
| rtw_reset_oactive |
|
5 |
18 |
128 |
1 |
| rtw_collect_txring |
|
8 |
33 |
241 |
4 |
| rtw_intr_tx |
|
3 |
13 |
89 |
2 |
| rtw_intr_beacon |
|
9 |
44 |
334 |
2 |
| rtw_intr_atim |
|
1 |
4 |
11 |
1 |
| rtw_dump_rings |
|
6 |
25 |
191 |
1 |
| rtw_hwring_setup |
|
2 |
26 |
237 |
1 |
| rtw_swring_setup |
|
4 |
27 |
194 |
1 |
| rtw_txdesc_blk_init |
|
2 |
7 |
67 |
1 |
| rtw_txring_next |
|
1 |
5 |
39 |
2 |
| rtw_txring_fixup |
|
3 |
17 |
108 |
1 |
| rtw_rxring_fixup |
|
2 |
15 |
103 |
1 |
| rtw_txdescs_reset |
|
2 |
8 |
50 |
1 |
| rtw_intr_ioerror |
|
10 |
38 |
256 |
2 |
| rtw_suspend_ticks |
|
1 |
6 |
30 |
1 |
| rtw_resume_ticks |
|
1 |
12 |
87 |
1 |
| rtw_intr_timeout |
|
2 |
7 |
37 |
1 |
| rtw_intr |
|
16 |
57 |
387 |
1 |
| rtw_stop |
|
5 |
29 |
223 |
2 |
| rtw_pwrstate_string |
|
4 |
13 |
37 |
1 |
| rtw_maxim_pwrstate |
|
8 |
32 |
144 |
4 |
| rtw_rfmd_pwrstate |
|
8 |
32 |
144 |
4 |
| rtw_philips_pwrstate |
|
9 |
36 |
159 |
4 |
| rtw_rtl_pwrstate |
|
1 |
4 |
19 |
4 |
| rtw_pwrstate0 |
|
1 |
9 |
61 |
4 |
| rtw_pwrstate |
|
6 |
25 |
137 |
2 |
| rtw_tune |
|
6 |
32 |
231 |
1 |
| rtw_disable |
|
4 |
14 |
90 |
1 |
| rtw_enable |
|
4 |
12 |
72 |
1 |
| rtw_transmit_config |
|
2 |
18 |
113 |
1 |
| rtw_enable_interrupts |
|
2 |
12 |
95 |
1 |
| rtw_set_nettype |
|
6 |
25 |
111 |
2 |
| rtw_pktfilt_load |
|
11 |
61 |
411 |
1 |
| rtw_init |
|
6 |
52 |
412 |
1 |
| rtw_led_init |
|
1 |
15 |
89 |
1 |
| rtw_led_newstate |
|
6 |
28 |
152 |
2 |
| rtw_led_set |
|
9 |
44 |
240 |
3 |
| rtw_led_fastblink |
|
4 |
18 |
134 |
1 |
| rtw_led_slowblink |
|
1 |
11 |
74 |
1 |
| rtw_led_attach |
|
1 |
5 |
37 |
2 |
| rtw_ioctl |
|
13 |
42 |
253 |
3 |
| rtw_txring_choose |
|
5 |
19 |
122 |
4 |
| rtw_80211_dequeue |
|
3 |
18 |
120 |
6 |
| rtw_dequeue |
|
14 |
79 |
565 |
5 |
| rtw_seg_too_short |
|
3 |
11 |
55 |
1 |
| rtw_dmamap_load_txbuf |
|
12 |
52 |
318 |
6 |
| rtw_compute_duration1 |
|
9 |
42 |
209 |
5 |
| rtw_compute_duration |
|
11 |
47 |
303 |
9 |
| rtw_print_txdesc |
|
1 |
11 |
99 |
5 |
| rtw_start |
|
32 |
174 |
1277 |
1 |
| rtw_idle |
|
3 |
11 |
76 |
1 |
| rtw_watchdog |
|
7 |
34 |
201 |
1 |
| rtw_next_scan |
|
2 |
11 |
62 |
1 |
| rtw_join_bss |
|
2 |
22 |
204 |
3 |
| rtw_newstate |
|
16 |
51 |
289 |
3 |
| rtw_tsf_extend |
|
2 |
9 |
57 |
2 |
| rtw_ibss_merge |
|
2 |
14 |
99 |
3 |
| rtw_recv_mgmt |
|
5 |
18 |
108 |
5 |
| rtw_node_alloc |
|
1 |
8 |
64 |
1 |
| rtw_node_free |
|
1 |
8 |
70 |
2 |
| rtw_media_change |
|
3 |
12 |
59 |
1 |
| rtw_media_status |
|
2 |
10 |
60 |
2 |
| rtw_activate |
|
7 |
22 |
127 |
2 |
| rtw_txsoft_blk_setup |
|
2 |
11 |
69 |
2 |
| rtw_txsoft_blk_cleanup_all |
|
2 |
10 |
59 |
1 |
| rtw_txsoft_blk_setup_all |
|
3 |
18 |
129 |
1 |
| rtw_txdesc_blk_setup |
|
1 |
11 |
79 |
5 |
| rtw_txdesc_blk_setup_all |
|
1 |
15 |
149 |
1 |
| rtw_rf_attach |
|
9 |
109 |
566 |
2 |
| rtw_check_phydelay |
|
2 |
13 |
98 |
2 |
| rtw_attach |
|
26 |
195 |
1479 |
1 |
| rtw_detach |
|
1 |
9 |
52 |
1 |
| rtw_bbp_preinit |
|
3 |
10 |
51 |
4 |
| rtw_bbp_init |
|
3 |
25 |
183 |
6 |
| rtw_sa2400_txpower |
|
1 |
4 |
22 |
2 |
| rtw_verify_syna |
|
15 |
49 |
154 |
2 |
| rtw_sa2400_tune |
|
4 |
19 |
158 |
2 |
| rtw_sa2400_pwrstate |
|
5 |
19 |
75 |
2 |
| rtw_sa2400_vcocal_start |
|
3 |
12 |
54 |
2 |
| rtw_sa2400_vco_calibration |
|
2 |
8 |
43 |
1 |
| rtw_sa2400_filter_calibration |
|
2 |
8 |
40 |
1 |
| rtw_sa2400_dc_calibration |
|
3 |
19 |
96 |
1 |
| rtw_sa2400_calibrate |
|
6 |
15 |
102 |
2 |
| rtw_sa2400_init |
|
9 |
28 |
218 |
4 |
| rtw_max2820_tune |
|
3 |
7 |
43 |
2 |
| rtw_max2820_init |
|
9 |
27 |
176 |
4 |
| rtw_max2820_txpower |
|
1 |
4 |
15 |
2 |
| rtw_max2820_pwrstate |
|
4 |
15 |
55 |
2 |
| rtw_grf5101_init |
|
3 |
29 |
234 |
4 |
| rtw_grf5101_tune |
|
1 |
9 |
70 |
2 |
| rtw_grf5101_txpower |
|
1 |
8 |
53 |
2 |
| rtw_grf5101_pwrstate |
|
4 |
27 |
155 |
2 |
| rtw_rtl8225_pwrstate |
|
1 |
4 |
18 |
2 |
| rtw_rtl8225_init |
|
1 |
5 |
24 |
4 |
| rtw_rtl8225_txpower |
|
1 |
4 |
17 |
2 |
| rtw_rtl8225_tune |
|
1 |
4 |
17 |
2 |
| rtw_rtl8255_pwrstate |
|
1 |
4 |
18 |
2 |
| rtw_rtl8255_init |
|
1 |
5 |
24 |
4 |
| rtw_rtl8255_txpower |
|
1 |
4 |
17 |
2 |
| rtw_rtl8255_tune |
|
1 |
4 |
17 |
2 |
| rtw_phy_init |
|
7 |
30 |
261 |
1 |
| rtw_bbp_write |
|
3 |
33 |
234 |
3 |
| rtw_rf_hostbangbits |
|
6 |
41 |
248 |
4 |
| rtw_rf_rtl8225_hostbangbits |
|
5 |
46 |
270 |
4 |
| rtw_rf_macbangbits |
|
3 |
19 |
121 |
2 |
| rtw_grf5101_host_crypt |
|
1 |
4 |
13 |
2 |
| rtw_grf5101_mac_crypt |
|
1 |
19 |
149 |
2 |
| rtw_rf_hostwrite |
|
8 |
55 |
337 |
3 |
| rtw_maxim_swizzle |
|
1 |
10 |
70 |
2 |
| rtw_rf_macwrite |
|
9 |
39 |
187 |
3 |
| rtw_read8 |
|
1 |
5 |
39 |
2 |
| rtw_read16 |
|
1 |
5 |
39 |
2 |
| rtw_read32 |
|
1 |
5 |
39 |
2 |
| rtw_write8 |
|
1 |
5 |
41 |
3 |
| rtw_write16 |
|
1 |
5 |
41 |
3 |
| rtw_write32 |
|
1 |
5 |
41 |
3 |
| rtw_barrier |
|
1 |
6 |
65 |
4 |
| Source file: ./sys/dev/mii/bmtphy.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bmtphymatch |
|
2 |
7 |
45 |
3 |
| bmtphyattach |
|
2 |
21 |
164 |
3 |
| bmtphy_service |
|
11 |
35 |
212 |
3 |
| bmtphy_status |
|
8 |
35 |
208 |
1 |
| bmtphy_reset |
|
2 |
15 |
107 |
1 |
| Source file: ./sys/dev/mii/jmphyreg.h |
| Source file: ./sys/dev/mii/xmphy.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| xmphy_probe |
|
2 |
7 |
45 |
3 |
| xmphy_attach |
|
1 |
23 |
203 |
3 |
| xmphy_service |
|
16 |
60 |
367 |
3 |
| xmphy_status |
|
8 |
37 |
211 |
1 |
| xmphy_mii_phy_auto |
|
1 |
10 |
59 |
1 |
| Source file: ./sys/dev/mii/icsphyreg.h |
| Source file: ./sys/dev/mii/xmphyreg.h |
| Source file: ./sys/dev/mii/mii.h |
| Source file: ./sys/dev/mii/tqphy.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tqphymatch |
|
2 |
7 |
45 |
3 |
| tqphyattach |
|
2 |
20 |
153 |
3 |
| tqphy_service |
|
11 |
35 |
212 |
3 |
| tqphy_status |
|
8 |
36 |
203 |
1 |
| Source file: ./sys/dev/mii/txphy.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| txphymatch |
|
2 |
7 |
45 |
3 |
| txphyattach |
|
2 |
19 |
147 |
3 |
| txphy_service |
|
9 |
27 |
151 |
3 |
| Source file: ./sys/dev/mii/etphy.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| etphy_match |
|
2 |
7 |
45 |
3 |
| etphy_attach |
|
2 |
23 |
185 |
3 |
| etphy_service |
|
12 |
43 |
273 |
3 |
| etphy_reset |
|
3 |
31 |
233 |
1 |
| etphy_status |
|
8 |
36 |
181 |
1 |
| Source file: ./sys/dev/mii/nsphyterreg.h |
| Source file: ./sys/dev/mii/ipgphyreg.h |
| Source file: ./sys/dev/mii/miivar.h |
| Source file: ./sys/dev/mii/nsphyter.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| nsphytermatch |
|
2 |
7 |
45 |
3 |
| nsphyterattach |
|
2 |
19 |
147 |
3 |
| nsphyter_service |
|
11 |
35 |
212 |
3 |
| nsphyter_status |
|
8 |
35 |
203 |
1 |
| Source file: ./sys/dev/mii/eephyreg.h |
| Source file: ./sys/dev/mii/acphy.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| acphymatch |
|
2 |
7 |
45 |
3 |
| acphyattach |
|
3 |
26 |
199 |
3 |
| acphy_service |
|
10 |
33 |
193 |
3 |
| acphy_status |
|
8 |
35 |
203 |
1 |
| Source file: ./sys/dev/mii/urlphyreg.h |
| Source file: ./sys/dev/mii/qsphy.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| qsphymatch |
|
2 |
7 |
45 |
3 |
| qsphyattach |
|
2 |
19 |
147 |
3 |
| qsphy_service |
|
11 |
35 |
212 |
3 |
| qsphy_status |
|
11 |
49 |
255 |
1 |
| qsphy_reset |
|
1 |
5 |
23 |
1 |
| Source file: ./sys/dev/mii/amphyreg.h |
| Source file: ./sys/dev/mii/lxtphy.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| lxtphymatch |
|
2 |
10 |
51 |
3 |
| lxtphyattach |
|
6 |
28 |
210 |
3 |
| lxtphy_service |
|
11 |
38 |
218 |
3 |
| lxtphy_status |
|
8 |
36 |
205 |
1 |
| lxtphy_reset |
|
1 |
7 |
32 |
1 |
| Source file: ./sys/dev/mii/ukphy.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ukphymatch |
|
1 |
4 |
22 |
3 |
| ukphyattach |
|
4 |
28 |
228 |
3 |
| ukphy_service |
|
11 |
35 |
212 |
3 |
| Source file: ./sys/dev/mii/amphy.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| amphymatch |
|
2 |
7 |
45 |
3 |
| amphyattach |
|
2 |
20 |
153 |
3 |
| amphy_service |
|
10 |
33 |
193 |
3 |
| amphy_status |
|
16 |
53 |
338 |
1 |
| Source file: ./sys/dev/mii/sqphyreg.h |
| Source file: ./sys/dev/mii/mii_bitbang.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mii_bitbang_sync |
|
2 |
11 |
56 |
2 |
| mii_bitbang_sendbits |
|
3 |
17 |
89 |
4 |
| mii_bitbang_readreg |
|
5 |
25 |
179 |
4 |
| mii_bitbang_writereg |
|
1 |
12 |
99 |
5 |
| Source file: ./sys/dev/mii/gentbi.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| gentbimatch |
|
5 |
16 |
134 |
3 |
| gentbiattach |
|
4 |
22 |
165 |
3 |
| gentbi_service |
|
10 |
33 |
193 |
3 |
| gentbi_status |
|
8 |
32 |
202 |
1 |
| Source file: ./sys/dev/mii/ciphy.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ciphymatch |
|
2 |
7 |
45 |
3 |
| ciphyattach |
|
4 |
24 |
188 |
3 |
| ciphy_service |
|
21 |
73 |
415 |
3 |
| ciphy_status |
|
11 |
43 |
239 |
1 |
| ciphy_reset |
|
1 |
5 |
19 |
1 |
| ciphy_fixup |
|
15 |
42 |
235 |
1 |
| Source file: ./sys/dev/mii/mii.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mii_attach |
|
14 |
52 |
366 |
6 |
| mii_detach |
|
11 |
22 |
143 |
3 |
| mii_print |
|
2 |
10 |
72 |
2 |
| mii_submatch |
|
3 |
9 |
77 |
3 |
| mii_mediachg |
|
3 |
14 |
81 |
1 |
| mii_tick |
|
2 |
7 |
51 |
1 |
| mii_pollstat |
|
2 |
9 |
63 |
1 |
| mii_down |
|
2 |
7 |
51 |
1 |
| Source file: ./sys/dev/mii/nsphy.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| nsphymatch |
|
2 |
7 |
45 |
3 |
| nsphyattach |
|
2 |
20 |
153 |
3 |
| nsphy_service |
|
11 |
41 |
248 |
3 |
| nsphy_status |
|
13 |
50 |
304 |
1 |
| nsphy_reset |
|
1 |
8 |
47 |
1 |
| Source file: ./sys/dev/mii/ciphyreg.h |
| Source file: ./sys/dev/mii/bmtphyreg.h |
| Source file: ./sys/dev/mii/tlphyvar.h |
| Source file: ./sys/dev/mii/dcphy.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dcphy_match |
|
3 |
8 |
58 |
3 |
| dcphy_attach |
|
5 |
40 |
250 |
3 |
| dcphy_service |
|
20 |
84 |
514 |
3 |
| dcphy_status |
|
23 |
62 |
392 |
1 |
| dcphy_mii_phy_auto |
|
7 |
30 |
199 |
2 |
| dcphy_reset |
|
1 |
9 |
49 |
1 |
| Source file: ./sys/dev/mii/brswphy.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| brswphymatch |
|
2 |
7 |
45 |
3 |
| brswphyattach |
|
4 |
27 |
226 |
3 |
| brswphy_service |
|
11 |
35 |
212 |
3 |
| brswphy_status |
|
6 |
31 |
173 |
1 |
| brswphy_op |
|
5 |
22 |
149 |
4 |
| brswphy_read16 |
|
2 |
9 |
55 |
4 |
| brswphy_read32 |
|
2 |
10 |
68 |
4 |
| Source file: ./sys/dev/mii/miidevs.h |
| Source file: ./sys/dev/mii/jmphy.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| jmphy_match |
|
2 |
7 |
45 |
3 |
| jmphy_attach |
|
4 |
25 |
201 |
3 |
| jmphy_service |
|
14 |
43 |
269 |
3 |
| jmphy_status |
|
11 |
47 |
264 |
1 |
| jmphy_reset |
|
3 |
12 |
76 |
1 |
| jmphy_anar |
|
5 |
21 |
78 |
1 |
| jmphy_auto |
|
11 |
37 |
221 |
2 |
| Source file: ./sys/dev/mii/mii_physubr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mii_phy_setmedia |
|
10 |
32 |
218 |
1 |
| mii_phy_auto |
|
18 |
55 |
353 |
2 |
| mii_phy_auto_timeout |
|
2 |
12 |
76 |
1 |
| mii_phy_tick |
|
7 |
23 |
157 |
1 |
| mii_phy_reset |
|
6 |
18 |
119 |
1 |
| mii_phy_down |
|
2 |
7 |
33 |
1 |
| mii_phy_status |
|
1 |
4 |
14 |
1 |
| mii_phy_update |
|
5 |
19 |
118 |
2 |
| mii_phy_statusmsg |
|
6 |
27 |
138 |
1 |
| mii_phy_add_media |
|
13 |
59 |
402 |
1 |
| mii_phy_delete_media |
|
1 |
5 |
30 |
1 |
| mii_phy_detach |
|
2 |
8 |
49 |
2 |
| mii_phy_match |
|
4 |
9 |
68 |
2 |
| mii_phy_flowstatus |
|
11 |
35 |
207 |
1 |
| mii_anar |
|
6 |
25 |
106 |
1 |
| Source file: ./sys/dev/mii/tqphyreg.h |
| Source file: ./sys/dev/mii/lxtphyreg.h |
| Source file: ./sys/dev/mii/nsphyreg.h |
| Source file: ./sys/dev/mii/mlphy.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mlphy_probe |
|
4 |
10 |
80 |
3 |
| mlphy_attach |
|
2 |
21 |
165 |
3 |
| mlphy_service |
|
25 |
99 |
578 |
3 |
| mlphy_reset |
|
1 |
8 |
39 |
1 |
| mlphy_status |
|
6 |
26 |
161 |
1 |
| Source file: ./sys/dev/mii/eephy.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| eephy_match |
|
2 |
7 |
45 |
3 |
| eephy_attach |
|
7 |
41 |
312 |
3 |
| eephy_reset |
|
15 |
53 |
293 |
1 |
| eephy_service |
|
12 |
39 |
245 |
3 |
| eephy_status |
|
10 |
36 |
214 |
1 |
| Source file: ./sys/dev/mii/brgphyreg.h |
| Source file: ./sys/dev/mii/tlphyreg.h |
| Source file: ./sys/dev/mii/inphyreg.h |
| Source file: ./sys/dev/mii/rlphy.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rlphymatch |
|
6 |
15 |
117 |
3 |
| rlphyattach |
|
3 |
24 |
167 |
3 |
| rlphy_service |
|
12 |
39 |
228 |
3 |
| rlphy_status |
|
16 |
57 |
358 |
1 |
| Source file: ./sys/dev/mii/ukphy_subr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ukphy_status |
|
20 |
56 |
398 |
1 |
| Source file: ./sys/dev/mii/urlphy.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| urlphy_match |
|
4 |
10 |
80 |
3 |
| urlphy_attach |
|
3 |
24 |
173 |
3 |
| urlphy_service |
|
15 |
46 |
301 |
3 |
| urlphy_status |
|
7 |
31 |
216 |
1 |
| Source file: ./sys/dev/mii/exphy.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| exphymatch |
|
6 |
11 |
103 |
3 |
| exphyattach |
|
3 |
23 |
150 |
3 |
| exphy_service |
|
9 |
27 |
151 |
3 |
| exphy_reset |
|
1 |
5 |
27 |
1 |
| Source file: ./sys/dev/mii/luphy.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| luphymatch |
|
2 |
7 |
45 |
3 |
| luphyattach |
|
2 |
20 |
153 |
3 |
| luphy_service |
|
10 |
29 |
168 |
3 |
| Source file: ./sys/dev/mii/nsgphy.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| nsgphymatch |
|
2 |
7 |
45 |
3 |
| nsgphyattach |
|
6 |
29 |
230 |
3 |
| nsgphy_service |
|
11 |
35 |
212 |
3 |
| nsgphy_status |
|
11 |
49 |
273 |
1 |
| Source file: ./sys/dev/mii/sqphy.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sqphymatch |
|
2 |
7 |
45 |
3 |
| sqphyattach |
|
2 |
19 |
147 |
3 |
| sqphy_service |
|
11 |
35 |
212 |
3 |
| sqphy_status |
|
8 |
36 |
203 |
1 |
| Source file: ./sys/dev/mii/rdcphy.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rdcphy_match |
|
2 |
7 |
45 |
3 |
| rdcphy_attach |
|
3 |
22 |
196 |
3 |
| rdcphy_service |
|
14 |
50 |
326 |
3 |
| rdcphy_status |
|
9 |
43 |
225 |
1 |
| Source file: ./sys/dev/mii/brgphy.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| brgphy_probe |
|
2 |
7 |
45 |
3 |
| brgphy_attach |
|
14 |
74 |
610 |
3 |
| brgphy_service |
|
35 |
110 |
614 |
3 |
| brgphy_copper_status |
|
19 |
63 |
346 |
1 |
| brgphy_fiber_status |
|
7 |
30 |
193 |
1 |
| brgphy_5708s_status |
|
13 |
49 |
262 |
1 |
| brgphy_5709s_status |
|
11 |
47 |
250 |
1 |
| brgphy_mii_phy_auto |
|
6 |
25 |
164 |
1 |
| brgphy_loop |
|
3 |
12 |
64 |
1 |
| brgphy_reset |
|
12 |
36 |
163 |
1 |
| brgphy_reset_bge |
|
18 |
47 |
273 |
1 |
| brgphy_reset_bnx |
|
16 |
81 |
455 |
1 |
| brgphy_bcm5401_dspcode |
|
2 |
24 |
144 |
1 |
| brgphy_bcm5411_dspcode |
|
2 |
15 |
91 |
1 |
| brgphy_bcm5421_dspcode |
|
1 |
13 |
99 |
1 |
| brgphy_bcm54k2_dspcode |
|
2 |
14 |
85 |
1 |
| brgphy_adc_bug |
|
2 |
18 |
109 |
1 |
| brgphy_5704_a0_bug |
|
2 |
14 |
85 |
1 |
| brgphy_ber_bug |
|
2 |
20 |
121 |
1 |
| brgphy_crc_bug |
|
2 |
16 |
97 |
1 |
| brgphy_disable_early_dac |
|
1 |
8 |
48 |
1 |
| brgphy_jumbo_settings |
|
3 |
16 |
89 |
1 |
| brgphy_eth_wirespeed |
|
1 |
8 |
55 |
1 |
| Source file: ./sys/dev/mii/ipgphy.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ipgphy_probe |
|
2 |
7 |
45 |
3 |
| ipgphy_attach |
|
2 |
21 |
175 |
3 |
| ipgphy_service |
|
20 |
77 |
444 |
3 |
| ipgphy_status |
|
18 |
71 |
364 |
1 |
| ipgphy_mii_phy_auto |
|
4 |
19 |
127 |
1 |
| ipgphy_load_dspcode |
|
1 |
11 |
77 |
1 |
| ipgphy_reset |
|
5 |
16 |
105 |
1 |
| Source file: ./sys/dev/mii/acphyreg.h |
| Source file: ./sys/dev/mii/mtdphy.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mtdphymatch |
|
2 |
7 |
45 |
3 |
| mtdphyattach |
|
2 |
19 |
147 |
3 |
| mtdphy_service |
|
11 |
35 |
212 |
3 |
| Source file: ./sys/dev/mii/icsphy.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| icsphymatch |
|
2 |
7 |
45 |
3 |
| icsphyattach |
|
2 |
19 |
147 |
3 |
| icsphy_service |
|
11 |
38 |
218 |
3 |
| icsphy_status |
|
8 |
36 |
196 |
1 |
| icsphy_reset |
|
1 |
7 |
40 |
1 |
| Source file: ./sys/dev/x86emu/x86emu.h |
| Source file: ./sys/dev/x86emu/x86emu_regs.h |
| Source file: ./sys/dev/puc/com_puc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| com_puc_match |
|
2 |
9 |
48 |
3 |
| com_puc_attach |
|
4 |
27 |
189 |
3 |
| com_puc_detach |
|
1 |
4 |
20 |
2 |
| Source file: ./sys/dev/x86emu/x86emu_util.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rdb |
|
2 |
6 |
35 |
2 |
| rdw |
|
4 |
14 |
120 |
2 |
| rdl |
|
4 |
16 |
152 |
2 |
| wrb |
|
2 |
6 |
39 |
3 |
| wrw |
|
4 |
12 |
125 |
3 |
| wrl |
|
4 |
14 |
157 |
3 |
| x86emu_init_default |
|
2 |
12 |
70 |
1 |
| Source file: ./sys/dev/puc/lpt_puc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| lpt_puc_probe |
|
2 |
9 |
48 |
3 |
| lpt_puc_attach |
|
3 |
22 |
140 |
3 |
| lpt_puc_detach |
|
1 |
4 |
17 |
2 |
| Source file: ./sys/dev/i2c/i2c.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| iicbus_print |
|
2 |
7 |
42 |
2 |
| iic_print |
|
2 |
8 |
51 |
2 |
| iic_search |
|
3 |
16 |
137 |
3 |
| iic_match |
|
1 |
6 |
49 |
3 |
| iic_attach |
|
2 |
12 |
87 |
3 |
| Source file: ./sys/dev/i2c/sdtemp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sdtemp_match |
|
27 |
32 |
322 |
3 |
| sdtemp_attach |
|
2 |
18 |
148 |
3 |
| sdtemp_refresh |
|
4 |
21 |
148 |
1 |
| Source file: ./sys/dev/i2c/ds1631.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| maxds_match |
|
4 |
9 |
69 |
3 |
| maxds_attach |
|
7 |
49 |
383 |
3 |
| maxds_refresh |
|
2 |
16 |
124 |
1 |
| Source file: ./sys/dev/i2c/adt7460.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| adt_match |
|
3 |
9 |
79 |
3 |
| adt_attach |
|
13 |
98 |
952 |
3 |
| adt_refresh |
|
31 |
82 |
568 |
1 |
| Source file: ./sys/dev/i2c/asb100.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| asbtm_match |
|
2 |
7 |
47 |
3 |
| asbtm_banksel |
|
5 |
19 |
143 |
3 |
| asbtm_attach |
|
10 |
85 |
814 |
3 |
| fanval |
|
2 |
10 |
51 |
3 |
| asbtm_refresh |
|
20 |
97 |
933 |
1 |
| Source file: ./sys/dev/i2c/ihidev.h |
| Source file: ./sys/dev/i2c/pca9554.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pcagpio_match |
|
6 |
11 |
91 |
3 |
| pcagpio_attach |
|
15 |
78 |
711 |
3 |
| pcagpio_init |
|
4 |
26 |
211 |
3 |
| pcagpio_refresh |
|
8 |
27 |
259 |
1 |
| pcagpio_gpio_pin_read |
|
3 |
13 |
106 |
2 |
| pcagpio_gpio_pin_write |
|
4 |
18 |
155 |
3 |
| pcagpio_gpio_pin_ctl |
|
5 |
18 |
105 |
3 |
| Source file: ./sys/dev/i2c/lis331dl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| lisa_match |
|
2 |
7 |
43 |
3 |
| lisa_attach |
|
3 |
23 |
197 |
3 |
| lisa_refresh |
|
2 |
10 |
80 |
1 |
| lisa_readreg |
|
1 |
7 |
45 |
2 |
| lisa_writereg |
|
1 |
5 |
42 |
3 |
| Source file: ./sys/dev/i2c/w83795g.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| nvt_match |
|
2 |
7 |
47 |
3 |
| nvt_attach |
|
7 |
44 |
387 |
3 |
| nvt_refresh |
|
3 |
15 |
100 |
1 |
| nvt_refresh_volts |
|
6 |
21 |
188 |
1 |
| nvt_refresh_temps |
|
8 |
31 |
240 |
1 |
| nvt_refresh_fans |
|
4 |
24 |
177 |
1 |
| nvt_readreg |
|
1 |
7 |
45 |
2 |
| nvt_writereg |
|
1 |
5 |
42 |
3 |
| Source file: ./sys/dev/i2c/iatp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| iatp_match |
|
2 |
7 |
43 |
3 |
| iatp_attach |
|
6 |
26 |
210 |
3 |
| iatp_detach |
|
2 |
10 |
56 |
2 |
| iatp_activate |
|
4 |
16 |
74 |
2 |
| iatp_configure |
|
2 |
20 |
140 |
1 |
| iatp_enable |
|
4 |
19 |
121 |
1 |
| iatp_disable |
|
2 |
8 |
49 |
1 |
| iatp_ioctl |
|
9 |
47 |
318 |
5 |
| iatp_init |
|
31 |
141 |
980 |
1 |
| iatp_read_reg |
|
1 |
10 |
93 |
4 |
| iatp_write_reg |
|
1 |
15 |
136 |
4 |
| iatp_intr |
|
4 |
19 |
102 |
1 |
| iatp_proc_msg |
|
6 |
22 |
142 |
2 |
| iatp_t5_read_msgs |
|
4 |
20 |
149 |
2 |
| iatp_t6_proc_msg |
|
2 |
9 |
56 |
2 |
| iatp_t7_set_power_mode |
|
3 |
18 |
104 |
2 |
| iatp_t19_proc_msg |
|
2 |
12 |
92 |
2 |
| iatp_t44_read_count |
|
3 |
20 |
118 |
1 |
| iatp_t100_proc_msg |
|
11 |
36 |
278 |
2 |
| Source file: ./sys/dev/i2c/w83l784r.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wbenv_match |
|
4 |
9 |
69 |
3 |
| wbenv_attach |
|
8 |
60 |
434 |
3 |
| wbenv_setup_sensors |
|
2 |
13 |
117 |
2 |
| wbenv_refresh |
|
2 |
9 |
65 |
1 |
| w83l784r_refresh_volt |
|
1 |
9 |
78 |
2 |
| w83l785r_refresh_volt |
|
1 |
9 |
78 |
2 |
| wbenv_refresh_temp |
|
2 |
9 |
64 |
2 |
| w83l784r_refresh_temp |
|
1 |
10 |
85 |
2 |
| w83l784r_refresh_fanrpm |
|
4 |
18 |
132 |
2 |
| w83l785r_refresh_fanrpm |
|
4 |
18 |
132 |
2 |
| wbenv_readreg |
|
1 |
7 |
48 |
2 |
| wbenv_writereg |
|
1 |
5 |
45 |
3 |
| Source file: ./sys/dev/i2c/lm75.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| lmtemp_match |
|
6 |
11 |
91 |
3 |
| lmtemp_attach |
|
8 |
50 |
390 |
3 |
| lmtemp_temp_read |
|
3 |
16 |
122 |
3 |
| lmtemp_refresh_sensor_data |
|
3 |
15 |
84 |
1 |
| Source file: ./sys/dev/i2c/pca9532.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pcaled_match |
|
4 |
21 |
148 |
3 |
| pcaled_attach |
|
5 |
35 |
269 |
3 |
| pcaled_gpio_pin_read |
|
3 |
16 |
104 |
2 |
| pcaled_gpio_pin_write |
|
6 |
23 |
172 |
3 |
| pcaled_gpio_pin_ctl |
|
1 |
3 |
14 |
3 |
| Source file: ./sys/dev/i2c/asc7611.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| andl_match |
|
2 |
7 |
43 |
3 |
| andl_attach |
|
6 |
31 |
299 |
3 |
| andl_refresh |
|
1 |
10 |
69 |
1 |
| andl_refresh_temps |
|
5 |
20 |
154 |
2 |
| andl_refresh_volts |
|
2 |
8 |
63 |
2 |
| andl_refresh_tachs |
|
4 |
17 |
132 |
2 |
| andl_readreg |
|
1 |
7 |
45 |
2 |
| andl_writereg |
|
1 |
5 |
42 |
3 |
| Source file: ./sys/dev/i2c/bmc150.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bgw_match |
|
9 |
14 |
120 |
3 |
| bgw_attach |
|
8 |
56 |
410 |
3 |
| bgw_refresh |
|
3 |
35 |
320 |
1 |
| Source file: ./sys/dev/i2c/imt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| imt_match |
|
3 |
12 |
84 |
3 |
| imt_find_winptp_reports |
|
17 |
35 |
271 |
4 |
| imt_attach |
|
2 |
22 |
184 |
3 |
| imt_hidev_get_report |
|
1 |
6 |
57 |
5 |
| imt_hidev_set_report |
|
1 |
6 |
57 |
5 |
| imt_detach |
|
1 |
6 |
42 |
2 |
| imt_intr |
|
2 |
8 |
60 |
3 |
| imt_enable |
|
2 |
11 |
64 |
1 |
| imt_disable |
|
1 |
7 |
38 |
1 |
| imt_ioctl |
|
2 |
10 |
84 |
5 |
| Source file: ./sys/dev/i2c/adm1030.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| admtmp_match |
|
2 |
7 |
47 |
3 |
| admtmp_attach |
|
4 |
33 |
296 |
3 |
| admtmp_refresh |
|
5 |
26 |
228 |
1 |
| Source file: ./sys/dev/i2c/pcf8563.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pcxrtc_match |
|
3 |
8 |
53 |
3 |
| pcxrtc_attach |
|
3 |
24 |
171 |
3 |
| pcxrtc_gettime |
|
2 |
11 |
79 |
2 |
| pcxrtc_settime |
|
2 |
9 |
60 |
2 |
| pcxrtc_setcal |
|
1 |
4 |
17 |
2 |
| pcxrtc_getcal |
|
1 |
4 |
18 |
2 |
| pcxrtc_reg_read |
|
2 |
15 |
97 |
2 |
| pcxrtc_reg_write |
|
2 |
13 |
93 |
3 |
| pcxrtc_clock_read |
|
3 |
23 |
204 |
2 |
| pcxrtc_clock_write |
|
2 |
22 |
190 |
2 |
| Source file: ./sys/dev/i2c/i2c_exec.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| iic_exec |
|
17 |
45 |
329 |
8 |
| iic_smbus_write_byte |
|
1 |
6 |
45 |
5 |
| iic_smbus_read_byte |
|
1 |
6 |
48 |
5 |
| iic_smbus_receive_byte |
|
1 |
6 |
43 |
4 |
| Source file: ./sys/dev/i2c/adm1026.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| admcts_match |
|
2 |
7 |
47 |
3 |
| admcts_attach |
|
8 |
97 |
1020 |
3 |
| fanval |
|
2 |
8 |
43 |
3 |
| admcts_refresh |
|
19 |
80 |
982 |
1 |
| Source file: ./sys/dev/i2c/i2cvar.h |
| Source file: ./sys/dev/i2c/adm1025.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| admtm_match |
|
4 |
9 |
69 |
3 |
| admtm_attach |
|
7 |
77 |
738 |
3 |
| admtm_refresh |
|
15 |
63 |
667 |
1 |
| Source file: ./sys/dev/i2c/thmc50.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| thmc_match |
|
4 |
9 |
69 |
3 |
| thmc_attach |
|
4 |
34 |
302 |
3 |
| thmc_refresh |
|
5 |
31 |
279 |
1 |
| Source file: ./sys/dev/i2c/ihidev.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ihidev_match |
|
2 |
7 |
47 |
3 |
| ihidev_attach |
|
19 |
86 |
666 |
3 |
| ihidev_detach |
|
4 |
15 |
102 |
2 |
| ihidev_sleep |
|
3 |
11 |
57 |
2 |
| ihidev_hid_command |
|
18 |
177 |
1356 |
3 |
| ihidev_reset |
|
3 |
17 |
110 |
1 |
| ihidev_hid_desc_parse |
|
8 |
41 |
247 |
1 |
| ihidev_intr |
|
23 |
70 |
486 |
1 |
| ihidev_maxrepid |
|
3 |
13 |
80 |
2 |
| ihidev_print |
|
4 |
9 |
59 |
2 |
| ihidev_submatch |
|
3 |
9 |
71 |
3 |
| ihidev_open |
|
7 |
19 |
144 |
1 |
| ihidev_close |
|
5 |
15 |
106 |
1 |
| ihidev_ioctl |
|
1 |
5 |
27 |
5 |
| ihidev_get_report_desc |
|
1 |
5 |
31 |
3 |
| ihidev_report_type_conv |
|
4 |
13 |
37 |
1 |
| ihidev_get_report |
|
3 |
17 |
116 |
5 |
| ihidev_set_report |
|
3 |
17 |
116 |
5 |
| Source file: ./sys/dev/i2c/i2c_scan.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| iicprobeinit |
|
1 |
6 |
32 |
2 |
| iicprobenc |
|
4 |
12 |
73 |
1 |
| iicprobew |
|
4 |
12 |
74 |
1 |
| iicprobe |
|
2 |
7 |
40 |
1 |
| lm75probe |
|
53 |
94 |
800 |
1 |
| adm1032cloneprobe |
|
16 |
28 |
184 |
1 |
| iic_ignore_addr |
|
3 |
9 |
46 |
1 |
| iic_dump |
|
10 |
33 |
235 |
3 |
| iic_probe_sensor |
|
492 |
493 |
4624 |
2 |
| iic_probe_eeprom |
|
3 |
10 |
52 |
2 |
| iic_scan |
|
17 |
50 |
369 |
2 |
| Source file: ./sys/dev/i2c/spdmem_i2c.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| spdmem_iic_match |
|
3 |
13 |
97 |
3 |
| spdmem_iic_attach |
|
1 |
10 |
74 |
3 |
| spdmem_iic_read |
|
1 |
10 |
77 |
2 |
| Source file: ./sys/dev/i2c/gl518sm.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| glenv_match |
|
2 |
7 |
47 |
3 |
| glenv_attach |
|
9 |
60 |
496 |
3 |
| glenv_refresh |
|
6 |
44 |
368 |
1 |
| Source file: ./sys/dev/i2c/adt7462.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| adtfsm_match |
|
2 |
7 |
47 |
3 |
| adtfsm_attach |
|
6 |
31 |
283 |
3 |
| adtfsm_refresh |
|
9 |
47 |
377 |
1 |
| Source file: ./sys/dev/i2c/ikbd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ikbd_match |
|
2 |
11 |
80 |
3 |
| ikbd_attach |
|
2 |
20 |
199 |
3 |
| ikbd_detach |
|
1 |
6 |
42 |
2 |
| ikbd_intr |
|
2 |
7 |
59 |
3 |
| ikbd_enable |
|
3 |
14 |
78 |
2 |
| ikbd_set_leds |
|
1 |
3 |
11 |
2 |
| ikbd_ioctl |
|
3 |
17 |
108 |
5 |
| Source file: ./sys/dev/i2c/rs5c372.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ricohrtc_match |
|
11 |
49 |
346 |
3 |
| ricohrtc_attach |
|
2 |
21 |
145 |
3 |
| ricohrtc_gettime |
|
2 |
11 |
79 |
2 |
| ricohrtc_settime |
|
2 |
9 |
60 |
2 |
| ricohrtc_setcal |
|
1 |
4 |
17 |
2 |
| ricohrtc_getcal |
|
1 |
4 |
18 |
2 |
| ricohrtc_reg_write |
|
2 |
15 |
104 |
3 |
| ricohrtc_clock_read |
|
2 |
22 |
193 |
2 |
| ricohrtc_clock_write |
|
2 |
23 |
195 |
2 |
| Source file: ./sys/dev/i2c/i2c_io.h |
| Source file: ./sys/dev/i2c/w83793g.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wbng_match |
|
2 |
7 |
43 |
3 |
| wbng_attach |
|
6 |
28 |
266 |
3 |
| wbng_refresh |
|
3 |
15 |
100 |
1 |
| wbng_refresh_volts |
|
1 |
26 |
341 |
1 |
| wbng_refresh_temps |
|
9 |
33 |
253 |
1 |
| wbng_refresh_fans |
|
5 |
17 |
139 |
1 |
| wbng_readreg |
|
1 |
7 |
45 |
2 |
| wbng_writereg |
|
1 |
5 |
42 |
3 |
| Source file: ./sys/dev/i2c/adm1024.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| admlc_match |
|
2 |
7 |
47 |
3 |
| admlc_attach |
|
7 |
72 |
683 |
3 |
| fanval |
|
2 |
8 |
43 |
3 |
| admlc_refresh |
|
13 |
56 |
611 |
1 |
| Source file: ./sys/dev/i2c/asc7621.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| adl_match |
|
2 |
7 |
47 |
3 |
| adl_attach |
|
9 |
41 |
347 |
3 |
| adl_refresh |
|
9 |
44 |
380 |
1 |
| Source file: ./sys/dev/i2c/tsl2560.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tsl_match |
|
2 |
7 |
47 |
3 |
| tsl_attach |
|
7 |
53 |
370 |
3 |
| tsl_refresh |
|
3 |
26 |
205 |
1 |
| tsl_lux |
|
10 |
29 |
203 |
2 |
| Source file: ./sys/dev/i2c/ds1307.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| maxrtc_match |
|
2 |
7 |
47 |
3 |
| maxrtc_attach |
|
4 |
22 |
151 |
3 |
| maxrtc_read |
|
2 |
11 |
89 |
5 |
| maxrtc_write |
|
2 |
10 |
82 |
3 |
| maxrtc_enable_osc |
|
4 |
25 |
157 |
1 |
| maxrtc_set_24h_mode |
|
4 |
23 |
147 |
1 |
| maxrtc_gettime |
|
2 |
23 |
214 |
2 |
| maxrtc_settime |
|
2 |
20 |
174 |
2 |
| maxrtc_getcal |
|
1 |
4 |
18 |
2 |
| maxrtc_setcal |
|
1 |
4 |
17 |
2 |
| Source file: ./sys/dev/i2c/adm1031.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| admtt_match |
|
2 |
7 |
47 |
3 |
| admtt_attach |
|
4 |
37 |
344 |
3 |
| admtt_refresh |
|
8 |
41 |
368 |
1 |
| Source file: ./sys/dev/i2c/i2c_bitbang.h |
| Source file: ./sys/dev/i2c/ad741x.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| adc_match |
|
3 |
8 |
58 |
3 |
| adc_attach |
|
16 |
65 |
530 |
3 |
| adc_refresh |
|
10 |
48 |
410 |
1 |
| Source file: ./sys/dev/i2c/i2c_bitbang.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| i2c_wait_for_scl |
|
4 |
13 |
69 |
2 |
| i2c_bitbang_send_start |
|
2 |
13 |
72 |
3 |
| i2c_bitbang_send_stop |
|
1 |
8 |
41 |
3 |
| i2c_bitbang_initiate_xfer |
|
3 |
10 |
84 |
4 |
| i2c_bitbang_read_byte |
|
7 |
37 |
227 |
4 |
| i2c_bitbang_write_byte |
|
7 |
32 |
196 |
4 |
| Source file: ./sys/dev/i2c/lm87.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| lmenv_match |
|
6 |
11 |
91 |
3 |
| lmenv_attach |
|
16 |
112 |
991 |
3 |
| lmenv_refresh |
|
19 |
75 |
463 |
1 |
| Source file: ./sys/dev/i2c/ims.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ims_match |
|
4 |
17 |
129 |
3 |
| ims_attach |
|
2 |
19 |
190 |
3 |
| ims_detach |
|
1 |
6 |
42 |
2 |
| ims_intr |
|
2 |
7 |
59 |
3 |
| ims_enable |
|
2 |
9 |
53 |
1 |
| ims_disable |
|
1 |
7 |
38 |
1 |
| ims_ioctl |
|
5 |
19 |
122 |
5 |
| Source file: ./sys/dev/i2c/pcf8523.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pcfrtc_match |
|
3 |
8 |
53 |
3 |
| pcfrtc_attach |
|
4 |
33 |
227 |
3 |
| pcfrtc_gettime |
|
2 |
11 |
79 |
2 |
| pcfrtc_settime |
|
2 |
9 |
60 |
2 |
| pcfrtc_setcal |
|
1 |
4 |
17 |
2 |
| pcfrtc_getcal |
|
1 |
4 |
18 |
2 |
| pcfrtc_reg_read |
|
3 |
17 |
120 |
2 |
| pcfrtc_reg_write |
|
2 |
13 |
93 |
3 |
| pcfrtc_clock_read |
|
4 |
25 |
225 |
2 |
| pcfrtc_clock_write |
|
2 |
22 |
188 |
2 |
| Source file: ./sys/dev/i2c/adm1021.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| admtemp_match |
|
10 |
15 |
135 |
3 |
| admtemp_attach |
|
15 |
69 |
543 |
3 |
| admtemp_refresh |
|
6 |
33 |
231 |
1 |
| Source file: ./sys/dev/i2c/lm93.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| lmn_match |
|
2 |
7 |
47 |
3 |
| lmn_attach |
|
5 |
28 |
239 |
3 |
| lmn_refresh |
|
9 |
40 |
326 |
1 |
| Source file: ./sys/dev/i2c/fcu.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fcu_match |
|
2 |
7 |
47 |
3 |
| fcu_attach |
|
5 |
25 |
226 |
3 |
| fcu_refresh |
|
13 |
57 |
507 |
1 |
| Source file: ./sys/dev/i2c/maxim6690.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| maxtmp_match |
|
13 |
18 |
168 |
3 |
| maxtmp_attach |
|
8 |
41 |
366 |
3 |
| maxtmp_readport |
|
5 |
19 |
157 |
4 |
| maxtmp_refresh |
|
1 |
8 |
55 |
1 |
| Source file: ./sys/dev/i2c/lm78_i2c.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| lm_i2c_match |
|
10 |
18 |
146 |
3 |
| lm_i2c_attach |
|
1 |
19 |
168 |
3 |
| lm_i2c_readreg |
|
1 |
11 |
81 |
2 |
| lm_i2c_writereg |
|
1 |
11 |
85 |
3 |
| Source file: ./sys/dev/i2c/fintek.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fintek_match |
|
2 |
7 |
47 |
3 |
| fintek_read_reg |
|
1 |
6 |
45 |
4 |
| fintek_write_reg |
|
1 |
6 |
45 |
4 |
| fintek_attach |
|
5 |
42 |
356 |
3 |
| fintek_refresh |
|
16 |
47 |
302 |
1 |
| fintek_fullspeed |
|
1 |
11 |
80 |
1 |
| Source file: ./sys/dev/usb/dwc2/dwc2.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| udelay |
|
1 |
4 |
13 |
1 |
| INIT_DELAYED_WORK |
|
1 |
6 |
47 |
3 |
| queue_delayed_work |
|
1 |
5 |
33 |
3 |
| Source file: ./sys/dev/ic/aic79xx.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ahd_assert_atn |
|
1 |
4 |
18 |
1 |
| ahd_currently_packetized |
|
2 |
15 |
91 |
1 |
| ahd_set_active_fifo |
|
3 |
14 |
65 |
1 |
| ahd_restart |
|
1 |
21 |
174 |
1 |
| ahd_clear_fifo |
|
4 |
14 |
115 |
2 |
| ahd_flush_qoutfifo |
|
22 |
126 |
846 |
1 |
| ahd_scb_active_in_fifo |
|
4 |
8 |
70 |
2 |
| ahd_run_data_fifo |
|
20 |
115 |
941 |
2 |
| ahd_run_qoutfifo |
|
7 |
32 |
201 |
1 |
| ahd_handle_hwerrint |
|
3 |
17 |
103 |
1 |
| ahd_handle_seqint |
|
78 |
454 |
2412 |
2 |
| ahd_handle_scsiint |
|
39 |
174 |
1171 |
2 |
| ahd_handle_transmission_error |
|
27 |
98 |
640 |
1 |
| ahd_handle_lqiphase_error |
|
5 |
24 |
165 |
2 |
| ahd_handle_pkt_busfree |
|
12 |
79 |
517 |
2 |
| ahd_handle_nonpkt_busfree |
|
48 |
177 |
1067 |
1 |
| ahd_handle_proto_violation |
|
8 |
64 |
375 |
1 |
| ahd_force_renegotiation |
|
3 |
16 |
83 |
2 |
| ahd_clear_critical_section |
|
13 |
95 |
607 |
1 |
| ahd_clear_intstat |
|
2 |
24 |
192 |
1 |
| ahd_print_scb |
|
2 |
22 |
155 |
1 |
| ahd_dump_sglist |
|
7 |
36 |
244 |
1 |
| ahd_alloc_tstate |
|
6 |
26 |
217 |
3 |
| ahd_free_tstate |
|
4 |
11 |
70 |
4 |
| ahd_devlimited_syncrate |
|
6 |
30 |
182 |
5 |
| ahd_find_syncrate |
|
12 |
23 |
155 |
4 |
| ahd_validate_offset |
|
6 |
23 |
131 |
6 |
| ahd_validate_width |
|
5 |
20 |
102 |
4 |
| ahd_update_neg_request |
|
11 |
25 |
188 |
5 |
| ahd_set_syncrate |
|
35 |
111 |
650 |
7 |
| ahd_set_width |
|
12 |
40 |
267 |
5 |
| ahd_set_tags |
|
2 |
7 |
48 |
3 |
| ahd_update_neg_table |
|
11 |
58 |
382 |
3 |
| ahd_update_pending_scbs |
|
8 |
54 |
337 |
1 |
| ahd_fetch_devinfo |
|
5 |
28 |
166 |
2 |
| ahd_print_devinfo |
|
1 |
5 |
34 |
2 |
| ahd_lookup_phase_entry |
|
3 |
11 |
55 |
1 |
| ahd_compile_devinfo |
|
2 |
13 |
85 |
6 |
| ahd_scb_devinfo |
|
2 |
12 |
86 |
3 |
| ahd_setup_initiator_msgout |
|
17 |
75 |
565 |
3 |
| ahd_build_transfer_msg |
|
17 |
54 |
358 |
2 |
| ahd_construct_sdtr |
|
3 |
17 |
128 |
4 |
| ahd_construct_wdtr |
|
2 |
14 |
101 |
3 |
| ahd_construct_ppr |
|
4 |
24 |
185 |
6 |
| ahd_clear_msg_state |
|
2 |
18 |
116 |
1 |
| ahd_handle_message_phase |
|
50 |
202 |
1159 |
1 |
| ahd_sent_msg |
|
16 |
36 |
217 |
4 |
| ahd_parse_msg |
|
56 |
295 |
1468 |
2 |
| ahd_handle_msg_reject |
|
13 |
115 |
732 |
2 |
| ahd_handle_ign_wide_residue |
|
11 |
70 |
426 |
2 |
| ahd_reinitialize_dataptrs |
|
6 |
55 |
399 |
1 |
| ahd_handle_devreset |
|
11 |
43 |
258 |
6 |
| ahd_setup_target_msgin |
|
3 |
12 |
72 |
3 |
| ahd_sglist_size |
|
2 |
8 |
49 |
1 |
| ahd_sglist_allocsize |
|
8 |
29 |
154 |
1 |
| ahd_alloc |
|
5 |
35 |
233 |
2 |
| ahd_softc_init |
|
1 |
6 |
26 |
1 |
| ahd_softc_insert |
|
9 |
37 |
202 |
1 |
| ahd_find_softc |
|
2 |
9 |
41 |
1 |
| ahd_set_unit |
|
1 |
4 |
18 |
2 |
| ahd_set_name |
|
2 |
6 |
38 |
2 |
| ahd_free |
|
13 |
42 |
242 |
1 |
| ahd_shutdown |
|
1 |
8 |
45 |
1 |
| ahd_reset |
|
8 |
45 |
316 |
2 |
| ahd_probe_scbs |
|
5 |
19 |
134 |
1 |
| ahd_initialize_hscbs |
|
2 |
9 |
56 |
1 |
| ahd_init_scbdata |
|
5 |
32 |
188 |
1 |
| ahd_find_scb_by_tag |
|
3 |
13 |
78 |
2 |
| ahd_fini_scbdata |
|
9 |
39 |
206 |
1 |
| ahd_setup_iocell_workaround |
|
3 |
13 |
101 |
1 |
| ahd_iocell_first_selection |
|
7 |
23 |
173 |
1 |
| ahd_scb_alloc |
|
2 |
13 |
79 |
1 |
| ahd_scb_free |
|
1 |
12 |
91 |
2 |
| ahd_alloc_scbs |
|
22 |
147 |
1016 |
1 |
| ahd_controller_info |
|
2 |
7 |
69 |
3 |
| ahd_init |
|
30 |
118 |
766 |
1 |
| ahd_chip_init |
|
31 |
197 |
1725 |
1 |
| ahd_default_config |
|
5 |
50 |
309 |
1 |
| ahd_parse_cfgdata |
|
19 |
94 |
631 |
2 |
| ahd_parse_vpddata |
|
3 |
10 |
58 |
2 |
| ahd_intr_enable |
|
2 |
14 |
71 |
2 |
| ahd_update_coalescing_values |
|
4 |
15 |
91 |
4 |
| ahd_enable_coalescing |
|
2 |
9 |
49 |
2 |
| ahd_pause_and_flushwork |
|
9 |
35 |
234 |
1 |
| ahd_suspend |
|
2 |
10 |
47 |
1 |
| ahd_resume |
|
1 |
7 |
33 |
1 |
| ahd_index_busy_tcl |
|
1 |
8 |
76 |
3 |
| ahd_find_busy_tcl |
|
1 |
10 |
54 |
2 |
| ahd_busy_tcl |
|
1 |
8 |
49 |
3 |
| ahd_match_scb |
|
15 |
28 |
236 |
7 |
| ahd_freeze_devq |
|
1 |
13 |
74 |
2 |
| ahd_qinfifo_requeue_tail |
|
2 |
18 |
113 |
2 |
| ahd_qinfifo_requeue |
|
2 |
17 |
121 |
3 |
| ahd_qinfifo_count |
|
2 |
15 |
78 |
1 |
| ahd_reset_cmds_pending |
|
1 |
16 |
88 |
1 |
| ahd_done_with_status |
|
3 |
12 |
68 |
3 |
| ahd_search_qinfifo |
|
33 |
166 |
997 |
8 |
| ahd_search_scb_list |
|
14 |
63 |
362 |
11 |
| ahd_stitch_tid_list |
|
6 |
26 |
161 |
4 |
| ahd_rem_wscb |
|
4 |
16 |
106 |
5 |
| ahd_add_scb_to_free_list |
|
1 |
3 |
12 |
2 |
| ahd_abort_scbs |
|
15 |
71 |
439 |
7 |
| ahd_reset_current_bus |
|
2 |
19 |
136 |
1 |
| ahd_reset_channel |
|
19 |
90 |
581 |
3 |
| ahd_reset_poll |
|
3 |
35 |
223 |
1 |
| ahd_stat_timer |
|
8 |
36 |
234 |
1 |
| ahd_handle_scb_status |
|
2 |
9 |
54 |
2 |
| ahd_handle_scsi_status |
|
31 |
154 |
852 |
2 |
| ahd_calc_residual |
|
12 |
50 |
330 |
2 |
| ahd_queue_lstate_event |
|
7 |
35 |
233 |
5 |
| ahd_send_lstate_events |
|
4 |
28 |
186 |
2 |
| ahd_dumpseq |
|
2 |
16 |
109 |
1 |
| ahd_loadseq |
|
21 |
96 |
619 |
1 |
| ahd_check_patch |
|
5 |
22 |
133 |
4 |
| ahd_resolve_seqaddr |
|
3 |
22 |
108 |
2 |
| ahd_download_instr |
|
20 |
53 |
276 |
3 |
| ahd_probe_stack_size |
|
5 |
22 |
129 |
1 |
| ahd_dump_all_cards_state |
|
1 |
7 |
27 |
1 |
| ahd_print_register |
|
13 |
38 |
245 |
7 |
| ahd_dump_card_state |
|
25 |
232 |
1984 |
1 |
| ahd_dump_scbs |
|
2 |
23 |
136 |
1 |
| ahd_timeout |
|
7 |
30 |
187 |
1 |
| ahd_read_seeprom |
|
4 |
29 |
174 |
5 |
| ahd_write_seeprom |
|
5 |
30 |
186 |
4 |
| ahd_wait_seeprom |
|
4 |
10 |
59 |
1 |
| ahd_verify_vpd_cksum |
|
7 |
24 |
163 |
1 |
| ahd_verify_cksum |
|
4 |
18 |
101 |
1 |
| ahd_acquire_seeprom |
|
4 |
11 |
58 |
1 |
| ahd_release_seeprom |
|
1 |
3 |
9 |
1 |
| ahd_write_flexport |
|
3 |
20 |
149 |
3 |
| ahd_read_flexport |
|
3 |
15 |
104 |
3 |
| ahd_wait_flexport |
|
4 |
11 |
68 |
1 |
| ahd_find_tmode_devs |
|
10 |
28 |
195 |
6 |
| ahd_handle_en_lun |
|
46 |
233 |
1429 |
3 |
| ahd_update_scsiid |
|
7 |
26 |
154 |
2 |
| ahd_run_tqinfifo |
|
4 |
23 |
151 |
2 |
| ahd_handle_target_cmd |
|
18 |
77 |
465 |
2 |
| ahd_createdmamem |
|
5 |
42 |
324 |
4 |
| ahd_freedmamem |
|
1 |
8 |
64 |
2 |
| ahd_name |
|
1 |
4 |
16 |
1 |
| ahd_known_modes |
|
1 |
7 |
39 |
3 |
| ahd_build_mode_state |
|
1 |
4 |
32 |
3 |
| ahd_extract_mode_state |
|
1 |
6 |
44 |
4 |
| ahd_set_modes |
|
7 |
14 |
107 |
3 |
| ahd_update_modes |
|
3 |
11 |
66 |
1 |
| ahd_assert_modes |
|
4 |
9 |
67 |
5 |
| ahd_save_modes |
|
3 |
7 |
44 |
1 |
| ahd_restore_modes |
|
1 |
7 |
40 |
2 |
| ahd_is_paused |
|
1 |
4 |
25 |
1 |
| ahd_pause |
|
2 |
6 |
30 |
1 |
| ahd_unpause |
|
5 |
12 |
90 |
1 |
| ahd_sg_setup |
|
5 |
20 |
163 |
6 |
| ahd_setup_scb_common |
|
5 |
16 |
118 |
2 |
| ahd_setup_data_scb |
|
3 |
23 |
183 |
2 |
| ahd_setup_noxfer_scb |
|
1 |
6 |
41 |
2 |
| ahd_sg_size |
|
2 |
6 |
39 |
1 |
| ahd_sg_bus_to_virt |
|
1 |
6 |
48 |
3 |
| ahd_sg_virt_to_bus |
|
1 |
7 |
53 |
3 |
| ahd_sync_scb |
|
1 |
6 |
56 |
3 |
| ahd_sync_sglist |
|
2 |
9 |
62 |
3 |
| ahd_sync_sense |
|
1 |
7 |
40 |
3 |
| ahd_targetcmd_offset |
|
1 |
5 |
37 |
2 |
| ahd_complete_scb |
|
2 |
9 |
53 |
2 |
| ahd_update_residual |
|
2 |
7 |
45 |
2 |
| ahd_fetch_transinfo |
|
2 |
8 |
57 |
5 |
| ahd_inw |
|
1 |
4 |
36 |
2 |
| ahd_outw |
|
1 |
5 |
44 |
3 |
| ahd_inl |
|
1 |
7 |
66 |
2 |
| ahd_outl |
|
1 |
7 |
88 |
3 |
| ahd_inq |
|
1 |
11 |
142 |
2 |
| ahd_outq |
|
1 |
11 |
152 |
3 |
| ahd_get_scbptr |
|
1 |
6 |
50 |
1 |
| ahd_set_scbptr |
|
1 |
7 |
58 |
2 |
| ahd_get_hnscb_qoff |
|
1 |
4 |
19 |
1 |
| ahd_set_hnscb_qoff |
|
1 |
4 |
21 |
2 |
| ahd_get_hescb_qoff |
|
1 |
4 |
19 |
1 |
| ahd_set_hescb_qoff |
|
1 |
4 |
21 |
2 |
| ahd_get_snscb_qoff |
|
1 |
8 |
44 |
1 |
| ahd_set_snscb_qoff |
|
1 |
5 |
30 |
2 |
| ahd_get_sescb_qoff |
|
1 |
5 |
28 |
1 |
| ahd_set_sescb_qoff |
|
1 |
5 |
30 |
2 |
| ahd_get_sdscb_qoff |
|
1 |
5 |
42 |
1 |
| ahd_set_sdscb_qoff |
|
1 |
6 |
50 |
2 |
| ahd_inb_scbram |
|
2 |
8 |
48 |
2 |
| ahd_inw_scbram |
|
1 |
5 |
36 |
2 |
| ahd_inl_scbram |
|
1 |
5 |
36 |
2 |
| ahd_inq_scbram |
|
1 |
5 |
39 |
2 |
| ahd_lookup_scb |
|
3 |
11 |
61 |
2 |
| ahd_swap_with_next_hscb |
|
1 |
17 |
120 |
2 |
| ahd_queue_scb |
|
5 |
27 |
201 |
2 |
| ahd_get_sense_buf |
|
1 |
4 |
21 |
2 |
| ahd_get_sense_bufaddr |
|
1 |
4 |
21 |
2 |
| ahd_sync_qoutfifo |
|
1 |
6 |
39 |
2 |
| ahd_sync_tqinfifo |
|
3 |
10 |
58 |
2 |
| ahd_check_cmdcmpltqueues |
|
6 |
22 |
153 |
1 |
| ahd_intr |
|
17 |
42 |
281 |
1 |
| ahd_unbusy_tcl |
|
1 |
4 |
21 |
2 |
| Source file: ./sys/dev/usb/dwc2/dwc2_hcd.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dwc2_hsotg_to_hcd |
|
1 |
4 |
19 |
1 |
| disable_hc_int |
|
1 |
6 |
44 |
3 |
| dwc2_is_host_mode |
|
1 |
4 |
23 |
1 |
| dwc2_is_device_mode |
|
1 |
4 |
23 |
1 |
| dwc2_read_hprt0 |
|
1 |
6 |
34 |
1 |
| dwc2_hcd_get_ep_num |
|
1 |
4 |
14 |
1 |
| dwc2_hcd_get_pipe_type |
|
1 |
4 |
14 |
1 |
| dwc2_hcd_get_mps |
|
1 |
4 |
14 |
1 |
| dwc2_hcd_get_dev_addr |
|
1 |
4 |
14 |
1 |
| dwc2_hcd_is_pipe_isoc |
|
1 |
4 |
16 |
1 |
| dwc2_hcd_is_pipe_int |
|
1 |
4 |
16 |
1 |
| dwc2_hcd_is_pipe_bulk |
|
1 |
4 |
16 |
1 |
| dwc2_hcd_is_pipe_control |
|
1 |
4 |
16 |
1 |
| dwc2_hcd_is_pipe_in |
|
1 |
4 |
16 |
1 |
| dwc2_hcd_is_pipe_out |
|
1 |
4 |
16 |
1 |
| dbg_hc |
|
1 |
1 |
12 |
1 |
| dbg_qh |
|
1 |
1 |
12 |
1 |
| dbg_perio |
|
1 |
1 |
9 |
1 |
| dbg_hc |
|
2 |
5 |
22 |
1 |
| dbg_qh |
|
2 |
5 |
22 |
1 |
| dbg_perio |
|
1 |
1 |
9 |
1 |
| dwc2_frame_num_le |
|
1 |
4 |
28 |
2 |
| dwc2_frame_num_gt |
|
2 |
5 |
34 |
2 |
| dwc2_frame_num_inc |
|
1 |
4 |
19 |
2 |
| dwc2_full_frame_num |
|
1 |
4 |
17 |
1 |
| dwc2_micro_frame_num |
|
1 |
4 |
12 |
1 |
| dwc2_read_core_intr |
|
1 |
4 |
24 |
1 |
| dwc2_hcd_urb_get_status |
|
1 |
4 |
14 |
1 |
| dwc2_hcd_urb_get_actual_length |
|
1 |
5 |
14 |
1 |
| dwc2_hcd_urb_get_error_count |
|
1 |
4 |
14 |
1 |
| dwc2_hcd_urb_set_iso_desc_params |
|
1 |
7 |
40 |
4 |
| dwc2_hcd_urb_get_iso_desc_status |
|
1 |
5 |
22 |
2 |
| dwc2_hcd_urb_get_iso_desc_actual_length |
|
1 |
5 |
22 |
2 |
| dwc2_hcd_is_bandwidth_allocated |
|
3 |
9 |
47 |
2 |
| dwc2_hcd_get_ep_bandwidth |
|
2 |
10 |
43 |
2 |
| Source file: ./sys/dev/usb/dwc2/dwc2_hcdddma.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dwc2_frame_list_idx |
|
1 |
4 |
16 |
1 |
| dwc2_desclist_idx_inc |
|
2 |
6 |
34 |
3 |
| dwc2_desclist_idx_dec |
|
2 |
6 |
34 |
3 |
| dwc2_max_desc_num |
|
3 |
6 |
28 |
1 |
| dwc2_frame_incr_val |
|
2 |
5 |
32 |
1 |
| dwc2_desc_list_alloc |
|
3 |
20 |
148 |
3 |
| dwc2_desc_list_free |
|
2 |
9 |
68 |
2 |
| dwc2_frame_list_alloc |
|
4 |
17 |
115 |
2 |
| dwc2_frame_list_free |
|
2 |
14 |
83 |
1 |
| dwc2_per_sched_enable |
|
2 |
17 |
107 |
2 |
| dwc2_per_sched_disable |
|
2 |
15 |
90 |
1 |
| dwc2_update_frame_list |
|
11 |
46 |
277 |
3 |
| dwc2_release_channel_ddma |
|
6 |
26 |
157 |
2 |
| dwc2_hcd_qh_init_ddma |
|
7 |
29 |
134 |
3 |
| dwc2_hcd_qh_free_ddma |
|
7 |
13 |
81 |
2 |
| dwc2_frame_to_desc_idx |
|
2 |
7 |
47 |
2 |
| dwc2_calc_starting_frame |
|
3 |
22 |
123 |
3 |
| dwc2_recalc_initial_desc_idx |
|
2 |
19 |
124 |
2 |
| dwc2_fill_host_isoc_dma_desc |
|
4 |
21 |
165 |
5 |
| dwc2_init_isoc_dma_desc |
|
13 |
46 |
331 |
3 |
| dwc2_fill_host_dma_desc |
|
8 |
31 |
205 |
5 |
| dwc2_init_non_isoc_dma_desc |
|
9 |
57 |
391 |
2 |
| dwc2_hcd_start_xfer_ddma |
|
7 |
29 |
154 |
2 |
| dwc2_cmpl_host_isoc_dma_desc |
|
7 |
36 |
253 |
5 |
| dwc2_complete_isoc_xfer_ddma |
|
12 |
52 |
287 |
3 |
| dwc2_update_non_isoc_urb_state_ddma |
|
15 |
67 |
362 |
7 |
| dwc2_process_non_isoc_desc |
|
11 |
56 |
309 |
7 |
| dwc2_complete_non_isoc_xfer_ddma |
|
9 |
39 |
209 |
4 |
| dwc2_hcd_complete_xfer_ddma |
|
11 |
40 |
233 |
4 |
| Source file: ./sys/dev/usb/dwc2/dwc2_hw.h |
| Source file: ./sys/dev/usb/dwc2/dwc2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dwc2_allocate_bus_bandwidth |
|
1 |
4 |
17 |
3 |
| dwc2_free_bus_bandwidth |
|
1 |
4 |
17 |
3 |
| dwc2_allocm |
|
2 |
10 |
76 |
3 |
| dwc2_freem |
|
2 |
10 |
65 |
2 |
| dwc2_setaddr |
|
3 |
10 |
58 |
2 |
| dwc2_allocx |
|
3 |
15 |
102 |
1 |
| dwc2_freex |
|
3 |
13 |
98 |
2 |
| dwc2_get_lock |
|
1 |
5 |
32 |
2 |
| dwc2_rhc |
|
2 |
16 |
83 |
1 |
| dwc2_softintr |
|
3 |
21 |
153 |
1 |
| dwc2_timeout |
|
2 |
13 |
73 |
1 |
| dwc2_timeout_task |
|
1 |
9 |
43 |
1 |
| dwc2_open |
|
11 |
54 |
273 |
1 |
| dwc2_poll |
|
1 |
8 |
49 |
1 |
| dwc2_close_pipe |
|
1 |
3 |
9 |
1 |
| dwc2_abort_xfer |
|
8 |
51 |
323 |
2 |
| dwc2_noop |
|
1 |
3 |
9 |
1 |
| dwc2_device_clear_toggle |
|
1 |
4 |
20 |
1 |
| dwc2_root_ctrl_transfer |
|
2 |
8 |
40 |
1 |
| dwc2_root_ctrl_start |
|
34 |
122 |
697 |
1 |
| dwc2_root_ctrl_abort |
|
1 |
4 |
16 |
1 |
| dwc2_root_ctrl_close |
|
1 |
4 |
16 |
1 |
| dwc2_root_ctrl_done |
|
1 |
4 |
16 |
1 |
| dwc2_root_intr_transfer |
|
2 |
9 |
45 |
1 |
| dwc2_root_intr_start |
|
2 |
10 |
51 |
1 |
| dwc2_root_intr_abort |
|
1 |
9 |
54 |
1 |
| dwc2_root_intr_close |
|
1 |
6 |
30 |
1 |
| dwc2_root_intr_done |
|
1 |
4 |
14 |
1 |
| dwc2_device_ctrl_transfer |
|
2 |
9 |
45 |
1 |
| dwc2_device_ctrl_start |
|
1 |
8 |
33 |
1 |
| dwc2_device_ctrl_abort |
|
1 |
5 |
23 |
1 |
| dwc2_device_ctrl_close |
|
1 |
5 |
21 |
1 |
| dwc2_device_ctrl_done |
|
1 |
4 |
16 |
1 |
| dwc2_device_bulk_transfer |
|
2 |
9 |
47 |
1 |
| dwc2_device_bulk_start |
|
1 |
8 |
35 |
1 |
| dwc2_device_bulk_abort |
|
1 |
5 |
23 |
1 |
| dwc2_device_bulk_close |
|
1 |
5 |
21 |
1 |
| dwc2_device_bulk_done |
|
1 |
4 |
16 |
1 |
| dwc2_device_intr_transfer |
|
2 |
9 |
47 |
1 |
| dwc2_device_intr_start |
|
1 |
7 |
28 |
1 |
| dwc2_device_intr_abort |
|
1 |
6 |
34 |
1 |
| dwc2_device_intr_close |
|
1 |
5 |
21 |
1 |
| dwc2_device_intr_done |
|
2 |
8 |
35 |
1 |
| dwc2_device_isoc_transfer |
|
2 |
9 |
47 |
1 |
| dwc2_device_isoc_start |
|
2 |
11 |
61 |
1 |
| dwc2_device_isoc_abort |
|
1 |
5 |
23 |
1 |
| dwc2_device_isoc_close |
|
1 |
5 |
19 |
1 |
| dwc2_device_isoc_done |
|
1 |
4 |
14 |
1 |
| dwc2_device_start |
|
36 |
148 |
1030 |
1 |
| dwc2_worker |
|
7 |
24 |
179 |
2 |
| dwc2_intr |
|
3 |
19 |
98 |
1 |
| dwc2_interrupt |
|
2 |
9 |
43 |
1 |
| dwc2_detach |
|
2 |
7 |
39 |
2 |
| dwc2_init |
|
3 |
33 |
266 |
1 |
| dwc2_dma_config |
|
1 |
5 |
32 |
2 |
| dw_timeout |
|
1 |
6 |
43 |
1 |
| dwc2_host_hub_info |
|
2 |
11 |
79 |
4 |
| dwc2_host_get_speed |
|
1 |
7 |
46 |
2 |
| dwc2_host_complete |
|
20 |
86 |
504 |
3 |
| _dwc2_hcd_start |
|
1 |
11 |
58 |
1 |
| dwc2_host_is_b_hnp_enabled |
|
1 |
4 |
12 |
1 |
| Source file: ./sys/dev/usb/dwc2/dwc2_coreintr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dwc2_op_state_str |
|
6 |
17 |
52 |
1 |
| dwc2_handle_usb_port_intr |
|
2 |
9 |
49 |
1 |
| dwc2_handle_mode_mismatch_intr |
|
2 |
6 |
36 |
1 |
| dwc2_handle_otg_intr |
|
17 |
96 |
560 |
1 |
| dwc2_handle_conn_id_status_change_intr |
|
2 |
13 |
99 |
1 |
| dwc2_handle_session_req_intr |
|
1 |
5 |
27 |
1 |
| dwc2_handle_wakeup_detected_intr |
|
4 |
25 |
168 |
1 |
| dwc2_handle_disconnect_intr |
|
2 |
8 |
47 |
1 |
| dwc2_handle_usb_suspend_intr |
|
4 |
23 |
137 |
1 |
| dwc2_read_common_intr |
|
3 |
17 |
86 |
1 |
| dwc2_handle_common_intr |
|
12 |
38 |
187 |
1 |
| Source file: ./sys/dev/usb/dwc2/dwc2_hcdqueue.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dwc2_qh_init |
|
24 |
96 |
582 |
3 |
| dwc2_hcd_qh_create |
|
5 |
20 |
119 |
3 |
| dwc2_hcd_qh_free |
|
3 |
10 |
76 |
2 |
| dwc2_periodic_channel_available |
|
3 |
18 |
82 |
1 |
| dwc2_check_periodic_bandwidth |
|
4 |
19 |
94 |
2 |
| dwc2_hcd_init_usecs |
|
2 |
6 |
37 |
1 |
| dwc2_find_single_uframe |
|
3 |
13 |
78 |
2 |
| dwc2_find_multi_uframe |
|
11 |
43 |
255 |
2 |
| dwc2_find_uframe |
|
2 |
10 |
51 |
2 |
| dwc2_check_max_xfer_size |
|
2 |
16 |
80 |
2 |
| dwc2_schedule_periodic |
|
11 |
49 |
256 |
2 |
| dwc2_deschedule_periodic |
|
3 |
15 |
89 |
2 |
| dwc2_hcd_qh_add |
|
6 |
25 |
136 |
2 |
| dwc2_hcd_qh_unlink |
|
7 |
30 |
176 |
2 |
| dwc2_sched_periodic_split |
|
6 |
24 |
135 |
4 |
| dwc2_hcd_qh_deactivate |
|
11 |
36 |
234 |
3 |
| dwc2_hcd_qtd_init |
|
2 |
14 |
76 |
2 |
| dwc2_hcd_qtd_add |
|
5 |
30 |
185 |
4 |
| dwc2_hcd_qtd_unlink_and_free |
|
1 |
8 |
50 |
3 |
| dwc2_calc_bus_time |
|
8 |
54 |
282 |
5 |
| Source file: ./sys/dev/usb/dwc2/dwc2_hcd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dwc2_dump_channel_info |
|
3 |
45 |
397 |
2 |
| dwc2_kill_urbs_in_qh_list |
|
1 |
12 |
76 |
2 |
| dwc2_qh_list_free |
|
2 |
22 |
142 |
2 |
| dwc2_kill_all_urbs |
|
1 |
9 |
69 |
1 |
| dwc2_hcd_start |
|
2 |
11 |
59 |
1 |
| dwc2_hcd_cleanup_channels |
|
8 |
34 |
220 |
1 |
| dwc2_hcd_disconnect |
|
4 |
23 |
148 |
1 |
| dwc2_hcd_rem_wakeup |
|
2 |
8 |
45 |
1 |
| dwc2_hcd_stop |
|
1 |
7 |
41 |
1 |
| dwc2_hcd_urb_enqueue |
|
12 |
48 |
305 |
4 |
| dwc2_hcd_urb_dequeue |
|
10 |
36 |
208 |
2 |
| dwc2_hcd_reinit |
|
3 |
27 |
164 |
1 |
| dwc2_hc_init_split |
|
1 |
12 |
84 |
4 |
| dwc2_hc_init_xfer_data |
|
4 |
14 |
104 |
4 |
| dwc2_hc_init_xfer |
|
18 |
82 |
484 |
4 |
| dwc2_hc_setup_align_buf |
|
7 |
32 |
205 |
4 |
| dwc2_assign_and_init_hc |
|
13 |
76 |
533 |
2 |
| dwc2_hcd_select_transactions |
|
18 |
61 |
357 |
1 |
| dwc2_queue_transaction |
|
15 |
44 |
263 |
3 |
| dwc2_process_periodic_channels |
|
18 |
85 |
479 |
1 |
| dwc2_process_non_periodic_channels |
|
15 |
75 |
423 |
1 |
| dwc2_hcd_queue_transactions |
|
8 |
19 |
104 |
2 |
| dwc2_conn_id_status_change |
|
10 |
46 |
259 |
1 |
| dwc2_wakeup_detected |
|
1 |
14 |
92 |
1 |
| dwc2_port_suspend |
|
4 |
32 |
203 |
2 |
| dwc2_hcd_hub_control |
|
50 |
234 |
1220 |
6 |
| dwc2_hcd_get_frame_number |
|
2 |
7 |
47 |
1 |
| dwc2_hcd_is_b_host |
|
1 |
4 |
16 |
1 |
| dwc2_hcd_urb_alloc |
|
2 |
11 |
63 |
3 |
| dwc2_hcd_urb_free |
|
1 |
7 |
43 |
3 |
| dwc2_hcd_urb_set_pipeinfo |
|
4 |
14 |
98 |
7 |
| dwc2_hcd_dump_state |
|
9 |
114 |
847 |
1 |
| dwc2_hcd_dump_frrem |
|
12 |
62 |
460 |
1 |
| dwc2_host_start |
|
1 |
4 |
14 |
1 |
| dwc2_host_disconnect |
|
1 |
3 |
9 |
1 |
| dwc2_hcd_start_func |
|
1 |
6 |
33 |
1 |
| dwc2_hcd_reset_func |
|
1 |
11 |
64 |
1 |
| dwc2_hcd_free |
|
7 |
47 |
329 |
1 |
| dwc2_hcd_release |
|
1 |
5 |
19 |
1 |
| dwc2_set_all_params |
|
2 |
8 |
60 |
2 |
| dwc2_hcd_init |
|
15 |
96 |
684 |
2 |
| dwc2_hcd_dma_config |
|
1 |
6 |
23 |
2 |
| Source file: ./sys/dev/usb/dwc2/dwc2_core.h |
| Source file: ./sys/dev/usb/dwc2/dwc2var.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dwc2_root_intr |
|
1 |
4 |
15 |
1 |
| Source file: ./sys/dev/usb/uoaklux.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| uoaklux_match |
|
3 |
9 |
64 |
3 |
| uoaklux_attach |
|
5 |
56 |
437 |
3 |
| uoaklux_detach |
|
4 |
18 |
134 |
2 |
| uoaklux_intr |
|
2 |
12 |
122 |
3 |
| uoaklux_refresh |
|
3 |
13 |
94 |
1 |
| uoaklux_get_sensor_setting |
|
2 |
15 |
123 |
2 |
| uoaklux_dev_setting |
|
1 |
5 |
34 |
2 |
| uoaklux_dev_print |
|
5 |
20 |
95 |
2 |
| Source file: ./sys/dev/usb/ubcmtp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ubcmtp_match |
|
8 |
19 |
139 |
3 |
| ubcmtp_attach |
|
14 |
61 |
384 |
3 |
| ubcmtp_detach |
|
2 |
8 |
53 |
2 |
| ubcmtp_activate |
|
3 |
11 |
66 |
2 |
| ubcmtp_configure |
|
2 |
14 |
118 |
1 |
| ubcmtp_enable |
|
5 |
17 |
99 |
1 |
| ubcmtp_disable |
|
7 |
26 |
166 |
1 |
| ubcmtp_ioctl |
|
7 |
37 |
238 |
5 |
| ubcmtp_raw_mode |
|
9 |
49 |
331 |
2 |
| ubcmtp_setup_pipes |
|
14 |
75 |
496 |
1 |
| ubcmtp_tp_intr |
|
17 |
47 |
436 |
3 |
| ubcmtp_bt_intr |
|
10 |
28 |
211 |
3 |
| Source file: ./sys/dev/usb/dwc2/dwc2_hcdintr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dwc2_track_missed_sofs |
|
6 |
25 |
154 |
1 |
| dwc2_hc_handle_tt_clear |
|
6 |
15 |
87 |
3 |
| dwc2_sof_intr |
|
5 |
21 |
143 |
1 |
| dwc2_rx_fifo_level_intr |
|
9 |
41 |
238 |
1 |
| dwc2_np_tx_fifo_empty_intr |
|
1 |
5 |
25 |
1 |
| dwc2_perio_tx_fifo_empty_intr |
|
2 |
6 |
31 |
1 |
| dwc2_hprt0_enable |
|
11 |
71 |
383 |
3 |
| dwc2_port_intr |
|
8 |
40 |
225 |
1 |
| dwc2_get_actual_xfer_length |
|
5 |
26 |
156 |
6 |
| dwc2_update_urb_state |
|
13 |
44 |
358 |
5 |
| dwc2_hcd_save_data_toggle |
|
4 |
18 |
102 |
4 |
| dwc2_update_isoc_urb_state |
|
18 |
77 |
441 |
5 |
| dwc2_deactivate_qh |
|
8 |
28 |
164 |
3 |
| dwc2_release_channel |
|
17 |
65 |
317 |
4 |
| dwc2_halt_channel |
|
7 |
32 |
220 |
4 |
| dwc2_complete_non_periodic_xfer |
|
3 |
17 |
103 |
5 |
| dwc2_complete_periodic_xfer |
|
3 |
12 |
83 |
5 |
| dwc2_xfercomp_isoc_split_in |
|
6 |
43 |
273 |
4 |
| dwc2_hc_xfercomp_intr |
|
25 |
109 |
577 |
4 |
| dwc2_hc_stall_intr |
|
6 |
28 |
159 |
4 |
| dwc2_update_urb_state_abn |
|
6 |
34 |
276 |
6 |
| dwc2_hc_nak_intr |
|
14 |
48 |
278 |
4 |
| dwc2_hc_ack_intr |
|
13 |
47 |
238 |
4 |
| dwc2_hc_nyet_intr |
|
13 |
48 |
291 |
4 |
| dwc2_hc_babble_intr |
|
3 |
23 |
134 |
4 |
| dwc2_hc_ahberr_intr |
|
12 |
74 |
457 |
4 |
| dwc2_hc_xacterr_intr |
|
11 |
42 |
242 |
4 |
| dwc2_hc_frmovrun_intr |
|
6 |
24 |
131 |
4 |
| dwc2_hc_datatglerr_intr |
|
2 |
14 |
66 |
4 |
| dwc2_halt_status_ok |
|
5 |
41 |
226 |
4 |
| dwc2_hc_chhltd_intr_dma |
|
33 |
99 |
661 |
4 |
| dwc2_hc_chhltd_intr |
|
4 |
15 |
95 |
4 |
| dwc2_check_qtd_still_ok |
|
2 |
6 |
35 |
2 |
| dwc2_hc_n_intr |
|
30 |
106 |
681 |
2 |
| dwc2_hc_intr |
|
4 |
14 |
91 |
1 |
| dwc2_handle_hcd_intr |
|
13 |
47 |
226 |
1 |
| Source file: ./sys/dev/usb/dwc2/dwc2_core.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dwc2_enable_common_interrupts |
|
2 |
12 |
69 |
1 |
| dwc2_init_fs_ls_pclk_sel |
|
5 |
17 |
103 |
1 |
| dwc2_core_reset |
|
5 |
31 |
162 |
1 |
| dwc2_fs_phy_init |
|
5 |
33 |
190 |
2 |
| dwc2_hs_phy_init |
|
7 |
34 |
175 |
2 |
| dwc2_phy_init |
|
8 |
30 |
170 |
2 |
| dwc2_gahbcfg_init |
|
9 |
42 |
235 |
1 |
| dwc2_gusbcfg_init |
|
11 |
29 |
119 |
1 |
| dwc2_core_init |
|
8 |
44 |
256 |
2 |
| dwc2_enable_host_interrupts |
|
1 |
11 |
72 |
1 |
| dwc2_disable_host_interrupts |
|
1 |
7 |
42 |
1 |
| dwc2_config_fifos |
|
4 |
44 |
291 |
1 |
| dwc2_core_host_init |
|
16 |
86 |
547 |
1 |
| dwc2_hc_enable_slave_ints |
|
18 |
69 |
310 |
2 |
| dwc2_hc_enable_dma_ints |
|
12 |
29 |
177 |
2 |
| dwc2_hc_enable_ints |
|
6 |
24 |
163 |
2 |
| dwc2_hc_init |
|
10 |
72 |
459 |
2 |
| dwc2_hc_halt |
|
24 |
88 |
568 |
3 |
| dwc2_hc_cleanup |
|
1 |
9 |
59 |
2 |
| dwc2_hc_set_even_odd_frame |
|
4 |
9 |
51 |
3 |
| dwc2_set_pid_isoc |
|
6 |
20 |
96 |
1 |
| dwc2_hc_write_packet |
|
6 |
31 |
223 |
2 |
| dwc2_hc_start_transfer |
|
38 |
143 |
916 |
2 |
| dwc2_hc_start_transfer_ddma |
|
8 |
49 |
334 |
2 |
| dwc2_hc_continue_transfer |
|
9 |
35 |
208 |
2 |
| dwc2_hc_do_ping |
|
2 |
15 |
103 |
2 |
| dwc2_calc_frame_interval |
|
24 |
33 |
258 |
1 |
| dwc2_read_packet |
|
2 |
10 |
91 |
3 |
| dwc2_dump_host_registers |
|
5 |
58 |
489 |
1 |
| dwc2_dump_global_registers |
|
2 |
80 |
671 |
1 |
| dwc2_flush_tx_fifo |
|
3 |
21 |
114 |
2 |
| dwc2_flush_rx_fifo |
|
3 |
18 |
94 |
1 |
| dwc2_set_param_otg_cap |
|
15 |
48 |
177 |
2 |
| dwc2_set_param_dma_enable |
|
6 |
17 |
98 |
2 |
| dwc2_set_param_dma_desc_enable |
|
8 |
19 |
115 |
2 |
| dwc2_set_param_host_support_fs_ls_low_power |
|
3 |
16 |
74 |
2 |
| dwc2_set_param_enable_dynamic_fifo |
|
6 |
17 |
95 |
2 |
| dwc2_set_param_host_rx_fifo_size |
|
5 |
15 |
86 |
2 |
| dwc2_set_param_host_nperio_tx_fifo_size |
|
5 |
16 |
86 |
2 |
| dwc2_set_param_host_perio_tx_fifo_size |
|
5 |
16 |
86 |
2 |
| dwc2_set_param_max_transfer_size |
|
5 |
15 |
86 |
2 |
| dwc2_set_param_max_packet_count |
|
5 |
15 |
86 |
2 |
| dwc2_set_param_host_channels |
|
5 |
15 |
86 |
2 |
| dwc2_set_param_phy_type |
|
16 |
42 |
211 |
2 |
| dwc2_get_param_phy_type |
|
1 |
4 |
16 |
1 |
| dwc2_set_param_speed |
|
8 |
24 |
133 |
2 |
| dwc2_set_param_host_ls_low_power_phy_clk |
|
8 |
29 |
133 |
2 |
| dwc2_set_param_phy_ulpi_ddr |
|
3 |
12 |
74 |
2 |
| dwc2_set_param_phy_ulpi_ext_vbus |
|
3 |
14 |
74 |
2 |
| dwc2_set_param_phy_utmi_width |
|
8 |
26 |
131 |
2 |
| dwc2_set_param_ulpi_fs_ls |
|
3 |
12 |
74 |
2 |
| dwc2_set_param_ts_dline |
|
3 |
12 |
74 |
2 |
| dwc2_set_param_i2c_enable |
|
7 |
22 |
130 |
2 |
| dwc2_set_param_en_multiple_tx_fifo |
|
7 |
24 |
128 |
2 |
| dwc2_set_param_reload_ctl |
|
7 |
23 |
133 |
2 |
| dwc2_set_param_ahbcfg |
|
2 |
8 |
39 |
2 |
| dwc2_set_param_otg_ver |
|
3 |
14 |
76 |
2 |
| dwc2_set_param_uframe_sched |
|
3 |
14 |
76 |
2 |
| dwc2_set_parameters |
|
1 |
40 |
251 |
2 |
| dwc2_get_hwparams |
|
3 |
130 |
959 |
1 |
| dwc2_get_otg_version |
|
2 |
4 |
22 |
1 |
| dwc2_is_controller_alive |
|
2 |
7 |
27 |
1 |
| dwc2_enable_global_interrupts |
|
1 |
6 |
32 |
1 |
| dwc2_disable_global_interrupts |
|
1 |
6 |
32 |
1 |
| Source file: ./sys/dev/usb/if_axenreg.h |
| Source file: ./sys/dev/usb/umcs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| umcs_reg_sp |
|
6 |
11 |
50 |
1 |
| umcs_reg_ctrl |
|
6 |
11 |
50 |
1 |
| umcs_match |
|
4 |
8 |
65 |
3 |
| umcs_attach |
|
23 |
100 |
710 |
3 |
| umcs_get_reg |
|
2 |
12 |
82 |
3 |
| umcs_set_reg |
|
2 |
12 |
81 |
3 |
| umcs_get_uart_reg |
|
2 |
15 |
111 |
4 |
| umcs_set_uart_reg |
|
2 |
15 |
112 |
4 |
| umcs_set_baudrate |
|
8 |
29 |
239 |
3 |
| umcs_calc_baudrate |
|
5 |
15 |
108 |
3 |
| umcs_detach |
|
3 |
15 |
103 |
2 |
| umcs_get_status |
|
4 |
13 |
85 |
4 |
| umcs_set |
|
5 |
19 |
87 |
4 |
| umcs_param |
|
12 |
53 |
275 |
3 |
| umcs_dtr |
|
3 |
11 |
66 |
3 |
| umcs_rts |
|
3 |
11 |
66 |
3 |
| umcs_break |
|
3 |
11 |
66 |
3 |
| umcs_open |
|
24 |
64 |
507 |
2 |
| umcs_close |
|
4 |
14 |
99 |
2 |
| umcs_intr |
|
13 |
40 |
246 |
3 |
| umcs_status_task |
|
3 |
11 |
77 |
1 |
| Source file: ./sys/dev/usb/ehcireg.h |
| Source file: ./sys/dev/usb/umct.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| umct_match |
|
3 |
8 |
59 |
3 |
| umct_attach |
|
16 |
93 |
611 |
3 |
| umct_detach |
|
3 |
17 |
115 |
2 |
| umct_set_line_state |
|
3 |
15 |
111 |
1 |
| umct_set |
|
4 |
17 |
70 |
4 |
| umct_dtr |
|
2 |
8 |
42 |
2 |
| umct_rts |
|
2 |
8 |
42 |
2 |
| umct_break |
|
2 |
6 |
38 |
2 |
| umct_set_lcr |
|
1 |
12 |
79 |
2 |
| umct_set_baudrate |
|
13 |
45 |
344 |
3 |
| umct_init |
|
1 |
5 |
29 |
1 |
| umct_param |
|
8 |
36 |
191 |
3 |
| umct_open |
|
5 |
25 |
166 |
2 |
| umct_close |
|
4 |
17 |
104 |
2 |
| umct_intr |
|
7 |
25 |
174 |
3 |
| umct_get_status |
|
3 |
9 |
59 |
4 |
| Source file: ./sys/dev/usb/if_ral.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ural_match |
|
4 |
8 |
63 |
3 |
| ural_attach |
|
12 |
90 |
664 |
3 |
| ural_detach |
|
7 |
33 |
209 |
2 |
| ural_alloc_tx_list |
|
4 |
27 |
153 |
1 |
| ural_free_tx_list |
|
3 |
12 |
69 |
1 |
| ural_alloc_rx_list |
|
6 |
39 |
228 |
1 |
| ural_free_rx_list |
|
4 |
15 |
86 |
1 |
| ural_media_change |
|
3 |
10 |
56 |
1 |
| ural_next_scan |
|
3 |
12 |
73 |
1 |
| ural_task |
|
17 |
64 |
377 |
1 |
| ural_newstate |
|
1 |
11 |
82 |
3 |
| ural_txeof |
|
5 |
27 |
170 |
3 |
| ural_rxeof |
|
11 |
84 |
607 |
3 |
| ural_rxrate |
|
14 |
25 |
129 |
1 |
| ural_ack_rate |
|
14 |
23 |
82 |
2 |
| ural_txtime |
|
4 |
15 |
100 |
3 |
| ural_plcp_signal |
|
13 |
18 |
90 |
1 |
| ural_setup_tx_desc |
|
7 |
35 |
242 |
5 |
| ural_tx_bcn |
|
4 |
37 |
259 |
3 |
| ural_tx_data |
|
27 |
133 |
1027 |
3 |
| ural_start |
|
18 |
44 |
284 |
1 |
| ural_watchdog |
|
3 |
14 |
74 |
1 |
| ural_ioctl |
|
13 |
46 |
261 |
3 |
| ural_eeprom_read |
|
2 |
15 |
102 |
4 |
| ural_read |
|
2 |
18 |
111 |
2 |
| ural_read_multi |
|
2 |
15 |
102 |
4 |
| ural_write |
|
2 |
15 |
98 |
3 |
| ural_write_multi |
|
2 |
15 |
102 |
4 |
| ural_bbp_write |
|
4 |
15 |
91 |
3 |
| ural_bbp_read |
|
4 |
16 |
99 |
2 |
| ural_rf_write |
|
4 |
18 |
143 |
3 |
| ural_set_chan |
|
19 |
65 |
577 |
2 |
| ural_disable_rf_tune |
|
2 |
11 |
71 |
1 |
| ural_enable_tsf_sync |
|
3 |
25 |
153 |
1 |
| ural_update_slot |
|
3 |
17 |
100 |
1 |
| ural_set_txpreamble |
|
2 |
9 |
48 |
1 |
| ural_set_basicrates |
|
2 |
9 |
50 |
1 |
| ural_set_bssid |
|
1 |
11 |
105 |
2 |
| ural_set_macaddr |
|
1 |
12 |
105 |
2 |
| ural_update_promisc |
|
3 |
12 |
80 |
1 |
| ural_get_rf |
|
8 |
13 |
60 |
1 |
| ural_read_eeprom |
|
1 |
18 |
176 |
1 |
| ural_bbp_init |
|
8 |
21 |
160 |
1 |
| ural_set_txantenna |
|
6 |
20 |
140 |
2 |
| ural_set_rxantenna |
|
5 |
14 |
79 |
2 |
| ural_init |
|
19 |
103 |
709 |
1 |
| ural_stop |
|
4 |
29 |
189 |
2 |
| ural_newassoc |
|
1 |
4 |
23 |
3 |
| ural_amrr_start |
|
4 |
12 |
107 |
2 |
| ural_amrr_timeout |
|
2 |
21 |
140 |
1 |
| ural_amrr_update |
|
3 |
22 |
173 |
3 |
| Source file: ./sys/dev/usb/uchcom.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| uchcom_match |
|
3 |
8 |
57 |
3 |
| uchcom_attach |
|
4 |
41 |
269 |
3 |
| uchcom_detach |
|
2 |
12 |
75 |
2 |
| uchcom_find_ifaces |
|
2 |
12 |
59 |
2 |
| uchcom_find_endpoints |
|
16 |
53 |
355 |
2 |
| uchcom_generic_control_out |
|
1 |
11 |
73 |
4 |
| uchcom_generic_control_in |
|
1 |
13 |
93 |
7 |
| uchcom_write_reg |
|
1 |
10 |
80 |
5 |
| uchcom_read_reg |
|
4 |
18 |
133 |
5 |
| uchcom_get_version |
|
3 |
12 |
68 |
2 |
| uchcom_read_status |
|
1 |
5 |
27 |
2 |
| uchcom_set_dtrrts_10 |
|
1 |
5 |
26 |
2 |
| uchcom_set_dtrrts_20 |
|
1 |
4 |
24 |
2 |
| uchcom_update_version |
|
2 |
11 |
52 |
1 |
| uchcom_convert_status |
|
1 |
7 |
64 |
2 |
| uchcom_update_status |
|
2 |
13 |
60 |
1 |
| uchcom_set_dtrrts |
|
5 |
17 |
94 |
3 |
| uchcom_set_break |
|
4 |
21 |
94 |
2 |
| uchcom_calc_divider_settings |
|
8 |
31 |
198 |
2 |
| uchcom_set_dte_rate |
|
4 |
18 |
98 |
2 |
| uchcom_set_line_control |
|
7 |
14 |
62 |
2 |
| uchcom_clear_chip |
|
2 |
12 |
66 |
1 |
| uchcom_reset_chip |
|
2 |
15 |
69 |
1 |
| uchcom_setup_comm |
|
9 |
30 |
151 |
1 |
| uchcom_setup_intr_pipe |
|
4 |
21 |
106 |
1 |
| uchcom_close_intr_pipe |
|
3 |
13 |
77 |
1 |
| uchcom_get_status |
|
2 |
8 |
51 |
4 |
| uchcom_set |
|
5 |
19 |
105 |
4 |
| uchcom_param |
|
4 |
14 |
77 |
3 |
| uchcom_open |
|
4 |
14 |
64 |
2 |
| uchcom_close |
|
1 |
5 |
23 |
2 |
| uchcom_intr |
|
5 |
24 |
189 |
3 |
| Source file: ./sys/dev/usb/umidi_quirks.h |
| Source file: ./sys/dev/usb/ugold.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ugold_match |
|
4 |
15 |
113 |
3 |
| ugold_attach |
|
7 |
60 |
456 |
3 |
| ugold_detach |
|
4 |
14 |
106 |
2 |
| ugold_ds75_temp |
|
1 |
4 |
38 |
2 |
| ugold_ds75_type |
|
5 |
11 |
89 |
3 |
| ugold_ds75_intr |
|
8 |
40 |
275 |
3 |
| ugold_si700x_temp |
|
4 |
18 |
98 |
3 |
| ugold_si700x_rhum |
|
7 |
24 |
159 |
4 |
| ugold_si700x_type |
|
7 |
21 |
166 |
3 |
| ugold_si700x_intr |
|
7 |
35 |
283 |
3 |
| ugold_refresh |
|
5 |
17 |
106 |
1 |
| ugold_issue_cmd |
|
1 |
7 |
49 |
3 |
| Source file: ./sys/dev/usb/umodem.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| umodem_get_caps |
|
17 |
60 |
336 |
5 |
| umodem_match |
|
14 |
31 |
204 |
3 |
| umodem_attach |
|
19 |
98 |
655 |
3 |
| umodem_open |
|
4 |
18 |
109 |
2 |
| umodem_close |
|
3 |
14 |
82 |
2 |
| umodem_intr |
|
11 |
49 |
301 |
3 |
| umodem_get_status |
|
3 |
9 |
59 |
4 |
| umodem_param |
|
9 |
39 |
213 |
3 |
| umodem_dtr |
|
2 |
8 |
42 |
2 |
| umodem_rts |
|
2 |
8 |
42 |
2 |
| umodem_set_line_state |
|
3 |
13 |
93 |
1 |
| umodem_break |
|
3 |
13 |
97 |
2 |
| umodem_set |
|
4 |
17 |
70 |
4 |
| umodem_set_line_coding |
|
3 |
26 |
166 |
2 |
| umodem_set_comm_feature |
|
2 |
21 |
131 |
3 |
| umodem_detach |
|
3 |
14 |
94 |
2 |
| Source file: ./sys/dev/usb/if_axen.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| axen_lock_mii |
|
1 |
5 |
22 |
1 |
| axen_unlock_mii |
|
2 |
6 |
34 |
1 |
| axen_cmd |
|
4 |
23 |
155 |
5 |
| axen_miibus_readreg |
|
5 |
27 |
149 |
3 |
| axen_miibus_writereg |
|
4 |
20 |
121 |
4 |
| axen_miibus_statchg |
|
14 |
54 |
285 |
1 |
| axen_ifmedia_upd |
|
3 |
17 |
86 |
1 |
| axen_ifmedia_sts |
|
1 |
8 |
54 |
2 |
| axen_iff |
|
6 |
41 |
281 |
1 |
| axen_reset |
|
2 |
8 |
32 |
1 |
| axen_ax88179_init |
|
11 |
120 |
946 |
1 |
| axen_match |
|
4 |
8 |
63 |
3 |
| axen_attach |
|
16 |
98 |
745 |
3 |
| axen_detach |
|
13 |
39 |
308 |
2 |
| axen_newbuf |
|
3 |
15 |
79 |
1 |
| axen_rx_list_init |
|
5 |
26 |
157 |
1 |
| axen_tx_list_init |
|
5 |
26 |
157 |
1 |
| axen_rxeof |
|
24 |
111 |
723 |
3 |
| axen_txeof |
|
7 |
33 |
188 |
3 |
| axen_tick |
|
3 |
11 |
63 |
1 |
| axen_tick_task |
|
5 |
20 |
101 |
1 |
| axen_encap |
|
6 |
45 |
286 |
3 |
| axen_start |
|
7 |
23 |
140 |
1 |
| axen_init |
|
6 |
65 |
412 |
1 |
| axen_ioctl |
|
13 |
40 |
212 |
3 |
| axen_watchdog |
|
2 |
17 |
111 |
1 |
| axen_stop |
|
13 |
60 |
466 |
1 |
| Source file: ./sys/dev/usb/uhub.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| uhub_match |
|
3 |
10 |
66 |
3 |
| uhub_attach |
|
47 |
165 |
1143 |
3 |
| uhub_explore |
|
22 |
73 |
456 |
1 |
| uhub_detach |
|
7 |
27 |
207 |
2 |
| uhub_intr |
|
5 |
17 |
128 |
3 |
| uhub_port_connect |
|
13 |
55 |
399 |
4 |
| Source file: ./sys/dev/usb/if_kue.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| kue_setword |
|
1 |
11 |
89 |
3 |
| kue_ctl |
|
2 |
16 |
114 |
6 |
| kue_load_fw |
|
7 |
62 |
474 |
1 |
| kue_setmulti |
|
5 |
32 |
214 |
1 |
| kue_reset |
|
3 |
9 |
73 |
1 |
| kue_match |
|
3 |
9 |
68 |
3 |
| kue_attachhook |
|
15 |
78 |
527 |
1 |
| kue_attach |
|
2 |
18 |
121 |
3 |
| kue_detach |
|
9 |
27 |
173 |
2 |
| kue_newbuf |
|
4 |
27 |
179 |
3 |
| kue_rx_list_init |
|
6 |
24 |
166 |
1 |
| kue_tx_list_init |
|
5 |
23 |
154 |
1 |
| kue_rxeof |
|
11 |
60 |
427 |
3 |
| kue_txeof |
|
7 |
32 |
201 |
3 |
| kue_send |
|
2 |
26 |
222 |
3 |
| kue_start |
|
7 |
23 |
157 |
1 |
| kue_init |
|
8 |
39 |
250 |
1 |
| kue_open_pipes |
|
4 |
32 |
229 |
1 |
| kue_ioctl |
|
17 |
51 |
309 |
3 |
| kue_watchdog |
|
3 |
19 |
140 |
1 |
| kue_stop |
|
13 |
58 |
468 |
1 |
| Source file: ./sys/dev/usb/xhci.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| xhci_dump_trb |
|
1 |
6 |
46 |
1 |
| usbd_dma_contig_alloc |
|
6 |
36 |
289 |
6 |
| usbd_dma_contig_free |
|
2 |
12 |
102 |
2 |
| xhci_init |
|
14 |
88 |
810 |
1 |
| xhci_config |
|
2 |
36 |
460 |
1 |
| xhci_detach |
|
3 |
30 |
261 |
2 |
| xhci_activate |
|
3 |
25 |
140 |
2 |
| xhci_reset |
|
7 |
27 |
172 |
1 |
| xhci_intr |
|
4 |
11 |
64 |
1 |
| xhci_intr1 |
|
4 |
22 |
143 |
1 |
| xhci_poll |
|
2 |
6 |
35 |
1 |
| xhci_softintr |
|
2 |
9 |
44 |
1 |
| xhci_event_dequeue |
|
7 |
32 |
210 |
1 |
| xhci_event_xfer |
|
21 |
89 |
541 |
4 |
| xhci_event_command |
|
15 |
55 |
363 |
2 |
| xhci_event_port_change |
|
3 |
19 |
144 |
3 |
| xhci_xfer_done |
|
7 |
24 |
196 |
1 |
| xhci_ed2dci |
|
3 |
11 |
70 |
1 |
| xhci_pipe_open |
|
17 |
60 |
356 |
1 |
| xhci_get_txinfo |
|
6 |
23 |
134 |
2 |
| xhci_get_pollrate |
|
3 |
9 |
51 |
1 |
| xhci_context_setup |
|
23 |
93 |
762 |
2 |
| xhci_pipe_init |
|
6 |
31 |
240 |
2 |
| xhci_pipe_close |
|
7 |
28 |
280 |
1 |
| xhci_setaddr |
|
5 |
25 |
212 |
2 |
| xhci_allocx |
|
1 |
4 |
21 |
1 |
| xhci_freex |
|
1 |
4 |
21 |
2 |
| xhci_scratchpad_alloc |
|
4 |
29 |
258 |
2 |
| xhci_scratchpad_free |
|
1 |
8 |
80 |
1 |
| xhci_ring_alloc |
|
2 |
14 |
93 |
4 |
| xhci_ring_free |
|
1 |
4 |
27 |
2 |
| xhci_ring_reset |
|
2 |
17 |
149 |
2 |
| xhci_ring_consume |
|
3 |
15 |
126 |
2 |
| xhci_ring_produce |
|
2 |
21 |
196 |
2 |
| xhci_xfer_get_trb |
|
2 |
13 |
119 |
4 |
| xhci_command_submit |
|
8 |
42 |
347 |
3 |
| xhci_command_abort |
|
5 |
21 |
128 |
1 |
| xhci_cmd_configure_ep |
|
1 |
11 |
77 |
3 |
| xhci_cmd_stop_ep |
|
1 |
11 |
81 |
3 |
| xhci_cmd_reset_ep_async |
|
1 |
11 |
78 |
3 |
| xhci_cmd_set_tr_deq_async |
|
1 |
12 |
84 |
4 |
| xhci_cmd_slot_control |
|
4 |
18 |
114 |
3 |
| xhci_cmd_set_address |
|
2 |
12 |
86 |
4 |
| xhci_cmd_evaluate_ctx |
|
1 |
11 |
77 |
3 |
| xhci_cmd_noop |
|
1 |
9 |
61 |
1 |
| xhci_softdev_alloc |
|
4 |
31 |
321 |
2 |
| xhci_softdev_free |
|
1 |
11 |
110 |
2 |
| xhci_abort_xfer |
|
7 |
37 |
311 |
2 |
| xhci_timeout |
|
2 |
12 |
74 |
1 |
| xhci_timeout_task |
|
1 |
8 |
36 |
1 |
| xhci_root_ctrl_transfer |
|
2 |
8 |
44 |
1 |
| xhci_root_ctrl_start |
|
101 |
334 |
1946 |
1 |
| xhci_noop |
|
1 |
3 |
9 |
1 |
| xhci_root_intr_transfer |
|
2 |
8 |
44 |
1 |
| xhci_root_intr_start |
|
2 |
8 |
49 |
1 |
| xhci_root_intr_abort |
|
1 |
10 |
56 |
1 |
| xhci_root_intr_done |
|
1 |
3 |
9 |
1 |
| xhci_xfer_tdsize |
|
3 |
10 |
71 |
3 |
| xhci_device_ctrl_transfer |
|
2 |
8 |
44 |
1 |
| xhci_device_ctrl_start |
|
12 |
63 |
554 |
1 |
| xhci_device_ctrl_abort |
|
1 |
4 |
16 |
1 |
| xhci_device_generic_transfer |
|
2 |
8 |
44 |
1 |
| xhci_device_generic_start |
|
15 |
72 |
622 |
1 |
| xhci_device_generic_done |
|
2 |
7 |
30 |
1 |
| xhci_device_generic_abort |
|
2 |
5 |
34 |
1 |
| xhci_device_isoc_transfer |
|
3 |
8 |
40 |
1 |
| xhci_device_isoc_start |
|
14 |
76 |
684 |
1 |
| Source file: ./sys/dev/usb/umct.h |
| Source file: ./sys/dev/usb/if_bwfm_usb.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bwfm_usb_match |
|
4 |
8 |
63 |
3 |
| bwfm_usb_attach |
|
12 |
45 |
319 |
3 |
| bwfm_usb_attachhook |
|
23 |
99 |
616 |
1 |
| bwfm_usb_rxeof |
|
8 |
37 |
272 |
3 |
| bwfm_usb_alloc_rx_list |
|
5 |
26 |
144 |
1 |
| bwfm_usb_free_rx_list |
|
3 |
9 |
63 |
1 |
| bwfm_usb_alloc_tx_list |
|
5 |
28 |
164 |
1 |
| bwfm_usb_free_tx_list |
|
3 |
9 |
63 |
1 |
| bwfm_usb_txeof |
|
5 |
27 |
180 |
3 |
| bwfm_usb_detach |
|
3 |
16 |
95 |
2 |
| bwfm_usb_dl_cmd |
|
2 |
16 |
106 |
4 |
| bwfm_usb_load_microcode |
|
15 |
74 |
497 |
3 |
| bwfm_usb_txdata |
|
4 |
30 |
255 |
2 |
| bwfm_usb_txctl |
|
2 |
22 |
144 |
3 |
| bwfm_usb_rxctl |
|
3 |
29 |
183 |
3 |
| Source file: ./sys/dev/usb/umass_quirks.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| umass_lookup |
|
1 |
5 |
28 |
2 |
| umass_init_insystem |
|
2 |
12 |
54 |
1 |
| umass_init_shuttle |
|
1 |
11 |
78 |
1 |
| umass_fixup_sony |
|
5 |
18 |
81 |
1 |
| umass_fixup_yedata |
|
2 |
9 |
46 |
1 |
| Source file: ./sys/dev/usb/if_rumvar.h |
| Source file: ./sys/dev/usb/if_wi_usb.h |
| Source file: ./sys/dev/usb/if_urtwreg.h |
| Source file: ./sys/dev/usb/usb_mem.h |
| Source file: ./sys/dev/usb/ums.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ums_match |
|
5 |
20 |
154 |
3 |
| ums_attach |
|
8 |
42 |
354 |
3 |
| ums_detach |
|
1 |
6 |
42 |
2 |
| ums_intr |
|
2 |
7 |
59 |
3 |
| ums_enable |
|
3 |
11 |
67 |
1 |
| ums_disable |
|
1 |
7 |
38 |
1 |
| ums_ioctl |
|
4 |
19 |
122 |
5 |
| Source file: ./sys/dev/usb/uvisor.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| uvisor_match |
|
3 |
10 |
74 |
3 |
| uvisor_attach |
|
21 |
117 |
737 |
3 |
| uvisor_detach |
|
3 |
14 |
101 |
2 |
| uvisor_init |
|
9 |
51 |
344 |
3 |
| uvisor_close |
|
2 |
16 |
101 |
2 |
| Source file: ./sys/dev/usb/if_smsc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| smsc_enaddr_OF |
|
7 |
20 |
163 |
1 |
| smsc_read_reg |
|
2 |
16 |
107 |
3 |
| smsc_write_reg |
|
2 |
16 |
105 |
3 |
| smsc_wait_for_bits |
|
4 |
13 |
85 |
3 |
| smsc_miibus_readreg |
|
3 |
19 |
136 |
3 |
| smsc_miibus_writereg |
|
4 |
19 |
138 |
4 |
| smsc_miibus_statchg |
|
14 |
60 |
351 |
1 |
| smsc_ifmedia_upd |
|
2 |
13 |
72 |
1 |
| smsc_ifmedia_sts |
|
1 |
8 |
54 |
2 |
| smsc_hash |
|
1 |
4 |
25 |
1 |
| smsc_iff |
|
8 |
35 |
251 |
1 |
| smsc_sethwcsum |
|
6 |
29 |
144 |
1 |
| smsc_setmacaddress |
|
2 |
15 |
150 |
2 |
| smsc_reset |
|
2 |
7 |
30 |
1 |
| smsc_init |
|
6 |
51 |
329 |
1 |
| smsc_start |
|
7 |
21 |
135 |
1 |
| smsc_tick |
|
3 |
9 |
46 |
1 |
| smsc_stop |
|
13 |
59 |
466 |
1 |
| smsc_chip_init |
|
11 |
69 |
459 |
1 |
| smsc_ioctl |
|
11 |
38 |
210 |
3 |
| smsc_match |
|
4 |
8 |
63 |
3 |
| smsc_attach |
|
13 |
81 |
737 |
3 |
| smsc_detach |
|
13 |
38 |
295 |
2 |
| smsc_tick_task |
|
5 |
19 |
103 |
1 |
| smsc_lock_mii |
|
1 |
5 |
22 |
1 |
| smsc_unlock_mii |
|
2 |
6 |
34 |
1 |
| smsc_rxeof |
|
14 |
79 |
483 |
3 |
| smsc_txeof |
|
7 |
33 |
190 |
3 |
| smsc_tx_list_init |
|
5 |
25 |
148 |
1 |
| smsc_rx_list_init |
|
5 |
25 |
148 |
1 |
| smsc_encap |
|
2 |
29 |
223 |
3 |
| Source file: ./sys/dev/usb/if_cuereg.h |
| Source file: ./sys/dev/usb/uslcom.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| uslcom_match |
|
3 |
8 |
57 |
3 |
| uslcom_attach |
|
10 |
52 |
366 |
3 |
| uslcom_detach |
|
2 |
10 |
61 |
2 |
| uslcom_open |
|
3 |
17 |
105 |
2 |
| uslcom_close |
|
2 |
13 |
83 |
2 |
| uslcom_set |
|
6 |
27 |
139 |
4 |
| uslcom_param |
|
14 |
70 |
459 |
3 |
| uslcom_get_status |
|
3 |
8 |
52 |
4 |
| uslcom_break |
|
2 |
12 |
84 |
3 |
| Source file: ./sys/dev/x86emu/x86emu.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| x86emu_intr_dispatch |
|
2 |
14 |
123 |
2 |
| x86emu_intr_handle |
|
2 |
9 |
47 |
1 |
| x86emu_intr_raise |
|
1 |
5 |
28 |
2 |
| x86emu_exec |
|
12 |
21 |
132 |
1 |
| x86emu_exec_call |
|
1 |
8 |
50 |
3 |
| x86emu_exec_intr |
|
1 |
12 |
102 |
2 |
| x86emu_halt_sys |
|
2 |
5 |
26 |
1 |
| fetch_decode_modrm |
|
1 |
8 |
58 |
1 |
| fetch_byte_imm |
|
1 |
7 |
41 |
1 |
| fetch_word_imm |
|
1 |
7 |
42 |
1 |
| fetch_long_imm |
|
1 |
7 |
42 |
1 |
| get_data_segment |
|
15 |
27 |
129 |
1 |
| fetch_data_byte |
|
1 |
4 |
25 |
2 |
| fetch_data_word |
|
1 |
4 |
25 |
2 |
| fetch_data_long |
|
1 |
4 |
25 |
2 |
| fetch_byte |
|
1 |
4 |
38 |
3 |
| fetch_word |
|
1 |
4 |
38 |
3 |
| fetch_long |
|
1 |
4 |
38 |
3 |
| store_data_byte |
|
1 |
4 |
29 |
3 |
| store_data_word |
|
1 |
4 |
29 |
3 |
| store_data_long |
|
1 |
4 |
29 |
3 |
| store_byte |
|
1 |
4 |
42 |
4 |
| store_word |
|
1 |
4 |
42 |
4 |
| store_long |
|
1 |
4 |
42 |
4 |
| decode_rm_byte_register |
|
9 |
23 |
113 |
2 |
| decode_rl_byte_register |
|
1 |
4 |
19 |
1 |
| decode_rh_byte_register |
|
1 |
4 |
19 |
1 |
| decode_rm_word_register |
|
9 |
23 |
113 |
2 |
| decode_rl_word_register |
|
1 |
4 |
19 |
1 |
| decode_rh_word_register |
|
1 |
4 |
19 |
1 |
| decode_rm_long_register |
|
9 |
23 |
113 |
2 |
| decode_rl_long_register |
|
1 |
4 |
19 |
1 |
| decode_rh_long_register |
|
1 |
4 |
19 |
1 |
| decode_rh_seg_register |
|
7 |
19 |
90 |
1 |
| decode_sib_address |
|
18 |
64 |
312 |
3 |
| decode_rl_address |
|
24 |
87 |
450 |
1 |
| decode_and_fetch_byte |
|
2 |
9 |
48 |
1 |
| decode_and_fetch_word_disp |
|
3 |
11 |
73 |
2 |
| decode_and_fetch_long_disp |
|
3 |
11 |
73 |
2 |
| decode_and_fetch_word |
|
1 |
4 |
17 |
1 |
| decode_and_fetch_long |
|
1 |
4 |
17 |
1 |
| decode_and_fetch_byte_imm8 |
|
2 |
11 |
68 |
2 |
| decode_and_fetch_word_imm8 |
|
2 |
11 |
68 |
2 |
| decode_and_fetch_long_imm8 |
|
2 |
11 |
68 |
2 |
| write_back_byte |
|
2 |
7 |
40 |
2 |
| write_back_word |
|
2 |
7 |
40 |
2 |
| write_back_long |
|
2 |
7 |
40 |
2 |
| common_inc_word_long |
|
2 |
7 |
59 |
2 |
| common_dec_word_long |
|
2 |
7 |
59 |
2 |
| common_binop_byte_rm_r |
|
2 |
18 |
124 |
2 |
| common_binop_ns_byte_rm_r |
|
2 |
15 |
94 |
2 |
| common_binop_word_rm_r |
|
2 |
17 |
123 |
2 |
| common_binop_byte_r_rm |
|
2 |
15 |
98 |
2 |
| common_binop_long_rm_r |
|
2 |
17 |
123 |
2 |
| common_binop_word_long_rm_r |
|
2 |
9 |
64 |
3 |
| common_binop_ns_word_rm_r |
|
2 |
15 |
94 |
2 |
| common_binop_ns_long_rm_r |
|
2 |
15 |
94 |
2 |
| common_binop_ns_word_long_rm_r |
|
2 |
9 |
64 |
3 |
| common_binop_long_r_rm |
|
2 |
15 |
98 |
2 |
| common_binop_word_r_rm |
|
2 |
15 |
98 |
2 |
| common_binop_word_long_r_rm |
|
2 |
9 |
64 |
3 |
| common_binop_byte_imm |
|
1 |
7 |
56 |
2 |
| common_binop_word_long_imm |
|
2 |
14 |
118 |
3 |
| common_push_word_long |
|
2 |
7 |
47 |
2 |
| common_pop_word_long |
|
2 |
7 |
47 |
2 |
| common_imul_long_IMM |
|
4 |
28 |
146 |
2 |
| common_imul_word_IMM |
|
4 |
28 |
146 |
2 |
| common_imul_imm |
|
2 |
7 |
37 |
2 |
| common_jmp_near |
|
2 |
9 |
58 |
2 |
| common_load_far_pointer |
|
2 |
12 |
74 |
2 |
| x86emuOp_cmp_byte_R_RM |
|
1 |
8 |
44 |
1 |
| x86emuOp32_cmp_word_R_RM |
|
1 |
8 |
44 |
1 |
| x86emuOp16_cmp_word_R_RM |
|
1 |
8 |
44 |
1 |
| x86emuOp_cmp_word_R_RM |
|
2 |
7 |
30 |
1 |
| x86emuOp_cmp_byte_AL_IMM |
|
1 |
6 |
32 |
1 |
| x86emuOp32_cmp_word_AX_IMM |
|
1 |
6 |
32 |
1 |
| x86emuOp16_cmp_word_AX_IMM |
|
1 |
6 |
32 |
1 |
| x86emuOp_cmp_word_AX_IMM |
|
2 |
7 |
30 |
1 |
| x86emuOp_push_all |
|
2 |
24 |
210 |
1 |
| x86emuOp_pop_all |
|
2 |
22 |
194 |
1 |
| x86emuOp_push_word_IMM |
|
2 |
12 |
58 |
1 |
| x86emuOp_push_byte_IMM |
|
2 |
10 |
54 |
1 |
| x86emuOp_ins_word |
|
2 |
8 |
38 |
1 |
| x86emuOp_outs_word |
|
2 |
8 |
38 |
1 |
| x86emuOp_jump_near_L |
|
1 |
7 |
41 |
1 |
| x86emuOp_jump_near_NL |
|
1 |
7 |
41 |
1 |
| x86emuOp_jump_near_LE |
|
2 |
7 |
46 |
1 |
| x86emuOp_jump_near_NLE |
|
2 |
7 |
47 |
1 |
| x86emuOp_opc80_byte_RM_IMM |
|
2 |
10 |
67 |
1 |
| x86emuOp32_opc81_word_RM_IMM |
|
2 |
10 |
67 |
1 |
| x86emuOp16_opc81_word_RM_IMM |
|
2 |
10 |
67 |
1 |
| x86emuOp_opc81_word_RM_IMM |
|
2 |
7 |
30 |
1 |
| x86emuOp_opc82_byte_RM_IMM |
|
2 |
10 |
67 |
1 |
| x86emuOp32_opc83_word_RM_IMM |
|
2 |
10 |
70 |
1 |
| x86emuOp16_opc83_word_RM_IMM |
|
2 |
10 |
70 |
1 |
| x86emuOp_opc83_word_RM_IMM |
|
2 |
7 |
30 |
1 |
| x86emuOp_xchg_byte_RM_R |
|
1 |
11 |
57 |
1 |
| x86emuOp32_xchg_word_RM_R |
|
1 |
11 |
57 |
1 |
| x86emuOp16_xchg_word_RM_R |
|
1 |
11 |
57 |
1 |
| x86emuOp_xchg_word_RM_R |
|
2 |
7 |
30 |
1 |
| x86emuOp_mov_byte_RM_R |
|
2 |
14 |
74 |
1 |
| x86emuOp32_mov_word_RM_R |
|
2 |
14 |
72 |
1 |
| x86emuOp16_mov_word_RM_R |
|
2 |
14 |
72 |
1 |
| x86emuOp_mov_word_RM_R |
|
2 |
7 |
30 |
1 |
| x86emuOp_mov_byte_R_RM |
|
1 |
7 |
33 |
1 |
| x86emuOp_mov_word_R_RM |
|
2 |
14 |
72 |
1 |
| x86emuOp_mov_word_RM_SR |
|
2 |
14 |
72 |
1 |
| x86emuOp_lea_word_R_M |
|
3 |
17 |
90 |
1 |
| x86emuOp_mov_word_SR_RM |
|
1 |
7 |
33 |
1 |
| x86emuOp32_pop_RM |
|
2 |
14 |
74 |
1 |
| x86emuOp16_pop_RM |
|
2 |
14 |
74 |
1 |
| x86emuOp_pop_RM |
|
2 |
7 |
30 |
1 |
| x86emuOp_xchg_word_AX_CX |
|
2 |
13 |
86 |
1 |
| x86emuOp_xchg_word_AX_DX |
|
2 |
13 |
86 |
1 |
| x86emuOp_xchg_word_AX_BX |
|
2 |
13 |
86 |
1 |
| x86emuOp_xchg_word_AX_SP |
|
2 |
13 |
86 |
1 |
| x86emuOp_xchg_word_AX_BP |
|
2 |
13 |
86 |
1 |
| x86emuOp_xchg_word_AX_SI |
|
2 |
13 |
86 |
1 |
| x86emuOp_xchg_word_AX_DI |
|
2 |
13 |
86 |
1 |
| x86emuOp_cbw |
|
4 |
16 |
86 |
1 |
| x86emuOp_cwd |
|
4 |
16 |
86 |
1 |
| x86emuOp_call_far_IMM |
|
1 |
10 |
66 |
1 |
| x86emuOp_pushf_word |
|
2 |
10 |
58 |
1 |
| x86emuOp_popf_word |
|
2 |
8 |
46 |
1 |
| x86emuOp_sahf |
|
1 |
5 |
29 |
1 |
| x86emuOp_lahf |
|
1 |
5 |
36 |
1 |
| x86emuOp_mov_AL_M_IMM |
|
1 |
6 |
32 |
1 |
| x86emuOp_mov_AX_M_IMM |
|
2 |
10 |
60 |
1 |
| x86emuOp_mov_M_AL_IMM |
|
1 |
6 |
32 |
1 |
| x86emuOp_mov_M_AX_IMM |
|
2 |
10 |
60 |
1 |
| x86emuOp_movs_byte |
|
4 |
22 |
138 |
1 |
| x86emuOp_movs_word |
|
6 |
30 |
202 |
1 |
| x86emuOp_cmps_byte |
|
8 |
40 |
309 |
1 |
| x86emuOp_cmps_word |
|
13 |
69 |
527 |
1 |
| x86emuOp_test_AX_IMM |
|
2 |
8 |
56 |
1 |
| x86emuOp_stos_byte |
|
4 |
20 |
142 |
1 |
| x86emuOp_stos_word |
|
6 |
27 |
170 |
1 |
| x86emuOp_lods_byte |
|
4 |
19 |
130 |
1 |
| x86emuOp_lods_word |
|
6 |
25 |
158 |
1 |
| x86emuOp_scas_byte |
|
8 |
34 |
256 |
1 |
| x86emuOp_scas_word |
|
12 |
55 |
420 |
1 |
| x86emuOp_mov_word_AX_IMM |
|
2 |
7 |
42 |
1 |
| x86emuOp_mov_word_CX_IMM |
|
2 |
7 |
42 |
1 |
| x86emuOp_mov_word_DX_IMM |
|
2 |
7 |
42 |
1 |
| x86emuOp_mov_word_BX_IMM |
|
2 |
7 |
42 |
1 |
| x86emuOp_mov_word_SP_IMM |
|
2 |
7 |
42 |
1 |
| x86emuOp_mov_word_BP_IMM |
|
2 |
7 |
42 |
1 |
| x86emuOp_mov_word_SI_IMM |
|
2 |
7 |
42 |
1 |
| x86emuOp_mov_word_DI_IMM |
|
2 |
7 |
42 |
1 |
| x86emuOp_opcC0_byte_RM_MEM |
|
1 |
8 |
55 |
1 |
| x86emuOp_opcC1_word_RM_MEM |
|
2 |
18 |
110 |
1 |
| x86emuOp_ret_near_IMM |
|
1 |
7 |
38 |
1 |
| x86emuOp_mov_byte_RM_IMM |
|
3 |
18 |
92 |
1 |
| x86emuOp32_mov_word_RM_IMM |
|
3 |
17 |
91 |
1 |
| x86emuOp16_mov_word_RM_IMM |
|
3 |
17 |
91 |
1 |
| x86emuOp_mov_word_RM_IMM |
|
2 |
7 |
30 |
1 |
| x86emuOp_enter |
|
3 |
20 |
140 |
1 |
| x86emuOp_leave |
|
1 |
5 |
32 |
1 |
| x86emuOp_ret_far_IMM |
|
1 |
8 |
49 |
1 |
| x86emuOp_ret_far |
|
1 |
5 |
31 |
1 |
| x86emuOp_int3 |
|
1 |
4 |
16 |
1 |
| x86emuOp_int_IMM |
|
1 |
6 |
26 |
1 |
| x86emuOp_into |
|
2 |
5 |
23 |
1 |
| x86emuOp_iret |
|
1 |
6 |
42 |
1 |
| x86emuOp_opcD0_byte_RM_1 |
|
1 |
8 |
50 |
1 |
| x86emuOp_opcD1_word_RM_1 |
|
2 |
16 |
106 |
1 |
| x86emuOp_opcD2_byte_RM_CL |
|
1 |
9 |
54 |
1 |
| x86emuOp_opcD3_word_RM_CL |
|
2 |
18 |
114 |
1 |
| x86emuOp_aam |
|
2 |
9 |
49 |
1 |
| x86emuOp_aad |
|
2 |
9 |
49 |
1 |
| x86emuOp_xlat |
|
1 |
6 |
47 |
1 |
| x86emuOp_esc_coprocess_d8 |
|
1 |
3 |
9 |
1 |
| x86emuOp_esc_coprocess_d9 |
|
2 |
6 |
27 |
1 |
| x86emuOp_esc_coprocess_da |
|
2 |
6 |
27 |
1 |
| x86emuOp_esc_coprocess_db |
|
2 |
6 |
27 |
1 |
| x86emuOp_esc_coprocess_dc |
|
2 |
6 |
27 |
1 |
| x86emuOp_esc_coprocess_dd |
|
2 |
6 |
27 |
1 |
| x86emuOp_esc_coprocess_de |
|
2 |
6 |
27 |
1 |
| x86emuOp_esc_coprocess_df |
|
2 |
6 |
27 |
1 |
| x86emuOp_loopne |
|
3 |
9 |
65 |
1 |
| x86emuOp_loope |
|
3 |
9 |
64 |
1 |
| x86emuOp_loop |
|
2 |
9 |
59 |
1 |
| x86emuOp_jcxz |
|
2 |
9 |
58 |
1 |
| x86emuOp_in_byte_AL_IMM |
|
1 |
6 |
40 |
1 |
| x86emuOp_in_word_AX_IMM |
|
2 |
10 |
73 |
1 |
| x86emuOp_out_byte_IMM_AL |
|
1 |
6 |
40 |
1 |
| x86emuOp_out_word_IMM_AX |
|
2 |
10 |
73 |
1 |
| x86emuOp_call_near_IMM |
|
2 |
16 |
110 |
1 |
| x86emuOp_jump_near_IMM |
|
1 |
7 |
44 |
1 |
| x86emuOp_jump_far_IMM |
|
1 |
8 |
44 |
1 |
| x86emuOp_jump_byte_IMM |
|
1 |
8 |
48 |
1 |
| x86emuOp_in_byte_AL_DX |
|
1 |
4 |
31 |
1 |
| x86emuOp_in_word_AX_DX |
|
2 |
8 |
68 |
1 |
| x86emuOp_out_byte_DX_AL |
|
1 |
4 |
31 |
1 |
| x86emuOp_out_word_DX_AX |
|
2 |
8 |
68 |
1 |
| x86emuOp_lock |
|
1 |
3 |
9 |
1 |
| x86emuOp_cmc |
|
2 |
7 |
27 |
1 |
| x86emuOp_opcF6_byte_RM |
|
9 |
35 |
163 |
1 |
| x86emuOp32_opcF7_word_RM |
|
10 |
43 |
207 |
1 |
| x86emuOp16_opcF7_word_RM |
|
10 |
43 |
207 |
1 |
| x86emuOp_opcF7_word_RM |
|
2 |
7 |
30 |
1 |
| x86emuOp_opcFE_byte_RM |
|
6 |
32 |
163 |
1 |
| x86emuOp32_opcFF_word_RM |
|
8 |
35 |
175 |
1 |
| x86emuOp16_opcFF_word_RM |
|
8 |
36 |
176 |
1 |
| x86emuOp_opcFF_word_RM |
|
14 |
45 |
280 |
1 |
| x86emu_exec_one_byte |
|
260 |
768 |
3224 |
1 |
| common_jmp_long |
|
2 |
8 |
51 |
2 |
| common_set_byte |
|
3 |
14 |
75 |
2 |
| common_bitstring32 |
|
5 |
24 |
127 |
2 |
| common_bitstring16 |
|
5 |
24 |
127 |
2 |
| common_bitstring |
|
2 |
7 |
37 |
2 |
| common_bitsearch32 |
|
3 |
12 |
79 |
2 |
| common_bitsearch16 |
|
3 |
12 |
79 |
2 |
| common_bitsearch |
|
2 |
7 |
37 |
2 |
| common_shift32 |
|
3 |
18 |
110 |
3 |
| common_shift16 |
|
3 |
18 |
110 |
3 |
| common_shift |
|
2 |
7 |
44 |
3 |
| x86emuOp2_rdtsc |
|
1 |
5 |
34 |
1 |
| x86emuOp2_push_FS |
|
1 |
4 |
20 |
1 |
| x86emuOp2_pop_FS |
|
1 |
4 |
20 |
1 |
| hw_cpuid |
|
1 |
8 |
64 |
4 |
| x86emuOp2_cpuid |
|
6 |
23 |
160 |
1 |
| x86emuOp2_bt_R |
|
1 |
4 |
16 |
1 |
| x86emuOp2_shld_IMM |
|
1 |
4 |
18 |
1 |
| x86emuOp2_shld_CL |
|
1 |
4 |
18 |
1 |
| x86emuOp2_push_GS |
|
1 |
4 |
20 |
1 |
| x86emuOp2_pop_GS |
|
1 |
4 |
20 |
1 |
| x86emuOp2_bts_R |
|
1 |
4 |
16 |
1 |
| x86emuOp2_shrd_IMM |
|
1 |
4 |
18 |
1 |
| x86emuOp2_shrd_CL |
|
1 |
4 |
18 |
1 |
| x86emuOp2_32_imul_R_RM |
|
2 |
17 |
89 |
1 |
| x86emuOp2_16_imul_R_RM |
|
2 |
17 |
89 |
1 |
| x86emuOp2_imul_R_RM |
|
2 |
7 |
30 |
1 |
| x86emuOp2_lss_R_IMM |
|
1 |
4 |
21 |
1 |
| x86emuOp2_btr_R |
|
1 |
4 |
16 |
1 |
| x86emuOp2_lfs_R_IMM |
|
1 |
4 |
21 |
1 |
| x86emuOp2_lgs_R_IMM |
|
1 |
4 |
21 |
1 |
| x86emuOp2_32_movzx_byte_R_RM |
|
1 |
7 |
33 |
1 |
| x86emuOp2_16_movzx_byte_R_RM |
|
1 |
7 |
33 |
1 |
| x86emuOp2_movzx_byte_R_RM |
|
2 |
7 |
30 |
1 |
| x86emuOp2_movzx_word_R_RM |
|
1 |
7 |
33 |
1 |
| x86emuOp2_32_btX_I |
|
5 |
24 |
122 |
1 |
| x86emuOp2_16_btX_I |
|
5 |
24 |
122 |
1 |
| x86emuOp2_btX_I |
|
2 |
7 |
30 |
1 |
| x86emuOp2_btc_R |
|
1 |
4 |
16 |
1 |
| x86emuOp2_bsf |
|
1 |
4 |
17 |
1 |
| x86emuOp2_bsr |
|
1 |
4 |
17 |
1 |
| x86emuOp2_32_movsx_byte_R_RM |
|
1 |
7 |
39 |
1 |
| x86emuOp2_16_movsx_byte_R_RM |
|
1 |
7 |
39 |
1 |
| x86emuOp2_movsx_byte_R_RM |
|
2 |
7 |
30 |
1 |
| x86emuOp2_movsx_word_R_RM |
|
1 |
7 |
39 |
1 |
| x86emu_exec_two_byte |
|
66 |
192 |
897 |
1 |
| aaa_word |
|
3 |
18 |
103 |
2 |
| aas_word |
|
3 |
18 |
103 |
2 |
| aad_word |
|
1 |
15 |
114 |
2 |
| aam_word |
|
1 |
14 |
99 |
2 |
| adc_byte |
|
2 |
17 |
134 |
3 |
| adc_word |
|
2 |
17 |
134 |
3 |
| adc_long |
|
2 |
23 |
194 |
3 |
| add_byte |
|
1 |
14 |
118 |
3 |
| add_word |
|
1 |
14 |
118 |
3 |
| add_long |
|
1 |
18 |
158 |
3 |
| and_byte |
|
1 |
12 |
70 |
3 |
| and_word |
|
1 |
12 |
72 |
3 |
| and_long |
|
1 |
12 |
72 |
3 |
| cmp_byte |
|
1 |
15 |
118 |
3 |
| cmp_byte_no_return |
|
1 |
4 |
24 |
3 |
| cmp_word |
|
1 |
14 |
113 |
3 |
| cmp_word_no_return |
|
1 |
4 |
24 |
3 |
| cmp_long |
|
1 |
14 |
113 |
3 |
| cmp_long_no_return |
|
1 |
4 |
24 |
3 |
| daa_byte |
|
5 |
16 |
105 |
2 |
| das_byte |
|
5 |
15 |
93 |
2 |
| dec_byte |
|
1 |
13 |
104 |
2 |
| dec_word |
|
1 |
13 |
104 |
2 |
| dec_long |
|
1 |
13 |
101 |
2 |
| inc_byte |
|
1 |
13 |
106 |
2 |
| inc_word |
|
1 |
13 |
106 |
2 |
| inc_long |
|
1 |
13 |
103 |
2 |
| or_byte |
|
1 |
12 |
70 |
3 |
| or_word |
|
1 |
12 |
72 |
3 |
| or_long |
|
1 |
12 |
72 |
3 |
| neg_byte |
|
1 |
14 |
98 |
2 |
| neg_word |
|
1 |
14 |
100 |
2 |
| neg_long |
|
1 |
14 |
100 |
2 |
| rcl_byte |
|
4 |
18 |
157 |
3 |
| rcl_word |
|
4 |
18 |
157 |
3 |
| rcl_long |
|
4 |
18 |
153 |
3 |
| rcr_byte |
|
5 |
25 |
187 |
3 |
| rcr_word |
|
5 |
25 |
187 |
3 |
| rcr_long |
|
6 |
26 |
190 |
3 |
| rol_byte |
|
4 |
17 |
137 |
3 |
| rol_word |
|
4 |
17 |
137 |
3 |
| rol_long |
|
4 |
17 |
133 |
3 |
| ror_byte |
|
4 |
15 |
132 |
3 |
| ror_word |
|
4 |
15 |
132 |
3 |
| ror_long |
|
4 |
15 |
128 |
3 |
| shl_byte |
|
4 |
33 |
211 |
3 |
| shl_word |
|
4 |
33 |
211 |
3 |
| shl_long |
|
4 |
31 |
205 |
3 |
| shr_byte |
|
4 |
30 |
198 |
3 |
| shr_word |
|
4 |
30 |
182 |
3 |
| shr_long |
|
4 |
30 |
179 |
3 |
| sar_byte |
|
6 |
34 |
219 |
3 |
| sar_word |
|
6 |
34 |
219 |
3 |
| sar_long |
|
6 |
34 |
215 |
3 |
| shld_word |
|
4 |
31 |
224 |
4 |
| shld_long |
|
4 |
31 |
221 |
4 |
| shrd_word |
|
4 |
30 |
198 |
4 |
| shrd_long |
|
4 |
30 |
195 |
4 |
| sbb_byte |
|
2 |
17 |
132 |
3 |
| sbb_word |
|
2 |
17 |
132 |
3 |
| sbb_long |
|
2 |
17 |
129 |
3 |
| sub_byte |
|
1 |
14 |
116 |
3 |
| sub_word |
|
1 |
14 |
116 |
3 |
| sub_long |
|
1 |
14 |
113 |
3 |
| test_byte |
|
1 |
10 |
64 |
3 |
| test_word |
|
1 |
10 |
64 |
3 |
| test_long |
|
1 |
10 |
64 |
3 |
| xor_byte |
|
1 |
12 |
70 |
3 |
| xor_word |
|
1 |
12 |
72 |
3 |
| xor_long |
|
1 |
12 |
72 |
3 |
| imul_byte |
|
5 |
13 |
113 |
2 |
| imul_word |
|
5 |
14 |
127 |
2 |
| imul_long |
|
5 |
15 |
132 |
2 |
| mul_byte |
|
2 |
12 |
71 |
2 |
| mul_word |
|
2 |
13 |
85 |
2 |
| mul_long |
|
2 |
13 |
88 |
2 |
| idiv_byte |
|
4 |
17 |
109 |
2 |
| idiv_word |
|
4 |
21 |
153 |
2 |
| idiv_long |
|
4 |
22 |
154 |
2 |
| div_byte |
|
3 |
17 |
101 |
2 |
| div_word |
|
3 |
21 |
148 |
2 |
| div_long |
|
3 |
22 |
149 |
2 |
| ins |
|
14 |
55 |
410 |
2 |
| outs |
|
14 |
58 |
410 |
2 |
| push_word |
|
1 |
5 |
39 |
2 |
| push_long |
|
1 |
5 |
39 |
2 |
| pop_word |
|
1 |
7 |
42 |
1 |
| pop_long |
|
1 |
7 |
42 |
1 |
| Source file: ./sys/dev/usb/if_cdcereg.h |
| Source file: ./sys/dev/usb/if_otusreg.h |
| Source file: ./sys/dev/usb/if_udav.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| udav_match |
|
4 |
8 |
63 |
3 |
| udav_attach |
|
15 |
92 |
700 |
3 |
| udav_detach |
|
10 |
35 |
259 |
2 |
| udav_mem_read |
|
5 |
27 |
180 |
4 |
| udav_mem_write |
|
5 |
27 |
180 |
4 |
| udav_mem_write1 |
|
5 |
26 |
173 |
3 |
| udav_csr_read |
|
5 |
27 |
180 |
4 |
| udav_csr_write |
|
5 |
27 |
180 |
4 |
| udav_csr_read1 |
|
3 |
9 |
64 |
2 |
| udav_csr_write1 |
|
5 |
26 |
173 |
3 |
| udav_init |
|
7 |
41 |
285 |
1 |
| udav_reset |
|
6 |
20 |
128 |
1 |
| udav_iff |
|
6 |
31 |
239 |
1 |
| udav_openpipes |
|
8 |
50 |
309 |
1 |
| udav_newbuf |
|
4 |
28 |
184 |
3 |
| udav_rx_list_init |
|
6 |
26 |
173 |
1 |
| udav_tx_list_init |
|
5 |
25 |
161 |
1 |
| udav_start |
|
8 |
26 |
168 |
1 |
| udav_send |
|
4 |
36 |
278 |
3 |
| udav_txeof |
|
8 |
35 |
218 |
3 |
| udav_rxeof |
|
15 |
70 |
468 |
3 |
| udav_ioctl |
|
12 |
41 |
241 |
3 |
| udav_watchdog |
|
2 |
17 |
127 |
1 |
| udav_stop_task |
|
1 |
4 |
19 |
1 |
| udav_stop |
|
14 |
57 |
443 |
2 |
| udav_ifmedia_change |
|
5 |
18 |
127 |
1 |
| udav_ifmedia_status |
|
5 |
22 |
148 |
2 |
| udav_tick |
|
2 |
9 |
52 |
1 |
| udav_tick_task |
|
11 |
36 |
220 |
1 |
| udav_lock_mii |
|
1 |
7 |
39 |
1 |
| udav_unlock_mii |
|
2 |
8 |
51 |
1 |
| udav_miibus_readreg |
|
5 |
32 |
231 |
3 |
| udav_miibus_writereg |
|
5 |
30 |
204 |
4 |
| udav_miibus_statchg |
|
3 |
8 |
45 |
1 |
| Source file: ./sys/dev/usb/if_auereg.h |
| Source file: ./sys/dev/usb/if_umb.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| umb_val2descr |
|
3 |
11 |
63 |
2 |
| Source file: ./sys/dev/usb/uoak.h |
| Source file: ./sys/dev/usb/uftdi.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| uftdi_match |
|
7 |
13 |
95 |
3 |
| uftdi_attach |
|
15 |
76 |
521 |
3 |
| uftdi_detach |
|
2 |
10 |
65 |
2 |
| uftdi_open |
|
4 |
30 |
209 |
2 |
| uftdi_read |
|
5 |
23 |
173 |
4 |
| uftdi_write |
|
2 |
10 |
91 |
5 |
| uftdi_set |
|
6 |
30 |
188 |
4 |
| uftdi_param |
|
29 |
102 |
708 |
3 |
| uftdi_get_status |
|
3 |
10 |
67 |
4 |
| uftdi_break |
|
2 |
19 |
117 |
3 |
| uftdi_8u232am_getrate |
|
13 |
41 |
274 |
2 |
| uftdi_2232h_getrate |
|
5 |
23 |
172 |
2 |
| Source file: ./sys/dev/usb/if_cdce.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cdce_match |
|
7 |
18 |
113 |
3 |
| cdce_attach |
|
47 |
175 |
1172 |
3 |
| cdce_detach |
|
4 |
18 |
104 |
2 |
| cdce_start |
|
7 |
20 |
136 |
1 |
| cdce_encap |
|
3 |
25 |
189 |
3 |
| cdce_stop |
|
13 |
54 |
407 |
1 |
| cdce_ioctl |
|
9 |
33 |
173 |
3 |
| cdce_watchdog |
|
2 |
8 |
45 |
1 |
| cdce_init |
|
9 |
58 |
370 |
1 |
| cdce_newbuf |
|
4 |
27 |
169 |
3 |
| cdce_rx_list_init |
|
6 |
24 |
149 |
1 |
| cdce_tx_list_init |
|
5 |
23 |
137 |
1 |
| cdce_rxeof |
|
13 |
55 |
365 |
3 |
| cdce_txeof |
|
9 |
36 |
217 |
3 |
| cdce_intr |
|
9 |
38 |
231 |
3 |
| Source file: ./sys/dev/usb/if_cue.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cue_csr_read_1 |
|
3 |
22 |
146 |
2 |
| cue_csr_read_2 |
|
3 |
22 |
150 |
2 |
| cue_csr_write_1 |
|
3 |
23 |
168 |
3 |
| cue_csr_write_2 |
|
3 |
24 |
157 |
3 |
| cue_mem |
|
3 |
22 |
152 |
5 |
| cue_getmac |
|
2 |
18 |
115 |
2 |
| cue_setmulti |
|
7 |
36 |
284 |
1 |
| cue_reset |
|
3 |
17 |
118 |
1 |
| cue_match |
|
4 |
8 |
65 |
3 |
| cue_attach |
|
11 |
65 |
482 |
3 |
| cue_detach |
|
8 |
25 |
185 |
2 |
| cue_newbuf |
|
4 |
27 |
169 |
3 |
| cue_rx_list_init |
|
6 |
25 |
158 |
1 |
| cue_tx_list_init |
|
5 |
24 |
146 |
1 |
| cue_rxeof |
|
10 |
57 |
395 |
3 |
| cue_txeof |
|
7 |
32 |
201 |
3 |
| cue_tick |
|
3 |
10 |
63 |
1 |
| cue_tick_task |
|
3 |
14 |
102 |
1 |
| cue_send |
|
2 |
25 |
221 |
3 |
| cue_start |
|
7 |
23 |
157 |
1 |
| cue_init |
|
10 |
49 |
317 |
1 |
| cue_open_pipes |
|
4 |
29 |
195 |
1 |
| cue_ioctl |
|
15 |
44 |
265 |
3 |
| cue_watchdog |
|
3 |
19 |
140 |
1 |
| cue_stop |
|
13 |
61 |
490 |
1 |
| Source file: ./sys/dev/usb/if_upl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| upl_match |
|
4 |
8 |
65 |
3 |
| upl_attach |
|
13 |
64 |
450 |
3 |
| upl_detach |
|
7 |
19 |
136 |
2 |
| upl_newbuf |
|
4 |
27 |
179 |
3 |
| upl_rx_list_init |
|
6 |
26 |
175 |
1 |
| upl_tx_list_init |
|
5 |
25 |
163 |
1 |
| upl_rxeof |
|
10 |
49 |
347 |
3 |
| upl_txeof |
|
7 |
32 |
201 |
3 |
| upl_send |
|
2 |
24 |
173 |
3 |
| upl_start |
|
7 |
23 |
157 |
1 |
| upl_init |
|
6 |
29 |
168 |
1 |
| upl_openpipes |
|
6 |
38 |
261 |
1 |
| upl_intr |
|
9 |
31 |
193 |
3 |
| upl_ioctl |
|
12 |
41 |
224 |
3 |
| upl_watchdog |
|
3 |
13 |
89 |
1 |
| upl_stop |
|
13 |
58 |
468 |
1 |
| upl_output |
|
1 |
5 |
34 |
4 |
| Source file: ./sys/dev/usb/if_rumreg.h |
| Source file: ./sys/dev/usb/ukbdvar.h |
| Source file: ./sys/dev/usb/if_wi_usb.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wi_usb_match |
|
4 |
8 |
63 |
3 |
| wi_usb_attach |
|
12 |
57 |
381 |
3 |
| wi_usb_detach |
|
15 |
67 |
463 |
2 |
| wi_send_packet |
|
7 |
53 |
347 |
2 |
| wi_cmd_usb |
|
8 |
57 |
398 |
5 |
| wi_read_record_usb |
|
24 |
92 |
605 |
2 |
| wi_write_record_usb |
|
28 |
121 |
823 |
2 |
| wi_alloc_nicmem_usb |
|
3 |
20 |
126 |
3 |
| wi_write_data_usb |
|
4 |
16 |
134 |
5 |
| wi_read_data_usb |
|
11 |
26 |
227 |
5 |
| wi_usb_stop |
|
1 |
4 |
26 |
1 |
| wi_usb_do_transmit_sync |
|
5 |
27 |
160 |
3 |
| wi_usb_txeof |
|
7 |
30 |
166 |
3 |
| wi_usb_txeof_frm |
|
9 |
39 |
229 |
3 |
| wi_usb_rx_list_init |
|
6 |
24 |
151 |
1 |
| wi_usb_tx_list_init |
|
6 |
25 |
157 |
1 |
| wi_usb_open_pipes |
|
6 |
49 |
328 |
1 |
| wi_get_fid_usb |
|
3 |
11 |
35 |
2 |
| wi_dump_data |
|
3 |
11 |
71 |
2 |
| wi_usb_rxeof |
|
24 |
96 |
551 |
3 |
| wi_usb_intr |
|
7 |
19 |
113 |
3 |
| wi_usb_cmdresp |
|
2 |
24 |
178 |
1 |
| wi_usb_rridresp |
|
5 |
40 |
275 |
1 |
| wi_usb_wridresp |
|
1 |
12 |
92 |
1 |
| wi_usb_infofrm |
|
1 |
9 |
68 |
2 |
| wi_usb_txfrm |
|
3 |
22 |
146 |
3 |
| wi_usb_rxfrm |
|
1 |
11 |
73 |
3 |
| wi_usb_start_thread |
|
1 |
5 |
30 |
1 |
| wi_start_usb |
|
3 |
19 |
104 |
1 |
| wi_init_usb |
|
1 |
7 |
46 |
1 |
| wi_inquire_usb |
|
2 |
13 |
78 |
1 |
| wi_watchdog_usb |
|
2 |
15 |
87 |
1 |
| wi_ioctl_usb |
|
1 |
10 |
59 |
3 |
| wi_usb_thread |
|
8 |
52 |
344 |
1 |
| wi_usb_tx_lock_try |
|
2 |
13 |
67 |
1 |
| wi_usb_tx_lock |
|
3 |
18 |
111 |
1 |
| wi_usb_tx_unlock |
|
2 |
14 |
85 |
1 |
| wi_usb_ctl_lock |
|
4 |
25 |
138 |
1 |
| wi_usb_ctl_unlock |
|
3 |
15 |
96 |
1 |
| Source file: ./sys/dev/usb/uhcireg.h |
| Source file: ./sys/dev/usb/if_uath.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| uath_match |
|
4 |
8 |
61 |
3 |
| uath_attachhook |
|
3 |
21 |
134 |
1 |
| uath_attach |
|
16 |
118 |
799 |
3 |
| uath_detach |
|
5 |
28 |
169 |
2 |
| uath_open_pipes |
|
5 |
35 |
205 |
1 |
| uath_close_pipes |
|
5 |
19 |
101 |
1 |
| uath_alloc_tx_data_list |
|
4 |
25 |
141 |
1 |
| uath_free_tx_data_list |
|
3 |
9 |
63 |
1 |
| uath_alloc_rx_data_list |
|
6 |
39 |
236 |
1 |
| uath_free_rx_data_list |
|
4 |
15 |
86 |
1 |
| uath_alloc_tx_cmd_list |
|
4 |
25 |
141 |
1 |
| uath_free_tx_cmd_list |
|
3 |
9 |
63 |
1 |
| uath_alloc_rx_cmd_list |
|
4 |
25 |
141 |
1 |
| uath_free_rx_cmd_list |
|
3 |
9 |
63 |
1 |
| uath_media_change |
|
3 |
10 |
56 |
1 |
| uath_stat |
|
2 |
11 |
54 |
1 |
| uath_next_scan |
|
2 |
8 |
48 |
1 |
| uath_task |
|
11 |
97 |
693 |
1 |
| uath_newstate |
|
1 |
11 |
80 |
3 |
| uath_dump_cmd |
|
4 |
12 |
81 |
3 |
| uath_cmd |
|
11 |
50 |
387 |
6 |
| uath_cmd_write |
|
1 |
6 |
43 |
5 |
| uath_cmd_read |
|
1 |
6 |
47 |
6 |
| uath_write_reg |
|
2 |
15 |
99 |
3 |
| uath_write_multi |
|
3 |
16 |
116 |
4 |
| uath_read_reg |
|
2 |
15 |
95 |
3 |
| uath_read_eeprom |
|
3 |
16 |
113 |
3 |
| uath_cmd_rxeof |
|
9 |
45 |
286 |
3 |
| uath_data_rxeof |
|
13 |
96 |
711 |
3 |
| uath_tx_null |
|
2 |
19 |
188 |
1 |
| uath_data_txeof |
|
5 |
27 |
161 |
3 |
| uath_tx_data |
|
12 |
80 |
682 |
3 |
| uath_start |
|
18 |
44 |
282 |
1 |
| uath_watchdog |
|
3 |
14 |
74 |
1 |
| uath_ioctl |
|
8 |
28 |
150 |
3 |
| uath_query_eeprom |
|
3 |
20 |
111 |
1 |
| uath_reset |
|
7 |
27 |
189 |
1 |
| uath_reset_tx_queues |
|
3 |
13 |
81 |
1 |
| uath_wme_init |
|
3 |
31 |
262 |
1 |
| uath_set_chan |
|
1 |
13 |
107 |
2 |
| uath_set_key |
|
3 |
18 |
171 |
3 |
| uath_set_keys |
|
3 |
12 |
98 |
1 |
| uath_set_rates |
|
1 |
11 |
101 |
2 |
| uath_set_rxfilter |
|
1 |
9 |
64 |
3 |
| uath_set_led |
|
4 |
10 |
82 |
3 |
| uath_switch_channel |
|
5 |
26 |
161 |
2 |
| uath_init |
|
9 |
80 |
701 |
1 |
| uath_stop |
|
2 |
24 |
189 |
2 |
| uath_loadfirmware |
|
11 |
89 |
570 |
3 |
| Source file: ./sys/dev/usb/if_runvar.h |
| Source file: ./sys/dev/usb/usbdi.h |
| Source file: ./sys/dev/usb/if_rsureg.h |
| Source file: ./sys/dev/usb/utvfu.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| utvfu_set_regs |
|
3 |
20 |
142 |
3 |
| utvfu_max_frame_size |
|
3 |
9 |
56 |
1 |
| utvfu_configure_for_norm |
|
4 |
18 |
106 |
2 |
| utvfu_select_input |
|
4 |
31 |
188 |
2 |
| utvfu_select_norm |
|
4 |
46 |
342 |
2 |
| utvfu_setup_capture |
|
4 |
78 |
590 |
1 |
| utvfu_chunk_to_vbuf |
|
2 |
13 |
102 |
4 |
| utvfu_image_chunk |
|
10 |
49 |
332 |
2 |
| utvfu_start_capture |
|
5 |
19 |
117 |
1 |
| utvfu_querycap |
|
1 |
12 |
113 |
2 |
| utvfu_enum_input |
|
3 |
17 |
101 |
2 |
| utvfu_enum_fmt_vid_cap |
|
3 |
9 |
59 |
2 |
| utvfu_enum_fsizes |
|
2 |
10 |
74 |
2 |
| utvfu_g_fmt |
|
1 |
12 |
133 |
2 |
| utvfu_s_fmt |
|
2 |
6 |
35 |
2 |
| utvfu_g_std |
|
1 |
6 |
36 |
2 |
| utvfu_s_std |
|
3 |
8 |
51 |
2 |
| utvfu_g_input |
|
1 |
6 |
31 |
2 |
| utvfu_s_input |
|
1 |
4 |
19 |
2 |
| utvfu_audio_decode |
|
6 |
33 |
229 |
2 |
| utvfu_audio_start_chip |
|
1 |
25 |
181 |
1 |
| utvfu_audio_stop_chip |
|
1 |
10 |
63 |
1 |
| utvfu_match |
|
15 |
44 |
260 |
3 |
| utvfu_attach |
|
4 |
24 |
214 |
3 |
| utvfu_detach |
|
3 |
14 |
97 |
2 |
| utvfu_parse_desc |
|
11 |
39 |
242 |
1 |
| utvfu_open |
|
3 |
17 |
124 |
6 |
| utvfu_close |
|
1 |
7 |
39 |
1 |
| utvfu_as_open |
|
4 |
35 |
205 |
1 |
| utvfu_vs_open |
|
4 |
34 |
183 |
1 |
| utvfu_as_close |
|
2 |
11 |
85 |
1 |
| utvfu_vs_close |
|
2 |
10 |
68 |
1 |
| utvfu_read |
|
1 |
6 |
46 |
3 |
| utvfu_as_start_bulk |
|
4 |
15 |
100 |
1 |
| utvfu_as_bulk_thread |
|
3 |
37 |
224 |
1 |
| utvfu_vs_start_isoc |
|
2 |
6 |
40 |
1 |
| utvfu_vs_start_isoc_ixfer |
|
5 |
24 |
138 |
2 |
| utvfu_vs_cb |
|
6 |
30 |
216 |
3 |
| utvfu_find_queued |
|
4 |
11 |
72 |
1 |
| utvfu_mmap_queue |
|
4 |
21 |
199 |
3 |
| utvfu_mappage |
|
3 |
11 |
67 |
3 |
| utvfu_get_bufsize |
|
1 |
6 |
38 |
1 |
| utvfu_start_read |
|
3 |
12 |
60 |
1 |
| utvfu_audio_clear_client |
|
1 |
11 |
77 |
1 |
| utvfu_as_free |
|
1 |
6 |
33 |
1 |
| utvfu_vs_free |
|
1 |
7 |
38 |
1 |
| utvfu_as_init |
|
2 |
7 |
46 |
1 |
| utvfu_vs_init |
|
4 |
9 |
63 |
1 |
| utvfu_vs_alloc_frame |
|
2 |
16 |
108 |
1 |
| utvfu_vs_free_frame |
|
4 |
16 |
120 |
1 |
| utvfu_vs_alloc_isoc |
|
4 |
25 |
182 |
1 |
| utvfu_as_alloc_bulk |
|
3 |
20 |
108 |
1 |
| utvfu_vs_free_isoc |
|
3 |
11 |
85 |
1 |
| utvfu_as_free_bulk |
|
2 |
8 |
58 |
1 |
| utvfu_reqbufs |
|
8 |
48 |
424 |
2 |
| utvfu_querybuf |
|
4 |
13 |
103 |
2 |
| utvfu_qbuf |
|
4 |
14 |
115 |
2 |
| utvfu_dqbuf |
|
6 |
24 |
175 |
2 |
| utvfu_streamon |
|
2 |
10 |
49 |
2 |
| utvfu_streamoff |
|
1 |
5 |
21 |
2 |
| utvfu_queryctrl |
|
1 |
5 |
24 |
2 |
| utvfu_g_parm |
|
4 |
23 |
156 |
2 |
| utvfu_s_parm |
|
2 |
6 |
31 |
2 |
| utvfu_audio_open |
|
4 |
11 |
67 |
2 |
| utvfu_audio_close |
|
1 |
7 |
39 |
1 |
| utvfu_audio_set_params |
|
2 |
17 |
112 |
5 |
| utvfu_audio_halt_out |
|
1 |
4 |
13 |
1 |
| utvfu_audio_halt_in |
|
2 |
10 |
58 |
1 |
| utvfu_audio_mixer_set_port |
|
5 |
12 |
102 |
2 |
| utvfu_audio_mixer_get_port |
|
5 |
12 |
102 |
2 |
| utvfu_audio_query_devinfo |
|
3 |
19 |
208 |
2 |
| utvfu_audio_get_props |
|
1 |
4 |
13 |
1 |
| utvfu_audio_trigger_output |
|
1 |
5 |
43 |
7 |
| utvfu_audio_trigger_input |
|
2 |
19 |
167 |
7 |
| utvfu_audio_start |
|
5 |
14 |
92 |
1 |
| utvfu_audio_stop |
|
1 |
7 |
38 |
1 |
| Source file: ./sys/dev/usb/umass_scsi.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| umass_scsi_attach |
|
6 |
41 |
281 |
1 |
| umass_scsi_detach |
|
3 |
12 |
77 |
2 |
| umass_scsi_probe |
|
3 |
18 |
126 |
1 |
| umass_scsi_cmd |
|
10 |
67 |
432 |
1 |
| umass_scsi_minphys |
|
2 |
6 |
33 |
2 |
| umass_scsi_cb |
|
16 |
85 |
523 |
4 |
| umass_scsi_sense_cb |
|
9 |
39 |
199 |
4 |
| umass_io_get |
|
2 |
13 |
59 |
1 |
| umass_io_put |
|
1 |
8 |
39 |
2 |
| Source file: ./sys/dev/usb/uoakv.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| uoakv_match |
|
3 |
9 |
64 |
3 |
| uoakv_attach |
|
6 |
57 |
455 |
3 |
| uoakv_detach |
|
5 |
19 |
152 |
2 |
| uoakv_intr |
|
3 |
16 |
158 |
3 |
| uoakv_refresh |
|
4 |
15 |
113 |
1 |
| uoakv_get_channel_setting |
|
2 |
16 |
133 |
3 |
| uoakv_get_sensor_setting |
|
2 |
14 |
107 |
2 |
| uoakv_dev_setting |
|
2 |
8 |
62 |
2 |
| uoakv_dev_print |
|
3 |
13 |
111 |
2 |
| Source file: ./sys/dev/usb/uticom.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| uticom_match |
|
3 |
8 |
59 |
3 |
| uticom_attach |
|
1 |
9 |
67 |
3 |
| uticom_attach_hook |
|
29 |
184 |
1165 |
1 |
| uticom_detach |
|
3 |
17 |
112 |
2 |
| uticom_reset |
|
2 |
18 |
113 |
1 |
| uticom_set |
|
4 |
17 |
70 |
4 |
| uticom_dtr |
|
4 |
19 |
128 |
2 |
| uticom_rts |
|
4 |
19 |
128 |
2 |
| uticom_break |
|
3 |
16 |
110 |
2 |
| uticom_set_crtscts |
|
2 |
18 |
113 |
1 |
| uticom_param |
|
25 |
83 |
447 |
3 |
| uticom_open |
|
5 |
22 |
164 |
2 |
| uticom_close |
|
5 |
29 |
190 |
2 |
| uticom_intr |
|
15 |
43 |
291 |
3 |
| uticom_get_status |
|
4 |
10 |
61 |
4 |
| uticom_download_fw |
|
8 |
68 |
441 |
3 |
| Source file: ./sys/dev/usb/if_run.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| run_match |
|
4 |
8 |
63 |
3 |
| run_attach |
|
21 |
112 |
824 |
3 |
| run_detach |
|
5 |
24 |
169 |
2 |
| run_alloc_rx_ring |
|
6 |
25 |
161 |
1 |
| run_free_rx_ring |
|
4 |
15 |
103 |
1 |
| run_alloc_tx_ring |
|
7 |
32 |
228 |
2 |
| run_free_tx_ring |
|
4 |
15 |
109 |
2 |
| run_load_microcode |
|
12 |
57 |
370 |
1 |
| run_reset |
|
1 |
10 |
64 |
1 |
| run_read |
|
2 |
11 |
64 |
3 |
| run_read_region_1 |
|
1 |
10 |
74 |
4 |
| run_write_2 |
|
1 |
10 |
70 |
3 |
| run_write |
|
2 |
7 |
56 |
3 |
| run_write_region_1 |
|
4 |
16 |
140 |
4 |
| run_set_region_4 |
|
3 |
7 |
55 |
4 |
| run_efuse_read |
|
9 |
30 |
224 |
3 |
| run_efuse_read_2 |
|
9 |
30 |
215 |
3 |
| run_eeprom_read_2 |
|
2 |
18 |
107 |
3 |
| run_srom_read |
|
1 |
4 |
28 |
3 |
| run_rt2870_rf_write |
|
5 |
16 |
113 |
3 |
| run_rt3070_rf_read |
|
10 |
26 |
175 |
3 |
| run_rt3070_rf_write |
|
5 |
15 |
102 |
3 |
| run_bbp_read |
|
10 |
26 |
177 |
3 |
| run_bbp_write |
|
5 |
15 |
100 |
3 |
| run_mcu_cmd |
|
6 |
17 |
121 |
3 |
| b4inc |
|
4 |
14 |
76 |
2 |
| run_get_rf |
|
14 |
19 |
94 |
1 |
| run_rt3593_get_txpower |
|
12 |
47 |
488 |
1 |
| run_get_txpower |
|
22 |
53 |
585 |
1 |
| run_read_eeprom |
|
53 |
201 |
1788 |
1 |
| run_node_alloc |
|
1 |
4 |
25 |
1 |
| run_media_change |
|
6 |
24 |
152 |
1 |
| run_next_scan |
|
3 |
10 |
60 |
1 |
| run_task |
|
3 |
19 |
120 |
1 |
| run_do_async |
|
3 |
18 |
146 |
4 |
| run_newstate |
|
1 |
9 |
57 |
3 |
| run_newstate_cb |
|
14 |
63 |
384 |
2 |
| run_updateedca |
|
1 |
4 |
22 |
1 |
| run_updateedca_cb |
|
2 |
35 |
321 |
2 |
| run_set_key |
|
3 |
13 |
96 |
3 |
| run_set_key_cb |
|
13 |
72 |
543 |
2 |
| run_delete_key |
|
4 |
12 |
89 |
3 |
| run_delete_key_cb |
|
2 |
17 |
121 |
2 |
| run_calibrate_to |
|
1 |
4 |
19 |
1 |
| run_calibrate_cb |
|
3 |
26 |
222 |
2 |
| run_newassoc |
|
8 |
32 |
276 |
3 |
| run_maxrssi_chain |
|
5 |
12 |
81 |
2 |
| run_rx_frame |
|
30 |
123 |
862 |
3 |
| run_rxeof |
|
11 |
48 |
329 |
3 |
| run_txeof |
|
3 |
23 |
155 |
3 |
| run_tx |
|
22 |
104 |
827 |
3 |
| run_start |
|
14 |
39 |
244 |
1 |
| run_watchdog |
|
3 |
14 |
74 |
1 |
| run_ioctl |
|
13 |
46 |
267 |
3 |
| run_iq_calib |
|
17 |
72 |
461 |
2 |
| run_select_chan_group |
|
31 |
130 |
996 |
2 |
| run_rt2870_set_chan |
|
8 |
43 |
364 |
2 |
| run_rt3070_set_chan |
|
6 |
44 |
409 |
2 |
| run_rt3572_set_chan |
|
28 |
104 |
840 |
2 |
| run_rt3593_set_chan |
|
30 |
122 |
1028 |
2 |
| run_rt5390_set_chan |
|
23 |
89 |
610 |
2 |
| run_rt5592_set_chan |
|
15 |
95 |
806 |
2 |
| run_set_agc |
|
2 |
13 |
100 |
2 |
| run_set_rx_antenna |
|
4 |
24 |
159 |
2 |
| run_set_chan |
|
12 |
33 |
205 |
2 |
| run_enable_tsf_sync |
|
1 |
11 |
68 |
1 |
| run_enable_mrr |
|
1 |
17 |
113 |
1 |
| run_set_txpreamble |
|
2 |
10 |
50 |
1 |
| run_set_basicrates |
|
3 |
10 |
64 |
1 |
| run_set_leds |
|
1 |
5 |
32 |
2 |
| run_set_bssid |
|
1 |
7 |
70 |
2 |
| run_set_macaddr |
|
1 |
7 |
75 |
2 |
| run_updateslot |
|
1 |
4 |
22 |
1 |
| run_updateslot_cb |
|
2 |
9 |
55 |
2 |
| run_rssi2dbm |
|
4 |
18 |
131 |
3 |
| run_rt5390_bbp_init |
|
10 |
44 |
359 |
1 |
| run_bbp_init |
|
16 |
40 |
296 |
1 |
| run_rt3070_rf_init |
|
28 |
103 |
898 |
1 |
| run_rt3593_rf_init |
|
2 |
29 |
233 |
1 |
| run_rt5390_rf_init |
|
11 |
54 |
410 |
1 |
| run_rt3070_filter_calib |
|
8 |
43 |
287 |
4 |
| run_rt3070_rf_setup |
|
19 |
58 |
450 |
1 |
| run_rt3593_rf_setup |
|
5 |
51 |
450 |
1 |
| run_rt5390_rf_setup |
|
8 |
34 |
253 |
1 |
| run_txrx_enable |
|
7 |
34 |
218 |
1 |
| run_adjust_freq_offset |
|
2 |
10 |
75 |
1 |
| run_init |
|
53 |
186 |
1512 |
1 |
| run_stop |
|
10 |
50 |
364 |
2 |
| Source file: ./sys/dev/usb/usbhid.h |
| Source file: ./sys/dev/usb/if_upgtvar.h |
| Source file: ./sys/dev/usb/ukbdmap.c |
| Source file: ./sys/dev/usb/umass_scsi.h |
| Source file: ./sys/dev/usb/if_atureg.h |
| Source file: ./sys/dev/usb/if_aue.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| aue_csr_read_1 |
|
3 |
20 |
127 |
2 |
| aue_csr_read_2 |
|
3 |
20 |
128 |
2 |
| aue_csr_write_1 |
|
3 |
21 |
133 |
3 |
| aue_csr_write_2 |
|
3 |
21 |
136 |
3 |
| aue_eeprom_getword |
|
4 |
15 |
90 |
2 |
| aue_read_mac |
|
2 |
12 |
98 |
2 |
| aue_lock_mii |
|
1 |
5 |
22 |
1 |
| aue_unlock_mii |
|
2 |
6 |
34 |
1 |
| aue_miibus_readreg |
|
10 |
30 |
198 |
3 |
| aue_miibus_writereg |
|
8 |
25 |
165 |
4 |
| aue_miibus_statchg |
|
5 |
25 |
208 |
1 |
| aue_crc |
|
4 |
10 |
100 |
1 |
| aue_iff |
|
6 |
27 |
217 |
1 |
| aue_reset_pegasus_II |
|
4 |
9 |
58 |
1 |
| aue_reset |
|
9 |
28 |
185 |
1 |
| aue_match |
|
4 |
8 |
63 |
3 |
| aue_attach |
|
13 |
80 |
652 |
3 |
| aue_detach |
|
9 |
30 |
228 |
2 |
| aue_newbuf |
|
4 |
28 |
186 |
3 |
| aue_rx_list_init |
|
6 |
24 |
166 |
1 |
| aue_tx_list_init |
|
5 |
23 |
154 |
1 |
| aue_intr |
|
10 |
30 |
197 |
3 |
| aue_rxeof |
|
11 |
61 |
406 |
3 |
| aue_txeof |
|
7 |
32 |
201 |
3 |
| aue_tick |
|
3 |
10 |
63 |
1 |
| aue_tick_task |
|
7 |
26 |
167 |
1 |
| aue_send |
|
2 |
27 |
240 |
3 |
| aue_start |
|
8 |
26 |
170 |
1 |
| aue_init |
|
7 |
41 |
266 |
1 |
| aue_openpipes |
|
5 |
40 |
283 |
1 |
| aue_ifmedia_upd |
|
4 |
17 |
118 |
1 |
| aue_ifmedia_sts |
|
1 |
9 |
71 |
2 |
| aue_ioctl |
|
12 |
40 |
224 |
3 |
| aue_watchdog |
|
2 |
17 |
129 |
1 |
| aue_stop |
|
13 |
63 |
505 |
1 |
| Source file: ./sys/dev/usb/umass.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| umass_match |
|
15 |
35 |
168 |
3 |
| umass_attach |
|
62 |
258 |
1403 |
3 |
| umass_detach |
|
8 |
28 |
198 |
2 |
| umass_disco |
|
5 |
18 |
124 |
1 |
| umass_polled_transfer |
|
10 |
40 |
243 |
2 |
| umass_setup_transfer |
|
5 |
27 |
210 |
6 |
| umass_setup_ctrl_transfer |
|
5 |
27 |
191 |
6 |
| umass_adjust_transfer |
|
9 |
32 |
163 |
1 |
| umass_clear_endpoint_stall |
|
2 |
15 |
132 |
3 |
| umass_reset |
|
1 |
6 |
37 |
3 |
| umass_bbb_reset |
|
2 |
19 |
141 |
2 |
| umass_bbb_transfer |
|
8 |
61 |
480 |
10 |
| umass_bbb_state |
|
47 |
208 |
1341 |
3 |
| umass_cbi_adsc |
|
1 |
14 |
112 |
4 |
| umass_cbi_reset |
|
3 |
23 |
163 |
2 |
| umass_cbi_transfer |
|
6 |
38 |
305 |
10 |
| umass_cbi_state |
|
43 |
208 |
1252 |
3 |
| umass_bbb_get_max_lun |
|
2 |
26 |
163 |
1 |
| umass_bbb_dump_cbw |
|
4 |
17 |
157 |
2 |
| umass_bbb_dump_csw |
|
5 |
14 |
113 |
2 |
| umass_dump_buffer |
|
6 |
24 |
197 |
4 |
| Source file: ./sys/dev/usb/udsbr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| udsbr_match |
|
5 |
11 |
76 |
3 |
| udsbr_attach |
|
1 |
8 |
69 |
3 |
| udsbr_detach |
|
2 |
8 |
53 |
2 |
| udsbr_activate |
|
3 |
12 |
62 |
2 |
| udsbr_req |
|
2 |
19 |
123 |
4 |
| udsbr_start |
|
1 |
5 |
37 |
1 |
| udsbr_stop |
|
1 |
5 |
37 |
1 |
| udsbr_setfreq |
|
1 |
8 |
79 |
2 |
| udsbr_status |
|
1 |
4 |
23 |
1 |
| udsbr_get_info |
|
3 |
12 |
84 |
2 |
| udsbr_set_info |
|
3 |
13 |
85 |
2 |
| Source file: ./sys/dev/usb/utwitch.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| utwitch_match |
|
3 |
8 |
63 |
3 |
| utwitch_attach |
|
3 |
43 |
374 |
3 |
| utwitch_detach |
|
4 |
18 |
138 |
2 |
| utwitch_intr |
|
7 |
39 |
287 |
3 |
| utwitch_refresh |
|
2 |
11 |
62 |
1 |
| utwitch_set_mode |
|
2 |
14 |
113 |
2 |
| utwitch_read_value_request |
|
2 |
13 |
108 |
1 |
| utwitch_write_value_request |
|
2 |
17 |
138 |
2 |
| Source file: ./sys/dev/usb/if_zydreg.h |
| Source file: ./sys/dev/usb/uhid_rdesc.h |
| Source file: ./sys/dev/usb/ucom.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ucom_lock |
|
1 |
4 |
17 |
1 |
| ucom_unlock |
|
1 |
4 |
17 |
1 |
| ucom_match |
|
1 |
4 |
22 |
3 |
| ucom_attach |
|
2 |
27 |
201 |
3 |
| ucom_detach |
|
12 |
61 |
418 |
2 |
| ucom_shutdown |
|
2 |
9 |
59 |
1 |
| ucomopen |
|
6 |
20 |
141 |
4 |
| ucom_do_open |
|
33 |
170 |
1090 |
4 |
| ucomclose |
|
4 |
13 |
106 |
4 |
| ucom_do_close |
|
3 |
19 |
144 |
4 |
| ucomread |
|
4 |
14 |
108 |
3 |
| ucomwrite |
|
4 |
14 |
108 |
3 |
| ucomtty |
|
2 |
7 |
40 |
1 |
| ucomioctl |
|
4 |
12 |
99 |
5 |
| ucom_do_ioctl |
|
16 |
59 |
335 |
5 |
| tiocm_to_ucom |
|
10 |
25 |
169 |
3 |
| ucom_to_tiocm |
|
9 |
23 |
149 |
1 |
| ucom_break |
|
2 |
7 |
50 |
2 |
| ucom_dtr |
|
3 |
10 |
70 |
2 |
| ucom_rts |
|
2 |
7 |
50 |
2 |
| ucom_status_change |
|
3 |
18 |
141 |
1 |
| ucomparam |
|
14 |
35 |
258 |
2 |
| ucom_hwiflow |
|
4 |
17 |
114 |
1 |
| ucomstart |
|
14 |
55 |
370 |
1 |
| ucomstop |
|
4 |
13 |
81 |
2 |
| ucomwritecb |
|
6 |
34 |
236 |
3 |
| ucomstartread |
|
5 |
22 |
125 |
1 |
| ucomreadcb |
|
10 |
45 |
315 |
3 |
| ucom_cleanup |
|
7 |
31 |
179 |
1 |
| ucomprint |
|
3 |
9 |
53 |
2 |
| ucomsubmatch |
|
4 |
10 |
77 |
3 |
| Source file: ./sys/dev/usb/uslhcom.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| uslhcom_match |
|
3 |
9 |
61 |
3 |
| uslhcom_attach |
|
6 |
52 |
467 |
3 |
| uslhcom_detach |
|
3 |
12 |
81 |
2 |
| uslhcom_uart_endis |
|
1 |
9 |
50 |
2 |
| uslhcom_clear_fifo |
|
1 |
9 |
50 |
2 |
| uslhcom_get_version |
|
1 |
7 |
45 |
2 |
| uslhcom_get_uart_status |
|
1 |
7 |
45 |
2 |
| uslhcom_set_break |
|
2 |
15 |
73 |
2 |
| uslhcom_set_config |
|
1 |
7 |
45 |
2 |
| uslhcom_set_baud_rate |
|
1 |
7 |
60 |
2 |
| uslhcom_create_config |
|
11 |
39 |
197 |
2 |
| uslhcom_setup |
|
6 |
15 |
84 |
2 |
| uslhcom_get_status |
|
2 |
8 |
51 |
4 |
| uslhcom_set |
|
5 |
14 |
61 |
4 |
| uslhcom_param |
|
4 |
15 |
79 |
3 |
| uslhcom_open |
|
3 |
18 |
106 |
2 |
| uslhcom_close |
|
3 |
14 |
81 |
2 |
| uslhcom_read |
|
1 |
6 |
40 |
4 |
| uslhcom_write |
|
1 |
6 |
50 |
5 |
| uslhcom_intr |
|
2 |
14 |
98 |
3 |
| Source file: ./sys/dev/usb/uberry.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| uberry_match |
|
4 |
8 |
63 |
3 |
| uberry_attach |
|
5 |
26 |
169 |
3 |
| uberry_detach |
|
1 |
4 |
15 |
2 |
| uberry_pearlmode |
|
1 |
11 |
73 |
1 |
| uberry_charge |
|
1 |
17 |
128 |
1 |
| Source file: ./sys/dev/usb/mbim.h |
| Source file: ./sys/dev/usb/umcs.h |
| Source file: ./sys/dev/usb/ugen.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ugen_match |
|
2 |
8 |
43 |
3 |
| ugen_attach |
|
5 |
28 |
165 |
3 |
| ugen_set_config |
|
12 |
59 |
392 |
2 |
| ugenopen |
|
32 |
132 |
907 |
4 |
| ugenclose |
|
4 |
15 |
120 |
4 |
| ugen_do_close |
|
13 |
42 |
281 |
3 |
| ugen_do_read |
|
39 |
133 |
867 |
4 |
| ugenread |
|
2 |
12 |
83 |
3 |
| ugen_do_write |
|
21 |
81 |
485 |
4 |
| ugenwrite |
|
2 |
12 |
83 |
3 |
| ugen_detach |
|
11 |
32 |
258 |
2 |
| ugenintr |
|
5 |
27 |
184 |
3 |
| ugen_isoc_rintr |
|
9 |
42 |
352 |
3 |
| ugen_set_interface |
|
9 |
40 |
304 |
3 |
| ugen_get_alt_index |
|
2 |
9 |
52 |
2 |
| ugen_do_ioctl |
|
67 |
253 |
1551 |
6 |
| ugenioctl |
|
2 |
12 |
93 |
5 |
| ugenpoll |
|
13 |
48 |
271 |
3 |
| filt_ugenrdetach |
|
1 |
8 |
52 |
1 |
| filt_ugenread_intr |
|
1 |
6 |
44 |
2 |
| filt_ugenread_isoc |
|
3 |
12 |
92 |
2 |
| ugenkqfilter |
|
11 |
51 |
258 |
2 |
| Source file: ./sys/dev/usb/usb_subr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usbd_errstr |
|
2 |
10 |
50 |
1 |
| usbd_get_string_desc |
|
5 |
29 |
187 |
5 |
| usbd_get_string |
|
13 |
40 |
268 |
4 |
| usbd_trim_spaces |
|
5 |
13 |
67 |
1 |
| usbd_get_device_string |
|
3 |
14 |
81 |
2 |
| usbd_devinfo_vp |
|
21 |
56 |
356 |
6 |
| usbd_printBCD |
|
4 |
10 |
69 |
3 |
| usbd_devinfo |
|
2 |
27 |
237 |
4 |
| usb_delay_ms |
|
3 |
9 |
58 |
2 |
| usbd_delay_ms |
|
2 |
6 |
30 |
2 |
| usbd_port_disown_to_1_1 |
|
7 |
25 |
159 |
2 |
| usbd_reset_port |
|
8 |
26 |
177 |
2 |
| usbd_find_idesc |
|
8 |
28 |
177 |
3 |
| usbd_find_edesc |
|
10 |
29 |
186 |
4 |
| usbd_fill_iface_data |
|
5 |
31 |
227 |
3 |
| usbd_parse_idesc |
|
13 |
43 |
274 |
2 |
| usbd_free_iface_data |
|
2 |
6 |
42 |
2 |
| usbd_set_config |
|
1 |
10 |
67 |
2 |
| usbd_set_config_no |
|
5 |
16 |
110 |
3 |
| usbd_set_config_index |
|
28 |
134 |
855 |
3 |
| usbd_setup_pipe |
|
3 |
27 |
194 |
5 |
| usbd_set_address |
|
2 |
13 |
83 |
2 |
| usbd_getnewaddr |
|
3 |
8 |
47 |
1 |
| usbd_probe_and_attach |
|
21 |
123 |
849 |
4 |
| usbd_new_device |
|
36 |
170 |
1092 |
6 |
| usbd_reload_device_desc |
|
2 |
10 |
56 |
1 |
| usbd_print |
|
7 |
25 |
176 |
2 |
| usbd_fill_deviceinfo |
|
15 |
61 |
501 |
3 |
| usbd_get_cdesc |
|
8 |
33 |
222 |
3 |
| usb_free_device |
|
9 |
27 |
215 |
1 |
| usbd_detach |
|
4 |
12 |
84 |
2 |
| Source file: ./sys/dev/usb/ohci.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| OREAD1 |
|
1 |
5 |
31 |
2 |
| OREAD2 |
|
1 |
5 |
31 |
2 |
| OREAD4 |
|
1 |
5 |
31 |
2 |
| ohci_activate |
|
7 |
62 |
463 |
2 |
| ohci_detach |
|
2 |
11 |
70 |
2 |
| ohci_alloc_sed |
|
4 |
30 |
187 |
1 |
| ohci_free_sed |
|
1 |
8 |
42 |
2 |
| ohci_alloc_std |
|
4 |
32 |
200 |
1 |
| ohci_free_std |
|
1 |
9 |
49 |
2 |
| ohci_alloc_std_chain |
|
14 |
77 |
515 |
5 |
| ohci_free_std_chain |
|
2 |
9 |
50 |
3 |
| ohci_alloc_sitd |
|
5 |
33 |
214 |
1 |
| ohci_free_sitd |
|
3 |
15 |
84 |
2 |
| ohci_checkrev |
|
4 |
16 |
107 |
1 |
| ohci_handover |
|
6 |
24 |
165 |
1 |
| ohci_init |
|
31 |
158 |
1245 |
1 |
| ohci_allocx |
|
1 |
4 |
21 |
1 |
| ohci_freex |
|
1 |
4 |
21 |
2 |
| ohci_dumpregs |
|
1 |
37 |
257 |
1 |
| ohci_intr |
|
7 |
15 |
90 |
1 |
| ohci_intr1 |
|
18 |
79 |
487 |
1 |
| ohci_rhsc_able |
|
2 |
11 |
62 |
2 |
| ohci_rhsc_enable |
|
2 |
13 |
72 |
1 |
| ohci_add_done |
|
6 |
30 |
223 |
2 |
| ohci_softintr |
|
36 |
152 |
985 |
1 |
| ohci_device_ctrl_done |
|
3 |
7 |
38 |
1 |
| ohci_device_intr_done |
|
4 |
35 |
274 |
1 |
| ohci_device_bulk_done |
|
1 |
5 |
24 |
1 |
| ohci_rhsc |
|
4 |
23 |
173 |
2 |
| ohci_root_intr_done |
|
1 |
3 |
9 |
1 |
| ohci_root_ctrl_done |
|
1 |
3 |
9 |
1 |
| ohci_poll |
|
4 |
13 |
78 |
1 |
| ohci_device_request |
|
12 |
94 |
683 |
1 |
| ohci_add_ed |
|
1 |
9 |
71 |
2 |
| ohci_rem_ed |
|
4 |
11 |
78 |
2 |
| ohci_hash_add_td |
|
1 |
6 |
44 |
2 |
| ohci_hash_find_td |
|
3 |
11 |
71 |
2 |
| ohci_hash_add_itd |
|
1 |
8 |
62 |
2 |
| ohci_hash_rem_itd |
|
1 |
7 |
44 |
2 |
| ohci_hash_find_itd |
|
3 |
11 |
71 |
2 |
| ohci_timeout |
|
2 |
12 |
74 |
1 |
| ohci_timeout_task |
|
1 |
9 |
47 |
1 |
| ohci_dump_tds |
|
2 |
5 |
25 |
1 |
| ohci_dump_td |
|
1 |
16 |
128 |
1 |
| ohci_dump_itd |
|
2 |
18 |
151 |
1 |
| ohci_dump_itds |
|
2 |
5 |
25 |
1 |
| ohci_dump_ed |
|
1 |
18 |
159 |
1 |
| ohci_open |
|
20 |
101 |
594 |
1 |
| ohci_setaddr |
|
5 |
15 |
92 |
2 |
| ohci_close_pipe |
|
8 |
33 |
274 |
2 |
| ohci_abort_xfer |
|
11 |
66 |
467 |
2 |
| ohci_root_ctrl_transfer |
|
2 |
8 |
44 |
1 |
| ohci_root_ctrl_start |
|
80 |
291 |
1640 |
1 |
| ohci_root_ctrl_abort |
|
1 |
3 |
9 |
1 |
| ohci_root_ctrl_close |
|
1 |
4 |
16 |
1 |
| ohci_root_intr_transfer |
|
2 |
8 |
44 |
1 |
| ohci_root_intr_start |
|
2 |
8 |
49 |
1 |
| ohci_root_intr_abort |
|
1 |
10 |
56 |
1 |
| ohci_root_intr_close |
|
1 |
3 |
9 |
1 |
| ohci_device_ctrl_transfer |
|
2 |
8 |
44 |
1 |
| ohci_device_ctrl_start |
|
5 |
15 |
85 |
1 |
| ohci_device_ctrl_abort |
|
1 |
5 |
25 |
1 |
| ohci_device_ctrl_close |
|
1 |
8 |
66 |
1 |
| ohci_device_clear_toggle |
|
1 |
5 |
34 |
1 |
| ohci_device_bulk_transfer |
|
2 |
8 |
44 |
1 |
| ohci_device_bulk_start |
|
12 |
66 |
497 |
1 |
| ohci_device_bulk_abort |
|
1 |
5 |
25 |
1 |
| ohci_device_bulk_close |
|
1 |
8 |
66 |
1 |
| ohci_device_intr_transfer |
|
2 |
8 |
44 |
1 |
| ohci_device_intr_start |
|
11 |
54 |
412 |
1 |
| ohci_device_intr_abort |
|
2 |
5 |
34 |
1 |
| ohci_device_intr_close |
|
7 |
28 |
258 |
1 |
| ohci_device_setintr |
|
7 |
43 |
338 |
3 |
| ohci_device_isoc_transfer |
|
4 |
12 |
71 |
1 |
| ohci_device_isoc_enter |
|
12 |
95 |
682 |
1 |
| ohci_device_isoc_start |
|
4 |
10 |
69 |
1 |
| ohci_device_isoc_abort |
|
7 |
36 |
235 |
1 |
| ohci_device_isoc_done |
|
1 |
4 |
20 |
1 |
| ohci_setup_isoc |
|
1 |
13 |
92 |
1 |
| ohci_device_isoc_close |
|
2 |
9 |
76 |
1 |
| Source file: ./sys/dev/usb/udl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| udl_match |
|
4 |
9 |
68 |
3 |
| udl_attach |
|
14 |
68 |
477 |
3 |
| udl_attach_hook |
|
4 |
26 |
153 |
1 |
| udl_detach |
|
3 |
15 |
90 |
2 |
| udl_activate |
|
2 |
12 |
59 |
2 |
| udl_ioctl |
|
14 |
62 |
370 |
5 |
| udl_mmap |
|
3 |
17 |
109 |
3 |
| udl_alloc_screen |
|
4 |
55 |
506 |
6 |
| udl_free_screen |
|
2 |
9 |
61 |
2 |
| udl_show_screen |
|
1 |
8 |
61 |
5 |
| udl_load_font |
|
1 |
6 |
44 |
3 |
| udl_list_font |
|
1 |
6 |
38 |
2 |
| udl_burner |
|
3 |
12 |
83 |
3 |
| udl_copycols |
|
4 |
35 |
294 |
5 |
| udl_copyrows |
|
4 |
33 |
271 |
4 |
| udl_erasecols |
|
3 |
31 |
263 |
5 |
| udl_eraserows |
|
3 |
30 |
248 |
4 |
| udl_putchar |
|
4 |
30 |
252 |
5 |
| udl_do_cursor |
|
8 |
45 |
345 |
1 |
| udl_draw_char |
|
6 |
36 |
264 |
6 |
| udl_damage |
|
3 |
22 |
123 |
6 |
| udl_draw_image |
|
6 |
34 |
221 |
6 |
| udl_ctrl_msg |
|
2 |
17 |
122 |
7 |
| udl_poll |
|
2 |
13 |
86 |
2 |
| udl_read_1 |
|
2 |
13 |
89 |
3 |
| udl_write_1 |
|
2 |
11 |
73 |
3 |
| udl_read_edid |
|
4 |
28 |
204 |
2 |
| udl_lookup_mode |
|
11 |
25 |
161 |
5 |
| udl_select_chip |
|
15 |
51 |
384 |
1 |
| udl_set_enc_key |
|
2 |
11 |
73 |
3 |
| udl_set_decomp_table |
|
2 |
13 |
79 |
3 |
| udl_load_huffman |
|
3 |
16 |
93 |
1 |
| udl_free_huffman |
|
2 |
9 |
56 |
1 |
| udl_fbmem_alloc |
|
3 |
13 |
89 |
1 |
| udl_fbmem_free |
|
2 |
8 |
44 |
1 |
| udl_cmd_alloc_xfer |
|
4 |
21 |
129 |
1 |
| udl_cmd_free_xfer |
|
3 |
11 |
63 |
1 |
| udl_cmd_alloc_buf |
|
2 |
13 |
78 |
1 |
| udl_cmd_free_buf |
|
2 |
9 |
52 |
1 |
| udl_cmd_insert_int_1 |
|
1 |
6 |
39 |
2 |
| udl_cmd_insert_int_2 |
|
1 |
8 |
54 |
2 |
| udl_cmd_insert_int_3 |
|
2 |
9 |
67 |
2 |
| udl_cmd_insert_int_4 |
|
1 |
8 |
54 |
2 |
| udl_cmd_insert_buf |
|
1 |
6 |
47 |
3 |
| udl_cmd_insert_buf_comp |
|
13 |
64 |
420 |
3 |
| udl_cmd_insert_head_comp |
|
3 |
19 |
120 |
2 |
| udl_cmd_insert_check |
|
4 |
19 |
99 |
2 |
| udl_cmd_set_xfer_type |
|
1 |
5 |
28 |
2 |
| udl_cmd_save_offset |
|
1 |
6 |
35 |
1 |
| udl_cmd_restore_offset |
|
1 |
6 |
35 |
1 |
| udl_cmd_write_reg_1 |
|
1 |
7 |
43 |
3 |
| udl_cmd_write_reg_3 |
|
1 |
6 |
69 |
3 |
| udl_cmd_send |
|
2 |
24 |
178 |
1 |
| udl_cmd_send_async |
|
7 |
38 |
266 |
1 |
| udl_cmd_send_async_cb |
|
5 |
20 |
136 |
3 |
| udl_init_chip |
|
11 |
49 |
348 |
1 |
| udl_init_fb_offsets |
|
1 |
10 |
75 |
5 |
| udl_init_resolution |
|
5 |
23 |
161 |
1 |
| udl_clear_screen |
|
3 |
13 |
80 |
1 |
| udl_select_mode |
|
9 |
56 |
454 |
1 |
| udl_fb_buf_write |
|
3 |
18 |
123 |
5 |
| udl_fb_block_write |
|
3 |
12 |
78 |
6 |
| udl_fb_line_write |
|
4 |
19 |
99 |
5 |
| udl_fb_off_write |
|
4 |
23 |
154 |
4 |
| udl_fb_block_copy |
|
3 |
12 |
84 |
7 |
| udl_fb_line_copy |
|
4 |
21 |
120 |
6 |
| udl_fb_off_copy |
|
3 |
17 |
106 |
4 |
| udl_fb_buf_write_comp |
|
7 |
36 |
233 |
5 |
| udl_fb_block_write_comp |
|
3 |
12 |
78 |
6 |
| udl_fb_line_write_comp |
|
4 |
19 |
99 |
5 |
| udl_fb_off_write_comp |
|
8 |
41 |
264 |
4 |
| udl_fb_block_copy_comp |
|
3 |
12 |
84 |
7 |
| udl_fb_line_copy_comp |
|
4 |
21 |
120 |
6 |
| udl_fb_off_copy_comp |
|
5 |
27 |
160 |
4 |
| udl_hexdump |
|
6 |
14 |
98 |
3 |
| udl_init_test |
|
3 |
21 |
133 |
1 |
| Source file: ./sys/dev/usb/ubsa.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ubsa_match |
|
3 |
8 |
59 |
3 |
| ubsa_attach |
|
15 |
94 |
624 |
3 |
| ubsa_detach |
|
3 |
17 |
113 |
2 |
| ubsa_request |
|
3 |
15 |
105 |
3 |
| ubsa_dtr |
|
3 |
8 |
50 |
2 |
| ubsa_rts |
|
3 |
8 |
50 |
2 |
| ubsa_break |
|
2 |
5 |
34 |
2 |
| ubsa_set |
|
4 |
18 |
72 |
4 |
| ubsa_baudrate |
|
14 |
34 |
144 |
2 |
| ubsa_parity |
|
3 |
10 |
56 |
2 |
| ubsa_databits |
|
5 |
17 |
97 |
2 |
| ubsa_stopbits |
|
2 |
7 |
45 |
2 |
| ubsa_flow |
|
3 |
11 |
70 |
3 |
| ubsa_param |
|
1 |
11 |
86 |
3 |
| ubsa_open |
|
5 |
27 |
141 |
2 |
| ubsa_close |
|
4 |
18 |
104 |
2 |
| ubsa_intr |
|
8 |
36 |
260 |
3 |
| ubsa_get_status |
|
3 |
9 |
59 |
4 |
| Source file: ./sys/dev/usb/if_umb.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| umb_match |
|
9 |
21 |
124 |
3 |
| umb_attach |
|
48 |
214 |
1458 |
3 |
| umb_detach |
|
7 |
33 |
218 |
2 |
| umb_ncm_setup |
|
10 |
32 |
279 |
1 |
| umb_alloc_xfers |
|
7 |
14 |
106 |
1 |
| umb_free_xfers |
|
3 |
14 |
71 |
1 |
| umb_alloc_bulkpipes |
|
4 |
16 |
100 |
1 |
| umb_close_bulkpipes |
|
3 |
15 |
81 |
1 |
| umb_ioctl |
|
19 |
65 |
456 |
3 |
| umb_output |
|
2 |
9 |
62 |
4 |
| umb_input |
|
6 |
34 |
188 |
3 |
| umb_align |
|
3 |
11 |
70 |
4 |
| umb_padding |
|
2 |
8 |
56 |
5 |
| umb_start |
|
13 |
43 |
311 |
1 |
| umb_watchdog |
|
2 |
10 |
53 |
1 |
| umb_statechg_timeout |
|
3 |
9 |
68 |
1 |
| umb_newstate |
|
8 |
15 |
128 |
3 |
| umb_state_task |
|
10 |
40 |
265 |
1 |
| umb_up |
|
14 |
64 |
329 |
1 |
| umb_down |
|
15 |
38 |
186 |
2 |
| umb_get_response_task |
|
3 |
14 |
78 |
1 |
| umb_decode_response |
|
14 |
65 |
337 |
3 |
| umb_handle_indicate_status_msg |
|
4 |
27 |
213 |
3 |
| umb_handle_opendone_msg |
|
4 |
20 |
139 |
3 |
| umb_handle_closedone_msg |
|
2 |
12 |
68 |
3 |
| umb_getinfobuf |
|
2 |
10 |
73 |
6 |
| umb_addstr |
|
4 |
15 |
122 |
7 |
| umb_decode_register_state |
|
6 |
29 |
251 |
3 |
| umb_decode_devices_caps |
|
2 |
17 |
175 |
3 |
| umb_decode_subscriber_status |
|
6 |
27 |
267 |
3 |
| umb_decode_radio_state |
|
7 |
22 |
172 |
3 |
| umb_decode_pin |
|
11 |
38 |
221 |
3 |
| umb_decode_packet_service |
|
14 |
54 |
338 |
3 |
| umb_decode_signal_state |
|
7 |
21 |
162 |
3 |
| umb_decode_connect_info |
|
11 |
38 |
271 |
3 |
| umb_decode_ip_configuration |
|
21 |
95 |
721 |
3 |
| umb_rx |
|
1 |
7 |
45 |
1 |
| umb_rxeof |
|
8 |
24 |
154 |
3 |
| umb_encap |
|
4 |
58 |
488 |
1 |
| umb_txeof |
|
6 |
22 |
139 |
3 |
| umb_decap |
|
23 |
129 |
759 |
2 |
| umb_send_encap_command |
|
4 |
22 |
150 |
3 |
| umb_get_encap_response |
|
2 |
17 |
117 |
3 |
| umb_ctrl_msg |
|
9 |
47 |
301 |
4 |
| umb_open |
|
1 |
8 |
54 |
1 |
| umb_close |
|
1 |
6 |
41 |
1 |
| umb_setpin |
|
17 |
33 |
268 |
7 |
| umb_setdataclass |
|
3 |
14 |
102 |
1 |
| umb_radio |
|
3 |
8 |
75 |
2 |
| umb_allocate_cid |
|
1 |
5 |
27 |
1 |
| umb_send_fcc_auth |
|
2 |
13 |
85 |
1 |
| umb_packet_service |
|
3 |
10 |
75 |
2 |
| umb_connect |
|
4 |
12 |
77 |
1 |
| umb_disconnect |
|
2 |
7 |
46 |
1 |
| umb_send_connect |
|
2 |
24 |
216 |
2 |
| umb_qry_ipconfig |
|
1 |
8 |
52 |
1 |
| umb_cmd |
|
1 |
4 |
37 |
5 |
| umb_cmd1 |
|
3 |
24 |
182 |
6 |
| umb_command_done |
|
12 |
57 |
369 |
3 |
| umb_decode_cid |
|
11 |
40 |
219 |
4 |
| umb_decode_qmi |
|
21 |
96 |
461 |
3 |
| umb_intr |
|
10 |
44 |
261 |
3 |
| umb_ntop |
|
4 |
20 |
116 |
1 |
| umb_uuid2str |
|
1 |
14 |
135 |
1 |
| umb_dump |
|
5 |
18 |
89 |
2 |
| Source file: ./sys/dev/usb/uwacom.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| uwacom_match |
|
3 |
14 |
107 |
3 |
| uwacom_attach |
|
1 |
39 |
358 |
3 |
| uwacom_detach |
|
1 |
6 |
42 |
2 |
| uwacom_intr |
|
9 |
27 |
236 |
3 |
| uwacom_enable |
|
3 |
11 |
67 |
1 |
| uwacom_disable |
|
1 |
7 |
38 |
1 |
| uwacom_ioctl |
|
3 |
15 |
105 |
5 |
| Source file: ./sys/dev/usb/if_rsu.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rsu_match |
|
4 |
8 |
67 |
3 |
| rsu_attach |
|
10 |
72 |
564 |
3 |
| rsu_detach |
|
3 |
20 |
127 |
2 |
| rsu_open_pipes |
|
6 |
26 |
173 |
1 |
| rsu_close_pipes |
|
3 |
10 |
62 |
1 |
| rsu_alloc_rx_list |
|
5 |
26 |
146 |
1 |
| rsu_free_rx_list |
|
3 |
9 |
63 |
1 |
| rsu_alloc_tx_list |
|
5 |
28 |
166 |
1 |
| rsu_free_tx_list |
|
3 |
9 |
63 |
1 |
| rsu_task |
|
2 |
17 |
109 |
1 |
| rsu_do_async |
|
2 |
16 |
135 |
4 |
| rsu_wait_async |
|
1 |
4 |
21 |
1 |
| rsu_write_region_1 |
|
1 |
11 |
76 |
4 |
| rsu_write_1 |
|
1 |
4 |
27 |
3 |
| rsu_write_2 |
|
1 |
5 |
38 |
3 |
| rsu_write_4 |
|
1 |
5 |
38 |
3 |
| rsu_read_region_1 |
|
1 |
11 |
76 |
4 |
| rsu_read_1 |
|
2 |
7 |
41 |
2 |
| rsu_read_2 |
|
2 |
7 |
48 |
2 |
| rsu_read_4 |
|
2 |
7 |
48 |
2 |
| rsu_fw_iocmd |
|
3 |
12 |
70 |
2 |
| rsu_efuse_read_1 |
|
3 |
18 |
114 |
2 |
| rsu_read_rom |
|
9 |
41 |
286 |
1 |
| rsu_fw_cmd |
|
1 |
31 |
283 |
4 |
| rsu_media_change |
|
3 |
13 |
67 |
1 |
| rsu_calib_to |
|
2 |
9 |
51 |
1 |
| rsu_calib_cb |
|
6 |
17 |
132 |
2 |
| rsu_newstate |
|
1 |
9 |
61 |
3 |
| rsu_newstate_cb |
|
11 |
55 |
320 |
2 |
| rsu_set_key |
|
2 |
12 |
86 |
3 |
| rsu_set_key_cb |
|
5 |
27 |
168 |
2 |
| rsu_delete_key |
|
3 |
11 |
75 |
3 |
| rsu_delete_key_cb |
|
1 |
9 |
73 |
2 |
| rsu_site_survey |
|
4 |
15 |
135 |
1 |
| rsu_join_bss |
|
12 |
63 |
609 |
2 |
| rsu_disconnect |
|
1 |
6 |
39 |
1 |
| rsu_event_survey |
|
7 |
52 |
412 |
3 |
| rsu_event_join_bss |
|
4 |
25 |
182 |
3 |
| rsu_rx_event |
|
15 |
44 |
274 |
4 |
| rsu_rx_multi_event |
|
6 |
23 |
170 |
3 |
| rsu_get_rssi |
|
2 |
18 |
136 |
3 |
| rsu_rx_frame |
|
26 |
95 |
714 |
3 |
| rsu_rx_multi_frame |
|
5 |
26 |
190 |
3 |
| rsu_rxeof |
|
7 |
36 |
251 |
3 |
| rsu_txeof |
|
4 |
23 |
146 |
3 |
| rsu_tx |
|
16 |
91 |
684 |
3 |
| rsu_send_mgmt |
|
1 |
5 |
28 |
5 |
| rsu_start |
|
13 |
33 |
215 |
1 |
| rsu_watchdog |
|
3 |
14 |
74 |
1 |
| rsu_ioctl |
|
9 |
35 |
192 |
3 |
| rsu_power_on_acut |
|
1 |
49 |
398 |
1 |
| rsu_power_on_bcut |
|
5 |
76 |
604 |
1 |
| rsu_power_off |
|
1 |
17 |
149 |
1 |
| rsu_fw_loadsection |
|
4 |
30 |
219 |
3 |
| rsu_load_firmware |
|
29 |
150 |
947 |
1 |
| rsu_init |
|
15 |
99 |
707 |
1 |
| rsu_stop |
|
2 |
21 |
139 |
1 |
| Source file: ./sys/dev/usb/uonerng.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| uonerng_match |
|
4 |
10 |
55 |
3 |
| uonerng_attach |
|
25 |
106 |
669 |
3 |
| uonerng_enable |
|
4 |
26 |
174 |
1 |
| uonerng_detach |
|
2 |
10 |
66 |
2 |
| uonerng_cleanup |
|
4 |
15 |
78 |
1 |
| uonerng_rts |
|
2 |
7 |
35 |
2 |
| uonerng_set_line_state |
|
3 |
13 |
91 |
1 |
| uonerng_task |
|
9 |
47 |
309 |
1 |
| uonerng_timeout |
|
1 |
5 |
27 |
1 |
| Source file: ./sys/dev/usb/uftdireg.h |
| Source file: ./sys/dev/usb/xhcivar.h |
| Source file: ./sys/dev/usb/usbdivar.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usbd_xfer_isread |
|
2 |
6 |
43 |
1 |
| Source file: ./sys/dev/usb/if_axereg.h |
| Source file: ./sys/dev/usb/utrh.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| utrh_match |
|
3 |
8 |
63 |
3 |
| utrh_attach |
|
4 |
46 |
409 |
3 |
| utrh_detach |
|
6 |
20 |
155 |
2 |
| utrh_intr |
|
2 |
8 |
51 |
3 |
| utrh_refresh |
|
4 |
30 |
311 |
1 |
| utrh_sht1x_temp |
|
1 |
4 |
15 |
1 |
| utrh_sht1x_rh |
|
1 |
7 |
67 |
2 |
| Source file: ./sys/dev/usb/if_rum.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rum_match |
|
4 |
8 |
63 |
3 |
| rum_attachhook |
|
3 |
18 |
111 |
1 |
| rum_attach |
|
20 |
118 |
886 |
3 |
| rum_detach |
|
7 |
33 |
209 |
2 |
| rum_alloc_tx_list |
|
4 |
28 |
162 |
1 |
| rum_free_tx_list |
|
3 |
12 |
69 |
1 |
| rum_alloc_rx_list |
|
6 |
39 |
228 |
1 |
| rum_free_rx_list |
|
4 |
15 |
86 |
1 |
| rum_media_change |
|
3 |
10 |
56 |
1 |
| rum_next_scan |
|
3 |
12 |
73 |
1 |
| rum_task |
|
15 |
52 |
308 |
1 |
| rum_newstate |
|
1 |
11 |
82 |
3 |
| rum_txeof |
|
5 |
27 |
170 |
3 |
| rum_rxeof |
|
11 |
84 |
607 |
3 |
| rum_rxrate |
|
14 |
25 |
129 |
1 |
| rum_ack_rate |
|
14 |
23 |
82 |
2 |
| rum_txtime |
|
4 |
15 |
100 |
3 |
| rum_plcp_signal |
|
13 |
18 |
90 |
1 |
| rum_setup_tx_desc |
|
7 |
36 |
256 |
6 |
| rum_tx_data |
|
28 |
132 |
1040 |
3 |
| rum_start |
|
18 |
44 |
284 |
1 |
| rum_watchdog |
|
3 |
14 |
74 |
1 |
| rum_ioctl |
|
13 |
46 |
261 |
3 |
| rum_eeprom_read |
|
2 |
15 |
102 |
4 |
| rum_read |
|
1 |
6 |
34 |
2 |
| rum_read_multi |
|
2 |
15 |
102 |
4 |
| rum_write |
|
1 |
5 |
36 |
3 |
| rum_write_multi |
|
3 |
18 |
132 |
4 |
| rum_bbp_write |
|
4 |
15 |
97 |
3 |
| rum_bbp_read |
|
6 |
23 |
148 |
2 |
| rum_rf_write |
|
4 |
18 |
129 |
3 |
| rum_select_antenna |
|
1 |
12 |
82 |
1 |
| rum_enable_mrr |
|
2 |
11 |
64 |
1 |
| rum_set_txpreamble |
|
2 |
9 |
48 |
1 |
| rum_set_basicrates |
|
3 |
11 |
70 |
1 |
| rum_select_band |
|
12 |
36 |
293 |
2 |
| rum_set_chan |
|
12 |
47 |
447 |
2 |
| rum_enable_tsf_sync |
|
3 |
16 |
107 |
1 |
| rum_update_slot |
|
2 |
12 |
76 |
1 |
| rum_set_bssid |
|
1 |
8 |
86 |
2 |
| rum_set_macaddr |
|
1 |
8 |
86 |
2 |
| rum_update_promisc |
|
3 |
12 |
80 |
1 |
| rum_get_rf |
|
5 |
10 |
42 |
1 |
| rum_read_eeprom |
|
11 |
49 |
501 |
1 |
| rum_bbp_init |
|
9 |
23 |
181 |
1 |
| rum_init |
|
18 |
98 |
672 |
1 |
| rum_stop |
|
4 |
31 |
201 |
2 |
| rum_load_microcode |
|
3 |
19 |
139 |
3 |
| rum_prepare_beacon |
|
3 |
21 |
146 |
1 |
| rum_newassoc |
|
1 |
4 |
23 |
3 |
| rum_amrr_start |
|
4 |
12 |
107 |
2 |
| rum_amrr_timeout |
|
2 |
16 |
112 |
1 |
| rum_amrr_update |
|
3 |
22 |
194 |
3 |
| Source file: ./sys/dev/usb/xhcireg.h |
| Source file: ./sys/dev/usb/uow.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| uow_match |
|
4 |
8 |
67 |
3 |
| uow_attach |
|
24 |
108 |
762 |
3 |
| uow_detach |
|
7 |
26 |
168 |
2 |
| uow_activate |
|
3 |
13 |
69 |
2 |
| uow_ow_reset |
|
2 |
7 |
40 |
1 |
| uow_ow_bit |
|
4 |
11 |
73 |
2 |
| uow_ow_read_byte |
|
3 |
10 |
64 |
1 |
| uow_ow_write_byte |
|
2 |
8 |
51 |
2 |
| uow_ow_read_block |
|
3 |
9 |
65 |
3 |
| uow_ow_write_block |
|
3 |
8 |
55 |
3 |
| uow_ow_matchrom |
|
4 |
13 |
90 |
2 |
| uow_ow_search |
|
5 |
17 |
151 |
4 |
| uow_cmd |
|
5 |
29 |
197 |
4 |
| uow_intr |
|
5 |
12 |
65 |
3 |
| uow_read |
|
3 |
21 |
142 |
3 |
| uow_write |
|
3 |
19 |
123 |
3 |
| uow_reset |
|
1 |
4 |
21 |
1 |
| Source file: ./sys/dev/usb/urng.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| urng_match |
|
3 |
9 |
62 |
3 |
| urng_attach |
|
11 |
68 |
458 |
3 |
| urng_detach |
|
4 |
16 |
105 |
2 |
| urng_task |
|
10 |
45 |
312 |
1 |
| urng_timeout |
|
1 |
5 |
27 |
1 |
| Source file: ./sys/dev/usb/if_upgt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| upgt_match |
|
5 |
11 |
92 |
3 |
| upgt_attach |
|
18 |
70 |
497 |
3 |
| upgt_attach_hook |
|
13 |
87 |
621 |
1 |
| upgt_detach |
|
6 |
32 |
218 |
2 |
| upgt_device_type |
|
2 |
12 |
66 |
3 |
| upgt_device_init |
|
2 |
16 |
120 |
1 |
| upgt_mem_init |
|
4 |
23 |
173 |
1 |
| upgt_mem_alloc |
|
3 |
11 |
80 |
1 |
| upgt_mem_free |
|
3 |
12 |
79 |
2 |
| upgt_fw_alloc |
|
3 |
15 |
94 |
1 |
| upgt_fw_free |
|
2 |
8 |
51 |
1 |
| upgt_fw_verify |
|
18 |
95 |
574 |
1 |
| upgt_fw_load |
|
11 |
73 |
583 |
1 |
| upgt_fw_copy |
|
5 |
25 |
124 |
3 |
| upgt_eeprom_read |
|
5 |
46 |
335 |
1 |
| upgt_eeprom_parse |
|
13 |
82 |
445 |
1 |
| upgt_eeprom_parse_hwrx |
|
1 |
8 |
54 |
2 |
| upgt_eeprom_parse_freq3 |
|
2 |
20 |
171 |
3 |
| upgt_eeprom_parse_freq4 |
|
3 |
28 |
255 |
3 |
| upgt_eeprom_parse_freq6 |
|
2 |
16 |
134 |
3 |
| upgt_ioctl |
|
12 |
45 |
253 |
3 |
| upgt_init |
|
2 |
19 |
153 |
1 |
| upgt_stop |
|
1 |
11 |
81 |
1 |
| upgt_media_change |
|
3 |
13 |
87 |
1 |
| upgt_newassoc |
|
1 |
4 |
23 |
3 |
| upgt_newstate |
|
1 |
10 |
76 |
3 |
| upgt_newstate_task |
|
7 |
42 |
250 |
1 |
| upgt_next_scan |
|
2 |
9 |
63 |
1 |
| upgt_start |
|
17 |
57 |
398 |
1 |
| upgt_watchdog |
|
2 |
9 |
54 |
1 |
| upgt_tx_task |
|
10 |
93 |
715 |
1 |
| upgt_tx_done |
|
4 |
32 |
231 |
2 |
| upgt_rx_cb |
|
13 |
57 |
406 |
3 |
| upgt_rx |
|
4 |
45 |
338 |
3 |
| upgt_setup_rates |
|
5 |
23 |
188 |
1 |
| upgt_rx_rate |
|
23 |
53 |
232 |
2 |
| upgt_set_macfilter |
|
5 |
67 |
520 |
2 |
| upgt_set_channel |
|
2 |
41 |
361 |
2 |
| upgt_set_led |
|
7 |
59 |
405 |
2 |
| upgt_set_led_blink |
|
1 |
6 |
29 |
1 |
| upgt_get_stats |
|
2 |
29 |
225 |
1 |
| upgt_alloc_tx |
|
4 |
23 |
142 |
1 |
| upgt_alloc_rx |
|
3 |
19 |
115 |
1 |
| upgt_alloc_cmd |
|
3 |
19 |
115 |
1 |
| upgt_free_tx |
|
3 |
12 |
69 |
1 |
| upgt_free_rx |
|
2 |
9 |
48 |
1 |
| upgt_free_cmd |
|
2 |
8 |
42 |
1 |
| upgt_bulk_xmit |
|
2 |
14 |
102 |
5 |
| upgt_hexdump |
|
5 |
12 |
87 |
2 |
| upgt_crc32_le |
|
1 |
7 |
38 |
2 |
| upgt_chksum_le |
|
2 |
10 |
74 |
2 |
| Source file: ./sys/dev/usb/if_mosreg.h |
| Source file: ./sys/dev/usb/uipaq.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| uipaq_match |
|
4 |
10 |
80 |
3 |
| uipaq_attach |
|
10 |
60 |
404 |
3 |
| uipaq_dtr |
|
8 |
23 |
157 |
2 |
| uipaq_rts |
|
8 |
21 |
157 |
2 |
| uipaq_break |
|
4 |
18 |
111 |
2 |
| uipaq_set |
|
4 |
19 |
85 |
4 |
| uipaq_detach |
|
2 |
11 |
72 |
2 |
| Source file: ./sys/dev/usb/if_urndisreg.h |
| Source file: ./sys/dev/usb/if_url.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| url_match |
|
4 |
8 |
63 |
3 |
| url_attach |
|
17 |
96 |
719 |
3 |
| url_detach |
|
9 |
34 |
248 |
2 |
| url_mem |
|
7 |
30 |
194 |
5 |
| url_csr_read_1 |
|
2 |
7 |
55 |
2 |
| url_csr_read_2 |
|
2 |
8 |
63 |
2 |
| url_csr_write_1 |
|
2 |
7 |
59 |
3 |
| url_csr_write_2 |
|
2 |
8 |
64 |
3 |
| url_csr_write_4 |
|
2 |
8 |
64 |
3 |
| url_init |
|
7 |
42 |
280 |
1 |
| url_reset |
|
4 |
14 |
88 |
1 |
| url_iff |
|
7 |
40 |
274 |
1 |
| url_openpipes |
|
8 |
50 |
309 |
1 |
| url_newbuf |
|
4 |
28 |
184 |
3 |
| url_rx_list_init |
|
6 |
26 |
173 |
1 |
| url_tx_list_init |
|
5 |
25 |
161 |
1 |
| url_start |
|
8 |
26 |
168 |
1 |
| url_send |
|
4 |
32 |
239 |
3 |
| url_txeof |
|
8 |
35 |
218 |
3 |
| url_rxeof |
|
16 |
72 |
508 |
3 |
| url_ioctl |
|
12 |
41 |
241 |
3 |
| url_watchdog |
|
2 |
17 |
127 |
1 |
| url_stop_task |
|
1 |
4 |
19 |
1 |
| url_stop |
|
14 |
57 |
443 |
2 |
| url_ifmedia_change |
|
4 |
16 |
114 |
1 |
| url_ifmedia_status |
|
3 |
16 |
110 |
2 |
| url_tick |
|
3 |
11 |
63 |
1 |
| url_tick_task |
|
8 |
29 |
173 |
1 |
| url_lock_mii |
|
1 |
7 |
39 |
1 |
| url_unlock_mii |
|
2 |
8 |
51 |
1 |
| url_int_miibus_readreg |
|
13 |
58 |
281 |
3 |
| url_int_miibus_writereg |
|
13 |
53 |
240 |
4 |
| url_miibus_statchg |
|
3 |
8 |
45 |
1 |
| url_ext_miibus_redreg |
|
6 |
28 |
199 |
3 |
| url_ext_miibus_writereg |
|
6 |
25 |
164 |
4 |
| Source file: ./sys/dev/usb/if_athn_usb.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| athn_usb_match |
|
4 |
8 |
65 |
3 |
| athn_usb_attach |
|
5 |
21 |
172 |
3 |
| athn_usb_detach |
|
2 |
14 |
82 |
2 |
| athn_usb_attachhook |
|
8 |
46 |
295 |
1 |
| athn_usb_open_pipes |
|
9 |
57 |
315 |
1 |
| athn_usb_close_pipes |
|
6 |
23 |
130 |
1 |
| athn_usb_alloc_rx_list |
|
5 |
26 |
146 |
1 |
| athn_usb_free_rx_list |
|
3 |
9 |
63 |
1 |
| athn_usb_alloc_tx_list |
|
5 |
28 |
166 |
1 |
| athn_usb_free_tx_list |
|
3 |
9 |
63 |
1 |
| athn_usb_alloc_tx_cmd |
|
3 |
18 |
106 |
1 |
| athn_usb_free_tx_cmd |
|
2 |
6 |
36 |
1 |
| athn_usb_task |
|
2 |
17 |
109 |
1 |
| athn_usb_do_async |
|
3 |
20 |
158 |
4 |
| athn_usb_wait_async |
|
1 |
4 |
21 |
1 |
| athn_usb_load_firmware |
|
9 |
60 |
391 |
1 |
| athn_usb_htc_msg |
|
1 |
19 |
170 |
4 |
| athn_usb_htc_setup |
|
15 |
63 |
463 |
1 |
| athn_usb_htc_connect_svc |
|
5 |
33 |
233 |
5 |
| athn_usb_wmi_xcmd |
|
8 |
52 |
372 |
5 |
| athn_usb_read_rom |
|
5 |
20 |
162 |
1 |
| athn_usb_read |
|
2 |
13 |
81 |
2 |
| athn_usb_write |
|
2 |
8 |
73 |
3 |
| athn_usb_write_barrier |
|
2 |
9 |
67 |
1 |
| athn_usb_media_change |
|
4 |
16 |
95 |
1 |
| athn_usb_next_scan |
|
3 |
15 |
90 |
1 |
| athn_usb_newstate |
|
1 |
10 |
61 |
3 |
| athn_usb_newstate_cb |
|
10 |
67 |
433 |
2 |
| athn_usb_newassoc |
|
3 |
9 |
59 |
3 |
| athn_usb_newassoc_cb |
|
3 |
11 |
82 |
2 |
| athn_usb_node_leave |
|
1 |
8 |
54 |
2 |
| athn_usb_node_leave_cb |
|
1 |
7 |
48 |
2 |
| athn_usb_ampdu_tx_start |
|
1 |
11 |
76 |
3 |
| athn_usb_ampdu_tx_start_cb |
|
1 |
11 |
79 |
2 |
| athn_usb_ampdu_tx_stop |
|
1 |
10 |
71 |
3 |
| athn_usb_ampdu_tx_stop_cb |
|
1 |
11 |
79 |
2 |
| athn_usb_create_node |
|
13 |
52 |
414 |
2 |
| athn_usb_rx_enable |
|
1 |
5 |
23 |
1 |
| athn_usb_switch_chan |
|
13 |
43 |
286 |
3 |
| athn_usb_updateedca |
|
1 |
5 |
29 |
1 |
| athn_usb_updateedca_cb |
|
1 |
7 |
37 |
2 |
| athn_usb_updateslot |
|
1 |
6 |
31 |
1 |
| athn_usb_updateslot_cb |
|
1 |
7 |
37 |
2 |
| athn_usb_set_key |
|
3 |
13 |
102 |
3 |
| athn_usb_set_key_cb |
|
2 |
11 |
76 |
2 |
| athn_usb_delete_key |
|
4 |
12 |
91 |
3 |
| athn_usb_delete_key_cb |
|
2 |
11 |
76 |
2 |
| athn_usb_bcneof |
|
2 |
9 |
54 |
3 |
| athn_usb_swba |
|
6 |
46 |
407 |
1 |
| athn_usb_rx_wmi_ctrl |
|
8 |
34 |
203 |
3 |
| athn_usb_intr |
|
20 |
73 |
438 |
3 |
| athn_usb_rx_radiotap |
|
17 |
48 |
378 |
3 |
| athn_usb_rx_frame |
|
12 |
57 |
437 |
2 |
| athn_usb_rxeof |
|
18 |
93 |
621 |
3 |
| athn_usb_txeof |
|
4 |
25 |
158 |
3 |
| athn_usb_tx |
|
13 |
95 |
800 |
3 |
| athn_usb_start |
|
14 |
40 |
258 |
1 |
| athn_usb_watchdog |
|
3 |
14 |
74 |
1 |
| athn_usb_ioctl |
|
13 |
49 |
285 |
3 |
| athn_usb_init |
|
25 |
124 |
865 |
1 |
| athn_usb_stop |
|
1 |
44 |
314 |
1 |
| Source file: ./sys/dev/usb/umassvar.h |
| Source file: ./sys/dev/usb/uark.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| uark_match |
|
3 |
8 |
57 |
3 |
| uark_attach |
|
10 |
52 |
366 |
3 |
| uark_detach |
|
2 |
10 |
61 |
2 |
| uark_set |
|
4 |
13 |
54 |
4 |
| uark_param |
|
21 |
53 |
282 |
3 |
| if |
|
1 |
2 |
15 |
1 |
| uark_get_status |
|
3 |
8 |
52 |
4 |
| uark_break |
|
4 |
10 |
61 |
3 |
| uark_cmd |
|
2 |
14 |
88 |
3 |
| Source file: ./sys/dev/usb/uowreg.h |
| Source file: ./sys/dev/usb/uhidev.h |
| Source file: ./sys/dev/usb/uhci.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| UREAD1 |
|
1 |
5 |
31 |
2 |
| UREAD2 |
|
1 |
5 |
31 |
2 |
| UREAD4 |
|
1 |
5 |
31 |
2 |
| uhci_find_prev_qh |
|
4 |
11 |
74 |
2 |
| uhci_globalreset |
|
1 |
6 |
33 |
1 |
| uhci_init |
|
15 |
107 |
875 |
1 |
| uhci_activate |
|
11 |
54 |
376 |
2 |
| uhci_detach |
|
3 |
10 |
61 |
2 |
| uhci_allocx |
|
3 |
8 |
47 |
1 |
| uhci_freex |
|
3 |
9 |
51 |
2 |
| uhci_dumpregs |
|
1 |
14 |
84 |
1 |
| uhci_dump_td |
|
1 |
26 |
236 |
1 |
| uhci_dump_qh |
|
1 |
6 |
46 |
1 |
| uhci_dump |
|
1 |
4 |
11 |
1 |
| uhci_dump_all |
|
1 |
6 |
32 |
1 |
| uhci_dump_qhs |
|
5 |
12 |
88 |
1 |
| uhci_dump_tds |
|
4 |
10 |
65 |
1 |
| uhci_dump_xfer |
|
6 |
34 |
168 |
1 |
| uhci_dump_xfers |
|
2 |
7 |
47 |
1 |
| exdump |
|
1 |
1 |
11 |
1 |
| uhci_poll_hub |
|
6 |
29 |
191 |
1 |
| uhci_root_ctrl_done |
|
1 |
3 |
9 |
1 |
| uhci_add_loop |
|
4 |
9 |
54 |
1 |
| uhci_rem_loop |
|
4 |
8 |
48 |
1 |
| uhci_add_hs_ctrl |
|
2 |
13 |
93 |
2 |
| uhci_remove_hs_ctrl |
|
4 |
17 |
124 |
2 |
| uhci_add_ls_ctrl |
|
1 |
12 |
88 |
2 |
| uhci_remove_ls_ctrl |
|
3 |
16 |
119 |
2 |
| uhci_add_bulk |
|
1 |
13 |
93 |
2 |
| uhci_remove_bulk |
|
3 |
17 |
124 |
2 |
| uhci_intr |
|
3 |
9 |
49 |
1 |
| uhci_intr1 |
|
16 |
55 |
316 |
1 |
| uhci_softintr |
|
4 |
19 |
131 |
1 |
| uhci_check_intr |
|
14 |
44 |
296 |
2 |
| uhci_idone |
|
19 |
92 |
560 |
1 |
| uhci_timeout |
|
2 |
12 |
74 |
1 |
| uhci_timeout_task |
|
1 |
9 |
47 |
1 |
| uhci_poll |
|
2 |
6 |
37 |
1 |
| uhci_reset |
|
4 |
11 |
72 |
1 |
| uhci_run |
|
5 |
28 |
179 |
2 |
| uhci_alloc_std |
|
4 |
29 |
185 |
1 |
| uhci_free_std |
|
3 |
13 |
79 |
2 |
| uhci_alloc_sqh |
|
4 |
29 |
181 |
1 |
| uhci_free_sqh |
|
1 |
5 |
28 |
2 |
| uhci_free_std_chain |
|
2 |
9 |
52 |
3 |
| uhci_alloc_std_chain |
|
14 |
67 |
512 |
5 |
| uhci_device_clear_toggle |
|
1 |
5 |
27 |
1 |
| uhci_device_bulk_transfer |
|
2 |
8 |
44 |
1 |
| uhci_device_bulk_start |
|
13 |
50 |
351 |
1 |
| uhci_device_bulk_abort |
|
1 |
5 |
23 |
1 |
| uhci_abort_xfer |
|
7 |
40 |
311 |
2 |
| uhci_device_bulk_close |
|
1 |
7 |
60 |
1 |
| uhci_device_ctrl_transfer |
|
2 |
8 |
44 |
1 |
| uhci_device_ctrl_start |
|
5 |
13 |
78 |
1 |
| uhci_device_intr_transfer |
|
2 |
8 |
44 |
1 |
| uhci_device_intr_start |
|
12 |
49 |
375 |
1 |
| uhci_device_ctrl_abort |
|
1 |
5 |
23 |
1 |
| uhci_device_ctrl_close |
|
1 |
3 |
9 |
1 |
| uhci_device_intr_abort |
|
2 |
5 |
34 |
1 |
| uhci_device_intr_close |
|
3 |
16 |
149 |
1 |
| uhci_device_request |
|
19 |
102 |
837 |
1 |
| uhci_device_isoc_transfer |
|
4 |
12 |
71 |
1 |
| uhci_device_isoc_enter |
|
11 |
52 |
384 |
1 |
| uhci_device_isoc_start |
|
9 |
30 |
208 |
1 |
| uhci_device_isoc_abort |
|
7 |
31 |
210 |
1 |
| uhci_device_isoc_close |
|
6 |
30 |
232 |
1 |
| uhci_setup_isoc |
|
6 |
44 |
349 |
1 |
| uhci_device_isoc_done |
|
5 |
14 |
86 |
1 |
| uhci_device_intr_done |
|
9 |
43 |
344 |
1 |
| uhci_device_ctrl_done |
|
6 |
18 |
161 |
1 |
| uhci_device_bulk_done |
|
2 |
14 |
120 |
1 |
| uhci_add_intr |
|
1 |
13 |
107 |
2 |
| uhci_remove_intr |
|
3 |
17 |
138 |
2 |
| uhci_device_setintr |
|
11 |
49 |
391 |
3 |
| uhci_open |
|
14 |
70 |
473 |
1 |
| uhci_portreset |
|
8 |
49 |
351 |
2 |
| uhci_root_ctrl_transfer |
|
2 |
8 |
44 |
1 |
| uhci_root_ctrl_start |
|
93 |
311 |
1663 |
1 |
| uhci_root_ctrl_abort |
|
1 |
3 |
9 |
1 |
| uhci_root_ctrl_close |
|
1 |
4 |
16 |
1 |
| uhci_root_intr_abort |
|
1 |
11 |
64 |
1 |
| uhci_root_intr_transfer |
|
2 |
8 |
44 |
1 |
| uhci_root_intr_start |
|
2 |
9 |
59 |
1 |
| uhci_root_intr_close |
|
1 |
3 |
9 |
1 |
| uhci_root_intr_done |
|
2 |
6 |
43 |
1 |
| Source file: ./sys/dev/usb/umsm.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| umsm_match |
|
16 |
35 |
216 |
3 |
| umsm_attach |
|
18 |
69 |
542 |
3 |
| umsm_detach |
|
3 |
17 |
111 |
2 |
| umsm_open |
|
5 |
26 |
132 |
2 |
| umsm_close |
|
4 |
17 |
97 |
2 |
| umsm_intr |
|
13 |
49 |
330 |
3 |
| umsm_get_status |
|
3 |
8 |
52 |
4 |
| umsm_set |
|
7 |
28 |
160 |
4 |
| umsm_huawei_changemode |
|
2 |
14 |
80 |
1 |
| umsm_truinstall_changemode |
|
2 |
14 |
80 |
1 |
| umsm_umass_changemode |
|
17 |
127 |
808 |
1 |
| Source file: ./sys/dev/usb/uoak_subr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| uoak_check_device_ready |
|
3 |
11 |
69 |
1 |
| uoak_set_cmd |
|
3 |
12 |
80 |
1 |
| uoak_get_cmd |
|
4 |
14 |
98 |
1 |
| uoak_get_device_name |
|
2 |
12 |
102 |
2 |
| uoak_get_report_mode |
|
2 |
11 |
88 |
2 |
| uoak_get_report_rate |
|
2 |
13 |
107 |
2 |
| uoak_get_sample_rate |
|
2 |
13 |
107 |
2 |
| uoak_set_sample_rate |
|
3 |
13 |
126 |
3 |
| uoak_led_status |
|
2 |
11 |
86 |
3 |
| uoak_led_ctrl |
|
1 |
9 |
77 |
3 |
| uoak_get_devinfo |
|
1 |
4 |
23 |
1 |
| uoak_get_setting |
|
2 |
9 |
76 |
2 |
| uoak_print_devinfo |
|
1 |
4 |
20 |
1 |
| uoak_print_setting |
|
5 |
22 |
111 |
2 |
| uoak_sensor_attach |
|
2 |
21 |
197 |
3 |
| uoak_sensor_detach |
|
2 |
8 |
58 |
2 |
| uoak_sensor_update |
|
5 |
16 |
109 |
2 |
| uoak_sensor_refresh |
|
2 |
12 |
95 |
3 |
| Source file: ./sys/dev/usb/if_urereg.h |
| Source file: ./sys/dev/usb/utvfu.h |
| Source file: ./sys/dev/usb/if_kuereg.h |
| Source file: ./sys/dev/usb/if_ure.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ure_ctl |
|
4 |
24 |
148 |
6 |
| ure_read_mem |
|
1 |
5 |
40 |
5 |
| ure_write_mem |
|
1 |
5 |
40 |
5 |
| ure_read_1 |
|
1 |
12 |
75 |
3 |
| ure_read_2 |
|
1 |
12 |
75 |
3 |
| ure_read_4 |
|
1 |
6 |
43 |
3 |
| ure_write_1 |
|
2 |
16 |
97 |
4 |
| ure_write_2 |
|
2 |
16 |
97 |
4 |
| ure_write_4 |
|
1 |
6 |
50 |
4 |
| ure_ocp_reg_read |
|
1 |
7 |
50 |
2 |
| ure_ocp_reg_write |
|
1 |
7 |
52 |
3 |
| ure_miibus_readreg |
|
3 |
13 |
83 |
3 |
| ure_miibus_writereg |
|
1 |
7 |
52 |
4 |
| ure_miibus_statchg |
|
7 |
25 |
138 |
1 |
| ure_ifmedia_upd |
|
3 |
17 |
86 |
1 |
| ure_ifmedia_sts |
|
1 |
8 |
54 |
2 |
| ure_iff |
|
7 |
40 |
290 |
1 |
| ure_reset |
|
4 |
13 |
82 |
1 |
| ure_init |
|
6 |
65 |
442 |
1 |
| ure_start |
|
7 |
22 |
137 |
1 |
| ure_tick |
|
3 |
9 |
46 |
1 |
| ure_stop |
|
11 |
50 |
400 |
1 |
| ure_rtl8152_init |
|
2 |
40 |
257 |
1 |
| ure_rtl8153_init |
|
16 |
122 |
853 |
1 |
| ure_disable_teredo |
|
1 |
10 |
68 |
1 |
| ure_init_fifo |
|
11 |
92 |
573 |
1 |
| ure_ioctl |
|
11 |
38 |
210 |
3 |
| ure_match |
|
4 |
8 |
63 |
3 |
| ure_attach |
|
17 |
107 |
726 |
3 |
| ure_detach |
|
7 |
28 |
213 |
2 |
| ure_tick_task |
|
4 |
17 |
95 |
1 |
| ure_lock_mii |
|
1 |
5 |
22 |
1 |
| ure_unlock_mii |
|
2 |
6 |
34 |
1 |
| ure_rxeof |
|
12 |
65 |
439 |
3 |
| ure_txeof |
|
7 |
34 |
199 |
3 |
| ure_tx_list_init |
|
5 |
25 |
142 |
1 |
| ure_rx_list_init |
|
5 |
25 |
142 |
1 |
| ure_encap |
|
2 |
29 |
212 |
3 |
| Source file: ./sys/dev/usb/umbg.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| umbg_match |
|
4 |
9 |
52 |
3 |
| umbg_attach |
|
14 |
90 |
653 |
3 |
| umbg_detach |
|
7 |
28 |
190 |
2 |
| umbg_intr |
|
1 |
5 |
27 |
1 |
| umbg_task |
|
9 |
42 |
324 |
1 |
| umbg_read |
|
5 |
32 |
208 |
5 |
| umbg_it_intr |
|
3 |
11 |
65 |
1 |
| Source file: ./sys/dev/usb/if_urndis.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| urndis_ctrl_msg |
|
1 |
11 |
83 |
7 |
| urndis_ctrl_send |
|
3 |
11 |
78 |
3 |
| urndis_ctrl_recv |
|
5 |
32 |
197 |
1 |
| urndis_ctrl_handle |
|
9 |
34 |
178 |
4 |
| urndis_ctrl_handle_init |
|
4 |
41 |
251 |
2 |
| urndis_ctrl_handle_query |
|
8 |
52 |
330 |
4 |
| urndis_ctrl_handle_reset |
|
4 |
30 |
160 |
2 |
| urndis_ctrl_handle_status |
|
4 |
24 |
109 |
2 |
| urndis_ctrl_init |
|
4 |
38 |
264 |
1 |
| urndis_ctrl_halt |
|
3 |
23 |
161 |
1 |
| urndis_ctrl_query |
|
5 |
46 |
328 |
6 |
| urndis_ctrl_set |
|
6 |
46 |
340 |
4 |
| urndis_ctrl_set_param |
|
6 |
46 |
291 |
5 |
| urndis_ctrl_reset |
|
4 |
31 |
212 |
1 |
| urndis_ctrl_keepalive |
|
5 |
35 |
237 |
1 |
| urndis_encap |
|
2 |
32 |
258 |
3 |
| urndis_decap |
|
9 |
95 |
564 |
3 |
| urndis_newbuf |
|
3 |
21 |
123 |
2 |
| urndis_rx_list_init |
|
6 |
24 |
147 |
1 |
| urndis_tx_list_init |
|
5 |
23 |
137 |
1 |
| urndis_ioctl |
|
9 |
33 |
173 |
3 |
| urndis_watchdog |
|
2 |
10 |
51 |
1 |
| urndis_init |
|
7 |
49 |
281 |
1 |
| urndis_stop |
|
11 |
46 |
355 |
1 |
| urndis_start |
|
7 |
22 |
140 |
1 |
| urndis_rxeof |
|
8 |
34 |
204 |
3 |
| urndis_txeof |
|
9 |
42 |
236 |
3 |
| urndis_lookup |
|
5 |
13 |
78 |
1 |
| urndis_match |
|
6 |
15 |
91 |
3 |
| urndis_attach |
|
21 |
117 |
749 |
3 |
| urndis_detach |
|
3 |
21 |
109 |
2 |
| Source file: ./sys/dev/usb/usb_mem.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usb_block_allocmem |
|
12 |
61 |
420 |
4 |
| usb_block_real_freemem |
|
3 |
12 |
86 |
1 |
| usb_block_freemem |
|
1 |
9 |
52 |
1 |
| usb_allocmem |
|
10 |
51 |
366 |
4 |
| usb_freemem |
|
2 |
15 |
104 |
2 |
| usb_syncmem |
|
1 |
5 |
43 |
4 |
| Source file: ./sys/dev/usb/usbdevs_data.h |
| Source file: ./sys/dev/usb/if_atu.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| atu_usb_request |
|
9 |
46 |
313 |
7 |
| atu_send_command |
|
1 |
5 |
34 |
3 |
| atu_get_cmd_status |
|
1 |
5 |
34 |
3 |
| atu_wait_completion |
|
10 |
29 |
182 |
3 |
| atu_send_mib |
|
5 |
34 |
222 |
5 |
| atu_get_mib |
|
1 |
6 |
43 |
5 |
| atu_start_ibss |
|
5 |
39 |
274 |
1 |
| atu_start_scan |
|
6 |
34 |
259 |
1 |
| atu_switch_radio |
|
7 |
25 |
149 |
2 |
| atu_initial_config |
|
18 |
94 |
653 |
1 |
| atu_join |
|
5 |
46 |
336 |
2 |
| atu_get_dfu_state |
|
2 |
7 |
37 |
1 |
| atu_get_opmode |
|
1 |
5 |
31 |
2 |
| atu_internal_firmware |
|
17 |
88 |
565 |
1 |
| atu_external_firmware |
|
9 |
53 |
345 |
1 |
| atu_get_card_config |
|
10 |
38 |
190 |
1 |
| atu_match |
|
6 |
15 |
105 |
3 |
| atu_media_change |
|
4 |
14 |
85 |
1 |
| atu_media_status |
|
2 |
6 |
45 |
2 |
| atu_task |
|
6 |
36 |
201 |
1 |
| atu_newstate |
|
5 |
28 |
182 |
3 |
| atu_attach |
|
12 |
57 |
363 |
3 |
| atu_complete_attach |
|
13 |
88 |
696 |
1 |
| atu_detach |
|
5 |
18 |
145 |
2 |
| atu_newbuf |
|
4 |
26 |
164 |
3 |
| atu_rx_list_init |
|
6 |
25 |
162 |
1 |
| atu_tx_list_init |
|
5 |
27 |
178 |
1 |
| atu_xfer_list_free |
|
5 |
17 |
119 |
3 |
| atu_rxeof |
|
17 |
104 |
697 |
3 |
| atu_txeof |
|
8 |
34 |
237 |
3 |
| atu_calculate_padding |
|
3 |
9 |
45 |
1 |
| atu_tx_start |
|
6 |
55 |
386 |
4 |
| atu_start |
|
17 |
90 |
568 |
1 |
| atu_init |
|
9 |
62 |
440 |
1 |
| atu_ioctl |
|
18 |
66 |
416 |
3 |
| atu_watchdog |
|
6 |
29 |
201 |
1 |
| atu_stop |
|
5 |
34 |
235 |
2 |
| Source file: ./sys/dev/usb/umidi_quirks.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| umidi_search_quirk |
|
10 |
22 |
183 |
3 |
| umidi_print_quirk |
|
4 |
12 |
72 |
1 |
| umidi_get_quirk_data_from_type |
|
4 |
10 |
54 |
2 |
| Source file: ./sys/dev/usb/if_smscreg.h |
| Source file: ./sys/dev/usb/uslhcomreg.h |
| Source file: ./sys/dev/usb/uoakrh.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| uoakrh_match |
|
3 |
9 |
64 |
3 |
| uoakrh_attach |
|
5 |
65 |
559 |
3 |
| uoakrh_detach |
|
4 |
19 |
152 |
2 |
| uoakrh_intr |
|
3 |
20 |
220 |
3 |
| uoakrh_refresh |
|
3 |
18 |
146 |
1 |
| uoakrh_get_sensor_setting |
|
2 |
15 |
119 |
2 |
| uoakrh_dev_setting |
|
1 |
5 |
34 |
2 |
| uoakrh_dev_print |
|
3 |
7 |
56 |
2 |
| Source file: ./sys/dev/usb/ohcireg.h |
| Source file: ./sys/dev/usb/uplcom.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| uplcom_match |
|
3 |
8 |
57 |
3 |
| uplcom_attach |
|
24 |
136 |
848 |
3 |
| uplcom_detach |
|
3 |
17 |
115 |
2 |
| uplcom_reset |
|
2 |
14 |
84 |
1 |
| uplcom_set_line_state |
|
5 |
17 |
123 |
1 |
| uplcom_set |
|
4 |
17 |
70 |
4 |
| uplcom_dtr |
|
3 |
8 |
53 |
2 |
| uplcom_rts |
|
3 |
8 |
53 |
2 |
| uplcom_break |
|
2 |
11 |
84 |
2 |
| uplcom_set_crtscts |
|
3 |
19 |
111 |
1 |
| uplcom_set_line_coding |
|
3 |
26 |
166 |
2 |
| uplcom_param |
|
13 |
47 |
273 |
3 |
| uplcom_open |
|
9 |
49 |
345 |
2 |
| uplcom_close |
|
4 |
17 |
104 |
2 |
| uplcom_intr |
|
8 |
32 |
205 |
3 |
| uplcom_get_status |
|
3 |
9 |
59 |
4 |
| Source file: ./sys/dev/usb/ulpt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ulpt_match |
|
8 |
17 |
113 |
3 |
| ulpt_load_firmware |
|
2 |
12 |
75 |
1 |
| ulpt_attach |
|
27 |
112 |
764 |
3 |
| ulpt_detach |
|
6 |
23 |
164 |
2 |
| ulpt_status |
|
2 |
17 |
103 |
1 |
| ulpt_reset |
|
2 |
14 |
99 |
1 |
| ulpt_input |
|
2 |
9 |
55 |
3 |
| ulptopen |
|
20 |
83 |
552 |
4 |
| ulpt_statusmsg |
|
4 |
14 |
103 |
2 |
| ulptclose |
|
6 |
27 |
165 |
4 |
| ulpt_do_write |
|
6 |
35 |
218 |
3 |
| ulptwrite |
|
4 |
13 |
95 |
3 |
| ulpt_ucode_loader_hp |
|
7 |
55 |
320 |
1 |
| ieee1284_print_id |
|
7 |
15 |
118 |
1 |
| Source file: ./sys/dev/usb/usb_quirks.h |
| Source file: ./sys/dev/usb/if_kuevar.h |
| Source file: ./sys/dev/usb/utpms.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| utpms_match |
|
7 |
17 |
126 |
3 |
| utpms_attach |
|
12 |
56 |
375 |
3 |
| utpms_detach |
|
2 |
8 |
53 |
2 |
| utpms_activate |
|
3 |
10 |
59 |
2 |
| utpms_enable |
|
3 |
13 |
91 |
1 |
| utpms_disable |
|
2 |
8 |
42 |
1 |
| utpms_ioctl |
|
2 |
9 |
52 |
5 |
| utpms_intr |
|
11 |
37 |
336 |
3 |
| reorder_sample |
|
7 |
26 |
260 |
3 |
| compute_delta |
|
12 |
49 |
367 |
5 |
| smooth_pos |
|
4 |
13 |
74 |
3 |
| detect_pos |
|
6 |
18 |
125 |
6 |
| Source file: ./sys/dev/usb/if_urtwn.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| urtwn_match |
|
4 |
8 |
65 |
3 |
| urtwn_attach |
|
5 |
59 |
555 |
3 |
| urtwn_detach |
|
3 |
18 |
123 |
2 |
| urtwn_open_pipes |
|
16 |
55 |
411 |
1 |
| urtwn_close_pipes |
|
4 |
14 |
84 |
1 |
| urtwn_alloc_rx_list |
|
5 |
26 |
146 |
1 |
| urtwn_free_rx_list |
|
3 |
9 |
63 |
1 |
| urtwn_alloc_tx_list |
|
5 |
28 |
166 |
1 |
| urtwn_free_tx_list |
|
3 |
9 |
63 |
1 |
| urtwn_task |
|
2 |
17 |
109 |
1 |
| urtwn_do_async |
|
2 |
16 |
135 |
4 |
| urtwn_wait_async |
|
1 |
8 |
41 |
1 |
| urtwn_write_region_1 |
|
1 |
11 |
76 |
4 |
| urtwn_write_1 |
|
1 |
5 |
33 |
3 |
| urtwn_write_2 |
|
1 |
6 |
44 |
3 |
| urtwn_write_4 |
|
1 |
6 |
44 |
3 |
| urtwn_read_region_1 |
|
1 |
11 |
76 |
4 |
| urtwn_read_1 |
|
2 |
8 |
47 |
2 |
| urtwn_read_2 |
|
2 |
8 |
54 |
2 |
| urtwn_read_4 |
|
2 |
8 |
54 |
2 |
| urtwn_llt_write |
|
3 |
15 |
92 |
3 |
| urtwn_calib_to |
|
2 |
9 |
51 |
1 |
| urtwn_calib_cb |
|
2 |
11 |
74 |
2 |
| urtwn_next_calib |
|
2 |
6 |
35 |
1 |
| urtwn_cancel_calib |
|
2 |
6 |
33 |
1 |
| urtwn_scan_to |
|
2 |
9 |
48 |
1 |
| urtwn_next_scan |
|
2 |
6 |
35 |
1 |
| urtwn_cancel_scan |
|
2 |
6 |
33 |
1 |
| urtwn_newstate |
|
1 |
11 |
82 |
3 |
| urtwn_newstate_cb |
|
1 |
6 |
45 |
2 |
| urtwn_updateslot |
|
1 |
7 |
50 |
1 |
| urtwn_updateslot_cb |
|
1 |
5 |
30 |
2 |
| urtwn_updateedca |
|
1 |
7 |
50 |
1 |
| urtwn_updateedca_cb |
|
1 |
5 |
30 |
2 |
| urtwn_set_key |
|
2 |
15 |
113 |
3 |
| urtwn_set_key_cb |
|
1 |
6 |
46 |
2 |
| urtwn_delete_key |
|
3 |
14 |
102 |
3 |
| urtwn_delete_key_cb |
|
1 |
6 |
46 |
2 |
| urtwn_rx_frame |
|
26 |
92 |
711 |
3 |
| urtwn_rxeof |
|
15 |
66 |
466 |
3 |
| urtwn_txeof |
|
4 |
24 |
150 |
3 |
| urtwn_tx |
|
28 |
144 |
1085 |
3 |
| urtwn_ioctl |
|
2 |
13 |
90 |
3 |
| urtwn_r92c_power_on |
|
11 |
67 |
380 |
1 |
| urtwn_r88e_power_on |
|
7 |
47 |
290 |
1 |
| urtwn_llt_init |
|
7 |
18 |
154 |
2 |
| urtwn_fw_loadpage |
|
5 |
25 |
142 |
4 |
| urtwn_load_firmware |
|
4 |
18 |
108 |
3 |
| urtwn_dma_init |
|
12 |
66 |
363 |
1 |
| urtwn_mac_init |
|
4 |
16 |
114 |
1 |
| urtwn_bb_init |
|
13 |
92 |
734 |
1 |
| urtwn_power_on |
|
2 |
7 |
41 |
1 |
| urtwn_alloc_buffers |
|
3 |
19 |
105 |
1 |
| urtwn_init |
|
5 |
19 |
147 |
1 |
| urtwn_stop |
|
3 |
12 |
71 |
1 |
| urtwn_is_oactive |
|
1 |
5 |
26 |
1 |
| Source file: ./sys/dev/usb/uhid.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| uhid_match |
|
2 |
7 |
42 |
3 |
| uhid_attach |
|
1 |
18 |
184 |
3 |
| uhid_detach |
|
5 |
21 |
143 |
2 |
| uhid_intr |
|
5 |
18 |
145 |
3 |
| uhidopen |
|
5 |
19 |
143 |
4 |
| uhidclose |
|
1 |
10 |
80 |
4 |
| uhid_do_read |
|
10 |
36 |
264 |
3 |
| uhidread |
|
2 |
11 |
75 |
3 |
| uhid_do_write |
|
5 |
20 |
129 |
3 |
| uhidwrite |
|
2 |
11 |
75 |
3 |
| uhid_do_ioctl |
|
10 |
27 |
141 |
5 |
| uhidioctl |
|
2 |
11 |
85 |
5 |
| uhidpoll |
|
5 |
20 |
135 |
3 |
| filt_uhidrdetach |
|
1 |
8 |
52 |
1 |
| filt_uhidread |
|
1 |
6 |
44 |
2 |
| uhidkqfilter |
|
4 |
26 |
145 |
2 |
| Source file: ./sys/dev/usb/uhidev.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| uhidev_match |
|
8 |
19 |
122 |
3 |
| uhidev_attach |
|
26 |
117 |
879 |
3 |
| uhidev_use_rdesc |
|
10 |
39 |
211 |
6 |
| uhidev_maxrepid |
|
3 |
13 |
80 |
2 |
| uhidevprint |
|
4 |
9 |
59 |
2 |
| uhidevsubmatch |
|
3 |
9 |
71 |
3 |
| uhidev_activate |
|
6 |
18 |
111 |
2 |
| uhidev_detach |
|
9 |
28 |
233 |
2 |
| uhidev_intr |
|
13 |
41 |
274 |
3 |
| uhidev_get_report_desc |
|
1 |
5 |
31 |
3 |
| uhidev_open |
|
13 |
83 |
509 |
1 |
| uhidev_close |
|
9 |
36 |
211 |
1 |
| uhidev_set_report |
|
4 |
23 |
160 |
5 |
| uhidev_set_report_async |
|
6 |
32 |
204 |
5 |
| uhidev_get_report |
|
5 |
26 |
175 |
5 |
| uhidev_get_report_async_cb |
|
5 |
21 |
154 |
3 |
| uhidev_get_report_async |
|
6 |
38 |
263 |
7 |
| uhidev_write |
|
6 |
21 |
147 |
3 |
| uhidev_ioctl |
|
13 |
61 |
303 |
5 |
| Source file: ./sys/dev/usb/usbdi.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usbd_is_dying |
|
2 |
4 |
22 |
1 |
| usbd_deactivate |
|
1 |
4 |
15 |
1 |
| usbd_ref_incr |
|
1 |
4 |
14 |
1 |
| usbd_ref_decr |
|
2 |
5 |
26 |
1 |
| usbd_ref_wait |
|
2 |
5 |
33 |
1 |
| usbd_get_devcnt |
|
1 |
4 |
16 |
1 |
| usbd_claim_iface |
|
1 |
4 |
23 |
2 |
| usbd_iface_claimed |
|
1 |
4 |
24 |
2 |
| usbd_dump_iface |
|
2 |
9 |
49 |
1 |
| usbd_dump_device |
|
2 |
10 |
71 |
1 |
| usbd_dump_endpoint |
|
3 |
10 |
54 |
1 |
| usbd_dump_queue |
|
1 |
8 |
41 |
1 |
| usbd_dump_pipe |
|
2 |
13 |
75 |
1 |
| usbd_open_pipe |
|
1 |
6 |
36 |
4 |
| usbd_open_pipe_ival |
|
7 |
27 |
184 |
5 |
| usbd_open_pipe_intr |
|
4 |
35 |
202 |
9 |
| usbd_close_pipe |
|
6 |
17 |
105 |
1 |
| usbd_transfer |
|
26 |
78 |
501 |
1 |
| usbd_alloc_buffer |
|
4 |
12 |
87 |
2 |
| usbd_free_buffer |
|
3 |
9 |
57 |
1 |
| usbd_alloc_xfer |
|
3 |
12 |
80 |
1 |
| usbd_free_xfer |
|
4 |
11 |
77 |
1 |
| usbd_setup_xfer |
|
1 |
16 |
100 |
8 |
| usbd_setup_default_xfer |
|
1 |
17 |
113 |
9 |
| usbd_setup_isoc_xfer |
|
2 |
20 |
128 |
7 |
| usbd_get_xfer_status |
|
5 |
12 |
77 |
5 |
| usbd_get_config_descriptor |
|
3 |
8 |
34 |
1 |
| usbd_get_interface_descriptor |
|
3 |
8 |
34 |
1 |
| usbd_get_device_descriptor |
|
1 |
4 |
17 |
1 |
| usbd_interface2endpoint_descriptor |
|
2 |
6 |
39 |
2 |
| usbd_abort_pipe |
|
6 |
22 |
131 |
1 |
| usbd_clear_endpoint_stall |
|
1 |
15 |
100 |
1 |
| usbd_clear_endpoint_stall_async |
|
2 |
18 |
116 |
1 |
| usbd_clear_endpoint_toggle |
|
2 |
5 |
28 |
1 |
| usbd_device2interface_handle |
|
3 |
10 |
61 |
3 |
| usbd_set_interface |
|
6 |
24 |
166 |
2 |
| usbd_get_no_alts |
|
5 |
15 |
97 |
2 |
| usbd_get_interface_altindex |
|
1 |
4 |
16 |
1 |
| usb_transfer_complete |
|
28 |
76 |
543 |
1 |
| usb_insert_transfer |
|
4 |
23 |
124 |
1 |
| usbd_start_next |
|
7 |
25 |
136 |
1 |
| usbd_do_request |
|
1 |
5 |
35 |
3 |
| usbd_do_request_flags |
|
10 |
53 |
353 |
6 |
| usbd_request_async_cb |
|
1 |
4 |
21 |
3 |
| usbd_request_async |
|
3 |
16 |
91 |
4 |
| usbd_get_quirks |
|
3 |
8 |
32 |
1 |
| usbd_dopoll |
|
1 |
4 |
22 |
1 |
| usbd_set_polling |
|
3 |
9 |
52 |
2 |
| usbd_get_endpoint_descriptor |
|
3 |
11 |
76 |
2 |
| usbd_ratecheck |
|
1 |
5 |
31 |
1 |
| usbd_match_device |
|
5 |
12 |
85 |
5 |
| usbd_desc_iter_init |
|
1 |
6 |
53 |
2 |
| usbd_desc_iter_next |
|
5 |
20 |
109 |
1 |
| usbd_str |
|
5 |
14 |
112 |
3 |
| Source file: ./sys/dev/usb/uscom.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| uscom_match |
|
3 |
8 |
57 |
3 |
| uscom_attach |
|
10 |
52 |
366 |
3 |
| uscom_detach |
|
2 |
10 |
61 |
2 |
| Source file: ./sys/dev/usb/umidivar.h |
| Source file: ./sys/dev/usb/ucomvar.h |
| Source file: ./sys/dev/usb/uvideo.h |
| Source file: ./sys/dev/usb/usbdi_util.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usbd_get_desc |
|
1 |
12 |
94 |
5 |
| usbd_get_device_status |
|
1 |
10 |
71 |
2 |
| usbd_get_hub_status |
|
1 |
10 |
71 |
2 |
| usbd_get_hub_descriptor |
|
1 |
12 |
86 |
3 |
| usbd_get_hub_ss_descriptor |
|
1 |
12 |
86 |
3 |
| usbd_get_port_status |
|
1 |
10 |
73 |
3 |
| usbd_clear_hub_feature |
|
1 |
10 |
67 |
2 |
| usbd_set_hub_feature |
|
1 |
10 |
67 |
2 |
| usbd_set_hub_depth |
|
1 |
10 |
65 |
2 |
| usbd_clear_port_feature |
|
1 |
10 |
70 |
3 |
| usbd_set_port_feature |
|
1 |
10 |
70 |
3 |
| usbd_set_idle |
|
1 |
11 |
88 |
4 |
| usbd_get_report_descriptor |
|
1 |
11 |
76 |
4 |
| usbd_get_hid_descriptor |
|
5 |
16 |
121 |
2 |
| usbd_get_config |
|
1 |
10 |
68 |
2 |
| usb_detach_wait |
|
2 |
7 |
55 |
1 |
| usb_detach_wakeup |
|
1 |
5 |
25 |
1 |
| Source file: ./sys/dev/usb/usbcdc.h |
| Source file: ./sys/dev/usb/if_uathvar.h |
| Source file: ./sys/dev/usb/umidi.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| umidi_match |
|
6 |
16 |
103 |
3 |
| umidi_attach |
|
7 |
44 |
279 |
3 |
| umidi_activate |
|
2 |
10 |
58 |
2 |
| umidi_detach |
|
1 |
10 |
60 |
2 |
| umidi_open |
|
8 |
23 |
158 |
5 |
| umidi_close |
|
5 |
12 |
77 |
1 |
| umidi_output |
|
3 |
7 |
43 |
2 |
| umidi_flush |
|
3 |
7 |
37 |
1 |
| umidi_getinfo |
|
2 |
8 |
44 |
2 |
| alloc_pipe |
|
4 |
24 |
160 |
1 |
| free_pipe |
|
1 |
7 |
49 |
1 |
| alloc_all_endpoints |
|
7 |
29 |
163 |
1 |
| free_all_endpoints |
|
3 |
9 |
75 |
1 |
| alloc_all_endpoints_fixed_ep |
|
12 |
82 |
576 |
1 |
| alloc_all_endpoints_yamaha |
|
25 |
85 |
603 |
1 |
| alloc_all_endpoints_genuine |
|
22 |
80 |
570 |
1 |
| alloc_all_jacks |
|
10 |
58 |
403 |
1 |
| free_all_jacks |
|
2 |
10 |
74 |
1 |
| bind_jacks_to_mididev |
|
9 |
17 |
93 |
4 |
| unbind_jacks_from_mididev |
|
7 |
12 |
89 |
1 |
| unbind_all_jacks |
|
3 |
8 |
46 |
1 |
| assign_all_jacks_automatically |
|
6 |
21 |
145 |
1 |
| open_out_jack |
|
2 |
11 |
72 |
3 |
| open_in_jack |
|
2 |
10 |
66 |
3 |
| close_jack |
|
2 |
7 |
30 |
1 |
| attach_mididev |
|
2 |
8 |
49 |
2 |
| detach_mididev |
|
4 |
12 |
62 |
2 |
| deactivate_mididev |
|
3 |
9 |
47 |
1 |
| alloc_all_mididevs |
|
2 |
9 |
56 |
2 |
| free_all_mididevs |
|
2 |
8 |
48 |
1 |
| attach_all_mididevs |
|
4 |
12 |
65 |
1 |
| detach_all_mididevs |
|
4 |
12 |
68 |
2 |
| deactivate_all_mididevs |
|
4 |
12 |
63 |
1 |
| dump_sc |
|
3 |
13 |
119 |
1 |
| dump_ep |
|
2 |
8 |
55 |
1 |
| dump_jack |
|
1 |
5 |
22 |
1 |
| init_packet |
|
1 |
5 |
21 |
1 |
| start_input_transfer |
|
3 |
15 |
94 |
1 |
| start_output_transfer |
|
3 |
16 |
100 |
1 |
| out_jack_output |
|
7 |
32 |
181 |
2 |
| out_jack_flush |
|
5 |
13 |
76 |
1 |
| in_intr |
|
9 |
29 |
236 |
3 |
| out_intr |
|
7 |
25 |
173 |
3 |
| out_build_packet |
|
22 |
92 |
574 |
4 |
| Source file: ./sys/dev/usb/usps.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usps_match |
|
4 |
9 |
64 |
3 |
| usps_attach |
|
18 |
117 |
1030 |
3 |
| usps_detach |
|
6 |
34 |
319 |
2 |
| usps_cmd |
|
2 |
17 |
112 |
4 |
| usps_set_measurement_mode |
|
3 |
25 |
165 |
2 |
| usps_intr |
|
14 |
41 |
325 |
3 |
| usps_get_device_info |
|
1 |
15 |
199 |
1 |
| usps_refresh |
|
1 |
7 |
30 |
1 |
| usps_refresh_ports |
|
2 |
16 |
127 |
1 |
| usps_refresh_temp |
|
2 |
13 |
95 |
1 |
| usps_refresh_power |
|
6 |
34 |
221 |
1 |
| Source file: ./sys/dev/usb/ucycom.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ucycom_match |
|
3 |
8 |
63 |
3 |
| ucycom_attach |
|
2 |
44 |
377 |
3 |
| ucycom_get_status |
|
4 |
9 |
59 |
4 |
| ucycom_open |
|
3 |
24 |
183 |
2 |
| ucycom_close |
|
4 |
17 |
101 |
2 |
| ucycom_read |
|
2 |
13 |
102 |
4 |
| ucycom_write |
|
8 |
34 |
245 |
5 |
| ucycom_param |
|
26 |
68 |
378 |
3 |
| ucycom_intr |
|
10 |
42 |
256 |
3 |
| ucycom_set |
|
7 |
26 |
150 |
4 |
| ucycom_detach |
|
3 |
12 |
83 |
2 |
| Source file: ./sys/dev/usb/umass_quirks.h |
| Source file: ./sys/dev/usb/uaudioreg.h |
| Source file: ./sys/dev/usb/udcf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| udcf_match |
|
3 |
8 |
57 |
3 |
| udcf_attach |
|
9 |
93 |
676 |
3 |
| udcf_detach |
|
6 |
20 |
173 |
2 |
| udcf_intr |
|
1 |
5 |
27 |
1 |
| udcf_bv_intr |
|
1 |
5 |
27 |
1 |
| udcf_mg_intr |
|
1 |
5 |
27 |
1 |
| udcf_sl_intr |
|
1 |
5 |
27 |
1 |
| udcf_nc_init_hw |
|
3 |
33 |
229 |
1 |
| udcf_ft232r_init_hw |
|
2 |
16 |
88 |
1 |
| udcf_nc_signal |
|
2 |
9 |
49 |
1 |
| udcf_ft232r_signal |
|
3 |
18 |
114 |
1 |
| udcf_probe |
|
8 |
40 |
247 |
1 |
| udcf_bv_probe |
|
5 |
16 |
91 |
1 |
| udcf_mg_probe |
|
21 |
110 |
905 |
1 |
| udcf_sl_probe |
|
2 |
10 |
61 |
1 |
| udcf_it_intr |
|
3 |
13 |
73 |
1 |
| Source file: ./sys/dev/usb/upd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| upd_match |
|
4 |
21 |
138 |
3 |
| upd_attach |
|
4 |
37 |
326 |
3 |
| upd_attach_sensor_tree |
|
6 |
42 |
341 |
6 |
| upd_detach |
|
4 |
17 |
142 |
2 |
| upd_refresh |
|
1 |
8 |
39 |
1 |
| upd_request_children |
|
3 |
20 |
124 |
2 |
| upd_lookup_usage_entry |
|
5 |
17 |
102 |
4 |
| upd_lookup_sensor |
|
4 |
12 |
86 |
3 |
| upd_update_report_cb |
|
5 |
16 |
122 |
4 |
| upd_sensor_invalidate |
|
1 |
8 |
53 |
2 |
| upd_sensor_update |
|
11 |
34 |
191 |
4 |
| upd_intr |
|
1 |
3 |
16 |
3 |
| Source file: ./sys/dev/usb/if_udavreg.h |
| Source file: ./sys/dev/usb/if_athn_usb.h |
| Source file: ./sys/dev/usb/usb.h |
| Source file: ./sys/dev/usb/uvscom.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| uvscom_match |
|
3 |
8 |
59 |
3 |
| uvscom_attach |
|
15 |
97 |
638 |
3 |
| uvscom_detach |
|
3 |
17 |
113 |
2 |
| uvscom_readstat |
|
2 |
21 |
132 |
1 |
| uvscom_shutdown |
|
2 |
18 |
113 |
1 |
| uvscom_reset |
|
1 |
5 |
27 |
1 |
| uvscom_set_crtscts |
|
1 |
5 |
27 |
1 |
| uvscom_set_line |
|
2 |
19 |
118 |
2 |
| uvscom_set_line_coding |
|
3 |
30 |
203 |
3 |
| uvscom_dtr |
|
3 |
13 |
75 |
2 |
| uvscom_rts |
|
3 |
13 |
75 |
2 |
| uvscom_break |
|
2 |
7 |
45 |
2 |
| uvscom_set |
|
4 |
17 |
70 |
4 |
| uvscom_param |
|
22 |
83 |
360 |
3 |
| uvscom_open |
|
11 |
55 |
309 |
2 |
| uvscom_close |
|
4 |
19 |
109 |
2 |
| uvscom_intr |
|
10 |
34 |
250 |
3 |
| uvscom_get_status |
|
3 |
8 |
52 |
4 |
| Source file: ./sys/dev/usb/if_ralvar.h |
| Source file: ./sys/dev/usb/uts.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| uts_match |
|
5 |
12 |
89 |
3 |
| uts_attach |
|
8 |
55 |
372 |
3 |
| uts_detach |
|
3 |
15 |
91 |
2 |
| uts_activate |
|
3 |
13 |
69 |
2 |
| uts_enable |
|
5 |
23 |
152 |
1 |
| uts_disable |
|
4 |
18 |
96 |
1 |
| uts_ioctl |
|
22 |
48 |
398 |
5 |
| uts_get_pos |
|
12 |
60 |
544 |
2 |
| uts_intr |
|
5 |
30 |
216 |
3 |
| Source file: ./sys/dev/usb/ukbd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ukbd_match |
|
2 |
11 |
80 |
3 |
| ukbd_attach |
|
33 |
92 |
635 |
3 |
| ukbd_detach |
|
2 |
10 |
69 |
2 |
| ukbd_intr |
|
3 |
10 |
87 |
3 |
| ukbd_enable |
|
5 |
16 |
94 |
2 |
| ukbd_set_leds |
|
4 |
11 |
84 |
2 |
| ukbd_ioctl |
|
4 |
20 |
130 |
5 |
| ukbd_cngetc |
|
2 |
12 |
92 |
3 |
| ukbd_cnpollc |
|
2 |
10 |
62 |
2 |
| ukbd_cnbell |
|
1 |
4 |
28 |
4 |
| ukbd_debugger |
|
1 |
5 |
25 |
1 |
| ukbd_db_enter |
|
1 |
4 |
12 |
1 |
| ukbd_cnattach |
|
4 |
15 |
75 |
1 |
| ukbd_translate |
|
3 |
8 |
45 |
3 |
| ukbd_apple_translate |
|
3 |
14 |
111 |
5 |
| ukbd_apple_munge |
|
4 |
31 |
191 |
3 |
| ukbd_apple_mba_munge |
|
4 |
28 |
173 |
3 |
| ukbd_apple_iso_munge |
|
1 |
10 |
63 |
3 |
| ukbd_apple_iso_mba_munge |
|
1 |
10 |
63 |
3 |
| ukbd_gdium_munge |
|
8 |
41 |
257 |
3 |
| Source file: ./sys/dev/usb/uaudio.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| uaudio_match |
|
13 |
42 |
277 |
3 |
| uaudio_attach |
|
13 |
60 |
424 |
3 |
| uaudio_detach |
|
2 |
7 |
47 |
2 |
| uaudio_find_iface |
|
7 |
15 |
103 |
5 |
| uaudio_mixer_add_ctl |
|
11 |
56 |
468 |
2 |
| uaudio_id_name |
|
1 |
6 |
44 |
3 |
| uaudio_get_cluster_nchan |
|
10 |
41 |
287 |
2 |
| uaudio_add_input |
|
2 |
11 |
80 |
3 |
| uaudio_add_output |
|
2 |
9 |
68 |
3 |
| uaudio_add_mixer |
|
12 |
52 |
445 |
3 |
| uaudio_add_selector |
|
3 |
24 |
212 |
3 |
| uaudio_get_terminal_name |
|
57 |
65 |
375 |
1 |
| uaudio_determine_class |
|
13 |
31 |
212 |
2 |
| uaudio_feature_name |
|
60 |
82 |
282 |
2 |
| uaudio_add_feature |
|
18 |
103 |
696 |
3 |
| uaudio_add_processing_updown |
|
3 |
30 |
260 |
3 |
| uaudio_add_processing |
|
8 |
36 |
247 |
3 |
| uaudio_add_extension |
|
3 |
22 |
188 |
3 |
| uaudio_merge_terminal_list |
|
8 |
32 |
233 |
1 |
| uaudio_io_terminaltype |
|
29 |
146 |
1117 |
3 |
| uaudio_identify |
|
2 |
8 |
45 |
2 |
| uaudio_add_alt |
|
3 |
17 |
146 |
2 |
| uaudio_process_as |
|
54 |
194 |
1217 |
5 |
| uaudio_identify_as |
|
9 |
47 |
264 |
2 |
| uaudio_identify_ac |
|
52 |
195 |
1406 |
2 |
| uaudio_query_devinfo |
|
11 |
77 |
666 |
2 |
| uaudio_open |
|
6 |
12 |
92 |
2 |
| uaudio_close |
|
3 |
8 |
57 |
1 |
| uaudio_halt_out_dma |
|
3 |
14 |
95 |
1 |
| uaudio_halt_in_dma |
|
3 |
14 |
95 |
1 |
| uaudio_round_blocksize |
|
6 |
26 |
162 |
2 |
| uaudio_get_props |
|
3 |
11 |
62 |
1 |
| uaudio_get |
|
5 |
36 |
229 |
6 |
| uaudio_set |
|
6 |
31 |
186 |
7 |
| uaudio_signext |
|
3 |
10 |
49 |
2 |
| uaudio_unsignext |
|
3 |
10 |
49 |
2 |
| uaudio_value2bsd |
|
6 |
21 |
150 |
2 |
| uaudio_bsd2value |
|
5 |
15 |
130 |
2 |
| uaudio_ctl_get |
|
1 |
9 |
77 |
4 |
| uaudio_ctl_set |
|
1 |
7 |
61 |
5 |
| uaudio_mixer_get_port |
|
16 |
38 |
354 |
2 |
| uaudio_mixer_set_port |
|
14 |
36 |
326 |
2 |
| uaudio_trigger_input |
|
5 |
33 |
223 |
7 |
| uaudio_trigger_output |
|
7 |
36 |
249 |
7 |
| uaudio_chan_open |
|
8 |
40 |
283 |
2 |
| uaudio_chan_close |
|
4 |
18 |
113 |
2 |
| uaudio_chan_alloc_buffers |
|
11 |
48 |
331 |
2 |
| uaudio_chan_free_buffers |
|
4 |
11 |
92 |
2 |
| uaudio_chan_ptransfer |
|
12 |
57 |
432 |
1 |
| uaudio_chan_pintr |
|
4 |
17 |
102 |
3 |
| uaudio_chan_psync_transfer |
|
5 |
22 |
170 |
1 |
| uaudio_chan_psync_intr |
|
10 |
44 |
346 |
3 |
| uaudio_chan_rtransfer |
|
7 |
29 |
226 |
1 |
| uaudio_chan_rintr |
|
10 |
50 |
333 |
3 |
| uaudio_chan_init |
|
13 |
64 |
473 |
4 |
| uaudio_chan_set_param |
|
3 |
21 |
174 |
4 |
| uaudio_match_alt_rate |
|
10 |
34 |
222 |
3 |
| uaudio_match_alt |
|
28 |
84 |
602 |
3 |
| uaudio_set_params |
|
37 |
93 |
661 |
5 |
| uaudio_set_speed |
|
1 |
15 |
122 |
3 |
| uaudio_set_speed_emu0202 |
|
4 |
21 |
160 |
1 |
| Source file: ./sys/dev/usb/udlio.h |
| Source file: ./sys/dev/usb/usb.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usb_match |
|
1 |
4 |
22 |
3 |
| usb_attach |
|
15 |
62 |
384 |
3 |
| usb_attach_roothub |
|
3 |
18 |
122 |
1 |
| usb_detach_roothub |
|
1 |
8 |
58 |
1 |
| usb_create_task_threads |
|
3 |
9 |
46 |
1 |
| usb_add_task |
|
8 |
29 |
165 |
2 |
| usb_rem_task |
|
6 |
24 |
134 |
2 |
| usb_wait_task |
|
3 |
14 |
89 |
2 |
| usb_rem_wait_task |
|
1 |
5 |
28 |
2 |
| usb_task_thread |
|
6 |
29 |
174 |
1 |
| usb_abort_task_thread |
|
4 |
25 |
137 |
1 |
| usbctlprint |
|
2 |
6 |
29 |
2 |
| usbopen |
|
4 |
13 |
82 |
4 |
| usbclose |
|
1 |
4 |
23 |
4 |
| usb_fill_di_task |
|
4 |
15 |
91 |
1 |
| usb_fill_udc_task |
|
5 |
22 |
137 |
1 |
| usb_fill_udf_task |
|
4 |
19 |
126 |
1 |
| usbioctl |
|
52 |
193 |
1278 |
5 |
| usb_explore |
|
13 |
43 |
308 |
1 |
| usb_needs_explore |
|
3 |
11 |
89 |
2 |
| usb_needs_reattach |
|
1 |
6 |
33 |
1 |
| usb_schedsoftintr |
|
2 |
9 |
49 |
1 |
| usb_activate |
|
5 |
22 |
119 |
2 |
| usb_detach |
|
4 |
17 |
102 |
2 |
| Source file: ./sys/dev/usb/umidireg.h |
| Source file: ./sys/dev/usb/ehcivar.h |
| Source file: ./sys/dev/usb/if_mos.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mos_lock_mii |
|
1 |
5 |
22 |
1 |
| mos_unlock_mii |
|
2 |
6 |
34 |
1 |
| mos_reg_read_1 |
|
3 |
19 |
117 |
2 |
| mos_reg_read_2 |
|
3 |
20 |
125 |
2 |
| mos_reg_write_1 |
|
3 |
20 |
122 |
3 |
| mos_reg_write_2 |
|
3 |
20 |
125 |
3 |
| mos_readmac |
|
3 |
18 |
110 |
2 |
| mos_writemac |
|
3 |
18 |
110 |
2 |
| mos_write_mcast |
|
3 |
18 |
110 |
2 |
| mos_miibus_readreg |
|
5 |
27 |
174 |
3 |
| mos_miibus_writereg |
|
5 |
22 |
141 |
4 |
| mos_miibus_statchg |
|
5 |
30 |
172 |
1 |
| mos_ifmedia_upd |
|
2 |
13 |
73 |
1 |
| mos_ifmedia_sts |
|
1 |
8 |
54 |
2 |
| mos_iff |
|
6 |
31 |
247 |
1 |
| mos_reset |
|
2 |
13 |
69 |
1 |
| mos_chip_init |
|
3 |
9 |
66 |
1 |
| mos_match |
|
4 |
8 |
63 |
3 |
| mos_attach |
|
15 |
90 |
695 |
3 |
| mos_detach |
|
13 |
39 |
310 |
2 |
| mos_newbuf |
|
3 |
15 |
85 |
1 |
| mos_rx_list_init |
|
5 |
26 |
163 |
1 |
| mos_tx_list_init |
|
5 |
26 |
163 |
1 |
| mos_rxeof |
|
16 |
72 |
474 |
3 |
| mos_txeof |
|
7 |
34 |
192 |
3 |
| mos_tick |
|
3 |
11 |
63 |
1 |
| mos_tick_task |
|
8 |
28 |
158 |
1 |
| mos_encap |
|
2 |
20 |
140 |
3 |
| mos_start |
|
7 |
24 |
142 |
1 |
| mos_init |
|
6 |
61 |
431 |
1 |
| mos_ioctl |
|
11 |
38 |
210 |
3 |
| mos_watchdog |
|
2 |
17 |
113 |
1 |
| mos_stop |
|
13 |
60 |
472 |
1 |
| Source file: ./sys/dev/usb/uhcivar.h |
| Source file: ./sys/dev/usb/if_ralreg.h |
| Source file: ./sys/dev/usb/if_uathreg.h |
| Source file: ./sys/dev/usb/if_zyd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| zyd_match |
|
3 |
8 |
54 |
3 |
| zyd_attachhook |
|
5 |
23 |
146 |
1 |
| zyd_attach |
|
2 |
16 |
116 |
3 |
| zyd_complete_attach |
|
10 |
86 |
627 |
1 |
| zyd_detach |
|
5 |
26 |
159 |
2 |
| zyd_open_pipes |
|
8 |
48 |
304 |
1 |
| zyd_close_pipes |
|
4 |
15 |
98 |
1 |
| zyd_alloc_tx_list |
|
4 |
27 |
160 |
1 |
| zyd_free_tx_list |
|
4 |
16 |
98 |
1 |
| zyd_alloc_rx_list |
|
4 |
25 |
141 |
1 |
| zyd_free_rx_list |
|
3 |
11 |
63 |
1 |
| zyd_node_alloc |
|
1 |
4 |
25 |
1 |
| zyd_media_change |
|
3 |
10 |
56 |
1 |
| zyd_next_scan |
|
2 |
8 |
48 |
1 |
| zyd_task |
|
10 |
40 |
242 |
1 |
| zyd_newstate |
|
1 |
11 |
80 |
3 |
| zyd_cmd_read |
|
5 |
35 |
235 |
4 |
| zyd_read16 |
|
2 |
12 |
87 |
3 |
| zyd_read32 |
|
2 |
14 |
126 |
3 |
| zyd_cmd_write |
|
3 |
21 |
150 |
4 |
| zyd_write16 |
|
1 |
7 |
53 |
3 |
| zyd_write32 |
|
1 |
9 |
96 |
3 |
| zyd_rfwrite |
|
3 |
17 |
154 |
2 |
| zyd_lock_phy |
|
1 |
7 |
41 |
1 |
| zyd_unlock_phy |
|
1 |
7 |
41 |
1 |
| zyd_rfmd_init |
|
5 |
17 |
132 |
1 |
| zyd_rfmd_switch_radio |
|
3 |
7 |
56 |
2 |
| zyd_rfmd_set_channel |
|
1 |
10 |
74 |
2 |
| zyd_al2230_init |
|
8 |
26 |
200 |
1 |
| zyd_al2230_init_b |
|
5 |
17 |
132 |
1 |
| zyd_al2230_switch_radio |
|
4 |
8 |
71 |
2 |
| zyd_al2230_set_channel |
|
1 |
13 |
117 |
2 |
| zyd_al7230B_init |
|
11 |
34 |
296 |
1 |
| zyd_al7230B_switch_radio |
|
3 |
7 |
56 |
2 |
| zyd_al7230B_set_channel |
|
3 |
27 |
257 |
2 |
| zyd_al2210_init |
|
5 |
27 |
248 |
1 |
| zyd_al2210_switch_radio |
|
1 |
4 |
15 |
2 |
| zyd_al2210_set_channel |
|
1 |
17 |
164 |
2 |
| zyd_gct_init |
|
5 |
17 |
132 |
1 |
| zyd_gct_switch_radio |
|
1 |
4 |
15 |
2 |
| zyd_gct_set_channel |
|
1 |
9 |
68 |
2 |
| zyd_maxim_init |
|
5 |
22 |
199 |
1 |
| zyd_maxim_switch_radio |
|
1 |
4 |
15 |
2 |
| zyd_maxim_set_channel |
|
5 |
27 |
252 |
2 |
| zyd_maxim2_init |
|
5 |
22 |
199 |
1 |
| zyd_maxim2_switch_radio |
|
1 |
4 |
15 |
2 |
| zyd_maxim2_set_channel |
|
5 |
27 |
252 |
2 |
| zyd_rf_attach |
|
10 |
58 |
279 |
2 |
| zyd_rf_name |
|
2 |
10 |
64 |
1 |
| zyd_hw_init |
|
9 |
67 |
555 |
1 |
| zyd_read_eeprom |
|
2 |
41 |
455 |
1 |
| zyd_set_multi |
|
5 |
29 |
183 |
1 |
| zyd_set_macaddr |
|
1 |
8 |
87 |
2 |
| zyd_set_bssid |
|
1 |
8 |
87 |
2 |
| zyd_switch_radio |
|
1 |
9 |
52 |
2 |
| zyd_set_led |
|
2 |
9 |
55 |
3 |
| zyd_set_rxfilter |
|
5 |
19 |
67 |
1 |
| zyd_set_chan |
|
6 |
27 |
260 |
2 |
| zyd_set_beacon_interval |
|
1 |
7 |
55 |
2 |
| zyd_plcp_signal |
|
13 |
18 |
90 |
1 |
| zyd_intr |
|
12 |
47 |
346 |
3 |
| zyd_rx_data |
|
9 |
75 |
542 |
3 |
| zyd_rxeof |
|
10 |
44 |
325 |
3 |
| zyd_txeof |
|
5 |
29 |
182 |
3 |
| zyd_tx |
|
26 |
102 |
803 |
3 |
| zyd_start |
|
14 |
39 |
244 |
1 |
| zyd_watchdog |
|
3 |
14 |
74 |
1 |
| zyd_ioctl |
|
18 |
58 |
335 |
3 |
| zyd_init |
|
13 |
64 |
492 |
1 |
| zyd_stop |
|
1 |
17 |
131 |
2 |
| zyd_loadfirmware |
|
5 |
31 |
211 |
3 |
| zyd_iter_func |
|
1 |
6 |
47 |
2 |
| zyd_amrr_timeout |
|
2 |
13 |
76 |
1 |
| zyd_newassoc |
|
3 |
10 |
90 |
3 |
| Source file: ./sys/dev/usb/udl.h |
| Source file: ./sys/dev/usb/if_axe.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| axe_lock_mii |
|
1 |
5 |
22 |
1 |
| axe_unlock_mii |
|
2 |
6 |
34 |
1 |
| axe_cmd |
|
4 |
21 |
141 |
5 |
| axe_miibus_readreg |
|
11 |
35 |
261 |
3 |
| axe_miibus_writereg |
|
4 |
20 |
131 |
4 |
| axe_miibus_statchg |
|
18 |
54 |
297 |
1 |
| axe_ifmedia_upd |
|
2 |
12 |
67 |
1 |
| axe_ifmedia_sts |
|
1 |
8 |
54 |
2 |
| axe_iff |
|
7 |
38 |
274 |
1 |
| axe_reset |
|
2 |
7 |
27 |
1 |
| axe_ax88178_init |
|
6 |
48 |
396 |
1 |
| axe_ax88772b_nodeid |
|
5 |
17 |
124 |
2 |
| axe_ax88772_init |
|
2 |
24 |
199 |
1 |
| axe_get_phyno |
|
6 |
16 |
70 |
2 |
| axe_match |
|
4 |
8 |
63 |
3 |
| axe_attach |
|
21 |
107 |
897 |
3 |
| axe_detach |
|
13 |
39 |
310 |
2 |
| axe_newbuf |
|
3 |
15 |
85 |
1 |
| axe_rx_list_init |
|
5 |
26 |
163 |
1 |
| axe_tx_list_init |
|
5 |
26 |
163 |
1 |
| axe_rxeof |
|
16 |
82 |
528 |
3 |
| axe_txeof |
|
7 |
34 |
190 |
3 |
| axe_tick |
|
3 |
11 |
63 |
1 |
| axe_tick_task |
|
5 |
22 |
113 |
1 |
| axe_encap |
|
5 |
37 |
297 |
3 |
| axe_start |
|
7 |
24 |
142 |
1 |
| axe_init |
|
11 |
75 |
541 |
1 |
| axe_ioctl |
|
11 |
38 |
210 |
3 |
| axe_watchdog |
|
2 |
17 |
111 |
1 |
| axe_stop |
|
13 |
60 |
466 |
1 |
| Source file: ./sys/dev/usb/moscom.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| moscom_match |
|
3 |
8 |
57 |
3 |
| moscom_attach |
|
10 |
52 |
366 |
3 |
| moscom_detach |
|
2 |
10 |
61 |
2 |
| moscom_open |
|
5 |
21 |
144 |
2 |
| moscom_set |
|
7 |
22 |
100 |
4 |
| moscom_param |
|
14 |
41 |
256 |
3 |
| if |
|
1 |
2 |
15 |
1 |
| moscom_cmd |
|
2 |
15 |
91 |
3 |
| Source file: ./sys/dev/usb/if_urlreg.h |
| Source file: ./sys/dev/usb/uthum.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| uthum_match |
|
5 |
15 |
110 |
3 |
| uthum_attach |
|
7 |
48 |
383 |
3 |
| uthum_detach |
|
5 |
18 |
126 |
2 |
| uthum_intr |
|
1 |
3 |
16 |
3 |
| uthum_issue_cmd |
|
6 |
28 |
231 |
3 |
| uthum_read_data |
|
7 |
21 |
190 |
5 |
| uthum_check_device_info |
|
11 |
54 |
297 |
1 |
| uthum_reset_device |
|
4 |
13 |
57 |
1 |
| uthum_setup_sensors |
|
10 |
57 |
422 |
1 |
| uthum_ntc_getdata |
|
4 |
17 |
117 |
2 |
| uthum_ntc_tuning |
|
20 |
64 |
322 |
3 |
| uthum_refresh |
|
8 |
22 |
109 |
1 |
| uthum_refresh_temperhum |
|
2 |
22 |
189 |
1 |
| uthum_refresh_temper |
|
5 |
27 |
198 |
2 |
| uthum_refresh_temperntc |
|
6 |
26 |
183 |
2 |
| uthum_ds75_temp |
|
1 |
4 |
30 |
2 |
| uthum_sht1x_temp |
|
1 |
6 |
32 |
2 |
| uthum_sht1x_rh |
|
1 |
7 |
77 |
3 |
| uthum_ntc_temp |
|
10 |
32 |
198 |
2 |
| uthum_print_sensorinfo |
|
7 |
29 |
178 |
2 |
| Source file: ./sys/dev/usb/ohcivar.h |
| Source file: ./sys/dev/usb/ehci.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ehci_reverse_bits |
|
1 |
7 |
92 |
2 |
| ehci_init |
|
24 |
152 |
1223 |
1 |
| ehci_intr |
|
5 |
13 |
81 |
1 |
| ehci_intr1 |
|
11 |
47 |
270 |
1 |
| ehci_pcd |
|
4 |
18 |
137 |
2 |
| ehci_setaddr |
|
5 |
15 |
92 |
2 |
| ehci_softintr |
|
7 |
25 |
168 |
1 |
| ehci_check_intr |
|
2 |
8 |
51 |
2 |
| ehci_check_qh_intr |
|
7 |
41 |
328 |
2 |
| ehci_check_itd_intr |
|
7 |
30 |
237 |
2 |
| ehci_isoc_idone |
|
15 |
62 |
396 |
1 |
| ehci_idone |
|
13 |
46 |
307 |
1 |
| ehci_poll |
|
2 |
6 |
39 |
1 |
| ehci_detach |
|
2 |
15 |
108 |
2 |
| ehci_activate |
|
20 |
93 |
642 |
2 |
| ehci_reset |
|
9 |
30 |
201 |
1 |
| ehci_allocx |
|
3 |
8 |
47 |
1 |
| ehci_freex |
|
3 |
9 |
51 |
2 |
| ehci_device_clear_toggle |
|
3 |
7 |
62 |
1 |
| ehci_dump_regs |
|
2 |
16 |
103 |
1 |
| ehci_dump |
|
1 |
4 |
11 |
1 |
| ehci_dump_link |
|
7 |
27 |
103 |
2 |
| ehci_dump_sqtds |
|
5 |
19 |
133 |
1 |
| ehci_dump_sqtd |
|
1 |
9 |
72 |
1 |
| ehci_dump_qtd |
|
2 |
19 |
152 |
1 |
| ehci_dump_sqh |
|
1 |
29 |
247 |
1 |
| ehci_dump_itd |
|
3 |
23 |
204 |
1 |
| ehci_dump_exfer |
|
1 |
6 |
37 |
1 |
| ehci_open |
|
28 |
140 |
800 |
1 |
| ehci_add_qh |
|
2 |
17 |
173 |
2 |
| ehci_rem_qh |
|
2 |
14 |
132 |
2 |
| ehci_set_qh_qtd |
|
2 |
29 |
254 |
2 |
| ehci_sync_hc |
|
6 |
19 |
116 |
1 |
| ehci_rem_itd_chain |
|
6 |
28 |
258 |
2 |
| ehci_free_itd_chain |
|
5 |
15 |
104 |
2 |
| ehci_root_ctrl_transfer |
|
2 |
8 |
44 |
1 |
| ehci_root_ctrl_start |
|
97 |
345 |
2031 |
1 |
| ehci_disown |
|
1 |
8 |
51 |
3 |
| ehci_root_ctrl_abort |
|
1 |
3 |
9 |
1 |
| ehci_root_ctrl_close |
|
1 |
3 |
9 |
1 |
| ehci_root_intr_done |
|
1 |
3 |
9 |
1 |
| ehci_root_intr_transfer |
|
2 |
8 |
44 |
1 |
| ehci_root_intr_start |
|
2 |
8 |
49 |
1 |
| ehci_root_intr_abort |
|
1 |
10 |
56 |
1 |
| ehci_root_intr_close |
|
1 |
3 |
9 |
1 |
| ehci_root_ctrl_done |
|
1 |
3 |
9 |
1 |
| ehci_alloc_sqh |
|
4 |
33 |
205 |
1 |
| ehci_free_sqh |
|
1 |
8 |
42 |
2 |
| ehci_alloc_sqtd |
|
4 |
32 |
199 |
1 |
| ehci_free_sqtd |
|
1 |
8 |
42 |
2 |
| ehci_alloc_sqtd_chain |
|
25 |
111 |
742 |
5 |
| ehci_free_sqtd_chain |
|
2 |
12 |
100 |
2 |
| ehci_alloc_itd |
|
8 |
48 |
348 |
1 |
| ehci_free_itd |
|
1 |
7 |
42 |
2 |
| ehci_close_pipe |
|
1 |
13 |
96 |
1 |
| ehci_abort_xfer |
|
12 |
74 |
568 |
2 |
| ehci_abort_isoc_xfer |
|
10 |
62 |
483 |
2 |
| ehci_timeout |
|
2 |
12 |
74 |
1 |
| ehci_timeout_task |
|
1 |
8 |
36 |
1 |
| ehci_intrlist_timeout |
|
2 |
11 |
56 |
1 |
| ehci_device_ctrl_transfer |
|
2 |
8 |
44 |
1 |
| ehci_device_ctrl_start |
|
11 |
94 |
711 |
1 |
| ehci_device_ctrl_done |
|
2 |
9 |
63 |
1 |
| ehci_device_ctrl_abort |
|
1 |
4 |
16 |
1 |
| ehci_device_ctrl_close |
|
1 |
4 |
14 |
1 |
| ehci_device_bulk_transfer |
|
2 |
8 |
44 |
1 |
| ehci_device_bulk_start |
|
7 |
37 |
264 |
1 |
| ehci_device_bulk_abort |
|
1 |
4 |
16 |
1 |
| ehci_device_bulk_close |
|
1 |
4 |
14 |
1 |
| ehci_device_bulk_done |
|
2 |
8 |
54 |
1 |
| ehci_device_setintr |
|
3 |
13 |
94 |
3 |
| ehci_device_intr_transfer |
|
2 |
8 |
44 |
1 |
| ehci_device_intr_start |
|
7 |
36 |
262 |
1 |
| ehci_device_intr_abort |
|
2 |
5 |
34 |
1 |
| ehci_device_intr_close |
|
1 |
4 |
14 |
1 |
| ehci_device_intr_done |
|
9 |
41 |
284 |
1 |
| ehci_device_isoc_transfer |
|
3 |
8 |
40 |
1 |
| ehci_device_isoc_start |
|
18 |
71 |
562 |
1 |
| ehci_alloc_itd_chain |
|
13 |
80 |
553 |
2 |
| ehci_alloc_sitd_chain |
|
9 |
61 |
471 |
2 |
| ehci_device_isoc_abort |
|
1 |
7 |
30 |
1 |
| ehci_device_isoc_close |
|
1 |
3 |
9 |
1 |
| ehci_device_isoc_done |
|
2 |
14 |
98 |
1 |
| Source file: ./sys/dev/usb/usbdi_util.h |
| Source file: ./sys/dev/usb/if_ugl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ugl_match |
|
4 |
8 |
65 |
3 |
| ugl_attach |
|
12 |
53 |
406 |
3 |
| ugl_detach |
|
7 |
19 |
136 |
2 |
| ugl_newbuf |
|
4 |
27 |
179 |
3 |
| ugl_rx_list_init |
|
6 |
26 |
175 |
1 |
| ugl_tx_list_init |
|
5 |
25 |
163 |
1 |
| ugl_rxeof |
|
14 |
69 |
469 |
3 |
| ugl_txeof |
|
7 |
32 |
201 |
3 |
| ugl_send |
|
2 |
26 |
212 |
3 |
| ugl_start |
|
7 |
23 |
157 |
1 |
| ugl_init |
|
6 |
29 |
168 |
1 |
| ugl_openpipes |
|
5 |
38 |
260 |
1 |
| ugl_intr |
|
9 |
30 |
215 |
3 |
| ugl_ioctl |
|
9 |
35 |
192 |
3 |
| ugl_watchdog |
|
2 |
8 |
45 |
1 |
| ugl_stop |
|
10 |
45 |
393 |
1 |
| Source file: ./sys/dev/usb/usb_quirks.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usbd_find_quirk |
|
18 |
34 |
248 |
1 |
| Source file: ./sys/dev/pckbc/pckbdvar.h |
| Source file: ./sys/dev/usb/usbdevs.h |
| Source file: ./sys/dev/usb/if_otus.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| otus_match |
|
4 |
8 |
63 |
3 |
| otus_attach |
|
3 |
23 |
174 |
3 |
| otus_detach |
|
4 |
22 |
147 |
2 |
| otus_attachhook |
|
15 |
101 |
714 |
1 |
| otus_get_chanlist |
|
5 |
27 |
188 |
1 |
| otus_load_firmware |
|
4 |
32 |
196 |
3 |
| otus_open_pipes |
|
14 |
83 |
477 |
1 |
| otus_close_pipes |
|
6 |
18 |
114 |
1 |
| otus_alloc_tx_cmd |
|
3 |
18 |
101 |
1 |
| otus_free_tx_cmd |
|
2 |
6 |
35 |
1 |
| otus_alloc_tx_data_list |
|
4 |
26 |
143 |
1 |
| otus_free_tx_data_list |
|
3 |
8 |
57 |
1 |
| otus_alloc_rx_data_list |
|
4 |
26 |
143 |
1 |
| otus_free_rx_data_list |
|
3 |
8 |
57 |
1 |
| otus_next_scan |
|
3 |
10 |
60 |
1 |
| otus_task |
|
2 |
17 |
109 |
1 |
| otus_do_async |
|
2 |
16 |
135 |
4 |
| otus_newstate |
|
1 |
9 |
57 |
3 |
| otus_newstate_cb |
|
9 |
35 |
232 |
2 |
| otus_cmd |
|
4 |
37 |
273 |
5 |
| otus_write |
|
2 |
7 |
64 |
3 |
| otus_write_barrier |
|
2 |
10 |
61 |
1 |
| otus_node_alloc |
|
1 |
4 |
25 |
1 |
| otus_media_change |
|
6 |
21 |
145 |
1 |
| otus_read_eeprom |
|
4 |
17 |
123 |
1 |
| otus_newassoc |
|
4 |
21 |
174 |
3 |
| otus_intr |
|
4 |
13 |
86 |
3 |
| otus_cmd_rxeof |
|
14 |
60 |
392 |
3 |
| otus_sub_rxeof |
|
30 |
116 |
818 |
3 |
| otus_rxeof |
|
7 |
38 |
276 |
3 |
| otus_txeof |
|
3 |
22 |
135 |
3 |
| otus_tx |
|
24 |
101 |
795 |
3 |
| otus_start |
|
14 |
39 |
244 |
1 |
| otus_watchdog |
|
3 |
14 |
74 |
1 |
| otus_ioctl |
|
15 |
47 |
302 |
3 |
| otus_set_multi |
|
5 |
30 |
189 |
1 |
| otus_updateedca |
|
1 |
4 |
22 |
1 |
| otus_updateedca_cb |
|
2 |
40 |
354 |
2 |
| otus_updateslot |
|
1 |
4 |
22 |
1 |
| otus_updateslot_cb |
|
2 |
8 |
52 |
2 |
| otus_init_mac |
|
2 |
39 |
320 |
1 |
| otus_phy_get_def |
|
3 |
8 |
54 |
2 |
| otus_set_board_values |
|
4 |
70 |
694 |
2 |
| otus_program_phy |
|
6 |
30 |
232 |
2 |
| otus_reverse_bits |
|
1 |
7 |
82 |
1 |
| otus_set_rf_bank4 |
|
5 |
31 |
232 |
2 |
| otus_get_delta_slope |
|
3 |
12 |
99 |
3 |
| otus_set_chan |
|
24 |
90 |
768 |
3 |
| otus_set_key |
|
3 |
13 |
96 |
3 |
| otus_set_key_cb |
|
8 |
42 |
281 |
2 |
| otus_delete_key |
|
4 |
12 |
89 |
3 |
| otus_delete_key_cb |
|
2 |
11 |
81 |
2 |
| otus_calibrate_to |
|
3 |
17 |
117 |
1 |
| otus_set_bssid |
|
1 |
8 |
76 |
2 |
| otus_set_macaddr |
|
1 |
8 |
76 |
2 |
| otus_led_newstate_type1 |
|
1 |
3 |
9 |
1 |
| otus_led_newstate_type2 |
|
1 |
3 |
9 |
1 |
| otus_led_newstate_type3 |
|
7 |
24 |
130 |
1 |
| otus_init |
|
9 |
47 |
328 |
1 |
| otus_stop |
|
1 |
19 |
129 |
1 |
| Source file: ./sys/dev/pckbc/pmsreg.h |
| Source file: ./sys/dev/pckbc/pckbdreg.h |
| Source file: ./sys/dev/usb/if_urtw.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| urtw_match |
|
4 |
8 |
65 |
3 |
| urtw_attach |
|
15 |
124 |
769 |
3 |
| urtw_detach |
|
4 |
23 |
157 |
2 |
| urtw_close_pipes |
|
7 |
24 |
123 |
1 |
| urtw_open_pipes |
|
7 |
41 |
248 |
1 |
| urtw_alloc_rx_data_list |
|
6 |
40 |
232 |
1 |
| urtw_free_rx_data_list |
|
5 |
17 |
101 |
1 |
| urtw_alloc_tx_data_list |
|
5 |
30 |
180 |
1 |
| urtw_free_tx_data_list |
|
6 |
20 |
128 |
1 |
| urtw_media_change |
|
3 |
11 |
73 |
1 |
| urtw_newstate |
|
1 |
10 |
76 |
3 |
| urtw_led_init |
|
7 |
28 |
118 |
1 |
| urtw_8225_write_s16 |
|
1 |
12 |
86 |
4 |
| urtw_8225_read |
|
8 |
80 |
585 |
3 |
| urtw_8225_write_c |
|
2 |
27 |
194 |
3 |
| urtw_8225_isv2 |
|
5 |
26 |
152 |
2 |
| urtw_get_rfchip |
|
6 |
43 |
213 |
1 |
| urtw_get_txpwr |
|
12 |
62 |
609 |
1 |
| urtw_get_macaddr |
|
4 |
23 |
180 |
1 |
| urtw_eprom_read32 |
|
12 |
61 |
488 |
3 |
| urtw_eprom_readbit |
|
2 |
10 |
54 |
2 |
| urtw_eprom_sendbits |
|
4 |
15 |
85 |
3 |
| urtw_eprom_writebit |
|
2 |
13 |
69 |
2 |
| urtw_eprom_ck |
|
1 |
13 |
74 |
1 |
| urtw_eprom_cs |
|
2 |
13 |
69 |
2 |
| urtw_read8_c |
|
1 |
12 |
90 |
4 |
| urtw_read8e |
|
1 |
12 |
85 |
3 |
| urtw_read16_c |
|
1 |
13 |
99 |
4 |
| urtw_read32_c |
|
1 |
13 |
99 |
4 |
| urtw_write8_c |
|
1 |
10 |
83 |
4 |
| urtw_write8e |
|
1 |
10 |
78 |
3 |
| urtw_write16_c |
|
1 |
11 |
90 |
4 |
| urtw_write32_c |
|
1 |
11 |
90 |
4 |
| urtw_set_mode |
|
1 |
11 |
69 |
2 |
| urtw_8180_set_anaparam |
|
3 |
18 |
108 |
2 |
| urtw_8185_set_anaparam2 |
|
3 |
18 |
108 |
2 |
| urtw_intr_disable |
|
1 |
7 |
28 |
1 |
| urtw_reset |
|
11 |
46 |
273 |
1 |
| urtw_led_on |
|
3 |
17 |
73 |
2 |
| urtw_led_off |
|
3 |
17 |
73 |
2 |
| urtw_led_mode0 |
|
12 |
46 |
220 |
2 |
| urtw_led_mode1 |
|
1 |
4 |
17 |
2 |
| urtw_led_mode2 |
|
1 |
4 |
17 |
2 |
| urtw_led_mode3 |
|
1 |
4 |
17 |
2 |
| urtw_ledusbtask |
|
2 |
7 |
30 |
1 |
| urtw_ledtask |
|
1 |
5 |
27 |
1 |
| urtw_led_ctl |
|
5 |
21 |
90 |
2 |
| urtw_led_blink |
|
14 |
43 |
240 |
1 |
| urtw_update_msr |
|
5 |
24 |
106 |
1 |
| urtw_rate2rtl |
|
3 |
9 |
54 |
1 |
| urtw_rtl2rate |
|
3 |
9 |
54 |
1 |
| urtw_set_rate |
|
2 |
19 |
114 |
1 |
| urtw_intr_enable |
|
1 |
7 |
28 |
1 |
| urtw_rx_setconf |
|
7 |
32 |
207 |
1 |
| urtw_rx_enable |
|
5 |
26 |
152 |
1 |
| urtw_tx_enable |
|
2 |
37 |
215 |
1 |
| urtw_init |
|
18 |
80 |
511 |
1 |
| urtw_set_multi |
|
1 |
6 |
37 |
1 |
| urtw_ioctl |
|
19 |
62 |
369 |
3 |
| urtw_start |
|
19 |
46 |
286 |
1 |
| urtw_watchdog |
|
3 |
14 |
74 |
1 |
| urtw_txeof_low |
|
5 |
27 |
161 |
3 |
| urtw_txeof_normal |
|
5 |
27 |
161 |
3 |
| urtw_tx_start |
|
25 |
92 |
808 |
4 |
| urtw_8225_usb_init |
|
3 |
22 |
151 |
1 |
| urtw_8185_rf_pins_enable |
|
1 |
7 |
30 |
1 |
| urtw_8187_write_phy |
|
1 |
12 |
114 |
3 |
| urtw_8187_write_phy_ofdm_c |
|
1 |
5 |
33 |
3 |
| urtw_8187_write_phy_cck_c |
|
1 |
5 |
35 |
3 |
| urtw_8225_setgain |
|
1 |
10 |
84 |
2 |
| urtw_8225_set_txpwrlvl |
|
7 |
42 |
302 |
2 |
| urtw_8185_tx_antenna |
|
1 |
8 |
40 |
2 |
| urtw_8225_rf_init |
|
14 |
76 |
567 |
1 |
| urtw_8225_rf_set_chan |
|
5 |
29 |
199 |
2 |
| urtw_8225_rf_set_sens |
|
4 |
18 |
111 |
1 |
| urtw_stop |
|
4 |
25 |
158 |
2 |
| urtw_isbmode |
|
5 |
6 |
45 |
1 |
| urtw_rxeof |
|
24 |
109 |
824 |
3 |
| urtw_8225v2_setgain |
|
1 |
16 |
121 |
2 |
| urtw_8225v2_set_txpwrlvl |
|
8 |
37 |
276 |
2 |
| urtw_8225v2_rf_init |
|
19 |
95 |
698 |
1 |
| urtw_8225v2_rf_set_chan |
|
5 |
29 |
199 |
2 |
| urtw_set_chan |
|
4 |
23 |
147 |
2 |
| urtw_next_scan |
|
3 |
12 |
73 |
1 |
| urtw_task |
|
12 |
47 |
278 |
1 |
| urtw_8187b_update_wmm |
|
2 |
25 |
158 |
1 |
| urtw_8187b_reset |
|
4 |
34 |
246 |
1 |
| urtw_8187b_init |
|
23 |
103 |
694 |
1 |
| urtw_8225v2_b_config_mac |
|
2 |
17 |
126 |
1 |
| urtw_8225v2_b_init_rfe |
|
1 |
10 |
55 |
1 |
| urtw_8225v2_b_update_chan |
|
2 |
28 |
171 |
1 |
| urtw_8225v2_b_rf_init |
|
9 |
76 |
601 |
1 |
| urtw_8225v2_b_rf_set_chan |
|
2 |
15 |
95 |
2 |
| urtw_8225v2_b_set_txpwrlvl |
|
20 |
79 |
480 |
2 |
| urtw_set_bssid |
|
1 |
11 |
83 |
2 |
| urtw_set_macaddr |
|
1 |
11 |
81 |
2 |
| Source file: ./sys/dev/pckbc/wskbdmap_mfii.h |
| Source file: ./sys/dev/sun/disklabel.h |
| Source file: ./sys/dev/sun/z8530ms.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| zsms_match |
|
4 |
14 |
89 |
3 |
| zsms_attach |
|
2 |
24 |
196 |
3 |
| zsms_disable |
|
1 |
10 |
57 |
1 |
| zsms_enable |
|
1 |
11 |
60 |
1 |
| zsms_rxint |
|
6 |
29 |
175 |
1 |
| zsms_txint |
|
1 |
6 |
33 |
1 |
| zsms_stint |
|
8 |
27 |
168 |
2 |
| zsms_softint |
|
6 |
34 |
211 |
1 |
| zsms_speed_change |
|
3 |
19 |
114 |
2 |
| Source file: ./sys/dev/sun/sunkbdvar.h |
| Source file: ./sys/dev/pckbc/pckbd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pckbdactivate |
|
3 |
17 |
103 |
2 |
| pckbd_set_xtscancode |
|
19 |
53 |
302 |
3 |
| pckbd_is_console |
|
3 |
6 |
33 |
2 |
| pckbdprobe |
|
10 |
28 |
217 |
3 |
| pckbdattach |
|
3 |
36 |
312 |
3 |
| pckbd_enable |
|
7 |
36 |
241 |
2 |
| pckbd_scancode_translate |
|
12 |
28 |
154 |
2 |
| pckbd_decode |
|
11 |
40 |
223 |
4 |
| pckbd_init |
|
1 |
8 |
47 |
4 |
| pckbd_led_encode |
|
4 |
12 |
49 |
1 |
| pckbd_set_leds |
|
1 |
10 |
75 |
2 |
| pckbd_input |
|
11 |
21 |
163 |
2 |
| pckbd_ioctl |
|
7 |
30 |
208 |
5 |
| pckbd_bell |
|
2 |
6 |
38 |
4 |
| pckbd_hookup_bell |
|
2 |
7 |
42 |
2 |
| pckbd_cnattach |
|
1 |
6 |
36 |
1 |
| pckbd_cngetc |
|
5 |
15 |
87 |
3 |
| pckbd_cnpollc |
|
2 |
12 |
97 |
2 |
| pckbd_cnbell |
|
1 |
4 |
28 |
4 |
| Source file: ./sys/dev/sun/sunms.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sunms_attach |
|
1 |
12 |
85 |
2 |
| sunms_ioctl |
|
3 |
12 |
58 |
5 |
| sunms_speed_change |
|
5 |
23 |
108 |
1 |
| sunms_input |
|
19 |
55 |
355 |
2 |
| sunms_abort_input |
|
2 |
9 |
41 |
1 |
| Source file: ./sys/dev/sun/sunkbd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sunkbd_attach |
|
2 |
9 |
54 |
2 |
| sunkbd_bell |
|
9 |
27 |
171 |
4 |
| sunkbd_bellstop |
|
1 |
12 |
63 |
1 |
| sunkbd_decode |
|
3 |
14 |
60 |
3 |
| sunkbd_decode5 |
|
2 |
6 |
36 |
3 |
| sunkbd_enable |
|
1 |
4 |
16 |
2 |
| sunkbd_getleds |
|
1 |
4 |
16 |
1 |
| sunkbd_input |
|
9 |
35 |
213 |
3 |
| sunkbd_ioctl |
|
8 |
28 |
173 |
5 |
| sunkbd_raw |
|
10 |
36 |
150 |
2 |
| sunkbd_setclick |
|
3 |
9 |
56 |
2 |
| sunkbd_setleds |
|
5 |
18 |
106 |
2 |
| Source file: ./sys/dev/sun/sunkbdreg.h |
| Source file: ./sys/dev/sun/uperfio.h |
| Source file: ./sys/dev/sun/sunmsvar.h |
| Source file: ./sys/dev/ofw/fdt.h |
| Source file: ./sys/dev/ofw/fdt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fdt_check_head |
|
6 |
19 |
151 |
1 |
| fdt_init |
|
3 |
18 |
144 |
1 |
| fdt_get_size |
|
3 |
8 |
42 |
1 |
| fdt_get_str |
|
3 |
6 |
35 |
1 |
| skip_nops |
|
2 |
6 |
24 |
1 |
| skip_property |
|
1 |
7 |
48 |
1 |
| skip_props |
|
2 |
7 |
30 |
1 |
| skip_node_name |
|
1 |
6 |
40 |
1 |
| fdt_node_property |
|
5 |
22 |
145 |
3 |
| skip_node |
|
2 |
10 |
56 |
1 |
| fdt_next_node |
|
8 |
24 |
141 |
1 |
| fdt_next_property |
|
7 |
29 |
182 |
3 |
| fdt_node_property_ints |
|
4 |
11 |
92 |
4 |
| fdt_node_property_int |
|
1 |
4 |
28 |
3 |
| fdt_child_node |
|
4 |
13 |
71 |
1 |
| fdt_node_name |
|
3 |
10 |
48 |
1 |
| fdt_find_node |
|
10 |
31 |
164 |
1 |
| fdt_parent_node_recurse |
|
5 |
11 |
69 |
2 |
| fdt_parent_node |
|
3 |
9 |
42 |
1 |
| fdt_find_phandle_recurse |
|
6 |
16 |
112 |
2 |
| fdt_find_phandle |
|
1 |
4 |
18 |
1 |
| fdt_translate_reg |
|
25 |
50 |
430 |
2 |
| fdt_get_reg |
|
13 |
27 |
267 |
3 |
| fdt_is_compatible |
|
3 |
13 |
75 |
2 |
| fdt_print_property |
|
14 |
37 |
285 |
2 |
| fdt_print_node |
|
4 |
15 |
95 |
2 |
| fdt_print_node_recurse |
|
2 |
7 |
49 |
2 |
| fdt_print_tree |
|
1 |
4 |
16 |
1 |
| OF_peer |
|
3 |
9 |
63 |
1 |
| OF_child |
|
2 |
6 |
49 |
1 |
| OF_parent |
|
2 |
6 |
49 |
1 |
| OF_finddevice |
|
2 |
6 |
41 |
1 |
| OF_getnodebyname |
|
5 |
11 |
96 |
2 |
| OF_getnodebyphandle |
|
2 |
6 |
39 |
1 |
| OF_getproplen |
|
4 |
17 |
106 |
2 |
| OF_getprop |
|
6 |
22 |
150 |
4 |
| OF_getpropint |
|
2 |
9 |
55 |
3 |
| OF_getpropintarray |
|
4 |
11 |
90 |
4 |
| OF_nextprop |
|
5 |
14 |
112 |
3 |
| OF_is_compatible |
|
1 |
5 |
36 |
2 |
| OF_getindex |
|
5 |
27 |
163 |
3 |
| Source file: ./sys/dev/ofw/ofw_misc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| regmap_register |
|
2 |
15 |
90 |
4 |
| regmap_byphandle |
|
2 |
9 |
37 |
1 |
| regmap_write_4 |
|
1 |
5 |
44 |
3 |
| regmap_read_4 |
|
1 |
5 |
40 |
2 |
| Source file: ./sys/dev/usb/uvideo.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| uvideo_enable |
|
3 |
11 |
65 |
1 |
| uvideo_disable |
|
2 |
10 |
51 |
1 |
| uvideo_open |
|
2 |
15 |
109 |
6 |
| uvideo_close |
|
3 |
13 |
75 |
1 |
| uvideo_match |
|
10 |
24 |
149 |
3 |
| uvideo_attach |
|
7 |
23 |
170 |
3 |
| uvideo_attach_hook |
|
12 |
42 |
236 |
1 |
| uvideo_detach |
|
2 |
10 |
67 |
2 |
| uvideo_vc_parse_desc |
|
10 |
44 |
227 |
1 |
| uvideo_vc_parse_desc_header |
|
2 |
14 |
86 |
2 |
| uvideo_vc_parse_desc_pu |
|
2 |
13 |
73 |
2 |
| uvideo_vc_get_ctrl |
|
2 |
18 |
129 |
6 |
| uvideo_vc_set_ctrl |
|
2 |
18 |
129 |
6 |
| uvideo_find_ctrl |
|
8 |
34 |
211 |
2 |
| uvideo_has_ctrl |
|
2 |
6 |
45 |
2 |
| uvideo_vs_parse_desc |
|
11 |
55 |
371 |
2 |
| uvideo_vs_parse_desc_input_header |
|
2 |
13 |
86 |
2 |
| uvideo_vs_parse_desc_format |
|
8 |
37 |
194 |
1 |
| uvideo_vs_parse_desc_format_mjpeg |
|
6 |
30 |
199 |
2 |
| uvideo_vs_parse_desc_format_uncompressed |
|
9 |
40 |
319 |
2 |
| uvideo_vs_parse_desc_frame |
|
7 |
21 |
126 |
1 |
| uvideo_vs_parse_desc_frame_sub |
|
8 |
37 |
287 |
2 |
| uvideo_vs_parse_desc_alt |
|
13 |
56 |
373 |
4 |
| uvideo_vs_set_alt |
|
10 |
52 |
328 |
3 |
| uvideo_desc_len |
|
5 |
16 |
101 |
5 |
| uvideo_find_res |
|
5 |
25 |
189 |
5 |
| uvideo_vs_negotiation |
|
30 |
143 |
964 |
2 |
| uvideo_vs_set_probe |
|
2 |
37 |
295 |
2 |
| uvideo_vs_get_probe |
|
2 |
38 |
298 |
3 |
| uvideo_vs_set_commit |
|
2 |
21 |
133 |
2 |
| uvideo_vs_alloc_frame |
|
5 |
24 |
164 |
1 |
| uvideo_vs_free_frame |
|
4 |
16 |
110 |
1 |
| uvideo_vs_alloc_isoc |
|
4 |
25 |
196 |
1 |
| uvideo_vs_alloc_bulk |
|
3 |
22 |
146 |
1 |
| uvideo_vs_free_isoc |
|
4 |
15 |
129 |
1 |
| uvideo_vs_free_bulk |
|
3 |
11 |
79 |
1 |
| uvideo_vs_open |
|
8 |
51 |
322 |
1 |
| uvideo_vs_close |
|
3 |
14 |
95 |
1 |
| uvideo_vs_init |
|
7 |
21 |
115 |
1 |
| uvideo_vs_start_bulk |
|
2 |
12 |
62 |
1 |
| uvideo_vs_start_bulk_thread |
|
3 |
30 |
174 |
1 |
| uvideo_vs_start_isoc |
|
2 |
6 |
40 |
1 |
| uvideo_vs_start_isoc_ixfer |
|
5 |
24 |
138 |
2 |
| uvideo_vs_cb |
|
6 |
30 |
206 |
3 |
| uvideo_vs_decode_stream_header |
|
18 |
72 |
523 |
3 |
| uvideo_vs_decode_stream_header_isight |
|
11 |
33 |
240 |
3 |
| uvideo_mmap_queue |
|
6 |
26 |
222 |
3 |
| uvideo_read |
|
1 |
6 |
43 |
3 |
| uvideo_dump_desc_all |
|
23 |
147 |
653 |
1 |
| uvideo_dump_desc_vc_header |
|
1 |
13 |
104 |
2 |
| uvideo_dump_desc_input_header |
|
1 |
18 |
143 |
2 |
| uvideo_dump_desc_input |
|
1 |
13 |
98 |
2 |
| uvideo_dump_desc_output |
|
1 |
13 |
95 |
2 |
| uvideo_dump_desc_endpoint |
|
10 |
31 |
233 |
2 |
| uvideo_dump_desc_interface |
|
1 |
15 |
111 |
2 |
| uvideo_dump_desc_config |
|
1 |
14 |
105 |
2 |
| uvideo_dump_desc_cs_endpoint |
|
1 |
10 |
71 |
2 |
| uvideo_dump_desc_colorformat |
|
1 |
13 |
86 |
2 |
| uvideo_dump_desc_format_mjpeg |
|
1 |
17 |
131 |
2 |
| uvideo_dump_desc_frame |
|
5 |
47 |
345 |
2 |
| uvideo_dump_desc_format_uncompressed |
|
1 |
18 |
140 |
2 |
| uvideo_dump_desc_processing |
|
1 |
17 |
141 |
2 |
| uvideo_dump_desc_extension |
|
1 |
14 |
107 |
2 |
| uvideo_hexdump |
|
6 |
14 |
98 |
3 |
| uvideo_debug_file_open |
|
3 |
23 |
161 |
1 |
| uvideo_debug_file_write_frame |
|
3 |
15 |
108 |
1 |
| uvideo_querycap |
|
1 |
14 |
103 |
2 |
| uvideo_enum_fmt |
|
8 |
51 |
351 |
2 |
| uvideo_enum_fsizes |
|
5 |
21 |
159 |
2 |
| uvideo_enum_fivals |
|
12 |
53 |
395 |
2 |
| uvideo_s_fmt |
|
7 |
44 |
361 |
2 |
| uvideo_g_fmt |
|
2 |
13 |
137 |
2 |
| uvideo_s_parm |
|
6 |
22 |
133 |
2 |
| uvideo_g_parm |
|
2 |
13 |
92 |
2 |
| uvideo_enum_input |
|
2 |
8 |
53 |
2 |
| uvideo_s_input |
|
2 |
6 |
27 |
2 |
| uvideo_g_input |
|
1 |
5 |
22 |
2 |
| uvideo_reqbufs |
|
8 |
52 |
443 |
2 |
| uvideo_querybuf |
|
4 |
16 |
103 |
2 |
| uvideo_qbuf |
|
4 |
13 |
100 |
2 |
| uvideo_dqbuf |
|
6 |
24 |
171 |
2 |
| uvideo_streamon |
|
3 |
13 |
63 |
2 |
| uvideo_streamoff |
|
1 |
6 |
28 |
2 |
| uvideo_queryctrl |
|
25 |
103 |
609 |
2 |
| uvideo_g_ctrl |
|
10 |
43 |
250 |
2 |
| uvideo_s_ctrl |
|
9 |
39 |
235 |
2 |
| uvideo_try_fmt |
|
5 |
25 |
222 |
2 |
| uvideo_mappage |
|
3 |
11 |
61 |
3 |
| uvideo_get_bufsize |
|
1 |
5 |
22 |
1 |
| uvideo_start_read |
|
4 |
15 |
72 |
1 |
| uvideo_usb_control |
|
2 |
15 |
100 |
6 |
| uvideo_ucode_loader_ricoh |
|
8 |
62 |
403 |
1 |
| uvideo_ucode_loader_apple_isight |
|
10 |
60 |
415 |
1 |
| Source file: ./sys/dev/ofw/ofw_clock.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| clock_register |
|
2 |
8 |
59 |
1 |
| clock_get_frequency_cells |
|
7 |
25 |
165 |
1 |
| clock_set_frequency_cells |
|
4 |
12 |
75 |
2 |
| clock_enable_cells |
|
4 |
11 |
70 |
2 |
| clock_next_clock |
|
2 |
10 |
55 |
1 |
| clock_get_frequency_idx |
|
5 |
23 |
128 |
2 |
| clock_get_frequency |
|
2 |
8 |
44 |
2 |
| clock_set_frequency_idx |
|
5 |
23 |
135 |
3 |
| clock_set_frequency |
|
2 |
8 |
50 |
3 |
| clock_do_enable_idx |
|
6 |
21 |
126 |
3 |
| clock_do_enable |
|
2 |
8 |
47 |
3 |
| clock_enable_idx |
|
1 |
4 |
19 |
2 |
| clock_enable |
|
1 |
4 |
21 |
2 |
| clock_disable_idx |
|
1 |
4 |
19 |
2 |
| clock_disable |
|
1 |
4 |
21 |
2 |
| reset_register |
|
2 |
8 |
59 |
1 |
| reset_assert_cells |
|
4 |
11 |
70 |
2 |
| reset_next_reset |
|
2 |
10 |
55 |
1 |
| reset_do_assert_idx |
|
6 |
21 |
126 |
3 |
| reset_do_assert |
|
2 |
8 |
47 |
3 |
| reset_assert_idx |
|
1 |
4 |
19 |
2 |
| reset_assert |
|
1 |
4 |
21 |
2 |
| reset_deassert_idx |
|
1 |
4 |
19 |
2 |
| reset_deassert |
|
1 |
4 |
21 |
2 |
| Source file: ./sys/dev/ofw/ofw_misc.h |
| Source file: ./sys/dev/ofw/ofw_pci.h |
| Source file: ./sys/dev/ofw/ofw_pinctrl.h |
| Source file: ./sys/dev/ofw/ofw_regulator.h |
| Source file: ./sys/dev/ofw/openfirm.h |
| Source file: ./sys/dev/sun/sunkbdmap.c |
| Source file: ./sys/dev/ofw/ofw_regulator.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| regulator_register |
|
2 |
7 |
44 |
1 |
| regulator_set |
|
8 |
33 |
187 |
2 |
| regulator_enable |
|
1 |
4 |
15 |
1 |
| regulator_disable |
|
1 |
4 |
15 |
1 |
| regulator_get_voltage |
|
6 |
17 |
92 |
1 |
| regulator_set_voltage |
|
4 |
11 |
60 |
2 |
| Source file: ./sys/dev/ofw/ofw_gpio.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| gpio_controller_register |
|
2 |
8 |
59 |
1 |
| gpio_controller_config_pin |
|
4 |
11 |
70 |
2 |
| gpio_controller_get_pin |
|
4 |
13 |
75 |
1 |
| gpio_controller_set_pin |
|
4 |
11 |
70 |
2 |
| gpio_controller_next_pin |
|
2 |
9 |
50 |
1 |
| Source file: ./sys/dev/ofw/ofw_pinctrl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pinctrl_register |
|
2 |
5 |
50 |
3 |
| pinctrl_register_child |
|
3 |
15 |
118 |
3 |
| pinctrl_byphandle |
|
2 |
9 |
49 |
1 |
| pinctrl_byid |
|
3 |
16 |
118 |
2 |
| pinctrl_byname |
|
2 |
8 |
44 |
2 |
| Source file: ./sys/dev/ofw/ofw_gpio.h |
| Source file: ./sys/dev/ofw/ofw_clock.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| clock_enable_all |
|
1 |
4 |
15 |
1 |
| clock_disable_all |
|
1 |
4 |
15 |
1 |
| reset_assert_all |
|
1 |
4 |
15 |
1 |
| reset_deassert_all |
|
1 |
4 |
15 |
1 |
| Source file: ./sys/dev/tc/ascvar.h |
| Source file: ./sys/dev/tc/if_levar.h |
| Source file: ./sys/dev/tc/tc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tcmatch |
|
2 |
10 |
61 |
3 |
| tcattach |
|
9 |
61 |
455 |
3 |
| tcprint |
|
2 |
14 |
78 |
2 |
| tcsubmatch |
|
5 |
14 |
101 |
3 |
| tc_checkslot |
|
12 |
32 |
222 |
2 |
| tc_intr_disestablish |
|
1 |
8 |
50 |
3 |
| tc_devinfo |
|
5 |
16 |
101 |
3 |
| Source file: ./sys/dev/pckbc/wskbdmap_mfii.c |
| Source file: ./sys/dev/tc/ioasicreg.h |
| Source file: ./sys/dev/tc/asc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| asc_read_reg |
|
1 |
10 |
58 |
2 |
| asc_write_reg |
|
1 |
9 |
53 |
3 |
| Source file: ./sys/dev/tc/ioasicvar.h |
| Source file: ./sys/dev/tc/tcdsvar.h |
| Source file: ./sys/dev/tc/zs_ioasic.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| zs_ioasic_get_chan_addr |
|
3 |
11 |
58 |
2 |
| zs_ioasic_match |
|
4 |
12 |
89 |
3 |
| zs_ioasic_attach |
|
18 |
88 |
617 |
3 |
| zs_ioasic_print |
|
3 |
9 |
60 |
2 |
| zs_ioasic_submatch |
|
2 |
8 |
78 |
3 |
| zs_ioasic_hardintr |
|
3 |
11 |
63 |
1 |
| zs_ioasic_softintr |
|
1 |
8 |
37 |
1 |
| zs_set_speed |
|
7 |
17 |
111 |
2 |
| zs_set_modes |
|
9 |
40 |
271 |
2 |
| zs_read_reg |
|
1 |
11 |
71 |
2 |
| zs_write_reg |
|
1 |
10 |
66 |
3 |
| zs_read_csr |
|
1 |
8 |
50 |
1 |
| zs_write_csr |
|
1 |
7 |
45 |
2 |
| zs_read_data |
|
1 |
8 |
50 |
1 |
| zs_write_data |
|
1 |
7 |
45 |
2 |
| zs_abort |
|
3 |
9 |
38 |
1 |
| zs_getc |
|
2 |
12 |
61 |
1 |
| zs_putc |
|
3 |
14 |
78 |
2 |
| zs_ioasic_cninit |
|
5 |
28 |
172 |
3 |
| zs_ioasic_cnattach |
|
2 |
10 |
82 |
3 |
| zs_ioasic_lk201_cnattach |
|
2 |
10 |
65 |
3 |
| zs_ioasic_isconsole |
|
4 |
8 |
32 |
2 |
| zs_ioasic_cngetc |
|
1 |
4 |
16 |
1 |
| zs_ioasic_cnputc |
|
1 |
4 |
18 |
2 |
| zs_ioasic_cnpollc |
|
1 |
3 |
10 |
2 |
| Source file: ./sys/dev/tc/ioasic_subr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ioasicprint |
|
2 |
10 |
56 |
2 |
| ioasic_submatch |
|
2 |
8 |
45 |
2 |
| ioasic_attach_devs |
|
2 |
17 |
120 |
3 |
| Source file: ./sys/dev/tc/if_le_tc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| le_tc_match |
|
2 |
7 |
49 |
3 |
| le_tc_attach |
|
1 |
18 |
156 |
3 |
| Source file: ./sys/dev/tc/tcdsreg.h |
| Source file: ./sys/dev/tc/if_le_ioasic.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| le_ioasic_match |
|
2 |
7 |
45 |
3 |
| le_ioasic_attach |
|
8 |
73 |
500 |
3 |
| le_ioasic_copytobuf_gap2 |
|
4 |
22 |
159 |
4 |
| le_ioasic_copyfrombuf_gap2 |
|
4 |
24 |
156 |
4 |
| le_ioasic_copytobuf_gap16 |
|
9 |
61 |
462 |
4 |
| le_ioasic_copyfrombuf_gap16 |
|
9 |
57 |
464 |
4 |
| le_ioasic_zerobuf_gap16 |
|
2 |
16 |
97 |
3 |
| le_ioasic_ifmedia_change |
|
6 |
28 |
170 |
1 |
| le_ioasic_ifmedia_status |
|
2 |
14 |
107 |
2 |
| le_ioasic_nocarrier |
|
7 |
31 |
185 |
1 |
| Source file: ./sys/dev/tc/tcreg.h |
| Source file: ./sys/dev/tc/asc_tcds.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| asc_tcds_match |
|
1 |
6 |
25 |
3 |
| asc_tcds_attach |
|
4 |
36 |
278 |
3 |
| tcds_dma_reset |
|
2 |
9 |
67 |
1 |
| tcds_dma_setup |
|
8 |
40 |
353 |
5 |
| tcds_dma_go |
|
1 |
7 |
40 |
1 |
| tcds_dma_stop |
|
2 |
5 |
23 |
1 |
| tcds_dma_intr |
|
22 |
90 |
661 |
1 |
| tcds_dma_isintr |
|
1 |
8 |
40 |
1 |
| tcds_dma_isactive |
|
1 |
6 |
36 |
1 |
| tcds_clear_latched_intr |
|
1 |
6 |
35 |
1 |
| Source file: ./sys/dev/tc/zs_ioasicvar.h |
| Source file: ./sys/dev/tc/tcvar.h |
| Source file: ./sys/dev/tc/tcdevs_data.h |
| Source file: ./sys/dev/pckbc/pms.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pms_cmd |
|
2 |
10 |
74 |
5 |
| pms_spec_cmd |
|
6 |
10 |
88 |
2 |
| pms_get_devid |
|
1 |
6 |
42 |
2 |
| pms_get_status |
|
1 |
6 |
42 |
2 |
| pms_set_rate |
|
1 |
7 |
48 |
2 |
| pms_set_resolution |
|
1 |
7 |
48 |
2 |
| pms_set_scaling |
|
3 |
14 |
66 |
2 |
| pms_reset |
|
5 |
11 |
90 |
1 |
| pms_dev_enable |
|
2 |
10 |
59 |
1 |
| pms_dev_disable |
|
2 |
10 |
59 |
1 |
| pms_protocol_lookup |
|
3 |
13 |
87 |
1 |
| pms_reset_detect |
|
5 |
18 |
85 |
2 |
| pms_reset_timo |
|
3 |
9 |
51 |
1 |
| pms_reset_task |
|
4 |
15 |
109 |
1 |
| pms_enable_intelli |
|
6 |
11 |
57 |
1 |
| pms_ioctl_mouse |
|
6 |
22 |
121 |
5 |
| pms_sync_mouse |
|
6 |
16 |
82 |
2 |
| pms_proc_mouse |
|
4 |
15 |
142 |
1 |
| pmsprobe |
|
6 |
17 |
139 |
3 |
| pmsattach |
|
1 |
20 |
158 |
3 |
| pmsactivate |
|
5 |
17 |
79 |
2 |
| pms_change_state |
|
15 |
43 |
239 |
3 |
| pms_enable |
|
1 |
9 |
50 |
1 |
| pms_disable |
|
1 |
7 |
40 |
1 |
| pms_ioctl |
|
2 |
8 |
64 |
5 |
| pms_sec_enable |
|
1 |
9 |
50 |
1 |
| pms_sec_disable |
|
1 |
7 |
40 |
1 |
| pms_sec_ioctl |
|
2 |
11 |
55 |
5 |
| pmsinput |
|
5 |
21 |
122 |
2 |
| synaptics_set_mode |
|
3 |
9 |
54 |
2 |
| synaptics_query |
|
4 |
10 |
81 |
3 |
| synaptics_get_hwinfo |
|
34 |
75 |
577 |
1 |
| synaptics_sec_proc |
|
4 |
15 |
141 |
1 |
| synaptics_knock |
|
7 |
12 |
70 |
1 |
| pms_enable_synaptics |
|
18 |
68 |
394 |
1 |
| pms_ioctl_synaptics |
|
6 |
31 |
184 |
5 |
| pms_sync_synaptics |
|
5 |
15 |
80 |
2 |
| pms_proc_synaptics |
|
33 |
77 |
828 |
1 |
| pms_disable_synaptics |
|
2 |
7 |
35 |
1 |
| alps_sec_proc |
|
6 |
22 |
209 |
1 |
| alps_get_hwinfo |
|
8 |
30 |
231 |
1 |
| pms_enable_alps |
|
36 |
82 |
525 |
1 |
| pms_ioctl_alps |
|
6 |
29 |
166 |
5 |
| pms_sync_alps |
|
14 |
29 |
164 |
2 |
| pms_proc_alps |
|
16 |
38 |
389 |
1 |
| elantech_set_absolute_mode_v1 |
|
15 |
26 |
165 |
1 |
| elantech_set_absolute_mode_v2 |
|
23 |
33 |
219 |
1 |
| elantech_set_absolute_mode_v3 |
|
15 |
25 |
153 |
1 |
| elantech_set_absolute_mode_v4 |
|
10 |
14 |
85 |
1 |
| elantech_get_hwinfo_v1 |
|
9 |
30 |
187 |
1 |
| elantech_get_hwinfo_v2 |
|
22 |
53 |
403 |
1 |
| elantech_get_hwinfo_v3 |
|
7 |
26 |
210 |
1 |
| elantech_get_hwinfo_v4 |
|
11 |
33 |
276 |
1 |
| elantech_ps2_cmd |
|
1 |
6 |
41 |
2 |
| elantech_knock |
|
10 |
15 |
91 |
1 |
| pms_enable_elantech_v1 |
|
8 |
38 |
257 |
1 |
| pms_enable_elantech_v2 |
|
7 |
35 |
208 |
1 |
| pms_enable_elantech_v3 |
|
7 |
35 |
208 |
1 |
| pms_enable_elantech_v4 |
|
7 |
35 |
208 |
1 |
| pms_ioctl_elantech |
|
6 |
31 |
182 |
5 |
| pms_sync_elantech_v1 |
|
9 |
32 |
194 |
2 |
| pms_sync_elantech_v2 |
|
18 |
43 |
245 |
2 |
| pms_sync_elantech_v3 |
|
11 |
22 |
139 |
2 |
| pms_sync_elantech_v4 |
|
3 |
7 |
40 |
2 |
| pms_proc_elantech_v1 |
|
6 |
28 |
245 |
1 |
| pms_proc_elantech_v2 |
|
6 |
29 |
312 |
1 |
| pms_proc_elantech_v3 |
|
16 |
38 |
356 |
1 |
| pms_proc_elantech_v4 |
|
12 |
49 |
445 |
1 |
| Source file: ./sys/dev/tc/bba.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bba_match |
|
3 |
8 |
54 |
3 |
| bba_attach |
|
2 |
21 |
166 |
3 |
| bba_onopen |
|
1 |
3 |
9 |
1 |
| bba_onclose |
|
1 |
3 |
9 |
1 |
| bba_reset |
|
3 |
18 |
151 |
2 |
| bba_allocm |
|
7 |
42 |
273 |
5 |
| bba_freem |
|
4 |
21 |
155 |
3 |
| bba_round_buffersize |
|
2 |
6 |
37 |
3 |
| bba_halt_output |
|
2 |
22 |
164 |
1 |
| bba_halt_input |
|
2 |
22 |
164 |
1 |
| bba_trigger_output |
|
5 |
52 |
408 |
7 |
| bba_trigger_input |
|
5 |
52 |
408 |
7 |
| bba_intr |
|
5 |
29 |
234 |
1 |
| bba_get_props |
|
1 |
4 |
16 |
1 |
| bba_round_blocksize |
|
1 |
4 |
14 |
2 |
| bba_codec_iwrite |
|
1 |
6 |
46 |
3 |
| bba_codec_iwrite16 |
|
1 |
7 |
58 |
3 |
| bba_codec_iread |
|
1 |
9 |
58 |
2 |
| bba_codec_iread16 |
|
1 |
9 |
59 |
2 |
| bba_codec_dwrite |
|
2 |
6 |
66 |
3 |
| bba_codec_dread |
|
2 |
7 |
67 |
2 |
| Source file: ./sys/dev/pv/ndis.h |
| Source file: ./sys/dev/pv/pvreg.h |
| Source file: ./sys/dev/pv/virtiovar.h |
| Source file: ./sys/dev/tc/asc_tc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| asc_tc_match |
|
2 |
9 |
52 |
3 |
| asc_tc_attach |
|
2 |
29 |
233 |
3 |
| asc_tc_reset |
|
1 |
6 |
35 |
1 |
| asc_tc_intr |
|
3 |
21 |
168 |
1 |
| asc_tc_setup |
|
7 |
35 |
279 |
5 |
| asc_tc_go |
|
3 |
13 |
84 |
1 |
| asc_tc_stop |
|
3 |
8 |
56 |
1 |
| asc_dma_isintr |
|
1 |
5 |
25 |
1 |
| asc_dma_isactive |
|
1 |
6 |
36 |
1 |
| asc_clear_latched_intr |
|
1 |
4 |
11 |
1 |
| Source file: ./sys/dev/pv/viornd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| viornd_match |
|
2 |
7 |
38 |
3 |
| viornd_attach |
|
10 |
60 |
408 |
3 |
| viornd_vq_done |
|
6 |
23 |
173 |
1 |
| viornd_tick |
|
3 |
15 |
114 |
1 |
| Source file: ./sys/dev/pv/vioscsireg.h |
| Source file: ./sys/dev/pv/pvvar.h |
| Source file: ./sys/dev/tc/tcds.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tcds_lookup |
|
3 |
9 |
56 |
1 |
| tcdsmatch |
|
1 |
7 |
41 |
3 |
| tcdsattach |
|
16 |
98 |
687 |
3 |
| tcdssubmatch |
|
3 |
11 |
83 |
3 |
| tcdsprint |
|
2 |
10 |
49 |
2 |
| tcds_intr_disestablish |
|
2 |
14 |
116 |
2 |
| tcds_intrnull |
|
1 |
6 |
20 |
1 |
| tcds_scsi_reset |
|
1 |
16 |
125 |
1 |
| tcds_scsi_enable |
|
2 |
12 |
66 |
2 |
| tcds_dma_enable |
|
2 |
12 |
72 |
2 |
| tcds_scsi_isintr |
|
3 |
16 |
89 |
2 |
| tcds_scsi_iserr |
|
1 |
7 |
42 |
1 |
| tcds_intr |
|
2 |
28 |
182 |
1 |
| tcds_params |
|
7 |
29 |
167 |
4 |
| Source file: ./sys/dev/pv/viomb.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| viomb_match |
|
2 |
7 |
42 |
3 |
| viomb_attach |
|
11 |
87 |
726 |
3 |
| viomb_config_change |
|
1 |
6 |
40 |
1 |
| viomb_worker |
|
3 |
20 |
136 |
1 |
| viomb_inflate |
|
5 |
44 |
306 |
1 |
| viomb_deflate |
|
8 |
50 |
356 |
1 |
| viomb_read_config |
|
1 |
11 |
77 |
1 |
| viomb_vq_dequeue |
|
2 |
13 |
88 |
1 |
| viomb_inflate_intr |
|
4 |
28 |
201 |
1 |
| viomb_deflate_intr |
|
4 |
24 |
165 |
1 |
| Source file: ./sys/dev/pv/xenreg.h |
| Source file: ./sys/dev/pv/vioscsi.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| vioscsi_match |
|
2 |
7 |
47 |
3 |
| vioscsi_attach |
|
7 |
58 |
432 |
3 |
| vioscsi_scsi_cmd |
|
16 |
88 |
679 |
1 |
| vioscsi_req_done |
|
5 |
36 |
291 |
3 |
| vioscsi_vq_done |
|
3 |
24 |
153 |
1 |
| vioscsi_req_get |
|
2 |
12 |
76 |
1 |
| vioscsi_req_put |
|
1 |
9 |
61 |
2 |
| vioscsi_alloc_reqs |
|
15 |
78 |
577 |
3 |
| Source file: ./sys/dev/pv/virtioreg.h |
| Source file: ./sys/dev/pv/xenvar.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| clear_bit |
|
1 |
4 |
40 |
2 |
| set_bit |
|
1 |
4 |
40 |
2 |
| test_bit |
|
1 |
4 |
43 |
2 |
| Source file: ./sys/dev/pv/if_vio.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| vio_match |
|
2 |
7 |
38 |
3 |
| vio_alloc_dmamem |
|
5 |
27 |
212 |
1 |
| vio_free_dmamem |
|
1 |
8 |
69 |
1 |
| vio_alloc_mem |
|
14 |
83 |
663 |
1 |
| vio_get_lladr |
|
2 |
8 |
48 |
2 |
| vio_put_lladr |
|
2 |
8 |
48 |
2 |
| vio_attach |
|
15 |
93 |
732 |
3 |
| vio_link_state |
|
4 |
16 |
86 |
1 |
| vio_config_change |
|
1 |
6 |
36 |
1 |
| vio_media_change |
|
1 |
4 |
14 |
1 |
| vio_media_status |
|
3 |
8 |
56 |
2 |
| vio_init |
|
1 |
13 |
88 |
1 |
| vio_stop |
|
6 |
28 |
203 |
2 |
| vio_start |
|
21 |
94 |
690 |
1 |
| vio_dump |
|
2 |
17 |
134 |
1 |
| vio_ioctl |
|
14 |
44 |
249 |
3 |
| vio_add_rx_mbuf |
|
3 |
18 |
117 |
2 |
| vio_free_rx_mbuf |
|
1 |
6 |
47 |
2 |
| vio_populate_rx_mbufs |
|
11 |
49 |
348 |
1 |
| vio_rxeof |
|
6 |
53 |
358 |
1 |
| vio_rx_intr |
|
4 |
17 |
90 |
1 |
| vio_rxtick |
|
1 |
10 |
57 |
1 |
| vio_rx_drain |
|
3 |
10 |
62 |
1 |
| vio_tx_intr |
|
1 |
10 |
62 |
1 |
| vio_txtick |
|
1 |
7 |
32 |
1 |
| vio_txeof |
|
5 |
32 |
243 |
1 |
| vio_encap |
|
5 |
21 |
117 |
3 |
| vio_tx_drain |
|
3 |
13 |
97 |
1 |
| vio_ctrl_rx |
|
6 |
49 |
428 |
3 |
| vio_wait_ctrl |
|
3 |
11 |
60 |
1 |
| vio_wait_ctrl_done |
|
5 |
14 |
75 |
1 |
| vio_ctrl_wakeup |
|
1 |
5 |
27 |
2 |
| vio_ctrleof |
|
3 |
16 |
98 |
1 |
| vio_set_rx_filter |
|
6 |
51 |
423 |
1 |
| vio_iff |
|
14 |
51 |
327 |
1 |
| Source file: ./sys/dev/pv/vioblkreg.h |
| Source file: ./sys/dev/pv/vioblk.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| vioblk_match |
|
2 |
7 |
38 |
3 |
| vioblk_attach |
|
10 |
84 |
531 |
3 |
| vioblk_req_get |
|
2 |
12 |
78 |
1 |
| vioblk_req_put |
|
1 |
9 |
65 |
2 |
| vioblk_vq_done |
|
6 |
23 |
147 |
1 |
| vioblk_vq_done1 |
|
4 |
28 |
217 |
4 |
| vioblk_reset |
|
3 |
15 |
100 |
1 |
| vioblk_scsi_cmd |
|
37 |
146 |
899 |
1 |
| vioblk_scsi_inq |
|
2 |
19 |
151 |
1 |
| vioblk_scsi_capacity |
|
2 |
14 |
103 |
1 |
| vioblk_scsi_capacity16 |
|
1 |
10 |
86 |
1 |
| vioblk_scsi_done |
|
1 |
5 |
23 |
2 |
| vioblk_dev_probe |
|
2 |
7 |
36 |
1 |
| vioblk_dev_free |
|
1 |
4 |
16 |
1 |
| vioblk_alloc_reqs |
|
18 |
97 |
687 |
2 |
| Source file: ./sys/dev/pv/if_hvnreg.h |
| Source file: ./sys/dev/pv/virtio.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| virtio_device_string |
|
2 |
4 |
19 |
1 |
| virtio_log_features |
|
9 |
25 |
141 |
3 |
| virtio_reset |
|
1 |
4 |
14 |
1 |
| virtio_reinit_start |
|
4 |
20 |
134 |
1 |
| virtio_reinit_end |
|
1 |
4 |
16 |
1 |
| vq_sync_descs |
|
1 |
5 |
36 |
3 |
| vq_sync_aring |
|
1 |
6 |
51 |
3 |
| vq_sync_uring |
|
1 |
6 |
52 |
3 |
| vq_sync_indirect |
|
1 |
8 |
64 |
4 |
| virtio_check_vqs |
|
5 |
18 |
116 |
1 |
| virtio_init_vq |
|
5 |
26 |
204 |
3 |
| virtio_alloc_vq |
|
17 |
95 |
748 |
6 |
| virtio_free_vq |
|
2 |
21 |
160 |
2 |
| vq_alloc_entry |
|
2 |
9 |
50 |
1 |
| vq_free_entry |
|
1 |
4 |
26 |
2 |
| virtio_enqueue_prep |
|
2 |
11 |
58 |
2 |
| virtio_enqueue_reserve |
|
8 |
48 |
357 |
3 |
| virtio_enqueue |
|
6 |
27 |
220 |
4 |
| virtio_enqueue_p |
|
3 |
17 |
155 |
6 |
| publish_avail_idx |
|
1 |
8 |
52 |
2 |
| virtio_enqueue_commit |
|
7 |
30 |
222 |
4 |
| virtio_enqueue_abort |
|
3 |
19 |
116 |
2 |
| virtio_enqueue_trim |
|
3 |
20 |
150 |
3 |
| virtio_dequeue |
|
5 |
20 |
134 |
4 |
| virtio_dequeue_commit |
|
2 |
13 |
92 |
2 |
| virtio_postpone_intr |
|
2 |
12 |
65 |
2 |
| virtio_postpone_intr_smart |
|
1 |
6 |
41 |
1 |
| virtio_postpone_intr_far |
|
1 |
6 |
37 |
1 |
| virtio_stop_vq_intr |
|
2 |
10 |
62 |
2 |
| virtio_start_vq_intr |
|
3 |
13 |
76 |
2 |
| virtio_nused |
|
1 |
7 |
41 |
1 |
| virtio_vq_dump |
|
1 |
16 |
132 |
1 |
| Source file: ./sys/dev/pv/pvbus.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pvbus_probe |
|
2 |
6 |
21 |
1 |
| pvbus_match |
|
1 |
5 |
44 |
3 |
| pvbus_attach |
|
5 |
19 |
145 |
3 |
| pvbus_identify |
|
12 |
42 |
280 |
1 |
| pvbus_init_cpu |
|
4 |
10 |
64 |
1 |
| pvbus_activate |
|
4 |
19 |
83 |
2 |
| pvbus_search |
|
2 |
12 |
100 |
3 |
| pvbus_print |
|
2 |
7 |
40 |
2 |
| pvbus_shutdown |
|
1 |
7 |
34 |
1 |
| pvbus_reboot |
|
1 |
7 |
34 |
1 |
| pvbus_kvm |
|
1 |
7 |
53 |
1 |
| pvbus_hyperv |
|
1 |
13 |
114 |
1 |
| pvbus_hyperv_print |
|
1 |
4 |
22 |
1 |
| pvbus_xen |
|
4 |
12 |
97 |
1 |
| pvbus_xen_print |
|
1 |
4 |
22 |
1 |
| pvbus_minor |
|
4 |
13 |
82 |
2 |
| pvbusopen |
|
3 |
8 |
51 |
4 |
| pvbusclose |
|
3 |
8 |
51 |
4 |
| pvbusgetstr |
|
4 |
15 |
97 |
3 |
| pvbusioctl |
|
16 |
60 |
408 |
5 |
| Source file: ./sys/dev/pv/xenstore.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| xs_attach |
|
8 |
66 |
535 |
1 |
| xs_get_msg |
|
4 |
22 |
140 |
2 |
| xs_put_msg |
|
1 |
7 |
55 |
2 |
| xs_geterror |
|
3 |
8 |
61 |
1 |
| xs_ring_avail |
|
4 |
7 |
64 |
2 |
| xs_poll |
|
2 |
11 |
68 |
2 |
| xs_output |
|
6 |
20 |
128 |
3 |
| xs_start |
|
4 |
27 |
210 |
4 |
| xs_reply |
|
6 |
30 |
188 |
2 |
| xs_ring_put |
|
3 |
19 |
150 |
3 |
| xs_ring_get |
|
3 |
19 |
150 |
3 |
| xs_intr |
|
14 |
79 |
518 |
1 |
| xs_get_buf |
|
3 |
10 |
70 |
3 |
| xs_put_buf |
|
1 |
5 |
33 |
2 |
| xs_resfree |
|
2 |
7 |
67 |
3 |
| xs_parse |
|
10 |
39 |
337 |
4 |
| xs_event |
|
5 |
29 |
192 |
2 |
| xs_cmd |
|
24 |
80 |
578 |
5 |
| xs_watch |
|
6 |
43 |
379 |
6 |
| atoull |
|
7 |
24 |
143 |
2 |
| xs_getnum |
|
5 |
19 |
119 |
4 |
| xs_setnum |
|
3 |
10 |
86 |
4 |
| xs_getprop |
|
7 |
26 |
218 |
5 |
| xs_setprop |
|
5 |
25 |
195 |
5 |
| xs_cmpprop |
|
6 |
25 |
215 |
5 |
| xs_await_transition |
|
5 |
15 |
101 |
5 |
| xs_kvop |
|
13 |
49 |
308 |
5 |
| Source file: ./sys/dev/pv/hypervvar.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| clear_bit |
|
1 |
4 |
40 |
2 |
| set_bit |
|
1 |
4 |
40 |
2 |
| test_bit |
|
1 |
4 |
43 |
2 |
| Source file: ./sys/dev/pv/xbf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| xbf_match |
|
2 |
7 |
45 |
3 |
| xbf_attach |
|
5 |
45 |
334 |
3 |
| xbf_detach |
|
3 |
15 |
96 |
2 |
| xbf_intr |
|
4 |
31 |
201 |
1 |
| xbf_scsi_cmd |
|
26 |
60 |
267 |
1 |
| xbf_load_cmd |
|
7 |
51 |
410 |
1 |
| xbf_bounce_cmd |
|
9 |
60 |
486 |
1 |
| xbf_reclaim_cmd |
|
3 |
11 |
88 |
1 |
| xbf_submit_cmd |
|
27 |
99 |
727 |
1 |
| xbf_poll_cmd |
|
4 |
14 |
80 |
1 |
| xbf_complete_cmd |
|
6 |
43 |
372 |
3 |
| xbf_scsi_inq |
|
2 |
8 |
47 |
1 |
| xbf_scsi_inquiry |
|
2 |
23 |
167 |
1 |
| xbf_scsi_capacity |
|
2 |
14 |
105 |
1 |
| xbf_scsi_capacity16 |
|
1 |
10 |
88 |
1 |
| xbf_scsi_done |
|
1 |
8 |
37 |
2 |
| xbf_dev_probe |
|
2 |
6 |
27 |
1 |
| xbf_get_type |
|
6 |
33 |
283 |
1 |
| xbf_init |
|
39 |
123 |
920 |
1 |
| xbf_dma_alloc |
|
6 |
56 |
370 |
5 |
| xbf_dma_free |
|
3 |
15 |
139 |
2 |
| xbf_ring_create |
|
5 |
19 |
187 |
1 |
| xbf_ring_destroy |
|
1 |
6 |
30 |
1 |
| xbf_stop |
|
2 |
21 |
148 |
1 |
| xbf_alloc_ccbs |
|
4 |
32 |
228 |
1 |
| xbf_free_ccbs |
|
3 |
17 |
126 |
1 |
| xbf_get_ccb |
|
4 |
14 |
88 |
1 |
| xbf_put_ccb |
|
1 |
9 |
60 |
2 |
| Source file: ./sys/dev/pv/hypervreg.h |
| Source file: ./sys/dev/pv/vmmci.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| vmmci_match |
|
2 |
7 |
42 |
3 |
| vmmci_attach |
|
3 |
25 |
188 |
3 |
| vmmci_activate |
|
3 |
17 |
90 |
2 |
| vmmci_config_change |
|
8 |
31 |
158 |
1 |
| vmmci_tick |
|
2 |
18 |
141 |
1 |
| vmmci_tick_hook |
|
1 |
6 |
38 |
1 |
| Source file: ./sys/dev/pv/hvs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| hvs_match |
|
3 |
8 |
54 |
3 |
| hvs_attach |
|
10 |
46 |
388 |
3 |
| hvs_scsi_cmd |
|
14 |
92 |
644 |
1 |
| hvs_start |
|
4 |
23 |
147 |
2 |
| hvs_poll_done |
|
2 |
10 |
66 |
1 |
| hvs_poll |
|
3 |
25 |
143 |
2 |
| hvs_intr |
|
9 |
49 |
243 |
1 |
| is_inquiry_valid |
|
3 |
8 |
48 |
1 |
| fixup_inquiry |
|
14 |
24 |
203 |
2 |
| hvs_scsi_cmd_done |
|
10 |
50 |
289 |
1 |
| hvs_scsi_probe |
|
2 |
6 |
32 |
1 |
| hvs_scsi_done |
|
1 |
9 |
41 |
2 |
| hvs_connect |
|
14 |
101 |
649 |
1 |
| hvs_empty_done |
|
1 |
3 |
9 |
1 |
| hvs_alloc_ccbs |
|
5 |
36 |
253 |
1 |
| hvs_free_ccbs |
|
3 |
19 |
147 |
1 |
| hvs_get_ccb |
|
2 |
11 |
67 |
1 |
| hvs_put_ccb |
|
1 |
13 |
84 |
2 |
| Source file: ./sys/dev/pv/viocon.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dev2sc |
|
1 |
4 |
18 |
0 |
| dev2port |
|
1 |
4 |
21 |
0 |
| viocon_match |
|
2 |
7 |
38 |
0 |
| viocon_attach |
|
5 |
36 |
286 |
0 |
| viocon_port_create |
|
10 |
74 |
598 |
0 |
| viocon_tx_drain |
|
2 |
14 |
96 |
0 |
| viocon_tx_intr |
|
3 |
16 |
124 |
0 |
| viocon_rx_fill |
|
5 |
19 |
147 |
0 |
| viocon_rx_intr |
|
1 |
9 |
67 |
0 |
| viocon_rx_soft |
|
4 |
19 |
152 |
0 |
| vioconstart |
|
9 |
48 |
337 |
0 |
| vioconhwiflow |
|
2 |
15 |
89 |
0 |
| vioconparam |
|
1 |
8 |
46 |
0 |
| vioconopen |
|
10 |
48 |
332 |
0 |
| vioconclose |
|
3 |
15 |
107 |
0 |
| vioconread |
|
1 |
6 |
51 |
0 |
| vioconwrite |
|
1 |
6 |
51 |
0 |
| viocontty |
|
1 |
5 |
22 |
0 |
| vioconstop |
|
3 |
10 |
61 |
0 |
| vioconioctl |
|
3 |
14 |
108 |
0 |
| Source file: ./sys/dev/pv/xen.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| xen_match |
|
2 |
8 |
55 |
3 |
| xen_attach |
|
7 |
27 |
163 |
3 |
| xen_deferred |
|
3 |
14 |
82 |
1 |
| xen_control |
|
9 |
31 |
223 |
1 |
| xen_resume |
|
1 |
3 |
9 |
1 |
| xen_activate |
|
2 |
10 |
38 |
2 |
| xen_init_hypercall |
|
3 |
19 |
134 |
1 |
| xen_hypercall |
|
4 |
13 |
99 |
4 |
| xen_hypercallv |
|
10 |
117 |
532 |
4 |
| xen_getfeatures |
|
3 |
15 |
91 |
1 |
| xen_print_info_page |
|
14 |
40 |
309 |
1 |
| xen_init_info_page |
|
4 |
25 |
168 |
1 |
| xen_init_cbvec |
|
3 |
15 |
92 |
1 |
| xen_init_interrupts |
|
2 |
12 |
85 |
1 |
| xen_evtchn_hypercall |
|
2 |
13 |
100 |
4 |
| xen_intsrc_add |
|
1 |
7 |
50 |
2 |
| xen_intsrc_acquire |
|
2 |
13 |
71 |
2 |
| xen_intsrc_release |
|
1 |
4 |
22 |
2 |
| xen_intsrc_remove |
|
3 |
15 |
93 |
2 |
| xen_intr_mask_acquired |
|
1 |
5 |
37 |
2 |
| xen_intr_unmask_release |
|
2 |
10 |
82 |
2 |
| xen_intr_ack |
|
1 |
9 |
57 |
1 |
| xen_intr |
|
7 |
34 |
270 |
1 |
| xen_intr_schedule |
|
2 |
7 |
49 |
1 |
| xen_intr_barrier |
|
2 |
10 |
58 |
1 |
| xen_intr_signal |
|
2 |
11 |
73 |
1 |
| xen_intr_establish |
|
16 |
76 |
620 |
6 |
| xen_intr_disestablish |
|
4 |
22 |
170 |
1 |
| xen_intr_dispatch |
|
2 |
8 |
44 |
1 |
| xen_intr_enable |
|
4 |
21 |
138 |
1 |
| xen_intr_mask |
|
2 |
10 |
58 |
1 |
| xen_intr_unmask |
|
2 |
9 |
57 |
1 |
| xen_init_grant_tables |
|
6 |
30 |
207 |
1 |
| xen_grant_table_grow |
|
6 |
43 |
311 |
1 |
| xen_grant_table_alloc |
|
14 |
52 |
362 |
2 |
| xen_grant_table_free |
|
7 |
25 |
197 |
2 |
| xen_grant_table_enter |
|
7 |
24 |
198 |
5 |
| xen_grant_table_remove |
|
9 |
31 |
253 |
2 |
| xen_bus_dmamap_create |
|
7 |
29 |
212 |
7 |
| xen_bus_dmamap_destroy |
|
3 |
14 |
101 |
2 |
| xen_bus_dmamap_load |
|
4 |
19 |
174 |
6 |
| xen_bus_dmamap_load_mbuf |
|
4 |
19 |
163 |
4 |
| xen_bus_dmamap_unload |
|
3 |
14 |
107 |
2 |
| xen_bus_dmamap_sync |
|
3 |
7 |
45 |
5 |
| xen_attach_print |
|
2 |
7 |
44 |
2 |
| xen_attach_device |
|
5 |
29 |
259 |
4 |
| xen_probe_devices |
|
10 |
54 |
447 |
1 |
| xen_hotplug |
|
9 |
51 |
403 |
1 |
| xen_disable_emulated_devices |
|
7 |
17 |
85 |
1 |
| xen_unplug_emulated |
|
1 |
5 |
24 |
2 |
| Source file: ./sys/dev/pv/if_hvn.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| hvn_match |
|
2 |
7 |
45 |
3 |
| hvn_attach |
|
11 |
68 |
436 |
3 |
| hvn_ioctl |
|
11 |
38 |
208 |
3 |
| hvn_media_change |
|
1 |
4 |
14 |
1 |
| hvn_media_status |
|
2 |
10 |
61 |
2 |
| hvn_link_status |
|
2 |
8 |
46 |
1 |
| hvn_iff |
|
1 |
5 |
20 |
1 |
| hvn_init |
|
2 |
10 |
56 |
1 |
| hvn_stop |
|
2 |
11 |
65 |
1 |
| hvn_start |
|
8 |
30 |
153 |
1 |
| hvn_rndis_pktinfo_append |
|
1 |
18 |
129 |
4 |
| hvn_encap |
|
13 |
74 |
559 |
3 |
| hvn_decap |
|
1 |
10 |
70 |
2 |
| hvn_txeof |
|
4 |
21 |
149 |
2 |
| hvn_rx_ring_create |
|
10 |
53 |
346 |
1 |
| hvn_rx_ring_destroy |
|
3 |
19 |
139 |
1 |
| hvn_tx_ring_create |
|
7 |
57 |
396 |
1 |
| hvn_tx_ring_destroy |
|
6 |
33 |
229 |
1 |
| hvn_get_lladdr |
|
3 |
11 |
65 |
1 |
| hvn_set_lladdr |
|
1 |
5 |
27 |
1 |
| hvn_get_link_status |
|
3 |
9 |
51 |
1 |
| hvn_nvs_attach |
|
12 |
73 |
536 |
1 |
| hvn_nvs_intr |
|
14 |
55 |
308 |
1 |
| hvn_nvs_cmd |
|
15 |
46 |
285 |
5 |
| hvn_nvs_ack |
|
5 |
20 |
115 |
2 |
| hvn_nvs_detach |
|
2 |
7 |
39 |
1 |
| hvn_alloc_cmd |
|
2 |
11 |
82 |
1 |
| hvn_submit_cmd |
|
1 |
6 |
42 |
2 |
| hvn_complete_cmd |
|
3 |
18 |
111 |
2 |
| hvn_release_cmd |
|
1 |
6 |
42 |
2 |
| hvn_rollback_cmd |
|
2 |
14 |
87 |
2 |
| hvn_free_cmd |
|
1 |
10 |
99 |
2 |
| hvn_rndis_attach |
|
10 |
94 |
717 |
1 |
| hvn_set_capabilities |
|
3 |
22 |
146 |
1 |
| hvn_rndis_cmd |
|
15 |
64 |
441 |
3 |
| hvn_rndis_input |
|
10 |
42 |
269 |
3 |
| hvn_devget |
|
4 |
17 |
115 |
3 |
| hvn_rxeof |
|
15 |
69 |
448 |
4 |
| hvn_rndis_complete |
|
6 |
24 |
178 |
3 |
| hvn_rndis_output |
|
2 |
13 |
90 |
2 |
| hvn_rndis_status |
|
4 |
22 |
96 |
3 |
| hvn_rndis_query |
|
4 |
43 |
283 |
4 |
| hvn_rndis_set |
|
4 |
36 |
273 |
4 |
| hvn_rndis_open |
|
3 |
17 |
73 |
1 |
| hvn_rndis_close |
|
2 |
11 |
54 |
1 |
| hvn_rndis_detach |
|
2 |
20 |
142 |
1 |
| Source file: ./sys/dev/pv/hypervicreg.h |
| Source file: ./sys/dev/rasops/rasops_masks.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rasops_masks_init |
|
5 |
18 |
148 |
1 |
| Source file: ./sys/dev/pv/vmt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| vmt_probe_cmd |
|
1 |
11 |
96 |
2 |
| vmt_probe |
|
4 |
12 |
69 |
1 |
| vmt_match |
|
3 |
10 |
67 |
3 |
| vmt_attach |
|
4 |
38 |
264 |
3 |
| vmt_kvop |
|
8 |
47 |
275 |
5 |
| vmt_resume |
|
1 |
16 |
111 |
1 |
| vmt_activate |
|
3 |
13 |
47 |
2 |
| vmt_update_guest_uptime |
|
2 |
8 |
46 |
1 |
| vmt_update_guest_info |
|
6 |
25 |
168 |
1 |
| vmt_tick_hook |
|
1 |
6 |
38 |
1 |
| vmt_tick |
|
2 |
26 |
207 |
1 |
| vmt_tclo_state_change_success |
|
2 |
9 |
48 |
3 |
| vmt_do_shutdown |
|
1 |
6 |
36 |
1 |
| vmt_do_reboot |
|
1 |
6 |
36 |
1 |
| vmt_shutdown |
|
3 |
13 |
74 |
1 |
| vmt_tclo_reset |
|
3 |
13 |
77 |
1 |
| vmt_tclo_ping |
|
2 |
8 |
46 |
1 |
| vmt_tclo_halt |
|
1 |
4 |
14 |
1 |
| vmt_tclo_reboot |
|
1 |
4 |
14 |
1 |
| vmt_tclo_poweron |
|
2 |
8 |
50 |
1 |
| vmt_tclo_suspend |
|
2 |
11 |
63 |
1 |
| vmt_tclo_resume |
|
2 |
14 |
83 |
1 |
| vmt_tclo_capreg |
|
7 |
34 |
178 |
1 |
| vmt_tclo_broadcastip |
|
9 |
44 |
243 |
1 |
| vmt_tclo_process |
|
3 |
12 |
90 |
2 |
| vmt_tclo_tick |
|
15 |
68 |
372 |
1 |
| vm_cmd |
|
1 |
4 |
16 |
1 |
| vm_ins |
|
1 |
4 |
16 |
1 |
| vm_outs |
|
1 |
4 |
16 |
1 |
| vm_rpc_open |
|
3 |
21 |
176 |
2 |
| vm_rpc_close |
|
3 |
23 |
173 |
1 |
| vm_rpc_send |
|
5 |
37 |
298 |
3 |
| vm_rpc_send_str |
|
1 |
4 |
28 |
2 |
| vm_rpc_get_data |
|
4 |
38 |
294 |
4 |
| vm_rpc_get_length |
|
3 |
27 |
209 |
3 |
| vm_rpci_response_successful |
|
2 |
4 |
30 |
1 |
| vm_rpc_send_rpci_tx_buf |
|
8 |
39 |
215 |
3 |
| vm_rpc_send_rpci_tx |
|
2 |
13 |
82 |
3 |
| Source file: ./sys/dev/pv/hypervic.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| hv_attach_icdevs |
|
11 |
38 |
249 |
1 |
| hv_ic_negotiate |
|
12 |
42 |
313 |
4 |
| hv_heartbeat_attach |
|
3 |
13 |
80 |
1 |
| hv_heartbeat |
|
7 |
40 |
243 |
1 |
| hv_shutdown_task |
|
1 |
5 |
23 |
1 |
| hv_shutdown_attach |
|
3 |
14 |
92 |
1 |
| hv_shutdown |
|
10 |
46 |
288 |
1 |
| hv_timesync_attach |
|
3 |
19 |
141 |
1 |
| hv_timesync |
|
8 |
52 |
341 |
1 |
| copyout_utf16le |
|
2 |
12 |
91 |
4 |
| copyin_utf16le |
|
2 |
10 |
80 |
4 |
| keycmp_utf16le |
|
4 |
11 |
93 |
3 |
| kvp_pool_init |
|
1 |
6 |
33 |
1 |
| kvp_pool_insert |
|
5 |
29 |
219 |
5 |
| kvp_pool_update |
|
5 |
23 |
158 |
5 |
| kvp_pool_import |
|
6 |
28 |
199 |
6 |
| kvp_pool_export |
|
3 |
21 |
155 |
7 |
| kvp_pool_remove |
|
3 |
17 |
114 |
3 |
| kvp_pool_extract |
|
7 |
31 |
185 |
4 |
| kvp_pool_keys |
|
2 |
13 |
87 |
4 |
| hv_kvp_attach |
|
8 |
37 |
291 |
1 |
| nibble |
|
7 |
10 |
68 |
1 |
| kvp_get_ip_info |
|
25 |
101 |
654 |
6 |
| hv_kvp_process |
|
19 |
82 |
573 |
2 |
| hv_kvp |
|
11 |
61 |
349 |
1 |
| kvp_poolname |
|
5 |
18 |
118 |
1 |
| hv_kvop |
|
11 |
39 |
263 |
5 |
| Source file: ./sys/dev/rasops/rasops24.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rasops24_init |
|
5 |
27 |
132 |
1 |
| rasops24_putchar |
|
12 |
57 |
496 |
5 |
| Source file: ./sys/dev/rasops/rasops_bitops.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| NAME( erasecols) |
|
13 |
54 |
410 |
5 |
| NAME( do_cursor) |
|
6 |
30 |
227 |
1 |
| NAME( copycols) |
|
26 |
115 |
885 |
5 |
| Source file: ./sys/dev/rasops/rasops.h |
| Source file: ./sys/dev/rasops/rasops4.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rasops4_init |
|
5 |
24 |
117 |
1 |
| rasops4_putchar |
|
15 |
77 |
667 |
5 |
| rasops4_putchar |
|
1 |
4 |
25 |
5 |
| rasops4_makestamp |
|
11 |
17 |
218 |
2 |
| rasops4_putchar8 |
|
10 |
50 |
345 |
5 |
| rasops4_putchar12 |
|
10 |
53 |
386 |
5 |
| rasops4_putchar16 |
|
10 |
56 |
418 |
5 |
| Source file: ./sys/dev/pv/hyperv.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| hv_match |
|
4 |
8 |
69 |
3 |
| hv_attach |
|
8 |
33 |
201 |
3 |
| hv_set_version |
|
1 |
7 |
33 |
1 |
| hv_gettime |
|
1 |
5 |
22 |
1 |
| hv_init_hypercall |
|
3 |
18 |
111 |
1 |
| hv_hypercall |
|
6 |
34 |
257 |
4 |
| hv_init_interrupts |
|
3 |
23 |
190 |
1 |
| hv_init_synic |
|
3 |
36 |
277 |
1 |
| hv_cmd |
|
5 |
24 |
167 |
6 |
| hv_start |
|
7 |
38 |
269 |
2 |
| hv_reply_done |
|
2 |
13 |
74 |
2 |
| hv_reply |
|
2 |
10 |
73 |
2 |
| hv_wait |
|
5 |
15 |
112 |
5 |
| hv_intr_signal |
|
1 |
6 |
37 |
2 |
| hv_intr |
|
1 |
6 |
23 |
1 |
| hv_event_intr |
|
11 |
47 |
310 |
1 |
| hv_message_intr |
|
6 |
30 |
180 |
1 |
| hv_channel_response |
|
3 |
23 |
159 |
2 |
| hv_channel_offer |
|
2 |
14 |
102 |
2 |
| hv_channel_rescind |
|
1 |
7 |
45 |
2 |
| hv_channel_delivered |
|
1 |
5 |
32 |
2 |
| hv_vmbus_connect |
|
14 |
83 |
610 |
1 |
| guidprint |
|
6 |
20 |
276 |
1 |
| hv_guid_sprint |
|
5 |
37 |
258 |
3 |
| hv_channel_scan_done |
|
1 |
4 |
24 |
2 |
| hv_channel_scan |
|
3 |
30 |
235 |
1 |
| hv_process_offer |
|
11 |
56 |
492 |
2 |
| hv_channel_lookup |
|
2 |
9 |
48 |
2 |
| hv_channel_ring_create |
|
4 |
31 |
285 |
2 |
| hv_channel_ring_destroy |
|
1 |
8 |
75 |
1 |
| hv_channel_open |
|
7 |
39 |
285 |
6 |
| hv_channel_close |
|
2 |
19 |
122 |
1 |
| hv_channel_setevent |
|
2 |
10 |
80 |
2 |
| hv_channel_intr |
|
3 |
10 |
52 |
1 |
| hv_channel_setdeferred |
|
2 |
8 |
60 |
2 |
| hv_channel_schedule |
|
4 |
10 |
59 |
1 |
| hv_ring_put |
|
2 |
9 |
96 |
3 |
| hv_ring_get |
|
3 |
12 |
106 |
4 |
| hv_ring_avail |
|
4 |
15 |
91 |
3 |
| hv_ring_write |
|
6 |
29 |
223 |
4 |
| hv_channel_send |
|
3 |
29 |
250 |
6 |
| hv_channel_send_sgl |
|
3 |
34 |
298 |
6 |
| hv_channel_send_prpl |
|
3 |
34 |
302 |
6 |
| hv_ring_peek |
|
2 |
10 |
69 |
3 |
| hv_ring_read |
|
4 |
22 |
151 |
4 |
| hv_channel_recv |
|
5 |
27 |
204 |
6 |
| hv_ring_mask |
|
1 |
6 |
25 |
1 |
| hv_ring_unmask |
|
1 |
6 |
25 |
1 |
| hv_channel_pause |
|
1 |
4 |
17 |
1 |
| hv_channel_unpause |
|
1 |
7 |
38 |
1 |
| hv_channel_ready |
|
1 |
6 |
30 |
1 |
| hv_handle_alloc |
|
19 |
106 |
860 |
4 |
| hv_handle_free |
|
3 |
16 |
113 |
2 |
| hv_attach_print |
|
2 |
7 |
40 |
2 |
| hv_attach_devices |
|
4 |
30 |
223 |
1 |
| hv_evcount_attach |
|
1 |
5 |
38 |
2 |
| Source file: ./sys/dev/rasops/rasops32.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rasops32_init |
|
2 |
12 |
63 |
1 |
| rasops32_putchar |
|
11 |
49 |
442 |
5 |
| Source file: ./sys/dev/rasops/rasops_masks.h |
| Source file: ./sys/dev/rasops/rasops8.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rasops8_init |
|
4 |
17 |
70 |
1 |
| rasops8_putchar |
|
11 |
46 |
396 |
5 |
| rasops8_makestamp |
|
13 |
20 |
246 |
2 |
| rasops8_putchar8 |
|
10 |
46 |
353 |
5 |
| rasops8_putchar12 |
|
10 |
48 |
388 |
5 |
| rasops8_putchar16 |
|
10 |
46 |
399 |
5 |
| Source file: ./sys/dev/pci/bktr/bktr_core.h |
| Source file: ./sys/dev/rasops/rasops1.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rasops1_init |
|
4 |
20 |
99 |
1 |
| rasops1_putchar |
|
21 |
108 |
972 |
5 |
| rasops1_putchar8 |
|
13 |
42 |
306 |
5 |
| rasops1_putchar16 |
|
13 |
44 |
343 |
5 |
| Source file: ./sys/dev/rasops/rasops15.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rasops15_init |
|
5 |
25 |
132 |
1 |
| rasops15_putchar |
|
11 |
50 |
422 |
5 |
| rasops15_makestamp |
|
11 |
18 |
230 |
2 |
| rasops15_putchar8 |
|
10 |
52 |
421 |
5 |
| rasops15_putchar12 |
|
10 |
55 |
473 |
5 |
| rasops15_putchar16 |
|
10 |
60 |
529 |
5 |
| Source file: ./sys/dev/pci/bktr/bktr_os.h |
| Source file: ./sys/dev/pv/if_xnf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| xnf_match |
|
2 |
7 |
45 |
3 |
| xnf_attach |
|
10 |
64 |
440 |
3 |
| xnf_detach |
|
3 |
14 |
85 |
2 |
| nibble |
|
7 |
10 |
68 |
1 |
| xnf_lladdr |
|
5 |
16 |
151 |
1 |
| xnf_ioctl |
|
11 |
39 |
210 |
3 |
| xnf_media_change |
|
1 |
4 |
14 |
1 |
| xnf_media_status |
|
1 |
5 |
30 |
2 |
| xnf_iff |
|
1 |
4 |
14 |
1 |
| xnf_init |
|
2 |
14 |
77 |
1 |
| xnf_stop |
|
3 |
14 |
85 |
1 |
| xnf_start |
|
11 |
41 |
271 |
1 |
| xnf_fragcount |
|
4 |
16 |
104 |
1 |
| xnf_encap |
|
14 |
81 |
626 |
3 |
| xnf_intr |
|
2 |
9 |
47 |
1 |
| xnf_watchdog |
|
1 |
8 |
56 |
1 |
| xnf_txeof |
|
5 |
40 |
309 |
1 |
| xnf_rxeof |
|
10 |
73 |
517 |
1 |
| xnf_rx_ring_fill |
|
8 |
42 |
319 |
1 |
| xnf_rx_ring_create |
|
7 |
44 |
326 |
1 |
| xnf_rx_ring_drain |
|
2 |
6 |
33 |
1 |
| xnf_rx_ring_destroy |
|
7 |
33 |
249 |
1 |
| xnf_tx_ring_create |
|
9 |
55 |
396 |
1 |
| xnf_tx_ring_drain |
|
2 |
6 |
33 |
1 |
| xnf_tx_ring_destroy |
|
6 |
34 |
278 |
1 |
| xnf_capabilities |
|
24 |
50 |
373 |
1 |
| xnf_init_backend |
|
11 |
37 |
263 |
1 |
| Source file: ./sys/dev/pci/bktr/bktr_audio.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| init_audio_devices |
|
4 |
8 |
54 |
1 |
| set_audio |
|
21 |
77 |
512 |
2 |
| temp_mute |
|
3 |
13 |
66 |
2 |
| init_BTSC |
|
1 |
10 |
84 |
1 |
| set_BTSC |
|
1 |
4 |
24 |
2 |
| set_bctv_audio |
|
7 |
29 |
106 |
1 |
| bctv_gpio_write |
|
3 |
26 |
152 |
3 |
| msp_read_id |
|
1 |
8 |
94 |
1 |
| msp_autodetect |
|
26 |
87 |
799 |
1 |
| dpl_read_id |
|
1 |
8 |
98 |
1 |
| dpl_autodetect |
|
1 |
9 |
112 |
1 |
| Source file: ./sys/dev/pci/bktr/bktr_tuner.h |
| Source file: ./sys/dev/pci/bktr/bktr_audio.h |
| Source file: ./sys/dev/pci/bktr/bktr_reg.h |
| Source file: ./sys/dev/pci/bktr/bktr_card.h |
| Source file: ./sys/dev/pci/bktr/bktr_card.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| writeEEProm |
|
1 |
4 |
23 |
4 |
| readEEProm |
|
6 |
21 |
163 |
4 |
| signCard |
|
4 |
12 |
97 |
4 |
| check_for_i2c_devices |
|
6 |
12 |
89 |
1 |
| locate_tuner_address |
|
5 |
7 |
67 |
1 |
| locate_eeprom_address |
|
4 |
6 |
53 |
1 |
| probeCard |
|
133 |
493 |
3459 |
3 |
| Source file: ./sys/dev/pci/bktr/bktr_os.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bktr_intr |
|
1 |
1 |
14 |
1 |
| bktr_probe |
|
6 |
14 |
85 |
3 |
| bktr_attach |
|
10 |
64 |
465 |
3 |
| get_bktr_mem |
|
6 |
45 |
287 |
3 |
| free_bktr_mem |
|
1 |
10 |
58 |
3 |
| bktr_open |
|
7 |
20 |
129 |
4 |
| bktr_close |
|
4 |
16 |
87 |
4 |
| bktr_read |
|
3 |
14 |
83 |
3 |
| bktr_write |
|
1 |
4 |
20 |
3 |
| bktr_ioctl |
|
4 |
16 |
108 |
5 |
| bktr_mmap |
|
4 |
15 |
102 |
3 |
| bktr_set_info |
|
11 |
46 |
280 |
2 |
| bktr_get_info |
|
5 |
25 |
170 |
2 |
| Source file: ./sys/dev/pci/bktr/bktr_tuner.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| frequency_lookup |
|
4 |
14 |
72 |
2 |
| select_tuner |
|
2 |
7 |
41 |
2 |
| tv_freq |
|
20 |
68 |
508 |
3 |
| do_afc |
|
15 |
41 |
268 |
3 |
| get_tuner_status |
|
1 |
3 |
21 |
1 |
| tv_channel |
|
3 |
9 |
66 |
2 |
| tuner_getchnlset |
|
3 |
10 |
73 |
1 |
| Source file: ./sys/dev/rasops/rasops.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rasops_init |
|
18 |
77 |
581 |
3 |
| rasops_reconfig |
|
35 |
119 |
953 |
3 |
| rasops_mapchar |
|
7 |
23 |
143 |
3 |
| rasops_alloc_cattr |
|
9 |
26 |
165 |
5 |
| rasops_alloc_mattr |
|
4 |
15 |
111 |
5 |
| rasops_copyrows |
|
12 |
58 |
455 |
4 |
| rasops_copycols |
|
13 |
45 |
271 |
5 |
| rasops_cursor |
|
15 |
28 |
199 |
4 |
| rasops_init_devcmap |
|
24 |
57 |
506 |
1 |
| rasops_unpack_attr |
|
2 |
7 |
69 |
5 |
| rasops_eraserows |
|
10 |
48 |
351 |
4 |
| rasops_do_cursor |
|
14 |
53 |
351 |
1 |
| rasops_erasecols |
|
22 |
89 |
646 |
5 |
| rasops_rotate_font |
|
3 |
18 |
112 |
2 |
| rasops_copychar |
|
5 |
31 |
202 |
5 |
| rasops_putchar_rotated |
|
5 |
25 |
189 |
5 |
| rasops_erasecols_rotated |
|
3 |
13 |
84 |
5 |
| rasops_copyrows_rotated |
|
6 |
17 |
140 |
4 |
| rasops_copycols_rotated |
|
4 |
14 |
99 |
5 |
| rasops_eraserows_rotated |
|
4 |
14 |
98 |
4 |
| slow_bcopy |
|
5 |
15 |
88 |
3 |
| rasops_alloc_screen |
|
6 |
37 |
286 |
5 |
| rasops_free_screen |
|
1 |
10 |
74 |
2 |
| rasops_show_screen |
|
2 |
14 |
89 |
5 |
| rasops_doswitch |
|
5 |
24 |
218 |
1 |
| rasops_getchar |
|
3 |
9 |
73 |
4 |
| rasops_vcons_cursor |
|
4 |
9 |
70 |
4 |
| rasops_vcons_mapchar |
|
1 |
5 |
34 |
3 |
| rasops_vcons_putchar |
|
2 |
10 |
92 |
5 |
| rasops_vcons_copycols |
|
5 |
21 |
192 |
5 |
| rasops_vcons_erasecols |
|
3 |
14 |
117 |
5 |
| rasops_vcons_copyrows |
|
6 |
23 |
200 |
4 |
| rasops_vcons_eraserows |
|
3 |
14 |
112 |
4 |
| rasops_vcons_alloc_attr |
|
1 |
5 |
48 |
5 |
| rasops_vcons_unpack_attr |
|
1 |
6 |
45 |
5 |
| rasops_wronly_putchar |
|
1 |
8 |
76 |
5 |
| rasops_wronly_copycols |
|
3 |
16 |
143 |
5 |
| rasops_wronly_erasecols |
|
2 |
12 |
101 |
5 |
| rasops_wronly_copyrows |
|
4 |
18 |
155 |
4 |
| rasops_wronly_eraserows |
|
2 |
12 |
96 |
4 |
| rasops_add_font |
|
5 |
12 |
74 |
2 |
| rasops_use_font |
|
5 |
26 |
156 |
2 |
| rasops_load_font |
|
4 |
10 |
70 |
3 |
| rasops_list_font_cb |
|
4 |
12 |
72 |
2 |
| rasops_list_font |
|
5 |
21 |
131 |
2 |
| Source file: ./sys/dev/pci/drm/i915/i915_gem_evict.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mark_free |
|
3 |
9 |
59 |
2 |
| i915_gem_evict_something |
|
15 |
73 |
426 |
8 |
| i915_gem_evict_vm |
|
4 |
18 |
115 |
2 |
| Source file: ./sys/dev/pci/drm/i915/intel_sideband.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| vlv_sideband_rw |
|
8 |
28 |
217 |
6 |
| vlv_punit_read |
|
1 |
10 |
71 |
2 |
| vlv_punit_write |
|
1 |
8 |
66 |
3 |
| vlv_bunit_read |
|
1 |
7 |
41 |
2 |
| vlv_bunit_write |
|
1 |
5 |
36 |
3 |
| vlv_nc_read |
|
1 |
10 |
71 |
2 |
| vlv_gpio_nc_read |
|
1 |
7 |
41 |
2 |
| vlv_gpio_nc_write |
|
1 |
5 |
36 |
3 |
| vlv_cck_read |
|
1 |
7 |
41 |
2 |
| vlv_cck_write |
|
1 |
5 |
36 |
3 |
| vlv_ccu_read |
|
1 |
7 |
41 |
2 |
| vlv_ccu_write |
|
1 |
5 |
36 |
3 |
| vlv_gps_core_read |
|
1 |
7 |
41 |
2 |
| vlv_gps_core_write |
|
1 |
5 |
36 |
3 |
| vlv_dpio_read |
|
1 |
9 |
64 |
3 |
| vlv_dpio_write |
|
1 |
5 |
41 |
4 |
| intel_sbi_read |
|
4 |
23 |
139 |
3 |
| intel_sbi_write |
|
4 |
23 |
139 |
4 |
| vlv_flisdsi_read |
|
1 |
7 |
36 |
2 |
| vlv_flisdsi_write |
|
1 |
5 |
31 |
3 |
| Source file: ./sys/dev/pci/drm/i915/i915_params.c |
| Source file: ./sys/dev/pci/drm/i915/dvo_ivch.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ivch_read |
|
3 |
37 |
195 |
3 |
| ivch_write |
|
3 |
22 |
138 |
3 |
| ivch_init |
|
5 |
31 |
194 |
2 |
| ivch_detect |
|
1 |
4 |
12 |
1 |
| ivch_mode_valid |
|
2 |
7 |
28 |
2 |
| ivch_reset |
|
2 |
9 |
68 |
1 |
| ivch_dpms |
|
7 |
26 |
150 |
2 |
| ivch_get_hw_state |
|
3 |
11 |
46 |
1 |
| ivch_mode_set |
|
5 |
34 |
230 |
3 |
| ivch_dump_regs |
|
1 |
36 |
284 |
1 |
| ivch_destroy |
|
2 |
8 |
35 |
1 |
| Source file: ./sys/dev/pci/drm/i915/i915_gem_render_state.h |
| Source file: ./sys/dev/pci/drm/i915/intel_guc.h |
| Source file: ./sys/dev/pci/drm/i915/intel_lvds.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| to_lvds_encoder |
|
1 |
4 |
22 |
1 |
| to_lvds_connector |
|
1 |
4 |
22 |
1 |
| intel_lvds_get_hw_state |
|
4 |
20 |
122 |
2 |
| intel_lvds_get_config |
|
5 |
27 |
168 |
2 |
| intel_pre_enable_lvds |
|
10 |
49 |
298 |
1 |
| intel_enable_lvds |
|
3 |
22 |
150 |
1 |
| intel_disable_lvds |
|
3 |
19 |
133 |
1 |
| gmch_disable_lvds |
|
1 |
8 |
44 |
1 |
| pch_disable_lvds |
|
1 |
7 |
39 |
1 |
| pch_post_disable_lvds |
|
1 |
4 |
14 |
1 |
| intel_lvds_mode_valid |
|
4 |
14 |
87 |
2 |
| intel_lvds_compute_config |
|
7 |
36 |
218 |
2 |
| intel_lvds_detect |
|
2 |
11 |
59 |
2 |
| intel_lvds_get_modes |
|
3 |
13 |
91 |
1 |
| intel_no_modeset_on_lid_dmi_callback |
|
1 |
5 |
22 |
1 |
| intel_lid_notify |
|
7 |
32 |
190 |
3 |
| intel_lvds_destroy |
|
4 |
12 |
76 |
1 |
| intel_lvds_set_property |
|
6 |
23 |
124 |
3 |
| intel_no_lvds_dmi_callback |
|
1 |
5 |
22 |
1 |
| lvds_is_present_in_vbt |
|
8 |
22 |
136 |
2 |
| intel_dual_link_lvds_callback |
|
1 |
5 |
22 |
1 |
| intel_is_dual_link_lvds |
|
2 |
12 |
55 |
1 |
| compute_is_dual_link_lvds |
|
5 |
17 |
118 |
1 |
| intel_lvds_supported |
|
6 |
8 |
52 |
1 |
| intel_lvds_init |
|
36 |
188 |
1119 |
1 |
| Source file: ./sys/dev/pci/drm/i915/i915_vgpu.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| i915_check_vgpu |
|
1 |
3 |
9 |
1 |
| Source file: ./sys/dev/pci/drm/i915/intel_sprite.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| format_is_yuv |
|
5 |
12 |
33 |
1 |
| usecs_to_scanlines |
|
2 |
8 |
39 |
2 |
| intel_pipe_update_start |
|
10 |
44 |
303 |
1 |
| intel_pipe_update_end |
|
3 |
19 |
137 |
1 |
| skl_update_plane |
|
7 |
86 |
694 |
11 |
| skl_disable_plane |
|
1 |
12 |
111 |
2 |
| chv_update_csc |
|
2 |
21 |
294 |
2 |
| vlv_update_plane |
|
19 |
99 |
604 |
11 |
| vlv_disable_plane |
|
1 |
11 |
90 |
2 |
| ivb_update_plane |
|
25 |
98 |
661 |
11 |
| ivb_disable_plane |
|
2 |
12 |
93 |
2 |
| ilk_update_plane |
|
17 |
89 |
584 |
11 |
| ilk_disable_plane |
|
1 |
11 |
87 |
2 |
| intel_check_sprite_plane |
|
31 |
122 |
914 |
3 |
| intel_commit_sprite_plane |
|
4 |
22 |
166 |
2 |
| intel_sprite_set_colorkey |
|
11 |
43 |
247 |
3 |
| intel_plane_init |
|
13 |
86 |
450 |
3 |
| Source file: ./sys/dev/pci/drm/i915/intel_opregion.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| swsci |
|
14 |
60 |
354 |
4 |
| intel_opregion_notify_encoder |
|
12 |
43 |
193 |
2 |
| intel_opregion_notify_adapter |
|
4 |
12 |
76 |
2 |
| asle_set_backlight |
|
5 |
23 |
158 |
2 |
| asle_set_als_illum |
|
1 |
5 |
20 |
2 |
| asle_set_pwm_freq |
|
1 |
5 |
20 |
2 |
| asle_set_pfit |
|
1 |
5 |
20 |
2 |
| asle_set_supported_rotation_angles |
|
1 |
5 |
20 |
2 |
| asle_set_button_array |
|
7 |
16 |
80 |
2 |
| asle_set_convertible |
|
2 |
8 |
32 |
2 |
| asle_set_docking |
|
2 |
8 |
32 |
2 |
| asle_isct_state |
|
1 |
5 |
17 |
1 |
| asle_work |
|
12 |
39 |
255 |
1 |
| intel_opregion_asle_intr |
|
2 |
6 |
36 |
1 |
| intel_opregion_video_event |
|
5 |
16 |
97 |
3 |
| get_did |
|
3 |
13 |
88 |
2 |
| set_did |
|
3 |
11 |
84 |
3 |
| intel_didl_outputs |
|
23 |
86 |
424 |
1 |
| intel_setup_cadls |
|
3 |
11 |
71 |
1 |
| intel_opregion_init |
|
6 |
19 |
105 |
1 |
| intel_opregion_fini |
|
6 |
23 |
143 |
1 |
| swsci_setup |
|
6 |
32 |
209 |
1 |
| swsci_setup |
|
1 |
1 |
9 |
1 |
| intel_opregion_setup |
|
11 |
56 |
368 |
1 |
| Source file: ./sys/dev/pci/drm/i915/intel_fbdev.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| intel_fbdev_set_par |
|
2 |
14 |
85 |
1 |
| intel_fbdev_blank |
|
2 |
14 |
90 |
2 |
| intel_fbdev_pan_display |
|
2 |
15 |
92 |
2 |
| intelfb_alloc |
|
7 |
49 |
314 |
2 |
| intelfb_create |
|
17 |
116 |
765 |
2 |
| intel_crtc_fb_gamma_set |
|
1 |
8 |
67 |
5 |
| intel_crtc_fb_gamma_get |
|
1 |
8 |
73 |
5 |
| intel_fb_helper_crtc |
|
3 |
8 |
59 |
2 |
| intel_fb_initial_config |
|
23 |
116 |
691 |
7 |
| intel_fbdev_destroy |
|
1 |
9 |
58 |
2 |
| intel_fbdev_init_bios |
|
10 |
88 |
511 |
2 |
| intel_fbdev_suspend_worker |
|
1 |
8 |
28 |
1 |
| intel_fbdev_init |
|
6 |
25 |
166 |
1 |
| intel_fbdev_initial_config |
|
1 |
6 |
39 |
2 |
| intel_fbdev_fini |
|
2 |
11 |
61 |
1 |
| intel_fbdev_set_suspend |
|
7 |
24 |
147 |
3 |
| intel_fbdev_output_poll_changed |
|
2 |
6 |
34 |
1 |
| intel_fbdev_restore_mode |
|
3 |
18 |
101 |
1 |
| Source file: ./sys/dev/pci/drm/i915/i915_gem_tiling.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| i915_tiling_ok |
|
17 |
38 |
208 |
4 |
| i915_gem_object_fence_ok |
|
8 |
21 |
136 |
2 |
| i915_gem_set_tiling |
|
23 |
76 |
477 |
3 |
| i915_gem_get_tiling |
|
8 |
36 |
210 |
3 |
| Source file: ./sys/dev/pci/drm/i915/i915_gem_context.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| get_context_alignment |
|
2 |
6 |
22 |
1 |
| get_context_size |
|
5 |
25 |
107 |
1 |
| i915_gem_context_clean |
|
3 |
12 |
62 |
1 |
| i915_gem_context_free |
|
3 |
13 |
88 |
1 |
| i915_gem_alloc_context_obj |
|
5 |
16 |
96 |
2 |
| __create_hw_context |
|
6 |
37 |
225 |
2 |
| i915_gem_create_context |
|
9 |
38 |
219 |
2 |
| i915_gem_context_reset |
|
7 |
24 |
147 |
1 |
| i915_gem_context_init |
|
12 |
38 |
233 |
1 |
| i915_gem_context_fini |
|
5 |
25 |
181 |
1 |
| i915_gem_context_enable |
|
4 |
16 |
76 |
1 |
| context_idr_cleanup |
|
1 |
6 |
30 |
3 |
| i915_gem_context_open |
|
2 |
14 |
87 |
2 |
| i915_gem_context_close |
|
1 |
6 |
43 |
2 |
| i915_gem_context_get |
|
2 |
8 |
49 |
2 |
| mi_set_context |
|
16 |
58 |
419 |
2 |
| should_skip_switch |
|
5 |
11 |
58 |
3 |
| needs_pd_load_pre |
|
4 |
11 |
69 |
2 |
| needs_pd_load_post |
|
5 |
14 |
78 |
3 |
| do_switch |
|
27 |
91 |
613 |
1 |
| i915_switch_context |
|
4 |
17 |
113 |
1 |
| contexts_enabled |
|
2 |
4 |
21 |
1 |
| i915_gem_context_create_ioctl |
|
4 |
20 |
118 |
3 |
| i915_gem_context_destroy_ioctl |
|
4 |
23 |
141 |
3 |
| i915_gem_context_getparam_ioctl |
|
5 |
30 |
154 |
3 |
| i915_gem_context_setparam_ioctl |
|
10 |
40 |
208 |
3 |
| Source file: ./sys/dev/pci/drm/i915/intel_dsi.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wait_for_dsi_fifo_empty |
|
2 |
11 |
82 |
2 |
| write_data |
|
3 |
11 |
86 |
4 |
| read_data |
|
3 |
10 |
81 |
4 |
| intel_dsi_host_transfer |
|
9 |
48 |
350 |
2 |
| intel_dsi_host_attach |
|
1 |
5 |
17 |
2 |
| intel_dsi_host_detach |
|
1 |
5 |
17 |
2 |
| intel_dsi_host_init |
|
3 |
20 |
111 |
2 |
| dpi_send_cmd |
|
4 |
20 |
139 |
4 |
| band_gap_reset |
|
1 |
11 |
75 |
1 |
| is_vid_mode |
|
1 |
4 |
16 |
1 |
| is_cmd_mode |
|
1 |
4 |
16 |
1 |
| intel_dsi_compute_config |
|
2 |
14 |
86 |
2 |
| bxt_dsi_device_ready |
|
1 |
27 |
192 |
1 |
| vlv_dsi_device_ready |
|
1 |
23 |
167 |
1 |
| intel_dsi_device_ready |
|
3 |
8 |
45 |
1 |
| intel_dsi_port_enable |
|
5 |
33 |
204 |
1 |
| intel_dsi_port_disable |
|
2 |
16 |
100 |
1 |
| intel_dsi_enable |
|
2 |
22 |
146 |
1 |
| intel_dsi_pre_enable |
|
4 |
30 |
195 |
1 |
| intel_dsi_enable_nop |
|
1 |
4 |
14 |
1 |
| intel_dsi_pre_disable |
|
2 |
12 |
71 |
1 |
| intel_dsi_disable |
|
2 |
27 |
181 |
1 |
| intel_dsi_clear_device_ready |
|
4 |
34 |
229 |
1 |
| intel_dsi_post_disable |
|
3 |
17 |
107 |
1 |
| intel_dsi_get_hw_state |
|
10 |
31 |
211 |
2 |
| intel_dsi_get_config |
|
4 |
15 |
100 |
2 |
| intel_dsi_mode_valid |
|
6 |
21 |
116 |
2 |
| txclkesc |
|
4 |
12 |
43 |
2 |
| txbyteclkhs |
|
1 |
6 |
35 |
4 |
| set_dsi_timings |
|
4 |
50 |
381 |
2 |
| intel_dsi_prepare |
|
16 |
103 |
690 |
1 |
| intel_dsi_pre_pll_enable |
|
1 |
6 |
24 |
1 |
| intel_dsi_detect |
|
1 |
4 |
15 |
2 |
| intel_dsi_get_modes |
|
3 |
18 |
88 |
1 |
| intel_dsi_connector_destroy |
|
1 |
8 |
42 |
1 |
| intel_dsi_encoder_destroy |
|
4 |
11 |
59 |
1 |
| intel_dsi_init |
|
17 |
109 |
696 |
1 |
| Source file: ./sys/dev/pci/drm/i915/i915_gem_render_state.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| render_state_get_rodata |
|
5 |
14 |
50 |
2 |
| render_state_init |
|
5 |
21 |
140 |
2 |
| render_state_setup |
|
10 |
49 |
323 |
1 |
| i915_gem_render_state_fini |
|
1 |
5 |
26 |
1 |
| i915_gem_render_state_prepare |
|
5 |
18 |
85 |
2 |
| i915_gem_render_state_init |
|
6 |
28 |
145 |
1 |
| Source file: ./sys/dev/pci/drm/i915/i915_drv.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| intel_virt_detect_pch |
|
8 |
18 |
108 |
1 |
| intel_pch_match |
|
4 |
8 |
48 |
1 |
| intel_detect_pch |
|
25 |
58 |
430 |
1 |
| i915_semaphore_is_enabled |
|
8 |
14 |
74 |
1 |
| i915_firmware_load_error_print |
|
4 |
12 |
55 |
2 |
| intel_suspend_encoders |
|
2 |
12 |
71 |
1 |
| i915_drm_suspend |
|
6 |
40 |
212 |
1 |
| i915_drm_suspend_late |
|
5 |
14 |
82 |
2 |
| i915_suspend_switcheroo |
|
7 |
18 |
97 |
2 |
| i915_drm_resume |
|
5 |
38 |
230 |
1 |
| i915_drm_resume_early |
|
9 |
23 |
142 |
1 |
| i915_resume_switcheroo |
|
3 |
10 |
43 |
1 |
| i915_reset |
|
7 |
39 |
204 |
1 |
| i915_pci_probe |
|
4 |
13 |
77 |
2 |
| i915_pci_remove |
|
1 |
5 |
24 |
1 |
| i915_pm_suspend |
|
4 |
12 |
69 |
1 |
| i915_pm_suspend_late |
|
2 |
7 |
40 |
1 |
| i915_pm_poweroff_late |
|
2 |
7 |
40 |
1 |
| i915_pm_resume_early |
|
2 |
7 |
38 |
1 |
| i915_pm_resume |
|
2 |
7 |
38 |
1 |
| skl_suspend_complete |
|
1 |
5 |
17 |
1 |
| hsw_suspend_complete |
|
1 |
5 |
17 |
1 |
| bxt_suspend_complete |
|
1 |
8 |
36 |
1 |
| bxt_resume_prepare |
|
1 |
9 |
41 |
1 |
| skl_resume_prepare |
|
1 |
7 |
31 |
1 |
| vlv_save_gunit_s0ix_state |
|
3 |
53 |
484 |
1 |
| vlv_restore_gunit_s0ix_state |
|
3 |
60 |
528 |
1 |
| vlv_force_gfx_clock |
|
4 |
17 |
78 |
2 |
| vlv_allow_gt_wake |
|
3 |
15 |
72 |
2 |
| vlv_wait_for_gt_wells |
|
6 |
19 |
85 |
2 |
| vlv_check_no_gt_access |
|
2 |
7 |
35 |
1 |
| vlv_suspend_complete |
|
5 |
26 |
137 |
1 |
| vlv_resume_prepare |
|
5 |
22 |
111 |
2 |
| intel_runtime_suspend |
|
7 |
39 |
231 |
1 |
| intel_runtime_resume |
|
11 |
34 |
217 |
1 |
| intel_suspend_complete |
|
7 |
15 |
89 |
1 |
| i915_init |
|
7 |
15 |
88 |
1 |
| i915_exit |
|
2 |
6 |
28 |
1 |
| intagpsubmatch |
|
2 |
8 |
62 |
3 |
| intagp_print |
|
2 |
6 |
29 |
2 |
| inteldrm_wsioctl |
|
15 |
46 |
290 |
5 |
| inteldrm_wsmmap |
|
1 |
4 |
20 |
3 |
| inteldrm_alloc_screen |
|
1 |
7 |
61 |
6 |
| inteldrm_free_screen |
|
1 |
6 |
37 |
2 |
| inteldrm_show_screen |
|
3 |
17 |
112 |
5 |
| inteldrm_doswitch |
|
2 |
10 |
76 |
1 |
| inteldrm_enter_ddb |
|
2 |
10 |
71 |
2 |
| inteldrm_getchar |
|
1 |
6 |
48 |
4 |
| inteldrm_load_font |
|
1 |
6 |
44 |
3 |
| inteldrm_list_font |
|
1 |
6 |
38 |
2 |
| inteldrm_burner |
|
3 |
14 |
73 |
3 |
| inteldrm_burner_cb |
|
1 |
6 |
38 |
1 |
| inteldrm_backlight_update_status |
|
1 |
8 |
38 |
1 |
| inteldrm_backlight_get_brightness |
|
1 |
7 |
30 |
1 |
| inteldrm_match |
|
3 |
7 |
45 |
3 |
| inteldrm_attach |
|
25 |
118 |
929 |
3 |
| inteldrm_detach |
|
1 |
4 |
15 |
2 |
| inteldrm_activate |
|
8 |
30 |
173 |
2 |
| inteldrm_native_backlight |
|
3 |
20 |
141 |
1 |
| inteldrm_firmware_backlight |
|
4 |
26 |
177 |
2 |
| inteldrm_init_backlight |
|
3 |
12 |
76 |
1 |
| inteldrm_intr |
|
1 |
6 |
36 |
1 |
| Source file: ./sys/dev/pci/drm/i915/i915_gem_fence.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| i965_write_fence_reg |
|
6 |
41 |
267 |
3 |
| i915_write_fence_reg |
|
7 |
31 |
198 |
3 |
| i830_write_fence_reg |
|
5 |
26 |
169 |
3 |
| i915_gem_object_needs_mb |
|
2 |
4 |
20 |
1 |
| i915_gem_write_fence |
|
8 |
18 |
136 |
3 |
| fence_number |
|
1 |
5 |
21 |
2 |
| i915_gem_object_update_fence |
|
3 |
18 |
119 |
3 |
| i915_gem_object_fence_lost |
|
2 |
7 |
32 |
1 |
| i915_gem_object_wait_fence |
|
3 |
10 |
47 |
1 |
| i915_gem_object_put_fence |
|
4 |
17 |
97 |
1 |
| i915_find_fence_reg |
|
7 |
25 |
139 |
1 |
| i915_gem_object_get_fence |
|
10 |
37 |
210 |
1 |
| i915_gem_object_pin_fence |
|
3 |
13 |
82 |
1 |
| i915_gem_object_unpin_fence |
|
2 |
8 |
60 |
1 |
| i915_gem_restore_fences |
|
3 |
14 |
86 |
1 |
| i915_gem_detect_bit_6_swizzle |
|
23 |
86 |
429 |
1 |
| i915_gem_swizzle_page |
|
2 |
13 |
97 |
1 |
| i915_gem_object_do_bit_17_swizzle |
|
3 |
18 |
109 |
1 |
| i915_gem_object_save_bit_17_swizzle |
|
4 |
23 |
140 |
1 |
| Source file: ./sys/dev/pci/drm/i915/intel_gtt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| inteldrm_gmch_match |
|
7 |
9 |
66 |
1 |
| i915_alloc_ifp |
|
6 |
25 |
197 |
2 |
| i965_alloc_ifp |
|
6 |
29 |
249 |
2 |
| intel_gtt_chipset_setup |
|
11 |
30 |
239 |
1 |
| intel_enable_gtt |
|
1 |
6 |
31 |
0 |
| intel_gmch_probe |
|
1 |
5 |
21 |
3 |
| intel_gtt_get |
|
1 |
10 |
76 |
4 |
| intel_gtt_chipset_flush |
|
5 |
18 |
138 |
1 |
| intel_gmch_remove |
|
1 |
3 |
6 |
1 |
| intel_gtt_insert_sg_entries |
|
1 |
13 |
103 |
3 |
| intel_gtt_clear_range |
|
2 |
11 |
87 |
2 |
| Source file: ./sys/dev/pci/drm/i915/i915_trace.h |
| Source file: ./sys/dev/pci/drm/i915/i915_guc_submission.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| host2guc_action_response |
|
1 |
7 |
35 |
2 |
| host2guc_action |
|
6 |
32 |
233 |
3 |
| host2guc_allocate_doorbell |
|
1 |
8 |
46 |
2 |
| host2guc_release_doorbell |
|
1 |
8 |
46 |
2 |
| host2guc_sample_forcewake |
|
7 |
16 |
127 |
2 |
| guc_init_doorbell |
|
1 |
11 |
62 |
2 |
| guc_ring_doorbell |
|
6 |
37 |
240 |
1 |
| guc_disable_doorbell |
|
1 |
18 |
128 |
2 |
| select_doorbell_cacheline |
|
1 |
12 |
67 |
1 |
| assign_doorbell |
|
4 |
18 |
118 |
2 |
| release_doorbell |
|
1 |
6 |
39 |
2 |
| guc_init_proc_desc |
|
1 |
16 |
105 |
2 |
| guc_init_ctx_desc |
|
3 |
51 |
402 |
2 |
| guc_fini_ctx_desc |
|
1 |
10 |
72 |
2 |
| guc_get_workqueue_space |
|
3 |
21 |
138 |
2 |
| guc_add_workqueue_item |
|
2 |
29 |
213 |
2 |
| lr_context_update |
|
1 |
15 |
112 |
1 |
| i915_guc_submit |
|
4 |
29 |
185 |
2 |
| gem_allocate_guc_obj |
|
4 |
20 |
99 |
2 |
| gem_release_guc_obj |
|
3 |
8 |
36 |
1 |
| guc_client_free |
|
4 |
19 |
114 |
2 |
| guc_client_alloc |
|
7 |
49 |
310 |
3 |
| guc_create_log |
|
5 |
29 |
174 |
1 |
| i915_guc_submission_init |
|
4 |
19 |
126 |
1 |
| i915_guc_submission_enable |
|
2 |
15 |
90 |
1 |
| i915_guc_submission_disable |
|
1 |
7 |
43 |
1 |
| i915_guc_submission_fini |
|
2 |
11 |
70 |
1 |
| intel_guc_suspend |
|
2 |
14 |
104 |
1 |
| intel_guc_resume |
|
2 |
14 |
104 |
1 |
| i915_guc_submit |
|
1 |
5 |
21 |
2 |
| Source file: ./sys/dev/pci/drm/i915/dvo.h |
| Source file: ./sys/dev/pci/drm/i915/dvo_ch7xxx.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ch7xxx_get_id |
|
3 |
9 |
50 |
1 |
| ch7xxx_get_did |
|
3 |
9 |
50 |
1 |
| ch7xxx_readb |
|
3 |
32 |
171 |
3 |
| ch7xxx_writeb |
|
3 |
21 |
126 |
3 |
| ch7xxx_init |
|
6 |
38 |
199 |
2 |
| ch7xxx_detect |
|
2 |
14 |
80 |
1 |
| ch7xxx_mode_valid |
|
2 |
7 |
28 |
2 |
| ch7xxx_mode_set |
|
4 |
31 |
191 |
3 |
| ch7xxx_dpms |
|
2 |
7 |
37 |
2 |
| ch7xxx_get_hw_state |
|
2 |
9 |
39 |
1 |
| ch7xxx_dump_regs |
|
3 |
11 |
64 |
1 |
| ch7xxx_destroy |
|
2 |
8 |
35 |
1 |
| Source file: ./sys/dev/pci/drm/i915/i915_gem_batch_pool.h |
| Source file: ./sys/dev/pci/drm/i915/intel_crt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| intel_encoder_to_crt |
|
1 |
4 |
20 |
1 |
| intel_attached_crt |
|
1 |
4 |
18 |
1 |
| intel_crt_get_hw_state |
|
4 |
20 |
119 |
2 |
| intel_crt_get_flags |
|
3 |
16 |
81 |
1 |
| intel_crt_get_config |
|
2 |
11 |
71 |
2 |
| hsw_crt_get_config |
|
1 |
10 |
52 |
2 |
| intel_crt_set_dpms |
|
12 |
42 |
238 |
2 |
| intel_disable_crt |
|
1 |
4 |
16 |
1 |
| pch_disable_crt |
|
1 |
3 |
9 |
1 |
| pch_post_disable_crt |
|
1 |
4 |
14 |
1 |
| intel_enable_crt |
|
1 |
5 |
32 |
1 |
| intel_crt_mode_valid |
|
7 |
20 |
105 |
2 |
| intel_crt_compute_config |
|
6 |
22 |
121 |
2 |
| intel_ironlake_crt_detect_hotplug |
|
6 |
33 |
194 |
1 |
| valleyview_crt_detect_hotplug |
|
3 |
25 |
153 |
1 |
| intel_crt_detect_hotplug |
|
8 |
31 |
177 |
1 |
| intel_crt_get_edid |
|
3 |
13 |
72 |
2 |
| intel_crt_ddc_get_modes |
|
2 |
12 |
56 |
2 |
| intel_crt_detect_ddc |
|
3 |
24 |
137 |
1 |
| intel_crt_load_detect |
|
12 |
81 |
508 |
1 |
| intel_crt_detect |
|
10 |
52 |
286 |
2 |
| intel_crt_destroy |
|
1 |
5 |
19 |
1 |
| intel_crt_get_modes |
|
3 |
21 |
138 |
1 |
| intel_crt_set_property |
|
1 |
6 |
20 |
3 |
| intel_crt_reset |
|
2 |
16 |
99 |
1 |
| intel_no_crt_dmi_callback |
|
1 |
5 |
22 |
1 |
| intel_crt_init |
|
14 |
71 |
470 |
1 |
| Source file: ./sys/dev/pci/drm/i915/intel_mocs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| get_mocs_settings |
|
8 |
25 |
157 |
2 |
| emit_mocs_control_table |
|
5 |
29 |
182 |
3 |
| emit_mocs_l3cc_table |
|
6 |
39 |
305 |
2 |
| intel_rcs_context_init_mocs |
|
8 |
26 |
147 |
1 |
| Source file: ./sys/dev/pci/drm/i915/intel_drv.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| vlv_dport_to_channel |
|
4 |
12 |
38 |
1 |
| vlv_dport_to_phy |
|
4 |
12 |
38 |
1 |
| vlv_pipe_to_channel |
|
4 |
12 |
35 |
1 |
| intel_get_crtc_for_pipe |
|
1 |
5 |
29 |
2 |
| intel_get_crtc_for_plane |
|
1 |
5 |
29 |
2 |
| intel_attached_encoder |
|
1 |
4 |
17 |
1 |
| enc_to_dig_port |
|
1 |
4 |
22 |
1 |
| enc_to_mst |
|
1 |
4 |
22 |
1 |
| enc_to_intel_dp |
|
1 |
4 |
18 |
1 |
| dp_to_dig_port |
|
1 |
4 |
20 |
1 |
| hdmi_to_dig_port |
|
1 |
4 |
20 |
1 |
| intel_num_planes |
|
1 |
4 |
28 |
1 |
| intel_irqs_enabled |
|
1 |
4 |
16 |
1 |
| intel_wait_for_vblank |
|
1 |
4 |
19 |
2 |
| intel_rotation_90_or_270 |
|
1 |
4 |
23 |
1 |
| intel_fbdev_init |
|
1 |
4 |
12 |
1 |
| intel_fbdev_initial_config |
|
1 |
3 |
11 |
2 |
| intel_fbdev_fini |
|
1 |
3 |
9 |
1 |
| intel_fbdev_set_suspend |
|
1 |
3 |
15 |
3 |
| intel_fbdev_restore_mode |
|
1 |
3 |
9 |
1 |
| intel_atomic_get_crtc_state |
|
2 |
9 |
50 |
2 |
| Source file: ./sys/dev/pci/bktr/bktr_core.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bktr_name |
|
1 |
4 |
16 |
1 |
| common_bktr_attach |
|
10 |
78 |
487 |
4 |
| vbidecode |
|
2 |
16 |
133 |
1 |
| common_bktr_intr |
|
45 |
149 |
968 |
1 |
| video_open |
|
11 |
69 |
523 |
1 |
| vbi_open |
|
2 |
14 |
85 |
1 |
| tuner_open |
|
3 |
9 |
47 |
1 |
| video_close |
|
1 |
15 |
86 |
1 |
| tuner_close |
|
1 |
5 |
18 |
1 |
| vbi_close |
|
1 |
5 |
18 |
1 |
| video_read |
|
5 |
31 |
218 |
4 |
| vbi_read |
|
6 |
27 |
201 |
3 |
| video_ioctl |
|
111 |
452 |
2982 |
5 |
| tuner_ioctl |
|
79 |
304 |
2094 |
5 |
| bktr_common_ioctl |
|
29 |
113 |
857 |
3 |
| dump_bt848 |
|
2 |
27 |
260 |
1 |
| notclipped |
|
5 |
22 |
156 |
3 |
| getline |
|
12 |
38 |
330 |
2 |
| split |
|
20 |
65 |
484 |
7 |
| rgb_vbi_prog |
|
21 |
121 |
1045 |
5 |
| rgb_prog |
|
17 |
110 |
912 |
5 |
| yuvpack_prog |
|
8 |
76 |
673 |
5 |
| yuv422_prog |
|
8 |
82 |
826 |
5 |
| yuv12_prog |
|
8 |
83 |
795 |
5 |
| build_dma_prog |
|
21 |
154 |
1483 |
2 |
| start_capture |
|
7 |
41 |
250 |
2 |
| set_fps |
|
4 |
29 |
155 |
2 |
| pixfmt_swap_flags |
|
8 |
22 |
107 |
1 |
| oformat_meteor_to_bt |
|
11 |
23 |
166 |
1 |
| i2cWrite |
|
9 |
25 |
199 |
4 |
| i2cRead |
|
7 |
18 |
159 |
2 |
| i2c_start |
|
1 |
6 |
63 |
1 |
| i2c_stop |
|
1 |
5 |
49 |
1 |
| i2c_write_byte |
|
3 |
27 |
190 |
2 |
| i2c_read_byte |
|
4 |
32 |
208 |
3 |
| msp_dpl_write |
|
1 |
17 |
124 |
5 |
| msp_dpl_read |
|
1 |
19 |
143 |
4 |
| msp_dpl_reset |
|
1 |
15 |
88 |
2 |
| remote_read |
|
1 |
9 |
84 |
2 |
| i2cProbe |
|
4 |
34 |
286 |
2 |
| Source file: ./sys/dev/pci/drm/i915/i915_gem.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cpu_cache_is_coherent |
|
2 |
5 |
23 |
2 |
| cpu_write_needs_clflush |
|
2 |
6 |
33 |
1 |
| i915_gem_info_add_obj |
|
1 |
8 |
47 |
2 |
| i915_gem_info_remove_obj |
|
1 |
8 |
47 |
2 |
| i915_gem_wait_for_error |
|
4 |
16 |
66 |
1 |
| i915_mutex_lock_interruptible |
|
3 |
13 |
66 |
1 |
| i915_gem_get_aperture_ioctl |
|
3 |
21 |
151 |
3 |
| i915_gem_object_get_pages_phys |
|
10 |
44 |
327 |
1 |
| i915_gem_object_put_pages_phys |
|
11 |
42 |
299 |
1 |
| i915_gem_object_release_phys |
|
1 |
4 |
22 |
1 |
| drop_pages |
|
2 |
12 |
68 |
1 |
| i915_gem_object_attach_phys |
|
7 |
24 |
139 |
2 |
| i915_gem_phys_pwrite |
|
4 |
28 |
174 |
3 |
| i915_gem_object_alloc |
|
2 |
6 |
41 |
1 |
| i915_gem_object_free |
|
2 |
6 |
41 |
1 |
| i915_gem_create |
|
4 |
21 |
108 |
4 |
| i915_gem_dumb_create |
|
1 |
9 |
70 |
3 |
| i915_gem_create_ioctl |
|
1 |
7 |
42 |
3 |
| __copy_to_user_swizzled |
|
3 |
20 |
105 |
4 |
| __copy_from_user_swizzled |
|
3 |
20 |
105 |
4 |
| i915_gem_obj_prepare_shmem_read |
|
5 |
20 |
104 |
2 |
| shmem_pread_fast |
|
4 |
18 |
90 |
6 |
| shmem_clflush_swizzled_range |
|
2 |
13 |
87 |
3 |
| shmem_pread_slow |
|
4 |
22 |
99 |
6 |
| i915_gem_shmem_pread |
|
11 |
57 |
321 |
4 |
| i915_gem_pread_ioctl |
|
8 |
37 |
222 |
3 |
| fast_user_write |
|
1 |
15 |
75 |
5 |
| fast_user_write |
|
1 |
17 |
96 |
5 |
| i915_gem_gtt_pwrite_fast |
|
7 |
45 |
238 |
4 |
| shmem_pwrite_fast |
|
5 |
22 |
106 |
7 |
| shmem_pwrite_slow |
|
6 |
28 |
122 |
7 |
| i915_gem_shmem_pwrite |
|
16 |
84 |
463 |
4 |
| i915_gem_pwrite_ioctl |
|
17 |
58 |
350 |
3 |
| i915_gem_check_wedge |
|
5 |
13 |
55 |
2 |
| fake_irq |
|
1 |
4 |
18 |
1 |
| missed_irq |
|
1 |
5 |
29 |
2 |
| local_clock_us |
|
1 |
8 |
35 |
1 |
| local_clock_us |
|
1 |
5 |
20 |
1 |
| busywait_stop |
|
2 |
7 |
35 |
2 |
| __i915_spin_request |
|
8 |
22 |
118 |
2 |
| __i915_wait_request |
|
27 |
88 |
548 |
5 |
| __i915_wait_request |
|
28 |
91 |
562 |
5 |
| i915_gem_request_add_to_client |
|
7 |
19 |
131 |
2 |
| i915_gem_request_remove_from_client |
|
3 |
12 |
72 |
1 |
| i915_gem_request_retire |
|
1 |
8 |
42 |
1 |
| __i915_gem_request_retire__upto |
|
3 |
14 |
88 |
1 |
| i915_wait_request |
|
3 |
22 |
123 |
1 |
| i915_gem_object_wait_rendering |
|
9 |
30 |
162 |
2 |
| i915_gem_object_retire_request |
|
3 |
10 |
60 |
2 |
| i915_gem_object_wait_rendering__nonblocking |
|
11 |
44 |
301 |
3 |
| to_rps_client |
|
1 |
5 |
24 |
1 |
| i915_gem_set_domain_ioctl |
|
11 |
41 |
223 |
3 |
| i915_gem_sw_finish_ioctl |
|
4 |
21 |
116 |
3 |
| i915_gem_mmap_ioctl |
|
16 |
54 |
355 |
3 |
| i915_gem_fault |
|
26 |
110 |
666 |
2 |
| i915_gem_fault |
|
27 |
107 |
651 |
9 |
| i915_gem_release_mmap |
|
5 |
16 |
126 |
1 |
| i915_gem_release_all_mmaps |
|
1 |
6 |
32 |
1 |
| i915_gem_get_gtt_size |
|
5 |
14 |
74 |
3 |
| i915_gem_get_gtt_alignment |
|
5 |
8 |
56 |
4 |
| i915_gem_object_create_mmap_offset |
|
7 |
24 |
136 |
1 |
| i915_gem_object_free_mmap_offset |
|
1 |
4 |
17 |
1 |
| i915_gem_mmap_gtt |
|
5 |
30 |
149 |
4 |
| i915_gem_mmap_gtt_ioctl |
|
1 |
6 |
42 |
3 |
| i915_gem_object_truncate |
|
3 |
10 |
81 |
1 |
| i915_gem_object_invalidate |
|
6 |
14 |
73 |
1 |
| i915_gem_object_put_pages_gtt |
|
8 |
29 |
198 |
1 |
| i915_gem_object_put_pages |
|
3 |
14 |
77 |
1 |
| i915_gem_object_get_pages_gtt |
|
27 |
101 |
632 |
1 |
| i915_gem_object_get_pages |
|
4 |
20 |
124 |
1 |
| i915_vma_move_to_active |
|
2 |
13 |
108 |
2 |
| i915_gem_object_retire__write |
|
1 |
7 |
56 |
1 |
| i915_gem_object_retire__read |
|
5 |
21 |
189 |
2 |
| i915_gem_init_seqno |
|
3 |
18 |
113 |
2 |
| i915_gem_set_seqno |
|
4 |
15 |
82 |
2 |
| i915_gem_get_seqno |
|
3 |
12 |
70 |
2 |
| __i915_add_request |
|
5 |
45 |
261 |
3 |
| i915_context_is_banned |
|
7 |
20 |
106 |
2 |
| i915_set_reset_status |
|
3 |
16 |
78 |
3 |
| i915_gem_request_free |
|
6 |
17 |
104 |
1 |
| i915_gem_request_alloc |
|
10 |
45 |
246 |
3 |
| i915_gem_request_cancel |
|
1 |
5 |
21 |
1 |
| i915_gem_find_active_request |
|
2 |
10 |
44 |
1 |
| i915_gem_reset_ring_status |
|
2 |
13 |
80 |
2 |
| i915_gem_reset_ring_cleanup |
|
5 |
28 |
160 |
2 |
| i915_gem_reset |
|
1 |
13 |
74 |
1 |
| i915_gem_retire_requests_ring |
|
7 |
28 |
183 |
1 |
| i915_gem_retire_requests |
|
3 |
23 |
129 |
1 |
| i915_gem_retire_work_handler |
|
3 |
15 |
98 |
1 |
| i915_gem_idle_work_handler |
|
3 |
19 |
118 |
1 |
| i915_gem_object_flush_active |
|
6 |
20 |
100 |
1 |
| i915_gem_wait_ioctl |
|
12 |
49 |
323 |
3 |
| __i915_gem_object_sync |
|
9 |
42 |
263 |
4 |
| i915_gem_object_sync |
|
9 |
27 |
175 |
3 |
| i915_gem_object_finish_gtt |
|
2 |
15 |
80 |
1 |
| __i915_vma_unbind |
|
13 |
46 |
290 |
2 |
| i915_vma_unbind |
|
1 |
4 |
17 |
1 |
| __i915_vma_unbind_no_wait |
|
1 |
4 |
17 |
1 |
| i915_gpu_idle |
|
5 |
25 |
124 |
1 |
| i915_gem_valid_gtt_space |
|
10 |
19 |
142 |
2 |
| i915_gem_object_bind_to_vm |
|
24 |
120 |
658 |
5 |
| i915_gem_clflush_object |
|
6 |
16 |
86 |
2 |
| i915_gem_object_flush_gtt_write_domain |
|
2 |
13 |
66 |
1 |
| i915_gem_object_flush_cpu_write_domain |
|
3 |
14 |
82 |
1 |
| i915_gem_object_set_to_gtt_domain |
|
9 |
34 |
219 |
2 |
| i915_gem_object_set_cache_level |
|
17 |
54 |
300 |
2 |
| i915_gem_get_caching_ioctl |
|
5 |
23 |
113 |
3 |
| i915_gem_set_caching_ioctl |
|
8 |
40 |
200 |
3 |
| i915_gem_object_pin_to_display_plane |
|
6 |
34 |
173 |
5 |
| i915_gem_object_unpin_from_display_plane |
|
2 |
8 |
40 |
2 |
| i915_gem_object_set_to_cpu_domain |
|
5 |
26 |
151 |
2 |
| i915_gem_ring_throttle |
|
8 |
34 |
228 |
2 |
| i915_vma_misplaced |
|
7 |
13 |
81 |
3 |
| __i915_vma_set_map_and_fenceable |
|
3 |
18 |
133 |
1 |
| i915_gem_object_do_pin |
|
22 |
61 |
389 |
5 |
| i915_gem_object_pin |
|
2 |
9 |
42 |
4 |
| i915_gem_object_ggtt_pin |
|
2 |
10 |
54 |
4 |
| i915_gem_object_ggtt_unpin_view |
|
1 |
9 |
58 |
2 |
| i915_gem_busy_ioctl |
|
5 |
27 |
155 |
3 |
| i915_gem_throttle_ioctl |
|
1 |
5 |
26 |
3 |
| i915_gem_madvise_ioctl |
|
14 |
45 |
244 |
3 |
| i915_gem_object_init |
|
2 |
15 |
109 |
2 |
| i915_gem_alloc_object |
|
8 |
30 |
169 |
2 |
| discard_backing_storage |
|
3 |
8 |
48 |
1 |
| i915_gem_free_object |
|
13 |
44 |
298 |
1 |
| i915_gem_obj_to_vma |
|
4 |
13 |
65 |
2 |
| i915_gem_obj_to_ggtt_view |
|
4 |
13 |
82 |
2 |
| i915_gem_vma_destroy |
|
4 |
13 |
107 |
1 |
| i915_gem_stop_ringbuffers |
|
1 |
8 |
43 |
1 |
| i915_gem_suspend |
|
2 |
20 |
118 |
1 |
| i915_gem_l3_remap |
|
5 |
21 |
157 |
2 |
| i915_gem_init_swizzling |
|
7 |
20 |
130 |
1 |
| init_unused_ring |
|
1 |
8 |
61 |
2 |
| init_unused_rings |
|
4 |
16 |
101 |
1 |
| i915_gem_init_rings |
|
10 |
38 |
185 |
1 |
| i915_gem_init_hw |
|
24 |
83 |
501 |
1 |
| i915_gem_init |
|
8 |
46 |
270 |
1 |
| i915_gem_cleanup_ringbuffer |
|
2 |
10 |
54 |
1 |
| init_ring_lists |
|
1 |
5 |
25 |
1 |
| i915_gem_load |
|
12 |
59 |
455 |
1 |
| i915_gem_release |
|
3 |
19 |
145 |
2 |
| i915_gem_open |
|
3 |
19 |
122 |
2 |
| i915_gem_track_fb |
|
3 |
15 |
94 |
3 |
| i915_gem_obj_offset |
|
5 |
17 |
113 |
2 |
| i915_gem_obj_ggtt_offset_view |
|
3 |
12 |
81 |
2 |
| i915_gem_obj_bound |
|
5 |
13 |
73 |
2 |
| i915_gem_obj_ggtt_bound_view |
|
4 |
12 |
73 |
2 |
| i915_gem_obj_bound_any |
|
2 |
8 |
41 |
1 |
| i915_gem_obj_size |
|
4 |
16 |
107 |
2 |
| i915_gem_obj_is_pinned |
|
2 |
8 |
39 |
1 |
| i915_gem_object_create_from_data |
|
5 |
30 |
171 |
3 |
| Source file: ./sys/dev/pci/drm/i915/intel_bios.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| find_section |
|
6 |
24 |
156 |
2 |
| get_blocksize |
|
1 |
7 |
39 |
1 |
| fill_detail_timing_data |
|
5 |
35 |
253 |
2 |
| get_lvds_dvo_timing |
|
1 |
13 |
89 |
3 |
| get_lvds_fp_timing |
|
4 |
16 |
125 |
4 |
| parse_lfp_panel_data |
|
11 |
62 |
331 |
2 |
| parse_lfp_backlight |
|
5 |
30 |
197 |
2 |
| parse_sdvo_panel_data |
|
6 |
29 |
151 |
2 |
| intel_bios_ssc_frequency |
|
7 |
13 |
55 |
2 |
| parse_general_features |
|
2 |
23 |
151 |
2 |
| parse_general_definitions |
|
4 |
18 |
97 |
2 |
| child_device_ptr |
|
1 |
4 |
31 |
2 |
| parse_sdvo_device_mapping |
|
13 |
69 |
350 |
2 |
| parse_driver_features |
|
5 |
15 |
89 |
2 |
| parse_edp |
|
21 |
98 |
463 |
2 |
| parse_psr |
|
8 |
35 |
217 |
2 |
| goto_next_sequence |
|
12 |
45 |
185 |
2 |
| parse_mipi |
|
18 |
92 |
596 |
2 |
| translate_iboost |
|
2 |
9 |
49 |
1 |
| parse_ddi_port |
|
57 |
123 |
953 |
3 |
| parse_ddi_ports |
|
5 |
14 |
81 |
2 |
| parse_device_mapping |
|
16 |
75 |
452 |
2 |
| init_vbt_defaults |
|
3 |
24 |
184 |
1 |
| intel_no_opregion_vbt_callback |
|
1 |
7 |
23 |
1 |
| validate_vbt |
|
5 |
30 |
156 |
4 |
| find_vbt |
|
3 |
13 |
92 |
2 |
| intel_parse_bios |
|
12 |
41 |
263 |
1 |
| intel_bios_is_port_present |
|
8 |
26 |
193 |
2 |
| Source file: ./sys/dev/pci/drm/i915/intel_renderstate_gen8.c |
| Source file: ./sys/dev/pci/drm/i915/intel_sdvo.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| to_sdvo |
|
1 |
4 |
20 |
1 |
| intel_attached_sdvo |
|
1 |
4 |
18 |
1 |
| to_intel_sdvo_connector |
|
1 |
4 |
23 |
1 |
| intel_sdvo_write_sdvox |
|
5 |
27 |
161 |
2 |
| intel_sdvo_read_byte |
|
2 |
22 |
110 |
3 |
| intel_sdvo_debug_write |
|
6 |
23 |
167 |
4 |
| intel_sdvo_write_cmd |
|
6 |
53 |
431 |
4 |
| intel_sdvo_read_response |
|
11 |
42 |
233 |
3 |
| intel_sdvo_get_pixel_multiplier |
|
3 |
9 |
37 |
1 |
| intel_sdvo_set_control_bus_switch |
|
1 |
7 |
25 |
2 |
| intel_sdvo_set_value |
|
2 |
6 |
47 |
4 |
| intel_sdvo_get_value |
|
2 |
6 |
46 |
4 |
| intel_sdvo_set_target_input |
|
1 |
7 |
33 |
1 |
| intel_sdvo_get_trained_inputs |
|
2 |
11 |
69 |
3 |
| intel_sdvo_set_active_outputs |
|
1 |
7 |
28 |
2 |
| intel_sdvo_get_active_outputs |
|
1 |
7 |
29 |
2 |
| intel_sdvo_set_encoder_power_state |
|
5 |
21 |
75 |
2 |
| intel_sdvo_get_input_pixel_clock_range |
|
2 |
14 |
73 |
3 |
| intel_sdvo_set_target_output |
|
1 |
7 |
28 |
2 |
| intel_sdvo_set_timing |
|
2 |
6 |
58 |
3 |
| intel_sdvo_get_timing |
|
2 |
6 |
58 |
3 |
| intel_sdvo_set_input_timing |
|
1 |
6 |
24 |
2 |
| intel_sdvo_set_output_timing |
|
1 |
6 |
24 |
2 |
| intel_sdvo_get_input_timing |
|
1 |
6 |
24 |
2 |
| intel_sdvo_create_preferred_input_timing |
|
4 |
19 |
105 |
4 |
| intel_sdvo_get_preferred_input_timing |
|
2 |
10 |
77 |
2 |
| intel_sdvo_set_clock_rate_mult |
|
1 |
4 |
25 |
2 |
| intel_sdvo_get_dtd_from_mode |
|
4 |
43 |
403 |
2 |
| intel_sdvo_get_mode_from_dtd |
|
4 |
37 |
389 |
2 |
| intel_sdvo_check_supp_encode |
|
1 |
8 |
39 |
1 |
| intel_sdvo_set_encode |
|
1 |
5 |
25 |
2 |
| intel_sdvo_set_colorimetry |
|
1 |
5 |
25 |
2 |
| intel_sdvo_dump_hdmi_buf |
|
3 |
24 |
153 |
1 |
| intel_sdvo_write_infoframe |
|
6 |
30 |
176 |
5 |
| intel_sdvo_set_avi_infoframe |
|
5 |
30 |
159 |
2 |
| intel_sdvo_set_tv_format |
|
1 |
12 |
86 |
1 |
| intel_sdvo_set_output_timings_from_mode |
|
3 |
12 |
59 |
2 |
| intel_sdvo_get_preferred_input_mode |
|
4 |
19 |
95 |
3 |
| i9xx_adjust_sdvo_tv_clock |
|
5 |
21 |
129 |
1 |
| intel_sdvo_compute_config |
|
13 |
43 |
246 |
2 |
| intel_sdvo_pre_enable |
|
30 |
92 |
584 |
1 |
| intel_sdvo_connector_get_hw_state |
|
2 |
12 |
63 |
1 |
| intel_sdvo_get_hw_state |
|
4 |
18 |
114 |
2 |
| intel_sdvo_get_config |
|
15 |
64 |
336 |
2 |
| intel_disable_sdvo |
|
4 |
21 |
128 |
1 |
| pch_disable_sdvo |
|
1 |
3 |
9 |
1 |
| pch_post_disable_sdvo |
|
1 |
4 |
14 |
1 |
| intel_enable_sdvo |
|
5 |
25 |
162 |
1 |
| intel_sdvo_mode_valid |
|
7 |
18 |
102 |
2 |
| intel_sdvo_get_capabilities |
|
2 |
34 |
114 |
2 |
| intel_sdvo_get_hotplug_support |
|
5 |
13 |
75 |
1 |
| intel_sdvo_enable_hotplug |
|
1 |
6 |
33 |
1 |
| intel_sdvo_multifunc_encoder |
|
1 |
4 |
21 |
1 |
| intel_sdvo_get_edid |
|
1 |
5 |
30 |
1 |
| intel_sdvo_get_analog_edid |
|
1 |
7 |
37 |
1 |
| intel_sdvo_tmds_sink_detect |
|
12 |
40 |
235 |
1 |
| intel_sdvo_connector_matches_edid |
|
1 |
9 |
51 |
2 |
| intel_sdvo_detect |
|
11 |
50 |
269 |
2 |
| intel_sdvo_get_ddc_modes |
|
4 |
17 |
90 |
1 |
| intel_sdvo_get_tv_modes |
|
7 |
29 |
201 |
1 |
| intel_sdvo_get_lvds_modes |
|
4 |
26 |
156 |
1 |
| intel_sdvo_get_modes |
|
3 |
11 |
60 |
1 |
| intel_sdvo_destroy |
|
1 |
6 |
29 |
1 |
| intel_sdvo_detect_hdmi_audio |
|
4 |
13 |
73 |
1 |
| intel_sdvo_set_property |
|
30 |
145 |
770 |
3 |
| intel_sdvo_enc_destroy |
|
2 |
9 |
54 |
1 |
| intel_sdvo_guess_ddc_bus |
|
8 |
25 |
104 |
1 |
| intel_sdvo_select_ddc_bus |
|
3 |
13 |
82 |
2 |
| intel_sdvo_select_i2c_bus |
|
4 |
17 |
95 |
2 |
| intel_sdvo_unselect_i2c_bus |
|
1 |
4 |
18 |
1 |
| intel_sdvo_is_hdmi_connector |
|
1 |
4 |
18 |
2 |
| intel_sdvo_get_slave_addr |
|
6 |
24 |
129 |
2 |
| intel_sdvo_connector_unregister |
|
2 |
10 |
61 |
1 |
| intel_sdvo_connector_init |
|
5 |
35 |
211 |
2 |
| intel_sdvo_add_hdmi_properties |
|
3 |
12 |
87 |
2 |
| intel_sdvo_connector_alloc |
|
3 |
12 |
57 |
1 |
| intel_sdvo_dvi_init |
|
8 |
42 |
240 |
2 |
| intel_sdvo_tv_init |
|
5 |
31 |
171 |
2 |
| intel_sdvo_analog_init |
|
5 |
28 |
157 |
2 |
| intel_sdvo_lvds_init |
|
6 |
33 |
179 |
2 |
| intel_sdvo_output_setup |
|
20 |
43 |
299 |
2 |
| intel_sdvo_output_cleanup |
|
2 |
12 |
71 |
1 |
| intel_sdvo_tv_create_property |
|
8 |
35 |
251 |
3 |
| intel_sdvo_create_enhance_property_tv |
|
14 |
97 |
592 |
3 |
| intel_sdvo_create_enhance_property_lvds |
|
1 |
10 |
61 |
3 |
| intel_sdvo_create_enhance_property |
|
4 |
23 |
118 |
2 |
| intel_sdvo_ddc_proxy_xfer |
|
2 |
9 |
60 |
3 |
| intel_sdvo_ddc_proxy_func |
|
1 |
5 |
32 |
1 |
| intel_sdvo_init_ddc_proxy |
|
3 |
11 |
86 |
2 |
| intel_sdvo_init |
|
16 |
83 |
497 |
3 |
| Source file: ./sys/dev/pci/drm/i915/dvo_tfp410.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tfp410_readb |
|
3 |
32 |
171 |
3 |
| tfp410_writeb |
|
3 |
21 |
126 |
3 |
| tfp410_getid |
|
3 |
8 |
65 |
2 |
| tfp410_init |
|
4 |
29 |
153 |
2 |
| tfp410_detect |
|
3 |
12 |
50 |
1 |
| tfp410_mode_valid |
|
1 |
5 |
17 |
2 |
| tfp410_mode_set |
|
1 |
6 |
23 |
3 |
| tfp410_dpms |
|
3 |
11 |
52 |
2 |
| tfp410_get_hw_state |
|
3 |
10 |
41 |
1 |
| tfp410_dump_regs |
|
1 |
32 |
266 |
1 |
| tfp410_destroy |
|
2 |
8 |
35 |
1 |
| Source file: ./sys/dev/pci/drm/i915/dvo_sil164.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sil164_readb |
|
3 |
32 |
171 |
3 |
| sil164_writeb |
|
3 |
21 |
126 |
3 |
| sil164_init |
|
6 |
32 |
179 |
2 |
| sil164_detect |
|
2 |
9 |
35 |
1 |
| sil164_mode_valid |
|
1 |
5 |
17 |
2 |
| sil164_mode_set |
|
1 |
6 |
23 |
3 |
| sil164_dpms |
|
3 |
14 |
63 |
2 |
| sil164_get_hw_state |
|
3 |
12 |
50 |
1 |
| sil164_dump_regs |
|
1 |
14 |
97 |
1 |
| sil164_destroy |
|
2 |
8 |
35 |
1 |
| Source file: ./sys/dev/pci/drm/i915/intel_hotplug.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| intel_hpd_pin_to_port |
|
6 |
22 |
79 |
2 |
| intel_hpd_irq_storm_detect |
|
3 |
21 |
169 |
2 |
| intel_hpd_irq_storm_disable |
|
6 |
35 |
193 |
1 |
| intel_hpd_irq_storm_reenable_work |
|
6 |
32 |
212 |
1 |
| intel_hpd_irq_event |
|
2 |
16 |
94 |
2 |
| i915_digport_work_func |
|
9 |
40 |
259 |
1 |
| i915_hotplug_work_func |
|
6 |
36 |
224 |
1 |
| intel_hpd_irq_handler |
|
15 |
53 |
336 |
3 |
| intel_hpd_init |
|
6 |
24 |
166 |
1 |
| intel_hpd_init_work |
|
1 |
7 |
45 |
1 |
| intel_hpd_cancel_work |
|
1 |
11 |
79 |
1 |
| Source file: ./sys/dev/pci/drm/i915/intel_dvo.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| enc_to_dvo |
|
1 |
4 |
20 |
1 |
| intel_attached_dvo |
|
1 |
4 |
18 |
1 |
| intel_dvo_connector_get_hw_state |
|
2 |
11 |
83 |
1 |
| intel_dvo_get_hw_state |
|
2 |
13 |
81 |
2 |
| intel_dvo_get_config |
|
3 |
18 |
107 |
2 |
| intel_disable_dvo |
|
1 |
10 |
79 |
1 |
| intel_enable_dvo |
|
1 |
14 |
125 |
1 |
| intel_dvo_mode_valid |
|
6 |
21 |
133 |
2 |
| intel_dvo_compute_config |
|
2 |
11 |
64 |
2 |
| intel_dvo_pre_enable |
|
7 |
38 |
213 |
1 |
| intel_dvo_detect |
|
1 |
7 |
52 |
2 |
| intel_dvo_get_modes |
|
4 |
19 |
102 |
1 |
| intel_dvo_destroy |
|
1 |
6 |
30 |
1 |
| intel_dvo_enc_destroy |
|
2 |
7 |
51 |
1 |
| intel_dvo_get_current_mode |
|
7 |
24 |
145 |
1 |
| intel_dvo_init |
|
10 |
94 |
552 |
1 |
| Source file: ./sys/dev/pci/drm/i915/intel_modes.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| intel_connector_update_modes |
|
1 |
9 |
43 |
2 |
| intel_ddc_get_modes |
|
2 |
12 |
56 |
2 |
| intel_attach_force_audio_property |
|
3 |
17 |
90 |
1 |
| intel_attach_broadcast_rgb_property |
|
3 |
17 |
90 |
1 |
| intel_attach_aspect_ratio_property |
|
2 |
7 |
37 |
1 |
| Source file: ./sys/dev/pci/drm/i915/intel_fbc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fbc_supported |
|
1 |
4 |
18 |
1 |
| get_crtc_fence_y_offset |
|
1 |
4 |
20 |
1 |
| i8xx_fbc_disable |
|
3 |
15 |
82 |
1 |
| i8xx_fbc_enable |
|
6 |
36 |
270 |
1 |
| i8xx_fbc_enabled |
|
1 |
4 |
17 |
1 |
| g4x_fbc_enable |
|
2 |
17 |
128 |
1 |
| g4x_fbc_disable |
|
2 |
11 |
51 |
1 |
| g4x_fbc_enabled |
|
1 |
4 |
17 |
1 |
| intel_fbc_nuke |
|
1 |
5 |
21 |
1 |
| ilk_fbc_enable |
|
8 |
39 |
226 |
1 |
| ilk_fbc_disable |
|
2 |
11 |
51 |
1 |
| ilk_fbc_enabled |
|
1 |
4 |
17 |
1 |
| gen7_fbc_enable |
|
11 |
44 |
258 |
1 |
| intel_fbc_enabled |
|
1 |
4 |
16 |
1 |
| intel_fbc_enable |
|
1 |
9 |
69 |
2 |
| intel_fbc_work_fn |
|
3 |
16 |
121 |
1 |
| intel_fbc_cancel_work |
|
3 |
10 |
71 |
1 |
| intel_fbc_schedule_enable |
|
2 |
18 |
136 |
1 |
| __intel_fbc_disable |
|
1 |
7 |
45 |
1 |
| intel_fbc_disable |
|
2 |
8 |
44 |
1 |
| intel_fbc_disable_crtc |
|
3 |
10 |
67 |
1 |
| intel_no_fbc_reason_str |
|
17 |
40 |
120 |
1 |
| set_no_fbc_reason |
|
2 |
8 |
43 |
2 |
| intel_fbc_find_crtc |
|
8 |
19 |
112 |
1 |
| multiple_pipes_ok |
|
4 |
15 |
82 |
1 |
| find_compression_threshold |
|
11 |
32 |
180 |
4 |
| intel_fbc_alloc_cfb |
|
7 |
43 |
269 |
3 |
| __intel_fbc_cleanup_cfb |
|
3 |
12 |
71 |
1 |
| intel_fbc_cleanup_cfb |
|
2 |
8 |
44 |
1 |
| intel_fbc_get_plane_source_size |
|
4 |
18 |
124 |
3 |
| intel_fbc_calculate_cfb_size |
|
2 |
10 |
78 |
1 |
| intel_fbc_setup_cfb |
|
2 |
12 |
86 |
1 |
| stride_is_valid |
|
8 |
13 |
88 |
2 |
| pixel_format_is_valid |
|
7 |
19 |
78 |
1 |
| intel_fbc_hw_tracking_covers_screen |
|
6 |
19 |
128 |
1 |
| __intel_fbc_update |
|
29 |
95 |
555 |
1 |
| intel_fbc_update |
|
2 |
8 |
44 |
1 |
| intel_fbc_invalidate |
|
6 |
22 |
138 |
3 |
| intel_fbc_flush |
|
4 |
15 |
84 |
3 |
| intel_fbc_init |
|
7 |
35 |
251 |
1 |
| Source file: ./sys/dev/pci/drm/i915/i915_cmd_parser.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| gen7_render_get_cmd_length_mask |
|
4 |
16 |
72 |
0 |
| gen7_bsd_get_cmd_length_mask |
|
5 |
20 |
96 |
0 |
| gen7_blt_get_cmd_length_mask |
|
3 |
10 |
48 |
0 |
| validate_cmds_sorted |
|
6 |
26 |
155 |
0 |
| check_sorted |
|
3 |
18 |
86 |
0 |
| validate_regs_sorted |
|
2 |
6 |
40 |
0 |
| init_hash_table |
|
4 |
22 |
142 |
0 |
| fini_hash_table |
|
1 |
10 |
51 |
0 |
| i915_cmd_parser_init_ring |
|
11 |
74 |
385 |
0 |
| i915_cmd_parser_fini_ring |
|
2 |
6 |
23 |
0 |
| find_cmd_in_table |
|
2 |
14 |
81 |
0 |
| find_cmd |
|
3 |
17 |
82 |
0 |
| find_reg |
|
4 |
12 |
61 |
0 |
| vmap_batch |
|
5 |
31 |
183 |
0 |
| copy_batch |
|
10 |
46 |
253 |
0 |
| i915_needs_cmd_parser |
|
3 |
8 |
41 |
0 |
| check_cmd |
|
24 |
85 |
519 |
0 |
| i915_parse_cmds |
|
11 |
65 |
330 |
0 |
| i915_cmd_parser_get_version |
|
1 |
4 |
9 |
0 |
| Source file: ./sys/dev/pci/drm/i915/intel_csr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| intel_get_stepping |
|
7 |
14 |
112 |
1 |
| intel_get_substepping |
|
7 |
14 |
112 |
1 |
| intel_csr_load_status_get |
|
1 |
8 |
40 |
1 |
| intel_csr_load_status_set |
|
1 |
7 |
37 |
2 |
| intel_csr_load_program |
|
5 |
22 |
160 |
1 |
| finish_csr_load |
|
22 |
103 |
700 |
2 |
| intel_csr_ucode_init |
|
6 |
29 |
163 |
1 |
| intel_csr_ucode_fini |
|
2 |
8 |
44 |
1 |
| assert_csr_loaded |
|
1 |
9 |
57 |
1 |
| Source file: ./sys/dev/pci/drm/i915/i915_vgpu.h |
| Source file: ./sys/dev/pci/drm/i915/intel_ringbuffer.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| intel_ring_flag |
|
1 |
4 |
17 |
1 |
| intel_ring_sync_index |
|
2 |
9 |
40 |
2 |
| intel_flush_status_page |
|
1 |
5 |
30 |
2 |
| intel_read_status_page |
|
1 |
6 |
26 |
2 |
| intel_write_status_page |
|
1 |
5 |
26 |
3 |
| intel_ring_emit |
|
1 |
7 |
40 |
2 |
| intel_ring_advance |
|
1 |
5 |
28 |
1 |
| intel_ring_get_tail |
|
1 |
4 |
14 |
1 |
| Source file: ./sys/dev/pci/drm/i915/i915_suspend.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| i915_save_display |
|
12 |
23 |
238 |
1 |
| i915_restore_display |
|
12 |
27 |
261 |
1 |
| i915_save_state |
|
12 |
33 |
323 |
1 |
| i915_restore_state |
|
12 |
36 |
336 |
1 |
| Source file: ./sys/dev/pci/drm/i915/intel_tv.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| enc_to_tv |
|
1 |
4 |
20 |
1 |
| intel_attached_tv |
|
1 |
4 |
18 |
1 |
| intel_tv_get_hw_state |
|
2 |
10 |
65 |
2 |
| intel_enable_tv |
|
1 |
8 |
61 |
1 |
| intel_disable_tv |
|
1 |
6 |
41 |
1 |
| intel_tv_mode_lookup |
|
3 |
10 |
60 |
1 |
| intel_tv_mode_find |
|
1 |
4 |
17 |
1 |
| intel_tv_mode_valid |
|
3 |
10 |
61 |
2 |
| intel_tv_get_config |
|
1 |
5 |
26 |
2 |
| intel_tv_compute_config |
|
2 |
13 |
81 |
2 |
| set_tv_mode_timings |
|
3 |
44 |
355 |
3 |
| set_color_conversion |
|
2 |
18 |
130 |
2 |
| intel_tv_pre_enable |
|
23 |
110 |
748 |
1 |
| intel_tv_detect_type |
|
8 |
73 |
446 |
2 |
| intel_tv_find_better_format |
|
4 |
18 |
115 |
1 |
| intel_tv_detect |
|
5 |
32 |
173 |
2 |
| intel_tv_chose_preferred_modes |
|
8 |
15 |
111 |
2 |
| intel_tv_get_modes |
|
10 |
44 |
321 |
1 |
| intel_tv_destroy |
|
1 |
5 |
19 |
1 |
| intel_tv_set_property |
|
15 |
45 |
315 |
3 |
| tv_is_present_in_vbt |
|
7 |
25 |
117 |
1 |
| intel_tv_init |
|
9 |
86 |
586 |
1 |
| Source file: ./sys/dev/pci/drm/i915/intel_uncore.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| intel_uncore_forcewake_domain_to_str |
|
3 |
8 |
43 |
1 |
| assert_device_not_suspended |
|
2 |
5 |
27 |
1 |
| fw_domain_reset |
|
1 |
5 |
34 |
1 |
| fw_domain_arm_timer |
|
1 |
4 |
21 |
1 |
| fw_domain_wait_ack_clear |
|
2 |
8 |
46 |
1 |
| fw_domain_get |
|
1 |
4 |
25 |
1 |
| fw_domain_wait_ack |
|
2 |
8 |
44 |
1 |
| fw_domain_put |
|
1 |
4 |
25 |
1 |
| fw_domain_posting_read |
|
2 |
5 |
27 |
1 |
| fw_domains_get |
|
1 |
10 |
49 |
2 |
| fw_domains_put |
|
1 |
9 |
44 |
2 |
| fw_domains_posting_read |
|
1 |
9 |
35 |
1 |
| fw_domains_reset |
|
2 |
10 |
54 |
2 |
| __gen6_gt_wait_for_thread_c0 |
|
2 |
6 |
34 |
1 |
| fw_domains_get_with_thread_status |
|
1 |
6 |
25 |
2 |
| gen6_gt_check_fifodbg |
|
2 |
7 |
41 |
1 |
| fw_domains_put_with_fifo |
|
1 |
6 |
25 |
2 |
| fifo_free_entries |
|
1 |
5 |
24 |
1 |
| __gen6_gt_wait_for_fifo |
|
7 |
19 |
116 |
1 |
| intel_uncore_fw_release_timer |
|
3 |
13 |
105 |
1 |
| intel_uncore_forcewake_reset |
|
13 |
47 |
289 |
2 |
| intel_uncore_ellc_detect |
|
5 |
10 |
69 |
1 |
| __intel_uncore_early_sanitize |
|
5 |
17 |
97 |
2 |
| intel_uncore_early_sanitize |
|
1 |
5 |
24 |
2 |
| intel_uncore_sanitize |
|
1 |
4 |
14 |
1 |
| __intel_uncore_forcewake_get |
|
4 |
15 |
88 |
2 |
| intel_uncore_forcewake_get |
|
2 |
11 |
70 |
2 |
| intel_uncore_forcewake_get__locked |
|
2 |
8 |
43 |
2 |
| __intel_uncore_forcewake_put |
|
4 |
17 |
87 |
2 |
| intel_uncore_forcewake_put |
|
2 |
10 |
61 |
2 |
| intel_uncore_forcewake_put__locked |
|
2 |
8 |
43 |
2 |
| assert_forcewakes_inactive |
|
2 |
9 |
46 |
1 |
| ilk_dummy_write |
|
1 |
4 |
18 |
1 |
| hsw_unclaimed_reg_debug |
|
5 |
14 |
89 |
4 |
| hsw_unclaimed_reg_detect |
|
4 |
14 |
65 |
1 |
| __force_wake_get |
|
4 |
18 |
89 |
2 |
| is_gen8_shadowed |
|
3 |
8 |
46 |
2 |
| is_gen9_shadowed |
|
3 |
8 |
46 |
2 |
| fw_domain_init |
|
7 |
33 |
218 |
4 |
| intel_uncore_fw_domains_init |
|
11 |
68 |
413 |
1 |
| intel_uncore_init |
|
13 |
52 |
217 |
1 |
| intel_uncore_fini |
|
1 |
5 |
21 |
1 |
| i915_reg_read_ioctl |
|
10 |
44 |
251 |
3 |
| i915_get_reset_stats_ioctl |
|
8 |
30 |
192 |
3 |
| i915_reset_complete |
|
1 |
6 |
33 |
1 |
| i915_do_reset |
|
1 |
7 |
47 |
1 |
| g4x_reset_complete |
|
1 |
6 |
33 |
1 |
| g33_do_reset |
|
1 |
5 |
31 |
1 |
| g4x_do_reset |
|
3 |
21 |
133 |
1 |
| ironlake_do_reset |
|
3 |
19 |
99 |
1 |
| gen6_do_reset |
|
1 |
9 |
60 |
1 |
| wait_for_register |
|
1 |
8 |
43 |
5 |
| gen8_do_reset |
|
2 |
24 |
120 |
1 |
| int( * intel_get_gpu_reset(structdrm_device*dev)) |
|
8 |
19 |
98 |
1 |
| intel_gpu_reset |
|
2 |
13 |
74 |
1 |
| intel_has_gpu_reset |
|
1 |
4 |
17 |
1 |
| intel_uncore_check_errors |
|
3 |
9 |
52 |
1 |
| Source file: ./sys/dev/pci/drm/i915/i915_gem_execbuffer.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| eb_create |
|
5 |
26 |
174 |
1 |
| eb_reset |
|
2 |
5 |
40 |
1 |
| eb_lookup_vmas |
|
9 |
67 |
419 |
5 |
| eb_get_vma |
|
4 |
19 |
109 |
2 |
| i915_gem_execbuffer_unreserve_vma |
|
4 |
13 |
78 |
1 |
| eb_destroy |
|
2 |
13 |
70 |
1 |
| use_cpu_reloc |
|
3 |
6 |
35 |
1 |
| relocate_entry_cpu |
|
4 |
27 |
189 |
3 |
| relocate_entry_gtt |
|
8 |
42 |
272 |
3 |
| clflush_write32 |
|
1 |
6 |
40 |
2 |
| relocate_entry_clflush |
|
4 |
27 |
184 |
3 |
| i915_gem_execbuffer_relocate_entry |
|
17 |
81 |
467 |
3 |
| i915_gem_execbuffer_relocate_vma |
|
8 |
34 |
199 |
2 |
| i915_gem_execbuffer_relocate_vma_slow |
|
3 |
13 |
78 |
3 |
| i915_gem_execbuffer_relocate |
|
2 |
13 |
58 |
1 |
| only_mappable_for_reloc |
|
1 |
5 |
21 |
1 |
| i915_gem_execbuffer_reserve_vma |
|
16 |
47 |
294 |
3 |
| need_reloc_mappable |
|
5 |
13 |
76 |
1 |
| eb_vma_misplaced |
|
10 |
19 |
145 |
1 |
| i915_gem_execbuffer_reserve |
|
16 |
67 |
394 |
4 |
| i915_gem_execbuffer_relocate_slow |
|
13 |
83 |
550 |
7 |
| i915_gem_execbuffer_move_to_gpu |
|
6 |
25 |
149 |
2 |
| i915_gem_check_execbuffer |
|
9 |
16 |
87 |
1 |
| validate_exec_list |
|
11 |
32 |
211 |
3 |
| i915_gem_validate_context |
|
8 |
24 |
158 |
4 |
| i915_gem_execbuffer_move_to_active |
|
5 |
32 |
242 |
2 |
| i915_gem_execbuffer_retire_commands |
|
1 |
5 |
30 |
1 |
| i915_reset_gen7_sol_offsets |
|
5 |
21 |
134 |
2 |
| i915_gem_execbuffer_parse |
|
5 |
42 |
208 |
7 |
| i915_gem_ringbuffer_submission |
|
20 |
77 |
451 |
3 |
| gen8_dispatch_bsd_ring |
|
3 |
22 |
121 |
2 |
| eb_get_batch |
|
1 |
6 |
44 |
1 |
| i915_gem_do_execbuffer |
|
43 |
189 |
1120 |
5 |
| i915_gem_execbuffer |
|
10 |
73 |
509 |
3 |
| i915_gem_execbuffer2 |
|
10 |
55 |
321 |
3 |
| Source file: ./sys/dev/pci/drm/i915/i915_gem_stolen.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| i915_gem_stolen_insert_node_in_range |
|
5 |
17 |
119 |
6 |
| i915_gem_stolen_insert_node |
|
1 |
8 |
40 |
4 |
| i915_gem_stolen_remove_node |
|
1 |
7 |
39 |
2 |
| i915_stolen_to_physical |
|
32 |
129 |
973 |
1 |
| i915_gem_cleanup_stolen |
|
2 |
7 |
43 |
1 |
| g4x_get_stolen_reserved |
|
3 |
15 |
95 |
3 |
| gen6_get_stolen_reserved |
|
5 |
23 |
106 |
3 |
| gen7_get_stolen_reserved |
|
3 |
17 |
82 |
3 |
| gen8_get_stolen_reserved |
|
5 |
23 |
114 |
3 |
| bdw_get_stolen_reserved |
|
2 |
12 |
73 |
3 |
| i915_gem_init_stolen |
|
19 |
67 |
377 |
1 |
| i915_pages_create_for_stolen |
|
3 |
22 |
143 |
3 |
| i915_gem_object_get_pages_stolen |
|
1 |
5 |
17 |
1 |
| i915_gem_object_put_pages_stolen |
|
1 |
5 |
23 |
1 |
| i915_gem_object_release_stolen |
|
2 |
9 |
52 |
1 |
| _i915_gem_object_create_stolen |
|
4 |
22 |
132 |
2 |
| i915_gem_object_create_stolen |
|
6 |
26 |
145 |
2 |
| i915_gem_object_create_stolen_for_preallocated |
|
12 |
64 |
387 |
4 |
| Source file: ./sys/dev/pci/drm/i915/intel_i2c.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| get_gmbus_pin |
|
5 |
12 |
70 |
2 |
| intel_gmbus_is_valid_pin |
|
6 |
14 |
88 |
2 |
| to_intel_gmbus |
|
1 |
4 |
20 |
1 |
| intel_i2c_reset |
|
1 |
6 |
32 |
1 |
| intel_gmbus_acquire_bus |
|
1 |
8 |
48 |
2 |
| intel_gmbus_release_bus |
|
1 |
7 |
41 |
2 |
| intel_gmbus_exec |
|
35 |
112 |
679 |
8 |
| intel_gpio_bb_set_bits |
|
3 |
14 |
84 |
2 |
| intel_gpio_bb_set_dir |
|
2 |
12 |
76 |
2 |
| intel_gpio_bb_read_bits |
|
1 |
6 |
32 |
1 |
| intel_gpio_send_start |
|
1 |
4 |
24 |
2 |
| intel_gpio_send_stop |
|
1 |
4 |
24 |
2 |
| intel_gpio_initiate_xfer |
|
1 |
4 |
29 |
3 |
| intel_gpio_read_byte |
|
1 |
4 |
30 |
3 |
| intel_gpio_write_byte |
|
1 |
4 |
29 |
3 |
| intel_setup_gmbus |
|
6 |
34 |
249 |
1 |
| intel_gmbus_get_adapter |
|
2 |
7 |
40 |
2 |
| intel_teardown_gmbus |
|
1 |
3 |
9 |
1 |
| intel_gmbus_force_bit |
|
3 |
13 |
73 |
2 |
| Source file: ./sys/dev/pci/drm/i915/i915_dma.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| i915_getparam |
|
42 |
125 |
514 |
3 |
| i915_get_bridge_dev |
|
2 |
10 |
55 |
1 |
| i915_get_bridge_dev |
|
1 |
9 |
73 |
1 |
| intel_alloc_mchbar_resource |
|
14 |
40 |
281 |
1 |
| intel_setup_mchbar |
|
9 |
29 |
188 |
1 |
| intel_teardown_mchbar |
|
7 |
21 |
149 |
1 |
| i915_vga_set_decode |
|
2 |
10 |
44 |
2 |
| i915_switcheroo_set_state |
|
2 |
17 |
99 |
2 |
| i915_switcheroo_can_switch |
|
1 |
5 |
26 |
1 |
| i915_load_modeset_init |
|
11 |
56 |
291 |
1 |
| i915_kick_out_firmware_fb |
|
2 |
17 |
109 |
1 |
| i915_kick_out_firmware_fb |
|
1 |
4 |
12 |
1 |
| i915_kick_out_vgacon |
|
1 |
4 |
12 |
1 |
| i915_kick_out_vgacon |
|
1 |
4 |
13 |
1 |
| i915_kick_out_vgacon |
|
4 |
15 |
81 |
1 |
| i915_dump_device_info |
|
1 |
10 |
58 |
1 |
| cherryview_sseu_info_init |
|
4 |
28 |
183 |
1 |
| gen9_sseu_info_init |
|
10 |
41 |
322 |
1 |
| broadwell_sseu_info_init |
|
7 |
40 |
357 |
1 |
| intel_device_info_runtime_init |
|
29 |
77 |
511 |
1 |
| intel_init_dpio |
|
3 |
11 |
52 |
1 |
| i915_driver_load |
|
26 |
161 |
986 |
2 |
| i915_driver_unload |
|
6 |
62 |
409 |
1 |
| i915_driver_load |
|
38 |
176 |
1146 |
2 |
| i915_driver_open |
|
2 |
8 |
36 |
2 |
| i915_driver_lastclose |
|
1 |
5 |
18 |
1 |
| i915_driver_preclose |
|
1 |
8 |
51 |
2 |
| i915_driver_postclose |
|
3 |
7 |
42 |
2 |
| i915_gem_reject_pin_ioctl |
|
1 |
5 |
22 |
3 |
| Source file: ./sys/dev/pci/drm/i915/intel_ringbuffer.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| intel_ring_initialized |
|
4 |
12 |
76 |
1 |
| __intel_ring_space |
|
2 |
7 |
35 |
3 |
| intel_ring_update_space |
|
2 |
9 |
56 |
1 |
| intel_ring_space |
|
1 |
5 |
19 |
1 |
| intel_ring_stopped |
|
1 |
5 |
32 |
1 |
| __intel_ring_advance |
|
2 |
8 |
48 |
1 |
| gen2_render_ring_flush |
|
4 |
20 |
100 |
3 |
| gen4_render_ring_flush |
|
7 |
24 |
129 |
3 |
| intel_emit_post_sync_nonzero_flush |
|
3 |
28 |
175 |
1 |
| gen6_render_ring_flush |
|
5 |
34 |
170 |
3 |
| gen7_render_ring_cs_stall_wa |
|
2 |
15 |
78 |
1 |
| gen7_render_ring_flush |
|
4 |
37 |
177 |
3 |
| gen8_emit_pipe_control |
|
2 |
17 |
96 |
3 |
| gen8_render_ring_flush |
|
4 |
31 |
132 |
3 |
| ring_write_tail |
|
1 |
6 |
30 |
2 |
| intel_ring_get_active_head |
|
3 |
13 |
92 |
1 |
| ring_setup_phys_status_page |
|
2 |
9 |
66 |
1 |
| intel_ring_setup_status_page |
|
11 |
40 |
227 |
1 |
| stop_ring |
|
5 |
20 |
152 |
1 |
| init_ring_common |
|
8 |
63 |
389 |
1 |
| intel_fini_pipe_control |
|
3 |
12 |
88 |
1 |
| intel_init_pipe_control |
|
5 |
32 |
208 |
1 |
| intel_ring_workarounds_emit |
|
6 |
30 |
207 |
1 |
| intel_rcs_ctx_init |
|
3 |
11 |
49 |
1 |
| wa_add |
|
2 |
12 |
93 |
4 |
| gen8_init_workarounds |
|
1 |
18 |
83 |
1 |
| bdw_init_workarounds |
|
3 |
18 |
86 |
1 |
| chv_init_workarounds |
|
2 |
12 |
61 |
1 |
| gen9_init_workarounds |
|
8 |
45 |
229 |
1 |
| skl_tune_iz_hashing |
|
6 |
24 |
185 |
1 |
| skl_init_workarounds |
|
8 |
34 |
191 |
1 |
| bxt_init_workarounds |
|
5 |
23 |
124 |
1 |
| kbl_init_workarounds |
|
8 |
33 |
175 |
1 |
| init_workarounds_ring |
|
6 |
18 |
112 |
1 |
| init_render_ring |
|
12 |
28 |
217 |
1 |
| render_ring_cleanup |
|
2 |
11 |
63 |
1 |
| gen8_rcs_signal |
|
3 |
33 |
209 |
2 |
| gen8_xcs_signal |
|
3 |
31 |
196 |
2 |
| gen6_signal |
|
4 |
26 |
177 |
2 |
| gen6_add_request |
|
3 |
17 |
101 |
1 |
| i915_gem_has_seqno_wrapped |
|
1 |
6 |
28 |
2 |
| gen8_ring_sync |
|
2 |
22 |
118 |
3 |
| gen6_ring_sync |
|
3 |
29 |
167 |
3 |
| pc_render_add_request |
|
2 |
35 |
224 |
1 |
| gen6_ring_get_seqno |
|
2 |
8 |
48 |
2 |
| ring_get_seqno |
|
1 |
4 |
20 |
2 |
| ring_set_seqno |
|
1 |
4 |
21 |
2 |
| pc_render_get_seqno |
|
1 |
4 |
22 |
2 |
| pc_render_set_seqno |
|
1 |
4 |
23 |
2 |
| gen5_ring_get_irq |
|
3 |
13 |
86 |
1 |
| gen5_ring_put_irq |
|
2 |
10 |
69 |
1 |
| i9xx_ring_get_irq |
|
3 |
16 |
98 |
1 |
| i9xx_ring_put_irq |
|
2 |
13 |
84 |
1 |
| i8xx_ring_get_irq |
|
3 |
16 |
98 |
1 |
| i8xx_ring_put_irq |
|
2 |
13 |
84 |
1 |
| bsd_ring_flush |
|
2 |
14 |
65 |
3 |
| i9xx_add_request |
|
2 |
14 |
79 |
1 |
| gen6_ring_get_irq |
|
5 |
20 |
127 |
1 |
| gen6_ring_put_irq |
|
4 |
15 |
102 |
1 |
| hsw_vebox_get_irq |
|
3 |
15 |
97 |
1 |
| hsw_vebox_put_irq |
|
2 |
12 |
78 |
1 |
| gen8_ring_get_irq |
|
5 |
21 |
129 |
1 |
| gen8_ring_put_irq |
|
4 |
17 |
104 |
1 |
| i965_dispatch_execbuffer |
|
3 |
18 |
80 |
4 |
| i830_dispatch_execbuffer |
|
7 |
45 |
300 |
4 |
| i915_dispatch_execbuffer |
|
3 |
15 |
80 |
4 |
| cleanup_phys_status_page |
|
2 |
8 |
49 |
1 |
| cleanup_status_page |
|
2 |
11 |
63 |
1 |
| init_status_page |
|
6 |
32 |
194 |
1 |
| init_phys_status_page |
|
3 |
13 |
83 |
1 |
| intel_unpin_ringbuffer_obj |
|
1 |
8 |
59 |
1 |
| intel_pin_and_map_ringbuffer_obj |
|
4 |
22 |
131 |
2 |
| intel_destroy_ringbuffer_obj |
|
1 |
5 |
25 |
1 |
| intel_alloc_ringbuffer_obj |
|
4 |
15 |
84 |
2 |
| intel_engine_create_ringbuffer |
|
5 |
23 |
142 |
2 |
| intel_ringbuffer_free |
|
1 |
5 |
19 |
1 |
| intel_init_ring_buffer |
|
7 |
43 |
243 |
2 |
| intel_cleanup_ring_buffer |
|
5 |
22 |
139 |
1 |
| ring_wait_for_space |
|
5 |
23 |
131 |
2 |
| __wrap_ring_buffer |
|
2 |
11 |
63 |
1 |
| intel_ring_idle |
|
2 |
13 |
79 |
1 |
| intel_ring_alloc_request_extras |
|
1 |
5 |
22 |
1 |
| intel_ring_reserve_space |
|
1 |
5 |
26 |
1 |
| intel_ring_reserved_space_reserve |
|
1 |
6 |
32 |
2 |
| intel_ring_reserved_space_cancel |
|
1 |
6 |
28 |
1 |
| intel_ring_reserved_space_use |
|
1 |
6 |
30 |
1 |
| intel_ring_reserved_space_end |
|
2 |
12 |
73 |
1 |
| __intel_ring_prepare |
|
8 |
30 |
171 |
2 |
| intel_ring_begin |
|
3 |
19 |
106 |
2 |
| intel_ring_cacheline_align |
|
4 |
16 |
99 |
1 |
| intel_ring_init_seqno |
|
4 |
13 |
112 |
2 |
| gen6_bsd_ring_write_tail |
|
2 |
16 |
90 |
2 |
| gen6_bsd_ring_flush |
|
5 |
27 |
155 |
3 |
| gen8_ring_dispatch_execbuffer |
|
4 |
20 |
122 |
4 |
| hsw_ring_dispatch_execbuffer |
|
4 |
19 |
90 |
4 |
| gen6_ring_dispatch_execbuffer |
|
3 |
17 |
78 |
4 |
| gen6_ring_flush |
|
5 |
28 |
158 |
3 |
| intel_init_render_ring_buffer |
|
24 |
131 |
862 |
1 |
| intel_init_bsd_ring_buffer |
|
7 |
68 |
455 |
1 |
| intel_init_bsd2_ring_buffer |
|
2 |
26 |
147 |
1 |
| intel_init_blt_ring_buffer |
|
4 |
46 |
342 |
1 |
| intel_init_vebox_ring_buffer |
|
4 |
46 |
342 |
1 |
| intel_ring_flush_all_caches |
|
3 |
13 |
69 |
1 |
| intel_ring_invalidate_all_caches |
|
3 |
15 |
76 |
1 |
| intel_stop_ring_buffer |
|
4 |
11 |
63 |
1 |
| Source file: ./sys/dev/pci/drm/i915/intel_guc_fwif.h |
| Source file: ./sys/dev/pci/drm/i915/intel_bios.h |
| Source file: ./sys/dev/pci/drm/i915/intel_overlay.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| intel_overlay_map_regs |
|
4 |
16 |
105 |
1 |
| intel_overlay_unmap_regs |
|
3 |
9 |
58 |
2 |
| intel_overlay_do_wait_request |
|
2 |
15 |
85 |
3 |
| intel_overlay_on |
|
4 |
25 |
173 |
1 |
| intel_overlay_continue |
|
5 |
32 |
192 |
2 |
| intel_overlay_release_old_vid_tail |
|
1 |
7 |
37 |
1 |
| intel_overlay_off_tail |
|
2 |
12 |
67 |
1 |
| intel_overlay_off |
|
4 |
33 |
209 |
1 |
| intel_overlay_recover_from_interrupt |
|
4 |
13 |
65 |
1 |
| intel_overlay_release_old_vid |
|
6 |
32 |
190 |
1 |
| intel_overlay_reset |
|
2 |
12 |
60 |
1 |
| packed_depth_bytes |
|
3 |
10 |
30 |
1 |
| packed_width_bytes |
|
2 |
9 |
33 |
2 |
| uv_hsubsampling |
|
5 |
13 |
39 |
1 |
| uv_vsubsampling |
|
5 |
13 |
39 |
1 |
| calc_swidthsw |
|
3 |
16 |
95 |
3 |
| update_polyphase_filter |
|
1 |
6 |
38 |
1 |
| update_scaling_factors |
|
6 |
41 |
312 |
3 |
| update_colorkey |
|
7 |
30 |
148 |
2 |
| overlay_cmd_reg |
|
12 |
41 |
144 |
1 |
| intel_overlay_do_put_image |
|
13 |
93 |
681 |
3 |
| intel_overlay_switch_off |
|
5 |
24 |
143 |
1 |
| check_overlay_possible_on_crtc |
|
3 |
9 |
40 |
2 |
| update_pfit_vscale_ratio |
|
3 |
17 |
96 |
1 |
| check_overlay_dst |
|
5 |
12 |
78 |
2 |
| check_overlay_scaling |
|
3 |
11 |
75 |
1 |
| check_overlay_src |
|
37 |
82 |
509 |
3 |
| intel_panel_fitter_pipe |
|
6 |
13 |
90 |
1 |
| intel_overlay_put_image |
|
20 |
116 |
709 |
3 |
| update_reg_attrs |
|
1 |
7 |
52 |
2 |
| check_gamma_bounds |
|
5 |
11 |
75 |
2 |
| check_gamma5_errata |
|
3 |
9 |
48 |
1 |
| check_gamma |
|
9 |
14 |
112 |
1 |
| intel_overlay_attrs |
|
13 |
72 |
448 |
3 |
| intel_setup_overlay |
|
13 |
70 |
387 |
1 |
| intel_cleanup_overlay |
|
2 |
9 |
55 |
1 |
| intel_overlay_map_regs_atomic |
|
2 |
12 |
73 |
1 |
| intel_overlay_unmap_regs_atomic |
|
2 |
6 |
30 |
2 |
| intel_overlay_capture_error_state |
|
6 |
27 |
179 |
1 |
| intel_overlay_print_error_state |
|
1 |
49 |
245 |
2 |
| intel_overlay_capture_error_state |
|
1 |
4 |
12 |
1 |
| intel_overlay_print_error_state |
|
1 |
4 |
14 |
2 |
| Source file: ./sys/dev/pci/drm/i915/intel_dp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| is_edp |
|
1 |
5 |
28 |
1 |
| intel_dp_to_dev |
|
1 |
5 |
28 |
1 |
| intel_attached_dp |
|
1 |
4 |
21 |
1 |
| intel_dp_unused_lane_mask |
|
1 |
4 |
21 |
1 |
| intel_dp_max_link_bw |
|
4 |
16 |
56 |
1 |
| intel_dp_max_lane_count |
|
4 |
12 |
85 |
1 |
| intel_dp_link_required |
|
1 |
4 |
21 |
2 |
| intel_dp_max_data_rate |
|
1 |
4 |
21 |
2 |
| intel_dp_mode_valid |
|
8 |
27 |
170 |
2 |
| intel_dp_pack_aux |
|
3 |
10 |
69 |
2 |
| intel_dp_unpack_aux |
|
3 |
8 |
58 |
3 |
| pps_lock |
|
1 |
11 |
75 |
1 |
| pps_unlock |
|
1 |
11 |
75 |
1 |
| vlv_power_sequencer_kick |
|
9 |
43 |
324 |
1 |
| vlv_power_sequencer_pipe |
|
5 |
35 |
238 |
1 |
| vlv_pipe_has_pp_on |
|
1 |
5 |
24 |
2 |
| vlv_pipe_has_vdd_on |
|
1 |
5 |
24 |
2 |
| vlv_pipe_any |
|
1 |
5 |
16 |
2 |
| vlv_initial_pps_pipe |
|
4 |
16 |
77 |
3 |
| vlv_initial_power_sequencer_setup |
|
4 |
25 |
165 |
1 |
| vlv_power_sequencer_reset |
|
3 |
14 |
84 |
1 |
| _pp_ctrl_reg |
|
3 |
10 |
53 |
1 |
| _pp_stat_reg |
|
3 |
10 |
53 |
1 |
| edp_notify_handler |
|
4 |
25 |
158 |
3 |
| edp_have_panel_power |
|
3 |
10 |
67 |
1 |
| edp_have_panel_vdd |
|
3 |
10 |
63 |
1 |
| intel_dp_check_edp |
|
5 |
13 |
82 |
1 |
| intel_dp_aux_wait_done |
|
4 |
18 |
107 |
2 |
| i9xx_get_aux_clock_divider |
|
2 |
6 |
47 |
2 |
| ilk_get_aux_clock_divider |
|
3 |
13 |
85 |
2 |
| hsw_get_aux_clock_divider |
|
7 |
19 |
123 |
2 |
| vlv_get_aux_clock_divider |
|
2 |
4 |
19 |
2 |
| skl_get_aux_clock_divider |
|
2 |
4 |
19 |
2 |
| i9xx_get_aux_send_ctl |
|
5 |
26 |
124 |
4 |
| skl_get_aux_send_ctl |
|
2 |
14 |
49 |
4 |
| intel_dp_aux_ch |
|
19 |
98 |
552 |
5 |
| intel_dp_aux_transfer |
|
13 |
49 |
352 |
2 |
| intel_dp_aux_init |
|
20 |
71 |
394 |
2 |
| intel_dp_connector_unregister |
|
3 |
8 |
58 |
1 |
| skl_edp_set_pll_config |
|
7 |
37 |
160 |
1 |
| hsw_dp_set_ddi_pll_sel |
|
4 |
16 |
69 |
1 |
| intel_dp_sink_rates |
|
2 |
9 |
52 |
2 |
| intel_dp_source_supports_hbr2 |
|
6 |
10 |
61 |
1 |
| intel_dp_source_rates |
|
5 |
17 |
94 |
2 |
| intel_dp_set_clock |
|
9 |
29 |
180 |
2 |
| intersect_rates |
|
6 |
21 |
121 |
5 |
| intel_dp_common_rates |
|
1 |
12 |
70 |
2 |
| snprintf_int_array |
|
4 |
13 |
83 |
4 |
| intel_dp_print_rates |
|
2 |
19 |
150 |
1 |
| rate_to_index |
|
3 |
8 |
44 |
2 |
| intel_dp_max_link_rate |
|
2 |
9 |
55 |
1 |
| intel_dp_rate_select |
|
1 |
4 |
22 |
2 |
| intel_dp_compute_rate |
|
2 |
12 |
59 |
4 |
| intel_dp_compute_config |
|
29 |
118 |
728 |
2 |
| ironlake_set_pll_cpu_edp |
|
2 |
23 |
137 |
1 |
| intel_dp_set_link_params |
|
1 |
6 |
31 |
2 |
| intel_dp_prepare |
|
18 |
49 |
388 |
1 |
| wait_panel_status |
|
2 |
21 |
122 |
3 |
| wait_panel_on |
|
1 |
5 |
23 |
1 |
| wait_panel_off |
|
1 |
5 |
23 |
1 |
| wait_panel_power_cycle |
|
1 |
7 |
34 |
1 |
| wait_backlight_on |
|
1 |
5 |
20 |
1 |
| edp_wait_backlight_off |
|
1 |
5 |
20 |
1 |
| ironlake_get_pp_control |
|
2 |
13 |
70 |
1 |
| edp_panel_vdd_on |
|
5 |
38 |
234 |
1 |
| intel_edp_panel_vdd_on |
|
2 |
11 |
57 |
1 |
| edp_panel_vdd_off_sync |
|
3 |
29 |
179 |
1 |
| edp_panel_vdd_work |
|
2 |
9 |
49 |
1 |
| edp_panel_vdd_schedule_off |
|
1 |
6 |
34 |
1 |
| edp_panel_vdd_off |
|
3 |
15 |
83 |
2 |
| edp_panel_on |
|
6 |
36 |
199 |
1 |
| intel_edp_panel_on |
|
2 |
8 |
34 |
1 |
| edp_panel_off |
|
2 |
28 |
180 |
1 |
| intel_edp_panel_off |
|
2 |
8 |
34 |
1 |
| _intel_edp_backlight_on |
|
1 |
16 |
92 |
1 |
| intel_edp_backlight_on |
|
2 |
8 |
36 |
1 |
| _intel_edp_backlight_off |
|
2 |
18 |
95 |
1 |
| intel_edp_backlight_off |
|
2 |
8 |
36 |
1 |
| intel_edp_backlight_power |
|
4 |
17 |
81 |
2 |
| ironlake_edp_pll_on |
|
1 |
19 |
130 |
1 |
| ironlake_edp_pll_off |
|
1 |
18 |
115 |
1 |
| intel_dp_sink_dpms |
|
7 |
21 |
116 |
2 |
| intel_dp_get_hw_state |
|
9 |
35 |
224 |
2 |
| intel_dp_get_config |
|
18 |
58 |
384 |
2 |
| intel_disable_dp |
|
5 |
16 |
116 |
1 |
| ilk_post_disable_dp |
|
2 |
8 |
49 |
1 |
| vlv_post_disable_dp |
|
1 |
5 |
27 |
1 |
| chv_data_lane_soft_reset |
|
7 |
39 |
274 |
2 |
| chv_post_disable_dp |
|
1 |
10 |
70 |
1 |
| _intel_dp_set_link_train |
|
21 |
74 |
325 |
3 |
| intel_dp_enable_port |
|
1 |
12 |
82 |
1 |
| intel_enable_dp |
|
6 |
33 |
210 |
1 |
| g4x_enable_dp |
|
1 |
6 |
32 |
1 |
| vlv_enable_dp |
|
1 |
6 |
32 |
1 |
| g4x_pre_enable_dp |
|
2 |
10 |
57 |
1 |
| vlv_detach_power_sequencer |
|
1 |
13 |
90 |
1 |
| vlv_steal_power_sequencer |
|
5 |
26 |
156 |
2 |
| vlv_init_panel_power_sequencer |
|
4 |
21 |
156 |
1 |
| vlv_pre_enable_dp |
|
2 |
24 |
193 |
1 |
| vlv_dp_pre_pll_enable |
|
1 |
24 |
176 |
1 |
| chv_pre_enable_dp |
|
12 |
69 |
512 |
1 |
| chv_dp_pre_pll_enable |
|
12 |
60 |
412 |
1 |
| chv_dp_post_pll_disable |
|
2 |
18 |
137 |
1 |
| intel_dp_dpcd_read_wake |
|
3 |
14 |
82 |
4 |
| intel_dp_get_link_status |
|
1 |
7 |
32 |
2 |
| intel_dp_voltage_max |
|
10 |
20 |
124 |
1 |
| intel_dp_pre_emphasis_max |
|
26 |
65 |
255 |
2 |
| vlv_signal_levels |
|
15 |
96 |
436 |
1 |
| chv_need_uniq_trans_scale |
|
2 |
5 |
24 |
1 |
| chv_signal_levels |
|
22 |
135 |
820 |
1 |
| intel_get_adjust_train |
|
7 |
25 |
156 |
2 |
| gen4_signal_levels |
|
9 |
35 |
107 |
1 |
| gen6_edp_signal_levels |
|
10 |
25 |
97 |
1 |
| gen7_edp_signal_levels |
|
8 |
25 |
93 |
1 |
| intel_dp_set_signal_levels |
|
10 |
36 |
239 |
2 |
| intel_dp_set_link_train |
|
2 |
24 |
156 |
3 |
| intel_dp_reset_link_train |
|
1 |
7 |
49 |
3 |
| intel_dp_update_link_train |
|
1 |
15 |
107 |
3 |
| intel_dp_set_idle_link_train |
|
4 |
19 |
122 |
1 |
| intel_dp_link_training_clock_recovery |
|
15 |
77 |
440 |
1 |
| intel_dp_link_training_channel_equalization |
|
13 |
67 |
310 |
1 |
| intel_dp_stop_link_train |
|
1 |
5 |
21 |
1 |
| intel_dp_start_link_train |
|
1 |
5 |
19 |
1 |
| intel_dp_link_down |
|
11 |
40 |
282 |
1 |
| intel_dp_get_dpcd |
|
18 |
67 |
480 |
1 |
| intel_dp_probe_oui |
|
4 |
12 |
107 |
1 |
| intel_dp_probe_mst |
|
5 |
19 |
110 |
1 |
| intel_dp_sink_crc_stop |
|
3 |
22 |
126 |
1 |
| intel_dp_sink_crc_start |
|
7 |
27 |
175 |
1 |
| intel_dp_sink_crc |
|
11 |
45 |
287 |
2 |
| intel_dp_get_sink_irq |
|
1 |
6 |
30 |
2 |
| intel_dp_get_sink_irq_esi |
|
2 |
10 |
44 |
2 |
| intel_dp_autotest_link_training |
|
1 |
5 |
17 |
1 |
| intel_dp_autotest_video_pattern |
|
1 |
5 |
17 |
1 |
| intel_dp_autotest_edid |
|
7 |
28 |
162 |
1 |
| intel_dp_autotest_phy_pattern |
|
1 |
5 |
17 |
1 |
| intel_dp_handle_test_request |
|
7 |
47 |
230 |
1 |
| intel_dp_check_mst_status |
|
9 |
47 |
261 |
1 |
| intel_dp_check_link_status |
|
10 |
34 |
202 |
1 |
| intel_dp_detect_dpcd |
|
13 |
34 |
190 |
1 |
| edp_detect |
|
2 |
9 |
43 |
1 |
| ibx_digital_port_connected |
|
5 |
22 |
78 |
2 |
| cpt_digital_port_connected |
|
6 |
25 |
87 |
2 |
| g4x_digital_port_connected |
|
4 |
20 |
72 |
2 |
| gm45_digital_port_connected |
|
4 |
20 |
72 |
2 |
| bxt_digital_port_connected |
|
4 |
23 |
92 |
2 |
| intel_digital_port_connected |
|
5 |
14 |
85 |
2 |
| ironlake_dp_detect |
|
2 |
9 |
57 |
1 |
| g4x_dp_detect |
|
4 |
15 |
83 |
1 |
| intel_dp_get_edid |
|
3 |
11 |
63 |
1 |
| intel_dp_set_edid |
|
2 |
11 |
64 |
1 |
| intel_dp_unset_edid |
|
1 |
7 |
37 |
1 |
| intel_dp_detect |
|
13 |
54 |
309 |
2 |
| intel_dp_force |
|
3 |
18 |
120 |
1 |
| intel_dp_get_modes |
|
6 |
22 |
110 |
1 |
| intel_dp_detect_audio |
|
2 |
9 |
42 |
1 |
| intel_dp_set_property |
|
17 |
68 |
351 |
3 |
| intel_dp_connector_destroy |
|
3 |
11 |
69 |
1 |
| intel_dp_encoder_destroy |
|
3 |
19 |
110 |
1 |
| intel_dp_encoder_suspend |
|
2 |
10 |
55 |
1 |
| intel_edp_panel_vdd_sanitize |
|
2 |
14 |
90 |
1 |
| intel_dp_encoder_reset |
|
4 |
14 |
92 |
1 |
| intel_dp_hpd_pulse |
|
14 |
57 |
350 |
2 |
| intel_trans_dp_port_sel |
|
3 |
13 |
71 |
1 |
| intel_dp_is_edp |
|
7 |
26 |
163 |
2 |
| intel_dp_add_properties |
|
2 |
15 |
82 |
2 |
| intel_dp_init_panel_power_timestamps |
|
1 |
6 |
27 |
1 |
| intel_dp_init_panel_power_sequencer |
|
7 |
79 |
542 |
2 |
| intel_dp_init_panel_power_sequencer_registers |
|
11 |
60 |
410 |
2 |
| intel_dp_set_drrs_state |
|
17 |
73 |
371 |
2 |
| intel_edp_drrs_enable |
|
3 |
21 |
138 |
1 |
| intel_edp_drrs_disable |
|
4 |
22 |
160 |
1 |
| intel_edp_drrs_downclock_work |
|
4 |
18 |
112 |
1 |
| intel_edp_drrs_invalidate |
|
5 |
24 |
169 |
2 |
| intel_edp_drrs_flush |
|
6 |
27 |
193 |
2 |
| intel_dp_drrs_init |
|
4 |
28 |
168 |
2 |
| intel_edp_init_connector |
|
16 |
81 |
490 |
2 |
| intel_dp_init_connector |
|
31 |
107 |
632 |
2 |
| intel_dp_init |
|
9 |
65 |
396 |
3 |
| intel_dp_mst_suspend |
|
6 |
16 |
98 |
1 |
| intel_dp_mst_resume |
|
6 |
19 |
111 |
1 |
| Source file: ./sys/dev/pci/drm/i915/intel_lrc.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| intel_logical_ring_advance |
|
1 |
4 |
19 |
1 |
| intel_logical_ring_emit |
|
1 |
6 |
31 |
2 |
| Source file: ./sys/dev/pci/drm/i915/intel_frontbuffer.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| intel_fb_obj_invalidate |
|
3 |
20 |
132 |
2 |
| intel_frontbuffer_flush |
|
2 |
14 |
86 |
3 |
| intel_fb_obj_flush |
|
3 |
18 |
118 |
3 |
| intel_frontbuffer_flip_prepare |
|
1 |
10 |
65 |
2 |
| intel_frontbuffer_flip_complete |
|
1 |
10 |
67 |
2 |
| intel_frontbuffer_flip |
|
1 |
9 |
59 |
2 |
| Source file: ./sys/dev/pci/drm/i915/i915_reg.h |
| Source file: ./sys/dev/pci/drm/i915/intel_runtime_pm.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| intel_power_well_enable |
|
1 |
7 |
40 |
2 |
| intel_power_well_disable |
|
1 |
7 |
40 |
2 |
| hsw_power_well_enabled |
|
1 |
6 |
26 |
2 |
| __intel_display_power_is_enabled |
|
4 |
21 |
92 |
2 |
| intel_display_power_is_enabled |
|
1 |
11 |
56 |
2 |
| intel_display_set_init_power |
|
3 |
11 |
51 |
2 |
| hsw_power_well_post_enable |
|
3 |
11 |
78 |
1 |
| skl_power_well_post_enable |
|
5 |
18 |
120 |
2 |
| hsw_set_power_well |
|
6 |
27 |
126 |
3 |
| assert_can_enable_dc9 |
|
1 |
11 |
75 |
1 |
| assert_can_disable_dc9 |
|
1 |
8 |
46 |
1 |
| bxt_enable_dc9 |
|
1 |
10 |
45 |
1 |
| bxt_disable_dc9 |
|
1 |
10 |
45 |
1 |
| gen9_set_dc_state_debugmask_memory_up |
|
2 |
11 |
46 |
1 |
| assert_can_enable_dc5 |
|
2 |
15 |
93 |
1 |
| assert_can_disable_dc5 |
|
2 |
10 |
48 |
1 |
| gen9_enable_dc5 |
|
1 |
12 |
54 |
1 |
| gen9_disable_dc5 |
|
1 |
10 |
45 |
1 |
| assert_can_enable_dc6 |
|
2 |
12 |
77 |
1 |
| assert_can_disable_dc6 |
|
2 |
8 |
39 |
1 |
| skl_enable_dc6 |
|
1 |
12 |
54 |
1 |
| skl_disable_dc6 |
|
1 |
10 |
45 |
1 |
| skl_set_power_well |
|
37 |
104 |
552 |
3 |
| hsw_power_well_sync_hw |
|
2 |
7 |
43 |
2 |
| hsw_power_well_enable |
|
1 |
5 |
23 |
2 |
| hsw_power_well_disable |
|
1 |
5 |
23 |
2 |
| skl_power_well_enabled |
|
1 |
7 |
43 |
2 |
| skl_power_well_sync_hw |
|
1 |
6 |
34 |
2 |
| skl_power_well_enable |
|
1 |
5 |
23 |
2 |
| skl_power_well_disable |
|
1 |
5 |
23 |
2 |
| i9xx_always_on_power_well_noop |
|
1 |
4 |
14 |
2 |
| i9xx_always_on_power_well_enabled |
|
1 |
5 |
17 |
2 |
| vlv_set_power_well |
|
4 |
24 |
133 |
3 |
| vlv_power_well_sync_hw |
|
1 |
5 |
27 |
2 |
| vlv_power_well_enable |
|
1 |
5 |
23 |
2 |
| vlv_power_well_disable |
|
1 |
5 |
23 |
2 |
| vlv_power_well_enabled |
|
3 |
21 |
128 |
2 |
| vlv_display_power_well_init |
|
3 |
18 |
103 |
1 |
| vlv_display_power_well_deinit |
|
1 |
7 |
35 |
1 |
| vlv_display_power_well_enable |
|
1 |
7 |
37 |
2 |
| vlv_display_power_well_disable |
|
1 |
7 |
37 |
2 |
| vlv_dpio_cmn_power_well_enable |
|
1 |
8 |
49 |
2 |
| vlv_dpio_cmn_power_well_disable |
|
1 |
10 |
61 |
2 |
| lookup_power_well |
|
2 |
12 |
56 |
2 |
| assert_chv_phy_status |
|
19 |
68 |
579 |
1 |
| chv_dpio_cmn_power_well_enable |
|
5 |
40 |
252 |
2 |
| chv_dpio_cmn_power_well_disable |
|
3 |
22 |
127 |
2 |
| assert_chv_phy_powergate |
|
10 |
34 |
222 |
5 |
| chv_phy_powergate_ch |
|
3 |
21 |
130 |
4 |
| chv_phy_powergate_lanes |
|
2 |
21 |
181 |
3 |
| chv_pipe_power_well_enabled |
|
2 |
15 |
117 |
2 |
| chv_set_pipe_power_well |
|
5 |
22 |
136 |
3 |
| chv_pipe_power_well_sync_hw |
|
1 |
6 |
36 |
2 |
| chv_pipe_power_well_enable |
|
1 |
7 |
37 |
2 |
| chv_pipe_power_well_disable |
|
1 |
7 |
37 |
2 |
| intel_display_power_get |
|
2 |
16 |
92 |
2 |
| intel_display_power_put |
|
3 |
18 |
115 |
2 |
| intel_display_power_well_is_enabled |
|
1 |
9 |
45 |
2 |
| sanitize_disable_power_well_option |
|
4 |
11 |
49 |
2 |
| intel_power_domains_init |
|
8 |
24 |
182 |
1 |
| intel_runtime_pm_disable |
|
4 |
10 |
55 |
1 |
| intel_power_domains_fini |
|
1 |
5 |
21 |
1 |
| intel_power_domains_resume |
|
1 |
13 |
81 |
1 |
| chv_phy_control_init |
|
6 |
56 |
341 |
1 |
| vlv_cmnlane_wa |
|
4 |
14 |
93 |
1 |
| intel_power_domains_init_hw |
|
3 |
18 |
113 |
1 |
| intel_runtime_pm_get |
|
3 |
9 |
56 |
1 |
| intel_runtime_pm_get_noresume |
|
3 |
9 |
56 |
1 |
| intel_runtime_pm_put |
|
3 |
9 |
50 |
1 |
| intel_runtime_pm_enable |
|
4 |
15 |
79 |
1 |
| Source file: ./sys/dev/pci/drm/i915/intel_lrc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| intel_sanitize_enable_execlists |
|
8 |
14 |
84 |
2 |
| intel_execlists_ctx_id |
|
1 |
6 |
27 |
1 |
| disable_lite_restore_wa |
|
4 |
7 |
53 |
1 |
| intel_lr_context_descriptor |
|
3 |
19 |
116 |
2 |
| execlists_elsp_write |
|
2 |
25 |
211 |
2 |
| execlists_update_context |
|
3 |
24 |
190 |
1 |
| execlists_submit_requests |
|
2 |
8 |
35 |
2 |
| execlists_context_unqueue |
|
8 |
34 |
225 |
1 |
| execlists_check_remove_request |
|
4 |
24 |
126 |
2 |
| intel_lrc_irq_handler |
|
14 |
49 |
294 |
1 |
| execlists_context_queue |
|
6 |
31 |
183 |
1 |
| logical_ring_invalidate_all_caches |
|
3 |
14 |
67 |
1 |
| execlists_move_to_gpu |
|
5 |
23 |
136 |
2 |
| intel_logical_ring_alloc_request_extras |
|
3 |
11 |
62 |
1 |
| logical_ring_wait_for_space |
|
6 |
27 |
150 |
2 |
| intel_logical_ring_advance_and_submit |
|
3 |
13 |
78 |
1 |
| __wrap_ring_buffer |
|
2 |
11 |
63 |
1 |
| logical_ring_prepare |
|
8 |
30 |
171 |
2 |
| intel_logical_ring_begin |
|
3 |
16 |
97 |
2 |
| intel_logical_ring_reserve_space |
|
1 |
5 |
26 |
1 |
| intel_execlists_submission |
|
14 |
63 |
360 |
3 |
| intel_execlists_retire_requests |
|
4 |
21 |
148 |
1 |
| intel_logical_ring_stop |
|
5 |
17 |
120 |
1 |
| logical_ring_flush_all_caches |
|
3 |
12 |
60 |
1 |
| intel_lr_context_do_pin |
|
4 |
23 |
126 |
3 |
| intel_lr_context_pin |
|
3 |
16 |
111 |
1 |
| intel_lr_context_unpin |
|
3 |
13 |
95 |
1 |
| intel_logical_ring_workarounds_emit |
|
6 |
30 |
208 |
1 |
| gen8_emit_flush_coherentl3_wa |
|
3 |
30 |
240 |
3 |
| wa_ctx_start |
|
1 |
6 |
27 |
3 |
| wa_ctx_end |
|
1 |
10 |
45 |
3 |
| gen8_init_indirectctx_bb |
|
4 |
28 |
191 |
4 |
| gen8_init_perctx_bb |
|
1 |
10 |
69 |
4 |
| gen9_init_indirectctx_bb |
|
5 |
19 |
131 |
4 |
| gen9_init_perctx_bb |
|
5 |
21 |
162 |
4 |
| lrc_setup_wa_ctx_obj |
|
3 |
17 |
99 |
2 |
| lrc_destroy_wa_ctx_obj |
|
2 |
8 |
48 |
1 |
| intel_init_workaround_bb |
|
11 |
58 |
293 |
1 |
| gen8_init_common_ring |
|
3 |
27 |
203 |
1 |
| gen8_init_render_ring |
|
2 |
12 |
70 |
1 |
| gen9_init_render_ring |
|
2 |
8 |
32 |
1 |
| intel_logical_ring_emit_pdps |
|
3 |
22 |
168 |
1 |
| gen8_emit_bb_start |
|
8 |
29 |
190 |
3 |
| gen8_logical_ring_get_irq |
|
3 |
15 |
104 |
1 |
| gen8_logical_ring_put_irq |
|
2 |
12 |
81 |
1 |
| gen8_emit_flush |
|
4 |
29 |
151 |
3 |
| gen8_emit_flush_render |
|
7 |
49 |
262 |
3 |
| gen8_get_seqno |
|
1 |
4 |
20 |
2 |
| gen8_set_seqno |
|
1 |
4 |
21 |
2 |
| bxt_a_get_seqno |
|
2 |
6 |
32 |
2 |
| bxt_a_set_seqno |
|
1 |
5 |
28 |
2 |
| gen8_emit_request |
|
2 |
25 |
142 |
1 |
| intel_lr_context_render_state_init |
|
5 |
23 |
123 |
1 |
| gen8_init_rcs_context |
|
3 |
11 |
48 |
1 |
| intel_logical_ring_cleanup |
|
4 |
18 |
116 |
1 |
| logical_ring_init |
|
4 |
30 |
177 |
2 |
| logical_render_ring_init |
|
7 |
47 |
252 |
1 |
| logical_bsd_ring_init |
|
2 |
26 |
151 |
1 |
| logical_bsd2_ring_init |
|
1 |
21 |
123 |
1 |
| logical_blt_ring_init |
|
2 |
26 |
151 |
1 |
| logical_vebox_ring_init |
|
2 |
26 |
151 |
1 |
| intel_logical_rings_init |
|
10 |
38 |
185 |
1 |
| make_rpcs |
|
5 |
26 |
132 |
1 |
| populate_lr_context |
|
9 |
105 |
838 |
4 |
| intel_lr_context_free |
|
4 |
19 |
117 |
1 |
| get_lr_context_size |
|
7 |
20 |
84 |
1 |
| lrc_setup_hardware_status_page |
|
1 |
14 |
102 |
2 |
| intel_lr_context_deferred_alloc |
|
8 |
56 |
323 |
2 |
| intel_lr_context_reset |
|
3 |
28 |
158 |
2 |
| Source file: ./sys/dev/pci/drm/i915/intel_audio.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| intel_init_audio |
|
1 |
3 |
9 |
1 |
| intel_audio_codec_enable |
|
1 |
3 |
9 |
1 |
| intel_audio_codec_disable |
|
1 |
3 |
9 |
1 |
| Source file: ./sys/dev/pci/drm/i915/i915_gem_userptr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __cancel_userptr__worker |
|
3 |
23 |
175 |
1 |
| cancel_userptr |
|
3 |
9 |
66 |
1 |
| i915_gem_userptr_mn_invalidate_range_start |
|
5 |
27 |
165 |
4 |
| i915_mmu_notifier_create |
|
3 |
19 |
112 |
1 |
| i915_mmu_notifier_add |
|
4 |
26 |
174 |
3 |
| i915_mmu_notifier_has_linear |
|
2 |
8 |
37 |
1 |
| i915_mmu_notifier_del |
|
2 |
11 |
67 |
2 |
| i915_gem_userptr_release__mmu_notifier |
|
2 |
10 |
52 |
1 |
| i915_mmu_notifier_find |
|
4 |
17 |
117 |
1 |
| i915_gem_userptr_init__mmu_notifier |
|
7 |
29 |
200 |
2 |
| i915_mmu_notifier_free |
|
2 |
8 |
37 |
2 |
| i915_gem_userptr_release__mmu_notifier |
|
1 |
3 |
9 |
1 |
| i915_gem_userptr_init__mmu_notifier |
|
3 |
9 |
41 |
2 |
| i915_mmu_notifier_free |
|
1 |
4 |
14 |
2 |
| __i915_mm_struct_find |
|
2 |
8 |
49 |
2 |
| i915_gem_userptr_init__mm_struct |
|
3 |
27 |
181 |
1 |
| __i915_mm_struct_free__worker |
|
1 |
7 |
50 |
1 |
| __i915_mm_struct_free |
|
1 |
8 |
66 |
1 |
| i915_gem_userptr_release__mm_struct |
|
2 |
9 |
55 |
1 |
| st_set_pages |
|
5 |
26 |
158 |
3 |
| __i915_gem_userptr_set_pages |
|
3 |
15 |
77 |
3 |
| __i915_gem_userptr_set_active |
|
5 |
14 |
95 |
2 |
| __i915_gem_userptr_get_pages_worker |
|
9 |
53 |
379 |
1 |
| __i915_gem_userptr_get_pages_schedule |
|
3 |
20 |
127 |
2 |
| i915_gem_userptr_get_pages |
|
10 |
45 |
282 |
1 |
| i915_gem_userptr_put_pages |
|
3 |
19 |
123 |
1 |
| i915_gem_userptr_release |
|
1 |
5 |
19 |
1 |
| i915_gem_userptr_dmabuf_export |
|
2 |
6 |
28 |
1 |
| i915_gem_userptr_ioctl |
|
10 |
38 |
276 |
3 |
| i915_gem_init_userptr |
|
1 |
7 |
37 |
1 |
| i915_gem_userptr_ioctl |
|
1 |
4 |
22 |
3 |
| i915_gem_init_userptr |
|
1 |
4 |
12 |
1 |
| Source file: ./sys/dev/pci/drm/i915/intel_dsi_panel_vbt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| to_vbt_panel |
|
1 |
4 |
20 |
1 |
| intel_dsi_seq_port_to_port |
|
2 |
4 |
14 |
1 |
| mipi_exec_send_packet |
|
15 |
61 |
303 |
2 |
| mipi_exec_delay |
|
1 |
7 |
43 |
2 |
| mipi_exec_gpio |
|
3 |
26 |
168 |
2 |
| generic_exec_sequence |
|
5 |
21 |
94 |
2 |
| vbt_panel_prepare |
|
1 |
13 |
98 |
1 |
| vbt_panel_unprepare |
|
1 |
11 |
78 |
1 |
| vbt_panel_enable |
|
1 |
11 |
78 |
1 |
| vbt_panel_disable |
|
1 |
11 |
78 |
1 |
| vbt_panel_get_modes |
|
3 |
16 |
104 |
1 |
| vbt_panel_init |
|
34 |
186 |
1190 |
2 |
| Source file: ./sys/dev/pci/drm/i915/i915_gem_gtt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| set_pages_uc |
|
1 |
3 |
12 |
2 |
| set_pages_wb |
|
1 |
3 |
12 |
2 |
| sanitize_enable_ppgtt |
|
17 |
29 |
174 |
2 |
| ppgtt_bind_vma |
|
2 |
11 |
63 |
3 |
| ppgtt_unbind_vma |
|
1 |
7 |
36 |
1 |
| gen8_pte_encode |
|
4 |
19 |
64 |
3 |
| gen8_pde_encode |
|
2 |
11 |
42 |
2 |
| snb_pte_encode |
|
5 |
19 |
70 |
4 |
| ivb_pte_encode |
|
5 |
21 |
76 |
4 |
| byt_pte_encode |
|
4 |
12 |
59 |
4 |
| hsw_pte_encode |
|
3 |
10 |
46 |
4 |
| iris_pte_encode |
|
4 |
18 |
64 |
4 |
| __setup_page_dma |
|
3 |
15 |
95 |
3 |
| __setup_page_dma |
|
2 |
9 |
51 |
3 |
| setup_page_dma |
|
1 |
4 |
24 |
2 |
| cleanup_page_dma |
|
2 |
8 |
64 |
2 |
| cleanup_page_dma |
|
2 |
7 |
46 |
2 |
| kmap_page_dma |
|
1 |
4 |
17 |
1 |
| kunmap_page_dma |
|
3 |
6 |
37 |
2 |
| fill_page_dma |
|
2 |
9 |
58 |
3 |
| fill_page_dma_32 |
|
1 |
7 |
41 |
3 |
| alloc_scratch_page |
|
3 |
15 |
89 |
1 |
| free_scratch_page |
|
1 |
7 |
36 |
2 |
| alloc_pt |
|
5 |
23 |
135 |
1 |
| free_pt |
|
1 |
6 |
33 |
2 |
| gen8_initialize_pt |
|
1 |
8 |
44 |
2 |
| gen6_initialize_pt |
|
1 |
9 |
60 |
2 |
| alloc_pd |
|
4 |
21 |
118 |
1 |
| free_pd |
|
2 |
8 |
42 |
2 |
| gen8_initialize_pd |
|
1 |
7 |
42 |
2 |
| __pdp_init |
|
3 |
18 |
101 |
2 |
| __pdp_fini |
|
1 |
6 |
29 |
1 |
| alloc_pdp |
|
4 |
21 |
109 |
1 |
| free_pdp |
|
2 |
9 |
40 |
2 |
| gen8_initialize_pdp |
|
1 |
7 |
42 |
2 |
| gen8_initialize_pml4 |
|
1 |
8 |
42 |
2 |
| gen8_setup_page_directory |
|
2 |
12 |
69 |
4 |
| gen8_setup_page_directory_pointer |
|
1 |
10 |
66 |
4 |
| gen8_write_pdp |
|
2 |
19 |
122 |
3 |
| gen8_legacy_mm_switch |
|
3 |
12 |
68 |
2 |
| gen8_48b_mm_switch |
|
1 |
5 |
30 |
2 |
| gen8_ppgtt_clear_pte_range |
|
10 |
44 |
252 |
5 |
| gen8_ppgtt_clear_range |
|
2 |
21 |
123 |
4 |
| gen8_ppgtt_insert_pte_entries |
|
7 |
36 |
200 |
5 |
| gen8_ppgtt_insert_entries |
|
3 |
24 |
166 |
5 |
| gen8_free_page_tables |
|
3 |
13 |
75 |
2 |
| gen8_init_scratch |
|
7 |
32 |
228 |
1 |
| gen8_ppgtt_notify_vgt |
|
5 |
26 |
177 |
2 |
| gen8_free_scratch |
|
2 |
9 |
61 |
1 |
| gen8_ppgtt_cleanup_3lvl |
|
2 |
12 |
78 |
2 |
| gen8_ppgtt_cleanup_4lvl |
|
2 |
10 |
75 |
1 |
| gen8_ppgtt_cleanup |
|
3 |
12 |
77 |
1 |
| gen8_ppgtt_alloc_pagetabs |
|
3 |
29 |
165 |
5 |
| gen8_ppgtt_alloc_page_directories |
|
3 |
29 |
173 |
5 |
| gen8_ppgtt_alloc_page_dirpointers |
|
3 |
31 |
166 |
5 |
| free_gen8_temp_bitmaps |
|
1 |
5 |
24 |
2 |
| alloc_gen8_temp_bitmaps |
|
3 |
20 |
108 |
3 |
| mark_tlbs_dirty |
|
1 |
4 |
24 |
1 |
| gen8_alloc_va_range_3lvl |
|
7 |
78 |
498 |
4 |
| gen8_alloc_va_range_4lvl |
|
3 |
34 |
199 |
4 |
| gen8_alloc_va_range |
|
2 |
10 |
70 |
3 |
| gen8_dump_pdp |
|
9 |
47 |
293 |
5 |
| gen8_dump_ppgtt |
|
3 |
21 |
162 |
2 |
| gen8_preallocate_top_level_pdps |
|
3 |
16 |
97 |
1 |
| gen8_ppgtt_init |
|
9 |
43 |
275 |
1 |
| gen6_dump_ppgtt |
|
8 |
46 |
337 |
2 |
| gen6_write_pde |
|
1 |
10 |
61 |
3 |
| gen6_write_page_range |
|
1 |
10 |
62 |
4 |
| get_pd_offset |
|
1 |
5 |
38 |
1 |
| hsw_mm_switch |
|
3 |
20 |
124 |
2 |
| vgpu_mm_switch |
|
1 |
9 |
63 |
2 |
| gen7_mm_switch |
|
5 |
25 |
154 |
2 |
| gen6_mm_switch |
|
1 |
11 |
77 |
2 |
| gen8_ppgtt_enable |
|
2 |
11 |
63 |
1 |
| gen7_ppgtt_enable |
|
2 |
21 |
108 |
1 |
| gen6_ppgtt_enable |
|
1 |
13 |
87 |
1 |
| gen6_ppgtt_clear_range |
|
4 |
28 |
170 |
4 |
| gen6_ppgtt_insert_entries |
|
4 |
29 |
170 |
5 |
| gen6_alloc_va_range |
|
5 |
62 |
434 |
3 |
| gen6_init_scratch |
|
3 |
14 |
93 |
1 |
| gen6_free_scratch |
|
1 |
6 |
36 |
1 |
| gen6_ppgtt_cleanup |
|
2 |
13 |
74 |
1 |
| gen6_ppgtt_allocate_page_directories |
|
7 |
37 |
213 |
1 |
| gen6_ppgtt_alloc |
|
1 |
4 |
15 |
1 |
| gen6_scratch_va_range |
|
1 |
8 |
57 |
3 |
| gen6_ppgtt_init |
|
7 |
41 |
320 |
1 |
| __hw_ppgtt_init |
|
2 |
8 |
46 |
2 |
| i915_address_space_init |
|
1 |
9 |
67 |
2 |
| i915_ppgtt_init |
|
2 |
11 |
66 |
2 |
| i915_ppgtt_init_hw |
|
6 |
16 |
85 |
1 |
| i915_ppgtt_init_ring |
|
3 |
10 |
60 |
1 |
| i915_ppgtt_create |
|
3 |
16 |
90 |
2 |
| i915_ppgtt_release |
|
1 |
12 |
97 |
1 |
| needs_idle_maps |
|
5 |
6 |
29 |
1 |
| do_idling |
|
3 |
12 |
63 |
1 |
| undo_idling |
|
2 |
5 |
31 |
2 |
| i915_check_and_clear_faults |
|
4 |
26 |
128 |
1 |
| i915_ggtt_flush |
|
2 |
9 |
43 |
1 |
| i915_gem_suspend_gtt_mappings |
|
2 |
12 |
75 |
1 |
| i915_gem_gtt_prepare_object |
|
3 |
8 |
47 |
1 |
| gen8_set_pte |
|
2 |
6 |
41 |
2 |
| gen8_ggtt_insert_entries |
|
2 |
25 |
172 |
5 |
| gen6_ggtt_insert_entries |
|
2 |
24 |
178 |
5 |
| gen8_ggtt_clear_range |
|
3 |
23 |
147 |
4 |
| gen6_ggtt_clear_range |
|
3 |
22 |
151 |
4 |
| i915_ggtt_insert_entries |
|
2 |
9 |
50 |
5 |
| i915_ggtt_clear_range |
|
1 |
9 |
41 |
4 |
| ggtt_bind_vma |
|
3 |
18 |
95 |
3 |
| aliasing_gtt_bind_vma |
|
5 |
29 |
171 |
3 |
| ggtt_unbind_vma |
|
4 |
22 |
139 |
1 |
| i915_gem_gtt_finish_object |
|
2 |
10 |
70 |
1 |
| i915_gtt_color_adjust |
|
5 |
15 |
80 |
4 |
| i915_gem_setup_global_gtt |
|
11 |
73 |
486 |
4 |
| i915_gem_init_global_gtt |
|
1 |
8 |
52 |
1 |
| i915_global_gtt_cleanup |
|
4 |
17 |
114 |
1 |
| gen6_get_total_gtt_size |
|
1 |
6 |
22 |
1 |
| gen8_get_total_gtt_size |
|
4 |
10 |
43 |
1 |
| chv_get_total_gtt_size |
|
2 |
8 |
33 |
1 |
| gen6_get_stolen_size |
|
1 |
6 |
22 |
1 |
| gen8_get_stolen_size |
|
1 |
6 |
22 |
1 |
| chv_get_stolen_size |
|
3 |
11 |
60 |
1 |
| gen9_get_stolen_size |
|
2 |
9 |
41 |
1 |
| ggtt_probe_common |
|
4 |
25 |
156 |
2 |
| ggtt_probe_common |
|
5 |
36 |
217 |
2 |
| bdw_setup_private_ppat |
|
2 |
16 |
140 |
1 |
| chv_setup_private_ppat |
|
1 |
14 |
87 |
1 |
| gen8_gmch_probe |
|
8 |
45 |
331 |
5 |
| gen6_gmch_probe |
|
7 |
38 |
296 |
5 |
| gen6_gmch_remove |
|
2 |
6 |
42 |
1 |
| i915_gmch_probe |
|
3 |
23 |
153 |
5 |
| i915_gmch_remove |
|
1 |
4 |
13 |
1 |
| i915_gem_gtt_init |
|
11 |
40 |
305 |
1 |
| i915_gem_restore_gtt_mappings |
|
8 |
45 |
270 |
1 |
| __i915_gem_vma_create |
|
6 |
23 |
182 |
3 |
| i915_gem_obj_lookup_or_create_vma |
|
3 |
10 |
55 |
2 |
| i915_gem_obj_lookup_or_create_ggtt_vma |
|
4 |
14 |
83 |
2 |
| rotate_pages |
|
4 |
23 |
150 |
6 |
| intel_rotate_fb_obj_pages |
|
7 |
65 |
378 |
2 |
| intel_partial_pages |
|
4 |
32 |
194 |
2 |
| i915_get_ggtt_vma_pages |
|
8 |
28 |
195 |
1 |
| i915_vma_bind |
|
10 |
37 |
202 |
3 |
| i915_ggtt_view_size |
|
5 |
14 |
94 |
2 |
| Source file: ./sys/dev/pci/drm/i915/intel_hdmi.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| intel_hdmi_to_dev |
|
1 |
4 |
21 |
1 |
| assert_hdmi_port_disabled |
|
2 |
9 |
56 |
1 |
| enc_to_intel_hdmi |
|
1 |
6 |
32 |
1 |
| intel_attached_hdmi |
|
1 |
4 |
21 |
1 |
| g4x_infoframe_index |
|
4 |
14 |
44 |
1 |
| g4x_infoframe_enable |
|
4 |
14 |
44 |
1 |
| hsw_infoframe_enable |
|
4 |
14 |
44 |
1 |
| hsw_dip_data_reg |
|
4 |
17 |
71 |
4 |
| g4x_write_infoframe |
|
3 |
28 |
178 |
4 |
| g4x_infoframe_enabled |
|
3 |
13 |
87 |
1 |
| ibx_write_infoframe |
|
3 |
29 |
209 |
4 |
| ibx_infoframe_enabled |
|
3 |
16 |
113 |
1 |
| cpt_write_infoframe |
|
4 |
30 |
215 |
4 |
| cpt_infoframe_enabled |
|
2 |
13 |
85 |
1 |
| vlv_write_infoframe |
|
3 |
29 |
209 |
4 |
| vlv_infoframe_enabled |
|
3 |
16 |
113 |
1 |
| hsw_write_infoframe |
|
4 |
32 |
221 |
4 |
| hsw_infoframe_enabled |
|
1 |
11 |
76 |
1 |
| intel_write_infoframe |
|
2 |
16 |
116 |
2 |
| intel_hdmi_set_avi_infoframe |
|
4 |
23 |
112 |
2 |
| intel_hdmi_set_spd_infoframe |
|
2 |
12 |
61 |
1 |
| intel_hdmi_set_hdmi_infoframe |
|
2 |
11 |
52 |
2 |
| g4x_set_infoframes |
|
6 |
44 |
244 |
3 |
| hdmi_sink_is_deep_color |
|
2 |
10 |
70 |
1 |
| gcp_default_phase_possible |
|
11 |
26 |
126 |
2 |
| intel_hdmi_set_gcp_infoframe |
|
6 |
21 |
144 |
1 |
| ibx_set_infoframes |
|
5 |
42 |
246 |
3 |
| cpt_set_infoframes |
|
4 |
32 |
188 |
3 |
| vlv_set_infoframes |
|
5 |
42 |
246 |
3 |
| hsw_set_infoframes |
|
3 |
26 |
155 |
3 |
| intel_hdmi_prepare |
|
9 |
30 |
210 |
1 |
| intel_hdmi_get_hw_state |
|
5 |
22 |
138 |
2 |
| intel_hdmi_get_config |
|
11 |
37 |
231 |
2 |
| intel_enable_hdmi_audio |
|
1 |
8 |
50 |
1 |
| g4x_enable_hdmi |
|
3 |
16 |
113 |
1 |
| ibx_enable_hdmi |
|
5 |
27 |
199 |
1 |
| cpt_enable_hdmi |
|
5 |
33 |
213 |
1 |
| vlv_enable_hdmi |
|
1 |
3 |
9 |
1 |
| intel_disable_hdmi |
|
3 |
24 |
181 |
1 |
| g4x_disable_hdmi |
|
2 |
7 |
41 |
1 |
| pch_disable_hdmi |
|
2 |
6 |
36 |
1 |
| pch_post_disable_hdmi |
|
1 |
4 |
14 |
1 |
| hdmi_port_clock_limit |
|
6 |
10 |
65 |
2 |
| hdmi_port_clock_valid |
|
9 |
14 |
87 |
3 |
| intel_hdmi_mode_valid |
|
5 |
17 |
111 |
2 |
| hdmi_12bpc_possible |
|
4 |
21 |
127 |
1 |
| intel_hdmi_compute_config |
|
15 |
52 |
313 |
2 |
| intel_hdmi_unset_edid |
|
1 |
9 |
56 |
1 |
| intel_hdmi_set_edid |
|
5 |
26 |
152 |
1 |
| intel_hdmi_detect |
|
2 |
17 |
104 |
2 |
| intel_hdmi_force |
|
2 |
11 |
65 |
1 |
| intel_hdmi_get_modes |
|
2 |
8 |
40 |
1 |
| intel_hdmi_detect_audio |
|
3 |
9 |
48 |
1 |
| intel_hdmi_set_property |
|
17 |
72 |
344 |
3 |
| intel_hdmi_pre_enable |
|
1 |
10 |
74 |
1 |
| vlv_hdmi_pre_enable |
|
2 |
38 |
347 |
1 |
| vlv_hdmi_pre_pll_enable |
|
1 |
26 |
204 |
1 |
| chv_data_lane_soft_reset |
|
7 |
39 |
274 |
2 |
| chv_hdmi_pre_pll_enable |
|
11 |
56 |
387 |
1 |
| chv_hdmi_post_pll_disable |
|
2 |
18 |
137 |
1 |
| vlv_hdmi_post_disable |
|
1 |
13 |
109 |
1 |
| chv_hdmi_post_disable |
|
1 |
8 |
52 |
1 |
| chv_hdmi_pre_enable |
|
11 |
108 |
934 |
1 |
| intel_hdmi_destroy |
|
1 |
6 |
29 |
1 |
| intel_hdmi_add_properties |
|
1 |
8 |
41 |
2 |
| intel_hdmi_ddc_pin |
|
8 |
39 |
156 |
2 |
| intel_hdmi_init_connector |
|
13 |
73 |
427 |
2 |
| intel_hdmi_init |
|
11 |
62 |
388 |
3 |
| Source file: ./sys/dev/pci/drm/i915/intel_atomic.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| intel_connector_atomic_get_property |
|
3 |
14 |
86 |
4 |
| intel_crtc_duplicate_state |
|
2 |
10 |
61 |
1 |
| intel_crtc_destroy_state |
|
1 |
5 |
21 |
2 |
| intel_atomic_setup_scalers |
|
15 |
78 |
496 |
3 |
| intel_atomic_duplicate_dpll_state |
|
2 |
9 |
57 |
2 |
| intel_atomic_get_shared_dpll_state |
|
2 |
11 |
69 |
1 |
| intel_atomic_state_alloc |
|
3 |
9 |
58 |
1 |
| intel_atomic_state_clear |
|
1 |
6 |
33 |
1 |
| Source file: ./sys/dev/pci/drm/i915/intel_renderstate_gen6.c |
| Source file: ./sys/dev/pci/drm/i915/intel_guc_loader.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| intel_guc_fw_status_repr |
|
5 |
15 |
43 |
1 |
| direct_interrupts_to_host |
|
1 |
12 |
74 |
1 |
| direct_interrupts_to_guc |
|
1 |
14 |
86 |
1 |
| get_gttype |
|
1 |
4 |
12 |
1 |
| get_core_family |
|
2 |
10 |
36 |
1 |
| set_guc_init_params |
|
4 |
32 |
230 |
1 |
| guc_ucode_response |
|
3 |
9 |
52 |
2 |
| guc_ucode_xfer_dma |
|
3 |
29 |
244 |
1 |
| guc_ucode_xfer |
|
7 |
41 |
248 |
1 |
| intel_guc_ucode_load |
|
13 |
58 |
285 |
1 |
| guc_fw_fetch |
|
10 |
62 |
398 |
2 |
| intel_guc_ucode_init |
|
7 |
36 |
202 |
1 |
| intel_guc_ucode_fini |
|
2 |
13 |
84 |
1 |
| intel_guc_ucode_load |
|
1 |
4 |
13 |
1 |
| intel_guc_ucode_init |
|
1 |
3 |
9 |
1 |
| intel_guc_ucode_fini |
|
1 |
3 |
9 |
1 |
| Source file: ./sys/dev/pci/drm/i915/intel_psr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| is_edp_psr |
|
1 |
4 |
19 |
1 |
| vlv_is_psr_active_on_pipe |
|
2 |
9 |
49 |
2 |
| intel_psr_write_vsc |
|
3 |
24 |
184 |
2 |
| vlv_psr_setup_vsc |
|
1 |
13 |
96 |
1 |
| skl_psr_setup_su_vsc |
|
1 |
10 |
66 |
1 |
| hsw_psr_setup_vsc |
|
1 |
10 |
66 |
1 |
| vlv_psr_enable_sink |
|
1 |
5 |
23 |
1 |
| hsw_psr_enable_sink |
|
6 |
51 |
354 |
1 |
| vlv_psr_enable_source |
|
1 |
12 |
79 |
1 |
| vlv_psr_activate |
|
1 |
10 |
83 |
1 |
| hsw_psr_enable_source |
|
5 |
25 |
161 |
1 |
| intel_psr_match_conditions |
|
11 |
38 |
257 |
1 |
| intel_psr_activate |
|
2 |
14 |
99 |
1 |
| intel_psr_enable |
|
10 |
45 |
265 |
1 |
| vlv_psr_disable |
|
3 |
22 |
159 |
1 |
| hsw_psr_disable |
|
3 |
16 |
121 |
1 |
| intel_psr_disable |
|
3 |
18 |
120 |
1 |
| intel_psr_work |
|
6 |
30 |
199 |
1 |
| intel_psr_exit |
|
3 |
22 |
158 |
1 |
| intel_psr_single_frame_update |
|
4 |
22 |
145 |
2 |
| intel_psr_invalidate |
|
3 |
19 |
123 |
2 |
| intel_psr_flush |
|
9 |
28 |
195 |
3 |
| intel_psr_init |
|
1 |
6 |
42 |
1 |
| Source file: ./sys/dev/pci/drm/i915/intel_dp_mst.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| intel_dp_mst_compute_config |
|
5 |
47 |
298 |
2 |
| intel_mst_disable_dp |
|
2 |
13 |
88 |
1 |
| intel_mst_post_disable_dp |
|
2 |
16 |
118 |
1 |
| intel_mst_pre_enable_dp |
|
6 |
50 |
328 |
1 |
| intel_mst_enable_dp |
|
2 |
16 |
127 |
1 |
| intel_dp_mst_enc_get_hw_state |
|
2 |
9 |
46 |
2 |
| intel_dp_mst_enc_get_config |
|
7 |
42 |
231 |
2 |
| intel_dp_mst_get_ddc_modes |
|
2 |
13 |
77 |
1 |
| intel_dp_mst_detect |
|
1 |
6 |
46 |
2 |
| intel_dp_mst_set_property |
|
1 |
6 |
20 |
3 |
| intel_dp_mst_connector_destroy |
|
2 |
8 |
46 |
1 |
| intel_dp_mst_get_modes |
|
1 |
4 |
15 |
1 |
| intel_dp_mst_mode_valid |
|
3 |
9 |
39 |
2 |
| intel_mst_atomic_best_encoder |
|
1 |
8 |
60 |
2 |
| intel_mst_best_encoder |
|
1 |
6 |
41 |
1 |
| intel_dp_mst_encoder_destroy |
|
1 |
6 |
29 |
1 |
| intel_dp_mst_get_hw_state |
|
4 |
10 |
55 |
1 |
| intel_connector_add_to_fbdev |
|
2 |
5 |
38 |
1 |
| intel_connector_remove_from_fbdev |
|
2 |
5 |
38 |
1 |
| intel_dp_add_mst_connector |
|
3 |
28 |
219 |
3 |
| intel_dp_register_mst_connector |
|
1 |
9 |
51 |
1 |
| intel_dp_destroy_mst_connector |
|
2 |
21 |
127 |
2 |
| intel_dp_mst_hotplug |
|
1 |
7 |
52 |
1 |
| intel_dp_create_fake_mst_encoder |
|
2 |
25 |
154 |
2 |
| intel_dp_create_fake_mst_encoders |
|
2 |
8 |
52 |
1 |
| intel_dp_mst_encoder_init |
|
2 |
15 |
101 |
2 |
| intel_dp_mst_encoder_cleanup |
|
2 |
7 |
36 |
1 |
| Source file: ./sys/dev/pci/drm/i915/i915_irq.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| gen5_assert_iir_is_zero |
|
2 |
12 |
63 |
2 |
| i915_hotplug_interrupt_update_locked |
|
1 |
12 |
55 |
3 |
| i915_hotplug_interrupt_update |
|
1 |
8 |
40 |
3 |
| ilk_update_display_irq |
|
3 |
18 |
94 |
3 |
| ironlake_enable_display_irq |
|
1 |
4 |
21 |
2 |
| ironlake_disable_display_irq |
|
1 |
4 |
21 |
2 |
| ilk_update_gt_irq |
|
2 |
13 |
73 |
3 |
| gen5_enable_gt_irq |
|
1 |
4 |
21 |
2 |
| gen5_disable_gt_irq |
|
1 |
4 |
21 |
2 |
| gen6_pm_iir |
|
2 |
4 |
26 |
1 |
| gen6_pm_imr |
|
2 |
4 |
26 |
1 |
| gen6_pm_ier |
|
2 |
4 |
26 |
1 |
| snb_update_pm_irq |
|
2 |
16 |
87 |
3 |
| gen6_enable_pm_irq |
|
2 |
6 |
34 |
2 |
| __gen6_disable_pm_irq |
|
1 |
5 |
21 |
2 |
| gen6_disable_pm_irq |
|
2 |
6 |
32 |
2 |
| gen6_reset_rps_interrupts |
|
1 |
11 |
73 |
1 |
| gen6_enable_rps_interrupts |
|
1 |
12 |
95 |
1 |
| gen6_sanitize_rps_pm_mask |
|
4 |
8 |
51 |
2 |
| gen6_disable_rps_interrupts |
|
1 |
15 |
116 |
1 |
| bdw_update_port_irq |
|
3 |
19 |
92 |
3 |
| ibx_display_interrupt_update |
|
2 |
14 |
75 |
3 |
| __i915_enable_pipestat |
|
4 |
19 |
119 |
4 |
| __i915_disable_pipestat |
|
4 |
19 |
117 |
4 |
| vlv_get_pipestat_enable_mask |
|
5 |
16 |
77 |
2 |
| i915_enable_pipestat |
|
2 |
11 |
58 |
3 |
| i915_disable_pipestat |
|
2 |
11 |
58 |
3 |
| i915_enable_asle_pipestat |
|
4 |
12 |
80 |
1 |
| i8xx_get_vblank_counter |
|
1 |
4 |
16 |
2 |
| i915_get_vblank_counter |
|
3 |
28 |
205 |
2 |
| g4x_get_vblank_counter |
|
1 |
5 |
31 |
2 |
| __intel_get_crtc_scanline |
|
7 |
28 |
185 |
1 |
| i915_get_crtc_scanoutpos |
|
15 |
62 |
414 |
8 |
| intel_get_crtc_scanline |
|
1 |
10 |
63 |
1 |
| i915_get_vblank_timestamp |
|
4 |
23 |
123 |
5 |
| ironlake_rps_change_irq_handler |
|
8 |
29 |
215 |
1 |
| notify_ring |
|
2 |
7 |
32 |
1 |
| vlv_c0_read |
|
1 |
7 |
43 |
2 |
| gen6_rps_reset_ei |
|
1 |
4 |
30 |
1 |
| vlv_wa_c0_ei |
|
7 |
29 |
187 |
2 |
| any_waiters |
|
2 |
9 |
37 |
1 |
| gen6_pm_rps_work |
|
15 |
61 |
413 |
1 |
| ivybridge_parity_work |
|
7 |
50 |
392 |
1 |
| ivybridge_parity_error_irq_handler |
|
4 |
15 |
112 |
2 |
| ilk_gt_irq_handler |
|
3 |
10 |
55 |
3 |
| snb_gt_irq_handler |
|
6 |
18 |
107 |
3 |
| gen8_gt_irq_handler |
|
19 |
60 |
443 |
2 |
| bxt_port_hotplug_long_detect |
|
4 |
13 |
46 |
2 |
| spt_port_hotplug2_long_detect |
|
2 |
9 |
30 |
2 |
| spt_port_hotplug_long_detect |
|
5 |
15 |
54 |
2 |
| ilk_port_hotplug_long_detect |
|
2 |
9 |
30 |
2 |
| pch_port_hotplug_long_detect |
|
4 |
13 |
46 |
2 |
| i9xx_port_hotplug_long_detect |
|
4 |
13 |
46 |
2 |
| intel_get_hpd_pins |
|
4 |
19 |
114 |
6 |
| gmbus_irq_handler |
|
1 |
5 |
26 |
1 |
| dp_aux_irq_handler |
|
1 |
5 |
26 |
1 |
| display_pipe_crc_irq_handler |
|
3 |
34 |
240 |
7 |
| display_pipe_crc_irq_handler |
|
1 |
4 |
28 |
7 |
| hsw_pipe_crc_irq_handler |
|
1 |
7 |
45 |
2 |
| ivb_pipe_crc_irq_handler |
|
1 |
10 |
69 |
2 |
| i9xx_pipe_crc_irq_handler |
|
4 |
18 |
119 |
2 |
| gen6_rps_irq_handler |
|
7 |
20 |
139 |
2 |
| intel_pipe_handle_vblank |
|
2 |
6 |
29 |
2 |
| valleyview_pipestat_irq_handler |
|
13 |
49 |
274 |
2 |
| i9xx_hpd_irq_handler |
|
7 |
29 |
160 |
1 |
| valleyview_irq_handler |
|
12 |
33 |
180 |
2 |
| cherryview_irq_handler |
|
7 |
27 |
147 |
2 |
| ibx_hpd_irq_handler |
|
1 |
12 |
80 |
3 |
| ibx_irq_handler |
|
14 |
37 |
218 |
2 |
| ivb_err_int_handler |
|
5 |
19 |
105 |
1 |
| cpt_serr_int_handler |
|
5 |
14 |
83 |
1 |
| cpt_irq_handler |
|
10 |
29 |
162 |
2 |
| spt_irq_handler |
|
5 |
28 |
150 |
2 |
| ilk_hpd_irq_handler |
|
1 |
12 |
80 |
3 |
| ilk_display_irq_handler |
|
14 |
37 |
227 |
2 |
| ivb_display_irq_handler |
|
10 |
28 |
174 |
2 |
| ironlake_irq_handler |
|
10 |
51 |
295 |
2 |
| bxt_hpd_irq_handler |
|
1 |
12 |
80 |
3 |
| gen8_irq_handler |
|
33 |
118 |
626 |
2 |
| i915_error_wake_up |
|
2 |
11 |
58 |
2 |
| i915_reset_and_wakeup |
|
8 |
29 |
208 |
1 |
| i915_report_and_clear_eir |
|
13 |
76 |
522 |
1 |
| i915_handle_error |
|
2 |
18 |
107 |
4 |
| i915_enable_vblank |
|
2 |
14 |
79 |
2 |
| ironlake_enable_vblank |
|
2 |
11 |
80 |
2 |
| valleyview_enable_vblank |
|
1 |
10 |
58 |
2 |
| gen8_enable_vblank |
|
1 |
11 |
81 |
2 |
| i915_disable_vblank |
|
1 |
10 |
57 |
2 |
| ironlake_disable_vblank |
|
2 |
10 |
77 |
2 |
| valleyview_disable_vblank |
|
1 |
9 |
55 |
2 |
| gen8_disable_vblank |
|
1 |
10 |
78 |
2 |
| ring_idle |
|
2 |
5 |
32 |
2 |
| ipehr_is_semaphore_wait |
|
2 |
10 |
53 |
2 |
| semaphore_wait_to_signaller_ring |
|
6 |
25 |
149 |
3 |
| semaphore_waits_for |
|
8 |
30 |
241 |
2 |
| semaphore_passed |
|
6 |
18 |
111 |
1 |
| semaphore_clear_deadlocks |
|
1 |
7 |
33 |
1 |
| ring_stuck |
|
9 |
38 |
185 |
2 |
| i915_hangcheck_elapsed |
|
18 |
78 |
449 |
1 |
| i915_queue_hangcheck |
|
2 |
8 |
48 |
1 |
| ibx_irq_reset |
|
4 |
9 |
51 |
1 |
| ibx_irq_pre_postinstall |
|
2 |
9 |
49 |
1 |
| gen5_gt_irq_reset |
|
2 |
7 |
39 |
1 |
| ironlake_irq_reset |
|
2 |
10 |
54 |
1 |
| vlv_display_irq_reset |
|
1 |
9 |
53 |
1 |
| valleyview_irq_preinstall |
|
1 |
11 |
72 |
1 |
| gen8_gt_irq_reset |
|
1 |
7 |
37 |
1 |
| gen8_irq_reset |
|
3 |
17 |
90 |
1 |
| gen8_irq_power_well_post_enable |
|
4 |
19 |
132 |
2 |
| cherryview_irq_preinstall |
|
1 |
10 |
52 |
1 |
| intel_hpd_enabled_irqs |
|
2 |
11 |
71 |
2 |
| ibx_hpd_irq_setup |
|
3 |
21 |
125 |
1 |
| spt_hpd_irq_setup |
|
1 |
15 |
89 |
1 |
| ilk_hpd_irq_setup |
|
3 |
23 |
150 |
1 |
| bxt_hpd_irq_setup |
|
1 |
12 |
69 |
1 |
| ibx_irq_postinstall |
|
3 |
13 |
66 |
1 |
| gen5_gt_irq_postinstall |
|
5 |
25 |
140 |
1 |
| ironlake_irq_postinstall |
|
3 |
35 |
185 |
1 |
| valleyview_display_irqs_install |
|
2 |
27 |
141 |
1 |
| valleyview_display_irqs_uninstall |
|
2 |
27 |
141 |
1 |
| valleyview_enable_display_irqs |
|
3 |
9 |
43 |
1 |
| valleyview_disable_display_irqs |
|
3 |
9 |
44 |
1 |
| vlv_display_irq_postinstall |
|
2 |
15 |
93 |
1 |
| valleyview_irq_postinstall |
|
2 |
10 |
52 |
1 |
| gen8_gt_irq_postinstall |
|
1 |
22 |
140 |
1 |
| gen8_de_irq_postinstall |
|
6 |
37 |
190 |
1 |
| gen8_irq_postinstall |
|
3 |
13 |
67 |
1 |
| cherryview_irq_postinstall |
|
1 |
9 |
43 |
1 |
| gen8_irq_uninstall |
|
2 |
7 |
30 |
1 |
| vlv_display_irq_uninstall |
|
2 |
9 |
47 |
1 |
| valleyview_irq_uninstall |
|
2 |
10 |
49 |
1 |
| cherryview_irq_uninstall |
|
2 |
11 |
52 |
1 |
| ironlake_irq_uninstall |
|
2 |
7 |
30 |
1 |
| i8xx_irq_preinstall |
|
1 |
10 |
56 |
1 |
| i8xx_irq_postinstall |
|
1 |
22 |
105 |
1 |
| i8xx_handle_vblank |
|
4 |
18 |
102 |
4 |
| i8xx_irq_handler |
|
12 |
47 |
281 |
2 |
| i8xx_irq_uninstall |
|
1 |
12 |
79 |
1 |
| i915_irq_preinstall |
|
2 |
15 |
91 |
1 |
| i915_irq_postinstall |
|
2 |
32 |
154 |
1 |
| i915_handle_vblank |
|
4 |
18 |
102 |
4 |
| i915_irq_handler |
|
17 |
58 |
354 |
2 |
| i915_irq_uninstall |
|
2 |
17 |
114 |
1 |
| i965_irq_preinstall |
|
1 |
13 |
82 |
1 |
| i965_irq_postinstall |
|
3 |
41 |
198 |
1 |
| i915_hpd_irq_setup |
|
2 |
15 |
66 |
1 |
| i965_irq_handler |
|
17 |
58 |
361 |
2 |
| i965_irq_uninstall |
|
2 |
18 |
118 |
1 |
| intel_irq_init |
|
18 |
87 |
664 |
1 |
| intel_irq_install |
|
1 |
5 |
33 |
1 |
| intel_irq_uninstall |
|
1 |
6 |
29 |
1 |
| intel_runtime_pm_disable_interrupts |
|
1 |
6 |
39 |
1 |
| intel_runtime_pm_enable_interrupts |
|
1 |
6 |
43 |
1 |
| Source file: ./sys/dev/pci/drm/i915/dvo_ns2501.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ns2501_readb |
|
3 |
33 |
171 |
3 |
| ns2501_writeb |
|
3 |
22 |
128 |
3 |
| ns2501_init |
|
6 |
32 |
179 |
2 |
| ns2501_detect |
|
1 |
4 |
12 |
1 |
| ns2501_mode_valid |
|
10 |
14 |
108 |
2 |
| ns2501_mode_set |
|
9 |
84 |
664 |
3 |
| ns2501_get_hw_state |
|
2 |
7 |
34 |
1 |
| ns2501_dpms |
|
3 |
26 |
197 |
2 |
| ns2501_destroy |
|
2 |
8 |
35 |
1 |
| Source file: ./sys/dev/pci/drm/i915/intel_atomic_plane.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| intel_create_plane_state |
|
2 |
11 |
65 |
1 |
| intel_plane_duplicate_state |
|
2 |
11 |
61 |
1 |
| intel_plane_destroy_state |
|
1 |
5 |
21 |
2 |
| intel_plane_atomic_check |
|
13 |
54 |
394 |
2 |
| intel_plane_atomic_update |
|
1 |
8 |
45 |
2 |
| intel_plane_atomic_get_property |
|
1 |
8 |
37 |
4 |
| intel_plane_atomic_set_property |
|
1 |
8 |
35 |
4 |
| Source file: ./sys/dev/pci/drm/i915/intel_dsi.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| to_intel_dsi_host |
|
1 |
4 |
20 |
1 |
| enc_to_intel_dsi |
|
1 |
4 |
22 |
1 |
| Source file: ./sys/dev/pci/drm/i915/intel_renderstate_gen7.c |
| Source file: ./sys/dev/pci/drm/i915/intel_fifo_underrun.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ivb_can_enable_err_int |
|
2 |
13 |
67 |
1 |
| cpt_can_enable_serr_int |
|
2 |
13 |
67 |
1 |
| i9xx_check_fifo_underruns |
|
3 |
18 |
108 |
1 |
| i9xx_set_fifo_underrun_reporting |
|
4 |
16 |
95 |
4 |
| ironlake_set_fifo_underrun_reporting |
|
3 |
11 |
57 |
3 |
| ivybridge_set_fifo_underrun_reporting |
|
5 |
19 |
97 |
4 |
| broadwell_set_fifo_underrun_reporting |
|
2 |
12 |
79 |
3 |
| ibx_set_fifo_underrun_reporting |
|
3 |
12 |
57 |
3 |
| cpt_set_fifo_underrun_reporting |
|
5 |
20 |
97 |
4 |
| __intel_set_cpu_fifo_underrun_reporting |
|
7 |
20 |
156 |
3 |
| intel_set_cpu_fifo_underrun_reporting |
|
1 |
11 |
59 |
3 |
| intel_set_pch_fifo_underrun_reporting |
|
2 |
20 |
116 |
3 |
| intel_cpu_fifo_underrun_irq_handler |
|
5 |
13 |
72 |
2 |
| intel_pch_fifo_underrun_irq_handler |
|
2 |
8 |
34 |
2 |
| Source file: ./sys/dev/pci/drm/i915/i915_gpu_error.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ring_str |
|
6 |
11 |
48 |
1 |
| pin_flag |
|
3 |
9 |
30 |
1 |
| tiling_flag |
|
4 |
9 |
33 |
1 |
| dirty_flag |
|
2 |
4 |
14 |
1 |
| purgeable_flag |
|
2 |
4 |
14 |
1 |
| __i915_error_ok |
|
5 |
10 |
67 |
1 |
| __i915_error_seek |
|
3 |
13 |
58 |
2 |
| __i915_error_advance |
|
4 |
17 |
104 |
2 |
| i915_error_vprintf |
|
5 |
19 |
138 |
3 |
| i915_error_puts |
|
5 |
16 |
104 |
2 |
| print_error_buffers |
|
7 |
33 |
265 |
4 |
| hangcheck_action_to_str |
|
7 |
18 |
53 |
1 |
| i915_ring_error_state |
|
8 |
61 |
520 |
4 |
| i915_error_printf |
|
1 |
7 |
40 |
3 |
| print_error_obj |
|
3 |
12 |
80 |
2 |
| xprint_error_obj |
|
3 |
12 |
75 |
1 |
| i915_error_state_to_str |
|
35 |
158 |
1347 |
2 |
| i915_error_state_buf_init |
|
5 |
22 |
151 |
4 |
| i915_error_object_free |
|
3 |
9 |
50 |
1 |
| i915_error_state_free |
|
3 |
24 |
201 |
1 |
| i915_error_object_create |
|
22 |
75 |
476 |
3 |
| capture_bo |
|
4 |
25 |
210 |
2 |
| capture_active_bo |
|
2 |
12 |
57 |
3 |
| capture_pinned_bo |
|
4 |
17 |
106 |
4 |
| i915_error_generate_code |
|
4 |
15 |
87 |
3 |
| i915_gem_record_fences |
|
9 |
16 |
159 |
2 |
| gen8_record_semaphore_state |
|
4 |
27 |
159 |
4 |
| gen6_record_semaphore_state |
|
2 |
14 |
129 |
3 |
| i915_record_ring_state |
|
17 |
86 |
665 |
4 |
| i915_gem_record_active_context |
|
5 |
17 |
104 |
3 |
| i915_gem_record_rings |
|
13 |
74 |
555 |
2 |
| i915_gem_capture_vm |
|
7 |
37 |
248 |
4 |
| i915_gem_capture_buffers |
|
5 |
31 |
230 |
2 |
| i915_capture_reg_state |
|
15 |
50 |
403 |
2 |
| i915_error_capture_msg |
|
4 |
23 |
170 |
4 |
| i915_capture_gen_state |
|
2 |
8 |
47 |
2 |
| i915_capture_error_state |
|
27 |
160 |
1191 |
3 |
| i915_error_state_get |
|
2 |
10 |
69 |
2 |
| i915_error_state_put |
|
2 |
5 |
27 |
1 |
| i915_destroy_error_state |
|
2 |
11 |
73 |
1 |
| i915_cache_level_str |
|
6 |
10 |
54 |
2 |
| i915_get_extra_instdone |
|
7 |
16 |
159 |
2 |
| Source file: ./sys/dev/pci/drm/i915/intel_pm.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bxt_init_clock_gating |
|
1 |
8 |
42 |
1 |
| i915_pineview_get_mem_freq |
|
9 |
33 |
142 |
1 |
| i915_ironlake_get_mem_freq |
|
15 |
62 |
276 |
1 |
| intel_get_cxsr_latency |
|
8 |
19 |
101 |
4 |
| chv_set_memory_dvfs |
|
3 |
17 |
99 |
2 |
| chv_set_memory_pm5 |
|
2 |
12 |
66 |
2 |
| intel_set_memory_cxsr |
|
14 |
32 |
222 |
2 |
| vlv_get_fifo_size |
|
9 |
47 |
270 |
3 |
| i9xx_get_fifo_size |
|
3 |
12 |
75 |
2 |
| i830_get_fifo_size |
|
3 |
13 |
80 |
2 |
| i845_get_fifo_size |
|
2 |
12 |
61 |
2 |
| intel_calculate_wm |
|
4 |
21 |
124 |
5 |
| single_enabled_crtc |
|
3 |
12 |
50 |
1 |
| pineview_update_wm |
|
3 |
55 |
360 |
1 |
| g4x_compute_wm0 |
|
6 |
45 |
342 |
8 |
| g4x_check_srwm |
|
5 |
23 |
106 |
5 |
| g4x_compute_srwm |
|
2 |
38 |
278 |
7 |
| vlv_write_wm_values |
|
2 |
61 |
758 |
2 |
| vlv_wm_method2 |
|
1 |
12 |
66 |
5 |
| vlv_setup_wm_latency |
|
2 |
11 |
76 |
1 |
| vlv_compute_wm_level |
|
5 |
25 |
187 |
4 |
| vlv_compute_fifo |
|
10 |
50 |
315 |
1 |
| vlv_invert_wms |
|
5 |
30 |
232 |
1 |
| vlv_compute_wm |
|
22 |
77 |
600 |
1 |
| vlv_pipe_set_fifo_size |
|
7 |
70 |
510 |
1 |
| vlv_merge_wm |
|
7 |
34 |
258 |
2 |
| vlv_update_wm |
|
15 |
38 |
334 |
1 |
| g4x_update_wm |
|
6 |
50 |
288 |
1 |
| i965_update_wm |
|
5 |
55 |
377 |
1 |
| i9xx_update_wm |
|
21 |
99 |
721 |
1 |
| i845_update_wm |
|
2 |
21 |
134 |
1 |
| ilk_pipe_pixel_rate |
|
4 |
20 |
121 |
1 |
| ilk_wm_method1 |
|
2 |
10 |
57 |
3 |
| ilk_wm_method2 |
|
2 |
12 |
76 |
5 |
| ilk_wm_fbc |
|
1 |
5 |
27 |
3 |
| ilk_compute_pri_wm |
|
5 |
19 |
125 |
4 |
| ilk_compute_spr_wm |
|
4 |
16 |
114 |
3 |
| ilk_compute_cur_wm |
|
3 |
12 |
74 |
3 |
| ilk_compute_fbc_wm |
|
4 |
9 |
73 |
3 |
| ilk_display_fifo_size |
|
3 |
9 |
43 |
1 |
| ilk_plane_wm_reg_max |
|
8 |
12 |
82 |
3 |
| ilk_cursor_wm_reg_max |
|
4 |
8 |
43 |
2 |
| ilk_fbc_wm_reg_max |
|
2 |
7 |
28 |
1 |
| ilk_plane_wm_max |
|
10 |
25 |
139 |
5 |
| ilk_cursor_wm_max |
|
3 |
8 |
42 |
3 |
| ilk_compute_wm_maximums |
|
1 |
11 |
84 |
5 |
| ilk_compute_wm_reg_maximums |
|
1 |
9 |
63 |
3 |
| ilk_validate_wm_level |
|
9 |
28 |
213 |
3 |
| ilk_compute_wm_level |
|
5 |
38 |
203 |
5 |
| hsw_compute_linetime_wm |
|
2 |
15 |
108 |
2 |
| intel_read_wm_latency |
|
15 |
78 |
602 |
2 |
| intel_fixup_spr_wm_latency |
|
2 |
5 |
33 |
2 |
| intel_fixup_cur_wm_latency |
|
3 |
7 |
47 |
2 |
| ilk_wm_max_level |
|
5 |
11 |
59 |
1 |
| intel_print_wm_latency |
|
5 |
21 |
118 |
3 |
| ilk_increase_wm_latency |
|
3 |
11 |
95 |
3 |
| snb_wm_latency_quirk |
|
2 |
14 |
113 |
1 |
| ilk_setup_wm_latency |
|
2 |
16 |
150 |
1 |
| skl_setup_wm_latency |
|
1 |
6 |
42 |
1 |
| ilk_compute_wm_config |
|
2 |
13 |
70 |
2 |
| intel_compute_pipe_wm |
|
12 |
47 |
391 |
2 |
| ilk_merge_wm_level |
|
3 |
19 |
146 |
3 |
| ilk_wm_merge |
|
13 |
33 |
240 |
4 |
| ilk_wm_lp_to_level |
|
2 |
4 |
31 |
2 |
| ilk_wm_lp_latency |
|
3 |
8 |
49 |
2 |
| ilk_compute_wm_results |
|
7 |
44 |
326 |
4 |
| ilk_find_best_result |
|
8 |
23 |
127 |
3 |
| ilk_compute_wm_dirty |
|
10 |
36 |
224 |
3 |
| _ilk_disable_lp_wm |
|
7 |
22 |
168 |
2 |
| ilk_write_wm_values |
|
28 |
65 |
558 |
2 |
| ilk_disable_lp_wm |
|
1 |
5 |
26 |
1 |
| skl_ddb_get_pipe_allocation_limits |
|
5 |
31 |
153 |
5 |
| skl_cursor_allocation |
|
2 |
6 |
24 |
1 |
| skl_ddb_entry_init_from_hw |
|
2 |
7 |
45 |
2 |
| skl_ddb_get_hw_state |
|
2 |
20 |
124 |
2 |
| skl_plane_relative_data_rate |
|
3 |
10 |
73 |
2 |
| skl_get_total_relative_data_rate |
|
4 |
17 |
96 |
2 |
| skl_allocate_pipe_ddb |
|
7 |
65 |
509 |
4 |
| skl_pipe_pixel_rate |
|
1 |
4 |
19 |
1 |
| skl_wm_method1 |
|
2 |
10 |
49 |
3 |
| skl_wm_method2 |
|
4 |
23 |
111 |
6 |
| skl_ddb_allocation_changed |
|
3 |
15 |
137 |
2 |
| skl_compute_wm_global_parameters |
|
1 |
13 |
93 |
2 |
| skl_compute_wm_pipe_parameters |
|
8 |
52 |
478 |
2 |
| skl_compute_plane_wm |
|
18 |
69 |
343 |
7 |
| skl_compute_wm_level |
|
2 |
26 |
172 |
7 |
| skl_compute_linetime_wm |
|
3 |
8 |
57 |
2 |
| skl_compute_transition_wm |
|
3 |
12 |
75 |
3 |
| skl_compute_pipe_wm |
|
2 |
17 |
129 |
4 |
| skl_compute_wm_results |
|
8 |
43 |
363 |
5 |
| skl_ddb_entry_write |
|
2 |
8 |
52 |
3 |
| skl_write_wm_values |
|
6 |
35 |
317 |
2 |
| skl_wm_flush_pipe |
|
1 |
10 |
77 |
3 |
| skl_ddb_allocation_included |
|
3 |
11 |
92 |
3 |
| skl_flush_wm_values |
|
8 |
42 |
249 |
2 |
| skl_update_pipe_wm |
|
2 |
15 |
104 |
5 |
| skl_update_other_pipe_wm |
|
4 |
26 |
164 |
4 |
| skl_clear_wm |
|
1 |
16 |
165 |
2 |
| skl_update_wm |
|
2 |
22 |
188 |
1 |
| skl_update_sprite_wm |
|
6 |
22 |
186 |
7 |
| ilk_update_wm |
|
6 |
33 |
288 |
1 |
| ilk_update_sprite_wm |
|
4 |
11 |
76 |
7 |
| skl_pipe_wm_active_state |
|
4 |
42 |
251 |
6 |
| skl_pipe_wm_get_hw_state |
|
8 |
41 |
428 |
1 |
| skl_wm_get_hw_state |
|
1 |
9 |
62 |
1 |
| ilk_pipe_wm_get_hw_state |
|
5 |
31 |
287 |
1 |
| vlv_read_wm_values |
|
2 |
62 |
835 |
2 |
| vlv_wm_get_hw_state |
|
8 |
52 |
372 |
1 |
| ilk_wm_get_hw_state |
|
7 |
24 |
199 |
1 |
| intel_update_watermarks |
|
2 |
6 |
37 |
1 |
| intel_update_sprite_watermarks |
|
2 |
13 |
69 |
7 |
| ironlake_set_drps |
|
2 |
18 |
97 |
2 |
| ironlake_enable_drps |
|
2 |
42 |
324 |
1 |
| ironlake_disable_drps |
|
1 |
18 |
122 |
1 |
| intel_rps_limits |
|
4 |
14 |
100 |
2 |
| gen6_set_rps_thresholds |
|
19 |
71 |
398 |
2 |
| gen6_rps_pm_mask |
|
3 |
10 |
65 |
2 |
| gen6_set_rps |
|
6 |
28 |
194 |
2 |
| valleyview_set_rps |
|
5 |
18 |
145 |
2 |
| vlv_set_rps_idle |
|
2 |
9 |
53 |
1 |
| gen6_rps_busy |
|
3 |
11 |
68 |
1 |
| gen6_rps_idle |
|
4 |
19 |
138 |
1 |
| gen6_rps_boost |
|
10 |
26 |
186 |
3 |
| intel_set_rps |
|
2 |
7 |
34 |
2 |
| gen9_disable_rps |
|
1 |
6 |
32 |
1 |
| gen6_disable_rps |
|
1 |
6 |
35 |
1 |
| cherryview_disable_rps |
|
1 |
5 |
25 |
1 |
| valleyview_disable_rps |
|
1 |
7 |
39 |
1 |
| intel_print_rc6_info |
|
8 |
17 |
101 |
2 |
| sanitize_rc6_option |
|
6 |
20 |
103 |
2 |
| intel_enable_rc6 |
|
1 |
4 |
15 |
1 |
| gen6_init_rps_frequencies |
|
13 |
52 |
402 |
1 |
| gen9_enable_rps |
|
2 |
18 |
113 |
1 |
| gen9_enable_rc6 |
|
12 |
47 |
309 |
1 |
| gen8_enable_rps |
|
4 |
55 |
327 |
1 |
| gen6_enable_rps |
|
15 |
75 |
520 |
1 |
| __gen6_update_ring_freq |
|
12 |
52 |
336 |
1 |
| gen6_update_ring_freq |
|
2 |
9 |
53 |
1 |
| cherryview_rps_max_freq |
|
4 |
20 |
98 |
1 |
| cherryview_rps_rpe_freq |
|
1 |
7 |
37 |
1 |
| cherryview_rps_guar_freq |
|
1 |
7 |
34 |
1 |
| valleyview_rps_guar_freq |
|
1 |
7 |
37 |
1 |
| valleyview_rps_max_freq |
|
1 |
8 |
48 |
1 |
| valleyview_rps_rpe_freq |
|
1 |
9 |
57 |
1 |
| valleyview_rps_min_freq |
|
1 |
4 |
19 |
1 |
| valleyview_check_pctx |
|
1 |
6 |
39 |
1 |
| cherryview_check_pctx |
|
1 |
5 |
32 |
1 |
| cherryview_setup_pctx |
|
2 |
18 |
126 |
1 |
| valleyview_setup_pctx |
|
3 |
30 |
166 |
1 |
| valleyview_cleanup_pctx |
|
2 |
8 |
46 |
1 |
| valleyview_init_gt_powersave |
|
7 |
44 |
313 |
1 |
| cherryview_init_gt_powersave |
|
4 |
47 |
348 |
1 |
| valleyview_cleanup_gt_powersave |
|
1 |
4 |
14 |
1 |
| cherryview_enable_rps |
|
4 |
62 |
399 |
1 |
| valleyview_enable_rps |
|
3 |
61 |
384 |
1 |
| intel_pxfreq |
|
2 |
11 |
76 |
1 |
| __i915_chipset_val |
|
6 |
36 |
267 |
1 |
| i915_chipset_val |
|
2 |
11 |
58 |
1 |
| i915_mch_val |
|
1 |
10 |
66 |
1 |
| _pxvid_to_vd |
|
4 |
8 |
39 |
1 |
| pvid_to_extvid |
|
3 |
9 |
59 |
2 |
| __i915_update_gfx_val |
|
3 |
23 |
142 |
1 |
| i915_update_gfx_val |
|
2 |
9 |
48 |
1 |
| __i915_gfx_val |
|
3 |
24 |
187 |
1 |
| i915_gfx_val |
|
2 |
11 |
58 |
1 |
| i915_read_mch_val |
|
2 |
15 |
70 |
1 |
| i915_gpu_raise |
|
3 |
16 |
72 |
1 |
| i915_gpu_lower |
|
3 |
16 |
72 |
1 |
| i915_gpu_busy |
|
2 |
16 |
72 |
1 |
| i915_gpu_turbo_disable |
|
3 |
17 |
83 |
1 |
| ips_ping_for_i915_load |
|
2 |
9 |
37 |
1 |
| intel_gpu_ips_init |
|
2 |
7 |
29 |
1 |
| intel_gpu_ips_teardown |
|
2 |
6 |
22 |
1 |
| intel_init_emon |
|
7 |
53 |
434 |
1 |
| intel_init_gt_powersave |
|
3 |
8 |
47 |
1 |
| intel_cleanup_gt_powersave |
|
3 |
7 |
31 |
1 |
| gen6_suspend_rps |
|
1 |
6 |
33 |
1 |
| intel_suspend_gt_powersave |
|
2 |
8 |
41 |
1 |
| intel_disable_gt_powersave |
|
6 |
20 |
127 |
1 |
| intel_gen6_powersave_work |
|
7 |
33 |
243 |
1 |
| intel_enable_gt_powersave |
|
5 |
16 |
98 |
1 |
| intel_reset_gt_powersave |
|
2 |
8 |
44 |
1 |
| ibx_init_clock_gating |
|
1 |
5 |
25 |
1 |
| g4x_disable_trickle_feed |
|
1 |
12 |
72 |
1 |
| ilk_init_lp_watermarks |
|
1 |
7 |
54 |
1 |
| ironlake_init_clock_gating |
|
2 |
41 |
180 |
1 |
| cpt_init_clock_gating |
|
2 |
26 |
125 |
1 |
| gen6_check_mch_setup |
|
2 |
9 |
45 |
1 |
| gen6_init_clock_gating |
|
1 |
41 |
189 |
1 |
| gen7_setup_fixed_func_scheduler |
|
1 |
9 |
40 |
1 |
| lpt_init_clock_gating |
|
2 |
11 |
55 |
1 |
| lpt_suspend_hw |
|
2 |
9 |
46 |
1 |
| broadwell_init_clock_gating |
|
1 |
30 |
170 |
1 |
| haswell_init_clock_gating |
|
1 |
26 |
145 |
1 |
| ivybridge_init_clock_gating |
|
5 |
55 |
259 |
1 |
| vlv_init_display_clock_gating |
|
1 |
10 |
48 |
1 |
| valleyview_init_clock_gating |
|
1 |
32 |
158 |
1 |
| cherryview_init_clock_gating |
|
1 |
15 |
80 |
1 |
| g4x_init_clock_gating |
|
2 |
20 |
97 |
1 |
| crestline_init_clock_gating |
|
1 |
12 |
73 |
1 |
| broadwater_init_clock_gating |
|
1 |
13 |
60 |
1 |
| gen3_init_clock_gating |
|
2 |
15 |
98 |
1 |
| i85x_init_clock_gating |
|
1 |
9 |
50 |
1 |
| i830_init_clock_gating |
|
1 |
8 |
40 |
1 |
| intel_init_clock_gating |
|
2 |
6 |
35 |
1 |
| intel_suspend_hw |
|
2 |
5 |
21 |
1 |
| intel_init_pm |
|
33 |
91 |
653 |
1 |
| sandybridge_pcode_read |
|
3 |
19 |
123 |
3 |
| sandybridge_pcode_write |
|
3 |
17 |
106 |
3 |
| vlv_gpu_freq_div |
|
6 |
16 |
47 |
1 |
| byt_gpu_freq |
|
2 |
8 |
58 |
2 |
| byt_freq_opcode |
|
2 |
8 |
56 |
2 |
| chv_gpu_freq |
|
2 |
8 |
58 |
2 |
| chv_freq_opcode |
|
2 |
8 |
58 |
2 |
| intel_gpu_freq |
|
4 |
12 |
73 |
2 |
| intel_freq_opcode |
|
4 |
12 |
76 |
2 |
| __intel_rps_boost_work |
|
2 |
10 |
71 |
1 |
| intel_queue_rps_boost_for_request |
|
5 |
16 |
104 |
2 |
| intel_pm_setup |
|
1 |
12 |
96 |
1 |
| Source file: ./sys/dev/pci/drm/i915/i915_guc_reg.h |
| Source file: ./sys/dev/pci/drm/i915/intel_renderstate_gen9.c |
| Source file: ./sys/dev/pci/drm/i915/intel_renderstate.h |
| Source file: ./sys/dev/pci/drm/i915/intel_sdvo_regs.h |
| Source file: ./sys/dev/pci/drm/i915/intel_panel.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| intel_fixed_panel_mode |
|
1 |
6 |
29 |
2 |
| intel_find_panel_downclock |
|
11 |
28 |
161 |
3 |
| intel_pch_panel_fitting |
|
10 |
57 |
350 |
3 |
| centre_horizontally |
|
1 |
15 |
117 |
2 |
| centre_vertically |
|
1 |
14 |
111 |
2 |
| panel_fitter_scaling |
|
1 |
5 |
32 |
2 |
| i965_scale_aspect |
|
4 |
17 |
93 |
2 |
| i9xx_scale_aspect |
|
5 |
45 |
227 |
4 |
| intel_gmch_panel_fitting |
|
14 |
54 |
309 |
3 |
| intel_panel_detect |
|
6 |
17 |
74 |
1 |
| scale |
|
1 |
13 |
78 |
5 |
| scale_user_to_hw |
|
1 |
7 |
47 |
3 |
| clamp_user_to_hw |
|
1 |
9 |
69 |
3 |
| scale_hw_to_user |
|
1 |
7 |
47 |
3 |
| intel_panel_compute_brightness |
|
4 |
15 |
92 |
2 |
| lpt_get_backlight |
|
1 |
6 |
37 |
1 |
| pch_get_backlight |
|
1 |
6 |
37 |
1 |
| i9xx_get_backlight |
|
3 |
16 |
99 |
1 |
| _vlv_get_backlight |
|
3 |
7 |
49 |
2 |
| vlv_get_backlight |
|
1 |
6 |
37 |
1 |
| bxt_get_backlight |
|
1 |
7 |
52 |
1 |
| pwm_get_backlight |
|
1 |
7 |
43 |
1 |
| intel_panel_get_backlight |
|
2 |
15 |
100 |
1 |
| lpt_set_backlight |
|
1 |
7 |
51 |
2 |
| pch_set_backlight |
|
1 |
8 |
53 |
2 |
| i9xx_set_backlight |
|
3 |
22 |
143 |
2 |
| vlv_set_backlight |
|
3 |
11 |
83 |
2 |
| bxt_set_backlight |
|
1 |
7 |
56 |
2 |
| pwm_set_backlight |
|
1 |
6 |
47 |
2 |
| intel_panel_actually_set_backlight |
|
1 |
7 |
49 |
2 |
| intel_panel_set_backlight |
|
3 |
17 |
120 |
3 |
| intel_panel_set_backlight_acpi |
|
5 |
23 |
172 |
3 |
| lpt_disable_backlight |
|
2 |
14 |
84 |
1 |
| pch_disable_backlight |
|
1 |
11 |
71 |
1 |
| i9xx_disable_backlight |
|
1 |
4 |
16 |
1 |
| i965_disable_backlight |
|
1 |
9 |
55 |
1 |
| vlv_disable_backlight |
|
3 |
12 |
85 |
1 |
| bxt_disable_backlight |
|
2 |
16 |
111 |
1 |
| pwm_disable_backlight |
|
1 |
7 |
48 |
1 |
| intel_panel_disable_backlight |
|
5 |
18 |
120 |
1 |
| lpt_enable_backlight |
|
7 |
39 |
228 |
1 |
| pch_enable_backlight |
|
5 |
38 |
233 |
1 |
| i9xx_enable_backlight |
|
7 |
25 |
164 |
1 |
| i965_enable_backlight |
|
5 |
28 |
183 |
1 |
| vlv_enable_backlight |
|
5 |
25 |
183 |
1 |
| bxt_enable_backlight |
|
6 |
38 |
260 |
1 |
| pwm_enable_backlight |
|
1 |
6 |
39 |
1 |
| intel_panel_enable_backlight |
|
6 |
25 |
200 |
1 |
| intel_backlight_device_update_status |
|
4 |
22 |
160 |
1 |
| intel_backlight_device_get_brightness |
|
1 |
15 |
102 |
1 |
| intel_backlight_device_register |
|
5 |
34 |
208 |
1 |
| intel_backlight_device_unregister |
|
2 |
8 |
46 |
1 |
| intel_backlight_device_register |
|
1 |
4 |
12 |
1 |
| intel_backlight_device_unregister |
|
1 |
3 |
9 |
1 |
| spt_hz_to_pwm |
|
2 |
12 |
71 |
2 |
| lpt_hz_to_pwm |
|
3 |
15 |
87 |
2 |
| pch_hz_to_pwm |
|
1 |
6 |
43 |
2 |
| i9xx_hz_to_pwm |
|
2 |
11 |
72 |
2 |
| i965_hz_to_pwm |
|
1 |
7 |
55 |
2 |
| vlv_hz_to_pwm |
|
3 |
15 |
104 |
2 |
| get_backlight_max_vbt |
|
4 |
23 |
125 |
1 |
| get_backlight_min_vbt |
|
2 |
14 |
119 |
1 |
| lpt_setup_backlight |
|
5 |
27 |
209 |
2 |
| pch_setup_backlight |
|
5 |
22 |
187 |
2 |
| i9xx_setup_backlight |
|
8 |
26 |
218 |
2 |
| i965_setup_backlight |
|
5 |
24 |
198 |
2 |
| vlv_setup_backlight |
|
6 |
23 |
197 |
2 |
| bxt_setup_backlight |
|
5 |
26 |
203 |
2 |
| pwm_setup_backlight |
|
3 |
28 |
185 |
2 |
| intel_panel_setup_backlight |
|
6 |
32 |
198 |
2 |
| intel_panel_destroy_backlight |
|
2 |
8 |
54 |
1 |
| intel_panel_init_backlight_funcs |
|
10 |
61 |
455 |
1 |
| intel_panel_init |
|
1 |
9 |
39 |
3 |
| intel_panel_fini |
|
3 |
10 |
62 |
1 |
| intel_backlight_register |
|
1 |
6 |
34 |
1 |
| intel_backlight_unregister |
|
1 |
6 |
34 |
1 |
| Source file: ./sys/dev/pci/drm/i915/intel_ddi.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ddi_get_encoder_port |
|
7 |
26 |
124 |
3 |
| intel_ddi_get_encoder_port |
|
1 |
7 |
32 |
1 |
| intel_dig_port_supports_hdmi |
|
1 |
4 |
17 |
1 |
| skl_get_buf_trans_dp |
|
5 |
16 |
90 |
2 |
| skl_get_buf_trans_edp |
|
8 |
32 |
168 |
2 |
| skl_get_buf_trans_hdmi |
|
3 |
13 |
63 |
2 |
| intel_prepare_ddi_buffers |
|
21 |
109 |
576 |
3 |
| intel_prepare_ddi |
|
5 |
21 |
110 |
1 |
| intel_wait_ddi_buf_idle |
|
3 |
12 |
65 |
2 |
| hsw_fdi_link_train |
|
3 |
72 |
508 |
1 |
| intel_ddi_init_dp_buf_reg |
|
1 |
9 |
61 |
1 |
| intel_ddi_get_crtc_encoder |
|
2 |
16 |
92 |
1 |
| intel_ddi_get_crtc_new_encoder |
|
2 |
21 |
127 |
1 |
| hsw_wrpll_get_budget_for_freq |
|
52 |
71 |
210 |
1 |
| hsw_wrpll_update_rnp |
|
10 |
36 |
273 |
6 |
| hsw_ddi_calc_wrpll_link |
|
4 |
23 |
118 |
2 |
| skl_calc_wrpll_link |
|
10 |
49 |
226 |
2 |
| ddi_dotclock_get |
|
6 |
17 |
105 |
1 |
| skl_ddi_clock_get |
|
8 |
41 |
176 |
2 |
| hsw_ddi_clock_get |
|
10 |
43 |
188 |
2 |
| bxt_calc_pll_link |
|
3 |
19 |
150 |
2 |
| bxt_ddi_clock_get |
|
1 |
9 |
57 |
2 |
| intel_ddi_clock_get |
|
5 |
11 |
78 |
2 |
| hsw_ddi_calculate_wrpll |
|
5 |
30 |
183 |
4 |
| hsw_ddi_pll_select |
|
6 |
36 |
248 |
3 |
| skl_wrpll_context_init |
|
1 |
5 |
28 |
1 |
| skl_wrpll_try_divider |
|
6 |
24 |
123 |
4 |
| skl_wrpll_get_multipliers |
|
16 |
46 |
290 |
4 |
| skl_wrpll_params_populate |
|
13 |
56 |
262 |
6 |
| skl_ddi_calculate_wrpll |
|
8 |
51 |
381 |
2 |
| skl_ddi_pll_select |
|
9 |
51 |
301 |
3 |
| bxt_ddi_pll_select |
|
20 |
98 |
617 |
3 |
| intel_ddi_pll_select |
|
4 |
16 |
86 |
2 |
| intel_ddi_set_pipe_settings |
|
8 |
29 |
142 |
1 |
| intel_ddi_set_vc_payload_alloc |
|
2 |
14 |
88 |
2 |
| intel_ddi_enable_transcoder_func |
|
22 |
84 |
457 |
1 |
| intel_ddi_disable_transcoder_func |
|
1 |
9 |
50 |
2 |
| intel_ddi_connector_get_hw_state |
|
10 |
37 |
199 |
1 |
| intel_ddi_get_hw_state |
|
11 |
45 |
234 |
2 |
| intel_ddi_enable_pipe_clock |
|
2 |
12 |
85 |
1 |
| intel_ddi_disable_pipe_clock |
|
2 |
8 |
48 |
1 |
| skl_ddi_set_iboost |
|
12 |
48 |
288 |
4 |
| bxt_ddi_vswing_sequence |
|
14 |
54 |
368 |
4 |
| translate_signal_level |
|
11 |
40 |
138 |
1 |
| ddi_signal_levels |
|
4 |
17 |
133 |
1 |
| intel_ddi_pre_enable |
|
12 |
57 |
412 |
1 |
| intel_ddi_post_disable |
|
8 |
33 |
230 |
1 |
| intel_enable_ddi |
|
6 |
28 |
180 |
1 |
| intel_disable_ddi |
|
3 |
19 |
118 |
1 |
| hsw_ddi_wrpll_enable |
|
1 |
7 |
47 |
2 |
| hsw_ddi_spll_enable |
|
1 |
7 |
37 |
2 |
| hsw_ddi_wrpll_disable |
|
1 |
8 |
53 |
2 |
| hsw_ddi_spll_disable |
|
1 |
8 |
38 |
2 |
| hsw_ddi_wrpll_get_hw_state |
|
2 |
11 |
58 |
3 |
| hsw_ddi_spll_get_hw_state |
|
2 |
11 |
53 |
3 |
| hsw_shared_dplls_init |
|
2 |
18 |
149 |
1 |
| skl_ddi_pll_enable |
|
2 |
22 |
206 |
2 |
| skl_ddi_pll_disable |
|
1 |
8 |
60 |
2 |
| skl_ddi_pll_get_hw_state |
|
4 |
21 |
151 |
3 |
| skl_shared_dplls_init |
|
2 |
13 |
93 |
1 |
| broxton_phy_init |
|
11 |
62 |
430 |
2 |
| broxton_ddi_phy_init |
|
1 |
5 |
27 |
1 |
| broxton_phy_uninit |
|
1 |
8 |
40 |
2 |
| broxton_ddi_phy_uninit |
|
1 |
7 |
39 |
1 |
| bxt_ddi_pll_enable |
|
2 |
69 |
575 |
2 |
| bxt_ddi_pll_disable |
|
1 |
10 |
61 |
2 |
| bxt_ddi_pll_get_hw_state |
|
4 |
42 |
327 |
3 |
| bxt_shared_dplls_init |
|
2 |
13 |
93 |
1 |
| intel_ddi_pll_init |
|
10 |
28 |
166 |
1 |
| intel_ddi_prepare_link_retrain |
|
6 |
39 |
244 |
1 |
| intel_ddi_fdi_disable |
|
1 |
20 |
150 |
1 |
| intel_ddi_get_config |
|
18 |
67 |
357 |
2 |
| intel_ddi_compute_config |
|
3 |
13 |
73 |
2 |
| intel_ddi_init_dp_connector |
|
3 |
14 |
70 |
1 |
| intel_ddi_init_hdmi_connector |
|
2 |
11 |
57 |
1 |
| intel_ddi_init |
|
12 |
55 |
356 |
2 |
| Source file: ./sys/dev/pci/drm/i915/dvo_ch7017.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ch7017_read |
|
1 |
18 |
89 |
3 |
| ch7017_write |
|
1 |
11 |
71 |
3 |
| ch7017_init |
|
6 |
36 |
159 |
2 |
| ch7017_detect |
|
1 |
4 |
12 |
1 |
| ch7017_mode_valid |
|
2 |
7 |
28 |
2 |
| ch7017_mode_set |
|
3 |
64 |
388 |
3 |
| ch7017_dpms |
|
2 |
19 |
78 |
2 |
| ch7017_get_hw_state |
|
2 |
9 |
35 |
1 |
| ch7017_dump_regs |
|
1 |
13 |
57 |
1 |
| ch7017_destroy |
|
2 |
8 |
35 |
1 |
| Source file: ./sys/dev/pci/drm/i915/intel_dsi_pll.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dsi_pixel_format_bpp |
|
5 |
18 |
51 |
1 |
| dsi_rr_formula |
|
8 |
47 |
309 |
5 |
| dsi_clk_from_pclk |
|
1 |
7 |
38 |
3 |
| dsi_calc_mnp |
|
9 |
42 |
254 |
3 |
| vlv_configure_dsi_pll |
|
4 |
24 |
169 |
1 |
| vlv_enable_dsi_pll |
|
2 |
20 |
118 |
1 |
| vlv_disable_dsi_pll |
|
1 |
12 |
72 |
1 |
| bxt_disable_dsi_pll |
|
2 |
12 |
71 |
1 |
| assert_bpp_mismatch |
|
1 |
7 |
31 |
2 |
| vlv_get_dsi_pclk |
|
6 |
43 |
277 |
2 |
| bxt_get_dsi_pclk |
|
4 |
24 |
135 |
2 |
| vlv_dsi_reset_clocks |
|
1 |
11 |
73 |
2 |
| bxt_dsi_program_clocks |
|
1 |
21 |
136 |
2 |
| bxt_configure_dsi_pll |
|
4 |
28 |
152 |
1 |
| bxt_enable_dsi_pll |
|
4 |
28 |
162 |
1 |
| intel_enable_dsi_pll |
|
3 |
8 |
45 |
1 |
| intel_disable_dsi_pll |
|
3 |
8 |
45 |
1 |
| bxt_dsi_reset_clocks |
|
1 |
13 |
96 |
2 |
| intel_dsi_reset_clocks |
|
3 |
8 |
53 |
2 |
| Source file: ./sys/dev/pci/drm/i915/intel_mocs.h |
| Source file: ./sys/dev/pci/drm/i915/i915_devlist.h |
| Source file: ./sys/dev/pci/drm/i915/i915_gem_batch_pool.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| i915_gem_batch_pool_init |
|
2 |
8 |
52 |
2 |
| i915_gem_batch_pool_fini |
|
3 |
15 |
99 |
1 |
| i915_gem_batch_pool_get |
|
8 |
39 |
235 |
2 |
| Source file: ./sys/dev/pci/drm/ttm/ttm_lock.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ttm_lock_set_kill |
|
2 |
7 |
31 |
3 |
| Source file: ./sys/dev/pci/drm/i915/i915_gem_gtt.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| i915_pte_index |
|
1 |
5 |
31 |
2 |
| i915_pte_count |
|
2 |
12 |
96 |
3 |
| i915_pde_index |
|
1 |
4 |
20 |
2 |
| gen6_pte_index |
|
1 |
4 |
15 |
1 |
| gen6_pte_count |
|
1 |
4 |
20 |
2 |
| gen6_pde_index |
|
1 |
4 |
15 |
1 |
| gen8_pte_index |
|
1 |
4 |
15 |
1 |
| gen8_pde_index |
|
1 |
4 |
15 |
1 |
| gen8_pdpe_index |
|
1 |
4 |
17 |
1 |
| gen8_pml4e_index |
|
1 |
4 |
17 |
1 |
| gen8_pte_count |
|
1 |
4 |
20 |
2 |
| i915_page_dir_dma_addr |
|
2 |
6 |
47 |
2 |
| i915_ppgtt_get |
|
2 |
5 |
21 |
1 |
| i915_ppgtt_put |
|
2 |
5 |
23 |
1 |
| i915_ggtt_view_equal |
|
5 |
11 |
76 |
2 |
| Source file: ./sys/dev/pci/drm/ttm/ttm_module.h |
| Source file: ./sys/dev/pci/drm/ttm/ttm_object.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ttm_object_file_ref |
|
1 |
5 |
20 |
1 |
| ttm_object_file_destroy |
|
1 |
6 |
29 |
1 |
| ttm_object_file_unref |
|
1 |
6 |
32 |
1 |
| ttm_base_object_init |
|
3 |
35 |
228 |
6 |
| ttm_release_base |
|
2 |
13 |
91 |
1 |
| ttm_base_object_unref |
|
1 |
6 |
32 |
1 |
| ttm_base_object_lookup |
|
6 |
23 |
147 |
2 |
| ttm_ref_object_add |
|
8 |
52 |
366 |
4 |
| ttm_ref_object_release |
|
3 |
19 |
154 |
1 |
| ttm_ref_object_base_unref |
|
2 |
18 |
119 |
3 |
| ttm_object_file_release |
|
3 |
18 |
123 |
1 |
| ttm_object_file_init |
|
5 |
27 |
166 |
2 |
| ttm_object_device_init |
|
3 |
17 |
102 |
2 |
| ttm_object_device_release |
|
1 |
9 |
51 |
1 |
| Source file: ./sys/dev/pci/drm/ttm/ttm_execbuf_util.h |
| Source file: ./sys/dev/pci/drm/ttm/ttm_memory.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ttm_mem_init_shrink |
|
1 |
5 |
26 |
2 |
| ttm_mem_register_shrink |
|
2 |
12 |
61 |
2 |
| ttm_mem_unregister_shrink |
|
1 |
8 |
45 |
2 |
| Source file: ./sys/dev/pci/drm/i915/i915_drv.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bus_space_read_8 |
|
1 |
7 |
54 |
3 |
| bus_space_write_8 |
|
1 |
6 |
43 |
4 |
| yesno |
|
2 |
4 |
14 |
1 |
| skl_ddb_entry_size |
|
1 |
4 |
19 |
1 |
| skl_ddb_entry_equal |
|
3 |
7 |
40 |
2 |
| to_i915 |
|
1 |
4 |
15 |
1 |
| dev_to_i915 |
|
1 |
4 |
18 |
1 |
| guc_to_i915 |
|
1 |
4 |
20 |
1 |
| i915_gem_request_get_seqno |
|
2 |
4 |
18 |
1 |
| i915_gem_request_get_ring |
|
2 |
4 |
18 |
1 |
| i915_gem_request_reference |
|
2 |
6 |
24 |
1 |
| i915_gem_request_unreference |
|
1 |
5 |
35 |
1 |
| i915_gem_request_unreference__unlocked |
|
3 |
9 |
54 |
1 |
| i915_gem_request_assign |
|
3 |
9 |
39 |
2 |
| intel_vgpu_active |
|
2 |
5 |
22 |
1 |
| __sg_page_count |
|
1 |
4 |
17 |
1 |
| i915_gem_object_get_page |
|
5 |
15 |
150 |
2 |
| i915_gem_object_get_page |
|
4 |
13 |
122 |
2 |
| i915_gem_object_pin_pages |
|
1 |
5 |
23 |
1 |
| i915_gem_object_unpin_pages |
|
1 |
5 |
23 |
1 |
| i915_seqno_passed |
|
1 |
4 |
22 |
2 |
| i915_gem_request_started |
|
1 |
6 |
38 |
2 |
| i915_gem_request_completed |
|
1 |
6 |
38 |
2 |
| i915_reset_in_progress |
|
1 |
5 |
27 |
1 |
| i915_terminally_wedged |
|
1 |
4 |
20 |
1 |
| i915_reset_count |
|
1 |
4 |
28 |
1 |
| i915_stop_ring_allow_ban |
|
2 |
5 |
26 |
1 |
| i915_stop_ring_allow_warn |
|
2 |
5 |
26 |
1 |
| i915_gem_obj_ggtt_offset |
|
1 |
4 |
18 |
1 |
| i915_gem_obj_to_ggtt |
|
1 |
4 |
18 |
1 |
| i915_is_ggtt |
|
1 |
6 |
39 |
1 |
| i915_vm_to_ppgtt |
|
1 |
5 |
28 |
1 |
| i915_gem_obj_ggtt_bound |
|
1 |
4 |
18 |
1 |
| i915_gem_obj_ggtt_size |
|
1 |
4 |
20 |
1 |
| i915_gem_obj_ggtt_pin |
|
1 |
7 |
32 |
3 |
| i915_gem_object_ggtt_unbind |
|
1 |
4 |
18 |
1 |
| i915_gem_object_ggtt_unpin |
|
1 |
4 |
17 |
1 |
| i915_gem_context_reference |
|
1 |
4 |
17 |
1 |
| i915_gem_context_unreference |
|
1 |
4 |
19 |
1 |
| i915_gem_context_is_default |
|
1 |
4 |
17 |
1 |
| i915_gem_chipset_flush |
|
2 |
5 |
24 |
1 |
| i915_gem_object_needs_bit17_swizzle |
|
2 |
6 |
37 |
1 |
| i915_debugfs_connector_add |
|
1 |
2 |
12 |
1 |
| intel_display_crc_init |
|
1 |
1 |
9 |
1 |
| i915_error_state_buf_release |
|
1 |
5 |
16 |
1 |
| intel_gmbus_is_forced_bit |
|
1 |
4 |
22 |
1 |
| intel_opregion_setup |
|
1 |
1 |
12 |
1 |
| intel_opregion_init |
|
1 |
1 |
11 |
1 |
| intel_opregion_fini |
|
1 |
1 |
11 |
1 |
| intel_opregion_asle_intr |
|
1 |
1 |
11 |
1 |
| intel_opregion_notify_encoder |
|
1 |
4 |
15 |
2 |
| intel_opregion_notify_adapter |
|
1 |
4 |
15 |
2 |
| intel_register_dsm_handler |
|
1 |
1 |
8 |
1 |
| intel_unregister_dsm_handler |
|
1 |
1 |
8 |
1 |
| i915_vgacntrl_reg |
|
3 |
9 |
38 |
1 |
| to_user_ptr |
|
1 |
4 |
18 |
1 |
| msecs_to_jiffies_timeout |
|
1 |
5 |
31 |
1 |
| nsecs_to_jiffies_timeout |
|
1 |
4 |
23 |
1 |
| timespec_to_jiffies_timeout |
|
1 |
5 |
32 |
1 |
| wait_remaining_ms_from_jiffies |
|
3 |
13 |
60 |
2 |
| wait_remaining_ms_from_jiffies |
|
3 |
16 |
80 |
2 |
| i915_trace_irq_get |
|
3 |
6 |
39 |
2 |
| Source file: ./sys/dev/pci/drm/ttm/ttm_bo_vm.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ttm_bo_vm_fault |
|
26 |
126 |
841 |
8 |
| ttm_bo_vm_reference |
|
1 |
7 |
34 |
1 |
| ttm_bo_vm_detach |
|
1 |
6 |
32 |
1 |
| ttm_bo_vm_lookup |
|
4 |
18 |
108 |
3 |
| ttm_bo_mmap |
|
6 |
27 |
165 |
3 |
| ttm_fbdev_mmap |
|
2 |
9 |
55 |
2 |
| ttm_bo_io |
|
11 |
72 |
428 |
7 |
| ttm_bo_fbdev_io |
|
8 |
52 |
302 |
6 |
| Source file: ./sys/dev/pci/drm/ttm/ttm_module.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ttm_drm_class_device_release |
|
1 |
5 |
23 |
1 |
| ttm_get_kobj |
|
1 |
6 |
26 |
1 |
| ttm_init |
|
3 |
16 |
81 |
1 |
| ttm_exit |
|
1 |
5 |
25 |
1 |
| Source file: ./sys/dev/pci/drm/ttm/ttm_lock.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ttm_lock_init |
|
1 |
9 |
51 |
1 |
| ttm_read_unlock |
|
2 |
7 |
42 |
1 |
| __ttm_read_lock |
|
4 |
16 |
91 |
1 |
| ttm_read_lock |
|
3 |
12 |
62 |
2 |
| __ttm_read_trylock |
|
5 |
20 |
121 |
2 |
| ttm_read_trylock |
|
5 |
17 |
97 |
2 |
| ttm_write_unlock |
|
1 |
7 |
39 |
1 |
| __ttm_write_lock |
|
4 |
19 |
114 |
1 |
| ttm_write_lock |
|
4 |
18 |
105 |
2 |
| ttm_write_lock_downgrade |
|
1 |
7 |
39 |
1 |
| __ttm_vt_unlock |
|
2 |
11 |
66 |
1 |
| ttm_vt_lock_remove |
|
1 |
9 |
54 |
1 |
| __ttm_vt_lock |
|
2 |
14 |
68 |
1 |
| ttm_vt_lock |
|
5 |
27 |
153 |
3 |
| ttm_vt_unlock |
|
1 |
5 |
27 |
1 |
| ttm_suspend_unlock |
|
1 |
7 |
39 |
1 |
| __ttm_suspend_lock |
|
2 |
14 |
68 |
1 |
| ttm_suspend_lock |
|
2 |
5 |
28 |
1 |
| Source file: ./sys/dev/pci/drm/ttm/ttm_bo_manager.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ttm_bo_man_get_node |
|
4 |
32 |
192 |
4 |
| ttm_bo_man_put_node |
|
2 |
12 |
72 |
2 |
| ttm_bo_man_init |
|
2 |
12 |
71 |
2 |
| ttm_bo_man_takedown |
|
2 |
15 |
89 |
1 |
| ttm_bo_man_debug |
|
2 |
9 |
61 |
2 |
| Source file: ./sys/dev/pci/drm/ttm/ttm_execbuf_util.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ttm_eu_backoff_reservation_locked |
|
3 |
16 |
85 |
1 |
| ttm_eu_del_from_lru_locked |
|
3 |
13 |
66 |
1 |
| ttm_eu_list_ref_sub |
|
2 |
11 |
58 |
1 |
| ttm_eu_wait_unreserved_locked |
|
2 |
13 |
73 |
2 |
| ttm_eu_backoff_reservation |
|
2 |
12 |
69 |
1 |
| ttm_eu_reserve_buffers |
|
8 |
60 |
329 |
1 |
| ttm_eu_fence_buffer_objects |
|
3 |
29 |
183 |
2 |
| Source file: ./sys/dev/pci/drm/ttm/ttm_bo_driver.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ttm_flag_masked |
|
1 |
5 |
30 |
3 |
| Source file: ./sys/dev/pci/drm/ttm/ttm_bo_util.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ttm_bo_free_old_node |
|
1 |
4 |
19 |
1 |
| ttm_bo_move_ttm |
|
5 |
26 |
149 |
4 |
| ttm_mem_io_lock |
|
3 |
9 |
48 |
2 |
| ttm_mem_io_unlock |
|
2 |
6 |
28 |
1 |
| ttm_mem_io_evict |
|
3 |
12 |
64 |
1 |
| ttm_mem_io_reserve |
|
7 |
21 |
129 |
2 |
| ttm_mem_io_free |
|
5 |
11 |
74 |
2 |
| ttm_mem_io_reserve_vm |
|
4 |
17 |
103 |
1 |
| ttm_mem_io_free_vm |
|
2 |
9 |
54 |
1 |
| ttm_mem_reg_ioremap |
|
7 |
36 |
231 |
3 |
| ttm_mem_reg_iounmap |
|
3 |
11 |
88 |
3 |
| ttm_copy_io_page |
|
2 |
11 |
98 |
3 |
| ttm_copy_io_ttm_page |
|
5 |
22 |
146 |
4 |
| ttm_copy_ttm_io_page |
|
5 |
22 |
146 |
4 |
| ttm_bo_move_memcpy |
|
19 |
73 |
450 |
4 |
| ttm_transfered_destroy |
|
1 |
4 |
14 |
1 |
| ttm_buffer_object_transfer |
|
3 |
30 |
202 |
2 |
| ttm_io_prot |
|
3 |
7 |
23 |
2 |
| ttm_bo_ioremap |
|
5 |
28 |
197 |
4 |
| ttm_bo_kmap_ttm |
|
7 |
28 |
189 |
4 |
| ttm_bo_kmap |
|
8 |
30 |
204 |
4 |
| ttm_bo_kunmap |
|
6 |
29 |
170 |
1 |
| ttm_bo_move_accel_cleanup |
|
10 |
52 |
311 |
5 |
| Source file: ./sys/dev/pci/drm/ttm/ttm_memory.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ttm_mem_zone_kobj_release |
|
1 |
8 |
50 |
1 |
| ttm_mem_zone_show |
|
6 |
22 |
147 |
3 |
| ttm_mem_zone_store |
|
8 |
32 |
194 |
4 |
| ttm_mem_global_kobj_release |
|
1 |
6 |
29 |
1 |
| ttm_zones_above_swap_target |
|
6 |
20 |
110 |
3 |
| ttm_shrink |
|
4 |
20 |
114 |
3 |
| ttm_shrink_work |
|
1 |
5 |
24 |
1 |
| ttm_mem_init_kernel_zone |
|
3 |
24 |
174 |
2 |
| ttm_mem_init_highmem_zone |
|
4 |
27 |
187 |
2 |
| ttm_mem_init_dma32_zone |
|
4 |
29 |
210 |
2 |
| ttm_mem_global_init |
|
9 |
38 |
271 |
1 |
| ttm_mem_global_release |
|
2 |
16 |
97 |
1 |
| ttm_check_swapping |
|
5 |
21 |
119 |
1 |
| ttm_mem_global_free_zone |
|
4 |
15 |
84 |
3 |
| ttm_mem_global_free |
|
1 |
5 |
22 |
2 |
| ttm_mem_global_reserve |
|
10 |
32 |
180 |
4 |
| ttm_mem_global_alloc_zone |
|
4 |
18 |
91 |
5 |
| ttm_mem_global_alloc |
|
1 |
6 |
32 |
4 |
| ttm_mem_global_alloc_page |
|
6 |
12 |
79 |
4 |
| ttm_mem_global_free_page |
|
6 |
9 |
68 |
2 |
| ttm_round_pot |
|
4 |
14 |
62 |
1 |
| Source file: ./sys/dev/pci/drm/ttm/ttm_object.h |
| Source file: ./sys/dev/pci/drm/ttm/ttm_bo_api.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ttm_bo_reference |
|
1 |
5 |
20 |
1 |
| ttm_kmap_obj_virtual |
|
1 |
6 |
31 |
2 |
| ttm_bo_is_reserved |
|
1 |
4 |
18 |
1 |
| Source file: ./sys/dev/pci/drm/ttm/ttm_page_alloc.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ttm_dma_page_alloc_init |
|
1 |
5 |
16 |
2 |
| ttm_dma_page_alloc_fini |
|
1 |
1 |
8 |
1 |
| ttm_dma_page_alloc_debugfs |
|
1 |
4 |
16 |
2 |
| Source file: ./sys/dev/pci/drm/ttm/ttm_agp_backend.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ttm_agp_bind |
|
3 |
21 |
175 |
2 |
| ttm_agp_unbind |
|
3 |
18 |
113 |
1 |
| ttm_agp_destroy |
|
2 |
8 |
45 |
1 |
| ttm_agp_tt_create |
|
3 |
17 |
102 |
5 |
| ttm_agp_tt_populate |
|
2 |
6 |
26 |
1 |
| ttm_agp_tt_unpopulate |
|
1 |
4 |
14 |
1 |
| Source file: ./sys/dev/pci/drm/ttm/ttm_tt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ttm_tt_alloc_page_directory |
|
1 |
4 |
26 |
1 |
| ttm_dma_tt_alloc_page_directory |
|
1 |
6 |
51 |
1 |
| ttm_tt_set_page_caching |
|
6 |
18 |
97 |
3 |
| ttm_tt_set_page_caching |
|
1 |
6 |
20 |
3 |
| ttm_tt_set_caching |
|
10 |
37 |
207 |
2 |
| ttm_tt_set_placement_caching |
|
3 |
11 |
50 |
2 |
| ttm_tt_destroy |
|
6 |
16 |
93 |
1 |
| ttm_tt_init |
|
2 |
20 |
116 |
5 |
| ttm_tt_fini |
|
1 |
5 |
22 |
1 |
| ttm_dma_tt_init |
|
3 |
22 |
139 |
5 |
| ttm_dma_tt_fini |
|
1 |
8 |
45 |
1 |
| ttm_tt_unbind |
|
2 |
9 |
44 |
1 |
| ttm_tt_bind |
|
5 |
16 |
93 |
2 |
| ttm_tt_swapin |
|
5 |
30 |
190 |
1 |
| ttm_tt_swapout |
|
11 |
43 |
279 |
2 |
| Source file: ./sys/dev/pci/drm/ttm/ttm_placement.h |
| Source file: ./sys/dev/pci/drm/radeon/rs600d.h |
| Source file: ./sys/dev/pci/drm/ttm/ttm_page_alloc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ttm_uvm_alloc_page |
|
2 |
12 |
61 |
1 |
| ttm_uvm_free_page |
|
2 |
7 |
45 |
1 |
| ttm_pool_kobj_release |
|
1 |
6 |
29 |
1 |
| ttm_pool_store |
|
7 |
29 |
186 |
4 |
| ttm_pool_show |
|
4 |
15 |
108 |
3 |
| set_pages_array_wb |
|
4 |
8 |
48 |
2 |
| set_pages_array_wc |
|
4 |
8 |
48 |
2 |
| set_pages_array_uc |
|
4 |
9 |
50 |
2 |
| ttm_get_pool |
|
4 |
14 |
57 |
2 |
| ttm_pages_put |
|
3 |
8 |
54 |
2 |
| ttm_pool_update_free_locked |
|
1 |
6 |
24 |
2 |
| ttm_page_pool_free |
|
12 |
53 |
305 |
2 |
| ttm_pool_get_num_unused_pages |
|
2 |
8 |
41 |
1 |
| ttm_pool_mm_shrink |
|
3 |
18 |
113 |
2 |
| ttm_pool_mm_shrink_init |
|
2 |
6 |
34 |
1 |
| ttm_pool_mm_shrink_fini |
|
2 |
5 |
24 |
1 |
| ttm_set_pages_caching |
|
5 |
20 |
84 |
3 |
| ttm_handle_caching_state_failure |
|
2 |
10 |
62 |
5 |
| ttm_alloc_new_pages |
|
12 |
57 |
293 |
5 |
| ttm_page_pool_fill_locked |
|
5 |
34 |
210 |
5 |
| ttm_page_pool_get_pages |
|
3 |
28 |
166 |
5 |
| ttm_put_pages |
|
9 |
33 |
209 |
4 |
| ttm_get_pages |
|
10 |
57 |
313 |
4 |
| ttm_page_pool_init_locked |
|
1 |
10 |
62 |
3 |
| ttm_page_alloc_init |
|
2 |
25 |
164 |
2 |
| ttm_page_alloc_fini |
|
2 |
10 |
57 |
1 |
| ttm_pool_populate |
|
7 |
32 |
180 |
1 |
| ttm_pool_unpopulate |
|
3 |
14 |
83 |
1 |
| ttm_page_alloc_debugfs |
|
3 |
19 |
132 |
2 |
| Source file: ./sys/dev/pci/drm/radeon/r300d.h |
| Source file: ./sys/dev/pci/drm/ttm/ttm_bo.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ttm_get_kobj |
|
1 |
4 |
11 |
1 |
| ttm_mem_type_from_flags |
|
3 |
10 |
52 |
2 |
| ttm_mem_type_debug |
|
2 |
13 |
108 |
2 |
| ttm_bo_mem_space_debug |
|
3 |
17 |
115 |
2 |
| ttm_bo_global_show |
|
1 |
9 |
55 |
3 |
| ttm_bo_type_flags |
|
1 |
4 |
15 |
1 |
| ttm_bo_release_list |
|
3 |
23 |
176 |
1 |
| ttm_bo_wait_unreserved |
|
4 |
11 |
65 |
2 |
| ttm_bo_add_to_lru |
|
3 |
16 |
127 |
1 |
| ttm_bo_del_from_lru |
|
3 |
13 |
65 |
1 |
| ttm_bo_reserve_locked |
|
11 |
33 |
213 |
5 |
| ttm_bo_ref_bug |
|
1 |
4 |
13 |
1 |
| ttm_bo_list_ref_sub |
|
2 |
6 |
33 |
3 |
| ttm_bo_reserve |
|
2 |
16 |
97 |
5 |
| ttm_bo_unreserve_locked |
|
1 |
6 |
32 |
1 |
| ttm_bo_unreserve |
|
1 |
7 |
39 |
1 |
| ttm_bo_add_ttm |
|
9 |
37 |
210 |
2 |
| ttm_bo_handle_move_mem |
|
25 |
88 |
616 |
5 |
| ttm_bo_cleanup_memtype_use |
|
3 |
14 |
92 |
1 |
| ttm_bo_cleanup_refs_or_queue |
|
7 |
37 |
268 |
1 |
| ttm_bo_cleanup_refs_and_unlock |
|
8 |
50 |
334 |
3 |
| ttm_bo_delayed_delete |
|
9 |
39 |
244 |
2 |
| ttm_bo_delayed_workqueue |
|
3 |
9 |
61 |
1 |
| ttm_bo_release |
|
1 |
13 |
95 |
1 |
| ttm_bo_unref |
|
1 |
6 |
32 |
1 |
| ttm_bo_lock_delayed_workqueue |
|
1 |
4 |
18 |
1 |
| ttm_bo_unlock_delayed_workqueue |
|
3 |
6 |
40 |
2 |
| ttm_bo_evict |
|
7 |
48 |
273 |
3 |
| ttm_mem_evict_first |
|
4 |
35 |
218 |
4 |
| ttm_bo_mem_put |
|
2 |
6 |
51 |
2 |
| ttm_bo_mem_force_space |
|
6 |
26 |
147 |
6 |
| ttm_bo_select_caching |
|
6 |
18 |
114 |
3 |
| ttm_bo_mt_compatible |
|
3 |
14 |
75 |
4 |
| ttm_bo_mem_space |
|
22 |
84 |
487 |
5 |
| ttm_bo_move_buffer |
|
5 |
30 |
188 |
4 |
| ttm_bo_mem_compat |
|
11 |
23 |
169 |
3 |
| ttm_bo_validate |
|
10 |
28 |
165 |
4 |
| ttm_bo_check_placement |
|
3 |
7 |
48 |
2 |
| ttm_bo_init |
|
10 |
83 |
518 |
11 |
| ttm_bo_acc_size |
|
1 |
11 |
68 |
3 |
| ttm_bo_dma_acc_size |
|
1 |
12 |
80 |
3 |
| ttm_bo_create |
|
3 |
23 |
134 |
8 |
| ttm_bo_force_list_clean |
|
4 |
22 |
124 |
3 |
| ttm_bo_clean_mm |
|
4 |
23 |
120 |
2 |
| ttm_bo_evict_mm |
|
4 |
13 |
77 |
2 |
| ttm_bo_init_mm |
|
4 |
28 |
173 |
3 |
| ttm_bo_global_kobj_release |
|
1 |
8 |
56 |
1 |
| ttm_bo_global_release |
|
1 |
6 |
34 |
1 |
| ttm_bo_global_init |
|
4 |
35 |
238 |
1 |
| ttm_bo_device_release |
|
8 |
33 |
203 |
1 |
| ttm_bo_device_init |
|
2 |
28 |
177 |
5 |
| ttm_mem_reg_is_pci |
|
5 |
13 |
78 |
2 |
| ttm_bo_unmap_virtual_locked |
|
7 |
27 |
184 |
1 |
| ttm_bo_unmap_virtual |
|
1 |
8 |
52 |
1 |
| ttm_bo_setup_vm |
|
1 |
6 |
38 |
1 |
| ttm_bo_wait |
|
7 |
48 |
309 |
4 |
| ttm_bo_synccpu_write_grab |
|
3 |
15 |
107 |
2 |
| ttm_bo_synccpu_write_release |
|
1 |
4 |
17 |
1 |
| ttm_bo_swapout |
|
8 |
53 |
367 |
1 |
| ttm_bo_swapout_all |
|
2 |
5 |
24 |
1 |
| Source file: ./sys/dev/pci/drm/radeon/rv515.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rv515_debugfs |
|
4 |
12 |
51 |
1 |
| rv515_ring_start |
|
2 |
66 |
542 |
2 |
| rv515_mc_wait_for_idle |
|
3 |
13 |
59 |
1 |
| rv515_vga_render_disable |
|
1 |
5 |
21 |
1 |
| rv515_gpu_init |
|
4 |
24 |
131 |
1 |
| rv515_vram_get_type |
|
3 |
18 |
81 |
1 |
| rv515_mc_init |
|
2 |
10 |
65 |
1 |
| rv515_mc_rreg |
|
1 |
8 |
45 |
2 |
| rv515_mc_wreg |
|
1 |
6 |
46 |
3 |
| rv515_debugfs_pipes_info |
|
1 |
16 |
117 |
2 |
| rv515_debugfs_ga_info |
|
1 |
13 |
90 |
2 |
| rv515_debugfs_pipes_info_init |
|
2 |
5 |
22 |
1 |
| rv515_debugfs_ga_info_init |
|
2 |
5 |
22 |
1 |
| rv515_mc_stop |
|
14 |
66 |
481 |
2 |
| rv515_mc_resume |
|
18 |
78 |
548 |
2 |
| rv515_mc_program |
|
3 |
26 |
196 |
1 |
| rv515_clock_startup |
|
3 |
11 |
70 |
1 |
| rv515_startup |
|
9 |
38 |
198 |
1 |
| rv515_resume |
|
4 |
21 |
105 |
1 |
| rv515_suspend |
|
2 |
9 |
40 |
1 |
| rv515_set_safe_registers |
|
1 |
5 |
32 |
1 |
| rv515_fini |
|
1 |
15 |
72 |
1 |
| rv515_init |
|
13 |
59 |
286 |
1 |
| atom_rv515_force_tv_scaler |
|
1 |
228 |
1621 |
2 |
| rv515_crtc_bandwidth_compute |
|
9 |
83 |
789 |
3 |
| rv515_bandwidth_avivo_update |
|
26 |
134 |
1184 |
1 |
| rv515_bandwidth_update |
|
7 |
23 |
166 |
1 |
| Source file: ./sys/dev/pci/drm/radeon/atombios_dp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| radeon_atom_copy_swap |
|
7 |
24 |
214 |
4 |
| radeon_process_aux_ch |
|
8 |
48 |
351 |
7 |
| radeon_dp_aux_transfer_atom |
|
13 |
50 |
348 |
2 |
| radeon_dp_aux_init |
|
4 |
20 |
141 |
1 |
| dp_get_adjust_train |
|
7 |
29 |
182 |
3 |
| convert_bpc_to_bpp |
|
2 |
7 |
22 |
1 |
| radeon_dp_get_dp_link_config |
|
8 |
34 |
226 |
5 |
| radeon_dp_encoder_service |
|
1 |
15 |
102 |
5 |
| radeon_dp_getsinktype |
|
1 |
7 |
49 |
1 |
| radeon_dp_probe_oui |
|
4 |
13 |
120 |
1 |
| radeon_dp_getdpcd |
|
3 |
19 |
120 |
1 |
| radeon_dp_get_panel_mode |
|
11 |
35 |
198 |
2 |
| radeon_dp_set_link_config |
|
5 |
21 |
111 |
2 |
| radeon_dp_mode_valid_helper |
|
7 |
24 |
124 |
2 |
| radeon_dp_needs_link_train |
|
3 |
11 |
60 |
1 |
| radeon_dp_set_rx_power_state |
|
3 |
14 |
76 |
2 |
| radeon_dp_update_vs_emph |
|
1 |
8 |
44 |
1 |
| radeon_dp_set_tp |
|
8 |
30 |
134 |
2 |
| radeon_dp_link_train_init |
|
6 |
31 |
204 |
1 |
| radeon_dp_link_train_finish |
|
3 |
14 |
73 |
1 |
| radeon_dp_link_train_cr |
|
10 |
54 |
296 |
1 |
| radeon_dp_link_train_ce |
|
7 |
39 |
193 |
1 |
| radeon_dp_link_train |
|
16 |
64 |
381 |
2 |
| Source file: ./sys/dev/pci/drm/radeon/radeon_reg.h |
| Source file: ./sys/dev/pci/drm/i915/intel_display.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| valleyview_get_vco |
|
1 |
9 |
61 |
1 |
| vlv_get_cck_clock_hpll |
|
2 |
16 |
106 |
3 |
| intel_pch_rawclk |
|
1 |
6 |
35 |
1 |
| intel_hrawclk |
|
10 |
27 |
96 |
1 |
| intel_update_czclk |
|
2 |
8 |
41 |
1 |
| intel_fdi_link_freq |
|
2 |
8 |
43 |
1 |
| needs_modeset |
|
1 |
4 |
15 |
1 |
| intel_pipe_has_type |
|
2 |
9 |
54 |
2 |
| intel_pipe_will_have_type |
|
3 |
19 |
105 |
2 |
| intel_ironlake_limit |
|
5 |
20 |
96 |
2 |
| intel_g4x_limit |
|
6 |
18 |
106 |
1 |
| intel_limit |
|
12 |
34 |
208 |
2 |
| pnv_calc_dpll_params |
|
3 |
10 |
90 |
2 |
| i9xx_dpll_compute_m |
|
1 |
4 |
28 |
1 |
| i9xx_calc_dpll_params |
|
3 |
10 |
93 |
2 |
| vlv_calc_dpll_params |
|
3 |
10 |
94 |
2 |
| chv_calc_dpll_params |
|
3 |
11 |
100 |
2 |
| intel_PLL_is_valid |
|
23 |
27 |
289 |
3 |
| i9xx_select_p2_div |
|
4 |
17 |
92 |
3 |
| i9xx_find_best_dpll |
|
10 |
39 |
278 |
6 |
| pnv_find_best_dpll |
|
9 |
37 |
266 |
6 |
| g4x_find_best_dpll |
|
7 |
38 |
282 |
6 |
| vlv_PLL_is_optimal |
|
5 |
21 |
117 |
6 |
| vlv_find_best_dpll |
|
8 |
40 |
321 |
6 |
| chv_find_best_dpll |
|
7 |
39 |
292 |
6 |
| bxt_find_best_dpll |
|
1 |
7 |
47 |
3 |
| intel_crtc_active |
|
3 |
6 |
42 |
1 |
| intel_pipe_to_cpu_transcoder |
|
1 |
7 |
42 |
2 |
| pipe_dsl_stopped |
|
2 |
15 |
82 |
2 |
| intel_wait_for_pipe_off |
|
4 |
16 |
117 |
1 |
| state_string |
|
2 |
4 |
14 |
1 |
| assert_pll |
|
1 |
11 |
61 |
3 |
| assert_dsi_pll |
|
1 |
12 |
68 |
2 |
| intel_crtc_to_shared_dpll |
|
2 |
7 |
48 |
1 |
| assert_shared_dpll |
|
2 |
14 |
78 |
3 |
| assert_fdi_tx |
|
2 |
17 |
105 |
3 |
| assert_fdi_rx |
|
1 |
11 |
61 |
3 |
| assert_fdi_tx_pll_enabled |
|
3 |
11 |
64 |
2 |
| assert_fdi_rx_pll |
|
1 |
11 |
61 |
3 |
| assert_panel_unlocked |
|
10 |
33 |
180 |
2 |
| assert_cursor |
|
3 |
13 |
89 |
3 |
| assert_pipe |
|
6 |
20 |
127 |
3 |
| assert_plane |
|
1 |
11 |
66 |
3 |
| assert_planes_disabled |
|
3 |
21 |
122 |
2 |
| assert_sprites_disabled |
|
5 |
31 |
219 |
2 |
| assert_vblank_disabled |
|
2 |
5 |
26 |
1 |
| ibx_assert_pch_refclk_enabled |
|
2 |
10 |
66 |
1 |
| assert_pch_transcoder_disabled |
|
1 |
11 |
51 |
2 |
| dp_pipe_enabled |
|
7 |
19 |
124 |
4 |
| hdmi_pipe_enabled |
|
7 |
17 |
106 |
3 |
| lvds_pipe_enabled |
|
5 |
14 |
78 |
3 |
| adpa_pipe_enabled |
|
5 |
14 |
78 |
3 |
| assert_pch_dp_disabled |
|
3 |
11 |
76 |
4 |
| assert_pch_hdmi_disabled |
|
3 |
11 |
71 |
3 |
| assert_pch_ports_disabled |
|
1 |
19 |
128 |
2 |
| vlv_enable_pll |
|
3 |
28 |
215 |
2 |
| chv_enable_pll |
|
2 |
22 |
193 |
2 |
| intel_num_dvo_pipes |
|
2 |
9 |
45 |
1 |
| i9xx_enable_pll |
|
6 |
35 |
253 |
1 |
| i9xx_disable_pll |
|
8 |
20 |
148 |
1 |
| vlv_disable_pll |
|
2 |
10 |
57 |
2 |
| chv_disable_pll |
|
2 |
17 |
116 |
2 |
| vlv_wait_port_ready |
|
5 |
27 |
129 |
3 |
| intel_prepare_shared_dpll |
|
3 |
15 |
102 |
1 |
| intel_enable_shared_dpll |
|
4 |
23 |
154 |
1 |
| intel_disable_shared_dpll |
|
6 |
27 |
191 |
1 |
| ironlake_enable_pch_transcoder |
|
8 |
41 |
254 |
2 |
| lpt_enable_pch_transcoder |
|
3 |
21 |
130 |
2 |
| ironlake_disable_pch_transcoder |
|
3 |
21 |
136 |
2 |
| lpt_disable_pch_transcoder |
|
2 |
12 |
77 |
1 |
| intel_enable_pipe |
|
9 |
40 |
237 |
1 |
| intel_disable_pipe |
|
8 |
24 |
169 |
1 |
| need_vtd_wa |
|
4 |
6 |
28 |
1 |
| intel_tile_height |
|
11 |
43 |
150 |
4 |
| intel_fb_align_height |
|
1 |
6 |
36 |
4 |
| intel_fill_fb_ggtt_view |
|
4 |
34 |
273 |
3 |
| intel_linear_alignment |
|
6 |
12 |
69 |
1 |
| intel_pin_and_fence_fb_obj |
|
14 |
65 |
349 |
5 |
| intel_unpin_fb_obj |
|
2 |
13 |
88 |
2 |
| intel_gen4_compute_page_offset |
|
2 |
22 |
150 |
6 |
| i9xx_format_to_fourcc |
|
8 |
20 |
57 |
1 |
| skl_format_to_fourcc |
|
8 |
25 |
75 |
3 |
| intel_alloc_initial_plane_obj |
|
6 |
45 |
300 |
2 |
| update_state_fb |
|
4 |
10 |
67 |
1 |
| intel_find_initial_plane_obj |
|
8 |
58 |
403 |
2 |
| i9xx_update_primary_plane |
|
22 |
106 |
695 |
4 |
| ironlake_update_primary_plane |
|
20 |
86 |
542 |
4 |
| intel_fb_stride_alignment |
|
7 |
23 |
91 |
3 |
| intel_plane_obj_offset |
|
4 |
21 |
122 |
3 |
| skl_detach_scaler |
|
1 |
8 |
74 |
2 |
| skl_detach_scalers |
|
3 |
10 |
62 |
1 |
| skl_plane_ctl_format |
|
13 |
34 |
113 |
1 |
| skl_plane_ctl_tiling |
|
5 |
16 |
46 |
1 |
| skl_plane_ctl_rotation |
|
5 |
16 |
59 |
1 |
| skylake_update_primary_plane |
|
7 |
87 |
756 |
4 |
| intel_pipe_set_base_atomic |
|
2 |
10 |
77 |
5 |
| intel_complete_page_flips |
|
1 |
10 |
54 |
1 |
| intel_update_primary_planes |
|
2 |
13 |
85 |
1 |
| intel_prepare_reset |
|
4 |
9 |
46 |
1 |
| intel_finish_reset |
|
5 |
21 |
121 |
1 |
| intel_finish_fb |
|
1 |
11 |
75 |
1 |
| intel_crtc_has_pending_flip |
|
3 |
14 |
97 |
1 |
| intel_update_pipe_config |
|
7 |
27 |
199 |
2 |
| intel_fdi_normal_train |
|
4 |
33 |
184 |
1 |
| ironlake_fdi_link_train |
|
7 |
70 |
423 |
1 |
| gen6_fdi_link_train |
|
14 |
108 |
611 |
1 |
| ivb_manual_fdi_link_train |
|
10 |
94 |
565 |
1 |
| ironlake_fdi_pll_enable |
|
2 |
26 |
186 |
1 |
| ironlake_fdi_pll_disable |
|
1 |
20 |
130 |
1 |
| ironlake_fdi_disable |
|
3 |
40 |
267 |
1 |
| intel_has_pending_fb_unpin |
|
3 |
12 |
57 |
1 |
| page_flip_completed |
|
2 |
16 |
104 |
1 |
| intel_crtc_wait_for_pending_flips |
|
4 |
22 |
145 |
1 |
| lpt_program_iclkip |
|
2 |
57 |
340 |
1 |
| ironlake_pch_transcoder_set_timings |
|
1 |
21 |
155 |
2 |
| cpt_set_fdi_bc_bifurcation |
|
4 |
16 |
106 |
2 |
| ivybridge_update_fdi_bc_bifurcation |
|
5 |
19 |
81 |
1 |
| ironlake_pch_enable |
|
11 |
58 |
330 |
1 |
| lpt_pch_enable |
|
1 |
11 |
73 |
1 |
| intel_get_shared_dpll |
|
12 |
65 |
464 |
2 |
| intel_shared_dpll_commit |
|
3 |
14 |
92 |
1 |
| cpt_verify_modeset |
|
3 |
12 |
84 |
2 |
| skl_update_scaler |
|
16 |
40 |
256 |
9 |
| skl_update_scaler_crtc |
|
2 |
11 |
98 |
1 |
| skl_update_scaler_plane |
|
17 |
47 |
275 |
2 |
| skylake_scaler_disable |
|
2 |
6 |
34 |
1 |
| skylake_pfit_enable |
|
3 |
22 |
172 |
1 |
| ironlake_pfit_enable |
|
4 |
15 |
122 |
1 |
| hsw_enable_ips |
|
4 |
18 |
128 |
1 |
| hsw_disable_ips |
|
4 |
19 |
137 |
1 |
| intel_crtc_load_lut |
|
10 |
36 |
226 |
1 |
| intel_crtc_dpms_overlay_disable |
|
2 |
12 |
79 |
1 |
| intel_post_enable_primary |
|
4 |
14 |
91 |
1 |
| intel_pre_disable_primary |
|
3 |
15 |
98 |
1 |
| intel_post_plane_update |
|
6 |
22 |
166 |
1 |
| intel_pre_plane_update |
|
6 |
26 |
175 |
1 |
| intel_crtc_disable_planes |
|
1 |
11 |
78 |
2 |
| ironlake_crtc_enable |
|
9 |
44 |
273 |
1 |
| hsw_crtc_supports_ips |
|
2 |
4 |
25 |
1 |
| haswell_crtc_enable |
|
17 |
68 |
421 |
1 |
| ironlake_pfit_disable |
|
3 |
11 |
83 |
2 |
| ironlake_crtc_disable |
|
6 |
37 |
234 |
1 |
| haswell_crtc_disable |
|
8 |
36 |
220 |
1 |
| i9xx_pfit_enable |
|
2 |
13 |
102 |
1 |
| port_to_power_domain |
|
6 |
18 |
54 |
1 |
| port_to_aux_power_domain |
|
6 |
18 |
54 |
1 |
| intel_display_port_power_domain |
|
8 |
23 |
112 |
1 |
| intel_display_port_aux_power_domain |
|
6 |
20 |
107 |
1 |
| get_crtc_power_domains |
|
4 |
20 |
141 |
1 |
| modeset_get_crtc_power_domains |
|
1 |
13 |
83 |
1 |
| modeset_put_power_domains |
|
1 |
7 |
30 |
2 |
| modeset_update_crtc_power_domains |
|
7 |
23 |
163 |
1 |
| intel_compute_max_dotclk |
|
6 |
13 |
84 |
1 |
| intel_update_max_cdclk |
|
12 |
35 |
217 |
1 |
| intel_update_cdclk |
|
3 |
12 |
76 |
1 |
| broxton_set_cdclk |
|
16 |
84 |
420 |
2 |
| broxton_init_cdclk |
|
3 |
19 |
110 |
1 |
| broxton_uninit_cdclk |
|
2 |
11 |
68 |
1 |
| skl_cdclk_decimal |
|
1 |
4 |
17 |
1 |
| skl_cdclk_get_vco |
|
3 |
10 |
58 |
1 |
| skl_dpll0_enable |
|
4 |
30 |
174 |
2 |
| skl_cdclk_pcu_ready |
|
2 |
10 |
62 |
1 |
| skl_cdclk_wait_for_pcu_ready |
|
3 |
10 |
46 |
1 |
| skl_set_cdclk |
|
9 |
38 |
171 |
2 |
| skl_uninit_cdclk |
|
4 |
15 |
96 |
1 |
| skl_init_cdclk |
|
3 |
18 |
117 |
1 |
| valleyview_set_cdclk |
|
7 |
46 |
296 |
2 |
| cherryview_set_cdclk |
|
6 |
30 |
175 |
2 |
| valleyview_calc_cdclk |
|
7 |
15 |
91 |
2 |
| broxton_calc_cdclk |
|
5 |
14 |
71 |
2 |
| intel_mode_max_pixclk |
|
3 |
17 |
88 |
2 |
| valleyview_modeset_calc_cdclk |
|
2 |
11 |
63 |
1 |
| broxton_modeset_calc_cdclk |
|
2 |
11 |
63 |
1 |
| vlv_program_pfi_credits |
|
4 |
21 |
105 |
1 |
| valleyview_modeset_commit_cdclk |
|
2 |
13 |
79 |
1 |
| valleyview_crtc_enable |
|
9 |
45 |
292 |
1 |
| i9xx_set_pll_dividers |
|
1 |
7 |
65 |
1 |
| i9xx_crtc_enable |
|
5 |
30 |
185 |
1 |
| i9xx_pfit_disable |
|
2 |
11 |
68 |
1 |
| i9xx_crtc_disable |
|
7 |
31 |
197 |
1 |
| intel_crtc_disable_noatomic |
|
3 |
23 |
151 |
1 |
| intel_display_suspend |
|
9 |
42 |
229 |
1 |
| intel_encoder_destroy |
|
1 |
6 |
29 |
1 |
| intel_connector_check_state |
|
7 |
28 |
173 |
1 |
| intel_connector_init |
|
2 |
9 |
45 |
1 |
| intel_connector_alloc |
|
3 |
12 |
52 |
1 |
| intel_connector_get_hw_state |
|
1 |
6 |
35 |
1 |
| pipe_required_fdi_lanes |
|
3 |
6 |
29 |
1 |
| ironlake_check_fdi_lanes |
|
15 |
61 |
324 |
3 |
| ironlake_fdi_compute_config |
|
4 |
29 |
190 |
2 |
| pipe_config_supports_ips |
|
3 |
10 |
51 |
2 |
| hsw_compute_ips_config |
|
3 |
9 |
54 |
2 |
| intel_crtc_compute_config |
|
14 |
28 |
207 |
2 |
| skylake_get_display_clock_speed |
|
11 |
38 |
168 |
1 |
| broxton_get_display_clock_speed |
|
6 |
22 |
111 |
1 |
| broadwell_get_display_clock_speed |
|
6 |
18 |
89 |
1 |
| haswell_get_display_clock_speed |
|
5 |
16 |
80 |
1 |
| valleyview_get_display_clock_speed |
|
1 |
5 |
22 |
1 |
| ilk_get_display_clock_speed |
|
1 |
4 |
12 |
1 |
| i945_get_display_clock_speed |
|
1 |
4 |
12 |
1 |
| i915_get_display_clock_speed |
|
1 |
4 |
12 |
1 |
| i9xx_misc_get_display_clock_speed |
|
1 |
4 |
12 |
1 |
| pnv_get_display_clock_speed |
|
7 |
21 |
79 |
1 |
| i915gm_get_display_clock_speed |
|
4 |
16 |
60 |
1 |
| i865_get_display_clock_speed |
|
1 |
4 |
12 |
1 |
| i85x_get_display_clock_speed |
|
10 |
23 |
95 |
1 |
| i830_get_display_clock_speed |
|
1 |
4 |
12 |
1 |
| intel_hpll_vco |
|
8 |
63 |
365 |
1 |
| gm45_get_display_clock_speed |
|
7 |
18 |
94 |
1 |
| i965gm_get_display_clock_speed |
|
5 |
30 |
177 |
1 |
| g33_get_display_clock_speed |
|
6 |
34 |
221 |
1 |
| intel_reduce_m_n_ratio |
|
3 |
8 |
38 |
2 |
| compute_m_n |
|
1 |
7 |
59 |
4 |
| intel_link_compute_m_n |
|
1 |
11 |
67 |
5 |
| intel_panel_use_ssc |
|
3 |
7 |
40 |
1 |
| i9xx_get_refclk |
|
7 |
20 |
127 |
2 |
| pnv_dpll_compute_fp |
|
1 |
4 |
26 |
1 |
| i9xx_dpll_compute_fp |
|
1 |
4 |
28 |
1 |
| i9xx_update_pll_dividers |
|
6 |
25 |
142 |
3 |
| vlv_pllb_recal_opamp |
|
1 |
20 |
144 |
2 |
| intel_pch_transcoder_set_m_n |
|
1 |
11 |
96 |
2 |
| intel_cpu_transcoder_set_m_n |
|
6 |
28 |
265 |
3 |
| intel_dp_set_m_n |
|
4 |
17 |
107 |
2 |
| vlv_compute_dpll |
|
2 |
14 |
74 |
2 |
| vlv_prepare_pll |
|
10 |
62 |
484 |
2 |
| chv_compute_dpll |
|
2 |
11 |
61 |
2 |
| chv_prepare_pll |
|
6 |
78 |
603 |
2 |
| vlv_force_pll_on |
|
2 |
20 |
122 |
3 |
| vlv_force_pll_off |
|
2 |
7 |
41 |
2 |
| i9xx_compute_dpll |
|
21 |
64 |
376 |
4 |
| i8xx_compute_dpll |
|
9 |
31 |
195 |
4 |
| intel_set_pipe_timings |
|
9 |
49 |
409 |
1 |
| intel_get_pipe_timings |
|
2 |
36 |
436 |
2 |
| intel_mode_from_pipe_config |
|
1 |
19 |
175 |
2 |
| i9xx_set_pipeconf |
|
20 |
50 |
292 |
1 |
| i9xx_crtc_compute_clock |
|
9 |
61 |
356 |
2 |
| i9xx_get_pfit_config |
|
9 |
24 |
169 |
2 |
| vlv_crtc_clock_get |
|
2 |
21 |
169 |
2 |
| i9xx_get_initial_plane_config |
|
7 |
55 |
410 |
2 |
| chv_crtc_clock_get |
|
3 |
26 |
249 |
2 |
| i9xx_get_pipe_config |
|
19 |
70 |
462 |
2 |
| ironlake_init_pch_refclk |
|
25 |
120 |
549 |
1 |
| lpt_reset_fdi_mphy |
|
3 |
16 |
90 |
1 |
| lpt_program_fdi_mphy |
|
1 |
58 |
566 |
1 |
| lpt_enable_clkout_dp |
|
8 |
30 |
199 |
3 |
| lpt_disable_clkout_dp |
|
4 |
21 |
144 |
1 |
| lpt_init_pch_refclk |
|
3 |
18 |
67 |
1 |
| intel_init_pch_refclk |
|
4 |
7 |
39 |
1 |
| ironlake_get_refclk |
|
6 |
30 |
164 |
1 |
| ironlake_set_pipeconf |
|
8 |
34 |
165 |
1 |
| intel_set_pipe_csc |
|
5 |
33 |
287 |
1 |
| haswell_set_pipeconf |
|
11 |
42 |
244 |
1 |
| ironlake_compute_clocks |
|
2 |
20 |
105 |
5 |
| ironlake_get_lanes_required |
|
1 |
5 |
34 |
3 |
| ironlake_needs_fb_cb_tune |
|
1 |
4 |
24 |
2 |
| ironlake_compute_dpll |
|
24 |
77 |
425 |
5 |
| ironlake_crtc_compute_clock |
|
12 |
53 |
354 |
2 |
| intel_pch_transcoder_get_m_n |
|
1 |
14 |
115 |
2 |
| intel_cpu_transcoder_get_m_n |
|
5 |
36 |
307 |
4 |
| intel_dp_get_m_n |
|
2 |
10 |
50 |
2 |
| ironlake_get_fdi_m_n_config |
|
1 |
6 |
30 |
2 |
| skylake_get_pfit_config |
|
5 |
26 |
193 |
2 |
| skylake_get_initial_plane_config |
|
7 |
68 |
461 |
2 |
| ironlake_get_pfit_config |
|
3 |
17 |
122 |
2 |
| ironlake_get_initial_plane_config |
|
8 |
55 |
403 |
2 |
| ironlake_get_pipe_config |
|
11 |
64 |
373 |
2 |
| assert_can_disable_lcpll |
|
2 |
24 |
180 |
1 |
| hsw_read_dcomp |
|
2 |
8 |
38 |
1 |
| hsw_write_dcomp |
|
3 |
14 |
81 |
2 |
| hsw_disable_lcpll |
|
6 |
33 |
187 |
3 |
| hsw_restore_lcpll |
|
6 |
33 |
192 |
1 |
| hsw_enable_pc8 |
|
2 |
13 |
67 |
1 |
| hsw_disable_pc8 |
|
2 |
14 |
68 |
1 |
| broxton_modeset_commit_cdclk |
|
1 |
6 |
36 |
1 |
| ilk_max_pixel_rate |
|
5 |
19 |
113 |
1 |
| broadwell_set_cdclk |
|
9 |
65 |
337 |
2 |
| broadwell_modeset_calc_cdclk |
|
5 |
21 |
108 |
1 |
| broadwell_modeset_commit_cdclk |
|
1 |
6 |
36 |
1 |
| haswell_crtc_compute_clock |
|
2 |
8 |
37 |
2 |
| bxt_get_ddi_pll |
|
4 |
21 |
82 |
3 |
| skylake_get_ddi_pll |
|
5 |
23 |
113 |
3 |
| haswell_get_ddi_pll |
|
4 |
16 |
69 |
3 |
| haswell_get_ddi_port_state |
|
8 |
30 |
223 |
2 |
| haswell_get_pipe_config |
|
17 |
65 |
382 |
2 |
| i845_update_cursor |
|
13 |
49 |
295 |
3 |
| i9xx_update_cursor |
|
8 |
38 |
218 |
3 |
| intel_crtc_update_cursor |
|
11 |
41 |
276 |
2 |
| cursor_size_ok |
|
13 |
26 |
122 |
3 |
| intel_crtc_gamma_set |
|
3 |
12 |
121 |
6 |
| __intel_framebuffer_create |
|
3 |
20 |
109 |
3 |
| intel_framebuffer_create |
|
2 |
13 |
66 |
3 |
| intel_framebuffer_pitch_for_width |
|
1 |
5 |
30 |
2 |
| intel_framebuffer_size_for_mode |
|
1 |
5 |
34 |
2 |
| intel_framebuffer_create_for_mode |
|
2 |
17 |
114 |
4 |
| mode_fits_in_fbdev |
|
6 |
21 |
133 |
2 |
| intel_modeset_setup_plane_state |
|
5 |
30 |
179 |
6 |
| intel_get_load_detect_pipe |
|
21 |
114 |
676 |
4 |
| intel_release_load_detect_pipe |
|
9 |
51 |
300 |
3 |
| i9xx_pll_refclk |
|
4 |
14 |
77 |
2 |
| i9xx_crtc_clock_get |
|
16 |
74 |
461 |
2 |
| intel_dotclock_calculate |
|
2 |
7 |
40 |
2 |
| ironlake_pch_clock_get |
|
1 |
9 |
55 |
2 |
| intel_crtc_mode_get |
|
2 |
34 |
327 |
2 |
| intel_mark_busy |
|
3 |
11 |
62 |
1 |
| intel_mark_idle |
|
3 |
10 |
60 |
1 |
| intel_crtc_destroy |
|
2 |
16 |
90 |
1 |
| intel_unpin_work_fn |
|
2 |
19 |
156 |
1 |
| do_intel_finish_page_flip |
|
4 |
18 |
106 |
2 |
| intel_finish_page_flip |
|
1 |
6 |
40 |
2 |
| intel_finish_page_flip_plane |
|
1 |
6 |
40 |
2 |
| g4x_flip_count_after_eq |
|
1 |
4 |
22 |
2 |
| page_flip_finished |
|
6 |
14 |
116 |
1 |
| intel_prepare_page_flip |
|
3 |
11 |
81 |
2 |
| intel_mark_page_flip_active |
|
1 |
6 |
27 |
1 |
| intel_gen2_queue_flip |
|
3 |
28 |
158 |
6 |
| intel_gen3_queue_flip |
|
3 |
28 |
158 |
6 |
| intel_gen4_queue_flip |
|
2 |
26 |
162 |
6 |
| intel_gen6_queue_flip |
|
2 |
25 |
162 |
6 |
| intel_gen7_queue_flip |
|
11 |
63 |
334 |
6 |
| use_mmio_flip |
|
6 |
16 |
83 |
2 |
| skl_do_mmio_flip |
|
5 |
33 |
205 |
2 |
| ilk_do_mmio_flip |
|
2 |
20 |
129 |
2 |
| intel_do_mmio_flip |
|
3 |
17 |
104 |
1 |
| intel_mmio_flip_work_func |
|
2 |
14 |
78 |
1 |
| intel_queue_mmio_flip |
|
2 |
18 |
110 |
6 |
| intel_default_queue_flip |
|
1 |
9 |
36 |
6 |
| __intel_pageflip_stall_check |
|
9 |
27 |
185 |
2 |
| intel_check_page_flip |
|
6 |
21 |
148 |
2 |
| intel_crtc_page_flip |
|
39 |
169 |
1137 |
4 |
| intel_wm_need_update |
|
6 |
11 |
79 |
2 |
| intel_plane_atomic_calc_changes |
|
41 |
92 |
625 |
2 |
| encoders_cloneable |
|
3 |
6 |
49 |
2 |
| check_single_encoder_cloning |
|
3 |
18 |
87 |
3 |
| check_encoder_cloning |
|
3 |
16 |
84 |
2 |
| intel_crtc_atomic_check |
|
13 |
35 |
205 |
2 |
| intel_modeset_update_connector_atomic_state |
|
2 |
15 |
85 |
1 |
| connected_sink_compute_bpp |
|
5 |
19 |
126 |
2 |
| compute_baseline_pipe_bpp |
|
5 |
24 |
142 |
2 |
| intel_dump_crtc_timings |
|
1 |
10 |
60 |
1 |
| intel_dump_pipe_config |
|
12 |
127 |
849 |
3 |
| check_digital_port_conflicts |
|
9 |
33 |
165 |
1 |
| clear_intel_crtc_state |
|
1 |
22 |
118 |
1 |
| intel_modeset_pipe_config |
|
10 |
63 |
379 |
2 |
| intel_modeset_update_crtc_state |
|
2 |
13 |
75 |
1 |
| intel_fuzzy_clock_check |
|
5 |
12 |
74 |
2 |
| intel_compare_m_n |
|
13 |
22 |
124 |
5 |
| intel_compare_link_m_n |
|
5 |
15 |
90 |
3 |
| intel_pipe_config_compare |
|
14 |
83 |
531 |
4 |
| check_wm_state |
|
5 |
37 |
241 |
1 |
| check_connector_state |
|
1 |
14 |
76 |
2 |
| check_encoder_state |
|
3 |
31 |
167 |
1 |
| check_crtc_state |
|
11 |
57 |
396 |
2 |
| check_shared_dpll_state |
|
9 |
40 |
299 |
1 |
| intel_modeset_check_state |
|
1 |
9 |
43 |
2 |
| ironlake_check_encoder_dotclock |
|
1 |
7 |
42 |
2 |
| update_scanline_offset |
|
5 |
16 |
103 |
1 |
| intel_modeset_clear_plls |
|
5 |
25 |
152 |
1 |
| haswell_mode_set_planes_workaround |
|
11 |
42 |
227 |
1 |
| intel_modeset_all_pipes |
|
6 |
21 |
109 |
1 |
| intel_modeset_checks |
|
7 |
24 |
143 |
1 |
| intel_atomic_check |
|
15 |
56 |
313 |
2 |
| intel_atomic_commit |
|
13 |
65 |
360 |
3 |
| intel_crtc_restore_mode |
|
6 |
31 |
150 |
1 |
| ibx_pch_dpll_get_hw_state |
|
2 |
13 |
86 |
3 |
| ibx_pch_dpll_mode_set |
|
1 |
6 |
50 |
2 |
| ibx_pch_dpll_enable |
|
1 |
11 |
85 |
2 |
| ibx_pch_dpll_disable |
|
2 |
13 |
81 |
2 |
| ibx_pch_dpll_init |
|
2 |
15 |
113 |
1 |
| intel_shared_dpll_init |
|
4 |
11 |
64 |
1 |
| intel_prepare_plane_fb |
|
7 |
26 |
181 |
2 |
| intel_cleanup_plane_fb |
|
4 |
14 |
86 |
2 |
| skl_max_scale |
|
5 |
17 |
128 |
2 |
| intel_check_primary_plane |
|
3 |
22 |
141 |
3 |
| intel_commit_primary_plane |
|
3 |
20 |
154 |
2 |
| intel_disable_primary_plane |
|
1 |
7 |
47 |
2 |
| intel_begin_crtc_commit |
|
6 |
19 |
120 |
2 |
| intel_finish_crtc_commit |
|
2 |
7 |
37 |
2 |
| intel_plane_destroy |
|
1 |
6 |
29 |
1 |
| intel_primary_plane_create |
|
9 |
49 |
308 |
2 |
| intel_create_rotation_property |
|
4 |
15 |
107 |
2 |
| intel_check_cursor_plane |
|
10 |
40 |
268 |
3 |
| intel_disable_cursor_plane |
|
1 |
5 |
21 |
2 |
| intel_commit_cursor_plane |
|
5 |
20 |
132 |
2 |
| intel_cursor_plane_create |
|
7 |
43 |
263 |
2 |
| skl_init_scalers |
|
2 |
13 |
83 |
3 |
| intel_crtc_init |
|
14 |
65 |
452 |
2 |
| intel_get_pipe_from_connector |
|
3 |
9 |
71 |
1 |
| intel_get_pipe_from_crtc_id |
|
2 |
15 |
80 |
3 |
| intel_encoder_clones |
|
2 |
13 |
67 |
1 |
| has_edp_a |
|
5 |
11 |
67 |
1 |
| intel_crt_present |
|
7 |
13 |
77 |
1 |
| intel_setup_outputs |
|
58 |
111 |
873 |
1 |
| intel_user_framebuffer_destroy |
|
1 |
11 |
75 |
1 |
| intel_user_framebuffer_create_handle |
|
2 |
12 |
70 |
3 |
| intel_user_framebuffer_dirty |
|
1 |
14 |
84 |
6 |
| intel_fb_pitch_limit |
|
8 |
22 |
128 |
3 |
| intel_framebuffer_init |
|
38 |
129 |
708 |
4 |
| intel_user_framebuffer_create |
|
2 |
12 |
77 |
3 |
| intel_fbdev_output_poll_changed |
|
1 |
3 |
9 |
1 |
| intel_init_display |
|
49 |
168 |
962 |
1 |
| quirk_pipea_force |
|
1 |
6 |
29 |
1 |
| quirk_pipeb_force |
|
1 |
6 |
29 |
1 |
| quirk_ssc_force_disable |
|
1 |
6 |
29 |
1 |
| quirk_invert_brightness |
|
1 |
6 |
29 |
1 |
| quirk_backlight_present |
|
1 |
6 |
29 |
1 |
| intel_dmi_reverse_brightness |
|
1 |
5 |
22 |
1 |
| intel_init_quirks |
|
10 |
18 |
142 |
1 |
| i915_disable_vga |
|
2 |
17 |
116 |
1 |
| intel_modeset_init_hw |
|
1 |
7 |
29 |
1 |
| intel_modeset_init |
|
16 |
80 |
525 |
1 |
| intel_enable_pipe_a |
|
4 |
17 |
96 |
1 |
| intel_check_plane_mapping |
|
4 |
13 |
87 |
1 |
| intel_crtc_has_encoders |
|
1 |
8 |
42 |
1 |
| intel_sanitize_crtc |
|
14 |
51 |
383 |
1 |
| intel_sanitize_encoder |
|
8 |
34 |
198 |
1 |
| i915_redisable_vga_power_on |
|
2 |
9 |
50 |
1 |
| i915_redisable_vga |
|
2 |
7 |
35 |
1 |
| primary_get_hw_state |
|
1 |
5 |
36 |
1 |
| readout_plane_state |
|
2 |
10 |
66 |
1 |
| intel_modeset_readout_hw_state |
|
11 |
79 |
625 |
1 |
| intel_modeset_setup_hw_state |
|
8 |
40 |
242 |
1 |
| intel_display_resume |
|
6 |
38 |
197 |
1 |
| intel_modeset_gem_init |
|
3 |
32 |
202 |
1 |
| intel_connector_unregister |
|
1 |
6 |
29 |
1 |
| intel_modeset_cleanup |
|
2 |
23 |
126 |
1 |
| intel_best_encoder |
|
1 |
4 |
18 |
1 |
| intel_connector_attach_encoder |
|
1 |
7 |
33 |
2 |
| intel_modeset_vga_set_state |
|
6 |
21 |
121 |
2 |
| intel_display_capture_error_state |
|
14 |
64 |
611 |
1 |
| intel_display_print_error_state |
|
11 |
50 |
533 |
3 |
| intel_modeset_preclose |
|
4 |
15 |
87 |
2 |
| Source file: ./sys/dev/pci/drm/radeon/rv200d.h |
| Source file: ./sys/dev/pci/drm/radeon/si_blit_shaders.h |
| Source file: ./sys/dev/pci/drm/radeon/radeon.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| radeon_fence_later |
|
4 |
16 |
66 |
2 |
| radeon_fence_is_earlier |
|
3 |
12 |
54 |
2 |
| rv370_pcie_rreg |
|
1 |
7 |
40 |
2 |
| rv370_pcie_wreg |
|
1 |
5 |
39 |
3 |
| radeon_ring_write |
|
1 |
7 |
42 |
2 |
| radeon_acpi_init |
|
1 |
1 |
12 |
1 |
| radeon_acpi_fini |
|
1 |
1 |
9 |
1 |
| Source file: ./sys/dev/pci/drm/radeon/evergreend.h |
| Source file: ./sys/dev/pci/drm/radeon/radeon_benchmark.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| radeon_benchmark_do_move |
|
7 |
39 |
184 |
6 |
| radeon_benchmark_log_results |
|
2 |
11 |
68 |
6 |
| radeon_benchmark_move |
|
19 |
72 |
424 |
4 |
| radeon_benchmark |
|
15 |
73 |
382 |
2 |
| Source file: ./sys/dev/pci/drm/radeon/r600_hdmi.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| r600_hdmi_calc_cts |
|
2 |
7 |
51 |
4 |
| r600_hdmi_acr |
|
3 |
13 |
100 |
1 |
| r600_hdmi_update_ACR |
|
1 |
15 |
142 |
2 |
| r600_hdmi_infoframe_checksum |
|
2 |
11 |
66 |
4 |
| r600_hdmi_videoinfoframe |
|
1 |
63 |
521 |
18 |
| r600_hdmi_audioinfoframe |
|
1 |
35 |
307 |
9 |
| r600_hdmi_is_audio_buffer_filled |
|
1 |
9 |
69 |
1 |
| r600_hdmi_buffer_status_changed |
|
3 |
12 |
78 |
1 |
| r600_hdmi_audio_workaround |
|
3 |
17 |
93 |
1 |
| r600_hdmi_setmode |
|
5 |
55 |
327 |
2 |
| r600_hdmi_update_audio_settings |
|
19 |
70 |
408 |
1 |
| r600_hdmi_enable |
|
12 |
49 |
261 |
1 |
| r600_hdmi_disable |
|
11 |
42 |
217 |
1 |
| Source file: ./sys/dev/pci/drm/radeon/r500_reg.h |
| Source file: ./sys/dev/pci/drm/radeon/atombios_crtc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| atombios_overscan_setup |
|
6 |
40 |
378 |
3 |
| atombios_scaler_setup |
|
22 |
77 |
383 |
1 |
| atombios_lock_crtc |
|
1 |
13 |
98 |
2 |
| atombios_enable_crtc |
|
1 |
12 |
98 |
2 |
| atombios_enable_crtc_memreq |
|
1 |
12 |
98 |
2 |
| atombios_blank_crtc |
|
1 |
12 |
98 |
2 |
| atombios_powergate_crtc |
|
1 |
12 |
98 |
2 |
| atombios_crtc_dpms |
|
10 |
30 |
181 |
2 |
| atombios_set_crtc_dtd_timing |
|
6 |
40 |
338 |
2 |
| atombios_crtc_set_timing |
|
6 |
38 |
298 |
2 |
| atombios_disable_ss |
|
11 |
37 |
154 |
2 |
| atombios_crtc_program_ss |
|
31 |
96 |
729 |
5 |
| atombios_adjust_pll |
|
46 |
152 |
1031 |
2 |
| atombios_crtc_set_disp_eng_pll |
|
7 |
39 |
217 |
2 |
| atombios_crtc_program_pll |
|
24 |
130 |
814 |
13 |
| atombios_crtc_prepare_pll |
|
14 |
86 |
418 |
2 |
| atombios_crtc_set_pll |
|
10 |
61 |
510 |
2 |
| dce4_crtc_do_set_base |
|
34 |
169 |
1057 |
5 |
| avivo_crtc_do_set_base |
|
27 |
139 |
823 |
5 |
| atombios_crtc_set_base |
|
3 |
12 |
96 |
4 |
| atombios_crtc_set_base_atomic |
|
3 |
13 |
100 |
5 |
| radeon_legacy_atom_fixup |
|
3 |
21 |
114 |
1 |
| radeon_get_pll_use_mask |
|
3 |
15 |
85 |
1 |
| radeon_get_shared_dp_ppll |
|
5 |
17 |
92 |
1 |
| radeon_get_shared_nondp_ppll |
|
11 |
30 |
186 |
1 |
| radeon_atom_pick_pll |
|
24 |
76 |
443 |
1 |
| radeon_atom_disp_eng_pll_init |
|
5 |
16 |
109 |
1 |
| atombios_crtc_mode_set |
|
6 |
33 |
199 |
6 |
| atombios_crtc_mode_fixup |
|
8 |
29 |
185 |
3 |
| atombios_crtc_prepare |
|
2 |
11 |
71 |
1 |
| atombios_crtc_commit |
|
1 |
7 |
39 |
1 |
| atombios_crtc_disable |
|
11 |
38 |
256 |
1 |
| radeon_atombios_init_crtc |
|
9 |
39 |
169 |
2 |
| Source file: ./sys/dev/pci/drm/radeon/evergreen_blit_shaders.c |
| Source file: ./sys/dev/pci/drm/radeon/si.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| si_get_temp |
|
2 |
13 |
59 |
1 |
| si_mc_load_microcode |
|
14 |
60 |
363 |
1 |
| si_init_microcode |
|
21 |
119 |
668 |
1 |
| dce6_line_buffer_adjust |
|
10 |
40 |
188 |
4 |
| si_get_number_of_dram_channels |
|
10 |
25 |
86 |
1 |
| dce6_dram_bandwidth |
|
1 |
16 |
123 |
1 |
| dce6_dram_bandwidth_for_display |
|
1 |
16 |
123 |
1 |
| dce6_data_return_bandwidth |
|
1 |
16 |
117 |
1 |
| dce6_get_dmif_bytes_per_request |
|
1 |
4 |
12 |
1 |
| dce6_dmif_request_bandwidth |
|
1 |
24 |
209 |
1 |
| dce6_available_bandwidth |
|
1 |
7 |
46 |
1 |
| dce6_average_bandwidth |
|
1 |
17 |
122 |
1 |
| dce6_latency_watermark |
|
9 |
50 |
461 |
1 |
| dce6_average_bandwidth_vs_dram_bandwidth_for_display |
|
2 |
8 |
34 |
1 |
| dce6_average_bandwidth_vs_available_bandwidth |
|
2 |
8 |
34 |
1 |
| dce6_check_latency_hiding |
|
4 |
22 |
117 |
1 |
| dce6_program_watermarks |
|
11 |
91 |
734 |
4 |
| dce6_bandwidth_update |
|
4 |
20 |
205 |
1 |
| si_tiling_mode_table_init |
|
55 |
498 |
2442 |
1 |
| si_select_se_sh |
|
5 |
14 |
92 |
3 |
| si_create_bitmask |
|
2 |
9 |
41 |
1 |
| si_get_cu_enabled |
|
2 |
13 |
63 |
2 |
| si_setup_spi |
|
5 |
24 |
141 |
4 |
| si_get_rb_disabled |
|
2 |
15 |
68 |
3 |
| si_setup_rb |
|
10 |
45 |
303 |
4 |
| si_gpu_init |
|
16 |
173 |
1349 |
1 |
| si_scratch_init |
|
2 |
10 |
79 |
1 |
| si_fence_ring_emit |
|
1 |
23 |
198 |
2 |
| si_ring_ib_execute |
|
8 |
47 |
386 |
2 |
| si_cp_enable |
|
2 |
14 |
95 |
2 |
| si_cp_load_microcode |
|
6 |
28 |
218 |
1 |
| si_cp_start |
|
5 |
49 |
385 |
1 |
| si_cp_fini |
|
1 |
14 |
99 |
1 |
| si_cp_resume |
|
8 |
89 |
729 |
1 |
| si_gpu_is_lockup |
|
2 |
17 |
96 |
2 |
| si_gpu_soft_reset_gfx |
|
2 |
46 |
255 |
1 |
| si_gpu_soft_reset_dma |
|
2 |
20 |
121 |
1 |
| si_gpu_soft_reset |
|
7 |
26 |
165 |
2 |
| si_asic_reset |
|
1 |
6 |
23 |
1 |
| si_mc_program |
|
4 |
39 |
319 |
1 |
| si_vram_location |
|
2 |
14 |
109 |
3 |
| si_gtt_location |
|
4 |
22 |
186 |
2 |
| si_vram_gtt_location |
|
2 |
12 |
72 |
2 |
| si_mc_init |
|
14 |
60 |
283 |
1 |
| si_pcie_gart_tlb_flush |
|
1 |
5 |
23 |
1 |
| si_pcie_gart_enable |
|
5 |
69 |
419 |
1 |
| si_pcie_gart_disable |
|
1 |
15 |
75 |
1 |
| si_pcie_gart_fini |
|
1 |
6 |
24 |
1 |
| si_vm_reg_valid |
|
28 |
37 |
115 |
1 |
| si_vm_packet3_ce_check |
|
11 |
21 |
76 |
3 |
| si_vm_packet3_cp_dma_check |
|
13 |
48 |
279 |
2 |
| si_vm_packet3_gfx_check |
|
69 |
116 |
535 |
3 |
| si_vm_packet3_compute_check |
|
48 |
86 |
390 |
3 |
| si_ib_parse |
|
10 |
49 |
268 |
2 |
| si_vm_init |
|
1 |
6 |
28 |
1 |
| si_vm_fini |
|
1 |
3 |
9 |
1 |
| si_vm_set_page |
|
16 |
82 |
521 |
6 |
| si_vm_flush |
|
3 |
32 |
275 |
3 |
| si_dma_vm_flush |
|
3 |
19 |
238 |
3 |
| si_rlc_fini |
|
5 |
22 |
170 |
1 |
| si_rlc_init |
|
9 |
50 |
304 |
1 |
| si_rlc_stop |
|
1 |
4 |
16 |
1 |
| si_rlc_start |
|
1 |
4 |
16 |
1 |
| si_rlc_resume |
|
3 |
25 |
169 |
1 |
| si_enable_interrupts |
|
1 |
10 |
55 |
1 |
| si_disable_interrupts |
|
1 |
13 |
77 |
1 |
| si_disable_interrupt_state |
|
5 |
45 |
333 |
1 |
| si_irq_init |
|
6 |
40 |
264 |
1 |
| si_irq_set |
|
30 |
134 |
931 |
1 |
| si_irq_ack |
|
29 |
90 |
862 |
1 |
| si_irq_disable |
|
1 |
7 |
29 |
1 |
| si_irq_suspend |
|
1 |
5 |
19 |
1 |
| si_irq_fini |
|
1 |
5 |
19 |
1 |
| si_get_ih_wptr |
|
3 |
17 |
130 |
1 |
| si_irq_process |
|
75 |
290 |
1710 |
1 |
| si_copy_dma |
|
7 |
53 |
360 |
5 |
| si_startup |
|
32 |
129 |
740 |
1 |
| si_resume |
|
2 |
13 |
57 |
1 |
| si_suspend |
|
1 |
10 |
44 |
1 |
| si_init |
|
13 |
76 |
453 |
1 |
| si_fini |
|
2 |
20 |
97 |
1 |
| si_get_gpu_clock |
|
1 |
10 |
61 |
1 |
| Source file: ./sys/dev/pci/drm/radeon/radeon_asic.h |
| Source file: ./sys/dev/pci/drm/radeon/atom-types.h |
| Source file: ./sys/dev/pci/drm/radeon/r200_reg_safe.h |
| Source file: ./sys/dev/pci/drm/radeon/r300_reg.h |
| Source file: ./sys/dev/pci/drm/radeon/radeon_gart.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| radeon_gart_table_ram_alloc |
|
7 |
19 |
155 |
1 |
| radeon_gart_table_ram_free |
|
2 |
9 |
52 |
1 |
| radeon_gart_table_vram_alloc |
|
3 |
13 |
64 |
1 |
| radeon_gart_table_vram_pin |
|
4 |
20 |
125 |
1 |
| radeon_gart_table_vram_unpin |
|
3 |
14 |
85 |
1 |
| radeon_gart_table_vram_free |
|
2 |
8 |
38 |
1 |
| radeon_gart_unbind |
|
6 |
29 |
187 |
3 |
| radeon_gart_bind |
|
5 |
28 |
190 |
5 |
| radeon_gart_restore |
|
4 |
17 |
110 |
1 |
| radeon_gart_init |
|
8 |
33 |
223 |
1 |
| radeon_gart_fini |
|
4 |
12 |
91 |
1 |
| radeon_vm_num_pdes |
|
1 |
4 |
19 |
1 |
| radeon_vm_directory_size |
|
1 |
4 |
20 |
1 |
| radeon_vm_manager_init |
|
6 |
36 |
201 |
1 |
| radeon_vm_free_pt |
|
4 |
18 |
122 |
2 |
| radeon_vm_manager_fini |
|
3 |
21 |
156 |
1 |
| radeon_vm_evict |
|
3 |
14 |
88 |
2 |
| radeon_vm_alloc_pt |
|
7 |
36 |
216 |
2 |
| radeon_vm_add_to_lru |
|
1 |
5 |
37 |
2 |
| radeon_vm_grab_id |
|
9 |
29 |
215 |
3 |
| radeon_vm_fence |
|
1 |
9 |
67 |
3 |
| radeon_vm_bo_find |
|
2 |
11 |
48 |
2 |
| radeon_vm_bo_add |
|
2 |
24 |
151 |
3 |
| radeon_vm_bo_set_addr |
|
9 |
53 |
313 |
4 |
| radeon_vm_map_gart |
|
1 |
7 |
40 |
2 |
| radeon_vm_update_pdes |
|
10 |
50 |
285 |
4 |
| radeon_vm_update_ptes |
|
6 |
42 |
229 |
6 |
| radeon_vm_bo_update_pte |
|
22 |
88 |
570 |
4 |
| radeon_vm_bo_rmv |
|
2 |
16 |
108 |
2 |
| radeon_vm_bo_invalidate |
|
1 |
8 |
38 |
2 |
| radeon_vm_init |
|
1 |
8 |
52 |
2 |
| radeon_vm_fini |
|
3 |
24 |
167 |
2 |
| Source file: ./sys/dev/pci/drm/radeon/atom-bits.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| get_u8 |
|
1 |
4 |
24 |
2 |
| get_u16 |
|
1 |
4 |
38 |
2 |
| get_u32 |
|
1 |
4 |
38 |
2 |
| Source file: ./sys/dev/pci/drm/radeon/r100_reg_safe.h |
| Source file: ./sys/dev/pci/drm/radeon/r600_blit_shaders.h |
| Source file: ./sys/dev/pci/drm/radeon/radeon_cursor.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| radeon_lock_cursor |
|
6 |
28 |
163 |
2 |
| radeon_hide_cursor |
|
5 |
26 |
132 |
1 |
| radeon_show_cursor |
|
5 |
29 |
163 |
1 |
| radeon_set_cursor |
|
5 |
24 |
160 |
3 |
| radeon_crtc_cursor_set |
|
10 |
58 |
322 |
5 |
| radeon_crtc_cursor_move |
|
16 |
77 |
554 |
3 |
| Source file: ./sys/dev/pci/drm/radeon/r100d.h |
| Source file: ./sys/dev/pci/drm/radeon/atombios_i2c.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| radeon_process_i2c_ch |
|
10 |
46 |
296 |
5 |
| radeon_atom_hw_i2c_xfer |
|
9 |
44 |
226 |
3 |
| radeon_atom_hw_i2c_func |
|
1 |
4 |
14 |
1 |
| Source file: ./sys/dev/pci/drm/radeon/radeon_legacy_encoders.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| radeon_legacy_encoder_disable |
|
1 |
8 |
46 |
1 |
| radeon_legacy_lvds_update |
|
18 |
77 |
460 |
2 |
| radeon_legacy_lvds_dpms |
|
3 |
16 |
94 |
2 |
| radeon_legacy_lvds_prepare |
|
2 |
9 |
48 |
1 |
| radeon_legacy_lvds_commit |
|
2 |
9 |
48 |
1 |
| radeon_legacy_lvds_mode_set |
|
10 |
58 |
350 |
3 |
| radeon_legacy_mode_fixup |
|
2 |
11 |
62 |
3 |
| radeon_legacy_get_backlight_level |
|
1 |
9 |
49 |
1 |
| radeon_legacy_set_backlight_level |
|
5 |
24 |
134 |
2 |
| radeon_legacy_lvds_level |
|
4 |
14 |
75 |
1 |
| radeon_legacy_backlight_update_status |
|
1 |
8 |
41 |
1 |
| radeon_legacy_backlight_get_brightness |
|
2 |
11 |
76 |
1 |
| radeon_legacy_backlight_init |
|
18 |
64 |
374 |
2 |
| radeon_legacy_backlight_exit |
|
4 |
24 |
131 |
1 |
| radeon_legacy_backlight_init |
|
1 |
3 |
9 |
1 |
| radeon_legacy_backlight_exit |
|
1 |
3 |
9 |
1 |
| radeon_lvds_enc_destroy |
|
2 |
10 |
49 |
1 |
| radeon_legacy_primary_dac_dpms |
|
9 |
35 |
186 |
2 |
| radeon_legacy_primary_dac_prepare |
|
2 |
9 |
48 |
1 |
| radeon_legacy_primary_dac_commit |
|
2 |
9 |
48 |
1 |
| radeon_legacy_primary_dac_mode_set |
|
8 |
49 |
293 |
3 |
| radeon_legacy_primary_dac_detect |
|
6 |
53 |
303 |
2 |
| radeon_legacy_tmds_int_dpms |
|
8 |
22 |
125 |
2 |
| radeon_legacy_tmds_int_prepare |
|
2 |
9 |
48 |
1 |
| radeon_legacy_tmds_int_commit |
|
2 |
9 |
48 |
1 |
| radeon_legacy_tmds_int_mode_set |
|
20 |
84 |
472 |
3 |
| radeon_legacy_tmds_ext_dpms |
|
8 |
24 |
133 |
2 |
| radeon_legacy_tmds_ext_prepare |
|
2 |
9 |
48 |
1 |
| radeon_legacy_tmds_ext_commit |
|
2 |
9 |
48 |
1 |
| radeon_legacy_tmds_ext_mode_set |
|
15 |
56 |
313 |
3 |
| radeon_ext_tmds_enc_destroy |
|
1 |
7 |
36 |
1 |
| radeon_legacy_tv_dac_dpms |
|
24 |
81 |
394 |
2 |
| radeon_legacy_tv_dac_prepare |
|
2 |
9 |
48 |
1 |
| radeon_legacy_tv_dac_commit |
|
2 |
9 |
48 |
1 |
| radeon_legacy_tv_dac_mode_set |
|
35 |
133 |
736 |
3 |
| r300_legacy_tv_detect |
|
3 |
57 |
320 |
2 |
| radeon_legacy_tv_detect |
|
5 |
54 |
304 |
2 |
| radeon_legacy_ext_dac_detect |
|
5 |
75 |
457 |
2 |
| radeon_legacy_tv_dac_detect |
|
26 |
120 |
700 |
2 |
| radeon_legacy_get_tmds_info |
|
4 |
17 |
101 |
1 |
| radeon_legacy_get_ext_tmds_info |
|
4 |
16 |
94 |
1 |
| radeon_add_legacy_encoder |
|
13 |
65 |
404 |
3 |
| Source file: ./sys/dev/pci/drm/radeon/si_blit_shaders.c |
| Source file: ./sys/dev/pci/drm/radeon/rs690.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rs690_mc_wait_for_idle |
|
3 |
12 |
58 |
1 |
| rs690_gpu_init |
|
2 |
8 |
30 |
1 |
| rs690_pm_info |
|
9 |
69 |
754 |
1 |
| rs690_mc_init |
|
3 |
26 |
220 |
1 |
| rs690_line_buffer_adjust |
|
9 |
27 |
136 |
3 |
| rs690_crtc_bandwidth_compute |
|
16 |
109 |
1078 |
3 |
| rs690_bandwidth_update |
|
35 |
150 |
1349 |
1 |
| rs690_mc_rreg |
|
1 |
8 |
42 |
2 |
| rs690_mc_wreg |
|
1 |
7 |
44 |
3 |
| rs690_mc_program |
|
2 |
13 |
91 |
1 |
| rs690_startup |
|
9 |
41 |
213 |
1 |
| rs690_resume |
|
3 |
20 |
97 |
1 |
| rs690_suspend |
|
1 |
9 |
37 |
1 |
| rs690_fini |
|
1 |
15 |
72 |
1 |
| rs690_init |
|
11 |
53 |
258 |
1 |
| Source file: ./sys/dev/pci/drm/radeon/radeon_mode.h |
| Source file: ./sys/dev/pci/drm/radeon/radeon_prime.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| radeon_gem_map_dma_buf |
|
1 |
14 |
105 |
2 |
| radeon_gem_unmap_dma_buf |
|
1 |
7 |
45 |
3 |
| radeon_gem_dmabuf_release |
|
2 |
9 |
56 |
1 |
| radeon_gem_kmap_atomic |
|
1 |
4 |
16 |
2 |
| radeon_gem_kunmap_atomic |
|
1 |
3 |
17 |
3 |
| radeon_gem_kmap |
|
1 |
4 |
16 |
2 |
| radeon_gem_kunmap |
|
1 |
3 |
17 |
3 |
| radeon_gem_prime_mmap |
|
1 |
4 |
18 |
2 |
| radeon_gem_prime_vmap |
|
3 |
21 |
122 |
1 |
| radeon_gem_prime_vunmap |
|
2 |
11 |
72 |
2 |
| radeon_prime_create |
|
2 |
19 |
116 |
4 |
| radeon_gem_prime_export |
|
3 |
17 |
104 |
3 |
| radeon_gem_prime_import |
|
6 |
34 |
195 |
2 |
| Source file: ./sys/dev/pci/drm/radeon/radeon_display.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| avivo_crtc_load_lut |
|
2 |
26 |
225 |
1 |
| dce4_crtc_load_lut |
|
2 |
24 |
219 |
1 |
| dce5_crtc_load_lut |
|
2 |
49 |
388 |
1 |
| legacy_crtc_load_lut |
|
3 |
21 |
140 |
1 |
| radeon_crtc_load_lut |
|
5 |
15 |
80 |
1 |
| radeon_crtc_fb_gamma_set |
|
1 |
8 |
67 |
5 |
| radeon_crtc_fb_gamma_get |
|
1 |
8 |
73 |
5 |
| radeon_crtc_gamma_set |
|
3 |
12 |
121 |
6 |
| radeon_crtc_destroy |
|
1 |
6 |
29 |
1 |
| radeon_unpin_work_func |
|
3 |
16 |
93 |
1 |
| radeon_crtc_handle_flip |
|
12 |
42 |
323 |
2 |
| radeon_crtc_page_flip |
|
18 |
125 |
779 |
4 |
| radeon_crtc_init |
|
7 |
25 |
241 |
2 |
| radeon_print_display_setup |
|
24 |
74 |
521 |
1 |
| radeon_setup_enc_conn |
|
7 |
24 |
119 |
1 |
| radeon_ddc_get_modes |
|
18 |
45 |
354 |
1 |
| avivo_get_fb_div |
|
3 |
16 |
88 |
6 |
| avivo_get_post_div |
|
10 |
32 |
159 |
2 |
| radeon_compute_pll_avivo |
|
9 |
52 |
328 |
7 |
| radeon_div |
|
1 |
7 |
30 |
2 |
| radeon_compute_pll_legacy |
|
53 |
163 |
996 |
7 |
| radeon_user_framebuffer_destroy |
|
2 |
9 |
44 |
1 |
| radeon_user_framebuffer_create_handle |
|
1 |
7 |
41 |
3 |
| radeon_framebuffer_init |
|
2 |
15 |
76 |
4 |
| radeon_user_framebuffer_create |
|
4 |
26 |
157 |
3 |
| radeon_output_poll_changed |
|
1 |
5 |
23 |
1 |
| radeon_modeset_create_props |
|
7 |
43 |
260 |
1 |
| radeon_update_display_priority |
|
6 |
11 |
71 |
1 |
| radeon_afmt_init |
|
18 |
65 |
685 |
1 |
| radeon_afmt_fini |
|
2 |
8 |
50 |
1 |
| radeon_modeset_init |
|
8 |
46 |
285 |
1 |
| radeon_modeset_fini |
|
2 |
14 |
75 |
1 |
| is_hdtv_mode |
|
6 |
10 |
57 |
1 |
| radeon_crtc_scaling_mode_fixup |
|
16 |
79 |
560 |
3 |
| radeon_get_crtc_scanoutpos |
|
23 |
107 |
622 |
8 |
| Source file: ./sys/dev/pci/drm/radeon/ObjectID.h |
| Source file: ./sys/dev/pci/drm/radeon/si_reg.h |
| Source file: ./sys/dev/pci/drm/radeon/r420d.h |
| Source file: ./sys/dev/pci/drm/radeon/radeon_asic.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| radeon_invalid_rreg |
|
1 |
6 |
27 |
2 |
| radeon_invalid_wreg |
|
1 |
6 |
29 |
3 |
| radeon_register_accessor_init |
|
11 |
42 |
256 |
1 |
| radeon_agp_disable |
|
6 |
22 |
146 |
1 |
| radeon_asic_init |
|
62 |
129 |
549 |
1 |
| Source file: ./sys/dev/pci/drm/radeon/r600_reg.h |
| Source file: ./sys/dev/pci/drm/radeon/r520d.h |
| Source file: ./sys/dev/pci/drm/radeon/rs600.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| avivo_is_in_vblank |
|
2 |
7 |
33 |
2 |
| avivo_is_counter_moving |
|
2 |
10 |
54 |
2 |
| avivo_wait_for_vblank |
|
9 |
20 |
115 |
2 |
| rs600_pre_page_flip |
|
1 |
4 |
19 |
2 |
| rs600_post_page_flip |
|
1 |
4 |
19 |
2 |
| rs600_page_flip |
|
3 |
21 |
156 |
3 |
| rs600_pm_misc |
|
22 |
84 |
555 |
1 |
| rs600_pm_prepare |
|
2 |
15 |
87 |
1 |
| rs600_pm_finish |
|
2 |
15 |
87 |
1 |
| rs600_hpd_sense |
|
5 |
20 |
80 |
2 |
| rs600_hpd_set_polarity |
|
5 |
26 |
112 |
2 |
| rs600_hpd_init |
|
3 |
24 |
126 |
1 |
| rs600_hpd_fini |
|
3 |
23 |
115 |
1 |
| rs600_asic_reset |
|
6 |
52 |
359 |
1 |
| rs600_gart_tlb_flush |
|
1 |
14 |
85 |
1 |
| rs600_gart_init |
|
3 |
14 |
68 |
1 |
| rs600_gart_enable |
|
5 |
51 |
333 |
1 |
| rs600_gart_disable |
|
1 |
8 |
40 |
1 |
| rs600_gart_fini |
|
1 |
6 |
24 |
1 |
| rs600_gart_set_page |
|
3 |
13 |
78 |
3 |
| rs600_irq_set |
|
12 |
47 |
296 |
1 |
| rs600_irq_ack |
|
9 |
43 |
295 |
1 |
| rs600_irq_disable |
|
1 |
10 |
53 |
1 |
| rs600_irq_process |
|
23 |
69 |
442 |
1 |
| rs600_get_vblank_counter |
|
2 |
7 |
31 |
2 |
| rs600_mc_wait_for_idle |
|
3 |
10 |
51 |
1 |
| rs600_gpu_init |
|
2 |
6 |
30 |
1 |
| rs600_mc_init |
|
1 |
18 |
146 |
1 |
| rs600_bandwidth_update |
|
4 |
22 |
170 |
1 |
| rs600_mc_rreg |
|
1 |
6 |
33 |
2 |
| rs600_mc_wreg |
|
1 |
6 |
42 |
3 |
| rs600_debugfs |
|
2 |
5 |
21 |
1 |
| rs600_set_safe_registers |
|
1 |
5 |
32 |
1 |
| rs600_mc_program |
|
2 |
16 |
112 |
1 |
| rs600_startup |
|
9 |
41 |
213 |
1 |
| rs600_resume |
|
3 |
20 |
97 |
1 |
| rs600_suspend |
|
1 |
9 |
37 |
1 |
| rs600_fini |
|
1 |
15 |
72 |
1 |
| rs600_init |
|
11 |
53 |
258 |
1 |
| Source file: ./sys/dev/pci/drm/radeon/atombios_encoders.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| radeon_atom_get_backlight_level_from_reg |
|
2 |
12 |
54 |
1 |
| radeon_atom_set_backlight_level_to_reg |
|
3 |
16 |
78 |
2 |
| atombios_get_backlight_level |
|
2 |
8 |
51 |
1 |
| atombios_set_backlight_level |
|
12 |
45 |
279 |
2 |
| radeon_atom_bl_level |
|
3 |
11 |
53 |
1 |
| radeon_atom_backlight_update_status |
|
1 |
7 |
41 |
1 |
| radeon_atom_backlight_get_brightness |
|
1 |
8 |
54 |
1 |
| radeon_atom_backlight_init |
|
7 |
46 |
268 |
2 |
| radeon_atom_backlight_exit |
|
5 |
23 |
125 |
1 |
| radeon_atom_backlight_init |
|
1 |
3 |
9 |
1 |
| radeon_atom_backlight_exit |
|
1 |
3 |
9 |
1 |
| radeon_encoder_is_digital |
|
12 |
20 |
68 |
1 |
| radeon_atom_mode_fixup |
|
12 |
33 |
229 |
3 |
| atombios_dac_setup |
|
15 |
44 |
235 |
2 |
| atombios_tv_setup |
|
10 |
47 |
265 |
2 |
| radeon_atom_get_bpc |
|
8 |
22 |
79 |
1 |
| atombios_dvo_setup |
|
9 |
45 |
316 |
2 |
| atombios_digital_setup |
|
32 |
103 |
658 |
2 |
| atombios_get_encoder_mode |
|
29 |
67 |
291 |
1 |
| atombios_dig_encoder_setup |
|
33 |
125 |
832 |
3 |
| atombios_dig_transmitter_setup |
|
99 |
315 |
2089 |
4 |
| atombios_set_edp_panel_power |
|
9 |
32 |
217 |
2 |
| atombios_external_encoder_setup |
|
20 |
92 |
622 |
3 |
| atombios_yuv_setup |
|
5 |
28 |
215 |
2 |
| radeon_atom_encoder_dpms_avivo |
|
24 |
75 |
467 |
2 |
| radeon_atom_encoder_dpms_dig |
|
30 |
83 |
585 |
2 |
| radeon_atom_encoder_dpms_ext |
|
9 |
30 |
143 |
3 |
| radeon_atom_encoder_dpms |
|
29 |
66 |
297 |
2 |
| atombios_set_encoder_crtc_source |
|
44 |
136 |
757 |
1 |
| atombios_apply_encoder_quirks |
|
10 |
34 |
217 |
2 |
| radeon_atom_pick_dig_encoder |
|
26 |
85 |
381 |
1 |
| radeon_atom_encoder_init |
|
8 |
22 |
120 |
1 |
| radeon_atom_encoder_mode_set |
|
24 |
56 |
281 |
3 |
| atombios_dac_load_detect |
|
11 |
39 |
301 |
2 |
| radeon_atom_dac_detect |
|
13 |
36 |
210 |
2 |
| radeon_atom_dig_detect |
|
14 |
38 |
227 |
2 |
| radeon_atom_ext_encoder_setup_ddc |
|
2 |
7 |
32 |
1 |
| radeon_atom_encoder_prepare |
|
9 |
31 |
192 |
1 |
| radeon_atom_encoder_commit |
|
1 |
5 |
23 |
1 |
| radeon_atom_encoder_disable |
|
22 |
52 |
256 |
1 |
| radeon_atom_ext_prepare |
|
1 |
3 |
9 |
1 |
| radeon_atom_ext_commit |
|
1 |
3 |
9 |
1 |
| radeon_atom_ext_mode_set |
|
1 |
5 |
19 |
3 |
| radeon_atom_ext_disable |
|
1 |
3 |
9 |
1 |
| radeon_atom_ext_dpms |
|
1 |
3 |
12 |
2 |
| radeon_atom_ext_mode_fixup |
|
1 |
6 |
23 |
3 |
| radeon_enc_destroy |
|
2 |
9 |
51 |
1 |
| radeon_atombios_set_dac_info |
|
2 |
10 |
65 |
1 |
| radeon_atombios_set_dig_info |
|
3 |
14 |
82 |
1 |
| radeon_add_atom_encoder |
|
36 |
109 |
609 |
4 |
| Source file: ./sys/dev/pci/drm/radeon/rs600_reg_safe.h |
| Source file: ./sys/dev/pci/drm/radeon/atom.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| debug_print_spaces |
|
2 |
5 |
17 |
1 |
| atom_iio_execute |
|
12 |
73 |
466 |
4 |
| atom_get_src_int |
|
54 |
186 |
950 |
5 |
| atom_skip_src_int |
|
17 |
35 |
138 |
3 |
| atom_get_src |
|
1 |
4 |
29 |
3 |
| atom_get_src_direct |
|
9 |
24 |
103 |
3 |
| atom_get_dst |
|
1 |
8 |
64 |
6 |
| atom_skip_dst |
|
1 |
6 |
52 |
4 |
| atom_put_dst |
|
31 |
138 |
729 |
6 |
| atom_op_add |
|
1 |
13 |
104 |
3 |
| atom_op_and |
|
1 |
13 |
104 |
3 |
| atom_op_beep |
|
1 |
4 |
20 |
3 |
| atom_op_calltable |
|
4 |
14 |
106 |
3 |
| atom_op_clear |
|
1 |
11 |
90 |
3 |
| atom_op_compare |
|
3 |
13 |
119 |
3 |
| atom_op_delay |
|
3 |
11 |
64 |
3 |
| atom_op_div |
|
2 |
16 |
129 |
3 |
| atom_op_eot |
|
1 |
3 |
15 |
3 |
| atom_op_jump |
|
16 |
50 |
279 |
3 |
| atom_op_mask |
|
1 |
16 |
137 |
3 |
| atom_op_move |
|
2 |
16 |
124 |
3 |
| atom_op_mul |
|
1 |
10 |
83 |
3 |
| atom_op_nop |
|
1 |
3 |
15 |
3 |
| atom_op_or |
|
1 |
13 |
104 |
3 |
| atom_op_postcard |
|
1 |
5 |
34 |
3 |
| atom_op_repeat |
|
1 |
4 |
21 |
3 |
| atom_op_restorereg |
|
1 |
4 |
21 |
3 |
| atom_op_savereg |
|
1 |
4 |
21 |
3 |
| atom_op_setdatablock |
|
3 |
13 |
100 |
3 |
| atom_op_setfbbase |
|
1 |
6 |
47 |
3 |
| atom_op_setport |
|
6 |
26 |
132 |
3 |
| atom_op_setregblock |
|
1 |
6 |
45 |
3 |
| atom_op_shift_left |
|
1 |
15 |
124 |
3 |
| atom_op_shift_right |
|
1 |
15 |
124 |
3 |
| atom_op_shl |
|
1 |
17 |
151 |
3 |
| atom_op_shr |
|
1 |
17 |
151 |
3 |
| atom_op_sub |
|
1 |
13 |
104 |
3 |
| atom_op_switch |
|
4 |
26 |
159 |
3 |
| atom_op_test |
|
2 |
11 |
101 |
3 |
| atom_op_xor |
|
1 |
13 |
104 |
3 |
| atom_op_debug |
|
1 |
4 |
21 |
3 |
| atom_execute_table_locked |
|
10 |
52 |
320 |
3 |
| atom_execute_table |
|
1 |
14 |
91 |
3 |
| atom_index_iio |
|
3 |
11 |
79 |
2 |
| atom_parse |
|
13 |
48 |
302 |
2 |
| atom_asic_init |
|
7 |
23 |
182 |
1 |
| atom_destroy |
|
2 |
6 |
27 |
1 |
| atom_parse_data_header |
|
5 |
18 |
128 |
6 |
| atom_parse_cmd_header |
|
4 |
14 |
103 |
4 |
| atom_allocate_fb_scratch |
|
4 |
22 |
161 |
1 |
| Source file: ./sys/dev/pci/drm/radeon/r300.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rv370_pcie_gart_tlb_flush |
|
2 |
12 |
65 |
1 |
| rv370_pcie_gart_set_page |
|
3 |
13 |
91 |
3 |
| rv370_pcie_gart_init |
|
4 |
18 |
104 |
1 |
| rv370_pcie_gart_enable |
|
3 |
36 |
219 |
1 |
| rv370_pcie_gart_disable |
|
1 |
12 |
65 |
1 |
| rv370_pcie_gart_fini |
|
1 |
6 |
24 |
1 |
| r300_fence_ring_emit |
|
1 |
26 |
231 |
2 |
| r300_ring_start |
|
6 |
86 |
552 |
2 |
| r300_errata |
|
3 |
8 |
42 |
1 |
| r300_mc_wait_for_idle |
|
3 |
13 |
59 |
1 |
| r300_gpu_init |
|
12 |
47 |
218 |
1 |
| r300_asic_reset |
|
6 |
45 |
303 |
1 |
| r300_mc_init |
|
6 |
23 |
172 |
1 |
| rv370_set_pcie_lanes |
|
12 |
47 |
189 |
2 |
| rv370_get_pcie_lanes |
|
9 |
24 |
95 |
1 |
| rv370_debugfs_pcie_gart_info |
|
1 |
22 |
165 |
2 |
| rv370_debugfs_pcie_gart_info_init |
|
2 |
5 |
22 |
1 |
| r300_packet0_check |
|
210 |
501 |
2742 |
4 |
| r300_packet3_check |
|
26 |
99 |
554 |
2 |
| r300_cs_parse |
|
8 |
38 |
206 |
1 |
| r300_set_reg_safe |
|
1 |
5 |
32 |
1 |
| r300_mc_program |
|
4 |
28 |
188 |
1 |
| r300_clock_startup |
|
5 |
11 |
79 |
1 |
| r300_startup |
|
14 |
48 |
252 |
1 |
| r300_resume |
|
5 |
23 |
116 |
1 |
| r300_suspend |
|
3 |
11 |
53 |
1 |
| r300_fini |
|
3 |
18 |
93 |
1 |
| r300_init |
|
18 |
70 |
346 |
1 |
| Source file: ./sys/dev/pci/drm/radeon/rv770.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rv770_page_flip |
|
4 |
28 |
207 |
3 |
| rv770_get_temp |
|
4 |
16 |
84 |
1 |
| rv770_pm_misc |
|
5 |
16 |
127 |
1 |
| rv770_pcie_gart_enable |
|
5 |
46 |
330 |
1 |
| rv770_pcie_gart_disable |
|
2 |
20 |
141 |
1 |
| rv770_pcie_gart_fini |
|
1 |
6 |
24 |
1 |
| rv770_agp_enable |
|
2 |
23 |
148 |
1 |
| rv770_mc_program |
|
7 |
58 |
455 |
1 |
| r700_cp_stop |
|
1 |
7 |
49 |
1 |
| rv770_cp_load_microcode |
|
6 |
28 |
196 |
1 |
| r700_cp_fini |
|
1 |
7 |
43 |
1 |
| rv770_gpu_init |
|
40 |
367 |
2920 |
1 |
| r700_vram_gtt_location |
|
6 |
36 |
244 |
2 |
| rv770_mc_init |
|
7 |
39 |
204 |
1 |
| rv770_copy_dma |
|
7 |
53 |
364 |
5 |
| rv770_startup |
|
22 |
88 |
473 |
1 |
| rv770_resume |
|
2 |
13 |
57 |
1 |
| rv770_suspend |
|
1 |
10 |
42 |
1 |
| rv770_init |
|
14 |
63 |
359 |
1 |
| rv770_fini |
|
1 |
19 |
92 |
1 |
| rv770_pcie_gen2_enable |
|
11 |
67 |
363 |
1 |
| Source file: ./sys/dev/pci/drm/radeon/r600_audio.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| radeon_dig_encoder |
|
12 |
19 |
66 |
1 |
| r600_audio_chipset_supported |
|
5 |
7 |
42 |
1 |
| r600_audio_status |
|
7 |
38 |
209 |
1 |
| r600_audio_update_hdmi |
|
9 |
22 |
146 |
1 |
| r600_audio_engine_enable |
|
5 |
16 |
80 |
2 |
| r600_audio_init |
|
3 |
12 |
76 |
1 |
| r600_audio_set_clock |
|
10 |
49 |
262 |
2 |
| r600_audio_fini |
|
2 |
6 |
25 |
1 |
| Source file: ./sys/dev/pci/drm/radeon/atombios.h |
| Source file: ./sys/dev/pci/drm/radeon/radeon_ring.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| radeon_ib_get |
|
5 |
28 |
186 |
5 |
| radeon_ib_free |
|
1 |
6 |
50 |
2 |
| radeon_ib_schedule |
|
13 |
50 |
356 |
3 |
| radeon_ib_pool_init |
|
5 |
23 |
102 |
1 |
| radeon_ib_pool_fini |
|
2 |
8 |
43 |
1 |
| radeon_ib_ring_tests |
|
5 |
22 |
114 |
1 |
| radeon_ring_write |
|
3 |
10 |
57 |
2 |
| radeon_ring_supports_scratch_reg |
|
4 |
12 |
39 |
2 |
| radeon_ring_free_size |
|
3 |
15 |
123 |
2 |
| radeon_ring_alloc |
|
6 |
23 |
146 |
3 |
| radeon_ring_lock |
|
2 |
11 |
59 |
3 |
| radeon_ring_commit |
|
2 |
9 |
71 |
2 |
| radeon_ring_unlock_commit |
|
1 |
5 |
29 |
2 |
| radeon_ring_undo |
|
1 |
4 |
17 |
1 |
| radeon_ring_unlock_undo |
|
1 |
5 |
27 |
2 |
| radeon_ring_force_activity |
|
3 |
12 |
70 |
2 |
| radeon_ring_lockup_update |
|
1 |
5 |
23 |
1 |
| radeon_ring_test_lockup |
|
5 |
22 |
133 |
2 |
| radeon_ring_backup |
|
8 |
41 |
257 |
3 |
| radeon_ring_restore |
|
5 |
16 |
95 |
4 |
| radeon_ring_init |
|
8 |
51 |
344 |
9 |
| radeon_ring_fini |
|
3 |
20 |
109 |
2 |
| radeon_debugfs_ring_info |
|
4 |
34 |
339 |
2 |
| radeon_debugfs_sa_info |
|
1 |
8 |
60 |
2 |
| radeon_debugfs_ring_init |
|
5 |
15 |
99 |
2 |
| radeon_debugfs_sa_init |
|
2 |
5 |
22 |
1 |
| Source file: ./sys/dev/pci/drm/radeon/rs100d.h |
| Source file: ./sys/dev/pci/drm/radeon/avivod.h |
| Source file: ./sys/dev/pci/drm/radeon/radeon_object.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| radeon_bo_clear_va |
|
1 |
7 |
41 |
1 |
| radeon_ttm_bo_destroy |
|
1 |
12 |
90 |
1 |
| radeon_ttm_bo_is_radeon_bo |
|
2 |
6 |
24 |
1 |
| radeon_ttm_placement_from_domain |
|
7 |
29 |
200 |
2 |
| radeon_bo_create |
|
7 |
46 |
324 |
7 |
| radeon_bo_kmap |
|
5 |
21 |
115 |
2 |
| radeon_bo_kunmap |
|
2 |
8 |
42 |
1 |
| radeon_bo_unref |
|
3 |
14 |
88 |
1 |
| radeon_bo_pin_restricted |
|
13 |
42 |
295 |
4 |
| radeon_bo_pin |
|
1 |
4 |
28 |
3 |
| radeon_bo_unpin |
|
5 |
17 |
123 |
1 |
| radeon_bo_evict_vram |
|
4 |
8 |
49 |
1 |
| radeon_bo_force_delete |
|
3 |
19 |
160 |
1 |
| radeon_bo_init |
|
3 |
15 |
144 |
1 |
| radeon_bo_fini |
|
1 |
4 |
14 |
1 |
| radeon_bo_list_add_object |
|
2 |
9 |
49 |
2 |
| radeon_bo_list_validate |
|
7 |
31 |
167 |
1 |
| radeon_bo_fbdev_mmap |
|
1 |
5 |
25 |
2 |
| radeon_bo_get_surface_reg |
|
8 |
42 |
256 |
1 |
| radeon_bo_clear_surface_reg |
|
2 |
11 |
68 |
1 |
| radeon_bo_set_tiling_flags |
|
20 |
57 |
255 |
3 |
| radeon_bo_get_tiling_flags |
|
3 |
10 |
48 |
3 |
| radeon_bo_check_tiling |
|
9 |
21 |
115 |
3 |
| radeon_bo_move_notify |
|
2 |
10 |
59 |
2 |
| radeon_bo_fault_reserve_notify |
|
7 |
31 |
237 |
1 |
| radeon_bo_wait |
|
4 |
15 |
123 |
3 |
| radeon_bo_reserve |
|
3 |
11 |
71 |
2 |
| Source file: ./sys/dev/pci/drm/radeon/evergreen.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| evergreen_tiling_fields |
|
13 |
30 |
218 |
5 |
| evergreen_fix_pci_max_read_req_size |
|
5 |
15 |
122 |
1 |
| dce4_is_in_vblank |
|
2 |
7 |
33 |
2 |
| dce4_is_counter_moving |
|
2 |
10 |
54 |
2 |
| dce4_wait_for_vblank |
|
9 |
20 |
115 |
2 |
| evergreen_pre_page_flip |
|
1 |
4 |
19 |
2 |
| evergreen_post_page_flip |
|
1 |
4 |
19 |
2 |
| evergreen_page_flip |
|
3 |
25 |
184 |
3 |
| evergreen_get_temp |
|
6 |
30 |
168 |
1 |
| sumo_get_temp |
|
1 |
6 |
31 |
1 |
| sumo_pm_init_profile |
|
2 |
39 |
448 |
1 |
| btc_pm_init_profile |
|
2 |
36 |
415 |
1 |
| evergreen_pm_misc |
|
13 |
30 |
263 |
1 |
| evergreen_pm_prepare |
|
2 |
15 |
87 |
1 |
| evergreen_pm_finish |
|
2 |
15 |
87 |
1 |
| evergreen_hpd_sense |
|
13 |
33 |
139 |
2 |
| evergreen_hpd_set_polarity |
|
13 |
58 |
228 |
2 |
| evergreen_hpd_init |
|
9 |
40 |
201 |
1 |
| evergreen_hpd_fini |
|
7 |
33 |
157 |
1 |
| evergreen_line_buffer_adjust |
|
23 |
63 |
291 |
4 |
| evergreen_get_number_of_dram_channels |
|
5 |
15 |
56 |
1 |
| evergreen_dram_bandwidth |
|
1 |
16 |
123 |
1 |
| evergreen_dram_bandwidth_for_display |
|
1 |
16 |
123 |
1 |
| evergreen_data_return_bandwidth |
|
1 |
16 |
117 |
1 |
| evergreen_dmif_request_bandwidth |
|
1 |
16 |
117 |
1 |
| evergreen_available_bandwidth |
|
1 |
7 |
46 |
1 |
| evergreen_average_bandwidth |
|
1 |
17 |
122 |
1 |
| evergreen_latency_watermark |
|
9 |
43 |
389 |
1 |
| evergreen_average_bandwidth_vs_dram_bandwidth_for_display |
|
2 |
8 |
34 |
1 |
| evergreen_average_bandwidth_vs_available_bandwidth |
|
2 |
8 |
34 |
1 |
| evergreen_check_latency_hiding |
|
4 |
22 |
117 |
1 |
| evergreen_program_watermarks |
|
10 |
89 |
711 |
4 |
| evergreen_bandwidth_update |
|
4 |
20 |
205 |
1 |
| evergreen_mc_wait_for_idle |
|
3 |
12 |
58 |
1 |
| evergreen_pcie_gart_tlb_flush |
|
4 |
19 |
96 |
1 |
| evergreen_pcie_gart_enable |
|
8 |
54 |
369 |
1 |
| evergreen_pcie_gart_disable |
|
1 |
19 |
126 |
1 |
| evergreen_pcie_gart_fini |
|
1 |
6 |
24 |
1 |
| evergreen_agp_enable |
|
1 |
22 |
133 |
1 |
| evergreen_mc_stop |
|
13 |
68 |
511 |
2 |
| evergreen_mc_resume |
|
14 |
72 |
569 |
2 |
| evergreen_mc_program |
|
10 |
66 |
546 |
1 |
| evergreen_ring_ib_execute |
|
4 |
27 |
242 |
2 |
| evergreen_cp_load_microcode |
|
6 |
24 |
172 |
1 |
| evergreen_cp_start |
|
4 |
49 |
350 |
1 |
| evergreen_cp_resume |
|
4 |
51 |
342 |
1 |
| evergreen_gpu_init |
|
50 |
483 |
4059 |
1 |
| evergreen_mc_init |
|
13 |
51 |
299 |
1 |
| evergreen_gpu_is_lockup |
|
2 |
16 |
87 |
2 |
| evergreen_gpu_soft_reset_gfx |
|
2 |
57 |
335 |
1 |
| evergreen_gpu_soft_reset_dma |
|
2 |
17 |
93 |
1 |
| evergreen_gpu_soft_reset |
|
7 |
22 |
137 |
2 |
| evergreen_asic_reset |
|
1 |
6 |
23 |
1 |
| evergreen_get_vblank_counter |
|
2 |
7 |
35 |
2 |
| evergreen_disable_interrupt_state |
|
7 |
51 |
366 |
1 |
| evergreen_irq_set |
|
41 |
185 |
1287 |
1 |
| evergreen_irq_ack |
|
35 |
126 |
1192 |
1 |
| evergreen_irq_disable |
|
1 |
7 |
29 |
1 |
| evergreen_irq_suspend |
|
1 |
5 |
19 |
1 |
| evergreen_get_ih_wptr |
|
3 |
17 |
130 |
1 |
| evergreen_irq_process |
|
91 |
343 |
2002 |
1 |
| evergreen_dma_fence_ring_emit |
|
1 |
14 |
149 |
2 |
| evergreen_dma_ring_ib_execute |
|
4 |
20 |
195 |
2 |
| evergreen_copy_dma |
|
7 |
53 |
364 |
5 |
| evergreen_startup |
|
29 |
102 |
549 |
1 |
| evergreen_resume |
|
3 |
15 |
73 |
1 |
| evergreen_suspend |
|
1 |
10 |
42 |
1 |
| evergreen_init |
|
18 |
71 |
411 |
1 |
| evergreen_fini |
|
1 |
20 |
97 |
1 |
| evergreen_pcie_gen2_enable |
|
11 |
49 |
253 |
1 |
| Source file: ./sys/dev/pci/drm/radeon/mkregtable.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| INIT_LIST_HEAD |
|
1 |
5 |
21 |
1 |
| __list_add |
|
1 |
8 |
43 |
3 |
| list_add |
|
1 |
4 |
25 |
2 |
| list_add_tail |
|
1 |
4 |
25 |
2 |
| __list_del |
|
1 |
5 |
26 |
2 |
| list_del |
|
1 |
6 |
40 |
1 |
| list_replace |
|
1 |
7 |
46 |
2 |
| list_replace_init |
|
1 |
6 |
26 |
2 |
| list_del_init |
|
1 |
5 |
25 |
1 |
| list_move |
|
1 |
5 |
32 |
2 |
| list_move_tail |
|
1 |
6 |
32 |
2 |
| list_is_last |
|
1 |
5 |
23 |
2 |
| list_empty |
|
1 |
4 |
17 |
1 |
| list_empty_careful |
|
2 |
5 |
34 |
1 |
| list_is_singular |
|
2 |
4 |
27 |
1 |
| __list_cut_position |
|
1 |
12 |
68 |
3 |
| list_cut_position |
|
6 |
13 |
70 |
3 |
| __list_splice |
|
1 |
10 |
62 |
3 |
| list_splice |
|
2 |
6 |
34 |
2 |
| list_splice_tail |
|
2 |
6 |
33 |
2 |
| list_splice_init |
|
2 |
8 |
40 |
2 |
| list_splice_tail_init |
|
2 |
8 |
40 |
2 |
| offset_new |
|
2 |
10 |
51 |
1 |
| table_offset_add |
|
1 |
4 |
27 |
2 |
| table_init |
|
1 |
7 |
35 |
1 |
| table_print |
|
5 |
23 |
145 |
1 |
| table_build |
|
2 |
17 |
146 |
1 |
| parser_auth |
|
12 |
68 |
418 |
2 |
| main |
|
3 |
15 |
88 |
2 |
| Source file: ./sys/dev/pci/drm/radeon/radeon_dp_auxch.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| radeon_dp_aux_transfer_native |
|
21 |
115 |
749 |
2 |
| Source file: ./sys/dev/pci/drm/radeon/rv250d.h |
| Source file: ./sys/dev/pci/drm/radeon/radeon_acpi.h |
| Source file: ./sys/dev/pci/drm/radeon/radeon_kms.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| radeondrm_probe |
|
3 |
8 |
39 |
3 |
| radeondrm_detach_kms |
|
4 |
17 |
115 |
2 |
| radeondrm_wsioctl |
|
3 |
19 |
106 |
5 |
| radeondrm_wsmmap |
|
1 |
4 |
20 |
3 |
| radeondrm_alloc_screen |
|
1 |
5 |
44 |
6 |
| radeondrm_free_screen |
|
1 |
4 |
20 |
2 |
| radeondrm_show_screen |
|
3 |
17 |
111 |
5 |
| radeondrm_doswitch |
|
5 |
20 |
195 |
1 |
| radeondrm_enter_ddb |
|
2 |
10 |
73 |
2 |
| radeondrm_setcolor |
|
2 |
16 |
148 |
5 |
| radeondrm_attach_kms |
|
34 |
137 |
1108 |
3 |
| radeondrm_forcedetach |
|
3 |
9 |
64 |
1 |
| radeondrm_attachhook |
|
8 |
57 |
405 |
1 |
| radeondrm_activate_kms |
|
6 |
22 |
105 |
2 |
| radeon_set_filp_rights |
|
6 |
16 |
93 |
4 |
| radeon_info_ioctl |
|
68 |
210 |
1281 |
3 |
| radeon_driver_firstopen_kms |
|
1 |
4 |
12 |
1 |
| radeon_driver_lastclose_kms |
|
4 |
9 |
60 |
1 |
| radeon_driver_open_kms |
|
6 |
36 |
209 |
2 |
| radeon_driver_postclose_kms |
|
6 |
23 |
139 |
2 |
| radeon_driver_preclose_kms |
|
3 |
9 |
51 |
2 |
| radeon_get_vblank_counter_kms |
|
3 |
9 |
55 |
2 |
| radeon_enable_vblank_kms |
|
3 |
15 |
99 |
2 |
| radeon_disable_vblank_kms |
|
3 |
13 |
89 |
2 |
| radeon_get_vblank_timestamp_kms |
|
4 |
18 |
106 |
5 |
| radeon_dma_ioctl_kms |
|
1 |
5 |
23 |
3 |
| Source file: ./sys/dev/pci/drm/radeon/ni.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ni_mc_load_microcode |
|
14 |
60 |
366 |
1 |
| ni_init_microcode |
|
21 |
120 |
643 |
1 |
| cayman_gpu_init |
|
50 |
278 |
2353 |
1 |
| cayman_pcie_gart_tlb_flush |
|
1 |
5 |
23 |
1 |
| cayman_pcie_gart_enable |
|
4 |
66 |
401 |
1 |
| cayman_pcie_gart_disable |
|
1 |
16 |
77 |
1 |
| cayman_pcie_gart_fini |
|
1 |
6 |
24 |
1 |
| cayman_cp_int_cntl_setup |
|
1 |
7 |
45 |
3 |
| cayman_fence_ring_emit |
|
1 |
19 |
170 |
2 |
| cayman_ring_ib_execute |
|
5 |
27 |
250 |
2 |
| cayman_cp_enable |
|
2 |
11 |
66 |
2 |
| cayman_cp_load_microcode |
|
5 |
21 |
155 |
1 |
| cayman_cp_start |
|
4 |
47 |
343 |
1 |
| cayman_cp_fini |
|
1 |
7 |
45 |
1 |
| cayman_cp_resume |
|
6 |
83 |
538 |
1 |
| cayman_dma_ring_ib_execute |
|
5 |
20 |
203 |
2 |
| cayman_dma_stop |
|
1 |
13 |
89 |
1 |
| cayman_dma_resume |
|
7 |
56 |
392 |
1 |
| cayman_dma_fini |
|
1 |
6 |
40 |
1 |
| cayman_gpu_soft_reset_gfx |
|
2 |
58 |
337 |
1 |
| cayman_gpu_soft_reset_dma |
|
2 |
20 |
121 |
1 |
| cayman_gpu_soft_reset |
|
7 |
30 |
193 |
2 |
| cayman_asic_reset |
|
1 |
6 |
23 |
1 |
| cayman_dma_is_lockup |
|
3 |
14 |
75 |
2 |
| cayman_startup |
|
35 |
131 |
729 |
1 |
| cayman_resume |
|
2 |
13 |
57 |
1 |
| cayman_suspend |
|
1 |
11 |
49 |
1 |
| cayman_init |
|
15 |
70 |
406 |
1 |
| cayman_fini |
|
2 |
21 |
105 |
1 |
| cayman_vm_init |
|
2 |
11 |
60 |
1 |
| cayman_vm_fini |
|
1 |
3 |
9 |
1 |
| cayman_vm_page_flags |
|
6 |
12 |
80 |
2 |
| cayman_vm_set_page |
|
12 |
56 |
360 |
6 |
| cayman_vm_flush |
|
2 |
14 |
133 |
3 |
| cayman_dma_vm_flush |
|
2 |
15 |
185 |
3 |
| Source file: ./sys/dev/pci/drm/radeon/radeon_fence.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| radeon_fence_write |
|
3 |
9 |
68 |
3 |
| radeon_fence_read |
|
3 |
11 |
73 |
2 |
| radeon_fence_emit |
|
2 |
16 |
124 |
3 |
| radeon_fence_process |
|
7 |
28 |
174 |
2 |
| radeon_fence_destroy |
|
1 |
6 |
31 |
1 |
| radeon_fence_seq_signaled |
|
3 |
12 |
69 |
3 |
| radeon_fence_signaled |
|
4 |
14 |
63 |
1 |
| radeon_fence_wait_seq |
|
20 |
75 |
460 |
5 |
| radeon_fence_wait |
|
3 |
15 |
75 |
2 |
| radeon_fence_any_seq_signaled |
|
4 |
10 |
58 |
2 |
| radeon_fence_wait_any_seq |
|
25 |
86 |
530 |
3 |
| radeon_fence_wait_any |
|
5 |
23 |
114 |
3 |
| radeon_fence_wait_next_locked |
|
2 |
9 |
68 |
2 |
| radeon_fence_wait_empty_locked |
|
3 |
14 |
80 |
2 |
| radeon_fence_ref |
|
1 |
5 |
20 |
1 |
| radeon_fence_unref |
|
2 |
8 |
38 |
1 |
| radeon_fence_count_emitted |
|
2 |
11 |
67 |
2 |
| radeon_fence_need_sync |
|
4 |
15 |
75 |
2 |
| radeon_fence_note_sync |
|
5 |
19 |
119 |
2 |
| radeon_fence_driver_start_ring |
|
5 |
26 |
233 |
2 |
| radeon_fence_driver_init_ring |
|
2 |
12 |
113 |
2 |
| radeon_fence_driver_init |
|
3 |
12 |
63 |
1 |
| radeon_fence_driver_fini |
|
4 |
17 |
112 |
1 |
| radeon_fence_driver_force_completion |
|
3 |
9 |
60 |
1 |
| radeon_debugfs_fence_info |
|
6 |
22 |
188 |
2 |
| radeon_debugfs_fence_init |
|
2 |
5 |
22 |
1 |
| Source file: ./sys/dev/pci/drm/radeon/r300_reg_safe.h |
| Source file: ./sys/dev/pci/drm/radeon/evergreen_reg_safe.h |
| Source file: ./sys/dev/pci/drm/radeon/radeon_trace.h |
| Source file: ./sys/dev/pci/drm/radeon/rn50_reg_safe.h |
| Source file: ./sys/dev/pci/drm/radeon/r600.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rv6xx_get_temp |
|
2 |
9 |
46 |
1 |
| r600_pm_get_dynpm_state |
|
39 |
158 |
1069 |
1 |
| rs780_pm_init_profile |
|
3 |
91 |
1153 |
1 |
| r600_pm_init_profile |
|
5 |
104 |
1288 |
1 |
| r600_pm_misc |
|
5 |
16 |
127 |
1 |
| r600_gui_idle |
|
2 |
7 |
25 |
1 |
| r600_hpd_sense |
|
20 |
52 |
215 |
2 |
| r600_hpd_set_polarity |
|
20 |
89 |
346 |
2 |
| r600_hpd_init |
|
14 |
57 |
272 |
1 |
| r600_hpd_fini |
|
11 |
49 |
219 |
1 |
| r600_pcie_gart_tlb_flush |
|
7 |
28 |
184 |
1 |
| r600_pcie_gart_init |
|
3 |
13 |
66 |
1 |
| r600_pcie_gart_enable |
|
4 |
51 |
370 |
1 |
| r600_pcie_gart_disable |
|
2 |
27 |
185 |
1 |
| r600_pcie_gart_fini |
|
1 |
6 |
24 |
1 |
| r600_agp_enable |
|
2 |
30 |
203 |
1 |
| r600_mc_wait_for_idle |
|
3 |
12 |
58 |
1 |
| r600_mc_program |
|
7 |
56 |
455 |
1 |
| r600_vram_gtt_location |
|
7 |
41 |
273 |
2 |
| r600_mc_init |
|
8 |
43 |
230 |
1 |
| r600_vram_scratch_init |
|
6 |
27 |
167 |
1 |
| r600_vram_scratch_fini |
|
3 |
14 |
87 |
1 |
| r600_gpu_soft_reset_gfx |
|
4 |
78 |
559 |
1 |
| r600_gpu_soft_reset_dma |
|
3 |
20 |
109 |
1 |
| r600_gpu_soft_reset |
|
7 |
22 |
137 |
2 |
| r600_gpu_is_lockup |
|
2 |
15 |
77 |
2 |
| r600_dma_is_lockup |
|
2 |
11 |
55 |
2 |
| r600_asic_reset |
|
1 |
6 |
23 |
1 |
| r6xx_remap_render_backend |
|
7 |
39 |
227 |
5 |
| r600_count_pipe_bits |
|
1 |
4 |
13 |
1 |
| r600_gpu_init |
|
57 |
367 |
2718 |
1 |
| r600_pciep_rreg |
|
1 |
8 |
46 |
2 |
| r600_pciep_wreg |
|
1 |
7 |
53 |
3 |
| r600_cp_stop |
|
1 |
7 |
48 |
1 |
| r600_init_microcode |
|
36 |
154 |
701 |
1 |
| r600_cp_load_microcode |
|
6 |
30 |
198 |
1 |
| r600_cp_start |
|
3 |
27 |
176 |
1 |
| r600_cp_resume |
|
4 |
44 |
318 |
1 |
| r600_ring_init |
|
3 |
16 |
103 |
3 |
| r600_cp_fini |
|
1 |
7 |
43 |
1 |
| r600_dma_stop |
|
1 |
8 |
50 |
1 |
| r600_dma_resume |
|
7 |
49 |
328 |
1 |
| r600_dma_fini |
|
1 |
5 |
27 |
1 |
| r600_scratch_init |
|
2 |
10 |
79 |
1 |
| r600_ring_test |
|
6 |
38 |
230 |
2 |
| r600_dma_ring_test |
|
6 |
38 |
227 |
2 |
| r600_fence_ring_emit |
|
3 |
39 |
360 |
2 |
| r600_semaphore_ring_emit |
|
3 |
13 |
87 |
4 |
| r600_dma_fence_ring_emit |
|
1 |
11 |
110 |
2 |
| r600_dma_semaphore_ring_emit |
|
2 |
11 |
75 |
4 |
| r600_copy_blit |
|
2 |
17 |
93 |
5 |
| r600_copy_dma |
|
7 |
53 |
370 |
5 |
| r600_set_surface_reg |
|
1 |
6 |
27 |
6 |
| r600_clear_surface_reg |
|
1 |
3 |
12 |
2 |
| r600_startup |
|
22 |
88 |
473 |
1 |
| r600_vga_set_state |
|
2 |
12 |
67 |
2 |
| r600_resume |
|
2 |
13 |
57 |
1 |
| r600_suspend |
|
1 |
10 |
42 |
1 |
| r600_init |
|
15 |
66 |
373 |
1 |
| r600_fini |
|
1 |
20 |
97 |
1 |
| r600_ring_ib_execute |
|
4 |
25 |
223 |
2 |
| r600_ib_test |
|
8 |
51 |
300 |
2 |
| r600_dma_ib_test |
|
8 |
49 |
312 |
2 |
| r600_dma_ring_ib_execute |
|
4 |
19 |
195 |
2 |
| r600_ih_ring_init |
|
1 |
9 |
65 |
2 |
| r600_ih_ring_alloc |
|
6 |
33 |
188 |
1 |
| r600_ih_ring_fini |
|
3 |
15 |
99 |
1 |
| r600_rlc_stop |
|
3 |
12 |
65 |
1 |
| r600_rlc_start |
|
1 |
4 |
16 |
1 |
| r600_rlc_init |
|
14 |
54 |
384 |
1 |
| r600_enable_interrupts |
|
1 |
10 |
55 |
1 |
| r600_disable_interrupts |
|
1 |
13 |
77 |
1 |
| r600_disable_interrupt_state |
|
3 |
51 |
365 |
1 |
| r600_irq_init |
|
7 |
43 |
273 |
1 |
| r600_irq_suspend |
|
1 |
5 |
19 |
1 |
| r600_irq_fini |
|
1 |
5 |
19 |
1 |
| r600_irq_set |
|
21 |
120 |
760 |
1 |
| r600_irq_ack |
|
24 |
113 |
853 |
1 |
| r600_irq_disable |
|
1 |
7 |
29 |
1 |
| r600_get_ih_wptr |
|
3 |
17 |
130 |
1 |
| r600_irq_process |
|
48 |
185 |
1060 |
1 |
| r600_debugfs_mc_info |
|
1 |
9 |
68 |
2 |
| r600_debugfs_mc_info_init |
|
2 |
5 |
25 |
1 |
| r600_ioctl_wait_idle |
|
5 |
11 |
83 |
2 |
| r600_set_pcie_lanes |
|
16 |
59 |
242 |
2 |
| r600_get_pcie_lanes |
|
10 |
26 |
105 |
1 |
| r600_pcie_gen2_enable |
|
23 |
94 |
525 |
1 |
| r600_get_gpu_clock |
|
1 |
10 |
61 |
1 |
| Source file: ./sys/dev/pci/drm/radeon/rs400.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rs400_gart_adjust_size |
|
8 |
20 |
93 |
1 |
| rs400_gart_tlb_flush |
|
3 |
14 |
71 |
1 |
| rs400_gart_init |
|
11 |
27 |
123 |
1 |
| rs400_gart_enable |
|
14 |
76 |
456 |
1 |
| rs400_gart_disable |
|
1 |
8 |
37 |
1 |
| rs400_gart_fini |
|
1 |
6 |
24 |
1 |
| rs400_gart_set_page |
|
3 |
14 |
94 |
3 |
| rs400_mc_wait_for_idle |
|
3 |
13 |
59 |
1 |
| rs400_gpu_init |
|
2 |
8 |
35 |
1 |
| rs400_mc_init |
|
1 |
14 |
104 |
1 |
| rs400_mc_rreg |
|
1 |
8 |
41 |
2 |
| rs400_mc_wreg |
|
1 |
6 |
46 |
3 |
| rs400_debugfs_gart_info |
|
3 |
67 |
522 |
2 |
| rs400_debugfs_pcie_gart_info_init |
|
2 |
5 |
22 |
1 |
| rs400_mc_program |
|
2 |
11 |
74 |
1 |
| rs400_startup |
|
8 |
38 |
198 |
1 |
| rs400_resume |
|
3 |
21 |
100 |
1 |
| rs400_suspend |
|
1 |
8 |
32 |
1 |
| rs400_fini |
|
1 |
14 |
67 |
1 |
| rs400_init |
|
11 |
52 |
253 |
1 |
| Source file: ./sys/dev/pci/drm/radeon/radeon_encoders.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| radeon_encoder_clones |
|
7 |
29 |
159 |
1 |
| radeon_setup_encoder_clones |
|
1 |
7 |
38 |
1 |
| radeon_get_encoder_enum |
|
29 |
69 |
294 |
3 |
| radeon_link_encoder_connector |
|
4 |
24 |
142 |
1 |
| radeon_encoder_set_active_device |
|
2 |
15 |
101 |
1 |
| radeon_get_connector_for_encoder |
|
2 |
13 |
76 |
1 |
| radeon_get_connector_for_encoder_init |
|
2 |
13 |
76 |
1 |
| radeon_get_external_encoder |
|
5 |
18 |
99 |
1 |
| radeon_encoder_get_dp_bridge_encoder_id |
|
4 |
15 |
62 |
1 |
| radeon_panel_mode_fixup |
|
3 |
37 |
311 |
2 |
| radeon_dig_monitor_is_duallink |
|
18 |
53 |
231 |
2 |
| Source file: ./sys/dev/pci/drm/radeon/r420_reg_safe.h |
| Source file: ./sys/dev/pci/drm/radeon/atom-names.h |
| Source file: ./sys/dev/pci/drm/radeon/radeon_devlist.h |
| Source file: ./sys/dev/pci/drm/radeon/rv350d.h |
| Source file: ./sys/dev/pci/drm/radeon/radeon_irq_kms.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| radeon_driver_irq_handler_kms |
|
2 |
8 |
44 |
1 |
| radeon_hotplug_work_func |
|
2 |
12 |
68 |
1 |
| radeon_driver_irq_preinstall_kms |
|
4 |
19 |
163 |
1 |
| radeon_driver_irq_postinstall_kms |
|
1 |
5 |
18 |
1 |
| radeon_driver_irq_uninstall_kms |
|
5 |
21 |
168 |
1 |
| radeon_msi_ok |
|
21 |
37 |
239 |
1 |
| radeon_irq_kms_init |
|
6 |
27 |
169 |
1 |
| radeon_irq_kms_fini |
|
5 |
11 |
62 |
1 |
| radeon_irq_kms_sw_irq_get |
|
3 |
11 |
75 |
2 |
| radeon_irq_kms_sw_irq_put |
|
3 |
11 |
73 |
2 |
| radeon_irq_kms_pflip_irq_get |
|
5 |
13 |
89 |
2 |
| radeon_irq_kms_pflip_irq_put |
|
5 |
13 |
87 |
2 |
| radeon_irq_kms_enable_afmt |
|
2 |
10 |
67 |
2 |
| radeon_irq_kms_disable_afmt |
|
2 |
10 |
67 |
2 |
| radeon_irq_kms_enable_hpd |
|
3 |
12 |
94 |
2 |
| radeon_irq_kms_disable_hpd |
|
3 |
12 |
93 |
2 |
| Source file: ./sys/dev/pci/drm/radeon/radeon_cs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| radeon_cs_parser_relocs |
|
9 |
55 |
470 |
1 |
| radeon_cs_get_ring |
|
9 |
34 |
163 |
3 |
| radeon_cs_sync_to |
|
2 |
9 |
57 |
2 |
| radeon_cs_sync_rings |
|
3 |
9 |
61 |
1 |
| radeon_cs_parser_init |
|
35 |
130 |
1159 |
2 |
| radeon_cs_parser_fini |
|
7 |
30 |
229 |
2 |
| radeon_cs_ib_chunk |
|
8 |
34 |
190 |
2 |
| radeon_bo_vm_update_pte |
|
3 |
20 |
124 |
2 |
| radeon_cs_ib_vm_chunk |
|
18 |
83 |
558 |
2 |
| radeon_cs_handle_lockup |
|
3 |
9 |
41 |
2 |
| radeon_cs_ioctl |
|
8 |
46 |
278 |
3 |
| radeon_cs_finish_pages |
|
5 |
18 |
125 |
1 |
| radeon_cs_update_pages |
|
11 |
36 |
297 |
2 |
| radeon_get_ib_value |
|
4 |
20 |
151 |
2 |
| Source file: ./sys/dev/pci/drm/radeon/nid.h |
| Source file: ./sys/dev/pci/drm/radeon/radeon_device.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| radeon_surface_init |
|
4 |
13 |
75 |
1 |
| radeon_scratch_init |
|
3 |
14 |
100 |
1 |
| radeon_scratch_get |
|
3 |
12 |
78 |
2 |
| radeon_scratch_free |
|
3 |
10 |
62 |
2 |
| radeon_wb_disable |
|
3 |
13 |
81 |
1 |
| radeon_wb_fini |
|
2 |
9 |
50 |
1 |
| radeon_wb_init |
|
13 |
54 |
368 |
1 |
| radeon_vram_location |
|
7 |
22 |
201 |
3 |
| radeon_gtt_location |
|
4 |
22 |
186 |
2 |
| radeon_card_posted |
|
13 |
40 |
208 |
1 |
| radeon_update_bandwidth_info |
|
2 |
15 |
141 |
1 |
| radeon_boot_test_post_card |
|
4 |
16 |
73 |
1 |
| radeon_dummy_page_init |
|
3 |
11 |
85 |
1 |
| radeon_dummy_page_fini |
|
2 |
8 |
50 |
1 |
| cail_pll_read |
|
1 |
7 |
40 |
2 |
| cail_pll_write |
|
1 |
5 |
37 |
3 |
| cail_mc_read |
|
1 |
7 |
40 |
2 |
| cail_mc_write |
|
1 |
5 |
37 |
3 |
| cail_reg_write |
|
1 |
5 |
35 |
3 |
| cail_reg_read |
|
1 |
7 |
38 |
2 |
| cail_ioreg_write |
|
1 |
5 |
35 |
3 |
| cail_ioreg_read |
|
1 |
7 |
38 |
2 |
| radeon_atombios_init |
|
3 |
28 |
176 |
1 |
| radeon_atombios_fini |
|
2 |
8 |
48 |
1 |
| radeon_combios_init |
|
1 |
5 |
19 |
1 |
| radeon_combios_fini |
|
1 |
3 |
9 |
1 |
| radeon_vga_set_decode |
|
2 |
10 |
44 |
2 |
| radeon_check_pot_argument |
|
1 |
4 |
20 |
1 |
| radeon_check_arguments |
|
10 |
32 |
144 |
1 |
| radeon_switcheroo_quirk_long_wakeup |
|
3 |
9 |
37 |
1 |
| radeon_switcheroo_set_state |
|
4 |
22 |
138 |
2 |
| radeon_switcheroo_can_switch |
|
1 |
9 |
51 |
1 |
| radeon_device_init |
|
32 |
116 |
814 |
2 |
| radeon_device_fini |
|
3 |
15 |
91 |
1 |
| radeon_suspend_kms |
|
17 |
65 |
363 |
1 |
| radeon_resume_kms |
|
8 |
41 |
220 |
1 |
| radeon_gpu_reset |
|
10 |
57 |
346 |
1 |
| radeon_debugfs_add_files |
|
5 |
28 |
163 |
3 |
| radeon_debugfs_remove_files |
|
3 |
12 |
83 |
1 |
| radeon_debugfs_init |
|
1 |
4 |
12 |
1 |
| radeon_debugfs_cleanup |
|
1 |
3 |
9 |
1 |
| Source file: ./sys/dev/pci/drm/radeon/radeon_combios.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| combios_get_table_offset |
|
76 |
231 |
866 |
2 |
| radeon_combios_check_hardcoded_edid |
|
4 |
22 |
133 |
1 |
| radeon_bios_get_hardcoded_edid |
|
3 |
14 |
76 |
1 |
| combios_setup_i2c_bus |
|
53 |
192 |
851 |
4 |
| radeon_combios_get_i2c_info_from_table |
|
4 |
24 |
169 |
1 |
| radeon_combios_i2c_init |
|
9 |
34 |
336 |
1 |
| radeon_combios_get_clock_info |
|
8 |
65 |
483 |
1 |
| radeon_combios_sideport_present |
|
4 |
13 |
62 |
1 |
| radeon_legacy_get_primary_dac_info_from_table |
|
1 |
6 |
27 |
2 |
| radeon_combios_get_primary_dac_info |
|
13 |
43 |
296 |
1 |
| radeon_combios_get_tv_info |
|
13 |
59 |
230 |
1 |
| radeon_legacy_get_tv_dac_info_from_table |
|
3 |
10 |
67 |
2 |
| radeon_combios_get_tv_dac_info |
|
13 |
75 |
599 |
1 |
| radeon_legacy_get_lvds_info_from_regs |
|
9 |
56 |
378 |
1 |
| radeon_combios_get_lvds_info |
|
20 |
93 |
774 |
1 |
| radeon_legacy_get_tmds_info_from_table |
|
2 |
13 |
97 |
2 |
| radeon_legacy_get_tmds_info_from_combios |
|
9 |
50 |
319 |
2 |
| radeon_legacy_get_ext_tmds_info_from_table |
|
3 |
18 |
101 |
2 |
| radeon_legacy_get_ext_tmds_info_from_combios |
|
5 |
39 |
245 |
2 |
| radeon_get_legacy_connector_info_from_table |
|
57 |
694 |
3149 |
1 |
| radeon_apply_legacy_quirks |
|
10 |
21 |
108 |
5 |
| radeon_apply_legacy_tv_quirks |
|
10 |
16 |
99 |
1 |
| combios_check_dl_dvi |
|
9 |
33 |
132 |
2 |
| radeon_get_legacy_connector_info_from_bios |
|
37 |
302 |
1204 |
1 |
| radeon_combios_get_power_modes |
|
37 |
175 |
1661 |
1 |
| radeon_external_tmds_setup |
|
4 |
30 |
132 |
1 |
| radeon_combios_external_tmds_setup |
|
18 |
128 |
660 |
1 |
| combios_parse_mmio_table |
|
15 |
76 |
331 |
2 |
| combios_parse_pll_table |
|
18 |
84 |
336 |
2 |
| combios_parse_ram_reset_table |
|
7 |
41 |
175 |
2 |
| combios_detect_ram |
|
4 |
23 |
133 |
3 |
| combios_write_ram_size |
|
14 |
54 |
275 |
1 |
| radeon_combios_asic_init |
|
19 |
45 |
267 |
1 |
| radeon_combios_initialize_bios_scratch_regs |
|
1 |
15 |
83 |
1 |
| radeon_combios_output_lock |
|
2 |
12 |
60 |
2 |
| radeon_combios_connected_scratch_regs |
|
19 |
98 |
463 |
3 |
| radeon_combios_encoder_crtc_scratch_regs |
|
7 |
32 |
193 |
2 |
| radeon_combios_encoder_dpms_scratch_regs |
|
9 |
32 |
155 |
2 |
| Source file: ./sys/dev/pci/drm/radeon/radeon_connectors.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| radeon_connector_hotplug |
|
8 |
28 |
177 |
1 |
| radeon_property_change_mode |
|
3 |
8 |
52 |
1 |
| radeon_get_monitor_bpc |
|
22 |
52 |
295 |
1 |
| radeon_connector_update_scratch_regs |
|
7 |
30 |
183 |
2 |
| radeon_find_encoder |
|
5 |
17 |
99 |
2 |
| radeon_best_single_encoder |
|
3 |
14 |
69 |
1 |
| radeon_connector_analog_encoder_conflict_solve |
|
8 |
37 |
205 |
4 |
| radeon_fp_native_mode |
|
6 |
21 |
158 |
1 |
| radeon_add_common_modes |
|
12 |
48 |
341 |
2 |
| radeon_connector_set_property |
|
30 |
105 |
601 |
3 |
| radeon_fixup_lvds_native_mode |
|
8 |
29 |
182 |
2 |
| radeon_lvds_get_modes |
|
6 |
30 |
156 |
1 |
| radeon_lvds_mode_valid |
|
9 |
20 |
134 |
2 |
| radeon_lvds_detect |
|
7 |
24 |
142 |
2 |
| radeon_connector_destroy |
|
2 |
10 |
54 |
1 |
| radeon_lvds_set_property |
|
8 |
29 |
165 |
3 |
| radeon_vga_get_modes |
|
1 |
7 |
32 |
1 |
| radeon_vga_mode_valid |
|
2 |
9 |
54 |
2 |
| radeon_vga_detect |
|
17 |
58 |
340 |
2 |
| radeon_tv_get_modes |
|
3 |
18 |
107 |
1 |
| radeon_tv_mode_valid |
|
3 |
7 |
38 |
2 |
| radeon_tv_detect |
|
4 |
20 |
114 |
2 |
| radeon_dvi_get_modes |
|
1 |
7 |
32 |
1 |
| radeon_check_hpd_status_unchanged |
|
5 |
17 |
95 |
1 |
| radeon_dvi_detect |
|
43 |
123 |
748 |
2 |
| radeon_dvi_encoder |
|
10 |
32 |
183 |
1 |
| radeon_dvi_force |
|
3 |
8 |
47 |
1 |
| radeon_dvi_mode_valid |
|
13 |
30 |
177 |
2 |
| radeon_dp_connector_destroy |
|
3 |
13 |
76 |
1 |
| radeon_dp_get_modes |
|
14 |
52 |
264 |
1 |
| radeon_connector_encoder_get_dp_bridge_encoder_id |
|
6 |
24 |
120 |
1 |
| radeon_connector_encoder_is_hbr2 |
|
5 |
20 |
114 |
1 |
| radeon_connector_is_dp12_capable |
|
4 |
11 |
57 |
1 |
| radeon_dp_detect |
|
21 |
63 |
381 |
2 |
| radeon_dp_mode_valid |
|
13 |
31 |
206 |
2 |
| radeon_add_atom_connector |
|
75 |
364 |
2082 |
9 |
| radeon_add_legacy_connector |
|
30 |
132 |
799 |
7 |
| Source file: ./sys/dev/pci/drm/radeon/radeon_i2c.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| radeon_ddc_probe |
|
5 |
33 |
163 |
2 |
| pre_xfer |
|
10 |
48 |
358 |
1 |
| post_xfer |
|
1 |
13 |
101 |
1 |
| get_clock |
|
1 |
10 |
61 |
1 |
| get_data |
|
1 |
10 |
61 |
1 |
| set_clock |
|
2 |
10 |
74 |
2 |
| set_data |
|
2 |
10 |
74 |
2 |
| radeon_bb_set_bits |
|
1 |
5 |
29 |
2 |
| radeon_bb_set_dir |
|
1 |
3 |
11 |
2 |
| radeon_bb_read_bits |
|
3 |
9 |
38 |
1 |
| radeon_acquire_bus |
|
1 |
5 |
21 |
2 |
| radeon_release_bus |
|
1 |
4 |
16 |
2 |
| radeon_send_start |
|
1 |
4 |
24 |
2 |
| radeon_send_stop |
|
1 |
4 |
24 |
2 |
| radeon_initiate_xfer |
|
1 |
4 |
29 |
3 |
| radeon_read_byte |
|
1 |
4 |
30 |
3 |
| radeon_write_byte |
|
1 |
4 |
29 |
3 |
| radeon_get_i2c_prescale |
|
48 |
80 |
362 |
1 |
| r100_hw_i2c_xfer |
|
47 |
230 |
1145 |
3 |
| r500_hw_i2c_xfer |
|
26 |
204 |
1278 |
3 |
| radeon_hw_i2c_xfer |
|
46 |
70 |
262 |
3 |
| radeon_hw_i2c_func |
|
1 |
4 |
14 |
1 |
| radeon_i2c_create |
|
18 |
74 |
553 |
3 |
| radeon_i2c_destroy |
|
3 |
9 |
43 |
1 |
| radeon_i2c_init |
|
3 |
9 |
35 |
1 |
| radeon_i2c_fini |
|
3 |
10 |
57 |
1 |
| radeon_i2c_add |
|
3 |
13 |
76 |
3 |
| radeon_i2c_lookup |
|
4 |
12 |
71 |
2 |
| radeon_best_encoder |
|
1 |
4 |
12 |
1 |
| radeon_i2c_get_byte |
|
2 |
31 |
146 |
4 |
| radeon_i2c_put_byte |
|
2 |
18 |
91 |
4 |
| radeon_router_select_ddc_port |
|
3 |
23 |
126 |
1 |
| radeon_router_select_cd_port |
|
3 |
23 |
126 |
1 |
| Source file: ./sys/dev/pci/drm/radeon/cayman_blit_shaders.h |
| Source file: ./sys/dev/pci/drm/radeon/r600_cs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| r600_fmt_is_valid_color |
|
3 |
8 |
34 |
1 |
| r600_fmt_is_valid_texture |
|
4 |
10 |
54 |
2 |
| r600_fmt_get_blocksize |
|
2 |
6 |
27 |
1 |
| r600_fmt_get_nblocksx |
|
3 |
10 |
54 |
2 |
| r600_fmt_get_nblocksy |
|
3 |
10 |
54 |
2 |
| r600_get_array_mode_alignment |
|
5 |
47 |
298 |
5 |
| r600_cs_track_init |
|
3 |
45 |
322 |
1 |
| r600_cs_track_validate_cb |
|
27 |
142 |
966 |
2 |
| r600_cs_track_validate_db |
|
29 |
164 |
1063 |
1 |
| r600_cs_track_check |
|
21 |
60 |
372 |
1 |
| r600_cs_packet_parse |
|
6 |
37 |
212 |
3 |
| r600_cs_packet_next_reloc_mm |
|
6 |
32 |
183 |
2 |
| r600_cs_packet_next_reloc_nomm |
|
6 |
34 |
218 |
2 |
| r600_cs_packet_next_is_pkt3_nop |
|
4 |
13 |
61 |
1 |
| r600_cs_packet_parse_vline |
|
13 |
76 |
508 |
1 |
| r600_packet0_check |
|
3 |
21 |
78 |
4 |
| r600_cs_parse_packet0 |
|
3 |
16 |
88 |
2 |
| r600_cs_check_reg |
|
186 |
410 |
2395 |
3 |
| r600_mip_minify |
|
2 |
8 |
41 |
2 |
| r600_texture_size |
|
8 |
40 |
292 |
13 |
| r600_check_texture_resource |
|
23 |
123 |
809 |
7 |
| r600_is_safe_reg |
|
3 |
14 |
103 |
3 |
| r600_packet3_check |
|
141 |
584 |
3828 |
2 |
| r600_cs_parse |
|
13 |
58 |
391 |
1 |
| r600_cs_parser_relocs_legacy |
|
3 |
11 |
55 |
1 |
| r600_cs_parser_fini |
|
4 |
14 |
113 |
2 |
| r600_cs_legacy |
|
7 |
49 |
310 |
6 |
| r600_cs_legacy_init |
|
1 |
4 |
11 |
1 |
| r600_dma_cs_next_reloc |
|
3 |
21 |
108 |
2 |
| r600_dma_cs_parse |
|
22 |
145 |
1352 |
1 |
| Source file: ./sys/dev/pci/drm/radeon/cayman_blit_shaders.c |
| Source file: ./sys/dev/pci/drm/radeon/cayman_reg_safe.h |
| Source file: ./sys/dev/pci/drm/radeon/r100.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| r100_is_in_vblank |
|
4 |
14 |
55 |
2 |
| r100_is_counter_moving |
|
3 |
15 |
97 |
2 |
| r100_wait_for_vblank |
|
11 |
25 |
135 |
2 |
| r100_pre_page_flip |
|
1 |
4 |
19 |
2 |
| r100_post_page_flip |
|
1 |
4 |
19 |
2 |
| r100_page_flip |
|
3 |
16 |
124 |
3 |
| r100_pm_get_dynpm_state |
|
18 |
77 |
515 |
1 |
| r100_pm_init_profile |
|
1 |
31 |
397 |
1 |
| r100_pm_misc |
|
23 |
83 |
508 |
1 |
| r100_pm_prepare |
|
3 |
21 |
108 |
1 |
| r100_pm_finish |
|
3 |
21 |
108 |
1 |
| r100_gui_idle |
|
2 |
7 |
25 |
1 |
| r100_hpd_sense |
|
5 |
17 |
67 |
2 |
| r100_hpd_set_polarity |
|
5 |
26 |
100 |
2 |
| r100_hpd_init |
|
1 |
12 |
82 |
1 |
| r100_hpd_fini |
|
1 |
11 |
71 |
1 |
| r100_pci_gart_tlb_flush |
|
1 |
3 |
9 |
1 |
| r100_pci_gart_init |
|
3 |
15 |
88 |
1 |
| r100_pci_gart_enable |
|
1 |
18 |
128 |
1 |
| r100_pci_gart_disable |
|
1 |
8 |
44 |
1 |
| r100_pci_gart_set_page |
|
3 |
9 |
61 |
3 |
| r100_pci_gart_fini |
|
1 |
6 |
24 |
1 |
| r100_irq_set |
|
9 |
28 |
168 |
1 |
| r100_irq_disable |
|
1 |
8 |
38 |
1 |
| r100_irq_ack |
|
2 |
11 |
48 |
1 |
| r100_irq_process |
|
17 |
60 |
326 |
1 |
| r100_get_vblank_counter |
|
2 |
7 |
31 |
2 |
| r100_fence_ring_emit |
|
1 |
20 |
189 |
2 |
| r100_semaphore_ring_emit |
|
1 |
7 |
26 |
4 |
| r100_copy_blit |
|
5 |
65 |
372 |
5 |
| r100_cp_wait_for_idle |
|
3 |
13 |
61 |
1 |
| r100_ring_start |
|
2 |
15 |
68 |
2 |
| r100_cp_init_microcode |
|
30 |
61 |
425 |
1 |
| r100_cp_load_microcode |
|
4 |
20 |
119 |
1 |
| r100_cp_init |
|
12 |
87 |
536 |
2 |
| r100_cp_fini |
|
2 |
10 |
60 |
1 |
| r100_cp_disable |
|
2 |
12 |
68 |
1 |
| r100_reloc_pitch_offset |
|
6 |
37 |
216 |
4 |
| r100_packet3_load_vbpntr |
|
7 |
61 |
481 |
3 |
| r100_cs_parse_packet0 |
|
9 |
39 |
223 |
5 |
| r100_cs_dump_packet |
|
2 |
12 |
75 |
2 |
| r100_cs_packet_parse |
|
6 |
37 |
215 |
3 |
| r100_cs_packet_parse_vline |
|
11 |
62 |
373 |
1 |
| r100_cs_packet_next_reloc |
|
6 |
34 |
199 |
2 |
| r100_get_vtx_size |
|
23 |
50 |
236 |
1 |
| r100_packet0_check |
|
107 |
333 |
2085 |
4 |
| r100_cs_track_check_pkt3_indx_buffer |
|
2 |
17 |
81 |
3 |
| r100_packet3_check |
|
27 |
109 |
702 |
2 |
| r100_cs_parse |
|
9 |
45 |
249 |
1 |
| r100_cs_track_texture_print |
|
1 |
16 |
126 |
1 |
| r100_track_compress_size |
|
4 |
26 |
118 |
3 |
| r100_cs_track_cube |
|
4 |
26 |
200 |
3 |
| r100_cs_track_texture_check |
|
21 |
77 |
558 |
2 |
| r100_cs_track_check |
|
29 |
129 |
897 |
2 |
| r100_cs_track_clear |
|
9 |
72 |
603 |
2 |
| r100_errata |
|
6 |
12 |
65 |
1 |
| r100_rbbm_fifo_wait_for_entry |
|
3 |
13 |
64 |
2 |
| r100_gui_wait_for_idle |
|
4 |
17 |
80 |
1 |
| r100_mc_wait_for_idle |
|
3 |
13 |
59 |
1 |
| r100_gpu_is_lockup |
|
2 |
11 |
57 |
2 |
| r100_enable_bm |
|
1 |
6 |
28 |
1 |
| r100_bm_disable |
|
2 |
14 |
92 |
1 |
| r100_asic_reset |
|
8 |
48 |
323 |
1 |
| r100_set_common_regs |
|
17 |
59 |
339 |
1 |
| r100_vram_get_type |
|
10 |
32 |
198 |
1 |
| r100_get_accessible_vram |
|
5 |
22 |
111 |
1 |
| r100_vram_init_sizes |
|
6 |
29 |
243 |
1 |
| r100_vga_set_state |
|
2 |
12 |
52 |
2 |
| r100_mc_init |
|
3 |
14 |
98 |
1 |
| r100_pll_errata_after_index |
|
2 |
7 |
35 |
1 |
| r100_pll_errata_after_data |
|
3 |
14 |
77 |
1 |
| r100_pll_rreg |
|
1 |
9 |
44 |
2 |
| r100_pll_wreg |
|
1 |
7 |
47 |
3 |
| r100_set_safe_registers |
|
3 |
12 |
83 |
1 |
| r100_debugfs_rbbm_info |
|
2 |
19 |
159 |
2 |
| r100_debugfs_cp_ring_info |
|
3 |
25 |
213 |
2 |
| r100_debugfs_cp_csq_fifo |
|
4 |
46 |
399 |
2 |
| r100_debugfs_mc_info |
|
1 |
28 |
213 |
2 |
| r100_debugfs_rbbm_init |
|
2 |
5 |
22 |
1 |
| r100_debugfs_cp_init |
|
2 |
5 |
22 |
1 |
| r100_debugfs_mc_info_init |
|
2 |
5 |
22 |
1 |
| r100_set_surface_reg |
|
13 |
40 |
248 |
6 |
| r100_clear_surface_reg |
|
1 |
5 |
28 |
2 |
| r100_bandwidth_update |
|
75 |
384 |
2743 |
1 |
| r100_ring_test |
|
6 |
38 |
204 |
2 |
| r100_ring_ib_execute |
|
2 |
12 |
97 |
2 |
| r100_ib_test |
|
8 |
57 |
348 |
2 |
| r100_mc_stop |
|
3 |
33 |
240 |
2 |
| r100_mc_resume |
|
3 |
13 |
98 |
2 |
| r100_vga_render_disable |
|
1 |
6 |
28 |
1 |
| r100_debugfs |
|
2 |
7 |
32 |
1 |
| r100_mc_program |
|
5 |
25 |
185 |
1 |
| r100_clock_startup |
|
5 |
11 |
84 |
1 |
| r100_startup |
|
9 |
39 |
203 |
1 |
| r100_resume |
|
4 |
21 |
103 |
1 |
| r100_suspend |
|
2 |
9 |
40 |
1 |
| r100_fini |
|
2 |
16 |
80 |
1 |
| r100_restore_sanity |
|
4 |
16 |
72 |
1 |
| r100_init |
|
15 |
63 |
309 |
1 |
| r100_mm_rreg |
|
3 |
17 |
103 |
3 |
| r100_mm_wreg |
|
3 |
15 |
101 |
4 |
| r100_io_rreg |
|
2 |
11 |
66 |
2 |
| r100_io_wreg |
|
2 |
11 |
71 |
3 |
| Source file: ./sys/dev/pci/drm/radeon/radeon_legacy_crtc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| radeon_overscan_setup |
|
1 |
10 |
75 |
2 |
| radeon_legacy_rmx_mode_set |
|
26 |
137 |
1009 |
2 |
| radeon_pll_wait_for_read_update_complete |
|
3 |
9 |
46 |
1 |
| radeon_pll_write_update |
|
2 |
8 |
39 |
1 |
| radeon_pll2_wait_for_read_update_complete |
|
3 |
9 |
46 |
1 |
| radeon_pll2_write_update |
|
2 |
8 |
39 |
1 |
| radeon_compute_pll_gain |
|
4 |
14 |
61 |
3 |
| radeon_crtc_dpms |
|
9 |
48 |
252 |
2 |
| radeon_crtc_set_base |
|
1 |
5 |
34 |
4 |
| radeon_crtc_set_base_atomic |
|
1 |
6 |
38 |
5 |
| radeon_crtc_do_set_base |
|
34 |
167 |
936 |
5 |
| radeon_set_crtc_timing |
|
24 |
135 |
773 |
2 |
| radeon_set_pll |
|
28 |
228 |
1121 |
2 |
| radeon_crtc_mode_fixup |
|
2 |
8 |
38 |
3 |
| radeon_crtc_mode_set |
|
3 |
19 |
110 |
6 |
| radeon_crtc_prepare |
|
1 |
9 |
59 |
1 |
| radeon_crtc_commit |
|
2 |
11 |
67 |
1 |
| radeon_legacy_init_crtc |
|
2 |
7 |
41 |
2 |
| Source file: ./sys/dev/pci/drm/radeon/radeon_object.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| radeon_mem_type_to_domain |
|
4 |
14 |
38 |
1 |
| radeon_bo_unreserve |
|
1 |
4 |
17 |
1 |
| radeon_bo_gpu_offset |
|
1 |
4 |
16 |
1 |
| radeon_bo_size |
|
1 |
4 |
19 |
1 |
| radeon_bo_is_reserved |
|
1 |
4 |
18 |
1 |
| radeon_bo_ngpu_pages |
|
1 |
4 |
23 |
1 |
| radeon_bo_gpu_page_alignment |
|
1 |
4 |
25 |
1 |
| radeon_bo_mmap_offset |
|
1 |
4 |
20 |
1 |
| radeon_sa_bo_gpu_addr |
|
1 |
4 |
20 |
1 |
| radeon_sa_bo_cpu_addr |
|
1 |
4 |
20 |
1 |
| Source file: ./sys/dev/pci/drm/radeon/rv515d.h |
| Source file: ./sys/dev/pci/drm/radeon/radeon_legacy_tv.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| radeon_legacy_tv_get_std_mode |
|
8 |
31 |
185 |
2 |
| radeon_wait_pll_lock |
|
4 |
20 |
153 |
4 |
| radeon_legacy_tv_write_fifo |
|
3 |
18 |
105 |
3 |
| radeon_legacy_tv_read_fifo |
|
3 |
17 |
101 |
2 |
| radeon_get_htiming_tables_addr |
|
4 |
19 |
83 |
1 |
| radeon_get_vtiming_tables_addr |
|
4 |
19 |
100 |
1 |
| radeon_restore_tv_timing_tables |
|
7 |
24 |
264 |
1 |
| radeon_legacy_write_tv_restarts |
|
1 |
9 |
71 |
1 |
| radeon_legacy_tv_init_restarts |
|
18 |
82 |
677 |
1 |
| radeon_legacy_tv_mode_set |
|
41 |
242 |
1643 |
3 |
| radeon_legacy_tv_adjust_crtc_reg |
|
2 |
24 |
200 |
5 |
| get_post_div |
|
9 |
16 |
93 |
1 |
| radeon_legacy_tv_adjust_pll1 |
|
2 |
15 |
114 |
5 |
| radeon_legacy_tv_adjust_pll2 |
|
2 |
15 |
110 |
5 |
| Source file: ./sys/dev/pci/drm/radeon/radeon_fb.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| radeon_align_pitch |
|
9 |
21 |
101 |
4 |
| radeonfb_destroy_pinned_object |
|
2 |
12 |
62 |
1 |
| radeonfb_create_pinned_object |
|
14 |
72 |
385 |
3 |
| radeonfb_create |
|
19 |
107 |
758 |
2 |
| radeon_fb_find_or_create_single |
|
3 |
14 |
66 |
2 |
| radeon_fb_output_poll_changed |
|
1 |
4 |
21 |
1 |
| radeon_fbdev_destroy |
|
5 |
21 |
124 |
2 |
| radeon_fbdev_init |
|
7 |
43 |
276 |
1 |
| radeon_fbdev_fini |
|
2 |
9 |
60 |
1 |
| radeon_fbdev_set_suspend |
|
2 |
4 |
27 |
2 |
| radeon_fbdev_total_size |
|
1 |
8 |
44 |
1 |
| radeon_fbdev_robj_is_fb |
|
2 |
6 |
37 |
2 |
| radeondrm_burner |
|
3 |
15 |
82 |
3 |
| radeondrm_burner_cb |
|
1 |
6 |
40 |
1 |
| Source file: ./sys/dev/pci/drm/radeon/radeon_trace_points.c |
| Source file: ./sys/dev/pci/drm/radeon/radeon_atombios.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| radeon_lookup_i2c_gpio_quirks |
|
15 |
32 |
211 |
3 |
| radeon_get_bus_rec_for_i2c_gpio |
|
4 |
35 |
312 |
1 |
| radeon_lookup_i2c_gpio |
|
4 |
27 |
186 |
2 |
| radeon_atombios_i2c_init |
|
4 |
25 |
195 |
1 |
| radeon_lookup_gpio |
|
4 |
29 |
208 |
2 |
| radeon_atom_get_hpd_info_from_gpio |
|
10 |
41 |
204 |
2 |
| radeon_atom_apply_quirks |
|
71 |
124 |
861 |
6 |
| radeon_get_atom_connector_info_from_object_table |
|
41 |
293 |
1592 |
1 |
| atombios_get_connector_object_id |
|
9 |
38 |
200 |
3 |
| radeon_get_atom_connector_info_from_supported_devices_table |
|
37 |
169 |
1093 |
1 |
| radeon_atom_get_clock_info |
|
18 |
121 |
779 |
1 |
| radeon_atombios_sideport_present |
|
7 |
29 |
154 |
1 |
| radeon_atombios_get_tmds_info |
|
4 |
44 |
311 |
2 |
| radeon_atombios_get_ppll_ss_info |
|
4 |
32 |
245 |
3 |
| radeon_atombios_get_igp_ss_overrides |
|
12 |
57 |
326 |
3 |
| radeon_atombios_get_asic_ss_info |
|
15 |
67 |
535 |
4 |
| radeon_atombios_get_lvds_info |
|
23 |
124 |
869 |
1 |
| radeon_atombios_get_primary_dac_info |
|
3 |
24 |
166 |
1 |
| radeon_atom_get_tv_timings |
|
17 |
82 |
650 |
3 |
| radeon_atombios_get_tv_info |
|
10 |
53 |
225 |
1 |
| radeon_atombios_get_tv_dac_info |
|
3 |
31 |
238 |
1 |
| radeon_atombios_parse_misc_flags_1_3 |
|
9 |
38 |
255 |
4 |
| radeon_atombios_parse_power_table_1_3 |
|
34 |
172 |
1659 |
1 |
| radeon_atombios_add_pplib_thermal_controller |
|
22 |
66 |
448 |
2 |
| radeon_atombios_get_default_voltages |
|
4 |
20 |
139 |
3 |
| radeon_atombios_parse_pplib_non_clock_info |
|
12 |
61 |
480 |
4 |
| radeon_atombios_parse_pplib_clock_info |
|
14 |
77 |
765 |
4 |
| radeon_atombios_parse_power_table_4_5 |
|
14 |
82 |
629 |
1 |
| radeon_atombios_parse_power_table_6 |
|
14 |
90 |
675 |
1 |
| radeon_atombios_get_power_modes |
|
12 |
57 |
432 |
1 |
| radeon_atom_set_clock_gating |
|
1 |
7 |
49 |
2 |
| radeon_atom_get_engine_clock |
|
1 |
7 |
48 |
1 |
| radeon_atom_get_memory_clock |
|
1 |
7 |
48 |
1 |
| radeon_atom_set_engine_clock |
|
1 |
8 |
52 |
2 |
| radeon_atom_set_memory_clock |
|
2 |
10 |
62 |
2 |
| radeon_atom_set_voltage |
|
6 |
31 |
198 |
3 |
| radeon_atom_get_max_vddc |
|
5 |
31 |
214 |
4 |
| radeon_atom_initialize_bios_scratch_regs |
|
4 |
23 |
124 |
1 |
| radeon_save_bios_scratch_regs |
|
3 |
11 |
63 |
1 |
| radeon_restore_bios_scratch_regs |
|
3 |
11 |
63 |
1 |
| radeon_atom_output_lock |
|
4 |
21 |
104 |
2 |
| radeon_atombios_connected_scratch_regs |
|
36 |
181 |
857 |
3 |
| radeon_atombios_encoder_crtc_scratch_regs |
|
12 |
49 |
282 |
2 |
| radeon_atombios_encoder_dpms_scratch_regs |
|
24 |
77 |
328 |
2 |
| Source file: ./sys/dev/pci/drm/radeon/evergreen_hdmi.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| evergreen_hdmi_update_ACR |
|
1 |
15 |
142 |
2 |
| evergreen_hdmi_infoframe_checksum |
|
2 |
11 |
66 |
4 |
| evergreen_hdmi_videoinfoframe |
|
1 |
63 |
520 |
18 |
| evergreen_hdmi_setmode |
|
4 |
48 |
298 |
2 |
| Source file: ./sys/dev/pci/drm/radeon/radeon_blit_common.h |
| Source file: ./sys/dev/pci/drm/radeon/rv770d.h |
| Source file: ./sys/dev/pci/drm/radeon/radeon_semaphore.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| radeon_semaphore_create |
|
3 |
20 |
138 |
2 |
| radeon_semaphore_emit_signal |
|
1 |
7 |
48 |
3 |
| radeon_semaphore_emit_wait |
|
1 |
7 |
48 |
3 |
| radeon_semaphore_sync_rings |
|
4 |
23 |
147 |
4 |
| radeon_semaphore_free |
|
4 |
15 |
86 |
3 |
| Source file: ./sys/dev/pci/drm/radeon/radeon_family.h |
| Source file: ./sys/dev/pci/drm/radeon/sid.h |
| Source file: ./sys/dev/pci/drm/radeon/radeon_bios.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| radeon_read_platform_bios |
|
11 |
31 |
182 |
1 |
| igp_read_bios_from_vram |
|
9 |
30 |
203 |
1 |
| radeon_read_bios |
|
7 |
37 |
258 |
1 |
| radeon_atrm_call |
|
2 |
24 |
186 |
4 |
| radeon_atrm_get_bios |
|
16 |
54 |
309 |
1 |
| radeon_atrm_get_bios |
|
1 |
4 |
12 |
1 |
| ni_read_disabled_bios |
|
1 |
31 |
168 |
1 |
| r700_read_disabled_bios |
|
5 |
52 |
303 |
1 |
| r600_read_disabled_bios |
|
1 |
66 |
377 |
1 |
| avivo_read_disabled_bios |
|
1 |
49 |
279 |
1 |
| legacy_read_disabled_bios |
|
10 |
67 |
382 |
1 |
| radeon_read_disabled_bios |
|
6 |
15 |
90 |
1 |
| radeon_acpi_vfct_bios |
|
10 |
41 |
289 |
1 |
| radeon_acpi_vfct_bios |
|
1 |
4 |
12 |
1 |
| radeon_get_bios |
|
15 |
48 |
299 |
1 |
| Source file: ./sys/dev/pci/drm/radeon/radeon_pm.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| radeon_pm_get_type_index |
|
4 |
15 |
80 |
3 |
| radeon_pm_acpi_event_handler |
|
3 |
11 |
63 |
1 |
| radeon_pm_update_profile |
|
13 |
50 |
299 |
1 |
| radeon_unmap_vram_bos |
|
3 |
10 |
68 |
1 |
| radeon_sync_with_vblank |
|
2 |
8 |
46 |
1 |
| radeon_set_power_state |
|
19 |
56 |
434 |
1 |
| radeon_pm_set_clocks |
|
13 |
48 |
354 |
1 |
| radeon_pm_print_states |
|
8 |
32 |
221 |
1 |
| radeon_get_pm_profile |
|
5 |
13 |
93 |
3 |
| radeon_set_pm_profile |
|
7 |
31 |
232 |
4 |
| radeon_get_pm_method |
|
2 |
10 |
69 |
3 |
| radeon_set_pm_method |
|
3 |
28 |
200 |
4 |
| radeon_hwmon_show_temp |
|
7 |
30 |
136 |
3 |
| radeon_hwmon_show_name |
|
1 |
6 |
26 |
3 |
| radeon_hwmon_init |
|
11 |
34 |
174 |
1 |
| radeon_hwmon_fini |
|
3 |
8 |
50 |
1 |
| radeon_pm_suspend |
|
3 |
10 |
69 |
1 |
| radeon_pm_resume |
|
11 |
34 |
291 |
1 |
| radeon_pm_init |
|
17 |
54 |
357 |
1 |
| radeon_pm_fini |
|
6 |
22 |
157 |
1 |
| radeon_pm_compute_clocks |
|
12 |
59 |
398 |
1 |
| radeon_pm_in_vbl |
|
6 |
17 |
120 |
1 |
| radeon_pm_debug_check_in_vbl |
|
4 |
9 |
47 |
2 |
| radeon_dynpm_idle_work_handler |
|
15 |
51 |
332 |
1 |
| radeon_debugfs_pm_info |
|
6 |
19 |
185 |
2 |
| radeon_debugfs_pm_init |
|
2 |
5 |
25 |
1 |
| Source file: ./sys/dev/pci/drm/radeon/atom.h |
| Source file: ./sys/dev/pci/drm/radeon/ni_reg.h |
| Source file: ./sys/dev/pci/drm/radeon/evergreen_blit_shaders.h |
| Source file: ./sys/dev/pci/drm/radeon/radeon_agp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| radeon_agp_init |
|
34 |
119 |
733 |
1 |
| radeon_agp_resume |
|
4 |
9 |
42 |
1 |
| radeon_agp_fini |
|
4 |
6 |
34 |
1 |
| radeon_agp_suspend |
|
1 |
4 |
14 |
1 |
| Source file: ./sys/dev/pci/drm/radeon/r200.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| r200_get_vtx_size_0 |
|
19 |
41 |
222 |
1 |
| r200_copy_dma |
|
5 |
41 |
259 |
5 |
| r200_get_vtx_size_1 |
|
3 |
12 |
63 |
1 |
| r200_packet0_check |
|
162 |
388 |
2203 |
4 |
| r200_set_safe_registers |
|
1 |
5 |
32 |
1 |
| Source file: ./sys/dev/pci/drm/radeon/r600_blit_kms.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| set_render_target |
|
4 |
40 |
386 |
5 |
| cp_set_surface_sync |
|
2 |
16 |
101 |
4 |
| set_shaders |
|
1 |
32 |
334 |
1 |
| set_vtx_resource |
|
7 |
27 |
195 |
2 |
| set_tex_resource |
|
2 |
31 |
221 |
7 |
| set_scissors |
|
1 |
17 |
240 |
5 |
| draw_auto |
|
2 |
16 |
126 |
1 |
| set_default_state |
|
19 |
167 |
803 |
1 |
| r600_blit_init |
|
15 |
89 |
711 |
1 |
| r600_blit_fini |
|
3 |
13 |
83 |
1 |
| r600_blit_create_rect |
|
7 |
37 |
197 |
4 |
| r600_blit_prepare_copy |
|
6 |
44 |
274 |
5 |
| r600_blit_done_copy |
|
2 |
14 |
95 |
4 |
| r600_kms_blit_copy |
|
2 |
48 |
336 |
5 |
| int2float |
|
2 |
9 |
62 |
1 |
| Source file: ./sys/dev/pci/drm/radeon/evergreen_blit_kms.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| set_render_target |
|
2 |
32 |
251 |
5 |
| cp_set_surface_sync |
|
3 |
21 |
144 |
4 |
| set_shaders |
|
1 |
20 |
185 |
1 |
| set_vtx_resource |
|
7 |
32 |
223 |
2 |
| set_tex_resource |
|
2 |
33 |
239 |
7 |
| set_scissors |
|
6 |
25 |
288 |
5 |
| draw_auto |
|
2 |
16 |
126 |
1 |
| set_default_state |
|
18 |
307 |
1503 |
1 |
| evergreen_blit_init |
|
19 |
104 |
865 |
1 |
| Source file: ./sys/dev/pci/drm/radeon/radeon_acpi.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| radeon_atif_call |
|
4 |
28 |
192 |
3 |
| radeon_atif_parse_notification |
|
1 |
12 |
84 |
2 |
| radeon_atif_parse_functions |
|
1 |
13 |
92 |
2 |
| radeon_atif_verify_interface |
|
3 |
26 |
167 |
2 |
| radeon_atif_get_notification_params |
|
7 |
44 |
263 |
2 |
| radeon_atif_get_sbios_requests |
|
3 |
23 |
141 |
2 |
| radeon_atif_handler |
|
9 |
38 |
218 |
2 |
| radeon_atcs_call |
|
4 |
28 |
192 |
3 |
| radeon_atcs_parse_functions |
|
1 |
7 |
44 |
2 |
| radeon_atcs_verify_interface |
|
3 |
25 |
155 |
2 |
| radeon_acpi_event |
|
3 |
15 |
91 |
3 |
| radeon_acpi_init |
|
17 |
63 |
344 |
1 |
| radeon_acpi_fini |
|
1 |
4 |
17 |
1 |
| Source file: ./sys/dev/pci/drm/radeon/r600_blit_shaders.c |
| Source file: ./sys/dev/pci/drm/radeon/rv515_reg_safe.h |
| Source file: ./sys/dev/pci/drm/radeon/evergreen_cs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| evergreen_cs_get_aray_mode |
|
3 |
9 |
30 |
1 |
| evergreen_cs_get_num_banks |
|
5 |
14 |
39 |
1 |
| evergreen_cs_track_init |
|
4 |
47 |
321 |
1 |
| evergreen_surface_check_linear |
|
1 |
10 |
62 |
3 |
| evergreen_surface_check_linear_aligned |
|
3 |
20 |
134 |
3 |
| evergreen_surface_check_1d |
|
5 |
29 |
201 |
3 |
| evergreen_surface_check_2d |
|
6 |
38 |
293 |
3 |
| evergreen_surface_check |
|
5 |
21 |
119 |
3 |
| evergreen_surface_value_conv_check |
|
28 |
71 |
490 |
3 |
| evergreen_cs_track_validate_cb |
|
13 |
87 |
710 |
2 |
| evergreen_cs_track_validate_htile |
|
8 |
49 |
324 |
3 |
| evergreen_cs_track_validate_stencil |
|
11 |
82 |
592 |
1 |
| evergreen_cs_track_validate_depth |
|
12 |
85 |
579 |
1 |
| evergreen_cs_track_validate_texture |
|
28 |
161 |
1169 |
4 |
| evergreen_cs_track_check |
|
23 |
69 |
436 |
1 |
| evergreen_cs_packet_parse |
|
6 |
37 |
212 |
3 |
| evergreen_cs_packet_next_reloc |
|
6 |
32 |
183 |
2 |
| evergreen_cs_packet_next_is_pkt3_nop |
|
4 |
13 |
61 |
1 |
| evergreen_cs_packet_parse_vline |
|
12 |
76 |
514 |
1 |
| evergreen_packet0_check |
|
3 |
21 |
78 |
4 |
| evergreen_cs_parse_packet0 |
|
3 |
16 |
88 |
2 |
| evergreen_cs_check_reg |
|
308 |
656 |
3648 |
3 |
| evergreen_is_safe_reg |
|
6 |
23 |
157 |
3 |
| evergreen_packet3_check |
|
167 |
699 |
4545 |
2 |
| evergreen_cs_parse |
|
24 |
102 |
507 |
1 |
| evergreen_dma_cs_parse |
|
62 |
397 |
3728 |
1 |
| evergreen_vm_reg_valid |
|
109 |
118 |
358 |
1 |
| evergreen_vm_packet3_check |
|
75 |
140 |
718 |
3 |
| evergreen_ib_parse |
|
6 |
33 |
188 |
2 |
| evergreen_dma_ib_parse |
|
20 |
88 |
335 |
2 |
| Source file: ./sys/dev/pci/drm/radeon/r520.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| r520_mc_wait_for_idle |
|
3 |
13 |
59 |
1 |
| r520_gpu_init |
|
3 |
19 |
116 |
1 |
| r520_vram_get_type |
|
6 |
26 |
126 |
1 |
| r520_mc_init |
|
2 |
10 |
65 |
1 |
| r520_mc_program |
|
3 |
26 |
196 |
1 |
| r520_startup |
|
9 |
38 |
198 |
1 |
| r520_resume |
|
4 |
21 |
105 |
1 |
| r520_init |
|
15 |
63 |
314 |
1 |
| Source file: ./sys/dev/pci/drm/radeon/r100_track.h |
| Source file: ./sys/dev/pci/drm/radeon/radeon_gem.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| radeon_gem_object_free |
|
4 |
9 |
53 |
1 |
| radeon_gem_object_create |
|
6 |
37 |
221 |
7 |
| radeon_gem_set_domain |
|
5 |
24 |
101 |
3 |
| radeon_gem_init |
|
1 |
5 |
22 |
1 |
| radeon_gem_fini |
|
1 |
4 |
14 |
1 |
| radeon_gem_object_open |
|
4 |
24 |
134 |
2 |
| radeon_gem_object_close |
|
5 |
26 |
139 |
2 |
| radeon_gem_handle_lockup |
|
3 |
9 |
41 |
2 |
| radeon_gem_info_ioctl |
|
3 |
18 |
153 |
3 |
| radeon_gem_pread_ioctl |
|
1 |
6 |
29 |
3 |
| radeon_gem_pwrite_ioctl |
|
1 |
6 |
29 |
3 |
| radeon_gem_create_ioctl |
|
3 |
29 |
178 |
3 |
| radeon_gem_set_domain_ioctl |
|
2 |
21 |
137 |
3 |
| radeon_mode_dumb_mmap |
|
2 |
15 |
77 |
4 |
| radeon_gem_mmap_ioctl |
|
1 |
6 |
42 |
3 |
| radeon_gem_busy_ioctl |
|
5 |
31 |
154 |
3 |
| radeon_gem_wait_idle_ioctl |
|
3 |
20 |
128 |
3 |
| radeon_gem_set_tiling_ioctl |
|
2 |
16 |
102 |
3 |
| radeon_gem_get_tiling_ioctl |
|
3 |
21 |
126 |
3 |
| radeon_gem_va_ioctl |
|
15 |
91 |
483 |
3 |
| radeon_mode_dumb_create |
|
3 |
25 |
158 |
3 |
| radeon_mode_dumb_destroy |
|
1 |
6 |
25 |
3 |
| Source file: ./sys/dev/pci/drm/radeon/rs690d.h |
| Source file: ./sys/dev/pci/drm/radeon/radeon_clocks.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| radeon_legacy_get_engine_clock |
|
5 |
22 |
130 |
1 |
| radeon_legacy_get_memory_clock |
|
5 |
22 |
130 |
1 |
| radeon_read_clocks_OF |
|
10 |
60 |
410 |
1 |
| radeon_read_clocks_OF |
|
1 |
4 |
12 |
1 |
| radeon_read_clocks_OF |
|
9 |
53 |
402 |
1 |
| radeon_read_clocks_OF |
|
1 |
4 |
12 |
1 |
| radeon_get_clock_info |
|
20 |
148 |
909 |
1 |
| calc_eng_mem_clock |
|
5 |
31 |
168 |
4 |
| radeon_legacy_set_engine_clock |
|
6 |
64 |
339 |
2 |
| radeon_legacy_set_clock_gating |
|
38 |
383 |
1705 |
2 |
| Source file: ./sys/dev/pci/drm/radeon/rs400d.h |
| Source file: ./sys/dev/pci/drm/radeon/radeon_test.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| radeon_do_test_moves |
|
36 |
185 |
1091 |
2 |
| radeon_test_moves |
|
3 |
7 |
43 |
1 |
| radeon_test_ring_sync |
|
14 |
75 |
417 |
3 |
| radeon_test_ring_sync2 |
|
23 |
98 |
553 |
4 |
| radeon_test_syncing |
|
7 |
35 |
295 |
1 |
| Source file: ./sys/dev/pci/drm/radeon/evergreen_reg.h |
| Source file: ./sys/dev/pci/drm/radeon/r420.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| r420_pm_init_profile |
|
1 |
31 |
397 |
1 |
| r420_set_reg_safe |
|
1 |
5 |
32 |
1 |
| r420_pipes_init |
|
12 |
62 |
332 |
1 |
| r420_mc_rreg |
|
1 |
7 |
35 |
2 |
| r420_mc_wreg |
|
1 |
6 |
37 |
3 |
| r420_debugfs |
|
3 |
9 |
37 |
1 |
| r420_clock_resume |
|
4 |
11 |
74 |
1 |
| r420_cp_errata_init |
|
1 |
10 |
84 |
1 |
| r420_cp_errata_fini |
|
1 |
9 |
70 |
1 |
| r420_startup |
|
11 |
45 |
232 |
1 |
| r420_resume |
|
6 |
27 |
136 |
1 |
| r420_suspend |
|
3 |
12 |
58 |
1 |
| r420_fini |
|
4 |
22 |
109 |
1 |
| r420_init |
|
20 |
76 |
363 |
1 |
| r420_debugfs_pipes_info |
|
1 |
14 |
101 |
2 |
| r420_debugfs_pipes_info_init |
|
2 |
5 |
22 |
1 |
| Source file: ./sys/dev/pci/drm/radeon/r600d.h |
| Source file: ./sys/dev/pci/drm/drm_edid.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| drm_eld_mnl |
|
1 |
4 |
22 |
1 |
| drm_eld_sad |
|
4 |
11 |
68 |
1 |
| drm_eld_sad_count |
|
1 |
5 |
22 |
1 |
| drm_eld_calc_baseline_block_size |
|
1 |
5 |
26 |
1 |
| drm_eld_size |
|
1 |
4 |
19 |
1 |
| Source file: ./sys/dev/pci/drm/radeon/radeon_sa.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| radeon_sa_bo_manager_init |
|
3 |
23 |
148 |
5 |
| radeon_sa_bo_manager_fini |
|
3 |
17 |
105 |
2 |
| radeon_sa_bo_manager_start |
|
4 |
23 |
140 |
2 |
| radeon_sa_bo_manager_suspend |
|
3 |
16 |
82 |
2 |
| radeon_sa_bo_remove_locked |
|
2 |
11 |
70 |
1 |
| radeon_sa_bo_try_free |
|
4 |
13 |
88 |
1 |
| radeon_sa_bo_hole_soffset |
|
2 |
8 |
45 |
1 |
| radeon_sa_bo_hole_eoffset |
|
2 |
8 |
51 |
1 |
| radeon_sa_bo_try_alloc |
|
2 |
20 |
130 |
4 |
| radeon_sa_event |
|
4 |
18 |
109 |
3 |
| radeon_sa_bo_next_hole |
|
9 |
44 |
244 |
3 |
| radeon_sa_bo_new |
|
12 |
55 |
379 |
6 |
| radeon_sa_bo_free |
|
5 |
20 |
135 |
3 |
| radeon_sa_bo_dump_debug_info |
|
3 |
21 |
139 |
2 |
| Source file: ./sys/dev/pci/drm/drm_trace.h |
| Source file: ./sys/dev/pci/drm/drm_global.h |
| Source file: ./sys/dev/pci/drm/drm_mipi_dsi.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| to_mipi_dsi_device |
|
1 |
4 |
20 |
1 |
| to_mipi_dsi_driver |
|
1 |
4 |
20 |
1 |
| mipi_dsi_get_drvdata |
|
1 |
4 |
19 |
1 |
| mipi_dsi_set_drvdata |
|
1 |
4 |
23 |
2 |
| Source file: ./sys/dev/pci/drm/radeon/radeon_ttm.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| radeon_get_rdev |
|
1 |
8 |
46 |
1 |
| radeon_ttm_mem_global_init |
|
1 |
4 |
17 |
1 |
| radeon_ttm_mem_global_release |
|
1 |
4 |
16 |
1 |
| radeon_ttm_global_init |
|
3 |
32 |
189 |
1 |
| radeon_ttm_global_fini |
|
2 |
8 |
49 |
1 |
| radeon_invalidate_caches |
|
1 |
4 |
15 |
2 |
| radeon_init_mem_type |
|
10 |
44 |
238 |
3 |
| radeon_evict_flags |
|
5 |
28 |
153 |
2 |
| radeon_verify_access |
|
1 |
4 |
17 |
2 |
| radeon_move_null |
|
1 |
8 |
45 |
2 |
| radeon_move_blit |
|
6 |
49 |
269 |
5 |
| radeon_move_vram_ram |
|
5 |
43 |
248 |
5 |
| radeon_move_ram_vram |
|
4 |
38 |
211 |
5 |
| radeon_bo_move |
|
14 |
41 |
253 |
5 |
| radeon_ttm_io_mem_reserve |
|
10 |
43 |
328 |
2 |
| radeon_ttm_io_mem_free |
|
1 |
3 |
14 |
2 |
| radeon_sync_obj_wait |
|
1 |
4 |
27 |
3 |
| radeon_sync_obj_flush |
|
1 |
4 |
11 |
1 |
| radeon_sync_obj_unref |
|
1 |
4 |
18 |
1 |
| radeon_sync_obj_ref |
|
1 |
4 |
19 |
1 |
| radeon_sync_obj_signaled |
|
1 |
4 |
19 |
1 |
| radeon_ttm_backend_bind |
|
3 |
19 |
124 |
2 |
| radeon_ttm_backend_unbind |
|
1 |
6 |
38 |
1 |
| radeon_ttm_backend_destroy |
|
1 |
8 |
57 |
1 |
| radeon_ttm_tt_create |
|
6 |
32 |
232 |
4 |
| radeon_ttm_tt_populate |
|
14 |
47 |
328 |
1 |
| radeon_ttm_tt_unpopulate |
|
7 |
22 |
137 |
1 |
| radeon_ttm_init |
|
11 |
62 |
398 |
1 |
| radeon_ttm_fini |
|
4 |
21 |
129 |
1 |
| radeon_ttm_set_active_vram_size |
|
2 |
8 |
51 |
2 |
| radeon_ttm_fault |
|
1 |
15 |
114 |
8 |
| radeon_mmap |
|
6 |
23 |
138 |
3 |
| radeon_mm_dump_table |
|
1 |
13 |
107 |
2 |
| radeon_ttm_debugfs_init |
|
7 |
33 |
277 |
1 |
| Source file: ./sys/dev/pci/drm/drm_pciids.h |
| Source file: ./sys/dev/pci/drm/drm_dp_helper.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| drm_dp_max_link_rate |
|
1 |
4 |
20 |
1 |
| drm_dp_max_lane_count |
|
1 |
4 |
19 |
1 |
| drm_dp_enhanced_frame_cap |
|
2 |
5 |
28 |
1 |
| drm_dp_tps3_supported |
|
2 |
5 |
26 |
1 |
| drm_dp_dpcd_readb |
|
1 |
5 |
29 |
3 |
| drm_dp_dpcd_writeb |
|
1 |
5 |
29 |
3 |
| Source file: ./sys/dev/pci/drm/drm_fourcc.h |
| Source file: ./sys/dev/pci/drm/radeon/r600_reg_safe.h |
| Source file: ./sys/dev/pci/drm/drm_modes.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| drm_mode_is_stereo |
|
1 |
4 |
17 |
1 |
| Source file: ./sys/dev/pci/drm/linux_types.h |
| Source file: ./sys/dev/pci/drm/drm_plane_helper.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| get_connectors_for_crtc |
|
5 |
17 |
98 |
3 |
| drm_plane_helper_check_update |
|
10 |
40 |
209 |
11 |
| drm_primary_helper_update |
|
4 |
55 |
323 |
11 |
| drm_primary_helper_disable |
|
1 |
4 |
13 |
1 |
| drm_primary_helper_destroy |
|
1 |
5 |
19 |
1 |
| create_primary_plane |
|
3 |
21 |
93 |
1 |
| drm_crtc_init |
|
1 |
7 |
46 |
3 |
| drm_plane_helper_commit |
|
26 |
64 |
459 |
3 |
| drm_plane_helper_update |
|
4 |
30 |
179 |
11 |
| drm_plane_helper_disable |
|
5 |
19 |
105 |
1 |
| Source file: ./sys/dev/pci/drm/drm_modeset_lock.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| drm_modeset_lock_init |
|
1 |
5 |
28 |
1 |
| drm_modeset_lock_fini |
|
1 |
4 |
21 |
1 |
| drm_modeset_is_locked |
|
1 |
4 |
18 |
1 |
| Source file: ./sys/dev/pci/drm/drm_linux_rbtree.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rb_link_node |
|
1 |
8 |
52 |
3 |
| rb_replace_node |
|
5 |
18 |
101 |
3 |
| Source file: ./sys/dev/pci/drm/drm_modes.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| drm_mode_debug_printmodeline |
|
1 |
10 |
74 |
1 |
| drm_mode_create |
|
3 |
12 |
62 |
1 |
| drm_mode_destroy |
|
2 |
7 |
36 |
2 |
| drm_mode_probed_add |
|
1 |
6 |
43 |
2 |
| drm_cvt_mode |
|
24 |
112 |
771 |
7 |
| drm_gtf_mode_complex |
|
13 |
97 |
587 |
10 |
| drm_gtf_mode |
|
1 |
7 |
52 |
6 |
| drm_display_mode_from_videomode |
|
8 |
29 |
224 |
2 |
| drm_display_mode_to_videomode |
|
8 |
28 |
219 |
2 |
| of_get_drm_display_mode |
|
2 |
14 |
81 |
3 |
| drm_mode_set_name |
|
2 |
7 |
47 |
1 |
| drm_mode_hsync |
|
3 |
12 |
61 |
1 |
| drm_mode_vrefresh |
|
7 |
21 |
128 |
1 |
| drm_mode_set_crtcinfo |
|
11 |
55 |
381 |
2 |
| drm_mode_copy |
|
1 |
8 |
52 |
2 |
| drm_mode_duplicate |
|
2 |
10 |
45 |
2 |
| drm_mode_equal |
|
10 |
16 |
112 |
2 |
| drm_mode_equal_no_clocks_no_stereo |
|
12 |
18 |
120 |
2 |
| drm_mode_validate_basic |
|
10 |
16 |
94 |
1 |
| drm_mode_validate_size |
|
5 |
9 |
49 |
3 |
| drm_get_mode_status_name |
|
3 |
7 |
40 |
1 |
| drm_mode_prune_invalid |
|
3 |
17 |
89 |
3 |
| drm_mode_compare |
|
4 |
18 |
139 |
3 |
| drm_mode_sort |
|
1 |
4 |
18 |
1 |
| drm_mode_connector_list_update |
|
4 |
28 |
159 |
2 |
| drm_mode_parse_command_line_for_connector |
|
70 |
136 |
702 |
3 |
| drm_mode_create_from_cmdline_mode |
|
7 |
28 |
157 |
2 |
| drm_mode_convert_to_umode |
|
10 |
26 |
216 |
2 |
| drm_mode_convert_umode |
|
5 |
34 |
232 |
2 |
| Source file: ./sys/dev/pci/drm/i915_pciids.h |
| Source file: ./sys/dev/pci/drm/drm_rect.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| drm_rect_adjust_size |
|
1 |
7 |
59 |
3 |
| drm_rect_translate |
|
1 |
7 |
39 |
3 |
| drm_rect_downscale |
|
1 |
7 |
39 |
3 |
| drm_rect_width |
|
1 |
4 |
19 |
1 |
| drm_rect_height |
|
1 |
4 |
19 |
1 |
| drm_rect_visible |
|
2 |
4 |
25 |
1 |
| drm_rect_equals |
|
4 |
6 |
49 |
2 |
| Source file: ./sys/dev/pci/drm/drm_modeset_lock.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| drm_modeset_lock_all |
|
5 |
28 |
146 |
1 |
| drm_modeset_unlock_all |
|
2 |
12 |
69 |
1 |
| drm_modeset_lock_crtc |
|
8 |
32 |
161 |
2 |
| drm_modeset_legacy_acquire_ctx |
|
2 |
7 |
41 |
1 |
| drm_modeset_unlock_crtc |
|
2 |
10 |
49 |
1 |
| drm_warn_on_modeset_not_all_locked |
|
2 |
10 |
66 |
1 |
| drm_modeset_acquire_init |
|
1 |
7 |
44 |
2 |
| drm_modeset_acquire_fini |
|
1 |
4 |
17 |
1 |
| drm_modeset_drop_locks |
|
2 |
10 |
54 |
1 |
| modeset_lock |
|
10 |
32 |
218 |
4 |
| modeset_backoff |
|
2 |
10 |
55 |
2 |
| drm_modeset_backoff |
|
1 |
4 |
16 |
1 |
| drm_modeset_backoff_interruptible |
|
1 |
4 |
17 |
1 |
| drm_modeset_lock |
|
2 |
8 |
43 |
2 |
| drm_modeset_lock_interruptible |
|
2 |
7 |
41 |
2 |
| drm_modeset_unlock |
|
1 |
5 |
25 |
1 |
| drm_modeset_lock_all_crtcs |
|
3 |
18 |
86 |
2 |
| Source file: ./sys/dev/pci/drm/drm_agpsupport.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| drm_agp_info |
|
3 |
18 |
137 |
2 |
| drm_agp_acquire |
|
4 |
11 |
64 |
1 |
| drm_agp_release |
|
3 |
8 |
51 |
1 |
| drm_agp_enable |
|
4 |
10 |
81 |
2 |
| drm_agp_takedown |
|
2 |
7 |
32 |
1 |
| drm_agp_init |
|
4 |
21 |
128 |
1 |
| Source file: ./sys/dev/pci/drm/drm_fb_helper.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| drm_fb_helper_prepare |
|
1 |
5 |
20 |
3 |
| drm_fb_helper_init |
|
1 |
6 |
23 |
4 |
| drm_fb_helper_fini |
|
1 |
3 |
9 |
1 |
| drm_fb_helper_blank |
|
1 |
4 |
15 |
2 |
| drm_fb_helper_pan_display |
|
1 |
5 |
17 |
2 |
| drm_fb_helper_set_par |
|
1 |
4 |
12 |
1 |
| drm_fb_helper_check_var |
|
1 |
5 |
17 |
2 |
| drm_fb_helper_restore_fbdev_mode_unlocked |
|
1 |
4 |
12 |
1 |
| drm_fb_helper_alloc_fbi |
|
1 |
4 |
12 |
1 |
| drm_fb_helper_unregister_fbi |
|
1 |
3 |
9 |
1 |
| drm_fb_helper_release_fbi |
|
1 |
3 |
9 |
1 |
| drm_fb_helper_fill_var |
|
1 |
5 |
20 |
4 |
| drm_fb_helper_fill_fix |
|
1 |
4 |
15 |
3 |
| drm_fb_helper_setcmap |
|
1 |
5 |
17 |
2 |
| drm_fb_helper_unlink_fbi |
|
1 |
3 |
9 |
1 |
| drm_fb_helper_sys_read |
|
1 |
6 |
25 |
4 |
| drm_fb_helper_sys_write |
|
1 |
6 |
26 |
4 |
| drm_fb_helper_sys_fillrect |
|
1 |
4 |
15 |
2 |
| drm_fb_helper_sys_copyarea |
|
1 |
4 |
15 |
2 |
| drm_fb_helper_sys_imageblit |
|
1 |
4 |
15 |
2 |
| drm_fb_helper_cfb_fillrect |
|
1 |
4 |
15 |
2 |
| drm_fb_helper_cfb_copyarea |
|
1 |
4 |
15 |
2 |
| drm_fb_helper_cfb_imageblit |
|
1 |
4 |
15 |
2 |
| drm_fb_helper_set_suspend |
|
1 |
4 |
12 |
2 |
| drm_fb_helper_hotplug_event |
|
1 |
4 |
12 |
1 |
| drm_fb_helper_initial_config |
|
1 |
5 |
15 |
2 |
| drm_fb_helper_single_add_all_connectors |
|
1 |
4 |
12 |
1 |
| drm_fb_helper_debug_enter |
|
1 |
4 |
12 |
1 |
| drm_fb_helper_debug_leave |
|
1 |
4 |
12 |
1 |
| drm_has_preferred_mode |
|
1 |
5 |
18 |
3 |
| drm_pick_cmdline_mode |
|
1 |
5 |
18 |
3 |
| drm_fb_helper_add_one_connector |
|
1 |
5 |
17 |
2 |
| drm_fb_helper_remove_one_connector |
|
1 |
5 |
17 |
2 |
| Source file: ./sys/dev/pci/drm/drm_hashtab.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| drm_ht_create |
|
4 |
17 |
117 |
2 |
| drm_ht_verbose_list |
|
2 |
13 |
89 |
2 |
| drm_ht_find_key |
|
4 |
18 |
95 |
2 |
| drm_ht_find_key_rcu |
|
4 |
18 |
95 |
2 |
| drm_ht_insert_item |
|
5 |
26 |
148 |
2 |
| drm_ht_just_insert_please |
|
6 |
23 |
142 |
6 |
| drm_ht_find_item |
|
3 |
12 |
68 |
3 |
| drm_ht_remove_key |
|
3 |
12 |
56 |
2 |
| drm_ht_remove_item |
|
2 |
7 |
36 |
2 |
| drm_ht_remove |
|
4 |
11 |
64 |
1 |
| Source file: ./sys/dev/pci/drm/nouveau_drm.h |
| Source file: ./sys/dev/pci/drm/drm_displayid.h |
| Source file: ./sys/dev/pci/drm/drm_irq.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| store_vblank |
|
1 |
14 |
88 |
5 |
| drm_reset_vblank_timestamp |
|
4 |
16 |
126 |
2 |
| drm_update_vblank_count |
|
16 |
52 |
388 |
3 |
| vblank_disable_and_save |
|
2 |
12 |
84 |
2 |
| vblank_disable_fn |
|
4 |
15 |
101 |
1 |
| drm_vblank_cleanup |
|
4 |
14 |
88 |
1 |
| drm_vblank_init |
|
6 |
34 |
213 |
2 |
| drm_irq_vgaarb_nokms |
|
8 |
19 |
110 |
2 |
| drm_irq_install |
|
12 |
38 |
251 |
2 |
| drm_irq_uninstall |
|
8 |
31 |
207 |
1 |
| drm_control |
|
8 |
30 |
176 |
3 |
| drm_calc_timestamping_constants |
|
5 |
29 |
209 |
2 |
| drm_calc_vbltimestamp_from_scanoutpos |
|
11 |
63 |
377 |
6 |
| get_drm_timestamp |
|
2 |
6 |
27 |
1 |
| drm_get_last_vbltimestamp |
|
4 |
14 |
89 |
4 |
| drm_vblank_count |
|
2 |
7 |
45 |
2 |
| drm_crtc_vblank_count |
|
1 |
4 |
22 |
1 |
| drm_vblank_count_and_time |
|
4 |
16 |
99 |
3 |
| drm_crtc_vblank_count_and_time |
|
1 |
6 |
29 |
2 |
| send_vblank_event |
|
2 |
15 |
121 |
4 |
| drm_arm_vblank_event |
|
1 |
8 |
60 |
3 |
| drm_crtc_arm_vblank_event |
|
1 |
5 |
28 |
2 |
| drm_send_vblank_event |
|
2 |
14 |
79 |
3 |
| drm_crtc_send_vblank_event |
|
1 |
5 |
28 |
2 |
| drm_vblank_enable |
|
3 |
19 |
119 |
2 |
| drm_vblank_get |
|
5 |
21 |
134 |
2 |
| drm_crtc_vblank_get |
|
1 |
4 |
22 |
1 |
| drm_vblank_put |
|
7 |
17 |
117 |
2 |
| drm_crtc_vblank_put |
|
1 |
4 |
21 |
1 |
| drm_wait_one_vblank |
|
4 |
17 |
121 |
2 |
| drm_crtc_wait_one_vblank |
|
1 |
4 |
21 |
1 |
| drm_vblank_off |
|
6 |
34 |
244 |
2 |
| drm_crtc_vblank_off |
|
1 |
4 |
21 |
1 |
| drm_crtc_vblank_reset |
|
2 |
14 |
99 |
1 |
| drm_vblank_on |
|
5 |
18 |
133 |
2 |
| drm_crtc_vblank_on |
|
1 |
4 |
21 |
1 |
| drm_vblank_pre_modeset |
|
5 |
13 |
80 |
2 |
| drm_vblank_post_modeset |
|
5 |
18 |
114 |
2 |
| drm_modeset_ctl |
|
6 |
24 |
110 |
3 |
| drm_queue_vblank_event |
|
9 |
64 |
495 |
4 |
| drm_wait_vblank |
|
16 |
74 |
464 |
3 |
| drm_handle_vblank_events |
|
3 |
20 |
146 |
2 |
| drm_handle_vblank |
|
4 |
22 |
150 |
2 |
| drm_crtc_handle_vblank |
|
1 |
4 |
22 |
1 |
| drm_vblank_no_hw_counter |
|
1 |
4 |
16 |
2 |
| Source file: ./sys/dev/pci/drm/drm_memory.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| drm_alloc |
|
1 |
4 |
19 |
1 |
| drm_calloc |
|
3 |
7 |
42 |
2 |
| drm_realloc |
|
4 |
12 |
72 |
3 |
| drm_free |
|
2 |
5 |
23 |
1 |
| drm_mtrr_add |
|
1 |
12 |
72 |
3 |
| drm_mtrr_del |
|
1 |
12 |
75 |
4 |
| Source file: ./sys/dev/pci/drm/drm_sarea.h |
| Source file: ./sys/dev/pci/drm/linux_hdmi.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| hdmi_infoframe_checksum |
|
2 |
9 |
54 |
2 |
| hdmi_avi_infoframe_init |
|
1 |
8 |
43 |
1 |
| hdmi_avi_infoframe_pack |
|
8 |
44 |
436 |
3 |
| hdmi_spd_infoframe_init |
|
1 |
11 |
85 |
3 |
| hdmi_spd_infoframe_pack |
|
2 |
20 |
143 |
3 |
| hdmi_audio_infoframe_init |
|
1 |
8 |
43 |
1 |
| hdmi_audio_infoframe_pack |
|
4 |
30 |
227 |
3 |
| hdmi_vendor_infoframe_init |
|
1 |
9 |
49 |
1 |
| hdmi_vendor_infoframe_pack |
|
9 |
36 |
254 |
3 |
| hdmi_vendor_any_infoframe_pack |
|
2 |
7 |
43 |
3 |
| hdmi_infoframe_pack |
|
5 |
23 |
128 |
3 |
| Source file: ./sys/dev/pci/drm/drm_mm.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| drm_mm_node_allocated |
|
1 |
4 |
14 |
1 |
| drm_mm_initialized |
|
1 |
4 |
16 |
1 |
| __drm_mm_hole_node_start |
|
1 |
4 |
18 |
1 |
| drm_mm_hole_node_start |
|
1 |
5 |
23 |
1 |
| __drm_mm_hole_node_end |
|
1 |
4 |
19 |
1 |
| drm_mm_hole_node_end |
|
1 |
4 |
15 |
1 |
| drm_mm_insert_node |
|
1 |
9 |
42 |
5 |
| drm_mm_insert_node_in_range |
|
1 |
12 |
52 |
7 |
| Source file: ./sys/dev/pci/drm/drm_crtc_helper.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| drm_helper_move_panel_connectors_to_head |
|
3 |
13 |
82 |
1 |
| drm_helper_encoder_in_use |
|
3 |
13 |
78 |
1 |
| drm_helper_crtc_in_use |
|
4 |
11 |
67 |
1 |
| drm_encoder_disable |
|
2 |
10 |
62 |
1 |
| __drm_helper_disable_unused_functions |
|
4 |
23 |
126 |
1 |
| drm_helper_disable_unused_functions |
|
1 |
6 |
24 |
1 |
| drm_crtc_prepare_encoders |
|
4 |
13 |
72 |
1 |
| drm_crtc_helper_set_mode |
|
12 |
96 |
568 |
5 |
| drm_crtc_helper_disable |
|
3 |
17 |
81 |
1 |
| drm_crtc_helper_set_config |
|
40 |
194 |
1274 |
1 |
| drm_helper_choose_encoder_dpms |
|
3 |
11 |
59 |
1 |
| drm_helper_encoder_dpms |
|
4 |
16 |
82 |
2 |
| drm_helper_choose_crtc_dpms |
|
4 |
11 |
65 |
1 |
| drm_helper_connector_dpms |
|
12 |
33 |
190 |
2 |
| drm_helper_mode_fill_fb_struct |
|
2 |
16 |
123 |
2 |
| drm_helper_resume_force_mode |
|
6 |
32 |
170 |
1 |
| drm_helper_crtc_mode_set |
|
9 |
39 |
229 |
6 |
| drm_helper_crtc_mode_set_base |
|
4 |
26 |
199 |
4 |
| Source file: ./sys/dev/pci/drm/linux_hdmi.h |
| Source file: ./sys/dev/pci/drm/linux_list_sort.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| list_sort |
|
5 |
26 |
233 |
3 |
| list_sort_merge |
|
5 |
14 |
128 |
4 |
| list_sort_merge_into |
|
6 |
23 |
179 |
5 |
| Source file: ./sys/dev/pci/drm/drm_linux.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| hweight8 |
|
1 |
7 |
65 |
1 |
| hweight16 |
|
1 |
8 |
80 |
1 |
| hweight32 |
|
1 |
9 |
91 |
1 |
| hweight64 |
|
1 |
10 |
104 |
1 |
| bitmap_set |
|
2 |
6 |
38 |
3 |
| bitmap_zero |
|
2 |
7 |
44 |
2 |
| bitmap_or |
|
2 |
9 |
78 |
4 |
| bitmap_weight |
|
2 |
9 |
55 |
2 |
| __hash_init |
|
2 |
6 |
37 |
2 |
| __hash_empty |
|
3 |
9 |
48 |
2 |
| ERR_PTR |
|
1 |
4 |
14 |
1 |
| PTR_ERR |
|
1 |
4 |
15 |
1 |
| IS_ERR |
|
1 |
4 |
19 |
1 |
| IS_ERR_OR_NULL |
|
2 |
4 |
22 |
1 |
| ERR_CAST |
|
1 |
4 |
16 |
1 |
| PTR_ERR_OR_ZERO |
|
2 |
4 |
22 |
1 |
| _spin_lock_irqsave |
|
1 |
5 |
21 |
2 |
| _spin_unlock_irqrestore |
|
1 |
5 |
21 |
2 |
| init_waitqueue_head |
|
1 |
5 |
24 |
1 |
| init_completion |
|
1 |
5 |
27 |
1 |
| _wait_for_completion_interruptible_timeout |
|
4 |
14 |
89 |
2 |
| _complete_all |
|
1 |
7 |
43 |
1 |
| alloc_ordered_workqueue |
|
1 |
5 |
36 |
2 |
| destroy_workqueue |
|
1 |
4 |
19 |
1 |
| INIT_WORK |
|
1 |
5 |
40 |
2 |
| queue_work |
|
1 |
5 |
38 |
2 |
| cancel_work_sync |
|
1 |
4 |
21 |
1 |
| to_delayed_work |
|
1 |
4 |
20 |
1 |
| __delayed_work_tick |
|
1 |
5 |
29 |
1 |
| INIT_DELAYED_WORK |
|
1 |
5 |
37 |
2 |
| schedule_work |
|
1 |
4 |
22 |
1 |
| schedule_delayed_work |
|
1 |
5 |
29 |
2 |
| queue_delayed_work |
|
1 |
6 |
39 |
3 |
| mod_delayed_work |
|
1 |
6 |
43 |
3 |
| cancel_delayed_work |
|
2 |
6 |
37 |
1 |
| cancel_delayed_work_sync |
|
2 |
6 |
37 |
1 |
| timespec_sub |
|
1 |
6 |
31 |
2 |
| round_jiffies_up |
|
1 |
4 |
16 |
1 |
| round_jiffies_up_relative |
|
1 |
4 |
16 |
1 |
| set_normalized_timespec |
|
2 |
9 |
42 |
3 |
| timespec_to_ns |
|
1 |
4 |
25 |
1 |
| timespec_to_jiffies |
|
2 |
8 |
54 |
1 |
| timespec_valid |
|
5 |
7 |
46 |
1 |
| ktime_get |
|
1 |
6 |
19 |
1 |
| ktime_get_monotonic_offset |
|
1 |
5 |
19 |
1 |
| ktime_to_us |
|
1 |
4 |
15 |
1 |
| ktime_to_ns |
|
1 |
4 |
15 |
1 |
| ktime_get_raw_ns |
|
1 |
4 |
14 |
1 |
| ktime_sub |
|
1 |
6 |
31 |
2 |
| ktime_add_ns |
|
1 |
4 |
23 |
2 |
| ktime_sub_ns |
|
1 |
4 |
23 |
2 |
| ktime_us_delta |
|
1 |
4 |
23 |
2 |
| kmalloc |
|
1 |
4 |
20 |
2 |
| kmalloc_array |
|
3 |
6 |
40 |
3 |
| kcalloc |
|
3 |
6 |
42 |
3 |
| kzalloc |
|
1 |
4 |
22 |
2 |
| kfree |
|
1 |
4 |
22 |
1 |
| kmemdup |
|
2 |
7 |
46 |
3 |
| kasprintf |
|
2 |
16 |
90 |
3 |
| vzalloc |
|
1 |
4 |
22 |
1 |
| vfree |
|
1 |
4 |
17 |
1 |
| kref_init |
|
1 |
4 |
15 |
1 |
| kref_get |
|
1 |
4 |
17 |
1 |
| kref_get_unless_zero |
|
2 |
9 |
40 |
1 |
| kref_put |
|
2 |
5 |
38 |
2 |
| kref_sub |
|
2 |
5 |
44 |
3 |
| kref_put_mutex |
|
3 |
14 |
83 |
3 |
| kobject_init |
|
1 |
5 |
28 |
2 |
| kobject_init_and_add |
|
1 |
6 |
38 |
5 |
| kobject_get |
|
2 |
6 |
28 |
1 |
| kobject_release |
|
3 |
6 |
45 |
1 |
| kobject_put |
|
2 |
5 |
25 |
1 |
| kobject_del |
|
1 |
3 |
9 |
1 |
| prepare_to_wait |
|
2 |
7 |
37 |
3 |
| finish_wait |
|
2 |
5 |
25 |
2 |
| schedule_timeout |
|
1 |
4 |
33 |
2 |
| div_u64 |
|
1 |
4 |
17 |
2 |
| div_s64 |
|
1 |
4 |
17 |
2 |
| div64_u64 |
|
1 |
4 |
17 |
2 |
| div64_u64_rem |
|
1 |
5 |
28 |
3 |
| div64_s64 |
|
1 |
4 |
17 |
2 |
| abs64 |
|
2 |
4 |
19 |
1 |
| __copy_to_user |
|
2 |
6 |
33 |
3 |
| copy_to_user |
|
1 |
4 |
26 |
3 |
| __copy_from_user |
|
2 |
6 |
33 |
3 |
| copy_from_user |
|
1 |
4 |
26 |
3 |
| pci_read_config_dword |
|
1 |
5 |
35 |
3 |
| pci_read_config_word |
|
1 |
7 |
59 |
3 |
| pci_read_config_byte |
|
1 |
7 |
59 |
3 |
| pci_write_config_dword |
|
1 |
5 |
33 |
3 |
| pci_write_config_word |
|
1 |
9 |
93 |
3 |
| pci_write_config_byte |
|
1 |
9 |
93 |
3 |
| pci_bus_read_config_word |
|
1 |
10 |
85 |
4 |
| pci_bus_read_config_byte |
|
1 |
10 |
85 |
4 |
| vga_client_register |
|
1 |
4 |
25 |
4 |
| pci_map_page |
|
1 |
4 |
30 |
5 |
| pci_unmap_page |
|
1 |
3 |
18 |
4 |
| pci_dma_mapping_error |
|
1 |
4 |
15 |
2 |
| i2c_get_adapdata |
|
1 |
4 |
14 |
1 |
| i2c_set_adapdata |
|
1 |
4 |
19 |
2 |
| ioread32 |
|
1 |
4 |
22 |
1 |
| ioread64 |
|
1 |
4 |
22 |
1 |
| iowrite32 |
|
1 |
4 |
23 |
2 |
| access_ok |
|
1 |
4 |
19 |
3 |
| capable |
|
1 |
5 |
22 |
1 |
| roundup_pow_of_two |
|
1 |
4 |
21 |
1 |
| udelay |
|
1 |
4 |
13 |
1 |
| ndelay |
|
1 |
4 |
20 |
1 |
| usleep_range |
|
1 |
4 |
17 |
2 |
| mdelay |
|
2 |
6 |
23 |
1 |
| cpu_relax |
|
2 |
8 |
24 |
1 |
| ror32 |
|
1 |
4 |
30 |
2 |
| irqs_disabled |
|
1 |
4 |
11 |
1 |
| in_dbg_master |
|
2 |
5 |
16 |
1 |
| power_supply_is_system_supplied |
|
1 |
4 |
11 |
1 |
| isascii |
|
1 |
4 |
18 |
1 |
| isprint |
|
4 |
8 |
47 |
1 |
| of_machine_is_compatible |
|
1 |
5 |
26 |
1 |
| alloc_page |
|
1 |
4 |
16 |
1 |
| __free_page |
|
1 |
4 |
17 |
1 |
| get_order |
|
1 |
4 |
20 |
1 |
| pagefault_disable |
|
1 |
5 |
25 |
1 |
| pagefault_enable |
|
1 |
5 |
25 |
1 |
| pagefault_disabled |
|
1 |
4 |
13 |
1 |
| kmap_atomic |
|
2 |
8 |
43 |
1 |
| kunmap_atomic |
|
2 |
6 |
27 |
1 |
| __copy_to_user_inatomic |
|
2 |
10 |
67 |
3 |
| __copy_from_user_inatomic |
|
2 |
10 |
67 |
3 |
| __copy_from_user_inatomic_nocache |
|
1 |
4 |
26 |
3 |
| backlight_update_status |
|
1 |
4 |
18 |
1 |
| pwm_get |
|
1 |
4 |
21 |
2 |
| pwm_put |
|
1 |
3 |
9 |
1 |
| pwm_get_duty_cycle |
|
1 |
4 |
13 |
1 |
| pwm_config |
|
1 |
4 |
19 |
3 |
| pwm_enable |
|
1 |
4 |
13 |
1 |
| pwm_disable |
|
1 |
3 |
9 |
1 |
| __sg_page_iter_start |
|
1 |
7 |
42 |
4 |
| __sg_page_iter_next |
|
3 |
11 |
71 |
1 |
| sg_page_iter_dma_address |
|
1 |
4 |
25 |
1 |
| sg_page_iter_page |
|
1 |
4 |
18 |
1 |
| sg_page |
|
1 |
4 |
17 |
1 |
| request_firmware |
|
1 |
5 |
24 |
3 |
| release_firmware |
|
1 |
3 |
10 |
1 |
| Source file: ./sys/dev/pci/drm/drm_linux_list.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| INIT_LIST_HEAD |
|
1 |
4 |
25 |
1 |
| list_empty |
|
1 |
3 |
19 |
1 |
| list_is_singular |
|
2 |
3 |
31 |
1 |
| list_add |
|
1 |
6 |
52 |
2 |
| list_add_tail |
|
1 |
6 |
52 |
2 |
| list_del |
|
1 |
4 |
37 |
1 |
| list_replace |
|
1 |
8 |
46 |
2 |
| list_replace_init |
|
1 |
6 |
26 |
2 |
| list_move |
|
1 |
5 |
26 |
2 |
| list_move_tail |
|
1 |
6 |
26 |
2 |
| list_del_init |
|
1 |
5 |
42 |
1 |
| __list_splice |
|
1 |
10 |
62 |
3 |
| list_splice |
|
2 |
6 |
35 |
2 |
| list_splice_tail |
|
2 |
6 |
35 |
2 |
| INIT_HLIST_HEAD |
|
1 |
3 |
15 |
1 |
| hlist_empty |
|
1 |
3 |
17 |
1 |
| hlist_add_head |
|
2 |
7 |
54 |
2 |
| hlist_del_init |
|
2 |
8 |
50 |
1 |
| Source file: ./sys/dev/pci/drm/drm_global.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| drm_global_init |
|
2 |
10 |
57 |
1 |
| drm_global_release |
|
2 |
9 |
53 |
1 |
| drm_global_item_ref |
|
4 |
25 |
149 |
1 |
| drm_global_item_unref |
|
2 |
12 |
82 |
1 |
| Source file: ./sys/dev/pci/drm/drm_crtc.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| U642I64 |
|
1 |
4 |
21 |
1 |
| I642U64 |
|
1 |
4 |
21 |
1 |
| drm_crtc_mask |
|
1 |
4 |
18 |
1 |
| drm_encoder_crtc_ok |
|
1 |
5 |
28 |
2 |
| drm_property_type_is |
|
2 |
7 |
38 |
2 |
| drm_property_type_valid |
|
2 |
6 |
38 |
1 |
| drm_plane_find |
|
2 |
7 |
38 |
2 |
| drm_crtc_find |
|
2 |
7 |
38 |
2 |
| drm_encoder_find |
|
2 |
7 |
38 |
2 |
| drm_connector_find |
|
2 |
7 |
38 |
2 |
| drm_property_find |
|
2 |
7 |
38 |
2 |
| assert_drm_connector_list_read_locked |
|
2 |
5 |
30 |
1 |
| Source file: ./sys/dev/pci/drm/drmP.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| drm_can_sleep |
|
7 |
7 |
36 |
1 |
| drm_crtc_vblank_waitqueue |
|
1 |
4 |
25 |
1 |
| drm_sysfs_connector_add |
|
1 |
4 |
12 |
1 |
| drm_sysfs_connector_remove |
|
1 |
3 |
9 |
1 |
| drm_sysfs_hotplug_event |
|
1 |
3 |
9 |
1 |
| drm_gem_object_reference |
|
1 |
4 |
17 |
1 |
| drm_gem_object_unreference |
|
2 |
5 |
25 |
1 |
| drm_gem_object_unreference_unlocked |
|
4 |
10 |
79 |
1 |
| drm_core_check_feature |
|
2 |
5 |
29 |
2 |
| drm_is_render_client |
|
2 |
5 |
22 |
1 |
| drm_is_control_client |
|
2 |
5 |
22 |
1 |
| drm_is_primary_client |
|
2 |
5 |
22 |
1 |
| drm_dev_to_irq |
|
1 |
4 |
13 |
1 |
| Source file: ./sys/dev/pci/drm/drm_dp_helper.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dp_link_status |
|
1 |
4 |
22 |
2 |
| dp_get_lane_status |
|
1 |
8 |
57 |
2 |
| drm_dp_channel_eq_ok |
|
4 |
17 |
85 |
2 |
| drm_dp_clock_recovery_ok |
|
3 |
12 |
60 |
2 |
| drm_dp_get_adjust_request_voltage |
|
2 |
10 |
66 |
2 |
| drm_dp_get_adjust_request_pre_emphasis |
|
2 |
10 |
66 |
2 |
| drm_dp_link_train_clock_recovery_delay |
|
2 |
6 |
36 |
1 |
| drm_dp_link_train_channel_eq_delay |
|
2 |
6 |
36 |
1 |
| drm_dp_link_rate_to_bw_code |
|
4 |
12 |
33 |
1 |
| drm_dp_bw_code_to_link_rate |
|
4 |
12 |
33 |
1 |
| drm_dp_dpcd_access |
|
8 |
38 |
203 |
5 |
| drm_dp_dpcd_read |
|
1 |
6 |
34 |
4 |
| drm_dp_dpcd_write |
|
1 |
6 |
34 |
4 |
| drm_dp_dpcd_read_link_status |
|
1 |
6 |
27 |
2 |
| drm_dp_link_probe |
|
3 |
15 |
111 |
2 |
| drm_dp_link_power_up |
|
4 |
17 |
90 |
2 |
| drm_dp_link_power_down |
|
4 |
16 |
83 |
2 |
| drm_dp_link_configure |
|
3 |
13 |
87 |
2 |
| drm_dp_i2c_functionality |
|
1 |
7 |
20 |
1 |
| drm_dp_i2c_msg_write_status_update |
|
2 |
7 |
35 |
1 |
| drm_dp_aux_req_duration |
|
2 |
8 |
48 |
1 |
| drm_dp_aux_reply_duration |
|
2 |
8 |
42 |
1 |
| drm_dp_i2c_msg_duration |
|
1 |
7 |
35 |
2 |
| drm_dp_i2c_retry_count |
|
1 |
8 |
46 |
2 |
| drm_dp_i2c_do_msg |
|
12 |
52 |
280 |
2 |
| drm_dp_i2c_msg_set_request |
|
2 |
7 |
37 |
2 |
| drm_dp_i2c_drain_msg |
|
6 |
18 |
110 |
2 |
| drm_dp_i2c_xfer |
|
7 |
42 |
306 |
3 |
| drm_dp_aux_register |
|
3 |
14 |
128 |
1 |
| drm_dp_aux_unregister |
|
1 |
4 |
17 |
1 |
| Source file: ./sys/dev/pci/drm/i915_drm.h |
| Source file: ./sys/dev/pci/drm/drm_panel.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| drm_panel_init |
|
1 |
4 |
17 |
1 |
| drm_panel_add |
|
1 |
7 |
35 |
1 |
| drm_panel_remove |
|
1 |
6 |
29 |
1 |
| drm_panel_attach |
|
2 |
8 |
41 |
2 |
| drm_panel_detach |
|
1 |
6 |
24 |
1 |
| of_drm_find_panel |
|
2 |
13 |
61 |
1 |
| Source file: ./sys/dev/pci/drm/drm_cache.h |
| Source file: ./sys/dev/pci/drm/drm_fixed.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dfixed_floor |
|
1 |
5 |
21 |
1 |
| dfixed_ceil |
|
2 |
8 |
41 |
1 |
| dfixed_div |
|
1 |
8 |
48 |
2 |
| drm_int2fixp |
|
1 |
4 |
18 |
1 |
| drm_fixp2int |
|
1 |
4 |
18 |
1 |
| drm_fixp2int_ceil |
|
2 |
7 |
30 |
1 |
| drm_fixp_msbset |
|
3 |
8 |
55 |
1 |
| drm_fixp_mul |
|
4 |
17 |
110 |
2 |
| drm_fixp_div |
|
3 |
12 |
71 |
2 |
| drm_fixp_from_fraction |
|
6 |
29 |
146 |
2 |
| drm_fixp_exp |
|
4 |
17 |
102 |
1 |
| Source file: ./sys/dev/pci/drm/drm_mode.h |
| Source file: ./sys/dev/pci/drm/drm_hashtab.h |
| Source file: ./sys/dev/pci/drm/drm_mm.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| drm_mm_insert_helper |
|
8 |
47 |
285 |
6 |
| drm_mm_reserve_node |
|
5 |
28 |
168 |
2 |
| drm_mm_insert_node_generic |
|
2 |
14 |
79 |
7 |
| drm_mm_insert_helper_range |
|
11 |
53 |
333 |
8 |
| drm_mm_insert_node_in_range_generic |
|
2 |
18 |
93 |
9 |
| drm_mm_remove_node |
|
6 |
25 |
165 |
1 |
| check_free_hole |
|
4 |
13 |
67 |
4 |
| drm_mm_search_free_generic |
|
6 |
33 |
159 |
5 |
| drm_mm_search_free_in_range_generic |
|
8 |
39 |
185 |
7 |
| drm_mm_replace_node |
|
1 |
12 |
92 |
2 |
| drm_mm_init_scan |
|
1 |
14 |
67 |
4 |
| drm_mm_init_scan_with_range |
|
1 |
18 |
85 |
6 |
| drm_mm_scan_add_block |
|
6 |
36 |
233 |
1 |
| drm_mm_scan_remove_block |
|
2 |
14 |
99 |
1 |
| drm_mm_clean |
|
1 |
5 |
32 |
1 |
| drm_mm_init |
|
1 |
16 |
134 |
3 |
| drm_mm_takedown |
|
1 |
5 |
25 |
1 |
| drm_mm_debug_hole |
|
2 |
14 |
68 |
2 |
| drm_mm_debug_table |
|
1 |
15 |
109 |
2 |
| drm_mm_dump_hole |
|
2 |
13 |
68 |
2 |
| drm_mm_dump_table |
|
1 |
16 |
112 |
2 |
| Source file: ./sys/dev/pci/drm/drm_gem.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| drm_ref |
|
1 |
6 |
29 |
1 |
| drm_unref |
|
1 |
6 |
29 |
1 |
| drm_fault |
|
6 |
38 |
294 |
8 |
| drm_flush |
|
1 |
4 |
23 |
4 |
| udv_attach_drm |
|
7 |
35 |
234 |
4 |
| drm_gem_init |
|
2 |
16 |
79 |
1 |
| drm_gem_destroy |
|
1 |
6 |
29 |
1 |
| drm_gem_object_init |
|
2 |
11 |
64 |
3 |
| drm_gem_object_init |
|
1 |
11 |
85 |
3 |
| drm_gem_private_object_init |
|
1 |
11 |
72 |
3 |
| drm_gem_remove_prime_handles |
|
3 |
9 |
54 |
2 |
| drm_gem_object_handle_free |
|
2 |
8 |
44 |
1 |
| drm_gem_object_exported_dma_buf_free |
|
3 |
7 |
30 |
1 |
| drm_gem_object_handle_unreference_unlocked |
|
3 |
12 |
68 |
1 |
| drm_gem_handle_delete |
|
4 |
21 |
141 |
2 |
| drm_gem_dumb_destroy |
|
1 |
6 |
25 |
3 |
| drm_gem_handle_create_tail |
|
5 |
37 |
224 |
3 |
| drm_gem_handle_create |
|
1 |
7 |
38 |
3 |
| drm_gem_free_mmap_offset |
|
1 |
5 |
30 |
1 |
| drm_gem_create_mmap_offset_size |
|
1 |
6 |
38 |
2 |
| drm_gem_create_mmap_offset |
|
1 |
4 |
19 |
1 |
| drm_gem_get_pages |
|
6 |
29 |
200 |
2 |
| drm_gem_put_pages |
|
4 |
15 |
103 |
4 |
| drm_gem_object_lookup |
|
2 |
14 |
77 |
3 |
| drm_gem_close_ioctl |
|
2 |
10 |
59 |
3 |
| drm_gem_flink_ioctl |
|
6 |
31 |
183 |
3 |
| drm_gem_open_ioctl |
|
4 |
25 |
145 |
3 |
| drm_gem_open |
|
1 |
5 |
32 |
2 |
| drm_gem_object_release_handle |
|
3 |
13 |
93 |
3 |
| drm_gem_release |
|
1 |
6 |
35 |
2 |
| drm_gem_object_release |
|
2 |
6 |
29 |
1 |
| drm_gem_object_release |
|
2 |
8 |
51 |
1 |
| drm_gem_object_free |
|
2 |
8 |
61 |
1 |
| drm_gem_vm_open |
|
1 |
8 |
52 |
1 |
| drm_gem_vm_close |
|
1 |
9 |
57 |
1 |
| drm_gem_mmap_obj |
|
3 |
17 |
121 |
3 |
| drm_gem_mmap |
|
4 |
25 |
174 |
2 |
| Source file: ./sys/dev/pci/drm/drm_mem_util.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| drm_calloc_large |
|
5 |
10 |
67 |
2 |
| drm_malloc_ab |
|
5 |
10 |
73 |
2 |
| drm_free_large |
|
3 |
7 |
36 |
1 |
| Source file: ./sys/dev/pci/drm/drm_atomic_helper.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| drm_atomic_helper_plane_changed |
|
5 |
19 |
104 |
3 |
| get_current_crtc_for_encoder |
|
2 |
13 |
71 |
2 |
| steal_encoder |
|
4 |
30 |
178 |
3 |
| update_connector_routing |
|
13 |
88 |
482 |
2 |
| mode_fixup |
|
15 |
68 |
384 |
1 |
| drm_atomic_helper_check_modeset |
|
11 |
55 |
314 |
2 |
| drm_atomic_helper_check_planes |
|
7 |
35 |
192 |
2 |
| drm_atomic_helper_check |
|
3 |
12 |
52 |
2 |
| disable_outputs |
|
13 |
49 |
300 |
2 |
| drm_atomic_helper_update_legacy_modeset_state |
|
13 |
49 |
326 |
2 |
| crtc_set_mode |
|
7 |
39 |
241 |
2 |
| drm_atomic_helper_commit_modeset_disables |
|
1 |
7 |
35 |
2 |
| drm_atomic_helper_commit_modeset_enables |
|
9 |
44 |
251 |
2 |
| wait_for_fences |
|
2 |
15 |
88 |
2 |
| framebuffer_changed |
|
4 |
16 |
80 |
3 |
| drm_atomic_helper_wait_for_vblanks |
|
7 |
34 |
177 |
2 |
| drm_atomic_helper_commit |
|
3 |
20 |
103 |
3 |
| drm_atomic_helper_prepare_planes |
|
8 |
32 |
192 |
2 |
| plane_crtc_active |
|
2 |
4 |
22 |
1 |
| drm_atomic_helper_commit_planes |
|
19 |
46 |
269 |
3 |
| drm_atomic_helper_commit_planes_on_crtc |
|
12 |
30 |
205 |
1 |
| drm_atomic_helper_cleanup_planes |
|
2 |
13 |
66 |
2 |
| drm_atomic_helper_swap_state |
|
7 |
29 |
221 |
2 |
| drm_atomic_helper_update_plane |
|
7 |
50 |
266 |
11 |
| drm_atomic_helper_disable_plane |
|
9 |
37 |
197 |
1 |
| __drm_atomic_helper_disable_plane |
|
2 |
18 |
93 |
2 |
| update_output_state |
|
13 |
54 |
298 |
2 |
| drm_atomic_helper_set_config |
|
5 |
28 |
141 |
1 |
| __drm_atomic_helper_set_config |
|
10 |
57 |
370 |
2 |
| drm_atomic_helper_crtc_set_property |
|
6 |
35 |
166 |
3 |
| drm_atomic_helper_plane_set_property |
|
6 |
35 |
166 |
3 |
| drm_atomic_helper_connector_set_property |
|
6 |
35 |
166 |
3 |
| drm_atomic_helper_page_flip |
|
8 |
47 |
239 |
4 |
| drm_atomic_helper_connector_dpms |
|
9 |
52 |
264 |
2 |
| drm_atomic_helper_crtc_reset |
|
4 |
9 |
68 |
1 |
| __drm_atomic_helper_crtc_duplicate_state |
|
2 |
12 |
72 |
2 |
| drm_atomic_helper_crtc_duplicate_state |
|
3 |
10 |
54 |
1 |
| __drm_atomic_helper_crtc_destroy_state |
|
2 |
6 |
27 |
2 |
| drm_atomic_helper_crtc_destroy_state |
|
1 |
6 |
26 |
2 |
| drm_atomic_helper_plane_reset |
|
4 |
9 |
68 |
1 |
| __drm_atomic_helper_plane_duplicate_state |
|
2 |
7 |
42 |
2 |
| drm_atomic_helper_plane_duplicate_state |
|
3 |
10 |
54 |
1 |
| __drm_atomic_helper_plane_destroy_state |
|
2 |
6 |
27 |
2 |
| drm_atomic_helper_plane_destroy_state |
|
1 |
6 |
26 |
2 |
| drm_atomic_helper_connector_reset |
|
2 |
7 |
47 |
1 |
| __drm_atomic_helper_connector_duplicate_state |
|
1 |
5 |
29 |
2 |
| drm_atomic_helper_connector_duplicate_state |
|
3 |
10 |
54 |
1 |
| drm_atomic_helper_duplicate_state |
|
6 |
44 |
218 |
2 |
| __drm_atomic_helper_connector_destroy_state |
|
1 |
4 |
14 |
2 |
| drm_atomic_helper_connector_destroy_state |
|
1 |
6 |
26 |
2 |
| Source file: ./sys/dev/pci/drm/drm_dp_mst_topology.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| drm_dp_msg_header_crc4 |
|
6 |
30 |
147 |
2 |
| drm_dp_msg_data_crc4 |
|
6 |
30 |
149 |
2 |
| drm_dp_calc_sb_hdr_size |
|
1 |
6 |
27 |
1 |
| drm_dp_encode_sideband_msg_hdr |
|
2 |
16 |
185 |
3 |
| drm_dp_decode_sideband_msg_hdr |
|
5 |
34 |
298 |
4 |
| drm_dp_encode_sideband_req |
|
11 |
96 |
971 |
2 |
| drm_dp_crc_sideband_chunk_req |
|
1 |
6 |
30 |
2 |
| drm_dp_encode_sideband_reply |
|
1 |
8 |
58 |
2 |
| drm_dp_sideband_msg_build |
|
10 |
38 |
296 |
4 |
| drm_dp_sideband_parse_link_address |
|
11 |
47 |
482 |
2 |
| drm_dp_sideband_parse_remote_dpcd_read |
|
3 |
17 |
122 |
2 |
| drm_dp_sideband_parse_remote_dpcd_write |
|
2 |
13 |
69 |
2 |
| drm_dp_sideband_parse_remote_i2c_read_ack |
|
2 |
16 |
116 |
2 |
| drm_dp_sideband_parse_enum_path_resources_ack |
|
4 |
21 |
166 |
2 |
| drm_dp_sideband_parse_allocate_payload_ack |
|
4 |
21 |
149 |
2 |
| drm_dp_sideband_parse_query_payload_ack |
|
3 |
17 |
120 |
2 |
| drm_dp_sideband_parse_reply |
|
9 |
32 |
221 |
2 |
| drm_dp_sideband_parse_connection_status_notify |
|
3 |
23 |
220 |
2 |
| drm_dp_sideband_parse_resource_status_notify |
|
3 |
19 |
144 |
2 |
| drm_dp_sideband_parse_req |
|
3 |
15 |
86 |
2 |
| build_dpcd_write |
|
1 |
11 |
83 |
5 |
| build_link_address |
|
1 |
7 |
30 |
1 |
| build_enum_path_resources |
|
1 |
9 |
49 |
2 |
| build_allocate_payload |
|
1 |
13 |
88 |
4 |
| drm_dp_mst_assign_payload_id |
|
3 |
25 |
161 |
2 |
| drm_dp_mst_put_payload_id |
|
5 |
18 |
120 |
2 |
| check_txmsg_state |
|
2 |
8 |
36 |
2 |
| drm_dp_mst_wait_tx_reply |
|
7 |
30 |
171 |
2 |
| drm_dp_add_mst_branch_device |
|
3 |
13 |
81 |
2 |
| drm_dp_free_mst_branch_device |
|
3 |
9 |
61 |
1 |
| drm_dp_destroy_mst_branch_device |
|
6 |
28 |
207 |
1 |
| drm_dp_put_mst_branch_device |
|
1 |
4 |
19 |
1 |
| drm_dp_port_teardown_pdt |
|
4 |
15 |
61 |
2 |
| drm_dp_destroy_port |
|
3 |
20 |
134 |
1 |
| drm_dp_put_port |
|
1 |
4 |
19 |
1 |
| drm_dp_mst_get_validated_mstb_ref_locked |
|
4 |
17 |
85 |
2 |
| drm_dp_get_validated_mstb_ref |
|
2 |
9 |
57 |
2 |
| drm_dp_mst_get_port_ref_locked |
|
4 |
16 |
83 |
2 |
| drm_dp_get_validated_port_ref |
|
2 |
9 |
57 |
2 |
| drm_dp_get_port |
|
2 |
11 |
54 |
2 |
| drm_dp_calculate_rad |
|
3 |
14 |
98 |
2 |
| drm_dp_port_setup_pdt |
|
4 |
20 |
101 |
1 |
| drm_dp_check_mstb_guid |
|
3 |
21 |
94 |
2 |
| build_mst_prop_path |
|
3 |
17 |
143 |
4 |
| drm_dp_add_port |
|
16 |
75 |
521 |
3 |
| drm_dp_update_port |
|
8 |
32 |
177 |
2 |
| drm_dp_get_mst_branch_device |
|
5 |
27 |
164 |
3 |
| get_mst_branch_device_by_guid_helper |
|
4 |
17 |
84 |
2 |
| drm_dp_get_mst_branch_device_by_guid |
|
2 |
12 |
60 |
2 |
| drm_dp_check_and_send_link_address |
|
7 |
23 |
121 |
2 |
| drm_dp_mst_link_probe_work |
|
3 |
15 |
83 |
1 |
| drm_dp_validate_guid |
|
2 |
12 |
81 |
2 |
| build_dpcd_read |
|
1 |
10 |
69 |
4 |
| drm_dp_send_sideband_msg |
|
6 |
28 |
148 |
4 |
| set_hdr_from_dst_qlock |
|
10 |
33 |
234 |
2 |
| process_single_tx_qlock |
|
7 |
40 |
266 |
3 |
| process_single_down_tx_qlock |
|
6 |
27 |
175 |
1 |
| process_single_up_tx_qlock |
|
2 |
9 |
54 |
2 |
| drm_dp_queue_down_tx |
|
2 |
9 |
55 |
2 |
| drm_dp_send_link_address |
|
6 |
44 |
383 |
2 |
| drm_dp_send_enum_path_resources |
|
5 |
28 |
189 |
3 |
| drm_dp_get_last_connected_port_to_mstb |
|
3 |
8 |
44 |
1 |
| drm_dp_get_last_connected_port_and_mstb |
|
3 |
18 |
91 |
3 |
| drm_dp_payload_send_msg |
|
7 |
43 |
222 |
4 |
| drm_dp_create_payload_step1 |
|
2 |
13 |
57 |
3 |
| drm_dp_create_payload_step2 |
|
2 |
12 |
60 |
4 |
| drm_dp_destroy_payload_step1 |
|
2 |
13 |
62 |
4 |
| drm_dp_destroy_payload_step2 |
|
1 |
7 |
26 |
3 |
| drm_dp_update_payload_part1 |
|
14 |
60 |
534 |
1 |
| drm_dp_update_payload_part2 |
|
6 |
24 |
201 |
1 |
| drm_dp_send_dpcd_read |
|
2 |
14 |
83 |
4 |
| drm_dp_send_dpcd_write |
|
5 |
31 |
172 |
5 |
| drm_dp_encode_up_ack_reply |
|
1 |
8 |
39 |
2 |
| drm_dp_send_up_ack_reply |
|
2 |
17 |
100 |
5 |
| drm_dp_get_vc_payload_bw |
|
4 |
21 |
73 |
3 |
| drm_dp_mst_topology_mgr_set_mst |
|
8 |
61 |
371 |
2 |
| drm_dp_mst_topology_mgr_suspend |
|
1 |
9 |
54 |
1 |
| drm_dp_mst_topology_mgr_resume |
|
5 |
34 |
183 |
1 |
| drm_dp_get_one_sb_msg |
|
8 |
44 |
257 |
2 |
| drm_dp_mst_handle_down_rep |
|
6 |
49 |
361 |
1 |
| drm_dp_mst_handle_up_req |
|
12 |
53 |
464 |
1 |
| drm_dp_mst_hpd_irq |
|
4 |
21 |
114 |
3 |
| drm_dp_mst_detect_port |
|
10 |
28 |
133 |
3 |
| drm_dp_mst_get_edid |
|
3 |
15 |
88 |
3 |
| drm_dp_find_vcpi_slots |
|
2 |
9 |
41 |
2 |
| drm_dp_init_vcpi |
|
3 |
16 |
89 |
3 |
| drm_dp_mst_allocate_vcpi |
|
5 |
26 |
179 |
4 |
| drm_dp_mst_get_vcpi_slots |
|
2 |
10 |
52 |
2 |
| drm_dp_mst_reset_vcpi_slots |
|
2 |
8 |
43 |
2 |
| drm_dp_mst_deallocate_vcpi |
|
2 |
12 |
78 |
2 |
| drm_dp_dpcd_write_payload |
|
5 |
36 |
192 |
3 |
| drm_dp_check_act_status |
|
5 |
25 |
114 |
1 |
| drm_dp_calc_pbn_mode |
|
1 |
13 |
63 |
2 |
| test_calc_pbn_mode |
|
4 |
23 |
114 |
1 |
| drm_dp_mst_kick_tx |
|
1 |
4 |
19 |
1 |
| drm_dp_mst_dump_mstb |
|
3 |
17 |
132 |
2 |
| dump_dp_payload_table |
|
4 |
14 |
81 |
2 |
| drm_dp_mst_dump_topology |
|
13 |
65 |
589 |
2 |
| drm_dp_tx_work |
|
2 |
8 |
51 |
1 |
| drm_dp_free_mst_port |
|
1 |
6 |
41 |
1 |
| drm_dp_destroy_connector_work |
|
6 |
30 |
211 |
1 |
| drm_dp_mst_topology_mgr_init |
|
3 |
30 |
226 |
6 |
| drm_dp_mst_topology_mgr_destroy |
|
1 |
13 |
79 |
1 |
| drm_dp_mst_i2c_xfer |
|
10 |
59 |
464 |
3 |
| drm_dp_mst_i2c_functionality |
|
1 |
7 |
20 |
1 |
| drm_dp_mst_register_i2c_bus |
|
3 |
13 |
118 |
1 |
| drm_dp_mst_unregister_i2c_bus |
|
1 |
4 |
17 |
1 |
| Source file: ./sys/dev/pci/drm/drm_internal.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| drm_debugfs_init |
|
1 |
5 |
20 |
3 |
| drm_debugfs_cleanup |
|
1 |
4 |
12 |
1 |
| drm_debugfs_connector_add |
|
1 |
4 |
12 |
1 |
| drm_debugfs_connector_remove |
|
1 |
3 |
9 |
1 |
| Source file: ./sys/dev/pci/drm/drm_plane_helper.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| drm_plane_helper_add |
|
1 |
5 |
21 |
2 |
| Source file: ./sys/dev/pci/drm/drm_edid_modes.h |
| Source file: ./sys/dev/pci/drm/linux_ww_mutex.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ww_acquire_init |
|
1 |
4 |
34 |
2 |
| ww_acquire_done |
|
1 |
2 |
10 |
1 |
| ww_acquire_fini |
|
1 |
2 |
10 |
1 |
| ww_mutex_init |
|
1 |
6 |
42 |
2 |
| ww_mutex_is_locked |
|
2 |
7 |
45 |
1 |
| ww_mutex_trylock |
|
2 |
12 |
68 |
1 |
| __ww_mutex_lock |
|
12 |
35 |
197 |
4 |
| ww_mutex_lock |
|
1 |
3 |
26 |
2 |
| ww_mutex_lock_slow |
|
1 |
3 |
28 |
2 |
| ww_mutex_lock_interruptible |
|
1 |
3 |
26 |
2 |
| ww_mutex_lock_slow_interruptible |
|
1 |
3 |
26 |
2 |
| ww_mutex_unlock |
|
1 |
10 |
66 |
1 |
| ww_mutex_destroy |
|
1 |
5 |
36 |
1 |
| Source file: ./sys/dev/pci/drm/drm_vma_manager.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| drm_vma_offset_exact_lookup |
|
3 |
8 |
50 |
3 |
| drm_vma_offset_lock_lookup |
|
1 |
4 |
17 |
1 |
| drm_vma_offset_unlock_lookup |
|
1 |
4 |
17 |
1 |
| drm_vma_node_reset |
|
1 |
6 |
38 |
1 |
| drm_vma_node_start |
|
1 |
4 |
16 |
1 |
| drm_vma_node_size |
|
1 |
4 |
16 |
1 |
| drm_vma_node_has_offset |
|
1 |
4 |
18 |
1 |
| drm_vma_node_offset_addr |
|
1 |
4 |
24 |
1 |
| drm_vma_node_unmap |
|
3 |
8 |
43 |
2 |
| drm_vma_node_verify_access |
|
2 |
5 |
27 |
2 |
| Source file: ./sys/dev/pci/drm/radeon_drm.h |
| Source file: ./sys/dev/pci/drm/drm_rect.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| drm_rect_intersect |
|
1 |
8 |
81 |
2 |
| drm_rect_clip_scaled |
|
5 |
27 |
225 |
5 |
| drm_calc_scale |
|
4 |
10 |
47 |
2 |
| drm_rect_calc_hscale |
|
5 |
13 |
78 |
4 |
| drm_rect_calc_vscale |
|
5 |
13 |
78 |
4 |
| drm_rect_calc_hscale_relaxed |
|
5 |
21 |
120 |
4 |
| drm_rect_calc_vscale_relaxed |
|
5 |
21 |
120 |
4 |
| drm_rect_debug_print |
|
3 |
13 |
136 |
2 |
| drm_rect_rotate |
|
8 |
44 |
279 |
4 |
| drm_rect_rotate_inv |
|
8 |
44 |
279 |
4 |
| Source file: ./sys/dev/pci/drm/drm_bridge.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| drm_bridge_mode_fixup |
|
1 |
6 |
23 |
3 |
| drm_bridge_mode_set |
|
1 |
4 |
19 |
3 |
| drm_bridge_pre_enable |
|
1 |
3 |
9 |
1 |
| drm_bridge_enable |
|
1 |
3 |
9 |
1 |
| drm_bridge_disable |
|
1 |
3 |
9 |
1 |
| drm_bridge_post_disable |
|
1 |
3 |
9 |
1 |
| Source file: ./sys/dev/pci/drm/drm_atomic_helper.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| drm_atomic_plane_disabling |
|
6 |
7 |
70 |
2 |
| Source file: ./sys/dev/pci/drm/drm_crtc_helper.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| drm_crtc_helper_add |
|
1 |
5 |
21 |
2 |
| drm_encoder_helper_add |
|
1 |
5 |
21 |
2 |
| drm_connector_helper_add |
|
1 |
5 |
21 |
2 |
| Source file: ./sys/dev/pci/drm/drm_atomic.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| drm_atomic_state_default_release |
|
1 |
9 |
51 |
1 |
| drm_atomic_state_init |
|
7 |
37 |
254 |
2 |
| drm_atomic_state_alloc |
|
4 |
16 |
90 |
1 |
| drm_atomic_state_default_clear |
|
8 |
35 |
264 |
1 |
| drm_atomic_state_clear |
|
2 |
9 |
51 |
1 |
| drm_atomic_state_free |
|
3 |
17 |
83 |
1 |
| drm_atomic_get_crtc_state |
|
4 |
21 |
134 |
2 |
| drm_atomic_set_mode_for_crtc |
|
6 |
29 |
177 |
2 |
| drm_atomic_set_mode_prop_for_crtc |
|
6 |
26 |
148 |
2 |
| drm_atomic_crtc_set_property |
|
5 |
23 |
135 |
4 |
| drm_atomic_crtc_get_property |
|
5 |
16 |
119 |
4 |
| drm_atomic_crtc_check |
|
9 |
22 |
125 |
2 |
| drm_atomic_get_plane_state |
|
6 |
28 |
171 |
2 |
| drm_atomic_plane_set_property |
|
14 |
40 |
306 |
4 |
| drm_atomic_plane_get_property |
|
15 |
35 |
307 |
4 |
| plane_switching_crtc |
|
4 |
10 |
54 |
3 |
| drm_atomic_plane_check |
|
17 |
54 |
403 |
2 |
| drm_atomic_get_connector_state |
|
7 |
33 |
208 |
2 |
| drm_atomic_connector_set_property |
|
4 |
18 |
120 |
4 |
| drm_atomic_connector_get_property |
|
5 |
18 |
127 |
4 |
| drm_atomic_get_property |
|
4 |
33 |
184 |
3 |
| drm_atomic_set_crtc_for_plane |
|
6 |
28 |
157 |
2 |
| drm_atomic_set_fb_for_plane |
|
4 |
15 |
67 |
2 |
| drm_atomic_set_crtc_for_connector |
|
4 |
18 |
83 |
2 |
| drm_atomic_add_affected_connectors |
|
4 |
21 |
120 |
2 |
| drm_atomic_add_affected_planes |
|
2 |
13 |
74 |
2 |
| drm_atomic_connectors_for_crtc |
|
2 |
14 |
72 |
2 |
| drm_atomic_legacy_backoff |
|
3 |
14 |
66 |
1 |
| drm_atomic_check_only |
|
7 |
41 |
222 |
1 |
| drm_atomic_commit |
|
2 |
10 |
61 |
1 |
| drm_atomic_async_commit |
|
2 |
10 |
61 |
1 |
| create_vblank_event |
|
3 |
28 |
210 |
3 |
| destroy_vblank_event |
|
1 |
9 |
57 |
3 |
| atomic_set_prop |
|
8 |
52 |
260 |
4 |
| drm_atomic_clean_old_fb |
|
4 |
18 |
93 |
3 |
| drm_mode_atomic_ioctl |
|
33 |
128 |
784 |
3 |
| Source file: ./sys/dev/pci/drm/drm_vma_manager.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| drm_vma_offset_manager_init |
|
1 |
7 |
45 |
3 |
| drm_vma_offset_manager_destroy |
|
1 |
6 |
33 |
1 |
| drm_vma_offset_lookup |
|
1 |
10 |
52 |
3 |
| drm_vma_offset_lookup_locked |
|
6 |
28 |
145 |
3 |
| _drm_vma_offset_add_rb |
|
4 |
19 |
145 |
2 |
| drm_vma_offset_add |
|
3 |
18 |
96 |
3 |
| drm_vma_offset_remove |
|
2 |
11 |
80 |
2 |
| drm_vma_node_allow |
|
5 |
35 |
223 |
2 |
| drm_vma_node_revoke |
|
5 |
22 |
135 |
2 |
| drm_vma_node_is_allowed |
|
4 |
19 |
104 |
2 |
| Source file: ./sys/dev/pci/drm/drm.h |
| Source file: ./sys/dev/pci/drm/drm_dp_mst_helper.h |
| Source file: ./sys/dev/pci/drm/drm_cache.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| drm_clflush_page |
|
2 |
9 |
43 |
1 |
| drm_clflush_pages |
|
2 |
6 |
39 |
2 |
| drm_clflush_sg |
|
1 |
6 |
37 |
1 |
| drm_clflush_virt_range |
|
1 |
4 |
22 |
2 |
| Source file: ./sys/dev/pci/drm/drm_probe_helper.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| drm_mode_validate_flag |
|
7 |
14 |
76 |
2 |
| drm_helper_probe_add_cmdline_mode |
|
3 |
12 |
59 |
1 |
| drm_kms_helper_poll_enable_locked |
|
5 |
15 |
87 |
1 |
| drm_helper_probe_single_connector_modes_merge_bits |
|
24 |
96 |
641 |
4 |
| drm_helper_probe_single_connector_modes |
|
1 |
5 |
27 |
3 |
| drm_helper_probe_single_connector_modes_nomerge |
|
1 |
5 |
27 |
3 |
| drm_kms_helper_hotplug_event |
|
2 |
6 |
35 |
1 |
| output_poll_execute |
|
11 |
46 |
267 |
1 |
| drm_kms_helper_poll_disable |
|
2 |
6 |
30 |
1 |
| drm_kms_helper_poll_enable |
|
1 |
6 |
34 |
1 |
| drm_kms_helper_poll_init |
|
1 |
6 |
34 |
1 |
| drm_kms_helper_poll_fini |
|
1 |
4 |
14 |
1 |
| drm_helper_hpd_irq_event |
|
5 |
26 |
148 |
1 |
| Source file: ./sys/dev/pci/drm/drm_panel.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| drm_panel_unprepare |
|
5 |
6 |
42 |
1 |
| drm_panel_disable |
|
5 |
6 |
42 |
1 |
| drm_panel_prepare |
|
5 |
6 |
42 |
1 |
| drm_panel_enable |
|
5 |
6 |
42 |
1 |
| drm_panel_get_modes |
|
5 |
6 |
42 |
1 |
| of_drm_find_panel |
|
1 |
4 |
12 |
1 |
| Source file: ./sys/dev/pci/drm/drm_crtc_internal.h |
| Source file: ./sys/dev/pci/drm/i915_powerwell.h |
| Source file: ./sys/dev/pci/drm/drm_linux.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| flush_barrier |
|
1 |
6 |
24 |
1 |
| flush_workqueue |
|
3 |
14 |
81 |
1 |
| flush_work |
|
3 |
14 |
78 |
1 |
| flush_delayed_work |
|
4 |
16 |
100 |
1 |
| ns_to_timespec |
|
3 |
18 |
82 |
1 |
| timeval_to_ns |
|
1 |
5 |
28 |
1 |
| ns_to_timeval |
|
3 |
18 |
84 |
1 |
| timeval_to_us |
|
1 |
4 |
26 |
1 |
| dmi_found |
|
11 |
28 |
131 |
1 |
| dmi_check_system |
|
5 |
13 |
75 |
1 |
| alloc_pages |
|
5 |
14 |
91 |
2 |
| __free_pages |
|
2 |
9 |
64 |
2 |
| kmap |
|
2 |
9 |
56 |
1 |
| kunmap |
|
2 |
8 |
44 |
1 |
| vmap |
|
3 |
18 |
117 |
4 |
| vunmap |
|
1 |
7 |
48 |
2 |
| print_hex_dump |
|
4 |
15 |
111 |
8 |
| memchr_inv |
|
4 |
11 |
72 |
3 |
| panic_cmp |
|
1 |
4 |
19 |
2 |
| idr_init |
|
2 |
10 |
54 |
1 |
| idr_destroy |
|
2 |
8 |
52 |
1 |
| idr_preload |
|
3 |
7 |
41 |
1 |
| idr_alloc |
|
9 |
30 |
182 |
5 |
| idr_replace |
|
2 |
12 |
76 |
3 |
| idr_remove |
|
2 |
10 |
66 |
2 |
| idr_find |
|
2 |
9 |
54 |
2 |
| idr_get_next |
|
3 |
13 |
82 |
2 |
| idr_for_each |
|
2 |
11 |
74 |
3 |
| idr_cmp |
|
2 |
4 |
36 |
2 |
| ida_init |
|
1 |
4 |
15 |
1 |
| ida_destroy |
|
1 |
3 |
9 |
1 |
| ida_remove |
|
1 |
3 |
12 |
2 |
| ida_simple_get |
|
4 |
11 |
62 |
4 |
| sg_alloc_table |
|
2 |
9 |
60 |
3 |
| sg_free_table |
|
1 |
5 |
28 |
1 |
| sg_copy_from_buffer |
|
1 |
5 |
28 |
4 |
| i2c_transfer |
|
8 |
40 |
251 |
3 |
| vga_disable_bridge |
|
4 |
17 |
112 |
1 |
| vga_get_uninterruptible |
|
1 |
5 |
34 |
2 |
| vga_put |
|
2 |
10 |
56 |
2 |
| acpi_get_table_with_size |
|
2 |
15 |
96 |
4 |
| backlight_do_update_status |
|
1 |
4 |
13 |
1 |
| backlight_device_register |
|
1 |
11 |
82 |
5 |
| backlight_device_unregister |
|
1 |
4 |
22 |
1 |
| backlight_schedule_update_status |
|
1 |
4 |
19 |
1 |
| Source file: ./sys/dev/pci/drm/drm_mipi_dsi.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mipi_dsi_device_match |
|
1 |
4 |
22 |
2 |
| of_device_match |
|
1 |
4 |
20 |
2 |
| of_find_mipi_dsi_device_by_node |
|
2 |
6 |
38 |
1 |
| mipi_dsi_dev_release |
|
1 |
6 |
31 |
1 |
| mipi_dsi_device_alloc |
|
2 |
13 |
84 |
1 |
| mipi_dsi_device_add |
|
1 |
6 |
48 |
1 |
| of_mipi_dsi_device_add |
|
5 |
34 |
192 |
2 |
| mipi_dsi_host_register |
|
2 |
10 |
50 |
1 |
| mipi_dsi_remove_device_fn |
|
1 |
6 |
34 |
2 |
| mipi_dsi_host_unregister |
|
1 |
4 |
20 |
1 |
| mipi_dsi_attach |
|
3 |
7 |
47 |
1 |
| mipi_dsi_detach |
|
3 |
7 |
47 |
1 |
| mipi_dsi_device_transfer |
|
4 |
10 |
66 |
2 |
| mipi_dsi_packet_format_is_short |
|
20 |
26 |
76 |
1 |
| mipi_dsi_packet_format_is_long |
|
15 |
21 |
61 |
1 |
| mipi_dsi_create_packet |
|
9 |
25 |
239 |
2 |
| mipi_dsi_set_maximum_return_packet_size |
|
1 |
12 |
70 |
2 |
| mipi_dsi_generic_write |
|
4 |
24 |
98 |
3 |
| mipi_dsi_generic_read |
|
4 |
25 |
111 |
5 |
| mipi_dsi_dcs_write_buffer |
|
4 |
23 |
94 |
3 |
| mipi_dsi_dcs_write |
|
4 |
22 |
119 |
4 |
| mipi_dsi_dcs_read |
|
1 |
13 |
67 |
4 |
| mipi_dsi_dcs_nop |
|
2 |
8 |
37 |
1 |
| mipi_dsi_dcs_soft_reset |
|
2 |
8 |
37 |
1 |
| mipi_dsi_dcs_get_power_mode |
|
3 |
12 |
58 |
2 |
| mipi_dsi_dcs_get_pixel_format |
|
3 |
12 |
58 |
2 |
| mipi_dsi_dcs_enter_sleep_mode |
|
2 |
8 |
37 |
1 |
| mipi_dsi_dcs_exit_sleep_mode |
|
2 |
8 |
37 |
1 |
| mipi_dsi_dcs_set_display_off |
|
2 |
8 |
37 |
1 |
| mipi_dsi_dcs_set_display_on |
|
2 |
8 |
37 |
1 |
| mipi_dsi_dcs_set_column_address |
|
2 |
11 |
72 |
3 |
| mipi_dsi_dcs_set_page_address |
|
2 |
11 |
72 |
3 |
| mipi_dsi_dcs_set_tear_off |
|
2 |
8 |
37 |
1 |
| mipi_dsi_dcs_set_tear_on |
|
2 |
11 |
50 |
2 |
| mipi_dsi_dcs_set_pixel_format |
|
2 |
9 |
44 |
2 |
| mipi_dsi_drv_probe |
|
1 |
6 |
39 |
1 |
| mipi_dsi_drv_remove |
|
1 |
6 |
39 |
1 |
| mipi_dsi_drv_shutdown |
|
1 |
6 |
38 |
1 |
| mipi_dsi_driver_register_full |
|
4 |
13 |
82 |
2 |
| mipi_dsi_driver_unregister |
|
1 |
4 |
17 |
1 |
| mipi_dsi_bus_init |
|
1 |
4 |
13 |
1 |
| Source file: ./sys/dev/pci/drm/drm_atomic.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| drm_atomic_get_existing_crtc_state |
|
1 |
5 |
25 |
2 |
| drm_atomic_get_existing_plane_state |
|
1 |
5 |
25 |
2 |
| drm_atomic_get_existing_connector_state |
|
2 |
8 |
41 |
2 |
| drm_atomic_crtc_needs_modeset |
|
3 |
5 |
22 |
1 |
| Source file: ./sys/dev/pci/drm/drm_crtc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| drm_connector_ida_init |
|
2 |
6 |
36 |
1 |
| drm_connector_ida_destroy |
|
2 |
6 |
36 |
1 |
| drm_get_connector_status_name |
|
3 |
9 |
31 |
1 |
| drm_get_subpixel_order_name |
|
1 |
4 |
16 |
1 |
| printable_char |
|
3 |
4 |
22 |
1 |
| drm_get_format_name |
|
2 |
13 |
82 |
1 |
| drm_mode_object_get_reg |
|
4 |
15 |
96 |
4 |
| drm_mode_object_get |
|
1 |
5 |
29 |
3 |
| drm_mode_object_register |
|
1 |
7 |
50 |
2 |
| drm_mode_object_put |
|
1 |
7 |
48 |
2 |
| _object_find |
|
9 |
17 |
113 |
3 |
| drm_mode_object_find |
|
2 |
8 |
47 |
3 |
| drm_framebuffer_init |
|
2 |
18 |
119 |
3 |
| __drm_framebuffer_unregister |
|
1 |
8 |
58 |
2 |
| drm_framebuffer_free |
|
2 |
12 |
79 |
1 |
| __drm_framebuffer_lookup |
|
4 |
14 |
94 |
2 |
| drm_framebuffer_lookup |
|
3 |
13 |
70 |
2 |
| drm_framebuffer_unreference |
|
1 |
5 |
42 |
1 |
| drm_framebuffer_reference |
|
1 |
5 |
40 |
1 |
| drm_framebuffer_unregister_private |
|
2 |
10 |
54 |
1 |
| drm_framebuffer_cleanup |
|
1 |
8 |
53 |
1 |
| drm_framebuffer_remove |
|
6 |
31 |
173 |
1 |
| drm_crtc_init_with_planes |
|
7 |
30 |
221 |
5 |
| drm_crtc_cleanup |
|
4 |
14 |
116 |
1 |
| drm_crtc_index |
|
2 |
11 |
46 |
1 |
| drm_mode_remove |
|
1 |
6 |
31 |
2 |
| drm_display_info_set_bus_formats |
|
6 |
18 |
91 |
3 |
| drm_connector_get_cmdline_mode |
|
12 |
35 |
173 |
1 |
| drm_connector_init |
|
7 |
55 |
321 |
4 |
| drm_connector_cleanup |
|
5 |
26 |
205 |
1 |
| drm_connector_index |
|
2 |
13 |
70 |
1 |
| drm_connector_register |
|
3 |
14 |
62 |
1 |
| drm_connector_unregister |
|
1 |
5 |
19 |
1 |
| drm_connector_unplug_all |
|
1 |
6 |
32 |
1 |
| drm_encoder_init |
|
4 |
29 |
159 |
4 |
| drm_encoder_cleanup |
|
1 |
11 |
73 |
1 |
| drm_universal_plane_init |
|
5 |
47 |
381 |
7 |
| drm_plane_init |
|
2 |
11 |
66 |
7 |
| drm_plane_cleanup |
|
5 |
17 |
138 |
1 |
| drm_plane_index |
|
2 |
11 |
46 |
1 |
| drm_plane_from_index |
|
2 |
11 |
46 |
2 |
| drm_plane_force_disable |
|
3 |
17 |
84 |
1 |
| drm_mode_create_standard_properties |
|
18 |
98 |
559 |
1 |
| drm_mode_create_dvi_i_properties |
|
2 |
19 |
85 |
1 |
| drm_mode_create_tv_properties |
|
16 |
76 |
493 |
3 |
| drm_mode_create_scaling_mode_property |
|
2 |
12 |
54 |
1 |
| drm_mode_create_aspect_ratio_property |
|
3 |
12 |
59 |
1 |
| drm_mode_create_dirty_info_property |
|
2 |
13 |
54 |
1 |
| drm_mode_create_suggested_offset_properties |
|
5 |
13 |
89 |
1 |
| drm_mode_getresources |
|
10 |
98 |
585 |
3 |
| drm_mode_getcrtc |
|
7 |
38 |
251 |
3 |
| drm_mode_expose_to_userspace |
|
3 |
7 |
34 |
2 |
| drm_connector_get_encoder |
|
2 |
6 |
27 |
1 |
| get_properties |
|
10 |
28 |
185 |
5 |
| drm_mode_getconnector |
|
18 |
92 |
620 |
3 |
| drm_encoder_get_crtc |
|
4 |
17 |
80 |
1 |
| drm_mode_getencoder |
|
4 |
24 |
156 |
3 |
| drm_mode_getplane_res |
|
8 |
31 |
171 |
3 |
| drm_mode_getplane |
|
8 |
36 |
231 |
3 |
| drm_plane_check_pixel_format |
|
3 |
9 |
52 |
2 |
| check_src_coords |
|
5 |
21 |
155 |
5 |
| __setplane_internal |
|
13 |
62 |
343 |
11 |
| setplane_internal |
|
1 |
16 |
90 |
11 |
| drm_mode_setplane |
|
6 |
35 |
201 |
3 |
| drm_mode_set_config_internal |
|
4 |
23 |
147 |
1 |
| drm_crtc_get_hv_timing |
|
1 |
9 |
52 |
3 |
| drm_crtc_check_viewport |
|
3 |
14 |
103 |
5 |
| drm_mode_setcrtc |
|
26 |
126 |
696 |
3 |
| drm_mode_cursor_universal |
|
10 |
56 |
348 |
3 |
| drm_mode_cursor_common |
|
12 |
44 |
287 |
3 |
| drm_mode_cursor_ioctl |
|
1 |
9 |
64 |
3 |
| drm_mode_cursor2_ioctl |
|
1 |
6 |
35 |
3 |
| drm_mode_legacy_fb_format |
|
8 |
31 |
104 |
2 |
| drm_mode_addfb |
|
2 |
18 |
126 |
3 |
| format_check |
|
61 |
71 |
226 |
1 |
| framebuffer_check |
|
26 |
76 |
511 |
1 |
| internal_framebuffer_create |
|
10 |
36 |
246 |
3 |
| drm_mode_addfb2 |
|
3 |
17 |
121 |
3 |
| drm_mode_rmfb_work_fn |
|
2 |
10 |
74 |
1 |
| drm_mode_rmfb |
|
6 |
38 |
256 |
3 |
| drm_mode_getfb |
|
7 |
31 |
185 |
3 |
| drm_mode_dirtyfb_ioctl |
|
13 |
55 |
303 |
3 |
| drm_fb_release |
|
3 |
20 |
136 |
1 |
| drm_property_create |
|
6 |
33 |
202 |
4 |
| drm_property_create_enum |
|
4 |
22 |
118 |
5 |
| drm_property_create_bitmask |
|
6 |
30 |
176 |
6 |
| property_create_range |
|
2 |
12 |
70 |
5 |
| drm_property_create_range |
|
1 |
7 |
39 |
5 |
| drm_property_create_signed_range |
|
1 |
7 |
45 |
5 |
| drm_property_create_object |
|
3 |
13 |
77 |
4 |
| drm_property_create_bool |
|
1 |
5 |
31 |
3 |
| drm_property_add_enum |
|
8 |
29 |
203 |
4 |
| drm_property_destroy |
|
2 |
13 |
86 |
2 |
| drm_object_attach_property |
|
3 |
18 |
93 |
3 |
| drm_object_property_set_value |
|
3 |
12 |
72 |
3 |
| drm_object_property_get_value |
|
9 |
27 |
178 |
3 |
| drm_mode_getproperty_ioctl |
|
16 |
65 |
425 |
3 |
| drm_property_create_blob |
|
6 |
28 |
197 |
3 |
| drm_property_free_blob |
|
1 |
10 |
73 |
1 |
| drm_property_unreference_blob |
|
3 |
13 |
90 |
1 |
| drm_property_unreference_blob_locked |
|
2 |
7 |
49 |
1 |
| drm_property_destroy_user_blobs |
|
1 |
11 |
70 |
2 |
| drm_property_reference_blob |
|
1 |
6 |
43 |
1 |
| __drm_property_lookup_blob |
|
4 |
15 |
108 |
2 |
| drm_property_lookup_blob |
|
3 |
13 |
70 |
2 |
| drm_property_replace_global_blob |
|
7 |
32 |
150 |
6 |
| drm_mode_getblob_ioctl |
|
5 |
29 |
175 |
3 |
| drm_mode_createblob_ioctl |
|
4 |
26 |
176 |
3 |
| drm_mode_destroyblob_ioctl |
|
5 |
33 |
178 |
3 |
| drm_mode_connector_set_path_property |
|
1 |
13 |
61 |
2 |
| drm_mode_connector_set_tile_property |
|
2 |
27 |
144 |
1 |
| drm_mode_connector_update_edid_property |
|
3 |
18 |
87 |
2 |
| drm_property_change_valid_get |
|
19 |
54 |
366 |
3 |
| drm_property_change_valid_put |
|
5 |
11 |
69 |
2 |
| drm_mode_connector_property_set_ioctl |
|
1 |
12 |
68 |
3 |
| drm_mode_connector_set_obj_prop |
|
7 |
20 |
154 |
3 |
| drm_mode_crtc_set_obj_prop |
|
3 |
12 |
73 |
3 |
| drm_mode_plane_set_obj_prop |
|
3 |
12 |
73 |
3 |
| drm_mode_obj_get_properties_ioctl |
|
4 |
26 |
157 |
3 |
| drm_mode_obj_set_property_ioctl |
|
12 |
51 |
298 |
3 |
| drm_mode_connector_attach_encoder |
|
3 |
12 |
65 |
2 |
| drm_mode_crtc_set_gamma_size |
|
2 |
12 |
58 |
2 |
| drm_mode_gamma_set_ioctl |
|
8 |
45 |
291 |
3 |
| drm_mode_gamma_get_ioctl |
|
7 |
40 |
250 |
3 |
| drm_mode_page_flip_ioctl |
|
20 |
92 |
653 |
3 |
| drm_mode_config_reset |
|
5 |
21 |
141 |
1 |
| drm_mode_create_dumb_ioctl |
|
9 |
23 |
169 |
3 |
| drm_mode_mmap_dumb_ioctl |
|
2 |
8 |
59 |
3 |
| drm_mode_destroy_dumb_ioctl |
|
2 |
8 |
54 |
3 |
| drm_fb_get_bpp_depth |
|
32 |
64 |
223 |
3 |
| drm_format_num_planes |
|
17 |
25 |
72 |
1 |
| drm_format_plane_cpp |
|
23 |
35 |
127 |
2 |
| drm_format_horz_chroma_subsampling |
|
17 |
25 |
72 |
1 |
| drm_format_vert_chroma_subsampling |
|
7 |
15 |
42 |
1 |
| drm_rotation_simplify |
|
2 |
10 |
59 |
2 |
| drm_mode_config_init |
|
1 |
26 |
220 |
1 |
| drm_mode_config_cleanup |
|
1 |
40 |
284 |
1 |
| drm_mode_create_rotation_property |
|
1 |
15 |
79 |
2 |
| drm_tile_group_free |
|
1 |
9 |
72 |
1 |
| drm_mode_put_tile_group |
|
1 |
5 |
24 |
2 |
| drm_mode_get_tile_group |
|
3 |
17 |
105 |
2 |
| drm_mode_create_tile_group |
|
3 |
22 |
145 |
2 |
| Source file: ./sys/dev/pci/drm/drm_linux_atomic.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| atomic_xchg |
|
1 |
5 |
24 |
2 |
| atomic_add_unless |
|
3 |
10 |
57 |
3 |
| atomic64_xchg |
|
1 |
5 |
24 |
2 |
| atomic64_set |
|
1 |
5 |
27 |
2 |
| atomic64_read |
|
1 |
8 |
36 |
1 |
| atomic64_xchg |
|
1 |
9 |
45 |
2 |
| atomic_inc_not_zero |
|
2 |
7 |
33 |
1 |
| atomic_cmpset_int |
|
1 |
16 |
56 |
3 |
| atomic_cmpset_int |
|
2 |
11 |
52 |
3 |
| test_and_set_bit |
|
1 |
9 |
60 |
2 |
| clear_bit |
|
1 |
4 |
40 |
2 |
| set_bit |
|
1 |
4 |
40 |
2 |
| __clear_bit |
|
1 |
5 |
43 |
2 |
| __set_bit |
|
1 |
5 |
43 |
2 |
| test_bit |
|
1 |
4 |
43 |
2 |
| __test_and_clear_bit |
|
1 |
7 |
72 |
2 |
| find_first_zero_bit |
|
5 |
15 |
98 |
2 |
| find_first_bit |
|
5 |
15 |
94 |
2 |
| find_next_bit |
|
5 |
14 |
91 |
3 |
| Source file: ./sys/dev/pci/drm/drm_fb_helper.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| drm_fb_helper_single_add_all_connectors |
|
4 |
27 |
167 |
1 |
| drm_fb_helper_add_one_connector |
|
5 |
24 |
179 |
2 |
| remove_from_modeset |
|
6 |
20 |
132 |
2 |
| drm_fb_helper_remove_one_connector |
|
7 |
24 |
179 |
2 |
| drm_fb_helper_save_lut_atomic |
|
3 |
12 |
105 |
2 |
| drm_fb_helper_restore_lut_atomic |
|
2 |
10 |
74 |
1 |
| drm_fb_helper_debug_enter |
|
3 |
22 |
124 |
1 |
| drm_mode_config_fb |
|
2 |
10 |
55 |
1 |
| drm_fb_helper_debug_leave |
|
4 |
24 |
142 |
1 |
| restore_fbdev_mode_atomic |
|
9 |
48 |
271 |
1 |
| restore_fbdev_mode |
|
10 |
36 |
228 |
1 |
| drm_fb_helper_restore_fbdev_mode_unlocked |
|
4 |
17 |
78 |
1 |
| drm_fb_helper_is_bound |
|
6 |
17 |
89 |
1 |
| drm_fb_helper_force_kernel_mode |
|
4 |
18 |
87 |
1 |
| drm_fb_helper_restore_work_fn |
|
2 |
7 |
29 |
1 |
| drm_fb_helper_sysrq |
|
1 |
4 |
13 |
1 |
| drm_fb_helper_dpms |
|
5 |
25 |
166 |
2 |
| drm_fb_helper_blank |
|
7 |
23 |
89 |
2 |
| drm_fb_helper_crtc_free |
|
4 |
13 |
113 |
1 |
| drm_fb_helper_prepare |
|
1 |
7 |
40 |
3 |
| drm_fb_helper_init |
|
7 |
41 |
262 |
4 |
| drm_fb_helper_alloc_fbi |
|
8 |
24 |
128 |
1 |
| drm_fb_helper_unregister_fbi |
|
3 |
5 |
24 |
1 |
| drm_fb_helper_release_fbi |
|
4 |
12 |
57 |
1 |
| drm_fb_helper_fini |
|
5 |
12 |
60 |
1 |
| drm_fb_helper_unlink_fbi |
|
3 |
5 |
24 |
1 |
| drm_fb_helper_sys_read |
|
1 |
5 |
33 |
4 |
| drm_fb_helper_sys_write |
|
1 |
5 |
34 |
4 |
| drm_fb_helper_sys_fillrect |
|
1 |
5 |
22 |
2 |
| drm_fb_helper_sys_copyarea |
|
1 |
5 |
22 |
2 |
| drm_fb_helper_sys_imageblit |
|
1 |
5 |
22 |
2 |
| drm_fb_helper_cfb_fillrect |
|
1 |
5 |
22 |
2 |
| drm_fb_helper_cfb_copyarea |
|
1 |
5 |
22 |
2 |
| drm_fb_helper_cfb_imageblit |
|
1 |
5 |
22 |
2 |
| drm_fb_helper_set_suspend |
|
3 |
5 |
29 |
2 |
| setcolreg |
|
16 |
57 |
453 |
6 |
| drm_fb_helper_setcmap |
|
8 |
42 |
270 |
2 |
| drm_fb_helper_check_var |
|
17 |
85 |
557 |
2 |
| drm_fb_helper_set_par |
|
3 |
13 |
63 |
1 |
| pan_display_atomic |
|
7 |
44 |
259 |
2 |
| drm_fb_helper_pan_display |
|
7 |
35 |
194 |
2 |
| drm_fb_helper_single_fb_probe |
|
25 |
96 |
717 |
2 |
| drm_fb_helper_fill_fix |
|
2 |
16 |
103 |
3 |
| drm_fb_helper_fill_var |
|
6 |
70 |
560 |
4 |
| drm_fb_helper_probe_connector_modes |
|
2 |
13 |
74 |
3 |
| drm_has_preferred_mode |
|
4 |
12 |
65 |
3 |
| drm_has_cmdline_mode |
|
1 |
4 |
18 |
1 |
| drm_pick_cmdline_mode |
|
13 |
40 |
212 |
3 |
| drm_connector_enabled |
|
2 |
9 |
39 |
2 |
| drm_enable_connectors |
|
5 |
20 |
141 |
2 |
| drm_target_cloned |
|
17 |
59 |
356 |
6 |
| drm_get_tile_offsets |
|
8 |
28 |
187 |
6 |
| drm_target_preferred |
|
17 |
54 |
385 |
6 |
| drm_pick_crtcs |
|
16 |
63 |
411 |
6 |
| drm_setup_crtcs |
|
17 |
83 |
652 |
1 |
| drm_fb_helper_initial_config |
|
3 |
16 |
103 |
2 |
| drm_fb_helper_hotplug_event |
|
4 |
23 |
146 |
1 |
| drm_fb_helper_modinit |
|
2 |
11 |
50 |
1 |
| Source file: ./sys/dev/pci/pwdog.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pwdog_probe |
|
1 |
5 |
43 |
3 |
| pwdog_attach |
|
3 |
18 |
144 |
3 |
| pwdog_activate |
|
2 |
9 |
33 |
2 |
| pwdog_set_timeout |
|
2 |
12 |
75 |
2 |
| Source file: ./sys/dev/pci/drm/drm_drv.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pledge_ioctl_drm |
|
11 |
24 |
143 |
3 |
| drm_setunique |
|
1 |
5 |
24 |
3 |
| drm_noop |
|
1 |
5 |
21 |
3 |
| drm_attach_pci |
|
2 |
30 |
253 |
5 |
| drmprint |
|
2 |
6 |
31 |
2 |
| drmsubmatch |
|
2 |
8 |
62 |
3 |
| drm_pciprobe |
|
2 |
9 |
54 |
2 |
| drm_probe |
|
4 |
12 |
71 |
3 |
| drm_attach |
|
9 |
61 |
503 |
3 |
| drm_detach |
|
6 |
21 |
142 |
2 |
| drm_quiesce |
|
2 |
10 |
60 |
1 |
| drm_wakeup |
|
1 |
7 |
39 |
1 |
| drm_activate |
|
3 |
13 |
55 |
2 |
| drm_find_description |
|
6 |
12 |
97 |
3 |
| drm_file_cmp |
|
2 |
4 |
36 |
2 |
| drm_find_file_by_minor |
|
1 |
6 |
38 |
2 |
| drm_get_device_from_kdev |
|
2 |
7 |
45 |
1 |
| drm_firstopen |
|
3 |
12 |
68 |
1 |
| drm_lastclose |
|
6 |
11 |
70 |
1 |
| drmopen |
|
12 |
58 |
394 |
4 |
| drmclose |
|
10 |
54 |
411 |
4 |
| drm_do_ioctl |
|
24 |
66 |
460 |
4 |
| drmioctl |
|
7 |
21 |
171 |
5 |
| drmread |
|
9 |
37 |
254 |
3 |
| drm_dequeue_event |
|
3 |
21 |
130 |
4 |
| drmpoll |
|
5 |
22 |
150 |
3 |
| drmmmap |
|
1 |
4 |
17 |
3 |
| drm_getunique |
|
3 |
10 |
69 |
3 |
| drm_getcap |
|
16 |
45 |
227 |
3 |
| drm_setclientcap |
|
3 |
14 |
67 |
3 |
| drm_version |
|
1 |
12 |
100 |
3 |
| drm_setversion |
|
9 |
25 |
176 |
3 |
| drm_dmamem_alloc |
|
6 |
33 |
265 |
7 |
| drm_dmamem_free |
|
2 |
10 |
73 |
2 |
| drm_pci_alloc |
|
2 |
15 |
124 |
3 |
| drm_pci_free |
|
2 |
7 |
46 |
2 |
| drm_getmagic |
|
3 |
16 |
108 |
3 |
| drm_authmagic |
|
3 |
20 |
118 |
3 |
| drm_order |
|
3 |
10 |
51 |
1 |
| drm_pcie_get_speed_cap_mask |
|
12 |
41 |
258 |
2 |
| drm_getpciinfo |
|
1 |
14 |
118 |
3 |
| Source file: ./sys/dev/pci/ixgb_hw.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ixgb_mac_reset |
|
5 |
30 |
124 |
1 |
| ixgb_adapter_stop |
|
2 |
22 |
135 |
1 |
| ixgb_identify_xpak_vendor |
|
7 |
23 |
114 |
1 |
| ixgb_identify_phy |
|
8 |
44 |
173 |
1 |
| ixgb_init_hw |
|
5 |
33 |
191 |
1 |
| ixgb_init_rx_addrs |
|
3 |
27 |
219 |
1 |
| ixgb_mc_addr_list_update |
|
5 |
47 |
311 |
4 |
| ixgb_hash_mc_addr |
|
5 |
28 |
187 |
2 |
| ixgb_mta_set |
|
1 |
11 |
70 |
2 |
| ixgb_rar_set |
|
1 |
15 |
142 |
3 |
| ixgb_write_vfta |
|
1 |
5 |
28 |
3 |
| ixgb_clear_vfta |
|
2 |
7 |
38 |
1 |
| ixgb_setup_fc |
|
8 |
46 |
253 |
1 |
| ixgb_read_phy_reg |
|
5 |
37 |
256 |
4 |
| ixgb_write_phy_reg |
|
5 |
34 |
246 |
5 |
| ixgb_check_for_link |
|
5 |
18 |
104 |
1 |
| ixgb_check_for_bad_link |
|
4 |
16 |
95 |
1 |
| ixgb_clear_hw_cntrs |
|
2 |
70 |
575 |
1 |
| ixgb_led_on |
|
1 |
7 |
34 |
1 |
| ixgb_led_off |
|
1 |
7 |
34 |
1 |
| ixgb_get_bus_info |
|
8 |
32 |
145 |
1 |
| mac_addr_valid |
|
9 |
23 |
116 |
1 |
| ixgb_link_reset |
|
7 |
18 |
102 |
1 |
| ixgb_optics_reset |
|
2 |
16 |
50 |
1 |
| ixgb_optics_reset_bcm |
|
1 |
36 |
118 |
1 |
| Source file: ./sys/dev/pci/if_wpireg.h |
| Source file: ./sys/dev/pci/ohci_pci.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ohci_pci_match |
|
4 |
9 |
68 |
3 |
| ohci_pci_attach |
|
8 |
63 |
540 |
3 |
| ohci_pci_attach_deferred |
|
2 |
19 |
136 |
1 |
| ohci_pci_detach |
|
4 |
17 |
116 |
2 |
| Source file: ./sys/dev/pci/if_et.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| et_match |
|
1 |
5 |
43 |
3 |
| et_attach |
|
8 |
79 |
587 |
3 |
| et_detach |
|
2 |
20 |
139 |
2 |
| et_miibus_readreg |
|
4 |
28 |
185 |
3 |
| et_miibus_writereg |
|
4 |
23 |
166 |
4 |
| et_miibus_statchg |
|
3 |
25 |
156 |
1 |
| et_ifmedia_upd |
|
2 |
12 |
67 |
1 |
| et_ifmedia_sts |
|
1 |
8 |
54 |
2 |
| et_stop |
|
1 |
17 |
99 |
1 |
| et_bus_config |
|
6 |
47 |
293 |
1 |
| et_get_eaddr |
|
1 |
12 |
121 |
2 |
| et_reset |
|
1 |
15 |
73 |
1 |
| et_disable_intrs |
|
1 |
4 |
18 |
1 |
| et_enable_intrs |
|
1 |
4 |
21 |
2 |
| et_dma_alloc |
|
8 |
58 |
397 |
1 |
| et_dma_free |
|
3 |
19 |
179 |
1 |
| et_dma_mbuf_create |
|
7 |
44 |
303 |
1 |
| et_dma_mbuf_destroy |
|
4 |
21 |
182 |
3 |
| et_dma_mem_create |
|
5 |
32 |
239 |
6 |
| et_dma_mem_destroy |
|
1 |
5 |
41 |
3 |
| et_chip_attach |
|
1 |
18 |
110 |
1 |
| et_intr |
|
8 |
24 |
146 |
1 |
| et_init |
|
9 |
39 |
230 |
1 |
| et_ioctl |
|
13 |
43 |
254 |
3 |
| et_start |
|
10 |
31 |
182 |
1 |
| et_watchdog |
|
1 |
7 |
39 |
1 |
| et_stop_rxdma |
|
2 |
11 |
59 |
1 |
| et_stop_txdma |
|
1 |
6 |
23 |
1 |
| et_free_tx_ring |
|
3 |
17 |
124 |
1 |
| et_free_rx_ring |
|
4 |
20 |
148 |
1 |
| et_setmulti |
|
11 |
52 |
373 |
1 |
| et_chip_init |
|
5 |
30 |
177 |
1 |
| et_init_tx_ring |
|
1 |
16 |
123 |
1 |
| et_init_rx_ring |
|
4 |
25 |
187 |
1 |
| et_init_rxdma |
|
2 |
40 |
374 |
1 |
| et_init_txdma |
|
2 |
20 |
150 |
1 |
| et_init_mac |
|
1 |
28 |
243 |
1 |
| et_init_rxmac |
|
4 |
40 |
327 |
1 |
| et_init_txmac |
|
1 |
7 |
38 |
1 |
| et_start_rxdma |
|
2 |
17 |
94 |
1 |
| et_start_txdma |
|
1 |
5 |
21 |
1 |
| et_enable_txrx |
|
4 |
24 |
140 |
1 |
| et_rxeof |
|
13 |
85 |
571 |
1 |
| et_encap |
|
17 |
96 |
653 |
2 |
| et_txeof |
|
9 |
40 |
289 |
1 |
| et_txtick |
|
1 |
8 |
34 |
1 |
| et_tick |
|
1 |
9 |
47 |
1 |
| et_newbuf_cluster |
|
1 |
4 |
27 |
3 |
| et_newbuf_hdr |
|
1 |
4 |
27 |
3 |
| et_newbuf |
|
14 |
71 |
442 |
4 |
| Source file: ./sys/dev/pci/if_skreg.h |
| Source file: ./sys/dev/pci/if_ix.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ixgbe_probe |
|
1 |
6 |
42 |
3 |
| ixgbe_attach |
|
13 |
75 |
484 |
3 |
| ixgbe_detach |
|
1 |
21 |
136 |
2 |
| ixgbe_start |
|
11 |
39 |
244 |
1 |
| ixgbe_ioctl |
|
12 |
47 |
256 |
3 |
| ixgbe_rxrinfo |
|
5 |
24 |
203 |
2 |
| ixgbe_watchdog |
|
8 |
35 |
245 |
1 |
| ixgbe_init |
|
15 |
106 |
846 |
1 |
| ixgbe_config_gpie |
|
8 |
26 |
154 |
1 |
| ixgbe_config_delay_values |
|
7 |
33 |
191 |
1 |
| ixgbe_enable_queue |
|
4 |
16 |
115 |
2 |
| ixgbe_disable_queue |
|
4 |
16 |
115 |
2 |
| ixgbe_intr |
|
22 |
87 |
537 |
1 |
| ixgbe_media_status |
|
10 |
48 |
220 |
2 |
| ixgbe_media_change |
|
14 |
38 |
183 |
1 |
| ixgbe_encap |
|
9 |
66 |
466 |
2 |
| ixgbe_iff |
|
6 |
38 |
241 |
1 |
| ixgbe_mc_array_itr |
|
1 |
9 |
47 |
3 |
| ixgbe_local_timer |
|
4 |
13 |
81 |
1 |
| ixgbe_update_link_status |
|
7 |
29 |
162 |
1 |
| ixgbe_stop |
|
3 |
24 |
223 |
1 |
| ixgbe_identify_hardware |
|
2 |
17 |
157 |
1 |
| ixgbe_setup_optics |
|
13 |
29 |
170 |
1 |
| ixgbe_allocate_legacy |
|
6 |
29 |
212 |
1 |
| ixgbe_allocate_pci_resources |
|
4 |
21 |
166 |
1 |
| ixgbe_free_pci_resources |
|
5 |
18 |
136 |
1 |
| ixgbe_setup_interface |
|
3 |
25 |
173 |
1 |
| ixgbe_add_media_types |
|
16 |
42 |
394 |
1 |
| ixgbe_config_link |
|
10 |
29 |
240 |
1 |
| ixgbe_dma_malloc |
|
5 |
48 |
328 |
4 |
| ixgbe_dma_free |
|
3 |
15 |
116 |
2 |
| ixgbe_allocate_queues |
|
11 |
74 |
593 |
1 |
| ixgbe_allocate_transmit_buffers |
|
4 |
29 |
181 |
1 |
| ixgbe_setup_transmit_ring |
|
2 |
16 |
116 |
1 |
| ixgbe_setup_transmit_structures |
|
3 |
13 |
76 |
1 |
| ixgbe_initialize_transmit_units |
|
9 |
57 |
373 |
1 |
| ixgbe_free_transmit_structures |
|
2 |
7 |
44 |
1 |
| ixgbe_free_transmit_buffers |
|
8 |
33 |
212 |
1 |
| ixgbe_tx_ctx_setup |
|
27 |
103 |
706 |
4 |
| ixgbe_txeof |
|
14 |
74 |
502 |
1 |
| ixgbe_get_buf |
|
4 |
36 |
275 |
2 |
| ixgbe_allocate_receive_buffers |
|
4 |
30 |
201 |
1 |
| ixgbe_setup_receive_ring |
|
3 |
22 |
165 |
1 |
| ixgbe_rxfill |
|
4 |
19 |
111 |
1 |
| ixgbe_rxrefill |
|
2 |
13 |
83 |
1 |
| ixgbe_setup_receive_structures |
|
3 |
12 |
66 |
1 |
| ixgbe_initialize_receive_units |
|
6 |
48 |
349 |
1 |
| ixgbe_initialize_rss_mapping |
|
9 |
45 |
273 |
1 |
| ixgbe_free_receive_structures |
|
3 |
9 |
82 |
1 |
| ixgbe_free_receive_buffers |
|
4 |
26 |
168 |
1 |
| ixgbe_rxeof |
|
15 |
99 |
676 |
1 |
| ixgbe_rx_checksum |
|
5 |
16 |
99 |
3 |
| ixgbe_setup_vlan_hw_support |
|
8 |
25 |
184 |
1 |
| ixgbe_enable_intr |
|
11 |
43 |
225 |
1 |
| ixgbe_disable_intr |
|
3 |
13 |
108 |
1 |
| ixgbe_read_pci_cfg |
|
3 |
15 |
88 |
2 |
| ixgbe_write_pci_cfg |
|
3 |
17 |
124 |
3 |
| ixgbe_set_ivar |
|
8 |
38 |
284 |
4 |
| ixgbe_configure_ivars |
|
4 |
17 |
122 |
1 |
| ixgbe_handle_mod |
|
3 |
19 |
100 |
1 |
| ixgbe_handle_msf |
|
5 |
16 |
125 |
1 |
| ixgbe_handle_phy |
|
3 |
13 |
71 |
1 |
| ixgbe_update_stats_counters |
|
7 |
74 |
788 |
1 |
| ixgbe_print_hw_stats |
|
1 |
23 |
159 |
1 |
| Source file: ./sys/dev/pci/pciide_apollo_reg.h |
| Source file: ./sys/dev/pci/ahd_pci.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ahd_compose_id |
|
1 |
9 |
55 |
4 |
| ahd_find_pci_device |
|
4 |
17 |
104 |
2 |
| ahd_pci_probe |
|
2 |
9 |
68 |
3 |
| ahd_pci_attach |
|
30 |
138 |
1024 |
3 |
| ahd_activate |
|
2 |
11 |
47 |
2 |
| ahd_pci_test_register_access |
|
7 |
51 |
370 |
1 |
| ahd_check_extport |
|
33 |
100 |
687 |
1 |
| ahd_configure_termination |
|
22 |
76 |
501 |
2 |
| ahd_pci_intr |
|
11 |
48 |
320 |
1 |
| ahd_pci_split_intr |
|
8 |
48 |
376 |
2 |
| ahd_aic7901_setup |
|
1 |
6 |
36 |
2 |
| ahd_aic7901A_setup |
|
1 |
6 |
36 |
2 |
| ahd_aic7902_setup |
|
1 |
6 |
36 |
2 |
| ahd_aic790X_setup |
|
7 |
44 |
295 |
2 |
| Source file: ./sys/dev/pci/ixgbe_type.h |
| Source file: ./sys/dev/pci/rtsx_pci.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rtsx_pci_match |
|
12 |
18 |
136 |
3 |
| rtsx_pci_attach |
|
12 |
57 |
375 |
3 |
| Source file: ./sys/dev/pci/if_em_osdep.h |
| Source file: ./sys/dev/pci/if_vge.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| vge_eeprom_getword |
|
4 |
22 |
146 |
3 |
| vge_read_eeprom |
|
5 |
16 |
120 |
5 |
| vge_miipoll_stop |
|
4 |
12 |
71 |
1 |
| vge_miipoll_start |
|
7 |
23 |
147 |
1 |
| vge_miibus_readreg |
|
5 |
24 |
165 |
3 |
| vge_miibus_writereg |
|
5 |
22 |
156 |
4 |
| vge_cam_clear |
|
3 |
16 |
133 |
1 |
| vge_cam_set |
|
6 |
32 |
246 |
2 |
| vge_iff |
|
9 |
44 |
307 |
1 |
| vge_reset |
|
6 |
23 |
151 |
1 |
| vge_probe |
|
1 |
5 |
37 |
3 |
| vge_allocmem |
|
13 |
90 |
696 |
1 |
| vge_freemem |
|
3 |
20 |
190 |
1 |
| vge_attach |
|
10 |
73 |
562 |
3 |
| vge_detach |
|
1 |
14 |
110 |
2 |
| vge_newbuf |
|
10 |
51 |
390 |
3 |
| vge_tx_list_init |
|
1 |
14 |
95 |
1 |
| vge_rx_list_init |
|
3 |
20 |
139 |
1 |
| vge_rxeof |
|
21 |
112 |
743 |
1 |
| vge_txeof |
|
7 |
34 |
228 |
1 |
| vge_tick |
|
7 |
30 |
174 |
1 |
| vge_intr |
|
12 |
45 |
277 |
1 |
| vge_encap |
|
13 |
66 |
528 |
3 |
| vge_start |
|
12 |
46 |
284 |
1 |
| vge_init |
|
7 |
76 |
600 |
1 |
| vge_ifmedia_upd |
|
1 |
5 |
29 |
1 |
| vge_ifmedia_sts |
|
1 |
7 |
51 |
2 |
| vge_miibus_statchg |
|
8 |
37 |
236 |
1 |
| vge_ioctl |
|
11 |
38 |
210 |
3 |
| vge_watchdog |
|
1 |
12 |
63 |
1 |
| vge_stop |
|
6 |
36 |
273 |
1 |
| Source file: ./sys/dev/pci/vga_pci_common.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| vga_aperture_needed |
|
5 |
8 |
57 |
1 |
| Source file: ./sys/dev/pci/if_cas.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cas_match |
|
1 |
5 |
37 |
3 |
| cas_pci_enaddr |
|
18 |
77 |
595 |
2 |
| cas_attach |
|
12 |
48 |
341 |
3 |
| cas_config |
|
23 |
160 |
1222 |
1 |
| cas_tick |
|
1 |
32 |
254 |
1 |
| cas_bitwait |
|
4 |
12 |
84 |
5 |
| cas_reset |
|
2 |
15 |
106 |
1 |
| cas_rxdrain |
|
1 |
3 |
9 |
1 |
| cas_stop |
|
4 |
29 |
218 |
2 |
| cas_reset_rx |
|
3 |
16 |
121 |
1 |
| cas_reset_tx |
|
3 |
17 |
121 |
1 |
| cas_disable_rx |
|
1 |
10 |
68 |
1 |
| cas_disable_tx |
|
1 |
10 |
68 |
1 |
| cas_meminit |
|
4 |
25 |
202 |
1 |
| cas_ringsize |
|
10 |
26 |
79 |
1 |
| cas_cringsize |
|
3 |
9 |
47 |
1 |
| cas_init |
|
4 |
79 |
715 |
1 |
| cas_init_regs |
|
4 |
52 |
561 |
1 |
| cas_rint |
|
12 |
77 |
668 |
1 |
| cas_add_rxbuf |
|
3 |
11 |
82 |
2 |
| cas_eint |
|
3 |
9 |
60 |
2 |
| cas_pint |
|
3 |
11 |
68 |
1 |
| cas_intr |
|
15 |
48 |
337 |
1 |
| cas_watchdog |
|
1 |
12 |
90 |
1 |
| cas_mifinit |
|
1 |
8 |
55 |
1 |
| cas_mii_readreg |
|
5 |
21 |
150 |
3 |
| cas_mii_writereg |
|
5 |
23 |
151 |
4 |
| cas_mii_statchg |
|
8 |
34 |
209 |
1 |
| cas_pcs_readreg |
|
9 |
29 |
135 |
3 |
| cas_pcs_writereg |
|
12 |
37 |
191 |
4 |
| cas_mediachange |
|
2 |
11 |
68 |
1 |
| cas_mediastatus |
|
1 |
7 |
51 |
2 |
| cas_ioctl |
|
13 |
39 |
229 |
3 |
| cas_iff |
|
7 |
40 |
269 |
1 |
| cas_encap |
|
9 |
42 |
341 |
3 |
| cas_tint |
|
7 |
35 |
228 |
2 |
| cas_start |
|
10 |
29 |
183 |
1 |
| Source file: ./sys/dev/pci/if_lgereg.h |
| Source file: ./sys/dev/pci/drm/drm_edid.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| drm_edid_header_is_valid |
|
3 |
8 |
50 |
1 |
| drm_edid_block_checksum |
|
2 |
8 |
40 |
1 |
| drm_edid_is_zero |
|
2 |
6 |
29 |
2 |
| drm_edid_block_valid |
|
19 |
60 |
300 |
4 |
| drm_edid_is_valid |
|
4 |
11 |
69 |
1 |
| drm_do_probe_ddc_edid |
|
6 |
35 |
199 |
4 |
| drm_do_get_edid |
|
20 |
73 |
471 |
3 |
| drm_probe_ddc |
|
1 |
5 |
30 |
1 |
| drm_get_edid |
|
3 |
11 |
55 |
2 |
| drm_edid_duplicate |
|
1 |
4 |
28 |
1 |
| edid_vendor |
|
1 |
9 |
112 |
2 |
| edid_get_quirks |
|
4 |
12 |
73 |
1 |
| edid_fixup_preferred |
|
10 |
32 |
195 |
2 |
| mode_is_rb |
|
4 |
7 |
59 |
1 |
| drm_mode_find_dmt |
|
6 |
19 |
107 |
5 |
| cea_for_each_detailed_block |
|
2 |
9 |
80 |
3 |
| vtb_for_each_detailed_block |
|
3 |
9 |
85 |
3 |
| drm_for_each_detailed_block |
|
6 |
22 |
136 |
3 |
| is_rb |
|
3 |
7 |
50 |
2 |
| drm_monitor_supports_rb |
|
2 |
9 |
54 |
1 |
| find_gtf2 |
|
3 |
6 |
48 |
2 |
| drm_gtf2_hbreak |
|
2 |
6 |
43 |
1 |
| drm_gtf2_2c |
|
2 |
6 |
39 |
1 |
| drm_gtf2_m |
|
2 |
6 |
49 |
1 |
| drm_gtf2_k |
|
2 |
6 |
39 |
1 |
| drm_gtf2_2j |
|
2 |
6 |
39 |
1 |
| standard_timing_level |
|
5 |
11 |
54 |
1 |
| bad_std_timing |
|
6 |
6 |
41 |
2 |
| drm_mode_std |
|
26 |
81 |
528 |
3 |
| drm_mode_do_interlace_quirk |
|
5 |
29 |
175 |
2 |
| drm_mode_detailed |
|
18 |
77 |
617 |
4 |
| mode_in_hsync_range |
|
6 |
13 |
108 |
3 |
| mode_in_vsync_range |
|
6 |
13 |
108 |
3 |
| range_pixel_clock |
|
5 |
8 |
81 |
2 |
| mode_in_range |
|
11 |
19 |
157 |
3 |
| valid_inferred_mode |
|
6 |
16 |
96 |
2 |
| drm_dmt_modes_for_range |
|
5 |
18 |
114 |
3 |
| fixup_mode_1366x768 |
|
3 |
9 |
46 |
1 |
| drm_gtf_modes_for_range |
|
5 |
22 |
150 |
3 |
| drm_cvt_modes_for_range |
|
5 |
23 |
160 |
3 |
| do_inferred_modes |
|
8 |
31 |
165 |
2 |
| add_inferred_modes |
|
2 |
11 |
61 |
2 |
| drm_est3_modes |
|
6 |
25 |
171 |
2 |
| do_established_modes |
|
2 |
7 |
53 |
2 |
| add_established_modes |
|
5 |
26 |
177 |
2 |
| do_standard_modes |
|
4 |
20 |
129 |
2 |
| add_standard_modes |
|
4 |
21 |
123 |
2 |
| drm_cvt_modes |
|
10 |
43 |
304 |
2 |
| do_cvt_mode |
|
2 |
7 |
53 |
2 |
| add_cvt_modes |
|
2 |
10 |
61 |
2 |
| do_detailed_mode |
|
4 |
18 |
98 |
2 |
| add_detailed_modes |
|
3 |
15 |
91 |
3 |
| drm_find_edid_extension |
|
6 |
15 |
94 |
2 |
| drm_find_cea_extension |
|
1 |
4 |
17 |
1 |
| drm_find_displayid_extension |
|
1 |
4 |
17 |
1 |
| cea_mode_alternate_clock |
|
4 |
11 |
71 |
1 |
| drm_match_cea_mode |
|
6 |
17 |
115 |
1 |
| drm_get_cea_aspect_ratio |
|
1 |
4 |
18 |
1 |
| hdmi_mode_alternate_clock |
|
3 |
6 |
35 |
1 |
| drm_match_hdmi_mode |
|
6 |
17 |
115 |
1 |
| add_alternate_cea_modes |
|
10 |
47 |
287 |
2 |
| drm_display_mode_from_vic_index |
|
5 |
18 |
105 |
4 |
| do_cea_modes |
|
3 |
13 |
76 |
3 |
| stereo_match_mandatory |
|
4 |
9 |
62 |
2 |
| add_hdmi_mandatory_stereo_modes |
|
4 |
26 |
159 |
1 |
| add_hdmi_mode |
|
3 |
15 |
81 |
2 |
| add_3d_struct_modes |
|
7 |
37 |
180 |
5 |
| do_hdmi_vsdb_modes |
|
28 |
94 |
623 |
5 |
| cea_db_payload_len |
|
1 |
4 |
17 |
1 |
| cea_db_tag |
|
1 |
4 |
18 |
1 |
| cea_revision |
|
1 |
4 |
15 |
1 |
| cea_db_offsets |
|
4 |
10 |
61 |
3 |
| cea_db_is_hdmi_vsdb |
|
3 |
10 |
68 |
1 |
| add_cea_modes |
|
7 |
29 |
188 |
2 |
| fixup_detailed_cea_mode_clock |
|
5 |
33 |
190 |
1 |
| parse_hdmi_vsdb |
|
8 |
35 |
257 |
2 |
| monitor_name |
|
2 |
5 |
44 |
2 |
| drm_edid_to_eld |
|
13 |
63 |
414 |
2 |
| drm_edid_to_sad |
|
7 |
39 |
279 |
2 |
| drm_edid_to_speaker_allocation |
|
7 |
33 |
183 |
2 |
| drm_av_sync_delay |
|
7 |
19 |
139 |
2 |
| drm_select_eld |
|
3 |
11 |
78 |
1 |
| drm_detect_hdmi_monitor |
|
4 |
16 |
81 |
1 |
| drm_detect_monitor_audio |
|
6 |
28 |
169 |
1 |
| drm_rgb_quant_range_selectable |
|
5 |
18 |
114 |
1 |
| drm_assign_hdmi_deep_color_info |
|
11 |
61 |
310 |
3 |
| drm_add_display_info |
|
16 |
57 |
291 |
3 |
| drm_add_edid_modes |
|
9 |
34 |
229 |
2 |
| drm_add_modes_noedid |
|
10 |
28 |
155 |
3 |
| drm_set_preferred_mode |
|
3 |
10 |
53 |
3 |
| drm_hdmi_avi_infoframe_from_display_mode |
|
8 |
23 |
132 |
2 |
| s3d_structure_from_display_mode |
|
9 |
24 |
78 |
1 |
| drm_hdmi_vendor_infoframe_from_display_mode |
|
9 |
23 |
112 |
2 |
| drm_parse_display_id |
|
11 |
74 |
610 |
4 |
| drm_get_displayid |
|
5 |
23 |
109 |
2 |
| Source file: ./sys/dev/pci/ichwdt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ichwdt_unlock_write |
|
1 |
6 |
60 |
3 |
| ichwdt_match |
|
1 |
5 |
45 |
3 |
| ichwdt_attach |
|
5 |
31 |
248 |
3 |
| ichwdt_activate |
|
2 |
9 |
33 |
2 |
| ichwdt_cb |
|
6 |
40 |
246 |
2 |
| Source file: ./sys/dev/pci/if_dc_pci.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dc_pci_match |
|
9 |
19 |
150 |
3 |
| dc_pci_attach |
|
78 |
279 |
1752 |
3 |
| dc_pci_detach |
|
2 |
10 |
77 |
2 |
| Source file: ./sys/dev/pci/if_stge.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| stge_match |
|
1 |
5 |
45 |
3 |
| stge_attach |
|
27 |
185 |
1432 |
3 |
| stge_dma_wait |
|
4 |
11 |
66 |
1 |
| stge_start |
|
21 |
81 |
563 |
1 |
| stge_watchdog |
|
2 |
11 |
62 |
1 |
| stge_ioctl |
|
11 |
38 |
212 |
3 |
| stge_intr |
|
16 |
58 |
316 |
1 |
| stge_txintr |
|
4 |
25 |
180 |
1 |
| stge_rxintr |
|
22 |
90 |
600 |
1 |
| stge_tick |
|
1 |
10 |
52 |
1 |
| stge_stats_update |
|
1 |
15 |
104 |
1 |
| stge_reset |
|
5 |
19 |
123 |
1 |
| stge_init |
|
11 |
99 |
878 |
1 |
| stge_rxdrain |
|
3 |
14 |
84 |
1 |
| stge_stop |
|
4 |
29 |
196 |
2 |
| stge_eeprom_wait |
|
3 |
10 |
57 |
1 |
| stge_read_eeprom |
|
3 |
12 |
79 |
3 |
| stge_add_rxbuf |
|
5 |
30 |
217 |
2 |
| stge_iff |
|
5 |
32 |
218 |
1 |
| stge_mii_readreg |
|
1 |
4 |
30 |
3 |
| stge_mii_writereg |
|
1 |
4 |
32 |
4 |
| stge_mii_statchg |
|
4 |
14 |
120 |
1 |
| stge_mii_bitbang_read |
|
1 |
5 |
30 |
1 |
| stge_mii_bitbang_write |
|
1 |
5 |
36 |
2 |
| stge_mediastatus |
|
1 |
7 |
51 |
2 |
| stge_mediachange |
|
2 |
7 |
39 |
1 |
| Source file: ./sys/dev/pci/if_em.h |
| Source file: ./sys/dev/pci/if_ixgb_osdep.h |
| Source file: ./sys/dev/pci/if_jmereg.h |
| Source file: ./sys/dev/pci/if_msk.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sk_win_read_4 |
|
1 |
4 |
20 |
2 |
| sk_win_read_2 |
|
1 |
4 |
20 |
2 |
| sk_win_read_1 |
|
1 |
4 |
20 |
2 |
| sk_win_write_4 |
|
1 |
4 |
24 |
3 |
| sk_win_write_2 |
|
1 |
4 |
24 |
3 |
| sk_win_write_1 |
|
1 |
4 |
24 |
3 |
| msk_miibus_readreg |
|
4 |
25 |
155 |
3 |
| msk_miibus_writereg |
|
4 |
17 |
129 |
4 |
| msk_miibus_statchg |
|
9 |
32 |
193 |
1 |
| msk_iff |
|
6 |
40 |
303 |
1 |
| msk_init_rx_ring |
|
3 |
20 |
160 |
1 |
| msk_init_tx_ring |
|
5 |
36 |
272 |
1 |
| msk_newbuf |
|
4 |
74 |
606 |
1 |
| msk_ifmedia_upd |
|
1 |
6 |
31 |
1 |
| msk_ifmedia_sts |
|
1 |
7 |
51 |
2 |
| msk_ioctl |
|
12 |
44 |
254 |
3 |
| mskc_probe |
|
1 |
5 |
37 |
3 |
| mskc_reset |
|
24 |
118 |
855 |
1 |
| msk_probe |
|
14 |
21 |
94 |
3 |
| msk_reset |
|
1 |
9 |
62 |
1 |
| msk_attach |
|
16 |
122 |
954 |
3 |
| msk_detach |
|
3 |
21 |
181 |
2 |
| msk_activate |
|
3 |
17 |
87 |
2 |
| mskcprint |
|
4 |
10 |
66 |
2 |
| mskc_attach |
|
61 |
266 |
1384 |
3 |
| mskc_detach |
|
5 |
20 |
151 |
2 |
| mskc_activate |
|
2 |
15 |
71 |
2 |
| msk_encap |
|
12 |
79 |
544 |
3 |
| msk_start |
|
8 |
29 |
169 |
1 |
| msk_watchdog |
|
2 |
12 |
68 |
1 |
| msk_rxvalid |
|
4 |
10 |
62 |
3 |
| msk_rxeof |
|
6 |
37 |
285 |
3 |
| msk_txeof |
|
8 |
39 |
304 |
1 |
| msk_fill_rx_ring |
|
3 |
12 |
69 |
1 |
| msk_tick |
|
1 |
10 |
54 |
1 |
| msk_intr_yukon |
|
3 |
14 |
80 |
1 |
| msk_intr |
|
23 |
78 |
511 |
1 |
| msk_init_yukon |
|
6 |
69 |
551 |
1 |
| msk_init |
|
5 |
82 |
703 |
1 |
| msk_stop |
|
8 |
53 |
470 |
2 |
| msk_dump_txdesc |
|
1 |
7 |
46 |
2 |
| msk_dump_bytes |
|
11 |
24 |
183 |
2 |
| msk_dump_mbuf |
|
3 |
12 |
83 |
1 |
| Source file: ./sys/dev/pci/agp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| agpdev_print |
|
2 |
7 |
31 |
2 |
| agpbus_probe |
|
4 |
9 |
61 |
1 |
| agpvga_match |
|
4 |
10 |
60 |
1 |
| agp_attach_bus |
|
1 |
11 |
72 |
5 |
| agp_probe |
|
1 |
4 |
22 |
3 |
| agp_attach |
|
4 |
38 |
297 |
3 |
| agp_alloc_gatt |
|
4 |
24 |
189 |
2 |
| agp_free_gatt |
|
1 |
6 |
57 |
2 |
| agp_generic_enable |
|
7 |
45 |
323 |
2 |
| agp_alloc_dmamem |
|
6 |
29 |
187 |
5 |
| agp_free_dmamem |
|
1 |
7 |
40 |
4 |
| agp_find_device |
|
3 |
6 |
34 |
1 |
| agp_state |
|
1 |
5 |
27 |
1 |
| agp_get_info |
|
2 |
14 |
101 |
2 |
| agp_acquire |
|
3 |
10 |
57 |
1 |
| agp_release |
|
3 |
10 |
57 |
1 |
| agp_enable |
|
2 |
11 |
65 |
2 |
| agp_mmap |
|
4 |
10 |
75 |
3 |
| Source file: ./sys/dev/pci/if_iwm.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| iwm_is_mimo_ht_plcp |
|
2 |
5 |
20 |
1 |
| iwm_is_mimo_mcs |
|
1 |
5 |
26 |
1 |
| iwm_store_cscheme |
|
3 |
8 |
64 |
3 |
| iwm_firmware_store_section |
|
4 |
20 |
139 |
4 |
| iwm_set_default_calib |
|
2 |
12 |
74 |
2 |
| iwm_fw_info_free |
|
1 |
7 |
50 |
1 |
| iwm_read_firmware |
|
56 |
228 |
1240 |
2 |
| iwm_read_prph |
|
1 |
8 |
52 |
2 |
| iwm_write_prph |
|
1 |
8 |
56 |
3 |
| iwm_read_mem |
|
3 |
14 |
90 |
4 |
| iwm_write_mem |
|
4 |
16 |
98 |
4 |
| iwm_write_mem32 |
|
1 |
4 |
28 |
3 |
| iwm_poll_bit |
|
4 |
14 |
72 |
5 |
| iwm_nic_lock |
|
4 |
21 |
94 |
1 |
| iwm_nic_assert_locked |
|
4 |
10 |
77 |
1 |
| iwm_nic_unlock |
|
3 |
9 |
48 |
1 |
| iwm_set_bits_mask_prph |
|
2 |
11 |
59 |
4 |
| iwm_set_bits_prph |
|
1 |
4 |
26 |
3 |
| iwm_clear_bits_prph |
|
1 |
4 |
26 |
3 |
| iwm_dma_contig_alloc |
|
5 |
31 |
215 |
4 |
| iwm_dma_contig_free |
|
3 |
15 |
113 |
1 |
| iwm_alloc_rx_ring |
|
6 |
40 |
256 |
2 |
| iwm_disable_rx_dma |
|
4 |
14 |
68 |
1 |
| iwm_reset_rx_ring |
|
1 |
9 |
83 |
2 |
| iwm_free_rx_ring |
|
4 |
18 |
135 |
2 |
| iwm_alloc_tx_ring |
|
7 |
52 |
338 |
3 |
| iwm_reset_tx_ring |
|
6 |
24 |
192 |
2 |
| iwm_free_tx_ring |
|
4 |
18 |
135 |
2 |
| iwm_enable_rfkill_int |
|
1 |
5 |
26 |
1 |
| iwm_check_rfkill |
|
2 |
16 |
72 |
1 |
| iwm_enable_interrupts |
|
1 |
5 |
26 |
1 |
| iwm_restore_interrupts |
|
1 |
4 |
20 |
1 |
| iwm_disable_interrupts |
|
1 |
8 |
48 |
1 |
| iwm_ict_reset |
|
1 |
14 |
75 |
1 |
| iwm_set_hw_ready |
|
2 |
14 |
52 |
1 |
| iwm_prepare_card_hw |
|
4 |
16 |
70 |
1 |
| iwm_apm_config |
|
2 |
13 |
60 |
1 |
| iwm_apm_init |
|
12 |
57 |
296 |
1 |
| iwm_apm_stop |
|
2 |
8 |
44 |
1 |
| iwm_start_hw |
|
3 |
15 |
67 |
1 |
| iwm_stop_device |
|
8 |
44 |
261 |
1 |
| iwm_nic_config |
|
2 |
23 |
133 |
1 |
| iwm_nic_rx_init |
|
3 |
29 |
188 |
1 |
| iwm_nic_tx_init |
|
3 |
16 |
117 |
1 |
| iwm_nic_init |
|
4 |
18 |
81 |
1 |
| iwm_enable_txq |
|
3 |
44 |
289 |
4 |
| iwm_post_alive |
|
6 |
37 |
201 |
1 |
| iwm_phy_db_get_section |
|
8 |
23 |
108 |
3 |
| iwm_phy_db_set_section |
|
6 |
24 |
159 |
2 |
| iwm_is_valid_channel |
|
11 |
9 |
67 |
1 |
| iwm_ch_id_to_ch_index |
|
5 |
12 |
68 |
1 |
| iwm_channel_id_to_papd |
|
8 |
12 |
60 |
1 |
| iwm_channel_id_to_txp |
|
5 |
17 |
102 |
2 |
| iwm_phy_db_get_section_data |
|
4 |
16 |
98 |
5 |
| iwm_send_phy_db_cmd |
|
1 |
16 |
108 |
4 |
| iwm_phy_db_send_all_channel_groups |
|
5 |
19 |
101 |
3 |
| iwm_send_phy_db_data |
|
7 |
28 |
150 |
1 |
| iwm_te_v2_get_notify |
|
1 |
4 |
15 |
1 |
| iwm_te_v2_get_dep_policy |
|
1 |
5 |
20 |
1 |
| iwm_te_v2_get_absence |
|
1 |
4 |
20 |
1 |
| iwm_te_v2_to_v1 |
|
2 |
21 |
168 |
2 |
| iwm_send_time_event_cmd |
|
7 |
43 |
255 |
2 |
| iwm_protect_session |
|
3 |
25 |
167 |
4 |
| iwm_unprotect_session |
|
3 |
14 |
106 |
2 |
| iwm_nvm_read_chunk |
|
7 |
55 |
302 |
6 |
| iwm_nvm_read_section |
|
4 |
16 |
91 |
5 |
| iwm_fw_valid_tx_ant |
|
2 |
9 |
46 |
1 |
| iwm_fw_valid_rx_ant |
|
2 |
9 |
46 |
1 |
| iwm_init_channel_map |
|
8 |
39 |
209 |
4 |
| iwm_setup_ht_rates |
|
4 |
13 |
81 |
1 |
| iwm_sta_rx_agg |
|
10 |
39 |
260 |
5 |
| iwm_htprot_task |
|
3 |
18 |
114 |
1 |
| iwm_update_htprot |
|
1 |
5 |
35 |
2 |
| iwm_ba_task |
|
3 |
18 |
118 |
1 |
| iwm_ampdu_rx_start |
|
2 |
13 |
91 |
3 |
| iwm_ampdu_rx_stop |
|
1 |
8 |
53 |
3 |
| iwm_set_hw_address_8000 |
|
8 |
40 |
312 |
4 |
| iwm_parse_nvm_data |
|
4 |
51 |
424 |
7 |
| iwm_parse_nvm_sections |
|
10 |
40 |
275 |
2 |
| iwm_nvm_init |
|
8 |
37 |
261 |
1 |
| iwm_firmware_load_sect |
|
3 |
18 |
110 |
4 |
| iwm_firmware_load_chunk |
|
9 |
49 |
284 |
4 |
| iwm_load_firmware_7000 |
|
4 |
25 |
160 |
2 |
| iwm_load_cpu_sections_8000 |
|
11 |
61 |
350 |
4 |
| iwm_load_firmware_8000 |
|
3 |
16 |
95 |
2 |
| iwm_load_firmware |
|
7 |
17 |
124 |
2 |
| iwm_start_fw |
|
2 |
18 |
109 |
2 |
| iwm_send_tx_ant_cfg |
|
1 |
8 |
45 |
2 |
| iwm_send_phy_cfg_cmd |
|
1 |
12 |
80 |
1 |
| iwm_load_ucode_wait_alive |
|
3 |
16 |
76 |
2 |
| iwm_run_init_mvm_ucode |
|
13 |
45 |
254 |
2 |
| iwm_rx_addbuf |
|
7 |
39 |
280 |
3 |
| iwm_calc_rssi |
|
1 |
16 |
129 |
2 |
| iwm_get_signal_strength |
|
4 |
18 |
122 |
2 |
| iwm_rx_rx_phy_cmd |
|
1 |
8 |
74 |
3 |
| iwm_get_noise |
|
4 |
13 |
87 |
1 |
| iwm_rx_rx_mpdu |
|
27 |
109 |
829 |
3 |
| iwm_rx_tx_cmd_single |
|
10 |
33 |
272 |
3 |
| iwm_rx_tx_cmd |
|
5 |
35 |
281 |
3 |
| iwm_rx_bmiss |
|
5 |
17 |
128 |
3 |
| iwm_binding_cmd |
|
9 |
28 |
234 |
3 |
| iwm_phy_ctxt_cmd_hdr |
|
1 |
9 |
74 |
5 |
| iwm_phy_ctxt_cmd_data |
|
2 |
20 |
143 |
5 |
| iwm_phy_ctxt_cmd |
|
1 |
11 |
79 |
6 |
| iwm_send_cmd |
|
22 |
145 |
1100 |
2 |
| iwm_send_cmd_pdu |
|
1 |
11 |
65 |
5 |
| iwm_send_cmd_status |
|
5 |
25 |
168 |
3 |
| iwm_send_cmd_pdu_status |
|
1 |
10 |
63 |
5 |
| iwm_free_resp |
|
1 |
6 |
48 |
2 |
| iwm_cmd_done |
|
6 |
24 |
192 |
2 |
| iwm_update_sched |
|
3 |
22 |
198 |
5 |
| iwm_tx_fill_cmd |
|
13 |
52 |
352 |
4 |
| iwm_tx |
|
32 |
169 |
1376 |
4 |
| iwm_flush_tx_path |
|
2 |
13 |
76 |
2 |
| iwm_led_enable |
|
1 |
4 |
18 |
1 |
| iwm_led_disable |
|
1 |
4 |
18 |
1 |
| iwm_led_is_enabled |
|
1 |
4 |
21 |
1 |
| iwm_led_blink_timeout |
|
2 |
9 |
43 |
1 |
| iwm_led_blink_start |
|
1 |
4 |
19 |
1 |
| iwm_led_blink_stop |
|
1 |
5 |
22 |
1 |
| iwm_beacon_filter_send_cmd |
|
1 |
6 |
32 |
2 |
| iwm_beacon_filter_set_cqm_params |
|
1 |
5 |
32 |
3 |
| iwm_update_beacon_abort |
|
2 |
13 |
81 |
3 |
| iwm_power_build_cmd |
|
3 |
19 |
133 |
3 |
| iwm_power_mac_update_mode |
|
2 |
15 |
100 |
2 |
| iwm_power_update_device |
|
3 |
11 |
65 |
1 |
| iwm_enable_beacon_filter |
|
2 |
13 |
71 |
2 |
| iwm_disable_beacon_filter |
|
3 |
12 |
71 |
1 |
| iwm_add_sta_cmd |
|
14 |
60 |
331 |
3 |
| iwm_add_aux_sta |
|
4 |
21 |
134 |
1 |
| iwm_rm_sta_cmd |
|
2 |
12 |
79 |
2 |
| iwm_scan_rx_chain |
|
1 |
11 |
56 |
1 |
| iwm_scan_rate_n_flags |
|
5 |
19 |
122 |
3 |
| iwm_lmac_scan_fill_channels |
|
6 |
23 |
149 |
3 |
| iwm_umac_scan_fill_channels |
|
6 |
22 |
137 |
3 |
| iwm_fill_probe_req |
|
15 |
72 |
616 |
2 |
| iwm_lmac_scan |
|
8 |
83 |
595 |
1 |
| iwm_config_umac_scan |
|
5 |
62 |
375 |
1 |
| iwm_umac_scan |
|
6 |
65 |
438 |
1 |
| iwm_ridx2rate |
|
3 |
11 |
70 |
2 |
| iwm_rval2ridx |
|
3 |
9 |
44 |
1 |
| iwm_ack_rates |
|
16 |
42 |
310 |
4 |
| iwm_mac_ctxt_cmd_common |
|
12 |
61 |
441 |
5 |
| iwm_mac_ctxt_cmd_fill_sta |
|
1 |
20 |
190 |
4 |
| iwm_mac_ctxt_cmd |
|
8 |
18 |
156 |
4 |
| iwm_update_quotas |
|
9 |
44 |
367 |
3 |
| iwm_add_task |
|
3 |
12 |
74 |
3 |
| iwm_del_task |
|
2 |
5 |
36 |
3 |
| iwm_scan |
|
4 |
20 |
106 |
1 |
| iwm_auth |
|
8 |
55 |
338 |
1 |
| iwm_deauth |
|
9 |
45 |
258 |
1 |
| iwm_assoc |
|
3 |
15 |
92 |
1 |
| iwm_disassoc |
|
3 |
17 |
89 |
1 |
| iwm_run |
|
12 |
66 |
371 |
1 |
| iwm_run_stop |
|
7 |
32 |
191 |
1 |
| iwm_node_alloc |
|
1 |
4 |
25 |
1 |
| iwm_calib_timeout |
|
7 |
19 |
160 |
1 |
| iwm_setrates_task |
|
2 |
15 |
89 |
1 |
| iwm_setrates |
|
26 |
81 |
566 |
1 |
| iwm_media_change |
|
7 |
26 |
173 |
1 |
| iwm_newstate_task |
|
24 |
72 |
357 |
1 |
| iwm_newstate |
|
2 |
17 |
139 |
3 |
| iwm_endscan |
|
2 |
8 |
47 |
1 |
| iwm_fill_sf_command |
|
7 |
32 |
182 |
3 |
| iwm_sf_config |
|
5 |
24 |
127 |
2 |
| iwm_send_bt_init_conf |
|
1 |
8 |
49 |
1 |
| iwm_send_update_mcc_cmd |
|
5 |
33 |
218 |
2 |
| iwm_tt_tx_backoff |
|
1 |
9 |
52 |
2 |
| iwm_init_hw |
|
23 |
111 |
594 |
1 |
| iwm_allow_mcast |
|
2 |
21 |
136 |
1 |
| iwm_init |
|
6 |
27 |
164 |
1 |
| iwm_start |
|
16 |
52 |
312 |
1 |
| iwm_stop |
|
4 |
43 |
352 |
1 |
| iwm_watchdog |
|
5 |
17 |
100 |
1 |
| iwm_ioctl |
|
11 |
40 |
230 |
3 |
| iwm_nic_umac_error |
|
4 |
38 |
325 |
1 |
| iwm_desc_lookup |
|
3 |
8 |
55 |
1 |
| iwm_nic_error |
|
6 |
67 |
649 |
1 |
| iwm_notif_intr |
|
63 |
222 |
1305 |
1 |
| iwm_intr |
|
25 |
103 |
649 |
1 |
| iwm_match |
|
1 |
5 |
35 |
3 |
| iwm_preinit |
|
8 |
42 |
260 |
1 |
| iwm_attach_hook |
|
1 |
6 |
31 |
1 |
| iwm_attach |
|
39 |
247 |
1641 |
3 |
| iwm_radiotap_attach |
|
1 |
11 |
108 |
1 |
| iwm_init_task |
|
5 |
22 |
146 |
1 |
| iwm_resume |
|
1 |
7 |
50 |
1 |
| iwm_activate |
|
7 |
26 |
134 |
2 |
| Source file: ./sys/dev/pci/pciide_piix_reg.h |
| Source file: ./sys/dev/pci/if_mskvar.h |
| Source file: ./sys/dev/pci/cs4281reg.h |
| Source file: ./sys/dev/pci/if_ale.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ale_miibus_readreg |
|
7 |
25 |
172 |
3 |
| ale_miibus_writereg |
|
5 |
20 |
141 |
4 |
| ale_miibus_statchg |
|
8 |
32 |
188 |
1 |
| ale_mediastatus |
|
2 |
10 |
68 |
2 |
| ale_mediachange |
|
2 |
13 |
74 |
1 |
| ale_match |
|
1 |
5 |
43 |
3 |
| ale_get_macaddr |
|
7 |
36 |
308 |
1 |
| ale_phy_reset |
|
1 |
32 |
216 |
1 |
| ale_attach |
|
20 |
125 |
885 |
3 |
| ale_detach |
|
2 |
19 |
126 |
2 |
| ale_activate |
|
5 |
21 |
110 |
2 |
| ale_dma_alloc |
|
22 |
151 |
1134 |
1 |
| ale_dma_free |
|
17 |
50 |
475 |
1 |
| ale_encap |
|
10 |
64 |
462 |
2 |
| ale_start |
|
13 |
37 |
211 |
1 |
| ale_watchdog |
|
2 |
15 |
81 |
1 |
| ale_ioctl |
|
11 |
40 |
220 |
3 |
| ale_mac_config |
|
7 |
26 |
145 |
1 |
| ale_stats_clear |
|
3 |
14 |
102 |
1 |
| ale_stats_update |
|
3 |
76 |
608 |
1 |
| ale_intr |
|
7 |
33 |
188 |
1 |
| ale_txeof |
|
8 |
40 |
290 |
1 |
| ale_rx_update_page |
|
2 |
27 |
190 |
4 |
| ale_rxcsum |
|
13 |
30 |
208 |
3 |
| ale_rxeof |
|
11 |
60 |
422 |
1 |
| ale_tick |
|
1 |
11 |
59 |
1 |
| ale_reset |
|
7 |
22 |
150 |
1 |
| ale_init |
|
10 |
145 |
1151 |
1 |
| ale_stop |
|
3 |
37 |
260 |
1 |
| ale_stop_mac |
|
5 |
19 |
113 |
1 |
| ale_init_tx_ring |
|
2 |
21 |
159 |
1 |
| ale_init_rx_pages |
|
2 |
20 |
139 |
1 |
| ale_rxvlan |
|
2 |
10 |
58 |
1 |
| ale_iff |
|
5 |
33 |
233 |
1 |
| Source file: ./sys/dev/pci/if_ixgb.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ixgb_probe |
|
1 |
6 |
42 |
3 |
| ixgb_attach |
|
5 |
61 |
431 |
3 |
| ixgb_start |
|
10 |
33 |
227 |
1 |
| ixgb_ioctl |
|
13 |
50 |
282 |
3 |
| ixgb_watchdog |
|
2 |
11 |
63 |
1 |
| ixgb_init |
|
5 |
49 |
279 |
1 |
| ixgb_intr |
|
10 |
34 |
210 |
1 |
| ixgb_media_status |
|
4 |
20 |
119 |
2 |
| ixgb_media_change |
|
2 |
9 |
54 |
1 |
| ixgb_encap |
|
9 |
54 |
377 |
2 |
| ixgb_set_promisc |
|
3 |
15 |
96 |
1 |
| ixgb_set_multi |
|
5 |
32 |
191 |
1 |
| ixgb_local_timer |
|
4 |
15 |
86 |
1 |
| ixgb_update_link_status |
|
4 |
19 |
100 |
1 |
| ixgb_stop |
|
1 |
15 |
87 |
1 |
| ixgb_identify_hardware |
|
5 |
26 |
194 |
1 |
| ixgb_allocate_pci_resources |
|
6 |
36 |
250 |
1 |
| ixgb_free_pci_resources |
|
3 |
12 |
86 |
1 |
| ixgb_hardware_init |
|
3 |
18 |
105 |
1 |
| ixgb_setup_interface |
|
5 |
32 |
236 |
1 |
| ixgb_dma_malloc |
|
5 |
49 |
332 |
4 |
| ixgb_dma_free |
|
3 |
14 |
110 |
2 |
| ixgb_allocate_transmit_structures |
|
2 |
10 |
60 |
1 |
| ixgb_setup_transmit_structures |
|
4 |
32 |
212 |
1 |
| ixgb_initialize_transmit_unit |
|
2 |
23 |
202 |
1 |
| ixgb_free_transmit_structures |
|
9 |
35 |
201 |
1 |
| ixgb_transmit_checksum_setup |
|
9 |
51 |
289 |
3 |
| ixgb_txeof |
|
9 |
44 |
310 |
1 |
| ixgb_get_buf |
|
6 |
40 |
286 |
3 |
| ixgb_allocate_receive_structures |
|
6 |
36 |
235 |
1 |
| ixgb_setup_receive_structures |
|
2 |
10 |
61 |
1 |
| ixgb_initialize_receive_unit |
|
6 |
60 |
400 |
1 |
| ixgb_free_receive_structures |
|
9 |
34 |
199 |
1 |
| ixgb_rxeof |
|
21 |
110 |
712 |
2 |
| ixgb_receive_checksum |
|
6 |
22 |
114 |
3 |
| ixgb_enable_hw_vlans |
|
1 |
7 |
40 |
1 |
| ixgb_enable_intr |
|
2 |
9 |
50 |
1 |
| ixgb_disable_intr |
|
1 |
4 |
21 |
1 |
| ixgb_write_pci_cfg |
|
1 |
8 |
56 |
3 |
| ixgb_update_stats_counters |
|
1 |
73 |
1013 |
1 |
| ixgb_print_hw_stats |
|
7 |
59 |
412 |
1 |
| Source file: ./sys/dev/pci/ichreg.h |
| Source file: ./sys/dev/pci/cmpci.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cmpci_mixerreg_read |
|
1 |
9 |
58 |
2 |
| cmpci_mixerreg_write |
|
1 |
7 |
55 |
3 |
| cmpci_reg_partial_write_1 |
|
1 |
8 |
68 |
5 |
| cmpci_reg_partial_write_4 |
|
1 |
8 |
68 |
5 |
| cmpci_reg_set_1 |
|
1 |
6 |
50 |
3 |
| cmpci_reg_clear_1 |
|
1 |
6 |
50 |
3 |
| cmpci_reg_set_4 |
|
1 |
7 |
57 |
3 |
| cmpci_reg_clear_4 |
|
1 |
7 |
57 |
3 |
| cmpci_reg_set_reg_misc |
|
1 |
7 |
40 |
2 |
| cmpci_reg_clear_reg_misc |
|
1 |
7 |
40 |
2 |
| cmpci_rate_to_index |
|
3 |
9 |
55 |
1 |
| cmpci_index_to_rate |
|
1 |
4 |
15 |
1 |
| cmpci_index_to_divider |
|
1 |
4 |
15 |
1 |
| cmpci_match |
|
1 |
5 |
37 |
3 |
| cmpci_attach |
|
43 |
129 |
741 |
3 |
| cmpci_activate |
|
2 |
15 |
72 |
2 |
| cmpci_resume |
|
2 |
8 |
44 |
1 |
| cmpci_intr |
|
19 |
69 |
420 |
1 |
| cmpci_open |
|
1 |
4 |
14 |
2 |
| cmpci_close |
|
1 |
3 |
8 |
1 |
| cmpci_set_params |
|
26 |
177 |
770 |
5 |
| cmpci_round_blocksize |
|
1 |
4 |
23 |
2 |
| cmpci_halt_output |
|
2 |
24 |
131 |
1 |
| cmpci_halt_input |
|
1 |
13 |
79 |
1 |
| cmpci_query_devinfo |
|
36 |
237 |
2427 |
2 |
| cmpci_alloc_dmamem |
|
7 |
47 |
328 |
5 |
| cmpci_free_dmamem |
|
3 |
17 |
136 |
3 |
| cmpci_find_dmamem |
|
3 |
9 |
53 |
2 |
| cmpci_print_dmamem |
|
1 |
6 |
54 |
1 |
| cmpci_malloc |
|
2 |
8 |
45 |
5 |
| cmpci_free |
|
1 |
4 |
24 |
3 |
| cmpci_adjust |
|
2 |
7 |
38 |
2 |
| cmpci_set_mixer_gain |
|
45 |
159 |
772 |
2 |
| cmpci_set_out_ports |
|
23 |
94 |
502 |
1 |
| cmpci_set_in_ports |
|
9 |
42 |
204 |
1 |
| cmpci_set_port |
|
44 |
97 |
468 |
2 |
| cmpci_get_port |
|
32 |
58 |
264 |
2 |
| cmpci_round_buffersize |
|
2 |
6 |
27 |
3 |
| cmpci_get_props |
|
1 |
4 |
15 |
1 |
| cmpci_trigger_output |
|
5 |
54 |
384 |
7 |
| cmpci_trigger_input |
|
3 |
34 |
282 |
7 |
| Source file: ./sys/dev/pci/hifn7751reg.h |
| Source file: ./sys/dev/pci/pcscpreg.h |
| Source file: ./sys/dev/pci/if_hme_pci.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| hmematch_pci |
|
3 |
11 |
60 |
3 |
| hme_pci_enaddr |
|
17 |
53 |
463 |
2 |
| hmeattach_pci |
|
14 |
77 |
551 |
3 |
| hmedetach_pci |
|
1 |
10 |
77 |
2 |
| Source file: ./sys/dev/pci/agpreg.h |
| Source file: ./sys/dev/pci/cy82c693.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cy82c693_init |
|
4 |
18 |
96 |
1 |
| cy82c693_read |
|
2 |
9 |
62 |
2 |
| cy82c693_write |
|
2 |
7 |
57 |
3 |
| Source file: ./sys/dev/pci/tga.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tgamatch |
|
2 |
10 |
61 |
3 |
| tga_getdevconfig |
|
26 |
150 |
974 |
4 |
| tgaattach |
|
21 |
114 |
721 |
3 |
| tga_config_interrupts |
|
1 |
6 |
31 |
1 |
| tga_ioctl |
|
15 |
64 |
366 |
5 |
| if |
|
1 |
4 |
23 |
1 |
| tga_intr |
|
4 |
24 |
138 |
1 |
| tga_mmap |
|
5 |
15 |
91 |
3 |
| tga_alloc_screen |
|
2 |
20 |
126 |
6 |
| tga_free_screen |
|
2 |
9 |
42 |
2 |
| tga_load_font |
|
6 |
31 |
203 |
3 |
| tga_list_font |
|
1 |
7 |
47 |
2 |
| tga_cnattach |
|
6 |
35 |
225 |
6 |
| tga_burner |
|
2 |
11 |
49 |
3 |
| tga_blank |
|
2 |
8 |
42 |
1 |
| tga_unblank |
|
2 |
8 |
41 |
1 |
| tga_builtin_set_cursor |
|
13 |
44 |
329 |
2 |
| tga_builtin_get_cursor |
|
3 |
26 |
217 |
2 |
| tga_builtin_set_curpos |
|
1 |
8 |
51 |
2 |
| tga_builtin_get_curpos |
|
1 |
8 |
54 |
2 |
| tga_builtin_get_curmax |
|
1 |
7 |
33 |
2 |
| tga_copycols |
|
1 |
13 |
109 |
5 |
| tga_copyrows |
|
1 |
12 |
91 |
4 |
| tga_rop |
|
13 |
38 |
235 |
8 |
| tga_rop_vtov |
|
27 |
114 |
1184 |
8 |
| tga_putchar |
|
4 |
41 |
377 |
5 |
| tga_eraserows |
|
4 |
39 |
304 |
4 |
| tga_erasecols |
|
4 |
39 |
318 |
5 |
| tga_ramdac_wr |
|
2 |
11 |
72 |
3 |
| tga2_ramdac_wr |
|
2 |
14 |
105 |
3 |
| tga_bt463_rd |
|
1 |
16 |
134 |
2 |
| tga_bt463_wr |
|
1 |
13 |
108 |
3 |
| tga_ramdac_rd |
|
2 |
13 |
82 |
2 |
| tga2_ramdac_rd |
|
2 |
15 |
106 |
2 |
| tga2_init |
|
3 |
31 |
271 |
1 |
| tga2_ics9110_wr |
|
20 |
66 |
680 |
2 |
| tga_getmonitor |
|
1 |
5 |
30 |
1 |
| tga_getdotclock |
|
1 |
5 |
19 |
1 |
| Source file: ./sys/dev/pci/cs4280reg.h |
| Source file: ./sys/dev/pci/pciidevar.h |
| Source file: ./sys/dev/pci/hifn7751var.h |
| Source file: ./sys/dev/pci/fmsreg.h |
| Source file: ./sys/dev/pci/amdpm.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| amdpm_match |
|
1 |
5 |
40 |
3 |
| amdpm_attach |
|
22 |
88 |
612 |
3 |
| amdpm_activate |
|
3 |
21 |
114 |
2 |
| amdpm_rnd_callout |
|
2 |
11 |
71 |
1 |
| amdpm_get_timecount |
|
5 |
14 |
98 |
1 |
| amdpm_i2c_acquire_bus |
|
4 |
7 |
52 |
2 |
| amdpm_i2c_release_bus |
|
4 |
7 |
42 |
2 |
| amdpm_i2c_exec |
|
26 |
92 |
649 |
8 |
| amdpm_intr |
|
9 |
38 |
252 |
1 |
| Source file: ./sys/dev/pci/virtio_pci.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| virtio_pci_read_queue_size |
|
1 |
8 |
53 |
2 |
| virtio_pci_setup_queue |
|
3 |
15 |
99 |
3 |
| virtio_pci_set_status |
|
2 |
10 |
67 |
2 |
| virtio_pci_match |
|
7 |
14 |
98 |
3 |
| virtio_pci_attach |
|
12 |
78 |
541 |
3 |
| virtio_pci_detach |
|
6 |
18 |
130 |
2 |
| virtio_pci_negotiate_features |
|
6 |
25 |
154 |
3 |
| virtio_pci_read_device_config_1 |
|
1 |
6 |
42 |
2 |
| virtio_pci_read_device_config_2 |
|
1 |
6 |
42 |
2 |
| virtio_pci_read_device_config_4 |
|
1 |
6 |
42 |
2 |
| virtio_pci_read_device_config_8 |
|
1 |
11 |
78 |
2 |
| virtio_pci_write_device_config_1 |
|
1 |
7 |
46 |
3 |
| virtio_pci_write_device_config_2 |
|
1 |
7 |
46 |
3 |
| virtio_pci_write_device_config_4 |
|
1 |
7 |
46 |
3 |
| virtio_pci_write_device_config_8 |
|
1 |
9 |
75 |
3 |
| virtio_pci_msix_establish |
|
4 |
19 |
138 |
5 |
| virtio_pci_free_irqs |
|
5 |
20 |
134 |
1 |
| virtio_pci_setup_msix |
|
7 |
37 |
235 |
3 |
| virtio_pci_legacy_intr |
|
4 |
18 |
103 |
1 |
| virtio_pci_legacy_intr_mpsafe |
|
4 |
16 |
95 |
1 |
| virtio_pci_config_intr |
|
2 |
7 |
34 |
1 |
| virtio_pci_queue_intr |
|
2 |
7 |
34 |
1 |
| virtio_pci_shared_queue_intr |
|
1 |
5 |
21 |
1 |
| virtio_pci_poll_intr |
|
2 |
10 |
59 |
1 |
| virtio_pci_kick |
|
1 |
6 |
39 |
2 |
| Source file: ./sys/dev/pci/autrireg.h |
| Source file: ./sys/dev/pci/ixgbe_x540.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ixgbe_init_ops_X540 |
|
1 |
52 |
362 |
1 |
| ixgbe_get_media_type_X540 |
|
1 |
4 |
12 |
1 |
| ixgbe_setup_mac_link_X540 |
|
1 |
8 |
36 |
3 |
| ixgbe_reset_hw_X540 |
|
6 |
36 |
219 |
1 |
| ixgbe_start_hw_X540 |
|
2 |
11 |
47 |
1 |
| ixgbe_get_supported_physical_layer_X540 |
|
4 |
15 |
75 |
1 |
| ixgbe_init_eeprom_params_X540 |
|
2 |
19 |
106 |
1 |
| ixgbe_read_eerd_X540 |
|
2 |
13 |
79 |
3 |
| ixgbe_write_eewr_X540 |
|
2 |
13 |
78 |
3 |
| ixgbe_calc_eeprom_checksum_X540 |
|
17 |
46 |
271 |
1 |
| ixgbe_validate_eeprom_checksum_X540 |
|
7 |
32 |
175 |
2 |
| ixgbe_update_eeprom_checksum_X540 |
|
5 |
24 |
146 |
1 |
| ixgbe_update_flash_X540 |
|
7 |
32 |
164 |
1 |
| ixgbe_poll_flash_update_done_X540 |
|
3 |
16 |
71 |
1 |
| ixgbe_acquire_swfw_sync_X540 |
|
11 |
55 |
291 |
2 |
| ixgbe_release_swfw_sync_X540 |
|
2 |
14 |
80 |
2 |
| ixgbe_get_swfw_sync_semaphore |
|
7 |
34 |
159 |
1 |
| ixgbe_release_swfw_sync_semaphore |
|
1 |
12 |
66 |
1 |
| ixgbe_blink_led_start_X540 |
|
2 |
20 |
122 |
2 |
| ixgbe_blink_led_stop_X540 |
|
1 |
16 |
101 |
2 |
| Source file: ./sys/dev/pci/autrivar.h |
| Source file: ./sys/dev/pci/if_rtw_pci.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rtw_pci_match |
|
1 |
5 |
37 |
3 |
| rtw_pci_enable |
|
2 |
12 |
78 |
1 |
| rtw_pci_disable |
|
1 |
6 |
37 |
1 |
| rtw_pci_attach |
|
6 |
55 |
379 |
3 |
| rtw_pci_detach |
|
3 |
14 |
101 |
2 |
| Source file: ./sys/dev/pci/ubsecvar.h |
| Source file: ./sys/dev/pci/pciide_ixp_reg.h |
| Source file: ./sys/dev/pci/ixgbe.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ixgbe_init_ops_generic |
|
2 |
56 |
414 |
1 |
| ixgbe_device_supports_autoneg_fc |
|
16 |
44 |
162 |
1 |
| ixgbe_setup_fc_generic |
|
26 |
90 |
504 |
1 |
| ixgbe_start_hw_generic |
|
3 |
21 |
133 |
1 |
| ixgbe_start_hw_gen2 |
|
4 |
22 |
158 |
1 |
| ixgbe_init_hw_generic |
|
2 |
10 |
54 |
1 |
| ixgbe_clear_hw_cntrs_generic |
|
14 |
100 |
765 |
1 |
| ixgbe_get_mac_addr_generic |
|
5 |
18 |
154 |
2 |
| ixgbe_set_pci_config_data_generic |
|
8 |
38 |
170 |
2 |
| ixgbe_get_bus_info_generic |
|
1 |
8 |
36 |
1 |
| ixgbe_set_lan_id_multi_port_pcie |
|
2 |
12 |
78 |
1 |
| ixgbe_stop_adapter_generic |
|
3 |
21 |
143 |
1 |
| ixgbe_led_on_generic |
|
1 |
10 |
61 |
2 |
| ixgbe_led_off_generic |
|
1 |
10 |
61 |
2 |
| ixgbe_init_eeprom_params_generic |
|
4 |
28 |
150 |
1 |
| ixgbe_write_eeprom_buffer_bit_bang |
|
10 |
48 |
278 |
4 |
| ixgbe_write_eeprom_generic |
|
2 |
13 |
72 |
3 |
| ixgbe_read_eeprom_buffer_bit_bang |
|
7 |
32 |
196 |
4 |
| ixgbe_read_eeprom_bit_bang_generic |
|
2 |
14 |
72 |
3 |
| ixgbe_read_eerd_buffer_generic |
|
5 |
34 |
183 |
4 |
| ixgbe_read_eerd_generic |
|
1 |
4 |
28 |
3 |
| ixgbe_write_eewr_buffer_generic |
|
6 |
37 |
198 |
4 |
| ixgbe_write_eewr_generic |
|
1 |
4 |
28 |
3 |
| ixgbe_poll_eerd_eewr_done |
|
5 |
22 |
103 |
2 |
| ixgbe_acquire_eeprom |
|
7 |
35 |
197 |
1 |
| ixgbe_get_eeprom_semaphore |
|
9 |
47 |
227 |
1 |
| ixgbe_release_eeprom_semaphore |
|
1 |
9 |
48 |
1 |
| ixgbe_ready_eeprom |
|
4 |
21 |
103 |
1 |
| ixgbe_standby_eeprom |
|
1 |
14 |
72 |
1 |
| ixgbe_shift_out_eeprom_bits |
|
3 |
25 |
139 |
3 |
| ixgbe_shift_in_eeprom_bits |
|
3 |
19 |
111 |
2 |
| ixgbe_raise_eeprom_clk |
|
1 |
8 |
46 |
2 |
| ixgbe_lower_eeprom_clk |
|
1 |
8 |
46 |
2 |
| ixgbe_release_eeprom |
|
1 |
15 |
88 |
1 |
| ixgbe_calc_eeprom_checksum_generic |
|
12 |
40 |
248 |
1 |
| ixgbe_validate_eeprom_checksum_generic |
|
6 |
27 |
148 |
2 |
| ixgbe_update_eeprom_checksum_generic |
|
3 |
17 |
105 |
1 |
| ixgbe_validate_mac_addr |
|
9 |
17 |
114 |
1 |
| ixgbe_set_rar_generic |
|
3 |
25 |
209 |
5 |
| ixgbe_clear_rar_generic |
|
2 |
17 |
111 |
2 |
| ixgbe_init_rx_addrs_generic |
|
4 |
38 |
359 |
1 |
| ixgbe_add_uc_addr |
|
2 |
17 |
136 |
3 |
| ixgbe_mta_vector |
|
5 |
25 |
187 |
2 |
| ixgbe_set_mta |
|
1 |
13 |
83 |
2 |
| ixgbe_update_mc_addr_list_generic |
|
5 |
26 |
188 |
5 |
| ixgbe_enable_mc_generic |
|
2 |
9 |
50 |
1 |
| ixgbe_disable_mc_generic |
|
2 |
8 |
48 |
1 |
| ixgbe_fc_enable_generic |
|
15 |
70 |
446 |
1 |
| ixgbe_negotiate_fc |
|
14 |
34 |
222 |
7 |
| ixgbe_fc_autoneg_fiber |
|
3 |
20 |
108 |
1 |
| ixgbe_fc_autoneg_backplane |
|
4 |
24 |
135 |
1 |
| ixgbe_fc_autoneg_copper |
|
1 |
15 |
79 |
1 |
| ixgbe_fc_autoneg |
|
11 |
41 |
191 |
1 |
| ixgbe_pcie_timeout_poll |
|
10 |
32 |
108 |
1 |
| ixgbe_disable_pcie_master |
|
7 |
30 |
173 |
1 |
| ixgbe_acquire_swfw_sync |
|
5 |
27 |
157 |
2 |
| ixgbe_release_swfw_sync |
|
1 |
11 |
57 |
2 |
| ixgbe_disable_sec_rx_path_generic |
|
4 |
20 |
95 |
1 |
| prot_autoc_read_generic |
|
1 |
7 |
35 |
3 |
| prot_autoc_write_generic |
|
1 |
6 |
27 |
3 |
| ixgbe_enable_sec_rx_path_generic |
|
1 |
10 |
47 |
1 |
| ixgbe_enable_rx_dma_generic |
|
2 |
9 |
37 |
2 |
| ixgbe_blink_led_start_generic |
|
4 |
29 |
183 |
2 |
| ixgbe_blink_led_stop_generic |
|
3 |
23 |
147 |
2 |
| ixgbe_get_pcie_msix_count_generic |
|
7 |
28 |
104 |
1 |
| ixgbe_insert_mac_addr_generic |
|
11 |
38 |
300 |
3 |
| ixgbe_clear_vmdq_generic |
|
11 |
35 |
231 |
3 |
| ixgbe_set_vmdq_generic |
|
3 |
21 |
132 |
3 |
| ixgbe_init_uta_tables_generic |
|
2 |
9 |
50 |
1 |
| ixgbe_find_vlvf_slot |
|
8 |
25 |
121 |
2 |
| ixgbe_set_vfta_generic |
|
7 |
35 |
182 |
4 |
| ixgbe_set_vlvf_generic |
|
10 |
62 |
373 |
5 |
| ixgbe_clear_vfta_generic |
|
3 |
13 |
108 |
1 |
| ixgbe_check_mac_link_generic |
|
13 |
52 |
244 |
4 |
| ixgbe_get_device_caps_generic |
|
1 |
6 |
36 |
2 |
| ixgbe_host_interface_command |
|
16 |
61 |
399 |
5 |
| ixgbe_clear_tx_pending |
|
4 |
26 |
164 |
1 |
| ixgbe_disable_rx_generic |
|
2 |
9 |
42 |
1 |
| ixgbe_enable_rx_generic |
|
1 |
6 |
34 |
1 |
| ixgbe_mng_present |
|
2 |
9 |
43 |
1 |
| ixgbe_mng_enabled |
|
5 |
16 |
92 |
1 |
| ixgbe_setup_mac_link_multispeed_fiber |
|
32 |
107 |
563 |
3 |
| ixgbe_set_soft_rate_select_speed |
|
7 |
49 |
211 |
2 |
| ixgbe_init_shared_code |
|
6 |
28 |
111 |
1 |
| ixgbe_set_mac_type |
|
49 |
78 |
280 |
1 |
| ixgbe_init_hw |
|
2 |
7 |
35 |
1 |
| ixgbe_get_media_type |
|
2 |
7 |
35 |
1 |
| ixgbe_identify_phy |
|
3 |
11 |
57 |
1 |
| ixgbe_check_link |
|
2 |
9 |
52 |
4 |
| ixgbe_flap_tx_laser |
|
2 |
5 |
30 |
1 |
| ixgbe_set_rar |
|
2 |
8 |
56 |
5 |
| ixgbe_set_vmdq |
|
2 |
7 |
45 |
3 |
| ixgbe_clear_vmdq |
|
2 |
7 |
45 |
3 |
| ixgbe_init_uta_tables |
|
2 |
7 |
35 |
1 |
| ixgbe_disable_rx |
|
2 |
5 |
30 |
1 |
| ixgbe_enable_rx |
|
2 |
5 |
30 |
1 |
| ixgbe_read_mbx |
|
3 |
11 |
81 |
4 |
| ixgbe_write_mbx |
|
3 |
11 |
80 |
4 |
| ixgbe_check_for_msg |
|
2 |
9 |
56 |
2 |
| ixgbe_check_for_ack |
|
2 |
9 |
56 |
2 |
| ixgbe_check_for_rst |
|
2 |
9 |
56 |
2 |
| ixgbe_poll_for_msg |
|
7 |
16 |
92 |
2 |
| ixgbe_poll_for_ack |
|
7 |
16 |
92 |
2 |
| ixgbe_read_posted_mbx |
|
3 |
13 |
87 |
4 |
| ixgbe_write_posted_mbx |
|
4 |
14 |
92 |
4 |
| ixgbe_init_mbx_ops_generic |
|
1 |
6 |
35 |
1 |
| ixgbe_read_v2p_mailbox |
|
1 |
7 |
40 |
1 |
| ixgbe_check_for_bit_pf |
|
2 |
10 |
60 |
3 |
| ixgbe_check_for_msg_pf |
|
2 |
13 |
70 |
2 |
| ixgbe_check_for_ack_pf |
|
2 |
13 |
70 |
2 |
| ixgbe_check_for_rst_pf |
|
7 |
26 |
147 |
2 |
| ixgbe_obtain_mbx_lock_pf |
|
2 |
11 |
62 |
2 |
| ixgbe_write_mbx_pf |
|
3 |
18 |
116 |
4 |
| ixgbe_read_mbx_pf |
|
3 |
16 |
102 |
4 |
| ixgbe_init_mbx_params_pf |
|
5 |
24 |
169 |
1 |
| Source file: ./sys/dev/pci/if_txpreg.h |
| Source file: ./sys/dev/pci/vga_pcivar.h |
| Source file: ./sys/dev/pci/if_bnxreg.h |
| Source file: ./sys/dev/pci/i82365_pcivar.h |
| Source file: ./sys/dev/pci/if_sereg.h |
| Source file: ./sys/dev/pci/if_ix.h |
| Source file: ./sys/dev/pci/if_gem_pci.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| gem_match_pci |
|
1 |
5 |
37 |
3 |
| gem_pci_enaddr |
|
12 |
46 |
397 |
2 |
| gem_attach_pci |
|
17 |
77 |
508 |
3 |
| gem_detach_pci |
|
1 |
11 |
85 |
2 |
| Source file: ./sys/dev/pci/auixpvar.h |
| Source file: ./sys/dev/pci/if_liireg.h |
| Source file: ./sys/dev/pci/if_vgevar.h |
| Source file: ./sys/dev/pci/if_iwn.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| iwn_match |
|
1 |
5 |
35 |
3 |
| iwn_attach |
|
34 |
186 |
1294 |
3 |
| iwn4965_attach |
|
1 |
32 |
188 |
2 |
| iwn5000_attach |
|
17 |
93 |
465 |
2 |
| iwn_radiotap_attach |
|
1 |
11 |
108 |
1 |
| iwn_detach |
|
4 |
22 |
170 |
2 |
| iwn_activate |
|
4 |
15 |
75 |
2 |
| iwn_wakeup |
|
2 |
8 |
55 |
1 |
| iwn_init_task |
|
2 |
12 |
78 |
1 |
| iwn_nic_lock |
|
3 |
13 |
66 |
1 |
| iwn_nic_unlock |
|
1 |
4 |
18 |
1 |
| iwn_prph_read |
|
1 |
6 |
36 |
2 |
| iwn_prph_write |
|
1 |
6 |
40 |
3 |
| iwn_prph_setbits |
|
1 |
4 |
31 |
3 |
| iwn_prph_clrbits |
|
1 |
4 |
31 |
3 |
| iwn_prph_write_region_4 |
|
2 |
6 |
47 |
4 |
| iwn_mem_read |
|
1 |
6 |
34 |
2 |
| iwn_mem_write |
|
1 |
6 |
38 |
3 |
| iwn_mem_write_2 |
|
2 |
10 |
70 |
3 |
| iwn_mem_read_region_4 |
|
2 |
6 |
44 |
4 |
| iwn_mem_set_region_4 |
|
2 |
6 |
41 |
4 |
| iwn_eeprom_lock |
|
4 |
15 |
75 |
1 |
| iwn_eeprom_unlock |
|
1 |
4 |
18 |
1 |
| iwn_init_otprom |
|
10 |
37 |
224 |
1 |
| iwn_read_prom_data |
|
9 |
37 |
215 |
4 |
| iwn_dma_contig_alloc |
|
6 |
30 |
227 |
5 |
| iwn_dma_contig_free |
|
3 |
15 |
113 |
1 |
| iwn_alloc_sched |
|
1 |
5 |
37 |
1 |
| iwn_free_sched |
|
1 |
4 |
17 |
1 |
| iwn_alloc_kw |
|
1 |
5 |
28 |
1 |
| iwn_free_kw |
|
1 |
4 |
17 |
1 |
| iwn_alloc_ict |
|
1 |
5 |
35 |
1 |
| iwn_free_ict |
|
1 |
4 |
17 |
1 |
| iwn_alloc_fwmem |
|
1 |
5 |
30 |
1 |
| iwn_free_fwmem |
|
1 |
4 |
17 |
1 |
| iwn_alloc_rx_ring |
|
7 |
53 |
371 |
2 |
| iwn_reset_rx_ring |
|
4 |
16 |
87 |
2 |
| iwn_free_rx_ring |
|
4 |
17 |
129 |
2 |
| iwn_alloc_tx_ring |
|
6 |
45 |
294 |
3 |
| iwn_reset_tx_ring |
|
3 |
20 |
163 |
2 |
| iwn_free_tx_ring |
|
4 |
17 |
129 |
2 |
| iwn5000_ict_reset |
|
1 |
13 |
94 |
1 |
| iwn_read_eeprom |
|
12 |
49 |
351 |
1 |
| iwn4965_read_eeprom |
|
9 |
28 |
225 |
1 |
| iwn4965_print_power_group |
|
5 |
30 |
283 |
2 |
| iwn5000_read_eeprom |
|
8 |
48 |
376 |
1 |
| iwn_read_eeprom_channels |
|
7 |
38 |
279 |
3 |
| iwn_read_eeprom_enhinfo |
|
9 |
30 |
262 |
1 |
| iwn_node_alloc |
|
1 |
4 |
25 |
1 |
| iwn_newassoc |
|
6 |
20 |
162 |
3 |
| iwn_media_change |
|
8 |
27 |
183 |
1 |
| iwn_newstate |
|
12 |
47 |
285 |
3 |
| iwn_iter_func |
|
2 |
7 |
58 |
2 |
| iwn_calib_timeout |
|
4 |
22 |
136 |
1 |
| iwn_ccmp_decap |
|
10 |
56 |
398 |
3 |
| iwn_rx_phy |
|
2 |
12 |
108 |
3 |
| iwn_rx_done |
|
46 |
190 |
1403 |
3 |
| iwn_rx_compressed_ba |
|
1 |
9 |
80 |
3 |
| iwn5000_rx_calib_results |
|
17 |
49 |
312 |
3 |
| iwn_rx_statistics |
|
9 |
35 |
280 |
3 |
| iwn4965_tx_done |
|
1 |
12 |
127 |
3 |
| iwn5000_tx_done |
|
2 |
10 |
106 |
3 |
| iwn_tx_done |
|
11 |
45 |
366 |
6 |
| iwn_cmd_done |
|
3 |
16 |
126 |
2 |
| iwn_notif_intr |
|
30 |
129 |
903 |
1 |
| iwn_wakeup_intr |
|
2 |
10 |
80 |
1 |
| iwn_fatal_intr |
|
7 |
47 |
333 |
1 |
| iwn_intr |
|
27 |
79 |
543 |
1 |
| iwn4965_update_sched |
|
2 |
15 |
131 |
5 |
| iwn5000_update_sched |
|
2 |
15 |
138 |
5 |
| iwn5000_reset_sched |
|
2 |
14 |
133 |
3 |
| iwn_rval2ridx |
|
3 |
9 |
44 |
1 |
| iwn_tx |
|
56 |
251 |
1895 |
3 |
| iwn_start |
|
14 |
39 |
244 |
1 |
| iwn_watchdog |
|
3 |
15 |
81 |
1 |
| iwn_ioctl |
|
14 |
50 |
295 |
3 |
| iwn_cmd |
|
10 |
62 |
500 |
5 |
| iwn4965_add_node |
|
1 |
10 |
79 |
3 |
| iwn5000_add_node |
|
1 |
4 |
35 |
3 |
| iwn_set_link_quality |
|
8 |
49 |
401 |
2 |
| iwn_add_broadcast_node |
|
3 |
32 |
281 |
3 |
| iwn_updateedca |
|
2 |
18 |
162 |
1 |
| iwn_set_led |
|
1 |
10 |
76 |
4 |
| iwn_set_critical_temp |
|
3 |
16 |
115 |
1 |
| iwn_set_timing |
|
1 |
15 |
152 |
2 |
| iwn4965_power_calibration |
|
2 |
8 |
56 |
2 |
| iwn4965_set_txpower |
|
28 |
105 |
896 |
2 |
| iwn5000_set_txpower |
|
1 |
10 |
70 |
2 |
| iwn4965_get_rssi |
|
4 |
16 |
134 |
1 |
| iwn5000_get_rssi |
|
1 |
11 |
100 |
1 |
| iwn_get_noise |
|
4 |
12 |
87 |
1 |
| iwn4965_get_temperature |
|
2 |
16 |
154 |
1 |
| iwn5000_get_temperature |
|
2 |
10 |
54 |
1 |
| iwn_init_sensitivity |
|
3 |
24 |
189 |
1 |
| iwn_collect_noise |
|
8 |
30 |
302 |
2 |
| iwn4965_init_gains |
|
1 |
8 |
53 |
1 |
| iwn5000_init_gains |
|
1 |
10 |
67 |
1 |
| iwn4965_set_gains |
|
6 |
23 |
222 |
1 |
| iwn5000_set_gains |
|
5 |
24 |
224 |
1 |
| iwn_tune_sensitivity |
|
18 |
90 |
888 |
2 |
| iwn_send_sensitivity |
|
2 |
33 |
279 |
1 |
| iwn_set_pslevel |
|
11 |
43 |
341 |
4 |
| iwn_send_btcoex |
|
1 |
10 |
69 |
1 |
| iwn_send_advanced_btcoex |
|
9 |
77 |
557 |
1 |
| iwn5000_runtime_calib |
|
1 |
9 |
69 |
1 |
| iwn_config |
|
26 |
129 |
862 |
1 |
| iwn_get_active_dwell_time |
|
2 |
10 |
49 |
3 |
| iwn_limit_dwell |
|
3 |
12 |
79 |
2 |
| iwn_get_passive_dwell_time |
|
2 |
10 |
48 |
2 |
| iwn_scan |
|
17 |
118 |
913 |
2 |
| iwn_auth |
|
13 |
56 |
438 |
2 |
| iwn_run |
|
16 |
98 |
742 |
1 |
| iwn_set_key |
|
5 |
25 |
210 |
3 |
| iwn_delete_key |
|
5 |
24 |
176 |
3 |
| iwn_update_htprot |
|
5 |
39 |
327 |
2 |
| iwn_ampdu_rx_start |
|
1 |
18 |
142 |
3 |
| iwn_ampdu_rx_stop |
|
1 |
15 |
116 |
3 |
| iwn_ampdu_tx_start |
|
3 |
24 |
182 |
3 |
| iwn_ampdu_tx_stop |
|
2 |
11 |
78 |
3 |
| iwn4965_ampdu_tx_start |
|
1 |
21 |
186 |
4 |
| iwn4965_ampdu_tx_stop |
|
1 |
11 |
96 |
3 |
| iwn5000_ampdu_tx_start |
|
1 |
19 |
179 |
4 |
| iwn5000_ampdu_tx_stop |
|
1 |
12 |
105 |
3 |
| iwn5000_query_calibration |
|
3 |
17 |
127 |
1 |
| iwn5000_send_calibration |
|
4 |
18 |
116 |
1 |
| iwn5000_send_wimax_coex |
|
3 |
19 |
93 |
1 |
| iwn5000_crystal_calib |
|
1 |
13 |
116 |
1 |
| iwn6000_temp_offset_calib |
|
2 |
14 |
101 |
1 |
| iwn2000_temp_offset_calib |
|
2 |
20 |
150 |
1 |
| iwn4965_post_alive |
|
4 |
30 |
256 |
1 |
| iwn5000_post_alive |
|
9 |
57 |
401 |
1 |
| iwn4965_load_bootcode |
|
5 |
28 |
177 |
3 |
| iwn4965_load_firmware |
|
5 |
52 |
468 |
1 |
| iwn5000_load_firmware_section |
|
2 |
25 |
195 |
4 |
| iwn5000_load_firmware |
|
4 |
23 |
135 |
1 |
| iwn_read_firmware_leg |
|
5 |
39 |
329 |
2 |
| iwn_read_firmware_tlv |
|
22 |
98 |
609 |
3 |
| iwn_read_firmware |
|
11 |
41 |
302 |
1 |
| iwn_clock_wait |
|
3 |
13 |
69 |
1 |
| iwn_apm_init |
|
7 |
34 |
205 |
1 |
| iwn_apm_stop_master |
|
3 |
11 |
65 |
1 |
| iwn_apm_stop |
|
1 |
7 |
37 |
1 |
| iwn4965_nic_config |
|
2 |
12 |
64 |
1 |
| iwn5000_nic_config |
|
13 |
38 |
240 |
1 |
| iwn_hw_prepare |
|
8 |
28 |
155 |
1 |
| iwn_hw_init |
|
11 |
66 |
513 |
1 |
| iwn_hw_stop |
|
7 |
33 |
228 |
1 |
| iwn_init |
|
7 |
43 |
263 |
1 |
| iwn_stop |
|
2 |
14 |
100 |
2 |
| Source file: ./sys/dev/pci/if_sf_pci.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sf_pci_match |
|
1 |
5 |
37 |
3 |
| sf_pci_attach |
|
11 |
64 |
404 |
3 |
| Source file: ./sys/dev/pci/pccbbvar.h |
| Source file: ./sys/dev/pci/sli_pci.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sli_pci_match |
|
1 |
5 |
45 |
3 |
| sli_pci_attach |
|
6 |
53 |
366 |
3 |
| sli_pci_detach |
|
2 |
10 |
62 |
2 |
| Source file: ./sys/dev/pci/pci_subr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pci_findvendor |
|
4 |
13 |
60 |
1 |
| pci_findproduct |
|
5 |
14 |
72 |
1 |
| pci_devinfo |
|
18 |
70 |
437 |
5 |
| Source file: ./sys/dev/pci/ixgb_hw.h |
| Source file: ./sys/dev/pci/agp_sis.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| agp_sis_probe |
|
5 |
10 |
79 |
3 |
| agp_sis_attach |
|
5 |
35 |
266 |
3 |
| agp_sis_activate |
|
3 |
13 |
55 |
2 |
| agp_sis_save |
|
1 |
5 |
26 |
1 |
| agp_sis_restore |
|
1 |
7 |
45 |
1 |
| agp_sis_get_aperture |
|
1 |
8 |
54 |
1 |
| agp_sis_set_aperture |
|
4 |
16 |
116 |
2 |
| agp_sis_bind_page |
|
1 |
6 |
44 |
4 |
| agp_sis_unbind_page |
|
1 |
5 |
38 |
2 |
| agp_sis_flush_tlb |
|
1 |
9 |
56 |
1 |
| Source file: ./sys/dev/pci/mmuagp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mmuagp_probe |
|
17 |
48 |
213 |
3 |
| mmuagp_nvidia_match |
|
5 |
14 |
95 |
2 |
| mmuagp_via_match |
|
5 |
15 |
92 |
1 |
| mmuagp_attach |
|
17 |
86 |
576 |
3 |
| mmuagp_get_aperture |
|
2 |
10 |
58 |
1 |
| mmuagp_set_aperture |
|
5 |
19 |
133 |
2 |
| mmuagp_bind_page |
|
1 |
6 |
61 |
4 |
| mmuagp_unbind_page |
|
1 |
5 |
38 |
2 |
| mmuagp_flush_tlb |
|
2 |
13 |
76 |
1 |
| mmuagp_apbase_fixup |
|
2 |
12 |
91 |
1 |
| mmuagp_uli_init |
|
1 |
12 |
78 |
1 |
| mmuagp_uli_set_aperture |
|
5 |
16 |
67 |
2 |
| mmuagp_nvidia_init |
|
1 |
14 |
95 |
1 |
| mmuagp_nvidia_set_aperture |
|
6 |
32 |
158 |
2 |
| mmuagp_via_init |
|
1 |
10 |
67 |
1 |
| mmuagp_via_set_aperture |
|
2 |
12 |
106 |
2 |
| Source file: ./sys/dev/pci/viapm.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| viapm_match |
|
1 |
4 |
32 |
3 |
| viapm_attach |
|
33 |
148 |
1122 |
3 |
| viapm_i2c_acquire_bus |
|
4 |
7 |
52 |
2 |
| viapm_i2c_release_bus |
|
4 |
7 |
42 |
2 |
| viapm_i2c_exec |
|
23 |
82 |
580 |
8 |
| viapm_intr |
|
9 |
35 |
237 |
1 |
| val_to_uK |
|
4 |
10 |
76 |
1 |
| val_to_rpm |
|
2 |
6 |
27 |
2 |
| val_to_uV |
|
2 |
7 |
57 |
2 |
| viapm_refresh_sensor_data |
|
3 |
29 |
400 |
1 |
| viapm_refresh |
|
1 |
6 |
33 |
1 |
| viapm_get_timecount |
|
3 |
13 |
97 |
1 |
| Source file: ./sys/dev/pci/pcireg.h |
| Source file: ./sys/dev/pci/cz.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cz_match |
|
3 |
10 |
59 |
3 |
| cz_attach |
|
15 |
106 |
761 |
3 |
| cz_reset_board |
|
1 |
13 |
85 |
1 |
| cz_load_firmware |
|
30 |
129 |
885 |
1 |
| cz_poll |
|
1 |
8 |
42 |
1 |
| cz_intr |
|
33 |
91 |
466 |
1 |
| cz_wait_pci_doorbell |
|
4 |
10 |
73 |
2 |
| cztty_getttysoftc |
|
6 |
20 |
127 |
1 |
| cztty_findmajor |
|
4 |
9 |
48 |
1 |
| czttytty |
|
3 |
7 |
35 |
1 |
| cztty_shutdown |
|
5 |
21 |
159 |
1 |
| czttyopen |
|
15 |
61 |
425 |
4 |
| czttyclose |
|
3 |
13 |
102 |
4 |
| czttyread |
|
1 |
6 |
56 |
3 |
| czttywrite |
|
1 |
6 |
56 |
3 |
| czttypoll |
|
1 |
6 |
56 |
3 |
| czttyioctl |
|
14 |
50 |
278 |
5 |
| cztty_break |
|
2 |
8 |
53 |
2 |
| cztty_modem |
|
3 |
14 |
91 |
2 |
| tiocm_to_cztty |
|
6 |
26 |
161 |
3 |
| cztty_to_tiocm |
|
8 |
24 |
171 |
1 |
| czttyparam |
|
18 |
82 |
555 |
2 |
| czttystart |
|
3 |
14 |
80 |
1 |
| czttystop |
|
1 |
4 |
17 |
2 |
| cztty_diag |
|
3 |
22 |
127 |
1 |
| cztty_transmit |
|
8 |
34 |
262 |
2 |
| cztty_receive |
|
6 |
20 |
174 |
2 |
| if |
|
1 |
3 |
15 |
1 |
| Source file: ./sys/dev/pci/if_em_hw.h |
| Source file: ./sys/dev/pci/plx9060var.h |
| Source file: ./sys/dev/pci/ixgb_ee.h |
| Source file: ./sys/dev/pci/sti_pci.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sti_pci_match |
|
1 |
6 |
47 |
3 |
| sti_pci_attach |
|
4 |
18 |
151 |
3 |
| sti_check_rom |
|
26 |
133 |
821 |
2 |
| sti_readbar |
|
7 |
33 |
212 |
4 |
| sti_pci_enable_rom |
|
2 |
11 |
81 |
1 |
| sti_pci_disable_rom |
|
2 |
11 |
80 |
1 |
| Source file: ./sys/dev/pci/ehci_pci.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ehci_pci_match |
|
4 |
9 |
68 |
3 |
| ehci_pci_attach |
|
20 |
107 |
726 |
3 |
| ehci_pci_activate |
|
4 |
17 |
75 |
2 |
| ehci_pci_detach |
|
4 |
17 |
116 |
2 |
| ehci_pci_givecontroller |
|
3 |
15 |
100 |
1 |
| ehci_pci_takecontroller |
|
8 |
29 |
204 |
2 |
| ehci_sb700_match |
|
5 |
9 |
59 |
1 |
| Source file: ./sys/dev/pci/ixgbe.h |
| Source file: ./sys/dev/pci/neoreg.h |
| Source file: ./sys/dev/pci/pcivar.h |
| Source file: ./sys/dev/pci/ips.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ips_match |
|
1 |
5 |
40 |
3 |
| ips_attach |
|
32 |
198 |
1602 |
3 |
| ips_scsi_cmd |
|
21 |
116 |
795 |
1 |
| ips_scsi_pt_cmd |
|
11 |
68 |
544 |
1 |
| ips_scsi_ioctl |
|
2 |
5 |
37 |
4 |
| ips_ioctl |
|
5 |
18 |
129 |
3 |
| ips_ioctl_inq |
|
2 |
12 |
117 |
2 |
| ips_ioctl_vol |
|
16 |
61 |
469 |
2 |
| ips_ioctl_disk |
|
17 |
60 |
469 |
2 |
| ips_ioctl_setstate |
|
8 |
29 |
187 |
2 |
| ips_sensors |
|
7 |
39 |
281 |
1 |
| ips_load_xs |
|
8 |
30 |
275 |
3 |
| ips_start_xs |
|
2 |
11 |
80 |
3 |
| ips_cmd |
|
2 |
18 |
146 |
2 |
| ips_poll |
|
6 |
31 |
214 |
2 |
| ips_done |
|
1 |
8 |
66 |
2 |
| ips_done_xs |
|
4 |
15 |
118 |
2 |
| ips_done_pt |
|
10 |
31 |
261 |
2 |
| ips_done_mgmt |
|
3 |
9 |
69 |
2 |
| ips_error |
|
19 |
55 |
377 |
2 |
| ips_error_xs |
|
14 |
34 |
163 |
2 |
| ips_intr |
|
6 |
40 |
244 |
1 |
| ips_timeout |
|
2 |
16 |
88 |
1 |
| ips_getadapterinfo |
|
2 |
15 |
104 |
2 |
| ips_getdriveinfo |
|
2 |
15 |
104 |
2 |
| ips_getconf |
|
2 |
15 |
104 |
2 |
| ips_getpg5 |
|
2 |
16 |
110 |
2 |
| ips_getrblstat |
|
2 |
15 |
104 |
2 |
| ips_setstate |
|
2 |
16 |
108 |
5 |
| ips_rebuild |
|
2 |
17 |
119 |
6 |
| ips_copperhead_exec |
|
4 |
17 |
118 |
2 |
| ips_copperhead_intren |
|
1 |
4 |
24 |
1 |
| ips_copperhead_isintr |
|
3 |
9 |
64 |
1 |
| ips_copperhead_status |
|
4 |
18 |
149 |
1 |
| ips_morpheus_exec |
|
1 |
4 |
31 |
2 |
| ips_morpheus_intren |
|
1 |
7 |
46 |
1 |
| ips_morpheus_isintr |
|
1 |
5 |
27 |
1 |
| ips_morpheus_status |
|
1 |
7 |
49 |
1 |
| ips_ccb_alloc |
|
5 |
26 |
214 |
2 |
| ips_ccb_free |
|
2 |
7 |
64 |
3 |
| ips_ccb_get |
|
2 |
14 |
94 |
1 |
| ips_ccb_put |
|
1 |
9 |
60 |
2 |
| ips_dmamem_alloc |
|
5 |
26 |
189 |
3 |
| ips_dmamem_free |
|
1 |
7 |
60 |
1 |
| Source file: ./sys/dev/pci/wdt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wdt_probe |
|
1 |
5 |
37 |
3 |
| wdt_attach |
|
5 |
28 |
172 |
3 |
| wdt_activate |
|
2 |
9 |
33 |
2 |
| wdt_is501 |
|
3 |
7 |
45 |
1 |
| wdt_8254_count |
|
1 |
6 |
54 |
3 |
| wdt_8254_mode |
|
1 |
5 |
44 |
3 |
| wdt_set_timeout |
|
4 |
20 |
123 |
2 |
| wdt_timer_disable |
|
1 |
4 |
25 |
1 |
| wdt_init_timer |
|
1 |
6 |
36 |
1 |
| wdt_buzzer_off |
|
1 |
4 |
24 |
1 |
| wdt_buzzer_enable |
|
1 |
5 |
33 |
1 |
| wdt_buzzer_disable |
|
1 |
4 |
18 |
1 |
| Source file: ./sys/dev/pci/adv_pci.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| adv_pci_match |
|
1 |
7 |
42 |
3 |
| adv_pci_attach |
|
10 |
63 |
394 |
3 |
| Source file: ./sys/dev/pci/eapreg.h |
| Source file: ./sys/dev/pci/puc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| puc_pci_match |
|
3 |
15 |
124 |
3 |
| puc_pci_intr_string |
|
1 |
5 |
32 |
1 |
| puc_pci_intr_establish |
|
1 |
9 |
93 |
5 |
| puc_pci_attach |
|
8 |
48 |
427 |
3 |
| puc_common_attach |
|
8 |
37 |
329 |
2 |
| puc_pci_detach |
|
7 |
20 |
170 |
2 |
| puc_print |
|
2 |
8 |
52 |
2 |
| puc_submatch |
|
3 |
8 |
81 |
3 |
| puc_find_description |
|
6 |
12 |
144 |
4 |
| puc_port_type_name |
|
3 |
8 |
32 |
1 |
| puc_print_ports |
|
7 |
19 |
114 |
1 |
| Source file: ./sys/dev/pci/if_em_soc.h |
| Source file: ./sys/dev/pci/if_txp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| txp_probe |
|
1 |
5 |
37 |
3 |
| txp_attachhook |
|
6 |
68 |
611 |
1 |
| txp_attach |
|
5 |
32 |
210 |
3 |
| txp_chip_init |
|
2 |
26 |
173 |
1 |
| txp_reset_adapter |
|
4 |
19 |
104 |
1 |
| txp_download_fw |
|
12 |
73 |
534 |
1 |
| txp_download_fw_wait |
|
5 |
21 |
115 |
1 |
| txp_download_fw_section |
|
7 |
57 |
435 |
5 |
| txp_intr |
|
9 |
37 |
359 |
1 |
| txp_rx_reclaim |
|
16 |
90 |
642 |
3 |
| txp_rxbuf_reclaim |
|
9 |
57 |
439 |
1 |
| txp_tx_reclaim |
|
7 |
44 |
276 |
3 |
| txp_alloc_rings |
|
28 |
224 |
2046 |
1 |
| txp_dma_malloc |
|
5 |
27 |
237 |
4 |
| txp_dma_free |
|
1 |
7 |
69 |
2 |
| txp_ioctl |
|
9 |
34 |
184 |
3 |
| txp_init |
|
2 |
21 |
170 |
1 |
| txp_tick |
|
5 |
30 |
265 |
1 |
| txp_start |
|
25 |
112 |
745 |
1 |
| txp_command |
|
6 |
18 |
145 |
9 |
| txp_command2 |
|
13 |
63 |
524 |
9 |
| txp_response |
|
9 |
39 |
279 |
5 |
| txp_rsp_fixup |
|
4 |
21 |
150 |
3 |
| txp_cmd_desc_numfree |
|
3 |
18 |
128 |
1 |
| txp_stop |
|
1 |
10 |
91 |
1 |
| txp_watchdog |
|
1 |
3 |
9 |
1 |
| txp_ifmedia_upd |
|
8 |
28 |
185 |
1 |
| txp_ifmedia_sts |
|
16 |
56 |
375 |
2 |
| txp_show_descriptor |
|
5 |
38 |
278 |
1 |
| txp_set_filter |
|
7 |
40 |
257 |
1 |
| txp_capabilities |
|
14 |
45 |
317 |
1 |
| Source file: ./sys/dev/pci/glxpcib.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| glxpcib_match |
|
2 |
8 |
44 |
3 |
| glxpcib_attach |
|
15 |
107 |
750 |
3 |
| glxpcib_activate |
|
9 |
34 |
218 |
2 |
| glxpcib_get_timecount |
|
1 |
4 |
15 |
1 |
| glxpcib_wdogctl_cb |
|
3 |
17 |
107 |
2 |
| glxpcib_gpio_pin_read |
|
4 |
19 |
118 |
2 |
| glxpcib_gpio_pin_write |
|
3 |
16 |
87 |
3 |
| glxpcib_gpio_pin_ctl |
|
10 |
47 |
386 |
3 |
| glxpcib_smb_acquire_bus |
|
3 |
7 |
46 |
2 |
| glxpcib_smb_release_bus |
|
3 |
7 |
36 |
2 |
| glxpcib_smb_send_start |
|
1 |
10 |
58 |
2 |
| glxpcib_smb_send_stop |
|
1 |
10 |
58 |
2 |
| glxpcib_smb_send_ack |
|
1 |
9 |
53 |
2 |
| glxpcib_smb_initiate_xfer |
|
3 |
13 |
96 |
3 |
| glxpcib_smb_read_byte |
|
3 |
12 |
79 |
3 |
| glxpcib_print |
|
2 |
7 |
45 |
2 |
| glxpcib_search |
|
5 |
19 |
169 |
3 |
| glxpcib_smb_write_byte |
|
3 |
12 |
77 |
3 |
| glxpcib_smb_reset |
|
1 |
12 |
87 |
1 |
| glxpcib_smb_wait |
|
8 |
31 |
177 |
3 |
| Source file: ./sys/dev/pci/if_ipwvar.h |
| Source file: ./sys/dev/pci/mpi_pci.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mpi_pci_match |
|
1 |
4 |
32 |
3 |
| mpi_pci_attach |
|
16 |
68 |
477 |
3 |
| mpi_pci_detach |
|
3 |
15 |
102 |
2 |
| Source file: ./sys/dev/pci/agpvar.h |
| Source file: ./sys/dev/pci/if_wi_pci.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wi_pci_lookup |
|
4 |
10 |
66 |
1 |
| wi_pci_match |
|
1 |
4 |
27 |
3 |
| wi_pci_attach |
|
2 |
11 |
78 |
3 |
| wi_pci_activate |
|
5 |
16 |
83 |
2 |
| wi_pci_wakeup |
|
2 |
12 |
70 |
1 |
| wi_pci_acex_attach |
|
12 |
72 |
544 |
2 |
| wi_pci_plx_attach |
|
14 |
76 |
504 |
2 |
| wi_pci_tmd_attach |
|
4 |
30 |
205 |
2 |
| wi_pci_native_attach |
|
3 |
26 |
171 |
2 |
| wi_pci_common_attach |
|
4 |
24 |
151 |
2 |
| wi_pci_plx_print_cis |
|
7 |
26 |
212 |
1 |
| Source file: ./sys/dev/pci/pci_map.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| obsd_pci_io_find |
|
14 |
37 |
247 |
7 |
| obsd_pci_mem_find |
|
35 |
82 |
548 |
7 |
| pci_io_find |
|
1 |
5 |
41 |
5 |
| pci_mem_find |
|
1 |
6 |
46 |
6 |
| pci_mapreg_type |
|
1 |
4 |
28 |
3 |
| pci_mapreg_probe |
|
5 |
22 |
169 |
4 |
| pci_mapreg_info |
|
2 |
10 |
78 |
7 |
| pci_mapreg_map |
|
22 |
70 |
488 |
9 |
| Source file: ./sys/dev/pci/auviavar.h |
| Source file: ./sys/dev/pci/ahc_pci.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ahc_compose_id |
|
1 |
9 |
55 |
4 |
| ahc_find_pci_device |
|
6 |
21 |
149 |
3 |
| ahc_pci_probe |
|
3 |
11 |
85 |
3 |
| ahc_pci_attach |
|
43 |
235 |
1654 |
3 |
| ahc_9005_subdevinfo_valid |
|
10 |
25 |
95 |
4 |
| ahc_ext_scbram_present |
|
7 |
21 |
138 |
1 |
| ahc_scbram_config |
|
10 |
43 |
217 |
5 |
| ahc_probe_ext_scbram |
|
16 |
60 |
393 |
1 |
| ahc_pci_test_register_access |
|
5 |
35 |
259 |
1 |
| ahc_pci_intr |
|
9 |
40 |
264 |
1 |
| ahc_pci_chip_init |
|
4 |
20 |
194 |
1 |
| ahc_aic785X_setup |
|
2 |
13 |
74 |
1 |
| ahc_aic7860_setup |
|
2 |
13 |
74 |
1 |
| ahc_apa1480_setup |
|
2 |
9 |
41 |
1 |
| ahc_aic7870_setup |
|
1 |
9 |
48 |
1 |
| ahc_aha394X_setup |
|
2 |
8 |
37 |
1 |
| ahc_aha398X_setup |
|
2 |
8 |
37 |
1 |
| ahc_aha494X_setup |
|
2 |
8 |
37 |
1 |
| ahc_aic7880_setup |
|
2 |
16 |
83 |
1 |
| ahc_aha2940Pro_setup |
|
1 |
5 |
23 |
1 |
| ahc_aha394XU_setup |
|
2 |
8 |
37 |
1 |
| ahc_aha398XU_setup |
|
2 |
8 |
37 |
1 |
| ahc_aic7890_setup |
|
2 |
13 |
72 |
1 |
| ahc_aic7892_setup |
|
1 |
10 |
50 |
1 |
| ahc_aic7895_setup |
|
4 |
28 |
218 |
1 |
| ahc_aic7896_setup |
|
2 |
10 |
62 |
1 |
| ahc_aic7899_setup |
|
2 |
10 |
62 |
1 |
| ahc_aha29160C_setup |
|
2 |
9 |
41 |
1 |
| ahc_raid_setup |
|
1 |
5 |
19 |
1 |
| ahc_aha394XX_setup |
|
3 |
17 |
66 |
1 |
| ahc_aha398XX_setup |
|
4 |
22 |
85 |
1 |
| ahc_aha494XX_setup |
|
5 |
24 |
94 |
1 |
| Source file: ./sys/dev/pci/fmsvar.h |
| Source file: ./sys/dev/pci/pciide_natsemi_reg.h |
| Source file: ./sys/dev/pci/esavar.h |
| Source file: ./sys/dev/pci/if_de.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tulip_timeout_callback |
|
1 |
12 |
65 |
1 |
| tulip_timeout |
|
2 |
7 |
43 |
1 |
| tulip_txprobe |
|
3 |
25 |
224 |
1 |
| tulip_media_set |
|
26 |
88 |
789 |
2 |
| tulip_linkup |
|
9 |
25 |
180 |
2 |
| tulip_media_print |
|
6 |
14 |
83 |
1 |
| tulip_media_link_monitor |
|
24 |
61 |
443 |
1 |
| tulip_media_poll |
|
56 |
171 |
908 |
2 |
| tulip_media_select |
|
4 |
15 |
103 |
1 |
| tulip_21040_mediainfo_init |
|
6 |
15 |
134 |
2 |
| tulip_21040_media_probe |
|
1 |
4 |
16 |
1 |
| tulip_21040_10baset_only_media_probe |
|
1 |
6 |
29 |
1 |
| tulip_21040_10baset_only_media_select |
|
2 |
12 |
61 |
1 |
| tulip_21040_auibnc_only_media_probe |
|
1 |
7 |
37 |
1 |
| tulip_21040_auibnc_only_media_select |
|
1 |
5 |
22 |
1 |
| tulip_21041_mediainfo_init |
|
1 |
8 |
78 |
1 |
| tulip_21041_media_probe |
|
1 |
8 |
42 |
1 |
| tulip_21041_media_poll |
|
27 |
95 |
542 |
2 |
| tulip_mii_phy_readspecific |
|
16 |
53 |
427 |
1 |
| tulip_mii_get_phyaddr |
|
10 |
19 |
121 |
2 |
| tulip_mii_map_abilities |
|
6 |
20 |
107 |
2 |
| tulip_mii_autonegotiate |
|
20 |
84 |
518 |
2 |
| tulip_2114x_media_preset |
|
25 |
70 |
370 |
1 |
| tulip_null_media_poll |
|
3 |
6 |
32 |
2 |
| tulip_21140_mediainit |
|
1 |
8 |
51 |
5 |
| tulip_21140_evalboard_media_probe |
|
2 |
32 |
186 |
1 |
| tulip_21140_accton_media_probe |
|
3 |
41 |
226 |
1 |
| tulip_21140_smc9332_media_probe |
|
6 |
41 |
258 |
1 |
| tulip_21140_cogent_em100_media_probe |
|
2 |
33 |
193 |
1 |
| tulip_21140_znyx_zx34x_media_probe |
|
7 |
44 |
277 |
1 |
| tulip_2114x_media_probe |
|
1 |
5 |
19 |
1 |
| tulip_delay_300ns |
|
2 |
6 |
41 |
1 |
| tulip_srom_idle |
|
2 |
15 |
89 |
1 |
| tulip_srom_read |
|
6 |
40 |
293 |
1 |
| tulip_mii_writebits |
|
4 |
15 |
117 |
3 |
| tulip_mii_turnaround |
|
2 |
13 |
81 |
2 |
| tulip_mii_readbits |
|
3 |
15 |
95 |
1 |
| tulip_mii_readreg |
|
2 |
15 |
128 |
3 |
| tulip_mii_writereg |
|
2 |
15 |
127 |
4 |
| tulip_identify_dec_nic |
|
4 |
11 |
99 |
1 |
| tulip_identify_znyx_nic |
|
30 |
84 |
714 |
1 |
| tulip_identify_smc_nic |
|
14 |
43 |
383 |
1 |
| tulip_identify_cogent_nic |
|
10 |
22 |
213 |
1 |
| tulip_identify_accton_nic |
|
7 |
27 |
174 |
1 |
| tulip_identify_asante_nic |
|
8 |
42 |
329 |
1 |
| tulip_identify_compex_nic |
|
9 |
26 |
192 |
1 |
| tulip_srom_decode |
|
64 |
304 |
2274 |
1 |
| tulip_read_macaddr |
|
50 |
131 |
1153 |
1 |
| tulip_ifmedia_add |
|
5 |
24 |
179 |
1 |
| tulip_ifmedia_change |
|
5 |
23 |
144 |
1 |
| tulip_ifmedia_status |
|
3 |
10 |
65 |
2 |
| tulip_alloc_rxmap |
|
1 |
4 |
21 |
1 |
| tulip_free_rxmap |
|
1 |
4 |
23 |
2 |
| tulip_alloc_txmap |
|
1 |
4 |
21 |
1 |
| tulip_free_txmap |
|
1 |
4 |
23 |
2 |
| tulip_addr_filter |
|
20 |
84 |
842 |
1 |
| tulip_reset |
|
16 |
83 |
602 |
1 |
| tulip_init |
|
7 |
38 |
241 |
1 |
| tulip_rx_intr |
|
50 |
178 |
1225 |
1 |
| tulip_tx_intr |
|
31 |
96 |
652 |
1 |
| tulip_print_abnormal_interrupt |
|
8 |
25 |
184 |
2 |
| tulip_intr_handler |
|
24 |
81 |
516 |
2 |
| tulip_intr_shared |
|
3 |
10 |
54 |
1 |
| tulip_intr_normal |
|
2 |
8 |
43 |
1 |
| Source file: ./sys/dev/pci/if_tht.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| thtc_lookup |
|
4 |
12 |
78 |
1 |
| thtc_match |
|
2 |
7 |
43 |
3 |
| thtc_attach |
|
5 |
39 |
281 |
3 |
| thtc_print |
|
2 |
8 |
51 |
2 |
| tht_match |
|
1 |
4 |
22 |
3 |
| tht_attach |
|
3 |
40 |
321 |
3 |
| tht_mountroot |
|
3 |
12 |
90 |
1 |
| tht_intr |
|
8 |
34 |
243 |
1 |
| tht_ioctl |
|
10 |
37 |
206 |
3 |
| tht_up |
|
8 |
61 |
464 |
1 |
| tht_iff |
|
9 |
48 |
369 |
1 |
| tht_down |
|
4 |
22 |
188 |
1 |
| tht_start |
|
11 |
53 |
411 |
1 |
| tht_load_pkt |
|
7 |
34 |
219 |
3 |
| tht_txf |
|
3 |
24 |
199 |
1 |
| tht_rxf_fill |
|
11 |
46 |
342 |
2 |
| tht_rxf_drain |
|
2 |
14 |
89 |
1 |
| tht_rxd |
|
4 |
38 |
295 |
1 |
| tht_watchdog |
|
1 |
3 |
9 |
1 |
| tht_media_change |
|
1 |
4 |
14 |
1 |
| tht_media_status |
|
2 |
9 |
57 |
2 |
| tht_fifo_alloc |
|
2 |
17 |
155 |
3 |
| tht_fifo_free |
|
1 |
6 |
52 |
2 |
| tht_fifo_readable |
|
2 |
11 |
94 |
2 |
| tht_fifo_writable |
|
2 |
11 |
94 |
2 |
| tht_fifo_pre |
|
1 |
5 |
43 |
2 |
| tht_fifo_read |
|
2 |
19 |
135 |
4 |
| tht_fifo_write |
|
2 |
20 |
144 |
4 |
| tht_fifo_write_dmap |
|
2 |
14 |
107 |
3 |
| tht_fifo_write_pad |
|
2 |
6 |
49 |
3 |
| tht_fifo_post |
|
2 |
11 |
102 |
2 |
| tht_lladdr_read |
|
2 |
6 |
48 |
1 |
| tht_lladdr_write |
|
2 |
6 |
48 |
1 |
| tht_sw_reset |
|
4 |
37 |
304 |
1 |
| tht_fw_load |
|
9 |
40 |
269 |
1 |
| tht_fw_tick |
|
1 |
5 |
20 |
1 |
| tht_link_state |
|
5 |
18 |
115 |
1 |
| tht_read |
|
1 |
6 |
49 |
2 |
| tht_write |
|
1 |
6 |
51 |
3 |
| tht_write_region |
|
1 |
7 |
57 |
4 |
| tht_wait_eq |
|
3 |
11 |
62 |
5 |
| tht_wait_ne |
|
3 |
11 |
62 |
5 |
| tht_dmamem_alloc |
|
5 |
30 |
229 |
3 |
| tht_dmamem_free |
|
1 |
9 |
75 |
2 |
| tht_pkt_alloc |
|
3 |
23 |
162 |
4 |
| tht_pkt_free |
|
2 |
9 |
67 |
2 |
| tht_pkt_put |
|
1 |
5 |
38 |
2 |
| tht_pkt_get |
|
2 |
10 |
61 |
1 |
| tht_pkt_used |
|
1 |
4 |
20 |
1 |
| Source file: ./sys/dev/pci/autri.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| autri_reg_set_1 |
|
1 |
5 |
45 |
3 |
| autri_reg_clear_1 |
|
1 |
5 |
45 |
3 |
| autri_reg_set_4 |
|
1 |
5 |
45 |
3 |
| autri_reg_clear_4 |
|
1 |
5 |
45 |
3 |
| autri_attach_codec |
|
1 |
7 |
36 |
2 |
| autri_read_codec |
|
12 |
60 |
307 |
3 |
| autri_write_codec |
|
9 |
47 |
232 |
3 |
| autri_reset_codec |
|
8 |
52 |
276 |
1 |
| autri_flags_codec |
|
1 |
5 |
22 |
1 |
| autri_match |
|
4 |
13 |
88 |
3 |
| autri_attach |
|
10 |
86 |
697 |
3 |
| autri_activate |
|
2 |
9 |
63 |
2 |
| autri_init |
|
8 |
86 |
687 |
1 |
| autri_enable_loop_interrupt |
|
3 |
9 |
43 |
1 |
| autri_disable_loop_interrupt |
|
1 |
7 |
35 |
1 |
| autri_intr |
|
17 |
53 |
405 |
1 |
| autri_allocmem |
|
5 |
30 |
234 |
4 |
| autri_freemem |
|
1 |
8 |
69 |
2 |
| autri_open |
|
1 |
9 |
63 |
2 |
| autri_close |
|
1 |
4 |
15 |
1 |
| autri_set_params |
|
8 |
22 |
146 |
5 |
| autri_round_blocksize |
|
1 |
4 |
23 |
2 |
| autri_halt_output |
|
1 |
11 |
73 |
1 |
| autri_halt_input |
|
1 |
11 |
73 |
1 |
| autri_mixer_set_port |
|
1 |
6 |
41 |
2 |
| autri_mixer_get_port |
|
1 |
6 |
41 |
2 |
| autri_query_devinfo |
|
1 |
6 |
41 |
2 |
| autri_get_portnum_by_name |
|
1 |
6 |
47 |
4 |
| autri_malloc |
|
4 |
18 |
122 |
5 |
| autri_free |
|
3 |
13 |
93 |
3 |
| autri_find_dma |
|
3 |
7 |
45 |
2 |
| autri_get_props |
|
1 |
5 |
17 |
1 |
| autri_setup_channel |
|
20 |
107 |
799 |
3 |
| autri_trigger_output |
|
2 |
26 |
219 |
7 |
| autri_trigger_input |
|
6 |
31 |
264 |
7 |
| autri_halt |
|
1 |
7 |
41 |
1 |
| autri_enable_interrupt |
|
2 |
7 |
43 |
2 |
| autri_disable_interrupt |
|
2 |
7 |
43 |
2 |
| autri_startch |
|
2 |
9 |
62 |
3 |
| autri_stopch |
|
2 |
9 |
62 |
3 |
| autri_midi_open |
|
3 |
16 |
136 |
5 |
| autri_midi_close |
|
1 |
8 |
47 |
1 |
| autri_midi_output |
|
2 |
9 |
50 |
2 |
| autri_midi_getinfo |
|
1 |
5 |
25 |
2 |
| Source file: ./sys/dev/pci/if_casvar.h |
| Source file: ./sys/dev/pci/ubsecreg.h |
| Source file: ./sys/dev/pci/cs4281.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cs4281_match |
|
3 |
11 |
65 |
3 |
| cs4281_attach |
|
9 |
55 |
397 |
3 |
| cs4281_intr |
|
10 |
43 |
284 |
1 |
| cs4281_set_params |
|
14 |
47 |
276 |
5 |
| cs4281_halt_output |
|
2 |
8 |
44 |
1 |
| cs4281_halt_input |
|
2 |
8 |
44 |
1 |
| if |
|
2 |
5 |
34 |
1 |
| if |
|
1 |
5 |
26 |
1 |
| if |
|
2 |
5 |
34 |
1 |
| if |
|
1 |
4 |
19 |
1 |
| cs4281_sr2regval |
|
9 |
32 |
105 |
1 |
| cs4281_set_dac_rate |
|
1 |
6 |
28 |
2 |
| cs4281_set_adc_rate |
|
1 |
6 |
28 |
2 |
| cs4281_init |
|
23 |
137 |
948 |
1 |
| cs4281_activate |
|
3 |
19 |
98 |
2 |
| cs4281_reset_codec |
|
13 |
67 |
398 |
1 |
| cs4281_open |
|
1 |
4 |
16 |
2 |
| cs4281_close |
|
1 |
9 |
49 |
1 |
| cs4281_round_blocksize |
|
1 |
4 |
16 |
2 |
| cs4281_mixer_set_port |
|
1 |
9 |
57 |
2 |
| cs4281_mixer_get_port |
|
1 |
6 |
39 |
2 |
| cs4281_query_devinfo |
|
1 |
6 |
39 |
2 |
| cs4281_malloc |
|
3 |
18 |
119 |
5 |
| cs4281_free |
|
3 |
17 |
140 |
3 |
| cs4281_round_buffersize |
|
1 |
4 |
19 |
3 |
| cs4281_get_props |
|
2 |
7 |
26 |
1 |
| cs4281_attach_codec |
|
1 |
8 |
40 |
2 |
| cs4281_read_codec |
|
4 |
30 |
190 |
3 |
| cs4281_write_codec |
|
2 |
17 |
111 |
3 |
| cs4281_allocmem |
|
6 |
48 |
323 |
5 |
| cs4281_src_wait |
|
3 |
12 |
56 |
1 |
| Source file: ./sys/dev/pci/if_sisreg.h |
| Source file: ./sys/dev/pci/if_ti_pci.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ti_pci_match |
|
1 |
4 |
32 |
3 |
| ti_pci_attach |
|
10 |
42 |
286 |
3 |
| Source file: ./sys/dev/pci/if_oce.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ilog2 |
|
2 |
7 |
28 |
1 |
| oce_match |
|
1 |
4 |
32 |
3 |
| oce_attach |
|
26 |
101 |
624 |
3 |
| oce_pci_alloc |
|
11 |
53 |
396 |
2 |
| oce_read_cfg |
|
1 |
6 |
45 |
2 |
| oce_read_csr |
|
1 |
6 |
45 |
2 |
| oce_read_db |
|
1 |
6 |
45 |
2 |
| oce_write_cfg |
|
1 |
6 |
47 |
3 |
| oce_write_csr |
|
1 |
6 |
47 |
3 |
| oce_write_db |
|
1 |
6 |
47 |
3 |
| oce_intr_enable |
|
1 |
6 |
32 |
1 |
| oce_intr_disable |
|
1 |
6 |
32 |
1 |
| oce_attachhook |
|
1 |
9 |
65 |
1 |
| oce_attach_ifp |
|
4 |
24 |
178 |
1 |
| oce_ioctl |
|
12 |
42 |
231 |
3 |
| oce_rxrinfo |
|
4 |
23 |
184 |
2 |
| oce_iff |
|
5 |
23 |
155 |
1 |
| oce_link_status |
|
7 |
27 |
129 |
1 |
| oce_media_status |
|
9 |
31 |
164 |
2 |
| oce_media_change |
|
1 |
4 |
14 |
1 |
| oce_tick |
|
2 |
9 |
48 |
1 |
| oce_init |
|
9 |
56 |
354 |
1 |
| oce_stop |
|
1 |
27 |
176 |
1 |
| oce_watchdog |
|
1 |
6 |
30 |
1 |
| oce_start |
|
9 |
22 |
128 |
1 |
| oce_encap |
|
24 |
89 |
779 |
3 |
| oce_tso |
|
11 |
50 |
343 |
2 |
| oce_intr |
|
3 |
26 |
192 |
1 |
| oce_intr_wq |
|
5 |
26 |
186 |
1 |
| oce_txeof |
|
2 |
19 |
130 |
1 |
| oce_intr_rq |
|
13 |
37 |
258 |
1 |
| oce_rxeof |
|
24 |
78 |
569 |
2 |
| oce_rxeoc |
|
6 |
23 |
170 |
2 |
| oce_vtp_valid |
|
3 |
9 |
68 |
2 |
| oce_port_valid |
|
4 |
10 |
70 |
2 |
| oce_flush_lro |
|
3 |
14 |
96 |
1 |
| oce_init_lro |
|
3 |
16 |
99 |
1 |
| oce_free_lro |
|
3 |
10 |
59 |
1 |
| oce_get_buf |
|
5 |
33 |
280 |
1 |
| oce_alloc_rx_bufs |
|
6 |
22 |
155 |
1 |
| oce_refill_rx |
|
2 |
12 |
64 |
1 |
| oce_intr_mq |
|
7 |
35 |
227 |
1 |
| oce_link_event |
|
1 |
7 |
51 |
2 |
| oce_init_queues |
|
9 |
33 |
235 |
1 |
| oce_release_queues |
|
5 |
21 |
112 |
1 |
| oce_create_wq |
|
9 |
48 |
328 |
2 |
| oce_drain_wq |
|
1 |
13 |
84 |
1 |
| oce_destroy_wq |
|
5 |
19 |
148 |
1 |
| oce_create_rq |
|
7 |
46 |
318 |
3 |
| oce_drain_rq |
|
1 |
13 |
84 |
1 |
| oce_destroy_rq |
|
5 |
19 |
148 |
1 |
| oce_create_eq |
|
4 |
23 |
150 |
1 |
| oce_arm_eq |
|
1 |
5 |
54 |
4 |
| oce_drain_eq |
|
1 |
12 |
79 |
1 |
| oce_destroy_eq |
|
3 |
14 |
105 |
1 |
| oce_create_mq |
|
5 |
36 |
259 |
2 |
| oce_drain_mq |
|
1 |
13 |
84 |
1 |
| oce_destroy_mq |
|
4 |
16 |
120 |
1 |
| oce_create_cq |
|
4 |
26 |
188 |
7 |
| oce_destroy_cq |
|
3 |
14 |
105 |
1 |
| oce_arm_cq |
|
1 |
4 |
42 |
3 |
| oce_free_posted_rxbuf |
|
3 |
16 |
116 |
1 |
| oce_dma_alloc |
|
5 |
45 |
336 |
3 |
| oce_dma_free |
|
4 |
16 |
109 |
2 |
| oce_create_ring |
|
6 |
48 |
341 |
4 |
| oce_destroy_ring |
|
1 |
5 |
33 |
2 |
| oce_load_ring |
|
4 |
20 |
177 |
4 |
| oce_ring_get |
|
2 |
7 |
54 |
1 |
| oce_ring_first |
|
1 |
4 |
32 |
1 |
| oce_ring_next |
|
2 |
6 |
49 |
1 |
| oce_pkt_alloc |
|
3 |
12 |
90 |
4 |
| oce_pkt_free |
|
2 |
8 |
51 |
2 |
| oce_pkt_get |
|
2 |
9 |
44 |
1 |
| oce_pkt_put |
|
1 |
4 |
23 |
2 |
| oce_init_fw |
|
7 |
32 |
200 |
1 |
| oce_mbox_wait |
|
3 |
10 |
53 |
1 |
| oce_mbox_dispatch |
|
4 |
21 |
172 |
1 |
| oce_mbox_init |
|
2 |
16 |
107 |
1 |
| oce_cmd |
|
9 |
51 |
379 |
6 |
| oce_first_mcc |
|
1 |
21 |
164 |
1 |
| oce_get_fw_config |
|
2 |
13 |
88 |
1 |
| oce_check_native_mode |
|
3 |
16 |
107 |
1 |
| oce_create_iface |
|
6 |
33 |
241 |
2 |
| oce_config_vlan |
|
2 |
15 |
132 |
5 |
| oce_set_flow_control |
|
7 |
20 |
158 |
2 |
| oce_config_rss |
|
5 |
23 |
213 |
2 |
| oce_update_mcast |
|
1 |
11 |
109 |
3 |
| oce_set_promisc |
|
2 |
13 |
89 |
2 |
| oce_get_link_status |
|
3 |
17 |
114 |
1 |
| oce_macaddr_set |
|
3 |
12 |
85 |
1 |
| oce_macaddr_get |
|
2 |
14 |
106 |
2 |
| oce_macaddr_add |
|
2 |
13 |
113 |
3 |
| oce_macaddr_del |
|
1 |
9 |
79 |
2 |
| oce_new_rq |
|
5 |
30 |
276 |
2 |
| oce_new_wq |
|
5 |
26 |
229 |
2 |
| oce_new_mq |
|
3 |
25 |
207 |
2 |
| oce_new_eq |
|
4 |
24 |
237 |
2 |
| oce_new_cq |
|
7 |
47 |
402 |
2 |
| oce_init_stats |
|
2 |
15 |
77 |
1 |
| oce_update_stats |
|
6 |
21 |
166 |
1 |
| oce_stats_be2 |
|
3 |
31 |
226 |
3 |
| oce_stats_be3 |
|
2 |
27 |
209 |
3 |
| oce_stats_xe |
|
2 |
25 |
213 |
3 |
| Source file: ./sys/dev/pci/envyvar.h |
| Source file: ./sys/dev/pci/if_wpi.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wpi_match |
|
1 |
5 |
35 |
3 |
| wpi_attach |
|
17 |
119 |
812 |
3 |
| wpi_radiotap_attach |
|
1 |
11 |
108 |
1 |
| wpi_detach |
|
3 |
19 |
150 |
2 |
| wpi_activate |
|
4 |
15 |
75 |
2 |
| wpi_wakeup |
|
1 |
8 |
51 |
1 |
| wpi_init_task |
|
2 |
12 |
78 |
1 |
| wpi_nic_lock |
|
3 |
13 |
66 |
1 |
| wpi_nic_unlock |
|
1 |
4 |
18 |
1 |
| wpi_prph_read |
|
1 |
6 |
36 |
2 |
| wpi_prph_write |
|
1 |
6 |
40 |
3 |
| wpi_prph_setbits |
|
1 |
4 |
31 |
3 |
| wpi_prph_clrbits |
|
1 |
4 |
31 |
3 |
| wpi_prph_write_region_4 |
|
2 |
6 |
47 |
4 |
| wpi_mem_read |
|
1 |
6 |
34 |
2 |
| wpi_mem_write |
|
1 |
6 |
38 |
3 |
| wpi_mem_read_region_4 |
|
2 |
6 |
44 |
4 |
| wpi_read_prom_data |
|
7 |
28 |
177 |
4 |
| wpi_dma_contig_alloc |
|
6 |
30 |
227 |
5 |
| wpi_dma_contig_free |
|
3 |
15 |
113 |
1 |
| wpi_alloc_shared |
|
1 |
5 |
39 |
1 |
| wpi_free_shared |
|
1 |
4 |
17 |
1 |
| wpi_alloc_fwmem |
|
1 |
5 |
30 |
1 |
| wpi_free_fwmem |
|
1 |
4 |
17 |
1 |
| wpi_alloc_rx_ring |
|
6 |
45 |
315 |
2 |
| wpi_reset_rx_ring |
|
4 |
15 |
81 |
2 |
| wpi_free_rx_ring |
|
4 |
16 |
121 |
2 |
| wpi_alloc_tx_ring |
|
6 |
47 |
329 |
3 |
| wpi_reset_tx_ring |
|
3 |
18 |
140 |
2 |
| wpi_free_tx_ring |
|
4 |
17 |
129 |
2 |
| wpi_read_eeprom |
|
4 |
25 |
218 |
1 |
| wpi_read_eeprom_channels |
|
6 |
35 |
258 |
2 |
| wpi_read_eeprom_group |
|
2 |
19 |
178 |
2 |
| wpi_node_alloc |
|
1 |
4 |
25 |
1 |
| wpi_newassoc |
|
4 |
16 |
133 |
3 |
| wpi_media_change |
|
6 |
24 |
154 |
1 |
| wpi_newstate |
|
10 |
40 |
223 |
3 |
| wpi_iter_func |
|
1 |
6 |
47 |
2 |
| wpi_calib_timeout |
|
4 |
19 |
109 |
1 |
| wpi_ccmp_decap |
|
4 |
34 |
250 |
3 |
| wpi_rx_done |
|
29 |
140 |
1116 |
3 |
| wpi_tx_done |
|
6 |
29 |
264 |
2 |
| wpi_cmd_done |
|
3 |
16 |
126 |
2 |
| wpi_notif_intr |
|
17 |
91 |
666 |
1 |
| wpi_fatal_intr |
|
9 |
51 |
360 |
1 |
| wpi_intr |
|
12 |
33 |
228 |
1 |
| wpi_tx |
|
37 |
190 |
1498 |
3 |
| wpi_start |
|
14 |
39 |
244 |
1 |
| wpi_watchdog |
|
3 |
15 |
81 |
1 |
| wpi_ioctl |
|
13 |
49 |
287 |
3 |
| wpi_cmd |
|
9 |
61 |
484 |
5 |
| wpi_mrr_setup |
|
8 |
37 |
287 |
1 |
| wpi_updateedca |
|
2 |
18 |
162 |
1 |
| wpi_set_led |
|
1 |
9 |
67 |
4 |
| wpi_set_timing |
|
1 |
15 |
152 |
2 |
| wpi_power_calibration |
|
4 |
14 |
92 |
1 |
| wpi_set_txpower |
|
7 |
35 |
305 |
2 |
| wpi_get_power_index |
|
12 |
35 |
251 |
4 |
| wpi_set_pslevel |
|
9 |
39 |
308 |
4 |
| wpi_config |
|
10 |
73 |
519 |
1 |
| wpi_scan |
|
10 |
87 |
705 |
2 |
| wpi_auth |
|
10 |
55 |
417 |
1 |
| wpi_run |
|
10 |
54 |
453 |
1 |
| wpi_set_key |
|
3 |
20 |
169 |
3 |
| wpi_delete_key |
|
4 |
21 |
148 |
3 |
| wpi_post_alive |
|
6 |
25 |
148 |
1 |
| wpi_load_bootcode |
|
5 |
28 |
177 |
3 |
| wpi_load_firmware |
|
5 |
50 |
428 |
1 |
| wpi_read_firmware |
|
10 |
47 |
450 |
1 |
| wpi_clock_wait |
|
3 |
13 |
69 |
1 |
| wpi_apm_init |
|
3 |
16 |
95 |
1 |
| wpi_apm_stop_master |
|
4 |
14 |
82 |
1 |
| wpi_apm_stop |
|
1 |
5 |
23 |
1 |
| wpi_nic_config |
|
6 |
19 |
143 |
1 |
| wpi_hw_init |
|
11 |
76 |
556 |
1 |
| wpi_hw_stop |
|
7 |
34 |
239 |
1 |
| wpi_init |
|
7 |
37 |
222 |
1 |
| wpi_stop |
|
1 |
11 |
76 |
2 |
| Source file: ./sys/dev/pci/esovar.h |
| Source file: ./sys/dev/pci/pci_quirks.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pci_lookup_quirkdata |
|
4 |
9 |
69 |
2 |
| Source file: ./sys/dev/pci/mfii.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mfii_dcmd_scrub |
|
1 |
4 |
26 |
1 |
| mfii_dcmd_frame |
|
1 |
5 |
38 |
1 |
| mfii_dcmd_sync |
|
1 |
5 |
45 |
3 |
| mfii_find_iop |
|
4 |
12 |
80 |
1 |
| mfii_match |
|
2 |
4 |
33 |
3 |
| mfii_attach |
|
17 |
109 |
866 |
3 |
| mfii_dev_handle |
|
1 |
9 |
55 |
2 |
| mfii_dev_handles_update |
|
3 |
27 |
201 |
1 |
| mfii_dev_handles_dtor |
|
1 |
5 |
33 |
2 |
| mfii_syspd |
|
3 |
26 |
200 |
1 |
| mfii_detach |
|
2 |
14 |
109 |
2 |
| mfii_read |
|
1 |
6 |
45 |
2 |
| mfii_write |
|
1 |
6 |
47 |
3 |
| mfii_dmamem_alloc |
|
6 |
31 |
246 |
2 |
| mfii_dmamem_free |
|
1 |
8 |
76 |
2 |
| mfii_dcmd_start |
|
1 |
14 |
141 |
2 |
| mfii_aen_register |
|
4 |
28 |
200 |
1 |
| mfii_aen_start |
|
1 |
30 |
278 |
4 |
| mfii_aen_done |
|
1 |
5 |
33 |
2 |
| mfii_aen |
|
8 |
34 |
226 |
1 |
| mfii_aen_pd_insert |
|
3 |
14 |
121 |
2 |
| mfii_aen_pd_remove |
|
2 |
14 |
133 |
2 |
| mfii_aen_pd_state_change |
|
5 |
15 |
113 |
2 |
| mfii_aen_unregister |
|
1 |
3 |
9 |
1 |
| mfii_transition_firmware |
|
13 |
49 |
218 |
1 |
| mfii_get_info |
|
7 |
132 |
914 |
1 |
| mfii_mfa_poll |
|
9 |
40 |
273 |
2 |
| mfii_poll |
|
2 |
18 |
108 |
2 |
| mfii_poll_done |
|
1 |
5 |
27 |
2 |
| mfii_exec |
|
5 |
13 |
94 |
2 |
| mfii_exec_done |
|
1 |
8 |
44 |
2 |
| mfii_mgmt |
|
9 |
54 |
354 |
7 |
| mfii_load_mfa |
|
6 |
25 |
193 |
4 |
| mfii_start |
|
2 |
16 |
153 |
2 |
| mfii_done |
|
4 |
19 |
133 |
2 |
| mfii_initialise_firmware |
|
2 |
51 |
394 |
1 |
| mfii_my_intr |
|
3 |
10 |
60 |
1 |
| mfii_intr |
|
2 |
8 |
38 |
1 |
| mfii_postq |
|
6 |
37 |
258 |
1 |
| mfii_scsi_cmd |
|
13 |
43 |
230 |
1 |
| mfii_scsi_cmd_done |
|
7 |
27 |
170 |
2 |
| mfii_scsi_cmd_io |
|
7 |
50 |
381 |
2 |
| mfii_scsi_cmd_cdb |
|
5 |
39 |
326 |
2 |
| mfii_pd_scsi_cmd |
|
4 |
29 |
180 |
1 |
| mfii_pd_scsi_probe |
|
4 |
21 |
154 |
1 |
| mfii_pd_scsi_cmd_cdb |
|
6 |
46 |
373 |
2 |
| mfii_load_ccb |
|
9 |
51 |
407 |
4 |
| mfii_scsi_cmd_tmo |
|
1 |
11 |
80 |
1 |
| mfii_abort_task |
|
4 |
31 |
201 |
1 |
| mfii_abort |
|
1 |
15 |
104 |
6 |
| mfii_scsi_cmd_abort_done |
|
2 |
8 |
59 |
2 |
| mfii_get_ccb |
|
2 |
11 |
67 |
1 |
| mfii_scrub_ccb |
|
1 |
13 |
85 |
1 |
| mfii_put_ccb |
|
1 |
8 |
54 |
2 |
| mfii_init_ccb |
|
4 |
44 |
339 |
1 |
| Source file: ./sys/dev/pci/maestro.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| maestro_get_flags |
|
6 |
13 |
105 |
1 |
| maestro_match |
|
2 |
8 |
50 |
3 |
| maestro_attach |
|
17 |
120 |
918 |
3 |
| maestro_init |
|
3 |
46 |
386 |
1 |
| maestro_round_blocksize |
|
1 |
4 |
22 |
2 |
| maestro_malloc |
|
1 |
5 |
44 |
5 |
| maestro_free |
|
1 |
5 |
36 |
3 |
| maestro_get_props |
|
1 |
4 |
15 |
1 |
| maestro_set_port |
|
2 |
12 |
71 |
2 |
| maestro_get_port |
|
2 |
12 |
71 |
2 |
| maestro_query_devinfo |
|
2 |
12 |
71 |
2 |
| maestro_set_speed |
|
4 |
17 |
157 |
2 |
| maestro_calc_timer_freq |
|
2 |
7 |
39 |
1 |
| maestro_update_timer |
|
5 |
17 |
93 |
1 |
| maestro_set_params |
|
11 |
30 |
222 |
5 |
| maestro_open |
|
4 |
12 |
85 |
2 |
| maestro_close |
|
1 |
4 |
21 |
1 |
| maestro_channel_stop |
|
4 |
15 |
113 |
1 |
| maestro_halt_input |
|
1 |
10 |
56 |
1 |
| maestro_halt_output |
|
1 |
10 |
56 |
1 |
| maestro_trigger_input |
|
1 |
13 |
106 |
7 |
| maestro_channel_start |
|
8 |
76 |
682 |
1 |
| maestro_trigger_output |
|
2 |
30 |
284 |
7 |
| maestro_codec_flags |
|
1 |
4 |
11 |
1 |
| maestro_read_codec |
|
7 |
28 |
191 |
3 |
| maestro_write_codec |
|
4 |
20 |
129 |
3 |
| maestro_attach_codec |
|
1 |
6 |
34 |
2 |
| maestro_reset_codec |
|
1 |
3 |
9 |
1 |
| maestro_initcodec |
|
5 |
52 |
385 |
1 |
| maestro_activate |
|
8 |
35 |
254 |
2 |
| maestro_channel_advance_dma |
|
10 |
19 |
121 |
1 |
| maestro_channel_suppress_jitter |
|
3 |
9 |
78 |
1 |
| maestro_intr |
|
11 |
53 |
431 |
1 |
| ringbus_setdest |
|
1 |
8 |
68 |
3 |
| wp_reg_read |
|
1 |
5 |
41 |
2 |
| wp_reg_write |
|
1 |
5 |
45 |
3 |
| apu_setindex |
|
4 |
13 |
90 |
2 |
| wp_apu_read |
|
1 |
7 |
47 |
3 |
| wp_apu_write |
|
4 |
13 |
113 |
4 |
| wp_settimer |
|
8 |
18 |
161 |
2 |
| wp_starttimer |
|
1 |
4 |
18 |
1 |
| wp_stoptimer |
|
1 |
5 |
33 |
1 |
| wc_reg_read |
|
1 |
5 |
41 |
2 |
| wc_reg_write |
|
1 |
5 |
45 |
3 |
| wc_ctrl_read |
|
1 |
4 |
23 |
2 |
| wc_ctrl_write |
|
1 |
4 |
27 |
3 |
| salloc_new |
|
3 |
21 |
165 |
3 |
| salloc_destroy |
|
1 |
4 |
16 |
1 |
| salloc_insert |
|
9 |
24 |
177 |
4 |
| salloc_alloc |
|
5 |
24 |
153 |
2 |
| salloc_free |
|
4 |
11 |
75 |
2 |
| Source file: ./sys/dev/pci/if_mtd_pci.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mtd_pci_match |
|
1 |
5 |
45 |
3 |
| mtd_pci_attach |
|
9 |
49 |
358 |
3 |
| Source file: ./sys/dev/pci/auvia.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| auvia_match |
|
1 |
5 |
37 |
3 |
| auvia_activate |
|
2 |
7 |
45 |
2 |
| auvia_attach |
|
8 |
89 |
672 |
3 |
| auvia_attach_codec |
|
1 |
6 |
29 |
2 |
| auvia_reset_codec |
|
4 |
18 |
137 |
1 |
| auvia_waitready_codec |
|
4 |
12 |
74 |
1 |
| auvia_waitvalid_codec |
|
4 |
12 |
75 |
1 |
| auvia_write_codec |
|
2 |
9 |
56 |
3 |
| auvia_read_codec |
|
4 |
14 |
93 |
3 |
| auvia_spdif_event |
|
1 |
5 |
24 |
2 |
| auvia_open |
|
1 |
6 |
34 |
2 |
| auvia_close |
|
1 |
9 |
54 |
1 |
| auvia_set_params_sub |
|
8 |
34 |
238 |
3 |
| auvia_set_params |
|
35 |
90 |
546 |
5 |
| auvia_round_blocksize |
|
2 |
7 |
50 |
2 |
| auvia_halt_output |
|
1 |
8 |
47 |
1 |
| auvia_halt_input |
|
1 |
8 |
47 |
1 |
| auvia_set_port |
|
1 |
5 |
37 |
2 |
| auvia_get_port |
|
1 |
5 |
37 |
2 |
| auvia_query_devinfo |
|
1 |
5 |
37 |
2 |
| auvia_malloc |
|
6 |
47 |
341 |
5 |
| auvia_free |
|
3 |
16 |
141 |
3 |
| auvia_round_buffersize |
|
1 |
6 |
30 |
3 |
| auvia_get_props |
|
1 |
6 |
22 |
1 |
| auvia_build_dma_ops |
|
9 |
40 |
275 |
6 |
| auvia_trigger_output |
|
7 |
34 |
257 |
7 |
| auvia_trigger_input |
|
7 |
33 |
255 |
7 |
| auvia_intr |
|
6 |
26 |
171 |
1 |
| auvia_resume |
|
1 |
8 |
56 |
1 |
| Source file: ./sys/dev/pci/alipm.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| alipm_match |
|
3 |
8 |
56 |
3 |
| alipm_attach |
|
15 |
78 |
474 |
3 |
| alipm_smb_acquire_bus |
|
2 |
7 |
44 |
2 |
| alipm_smb_release_bus |
|
2 |
7 |
34 |
2 |
| alipm_smb_exec |
|
25 |
126 |
914 |
8 |
| Source file: ./sys/dev/pci/pccbbreg.h |
| Source file: ./sys/dev/pci/pciide_hpt_reg.h |
| Source file: ./sys/dev/pci/if_bce.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bce_probe |
|
1 |
5 |
37 |
3 |
| bce_attach |
|
18 |
182 |
1536 |
3 |
| bce_activate |
|
5 |
18 |
90 |
2 |
| bce_ioctl |
|
11 |
38 |
208 |
3 |
| bce_start |
|
12 |
54 |
390 |
1 |
| bce_watchdog |
|
1 |
8 |
47 |
1 |
| bce_intr |
|
15 |
56 |
292 |
1 |
| bce_rxintr |
|
6 |
42 |
292 |
1 |
| bce_txintr |
|
4 |
19 |
139 |
1 |
| bce_init |
|
2 |
61 |
563 |
1 |
| bce_add_mac |
|
4 |
22 |
178 |
3 |
| bce_add_rxbuf |
|
2 |
17 |
145 |
2 |
| bce_stop |
|
3 |
25 |
182 |
1 |
| bce_reset |
|
23 |
131 |
943 |
1 |
| bce_iff |
|
4 |
21 |
170 |
1 |
| bce_mii_read |
|
4 |
25 |
188 |
3 |
| bce_mii_write |
|
4 |
24 |
185 |
4 |
| bce_statchg |
|
5 |
16 |
173 |
1 |
| bce_mediachange |
|
2 |
7 |
39 |
1 |
| bce_mediastatus |
|
1 |
7 |
51 |
2 |
| bce_tick |
|
1 |
9 |
47 |
1 |
| Source file: ./sys/dev/pci/if_acx_pci.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| acx_pci_match |
|
1 |
5 |
45 |
3 |
| acx_pci_attach |
|
9 |
56 |
376 |
3 |
| acx_pci_detach |
|
1 |
8 |
53 |
2 |
| Source file: ./sys/dev/pci/auixp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| auixp_open |
|
1 |
4 |
14 |
2 |
| auixp_close |
|
1 |
3 |
8 |
1 |
| auixp_commit_settings |
|
8 |
56 |
331 |
1 |
| auixp_set_params |
|
9 |
52 |
281 |
5 |
| auixp_round_blocksize |
|
2 |
7 |
34 |
2 |
| auixp_malloc |
|
3 |
25 |
165 |
5 |
| auixp_free |
|
2 |
17 |
101 |
3 |
| auixp_set_port |
|
1 |
6 |
42 |
2 |
| auixp_get_port |
|
1 |
6 |
42 |
2 |
| auixp_query_devinfo |
|
1 |
6 |
42 |
2 |
| auixp_round_buffersize |
|
1 |
4 |
17 |
3 |
| auixp_get_props |
|
1 |
4 |
15 |
1 |
| auixp_link_daisychain |
|
3 |
28 |
187 |
5 |
| auixp_allocate_dma_chain |
|
3 |
21 |
119 |
2 |
| auixp_program_dma_chain |
|
1 |
14 |
88 |
2 |
| auixp_dma_update |
|
3 |
8 |
48 |
2 |
| auixp_update_busbusy |
|
3 |
15 |
87 |
1 |
| auixp_trigger_output |
|
3 |
31 |
210 |
7 |
| auixp_halt_output |
|
1 |
15 |
77 |
1 |
| auixp_trigger_input |
|
3 |
31 |
210 |
7 |
| auixp_halt_input |
|
1 |
15 |
77 |
1 |
| auixp_intr |
|
7 |
44 |
257 |
1 |
| auixp_allocmem |
|
5 |
31 |
238 |
4 |
| auixp_freemem |
|
1 |
8 |
69 |
2 |
| auixp_match |
|
1 |
5 |
45 |
3 |
| auixp_activate |
|
3 |
19 |
98 |
2 |
| auixp_attach |
|
9 |
50 |
332 |
3 |
| auixp_post_config |
|
5 |
26 |
185 |
1 |
| auixp_enable_interrupts |
|
2 |
16 |
83 |
1 |
| auixp_disable_interrupts |
|
1 |
9 |
49 |
1 |
| auixp_detach |
|
3 |
12 |
84 |
2 |
| auixp_attach_codec |
|
1 |
7 |
31 |
2 |
| auixp_read_codec |
|
6 |
38 |
199 |
3 |
| auixp_write_codec |
|
2 |
21 |
125 |
3 |
| auixp_reset_codec |
|
1 |
3 |
8 |
1 |
| auixp_flags_codec |
|
1 |
6 |
22 |
1 |
| auixp_wait_for_codecs |
|
3 |
19 |
101 |
2 |
| auixp_autodetect_codecs |
|
15 |
67 |
384 |
1 |
| auixp_disable_dma |
|
2 |
13 |
73 |
2 |
| auixp_enable_dma |
|
2 |
13 |
76 |
2 |
| auixp_reset_aclink |
|
6 |
51 |
351 |
1 |
| auixp_init |
|
1 |
16 |
75 |
1 |
| Source file: ./sys/dev/pci/if_bwi_pci.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bwi_pci_match |
|
5 |
11 |
97 |
3 |
| bwi_pci_attach |
|
5 |
41 |
313 |
3 |
| bwi_pci_detach |
|
1 |
8 |
55 |
2 |
| bwi_pci_activate |
|
4 |
16 |
87 |
2 |
| bwi_pci_wakeup |
|
2 |
6 |
34 |
1 |
| bwi_pci_conf_write |
|
1 |
5 |
41 |
3 |
| bwi_pci_conf_read |
|
1 |
5 |
39 |
2 |
| Source file: ./sys/dev/pci/cmpcivar.h |
| Source file: ./sys/dev/pci/tgavar.h |
| Source file: ./sys/dev/pci/cy_pci.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cy_pci_match |
|
1 |
7 |
42 |
3 |
| cy_pci_attach |
|
16 |
71 |
423 |
3 |
| Source file: ./sys/dev/pci/agp_i810.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| agp_i810_get_chiptype |
|
49 |
72 |
232 |
1 |
| intagp_gmch_match |
|
7 |
9 |
66 |
1 |
| agp_i810_probe |
|
3 |
8 |
59 |
3 |
| agp_i810_attach |
|
66 |
249 |
1470 |
3 |
| agp_i810_activate |
|
2 |
10 |
45 |
2 |
| agp_i810_configure |
|
3 |
16 |
93 |
1 |
| agp_i810_bind_page |
|
2 |
7 |
47 |
4 |
| agp_i810_unbind_page |
|
1 |
6 |
40 |
2 |
| agp_i810_flush_tlb |
|
1 |
3 |
8 |
1 |
| agp_i810_enable |
|
1 |
4 |
16 |
2 |
| intagp_write_gtt |
|
9 |
24 |
132 |
3 |
| Source file: ./sys/dev/pci/ixgb_ee.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ixgb_raise_clock |
|
1 |
7 |
38 |
2 |
| ixgb_lower_clock |
|
1 |
7 |
38 |
2 |
| ixgb_shift_out_bits |
|
3 |
21 |
123 |
3 |
| ixgb_shift_in_bits |
|
3 |
19 |
105 |
1 |
| ixgb_setup_eeprom |
|
1 |
10 |
53 |
1 |
| ixgb_standby_eeprom |
|
1 |
18 |
99 |
1 |
| ixgb_clock_eeprom |
|
1 |
12 |
59 |
1 |
| ixgb_cleanup_eeprom |
|
1 |
9 |
45 |
1 |
| ixgb_wait_eeprom_command |
|
3 |
14 |
70 |
1 |
| ixgb_validate_eeprom_checksum |
|
3 |
11 |
63 |
1 |
| ixgb_update_eeprom_checksum |
|
2 |
10 |
59 |
1 |
| ixgb_write_eeprom |
|
1 |
18 |
128 |
3 |
| ixgb_read_eeprom |
|
1 |
10 |
55 |
2 |
| ixgb_get_eeprom_data |
|
4 |
26 |
151 |
1 |
| ixgb_check_and_get_eeprom_data |
|
2 |
10 |
57 |
1 |
| ixgb_get_eeprom_word |
|
3 |
8 |
46 |
2 |
| ixgb_get_ee_mac_addr |
|
3 |
12 |
85 |
2 |
| ixgb_get_ee_pba_number |
|
2 |
7 |
51 |
1 |
| ixgb_get_ee_device_id |
|
2 |
7 |
47 |
1 |
| Source file: ./sys/dev/pci/if_tl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tl_dio_read8 |
|
1 |
5 |
37 |
2 |
| tl_dio_read16 |
|
1 |
5 |
37 |
2 |
| tl_dio_read32 |
|
1 |
5 |
37 |
2 |
| tl_dio_write8 |
|
1 |
5 |
39 |
3 |
| tl_dio_write16 |
|
1 |
5 |
39 |
3 |
| tl_dio_write32 |
|
1 |
5 |
39 |
3 |
| tl_dio_setbit |
|
1 |
8 |
61 |
3 |
| tl_dio_clrbit |
|
1 |
8 |
61 |
3 |
| tl_dio_setbit16 |
|
1 |
8 |
61 |
3 |
| tl_dio_clrbit16 |
|
1 |
8 |
61 |
3 |
| tl_eeprom_putbyte |
|
3 |
20 |
139 |
2 |
| tl_eeprom_getbyte |
|
6 |
36 |
220 |
3 |
| tl_read_eeprom |
|
4 |
12 |
83 |
4 |
| tl_mii_sync |
|
2 |
9 |
54 |
1 |
| tl_mii_send |
|
3 |
12 |
85 |
3 |
| tl_mii_readreg |
|
9 |
49 |
345 |
2 |
| tl_mii_writereg |
|
3 |
27 |
198 |
2 |
| tl_miibus_readreg |
|
1 |
10 |
69 |
3 |
| tl_miibus_writereg |
|
1 |
10 |
71 |
4 |
| tl_miibus_statchg |
|
2 |
8 |
54 |
1 |
| tl_setmode |
|
4 |
15 |
101 |
2 |
| tl_calchash |
|
1 |
7 |
83 |
1 |
| tl_setfilt |
|
2 |
8 |
60 |
3 |
| tl_iff |
|
6 |
31 |
227 |
1 |
| tl_hardreset |
|
3 |
13 |
94 |
1 |
| tl_softreset |
|
6 |
26 |
211 |
2 |
| tl_list_tx_init |
|
3 |
19 |
141 |
1 |
| tl_list_rx_init |
|
4 |
25 |
203 |
1 |
| tl_newbuf |
|
4 |
22 |
148 |
2 |
| tl_intvec_rxeof |
|
5 |
42 |
280 |
2 |
| tl_intvec_rxeoc |
|
1 |
16 |
122 |
2 |
| tl_intvec_txeof |
|
4 |
21 |
125 |
2 |
| tl_intvec_txeoc |
|
2 |
25 |
151 |
2 |
| tl_intvec_adchk |
|
2 |
13 |
75 |
2 |
| tl_intvec_netsts |
|
1 |
10 |
59 |
2 |
| tl_intr |
|
12 |
57 |
333 |
1 |
| tl_stats_update |
|
4 |
38 |
263 |
1 |
| tl_encap |
|
9 |
55 |
395 |
3 |
| tl_start |
|
10 |
48 |
305 |
1 |
| tl_init |
|
3 |
35 |
255 |
1 |
| tl_ifmedia_upd |
|
2 |
9 |
49 |
1 |
| tl_ifmedia_sts |
|
4 |
23 |
129 |
2 |
| tl_ioctl |
|
12 |
42 |
233 |
3 |
| tl_watchdog |
|
1 |
9 |
48 |
1 |
| tl_stop |
|
5 |
32 |
274 |
1 |
| tl_probe |
|
18 |
35 |
161 |
3 |
| tl_attach |
|
23 |
150 |
1269 |
3 |
| tl_wait_up |
|
1 |
7 |
41 |
1 |
| Source file: ./sys/dev/pci/pciide_nforce_reg.h |
| Source file: ./sys/dev/pci/if_stgereg.h |
| Source file: ./sys/dev/pci/if_casreg.h |
| Source file: ./sys/dev/pci/pcidevs_data.h |
| Source file: ./sys/dev/pci/azalia.h |
| Source file: ./sys/dev/pci/mpiireg.h |
| Source file: ./sys/dev/pci/pciide_ite_reg.h |
| Source file: ./sys/dev/pci/if_age.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| age_match |
|
1 |
5 |
43 |
3 |
| age_attach |
|
14 |
97 |
721 |
3 |
| age_detach |
|
2 |
19 |
126 |
2 |
| age_miibus_readreg |
|
5 |
22 |
151 |
3 |
| age_miibus_writereg |
|
5 |
21 |
143 |
4 |
| age_miibus_statchg |
|
7 |
31 |
183 |
1 |
| age_mediastatus |
|
1 |
8 |
54 |
2 |
| age_mediachange |
|
2 |
13 |
74 |
1 |
| age_intr |
|
11 |
50 |
348 |
1 |
| age_get_macaddr |
|
7 |
36 |
308 |
1 |
| age_phy_reset |
|
6 |
47 |
340 |
1 |
| age_dma_alloc |
|
26 |
183 |
1316 |
1 |
| age_dma_free |
|
21 |
64 |
543 |
1 |
| age_start |
|
12 |
34 |
188 |
1 |
| age_watchdog |
|
3 |
21 |
112 |
1 |
| age_ioctl |
|
11 |
40 |
220 |
3 |
| age_mac_config |
|
7 |
26 |
147 |
1 |
| age_encap |
|
12 |
68 |
498 |
2 |
| age_txintr |
|
6 |
36 |
268 |
2 |
| age_rxeof |
|
18 |
96 |
638 |
2 |
| age_rxintr |
|
6 |
37 |
272 |
2 |
| age_tick |
|
1 |
10 |
54 |
1 |
| age_reset |
|
4 |
18 |
117 |
1 |
| age_init |
|
14 |
178 |
1254 |
1 |
| age_stop |
|
9 |
55 |
404 |
1 |
| age_stats_update |
|
2 |
75 |
582 |
1 |
| age_stop_txmac |
|
6 |
23 |
141 |
1 |
| age_stop_rxmac |
|
6 |
23 |
141 |
1 |
| age_init_tx_ring |
|
2 |
19 |
134 |
1 |
| age_init_rx_ring |
|
3 |
19 |
139 |
1 |
| age_init_rr_ring |
|
1 |
11 |
70 |
1 |
| age_init_cmb_block |
|
1 |
9 |
57 |
1 |
| age_init_smb_block |
|
1 |
9 |
57 |
1 |
| age_newbuf |
|
5 |
41 |
294 |
2 |
| age_rxvlan |
|
2 |
10 |
58 |
1 |
| age_iff |
|
5 |
34 |
233 |
1 |
| Source file: ./sys/dev/pci/ami_pci.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ami_pci_find_device |
|
5 |
13 |
86 |
1 |
| ami_pci_match |
|
7 |
21 |
137 |
3 |
| ami_pci_attach |
|
21 |
95 |
649 |
3 |
| Source file: ./sys/dev/pci/emuxki.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| emuxki_dmamem_delete |
|
1 |
5 |
32 |
2 |
| emuxki_dmamem_alloc |
|
8 |
47 |
403 |
6 |
| emuxki_dmamem_free |
|
1 |
8 |
71 |
2 |
| emuxki_pci_shutdown |
|
3 |
7 |
49 |
1 |
| emuxki_scinit |
|
8 |
43 |
297 |
2 |
| emuxki_ac97_init |
|
1 |
10 |
70 |
1 |
| emuxki_match |
|
1 |
5 |
37 |
3 |
| emuxki_attach |
|
15 |
55 |
420 |
3 |
| emuxki_detach |
|
2 |
13 |
90 |
2 |
| emuxki_activate |
|
2 |
16 |
86 |
2 |
| emuxki_rate_to_pitch |
|
4 |
56 |
638 |
1 |
| emuxki_read |
|
3 |
18 |
151 |
3 |
| emuxki_write |
|
5 |
21 |
178 |
4 |
| emuxki_write_micro |
|
2 |
7 |
38 |
3 |
| emuxki_dsp_addop |
|
2 |
22 |
189 |
7 |
| emuxki_initfx |
|
8 |
72 |
551 |
1 |
| emuxki_init |
|
11 |
109 |
1044 |
2 |
| emuxki_shutdown |
|
4 |
32 |
300 |
1 |
| emuxki_mem_new |
|
3 |
14 |
106 |
5 |
| emuxki_mem_delete |
|
1 |
5 |
30 |
2 |
| emuxki_pmem_alloc |
|
9 |
36 |
268 |
4 |
| emuxki_rmem_alloc |
|
2 |
11 |
85 |
4 |
| emuxki_chanparms_set_defaults |
|
2 |
49 |
439 |
1 |
| emuxki_channel_new |
|
2 |
13 |
80 |
2 |
| emuxki_channel_delete |
|
1 |
5 |
33 |
1 |
| emuxki_channel_set_fxsend |
|
1 |
20 |
238 |
2 |
| emuxki_channel_set_srate |
|
1 |
10 |
92 |
2 |
| emuxki_channel_set_bufparms |
|
1 |
6 |
35 |
3 |
| emuxki_channel_commit_fx |
|
2 |
34 |
363 |
1 |
| emuxki_channel_commit_parms |
|
3 |
54 |
476 |
1 |
| emuxki_channel_start |
|
5 |
39 |
313 |
1 |
| emuxki_channel_stop |
|
1 |
11 |
93 |
1 |
| emuxki_voice_channel_create |
|
9 |
27 |
194 |
1 |
| emuxki_voice_channel_destroy |
|
2 |
8 |
61 |
1 |
| emuxki_recsrc_reserve |
|
5 |
13 |
84 |
2 |
| emuxki_voice_recsrc_release |
|
1 |
4 |
21 |
2 |
| emuxki_voice_dataloc_create |
|
4 |
13 |
68 |
1 |
| emuxki_voice_dataloc_destroy |
|
4 |
13 |
73 |
1 |
| emuxki_voice_new |
|
5 |
36 |
232 |
2 |
| emuxki_voice_delete |
|
3 |
16 |
87 |
1 |
| emuxki_voice_set_stereo |
|
6 |
39 |
318 |
2 |
| emuxki_voice_set_srate |
|
8 |
25 |
138 |
2 |
| emuxki_voice_set_audioparms |
|
13 |
24 |
165 |
4 |
| emuxki_voice_set_bufparms |
|
12 |
62 |
403 |
4 |
| emuxki_voice_commit_parms |
|
3 |
8 |
49 |
1 |
| emuxki_voice_curaddr |
|
8 |
30 |
157 |
1 |
| emuxki_resched_timer |
|
8 |
27 |
193 |
1 |
| emuxki_voice_adc_rate |
|
15 |
47 |
168 |
1 |
| emuxki_voice_start |
|
11 |
45 |
262 |
3 |
| emuxki_voice_halt |
|
8 |
30 |
179 |
1 |
| emuxki_intr |
|
9 |
35 |
238 |
1 |
| emuxki_open |
|
7 |
20 |
123 |
2 |
| emuxki_close |
|
4 |
11 |
68 |
1 |
| emuxki_set_vparms |
|
10 |
33 |
177 |
2 |
| emuxki_set_params |
|
7 |
17 |
126 |
5 |
| emuxki_halt_output |
|
2 |
8 |
40 |
1 |
| emuxki_halt_input |
|
3 |
9 |
51 |
1 |
| emuxki_set_port |
|
1 |
5 |
35 |
2 |
| emuxki_get_port |
|
1 |
5 |
35 |
2 |
| emuxki_query_devinfo |
|
1 |
5 |
35 |
2 |
| emuxki_allocm |
|
2 |
8 |
58 |
5 |
| emuxki_freem |
|
5 |
27 |
184 |
3 |
| emuxki_round_blocksize |
|
2 |
7 |
29 |
2 |
| emuxki_round_buffersize |
|
8 |
25 |
134 |
3 |
| emuxki_get_props |
|
1 |
5 |
17 |
1 |
| emuxki_trigger_output |
|
4 |
18 |
135 |
7 |
| emuxki_trigger_input |
|
4 |
18 |
130 |
7 |
| emuxki_ac97_attach |
|
1 |
6 |
31 |
2 |
| emuxki_ac97_read |
|
1 |
9 |
70 |
3 |
| emuxki_ac97_write |
|
1 |
9 |
68 |
3 |
| emuxki_ac97_reset |
|
1 |
3 |
8 |
1 |
| Source file: ./sys/dev/pci/envyreg.h |
| Source file: ./sys/dev/pci/kate.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| kate_match |
|
8 |
24 |
212 |
3 |
| kate_attach |
|
13 |
43 |
396 |
3 |
| kate_refresh |
|
10 |
41 |
258 |
1 |
| Source file: ./sys/dev/pci/if_athn_pci.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| athn_pci_match |
|
1 |
5 |
32 |
3 |
| athn_pci_attach |
|
10 |
60 |
457 |
3 |
| athn_pci_detach |
|
3 |
12 |
88 |
2 |
| athn_pci_activate |
|
3 |
14 |
65 |
2 |
| athn_pci_wakeup |
|
2 |
12 |
79 |
1 |
| athn_pci_read |
|
1 |
5 |
40 |
2 |
| athn_pci_write |
|
1 |
5 |
42 |
3 |
| athn_pci_write_barrier |
|
1 |
6 |
40 |
1 |
| athn_pci_disable_aspm |
|
1 |
10 |
70 |
1 |
| Source file: ./sys/dev/pci/if_ral_pci.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ral_pci_match |
|
1 |
5 |
37 |
3 |
| ral_pci_attach |
|
10 |
52 |
336 |
3 |
| ral_pci_detach |
|
4 |
15 |
107 |
2 |
| ral_pci_activate |
|
3 |
14 |
70 |
2 |
| ral_pci_wakeup |
|
1 |
8 |
45 |
1 |
| Source file: ./sys/dev/pci/pciide_amd_reg.h |
| Source file: ./sys/dev/pci/envy.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| delta_init |
|
2 |
17 |
133 |
1 |
| delta_codec_write |
|
5 |
35 |
212 |
4 |
| ap192k_init |
|
2 |
18 |
125 |
1 |
| ap192k_codec_write |
|
3 |
23 |
152 |
4 |
| ewx_codec_write |
|
3 |
25 |
165 |
4 |
| revo51_init |
|
2 |
21 |
183 |
1 |
| revo51_codec_write |
|
5 |
43 |
282 |
4 |
| envy_ac97_init |
|
2 |
12 |
85 |
1 |
| dynex_sc51_init |
|
1 |
5 |
20 |
1 |
| julia_init |
|
2 |
10 |
73 |
1 |
| julia_codec_write |
|
1 |
4 |
29 |
4 |
| unkenvy_init |
|
1 |
3 |
9 |
1 |
| unkenvy_codec_write |
|
1 |
3 |
18 |
4 |
| unkenvy_codec_ndev |
|
1 |
4 |
12 |
1 |
| ak4358_dac_ndev |
|
1 |
4 |
16 |
1 |
| ak4358_dac_devinfo |
|
1 |
11 |
82 |
3 |
| ak4358_dac_get |
|
1 |
7 |
61 |
3 |
| ak4358_dac_set |
|
2 |
9 |
69 |
3 |
| ak4524_dac_ndev |
|
1 |
4 |
22 |
1 |
| ak4524_dac_devinfo |
|
2 |
28 |
229 |
3 |
| ak4524_dac_get |
|
3 |
15 |
116 |
3 |
| ak4524_dac_set |
|
5 |
19 |
137 |
3 |
| ak4524_adc_ndev |
|
1 |
4 |
16 |
1 |
| ak4524_adc_devinfo |
|
1 |
9 |
82 |
3 |
| ak4524_adc_get |
|
1 |
7 |
64 |
3 |
| ak4524_adc_set |
|
2 |
9 |
72 |
3 |
| ak5365_adc_ndev |
|
1 |
4 |
20 |
1 |
| ak5365_adc_devinfo |
|
3 |
26 |
196 |
3 |
| ak5365_adc_get |
|
2 |
12 |
95 |
3 |
| ak5365_adc_set |
|
4 |
17 |
122 |
3 |
| envy_ccs_read |
|
1 |
8 |
54 |
2 |
| envy_ccs_write |
|
1 |
6 |
51 |
3 |
| envy_mt_read_1 |
|
1 |
8 |
54 |
2 |
| envy_mt_write_1 |
|
1 |
6 |
51 |
3 |
| envy_mt_read_2 |
|
1 |
8 |
54 |
2 |
| envy_mt_write_2 |
|
1 |
6 |
51 |
3 |
| envy_mt_read_4 |
|
1 |
8 |
54 |
2 |
| envy_mt_write_4 |
|
1 |
6 |
51 |
3 |
| envy_cci_read |
|
1 |
5 |
31 |
2 |
| envy_cci_write |
|
1 |
5 |
33 |
3 |
| envy_gpio_getstate |
|
2 |
9 |
58 |
1 |
| envy_gpio_setstate |
|
2 |
9 |
73 |
2 |
| envy_gpio_getmask |
|
2 |
9 |
58 |
1 |
| envy_gpio_setmask |
|
2 |
9 |
73 |
2 |
| envy_gpio_getdir |
|
2 |
9 |
58 |
1 |
| envy_gpio_setdir |
|
2 |
9 |
73 |
2 |
| envy_gpio_i2c_start_bit |
|
1 |
14 |
77 |
3 |
| envy_gpio_i2c_stop_bit |
|
1 |
11 |
56 |
3 |
| envy_gpio_i2c_byte_out |
|
3 |
23 |
139 |
4 |
| envy_i2c_wait |
|
4 |
15 |
71 |
1 |
| envy_i2c_read |
|
1 |
9 |
59 |
3 |
| envy_i2c_write |
|
2 |
13 |
87 |
4 |
| envy_codec_read |
|
1 |
3 |
26 |
3 |
| envy_codec_write |
|
1 |
6 |
58 |
4 |
| envy_eeprom_gpioxxx |
|
2 |
10 |
61 |
2 |
| envy_ac97_wait |
|
5 |
18 |
83 |
1 |
| envy_ac97_attach_codec |
|
1 |
6 |
31 |
2 |
| envy_ac97_read_codec |
|
3 |
18 |
112 |
3 |
| envy_ac97_write_codec |
|
2 |
14 |
85 |
3 |
| envy_ac97_reset_codec |
|
2 |
12 |
64 |
1 |
| envy_ac97_flags_codec |
|
1 |
5 |
22 |
1 |
| envy_midi_wait |
|
4 |
14 |
74 |
1 |
| envy_reset |
|
10 |
67 |
527 |
1 |
| envy_lineout_getsrc |
|
8 |
32 |
239 |
2 |
| envy_lineout_setsrc |
|
11 |
49 |
355 |
3 |
| envy_spdout_getsrc |
|
6 |
19 |
130 |
2 |
| envy_spdout_setsrc |
|
6 |
28 |
189 |
3 |
| envy_mon_getvol |
|
1 |
7 |
53 |
4 |
| envy_mon_setvol |
|
1 |
8 |
63 |
4 |
| envymatch |
|
1 |
5 |
43 |
3 |
| envyattach |
|
14 |
58 |
475 |
3 |
| envydetach |
|
4 |
15 |
100 |
2 |
| envy_open |
|
1 |
4 |
14 |
2 |
| envy_close |
|
1 |
3 |
8 |
1 |
| envy_allocm |
|
9 |
56 |
404 |
5 |
| envy_freem |
|
3 |
21 |
154 |
3 |
| envy_set_params |
|
11 |
42 |
311 |
5 |
| envy_round_blocksize |
|
1 |
4 |
20 |
2 |
| envy_round_buffersize |
|
1 |
4 |
17 |
3 |
| envy_pintr |
|
4 |
22 |
168 |
1 |
| envy_intr |
|
27 |
110 |
821 |
1 |
| envy_trigger_output |
|
7 |
38 |
288 |
7 |
| envy_trigger_input |
|
7 |
38 |
290 |
7 |
| envy_halt_output |
|
5 |
16 |
99 |
1 |
| envy_halt_input |
|
5 |
16 |
99 |
1 |
| envy_query_devinfo |
|
13 |
70 |
549 |
2 |
| envy_get_port |
|
9 |
39 |
288 |
2 |
| envy_set_port |
|
13 |
42 |
332 |
2 |
| envy_get_props |
|
1 |
4 |
13 |
1 |
| envy_midi_open |
|
5 |
25 |
176 |
5 |
| envy_midi_close |
|
1 |
12 |
77 |
1 |
| envy_midi_output |
|
2 |
10 |
59 |
2 |
| envy_midi_getinfo |
|
1 |
5 |
25 |
2 |
| Source file: ./sys/dev/pci/xspd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| xspd_match |
|
1 |
4 |
32 |
3 |
| xspd_attach |
|
8 |
42 |
288 |
3 |
| xspd_intr |
|
1 |
5 |
17 |
1 |
| xspd_attach |
|
1 |
4 |
23 |
3 |
| Source file: ./sys/dev/pci/if_nfe.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| nfe_match |
|
1 |
5 |
43 |
3 |
| nfe_activate |
|
5 |
21 |
112 |
2 |
| nfe_attach |
|
49 |
152 |
908 |
3 |
| nfe_miibus_statchg |
|
5 |
34 |
192 |
1 |
| nfe_miibus_readreg |
|
8 |
33 |
227 |
3 |
| nfe_miibus_writereg |
|
7 |
21 |
154 |
4 |
| nfe_intr |
|
4 |
20 |
130 |
1 |
| nfe_ioctl |
|
11 |
38 |
210 |
3 |
| nfe_txdesc32_sync |
|
1 |
6 |
52 |
3 |
| nfe_txdesc64_sync |
|
1 |
6 |
52 |
3 |
| nfe_txdesc32_rsync |
|
2 |
16 |
193 |
4 |
| nfe_txdesc64_rsync |
|
2 |
16 |
193 |
4 |
| nfe_rxdesc32_sync |
|
1 |
6 |
52 |
3 |
| nfe_rxdesc64_sync |
|
1 |
6 |
52 |
3 |
| nfe_rxeof |
|
25 |
105 |
749 |
1 |
| nfe_txeof |
|
13 |
56 |
406 |
1 |
| nfe_encap |
|
13 |
69 |
554 |
2 |
| nfe_start |
|
10 |
29 |
210 |
1 |
| nfe_watchdog |
|
1 |
7 |
39 |
1 |
| nfe_init |
|
9 |
60 |
507 |
1 |
| nfe_stop |
|
2 |
16 |
118 |
2 |
| nfe_alloc_rx_ring |
|
12 |
90 |
669 |
2 |
| nfe_reset_rx_ring |
|
3 |
16 |
136 |
2 |
| nfe_free_rx_ring |
|
5 |
31 |
224 |
2 |
| nfe_alloc_tx_ring |
|
8 |
57 |
390 |
2 |
| nfe_reset_tx_ring |
|
4 |
23 |
170 |
2 |
| nfe_free_tx_ring |
|
7 |
36 |
259 |
2 |
| nfe_ifmedia_upd |
|
2 |
11 |
65 |
1 |
| nfe_ifmedia_sts |
|
1 |
8 |
54 |
2 |
| nfe_iff |
|
7 |
45 |
359 |
1 |
| nfe_get_macaddr |
|
2 |
23 |
221 |
2 |
| nfe_set_macaddr |
|
1 |
7 |
70 |
2 |
| nfe_tick |
|
1 |
9 |
47 |
1 |
| nfe_wol |
|
2 |
12 |
63 |
2 |
| Source file: ./sys/dev/pci/km.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| km_match |
|
1 |
5 |
45 |
3 |
| km_attach |
|
2 |
17 |
133 |
3 |
| km_refresh |
|
1 |
10 |
63 |
1 |
| Source file: ./sys/dev/pci/berkwdt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| berkwdt_send_command |
|
4 |
27 |
215 |
3 |
| berkwdt_start |
|
2 |
10 |
66 |
1 |
| berkwdt_stop |
|
2 |
12 |
89 |
1 |
| berkwdt_reload |
|
1 |
4 |
24 |
1 |
| berkwdt_match |
|
1 |
5 |
45 |
3 |
| berkwdt_attach |
|
4 |
25 |
175 |
3 |
| berkwdt_activate |
|
2 |
9 |
33 |
2 |
| berkwdt_set_timeout |
|
4 |
21 |
98 |
2 |
| Source file: ./sys/dev/pci/pccbb.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| delay_ms |
|
2 |
7 |
43 |
2 |
| pcicbbmatch |
|
4 |
13 |
72 |
3 |
| cb_chipset |
|
4 |
13 |
78 |
2 |
| pccbb_shutdown |
|
1 |
13 |
98 |
1 |
| pccbbattach |
|
11 |
69 |
536 |
3 |
| pccbb_pci_callback |
|
7 |
62 |
455 |
1 |
| pccbb_legacy_disable |
|
2 |
14 |
82 |
1 |
| pccbb_chipinit |
|
11 |
113 |
844 |
1 |
| pccbb_pcmcia_attach_setup |
|
2 |
32 |
225 |
2 |
| pccbb_pcmcia_attach_card |
|
2 |
8 |
37 |
1 |
| pccbb_pcmcia_detach_card |
|
2 |
8 |
45 |
2 |
| pccbb_checksockstat |
|
8 |
34 |
196 |
1 |
| pccbbintr |
|
5 |
20 |
117 |
1 |
| Source file: ./sys/dev/pci/bt8370reg.h |
| Source file: ./sys/dev/pci/if_ocereg.h |
| Source file: ./sys/dev/pci/amas.h |
| Source file: ./sys/dev/pci/if_jme.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| jme_miibus_readreg |
|
6 |
21 |
154 |
3 |
| jme_miibus_writereg |
|
6 |
19 |
145 |
4 |
| jme_miibus_statchg |
|
11 |
72 |
477 |
1 |
| jme_mediastatus |
|
1 |
8 |
54 |
2 |
| jme_mediachange |
|
2 |
13 |
74 |
1 |
| jme_match |
|
1 |
5 |
43 |
3 |
| jme_eeprom_read_byte |
|
7 |
31 |
210 |
3 |
| jme_eeprom_macaddr |
|
15 |
37 |
228 |
2 |
| jme_reg_macaddr |
|
1 |
13 |
125 |
2 |
| jme_map_intr_vector |
|
1 |
61 |
493 |
1 |
| jme_attach |
|
23 |
116 |
839 |
3 |
| jme_detach |
|
2 |
19 |
126 |
2 |
| jme_dma_alloc |
|
23 |
148 |
1042 |
1 |
| jme_dma_free |
|
3 |
28 |
207 |
1 |
| jme_setlinkspeed |
|
11 |
50 |
272 |
1 |
| jme_setwol |
|
6 |
32 |
237 |
1 |
| jme_encap |
|
12 |
65 |
490 |
2 |
| jme_start |
|
13 |
36 |
215 |
1 |
| jme_watchdog |
|
3 |
22 |
117 |
1 |
| jme_ioctl |
|
11 |
39 |
218 |
3 |
| jme_mac_config |
|
16 |
77 |
468 |
1 |
| jme_intr |
|
11 |
36 |
237 |
1 |
| jme_txeof |
|
11 |
49 |
357 |
1 |
| jme_discard_rxbufs |
|
2 |
10 |
77 |
3 |
| jme_rxpkt |
|
17 |
85 |
585 |
1 |
| jme_rxeof |
|
6 |
29 |
203 |
1 |
| jme_tick |
|
1 |
10 |
54 |
1 |
| jme_reset |
|
2 |
8 |
42 |
1 |
| jme_init |
|
4 |
113 |
797 |
1 |
| jme_stop |
|
6 |
41 |
278 |
1 |
| jme_stop_tx |
|
5 |
18 |
103 |
1 |
| jme_stop_rx |
|
5 |
17 |
103 |
1 |
| jme_init_tx_ring |
|
2 |
19 |
138 |
1 |
| jme_init_ssb |
|
1 |
8 |
55 |
1 |
| jme_init_rx_ring |
|
5 |
24 |
169 |
1 |
| jme_newbuf |
|
5 |
40 |
296 |
2 |
| jme_set_vlan |
|
2 |
10 |
58 |
1 |
| jme_iff |
|
5 |
36 |
240 |
1 |
| Source file: ./sys/dev/pci/if_bnx.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bnx_probe |
|
1 |
5 |
37 |
3 |
| nswaph |
|
2 |
7 |
34 |
2 |
| bnx_read_firmware |
|
5 |
141 |
1320 |
2 |
| bnx_read_rv2p |
|
5 |
32 |
236 |
2 |
| bnx_attach |
|
18 |
82 |
495 |
3 |
| bnx_attachhook |
|
13 |
117 |
764 |
1 |
| bnx_detach |
|
1 |
15 |
95 |
1 |
| bnx_reg_rd_ind |
|
2 |
15 |
94 |
2 |
| bnx_reg_wr_ind |
|
1 |
9 |
72 |
3 |
| bnx_ctx_wr |
|
6 |
24 |
149 |
4 |
| bnx_miibus_read_reg |
|
9 |
48 |
308 |
3 |
| bnx_miibus_write_reg |
|
9 |
43 |
275 |
4 |
| bnx_miibus_statchg |
|
13 |
65 |
382 |
1 |
| bnx_acquire_nvram_lock |
|
4 |
18 |
97 |
1 |
| bnx_release_nvram_lock |
|
4 |
18 |
100 |
1 |
| bnx_enable_nvram_write |
|
5 |
24 |
144 |
1 |
| bnx_disable_nvram_write |
|
1 |
7 |
41 |
1 |
| bnx_enable_nvram_access |
|
1 |
8 |
43 |
1 |
| bnx_disable_nvram_access |
|
1 |
8 |
45 |
1 |
| bnx_nvram_erase_page |
|
5 |
25 |
149 |
2 |
| bnx_nvram_read_dword |
|
5 |
32 |
209 |
4 |
| bnx_nvram_write_dword |
|
5 |
29 |
201 |
4 |
| bnx_init_nvram |
|
11 |
66 |
414 |
1 |
| bnx_nvram_read |
|
14 |
72 |
409 |
4 |
| bnx_nvram_write |
|
37 |
117 |
775 |
4 |
| bnx_nvram_test |
|
6 |
36 |
208 |
1 |
| bnx_get_media |
|
19 |
74 |
374 |
1 |
| bnx_init_media |
|
2 |
11 |
67 |
1 |
| bnx_dma_free |
|
17 |
84 |
685 |
1 |
| bnx_dma_alloc |
|
31 |
193 |
1365 |
1 |
| bnx_release_resources |
|
3 |
11 |
88 |
1 |
| bnx_fw_sync |
|
6 |
32 |
201 |
2 |
| bnx_load_rv2p_fw |
|
5 |
27 |
156 |
4 |
| bnx_load_cpu_fw |
|
11 |
47 |
451 |
3 |
| bnx_init_cpus |
|
3 |
170 |
1328 |
1 |
| bnx_init_context |
|
9 |
47 |
321 |
1 |
| bnx_get_mac_addr |
|
3 |
19 |
192 |
1 |
| bnx_set_mac_addr |
|
1 |
12 |
108 |
1 |
| bnx_stop |
|
1 |
34 |
226 |
1 |
| bnx_reset |
|
9 |
70 |
389 |
2 |
| bnx_chipinit |
|
13 |
59 |
389 |
1 |
| bnx_blockinit |
|
5 |
80 |
660 |
1 |
| bnx_get_buf |
|
6 |
58 |
494 |
4 |
| bnx_init_tx_context |
|
2 |
25 |
240 |
1 |
| bnx_init_tx_chain |
|
3 |
29 |
204 |
1 |
| bnx_free_tx_chain |
|
5 |
27 |
194 |
1 |
| bnx_init_rx_context |
|
5 |
28 |
203 |
1 |
| bnx_fill_rx_chain |
|
5 |
30 |
192 |
1 |
| bnx_init_rx_chain |
|
4 |
35 |
273 |
1 |
| bnx_free_rx_chain |
|
7 |
31 |
225 |
1 |
| bnx_rxrefill |
|
2 |
9 |
47 |
1 |
| bnx_ifmedia_upd |
|
2 |
16 |
82 |
1 |
| bnx_ifmedia_sts |
|
1 |
14 |
80 |
2 |
| bnx_phy_intr |
|
3 |
24 |
125 |
1 |
| bnx_rx_intr |
|
20 |
164 |
974 |
1 |
| bnx_tx_intr |
|
7 |
59 |
403 |
1 |
| bnx_disable_intr |
|
1 |
5 |
25 |
1 |
| bnx_enable_intr |
|
1 |
10 |
60 |
1 |
| bnx_init |
|
4 |
45 |
277 |
1 |
| bnx_mgmt_init |
|
2 |
19 |
103 |
1 |
| bnx_tx_encap |
|
13 |
78 |
535 |
3 |
| bnx_start |
|
9 |
55 |
326 |
1 |
| bnx_ioctl |
|
16 |
55 |
331 |
3 |
| bnx_watchdog |
|
2 |
12 |
65 |
1 |
| bnx_intr |
|
11 |
61 |
362 |
1 |
| bnx_iff |
|
9 |
52 |
383 |
1 |
| bnx_stats_update |
|
3 |
119 |
749 |
1 |
| bnx_tick |
|
7 |
24 |
155 |
1 |
| bnx_dump_mbuf |
|
6 |
21 |
111 |
2 |
| bnx_dump_tx_mbuf_chain |
|
2 |
18 |
90 |
3 |
| bnx_dump_rx_mbuf_chain |
|
2 |
18 |
90 |
3 |
| bnx_dump_txbd |
|
3 |
15 |
92 |
3 |
| bnx_dump_rxbd |
|
3 |
14 |
88 |
3 |
| bnx_dump_l2fhdr |
|
1 |
9 |
48 |
3 |
| bnx_dump_tx_chain |
|
2 |
29 |
150 |
3 |
| bnx_dump_rx_chain |
|
2 |
30 |
156 |
3 |
| bnx_dump_status_block |
|
21 |
67 |
331 |
1 |
| bnx_dump_stats_block |
|
45 |
181 |
918 |
1 |
| bnx_dump_driver_state |
|
1 |
72 |
301 |
1 |
| bnx_dump_hw_state |
|
2 |
46 |
279 |
1 |
| bnx_breakpoint |
|
3 |
20 |
118 |
1 |
| Source file: ./sys/dev/pci/if_alcreg.h |
| Source file: ./sys/dev/pci/yds.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| YREAD2 |
|
1 |
5 |
41 |
2 |
| YREAD4 |
|
1 |
5 |
41 |
2 |
| YWRITE1 |
|
1 |
5 |
51 |
3 |
| YWRITE2 |
|
1 |
5 |
51 |
3 |
| YWRITE4 |
|
1 |
5 |
51 |
3 |
| yds_dump_play_slot |
|
5 |
28 |
231 |
2 |
| yds_get_dstype |
|
3 |
9 |
54 |
1 |
| nswaph |
|
2 |
7 |
34 |
2 |
| yds_download_mcode |
|
6 |
53 |
401 |
1 |
| yds_allocate_slots |
|
8 |
73 |
618 |
2 |
| yds_enable_dsp |
|
1 |
4 |
18 |
1 |
| yds_disable_dsp |
|
4 |
14 |
78 |
1 |
| yds_match |
|
8 |
18 |
84 |
3 |
| yds_configure_legacy |
|
17 |
83 |
581 |
1 |
| yds_attach |
|
9 |
51 |
381 |
3 |
| yds_attachhook |
|
7 |
65 |
496 |
1 |
| yds_attach_codec |
|
1 |
6 |
29 |
2 |
| yds_ready_codec |
|
3 |
10 |
57 |
1 |
| yds_read_codec |
|
5 |
18 |
134 |
3 |
| yds_write_codec |
|
2 |
12 |
80 |
3 |
| yds_reset_codec |
|
2 |
17 |
111 |
1 |
| yds_intr |
|
22 |
89 |
620 |
1 |
| yds_allocmem |
|
5 |
30 |
234 |
4 |
| yds_freemem |
|
1 |
8 |
69 |
2 |
| yds_open |
|
1 |
11 |
59 |
2 |
| yds_close |
|
1 |
7 |
30 |
1 |
| yds_set_params |
|
14 |
36 |
204 |
5 |
| yds_round_blocksize |
|
2 |
6 |
26 |
2 |
| yds_get_lpfq |
|
4 |
22 |
117 |
1 |
| yds_get_lpfk |
|
4 |
22 |
117 |
1 |
| yds_trigger_output |
|
21 |
98 |
729 |
7 |
| yds_trigger_input |
|
7 |
65 |
514 |
7 |
| yds_halt |
|
1 |
13 |
93 |
1 |
| yds_halt_output |
|
2 |
22 |
154 |
1 |
| yds_halt_input |
|
2 |
20 |
128 |
1 |
| yds_mixer_set_port |
|
1 |
6 |
47 |
2 |
| yds_mixer_get_port |
|
1 |
6 |
47 |
2 |
| yds_query_devinfo |
|
1 |
6 |
47 |
2 |
| yds_get_portnum_by_name |
|
1 |
6 |
53 |
4 |
| yds_malloc |
|
3 |
17 |
117 |
5 |
| yds_free |
|
3 |
13 |
95 |
3 |
| yds_find_dma |
|
3 |
7 |
45 |
2 |
| yds_round_buffersize |
|
2 |
6 |
33 |
3 |
| yds_get_props |
|
1 |
5 |
17 |
1 |
| yds_activate |
|
7 |
28 |
166 |
2 |
| yds_init |
|
18 |
74 |
491 |
2 |
| Source file: ./sys/dev/pci/if_bgereg.h |
| Source file: ./sys/dev/pci/if_pcn.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pcn_csr_read |
|
1 |
5 |
43 |
2 |
| pcn_csr_write |
|
1 |
5 |
45 |
3 |
| pcn_bcr_read |
|
1 |
5 |
43 |
2 |
| pcn_bcr_write |
|
1 |
5 |
45 |
3 |
| pcn_lookup_variant |
|
3 |
9 |
48 |
1 |
| pcn_match |
|
4 |
10 |
78 |
3 |
| pcn_attach |
|
24 |
161 |
1155 |
3 |
| pcn_start |
|
24 |
114 |
839 |
1 |
| pcn_watchdog |
|
2 |
12 |
70 |
1 |
| pcn_ioctl |
|
11 |
39 |
215 |
3 |
| pcn_intr |
|
13 |
50 |
268 |
1 |
| pcn_spnd |
|
3 |
12 |
69 |
1 |
| pcn_txintr |
|
15 |
74 |
472 |
1 |
| pcn_rxintr |
|
12 |
77 |
494 |
1 |
| pcn_tick |
|
1 |
9 |
47 |
1 |
| pcn_reset |
|
1 |
7 |
61 |
1 |
| pcn_init |
|
16 |
112 |
842 |
1 |
| pcn_rxdrain |
|
3 |
13 |
76 |
1 |
| pcn_stop |
|
5 |
24 |
152 |
2 |
| pcn_add_rxbuf |
|
5 |
29 |
199 |
2 |
| pcn_set_filter |
|
5 |
31 |
228 |
1 |
| pcn_79c970_mediainit |
|
4 |
21 |
183 |
1 |
| pcn_79c970_mediastatus |
|
1 |
5 |
35 |
2 |
| pcn_79c970_mediachange |
|
4 |
26 |
192 |
1 |
| pcn_79c971_mediainit |
|
2 |
18 |
159 |
1 |
| pcn_79c971_mediastatus |
|
1 |
7 |
51 |
2 |
| pcn_79c971_mediachange |
|
2 |
7 |
39 |
1 |
| pcn_mii_readreg |
|
2 |
10 |
72 |
3 |
| pcn_mii_writereg |
|
1 |
6 |
54 |
4 |
| pcn_mii_statchg |
|
2 |
8 |
53 |
1 |
| Source file: ./sys/dev/pci/emuxkireg.h |
| Source file: ./sys/dev/pci/if_em_soc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| em_lookup_gcu |
|
2 |
6 |
30 |
1 |
| em_attach_miibus |
|
1 |
4 |
12 |
1 |
| gcu_miibus_readreg |
|
6 |
38 |
271 |
3 |
| gcu_miibus_writereg |
|
5 |
29 |
201 |
4 |
| gcu_miibus_statchg |
|
1 |
3 |
9 |
1 |
| Source file: ./sys/dev/pci/if_myx.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| myx_match |
|
1 |
4 |
32 |
3 |
| myx_attach |
|
7 |
45 |
382 |
3 |
| myx_pcie_dc |
|
3 |
18 |
139 |
2 |
| myx_ether_aton |
|
10 |
20 |
170 |
3 |
| myx_query |
|
10 |
35 |
295 |
3 |
| myx_loadfirmware |
|
9 |
44 |
333 |
2 |
| myx_attachhook |
|
8 |
59 |
407 |
1 |
| myx_probe_firmware |
|
8 |
63 |
531 |
1 |
| myx_read |
|
1 |
6 |
53 |
4 |
| myx_write |
|
1 |
6 |
53 |
4 |
| myx_dmamem_alloc |
|
5 |
27 |
221 |
4 |
| myx_dmamem_free |
|
1 |
7 |
65 |
2 |
| myx_cmd |
|
6 |
70 |
360 |
4 |
| myx_boot |
|
3 |
34 |
270 |
2 |
| myx_rdma |
|
4 |
35 |
288 |
2 |
| myx_media_change |
|
1 |
4 |
14 |
1 |
| myx_media_status |
|
3 |
23 |
159 |
2 |
| myx_link_state |
|
4 |
13 |
81 |
2 |
| myx_watchdog |
|
1 |
4 |
11 |
1 |
| myx_ioctl |
|
11 |
39 |
237 |
3 |
| myx_rxrinfo |
|
1 |
10 |
98 |
2 |
| myx_up |
|
31 |
216 |
1808 |
1 |
| myx_setlladdr |
|
2 |
13 |
128 |
3 |
| myx_iff |
|
10 |
45 |
358 |
1 |
| myx_down |
|
5 |
56 |
455 |
1 |
| myx_write_txd_tail |
|
3 |
26 |
236 |
5 |
| myx_start |
|
20 |
95 |
742 |
1 |
| myx_load_mbuf |
|
5 |
19 |
104 |
3 |
| myx_intr |
|
11 |
61 |
396 |
1 |
| myx_refill |
|
2 |
8 |
51 |
1 |
| myx_txeof |
|
6 |
26 |
186 |
2 |
| myx_rxeof |
|
8 |
45 |
385 |
1 |
| myx_rx_fill_slots |
|
7 |
33 |
277 |
3 |
| myx_rx_init |
|
5 |
33 |
268 |
3 |
| myx_rx_fill |
|
3 |
11 |
74 |
2 |
| myx_rx_empty |
|
3 |
14 |
115 |
2 |
| myx_rx_free |
|
2 |
10 |
79 |
2 |
| myx_mcl_small |
|
2 |
9 |
52 |
1 |
| myx_mcl_big |
|
3 |
16 |
94 |
1 |
| myx_buf_fill |
|
3 |
18 |
120 |
3 |
| myx_tx_init |
|
5 |
27 |
196 |
2 |
| myx_tx_empty |
|
3 |
16 |
104 |
1 |
| myx_tx_free |
|
2 |
10 |
74 |
1 |
| Source file: ./sys/dev/pci/if_malo_pci.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| malo_pci_match |
|
1 |
5 |
45 |
3 |
| malo_pci_attach |
|
6 |
41 |
278 |
3 |
| malo_pci_detach |
|
1 |
8 |
55 |
2 |
| malo_pci_activate |
|
4 |
16 |
85 |
2 |
| malo_pci_wakeup |
|
2 |
6 |
34 |
1 |
| Source file: ./sys/dev/pci/vmwpvs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| vmwpvs_match |
|
3 |
8 |
54 |
3 |
| vmwpvs_attach |
|
22 |
160 |
1175 |
3 |
| vmwpvs_setup_rings |
|
3 |
17 |
145 |
1 |
| vmwpvs_setup_msg_ring |
|
2 |
12 |
89 |
1 |
| vmwpvs_get_config |
|
4 |
34 |
218 |
1 |
| vmwpvs_cmd |
|
2 |
9 |
70 |
4 |
| vmwpvs_intx |
|
2 |
10 |
59 |
1 |
| vmwpvs_intr |
|
6 |
39 |
292 |
1 |
| vmwpvs_msg_task |
|
8 |
69 |
488 |
1 |
| vmwpvs_scsi_cmd |
|
14 |
101 |
763 |
1 |
| vmwpvs_scsi_cmd_poll |
|
4 |
32 |
199 |
1 |
| vmwpvs_scsi_cmd_done |
|
11 |
48 |
314 |
2 |
| vmwpvs_ccb_get |
|
2 |
11 |
67 |
1 |
| vmwpvs_ccb_put |
|
1 |
8 |
54 |
2 |
| vmwpvs_dmamem_alloc |
|
6 |
31 |
244 |
2 |
| vmwpvs_dmamem_zalloc |
|
2 |
9 |
54 |
2 |
| vmwpvs_dmamem_free |
|
1 |
8 |
76 |
2 |
| Source file: ./sys/dev/pci/if_pgt_pci.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pgt_pci_match |
|
1 |
5 |
45 |
3 |
| pgt_pci_attach |
|
6 |
39 |
284 |
3 |
| pgt_pci_detach |
|
3 |
13 |
88 |
2 |
| Source file: ./sys/dev/pci/amas.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| amas_match |
|
2 |
7 |
44 |
3 |
| amas_attach |
|
10 |
33 |
192 |
3 |
| amas_intl_nodes |
|
3 |
11 |
88 |
1 |
| amas_get_pagerange |
|
8 |
40 |
269 |
4 |
| Source file: ./sys/dev/pci/pciide_sii3112_reg.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ba5_read_4_ind |
|
1 |
10 |
64 |
2 |
| ba5_read_4 |
|
2 |
7 |
58 |
2 |
| ba5_write_4_ind |
|
1 |
8 |
59 |
3 |
| ba5_write_4 |
|
2 |
8 |
60 |
3 |
| Source file: ./sys/dev/pci/ixgbe_82598.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ixgbe_set_pcie_completion_timeout |
|
3 |
17 |
86 |
1 |
| ixgbe_init_ops_82598 |
|
1 |
37 |
251 |
1 |
| ixgbe_init_phy_ops_82598 |
|
7 |
43 |
213 |
1 |
| ixgbe_start_hw_82598 |
|
6 |
25 |
165 |
1 |
| ixgbe_get_link_capabilities_82598 |
|
9 |
39 |
162 |
3 |
| ixgbe_get_media_type_82598 |
|
15 |
40 |
126 |
1 |
| ixgbe_fc_enable_82598 |
|
19 |
85 |
520 |
1 |
| ixgbe_start_mac_link_82598 |
|
7 |
32 |
148 |
2 |
| ixgbe_validate_link_ready |
|
6 |
21 |
99 |
1 |
| ixgbe_check_mac_link_82598 |
|
17 |
67 |
389 |
4 |
| ixgbe_setup_mac_link_82598 |
|
8 |
31 |
154 |
3 |
| ixgbe_setup_copper_link_82598 |
|
1 |
11 |
50 |
3 |
| ixgbe_reset_hw_82598 |
|
13 |
80 |
547 |
1 |
| ixgbe_set_vmdq_82598 |
|
2 |
15 |
94 |
3 |
| ixgbe_clear_vmdq_82598 |
|
3 |
15 |
84 |
3 |
| ixgbe_set_vfta_82598 |
|
3 |
26 |
183 |
4 |
| ixgbe_clear_vfta_82598 |
|
4 |
13 |
96 |
1 |
| ixgbe_read_analog_reg8_82598 |
|
1 |
12 |
70 |
3 |
| ixgbe_write_analog_reg8_82598 |
|
1 |
10 |
56 |
3 |
| ixgbe_read_i2c_phy_82598 |
|
7 |
48 |
266 |
4 |
| ixgbe_read_i2c_eeprom_82598 |
|
1 |
6 |
28 |
3 |
| ixgbe_get_supported_physical_layer_82598 |
|
27 |
91 |
360 |
1 |
| ixgbe_set_lan_id_multi_port_pcie_82598 |
|
6 |
17 |
119 |
1 |
| ixgbe_enable_rx_dma_82598 |
|
1 |
6 |
29 |
2 |
| Source file: ./sys/dev/pci/tcpcib.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tcpcib_wdt_unlock |
|
1 |
5 |
39 |
1 |
| tcpcib_wdt_init |
|
1 |
16 |
104 |
2 |
| tcpcib_wdt_start |
|
1 |
5 |
24 |
1 |
| tcpcib_wdt_stop |
|
1 |
7 |
44 |
1 |
| tcpcib_match |
|
2 |
7 |
54 |
3 |
| tcpcib_attach |
|
10 |
58 |
401 |
3 |
| tcpcib_activate |
|
10 |
34 |
190 |
2 |
| tcpcib_wdt_cb |
|
6 |
22 |
116 |
2 |
| tcpcib_hpet_get_timecount |
|
1 |
6 |
32 |
1 |
| Source file: ./sys/dev/pci/if_fxp_pci.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fxp_pci_match |
|
1 |
5 |
37 |
3 |
| fxp_pci_attach |
|
25 |
81 |
542 |
3 |
| fxp_pci_detach |
|
2 |
10 |
77 |
2 |
| Source file: ./sys/dev/pci/if_iwmreg.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| IWM_SCD_QUEUE_WRPTR |
|
2 |
6 |
36 |
1 |
| IWM_SCD_QUEUE_RDPTR |
|
2 |
6 |
36 |
1 |
| IWM_SCD_QUEUE_STATUS_BITS |
|
2 |
6 |
36 |
1 |
| IWM_FH_MEM_CBBC_QUEUE |
|
3 |
8 |
49 |
1 |
| iwm_get_dma_hi_addr |
|
2 |
4 |
34 |
1 |
| iwm_reciprocal |
|
2 |
6 |
20 |
1 |
| iwm_get_scd_ssn |
|
1 |
5 |
28 |
1 |
| iwm_cmd_opcode |
|
1 |
4 |
12 |
1 |
| iwm_cmd_groupid |
|
1 |
4 |
19 |
1 |
| iwm_cmd_version |
|
1 |
4 |
19 |
1 |
| iwm_cmd_id |
|
1 |
4 |
30 |
3 |
| iwm_rx_packet_len |
|
1 |
4 |
20 |
1 |
| iwm_rx_packet_payload_len |
|
1 |
4 |
23 |
1 |
| Source file: ./sys/dev/pci/pciide_sis_reg.h |
| Source file: ./sys/dev/pci/eso.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| eso_match |
|
3 |
8 |
54 |
3 |
| eso_attach |
|
11 |
82 |
604 |
3 |
| eso_setup |
|
22 |
93 |
531 |
3 |
| eso_defer |
|
3 |
23 |
163 |
1 |
| eso_write_cmd |
|
3 |
15 |
89 |
2 |
| eso_write_ctlreg |
|
1 |
5 |
29 |
3 |
| eso_read_rdr |
|
3 |
15 |
87 |
1 |
| eso_read_ctlreg |
|
1 |
6 |
34 |
2 |
| eso_write_mixreg |
|
1 |
5 |
45 |
3 |
| eso_read_mixreg |
|
1 |
7 |
50 |
2 |
| eso_intr |
|
10 |
35 |
225 |
1 |
| eso_reset |
|
4 |
23 |
159 |
1 |
| eso_open |
|
1 |
4 |
16 |
2 |
| eso_close |
|
1 |
3 |
8 |
1 |
| eso_set_params |
|
17 |
56 |
437 |
5 |
| eso_round_blocksize |
|
1 |
4 |
23 |
2 |
| eso_halt_output |
|
2 |
17 |
131 |
1 |
| eso_halt_input |
|
2 |
20 |
137 |
1 |
| eso_set_port |
|
48 |
165 |
938 |
2 |
| eso_get_port |
|
31 |
77 |
401 |
2 |
| eso_query_devinfo |
|
32 |
317 |
3010 |
2 |
| eso_allocmem |
|
7 |
34 |
279 |
7 |
| eso_freemem |
|
1 |
7 |
61 |
1 |
| eso_allocm |
|
8 |
28 |
182 |
5 |
| eso_freem |
|
3 |
13 |
91 |
3 |
| eso_round_buffersize |
|
3 |
8 |
44 |
3 |
| eso_get_props |
|
1 |
5 |
17 |
1 |
| eso_trigger_output |
|
8 |
58 |
445 |
7 |
| eso_trigger_input |
|
10 |
73 |
542 |
7 |
| eso_set_recsrc |
|
4 |
19 |
119 |
2 |
| eso_set_monooutsrc |
|
4 |
23 |
139 |
2 |
| eso_set_monoinbypass |
|
5 |
23 |
149 |
2 |
| eso_set_preamp |
|
5 |
23 |
149 |
2 |
| eso_reload_master_vol |
|
1 |
11 |
80 |
1 |
| eso_set_gain |
|
22 |
76 |
362 |
2 |
| eso_activate |
|
4 |
33 |
221 |
2 |
| Source file: ./sys/dev/pci/plx9060reg.h |
| Source file: ./sys/dev/pci/gcu.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| gcu_probe |
|
1 |
5 |
37 |
3 |
| gcu_attach |
|
3 |
18 |
135 |
3 |
| Source file: ./sys/dev/pci/if_lii.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| lii_match |
|
1 |
5 |
37 |
3 |
| lii_attach |
|
7 |
64 |
468 |
3 |
| lii_activate |
|
5 |
21 |
110 |
2 |
| lii_reset |
|
4 |
22 |
129 |
1 |
| lii_eeprom_present |
|
2 |
9 |
60 |
1 |
| lii_eeprom_read |
|
1 |
4 |
38 |
3 |
| lii_spi_configure |
|
1 |
28 |
249 |
1 |
| lii_spi_read |
|
4 |
22 |
139 |
3 |
| lii_read_macaddr |
|
12 |
42 |
294 |
2 |
| lii_mii_readreg |
|
4 |
22 |
144 |
3 |
| lii_mii_writereg |
|
4 |
21 |
147 |
4 |
| lii_mii_statchg |
|
2 |
12 |
72 |
1 |
| lii_media_change |
|
2 |
8 |
44 |
1 |
| lii_media_status |
|
1 |
8 |
58 |
2 |
| lii_init |
|
2 |
67 |
574 |
1 |
| lii_tx_put |
|
3 |
22 |
208 |
2 |
| lii_free_tx_space |
|
2 |
10 |
54 |
1 |
| lii_start |
|
10 |
30 |
224 |
1 |
| lii_stop |
|
1 |
11 |
68 |
1 |
| lii_intr |
|
9 |
28 |
176 |
1 |
| lii_rxintr |
|
7 |
41 |
270 |
1 |
| lii_txintr |
|
6 |
29 |
204 |
1 |
| lii_alloc_rings |
|
5 |
46 |
380 |
1 |
| lii_watchdog |
|
1 |
7 |
38 |
1 |
| lii_ioctl |
|
10 |
35 |
202 |
3 |
| lii_iff |
|
5 |
34 |
244 |
1 |
| lii_tick |
|
1 |
9 |
47 |
1 |
| Source file: ./sys/dev/pci/if_epic_pci.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| epic_pci_subsys_lookup |
|
3 |
11 |
72 |
1 |
| epic_pci_match |
|
1 |
5 |
37 |
3 |
| epic_pci_attach |
|
7 |
49 |
321 |
3 |
| Source file: ./sys/dev/pci/pciide_jmicron_reg.h |
| Source file: ./sys/dev/pci/pciidereg.h |
| Source file: ./sys/dev/pci/pciide_acer_reg.h |
| Source file: ./sys/dev/pci/iha_pci.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| iha_pci_probe |
|
7 |
20 |
101 |
3 |
| iha_pci_attach |
|
7 |
44 |
283 |
3 |
| Source file: ./sys/dev/pci/amdpcib.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| amdpcib_match |
|
2 |
7 |
50 |
3 |
| amdpcib_attach |
|
4 |
31 |
226 |
3 |
| amdpcib_get_timecount |
|
1 |
6 |
32 |
1 |
| Source file: ./sys/dev/pci/if_ipw.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| MEM_READ_1 |
|
1 |
5 |
29 |
2 |
| MEM_READ_4 |
|
1 |
5 |
29 |
2 |
| ipw_match |
|
3 |
8 |
50 |
3 |
| ipw_attach |
|
9 |
104 |
774 |
3 |
| ipw_activate |
|
4 |
15 |
75 |
2 |
| ipw_wakeup |
|
2 |
15 |
101 |
1 |
| ipw_dma_alloc |
|
24 |
170 |
1196 |
1 |
| ipw_release |
|
13 |
50 |
404 |
1 |
| ipw_media_change |
|
3 |
10 |
56 |
1 |
| ipw_media_status |
|
8 |
38 |
226 |
2 |
| ipw_newstate |
|
6 |
18 |
81 |
3 |
| ipw_read_prom_word |
|
3 |
35 |
268 |
2 |
| ipw_command_intr |
|
1 |
10 |
84 |
2 |
| ipw_newstate_intr |
|
9 |
32 |
179 |
2 |
| ipw_data_intr |
|
7 |
67 |
518 |
4 |
| ipw_notification_intr |
|
1 |
4 |
23 |
2 |
| ipw_rx_intr |
|
8 |
43 |
300 |
1 |
| ipw_release_sbd |
|
5 |
26 |
162 |
2 |
| ipw_tx_intr |
|
3 |
15 |
128 |
1 |
| ipw_intr |
|
7 |
23 |
148 |
1 |
| ipw_cmd |
|
3 |
39 |
341 |
4 |
| ipw_send_mgmt |
|
1 |
5 |
26 |
5 |
| ipw_tx_start |
|
15 |
120 |
996 |
3 |
| ipw_start |
|
12 |
33 |
200 |
1 |
| ipw_watchdog |
|
3 |
15 |
81 |
1 |
| ipw_ioctl |
|
11 |
38 |
223 |
3 |
| ipw_read_table1 |
|
1 |
4 |
29 |
2 |
| ipw_write_table1 |
|
1 |
4 |
33 |
3 |
| ipw_read_table2 |
|
2 |
18 |
116 |
4 |
| ipw_stop_master |
|
4 |
17 |
103 |
1 |
| ipw_reset |
|
4 |
21 |
130 |
1 |
| ipw_load_ucode |
|
4 |
35 |
259 |
3 |
| ipw_load_firmware |
|
5 |
34 |
223 |
3 |
| ipw_read_firmware |
|
7 |
37 |
227 |
2 |
| ipw_scan |
|
5 |
31 |
211 |
1 |
| ipw_auth_and_assoc |
|
20 |
91 |
641 |
1 |
| ipw_config |
|
22 |
101 |
736 |
1 |
| ipw_init |
|
7 |
61 |
477 |
1 |
| ipw_stop |
|
2 |
15 |
110 |
2 |
| ipw_read_mem_1 |
|
2 |
8 |
64 |
4 |
| ipw_write_mem_1 |
|
2 |
8 |
64 |
4 |
| Source file: ./sys/dev/pci/czreg.h |
| Source file: ./sys/dev/pci/auich.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| auich_match |
|
4 |
10 |
76 |
3 |
| auich_attach |
|
29 |
139 |
1117 |
3 |
| auich_activate |
|
2 |
15 |
72 |
2 |
| auich_read_codec |
|
5 |
16 |
130 |
3 |
| auich_write_codec |
|
5 |
17 |
129 |
3 |
| auich_attach_codec |
|
1 |
6 |
29 |
2 |
| auich_reset_codec |
|
5 |
16 |
127 |
1 |
| auich_flags_codec |
|
1 |
5 |
22 |
1 |
| auich_spdif_event |
|
1 |
5 |
24 |
2 |
| auich_open |
|
2 |
8 |
52 |
2 |
| auich_close |
|
1 |
5 |
28 |
1 |
| auich_set_params |
|
23 |
100 |
591 |
5 |
| auich_round_blocksize |
|
1 |
4 |
20 |
2 |
| auich_halt_pipe |
|
5 |
23 |
166 |
3 |
| auich_halt_output |
|
1 |
10 |
65 |
1 |
| auich_halt_input |
|
1 |
12 |
77 |
1 |
| auich_set_port |
|
1 |
5 |
35 |
2 |
| auich_get_port |
|
1 |
5 |
35 |
2 |
| auich_query_devinfo |
|
1 |
5 |
35 |
2 |
| auich_allocm |
|
6 |
27 |
157 |
5 |
| auich_freem |
|
7 |
16 |
116 |
3 |
| auich_round_buffersize |
|
2 |
6 |
31 |
3 |
| auich_get_props |
|
1 |
4 |
15 |
1 |
| auich_intr |
|
13 |
82 |
584 |
1 |
| auich_trigger_pipe |
|
4 |
31 |
253 |
3 |
| auich_intr_pipe |
|
5 |
30 |
233 |
3 |
| auich_trigger_output |
|
3 |
31 |
259 |
7 |
| auich_allocmem |
|
5 |
46 |
299 |
4 |
| auich_freemem |
|
1 |
8 |
69 |
2 |
| auich_alloc_cdata |
|
5 |
43 |
329 |
1 |
| auich_resume |
|
3 |
11 |
76 |
1 |
| auich_calibrate |
|
11 |
87 |
656 |
1 |
| Source file: ./sys/dev/pci/i82365_pci.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pcic_pci_match |
|
3 |
11 |
65 |
3 |
| pcic_pci_attach |
|
10 |
72 |
492 |
3 |
| Source file: ./sys/dev/pci/arc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| arc_match_board |
|
4 |
12 |
86 |
1 |
| arc_match |
|
2 |
4 |
33 |
3 |
| arc_attach |
|
10 |
51 |
370 |
3 |
| arc_activate |
|
2 |
14 |
62 |
2 |
| arc_detach |
|
1 |
7 |
39 |
2 |
| arc_intr_A |
|
7 |
42 |
261 |
1 |
| arc_intr_C |
|
10 |
58 |
329 |
1 |
| arcmsr_get_doneq_index |
|
4 |
19 |
94 |
1 |
| arc_intr_D |
|
9 |
63 |
404 |
1 |
| arc_intr |
|
4 |
17 |
69 |
1 |
| arc_scsi_cmd |
|
16 |
96 |
636 |
1 |
| arc_load_xs |
|
7 |
38 |
319 |
1 |
| arc_scsi_cmd_done |
|
8 |
47 |
347 |
3 |
| arc_complete |
|
13 |
66 |
386 |
3 |
| arc_minphys |
|
2 |
6 |
33 |
2 |
| arc_enable_all_intr |
|
4 |
23 |
113 |
1 |
| arc_disable_all_intr |
|
4 |
21 |
101 |
1 |
| arc_map_pci_resources |
|
9 |
54 |
369 |
2 |
| arc_unmap_pci_resources |
|
1 |
6 |
41 |
1 |
| arc_chipA_firmware |
|
6 |
54 |
451 |
1 |
| arc_chipB_firmware |
|
2 |
10 |
46 |
1 |
| arc_chipC_firmware |
|
6 |
54 |
451 |
1 |
| arc_chipD_firmware |
|
7 |
56 |
475 |
1 |
| arc_stop_bgrb_proc |
|
7 |
20 |
95 |
1 |
| arc_flush_cache |
|
7 |
20 |
95 |
1 |
| arc_iop_set_conf |
|
4 |
29 |
182 |
1 |
| arc_bioctl |
|
6 |
27 |
156 |
3 |
| arc_bio_alarm |
|
9 |
38 |
200 |
2 |
| arc_bio_alarm_state |
|
2 |
18 |
118 |
2 |
| arc_bio_inq |
|
7 |
45 |
345 |
2 |
| arc_bio_blink |
|
4 |
27 |
170 |
2 |
| arc_bio_getvol |
|
12 |
38 |
260 |
3 |
| arc_bio_vol |
|
15 |
69 |
424 |
2 |
| arc_bio_disk |
|
7 |
67 |
548 |
2 |
| arc_msg_cksum |
|
2 |
10 |
65 |
2 |
| arc_msgbuf |
|
43 |
191 |
1235 |
6 |
| arc_lock |
|
4 |
23 |
123 |
1 |
| arc_unlock |
|
4 |
23 |
123 |
1 |
| arc_wait |
|
7 |
33 |
220 |
1 |
| arc_create_sensors |
|
5 |
44 |
348 |
1 |
| arc_refresh_sensors |
|
8 |
33 |
200 |
1 |
| arc_read |
|
1 |
9 |
68 |
2 |
| arc_read_region |
|
1 |
6 |
53 |
4 |
| arc_write |
|
1 |
7 |
63 |
3 |
| arc_write_region |
|
1 |
6 |
53 |
4 |
| arc_wait_eq |
|
3 |
13 |
84 |
4 |
| arc_wait_ne |
|
3 |
13 |
84 |
4 |
| arc_msg0 |
|
7 |
28 |
163 |
2 |
| arc_dmamem_alloc |
|
6 |
31 |
244 |
2 |
| arc_dmamem_free |
|
1 |
8 |
76 |
2 |
| arc_alloc_ccbs |
|
9 |
59 |
478 |
1 |
| arc_free_ccb_src |
|
2 |
8 |
58 |
1 |
| arc_get_ccb |
|
2 |
10 |
61 |
1 |
| arc_put_ccb |
|
1 |
8 |
57 |
2 |
| Source file: ./sys/dev/pci/tga_conf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tga_identify |
|
16 |
44 |
222 |
1 |
| tga_getconf |
|
3 |
7 |
31 |
1 |
| Source file: ./sys/dev/pci/esareg.h |
| Source file: ./sys/dev/pci/if_ste.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ste_mii_sync |
|
2 |
11 |
54 |
1 |
| ste_mii_send |
|
3 |
16 |
88 |
3 |
| ste_mii_readreg |
|
7 |
55 |
323 |
2 |
| ste_mii_writereg |
|
1 |
23 |
152 |
2 |
| ste_miibus_readreg |
|
3 |
12 |
84 |
3 |
| ste_miibus_writereg |
|
1 |
10 |
71 |
4 |
| ste_miibus_statchg |
|
6 |
20 |
129 |
1 |
| ste_ifmedia_upd |
|
2 |
15 |
77 |
1 |
| ste_ifmedia_sts |
|
1 |
10 |
58 |
2 |
| ste_wait |
|
4 |
10 |
60 |
1 |
| ste_eeprom_wait |
|
4 |
17 |
80 |
1 |
| ste_read_eeprom |
|
6 |
20 |
143 |
5 |
| ste_iff |
|
6 |
39 |
290 |
1 |
| ste_intr |
|
12 |
37 |
207 |
1 |
| ste_rxeoc |
|
5 |
15 |
94 |
1 |
| ste_rxeof |
|
6 |
41 |
248 |
1 |
| ste_txeoc |
|
7 |
29 |
157 |
1 |
| ste_txeof |
|
4 |
20 |
132 |
1 |
| ste_stats_update |
|
5 |
26 |
156 |
1 |
| ste_probe |
|
1 |
5 |
37 |
3 |
| ste_attach |
|
13 |
86 |
647 |
3 |
| ste_newbuf |
|
4 |
25 |
185 |
3 |
| ste_init_rx_list |
|
4 |
27 |
218 |
1 |
| ste_init_tx_list |
|
3 |
21 |
164 |
1 |
| ste_init |
|
3 |
56 |
425 |
1 |
| ste_stop |
|
5 |
31 |
249 |
1 |
| ste_reset |
|
4 |
18 |
90 |
1 |
| ste_ioctl |
|
11 |
40 |
218 |
3 |
| ste_encap |
|
8 |
46 |
292 |
3 |
| ste_start |
|
10 |
48 |
312 |
1 |
| ste_watchdog |
|
2 |
14 |
77 |
1 |
| Source file: ./sys/dev/pci/ydsvar.h |
| Source file: ./sys/dev/pci/if_atw_pci.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| atw_pci_match |
|
1 |
5 |
37 |
3 |
| atw_pci_enable |
|
2 |
12 |
78 |
1 |
| atw_pci_disable |
|
1 |
6 |
37 |
1 |
| atw_pci_attach |
|
9 |
62 |
429 |
3 |
| atw_pci_detach |
|
3 |
13 |
91 |
2 |
| Source file: ./sys/dev/pci/jmb.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| jmb_match |
|
1 |
6 |
49 |
3 |
| jmb_attach |
|
18 |
56 |
346 |
3 |
| jmb_print |
|
2 |
11 |
68 |
2 |
| Source file: ./sys/dev/pci/if_wb.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wb_eeprom_putbyte |
|
3 |
20 |
90 |
2 |
| wb_eeprom_getword |
|
3 |
22 |
125 |
3 |
| wb_read_eeprom |
|
3 |
19 |
105 |
5 |
| wb_mii_sync |
|
2 |
13 |
58 |
1 |
| wb_mii_send |
|
3 |
19 |
94 |
3 |
| wb_mii_readreg |
|
7 |
61 |
347 |
2 |
| wb_mii_writereg |
|
1 |
25 |
156 |
2 |
| wb_miibus_readreg |
|
1 |
12 |
74 |
3 |
| wb_miibus_writereg |
|
1 |
13 |
79 |
4 |
| wb_miibus_statchg |
|
1 |
6 |
34 |
1 |
| wb_setmulti |
|
7 |
43 |
285 |
1 |
| wb_setcfg |
|
9 |
30 |
195 |
2 |
| wb_reset |
|
5 |
25 |
165 |
1 |
| wb_fixmedia |
|
4 |
18 |
106 |
1 |
| wb_probe |
|
1 |
7 |
42 |
3 |
| wb_attach |
|
12 |
102 |
767 |
3 |
| wb_list_tx_init |
|
3 |
22 |
147 |
1 |
| wb_list_rx_init |
|
3 |
27 |
218 |
1 |
| wb_newbuf |
|
1 |
8 |
54 |
2 |
| wb_rxeof |
|
9 |
45 |
271 |
1 |
| wb_rxeoc |
|
2 |
11 |
76 |
1 |
| wb_txeof |
|
9 |
34 |
201 |
1 |
| wb_txeoc |
|
3 |
18 |
105 |
1 |
| wb_intr |
|
17 |
60 |
350 |
1 |
| wb_tick |
|
1 |
10 |
49 |
1 |
| wb_encap |
|
10 |
66 |
463 |
3 |
| wb_start |
|
9 |
40 |
252 |
1 |
| wb_init |
|
10 |
69 |
469 |
1 |
| wb_ifmedia_upd |
|
2 |
8 |
38 |
1 |
| wb_ifmedia_sts |
|
1 |
10 |
58 |
2 |
| wb_ioctl |
|
9 |
38 |
196 |
3 |
| wb_watchdog |
|
4 |
15 |
86 |
1 |
| wb_stop |
|
3 |
23 |
193 |
1 |
| Source file: ./sys/dev/pci/cac_pci.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cac_pci_findtype |
|
8 |
31 |
195 |
1 |
| cac_pci_match |
|
1 |
6 |
32 |
3 |
| cac_pci_attach |
|
16 |
66 |
453 |
3 |
| cac_activate |
|
2 |
12 |
59 |
2 |
| cac_pci_l0_submit |
|
1 |
7 |
48 |
2 |
| cac_pci_l0_completed |
|
2 |
14 |
101 |
1 |
| cac_pci_l0_intr_pending |
|
1 |
4 |
25 |
1 |
| cac_pci_l0_intr_enable |
|
2 |
4 |
27 |
2 |
| cac_pci_l0_fifo_full |
|
1 |
4 |
21 |
1 |
| Source file: ./sys/dev/pci/glxvar.h |
| Source file: ./sys/dev/pci/if_sis.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sis_reverse |
|
1 |
8 |
108 |
1 |
| sis_delay |
|
2 |
6 |
38 |
1 |
| sis_eeprom_idle |
|
2 |
19 |
96 |
1 |
| sis_eeprom_putbyte |
|
3 |
16 |
80 |
2 |
| sis_eeprom_getword |
|
3 |
23 |
126 |
3 |
| sis_read_eeprom |
|
3 |
14 |
93 |
5 |
| sis_read_cmos |
|
2 |
13 |
126 |
5 |
| sis_read_mac |
|
1 |
18 |
179 |
2 |
| sis_read96x_mac |
|
3 |
14 |
81 |
1 |
| sis_mii_sync |
|
2 |
11 |
54 |
1 |
| sis_mii_send |
|
3 |
15 |
84 |
3 |
| sis_mii_readreg |
|
7 |
54 |
314 |
2 |
| sis_mii_writereg |
|
1 |
23 |
152 |
2 |
| sis_miibus_readreg |
|
11 |
40 |
275 |
3 |
| sis_miibus_writereg |
|
9 |
33 |
223 |
4 |
| sis_miibus_statchg |
|
16 |
57 |
397 |
1 |
| sis_mchash |
|
4 |
12 |
74 |
2 |
| sis_iff |
|
2 |
7 |
28 |
1 |
| sis_iff_ns |
|
8 |
46 |
313 |
1 |
| sis_iff_sis |
|
12 |
48 |
342 |
1 |
| sis_reset |
|
5 |
16 |
102 |
1 |
| sis_probe |
|
1 |
5 |
37 |
3 |
| sis_attach |
|
35 |
181 |
1319 |
3 |
| sis_activate |
|
5 |
21 |
110 |
2 |
| sis_ring_init |
|
5 |
37 |
299 |
1 |
| sis_fill_rx_ring |
|
3 |
15 |
96 |
1 |
| sis_newbuf |
|
4 |
27 |
217 |
2 |
| sis_rxeof |
|
10 |
56 |
345 |
1 |
| sis_txeof |
|
11 |
43 |
311 |
1 |
| sis_tick |
|
2 |
13 |
76 |
1 |
| sis_intr |
|
8 |
32 |
192 |
1 |
| sis_encap |
|
8 |
46 |
356 |
3 |
| sis_start |
|
9 |
31 |
191 |
1 |
| sis_init |
|
9 |
70 |
593 |
1 |
| sis_ifmedia_upd |
|
2 |
14 |
71 |
1 |
| sis_ifmedia_sts |
|
1 |
10 |
58 |
2 |
| sis_ioctl |
|
12 |
44 |
250 |
3 |
| sis_watchdog |
|
3 |
15 |
79 |
1 |
| sis_stop |
|
8 |
49 |
417 |
1 |
| Source file: ./sys/dev/pci/if_re_pci.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| re_pci_probe |
|
7 |
17 |
130 |
3 |
| re_pci_attach |
|
13 |
67 |
507 |
3 |
| re_pci_detach |
|
3 |
16 |
141 |
2 |
| re_pci_activate |
|
5 |
17 |
93 |
2 |
| Source file: ./sys/dev/pci/ixgbe_phy.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ixgbe_out_i2c_byte_ack |
|
2 |
8 |
37 |
2 |
| ixgbe_in_i2c_byte_ack |
|
2 |
8 |
40 |
2 |
| ixgbe_ones_comp_byte_add |
|
1 |
6 |
37 |
2 |
| ixgbe_read_i2c_combined_generic_int |
|
17 |
57 |
339 |
5 |
| ixgbe_read_i2c_combined_generic |
|
1 |
5 |
33 |
4 |
| ixgbe_read_i2c_combined_generic_unlocked |
|
1 |
5 |
33 |
4 |
| ixgbe_write_i2c_combined_generic_int |
|
13 |
45 |
281 |
5 |
| ixgbe_write_i2c_combined_generic |
|
1 |
5 |
32 |
4 |
| ixgbe_write_i2c_combined_generic_unlocked |
|
1 |
5 |
32 |
4 |
| ixgbe_init_phy_ops_generic |
|
1 |
33 |
217 |
1 |
| ixgbe_identify_phy_generic |
|
9 |
45 |
218 |
1 |
| ixgbe_check_reset_blocked |
|
3 |
14 |
60 |
1 |
| ixgbe_validate_phy_addr |
|
3 |
12 |
70 |
2 |
| ixgbe_get_phy_id |
|
2 |
20 |
124 |
1 |
| ixgbe_get_phy_type_from_id |
|
9 |
30 |
94 |
1 |
| ixgbe_reset_phy_generic |
|
10 |
35 |
195 |
1 |
| ixgbe_read_phy_reg_mdi |
|
7 |
39 |
267 |
4 |
| ixgbe_read_phy_reg_generic |
|
2 |
15 |
91 |
4 |
| ixgbe_write_phy_reg_mdi |
|
7 |
37 |
252 |
4 |
| ixgbe_write_phy_reg_generic |
|
2 |
15 |
90 |
4 |
| ixgbe_setup_phy_link_generic |
|
13 |
83 |
416 |
1 |
| ixgbe_setup_phy_link_speed_generic |
|
6 |
19 |
112 |
3 |
| ixgbe_get_copper_speeds_supported |
|
7 |
28 |
135 |
1 |
| ixgbe_get_copper_link_capabilities_generic |
|
2 |
12 |
60 |
3 |
| ixgbe_check_phy_link_tnx |
|
4 |
31 |
141 |
3 |
| ixgbe_setup_phy_link_tnx |
|
8 |
50 |
278 |
1 |
| ixgbe_get_phy_firmware_version_tnx |
|
1 |
10 |
43 |
2 |
| ixgbe_get_phy_firmware_version_generic |
|
1 |
10 |
43 |
2 |
| ixgbe_reset_phy_nl |
|
16 |
95 |
494 |
1 |
| ixgbe_is_sfp |
|
11 |
18 |
57 |
1 |
| ixgbe_identify_module_generic |
|
3 |
18 |
77 |
1 |
| ixgbe_identify_sfp_module_generic |
|
51 |
195 |
1066 |
1 |
| ixgbe_get_supported_phy_sfp_layer_generic |
|
23 |
58 |
271 |
1 |
| ixgbe_identify_qsfp_module_generic |
|
27 |
127 |
738 |
1 |
| ixgbe_get_sfp_init_sequence_offsets |
|
26 |
67 |
399 |
3 |
| ixgbe_read_i2c_eeprom_generic |
|
1 |
8 |
39 |
3 |
| ixgbe_write_i2c_eeprom_generic |
|
1 |
8 |
38 |
3 |
| ixgbe_is_sfp_probe |
|
4 |
8 |
39 |
3 |
| ixgbe_read_i2c_byte_generic_int |
|
17 |
61 |
349 |
5 |
| ixgbe_read_i2c_byte_generic |
|
1 |
6 |
33 |
4 |
| ixgbe_read_i2c_byte_generic_unlocked |
|
1 |
6 |
33 |
4 |
| ixgbe_write_i2c_byte_generic_int |
|
13 |
47 |
259 |
5 |
| ixgbe_write_i2c_byte_generic |
|
1 |
6 |
32 |
4 |
| ixgbe_write_i2c_byte_generic_unlocked |
|
1 |
6 |
32 |
4 |
| ixgbe_i2c_start |
|
3 |
18 |
111 |
1 |
| ixgbe_i2c_stop |
|
5 |
23 |
136 |
1 |
| ixgbe_clock_in_i2c_byte |
|
2 |
12 |
65 |
2 |
| ixgbe_clock_out_i2c_byte |
|
5 |
26 |
151 |
2 |
| ixgbe_get_i2c_ack |
|
6 |
36 |
198 |
1 |
| ixgbe_clock_in_i2c_bit |
|
3 |
23 |
141 |
2 |
| ixgbe_clock_out_i2c_bit |
|
4 |
23 |
125 |
2 |
| ixgbe_raise_i2c_clk |
|
5 |
25 |
140 |
2 |
| ixgbe_lower_i2c_clk |
|
3 |
15 |
85 |
2 |
| ixgbe_set_i2c_data |
|
9 |
40 |
206 |
3 |
| ixgbe_get_i2c_data |
|
4 |
20 |
97 |
2 |
| ixgbe_i2c_bus_clear |
|
4 |
21 |
123 |
1 |
| ixgbe_tn_check_overtemp |
|
3 |
16 |
81 |
1 |
| ixgbe_set_copper_phy_power |
|
6 |
23 |
107 |
2 |
| Source file: ./sys/dev/pci/tgareg.h |
| Source file: ./sys/dev/pci/safevar.h |
| Source file: ./sys/dev/pci/if_vtereg.h |
| Source file: ./sys/dev/pci/if_vrreg.h |
| Source file: ./sys/dev/pci/auixpreg.h |
| Source file: ./sys/dev/pci/if_xl_pci.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| xl_pci_match |
|
1 |
5 |
37 |
3 |
| xl_pci_attach |
|
24 |
120 |
720 |
3 |
| xl_pci_detach |
|
4 |
14 |
110 |
2 |
| xl_pci_intr_ack |
|
1 |
5 |
24 |
1 |
| xl_pci_wol_power |
|
1 |
8 |
57 |
1 |
| Source file: ./sys/dev/pci/pciide_rdc_reg.h |
| Source file: ./sys/dev/pci/if_bge.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bge_readmem_ind |
|
4 |
12 |
101 |
2 |
| bge_writemem_ind |
|
4 |
10 |
93 |
3 |
| bge_writereg_ind |
|
1 |
6 |
57 |
3 |
| bge_writembx |
|
2 |
6 |
41 |
3 |
| bge_ape_lock_init |
|
12 |
44 |
198 |
1 |
| bge_ape_read_fw_ver |
|
5 |
32 |
196 |
1 |
| bge_ape_lock |
|
17 |
63 |
336 |
2 |
| bge_ape_unlock |
|
14 |
44 |
211 |
2 |
| bge_ape_send_event |
|
6 |
25 |
143 |
2 |
| bge_ape_driver_state_change |
|
6 |
42 |
193 |
2 |
| bge_nvram_getbyte |
|
7 |
34 |
249 |
3 |
| bge_read_nvram |
|
5 |
14 |
99 |
4 |
| bge_eeprom_getbyte |
|
4 |
22 |
158 |
3 |
| bge_read_eeprom |
|
4 |
12 |
83 |
4 |
| bge_miibus_readreg |
|
8 |
40 |
257 |
3 |
| bge_miibus_writereg |
|
10 |
36 |
245 |
4 |
| bge_miibus_statchg |
|
15 |
41 |
297 |
1 |
| bge_newbuf |
|
4 |
37 |
276 |
2 |
| bge_newbuf_jumbo |
|
8 |
53 |
423 |
2 |
| bge_init_rx_ring_std |
|
5 |
28 |
186 |
1 |
| bge_rxtick |
|
3 |
7 |
41 |
1 |
| bge_rxtick_jumbo |
|
3 |
7 |
41 |
1 |
| bge_fill_rx_ring_std |
|
5 |
20 |
126 |
1 |
| bge_free_rx_ring_std |
|
4 |
24 |
169 |
1 |
| bge_init_rx_ring_jumbo |
|
5 |
33 |
221 |
1 |
| bge_fill_rx_ring_jumbo |
|
5 |
20 |
126 |
1 |
| bge_free_rx_ring_jumbo |
|
4 |
24 |
169 |
1 |
| bge_free_tx_ring |
|
4 |
17 |
128 |
1 |
| bge_init_tx_ring |
|
7 |
30 |
196 |
1 |
| bge_iff |
|
4 |
29 |
203 |
1 |
| bge_sig_pre_reset |
|
3 |
5 |
29 |
2 |
| bge_sig_post_reset |
|
2 |
5 |
25 |
2 |
| bge_sig_legacy |
|
1 |
3 |
12 |
2 |
| bge_stop_fw |
|
1 |
3 |
12 |
2 |
| bge_dma_swap_options |
|
2 |
10 |
42 |
1 |
| bge_phy_addr |
|
7 |
19 |
104 |
1 |
| bge_chipinit |
|
34 |
106 |
700 |
1 |
| bge_blockinit |
|
94 |
402 |
2909 |
1 |
| bge_lookup_rev |
|
5 |
13 |
81 |
1 |
| bge_can_use_msi |
|
7 |
18 |
80 |
1 |
| bge_probe |
|
1 |
4 |
32 |
3 |
| bge_attach |
|
161 |
447 |
3192 |
3 |
| bge_detach |
|
4 |
23 |
215 |
2 |
| bge_activate |
|
5 |
21 |
112 |
2 |
| bge_reset |
|
40 |
150 |
1113 |
1 |
| bge_rxeof |
|
14 |
90 |
600 |
1 |
| bge_rxcsum |
|
12 |
27 |
160 |
3 |
| bge_txeof |
|
7 |
54 |
381 |
1 |
| bge_intr |
|
10 |
46 |
279 |
1 |
| bge_tick |
|
4 |
20 |
111 |
1 |
| bge_stats_update_regs |
|
8 |
33 |
251 |
1 |
| bge_stats_update |
|
1 |
20 |
190 |
1 |
| bge_compact_dma_runt |
|
14 |
52 |
389 |
1 |
| bge_cksum_pad |
|
6 |
23 |
161 |
1 |
| bge_encap |
|
20 |
70 |
470 |
3 |
| bge_start |
|
10 |
38 |
213 |
1 |
| bge_init |
|
16 |
88 |
597 |
1 |
| bge_ifmedia_upd |
|
11 |
55 |
303 |
1 |
| bge_ifmedia_sts |
|
4 |
26 |
146 |
2 |
| bge_ioctl |
|
18 |
64 |
368 |
3 |
| bge_rxrinfo |
|
3 |
19 |
168 |
2 |
| bge_watchdog |
|
1 |
8 |
41 |
1 |
| bge_stop_block |
|
3 |
12 |
86 |
3 |
| bge_stop |
|
9 |
67 |
474 |
2 |
| bge_link_upd |
|
26 |
77 |
504 |
1 |
| Source file: ./sys/dev/pci/ppbreg.h |
| Source file: ./sys/dev/pci/if_se.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| se_read_eeprom |
|
4 |
21 |
123 |
2 |
| se_get_mac_addr_eeprom |
|
5 |
19 |
142 |
2 |
| se_pcib_match |
|
1 |
9 |
49 |
1 |
| se_get_mac_addr_apc |
|
6 |
31 |
258 |
2 |
| se_miibus_cmd |
|
3 |
14 |
77 |
2 |
| se_miibus_readreg |
|
2 |
14 |
99 |
3 |
| se_miibus_writereg |
|
2 |
12 |
96 |
4 |
| se_miibus_statchg |
|
21 |
57 |
352 |
1 |
| se_iff |
|
5 |
32 |
239 |
1 |
| se_reset |
|
1 |
14 |
102 |
1 |
| se_match |
|
1 |
5 |
42 |
3 |
| se_attach |
|
20 |
156 |
1182 |
3 |
| se_activate |
|
5 |
21 |
113 |
2 |
| se_list_tx_init |
|
1 |
13 |
94 |
1 |
| se_list_tx_free |
|
3 |
13 |
86 |
1 |
| se_list_rx_init |
|
3 |
15 |
98 |
1 |
| se_list_rx_free |
|
3 |
13 |
86 |
1 |
| se_newbuf |
|
7 |
37 |
324 |
2 |
| se_discard_rxbuf |
|
2 |
13 |
111 |
2 |
| se_rxeof |
|
8 |
43 |
313 |
1 |
| se_txeof |
|
7 |
43 |
324 |
1 |
| se_tick |
|
4 |
18 |
116 |
1 |
| se_intr |
|
11 |
34 |
234 |
1 |
| se_encap |
|
16 |
59 |
450 |
3 |
| se_start |
|
12 |
34 |
239 |
1 |
| se_init |
|
3 |
38 |
287 |
1 |
| se_ifmedia_upd |
|
2 |
13 |
71 |
1 |
| se_ifmedia_sts |
|
1 |
9 |
56 |
2 |
| se_ioctl |
|
11 |
39 |
215 |
3 |
| se_watchdog |
|
2 |
12 |
69 |
1 |
| se_stop |
|
1 |
20 |
139 |
1 |
| Source file: ./sys/dev/pci/uhci_pci.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| uhci_pci_match |
|
4 |
9 |
68 |
3 |
| uhci_pci_activate |
|
2 |
14 |
104 |
2 |
| uhci_pci_attach |
|
9 |
70 |
540 |
3 |
| uhci_pci_attach_deferred |
|
2 |
21 |
147 |
1 |
| uhci_pci_detach |
|
4 |
17 |
116 |
2 |
| Source file: ./sys/dev/pci/pciide_cmd_reg.h |
| Source file: ./sys/dev/pci/pci.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pcimatch |
|
6 |
13 |
96 |
3 |
| pciattach |
|
3 |
30 |
248 |
3 |
| pcidetach |
|
1 |
4 |
25 |
2 |
| pciactivate |
|
4 |
22 |
113 |
2 |
| pci_suspend |
|
5 |
35 |
269 |
1 |
| pci_powerdown |
|
3 |
16 |
99 |
1 |
| pci_resume |
|
6 |
41 |
326 |
1 |
| pciprint |
|
3 |
17 |
109 |
2 |
| pcisubmatch |
|
5 |
12 |
92 |
3 |
| pci_probe_device |
|
25 |
124 |
885 |
4 |
| pci_detach_devices |
|
3 |
14 |
101 |
2 |
| pci_get_capability |
|
11 |
36 |
199 |
5 |
| pci_get_ht_capability |
|
9 |
22 |
135 |
5 |
| pci_find_device |
|
4 |
15 |
91 |
2 |
| pci_get_powerstate |
|
2 |
10 |
59 |
2 |
| pci_set_powerstate |
|
6 |
26 |
177 |
3 |
| pci_enumerate_bus |
|
13 |
36 |
273 |
3 |
| pci_reserve_resources |
|
56 |
166 |
1171 |
1 |
| pci_vpd_read |
|
5 |
25 |
189 |
5 |
| pci_vpd_write |
|
5 |
25 |
185 |
5 |
| pci_matchbyid |
|
4 |
11 |
81 |
3 |
| pci_disable_legacy_vga |
|
3 |
14 |
80 |
1 |
| pciopen |
|
7 |
14 |
86 |
4 |
| pciclose |
|
1 |
6 |
34 |
4 |
| pciioctl |
|
63 |
223 |
1299 |
5 |
| pci_disable_vga |
|
1 |
7 |
43 |
2 |
| pci_enable_vga |
|
1 |
7 |
41 |
2 |
| pci_route_vga |
|
2 |
11 |
77 |
1 |
| pci_unroute_vga |
|
2 |
11 |
77 |
1 |
| pci_primary_vga |
|
7 |
16 |
114 |
1 |
| Source file: ./sys/dev/pci/if_ep_pci.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ep_pci_match |
|
1 |
7 |
42 |
3 |
| ep_pci_attach |
|
5 |
39 |
259 |
3 |
| Source file: ./sys/dev/pci/dwiic_pci.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dwiic_pci_match |
|
1 |
4 |
32 |
3 |
| dwiic_pci_attach |
|
7 |
64 |
511 |
3 |
| dwiic_pci_activate |
|
2 |
13 |
69 |
2 |
| dwiic_pci_bus_scan |
|
3 |
13 |
78 |
3 |
| Source file: ./sys/dev/pci/if_nfereg.h |
| Source file: ./sys/dev/pci/piixreg.h |
| Source file: ./sys/dev/pci/ahci_pci.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ahci_lookup_device |
|
4 |
12 |
88 |
1 |
| ahci_no_match |
|
1 |
4 |
14 |
1 |
| ahci_vt8251_attach |
|
1 |
5 |
25 |
2 |
| ahci_ati_sb_idetoahci |
|
2 |
18 |
115 |
2 |
| ahci_ati_sb600_attach |
|
1 |
6 |
32 |
2 |
| ahci_ati_sb700_attach |
|
1 |
6 |
32 |
2 |
| ahci_amd_hudson2_attach |
|
1 |
6 |
32 |
2 |
| ahci_intel_attach |
|
1 |
5 |
25 |
2 |
| ahci_samsung_attach |
|
1 |
5 |
25 |
2 |
| ahci_pci_match |
|
6 |
16 |
107 |
3 |
| ahci_pci_attach |
|
10 |
37 |
235 |
3 |
| ahci_pci_detach |
|
1 |
9 |
56 |
2 |
| ahci_map_regs |
|
2 |
12 |
93 |
2 |
| ahci_unmap_regs |
|
1 |
6 |
40 |
1 |
| ahci_map_intr |
|
2 |
12 |
81 |
3 |
| ahci_unmap_intr |
|
1 |
5 |
30 |
1 |
| ahci_pci_activate |
|
1 |
6 |
47 |
2 |
| Source file: ./sys/dev/pci/pcidevs.h |
| Source file: ./sys/dev/pci/pciide_acard_reg.h |
| Source file: ./sys/dev/pci/if_ipwreg.h |
| Source file: ./sys/dev/pci/auacerreg.h |
| Source file: ./sys/dev/pci/fms.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fms_match |
|
3 |
8 |
59 |
3 |
| fms_attach |
|
10 |
96 |
749 |
3 |
| fms_read_codec |
|
7 |
23 |
162 |
3 |
| fms_write_codec |
|
4 |
15 |
106 |
3 |
| fms_attach_codec |
|
1 |
6 |
29 |
2 |
| fms_reset_codec |
|
1 |
8 |
55 |
1 |
| fms_intr |
|
11 |
37 |
240 |
1 |
| fms_open |
|
1 |
4 |
14 |
2 |
| fms_close |
|
1 |
3 |
8 |
1 |
| fms_set_params |
|
21 |
56 |
325 |
5 |
| fms_round_blocksize |
|
1 |
4 |
20 |
2 |
| fms_halt_output |
|
1 |
12 |
75 |
1 |
| fms_halt_input |
|
1 |
12 |
75 |
1 |
| fms_set_port |
|
1 |
5 |
37 |
2 |
| fms_get_port |
|
1 |
5 |
37 |
2 |
| fms_malloc |
|
6 |
47 |
345 |
5 |
| fms_free |
|
3 |
16 |
145 |
3 |
| fms_get_props |
|
1 |
5 |
15 |
1 |
| fms_query_devinfo |
|
1 |
5 |
37 |
2 |
| fms_trigger_output |
|
4 |
28 |
246 |
7 |
| fms_trigger_input |
|
4 |
28 |
246 |
7 |
| Source file: ./sys/dev/pci/if_lge.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| lge_eeprom_getword |
|
5 |
19 |
130 |
3 |
| lge_read_eeprom |
|
3 |
14 |
93 |
5 |
| lge_miibus_readreg |
|
6 |
16 |
131 |
3 |
| lge_miibus_writereg |
|
4 |
13 |
106 |
4 |
| lge_miibus_statchg |
|
6 |
26 |
144 |
1 |
| lge_setmulti |
|
6 |
30 |
234 |
1 |
| lge_reset |
|
4 |
12 |
76 |
1 |
| lge_probe |
|
1 |
5 |
37 |
3 |
| lge_attach |
|
13 |
138 |
1073 |
3 |
| lge_list_tx_init |
|
2 |
14 |
87 |
1 |
| lge_list_rx_init |
|
4 |
18 |
118 |
1 |
| lge_newbuf |
|
3 |
23 |
177 |
3 |
| lge_rxeof |
|
11 |
54 |
346 |
2 |
| lge_txeof |
|
5 |
24 |
151 |
1 |
| lge_tick |
|
5 |
23 |
155 |
1 |
| lge_intr |
|
9 |
34 |
197 |
1 |
| lge_encap |
|
4 |
27 |
197 |
3 |
| lge_start |
|
10 |
33 |
198 |
1 |
| lge_init |
|
4 |
62 |
443 |
1 |
| lge_ifmedia_upd |
|
2 |
13 |
73 |
1 |
| lge_ifmedia_sts |
|
1 |
8 |
54 |
2 |
| lge_ioctl |
|
19 |
57 |
338 |
3 |
| lge_watchdog |
|
2 |
12 |
67 |
1 |
| lge_stop |
|
5 |
27 |
236 |
1 |
| Source file: ./sys/dev/pci/if_nxe.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| nxe_match |
|
2 |
7 |
55 |
3 |
| nxe_attach |
|
7 |
58 |
392 |
3 |
| nxe_pci_map |
|
5 |
31 |
236 |
2 |
| nxe_pci_unmap |
|
1 |
7 |
51 |
1 |
| nxe_intr |
|
2 |
11 |
75 |
1 |
| nxe_ioctl |
|
10 |
42 |
250 |
3 |
| nxe_up |
|
13 |
107 |
825 |
1 |
| nxe_up_fw |
|
4 |
16 |
101 |
1 |
| nxe_lladdr |
|
1 |
10 |
112 |
1 |
| nxe_iff |
|
4 |
17 |
124 |
1 |
| nxe_down |
|
2 |
24 |
212 |
1 |
| nxe_start |
|
17 |
80 |
565 |
1 |
| nxe_complete |
|
5 |
34 |
229 |
1 |
| nxe_coalesce_m |
|
4 |
20 |
124 |
1 |
| nxe_load_pkt |
|
5 |
19 |
94 |
3 |
| nxe_rx_start |
|
8 |
47 |
339 |
1 |
| nxe_watchdog |
|
1 |
3 |
9 |
1 |
| nxe_media_change |
|
1 |
4 |
14 |
1 |
| nxe_media_status |
|
2 |
9 |
57 |
2 |
| nxe_link_state |
|
3 |
14 |
85 |
1 |
| nxe_board_info |
|
8 |
39 |
211 |
1 |
| nxe_user_info |
|
7 |
35 |
232 |
1 |
| nxe_init |
|
5 |
39 |
274 |
1 |
| nxe_uninit |
|
2 |
8 |
53 |
1 |
| nxe_mountroot |
|
3 |
24 |
195 |
1 |
| nxe_tick |
|
5 |
33 |
171 |
1 |
| nxe_ring_alloc |
|
2 |
15 |
108 |
3 |
| nxe_ring_sync |
|
1 |
5 |
42 |
3 |
| nxe_ring_free |
|
1 |
5 |
32 |
2 |
| nxe_ring_readable |
|
2 |
7 |
45 |
2 |
| nxe_ring_writeable |
|
2 |
7 |
45 |
2 |
| nxe_ring_cur |
|
1 |
4 |
21 |
2 |
| nxe_ring_next |
|
2 |
10 |
65 |
2 |
| nxe_pkt_alloc |
|
3 |
23 |
176 |
3 |
| nxe_pkt_free |
|
2 |
8 |
65 |
2 |
| nxe_pkt_get |
|
2 |
10 |
61 |
1 |
| nxe_pkt_put |
|
1 |
5 |
38 |
2 |
| nxe_pkt_used |
|
1 |
4 |
20 |
1 |
| nxe_dmamem_alloc |
|
5 |
29 |
236 |
3 |
| nxe_dmamem_free |
|
1 |
7 |
65 |
2 |
| nxe_read |
|
1 |
6 |
45 |
2 |
| nxe_write |
|
1 |
6 |
47 |
3 |
| nxe_wait |
|
3 |
11 |
62 |
5 |
| nxe_doorbell |
|
1 |
6 |
44 |
2 |
| nxe_crb_set |
|
4 |
13 |
91 |
2 |
| nxe_crb_read |
|
1 |
6 |
45 |
2 |
| nxe_crb_write |
|
1 |
6 |
47 |
3 |
| nxe_crb_wait |
|
3 |
11 |
62 |
5 |
| nxe_rom_lock |
|
2 |
8 |
44 |
1 |
| nxe_rom_unlock |
|
1 |
4 |
16 |
1 |
| nxe_rom_read |
|
3 |
23 |
153 |
3 |
| nxe_rom_read_region |
|
5 |
15 |
100 |
4 |
| Source file: ./sys/dev/pci/qlw_pci.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| qlw_pci_match |
|
3 |
11 |
86 |
3 |
| qlw_pci_attach |
|
29 |
158 |
955 |
3 |
| qlw_pci_detach |
|
3 |
17 |
115 |
2 |
| Source file: ./sys/dev/pci/if_nep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| nep_match |
|
3 |
8 |
54 |
3 |
| nep_attach |
|
14 |
91 |
769 |
3 |
| nep_pci_enaddr |
|
18 |
85 |
624 |
2 |
| nep_read |
|
1 |
4 |
28 |
2 |
| nep_write |
|
1 |
4 |
30 |
3 |
| nep_mii_readreg |
|
3 |
17 |
122 |
3 |
| nep_mii_writereg |
|
3 |
18 |
125 |
4 |
| nep_mii_statchg |
|
2 |
8 |
40 |
1 |
| nep_xmac_mii_statchg |
|
5 |
24 |
132 |
1 |
| nep_bmac_mii_statchg |
|
5 |
21 |
120 |
1 |
| nep_media_change |
|
2 |
7 |
43 |
1 |
| nep_media_status |
|
2 |
9 |
65 |
2 |
| nep_intr |
|
5 |
25 |
185 |
1 |
| nep_rx_proc |
|
9 |
70 |
498 |
1 |
| nep_extfree |
|
1 |
4 |
21 |
3 |
| nep_tx_proc |
|
5 |
33 |
220 |
1 |
| nep_init_ipp |
|
6 |
29 |
213 |
1 |
| nep_ipp_clear_dfifo |
|
1 |
21 |
238 |
2 |
| nep_init_rx_mac |
|
2 |
7 |
28 |
1 |
| nep_init_rx_xmac |
|
6 |
33 |
341 |
1 |
| nep_init_rx_bmac |
|
6 |
41 |
395 |
1 |
| nep_init_rx_channel |
|
5 |
49 |
442 |
2 |
| nep_init_tx_mac |
|
2 |
7 |
28 |
1 |
| nep_init_tx_xmac |
|
4 |
37 |
267 |
1 |
| nep_init_tx_bmac |
|
4 |
19 |
140 |
1 |
| nep_init_tx_channel |
|
4 |
41 |
363 |
2 |
| nep_enable_rx_mac |
|
6 |
32 |
183 |
1 |
| nep_disable_rx_mac |
|
2 |
13 |
89 |
1 |
| nep_stop_dma |
|
7 |
27 |
167 |
1 |
| nep_up |
|
12 |
97 |
790 |
1 |
| nep_down |
|
5 |
46 |
396 |
1 |
| nep_iff |
|
6 |
31 |
230 |
1 |
| nep_encap |
|
9 |
70 |
578 |
3 |
| nep_start |
|
11 |
32 |
197 |
1 |
| nep_watchdog |
|
1 |
4 |
16 |
1 |
| nep_tick |
|
1 |
9 |
47 |
1 |
| nep_ioctl |
|
10 |
36 |
218 |
3 |
| nep_fill_rx_ring |
|
6 |
38 |
240 |
1 |
| nep_dmamem_alloc |
|
6 |
31 |
248 |
2 |
| nep_dmamem_free |
|
1 |
8 |
78 |
2 |
| Source file: ./sys/dev/pci/if_em.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| em_probe |
|
1 |
6 |
42 |
3 |
| em_defer_attach |
|
3 |
27 |
172 |
1 |
| em_attach |
|
42 |
161 |
943 |
3 |
| em_start |
|
14 |
59 |
343 |
1 |
| em_ioctl |
|
14 |
58 |
308 |
3 |
| em_watchdog |
|
2 |
14 |
90 |
1 |
| em_init |
|
26 |
97 |
465 |
1 |
| em_intr |
|
8 |
28 |
174 |
1 |
| em_media_status |
|
11 |
43 |
234 |
2 |
| em_media_change |
|
10 |
41 |
238 |
1 |
| em_flowstatus |
|
13 |
18 |
161 |
1 |
| em_encap |
|
20 |
89 |
632 |
2 |
| em_82547_move_tail_locked |
|
5 |
27 |
156 |
1 |
| em_82547_move_tail |
|
1 |
8 |
34 |
1 |
| em_82547_fifo_workaround |
|
4 |
15 |
83 |
2 |
| em_82547_update_fifo_head |
|
2 |
7 |
48 |
2 |
| em_82547_tx_fifo_reset |
|
5 |
24 |
220 |
1 |
| em_iff |
|
10 |
46 |
333 |
1 |
| em_local_timer |
|
4 |
14 |
82 |
1 |
| em_update_link_status |
|
12 |
41 |
267 |
1 |
| em_stop |
|
4 |
22 |
147 |
2 |
| em_identify_hardware |
|
7 |
23 |
219 |
1 |
| em_legacy_irq_quirk_spt |
|
3 |
15 |
92 |
1 |
| em_allocate_pci_resources |
|
23 |
103 |
733 |
1 |
| em_free_pci_resources |
|
5 |
20 |
160 |
1 |
| em_hardware_init |
|
17 |
59 |
406 |
1 |
| em_setup_interface |
|
15 |
53 |
448 |
1 |
| em_detach |
|
4 |
23 |
155 |
2 |
| em_activate |
|
5 |
21 |
112 |
2 |
| em_smartspeed |
|
17 |
46 |
308 |
1 |
| em_dma_malloc |
|
5 |
29 |
227 |
3 |
| em_dma_free |
|
1 |
7 |
67 |
2 |
| em_allocate_transmit_structures |
|
2 |
14 |
91 |
1 |
| em_setup_transmit_structures |
|
5 |
27 |
175 |
1 |
| em_initialize_transmit_unit |
|
15 |
67 |
506 |
1 |
| em_free_transmit_structures |
|
5 |
29 |
195 |
1 |
| em_transmit_checksum_setup |
|
7 |
45 |
334 |
5 |
| em_txeof |
|
8 |
42 |
282 |
1 |
| em_get_buf |
|
3 |
30 |
206 |
2 |
| em_allocate_receive_structures |
|
4 |
32 |
195 |
1 |
| em_setup_receive_structures |
|
3 |
18 |
134 |
1 |
| em_initialize_receive_unit |
|
17 |
61 |
467 |
1 |
| em_free_receive_structures |
|
5 |
32 |
220 |
1 |
| em_rxfill |
|
4 |
24 |
152 |
1 |
| em_rxeof |
|
20 |
113 |
713 |
1 |
| em_receive_checksum |
|
7 |
20 |
122 |
3 |
| em_enable_hw_vlans |
|
1 |
7 |
40 |
1 |
| em_enable_intr |
|
1 |
4 |
23 |
1 |
| em_disable_intr |
|
2 |
7 |
48 |
1 |
| em_write_pci_cfg |
|
2 |
14 |
106 |
3 |
| em_read_pci_cfg |
|
2 |
10 |
81 |
3 |
| em_pci_set_mwi |
|
1 |
6 |
49 |
1 |
| em_pci_clear_mwi |
|
1 |
6 |
49 |
1 |
| em_read_pcie_cap_reg |
|
1 |
4 |
20 |
3 |
| em_fill_descriptors |
|
7 |
28 |
207 |
3 |
| em_disable_aspm |
|
10 |
34 |
166 |
1 |
| em_flush_tx_ring |
|
2 |
22 |
208 |
1 |
| em_flush_rx_ring |
|
1 |
16 |
137 |
1 |
| em_flush_desc_rings |
|
4 |
17 |
129 |
1 |
| em_update_stats_counters |
|
6 |
83 |
1035 |
1 |
| em_print_hw_stats |
|
1 |
43 |
343 |
1 |
| Source file: ./sys/dev/pci/agp_intel.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| agp_intel_probe |
|
18 |
27 |
116 |
3 |
| agp_intel_attach |
|
26 |
118 |
705 |
3 |
| agp_intel_activate |
|
3 |
13 |
55 |
2 |
| agp_intel_save |
|
6 |
25 |
132 |
1 |
| agp_intel_restore |
|
10 |
53 |
278 |
1 |
| agp_intel_get_aperture |
|
1 |
8 |
68 |
1 |
| agp_intel_set_aperture |
|
2 |
11 |
95 |
2 |
| agp_intel_bind_page |
|
1 |
6 |
46 |
4 |
| agp_intel_unbind_page |
|
1 |
5 |
38 |
2 |
| agp_intel_flush_tlb |
|
6 |
26 |
128 |
1 |
| Source file: ./sys/dev/pci/auglx.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| auglx_match |
|
1 |
5 |
45 |
3 |
| auglx_attach |
|
6 |
43 |
315 |
3 |
| auglx_read_codec |
|
8 |
36 |
235 |
3 |
| auglx_write_codec |
|
4 |
22 |
147 |
3 |
| auglx_attach_codec |
|
1 |
6 |
29 |
2 |
| auglx_reset_codec |
|
4 |
17 |
103 |
1 |
| auglx_flags_codec |
|
1 |
4 |
11 |
1 |
| auglx_open |
|
1 |
4 |
14 |
2 |
| auglx_close |
|
1 |
3 |
8 |
1 |
| auglx_set_params |
|
7 |
42 |
242 |
5 |
| auglx_round_blocksize |
|
1 |
4 |
20 |
2 |
| auglx_halt_output |
|
1 |
8 |
56 |
1 |
| auglx_halt_input |
|
1 |
9 |
56 |
1 |
| auglx_set_port |
|
1 |
5 |
35 |
2 |
| auglx_get_port |
|
1 |
5 |
35 |
2 |
| auglx_query_devinfo |
|
1 |
5 |
35 |
2 |
| auglx_allocm |
|
4 |
25 |
158 |
5 |
| auglx_freem |
|
3 |
14 |
94 |
3 |
| auglx_round_buffersize |
|
2 |
6 |
27 |
3 |
| auglx_get_props |
|
1 |
4 |
15 |
1 |
| auglx_intr |
|
6 |
36 |
223 |
1 |
| auglx_trigger_output |
|
9 |
49 |
458 |
7 |
| auglx_trigger_input |
|
9 |
49 |
460 |
7 |
| auglx_allocmem |
|
5 |
46 |
299 |
4 |
| auglx_freemem |
|
1 |
7 |
66 |
2 |
| auglx_alloc_prd |
|
5 |
39 |
284 |
3 |
| auglx_free_prd |
|
1 |
7 |
70 |
2 |
| auglx_activate |
|
2 |
7 |
52 |
2 |
| Source file: ./sys/dev/pci/sv.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sv_write |
|
1 |
4 |
30 |
3 |
| sv_read |
|
1 |
4 |
28 |
2 |
| sv_read_indirect |
|
2 |
9 |
56 |
2 |
| sv_write_indirect |
|
5 |
15 |
83 |
3 |
| sv_match |
|
3 |
8 |
54 |
3 |
| sv_attach |
|
9 |
86 |
611 |
3 |
| sv_dumpregs |
|
5 |
21 |
148 |
1 |
| sv_intr |
|
6 |
21 |
116 |
1 |
| sv_allocmem |
|
5 |
30 |
234 |
4 |
| sv_freemem |
|
1 |
8 |
71 |
2 |
| sv_open |
|
10 |
56 |
317 |
2 |
| sv_close |
|
1 |
8 |
37 |
1 |
| sv_set_params |
|
19 |
73 |
491 |
5 |
| sv_round_blocksize |
|
1 |
4 |
23 |
2 |
| sv_dma_init_input |
|
4 |
22 |
150 |
3 |
| sv_dma_init_output |
|
4 |
21 |
145 |
3 |
| sv_dma_output |
|
2 |
20 |
148 |
5 |
| sv_dma_input |
|
2 |
19 |
153 |
5 |
| sv_halt_out_dma |
|
1 |
13 |
70 |
1 |
| sv_halt_in_dma |
|
1 |
13 |
70 |
1 |
| sv_query_devinfo |
|
12 |
92 |
859 |
2 |
| sv_mixer_set_port |
|
28 |
125 |
881 |
2 |
| sv_mixer_get_port |
|
25 |
71 |
581 |
2 |
| sv_init_mixer |
|
3 |
18 |
115 |
1 |
| sv_malloc |
|
3 |
17 |
115 |
5 |
| sv_free |
|
3 |
13 |
93 |
3 |
| sv_get_props |
|
1 |
4 |
15 |
1 |
| Source file: ./sys/dev/pci/ixgbe_x550.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ixgbe_init_ops_X550 |
|
2 |
20 |
133 |
1 |
| ixgbe_read_cs4227 |
|
1 |
5 |
34 |
3 |
| ixgbe_write_cs4227 |
|
1 |
5 |
33 |
3 |
| ixgbe_read_pe |
|
2 |
8 |
54 |
3 |
| ixgbe_write_pe |
|
2 |
8 |
53 |
3 |
| ixgbe_reset_cs4227 |
|
15 |
56 |
309 |
1 |
| ixgbe_check_cs4227 |
|
11 |
50 |
297 |
1 |
| ixgbe_setup_mux_ctl |
|
2 |
11 |
63 |
1 |
| ixgbe_identify_phy_x550em |
|
7 |
29 |
117 |
1 |
| ixgbe_read_phy_reg_x550em |
|
1 |
5 |
22 |
4 |
| ixgbe_write_phy_reg_x550em |
|
1 |
5 |
21 |
4 |
| ixgbe_init_ops_X550EM |
|
3 |
38 |
276 |
1 |
| ixgbe_init_eeprom_params_X550 |
|
2 |
19 |
106 |
1 |
| ixgbe_iosf_wait |
|
5 |
17 |
89 |
2 |
| ixgbe_write_iosf_sb_reg_x550 |
|
4 |
27 |
173 |
4 |
| ixgbe_read_iosf_sb_reg_x550 |
|
5 |
28 |
181 |
4 |
| ixgbe_get_media_type_X550em |
|
6 |
22 |
70 |
1 |
| ixgbe_supported_sfp_modules_X550em |
|
15 |
28 |
95 |
2 |
| ixgbe_identify_sfp_module_X550em |
|
2 |
11 |
49 |
1 |
| ixgbe_setup_sfp_modules_X550em |
|
2 |
12 |
57 |
1 |
| ixgbe_init_mac_link_ops_X550em |
|
3 |
22 |
117 |
1 |
| ixgbe_get_link_capabilities_X550em |
|
7 |
26 |
122 |
3 |
| ixgbe_get_lasi_ext_t_x550em |
|
14 |
50 |
282 |
2 |
| ixgbe_enable_lasi_ext_t_x550em |
|
8 |
49 |
270 |
1 |
| ixgbe_setup_kr_speed_x550em |
|
4 |
23 |
105 |
2 |
| ixgbe_init_phy_ops_X550em |
|
9 |
52 |
291 |
1 |
| ixgbe_reset_hw_X550em |
|
17 |
66 |
413 |
1 |
| ixgbe_init_ext_t_x550em |
|
5 |
27 |
116 |
1 |
| ixgbe_setup_kr_x550em |
|
1 |
4 |
21 |
1 |
| ixgbe_setup_mac_link_sfp_x550em |
|
7 |
51 |
345 |
3 |
| ixgbe_setup_ixfi_x550em |
|
14 |
88 |
453 |
2 |
| ixgbe_ext_phy_t_x550em_get_link |
|
3 |
18 |
96 |
2 |
| ixgbe_setup_internal_phy_t_x550em |
|
9 |
36 |
164 |
1 |
| ixgbe_setup_phy_loopback_x550em |
|
8 |
51 |
273 |
1 |
| ixgbe_read_ee_hostif_data_X550 |
|
2 |
21 |
139 |
3 |
| ixgbe_read_ee_hostif_X550 |
|
2 |
14 |
79 |
3 |
| ixgbe_read_ee_hostif_buffer_X550 |
|
7 |
53 |
312 |
4 |
| ixgbe_write_ee_hostif_data_X550 |
|
1 |
18 |
122 |
3 |
| ixgbe_write_ee_hostif_X550 |
|
2 |
15 |
83 |
3 |
| ixgbe_checksum_ptr_x550 |
|
15 |
50 |
278 |
6 |
| ixgbe_calc_checksum_X550 |
|
16 |
54 |
270 |
3 |
| ixgbe_calc_eeprom_checksum_X550 |
|
1 |
4 |
19 |
1 |
| ixgbe_validate_eeprom_checksum_X550 |
|
6 |
27 |
142 |
2 |
| ixgbe_update_eeprom_checksum_X550 |
|
4 |
21 |
103 |
1 |
| ixgbe_update_flash_X550 |
|
1 |
14 |
81 |
1 |
| ixgbe_get_supported_physical_layer_X550em |
|
7 |
31 |
139 |
1 |
| ixgbe_get_bus_info_X550em |
|
1 |
8 |
44 |
1 |
| ixgbe_disable_rx_x550 |
|
4 |
24 |
138 |
1 |
| ixgbe_get_lcd_t_x550em |
|
6 |
21 |
111 |
2 |
| ixgbe_setup_fc_X550em |
|
12 |
51 |
237 |
1 |
| ixgbe_set_mux |
|
3 |
13 |
62 |
2 |
| ixgbe_acquire_swfw_sync_X550em |
|
3 |
11 |
52 |
2 |
| ixgbe_release_swfw_sync_X550em |
|
2 |
7 |
37 |
2 |
| ixgbe_handle_lasi_ext_t_x550em |
|
4 |
11 |
61 |
1 |
| ixgbe_setup_mac_link_t_X550em |
|
4 |
18 |
91 |
3 |
| ixgbe_check_link_t_X550em |
|
7 |
25 |
147 |
4 |
| ixgbe_reset_phy_t_X550em |
|
2 |
8 |
34 |
1 |
| ixgbe_led_on_t_X550em |
|
2 |
13 |
75 |
2 |
| ixgbe_led_off_t_X550em |
|
2 |
13 |
75 |
2 |
| Source file: ./sys/dev/pci/siop_pci.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| siop_pci_match |
|
2 |
9 |
56 |
3 |
| siop_pci_attach |
|
2 |
9 |
70 |
3 |
| Source file: ./sys/dev/pci/agp_via.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| agp_via_probe |
|
7 |
13 |
97 |
3 |
| agp_via_attach |
|
8 |
59 |
439 |
3 |
| agp_via_activate |
|
3 |
13 |
55 |
2 |
| agp_via_save |
|
1 |
9 |
75 |
1 |
| agp_via_restore |
|
1 |
10 |
80 |
1 |
| agp_via_get_aperture |
|
1 |
8 |
69 |
1 |
| agp_via_set_aperture |
|
2 |
14 |
127 |
2 |
| agp_via_bind_page |
|
1 |
6 |
44 |
4 |
| agp_via_unbind_page |
|
1 |
5 |
38 |
2 |
| agp_via_flush_tlb |
|
2 |
18 |
138 |
1 |
| Source file: ./sys/dev/pci/gdt_pci.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| gdt_pci_probe |
|
9 |
15 |
121 |
3 |
| gdt_pci_attach |
|
85 |
330 |
2192 |
3 |
| gdt_pci_enable_intr |
|
4 |
26 |
162 |
1 |
| gdt_pci_copy_cmd |
|
1 |
3 |
14 |
2 |
| gdt_pci_get_status |
|
1 |
4 |
14 |
1 |
| gdt_pci_intr |
|
1 |
3 |
14 |
2 |
| gdt_pci_release_event |
|
1 |
3 |
14 |
2 |
| gdt_pci_set_sema0 |
|
1 |
4 |
24 |
1 |
| gdt_pci_test_busy |
|
1 |
4 |
14 |
1 |
| gdt_pcinew_copy_cmd |
|
1 |
3 |
14 |
2 |
| gdt_pcinew_get_status |
|
1 |
4 |
14 |
1 |
| gdt_pcinew_intr |
|
1 |
3 |
14 |
2 |
| gdt_pcinew_release_event |
|
1 |
3 |
14 |
2 |
| gdt_pcinew_set_sema0 |
|
1 |
4 |
24 |
1 |
| gdt_pcinew_test_busy |
|
1 |
4 |
14 |
1 |
| gdt_mpr_copy_cmd |
|
1 |
16 |
134 |
2 |
| gdt_mpr_get_status |
|
1 |
5 |
34 |
1 |
| gdt_mpr_intr |
|
4 |
23 |
187 |
2 |
| gdt_mpr_release_event |
|
2 |
7 |
59 |
2 |
| gdt_mpr_set_sema0 |
|
1 |
5 |
35 |
1 |
| gdt_mpr_test_busy |
|
1 |
6 |
38 |
1 |
| Source file: ./sys/dev/pci/siop_pci_common.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| siop_lookup_product |
|
7 |
13 |
91 |
2 |
| siop_pci_attach_common |
|
18 |
108 |
662 |
4 |
| siop_pci_reset |
|
7 |
36 |
285 |
1 |
| Source file: ./sys/dev/pci/if_ne_pci.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ne_pci_lookup |
|
4 |
12 |
71 |
1 |
| ne_pci_match |
|
2 |
7 |
43 |
3 |
| ne_pci_attach |
|
7 |
60 |
371 |
3 |
| Source file: ./sys/dev/pci/pciide_pdc202xx_reg.h |
| Source file: ./sys/dev/pci/if_skvar.h |
| Source file: ./sys/dev/pci/pcscp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pcscp_match |
|
3 |
11 |
58 |
3 |
| pcscp_attach |
|
11 |
96 |
686 |
3 |
| pcscp_read_reg |
|
1 |
5 |
32 |
2 |
| pcscp_write_reg |
|
1 |
5 |
36 |
3 |
| pcscp_dma_isintr |
|
1 |
5 |
35 |
1 |
| pcscp_dma_reset |
|
1 |
6 |
36 |
1 |
| pcscp_dma_intr |
|
22 |
87 |
604 |
1 |
| pcscp_dma_setup |
|
9 |
40 |
303 |
5 |
| pcscp_dma_go |
|
5 |
18 |
154 |
1 |
| pcscp_dma_stop |
|
2 |
8 |
57 |
1 |
| pcscp_dma_isactive |
|
2 |
7 |
42 |
1 |
| Source file: ./sys/dev/pci/xhci_pci.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| xhci_pci_match |
|
4 |
9 |
68 |
3 |
| xhci_pci_port_route |
|
1 |
19 |
184 |
1 |
| xhci_pci_attach |
|
12 |
64 |
513 |
3 |
| xhci_pci_detach |
|
4 |
17 |
116 |
2 |
| xhci_pci_activate |
|
3 |
13 |
65 |
2 |
| xhci_pci_takecontroller |
|
9 |
31 |
214 |
2 |
| Source file: ./sys/dev/pci/if_ath_pci.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ath_pci_match |
|
3 |
13 |
75 |
3 |
| ath_pci_attach |
|
8 |
48 |
330 |
3 |
| ath_pci_detach |
|
3 |
15 |
107 |
2 |
| Source file: ./sys/dev/pci/piixpm.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| piixpm_match |
|
1 |
5 |
40 |
3 |
| piixpm_attach |
|
19 |
88 |
614 |
3 |
| piixpm_i2c_acquire_bus |
|
4 |
7 |
52 |
2 |
| piixpm_i2c_release_bus |
|
4 |
7 |
42 |
2 |
| piixpm_i2c_exec |
|
25 |
90 |
640 |
8 |
| piixpm_intr |
|
9 |
36 |
240 |
1 |
| Source file: ./sys/dev/pci/ppb.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ppbmatch |
|
5 |
11 |
79 |
3 |
| ppbattach |
|
32 |
148 |
1280 |
3 |
| ppbdetach |
|
6 |
30 |
190 |
2 |
| ppbactivate |
|
13 |
96 |
734 |
2 |
| ppb_alloc_busrange |
|
3 |
16 |
120 |
3 |
| ppb_alloc_resources |
|
29 |
129 |
951 |
2 |
| ppb_intr |
|
4 |
19 |
110 |
1 |
| ppb_hotplug_insert |
|
2 |
8 |
52 |
1 |
| ppb_hotplug_insert_finish |
|
1 |
5 |
25 |
1 |
| ppb_hotplug_fixup |
|
3 |
15 |
83 |
1 |
| ppb_hotplug_fixup_type0 |
|
3 |
16 |
109 |
3 |
| ppb_hotplug_fixup_type1 |
|
5 |
33 |
265 |
3 |
| ppb_hotplug_rescan |
|
2 |
9 |
53 |
1 |
| ppb_hotplug_remove |
|
5 |
29 |
216 |
1 |
| ppbprint |
|
2 |
8 |
45 |
2 |
| Source file: ./sys/dev/pci/if_etreg.h |
| Source file: ./sys/dev/pci/if_stereg.h |
| Source file: ./sys/dev/pci/if_jmevar.h |
| Source file: ./sys/dev/pci/if_ngereg.h |
| Source file: ./sys/dev/pci/if_iwmvar.h |
| Source file: ./sys/dev/pci/if_bcereg.h |
| Source file: ./sys/dev/pci/if_rl_pci.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rl_pci_match |
|
4 |
10 |
78 |
3 |
| rl_pci_attach |
|
8 |
43 |
311 |
3 |
| rl_pci_detach |
|
3 |
13 |
91 |
2 |
| Source file: ./sys/dev/pci/cy82c693reg.h |
| Source file: ./sys/dev/pci/ciss_pci.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ciss_pci_match |
|
1 |
5 |
37 |
3 |
| ciss_pci_attach |
|
17 |
77 |
622 |
3 |
| ciss_activate |
|
2 |
11 |
47 |
2 |
| Source file: ./sys/dev/pci/if_iwnreg.h |
| Source file: ./sys/dev/pci/if_xge.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pif_wcsr |
|
3 |
11 |
112 |
3 |
| pif_rcsr |
|
3 |
11 |
90 |
2 |
| txp_wcsr |
|
3 |
11 |
112 |
3 |
| pif_wkey |
|
7 |
17 |
157 |
3 |
| xge_match |
|
1 |
5 |
37 |
3 |
| xge_attach |
|
41 |
209 |
1520 |
3 |
| xge_ifmedia_status |
|
2 |
10 |
67 |
2 |
| xge_xgmii_mediachange |
|
1 |
4 |
14 |
1 |
| xge_enable |
|
2 |
11 |
55 |
1 |
| xge_init |
|
5 |
45 |
286 |
1 |
| xge_stop |
|
2 |
12 |
70 |
2 |
| xge_intr |
|
26 |
93 |
668 |
1 |
| xge_ioctl |
|
13 |
43 |
246 |
3 |
| xge_setmulti |
|
9 |
46 |
278 |
1 |
| xge_setpromisc |
|
2 |
11 |
55 |
1 |
| xge_start |
|
19 |
73 |
505 |
1 |
| xge_alloc_txmem |
|
9 |
41 |
274 |
1 |
| xge_alloc_rxmem |
|
10 |
44 |
335 |
1 |
| xge_add_rxbuf |
|
23 |
60 |
692 |
2 |
| xge_setup_xgxs_xena |
|
2 |
9 |
50 |
1 |
| xge_setup_xgxs_herc |
|
2 |
9 |
50 |
1 |
| Source file: ./sys/dev/pci/dpt_pci.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dpt_pci_match |
|
3 |
12 |
70 |
3 |
| dpt_pci_attach |
|
8 |
42 |
252 |
3 |
| dpt_activate |
|
2 |
14 |
60 |
2 |
| Source file: ./sys/dev/pci/trm_pci.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| trm_pci_probe |
|
3 |
11 |
57 |
3 |
| trm_pci_attach |
|
8 |
44 |
307 |
3 |
| Source file: ./sys/dev/pci/pchtemp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pchtemp_match |
|
1 |
4 |
32 |
3 |
| pchtemp_attach |
|
4 |
32 |
230 |
3 |
| pchtemp_refresh |
|
1 |
7 |
49 |
1 |
| Source file: ./sys/dev/pci/glxreg.h |
| Source file: ./sys/dev/pci/fmsradio.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fmsradio_attach |
|
5 |
32 |
242 |
1 |
| sf256pcs_probe |
|
2 |
17 |
126 |
1 |
| sf256pcs_hw_read |
|
3 |
17 |
128 |
3 |
| sf256pcs_write_bit |
|
2 |
11 |
89 |
4 |
| sf256pcs_init |
|
1 |
8 |
57 |
4 |
| sf256pcs_rset |
|
1 |
8 |
57 |
4 |
| sf256pcpr_probe |
|
2 |
17 |
126 |
1 |
| sf256pcpr_hw_read |
|
3 |
18 |
123 |
3 |
| sf256pcpr_write_bit |
|
2 |
10 |
85 |
4 |
| sf256pcpr_init |
|
1 |
8 |
55 |
4 |
| sf256pcpr_rset |
|
1 |
8 |
55 |
4 |
| sf64pcr_probe |
|
2 |
17 |
126 |
1 |
| sf64pcr_hw_read |
|
6 |
27 |
262 |
3 |
| sf64pcr_write_bit |
|
2 |
13 |
100 |
4 |
| sf64pcr_init |
|
1 |
8 |
49 |
4 |
| sf64pcr_rset |
|
1 |
5 |
18 |
4 |
| fmsradio_set_mute |
|
6 |
27 |
172 |
1 |
| fmsradio_get_info |
|
9 |
40 |
292 |
2 |
| fmsradio_set_info |
|
4 |
13 |
119 |
2 |
| fmsradio_search |
|
1 |
9 |
60 |
2 |
| Source file: ./sys/dev/pci/if_sk.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sk_win_read_4 |
|
1 |
4 |
20 |
2 |
| sk_win_read_2 |
|
1 |
4 |
20 |
2 |
| sk_win_read_1 |
|
1 |
4 |
20 |
2 |
| sk_win_write_4 |
|
1 |
4 |
24 |
3 |
| sk_win_write_2 |
|
1 |
4 |
24 |
3 |
| sk_win_write_1 |
|
1 |
4 |
24 |
3 |
| sk_xmac_miibus_readreg |
|
7 |
25 |
161 |
3 |
| sk_xmac_miibus_writereg |
|
7 |
24 |
172 |
4 |
| sk_xmac_miibus_statchg |
|
3 |
12 |
81 |
1 |
| sk_marv_miibus_readreg |
|
7 |
32 |
195 |
3 |
| sk_marv_miibus_writereg |
|
4 |
17 |
129 |
4 |
| sk_marv_miibus_statchg |
|
1 |
5 |
32 |
1 |
| sk_setfilt |
|
1 |
7 |
96 |
3 |
| sk_iff |
|
2 |
8 |
36 |
1 |
| sk_iff_xmac |
|
7 |
41 |
313 |
1 |
| sk_iff_yukon |
|
6 |
40 |
303 |
1 |
| sk_init_rx_ring |
|
3 |
22 |
178 |
1 |
| sk_fill_rx_ring |
|
3 |
10 |
62 |
1 |
| sk_init_tx_ring |
|
5 |
38 |
288 |
1 |
| sk_newbuf |
|
3 |
36 |
260 |
1 |
| sk_ifmedia_upd |
|
1 |
6 |
31 |
1 |
| sk_ifmedia_sts |
|
1 |
7 |
51 |
2 |
| sk_ioctl |
|
12 |
44 |
252 |
3 |
| skc_probe |
|
4 |
13 |
96 |
3 |
| skc_reset |
|
5 |
38 |
255 |
1 |
| sk_probe |
|
7 |
14 |
73 |
3 |
| sk_attach |
|
26 |
171 |
1263 |
3 |
| sk_reset |
|
5 |
16 |
58 |
1 |
| sk_detach |
|
3 |
21 |
181 |
2 |
| sk_activate |
|
3 |
17 |
87 |
2 |
| skcprint |
|
4 |
10 |
66 |
2 |
| skc_attach |
|
29 |
148 |
890 |
3 |
| skc_detach |
|
4 |
13 |
92 |
2 |
| skc_activate |
|
2 |
15 |
71 |
2 |
| sk_encap |
|
11 |
68 |
485 |
3 |
| sk_start |
|
8 |
31 |
183 |
1 |
| sk_watchdog |
|
2 |
10 |
56 |
1 |
| sk_rxvalid |
|
7 |
16 |
97 |
3 |
| sk_rxeof |
|
8 |
51 |
355 |
1 |
| sk_txeof |
|
8 |
39 |
311 |
1 |
| sk_tick |
|
6 |
26 |
156 |
1 |
| sk_yukon_tick |
|
1 |
10 |
54 |
1 |
| sk_intr_bcom |
|
6 |
37 |
238 |
1 |
| sk_intr_xmac |
|
6 |
18 |
113 |
1 |
| sk_intr_yukon |
|
3 |
14 |
80 |
1 |
| sk_intr |
|
31 |
68 |
424 |
1 |
| sk_init_xmac |
|
8 |
87 |
689 |
1 |
| sk_init_yukon |
|
10 |
95 |
749 |
1 |
| sk_init |
|
13 |
102 |
748 |
1 |
| sk_stop |
|
20 |
104 |
763 |
2 |
| sk_dump_txdesc |
|
1 |
10 |
82 |
2 |
| sk_dump_bytes |
|
11 |
24 |
183 |
2 |
| sk_dump_mbuf |
|
3 |
12 |
83 |
1 |
| Source file: ./sys/dev/pci/cy82c693var.h |
| Source file: ./sys/dev/pci/if_ixl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ixl_aq_dva |
|
2 |
6 |
53 |
2 |
| ixl_match |
|
1 |
4 |
32 |
3 |
| ixl_attach |
|
26 |
203 |
1501 |
3 |
| ixl_media_add |
|
3 |
11 |
84 |
2 |
| ixl_media_change |
|
1 |
4 |
14 |
1 |
| ixl_media_status |
|
1 |
7 |
43 |
2 |
| ixl_watchdog |
|
1 |
3 |
9 |
1 |
| ixl_ioctl |
|
15 |
45 |
255 |
3 |
| ixl_hmc_kva |
|
2 |
10 |
74 |
3 |
| ixl_hmc_len |
|
1 |
5 |
33 |
2 |
| ixl_up |
|
3 |
28 |
184 |
1 |
| ixl_iff |
|
5 |
27 |
195 |
1 |
| ixl_down |
|
1 |
14 |
104 |
1 |
| ixl_txr_alloc |
|
8 |
45 |
323 |
2 |
| ixl_txr_config |
|
1 |
20 |
170 |
2 |
| ixl_txr_unconfig |
|
1 |
6 |
43 |
2 |
| ixl_txr_clean |
|
3 |
18 |
115 |
2 |
| ixl_txr_enable |
|
3 |
16 |
105 |
2 |
| ixl_txr_disable |
|
3 |
16 |
104 |
2 |
| ixl_txr_free |
|
2 |
13 |
108 |
2 |
| ixl_load_mbuf |
|
3 |
10 |
69 |
3 |
| ixl_start |
|
12 |
71 |
459 |
1 |
| ixl_txeof |
|
5 |
43 |
299 |
2 |
| ixl_rxr_alloc |
|
8 |
49 |
365 |
2 |
| ixl_rxr_clean |
|
4 |
24 |
166 |
2 |
| ixl_rxr_enable |
|
3 |
16 |
105 |
2 |
| ixl_rxr_config |
|
1 |
27 |
213 |
2 |
| ixl_rxr_unconfig |
|
1 |
6 |
45 |
2 |
| ixl_rxr_disable |
|
3 |
16 |
104 |
2 |
| ixl_rxr_free |
|
2 |
13 |
108 |
2 |
| ixl_rxeof |
|
7 |
67 |
438 |
2 |
| ixl_rxfill |
|
7 |
47 |
317 |
2 |
| ixl_rxrefill |
|
1 |
6 |
31 |
1 |
| ixl_intr |
|
3 |
17 |
96 |
1 |
| ixl_arq_link_status |
|
2 |
12 |
68 |
2 |
| ixl_aq_dump |
|
1 |
12 |
138 |
2 |
| ixl_arq |
|
6 |
42 |
292 |
1 |
| ixl_atq_set |
|
1 |
6 |
39 |
3 |
| ixl_atq_post |
|
1 |
18 |
144 |
2 |
| ixl_atq_done |
|
4 |
33 |
237 |
1 |
| ixl_wakeup |
|
1 |
8 |
47 |
2 |
| ixl_atq_exec |
|
2 |
15 |
122 |
3 |
| ixl_atq_poll |
|
3 |
31 |
258 |
3 |
| ixl_get_version |
|
3 |
18 |
158 |
1 |
| ixl_pxe_clear |
|
4 |
20 |
114 |
1 |
| ixl_lldp_shut |
|
4 |
18 |
103 |
1 |
| ixl_get_mac |
|
5 |
41 |
289 |
1 |
| ixl_get_switch_config |
|
9 |
68 |
501 |
1 |
| ixl_phy_mask_ints |
|
3 |
18 |
121 |
1 |
| ixl_get_phy_abilities |
|
6 |
50 |
337 |
2 |
| ixl_get_link_status |
|
3 |
16 |
116 |
1 |
| ixl_get_vsi |
|
4 |
33 |
263 |
1 |
| ixl_set_vsi |
|
4 |
41 |
340 |
1 |
| ixl_search_phy_type |
|
4 |
15 |
85 |
1 |
| ixl_search_link_speed |
|
3 |
11 |
66 |
1 |
| ixl_set_link_status |
|
5 |
28 |
175 |
2 |
| ixl_restart_an |
|
3 |
17 |
115 |
1 |
| ixl_hmc |
|
8 |
83 |
596 |
1 |
| ixl_hmc_pack |
|
5 |
29 |
194 |
4 |
| ixl_aqb_alloc |
|
5 |
26 |
172 |
1 |
| ixl_aqb_free |
|
1 |
7 |
58 |
2 |
| ixl_arq_fill |
|
5 |
38 |
274 |
1 |
| ixl_arq_unfill |
|
2 |
10 |
66 |
1 |
| ixl_clear_hw |
|
10 |
67 |
476 |
1 |
| ixl_pf_reset |
|
11 |
52 |
281 |
1 |
| ixl_dmamem_alloc |
|
5 |
28 |
223 |
4 |
| ixl_dmamem_free |
|
1 |
7 |
65 |
2 |
| Source file: ./sys/dev/pci/mbg.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mbg_probe |
|
1 |
5 |
35 |
3 |
| mbg_attach |
|
22 |
101 |
747 |
3 |
| mbg_task |
|
3 |
29 |
208 |
1 |
| mbg_task_hr |
|
3 |
21 |
151 |
1 |
| mbg_update_sensor |
|
5 |
22 |
176 |
5 |
| mbg_read_amcc_s5920 |
|
11 |
41 |
273 |
5 |
| mbg_read_amcc_s5933 |
|
9 |
33 |
237 |
5 |
| mbg_read_asic |
|
10 |
44 |
295 |
5 |
| mbg_timeout |
|
2 |
9 |
56 |
1 |
| Source file: ./sys/dev/pci/if_alereg.h |
| Source file: ./sys/dev/pci/safereg.h |
| Source file: ./sys/dev/pci/if_ixlreg.h |
| Source file: ./sys/dev/pci/qle.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| qle_match |
|
1 |
4 |
32 |
3 |
| qle_attach |
|
37 |
281 |
2047 |
3 |
| qle_detach |
|
2 |
12 |
82 |
2 |
| qle_classify_port |
|
12 |
39 |
225 |
5 |
| qle_get_loop_id |
|
4 |
13 |
69 |
2 |
| qle_get_port_db |
|
2 |
16 |
130 |
3 |
| qle_get_port_name_list |
|
10 |
61 |
394 |
2 |
| qle_add_loop_port |
|
12 |
48 |
319 |
2 |
| qle_add_fabric_port |
|
5 |
26 |
236 |
2 |
| qle_add_logged_in_port |
|
7 |
53 |
346 |
3 |
| qle_handle_resp |
|
29 |
155 |
876 |
2 |
| qle_handle_intr |
|
9 |
42 |
240 |
3 |
| qle_intr |
|
2 |
10 |
55 |
1 |
| qle_scsi_probe |
|
3 |
13 |
85 |
1 |
| qle_scsi_cmd |
|
20 |
113 |
771 |
1 |
| qle_read |
|
1 |
8 |
54 |
2 |
| qle_write |
|
1 |
6 |
49 |
3 |
| qle_read_mbox |
|
1 |
9 |
61 |
2 |
| qle_write_mbox |
|
1 |
7 |
58 |
3 |
| qle_host_cmd |
|
1 |
4 |
24 |
2 |
| qle_mbox |
|
13 |
49 |
322 |
2 |
| qle_mbox_putaddr |
|
1 |
7 |
81 |
2 |
| qle_set_ints |
|
2 |
5 |
30 |
2 |
| qle_read_isr |
|
10 |
32 |
141 |
3 |
| qle_clear_isr |
|
1 |
4 |
19 |
2 |
| qle_update_done |
|
1 |
4 |
22 |
2 |
| qle_update_start |
|
1 |
5 |
34 |
2 |
| qle_clear_port_lists |
|
4 |
18 |
141 |
1 |
| qle_softreset |
|
12 |
55 |
361 |
1 |
| qle_update_topology |
|
10 |
41 |
213 |
1 |
| qle_update_fabric |
|
4 |
29 |
197 |
1 |
| qle_ct_pass_through |
|
6 |
49 |
378 |
5 |
| qle_next_fabric_port |
|
9 |
55 |
414 |
3 |
| qle_fabric_plogx |
|
6 |
49 |
373 |
4 |
| qle_fabric_plogi |
|
7 |
43 |
249 |
2 |
| qle_fabric_plogo |
|
2 |
14 |
86 |
2 |
| qle_do_update |
|
47 |
253 |
1497 |
1 |
| qle_async |
|
14 |
61 |
324 |
2 |
| qle_dump_stuff |
|
6 |
15 |
98 |
3 |
| qle_dump_iocb |
|
5 |
15 |
98 |
2 |
| qle_dump_iocb_segs |
|
5 |
15 |
110 |
3 |
| qle_put_marker |
|
1 |
10 |
56 |
2 |
| qle_sge |
|
1 |
6 |
48 |
3 |
| qle_put_cmd |
|
9 |
74 |
677 |
5 |
| qle_load_fwchunk |
|
4 |
34 |
253 |
3 |
| qle_load_firmware_chunks |
|
4 |
17 |
89 |
2 |
| qle_read_ram_word |
|
2 |
10 |
82 |
2 |
| qle_verify_firmware |
|
4 |
14 |
98 |
2 |
| qle_read_nvram |
|
10 |
37 |
255 |
1 |
| qle_dmamem_alloc |
|
6 |
31 |
246 |
2 |
| qle_dmamem_free |
|
1 |
8 |
76 |
2 |
| qle_alloc_ccbs |
|
10 |
82 |
575 |
1 |
| qle_free_ccbs |
|
2 |
11 |
84 |
1 |
| qle_get_ccb |
|
2 |
12 |
69 |
1 |
| qle_put_ccb |
|
1 |
9 |
60 |
2 |
| Source file: ./sys/dev/pci/if_xgereg.h |
| Source file: ./sys/dev/pci/ixgbe_82599.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ixgbe_init_mac_link_ops_82599 |
|
9 |
35 |
208 |
1 |
| ixgbe_init_phy_ops_82599 |
|
6 |
44 |
243 |
1 |
| ixgbe_setup_sfp_modules_82599 |
|
8 |
46 |
275 |
1 |
| prot_autoc_read_82599 |
|
3 |
15 |
76 |
3 |
| prot_autoc_write_82599 |
|
6 |
19 |
108 |
3 |
| ixgbe_init_ops_82599 |
|
1 |
47 |
327 |
1 |
| ixgbe_get_link_capabilities_82599 |
|
24 |
79 |
361 |
3 |
| ixgbe_get_media_type_82599 |
|
19 |
49 |
158 |
1 |
| ixgbe_stop_mac_link_on_d3_82599 |
|
3 |
13 |
70 |
1 |
| ixgbe_start_mac_link_82599 |
|
11 |
44 |
209 |
2 |
| ixgbe_disable_tx_laser_multispeed_fiber |
|
2 |
10 |
51 |
1 |
| ixgbe_enable_tx_laser_multispeed_fiber |
|
1 |
8 |
42 |
1 |
| ixgbe_flap_tx_laser_multispeed_fiber |
|
3 |
11 |
51 |
1 |
| ixgbe_set_hard_rate_select_speed |
|
3 |
19 |
77 |
2 |
| ixgbe_setup_mac_link_smartspeed |
|
17 |
58 |
338 |
3 |
| ixgbe_setup_mac_link_82599 |
|
32 |
91 |
459 |
3 |
| ixgbe_setup_copper_link_82599 |
|
1 |
11 |
50 |
3 |
| ixgbe_reset_hw_82599 |
|
20 |
87 |
563 |
1 |
| ixgbe_read_analog_reg8_82599 |
|
1 |
13 |
70 |
3 |
| ixgbe_write_analog_reg8_82599 |
|
1 |
11 |
56 |
3 |
| ixgbe_start_hw_82599 |
|
4 |
16 |
77 |
1 |
| ixgbe_identify_phy_82599 |
|
5 |
19 |
97 |
1 |
| ixgbe_get_supported_physical_layer_82599 |
|
21 |
71 |
316 |
1 |
| ixgbe_enable_rx_dma_82599 |
|
2 |
11 |
59 |
2 |
| ixgbe_verify_fw_version_82599 |
|
10 |
40 |
203 |
1 |
| ixgbe_verify_lesm_fw_enabled_82599 |
|
9 |
25 |
160 |
1 |
| ixgbe_read_eeprom_82599 |
|
3 |
13 |
78 |
3 |
| ixgbe_reset_pipeline_82599 |
|
5 |
32 |
171 |
1 |
| ixgbe_read_i2c_byte_82599 |
|
6 |
36 |
182 |
4 |
| ixgbe_write_i2c_byte_82599 |
|
6 |
36 |
181 |
4 |
| Source file: ./sys/dev/pci/mfi_pci.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mfi_pci_find_device |
|
4 |
12 |
78 |
1 |
| mfi_pci_match |
|
2 |
4 |
33 |
3 |
| mfi_pci_attach |
|
8 |
47 |
309 |
3 |
| Source file: ./sys/dev/pci/if_iwnvar.h |
| Source file: ./sys/dev/pci/cmpcireg.h |
| Source file: ./sys/dev/pci/twe_pci.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| twe_pci_match |
|
1 |
8 |
43 |
3 |
| twe_pci_attach |
|
6 |
38 |
264 |
3 |
| Source file: ./sys/dev/pci/aac_pci.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| aac_pci_probe |
|
6 |
19 |
124 |
3 |
| aac_pci_attach |
|
23 |
98 |
576 |
3 |
| Source file: ./sys/dev/pci/if_vte.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| vte_miibus_readreg |
|
4 |
18 |
128 |
3 |
| vte_miibus_writereg |
|
4 |
16 |
123 |
4 |
| vte_miibus_statchg |
|
8 |
41 |
248 |
1 |
| vte_mediastatus |
|
1 |
8 |
54 |
2 |
| vte_mediachange |
|
2 |
13 |
74 |
1 |
| vte_match |
|
1 |
5 |
43 |
3 |
| vte_get_macaddr |
|
1 |
13 |
135 |
1 |
| vte_attach |
|
7 |
72 |
547 |
3 |
| vte_detach |
|
2 |
19 |
126 |
2 |
| vte_dma_alloc |
|
14 |
94 |
684 |
1 |
| vte_dma_free |
|
12 |
40 |
315 |
1 |
| vte_encap |
|
8 |
46 |
374 |
2 |
| vte_start |
|
11 |
33 |
210 |
1 |
| vte_watchdog |
|
2 |
9 |
55 |
1 |
| vte_ioctl |
|
11 |
40 |
220 |
3 |
| vte_mac_config |
|
5 |
16 |
109 |
1 |
| vte_stats_clear |
|
1 |
11 |
65 |
1 |
| vte_stats_update |
|
1 |
31 |
274 |
1 |
| vte_intr |
|
9 |
32 |
194 |
1 |
| vte_txeof |
|
7 |
32 |
228 |
1 |
| vte_newbuf |
|
9 |
45 |
326 |
3 |
| vte_rxeof |
|
7 |
46 |
346 |
1 |
| vte_tick |
|
1 |
11 |
59 |
1 |
| vte_reset |
|
4 |
18 |
114 |
1 |
| vte_init |
|
3 |
53 |
408 |
1 |
| vte_stop |
|
8 |
41 |
296 |
1 |
| vte_start_mac |
|
5 |
21 |
127 |
1 |
| vte_stop_mac |
|
5 |
19 |
121 |
1 |
| vte_init_tx_ring |
|
6 |
42 |
338 |
1 |
| vte_init_rx_ring |
|
4 |
28 |
201 |
1 |
| vte_iff |
|
12 |
65 |
530 |
1 |
| Source file: ./sys/dev/pci/if_nfevar.h |
| Source file: ./sys/dev/pci/sili_pci.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sili_lookup |
|
4 |
12 |
78 |
1 |
| sili_pci_match |
|
1 |
4 |
32 |
3 |
| sili_pci_attach |
|
8 |
62 |
415 |
3 |
| sili_pci_detach |
|
5 |
24 |
151 |
2 |
| sili_pci_activate |
|
2 |
15 |
72 |
2 |
| Source file: ./sys/dev/pci/if_iwi.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| MEM_READ_1 |
|
1 |
5 |
29 |
2 |
| MEM_READ_4 |
|
1 |
5 |
29 |
2 |
| iwi_match |
|
1 |
5 |
35 |
3 |
| iwi_attach |
|
16 |
133 |
985 |
3 |
| iwi_activate |
|
4 |
15 |
75 |
2 |
| iwi_wakeup |
|
1 |
8 |
51 |
1 |
| iwi_init_task |
|
2 |
12 |
78 |
1 |
| iwi_alloc_cmd_ring |
|
5 |
42 |
273 |
2 |
| iwi_reset_cmd_ring |
|
1 |
5 |
30 |
2 |
| iwi_free_cmd_ring |
|
3 |
12 |
92 |
2 |
| iwi_alloc_tx_ring |
|
7 |
55 |
372 |
3 |
| iwi_reset_tx_ring |
|
3 |
15 |
97 |
2 |
| iwi_free_tx_ring |
|
5 |
22 |
164 |
2 |
| iwi_alloc_rx_ring |
|
6 |
43 |
273 |
2 |
| iwi_reset_rx_ring |
|
1 |
4 |
20 |
2 |
| iwi_free_rx_ring |
|
3 |
13 |
88 |
2 |
| iwi_media_change |
|
3 |
10 |
56 |
1 |
| iwi_media_status |
|
5 |
26 |
135 |
2 |
| iwi_find_txnode |
|
4 |
17 |
124 |
2 |
| iwi_newstate |
|
9 |
35 |
184 |
3 |
| iwi_read_prom_word |
|
3 |
35 |
268 |
2 |
| iwi_rate |
|
13 |
18 |
90 |
1 |
| iwi_frame_intr |
|
10 |
79 |
615 |
3 |
| iwi_notification_intr |
|
18 |
87 |
462 |
3 |
| iwi_rx_intr |
|
5 |
29 |
205 |
1 |
| iwi_tx_intr |
|
2 |
21 |
159 |
2 |
| iwi_intr |
|
13 |
41 |
299 |
1 |
| iwi_cmd |
|
3 |
21 |
206 |
5 |
| iwi_send_mgmt |
|
1 |
5 |
26 |
5 |
| iwi_tx_start |
|
17 |
103 |
813 |
3 |
| iwi_start |
|
12 |
33 |
207 |
1 |
| iwi_watchdog |
|
3 |
15 |
81 |
1 |
| iwi_ioctl |
|
11 |
38 |
223 |
3 |
| iwi_stop_master |
|
4 |
18 |
105 |
1 |
| iwi_reset |
|
5 |
28 |
185 |
1 |
| iwi_load_ucode |
|
9 |
50 |
349 |
3 |
| iwi_load_firmware |
|
11 |
93 |
680 |
3 |
| iwi_config |
|
22 |
115 |
873 |
1 |
| iwi_update_edca |
|
4 |
34 |
352 |
1 |
| iwi_set_chan |
|
2 |
13 |
124 |
2 |
| iwi_scan |
|
7 |
35 |
253 |
1 |
| iwi_auth_and_assoc |
|
29 |
116 |
866 |
1 |
| iwi_init |
|
20 |
106 |
779 |
1 |
| iwi_stop |
|
2 |
18 |
136 |
2 |
| Source file: ./sys/dev/pci/amdiic.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| amdiic_match |
|
1 |
5 |
40 |
3 |
| amdiic_attach |
|
7 |
44 |
317 |
3 |
| amdiic_read |
|
4 |
13 |
103 |
2 |
| amdiic_write |
|
4 |
14 |
110 |
3 |
| amdiic_wait |
|
7 |
17 |
114 |
2 |
| amdiic_i2c_acquire_bus |
|
4 |
7 |
52 |
2 |
| amdiic_i2c_release_bus |
|
4 |
7 |
42 |
2 |
| amdiic_i2c_exec |
|
24 |
69 |
474 |
8 |
| amdiic_intr |
|
9 |
30 |
202 |
1 |
| Source file: ./sys/dev/pci/siop_pci_common.h |
| Source file: ./sys/dev/pci/if_wbreg.h |
| Source file: ./sys/dev/pci/nvme_pci.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| nvme_pci_match |
|
6 |
12 |
88 |
3 |
| nvme_pci_attach |
|
8 |
43 |
313 |
3 |
| nvme_pci_detach |
|
1 |
4 |
17 |
2 |
| nvme_pci_activate |
|
1 |
5 |
37 |
2 |
| Source file: ./sys/dev/pci/ichiic.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ichiic_match |
|
1 |
5 |
40 |
3 |
| ichiic_attach |
|
7 |
48 |
330 |
3 |
| ichiic_i2c_acquire_bus |
|
4 |
7 |
52 |
2 |
| ichiic_i2c_release_bus |
|
4 |
7 |
42 |
2 |
| ichiic_i2c_exec |
|
25 |
86 |
614 |
8 |
| ichiic_intr |
|
9 |
35 |
242 |
1 |
| Source file: ./sys/dev/pci/esa.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| esa_open |
|
1 |
4 |
16 |
2 |
| esa_close |
|
1 |
4 |
10 |
1 |
| esa_set_params |
|
15 |
48 |
255 |
5 |
| esa_commit_settings |
|
7 |
55 |
360 |
1 |
| esa_round_blocksize |
|
1 |
6 |
41 |
2 |
| esa_halt_output |
|
3 |
32 |
226 |
1 |
| esa_halt_input |
|
3 |
31 |
223 |
1 |
| esa_malloc |
|
3 |
20 |
140 |
5 |
| esa_free |
|
3 |
14 |
107 |
3 |
| esa_set_port |
|
1 |
6 |
51 |
2 |
| esa_get_port |
|
1 |
6 |
51 |
2 |
| esa_query_devinfo |
|
1 |
6 |
51 |
2 |
| esa_round_buffersize |
|
1 |
6 |
44 |
3 |
| esa_get_props |
|
1 |
4 |
17 |
1 |
| esa_trigger_output |
|
8 |
107 |
828 |
7 |
| esa_trigger_input |
|
8 |
105 |
810 |
7 |
| esa_intr |
|
15 |
85 |
521 |
1 |
| esa_allocmem |
|
5 |
31 |
244 |
4 |
| esa_freemem |
|
1 |
8 |
71 |
2 |
| esa_match |
|
1 |
5 |
37 |
3 |
| esa_attach |
|
13 |
96 |
771 |
3 |
| esa_detach |
|
5 |
15 |
121 |
2 |
| esa_read_assp |
|
1 |
11 |
72 |
3 |
| esa_write_assp |
|
1 |
11 |
69 |
4 |
| esa_init_codec |
|
2 |
8 |
50 |
1 |
| esa_attach_codec |
|
1 |
6 |
31 |
2 |
| esa_read_codec |
|
3 |
14 |
111 |
3 |
| esa_write_codec |
|
2 |
14 |
95 |
3 |
| esa_reset_codec |
|
1 |
4 |
10 |
1 |
| esa_flags_codec |
|
1 |
5 |
22 |
1 |
| esa_wait |
|
3 |
13 |
80 |
1 |
| esa_init |
|
8 |
64 |
476 |
1 |
| esa_config |
|
3 |
33 |
224 |
1 |
| esa_assp_halt |
|
1 |
13 |
73 |
1 |
| esa_codec_reset |
|
5 |
51 |
320 |
1 |
| esa_amp_enable |
|
3 |
31 |
184 |
1 |
| esa_enable_interrupts |
|
1 |
11 |
63 |
1 |
| esa_add_list |
|
1 |
10 |
70 |
4 |
| esa_remove_list |
|
5 |
28 |
183 |
3 |
| esa_activate |
|
3 |
14 |
68 |
2 |
| esa_suspend |
|
3 |
19 |
124 |
1 |
| esa_resume |
|
3 |
24 |
151 |
1 |
| esa_get_pointer |
|
1 |
12 |
82 |
2 |
| Source file: ./sys/dev/pci/esoreg.h |
| Source file: ./sys/dev/pci/pciide_svwsata_reg.h |
| Source file: ./sys/dev/pci/nviic.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| nviic_match |
|
1 |
5 |
40 |
3 |
| nviic_attach |
|
9 |
46 |
302 |
3 |
| nviic_i2c_acquire_bus |
|
3 |
7 |
48 |
2 |
| nviic_i2c_release_bus |
|
3 |
7 |
38 |
2 |
| nviic_i2c_exec |
|
19 |
57 |
367 |
8 |
| nviic_read |
|
1 |
7 |
54 |
2 |
| nviic_write |
|
1 |
7 |
56 |
3 |
| Source file: ./sys/dev/pci/if_rtwn.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rtwn_pci_match |
|
1 |
5 |
32 |
3 |
| rtwn_pci_attach |
|
13 |
103 |
852 |
3 |
| rtwn_pci_detach |
|
4 |
16 |
116 |
2 |
| rtwn_pci_activate |
|
1 |
5 |
35 |
2 |
| rtwn_setup_rx_desc |
|
2 |
11 |
101 |
5 |
| rtwn_alloc_rx_list |
|
10 |
71 |
502 |
1 |
| rtwn_reset_rx_list |
|
2 |
11 |
80 |
1 |
| rtwn_free_rx_list |
|
5 |
31 |
204 |
1 |
| rtwn_alloc_tx_list |
|
8 |
60 |
432 |
2 |
| rtwn_reset_tx_list |
|
3 |
25 |
206 |
2 |
| rtwn_free_tx_list |
|
5 |
28 |
206 |
2 |
| rtwn_pci_write_1 |
|
1 |
5 |
36 |
3 |
| rtwn_pci_write_2 |
|
1 |
6 |
43 |
3 |
| rtwn_pci_write_4 |
|
1 |
6 |
43 |
3 |
| rtwn_pci_read_1 |
|
1 |
5 |
32 |
2 |
| rtwn_pci_read_2 |
|
1 |
7 |
42 |
2 |
| rtwn_pci_read_4 |
|
1 |
7 |
42 |
2 |
| rtwn_rx_frame |
|
27 |
108 |
853 |
4 |
| rtwn_tx |
|
33 |
169 |
1207 |
3 |
| rtwn_tx_done |
|
6 |
33 |
243 |
2 |
| rtwn_alloc_buffers |
|
1 |
4 |
13 |
1 |
| rtwn_pci_init |
|
1 |
6 |
33 |
1 |
| rtwn_pci_stop |
|
3 |
32 |
225 |
1 |
| rtwn_intr |
|
13 |
39 |
276 |
1 |
| rtwn_is_oactive |
|
1 |
5 |
24 |
1 |
| rtwn_llt_write |
|
3 |
15 |
92 |
3 |
| rtwn_llt_init |
|
6 |
16 |
133 |
1 |
| rtwn_power_on |
|
15 |
97 |
598 |
1 |
| rtwn_dma_init |
|
2 |
47 |
390 |
1 |
| rtwn_fw_loadpage |
|
5 |
24 |
150 |
4 |
| rtwn_pci_load_firmware |
|
3 |
16 |
93 |
3 |
| rtwn_mac_init |
|
2 |
8 |
53 |
1 |
| rtwn_bb_init |
|
6 |
67 |
543 |
1 |
| rtwn_calib_to |
|
1 |
10 |
66 |
1 |
| rtwn_next_calib |
|
1 |
5 |
25 |
1 |
| rtwn_cancel_calib |
|
2 |
6 |
33 |
1 |
| rtwn_scan_to |
|
1 |
5 |
23 |
1 |
| rtwn_pci_next_scan |
|
1 |
5 |
25 |
1 |
| rtwn_cancel_scan |
|
2 |
6 |
33 |
1 |
| rtwn_wait_async |
|
1 |
3 |
8 |
1 |
| rtwn_tx_report |
|
8 |
18 |
153 |
3 |
| rtwn_poll_c2h_events |
|
6 |
24 |
173 |
1 |
| Source file: ./sys/dev/pci/agp_apple.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| agp_apple_match |
|
11 |
20 |
106 |
3 |
| agp_apple_attach |
|
7 |
36 |
225 |
3 |
| agp_apple_get_aperture |
|
1 |
5 |
22 |
1 |
| agp_apple_set_aperture |
|
4 |
9 |
84 |
2 |
| agp_apple_bind_page |
|
3 |
14 |
114 |
4 |
| agp_apple_unbind_page |
|
2 |
8 |
65 |
2 |
| agp_apple_flush_tlb |
|
2 |
16 |
96 |
1 |
| agp_apple_enable |
|
2 |
11 |
76 |
2 |
| Source file: ./sys/dev/pci/if_devar.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| TULIP_PERFREAD |
|
1 |
7 |
23 |
1 |
| TULIP_PERFREAD |
|
1 |
7 |
23 |
1 |
| Source file: ./sys/dev/pci/ubsec.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ubsec_probe |
|
1 |
5 |
37 |
3 |
| ubsec_attach |
|
39 |
159 |
1152 |
3 |
| ubsec_intr |
|
22 |
93 |
655 |
1 |
| ubsec_feed |
|
16 |
83 |
669 |
1 |
| ubsec_newsession |
|
35 |
135 |
979 |
2 |
| ubsec_freesession |
|
3 |
13 |
100 |
1 |
| ubsec_process |
|
118 |
479 |
3526 |
1 |
| ubsec_callback |
|
11 |
46 |
407 |
2 |
| ubsec_feed2 |
|
3 |
19 |
142 |
1 |
| ubsec_feed4 |
|
3 |
19 |
142 |
1 |
| ubsec_callback2 |
|
4 |
27 |
193 |
2 |
| ubsec_rng |
|
5 |
52 |
390 |
1 |
| ubsec_dma_malloc |
|
5 |
29 |
249 |
4 |
| ubsec_dma_free |
|
1 |
7 |
67 |
2 |
| ubsec_reset_board |
|
2 |
12 |
68 |
1 |
| ubsec_init_board |
|
5 |
22 |
108 |
1 |
| ubsec_init_pciregs |
|
1 |
9 |
69 |
1 |
| ubsec_cleanchip |
|
2 |
9 |
54 |
1 |
| ubsec_free_q |
|
7 |
28 |
203 |
2 |
| ubsec_totalreset |
|
1 |
6 |
24 |
1 |
| ubsec_dmamap_aligned |
|
5 |
12 |
82 |
1 |
| Source file: ./sys/dev/pci/emuxkivar.h |
| Source file: ./sys/dev/pci/sdhc_pci.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sdhc_pci_match |
|
8 |
15 |
107 |
3 |
| sdhc_pci_attach |
|
18 |
66 |
486 |
3 |
| sdhc_pci_activate |
|
6 |
21 |
115 |
2 |
| sdhc_takecontroller |
|
2 |
12 |
90 |
1 |
| sdhc_ricohfix |
|
1 |
9 |
99 |
1 |
| sdhc_pci_conf_write |
|
1 |
8 |
79 |
4 |
| Source file: ./sys/dev/pci/neo.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| nm_rd |
|
4 |
15 |
81 |
3 |
| nm_wr |
|
4 |
16 |
86 |
4 |
| nm_rdbuf |
|
4 |
15 |
81 |
3 |
| nm_wrbuf |
|
4 |
16 |
86 |
4 |
| nm_waitcd |
|
3 |
14 |
64 |
1 |
| nm_ackint |
|
3 |
7 |
54 |
2 |
| nm_loadcoeff |
|
8 |
28 |
204 |
3 |
| nmchan_getptr |
|
2 |
7 |
51 |
2 |
| neo_intr |
|
8 |
51 |
369 |
1 |
| nm_init |
|
7 |
41 |
313 |
1 |
| neo_attach |
|
8 |
48 |
361 |
3 |
| neo_activate |
|
3 |
13 |
63 |
2 |
| neo_match |
|
10 |
22 |
147 |
3 |
| neo_read_codec |
|
2 |
10 |
61 |
3 |
| neo_write_codec |
|
4 |
15 |
85 |
3 |
| neo_attach_codec |
|
1 |
6 |
31 |
2 |
| neo_reset_codec |
|
1 |
8 |
54 |
1 |
| neo_flags_codec |
|
1 |
4 |
13 |
1 |
| neo_open |
|
1 |
4 |
16 |
2 |
| neo_close |
|
1 |
8 |
37 |
1 |
| neo_set_params |
|
16 |
44 |
284 |
5 |
| neo_round_blocksize |
|
1 |
4 |
18 |
2 |
| neo_trigger_output |
|
3 |
24 |
220 |
7 |
| neo_trigger_input |
|
3 |
23 |
207 |
7 |
| neo_halt_output |
|
1 |
10 |
65 |
1 |
| neo_halt_input |
|
1 |
9 |
54 |
1 |
| neo_mixer_set_port |
|
1 |
5 |
39 |
2 |
| neo_mixer_get_port |
|
1 |
5 |
39 |
2 |
| neo_query_devinfo |
|
1 |
5 |
39 |
2 |
| neo_malloc |
|
3 |
16 |
86 |
5 |
| neo_free |
|
1 |
4 |
17 |
3 |
| neo_round_buffersize |
|
1 |
4 |
19 |
3 |
| neo_get_props |
|
1 |
4 |
15 |
1 |
| Source file: ./sys/dev/pci/if_myxreg.h |
| Source file: ./sys/dev/pci/itherm.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| itherm_probe |
|
1 |
5 |
45 |
3 |
| itherm_attach |
|
3 |
71 |
631 |
3 |
| itherm_enable |
|
1 |
7 |
39 |
1 |
| itherm_activate |
|
2 |
10 |
45 |
2 |
| itherm_refresh_sensor_data |
|
4 |
86 |
580 |
1 |
| itherm_bias_temperature_sensor |
|
3 |
8 |
42 |
1 |
| itherm_refresh |
|
1 |
5 |
25 |
1 |
| Source file: ./sys/dev/pci/ydsreg.h |
| Source file: ./sys/dev/pci/azalia_codec.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| azalia_codec_init_vtbl |
|
143 |
364 |
1583 |
1 |
| azalia_widget_enabled |
|
3 |
6 |
38 |
2 |
| azalia_init_dacgroup |
|
5 |
28 |
195 |
1 |
| azalia_add_convgroup |
|
30 |
77 |
496 |
8 |
| azalia_codec_fnode |
|
11 |
25 |
162 |
4 |
| azalia_unsol_event |
|
30 |
89 |
653 |
2 |
| azalia_mixer_init |
|
102 |
510 |
4117 |
1 |
| azalia_devinfo_offon |
|
1 |
9 |
98 |
1 |
| azalia_mixer_ensure_capacity |
|
4 |
21 |
132 |
2 |
| azalia_mixer_fix_indexes |
|
7 |
17 |
108 |
1 |
| azalia_mixer_default |
|
32 |
116 |
994 |
1 |
| azalia_codec_enable_unsol |
|
8 |
41 |
264 |
1 |
| azalia_mixer_delete |
|
2 |
8 |
38 |
1 |
| azalia_mixer_get |
|
72 |
229 |
1679 |
4 |
| azalia_mixer_set |
|
144 |
472 |
3188 |
4 |
| azalia_mixer_from_device_value |
|
6 |
24 |
169 |
4 |
| azalia_mixer_to_device_value |
|
6 |
23 |
169 |
4 |
| azalia_gpio_unmute |
|
1 |
15 |
140 |
2 |
| azalia_ampcap_ov |
|
4 |
13 |
107 |
7 |
| azalia_pin_config_ov |
|
4 |
21 |
100 |
3 |
| azalia_codec_gpio_quirks |
|
6 |
20 |
106 |
1 |
| azalia_codec_widget_quirks |
|
26 |
54 |
372 |
2 |
| Source file: ./sys/dev/pci/pucdata.c |
| Source file: ./sys/dev/pci/if_iwireg.h |
| Source file: ./sys/dev/pci/pucvar.h |
| Source file: ./sys/dev/pci/eap.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| eap_match |
|
1 |
5 |
37 |
3 |
| eap_activate |
|
2 |
15 |
72 |
2 |
| eap1370_write_codec |
|
3 |
15 |
91 |
3 |
| eap1371_ready_codec |
|
10 |
38 |
247 |
3 |
| eap1371_read_codec |
|
7 |
27 |
178 |
3 |
| eap1371_write_codec |
|
1 |
7 |
53 |
3 |
| eap1371_src_wait |
|
3 |
13 |
76 |
1 |
| eap1371_src_write |
|
1 |
7 |
50 |
3 |
| eap_attach |
|
18 |
117 |
985 |
3 |
| eap_resume |
|
5 |
54 |
495 |
1 |
| eap1371_attach_codec |
|
1 |
6 |
31 |
2 |
| eap1371_reset_codec |
|
1 |
13 |
73 |
1 |
| eap_intr |
|
16 |
55 |
377 |
1 |
| eap_allocmem |
|
5 |
30 |
234 |
4 |
| eap_freemem |
|
1 |
8 |
71 |
2 |
| eap_open |
|
1 |
4 |
16 |
2 |
| eap_close |
|
1 |
8 |
37 |
1 |
| eap_set_params |
|
22 |
66 |
395 |
5 |
| eap_round_blocksize |
|
1 |
4 |
23 |
2 |
| eap_trigger_output |
|
9 |
58 |
430 |
7 |
| eap_trigger_input |
|
9 |
57 |
411 |
7 |
| eap_halt_output |
|
2 |
12 |
68 |
1 |
| eap_halt_input |
|
2 |
12 |
68 |
1 |
| eap1371_mixer_set_port |
|
1 |
5 |
37 |
2 |
| eap1371_mixer_get_port |
|
1 |
5 |
37 |
2 |
| eap1371_query_devinfo |
|
1 |
5 |
37 |
2 |
| eap1370_set_mixer |
|
1 |
6 |
46 |
3 |
| eap1370_mixer_set_port |
|
33 |
112 |
762 |
2 |
| eap1370_mixer_get_port |
|
17 |
64 |
372 |
2 |
| eap1370_query_devinfo |
|
14 |
160 |
1695 |
2 |
| eap_malloc |
|
3 |
17 |
115 |
5 |
| eap_free |
|
3 |
13 |
93 |
3 |
| eap_get_props |
|
1 |
5 |
17 |
1 |
| eap_flags_codec |
|
1 |
5 |
22 |
1 |
| eap_midi_open |
|
2 |
16 |
112 |
5 |
| eap_midi_close |
|
1 |
9 |
65 |
1 |
| eap_midi_output |
|
2 |
10 |
64 |
2 |
| eap_midi_getinfo |
|
1 |
5 |
27 |
2 |
| Source file: ./sys/dev/pci/ixgb_ids.h |
| Source file: ./sys/dev/pci/vga_pci.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| vga_pci_match |
|
5 |
15 |
114 |
3 |
| vga_pci_attach |
|
12 |
32 |
341 |
3 |
| vga_pci_activate |
|
8 |
21 |
102 |
2 |
| vga_pci_mmap |
|
1 |
4 |
18 |
3 |
| vga_pci_cnattach |
|
1 |
5 |
36 |
6 |
| vga_pci_ioctl |
|
5 |
21 |
104 |
5 |
| vga_save_state |
|
10 |
36 |
329 |
1 |
| vga_restore_state |
|
10 |
36 |
330 |
1 |
| Source file: ./sys/dev/pci/cs4280.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cs4280_match |
|
1 |
5 |
37 |
3 |
| cs4280_read_codec |
|
4 |
28 |
186 |
3 |
| cs4280_write_codec |
|
2 |
15 |
104 |
3 |
| cs4280_src_wait |
|
3 |
11 |
54 |
1 |
| cs4280_set_adc_rate |
|
11 |
60 |
442 |
2 |
| cs4280_set_dac_rate |
|
4 |
26 |
160 |
2 |
| cs4280_attachhook |
|
3 |
21 |
157 |
1 |
| cs4280_attach |
|
9 |
56 |
390 |
3 |
| cs4280_intr |
|
27 |
112 |
780 |
1 |
| cs4280_download |
|
7 |
25 |
257 |
4 |
| cs4280_download_image |
|
5 |
25 |
165 |
1 |
| cs4280_checkimage |
|
5 |
19 |
135 |
4 |
| cs4280_check_images |
|
3 |
17 |
113 |
1 |
| cs4280_attach_codec |
|
1 |
6 |
31 |
2 |
| cs4280_reset_codec |
|
3 |
19 |
114 |
1 |
| cs4280_reset |
|
1 |
8 |
47 |
1 |
| cs4280_open |
|
1 |
4 |
16 |
2 |
| cs4280_close |
|
1 |
8 |
37 |
1 |
| cs4280_set_params |
|
11 |
39 |
254 |
5 |
| cs4280_round_blocksize |
|
2 |
4 |
25 |
2 |
| cs4280_round_buffersize |
|
1 |
4 |
19 |
3 |
| cs4280_get_props |
|
2 |
5 |
16 |
1 |
| cs4280_mixer_get_port |
|
1 |
5 |
37 |
2 |
| cs4280_query_devinfo |
|
1 |
5 |
37 |
2 |
| cs4280_get_portnum_by_name |
|
1 |
6 |
43 |
4 |
| cs4280_halt_output |
|
2 |
11 |
61 |
1 |
| cs4280_halt_input |
|
2 |
11 |
61 |
1 |
| cs4280_mixer_set_port |
|
1 |
8 |
55 |
2 |
| cs4280_freemem |
|
1 |
8 |
71 |
2 |
| cs4280_allocmem |
|
5 |
43 |
304 |
4 |
| cs4280_malloc |
|
4 |
26 |
179 |
5 |
| cs4280_free |
|
3 |
14 |
104 |
3 |
| cs4280_trigger_output |
|
14 |
69 |
518 |
7 |
| cs4280_trigger_input |
|
9 |
53 |
391 |
7 |
| cs4280_init |
|
7 |
49 |
358 |
2 |
| cs4280_init2 |
|
7 |
48 |
333 |
2 |
| cs4280_activate |
|
3 |
21 |
112 |
2 |
| cs4280_clear_fifos |
|
6 |
26 |
156 |
1 |
| cs4280_midi_open |
|
3 |
19 |
154 |
5 |
| cs4280_midi_close |
|
1 |
11 |
59 |
1 |
| cs4280_midi_output |
|
4 |
22 |
142 |
2 |
| cs4280_midi_getinfo |
|
1 |
5 |
27 |
2 |
| Source file: ./sys/dev/pci/if_vmxreg.h |
| Source file: ./sys/dev/pci/hifn7751.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| hifn_probe |
|
1 |
5 |
37 |
3 |
| hifn_attach |
|
32 |
156 |
1166 |
3 |
| hifn_init_pubrng |
|
10 |
49 |
287 |
1 |
| hifn_rng |
|
7 |
33 |
177 |
1 |
| hifn_puc_wait |
|
4 |
11 |
64 |
1 |
| hifn_reset_puc |
|
1 |
5 |
23 |
1 |
| hifn_set_retry |
|
1 |
7 |
46 |
1 |
| hifn_reset_board |
|
6 |
30 |
164 |
2 |
| hifn_next_signature |
|
2 |
15 |
90 |
2 |
| hifn_enable_crypto |
|
22 |
72 |
435 |
2 |
| hifn_init_pci_registers |
|
6 |
57 |
432 |
1 |
| hifn_sessions |
|
5 |
21 |
107 |
1 |
| hifn_ramtype |
|
9 |
26 |
210 |
1 |
| hifn_sramsize |
|
6 |
24 |
191 |
1 |
| hifn_dramsize |
|
2 |
12 |
65 |
1 |
| hifn_alloc_slot |
|
5 |
41 |
278 |
5 |
| hifn_writeramaddr |
|
4 |
51 |
462 |
3 |
| hifn_readramaddr |
|
4 |
54 |
475 |
3 |
| hifn_init_dma |
|
3 |
27 |
316 |
1 |
| hifn_write_command |
|
18 |
110 |
736 |
2 |
| hifn_dmamap_aligned |
|
5 |
12 |
82 |
1 |
| hifn_dmamap_load_dst |
|
7 |
63 |
481 |
2 |
| hifn_dmamap_load_src |
|
4 |
27 |
197 |
2 |
| hifn_crypto |
|
47 |
219 |
1440 |
3 |
| hifn_tick |
|
11 |
35 |
199 |
1 |
| hifn_intr |
|
24 |
97 |
660 |
1 |
| hifn_newsession |
|
29 |
77 |
500 |
2 |
| hifn_freesession |
|
4 |
15 |
113 |
1 |
| hifn_process |
|
54 |
195 |
1159 |
1 |
| hifn_abort |
|
8 |
52 |
380 |
1 |
| hifn_callback |
|
22 |
101 |
764 |
3 |
| hifn_compression |
|
23 |
103 |
682 |
3 |
| hifn_compress_enter |
|
12 |
72 |
504 |
2 |
| hifn_callback_comp |
|
17 |
108 |
782 |
3 |
| hifn_mkmbuf_chain |
|
10 |
50 |
276 |
2 |
| hifn_write_4 |
|
5 |
16 |
108 |
4 |
| hifn_read_4 |
|
3 |
10 |
76 |
3 |
| Source file: ./sys/dev/pci/agp_amd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| agp_amd_alloc_gatt |
|
5 |
34 |
282 |
2 |
| agp_amd_probe |
|
6 |
11 |
90 |
3 |
| agp_amd_attach |
|
6 |
45 |
328 |
3 |
| agp_amd_activate |
|
3 |
13 |
55 |
2 |
| agp_amd_save |
|
1 |
8 |
52 |
1 |
| agp_amd_restore |
|
1 |
10 |
68 |
1 |
| agp_amd_get_aperture |
|
1 |
9 |
56 |
1 |
| agp_amd_set_aperture |
|
4 |
15 |
122 |
2 |
| agp_amd_bind_page |
|
1 |
6 |
46 |
4 |
| agp_amd_unbind_page |
|
1 |
5 |
38 |
2 |
| agp_amd_flush_tlb |
|
2 |
8 |
38 |
1 |
| Source file: ./sys/dev/pci/if_agereg.h |
| Source file: ./sys/dev/pci/if_ixgb.h |
| Source file: ./sys/dev/pci/if_vmx.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| vmxnet3_match |
|
1 |
4 |
32 |
3 |
| vmxnet3_attach |
|
10 |
86 |
700 |
3 |
| vmxnet3_dma_init |
|
12 |
61 |
491 |
1 |
| vmxnet3_alloc_txring |
|
5 |
35 |
265 |
2 |
| vmxnet3_alloc_rxring |
|
7 |
44 |
344 |
2 |
| vmxnet3_txinit |
|
1 |
12 |
102 |
2 |
| vmxnet3_rxinit |
|
4 |
24 |
178 |
2 |
| vmxnet3_txstop |
|
3 |
12 |
86 |
2 |
| vmxnet3_rxstop |
|
4 |
14 |
94 |
2 |
| vmxnet3_link_state |
|
3 |
17 |
98 |
1 |
| vmxnet3_enable_intr |
|
1 |
4 |
24 |
2 |
| vmxnet3_disable_intr |
|
1 |
4 |
24 |
2 |
| vmxnet3_enable_all_intrs |
|
2 |
7 |
40 |
1 |
| vmxnet3_disable_all_intrs |
|
2 |
7 |
40 |
1 |
| vmxnet3_intr |
|
4 |
18 |
110 |
1 |
| vmxnet3_evintr |
|
7 |
25 |
174 |
1 |
| vmxnet3_txintr |
|
6 |
42 |
276 |
2 |
| vmxnet3_rxintr |
|
15 |
81 |
560 |
2 |
| vmxnet3_iff |
|
7 |
35 |
232 |
1 |
| vmxnet3_rx_csum |
|
6 |
15 |
97 |
2 |
| vmxnet3_getbuf |
|
9 |
38 |
266 |
2 |
| vmxnet3_stop |
|
3 |
15 |
112 |
1 |
| vmxnet3_reset |
|
1 |
4 |
16 |
1 |
| vmxnet3_init |
|
6 |
27 |
192 |
1 |
| vmxnet3_ioctl |
|
12 |
42 |
249 |
3 |
| vmxnet3_start |
|
10 |
38 |
242 |
1 |
| vmxnet3_load_mbuf |
|
15 |
76 |
564 |
3 |
| vmxnet3_watchdog |
|
1 |
9 |
46 |
1 |
| vmxnet3_media_status |
|
3 |
12 |
73 |
2 |
| vmxnet3_media_change |
|
1 |
4 |
12 |
1 |
| vmxnet3_dma_allocmem |
|
5 |
21 |
162 |
4 |
| Source file: ./sys/dev/pci/if_vic.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| vic_match |
|
5 |
20 |
124 |
3 |
| vic_attach |
|
17 |
102 |
729 |
3 |
| vic_query |
|
8 |
26 |
178 |
1 |
| vic_alloc_data |
|
8 |
59 |
458 |
1 |
| vic_rx_fill |
|
3 |
23 |
231 |
2 |
| vic_init_data |
|
11 |
64 |
455 |
1 |
| vic_uninit_data |
|
5 |
27 |
202 |
1 |
| vic_link_state |
|
3 |
13 |
69 |
1 |
| vic_intr |
|
2 |
10 |
63 |
1 |
| vic_rx_proc |
|
8 |
52 |
395 |
2 |
| vic_tx_proc |
|
5 |
37 |
256 |
1 |
| vic_iff |
|
5 |
35 |
242 |
1 |
| vic_getlladdr |
|
3 |
11 |
73 |
1 |
| vic_setlladdr |
|
1 |
7 |
45 |
1 |
| vic_media_change |
|
1 |
4 |
14 |
1 |
| vic_media_status |
|
3 |
10 |
68 |
2 |
| vic_start |
|
15 |
72 |
477 |
1 |
| vic_load_txb |
|
5 |
21 |
112 |
3 |
| vic_watchdog |
|
6 |
15 |
93 |
1 |
| vic_ioctl |
|
11 |
38 |
216 |
3 |
| vic_rxrinfo |
|
1 |
10 |
98 |
2 |
| vic_init |
|
3 |
27 |
210 |
1 |
| vic_stop |
|
2 |
23 |
154 |
1 |
| vic_alloc_mbuf |
|
3 |
15 |
109 |
3 |
| vic_tick |
|
1 |
6 |
35 |
1 |
| vic_read |
|
1 |
6 |
45 |
2 |
| vic_write |
|
1 |
6 |
47 |
3 |
| vic_read_cmd |
|
1 |
5 |
31 |
2 |
| vic_alloc_dmamem |
|
5 |
26 |
203 |
1 |
| vic_free_dmamem |
|
1 |
7 |
60 |
1 |
| Source file: ./sys/dev/pci/if_vr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| vr_mii_readreg |
|
3 |
17 |
125 |
2 |
| vr_mii_writereg |
|
3 |
17 |
125 |
2 |
| vr_miibus_readreg |
|
4 |
18 |
96 |
3 |
| vr_miibus_writereg |
|
4 |
18 |
97 |
4 |
| vr_miibus_statchg |
|
1 |
5 |
32 |
1 |
| vr_iff |
|
6 |
38 |
256 |
1 |
| vr_setcfg |
|
9 |
29 |
199 |
2 |
| vr_reset |
|
6 |
21 |
112 |
1 |
| vr_probe |
|
4 |
11 |
99 |
3 |
| vr_quirks |
|
4 |
10 |
81 |
1 |
| vr_dmamem_alloc |
|
5 |
27 |
221 |
4 |
| vr_dmamem_free |
|
1 |
7 |
65 |
2 |
| vr_attach |
|
16 |
105 |
834 |
3 |
| vr_activate |
|
5 |
21 |
110 |
2 |
| vr_list_tx_init |
|
4 |
26 |
212 |
1 |
| vr_list_rx_init |
|
4 |
32 |
266 |
1 |
| vr_fill_rx_ring |
|
4 |
17 |
113 |
1 |
| vr_rxeof |
|
22 |
84 |
579 |
1 |
| vr_rxeoc |
|
4 |
22 |
132 |
1 |
| vr_txeof |
|
15 |
52 |
323 |
1 |
| vr_tick |
|
2 |
14 |
79 |
1 |
| vr_rxtick |
|
3 |
12 |
70 |
1 |
| vr_intr |
|
29 |
70 |
406 |
1 |
| vr_encap |
|
20 |
76 |
563 |
3 |
| vr_start |
|
11 |
42 |
254 |
1 |
| vr_chipinit |
|
2 |
11 |
88 |
1 |
| vr_init |
|
6 |
54 |
401 |
1 |
| vr_ifmedia_upd |
|
2 |
7 |
36 |
1 |
| vr_ifmedia_sts |
|
1 |
8 |
54 |
2 |
| vr_ioctl |
|
12 |
42 |
238 |
3 |
| vr_watchdog |
|
3 |
13 |
74 |
1 |
| vr_stop |
|
13 |
52 |
444 |
1 |
| vr_wol |
|
2 |
14 |
95 |
2 |
| vr_alloc_mbuf |
|
5 |
32 |
257 |
2 |
| Source file: ./sys/dev/pci/if_wpivar.h |
| Source file: ./sys/dev/pci/adw_pci.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| adw_pci_match |
|
1 |
8 |
43 |
3 |
| adw_pci_attach |
|
10 |
60 |
352 |
3 |
| Source file: ./sys/dev/pci/gcu_reg.h |
| Source file: ./sys/dev/pci/qlereg.h |
| Source file: ./sys/dev/pci/pciide_i31244_reg.h |
| Source file: ./sys/dev/pci/if_alc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| alc_miibus_readreg |
|
7 |
25 |
172 |
3 |
| alc_miibus_writereg |
|
5 |
20 |
141 |
4 |
| alc_miibus_statchg |
|
8 |
35 |
210 |
1 |
| alc_mediastatus |
|
2 |
10 |
68 |
2 |
| alc_mediachange |
|
2 |
13 |
74 |
1 |
| alc_match |
|
1 |
5 |
35 |
3 |
| alc_get_macaddr |
|
22 |
98 |
681 |
1 |
| alc_disable_l0s_l1 |
|
1 |
11 |
54 |
1 |
| alc_phy_reset |
|
11 |
98 |
712 |
1 |
| alc_phy_down |
|
3 |
16 |
67 |
1 |
| alc_aspm |
|
16 |
78 |
402 |
2 |
| alc_attach |
|
38 |
189 |
1303 |
3 |
| alc_detach |
|
2 |
20 |
131 |
2 |
| alc_activate |
|
5 |
21 |
110 |
2 |
| alc_dma_alloc |
|
26 |
183 |
1316 |
1 |
| alc_dma_free |
|
21 |
64 |
543 |
1 |
| alc_encap |
|
10 |
63 |
441 |
2 |
| alc_start |
|
13 |
41 |
242 |
1 |
| alc_watchdog |
|
2 |
15 |
81 |
1 |
| alc_ioctl |
|
11 |
40 |
220 |
3 |
| alc_mac_config |
|
10 |
30 |
171 |
1 |
| alc_stats_clear |
|
4 |
27 |
190 |
1 |
| alc_stats_update |
|
6 |
93 |
717 |
1 |
| alc_intr |
|
10 |
40 |
233 |
1 |
| alc_txeof |
|
8 |
44 |
329 |
1 |
| alc_newbuf |
|
5 |
35 |
253 |
2 |
| alc_rxintr |
|
6 |
44 |
310 |
1 |
| alc_rxeof |
|
11 |
69 |
476 |
2 |
| alc_tick |
|
1 |
11 |
59 |
1 |
| alc_reset |
|
7 |
23 |
151 |
1 |
| alc_init |
|
19 |
183 |
1380 |
1 |
| alc_stop |
|
5 |
46 |
326 |
1 |
| alc_stop_mac |
|
5 |
19 |
113 |
1 |
| alc_start_queue |
|
1 |
18 |
86 |
1 |
| alc_stop_queue |
|
6 |
24 |
147 |
1 |
| alc_init_tx_ring |
|
2 |
17 |
120 |
1 |
| alc_init_rx_ring |
|
3 |
20 |
152 |
1 |
| alc_init_rr_ring |
|
1 |
11 |
70 |
1 |
| alc_init_cmb |
|
1 |
9 |
57 |
1 |
| alc_init_smb |
|
1 |
9 |
57 |
1 |
| alc_rxvlan |
|
2 |
11 |
59 |
1 |
| alc_iff |
|
5 |
33 |
233 |
1 |
| Source file: ./sys/dev/pci/if_iwivar.h |
| Source file: ./sys/dev/pci/qla_pci.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| qla_pci_match |
|
1 |
4 |
34 |
3 |
| qla_pci_attach |
|
19 |
101 |
696 |
3 |
| qla_pci_detach |
|
3 |
17 |
115 |
2 |
| Source file: ./sys/dev/pci/pciide_opti_reg.h |
| Source file: ./sys/dev/pci/azalia.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| azalia_pci_read |
|
1 |
5 |
42 |
3 |
| azalia_pci_write |
|
1 |
8 |
83 |
4 |
| azalia_configure_pci |
|
49 |
94 |
448 |
1 |
| azalia_pci_match |
|
3 |
9 |
52 |
3 |
| azalia_pci_attach |
|
10 |
56 |
400 |
3 |
| azalia_pci_activate |
|
4 |
21 |
90 |
2 |
| azalia_pci_detach |
|
13 |
57 |
442 |
2 |
| azalia_intr |
|
8 |
29 |
169 |
1 |
| azalia_shutdown |
|
1 |
10 |
61 |
1 |
| azalia_print_codec |
|
3 |
13 |
83 |
1 |
| azalia_reset |
|
7 |
33 |
220 |
1 |
| azalia_get_ctrlr_caps |
|
13 |
73 |
531 |
1 |
| azalia_init |
|
6 |
26 |
161 |
2 |
| azalia_init_codecs |
|
16 |
57 |
369 |
1 |
| azalia_init_streams |
|
3 |
12 |
74 |
1 |
| azalia_halt_corb |
|
7 |
28 |
167 |
1 |
| azalia_init_corb |
|
7 |
43 |
320 |
2 |
| azalia_halt_rirb |
|
5 |
20 |
113 |
1 |
| azalia_init_rirb |
|
8 |
53 |
364 |
2 |
| azalia_comresp |
|
2 |
14 |
81 |
5 |
| azalia_set_command |
|
3 |
21 |
158 |
5 |
| azalia_get_response |
|
9 |
36 |
247 |
2 |
| azalia_rirb_kick_unsol_events |
|
4 |
18 |
138 |
1 |
| azalia_rirb_intr |
|
4 |
23 |
176 |
1 |
| azalia_alloc_dmamem |
|
8 |
37 |
251 |
4 |
| azalia_free_dmamem |
|
2 |
11 |
83 |
2 |
| azalia_suspend |
|
4 |
25 |
158 |
1 |
| azalia_resume_codec |
|
7 |
32 |
175 |
1 |
| azalia_resume |
|
5 |
19 |
121 |
1 |
| azalia_save_mixer |
|
7 |
31 |
172 |
1 |
| azalia_restore_mixer |
|
7 |
31 |
172 |
1 |
| azalia_codec_init |
|
68 |
248 |
1699 |
1 |
| azalia_codec_find_inputmixer |
|
11 |
35 |
225 |
1 |
| azalia_codec_select_micadc |
|
11 |
37 |
265 |
1 |
| azalia_codec_sort_pins |
|
72 |
193 |
1509 |
1 |
| azalia_codec_select_dacs |
|
19 |
61 |
388 |
1 |
| azalia_codec_select_spkrdac |
|
26 |
82 |
534 |
1 |
| azalia_codec_find_defdac |
|
17 |
40 |
244 |
3 |
| azalia_codec_find_defadc_sub |
|
17 |
39 |
248 |
4 |
| azalia_codec_find_defadc |
|
3 |
14 |
85 |
3 |
| azalia_codec_init_volgroups |
|
68 |
165 |
1227 |
1 |
| azalia_codec_delete |
|
7 |
34 |
208 |
1 |
| azalia_codec_construct_format |
|
32 |
106 |
767 |
3 |
| azalia_codec_add_bits |
|
6 |
13 |
112 |
4 |
| azalia_codec_add_format |
|
14 |
37 |
296 |
5 |
| azalia_codec_connect_stream |
|
12 |
66 |
453 |
1 |
| azalia_codec_disconnect_stream |
|
4 |
25 |
176 |
1 |
| azalia_widget_init |
|
14 |
57 |
330 |
3 |
| azalia_widget_sole_conn |
|
20 |
55 |
408 |
2 |
| azalia_widget_label_widgets |
|
39 |
151 |
1206 |
1 |
| azalia_widget_init_audio |
|
6 |
35 |
242 |
2 |
| azalia_widget_init_pin |
|
22 |
59 |
424 |
2 |
| azalia_widget_init_connection |
|
22 |
66 |
510 |
2 |
| azalia_widget_check_conn |
|
11 |
26 |
150 |
3 |
| azalia_codec_print_audiofunc |
|
1 |
19 |
167 |
1 |
| azalia_codec_print_groups |
|
5 |
18 |
176 |
1 |
| azalia_widget_print_audio |
|
1 |
7 |
48 |
2 |
| azalia_widget_print_widget |
|
11 |
36 |
305 |
2 |
| azalia_widget_print_pin |
|
11 |
33 |
378 |
1 |
| azalia_codec_print_audiofunc |
|
1 |
1 |
9 |
1 |
| azalia_codec_print_groups |
|
1 |
1 |
9 |
1 |
| azalia_widget_print_audio |
|
1 |
1 |
14 |
2 |
| azalia_widget_print_widget |
|
1 |
1 |
14 |
2 |
| azalia_widget_print_pin |
|
1 |
1 |
9 |
1 |
| azalia_stream_init |
|
2 |
17 |
104 |
5 |
| azalia_stream_reset |
|
7 |
37 |
236 |
1 |
| azalia_stream_start |
|
5 |
50 |
377 |
1 |
| azalia_stream_halt |
|
1 |
11 |
73 |
1 |
| azalia_stream_intr |
|
9 |
38 |
256 |
1 |
| azalia_open |
|
5 |
14 |
94 |
2 |
| azalia_close |
|
1 |
9 |
48 |
1 |
| azalia_match_format |
|
6 |
21 |
171 |
3 |
| azalia_set_params_sub |
|
20 |
67 |
470 |
3 |
| azalia_set_params |
|
8 |
24 |
140 |
5 |
| azalia_round_blocksize |
|
4 |
17 |
94 |
2 |
| azalia_halt_output |
|
1 |
7 |
36 |
1 |
| azalia_halt_input |
|
1 |
7 |
36 |
1 |
| azalia_set_port |
|
4 |
14 |
103 |
2 |
| azalia_get_port |
|
3 |
13 |
98 |
2 |
| azalia_query_devinfo |
|
3 |
11 |
73 |
2 |
| azalia_allocm |
|
3 |
14 |
94 |
5 |
| azalia_freem |
|
3 |
14 |
85 |
3 |
| azalia_round_buffersize |
|
2 |
7 |
31 |
3 |
| azalia_get_props |
|
1 |
4 |
13 |
1 |
| azalia_trigger_output |
|
3 |
22 |
166 |
7 |
| azalia_trigger_input |
|
3 |
25 |
201 |
7 |
| azalia_params2fmt |
|
19 |
72 |
306 |
2 |
| Source file: ./sys/dev/pci/pciide_cy693_reg.h |
| Source file: ./sys/dev/pci/if_an_pci.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| an_pci_match |
|
1 |
5 |
37 |
3 |
| an_pci_attach |
|
5 |
35 |
226 |
3 |
| Source file: ./sys/dev/pci/gcu_var.h |
| Source file: ./sys/dev/pci/agp_ali.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| agp_ali_probe |
|
4 |
9 |
70 |
3 |
| agp_ali_attach |
|
5 |
36 |
290 |
3 |
| agp_ali_activate |
|
3 |
13 |
55 |
2 |
| agp_ali_save |
|
1 |
7 |
43 |
1 |
| agp_ali_restore |
|
1 |
7 |
43 |
1 |
| agp_ali_get_aperture |
|
2 |
10 |
57 |
1 |
| agp_ali_set_aperture |
|
4 |
16 |
102 |
2 |
| agp_ali_bind_page |
|
1 |
6 |
44 |
4 |
| agp_ali_unbind_page |
|
1 |
5 |
38 |
2 |
| agp_ali_flush_tlb |
|
1 |
12 |
79 |
1 |
| Source file: ./sys/dev/pci/if_vgereg.h |
| Source file: ./sys/dev/pci/safe.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| safe_probe |
|
3 |
8 |
54 |
3 |
| safe_attach |
|
16 |
122 |
829 |
3 |
| safe_process |
|
117 |
511 |
3122 |
1 |
| safe_reset_board |
|
1 |
12 |
53 |
1 |
| safe_init_board |
|
4 |
49 |
364 |
1 |
| safe_init_pciregs |
|
1 |
3 |
9 |
1 |
| safe_dma_malloc |
|
5 |
29 |
249 |
4 |
| safe_dma_free |
|
1 |
7 |
67 |
2 |
| safe_rng_init |
|
5 |
25 |
133 |
1 |
| safe_rng_read |
|
3 |
8 |
43 |
1 |
| safe_rng |
|
7 |
45 |
304 |
1 |
| safe_newsession |
|
38 |
136 |
1006 |
2 |
| safe_freesession |
|
5 |
20 |
132 |
1 |
| safe_dmamap_aligned |
|
5 |
12 |
91 |
1 |
| safe_cleanchip |
|
5 |
14 |
82 |
1 |
| safe_free_entry |
|
3 |
11 |
81 |
2 |
| safe_feed |
|
5 |
20 |
156 |
2 |
| safe_dmamap_uniform |
|
5 |
13 |
97 |
1 |
| safe_mcopy |
|
10 |
41 |
248 |
3 |
| safe_callback |
|
15 |
57 |
454 |
2 |
| safe_intr |
|
10 |
29 |
179 |
1 |
| safe_dump_dmastatus |
|
1 |
6 |
49 |
2 |
| safe_dump_intrstate |
|
1 |
7 |
56 |
2 |
| safe_dump_ringstate |
|
1 |
7 |
56 |
2 |
| safe_dump_request |
|
7 |
53 |
545 |
3 |
| safe_dump_ring |
|
4 |
15 |
93 |
2 |
| Source file: ./sys/dev/pci/if_tlreg.h |
| Source file: ./sys/dev/pci/if_nge.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| nge_delay |
|
2 |
6 |
38 |
1 |
| nge_eeprom_idle |
|
2 |
19 |
96 |
1 |
| nge_eeprom_putbyte |
|
3 |
17 |
84 |
2 |
| nge_eeprom_getword |
|
3 |
23 |
126 |
3 |
| nge_read_eeprom |
|
3 |
13 |
93 |
5 |
| nge_mii_sync |
|
2 |
11 |
54 |
1 |
| nge_mii_send |
|
3 |
16 |
88 |
3 |
| nge_mii_readreg |
|
7 |
55 |
323 |
2 |
| nge_mii_writereg |
|
1 |
23 |
152 |
2 |
| nge_miibus_readreg |
|
1 |
11 |
84 |
3 |
| nge_miibus_writereg |
|
1 |
11 |
86 |
4 |
| nge_miibus_statchg |
|
3 |
24 |
170 |
1 |
| nge_setmulti |
|
6 |
37 |
266 |
1 |
| nge_reset |
|
4 |
14 |
92 |
1 |
| nge_probe |
|
3 |
8 |
59 |
3 |
| nge_attach |
|
14 |
158 |
1338 |
3 |
| nge_list_tx_init |
|
3 |
26 |
195 |
1 |
| nge_list_rx_init |
|
4 |
25 |
178 |
1 |
| nge_newbuf |
|
3 |
21 |
155 |
3 |
| nge_rxeof |
|
17 |
62 |
395 |
1 |
| nge_txeof |
|
9 |
37 |
226 |
1 |
| nge_tick |
|
12 |
63 |
400 |
1 |
| nge_intr |
|
21 |
53 |
309 |
1 |
| nge_encap |
|
8 |
38 |
299 |
3 |
| nge_start |
|
9 |
32 |
194 |
1 |
| nge_init |
|
11 |
90 |
649 |
1 |
| nge_ifmedia_mii_upd |
|
2 |
14 |
88 |
1 |
| nge_ifmedia_mii_sts |
|
1 |
9 |
69 |
2 |
| nge_ifmedia_tbi_upd |
|
3 |
35 |
235 |
1 |
| nge_ifmedia_tbi_sts |
|
8 |
38 |
272 |
2 |
| nge_ioctl |
|
17 |
61 |
335 |
3 |
| nge_watchdog |
|
2 |
13 |
73 |
1 |
| nge_stop |
|
7 |
41 |
307 |
1 |
| Source file: ./sys/dev/pci/auacer.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| auacer_match |
|
1 |
5 |
37 |
3 |
| auacer_attach |
|
6 |
48 |
348 |
3 |
| auacer_ready_codec |
|
3 |
11 |
59 |
2 |
| auacer_sema_codec |
|
4 |
9 |
53 |
1 |
| auacer_read_codec |
|
5 |
16 |
94 |
3 |
| auacer_write_codec |
|
4 |
14 |
82 |
3 |
| auacer_attach_codec |
|
1 |
6 |
29 |
2 |
| auacer_reset_codec |
|
7 |
29 |
155 |
1 |
| auacer_reset |
|
1 |
10 |
72 |
1 |
| auacer_open |
|
1 |
5 |
25 |
2 |
| auacer_close |
|
1 |
4 |
17 |
1 |
| auacer_set_rate |
|
4 |
23 |
146 |
3 |
| auacer_fixup_rate |
|
3 |
11 |
87 |
1 |
| auacer_set_params |
|
13 |
40 |
259 |
5 |
| auacer_round_blocksize |
|
1 |
4 |
22 |
2 |
| auacer_halt |
|
2 |
19 |
155 |
2 |
| auacer_halt_output |
|
1 |
9 |
51 |
1 |
| auacer_halt_input |
|
1 |
5 |
22 |
1 |
| auacer_set_port |
|
1 |
6 |
46 |
2 |
| auacer_get_port |
|
1 |
6 |
46 |
2 |
| auacer_query_devinfo |
|
1 |
6 |
46 |
2 |
| auacer_allocm |
|
4 |
19 |
133 |
5 |
| auacer_freem |
|
3 |
13 |
93 |
3 |
| auacer_round_buffersize |
|
2 |
6 |
33 |
3 |
| auacer_get_props |
|
1 |
5 |
17 |
1 |
| auacer_add_entry |
|
3 |
15 |
116 |
1 |
| auacer_upd_chan |
|
6 |
28 |
216 |
2 |
| auacer_intr |
|
2 |
15 |
82 |
1 |
| auacer_setup_chan |
|
1 |
29 |
242 |
7 |
| auacer_trigger_output |
|
4 |
22 |
169 |
7 |
| auacer_trigger_input |
|
1 |
5 |
43 |
7 |
| auacer_allocmem |
|
5 |
30 |
236 |
4 |
| auacer_freemem |
|
1 |
8 |
71 |
2 |
| auacer_alloc_cdata |
|
5 |
40 |
296 |
1 |
| auacer_activate |
|
2 |
7 |
52 |
2 |
| Source file: ./sys/dev/videomode/vesagtf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| print_value |
|
1 |
4 |
26 |
3 |
| vesagtf_mode_params |
|
9 |
97 |
771 |
6 |
| vesagtf_mode |
|
1 |
14 |
92 |
4 |
| print_xf86_mode |
|
1 |
16 |
130 |
1 |
| main |
|
2 |
11 |
79 |
2 |
| Source file: ./sys/dev/videomode/edid.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| edid_findvendor |
|
4 |
8 |
56 |
1 |
| edid_findproduct |
|
5 |
9 |
72 |
2 |
| edid_strchomp |
|
5 |
14 |
43 |
1 |
| edid_is_valid |
|
4 |
12 |
75 |
1 |
| edid_print |
|
27 |
123 |
769 |
1 |
| edid_mode_lookup_list |
|
3 |
8 |
51 |
1 |
| edid_std_timing |
|
12 |
35 |
218 |
2 |
| edid_det_timing |
|
5 |
39 |
244 |
2 |
| edid_block |
|
13 |
73 |
377 |
2 |
| edid_parse |
|
15 |
92 |
718 |
2 |
| Source file: ./sys/dev/videomode/videomode.h |
| Source file: ./sys/dev/videomode/videomode.c |
| Source file: ./sys/dev/videomode/edidvar.h |
| Source file: ./sys/dev/videomode/ediddevs.h |
| Source file: ./sys/dev/videomode/vesagtf.h |
| Source file: ./sys/dev/videomode/edidreg.h |
| Source file: ./sys/dev/videomode/ediddevs_data.h |
| Source file: ./sys/dev/ata/wdvar.h |
| Source file: ./sys/dev/ata/pmreg.h |
| Source file: ./sys/dev/ata/ata.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ata_get_params |
|
15 |
72 |
529 |
3 |
| ata_set_mode |
|
3 |
22 |
140 |
3 |
| ata_dmaerr |
|
4 |
14 |
73 |
1 |
| ata_perror |
|
5 |
30 |
180 |
4 |
| Source file: ./sys/dev/ata/wd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wdprobe |
|
7 |
16 |
108 |
3 |
| wdattach |
|
20 |
119 |
937 |
3 |
| wdactivate |
|
5 |
23 |
127 |
2 |
| wddetach |
|
1 |
10 |
70 |
2 |
| wdstrategy |
|
6 |
37 |
221 |
1 |
| wdstart |
|
3 |
14 |
83 |
1 |
| __wdstart |
|
12 |
40 |
289 |
2 |
| wddone |
|
12 |
53 |
334 |
1 |
| wdrestart |
|
2 |
16 |
108 |
1 |
| wdread |
|
1 |
5 |
40 |
3 |
| wdwrite |
|
1 |
5 |
40 |
3 |
| wdopen |
|
10 |
47 |
297 |
4 |
| wdclose |
|
3 |
17 |
119 |
4 |
| wdgetdefaultlabel |
|
2 |
24 |
201 |
2 |
| wdgetdisklabel |
|
3 |
14 |
96 |
4 |
| wdioctl |
|
17 |
66 |
452 |
5 |
| wdformat |
|
1 |
5 |
21 |
1 |
| wdsize |
|
6 |
24 |
172 |
1 |
| wddump |
|
20 |
93 |
516 |
4 |
| wd_get_params |
|
6 |
29 |
171 |
3 |
| wd_flushcache |
|
10 |
42 |
229 |
2 |
| wd_standby |
|
5 |
26 |
144 |
2 |
| Source file: ./sys/dev/ata/atascsi.h |
| Source file: ./sys/dev/ata/satareg.h |
| Source file: ./sys/dev/ata/atareg.h |
| Source file: ./sys/dev/ata/atascsi.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| atascsi_attach |
|
2 |
27 |
225 |
2 |
| atascsi_detach |
|
2 |
10 |
71 |
2 |
| atascsi_probe_dev |
|
2 |
8 |
52 |
3 |
| atascsi_detach_dev |
|
2 |
8 |
59 |
4 |
| atascsi_lookup_port |
|
3 |
11 |
78 |
1 |
| atascsi_probe |
|
34 |
146 |
988 |
1 |
| atascsi_free |
|
5 |
23 |
166 |
1 |
| atascsi_cmd |
|
6 |
25 |
99 |
1 |
| atascsi_disk_cmd |
|
32 |
111 |
671 |
1 |
| atascsi_disk_cmd_done |
|
4 |
20 |
83 |
1 |
| atascsi_disk_inq |
|
10 |
37 |
154 |
1 |
| atascsi_disk_inquiry |
|
1 |
20 |
160 |
1 |
| atascsi_disk_vpd_supported |
|
2 |
25 |
202 |
1 |
| atascsi_disk_vpd_serial |
|
1 |
15 |
130 |
1 |
| atascsi_disk_vpd_ident |
|
2 |
40 |
294 |
1 |
| atascsi_disk_vpd_ata |
|
3 |
31 |
280 |
1 |
| atascsi_disk_vpd_limits |
|
2 |
19 |
152 |
1 |
| atascsi_disk_vpd_info |
|
1 |
15 |
142 |
1 |
| atascsi_disk_vpd_thin |
|
2 |
18 |
142 |
1 |
| atascsi_disk_write_same_16 |
|
8 |
51 |
341 |
1 |
| atascsi_disk_write_same_16_done |
|
4 |
19 |
76 |
1 |
| atascsi_disk_unmap |
|
10 |
38 |
258 |
1 |
| atascsi_disk_unmap_task |
|
4 |
42 |
310 |
1 |
| atascsi_disk_unmap_done |
|
4 |
20 |
85 |
1 |
| atascsi_disk_sync |
|
4 |
24 |
170 |
1 |
| atascsi_disk_sync_done |
|
6 |
20 |
92 |
1 |
| ata_identify_blocks |
|
3 |
16 |
101 |
1 |
| ata_identify_blocksize |
|
3 |
13 |
82 |
1 |
| ata_identify_block_l2p_exp |
|
3 |
10 |
56 |
1 |
| ata_identify_block_logical_align |
|
4 |
11 |
70 |
1 |
| atascsi_disk_capacity |
|
3 |
20 |
144 |
1 |
| atascsi_disk_capacity16 |
|
5 |
29 |
228 |
1 |
| atascsi_passthru_map |
|
7 |
26 |
145 |
3 |
| atascsi_passthru_12 |
|
3 |
30 |
207 |
1 |
| atascsi_passthru_16 |
|
3 |
35 |
277 |
1 |
| atascsi_passthru_done |
|
4 |
21 |
88 |
1 |
| atascsi_disk_sense |
|
1 |
8 |
53 |
1 |
| atascsi_disk_start_stop |
|
5 |
29 |
203 |
1 |
| atascsi_disk_start_stop_done |
|
7 |
35 |
214 |
1 |
| atascsi_atapi_cmd |
|
5 |
39 |
258 |
1 |
| atascsi_atapi_cmd_done |
|
7 |
30 |
169 |
1 |
| atascsi_pmp_cmd |
|
5 |
18 |
65 |
1 |
| atascsi_pmp_sense |
|
1 |
8 |
53 |
1 |
| atascsi_pmp_inq |
|
2 |
20 |
167 |
1 |
| atascsi_done |
|
1 |
5 |
23 |
2 |
| ata_exec |
|
1 |
4 |
23 |
2 |
| atascsi_io_get |
|
2 |
10 |
65 |
1 |
| atascsi_io_put |
|
1 |
8 |
50 |
2 |
| ata_polled_complete |
|
1 |
3 |
9 |
1 |
| ata_polled |
|
5 |
20 |
83 |
1 |
| ata_complete |
|
1 |
5 |
25 |
1 |
| ata_swapcopy |
|
2 |
8 |
59 |
3 |
| atascsi_port_identify |
|
3 |
22 |
168 |
2 |
| atascsi_port_set_features |
|
2 |
20 |
147 |
3 |
| Source file: ./sys/dev/ata/atavar.h |
| Source file: ./sys/dev/acpi/efi.h |
| Source file: ./sys/dev/ata/ata_wdc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wd_hibernate_io |
|
7 |
57 |
436 |
6 |
| wdc_ata_bio |
|
9 |
25 |
185 |
2 |
| wdc_ata_bio_start |
|
2 |
10 |
77 |
2 |
| _wdc_ata_bio_start |
|
45 |
188 |
1294 |
2 |
| wdc_ata_bio_intr |
|
19 |
87 |
544 |
3 |
| wdc_ata_bio_kill_xfer |
|
2 |
13 |
86 |
2 |
| wdc_ata_bio_done |
|
3 |
20 |
144 |
2 |
| wdc_ata_ctrl_intr |
|
39 |
132 |
861 |
3 |
| wdc_ata_err |
|
9 |
32 |
177 |
2 |
| wdc_ata_addref |
|
1 |
6 |
28 |
1 |
| wdc_ata_delref |
|
1 |
6 |
25 |
1 |
| Source file: ./sys/dev/acpi/acpimcfg.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| acpimcfg_match |
|
3 |
11 |
83 |
3 |
| acpimcfg_attach |
|
2 |
12 |
86 |
3 |
| Source file: ./sys/dev/acpi/acpicbkbd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| acpicbkbd_match |
|
1 |
6 |
45 |
3 |
| acpicbkbd_attach |
|
2 |
15 |
114 |
3 |
| acpicbkbd_activate |
|
2 |
10 |
53 |
2 |
| acpicbkbd_get_backlight |
|
1 |
9 |
51 |
1 |
| acpicbkbd_set_backlight |
|
2 |
11 |
70 |
1 |
| acpicbkbd_write_backlight |
|
1 |
11 |
86 |
2 |
| Source file: ./sys/dev/acpi/atk0110.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| aibs_match |
|
1 |
6 |
45 |
3 |
| aibs_attach |
|
3 |
26 |
182 |
3 |
| aibs_attach_sif |
|
13 |
62 |
385 |
2 |
| aibs_attach_new |
|
4 |
20 |
122 |
1 |
| aibs_add_sensor |
|
16 |
80 |
533 |
2 |
| aibs_refresh |
|
1 |
7 |
38 |
1 |
| aibs_refresh_r |
|
15 |
46 |
253 |
2 |
| aibs_getvalue |
|
10 |
64 |
385 |
3 |
| aibs_getpack |
|
3 |
20 |
131 |
4 |
| aibs_probe |
|
7 |
12 |
140 |
1 |
| aibs_find_cb |
|
1 |
7 |
39 |
2 |
| aibs_notify |
|
2 |
8 |
41 |
3 |
| Source file: ./sys/dev/pci/mpii.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mpii_dvatosge |
|
1 |
5 |
35 |
2 |
| mpii_match |
|
1 |
4 |
32 |
3 |
| mpii_attach |
|
29 |
158 |
1115 |
3 |
| mpii_detach |
|
3 |
13 |
87 |
2 |
| mpii_intr |
|
10 |
57 |
369 |
1 |
| mpii_load_xs_sas3 |
|
7 |
42 |
338 |
1 |
| mpii_load_xs |
|
8 |
47 |
370 |
1 |
| mpii_scsi_probe |
|
9 |
41 |
288 |
1 |
| mpii_read |
|
1 |
9 |
68 |
2 |
| mpii_write |
|
1 |
7 |
63 |
3 |
| mpii_wait_eq |
|
3 |
13 |
84 |
4 |
| mpii_wait_ne |
|
3 |
13 |
84 |
4 |
| mpii_init |
|
10 |
47 |
236 |
1 |
| mpii_reset_soft |
|
4 |
15 |
86 |
1 |
| mpii_reset_hard |
|
4 |
30 |
211 |
1 |
| mpii_handshake_send |
|
7 |
22 |
152 |
3 |
| mpii_handshake_recv_dword |
|
3 |
12 |
82 |
2 |
| mpii_handshake_recv |
|
8 |
26 |
203 |
3 |
| mpii_empty_done |
|
1 |
3 |
9 |
1 |
| mpii_iocfacts |
|
11 |
69 |
534 |
1 |
| mpii_iocinit |
|
5 |
60 |
471 |
1 |
| mpii_push_reply |
|
3 |
13 |
81 |
2 |
| mpii_portfacts |
|
4 |
40 |
238 |
1 |
| mpii_eventack |
|
4 |
29 |
190 |
2 |
| mpii_eventack_done |
|
1 |
7 |
49 |
1 |
| mpii_portenable |
|
4 |
31 |
188 |
1 |
| mpii_cfg_coalescing |
|
4 |
26 |
188 |
1 |
| mpii_eventnotify |
|
2 |
32 |
212 |
1 |
| mpii_eventnotify_done |
|
1 |
8 |
56 |
1 |
| mpii_event_raid |
|
20 |
81 |
437 |
2 |
| mpii_event_sas |
|
16 |
78 |
525 |
1 |
| mpii_event_discovery |
|
4 |
15 |
90 |
2 |
| mpii_event_process |
|
20 |
74 |
411 |
2 |
| mpii_event_done |
|
2 |
11 |
75 |
2 |
| mpii_sas_remove_device |
|
4 |
29 |
198 |
2 |
| mpii_board_info |
|
5 |
37 |
270 |
1 |
| mpii_target_map |
|
5 |
31 |
194 |
1 |
| mpii_req_cfg_header |
|
9 |
81 |
579 |
6 |
| mpii_req_cfg_page |
|
15 |
89 |
659 |
7 |
| mpii_reply |
|
2 |
21 |
156 |
2 |
| mpii_dmamem_alloc |
|
6 |
31 |
244 |
2 |
| mpii_dmamem_free |
|
1 |
9 |
90 |
2 |
| mpii_insert_dev |
|
6 |
14 |
93 |
2 |
| mpii_remove_dev |
|
5 |
15 |
94 |
2 |
| mpii_find_dev |
|
4 |
11 |
73 |
2 |
| mpii_alloc_ccbs |
|
6 |
55 |
437 |
1 |
| mpii_put_ccb |
|
1 |
16 |
113 |
2 |
| mpii_get_ccb |
|
2 |
16 |
97 |
1 |
| mpii_alloc_replies |
|
3 |
16 |
111 |
1 |
| mpii_push_replies |
|
2 |
16 |
119 |
1 |
| mpii_start |
|
4 |
43 |
308 |
2 |
| mpii_poll |
|
3 |
21 |
120 |
2 |
| mpii_poll_done |
|
1 |
5 |
22 |
1 |
| mpii_alloc_queues |
|
4 |
26 |
188 |
1 |
| mpii_init_queues |
|
1 |
8 |
55 |
1 |
| mpii_wait |
|
2 |
17 |
115 |
2 |
| mpii_wait_done |
|
1 |
8 |
39 |
1 |
| mpii_scsi_cmd |
|
9 |
79 |
533 |
1 |
| mpii_scsi_cmd_tmo |
|
2 |
13 |
86 |
1 |
| mpii_scsi_cmd_tmo_handler |
|
3 |
24 |
149 |
2 |
| mpii_scsi_cmd_tmo_done |
|
1 |
4 |
18 |
1 |
| mpii_scsi_cmd_done |
|
22 |
114 |
725 |
1 |
| mpii_scsi_ioctl |
|
6 |
20 |
137 |
4 |
| mpii_ioctl_cache |
|
16 |
72 |
460 |
3 |
| mpii_ioctl |
|
4 |
24 |
146 |
3 |
| mpii_ioctl_inq |
|
4 |
11 |
96 |
2 |
| mpii_ioctl_vol |
|
18 |
87 |
514 |
2 |
| mpii_ioctl_disk |
|
6 |
46 |
321 |
2 |
| mpii_bio_hs |
|
11 |
52 |
344 |
5 |
| mpii_bio_disk |
|
14 |
72 |
462 |
3 |
| mpii_find_vol |
|
4 |
10 |
72 |
2 |
| mpii_bio_volstate |
|
12 |
56 |
310 |
2 |
| mpii_create_sensors |
|
5 |
32 |
258 |
1 |
| mpii_refresh_sensors |
|
8 |
34 |
213 |
1 |
| Source file: ./sys/dev/acpi/acpidock.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| acpidock_match |
|
4 |
10 |
70 |
3 |
| acpidock_attach |
|
5 |
35 |
287 |
3 |
| acpidock_status |
|
2 |
14 |
75 |
1 |
| acpidock_docklock |
|
2 |
19 |
123 |
2 |
| acpidock_dockctl |
|
2 |
19 |
123 |
2 |
| acpidock_eject |
|
3 |
21 |
134 |
2 |
| acpidock_notify |
|
7 |
36 |
243 |
3 |
| acpidock_walkchildren |
|
4 |
13 |
107 |
2 |
| acpidock_foundejd |
|
3 |
18 |
128 |
2 |
| Source file: ./sys/dev/acpi/sdhc_acpi.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sdhc_acpi_match |
|
1 |
6 |
45 |
3 |
| sdhc_acpi_attach |
|
10 |
45 |
366 |
3 |
| sdhc_acpi_parse_resources |
|
6 |
30 |
209 |
3 |
| sdhc_acpi_card_detect |
|
1 |
7 |
52 |
1 |
| sdhc_acpi_card_detect_intr |
|
1 |
6 |
28 |
1 |
| Source file: ./sys/dev/acpi/acpivideo.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| acpivideo_match |
|
4 |
9 |
70 |
3 |
| acpivideo_attach |
|
2 |
15 |
122 |
3 |
| acpivideo_notify |
|
6 |
17 |
81 |
3 |
| acpivideo_set_policy |
|
1 |
10 |
88 |
2 |
| acpi_foundvout |
|
4 |
19 |
147 |
2 |
| acpivideo_print |
|
3 |
11 |
54 |
2 |
| acpivideo_getpcibus |
|
3 |
5 |
38 |
2 |
| Source file: ./sys/dev/pci/if_em_hw.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| em_set_phy_type |
|
33 |
72 |
276 |
1 |
| em_phy_init_script |
|
10 |
70 |
334 |
1 |
| em_set_mac_type |
|
177 |
278 |
951 |
1 |
| em_set_media_type |
|
34 |
74 |
296 |
1 |
| em_reset_hw |
|
70 |
193 |
1077 |
1 |
| em_initialize_hardware_bits |
|
22 |
83 |
437 |
1 |
| em_toggle_lanphypc_pch_lpt |
|
4 |
28 |
151 |
1 |
| em_disable_ulp_lpt_lp |
|
19 |
91 |
494 |
2 |
| em_init_hw |
|
53 |
193 |
1053 |
1 |
| em_adjust_serdes_amplitude |
|
8 |
28 |
114 |
1 |
| em_setup_link |
|
32 |
109 |
581 |
1 |
| em_power_up_serdes_link_82575 |
|
1 |
12 |
66 |
1 |
| em_setup_fiber_serdes_link |
|
22 |
101 |
532 |
1 |
| em_copper_link_preconfig |
|
11 |
36 |
201 |
1 |
| em_copper_link_igp_setup |
|
35 |
119 |
575 |
1 |
| em_copper_link_ggp_setup |
|
22 |
98 |
424 |
1 |
| em_copper_link_mgp_setup |
|
36 |
112 |
546 |
1 |
| em_copper_link_82577_setup |
|
5 |
26 |
121 |
1 |
| em_copper_link_82580_setup |
|
4 |
18 |
79 |
1 |
| em_copper_link_rtl8211_setup |
|
16 |
101 |
490 |
1 |
| em_copper_link_autoneg |
|
8 |
35 |
168 |
1 |
| em_copper_link_postconfig |
|
7 |
28 |
119 |
1 |
| em_setup_copper_link |
|
42 |
111 |
543 |
1 |
| em_configure_kmrn_for_10_100 |
|
4 |
25 |
124 |
2 |
| em_configure_kmrn_for_1000 |
|
3 |
22 |
110 |
1 |
| em_phy_setup_autoneg |
|
18 |
77 |
347 |
1 |
| em_phy_force_speed_duplex |
|
58 |
202 |
1042 |
1 |
| em_config_collision_dist |
|
2 |
14 |
70 |
1 |
| em_config_mac_to_phy |
|
7 |
27 |
145 |
1 |
| em_force_mac_fc |
|
6 |
29 |
129 |
1 |
| em_config_fc_after_link_up |
|
35 |
96 |
490 |
1 |
| em_check_for_link |
|
61 |
181 |
1070 |
1 |
| em_get_pcs_speed_and_duplex_82575 |
|
6 |
25 |
128 |
3 |
| em_get_speed_and_duplex |
|
24 |
68 |
373 |
3 |
| em_wait_autoneg |
|
5 |
21 |
100 |
1 |
| em_raise_mdi_clk |
|
1 |
6 |
37 |
2 |
| em_lower_mdi_clk |
|
1 |
6 |
37 |
2 |
| em_shift_out_mdi_bits |
|
3 |
21 |
114 |
3 |
| em_shift_in_mdi_bits |
|
3 |
24 |
147 |
1 |
| em_swfw_sync_acquire |
|
7 |
32 |
159 |
2 |
| em_swfw_sync_release |
|
4 |
19 |
93 |
2 |
| em_access_phy_wakeup_reg_bm |
|
8 |
41 |
224 |
4 |
| em_access_phy_debug_regs_hv |
|
5 |
26 |
135 |
4 |
| em_access_phy_reg_hv |
|
15 |
50 |
277 |
4 |
| em_read_phy_reg |
|
23 |
62 |
373 |
3 |
| em_read_phy_reg_ex |
|
11 |
45 |
288 |
3 |
| em_write_phy_reg |
|
20 |
55 |
334 |
3 |
| em_write_phy_reg_ex |
|
10 |
43 |
279 |
3 |
| em_read_kmrn_reg |
|
2 |
16 |
97 |
3 |
| em_write_kmrn_reg |
|
2 |
13 |
79 |
3 |
| em_phy_hw_reset |
|
12 |
53 |
323 |
1 |
| em_oem_bits_config_pchlan |
|
13 |
44 |
232 |
2 |
| em_phy_reset |
|
21 |
57 |
282 |
1 |
| em_kumeran_lock_loss_workaround |
|
7 |
31 |
165 |
1 |
| em_match_gig_phy |
|
59 |
124 |
618 |
1 |
| em_detect_gig_phy |
|
23 |
53 |
301 |
1 |
| em_phy_reset_dsp |
|
6 |
20 |
93 |
1 |
| em_init_eeprom_params |
|
49 |
212 |
1049 |
1 |
| em_raise_ee_clk |
|
1 |
7 |
45 |
2 |
| em_lower_ee_clk |
|
1 |
7 |
45 |
2 |
| em_shift_out_ee_bits |
|
5 |
26 |
159 |
3 |
| em_shift_in_ee_bits |
|
3 |
19 |
108 |
2 |
| em_acquire_eeprom |
|
10 |
40 |
257 |
1 |
| em_standby_eeprom |
|
3 |
33 |
206 |
1 |
| em_release_eeprom |
|
4 |
28 |
178 |
1 |
| em_spi_eeprom_ready |
|
4 |
22 |
106 |
1 |
| em_read_eeprom |
|
19 |
57 |
408 |
4 |
| em_read_eeprom_eerd |
|
3 |
18 |
107 |
4 |
| em_write_eeprom_eewr |
|
5 |
25 |
140 |
4 |
| em_poll_eerd_eewr_done |
|
4 |
18 |
91 |
2 |
| em_is_onboard_nvm_eeprom |
|
5 |
15 |
87 |
1 |
| em_get_flash_presence_i210 |
|
3 |
11 |
49 |
1 |
| em_validate_eeprom_checksum |
|
14 |
56 |
311 |
1 |
| em_update_eeprom_checksum |
|
6 |
28 |
175 |
1 |
| em_write_eeprom |
|
9 |
29 |
194 |
4 |
| em_write_eeprom_spi |
|
7 |
32 |
213 |
4 |
| em_write_eeprom_microwire |
|
5 |
37 |
243 |
4 |
| em_commit_shadow_ram |
|
24 |
112 |
664 |
1 |
| em_read_part_num |
|
3 |
17 |
102 |
2 |
| em_read_mac_addr |
|
13 |
38 |
241 |
1 |
| em_phy_no_cable_workaround |
|
12 |
59 |
424 |
1 |
| em_init_rx_addrs |
|
13 |
32 |
222 |
1 |
| em_mc_addr_list_update |
|
10 |
54 |
389 |
5 |
| em_hash_mc_addr |
|
10 |
46 |
351 |
2 |
| em_mta_set |
|
4 |
22 |
165 |
2 |
| em_rar_set |
|
5 |
21 |
178 |
3 |
| em_clear_vfta |
|
7 |
22 |
143 |
1 |
| em_clear_vfta_i350 |
|
3 |
10 |
59 |
1 |
| em_id_led_init |
|
24 |
69 |
409 |
1 |
| em_clear_hw_cntrs |
|
18 |
108 |
895 |
1 |
| em_tbi_adjust_stats |
|
14 |
38 |
247 |
4 |
| em_get_bus_info |
|
30 |
78 |
339 |
1 |
| em_write_reg_io |
|
1 |
7 |
51 |
3 |
| em_get_cable_length |
|
34 |
144 |
702 |
3 |
| em_check_downshift |
|
12 |
29 |
164 |
1 |
| em_config_dsp_after_link_change |
|
35 |
137 |
668 |
2 |
| em_set_phy_mode |
|
8 |
27 |
124 |
1 |
| em_set_d3_lplu_state |
|
31 |
96 |
492 |
2 |
| em_set_d0_lplu_state |
|
17 |
71 |
336 |
2 |
| em_set_lplu_state_pchlan |
|
3 |
17 |
77 |
2 |
| em_set_vco_speed |
|
11 |
41 |
204 |
1 |
| em_host_if_read_cookie |
|
2 |
13 |
84 |
2 |
| em_mng_enable_host_if |
|
5 |
21 |
105 |
1 |
| em_check_mng_mode |
|
4 |
13 |
72 |
1 |
| em_calculate_mng_checksum |
|
3 |
10 |
57 |
2 |
| em_enable_tx_pkt_filtering |
|
7 |
29 |
155 |
1 |
| em_polarity_reversal_workaround |
|
17 |
57 |
321 |
1 |
| em_set_pci_express_master_disable |
|
2 |
10 |
49 |
1 |
| em_disable_pciex_master |
|
5 |
21 |
85 |
1 |
| em_get_auto_rd_done |
|
22 |
42 |
157 |
1 |
| em_get_phy_cfg_done |
|
13 |
41 |
140 |
1 |
| em_get_hw_eeprom_semaphore |
|
7 |
30 |
141 |
1 |
| em_put_hw_eeprom_semaphore |
|
3 |
13 |
69 |
1 |
| em_get_software_semaphore |
|
5 |
20 |
92 |
1 |
| em_release_software_semaphore |
|
2 |
10 |
49 |
1 |
| em_check_phy_reset_block |
|
5 |
15 |
83 |
1 |
| em_set_pci_ex_no_snoop |
|
5 |
22 |
119 |
2 |
| em_get_software_flag |
|
5 |
23 |
105 |
1 |
| em_release_software_flag |
|
2 |
11 |
52 |
1 |
| em_valid_nvm_bank_detect_ich8lan |
|
14 |
72 |
354 |
2 |
| em_read_eeprom_spt |
|
19 |
66 |
462 |
4 |
| em_read_eeprom_ich8 |
|
8 |
36 |
230 |
4 |
| em_write_eeprom_ich8 |
|
5 |
26 |
137 |
4 |
| em_ich8_cycle_init |
|
11 |
62 |
322 |
1 |
| em_ich8_flash_cycle |
|
8 |
36 |
199 |
2 |
| em_read_ich8_data |
|
12 |
52 |
285 |
4 |
| em_read_ich8_data32 |
|
8 |
46 |
253 |
3 |
| em_write_ich8_data |
|
12 |
52 |
280 |
4 |
| em_read_ich8_byte |
|
3 |
13 |
72 |
3 |
| em_verify_write_ich8_byte |
|
5 |
21 |
114 |
3 |
| em_write_ich8_byte |
|
1 |
7 |
44 |
3 |
| em_read_ich8_dword |
|
1 |
6 |
35 |
3 |
| em_read_ich8_word |
|
1 |
6 |
37 |
3 |
| em_erase_ich8_4k_segment |
|
15 |
85 |
446 |
2 |
| em_read_invm_i210 |
|
15 |
58 |
258 |
4 |
| em_read_invm_word_i210 |
|
7 |
26 |
135 |
3 |
| em_init_lcd_from_nvm_config_region |
|
5 |
25 |
151 |
3 |
| em_init_lcd_from_nvm |
|
14 |
44 |
251 |
1 |
| em_set_pciex_completion_timeout |
|
5 |
26 |
119 |
1 |
| em_set_mdio_slow_mode_hv |
|
2 |
12 |
57 |
1 |
| em_hv_phy_workarounds_ich8lan |
|
27 |
85 |
600 |
1 |
| em_link_stall_workaround_hv |
|
6 |
29 |
130 |
1 |
| em_k1_gig_workaround_hv |
|
13 |
52 |
241 |
2 |
| em_k1_workaround_lv |
|
4 |
20 |
97 |
1 |
| em_k1_workaround_lpt_lp |
|
11 |
45 |
235 |
2 |
| em_gate_hw_phy_config_ich8lan |
|
3 |
13 |
61 |
2 |
| em_configure_k1_ich8lan |
|
4 |
33 |
177 |
2 |
| em_lv_phy_workarounds_ich8lan |
|
6 |
31 |
139 |
1 |
| em_set_eee_i350 |
|
4 |
25 |
142 |
1 |
| em_set_eee_pchlan |
|
5 |
19 |
89 |
1 |
| em_initialize_M88E1512_phy |
|
17 |
57 |
313 |
1 |
| Source file: ./sys/dev/acpi/dwiic_acpi.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dwiic_acpi_match |
|
1 |
6 |
45 |
3 |
| dwiic_acpi_attach |
|
9 |
75 |
623 |
3 |
| dwiic_acpi_parse_crs |
|
9 |
42 |
296 |
3 |
| dwiic_acpi_get_params |
|
6 |
27 |
190 |
5 |
| dwiic_acpi_bus_scan |
|
1 |
7 |
49 |
3 |
| dwiic_i2c_intr_establish |
|
3 |
13 |
110 |
6 |
| dwiic_i2c_intr_string |
|
3 |
10 |
74 |
2 |
| dwiic_matchhids |
|
3 |
8 |
56 |
2 |
| dwiic_acpi_found_hid |
|
10 |
46 |
388 |
2 |
| dwiic_acpi_found_ihidev |
|
8 |
54 |
437 |
4 |
| dwiic_acpi_found_iatp |
|
5 |
25 |
178 |
4 |
| dwiic_acpi_power |
|
7 |
21 |
144 |
2 |
| Source file: ./sys/dev/acpi/acpibtn.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| acpibtn_numopenlids |
|
4 |
14 |
81 |
1 |
| acpibtn_setpsw |
|
1 |
10 |
66 |
2 |
| acpibtn_disable_psw |
|
1 |
6 |
29 |
1 |
| acpibtn_enable_psw |
|
1 |
6 |
29 |
1 |
| acpibtn_match |
|
1 |
6 |
47 |
3 |
| acpibtn_attach |
|
7 |
40 |
362 |
3 |
| acpibtn_notify |
|
14 |
51 |
246 |
3 |
| acpibtn_activate |
|
3 |
17 |
86 |
2 |
| Source file: ./sys/dev/acpi/chvgpio.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| chvgpio_pad_cfg0_offset |
|
1 |
4 |
28 |
1 |
| chvgpio_read_pad_cfg0 |
|
1 |
5 |
29 |
2 |
| chvgpio_write_pad_cfg0 |
|
1 |
5 |
33 |
3 |
| chvgpio_read_pad_cfg1 |
|
1 |
5 |
31 |
2 |
| chvgpio_write_pad_cfg1 |
|
1 |
5 |
35 |
3 |
| chvgpio_match |
|
1 |
6 |
45 |
3 |
| chvgpio_attach |
|
12 |
77 |
515 |
3 |
| chvgpio_parse_resources |
|
3 |
19 |
104 |
3 |
| chvgpio_check_pin |
|
4 |
10 |
59 |
2 |
| chvgpio_read_pin |
|
1 |
8 |
49 |
2 |
| chvgpio_write_pin |
|
2 |
12 |
67 |
3 |
| chvgpio_intr_establish |
|
6 |
41 |
238 |
5 |
| chvgpio_intr |
|
4 |
19 |
128 |
1 |
| chvgpio_opreg_handler |
|
4 |
12 |
88 |
5 |
| Source file: ./sys/dev/acpi/acpipwrres.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| acpipwrres_match |
|
4 |
9 |
70 |
3 |
| acpipwrres_attach |
|
8 |
41 |
383 |
3 |
| acpipwrres_ref_incr |
|
3 |
15 |
108 |
2 |
| acpipwrres_ref_decr |
|
3 |
15 |
108 |
2 |
| acpipwrres_hascons |
|
2 |
9 |
50 |
2 |
| acpipwrres_addcons |
|
11 |
44 |
328 |
2 |
| acpipwrres_foundcons |
|
10 |
45 |
318 |
2 |
| Source file: ./sys/dev/acpi/bytgpio.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bytgpio_match |
|
1 |
6 |
45 |
3 |
| bytgpio_attach |
|
15 |
92 |
683 |
3 |
| bytgpio_parse_resources |
|
3 |
19 |
104 |
3 |
| bytgpio_read_pin |
|
1 |
7 |
52 |
2 |
| bytgpio_write_pin |
|
2 |
11 |
85 |
3 |
| bytgpio_intr_establish |
|
6 |
20 |
179 |
5 |
| bytgpio_intr |
|
5 |
21 |
149 |
1 |
| Source file: ./sys/dev/acpi/acpidebug.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| db_opregion |
|
8 |
20 |
58 |
1 |
| db_aml_dump |
|
3 |
8 |
53 |
2 |
| db_aml_showvalue |
|
21 |
92 |
504 |
1 |
| db_aml_objtype |
|
20 |
43 |
145 |
1 |
| db_aml_walktree |
|
2 |
8 |
42 |
1 |
| db_parse_name |
|
7 |
30 |
142 |
1 |
| db_acpi_showval |
|
3 |
11 |
57 |
4 |
| db_disprint |
|
1 |
7 |
37 |
3 |
| db_acpi_disasm |
|
6 |
18 |
133 |
4 |
| db_acpi_tree |
|
1 |
4 |
23 |
4 |
| db_acpi_trace |
|
9 |
25 |
171 |
4 |
| Source file: ./sys/dev/acpi/acpitoshiba.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| get_param_brightness |
|
6 |
20 |
144 |
1 |
| acpitoshiba_get_param |
|
2 |
11 |
42 |
1 |
| set_param_brightness |
|
6 |
18 |
132 |
1 |
| acpitoshiba_set_param |
|
2 |
11 |
42 |
1 |
| toshiba_find_brightness |
|
6 |
19 |
109 |
2 |
| toshiba_match |
|
5 |
12 |
90 |
3 |
| toshiba_enable_events |
|
2 |
9 |
52 |
1 |
| toshiba_read_events |
|
3 |
20 |
148 |
1 |
| toshiba_attach |
|
2 |
16 |
104 |
3 |
| toshiba_fn_key_brightness_up |
|
3 |
13 |
60 |
1 |
| toshiba_fn_key_brightness_down |
|
3 |
13 |
60 |
1 |
| toshiba_fn_key_video_output |
|
2 |
11 |
58 |
1 |
| toshiba_hotkey |
|
11 |
38 |
183 |
3 |
| toshiba_set_brightness |
|
5 |
21 |
153 |
2 |
| toshiba_get_brightness |
|
3 |
21 |
157 |
2 |
| toshiba_get_video_output |
|
3 |
20 |
154 |
2 |
| toshiba_set_video_output |
|
5 |
21 |
152 |
2 |
| Source file: ./sys/dev/acpi/acpiasus.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| acpiasus_match |
|
1 |
6 |
47 |
3 |
| acpiasus_attach |
|
1 |
11 |
83 |
3 |
| acpiasus_init |
|
2 |
13 |
92 |
1 |
| acpiasus_notify |
|
23 |
48 |
181 |
3 |
| acpiasus_activate |
|
3 |
20 |
116 |
2 |
| Source file: ./sys/dev/pci/pciide.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pciide_pci_read |
|
1 |
5 |
42 |
3 |
| pciide_pci_write |
|
1 |
8 |
83 |
4 |
| pciide_lookup_product |
|
7 |
17 |
127 |
1 |
| pciide_match |
|
11 |
26 |
144 |
3 |
| pciide_attach |
|
4 |
28 |
210 |
3 |
| pciide_detach |
|
2 |
9 |
50 |
2 |
| pciide_activate |
|
25 |
97 |
871 |
2 |
| pciide_mapregs_compat |
|
3 |
32 |
250 |
5 |
| pciide_unmapregs_compat |
|
2 |
11 |
86 |
2 |
| pciide_mapregs_native |
|
11 |
71 |
570 |
5 |
| pciide_unmapregs_native |
|
2 |
11 |
86 |
2 |
| pciide_mapreg_dma |
|
7 |
42 |
242 |
2 |
| pciide_unmapreg_dma |
|
1 |
4 |
24 |
1 |
| pciide_intr_flag |
|
5 |
20 |
111 |
1 |
| pciide_compat_intr |
|
4 |
9 |
55 |
1 |
| pciide_pci_intr |
|
8 |
26 |
142 |
1 |
| pciide_dmacmd_read |
|
1 |
5 |
31 |
2 |
| pciide_dmacmd_write |
|
1 |
5 |
33 |
3 |
| pciide_dmactl_read |
|
1 |
5 |
31 |
2 |
| pciide_dmactl_write |
|
1 |
5 |
33 |
3 |
| pciide_dmatbl_write |
|
1 |
5 |
33 |
3 |
| pciide_channel_dma_setup |
|
7 |
22 |
149 |
1 |
| pciide_dma_table_setup |
|
7 |
60 |
405 |
3 |
| pciide_dma_init |
|
9 |
60 |
466 |
6 |
| pciide_dma_start |
|
1 |
8 |
57 |
3 |
| pciide_dma_finish |
|
9 |
44 |
298 |
4 |
| pciide_irqack |
|
1 |
7 |
58 |
1 |
| pciide_chansetup |
|
2 |
17 |
124 |
3 |
| pciide_chanfree |
|
2 |
6 |
42 |
2 |
| pciide_mapchan |
|
3 |
17 |
124 |
6 |
| pciide_unmap_chan |
|
2 |
9 |
57 |
3 |
| pciide_chan_candisable |
|
3 |
13 |
102 |
1 |
| pciide_map_compat_intr |
|
3 |
16 |
124 |
4 |
| pciide_unmap_compat_intr |
|
2 |
8 |
58 |
4 |
| pciide_print_channels |
|
4 |
12 |
69 |
2 |
| pciide_print_modes |
|
1 |
4 |
17 |
1 |
| default_chip_map |
|
23 |
115 |
754 |
2 |
| default_chip_unmap |
|
3 |
13 |
89 |
2 |
| sata_chip_map |
|
5 |
38 |
252 |
2 |
| sata_setup_channel |
|
6 |
25 |
161 |
1 |
| piix_timing_debug |
|
20 |
38 |
270 |
1 |
| piix_chip_map |
|
46 |
108 |
577 |
2 |
| piixsata_chip_map |
|
19 |
87 |
534 |
2 |
| piix_setup_channel |
|
18 |
79 |
704 |
1 |
| piix3_4_setup_channel |
|
49 |
128 |
945 |
1 |
| piix_setup_idetim_timings |
|
2 |
13 |
70 |
3 |
| piix_setup_idetim_drvs |
|
9 |
33 |
229 |
1 |
| piix_setup_sidetim_timings |
|
2 |
9 |
64 |
3 |
| amd756_chip_map |
|
11 |
63 |
403 |
2 |
| amd756_setup_channel |
|
13 |
85 |
576 |
1 |
| apollo_chip_map |
|
33 |
144 |
902 |
2 |
| apollo_setup_channel |
|
19 |
85 |
648 |
1 |
| cmd_channel_map |
|
13 |
66 |
416 |
3 |
| cmd_pci_intr |
|
9 |
27 |
183 |
1 |
| cmd_chip_map |
|
2 |
14 |
103 |
2 |
| cmd0643_9_chip_map |
|
12 |
74 |
510 |
2 |
| cmd0643_9_setup_channel |
|
14 |
72 |
489 |
1 |
| cmd646_9_irqack |
|
2 |
14 |
120 |
1 |
| cmd680_chip_map |
|
4 |
33 |
257 |
2 |
| cmd680_channel_map |
|
7 |
42 |
335 |
3 |
| cmd680_setup_channel |
|
12 |
72 |
628 |
1 |
| sii_fixup_cacheline |
|
5 |
23 |
203 |
2 |
| sii3112_chip_map |
|
9 |
71 |
501 |
2 |
| sii3112_setup_channel |
|
6 |
31 |
195 |
1 |
| sii3112_drv_probe |
|
13 |
78 |
530 |
1 |
| sii3114_chip_map |
|
10 |
76 |
522 |
2 |
| sii3114_mapreg_dma |
|
5 |
37 |
237 |
2 |
| sii3114_chansetup |
|
3 |
24 |
146 |
2 |
| sii3114_mapchan |
|
6 |
48 |
414 |
1 |
| sii3114_read_reg |
|
2 |
12 |
124 |
2 |
| sii3114_write_reg |
|
2 |
13 |
125 |
3 |
| sii3114_dmacmd_read |
|
1 |
6 |
48 |
2 |
| sii3114_dmacmd_write |
|
1 |
6 |
50 |
3 |
| sii3114_dmactl_read |
|
1 |
6 |
48 |
2 |
| sii3114_dmactl_write |
|
1 |
6 |
50 |
3 |
| sii3114_dmatbl_write |
|
1 |
6 |
50 |
3 |
| cy693_chip_map |
|
12 |
83 |
587 |
2 |
| cy693_setup_channel |
|
10 |
46 |
332 |
1 |
| sis_hostbr_match |
|
5 |
15 |
103 |
1 |
| sis_south_match |
|
3 |
6 |
39 |
1 |
| sis_chip_map |
|
25 |
122 |
822 |
2 |
| sis96x_setup_channel |
|
11 |
51 |
374 |
1 |
| sis_setup_channel |
|
22 |
90 |
556 |
1 |
| natsemi_chip_map |
|
7 |
48 |
372 |
2 |
| natsemi_setup_channel |
|
8 |
46 |
358 |
1 |
| natsemi_irqack |
|
1 |
13 |
106 |
1 |
| natsemi_pci_intr |
|
8 |
28 |
161 |
1 |
| ns_scx200_chip_map |
|
7 |
43 |
309 |
2 |
| ns_scx200_setup_channel |
|
10 |
65 |
494 |
1 |
| acer_chip_map |
|
15 |
84 |
655 |
2 |
| acer_setup_channel |
|
16 |
79 |
621 |
1 |
| acer_pci_intr |
|
5 |
25 |
147 |
1 |
| acer_dma_init |
|
2 |
7 |
53 |
6 |
| hpt_chip_map |
|
41 |
119 |
871 |
2 |
| hpt_setup_channel |
|
18 |
89 |
530 |
1 |
| hpt_pci_intr |
|
4 |
26 |
165 |
1 |
| pdc268_config_read |
|
1 |
10 |
84 |
2 |
| pdc202xx_chip_map |
|
29 |
138 |
1004 |
2 |
| pdc202xx_setup_channel |
|
35 |
116 |
944 |
1 |
| pdc20268_setup_channel |
|
8 |
35 |
232 |
1 |
| pdc202xx_pci_intr |
|
5 |
25 |
149 |
1 |
| pdc20265_pci_intr |
|
8 |
31 |
181 |
1 |
| pdc20262_dma_start |
|
3 |
20 |
140 |
3 |
| pdc20262_dma_finish |
|
2 |
16 |
122 |
4 |
| pdcsata_chip_map |
|
52 |
197 |
1338 |
2 |
| pdc203xx_setup_channel |
|
4 |
18 |
107 |
1 |
| pdc203xx_pci_intr |
|
4 |
25 |
158 |
1 |
| pdc205xx_pci_intr |
|
4 |
28 |
207 |
1 |
| pdc203xx_irqack |
|
1 |
14 |
133 |
1 |
| pdc203xx_dma_start |
|
2 |
15 |
157 |
3 |
| pdc203xx_dma_finish |
|
2 |
18 |
158 |
4 |
| pdc203xx_read_reg |
|
2 |
15 |
135 |
2 |
| pdc203xx_write_reg |
|
2 |
13 |
125 |
3 |
| pdc205xx_do_reset |
|
1 |
14 |
102 |
1 |
| pdc205xx_drv_probe |
|
11 |
65 |
450 |
1 |
| opti_read_config |
|
1 |
12 |
109 |
2 |
| opti_write_config |
|
1 |
10 |
104 |
3 |
| opti_chip_map |
|
9 |
53 |
352 |
2 |
| opti_setup_channel |
|
14 |
62 |
564 |
1 |
| serverworks_chip_map |
|
13 |
58 |
386 |
2 |
| serverworks_setup_channel |
|
12 |
65 |
642 |
1 |
| serverworks_pci_intr |
|
4 |
26 |
165 |
1 |
| svwsata_chip_map |
|
11 |
75 |
504 |
2 |
| svwsata_mapreg_dma |
|
1 |
17 |
115 |
2 |
| svwsata_dmacmd_read |
|
1 |
5 |
40 |
2 |
| svwsata_dmacmd_write |
|
1 |
5 |
42 |
3 |
| svwsata_dmactl_read |
|
1 |
5 |
40 |
2 |
| svwsata_dmactl_write |
|
1 |
5 |
42 |
3 |
| svwsata_dmatbl_write |
|
1 |
5 |
42 |
3 |
| svwsata_mapchan |
|
3 |
26 |
198 |
1 |
| svwsata_drv_probe |
|
13 |
84 |
582 |
1 |
| svwsata_read_reg |
|
2 |
10 |
70 |
2 |
| svwsata_write_reg |
|
2 |
10 |
71 |
3 |
| svwsata_lba48_write_reg |
|
2 |
10 |
71 |
3 |
| acard_chip_map |
|
13 |
65 |
422 |
2 |
| acard_setup_channel |
|
13 |
84 |
605 |
1 |
| nforce_chip_map |
|
9 |
62 |
438 |
2 |
| nforce_setup_channel |
|
10 |
67 |
511 |
1 |
| nforce_pci_intr |
|
5 |
26 |
151 |
1 |
| artisea_chip_map |
|
7 |
39 |
266 |
2 |
| ite_chip_map |
|
4 |
47 |
374 |
2 |
| ite_setup_channel |
|
15 |
75 |
553 |
1 |
| ixp_chip_map |
|
6 |
38 |
273 |
2 |
| ixp_setup_channel |
|
11 |
61 |
511 |
1 |
| jmicron_chip_map |
|
9 |
56 |
413 |
2 |
| jmicron_setup_channel |
|
12 |
50 |
334 |
1 |
| phison_chip_map |
|
6 |
39 |
279 |
2 |
| phison_setup_channel |
|
10 |
45 |
294 |
1 |
| sch_chip_map |
|
6 |
38 |
273 |
2 |
| sch_setup_channel |
|
10 |
45 |
332 |
1 |
| rdc_chip_map |
|
10 |
68 |
506 |
2 |
| rdc_setup_channel |
|
11 |
62 |
546 |
1 |
| Source file: ./sys/dev/acpi/acpicpu.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| acpicpu_set_throttle |
|
3 |
14 |
91 |
2 |
| acpicpu_find_cstate |
|
2 |
8 |
44 |
2 |
| acpicpu_set_pdc |
|
4 |
65 |
575 |
1 |
| check_mwait_hints |
|
5 |
19 |
108 |
2 |
| acpicpu_add_cstate |
|
4 |
19 |
142 |
7 |
| acpicpu_add_cstatepkg |
|
23 |
85 |
520 |
2 |
| acpicpu_add_cdeppkg |
|
8 |
21 |
147 |
2 |
| acpicpu_getcst |
|
10 |
37 |
280 |
1 |
| acpicpu_getcst_from_fadt |
|
8 |
16 |
135 |
1 |
| acpicpu_print_one_cst |
|
10 |
33 |
180 |
1 |
| acpicpu_print_cst |
|
3 |
14 |
67 |
1 |
| acpicpu_match |
|
4 |
10 |
70 |
3 |
| acpicpu_attach |
|
27 |
121 |
903 |
3 |
| acpicpu_getppc |
|
2 |
13 |
97 |
1 |
| acpicpu_getpct |
|
9 |
61 |
479 |
1 |
| acpicpu_getpss |
|
8 |
42 |
365 |
1 |
| acpicpu_fetch_pss |
|
2 |
9 |
43 |
1 |
| acpicpu_notify |
|
4 |
25 |
129 |
3 |
| acpicpu_set_notify |
|
2 |
7 |
41 |
1 |
| acpicpu_setperf_ppc_change |
|
2 |
7 |
37 |
2 |
| acpicpu_setperf |
|
12 |
64 |
483 |
1 |
| acpicpu_idle |
|
26 |
86 |
571 |
1 |
| Source file: ./sys/dev/acpi/acpiprt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| acpiprt_match |
|
4 |
10 |
70 |
3 |
| acpiprt_attach |
|
5 |
28 |
201 |
3 |
| acpiprt_getirq |
|
4 |
29 |
216 |
3 |
| acpiprt_chooseirq |
|
11 |
46 |
363 |
3 |
| acpiprt_prt_add |
|
35 |
145 |
1011 |
2 |
| acpiprt_getpcibus |
|
3 |
5 |
38 |
2 |
| acpiprt_route_interrupt |
|
14 |
56 |
351 |
3 |
| Source file: ./sys/dev/acpi/acpisbs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| acpisbs_match |
|
1 |
6 |
47 |
3 |
| acpisbs_attach |
|
10 |
39 |
333 |
3 |
| acpisbs_read |
|
6 |
27 |
198 |
1 |
| acpisbs_setup_sensors |
|
5 |
24 |
217 |
1 |
| acpisbs_refresh_sensors |
|
13 |
51 |
344 |
1 |
| acpisbs_notify |
|
4 |
20 |
105 |
3 |
| acpi_smbus_read |
|
9 |
52 |
376 |
5 |
| Source file: ./sys/dev/acpi/acpidebug.h |
| Source file: ./sys/dev/acpi/acpimadt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| acpimadt_match |
|
3 |
11 |
83 |
3 |
| acpimadt_validate |
|
26 |
60 |
342 |
1 |
| acpimadt_cfg_intr |
|
7 |
30 |
127 |
2 |
| acpimadt_attach |
|
37 |
199 |
1360 |
3 |
| acpimadt_print |
|
2 |
7 |
40 |
2 |
| Source file: ./sys/dev/acpi/acpivar.h |
| Source file: ./sys/dev/acpi/acpiec.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| acpiec_wait |
|
5 |
18 |
124 |
3 |
| acpiec_status |
|
1 |
4 |
25 |
1 |
| acpiec_write_data |
|
1 |
6 |
48 |
2 |
| acpiec_write_cmd |
|
1 |
6 |
48 |
2 |
| acpiec_read_data |
|
1 |
8 |
53 |
1 |
| acpiec_sci_event |
|
2 |
14 |
111 |
1 |
| acpiec_read_1 |
|
2 |
10 |
60 |
2 |
| acpiec_write_1 |
|
2 |
8 |
55 |
3 |
| acpiec_burst_enable |
|
1 |
5 |
21 |
1 |
| acpiec_burst_disable |
|
2 |
5 |
29 |
1 |
| acpiec_read |
|
2 |
11 |
90 |
4 |
| acpiec_write |
|
2 |
11 |
90 |
4 |
| acpiec_match |
|
4 |
13 |
107 |
3 |
| acpiec_attach |
|
8 |
35 |
263 |
3 |
| acpiec_get_events |
|
3 |
12 |
108 |
1 |
| acpiec_gpehandler |
|
4 |
26 |
174 |
3 |
| acpiec_parse_resources |
|
7 |
36 |
184 |
3 |
| acpiec_getcrs |
|
11 |
61 |
453 |
2 |
| acpiec_reg |
|
3 |
16 |
124 |
1 |
| acpiec_lock |
|
2 |
8 |
36 |
1 |
| acpiec_unlock |
|
2 |
8 |
36 |
1 |
| Source file: ./sys/dev/acpi/tpm.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tpm_match |
|
1 |
6 |
47 |
3 |
| tpm_attach |
|
10 |
53 |
373 |
3 |
| tpm_parse_crs |
|
7 |
23 |
127 |
3 |
| tpm_activate |
|
5 |
23 |
103 |
2 |
| tpm_suspend |
|
1 |
13 |
82 |
1 |
| tpm_resume |
|
1 |
5 |
25 |
1 |
| tpm_probe |
|
5 |
18 |
84 |
2 |
| tpm_init |
|
7 |
30 |
239 |
1 |
| tpm_request_locality |
|
6 |
26 |
167 |
2 |
| tpm_release_locality |
|
2 |
10 |
68 |
1 |
| tpm_getburst |
|
4 |
20 |
149 |
1 |
| tpm_status |
|
1 |
4 |
25 |
1 |
| tpm_tmotohz |
|
1 |
7 |
38 |
1 |
| tpm_waitfor |
|
3 |
14 |
78 |
3 |
| tpm_read |
|
7 |
29 |
186 |
5 |
| tpm_write |
|
11 |
55 |
440 |
3 |
| Source file: ./sys/dev/acpi/amltypes.h |
| Source file: ./sys/dev/acpi/acpireg.h |
| Source file: ./sys/dev/acpi/acpibat.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| acpibat_match |
|
2 |
8 |
65 |
3 |
| acpibat_attach |
|
7 |
34 |
276 |
3 |
| acpibat_monitor |
|
4 |
59 |
768 |
1 |
| acpibat_refresh |
|
19 |
117 |
1156 |
1 |
| acpibat_getbix |
|
11 |
90 |
779 |
1 |
| acpibat_getbst |
|
4 |
31 |
225 |
1 |
| acpibat_notify |
|
6 |
26 |
127 |
3 |
| Source file: ./sys/dev/acpi/dsdt.h |
| Source file: ./sys/dev/acpi/acpiac.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| acpiac_match |
|
1 |
6 |
47 |
3 |
| acpiac_attach |
|
3 |
25 |
213 |
3 |
| acpiac_refresh |
|
1 |
7 |
42 |
1 |
| acpiac_getsta |
|
3 |
15 |
99 |
1 |
| acpiac_notify |
|
5 |
16 |
78 |
3 |
| Source file: ./sys/dev/acpi/acpitz.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| acpitz_init_perf |
|
3 |
9 |
35 |
1 |
| acpitz_setperf |
|
7 |
12 |
54 |
1 |
| acpitz_init |
|
7 |
32 |
251 |
2 |
| acpitz_match |
|
5 |
12 |
87 |
3 |
| acpitz_attach |
|
5 |
46 |
404 |
3 |
| acpitz_activate |
|
2 |
10 |
45 |
2 |
| acpitz_setfan |
|
11 |
68 |
436 |
3 |
| acpitz_refresh |
|
26 |
70 |
539 |
1 |
| acpitz_getreading |
|
2 |
7 |
50 |
2 |
| acpitz_gettempreading |
|
5 |
26 |
163 |
2 |
| acpitz_notify |
|
4 |
20 |
92 |
3 |
| Source file: ./sys/dev/acpi/acpidev.h |
| Source file: ./sys/dev/acpi/acpihve.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| acpihve_match |
|
6 |
13 |
106 |
3 |
| acpihve_attach |
|
3 |
14 |
107 |
3 |
| Source file: ./sys/dev/acpi/acpihpet.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| acpihpet_r |
|
1 |
8 |
52 |
3 |
| acpihpet_w |
|
1 |
6 |
45 |
4 |
| acpihpet_activate |
|
3 |
65 |
642 |
2 |
| acpihpet_match |
|
4 |
11 |
85 |
3 |
| acpihpet_attach |
|
9 |
55 |
383 |
3 |
| acpihpet_gettime |
|
1 |
5 |
34 |
1 |
| Source file: ./sys/dev/acpi/acpitimer.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| acpitimermatch |
|
4 |
10 |
70 |
3 |
| acpitimerattach |
|
7 |
26 |
214 |
3 |
| acpi_get_timecount |
|
3 |
13 |
97 |
1 |
| Source file: ./sys/dev/acpi/acpiutil.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| acpi_checksum |
|
3 |
11 |
65 |
2 |
| Source file: ./sys/dev/acpi/smbus.h |
| Source file: ./sys/dev/acpi/acpivout.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| acpivout_match |
|
6 |
12 |
81 |
3 |
| acpivout_attach |
|
1 |
13 |
101 |
3 |
| acpivout_notify |
|
6 |
24 |
95 |
3 |
| acpivout_brightness_cycle |
|
3 |
11 |
55 |
1 |
| acpivout_brightness_up |
|
6 |
13 |
96 |
1 |
| acpivout_brightness_down |
|
6 |
13 |
92 |
1 |
| acpivout_brightness_zero |
|
2 |
6 |
31 |
1 |
| acpivout_get_brightness |
|
3 |
12 |
98 |
1 |
| acpivout_find_brightness |
|
7 |
15 |
143 |
2 |
| acpivout_set_brightness |
|
1 |
10 |
84 |
2 |
| acpivout_get_bcl |
|
6 |
26 |
205 |
1 |
| acpivout_get_param |
|
8 |
27 |
170 |
1 |
| acpivout_set_param |
|
7 |
25 |
151 |
1 |
| Source file: ./sys/dev/acpi/acpithinkpad.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| thinkpad_match |
|
5 |
14 |
108 |
3 |
| thinkpad_sensor_attach |
|
3 |
16 |
134 |
1 |
| thinkpad_sensor_refresh |
|
4 |
18 |
169 |
1 |
| thinkpad_attach |
|
6 |
32 |
237 |
3 |
| thinkpad_enable_events |
|
5 |
31 |
242 |
1 |
| thinkpad_hotkey |
|
23 |
66 |
290 |
3 |
| thinkpad_toggle_bluetooth |
|
4 |
19 |
126 |
1 |
| thinkpad_toggle_wan |
|
4 |
19 |
126 |
1 |
| thinkpad_cmos |
|
1 |
9 |
64 |
2 |
| thinkpad_volume_down |
|
1 |
4 |
19 |
1 |
| thinkpad_volume_up |
|
1 |
4 |
19 |
1 |
| thinkpad_volume_mute |
|
1 |
4 |
19 |
1 |
| thinkpad_brightness_up |
|
1 |
4 |
19 |
1 |
| thinkpad_brightness_down |
|
1 |
4 |
19 |
1 |
| thinkpad_adaptive_change |
|
4 |
22 |
135 |
1 |
| thinkpad_activate |
|
6 |
17 |
96 |
2 |
| thinkpad_get_thinklight |
|
2 |
6 |
39 |
1 |
| thinkpad_set_thinklight |
|
1 |
10 |
73 |
2 |
| thinkpad_get_backlight |
|
2 |
11 |
75 |
1 |
| thinkpad_set_backlight |
|
3 |
16 |
103 |
1 |
| thinkpad_get_brightness |
|
1 |
5 |
31 |
1 |
| thinkpad_set_brightness |
|
1 |
10 |
71 |
2 |
| thinkpad_get_param |
|
3 |
15 |
82 |
1 |
| thinkpad_set_param |
|
5 |
22 |
129 |
1 |
| thinkpad_attach_deferred |
|
1 |
4 |
16 |
1 |
| thinkpad_get_volume_mute |
|
2 |
9 |
57 |
1 |
| Source file: ./sys/dev/acpi/acpials.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| acpials_match |
|
3 |
8 |
67 |
3 |
| acpials_attach |
|
5 |
30 |
255 |
3 |
| acpials_read |
|
2 |
9 |
54 |
1 |
| acpials_notify |
|
2 |
8 |
54 |
3 |
| acpials_addtask |
|
1 |
6 |
35 |
1 |
| acpials_update |
|
2 |
10 |
67 |
2 |
| Source file: ./sys/dev/pcmcia/pcmciareg.h |
| Source file: ./sys/dev/acpi/acpisony.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| acpisony_match |
|
4 |
10 |
70 |
3 |
| acpisony_attach |
|
1 |
11 |
89 |
3 |
| acpisony_activate |
|
2 |
10 |
43 |
2 |
| acpisony_notify |
|
19 |
73 |
361 |
3 |
| acpisony_notify_setup |
|
1 |
22 |
238 |
1 |
| acpisony_find_offset |
|
3 |
17 |
122 |
2 |
| acpisony_set_hotkey |
|
2 |
16 |
119 |
3 |
| acpisony_brightness_down |
|
2 |
12 |
58 |
1 |
| acpisony_get_brightness |
|
1 |
9 |
53 |
1 |
| acpisony_set_brightness |
|
1 |
9 |
65 |
2 |
| Source file: ./sys/dev/pcmcia/gpr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| gpr_match |
|
3 |
8 |
48 |
3 |
| gpr_attach |
|
10 |
60 |
460 |
3 |
| gpr_detach |
|
1 |
9 |
75 |
2 |
| gpr_activate |
|
3 |
13 |
70 |
2 |
| gpropen |
|
3 |
10 |
84 |
4 |
| gprclose |
|
1 |
8 |
70 |
4 |
| gprioctl |
|
16 |
58 |
310 |
5 |
| gpr_intr |
|
1 |
11 |
69 |
1 |
| tlvput |
|
7 |
35 |
244 |
4 |
| Source file: ./sys/dev/pcmcia/pcmciadevs.h |
| Source file: ./sys/dev/pcmcia/pcmciavar.h |
| Source file: ./sys/dev/pcmcia/wdc_pcmcia.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wdc_pcmcia_disk_device_interface_callback |
|
6 |
22 |
101 |
2 |
| wdc_pcmcia_disk_device_interface |
|
2 |
12 |
65 |
1 |
| wdc_pcmcia_lookup |
|
11 |
25 |
162 |
1 |
| wdc_pcmcia_match |
|
4 |
19 |
118 |
3 |
| wdc_pcmcia_attach |
|
23 |
111 |
854 |
3 |
| wdc_pcmcia_detach |
|
5 |
20 |
149 |
2 |
| wdc_pcmcia_activate |
|
7 |
36 |
218 |
2 |
| Source file: ./sys/dev/pcmcia/if_xereg.h |
| Source file: ./sys/dev/acpi/dsdt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| aml_pc |
|
1 |
4 |
15 |
1 |
| _aml_die |
|
9 |
30 |
203 |
4 |
| aml_hashopcodes |
|
2 |
8 |
71 |
1 |
| aml_findopcode |
|
3 |
8 |
38 |
1 |
| aml_mnem |
|
8 |
32 |
185 |
2 |
| acpi_walkmem |
|
2 |
13 |
72 |
2 |
| _acpi_os_malloc |
|
2 |
13 |
98 |
3 |
| _acpi_os_free |
|
3 |
11 |
90 |
3 |
| acpi_sleep |
|
3 |
12 |
60 |
2 |
| acpi_stall |
|
1 |
4 |
12 |
1 |
| aml_dump |
|
3 |
9 |
61 |
2 |
| aml_tstbit |
|
1 |
5 |
30 |
2 |
| aml_setbit |
|
2 |
8 |
42 |
3 |
| acpi_poll |
|
1 |
10 |
54 |
1 |
| aml_notify_task |
|
2 |
8 |
64 |
2 |
| aml_register_notify |
|
5 |
18 |
147 |
5 |
| aml_notify |
|
2 |
7 |
45 |
2 |
| aml_notify_dev |
|
3 |
9 |
64 |
2 |
| acpi_poll_notify_task |
|
3 |
7 |
52 |
2 |
| __aml_search |
|
4 |
20 |
142 |
3 |
| aml_nodename |
|
3 |
13 |
79 |
1 |
| aml_getname |
|
8 |
32 |
153 |
1 |
| aml_delchildren |
|
5 |
14 |
92 |
1 |
| acpi_glk_enter |
|
3 |
9 |
37 |
1 |
| acpi_glk_leave |
|
3 |
12 |
63 |
1 |
| aml_lockfield |
|
2 |
6 |
33 |
2 |
| aml_unlockfield |
|
2 |
6 |
33 |
2 |
| aml_showvalue |
|
26 |
80 |
504 |
1 |
| aml_val2int |
|
5 |
21 |
102 |
1 |
| _aml_setvalue |
|
12 |
45 |
303 |
4 |
| aml_copyvalue |
|
14 |
49 |
271 |
2 |
| aml_allocvalue |
|
2 |
10 |
66 |
3 |
| aml_freevalue |
|
9 |
31 |
173 |
1 |
| aml_convradix |
|
2 |
12 |
55 |
3 |
| aml_lsb |
|
3 |
9 |
47 |
1 |
| aml_msb |
|
3 |
9 |
44 |
1 |
| aml_evalexpr |
|
32 |
92 |
414 |
3 |
| aml_bufcpy |
|
3 |
13 |
106 |
5 |
| aml_walknodes |
|
5 |
14 |
95 |
4 |
| aml_find_node |
|
6 |
18 |
127 |
4 |
| aml_parseopcode |
|
12 |
22 |
118 |
1 |
| aml_parsename |
|
14 |
55 |
355 |
4 |
| aml_parselength |
|
4 |
15 |
94 |
1 |
| aml_parseend |
|
2 |
14 |
77 |
1 |
| aml_eisaid |
|
1 |
13 |
157 |
1 |
| aml_callosi |
|
7 |
24 |
190 |
2 |
| aml_create_defaultobjects |
|
4 |
22 |
170 |
1 |
| aml_print_resource |
|
10 |
53 |
358 |
2 |
| aml_mapresource |
|
2 |
11 |
63 |
1 |
| aml_parse_resource |
|
7 |
18 |
151 |
3 |
| aml_foreachpkg |
|
3 |
9 |
70 |
4 |
| aml_fixup_node |
|
8 |
20 |
139 |
2 |
| aml_postparse |
|
1 |
4 |
18 |
1 |
| aml_val_to_string |
|
5 |
24 |
139 |
1 |
| aml_addref |
|
3 |
10 |
55 |
2 |
| aml_delref |
|
6 |
18 |
103 |
2 |
| aml_findscope |
|
8 |
24 |
117 |
3 |
| aml_getstack |
|
9 |
21 |
159 |
2 |
| aml_showstack |
|
9 |
21 |
148 |
1 |
| aml_pushscope |
|
5 |
29 |
171 |
4 |
| aml_popscope |
|
5 |
22 |
112 |
1 |
| aml_matchtest |
|
7 |
18 |
82 |
3 |
| aml_match |
|
4 |
18 |
105 |
6 |
| aml_hextoint |
|
8 |
17 |
113 |
1 |
| aml_convert |
|
18 |
66 |
355 |
3 |
| aml_compare |
|
3 |
17 |
126 |
3 |
| aml_concat |
|
4 |
30 |
241 |
2 |
| aml_ccrlen |
|
1 |
6 |
35 |
3 |
| aml_concatres |
|
3 |
15 |
143 |
2 |
| aml_mid |
|
3 |
8 |
65 |
3 |
| aml_evalhid |
|
3 |
8 |
67 |
2 |
| aml_opreg_sysmem_handler |
|
1 |
6 |
39 |
5 |
| aml_opreg_sysio_handler |
|
1 |
6 |
39 |
5 |
| aml_opreg_pcicfg_handler |
|
1 |
6 |
39 |
5 |
| aml_opreg_ec_handler |
|
1 |
6 |
39 |
5 |
| aml_register_regionspace |
|
3 |
16 |
146 |
4 |
| aml_rdpciaddr |
|
5 |
18 |
118 |
2 |
| acpi_genio |
|
12 |
57 |
330 |
7 |
| aml_rwgen |
|
17 |
78 |
591 |
6 |
| aml_rwgpio |
|
10 |
25 |
227 |
6 |
| aml_rwindexfield |
|
10 |
59 |
384 |
3 |
| aml_rwfield |
|
7 |
41 |
364 |
5 |
| aml_createfield |
|
8 |
31 |
221 |
8 |
| aml_parsefieldlist |
|
8 |
40 |
225 |
6 |
| acpi_mutex_acquire |
|
5 |
17 |
108 |
3 |
| acpi_mutex_release |
|
2 |
10 |
60 |
2 |
| acpi_event_wait |
|
6 |
16 |
101 |
3 |
| acpi_event_signal |
|
1 |
4 |
22 |
2 |
| acpi_event_reset |
|
1 |
4 |
22 |
2 |
| aml_store |
|
23 |
78 |
492 |
4 |
| aml_disprintf |
|
1 |
7 |
37 |
3 |
| aml_disasm |
|
146 |
335 |
1539 |
4 |
| aml_eval |
|
13 |
55 |
365 |
5 |
| aml_parsesimple |
|
9 |
38 |
212 |
3 |
| aml_gettgt |
|
3 |
7 |
35 |
2 |
| aml_seterror |
|
2 |
15 |
88 |
3 |
| aml_load |
|
4 |
28 |
213 |
4 |
| aml_parse |
|
197 |
600 |
4086 |
3 |
| acpi_parse_aml |
|
2 |
21 |
121 |
3 |
| aml_evalnode |
|
8 |
23 |
161 |
5 |
| aml_node_setval |
|
2 |
10 |
71 |
3 |
| aml_evalname |
|
1 |
6 |
55 |
6 |
| aml_evalinteger |
|
2 |
13 |
89 |
6 |
| __aml_searchname |
|
7 |
21 |
158 |
3 |
| aml_searchname |
|
1 |
4 |
24 |
2 |
| aml_searchrel |
|
3 |
11 |
52 |
2 |
| acpi_getdevlist |
|
4 |
17 |
106 |
4 |
| acpi_freedevlist |
|
2 |
8 |
43 |
1 |
| Source file: ./sys/dev/pcmcia/pcmcia_cis.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pcmcia_cis_read_1 |
|
2 |
20 |
182 |
2 |
| pcmcia_read_cis |
|
2 |
21 |
164 |
1 |
| if |
|
2 |
5 |
31 |
1 |
| if |
|
2 |
7 |
53 |
1 |
| while |
|
53 |
233 |
1338 |
1 |
| pcmcia_print_cis |
|
44 |
147 |
850 |
1 |
| pcmcia_parse_cis_tuple |
|
105 |
519 |
2882 |
2 |
| Source file: ./sys/dev/pcmcia/cfxgareg.h |
| Source file: ./sys/dev/pcmcia/if_xe.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| xe_pcmcia_match |
|
6 |
18 |
81 |
3 |
| xe_pcmcia_attach |
|
22 |
154 |
1080 |
3 |
| xe_pcmcia_detach |
|
1 |
16 |
117 |
2 |
| xe_pcmcia_activate |
|
8 |
35 |
236 |
2 |
| xe_pcmcia_funce_enaddr |
|
1 |
6 |
29 |
2 |
| xe_pcmcia_lan_nid_ciscallback |
|
10 |
33 |
195 |
2 |
| xe_pcmcia_interpret_manfid |
|
6 |
18 |
127 |
1 |
| xe_pcmcia_manfid_ciscallback |
|
14 |
48 |
221 |
2 |
| xe_intr |
|
13 |
83 |
584 |
1 |
| xe_get |
|
10 |
70 |
436 |
1 |
| xe_mdi_idle |
|
1 |
11 |
68 |
1 |
| xe_mdi_pulse |
|
2 |
13 |
86 |
2 |
| xe_mdi_probe |
|
1 |
14 |
91 |
1 |
| xe_mdi_pulse_bits |
|
2 |
9 |
53 |
3 |
| xe_mdi_read |
|
4 |
25 |
160 |
3 |
| xe_mdi_write |
|
2 |
20 |
133 |
4 |
| xe_statchg |
|
1 |
4 |
11 |
1 |
| xe_mediachange |
|
2 |
7 |
31 |
1 |
| xe_mediastatus |
|
1 |
9 |
55 |
2 |
| xe_reset |
|
1 |
10 |
40 |
1 |
| xe_watchdog |
|
1 |
8 |
47 |
1 |
| xe_stop |
|
1 |
12 |
105 |
1 |
| xe_init |
|
1 |
13 |
73 |
1 |
| xe_start |
|
15 |
56 |
452 |
1 |
| xe_ioctl |
|
18 |
58 |
333 |
3 |
| xe_set_address |
|
11 |
45 |
307 |
1 |
| xe_cycle_power |
|
2 |
16 |
104 |
1 |
| xe_full_reset |
|
15 |
84 |
733 |
1 |
| xe_reg_dump |
|
11 |
34 |
254 |
1 |
| Source file: ./sys/dev/acpi/acpi.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| acpi_pci_conf_read_1 |
|
1 |
5 |
44 |
3 |
| acpi_pci_conf_read_2 |
|
1 |
5 |
44 |
3 |
| acpi_pci_conf_read_4 |
|
1 |
4 |
23 |
3 |
| acpi_pci_conf_write_1 |
|
1 |
7 |
79 |
4 |
| acpi_pci_conf_write_2 |
|
1 |
7 |
79 |
4 |
| acpi_pci_conf_write_4 |
|
1 |
4 |
27 |
4 |
| acpi_gasio |
|
28 |
140 |
869 |
7 |
| acpi_inidev |
|
5 |
14 |
105 |
2 |
| acpi_foundprt |
|
5 |
23 |
176 |
2 |
| acpi_match |
|
3 |
10 |
73 |
3 |
| acpi_getminbus |
|
4 |
11 |
76 |
3 |
| _acpi_matchhids |
|
3 |
8 |
56 |
2 |
| acpi_matchhids |
|
4 |
11 |
72 |
3 |
| acpi_getpci |
|
21 |
92 |
758 |
2 |
| acpi_pci_match |
|
4 |
20 |
151 |
2 |
| acpi_pci_min_powerstate |
|
9 |
27 |
157 |
2 |
| acpi_pci_set_powerstate |
|
12 |
34 |
234 |
4 |
| acpi_pci_notify |
|
3 |
16 |
116 |
3 |
| acpi_pciroots_attach |
|
2 |
13 |
86 |
3 |
| acpi_gpio_event_task |
|
1 |
8 |
58 |
2 |
| acpi_gpio_event |
|
1 |
6 |
33 |
1 |
| acpi_gpio_parse_events |
|
6 |
27 |
188 |
3 |
| acpi_register_gpio |
|
4 |
17 |
144 |
2 |
| acpi_attach |
|
34 |
178 |
1409 |
3 |
| acpi_submatch |
|
2 |
8 |
68 |
3 |
| acpi_print |
|
4 |
13 |
72 |
2 |
| acpi_maptable |
|
14 |
42 |
308 |
6 |
| acpi_loadtables |
|
7 |
38 |
299 |
2 |
| acpi_read_pmreg |
|
18 |
68 |
473 |
3 |
| acpi_write_pmreg |
|
17 |
74 |
514 |
4 |
| acpi_map_pmregs |
|
27 |
106 |
564 |
1 |
| acpi_unmap_pmregs |
|
4 |
9 |
72 |
1 |
| acpi_enable |
|
3 |
12 |
66 |
1 |
| acpi_addtask |
|
2 |
15 |
100 |
4 |
| acpi_dotask |
|
2 |
16 |
95 |
1 |
| is_ata |
|
4 |
7 |
48 |
1 |
| is_ejectable |
|
1 |
4 |
21 |
1 |
| is_ejectable_bay |
|
3 |
4 |
31 |
1 |
| acpiide_notify |
|
10 |
33 |
263 |
3 |
| acpi_foundide |
|
6 |
35 |
277 |
2 |
| acpi_sleep_task |
|
1 |
14 |
106 |
2 |
| acpi_reset |
|
7 |
23 |
140 |
1 |
| acpi_gpe_task |
|
3 |
10 |
71 |
2 |
| acpi_pbtn_task |
|
1 |
13 |
77 |
2 |
| acpi_sbtn_task |
|
1 |
13 |
73 |
2 |
| acpi_powerdown_task |
|
2 |
8 |
34 |
2 |
| acpi_interrupt |
|
11 |
61 |
433 |
1 |
| acpi_add_device |
|
11 |
46 |
249 |
2 |
| acpi_enable_onegpe |
|
2 |
9 |
81 |
2 |
| acpi_disable_allgpes |
|
2 |
8 |
59 |
1 |
| acpi_enable_rungpes |
|
3 |
7 |
45 |
1 |
| acpi_enable_wakegpes |
|
2 |
11 |
68 |
2 |
| acpi_set_gpehandler |
|
5 |
17 |
124 |
5 |
| acpi_gpe |
|
2 |
13 |
124 |
3 |
| acpi_foundprw |
|
9 |
32 |
280 |
2 |
| acpi_find_gpe |
|
2 |
6 |
32 |
2 |
| acpi_init_gpes |
|
6 |
28 |
220 |
1 |
| acpi_init_pm |
|
1 |
9 |
81 |
1 |
| acpi_init_states |
|
4 |
20 |
169 |
1 |
| acpi_sleep_pm |
|
8 |
32 |
250 |
2 |
| acpi_resume_pm |
|
5 |
32 |
279 |
2 |
| acpi_indicator |
|
2 |
8 |
42 |
2 |
| acpi_sleep_state |
|
23 |
104 |
557 |
2 |
| acpi_powerdown |
|
3 |
18 |
93 |
1 |
| acpi_map_address |
|
5 |
22 |
112 |
6 |
| acpi_wakeup |
|
1 |
6 |
31 |
1 |
| acpi_thread |
|
10 |
45 |
278 |
1 |
| acpi_create_thread |
|
2 |
8 |
45 |
1 |
| acpi_foundec |
|
7 |
34 |
213 |
2 |
| acpi_foundsony |
|
1 |
13 |
97 |
2 |
| acpi_parsehid |
|
7 |
43 |
254 |
5 |
| acpi_attach_deps |
|
8 |
21 |
142 |
2 |
| acpi_foundhid |
|
10 |
38 |
293 |
2 |
| acpi_founddock |
|
1 |
14 |
110 |
2 |
| acpi_foundvideo |
|
1 |
13 |
99 |
2 |
| acpi_foundsbs |
|
6 |
27 |
229 |
2 |
| acpiopen |
|
10 |
35 |
176 |
4 |
| acpiclose |
|
6 |
23 |
120 |
4 |
| acpiioctl |
|
30 |
112 |
687 |
5 |
| acpi_record_event |
|
2 |
8 |
51 |
2 |
| acpi_filtdetach |
|
1 |
8 |
45 |
1 |
| acpi_filtread |
|
3 |
6 |
32 |
2 |
| acpikqfilter |
|
5 |
20 |
114 |
2 |
| acpiopen |
|
1 |
4 |
23 |
4 |
| acpiclose |
|
1 |
4 |
23 |
4 |
| acpiioctl |
|
1 |
4 |
26 |
5 |
| acpikqfilter |
|
1 |
4 |
17 |
2 |
| Source file: ./sys/dev/pcmcia/esp_pcmcia.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| esp_pcmcia_match |
|
5 |
13 |
95 |
3 |
| esp_pcmcia_attach |
|
10 |
58 |
383 |
3 |
| esp_pcmcia_init |
|
2 |
25 |
191 |
1 |
| esp_pcmcia_detach |
|
3 |
16 |
98 |
2 |
| esp_pcmcia_enable |
|
7 |
32 |
196 |
2 |
| esp_pcmcia_poll |
|
1 |
7 |
42 |
1 |
| esp_pcmcia_read_reg |
|
1 |
9 |
53 |
2 |
| esp_pcmcia_write_reg |
|
3 |
11 |
75 |
3 |
| esp_pcmcia_dma_isintr |
|
1 |
5 |
21 |
1 |
| esp_pcmcia_dma_reset |
|
1 |
7 |
35 |
1 |
| esp_pcmcia_dma_intr |
|
14 |
60 |
365 |
1 |
| esp_pcmcia_dma_setup |
|
1 |
15 |
80 |
5 |
| esp_pcmcia_dma_go |
|
1 |
6 |
29 |
1 |
| esp_pcmcia_dma_stop |
|
1 |
4 |
11 |
1 |
| esp_pcmcia_dma_isactive |
|
1 |
6 |
30 |
1 |
| Source file: ./sys/dev/pcmcia/if_maloreg.h |
| Source file: ./sys/dev/pcmcia/pcmciachip.h |
| Source file: ./sys/dev/pcmcia/aic_pcmcia.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| aic_pcmcia_match |
|
5 |
13 |
95 |
3 |
| aic_pcmcia_attach |
|
14 |
54 |
387 |
3 |
| aic_pcmcia_detach |
|
2 |
13 |
76 |
2 |
| Source file: ./sys/dev/pcmcia/if_malovar.h |
| Source file: ./sys/dev/pcmcia/gprio.h |
| Source file: ./sys/dev/pcmcia/if_wi_pcmcia.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wi_lookup |
|
13 |
23 |
195 |
1 |
| wi_pcmcia_match |
|
2 |
7 |
43 |
3 |
| wi_pcmcia_attach |
|
10 |
56 |
406 |
3 |
| wi_pcmcia_detach |
|
2 |
15 |
111 |
2 |
| wi_pcmcia_activate |
|
8 |
33 |
201 |
2 |
| wi_pcmcia_wakeup |
|
2 |
13 |
75 |
1 |
| Source file: ./sys/dev/pcmcia/cfxga.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cfxga_install_function |
|
2 |
19 |
116 |
1 |
| cfxga_remove_function |
|
1 |
8 |
49 |
1 |
| cfxga_match |
|
9 |
37 |
246 |
3 |
| cfxga_activate |
|
2 |
14 |
64 |
2 |
| cfxga_attach |
|
8 |
52 |
371 |
3 |
| cfxga_detach |
|
3 |
12 |
83 |
2 |
| cfxga_alloc_screen |
|
15 |
88 |
579 |
6 |
| cfxga_burner |
|
2 |
10 |
66 |
3 |
| cfxga_free_screen |
|
2 |
14 |
92 |
2 |
| cfxga_ioctl |
|
19 |
54 |
269 |
5 |
| cfxga_mmap |
|
1 |
4 |
20 |
3 |
| cfxga_show_screen |
|
2 |
13 |
92 |
5 |
| cfxga_load_font |
|
2 |
8 |
55 |
3 |
| cfxga_list_font |
|
2 |
8 |
49 |
2 |
| cfxga_reset_video |
|
12 |
71 |
579 |
1 |
| cfxga_reset_and_repaint |
|
2 |
8 |
39 |
1 |
| cfxga_wait |
|
3 |
10 |
60 |
3 |
| cfxga_synchronize |
|
3 |
16 |
98 |
1 |
| cfxga_expand_char |
|
17 |
65 |
542 |
5 |
| cfxga_repaint_screen |
|
6 |
29 |
224 |
1 |
| cfxga_solid_fill |
|
3 |
24 |
220 |
6 |
| cfxga_standalone_rop |
|
4 |
29 |
259 |
8 |
| cfxga_copycols |
|
2 |
17 |
175 |
5 |
| cfxga_copyrows |
|
2 |
17 |
162 |
4 |
| cfxga_do_cursor |
|
2 |
13 |
110 |
1 |
| cfxga_erasecols |
|
3 |
19 |
200 |
5 |
| cfxga_eraserows |
|
4 |
23 |
237 |
4 |
| cfxga_putchar |
|
3 |
21 |
206 |
5 |
| Source file: ./sys/dev/pcmcia/if_ep_pcmcia.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ep_pcmcia_lookup |
|
4 |
10 |
68 |
1 |
| ep_pcmcia_match |
|
3 |
11 |
61 |
3 |
| ep_pcmcia_enable |
|
2 |
14 |
87 |
1 |
| ep_pcmcia_enable1 |
|
6 |
20 |
135 |
1 |
| ep_pcmcia_disable |
|
1 |
7 |
39 |
1 |
| ep_pcmcia_disable1 |
|
1 |
6 |
30 |
1 |
| ep_pcmcia_attach |
|
21 |
77 |
560 |
3 |
| ep_pcmcia_detach |
|
2 |
12 |
77 |
2 |
| ep_pcmcia_activate |
|
8 |
33 |
212 |
2 |
| ep_pcmcia_get_enaddr |
|
4 |
17 |
103 |
2 |
| Source file: ./sys/dev/pcmcia/if_an_pcmcia.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| an_pcmcia_match |
|
6 |
16 |
71 |
3 |
| an_pcmcia_attach |
|
6 |
45 |
313 |
3 |
| an_pcmcia_detach |
|
3 |
13 |
85 |
2 |
| an_pcmcia_activate |
|
4 |
19 |
121 |
2 |
| Source file: ./sys/dev/pcmcia/if_sm_pcmcia.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sm_pcmcia_match |
|
5 |
13 |
95 |
3 |
| sm_pcmcia_attach |
|
15 |
60 |
436 |
3 |
| sm_pcmcia_detach |
|
1 |
13 |
85 |
2 |
| sm_pcmcia_activate |
|
4 |
19 |
110 |
2 |
| sm_pcmcia_ascii_enaddr |
|
11 |
32 |
249 |
2 |
| sm_pcmcia_funce_enaddr |
|
1 |
6 |
29 |
2 |
| sm_pcmcia_lannid_ciscallback |
|
7 |
20 |
121 |
2 |
| sm_pcmcia_enable |
|
2 |
13 |
82 |
1 |
| sm_pcmcia_disable |
|
1 |
7 |
41 |
1 |
| Source file: ./sys/dev/pcmcia/pcmcia_cis_quirks.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pcmcia_check_cis_quirks |
|
23 |
73 |
582 |
1 |
| Source file: ./sys/dev/pcmcia/if_ne_pcmcia.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ne_pcmcia_match |
|
3 |
12 |
74 |
3 |
| ne_pcmcia_attach |
|
36 |
158 |
965 |
3 |
| ne_pcmcia_detach |
|
3 |
16 |
107 |
2 |
| ne_pcmcia_activate |
|
9 |
41 |
244 |
2 |
| ne_pcmcia_enable |
|
2 |
13 |
82 |
1 |
| ne_pcmcia_disable |
|
1 |
7 |
41 |
1 |
| ne_pcmcia_get_enaddr |
|
5 |
34 |
216 |
3 |
| ne_pcmcia_dl10019_get_enaddr |
|
6 |
24 |
162 |
2 |
| ne_pcmcia_ax88190_set_iobase |
|
5 |
37 |
277 |
1 |
| Source file: ./sys/dev/pcmcia/com_pcmcia.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| com_pcmcia_match |
|
13 |
40 |
219 |
3 |
| com_pcmcia_activate |
|
6 |
27 |
153 |
2 |
| com_pcmcia_attach |
|
16 |
64 |
448 |
3 |
| com_pcmcia_detach |
|
2 |
13 |
77 |
2 |
| com_pcmcia_enable |
|
2 |
14 |
85 |
1 |
| com_pcmcia_enable1 |
|
6 |
20 |
135 |
1 |
| com_pcmcia_disable |
|
1 |
7 |
39 |
1 |
| com_pcmcia_disable1 |
|
1 |
6 |
30 |
1 |
| Source file: ./sys/dev/pcmcia/pcmcia.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pcmcia_ccr_read |
|
1 |
7 |
36 |
2 |
| pcmcia_ccr_write |
|
2 |
10 |
61 |
3 |
| pcmcia_match |
|
2 |
10 |
59 |
3 |
| pcmcia_attach |
|
1 |
13 |
84 |
3 |
| pcmcia_activate |
|
12 |
29 |
173 |
2 |
| pcmcia_card_attach |
|
12 |
66 |
472 |
1 |
| pcmcia_card_detach |
|
5 |
23 |
161 |
2 |
| pcmcia_card_deactivate |
|
4 |
15 |
107 |
1 |
| pcmcia_submatch |
|
3 |
12 |
85 |
3 |
| pcmcia_print |
|
18 |
41 |
274 |
2 |
| pcmcia_card_gettype |
|
6 |
13 |
92 |
1 |
| pcmcia_function_init |
|
2 |
8 |
37 |
2 |
| pcmcia_function_enable |
|
19 |
99 |
712 |
1 |
| pcmcia_function_disable |
|
9 |
31 |
215 |
1 |
| pcmcia_io_map |
|
7 |
41 |
289 |
6 |
| if |
|
11 |
57 |
379 |
1 |
| pcmcia_intr_disestablish |
|
12 |
51 |
342 |
2 |
| pcmcia_intr_string |
|
1 |
6 |
35 |
2 |
| pcmcia_card_intr |
|
10 |
32 |
215 |
1 |
| Source file: ./sys/dev/hid/hidmt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| hidmt_get_resolution |
|
17 |
33 |
221 |
1 |
| hidmt_setup |
|
21 |
90 |
634 |
4 |
| hidmt_configure |
|
3 |
18 |
118 |
1 |
| hidmt_attach |
|
3 |
11 |
85 |
2 |
| hidmt_detach |
|
2 |
7 |
41 |
2 |
| hidmt_set_input_mode |
|
1 |
5 |
33 |
2 |
| hidmt_input |
|
29 |
116 |
778 |
3 |
| hidmt_enable |
|
2 |
7 |
27 |
1 |
| hidmt_ioctl |
|
7 |
34 |
202 |
5 |
| hidmt_disable |
|
1 |
4 |
15 |
1 |
| Source file: ./sys/dev/hid/hid.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| hid_clear_local |
|
1 |
15 |
85 |
1 |
| hid_switch_rid |
|
12 |
38 |
246 |
3 |
| hid_start_parse |
|
1 |
9 |
74 |
3 |
| hid_end_parse |
|
2 |
6 |
26 |
1 |
| hid_get_byte |
|
3 |
15 |
79 |
2 |
| hid_get_item |
|
55 |
275 |
1452 |
2 |
| hid_report_size |
|
7 |
27 |
203 |
4 |
| hid_locate |
|
10 |
27 |
202 |
7 |
| hid_get_data_sub |
|
6 |
32 |
214 |
4 |
| hid_get_data |
|
1 |
4 |
31 |
3 |
| hid_get_udata |
|
1 |
4 |
31 |
3 |
| hid_is_collection |
|
7 |
24 |
161 |
4 |
| Source file: ./sys/dev/hid/hidmsvar.h |
| Source file: ./sys/dev/hid/hidmtvar.h |
| Source file: ./sys/dev/hid/hid.h |
| Source file: ./sys/dev/pcmcia/if_malo.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| malo_pcmcia_match |
|
3 |
8 |
48 |
3 |
| malo_pcmcia_attach |
|
7 |
44 |
340 |
3 |
| malo_pcmcia_detach |
|
1 |
9 |
67 |
2 |
| malo_pcmcia_activate |
|
11 |
36 |
226 |
2 |
| malo_pcmcia_wakeup |
|
2 |
14 |
90 |
1 |
| cmalo_attach |
|
5 |
46 |
328 |
1 |
| cmalo_ioctl |
|
18 |
75 |
521 |
3 |
| cmalo_fw_alloc |
|
5 |
23 |
141 |
1 |
| cmalo_fw_free |
|
3 |
11 |
63 |
1 |
| cmalo_fw_load_helper |
|
9 |
45 |
298 |
1 |
| cmalo_fw_load_main |
|
14 |
63 |
405 |
1 |
| cmalo_init |
|
19 |
56 |
429 |
1 |
| cmalo_stop |
|
1 |
12 |
83 |
1 |
| cmalo_media_change |
|
3 |
9 |
52 |
1 |
| cmalo_newstate |
|
8 |
44 |
211 |
3 |
| cmalo_detach |
|
4 |
15 |
101 |
1 |
| cmalo_intr |
|
8 |
30 |
158 |
1 |
| cmalo_intr_mask |
|
2 |
15 |
84 |
2 |
| cmalo_rx |
|
7 |
48 |
365 |
1 |
| cmalo_start |
|
7 |
14 |
95 |
1 |
| cmalo_watchdog |
|
1 |
5 |
24 |
1 |
| cmalo_tx |
|
2 |
34 |
314 |
2 |
| cmalo_tx_done |
|
1 |
9 |
58 |
1 |
| cmalo_event |
|
3 |
24 |
116 |
1 |
| cmalo_select_network |
|
6 |
28 |
203 |
1 |
| cmalo_reflect_network |
|
1 |
12 |
115 |
1 |
| cmalo_wep |
|
3 |
14 |
88 |
1 |
| cmalo_rate2bitmap |
|
13 |
18 |
116 |
1 |
| cmalo_hexdump |
|
7 |
14 |
95 |
2 |
| cmalo_cmd_get_hwspec |
|
2 |
18 |
138 |
1 |
| cmalo_cmd_rsp_hwspec |
|
2 |
11 |
81 |
1 |
| cmalo_cmd_set_reset |
|
2 |
15 |
96 |
1 |
| cmalo_cmd_set_scan |
|
4 |
51 |
451 |
1 |
| cmalo_cmd_rsp_scan |
|
2 |
34 |
342 |
1 |
| cmalo_parse_elements |
|
5 |
32 |
230 |
4 |
| cmalo_cmd_set_auth |
|
2 |
19 |
153 |
1 |
| cmalo_cmd_set_wep |
|
10 |
48 |
337 |
3 |
| cmalo_cmd_set_snmp |
|
6 |
42 |
297 |
2 |
| cmalo_cmd_set_radio |
|
3 |
22 |
163 |
2 |
| cmalo_cmd_set_channel |
|
2 |
19 |
148 |
2 |
| cmalo_cmd_set_txpower |
|
2 |
19 |
148 |
2 |
| cmalo_cmd_set_antenna |
|
4 |
22 |
169 |
2 |
| cmalo_cmd_set_macctrl |
|
3 |
22 |
172 |
1 |
| cmalo_cmd_set_macaddr |
|
2 |
19 |
151 |
2 |
| cmalo_cmd_set_assoc |
|
4 |
56 |
552 |
1 |
| cmalo_cmd_rsp_assoc |
|
2 |
14 |
90 |
1 |
| cmalo_cmd_set_80211d |
|
3 |
32 |
256 |
1 |
| cmalo_cmd_set_bgscan_config |
|
2 |
23 |
172 |
1 |
| cmalo_cmd_set_bgscan_query |
|
2 |
18 |
133 |
1 |
| cmalo_cmd_set_rate |
|
3 |
25 |
187 |
2 |
| cmalo_cmd_request |
|
4 |
23 |
161 |
3 |
| cmalo_cmd_response |
|
21 |
108 |
569 |
1 |
| Source file: ./sys/dev/hid/hidkbdvar.h |
| Source file: ./sys/dev/hid/hidkbdsc.h |
| Source file: ./sys/dev/adb/adb_subr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| adbprint |
|
12 |
55 |
222 |
2 |
| Source file: ./sys/dev/adb/adb.h |
| Source file: ./sys/dev/adb/keyboard.h |
| Source file: ./sys/dev/adb/amsvar.h |
| Source file: ./sys/dev/hid/hidms.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| hidms_setup |
|
30 |
150 |
988 |
6 |
| hidms_attach |
|
13 |
43 |
310 |
2 |
| hidms_detach |
|
2 |
8 |
52 |
2 |
| hidms_input |
|
24 |
62 |
511 |
3 |
| hidms_enable |
|
2 |
8 |
33 |
1 |
| hidms_ioctl |
|
24 |
45 |
380 |
5 |
| hidms_disable |
|
1 |
4 |
15 |
1 |
| Source file: ./sys/dev/adb/akbdvar.h |
| Source file: ./sys/dev/hid/hidkbd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| hidkbdtracedump |
|
2 |
13 |
99 |
1 |
| hidkbd_attach |
|
4 |
21 |
134 |
7 |
| hidkbd_attach_wskbd |
|
1 |
11 |
73 |
3 |
| hidkbd_detach |
|
4 |
15 |
96 |
2 |
| hidkbd_input |
|
7 |
22 |
173 |
3 |
| hidkbd_delayed_decode |
|
1 |
5 |
25 |
1 |
| hidkbd_decode |
|
35 |
116 |
794 |
2 |
| hidkbd_enable |
|
2 |
7 |
32 |
2 |
| hidkbd_set_leds |
|
10 |
16 |
153 |
3 |
| hidkbd_ioctl |
|
5 |
17 |
114 |
5 |
| hidkbd_cngetc |
|
2 |
10 |
74 |
3 |
| hidkbd_bell |
|
2 |
6 |
38 |
4 |
| hidkbd_hookup_bell |
|
2 |
7 |
42 |
2 |
| hidkbd_parse_desc |
|
23 |
80 |
597 |
4 |
| Source file: ./sys/dev/adb/ams.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| amsmatch |
|
3 |
10 |
57 |
3 |
| amsattach |
|
17 |
89 |
443 |
3 |
| ems_init |
|
28 |
116 |
850 |
1 |
| ms_adbcomplete |
|
11 |
35 |
248 |
3 |
| ms_processevent |
|
16 |
47 |
365 |
2 |
| ams_enable |
|
1 |
4 |
11 |
1 |
| ams_ioctl |
|
2 |
9 |
49 |
5 |
| ams_disable |
|
1 |
3 |
8 |
1 |
| Source file: ./sys/dev/adb/akbd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| akbdmatch |
|
3 |
10 |
66 |
3 |
| akbdattach |
|
36 |
127 |
644 |
3 |
| akbd_adbcomplete |
|
7 |
22 |
149 |
3 |
| getleds |
|
3 |
12 |
75 |
1 |
| setleds |
|
6 |
23 |
166 |
2 |
| blinkleds |
|
4 |
14 |
80 |
1 |
| akbd_enable |
|
1 |
4 |
14 |
2 |
| akbd_set_leds |
|
7 |
17 |
80 |
2 |
| akbd_ioctl |
|
6 |
20 |
114 |
5 |
| akbd_processevent |
|
10 |
33 |
209 |
2 |
| akbd_capslockwrapper |
|
3 |
7 |
40 |
2 |
| akbd_iso_swap |
|
3 |
11 |
36 |
1 |
| akbd_input |
|
9 |
32 |
183 |
2 |
| Source file: ./sys/dev/atapiscsi/atapiscsi.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| atapiscsi_match |
|
5 |
13 |
88 |
3 |
| atapiscsi_attach |
|
10 |
63 |
462 |
3 |
| atapiscsi_activate |
|
3 |
18 |
97 |
2 |
| atapiscsi_detach |
|
1 |
4 |
22 |
2 |
| wdc_atapi_send_cmd |
|
16 |
79 |
479 |
1 |
| wdc_atapi_minphys |
|
2 |
6 |
33 |
2 |
| wdc_atapi_ioctl |
|
2 |
9 |
78 |
4 |
| atapi_to_scsi_sense |
|
7 |
29 |
196 |
2 |
| wdc_atapi_drive_selected |
|
1 |
6 |
47 |
2 |
| wdc_atapi_start |
|
1 |
5 |
29 |
2 |
| wdc_atapi_timer_handler |
|
3 |
18 |
99 |
1 |
| wdc_atapi_intr |
|
2 |
11 |
70 |
3 |
| wdc_atapi_the_poll_machine |
|
5 |
25 |
138 |
2 |
| wdc_atapi_the_machine |
|
12 |
50 |
298 |
3 |
| wdc_atapi_update_status |
|
4 |
14 |
112 |
1 |
| wdc_atapi_real_start |
|
5 |
21 |
158 |
4 |
| wdc_atapi_real_start_2 |
|
4 |
23 |
123 |
4 |
| wdc_atapi_send_packet |
|
5 |
22 |
166 |
4 |
| wdc_atapi_intr_command |
|
19 |
73 |
550 |
4 |
| wdc_atapi_in_data_phase |
|
8 |
37 |
189 |
3 |
| wdc_atapi_intr_data |
|
7 |
60 |
399 |
4 |
| wdc_atapi_intr_complete |
|
20 |
90 |
524 |
4 |
| wdc_atapi_pio_intr |
|
17 |
71 |
421 |
4 |
| wdc_atapi_ctrl |
|
39 |
148 |
836 |
4 |
| wdc_atapi_tape_done |
|
2 |
17 |
97 |
4 |
| wdc_atapi_done |
|
2 |
14 |
110 |
4 |
| wdc_atapi_reset |
|
2 |
17 |
106 |
4 |
| wdc_atapi_reset_2 |
|
3 |
21 |
123 |
4 |
| Source file: ./sys/dev/wsfont/wsfont.h |
| Source file: ./sys/dev/adb/akbdmap.h |
| Source file: ./sys/dev/hil/hilreg.h |
| Source file: ./sys/dev/wsfont/bold8x16-iso1.h |
| Source file: ./sys/dev/wsfont/bold8x16.h |
| Source file: ./sys/dev/hil/hilkbd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| hilkbdprobe |
|
3 |
8 |
48 |
3 |
| hilkbdattach |
|
12 |
47 |
363 |
3 |
| hilkbddetach |
|
3 |
10 |
58 |
2 |
| hilkbd_enable |
|
4 |
13 |
60 |
2 |
| hilkbd_set_leds |
|
9 |
23 |
143 |
2 |
| hilkbd_ioctl |
|
7 |
23 |
138 |
5 |
| hilkbd_cngetc |
|
4 |
12 |
77 |
3 |
| hilkbd_cnpollc |
|
1 |
5 |
32 |
2 |
| hilkbd_cnbell |
|
1 |
6 |
42 |
4 |
| hilkbd_bell |
|
1 |
7 |
56 |
4 |
| hilkbd_callback |
|
13 |
46 |
286 |
3 |
| hilkbd_decode |
|
5 |
12 |
77 |
5 |
| hilkbd_is_console |
|
3 |
9 |
36 |
1 |
| Source file: ./sys/dev/wsfont/wsfont.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wsfont_revbit |
|
2 |
8 |
61 |
1 |
| wsfont_revbyte |
|
4 |
20 |
115 |
1 |
| wsfont_enum |
|
2 |
10 |
65 |
2 |
| wsfont_rotate_cw |
|
5 |
20 |
184 |
3 |
| wsfont_rotate_ccw |
|
5 |
21 |
195 |
3 |
| wsfont_rotate_internal |
|
3 |
27 |
188 |
2 |
| wsfont_rotate |
|
2 |
15 |
92 |
2 |
| wsfont_init |
|
3 |
12 |
64 |
1 |
| wsfont_find0 |
|
2 |
8 |
39 |
1 |
| wsfont_find |
|
9 |
20 |
135 |
4 |
| wsfont_add |
|
4 |
34 |
226 |
2 |
| wsfont_remove |
|
5 |
22 |
145 |
1 |
| wsfont_lock |
|
10 |
34 |
197 |
4 |
| wsfont_unlock |
|
3 |
14 |
74 |
1 |
| wsfont_map_unichar |
|
14 |
32 |
226 |
2 |
| Source file: ./sys/dev/hil/hilkbdmap.h |
| Source file: ./sys/dev/hil/hilvar.h |
| Source file: ./sys/dev/hil/hilid.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| hilidprobe |
|
2 |
7 |
42 |
3 |
| hilidattach |
|
3 |
22 |
189 |
3 |
| hiliddetach |
|
1 |
4 |
17 |
2 |
| Source file: ./sys/dev/hil/hilms.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| hilmsprobe |
|
4 |
9 |
68 |
3 |
| hilmsattach |
|
11 |
54 |
397 |
3 |
| hilmsdetach |
|
2 |
7 |
46 |
2 |
| hilms_enable |
|
2 |
9 |
41 |
1 |
| hilms_disable |
|
1 |
5 |
21 |
1 |
| hilms_ioctl |
|
3 |
10 |
54 |
5 |
| hilms_callback |
|
29 |
84 |
552 |
3 |
| Source file: ./sys/dev/hil/hildevs_data.h |
| Source file: ./sys/dev/hil/hildevs.h |
| Source file: ./sys/dev/wscons/wseventvar.h |
| Source file: ./sys/dev/wscons/wskbdvar.h |
| Source file: ./sys/dev/wscons/wsemul_vt100_chars.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| vt100_initchartables |
|
7 |
17 |
162 |
1 |
| vt100_setnrc |
|
6 |
14 |
136 |
2 |
| Source file: ./sys/dev/wscons/wsksymdef.h |
| Source file: ./sys/dev/wscons/wscons_features.h |
| Source file: ./sys/dev/hil/hil.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| hilwait |
|
3 |
11 |
60 |
1 |
| hildatawait |
|
3 |
11 |
60 |
1 |
| hil_attach |
|
1 |
10 |
62 |
2 |
| hildevprint |
|
3 |
13 |
74 |
2 |
| hilsubmatch |
|
3 |
9 |
78 |
3 |
| hil_attach_deferred |
|
10 |
39 |
258 |
1 |
| hil_intr |
|
4 |
17 |
106 |
1 |
| hil_process_int |
|
15 |
55 |
278 |
3 |
| hil_process_poll |
|
13 |
52 |
241 |
3 |
| hil_thread |
|
5 |
24 |
114 |
1 |
| hilconfig |
|
15 |
53 |
397 |
2 |
| hilempty |
|
8 |
37 |
216 |
1 |
| send_hil_cmd |
|
8 |
34 |
211 |
5 |
| send_device_cmd |
|
6 |
40 |
282 |
3 |
| send_hildev_cmd |
|
4 |
15 |
119 |
4 |
| polloff |
|
3 |
26 |
204 |
1 |
| pollon |
|
2 |
19 |
147 |
1 |
| hil_set_poll |
|
2 |
9 |
44 |
2 |
| hil_poll_data |
|
4 |
18 |
129 |
3 |
| Source file: ./sys/dev/wscons/wsdisplayvar.h |
| Source file: ./sys/dev/wscons/wsmuxvar.h |
| Source file: ./sys/dev/wscons/wsemul_subr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wsemul_getchar |
|
16 |
84 |
413 |
4 |
| wsemul_local_translate |
|
45 |
121 |
473 |
3 |
| wsemul_utf8_translate |
|
9 |
35 |
211 |
4 |
| Source file: ./sys/dev/wscons/wsdisplay_compat_usl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usl_sync_init |
|
9 |
28 |
206 |
6 |
| usl_sync_done |
|
3 |
13 |
97 |
1 |
| usl_sync_check |
|
2 |
8 |
48 |
1 |
| usl_sync_get |
|
2 |
7 |
41 |
1 |
| usl_detachproc |
|
3 |
15 |
103 |
4 |
| usl_detachack |
|
4 |
12 |
84 |
2 |
| usl_detachtimeout |
|
3 |
13 |
80 |
1 |
| usl_attachproc |
|
3 |
15 |
103 |
4 |
| usl_attachack |
|
4 |
12 |
84 |
2 |
| usl_attachtimeout |
|
3 |
13 |
80 |
1 |
| wsdisplay_usl_ioctl1 |
|
14 |
46 |
314 |
5 |
| wsdisplay_usl_ioctl2 |
|
48 |
152 |
756 |
6 |
| Source file: ./sys/dev/wscons/wsconsio.h |
| Source file: ./sys/dev/hil/hilkbdmap.c |
| Source file: ./sys/dev/wscons/wsemulconf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wsemul_pick |
|
6 |
12 |
84 |
1 |
| wsemul_getname |
|
2 |
6 |
33 |
1 |
| Source file: ./sys/dev/wscons/unicode.h |
| Source file: ./sys/dev/wscons/wsmoused.h |
| Source file: ./sys/dev/wscons/wscons_callbacks.h |
| Source file: ./sys/dev/wscons/ascii.h |
| Source file: ./sys/dev/wscons/wsmousevar.h |
| Source file: ./sys/dev/wscons/wsemul_vt100_keys.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wsemul_vt100_translate |
|
47 |
126 |
618 |
4 |
| Source file: ./sys/dev/wscons/wsdisplay_usl_io.h |
| Source file: ./sys/dev/wscons/wsevent.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wsevent_init |
|
3 |
10 |
57 |
1 |
| wsevent_fini |
|
3 |
9 |
43 |
1 |
| wsevent_read |
|
12 |
42 |
297 |
3 |
| wsevent_poll |
|
3 |
13 |
82 |
3 |
| wsevent_kqfilter |
|
2 |
18 |
89 |
2 |
| filt_wseventdetach |
|
1 |
9 |
55 |
1 |
| filt_wseventread |
|
3 |
11 |
80 |
2 |
| Source file: ./sys/dev/wscons/wsmouse.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wsmousedevprint |
|
2 |
6 |
29 |
2 |
| wsmouse_match |
|
1 |
4 |
22 |
3 |
| wsmouse_attach |
|
7 |
21 |
158 |
3 |
| wsmouse_activate |
|
2 |
7 |
41 |
2 |
| wsmouse_detach |
|
10 |
31 |
212 |
2 |
| wsmouseopen |
|
10 |
33 |
231 |
4 |
| wsmouseclose |
|
7 |
25 |
189 |
4 |
| wsmousedoopen |
|
1 |
6 |
45 |
2 |
| wsmouseread |
|
5 |
18 |
111 |
3 |
| wsmouseioctl |
|
1 |
5 |
45 |
5 |
| wsmousedoioctl |
|
2 |
11 |
77 |
5 |
| wsmouse_param_ioctl |
|
8 |
29 |
198 |
4 |
| wsmouse_do_ioctl |
|
19 |
44 |
307 |
5 |
| wsmousepoll |
|
2 |
7 |
61 |
3 |
| wsmousekqfilter |
|
2 |
7 |
56 |
2 |
| wsmouse_mux_open |
|
2 |
7 |
49 |
2 |
| wsmouse_mux_close |
|
1 |
7 |
48 |
1 |
| wsmouse_add_mux |
|
6 |
10 |
83 |
2 |
| wsmouse_buttons |
|
2 |
8 |
61 |
2 |
| wsmouse_motion |
|
5 |
11 |
80 |
5 |
| wsmouse_position |
|
3 |
18 |
101 |
3 |
| normalized_pressure |
|
3 |
8 |
47 |
2 |
| wsmouse_touch |
|
5 |
16 |
122 |
3 |
| wsmouse_mtstate |
|
12 |
39 |
290 |
5 |
| wsmouse_set |
|
18 |
50 |
310 |
4 |
| wsmouse_touch_update |
|
9 |
20 |
156 |
1 |
| wsmouse_mt_update |
|
3 |
8 |
59 |
1 |
| wsmouse_ptr_ctrl |
|
6 |
29 |
231 |
1 |
| wsmouse_mt_convert |
|
3 |
19 |
141 |
1 |
| wsmouse_evq_put |
|
3 |
16 |
117 |
3 |
| wsmouse_btn_sync |
|
3 |
11 |
81 |
2 |
| scale |
|
2 |
11 |
70 |
3 |
| wsmouse_motion_sync |
|
18 |
36 |
332 |
2 |
| wsmouse_touch_sync |
|
5 |
11 |
91 |
2 |
| clear_sync_flags |
|
3 |
13 |
86 |
1 |
| wsmouse_input_sync |
|
13 |
47 |
342 |
1 |
| wsmouse_id_to_slot |
|
5 |
20 |
147 |
2 |
| wsmouse_matching |
|
19 |
59 |
494 |
4 |
| wsmouse_mtframe |
|
17 |
63 |
588 |
3 |
| free_mt_slots |
|
3 |
13 |
90 |
1 |
| wsmouse_mt_init |
|
8 |
28 |
212 |
3 |
| wsmouse_get_params |
|
18 |
64 |
404 |
3 |
| wsmouse_set_params |
|
22 |
81 |
465 |
3 |
| wsmouse_set_mode |
|
3 |
14 |
86 |
2 |
| wsmouse_get_hw |
|
1 |
4 |
24 |
1 |
| wsmouse_configure |
|
13 |
38 |
269 |
3 |
| wsmouse_input_reset |
|
3 |
20 |
178 |
1 |
| wsmouse_input_cleanup |
|
1 |
4 |
14 |
1 |
| Source file: ./sys/dev/wscons/wstpad.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| normalize_abs |
|
2 |
4 |
27 |
2 |
| normalize_rel |
|
2 |
4 |
24 |
2 |
| direction |
|
7 |
18 |
107 |
3 |
| dircmp |
|
2 |
5 |
33 |
2 |
| wstpad_set_direction |
|
5 |
15 |
99 |
4 |
| edge_flags |
|
5 |
13 |
83 |
3 |
| get_2nd_touch |
|
3 |
11 |
70 |
1 |
| set_freeze_ts |
|
1 |
6 |
51 |
3 |
| chk_scroll_state |
|
5 |
9 |
61 |
1 |
| wstpad_scroll |
|
9 |
30 |
245 |
4 |
| wstpad_f2scroll |
|
23 |
35 |
271 |
2 |
| wstpad_edgescroll |
|
10 |
19 |
141 |
2 |
| sbtn |
|
6 |
10 |
82 |
3 |
| top_sbtn |
|
4 |
9 |
70 |
3 |
| wstpad_get_sbtn |
|
11 |
18 |
157 |
2 |
| wstpad_softbuttons |
|
6 |
14 |
97 |
3 |
| wstpad_is_tap |
|
5 |
15 |
163 |
2 |
| wstpad_tap_touch |
|
7 |
25 |
177 |
1 |
| tap_finished |
|
3 |
5 |
37 |
2 |
| tap_btn |
|
3 |
5 |
42 |
2 |
| wstpad_tap |
|
32 |
105 |
703 |
2 |
| wstpad_tap_timeout |
|
6 |
27 |
197 |
1 |
| wstpad_click |
|
4 |
7 |
47 |
1 |
| wstpad_cmds |
|
13 |
52 |
307 |
3 |
| clear_touchstates |
|
1 |
8 |
55 |
2 |
| wstpad_mt_inputs |
|
4 |
46 |
445 |
1 |
| wstpad_mt_masks |
|
12 |
29 |
225 |
1 |
| wstpad_touch_inputs |
|
12 |
49 |
433 |
1 |
| t2_ignore |
|
3 |
5 |
46 |
1 |
| wstpad_process_input |
|
16 |
42 |
262 |
2 |
| wstpad_track_interval |
|
8 |
31 |
244 |
2 |
| wstpad_decelerate |
|
5 |
20 |
241 |
3 |
| wstpad_strong_hysteresis |
|
5 |
20 |
126 |
6 |
| wstpad_weak_hysteresis |
|
11 |
12 |
132 |
6 |
| wstpad_filter |
|
13 |
27 |
321 |
3 |
| wstpad_compat_convert |
|
10 |
24 |
240 |
2 |
| wstpad_init |
|
5 |
24 |
183 |
1 |
| isqrt |
|
3 |
16 |
87 |
1 |
| wstpad_init_deceleration |
|
4 |
19 |
158 |
1 |
| wstpad_configure |
|
32 |
100 |
972 |
1 |
| wstpad_reset |
|
3 |
12 |
74 |
1 |
| wstpad_set_param |
|
25 |
83 |
332 |
3 |
| wstpad_get_param |
|
24 |
80 |
336 |
3 |
| Source file: ./sys/dev/wscons/wsemul_vt100.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wsemul_vt100_init |
|
1 |
14 |
92 |
6 |
| wsemul_vt100_cnattach |
|
4 |
27 |
188 |
5 |
| wsemul_vt100_attach |
|
5 |
27 |
247 |
7 |
| wsemul_vt100_detach |
|
2 |
15 |
97 |
3 |
| wsemul_vt100_resetop |
|
5 |
24 |
127 |
2 |
| wsemul_vt100_reset |
|
3 |
26 |
188 |
1 |
| wsemul_vt100_nextline |
|
3 |
13 |
60 |
1 |
| wsemul_vt100_output_normal |
|
14 |
53 |
345 |
3 |
| wsemul_vt100_output_c0c1 |
|
23 |
72 |
318 |
3 |
| wsemul_vt100_output_esc |
|
42 |
140 |
734 |
2 |
| wsemul_vt100_output_scs94 |
|
8 |
36 |
182 |
2 |
| wsemul_vt100_output_scs94_percent |
|
3 |
16 |
74 |
2 |
| wsemul_vt100_output_scs96 |
|
18 |
53 |
214 |
2 |
| wsemul_vt100_output_scs96_percent |
|
4 |
15 |
68 |
2 |
| wsemul_vt100_output_esc_spc |
|
5 |
15 |
61 |
2 |
| wsemul_vt100_output_string |
|
5 |
12 |
74 |
2 |
| wsemul_vt100_output_string_esc |
|
2 |
10 |
45 |
2 |
| wsemul_vt100_output_dcs |
|
21 |
40 |
215 |
2 |
| wsemul_vt100_output_dcs_dollar |
|
11 |
32 |
134 |
2 |
| wsemul_vt100_output_esc_percent |
|
5 |
18 |
80 |
2 |
| wsemul_vt100_output_esc_hash |
|
23 |
68 |
504 |
2 |
| wsemul_vt100_output_csi |
|
23 |
46 |
246 |
2 |
| wsemul_vt100_output |
|
36 |
102 |
569 |
4 |
| wsemul_vt100_jump_scroll |
|
22 |
54 |
277 |
4 |
| Source file: ./sys/dev/wscons/wsemul_sun.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wsemul_sun_init |
|
1 |
14 |
92 |
6 |
| wsemul_sun_reset |
|
1 |
14 |
89 |
1 |
| wsemul_sun_cnattach |
|
4 |
23 |
144 |
5 |
| wsemul_sun_attach |
|
5 |
18 |
119 |
7 |
| wsemul_sun_output_lowchars |
|
19 |
61 |
302 |
3 |
| wsemul_sun_output_normal |
|
6 |
25 |
156 |
3 |
| wsemul_sun_output_haveesc |
|
5 |
19 |
86 |
2 |
| wsemul_sun_control |
|
53 |
166 |
1142 |
2 |
| wsemul_sun_output_control |
|
15 |
33 |
216 |
2 |
| wsemul_sun_output_percent |
|
3 |
15 |
67 |
2 |
| wsemul_sun_output |
|
37 |
111 |
585 |
4 |
| wsemul_sun_jump_scroll |
|
17 |
45 |
220 |
4 |
| wsemul_sun_selectattribute |
|
15 |
51 |
287 |
6 |
| wsemul_sun_translate |
|
33 |
74 |
397 |
4 |
| wsemul_sun_detach |
|
2 |
8 |
55 |
3 |
| wsemul_sun_resetop |
|
4 |
21 |
127 |
2 |
| wsemul_sun_scrollup |
|
6 |
24 |
170 |
2 |
| Source file: ./sys/dev/wscons/wsmux.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wsmuxattach |
|
1 |
3 |
7 |
1 |
| wsmux_getmux |
|
8 |
31 |
197 |
1 |
| wsmuxopen |
|
6 |
26 |
178 |
4 |
| wsmux_mux_open |
|
4 |
14 |
82 |
2 |
| wsmux_do_open |
|
6 |
23 |
136 |
2 |
| wsmuxclose |
|
2 |
12 |
81 |
4 |
| wsmux_mux_close |
|
1 |
6 |
30 |
1 |
| wsmux_do_close |
|
3 |
15 |
100 |
1 |
| wsmuxread |
|
3 |
17 |
116 |
3 |
| wsmuxioctl |
|
1 |
4 |
46 |
5 |
| wsmux_do_ioctl |
|
41 |
140 |
927 |
5 |
| wsmuxpoll |
|
3 |
9 |
66 |
3 |
| wsmuxkqfilter |
|
2 |
7 |
54 |
2 |
| wsmux_add_mux |
|
6 |
16 |
130 |
2 |
| wsmux_create |
|
2 |
15 |
114 |
2 |
| wsmux_attach_sc |
|
12 |
45 |
310 |
2 |
| wsmux_detach_sc |
|
7 |
22 |
139 |
1 |
| wsmux_do_displayioctl |
|
8 |
32 |
210 |
5 |
| wsmux_evsrc_set_display |
|
4 |
14 |
88 |
2 |
| wsmux_set_display |
|
11 |
42 |
248 |
2 |
| wsmux_get_layout |
|
1 |
4 |
14 |
1 |
| wsmux_set_layout |
|
2 |
5 |
28 |
2 |
| Source file: ./sys/dev/wscons/wsksymvar.h |
| Source file: ./sys/dev/wscons/wsmouseinput.h |
| Source file: ./sys/dev/wscons/wsemul_dumb.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wsemul_dumb_cnattach |
|
5 |
20 |
142 |
5 |
| wsemul_dumb_attach |
|
2 |
20 |
127 |
7 |
| wsemul_dumb_output |
|
31 |
124 |
731 |
4 |
| wsemul_dumb_translate |
|
1 |
5 |
24 |
4 |
| wsemul_dumb_detach |
|
2 |
8 |
55 |
3 |
| wsemul_dumb_resetop |
|
4 |
20 |
125 |
2 |
| Source file: ./sys/dev/wscons/wsemulvar.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wsemul_resume_abort |
|
1 |
5 |
21 |
1 |
| wsemul_abort_cursor |
|
1 |
4 |
15 |
1 |
| wsemul_abort_jump_scroll |
|
1 |
6 |
32 |
2 |
| wsemul_abort_other |
|
1 |
5 |
23 |
1 |
| wsemul_reset_abortstate |
|
1 |
5 |
21 |
1 |
| Source file: ./sys/dev/wscons/wsemul_vt100_subr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wsemul_vt100_scrollup |
|
7 |
27 |
195 |
2 |
| wsemul_vt100_scrolldown |
|
7 |
27 |
191 |
2 |
| wsemul_vt100_ed |
|
17 |
54 |
369 |
2 |
| wsemul_vt100_el |
|
5 |
23 |
146 |
2 |
| wsemul_vt100_handle_csi |
|
149 |
411 |
2330 |
2 |
| vt100_selectattribute |
|
21 |
58 |
320 |
6 |
| wsemul_vt100_handle_dcs |
|
20 |
38 |
214 |
1 |
| vt100_ansimode |
|
11 |
29 |
121 |
3 |
| vt100_decmode |
|
40 |
70 |
347 |
3 |
| Source file: ./sys/dev/wscons/wskbdraw.h |
| Source file: ./sys/dev/wscons/wsemul_vt100var.h |
| Source file: ./sys/dev/wscons/wskbdutil.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| compose_tab_cmp |
|
2 |
7 |
65 |
2 |
| wskbd_compose_value |
|
9 |
28 |
242 |
1 |
| ksym_upcase |
|
6 |
9 |
59 |
1 |
| fillmapentry |
|
6 |
35 |
290 |
3 |
| wskbd_get_mapentry |
|
15 |
46 |
295 |
3 |
| wskbd_init_keymap |
|
4 |
18 |
156 |
3 |
| wskbd_load_keymap |
|
21 |
62 |
455 |
4 |
| Source file: ./sys/dev/hotplug.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| hotplugattach |
|
1 |
7 |
23 |
1 |
| hotplug_device_attach |
|
1 |
8 |
50 |
2 |
| hotplug_device_detach |
|
1 |
8 |
50 |
2 |
| hotplug_put_event |
|
4 |
16 |
78 |
1 |
| hotplug_get_event |
|
2 |
12 |
57 |
1 |
| hotplugopen |
|
4 |
11 |
63 |
4 |
| hotplugclose |
|
2 |
8 |
43 |
4 |
| hotplugread |
|
5 |
16 |
105 |
3 |
| hotplugioctl |
|
3 |
11 |
47 |
5 |
| hotplugpoll |
|
3 |
11 |
62 |
3 |
| hotplugkqfilter |
|
2 |
17 |
79 |
2 |
| filt_hotplugrdetach |
|
1 |
7 |
37 |
1 |
| filt_hotplugread |
|
1 |
5 |
25 |
2 |
| Source file: ./sys/dev/vndioctl.h |
| Source file: ./sys/dev/bio.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bioattach |
|
1 |
3 |
7 |
1 |
| bioopen |
|
1 |
4 |
23 |
4 |
| bioclose |
|
1 |
4 |
23 |
4 |
| bioioctl |
|
15 |
36 |
198 |
5 |
| bio_register |
|
2 |
11 |
80 |
2 |
| bio_unregister |
|
3 |
11 |
76 |
1 |
| bio_lookup |
|
2 |
8 |
47 |
1 |
| bio_validate |
|
2 |
8 |
38 |
1 |
| bio_delegate_ioctl |
|
1 |
4 |
31 |
3 |
| bio_info |
|
1 |
7 |
48 |
4 |
| bio_warn |
|
1 |
7 |
48 |
4 |
| bio_error |
|
1 |
7 |
48 |
4 |
| bio_status_init |
|
1 |
6 |
49 |
2 |
| bio_status |
|
3 |
14 |
107 |
5 |
| Source file: ./sys/dev/radiovar.h |
| Source file: ./sys/dev/mulaw.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mulaw_to_slinear8 |
|
2 |
7 |
37 |
2 |
| slinear8_to_mulaw |
|
2 |
7 |
34 |
2 |
| mulaw24_to_slinear24 |
|
2 |
10 |
89 |
2 |
| slinear24_to_mulaw24 |
|
2 |
8 |
59 |
2 |
| Source file: ./sys/dev/video_if.h |
| Source file: ./sys/dev/flashvar.h |
| Source file: ./sys/dev/midivar.h |
| Source file: ./sys/dev/wscons/wskbd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wskbd_update_layout |
|
2 |
8 |
39 |
2 |
| wskbddevprint |
|
4 |
8 |
45 |
2 |
| wskbd_match |
|
4 |
12 |
71 |
3 |
| wskbd_attach |
|
32 |
85 |
594 |
3 |
| wskbd_cnattach |
|
2 |
11 |
77 |
3 |
| wskbd_cndetach |
|
2 |
11 |
51 |
1 |
| wskbd_repeat |
|
5 |
21 |
130 |
1 |
| wskbd_activate |
|
2 |
7 |
41 |
2 |
| wskbd_detach |
|
13 |
37 |
247 |
2 |
| wskbd_input |
|
16 |
38 |
250 |
3 |
| wskbd_deliver_event |
|
5 |
28 |
154 |
3 |
| wskbd_rawinput |
|
3 |
6 |
47 |
3 |
| wskbd_enable |
|
4 |
13 |
86 |
2 |
| wskbd_mux_open |
|
3 |
9 |
62 |
2 |
| wskbdopen |
|
10 |
34 |
233 |
4 |
| wskbd_do_open |
|
1 |
6 |
38 |
2 |
| wskbdclose |
|
6 |
24 |
172 |
4 |
| wskbd_mux_close |
|
1 |
8 |
50 |
1 |
| wskbdread |
|
5 |
18 |
112 |
3 |
| wskbdioctl |
|
1 |
4 |
45 |
5 |
| wskbd_do_ioctl |
|
2 |
11 |
77 |
5 |
| wskbd_do_ioctl_sc |
|
12 |
29 |
224 |
5 |
| wskbd_displayioctl |
|
50 |
159 |
1080 |
5 |
| wskbdpoll |
|
2 |
7 |
61 |
3 |
| wskbdkqfilter |
|
2 |
7 |
56 |
2 |
| wskbd_pickfree |
|
4 |
12 |
67 |
1 |
| wskbd_set_console_display |
|
3 |
9 |
64 |
2 |
| wskbd_set_display |
|
7 |
33 |
193 |
2 |
| wskbd_add_mux |
|
6 |
10 |
83 |
2 |
| wskbd_cngetc |
|
7 |
26 |
130 |
1 |
| wskbd_cnpollc |
|
4 |
10 |
46 |
2 |
| wskbd_cnbell |
|
3 |
9 |
53 |
4 |
| update_leds |
|
7 |
18 |
112 |
1 |
| update_modifier |
|
5 |
14 |
69 |
4 |
| change_displayparam |
|
6 |
17 |
120 |
4 |
| internal_command |
|
53 |
104 |
511 |
4 |
| wskbd_translate |
|
72 |
186 |
1114 |
3 |
| wskbd_debugger |
|
5 |
10 |
56 |
1 |
| Source file: ./sys/dev/ipmivar.h |
| Source file: ./sys/dev/rndis.h |
| Source file: ./sys/dev/biovar.h |
| Source file: ./sys/dev/midi.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| midi_iintr |
|
6 |
18 |
119 |
2 |
| midiread |
|
12 |
47 |
286 |
3 |
| midi_ointr |
|
7 |
16 |
103 |
1 |
| midi_timeout |
|
1 |
6 |
25 |
1 |
| midi_out_start |
|
2 |
7 |
29 |
1 |
| midi_out_stop |
|
2 |
9 |
45 |
1 |
| midi_out_do |
|
7 |
21 |
134 |
1 |
| midiwrite |
|
14 |
52 |
314 |
3 |
| midipoll |
|
9 |
27 |
193 |
3 |
| midikqfilter |
|
4 |
30 |
159 |
2 |
| filt_midirdetach |
|
1 |
7 |
51 |
1 |
| filt_midiread |
|
1 |
9 |
57 |
2 |
| filt_midiwdetach |
|
1 |
7 |
51 |
1 |
| filt_midiwrite |
|
1 |
9 |
57 |
2 |
| midiioctl |
|
3 |
17 |
88 |
5 |
| midiopen |
|
4 |
24 |
154 |
4 |
| midiclose |
|
6 |
29 |
198 |
4 |
| midiprobe |
|
3 |
5 |
43 |
3 |
| midiattach |
|
7 |
23 |
163 |
3 |
| mididetach |
|
6 |
26 |
166 |
2 |
| midiprint |
|
2 |
6 |
29 |
2 |
| midi_attach_mi |
|
1 |
8 |
51 |
3 |
| Source file: ./sys/dev/wsfont/gallant12x22.h |
| Source file: ./sys/dev/vscsivar.h |
| Source file: ./sys/dev/softraid_raid6.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sr_raid6_discipline_init |
|
1 |
17 |
99 |
1 |
| sr_raid6_create |
|
2 |
14 |
98 |
4 |
| sr_raid6_assemble |
|
1 |
5 |
27 |
4 |
| sr_raid6_init |
|
2 |
11 |
77 |
1 |
| sr_raid6_openings |
|
1 |
4 |
19 |
1 |
| sr_raid6_set_chunk_state |
|
13 |
60 |
277 |
3 |
| sr_raid6_set_vol_state |
|
34 |
103 |
487 |
1 |
| sr_raid6_rw |
|
52 |
181 |
1324 |
1 |
| sr_failio |
|
2 |
11 |
75 |
1 |
| sr_raid6_intr |
|
6 |
28 |
208 |
1 |
| sr_raid6_wu_done |
|
5 |
25 |
148 |
1 |
| sr_raid6_addio |
|
11 |
39 |
265 |
10 |
| sr_raid6_xorp |
|
2 |
7 |
44 |
3 |
| sr_raid6_xorq |
|
2 |
13 |
136 |
4 |
| gf_init |
|
3 |
11 |
80 |
1 |
| gf_inv |
|
1 |
4 |
18 |
1 |
| gf_mul |
|
1 |
4 |
24 |
2 |
| gf_premul |
|
4 |
11 |
91 |
1 |
| Source file: ./sys/dev/ksyms.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ksymsattach |
|
12 |
35 |
192 |
1 |
| ksymsopen |
|
4 |
10 |
61 |
4 |
| ksymsclose |
|
1 |
4 |
23 |
4 |
| ksymsread |
|
7 |
26 |
152 |
3 |
| Source file: ./sys/dev/softraid_raid5.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sr_raid5_discipline_init |
|
1 |
17 |
105 |
1 |
| sr_raid5_create |
|
2 |
14 |
98 |
4 |
| sr_raid5_assemble |
|
1 |
5 |
27 |
4 |
| sr_raid5_init |
|
2 |
11 |
70 |
1 |
| sr_raid5_openings |
|
1 |
4 |
23 |
1 |
| sr_raid5_set_chunk_state |
|
13 |
60 |
277 |
3 |
| sr_raid5_set_vol_state |
|
35 |
105 |
508 |
1 |
| sr_raid5_chunk_online |
|
3 |
10 |
43 |
2 |
| sr_raid5_chunk_rebuild |
|
2 |
9 |
40 |
2 |
| sr_raid5_rw |
|
20 |
103 |
662 |
1 |
| sr_raid5_regenerate |
|
5 |
22 |
146 |
5 |
| sr_raid5_write |
|
21 |
63 |
462 |
9 |
| sr_raid5_intr |
|
4 |
20 |
149 |
1 |
| sr_raid5_wu_done |
|
5 |
25 |
152 |
1 |
| sr_raid5_addio |
|
7 |
24 |
179 |
8 |
| sr_raid5_xor |
|
2 |
7 |
44 |
3 |
| sr_raid5_rebuild |
|
18 |
108 |
787 |
1 |
| sr_raid5_scrub |
|
6 |
43 |
321 |
1 |
| Source file: ./sys/dev/video.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| videoprobe |
|
1 |
4 |
22 |
3 |
| videoattach |
|
4 |
21 |
143 |
3 |
| videoopen |
|
6 |
20 |
141 |
4 |
| videoclose |
|
2 |
10 |
74 |
4 |
| videoread |
|
12 |
35 |
238 |
3 |
| videoioctl |
|
48 |
130 |
886 |
5 |
| videopoll |
|
11 |
30 |
203 |
3 |
| videommap |
|
7 |
23 |
166 |
3 |
| video_submatch |
|
1 |
5 |
34 |
3 |
| video_attach_mi |
|
1 |
7 |
49 |
3 |
| video_intr |
|
3 |
12 |
71 |
1 |
| videoprint |
|
2 |
6 |
31 |
2 |
| videodetach |
|
4 |
13 |
98 |
2 |
| videoactivate |
|
2 |
10 |
46 |
2 |
| Source file: ./sys/dev/radio.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| radioprobe |
|
2 |
5 |
37 |
3 |
| radioattach |
|
1 |
9 |
63 |
3 |
| radioopen |
|
5 |
14 |
101 |
4 |
| radioclose |
|
2 |
9 |
71 |
4 |
| radioioctl |
|
12 |
34 |
226 |
5 |
| radio_attach_mi |
|
1 |
8 |
53 |
3 |
| radioprint |
|
2 |
6 |
31 |
2 |
| radiodetach |
|
3 |
10 |
65 |
2 |
| radioactivate |
|
2 |
10 |
46 |
2 |
| Source file: ./sys/dev/clock_subr.h |
| Source file: ./sys/dev/softraid_concat.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sr_concat_discipline_init |
|
1 |
11 |
65 |
1 |
| sr_concat_create |
|
3 |
16 |
97 |
4 |
| sr_concat_assemble |
|
1 |
5 |
27 |
4 |
| sr_concat_init |
|
1 |
5 |
26 |
1 |
| sr_concat_rw |
|
9 |
61 |
388 |
1 |
| Source file: ./sys/dev/firmload.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| loadfirmware |
|
15 |
69 |
430 |
3 |
| Source file: ./sys/dev/radio_if.h |
| Source file: ./sys/dev/rnd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rnd_get |
|
3 |
10 |
50 |
1 |
| rnd_put |
|
1 |
5 |
25 |
1 |
| rnd_qlen |
|
1 |
4 |
11 |
1 |
| enqueue_randomness |
|
7 |
20 |
127 |
2 |
| add_entropy_words |
|
3 |
22 |
186 |
2 |
| dequeue_randomness |
|
3 |
16 |
94 |
1 |
| extract_entropy |
|
2 |
15 |
106 |
1 |
| suspend_randomness |
|
1 |
10 |
49 |
1 |
| resume_randomness |
|
3 |
11 |
57 |
2 |
| _rs_init |
|
1 |
6 |
44 |
2 |
| _rs_seed |
|
1 |
7 |
35 |
2 |
| _rs_stir |
|
4 |
16 |
109 |
1 |
| _rs_stir_if_needed |
|
3 |
14 |
76 |
1 |
| _rs_clearseed |
|
3 |
28 |
198 |
2 |
| _rs_rekey |
|
3 |
14 |
105 |
2 |
| _rs_random_buf |
|
4 |
18 |
105 |
2 |
| _rs_random_u32 |
|
2 |
9 |
76 |
1 |
| arc4random |
|
1 |
8 |
30 |
1 |
| arc4random_buf |
|
1 |
6 |
30 |
2 |
| arc4random_uniform |
|
4 |
13 |
54 |
1 |
| arc4_init |
|
1 |
4 |
13 |
1 |
| arc4_reinit |
|
1 |
5 |
26 |
1 |
| random_start |
|
4 |
16 |
100 |
1 |
| randomopen |
|
1 |
4 |
21 |
4 |
| randomclose |
|
1 |
4 |
21 |
4 |
| randomread |
|
9 |
34 |
246 |
3 |
| randomwrite |
|
8 |
25 |
171 |
3 |
| randomkqfilter |
|
3 |
14 |
56 |
2 |
| filt_randomdetach |
|
1 |
3 |
9 |
1 |
| filt_randomread |
|
1 |
5 |
23 |
2 |
| filt_randomwrite |
|
1 |
5 |
23 |
2 |
| randomioctl |
|
3 |
12 |
45 |
5 |
| sys_getentropy |
|
3 |
15 |
118 |
3 |
| Source file: ./sys/dev/spdmem.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| spdmem_read |
|
1 |
4 |
25 |
2 |
| spdmem_crc16 |
|
4 |
17 |
103 |
2 |
| spdmem_sdram_decode |
|
15 |
52 |
332 |
2 |
| spdmem_rdr_decode |
|
6 |
27 |
147 |
2 |
| spdmem_ddr_decode |
|
12 |
50 |
404 |
2 |
| spdmem_ddr2_decode |
|
13 |
56 |
380 |
2 |
| spdmem_fbdimm_decode |
|
3 |
26 |
200 |
2 |
| spdmem_ddr3_decode |
|
11 |
57 |
395 |
2 |
| spdmem_probe |
|
12 |
47 |
231 |
1 |
| spdmem_attach_common |
|
13 |
45 |
214 |
1 |
| Source file: ./sys/dev/cons.h |
| Source file: ./sys/dev/audio_if.h |
| Source file: ./sys/dev/rndvar.h |
| Source file: ./sys/dev/softraid_raid0.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sr_raid0_discipline_init |
|
1 |
10 |
63 |
1 |
| sr_raid0_create |
|
2 |
14 |
94 |
4 |
| sr_raid0_assemble |
|
1 |
5 |
27 |
4 |
| sr_raid0_init |
|
2 |
13 |
90 |
1 |
| sr_raid0_rw |
|
8 |
65 |
430 |
1 |
| Source file: ./sys/dev/vscsi.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| vscsi_match |
|
1 |
4 |
22 |
3 |
| vscsi_attach |
|
1 |
24 |
211 |
3 |
| vscsi_cmd |
|
7 |
35 |
231 |
1 |
| vscsi_done |
|
2 |
11 |
69 |
2 |
| vscsi_probe |
|
2 |
12 |
62 |
1 |
| vscsi_free |
|
3 |
9 |
61 |
1 |
| vscsiopen |
|
5 |
30 |
197 |
4 |
| vscsiioctl |
|
8 |
33 |
185 |
5 |
| vscsi_i2t |
|
5 |
34 |
215 |
2 |
| vscsi_data |
|
9 |
38 |
216 |
3 |
| vscsi_t2i |
|
7 |
34 |
187 |
2 |
| vscsi_devevent |
|
2 |
15 |
104 |
3 |
| vscsi_devevent_task |
|
5 |
25 |
146 |
1 |
| vscsipoll |
|
6 |
19 |
131 |
3 |
| vscsikqfilter |
|
3 |
21 |
118 |
2 |
| filt_vscsidetach |
|
1 |
9 |
65 |
1 |
| filt_vscsiread |
|
2 |
10 |
62 |
2 |
| vscsiclose |
|
5 |
35 |
283 |
4 |
| vscsi_ccb_get |
|
2 |
11 |
62 |
1 |
| vscsi_ccb_put |
|
1 |
6 |
36 |
2 |
| Source file: ./sys/dev/flash.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| flashattach |
|
11 |
49 |
312 |
3 |
| flashdetach |
|
1 |
6 |
35 |
2 |
| flash_reg8_read |
|
1 |
4 |
26 |
2 |
| flash_reg8_read_page |
|
4 |
9 |
82 |
3 |
| flash_reg8_write |
|
1 |
4 |
30 |
3 |
| flash_reg8_write_page |
|
4 |
9 |
82 |
3 |
| flash_wait_ready |
|
4 |
11 |
66 |
1 |
| flash_wait_complete |
|
5 |
18 |
129 |
1 |
| flash_chip_enable |
|
1 |
4 |
18 |
1 |
| flash_chip_disable |
|
1 |
4 |
18 |
1 |
| flash_chip_reset |
|
1 |
7 |
42 |
1 |
| flash_chip_identify |
|
2 |
15 |
93 |
3 |
| flash_chip_erase_block |
|
7 |
35 |
209 |
2 |
| flash_chip_read_block |
|
3 |
16 |
88 |
3 |
| flash_chip_read_page |
|
11 |
53 |
321 |
4 |
| flash_chip_read_oob |
|
10 |
53 |
343 |
3 |
| flash_chip_write_block |
|
3 |
19 |
107 |
4 |
| flash_chip_write_page |
|
13 |
63 |
378 |
4 |
| flash_chip_verify_block |
|
3 |
20 |
102 |
4 |
| flash_chip_verify_page |
|
6 |
18 |
138 |
4 |
| flashopen |
|
14 |
55 |
378 |
4 |
| flashclose |
|
5 |
25 |
151 |
4 |
| flashstrategy |
|
8 |
36 |
211 |
1 |
| flashioctl |
|
5 |
25 |
141 |
5 |
| flashdump |
|
1 |
5 |
24 |
4 |
| flashsize |
|
1 |
5 |
15 |
1 |
| flashstart |
|
2 |
7 |
39 |
1 |
| _flashstart |
|
6 |
35 |
246 |
2 |
| flashdone |
|
2 |
11 |
78 |
1 |
| flashgetdefaultlabel |
|
3 |
28 |
222 |
3 |
| flashgetdisklabel |
|
2 |
10 |
76 |
4 |
| flashminphys |
|
2 |
7 |
48 |
1 |
| flashread |
|
1 |
4 |
29 |
3 |
| flashwrite |
|
1 |
4 |
29 |
3 |
| flashsafestrategy |
|
2 |
7 |
41 |
2 |
| dumppage |
|
6 |
15 |
98 |
1 |
| Source file: ./sys/dev/wscons/wsdisplay.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wsscreen_attach |
|
8 |
37 |
286 |
8 |
| wsscreen_detach |
|
2 |
12 |
94 |
1 |
| wsdisplay_screentype_pick |
|
5 |
14 |
104 |
2 |
| wsdisplay_addscreen_print |
|
2 |
9 |
78 |
3 |
| wsdisplay_addscreen |
|
9 |
39 |
269 |
4 |
| wsdisplay_getscreen |
|
6 |
16 |
119 |
2 |
| wsdisplay_closescreen |
|
8 |
18 |
143 |
2 |
| wsdisplay_delscreen |
|
13 |
30 |
217 |
3 |
| wsdisplay_emul_match |
|
4 |
12 |
71 |
3 |
| wsdisplay_emul_attach |
|
5 |
15 |
130 |
3 |
| wsdisplay_emul_detach |
|
1 |
5 |
34 |
2 |
| wsdisplay_activate |
|
2 |
10 |
37 |
2 |
| wsdisplay_common_detach |
|
13 |
26 |
179 |
2 |
| wsemuldisplaydevprint |
|
4 |
8 |
45 |
2 |
| wsemuldisplaydevsubmatch |
|
2 |
8 |
62 |
3 |
| wsdisplay_common_attach |
|
25 |
70 |
501 |
7 |
| wsdisplay_cnattach |
|
8 |
25 |
182 |
5 |
| wsdisplayopen |
|
12 |
46 |
337 |
4 |
| wsdisplayclose |
|
12 |
42 |
299 |
4 |
| wsdisplayread |
|
4 |
17 |
125 |
3 |
| wsdisplaywrite |
|
4 |
17 |
125 |
3 |
| wsdisplaytty |
|
3 |
13 |
78 |
1 |
| wsdisplayioctl |
|
13 |
35 |
302 |
5 |
| wsdisplay_param |
|
1 |
6 |
57 |
3 |
| wsdisplay_internal_ioctl |
|
54 |
145 |
1022 |
6 |
| wsdisplay_cfg_ioctl |
|
28 |
66 |
453 |
5 |
| wsdisplaymmap |
|
4 |
12 |
108 |
3 |
| wsdisplaypoll |
|
4 |
12 |
95 |
3 |
| wsdisplaykqfilter |
|
4 |
12 |
90 |
2 |
| wsdisplaystart |
|
17 |
60 |
421 |
1 |
| wsdisplaystop |
|
3 |
10 |
63 |
2 |
| wsdisplayparam |
|
1 |
7 |
43 |
2 |
| wsdisplay_emulbell |
|
3 |
10 |
53 |
1 |
| wsdisplay_emulinput |
|
5 |
14 |
88 |
3 |
| wsdisplay_kbdinput |
|
5 |
18 |
141 |
4 |
| wsdisplay_rawkbdinput |
|
4 |
12 |
89 |
3 |
| wsdisplay_update_rawkbd |
|
8 |
23 |
146 |
2 |
| wsdisplay_switch3 |
|
13 |
38 |
236 |
3 |
| wsdisplay_switch2 |
|
13 |
41 |
255 |
3 |
| wsdisplay_switch1 |
|
11 |
37 |
224 |
3 |
| wsdisplay_switch |
|
21 |
49 |
332 |
3 |
| wsdisplay_reset |
|
4 |
17 |
86 |
2 |
| wsscreen_attach_sync |
|
3 |
11 |
65 |
3 |
| wsscreen_detach_sync |
|
2 |
7 |
32 |
1 |
| wsscreen_lookup_sync |
|
3 |
9 |
49 |
3 |
| wsdisplay_maxscreenidx |
|
1 |
4 |
16 |
1 |
| wsdisplay_screenstate |
|
5 |
8 |
62 |
2 |
| wsdisplay_getactivescreen |
|
2 |
4 |
22 |
1 |
| wsscreen_switchwait |
|
9 |
29 |
174 |
2 |
| wsdisplay_kbdholdscr |
|
2 |
9 |
43 |
2 |
| wsdisplay_kbdholdscreen |
|
3 |
8 |
53 |
2 |
| wsdisplay_set_console_kbd |
|
4 |
14 |
66 |
1 |
| wsdisplay_set_kbd |
|
2 |
8 |
50 |
2 |
| wsdisplay_cnputc |
|
6 |
13 |
88 |
2 |
| wsdisplay_getc_dummy |
|
1 |
4 |
12 |
1 |
| wsdisplay_pollc |
|
4 |
10 |
58 |
2 |
| wsdisplay_set_cons_kbd |
|
1 |
7 |
55 |
3 |
| wsdisplay_unset_cons_kbd |
|
1 |
6 |
22 |
1 |
| wsdisplay_switchtoconsole |
|
4 |
12 |
76 |
1 |
| wsdisplay_enter_ddb |
|
5 |
17 |
109 |
1 |
| wsdisplay_suspend |
|
3 |
7 |
45 |
1 |
| wsdisplay_suspend_device |
|
11 |
31 |
212 |
1 |
| wsdisplay_resume |
|
3 |
7 |
45 |
1 |
| wsdisplay_resume_device |
|
2 |
13 |
84 |
1 |
| wsscrollback |
|
5 |
18 |
103 |
2 |
| wsdisplay_burner_setup |
|
5 |
16 |
86 |
2 |
| wsdisplay_burn |
|
5 |
12 |
74 |
2 |
| wsdisplay_burner |
|
3 |
17 |
107 |
1 |
| wsmoused |
|
7 |
28 |
167 |
4 |
| motion_event |
|
5 |
16 |
66 |
3 |
| button_event |
|
10 |
35 |
130 |
3 |
| ctrl_event |
|
6 |
29 |
178 |
4 |
| mouse_moverel |
|
8 |
35 |
212 |
3 |
| inverse_char |
|
5 |
26 |
185 |
2 |
| inverse_region |
|
3 |
12 |
68 |
3 |
| skip_spc_right |
|
7 |
25 |
146 |
2 |
| skip_spc_left |
|
5 |
17 |
99 |
1 |
| skip_char_right |
|
5 |
20 |
135 |
2 |
| skip_char_left |
|
5 |
19 |
126 |
2 |
| class_cmp |
|
4 |
16 |
102 |
3 |
| mouse_copy_start |
|
4 |
19 |
153 |
1 |
| mouse_copy_word |
|
5 |
28 |
219 |
1 |
| mouse_copy_line |
|
3 |
18 |
168 |
1 |
| mouse_copy_end |
|
4 |
10 |
71 |
1 |
| mouse_copy_extend |
|
4 |
9 |
57 |
1 |
| mouse_copy_extend_char |
|
11 |
51 |
382 |
1 |
| mouse_copy_extend_word |
|
15 |
69 |
474 |
1 |
| mouse_copy_extend_line |
|
14 |
48 |
378 |
1 |
| mouse_copy_extend_after |
|
8 |
31 |
202 |
1 |
| mouse_hide |
|
2 |
7 |
40 |
1 |
| remove_selection |
|
2 |
8 |
55 |
1 |
| mouse_copy_selection |
|
6 |
26 |
175 |
1 |
| mouse_paste |
|
4 |
13 |
97 |
1 |
| mouse_zaxis |
|
2 |
7 |
37 |
2 |
| allocate_copybuffer |
|
6 |
27 |
196 |
1 |
| mouse_remove |
|
2 |
6 |
30 |
1 |
| Source file: ./sys/dev/ipmi.h |
| Source file: ./sys/dev/softraidvar.h |
| Source file: ./sys/dev/mulaw.h |
| Source file: ./sys/dev/midi_if.h |
| Source file: ./sys/dev/rd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rdattach |
|
5 |
30 |
240 |
1 |
| rd_match |
|
1 |
4 |
22 |
3 |
| rd_attach |
|
1 |
6 |
55 |
3 |
| rd_detach |
|
1 |
7 |
46 |
2 |
| rdopen |
|
5 |
24 |
161 |
4 |
| rdclose |
|
2 |
15 |
101 |
4 |
| rdstrategy |
|
7 |
39 |
249 |
1 |
| rdioctl |
|
12 |
48 |
345 |
5 |
| rdgetdisklabel |
|
2 |
22 |
173 |
4 |
| rdread |
|
1 |
4 |
31 |
3 |
| rdwrite |
|
1 |
4 |
31 |
3 |
| rddump |
|
1 |
4 |
21 |
4 |
| rdsize |
|
1 |
4 |
13 |
1 |
| Source file: ./sys/dev/diskmap.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| diskmapopen |
|
1 |
4 |
21 |
4 |
| diskmapclose |
|
1 |
4 |
21 |
4 |
| diskmapioctl |
|
11 |
60 |
431 |
5 |
| diskmapread |
|
1 |
4 |
18 |
3 |
| diskmapwrite |
|
1 |
4 |
18 |
3 |
| Source file: ./sys/dev/cons.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cnopen |
|
6 |
15 |
101 |
4 |
| cnclose |
|
5 |
14 |
104 |
4 |
| cnread |
|
3 |
9 |
63 |
3 |
| cnwrite |
|
3 |
10 |
67 |
3 |
| cnstop |
|
1 |
4 |
17 |
2 |
| cnioctl |
|
6 |
19 |
119 |
5 |
| cnpoll |
|
3 |
10 |
56 |
3 |
| cnkqfilter |
|
4 |
12 |
81 |
2 |
| cngetc |
|
2 |
6 |
32 |
1 |
| cnputc |
|
4 |
10 |
55 |
1 |
| cnpollc |
|
5 |
12 |
56 |
1 |
| nullcnpollc |
|
1 |
3 |
10 |
2 |
| cnbell |
|
3 |
6 |
45 |
3 |
| Source file: ./sys/dev/spdmemvar.h |
| Source file: ./sys/dev/vnd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| vndencrypt |
|
3 |
18 |
133 |
5 |
| vndencryptbuf |
|
1 |
4 |
36 |
3 |
| vndattach |
|
4 |
23 |
141 |
1 |
| vndopen |
|
8 |
28 |
215 |
4 |
| vndgetdisklabel |
|
2 |
21 |
182 |
4 |
| vndclose |
|
4 |
17 |
124 |
4 |
| vndstrategy |
|
14 |
58 |
429 |
1 |
| vndread |
|
1 |
4 |
31 |
3 |
| vndwrite |
|
1 |
4 |
31 |
3 |
| vndbdevsize |
|
3 |
15 |
108 |
2 |
| vndioctl |
|
47 |
184 |
1427 |
5 |
| vndsetcred |
|
1 |
13 |
102 |
2 |
| vndclear |
|
2 |
15 |
113 |
1 |
| vndsize |
|
1 |
4 |
13 |
1 |
| vnddump |
|
1 |
4 |
21 |
4 |
| Source file: ./sys/dev/ipmi.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ipmi_get_if |
|
4 |
12 |
45 |
1 |
| bmc_read |
|
1 |
5 |
32 |
2 |
| bmc_write |
|
1 |
5 |
34 |
3 |
| bmc_io_wait |
|
3 |
14 |
95 |
2 |
| bt_read |
|
1 |
4 |
20 |
2 |
| bt_write |
|
2 |
12 |
75 |
3 |
| bt_sendmsg |
|
3 |
17 |
121 |
1 |
| bt_recvmsg |
|
4 |
24 |
177 |
1 |
| bt_reset |
|
1 |
4 |
15 |
1 |
| bt_probe |
|
2 |
21 |
149 |
1 |
| smic_wait |
|
2 |
15 |
96 |
4 |
| smic_write_cmd_data |
|
4 |
15 |
122 |
3 |
| smic_read_data |
|
2 |
11 |
64 |
2 |
| smic_sendmsg |
|
3 |
18 |
145 |
1 |
| smic_recvmsg |
|
6 |
25 |
181 |
1 |
| smic_reset |
|
1 |
4 |
15 |
1 |
| smic_probe |
|
2 |
6 |
31 |
1 |
| kcs_wait |
|
5 |
22 |
155 |
4 |
| kcs_write_cmd |
|
1 |
6 |
44 |
2 |
| kcs_write_data |
|
1 |
6 |
44 |
2 |
| kcs_read_data |
|
2 |
11 |
76 |
2 |
| kcs_sendmsg |
|
5 |
20 |
154 |
1 |
| kcs_recvmsg |
|
4 |
18 |
129 |
1 |
| kcs_reset |
|
1 |
4 |
15 |
1 |
| kcs_probe |
|
3 |
14 |
93 |
1 |
| scan_sig |
|
3 |
11 |
67 |
5 |
| dumpb |
|
2 |
8 |
55 |
3 |
| ipmi_smbios_probe |
|
9 |
47 |
248 |
2 |
| bt_buildmsg |
|
3 |
11 |
101 |
1 |
| cmn_buildmsg |
|
3 |
9 |
76 |
1 |
| ipmi_sendcmd |
|
5 |
29 |
237 |
1 |
| ipmi_recvcmd |
|
7 |
22 |
191 |
1 |
| ipmi_cmd |
|
3 |
7 |
28 |
1 |
| ipmi_cmd_poll |
|
2 |
9 |
59 |
1 |
| ipmi_cmd_wait |
|
1 |
11 |
79 |
1 |
| ipmi_cmd_wait_cb |
|
1 |
6 |
25 |
1 |
| get_sdr_partial |
|
3 |
29 |
196 |
7 |
| get_sdr |
|
7 |
42 |
301 |
3 |
| getbits |
|
3 |
14 |
78 |
3 |
| ipmi_sensor_name |
|
14 |
40 |
264 |
5 |
| ipow |
|
3 |
12 |
45 |
2 |
| signextend |
|
1 |
5 |
39 |
2 |
| ipmi_convert |
|
1 |
12 |
142 |
3 |
| ipmi_sensor_status |
|
18 |
50 |
368 |
3 |
| read_sensor |
|
4 |
28 |
236 |
2 |
| ipmi_sensor_type |
|
7 |
18 |
78 |
3 |
| add_sdr_sensor |
|
5 |
29 |
237 |
3 |
| add_child_sensors |
|
7 |
43 |
317 |
9 |
| ipmi_refresh_sensors |
|
4 |
13 |
85 |
1 |
| ipmi_map_regs |
|
4 |
22 |
160 |
2 |
| ipmi_unmap_regs |
|
1 |
5 |
30 |
1 |
| ipmi_poll_thread |
|
6 |
28 |
174 |
1 |
| ipmi_create_thread |
|
2 |
10 |
49 |
1 |
| ipmi_probe |
|
3 |
19 |
106 |
1 |
| ipmi_match |
|
3 |
32 |
243 |
3 |
| ipmi_attach |
|
4 |
32 |
280 |
3 |
| ipmi_activate |
|
2 |
9 |
33 |
2 |
| ipmilookup |
|
1 |
4 |
24 |
1 |
| ipmiopen |
|
2 |
7 |
44 |
4 |
| ipmiclose |
|
2 |
7 |
44 |
4 |
| ipmiioctl |
|
24 |
105 |
649 |
5 |
| ipmi_watchdog |
|
6 |
22 |
132 |
2 |
| ipmi_watchdog_tickle |
|
1 |
15 |
79 |
1 |
| ipmi_watchdog_set |
|
3 |
30 |
195 |
1 |
| Source file: ./sys/dev/cninit.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cninit |
|
6 |
13 |
84 |
1 |
| Source file: ./sys/dev/softraid_crypto.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sr_crypto_discipline_init |
|
2 |
18 |
126 |
1 |
| sr_crypto_create |
|
10 |
48 |
335 |
4 |
| sr_crypto_assemble |
|
11 |
37 |
259 |
4 |
| sr_crypto_prepare |
|
4 |
45 |
393 |
2 |
| sr_crypto_get_kdf |
|
10 |
36 |
269 |
2 |
| sr_crypto_encrypt |
|
4 |
22 |
135 |
5 |
| sr_crypto_decrypt |
|
4 |
22 |
135 |
5 |
| sr_crypto_calculate_check_hmac_sha1 |
|
1 |
19 |
153 |
5 |
| sr_crypto_decrypt_key |
|
5 |
31 |
264 |
1 |
| sr_crypto_create_keys |
|
3 |
27 |
262 |
1 |
| sr_crypto_change_maskkey |
|
10 |
58 |
513 |
3 |
| sr_crypto_create_key_disk |
|
11 |
121 |
1013 |
2 |
| sr_crypto_read_key_disk |
|
15 |
90 |
646 |
2 |
| sr_crypto_free_sessions |
|
3 |
10 |
79 |
1 |
| sr_crypto_alloc_resources |
|
11 |
60 |
433 |
1 |
| sr_crypto_free_resources |
|
4 |
24 |
167 |
1 |
| sr_crypto_ioctl |
|
16 |
44 |
317 |
2 |
| sr_crypto_meta_opt_handler |
|
2 |
9 |
53 |
2 |
| sr_crypto_rw |
|
4 |
19 |
124 |
1 |
| sr_crypto_write |
|
2 |
15 |
98 |
1 |
| sr_crypto_dev_rw |
|
4 |
27 |
180 |
2 |
| sr_crypto_done |
|
3 |
17 |
113 |
1 |
| sr_crypto_read |
|
2 |
13 |
89 |
1 |
| sr_crypto_hotplug |
|
1 |
5 |
37 |
3 |
| sr_crypto_dumpkeys |
|
5 |
22 |
148 |
1 |
| Source file: ./sys/dev/softraid_raid1.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sr_raid1_discipline_init |
|
1 |
14 |
85 |
1 |
| sr_raid1_create |
|
2 |
11 |
60 |
4 |
| sr_raid1_assemble |
|
1 |
5 |
27 |
4 |
| sr_raid1_init |
|
1 |
5 |
24 |
1 |
| sr_raid1_set_chunk_state |
|
16 |
71 |
309 |
3 |
| sr_raid1_set_vol_state |
|
36 |
108 |
521 |
1 |
| sr_raid1_rw |
|
17 |
65 |
337 |
1 |
| sr_raid1_wu_done |
|
5 |
26 |
157 |
1 |
| Source file: ./sys/isofs/cd9660/iso_rrip.h |
| Source file: ./sys/isofs/cd9660/cd9660_rrip.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cd9660_rrip_attr |
|
1 |
12 |
93 |
2 |
| cd9660_rrip_defattr |
|
1 |
8 |
39 |
2 |
| cd9660_rrip_slink |
|
13 |
79 |
406 |
2 |
| cd9660_rrip_altname |
|
8 |
47 |
222 |
2 |
| cd9660_rrip_defname |
|
3 |
20 |
117 |
2 |
| cd9660_rrip_pclink |
|
2 |
9 |
67 |
2 |
| cd9660_rrip_reldir |
|
1 |
9 |
40 |
2 |
| cd9660_rrip_tstamp |
|
10 |
57 |
354 |
2 |
| cd9660_rrip_deftstamp |
|
1 |
7 |
34 |
2 |
| cd9660_rrip_device |
|
2 |
15 |
102 |
2 |
| cd9660_rrip_idflag |
|
2 |
10 |
58 |
2 |
| cd9660_rrip_cont |
|
1 |
10 |
60 |
2 |
| cd9660_rrip_stop |
|
1 |
6 |
21 |
2 |
| cd9660_rrip_extref |
|
9 |
20 |
151 |
2 |
| cd9660_rrip_loop |
|
21 |
71 |
481 |
3 |
| cd9660_rrip_analyze |
|
1 |
11 |
63 |
3 |
| cd9660_rrip_getname |
|
3 |
28 |
164 |
5 |
| cd9660_rrip_getsymname |
|
1 |
17 |
89 |
4 |
| cd9660_rrip_offset |
|
4 |
21 |
142 |
2 |
| Source file: ./sys/isofs/cd9660/cd9660_vnops.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cd9660_setattr |
|
16 |
28 |
163 |
1 |
| cd9660_open |
|
1 |
4 |
13 |
1 |
| cd9660_close |
|
1 |
4 |
13 |
1 |
| cd9660_access |
|
1 |
7 |
67 |
1 |
| cd9660_getattr |
|
4 |
46 |
352 |
1 |
| cd9660_read |
|
12 |
60 |
447 |
1 |
| cd9660_ioctl |
|
1 |
4 |
13 |
1 |
| cd9660_poll |
|
1 |
5 |
32 |
1 |
| cd9660_mmap |
|
1 |
4 |
13 |
1 |
| cd9660_seek |
|
1 |
4 |
13 |
1 |
| iso_uiodir |
|
3 |
18 |
115 |
3 |
| iso_shipdir |
|
12 |
49 |
314 |
1 |
| cd9660_readdir |
|
23 |
122 |
862 |
1 |
| cd9660_readlink |
|
11 |
54 |
361 |
1 |
| cd9660_link |
|
1 |
7 |
38 |
1 |
| cd9660_symlink |
|
1 |
7 |
38 |
1 |
| cd9660_lock |
|
1 |
6 |
42 |
1 |
| cd9660_unlock |
|
1 |
7 |
38 |
1 |
| cd9660_strategy |
|
7 |
35 |
223 |
1 |
| cd9660_print |
|
1 |
5 |
18 |
1 |
| cd9660_islocked |
|
1 |
5 |
29 |
1 |
| cd9660_pathconf |
|
7 |
29 |
124 |
1 |
| cd9660_kqfilter |
|
4 |
22 |
112 |
1 |
| filt_cd9660detach |
|
1 |
5 |
39 |
1 |
| filt_cd9660read |
|
4 |
15 |
109 |
2 |
| filt_cd9660write |
|
2 |
9 |
46 |
2 |
| filt_cd9660vnode |
|
3 |
10 |
54 |
2 |
| Source file: ./sys/isofs/cd9660/cd9660_node.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cd9660_init |
|
1 |
7 |
41 |
1 |
| cd9660_isohash |
|
1 |
8 |
61 |
2 |
| cd9660_ihashget |
|
5 |
18 |
104 |
2 |
| cd9660_ihashins |
|
5 |
18 |
128 |
1 |
| cd9660_ihashrem |
|
4 |
12 |
67 |
1 |
| cd9660_inactive |
|
5 |
16 |
103 |
1 |
| cd9660_reclaim |
|
5 |
18 |
108 |
1 |
| cd9660_defattr |
|
13 |
52 |
403 |
3 |
| cd9660_deftstamp |
|
9 |
36 |
284 |
3 |
| cd9660_tstamp_conv7 |
|
5 |
29 |
300 |
2 |
| cd9660_chars2ui |
|
2 |
11 |
49 |
2 |
| cd9660_tstamp_conv17 |
|
1 |
14 |
127 |
2 |
| isodirino |
|
1 |
9 |
49 |
2 |
| Source file: ./sys/isofs/cd9660/cd9660_util.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| isochar |
|
5 |
21 |
106 |
4 |
| isofncmp |
|
20 |
54 |
351 |
5 |
| isofntrans |
|
5 |
25 |
138 |
7 |
| Source file: ./sys/isofs/cd9660/cd9660_node.h |
| Source file: ./sys/isofs/cd9660/cd9660_extern.h |
| Source file: ./sys/isofs/cd9660/iso.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| isonum_711 |
|
1 |
4 |
12 |
1 |
| isonum_712 |
|
1 |
4 |
12 |
1 |
| isonum_721 |
|
2 |
6 |
35 |
1 |
| isonum_722 |
|
2 |
6 |
36 |
1 |
| isonum_723 |
|
3 |
6 |
42 |
1 |
| isonum_731 |
|
2 |
6 |
52 |
1 |
| isonum_732 |
|
2 |
6 |
53 |
1 |
| isonum_733 |
|
3 |
6 |
62 |
1 |
| Source file: ./sys/isofs/cd9660/cd9660_bmap.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cd9660_bmap |
|
6 |
25 |
177 |
1 |
| Source file: ./sys/isofs/cd9660/cd9660_vfsops.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cd9660_mountroot |
|
5 |
27 |
186 |
1 |
| cd9660_mount |
|
12 |
60 |
430 |
5 |
| iso_mountfs |
|
43 |
189 |
1225 |
4 |
| for |
|
5 |
15 |
130 |
1 |
| for |
|
1 |
4 |
41 |
0 |
| cd9660_start |
|
1 |
7 |
28 |
0 |
| cd9660_unmount |
|
5 |
24 |
167 |
0 |
| cd9660_root |
|
1 |
11 |
72 |
0 |
| cd9660_quotactl |
|
1 |
9 |
38 |
0 |
| cd9660_statfs |
|
1 |
18 |
105 |
0 |
| cd9660_sync |
|
1 |
8 |
35 |
0 |
| cd9660_fhtovp |
|
4 |
24 |
141 |
0 |
| cd9660_vget |
|
3 |
13 |
70 |
0 |
| cd9660_vget_internal |
|
33 |
157 |
944 |
0 |
| cd9660_vptofh |
|
2 |
14 |
88 |
0 |
| cd9660_check_export |
|
2 |
15 |
94 |
0 |
| Source file: ./sys/isofs/udf/udf_subr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| udf_rawnametounicode |
|
7 |
26 |
145 |
3 |
| udf_disklabelspoof |
|
9 |
62 |
538 |
3 |
| udf_vat_get |
|
2 |
17 |
128 |
2 |
| udf_vat_map |
|
3 |
10 |
64 |
2 |
| udf_vat_read |
|
5 |
21 |
128 |
2 |
| Source file: ./sys/isofs/cd9660/cd9660_rrip.h |
| Source file: ./sys/isofs/cd9660/cd9660_lookup.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cd9660_lookup |
|
65 |
223 |
1415 |
1 |
| cd9660_bufatoff |
|
3 |
21 |
144 |
4 |
| Source file: ./sys/isofs/udf/udf_extern.h |
| Source file: ./sys/isofs/udf/udf_vfsops.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| udf_init |
|
1 |
10 |
81 |
1 |
| udf_start |
|
1 |
4 |
22 |
3 |
| udf_mount |
|
11 |
45 |
337 |
5 |
| udf_checktag |
|
4 |
14 |
96 |
2 |
| udf_mountfs |
|
36 |
184 |
1414 |
4 |
| udf_unmount |
|
5 |
27 |
210 |
3 |
| udf_root |
|
2 |
15 |
83 |
2 |
| udf_quotactl |
|
1 |
5 |
28 |
5 |
| udf_statfs |
|
1 |
15 |
97 |
3 |
| udf_sync |
|
1 |
4 |
27 |
4 |
| udf_vget |
|
23 |
118 |
760 |
3 |
| udf_fhtovp |
|
2 |
13 |
83 |
3 |
| udf_vptofh |
|
1 |
10 |
63 |
2 |
| udf_sysctl |
|
1 |
5 |
36 |
7 |
| udf_checkexp |
|
1 |
5 |
28 |
4 |
| udf_get_vpartmap |
|
1 |
5 |
25 |
2 |
| udf_get_spartmap |
|
7 |
31 |
256 |
2 |
| udf_get_mpartmap |
|
1 |
6 |
33 |
2 |
| udf_find_partmaps |
|
11 |
41 |
302 |
2 |
| Source file: ./sys/isofs/udf/ecma167-udf.h |
| Source file: ./sys/isofs/udf/udf.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| udf_readlblks |
|
1 |
5 |
46 |
4 |
| udf_getid |
|
1 |
4 |
21 |
1 |
| Source file: ./sys/isofs/udf/udf_vnops.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| udf_hashlookup |
|
5 |
30 |
188 |
4 |
| udf_hashins |
|
2 |
16 |
122 |
1 |
| udf_hashrem |
|
2 |
14 |
100 |
1 |
| udf_allocv |
|
2 |
12 |
68 |
3 |
| udf_permtomode |
|
1 |
15 |
118 |
1 |
| udf_access |
|
5 |
23 |
120 |
1 |
| udf_isaleapyear |
|
4 |
8 |
51 |
1 |
| udf_timetotimespec |
|
10 |
40 |
297 |
2 |
| udf_getattr |
|
9 |
49 |
412 |
1 |
| udf_open |
|
1 |
4 |
13 |
1 |
| udf_close |
|
1 |
4 |
13 |
1 |
| udf_ioctl |
|
1 |
4 |
13 |
1 |
| udf_pathconf |
|
6 |
26 |
101 |
1 |
| udf_read |
|
8 |
31 |
203 |
1 |
| udf_transname |
|
7 |
24 |
165 |
4 |
| udf_cmpname |
|
3 |
13 |
99 |
5 |
| udf_uiodir |
|
2 |
11 |
79 |
3 |
| udf_opendir |
|
1 |
10 |
66 |
4 |
| udf_getfid |
|
16 |
76 |
567 |
1 |
| udf_closedir |
|
4 |
10 |
63 |
1 |
| udf_readdir |
|
18 |
93 |
643 |
1 |
| udf_readlink |
|
1 |
4 |
13 |
1 |
| udf_strategy |
|
6 |
39 |
245 |
1 |
| udf_lock |
|
1 |
6 |
42 |
1 |
| udf_unlock |
|
1 |
7 |
38 |
1 |
| udf_islocked |
|
1 |
5 |
29 |
1 |
| udf_print |
|
2 |
9 |
53 |
1 |
| udf_bmap |
|
5 |
21 |
136 |
1 |
| udf_lookup |
|
32 |
123 |
791 |
1 |
| udf_inactive |
|
1 |
8 |
45 |
1 |
| udf_reclaim |
|
4 |
20 |
110 |
1 |
| udf_readatoffset |
|
7 |
38 |
290 |
5 |
| udf_bmap_internal |
|
18 |
99 |
642 |
4 |
| Source file: ./sys/net/if_pflow.h |
| Source file: ./sys/net/if_vlan_var.h |
| Source file: ./sys/net/ethertypes.h |
| Source file: ./sys/dev/softraid.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sr_meta_attach |
|
8 |
52 |
356 |
3 |
| sr_meta_probe |
|
12 |
67 |
406 |
3 |
| sr_meta_getdevname |
|
3 |
16 |
106 |
4 |
| sr_rw |
|
10 |
57 |
385 |
6 |
| sr_meta_rw |
|
2 |
15 |
95 |
4 |
| sr_meta_clear |
|
3 |
28 |
188 |
1 |
| sr_meta_init |
|
4 |
47 |
378 |
3 |
| sr_meta_init_complete |
|
2 |
11 |
109 |
1 |
| sr_meta_opt_handler |
|
2 |
5 |
27 |
2 |
| sr_meta_save_callback |
|
2 |
10 |
56 |
1 |
| sr_meta_save |
|
10 |
79 |
592 |
2 |
| sr_meta_read |
|
7 |
57 |
396 |
1 |
| sr_meta_opt_load |
|
8 |
67 |
499 |
3 |
| sr_meta_validate |
|
14 |
58 |
454 |
4 |
| sr_meta_native_bootprobe |
|
14 |
104 |
678 |
3 |
| sr_boot_assembly |
|
45 |
271 |
1994 |
1 |
| sr_map_root |
|
6 |
40 |
256 |
1 |
| sr_meta_native_probe |
|
6 |
47 |
303 |
2 |
| sr_meta_native_attach |
|
19 |
75 |
489 |
2 |
| sr_meta_native_read |
|
2 |
8 |
60 |
4 |
| sr_meta_native_write |
|
2 |
8 |
60 |
4 |
| sr_hotplug_register |
|
2 |
14 |
92 |
2 |
| sr_hotplug_unregister |
|
3 |
15 |
90 |
2 |
| sr_disk_attach |
|
2 |
7 |
47 |
2 |
| sr_match |
|
1 |
4 |
22 |
3 |
| sr_attach |
|
4 |
31 |
259 |
3 |
| sr_detach |
|
4 |
18 |
117 |
2 |
| sr_info |
|
1 |
8 |
56 |
3 |
| sr_warn |
|
1 |
8 |
56 |
3 |
| sr_error |
|
1 |
8 |
56 |
3 |
| sr_minphys |
|
2 |
7 |
44 |
2 |
| sr_copy_internal_data |
|
2 |
10 |
60 |
3 |
| sr_ccb_alloc |
|
4 |
22 |
156 |
1 |
| sr_ccb_free |
|
3 |
10 |
76 |
1 |
| sr_ccb_get |
|
2 |
15 |
83 |
1 |
| sr_ccb_put |
|
1 |
14 |
85 |
1 |
| sr_ccb_rw |
|
4 |
37 |
304 |
7 |
| sr_ccb_done |
|
4 |
33 |
246 |
1 |
| sr_wu_alloc |
|
2 |
23 |
174 |
2 |
| sr_wu_free |
|
5 |
15 |
153 |
1 |
| sr_wu_get |
|
2 |
14 |
95 |
1 |
| sr_wu_put |
|
1 |
12 |
97 |
2 |
| sr_wu_init |
|
2 |
14 |
84 |
2 |
| sr_wu_enqueue_ccb |
|
2 |
13 |
80 |
2 |
| sr_wu_release_ccbs |
|
2 |
12 |
73 |
1 |
| sr_wu_done |
|
2 |
10 |
68 |
1 |
| sr_wu_done_callback |
|
15 |
45 |
276 |
1 |
| sr_scsi_wu_get |
|
1 |
4 |
23 |
2 |
| sr_scsi_wu_put |
|
3 |
6 |
41 |
2 |
| sr_scsi_done |
|
4 |
9 |
66 |
2 |
| sr_scsi_cmd |
|
24 |
86 |
486 |
1 |
| sr_scsi_probe |
|
4 |
15 |
100 |
1 |
| sr_scsi_ioctl |
|
5 |
19 |
126 |
4 |
| sr_bio_ioctl |
|
1 |
6 |
56 |
3 |
| sr_bio_handler |
|
13 |
59 |
381 |
4 |
| sr_ioctl_inq |
|
1 |
13 |
99 |
2 |
| sr_ioctl_vol |
|
7 |
43 |
318 |
2 |
| sr_ioctl_disk |
|
10 |
46 |
328 |
2 |
| sr_ioctl_setstate |
|
11 |
54 |
282 |
2 |
| sr_chunk_in_use |
|
5 |
20 |
137 |
2 |
| sr_hotspare |
|
14 |
134 |
1015 |
2 |
| sr_hotspare_rebuild_callback |
|
1 |
5 |
20 |
1 |
| sr_hotspare_rebuild |
|
14 |
75 |
469 |
1 |
| sr_rebuild_init |
|
25 |
137 |
936 |
3 |
| sr_rebuild_percent |
|
2 |
9 |
64 |
1 |
| sr_roam_chunks |
|
3 |
20 |
137 |
1 |
| sr_ioctl_createraid |
|
48 |
210 |
1477 |
4 |
| sr_ioctl_deleteraid |
|
4 |
24 |
144 |
3 |
| sr_ioctl_discipline |
|
5 |
22 |
134 |
3 |
| sr_ioctl_installboot |
|
23 |
112 |
891 |
3 |
| sr_chunks_unwind |
|
4 |
21 |
142 |
2 |
| sr_discipline_free |
|
8 |
36 |
264 |
1 |
| sr_discipline_shutdown |
|
11 |
32 |
211 |
2 |
| sr_discipline_init |
|
8 |
53 |
249 |
2 |
| sr_raid_inquiry |
|
3 |
27 |
223 |
1 |
| sr_raid_read_cap |
|
4 |
30 |
228 |
1 |
| sr_raid_tur |
|
3 |
21 |
148 |
1 |
| sr_raid_request_sense |
|
1 |
10 |
81 |
1 |
| sr_raid_start_stop |
|
2 |
10 |
63 |
1 |
| sr_raid_sync |
|
4 |
21 |
140 |
1 |
| sr_raid_intr |
|
2 |
14 |
100 |
1 |
| sr_schedule_wu |
|
8 |
37 |
211 |
1 |
| sr_raid_startwu |
|
4 |
19 |
136 |
1 |
| sr_raid_recreate_wu |
|
3 |
12 |
64 |
1 |
| sr_alloc_resources |
|
3 |
12 |
66 |
1 |
| sr_free_resources |
|
1 |
5 |
19 |
1 |
| sr_set_chunk_state |
|
5 |
35 |
210 |
3 |
| sr_set_vol_state |
|
9 |
45 |
265 |
1 |
| sr_block_get |
|
1 |
4 |
22 |
2 |
| sr_block_put |
|
1 |
4 |
23 |
3 |
| sr_checksum_print |
|
2 |
6 |
34 |
1 |
| sr_checksum |
|
1 |
9 |
65 |
4 |
| sr_uuid_generate |
|
1 |
8 |
59 |
1 |
| sr_uuid_format |
|
1 |
17 |
149 |
1 |
| sr_uuid_print |
|
2 |
7 |
47 |
2 |
| sr_already_assembled |
|
2 |
12 |
81 |
1 |
| sr_validate_stripsize |
|
4 |
14 |
64 |
1 |
| sr_shutdown |
|
2 |
9 |
67 |
1 |
| sr_validate_io |
|
8 |
50 |
397 |
3 |
| sr_rebuild_start |
|
2 |
11 |
75 |
1 |
| sr_rebuild_thread |
|
1 |
10 |
59 |
1 |
| sr_rebuild |
|
17 |
118 |
825 |
1 |
| sr_sensors_create |
|
3 |
22 |
157 |
1 |
| sr_sensors_delete |
|
2 |
6 |
48 |
1 |
| sr_sensors_refresh |
|
6 |
32 |
170 |
1 |
| sr_print_stats |
|
2 |
15 |
65 |
1 |
| sr_meta_print |
|
4 |
53 |
465 |
1 |
| sr_dump_block |
|
7 |
17 |
126 |
2 |
| sr_dump_mem |
|
2 |
7 |
41 |
2 |
| sr_hibernate_io |
|
11 |
75 |
583 |
6 |
| Source file: ./sys/dev/audio.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| audio_gcd |
|
2 |
10 |
41 |
2 |
| audio_buf_init |
|
4 |
16 |
118 |
3 |
| audio_buf_done |
|
2 |
7 |
53 |
2 |
| audio_buf_rgetblk |
|
2 |
9 |
54 |
2 |
| audio_buf_rdiscard |
|
4 |
11 |
68 |
2 |
| audio_buf_wcommit |
|
3 |
8 |
50 |
2 |
| audio_buf_wgetblk |
|
3 |
13 |
84 |
2 |
| audio_calc_sil |
|
13 |
41 |
222 |
1 |
| audio_fill_sil |
|
3 |
11 |
82 |
3 |
| audio_clear |
|
3 |
13 |
119 |
1 |
| audio_pintr |
|
12 |
56 |
432 |
1 |
| audio_rintr |
|
12 |
54 |
398 |
1 |
| audio_start_do |
|
7 |
57 |
421 |
1 |
| audio_stop_do |
|
3 |
9 |
60 |
1 |
| audio_start |
|
1 |
6 |
47 |
1 |
| audio_stop |
|
2 |
10 |
40 |
1 |
| audio_canstart |
|
7 |
10 |
71 |
1 |
| audio_setpar |
|
64 |
203 |
1506 |
1 |
| audio_ioc_start |
|
6 |
17 |
113 |
1 |
| audio_ioc_stop |
|
3 |
11 |
51 |
1 |
| audio_ioc_getpar |
|
3 |
16 |
113 |
2 |
| audio_ioc_setpar |
|
29 |
63 |
437 |
2 |
| audio_ioc_getstatus |
|
1 |
7 |
41 |
2 |
| audio_match |
|
2 |
5 |
37 |
3 |
| audio_attach |
|
20 |
52 |
358 |
3 |
| audio_activate |
|
10 |
34 |
232 |
2 |
| audio_detach |
|
5 |
28 |
229 |
2 |
| audio_submatch |
|
1 |
5 |
34 |
3 |
| audio_attach_mi |
|
1 |
8 |
53 |
3 |
| audioprint |
|
5 |
22 |
91 |
2 |
| audio_open |
|
12 |
45 |
267 |
2 |
| audio_drain |
|
11 |
47 |
324 |
1 |
| audio_close |
|
2 |
10 |
55 |
1 |
| audio_read |
|
13 |
50 |
340 |
3 |
| audio_write |
|
16 |
59 |
364 |
3 |
| audio_getdev |
|
2 |
8 |
60 |
2 |
| audio_ioctl |
|
10 |
41 |
241 |
3 |
| audio_ioctl_mixer |
|
8 |
25 |
168 |
3 |
| audio_poll |
|
8 |
17 |
149 |
3 |
| audioopen |
|
6 |
25 |
120 |
4 |
| audioclose |
|
5 |
21 |
103 |
4 |
| audioread |
|
5 |
21 |
104 |
3 |
| audiowrite |
|
5 |
21 |
104 |
3 |
| audioioctl |
|
9 |
31 |
168 |
5 |
| audiopoll |
|
5 |
20 |
100 |
3 |
| wskbd_initmute |
|
4 |
16 |
127 |
2 |
| wskbd_initvol |
|
9 |
30 |
300 |
4 |
| wskbd_mixer_init |
|
6 |
32 |
221 |
1 |
| wskbd_mixer_update |
|
16 |
65 |
438 |
2 |
| wskbd_mixer_cb |
|
1 |
11 |
63 |
1 |
| wskbd_set_mixermute |
|
5 |
16 |
108 |
2 |
| wskbd_set_mixervolume |
|
5 |
19 |
117 |
2 |
| Source file: ./sys/net/if_var.h |
| Source file: ./sys/net/if_ppp.h |
| Source file: ./sys/net/pf_lb.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pf_hash |
|
5 |
28 |
200 |
4 |
| pf_get_sport |
|
35 |
97 |
719 |
7 |
| pf_map_addr_sticky |
|
13 |
64 |
484 |
7 |
| pf_map_addr |
|
99 |
269 |
2146 |
8 |
| pf_get_transaddr |
|
12 |
48 |
417 |
4 |
| pf_get_transaddr_af |
|
30 |
110 |
900 |
3 |
| pf_postprocess_addr |
|
17 |
72 |
435 |
1 |
| Source file: ./sys/net/if_vxlan.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| vxlanattach |
|
2 |
8 |
44 |
1 |
| vxlan_clone_create |
|
3 |
35 |
283 |
2 |
| vxlan_clone_destroy |
|
1 |
15 |
92 |
1 |
| vxlan_multicast_cleanup |
|
6 |
28 |
170 |
1 |
| vxlan_multicast_join |
|
17 |
52 |
365 |
3 |
| vxlanstart |
|
5 |
12 |
63 |
1 |
| vxlan_config |
|
13 |
47 |
338 |
3 |
| vxlanioctl |
|
32 |
101 |
619 |
3 |
| vxlan_media_change |
|
1 |
4 |
14 |
1 |
| vxlan_media_status |
|
1 |
4 |
22 |
2 |
| vxlan_sockaddr_cmp |
|
9 |
23 |
143 |
2 |
| vxlan_sockaddr_port |
|
5 |
16 |
70 |
1 |
| vxlan_lookup |
|
24 |
83 |
619 |
5 |
| vxlan_encap4 |
|
3 |
25 |
199 |
4 |
| vxlan_encap6 |
|
7 |
36 |
274 |
4 |
| vxlan_output |
|
20 |
91 |
585 |
2 |
| vxlan_addr_change |
|
2 |
8 |
47 |
1 |
| vxlan_if_change |
|
1 |
9 |
75 |
1 |
| vxlan_link_change |
|
1 |
6 |
39 |
1 |
| Source file: ./sys/net/ifq.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ifq_set_oactive |
|
1 |
4 |
15 |
1 |
| ifq_clr_oactive |
|
1 |
4 |
15 |
1 |
| ifq_is_oactive |
|
1 |
4 |
16 |
1 |
| ifq_start |
|
1 |
4 |
19 |
1 |
| ifq_restart |
|
1 |
4 |
19 |
1 |
| ifq_idx |
|
1 |
4 |
36 |
3 |
| Source file: ./sys/net/if_vether.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| vether_media_change |
|
1 |
4 |
14 |
1 |
| vether_media_status |
|
1 |
5 |
30 |
2 |
| vetherattach |
|
1 |
4 |
13 |
1 |
| vether_clone_create |
|
2 |
25 |
187 |
2 |
| vether_clone_destroy |
|
1 |
9 |
56 |
1 |
| vetherstart |
|
5 |
12 |
61 |
1 |
| vetherioctl |
|
9 |
33 |
177 |
3 |
| Source file: ./sys/net/pf_if.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pfi_initialize |
|
3 |
12 |
75 |
1 |
| pfi_kif_find |
|
1 |
7 |
59 |
1 |
| pfi_kif_get |
|
4 |
17 |
129 |
1 |
| pfi_kif_ref |
|
4 |
16 |
56 |
2 |
| pfi_kif_unref |
|
15 |
41 |
185 |
2 |
| pfi_kif_match |
|
8 |
14 |
103 |
2 |
| pfi_attach_ifnet |
|
3 |
15 |
93 |
1 |
| pfi_detach_ifnet |
|
2 |
12 |
71 |
1 |
| pfi_attach_ifgroup |
|
2 |
10 |
56 |
1 |
| pfi_detach_ifgroup |
|
2 |
10 |
55 |
1 |
| pfi_group_change |
|
2 |
8 |
40 |
1 |
| pfi_match_addr |
|
8 |
29 |
154 |
3 |
| pfi_dynaddr_setup |
|
17 |
60 |
464 |
2 |
| pfi_kif_update |
|
2 |
11 |
70 |
1 |
| pfi_dynaddr_update |
|
5 |
14 |
92 |
1 |
| pfi_table_update |
|
4 |
16 |
135 |
4 |
| pfi_instance_add |
|
29 |
54 |
347 |
3 |
| pfi_address_add |
|
11 |
43 |
317 |
3 |
| pfi_dynaddr_remove |
|
5 |
13 |
133 |
1 |
| pfi_dynaddr_copyout |
|
4 |
7 |
59 |
1 |
| pfi_kifaddr_update |
|
1 |
7 |
32 |
1 |
| pfi_if_compare |
|
1 |
4 |
30 |
2 |
| pfi_update_status |
|
11 |
53 |
417 |
2 |
| pfi_get_ifaces |
|
6 |
23 |
163 |
3 |
| pfi_skip_if |
|
10 |
19 |
148 |
2 |
| pfi_set_flags |
|
2 |
10 |
54 |
2 |
| pfi_clear_flags |
|
2 |
10 |
54 |
2 |
| pfi_xcommit |
|
1 |
6 |
28 |
1 |
| pfi_unmask |
|
5 |
16 |
101 |
1 |
| Source file: ./sys/net/if_switch.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| switchattach |
|
1 |
8 |
45 |
1 |
| switch_lookup |
|
2 |
9 |
41 |
1 |
| switch_clone_create |
|
3 |
29 |
207 |
2 |
| switch_clone_destroy |
|
2 |
22 |
137 |
1 |
| switchintr |
|
4 |
18 |
93 |
1 |
| switch_process |
|
11 |
35 |
246 |
2 |
| switch_port_set_local |
|
7 |
40 |
275 |
2 |
| switch_port_unset_local |
|
6 |
35 |
251 |
2 |
| switch_ioctl |
|
29 |
101 |
642 |
3 |
| switch_port_add |
|
9 |
37 |
262 |
2 |
| switch_port_list |
|
5 |
34 |
244 |
2 |
| switch_port_detach |
|
2 |
16 |
120 |
1 |
| switch_port_del |
|
4 |
20 |
113 |
2 |
| switch_input |
|
2 |
10 |
61 |
3 |
| switch_port_ingress |
|
3 |
16 |
119 |
3 |
| switch_port_egress |
|
15 |
46 |
313 |
3 |
| switch_ifenqueue |
|
3 |
21 |
121 |
4 |
| switch_port_ifb_start |
|
5 |
14 |
80 |
1 |
| switch_swfcl_dup |
|
25 |
98 |
708 |
2 |
| switch_swfcl_free |
|
13 |
28 |
214 |
1 |
| switch_flow_classifier_udp |
|
3 |
17 |
142 |
3 |
| switch_flow_classifier_tcp |
|
3 |
18 |
152 |
3 |
| switch_flow_classifier_icmpv4 |
|
3 |
17 |
136 |
3 |
| switch_flow_classifier_nd6 |
|
17 |
69 |
447 |
3 |
| switch_flow_classifier_icmpv6 |
|
5 |
21 |
137 |
3 |
| switch_flow_classifier_ipv4 |
|
6 |
31 |
255 |
3 |
| switch_flow_classifier_ipv6 |
|
6 |
31 |
250 |
3 |
| switch_flow_classifier_arp |
|
3 |
20 |
204 |
3 |
| switch_flow_classifier_ether |
|
15 |
63 |
483 |
3 |
| switch_flow_classifier_tunnel |
|
6 |
31 |
217 |
3 |
| switch_flow_classifier |
|
1 |
8 |
52 |
3 |
| switch_flow_classifier_dump |
|
14 |
102 |
718 |
2 |
| switch_mtap |
|
2 |
8 |
71 |
4 |
| ofp_split_mbuf |
|
6 |
23 |
157 |
2 |
| Source file: ./sys/net/if_trunk.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| trunkattach |
|
1 |
5 |
19 |
1 |
| trunk_clone_create |
|
5 |
38 |
302 |
2 |
| trunk_clone_destroy |
|
3 |
21 |
134 |
1 |
| trunk_lladdr |
|
1 |
10 |
69 |
2 |
| trunk_capabilities |
|
4 |
13 |
92 |
1 |
| trunk_port_lladdr |
|
1 |
6 |
39 |
2 |
| trunk_port_create |
|
13 |
65 |
511 |
2 |
| trunk_port_checkstacking |
|
2 |
13 |
79 |
1 |
| trunk_port_destroy |
|
5 |
38 |
295 |
1 |
| trunk_port_ioctl |
|
11 |
39 |
218 |
3 |
| trunk_port_output |
|
3 |
10 |
71 |
4 |
| trunk_port_ifdetach |
|
1 |
5 |
25 |
1 |
| trunk_port_get |
|
4 |
19 |
103 |
2 |
| trunk_port2req |
|
9 |
28 |
190 |
2 |
| trunk_ioctl |
|
41 |
140 |
875 |
3 |
| trunk_ether_addmulti |
|
4 |
25 |
201 |
2 |
| trunk_ether_delmulti |
|
8 |
31 |
235 |
2 |
| trunk_ether_purgemulti |
|
2 |
12 |
106 |
1 |
| trunk_ether_cmdmulti |
|
3 |
20 |
161 |
2 |
| trunk_ioctl_allports |
|
3 |
17 |
124 |
3 |
| trunk_start |
|
9 |
22 |
133 |
1 |
| trunk_hashmbuf |
|
12 |
54 |
446 |
2 |
| trunk_init |
|
2 |
7 |
47 |
1 |
| trunk_stop |
|
2 |
7 |
47 |
1 |
| trunk_input |
|
12 |
41 |
283 |
3 |
| trunk_media_change |
|
2 |
7 |
43 |
1 |
| trunk_media_status |
|
2 |
11 |
73 |
2 |
| trunk_port_state |
|
4 |
12 |
77 |
1 |
| trunk_link_active |
|
10 |
36 |
192 |
2 |
| trunk_gethdr |
|
3 |
10 |
81 |
4 |
| trunk_rr_attach |
|
1 |
18 |
104 |
1 |
| trunk_rr_detach |
|
1 |
5 |
20 |
1 |
| trunk_rr_port_destroy |
|
2 |
6 |
42 |
1 |
| trunk_rr_start |
|
3 |
14 |
117 |
2 |
| trunk_rr_input |
|
1 |
4 |
24 |
3 |
| trunk_fail_attach |
|
1 |
15 |
90 |
1 |
| trunk_fail_detach |
|
1 |
5 |
20 |
1 |
| trunk_fail_port_create |
|
1 |
6 |
44 |
1 |
| trunk_fail_port_destroy |
|
3 |
14 |
96 |
1 |
| trunk_fail_start |
|
2 |
9 |
58 |
2 |
| trunk_fail_input |
|
2 |
7 |
46 |
3 |
| trunk_fail_linkstate |
|
1 |
5 |
39 |
1 |
| trunk_lb_attach |
|
2 |
20 |
137 |
1 |
| trunk_lb_detach |
|
1 |
6 |
39 |
1 |
| trunk_lb_porttable |
|
4 |
18 |
123 |
2 |
| trunk_lb_port_create |
|
1 |
5 |
33 |
1 |
| trunk_lb_port_destroy |
|
1 |
5 |
30 |
1 |
| trunk_lb_start |
|
2 |
14 |
107 |
2 |
| trunk_lb_input |
|
1 |
4 |
24 |
3 |
| trunk_bcast_attach |
|
1 |
14 |
74 |
1 |
| trunk_bcast_detach |
|
1 |
4 |
14 |
1 |
| trunk_bcast_start |
|
8 |
31 |
169 |
2 |
| trunk_bcast_input |
|
1 |
4 |
24 |
3 |
| trunk_lacp_attach |
|
2 |
21 |
114 |
1 |
| trunk_lacp_detach |
|
1 |
9 |
45 |
1 |
| trunk_lacp_start |
|
2 |
10 |
58 |
2 |
| trunk_lacp_input |
|
1 |
4 |
29 |
3 |
| Source file: ./sys/net/pf_norm.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pf_normalize_init |
|
1 |
15 |
124 |
1 |
| pf_frnode_compare |
|
5 |
13 |
124 |
2 |
| pf_frag_compare |
|
2 |
7 |
43 |
2 |
| pf_purge_expired_fragments |
|
3 |
15 |
83 |
1 |
| pf_flush_fragments |
|
3 |
12 |
64 |
1 |
| pf_free_fragment |
|
3 |
22 |
156 |
1 |
| pf_find_fragment |
|
4 |
24 |
174 |
2 |
| pf_create_fragment |
|
3 |
15 |
73 |
1 |
| pf_fillup_fragment |
|
37 |
141 |
967 |
4 |
| pf_isfull_fragment |
|
8 |
26 |
199 |
1 |
| pf_join_fragment |
|
4 |
27 |
219 |
1 |
| pf_reassemble |
|
7 |
60 |
462 |
3 |
| pf_reassemble6 |
|
12 |
93 |
704 |
6 |
| pf_refragment6 |
|
8 |
60 |
420 |
5 |
| pf_normalize_ip |
|
10 |
26 |
217 |
2 |
| pf_normalize_ip6 |
|
6 |
18 |
132 |
2 |
| pf_normalize_tcp |
|
12 |
38 |
255 |
1 |
| pf_normalize_tcp_init |
|
14 |
63 |
442 |
2 |
| pf_normalize_tcp_cleanup |
|
3 |
7 |
49 |
1 |
| pf_normalize_tcp_stateful |
|
88 |
220 |
1636 |
6 |
| pf_normalize_mss |
|
12 |
43 |
307 |
2 |
| pf_scrub |
|
19 |
23 |
212 |
5 |
| Source file: ./sys/net/bpf.h |
| Source file: ./sys/net/if_enc.h |
| Source file: ./sys/net/trunklacp.h |
| Source file: ./sys/net/if.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ifinit |
|
3 |
12 |
79 |
1 |
| if_idxmap_init |
|
2 |
14 |
105 |
1 |
| if_idxmap_insert |
|
9 |
46 |
331 |
1 |
| if_idxmap_remove |
|
1 |
15 |
113 |
1 |
| if_ifp_dtor |
|
1 |
4 |
17 |
2 |
| if_map_dtor |
|
2 |
9 |
91 |
2 |
| if_attachsetup |
|
2 |
19 |
143 |
1 |
| if_alloc_sadl |
|
3 |
23 |
167 |
1 |
| if_free_sadl |
|
1 |
5 |
26 |
1 |
| if_attachdomain |
|
3 |
13 |
91 |
1 |
| if_attachhead |
|
1 |
8 |
37 |
1 |
| if_attach |
|
1 |
8 |
37 |
1 |
| if_attach_queues |
|
2 |
19 |
152 |
2 |
| if_attach_common |
|
3 |
41 |
334 |
1 |
| if_attach_ifq |
|
1 |
4 |
31 |
3 |
| if_start |
|
1 |
5 |
26 |
1 |
| if_qstart_compat |
|
1 |
10 |
50 |
1 |
| if_enqueue |
|
6 |
20 |
128 |
2 |
| if_input |
|
9 |
32 |
199 |
2 |
| if_input_local |
|
9 |
32 |
178 |
3 |
| if_ih_insert |
|
4 |
21 |
140 |
3 |
| if_ih_ref |
|
1 |
5 |
27 |
2 |
| if_ih_unref |
|
1 |
5 |
27 |
2 |
| if_ih_remove |
|
4 |
17 |
127 |
3 |
| if_input_process |
|
7 |
33 |
197 |
1 |
| if_netisr |
|
20 |
35 |
216 |
1 |
| if_deactivate |
|
4 |
8 |
45 |
1 |
| if_detach |
|
17 |
65 |
541 |
1 |
| if_isconnected |
|
10 |
17 |
117 |
2 |
| if_clone_create |
|
6 |
21 |
137 |
2 |
| if_clone_destroy |
|
5 |
25 |
131 |
1 |
| if_clone_lookup |
|
20 |
32 |
240 |
2 |
| if_clone_attach |
|
1 |
5 |
22 |
1 |
| if_clone_detach |
|
1 |
5 |
19 |
1 |
| if_clone_list |
|
6 |
26 |
151 |
1 |
| if_congestion |
|
1 |
5 |
14 |
1 |
| if_congested |
|
2 |
11 |
49 |
1 |
| ifa_ifwithaddr |
|
4 |
19 |
105 |
2 |
| ifa_ifwithdstaddr |
|
6 |
21 |
118 |
2 |
| ifaof_ifpforaddr |
|
12 |
32 |
223 |
2 |
| if_rtrequest_dummy |
|
1 |
3 |
17 |
3 |
| p2p_rtrequest |
|
9 |
34 |
187 |
3 |
| if_downall |
|
2 |
14 |
79 |
1 |
| if_down |
|
1 |
8 |
40 |
1 |
| if_up |
|
3 |
9 |
50 |
1 |
| if_linkstate_task |
|
2 |
13 |
62 |
1 |
| if_linkstate |
|
1 |
7 |
32 |
1 |
| if_link_state_change |
|
1 |
4 |
23 |
1 |
| if_slowtimo |
|
4 |
11 |
75 |
1 |
| if_watchdog_task |
|
3 |
16 |
81 |
1 |
| ifunit |
|
2 |
9 |
48 |
1 |
| if_get |
|
3 |
18 |
112 |
1 |
| if_ref |
|
1 |
5 |
22 |
1 |
| if_put |
|
2 |
6 |
25 |
1 |
| if_setlladdr |
|
2 |
8 |
64 |
2 |
| if_setrdomain |
|
17 |
51 |
321 |
2 |
| ifioctl |
|
111 |
274 |
1637 |
4 |
| ifioctl_get |
|
20 |
91 |
467 |
2 |
| ifconf |
|
12 |
69 |
459 |
1 |
| if_getdata |
|
2 |
9 |
61 |
2 |
| if_detached_qstart |
|
1 |
4 |
14 |
1 |
| if_detached_ioctl |
|
1 |
4 |
18 |
3 |
| if_creategroup |
|
3 |
13 |
96 |
1 |
| if_addgroup |
|
10 |
33 |
288 |
2 |
| if_delgroup |
|
8 |
26 |
198 |
2 |
| if_getgroup |
|
4 |
27 |
191 |
2 |
| if_getgroupmembers |
|
6 |
33 |
226 |
1 |
| if_getgroupattribs |
|
3 |
12 |
75 |
1 |
| if_setgroupattribs |
|
5 |
20 |
136 |
1 |
| if_group_routechange |
|
12 |
18 |
118 |
2 |
| if_group_egress_build |
|
9 |
39 |
267 |
1 |
| ifpromisc |
|
6 |
27 |
169 |
2 |
| ifa_add |
|
1 |
4 |
26 |
2 |
| ifa_del |
|
1 |
4 |
26 |
2 |
| ifa_update_broadaddr |
|
2 |
6 |
49 |
3 |
| ifa_print_all |
|
4 |
23 |
131 |
1 |
| ifnewlladdr |
|
7 |
31 |
196 |
1 |
| net_tick |
|
2 |
8 |
35 |
1 |
| net_livelocked |
|
1 |
5 |
19 |
1 |
| if_rxr_init |
|
1 |
8 |
54 |
3 |
| if_rxr_adjust_cwm |
|
5 |
14 |
74 |
1 |
| if_rxr_livelocked |
|
3 |
9 |
46 |
1 |
| if_rxr_get |
|
3 |
13 |
77 |
2 |
| if_rxr_info_ioctl |
|
4 |
17 |
120 |
3 |
| if_rxr_ioctl |
|
2 |
11 |
87 |
4 |
| niq_init |
|
1 |
5 |
33 |
3 |
| niq_enqueue |
|
2 |
10 |
52 |
2 |
| niq_enlist |
|
2 |
10 |
52 |
2 |
| unhandled_af |
|
1 |
4 |
14 |
1 |
| net_tq |
|
1 |
6 |
29 |
1 |
| Source file: ./sys/net/route.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rtstat_inc |
|
1 |
5 |
21 |
1 |
| Source file: ./sys/net/if_mpe.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mpeattach |
|
1 |
5 |
19 |
1 |
| mpe_clone_create |
|
3 |
30 |
227 |
2 |
| mpe_clone_destroy |
|
2 |
12 |
74 |
1 |
| mpestart |
|
8 |
53 |
344 |
1 |
| mpeoutput |
|
10 |
61 |
394 |
4 |
| mpeioctl |
|
23 |
82 |
469 |
3 |
| mpe_input |
|
8 |
30 |
214 |
4 |
| mpe_input6 |
|
5 |
17 |
127 |
4 |
| Source file: ./sys/net/if_pppoe.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pppoeattach |
|
1 |
5 |
19 |
1 |
| pppoe_clone_create |
|
4 |
40 |
354 |
2 |
| pppoe_clone_destroy |
|
5 |
20 |
138 |
1 |
| pppoe_find_softc_by_session |
|
5 |
14 |
69 |
2 |
| pppoe_find_softc_by_hunique |
|
8 |
28 |
167 |
3 |
| pppoeintr |
|
3 |
9 |
53 |
1 |
| pppoe_dispatch_disc_pkt |
|
58 |
264 |
1524 |
2 |
| pppoe_disc_input |
|
2 |
8 |
42 |
1 |
| pppoe_data_input |
|
16 |
64 |
402 |
1 |
| pppoe_output |
|
4 |
33 |
256 |
2 |
| pppoe_ioctl |
|
32 |
143 |
934 |
3 |
| pppoe_get_mbuf |
|
4 |
19 |
114 |
1 |
| pppoe_send_padi |
|
11 |
52 |
422 |
1 |
| pppoe_timeout |
|
10 |
62 |
371 |
1 |
| pppoe_connect |
|
3 |
16 |
95 |
1 |
| pppoe_disconnect |
|
4 |
30 |
194 |
1 |
| pppoe_abort_connect |
|
1 |
9 |
63 |
1 |
| pppoe_send_padr |
|
13 |
58 |
474 |
1 |
| pppoe_send_padt |
|
3 |
29 |
217 |
4 |
| pppoe_tls |
|
2 |
7 |
35 |
1 |
| pppoe_tlf |
|
2 |
8 |
48 |
1 |
| pppoe_start |
|
7 |
27 |
165 |
1 |
| Source file: ./sys/net/pipex.h |
| Source file: ./sys/net/if_pair.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pair_media_change |
|
1 |
4 |
14 |
1 |
| pair_media_status |
|
2 |
12 |
74 |
2 |
| pair_link_state |
|
3 |
15 |
79 |
1 |
| pairattach |
|
1 |
4 |
13 |
1 |
| pair_clone_create |
|
2 |
27 |
198 |
2 |
| pair_clone_destroy |
|
2 |
17 |
109 |
1 |
| pairstart |
|
8 |
25 |
148 |
1 |
| pairioctl |
|
21 |
72 |
397 |
3 |
| Source file: ./sys/net/if_gre.h |
| Source file: ./sys/net/if_sppp.h |
| Source file: ./sys/net/pfkeyv2_convert.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| import_sa |
|
8 |
22 |
142 |
3 |
| export_sa |
|
31 |
96 |
436 |
2 |
| import_lifetime |
|
13 |
61 |
319 |
3 |
| export_lifetime |
|
13 |
50 |
265 |
3 |
| import_flow |
|
11 |
67 |
591 |
8 |
| export_encap |
|
7 |
39 |
297 |
3 |
| export_flow |
|
13 |
62 |
332 |
5 |
| import_address |
|
6 |
23 |
114 |
2 |
| export_address |
|
1 |
10 |
97 |
2 |
| import_identity |
|
5 |
27 |
171 |
2 |
| import_identities |
|
6 |
17 |
139 |
4 |
| export_identity |
|
4 |
20 |
124 |
2 |
| export_identities |
|
3 |
8 |
66 |
4 |
| import_key |
|
3 |
12 |
87 |
3 |
| export_key |
|
2 |
21 |
174 |
3 |
| import_udpencap |
|
2 |
5 |
26 |
2 |
| export_udpencap |
|
1 |
9 |
64 |
2 |
| import_tag |
|
2 |
8 |
47 |
2 |
| export_tag |
|
1 |
10 |
100 |
2 |
| import_tap |
|
2 |
5 |
26 |
2 |
| export_tap |
|
1 |
7 |
58 |
2 |
| export_satype |
|
1 |
7 |
44 |
2 |
| Source file: ./sys/net/ifq.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ifq_serialize |
|
5 |
24 |
178 |
2 |
| ifq_is_serialized |
|
1 |
4 |
20 |
1 |
| ifq_start_task |
|
4 |
9 |
55 |
1 |
| ifq_restart_task |
|
1 |
7 |
36 |
1 |
| ifq_barrier |
|
3 |
14 |
90 |
1 |
| ifq_barrier_task |
|
1 |
6 |
25 |
1 |
| ifq_init |
|
2 |
24 |
179 |
3 |
| ifq_attach |
|
3 |
27 |
197 |
3 |
| ifq_destroy |
|
1 |
7 |
50 |
1 |
| ifq_add_data |
|
1 |
9 |
62 |
2 |
| ifq_enqueue |
|
6 |
20 |
126 |
2 |
| ifq_deq_enter |
|
1 |
4 |
17 |
1 |
| ifq_deq_leave |
|
2 |
9 |
50 |
1 |
| ifq_deq_begin |
|
3 |
13 |
76 |
1 |
| ifq_deq_commit |
|
1 |
9 |
56 |
2 |
| ifq_deq_rollback |
|
1 |
5 |
26 |
2 |
| ifq_dequeue |
|
2 |
9 |
44 |
1 |
| ifq_purge |
|
1 |
14 |
89 |
1 |
| ifq_q_enter |
|
2 |
8 |
51 |
2 |
| ifq_q_leave |
|
1 |
5 |
30 |
2 |
| ifq_mfreem |
|
1 |
7 |
42 |
2 |
| ifq_mfreeml |
|
1 |
7 |
50 |
2 |
| priq_idx |
|
2 |
7 |
50 |
2 |
| priq_alloc |
|
2 |
9 |
64 |
2 |
| priq_free |
|
1 |
4 |
25 |
2 |
| priq_enq |
|
4 |
23 |
154 |
2 |
| priq_deq_begin |
|
3 |
16 |
94 |
2 |
| priq_deq_commit |
|
1 |
6 |
40 |
3 |
| priq_purge |
|
2 |
10 |
67 |
2 |
| Source file: ./sys/net/if_vxlan.h |
| Source file: ./sys/net/pfkeyv2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pfdatatopacket |
|
2 |
7 |
52 |
3 |
| pfkey_init |
|
1 |
4 |
15 |
1 |
| pfkeyv2_attach |
|
3 |
26 |
189 |
2 |
| pfkeyv2_detach |
|
5 |
21 |
114 |
1 |
| pfkeyv2_usrreq |
|
1 |
5 |
50 |
6 |
| pfkeyv2_output |
|
6 |
24 |
150 |
4 |
| pfkey_sendup |
|
4 |
17 |
111 |
3 |
| pfkeyv2_sendmessage |
|
24 |
106 |
764 |
6 |
| pfkeyv2_policy |
|
26 |
109 |
720 |
3 |
| pfkeyv2_get |
|
43 |
121 |
895 |
4 |
| pfkeyv2_dump_walker |
|
6 |
22 |
178 |
3 |
| pfkeyv2_sa_flush |
|
3 |
7 |
53 |
3 |
| pfkeyv2_get_proto_alg |
|
16 |
39 |
174 |
3 |
| pfkeyv2_send |
|
162 |
698 |
4305 |
3 |
| pfkeyv2_acquire |
|
29 |
170 |
1272 |
5 |
| pfkeyv2_expire |
|
11 |
59 |
408 |
2 |
| pfkeyv2_sysctl_walker |
|
12 |
47 |
369 |
3 |
| pfkeyv2_dump_policy |
|
20 |
78 |
492 |
4 |
| pfkeyv2_sysctl_policydumper |
|
14 |
53 |
392 |
3 |
| pfkeyv2_policy_flush |
|
2 |
8 |
42 |
3 |
| pfkeyv2_sysctl |
|
9 |
40 |
229 |
6 |
| Source file: ./sys/net/if_pflow.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pflowattach |
|
1 |
5 |
19 |
1 |
| pflow_output |
|
1 |
6 |
34 |
4 |
| pflow_output_process |
|
2 |
12 |
66 |
1 |
| pflow_clone_create |
|
2 |
117 |
1048 |
2 |
| pflow_clone_destroy |
|
7 |
30 |
228 |
1 |
| pflowvalidsockaddr |
|
8 |
19 |
116 |
2 |
| pflow_set |
|
29 |
128 |
789 |
2 |
| pflowioctl |
|
22 |
65 |
421 |
3 |
| pflow_init_timeouts |
|
9 |
25 |
169 |
1 |
| pflow_calc_mtu |
|
3 |
14 |
121 |
3 |
| pflow_setmtu |
|
6 |
25 |
151 |
2 |
| pflow_get_mbuf |
|
5 |
38 |
246 |
2 |
| copy_flow_data |
|
4 |
27 |
336 |
6 |
| copy_flow_ipfix_4_data |
|
2 |
27 |
311 |
7 |
| copy_flow_ipfix_6_data |
|
2 |
29 |
373 |
7 |
| export_pflow |
|
7 |
21 |
116 |
1 |
| export_pflow_if |
|
11 |
37 |
343 |
3 |
| copy_flow_to_m |
|
5 |
18 |
129 |
2 |
| copy_flow_ipfix_4_to_m |
|
5 |
22 |
149 |
2 |
| copy_flow_ipfix_6_to_m |
|
5 |
22 |
149 |
2 |
| pflow_pack_flow |
|
4 |
18 |
144 |
3 |
| pflow_pack_flow_ipfix |
|
9 |
35 |
284 |
3 |
| pflow_timeout |
|
3 |
14 |
49 |
1 |
| pflow_timeout6 |
|
1 |
5 |
22 |
1 |
| pflow_timeout_tmpl |
|
1 |
5 |
20 |
1 |
| pflow_flush |
|
3 |
14 |
50 |
1 |
| pflow_sendout_v5 |
|
4 |
25 |
185 |
1 |
| pflow_sendout_ipfix |
|
8 |
55 |
355 |
2 |
| pflow_sendout_ipfix_tmpl |
|
6 |
35 |
253 |
1 |
| pflow_sendout_mbuf |
|
2 |
10 |
75 |
2 |
| pflow_sysctl |
|
4 |
16 |
94 |
6 |
| Source file: ./sys/net/pf_table.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pfr_gcd |
|
2 |
10 |
40 |
2 |
| pfr_initialize |
|
1 |
15 |
147 |
1 |
| pfr_clr_addrs |
|
7 |
24 |
151 |
3 |
| pfr_add_addrs |
|
22 |
74 |
512 |
5 |
| pfr_del_addrs |
|
26 |
73 |
524 |
5 |
| pfr_set_addrs |
|
29 |
112 |
769 |
9 |
| pfr_tst_addrs |
|
15 |
36 |
279 |
5 |
| pfr_get_addrs |
|
8 |
34 |
221 |
4 |
| pfr_get_astats |
|
10 |
39 |
258 |
4 |
| pfr_clr_astats |
|
14 |
44 |
308 |
5 |
| pfr_validate_addr |
|
14 |
29 |
202 |
1 |
| pfr_enqueue_addrs |
|
7 |
19 |
128 |
4 |
| pfr_mark_addrs |
|
3 |
12 |
72 |
1 |
| pfr_lookup_addr |
|
8 |
28 |
184 |
3 |
| pfr_create_kentry |
|
13 |
39 |
243 |
1 |
| pfr_destroy_kentries |
|
2 |
10 |
67 |
1 |
| pfr_destroy_kentry |
|
4 |
9 |
68 |
1 |
| pfr_insert_kentries |
|
3 |
22 |
108 |
3 |
| pfr_insert_kentry |
|
5 |
20 |
119 |
3 |
| pfr_remove_kentries |
|
3 |
23 |
129 |
2 |
| pfr_clean_node_mask |
|
1 |
8 |
36 |
2 |
| pfr_clstats_kentries |
|
3 |
13 |
70 |
3 |
| pfr_reset_feedback |
|
4 |
13 |
94 |
3 |
| pfr_prepare_network |
|
9 |
27 |
189 |
3 |
| pfr_route_kentry |
|
6 |
23 |
158 |
2 |
| pfr_unroute_kentry |
|
6 |
26 |
150 |
2 |
| pfr_copyout_addr |
|
10 |
35 |
212 |
2 |
| pfr_walktree |
|
21 |
82 |
495 |
3 |
| pfr_clr_tables |
|
8 |
29 |
182 |
3 |
| pfr_add_tables |
|
15 |
74 |
516 |
4 |
| pfr_del_tables |
|
9 |
33 |
236 |
4 |
| pfr_get_tables |
|
8 |
31 |
182 |
4 |
| pfr_get_tstats |
|
9 |
38 |
225 |
4 |
| pfr_clr_tstats |
|
7 |
27 |
201 |
4 |
| pfr_set_tflags |
|
17 |
48 |
332 |
7 |
| pfr_ina_begin |
|
7 |
30 |
187 |
4 |
| pfr_ina_define |
|
26 |
101 |
718 |
7 |
| pfr_ina_rollback |
|
8 |
28 |
182 |
4 |
| pfr_ina_commit |
|
11 |
37 |
241 |
5 |
| pfr_commit_ktable |
|
7 |
54 |
406 |
2 |
| pfr_validate_table |
|
9 |
18 |
138 |
3 |
| pfr_fix_anchor |
|
6 |
21 |
126 |
1 |
| pfr_table_count |
|
4 |
11 |
71 |
2 |
| pfr_skip_table |
|
3 |
8 |
51 |
3 |
| pfr_insert_ktables |
|
1 |
6 |
27 |
1 |
| pfr_insert_ktable |
|
3 |
9 |
58 |
1 |
| pfr_setflags_ktables |
|
2 |
8 |
52 |
1 |
| pfr_setflags_ktable |
|
12 |
30 |
198 |
2 |
| pfr_clstats_ktables |
|
1 |
6 |
37 |
3 |
| pfr_clstats_ktable |
|
2 |
12 |
91 |
3 |
| pfr_create_ktable |
|
7 |
34 |
211 |
4 |
| pfr_destroy_ktables |
|
2 |
8 |
53 |
2 |
| pfr_destroy_ktable |
|
6 |
20 |
141 |
2 |
| pfr_ktable_compare |
|
2 |
7 |
55 |
2 |
| pfr_lookup_table |
|
1 |
5 |
27 |
1 |
| pfr_match_addr |
|
10 |
35 |
248 |
3 |
| pfr_update_stats |
|
19 |
64 |
422 |
5 |
| pfr_attach_table |
|
8 |
33 |
244 |
3 |
| pfr_detach_table |
|
3 |
8 |
57 |
1 |
| pfr_islinklocal |
|
4 |
6 |
36 |
2 |
| pfr_pool_get |
|
41 |
146 |
933 |
4 |
| pfr_kentry_byidx |
|
4 |
17 |
99 |
3 |
| pfr_states_increase |
|
4 |
14 |
97 |
3 |
| pfr_states_decrease |
|
5 |
18 |
115 |
3 |
| pfr_kentry_byaddr |
|
4 |
22 |
112 |
4 |
| pfr_dynaddr_update |
|
5 |
23 |
133 |
2 |
| pfr_ktable_winfo_update |
|
5 |
13 |
91 |
2 |
| Source file: ./sys/net/if_etherip.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| etheripattach |
|
1 |
5 |
20 |
1 |
| etherip_clone_create |
|
2 |
25 |
193 |
2 |
| etherip_clone_destroy |
|
1 |
10 |
61 |
1 |
| etherip_media_change |
|
1 |
4 |
12 |
1 |
| etherip_media_status |
|
1 |
5 |
30 |
2 |
| etherip_start |
|
11 |
30 |
153 |
1 |
| etherip_ioctl |
|
27 |
79 |
518 |
3 |
| etherip_set_tunnel_addr |
|
9 |
26 |
185 |
3 |
| ip_etherip_output |
|
9 |
49 |
380 |
2 |
| ip_etherip_input |
|
15 |
65 |
440 |
4 |
| ip6_etherip_output |
|
11 |
55 |
396 |
2 |
| ip6_etherip_input |
|
15 |
64 |
453 |
4 |
| etherip_sysctl_etheripstat |
|
1 |
11 |
82 |
3 |
| etherip_sysctl |
|
4 |
19 |
101 |
6 |
| Source file: ./sys/net/if_tun.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tunattach |
|
2 |
8 |
35 |
1 |
| tun_clone_create |
|
1 |
4 |
24 |
2 |
| tap_clone_create |
|
1 |
4 |
24 |
2 |
| tun_create |
|
6 |
44 |
313 |
3 |
| tun_clone_destroy |
|
4 |
18 |
118 |
1 |
| tun_lookup |
|
2 |
8 |
39 |
1 |
| tap_lookup |
|
2 |
8 |
39 |
1 |
| tunopen |
|
4 |
19 |
151 |
4 |
| tapopen |
|
4 |
19 |
151 |
4 |
| tun_dev_open |
|
3 |
14 |
90 |
4 |
| tunclose |
|
2 |
7 |
58 |
4 |
| tapclose |
|
2 |
7 |
58 |
4 |
| tun_dev_close |
|
2 |
20 |
131 |
4 |
| tun_init |
|
16 |
42 |
287 |
1 |
| tun_ioctl |
|
10 |
32 |
166 |
3 |
| tun_output |
|
10 |
38 |
276 |
4 |
| tun_wakeup |
|
4 |
11 |
70 |
1 |
| tunioctl |
|
2 |
7 |
63 |
5 |
| tapioctl |
|
2 |
7 |
63 |
5 |
| tun_dev_ioctl |
|
25 |
91 |
563 |
5 |
| tunread |
|
2 |
7 |
53 |
3 |
| tapread |
|
2 |
7 |
53 |
3 |
| tun_dev_read |
|
20 |
58 |
398 |
3 |
| tunwrite |
|
2 |
7 |
53 |
3 |
| tapwrite |
|
2 |
7 |
53 |
3 |
| tun_dev_write |
|
22 |
95 |
589 |
3 |
| tunpoll |
|
2 |
7 |
53 |
3 |
| tappoll |
|
2 |
7 |
53 |
3 |
| tun_dev_poll |
|
4 |
22 |
153 |
3 |
| tunkqfilter |
|
2 |
7 |
48 |
2 |
| tapkqfilter |
|
2 |
7 |
48 |
2 |
| tun_dev_kqfilter |
|
3 |
25 |
136 |
2 |
| filt_tunrdetach |
|
2 |
10 |
66 |
1 |
| filt_tunread |
|
3 |
21 |
129 |
2 |
| filt_tunwdetach |
|
2 |
10 |
66 |
1 |
| filt_tunwrite |
|
2 |
13 |
74 |
2 |
| tun_start |
|
2 |
7 |
38 |
1 |
| tun_link_state |
|
4 |
15 |
72 |
1 |
| Source file: ./sys/net/if_types.h |
| Source file: ./sys/net/if_gif.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| gifattach |
|
1 |
5 |
19 |
1 |
| gif_clone_create |
|
3 |
26 |
215 |
2 |
| gif_clone_destroy |
|
3 |
16 |
108 |
1 |
| gif_start |
|
19 |
71 |
362 |
1 |
| gif_encap |
|
5 |
22 |
126 |
3 |
| gif_output |
|
7 |
21 |
136 |
4 |
| gif_ioctl |
|
53 |
140 |
906 |
3 |
| gif_checkloop |
|
4 |
21 |
137 |
2 |
| in_gif_output |
|
18 |
58 |
377 |
3 |
| in_gif_input |
|
11 |
38 |
269 |
4 |
| in6_gif_output |
|
16 |
53 |
349 |
3 |
| in6_gif_input |
|
12 |
41 |
303 |
4 |
| Source file: ./sys/net/rtsock.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| route_prinit |
|
1 |
4 |
14 |
1 |
| route_usrreq |
|
5 |
24 |
159 |
6 |
| route_attach |
|
7 |
39 |
231 |
2 |
| route_detach |
|
6 |
23 |
134 |
1 |
| route_ctloutput |
|
14 |
50 |
262 |
5 |
| route_senddesync |
|
4 |
22 |
134 |
1 |
| route_input |
|
30 |
86 |
524 |
3 |
| rtm_report |
|
10 |
50 |
429 |
4 |
| route_output |
|
49 |
152 |
967 |
4 |
| rtm_output |
|
61 |
206 |
1374 |
5 |
| ifa_ifwithroute |
|
11 |
38 |
241 |
4 |
| rtm_getifa |
|
16 |
35 |
293 |
2 |
| route_cleargateway |
|
4 |
8 |
62 |
3 |
| route_arp_conflict |
|
8 |
16 |
132 |
2 |
| rtm_setmetrics |
|
4 |
15 |
71 |
3 |
| rtm_getmetrics |
|
2 |
14 |
81 |
2 |
| rtm_xaddrs |
|
4 |
12 |
102 |
3 |
| rtm_msg1 |
|
16 |
58 |
337 |
2 |
| rtm_msg2 |
|
19 |
65 |
379 |
5 |
| rtm_send |
|
3 |
21 |
189 |
4 |
| rtm_miss |
|
4 |
20 |
142 |
7 |
| rtm_ifchg |
|
3 |
18 |
114 |
1 |
| rtm_addr |
|
4 |
24 |
200 |
3 |
| rtm_ifannounce |
|
3 |
15 |
101 |
2 |
| rtm_bfd |
|
3 |
20 |
158 |
1 |
| sysctl_dumpentry |
|
22 |
68 |
571 |
3 |
| sysctl_iflist |
|
13 |
52 |
427 |
2 |
| sysctl_ifnames |
|
6 |
22 |
152 |
1 |
| sysctl_rtable |
|
20 |
73 |
451 |
6 |
| sysctl_rtable_rtstat |
|
2 |
14 |
138 |
3 |
| rtm_validate_proposal |
|
26 |
75 |
440 |
1 |
| Source file: ./sys/net/radix.h |
| Source file: ./sys/net/raw_usrreq.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| raw_usrreq |
|
27 |
86 |
425 |
6 |
| Source file: ./sys/net/if_trunk.h |
| Source file: ./sys/net/bfd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bfdset |
|
6 |
26 |
230 |
1 |
| bfdclear |
|
2 |
7 |
39 |
1 |
| bfd_clear_task |
|
6 |
30 |
206 |
1 |
| bfdinit |
|
2 |
13 |
102 |
1 |
| bfddestroy |
|
2 |
12 |
63 |
1 |
| bfd_lookup |
|
2 |
9 |
43 |
1 |
| bfd2sa |
|
2 |
26 |
214 |
2 |
| bfd_start_task |
|
4 |
19 |
125 |
1 |
| bfd_send_task |
|
3 |
17 |
110 |
1 |
| bfd_listener |
|
8 |
62 |
384 |
2 |
| bfd_sender |
|
14 |
98 |
590 |
2 |
| bfd_upcall |
|
1 |
6 |
43 |
3 |
| bfd_upcall_task |
|
5 |
22 |
135 |
1 |
| bfd_error |
|
4 |
11 |
62 |
1 |
| bfd_timeout_tx |
|
1 |
5 |
25 |
1 |
| bfd_timeout_rx |
|
2 |
9 |
47 |
1 |
| bfd_senddown |
|
3 |
10 |
51 |
1 |
| bfd_reset |
|
1 |
25 |
176 |
1 |
| bfd_input |
|
32 |
109 |
791 |
2 |
| bfd_set_state |
|
10 |
41 |
208 |
2 |
| bfd_set_uptime |
|
1 |
7 |
48 |
1 |
| bfd_send_control |
|
4 |
31 |
243 |
1 |
| bfd_send |
|
3 |
9 |
73 |
2 |
| bfd_debug |
|
1 |
39 |
311 |
1 |
| Source file: ./sys/net/pfkeyv2_parsemessage.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pfkeyv2_parsemessage |
|
122 |
599 |
2714 |
3 |
| Source file: ./sys/net/if_dl.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| satosdl |
|
1 |
4 |
21 |
1 |
| sdltosa |
|
1 |
4 |
21 |
1 |
| Source file: ./sys/net/if_enc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| encattach |
|
1 |
5 |
24 |
1 |
| enc_clone_create |
|
10 |
58 |
388 |
2 |
| enc_clone_destroy |
|
2 |
13 |
72 |
1 |
| enc_start |
|
3 |
10 |
44 |
1 |
| enc_output |
|
1 |
6 |
34 |
4 |
| enc_ioctl |
|
7 |
21 |
105 |
3 |
| enc_getif |
|
8 |
20 |
110 |
2 |
| enc_getifa |
|
2 |
10 |
54 |
2 |
| enc_setif |
|
7 |
27 |
179 |
2 |
| enc_unsetif |
|
7 |
17 |
119 |
1 |
| Source file: ./sys/net/if_vlan.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| vlanattach |
|
4 |
18 |
111 |
1 |
| vlan_clone_create |
|
3 |
28 |
186 |
2 |
| vlan_ref |
|
1 |
5 |
27 |
2 |
| vlan_unref |
|
1 |
5 |
27 |
2 |
| vlan_clone_destroy |
|
2 |
12 |
77 |
1 |
| vlan_mplstunnel |
|
3 |
12 |
55 |
1 |
| vlan_start |
|
12 |
43 |
265 |
1 |
| vlan_inject |
|
2 |
16 |
130 |
3 |
| vlan_input |
|
13 |
60 |
447 |
3 |
| vlan_parent_up |
|
3 |
16 |
107 |
2 |
| vlan_up |
|
11 |
59 |
398 |
1 |
| vlan_down |
|
4 |
29 |
230 |
1 |
| vlan_ifdetach |
|
2 |
10 |
58 |
1 |
| vlan_link_hook |
|
2 |
14 |
73 |
1 |
| vlan_link_state |
|
2 |
8 |
51 |
3 |
| vlan_ioctl |
|
25 |
89 |
445 |
3 |
| vlan_iff |
|
7 |
22 |
143 |
1 |
| vlan_setlladdr |
|
5 |
24 |
187 |
2 |
| vlan_set_vnetid |
|
9 |
30 |
248 |
2 |
| vlan_set_parent |
|
7 |
23 |
163 |
2 |
| vlan_del_parent |
|
3 |
10 |
65 |
1 |
| vlan_set_compat |
|
6 |
31 |
299 |
2 |
| vlan_get_compat |
|
2 |
13 |
109 |
2 |
| vlan_inuse |
|
2 |
10 |
64 |
3 |
| vlan_inuse_locked |
|
5 |
14 |
91 |
3 |
| vlan_multi_add |
|
5 |
31 |
250 |
2 |
| vlan_multi_del |
|
9 |
36 |
261 |
2 |
| vlan_media_get |
|
2 |
10 |
68 |
2 |
| vlan_multi_apply |
|
1 |
17 |
121 |
3 |
| vlan_multi_free |
|
2 |
8 |
52 |
1 |
| Source file: ./sys/net/raw_cb.h |
| Source file: ./sys/net/art.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| art_init |
|
1 |
11 |
93 |
1 |
| art_alloc |
|
6 |
31 |
205 |
3 |
| art_check_duplicate |
|
3 |
9 |
50 |
3 |
| art_bindex |
|
6 |
28 |
351 |
3 |
| art_findex |
|
1 |
4 |
31 |
2 |
| art_match |
|
6 |
37 |
224 |
3 |
| art_lookup |
|
8 |
31 |
235 |
4 |
| art_insert |
|
10 |
40 |
307 |
4 |
| art_table_insert |
|
5 |
20 |
156 |
4 |
| art_delete |
|
7 |
28 |
214 |
4 |
| art_table_delete |
|
7 |
24 |
186 |
4 |
| art_table_ref |
|
1 |
5 |
24 |
2 |
| art_table_rele |
|
2 |
6 |
30 |
1 |
| art_table_free |
|
3 |
10 |
53 |
2 |
| art_walk |
|
3 |
20 |
152 |
3 |
| art_table_walk |
|
9 |
41 |
358 |
4 |
| art_walk_apply |
|
3 |
12 |
91 |
5 |
| art_table_get |
|
9 |
44 |
306 |
3 |
| art_table_put |
|
3 |
25 |
183 |
2 |
| art_table_gc |
|
5 |
27 |
146 |
1 |
| art_allot |
|
10 |
40 |
237 |
4 |
| art_get |
|
2 |
10 |
58 |
2 |
| art_put |
|
1 |
9 |
50 |
1 |
| art_gc |
|
2 |
14 |
69 |
1 |
| Source file: ./sys/net/if_bridge.h |
| Source file: ./sys/net/if_pppx.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pppx_if_cmp |
|
1 |
4 |
37 |
2 |
| pppx_dev_lookup |
|
2 |
10 |
49 |
1 |
| pppx_dev2pxd |
|
1 |
8 |
36 |
1 |
| pppxattach |
|
1 |
4 |
11 |
1 |
| pppxopen |
|
5 |
28 |
212 |
4 |
| pppxread |
|
9 |
30 |
206 |
3 |
| pppxwrite |
|
20 |
81 |
505 |
3 |
| pppxioctl |
|
12 |
44 |
201 |
5 |
| pppxpoll |
|
6 |
16 |
116 |
3 |
| pppxkqfilter |
|
3 |
25 |
136 |
2 |
| filt_pppx_rdetach |
|
2 |
10 |
75 |
1 |
| filt_pppx_read |
|
2 |
10 |
71 |
2 |
| filt_pppx_wdetach |
|
2 |
10 |
75 |
1 |
| filt_pppx_write |
|
1 |
4 |
17 |
2 |
| pppxclose |
|
3 |
19 |
125 |
4 |
| pppx_if_next_unit |
|
4 |
19 |
80 |
1 |
| pppx_if_find |
|
1 |
12 |
94 |
3 |
| pppx_add_session |
|
41 |
195 |
1512 |
2 |
| pppx_del_session |
|
2 |
10 |
67 |
2 |
| pppx_set_session_descr |
|
2 |
11 |
81 |
2 |
| pppx_if_destroy |
|
5 |
28 |
154 |
2 |
| pppx_if_start |
|
4 |
18 |
118 |
1 |
| pppx_if_output |
|
12 |
60 |
346 |
4 |
| pppx_if_ioctl |
|
8 |
26 |
119 |
3 |
| Source file: ./sys/net/bridgestp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bstp_transmit |
|
8 |
27 |
147 |
2 |
| bstp_transmit_bpdu |
|
3 |
24 |
193 |
2 |
| bstp_transmit_tcn |
|
4 |
28 |
239 |
2 |
| bstp_decode_bpdu |
|
12 |
62 |
528 |
3 |
| bstp_send_bpdu |
|
6 |
46 |
328 |
3 |
| bstp_pdu_flags |
|
14 |
41 |
176 |
1 |
| bstp_input |
|
16 |
45 |
297 |
4 |
| bstp_received_stp |
|
4 |
21 |
141 |
4 |
| bstp_received_rstp |
|
3 |
14 |
111 |
4 |
| bstp_received_tcn |
|
1 |
6 |
30 |
3 |
| bstp_received_bpdu |
|
24 |
66 |
353 |
3 |
| bstp_pdu_rcvtype |
|
12 |
29 |
158 |
2 |
| bstp_pdu_bettersame |
|
7 |
12 |
83 |
2 |
| bstp_info_cmp |
|
9 |
21 |
139 |
2 |
| bstp_info_superior |
|
4 |
9 |
64 |
2 |
| bstp_assign_roles |
|
17 |
79 |
489 |
1 |
| bstp_update_state |
|
4 |
18 |
89 |
2 |
| bstp_update_roles |
|
71 |
130 |
851 |
2 |
| bstp_update_tc |
|
31 |
46 |
260 |
1 |
| bstp_update_info |
|
5 |
19 |
127 |
1 |
| bstp_set_other_tcprop |
|
2 |
10 |
50 |
1 |
| bstp_set_all_reroot |
|
1 |
6 |
31 |
1 |
| bstp_set_all_sync |
|
1 |
9 |
45 |
1 |
| bstp_set_port_state |
|
6 |
25 |
119 |
2 |
| bstp_set_port_role |
|
11 |
58 |
288 |
2 |
| bstp_set_port_proto |
|
3 |
19 |
86 |
2 |
| bstp_set_port_tc |
|
10 |
59 |
341 |
2 |
| bstp_set_timer_tc |
|
4 |
17 |
82 |
1 |
| bstp_set_timer_msgage |
|
2 |
9 |
48 |
1 |
| bstp_rerooted |
|
3 |
14 |
67 |
2 |
| bstp_calc_path_cost |
|
6 |
15 |
90 |
1 |
| bstp_notify_rtage |
|
4 |
16 |
74 |
2 |
| bstp_ifstate |
|
6 |
23 |
140 |
1 |
| bstp_ifupdstatus |
|
8 |
19 |
115 |
2 |
| bstp_enable_port |
|
1 |
5 |
25 |
2 |
| bstp_disable_port |
|
1 |
6 |
32 |
2 |
| bstp_tick |
|
9 |
36 |
253 |
1 |
| bstp_timer_start |
|
1 |
6 |
30 |
2 |
| bstp_timer_stop |
|
1 |
6 |
27 |
1 |
| bstp_timer_latch |
|
1 |
5 |
21 |
1 |
| bstp_timer_expired |
|
4 |
11 |
57 |
1 |
| bstp_hello_timer_expiry |
|
5 |
11 |
73 |
2 |
| bstp_message_age_expiry |
|
2 |
8 |
46 |
2 |
| bstp_migrate_delay_expiry |
|
1 |
4 |
20 |
2 |
| bstp_edge_delay_expiry |
|
5 |
7 |
46 |
2 |
| bstp_addr_cmp |
|
3 |
8 |
69 |
2 |
| bstp_same_bridgeid |
|
2 |
10 |
57 |
2 |
| bstp_initialization |
|
7 |
46 |
366 |
1 |
| bstp_create |
|
1 |
20 |
120 |
1 |
| bstp_destroy |
|
3 |
8 |
44 |
1 |
| bstp_stop |
|
2 |
8 |
50 |
1 |
| bstp_add |
|
4 |
33 |
210 |
2 |
| bstp_delete |
|
4 |
12 |
85 |
1 |
| bstp_getstate |
|
6 |
14 |
81 |
2 |
| bstp_ifsflags |
|
9 |
30 |
167 |
2 |
| bstp_ioctl |
|
38 |
153 |
734 |
3 |
| Source file: ./sys/net/switchofp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| swofp_attach |
|
1 |
5 |
28 |
1 |
| swofp_create |
|
4 |
27 |
189 |
1 |
| swofp_destroy |
|
3 |
11 |
74 |
1 |
| swofp_init |
|
1 |
6 |
27 |
1 |
| swofp_assign_portno |
|
7 |
24 |
119 |
2 |
| swofp_ioctl |
|
12 |
48 |
296 |
3 |
| swofp_lookup_oxm_handler |
|
5 |
24 |
119 |
1 |
| swofp_lookup_msg_handler |
|
2 |
7 |
29 |
1 |
| swofp_lookup_mpmsg_handler |
|
2 |
7 |
32 |
1 |
| swofp_lookup_action_handler |
|
3 |
9 |
53 |
1 |
| swofp_pipeline_desc_create |
|
4 |
20 |
135 |
1 |
| swofp_pipeline_desc_destroy |
|
1 |
5 |
25 |
1 |
| swofp_flow_table_lookup |
|
2 |
10 |
57 |
2 |
| swofp_flow_table_add |
|
5 |
20 |
146 |
2 |
| swofp_flow_table_delete |
|
2 |
17 |
123 |
2 |
| swofp_flow_table_delete_all |
|
2 |
12 |
72 |
1 |
| swofp_group_entry_lookup |
|
2 |
10 |
55 |
2 |
| swofp_group_entry_add |
|
1 |
9 |
60 |
2 |
| swofp_group_entry_delete |
|
1 |
17 |
110 |
2 |
| swofp_group_entry_delete_all |
|
1 |
9 |
53 |
1 |
| swofp_validate_buckets |
|
18 |
67 |
426 |
5 |
| swofp_flow_entry_table_free |
|
2 |
7 |
39 |
1 |
| swofp_flow_entry_instruction_free |
|
1 |
17 |
100 |
1 |
| swofp_flow_entry_free |
|
2 |
8 |
64 |
1 |
| swofp_flow_entry_add |
|
1 |
9 |
59 |
3 |
| swofp_flow_entry_delete |
|
2 |
11 |
72 |
4 |
| swofp_flow_timeout |
|
5 |
33 |
181 |
1 |
| swofp_timer |
|
1 |
7 |
44 |
1 |
| swofp_ox_cmp_data |
|
24 |
57 |
341 |
3 |
| swofp_ox_cmp_ipv6_addr |
|
12 |
58 |
563 |
3 |
| swofp_ox_cmp_ipv4_addr |
|
13 |
38 |
260 |
3 |
| swofp_ox_cmp_vlan_vid |
|
8 |
32 |
259 |
3 |
| swofp_ox_cmp_ether_addr |
|
13 |
43 |
263 |
3 |
| swofp_validate_oxm |
|
5 |
19 |
109 |
2 |
| swofp_validate_flow_match |
|
2 |
9 |
53 |
2 |
| swofp_validate_flow_instruction |
|
15 |
55 |
291 |
5 |
| swofp_validate_action |
|
50 |
170 |
872 |
4 |
| swofp_flow_filter_out_port |
|
4 |
16 |
89 |
2 |
| swofp_flow_filter |
|
9 |
16 |
114 |
5 |
| swofp_flow_cmp_common |
|
8 |
29 |
218 |
3 |
| swofp_flow_cmp_non_strict |
|
2 |
6 |
35 |
2 |
| swofp_flow_cmp_strict |
|
3 |
17 |
111 |
3 |
| swofp_flow_search_by_table |
|
2 |
10 |
56 |
3 |
| swofp_flow_has_group |
|
4 |
15 |
89 |
2 |
| swofp_flow_delete_on_table_by_group |
|
3 |
12 |
73 |
3 |
| swofp_flow_delete_on_table |
|
5 |
18 |
118 |
9 |
| swofp_ox_match_put_start |
|
1 |
5 |
31 |
1 |
| swofp_ox_match_put_end |
|
2 |
9 |
54 |
1 |
| swofp_ox_match_put_uint32 |
|
1 |
13 |
118 |
3 |
| swofp_ox_match_put_uint64 |
|
1 |
13 |
118 |
3 |
| swofp_nx_match_put |
|
1 |
13 |
116 |
4 |
| swofp_ox_set_vlan_vid |
|
1 |
8 |
48 |
2 |
| swofp_ox_set_uint8 |
|
11 |
44 |
244 |
2 |
| swofp_ox_set_uint16 |
|
8 |
29 |
131 |
2 |
| swofp_ox_set_uint32 |
|
2 |
12 |
55 |
2 |
| swofp_ox_set_uint64 |
|
2 |
12 |
55 |
2 |
| swofp_ox_set_ipv6_addr |
|
6 |
24 |
112 |
2 |
| swofp_ox_set_ipv4_addr |
|
7 |
27 |
134 |
2 |
| swofp_ox_set_ether_addr |
|
7 |
25 |
130 |
2 |
| swofp_ox_match_ipv6_addr |
|
15 |
54 |
345 |
2 |
| swofp_ox_match_ipv4_addr |
|
17 |
51 |
254 |
2 |
| swofp_ox_match_vlan_vid |
|
6 |
22 |
156 |
2 |
| swofp_ox_match_uint8 |
|
25 |
67 |
322 |
2 |
| swofp_ox_match_uint16 |
|
17 |
49 |
223 |
2 |
| swofp_ox_match_uint32 |
|
7 |
31 |
167 |
2 |
| swofp_ox_match_uint64 |
|
7 |
30 |
156 |
2 |
| swofp_ox_match_ether_addr |
|
17 |
50 |
275 |
2 |
| swofp_flow_match_by_swfcl |
|
4 |
15 |
85 |
2 |
| swofp_flow_lookup |
|
5 |
16 |
89 |
2 |
| swofp_expand_8021q_tag |
|
2 |
8 |
54 |
1 |
| swofp_action_pop_vlan |
|
9 |
46 |
366 |
4 |
| swofp_action_push_vlan |
|
11 |
57 |
420 |
4 |
| swofp_action_output_controller |
|
14 |
94 |
699 |
5 |
| swofp_action_output |
|
20 |
76 |
428 |
4 |
| swofp_action_group_all |
|
7 |
39 |
235 |
4 |
| swofp_action_group |
|
6 |
24 |
137 |
4 |
| swofp_apply_set_field_udp |
|
3 |
16 |
134 |
4 |
| swofp_apply_set_field_tcp |
|
3 |
16 |
134 |
4 |
| swofp_apply_set_field_nd6 |
|
17 |
72 |
454 |
4 |
| swofp_apply_set_field_icmpv6 |
|
5 |
21 |
143 |
4 |
| swofp_apply_set_field_icmpv4 |
|
3 |
17 |
136 |
4 |
| swofp_apply_set_field_ipv6 |
|
11 |
56 |
421 |
4 |
| swofp_apply_set_field_ipv4 |
|
11 |
57 |
446 |
4 |
| swofp_apply_set_field_arp |
|
3 |
23 |
198 |
4 |
| swofp_apply_set_field_ether |
|
15 |
65 |
418 |
4 |
| swofp_apply_set_field_tunnel |
|
6 |
38 |
252 |
4 |
| swofp_apply_set_field |
|
1 |
5 |
31 |
2 |
| swofp_action_set_field |
|
73 |
197 |
1065 |
4 |
| swofp_execute_action |
|
4 |
16 |
114 |
4 |
| swofp_execute_action_set_field |
|
4 |
15 |
99 |
4 |
| swofp_execute_action_set |
|
5 |
23 |
146 |
3 |
| swofp_apply_actions |
|
2 |
12 |
74 |
4 |
| swofp_lookup_action_set |
|
3 |
9 |
62 |
2 |
| swofp_write_actions_set_field |
|
1 |
11 |
70 |
2 |
| swofp_write_actions |
|
3 |
16 |
87 |
2 |
| swofp_clear_actions_set_field |
|
1 |
11 |
70 |
2 |
| swofp_clear_actions |
|
3 |
16 |
87 |
2 |
| swofp_write_metadata |
|
1 |
8 |
41 |
2 |
| swofp_forward_ofs |
|
13 |
59 |
319 |
3 |
| swofp_input |
|
7 |
29 |
203 |
2 |
| swofp_output |
|
5 |
14 |
89 |
2 |
| swofp_recv_hello |
|
2 |
11 |
60 |
2 |
| swofp_send_hello |
|
2 |
16 |
119 |
1 |
| swofp_send_error |
|
2 |
21 |
177 |
4 |
| swofp_recv_echo |
|
1 |
4 |
22 |
2 |
| swofp_send_echo |
|
1 |
7 |
46 |
2 |
| swofp_recv_features_req |
|
1 |
20 |
169 |
2 |
| swofp_recv_config_req |
|
2 |
16 |
138 |
2 |
| swofp_recv_set_config |
|
2 |
16 |
106 |
2 |
| swofp_send_flow_removed |
|
4 |
41 |
353 |
3 |
| swofp_flow_entry_put_instructions |
|
18 |
79 |
521 |
5 |
| swofp_flow_mod_cmd_add |
|
17 |
86 |
550 |
2 |
| swofp_flow_mod_cmd_common_modify |
|
13 |
63 |
367 |
3 |
| swofp_flow_mod_cmd_modify |
|
1 |
4 |
24 |
2 |
| swofp_flow_mod_cmd_modify_strict |
|
1 |
4 |
24 |
2 |
| swofp_flow_mod_cmd_common_delete |
|
6 |
39 |
249 |
3 |
| swofp_flow_mod_cmd_delete |
|
1 |
4 |
24 |
2 |
| swofp_flow_mod_cmd_delete_strict |
|
1 |
4 |
24 |
2 |
| swofp_flow_mod_lookup_handler |
|
2 |
7 |
33 |
1 |
| swofp_flow_mod |
|
4 |
22 |
140 |
2 |
| swofp_group_mod_add |
|
9 |
52 |
346 |
2 |
| swofp_group_mod_modify |
|
7 |
43 |
290 |
2 |
| swofp_group_mod_delete |
|
3 |
19 |
110 |
2 |
| swofp_group_mod |
|
5 |
25 |
137 |
2 |
| swofp_recv_packet_out |
|
11 |
61 |
445 |
2 |
| swofp_mpmsg_reply_create |
|
4 |
33 |
249 |
2 |
| swofp_mpmsg_put |
|
6 |
25 |
178 |
3 |
| swofp_mpmsg_m_put |
|
5 |
26 |
182 |
2 |
| swofp_mpmsg_destroy |
|
1 |
5 |
24 |
1 |
| swofp_multipart_req |
|
4 |
22 |
132 |
2 |
| swofp_multipart_reply |
|
5 |
33 |
234 |
2 |
| swofp_put_flow |
|
15 |
77 |
642 |
3 |
| swofp_mp_recv_desc |
|
3 |
23 |
179 |
2 |
| swofp_put_flows_from_table |
|
6 |
26 |
176 |
3 |
| swofp_mp_recv_flow |
|
5 |
26 |
172 |
2 |
| swofp_aggregate_stat_from_table |
|
3 |
21 |
147 |
3 |
| swofp_mp_recv_aggregate_flow_stat |
|
5 |
30 |
206 |
2 |
| swofp_mp_recv_table_stats |
|
3 |
27 |
191 |
2 |
| swofp_mp_recv_port_stats |
|
5 |
48 |
371 |
2 |
| swofp_table_features_put_oxm |
|
29 |
72 |
463 |
3 |
| swofp_table_features_put_actions |
|
9 |
38 |
311 |
3 |
| swofp_table_features_put_instruction |
|
3 |
37 |
211 |
3 |
| swofp_mp_recv_table_features |
|
17 |
78 |
513 |
2 |
| swofp_mp_recv_port_desc |
|
8 |
49 |
361 |
2 |
| swofp_mp_recv_group_desc |
|
4 |
30 |
210 |
2 |
| swofp_barrier_req |
|
1 |
5 |
24 |
2 |
| swofp_barrier_reply |
|
1 |
7 |
46 |
2 |
| Source file: ./sys/net/pf_ruleset.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pf_anchor_compare |
|
3 |
5 |
46 |
2 |
| pf_init_ruleset |
|
1 |
8 |
84 |
1 |
| pf_find_anchor |
|
2 |
11 |
83 |
1 |
| pf_find_ruleset |
|
4 |
13 |
63 |
1 |
| pf_get_leaf_ruleset |
|
7 |
31 |
148 |
2 |
| pf_create_anchor |
|
10 |
41 |
337 |
2 |
| pf_find_or_create_ruleset |
|
11 |
36 |
215 |
1 |
| pf_remove_if_empty_ruleset |
|
13 |
23 |
174 |
1 |
| pf_anchor_setup |
|
16 |
54 |
361 |
3 |
| pf_anchor_copyout |
|
12 |
44 |
347 |
3 |
| pf_anchor_remove |
|
4 |
14 |
72 |
1 |
| Source file: ./sys/net/bsd-comp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bsd_clear |
|
1 |
12 |
60 |
1 |
| bsd_check |
|
8 |
24 |
140 |
1 |
| bsd_comp_stats |
|
3 |
21 |
127 |
2 |
| bsd_reset |
|
1 |
8 |
39 |
1 |
| bsd_alloc |
|
16 |
58 |
307 |
3 |
| bsd_free |
|
2 |
8 |
66 |
1 |
| bsd_comp_alloc |
|
1 |
6 |
25 |
2 |
| bsd_decomp_alloc |
|
1 |
6 |
25 |
2 |
| bsd_init |
|
12 |
30 |
201 |
8 |
| bsd_comp_init |
|
1 |
8 |
58 |
6 |
| bsd_decomp_init |
|
1 |
8 |
62 |
7 |
| bsd_compress |
|
27 |
128 |
811 |
5 |
| bsd_incomp |
|
18 |
86 |
535 |
2 |
| bsd_decompress |
|
51 |
215 |
1383 |
3 |
| Source file: ./sys/net/if_pflog.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pflogattach |
|
5 |
10 |
65 |
1 |
| pflogifs_resize |
|
7 |
24 |
140 |
1 |
| pflog_clone_create |
|
5 |
31 |
211 |
2 |
| pflog_clone_destroy |
|
4 |
15 |
91 |
1 |
| pflogstart |
|
1 |
4 |
17 |
1 |
| pflogoutput |
|
1 |
6 |
34 |
4 |
| pflogioctl |
|
3 |
14 |
59 |
3 |
| pflog_packet |
|
16 |
51 |
452 |
6 |
| pflog_bpfcopy |
|
28 |
115 |
903 |
3 |
| Source file: ./sys/net/if_arp.h |
| Source file: ./sys/net/if_pflog.h |
| Source file: ./sys/net/rtable.h |
| Source file: ./sys/net/ppp_defs.h |
| Source file: ./sys/net/if_pppvar.h |
| Source file: ./sys/net/fq_codel.h |
| Source file: ./sys/net/if_gre.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| greattach |
|
1 |
6 |
25 |
1 |
| gre_clone_create |
|
4 |
40 |
325 |
2 |
| gre_clone_destroy |
|
1 |
12 |
72 |
1 |
| gre_output |
|
36 |
180 |
1263 |
4 |
| gre_ioctl |
|
38 |
120 |
750 |
3 |
| gre_in_cksum |
|
3 |
19 |
117 |
2 |
| gre_keepalive |
|
2 |
8 |
35 |
1 |
| gre_send_keepalive |
|
7 |
43 |
353 |
1 |
| gre_recv_keepalive |
|
7 |
25 |
135 |
1 |
| gre_link_state |
|
4 |
13 |
70 |
1 |
| Source file: ./sys/net/if_bridge.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bridgeattach |
|
1 |
4 |
13 |
1 |
| bridge_clone_create |
|
5 |
39 |
283 |
2 |
| bridge_dummy_output |
|
1 |
6 |
34 |
4 |
| bridge_clone_destroy |
|
3 |
18 |
132 |
1 |
| bridge_delete |
|
2 |
15 |
119 |
2 |
| bridge_ioctl |
|
81 |
261 |
1537 |
3 |
| bridge_ifdetach |
|
1 |
9 |
54 |
1 |
| bridge_spandetach |
|
1 |
8 |
67 |
1 |
| bridge_bifconf |
|
13 |
78 |
615 |
2 |
| bridge_init |
|
3 |
10 |
66 |
1 |
| bridge_stop |
|
2 |
9 |
54 |
1 |
| bridge_output |
|
26 |
82 |
554 |
4 |
| bridgeintr |
|
4 |
18 |
93 |
1 |
| bridgeintr_frame |
|
37 |
108 |
749 |
3 |
| bridge_input |
|
2 |
10 |
61 |
3 |
| bridge_process |
|
29 |
84 |
590 |
2 |
| bridge_broadcast |
|
21 |
54 |
353 |
4 |
| bridge_localbroadcast |
|
7 |
23 |
136 |
4 |
| bridge_span |
|
4 |
20 |
112 |
2 |
| bridge_blocknonip |
|
20 |
36 |
220 |
2 |
| bridge_ipsec |
|
38 |
115 |
815 |
9 |
| bridge_ip |
|
54 |
148 |
1016 |
5 |
| bridge_fragment |
|
29 |
88 |
541 |
4 |
| bridge_ifenqueue |
|
2 |
14 |
85 |
3 |
| bridge_ifinput |
|
1 |
7 |
44 |
2 |
| bridge_send_icmp_err |
|
6 |
58 |
434 |
9 |
| bridge_tunnel |
|
2 |
7 |
50 |
1 |
| bridge_tunneltag |
|
3 |
13 |
93 |
1 |
| bridge_tunneluntag |
|
2 |
6 |
38 |
1 |
| bridge_copyaddr |
|
3 |
9 |
52 |
2 |
| bridge_copytag |
|
2 |
10 |
80 |
2 |
| Source file: ./sys/net/bfd.h |
| Source file: ./sys/net/radix.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rn_search |
|
3 |
12 |
66 |
2 |
| rn_search_m |
|
4 |
14 |
88 |
3 |
| rn_refines |
|
11 |
26 |
171 |
2 |
| rn_lookup |
|
9 |
19 |
121 |
3 |
| rn_satisfies_leaf |
|
4 |
23 |
137 |
3 |
| rn_match |
|
20 |
72 |
488 |
2 |
| rn_newpair |
|
1 |
13 |
98 |
3 |
| rn_insert |
|
8 |
54 |
348 |
4 |
| rn_addmask |
|
21 |
61 |
500 |
3 |
| rn_lexobetter |
|
3 |
9 |
68 |
2 |
| rn_new_radix_mask |
|
3 |
18 |
105 |
2 |
| rn_lift_node |
|
5 |
14 |
84 |
1 |
| rn_add_radix_mask |
|
18 |
56 |
301 |
2 |
| rn_add_dupedkey |
|
12 |
26 |
173 |
4 |
| rn_link_dupedkey |
|
5 |
26 |
158 |
3 |
| rn_fixup_nodes |
|
15 |
34 |
241 |
1 |
| rn_addroute |
|
7 |
33 |
210 |
5 |
| rn_del_radix_mask |
|
18 |
55 |
324 |
1 |
| rn_swap_nodes |
|
2 |
10 |
63 |
2 |
| rn_delete |
|
25 |
89 |
595 |
4 |
| rn_walktree |
|
9 |
26 |
196 |
3 |
| rn_initmask |
|
3 |
11 |
62 |
1 |
| rn_inithead |
|
4 |
14 |
82 |
2 |
| rn_inithead0 |
|
1 |
17 |
126 |
2 |
| rn_init |
|
5 |
21 |
135 |
1 |
| Source file: ./sys/net/ppp_tty.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pppopen |
|
8 |
48 |
350 |
3 |
| pppclose |
|
3 |
18 |
104 |
3 |
| pppasyncrelinq |
|
3 |
16 |
87 |
1 |
| pppread |
|
15 |
40 |
285 |
3 |
| pppwrite |
|
13 |
42 |
348 |
3 |
| ppptioctl |
|
14 |
44 |
309 |
5 |
| pppfcs |
|
2 |
6 |
35 |
3 |
| pppasyncstart |
|
27 |
113 |
697 |
1 |
| pppasyncctlp |
|
1 |
10 |
54 |
1 |
| pppstart_internal |
|
8 |
12 |
110 |
2 |
| pppstart |
|
1 |
4 |
17 |
1 |
| ppp_timeout |
|
1 |
10 |
61 |
1 |
| ppppkt |
|
4 |
22 |
131 |
1 |
| ppp_pkt_free |
|
2 |
9 |
41 |
1 |
| pppinput |
|
56 |
190 |
1267 |
2 |
| ppplogchar |
|
5 |
11 |
85 |
2 |
| pppdumpb |
|
3 |
17 |
109 |
2 |
| Source file: ./sys/net/bpf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bpf_movein |
|
17 |
85 |
459 |
5 |
| bpf_attachd |
|
1 |
8 |
54 |
2 |
| bpf_detachd |
|
7 |
25 |
156 |
1 |
| bpfilterattach |
|
1 |
4 |
13 |
1 |
| bpfopen |
|
4 |
20 |
162 |
4 |
| bpfclose |
|
1 |
12 |
76 |
4 |
| bpfread |
|
17 |
72 |
409 |
3 |
| bpf_wakeup |
|
2 |
7 |
40 |
1 |
| bpf_wakeup_cb |
|
3 |
10 |
66 |
1 |
| bpfwrite |
|
9 |
48 |
296 |
3 |
| bpf_resetd |
|
2 |
13 |
74 |
1 |
| bpfioctl |
|
66 |
202 |
1058 |
5 |
| bpf_setf |
|
8 |
39 |
281 |
3 |
| bpf_setif |
|
10 |
28 |
180 |
2 |
| bpf_ifname |
|
1 |
4 |
27 |
2 |
| bpfpoll |
|
8 |
22 |
155 |
3 |
| bpfkqfilter |
|
4 |
23 |
134 |
2 |
| filt_bpfrdetach |
|
1 |
7 |
43 |
1 |
| filt_bpfread |
|
2 |
11 |
72 |
2 |
| bpf_mcopy |
|
3 |
17 |
98 |
3 |
| _bpf_mtap |
|
10 |
48 |
314 |
4 |
| bpf_mtap |
|
1 |
4 |
28 |
3 |
| bpf_mtap_hdr |
|
2 |
15 |
112 |
6 |
| bpf_mtap_af |
|
1 |
7 |
52 |
4 |
| bpf_mtap_ether |
|
5 |
25 |
197 |
3 |
| bpf_catchpacket |
|
10 |
43 |
306 |
6 |
| bpf_allocbufs |
|
3 |
15 |
105 |
1 |
| bpf_get |
|
1 |
4 |
17 |
1 |
| bpf_put |
|
2 |
12 |
99 |
1 |
| bpfattach |
|
2 |
14 |
111 |
4 |
| bpfdetach |
|
6 |
21 |
150 |
1 |
| bpf_sysctl_locked |
|
8 |
29 |
155 |
6 |
| bpf_sysctl |
|
4 |
15 |
106 |
6 |
| bpfilter_lookup |
|
2 |
9 |
43 |
1 |
| bpf_getdltlist |
|
6 |
24 |
137 |
2 |
| bpf_setdlt |
|
6 |
19 |
120 |
2 |
| bpf_d_ref |
|
1 |
4 |
17 |
2 |
| bpf_d_unref |
|
1 |
4 |
17 |
2 |
| bpf_insn_dtor |
|
1 |
7 |
58 |
2 |
| bpf_mbuf_copy |
|
6 |
24 |
139 |
4 |
| bpf_mbuf_ldw |
|
2 |
10 |
61 |
3 |
| bpf_mbuf_ldh |
|
2 |
10 |
61 |
3 |
| bpf_mbuf_ldb |
|
3 |
16 |
84 |
3 |
| bpf_mfilter |
|
1 |
4 |
32 |
3 |
| Source file: ./sys/net/pf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pf_addr_compare |
|
14 |
30 |
253 |
3 |
| pf_src_compare |
|
6 |
15 |
133 |
2 |
| pf_set_protostate |
|
10 |
15 |
110 |
3 |
| pf_addrcpy |
|
4 |
16 |
110 |
3 |
| pf_init_threshold |
|
1 |
8 |
41 |
3 |
| pf_add_threshold |
|
2 |
11 |
63 |
1 |
| pf_check_threshold |
|
1 |
4 |
20 |
1 |
| pf_src_connlimit |
|
22 |
76 |
565 |
1 |
| pf_insert_src_node |
|
11 |
54 |
391 |
6 |
| pf_remove_src_node |
|
5 |
13 |
98 |
1 |
| pf_get_src_node |
|
2 |
8 |
51 |
2 |
| pf_state_rm_src_node |
|
5 |
18 |
115 |
2 |
| pf_state_compare_key |
|
8 |
19 |
211 |
2 |
| pf_state_compare_id |
|
5 |
12 |
81 |
2 |
| pf_state_key_attach |
|
22 |
62 |
468 |
3 |
| pf_detach_state |
|
4 |
9 |
70 |
1 |
| pf_state_key_detach |
|
6 |
24 |
169 |
2 |
| pf_alloc_state_key |
|
2 |
8 |
46 |
1 |
| pf_state_key_addr_setup |
|
12 |
43 |
331 |
8 |
| pf_state_key_setup |
|
19 |
65 |
502 |
4 |
| pf_state_insert |
|
10 |
43 |
308 |
4 |
| pf_find_state_byid |
|
1 |
5 |
35 |
1 |
| pf_compare_state_keys |
|
10 |
30 |
300 |
4 |
| pf_find_state |
|
25 |
56 |
451 |
4 |
| pf_find_state_all |
|
8 |
21 |
150 |
3 |
| pf_state_export |
|
6 |
57 |
744 |
2 |
| pf_purge_expired_rules |
|
3 |
12 |
67 |
1 |
| pf_purge_timeout |
|
1 |
4 |
19 |
1 |
| pf_purge |
|
3 |
21 |
117 |
1 |
| pf_state_expires |
|
8 |
29 |
206 |
1 |
| pf_purge_expired_src_nodes |
|
4 |
12 |
83 |
1 |
| pf_src_tree_remove_state |
|
5 |
18 |
118 |
1 |
| pf_remove_state |
|
6 |
24 |
203 |
1 |
| pf_remove_divert_state |
|
5 |
12 |
89 |
1 |
| pf_free_state |
|
11 |
29 |
224 |
1 |
| pf_purge_expired_states |
|
6 |
21 |
105 |
1 |
| pf_tbladdr_setup |
|
3 |
8 |
62 |
2 |
| pf_tbladdr_remove |
|
3 |
7 |
44 |
1 |
| pf_tbladdr_copyout |
|
6 |
11 |
86 |
1 |
| pf_print_host |
|
17 |
57 |
328 |
3 |
| pf_print_state |
|
1 |
4 |
18 |
1 |
| pf_print_state_parts |
|
26 |
77 |
517 |
3 |
| pf_print_flags |
|
10 |
21 |
104 |
1 |
| pf_calc_skip_steps |
|
21 |
40 |
369 |
1 |
| pf_addr_wrap_neq |
|
12 |
27 |
196 |
2 |
| pf_cksum_fixup |
|
5 |
13 |
85 |
4 |
| pf_cksum_uncover |
|
1 |
4 |
25 |
3 |
| pf_cksum_cover |
|
1 |
4 |
25 |
3 |
| pf_cksum_fixup_a |
|
8 |
28 |
284 |
5 |
| pf_patch_8 |
|
4 |
12 |
98 |
4 |
| pf_patch_16 |
|
2 |
10 |
60 |
3 |
| pf_patch_16_unaligned |
|
3 |
12 |
108 |
4 |
| pf_patch_32 |
|
2 |
13 |
113 |
3 |
| pf_patch_32_unaligned |
|
3 |
14 |
141 |
4 |
| pf_icmp_mapping |
|
37 |
130 |
622 |
5 |
| pf_translate_icmp |
|
3 |
10 |
89 |
6 |
| pf_translate_a |
|
5 |
18 |
105 |
3 |
| pf_translate_af |
|
19 |
93 |
671 |
1 |
| pf_change_icmp_af |
|
17 |
74 |
583 |
8 |
| pf_translate_icmp_af |
|
59 |
185 |
895 |
3 |
| pf_modulate_sack |
|
13 |
52 |
357 |
2 |
| pf_build_tcp |
|
20 |
94 |
691 |
16 |
| pf_send_tcp |
|
5 |
19 |
134 |
15 |
| pf_send_challenge_ack |
|
1 |
8 |
91 |
4 |
| pf_send_icmp |
|
9 |
21 |
157 |
6 |
| pf_match_addr |
|
9 |
23 |
234 |
5 |
| pf_match_addr_range |
|
12 |
26 |
229 |
4 |
| pf_match |
|
13 |
24 |
141 |
4 |
| pf_match_port |
|
1 |
4 |
39 |
4 |
| pf_match_uid |
|
4 |
6 |
49 |
4 |
| pf_match_gid |
|
4 |
6 |
49 |
4 |
| pf_match_tag |
|
5 |
7 |
67 |
3 |
| pf_match_rcvif |
|
6 |
20 |
130 |
2 |
| pf_tag_packet |
|
3 |
7 |
48 |
3 |
| pf_step_into_anchor |
|
5 |
23 |
133 |
2 |
| pf_poolmask |
|
4 |
22 |
265 |
5 |
| pf_addr_inc |
|
7 |
29 |
214 |
2 |
| pf_socket_lookup |
|
11 |
67 |
395 |
1 |
| pf_get_wscale |
|
9 |
37 |
201 |
1 |
| pf_get_mss |
|
8 |
35 |
201 |
1 |
| pf_calc_mss |
|
6 |
38 |
270 |
4 |
| pf_set_rt_ifp |
|
6 |
27 |
174 |
3 |
| pf_tcp_iss |
|
5 |
32 |
254 |
1 |
| pf_rule_to_actions |
|
9 |
22 |
170 |
2 |
| pf_match_rule |
|
47 |
158 |
1417 |
2 |
| pf_test_rule |
|
70 |
184 |
1551 |
6 |
| pf_create_state |
|
38 |
165 |
1308 |
12 |
| pf_translate |
|
20 |
51 |
344 |
7 |
| pf_tcp_track_full |
|
97 |
228 |
1904 |
5 |
| pf_tcp_track_sloppy |
|
28 |
68 |
489 |
3 |
| pf_synproxy |
|
18 |
90 |
1029 |
3 |
| pf_test_state |
|
37 |
120 |
1014 |
3 |
| pf_icmp_state_lookup |
|
12 |
42 |
348 |
9 |
| pf_test_state_icmp |
|
153 |
635 |
5297 |
3 |
| pf_pull_hdr |
|
8 |
34 |
220 |
7 |
| pf_routable |
|
21 |
61 |
355 |
4 |
| pf_rtlabel_match |
|
7 |
31 |
190 |
4 |
| pf_route |
|
27 |
120 |
793 |
3 |
| pf_route6 |
|
22 |
91 |
672 |
3 |
| pf_check_tcp_cksum |
|
11 |
35 |
202 |
4 |
| pf_find_divert |
|
2 |
7 |
50 |
1 |
| pf_get_divert |
|
3 |
13 |
93 |
1 |
| pf_walk_header |
|
10 |
39 |
285 |
3 |
| pf_walk_option6 |
|
11 |
58 |
368 |
5 |
| pf_walk_header6 |
|
38 |
122 |
815 |
3 |
| pf_setup_pdesc |
|
44 |
154 |
1233 |
6 |
| pf_counters_inc |
|
13 |
55 |
568 |
5 |
| pf_test |
|
138 |
307 |
2250 |
4 |
| pf_ouraddr |
|
4 |
12 |
68 |
1 |
| pf_pkt_addr_changed |
|
1 |
5 |
24 |
1 |
| pf_inp_lookup |
|
4 |
12 |
83 |
1 |
| pf_inp_link |
|
5 |
13 |
80 |
2 |
| pf_inp_unlink |
|
2 |
7 |
30 |
1 |
| pf_state_key_link |
|
2 |
6 |
51 |
2 |
| pf_log_matches |
|
3 |
10 |
79 |
5 |
| pf_state_key_ref |
|
2 |
6 |
27 |
1 |
| pf_state_key_unref |
|
3 |
9 |
61 |
1 |
| pf_state_key_isvalid |
|
2 |
4 |
26 |
1 |
| pf_pkt_unlink_state_key |
|
1 |
5 |
30 |
1 |
| pf_pkt_state_key_ref |
|
1 |
4 |
20 |
1 |
| pf_inpcb_unlink_state_key |
|
2 |
7 |
30 |
1 |
| pf_state_key_unlink_reverse |
|
3 |
9 |
57 |
1 |
| Source file: ./sys/net/fq_codel.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| codel_initparams |
|
3 |
21 |
177 |
4 |
| codel_freeparams |
|
2 |
7 |
45 |
1 |
| codel_gettime |
|
1 |
6 |
31 |
1 |
| codel_backlog |
|
1 |
4 |
16 |
1 |
| codel_qlength |
|
1 |
4 |
20 |
1 |
| codel_delay |
|
1 |
4 |
16 |
1 |
| codel_enqueue |
|
1 |
6 |
45 |
3 |
| control_law |
|
1 |
6 |
50 |
3 |
| codel_next_packet |
|
6 |
23 |
145 |
4 |
| codel_state_change |
|
8 |
16 |
98 |
5 |
| codel_dequeue |
|
12 |
52 |
309 |
6 |
| codel_commit |
|
2 |
11 |
75 |
2 |
| codel_purge |
|
1 |
5 |
30 |
2 |
| classify_flow |
|
2 |
10 |
74 |
2 |
| fqcodel_enq |
|
6 |
37 |
254 |
2 |
| select_queue |
|
3 |
9 |
58 |
1 |
| first_flow |
|
4 |
18 |
115 |
2 |
| next_flow |
|
3 |
14 |
109 |
3 |
| fqcodel_deq_begin |
|
4 |
28 |
217 |
3 |
| fqcodel_deq_commit |
|
1 |
9 |
71 |
3 |
| fqcodel_purge |
|
2 |
7 |
54 |
2 |
| fqcodel_if_enq |
|
1 |
4 |
24 |
2 |
| fqcodel_if_deq_begin |
|
1 |
8 |
53 |
2 |
| fqcodel_if_deq_commit |
|
1 |
4 |
30 |
3 |
| fqcodel_if_purge |
|
1 |
4 |
24 |
2 |
| fqcodel_pf_alloc |
|
1 |
8 |
52 |
1 |
| fqcodel_pf_addqueue |
|
7 |
32 |
250 |
2 |
| fqcodel_pf_free |
|
1 |
7 |
55 |
1 |
| fqcodel_pf_qstats |
|
7 |
36 |
287 |
3 |
| fqcodel_pf_qlength |
|
1 |
4 |
20 |
1 |
| fqcodel_pf_enqueue |
|
1 |
4 |
21 |
2 |
| fqcodel_pf_deq_begin |
|
1 |
4 |
27 |
3 |
| fqcodel_pf_deq_commit |
|
1 |
4 |
27 |
3 |
| fqcodel_pf_purge |
|
1 |
4 |
21 |
2 |
| fqcodel_idx |
|
1 |
4 |
19 |
2 |
| fqcodel_alloc |
|
1 |
4 |
17 |
2 |
| fqcodel_free |
|
1 |
3 |
12 |
2 |
| Source file: ./sys/net/slcompress.h |
| Source file: ./sys/net/art.h |
| Source file: ./sys/net/if_etherip.h |
| Source file: ./sys/net/if_tun.h |
| Source file: ./sys/net/pipex_local.h |
| Source file: ./sys/net/if_mpw.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mpwattach |
|
1 |
4 |
13 |
1 |
| mpw_clone_create |
|
3 |
29 |
219 |
2 |
| mpw_clone_destroy |
|
2 |
13 |
84 |
1 |
| mpw_input |
|
1 |
5 |
28 |
3 |
| mpw_ioctl |
|
20 |
93 |
660 |
3 |
| mpw_output |
|
9 |
47 |
318 |
4 |
| mpw_vlan_handle |
|
4 |
16 |
103 |
2 |
| mpw_start |
|
15 |
58 |
397 |
1 |
| Source file: ./sys/net/pfkeyv2.h |
| Source file: ./sys/net/pfvar_priv.h |
| Source file: ./sys/net/bpfdesc.h |
| Source file: ./sys/net/if_ethersubr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ether_ioctl |
|
9 |
27 |
138 |
4 |
| ether_rtrequest |
|
4 |
13 |
60 |
3 |
| ether_output |
|
32 |
93 |
656 |
4 |
| ether_input |
|
38 |
113 |
655 |
3 |
| ether_sprintf |
|
2 |
13 |
84 |
1 |
| ether_fakeaddr |
|
1 |
11 |
126 |
1 |
| ether_ifattach |
|
4 |
19 |
146 |
1 |
| ether_ifdetach |
|
2 |
14 |
97 |
1 |
| ether_crc32_le_update |
|
5 |
16 |
109 |
3 |
| ether_crc32_be_update |
|
5 |
16 |
111 |
3 |
| ether_crc32_le_update |
|
2 |
16 |
118 |
3 |
| ether_crc32_be_update |
|
2 |
21 |
183 |
3 |
| ether_crc32_le |
|
1 |
4 |
22 |
2 |
| ether_crc32_be |
|
1 |
4 |
22 |
2 |
| ether_multiaddr |
|
8 |
35 |
204 |
3 |
| ether_addmulti |
|
7 |
36 |
248 |
2 |
| ether_delmulti |
|
5 |
28 |
173 |
2 |
| Source file: ./sys/net/rtable.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rtmap_init |
|
3 |
12 |
66 |
1 |
| rtmap_grow |
|
3 |
18 |
157 |
2 |
| rtmap_dtor |
|
1 |
6 |
56 |
2 |
| rtable_init |
|
5 |
22 |
151 |
1 |
| rtable_add |
|
8 |
36 |
224 |
1 |
| rtable_get |
|
4 |
13 |
92 |
2 |
| rtable_exists |
|
4 |
14 |
79 |
1 |
| rtable_l2 |
|
2 |
11 |
69 |
1 |
| rtable_loindex |
|
2 |
11 |
70 |
1 |
| rtable_l2set |
|
3 |
11 |
80 |
3 |
| rtable_init_backend |
|
1 |
4 |
12 |
1 |
| rtable_alloc |
|
1 |
4 |
28 |
3 |
| rtable_lookup |
|
12 |
42 |
276 |
5 |
| rtable_match |
|
9 |
45 |
299 |
3 |
| rtable_insert |
|
15 |
78 |
504 |
6 |
| rtable_delete |
|
6 |
45 |
301 |
4 |
| rtable_walk_helper |
|
2 |
13 |
87 |
2 |
| rtable_walk |
|
3 |
16 |
107 |
4 |
| rtable_iterate |
|
2 |
11 |
59 |
1 |
| rtable_mpath_capable |
|
1 |
4 |
16 |
2 |
| rtable_mpath_reprio |
|
5 |
34 |
230 |
5 |
| rtable_mpath_insert |
|
6 |
20 |
157 |
2 |
| an_match |
|
3 |
12 |
89 |
3 |
| rtentry_ref |
|
1 |
5 |
24 |
2 |
| rtentry_unref |
|
1 |
5 |
24 |
2 |
| satoaddr |
|
1 |
4 |
29 |
2 |
| rtable_satoplen |
|
22 |
72 |
339 |
2 |
| Source file: ./sys/net/if_pfsync.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pfsyncstat_inc |
|
1 |
4 |
15 |
1 |
| Source file: ./sys/net/if.h |
| Source file: ./sys/net/bridgectl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bridgectl_ioctl |
|
32 |
106 |
587 |
3 |
| bridge_rtupdate |
|
19 |
88 |
580 |
6 |
| bridge_rtlookup |
|
3 |
16 |
96 |
2 |
| bridge_hash |
|
1 |
5 |
32 |
2 |
| bridge_rtage |
|
7 |
29 |
193 |
1 |
| bridge_rtagenode |
|
7 |
21 |
131 |
2 |
| bridge_rtflush |
|
5 |
19 |
121 |
2 |
| bridge_rtdaddr |
|
2 |
15 |
103 |
2 |
| bridge_rtdelete |
|
6 |
24 |
148 |
3 |
| bridge_rtfind |
|
6 |
36 |
270 |
2 |
| bridge_update |
|
12 |
21 |
171 |
3 |
| bridge_brlconf |
|
13 |
68 |
516 |
2 |
| bridge_filterrule |
|
10 |
31 |
193 |
3 |
| bridge_addrule |
|
5 |
25 |
193 |
3 |
| bridge_flushrule |
|
5 |
16 |
116 |
1 |
| Source file: ./sys/net/netisr.h |
| Source file: ./sys/net/pf_osfp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pf_osfp_fingerprint |
|
5 |
21 |
151 |
1 |
| pf_osfp_fingerprint_hdr |
|
31 |
119 |
886 |
3 |
| pf_osfp_match |
|
9 |
27 |
178 |
2 |
| pf_osfp_initialize |
|
1 |
8 |
56 |
1 |
| pf_osfp_flush |
|
3 |
13 |
80 |
1 |
| pf_osfp_add |
|
20 |
75 |
604 |
1 |
| pf_osfp_find |
|
23 |
49 |
323 |
3 |
| pf_osfp_find_exact |
|
9 |
16 |
105 |
2 |
| pf_osfp_insert |
|
2 |
10 |
59 |
2 |
| pf_osfp_get |
|
2 |
25 |
158 |
1 |
| pf_osfp_validate |
|
7 |
35 |
247 |
1 |
| Source file: ./sys/net/ppp-deflate.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| zcalloc |
|
1 |
8 |
39 |
3 |
| zcfree |
|
1 |
6 |
25 |
2 |
| z_comp_alloc |
|
11 |
30 |
208 |
2 |
| z_comp_free |
|
1 |
7 |
39 |
1 |
| z_comp_init |
|
8 |
20 |
141 |
6 |
| z_comp_reset |
|
1 |
7 |
36 |
1 |
| z_compress |
|
28 |
105 |
750 |
5 |
| z_comp_stats |
|
3 |
16 |
90 |
2 |
| z_decomp_alloc |
|
11 |
29 |
200 |
2 |
| z_decomp_free |
|
1 |
7 |
39 |
1 |
| z_decomp_init |
|
8 |
21 |
151 |
7 |
| z_decomp_reset |
|
1 |
7 |
36 |
1 |
| z_decompress |
|
25 |
116 |
794 |
3 |
| z_incomp |
|
10 |
39 |
260 |
2 |
| Source file: ./sys/net/ppp-comp.h |
| Source file: ./sys/net/hfsc.h |
| Source file: ./sys/net/if_switch.h |
| Source file: ./sys/net/pipex.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pipex_init |
|
4 |
18 |
135 |
1 |
| pipex_iface_init |
|
5 |
20 |
129 |
2 |
| pipex_iface_start |
|
1 |
4 |
15 |
1 |
| pipex_iface_stop |
|
3 |
12 |
65 |
1 |
| pipex_iface_fini |
|
1 |
5 |
24 |
1 |
| pipex_ioctl |
|
10 |
42 |
191 |
3 |
| pipex_add_session |
|
44 |
159 |
1156 |
2 |
| pipex_notify_close_session |
|
1 |
8 |
42 |
1 |
| pipex_notify_close_session_all |
|
2 |
9 |
42 |
1 |
| pipex_close_session |
|
3 |
14 |
76 |
1 |
| pipex_config_session |
|
2 |
11 |
55 |
1 |
| pipex_get_stat |
|
2 |
12 |
57 |
1 |
| pipex_get_closed |
|
4 |
18 |
107 |
1 |
| pipex_destroy_session |
|
8 |
24 |
156 |
1 |
| pipex_lookup_by_ip_address |
|
3 |
21 |
153 |
1 |
| pipex_lookup_by_session_id |
|
5 |
17 |
83 |
2 |
| pipexintr |
|
10 |
48 |
265 |
1 |
| pipex_ppp_enqueue |
|
2 |
10 |
61 |
3 |
| pipex_timer_start |
|
1 |
5 |
24 |
1 |
| pipex_timer_stop |
|
1 |
4 |
12 |
1 |
| pipex_timer |
|
12 |
37 |
188 |
1 |
| pipex_output |
|
9 |
41 |
226 |
4 |
| pipex_ip_output |
|
10 |
33 |
197 |
2 |
| pipex_ppp_output |
|
12 |
37 |
195 |
3 |
| pipex_ppp_input |
|
21 |
60 |
324 |
3 |
| pipex_ip_input |
|
12 |
49 |
313 |
2 |
| pipex_ip6_input |
|
4 |
16 |
105 |
2 |
| pipex_common_input |
|
17 |
53 |
302 |
5 |
| pipex_ppp_proto |
|
9 |
29 |
198 |
4 |
| pipex_pppoe_lookup_session |
|
6 |
18 |
139 |
1 |
| pipex_pppoe_input |
|
2 |
16 |
128 |
2 |
| pipex_pppoe_output |
|
4 |
35 |
254 |
2 |
| pipex_pptp_output |
|
12 |
68 |
493 |
4 |
| pipex_pptp_lookup_session |
|
7 |
43 |
254 |
1 |
| pipex_pptp_input |
|
22 |
105 |
681 |
2 |
| pipex_pptp_userland_lookup_session_ipv4 |
|
1 |
9 |
63 |
2 |
| pipex_pptp_userland_lookup_session_ipv6 |
|
1 |
9 |
66 |
2 |
| pipex_pptp_userland_lookup_session |
|
8 |
38 |
244 |
2 |
| pipex_pptp_userland_output |
|
7 |
39 |
279 |
2 |
| pipex_l2tp_output |
|
19 |
99 |
792 |
2 |
| pipex_l2tp_lookup_session |
|
7 |
35 |
201 |
2 |
| pipex_l2tp_input |
|
18 |
88 |
544 |
4 |
| pipex_l2tp_userland_lookup_session_ipv4 |
|
1 |
9 |
63 |
2 |
| pipex_l2tp_userland_lookup_session_ipv6 |
|
1 |
9 |
66 |
2 |
| pipex_l2tp_userland_lookup_session |
|
12 |
42 |
285 |
2 |
| pipex_l2tp_userland_output |
|
3 |
23 |
188 |
2 |
| pipex_mppe_init |
|
6 |
27 |
150 |
5 |
| pipex_session_init_mppe_recv |
|
1 |
7 |
41 |
4 |
| pipex_session_init_mppe_send |
|
1 |
7 |
41 |
4 |
| GetNewKeyFromSHA |
|
1 |
13 |
91 |
4 |
| pipex_mppe_reduce_key |
|
3 |
13 |
63 |
1 |
| mppe_key_change |
|
2 |
16 |
115 |
1 |
| pipex_mppe_input |
|
24 |
101 |
578 |
2 |
| pipex_mppe_output |
|
16 |
68 |
432 |
3 |
| pipex_ccp_input |
|
5 |
32 |
192 |
2 |
| pipex_ccp_output |
|
2 |
17 |
110 |
3 |
| adjust_tcp_mss |
|
13 |
65 |
398 |
2 |
| ip_is_idle_packet |
|
24 |
69 |
355 |
2 |
| pipex_session_log |
|
5 |
19 |
133 |
4 |
| pipex_sockaddr_hash_key |
|
3 |
11 |
62 |
1 |
| pipex_sockaddr_compar_addr |
|
5 |
21 |
137 |
2 |
| pipex_mppe_setkey |
|
1 |
5 |
30 |
1 |
| pipex_mppe_setoldkey |
|
1 |
8 |
47 |
2 |
| pipex_mppe_crypt |
|
1 |
5 |
34 |
4 |
| pipex_sysctl |
|
5 |
19 |
129 |
6 |
| Source file: ./sys/net/trunklacp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| lacp_input |
|
10 |
29 |
218 |
2 |
| lacp_input_process |
|
4 |
21 |
108 |
1 |
| lacp_pdu_input |
|
9 |
29 |
191 |
2 |
| lacp_fill_actorinfo |
|
1 |
11 |
95 |
2 |
| lacp_fill_markerinfo |
|
1 |
7 |
59 |
2 |
| lacp_xmit_lacpdu |
|
3 |
33 |
269 |
1 |
| lacp_xmit_marker |
|
2 |
30 |
261 |
1 |
| lacp_linkstate |
|
5 |
18 |
102 |
1 |
| lacp_tick |
|
2 |
15 |
82 |
1 |
| lacp_port_create |
|
6 |
40 |
281 |
1 |
| lacp_port_destroy |
|
3 |
15 |
103 |
1 |
| lacp_req |
|
2 |
25 |
236 |
2 |
| lacp_port_status |
|
5 |
14 |
87 |
1 |
| lacp_portreq |
|
1 |
19 |
208 |
2 |
| lacp_disable_collecting |
|
1 |
5 |
24 |
1 |
| lacp_enable_collecting |
|
1 |
5 |
24 |
1 |
| lacp_disable_distributing |
|
5 |
23 |
167 |
1 |
| lacp_enable_distributing |
|
4 |
21 |
143 |
1 |
| lacp_transit_expire |
|
1 |
6 |
32 |
1 |
| lacp_attach |
|
3 |
20 |
152 |
1 |
| lacp_detach |
|
1 |
11 |
79 |
1 |
| lacp_init |
|
1 |
5 |
29 |
1 |
| lacp_stop |
|
1 |
6 |
35 |
1 |
| lacp_select_tx_port |
|
3 |
21 |
150 |
2 |
| lacp_suppress_distributing |
|
2 |
13 |
80 |
2 |
| lacp_compare_peerinfo |
|
1 |
5 |
34 |
2 |
| lacp_compare_systemid |
|
1 |
5 |
32 |
2 |
| lacp_compare_portid |
|
1 |
5 |
32 |
2 |
| lacp_aggregator_bandwidth |
|
3 |
15 |
82 |
1 |
| lacp_select_active_aggregator |
|
14 |
42 |
287 |
1 |
| lacp_update_portmap |
|
4 |
23 |
155 |
1 |
| lacp_compose_key |
|
10 |
36 |
210 |
1 |
| lacp_aggregator_addref |
|
2 |
12 |
88 |
2 |
| lacp_aggregator_delref |
|
3 |
17 |
132 |
2 |
| lacp_aggregator_get |
|
2 |
13 |
83 |
2 |
| lacp_fill_aggregator_id |
|
1 |
6 |
53 |
2 |
| lacp_fill_aggregator_id_peer |
|
1 |
7 |
44 |
2 |
| lacp_aggregator_is_compatible |
|
6 |
14 |
108 |
2 |
| lacp_peerinfo_is_compatible |
|
3 |
10 |
75 |
2 |
| lacp_port_enable |
|
1 |
4 |
15 |
1 |
| lacp_port_disable |
|
1 |
9 |
47 |
1 |
| lacp_select |
|
7 |
35 |
225 |
1 |
| lacp_unselect |
|
2 |
10 |
59 |
1 |
| lacp_sm_mux |
|
24 |
50 |
266 |
1 |
| lacp_set_mux |
|
8 |
42 |
201 |
2 |
| lacp_sm_mux_timer |
|
2 |
11 |
81 |
1 |
| lacp_sm_ptx_update_timeout |
|
3 |
10 |
62 |
2 |
| lacp_sm_ptx_tx_schedule |
|
5 |
14 |
81 |
1 |
| lacp_sm_ptx_timer |
|
1 |
4 |
14 |
1 |
| lacp_sm_rx |
|
4 |
17 |
108 |
2 |
| lacp_sm_rx_set_expired |
|
1 |
7 |
40 |
1 |
| lacp_sm_rx_timer |
|
2 |
12 |
69 |
1 |
| lacp_sm_rx_record_pdu |
|
9 |
27 |
208 |
2 |
| lacp_sm_rx_update_ntt |
|
3 |
9 |
68 |
2 |
| lacp_sm_rx_record_default |
|
1 |
8 |
39 |
1 |
| lacp_sm_rx_update_selected_from_peerinfo |
|
3 |
9 |
51 |
2 |
| lacp_sm_rx_update_selected |
|
1 |
4 |
25 |
2 |
| lacp_sm_rx_update_default_selected |
|
1 |
4 |
17 |
1 |
| lacp_sm_tx |
|
8 |
23 |
133 |
1 |
| lacp_sm_assert_ntt |
|
1 |
4 |
15 |
1 |
| lacp_run_timers |
|
5 |
13 |
85 |
1 |
| lacp_marker_input |
|
15 |
70 |
448 |
2 |
| tlv_check |
|
7 |
17 |
128 |
5 |
| lacp_format_mac |
|
1 |
11 |
78 |
3 |
| lacp_format_systemid |
|
1 |
9 |
60 |
3 |
| lacp_format_portid |
|
1 |
7 |
45 |
3 |
| lacp_format_partner |
|
1 |
10 |
84 |
3 |
| lacp_format_lagid |
|
3 |
16 |
108 |
4 |
| lacp_format_lagid_aggregator |
|
2 |
7 |
48 |
3 |
| lacp_format_state |
|
1 |
5 |
32 |
3 |
| lacp_dump_lacpdu |
|
1 |
14 |
122 |
1 |
| lacp_dprintf |
|
2 |
9 |
54 |
3 |
| Source file: ./sys/net/pf_ioctl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pfattach |
|
2 |
73 |
591 |
1 |
| pfopen |
|
2 |
6 |
37 |
4 |
| pfclose |
|
2 |
6 |
37 |
4 |
| pf_rm_rule |
|
10 |
45 |
371 |
2 |
| pf_purge_rule |
|
2 |
14 |
110 |
1 |
| tagname2tag |
|
7 |
30 |
197 |
3 |
| tag2tagname |
|
2 |
9 |
52 |
3 |
| tag_unref |
|
4 |
15 |
80 |
2 |
| pf_tagname2tag |
|
1 |
4 |
24 |
2 |
| pf_tag2tagname |
|
1 |
4 |
21 |
2 |
| pf_tag_ref |
|
3 |
9 |
42 |
1 |
| pf_tag_unref |
|
1 |
4 |
15 |
1 |
| pf_rtlabel_add |
|
2 |
7 |
47 |
1 |
| pf_rtlabel_remove |
|
2 |
5 |
26 |
1 |
| pf_rtlabel_copyout |
|
4 |
12 |
88 |
1 |
| pf_qname2qid |
|
1 |
4 |
24 |
2 |
| pf_qid2qname |
|
1 |
4 |
21 |
2 |
| pf_qid_unref |
|
1 |
4 |
18 |
1 |
| pf_begin_rules |
|
3 |
14 |
111 |
2 |
| pf_rollback_rules |
|
6 |
18 |
133 |
2 |
| pf_free_queues |
|
1 |
9 |
55 |
1 |
| pf_remove_queues |
|
3 |
13 |
64 |
1 |
| pf_ifp2q |
|
3 |
10 |
53 |
2 |
| pf_create_queues |
|
11 |
63 |
384 |
1 |
| pf_commit_queues |
|
2 |
16 |
63 |
1 |
| pf_queue_manager |
|
2 |
6 |
25 |
1 |
| pf_hash_rule_addr |
|
5 |
24 |
158 |
2 |
| pf_hash_rule |
|
1 |
37 |
289 |
2 |
| pf_commit_rules |
|
9 |
40 |
338 |
2 |
| pf_setup_pfsync_matching |
|
4 |
24 |
190 |
1 |
| pf_addr_setup |
|
4 |
9 |
48 |
3 |
| pf_kif_setup |
|
3 |
11 |
61 |
2 |
| pf_addr_copyout |
|
1 |
6 |
24 |
1 |
| pfioctl |
|
371 |
1556 |
9926 |
5 |
| pf_trans_set_commit |
|
5 |
11 |
75 |
1 |
| pf_pool_copyin |
|
1 |
5 |
33 |
2 |
| pf_rule_copyin |
|
24 |
115 |
1081 |
3 |
| Source file: ./sys/net/pfvar.h |
| Source file: ./sys/net/slcompress.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sl_compress_init |
|
2 |
16 |
129 |
1 |
| sl_compress_setup |
|
3 |
22 |
182 |
2 |
| sl_compress_tcp |
|
41 |
140 |
1042 |
4 |
| sl_uncompress_tcp |
|
6 |
23 |
174 |
4 |
| sl_uncompress_tcp_core |
|
20 |
109 |
751 |
7 |
| Source file: ./sys/net/if_media.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ifmedia_init |
|
1 |
10 |
56 |
4 |
| ifmedia_add |
|
5 |
19 |
111 |
4 |
| ifmedia_list_add |
|
2 |
7 |
59 |
3 |
| ifmedia_set |
|
6 |
24 |
151 |
2 |
| ifmedia_ioctl |
|
23 |
83 |
512 |
4 |
| ifmedia_match |
|
4 |
18 |
96 |
3 |
| ifmedia_delete_instance |
|
3 |
11 |
75 |
2 |
| ifmedia_baudrate |
|
3 |
10 |
64 |
1 |
| ifmedia_printword |
|
15 |
37 |
234 |
1 |
| Source file: ./sys/net/if_ppp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pppattach |
|
1 |
5 |
18 |
1 |
| ppp_clone_create |
|
3 |
29 |
238 |
2 |
| ppp_clone_destroy |
|
2 |
12 |
65 |
1 |
| pppalloc |
|
8 |
34 |
209 |
1 |
| pppdealloc |
|
8 |
33 |
226 |
1 |
| pppioctl |
|
55 |
178 |
1140 |
5 |
| pppsioctl |
|
18 |
58 |
401 |
3 |
| pppoutput |
|
24 |
99 |
607 |
4 |
| ppp_requeue |
|
8 |
33 |
159 |
1 |
| ppp_restart |
|
1 |
7 |
32 |
1 |
| ppp_dequeue |
|
30 |
86 |
534 |
1 |
| pppintr |
|
5 |
23 |
132 |
1 |
| ppp_ccp |
|
27 |
88 |
504 |
3 |
| ppp_ccp_closed |
|
3 |
11 |
65 |
1 |
| ppppktin |
|
2 |
6 |
44 |
3 |
| ppp_inproc |
|
51 |
191 |
1259 |
2 |
| pppdumpm |
|
7 |
28 |
183 |
1 |
| ppp_ifstart |
|
1 |
6 |
30 |
1 |
| ppp_pkt_list_init |
|
1 |
7 |
44 |
2 |
| ppp_pkt_enqueue |
|
4 |
20 |
114 |
2 |
| ppp_pkt_dequeue |
|
3 |
14 |
77 |
1 |
| ppp_pkt_mbuf |
|
4 |
28 |
179 |
1 |
| Source file: ./sys/net/if_gif.h |
| Source file: ./sys/net/if_llc.h |
| Source file: ./sys/net/if_pppoe.h |
| Source file: ./sys/net/if_media.h |
| Source file: ./sys/net/ofp.h |
| Source file: ./sys/net/switchctl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| switch_dev2sc |
|
1 |
8 |
39 |
1 |
| switchopen |
|
7 |
36 |
245 |
4 |
| switchread |
|
12 |
56 |
331 |
3 |
| switchwrite |
|
16 |
71 |
451 |
3 |
| switchioctl |
|
4 |
14 |
57 |
5 |
| switchclose |
|
3 |
15 |
113 |
4 |
| switch_dev_destroy |
|
3 |
20 |
133 |
1 |
| switchpoll |
|
8 |
19 |
139 |
3 |
| switchkqfilter |
|
4 |
22 |
122 |
2 |
| filt_switch_rdetach |
|
2 |
8 |
61 |
1 |
| filt_switch_read |
|
4 |
15 |
107 |
2 |
| filt_switch_wdetach |
|
2 |
8 |
61 |
1 |
| filt_switch_write |
|
1 |
4 |
17 |
2 |
| switch_dev_output |
|
2 |
7 |
46 |
2 |
| switch_dev_wakeup |
|
2 |
8 |
45 |
1 |
| Source file: ./sys/net/if_loop.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| loopattach |
|
2 |
6 |
28 |
1 |
| loop_clone_create |
|
4 |
28 |
201 |
2 |
| loop_clone_destroy |
|
2 |
9 |
59 |
1 |
| loinput |
|
3 |
10 |
69 |
3 |
| looutput |
|
8 |
18 |
155 |
4 |
| lortrequest |
|
3 |
5 |
33 |
3 |
| loioctl |
|
6 |
23 |
93 |
3 |
| Source file: ./sys/net/route.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| route_init |
|
3 |
9 |
51 |
1 |
| rtisvalid |
|
5 |
14 |
98 |
1 |
| rt_match |
|
5 |
29 |
195 |
4 |
| rt_hash |
|
14 |
46 |
354 |
3 |
| rtalloc_mpath |
|
1 |
4 |
31 |
3 |
| rtalloc |
|
1 |
4 |
30 |
3 |
| rt_setgwroute |
|
6 |
25 |
175 |
2 |
| rt_putgwroute |
|
4 |
14 |
93 |
1 |
| rtref |
|
1 |
4 |
17 |
1 |
| rtfree |
|
6 |
26 |
179 |
1 |
| ifafree |
|
3 |
10 |
48 |
1 |
| rtredirect |
|
19 |
80 |
510 |
5 |
| rtdeletemsg |
|
3 |
19 |
156 |
3 |
| rtequal |
|
4 |
10 |
64 |
2 |
| rtflushclone1 |
|
5 |
17 |
105 |
3 |
| rtflushclone |
|
4 |
6 |
49 |
2 |
| rtrequest_delete |
|
10 |
39 |
266 |
5 |
| rtrequest |
|
32 |
144 |
1036 |
5 |
| rt_setgate |
|
5 |
16 |
129 |
3 |
| rt_getll |
|
2 |
8 |
43 |
1 |
| rt_maskedcopy |
|
4 |
17 |
138 |
3 |
| rt_ifa_add |
|
9 |
37 |
276 |
3 |
| rt_ifa_del |
|
12 |
44 |
334 |
3 |
| rt_ifa_addlocal |
|
9 |
26 |
172 |
1 |
| rt_ifa_dellocal |
|
9 |
26 |
172 |
1 |
| rt_ifa_purge |
|
4 |
14 |
86 |
1 |
| rt_ifa_purge_walker |
|
3 |
12 |
76 |
3 |
| rt_timer_init |
|
2 |
12 |
70 |
1 |
| rt_timer_queue_create |
|
3 |
13 |
85 |
1 |
| rt_timer_queue_change |
|
1 |
4 |
18 |
2 |
| rt_timer_queue_destroy |
|
3 |
17 |
107 |
1 |
| rt_timer_queue_count |
|
1 |
4 |
16 |
1 |
| rt_timer_remove_all |
|
3 |
13 |
84 |
1 |
| rt_timer_add |
|
4 |
32 |
220 |
4 |
| rt_timer_timer |
|
4 |
24 |
144 |
1 |
| rtlabel_name2id |
|
7 |
30 |
198 |
1 |
| rtlabel_id2name |
|
2 |
8 |
41 |
1 |
| rtlabel_id2sa |
|
3 |
11 |
92 |
2 |
| rtlabel_unref |
|
4 |
15 |
82 |
1 |
| rt_if_track |
|
5 |
14 |
81 |
1 |
| rt_if_linkstate_change |
|
10 |
33 |
260 |
3 |
| rt_plentosa |
|
7 |
24 |
161 |
3 |
| rt_plen2mask |
|
1 |
4 |
34 |
2 |
| db_print_sa |
|
4 |
20 |
86 |
1 |
| db_print_ifa |
|
2 |
13 |
70 |
1 |
| db_show_rtentry |
|
1 |
14 |
125 |
3 |
| db_show_arptab |
|
1 |
6 |
27 |
1 |
| Source file: ./sys/ntfs/ntfs_inode.h |
| Source file: ./sys/ntfs/ntfs_ihash.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ntfs_nthashinit |
|
3 |
15 |
69 |
1 |
| ntfs_hash |
|
1 |
8 |
61 |
2 |
| ntfs_nthashlookup |
|
3 |
11 |
64 |
2 |
| ntfs_nthashins |
|
1 |
7 |
46 |
1 |
| ntfs_nthashrem |
|
2 |
7 |
32 |
1 |
| Source file: ./sys/ntfs/ntfs_ihash.h |
| Source file: ./sys/net/hfsc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| hfsc_class_qlength |
|
2 |
6 |
32 |
1 |
| hfsc_class_enqueue |
|
1 |
4 |
28 |
2 |
| hfsc_class_deq_begin |
|
1 |
4 |
33 |
2 |
| hfsc_class_deq_commit |
|
1 |
4 |
32 |
2 |
| hfsc_class_purge |
|
2 |
5 |
36 |
2 |
| hfsc_microuptime |
|
1 |
7 |
39 |
1 |
| hfsc_more_slots |
|
2 |
5 |
25 |
1 |
| hfsc_grow_class_tbl |
|
1 |
12 |
88 |
2 |
| hfsc_initialize |
|
1 |
7 |
50 |
1 |
| hfsc_pf_alloc |
|
1 |
12 |
90 |
1 |
| hfsc_pf_addqueue |
|
21 |
62 |
539 |
2 |
| hfsc_pf_qstats |
|
6 |
25 |
190 |
3 |
| hfsc_pf_free |
|
1 |
4 |
15 |
1 |
| hfsc_pf_qlength |
|
1 |
5 |
24 |
1 |
| hfsc_pf_enqueue |
|
2 |
9 |
64 |
2 |
| hfsc_pf_deq_begin |
|
1 |
5 |
33 |
3 |
| hfsc_pf_deq_commit |
|
1 |
5 |
32 |
3 |
| hfsc_pf_purge |
|
1 |
5 |
30 |
2 |
| hfsc_idx |
|
1 |
4 |
19 |
2 |
| hfsc_alloc |
|
1 |
7 |
38 |
2 |
| hfsc_free |
|
4 |
19 |
134 |
2 |
| hfsc_purge |
|
2 |
7 |
56 |
2 |
| hfsc_class_create |
|
24 |
79 |
607 |
8 |
| hfsc_class_destroy |
|
16 |
43 |
311 |
2 |
| hfsc_nextclass |
|
5 |
15 |
74 |
1 |
| hfsc_enq |
|
8 |
21 |
164 |
2 |
| hfsc_deq_begin |
|
8 |
33 |
203 |
2 |
| hfsc_deq_commit |
|
1 |
8 |
70 |
3 |
| hfsc_update_sc |
|
6 |
24 |
154 |
3 |
| hfsc_deferred |
|
4 |
15 |
93 |
1 |
| hfsc_cl_purge |
|
2 |
10 |
69 |
3 |
| hfsc_set_active |
|
3 |
8 |
56 |
3 |
| hfsc_set_passive |
|
2 |
5 |
29 |
2 |
| hfsc_init_ed |
|
2 |
14 |
125 |
3 |
| hfsc_update_ed |
|
1 |
6 |
58 |
3 |
| hfsc_update_d |
|
1 |
4 |
30 |
2 |
| hfsc_init_vf |
|
16 |
66 |
435 |
2 |
| hfsc_update_vf |
|
14 |
48 |
320 |
3 |
| hfsc_update_cfmin |
|
4 |
19 |
92 |
1 |
| hfsc_ellist_insert |
|
4 |
15 |
97 |
2 |
| hfsc_ellist_remove |
|
1 |
4 |
26 |
2 |
| hfsc_ellist_update |
|
6 |
20 |
149 |
2 |
| hfsc_ellist_get_mindl |
|
4 |
11 |
68 |
2 |
| hfsc_actlist_insert |
|
4 |
15 |
98 |
1 |
| hfsc_actlist_remove |
|
1 |
4 |
23 |
1 |
| hfsc_actlist_update |
|
6 |
20 |
152 |
1 |
| hfsc_actlist_firstfit |
|
2 |
8 |
46 |
2 |
| seg_x2y |
|
1 |
6 |
44 |
2 |
| seg_y2x |
|
3 |
13 |
68 |
2 |
| m2sm |
|
1 |
6 |
31 |
1 |
| m2ism |
|
2 |
9 |
42 |
1 |
| d2dx |
|
1 |
6 |
28 |
1 |
| sm2m |
|
1 |
6 |
31 |
1 |
| dx2d |
|
1 |
6 |
26 |
1 |
| hfsc_sc2isc |
|
1 |
9 |
84 |
2 |
| hfsc_rtsc_init |
|
1 |
12 |
80 |
4 |
| hfsc_rtsc_y2x |
|
4 |
16 |
117 |
2 |
| hfsc_rtsc_x2y |
|
3 |
12 |
94 |
2 |
| hfsc_rtsc_min |
|
6 |
34 |
230 |
4 |
| hfsc_getclstats |
|
4 |
57 |
481 |
2 |
| hfsc_clh2cph |
|
7 |
15 |
111 |
2 |
| Source file: ./sys/net/bpf_filter.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bpf_mem_ldw |
|
2 |
11 |
78 |
3 |
| bpf_mem_ldh |
|
2 |
11 |
78 |
3 |
| bpf_mem_ldb |
|
2 |
9 |
55 |
3 |
| bpf_filter |
|
1 |
8 |
51 |
4 |
| _bpf_filter |
|
65 |
175 |
994 |
4 |
| bpf_validate |
|
41 |
82 |
350 |
2 |
| Source file: ./sys/ntfs/ntfs_compr.h |
| Source file: ./sys/ntfs/ntfs_conv.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ntfs_utf8_wget |
|
8 |
30 |
207 |
1 |
| ntfs_utf8_wput |
|
6 |
30 |
184 |
3 |
| ntfs_utf8_wcmp |
|
2 |
7 |
31 |
2 |
| Source file: ./sys/ntfs/ntfs_vfsops.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ntfs_checkexp |
|
2 |
12 |
83 |
4 |
| ntfs_sysctl |
|
1 |
5 |
36 |
7 |
| ntfs_init |
|
1 |
4 |
12 |
1 |
| ntfs_mount |
|
15 |
73 |
489 |
5 |
| ntfs_mountfs |
|
29 |
141 |
1055 |
4 |
| ntfs_start |
|
1 |
4 |
22 |
3 |
| ntfs_unmount |
|
11 |
40 |
317 |
3 |
| ntfs_root |
|
2 |
14 |
82 |
2 |
| ntfs_quotactl |
|
1 |
5 |
26 |
5 |
| ntfs_calccfree |
|
8 |
32 |
215 |
2 |
| ntfs_statfs |
|
1 |
16 |
141 |
3 |
| ntfs_sync |
|
1 |
4 |
27 |
4 |
| ntfs_fhtovp |
|
2 |
14 |
99 |
3 |
| ntfs_vptofh |
|
2 |
16 |
106 |
2 |
| ntfs_vgetex |
|
20 |
80 |
512 |
8 |
| ntfs_vget |
|
2 |
7 |
61 |
3 |
| Source file: ./sys/ntfs/ntfs_vfsops.h |
| Source file: ./sys/ntfs/ntfs_subr.h |
| Source file: ./sys/ntfs/ntfs_compr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ntfs_uncompblock |
|
11 |
46 |
331 |
2 |
| ntfs_uncompunit |
|
3 |
15 |
83 |
3 |
| Source file: ./sys/ntfs/ntfsmount.h |
| Source file: ./sys/ntfs/ntfs.h |
| Source file: ./sys/tmpfs/tmpfs_vnops.h |
| Source file: ./sys/ntfs/ntfs_vnops.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ntfs_bmap |
|
4 |
13 |
86 |
1 |
| ntfs_read |
|
4 |
28 |
198 |
1 |
| ntfs_getattr |
|
3 |
29 |
250 |
1 |
| ntfs_inactive |
|
5 |
12 |
83 |
1 |
| ntfs_reclaim |
|
5 |
19 |
132 |
1 |
| ntfs_print |
|
1 |
8 |
53 |
1 |
| ntfs_strategy |
|
4 |
42 |
280 |
1 |
| ntfs_access |
|
21 |
48 |
316 |
1 |
| ntfs_open |
|
2 |
8 |
48 |
1 |
| ntfs_close |
|
2 |
8 |
48 |
1 |
| ntfs_readdir |
|
18 |
93 |
712 |
1 |
| ntfs_lookup |
|
20 |
73 |
539 |
1 |
| ntfs_fsync |
|
1 |
4 |
13 |
1 |
| ntfs_pathconf |
|
5 |
23 |
89 |
1 |
| Source file: ./sys/tmpfs/tmpfs_vfsops.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tmpfs_init |
|
1 |
8 |
54 |
1 |
| tmpfs_mount |
|
14 |
80 |
588 |
5 |
| tmpfs_start |
|
1 |
4 |
20 |
3 |
| tmpfs_unmount |
|
7 |
33 |
210 |
3 |
| tmpfs_root |
|
1 |
6 |
43 |
2 |
| tmpfs_vget |
|
1 |
5 |
25 |
3 |
| tmpfs_fhtovp |
|
5 |
23 |
146 |
3 |
| tmpfs_vptofh |
|
1 |
12 |
83 |
2 |
| tmpfs_statfs |
|
1 |
21 |
153 |
3 |
| tmpfs_sync |
|
1 |
4 |
25 |
4 |
| Source file: ./sys/ntfs/ntfs_subr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ntfs_ntvattrrele |
|
1 |
7 |
36 |
1 |
| ntfs_findvattr |
|
9 |
37 |
252 |
8 |
| ntfs_ntvattrget |
|
13 |
80 |
495 |
6 |
| ntfs_loadntnode |
|
10 |
83 |
577 |
2 |
| ntfs_ntget |
|
1 |
8 |
45 |
2 |
| ntfs_ntlookup |
|
3 |
31 |
219 |
4 |
| ntfs_ntput |
|
7 |
30 |
193 |
2 |
| ntfs_ntref |
|
1 |
6 |
27 |
1 |
| ntfs_ntrele |
|
2 |
9 |
50 |
1 |
| ntfs_freentvattr |
|
5 |
13 |
82 |
1 |
| ntfs_attrtontvattr |
|
5 |
53 |
436 |
3 |
| ntfs_runtovrun |
|
8 |
46 |
354 |
4 |
| ntfs_uastricmp |
|
7 |
19 |
126 |
5 |
| ntfs_uastrcmp |
|
7 |
18 |
124 |
5 |
| ntfs_fget |
|
11 |
31 |
230 |
5 |
| ntfs_frele |
|
3 |
13 |
94 |
1 |
| ntfs_ntlookupattr |
|
9 |
38 |
224 |
5 |
| ntfs_ntlookupfile |
|
57 |
215 |
1303 |
5 |
| ntfs_isnamepermitted |
|
6 |
18 |
74 |
2 |
| ntfs_ntreaddir |
|
30 |
137 |
849 |
5 |
| ntfs_nttimetounix |
|
1 |
9 |
68 |
1 |
| ntfs_filesize |
|
4 |
22 |
134 |
4 |
| ntfs_readntvattr_plain |
|
20 |
108 |
576 |
8 |
| ntfs_readattr_plain |
|
4 |
39 |
241 |
9 |
| ntfs_readattr |
|
17 |
81 |
525 |
8 |
| ntfs_parserun |
|
9 |
33 |
259 |
5 |
| ntfs_procfixups |
|
6 |
36 |
248 |
4 |
| ntfs_runtocn |
|
7 |
33 |
192 |
5 |
| ntfs_toupper_use |
|
3 |
20 |
135 |
3 |
| ntfs_toupper_unuse |
|
4 |
14 |
61 |
1 |
| Source file: ./sys/tmpfs/tmpfs_specops.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tmpfs_spec_read |
|
1 |
8 |
42 |
1 |
| tmpfs_spec_write |
|
1 |
8 |
42 |
1 |
| Source file: ./sys/tmpfs/tmpfs_fifoops.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tmpfs_fifo_read |
|
1 |
8 |
42 |
1 |
| tmpfs_fifo_write |
|
1 |
8 |
42 |
1 |
| tmpfs_fifo_fsync |
|
1 |
4 |
13 |
1 |
| Source file: ./sys/tmpfs/tmpfs.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| VFS_TO_TMPFS |
|
1 |
6 |
27 |
1 |
| VP_TO_TMPFS_DIR |
|
1 |
7 |
32 |
1 |
| VP_TO_TMPFS_NODE |
|
2 |
6 |
27 |
1 |
| Source file: ./sys/tmpfs/tmpfs_mem.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tmpfs_mntmem_init |
|
1 |
6 |
34 |
2 |
| tmpfs_mntmem_destroy |
|
1 |
4 |
18 |
1 |
| tmpfs_mem_info |
|
3 |
16 |
73 |
1 |
| tmpfs_bytes_max |
|
2 |
12 |
65 |
1 |
| tmpfs_pages_avail |
|
1 |
4 |
24 |
1 |
| tmpfs_mem_incr |
|
2 |
13 |
70 |
2 |
| tmpfs_mem_decr |
|
1 |
7 |
43 |
2 |
| tmpfs_dirent_get |
|
2 |
7 |
39 |
1 |
| tmpfs_dirent_put |
|
1 |
5 |
33 |
2 |
| tmpfs_node_get |
|
3 |
12 |
62 |
1 |
| tmpfs_node_put |
|
1 |
6 |
38 |
2 |
| tmpfs_strname_alloc |
|
3 |
9 |
59 |
2 |
| tmpfs_strname_free |
|
2 |
7 |
54 |
3 |
| tmpfs_strname_neqlen |
|
2 |
6 |
60 |
2 |
| Source file: ./sys/net/if_pfsync.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pfsyncattach |
|
1 |
5 |
20 |
1 |
| pfsync_clone_create |
|
5 |
44 |
345 |
2 |
| pfsync_clone_destroy |
|
6 |
31 |
206 |
1 |
| pfsyncstart |
|
1 |
4 |
17 |
1 |
| pfsync_syncdev_state |
|
7 |
20 |
122 |
1 |
| pfsync_ifdetach |
|
1 |
5 |
21 |
1 |
| pfsync_alloc_scrub_memory |
|
4 |
10 |
62 |
2 |
| pfsync_state_export |
|
1 |
4 |
21 |
2 |
| pfsync_state_import |
|
42 |
152 |
1349 |
2 |
| pfsync_input |
|
19 |
75 |
520 |
4 |
| pfsync_in_clr |
|
8 |
25 |
178 |
4 |
| pfsync_in_ins |
|
15 |
28 |
193 |
4 |
| pfsync_in_iack |
|
4 |
18 |
118 |
4 |
| pfsync_upd_tcp |
|
9 |
20 |
155 |
3 |
| pfsync_in_upd |
|
13 |
55 |
351 |
4 |
| pfsync_in_upd_c |
|
12 |
54 |
348 |
4 |
| pfsync_in_ureq |
|
6 |
25 |
146 |
4 |
| pfsync_in_del |
|
3 |
20 |
121 |
4 |
| pfsync_in_del_c |
|
3 |
20 |
121 |
4 |
| pfsync_in_bus |
|
9 |
42 |
233 |
4 |
| pfsync_in_tdb |
|
3 |
10 |
64 |
4 |
| pfsync_update_net_tdb |
|
7 |
27 |
170 |
1 |
| pfsync_in_eof |
|
3 |
6 |
36 |
4 |
| pfsync_in_error |
|
1 |
5 |
27 |
4 |
| pfsyncoutput |
|
1 |
6 |
34 |
4 |
| pfsyncioctl |
|
33 |
137 |
897 |
3 |
| pfsync_out_state |
|
1 |
5 |
27 |
2 |
| pfsync_out_iack |
|
1 |
6 |
36 |
2 |
| pfsync_out_upd_c |
|
1 |
10 |
81 |
2 |
| pfsync_out_del |
|
1 |
7 |
45 |
2 |
| pfsync_drop |
|
6 |
27 |
192 |
1 |
| Source file: ./sys/crypto/gmac.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ghash_gfmul |
|
2 |
29 |
367 |
3 |
| ghash_update_mi |
|
2 |
18 |
177 |
3 |
| AES_GMAC_Init |
|
1 |
8 |
56 |
1 |
| AES_GMAC_Setkey |
|
1 |
7 |
71 |
3 |
| AES_GMAC_Reinit |
|
1 |
5 |
35 |
3 |
| AES_GMAC_Update |
|
4 |
19 |
135 |
3 |
| AES_GMAC_Final |
|
2 |
11 |
96 |
2 |
| Source file: ./sys/crypto/podd.h |
| Source file: ./sys/crypto/hmac.h |
| Source file: ./sys/tmpfs/tmpfs_subr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tmpfs_alloc_node |
|
16 |
86 |
565 |
8 |
| tmpfs_free_node |
|
9 |
38 |
235 |
2 |
| tmpfs_vnode_get |
|
17 |
70 |
402 |
3 |
| tmpfs_alloc_file |
|
10 |
47 |
304 |
5 |
| tmpfs_alloc_dirent |
|
3 |
18 |
102 |
4 |
| tmpfs_free_dirent |
|
1 |
7 |
50 |
2 |
| tmpfs_dir_attach |
|
2 |
26 |
195 |
3 |
| tmpfs_dir_detach |
|
7 |
34 |
255 |
2 |
| tmpfs_dir_lookup |
|
6 |
19 |
146 |
2 |
| tmpfs_dir_cached |
|
4 |
10 |
65 |
1 |
| tmpfs_dir_getseq |
|
2 |
14 |
81 |
2 |
| tmpfs_dir_putseq |
|
6 |
14 |
102 |
2 |
| tmpfs_dir_lookupbyseq |
|
4 |
17 |
110 |
2 |
| tmpfs_dir_getdotents |
|
6 |
33 |
220 |
3 |
| tmpfs_dir_getdents |
|
21 |
83 |
476 |
2 |
| tmpfs_reg_resize |
|
11 |
48 |
317 |
2 |
| tmpfs_chflags |
|
8 |
25 |
171 |
4 |
| tmpfs_chmod |
|
11 |
24 |
192 |
4 |
| tmpfs_chown |
|
10 |
26 |
187 |
5 |
| tmpfs_chsize |
|
8 |
24 |
115 |
4 |
| tmpfs_chtimes |
|
10 |
24 |
193 |
6 |
| tmpfs_update |
|
4 |
14 |
63 |
2 |
| tmpfs_truncate |
|
4 |
19 |
87 |
2 |
| tmpfs_uio_cached |
|
2 |
7 |
49 |
1 |
| tmpfs_uio_lookup |
|
3 |
6 |
37 |
2 |
| tmpfs_uio_uncache |
|
1 |
8 |
67 |
1 |
| tmpfs_uio_cache |
|
1 |
7 |
51 |
3 |
| tmpfs_uiomove |
|
8 |
37 |
260 |
3 |
| tmpfs_zeropg |
|
2 |
17 |
119 |
3 |
| Source file: ./sys/crypto/cast.h |
| Source file: ./sys/crypto/michael.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| michael_init |
|
1 |
4 |
18 |
1 |
| michael_update |
|
3 |
13 |
97 |
3 |
| michael_final |
|
1 |
8 |
71 |
2 |
| michael_key |
|
1 |
7 |
47 |
2 |
| Source file: ./sys/crypto/ecb_enc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| des_encrypt2 |
|
5 |
32 |
257 |
3 |
| Source file: ./sys/crypto/crypto.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| crypto_newsession |
|
18 |
56 |
321 |
3 |
| crypto_freesession |
|
7 |
20 |
135 |
1 |
| crypto_get_driverid |
|
10 |
52 |
301 |
1 |
| crypto_register |
|
5 |
19 |
147 |
5 |
| crypto_unregister |
|
13 |
29 |
203 |
2 |
| crypto_dispatch |
|
5 |
20 |
123 |
1 |
| crypto_invoke |
|
12 |
48 |
313 |
1 |
| crypto_freereq |
|
3 |
9 |
52 |
1 |
| crypto_getreq |
|
4 |
18 |
104 |
1 |
| crypto_init |
|
1 |
7 |
54 |
1 |
| crypto_done |
|
2 |
10 |
65 |
1 |
| Source file: ./sys/net/if_spppsubr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| spppattach |
|
1 |
3 |
9 |
1 |
| sppp_input |
|
28 |
111 |
619 |
2 |
| sppp_output |
|
20 |
80 |
489 |
4 |
| sppp_attach |
|
3 |
32 |
237 |
1 |
| sppp_detach |
|
9 |
25 |
237 |
1 |
| sppp_flush |
|
1 |
6 |
39 |
1 |
| sppp_isempty |
|
2 |
9 |
62 |
1 |
| sppp_dequeue |
|
3 |
13 |
78 |
1 |
| sppp_ioctl |
|
20 |
56 |
311 |
3 |
| sppp_cp_send |
|
7 |
42 |
306 |
6 |
| sppp_cp_input |
|
108 |
341 |
1987 |
3 |
| sppp_up_event |
|
4 |
20 |
119 |
2 |
| sppp_down_event |
|
10 |
30 |
153 |
2 |
| sppp_open_event |
|
12 |
31 |
163 |
2 |
| sppp_close_event |
|
12 |
37 |
238 |
2 |
| sppp_increasing_timeout |
|
2 |
8 |
66 |
2 |
| sppp_to_event |
|
13 |
47 |
271 |
2 |
| sppp_cp_change_state |
|
14 |
27 |
165 |
3 |
| sppp_lcp_init |
|
1 |
14 |
110 |
1 |
| sppp_lcp_up |
|
9 |
35 |
259 |
1 |
| sppp_lcp_down |
|
5 |
21 |
123 |
1 |
| sppp_lcp_open |
|
2 |
9 |
60 |
1 |
| sppp_lcp_close |
|
1 |
4 |
17 |
1 |
| sppp_lcp_TO |
|
1 |
4 |
21 |
1 |
| sppp_lcp_RCR |
|
56 |
161 |
1043 |
3 |
| sppp_lcp_RCN_rej |
|
14 |
40 |
244 |
3 |
| sppp_lcp_RCN_nak |
|
22 |
55 |
364 |
3 |
| sppp_lcp_tlu |
|
18 |
36 |
335 |
1 |
| sppp_lcp_tld |
|
4 |
12 |
99 |
1 |
| sppp_lcp_tls |
|
2 |
7 |
35 |
1 |
| sppp_lcp_tlf |
|
2 |
7 |
35 |
1 |
| sppp_lcp_scr |
|
7 |
33 |
308 |
1 |
| sppp_ncp_check |
|
4 |
8 |
63 |
1 |
| sppp_lcp_check_and_close |
|
3 |
8 |
35 |
1 |
| sppp_ipcp_init |
|
1 |
9 |
71 |
1 |
| sppp_ipcp_destroy |
|
1 |
5 |
33 |
1 |
| sppp_ipcp_up |
|
1 |
4 |
17 |
1 |
| sppp_ipcp_down |
|
1 |
4 |
17 |
1 |
| sppp_ipcp_open |
|
1 |
4 |
17 |
1 |
| sppp_ipcp_close |
|
1 |
4 |
17 |
1 |
| sppp_ipcp_TO |
|
1 |
4 |
21 |
1 |
| sppp_ipcp_RCR |
|
41 |
124 |
823 |
3 |
| sppp_ipcp_RCN_rej |
|
10 |
27 |
181 |
3 |
| sppp_ipcp_RCN_nak |
|
15 |
40 |
268 |
3 |
| sppp_ipcp_tlu |
|
3 |
5 |
39 |
1 |
| sppp_ipcp_tld |
|
1 |
3 |
9 |
1 |
| sppp_ipcp_tls |
|
6 |
24 |
150 |
1 |
| sppp_ipcp_tlf |
|
2 |
7 |
53 |
1 |
| sppp_ipcp_scr |
|
5 |
28 |
227 |
1 |
| sppp_ipv6cp_init |
|
1 |
8 |
57 |
1 |
| sppp_ipv6cp_destroy |
|
1 |
4 |
21 |
1 |
| sppp_ipv6cp_up |
|
1 |
4 |
17 |
1 |
| sppp_ipv6cp_down |
|
1 |
4 |
17 |
1 |
| sppp_ipv6cp_open |
|
3 |
15 |
92 |
1 |
| sppp_ipv6cp_close |
|
1 |
4 |
17 |
1 |
| sppp_ipv6cp_TO |
|
1 |
4 |
21 |
1 |
| sppp_ipv6cp_RCR |
|
43 |
132 |
908 |
3 |
| sppp_ipv6cp_RCN_rej |
|
11 |
28 |
187 |
3 |
| sppp_ipv6cp_RCN_nak |
|
16 |
49 |
345 |
3 |
| sppp_ipv6cp_tlu |
|
1 |
3 |
9 |
1 |
| sppp_ipv6cp_tld |
|
1 |
3 |
9 |
1 |
| sppp_ipv6cp_tls |
|
1 |
4 |
22 |
1 |
| sppp_ipv6cp_tlf |
|
1 |
5 |
27 |
1 |
| sppp_ipv6cp_scr |
|
5 |
24 |
198 |
1 |
| sppp_ipv6cp_init |
|
1 |
3 |
9 |
1 |
| sppp_ipv6cp_destroy |
|
1 |
3 |
9 |
1 |
| sppp_ipv6cp_up |
|
1 |
3 |
9 |
1 |
| sppp_ipv6cp_down |
|
1 |
3 |
9 |
1 |
| sppp_ipv6cp_open |
|
1 |
3 |
9 |
1 |
| sppp_ipv6cp_close |
|
1 |
3 |
9 |
1 |
| sppp_ipv6cp_TO |
|
1 |
3 |
8 |
1 |
| sppp_ipv6cp_RCR |
|
1 |
5 |
20 |
3 |
| sppp_ipv6cp_RCN_rej |
|
1 |
4 |
17 |
3 |
| sppp_ipv6cp_RCN_nak |
|
1 |
4 |
17 |
3 |
| sppp_ipv6cp_tlu |
|
1 |
3 |
9 |
1 |
| sppp_ipv6cp_tld |
|
1 |
3 |
9 |
1 |
| sppp_ipv6cp_tls |
|
1 |
3 |
9 |
1 |
| sppp_ipv6cp_tlf |
|
1 |
3 |
9 |
1 |
| sppp_ipv6cp_scr |
|
1 |
3 |
9 |
1 |
| sppp_chap_input |
|
36 |
193 |
1256 |
2 |
| sppp_chap_init |
|
1 |
5 |
27 |
1 |
| sppp_chap_open |
|
3 |
9 |
68 |
1 |
| sppp_chap_close |
|
2 |
5 |
30 |
1 |
| sppp_chap_TO |
|
6 |
29 |
165 |
1 |
| sppp_chap_tlu |
|
7 |
30 |
186 |
1 |
| sppp_chap_tld |
|
2 |
9 |
68 |
1 |
| sppp_chap_scr |
|
1 |
13 |
96 |
1 |
| sppp_pap_input |
|
30 |
125 |
854 |
2 |
| sppp_pap_init |
|
1 |
5 |
27 |
1 |
| sppp_pap_open |
|
4 |
12 |
94 |
1 |
| sppp_pap_close |
|
2 |
5 |
30 |
1 |
| sppp_pap_TO |
|
5 |
26 |
142 |
1 |
| sppp_pap_my_TO |
|
2 |
9 |
46 |
1 |
| sppp_pap_tlu |
|
3 |
17 |
94 |
1 |
| sppp_pap_tld |
|
2 |
10 |
83 |
1 |
| sppp_pap_scr |
|
1 |
13 |
111 |
1 |
| sppp_auth_send |
|
7 |
56 |
396 |
5 |
| sppp_keepalive |
|
10 |
44 |
275 |
1 |
| sppp_get_ip_addrs |
|
11 |
32 |
213 |
4 |
| sppp_update_gw_walker |
|
4 |
12 |
87 |
3 |
| sppp_update_gw |
|
2 |
7 |
38 |
1 |
| sppp_set_ip_addrs |
|
15 |
55 |
362 |
1 |
| sppp_clear_ip_addrs |
|
11 |
43 |
286 |
1 |
| sppp_get_ip6_addrs |
|
7 |
25 |
206 |
4 |
| sppp_update_ip6_addr |
|
6 |
36 |
208 |
1 |
| sppp_set_ip6_addr |
|
2 |
19 |
165 |
3 |
| sppp_suggest_ip6_addr |
|
3 |
17 |
142 |
2 |
| sppp_get_params |
|
10 |
43 |
300 |
2 |
| sppp_set_params |
|
18 |
74 |
540 |
2 |
| sppp_phase_network |
|
6 |
14 |
126 |
1 |
| sppp_cp_type_name |
|
12 |
19 |
101 |
1 |
| sppp_auth_type_name |
|
10 |
21 |
98 |
2 |
| sppp_lcp_opt_name |
|
8 |
15 |
77 |
1 |
| sppp_ipcp_opt_name |
|
4 |
11 |
53 |
1 |
| sppp_ipv6cp_opt_name |
|
3 |
10 |
47 |
1 |
| sppp_state_name |
|
11 |
16 |
76 |
1 |
| sppp_phase_name |
|
6 |
11 |
47 |
1 |
| sppp_proto_name |
|
6 |
13 |
68 |
1 |
| sppp_print_bytes |
|
2 |
6 |
37 |
2 |
| sppp_print_string |
|
4 |
11 |
55 |
2 |
| sppp_dotted_quad |
|
1 |
10 |
78 |
1 |
| sppp_null |
|
1 |
3 |
9 |
1 |
| sppp_set_phase |
|
4 |
16 |
76 |
1 |
| Source file: ./sys/crypto/sk.h |
| Source file: ./sys/crypto/arc4.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rc4_keysetup |
|
3 |
14 |
118 |
3 |
| rc4_crypt |
|
2 |
12 |
133 |
4 |
| rc4_getbytes |
|
2 |
11 |
124 |
3 |
| rc4_skip |
|
2 |
8 |
78 |
2 |
| Source file: ./sys/crypto/ecb3_enc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| des_ecb3_encrypt |
|
1 |
23 |
165 |
6 |
| Source file: ./sys/crypto/aes.h |
| Source file: ./sys/crypto/cast.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cast_encrypt |
|
2 |
35 |
363 |
3 |
| cast_decrypt |
|
2 |
35 |
363 |
3 |
| cast_setkey |
|
19 |
136 |
1667 |
3 |
| Source file: ./sys/crypto/sha1.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| SHA1Transform |
|
2 |
44 |
1367 |
2 |
| SHA1Init |
|
1 |
9 |
59 |
1 |
| SHA1Update |
|
3 |
18 |
163 |
3 |
| SHA1Final |
|
4 |
20 |
193 |
2 |
| Source file: ./sys/crypto/md5.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| MD5Init |
|
1 |
8 |
50 |
1 |
| MD5Update |
|
5 |
24 |
164 |
3 |
| MD5Final |
|
3 |
16 |
129 |
2 |
| MD5Transform |
|
3 |
84 |
1601 |
2 |
| Source file: ./sys/crypto/siphash.h |
| Source file: ./sys/crypto/cmac.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| AES_CMAC_Init |
|
1 |
5 |
28 |
1 |
| AES_CMAC_SetKey |
|
1 |
4 |
27 |
2 |
| AES_CMAC_Update |
|
5 |
23 |
170 |
3 |
| AES_CMAC_Final |
|
5 |
27 |
203 |
2 |
| Source file: ./sys/crypto/cmac.h |
| Source file: ./sys/crypto/sha2.h |
| Source file: ./sys/tmpfs/tmpfs_vnops.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tmpfs_lookup |
|
43 |
115 |
730 |
1 |
| tmpfs_create |
|
2 |
12 |
95 |
1 |
| tmpfs_mknod |
|
5 |
19 |
115 |
1 |
| tmpfs_open |
|
4 |
18 |
95 |
1 |
| tmpfs_close |
|
1 |
8 |
35 |
1 |
| tmpfs_access |
|
12 |
31 |
166 |
1 |
| tmpfs_getattr |
|
3 |
30 |
227 |
1 |
| tmpfs_setattr |
|
23 |
32 |
311 |
1 |
| tmpfs_read |
|
9 |
34 |
188 |
1 |
| tmpfs_write |
|
15 |
59 |
354 |
1 |
| tmpfs_fsync |
|
1 |
8 |
35 |
1 |
| tmpfs_remove |
|
8 |
47 |
264 |
1 |
| tmpfs_link |
|
8 |
55 |
307 |
1 |
| tmpfs_mkdir |
|
1 |
11 |
74 |
1 |
| tmpfs_rmdir |
|
10 |
51 |
342 |
1 |
| tmpfs_symlink |
|
2 |
17 |
107 |
1 |
| tmpfs_readdir |
|
5 |
24 |
123 |
1 |
| tmpfs_readlink |
|
2 |
18 |
125 |
1 |
| tmpfs_inactive |
|
4 |
15 |
86 |
1 |
| tmpfs_reclaim |
|
3 |
18 |
105 |
1 |
| tmpfs_pathconf |
|
7 |
31 |
111 |
1 |
| tmpfs_advlock |
|
1 |
9 |
62 |
1 |
| tmpfs_print |
|
3 |
15 |
86 |
1 |
| tmpfs_bwrite |
|
1 |
4 |
11 |
1 |
| tmpfs_poll |
|
1 |
5 |
32 |
1 |
| tmpfs_strategy |
|
1 |
4 |
11 |
1 |
| tmpfs_ioctl |
|
1 |
4 |
11 |
1 |
| tmpfs_lock |
|
1 |
6 |
41 |
1 |
| tmpfs_unlock |
|
1 |
7 |
37 |
1 |
| tmpfs_islocked |
|
1 |
6 |
35 |
1 |
| tmpfs_rename |
|
14 |
54 |
391 |
1 |
| tmpfs_sane_rename |
|
34 |
130 |
1080 |
6 |
| tmpfs_rename_enter |
|
6 |
53 |
446 |
13 |
| tmpfs_rename_enter_common |
|
15 |
82 |
522 |
11 |
| tmpfs_rename_enter_separate |
|
7 |
42 |
304 |
13 |
| tmpfs_rename_exit |
|
7 |
28 |
190 |
5 |
| tmpfs_rename_lock_directory |
|
2 |
13 |
84 |
2 |
| tmpfs_rename_genealogy |
|
5 |
33 |
193 |
3 |
| tmpfs_rename_lock |
|
33 |
143 |
1000 |
15 |
| tmpfs_rename_attachdetach |
|
8 |
41 |
367 |
7 |
| tmpfs_do_remove |
|
7 |
29 |
217 |
6 |
| tmpfs_rename_check_possible |
|
8 |
30 |
245 |
4 |
| tmpfs_rename_check_permitted |
|
11 |
44 |
309 |
5 |
| tmpfs_remove_check_possible |
|
2 |
12 |
92 |
2 |
| tmpfs_remove_check_permitted |
|
3 |
18 |
119 |
3 |
| tmpfs_check_sticky |
|
8 |
19 |
133 |
3 |
| tmpfs_rename_cache_purge |
|
5 |
21 |
148 |
4 |
| tmpfs_rename_abort |
|
3 |
20 |
121 |
1 |
| tmpfs_kqfilter |
|
4 |
22 |
112 |
1 |
| filt_tmpfsdetach |
|
1 |
5 |
39 |
1 |
| filt_tmpfsread |
|
4 |
15 |
108 |
2 |
| filt_tmpfswrite |
|
2 |
9 |
46 |
2 |
| filt_tmpfsvnode |
|
3 |
10 |
54 |
2 |
| Source file: ./sys/crypto/siphash.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| SipHash_Init |
|
1 |
12 |
104 |
2 |
| SipHash_Update |
|
6 |
29 |
213 |
5 |
| SipHash_Final |
|
1 |
6 |
47 |
4 |
| SipHash_End |
|
1 |
15 |
147 |
3 |
| SipHash |
|
1 |
7 |
61 |
5 |
| SipHash_Rounds |
|
2 |
19 |
244 |
2 |
| SipHash_CRounds |
|
1 |
7 |
50 |
2 |
| Source file: ./sys/crypto/poly1305.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| U8TO32 |
|
1 |
7 |
82 |
1 |
| U32TO8 |
|
1 |
7 |
66 |
2 |
| poly1305_init |
|
1 |
19 |
249 |
2 |
| poly1305_blocks |
|
3 |
80 |
781 |
3 |
| poly1305_update |
|
8 |
29 |
198 |
3 |
| poly1305_finish |
|
3 |
90 |
777 |
2 |
| Source file: ./sys/crypto/criov.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cuio_copydata |
|
8 |
30 |
172 |
4 |
| cuio_copyback |
|
8 |
31 |
182 |
4 |
| cuio_getptr |
|
6 |
20 |
113 |
3 |
| cuio_apply |
|
9 |
35 |
220 |
5 |
| Source file: ./sys/crypto/sha1.h |
| Source file: ./sys/crypto/gmac.h |
| Source file: ./sys/crypto/des_locl.h |
| Source file: ./sys/crypto/cryptosoft.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| swcr_encdec |
|
56 |
189 |
1334 |
4 |
| swcr_authcompute |
|
13 |
45 |
326 |
5 |
| swcr_authenc |
|
32 |
129 |
967 |
1 |
| swcr_compdec |
|
11 |
52 |
361 |
4 |
| swcr_newsession |
|
45 |
184 |
1046 |
2 |
| swcr_freesession |
|
30 |
61 |
311 |
1 |
| swcr_process |
|
36 |
80 |
389 |
1 |
| swcr_init |
|
2 |
34 |
216 |
1 |
| Source file: ./sys/crypto/key_wrap.h |
| Source file: ./sys/crypto/rijndael.h |
| Source file: ./sys/crypto/aes.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| enc32le |
|
1 |
8 |
77 |
2 |
| dec32le |
|
1 |
8 |
65 |
1 |
| aes_ct_bitslice_Sbox |
|
1 |
148 |
1070 |
1 |
| aes_ct_ortho |
|
1 |
15 |
164 |
1 |
| sub_word |
|
2 |
12 |
59 |
1 |
| aes_keysched_base |
|
10 |
41 |
269 |
3 |
| aes_ct_keysched |
|
2 |
23 |
275 |
3 |
| aes_ct_skey_expand |
|
2 |
14 |
111 |
3 |
| add_round_key |
|
1 |
11 |
93 |
2 |
| shift_rows |
|
2 |
12 |
113 |
1 |
| rotr16 |
|
1 |
4 |
22 |
1 |
| mix_columns |
|
1 |
29 |
382 |
1 |
| aes_ct_bitslice_encrypt |
|
2 |
15 |
94 |
3 |
| aes_ct_bitslice_invSbox |
|
1 |
37 |
318 |
1 |
| inv_shift_rows |
|
2 |
12 |
113 |
1 |
| inv_mix_columns |
|
1 |
29 |
526 |
1 |
| aes_ct_bitslice_decrypt |
|
2 |
15 |
96 |
3 |
| AES_Setkey |
|
2 |
8 |
61 |
3 |
| AES_Encrypt_ECB |
|
4 |
40 |
309 |
4 |
| AES_Decrypt_ECB |
|
4 |
40 |
309 |
4 |
| AES_Encrypt |
|
1 |
4 |
28 |
3 |
| AES_Decrypt |
|
1 |
4 |
28 |
3 |
| AES_KeySetup_Encrypt |
|
3 |
18 |
127 |
3 |
| redgf256 |
|
1 |
6 |
47 |
1 |
| mul9 |
|
1 |
4 |
20 |
1 |
| mulb |
|
1 |
4 |
27 |
1 |
| muld |
|
1 |
4 |
27 |
1 |
| mule |
|
1 |
4 |
32 |
1 |
| AES_KeySetup_Decrypt |
|
3 |
27 |
318 |
3 |
| Source file: ./sys/crypto/hmac.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| HMAC_MD5_Init |
|
3 |
21 |
159 |
3 |
| HMAC_MD5_Update |
|
1 |
4 |
28 |
3 |
| HMAC_MD5_Final |
|
2 |
15 |
123 |
2 |
| HMAC_SHA1_Init |
|
3 |
21 |
159 |
3 |
| HMAC_SHA1_Update |
|
1 |
4 |
28 |
3 |
| HMAC_SHA1_Final |
|
2 |
15 |
123 |
2 |
| HMAC_SHA256_Init |
|
3 |
21 |
159 |
3 |
| HMAC_SHA256_Update |
|
1 |
4 |
28 |
3 |
| HMAC_SHA256_Final |
|
2 |
15 |
123 |
2 |
| Source file: ./sys/crypto/idgen.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| idgen32_g |
|
1 |
12 |
145 |
3 |
| idgen32_permute |
|
2 |
15 |
127 |
2 |
| idgen32_rekey |
|
1 |
8 |
51 |
1 |
| idgen32_init |
|
1 |
6 |
35 |
1 |
| idgen32 |
|
4 |
12 |
68 |
1 |
| Source file: ./sys/crypto/sha2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| SHA256Init |
|
1 |
7 |
41 |
1 |
| SHA256Transform |
|
3 |
44 |
505 |
2 |
| SHA256Transform |
|
3 |
58 |
486 |
2 |
| SHA256Update |
|
6 |
34 |
236 |
3 |
| SHA256Final |
|
7 |
35 |
268 |
2 |
| SHA512Init |
|
1 |
7 |
48 |
1 |
| SHA512Transform |
|
3 |
44 |
505 |
2 |
| SHA512Transform |
|
3 |
60 |
538 |
2 |
| SHA512Update |
|
6 |
34 |
236 |
3 |
| SHA512Last |
|
5 |
27 |
235 |
1 |
| SHA512Final |
|
3 |
12 |
83 |
2 |
| SHA384Init |
|
1 |
7 |
48 |
1 |
| SHA384Update |
|
1 |
4 |
25 |
3 |
| SHA384Final |
|
3 |
12 |
83 |
2 |
| Source file: ./sys/crypto/rmd160.h |
| Source file: ./sys/crypto/key_wrap.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| aes_key_wrap_set_key |
|
1 |
4 |
28 |
3 |
| aes_key_wrap_set_key_wrap_only |
|
1 |
5 |
28 |
3 |
| aes_key_wrap |
|
3 |
23 |
202 |
4 |
| aes_key_unwrap |
|
3 |
23 |
220 |
4 |
| Source file: ./sys/crypto/xform.h |
| Source file: ./sys/crypto/blf.h |
| Source file: ./sys/crypto/chachapoly.h |
| Source file: ./sys/crypto/poly1305.h |
| Source file: ./sys/crypto/idgen.h |
| Source file: ./sys/crypto/chacha_private.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| chacha_keysetup |
|
2 |
22 |
212 |
3 |
| chacha_ivsetup |
|
3 |
7 |
86 |
3 |
| chacha_encrypt_bytes |
|
10 |
122 |
1066 |
4 |
| Source file: ./sys/crypto/xform_ipcomp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| deflate_global |
|
21 |
90 |
643 |
4 |
| Source file: ./sys/crypto/spr.h |
| Source file: ./sys/crypto/md5.h |
| Source file: ./sys/crypto/cryptosoft.h |
| Source file: ./sys/crypto/blf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| Blowfish_encipher |
|
1 |
20 |
285 |
2 |
| Blowfish_decipher |
|
1 |
20 |
285 |
2 |
| Blowfish_initstate |
|
1 |
274 |
2116 |
1 |
| Blowfish_stream2word |
|
3 |
16 |
84 |
3 |
| Blowfish_expand0state |
|
5 |
28 |
222 |
3 |
| Blowfish_expandstate |
|
5 |
33 |
290 |
5 |
| blf_key |
|
1 |
5 |
30 |
3 |
| blf_enc |
|
2 |
10 |
52 |
3 |
| blf_dec |
|
2 |
10 |
52 |
3 |
| blf_ecb_encrypt |
|
2 |
23 |
235 |
3 |
| blf_ecb_decrypt |
|
2 |
23 |
235 |
3 |
| blf_cbc_encrypt |
|
3 |
26 |
268 |
4 |
| blf_cbc_decrypt |
|
4 |
46 |
500 |
4 |
| Source file: ./sys/crypto/xform.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| des3_encrypt |
|
1 |
4 |
30 |
2 |
| des3_decrypt |
|
1 |
4 |
30 |
2 |
| des3_setkey |
|
4 |
7 |
59 |
3 |
| blf_encrypt |
|
1 |
4 |
24 |
2 |
| blf_decrypt |
|
1 |
4 |
24 |
2 |
| blf_setkey |
|
1 |
5 |
31 |
3 |
| null_setkey |
|
1 |
4 |
18 |
3 |
| null_encrypt |
|
1 |
3 |
11 |
2 |
| null_decrypt |
|
1 |
3 |
11 |
2 |
| cast5_encrypt |
|
1 |
4 |
24 |
2 |
| cast5_decrypt |
|
1 |
4 |
24 |
2 |
| cast5_setkey |
|
1 |
5 |
31 |
3 |
| aes_encrypt |
|
1 |
4 |
24 |
2 |
| aes_decrypt |
|
1 |
4 |
24 |
2 |
| aes_setkey |
|
1 |
4 |
29 |
3 |
| aes_ctr_reinit |
|
1 |
7 |
51 |
2 |
| aes_gcm_reinit |
|
1 |
8 |
62 |
2 |
| aes_ctr_crypt |
|
4 |
15 |
110 |
2 |
| aes_ctr_setkey |
|
3 |
11 |
79 |
3 |
| aes_xts_reinit |
|
2 |
13 |
97 |
2 |
| aes_xts_crypt |
|
5 |
21 |
195 |
3 |
| aes_xts_encrypt |
|
1 |
4 |
25 |
2 |
| aes_xts_decrypt |
|
1 |
4 |
25 |
2 |
| aes_xts_setkey |
|
3 |
10 |
80 |
3 |
| RMD160Update_int |
|
1 |
5 |
28 |
3 |
| MD5Update_int |
|
1 |
5 |
28 |
3 |
| SHA1Update_int |
|
1 |
5 |
28 |
3 |
| SHA256Update_int |
|
1 |
5 |
28 |
3 |
| SHA384Update_int |
|
1 |
5 |
28 |
3 |
| SHA512Update_int |
|
1 |
5 |
28 |
3 |
| deflate_compress |
|
1 |
4 |
27 |
3 |
| deflate_decompress |
|
1 |
4 |
27 |
3 |
| lzs_dummy |
|
1 |
5 |
25 |
3 |
| Source file: ./sys/crypto/arc4.h |
| Source file: ./sys/crypto/rmd160.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| RMD160Init |
|
1 |
9 |
59 |
1 |
| RMD160Update |
|
5 |
22 |
147 |
3 |
| RMD160Final |
|
4 |
16 |
129 |
2 |
| RMD160Transform |
|
3 |
189 |
3669 |
2 |
| Source file: ./sys/crypto/chachapoly.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| chacha20_setkey |
|
2 |
11 |
88 |
3 |
| chacha20_reinit |
|
1 |
5 |
40 |
2 |
| chacha20_crypt |
|
1 |
6 |
40 |
2 |
| Chacha20_Poly1305_Init |
|
1 |
5 |
27 |
1 |
| Chacha20_Poly1305_Setkey |
|
1 |
7 |
55 |
3 |
| Chacha20_Poly1305_Reinit |
|
1 |
8 |
78 |
3 |
| Chacha20_Poly1305_Update |
|
2 |
12 |
92 |
3 |
| Chacha20_Poly1305_Final |
|
1 |
6 |
45 |
2 |
| Source file: ./sys/crypto/cryptodev.h |
| Source file: ./sys/crypto/michael.h |
| Source file: ./sys/crypto/set_key.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| check_parity |
|
3 |
9 |
59 |
1 |
| des_is_weak_key |
|
3 |
9 |
57 |
1 |
| des_set_key |
|
6 |
48 |
597 |
2 |
| Source file: ./sys/lib/libz/zutil.h |
| Source file: ./sys/lib/libz/zconf.h |
| Source file: ./sys/crypto/castsb.h |
| Source file: ./sys/lib/libz/inffast.h |
| Source file: ./sys/lib/libz/compress.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| compress2 |
|
7 |
29 |
200 |
5 |
| compress |
|
1 |
8 |
42 |
4 |
| compressBound |
|
1 |
5 |
28 |
1 |
| Source file: ./sys/crypto/rijndael.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rijndaelKeySetupEnc |
|
10 |
79 |
745 |
3 |
| rijndaelKeySetupDec |
|
3 |
36 |
527 |
3 |
| rijndaelEncrypt |
|
6 |
150 |
3242 |
4 |
| rijndaelDecrypt |
|
6 |
150 |
3246 |
4 |
| rijndael_set_key_enc_only |
|
2 |
10 |
57 |
3 |
| rijndael_set_key |
|
3 |
12 |
76 |
3 |
| rijndael_decrypt |
|
1 |
4 |
32 |
3 |
| rijndael_encrypt |
|
1 |
4 |
32 |
3 |
| Source file: ./sys/lib/libz/inffixed.h |
| Source file: ./sys/lib/libz/inflate.h |
| Source file: ./sys/lib/libz/inftrees.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| inflate_table |
|
42 |
184 |
1436 |
6 |
| Source file: ./sys/lib/libz/zlib.h |
| Source file: ./sys/lib/libz/zopenbsd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| zcalloc |
|
1 |
6 |
31 |
3 |
| zcfree |
|
1 |
6 |
25 |
2 |
| Source file: ./sys/lib/libz/zutil.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| zlibVersion |
|
1 |
4 |
8 |
0 |
| zlibCompileFlags |
|
29 |
46 |
306 |
0 |
| z_error |
|
1 |
6 |
24 |
1 |
| zError |
|
1 |
5 |
15 |
1 |
| zmemcpy |
|
3 |
10 |
49 |
3 |
| zmemcmp |
|
3 |
11 |
73 |
3 |
| zmemzero |
|
3 |
9 |
40 |
2 |
| zcalloc |
|
5 |
17 |
147 |
3 |
| zcfree |
|
5 |
19 |
109 |
2 |
| zcalloc |
|
2 |
5 |
32 |
3 |
| zcfree |
|
2 |
5 |
23 |
2 |
| zcalloc |
|
4 |
11 |
70 |
3 |
| zcfree |
|
2 |
7 |
25 |
2 |
| Source file: ./sys/lib/libz/adler32.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| adler32 |
|
13 |
55 |
261 |
3 |
| adler32_combine |
|
5 |
20 |
158 |
3 |
| Source file: ./sys/lib/libz/crc32.h |
| Source file: ./sys/lib/libz/inffast.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| inflate_fast |
|
44 |
223 |
1433 |
2 |
| Source file: ./sys/lib/libz/deflate.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| deflateInit_ |
|
1 |
9 |
46 |
4 |
| deflateInit2_ |
|
28 |
76 |
645 |
8 |
| deflateSetDictionary |
|
12 |
32 |
233 |
3 |
| deflateReset |
|
9 |
26 |
172 |
1 |
| deflateSetHeader |
|
4 |
9 |
53 |
2 |
| deflatePrime |
|
3 |
10 |
69 |
3 |
| deflateParams |
|
13 |
29 |
203 |
3 |
| deflateTune |
|
3 |
16 |
81 |
5 |
| deflateBound |
|
5 |
15 |
95 |
2 |
| putShortMSB |
|
1 |
7 |
44 |
2 |
| flush_pending |
|
4 |
16 |
113 |
1 |
| deflate |
|
95 |
251 |
1989 |
2 |
| deflateEnd |
|
11 |
23 |
138 |
1 |
| deflateCopy |
|
10 |
40 |
428 |
2 |
| read_buf |
|
6 |
20 |
140 |
3 |
| lm_init |
|
2 |
17 |
126 |
1 |
| longest_match |
|
34 |
71 |
746 |
2 |
| longest_match_fast |
|
15 |
27 |
295 |
2 |
| check_match |
|
5 |
19 |
144 |
4 |
| fill_window |
|
16 |
46 |
385 |
1 |
| deflate_stored |
|
12 |
33 |
247 |
2 |
| deflate_fast |
|
25 |
60 |
462 |
2 |
| deflate_slow |
|
29 |
73 |
580 |
2 |
| deflate_rle |
|
13 |
43 |
273 |
2 |
| Source file: ./sys/lib/libz/deflate.h |
| Source file: ./sys/lib/libz/inftrees.h |
| Source file: ./sys/lib/libz/crc32.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| make_crc_table |
|
14 |
52 |
407 |
0 |
| write_table |
|
5 |
9 |
73 |
2 |
| get_crc_table |
|
3 |
6 |
23 |
0 |
| crc32 |
|
10 |
26 |
139 |
3 |
| crc32_little |
|
7 |
29 |
193 |
3 |
| crc32_big |
|
7 |
31 |
209 |
3 |
| gf2_matrix_times |
|
3 |
14 |
53 |
2 |
| gf2_matrix_square |
|
2 |
8 |
49 |
2 |
| crc32_combine |
|
7 |
34 |
180 |
3 |
| Source file: ./sys/lib/libz/infback.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| inflateBackInit_ |
|
11 |
33 |
236 |
5 |
| fixedtables |
|
8 |
31 |
237 |
1 |
| inflateBack |
|
73 |
328 |
2221 |
5 |
| inflateBackEnd |
|
4 |
10 |
60 |
1 |
| Source file: ./sys/lib/libkern/arch/hppa/prefix.h |
| Source file: ./sys/lib/libkern/arch/i386/DEFS.h |
| Source file: ./sys/lib/libkern/arch/i386/SYS.h |
| Source file: ./sys/lib/libkern/arch/sparc64/SYS.h |
| Source file: ./sys/lib/libkern/arch/sparc64/DEFS.h |
| Source file: ./sys/lib/libkern/arch/powerpc/__eabi.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __eabi |
|
1 |
3 |
6 |
1 |
| Source file: ./sys/lib/libkern/arch/mips64/DEFS.h |
| Source file: ./sys/lib/libkern/arch/mips64/SYS.h |
| Source file: ./sys/lib/libkern/strncmp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| strncmp |
|
5 |
12 |
83 |
3 |
| Source file: ./sys/lib/libkern/udivdi3.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __udivdi3 |
|
1 |
4 |
26 |
2 |
| Source file: ./sys/lib/libkern/max.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| max |
|
2 |
4 |
23 |
2 |
| Source file: ./sys/lib/libkern/lmin.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| lmin |
|
2 |
4 |
21 |
2 |
| Source file: ./sys/lib/libkern/ulmin.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ulmin |
|
2 |
4 |
23 |
2 |
| Source file: ./sys/lib/libkern/milieu.h |
| Source file: ./sys/lib/libkern/imax.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| imax |
|
2 |
4 |
21 |
2 |
| Source file: ./sys/lib/libz/trees.h |
| Source file: ./sys/lib/libkern/strlcat.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| strlcat |
|
6 |
22 |
128 |
3 |
| Source file: ./sys/lib/libkern/strncasecmp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| strncasecmp |
|
14 |
22 |
140 |
3 |
| Source file: ./sys/lib/libkern/ashldi3.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __ashldi3 |
|
3 |
16 |
124 |
2 |
| Source file: ./sys/lib/libkern/strcmp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| strcmp |
|
3 |
7 |
56 |
2 |
| Source file: ./sys/lib/libkern/ulmax.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ulmax |
|
2 |
4 |
23 |
2 |
| Source file: ./sys/lib/libkern/random.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| random |
|
2 |
13 |
73 |
1 |
| Source file: ./sys/lib/libkern/memmove.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| memmove |
|
4 |
14 |
81 |
3 |
| Source file: ./sys/lib/libkern/bcopy.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bcopy |
|
10 |
41 |
304 |
3 |
| Source file: ./sys/lib/libkern/muldi3.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __muldi3 |
|
9 |
34 |
248 |
2 |
| __lmulq |
|
7 |
43 |
289 |
2 |
| Source file: ./sys/lib/libkern/divdi3.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __divdi3 |
|
4 |
15 |
87 |
2 |
| Source file: ./sys/lib/libkern/funcs.h |
| Source file: ./sys/lib/libkern/adddi3.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __adddi3 |
|
1 |
9 |
95 |
2 |
| Source file: ./sys/lib/libkern/strlen.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| strlen |
|
2 |
7 |
34 |
1 |
| Source file: ./sys/lib/libkern/memcmp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| memcmp |
|
4 |
11 |
75 |
3 |
| Source file: ./sys/lib/libkern/mcount.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _MCOUNT_DECL |
|
18 |
74 |
412 |
2 |
| Source file: ./sys/lib/libkern/negdi2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __negdi2 |
|
1 |
8 |
67 |
1 |
| Source file: ./sys/lib/libkern/flsl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| flsl |
|
3 |
9 |
50 |
1 |
| Source file: ./sys/lib/libkern/memcpy.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| memcpy |
|
2 |
8 |
49 |
3 |
| Source file: ./sys/lib/libkern/fls.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fls |
|
3 |
9 |
50 |
1 |
| Source file: ./sys/lib/libkern/umoddi3.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __umoddi3 |
|
1 |
6 |
31 |
2 |
| Source file: ./sys/lib/libkern/xordi3.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __xordi3 |
|
1 |
9 |
63 |
2 |
| Source file: ./sys/lib/libkern/memset.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| memset |
|
11 |
37 |
209 |
3 |
| Source file: ./sys/lib/libkern/iordi3.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __iordi3 |
|
1 |
9 |
63 |
2 |
| Source file: ./sys/lib/libkern/subdi3.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __subdi3 |
|
1 |
9 |
95 |
2 |
| Source file: ./sys/lib/libkern/lmax.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| lmax |
|
2 |
4 |
21 |
2 |
| Source file: ./sys/lib/libkern/moddi3.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __moddi3 |
|
4 |
15 |
83 |
2 |
| Source file: ./sys/lib/libkern/qdivrem.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __qdivrem |
|
22 |
121 |
1120 |
3 |
| shl |
|
2 |
8 |
97 |
3 |
| Source file: ./sys/lib/libkern/softfloat-specialize.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| float32_is_nan |
|
1 |
4 |
22 |
1 |
| float32_is_signaling_nan |
|
2 |
4 |
29 |
1 |
| float32ToCommonNaN |
|
2 |
9 |
54 |
1 |
| commonNaNToFloat32 |
|
1 |
4 |
33 |
1 |
| propagateFloat32NaN |
|
10 |
25 |
172 |
2 |
| float64ToCommonNaN |
|
2 |
9 |
49 |
1 |
| commonNaNToFloat64 |
|
1 |
7 |
36 |
1 |
| propagateFloat64NaN |
|
10 |
25 |
178 |
2 |
| floatx80_is_nan |
|
2 |
4 |
32 |
1 |
| floatx80_is_signaling_nan |
|
3 |
9 |
53 |
1 |
| floatx80ToCommonNaN |
|
2 |
9 |
53 |
1 |
| commonNaNToFloatx80 |
|
1 |
7 |
51 |
1 |
| propagateFloatx80NaN |
|
10 |
25 |
162 |
2 |
| float128_is_nan |
|
3 |
6 |
44 |
1 |
| float128_is_signaling_nan |
|
3 |
6 |
42 |
1 |
| float128ToCommonNaN |
|
2 |
8 |
59 |
1 |
| commonNaNToFloat128 |
|
1 |
7 |
59 |
1 |
| propagateFloat128NaN |
|
10 |
25 |
196 |
2 |
| Source file: ./sys/lib/libkern/htons.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| htons |
|
2 |
6 |
40 |
1 |
| Source file: ./sys/lib/libkern/bcmp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bcmp |
|
4 |
15 |
81 |
3 |
| Source file: ./sys/lib/libkern/lshrdi3.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __lshrdi3 |
|
3 |
16 |
124 |
2 |
| Source file: ./sys/lib/libkern/libkern.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| imax |
|
2 |
4 |
21 |
2 |
| imin |
|
2 |
4 |
21 |
2 |
| lmax |
|
2 |
4 |
21 |
2 |
| lmin |
|
2 |
4 |
21 |
2 |
| max |
|
2 |
4 |
21 |
2 |
| min |
|
2 |
4 |
21 |
2 |
| ulmax |
|
2 |
4 |
21 |
2 |
| ulmin |
|
2 |
4 |
21 |
2 |
| abs |
|
2 |
4 |
19 |
1 |
| Source file: ./sys/lib/libkern/scanc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| scanc |
|
3 |
7 |
63 |
4 |
| Source file: ./sys/lib/libkern/strchr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| strchr |
|
3 |
9 |
43 |
2 |
| Source file: ./sys/lib/libkern/strlcpy.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| strlcpy |
|
7 |
18 |
96 |
3 |
| Source file: ./sys/lib/libkern/lshldi3.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __lshldi3 |
|
3 |
16 |
124 |
2 |
| Source file: ./sys/lib/libz/inflate.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| inflateReset |
|
3 |
23 |
156 |
1 |
| inflatePrime |
|
5 |
14 |
100 |
3 |
| inflateInit2_ |
|
13 |
39 |
268 |
4 |
| inflateInit_ |
|
1 |
7 |
33 |
3 |
| fixedtables |
|
8 |
31 |
237 |
1 |
| makefixed |
|
7 |
37 |
247 |
0 |
| updatewindow |
|
9 |
42 |
295 |
2 |
| inflate |
|
198 |
591 |
4042 |
2 |
| inflateEnd |
|
5 |
13 |
95 |
1 |
| inflateSetDictionary |
|
9 |
35 |
221 |
3 |
| inflateGetHeader |
|
4 |
12 |
77 |
2 |
| syncsearch |
|
6 |
21 |
106 |
3 |
| inflateSync |
|
8 |
34 |
262 |
1 |
| inflateSyncPoint |
|
4 |
8 |
55 |
1 |
| inflateCopy |
|
12 |
40 |
324 |
2 |
| Source file: ./sys/lib/libkern/timingsafe_bcmp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| timingsafe_bcmp |
|
2 |
8 |
62 |
3 |
| Source file: ./sys/lib/libkern/strnlen.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| strnlen |
|
3 |
7 |
49 |
2 |
| Source file: ./sys/lib/libkern/strrchr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| strrchr |
|
3 |
10 |
48 |
2 |
| Source file: ./sys/lib/libkern/min.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| min |
|
2 |
4 |
23 |
2 |
| Source file: ./sys/lib/libkern/imin.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| imin |
|
2 |
4 |
21 |
2 |
| Source file: ./sys/lib/libkern/bzero.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bzero |
|
2 |
6 |
31 |
2 |
| Source file: ./sys/lib/libkern/ashrdi3.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __ashrdi3 |
|
3 |
18 |
148 |
2 |
| Source file: ./sys/lib/libkern/anddi3.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __anddi3 |
|
1 |
9 |
63 |
2 |
| Source file: ./sys/lib/libkern/notdi2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __one_cmpldi2 |
|
1 |
8 |
52 |
1 |
| Source file: ./sys/lib/libkern/skpc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| skpc |
|
3 |
7 |
48 |
3 |
| Source file: ./sys/lib/libkern/__main.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __main |
|
1 |
3 |
6 |
1 |
| Source file: ./sys/lib/libkern/ffs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ffs |
|
4 |
25 |
136 |
1 |
| Source file: ./sys/lib/libkern/explicit_bzero.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __explicit_bzero_hook |
|
1 |
3 |
10 |
2 |
| explicit_bzero |
|
1 |
5 |
27 |
2 |
| Source file: ./sys/lib/libkern/cmpdi2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __cmpdi2 |
|
5 |
8 |
97 |
2 |
| Source file: ./sys/lib/libkern/strncpy.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| strncpy |
|
5 |
15 |
84 |
3 |
| Source file: ./sys/lib/libkern/htonl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| htonl |
|
2 |
6 |
56 |
1 |
| Source file: ./sys/lib/libkern/getsn.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| getsn |
|
12 |
40 |
159 |
2 |
| Source file: ./sys/lib/libkern/memchr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| memchr |
|
4 |
11 |
72 |
3 |
| Source file: ./sys/lib/libkern/quad.h |
| Source file: ./sys/lib/libkern/softfloat.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| float64_is_nan |
|
1 |
4 |
15 |
1 |
| float64_is_signaling_nan |
|
2 |
4 |
25 |
1 |
| Source file: ./sys/lib/libkern/ucmpdi2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __ucmpdi2 |
|
5 |
8 |
97 |
2 |
| Source file: ./sys/lib/libsa/strncmp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| strncmp |
|
6 |
8 |
57 |
3 |
| Source file: ./sys/lib/libsa/bcrypt_pbkdf.h |
| Source file: ./sys/lib/libz/trees.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| send_bits |
|
3 |
18 |
138 |
3 |
| tr_static_init |
|
16 |
54 |
474 |
0 |
| gen_trees_header |
|
7 |
39 |
334 |
0 |
| _tr_init |
|
2 |
17 |
106 |
1 |
| init_block |
|
4 |
11 |
116 |
1 |
| pqdownheap |
|
5 |
18 |
141 |
3 |
| gen_bitlen |
|
14 |
56 |
496 |
2 |
| gen_codes |
|
5 |
23 |
203 |
3 |
| build_tree |
|
11 |
48 |
494 |
2 |
| scan_tree |
|
11 |
38 |
270 |
3 |
| send_tree |
|
13 |
40 |
322 |
3 |
| build_bl_tree |
|
3 |
15 |
142 |
1 |
| send_all_trees |
|
6 |
22 |
223 |
4 |
| _tr_stored_block |
|
2 |
11 |
88 |
4 |
| _tr_align |
|
4 |
15 |
98 |
1 |
| Source file: ./sys/lib/libsa/bcrypt_pbkdf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bcrypt_hash |
|
5 |
31 |
290 |
3 |
| bcrypt_pbkdf |
|
11 |
54 |
459 |
7 |
| Source file: ./sys/lib/libsa/alloc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| alloc |
|
16 |
43 |
335 |
1 |
| free |
|
10 |
18 |
142 |
2 |
| Source file: ./sys/lib/libkern/softfloat-macros.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| shift32RightJamming |
|
3 |
14 |
81 |
3 |
| shift64RightJamming |
|
3 |
14 |
81 |
3 |
| shift64ExtraRightJamming |
|
4 |
25 |
133 |
5 |
| shift128Right |
|
4 |
20 |
122 |
5 |
| shift128RightJamming |
|
5 |
28 |
182 |
5 |
| shift128ExtraRightJamming |
|
6 |
47 |
208 |
7 |
| shortShift128Left |
|
2 |
7 |
61 |
5 |
| shortShift192Left |
|
2 |
24 |
107 |
7 |
| add128 |
|
1 |
8 |
51 |
6 |
| add192 |
|
1 |
26 |
111 |
9 |
| sub128 |
|
1 |
6 |
44 |
6 |
| sub192 |
|
1 |
26 |
111 |
9 |
| mul64To128 |
|
1 |
20 |
158 |
4 |
| mul128By64To192 |
|
1 |
17 |
92 |
6 |
| mul128To256 |
|
1 |
26 |
186 |
8 |
| estimateDiv128To64 |
|
5 |
19 |
184 |
3 |
| estimateSqrt32 |
|
4 |
26 |
253 |
2 |
| countLeadingZeros32 |
|
3 |
33 |
582 |
1 |
| countLeadingZeros64 |
|
2 |
13 |
52 |
1 |
| eq128 |
|
2 |
4 |
29 |
4 |
| le128 |
|
3 |
4 |
37 |
4 |
| lt128 |
|
3 |
4 |
37 |
4 |
| ne128 |
|
2 |
4 |
29 |
4 |
| Source file: ./sys/lib/libsa/bootparam.h |
| Source file: ./sys/lib/libsa/ether.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sendether |
|
5 |
17 |
135 |
5 |
| readether |
|
9 |
23 |
172 |
5 |
| ether_sprintf |
|
2 |
13 |
83 |
1 |
| Source file: ./sys/lib/libsa/bootp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bootp |
|
7 |
40 |
257 |
1 |
| bootpsend |
|
5 |
11 |
78 |
3 |
| bootprecv |
|
37 |
73 |
508 |
4 |
| vend_cmu |
|
5 |
11 |
68 |
1 |
| vend_rfc1048 |
|
12 |
37 |
260 |
2 |
| Source file: ./sys/lib/libsa/strcmp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| strcmp |
|
4 |
6 |
41 |
2 |
| Source file: ./sys/lib/libsa/disklabel.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| getdisklabel |
|
7 |
21 |
150 |
2 |
| Source file: ./sys/lib/libsa/lseek.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| olseek |
|
7 |
24 |
126 |
3 |
| Source file: ./sys/lib/libsa/ufs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| read_inode |
|
4 |
34 |
213 |
2 |
| block_map |
|
12 |
50 |
366 |
3 |
| buf_read_file |
|
7 |
36 |
272 |
3 |
| search_directory |
|
9 |
34 |
231 |
3 |
| ufs_open |
|
29 |
111 |
682 |
2 |
| ufs_close |
|
2 |
8 |
48 |
1 |
| ufs_close_internal |
|
4 |
13 |
96 |
1 |
| ufs_read |
|
6 |
24 |
148 |
4 |
| ufs_write |
|
1 |
4 |
25 |
4 |
| ufs_seek |
|
4 |
18 |
89 |
3 |
| ufs_stat |
|
1 |
9 |
73 |
2 |
| ufs_readdir |
|
9 |
33 |
240 |
2 |
| ffs_oldfscompat |
|
4 |
18 |
127 |
1 |
| Source file: ./sys/lib/libsa/saerrno.h |
| Source file: ./sys/lib/libsa/nullfs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| null_open |
|
1 |
4 |
16 |
2 |
| null_close |
|
1 |
4 |
12 |
1 |
| null_read |
|
1 |
4 |
23 |
4 |
| null_write |
|
1 |
4 |
23 |
4 |
| null_seek |
|
1 |
5 |
23 |
3 |
| null_stat |
|
1 |
4 |
17 |
2 |
| null_readdir |
|
1 |
4 |
16 |
2 |
| Source file: ./sys/lib/libsa/netif.h |
| Source file: ./sys/lib/libsa/cread.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| zcalloc |
|
1 |
4 |
26 |
3 |
| zcfree |
|
1 |
4 |
19 |
2 |
| get_byte |
|
5 |
18 |
112 |
1 |
| getLong |
|
2 |
12 |
92 |
1 |
| check_header |
|
21 |
51 |
341 |
1 |
| open |
|
7 |
27 |
192 |
2 |
| close |
|
4 |
19 |
118 |
1 |
| read |
|
21 |
81 |
603 |
3 |
| lseek |
|
17 |
65 |
396 |
3 |
| Source file: ./sys/lib/libsa/iodesc.h |
| Source file: ./sys/lib/libsa/hmac_sha1.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| hmac_sha1 |
|
4 |
31 |
226 |
5 |
| Source file: ./sys/lib/libsa/strerror.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| strerror |
|
14 |
35 |
115 |
1 |
| Source file: ./sys/lib/libsa/stand.h |
| Source file: ./sys/lib/libsa/pkcs5_pbkdf2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pkcs5_pbkdf2 |
|
9 |
40 |
367 |
7 |
| Source file: ./sys/lib/libsa/getchar.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| getchar |
|
5 |
10 |
50 |
1 |
| Source file: ./sys/lib/libsa/softraid.h |
| Source file: ./sys/lib/libsa/sha1.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| SHA1Transform |
|
2 |
44 |
1367 |
2 |
| SHA1Init |
|
1 |
9 |
59 |
1 |
| SHA1Update |
|
3 |
17 |
157 |
3 |
| SHA1Final |
|
7 |
25 |
235 |
2 |
| Source file: ./sys/lib/libsa/net.h |
| Source file: ./sys/lib/libsa/getfile.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| getfile |
|
4 |
12 |
85 |
2 |
| Source file: ./sys/lib/libsa/strlen.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| strlen |
|
2 |
7 |
34 |
1 |
| Source file: ./sys/lib/libsa/getln.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| getln |
|
18 |
47 |
203 |
2 |
| Source file: ./sys/lib/libsa/memcmp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| memcmp |
|
4 |
11 |
75 |
3 |
| Source file: ./sys/lib/libsa/loadfile_elf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ELFNAME( exec) |
|
52 |
176 |
1434 |
4 |
| Source file: ./sys/lib/libsa/ctime.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ctime |
|
10 |
35 |
298 |
1 |
| Source file: ./sys/lib/libsa/write.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| write |
|
6 |
22 |
163 |
3 |
| Source file: ./sys/lib/libsa/ufs2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| read_inode |
|
4 |
33 |
210 |
2 |
| block_map |
|
12 |
50 |
366 |
3 |
| buf_read_file |
|
7 |
36 |
272 |
3 |
| search_directory |
|
9 |
34 |
231 |
3 |
| ufs2_open |
|
29 |
111 |
681 |
2 |
| ufs2_close |
|
2 |
8 |
48 |
1 |
| ufs2_close_internal |
|
4 |
13 |
96 |
1 |
| ufs2_read |
|
6 |
24 |
148 |
4 |
| ufs2_write |
|
1 |
4 |
25 |
4 |
| ufs2_seek |
|
4 |
18 |
89 |
3 |
| ufs2_stat |
|
1 |
9 |
73 |
2 |
| ufs2_readdir |
|
9 |
33 |
240 |
2 |
| ffs_oldfscompat |
|
4 |
18 |
127 |
1 |
| Source file: ./sys/lib/libsa/strtol.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| strtol |
|
33 |
73 |
418 |
3 |
| Source file: ./sys/lib/libsa/closeall.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| closeall |
|
3 |
7 |
41 |
1 |
| Source file: ./sys/lib/libsa/netif.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| netif_init |
|
5 |
12 |
73 |
1 |
| netif_match |
|
3 |
8 |
53 |
2 |
| netif_select |
|
19 |
50 |
301 |
1 |
| netif_probe |
|
3 |
7 |
49 |
2 |
| netif_attach |
|
5 |
13 |
100 |
3 |
| netif_detach |
|
5 |
10 |
63 |
1 |
| netif_get |
|
8 |
16 |
117 |
4 |
| netif_put |
|
8 |
16 |
112 |
3 |
| socktodesc |
|
2 |
9 |
35 |
1 |
| netif_open |
|
5 |
25 |
146 |
1 |
| netif_close |
|
2 |
10 |
49 |
1 |
| Source file: ./sys/lib/libsa/memcpy.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| memcpy |
|
4 |
14 |
79 |
3 |
| Source file: ./sys/lib/libsa/sha2.h |
| Source file: ./sys/lib/libsa/netudp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sendudp |
|
10 |
50 |
429 |
3 |
| readudp |
|
37 |
93 |
670 |
4 |
| Source file: ./sys/lib/libsa/cd9660.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pnmatch |
|
4 |
14 |
81 |
2 |
| dirmatch |
|
15 |
25 |
168 |
2 |
| cd9660_open |
|
28 |
127 |
819 |
2 |
| cd9660_close |
|
1 |
7 |
41 |
1 |
| cd9660_read |
|
12 |
40 |
268 |
4 |
| cd9660_write |
|
1 |
4 |
23 |
4 |
| cd9660_seek |
|
4 |
18 |
83 |
3 |
| cd9660_stat |
|
1 |
8 |
61 |
2 |
| cd9660_readdir |
|
1 |
4 |
18 |
2 |
| Source file: ./sys/lib/libsa/readdir.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| opendir |
|
6 |
16 |
103 |
1 |
| readdir |
|
6 |
16 |
109 |
2 |
| closedir |
|
2 |
5 |
17 |
1 |
| Source file: ./sys/lib/libsa/arp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| arpwhohas |
|
9 |
56 |
397 |
2 |
| arpsend |
|
3 |
6 |
41 |
3 |
| arprecv |
|
27 |
49 |
306 |
4 |
| arp_reply |
|
13 |
29 |
246 |
2 |
| Source file: ./sys/lib/libsa/cd9660.h |
| Source file: ./sys/lib/libsa/hmac_sha1.h |
| Source file: ./sys/lib/libsa/memset.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| memset |
|
2 |
7 |
34 |
3 |
| Source file: ./sys/lib/libsa/sha1.h |
| Source file: ./sys/lib/libsa/dev.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| nodev |
|
1 |
4 |
11 |
1 |
| nullsys |
|
1 |
3 |
6 |
1 |
| noioctl |
|
1 |
4 |
21 |
3 |
| Source file: ./sys/lib/libsa/ioctl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ioctl |
|
5 |
16 |
104 |
3 |
| Source file: ./sys/lib/libsa/bootp.h |
| Source file: ./sys/lib/libsa/blowfish.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| Blowfish_encipher |
|
1 |
20 |
281 |
3 |
| Blowfish_decipher |
|
1 |
20 |
281 |
3 |
| Blowfish_initstate |
|
1 |
274 |
2116 |
1 |
| Blowfish_stream2word |
|
3 |
16 |
84 |
3 |
| Blowfish_expand0state |
|
5 |
29 |
212 |
3 |
| Blowfish_expandstate |
|
5 |
34 |
268 |
5 |
| blf_key |
|
1 |
5 |
30 |
3 |
| blf_enc |
|
2 |
10 |
56 |
3 |
| blf_dec |
|
2 |
10 |
56 |
3 |
| blf_ecb_encrypt |
|
2 |
19 |
206 |
3 |
| blf_ecb_decrypt |
|
2 |
19 |
206 |
3 |
| blf_cbc_encrypt |
|
3 |
22 |
239 |
4 |
| blf_cbc_decrypt |
|
4 |
38 |
447 |
4 |
| report |
|
2 |
7 |
50 |
2 |
| main |
|
2 |
24 |
177 |
1 |
| Source file: ./sys/lib/libsa/stat.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| stat |
|
5 |
11 |
85 |
2 |
| Source file: ./sys/lib/libsa/nfs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| nfs_getrootfh |
|
7 |
47 |
282 |
3 |
| nfs_lookupfh |
|
7 |
49 |
328 |
3 |
| nfs_readlink |
|
7 |
30 |
209 |
2 |
| nfs_readdata |
|
6 |
48 |
298 |
4 |
| nfs_mount |
|
5 |
21 |
141 |
3 |
| nfs_open |
|
24 |
87 |
503 |
2 |
| nfs_close |
|
4 |
10 |
60 |
1 |
| nfs_read |
|
11 |
29 |
173 |
4 |
| nfs_write |
|
1 |
4 |
25 |
4 |
| nfs_seek |
|
4 |
19 |
97 |
3 |
| nfs_stat |
|
1 |
14 |
127 |
2 |
| nfs_readdir |
|
1 |
4 |
18 |
2 |
| Source file: ./sys/lib/libsa/aes_xts.h |
| Source file: ./sys/lib/libsa/dkcksum.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dkcksum |
|
2 |
10 |
63 |
1 |
| Source file: ./sys/lib/libsa/sha2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| SHA224Init |
|
1 |
7 |
49 |
1 |
| SHA224Final |
|
3 |
9 |
77 |
2 |
| SHA256Init |
|
1 |
7 |
49 |
1 |
| SHA256Transform |
|
3 |
44 |
509 |
2 |
| SHA256Transform |
|
3 |
57 |
448 |
2 |
| SHA256Update |
|
6 |
33 |
229 |
3 |
| SHA256Pad |
|
4 |
26 |
179 |
1 |
| SHA256Final |
|
3 |
9 |
77 |
2 |
| SHA512Init |
|
1 |
7 |
56 |
1 |
| SHA512Transform |
|
3 |
44 |
509 |
2 |
| SHA512Transform |
|
3 |
57 |
448 |
2 |
| SHA512Update |
|
6 |
33 |
229 |
3 |
| SHA512Pad |
|
4 |
26 |
201 |
1 |
| SHA512Final |
|
3 |
9 |
77 |
2 |
| SHA384Init |
|
1 |
7 |
56 |
1 |
| SHA384Final |
|
3 |
9 |
77 |
2 |
| SHA512_256Init |
|
1 |
7 |
56 |
1 |
| SHA512_256Final |
|
3 |
9 |
77 |
2 |
| Source file: ./sys/lib/libsa/putchar.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| putchar |
|
8 |
27 |
91 |
1 |
| Source file: ./sys/lib/libsa/rijndael.h |
| Source file: ./sys/lib/libsa/fstat.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fstat |
|
4 |
14 |
90 |
2 |
| Source file: ./sys/lib/libsa/exit.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| panic |
|
2 |
15 |
68 |
2 |
| exit |
|
1 |
4 |
11 |
1 |
| Source file: ./sys/lib/libsa/net.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sendrecv |
|
11 |
37 |
233 |
7 |
| inet_addr |
|
16 |
50 |
276 |
1 |
| inet_ntoa |
|
1 |
4 |
18 |
1 |
| intoa |
|
4 |
25 |
138 |
1 |
| number |
|
2 |
6 |
51 |
2 |
| ip_convertaddr |
|
10 |
23 |
173 |
1 |
| Source file: ./sys/lib/libsa/aes_xts.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| aes_xts_reinit |
|
2 |
12 |
87 |
2 |
| aes_xts_crypt |
|
5 |
21 |
195 |
3 |
| aes_xts_encrypt |
|
1 |
4 |
22 |
2 |
| aes_xts_decrypt |
|
1 |
4 |
22 |
2 |
| aes_xts_setkey |
|
3 |
8 |
67 |
3 |
| aes_xts_zerokey |
|
1 |
4 |
20 |
1 |
| Source file: ./sys/lib/libsa/tftp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| recvtftp |
|
9 |
34 |
231 |
4 |
| tftp_makereq |
|
3 |
34 |
248 |
1 |
| tftp_getnextblock |
|
3 |
25 |
184 |
1 |
| tftp_terminate |
|
2 |
19 |
148 |
1 |
| tftp_open |
|
3 |
20 |
129 |
2 |
| tftp_read |
|
18 |
52 |
293 |
4 |
| tftp_close |
|
2 |
8 |
44 |
1 |
| tftp_write |
|
1 |
4 |
23 |
4 |
| tftp_stat |
|
1 |
11 |
64 |
2 |
| tftp_seek |
|
3 |
17 |
76 |
3 |
| tftp_readdir |
|
1 |
4 |
16 |
2 |
| Source file: ./sys/lib/libsa/strchr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| strchr |
|
4 |
9 |
52 |
2 |
| Source file: ./sys/lib/libsa/read.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| oread |
|
6 |
22 |
167 |
3 |
| Source file: ./sys/lib/libsa/close.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| oclose |
|
9 |
23 |
152 |
1 |
| Source file: ./sys/lib/libsa/in_cksum.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| in_cksum |
|
8 |
29 |
185 |
2 |
| Source file: ./sys/lib/libsa/pkcs5_pbkdf2.h |
| Source file: ./sys/lib/libsa/nfsv2.h |
| Source file: ./sys/lib/libsa/softraid.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| printhex |
|
4 |
13 |
109 |
3 |
| sr_clear_keys |
|
4 |
23 |
138 |
1 |
| sr_crypto_calculate_check_hmac_sha1 |
|
1 |
14 |
113 |
5 |
| sr_crypto_decrypt_keys |
|
24 |
112 |
765 |
1 |
| Source file: ./sys/lib/libsa/ufs2.h |
| Source file: ./sys/lib/libsa/rpcv2.h |
| Source file: ./sys/lib/libsa/strtoll.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| strtoll |
|
29 |
71 |
402 |
3 |
| Source file: ./sys/lib/libsa/globals.c |
| Source file: ./sys/lib/libsa/bootparam.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bp_whoami |
|
8 |
77 |
481 |
1 |
| bp_getfile |
|
8 |
56 |
372 |
4 |
| xdr_string_encode |
|
1 |
13 |
84 |
3 |
| xdr_string_decode |
|
2 |
19 |
114 |
3 |
| xdr_inaddr_encode |
|
1 |
21 |
152 |
2 |
| xdr_inaddr_decode |
|
2 |
25 |
161 |
2 |
| Source file: ./sys/lib/libsa/loadfile.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| loadfile |
|
14 |
37 |
264 |
3 |
| Source file: ./sys/lib/libsa/rarp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rarp_getipaddress |
|
10 |
54 |
364 |
1 |
| rarpsend |
|
3 |
6 |
41 |
3 |
| rarprecv |
|
24 |
43 |
269 |
4 |
| Source file: ./sys/lib/libsa/explicit_bzero.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| explicit_bzero |
|
1 |
4 |
18 |
2 |
| Source file: ./sys/lib/libsa/cons.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cninit |
|
6 |
13 |
84 |
1 |
| cnset |
|
6 |
18 |
102 |
1 |
| cngetc |
|
2 |
6 |
32 |
1 |
| cnputc |
|
4 |
8 |
51 |
1 |
| cnischar |
|
2 |
6 |
32 |
1 |
| Source file: ./sys/lib/libsa/strncpy.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| strncpy |
|
2 |
7 |
43 |
3 |
| Source file: ./sys/lib/libsa/rpc.h |
| Source file: ./sys/lib/libsa/tftp.h |
| Source file: ./sys/lib/libsa/snprintf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sputchar |
|
2 |
6 |
21 |
1 |
| snprintf |
|
3 |
14 |
84 |
4 |
| Source file: ./sys/lib/libsa/ufs.h |
| Source file: ./sys/lib/libsa/blowfish.h |
| Source file: ./sys/lib/libsa/printf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| printf |
|
1 |
7 |
35 |
2 |
| vprintf |
|
1 |
4 |
21 |
2 |
| kdoprnt |
|
43 |
122 |
714 |
3 |
| kprintn |
|
3 |
11 |
82 |
3 |
| kprintn64 |
|
3 |
11 |
81 |
3 |
| twiddle |
|
2 |
8 |
33 |
1 |
| Source file: ./sys/lib/libsa/open.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| oopen |
|
13 |
40 |
259 |
2 |
| Source file: ./sys/lib/libsa/loadfile.h |
| Source file: ./sys/lib/libsa/nfs.h |
| Source file: ./sys/lib/libsa/rpc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rpc_call |
|
13 |
76 |
537 |
8 |
| recvrpc |
|
11 |
32 |
193 |
4 |
| rpc_fromaddr |
|
1 |
15 |
74 |
3 |
| rpc_pmap_getcache |
|
5 |
10 |
75 |
3 |
| rpc_pmap_putcache |
|
3 |
14 |
76 |
4 |
| rpc_getport |
|
7 |
46 |
277 |
3 |
| Source file: ./sys/lib/libkern/softfloat.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| roundAndPackInt32 |
|
12 |
35 |
195 |
2 |
| roundAndPackInt64 |
|
13 |
38 |
202 |
3 |
| roundAndPackInt64NoOverflow |
|
9 |
31 |
154 |
3 |
| extractFloat32Frac |
|
1 |
4 |
12 |
1 |
| extractFloat32Exp |
|
1 |
4 |
17 |
1 |
| extractFloat32Sign |
|
1 |
4 |
13 |
1 |
| normalizeFloat32Subnormal |
|
1 |
7 |
42 |
3 |
| packFloat32 |
|
1 |
4 |
40 |
3 |
| roundAndPackFloat32 |
|
17 |
49 |
290 |
3 |
| normalizeRoundAndPackFloat32 |
|
1 |
6 |
40 |
3 |
| extractFloat64Frac |
|
1 |
4 |
18 |
1 |
| extractFloat64Exp |
|
1 |
4 |
20 |
1 |
| extractFloat64Sign |
|
1 |
4 |
16 |
1 |
| normalizeFloat64Subnormal |
|
1 |
7 |
42 |
3 |
| packFloat64 |
|
1 |
5 |
43 |
3 |
| roundAndPackFloat64 |
|
17 |
51 |
299 |
3 |
| normalizeRoundAndPackFloat64 |
|
1 |
6 |
40 |
3 |
| extractFloatx80Frac |
|
1 |
4 |
12 |
1 |
| extractFloatx80Exp |
|
1 |
4 |
14 |
1 |
| extractFloatx80Sign |
|
1 |
4 |
15 |
1 |
| normalizeFloatx80Subnormal |
|
1 |
7 |
40 |
3 |
| packFloatx80 |
|
1 |
7 |
43 |
3 |
| roundAndPackFloatx80 |
|
59 |
155 |
865 |
5 |
| normalizeRoundAndPackFloatx80 |
|
2 |
16 |
82 |
5 |
| extractFloat128Frac1 |
|
1 |
4 |
12 |
1 |
| extractFloat128Frac0 |
|
1 |
4 |
17 |
1 |
| extractFloat128Exp |
|
1 |
4 |
19 |
1 |
| extractFloat128Sign |
|
1 |
4 |
15 |
1 |
| normalizeFloat128Subnormal |
|
3 |
27 |
129 |
5 |
| packFloat128 |
|
1 |
7 |
58 |
4 |
| roundAndPackFloat128 |
|
29 |
86 |
424 |
5 |
| normalizeRoundAndPackFloat128 |
|
3 |
22 |
120 |
4 |
| int32_to_float32 |
|
4 |
8 |
61 |
1 |
| int32_to_float64 |
|
3 |
13 |
73 |
1 |
| int32_to_floatx80 |
|
3 |
13 |
80 |
1 |
| int32_to_float128 |
|
3 |
13 |
84 |
1 |
| int64_to_float32 |
|
5 |
23 |
120 |
1 |
| int64_to_float64 |
|
4 |
10 |
66 |
1 |
| int64_to_floatx80 |
|
3 |
11 |
71 |
1 |
| int64_to_float128 |
|
4 |
24 |
132 |
1 |
| float32_to_int32 |
|
5 |
17 |
103 |
1 |
| float32_to_int32_round_to_zero |
|
10 |
29 |
170 |
1 |
| float32_to_int64 |
|
6 |
23 |
137 |
1 |
| float32_to_int64_round_to_zero |
|
10 |
33 |
181 |
1 |
| float32_to_float64 |
|
5 |
19 |
126 |
1 |
| float32_to_floatx80 |
|
5 |
19 |
130 |
1 |
| float32_to_float128 |
|
5 |
19 |
132 |
1 |
| float32_round_to_int |
|
18 |
49 |
272 |
1 |
| addFloat32Sigs |
|
13 |
60 |
325 |
3 |
| subFloat32Sigs |
|
14 |
64 |
340 |
3 |
| float32_add |
|
2 |
12 |
60 |
2 |
| float32_sub |
|
2 |
12 |
60 |
2 |
| float32_mul |
|
14 |
51 |
350 |
2 |
| float32_div |
|
14 |
53 |
373 |
2 |
| float32_rem |
|
25 |
91 |
604 |
2 |
| float32_sqrt |
|
11 |
45 |
295 |
1 |
| float32_eq |
|
8 |
12 |
93 |
2 |
| float32_le |
|
8 |
14 |
117 |
2 |
| float32_lt |
|
8 |
14 |
117 |
2 |
| float32_eq_signaling |
|
6 |
10 |
79 |
2 |
| float32_le_quiet |
|
10 |
16 |
131 |
2 |
| float32_lt_quiet |
|
10 |
16 |
131 |
2 |
| float64_to_int32 |
|
5 |
14 |
94 |
1 |
| float64_to_int32_round_to_zero |
|
11 |
33 |
175 |
1 |
| float64_to_int64 |
|
7 |
29 |
156 |
1 |
| float64_to_int64_no_overflow |
|
4 |
23 |
120 |
1 |
| float64_to_int64_round_to_zero |
|
12 |
39 |
205 |
1 |
| float64_to_float32 |
|
5 |
21 |
111 |
1 |
| float64_to_floatx80 |
|
5 |
20 |
128 |
1 |
| float64_to_float128 |
|
5 |
20 |
143 |
1 |
| float64_round_to_int |
|
18 |
50 |
281 |
1 |
| addFloat64Sigs |
|
13 |
60 |
337 |
3 |
| subFloat64Sigs |
|
14 |
64 |
352 |
3 |
| float64_add |
|
2 |
12 |
60 |
2 |
| float64_sub |
|
2 |
12 |
60 |
2 |
| float64_mul |
|
14 |
49 |
354 |
2 |
| float64_div |
|
15 |
61 |
432 |
2 |
| float64_rem |
|
23 |
76 |
507 |
2 |
| float64_sqrt |
|
10 |
42 |
320 |
1 |
| float64_eq |
|
8 |
13 |
99 |
2 |
| float64_le |
|
8 |
18 |
129 |
2 |
| float64_lt |
|
8 |
18 |
129 |
2 |
| float64_eq_signaling |
|
6 |
10 |
79 |
2 |
| float64_le_quiet |
|
10 |
16 |
131 |
2 |
| float64_lt_quiet |
|
10 |
16 |
131 |
2 |
| floatx80_to_int32 |
|
4 |
14 |
95 |
1 |
| floatx80_to_int32_round_to_zero |
|
11 |
32 |
176 |
1 |
| floatx80_to_int64 |
|
6 |
27 |
137 |
1 |
| floatx80_to_int64_round_to_zero |
|
11 |
31 |
180 |
1 |
| floatx80_to_float32 |
|
5 |
18 |
108 |
1 |
| floatx80_to_float64 |
|
5 |
18 |
110 |
1 |
| floatx80_to_float128 |
|
3 |
14 |
100 |
1 |
| floatx80_round_to_int |
|
20 |
63 |
376 |
1 |
| addFloatx80Sigs |
|
13 |
55 |
352 |
3 |
| subFloatx80Sigs |
|
14 |
57 |
389 |
3 |
| floatx80_add |
|
2 |
12 |
60 |
2 |
| floatx80_sub |
|
2 |
12 |
60 |
2 |
| floatx80_mul |
|
14 |
50 |
367 |
2 |
| floatx80_div |
|
16 |
71 |
545 |
2 |
| floatx80_rem |
|
22 |
88 |
638 |
2 |
| floatx80_sqrt |
|
12 |
61 |
539 |
1 |
| floatx80_eq |
|
10 |
20 |
139 |
2 |
| floatx80_le |
|
8 |
23 |
175 |
2 |
| floatx80_lt |
|
8 |
23 |
175 |
2 |
| floatx80_eq_signaling |
|
8 |
17 |
125 |
2 |
| floatx80_le_quiet |
|
10 |
26 |
189 |
2 |
| floatx80_lt_quiet |
|
10 |
26 |
189 |
2 |
| float128_to_int32 |
|
5 |
16 |
115 |
1 |
| float128_to_int32_round_to_zero |
|
11 |
35 |
192 |
1 |
| float128_to_int64 |
|
8 |
30 |
173 |
1 |
| float128_to_int64_round_to_zero |
|
17 |
48 |
286 |
1 |
| float128_to_float32 |
|
5 |
25 |
132 |
1 |
| float128_to_float64 |
|
5 |
23 |
133 |
1 |
| float128_to_floatx80 |
|
5 |
25 |
167 |
1 |
| float128_round_to_int |
|
27 |
93 |
601 |
1 |
| addFloat128Sigs |
|
13 |
67 |
420 |
3 |
| subFloat128Sigs |
|
16 |
73 |
475 |
3 |
| float128_add |
|
2 |
12 |
60 |
2 |
| float128_sub |
|
2 |
12 |
60 |
2 |
| float128_mul |
|
14 |
55 |
461 |
2 |
| float128_div |
|
16 |
75 |
672 |
2 |
| float128_rem |
|
23 |
101 |
793 |
2 |
| float128_sqrt |
|
12 |
60 |
560 |
1 |
| float128_eq |
|
10 |
20 |
137 |
2 |
| float128_le |
|
8 |
23 |
173 |
2 |
| float128_lt |
|
8 |
23 |
173 |
2 |
| float128_eq_signaling |
|
8 |
17 |
123 |
2 |
| float128_le_quiet |
|
10 |
26 |
187 |
2 |
| float128_lt_quiet |
|
10 |
26 |
187 |
2 |
| float64_to_uint32_round_to_zero |
|
7 |
31 |
144 |
1 |
| float32_to_uint32_round_to_zero |
|
6 |
29 |
143 |
1 |
| Source file: ./sys/nfs/nfs_aiod.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| nfs_aiod |
|
10 |
54 |
332 |
1 |
| nfs_set_naiod |
|
10 |
40 |
230 |
1 |
| Source file: ./sys/nfs/nfs_kq.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| nfs_kqpoll |
|
14 |
63 |
405 |
1 |
| filt_nfsdetach |
|
4 |
25 |
164 |
1 |
| filt_nfsread |
|
5 |
16 |
118 |
2 |
| filt_nfsvnode |
|
3 |
10 |
54 |
2 |
| nfs_kqfilter |
|
8 |
54 |
313 |
1 |
| Source file: ./sys/nfs/nfs_var.h |
| Source file: ./sys/nfs/nfs_bio.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| nfs_bioread |
|
47 |
142 |
995 |
4 |
| nfs_write |
|
39 |
135 |
955 |
1 |
| nfs_getcacheblk |
|
4 |
15 |
124 |
4 |
| nfs_vinvalbuf |
|
11 |
36 |
271 |
4 |
| nfs_asyncio |
|
5 |
20 |
103 |
2 |
| nfs_doio |
|
24 |
131 |
884 |
2 |
| Source file: ./sys/nfs/krpc.h |
| Source file: ./sys/nfs/nfsm_subs.h |
| Source file: ./sys/nfs/nfs_debug.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| db_show_all_nfsreqs |
|
2 |
7 |
47 |
4 |
| nfs_request_print |
|
2 |
13 |
103 |
3 |
| db_show_all_nfsnodes |
|
2 |
7 |
47 |
4 |
| nfs_node_print |
|
2 |
12 |
101 |
3 |
| Source file: ./sys/nfs/nfsnode.h |
| Source file: ./sys/nfs/nfsproto.h |
| Source file: ./sys/nfs/nfs_boot.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| nfs_boot_init |
|
1 |
4 |
19 |
2 |
| nfs_boot_getfh |
|
1 |
5 |
26 |
4 |
| nfs_boot_init |
|
12 |
68 |
527 |
2 |
| nfs_boot_getfh |
|
9 |
48 |
326 |
4 |
| bp_whoami |
|
7 |
63 |
408 |
3 |
| bp_getfile |
|
7 |
43 |
269 |
6 |
| md_mount |
|
15 |
64 |
390 |
3 |
| Source file: ./sys/nfs/nfsrvcache.h |
| Source file: ./sys/nfs/nfsdiskless.h |
| Source file: ./sys/lib/libsa/rijndael.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rijndaelKeySetupEnc |
|
10 |
79 |
745 |
3 |
| rijndaelKeySetupDec |
|
3 |
36 |
527 |
3 |
| rijndaelEncrypt |
|
6 |
150 |
3242 |
4 |
| rijndaelDecrypt |
|
6 |
150 |
3242 |
4 |
| rijndael_set_key_enc_only |
|
2 |
10 |
57 |
3 |
| rijndael_set_key |
|
3 |
12 |
76 |
3 |
| rijndael_decrypt |
|
1 |
4 |
32 |
3 |
| rijndael_encrypt |
|
1 |
4 |
32 |
3 |
| Source file: ./sys/nfs/nfs_srvcache.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| nfsrv_cleanentry |
|
3 |
8 |
57 |
1 |
| nfsrv_initcache |
|
1 |
6 |
37 |
1 |
| nfsrv_getcache |
|
13 |
83 |
535 |
3 |
| nfsrv_updatecache |
|
8 |
29 |
159 |
3 |
| nfsrv_cleancache |
|
2 |
12 |
82 |
1 |
| nfsrv_lookupcache |
|
5 |
21 |
127 |
1 |
| Source file: ./sys/nfs/nfs_node.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| nfsnode_cmp |
|
2 |
6 |
55 |
2 |
| nfs_ninit |
|
1 |
4 |
19 |
1 |
| nfs_nget |
|
8 |
58 |
395 |
4 |
| nfs_inactive |
|
9 |
29 |
199 |
1 |
| nfs_reclaim |
|
9 |
26 |
175 |
1 |
| Source file: ./sys/nfs/rpcv2.h |
| Source file: ./sys/nfs/nfsmount.h |
| Source file: ./sys/nfs/krpc_subr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| krpc_get_xid |
|
2 |
10 |
41 |
1 |
| krpc_portmap |
|
5 |
40 |
240 |
4 |
| krpc_call |
|
28 |
193 |
1282 |
7 |
| xdr_string_encode |
|
4 |
24 |
147 |
2 |
| xdr_string_decode |
|
5 |
25 |
163 |
3 |
| xdr_inaddr_encode |
|
1 |
18 |
132 |
1 |
| xdr_inaddr_decode |
|
4 |
25 |
185 |
2 |
| Source file: ./sys/nfs/xdr_subs.h |
| Source file: ./sys/nfs/nfs_vfsops.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| nfs_statfs |
|
7 |
65 |
511 |
3 |
| nfs_fsinfo |
|
11 |
55 |
407 |
4 |
| nfs_mountroot |
|
12 |
56 |
464 |
1 |
| nfs_mount_diskless |
|
3 |
17 |
131 |
3 |
| nfs_decode_args |
|
51 |
117 |
894 |
3 |
| nfs_mount |
|
14 |
53 |
419 |
5 |
| mountnfs |
|
3 |
55 |
423 |
5 |
| nfs_unmount |
|
3 |
18 |
112 |
3 |
| nfs_root |
|
2 |
12 |
78 |
2 |
| nfs_sync |
|
7 |
21 |
135 |
4 |
| nfs_vget |
|
1 |
4 |
22 |
3 |
| nfs_sysctl |
|
11 |
34 |
184 |
7 |
| nfs_fhtovp |
|
1 |
4 |
24 |
3 |
| nfs_vptofh |
|
1 |
4 |
19 |
2 |
| nfs_start |
|
1 |
4 |
22 |
3 |
| nfs_quotactl |
|
1 |
4 |
28 |
5 |
| nfs_checkexp |
|
1 |
5 |
28 |
4 |
| Source file: ./sys/nfs/nfs_syscalls.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sys_nfssvc |
|
14 |
57 |
347 |
3 |
| nfssvc_addsock |
|
9 |
64 |
409 |
2 |
| nfssvc_nfsd |
|
31 |
135 |
809 |
1 |
| nfsrv_zapsock |
|
4 |
25 |
131 |
1 |
| nfsrv_slpderef |
|
3 |
7 |
55 |
1 |
| nfsrv_init |
|
7 |
33 |
202 |
1 |
| nfssvc_iod |
|
15 |
70 |
427 |
1 |
| nfs_getset_niothreads |
|
9 |
23 |
149 |
1 |
| nfsrv_getslp |
|
9 |
32 |
169 |
1 |
| Source file: ./sys/nfs/nfs.h |
| Source file: ./sys/nfs/nfs_subs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| nfsm_reqhead |
|
2 |
9 |
45 |
1 |
| nfs_get_xid |
|
2 |
10 |
46 |
1 |
| nfsm_rpchead |
|
6 |
50 |
371 |
3 |
| nfsm_mbuftouio |
|
13 |
59 |
357 |
4 |
| nfsm_uiotombuf |
|
6 |
34 |
207 |
3 |
| nfsm_buftombuf |
|
1 |
13 |
77 |
3 |
| nfsm_strtombuf |
|
1 |
17 |
124 |
3 |
| nfsm_disct |
|
11 |
51 |
326 |
5 |
| nfs_adv |
|
3 |
17 |
93 |
4 |
| nfs_init |
|
3 |
22 |
144 |
1 |
| nfs_vfs_init |
|
1 |
8 |
47 |
1 |
| nfs_loadattrcache |
|
28 |
143 |
1052 |
4 |
| nfs_attrtimeo |
|
5 |
21 |
116 |
1 |
| nfs_getattrcache |
|
10 |
33 |
220 |
2 |
| nfs_namei |
|
17 |
83 |
517 |
9 |
| nfsm_adj |
|
12 |
40 |
244 |
3 |
| nfsm_srvwcc |
|
2 |
19 |
132 |
6 |
| nfsm_srvpostop_attr |
|
2 |
15 |
95 |
4 |
| nfsm_srvfattr |
|
3 |
36 |
372 |
3 |
| nfsrv_fhtovp |
|
14 |
42 |
307 |
7 |
| netaddr_match |
|
4 |
15 |
77 |
3 |
| nfs_clearcommit |
|
5 |
20 |
142 |
1 |
| nfs_merge_commit_ranges |
|
4 |
16 |
109 |
1 |
| nfs_in_committed_range |
|
3 |
10 |
77 |
2 |
| nfs_in_tobecommitted_range |
|
3 |
10 |
77 |
2 |
| nfs_add_committed_range |
|
4 |
17 |
110 |
2 |
| nfs_del_committed_range |
|
7 |
21 |
140 |
2 |
| nfs_add_tobecommitted_range |
|
4 |
17 |
110 |
2 |
| nfs_del_tobecommitted_range |
|
7 |
21 |
140 |
2 |
| nfsrv_errmap |
|
7 |
20 |
124 |
2 |
| nfsm_v3attrbuild |
|
12 |
65 |
470 |
3 |
| nfsm_build |
|
3 |
19 |
107 |
2 |
| nfsm_fhtom |
|
2 |
9 |
66 |
3 |
| nfsm_srvfhtom |
|
2 |
8 |
43 |
3 |
| nfsm_srvsattr |
|
9 |
60 |
399 |
4 |
| txdr_nfsv2time |
|
3 |
13 |
95 |
2 |
| Source file: ./sys/netmpls/mpls_output.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mpls_output |
|
18 |
70 |
457 |
4 |
| mpls_do_cksum |
|
2 |
12 |
75 |
1 |
| mpls_getttl |
|
10 |
33 |
181 |
2 |
| Source file: ./sys/nfs/nfs_socket.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| nfs_init_rtt |
|
3 |
8 |
56 |
1 |
| nfs_update_rtt |
|
2 |
13 |
95 |
1 |
| nfs_estimate_rto |
|
7 |
26 |
155 |
2 |
| nfs_connect |
|
26 |
119 |
860 |
2 |
| nfs_reconnect |
|
4 |
17 |
111 |
1 |
| nfs_disconnect |
|
2 |
10 |
46 |
1 |
| nfs_send |
|
13 |
38 |
221 |
4 |
| nfs_receive |
|
49 |
165 |
1010 |
3 |
| nfs_reply |
|
16 |
64 |
389 |
1 |
| nfs_request |
|
30 |
127 |
840 |
3 |
| nfs_rephead |
|
14 |
67 |
391 |
6 |
| nfs_timer |
|
25 |
79 |
529 |
1 |
| nfs_sigintr |
|
7 |
12 |
94 |
3 |
| nfs_sndlock |
|
7 |
24 |
143 |
2 |
| nfs_sndunlock |
|
3 |
10 |
51 |
1 |
| nfs_rcvlock |
|
6 |
25 |
143 |
1 |
| nfs_rcvunlock |
|
3 |
10 |
48 |
1 |
| nfs_realign_fixup |
|
5 |
18 |
144 |
3 |
| nfs_realign |
|
8 |
31 |
198 |
2 |
| nfs_getreq |
|
27 |
104 |
721 |
3 |
| nfs_msg |
|
2 |
11 |
60 |
2 |
| nfsrv_rcv |
|
21 |
77 |
430 |
3 |
| nfsrv_getstream |
|
20 |
106 |
639 |
2 |
| nfsrv_dorec |
|
6 |
36 |
223 |
3 |
| nfsrv_wakenfsd |
|
4 |
19 |
94 |
1 |
| Source file: ./sys/netmpls/mpls_shim.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mpls_shim_pop |
|
3 |
8 |
61 |
1 |
| mpls_shim_swap |
|
3 |
17 |
118 |
2 |
| mpls_shim_push |
|
2 |
10 |
78 |
2 |
| Source file: ./sys/netmpls/mpls_raw.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mpls_sysctl |
|
3 |
13 |
80 |
6 |
| Source file: ./sys/netmpls/mpls_proto.c |
| Source file: ./sys/netmpls/mpls_input.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mpls_input |
|
44 |
168 |
994 |
1 |
| mpls_ip_adjttl |
|
6 |
25 |
167 |
2 |
| mpls_ip6_adjttl |
|
3 |
12 |
76 |
2 |
| mpls_do_error |
|
14 |
77 |
623 |
4 |
| Source file: ./sys/conf/swapgeneric.c |
| Source file: ./sys/conf/param.c |
| Source file: ./sys/netmpls/mpls.h |
| Source file: ./sys/stand/boot/cmd.h |
| Source file: ./sys/stand/boot/bootarg.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| addbootarg |
|
1 |
9 |
82 |
3 |
| makebootargs |
|
7 |
24 |
171 |
2 |
| makebootargs32 |
|
7 |
37 |
265 |
2 |
| Source file: ./sys/stand/boot/boot.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| boot |
|
13 |
55 |
371 |
1 |
| loadrandom |
|
9 |
30 |
219 |
3 |
| Source file: ./sys/stand/boot/bootarg.h |
| Source file: ./sys/stand/boot/vars.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| Xdebug |
|
6 |
10 |
75 |
1 |
| Xdb_console |
|
8 |
24 |
128 |
1 |
| Xtimeout |
|
2 |
8 |
52 |
1 |
| Xset |
|
2 |
10 |
57 |
1 |
| Xdevice |
|
2 |
8 |
48 |
1 |
| Ximage |
|
2 |
8 |
48 |
1 |
| Xaddr |
|
2 |
8 |
49 |
1 |
| Xtty |
|
4 |
20 |
105 |
1 |
| Xhowto |
|
7 |
19 |
95 |
1 |
| bootparse |
|
8 |
34 |
141 |
1 |
| Xenv |
|
12 |
32 |
215 |
1 |
| Source file: ./sys/stand/efi/include/i386/efibind.h |
| Source file: ./sys/stand/efi/include/arm64/efibind.h |
| Source file: ./sys/stand/boot/cmd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| getcmd |
|
2 |
7 |
40 |
1 |
| read_conf |
|
16 |
51 |
304 |
1 |
| docmd |
|
17 |
42 |
295 |
1 |
| whatcmd |
|
5 |
13 |
93 |
2 |
| readline |
|
21 |
55 |
265 |
3 |
| nextword |
|
8 |
13 |
68 |
1 |
| print_help |
|
2 |
6 |
36 |
1 |
| Xhelp |
|
2 |
7 |
24 |
1 |
| Xmachine |
|
1 |
6 |
19 |
1 |
| Xecho |
|
2 |
8 |
44 |
1 |
| Xstty |
|
5 |
25 |
160 |
1 |
| Xtime |
|
2 |
7 |
33 |
1 |
| Xls |
|
8 |
32 |
210 |
1 |
| ls |
|
4 |
9 |
115 |
2 |
| Xnop |
|
2 |
8 |
26 |
1 |
| Xboot |
|
6 |
14 |
99 |
1 |
| qualify |
|
4 |
13 |
82 |
1 |
| Xreboot |
|
1 |
6 |
18 |
1 |
| Source file: ./sys/stand/efi/include/arm/efibind.h |
| Source file: ./sys/stand/efi/include/efifs.h |
| Source file: ./sys/stand/efi/include/efifpswa.h |
| Source file: ./sys/stand/efi/include/amd64/efibind.h |
| Source file: ./sys/stand/efi/include/efi.h |
| Source file: ./sys/stand/efi/include/efierr.h |
| Source file: ./sys/nfs/nfs_serv.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| nfsrv3_access |
|
10 |
57 |
395 |
4 |
| nfsrv_getattr |
|
3 |
40 |
259 |
4 |
| nfsrv_setattr |
|
25 |
110 |
809 |
4 |
| nfsrv_lookup |
|
7 |
66 |
504 |
4 |
| nfsrv_readlink |
|
8 |
77 |
499 |
4 |
| nfsrv_read |
|
31 |
156 |
1073 |
4 |
| nfsrv_write |
|
30 |
152 |
1012 |
4 |
| nfsrv_create |
|
52 |
247 |
1680 |
4 |
| nfsrv_mknod |
|
28 |
146 |
1099 |
4 |
| nfsrv_remove |
|
12 |
71 |
468 |
4 |
| nfsrv_rename |
|
44 |
165 |
1142 |
4 |
| nfsrv_link |
|
14 |
91 |
630 |
4 |
| nfsrv_symlink |
|
22 |
140 |
959 |
4 |
| nfsrv_mkdir |
|
17 |
108 |
748 |
4 |
| nfsrv_rmdir |
|
12 |
79 |
498 |
4 |
| nfsrv_readdir |
|
26 |
173 |
1202 |
4 |
| nfsrv_readdirplus |
|
21 |
174 |
1224 |
4 |
| nfsrv_commit |
|
3 |
48 |
367 |
4 |
| nfsrv_statfs |
|
5 |
70 |
520 |
4 |
| nfsrv_fsinfo |
|
3 |
55 |
394 |
4 |
| nfsrv_pathconf |
|
6 |
55 |
387 |
4 |
| nfsrv_null |
|
1 |
13 |
85 |
4 |
| nfsrv_noop |
|
2 |
17 |
100 |
4 |
| nfsrv_access |
|
13 |
26 |
156 |
6 |
| Source file: ./sys/stand/efi/include/efistdarg.h |
| Source file: ./sys/stand/efi/include/efi_nii.h |
| Source file: ./sys/stand/efi/include/efipart.h |
| Source file: ./sys/stand/efi/include/eficon.h |
| Source file: ./sys/stand/efi/include/efigop.h |
| Source file: ./sys/stand/efi/include/efipxebc.h |
| Source file: ./sys/stand/efi/include/efiser.h |
| Source file: ./sys/stand/efi/include/efidevp.h |
| Source file: ./sys/stand/efi/include/efidef.h |
| Source file: ./sys/stand/efi/include/eficonsctl.h |
| Source file: ./sys/stand/efi/include/efiapi.h |
| Source file: ./sys/stand/efi/include/efidebug.h |
| Source file: ./sys/net80211/ieee80211_radiotap.h |
| Source file: ./sys/stand/efi/include/efinet.h |
| Source file: ./sys/net80211/ieee80211_regdomain.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bsearch |
|
4 |
18 |
137 |
5 |
| ieee80211_regdomain_compare_cn |
|
1 |
5 |
44 |
2 |
| ieee80211_regdomain_compare_rn |
|
1 |
5 |
44 |
2 |
| ieee80211_name2countrycode |
|
2 |
9 |
65 |
1 |
| ieee80211_name2regdomain |
|
2 |
12 |
79 |
1 |
| ieee80211_countrycode2name |
|
3 |
9 |
62 |
1 |
| ieee80211_regdomain2name |
|
3 |
9 |
67 |
1 |
| ieee80211_regdomain2flag |
|
7 |
17 |
108 |
2 |
| ieee80211_countrycode2regdomain |
|
3 |
8 |
55 |
1 |
| Source file: ./sys/net80211/ieee80211_mira.h |
| Source file: ./sys/net80211/ieee80211_priv.h |
| Source file: ./sys/stand/efi/include/efiprot.h |
| Source file: ./sys/net80211/ieee80211_var.h |
| Source file: ./sys/net80211/ieee80211.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ieee80211_has_seq |
|
1 |
5 |
24 |
1 |
| ieee80211_has_addr4 |
|
1 |
5 |
24 |
1 |
| ieee80211_has_qos |
|
1 |
6 |
32 |
1 |
| ieee80211_has_htc |
|
3 |
7 |
42 |
1 |
| ieee80211_get_qos |
|
2 |
9 |
63 |
1 |
| Source file: ./sys/net80211/ieee80211_crypto_bip.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ieee80211_bip_set_key |
|
2 |
10 |
66 |
2 |
| ieee80211_bip_delete_key |
|
2 |
8 |
58 |
2 |
| ieee80211_bip_encap |
|
3 |
48 |
402 |
3 |
| ieee80211_bip_decap |
|
3 |
41 |
354 |
3 |
| Source file: ./sys/net80211/ieee80211_node.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ieee80211_node_incref |
|
1 |
7 |
28 |
1 |
| ieee80211_node_decref |
|
1 |
9 |
36 |
1 |
| ieee80211_ref_node |
|
1 |
5 |
17 |
1 |
| ieee80211_unref_node |
|
1 |
5 |
20 |
1 |
| Source file: ./sys/net80211/ieee80211_crypto_ccmp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ieee80211_ccmp_set_key |
|
2 |
10 |
68 |
2 |
| ieee80211_ccmp_delete_key |
|
2 |
8 |
58 |
2 |
| ieee80211_ccmp_phase1 |
|
8 |
65 |
555 |
7 |
| ieee80211_ccmp_encrypt |
|
19 |
112 |
873 |
3 |
| ieee80211_ccmp_decrypt |
|
23 |
132 |
958 |
3 |
| Source file: ./sys/net80211/ieee80211_amrr.h |
| Source file: ./sys/net80211/ieee80211_rssadapt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ieee80211_rssadapt_choose |
|
13 |
44 |
299 |
7 |
| ieee80211_rssadapt_updatestats |
|
1 |
10 |
94 |
1 |
| ieee80211_rssadapt_input |
|
2 |
10 |
84 |
4 |
| ieee80211_rssadapt_lower_rate |
|
4 |
33 |
255 |
4 |
| ieee80211_rssadapt_raise_rate |
|
12 |
49 |
436 |
3 |
| Source file: ./sys/net80211/ieee80211_regdomain.h |
| Source file: ./sys/net80211/ieee80211_crypto_wep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ieee80211_wep_set_key |
|
2 |
9 |
54 |
2 |
| ieee80211_wep_delete_key |
|
2 |
8 |
58 |
2 |
| ieee80211_wep_encrypt |
|
18 |
98 |
753 |
3 |
| ieee80211_wep_decrypt |
|
15 |
90 |
645 |
3 |
| Source file: ./sys/net80211/ieee80211_proto.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ieee80211_proto_attach |
|
1 |
15 |
104 |
1 |
| ieee80211_proto_detach |
|
1 |
6 |
36 |
1 |
| ieee80211_print_essid |
|
8 |
21 |
148 |
2 |
| ieee80211_dump_pkt |
|
14 |
57 |
410 |
4 |
| ieee80211_fix_rate |
|
23 |
65 |
451 |
3 |
| ieee80211_reset_erp |
|
12 |
22 |
124 |
1 |
| ieee80211_set_shortslottime |
|
3 |
9 |
44 |
2 |
| ieee80211_keyrun |
|
8 |
32 |
224 |
2 |
| ieee80211_node_gtk_rekey |
|
4 |
10 |
59 |
2 |
| ieee80211_setkeys |
|
4 |
24 |
197 |
1 |
| ieee80211_setkeysdone |
|
6 |
13 |
114 |
1 |
| ieee80211_gtk_rekey_timeout |
|
1 |
9 |
44 |
1 |
| ieee80211_sa_query_timeout |
|
2 |
13 |
69 |
1 |
| ieee80211_sa_query_request |
|
2 |
12 |
73 |
2 |
| ieee80211_ht_negotiate |
|
12 |
33 |
199 |
2 |
| ieee80211_tx_ba_timeout |
|
3 |
18 |
119 |
1 |
| ieee80211_rx_ba_timeout |
|
1 |
13 |
92 |
1 |
| ieee80211_addba_request |
|
2 |
21 |
162 |
4 |
| ieee80211_delba_request |
|
6 |
28 |
218 |
5 |
| ieee80211_auth_open |
|
21 |
87 |
521 |
6 |
| ieee80211_set_beacon_miss_threshold |
|
3 |
12 |
100 |
1 |
| ieee80211_newstate |
|
62 |
232 |
1085 |
3 |
| ieee80211_set_link_state |
|
5 |
19 |
76 |
2 |
| Source file: ./sys/nfs/nfs_vnops.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| nfs_cache_enter |
|
3 |
13 |
89 |
3 |
| nfs_null |
|
1 |
9 |
65 |
3 |
| nfs_access |
|
28 |
89 |
576 |
1 |
| nfs_open |
|
17 |
54 |
368 |
1 |
| nfs_close |
|
5 |
22 |
143 |
1 |
| nfs_getattr |
|
4 |
25 |
185 |
1 |
| nfs_setattr |
|
29 |
65 |
461 |
1 |
| nfs_setattrrpc |
|
7 |
47 |
353 |
4 |
| nfs_lookup |
|
65 |
211 |
1374 |
1 |
| nfs_read |
|
2 |
8 |
57 |
1 |
| nfs_readlink |
|
2 |
8 |
55 |
1 |
| nfs_readlinkrpc |
|
3 |
24 |
161 |
3 |
| nfs_readrpc |
|
13 |
57 |
400 |
2 |
| nfs_writerpc |
|
20 |
99 |
666 |
4 |
| nfs_mknodrpc |
|
17 |
82 |
609 |
4 |
| nfs_mknod |
|
2 |
11 |
67 |
1 |
| nfs_create |
|
20 |
88 |
657 |
1 |
| nfs_remove |
|
12 |
35 |
268 |
1 |
| nfs_removeit |
|
2 |
7 |
48 |
1 |
| nfs_removerpc |
|
3 |
26 |
185 |
5 |
| nfs_rename |
|
18 |
47 |
318 |
1 |
| nfs_renameit |
|
1 |
6 |
51 |
3 |
| nfs_renamerpc |
|
4 |
34 |
262 |
8 |
| nfs_link |
|
5 |
44 |
327 |
1 |
| nfs_symlink |
|
7 |
53 |
408 |
1 |
| nfs_mkdir |
|
12 |
68 |
485 |
1 |
| nfs_rmdir |
|
5 |
43 |
295 |
1 |
| nfs_readdir |
|
24 |
86 |
628 |
1 |
| nfs_readdirrpc |
|
30 |
158 |
1070 |
4 |
| nfs_readdirplusrpc |
|
32 |
190 |
1318 |
5 |
| nfs_sillyrename |
|
7 |
40 |
290 |
3 |
| nfs_lookitup |
|
15 |
65 |
422 |
6 |
| nfs_commit |
|
4 |
34 |
236 |
4 |
| nfs_bmap |
|
3 |
10 |
72 |
1 |
| nfs_strategy |
|
5 |
16 |
109 |
1 |
| nfs_fsync |
|
1 |
5 |
39 |
1 |
| nfs_flush |
|
38 |
136 |
846 |
5 |
| nfs_pathconf |
|
15 |
51 |
239 |
1 |
| nfs_advlock |
|
1 |
7 |
58 |
1 |
| nfs_print |
|
3 |
12 |
74 |
1 |
| nfs_bwrite |
|
1 |
5 |
27 |
1 |
| nfs_writebp |
|
18 |
77 |
487 |
2 |
| nfsspec_access |
|
7 |
22 |
136 |
1 |
| nfs_poll |
|
1 |
5 |
32 |
1 |
| nfsspec_read |
|
1 |
8 |
49 |
1 |
| nfsspec_write |
|
1 |
8 |
49 |
1 |
| nfsspec_close |
|
6 |
20 |
145 |
1 |
| nfsfifo_read |
|
1 |
8 |
49 |
1 |
| nfsfifo_write |
|
1 |
8 |
49 |
1 |
| nfsfifo_close |
|
8 |
26 |
181 |
1 |
| nfsfifo_reclaim |
|
1 |
5 |
21 |
1 |
| Source file: ./sys/net80211/ieee80211_crypto.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ieee80211_crypto_attach |
|
2 |
16 |
92 |
1 |
| ieee80211_crypto_detach |
|
2 |
13 |
101 |
1 |
| ieee80211_crypto_clear_groupkeys |
|
3 |
10 |
73 |
1 |
| ieee80211_cipher_keylen |
|
6 |
17 |
49 |
1 |
| ieee80211_set_key |
|
6 |
23 |
98 |
3 |
| ieee80211_delete_key |
|
6 |
22 |
93 |
3 |
| ieee80211_get_txkey |
|
6 |
16 |
98 |
3 |
| ieee80211_encrypt |
|
6 |
23 |
108 |
3 |
| ieee80211_decrypt |
|
17 |
61 |
366 |
3 |
| ieee80211_prf |
|
3 |
22 |
146 |
8 |
| ieee80211_kdf |
|
3 |
25 |
187 |
8 |
| ieee80211_derive_ptk |
|
6 |
18 |
219 |
7 |
| ieee80211_pmkid_sha1 |
|
1 |
12 |
89 |
4 |
| ieee80211_pmkid_sha256 |
|
1 |
12 |
89 |
4 |
| ieee80211_derive_pmkid |
|
2 |
8 |
57 |
5 |
| ieee80211_eapol_key_mic |
|
4 |
26 |
200 |
2 |
| ieee80211_eapol_key_check_mic |
|
1 |
9 |
63 |
2 |
| ieee80211_eapol_key_encrypt |
|
9 |
40 |
323 |
3 |
| ieee80211_eapol_key_decrypt |
|
6 |
31 |
207 |
2 |
| ieee80211_pmksa_add |
|
6 |
28 |
197 |
5 |
| ieee80211_pmksa_find |
|
5 |
13 |
82 |
3 |
| Source file: ./sys/net80211/ieee80211_mira.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mira_fixedp_split |
|
1 |
8 |
66 |
3 |
| mira_fp_sprintf |
|
3 |
11 |
71 |
1 |
| mira_print_driver_stats |
|
1 |
9 |
83 |
2 |
| ieee80211_mira_get_rateset |
|
4 |
11 |
66 |
1 |
| ieee80211_mira_probe_timeout_up |
|
1 |
9 |
47 |
1 |
| ieee80211_mira_probe_timeout_down |
|
1 |
9 |
47 |
1 |
| ieee80211_mira_get_txrate |
|
1 |
11 |
52 |
1 |
| ieee80211_mira_legacy_txtime |
|
4 |
15 |
104 |
3 |
| ieee80211_mira_ht_txtime |
|
2 |
24 |
152 |
3 |
| ieee80211_mira_best_basic_rate |
|
5 |
14 |
99 |
1 |
| ieee80211_mira_ack_rate |
|
4 |
11 |
51 |
1 |
| ieee80211_mira_toverhead |
|
8 |
41 |
270 |
3 |
| ieee80211_mira_update_stats |
|
13 |
56 |
466 |
3 |
| ieee80211_mira_reset_goodput_stats |
|
2 |
10 |
70 |
1 |
| ieee80211_mira_reset_driver_stats |
|
1 |
8 |
39 |
1 |
| ieee80211_mira_next_lower_intra_rate |
|
5 |
19 |
126 |
2 |
| ieee80211_mira_next_intra_rate |
|
5 |
19 |
124 |
2 |
| ieee80211_mira_next_rateset |
|
10 |
30 |
174 |
2 |
| ieee80211_mira_best_mcs_in_rateset |
|
4 |
17 |
112 |
2 |
| ieee80211_mira_probe_next_rateset |
|
8 |
37 |
281 |
3 |
| ieee80211_mira_next_mcs |
|
3 |
12 |
65 |
2 |
| ieee80211_mira_prev_mcs |
|
3 |
12 |
65 |
2 |
| ieee80211_mira_probe_valid |
|
2 |
7 |
44 |
2 |
| ieee80211_mira_probe_done |
|
1 |
8 |
37 |
1 |
| ieee80211_mira_intra_mode_ra_finished |
|
16 |
52 |
333 |
2 |
| ieee80211_mira_trigger_next_rateset |
|
2 |
11 |
59 |
2 |
| ieee80211_mira_inter_mode_ra_finished |
|
1 |
5 |
27 |
2 |
| ieee80211_mira_best_rate |
|
8 |
28 |
196 |
2 |
| ieee80211_mira_update_probe_interval |
|
3 |
14 |
74 |
2 |
| ieee80211_mira_schedule_probe_timers |
|
7 |
27 |
197 |
2 |
| ieee80211_mira_check_probe_timers |
|
10 |
39 |
211 |
2 |
| ieee80211_mira_probe_next_rate |
|
3 |
14 |
105 |
2 |
| ieee80211_mira_valid_tx_mcs |
|
5 |
11 |
109 |
2 |
| ieee80211_mira_valid_rates |
|
4 |
14 |
80 |
2 |
| ieee80211_mira_mcs_below |
|
3 |
14 |
92 |
2 |
| ieee80211_mira_choose |
|
13 |
74 |
517 |
3 |
| ieee80211_mira_node_init |
|
1 |
10 |
63 |
1 |
| ieee80211_mira_cancel_timeouts |
|
2 |
6 |
41 |
1 |
| Source file: ./sys/net80211/ieee80211_pae_output.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ieee80211_send_eapol_key |
|
11 |
49 |
367 |
4 |
| ieee80211_eapol_timeout |
|
5 |
24 |
120 |
1 |
| ieee80211_add_gtk_kde |
|
2 |
16 |
117 |
3 |
| ieee80211_add_pmkid_kde |
|
1 |
9 |
58 |
2 |
| ieee80211_add_igtk_kde |
|
1 |
12 |
98 |
2 |
| ieee80211_get_eapol_key |
|
5 |
18 |
112 |
3 |
| ieee80211_send_4way_msg1 |
|
7 |
37 |
291 |
2 |
| ieee80211_send_4way_msg2 |
|
5 |
35 |
275 |
4 |
| ieee80211_send_4way_msg3 |
|
10 |
56 |
451 |
2 |
| ieee80211_send_4way_msg4 |
|
4 |
27 |
204 |
2 |
| ieee80211_send_group_msg1 |
|
13 |
61 |
457 |
2 |
| ieee80211_send_group_msg2 |
|
4 |
25 |
202 |
3 |
| ieee80211_send_eapol_key_req |
|
4 |
22 |
177 |
4 |
| Source file: ./sys/net80211/ieee80211_amrr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| is_min_rate |
|
2 |
6 |
35 |
1 |
| is_max_rate |
|
2 |
6 |
41 |
1 |
| increase_rate |
|
2 |
7 |
28 |
1 |
| decrease_rate |
|
2 |
7 |
28 |
1 |
| ieee80211_amrr_node_init |
|
1 |
8 |
45 |
2 |
| ieee80211_amrr_choose |
|
13 |
44 |
271 |
3 |
| Source file: ./sys/net80211/ieee80211_crypto_tkip.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ieee80211_tkip_set_key |
|
3 |
17 |
115 |
2 |
| ieee80211_tkip_delete_key |
|
2 |
8 |
58 |
2 |
| ieee80211_tkip_mic |
|
8 |
49 |
343 |
4 |
| ieee80211_tkip_encrypt |
|
17 |
107 |
878 |
3 |
| ieee80211_tkip_decrypt |
|
21 |
127 |
937 |
3 |
| ieee80211_tkip_deauth |
|
4 |
11 |
64 |
2 |
| ieee80211_michael_mic_failure_timeout |
|
1 |
5 |
21 |
1 |
| ieee80211_michael_mic_failure |
|
6 |
42 |
242 |
2 |
| Phase1 |
|
2 |
17 |
240 |
4 |
| Phase2 |
|
4 |
27 |
356 |
4 |
| Source file: ./sys/net80211/ieee80211_proto.h |
| Source file: ./sys/net80211/ieee80211_output.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ieee80211_output |
|
9 |
34 |
245 |
4 |
| ieee80211_mgmt_output |
|
16 |
53 |
366 |
4 |
| ieee80211_up_to_ac |
|
9 |
33 |
126 |
2 |
| ieee80211_classify |
|
15 |
41 |
221 |
2 |
| ieee80211_encap |
|
35 |
155 |
1045 |
3 |
| ieee80211_add_capinfo |
|
8 |
21 |
121 |
3 |
| ieee80211_add_ssid |
|
1 |
7 |
42 |
3 |
| ieee80211_add_rates |
|
1 |
9 |
56 |
2 |
| ieee80211_add_ds_params |
|
1 |
8 |
47 |
3 |
| ieee80211_add_tim |
|
8 |
19 |
171 |
2 |
| ieee80211_add_ibss_params |
|
1 |
7 |
38 |
2 |
| ieee80211_add_edca_params |
|
2 |
19 |
151 |
2 |
| ieee80211_add_erp |
|
4 |
17 |
93 |
2 |
| ieee80211_add_qos_capability |
|
1 |
7 |
34 |
2 |
| ieee80211_add_wme_info |
|
1 |
11 |
65 |
2 |
| ieee80211_add_wme_param |
|
2 |
23 |
182 |
2 |
| ieee80211_add_rsn_body |
|
19 |
87 |
521 |
4 |
| ieee80211_add_rsn |
|
1 |
10 |
59 |
3 |
| ieee80211_add_wpa |
|
1 |
12 |
78 |
3 |
| ieee80211_add_xrates |
|
1 |
10 |
64 |
2 |
| ieee80211_add_htcaps |
|
1 |
18 |
141 |
2 |
| ieee80211_add_htop |
|
1 |
11 |
96 |
2 |
| ieee80211_add_tie |
|
1 |
8 |
44 |
3 |
| ieee80211_getmgmt |
|
5 |
17 |
102 |
3 |
| ieee80211_get_probe_req |
|
6 |
26 |
217 |
2 |
| ieee80211_get_probe_resp |
|
20 |
54 |
505 |
2 |
| ieee80211_get_auth |
|
2 |
16 |
112 |
4 |
| ieee80211_get_deauth |
|
2 |
12 |
76 |
3 |
| ieee80211_get_assoc_req |
|
22 |
59 |
468 |
3 |
| ieee80211_get_assoc_resp |
|
12 |
41 |
329 |
3 |
| ieee80211_get_disassoc |
|
2 |
12 |
76 |
3 |
| ieee80211_get_addba_req |
|
2 |
19 |
153 |
3 |
| ieee80211_get_addba_resp |
|
4 |
28 |
190 |
5 |
| ieee80211_get_delba |
|
3 |
20 |
137 |
5 |
| ieee80211_get_sa_query |
|
2 |
15 |
104 |
3 |
| ieee80211_get_action |
|
8 |
31 |
154 |
5 |
| ieee80211_send_mgmt |
|
25 |
76 |
459 |
5 |
| ieee80211_get_rts |
|
2 |
18 |
134 |
3 |
| ieee80211_get_cts_to_self |
|
2 |
16 |
117 |
2 |
| ieee80211_beacon_alloc |
|
23 |
72 |
650 |
2 |
| ieee80211_pwrsave |
|
8 |
26 |
185 |
3 |
| Source file: ./sys/net80211/ieee80211_node.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ieee80211_inact_timeout |
|
4 |
17 |
103 |
1 |
| ieee80211_node_cache_timeout |
|
1 |
6 |
32 |
1 |
| ieee80211_node_attach |
|
6 |
38 |
262 |
1 |
| ieee80211_alloc_node_helper |
|
3 |
10 |
59 |
1 |
| ieee80211_node_lateattach |
|
2 |
12 |
76 |
1 |
| ieee80211_node_detach |
|
2 |
16 |
123 |
1 |
| ieee80211_reset_scan |
|
3 |
8 |
68 |
1 |
| ieee80211_begin_scan |
|
7 |
25 |
150 |
1 |
| ieee80211_next_scan |
|
7 |
25 |
181 |
1 |
| ieee80211_create_ibss |
|
12 |
89 |
707 |
2 |
| ieee80211_match_bss |
|
46 |
90 |
649 |
2 |
| ieee80211_end_scan |
|
42 |
109 |
746 |
1 |
| ieee80211_choose_rsnparams |
|
10 |
38 |
234 |
1 |
| ieee80211_get_rate |
|
3 |
13 |
86 |
1 |
| ieee80211_node_alloc |
|
1 |
5 |
25 |
1 |
| ieee80211_node_cleanup |
|
2 |
8 |
53 |
2 |
| ieee80211_node_free |
|
1 |
5 |
30 |
2 |
| ieee80211_node_copy |
|
2 |
9 |
59 |
3 |
| ieee80211_node_getrssi |
|
1 |
5 |
20 |
2 |
| ieee80211_setup_node |
|
1 |
16 |
124 |
3 |
| ieee80211_alloc_node |
|
2 |
9 |
50 |
2 |
| ieee80211_dup_bss |
|
2 |
11 |
75 |
2 |
| ieee80211_find_node |
|
4 |
16 |
92 |
2 |
| ieee80211_find_txnode |
|
8 |
23 |
151 |
2 |
| ieee80211_needs_rxnode |
|
17 |
51 |
270 |
3 |
| ieee80211_find_rxnode |
|
7 |
27 |
224 |
2 |
| ieee80211_find_node_for_beacon |
|
7 |
18 |
123 |
5 |
| ieee80211_ba_del |
|
8 |
22 |
164 |
1 |
| ieee80211_free_node |
|
4 |
18 |
145 |
2 |
| ieee80211_release_node |
|
3 |
12 |
70 |
2 |
| ieee80211_free_allnodes |
|
3 |
12 |
77 |
1 |
| ieee80211_clean_cached |
|
3 |
13 |
79 |
1 |
| ieee80211_clean_nodes |
|
43 |
94 |
565 |
2 |
| ieee80211_iterate_nodes |
|
1 |
10 |
57 |
3 |
| ieee80211_setup_htcaps |
|
3 |
21 |
220 |
3 |
| ieee80211_clear_htcaps |
|
1 |
12 |
73 |
1 |
| ieee80211_setup_htop |
|
2 |
12 |
109 |
3 |
| ieee80211_setup_rates |
|
3 |
22 |
167 |
5 |
| ieee80211_iserp_sta |
|
5 |
15 |
118 |
1 |
| ieee80211_needs_auth |
|
1 |
3 |
14 |
2 |
| ieee80211_node_join_ht |
|
3 |
9 |
56 |
2 |
| ieee80211_node_join_rsn |
|
3 |
26 |
183 |
2 |
| ieee80211_count_longslotsta |
|
4 |
8 |
52 |
2 |
| ieee80211_count_nonerpsta |
|
4 |
8 |
49 |
2 |
| ieee80211_count_pssta |
|
4 |
8 |
49 |
2 |
| ieee80211_count_rekeysta |
|
4 |
8 |
49 |
2 |
| ieee80211_node_join_11g |
|
7 |
28 |
169 |
2 |
| ieee80211_node_join |
|
14 |
43 |
301 |
3 |
| ieee80211_node_leave_ht |
|
4 |
18 |
120 |
2 |
| ieee80211_node_leave_rsn |
|
3 |
21 |
131 |
2 |
| ieee80211_node_leave_11g |
|
8 |
26 |
160 |
2 |
| ieee80211_node_leave |
|
15 |
31 |
230 |
2 |
| ieee80211_do_slow_print |
|
5 |
13 |
89 |
2 |
| ieee80211_ibss_merge |
|
12 |
57 |
393 |
3 |
| ieee80211_set_tim |
|
2 |
7 |
42 |
3 |
| ieee80211_notify_dtim |
|
3 |
17 |
119 |
1 |
| ieee80211_node_cmp |
|
1 |
5 |
32 |
2 |
| Source file: ./sys/net80211/ieee80211_rssadapt.h |
| Source file: ./sys/net80211/ieee80211_pae_input.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ieee80211_eapol_key_input |
|
28 |
80 |
538 |
3 |
| ieee80211_recv_4way_msg1 |
|
18 |
65 |
449 |
3 |
| ieee80211_recv_4way_msg2 |
|
10 |
38 |
280 |
4 |
| ieee80211_must_update_group_key |
|
3 |
6 |
45 |
3 |
| ieee80211_recv_4way_msg3 |
|
67 |
232 |
1550 |
3 |
| ieee80211_recv_4way_msg4 |
|
11 |
48 |
324 |
3 |
| ieee80211_recv_4way_msg2or4 |
|
10 |
37 |
214 |
3 |
| ieee80211_recv_rsn_group_msg1 |
|
31 |
130 |
887 |
3 |
| ieee80211_recv_wpa_group_msg1 |
|
16 |
73 |
500 |
3 |
| ieee80211_recv_group_msg2 |
|
9 |
38 |
229 |
3 |
| ieee80211_recv_eapol_key_req |
|
12 |
38 |
228 |
3 |
| Source file: ./sys/net80211/ieee80211.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ieee80211_channel_init |
|
9 |
34 |
237 |
1 |
| ieee80211_ifattach |
|
3 |
25 |
168 |
1 |
| ieee80211_ifdetach |
|
1 |
10 |
57 |
1 |
| ieee80211_mhz2ieee |
|
8 |
21 |
129 |
2 |
| ieee80211_chan2ieee |
|
5 |
16 |
104 |
2 |
| ieee80211_ieee2mhz |
|
8 |
21 |
125 |
2 |
| ieee80211_media_init |
|
34 |
108 |
816 |
3 |
| ieee80211_findrate |
|
3 |
9 |
63 |
3 |
| ieee80211_media_change |
|
46 |
127 |
693 |
1 |
| ieee80211_media_status |
|
15 |
53 |
257 |
2 |
| ieee80211_watchdog |
|
4 |
8 |
57 |
1 |
| ieee80211_setbasicrates |
|
5 |
27 |
181 |
1 |
| ieee80211_min_basic_rate |
|
7 |
18 |
127 |
1 |
| ieee80211_max_basic_rate |
|
5 |
14 |
103 |
1 |
| ieee80211_setmode |
|
18 |
59 |
404 |
2 |
| ieee80211_next_mode |
|
7 |
23 |
136 |
1 |
| ieee80211_chan2mode |
|
6 |
14 |
70 |
2 |
| ieee80211_mcs2media |
|
8 |
18 |
72 |
3 |
| ieee80211_media2mcs |
|
6 |
13 |
65 |
1 |
| ieee80211_rate2media |
|
8 |
56 |
332 |
3 |
| ieee80211_media2rate |
|
3 |
31 |
174 |
1 |
| ieee80211_rate2plcp |
|
17 |
27 |
146 |
2 |
| ieee80211_plcp2rate |
|
17 |
26 |
142 |
2 |
| Source file: ./sys/net80211/ieee80211_crypto.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ieee80211_is_8021x_akm |
|
2 |
5 |
17 |
1 |
| ieee80211_is_sha256_akm |
|
2 |
5 |
17 |
1 |
| Source file: ./sys/net80211/ieee80211_ioctl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ieee80211_node2req |
|
13 |
63 |
532 |
3 |
| ieee80211_req2node |
|
1 |
21 |
176 |
3 |
| ieee80211_disable_wep |
|
3 |
12 |
81 |
1 |
| ieee80211_disable_rsn |
|
1 |
9 |
57 |
1 |
| ieee80211_ioctl_setnwkeys |
|
15 |
43 |
324 |
2 |
| ieee80211_ioctl_getnwkeys |
|
4 |
16 |
84 |
2 |
| ieee80211_ioctl_setwpaparms |
|
22 |
62 |
379 |
2 |
| ieee80211_ioctl_getwpaparms |
|
15 |
37 |
243 |
2 |
| ieee80211_ioctl |
|
119 |
399 |
2377 |
3 |
| Source file: ./sys/scsi/iscsi.h |
| Source file: ./sys/net80211/ieee80211_ioctl.h |
| Source file: ./sys/scsi/cd.h |
| Source file: ./sys/scsi/ses.h |
| Source file: ./sys/scsi/scsi_disk.h |
| Source file: ./sys/scsi/scsi_changer.h |
| Source file: ./sys/scsi/scsi_scanner.h |
| Source file: ./sys/scsi/scsiconf.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _lto2b |
|
1 |
5 |
34 |
2 |
| _lto3b |
|
1 |
6 |
48 |
2 |
| _lto4b |
|
1 |
7 |
62 |
2 |
| _lto8b |
|
1 |
11 |
118 |
2 |
| _2btol |
|
1 |
6 |
33 |
1 |
| _3btol |
|
1 |
6 |
43 |
1 |
| _4btol |
|
1 |
7 |
53 |
1 |
| _5btol |
|
1 |
10 |
78 |
1 |
| _8btol |
|
1 |
13 |
133 |
1 |
| Source file: ./sys/scsi/scsi_tape.h |
| Source file: ./sys/scsi/scsi_debug.h |
| Source file: ./sys/scsi/mpath_rdac.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rdac_match |
|
5 |
16 |
135 |
3 |
| rdac_attach |
|
4 |
21 |
167 |
3 |
| rdac_detach |
|
1 |
6 |
44 |
2 |
| rdac_activate |
|
4 |
14 |
83 |
2 |
| rdac_mpath_start |
|
1 |
5 |
30 |
1 |
| rdac_mpath_checksense |
|
6 |
13 |
88 |
1 |
| rdac_mpath_status |
|
1 |
5 |
26 |
1 |
| rdac_status |
|
1 |
9 |
59 |
1 |
| rdac_status_done |
|
5 |
15 |
101 |
1 |
| rdac_groupid |
|
3 |
19 |
128 |
1 |
| rdac_extdevid |
|
5 |
29 |
247 |
1 |
| Source file: ./sys/scsi/ch.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| chmatch |
|
1 |
9 |
60 |
3 |
| chattach |
|
1 |
12 |
84 |
3 |
| chopen |
|
11 |
49 |
392 |
4 |
| chclose |
|
1 |
6 |
46 |
4 |
| chioctl |
|
13 |
51 |
341 |
5 |
| ch_move |
|
8 |
32 |
280 |
2 |
| ch_exchange |
|
12 |
41 |
373 |
2 |
| ch_position |
|
5 |
27 |
194 |
2 |
| copy_voltag |
|
4 |
13 |
82 |
2 |
| copy_element_status |
|
3 |
9 |
63 |
3 |
| ch_usergetelemstatus |
|
9 |
57 |
428 |
2 |
| ch_getelemstatus |
|
3 |
25 |
164 |
6 |
| ch_get_params |
|
10 |
50 |
446 |
2 |
| ch_get_quirks |
|
2 |
13 |
87 |
2 |
| ch_interpret_sense |
|
7 |
26 |
166 |
1 |
| Source file: ./sys/net80211/ieee80211_input.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ieee80211_get_hdrlen |
|
4 |
12 |
69 |
1 |
| ieee80211_input |
|
88 |
281 |
1652 |
4 |
| ieee80211_defrag |
|
14 |
53 |
387 |
3 |
| ieee80211_defrag_timeout |
|
1 |
8 |
40 |
1 |
| ieee80211_input_ba |
|
10 |
61 |
456 |
5 |
| ieee80211_input_ba_seq |
|
4 |
25 |
206 |
4 |
| ieee80211_input_ba_flush |
|
2 |
13 |
135 |
3 |
| ieee80211_input_ba_gap_timeout |
|
4 |
20 |
154 |
1 |
| ieee80211_ba_move_window |
|
4 |
21 |
178 |
4 |
| ieee80211_deliver_data |
|
20 |
53 |
338 |
4 |
| ieee80211_decap |
|
14 |
58 |
427 |
4 |
| ieee80211_amsdu_decap |
|
14 |
63 |
405 |
4 |
| ieee80211_parse_edca_params_body |
|
5 |
22 |
172 |
2 |
| ieee80211_parse_edca_params |
|
2 |
8 |
45 |
2 |
| ieee80211_parse_wmm_params |
|
2 |
8 |
45 |
2 |
| ieee80211_parse_rsn_cipher |
|
14 |
33 |
129 |
1 |
| ieee80211_parse_rsn_akm |
|
9 |
23 |
99 |
1 |
| ieee80211_parse_rsn_body |
|
21 |
74 |
434 |
4 |
| ieee80211_parse_rsn |
|
2 |
9 |
57 |
3 |
| ieee80211_parse_wpa |
|
2 |
9 |
59 |
3 |
| ieee80211_save_ie |
|
6 |
14 |
106 |
2 |
| ieee80211_recv_probe_resp |
|
94 |
270 |
1792 |
5 |
| ieee80211_recv_probe_req |
|
23 |
79 |
515 |
4 |
| ieee80211_recv_auth |
|
4 |
30 |
232 |
4 |
| ieee80211_recv_assoc_req |
|
69 |
255 |
1531 |
5 |
| ieee80211_recv_assoc_resp |
|
42 |
127 |
812 |
4 |
| ieee80211_recv_deauth |
|
6 |
34 |
175 |
3 |
| ieee80211_recv_disassoc |
|
6 |
34 |
175 |
3 |
| ieee80211_recv_addba_req |
|
20 |
81 |
613 |
3 |
| ieee80211_addba_req_accept |
|
2 |
12 |
88 |
3 |
| ieee80211_addba_req_refuse |
|
1 |
11 |
80 |
3 |
| ieee80211_recv_addba_resp |
|
7 |
44 |
318 |
3 |
| ieee80211_recv_delba |
|
9 |
49 |
346 |
3 |
| ieee80211_recv_sa_query_req |
|
4 |
21 |
140 |
3 |
| ieee80211_recv_sa_query_resp |
|
4 |
23 |
148 |
3 |
| ieee80211_recv_action |
|
9 |
40 |
202 |
3 |
| ieee80211_recv_mgmt |
|
12 |
44 |
231 |
5 |
| ieee80211_recv_pspoll |
|
9 |
41 |
279 |
3 |
| ieee80211_recv_bar |
|
6 |
38 |
263 |
3 |
| ieee80211_bar_tid |
|
8 |
22 |
154 |
4 |
| Source file: ./sys/scsi/mpath_hds.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| hds_match |
|
6 |
18 |
156 |
3 |
| hds_attach |
|
5 |
24 |
198 |
3 |
| hds_detach |
|
1 |
6 |
44 |
2 |
| hds_activate |
|
3 |
12 |
63 |
2 |
| hds_mpath_start |
|
1 |
5 |
30 |
1 |
| hds_mpath_checksense |
|
1 |
4 |
14 |
1 |
| hds_mpath_status |
|
2 |
8 |
45 |
1 |
| hds_status |
|
1 |
9 |
59 |
1 |
| hds_status_done |
|
5 |
15 |
106 |
1 |
| hds_inquiry |
|
6 |
27 |
165 |
2 |
| hds_info |
|
8 |
32 |
222 |
1 |
| Source file: ./sys/scsi/sdvar.h |
| Source file: ./sys/scsi/mpath.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mpath_match |
|
1 |
4 |
22 |
3 |
| mpath_attach |
|
1 |
17 |
134 |
3 |
| mpath_xs_stuffup |
|
1 |
5 |
20 |
1 |
| mpath_probe |
|
3 |
9 |
65 |
1 |
| mpath_next_path |
|
5 |
15 |
96 |
1 |
| mpath_cmd |
|
7 |
45 |
314 |
1 |
| mpath_start |
|
7 |
34 |
232 |
2 |
| mpath_done |
|
8 |
42 |
259 |
1 |
| mpath_failover |
|
2 |
6 |
32 |
1 |
| mpath_failover_start |
|
1 |
8 |
48 |
1 |
| mpath_failover_check |
|
2 |
11 |
63 |
1 |
| mpath_path_status |
|
4 |
19 |
141 |
2 |
| mpath_minphys |
|
3 |
16 |
115 |
2 |
| mpath_path_probe |
|
5 |
12 |
67 |
1 |
| mpath_path_attach |
|
21 |
76 |
540 |
3 |
| mpath_path_detach |
|
8 |
29 |
197 |
1 |
| mpath_bootdv |
|
5 |
23 |
136 |
1 |
| Source file: ./sys/scsi/safte.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| safte_match |
|
14 |
47 |
351 |
3 |
| safte_attach |
|
10 |
46 |
301 |
3 |
| safte_detach |
|
6 |
21 |
157 |
2 |
| safte_read_config |
|
16 |
117 |
924 |
1 |
| safte_read_encstat |
|
28 |
125 |
715 |
1 |
| safte_ioctl |
|
2 |
14 |
70 |
3 |
| safte_bio_blink |
|
10 |
52 |
336 |
2 |
| safte_temp2uK |
|
2 |
11 |
56 |
2 |
| Source file: ./sys/scsi/mpath_sym.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sym_match |
|
8 |
22 |
208 |
3 |
| sym_attach |
|
5 |
26 |
221 |
3 |
| sym_detach |
|
1 |
4 |
17 |
2 |
| sym_activate |
|
3 |
12 |
63 |
2 |
| sym_mpath_start |
|
1 |
5 |
30 |
1 |
| sym_mpath_checksense |
|
1 |
4 |
14 |
1 |
| sym_mpath_status |
|
1 |
5 |
28 |
1 |
| Source file: ./sys/scsi/mpathvar.h |
| Source file: ./sys/scsi/ses.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ses_match |
|
6 |
14 |
101 |
3 |
| ses_attach |
|
14 |
57 |
409 |
3 |
| ses_detach |
|
8 |
29 |
229 |
2 |
| ses_read_config |
|
16 |
84 |
573 |
1 |
| ses_read_status |
|
4 |
26 |
166 |
1 |
| ses_make_sensors |
|
17 |
78 |
530 |
3 |
| ses_refresh_sensors |
|
13 |
51 |
262 |
1 |
| ses_ioctl |
|
2 |
14 |
70 |
3 |
| ses_write_config |
|
4 |
25 |
160 |
1 |
| ses_bio_blink |
|
7 |
43 |
281 |
2 |
| ses_psu2sensor |
|
2 |
4 |
31 |
2 |
| ses_cool2sensor |
|
19 |
45 |
182 |
2 |
| ses_temp2sensor |
|
1 |
7 |
54 |
2 |
| ses_dump_enc_desc |
|
2 |
16 |
155 |
1 |
| ses_dump_enc_string |
|
2 |
8 |
50 |
2 |
| Source file: ./sys/scsi/uk.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ukmatch |
|
1 |
4 |
22 |
3 |
| ukattach |
|
1 |
11 |
79 |
3 |
| ukdetach |
|
5 |
12 |
100 |
2 |
| ukopen |
|
3 |
21 |
134 |
4 |
| ukclose |
|
2 |
11 |
78 |
4 |
| ukioctl |
|
2 |
11 |
78 |
5 |
| Source file: ./sys/scsi/safte.h |
| Source file: ./sys/scsi/scsiconf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| scsiprint |
|
2 |
6 |
29 |
2 |
| scsibusmatch |
|
1 |
4 |
22 |
3 |
| scsibusattach |
|
9 |
30 |
239 |
3 |
| scsibusactivate |
|
1 |
5 |
38 |
2 |
| scsi_activate |
|
5 |
10 |
77 |
4 |
| scsi_activate_bus |
|
3 |
10 |
62 |
2 |
| scsi_activate_target |
|
3 |
10 |
69 |
3 |
| scsi_activate_lun |
|
3 |
20 |
105 |
4 |
| scsibusdetach |
|
3 |
11 |
71 |
2 |
| scsibussubmatch |
|
5 |
11 |
115 |
3 |
| scsibus_bioctl |
|
3 |
15 |
103 |
3 |
| scsi_probe_bus |
|
2 |
8 |
48 |
1 |
| scsi_probe_target |
|
12 |
44 |
320 |
2 |
| scsi_probe |
|
5 |
10 |
76 |
3 |
| scsi_probe_lun |
|
6 |
9 |
69 |
3 |
| scsi_detach_bus |
|
4 |
11 |
77 |
2 |
| scsi_detach |
|
5 |
10 |
85 |
4 |
| scsi_detach_target |
|
8 |
16 |
120 |
3 |
| scsi_detach_lun |
|
13 |
30 |
238 |
4 |
| scsi_get_link |
|
3 |
8 |
55 |
3 |
| scsi_add_link |
|
1 |
4 |
26 |
2 |
| scsi_remove_link |
|
1 |
4 |
28 |
2 |
| scsi_strvis |
|
23 |
42 |
301 |
3 |
| scsibus_printlink |
|
38 |
119 |
602 |
1 |
| scsibusprint |
|
2 |
8 |
45 |
2 |
| scsi_probedev |
|
45 |
146 |
1084 |
3 |
| scsi_inqmatch |
|
10 |
39 |
267 |
5 |
| scsi_devid |
|
11 |
36 |
217 |
1 |
| scsi_devid_pg83 |
|
20 |
80 |
432 |
1 |
| scsi_devid_pg80 |
|
4 |
41 |
333 |
1 |
| scsi_devid_wwn |
|
3 |
9 |
68 |
1 |
| scsi_minphys |
|
1 |
4 |
19 |
2 |
| devid_alloc |
|
2 |
13 |
92 |
4 |
| devid_copy |
|
1 |
5 |
19 |
1 |
| devid_free |
|
2 |
5 |
35 |
1 |
| Source file: ./sys/scsi/scsi_message.h |
| Source file: ./sys/scsi/sd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sdmatch |
|
1 |
9 |
60 |
3 |
| sdattach |
|
17 |
67 |
512 |
3 |
| sdactivate |
|
9 |
32 |
169 |
2 |
| sddetach |
|
1 |
9 |
62 |
2 |
| sdopen |
|
30 |
117 |
685 |
4 |
| sdclose |
|
12 |
49 |
312 |
4 |
| sdstrategy |
|
7 |
40 |
232 |
1 |
| sd_cmd_rw6 |
|
2 |
8 |
67 |
4 |
| sd_cmd_rw10 |
|
2 |
8 |
70 |
4 |
| sd_cmd_rw12 |
|
2 |
8 |
70 |
4 |
| sd_cmd_rw16 |
|
2 |
8 |
70 |
4 |
| sdstart |
|
16 |
57 |
429 |
1 |
| sd_buf_done |
|
13 |
50 |
257 |
1 |
| sdminphys |
|
5 |
21 |
126 |
1 |
| sdread |
|
1 |
4 |
31 |
3 |
| sdwrite |
|
1 |
4 |
31 |
3 |
| sdioctl |
|
37 |
119 |
732 |
5 |
| sd_ioctl_inquiry |
|
3 |
24 |
220 |
2 |
| sd_ioctl_cache |
|
19 |
67 |
435 |
3 |
| sdgetdisklabel |
|
5 |
44 |
361 |
4 |
| sd_interpret_sense |
|
11 |
36 |
228 |
1 |
| sdsize |
|
10 |
36 |
234 |
1 |
| sddump |
|
14 |
63 |
380 |
4 |
| viscpy |
|
5 |
12 |
63 |
3 |
| sd_read_cap_10 |
|
6 |
36 |
258 |
2 |
| sd_read_cap_16 |
|
8 |
45 |
321 |
2 |
| sd_size |
|
6 |
16 |
109 |
2 |
| sd_thin_pages |
|
14 |
52 |
323 |
2 |
| sd_vpd_block_limits |
|
6 |
25 |
168 |
2 |
| sd_vpd_thin |
|
8 |
27 |
172 |
2 |
| sd_thin_params |
|
4 |
14 |
80 |
2 |
| sd_get_parms |
|
51 |
123 |
901 |
3 |
| sd_flush |
|
5 |
29 |
173 |
2 |
| Source file: ./sys/scsi/scsi_base.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| scsi_init |
|
3 |
12 |
71 |
1 |
| scsi_req_probe |
|
2 |
13 |
86 |
3 |
| scsi_req_detach |
|
2 |
14 |
95 |
4 |
| scsi_plug_probe |
|
1 |
8 |
54 |
1 |
| scsi_plug_detach |
|
1 |
9 |
63 |
1 |
| scsi_pending_start |
|
2 |
10 |
52 |
2 |
| scsi_pending_finish |
|
2 |
12 |
61 |
2 |
| scsi_iopool_init |
|
1 |
10 |
79 |
4 |
| scsi_iopool_get |
|
1 |
8 |
37 |
1 |
| scsi_iopool_put |
|
1 |
6 |
32 |
2 |
| scsi_iopool_destroy |
|
5 |
19 |
138 |
1 |
| scsi_default_get |
|
1 |
4 |
13 |
1 |
| scsi_default_put |
|
3 |
5 |
23 |
2 |
| scsi_ioh_set |
|
1 |
8 |
55 |
4 |
| scsi_ioh_add |
|
4 |
20 |
100 |
1 |
| scsi_ioh_del |
|
4 |
19 |
95 |
1 |
| scsi_ioh_deq |
|
2 |
12 |
73 |
1 |
| scsi_ioh_pending |
|
1 |
8 |
44 |
1 |
| scsi_iopool_run |
|
6 |
20 |
115 |
1 |
| scsi_move |
|
2 |
7 |
48 |
1 |
| scsi_move_done |
|
1 |
9 |
52 |
2 |
| scsi_io_get |
|
3 |
15 |
91 |
2 |
| scsi_io_get_done |
|
1 |
4 |
19 |
2 |
| scsi_io_put |
|
1 |
5 |
25 |
2 |
| scsi_xsh_set |
|
1 |
7 |
53 |
3 |
| scsi_xsh_add |
|
3 |
16 |
108 |
1 |
| scsi_xsh_del |
|
6 |
25 |
160 |
1 |
| scsi_xsh_runqueue |
|
6 |
23 |
173 |
1 |
| scsi_xsh_ioh |
|
2 |
12 |
64 |
2 |
| scsi_xs_get |
|
8 |
31 |
209 |
2 |
| scsi_xs_get_done |
|
1 |
4 |
19 |
2 |
| scsi_link_shutdown |
|
12 |
38 |
293 |
1 |
| scsi_link_open |
|
2 |
11 |
60 |
1 |
| scsi_link_close |
|
3 |
9 |
64 |
1 |
| scsi_xs_io |
|
3 |
18 |
113 |
3 |
| scsi_xs_put |
|
1 |
8 |
48 |
1 |
| scsi_test_unit_ready |
|
2 |
17 |
104 |
3 |
| scsi_init_inquiry |
|
1 |
14 |
93 |
5 |
| scsi_inquire |
|
2 |
18 |
148 |
3 |
| scsi_inquire_vpd |
|
3 |
17 |
109 |
5 |
| scsi_prevent |
|
3 |
20 |
123 |
3 |
| scsi_start |
|
3 |
18 |
118 |
3 |
| scsi_mode_sense |
|
3 |
27 |
180 |
7 |
| scsi_mode_sense_big |
|
3 |
27 |
183 |
7 |
| scsi_mode_sense_page |
|
2 |
9 |
69 |
2 |
| scsi_mode_sense_big_page |
|
2 |
9 |
75 |
2 |
| scsi_do_mode_sense |
|
23 |
71 |
520 |
10 |
| scsi_mode_select |
|
2 |
25 |
166 |
5 |
| scsi_mode_select_big |
|
2 |
26 |
175 |
5 |
| scsi_report_luns |
|
2 |
24 |
162 |
6 |
| scsi_xs_exec |
|
5 |
15 |
104 |
1 |
| scsi_done |
|
5 |
11 |
75 |
1 |
| scsi_xs_sync |
|
7 |
22 |
141 |
1 |
| scsi_xs_sync_done |
|
3 |
11 |
64 |
1 |
| scsi_xs_error |
|
13 |
39 |
183 |
1 |
| scsi_delay |
|
6 |
18 |
98 |
2 |
| scsi_sense_print_debug |
|
6 |
17 |
129 |
1 |
| scsi_interpret_sense |
|
59 |
127 |
539 |
1 |
| sc_print_addr |
|
2 |
9 |
58 |
1 |
| asc2ascii |
|
1 |
4 |
30 |
4 |
| asc2ascii |
|
8 |
31 |
159 |
4 |
| scsi_print_sense |
|
16 |
55 |
352 |
1 |
| scsi_decode_sense |
|
15 |
51 |
264 |
2 |
| scsi_xs_show |
|
4 |
26 |
187 |
1 |
| scsi_show_mem |
|
3 |
11 |
65 |
2 |
| scsi_cmd_rw_decode |
|
10 |
36 |
216 |
3 |
| Source file: ./sys/scsi/st.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| stmatch |
|
1 |
9 |
60 |
3 |
| stattach |
|
1 |
20 |
162 |
3 |
| stactivate |
|
2 |
12 |
59 |
2 |
| stdetach |
|
3 |
12 |
100 |
2 |
| st_identify_drive |
|
2 |
15 |
96 |
2 |
| st_loadquirks |
|
3 |
19 |
113 |
1 |
| stopen |
|
11 |
48 |
291 |
4 |
| stclose |
|
9 |
38 |
226 |
4 |
| st_mount_tape |
|
14 |
56 |
385 |
2 |
| st_unmount |
|
4 |
19 |
126 |
3 |
| st_decide_mode |
|
28 |
74 |
389 |
2 |
| ststrategy |
|
10 |
48 |
285 |
1 |
| ststart |
|
19 |
98 |
610 |
1 |
| st_buf_done |
|
12 |
44 |
204 |
1 |
| stminphys |
|
2 |
9 |
60 |
1 |
| stread |
|
1 |
4 |
31 |
3 |
| stwrite |
|
1 |
4 |
31 |
3 |
| stioctl |
|
45 |
166 |
935 |
5 |
| st_read |
|
5 |
27 |
180 |
4 |
| st_read_block_limits |
|
6 |
36 |
244 |
2 |
| st_mode_sense |
|
8 |
39 |
261 |
2 |
| st_mode_select |
|
14 |
81 |
647 |
2 |
| st_erase |
|
3 |
22 |
129 |
3 |
| st_space |
|
31 |
109 |
585 |
4 |
| st_write_filemarks |
|
8 |
42 |
240 |
3 |
| st_check_eod |
|
6 |
19 |
112 |
4 |
| st_load |
|
6 |
31 |
195 |
3 |
| st_rewind |
|
5 |
25 |
161 |
3 |
| st_interpret_sense |
|
44 |
127 |
794 |
1 |
| st_touch_tape |
|
9 |
34 |
193 |
1 |
| Source file: ./sys/uvm/uvm_user.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| uvm_deallocate |
|
3 |
8 |
51 |
3 |
| Source file: ./sys/scsi/scsi_ioctl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| scsi_ioc_cmd |
|
22 |
81 |
507 |
2 |
| scsi_ioc_ata_cmd |
|
19 |
78 |
467 |
2 |
| scsi_do_ioctl |
|
17 |
54 |
341 |
4 |
| Source file: ./sys/uvm/uvm_io.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| uvm_io |
|
13 |
53 |
328 |
3 |
| Source file: ./sys/scsi/scsi_all.h |
| Source file: ./sys/uvm/uvm_pmemrange.h |
| Source file: ./sys/scsi/mpath_emc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| emc_match |
|
5 |
16 |
135 |
3 |
| emc_attach |
|
3 |
19 |
162 |
3 |
| emc_detach |
|
1 |
6 |
44 |
2 |
| emc_activate |
|
3 |
12 |
63 |
2 |
| emc_mpath_start |
|
1 |
5 |
30 |
1 |
| emc_mpath_checksense |
|
4 |
10 |
60 |
1 |
| emc_mpath_status |
|
1 |
5 |
26 |
1 |
| emc_status |
|
1 |
9 |
59 |
1 |
| emc_status_done |
|
3 |
13 |
80 |
1 |
| emc_sp_info |
|
2 |
13 |
91 |
2 |
| Source file: ./sys/uvm/uvm_device.h |
| Source file: ./sys/uvm/uvm_extern.h |
| Source file: ./sys/uvm/uvm_glue.h |
| Source file: ./sys/uvm/uvm_pdaemon.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| uvm_wait |
|
4 |
15 |
92 |
1 |
| uvmpd_tune |
|
4 |
12 |
122 |
1 |
| uvm_pageout |
|
16 |
72 |
432 |
1 |
| uvm_aiodone_daemon |
|
6 |
30 |
194 |
1 |
| uvmpd_scan_inactive |
|
47 |
213 |
1119 |
1 |
| uvmpd_scan |
|
23 |
68 |
445 |
1 |
| uvmpd_drop |
|
8 |
20 |
118 |
1 |
| uvmpd_hibernate |
|
1 |
8 |
38 |
1 |
| Source file: ./sys/uvm/uvm_device.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| udv_attach |
|
17 |
63 |
430 |
4 |
| udv_reference |
|
1 |
4 |
14 |
1 |
| udv_detach |
|
5 |
21 |
139 |
1 |
| udv_flush |
|
1 |
4 |
23 |
4 |
| udv_fault |
|
8 |
47 |
346 |
8 |
| Source file: ./sys/uvm/uvm_addr.h |
| Source file: ./sys/uvm/uvm_object.h |
| Source file: ./sys/scsi/cd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cdmatch |
|
1 |
8 |
57 |
3 |
| cdattach |
|
4 |
23 |
202 |
3 |
| cdactivate |
|
4 |
18 |
91 |
2 |
| cddetach |
|
1 |
9 |
62 |
2 |
| cdopen |
|
17 |
78 |
481 |
4 |
| cdclose |
|
5 |
29 |
200 |
4 |
| cdstrategy |
|
6 |
35 |
210 |
1 |
| cdstart |
|
13 |
62 |
451 |
1 |
| cd_buf_done |
|
12 |
47 |
241 |
1 |
| cdminphys |
|
4 |
15 |
99 |
1 |
| cdread |
|
1 |
4 |
31 |
3 |
| cdwrite |
|
1 |
4 |
31 |
3 |
| cdioctl |
|
100 |
328 |
2134 |
5 |
| cdgetdisklabel |
|
6 |
43 |
337 |
4 |
| cd_setchan |
|
6 |
27 |
229 |
6 |
| cd_getvol |
|
5 |
21 |
194 |
3 |
| cd_setvol |
|
9 |
43 |
417 |
3 |
| cd_load_unload |
|
2 |
18 |
112 |
3 |
| cd_set_pa_immed |
|
8 |
30 |
218 |
2 |
| cd_play |
|
2 |
18 |
118 |
3 |
| cd_play_tracks |
|
9 |
42 |
309 |
5 |
| cd_play_msf |
|
2 |
23 |
148 |
7 |
| cd_pause |
|
2 |
17 |
103 |
2 |
| cd_reset |
|
2 |
12 |
62 |
1 |
| cd_read_subchannel |
|
3 |
25 |
168 |
6 |
| cd_read_toc |
|
3 |
26 |
164 |
6 |
| cd_load_toc |
|
3 |
13 |
128 |
3 |
| cd_get_parms |
|
5 |
14 |
122 |
2 |
| cdsize |
|
1 |
4 |
11 |
1 |
| cddump |
|
1 |
4 |
19 |
4 |
| dvd_auth |
|
21 |
150 |
1104 |
2 |
| dvd_read_physical |
|
5 |
49 |
418 |
2 |
| dvd_read_copyright |
|
4 |
33 |
214 |
2 |
| dvd_read_disckey |
|
4 |
31 |
227 |
2 |
| dvd_read_bca |
|
6 |
34 |
238 |
2 |
| dvd_read_manufact |
|
6 |
35 |
249 |
2 |
| dvd_read_struct |
|
6 |
17 |
94 |
2 |
| cd_interpret_sense |
|
7 |
25 |
159 |
1 |
| cd_size |
|
16 |
78 |
555 |
3 |
| cd_eject |
|
5 |
20 |
142 |
1 |
| Source file: ./sys/uvm/uvm_fault.h |
| Source file: ./sys/uvm/uvm_init.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| uvm_init |
|
6 |
37 |
247 |
1 |
| Source file: ./sys/uvm/uvm_swap.h |
| Source file: ./sys/uvm/uvm_stat.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| uvmexp_print |
|
1 |
50 |
471 |
1 |
| Source file: ./sys/uvm/uvm_amap.h |
| Source file: ./sys/uvm/uvm_fault.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| uvmfault_anonflush |
|
6 |
18 |
101 |
2 |
| uvmfault_init |
|
3 |
16 |
97 |
1 |
| uvmfault_amapcopy |
|
5 |
17 |
96 |
1 |
| uvmfault_anonget |
|
15 |
86 |
488 |
3 |
| uvmfault_update_stats |
|
5 |
17 |
105 |
1 |
| uvm_fault |
|
100 |
408 |
2638 |
4 |
| uvm_fault_wire |
|
4 |
15 |
84 |
4 |
| uvm_fault_unwire |
|
1 |
6 |
32 |
3 |
| uvm_fault_unwire_locked |
|
9 |
29 |
205 |
3 |
| uvmfault_unlockmaps |
|
3 |
12 |
50 |
2 |
| uvmfault_unlockall |
|
1 |
5 |
31 |
4 |
| uvmfault_lookup |
|
8 |
31 |
201 |
2 |
| uvmfault_relock |
|
3 |
14 |
68 |
1 |
| Source file: ./sys/uvm/uvm_km.h |
| Source file: ./sys/uvm/uvm_unix.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sys_obreak |
|
6 |
32 |
236 |
3 |
| uvm_grow |
|
7 |
14 |
139 |
2 |
| uvm_coredump_walk_amap |
|
9 |
43 |
296 |
4 |
| uvm_should_coredump |
|
8 |
15 |
97 |
2 |
| noop |
|
1 |
5 |
26 |
6 |
| uvm_coredump_walkmap |
|
22 |
75 |
440 |
4 |
| Source file: ./sys/uvm/uvm_vnode.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| uvn_init |
|
1 |
5 |
22 |
1 |
| uvn_attach |
|
17 |
61 |
423 |
2 |
| uvn_reference |
|
4 |
10 |
58 |
1 |
| uvn_detach |
|
8 |
37 |
226 |
1 |
| uvm_vnp_terminate |
|
13 |
42 |
269 |
1 |
| uvn_flush |
|
42 |
141 |
907 |
4 |
| uvn_cluster |
|
3 |
12 |
83 |
4 |
| uvn_put |
|
1 |
6 |
48 |
4 |
| uvn_get |
|
20 |
79 |
479 |
8 |
| uvn_io |
|
25 |
81 |
549 |
5 |
| uvm_vnp_uncache |
|
7 |
20 |
132 |
1 |
| uvm_vnp_setsize |
|
3 |
11 |
66 |
2 |
| uvm_vnp_sync |
|
9 |
31 |
197 |
1 |
| Source file: ./sys/uvm/uvm_map.h |
| Source file: ./sys/uvm/uvm_meter.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| uvm_meter |
|
3 |
7 |
40 |
1 |
| uvm_loadav |
|
10 |
37 |
240 |
1 |
| uvm_sysctl |
|
23 |
76 |
502 |
7 |
| uvm_total |
|
16 |
47 |
272 |
1 |
| Source file: ./sys/uvm/uvm_pager.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| uvm_pager_init |
|
3 |
12 |
77 |
1 |
| uvm_pseg_init |
|
1 |
6 |
40 |
1 |
| uvm_pseg_get |
|
10 |
34 |
195 |
1 |
| uvm_pseg_release |
|
8 |
26 |
193 |
1 |
| uvm_pagermapin |
|
5 |
29 |
179 |
3 |
| uvm_pagermapout |
|
1 |
6 |
43 |
2 |
| uvm_mk_pcluster |
|
20 |
67 |
437 |
7 |
| uvm_pager_put |
|
21 |
66 |
395 |
7 |
| uvm_pager_dropcluster |
|
12 |
39 |
278 |
5 |
| uvm_aio_biodone |
|
1 |
9 |
56 |
1 |
| uvm_aio_aiodone |
|
17 |
45 |
364 |
1 |
| Source file: ./sys/uvm/uvm_addr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| uvm_addr_entrybyspace |
|
4 |
14 |
83 |
2 |
| uvm_addr_align_forward |
|
4 |
11 |
95 |
3 |
| uvm_addr_align_backward |
|
4 |
11 |
95 |
3 |
| uvm_addr_fitspace |
|
8 |
30 |
167 |
9 |
| uvm_addr_init |
|
1 |
14 |
117 |
1 |
| uvm_addr_destroy |
|
2 |
5 |
25 |
1 |
| uvm_addr_align |
|
2 |
7 |
41 |
3 |
| uvm_addr_align_back |
|
2 |
7 |
41 |
3 |
| uvm_addr_linsearch |
|
22 |
50 |
360 |
13 |
| uvm_addr_invoke |
|
7 |
29 |
191 |
10 |
| uvm_addr_print |
|
3 |
14 |
104 |
4 |
| uaddr_destroy |
|
1 |
4 |
17 |
1 |
| uaddr_lin_create |
|
1 |
9 |
47 |
2 |
| uaddr_lin_select |
|
3 |
13 |
112 |
9 |
| uaddr_rnd_create |
|
2 |
10 |
64 |
2 |
| uaddr_rnd_select |
|
20 |
72 |
484 |
9 |
| uaddr_rnd_destroy |
|
1 |
4 |
17 |
1 |
| uaddr_rnd_insert |
|
1 |
5 |
21 |
3 |
| uaddr_rnd_remove |
|
1 |
5 |
21 |
3 |
| uaddr_rnd_print |
|
4 |
35 |
214 |
3 |
| uaddr_kbootstrap_select |
|
3 |
14 |
103 |
9 |
| uaddr_kbootstrap_destroy |
|
1 |
4 |
22 |
1 |
| uaddr_bestfit_create |
|
1 |
10 |
66 |
2 |
| uaddr_bestfit_destroy |
|
1 |
4 |
17 |
1 |
| uaddr_bestfit_insert |
|
2 |
13 |
74 |
3 |
| uaddr_bestfit_remove |
|
2 |
8 |
56 |
3 |
| uaddr_bestfit_select |
|
7 |
29 |
203 |
9 |
| uaddr_pivot_random |
|
2 |
9 |
51 |
1 |
| uaddr_pivot_newpivot |
|
14 |
80 |
521 |
10 |
| uaddr_pivot_select |
|
9 |
53 |
350 |
9 |
| uaddr_pivot_destroy |
|
1 |
4 |
17 |
1 |
| uaddr_pivot_insert |
|
7 |
31 |
185 |
3 |
| uaddr_pivot_remove |
|
4 |
14 |
107 |
3 |
| uaddr_pivot_create |
|
1 |
11 |
82 |
2 |
| uaddr_pivot_print |
|
9 |
37 |
250 |
3 |
| uaddr_stack_brk_select |
|
6 |
40 |
346 |
9 |
| uaddr_stack_brk_create |
|
1 |
9 |
47 |
2 |
| uvm_mapent_fspace_cmp |
|
4 |
7 |
64 |
2 |
| Source file: ./sys/uvm/uvm_mmap.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sys_mquery |
|
8 |
39 |
251 |
3 |
| sys_mincore |
|
24 |
90 |
618 |
3 |
| uvm_wxcheck |
|
6 |
19 |
137 |
2 |
| sys_mmap |
|
51 |
153 |
1011 |
3 |
| sys_msync |
|
8 |
30 |
218 |
3 |
| sys_munmap |
|
7 |
30 |
206 |
3 |
| sys_mprotect |
|
5 |
25 |
183 |
3 |
| sys_minherit |
|
2 |
16 |
111 |
3 |
| sys_madvise |
|
9 |
37 |
207 |
3 |
| sys_mlock |
|
7 |
23 |
188 |
3 |
| sys_munlock |
|
4 |
18 |
134 |
3 |
| sys_mlockall |
|
6 |
17 |
124 |
3 |
| sys_munlockall |
|
1 |
5 |
39 |
3 |
| uvm_mmaplock |
|
8 |
34 |
196 |
5 |
| uvm_mmapanon |
|
9 |
30 |
203 |
8 |
| uvm_mmapfile |
|
20 |
55 |
387 |
10 |
| sys_kbind |
|
26 |
90 |
650 |
3 |
| Source file: ./sys/uvm/uvm_vnode.h |
| Source file: ./sys/uvm/uvm_page.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| vm_physseg_find |
|
4 |
9 |
60 |
2 |
| PHYS_TO_VM_PAGE |
|
2 |
8 |
54 |
1 |
| Source file: ./sys/uvm/uvm_pmap.h |
| Source file: ./sys/uvm/uvm_ddb.h |
| Source file: ./sys/uvm/uvm_swap_encrypt.h |
| Source file: ./sys/uvm/uvm_anon.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| uvm_anon_init |
|
1 |
6 |
40 |
1 |
| uvm_analloc |
|
2 |
11 |
50 |
1 |
| uvm_anfree |
|
5 |
23 |
131 |
1 |
| uvm_anwait |
|
1 |
6 |
29 |
1 |
| uvm_anon_dropswap |
|
2 |
7 |
34 |
1 |
| uvm_anon_pagein |
|
5 |
26 |
119 |
1 |
| Source file: ./sys/uvm/uvm_param.h |
| Source file: ./sys/uvm/uvm_aobj.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| uao_find_swhash_elt |
|
4 |
20 |
120 |
3 |
| uao_find_swslot |
|
4 |
14 |
79 |
2 |
| uao_set_swslot |
|
10 |
37 |
210 |
3 |
| uao_free |
|
8 |
36 |
238 |
1 |
| uao_shrink_flush |
|
1 |
8 |
63 |
3 |
| uao_shrink_hash |
|
5 |
31 |
232 |
2 |
| uao_shrink_convert |
|
6 |
27 |
191 |
2 |
| uao_shrink_array |
|
3 |
16 |
128 |
2 |
| uao_shrink |
|
3 |
11 |
73 |
2 |
| uao_grow_array |
|
3 |
16 |
128 |
2 |
| uao_grow_hash |
|
5 |
30 |
223 |
2 |
| uao_grow_convert |
|
4 |
25 |
171 |
2 |
| uao_grow |
|
3 |
11 |
73 |
2 |
| uao_create |
|
14 |
63 |
363 |
2 |
| uao_init |
|
2 |
11 |
64 |
1 |
| uao_reference |
|
1 |
4 |
14 |
1 |
| uao_reference_locked |
|
2 |
6 |
23 |
1 |
| uao_detach |
|
1 |
4 |
14 |
1 |
| uao_detach_locked |
|
5 |
30 |
172 |
1 |
| uao_flush |
|
15 |
64 |
347 |
4 |
| uao_get |
|
24 |
102 |
619 |
8 |
| uao_dropswap |
|
2 |
9 |
44 |
2 |
| uao_swap_off |
|
5 |
29 |
154 |
2 |
| uao_pagein |
|
12 |
42 |
221 |
3 |
| uao_pagein_page |
|
4 |
25 |
149 |
2 |
| uao_dropswap_range |
|
16 |
73 |
423 |
3 |
| Source file: ./sys/uvm/uvm_glue.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| uvm_kernacc |
|
2 |
12 |
82 |
3 |
| uvm_vslock |
|
2 |
13 |
91 |
4 |
| uvm_vsunlock |
|
2 |
9 |
64 |
3 |
| uvm_vslock_device |
|
11 |
64 |
436 |
5 |
| uvm_vsunlock_device |
|
4 |
21 |
143 |
4 |
| uvm_uarea_alloc |
|
1 |
9 |
47 |
1 |
| uvm_uarea_free |
|
1 |
5 |
29 |
1 |
| uvm_exit |
|
1 |
5 |
22 |
1 |
| uvm_init_limits |
|
1 |
8 |
69 |
1 |
| uvm_swapout_threads |
|
18 |
48 |
240 |
1 |
| uvm_atopg |
|
1 |
11 |
56 |
1 |
| uvm_pause |
|
2 |
10 |
37 |
1 |
| fill_vmmap |
|
2 |
10 |
53 |
3 |
| Source file: ./sys/uvm/uvm_amap.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| amap_list_insert |
|
1 |
4 |
19 |
1 |
| amap_list_remove |
|
1 |
4 |
16 |
1 |
| amap_chunk_get |
|
9 |
37 |
249 |
4 |
| amap_chunk_free |
|
5 |
18 |
123 |
2 |
| pp_getreflen |
|
2 |
10 |
73 |
4 |
| pp_setreflen |
|
2 |
9 |
60 |
4 |
| amap_init |
|
2 |
20 |
170 |
1 |
| amap_alloc1 |
|
16 |
70 |
480 |
3 |
| amap_alloc |
|
3 |
12 |
64 |
3 |
| amap_free |
|
6 |
16 |
140 |
1 |
| amap_wipeout |
|
6 |
28 |
172 |
1 |
| amap_copy |
|
23 |
86 |
621 |
6 |
| amap_cow_now |
|
9 |
48 |
290 |
2 |
| amap_splitref |
|
5 |
14 |
101 |
3 |
| amap_pp_establish |
|
2 |
10 |
66 |
1 |
| amap_pp_adjref |
|
11 |
44 |
317 |
4 |
| amap_wiperange_chunk |
|
5 |
27 |
201 |
4 |
| amap_wiperange |
|
12 |
39 |
270 |
3 |
| amap_swap_off |
|
9 |
36 |
211 |
2 |
| amap_lookup |
|
3 |
14 |
88 |
2 |
| amap_lookups |
|
5 |
23 |
199 |
4 |
| amap_populate |
|
2 |
12 |
75 |
2 |
| amap_add |
|
8 |
31 |
198 |
4 |
| amap_unadd |
|
5 |
21 |
144 |
2 |
| amap_ref |
|
9 |
15 |
107 |
4 |
| amap_unref |
|
11 |
17 |
128 |
4 |
| Source file: ./sys/uvm/uvmexp.h |
| Source file: ./sys/uvm/uvm_object.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| uvm_objinit |
|
1 |
7 |
45 |
3 |
| uvm_objwire |
|
7 |
40 |
280 |
4 |
| uvm_objunwire |
|
2 |
13 |
80 |
3 |
| Source file: ./sys/uvm/uvm_pager.h |
| Source file: ./sys/uvm/uvm_anon.h |
| Source file: ./sys/uvm/uvm_aobj.h |
| Source file: ./sys/uvm/uvm_swap_encrypt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| swap_encrypt_ctl |
|
7 |
25 |
145 |
7 |
| swap_key_create |
|
1 |
5 |
26 |
1 |
| swap_key_delete |
|
1 |
6 |
28 |
1 |
| swap_encrypt |
|
3 |
28 |
277 |
5 |
| swap_decrypt |
|
3 |
32 |
302 |
5 |
| swap_key_prepare |
|
5 |
12 |
84 |
2 |
| swap_key_cleanup |
|
3 |
7 |
36 |
1 |
| Source file: ./sys/uvm/uvm.h |
| Source file: ./sys/uvm/uvm_km.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| uvm_km_init |
|
4 |
16 |
105 |
3 |
| uvm_km_suballoc |
|
6 |
24 |
199 |
7 |
| uvm_km_pgremove |
|
6 |
24 |
147 |
3 |
| uvm_km_pgremove_intrsafe |
|
4 |
14 |
77 |
2 |
| uvm_km_kmemalloc_pla |
|
13 |
66 |
447 |
10 |
| uvm_km_free |
|
1 |
4 |
32 |
3 |
| uvm_km_free_wakeup |
|
1 |
11 |
72 |
3 |
| uvm_km_alloc1 |
|
7 |
44 |
278 |
4 |
| uvm_km_valloc |
|
1 |
4 |
26 |
2 |
| uvm_km_valloc_try |
|
1 |
4 |
26 |
2 |
| uvm_km_valloc_align |
|
2 |
14 |
101 |
4 |
| uvm_km_valloc_prefer_wait |
|
4 |
18 |
129 |
3 |
| uvm_km_valloc_wait |
|
1 |
4 |
22 |
2 |
| uvm_km_page_init |
|
1 |
3 |
6 |
1 |
| uvm_km_page_lateinit |
|
1 |
3 |
6 |
1 |
| uvm_km_page_init |
|
12 |
41 |
285 |
1 |
| uvm_km_page_lateinit |
|
1 |
4 |
13 |
1 |
| uvm_km_createthread |
|
1 |
4 |
22 |
1 |
| uvm_km_thread |
|
14 |
59 |
388 |
1 |
| uvm_km_doputpage |
|
3 |
20 |
126 |
1 |
| km_alloc |
|
27 |
100 |
629 |
4 |
| km_free |
|
13 |
53 |
337 |
4 |
| Source file: ./sys/uvm/uvm_map.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| uvm_mapentry_addrcmp |
|
2 |
5 |
36 |
2 |
| uvm_mapent_copy |
|
1 |
12 |
83 |
2 |
| uvm_mapent_free_insert |
|
6 |
24 |
169 |
3 |
| uvm_mapent_free_remove |
|
4 |
14 |
101 |
3 |
| uvm_mapent_addr_insert |
|
4 |
19 |
148 |
2 |
| uvm_mapent_addr_remove |
|
2 |
9 |
58 |
2 |
| uvmspace_dused |
|
8 |
24 |
161 |
3 |
| uvm_map_entrybyaddr |
|
4 |
14 |
77 |
2 |
| dead_entry_push |
|
1 |
4 |
25 |
2 |
| uvm_map_sel_limits |
|
57 |
129 |
823 |
9 |
| uvm_map_isavail |
|
23 |
52 |
375 |
6 |
| uvm_map_findspace |
|
4 |
18 |
144 |
9 |
| uvm_map_addr_augment_get |
|
3 |
11 |
81 |
1 |
| uvm_map_addr_augment |
|
3 |
11 |
52 |
1 |
| uvm_mapanon |
|
25 |
108 |
777 |
5 |
| uvm_map |
|
57 |
170 |
1235 |
7 |
| uvm_mapent_isjoinable |
|
18 |
27 |
209 |
3 |
| uvm_mapent_merge |
|
1 |
17 |
126 |
4 |
| uvm_mapent_tryjoin |
|
9 |
21 |
138 |
3 |
| uvm_unmap_detach |
|
8 |
27 |
173 |
2 |
| uvm_unmap_detach_intrsafe |
|
2 |
11 |
74 |
1 |
| uvm_map_mkentry |
|
7 |
58 |
435 |
8 |
| uvm_mapent_alloc |
|
12 |
49 |
289 |
2 |
| uvm_mapent_free |
|
3 |
15 |
90 |
1 |
| uvm_map_lookup_entry |
|
4 |
7 |
61 |
3 |
| uvm_map_pie |
|
3 |
13 |
101 |
1 |
| uvm_unmap |
|
3 |
14 |
99 |
3 |
| uvm_mapent_mkfree |
|
9 |
32 |
201 |
5 |
| uvm_unmap_kill_entry |
|
6 |
26 |
213 |
2 |
| uvm_unmap_remove |
|
24 |
58 |
439 |
6 |
| uvm_map_pageable_pgon |
|
5 |
13 |
100 |
5 |
| uvm_map_pageable_wire |
|
34 |
73 |
462 |
6 |
| uvm_map_pageable |
|
21 |
67 |
423 |
5 |
| uvm_map_pageable_all |
|
10 |
37 |
246 |
3 |
| uvm_map_setup |
|
6 |
35 |
267 |
4 |
| uvm_map_teardown |
|
8 |
41 |
294 |
1 |
| uvm_map_setup_entries |
|
1 |
5 |
39 |
1 |
| uvm_map_splitentry |
|
13 |
61 |
460 |
4 |
| uvm_tree_assert |
|
4 |
15 |
74 |
5 |
| uvm_tree_sanity |
|
4 |
37 |
297 |
3 |
| uvm_tree_size_chk |
|
3 |
14 |
98 |
3 |
| vmspace_validate |
|
12 |
40 |
248 |
1 |
| uvm_map_init |
|
2 |
19 |
144 |
1 |
| uvm_map_printit |
|
11 |
68 |
571 |
3 |
| if |
|
1 |
3 |
9 |
1 |
| RBT_FOREACH |
|
2 |
7 |
54 |
3 |
| if |
|
1 |
3 |
20 |
1 |
| if |
|
8 |
24 |
138 |
1 |
| if |
|
2 |
7 |
38 |
1 |
| if |
|
2 |
4 |
30 |
1 |
| if |
|
1 |
3 |
17 |
1 |
| if |
|
3 |
12 |
55 |
1 |
| uvm_map_protect |
|
30 |
80 |
501 |
5 |
| uvmspace_alloc |
|
1 |
8 |
53 |
4 |
| uvmspace_init |
|
5 |
15 |
100 |
6 |
| uvmspace_share |
|
1 |
6 |
26 |
1 |
| uvmspace_exec |
|
8 |
41 |
309 |
3 |
| uvmspace_free |
|
4 |
9 |
49 |
1 |
| uvm_share |
|
16 |
63 |
395 |
6 |
| uvm_mapent_clone |
|
6 |
38 |
282 |
10 |
| uvm_mapent_share |
|
2 |
11 |
87 |
9 |
| uvm_mapent_forkshared |
|
2 |
13 |
111 |
5 |
| uvm_mapent_forkcopy |
|
12 |
55 |
317 |
5 |
| uvm_mapent_forkzero |
|
4 |
25 |
192 |
5 |
| uvmspace_fork |
|
14 |
59 |
359 |
1 |
| uvm_map_hint |
|
8 |
23 |
176 |
4 |
| uvm_map_submap |
|
13 |
28 |
191 |
4 |
| uvm_map_checkprot |
|
11 |
19 |
133 |
4 |
| uvm_map_create |
|
1 |
8 |
54 |
4 |
| uvm_map_deallocate |
|
2 |
17 |
105 |
1 |
| uvm_map_inherit |
|
10 |
33 |
182 |
4 |
| uvm_map_advice |
|
11 |
31 |
189 |
4 |
| uvm_map_extract |
|
25 |
90 |
581 |
5 |
| uvm_map_clean |
|
32 |
99 |
617 |
4 |
| uvm_map_clip_end |
|
2 |
7 |
58 |
3 |
| uvm_map_clip_start |
|
2 |
14 |
111 |
3 |
| uvm_map_boundfix |
|
3 |
4 |
28 |
3 |
| uvm_map_uaddr |
|
19 |
34 |
217 |
2 |
| uvm_map_uaddr_e |
|
1 |
4 |
25 |
2 |
| uvm_map_boundary |
|
6 |
30 |
255 |
3 |
| uvm_map_vmspace_update |
|
10 |
26 |
227 |
3 |
| uvm_map_kmem_grow |
|
6 |
24 |
177 |
4 |
| uvm_map_freelist_update_clear |
|
4 |
18 |
133 |
2 |
| uvm_map_freelist_update_refill |
|
1 |
12 |
79 |
2 |
| uvm_map_freelist_update |
|
2 |
11 |
78 |
7 |
| uvm_map_set_uaddr |
|
2 |
16 |
115 |
3 |
| uvm_map_fix_space |
|
20 |
62 |
432 |
5 |
| uvm_map_mquery |
|
22 |
79 |
464 |
5 |
| uvm_mapent_bias |
|
6 |
13 |
76 |
2 |
| vm_map_lock_try_ln |
|
6 |
31 |
193 |
3 |
| vm_map_lock_ln |
|
5 |
28 |
190 |
3 |
| vm_map_lock_read_ln |
|
2 |
10 |
78 |
3 |
| vm_map_unlock_ln |
|
2 |
10 |
78 |
3 |
| vm_map_unlock_read_ln |
|
2 |
10 |
78 |
3 |
| vm_map_downgrade_ln |
|
2 |
10 |
96 |
3 |
| vm_map_upgrade_ln |
|
2 |
13 |
114 |
3 |
| vm_map_busy_ln |
|
1 |
7 |
51 |
3 |
| vm_map_unbusy_ln |
|
2 |
11 |
78 |
3 |
| uvm_map_fill_vmmap |
|
4 |
41 |
275 |
3 |
| uvm_map_setup_md |
|
3 |
12 |
88 |
1 |
| uvm_map_setup_md |
|
3 |
11 |
80 |
1 |
| uvm_map_setup_md |
|
3 |
11 |
75 |
1 |
| Source file: ./sys/miscfs/deadfs/dead_vnops.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dead_open |
|
1 |
4 |
13 |
1 |
| dead_read |
|
3 |
9 |
53 |
1 |
| dead_write |
|
2 |
7 |
34 |
1 |
| dead_ioctl |
|
2 |
7 |
46 |
1 |
| dead_poll |
|
2 |
5 |
20 |
1 |
| dead_strategy |
|
3 |
13 |
81 |
1 |
| dead_lock |
|
3 |
8 |
57 |
1 |
| dead_bmap |
|
2 |
7 |
56 |
1 |
| dead_print |
|
1 |
5 |
16 |
1 |
| dead_ebadf |
|
1 |
4 |
13 |
1 |
| dead_badop |
|
1 |
4 |
13 |
1 |
| chkvnlock |
|
2 |
10 |
50 |
1 |
| Source file: ./sys/uvm/uvm_swap.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| uvm_swap_init |
|
4 |
16 |
114 |
1 |
| uvm_swap_initcrypt_all |
|
2 |
15 |
75 |
1 |
| uvm_swap_initcrypt |
|
1 |
7 |
54 |
2 |
| uvm_swap_allocpages |
|
4 |
21 |
141 |
2 |
| uvm_swap_freepages |
|
2 |
8 |
44 |
2 |
| uvm_swap_markdecrypt |
|
4 |
17 |
106 |
4 |
| uvm_swap_needdecrypt |
|
3 |
8 |
51 |
2 |
| uvm_swap_finicrypt_all |
|
4 |
19 |
115 |
1 |
| swaplist_insert |
|
6 |
24 |
163 |
3 |
| swaplist_find |
|
3 |
17 |
89 |
2 |
| swaplist_trim |
|
2 |
10 |
60 |
1 |
| swapdrum_add |
|
2 |
9 |
52 |
2 |
| swapdrum_getsdp |
|
3 |
14 |
69 |
1 |
| sys_swapctl |
|
24 |
125 |
814 |
3 |
| swap_on |
|
26 |
83 |
562 |
2 |
| swap_off |
|
8 |
33 |
223 |
2 |
| swstrategy |
|
4 |
31 |
173 |
1 |
| sw_reg_strategy |
|
12 |
97 |
679 |
3 |
| sw_reg_start |
|
5 |
17 |
99 |
1 |
| sw_reg_iodone |
|
1 |
5 |
31 |
1 |
| sw_reg_iodone_internal |
|
8 |
35 |
243 |
1 |
| uvm_swap_alloc |
|
7 |
32 |
190 |
2 |
| uvm_swap_markbad |
|
2 |
8 |
36 |
2 |
| uvm_swap_free |
|
8 |
31 |
180 |
2 |
| uvm_swap_put |
|
2 |
7 |
51 |
4 |
| uvm_swap_get |
|
5 |
16 |
94 |
3 |
| Source file: ./sys/miscfs/fifofs/fifo.h |
| Source file: ./sys/miscfs/fuse/fusefs_node.h |
| Source file: ./sys/miscfs/fuse/fuse_file.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fusefs_file_open |
|
4 |
20 |
143 |
6 |
| fusefs_file_close |
|
5 |
19 |
155 |
6 |
| fusefs_fd_get |
|
2 |
6 |
42 |
2 |
| Source file: ./sys/miscfs/fuse/fusefs.h |
| Source file: ./sys/uvm/uvm_page.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| uvm_pagecmp |
|
2 |
4 |
38 |
2 |
| uvm_pageinsert |
|
1 |
9 |
67 |
1 |
| uvm_pageremove |
|
1 |
9 |
60 |
1 |
| uvm_page_init |
|
8 |
60 |
472 |
2 |
| uvm_setpagesize |
|
5 |
11 |
80 |
1 |
| uvm_pageboot_alloc |
|
10 |
35 |
205 |
1 |
| uvm_page_physget |
|
22 |
59 |
405 |
1 |
| uvm_page_physload |
|
25 |
94 |
574 |
5 |
| uvm_page_physdump |
|
5 |
20 |
128 |
1 |
| uvm_shutdown |
|
2 |
4 |
10 |
1 |
| uvm_pagealloc_pg |
|
4 |
17 |
98 |
4 |
| uvm_pglistalloc |
|
13 |
38 |
305 |
8 |
| uvm_pglistfree |
|
1 |
4 |
14 |
1 |
| uvm_pagealloc_multi |
|
3 |
22 |
159 |
4 |
| uvm_pagerealloc_multi |
|
4 |
28 |
206 |
5 |
| uvm_pagealloc |
|
16 |
38 |
300 |
4 |
| uvm_pagerealloc |
|
3 |
12 |
58 |
3 |
| uvm_pagefree |
|
11 |
39 |
258 |
1 |
| uvm_page_unbusy |
|
8 |
34 |
189 |
2 |
| uvm_page_own |
|
5 |
21 |
105 |
2 |
| vm_physseg_find |
|
10 |
29 |
182 |
2 |
| PHYS_TO_VM_PAGE |
|
2 |
8 |
54 |
1 |
| uvm_pagelookup |
|
1 |
6 |
38 |
2 |
| uvm_pagewire |
|
5 |
20 |
124 |
1 |
| uvm_pageunwire |
|
2 |
10 |
56 |
1 |
| uvm_pagedeactivate |
|
6 |
21 |
149 |
1 |
| uvm_pageactivate |
|
5 |
20 |
127 |
1 |
| uvm_pagezero |
|
1 |
5 |
24 |
1 |
| uvm_pagecopy |
|
1 |
5 |
31 |
2 |
| uvm_pagecount |
|
3 |
17 |
105 |
1 |
| Source file: ./sys/miscfs/fuse/fusebuf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fb_setup |
|
2 |
16 |
109 |
4 |
| fb_queue |
|
2 |
10 |
64 |
2 |
| fb_delete |
|
2 |
7 |
36 |
1 |
| Source file: ./sys/uvm/uvm_pmemrange.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| uvm_pmr_pg_to_memtype |
|
2 |
6 |
23 |
1 |
| pow2divide |
|
2 |
7 |
41 |
2 |
| uvm_pmemrange_addr_cmp |
|
2 |
5 |
36 |
2 |
| uvm_pmemrange_use_cmp |
|
3 |
8 |
56 |
2 |
| uvm_pmr_addr_cmp |
|
2 |
7 |
49 |
2 |
| uvm_pmr_size_cmp |
|
3 |
11 |
81 |
2 |
| uvm_pmr_nfindsz |
|
5 |
17 |
131 |
3 |
| uvm_pmr_nextsz |
|
5 |
13 |
101 |
3 |
| uvm_pmr_pnaddr |
|
13 |
27 |
238 |
4 |
| uvm_pmr_remove_addr |
|
1 |
7 |
57 |
2 |
| uvm_pmr_remove_size |
|
5 |
20 |
147 |
2 |
| uvm_pmr_remove |
|
1 |
7 |
38 |
2 |
| uvm_pmr_insert_addr |
|
8 |
35 |
244 |
3 |
| uvm_pmr_insert_size |
|
7 |
24 |
203 |
2 |
| uvm_pmr_insert |
|
1 |
8 |
48 |
3 |
| uvm_pmr_findnextsegment |
|
11 |
27 |
198 |
3 |
| uvm_pmr_remove_1strange |
|
12 |
45 |
350 |
4 |
| uvm_pmr_extract_range |
|
9 |
40 |
343 |
5 |
| uvm_pmr_getpages |
|
57 |
189 |
1167 |
8 |
| uvm_pmr_freepages |
|
7 |
34 |
288 |
2 |
| uvm_pmr_freepageq |
|
6 |
29 |
186 |
1 |
| uvm_pmemrange_use_insert |
|
4 |
18 |
89 |
2 |
| uvm_pmr_assertvalid |
|
15 |
60 |
490 |
1 |
| uvm_pmr_split |
|
11 |
64 |
456 |
1 |
| uvm_pmr_use_inc |
|
2 |
23 |
152 |
2 |
| uvm_pmr_allocpmr |
|
3 |
20 |
129 |
1 |
| uvm_pmr_init |
|
2 |
17 |
134 |
1 |
| uvm_pmemrange_find |
|
4 |
14 |
75 |
1 |
| uvm_pmr_isfree |
|
5 |
18 |
138 |
1 |
| uvm_pmr_rootupdate |
|
20 |
61 |
413 |
5 |
| uvm_pmr_get1page |
|
26 |
92 |
551 |
6 |
| uvm_pmr_print |
|
5 |
34 |
231 |
1 |
| uvm_wait_pla |
|
9 |
35 |
235 |
4 |
| uvm_wakeup_pla |
|
5 |
20 |
124 |
2 |
| uvm_pagezero_thread |
|
5 |
29 |
171 |
1 |
| Source file: ./sys/miscfs/fifofs/fifo_vnops.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fifo_open |
|
20 |
86 |
605 |
1 |
| fifo_read |
|
8 |
24 |
171 |
1 |
| fifo_write |
|
5 |
17 |
131 |
1 |
| fifo_ioctl |
|
6 |
21 |
142 |
1 |
| fifo_poll |
|
14 |
35 |
275 |
1 |
| fifo_inactive |
|
1 |
6 |
31 |
1 |
| fifo_close |
|
9 |
33 |
215 |
1 |
| fifo_reclaim |
|
2 |
13 |
80 |
1 |
| fifo_print |
|
1 |
8 |
35 |
1 |
| fifo_printinfo |
|
1 |
6 |
31 |
1 |
| fifo_pathconf |
|
4 |
20 |
77 |
1 |
| fifo_ebadf |
|
1 |
4 |
13 |
1 |
| fifo_advlock |
|
1 |
4 |
13 |
1 |
| fifo_badop |
|
1 |
5 |
18 |
1 |
| fifo_kqfilter |
|
3 |
22 |
132 |
1 |
| filt_fifordetach |
|
2 |
7 |
63 |
1 |
| filt_fiforead |
|
4 |
18 |
115 |
2 |
| filt_fifowdetach |
|
2 |
7 |
63 |
1 |
| filt_fifowrite |
|
4 |
18 |
123 |
2 |
| Source file: ./sys/miscfs/fuse/fuse_vfsops.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fusefs_mount |
|
7 |
43 |
337 |
5 |
| fusefs_start |
|
1 |
4 |
22 |
3 |
| fusefs_unmount |
|
5 |
25 |
162 |
3 |
| fusefs_root |
|
2 |
10 |
61 |
2 |
| fusefs_quotactl |
|
1 |
5 |
28 |
5 |
| fusefs_statfs |
|
3 |
37 |
251 |
3 |
| fusefs_sync |
|
1 |
5 |
27 |
4 |
| fusefs_vget |
|
7 |
37 |
265 |
3 |
| fusefs_fhtovp |
|
1 |
4 |
24 |
3 |
| fusefs_vptofh |
|
1 |
4 |
19 |
2 |
| fusefs_init |
|
1 |
6 |
36 |
1 |
| fusefs_sysctl |
|
6 |
21 |
136 |
7 |
| fusefs_checkexp |
|
1 |
5 |
28 |
4 |
| Source file: ./sys/ufs/mfs/mfs_vnops.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mfs_open |
|
3 |
8 |
37 |
1 |
| mfs_ioctl |
|
1 |
4 |
13 |
1 |
| mfs_strategy |
|
5 |
18 |
120 |
1 |
| mfs_doio |
|
4 |
20 |
138 |
2 |
| mfs_close |
|
6 |
22 |
141 |
1 |
| mfs_inactive |
|
4 |
9 |
62 |
1 |
| mfs_reclaim |
|
1 |
8 |
46 |
1 |
| mfs_print |
|
1 |
8 |
49 |
1 |
| mfs_badop |
|
1 |
4 |
13 |
1 |
| Source file: ./sys/ufs/mfs/mfs_extern.h |
| Source file: ./sys/ufs/mfs/mfsnode.h |
| Source file: ./sys/miscfs/fuse/fuse_lookup.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fusefs_lookup |
|
38 |
125 |
860 |
1 |
| Source file: ./sys/ufs/mfs/mfs_vfsops.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mfs_mount |
|
15 |
65 |
530 |
5 |
| mfs_start |
|
10 |
30 |
186 |
3 |
| mfs_checkexp |
|
1 |
5 |
28 |
4 |
| mfs_init |
|
1 |
4 |
17 |
1 |
| Source file: ./sys/miscfs/fuse/fuse_device.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fuse_dump_buff |
|
8 |
23 |
161 |
2 |
| fuse_lookup |
|
2 |
8 |
39 |
1 |
| fuse_create |
|
2 |
12 |
84 |
1 |
| fuse_destroy |
|
1 |
6 |
37 |
2 |
| fuse_device_cleanup |
|
10 |
43 |
218 |
2 |
| fuse_device_queue_fbuf |
|
2 |
10 |
58 |
2 |
| fuse_device_set_fmp |
|
3 |
8 |
47 |
2 |
| fuseattach |
|
1 |
4 |
13 |
1 |
| fuseopen |
|
3 |
10 |
63 |
4 |
| fuseclose |
|
5 |
22 |
139 |
4 |
| fuseioctl |
|
16 |
84 |
490 |
5 |
| fuseread |
|
8 |
37 |
255 |
3 |
| fusewrite |
|
16 |
58 |
343 |
3 |
| fusepoll |
|
7 |
17 |
128 |
3 |
| fusekqfilter |
|
4 |
23 |
120 |
2 |
| filt_fuse_rdetach |
|
1 |
6 |
41 |
1 |
| filt_fuse_read |
|
2 |
8 |
46 |
2 |
| Source file: ./sys/ufs/ffs/ffs_balloc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ffs1_balloc |
|
69 |
266 |
1945 |
6 |
| ffs2_balloc |
|
77 |
305 |
2189 |
6 |
| ffs_balloc |
|
3 |
8 |
75 |
6 |
| Source file: ./sys/miscfs/fuse/fuse_vnops.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fusefs_kqfilter |
|
4 |
22 |
112 |
1 |
| filt_fusefsdetach |
|
1 |
5 |
39 |
1 |
| filt_fusefsread |
|
4 |
15 |
109 |
2 |
| filt_fusefswrite |
|
2 |
9 |
46 |
2 |
| filt_fusefsvnode |
|
3 |
10 |
55 |
2 |
| fusefs_open |
|
7 |
29 |
193 |
1 |
| fusefs_close |
|
11 |
33 |
227 |
1 |
| fusefs_access |
|
14 |
54 |
374 |
1 |
| fusefs_getattr |
|
3 |
40 |
293 |
1 |
| fusefs_setattr |
|
29 |
96 |
602 |
1 |
| fusefs_ioctl |
|
1 |
4 |
13 |
1 |
| fusefs_link |
|
9 |
61 |
371 |
1 |
| fusefs_symlink |
|
6 |
50 |
326 |
1 |
| fusefs_readdir |
|
14 |
54 |
369 |
1 |
| fusefs_inactive |
|
4 |
25 |
186 |
1 |
| fusefs_readlink |
|
5 |
30 |
192 |
1 |
| fusefs_reclaim |
|
6 |
29 |
218 |
1 |
| fusefs_print |
|
1 |
9 |
55 |
1 |
| fusefs_create |
|
6 |
49 |
320 |
1 |
| fusefs_mknod |
|
7 |
55 |
367 |
1 |
| fusefs_read |
|
8 |
39 |
262 |
1 |
| fusefs_write |
|
9 |
51 |
340 |
1 |
| fusefs_poll |
|
1 |
5 |
32 |
1 |
| fusefs_rename |
|
23 |
93 |
608 |
1 |
| fusefs_mkdir |
|
6 |
47 |
313 |
1 |
| fusefs_rmdir |
|
8 |
51 |
305 |
1 |
| fusefs_remove |
|
6 |
45 |
268 |
1 |
| fusefs_strategy |
|
1 |
4 |
13 |
1 |
| fusefs_lock |
|
1 |
6 |
44 |
1 |
| fusefs_unlock |
|
1 |
7 |
40 |
1 |
| fusefs_islocked |
|
1 |
5 |
31 |
1 |
| fusefs_advlock |
|
1 |
7 |
60 |
1 |
| Source file: ./sys/ufs/ffs/softdep.h |
| Source file: ./sys/ufs/ffs/ffs_vnops.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ffs_read |
|
23 |
67 |
468 |
1 |
| ffs_write |
|
38 |
101 |
740 |
1 |
| ffs_fsync |
|
25 |
67 |
456 |
1 |
| ffs_reclaim |
|
5 |
18 |
119 |
1 |
| ffsfifo_reclaim |
|
1 |
5 |
21 |
1 |
| Source file: ./sys/ufs/ffs/ffs_inode.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ffs_update |
|
12 |
39 |
295 |
2 |
| ffs_truncate |
|
55 |
194 |
1616 |
4 |
| ffs_indirtrunc |
|
24 |
95 |
639 |
6 |
| Source file: ./sys/ufs/ffs/ffs_vfsops.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ffs_checkrange |
|
7 |
28 |
184 |
2 |
| ffs_mountroot |
|
6 |
37 |
251 |
1 |
| ffs_mount |
|
53 |
175 |
1148 |
5 |
| ffs_reload_vnode |
|
5 |
30 |
222 |
2 |
| ffs_reload |
|
12 |
68 |
534 |
3 |
| ffs_validate |
|
12 |
20 |
151 |
1 |
| ffs_mountfs |
|
49 |
189 |
1331 |
3 |
| ffs_oldfscompat |
|
6 |
23 |
160 |
1 |
| ffs1_compat_read |
|
4 |
19 |
145 |
3 |
| ffs1_compat_write |
|
2 |
10 |
80 |
2 |
| ffs_unmount |
|
9 |
38 |
289 |
3 |
| ffs_flushfiles |
|
6 |
22 |
172 |
3 |
| ffs_statfs |
|
5 |
23 |
185 |
3 |
| ffs_sync_vnode |
|
6 |
19 |
146 |
2 |
| ffs_sync |
|
11 |
37 |
273 |
4 |
| ffs_vget |
|
19 |
82 |
599 |
3 |
| ffs_fhtovp |
|
3 |
11 |
83 |
3 |
| ffs_vptofh |
|
1 |
11 |
74 |
2 |
| ffs_sbupdate |
|
11 |
50 |
392 |
2 |
| ffs_init |
|
3 |
15 |
104 |
1 |
| ffs_sysctl |
|
24 |
51 |
374 |
7 |
| Source file: ./sys/ufs/ffs/ffs_extern.h |
| Source file: ./sys/ufs/ffs/fs.h |
| Source file: ./sys/ufs/ffs/ffs_tables.c |
| Source file: ./sys/ufs/ufs/ufs_inode.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ufs_inactive |
|
13 |
34 |
275 |
1 |
| ufs_reclaim |
|
8 |
21 |
118 |
2 |
| Source file: ./sys/ufs/ffs/ffs_softdep_stub.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| softdep_flushfiles |
|
1 |
4 |
22 |
3 |
| softdep_mount |
|
1 |
5 |
29 |
4 |
| softdep_initialize |
|
1 |
4 |
8 |
1 |
| softdep_setup_inomapdep |
|
1 |
4 |
22 |
3 |
| softdep_setup_blkmapdep |
|
1 |
4 |
22 |
3 |
| softdep_setup_allocdirect |
|
1 |
5 |
34 |
7 |
| softdep_setup_allocindir_page |
|
1 |
5 |
36 |
7 |
| softdep_setup_allocindir_meta |
|
1 |
5 |
30 |
5 |
| softdep_setup_freeblocks |
|
1 |
4 |
17 |
2 |
| softdep_freefile |
|
1 |
4 |
20 |
3 |
| softdep_setup_directory_add |
|
1 |
6 |
38 |
6 |
| softdep_change_directoryentry_offset |
|
1 |
5 |
26 |
5 |
| softdep_setup_remove |
|
1 |
5 |
27 |
4 |
| softdep_setup_directory_change |
|
1 |
5 |
30 |
5 |
| softdep_change_linkcnt |
|
1 |
4 |
17 |
2 |
| softdep_load_inodeblock |
|
1 |
4 |
14 |
1 |
| softdep_update_inodeblock |
|
1 |
4 |
22 |
3 |
| softdep_fsync_mountdev |
|
1 |
4 |
14 |
2 |
| softdep_flushworklist |
|
1 |
5 |
28 |
3 |
| softdep_sync_metadata |
|
1 |
4 |
14 |
1 |
| softdep_slowdown |
|
1 |
4 |
14 |
1 |
| Source file: ./sys/ufs/ffs/ffs_subr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ffs_bufatoff |
|
3 |
22 |
155 |
4 |
| ffs_fragacct |
|
5 |
24 |
176 |
4 |
| ffs_checkoverlap |
|
9 |
26 |
200 |
2 |
| ffs_isblock |
|
5 |
18 |
145 |
3 |
| ffs_clrblock |
|
5 |
18 |
120 |
3 |
| ffs_setblock |
|
5 |
18 |
120 |
3 |
| ffs_isfreeblock |
|
5 |
14 |
136 |
3 |
| ffs_vinit |
|
14 |
42 |
241 |
2 |
| Source file: ./sys/ufs/ufs/ufs_quota_stub.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| getinoquota |
|
1 |
3 |
14 |
1 |
| ufs_quota_alloc_blocks2 |
|
1 |
4 |
26 |
4 |
| ufs_quota_free_blocks2 |
|
1 |
4 |
26 |
4 |
| ufs_quota_alloc_inode2 |
|
1 |
4 |
23 |
3 |
| ufs_quota_free_inode2 |
|
1 |
4 |
23 |
3 |
| quotaoff |
|
1 |
3 |
22 |
3 |
| qsync |
|
1 |
3 |
14 |
1 |
| ufs_quotactl |
|
1 |
3 |
28 |
5 |
| ufs_quota_init |
|
1 |
2 |
6 |
1 |
| ufs_quota_delete |
|
1 |
3 |
14 |
1 |
| Source file: ./sys/ufs/ufs/ufs_ihash.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ufs_ihash |
|
1 |
8 |
65 |
2 |
| ufs_ihashinit |
|
1 |
5 |
31 |
1 |
| ufs_ihashlookup |
|
4 |
13 |
72 |
2 |
| ufs_ihashget |
|
4 |
18 |
100 |
2 |
| ufs_ihashins |
|
3 |
18 |
114 |
1 |
| ufs_ihashrem |
|
4 |
11 |
66 |
1 |
| Source file: ./sys/ufs/ufs/ufs_vfsops.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ufs_start |
|
1 |
4 |
22 |
3 |
| ufs_root |
|
2 |
9 |
55 |
2 |
| ufs_check_export |
|
2 |
12 |
83 |
4 |
| ufs_init |
|
3 |
11 |
43 |
1 |
| ufs_fhtovp |
|
4 |
18 |
120 |
3 |
| Source file: ./sys/ufs/ffs/ffs_alloc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ffs_alloc |
|
14 |
45 |
327 |
6 |
| ffs_realloccg |
|
36 |
120 |
855 |
8 |
| ffs_inode_alloc |
|
16 |
62 |
457 |
4 |
| ffs_dirpref |
|
31 |
78 |
678 |
1 |
| ffs1_blkpref |
|
20 |
46 |
427 |
4 |
| ffs2_blkpref |
|
20 |
42 |
419 |
4 |
| ffs_hashalloc |
|
8 |
29 |
216 |
5 |
| ffs_cgread |
|
3 |
14 |
95 |
3 |
| ffs_fragextend |
|
11 |
43 |
373 |
5 |
| ffs_alloccg |
|
16 |
65 |
510 |
4 |
| ffs_alloccgblk |
|
9 |
44 |
368 |
3 |
| ffs_nodealloccg |
|
20 |
80 |
638 |
4 |
| ffs_blkfree |
|
13 |
81 |
702 |
3 |
| ffs_inode_free |
|
2 |
9 |
60 |
3 |
| ffs_freefile |
|
7 |
37 |
273 |
3 |
| ffs_mapsearch |
|
7 |
43 |
377 |
4 |
| ffs_clusteracct |
|
16 |
64 |
448 |
4 |
| Source file: ./sys/ufs/ufs/ufs_extern.h |
| Source file: ./sys/ufs/ufs/ufs_dirhash.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ufsdirhash_build |
|
32 |
127 |
1008 |
1 |
| ufsdirhash_free |
|
5 |
30 |
227 |
1 |
| ufsdirhash_lookup |
|
31 |
108 |
711 |
6 |
| ufsdirhash_findfree |
|
19 |
68 |
464 |
3 |
| ufsdirhash_enduseful |
|
6 |
22 |
147 |
1 |
| ufsdirhash_add |
|
6 |
28 |
193 |
3 |
| ufsdirhash_remove |
|
3 |
19 |
124 |
3 |
| ufsdirhash_move |
|
4 |
20 |
123 |
4 |
| ufsdirhash_newblk |
|
5 |
26 |
149 |
2 |
| ufsdirhash_dirtrunc |
|
10 |
31 |
211 |
2 |
| ufsdirhash_checkblock |
|
18 |
44 |
322 |
3 |
| ufsdirhash_hash |
|
1 |
4 |
31 |
3 |
| ufsdirhash_adjfree |
|
9 |
21 |
200 |
3 |
| ufsdirhash_findslot |
|
4 |
13 |
114 |
4 |
| ufsdirhash_delslot |
|
4 |
17 |
136 |
2 |
| ufsdirhash_getprev |
|
5 |
20 |
141 |
2 |
| ufsdirhash_recycle |
|
5 |
41 |
278 |
1 |
| ufsdirhash_init |
|
1 |
10 |
68 |
1 |
| ufsdirhash_uninit |
|
1 |
5 |
25 |
1 |
| Source file: ./sys/ufs/ufs/dinode.h |
| Source file: ./sys/ufs/ufs/ufs_bmap.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ufs_bmap |
|
3 |
10 |
76 |
1 |
| ufs_bmaparray |
|
41 |
90 |
723 |
6 |
| ufs_getlbns |
|
17 |
54 |
334 |
4 |
| Source file: ./sys/ufs/ufs/dir.h |
| Source file: ./sys/ufs/ufs/quota.h |
| Source file: ./sys/ufs/ufs/dirhash.h |
| Source file: ./sys/ufs/ufs/ufsmount.h |
| Source file: ./sys/ufs/ufs/inode.h |
| Source file: ./sys/ufs/ext2fs/ext2fs_extern.h |
| Source file: ./sys/ufs/ufs/ufs_vnops.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ufs_itimes |
|
11 |
34 |
233 |
1 |
| ufs_create |
|
2 |
12 |
73 |
1 |
| ufs_mknod |
|
3 |
23 |
157 |
1 |
| ufs_open |
|
4 |
11 |
80 |
1 |
| ufs_close |
|
2 |
8 |
42 |
1 |
| ufs_access |
|
17 |
34 |
212 |
1 |
| ufs_getattr |
|
3 |
34 |
312 |
1 |
| ufs_setattr |
|
49 |
109 |
870 |
1 |
| ufs_chmod |
|
11 |
22 |
201 |
4 |
| ufs_chown |
|
24 |
67 |
532 |
5 |
| ufs_ioctl |
|
2 |
5 |
20 |
1 |
| ufs_poll |
|
1 |
5 |
32 |
1 |
| ufs_remove |
|
5 |
24 |
154 |
1 |
| ufs_link |
|
13 |
63 |
402 |
1 |
| ufs_rename |
|
92 |
283 |
1895 |
1 |
| ufs_mkdir |
|
19 |
100 |
745 |
1 |
| ufs_rmdir |
|
16 |
68 |
419 |
1 |
| ufs_symlink |
|
3 |
25 |
187 |
1 |
| ufs_readdir |
|
13 |
70 |
597 |
1 |
| ufs_readlink |
|
4 |
13 |
116 |
1 |
| ufs_lock |
|
1 |
6 |
42 |
1 |
| ufs_unlock |
|
1 |
7 |
38 |
1 |
| ufs_islocked |
|
1 |
5 |
29 |
1 |
| ufs_strategy |
|
7 |
36 |
217 |
1 |
| ufs_print |
|
4 |
16 |
133 |
1 |
| ufsspec_read |
|
1 |
6 |
34 |
1 |
| ufsspec_write |
|
1 |
6 |
36 |
1 |
| ufsspec_close |
|
2 |
8 |
45 |
1 |
| ufsfifo_read |
|
1 |
6 |
34 |
1 |
| ufsfifo_write |
|
1 |
6 |
36 |
1 |
| ufsfifo_close |
|
2 |
8 |
45 |
1 |
| ufs_pathconf |
|
14 |
50 |
222 |
1 |
| ufs_advlock |
|
1 |
7 |
61 |
1 |
| ufs_makeinode |
|
16 |
63 |
500 |
4 |
| ufs_kqfilter |
|
4 |
22 |
112 |
1 |
| filt_ufsdetach |
|
1 |
5 |
39 |
1 |
| filt_ufsread |
|
4 |
15 |
112 |
2 |
| filt_ufswrite |
|
2 |
9 |
46 |
2 |
| filt_ufsvnode |
|
3 |
10 |
54 |
2 |
| Source file: ./sys/ufs/ext2fs/ext2fs_readwrite.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ext2fs_read |
|
2 |
16 |
93 |
1 |
| ext2_ind_read |
|
21 |
60 |
441 |
4 |
| ext4_ext_read |
|
14 |
62 |
435 |
4 |
| ext2fs_write |
|
34 |
97 |
652 |
1 |
| Source file: ./sys/ufs/ext2fs/ext2fs_extents.h |
| Source file: ./sys/ufs/ext2fs/ext2fs_bmap.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ext2fs_bmap |
|
4 |
14 |
119 |
1 |
| ext4_bmapext |
|
5 |
21 |
168 |
6 |
| ext2fs_bmaparray |
|
36 |
85 |
646 |
6 |
| Source file: ./sys/ufs/ufs/ufs_lookup.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ufs_lookup |
|
95 |
302 |
2027 |
1 |
| ufs_dirbad |
|
2 |
9 |
71 |
3 |
| ufs_dirbadentry |
|
11 |
30 |
188 |
3 |
| ufs_makedirentry |
|
5 |
16 |
122 |
3 |
| ufs_direnter |
|
44 |
142 |
1145 |
5 |
| ufs_dirremove |
|
14 |
49 |
345 |
4 |
| ufs_dirrewrite |
|
5 |
31 |
198 |
5 |
| ufs_dirempty |
|
14 |
34 |
240 |
3 |
| ufs_checkpath |
|
16 |
55 |
298 |
3 |
| Source file: ./sys/ufs/ext2fs/ext2fs.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| e2fs_overflow |
|
2 |
4 |
28 |
3 |
| cg_has_sb |
|
9 |
13 |
87 |
1 |
| Source file: ./sys/ufs/ufs/ufs_quota.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dqref |
|
1 |
4 |
14 |
1 |
| getinoquota |
|
5 |
18 |
134 |
1 |
| ufs_quota_alloc_blocks2 |
|
14 |
34 |
235 |
4 |
| ufs_quota_free_blocks2 |
|
9 |
27 |
171 |
4 |
| chkdqchg |
|
12 |
38 |
268 |
4 |
| ufs_quota_alloc_inode2 |
|
12 |
31 |
214 |
3 |
| ufs_quota_free_inode2 |
|
8 |
23 |
149 |
3 |
| chkiqchg |
|
12 |
38 |
268 |
4 |
| chkdquot |
|
6 |
17 |
115 |
1 |
| quotaon_vnode |
|
4 |
13 |
85 |
2 |
| quotaon |
|
11 |
51 |
407 |
4 |
| quotaoff_vnode |
|
3 |
16 |
112 |
2 |
| quotaoff |
|
7 |
26 |
200 |
3 |
| getquota |
|
5 |
15 |
123 |
4 |
| setquota |
|
21 |
50 |
385 |
4 |
| setuse |
|
14 |
38 |
298 |
4 |
| qsync_vnode |
|
6 |
17 |
117 |
2 |
| qsync |
|
4 |
12 |
73 |
1 |
| ufs_quota_init |
|
1 |
6 |
36 |
1 |
| dqget |
|
25 |
94 |
698 |
5 |
| dqrele |
|
5 |
14 |
78 |
2 |
| dqsync |
|
12 |
44 |
324 |
2 |
| ufs_quota_delete |
|
3 |
12 |
76 |
1 |
| ufs_quotactl |
|
14 |
48 |
260 |
5 |
| Source file: ./sys/ufs/ext2fs/ext2fs_dinode.h |
| Source file: ./sys/ufs/ext2fs/ext2fs_subr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ext2fs_bufatoff |
|
9 |
43 |
320 |
4 |
| ext2fs_checkoverlap |
|
9 |
25 |
188 |
2 |
| ext2fs_vinit |
|
8 |
39 |
228 |
2 |
| Source file: ./sys/ufs/ext2fs/ext2fs_lookup.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ext2fs_dirconv2ffs |
|
2 |
9 |
76 |
2 |
| ext2fs_readdir |
|
8 |
57 |
395 |
1 |
| ext2fs_lookup |
|
66 |
216 |
1556 |
1 |
| ext2fs_search_dirblock |
|
16 |
62 |
453 |
8 |
| ext2fs_dirbadentry |
|
7 |
26 |
169 |
3 |
| ext2fs_direnter |
|
21 |
93 |
716 |
3 |
| ext2fs_dirremove |
|
4 |
26 |
189 |
2 |
| ext2fs_dirrewrite |
|
4 |
20 |
147 |
3 |
| ext2fs_dirempty |
|
11 |
29 |
210 |
3 |
| ext2fs_checkpath |
|
14 |
57 |
290 |
3 |
| Source file: ./sys/ufs/ext2fs/ext2fs_balloc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ext2fs_buf_alloc |
|
33 |
183 |
1277 |
6 |
| Source file: ./sys/ufs/ext2fs/ext2fs_extents.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ext4_ext_binsearch_index |
|
3 |
16 |
126 |
3 |
| ext4_ext_binsearch |
|
4 |
17 |
136 |
3 |
| ext4_ext_in_cache |
|
4 |
16 |
117 |
3 |
| ext4_ext_put_cache |
|
1 |
9 |
69 |
3 |
| ext4_ext_find_extent |
|
5 |
39 |
263 |
4 |
| Source file: ./sys/ufs/ext2fs/ext2fs_alloc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ext2fs_alloc |
|
9 |
32 |
210 |
5 |
| ext2fs_inode_alloc |
|
8 |
43 |
291 |
4 |
| ext2fs_dirpref |
|
5 |
15 |
107 |
1 |
| ext2fs_blkpref |
|
6 |
18 |
127 |
4 |
| ext2fs_hashalloc |
|
8 |
29 |
216 |
5 |
| ext2fs_alloccg |
|
14 |
56 |
386 |
4 |
| ext2fs_nodealloccg |
|
10 |
56 |
402 |
4 |
| ext2fs_blkfree |
|
4 |
31 |
208 |
2 |
| ext2fs_inode_free |
|
7 |
35 |
244 |
3 |
| ext2fs_mapsearch |
|
6 |
30 |
214 |
3 |
| ext2fs_fserr |
|
1 |
4 |
31 |
3 |
| Source file: ./sys/ufs/ext2fs/ext2fs_inode.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ext2fs_size |
|
2 |
7 |
45 |
1 |
| ext2fs_setsize |
|
6 |
17 |
119 |
2 |
| ext2fs_inactive |
|
13 |
32 |
242 |
1 |
| ext2fs_update |
|
5 |
35 |
247 |
2 |
| ext2fs_truncate |
|
41 |
147 |
1180 |
4 |
| ext2fs_indirtrunc |
|
17 |
84 |
572 |
6 |
| Source file: ./sys/ufs/ext2fs/ext2fs_bswap.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| e2fs_sb_bswap |
|
1 |
43 |
456 |
2 |
| e2fs_cg_bswap |
|
2 |
12 |
145 |
3 |
| e2fs_i_bswap |
|
2 |
28 |
280 |
3 |
| Source file: ./sys/ufs/ext2fs/ext2fs_dir.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| inot2ext2dt |
|
8 |
21 |
81 |
1 |
| Source file: ./sys/msdosfs/bpb.h |
| Source file: ./sys/msdosfs/bootsect.h |
| Source file: ./sys/ufs/ffs/ffs_softdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| acquire_lock |
|
3 |
18 |
100 |
2 |
| free_lock |
|
2 |
7 |
42 |
2 |
| acquire_lock_interlocked |
|
3 |
18 |
101 |
3 |
| free_lock_interlocked |
|
2 |
7 |
42 |
2 |
| sema_init |
|
1 |
8 |
50 |
4 |
| sema_get |
|
5 |
18 |
110 |
2 |
| sema_release |
|
6 |
13 |
76 |
1 |
| softdep_free |
|
16 |
48 |
211 |
2 |
| softdep_freequeue_add |
|
1 |
7 |
33 |
1 |
| softdep_freequeue_process |
|
2 |
11 |
60 |
1 |
| worklist_insert |
|
3 |
11 |
64 |
2 |
| worklist_remove |
|
3 |
11 |
61 |
1 |
| workitem_free |
|
3 |
9 |
44 |
1 |
| add_to_worklist |
|
5 |
15 |
83 |
1 |
| softdep_process_worklist |
|
17 |
66 |
310 |
1 |
| process_worklist_item |
|
24 |
73 |
411 |
2 |
| softdep_move_dependencies |
|
4 |
17 |
112 |
2 |
| softdep_flushworklist |
|
5 |
25 |
153 |
3 |
| softdep_flushfiles |
|
7 |
17 |
116 |
3 |
| pagedep_lookup |
|
12 |
53 |
370 |
4 |
| inodedep_lookup |
|
12 |
57 |
366 |
4 |
| newblk_lookup |
|
6 |
33 |
216 |
4 |
| softdep_initialize |
|
2 |
51 |
489 |
1 |
| softdep_mount |
|
6 |
29 |
247 |
4 |
| softdep_setup_inomapdep |
|
2 |
16 |
103 |
3 |
| softdep_setup_blkmapdep |
|
2 |
11 |
83 |
3 |
| bmsafemap_lookup |
|
4 |
23 |
159 |
1 |
| softdep_setup_allocdirect |
|
16 |
74 |
515 |
7 |
| allocdirect_merge |
|
10 |
34 |
241 |
3 |
| newfreefrag |
|
3 |
19 |
142 |
3 |
| handle_workitem_freefrag |
|
1 |
14 |
104 |
1 |
| newallocindir |
|
1 |
13 |
89 |
4 |
| softdep_setup_allocindir_page |
|
4 |
17 |
143 |
7 |
| softdep_setup_allocindir_meta |
|
1 |
10 |
77 |
5 |
| setup_allocindir_phase2 |
|
21 |
96 |
627 |
3 |
| softdep_setup_freeblocks |
|
15 |
80 |
664 |
2 |
| deallocate_dependencies |
|
21 |
83 |
494 |
2 |
| free_allocdirect |
|
10 |
33 |
218 |
3 |
| free_newdirblk |
|
9 |
22 |
155 |
1 |
| softdep_freefile |
|
3 |
22 |
155 |
3 |
| check_inode_unwritten |
|
11 |
26 |
176 |
1 |
| free_inodedep |
|
10 |
16 |
121 |
1 |
| handle_workitem_freeblocks |
|
11 |
54 |
412 |
1 |
| indir_trunc |
|
14 |
64 |
446 |
5 |
| free_allocindir |
|
7 |
20 |
129 |
2 |
| softdep_setup_directory_add |
|
17 |
94 |
685 |
6 |
| softdep_change_directoryentry_offset |
|
6 |
37 |
244 |
5 |
| free_diradd |
|
9 |
39 |
271 |
1 |
| softdep_setup_remove |
|
3 |
18 |
124 |
4 |
| newdirrem |
|
12 |
53 |
374 |
5 |
| softdep_setup_directory_change |
|
6 |
42 |
309 |
5 |
| softdep_change_linkcnt |
|
3 |
16 |
104 |
2 |
| handle_workitem_remove |
|
10 |
64 |
436 |
1 |
| handle_workitem_freefile |
|
5 |
24 |
157 |
1 |
| softdep_disk_io_initiation |
|
14 |
60 |
343 |
1 |
| initiate_write_filepage |
|
5 |
29 |
172 |
2 |
| initiate_write_inodeblock_ufs1 |
|
30 |
98 |
753 |
2 |
| initiate_write_inodeblock_ufs2 |
|
50 |
141 |
1138 |
2 |
| softdep_disk_write_complete |
|
26 |
101 |
610 |
1 |
| handle_allocdirect_partdone |
|
12 |
36 |
205 |
1 |
| handle_allocindir_partdone |
|
6 |
25 |
166 |
1 |
| handle_written_inodeblock |
|
37 |
146 |
908 |
2 |
| diradd_inode_written |
|
3 |
15 |
99 |
2 |
| handle_written_mkdir |
|
5 |
22 |
144 |
2 |
| handle_written_filepage |
|
12 |
49 |
345 |
2 |
| softdep_load_inodeblock |
|
2 |
12 |
75 |
1 |
| softdep_update_inodeblock |
|
12 |
40 |
305 |
3 |
| merge_inode_lists |
|
6 |
24 |
175 |
1 |
| softdep_fsync |
|
22 |
94 |
585 |
1 |
| softdep_fsync_mountdev |
|
8 |
31 |
200 |
2 |
| softdep_sync_metadata |
|
47 |
180 |
1057 |
1 |
| flush_inodedep_deps |
|
19 |
68 |
385 |
2 |
| flush_pagedep_deps |
|
28 |
107 |
655 |
3 |
| softdep_slowdown |
|
3 |
10 |
46 |
1 |
| request_cleanup |
|
14 |
49 |
276 |
2 |
| pause_timer |
|
3 |
7 |
39 |
1 |
| clear_remove |
|
10 |
37 |
226 |
1 |
| clear_inodedeps |
|
19 |
55 |
395 |
1 |
| softdep_count_dependencies |
|
18 |
62 |
295 |
3 |
| getdirtybuf |
|
5 |
21 |
128 |
2 |
| drain_output |
|
4 |
15 |
91 |
2 |
| softdep_deallocate_dependencies |
|
2 |
7 |
48 |
1 |
| softdep_error |
|
1 |
4 |
20 |
2 |
| softdep_print |
|
1 |
8 |
71 |
3 |
| worklist_print |
|
16 |
108 |
731 |
3 |
| Source file: ./sys/msdosfs/denode.h |
| Source file: ./sys/msdosfs/msdosfs_vfsops.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| msdosfs_mount |
|
31 |
118 |
812 |
5 |
| msdosfs_mountfs |
|
47 |
198 |
1497 |
4 |
| msdosfs_start |
|
1 |
4 |
22 |
3 |
| msdosfs_unmount |
|
5 |
24 |
173 |
3 |
| msdosfs_root |
|
3 |
12 |
86 |
2 |
| msdosfs_statfs |
|
1 |
14 |
101 |
3 |
| msdosfs_sync_vnode |
|
7 |
20 |
154 |
2 |
| msdosfs_sync |
|
5 |
24 |
163 |
4 |
| msdosfs_fhtovp |
|
2 |
14 |
96 |
3 |
| msdosfs_vptofh |
|
1 |
11 |
71 |
2 |
| msdosfs_check_export |
|
2 |
12 |
83 |
4 |
| Source file: ./sys/msdosfs/fat.h |
| Source file: ./sys/msdosfs/direntry.h |
| Source file: ./sys/ufs/ext2fs/ext2fs_vnops.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ext2fs_create |
|
1 |
7 |
46 |
1 |
| ext2fs_mknod |
|
3 |
22 |
150 |
1 |
| ext2fs_open |
|
3 |
8 |
54 |
1 |
| ext2fs_access |
|
3 |
11 |
90 |
1 |
| ext2fs_getattr |
|
8 |
37 |
326 |
1 |
| ext2fs_setattr |
|
49 |
100 |
771 |
1 |
| ext2fs_chmod |
|
9 |
19 |
164 |
4 |
| ext2fs_chown |
|
13 |
26 |
205 |
5 |
| ext2fs_remove |
|
6 |
27 |
147 |
1 |
| ext2fs_link |
|
11 |
53 |
309 |
1 |
| ext2fs_rename |
|
83 |
267 |
1669 |
1 |
| ext2fs_mkdir |
|
15 |
88 |
618 |
1 |
| ext2fs_rmdir |
|
8 |
43 |
252 |
1 |
| ext2fs_symlink |
|
4 |
27 |
184 |
1 |
| ext2fs_readlink |
|
2 |
13 |
92 |
1 |
| ext2fs_pathconf |
|
2 |
13 |
55 |
1 |
| ext2fs_advlock |
|
1 |
7 |
59 |
1 |
| ext2fs_makeinode |
|
11 |
48 |
336 |
4 |
| ext2fs_fsync |
|
1 |
7 |
54 |
1 |
| ext2fs_reclaim |
|
6 |
19 |
117 |
1 |
| ext2fsfifo_reclaim |
|
1 |
5 |
21 |
1 |
| Source file: ./sys/msdosfs/msdosfs_lookup.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| msdosfs_lookup |
|
90 |
270 |
1709 |
1 |
| createde |
|
20 |
81 |
559 |
4 |
| dosdirempty |
|
12 |
41 |
261 |
1 |
| doscheckpath |
|
23 |
68 |
404 |
2 |
| readep |
|
5 |
20 |
146 |
5 |
| readde |
|
1 |
5 |
41 |
3 |
| removede |
|
14 |
45 |
280 |
2 |
| uniqdosname |
|
12 |
43 |
271 |
3 |
| findwin95 |
|
8 |
33 |
184 |
1 |
| Source file: ./sys/msdosfs/msdosfs_fat.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fatblock |
|
4 |
14 |
103 |
5 |
| pcbmap |
|
31 |
96 |
583 |
5 |
| fc_lookup |
|
7 |
17 |
113 |
4 |
| fc_purge |
|
3 |
10 |
58 |
2 |
| updatefats |
|
9 |
35 |
232 |
3 |
| usemap_alloc |
|
1 |
5 |
35 |
2 |
| usemap_free |
|
1 |
5 |
37 |
2 |
| clusterfree |
|
3 |
14 |
77 |
3 |
| fatentry |
|
20 |
68 |
444 |
5 |
| fatchain |
|
14 |
55 |
345 |
4 |
| chainlength |
|
8 |
28 |
172 |
3 |
| chainalloc |
|
6 |
17 |
114 |
6 |
| clusteralloc |
|
14 |
61 |
487 |
5 |
| freeclusterchain |
|
12 |
52 |
338 |
2 |
| fillinusemap |
|
11 |
35 |
255 |
1 |
| extendfile |
|
18 |
76 |
488 |
5 |
| Source file: ./sys/msdosfs/msdosfsmount.h |
| Source file: ./sys/netinet/tcp.h |
| Source file: ./sys/ufs/ext2fs/ext2fs_vfsops.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ext2fs_init |
|
1 |
8 |
61 |
1 |
| ext2fs_mountroot |
|
6 |
35 |
285 |
1 |
| ext2fs_mount |
|
27 |
107 |
776 |
5 |
| ext2fs_reload_vnode |
|
5 |
30 |
228 |
2 |
| ext2fs_maxfilesize |
|
2 |
9 |
84 |
1 |
| e2fs_sbfill |
|
7 |
44 |
405 |
2 |
| ext2fs_reload |
|
6 |
35 |
253 |
3 |
| ext2fs_mountfs |
|
17 |
76 |
584 |
3 |
| ext2fs_unmount |
|
8 |
32 |
254 |
3 |
| ext2fs_flushfiles |
|
2 |
12 |
98 |
3 |
| ext2fs_statfs |
|
6 |
34 |
251 |
3 |
| ext2fs_sync_vnode |
|
7 |
19 |
145 |
2 |
| ext2fs_sync |
|
7 |
32 |
227 |
4 |
| ext2fs_vget |
|
12 |
76 |
536 |
3 |
| ext2fs_fhtovp |
|
8 |
26 |
183 |
3 |
| ext2fs_vptofh |
|
1 |
11 |
71 |
2 |
| ext2fs_sysctl |
|
1 |
5 |
36 |
7 |
| ext2fs_sbupdate |
|
2 |
14 |
95 |
2 |
| ext2fs_cgupdate |
|
6 |
19 |
172 |
2 |
| e2fs_sbcheck |
|
14 |
51 |
285 |
2 |
| Source file: ./sys/netinet/ip_ipcomp.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ipcompstat_inc |
|
1 |
4 |
15 |
1 |
| ipcompstat_add |
|
1 |
4 |
20 |
2 |
| Source file: ./sys/netinet/tcp_seq.h |
| Source file: ./sys/msdosfs/msdosfs_vnops.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| msdosfs_create |
|
10 |
43 |
326 |
1 |
| msdosfs_mknod |
|
1 |
8 |
48 |
1 |
| msdosfs_open |
|
2 |
6 |
18 |
1 |
| msdosfs_close |
|
3 |
12 |
79 |
1 |
| msdosfs_access |
|
6 |
18 |
153 |
1 |
| msdosfs_getattr |
|
13 |
62 |
517 |
1 |
| msdosfs_setattr |
|
54 |
127 |
898 |
1 |
| msdosfs_read |
|
16 |
61 |
442 |
1 |
| msdosfs_write |
|
39 |
129 |
908 |
1 |
| msdosfs_ioctl |
|
2 |
6 |
18 |
1 |
| msdosfs_poll |
|
1 |
5 |
32 |
1 |
| msdosfs_fsync |
|
1 |
7 |
52 |
1 |
| msdosfs_remove |
|
4 |
21 |
130 |
1 |
| msdosfs_link |
|
1 |
7 |
38 |
1 |
| msdosfs_rename |
|
61 |
212 |
1342 |
1 |
| msdosfs_mkdir |
|
13 |
79 |
691 |
1 |
| msdosfs_rmdir |
|
6 |
35 |
213 |
1 |
| msdosfs_symlink |
|
1 |
7 |
38 |
1 |
| msdosfs_readdir |
|
39 |
174 |
1141 |
1 |
| msdosfs_readlink |
|
2 |
6 |
18 |
1 |
| msdosfs_lock |
|
1 |
6 |
42 |
1 |
| msdosfs_unlock |
|
1 |
7 |
38 |
1 |
| msdosfs_islocked |
|
1 |
5 |
29 |
1 |
| msdosfs_bmap |
|
4 |
14 |
106 |
1 |
| msdosfs_strategy |
|
7 |
29 |
198 |
1 |
| msdosfs_print |
|
3 |
13 |
84 |
1 |
| msdosfs_advlock |
|
1 |
7 |
58 |
1 |
| msdosfs_pathconf |
|
7 |
27 |
123 |
1 |
| fileidhash |
|
1 |
11 |
74 |
1 |
| msdosfs_kqfilter |
|
4 |
22 |
112 |
1 |
| filt_msdosfsdetach |
|
1 |
5 |
39 |
1 |
| filt_msdosfsread |
|
4 |
15 |
109 |
2 |
| filt_msdosfswrite |
|
2 |
9 |
46 |
2 |
| filt_msdosfsvnode |
|
3 |
10 |
54 |
2 |
| Source file: ./sys/msdosfs/msdosfs_denode.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| msdosfs_init |
|
1 |
6 |
41 |
1 |
| msdosfs_dehash |
|
1 |
9 |
78 |
3 |
| msdosfs_hashget |
|
9 |
20 |
123 |
3 |
| msdosfs_hashins |
|
7 |
20 |
136 |
1 |
| msdosfs_hashrem |
|
4 |
11 |
63 |
1 |
| deget |
|
18 |
91 |
586 |
4 |
| deupdat |
|
7 |
28 |
170 |
2 |
| detrunc |
|
21 |
78 |
531 |
5 |
| deextend |
|
8 |
25 |
189 |
3 |
| reinsert |
|
2 |
7 |
29 |
1 |
| msdosfs_reclaim |
|
7 |
21 |
127 |
1 |
| msdosfs_inactive |
|
11 |
31 |
223 |
1 |
| Source file: ./sys/netinet/in_proto.c |
| Source file: ./sys/msdosfs/msdosfs_conv.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| unix2dostime |
|
14 |
45 |
315 |
4 |
| dos2unixtime |
|
8 |
38 |
275 |
4 |
| dos2unixfn |
|
10 |
29 |
192 |
3 |
| unix2dosfn |
|
42 |
91 |
644 |
4 |
| unix2winfn |
|
11 |
40 |
322 |
5 |
| winChkName |
|
25 |
45 |
354 |
4 |
| win2unixfn |
|
25 |
72 |
544 |
3 |
| winChksum |
|
2 |
8 |
54 |
1 |
| winSlotCnt |
|
5 |
9 |
56 |
2 |
| Source file: ./sys/netinet/tcp_timer.h |
| Source file: ./sys/netinet/ip_icmp.h |
| Source file: ./sys/netinet/ip_ipcomp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ipcomp_attach |
|
1 |
4 |
9 |
1 |
| ipcomp_init |
|
3 |
24 |
138 |
3 |
| ipcomp_zeroize |
|
1 |
7 |
30 |
1 |
| ipcomp_input |
|
3 |
42 |
297 |
4 |
| ipcomp_input_cb |
|
18 |
106 |
784 |
1 |
| ipcomp_output |
|
20 |
119 |
814 |
5 |
| ipcomp_output_cb |
|
15 |
93 |
589 |
1 |
| Source file: ./sys/netinet/ipsec_input.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ipsec_init |
|
1 |
9 |
63 |
1 |
| ipsec_common_input |
|
35 |
156 |
1051 |
6 |
| ipsec_common_input_cb |
|
49 |
193 |
1312 |
4 |
| ipsec_sysctl |
|
5 |
34 |
196 |
6 |
| esp_sysctl |
|
4 |
20 |
114 |
6 |
| esp_sysctl_espstat |
|
1 |
9 |
82 |
3 |
| ah_sysctl |
|
4 |
20 |
112 |
6 |
| ah_sysctl_ahstat |
|
1 |
8 |
82 |
3 |
| ipcomp_sysctl |
|
4 |
20 |
112 |
6 |
| ipcomp_sysctl_ipcompstat |
|
1 |
10 |
82 |
3 |
| ah4_input |
|
1 |
6 |
45 |
4 |
| ah4_ctlinput |
|
3 |
7 |
52 |
4 |
| esp4_input |
|
1 |
6 |
45 |
4 |
| ipcomp4_input |
|
1 |
6 |
45 |
4 |
| ipsec_common_ctlinput |
|
11 |
40 |
290 |
5 |
| udpencap_ctlinput |
|
8 |
43 |
347 |
4 |
| esp4_ctlinput |
|
3 |
7 |
52 |
4 |
| ah6_input |
|
8 |
38 |
268 |
4 |
| esp6_input |
|
8 |
38 |
268 |
4 |
| ipcomp6_input |
|
8 |
38 |
268 |
4 |
| ipsec_forward_check |
|
2 |
15 |
117 |
3 |
| ipsec_local_check |
|
13 |
27 |
206 |
4 |
| Source file: ./sys/netinet/icmp_var.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| icmpstat_inc |
|
1 |
4 |
15 |
1 |
| Source file: ./sys/netinet/udp.h |
| Source file: ./sys/netinet/raw_ip.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rip_init |
|
1 |
4 |
14 |
1 |
| rip_input |
|
25 |
84 |
552 |
4 |
| rip_output |
|
17 |
56 |
438 |
4 |
| rip_ctloutput |
|
20 |
48 |
246 |
5 |
| rip_usrreq |
|
34 |
106 |
533 |
6 |
| rip_attach |
|
7 |
19 |
116 |
2 |
| rip_detach |
|
4 |
11 |
61 |
1 |
| Source file: ./sys/netinet/ip6.h |
| Source file: ./sys/netinet/in.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| in_canforward |
|
6 |
13 |
77 |
1 |
| in_socktrim |
|
3 |
11 |
79 |
1 |
| in_mask2len |
|
6 |
18 |
114 |
1 |
| in_len2mask |
|
3 |
11 |
84 |
2 |
| in_nam2sin |
|
5 |
14 |
96 |
2 |
| in_control |
|
5 |
13 |
80 |
4 |
| in_ioctl |
|
58 |
166 |
1095 |
4 |
| in_ifscrub |
|
3 |
7 |
53 |
2 |
| in_ifinit |
|
19 |
64 |
431 |
4 |
| in_purgeaddr |
|
2 |
18 |
109 |
1 |
| in_addhost |
|
1 |
4 |
30 |
2 |
| in_scrubhost |
|
1 |
4 |
30 |
2 |
| in_insert_prefix |
|
3 |
12 |
78 |
1 |
| in_remove_prefix |
|
2 |
7 |
57 |
1 |
| in_broadcast |
|
6 |
19 |
119 |
2 |
| in_addmulti |
|
4 |
29 |
234 |
2 |
| in_delmulti |
|
3 |
22 |
161 |
1 |
| in_hasmulti |
|
1 |
8 |
45 |
2 |
| in_ifdetach |
|
2 |
10 |
58 |
1 |
| in_prefixlen2mask |
|
2 |
7 |
41 |
2 |
| Source file: ./sys/netinet/tcp_debug.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tcp_trace |
|
24 |
88 |
556 |
6 |
| Source file: ./sys/netinet/in_pcb.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| in_pcbhash |
|
1 |
14 |
141 |
6 |
| in6_pcbhash |
|
1 |
14 |
141 |
6 |
| in_pcblhash |
|
1 |
9 |
84 |
3 |
| in_pcbinit |
|
3 |
14 |
103 |
2 |
| in_baddynamic |
|
5 |
13 |
64 |
2 |
| in_rootonly |
|
5 |
13 |
61 |
2 |
| in_pcballoc |
|
9 |
42 |
340 |
2 |
| in_pcbbind |
|
24 |
66 |
425 |
3 |
| in_pcbaddrisavail |
|
16 |
40 |
317 |
4 |
| in_pcbpickport |
|
10 |
41 |
243 |
5 |
| in_pcbconnect |
|
14 |
43 |
310 |
2 |
| in_pcbdisconnect |
|
5 |
15 |
70 |
1 |
| in_pcbdetach |
|
6 |
26 |
162 |
1 |
| in_setsockaddr |
|
1 |
11 |
85 |
2 |
| in_setpeeraddr |
|
3 |
15 |
107 |
2 |
| in_pcbnotifyall |
|
10 |
24 |
155 |
5 |
| in_losing |
|
4 |
28 |
199 |
1 |
| in_rtchange |
|
2 |
7 |
39 |
2 |
| in_pcblookup_local |
|
21 |
52 |
308 |
5 |
| in_pcbrtentry |
|
9 |
36 |
267 |
1 |
| in_pcbselsrc |
|
15 |
50 |
382 |
3 |
| in_pcbrehash |
|
3 |
19 |
147 |
1 |
| in_pcbresize |
|
5 |
28 |
207 |
2 |
| in_pcbhashlookup |
|
12 |
29 |
213 |
6 |
| in6_pcbhashlookup |
|
11 |
30 |
210 |
6 |
| in_pcblookup_listen |
|
29 |
61 |
422 |
5 |
| in6_pcblookup_listen |
|
27 |
61 |
420 |
5 |
| Source file: ./sys/netinet/in_pcb.h |
| Source file: ./sys/netinet/ip_var.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ipstat_inc |
|
1 |
4 |
15 |
1 |
| Source file: ./sys/netinet/ip_ipip.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ipip_init |
|
1 |
4 |
13 |
1 |
| ipip_input |
|
4 |
18 |
123 |
4 |
| ipip_input_if |
|
39 |
138 |
859 |
5 |
| ipip_output |
|
27 |
155 |
1139 |
5 |
| ipe4_attach |
|
1 |
4 |
9 |
1 |
| ipe4_init |
|
1 |
5 |
28 |
3 |
| ipe4_zeroize |
|
1 |
4 |
12 |
1 |
| ipe4_input |
|
1 |
6 |
33 |
4 |
| ipip_sysctl_ipipstat |
|
1 |
9 |
82 |
3 |
| ipip_sysctl |
|
4 |
18 |
103 |
6 |
| Source file: ./sys/netinet/tcp_var.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tcpstat_inc |
|
1 |
4 |
15 |
1 |
| tcpstat_add |
|
1 |
4 |
20 |
2 |
| tcpstat_pkt |
|
1 |
5 |
26 |
3 |
| Source file: ./sys/netinet/ip_mroute.h |
| Source file: ./sys/netinet/ipsec_output.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ipsp_process_packet |
|
72 |
179 |
1227 |
4 |
| ipsp_process_done |
|
25 |
98 |
657 |
2 |
| ipsec_hdrsz |
|
13 |
39 |
218 |
1 |
| ipsec_adjust_mtu |
|
4 |
25 |
162 |
2 |
| Source file: ./sys/netinet/ip_esp.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| espstat_inc |
|
1 |
4 |
15 |
1 |
| espstat_add |
|
1 |
4 |
20 |
2 |
| Source file: ./sys/netinet/ip_gre.h |
| Source file: ./sys/netinet/ip_esp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| esp_attach |
|
1 |
4 |
9 |
1 |
| esp_init |
|
39 |
162 |
850 |
3 |
| esp_zeroize |
|
3 |
17 |
106 |
1 |
| esp_input |
|
28 |
151 |
1089 |
4 |
| esp_input_cb |
|
24 |
162 |
1162 |
1 |
| esp_output |
|
38 |
194 |
1477 |
5 |
| esp_output_cb |
|
7 |
46 |
269 |
1 |
| checkreplaywindow |
|
29 |
71 |
522 |
4 |
| Source file: ./sys/netinet/in4_cksum.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| in4_cksum |
|
24 |
103 |
818 |
4 |
| Source file: ./sys/netinet/ip_divert.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| divstat_inc |
|
1 |
4 |
15 |
1 |
| Source file: ./sys/netinet/ip_gre.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| gre_input2 |
|
26 |
78 |
427 |
3 |
| gre_input |
|
7 |
21 |
122 |
4 |
| gre_mobile_input |
|
12 |
58 |
494 |
4 |
| gre_lookup |
|
6 |
16 |
126 |
2 |
| gre_sysctl |
|
4 |
21 |
120 |
6 |
| ipmobile_sysctl |
|
3 |
17 |
88 |
6 |
| gre_usrreq |
|
11 |
26 |
189 |
6 |
| Source file: ./sys/netinet/in_systm.h |
| Source file: ./sys/netinet/ip_ecn.h |
| Source file: ./sys/netinet/udp_usrreq.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| udp_init |
|
1 |
5 |
21 |
1 |
| udp_input |
|
141 |
359 |
2434 |
4 |
| udp_notify |
|
1 |
6 |
34 |
2 |
| udp6_ctlinput |
|
22 |
94 |
630 |
4 |
| udp_ctlinput |
|
18 |
40 |
281 |
4 |
| udp_output |
|
38 |
130 |
887 |
4 |
| udp_usrreq |
|
48 |
137 |
643 |
6 |
| udp_attach |
|
6 |
16 |
102 |
2 |
| udp_detach |
|
2 |
10 |
47 |
1 |
| udp_sysctl |
|
9 |
36 |
218 |
6 |
| udp_sysctl_udpstat |
|
2 |
14 |
132 |
3 |
| Source file: ./sys/netinet/ip_ether.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mplsip_input |
|
2 |
12 |
59 |
4 |
| mplsip_decap |
|
8 |
27 |
190 |
2 |
| mplsip_getgif |
|
10 |
51 |
396 |
1 |
| mplsip_output |
|
17 |
82 |
591 |
4 |
| Source file: ./sys/netinet/udp_var.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| udpstat_inc |
|
1 |
4 |
15 |
1 |
| Source file: ./sys/netinet/if_ether.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| arptimer |
|
3 |
13 |
81 |
1 |
| arp_rtrequest |
|
21 |
75 |
513 |
3 |
| arprequest |
|
2 |
32 |
320 |
4 |
| arpreply |
|
1 |
20 |
217 |
4 |
| arpresolve |
|
24 |
84 |
592 |
5 |
| arpinput |
|
7 |
20 |
155 |
2 |
| arpintr |
|
3 |
15 |
80 |
1 |
| in_arpinput |
|
24 |
72 |
560 |
2 |
| arpcache |
|
17 |
83 |
602 |
3 |
| arpinvalidate |
|
1 |
8 |
57 |
1 |
| arptfree |
|
2 |
10 |
65 |
1 |
| arplookup |
|
11 |
27 |
203 |
4 |
| arpproxy |
|
5 |
27 |
163 |
2 |
| revarpinput |
|
5 |
20 |
120 |
2 |
| in_revarpinput |
|
10 |
33 |
184 |
2 |
| revarprequest |
|
2 |
31 |
300 |
1 |
| revarpwhoarewe |
|
5 |
20 |
121 |
3 |
| revarpwhoami |
|
1 |
5 |
31 |
2 |
| Source file: ./sys/netinet/ip_id.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ip_randomid |
|
4 |
24 |
148 |
1 |
| Source file: ./sys/netinet/ip_ah.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ah_attach |
|
1 |
4 |
9 |
1 |
| ah_init |
|
11 |
53 |
330 |
3 |
| ah_zeroize |
|
2 |
12 |
68 |
1 |
| ah_massage_headers |
|
47 |
217 |
1338 |
5 |
| ah_input |
|
17 |
127 |
938 |
4 |
| ah_input_cb |
|
21 |
141 |
1026 |
1 |
| ah_output |
|
30 |
182 |
1421 |
5 |
| ah_output_cb |
|
7 |
51 |
305 |
1 |
| Source file: ./sys/netinet/tcp_subr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tcp_init |
|
4 |
22 |
187 |
1 |
| tcp_template |
|
12 |
69 |
433 |
1 |
| tcp_respond |
|
28 |
102 |
783 |
7 |
| tcp_newtcpcb |
|
8 |
39 |
268 |
1 |
| tcp_drop |
|
4 |
14 |
89 |
2 |
| tcp_close |
|
2 |
23 |
133 |
1 |
| tcp_reaper |
|
1 |
6 |
28 |
1 |
| tcp_freeq |
|
2 |
12 |
73 |
1 |
| tcp_rscale |
|
3 |
7 |
40 |
2 |
| tcp_notify |
|
8 |
17 |
113 |
2 |
| tcp6_ctlinput |
|
22 |
74 |
509 |
4 |
| tcp_ctlinput |
|
27 |
89 |
652 |
4 |
| tcp6_mtudisc_callback |
|
1 |
5 |
38 |
2 |
| tcp_mtudisc |
|
9 |
23 |
145 |
2 |
| tcp_mtudisc_increase |
|
4 |
10 |
67 |
2 |
| tcp_set_iss_tsm |
|
3 |
34 |
263 |
1 |
| tcp_signature_tdb_attach |
|
1 |
4 |
11 |
1 |
| tcp_signature_tdb_init |
|
4 |
12 |
98 |
3 |
| tcp_signature_tdb_zeroize |
|
2 |
9 |
50 |
1 |
| tcp_signature_tdb_input |
|
1 |
4 |
25 |
4 |
| tcp_signature_tdb_output |
|
1 |
5 |
30 |
5 |
| tcp_signature_apply |
|
1 |
5 |
34 |
3 |
| tcp_signature |
|
8 |
56 |
418 |
7 |
| Source file: ./sys/netinet/igmp.h |
| Source file: ./sys/netinet/ip_mroute.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mfc_find |
|
6 |
25 |
169 |
4 |
| ip_mrouter_set |
|
10 |
36 |
165 |
3 |
| ip_mrouter_get |
|
5 |
24 |
103 |
3 |
| mrt_ioctl |
|
4 |
22 |
105 |
3 |
| get_sg_cnt |
|
5 |
23 |
169 |
2 |
| get_vif_cnt |
|
2 |
14 |
98 |
2 |
| mrt_sysctl_vif |
|
7 |
38 |
237 |
2 |
| mrt_rtwalk_mfcsysctl |
|
12 |
48 |
360 |
3 |
| mrt_sysctl_mfc |
|
7 |
24 |
182 |
2 |
| ip_mrouter_init |
|
8 |
20 |
142 |
2 |
| mrouter_rtwalk_delete |
|
2 |
9 |
58 |
3 |
| ip_mrouter_done |
|
2 |
19 |
111 |
1 |
| get_version |
|
1 |
7 |
40 |
1 |
| set_api_config |
|
6 |
25 |
150 |
2 |
| get_api_support |
|
3 |
9 |
53 |
1 |
| get_api_config |
|
3 |
9 |
53 |
1 |
| add_vif |
|
11 |
51 |
378 |
2 |
| del_vif |
|
4 |
15 |
106 |
2 |
| vif_delete |
|
2 |
14 |
127 |
1 |
| mfc_expire_route |
|
4 |
20 |
133 |
2 |
| mfc_add_route |
|
4 |
38 |
266 |
5 |
| update_mfc_params |
|
12 |
68 |
470 |
3 |
| mfc_add |
|
4 |
20 |
148 |
6 |
| add_mfc |
|
6 |
25 |
220 |
2 |
| del_mfc |
|
4 |
24 |
195 |
2 |
| socket_send |
|
3 |
11 |
73 |
3 |
| ip_mforward |
|
11 |
52 |
391 |
2 |
| ip_mdq |
|
13 |
63 |
430 |
3 |
| if_lookupbyvif |
|
4 |
15 |
81 |
2 |
| rt_mcast_add |
|
4 |
21 |
137 |
3 |
| rt_mcast_del |
|
3 |
21 |
130 |
2 |
| Source file: ./sys/netinet/tcp_fsm.h |
| Source file: ./sys/netinet/ip_icmp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| icmp_init |
|
2 |
8 |
28 |
1 |
| icmp_do_error |
|
28 |
89 |
695 |
5 |
| icmp_error |
|
3 |
8 |
66 |
5 |
| icmp_input |
|
2 |
12 |
77 |
4 |
| icmp_input_if |
|
109 |
285 |
1748 |
5 |
| icmp_reflect |
|
29 |
100 |
691 |
3 |
| icmp_send |
|
4 |
19 |
160 |
2 |
| iptime |
|
1 |
8 |
51 |
1 |
| icmp_sysctl |
|
8 |
40 |
196 |
6 |
| icmp_sysctl_icmpstat |
|
2 |
14 |
132 |
3 |
| icmp_mtudisc_clone |
|
9 |
48 |
329 |
2 |
| icmp_mtudisc |
|
15 |
38 |
253 |
2 |
| icmp_mtudisc_timeout |
|
5 |
22 |
168 |
2 |
| icmp_ratelimit |
|
2 |
7 |
38 |
3 |
| icmp_redirect_timeout |
|
3 |
12 |
78 |
2 |
| icmp_do_exthdr |
|
8 |
41 |
365 |
5 |
| Source file: ./sys/netinet/in_cksum.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| in_cksum |
|
18 |
78 |
566 |
2 |
| Source file: ./sys/netinet/ip_ether.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| etheripstat_inc |
|
1 |
4 |
15 |
1 |
| etheripstat_add |
|
1 |
4 |
20 |
2 |
| etheripstat_pkt |
|
1 |
5 |
26 |
3 |
| Source file: ./sys/netinet/inet_ntop.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| inet_ntop |
|
4 |
11 |
68 |
4 |
| sockaddr_ntop |
|
8 |
24 |
181 |
3 |
| inet_ntop4 |
|
3 |
12 |
91 |
3 |
| inet_ntop6 |
|
35 |
76 |
609 |
3 |
| Source file: ./sys/netinet/ip_carp.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| carpstat_inc |
|
1 |
4 |
15 |
1 |
| Source file: ./sys/netinet/ip.h |
| Source file: ./sys/netinet/tcp_timer.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tcp_timer_init |
|
5 |
11 |
46 |
1 |
| tcp_delack |
|
2 |
11 |
50 |
1 |
| tcp_slowtimo |
|
1 |
8 |
29 |
1 |
| tcp_canceltimers |
|
2 |
6 |
32 |
1 |
| tcp_timer_freesack |
|
2 |
11 |
55 |
1 |
| tcp_timer_rexmt |
|
31 |
98 |
659 |
1 |
| tcp_timer_persist |
|
7 |
27 |
152 |
1 |
| tcp_timer_keep |
|
8 |
29 |
180 |
1 |
| tcp_timer_2msl |
|
5 |
15 |
86 |
1 |
| Source file: ./sys/netinet/tcp_usrreq.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tcp_usrreq |
|
60 |
175 |
1019 |
6 |
| tcp_ctloutput |
|
41 |
122 |
641 |
5 |
| tcp_attach |
|
15 |
39 |
262 |
2 |
| tcp_detach |
|
6 |
26 |
128 |
1 |
| tcp_disconnect |
|
5 |
16 |
106 |
1 |
| tcp_usrclosed |
|
10 |
24 |
109 |
1 |
| tcp_ident |
|
30 |
91 |
625 |
5 |
| tcp_sysctl_tcpstat |
|
3 |
121 |
659 |
3 |
| tcp_sysctl |
|
35 |
115 |
717 |
6 |
| tcp_update_sndspace |
|
8 |
22 |
209 |
1 |
| tcp_update_rcvspace |
|
8 |
22 |
165 |
1 |
| Source file: ./sys/netinet/in_var.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ifmatoinm |
|
1 |
4 |
21 |
1 |
| Source file: ./sys/netinet/ip_carp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| carp_vhost_entry::SRPL_ENTRY |
|
1 |
7 |
34 |
1 |
| carp_hmac_prepare |
|
2 |
11 |
56 |
1 |
| carp_hmac_prepare_ctx |
|
21 |
76 |
704 |
2 |
| carp_hmac_generate |
|
1 |
12 |
115 |
4 |
| carp_hmac_verify |
|
3 |
12 |
83 |
3 |
| carp_proto_input |
|
2 |
12 |
75 |
4 |
| carp_proto_input_if |
|
10 |
58 |
397 |
4 |
| carp6_proto_input |
|
2 |
12 |
75 |
4 |
| carp6_proto_input_if |
|
6 |
47 |
317 |
4 |
| carp_proto_input_c |
|
24 |
96 |
611 |
5 |
| carp_sysctl_carpstat |
|
1 |
9 |
82 |
3 |
| carp_sysctl |
|
5 |
19 |
122 |
6 |
| carpattach |
|
2 |
8 |
43 |
1 |
| carp_clone_create |
|
4 |
43 |
316 |
2 |
| carp_new_vhost |
|
4 |
31 |
222 |
3 |
| carp_clone_destroy |
|
2 |
16 |
110 |
1 |
| carp_del_all_timeouts |
|
1 |
10 |
55 |
1 |
| carpdetach |
|
5 |
30 |
202 |
1 |
| carp_ifdetach |
|
1 |
8 |
53 |
1 |
| carp_destroy_vhosts |
|
2 |
11 |
66 |
1 |
| carp_prepare_ad |
|
2 |
12 |
82 |
3 |
| carp_send_ad_all |
|
5 |
22 |
119 |
1 |
| carp_vhe_send_ad_all |
|
2 |
9 |
44 |
1 |
| carp_timer_ad |
|
1 |
6 |
21 |
1 |
| carp_send_ad |
|
32 |
191 |
1390 |
1 |
| carp_send_arp |
|
2 |
12 |
82 |
1 |
| carp_send_na |
|
3 |
15 |
97 |
1 |
| carp_update_lsmask |
|
4 |
17 |
106 |
1 |
| carp_iamatch |
|
2 |
12 |
68 |
1 |
| carp_ourether |
|
5 |
17 |
128 |
2 |
| carp_vhe_match |
|
3 |
11 |
81 |
2 |
| carp_input |
|
11 |
54 |
351 |
3 |
| carp_lsdrop |
|
9 |
36 |
236 |
5 |
| carp_timer_down |
|
1 |
6 |
21 |
1 |
| carp_master_down |
|
7 |
24 |
110 |
1 |
| carp_setrun_all |
|
1 |
8 |
41 |
2 |
| carp_setrun |
|
22 |
62 |
422 |
2 |
| carp_multicast_cleanup |
|
6 |
22 |
138 |
1 |
| carp_set_ifp |
|
16 |
64 |
451 |
2 |
| carp_set_vhe_enaddr |
|
5 |
16 |
122 |
1 |
| carp_set_enaddr |
|
11 |
23 |
234 |
1 |
| carp_addr_updated |
|
12 |
35 |
251 |
1 |
| carp_set_addr |
|
3 |
14 |
94 |
2 |
| carp_join_multicast |
|
3 |
17 |
121 |
1 |
| carp_set_addr6 |
|
3 |
13 |
86 |
2 |
| carp_join_multicast6 |
|
5 |
37 |
315 |
1 |
| carp_ioctl |
|
39 |
160 |
1017 |
3 |
| carp_check_dup_vhids |
|
6 |
26 |
148 |
3 |
| carp_vhids_ioctl |
|
15 |
44 |
353 |
2 |
| carp_ifgroup_ioctl |
|
5 |
19 |
138 |
3 |
| carp_ifgattr_ioctl |
|
3 |
8 |
71 |
3 |
| carp_start |
|
9 |
31 |
193 |
1 |
| carp_output |
|
5 |
24 |
165 |
4 |
| carp_set_state_all |
|
2 |
10 |
51 |
2 |
| carp_set_state |
|
6 |
33 |
213 |
2 |
| carp_group_demote_adj |
|
8 |
31 |
193 |
3 |
| carp_group_demote_count |
|
4 |
10 |
67 |
1 |
| carp_carpdev_state |
|
6 |
28 |
183 |
1 |
| carp_ether_addmulti |
|
5 |
32 |
255 |
2 |
| carp_ether_delmulti |
|
8 |
31 |
241 |
2 |
| carp_ether_purgemulti |
|
3 |
22 |
155 |
1 |
| carp_vh_ref |
|
1 |
5 |
27 |
2 |
| carp_vh_unref |
|
2 |
8 |
53 |
2 |
| carp_sc_ref |
|
1 |
5 |
27 |
2 |
| carp_sc_unref |
|
1 |
5 |
27 |
2 |
| Source file: ./sys/netinet/if_ether.h |
| Source file: ./sys/netinet/ip_spd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| spd_table_get |
|
3 |
11 |
53 |
1 |
| spd_table_add |
|
7 |
26 |
174 |
1 |
| spd_table_walk |
|
3 |
13 |
101 |
3 |
| ipsp_spd_lookup |
|
100 |
310 |
2167 |
8 |
| ipsec_delete_policy |
|
7 |
24 |
171 |
1 |
| ipsp_delete_acquire_timo |
|
1 |
7 |
28 |
1 |
| ipsp_delete_acquire |
|
2 |
10 |
61 |
1 |
| ipsp_pending_acquire |
|
2 |
10 |
61 |
2 |
| ipsp_acquire_sa |
|
11 |
84 |
686 |
5 |
| ipsp_spd_inp |
|
9 |
21 |
136 |
8 |
| ipsec_get_acquire |
|
2 |
8 |
35 |
1 |
| Source file: ./sys/netinet/igmp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| igmp_init |
|
2 |
19 |
125 |
1 |
| rti_fill |
|
5 |
23 |
136 |
1 |
| rti_find |
|
4 |
18 |
111 |
1 |
| rti_delete |
|
3 |
12 |
79 |
1 |
| igmp_input |
|
2 |
15 |
90 |
4 |
| igmp_input_if |
|
53 |
176 |
967 |
5 |
| igmp_joingroup |
|
5 |
20 |
121 |
1 |
| igmp_leavegroup |
|
10 |
21 |
100 |
1 |
| igmp_fasttimo |
|
2 |
12 |
47 |
1 |
| igmp_checktimer |
|
6 |
25 |
133 |
1 |
| igmp_slowtimo |
|
4 |
12 |
60 |
1 |
| igmp_sendpkt |
|
4 |
42 |
321 |
4 |
| igmp_sysctl |
|
5 |
22 |
125 |
6 |
| igmp_sysctl_igmpstat |
|
2 |
14 |
132 |
3 |
| Source file: ./sys/netinet/ip_divert.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| divert_init |
|
1 |
5 |
21 |
1 |
| divert_output |
|
20 |
78 |
518 |
4 |
| divert_packet |
|
9 |
54 |
322 |
3 |
| divert_usrreq |
|
22 |
58 |
267 |
6 |
| divert_attach |
|
5 |
16 |
90 |
2 |
| divert_detach |
|
2 |
9 |
45 |
1 |
| divert_sysctl_divstat |
|
2 |
14 |
132 |
3 |
| divert_sysctl |
|
6 |
32 |
178 |
6 |
| Source file: ./sys/netinet/ip_output.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ip_output |
|
99 |
256 |
1750 |
7 |
| ip_output_ipsec_lookup |
|
8 |
24 |
170 |
5 |
| ip_output_ipsec_send |
|
21 |
49 |
378 |
4 |
| ip_fragment |
|
16 |
95 |
687 |
3 |
| ip_insertoptions |
|
6 |
36 |
323 |
3 |
| ip_optcopy |
|
12 |
32 |
232 |
2 |
| ip_ctloutput |
|
125 |
319 |
1434 |
5 |
| ip_pcbopts |
|
16 |
59 |
449 |
2 |
| ip_setmoptions |
|
50 |
207 |
1288 |
4 |
| ip_getmoptions |
|
9 |
36 |
220 |
3 |
| ip_freemoptions |
|
3 |
10 |
69 |
1 |
| ip_mloopback |
|
2 |
12 |
92 |
3 |
| in_cksum_phdr |
|
2 |
13 |
87 |
3 |
| in_delayed_cksum |
|
7 |
27 |
182 |
1 |
| in_proto_cksum_out |
|
18 |
41 |
359 |
2 |
| Source file: ./sys/netinet/ip_ipsp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tdb_hash |
|
1 |
12 |
101 |
4 |
| reserve_spi |
|
20 |
67 |
380 |
7 |
| gettdb |
|
7 |
15 |
124 |
4 |
| gettdbbysrcdst |
|
21 |
35 |
328 |
5 |
| ipsp_aux_match |
|
9 |
19 |
109 |
4 |
| gettdbbydst |
|
8 |
21 |
160 |
6 |
| gettdbbysrc |
|
8 |
22 |
160 |
6 |
| tdb_hashstats |
|
8 |
22 |
150 |
1 |
| tdb_walk |
|
8 |
19 |
151 |
3 |
| tdb_timeout |
|
3 |
11 |
59 |
1 |
| tdb_firstuse |
|
3 |
11 |
56 |
1 |
| tdb_soft_timeout |
|
2 |
10 |
49 |
1 |
| tdb_soft_firstuse |
|
3 |
11 |
57 |
1 |
| tdb_rehash |
|
5 |
47 |
364 |
1 |
| puttdb |
|
5 |
34 |
272 |
1 |
| tdb_unlink |
|
11 |
52 |
304 |
1 |
| tdb_delete |
|
1 |
6 |
23 |
1 |
| tdb_alloc |
|
1 |
14 |
104 |
1 |
| tdb_free |
|
11 |
35 |
250 |
1 |
| tdb_init |
|
4 |
16 |
117 |
3 |
| ipsp_address |
|
4 |
13 |
77 |
3 |
| ipsp_is_unspecified |
|
7 |
18 |
70 |
1 |
| ipsp_ids_match |
|
1 |
4 |
19 |
2 |
| ipsp_ids_insert |
|
7 |
31 |
182 |
1 |
| ipsp_ids_lookup |
|
1 |
7 |
33 |
1 |
| ipsp_ids_timeout |
|
1 |
13 |
98 |
1 |
| ipsp_ids_free |
|
2 |
7 |
52 |
1 |
| ipsp_id_cmp |
|
5 |
12 |
84 |
2 |
| ipsp_ids_cmp |
|
2 |
8 |
53 |
2 |
| ipsp_ids_flow_cmp |
|
3 |
8 |
46 |
2 |
| Source file: ./sys/netinet/tcp_output.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tcp_print_holes |
|
3 |
13 |
69 |
1 |
| tcp_sack_output |
|
8 |
20 |
107 |
1 |
| tcp_sack_adjust |
|
7 |
22 |
125 |
1 |
| tcp_output |
|
201 |
535 |
3890 |
1 |
| tcp_setpersist |
|
4 |
14 |
105 |
1 |
| Source file: ./sys/netinet/inet_nat64.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| inet_nat64_mask |
|
3 |
12 |
77 |
3 |
| inet_nat64 |
|
3 |
13 |
76 |
5 |
| inet_nat64_inet |
|
11 |
31 |
191 |
4 |
| inet_nat64_inet6 |
|
11 |
33 |
206 |
4 |
| inet_nat46 |
|
4 |
17 |
94 |
5 |
| inet_nat46_inet |
|
1 |
8 |
75 |
4 |
| inet_nat46_inet6 |
|
1 |
9 |
98 |
4 |
| Source file: ./sys/netinet/igmp_var.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| igmpstat_inc |
|
1 |
4 |
15 |
1 |
| Source file: ./sys/netinet/ip_ecn.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ip_ecn_ingress |
|
8 |
18 |
79 |
3 |
| ip_ecn_egress |
|
11 |
26 |
121 |
3 |
| Source file: ./sys/netinet/ip_ah.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ahstat_inc |
|
1 |
4 |
15 |
1 |
| ahstat_add |
|
1 |
4 |
20 |
2 |
| Source file: ./sys/netinet/ip_ipsp.h |
| Source file: ./sys/netinet/in.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| satosin |
|
1 |
4 |
21 |
1 |
| sintosa |
|
1 |
4 |
21 |
1 |
| ifatoia |
|
1 |
4 |
21 |
1 |
| Source file: ./sys/netinet/icmp6.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| icmp6stat_inc |
|
1 |
4 |
15 |
1 |
| Source file: ./sys/netinet/tcp_debug.h |
| Source file: ./sys/netinet/ip_ipip.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ipipstat_inc |
|
1 |
4 |
15 |
1 |
| ipipstat_add |
|
1 |
4 |
20 |
2 |
| Source file: ./sys/arch/m88k/m88k/mem.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mmopen |
|
7 |
17 |
72 |
4 |
| mmclose |
|
1 |
4 |
23 |
4 |
| mmrw |
|
19 |
60 |
354 |
3 |
| mmmmap |
|
1 |
4 |
19 |
3 |
| mmioctl |
|
1 |
4 |
26 |
5 |
| Source file: ./sys/arch/m88k/m88k/mplock.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __mp_lock_spin |
|
5 |
12 |
62 |
1 |
| __mp_lock |
|
4 |
20 |
127 |
1 |
| __mp_unlock |
|
4 |
16 |
103 |
1 |
| __mp_release_all |
|
3 |
17 |
108 |
1 |
| __mp_release_all_but_one |
|
3 |
16 |
102 |
1 |
| Source file: ./sys/arch/m88k/m88k/m88100_fp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| m88100_fpu_precise_exception |
|
3 |
17 |
95 |
1 |
| m88100_fpu_parse_single |
|
1 |
9 |
58 |
2 |
| m88100_fpu_fetch |
|
12 |
37 |
204 |
5 |
| m88100_fpu_emulate |
|
48 |
136 |
933 |
1 |
| m88100_fpu_imprecise_exception |
|
8 |
49 |
332 |
1 |
| m88100_fpu_checksig |
|
14 |
34 |
215 |
3 |
| Source file: ./sys/arch/m88k/m88k/m88110_fp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| m88110_fpu_exception |
|
17 |
69 |
387 |
1 |
| m88110_fpu_fetch |
|
12 |
35 |
196 |
5 |
| m88110_fpu_emulate |
|
65 |
170 |
1174 |
2 |
| Source file: ./sys/arch/m88k/m88k/m88k_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| setregs |
|
10 |
31 |
198 |
4 |
| copystr |
|
5 |
20 |
102 |
4 |
| regdump |
|
12 |
48 |
489 |
1 |
| set_cpu_number |
|
2 |
10 |
52 |
1 |
| signotify |
|
1 |
5 |
21 |
1 |
| cpu_unidle |
|
2 |
5 |
26 |
1 |
| need_resched |
|
3 |
9 |
45 |
1 |
| dosoftint |
|
5 |
10 |
66 |
1 |
| spl0 |
|
2 |
12 |
57 |
0 |
| vector_init |
|
11 |
50 |
312 |
3 |
| atomic_init |
|
5 |
20 |
107 |
0 |
| cpu_emergency_disable |
|
4 |
22 |
127 |
0 |
| Source file: ./sys/arch/m88k/m88k/process_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| process_read_regs |
|
1 |
7 |
45 |
2 |
| process_write_regs |
|
1 |
11 |
77 |
2 |
| process_set_pc |
|
1 |
10 |
53 |
2 |
| Source file: ./sys/arch/m88k/m88k/m88100_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dae_print |
|
2 |
9 |
84 |
1 |
| dae_print_one |
|
11 |
47 |
220 |
4 |
| data_access_emulation |
|
2 |
13 |
96 |
1 |
| dae_process |
|
30 |
109 |
613 |
5 |
| m88100_apply_patches |
|
3 |
11 |
114 |
0 |
| m88100_smp_setup |
|
1 |
5 |
21 |
1 |
| m88100_mp_atomic_begin |
|
1 |
8 |
36 |
2 |
| m88100_mp_atomic_end |
|
1 |
5 |
24 |
3 |
| Source file: ./sys/arch/m88k/m88k/db_interface.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| m88k_dmx_print |
|
19 |
59 |
513 |
4 |
| m88k_db_print_frame |
|
46 |
152 |
1171 |
4 |
| m88k_db_registers |
|
1 |
8 |
40 |
4 |
| m88k_db_trap |
|
9 |
31 |
140 |
2 |
| kdbprinttrap |
|
3 |
9 |
45 |
1 |
| db_enter |
|
1 |
5 |
13 |
1 |
| ddb_break_trap |
|
3 |
11 |
47 |
2 |
| ddb_entry_trap |
|
1 |
7 |
30 |
2 |
| db_read_bytes |
|
2 |
8 |
43 |
3 |
| db_write_bytes |
|
14 |
40 |
276 |
3 |
| m88k_db_where |
|
3 |
16 |
84 |
4 |
| m88k_db_frame_search |
|
4 |
17 |
94 |
4 |
| m88k_db_cpu_cmd |
|
10 |
42 |
237 |
4 |
| db_machine_init |
|
2 |
5 |
16 |
0 |
| Source file: ./sys/arch/m88k/m88k/vm_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cpu_fork |
|
6 |
25 |
234 |
6 |
| cpu_exit |
|
1 |
5 |
19 |
1 |
| vmapbuf |
|
5 |
28 |
210 |
2 |
| vunmapbuf |
|
3 |
16 |
115 |
2 |
| Source file: ./sys/arch/m88k/m88k/db_sstep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| inst_branch_or_call |
|
8 |
15 |
63 |
1 |
| branch_taken |
|
9 |
22 |
125 |
3 |
| db_set_single_step |
|
8 |
18 |
104 |
1 |
| db_clear_single_step |
|
7 |
17 |
66 |
1 |
| Source file: ./sys/arch/m88k/m88k/in_cksum.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| in_cksum_internal |
|
9 |
34 |
157 |
4 |
| in_cksum |
|
1 |
4 |
26 |
2 |
| in4_cksum |
|
5 |
23 |
220 |
4 |
| Source file: ./sys/arch/m88k/m88k/sig_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sendsig |
|
16 |
49 |
484 |
6 |
| sys_sigreturn |
|
11 |
37 |
318 |
3 |
| local_stack_frame |
|
13 |
30 |
169 |
3 |
| Source file: ./sys/arch/m88k/m88k/softintr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| softintr_init |
|
2 |
11 |
61 |
1 |
| softintr_dispatch |
|
3 |
18 |
109 |
1 |
| softintr_establish |
|
8 |
31 |
145 |
3 |
| softintr_disestablish |
|
2 |
12 |
79 |
1 |
| softintr_schedule |
|
2 |
12 |
86 |
1 |
| Source file: ./sys/arch/m88k/m88k/fpu.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fpu_store |
|
15 |
51 |
251 |
5 |
| fpu_precision |
|
1 |
4 |
26 |
3 |
| fpu_compare |
|
46 |
125 |
678 |
6 |
| Source file: ./sys/netinet/ip_input.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ip_init |
|
14 |
41 |
367 |
1 |
| ip_ours |
|
2 |
8 |
54 |
4 |
| ipintr |
|
4 |
12 |
75 |
1 |
| ipv4_input |
|
1 |
7 |
47 |
2 |
| ip_input_if |
|
46 |
149 |
980 |
5 |
| ip_local |
|
18 |
72 |
490 |
4 |
| ip_deliver |
|
25 |
66 |
338 |
4 |
| in_ouraddr |
|
15 |
51 |
332 |
3 |
| ip_reass |
|
24 |
130 |
993 |
2 |
| ip_freef |
|
2 |
13 |
78 |
1 |
| ip_slowtimo |
|
2 |
12 |
60 |
1 |
| ip_flush |
|
4 |
9 |
53 |
1 |
| ip_dooptions |
|
37 |
183 |
1263 |
2 |
| save_rte |
|
3 |
17 |
135 |
3 |
| ip_srcroute |
|
6 |
33 |
266 |
1 |
| ip_stripoptions |
|
2 |
16 |
138 |
1 |
| ip_forward |
|
34 |
115 |
748 |
4 |
| ip_sysctl |
|
44 |
96 |
507 |
6 |
| ip_sysctl_ipstat |
|
2 |
13 |
132 |
3 |
| ip_savecontrol |
|
22 |
69 |
540 |
4 |
| ip_send_dispatch |
|
3 |
14 |
83 |
1 |
| ip_send |
|
1 |
5 |
28 |
1 |
| Source file: ./sys/arch/m88k/m88k/db_trace.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| br_dest |
|
2 |
7 |
38 |
2 |
| m88k_instruction_info |
|
3 |
43 |
358 |
1 |
| hex_value_needs_0x |
|
6 |
18 |
82 |
1 |
| frame_is_sane |
|
18 |
33 |
220 |
2 |
| m88k_exception_name |
|
19 |
27 |
123 |
1 |
| db_trace_get_val |
|
2 |
13 |
66 |
2 |
| save_reg |
|
2 |
9 |
46 |
2 |
| print_args |
|
8 |
24 |
117 |
1 |
| is_jump_source_ok |
|
11 |
30 |
191 |
2 |
| stack_decode |
|
43 |
143 |
826 |
3 |
| db_stack_trace_cmd2 |
|
15 |
61 |
438 |
2 |
| db_stack_trace_print |
|
32 |
91 |
539 |
5 |
| Source file: ./sys/netinet/tcp_input.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tcp_reass |
|
16 |
67 |
489 |
4 |
| tcp_flush_queue |
|
9 |
30 |
227 |
1 |
| tcp_input |
|
330 |
977 |
6286 |
4 |
| tcp_dooptions |
|
46 |
130 |
868 |
8 |
| tcp_seq_subtract |
|
1 |
4 |
22 |
2 |
| tcp_update_sack_list |
|
23 |
71 |
599 |
3 |
| tcp_sack_option |
|
34 |
147 |
1033 |
4 |
| tcp_del_sackholes |
|
8 |
23 |
156 |
2 |
| tcp_clean_sackreport |
|
2 |
7 |
51 |
1 |
| tcp_sack_partialack |
|
2 |
12 |
88 |
2 |
| tcp_pulloutofband |
|
4 |
20 |
132 |
4 |
| tcp_xmit_timer |
|
7 |
30 |
227 |
2 |
| tcp_mss |
|
26 |
76 |
529 |
2 |
| tcp_hdrsz |
|
8 |
22 |
109 |
1 |
| tcp_mss_update |
|
6 |
29 |
170 |
1 |
| tcp_newreno_partialack |
|
3 |
18 |
139 |
2 |
| tcp_mss_adv |
|
8 |
25 |
140 |
2 |
| syn_cache_rm |
|
1 |
10 |
64 |
1 |
| syn_cache_put |
|
2 |
10 |
67 |
1 |
| syn_cache_init |
|
2 |
16 |
144 |
1 |
| syn_cache_insert |
|
18 |
73 |
503 |
2 |
| syn_cache_timer |
|
4 |
25 |
119 |
1 |
| syn_cache_reaper |
|
1 |
6 |
27 |
1 |
| syn_cache_cleanup |
|
3 |
12 |
67 |
1 |
| syn_cache_lookup |
|
7 |
28 |
219 |
4 |
| syn_cache_get |
|
38 |
150 |
1062 |
7 |
| syn_cache_reset |
|
4 |
15 |
101 |
4 |
| syn_cache_unreach |
|
5 |
19 |
118 |
4 |
| Source file: ./sys/arch/m88k/m88k/fpu.h |
| Source file: ./sys/arch/m88k/include/pmap.h |
| Source file: ./sys/arch/m88k/include/asm_macro.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| set_psr |
|
1 |
5 |
22 |
1 |
| get_psr |
|
1 |
6 |
25 |
1 |
| ff1 |
|
1 |
5 |
28 |
1 |
| get_cpu_pid |
|
1 |
6 |
25 |
1 |
| Source file: ./sys/arch/m88k/include/kcore.h |
| Source file: ./sys/arch/m88k/m88k/pmap.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pg_to_pvh |
|
1 |
4 |
17 |
1 |
| sdt_pte |
|
1 |
4 |
28 |
2 |
| pmap_pte |
|
2 |
8 |
42 |
2 |
| pmap_extract |
|
3 |
14 |
64 |
3 |
| pmap_translation_info |
|
20 |
69 |
375 |
4 |
| tlb_flush |
|
5 |
14 |
79 |
3 |
| tlb_kflush |
|
3 |
10 |
54 |
2 |
| pmap_activate |
|
3 |
15 |
93 |
1 |
| pmap_deactivate |
|
1 |
5 |
24 |
1 |
| pmap_expand_kmap |
|
6 |
28 |
184 |
2 |
| pmap_expand |
|
4 |
20 |
126 |
3 |
| pmap_steal_memory |
|
5 |
18 |
128 |
3 |
| pmap_map |
|
20 |
61 |
423 |
5 |
| pmap_bootstrap |
|
18 |
95 |
845 |
2 |
| pmap_bootstrap_cpu |
|
2 |
7 |
40 |
1 |
| pmap_unmap_firmware |
|
2 |
7 |
27 |
0 |
| pmap_init |
|
1 |
7 |
59 |
1 |
| pmap_create |
|
3 |
20 |
120 |
1 |
| pmap_destroy |
|
4 |
20 |
134 |
1 |
| pmap_reference |
|
1 |
4 |
12 |
1 |
| pmap_collect |
|
6 |
29 |
198 |
1 |
| pmap_enter |
|
28 |
91 |
586 |
5 |
| pmap_kenter_pa |
|
6 |
18 |
135 |
3 |
| pmap_remove_pte |
|
13 |
50 |
327 |
5 |
| pmap_remove_range |
|
7 |
26 |
150 |
3 |
| pmap_remove |
|
1 |
9 |
44 |
3 |
| pmap_kremove |
|
8 |
33 |
197 |
2 |
| pmap_remove_page |
|
4 |
22 |
130 |
1 |
| pmap_protect |
|
8 |
36 |
208 |
4 |
| pmap_unwire |
|
2 |
9 |
44 |
2 |
| pmap_copy_page |
|
2 |
10 |
81 |
2 |
| pmap_zero_page |
|
2 |
8 |
59 |
1 |
| pmap_changebit |
|
8 |
32 |
216 |
3 |
| pmap_testbit |
|
9 |
35 |
235 |
2 |
| pmap_unsetbit |
|
10 |
39 |
250 |
2 |
| pmap_is_modified |
|
4 |
11 |
60 |
1 |
| pmap_is_referenced |
|
1 |
4 |
17 |
1 |
| pmap_page_protect |
|
3 |
7 |
47 |
2 |
| pmap_clean_page |
|
5 |
10 |
50 |
1 |
| pmap_proc_iflush |
|
6 |
23 |
135 |
3 |
| pmap_set_modify |
|
7 |
22 |
128 |
2 |
| pmap_cache_ctrl |
|
14 |
36 |
257 |
3 |
| pmap_page_uncache |
|
8 |
31 |
193 |
1 |
| Source file: ./sys/arch/m88k/include/profile.h |
| Source file: ./sys/arch/m88k/include/vmparam.h |
| Source file: ./sys/arch/m88k/include/mmu.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| invalidate_pte |
|
1 |
8 |
40 |
1 |
| Source file: ./sys/arch/m88k/include/lock.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __cpu_simple_lock_init |
|
1 |
4 |
13 |
1 |
| __cpu_simple_lock_try |
|
1 |
7 |
42 |
1 |
| __cpu_simple_lock |
|
4 |
9 |
34 |
1 |
| __cpu_simple_unlock |
|
1 |
4 |
13 |
1 |
| Source file: ./sys/arch/m88k/include/_float.h |
| Source file: ./sys/arch/m88k/include/exec.h |
| Source file: ./sys/arch/m88k/include/spinlock.h |
| Source file: ./sys/arch/m88k/m88k/m8820x_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| m8820x_cmmu_set_reg |
|
4 |
12 |
79 |
3 |
| m8820x_cmmu_set_reg_if_mode |
|
5 |
14 |
93 |
4 |
| m8820x_cmmu_set_cmd |
|
4 |
13 |
88 |
3 |
| m8820x_cmmu_set_cmd_if_mode |
|
5 |
15 |
102 |
4 |
| m8820x_cmmu_set_cmd_if_addr |
|
6 |
17 |
114 |
3 |
| m8820x_cmmu_wait |
|
6 |
15 |
92 |
1 |
| m8820x_dbatc_set |
|
1 |
4 |
27 |
3 |
| m8820x_ibatc_set |
|
1 |
4 |
27 |
3 |
| m8820x_batc_setup |
|
14 |
52 |
336 |
2 |
| m8820x_cpu_configuration_print |
|
13 |
41 |
249 |
1 |
| m8820x_cmmu_configuration_print |
|
18 |
54 |
328 |
2 |
| m8820x_init |
|
2 |
8 |
28 |
0 |
| m8820x_initialize_cpu |
|
11 |
65 |
509 |
1 |
| m8820x_shutdown |
|
4 |
15 |
82 |
0 |
| m8820x_apr_cmode |
|
7 |
16 |
91 |
0 |
| m8820x_pte_cmode |
|
6 |
14 |
71 |
0 |
| m8820x_set_sapr |
|
1 |
7 |
27 |
1 |
| m8820x_set_uapr |
|
1 |
11 |
48 |
1 |
| m8820x_tlbis |
|
1 |
10 |
47 |
3 |
| m8820x_tlbiu |
|
1 |
10 |
47 |
3 |
| m8820x_tlbia |
|
1 |
10 |
41 |
1 |
| m8820x_cache_wbinv |
|
4 |
24 |
128 |
3 |
| m8820x_dcache_wb |
|
4 |
26 |
132 |
3 |
| m8820x_icache_inv |
|
4 |
26 |
132 |
3 |
| m8820x_cmmu_wb_locked |
|
2 |
10 |
46 |
3 |
| m8820x_cmmu_wbinv_locked |
|
2 |
7 |
38 |
3 |
| m8820x_cmmu_inv_locked |
|
2 |
7 |
38 |
3 |
| m8820x_dma_cachectl |
|
21 |
76 |
477 |
3 |
| m8820x_dma_cachectl_local |
|
1 |
3 |
13 |
3 |
| m8820x_enable_other_cmmu_cache |
|
3 |
10 |
48 |
0 |
| Source file: ./sys/arch/m88k/include/tcb.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __m88k_get_tcb |
|
1 |
6 |
23 |
1 |
| Source file: ./sys/arch/m88k/include/stdarg.h |
| Source file: ./sys/arch/m88k/include/m8820x.h |
| Source file: ./sys/arch/m88k/m88k/db_disasm.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| printcmp |
|
4 |
12 |
60 |
2 |
| cregname |
|
7 |
23 |
129 |
3 |
| symofset |
|
2 |
10 |
76 |
3 |
| oimmed |
|
5 |
20 |
111 |
4 |
| ctrlregs |
|
7 |
26 |
196 |
4 |
| sindou |
|
23 |
76 |
474 |
4 |
| jump |
|
2 |
11 |
70 |
4 |
| instset |
|
7 |
27 |
162 |
4 |
| obranch |
|
2 |
12 |
77 |
4 |
| brcond |
|
5 |
22 |
162 |
4 |
| otrap |
|
4 |
16 |
124 |
4 |
| obit |
|
2 |
12 |
106 |
4 |
| bitman |
|
1 |
8 |
67 |
4 |
| immem |
|
11 |
47 |
244 |
4 |
| nimmem |
|
23 |
64 |
381 |
4 |
| lognim |
|
2 |
11 |
92 |
4 |
| onimmed |
|
7 |
26 |
155 |
4 |
| pinst |
|
9 |
40 |
252 |
4 |
| m88k_print_instruction |
|
6 |
20 |
112 |
3 |
| db_disasm |
|
3 |
10 |
53 |
2 |
| Source file: ./sys/arch/m88k/include/fenv.h |
| Source file: ./sys/arch/m88k/include/ieee.h |
| Source file: ./sys/arch/m88k/include/ieeefp.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| countLeadingZeros32 |
|
2 |
6 |
39 |
1 |
| Source file: ./sys/arch/m88k/include/_types.h |
| Source file: ./sys/arch/m88k/include/mutex.h |
| Source file: ./sys/arch/m88k/include/endian.h |
| Source file: ./sys/arch/m88k/include/cdefs.h |
| Source file: ./sys/arch/m88k/include/varargs.h |
| Source file: ./sys/arch/m88k/include/ptrace.h |
| Source file: ./sys/arch/m88k/include/frame.h |
| Source file: ./sys/arch/m88k/include/limits.h |
| Source file: ./sys/arch/m88k/include/pmap_table.h |
| Source file: ./sys/arch/m88k/include/intr.h |
| Source file: ./sys/arch/m88k/include/psl.h |
| Source file: ./sys/arch/m88k/include/cmmu.h |
| Source file: ./sys/arch/m88k/include/proc.h |
| Source file: ./sys/arch/m88k/include/setjmp.h |
| Source file: ./sys/arch/m88k/include/atomic.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| atomic_setbits_int |
|
1 |
8 |
40 |
2 |
| atomic_clearbits_int |
|
1 |
8 |
40 |
2 |
| atomic_add_int_nv_sp |
|
1 |
11 |
52 |
2 |
| atomic_sub_int_nv_sp |
|
1 |
11 |
52 |
2 |
| atomic_cas_uint_sp |
|
2 |
12 |
61 |
3 |
| atomic_swap_uint_sp |
|
1 |
11 |
51 |
2 |
| atomic_clear_int |
|
1 |
8 |
42 |
1 |
| __sync_synchronize |
|
1 |
4 |
15 |
1 |
| Source file: ./sys/arch/m88k/include/reloc.h |
| Source file: ./sys/arch/m88k/include/mplock.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __mp_lock_init |
|
1 |
6 |
29 |
1 |
| __mp_acquire_count |
|
2 |
5 |
22 |
2 |
| __mp_lock_held |
|
1 |
4 |
21 |
2 |
| Source file: ./sys/arch/m88k/include/m88100.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| m88100_rewind_insn |
|
1 |
5 |
25 |
1 |
| Source file: ./sys/arch/m88k/include/pcb.h |
| Source file: ./sys/arch/m88k/include/db_machdep.h |
| Source file: ./sys/arch/m88k/include/signal.h |
| Source file: ./sys/arch/m88k/include/param.h |
| Source file: ./sys/arch/m88k/include/cpu.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| curcpu |
|
1 |
6 |
25 |
1 |
| Source file: ./sys/arch/m88k/include/asm.h |
| Source file: ./sys/arch/m88k/include/fpu.h |
| Source file: ./sys/arch/m88k/include/trap.h |
| Source file: ./sys/arch/m88k/include/reg.h |
| Source file: ./sys/arch/octeon/octeon/pciide_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pciide_machdep_compat_intr_establish |
|
1 |
7 |
51 |
5 |
| pciide_machdep_compat_intr_disestablish |
|
1 |
4 |
20 |
2 |
| Source file: ./sys/arch/octeon/octeon/disksubr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| readdisklabel |
|
8 |
26 |
157 |
4 |
| writedisklabel |
|
4 |
30 |
213 |
3 |
| Source file: ./sys/arch/octeon/octeon/autoconf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cpu_configure |
|
1 |
9 |
39 |
1 |
| findtype |
|
5 |
22 |
125 |
1 |
| parse_uboot_root |
|
5 |
19 |
101 |
1 |
| diskconf |
|
2 |
7 |
34 |
1 |
| device_register |
|
6 |
14 |
62 |
2 |
| Source file: ./sys/arch/octeon/octeon/openprom.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| openpromattach |
|
1 |
3 |
7 |
1 |
| openpromopen |
|
1 |
4 |
23 |
4 |
| openpromclose |
|
1 |
4 |
23 |
4 |
| openpromcheckid |
|
4 |
7 |
50 |
2 |
| openpromgetstr |
|
2 |
11 |
81 |
3 |
| openpromioctl |
|
34 |
136 |
841 |
5 |
| Source file: ./sys/arch/octeon/octeon/conf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| iskmemdev |
|
4 |
7 |
44 |
1 |
| iszerodev |
|
2 |
5 |
26 |
1 |
| getnulldev |
|
1 |
4 |
15 |
0 |
| Source file: ./sys/arch/octeon/dev/cn30xxnpireg.h |
| Source file: ./sys/arch/octeon/dev/cn30xxsmi.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cn30xxsmi_match |
|
1 |
5 |
34 |
3 |
| cn30xxsmi_attach |
|
3 |
18 |
139 |
3 |
| cn30xxsmi_read |
|
5 |
20 |
122 |
3 |
| cn30xxsmi_write |
|
4 |
22 |
134 |
4 |
| cn30xxsmi_get_phy |
|
11 |
47 |
218 |
4 |
| Source file: ./sys/arch/octeon/dev/simplebusvar.h |
| Source file: ./sys/arch/octeon/dev/octeon_intr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| octeon_intr_register |
|
4 |
17 |
99 |
1 |
| octeon_intr_init |
|
1 |
4 |
12 |
1 |
| octeon_intr_establish |
|
1 |
5 |
45 |
5 |
| octeon_intr_establish_fdt |
|
1 |
6 |
45 |
5 |
| octeon_intr_establish_fdt_idx |
|
6 |
29 |
187 |
6 |
| octeon_intr_disestablish |
|
1 |
4 |
15 |
1 |
| octeon_intr_disestablish_fdt |
|
1 |
7 |
46 |
1 |
| hw_ipi_intr_establish |
|
1 |
4 |
27 |
2 |
| hw_ipi_intr_set |
|
1 |
4 |
14 |
1 |
| hw_ipi_intr_clear |
|
1 |
4 |
14 |
1 |
| Source file: ./sys/arch/m88k/m88k/trap.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| printtrap |
|
8 |
23 |
121 |
2 |
| panictrap |
|
3 |
10 |
57 |
2 |
| interrupt |
|
1 |
7 |
33 |
1 |
| nmi |
|
1 |
4 |
15 |
1 |
| nmi_wrapup |
|
1 |
4 |
14 |
1 |
| ast |
|
1 |
9 |
54 |
1 |
| m88100_trap |
|
63 |
266 |
1456 |
2 |
| m88110_trap |
|
92 |
318 |
1725 |
2 |
| error_fatal |
|
3 |
9 |
55 |
1 |
| m88100_syscall |
|
12 |
70 |
473 |
2 |
| m88110_syscall |
|
12 |
67 |
431 |
2 |
| child_return |
|
6 |
22 |
130 |
1 |
| ss_get_value |
|
1 |
15 |
108 |
3 |
| ss_put_value |
|
1 |
15 |
108 |
3 |
| ss_branch_taken |
|
10 |
24 |
136 |
3 |
| ss_inst_branch_or_call |
|
8 |
15 |
63 |
1 |
| ss_put_breakpoint |
|
3 |
12 |
87 |
4 |
| process_sstep |
|
11 |
33 |
261 |
2 |
| splassert_check |
|
2 |
9 |
46 |
2 |
| double_reg_fixup |
|
20 |
74 |
483 |
2 |
| cache_flush |
|
11 |
30 |
184 |
1 |
| Source file: ./sys/arch/octeon/dev/cn30xxipd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cn30xxipd_init |
|
3 |
18 |
122 |
2 |
| cn30xxipd_enable |
|
1 |
8 |
40 |
1 |
| cn30xxipd_config |
|
1 |
38 |
232 |
1 |
| cn30xxipd_offload |
|
7 |
15 |
93 |
2 |
| cn30xxipd_sub_port_fcs |
|
2 |
10 |
64 |
2 |
| Source file: ./sys/arch/octeon/octeon/machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| octeon_memory_init |
|
11 |
47 |
346 |
1 |
| mips_init |
|
33 |
193 |
1337 |
4 |
| consinit |
|
2 |
9 |
31 |
0 |
| cpu_startup |
|
3 |
19 |
137 |
0 |
| octeon_cpuspeed |
|
1 |
6 |
28 |
1 |
| octeon_ioclock_speed |
|
3 |
17 |
78 |
1 |
| octeon_tlb_init |
|
5 |
28 |
124 |
1 |
| get_ncpusfound |
|
3 |
10 |
62 |
1 |
| process_bootargs |
|
6 |
19 |
116 |
1 |
| cpu_sysctl |
|
2 |
10 |
54 |
7 |
| boot |
|
12 |
47 |
223 |
1 |
| dumpconf |
|
7 |
16 |
123 |
1 |
| dumpsys |
|
1 |
3 |
5 |
0 |
| is_memory_range |
|
6 |
14 |
101 |
3 |
| ioclock_get_timecount |
|
1 |
5 |
25 |
1 |
| hw_cpu_boot_secondary |
|
3 |
14 |
83 |
1 |
| hw_cpu_hatch |
|
1 |
20 |
109 |
1 |
| Source file: ./sys/arch/octeon/dev/cn30xxfauvar.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cn30xxfau_op_iobdma |
|
1 |
11 |
81 |
2 |
| cn30xxfau_op_iobdma_store_data |
|
1 |
11 |
98 |
5 |
| cn30xxfau_op_inc_fetch_8 |
|
1 |
5 |
29 |
2 |
| cn30xxfau_op_inc_read_8 |
|
1 |
5 |
21 |
1 |
| Source file: ./sys/arch/octeon/dev/cn30xxsmireg.h |
| Source file: ./sys/arch/octeon/dev/octeon_pcibusvar.h |
| Source file: ./sys/arch/octeon/dev/cn30xxgmxvar.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cn30xxgmx_link_status |
|
1 |
5 |
32 |
1 |
| Source file: ./sys/arch/octeon/dev/cn30xxgmxreg.h |
| Source file: ./sys/arch/octeon/dev/octmmcreg.h |
| Source file: ./sys/arch/octeon/dev/cn30xxpip.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cn30xxpip_init |
|
3 |
19 |
130 |
2 |
| cn30xxpip_port_config |
|
1 |
34 |
248 |
1 |
| cn30xxpip_prt_cfg_enable |
|
2 |
11 |
65 |
3 |
| cn30xxpip_stats |
|
5 |
21 |
150 |
3 |
| Source file: ./sys/arch/octeon/dev/cn30xxfpavar.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cn30xxfpa_load |
|
1 |
9 |
41 |
1 |
| cn30xxfpa_iobdma |
|
1 |
4 |
18 |
3 |
| cn30xxfpa_store |
|
1 |
11 |
62 |
3 |
| cn30xxfpa_buf_get_paddr |
|
1 |
4 |
17 |
1 |
| cn30xxfpa_buf_put_paddr |
|
1 |
6 |
49 |
2 |
| cn30xxfpa_buf_put |
|
1 |
8 |
71 |
2 |
| Source file: ./sys/arch/octeon/dev/octhcireg.h |
| Source file: ./sys/arch/octeon/dev/octxctl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| octxctl_match |
|
3 |
10 |
69 |
3 |
| octxctl_attach |
|
12 |
64 |
490 |
3 |
| octxctl_uctl_init |
|
7 |
90 |
541 |
3 |
| octxctl_dwc3_init |
|
5 |
41 |
295 |
2 |
| octxctl_read_1 |
|
1 |
4 |
30 |
3 |
| octxctl_read_2 |
|
1 |
4 |
30 |
3 |
| octxctl_read_4 |
|
1 |
4 |
26 |
3 |
| octxctl_write_1 |
|
1 |
5 |
34 |
4 |
| octxctl_write_2 |
|
1 |
5 |
34 |
4 |
| octxctl_write_4 |
|
1 |
5 |
30 |
4 |
| Source file: ./sys/arch/octeon/dev/octeon_pcibus_irq.h |
| Source file: ./sys/arch/octeon/dev/octsctl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| octsctl_match |
|
2 |
6 |
43 |
3 |
| octsctl_attach |
|
7 |
54 |
430 |
3 |
| Source file: ./sys/arch/octeon/dev/cn30xxpowvar.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cn30xxpow_ops_get_work_load |
|
1 |
10 |
39 |
1 |
| cn30xxpow_ops_get_work_iobdma |
|
1 |
15 |
74 |
2 |
| cn30xxpow_ops_null_rd_iobdma |
|
1 |
12 |
61 |
1 |
| cn30xxpow_store |
|
1 |
26 |
116 |
9 |
| cn30xxpow_ops_swtag |
|
1 |
13 |
31 |
2 |
| cn30xxpow_ops_swtag_full |
|
1 |
13 |
37 |
4 |
| cn30xxpow_ops_swtag_desched |
|
1 |
13 |
37 |
4 |
| cn30xxpow_ops_desched |
|
1 |
13 |
28 |
1 |
| cn30xxpow_ops_addwq |
|
1 |
13 |
40 |
5 |
| cn30xxpow_ops_upd_wqp_grp |
|
1 |
13 |
31 |
2 |
| cn30xxpow_ops_clr_nsched |
|
1 |
13 |
31 |
2 |
| cn30xxpow_ops_nop |
|
1 |
13 |
27 |
1 |
| cn30xxpow_tag_sw_pending |
|
1 |
12 |
29 |
1 |
| cn30xxpow_tag_sw_wait |
|
2 |
5 |
14 |
1 |
| cn30xxpow_config_int_pc |
|
3 |
12 |
88 |
2 |
| cn30xxpow_config_int_pc_rate |
|
1 |
4 |
23 |
2 |
| Source file: ./sys/arch/octeon/octeon/bus_dma.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _dmamap_create |
|
3 |
20 |
152 |
7 |
| _dmamap_destroy |
|
1 |
4 |
19 |
2 |
| _dmamap_load |
|
3 |
18 |
119 |
6 |
| _dmamap_load_mbuf |
|
8 |
27 |
192 |
4 |
| _dmamap_load_uio |
|
9 |
34 |
239 |
4 |
| _dmamap_load_raw |
|
16 |
57 |
397 |
6 |
| _dmamap_unload |
|
1 |
5 |
22 |
2 |
| _dmamap_sync |
|
13 |
54 |
263 |
5 |
| _dmamem_alloc |
|
1 |
7 |
61 |
8 |
| _dmamem_free |
|
3 |
17 |
114 |
3 |
| _dmamem_map |
|
11 |
51 |
373 |
6 |
| _dmamem_unmap |
|
2 |
6 |
41 |
3 |
| _dmamem_mmap |
|
7 |
20 |
135 |
6 |
| _dmamap_load_buffer |
|
15 |
66 |
465 |
9 |
| _dmamem_alloc_range |
|
9 |
43 |
292 |
10 |
| Source file: ./sys/arch/octeon/dev/cn30xxpkovar.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cn30xxpko_cmd_word0 |
|
1 |
23 |
289 |
16 |
| cn30xxpko_cmd_word1 |
|
1 |
10 |
102 |
5 |
| cn30xxpko_op_store |
|
1 |
11 |
71 |
2 |
| cn30xxpko_op_doorbell_write |
|
1 |
9 |
61 |
3 |
| Source file: ./sys/arch/octeon/dev/cn30xxciureg.h |
| Source file: ./sys/arch/octeon/dev/cn30xxsmivar.h |
| Source file: ./sys/arch/octeon/dev/cn30xxcorereg.h |
| Source file: ./sys/arch/octeon/dev/simplebus.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| simplebus_match |
|
4 |
11 |
80 |
3 |
| simplebus_attach |
|
6 |
36 |
339 |
3 |
| simplebus_submatch |
|
2 |
8 |
69 |
3 |
| simplebus_attach_node |
|
14 |
55 |
528 |
2 |
| simplebus_bs_map |
|
10 |
36 |
320 |
5 |
| Source file: ./sys/arch/octeon/dev/cn30xxuart.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| com_fdt_init_cons |
|
1 |
8 |
39 |
1 |
| cn30xxuart_probe |
|
1 |
5 |
34 |
3 |
| cn30xxuart_attach |
|
8 |
34 |
236 |
3 |
| cn30xxuart_intr |
|
1 |
5 |
16 |
1 |
| cn30xxuart_delay |
|
2 |
15 |
71 |
1 |
| cn30xxuart_wait_txhr_empty |
|
3 |
6 |
40 |
1 |
| cn30xxuartcninit |
|
1 |
3 |
9 |
1 |
| cn30xxuartcnprobe |
|
1 |
3 |
9 |
1 |
| cn30xxuartcnpollc |
|
1 |
3 |
10 |
2 |
| cn30xxuartcnputc |
|
1 |
8 |
39 |
2 |
| cn30xxuartcngetc |
|
2 |
9 |
51 |
1 |
| uartbus_read_1 |
|
1 |
4 |
31 |
3 |
| uartbus_write_1 |
|
1 |
7 |
47 |
4 |
| Source file: ./sys/arch/octeon/dev/octeon_bus_space.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| generic_space_read_1 |
|
1 |
4 |
26 |
3 |
| generic_space_read_2 |
|
1 |
4 |
26 |
3 |
| generic_space_read_4 |
|
1 |
4 |
26 |
3 |
| generic_space_read_8 |
|
1 |
4 |
26 |
3 |
| generic_space_write_1 |
|
1 |
5 |
30 |
4 |
| generic_space_write_2 |
|
1 |
5 |
30 |
4 |
| generic_space_write_4 |
|
1 |
5 |
30 |
4 |
| generic_space_write_8 |
|
1 |
5 |
30 |
4 |
| generic_space_read_raw_2 |
|
2 |
10 |
64 |
5 |
| generic_space_write_raw_2 |
|
2 |
10 |
65 |
5 |
| generic_space_read_raw_4 |
|
2 |
10 |
64 |
5 |
| generic_space_write_raw_4 |
|
2 |
10 |
65 |
5 |
| generic_space_read_raw_8 |
|
2 |
10 |
64 |
5 |
| generic_space_write_raw_8 |
|
2 |
10 |
65 |
5 |
| generic_space_map |
|
1 |
6 |
32 |
5 |
| generic_space_unmap |
|
1 |
3 |
13 |
3 |
| generic_space_region |
|
1 |
6 |
30 |
5 |
| generic_space_vaddr |
|
1 |
4 |
17 |
2 |
| Source file: ./sys/arch/octeon/dev/mainbus.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mainbus_match |
|
2 |
7 |
37 |
3 |
| mainbus_attach |
|
5 |
23 |
186 |
3 |
| mainbus_print |
|
2 |
4 |
22 |
2 |
| Source file: ./sys/arch/octeon/dev/cn30xxpko.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cn30xxpko_init |
|
3 |
19 |
130 |
2 |
| cn30xxpko_enable |
|
1 |
10 |
51 |
1 |
| cn30xxpko_reset |
|
1 |
7 |
36 |
1 |
| cn30xxpko_config |
|
1 |
7 |
50 |
1 |
| cn30xxpko_port_enable |
|
2 |
15 |
108 |
2 |
| cn30xxpko_port_config |
|
2 |
23 |
185 |
1 |
| Source file: ./sys/arch/octeon/dev/octcf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| octcfprobe |
|
2 |
8 |
46 |
3 |
| octcfattach |
|
12 |
73 |
489 |
3 |
| octcfactivate |
|
1 |
4 |
15 |
2 |
| octcfdetach |
|
1 |
9 |
62 |
2 |
| octcfstrategy |
|
6 |
37 |
223 |
1 |
| octcfstart |
|
2 |
10 |
62 |
1 |
| _octcfstart |
|
2 |
17 |
135 |
2 |
| octcfdone |
|
2 |
12 |
80 |
1 |
| octcfread |
|
1 |
5 |
42 |
3 |
| octcfwrite |
|
1 |
5 |
42 |
3 |
| octcfopen |
|
9 |
43 |
266 |
4 |
| octcfclose |
|
2 |
14 |
102 |
4 |
| octcfgetdefaultlabel |
|
1 |
19 |
167 |
2 |
| octcfgetdisklabel |
|
1 |
10 |
62 |
4 |
| octcfioctl |
|
14 |
57 |
385 |
5 |
| wdformat |
|
1 |
5 |
21 |
1 |
| octcfsize |
|
6 |
24 |
174 |
1 |
| octcfdump |
|
1 |
4 |
19 |
4 |
| octcf_read_sectors |
|
6 |
25 |
163 |
4 |
| octcf_write_sectors |
|
6 |
23 |
159 |
4 |
| octcf_command |
|
1 |
8 |
98 |
3 |
| octcf_wait_busy |
|
4 |
14 |
93 |
1 |
| octcf_get_params |
|
14 |
60 |
494 |
2 |
| Source file: ./sys/arch/octeon/dev/octciu.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| octciu_match |
|
1 |
5 |
34 |
3 |
| octciu_attach |
|
8 |
37 |
267 |
3 |
| octciu_init |
|
2 |
27 |
266 |
1 |
| octciu_intr_establish |
|
9 |
35 |
270 |
5 |
| octciu_intr_establish_fdt_idx |
|
4 |
17 |
159 |
7 |
| octciu_intr_disestablish |
|
6 |
31 |
215 |
1 |
| octciu_intr_makemasks |
|
7 |
35 |
362 |
1 |
| octciu_next_irq |
|
2 |
15 |
64 |
1 |
| octciu_intr_bank |
|
16 |
62 |
418 |
3 |
| octciu_intr0 |
|
2 |
9 |
78 |
2 |
| octciu_intr2 |
|
2 |
8 |
61 |
2 |
| octciu_splx |
|
4 |
20 |
193 |
1 |
| octciu_ipi_intr |
|
2 |
12 |
99 |
2 |
| octciu_ipi_establish |
|
2 |
11 |
87 |
2 |
| octciu_ipi_set |
|
1 |
5 |
32 |
1 |
| octciu_ipi_clear |
|
1 |
7 |
53 |
1 |
| Source file: ./sys/arch/octeon/dev/octxctlreg.h |
| Source file: ./sys/arch/octeon/dev/cn30xxbootbusreg.h |
| Source file: ./sys/arch/octeon/dev/octuctl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| octuctl_read_1 |
|
1 |
4 |
30 |
3 |
| octuctl_read_2 |
|
1 |
4 |
30 |
3 |
| octuctl_read_4 |
|
1 |
4 |
26 |
3 |
| octuctl_write_1 |
|
1 |
4 |
34 |
4 |
| octuctl_write_2 |
|
1 |
4 |
34 |
4 |
| octuctl_write_4 |
|
1 |
4 |
30 |
4 |
| octuctl_match |
|
1 |
5 |
34 |
3 |
| octuctlprint |
|
1 |
4 |
18 |
2 |
| octuctl_clock_setup |
|
3 |
50 |
367 |
2 |
| octuctl_attach |
|
9 |
62 |
479 |
3 |
| Source file: ./sys/arch/octeon/dev/cn30xxfpa.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cn30xxfpa_bootstrap |
|
1 |
7 |
38 |
1 |
| cn30xxfpa_reset |
|
1 |
3 |
6 |
1 |
| cn30xxfpa_buf_init |
|
3 |
26 |
175 |
4 |
| cn30xxfpa_buf_get |
|
2 |
11 |
57 |
1 |
| cn30xxfpa_buf_dma_alloc |
|
6 |
28 |
209 |
1 |
| cn30xxfpa_query |
|
1 |
6 |
36 |
1 |
| cn30xxfpa_init |
|
2 |
7 |
35 |
1 |
| cn30xxfpa_init_regs |
|
2 |
10 |
60 |
1 |
| Source file: ./sys/arch/octeon/dev/octuctlreg.h |
| Source file: ./sys/arch/octeon/dev/cn30xxpow.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cn30xxpow_work_request_async |
|
1 |
4 |
17 |
2 |
| cn30xxpow_work_response_async |
|
2 |
10 |
43 |
1 |
| cn30xxpow_bootstrap |
|
1 |
6 |
30 |
1 |
| cn30xxpow_config_int |
|
1 |
11 |
64 |
5 |
| cn30xxpow_config |
|
1 |
7 |
25 |
2 |
| cn30xxpow_intr_establish |
|
2 |
21 |
153 |
6 |
| cn30xxpow_init |
|
1 |
6 |
29 |
1 |
| cn30xxpow_init_regs |
|
2 |
8 |
45 |
1 |
| cn30xxpow_intr_work |
|
5 |
29 |
182 |
3 |
| cn30xxpow_intr |
|
1 |
9 |
58 |
1 |
| Source file: ./sys/arch/octeon/dev/cn30xxpkoreg.h |
| Source file: ./sys/arch/octeon/dev/amdcf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| amdcf_match |
|
3 |
10 |
65 |
3 |
| amdcf_attach |
|
4 |
39 |
419 |
3 |
| amdcf_detach |
|
1 |
9 |
60 |
2 |
| amdcfopen |
|
8 |
38 |
231 |
4 |
| amdcfgetdisklabel |
|
1 |
20 |
172 |
4 |
| amdcfclose |
|
2 |
13 |
89 |
4 |
| amdcfread |
|
1 |
4 |
31 |
3 |
| amdcfwrite |
|
2 |
5 |
34 |
3 |
| amdcfstrategy |
|
6 |
35 |
206 |
1 |
| amdcfioctl |
|
14 |
56 |
372 |
5 |
| amdcfdump |
|
1 |
4 |
19 |
4 |
| amdcfsize |
|
6 |
23 |
161 |
1 |
| amdcfstart |
|
2 |
8 |
45 |
1 |
| _amdcfstart |
|
4 |
20 |
135 |
2 |
| amdcfdone |
|
2 |
12 |
80 |
1 |
| amdcf_disk_read |
|
5 |
18 |
112 |
3 |
| amdcf_disk_write |
|
7 |
26 |
161 |
3 |
| cfi_block_start |
|
5 |
23 |
187 |
2 |
| cfi_block_finish |
|
1 |
11 |
61 |
1 |
| cfi_write_block |
|
7 |
30 |
206 |
1 |
| cfi_erase_block |
|
2 |
12 |
70 |
2 |
| cfi_wait_ready |
|
10 |
26 |
168 |
4 |
| cfi_array_write |
|
1 |
5 |
40 |
4 |
| cfi_amd_write |
|
1 |
6 |
51 |
4 |
| cfi_read |
|
1 |
5 |
37 |
3 |
| cfi_write |
|
1 |
6 |
41 |
4 |
| cfi_make_cmd |
|
3 |
10 |
65 |
2 |
| Source file: ./sys/arch/octeon/dev/cn30xxfpareg.h |
| Source file: ./sys/arch/octeon/dev/octdwctwo.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| octdwctwo_match |
|
4 |
13 |
56 |
3 |
| octdwctwo_attach |
|
3 |
59 |
492 |
3 |
| octdwctwo_set_dma_addr |
|
1 |
9 |
50 |
3 |
| octdwctwo_reg2_rd |
|
1 |
6 |
33 |
2 |
| octdwctwo_reg2_wr |
|
1 |
5 |
43 |
3 |
| octdwctwo_reg_set |
|
1 |
9 |
65 |
3 |
| octdwctwo_reg_clear |
|
1 |
9 |
65 |
3 |
| octdwctwo_read_4 |
|
1 |
4 |
30 |
3 |
| octdwctwo_write_4 |
|
1 |
5 |
34 |
4 |
| Source file: ./sys/arch/octeon/dev/cn30xxipdvar.h |
| Source file: ./sys/arch/octeon/dev/cn30xxasxreg.h |
| Source file: ./sys/arch/octeon/dev/cn30xxfaureg.h |
| Source file: ./sys/arch/octeon/dev/if_cnmac.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cnmac_buf_init |
|
3 |
15 |
95 |
1 |
| cnmac_match |
|
2 |
9 |
61 |
3 |
| cnmac_attach |
|
3 |
67 |
536 |
3 |
| cnmac_pip_init |
|
1 |
11 |
69 |
1 |
| cnmac_ipd_init |
|
1 |
9 |
52 |
1 |
| cnmac_pko_init |
|
1 |
10 |
61 |
1 |
| cnmac_board_mac_addr |
|
6 |
26 |
117 |
1 |
| cnmac_mii_readreg |
|
1 |
5 |
39 |
3 |
| cnmac_mii_writereg |
|
1 |
5 |
43 |
4 |
| cnmac_mii_statchg |
|
2 |
12 |
92 |
1 |
| cnmac_mediainit |
|
2 |
22 |
169 |
1 |
| cnmac_mediastatus |
|
1 |
9 |
71 |
2 |
| cnmac_mediachange |
|
2 |
7 |
42 |
1 |
| cnmac_send_queue_flush_prefetch |
|
1 |
6 |
34 |
1 |
| cnmac_send_queue_flush_fetch |
|
2 |
9 |
54 |
1 |
| cnmac_send_queue_flush |
|
2 |
14 |
89 |
1 |
| cnmac_send_queue_is_full |
|
3 |
10 |
50 |
1 |
| cnmac_send_queue_add |
|
2 |
9 |
60 |
3 |
| cnmac_send_queue_del |
|
2 |
13 |
80 |
3 |
| cnmac_buf_free_work |
|
3 |
22 |
147 |
2 |
| cnmac_ioctl |
|
15 |
50 |
293 |
3 |
| cnmac_send_makecmd_w0 |
|
2 |
14 |
66 |
5 |
| cnmac_send_makecmd_w1 |
|
1 |
7 |
24 |
2 |
| cnmac_kvtophys |
|
6 |
10 |
71 |
1 |
| cnmac_send_makecmd_gbuf |
|
5 |
23 |
150 |
4 |
| cnmac_send_makecmd |
|
5 |
27 |
178 |
5 |
| cnmac_send_cmd |
|
3 |
31 |
191 |
3 |
| cnmac_send_buf |
|
3 |
16 |
90 |
3 |
| cnmac_send |
|
3 |
24 |
130 |
2 |
| cnmac_start |
|
9 |
35 |
194 |
1 |
| cnmac_watchdog |
|
1 |
10 |
64 |
1 |
| cnmac_init |
|
2 |
21 |
137 |
1 |
| cnmac_stop |
|
1 |
14 |
95 |
2 |
| cnmac_reset |
|
1 |
8 |
40 |
1 |
| cnmac_configure |
|
1 |
12 |
80 |
1 |
| cnmac_configure_common |
|
2 |
15 |
71 |
1 |
| cnmac_mbuf_alloc |
|
4 |
22 |
145 |
1 |
| cnmac_recv_mbuf |
|
7 |
50 |
372 |
4 |
| cnmac_recv_check |
|
5 |
15 |
100 |
2 |
| cnmac_recv |
|
4 |
24 |
152 |
3 |
| cnmac_intr |
|
5 |
43 |
281 |
1 |
| cnmac_free_task |
|
6 |
24 |
136 |
1 |
| cnmac_tick_free |
|
3 |
13 |
82 |
1 |
| cnmac_tick_misc |
|
1 |
12 |
79 |
1 |
| Source file: ./sys/arch/octeon/dev/octeon_pcibus.h |
| Source file: ./sys/arch/octeon/dev/cn30xxpipvar.h |
| Source file: ./sys/arch/octeon/dev/octrng.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| octrng_match |
|
2 |
8 |
58 |
3 |
| octrng_attach |
|
2 |
17 |
124 |
3 |
| octrng_rnd |
|
1 |
9 |
57 |
1 |
| Source file: ./sys/arch/octeon/dev/cn30xxasxvar.h |
| Source file: ./sys/arch/octeon/dev/cn30xxasx.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cn30xxasx_init |
|
3 |
16 |
106 |
2 |
| cn30xxasx_enable |
|
1 |
6 |
29 |
2 |
| cn30xxasx_enable_tx |
|
2 |
11 |
65 |
2 |
| cn30xxasx_enable_rx |
|
2 |
11 |
65 |
2 |
| cn30xxasx_clk_set |
|
1 |
6 |
48 |
3 |
| Source file: ./sys/arch/octeon/dev/if_cnmacvar.h |
| Source file: ./sys/arch/octeon/dev/iobusvar.h |
| Source file: ./sys/arch/octeon/dev/cn30xxipdreg.h |
| Source file: ./sys/arch/octeon/dev/octcit.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| octcit_match |
|
1 |
5 |
34 |
3 |
| octcit_attach |
|
8 |
43 |
334 |
3 |
| intsn_hash |
|
1 |
6 |
34 |
1 |
| octcit_init |
|
1 |
19 |
250 |
1 |
| octcit_intr_establish |
|
1 |
5 |
45 |
5 |
| octcit_intr_establish_intsn |
|
6 |
35 |
279 |
6 |
| octcit_intr_establish_fdt_idx |
|
5 |
22 |
178 |
7 |
| octcit_intr_disestablish |
|
8 |
40 |
297 |
1 |
| octcit_intr |
|
16 |
68 |
417 |
2 |
| octcit_splx |
|
4 |
14 |
100 |
1 |
| octcit_ipi_intr |
|
2 |
8 |
48 |
2 |
| octcit_ipi_establish |
|
2 |
13 |
93 |
2 |
| octcit_ipi_set |
|
1 |
5 |
29 |
1 |
| octcit_ipi_clear |
|
1 |
7 |
44 |
1 |
| Source file: ./sys/arch/octeon/dev/octehci.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| octehci_match |
|
1 |
5 |
36 |
3 |
| octehci_attach |
|
3 |
43 |
372 |
3 |
| Source file: ./sys/arch/octeon/dev/cn30xxpowreg.h |
| Source file: ./sys/arch/octeon/dev/cn30xxfau.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cn30xxfau_op_load |
|
1 |
10 |
70 |
1 |
| cn30xxfau_op_store |
|
1 |
10 |
74 |
2 |
| cn30xxfau_op_load_paddr |
|
1 |
9 |
66 |
3 |
| cn30xxfau_op_store_paddr |
|
1 |
8 |
53 |
3 |
| cn30xxfau_op_init |
|
1 |
5 |
27 |
3 |
| cn30xxfau_op_save |
|
1 |
5 |
21 |
1 |
| cn30xxfau_op_restore |
|
1 |
4 |
21 |
2 |
| cn30xxfau_op_inc_8 |
|
1 |
7 |
41 |
2 |
| cn30xxfau_op_incwait_8 |
|
1 |
7 |
41 |
2 |
| cn30xxfau_op_add_8 |
|
1 |
4 |
23 |
2 |
| cn30xxfau_op_set_8 |
|
1 |
4 |
23 |
2 |
| Source file: ./sys/arch/octeon/dev/octeon_iobus.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| iobusmatch |
|
2 |
6 |
31 |
3 |
| iobusprint |
|
4 |
11 |
76 |
2 |
| iobussubmatch |
|
4 |
10 |
97 |
3 |
| iobusattach |
|
8 |
49 |
291 |
3 |
| iobussearch |
|
6 |
24 |
193 |
3 |
| iobus_space_map |
|
3 |
13 |
79 |
5 |
| iobus_space_unmap |
|
1 |
3 |
13 |
3 |
| iobus_pa_to_device |
|
1 |
4 |
13 |
1 |
| iobus_device_to_pa |
|
1 |
4 |
13 |
1 |
| Source file: ./sys/arch/octeon/dev/cn30xxuartreg.h |
| Source file: ./sys/arch/octeon/dev/octrtc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| octrtc_match |
|
4 |
12 |
87 |
3 |
| octrtc_attach |
|
1 |
8 |
53 |
3 |
| octrtc_gettime |
|
11 |
48 |
426 |
3 |
| octrtc_read |
|
16 |
31 |
214 |
2 |
| octrtc_settime |
|
7 |
35 |
265 |
2 |
| octrtc_write |
|
5 |
19 |
127 |
1 |
| Source file: ./sys/arch/octeon/dev/cn30xxpipreg.h |
| Source file: ./sys/arch/octeon/dev/octcib.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| octcib_match |
|
1 |
5 |
34 |
3 |
| octcib_attach |
|
8 |
46 |
365 |
3 |
| octcib_establish |
|
9 |
46 |
343 |
7 |
| octcib_disestablish |
|
6 |
29 |
171 |
1 |
| octcib_intr |
|
13 |
39 |
232 |
1 |
| Source file: ./sys/arch/octeon/dev/octuctlvar.h |
| Source file: ./sys/arch/octeon/include/pmap.h |
| Source file: ./sys/arch/octeon/include/disklabel.h |
| Source file: ./sys/arch/octeon/include/kcore.h |
| Source file: ./sys/arch/octeon/include/profile.h |
| Source file: ./sys/arch/octeon/include/fdt.h |
| Source file: ./sys/arch/octeon/include/octeon_model.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| octeon_get_chipid |
|
1 |
12 |
30 |
1 |
| Source file: ./sys/arch/octeon/include/memconf.h |
| Source file: ./sys/arch/octeon/include/vmparam.h |
| Source file: ./sys/arch/octeon/include/lock.h |
| Source file: ./sys/arch/octeon/include/_float.h |
| Source file: ./sys/arch/octeon/include/exec.h |
| Source file: ./sys/arch/octeon/include/spinlock.h |
| Source file: ./sys/arch/octeon/dev/octohci.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| octohci_match |
|
1 |
5 |
36 |
3 |
| octohci_attach |
|
3 |
40 |
346 |
3 |
| octohci_attach_deferred |
|
2 |
19 |
126 |
1 |
| Source file: ./sys/arch/octeon/include/tcb.h |
| Source file: ./sys/arch/octeon/include/stdarg.h |
| Source file: ./sys/arch/octeon/include/_types.h |
| Source file: ./sys/arch/octeon/include/pte.h |
| Source file: ./sys/arch/octeon/include/ieee.h |
| Source file: ./sys/arch/octeon/include/loadfile_machdep.h |
| Source file: ./sys/arch/octeon/include/ieeefp.h |
| Source file: ./sys/arch/octeon/dev/octeon_pcibus.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| octeon_pcibus_match |
|
3 |
11 |
71 |
3 |
| octeon_pcibus_attach |
|
1 |
32 |
250 |
3 |
| octeon_pcibus_pa_to_device |
|
1 |
5 |
29 |
1 |
| octeon_pcibus_device_to_pa |
|
1 |
5 |
28 |
1 |
| octeon_pcibus_print |
|
2 |
8 |
47 |
2 |
| octeon_pcibus_attach_hook |
|
1 |
4 |
19 |
3 |
| octeon_pcibus_bus_maxdevs |
|
1 |
4 |
16 |
2 |
| octeon_pcibus_make_tag |
|
1 |
4 |
39 |
4 |
| octeon_pcibus_decompose_tag |
|
4 |
9 |
77 |
5 |
| octeon_pcibus_pci_conf_size |
|
1 |
4 |
14 |
2 |
| octeon_pcibus_pci_conf_read |
|
4 |
21 |
109 |
3 |
| octeon_pcibus_pci_conf_write |
|
4 |
19 |
106 |
4 |
| octeon_pcibus_pci_intr_map |
|
8 |
23 |
168 |
2 |
| octeon_pcibus_pci_intr_string |
|
1 |
6 |
36 |
2 |
| octeon_pcibus_pci_intr_establish |
|
1 |
5 |
46 |
6 |
| octeon_pcibus_pci_intr_disestablish |
|
1 |
7 |
37 |
2 |
| octeon_pcibus_io_map |
|
2 |
10 |
59 |
5 |
| octeon_pcibus_mem_map |
|
2 |
10 |
59 |
5 |
| octeon_pcibus_get_resource_extent |
|
9 |
33 |
188 |
2 |
| octeon_pcibus_intr_map |
|
1 |
4 |
26 |
3 |
| Source file: ./sys/arch/octeon/include/fenv.h |
| Source file: ./sys/arch/octeon/include/mutex.h |
| Source file: ./sys/arch/octeon/include/openpromio.h |
| Source file: ./sys/arch/octeon/include/cdefs.h |
| Source file: ./sys/arch/octeon/include/cpu.h |
| Source file: ./sys/arch/octeon/include/cpustate.h |
| Source file: ./sys/arch/octeon/include/octeonreg.h |
| Source file: ./sys/arch/octeon/include/frame.h |
| Source file: ./sys/arch/octeon/include/endian.h |
| Source file: ./sys/arch/octeon/include/varargs.h |
| Source file: ./sys/arch/octeon/include/ptrace.h |
| Source file: ./sys/arch/octeon/include/limits.h |
| Source file: ./sys/arch/octeon/include/conf.h |
| Source file: ./sys/arch/octeon/include/atomic.h |
| Source file: ./sys/arch/octeon/dev/octmmc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| octmmc_match |
|
2 |
6 |
43 |
3 |
| octmmc_attach |
|
27 |
141 |
1008 |
3 |
| octmmc_acquire |
|
4 |
31 |
209 |
1 |
| octmmc_release |
|
1 |
4 |
15 |
1 |
| octmmc_init_bus |
|
4 |
33 |
213 |
1 |
| octmmc_intr |
|
6 |
19 |
110 |
1 |
| octmmc_host_reset |
|
1 |
11 |
49 |
1 |
| octmmc_host_ocr |
|
1 |
4 |
12 |
1 |
| octmmc_host_maxblklen |
|
1 |
4 |
10 |
1 |
| octmmc_card_detect |
|
1 |
4 |
10 |
1 |
| octmmc_bus_power |
|
2 |
6 |
24 |
2 |
| octmmc_bus_clock |
|
5 |
23 |
136 |
3 |
| octmmc_bus_width |
|
4 |
21 |
76 |
2 |
| octmmc_exec_command |
|
4 |
13 |
66 |
2 |
| octmmc_exec_dma |
|
23 |
92 |
645 |
2 |
| octmmc_exec_pio |
|
19 |
73 |
516 |
2 |
| octmmc_dma_load_6130 |
|
4 |
20 |
149 |
2 |
| octmmc_dma_unload_6130 |
|
2 |
6 |
29 |
2 |
| octmmc_dma_load_7890 |
|
4 |
18 |
134 |
2 |
| octmmc_dma_unload_7890 |
|
1 |
4 |
18 |
1 |
| octmmc_crtype_fixup |
|
7 |
28 |
110 |
1 |
| octmmc_get_response |
|
2 |
16 |
149 |
2 |
| octmmc_wait_intr |
|
3 |
12 |
78 |
3 |
| Source file: ./sys/arch/octeon/include/octeonvar.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ffs64 |
|
1 |
10 |
34 |
1 |
| ffs32 |
|
1 |
10 |
34 |
1 |
| octeon_xkphys_read_8 |
|
1 |
6 |
32 |
1 |
| octeon_xkphys_write_8 |
|
2 |
8 |
63 |
2 |
| octeon_iobdma_write_8 |
|
1 |
5 |
22 |
1 |
| octeon_lmtdma_write_8 |
|
1 |
4 |
24 |
2 |
| octeon_cvmseg_read_8 |
|
1 |
4 |
20 |
1 |
| octeon_cvmseg_write_8 |
|
1 |
4 |
24 |
2 |
| octeon_get_coreid |
|
1 |
10 |
25 |
1 |
| octeon_get_cycles |
|
1 |
10 |
28 |
1 |
| octeon_get_cvmmemctl |
|
1 |
10 |
28 |
1 |
| octeon_set_cvmmemctl |
|
1 |
8 |
26 |
1 |
| octeon_synciobdma |
|
1 |
8 |
18 |
1 |
| Source file: ./sys/arch/octeon/include/proc.h |
| Source file: ./sys/arch/octeon/include/mplock.h |
| Source file: ./sys/arch/octeon/include/setjmp.h |
| Source file: ./sys/arch/octeon/include/reloc.h |
| Source file: ./sys/arch/octeon/include/pcb.h |
| Source file: ./sys/arch/octeon/include/pci_machdep.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pci_conf_read_db |
|
1 |
9 |
75 |
6 |
| pci_conf_write_db |
|
1 |
7 |
72 |
7 |
| Source file: ./sys/arch/octeon/include/autoconf.h |
| Source file: ./sys/arch/octeon/include/mips_opcode.h |
| Source file: ./sys/arch/octeon/include/db_machdep.h |
| Source file: ./sys/arch/octeon/include/signal.h |
| Source file: ./sys/arch/octeon/include/asm.h |
| Source file: ./sys/arch/octeon/include/param.h |
| Source file: ./sys/arch/octeon/include/reg.h |
| Source file: ./sys/arch/octeon/include/sysarch.h |
| Source file: ./sys/arch/octeon/include/trap.h |
| Source file: ./sys/arch/octeon/include/regdef.h |
| Source file: ./sys/arch/octeon/include/regnum.h |
| Source file: ./sys/arch/octeon/include/fpu.h |
| Source file: ./sys/arch/octeon/stand/boot/uart.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cn30xxuart_delay |
|
1 |
11 |
59 |
1 |
| cn30xxuart_wait_txhr_empty |
|
3 |
6 |
40 |
1 |
| cn30xxuartcninit |
|
1 |
7 |
37 |
1 |
| cn30xxuartcnprobe |
|
1 |
5 |
26 |
1 |
| cn30xxuartcnputc |
|
1 |
8 |
36 |
2 |
| cn30xxuartcngetc |
|
4 |
13 |
72 |
1 |
| Source file: ./sys/arch/octeon/include/intr.h |
| Source file: ./sys/arch/octeon/stand/boot/clock.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| delay |
|
2 |
6 |
23 |
1 |
| Source file: ./sys/arch/octeon/stand/boot/machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mips_init |
|
1 |
9 |
48 |
4 |
| cnspeed |
|
1 |
4 |
13 |
2 |
| ttyname |
|
1 |
4 |
10 |
1 |
| ttydev |
|
1 |
4 |
13 |
1 |
| devboot |
|
6 |
23 |
130 |
2 |
| parse_rootdev |
|
4 |
14 |
69 |
1 |
| getsecs |
|
1 |
6 |
34 |
1 |
| machdep |
|
1 |
4 |
9 |
0 |
| _rtt |
|
2 |
6 |
21 |
0 |
| Source file: ./sys/arch/octeon/stand/boot/libsa.h |
| Source file: ./sys/arch/octeon/stand/boot/conf.c |
| Source file: ./sys/arch/octeon/stand/boot/exec.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| run_loadfile |
|
1 |
2 |
11 |
2 |
| Source file: ./sys/arch/hppa/dev/sti_pci_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sti_pci_is_console |
|
6 |
27 |
157 |
2 |
| Source file: ./sys/arch/octeon/dev/cn30xxgmx.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cn30xxgmx_match |
|
3 |
10 |
72 |
3 |
| cn30xxgmx_get_phy_phandle |
|
2 |
13 |
69 |
1 |
| cn30xxgmx_attach |
|
11 |
73 |
493 |
3 |
| cn30xxgmx_print |
|
3 |
14 |
84 |
2 |
| cn30xxgmx_init |
|
24 |
88 |
500 |
1 |
| cn30xxgmx_link_enable |
|
3 |
17 |
92 |
2 |
| cn30xxgmx_stats_init |
|
1 |
11 |
75 |
1 |
| cn30xxgmx_tx_stats_rd_clr |
|
2 |
5 |
28 |
2 |
| cn30xxgmx_rx_stats_rd_clr |
|
2 |
5 |
28 |
2 |
| cn30xxgmx_rx_stats_dec_bad |
|
1 |
6 |
32 |
1 |
| cn30xxgmx_tx_ovr_bp_enable |
|
2 |
17 |
145 |
2 |
| cn30xxgmx_rx_pause_enable |
|
2 |
9 |
38 |
2 |
| cn30xxgmx_tx_int_enable |
|
2 |
12 |
54 |
2 |
| cn30xxgmx_rx_int_enable |
|
2 |
26 |
84 |
2 |
| cn30xxgmx_rx_frm_ctl_enable |
|
1 |
10 |
64 |
2 |
| cn30xxgmx_rx_frm_ctl_disable |
|
1 |
5 |
22 |
2 |
| cn30xxgmx_rx_frm_ctl_xable |
|
2 |
12 |
58 |
3 |
| cn30xxgmx_tx_thresh |
|
1 |
5 |
24 |
2 |
| cn30xxgmx_set_mac_addr |
|
2 |
13 |
86 |
2 |
| cn30xxgmx_set_filter |
|
8 |
62 |
434 |
1 |
| cn30xxgmx_port_enable |
|
1 |
5 |
29 |
2 |
| cn30xxgmx_reset_speed |
|
2 |
12 |
65 |
1 |
| cn30xxgmx_reset_timing |
|
1 |
5 |
24 |
1 |
| cn30xxgmx_reset_board |
|
1 |
4 |
12 |
1 |
| cn30xxgmx_reset_flowctl |
|
7 |
25 |
145 |
1 |
| cn30xxgmx_rgmii_enable |
|
2 |
9 |
47 |
2 |
| cn30xxgmx_rgmii_speed |
|
6 |
34 |
174 |
1 |
| cn30xxgmx_rgmii_speed_newlink |
|
1 |
8 |
33 |
2 |
| cn30xxgmx_rgmii_speed_newlink_log |
|
14 |
64 |
303 |
2 |
| cn30xxgmx_rgmii_speed_speed |
|
5 |
46 |
230 |
1 |
| cn30xxgmx_rgmii_timing |
|
3 |
28 |
98 |
1 |
| cn30xxgmx_sgmii_enable |
|
8 |
46 |
272 |
2 |
| cn30xxgmx_sgmii_speed |
|
6 |
50 |
290 |
1 |
| cn30xxgmx_sgmii_timing |
|
1 |
14 |
43 |
1 |
| cn30xxgmx_stats |
|
1 |
18 |
152 |
1 |
| Source file: ./sys/arch/octeon/stand/boot/devopen.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| devparse |
|
15 |
42 |
321 |
5 |
| devopen |
|
3 |
13 |
114 |
3 |
| Source file: ./sys/arch/hppa/dev/com_ssio.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| com_ssio_match |
|
4 |
10 |
75 |
3 |
| com_ssio_attach |
|
4 |
22 |
169 |
3 |
| Source file: ./sys/arch/hppa/dev/asp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| aspmatch |
|
3 |
11 |
54 |
3 |
| aspattach |
|
3 |
44 |
391 |
3 |
| Source file: ./sys/arch/hppa/dev/cpu.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cpumatch |
|
4 |
11 |
66 |
3 |
| cpuattach |
|
13 |
80 |
566 |
3 |
| cpu_boot_secondary_processors |
|
6 |
27 |
180 |
1 |
| cpu_hw_init |
|
1 |
9 |
56 |
1 |
| cpu_hatch |
|
2 |
21 |
115 |
1 |
| cpu_unidle |
|
2 |
5 |
24 |
1 |
| need_resched |
|
2 |
8 |
35 |
1 |
| Source file: ./sys/arch/hppa/dev/elroyvar.h |
| Source file: ./sys/arch/hppa/dev/com_dino.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| com_dino_match |
|
3 |
10 |
57 |
3 |
| com_dino_attach |
|
4 |
26 |
200 |
3 |
| Source file: ./sys/arch/hppa/dev/wax.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| waxmatch |
|
4 |
13 |
67 |
3 |
| waxattach |
|
3 |
41 |
355 |
3 |
| Source file: ./sys/arch/octeon/include/bus.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bus_space_copy_1 |
|
2 |
8 |
63 |
6 |
| bus_space_copy_2 |
|
2 |
8 |
64 |
6 |
| bus_space_copy_4 |
|
2 |
8 |
64 |
6 |
| bus_space_copy_8 |
|
2 |
8 |
64 |
6 |
| bus_space_barrier |
|
1 |
5 |
28 |
5 |
| Source file: ./sys/arch/hppa/dev/siop_sgc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| siop_sgc_match |
|
3 |
8 |
48 |
3 |
| siop_sgc_attach |
|
3 |
41 |
385 |
3 |
| siop_sgc_reset |
|
1 |
8 |
74 |
1 |
| siop_sgc_r1 |
|
1 |
4 |
31 |
3 |
| siop_sgc_r2 |
|
2 |
10 |
70 |
3 |
| siop_sgc_w1 |
|
1 |
4 |
35 |
4 |
| siop_sgc_w2 |
|
1 |
4 |
35 |
4 |
| Source file: ./sys/arch/hppa/dev/ssiovar.h |
| Source file: ./sys/arch/hppa/dev/elroyreg.h |
| Source file: ./sys/arch/hppa/dev/phantomas.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| phantomasmatch |
|
3 |
8 |
52 |
3 |
| phantomasattach |
|
1 |
8 |
57 |
3 |
| Source file: ./sys/arch/hppa/dev/lpt_ssio.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| lpt_ssio_match |
|
4 |
10 |
75 |
3 |
| lpt_ssio_attach |
|
2 |
14 |
103 |
3 |
| Source file: ./sys/arch/hppa/dev/viper.h |
| Source file: ./sys/arch/hppa/dev/cpudevs_data.h |
| Source file: ./sys/arch/hppa/dev/mongoosereg.h |
| Source file: ./sys/arch/hppa/dev/apic.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| apic_write |
|
1 |
6 |
50 |
3 |
| apic_read |
|
1 |
5 |
38 |
2 |
| apic_attach |
|
3 |
15 |
102 |
1 |
| apic_intr_map |
|
3 |
16 |
127 |
2 |
| apic_intr_string |
|
1 |
7 |
42 |
2 |
| apic_intr_establish |
|
10 |
53 |
411 |
6 |
| apic_intr_disestablish |
|
1 |
3 |
12 |
2 |
| apic_intr |
|
5 |
19 |
121 |
1 |
| apic_get_int_tbl |
|
5 |
21 |
159 |
1 |
| apic_get_int_ent0 |
|
10 |
41 |
217 |
2 |
| apic_dump |
|
3 |
17 |
185 |
1 |
| Source file: ./sys/arch/hppa/dev/lcd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| lcd_match |
|
2 |
7 |
47 |
3 |
| lcd_attach |
|
4 |
28 |
223 |
3 |
| lcd_mountroot |
|
1 |
9 |
80 |
1 |
| lcd_write |
|
2 |
7 |
45 |
2 |
| lcd_blink |
|
1 |
7 |
67 |
2 |
| lcd_blink_finish |
|
2 |
10 |
58 |
1 |
| Source file: ./sys/arch/hppa/dev/ssio.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ssio_match |
|
6 |
24 |
209 |
3 |
| ssio_attach |
|
9 |
82 |
724 |
3 |
| ssio_intr |
|
4 |
21 |
168 |
1 |
| ssio_intr_establish |
|
4 |
11 |
81 |
5 |
| ssio_print |
|
5 |
12 |
77 |
2 |
| Source file: ./sys/arch/hppa/dev/sti_sgc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sti_sgc_getrom |
|
8 |
21 |
120 |
2 |
| sti_sgc_probe |
|
19 |
60 |
439 |
3 |
| sti_sgc_attach |
|
8 |
30 |
242 |
3 |
| Source file: ./sys/arch/hppa/dev/power.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| powermatch |
|
3 |
8 |
59 |
3 |
| powerattach |
|
8 |
29 |
163 |
3 |
| power_intr |
|
1 |
6 |
26 |
1 |
| power_thread_create |
|
2 |
7 |
42 |
1 |
| power_thread_dr |
|
4 |
15 |
78 |
1 |
| power_thread_reg |
|
3 |
12 |
70 |
1 |
| power_cold_hook_reg |
|
2 |
9 |
49 |
1 |
| Source file: ./sys/arch/hppa/dev/clock.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cpu_initclocks |
|
1 |
12 |
70 |
1 |
| cpu_hardclock |
|
9 |
29 |
187 |
1 |
| inittodr |
|
7 |
27 |
190 |
1 |
| resettodr |
|
3 |
11 |
60 |
0 |
| setstatclockrate |
|
1 |
3 |
7 |
1 |
| itmr_get_timecount |
|
1 |
6 |
24 |
1 |
| Source file: ./sys/arch/hppa/dev/astro.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| astro_match |
|
5 |
11 |
69 |
3 |
| astro_attach |
|
6 |
67 |
562 |
3 |
| iommu_dvmamap_create |
|
3 |
21 |
133 |
7 |
| iommu_dvmamap_destroy |
|
3 |
10 |
59 |
2 |
| iommu_iomap_load_map |
|
7 |
51 |
387 |
3 |
| iommu_dvmamap_load |
|
2 |
10 |
74 |
6 |
| iommu_dvmamap_load_mbuf |
|
2 |
9 |
63 |
4 |
| iommu_dvmamap_load_uio |
|
1 |
6 |
47 |
4 |
| iommu_dvmamap_load_raw |
|
1 |
7 |
56 |
6 |
| iommu_dvmamap_unload |
|
3 |
20 |
154 |
2 |
| iommu_dvmamap_sync |
|
1 |
4 |
20 |
5 |
| iommu_dvmamem_alloc |
|
1 |
8 |
62 |
8 |
| iommu_dvmamem_free |
|
1 |
5 |
33 |
3 |
| iommu_dvmamem_map |
|
1 |
6 |
52 |
6 |
| iommu_dvmamem_unmap |
|
1 |
5 |
32 |
3 |
| iommu_dvmamem_mmap |
|
1 |
6 |
51 |
6 |
| iomap_compare |
|
3 |
5 |
44 |
2 |
| iommu_iomap_create |
|
3 |
14 |
95 |
1 |
| iommu_iomap_destroy |
|
3 |
7 |
39 |
1 |
| iommu_iomap_insert_page |
|
4 |
21 |
140 |
3 |
| iommu_iomap_translate |
|
2 |
14 |
89 |
2 |
| iommu_iomap_clear_pages |
|
1 |
5 |
27 |
1 |
| iommu_enter |
|
4 |
21 |
162 |
5 |
| iommu_remove |
|
5 |
19 |
130 |
2 |
| Source file: ./sys/arch/hppa/dev/lasi.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| lasimatch |
|
3 |
11 |
55 |
3 |
| lasiattach |
|
32 |
93 |
635 |
3 |
| lasi_gsc_attach |
|
1 |
9 |
62 |
1 |
| lasi_cold_hook |
|
5 |
18 |
74 |
1 |
| Source file: ./sys/arch/hppa/dev/gecko.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| gecko_match |
|
5 |
11 |
75 |
3 |
| gecko_attach |
|
3 |
19 |
141 |
3 |
| Source file: ./sys/arch/hppa/dev/mongoose.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mg_eisa_attach_hook |
|
1 |
4 |
19 |
3 |
| mg_intr_map |
|
1 |
5 |
23 |
3 |
| mg_intr_string |
|
1 |
6 |
33 |
2 |
| mg_isa_attach_hook |
|
1 |
4 |
19 |
3 |
| mg_intr_establish |
|
13 |
36 |
251 |
7 |
| mg_intr_disestablish |
|
4 |
15 |
91 |
2 |
| mg_intr_check |
|
1 |
4 |
17 |
3 |
| mg_intr |
|
1 |
11 |
65 |
1 |
| mg_eisa_iomap |
|
3 |
11 |
85 |
5 |
| mg_eisa_memmap |
|
1 |
5 |
25 |
5 |
| mg_eisa_memunmap |
|
1 |
3 |
14 |
3 |
| mg_isa_barrier |
|
1 |
4 |
24 |
5 |
| mg_isa_r2 |
|
1 |
5 |
38 |
3 |
| mg_isa_r4 |
|
1 |
5 |
38 |
3 |
| mg_isa_w2 |
|
1 |
4 |
36 |
4 |
| mg_isa_w4 |
|
1 |
4 |
36 |
4 |
| mg_isa_rm_2 |
|
2 |
6 |
47 |
5 |
| mg_isa_rm_4 |
|
2 |
6 |
47 |
5 |
| mg_isa_wm_2 |
|
2 |
9 |
58 |
5 |
| mg_isa_wm_4 |
|
2 |
9 |
58 |
5 |
| mg_isa_sm_2 |
|
2 |
7 |
46 |
5 |
| mg_isa_sm_4 |
|
2 |
7 |
46 |
5 |
| mg_isa_rr_2 |
|
2 |
9 |
61 |
5 |
| mg_isa_rr_4 |
|
2 |
9 |
61 |
5 |
| mg_isa_wr_2 |
|
2 |
9 |
62 |
5 |
| mg_isa_wr_4 |
|
2 |
9 |
62 |
5 |
| mg_isa_sr_2 |
|
2 |
7 |
53 |
5 |
| mg_isa_sr_4 |
|
2 |
7 |
53 |
5 |
| mgattach_common |
|
3 |
72 |
671 |
1 |
| mgprint |
|
2 |
9 |
44 |
2 |
| mgmatch_gedoens |
|
5 |
17 |
104 |
3 |
| mgattach_gedoens |
|
4 |
29 |
214 |
3 |
| Source file: ./sys/arch/hppa/dev/uturn.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| uturnmatch |
|
5 |
14 |
75 |
3 |
| uturnattach |
|
10 |
36 |
223 |
3 |
| Source file: ./sys/arch/hppa/dev/dino.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dinomatch |
|
4 |
13 |
73 |
3 |
| dino_attach_hook |
|
1 |
4 |
19 |
3 |
| dino_maxdevs |
|
1 |
4 |
16 |
2 |
| dino_make_tag |
|
4 |
6 |
60 |
4 |
| dino_decompose_tag |
|
4 |
9 |
71 |
5 |
| dino_conf_size |
|
1 |
4 |
14 |
2 |
| dino_conf_read |
|
1 |
13 |
77 |
3 |
| dino_conf_write |
|
1 |
14 |
89 |
4 |
| dino_intr_map |
|
2 |
11 |
70 |
2 |
| dino_intr_string |
|
1 |
6 |
34 |
2 |
| dino_intr_establish |
|
5 |
16 |
140 |
6 |
| dino_intr_disestablish |
|
2 |
7 |
54 |
2 |
| dino_iomap |
|
3 |
11 |
69 |
5 |
| dino_memmap |
|
12 |
48 |
245 |
5 |
| dino_subregion |
|
1 |
6 |
33 |
5 |
| dino_ioalloc |
|
6 |
19 |
131 |
9 |
| dino_memalloc |
|
4 |
20 |
142 |
9 |
| dino_unmap |
|
3 |
14 |
73 |
3 |
| dino_free |
|
1 |
4 |
23 |
3 |
| dino_barrier |
|
1 |
4 |
24 |
5 |
| dino_alloc_parent |
|
6 |
42 |
272 |
3 |
| dino_vaddr |
|
2 |
7 |
32 |
2 |
| dino_r1 |
|
2 |
14 |
88 |
3 |
| dino_r2 |
|
3 |
16 |
94 |
3 |
| dino_r4 |
|
2 |
14 |
77 |
3 |
| dino_r8 |
|
2 |
10 |
51 |
3 |
| dino_w1 |
|
2 |
12 |
84 |
4 |
| dino_w2 |
|
3 |
16 |
96 |
4 |
| dino_w4 |
|
2 |
13 |
76 |
4 |
| dino_w8 |
|
2 |
8 |
46 |
4 |
| dino_rm_1 |
|
3 |
15 |
101 |
5 |
| dino_rm_2 |
|
4 |
17 |
107 |
5 |
| dino_rm_4 |
|
3 |
15 |
98 |
5 |
| dino_rm_8 |
|
1 |
4 |
26 |
5 |
| dino_wm_1 |
|
3 |
15 |
102 |
5 |
| dino_wm_2 |
|
4 |
17 |
108 |
5 |
| dino_wm_4 |
|
3 |
15 |
99 |
5 |
| dino_wm_8 |
|
1 |
4 |
27 |
5 |
| dino_sm_1 |
|
3 |
15 |
98 |
5 |
| dino_sm_2 |
|
4 |
18 |
108 |
5 |
| dino_sm_4 |
|
3 |
16 |
99 |
5 |
| dino_sm_8 |
|
1 |
4 |
25 |
5 |
| dino_rrm_2 |
|
4 |
19 |
117 |
5 |
| dino_rrm_4 |
|
3 |
17 |
108 |
5 |
| dino_rrm_8 |
|
1 |
5 |
26 |
5 |
| dino_wrm_2 |
|
4 |
20 |
121 |
5 |
| dino_wrm_4 |
|
3 |
18 |
112 |
5 |
| dino_wrm_8 |
|
1 |
5 |
27 |
5 |
| dino_rr_1 |
|
4 |
18 |
122 |
5 |
| dino_rr_2 |
|
5 |
23 |
144 |
5 |
| dino_rr_4 |
|
4 |
20 |
124 |
5 |
| dino_rr_8 |
|
1 |
4 |
26 |
5 |
| dino_wr_1 |
|
4 |
18 |
123 |
5 |
| dino_wr_2 |
|
5 |
23 |
145 |
5 |
| dino_wr_4 |
|
4 |
20 |
125 |
5 |
| dino_wr_8 |
|
1 |
4 |
27 |
5 |
| dino_rrr_2 |
|
5 |
22 |
139 |
5 |
| dino_rrr_4 |
|
4 |
19 |
119 |
5 |
| dino_rrr_8 |
|
1 |
5 |
26 |
5 |
| dino_wrr_2 |
|
5 |
23 |
142 |
5 |
| dino_wrr_4 |
|
4 |
20 |
122 |
5 |
| dino_wrr_8 |
|
1 |
5 |
27 |
5 |
| dino_sr_1 |
|
4 |
18 |
117 |
5 |
| dino_sr_2 |
|
5 |
21 |
128 |
5 |
| dino_sr_4 |
|
4 |
18 |
108 |
5 |
| dino_sr_8 |
|
1 |
4 |
25 |
5 |
| dino_cp_1 |
|
2 |
6 |
48 |
6 |
| dino_cp_2 |
|
2 |
9 |
56 |
6 |
| dino_cp_4 |
|
2 |
9 |
56 |
6 |
| dino_cp_8 |
|
2 |
9 |
56 |
6 |
| dino_dmamap_create |
|
1 |
7 |
56 |
7 |
| dino_dmamap_destroy |
|
1 |
5 |
27 |
2 |
| dino_dmamap_load |
|
1 |
6 |
53 |
6 |
| dino_dmamap_load_mbuf |
|
1 |
5 |
42 |
4 |
| dino_dmamap_load_uio |
|
1 |
5 |
42 |
4 |
| dino_dmamap_load_raw |
|
1 |
6 |
51 |
6 |
| dino_dmamap_unload |
|
1 |
5 |
27 |
2 |
| dino_dmamap_sync |
|
1 |
6 |
45 |
5 |
| dino_dmamem_alloc |
|
1 |
8 |
62 |
8 |
| dino_dmamem_free |
|
1 |
5 |
33 |
3 |
| dino_dmamem_map |
|
1 |
6 |
52 |
6 |
| dino_dmamem_unmap |
|
1 |
5 |
32 |
3 |
| dino_dmamem_mmap |
|
1 |
6 |
51 |
6 |
| dinoprint |
|
2 |
7 |
40 |
2 |
| dinoattach |
|
16 |
110 |
808 |
3 |
| dino_clear_pdc_mappings |
|
2 |
10 |
52 |
1 |
| Source file: ./sys/arch/hppa/dev/cpudevs.h |
| Source file: ./sys/arch/hppa/dev/mongoosevar.h |
| Source file: ./sys/arch/hppa/hppa/disksubr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| readdisklabel |
|
9 |
29 |
181 |
4 |
| readliflabel |
|
23 |
99 |
714 |
5 |
| writedisklabel |
|
5 |
35 |
261 |
3 |
| Source file: ./sys/arch/hppa/hppa/autoconf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| heartbeat |
|
5 |
27 |
196 |
1 |
| dumpconf |
|
6 |
18 |
101 |
1 |
| print_devpath |
|
5 |
13 |
135 |
2 |
| pdc_scanbus |
|
35 |
114 |
923 |
5 |
| hppa_mod_info |
|
5 |
13 |
89 |
2 |
| device_register |
|
25 |
61 |
344 |
2 |
| cpu_configure |
|
4 |
13 |
65 |
1 |
| diskconf |
|
3 |
8 |
42 |
1 |
| Source file: ./sys/arch/hppa/hppa/lock_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __cpu_cas |
|
3 |
21 |
121 |
4 |
| ___mp_lock_init |
|
1 |
9 |
57 |
1 |
| __mp_lock_spin |
|
5 |
12 |
62 |
1 |
| ___mp_lock |
|
6 |
22 |
140 |
1 |
| ___mp_unlock |
|
4 |
17 |
101 |
1 |
| ___mp_release_all |
|
6 |
19 |
120 |
1 |
| ___mp_release_all_but_one |
|
6 |
14 |
92 |
1 |
| ___mp_acquire_count |
|
2 |
5 |
24 |
2 |
| __mp_lock_held |
|
1 |
4 |
21 |
2 |
| Source file: ./sys/arch/hppa/hppa/sys_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sys_sysarch |
|
1 |
15 |
59 |
3 |
| Source file: ./sys/arch/hppa/dev/pdc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pdc_init |
|
8 |
36 |
325 |
0 |
| pdcmatch |
|
3 |
11 |
61 |
3 |
| pdcattach |
|
2 |
11 |
62 |
3 |
| pdcopen |
|
9 |
41 |
271 |
4 |
| pdcclose |
|
3 |
16 |
108 |
4 |
| pdcread |
|
3 |
13 |
91 |
3 |
| pdcwrite |
|
3 |
13 |
91 |
3 |
| pdcioctl |
|
5 |
22 |
143 |
5 |
| pdcparam |
|
1 |
6 |
21 |
2 |
| pdcstart |
|
3 |
16 |
88 |
1 |
| pdcstop |
|
3 |
12 |
59 |
2 |
| pdctimeout |
|
3 |
12 |
78 |
1 |
| pdctty |
|
3 |
9 |
51 |
1 |
| pdccnlookc |
|
3 |
15 |
96 |
2 |
| pdccngetc |
|
3 |
10 |
37 |
1 |
| pdccnputc |
|
3 |
14 |
83 |
2 |
| Source file: ./sys/arch/hppa/hppa/conf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| iszerodev |
|
2 |
5 |
26 |
1 |
| getnulldev |
|
1 |
4 |
13 |
0 |
| iskmemdev |
|
2 |
5 |
26 |
1 |
| Source file: ./sys/arch/hppa/hppa/mem.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| memmatch |
|
3 |
8 |
48 |
3 |
| memattach |
|
27 |
73 |
471 |
3 |
| viper_setintrwnd |
|
2 |
7 |
35 |
1 |
| viper_eisa_en |
|
2 |
16 |
80 |
1 |
| mmopen |
|
7 |
17 |
72 |
4 |
| mmclose |
|
1 |
4 |
23 |
4 |
| mmrw |
|
16 |
58 |
344 |
3 |
| mmmmap |
|
5 |
9 |
57 |
3 |
| mmioctl |
|
1 |
4 |
26 |
5 |
| Source file: ./sys/arch/hppa/hppa/process_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| process_read_regs |
|
1 |
52 |
500 |
2 |
| process_read_fpregs |
|
1 |
6 |
44 |
2 |
| process_write_regs |
|
1 |
39 |
399 |
2 |
| process_write_fpregs |
|
1 |
6 |
44 |
2 |
| process_set_pc |
|
1 |
6 |
50 |
2 |
| Source file: ./sys/arch/hppa/hppa/vm_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cpu_fork |
|
5 |
49 |
535 |
6 |
| cpu_exit |
|
1 |
8 |
46 |
1 |
| vmapbuf |
|
5 |
25 |
181 |
2 |
| vunmapbuf |
|
3 |
14 |
103 |
2 |
| Source file: ./sys/arch/hppa/hppa/intr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| splassert_check |
|
2 |
6 |
40 |
2 |
| cpu_intr_init |
|
5 |
36 |
260 |
1 |
| cpu_intr_findirq |
|
4 |
9 |
49 |
1 |
| cpu_intr_map |
|
6 |
33 |
236 |
6 |
| cpu_intr_establish |
|
9 |
40 |
324 |
5 |
| cpu_intr |
|
17 |
49 |
328 |
1 |
| intr_barrier |
|
1 |
4 |
13 |
1 |
| softintr_establish |
|
7 |
32 |
219 |
3 |
| softintr_disestablish |
|
5 |
26 |
158 |
1 |
| softintr_schedule |
|
1 |
5 |
36 |
1 |
| Source file: ./sys/arch/hppa/hppa/db_interface.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| db_enter |
|
2 |
7 |
30 |
1 |
| db_read_bytes |
|
2 |
6 |
38 |
3 |
| db_write_bytes |
|
2 |
8 |
62 |
3 |
| kdbprinttrap |
|
3 |
10 |
54 |
2 |
| db_ktrap |
|
6 |
28 |
121 |
3 |
| db_valid_breakpoint |
|
1 |
4 |
12 |
1 |
| db_stack_trace_print |
|
17 |
64 |
480 |
5 |
| db_save_stack_trace |
|
4 |
16 |
108 |
1 |
| Source file: ./sys/arch/hppa/hppa/mutex.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __mtx_init |
|
2 |
10 |
66 |
2 |
| __mtx_enter |
|
2 |
5 |
19 |
1 |
| __mtx_enter_try |
|
8 |
27 |
148 |
1 |
| __mtx_enter |
|
5 |
10 |
66 |
1 |
| __mtx_enter_try |
|
1 |
5 |
19 |
1 |
| __mtx_leave |
|
5 |
13 |
68 |
1 |
| Source file: ./sys/arch/hppa/hppa/machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| hppa_cpuspeed |
|
1 |
5 |
22 |
1 |
| hppa_init |
|
11 |
87 |
695 |
1 |
| cpuid |
|
45 |
151 |
966 |
0 |
| cpu_startup |
|
3 |
21 |
154 |
1 |
| delay_init |
|
4 |
18 |
96 |
1 |
| delay |
|
5 |
17 |
86 |
1 |
| fall |
|
4 |
10 |
61 |
5 |
| ficacheall |
|
1 |
6 |
31 |
1 |
| fdcacheall |
|
1 |
6 |
31 |
1 |
| ptlball |
|
7 |
25 |
178 |
1 |
| hpti_g |
|
1 |
5 |
34 |
2 |
| pbtlb_g |
|
1 |
4 |
11 |
1 |
| ibtlb_g |
|
3 |
9 |
71 |
6 |
| btlb_insert |
|
15 |
39 |
302 |
5 |
| boot |
|
12 |
53 |
282 |
1 |
| cpu_dumpsize |
|
2 |
8 |
51 |
1 |
| hpmc_dump |
|
1 |
5 |
15 |
1 |
| cpu_dump |
|
1 |
12 |
118 |
1 |
| dumpsys |
|
16 |
47 |
329 |
1 |
| kcopy |
|
1 |
4 |
30 |
3 |
| copystr |
|
1 |
4 |
36 |
4 |
| copyinstr |
|
1 |
5 |
42 |
4 |
| copyoutstr |
|
1 |
5 |
42 |
4 |
| copyin |
|
1 |
5 |
36 |
3 |
| copyout |
|
1 |
5 |
36 |
3 |
| copyin32 |
|
1 |
5 |
31 |
2 |
| setstack |
|
2 |
10 |
82 |
3 |
| setregs |
|
1 |
30 |
316 |
4 |
| sendsig |
|
9 |
82 |
805 |
6 |
| sys_sigreturn |
|
7 |
71 |
696 |
3 |
| signotify |
|
1 |
5 |
21 |
1 |
| cpu_sysctl |
|
9 |
35 |
215 |
7 |
| consinit |
|
1 |
3 |
6 |
1 |
| blink_led_register |
|
3 |
10 |
66 |
1 |
| blink_led_timeout |
|
3 |
16 |
117 |
1 |
| Source file: ./sys/arch/hppa/hppa/in_cksum.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| in_cksum |
|
14 |
40 |
212 |
2 |
| Source file: ./sys/arch/hppa/hppa/wscons_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wscnprobe |
|
1 |
3 |
9 |
1 |
| wscninit |
|
1 |
3 |
9 |
1 |
| wscnputc |
|
2 |
4 |
17 |
2 |
| wscngetc |
|
2 |
5 |
20 |
1 |
| wscnpollc |
|
2 |
4 |
17 |
2 |
| Source file: ./sys/arch/hppa/hppa/fpu.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fpu_proc_flush |
|
1 |
4 |
16 |
1 |
| fpu_proc_save |
|
1 |
4 |
16 |
1 |
| fpu_proc |
|
9 |
23 |
159 |
2 |
| fpu_cpu_save |
|
6 |
24 |
141 |
1 |
| Source file: ./sys/arch/hppa/hppa/ipi.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| hppa_ipi_init |
|
1 |
5 |
30 |
1 |
| hppa_ipi_intr |
|
3 |
17 |
95 |
1 |
| hppa_ipi_send |
|
2 |
14 |
99 |
2 |
| hppa_ipi_broadcast |
|
4 |
11 |
57 |
1 |
| hppa_ipi_nop |
|
1 |
3 |
6 |
1 |
| hppa_ipi_halt |
|
2 |
7 |
28 |
1 |
| hppa_ipi_fpu_save |
|
1 |
4 |
11 |
1 |
| hppa_ipi_fpu_flush |
|
1 |
4 |
11 |
1 |
| Source file: ./sys/arch/hppa/dev/elroy.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| elroy_match |
|
6 |
10 |
78 |
3 |
| elroy_write32 |
|
1 |
4 |
17 |
2 |
| elroy_read32 |
|
1 |
4 |
13 |
1 |
| elroy_attach_hook |
|
1 |
4 |
19 |
3 |
| elroy_maxdevs |
|
1 |
4 |
16 |
2 |
| elroy_make_tag |
|
4 |
6 |
60 |
4 |
| elroy_decompose_tag |
|
4 |
9 |
71 |
5 |
| elroy_conf_size |
|
1 |
4 |
14 |
2 |
| elroy_conf_read |
|
3 |
27 |
229 |
3 |
| elroy_conf_write |
|
3 |
29 |
266 |
4 |
| elroy_iomap |
|
2 |
10 |
66 |
5 |
| elroy_memmap |
|
2 |
9 |
62 |
5 |
| elroy_subregion |
|
1 |
6 |
33 |
5 |
| elroy_ioalloc |
|
4 |
18 |
142 |
9 |
| elroy_memalloc |
|
2 |
10 |
76 |
9 |
| elroy_unmap |
|
1 |
5 |
32 |
3 |
| elroy_free |
|
1 |
4 |
23 |
3 |
| elroy_barrier |
|
2 |
11 |
62 |
5 |
| elroy_alloc_parent |
|
7 |
43 |
277 |
3 |
| elroy_vaddr |
|
1 |
4 |
20 |
2 |
| elroy_r1 |
|
1 |
5 |
27 |
3 |
| elroy_r2 |
|
1 |
7 |
41 |
3 |
| elroy_r4 |
|
1 |
7 |
39 |
3 |
| elroy_r8 |
|
1 |
7 |
39 |
3 |
| elroy_w1 |
|
1 |
5 |
31 |
4 |
| elroy_w2 |
|
1 |
7 |
43 |
4 |
| elroy_w4 |
|
1 |
6 |
38 |
4 |
| elroy_w8 |
|
1 |
5 |
34 |
4 |
| elroy_rm_1 |
|
2 |
8 |
51 |
5 |
| elroy_rm_2 |
|
2 |
8 |
54 |
5 |
| elroy_rm_4 |
|
2 |
8 |
54 |
5 |
| elroy_rm_8 |
|
2 |
8 |
54 |
5 |
| elroy_wm_1 |
|
2 |
8 |
52 |
5 |
| elroy_wm_2 |
|
2 |
8 |
55 |
5 |
| elroy_wm_4 |
|
2 |
8 |
55 |
5 |
| elroy_wm_8 |
|
2 |
8 |
55 |
5 |
| elroy_sm_1 |
|
2 |
8 |
48 |
5 |
| elroy_sm_2 |
|
2 |
9 |
55 |
5 |
| elroy_sm_4 |
|
2 |
9 |
55 |
5 |
| elroy_sm_8 |
|
2 |
9 |
55 |
5 |
| elroy_rrm_2 |
|
2 |
10 |
64 |
5 |
| elroy_rrm_4 |
|
2 |
10 |
64 |
5 |
| elroy_rrm_8 |
|
2 |
10 |
64 |
5 |
| elroy_wrm_2 |
|
2 |
11 |
68 |
5 |
| elroy_wrm_4 |
|
2 |
11 |
68 |
5 |
| elroy_wrm_8 |
|
2 |
11 |
68 |
5 |
| elroy_rr_1 |
|
2 |
8 |
52 |
5 |
| elroy_rr_2 |
|
2 |
10 |
63 |
5 |
| elroy_rr_4 |
|
2 |
10 |
63 |
5 |
| elroy_rr_8 |
|
2 |
10 |
63 |
5 |
| elroy_wr_1 |
|
2 |
8 |
53 |
5 |
| elroy_wr_2 |
|
2 |
10 |
64 |
5 |
| elroy_wr_4 |
|
2 |
10 |
64 |
5 |
| elroy_wr_8 |
|
2 |
10 |
64 |
5 |
| elroy_rrr_2 |
|
2 |
10 |
65 |
5 |
| elroy_rrr_4 |
|
2 |
10 |
65 |
5 |
| elroy_rrr_8 |
|
2 |
10 |
65 |
5 |
| elroy_wrr_2 |
|
2 |
11 |
68 |
5 |
| elroy_wrr_4 |
|
2 |
11 |
68 |
5 |
| elroy_wrr_8 |
|
2 |
11 |
68 |
5 |
| elroy_sr_1 |
|
2 |
8 |
49 |
5 |
| elroy_sr_2 |
|
2 |
9 |
56 |
5 |
| elroy_sr_4 |
|
2 |
9 |
56 |
5 |
| elroy_sr_8 |
|
2 |
9 |
56 |
5 |
| elroy_cp_1 |
|
2 |
6 |
48 |
6 |
| elroy_cp_2 |
|
2 |
9 |
56 |
6 |
| elroy_cp_4 |
|
2 |
9 |
56 |
6 |
| elroy_cp_8 |
|
2 |
9 |
56 |
6 |
| elroy_dmamap_create |
|
1 |
7 |
56 |
7 |
| elroy_dmamap_destroy |
|
1 |
5 |
27 |
2 |
| elroy_dmamap_load |
|
1 |
6 |
53 |
6 |
| elroy_dmamap_load_mbuf |
|
1 |
5 |
42 |
4 |
| elroy_dmamap_load_uio |
|
1 |
5 |
42 |
4 |
| elroy_dmamap_load_raw |
|
1 |
6 |
51 |
6 |
| elroy_dmamap_unload |
|
1 |
5 |
27 |
2 |
| elroy_dmamap_sync |
|
1 |
6 |
42 |
5 |
| elroy_dmamem_alloc |
|
1 |
8 |
62 |
8 |
| elroy_dmamem_free |
|
1 |
5 |
33 |
3 |
| elroy_dmamem_map |
|
1 |
6 |
52 |
6 |
| elroy_dmamem_unmap |
|
1 |
5 |
32 |
3 |
| elroy_dmamem_mmap |
|
1 |
6 |
51 |
6 |
| elroy_print |
|
2 |
7 |
40 |
2 |
| elroy_attach |
|
15 |
89 |
712 |
3 |
| Source file: ./sys/arch/hppa/hppa/mainbus.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mbus_add_mapping |
|
20 |
64 |
411 |
4 |
| mbus_map |
|
4 |
15 |
97 |
5 |
| mbus_unmap |
|
5 |
17 |
99 |
3 |
| mbus_alloc |
|
6 |
21 |
150 |
9 |
| mbus_free |
|
1 |
4 |
23 |
3 |
| mbus_subregion |
|
1 |
6 |
33 |
5 |
| mbus_barrier |
|
1 |
4 |
24 |
5 |
| mbus_vaddr |
|
1 |
4 |
20 |
2 |
| mbus_r1 |
|
1 |
4 |
29 |
3 |
| mbus_r2 |
|
1 |
4 |
29 |
3 |
| mbus_r4 |
|
1 |
4 |
29 |
3 |
| mbus_r8 |
|
1 |
4 |
29 |
3 |
| mbus_w1 |
|
1 |
4 |
33 |
4 |
| mbus_w2 |
|
1 |
4 |
33 |
4 |
| mbus_w4 |
|
1 |
4 |
33 |
4 |
| mbus_w8 |
|
1 |
4 |
33 |
4 |
| mbus_rm_1 |
|
2 |
6 |
44 |
5 |
| mbus_rm_2 |
|
2 |
6 |
44 |
5 |
| mbus_rm_4 |
|
2 |
6 |
44 |
5 |
| mbus_rm_8 |
|
2 |
6 |
44 |
5 |
| mbus_wm_1 |
|
2 |
6 |
45 |
5 |
| mbus_wm_2 |
|
2 |
6 |
45 |
5 |
| mbus_wm_4 |
|
2 |
6 |
45 |
5 |
| mbus_wm_8 |
|
2 |
6 |
45 |
5 |
| mbus_sm_1 |
|
2 |
6 |
39 |
5 |
| mbus_sm_2 |
|
2 |
6 |
39 |
5 |
| mbus_sm_4 |
|
2 |
6 |
39 |
5 |
| mbus_sm_8 |
|
2 |
6 |
39 |
5 |
| mbus_rr_1 |
|
2 |
6 |
49 |
5 |
| mbus_rr_2 |
|
2 |
6 |
49 |
5 |
| mbus_rr_4 |
|
2 |
6 |
49 |
5 |
| mbus_rr_8 |
|
2 |
6 |
49 |
5 |
| mbus_wr_1 |
|
2 |
6 |
50 |
5 |
| mbus_wr_2 |
|
2 |
6 |
50 |
5 |
| mbus_wr_4 |
|
2 |
6 |
50 |
5 |
| mbus_wr_8 |
|
2 |
6 |
50 |
5 |
| mbus_sr_1 |
|
2 |
6 |
46 |
5 |
| mbus_sr_2 |
|
2 |
6 |
46 |
5 |
| mbus_sr_4 |
|
2 |
6 |
46 |
5 |
| mbus_sr_8 |
|
2 |
6 |
46 |
5 |
| mbus_cp_1 |
|
2 |
8 |
66 |
6 |
| mbus_cp_2 |
|
2 |
8 |
66 |
6 |
| mbus_cp_4 |
|
2 |
8 |
66 |
6 |
| mbus_cp_8 |
|
2 |
8 |
66 |
6 |
| mbus_dmamap_create |
|
3 |
22 |
151 |
7 |
| mbus_dmamap_unload |
|
1 |
5 |
23 |
2 |
| mbus_dmamap_destroy |
|
2 |
6 |
35 |
2 |
| _bus_dmamap_load_buffer |
|
13 |
53 |
378 |
9 |
| mbus_dmamap_load |
|
3 |
19 |
119 |
6 |
| mbus_dmamap_load_mbuf |
|
8 |
28 |
192 |
4 |
| mbus_dmamap_load_uio |
|
10 |
37 |
250 |
4 |
| mbus_dmamap_load_raw |
|
7 |
21 |
172 |
6 |
| mbus_dmamap_sync |
|
7 |
23 |
147 |
5 |
| mbus_dmamem_alloc |
|
5 |
24 |
183 |
8 |
| mbus_dmamem_free |
|
4 |
18 |
124 |
3 |
| mbus_dmamem_map |
|
1 |
6 |
41 |
6 |
| mbus_dmamem_unmap |
|
1 |
3 |
14 |
3 |
| mbus_dmamem_mmap |
|
1 |
5 |
29 |
6 |
| mbmatch |
|
2 |
10 |
42 |
3 |
| mbattach |
|
28 |
83 |
602 |
3 |
| cpu_gethpa |
|
1 |
7 |
28 |
1 |
| mbprint |
|
6 |
18 |
115 |
2 |
| mbsubmatch |
|
7 |
17 |
135 |
3 |
| Source file: ./sys/arch/hppa/hppa/trap.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| inst_store |
|
4 |
6 |
40 |
1 |
| ast |
|
2 |
8 |
43 |
1 |
| trap |
|
140 |
374 |
2129 |
2 |
| child_return |
|
1 |
11 |
63 |
1 |
| ss_get_value |
|
1 |
15 |
108 |
3 |
| ss_put_value |
|
1 |
15 |
108 |
3 |
| ss_clear_breakpoints |
|
2 |
8 |
71 |
1 |
| process_sstep |
|
8 |
30 |
250 |
2 |
| syscall |
|
27 |
111 |
684 |
1 |
| pcxs_unaligned |
|
17 |
50 |
234 |
2 |
| Source file: ./sys/arch/hppa/include/kcore.h |
| Source file: ./sys/arch/hppa/include/profile.h |
| Source file: ./sys/arch/hppa/include/disklabel.h |
| Source file: ./sys/arch/hppa/include/vmparam.h |
| Source file: ./sys/arch/hppa/include/lock.h |
| Source file: ./sys/arch/hppa/include/_float.h |
| Source file: ./sys/arch/hppa/include/nvm.h |
| Source file: ./sys/arch/hppa/include/exec.h |
| Source file: ./sys/arch/hppa/include/spinlock.h |
| Source file: ./sys/arch/hppa/include/tcb.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __hppa_get_tcb |
|
1 |
6 |
23 |
1 |
| Source file: ./sys/arch/hppa/include/pmap.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pmap_prefer |
|
2 |
7 |
38 |
2 |
| pmap_prot |
|
2 |
5 |
38 |
2 |
| pmap_page_protect |
|
3 |
9 |
52 |
2 |
| pmap_protect |
|
3 |
9 |
61 |
4 |
| Source file: ./sys/arch/hppa/include/iomod.h |
| Source file: ./sys/arch/hppa/include/stdarg.h |
| Source file: ./sys/arch/hppa/include/pte.h |
| Source file: ./sys/arch/hppa/include/ieee.h |
| Source file: ./sys/arch/hppa/include/loadfile_machdep.h |
| Source file: ./sys/arch/hppa/include/_types.h |
| Source file: ./sys/arch/hppa/include/fenv.h |
| Source file: ./sys/arch/hppa/include/ieeefp.h |
| Source file: ./sys/arch/hppa/include/mutex.h |
| Source file: ./sys/arch/hppa/hppa/pmap.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pmap_lock |
|
2 |
5 |
25 |
1 |
| pmap_unlock |
|
2 |
5 |
25 |
1 |
| pmap_pagealloc |
|
2 |
8 |
48 |
2 |
| pmap_hash |
|
1 |
5 |
48 |
2 |
| pmap_vtag |
|
1 |
5 |
36 |
2 |
| pmap_sdir_set |
|
3 |
8 |
44 |
2 |
| pmap_sdir_get |
|
1 |
6 |
30 |
1 |
| pmap_pde_get |
|
1 |
4 |
27 |
2 |
| pmap_pde_set |
|
3 |
8 |
57 |
3 |
| pmap_pde_alloc |
|
4 |
30 |
195 |
3 |
| pmap_pde_ptp |
|
3 |
9 |
80 |
2 |
| pmap_pde_release |
|
6 |
23 |
156 |
3 |
| pmap_pte_get |
|
1 |
4 |
27 |
2 |
| pmap_pte_set |
|
4 |
10 |
72 |
3 |
| pmap_pte_flush |
|
5 |
16 |
115 |
3 |
| pmap_vp_find |
|
2 |
7 |
48 |
2 |
| pmap_dump_table |
|
10 |
29 |
191 |
2 |
| pmap_dump_pv |
|
3 |
10 |
65 |
1 |
| pmap_check_alias |
|
5 |
18 |
129 |
3 |
| pmap_pv_alloc |
|
1 |
8 |
50 |
1 |
| pmap_pv_free |
|
2 |
6 |
38 |
1 |
| pmap_pv_enter |
|
1 |
13 |
104 |
5 |
| pmap_pv_remove |
|
4 |
13 |
108 |
3 |
| pmap_bootstrap |
|
18 |
112 |
862 |
1 |
| pmap_init |
|
2 |
20 |
158 |
1 |
| pmap_virtual_space |
|
1 |
5 |
24 |
2 |
| pmap_create |
|
3 |
21 |
176 |
1 |
| pmap_destroy |
|
2 |
17 |
118 |
1 |
| pmap_reference |
|
1 |
5 |
32 |
1 |
| pmap_collect |
|
1 |
4 |
22 |
1 |
| pmap_enter |
|
20 |
77 |
560 |
5 |
| pmap_remove |
|
12 |
49 |
332 |
3 |
| pmap_write_protect |
|
7 |
39 |
271 |
4 |
| pmap_page_remove |
|
4 |
34 |
242 |
1 |
| pmap_unwire |
|
5 |
19 |
130 |
2 |
| pmap_changebit |
|
6 |
33 |
227 |
3 |
| pmap_testbit |
|
3 |
16 |
132 |
2 |
| pmap_extract |
|
3 |
12 |
78 |
3 |
| pmap_activate |
|
1 |
6 |
42 |
1 |
| pmap_deactivate |
|
1 |
3 |
9 |
1 |
| pmap_flush_page |
|
3 |
15 |
133 |
2 |
| pmap_zero_page |
|
1 |
9 |
64 |
1 |
| pmap_copy_page |
|
1 |
13 |
108 |
2 |
| pmap_kenter_pa |
|
7 |
28 |
217 |
3 |
| pmap_kremove |
|
10 |
37 |
271 |
2 |
| pmap_proc_iflush |
|
1 |
8 |
58 |
3 |
| pmap_unmap_direct |
|
1 |
6 |
31 |
1 |
| Source file: ./sys/arch/hppa/include/cdefs.h |
| Source file: ./sys/arch/hppa/include/rbus_machdep.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| md_space_map |
|
2 |
7 |
36 |
5 |
| Source file: ./sys/arch/hppa/include/endian.h |
| Source file: ./sys/arch/hppa/include/cpufunc.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ldsid |
|
1 |
5 |
29 |
1 |
| mtsm |
|
1 |
6 |
30 |
1 |
| iitlba |
|
1 |
5 |
36 |
3 |
| idtlba |
|
1 |
5 |
36 |
3 |
| iitlbp |
|
1 |
5 |
36 |
3 |
| idtlbp |
|
1 |
5 |
36 |
3 |
| pitlb |
|
1 |
5 |
28 |
2 |
| pdtlb |
|
1 |
5 |
28 |
2 |
| pitlbe |
|
1 |
5 |
28 |
2 |
| pdtlbe |
|
1 |
5 |
28 |
2 |
| ledctl |
|
9 |
24 |
116 |
3 |
| Source file: ./sys/arch/hppa/include/varargs.h |
| Source file: ./sys/arch/hppa/include/pdc.h |
| Source file: ./sys/arch/hppa/include/frame.h |
| Source file: ./sys/arch/hppa/include/ptrace.h |
| Source file: ./sys/arch/hppa/include/isa_machdep.h |
| Source file: ./sys/arch/hppa/include/limits.h |
| Source file: ./sys/arch/hppa/include/cpu.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| curcpu |
|
1 |
6 |
25 |
1 |
| Source file: ./sys/arch/hppa/include/conf.h |
| Source file: ./sys/arch/hppa/include/intr.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| spllower |
|
1 |
10 |
58 |
1 |
| splraise |
|
2 |
9 |
50 |
1 |
| splx |
|
1 |
4 |
15 |
1 |
| hppa_intr_disable |
|
1 |
7 |
29 |
1 |
| hppa_intr_enable |
|
1 |
4 |
18 |
1 |
| Source file: ./sys/arch/hppa/include/psl.h |
| Source file: ./sys/arch/hppa/include/pci_machdep.h |
| Source file: ./sys/arch/hppa/include/proc.h |
| Source file: ./sys/arch/hppa/include/eisa_machdep.h |
| Source file: ./sys/arch/hppa/include/setjmp.h |
| Source file: ./sys/arch/hppa/include/atomic.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __cpu_simple_lock_init |
|
1 |
4 |
13 |
1 |
| __cpu_simple_lock_ldcws |
|
1 |
6 |
38 |
1 |
| __cpu_simple_lock_try |
|
1 |
4 |
18 |
1 |
| __cpu_simple_lock |
|
2 |
5 |
17 |
1 |
| __cpu_simple_unlock |
|
1 |
4 |
13 |
1 |
| atomic_enter |
|
1 |
8 |
33 |
1 |
| atomic_leave |
|
1 |
5 |
20 |
1 |
| _atomic_cas_uint |
|
2 |
11 |
57 |
3 |
| _atomic_cas_ulong |
|
2 |
11 |
57 |
3 |
| _atomic_cas_ptr |
|
2 |
12 |
70 |
3 |
| _atomic_swap_uint |
|
1 |
10 |
47 |
2 |
| _atomic_swap_ulong |
|
1 |
10 |
47 |
2 |
| _atomic_swap_ptr |
|
1 |
11 |
60 |
2 |
| _atomic_add_int_nv |
|
1 |
10 |
49 |
2 |
| _atomic_add_long_nv |
|
1 |
10 |
49 |
2 |
| atomic_setbits_int |
|
1 |
7 |
33 |
2 |
| atomic_clearbits_int |
|
1 |
7 |
33 |
2 |
| atomic_setbits_long |
|
1 |
7 |
33 |
2 |
| atomic_clearbits_long |
|
1 |
7 |
33 |
2 |
| __insn_barrier |
|
1 |
4 |
16 |
1 |
| Source file: ./sys/arch/hppa/include/pcb.h |
| Source file: ./sys/arch/hppa/include/mplock.h |
| Source file: ./sys/arch/hppa/include/reloc.h |
| Source file: ./sys/arch/hppa/include/autoconf.h |
| Source file: ./sys/arch/hppa/include/signal.h |
| Source file: ./sys/arch/hppa/include/db_machdep.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| inst_call |
|
3 |
5 |
32 |
1 |
| inst_branch |
|
4 |
6 |
40 |
1 |
| inst_return |
|
2 |
4 |
24 |
1 |
| inst_trap_return |
|
1 |
3 |
16 |
1 |
| next_instr_address |
|
1 |
3 |
17 |
2 |
| branch_taken1 |
|
1 |
3 |
19 |
3 |
| Source file: ./sys/arch/hppa/include/som.h |
| Source file: ./sys/arch/hppa/include/param.h |
| Source file: ./sys/arch/hppa/include/hil_machdep.h |
| Source file: ./sys/arch/hppa/include/reg.h |
| Source file: ./sys/arch/hppa/include/trap.h |
| Source file: ./sys/arch/hppa/include/fpu.h |
| Source file: ./sys/arch/hppa/include/bus.h |
| Source file: ./sys/arch/hppa/include/asm.h |
| Source file: ./sys/arch/hppa/gsc/osiop_gsc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| osiop_gsc_match |
|
3 |
10 |
53 |
3 |
| osiop_gsc_attach |
|
5 |
33 |
234 |
3 |
| osiop_gsc_intr |
|
4 |
18 |
113 |
1 |
| Source file: ./sys/arch/hppa/gsc/gscbus.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| gscmatch |
|
1 |
8 |
41 |
3 |
| gscattach |
|
4 |
16 |
126 |
3 |
| gscprint |
|
2 |
9 |
44 |
2 |
| gsc_intr_disestablish |
|
2 |
8 |
49 |
2 |
| Source file: ./sys/arch/hppa/gsc/siop_gsc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| siop_gsc_match |
|
3 |
8 |
48 |
3 |
| siop_gsc_attach |
|
2 |
35 |
339 |
3 |
| siop_gsc_reset |
|
1 |
8 |
74 |
1 |
| siop_gsc_r1 |
|
1 |
4 |
31 |
3 |
| siop_gsc_r2 |
|
2 |
10 |
70 |
3 |
| siop_gsc_w1 |
|
1 |
4 |
35 |
4 |
| siop_gsc_w2 |
|
1 |
4 |
35 |
4 |
| Source file: ./sys/arch/hppa/gsc/harmonyvar.h |
| Source file: ./sys/arch/hppa/gsc/arcofi_gsc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| arcofi_gsc_match |
|
4 |
9 |
58 |
3 |
| arcofi_gsc_attach |
|
4 |
23 |
183 |
3 |
| Source file: ./sys/arch/hppa/gsc/gscbusvar.h |
| Source file: ./sys/arch/hppa/gsc/hil_gsc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| hil_gsc_match |
|
3 |
8 |
52 |
3 |
| hil_gsc_attach |
|
3 |
18 |
167 |
3 |
| Source file: ./sys/arch/hppa/gsc/if_ie_gsc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ie_gsc_reset |
|
8 |
26 |
153 |
2 |
| ie_gsc_attend |
|
1 |
9 |
54 |
1 |
| ie_gsc_run |
|
1 |
4 |
11 |
1 |
| ie_gsc_port |
|
6 |
32 |
181 |
2 |
| ie_gsc_intrhook |
|
5 |
18 |
73 |
2 |
| ie_gsc_read16 |
|
1 |
8 |
49 |
2 |
| ie_gsc_write16 |
|
1 |
9 |
55 |
3 |
| ie_gsc_write24 |
|
1 |
11 |
90 |
3 |
| ie_gsc_memcopyin |
|
1 |
9 |
62 |
4 |
| ie_gsc_memcopyout |
|
1 |
9 |
63 |
4 |
| ie_gsc_probe |
|
4 |
11 |
63 |
3 |
| ie_gsc_attach |
|
14 |
77 |
593 |
3 |
| Source file: ./sys/arch/hppa/gsc/mongoose_gsc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mgmatch_gsc |
|
3 |
8 |
52 |
3 |
| mgattach_gsc |
|
4 |
26 |
213 |
3 |
| Source file: ./sys/arch/hppa/gsc/com_gsc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| com_gsc_probe |
|
5 |
12 |
75 |
3 |
| com_gsc_attach |
|
5 |
26 |
199 |
3 |
| Source file: ./sys/arch/hppa/gsc/oosiop_gsc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| oosiop_gsc_match |
|
3 |
10 |
53 |
3 |
| oosiop_gsc_attach |
|
5 |
34 |
240 |
3 |
| oosiop_gsc_intr |
|
2 |
9 |
41 |
1 |
| Source file: ./sys/arch/hppa/gsc/gsckbcreg.h |
| Source file: ./sys/arch/hppa/gsc/harmonyreg.h |
| Source file: ./sys/arch/hppa/gsc/fdc_gsc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fdc_gsc_probe |
|
4 |
16 |
106 |
3 |
| fdc_gsc_attach |
|
2 |
15 |
99 |
3 |
| Source file: ./sys/arch/hppa/gsc/lpt_gsc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| lpt_gsc_probe |
|
11 |
40 |
294 |
3 |
| lpt_gsc_attach |
|
2 |
18 |
129 |
3 |
| Source file: ./sys/arch/hppa/stand/boot/conf.c |
| Source file: ./sys/arch/hppa/stand/boot/exec.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| run_loadfile |
|
1 |
8 |
62 |
2 |
| Source file: ./sys/arch/hppa/stand/cdboot/cdboot.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| boot |
|
2 |
22 |
151 |
1 |
| Source file: ./sys/arch/hppa/stand/cdboot/elf64.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ELFNAME( exec) |
|
1 |
4 |
20 |
4 |
| Source file: ./sys/arch/hppa/stand/libsa/dev_hppa.h |
| Source file: ./sys/arch/hppa/gsc/gsckbc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| gsckbc_match |
|
6 |
17 |
128 |
3 |
| probe_readtmo |
|
8 |
36 |
267 |
3 |
| probe_readretry |
|
3 |
9 |
53 |
3 |
| probe_sendtmo |
|
4 |
14 |
87 |
3 |
| probe_sendack |
|
6 |
20 |
98 |
3 |
| probe_ident |
|
11 |
44 |
279 |
2 |
| gsckbc_attach |
|
11 |
50 |
377 |
3 |
| pckbc_wait_output |
|
3 |
13 |
60 |
2 |
| pckbc_send_cmd |
|
2 |
11 |
61 |
3 |
| pckbc_poll_data1 |
|
3 |
17 |
84 |
5 |
| pckbc_send_devcmd |
|
1 |
7 |
35 |
3 |
| pckbc_submatch |
|
3 |
12 |
83 |
3 |
| pckbc_attach_slot |
|
4 |
20 |
130 |
2 |
| pckbcprint |
|
3 |
9 |
46 |
2 |
| pckbc_init_slotdata |
|
2 |
11 |
71 |
1 |
| pckbc_flush |
|
1 |
7 |
40 |
2 |
| pckbc_poll_data |
|
5 |
14 |
95 |
2 |
| pckbc_xt_translation |
|
1 |
5 |
15 |
1 |
| pckbc_slot_enable |
|
1 |
6 |
19 |
3 |
| pckbc_set_poll |
|
3 |
16 |
78 |
3 |
| pckbc_poll_cmd1 |
|
19 |
58 |
306 |
3 |
| pckbc_poll_cmd |
|
6 |
21 |
147 |
7 |
| pckbc_cleanqueue |
|
5 |
14 |
96 |
1 |
| pckbc_cleanup |
|
4 |
17 |
111 |
1 |
| pckbc_start |
|
6 |
27 |
166 |
2 |
| pckbc_cmdresponse |
|
15 |
44 |
268 |
3 |
| pckbc_enqueue_cmd |
|
15 |
52 |
364 |
7 |
| pckbc_set_inputhandler |
|
2 |
15 |
92 |
5 |
| gsckbcintr |
|
9 |
31 |
211 |
1 |
| Source file: ./sys/arch/hppa/stand/libsa/machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| machdep |
|
6 |
34 |
267 |
0 |
| Source file: ./sys/arch/hppa/stand/libsa/dk.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dk_disklabel |
|
3 |
9 |
60 |
2 |
| dkopen |
|
13 |
27 |
173 |
2 |
| dkclose |
|
1 |
7 |
33 |
1 |
| Source file: ./sys/arch/hppa/stand/libsa/ct.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ctopen |
|
2 |
7 |
47 |
2 |
| ctclose |
|
1 |
7 |
33 |
1 |
| Source file: ./sys/arch/hppa/stand/libsa/elf32.c |
| Source file: ./sys/arch/hppa/stand/mkboot/mkboot.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
11 |
79 |
706 |
2 |
| putfile |
|
29 |
103 |
911 |
2 |
| cksum |
|
2 |
6 |
51 |
3 |
| usage |
|
1 |
8 |
25 |
1 |
| lifname |
|
6 |
17 |
105 |
1 |
| bcddate |
|
1 |
19 |
190 |
2 |
| Source file: ./sys/arch/hppa/stand/libsa/time.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| getsecs |
|
7 |
15 |
83 |
0 |
| Source file: ./sys/arch/hppa/stand/libsa/lif.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| lif_open |
|
31 |
79 |
625 |
2 |
| lif_close |
|
1 |
7 |
33 |
1 |
| lif_read |
|
8 |
33 |
245 |
4 |
| lif_write |
|
1 |
8 |
31 |
4 |
| lif_seek |
|
4 |
21 |
93 |
3 |
| lif_stat |
|
2 |
11 |
71 |
2 |
| lif_readdir |
|
7 |
23 |
167 |
2 |
| Source file: ./sys/arch/hppa/stand/libsa/itecons.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cnspeed |
|
1 |
4 |
13 |
2 |
| ite_probe |
|
5 |
20 |
162 |
1 |
| ite_init |
|
10 |
26 |
202 |
1 |
| ite_putc |
|
2 |
10 |
57 |
2 |
| ite_getc |
|
18 |
37 |
220 |
1 |
| ite_pollc |
|
1 |
5 |
14 |
2 |
| Source file: ./sys/arch/hppa/stand/libsa/elf64.c |
| Source file: ./sys/arch/hppa/stand/libsa/libsa.h |
| Source file: ./sys/arch/hppa/stand/libsa/dev_hppa.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| devopen |
|
15 |
42 |
321 |
3 |
| devboot |
|
8 |
44 |
258 |
2 |
| ttyname |
|
1 |
8 |
41 |
1 |
| ttydev |
|
9 |
14 |
132 |
1 |
| Source file: ./sys/arch/hppa/stand/libsa/lf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| lfopen |
|
2 |
7 |
45 |
2 |
| lfclose |
|
1 |
6 |
31 |
1 |
| Source file: ./sys/arch/hppa/stand/libsa/pdc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pdc_init |
|
5 |
14 |
107 |
0 |
| iodcstrategy |
|
40 |
99 |
681 |
6 |
| pdc_findev |
|
37 |
98 |
776 |
2 |
| fall |
|
4 |
10 |
61 |
5 |
| fcacheall |
|
6 |
24 |
164 |
0 |
| Source file: ./sys/arch/hppa/spmath/dfmpy.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dbl_fmpy |
|
73 |
246 |
1399 |
4 |
| Source file: ./sys/arch/hppa/spmath/fcnvxf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sgl_to_sgl_fcnvxf |
|
11 |
48 |
244 |
4 |
| sgl_to_dbl_fcnvxf |
|
4 |
30 |
194 |
4 |
| dbl_to_sgl_fcnvxf |
|
14 |
66 |
336 |
4 |
| dbl_to_dbl_fcnvxf |
|
14 |
70 |
373 |
4 |
| Source file: ./sys/arch/hppa/spmath/sgl_float.h |
| Source file: ./sys/arch/hppa/spmath/mpys.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mpys |
|
5 |
11 |
63 |
3 |
| Source file: ./sys/arch/hppa/spmath/sfmpy.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sgl_fmpy |
|
73 |
227 |
1206 |
4 |
| Source file: ./sys/arch/hppa/stand/libsa/cmd_hppa.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| print_console |
|
10 |
53 |
385 |
0 |
| set_graphics |
|
11 |
46 |
278 |
3 |
| set_serial |
|
22 |
71 |
395 |
3 |
| set_console |
|
10 |
25 |
189 |
1 |
| Xconsole |
|
7 |
39 |
186 |
0 |
| print_keyboard |
|
7 |
42 |
242 |
0 |
| set_keyboard |
|
6 |
24 |
135 |
1 |
| Xkeyboard |
|
7 |
39 |
186 |
0 |
| bus_walk |
|
34 |
121 |
730 |
2 |
| pci_bus_walk |
|
18 |
59 |
381 |
3 |
| dino_conf_read |
|
1 |
13 |
105 |
4 |
| elroy_conf_read |
|
3 |
27 |
279 |
4 |
| path_match |
|
7 |
10 |
107 |
2 |
| path_shift |
|
1 |
10 |
99 |
2 |
| register_device |
|
7 |
28 |
162 |
6 |
| Source file: ./sys/arch/hppa/spmath/hppa.h |
| Source file: ./sys/arch/hppa/spmath/fpbits.h |
| Source file: ./sys/arch/hppa/spmath/fcnvfxt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sgl_to_sgl_fcnvfxt |
|
13 |
43 |
245 |
4 |
| sgl_to_dbl_fcnvfxt |
|
13 |
54 |
296 |
4 |
| dbl_to_sgl_fcnvfxt |
|
12 |
44 |
260 |
4 |
| dbl_to_dbl_fcnvfxt |
|
13 |
53 |
295 |
4 |
| Source file: ./sys/arch/hppa/spmath/mpyaccs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mpyaccs |
|
4 |
16 |
106 |
3 |
| Source file: ./sys/arch/hppa/spmath/mpyaccu.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mpyaccu |
|
3 |
15 |
95 |
3 |
| Source file: ./sys/arch/hppa/spmath/md.h |
| Source file: ./sys/arch/hppa/spmath/divufr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| divufr |
|
3 |
15 |
64 |
3 |
| Source file: ./sys/arch/hppa/spmath/float.h |
| Source file: ./sys/arch/hppa/spmath/sfsqrt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sgl_fsqrt |
|
22 |
88 |
483 |
4 |
| Source file: ./sys/arch/hppa/spmath/dbl_float.h |
| Source file: ./sys/arch/hppa/hppa/db_disasm.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| iExInit |
|
10 |
37 |
239 |
1 |
| addDasm |
|
1 |
9 |
55 |
3 |
| unitDasm |
|
3 |
12 |
86 |
3 |
| iaDasm |
|
2 |
13 |
91 |
3 |
| shdDasm |
|
2 |
13 |
98 |
3 |
| extrDasm |
|
1 |
9 |
62 |
3 |
| vextrDasm |
|
1 |
9 |
57 |
3 |
| depDasm |
|
1 |
9 |
64 |
3 |
| vdepDasm |
|
1 |
9 |
57 |
3 |
| depiDasm |
|
1 |
9 |
64 |
3 |
| vdepiDasm |
|
1 |
8 |
57 |
3 |
| subDCond |
|
17 |
24 |
150 |
1 |
| addDCond |
|
17 |
24 |
150 |
1 |
| unitDCond |
|
13 |
20 |
118 |
1 |
| edDCond |
|
9 |
16 |
86 |
1 |
| ldDasm |
|
6 |
24 |
178 |
3 |
| stDasm |
|
4 |
21 |
139 |
3 |
| ldxDasm |
|
12 |
31 |
217 |
3 |
| stsDasm |
|
8 |
21 |
154 |
3 |
| stbysDasm |
|
8 |
22 |
157 |
3 |
| limmDasm |
|
1 |
8 |
42 |
3 |
| blDasm |
|
6 |
17 |
109 |
3 |
| brDasm |
|
2 |
8 |
51 |
3 |
| bvDasm |
|
2 |
8 |
51 |
3 |
| beDasm |
|
3 |
18 |
115 |
3 |
| cbDasm |
|
4 |
16 |
131 |
3 |
| cbiDasm |
|
4 |
16 |
131 |
3 |
| bbDasm |
|
3 |
16 |
117 |
3 |
| ariDasm |
|
6 |
15 |
120 |
3 |
| scDasm |
|
12 |
29 |
274 |
3 |
| mmgtDasm |
|
20 |
55 |
443 |
3 |
| brkDasm |
|
1 |
8 |
42 |
3 |
| floatDasm |
|
29 |
74 |
607 |
3 |
| fcoprDasm |
|
29 |
74 |
591 |
3 |
| coprDasm |
|
26 |
81 |
574 |
3 |
| lpkDasm |
|
13 |
30 |
209 |
3 |
| diagDasm |
|
4 |
18 |
120 |
3 |
| fmpysubDasm |
|
2 |
15 |
125 |
3 |
| fmpyaddDasm |
|
9 |
19 |
212 |
3 |
| db_disasm |
|
17 |
43 |
286 |
2 |
| Source file: ./sys/arch/hppa/spmath/sfsub.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sgl_fsub |
|
72 |
330 |
1409 |
4 |
| Source file: ./sys/arch/hppa/spmath/mpyscv.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mpyscv |
|
1 |
7 |
35 |
3 |
| Source file: ./sys/arch/hppa/spmath/divsfm.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| divsfm |
|
12 |
41 |
185 |
3 |
| Source file: ./sys/arch/hppa/spmath/cnv_float.h |
| Source file: ./sys/arch/hppa/spmath/dfsqrt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dbl_fsqrt |
|
22 |
97 |
607 |
4 |
| Source file: ./sys/arch/hppa/spmath/mpyucv.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mpyucv |
|
1 |
7 |
36 |
3 |
| Source file: ./sys/arch/hppa/spmath/frnd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sgl_frnd |
|
26 |
74 |
421 |
4 |
| dbl_frnd |
|
26 |
77 |
467 |
4 |
| quad_frnd |
|
1 |
6 |
32 |
4 |
| Source file: ./sys/arch/hppa/spmath/divuir.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| divuir |
|
2 |
11 |
50 |
3 |
| Source file: ./sys/arch/hppa/spmath/dfadd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dbl_fadd |
|
72 |
336 |
1582 |
4 |
| Source file: ./sys/arch/hppa/spmath/mpyu.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mpyu |
|
2 |
11 |
47 |
3 |
| Source file: ./sys/arch/hppa/spmath/divsim.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| divsim |
|
12 |
44 |
191 |
3 |
| Source file: ./sys/arch/hppa/spmath/divsir.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| divsir |
|
10 |
38 |
173 |
3 |
| Source file: ./sys/arch/hppa/spmath/sfdiv.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sgl_fdiv |
|
78 |
252 |
1278 |
4 |
| Source file: ./sys/arch/hppa/spmath/dfcmp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dbl_fcmp |
|
28 |
105 |
516 |
4 |
| Source file: ./sys/arch/hppa/spmath/sfrem.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sgl_frem |
|
35 |
140 |
748 |
4 |
| Source file: ./sys/arch/hppa/gsc/harmony.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| harmony_match |
|
9 |
24 |
156 |
3 |
| harmony_attach |
|
10 |
90 |
757 |
3 |
| harmony_reset_codec |
|
1 |
9 |
50 |
1 |
| harmony_acc_tmo |
|
1 |
6 |
30 |
1 |
| harmony_intr |
|
8 |
53 |
330 |
1 |
| harmony_intr_enable |
|
1 |
5 |
27 |
1 |
| harmony_intr_disable |
|
1 |
5 |
27 |
1 |
| harmony_open |
|
2 |
8 |
40 |
2 |
| harmony_close |
|
1 |
8 |
36 |
1 |
| harmony_set_params |
|
11 |
49 |
256 |
5 |
| harmony_round_blocksize |
|
1 |
4 |
16 |
2 |
| harmony_commit_settings |
|
15 |
54 |
317 |
1 |
| harmony_halt_output |
|
1 |
6 |
26 |
1 |
| harmony_halt_input |
|
1 |
6 |
26 |
1 |
| harmony_set_port |
|
24 |
77 |
474 |
2 |
| harmony_get_port |
|
22 |
71 |
415 |
2 |
| harmony_query_devinfo |
|
12 |
116 |
1140 |
2 |
| harmony_allocm |
|
6 |
35 |
274 |
5 |
| harmony_freem |
|
3 |
16 |
145 |
3 |
| harmony_round_buffersize |
|
1 |
4 |
33 |
3 |
| harmony_get_props |
|
1 |
4 |
13 |
1 |
| harmony_trigger_output |
|
5 |
46 |
337 |
7 |
| harmony_start_cp |
|
5 |
32 |
216 |
1 |
| harmony_trigger_input |
|
3 |
27 |
199 |
7 |
| harmony_speed_bits |
|
9 |
28 |
220 |
2 |
| harmony_set_gainctl |
|
5 |
35 |
313 |
1 |
| harmony_try_more |
|
9 |
28 |
256 |
1 |
| Source file: ./sys/arch/hppa/spmath/dfrem.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dbl_frem |
|
36 |
147 |
908 |
4 |
| Source file: ./sys/arch/hppa/spmath/fcnvfx.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sgl_to_sgl_fcnvfx |
|
30 |
76 |
403 |
4 |
| sgl_to_dbl_fcnvfx |
|
30 |
101 |
492 |
4 |
| dbl_to_sgl_fcnvfx |
|
37 |
96 |
525 |
4 |
| dbl_to_dbl_fcnvfx |
|
30 |
100 |
497 |
4 |
| Source file: ./sys/arch/hppa/spmath/divsfr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| divsfr |
|
11 |
38 |
176 |
3 |
| Source file: ./sys/arch/hppa/spmath/quad_float.h |
| Source file: ./sys/arch/hppa/spmath/dfdiv.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dbl_fdiv |
|
80 |
263 |
1458 |
4 |
| Source file: ./sys/arch/hppa/spmath/sfcmp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sgl_fcmp |
|
24 |
83 |
395 |
4 |
| Source file: ./sys/arch/hppa/spmath/sfadd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sgl_fadd |
|
72 |
328 |
1396 |
4 |
| Source file: ./sys/arch/i386/isa/joy_isa.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| joy_isa_probe |
|
2 |
11 |
70 |
3 |
| joy_isa_attach |
|
3 |
13 |
102 |
3 |
| Source file: ./sys/arch/hppa/spmath/fcnvff.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sgl_to_dbl_fcnvff |
|
7 |
50 |
271 |
4 |
| dbl_to_sgl_fcnvff |
|
35 |
114 |
616 |
4 |
| Source file: ./sys/arch/i386/isa/joyreg.h |
| Source file: ./sys/arch/i386/isa/nvram.h |
| Source file: ./sys/arch/i386/isa/isapnp_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| isapnp_map |
|
3 |
8 |
39 |
1 |
| isapnp_unmap |
|
1 |
3 |
9 |
1 |
| isapnp_map_readport |
|
6 |
11 |
72 |
1 |
| isapnp_unmap_readport |
|
1 |
3 |
9 |
1 |
| Source file: ./sys/arch/hppa/spmath/dfsub.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dbl_fsub |
|
72 |
334 |
1595 |
4 |
| Source file: ./sys/arch/i386/isa/mms.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mmsprobe |
|
4 |
21 |
130 |
3 |
| mmsattach |
|
2 |
21 |
162 |
3 |
| mms_enable |
|
2 |
10 |
63 |
1 |
| mms_disable |
|
1 |
6 |
36 |
1 |
| mms_ioctl |
|
3 |
10 |
58 |
5 |
| mmsintr |
|
11 |
34 |
280 |
1 |
| Source file: ./sys/arch/i386/isa/isa_machdep.h |
| Source file: ./sys/arch/i386/isa/isapnp_machdep.h |
| Source file: ./sys/arch/i386/isa/lms.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| lmsprobe |
|
5 |
29 |
194 |
3 |
| lmsattach |
|
2 |
21 |
162 |
3 |
| lms_enable |
|
2 |
10 |
54 |
1 |
| lms_disable |
|
1 |
6 |
36 |
1 |
| lms_ioctl |
|
3 |
10 |
58 |
5 |
| lmsintr |
|
10 |
33 |
304 |
1 |
| Source file: ./sys/arch/i386/isa/isa_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| isa_defaultirq |
|
5 |
24 |
203 |
1 |
| isa_nmi |
|
1 |
5 |
18 |
1 |
| isa_strayintr |
|
3 |
6 |
37 |
1 |
| intr_calculatemasks |
|
20 |
64 |
478 |
1 |
| fakeintr |
|
1 |
5 |
13 |
1 |
| isa_intr_alloc |
|
14 |
39 |
230 |
4 |
| isa_intr_check |
|
9 |
20 |
95 |
3 |
| isa_intr_establish |
|
24 |
78 |
491 |
7 |
| isa_intr_disestablish |
|
8 |
23 |
150 |
2 |
| isa_attach_hook |
|
2 |
8 |
36 |
3 |
| _isa_bus_dmamap_create |
|
10 |
42 |
272 |
7 |
| _isa_bus_dmamap_destroy |
|
2 |
8 |
50 |
2 |
| _isa_bus_dmamap_load |
|
7 |
32 |
219 |
6 |
| _isa_bus_dmamap_load_mbuf |
|
1 |
5 |
23 |
4 |
| _isa_bus_dmamap_load_uio |
|
1 |
5 |
23 |
4 |
| _isa_bus_dmamap_load_raw |
|
1 |
5 |
28 |
6 |
| _isa_bus_dmamap_unload |
|
3 |
9 |
59 |
2 |
| _isa_bus_dmamap_sync |
|
13 |
25 |
196 |
5 |
| _isa_bus_dmamem_alloc |
|
2 |
13 |
105 |
8 |
| _isa_dma_check_buffer |
|
9 |
35 |
195 |
5 |
| _isa_dma_alloc_bouncebuf |
|
3 |
26 |
164 |
4 |
| _isa_dma_free_bouncebuf |
|
1 |
12 |
68 |
2 |
| Source file: ./sys/arch/i386/isa/clock.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mc146818_read |
|
1 |
12 |
59 |
2 |
| mc146818_write |
|
1 |
10 |
54 |
3 |
| startclocks |
|
2 |
11 |
60 |
1 |
| rtcdrain |
|
3 |
8 |
43 |
1 |
| clockintr |
|
3 |
14 |
56 |
1 |
| rtcintr |
|
3 |
16 |
73 |
1 |
| gettick |
|
12 |
48 |
310 |
1 |
| i8254_delay |
|
5 |
30 |
166 |
1 |
| calibrate_cyclecounter_ctr |
|
6 |
28 |
201 |
1 |
| calibrate_cyclecounter |
|
2 |
10 |
64 |
1 |
| i8254_initclocks |
|
1 |
9 |
54 |
1 |
| rtcstart |
|
1 |
8 |
56 |
1 |
| rtcstop |
|
1 |
4 |
15 |
1 |
| rtcget |
|
2 |
7 |
41 |
1 |
| rtcput |
|
1 |
4 |
15 |
1 |
| hexdectodec |
|
1 |
4 |
29 |
1 |
| dectohexdec |
|
1 |
4 |
38 |
1 |
| cmoscheck |
|
2 |
9 |
61 |
1 |
| clock_expandyear |
|
13 |
35 |
195 |
1 |
| inittodr |
|
6 |
43 |
273 |
1 |
| resettodr |
|
5 |
32 |
215 |
1 |
| setstatclockrate |
|
3 |
11 |
44 |
1 |
| i8254_inittimecounter |
|
1 |
4 |
12 |
1 |
| i8254_inittimecounter_simple |
|
1 |
11 |
50 |
1 |
| i8254_startclock |
|
1 |
7 |
47 |
1 |
| i8254_simple_get_timecount |
|
1 |
4 |
18 |
1 |
| i8254_get_timecount |
|
2 |
20 |
108 |
1 |
| Source file: ./sys/arch/i386/isa/joy_isapnp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| joy_isapnp_probe |
|
1 |
4 |
22 |
3 |
| joy_isapnp_attach |
|
3 |
13 |
107 |
3 |
| Source file: ./sys/arch/i386/include/codepatch.h |
| Source file: ./sys/arch/i386/include/disklabel.h |
| Source file: ./sys/arch/i386/isa/joy.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| joyopen |
|
4 |
16 |
112 |
4 |
| joyclose |
|
1 |
8 |
58 |
4 |
| joyread |
|
12 |
35 |
289 |
3 |
| joyioctl |
|
9 |
33 |
197 |
5 |
| joy_get_tick |
|
1 |
8 |
48 |
1 |
| Source file: ./sys/arch/i386/include/kcore.h |
| Source file: ./sys/arch/i386/include/apmvar.h |
| Source file: ./sys/arch/i386/isa/ahc_isa.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ahc_isa_irq |
|
7 |
22 |
103 |
2 |
| ahc_isa_idstring |
|
6 |
35 |
257 |
3 |
| ahc_isa_match |
|
9 |
33 |
191 |
2 |
| ahc_isa_probe |
|
7 |
30 |
195 |
3 |
| ahc_isa_attach |
|
14 |
85 |
555 |
3 |
| aha2840_load_seeprom |
|
18 |
75 |
505 |
1 |
| Source file: ./sys/arch/i386/include/profile.h |
| Source file: ./sys/arch/i386/include/lock.h |
| Source file: ./sys/arch/i386/include/vmparam.h |
| Source file: ./sys/arch/i386/include/mpbiosvar.h |
| Source file: ./sys/arch/i386/include/i8259.h |
| Source file: ./sys/arch/i386/include/acpiapm.h |
| Source file: ./sys/arch/i386/include/gdt.h |
| Source file: ./sys/arch/i386/include/_float.h |
| Source file: ./sys/arch/i386/include/mouse.h |
| Source file: ./sys/arch/i386/include/kvm86.h |
| Source file: ./sys/arch/i386/include/exec.h |
| Source file: ./sys/arch/i386/include/hibernate.h |
| Source file: ./sys/arch/i386/include/spinlock.h |
| Source file: ./sys/arch/i386/include/tcb.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __i386_read_tcb |
|
1 |
6 |
29 |
1 |
| Source file: ./sys/arch/i386/include/stdarg.h |
| Source file: ./sys/arch/i386/include/npx.h |
| Source file: ./sys/arch/i386/include/pmap.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pmap_page_protect |
|
3 |
10 |
54 |
2 |
| pmap_protect |
|
3 |
10 |
65 |
4 |
| pmap_growkernel |
|
1 |
4 |
16 |
1 |
| pmap_enter |
|
1 |
4 |
38 |
5 |
| pmap_extract |
|
1 |
4 |
29 |
3 |
| pmap_is_active |
|
2 |
4 |
29 |
2 |
| pmap_is_curpmap |
|
1 |
4 |
21 |
1 |
| Source file: ./sys/arch/i386/include/pte.h |
| Source file: ./sys/arch/i386/isa/npx.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fpu_save |
|
2 |
8 |
36 |
1 |
| npxdna_notset |
|
1 |
4 |
14 |
1 |
| npxprobe1 |
|
5 |
35 |
168 |
1 |
| npxprobe |
|
2 |
42 |
271 |
3 |
| npxinit |
|
5 |
20 |
126 |
1 |
| npxattach |
|
7 |
32 |
156 |
3 |
| npxintr |
|
11 |
48 |
344 |
1 |
| npxtrap |
|
3 |
22 |
155 |
1 |
| x86fpflags_to_siginfo |
|
3 |
18 |
80 |
1 |
| npxdna_xmm |
|
7 |
53 |
389 |
1 |
| npxdna_s87 |
|
7 |
51 |
372 |
1 |
| npxsave_cpu |
|
6 |
26 |
159 |
2 |
| npxsave_proc |
|
8 |
26 |
186 |
2 |
| fpu_kernel_enter |
|
5 |
25 |
114 |
1 |
| fpu_kernel_exit |
|
1 |
4 |
10 |
1 |
| Source file: ./sys/arch/i386/include/loadfile_machdep.h |
| Source file: ./sys/arch/i386/include/ieeefp.h |
| Source file: ./sys/arch/i386/include/ieee.h |
| Source file: ./sys/arch/i386/include/fenv.h |
| Source file: ./sys/arch/i386/include/mutex.h |
| Source file: ./sys/arch/i386/include/cpuvar.h |
| Source file: ./sys/arch/i386/include/_types.h |
| Source file: ./sys/arch/i386/include/vmmvar.h |
| Source file: ./sys/arch/i386/include/cdefs.h |
| Source file: ./sys/arch/i386/include/rbus_machdep.h |
| Source file: ./sys/arch/i386/include/ioctl_fd.h |
| Source file: ./sys/arch/i386/include/endian.h |
| Source file: ./sys/arch/i386/include/apicvar.h |
| Source file: ./sys/arch/i386/include/biosvar.h |
| Source file: ./sys/arch/i386/include/smbiosvar.h |
| Source file: ./sys/arch/i386/include/pic.h |
| Source file: ./sys/arch/i386/include/varargs.h |
| Source file: ./sys/arch/i386/include/frame.h |
| Source file: ./sys/arch/i386/include/cpu.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| curcpu |
|
1 |
8 |
48 |
1 |
| Source file: ./sys/arch/i386/include/joystick.h |
| Source file: ./sys/arch/i386/include/intr.h |
| Source file: ./sys/arch/i386/include/ptrace.h |
| Source file: ./sys/arch/i386/include/limits.h |
| Source file: ./sys/arch/i386/include/conf.h |
| Source file: ./sys/arch/i386/include/specialreg.h |
| Source file: ./sys/arch/i386/include/segments.h |
| Source file: ./sys/arch/i386/include/cpufunc.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| invlpg |
|
1 |
4 |
21 |
1 |
| lidt |
|
1 |
4 |
22 |
1 |
| lldt |
|
1 |
4 |
19 |
1 |
| ltr |
|
1 |
4 |
19 |
1 |
| lcr0 |
|
1 |
4 |
19 |
1 |
| rcr0 |
|
1 |
6 |
23 |
1 |
| rcr2 |
|
1 |
6 |
23 |
1 |
| lcr3 |
|
1 |
4 |
19 |
1 |
| rcr3 |
|
1 |
6 |
23 |
1 |
| lcr4 |
|
1 |
4 |
19 |
1 |
| rcr4 |
|
1 |
6 |
23 |
1 |
| tlbflush |
|
1 |
6 |
32 |
1 |
| disable_intr |
|
1 |
4 |
12 |
1 |
| enable_intr |
|
1 |
4 |
12 |
1 |
| read_eflags |
|
1 |
6 |
25 |
1 |
| write_eflags |
|
1 |
4 |
19 |
1 |
| intr_disable |
|
1 |
7 |
24 |
1 |
| intr_restore |
|
1 |
4 |
12 |
1 |
| wbinvd |
|
1 |
4 |
12 |
1 |
| clflush |
|
1 |
4 |
24 |
1 |
| mfence |
|
1 |
4 |
16 |
1 |
| rdtsc |
|
1 |
6 |
25 |
1 |
| wrmsr |
|
1 |
4 |
27 |
2 |
| rdmsr |
|
1 |
6 |
31 |
1 |
| monitor |
|
1 |
5 |
38 |
3 |
| mwait |
|
1 |
4 |
27 |
2 |
| rdmsr_locked |
|
1 |
8 |
39 |
2 |
| wrmsr_locked |
|
1 |
6 |
35 |
3 |
| breakpoint |
|
1 |
4 |
12 |
1 |
| Source file: ./sys/arch/i386/include/i82489var.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| i82489_readreg |
|
1 |
5 |
29 |
1 |
| i82489_writereg |
|
1 |
7 |
56 |
2 |
| Source file: ./sys/arch/i386/include/proc.h |
| Source file: ./sys/arch/i386/include/mplock.h |
| Source file: ./sys/arch/i386/include/hibernate_var.h |
| Source file: ./sys/arch/i386/include/setjmp.h |
| Source file: ./sys/arch/i386/include/psl.h |
| Source file: ./sys/arch/i386/include/pio.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __inbc |
|
1 |
6 |
29 |
1 |
| __inb |
|
1 |
6 |
29 |
1 |
| insb |
|
1 |
5 |
39 |
3 |
| __inwc |
|
1 |
6 |
29 |
1 |
| __inw |
|
1 |
6 |
29 |
1 |
| insw |
|
1 |
5 |
39 |
3 |
| __inlc |
|
1 |
6 |
29 |
1 |
| __inl |
|
1 |
6 |
29 |
1 |
| insl |
|
1 |
5 |
39 |
3 |
| __outbc |
|
1 |
4 |
27 |
2 |
| __outb |
|
1 |
4 |
27 |
2 |
| outsb |
|
1 |
5 |
38 |
3 |
| __outwc |
|
1 |
4 |
27 |
2 |
| __outw |
|
1 |
4 |
27 |
2 |
| outsw |
|
1 |
5 |
38 |
3 |
| __outlc |
|
1 |
4 |
27 |
2 |
| __outl |
|
1 |
4 |
27 |
2 |
| outsl |
|
1 |
5 |
38 |
3 |
| Source file: ./sys/arch/i386/include/intrdefs.h |
| Source file: ./sys/arch/i386/include/reloc.h |
| Source file: ./sys/arch/i386/include/mpbiosreg.h |
| Source file: ./sys/arch/i386/include/i82489reg.h |
| Source file: ./sys/arch/i386/include/pcb.h |
| Source file: ./sys/arch/i386/include/cputypes.h |
| Source file: ./sys/arch/i386/include/tss.h |
| Source file: ./sys/arch/i386/include/signal.h |
| Source file: ./sys/arch/i386/include/asm.h |
| Source file: ./sys/arch/i386/include/vga_post.h |
| Source file: ./sys/arch/i386/include/db_machdep.h |
| Source file: ./sys/arch/i386/include/amdmsr.h |
| Source file: ./sys/arch/i386/include/param.h |
| Source file: ./sys/arch/i386/include/atomic.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _atomic_cas_uint |
|
1 |
7 |
57 |
3 |
| _atomic_cas_ulong |
|
1 |
7 |
57 |
3 |
| _atomic_cas_ptr |
|
1 |
7 |
66 |
3 |
| _atomic_swap_uint |
|
1 |
7 |
47 |
2 |
| _atomic_swap_ulong |
|
1 |
7 |
47 |
2 |
| _atomic_swap_ptr |
|
1 |
7 |
56 |
2 |
| _atomic_inc_int |
|
1 |
5 |
23 |
1 |
| _atomic_inc_long |
|
1 |
5 |
23 |
1 |
| _atomic_dec_int |
|
1 |
5 |
23 |
1 |
| _atomic_dec_long |
|
1 |
5 |
23 |
1 |
| _atomic_add_int |
|
1 |
6 |
32 |
2 |
| _atomic_add_long |
|
1 |
6 |
32 |
2 |
| _atomic_sub_int |
|
1 |
6 |
32 |
2 |
| _atomic_sub_long |
|
1 |
6 |
32 |
2 |
| _atomic_add_int_nv |
|
1 |
7 |
45 |
2 |
| _atomic_add_long_nv |
|
1 |
7 |
45 |
2 |
| _atomic_sub_int_nv |
|
1 |
7 |
47 |
2 |
| _atomic_sub_long_nv |
|
1 |
7 |
47 |
2 |
| i386_atomic_testset_uq |
|
1 |
6 |
54 |
2 |
| i386_atomic_testset_ul |
|
1 |
5 |
37 |
2 |
| i386_atomic_testset_i |
|
1 |
5 |
37 |
2 |
| i386_atomic_setbits_l |
|
1 |
4 |
31 |
2 |
| i386_atomic_clearbits_l |
|
1 |
5 |
35 |
2 |
| Source file: ./sys/arch/i386/include/sysarch.h |
| Source file: ./sys/arch/i386/include/i82093reg.h |
| Source file: ./sys/arch/i386/include/reg.h |
| Source file: ./sys/arch/i386/include/trap.h |
| Source file: ./sys/arch/i386/include/i82093var.h |
| Source file: ./sys/arch/i386/include/pctr.h |
| Source file: ./sys/arch/i386/eisa/eisa_machdep.h |
| Source file: ./sys/arch/i386/i386/acpiapm.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| acpiapmopen |
|
2 |
6 |
38 |
4 |
| acpiapmclose |
|
2 |
6 |
38 |
4 |
| acpiapmioctl |
|
2 |
6 |
43 |
5 |
| acpiapmkqfilter |
|
2 |
6 |
28 |
2 |
| Source file: ./sys/arch/i386/eisa/eisa_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| eisa_attach_hook |
|
1 |
4 |
19 |
3 |
| eisa_maxslots |
|
1 |
4 |
12 |
1 |
| eisa_intr_map |
|
3 |
14 |
67 |
3 |
| eisa_intr_string |
|
4 |
8 |
59 |
2 |
| eisa_intr_establish |
|
4 |
7 |
75 |
7 |
| eisa_intr_disestablish |
|
1 |
4 |
21 |
2 |
| Source file: ./sys/arch/i386/include/bus.h |
| Source file: ./sys/arch/i386/include/vm86.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| clr_vif |
|
1 |
7 |
35 |
1 |
| set_vif |
|
3 |
9 |
80 |
1 |
| set_vflags |
|
3 |
11 |
110 |
2 |
| get_vflags |
|
1 |
9 |
64 |
1 |
| set_vflags_short |
|
2 |
10 |
94 |
2 |
| get_vflags_short |
|
1 |
9 |
68 |
1 |
| Source file: ./sys/arch/i386/i386/mp_setperf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mp_setperf |
|
1 |
8 |
33 |
1 |
| i386_setperf_ipi |
|
1 |
4 |
14 |
1 |
| mp_setperf_init |
|
2 |
8 |
29 |
1 |
| Source file: ./sys/arch/i386/i386/lapic.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| lapic_map |
|
2 |
12 |
57 |
1 |
| lapic_enable |
|
1 |
4 |
15 |
1 |
| lapic_disable |
|
1 |
4 |
13 |
1 |
| lapic_set_softvectors |
|
1 |
6 |
27 |
1 |
| lapic_set_lvt |
|
16 |
48 |
338 |
1 |
| lapic_boot_init |
|
4 |
15 |
95 |
1 |
| lapic_gettick |
|
1 |
4 |
12 |
1 |
| lapic_clockintr |
|
1 |
6 |
25 |
1 |
| lapic_startclock |
|
1 |
7 |
38 |
1 |
| lapic_initclocks |
|
1 |
5 |
14 |
1 |
| wait_next_cycle |
|
3 |
11 |
46 |
1 |
| lapic_calibrate_timer |
|
5 |
41 |
289 |
1 |
| lapic_delay |
|
5 |
20 |
95 |
1 |
| i82489_icr_wait |
|
5 |
10 |
50 |
1 |
| i386_ipi_init |
|
2 |
12 |
72 |
1 |
| i386_ipi |
|
2 |
12 |
72 |
3 |
| Source file: ./sys/arch/i386/i386/acpi_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| acpi_map |
|
3 |
18 |
129 |
3 |
| acpi_unmap |
|
1 |
5 |
33 |
1 |
| acpi_scan |
|
9 |
22 |
171 |
3 |
| acpi_probe |
|
9 |
31 |
178 |
3 |
| acpi_acquire_glk |
|
3 |
11 |
70 |
1 |
| acpi_release_glk |
|
2 |
9 |
56 |
1 |
| acpi_attach_machdep |
|
1 |
25 |
174 |
1 |
| acpi_sleep_clocks |
|
2 |
6 |
24 |
2 |
| acpi_resume_clocks |
|
6 |
14 |
57 |
1 |
| acpi_sleep_cpu |
|
9 |
33 |
216 |
2 |
| acpi_resume_cpu |
|
2 |
7 |
39 |
1 |
| acpi_sleep_mp |
|
4 |
14 |
71 |
1 |
| acpi_resume_mp |
|
5 |
30 |
196 |
1 |
| Source file: ./sys/arch/i386/i386/db_mp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| db_enter_ddb |
|
19 |
52 |
321 |
1 |
| db_startcpu |
|
3 |
8 |
45 |
1 |
| db_stopcpu |
|
4 |
12 |
73 |
1 |
| i386_ipi_db |
|
1 |
4 |
13 |
1 |
| Source file: ./sys/arch/i386/i386/dkcsum.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dkcsumattach |
|
36 |
110 |
790 |
1 |
| Source file: ./sys/arch/i386/i386/esm.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| esm_probe |
|
20 |
35 |
160 |
1 |
| esm_match |
|
3 |
7 |
54 |
3 |
| esm_attach |
|
6 |
45 |
342 |
3 |
| esm_activate |
|
2 |
9 |
33 |
2 |
| esm_watchdog |
|
11 |
45 |
312 |
2 |
| esm_refresh |
|
27 |
109 |
659 |
1 |
| esm_get_devmap |
|
7 |
39 |
359 |
3 |
| esm_devmap |
|
28 |
112 |
424 |
2 |
| esm_make_sensors |
|
21 |
98 |
697 |
4 |
| esm_thresholds |
|
2 |
26 |
218 |
3 |
| esm_bmc_ready |
|
4 |
10 |
67 |
5 |
| esm_cmd |
|
8 |
36 |
232 |
7 |
| esm_smb_cmd |
|
4 |
18 |
147 |
5 |
| esm_val2temp |
|
1 |
4 |
21 |
1 |
| esm_val2volts |
|
1 |
4 |
17 |
1 |
| esm_val2amps |
|
1 |
4 |
17 |
1 |
| Source file: ./sys/arch/i386/i386/cpu.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cpu_init_first |
|
1 |
4 |
10 |
1 |
| replacesmap |
|
2 |
12 |
56 |
1 |
| cpu_match |
|
3 |
10 |
65 |
3 |
| cpu_attach |
|
22 |
90 |
563 |
3 |
| cpu_init |
|
11 |
30 |
170 |
1 |
| cpu_init_vmm |
|
3 |
11 |
76 |
1 |
| patinit |
|
2 |
13 |
99 |
1 |
| rdrand |
|
9 |
27 |
127 |
1 |
| cpu_activate |
|
3 |
11 |
53 |
2 |
| cpu_boot_secondary_processors |
|
6 |
18 |
103 |
1 |
| cpu_init_idle_pcbs |
|
5 |
15 |
73 |
1 |
| cpu_boot_secondary |
|
7 |
21 |
135 |
1 |
| cpu_hatch |
|
4 |
27 |
151 |
1 |
| cpu_copy_trampoline |
|
1 |
13 |
83 |
1 |
| cpu_init_tss |
|
1 |
15 |
159 |
3 |
| cpu_set_tss_gates |
|
2 |
20 |
198 |
1 |
| mp_cpu_start |
|
4 |
25 |
156 |
1 |
| mp_cpu_start_cleanup |
|
1 |
5 |
25 |
1 |
| cpu_idle_mwait_cycle |
|
5 |
15 |
104 |
1 |
| cpu_init_mwait |
|
11 |
30 |
191 |
1 |
| Source file: ./sys/arch/i386/i386/pctr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| p5ctrrd |
|
1 |
12 |
86 |
1 |
| pctrrd |
|
5 |
13 |
104 |
1 |
| pctrattach |
|
6 |
23 |
117 |
1 |
| pctropen |
|
2 |
6 |
35 |
4 |
| pctrclose |
|
1 |
4 |
23 |
4 |
| p5ctrsel |
|
5 |
20 |
117 |
3 |
| pctrsel |
|
6 |
24 |
132 |
3 |
| pctrioctl |
|
11 |
30 |
160 |
5 |
| Source file: ./sys/arch/i386/i386/k6_mem.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| k6_mrmake |
|
8 |
17 |
149 |
2 |
| k6_mrinit |
|
5 |
24 |
201 |
1 |
| k6_mrset |
|
11 |
43 |
277 |
3 |
| k6_mrinit_cpu |
|
2 |
17 |
103 |
1 |
| Source file: ./sys/arch/i386/i386/vm86.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| is_bitset |
|
1 |
11 |
64 |
2 |
| fast_intxx |
|
5 |
29 |
236 |
2 |
| vm86_return |
|
3 |
11 |
66 |
2 |
| vm86_gpfault |
|
16 |
75 |
426 |
2 |
| i386_vm86 |
|
8 |
47 |
257 |
3 |
| Source file: ./sys/arch/i386/i386/autoconf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| unmap_startup |
|
2 |
9 |
48 |
1 |
| cpu_configure |
|
12 |
32 |
166 |
1 |
| device_register |
|
1 |
3 |
13 |
2 |
| diskconf |
|
9 |
40 |
261 |
1 |
| Source file: ./sys/arch/i386/i386/ioapic.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ioapic_lock |
|
2 |
7 |
31 |
1 |
| ioapic_unlock |
|
2 |
5 |
27 |
2 |
| ioapic_read_ul |
|
1 |
7 |
36 |
2 |
| ioapic_write_ul |
|
1 |
5 |
33 |
3 |
| ioapic_read |
|
1 |
9 |
44 |
2 |
| ioapic_write |
|
1 |
7 |
41 |
3 |
| ioapic_find |
|
5 |
13 |
70 |
1 |
| ioapic_find_bybase |
|
4 |
10 |
56 |
1 |
| ioapic_add |
|
1 |
6 |
22 |
1 |
| ioapic_print_redir |
|
1 |
6 |
59 |
3 |
| ioapic_match |
|
2 |
8 |
63 |
3 |
| ioapic_set_id |
|
2 |
13 |
82 |
1 |
| ioapic_attach |
|
12 |
61 |
467 |
3 |
| ioapic_activate |
|
2 |
11 |
65 |
2 |
| apic_set_redir |
|
10 |
38 |
246 |
2 |
| apic_vectorset |
|
8 |
31 |
216 |
4 |
| ioapic_enable |
|
10 |
35 |
211 |
1 |
| ioapic_hwmask |
|
2 |
13 |
78 |
2 |
| ioapic_hwunmask |
|
2 |
13 |
78 |
2 |
| apic_intr_establish |
|
20 |
66 |
445 |
6 |
| apic_intr_disestablish |
|
12 |
41 |
283 |
1 |
| apic_stray |
|
2 |
10 |
51 |
1 |
| ioapic_dump |
|
4 |
13 |
81 |
1 |
| Source file: ./sys/arch/i386/i386/est.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| est_acpi_init |
|
5 |
26 |
175 |
1 |
| est_acpi_pss_changed |
|
6 |
34 |
221 |
2 |
| est_init |
|
32 |
106 |
733 |
2 |
| est_setperf |
|
3 |
16 |
103 |
1 |
| Source file: ./sys/arch/i386/i386/nvram.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| nvramattach |
|
5 |
10 |
40 |
1 |
| nvramopen |
|
4 |
8 |
57 |
4 |
| nvramclose |
|
1 |
4 |
23 |
4 |
| nvramread |
|
8 |
21 |
165 |
3 |
| nvram_get_byte |
|
2 |
6 |
31 |
1 |
| nvram_csum_valid |
|
3 |
13 |
84 |
1 |
| Source file: ./sys/arch/i386/i386/disksubr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| readdisklabel |
|
13 |
43 |
306 |
4 |
| writedisklabel |
|
4 |
30 |
213 |
3 |
| Source file: ./sys/arch/i386/i386/gdt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| setgdt |
|
3 |
12 |
103 |
7 |
| gdt_init |
|
3 |
22 |
163 |
1 |
| gdt_alloc_cpu |
|
3 |
20 |
175 |
1 |
| gdt_init_cpu |
|
1 |
6 |
33 |
1 |
| gdt_get_slot |
|
3 |
15 |
64 |
1 |
| gdt_put_slot |
|
1 |
8 |
41 |
1 |
| tss_alloc |
|
1 |
8 |
52 |
1 |
| tss_free |
|
1 |
4 |
15 |
1 |
| Source file: ./sys/arch/i386/i386/esmvar.h |
| Source file: ./sys/arch/i386/i386/longrun.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| longrun_init |
|
1 |
6 |
28 |
1 |
| longrun_update |
|
1 |
11 |
57 |
1 |
| longrun_setperf |
|
2 |
21 |
149 |
1 |
| Source file: ./sys/arch/i386/i386/powernow.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| k6_powernow_init |
|
4 |
21 |
106 |
1 |
| k6_powernow_setperf |
|
1 |
15 |
93 |
1 |
| Source file: ./sys/arch/i386/i386/kvm86.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| kvm86_init |
|
4 |
33 |
287 |
1 |
| kvm86_prepare |
|
1 |
9 |
79 |
1 |
| kvm86_map |
|
1 |
4 |
35 |
3 |
| kvm86_mapbios |
|
2 |
7 |
44 |
1 |
| kvm86_bios_addpage |
|
3 |
12 |
84 |
1 |
| kvm86_bios_delpage |
|
1 |
5 |
35 |
2 |
| kvm86_bios_read |
|
3 |
20 |
146 |
3 |
| kvm86_bioscall |
|
2 |
21 |
131 |
2 |
| kvm86_simplecall |
|
1 |
25 |
180 |
2 |
| kvm86_gpfault |
|
10 |
56 |
417 |
1 |
| Source file: ./sys/arch/i386/i386/apic.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| apic_format_redir |
|
2 |
8 |
56 |
5 |
| Source file: ./sys/arch/i386/i386/sys_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| i386_iopl |
|
8 |
19 |
120 |
3 |
| i386_get_threadbase |
|
1 |
6 |
41 |
2 |
| i386_set_threadbase |
|
3 |
11 |
86 |
3 |
| sys_sysarch |
|
10 |
46 |
263 |
3 |
| Source file: ./sys/arch/i386/i386/bus_space.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| i386_bus_space_io_read_1 |
|
1 |
4 |
20 |
2 |
| i386_bus_space_io_read_2 |
|
1 |
4 |
20 |
2 |
| i386_bus_space_io_read_4 |
|
1 |
4 |
20 |
2 |
| i386_bus_space_io_read_multi_1 |
|
1 |
5 |
28 |
4 |
| i386_bus_space_io_read_multi_2 |
|
1 |
5 |
28 |
4 |
| i386_bus_space_io_read_multi_4 |
|
1 |
5 |
28 |
4 |
| i386_bus_space_io_read_region_1 |
|
1 |
14 |
65 |
4 |
| i386_bus_space_io_read_region_2 |
|
1 |
14 |
65 |
4 |
| i386_bus_space_io_read_region_4 |
|
1 |
14 |
65 |
4 |
| i386_bus_space_io_write_1 |
|
1 |
4 |
22 |
3 |
| i386_bus_space_io_write_2 |
|
1 |
4 |
22 |
3 |
| i386_bus_space_io_write_4 |
|
1 |
4 |
22 |
3 |
| i386_bus_space_io_write_multi_1 |
|
1 |
5 |
29 |
4 |
| i386_bus_space_io_write_multi_2 |
|
1 |
5 |
29 |
4 |
| i386_bus_space_io_write_multi_4 |
|
1 |
5 |
29 |
4 |
| i386_bus_space_io_write_region_1 |
|
1 |
14 |
67 |
4 |
| i386_bus_space_io_write_region_2 |
|
1 |
14 |
67 |
4 |
| i386_bus_space_io_write_region_4 |
|
1 |
14 |
67 |
4 |
| i386_bus_space_io_set_multi_1 |
|
1 |
10 |
47 |
4 |
| i386_bus_space_io_set_multi_2 |
|
1 |
10 |
47 |
4 |
| i386_bus_space_io_set_multi_4 |
|
1 |
10 |
47 |
4 |
| i386_bus_space_io_set_region_1 |
|
1 |
12 |
53 |
4 |
| i386_bus_space_io_set_region_2 |
|
1 |
12 |
53 |
4 |
| i386_bus_space_io_set_region_4 |
|
1 |
12 |
53 |
4 |
| i386_bus_space_io_copy_1 |
|
1 |
17 |
71 |
5 |
| i386_bus_space_io_copy_2 |
|
1 |
17 |
71 |
5 |
| i386_bus_space_io_copy_4 |
|
1 |
17 |
71 |
5 |
| i386_bus_space_io_vaddr |
|
1 |
4 |
12 |
1 |
| i386_bus_space_io_mmap |
|
1 |
4 |
22 |
4 |
| i386_bus_space_mem_read_1 |
|
1 |
4 |
29 |
2 |
| i386_bus_space_mem_read_2 |
|
1 |
4 |
29 |
2 |
| i386_bus_space_mem_read_4 |
|
1 |
4 |
29 |
2 |
| i386_bus_space_mem_read_multi_1 |
|
1 |
12 |
59 |
4 |
| i386_bus_space_mem_read_multi_2 |
|
1 |
12 |
63 |
4 |
| i386_bus_space_mem_read_multi_4 |
|
1 |
12 |
59 |
4 |
| i386_bus_space_mem_read_region_1 |
|
1 |
8 |
46 |
4 |
| i386_bus_space_mem_read_region_2 |
|
1 |
8 |
46 |
4 |
| i386_bus_space_mem_read_region_4 |
|
1 |
8 |
46 |
4 |
| i386_bus_space_mem_write_1 |
|
1 |
4 |
34 |
3 |
| i386_bus_space_mem_write_2 |
|
1 |
4 |
34 |
3 |
| i386_bus_space_mem_write_4 |
|
1 |
4 |
34 |
3 |
| i386_bus_space_mem_write_multi_1 |
|
1 |
12 |
61 |
4 |
| i386_bus_space_mem_write_multi_2 |
|
1 |
12 |
61 |
4 |
| i386_bus_space_mem_write_multi_4 |
|
1 |
12 |
61 |
4 |
| i386_bus_space_mem_write_region_1 |
|
1 |
8 |
48 |
4 |
| i386_bus_space_mem_write_region_2 |
|
1 |
8 |
48 |
4 |
| i386_bus_space_mem_write_region_4 |
|
1 |
8 |
48 |
4 |
| i386_bus_space_mem_set_multi_1 |
|
1 |
10 |
49 |
4 |
| i386_bus_space_mem_set_multi_2 |
|
1 |
10 |
49 |
4 |
| i386_bus_space_mem_set_multi_4 |
|
1 |
10 |
49 |
4 |
| i386_bus_space_mem_set_region_1 |
|
1 |
11 |
54 |
4 |
| i386_bus_space_mem_set_region_2 |
|
1 |
11 |
54 |
4 |
| i386_bus_space_mem_set_region_4 |
|
1 |
11 |
54 |
4 |
| i386_bus_space_mem_copy_1 |
|
1 |
8 |
49 |
5 |
| i386_bus_space_mem_copy_2 |
|
1 |
8 |
49 |
5 |
| i386_bus_space_mem_copy_4 |
|
1 |
8 |
49 |
5 |
| i386_bus_space_mem_vaddr |
|
1 |
4 |
16 |
1 |
| i386_bus_space_mem_mmap |
|
1 |
4 |
23 |
4 |
| Source file: ./sys/arch/i386/i386/mem.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mmopen |
|
13 |
24 |
114 |
4 |
| mmclose |
|
3 |
6 |
36 |
4 |
| mmrw |
|
18 |
71 |
452 |
3 |
| mmmmap |
|
15 |
32 |
166 |
3 |
| mmioctl |
|
4 |
9 |
55 |
5 |
| mem_ioctl |
|
10 |
39 |
301 |
5 |
| mem_range_attr_get |
|
3 |
11 |
70 |
2 |
| mem_range_attr_set |
|
2 |
6 |
43 |
2 |
| Source file: ./sys/arch/i386/i386/powernow-k8.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| k8pnow_read_pending_wait |
|
3 |
11 |
49 |
1 |
| k8_powernow_setperf |
|
2 |
10 |
59 |
1 |
| k8pnow_transition |
|
20 |
65 |
446 |
2 |
| k8pnow_decode_pst |
|
4 |
21 |
156 |
2 |
| k8pnow_states |
|
8 |
36 |
261 |
4 |
| k8pnow_acpi_states |
|
6 |
27 |
214 |
4 |
| k8pnow_acpi_pss_changed |
|
1 |
18 |
116 |
2 |
| k8pnow_acpi_init |
|
2 |
19 |
127 |
2 |
| k8_powernow_init |
|
12 |
52 |
314 |
1 |
| Source file: ./sys/arch/i386/i386/rbus_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rbus_pccbb_parent_mem |
|
2 |
11 |
67 |
2 |
| rbus_pccbb_parent_io |
|
3 |
14 |
86 |
2 |
| pccbb_attach_hook |
|
1 |
4 |
19 |
3 |
| Source file: ./sys/arch/i386/i386/amdmsr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| amdmsr_probe |
|
7 |
17 |
109 |
1 |
| amdmsr_match |
|
1 |
5 |
44 |
3 |
| amdmsr_attach |
|
1 |
4 |
23 |
3 |
| amdmsropen |
|
7 |
12 |
71 |
4 |
| amdmsrclose |
|
2 |
5 |
24 |
4 |
| amdmsrioctl |
|
3 |
15 |
79 |
5 |
| Source file: ./sys/arch/i386/i386/amd64errata.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| amd64_errata_testmsr |
|
2 |
10 |
56 |
2 |
| amd64_errata_setmsr |
|
4 |
15 |
104 |
2 |
| amd64_errata |
|
31 |
76 |
487 |
1 |
| Source file: ./sys/arch/i386/i386/db_memrw.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| db_read_bytes |
|
2 |
7 |
41 |
3 |
| db_write_text |
|
10 |
37 |
220 |
3 |
| db_write_bytes |
|
4 |
13 |
72 |
3 |
| Source file: ./sys/arch/i386/i386/hibernate_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| get_hibernate_io_function |
|
16 |
28 |
225 |
1 |
| get_hibernate_info_md |
|
12 |
62 |
525 |
1 |
| hibernate_enter_resume_mapping |
|
2 |
7 |
34 |
3 |
| hibernate_enter_resume_4m_pde |
|
1 |
7 |
44 |
2 |
| hibernate_enter_resume_4k_pte |
|
1 |
7 |
42 |
2 |
| hibernate_enter_resume_4k_pde |
|
1 |
7 |
39 |
1 |
| hibernate_populate_resume_pt |
|
5 |
50 |
410 |
3 |
| hibernate_inflate_skip |
|
3 |
7 |
42 |
2 |
| hibernate_enable_intr_machdep |
|
1 |
4 |
10 |
1 |
| hibernate_disable_intr_machdep |
|
1 |
4 |
10 |
1 |
| hibernate_quiesce_cpus |
|
1 |
4 |
16 |
1 |
| Source file: ./sys/arch/i386/i386/db_interface.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| kdbprinttrap |
|
3 |
9 |
50 |
2 |
| db_ktrap |
|
16 |
65 |
393 |
3 |
| db_sysregs_cmd |
|
1 |
22 |
188 |
4 |
| db_cpuinfo_cmd |
|
9 |
31 |
149 |
4 |
| db_startproc_cmd |
|
9 |
16 |
103 |
4 |
| db_stopproc_cmd |
|
9 |
17 |
105 |
4 |
| db_ddbproc_cmd |
|
6 |
16 |
86 |
4 |
| db_machine_init |
|
5 |
9 |
47 |
1 |
| db_enter |
|
1 |
4 |
11 |
1 |
| Source file: ./sys/arch/i386/i386/conf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| iskmemdev |
|
3 |
4 |
33 |
1 |
| iszerodev |
|
2 |
4 |
24 |
1 |
| getnulldev |
|
1 |
4 |
14 |
1 |
| dev_rawpart |
|
3 |
14 |
55 |
1 |
| Source file: ./sys/arch/i386/i386/process_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| process_frame |
|
1 |
4 |
18 |
1 |
| process_fpframe |
|
1 |
4 |
21 |
1 |
| process_xmm_to_s87 |
|
4 |
24 |
254 |
2 |
| process_fninit_xmm |
|
1 |
9 |
62 |
1 |
| process_read_regs |
|
3 |
30 |
231 |
2 |
| process_read_fpregs |
|
5 |
24 |
175 |
2 |
| process_s87_to_xmm |
|
4 |
24 |
254 |
2 |
| process_write_regs |
|
5 |
33 |
266 |
2 |
| process_write_fpregs |
|
5 |
18 |
123 |
2 |
| process_read_xmmregs |
|
4 |
14 |
93 |
2 |
| process_write_xmmregs |
|
4 |
13 |
94 |
2 |
| process_sstep |
|
2 |
9 |
44 |
2 |
| process_set_pc |
|
1 |
6 |
36 |
2 |
| Source file: ./sys/arch/i386/i386/vm_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cpu_fork |
|
7 |
28 |
270 |
6 |
| cpu_exit |
|
3 |
7 |
42 |
1 |
| kvtop |
|
2 |
7 |
42 |
1 |
| vmapbuf |
|
3 |
21 |
155 |
2 |
| vunmapbuf |
|
2 |
14 |
103 |
2 |
| Source file: ./sys/arch/i386/i386/ipifuncs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| i386_ipi_nop |
|
1 |
3 |
9 |
1 |
| i386_ipi_halt |
|
2 |
14 |
63 |
1 |
| i386_ipi_flush_fpu |
|
2 |
5 |
26 |
1 |
| i386_ipi_synch_fpu |
|
2 |
5 |
26 |
1 |
| i386_ipi_reload_mtrr |
|
2 |
5 |
27 |
1 |
| i386_spurious |
|
1 |
4 |
11 |
1 |
| i386_send_ipi |
|
2 |
8 |
48 |
2 |
| i386_fast_ipi |
|
2 |
7 |
42 |
2 |
| i386_broadcast_ipi |
|
4 |
17 |
86 |
1 |
| i386_ipi_handler |
|
4 |
15 |
93 |
1 |
| i386_ipi_start_vmm |
|
1 |
4 |
14 |
1 |
| i386_ipi_stop_vmm |
|
1 |
4 |
14 |
1 |
| Source file: ./sys/arch/i386/i386/machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cyrix_read_reg |
|
1 |
5 |
20 |
1 |
| cyrix_write_reg |
|
1 |
5 |
24 |
2 |
| cpuid |
|
1 |
12 |
42 |
2 |
| cpu_startup |
|
4 |
39 |
295 |
1 |
| i386_proc0_tss_init |
|
1 |
13 |
120 |
1 |
| i386_init_pcb_tss |
|
1 |
7 |
51 |
1 |
| winchip_cpu_setup |
|
2 |
10 |
55 |
1 |
| cyrix3_setperf_setup |
|
3 |
10 |
50 |
1 |
| cyrix3_cpu_setup |
|
38 |
101 |
581 |
1 |
| via_update_sensor |
|
4 |
18 |
94 |
1 |
| cyrix6x86_cpu_setup |
|
4 |
23 |
160 |
1 |
| natsem6x86_cpu_setup |
|
2 |
12 |
57 |
1 |
| intel586_cpu_setup |
|
2 |
8 |
31 |
1 |
| amd_family5_setperf_setup |
|
1 |
4 |
13 |
1 |
| amd_family5_setup |
|
6 |
14 |
62 |
1 |
| amd_family6_setperf_setup |
|
4 |
14 |
60 |
1 |
| amd_family6_setup |
|
4 |
15 |
88 |
1 |
| intelcore_update_sensor |
|
10 |
25 |
168 |
1 |
| intel686_cpusensors_setup |
|
3 |
11 |
91 |
1 |
| intel686_setperf_setup |
|
4 |
14 |
99 |
1 |
| intel686_common_cpu_setup |
|
4 |
16 |
80 |
1 |
| intel686_cpu_setup |
|
8 |
20 |
139 |
1 |
| intel686_p4_cpu_setup |
|
2 |
6 |
31 |
1 |
| tm86_cpu_setup |
|
2 |
4 |
13 |
1 |
| intel686_cpu_name |
|
11 |
33 |
104 |
1 |
| cyrix3_cpu_name |
|
3 |
13 |
45 |
2 |
| identifycpu |
|
126 |
332 |
2258 |
1 |
| tm86_cpu_name |
|
3 |
14 |
65 |
1 |
| cyrix3_get_bus_clock |
|
5 |
21 |
75 |
1 |
| p4_get_bus_clock |
|
9 |
44 |
184 |
1 |
| p3_get_bus_clock |
|
35 |
115 |
417 |
1 |
| p4_update_cpuspeed |
|
2 |
15 |
73 |
1 |
| p3_update_cpuspeed |
|
3 |
20 |
138 |
1 |
| pentium_cpuspeed |
|
1 |
5 |
18 |
1 |
| sendsig |
|
12 |
78 |
709 |
6 |
| sys_sigreturn |
|
12 |
61 |
496 |
3 |
| cpu_kick |
|
4 |
14 |
67 |
1 |
| signotify |
|
1 |
5 |
21 |
1 |
| cpu_unidle |
|
4 |
9 |
52 |
1 |
| boot |
|
18 |
60 |
303 |
1 |
| dumpconf |
|
8 |
18 |
143 |
1 |
| cpu_dump |
|
1 |
11 |
109 |
1 |
| reserve_dumppages |
|
1 |
5 |
18 |
1 |
| dumpsys |
|
22 |
60 |
436 |
1 |
| setregs |
|
3 |
37 |
362 |
4 |
| setgate |
|
1 |
12 |
87 |
6 |
| unsetgate |
|
1 |
11 |
57 |
1 |
| setregion |
|
1 |
5 |
34 |
3 |
| setsegment |
|
1 |
14 |
106 |
7 |
| fix_f00f |
|
1 |
16 |
121 |
1 |
| cpu_init_idt |
|
1 |
6 |
36 |
1 |
| init386 |
|
57 |
171 |
1685 |
1 |
| consinit |
|
1 |
3 |
6 |
1 |
| cpu_reset |
|
3 |
19 |
125 |
1 |
| cpu_initclocks |
|
1 |
4 |
13 |
1 |
| need_resched |
|
2 |
8 |
35 |
1 |
| idt_vec_alloc |
|
3 |
8 |
47 |
2 |
| idt_vec_set |
|
1 |
4 |
35 |
2 |
| idt_vec_free |
|
1 |
4 |
16 |
1 |
| cpu_sysctl |
|
30 |
77 |
545 |
7 |
| bus_space_map |
|
12 |
37 |
209 |
5 |
| _bus_space_map |
|
2 |
9 |
52 |
5 |
| bus_space_alloc |
|
11 |
37 |
224 |
9 |
| bus_mem_add_mapping |
|
8 |
27 |
179 |
4 |
| bus_space_unmap |
|
10 |
32 |
218 |
3 |
| _bus_space_unmap |
|
8 |
26 |
173 |
4 |
| bus_space_free |
|
1 |
4 |
22 |
3 |
| bus_space_subregion |
|
1 |
6 |
32 |
5 |
| bus_space_mmap |
|
2 |
6 |
38 |
5 |
| splassert_check |
|
4 |
7 |
55 |
2 |
| copyin32 |
|
2 |
6 |
38 |
2 |
| softintr |
|
1 |
6 |
37 |
1 |
| splraise |
|
1 |
6 |
22 |
1 |
| splx |
|
1 |
4 |
12 |
1 |
| spllower |
|
1 |
6 |
22 |
1 |
| intr_handler |
|
7 |
15 |
84 |
2 |
| intr_barrier |
|
1 |
4 |
13 |
1 |
| cpu_check_vmm_cap |
|
13 |
56 |
363 |
1 |
| Source file: ./sys/arch/i386/i386/mpbios_intr_fixup.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mpbios_icu_lookup |
|
4 |
9 |
58 |
1 |
| nforce4_mpbios_fixup |
|
6 |
23 |
194 |
2 |
| mcp04_mpbios_fixup |
|
3 |
13 |
99 |
2 |
| via8237_mpbios_fixup |
|
1 |
6 |
38 |
2 |
| mpbios_pin_fixup |
|
7 |
24 |
194 |
4 |
| mpbios_intr_fixup |
|
11 |
37 |
243 |
1 |
| Source file: ./sys/arch/i386/i386/p4tcc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| p4tcc_init |
|
12 |
29 |
120 |
2 |
| p4tcc_cpuspeed |
|
1 |
5 |
24 |
1 |
| p4tcc_setperf |
|
6 |
21 |
137 |
1 |
| Source file: ./sys/arch/i386/i386/mainbus.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mainbus_match |
|
1 |
4 |
22 |
3 |
| mainbus_attach |
|
28 |
92 |
672 |
3 |
| mainbus_print |
|
3 |
9 |
63 |
2 |
| Source file: ./sys/arch/i386/i386/k1x-pstate.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| k1x_setperf |
|
2 |
10 |
60 |
1 |
| k1x_transition |
|
7 |
25 |
153 |
2 |
| k1x_acpi_states |
|
4 |
21 |
152 |
3 |
| k1x_acpi_init |
|
2 |
9 |
47 |
1 |
| k1x_init |
|
6 |
27 |
154 |
1 |
| Source file: ./sys/arch/i386/i386/bios.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| biosprobe |
|
6 |
12 |
84 |
3 |
| biosattach |
|
73 |
223 |
1650 |
3 |
| bios_getopt |
|
33 |
85 |
506 |
1 |
| bios_print |
|
2 |
8 |
44 |
2 |
| bios32_service |
|
8 |
45 |
313 |
3 |
| bios32_cleanup |
|
3 |
13 |
81 |
1 |
| biosopen |
|
2 |
8 |
50 |
4 |
| biosclose |
|
2 |
8 |
50 |
4 |
| biosioctl |
|
2 |
12 |
64 |
5 |
| bios_sysctl |
|
10 |
27 |
183 |
7 |
| bios_getdiskinfo |
|
7 |
19 |
89 |
1 |
| smbios_find_table |
|
16 |
40 |
298 |
2 |
| smbios_get_string |
|
7 |
19 |
131 |
4 |
| fixstring |
|
9 |
19 |
170 |
1 |
| smbios_info |
|
35 |
106 |
821 |
1 |
| Source file: ./sys/arch/i386/i386/softintr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| softintr_init |
|
2 |
11 |
64 |
1 |
| softintr_dispatch |
|
3 |
20 |
117 |
1 |
| softintr_establish |
|
6 |
29 |
140 |
3 |
| softintr_disestablish |
|
2 |
12 |
79 |
1 |
| Source file: ./sys/arch/i386/i386/esmreg.h |
| Source file: ./sys/arch/i386/i386/db_trace.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| db_i386_numargs |
|
5 |
20 |
135 |
1 |
| db_nextframe |
|
6 |
33 |
202 |
5 |
| db_is_trap |
|
13 |
22 |
143 |
1 |
| db_stack_trace_print |
|
36 |
120 |
764 |
5 |
| db_save_stack_trace |
|
7 |
36 |
222 |
1 |
| db_get_pc |
|
2 |
9 |
87 |
1 |
| db_get_probe_addr |
|
1 |
4 |
16 |
1 |
| Source file: ./sys/arch/i386/i386/codepatch.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| codepatch_fill_nop |
|
9 |
38 |
180 |
2 |
| codepatch_maprw |
|
2 |
15 |
137 |
2 |
| codepatch_unmaprw |
|
2 |
7 |
43 |
1 |
| codepatch_nop |
|
3 |
17 |
97 |
1 |
| codepatch_replace |
|
4 |
22 |
146 |
3 |
| codepatch_call |
|
4 |
24 |
170 |
2 |
| Source file: ./sys/arch/i386/i386/wscons_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wscnprobe |
|
4 |
13 |
70 |
1 |
| wscninit |
|
2 |
9 |
34 |
1 |
| wscnputc |
|
1 |
4 |
17 |
2 |
| wscngetc |
|
1 |
4 |
15 |
1 |
| wscnpollc |
|
1 |
4 |
17 |
2 |
| wscn_video_init |
|
5 |
7 |
37 |
1 |
| wscn_input_init |
|
8 |
11 |
50 |
1 |
| Source file: ./sys/arch/i386/i386/mtrr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mem_range_attach |
|
13 |
22 |
167 |
1 |
| Source file: ./sys/arch/i386/i386/i686_mem.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mtrr2mrt |
|
3 |
6 |
29 |
1 |
| mtrrconflict |
|
6 |
10 |
50 |
2 |
| mem_range_match |
|
4 |
10 |
78 |
2 |
| mrfetch |
|
20 |
74 |
596 |
1 |
| mtrrtype |
|
4 |
12 |
60 |
1 |
| mrt2mtrr |
|
1 |
6 |
22 |
1 |
| mrstore |
|
2 |
7 |
27 |
1 |
| mrstoreone |
|
12 |
61 |
453 |
1 |
| mtrrfixsearch |
|
4 |
9 |
82 |
2 |
| mrsetlow |
|
7 |
17 |
174 |
3 |
| mrsetvariable |
|
12 |
35 |
249 |
3 |
| mrset |
|
11 |
32 |
212 |
3 |
| mrinit |
|
12 |
57 |
431 |
1 |
| mrinit_cpu |
|
1 |
4 |
14 |
1 |
| mrreload_cpu |
|
1 |
6 |
22 |
1 |
| Source file: ./sys/arch/i386/i386/powernow-k7.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| k7_powernow_setperf |
|
13 |
42 |
300 |
1 |
| k7pnow_decode_pst |
|
6 |
25 |
193 |
3 |
| k7pnow_states |
|
11 |
38 |
272 |
4 |
| k7pnow_acpi_states |
|
7 |
29 |
214 |
4 |
| k7pnow_acpi_pss_changed |
|
1 |
13 |
74 |
2 |
| k7pnow_acpi_init |
|
3 |
19 |
117 |
2 |
| k7_powernow_init |
|
12 |
54 |
347 |
1 |
| Source file: ./sys/arch/i386/i386/trap.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| trap |
|
81 |
297 |
1752 |
1 |
| ast |
|
1 |
11 |
66 |
1 |
| syscall |
|
20 |
78 |
459 |
1 |
| child_return |
|
1 |
9 |
52 |
1 |
| Source file: ./sys/arch/i386/i386/pmapae.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pmap_pte2flags |
|
3 |
5 |
34 |
1 |
| pmap_sync_flags_pte_pae |
|
2 |
6 |
37 |
2 |
| pmap_map_ptes_pae |
|
8 |
24 |
197 |
1 |
| pmap_unmap_ptes_pae |
|
4 |
14 |
81 |
1 |
| pmap_pte_set_pae |
|
2 |
12 |
66 |
3 |
| pmap_pte_setbits_pae |
|
1 |
7 |
51 |
3 |
| pmap_pte_bits_pae |
|
1 |
5 |
24 |
1 |
| pmap_pte_paddr_pae |
|
1 |
5 |
24 |
1 |
| pmap_bootstrap_pae |
|
13 |
92 |
785 |
1 |
| pmap_alloc_ptp_pae |
|
2 |
15 |
113 |
3 |
| pmap_get_ptp_pae |
|
6 |
16 |
111 |
2 |
| pmap_drop_ptp_pae |
|
3 |
12 |
119 |
4 |
| pmap_pinit_pd_pae |
|
2 |
38 |
440 |
1 |
| pmap_extract_pae |
|
4 |
15 |
105 |
3 |
| pmap_zero_phys_pae |
|
4 |
12 |
78 |
1 |
| pmap_zero_page_uncached_pae |
|
4 |
13 |
85 |
1 |
| pmap_copy_page_pae |
|
5 |
18 |
161 |
2 |
| pmap_remove_ptes_pae |
|
15 |
38 |
244 |
7 |
| pmap_do_remove_pae |
|
19 |
61 |
398 |
4 |
| pmap_page_remove_pae |
|
12 |
63 |
466 |
1 |
| pmap_test_attrs_pae |
|
5 |
25 |
183 |
2 |
| pmap_clear_attrs_pae |
|
6 |
32 |
234 |
2 |
| pmap_write_protect_pae |
|
15 |
48 |
321 |
4 |
| pmap_unwire_pae |
|
7 |
23 |
135 |
2 |
| pmap_enter_pae |
|
49 |
142 |
805 |
5 |
| pmap_growkernel_pae |
|
6 |
33 |
202 |
1 |
| pmap_prealloc_lowmem_ptp_pae |
|
1 |
9 |
62 |
1 |
| pmap_tmpmap_pa_pae |
|
4 |
10 |
62 |
1 |
| pmap_tmpunmap_pa_pae |
|
5 |
10 |
61 |
1 |
| vtophys_pae |
|
1 |
4 |
26 |
1 |
| pmap_flush_page_pae |
|
4 |
14 |
93 |
1 |
| pmap_convert |
|
8 |
51 |
361 |
2 |
| Source file: ./sys/arch/i386/i386/mpbios.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mpbios_match |
|
2 |
8 |
58 |
3 |
| mpbios_attach |
|
1 |
4 |
23 |
3 |
| mp_print |
|
2 |
7 |
40 |
2 |
| mp_match |
|
2 |
8 |
68 |
3 |
| mpbios_map |
|
2 |
18 |
125 |
3 |
| mpbios_unmap |
|
1 |
5 |
33 |
1 |
| mpbios_probe |
|
19 |
81 |
450 |
1 |
| mpbios_cksum |
|
2 |
9 |
49 |
2 |
| mpbios_search |
|
5 |
22 |
189 |
4 |
| mpbios_scan |
|
26 |
97 |
543 |
1 |
| mpbios_invent |
|
6 |
28 |
168 |
3 |
| mpbios_cpu |
|
6 |
24 |
157 |
2 |
| mp_cfg_special_intr |
|
4 |
20 |
100 |
2 |
| mp_cfg_pci_intr |
|
8 |
33 |
152 |
2 |
| mp_cfg_eisa_intr |
|
9 |
40 |
189 |
2 |
| mp_cfg_isa_intr |
|
8 |
33 |
152 |
2 |
| mp_print_special_intr |
|
1 |
3 |
7 |
1 |
| mp_print_pci_intr |
|
1 |
4 |
29 |
1 |
| mp_print_isa_intr |
|
1 |
4 |
14 |
1 |
| mp_print_eisa_intr |
|
1 |
4 |
14 |
1 |
| mpbios_bus |
|
8 |
42 |
325 |
2 |
| mpbios_ioapic |
|
3 |
15 |
124 |
2 |
| mpbios_int |
|
17 |
95 |
557 |
2 |
| Source file: ./sys/arch/i386/i386/via.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| viac3_crypto_setup |
|
3 |
22 |
147 |
1 |
| viac3_crypto_newsession |
|
28 |
133 |
884 |
2 |
| viac3_crypto_freesession |
|
6 |
28 |
203 |
1 |
| viac3_cbc |
|
1 |
12 |
100 |
6 |
| viac3_crypto_swauth |
|
2 |
10 |
58 |
4 |
| viac3_crypto_encdec |
|
17 |
78 |
652 |
5 |
| viac3_crypto_process |
|
16 |
49 |
258 |
1 |
| viac3_rnd |
|
4 |
17 |
141 |
1 |
| Source file: ./sys/arch/i386/i386/apm.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| apm_get_event |
|
1 |
7 |
37 |
1 |
| apm_err_translate |
|
14 |
33 |
96 |
1 |
| apm_perror |
|
1 |
8 |
42 |
2 |
| apm_suspend |
|
5 |
33 |
146 |
1 |
| apm_resume |
|
1 |
5 |
27 |
2 |
| apm_record_event |
|
3 |
11 |
65 |
2 |
| apm_handle_event |
|
36 |
116 |
558 |
2 |
| apm_periodic_check |
|
14 |
37 |
194 |
1 |
| apm_powmgt_enable |
|
4 |
9 |
60 |
1 |
| apm_powmgt_engage |
|
4 |
12 |
79 |
2 |
| apm_devpowmgt_enable |
|
4 |
12 |
79 |
2 |
| apm_set_powstate |
|
6 |
16 |
95 |
2 |
| apm_cpu_slow |
|
4 |
13 |
85 |
1 |
| apm_cpu_busy |
|
5 |
13 |
64 |
1 |
| apm_cpu_idle |
|
5 |
17 |
104 |
1 |
| apm_set_ver |
|
12 |
37 |
228 |
1 |
| apm_disconnect |
|
4 |
13 |
88 |
1 |
| apmprobe |
|
13 |
30 |
230 |
3 |
| apmattach |
|
16 |
108 |
817 |
3 |
| apm_thread_create |
|
4 |
20 |
92 |
1 |
| apm_thread |
|
2 |
10 |
58 |
1 |
| apmopen |
|
11 |
38 |
205 |
4 |
| apmclose |
|
6 |
20 |
122 |
4 |
| apmioctl |
|
35 |
115 |
652 |
5 |
| filt_apmrdetach |
|
1 |
7 |
53 |
1 |
| filt_apmread |
|
3 |
6 |
35 |
2 |
| apmkqfilter |
|
5 |
19 |
118 |
2 |
| Source file: ./sys/arch/i386/stand/boot/conf.c |
| Source file: ./sys/arch/i386/stand/pxeboot/pxe_udp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sendudp |
|
1 |
4 |
26 |
3 |
| readudp |
|
1 |
4 |
31 |
4 |
| Source file: ./sys/arch/i386/i386/bus_dma.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _bus_dmamap_create |
|
3 |
22 |
160 |
7 |
| _bus_dmamap_destroy |
|
1 |
7 |
45 |
2 |
| _bus_dmamap_load |
|
3 |
18 |
116 |
6 |
| _bus_dmamap_load_mbuf |
|
8 |
28 |
189 |
4 |
| _bus_dmamap_load_uio |
|
10 |
37 |
247 |
4 |
| _bus_dmamap_load_raw |
|
15 |
54 |
381 |
6 |
| _bus_dmamap_unload |
|
1 |
5 |
22 |
2 |
| _bus_dmamap_sync |
|
1 |
5 |
29 |
5 |
| _bus_dmamem_alloc |
|
1 |
7 |
63 |
8 |
| _bus_dmamem_free |
|
3 |
17 |
108 |
3 |
| _bus_dmamem_map |
|
8 |
37 |
267 |
6 |
| _bus_dmamem_unmap |
|
3 |
6 |
43 |
3 |
| _bus_dmamem_mmap |
|
8 |
22 |
145 |
6 |
| _bus_dmamap_load_buffer |
|
13 |
54 |
363 |
9 |
| _bus_dmamem_alloc_range |
|
10 |
46 |
309 |
10 |
| Source file: ./sys/arch/i386/stand/pxeboot/conf.c |
| Source file: ./sys/arch/i386/stand/pxeboot/open.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| oopen |
|
15 |
47 |
289 |
2 |
| Source file: ./sys/arch/i386/stand/cdboot/conf.c |
| Source file: ./sys/arch/i386/stand/pxeboot/devopen.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| devopen |
|
22 |
47 |
331 |
3 |
| devboot |
|
1 |
8 |
40 |
2 |
| ttyname |
|
1 |
6 |
37 |
1 |
| ttydev |
|
9 |
13 |
126 |
1 |
| cnspeed |
|
2 |
6 |
32 |
2 |
| Source file: ./sys/arch/i386/stand/libsa/dev_i386.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| devopen |
|
13 |
23 |
159 |
3 |
| devboot |
|
12 |
38 |
247 |
2 |
| ttyname |
|
1 |
6 |
37 |
1 |
| ttydev |
|
9 |
13 |
124 |
1 |
| cnspeed |
|
2 |
6 |
30 |
2 |
| Source file: ./sys/arch/i386/stand/libsa/softraid_i386.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| srprobe_meta_opt_load |
|
7 |
35 |
287 |
2 |
| srprobe_keydisk_load |
|
4 |
26 |
209 |
1 |
| srprobe |
|
29 |
131 |
913 |
1 |
| sr_strategy |
|
13 |
55 |
420 |
6 |
| sr_getdisklabel |
|
7 |
31 |
255 |
2 |
| Source file: ./sys/arch/i386/stand/libsa/debug.h |
| Source file: ./sys/arch/i386/stand/libsa/machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| machdep |
|
4 |
15 |
92 |
1 |
| check_skip_conf |
|
1 |
5 |
26 |
1 |
| Source file: ./sys/arch/i386/stand/libsa/debug_md.h |
| Source file: ./sys/arch/i386/stand/libsa/softraid_i386.h |
| Source file: ./sys/arch/i386/stand/libsa/gidt.h |
| Source file: ./sys/arch/i386/stand/libsa/elf32.c |
| Source file: ./sys/arch/i386/stand/libsa/cpuprobe.h |
| Source file: ./sys/arch/i386/stand/libsa/pxe_net.h |
| Source file: ./sys/arch/i386/stand/libsa/memprobe.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| checkA20 |
|
2 |
12 |
71 |
1 |
| bios_E820 |
|
7 |
23 |
163 |
1 |
| bios_8800 |
|
3 |
13 |
82 |
1 |
| bios_int12 |
|
2 |
10 |
64 |
1 |
| addrprobe |
|
7 |
26 |
190 |
1 |
| badprobe |
|
4 |
12 |
71 |
1 |
| memprobe |
|
13 |
35 |
243 |
1 |
| dump_biosmem |
|
4 |
16 |
111 |
1 |
| mem_limit |
|
7 |
16 |
130 |
1 |
| mem_delete |
|
11 |
30 |
242 |
2 |
| mem_add |
|
11 |
32 |
226 |
2 |
| mem_pass |
|
2 |
8 |
45 |
1 |
| Source file: ./sys/arch/i386/stand/libsa/disk.h |
| Source file: ./sys/arch/i386/stand/libsa/ps2probe.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ps2probe |
|
2 |
12 |
69 |
1 |
| Source file: ./sys/arch/i386/stand/libsa/cmd_i386.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| Xdiskinfo |
|
1 |
5 |
13 |
1 |
| Xregs |
|
1 |
5 |
11 |
1 |
| Xboot |
|
18 |
47 |
387 |
1 |
| Xmemory |
|
16 |
55 |
253 |
1 |
| Xcomaddr |
|
2 |
7 |
40 |
1 |
| Source file: ./sys/arch/i386/stand/libsa/time.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bcdtoint |
|
1 |
4 |
26 |
1 |
| compute |
|
4 |
11 |
96 |
6 |
| bios_time_date |
|
2 |
20 |
115 |
2 |
| biosdate |
|
1 |
4 |
19 |
1 |
| biostime |
|
1 |
4 |
19 |
1 |
| getsecs |
|
4 |
12 |
92 |
1 |
| sleep |
|
2 |
7 |
35 |
1 |
| Source file: ./sys/arch/i386/stand/libsa/pxeboot.h |
| Source file: ./sys/arch/i386/stand/libsa/debug.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| debug_init |
|
1 |
3 |
6 |
1 |
| dump_regs |
|
3 |
18 |
162 |
2 |
| dump_mem |
|
5 |
9 |
87 |
3 |
| d_putc |
|
5 |
12 |
92 |
2 |
| Source file: ./sys/arch/i386/stand/libsa/exec_i386.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| run_loadfile |
|
14 |
55 |
430 |
2 |
| Source file: ./sys/arch/i386/i386/pmap.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pmap_pte2flags |
|
3 |
5 |
34 |
1 |
| pmap_sync_flags_pte_86 |
|
2 |
6 |
37 |
2 |
| pmap_apte_flush |
|
1 |
5 |
14 |
1 |
| pmap_map_ptes_86 |
|
8 |
22 |
134 |
1 |
| pmap_unmap_ptes_86 |
|
4 |
11 |
58 |
1 |
| pmap_exec_account |
|
8 |
17 |
131 |
4 |
| pmap_exec_fixup |
|
6 |
24 |
166 |
3 |
| pmap_pte_set_86 |
|
1 |
7 |
46 |
3 |
| pmap_pte_setbits_86 |
|
1 |
7 |
46 |
3 |
| pmap_pte_bits_86 |
|
1 |
5 |
24 |
1 |
| pmap_pte_paddr_86 |
|
1 |
5 |
24 |
1 |
| pmap_tmpmap_pa |
|
5 |
14 |
76 |
1 |
| pmap_tmpunmap_pa |
|
6 |
16 |
77 |
1 |
| vtophys |
|
2 |
7 |
37 |
1 |
| setcslimit |
|
1 |
9 |
86 |
4 |
| pmap_kenter_pa |
|
11 |
23 |
164 |
3 |
| pmap_kremove |
|
4 |
13 |
79 |
2 |
| pmap_bootstrap |
|
7 |
68 |
572 |
1 |
| pmap_prealloc_lowmem_ptp |
|
2 |
13 |
74 |
1 |
| pmap_init |
|
1 |
6 |
26 |
1 |
| pmap_pv_page_alloc |
|
2 |
8 |
64 |
3 |
| pmap_pv_page_free |
|
1 |
4 |
29 |
2 |
| pmap_enter_pv |
|
1 |
11 |
83 |
5 |
| pmap_remove_pv |
|
4 |
15 |
104 |
3 |
| pmap_alloc_ptp_86 |
|
2 |
15 |
113 |
3 |
| pmap_get_ptp_86 |
|
6 |
16 |
111 |
2 |
| pmap_drop_ptp_86 |
|
3 |
12 |
119 |
4 |
| pmap_create |
|
2 |
20 |
140 |
1 |
| pmap_pinit_pd_86 |
|
2 |
17 |
168 |
1 |
| pmap_destroy |
|
7 |
23 |
159 |
1 |
| pmap_reference |
|
1 |
4 |
19 |
1 |
| pmap_activate |
|
1 |
6 |
35 |
1 |
| pmap_switch |
|
5 |
22 |
173 |
2 |
| pmap_deactivate |
|
1 |
3 |
9 |
1 |
| pmap_extract_86 |
|
4 |
15 |
105 |
3 |
| pmap_virtual_space |
|
1 |
5 |
22 |
2 |
| pmap_zero_page |
|
1 |
4 |
17 |
1 |
| pmap_zero_phys_86 |
|
4 |
12 |
78 |
1 |
| pmap_zero_page_uncached_86 |
|
4 |
13 |
85 |
1 |
| pmap_flush_cache |
|
3 |
12 |
64 |
2 |
| pmap_flush_page |
|
5 |
20 |
110 |
1 |
| pmap_copy_page_86 |
|
5 |
18 |
161 |
2 |
| pmap_remove_ptes_86 |
|
15 |
38 |
244 |
7 |
| pmap_remove |
|
1 |
4 |
26 |
3 |
| pmap_do_remove_86 |
|
18 |
61 |
387 |
4 |
| pmap_page_remove_86 |
|
12 |
63 |
464 |
1 |
| pmap_test_attrs_86 |
|
5 |
25 |
183 |
2 |
| pmap_clear_attrs_86 |
|
6 |
31 |
228 |
2 |
| pmap_write_protect_86 |
|
13 |
48 |
307 |
4 |
| pmap_unwire_86 |
|
7 |
22 |
127 |
2 |
| pmap_collect |
|
1 |
5 |
20 |
1 |
| pmap_enter_86 |
|
48 |
140 |
792 |
5 |
| pmap_growkernel_86 |
|
6 |
32 |
198 |
1 |
| pmap_tlb_shootpage |
|
10 |
31 |
189 |
2 |
| pmap_tlb_shootrange |
|
11 |
34 |
213 |
3 |
| pmap_tlb_shoottlb |
|
8 |
28 |
161 |
1 |
| pmap_tlb_droppmap |
|
10 |
31 |
183 |
1 |
| pmap_tlb_shootwait |
|
2 |
5 |
16 |
1 |
| pmap_tlb_shootpage |
|
2 |
5 |
24 |
2 |
| pmap_tlb_shootrange |
|
2 |
6 |
37 |
3 |
| pmap_tlb_shoottlb |
|
1 |
4 |
10 |
1 |
| Source file: ./sys/arch/i386/stand/libsa/pxe.h |
| Source file: ./sys/arch/i386/stand/libsa/biosdev.h |
| Source file: ./sys/arch/i386/stand/libsa/cpuprobe.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cpuid |
|
1 |
13 |
45 |
2 |
| cpuprobe |
|
7 |
51 |
323 |
1 |
| dump_cpuinfo |
|
2 |
10 |
49 |
1 |
| Source file: ./sys/arch/i386/stand/libsa/libsa.h |
| Source file: ./sys/arch/i386/i386/db_disasm.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| db_read_address |
|
13 |
72 |
419 |
4 |
| db_print_address |
|
7 |
18 |
129 |
3 |
| db_disasm_esc |
|
19 |
75 |
441 |
5 |
| db_disasm |
|
81 |
296 |
1655 |
2 |
| Source file: ./sys/arch/i386/stand/libsa/elf64.c |
| Source file: ./sys/arch/i386/stand/libsa/pxe_netif.h |
| Source file: ./sys/arch/i386/stand/libsa/biosprobe.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| getSYSCONFaddr |
|
2 |
14 |
77 |
1 |
| getEBDAaddr |
|
3 |
17 |
85 |
1 |
| Source file: ./sys/arch/i386/stand/libsa/smpprobe.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mp_checksum |
|
3 |
8 |
60 |
2 |
| mp_probefloat |
|
9 |
24 |
132 |
2 |
| smpprobe |
|
6 |
23 |
186 |
1 |
| Source file: ./sys/arch/i386/stand/libsa/pxe_net.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| net_open |
|
11 |
28 |
121 |
2 |
| net_close |
|
8 |
19 |
83 |
1 |
| net_ioctl |
|
1 |
4 |
19 |
3 |
| net_strategy |
|
1 |
5 |
28 |
6 |
| net_getparams |
|
4 |
9 |
35 |
1 |
| Source file: ./sys/arch/i386/stand/libsa/apmprobe.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| apm_check |
|
5 |
20 |
88 |
1 |
| apm_disconnect |
|
2 |
10 |
58 |
1 |
| apm_connect |
|
6 |
41 |
253 |
1 |
| apmprobe |
|
6 |
21 |
108 |
1 |
| apmfixmem |
|
3 |
7 |
42 |
1 |
| Source file: ./sys/arch/i386/stand/libsa/pciprobe.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pciprobe |
|
5 |
23 |
174 |
1 |
| Source file: ./sys/arch/i386/stand/libsa/bioscons.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pc_probe |
|
3 |
12 |
91 |
1 |
| pc_init |
|
1 |
3 |
9 |
1 |
| pc_getc |
|
3 |
16 |
124 |
1 |
| pc_getshifts |
|
1 |
7 |
43 |
1 |
| pc_putc |
|
1 |
5 |
38 |
2 |
| com_probe |
|
2 |
11 |
82 |
1 |
| com_init |
|
6 |
17 |
144 |
1 |
| com_getc |
|
4 |
9 |
75 |
1 |
| comspeed |
|
16 |
37 |
261 |
2 |
| com_putc |
|
3 |
7 |
55 |
2 |
| Source file: ./sys/arch/i386/stand/libsa/gateA20.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| gateA20on |
|
1 |
4 |
11 |
1 |
| gateA20 |
|
11 |
27 |
192 |
1 |
| Source file: ./sys/arch/i386/stand/libsa/pxe.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pxesendudp |
|
3 |
20 |
133 |
3 |
| pxereadudp |
|
3 |
25 |
185 |
4 |
| pxe_netif_open |
|
5 |
22 |
122 |
1 |
| pxe_netif_close |
|
4 |
12 |
60 |
1 |
| pxe_netif_shutdown |
|
2 |
5 |
15 |
1 |
| pxesocktodesc |
|
3 |
8 |
23 |
1 |
| pxeprobe |
|
3 |
8 |
28 |
1 |
| pxe_init |
|
26 |
103 |
626 |
1 |
| pxeinfo |
|
8 |
30 |
228 |
1 |
| pxe_shutdown |
|
10 |
29 |
161 |
1 |
| Source file: ./sys/arch/i386/pci/pciide_gcsc_reg.h |
| Source file: ./sys/arch/i386/stand/libsa/diskprobe.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| diskinfo_init |
|
1 |
6 |
32 |
1 |
| floppyprobe |
|
5 |
19 |
123 |
1 |
| hardprobe |
|
10 |
47 |
302 |
1 |
| efi_hardprobe |
|
5 |
43 |
238 |
1 |
| diskprobe |
|
8 |
27 |
185 |
1 |
| cdprobe |
|
5 |
49 |
407 |
1 |
| dklookup |
|
3 |
8 |
49 |
1 |
| dump_diskinfo |
|
5 |
22 |
141 |
1 |
| bios_dklookup |
|
2 |
8 |
32 |
1 |
| disksum |
|
9 |
26 |
193 |
1 |
| bootdev_has_hibernate |
|
2 |
4 |
23 |
1 |
| check_hibernate |
|
5 |
15 |
133 |
1 |
| Source file: ./sys/arch/i386/pci/ichpcib.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ichpcib_match |
|
2 |
7 |
54 |
3 |
| ichpcib_attach |
|
5 |
32 |
231 |
3 |
| ichss_present |
|
21 |
50 |
316 |
1 |
| ichss_setperf |
|
6 |
30 |
166 |
1 |
| ichpcib_get_timecount |
|
3 |
14 |
97 |
1 |
| Source file: ./sys/arch/i386/stand/libsa/biosdev.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| biosdreset |
|
2 |
7 |
55 |
1 |
| bios_getdiskinfo |
|
22 |
52 |
359 |
2 |
| CHS_rw |
|
3 |
21 |
129 |
7 |
| EDD_rw |
|
5 |
19 |
183 |
5 |
| biosd_io |
|
22 |
65 |
479 |
5 |
| biosd_diskio |
|
1 |
4 |
39 |
5 |
| findopenbsd |
|
17 |
53 |
326 |
2 |
| bios_getdisklabel |
|
10 |
24 |
153 |
2 |
| biosopen |
|
38 |
125 |
741 |
2 |
| biosdisk_err |
|
4 |
7 |
36 |
1 |
| biosdisk_errno |
|
4 |
8 |
48 |
1 |
| biosstrategy |
|
8 |
24 |
184 |
6 |
| biosclose |
|
1 |
5 |
18 |
1 |
| biosioctl |
|
1 |
4 |
19 |
3 |
| Source file: ./sys/arch/i386/pci/rccosb4reg.h |
| Source file: ./sys/arch/i386/i386/vmm.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| vmm_enabled |
|
8 |
21 |
102 |
1 |
| vmm_probe |
|
2 |
7 |
53 |
3 |
| vmm_attach |
|
9 |
45 |
293 |
3 |
| vmmopen |
|
3 |
8 |
45 |
4 |
| vmmioctl |
|
10 |
38 |
212 |
5 |
| pledge_ioctl_vmm |
|
10 |
18 |
69 |
2 |
| vmmclose |
|
1 |
4 |
21 |
4 |
| vm_resetcpu |
|
7 |
40 |
236 |
1 |
| vm_intr_pending |
|
7 |
26 |
159 |
1 |
| vm_rwregs |
|
10 |
34 |
231 |
2 |
| vm_find |
|
4 |
17 |
111 |
2 |
| vmm_start |
|
9 |
29 |
160 |
1 |
| vmm_stop |
|
9 |
29 |
154 |
1 |
| start_vmm_on_cpu |
|
9 |
37 |
188 |
1 |
| stop_vmm_on_cpu |
|
5 |
20 |
98 |
1 |
| vm_create_check_mem_ranges |
|
18 |
35 |
268 |
1 |
| vm_create |
|
7 |
56 |
400 |
2 |
| vm_impl_init_vmx |
|
7 |
46 |
305 |
2 |
| vm_impl_init_svm |
|
6 |
40 |
274 |
2 |
| vm_impl_init |
|
5 |
11 |
65 |
2 |
| vm_impl_deinit_vmx |
|
1 |
3 |
9 |
1 |
| vm_impl_deinit_svm |
|
1 |
3 |
9 |
1 |
| vm_impl_deinit |
|
5 |
11 |
54 |
1 |
| vcpu_reload_vmcs_vmx |
|
5 |
14 |
66 |
1 |
| vcpu_readregs_vmx |
|
22 |
77 |
561 |
3 |
| vcpu_readregs_svm |
|
1 |
5 |
22 |
3 |
| vcpu_writeregs_vmx |
|
25 |
83 |
560 |
4 |
| vcpu_writeregs_svm |
|
4 |
74 |
846 |
3 |
| vcpu_reset_regs_svm |
|
2 |
40 |
297 |
2 |
| svm_setmsrbr |
|
6 |
19 |
146 |
2 |
| svm_setmsrbw |
|
6 |
19 |
146 |
2 |
| svm_setmsrbrw |
|
1 |
5 |
26 |
2 |
| vmx_setmsrbr |
|
4 |
14 |
104 |
2 |
| vmx_setmsrbw |
|
4 |
14 |
106 |
2 |
| vmx_setmsrbrw |
|
1 |
5 |
26 |
2 |
| vcpu_reset_regs_vmx |
|
50 |
278 |
1504 |
2 |
| vcpu_init_vmx |
|
31 |
138 |
819 |
1 |
| vcpu_reset_regs |
|
5 |
13 |
75 |
2 |
| vcpu_init_svm |
|
14 |
75 |
485 |
1 |
| vcpu_init |
|
5 |
15 |
82 |
1 |
| vcpu_deinit_vmx |
|
5 |
15 |
109 |
1 |
| vcpu_deinit_svm |
|
5 |
15 |
113 |
1 |
| vcpu_deinit |
|
5 |
11 |
54 |
1 |
| vm_teardown |
|
3 |
18 |
120 |
1 |
| vcpu_vmx_check_cap |
|
13 |
50 |
205 |
4 |
| vcpu_vmx_compute_ctrl |
|
35 |
89 |
458 |
5 |
| vm_get_info |
|
6 |
52 |
366 |
1 |
| vm_terminate |
|
7 |
34 |
201 |
1 |
| vm_run |
|
19 |
69 |
424 |
1 |
| vcpu_must_stop |
|
3 |
9 |
48 |
1 |
| vcpu_run_vmx |
|
52 |
227 |
1092 |
2 |
| vmx_handle_intr |
|
2 |
15 |
81 |
1 |
| vmx_handle_hlt |
|
3 |
15 |
71 |
1 |
| vmx_get_exit_info |
|
3 |
10 |
54 |
2 |
| vmx_handle_exit |
|
15 |
73 |
311 |
1 |
| vmm_get_guest_memtype |
|
6 |
18 |
116 |
2 |
| vmm_get_guest_faulttype |
|
3 |
9 |
39 |
1 |
| vmx_get_exit_qualification |
|
2 |
8 |
36 |
1 |
| vmx_get_guest_faulttype |
|
4 |
15 |
69 |
1 |
| svm_get_guest_faulttype |
|
1 |
4 |
12 |
1 |
| vmx_fault_page |
|
3 |
14 |
83 |
2 |
| vmx_handle_np_fault |
|
4 |
27 |
141 |
1 |
| vmx_handle_inout |
|
12 |
38 |
277 |
1 |
| vmx_handle_cr |
|
7 |
38 |
192 |
1 |
| vmx_handle_rdmsr |
|
3 |
25 |
152 |
1 |
| vmx_handle_wrmsr |
|
3 |
21 |
126 |
1 |
| vmm_handle_cpuid |
|
32 |
229 |
1164 |
1 |
| vcpu_run_svm |
|
1 |
4 |
19 |
2 |
| vmx_exit_reason_decode |
|
61 |
67 |
378 |
1 |
| vmx_instruction_error_decode |
|
18 |
23 |
120 |
1 |
| vcpu_state_decode |
|
6 |
11 |
48 |
1 |
| dump_vcpu |
|
4 |
100 |
750 |
1 |
| vmx_dump_vmcs_field |
|
8 |
25 |
149 |
2 |
| vmx_dump_vmcs |
|
46 |
442 |
2383 |
1 |
| vmx_vcpu_dump_regs |
|
42 |
252 |
1436 |
1 |
| msr_name_decode |
|
24 |
29 |
156 |
1 |
| vmm_segment_desc_decode |
|
25 |
59 |
400 |
1 |
| vmm_decode_cr0 |
|
3 |
24 |
166 |
1 |
| vmm_decode_cr3 |
|
3 |
15 |
94 |
1 |
| vmm_decode_cr4 |
|
3 |
32 |
230 |
1 |
| vmm_decode_apicbase_msr_value |
|
3 |
16 |
102 |
1 |
| vmm_decode_ia32_fc_value |
|
4 |
20 |
130 |
1 |
| vmm_decode_mtrrcap_value |
|
4 |
19 |
119 |
1 |
| vmm_decode_perf_status_value |
|
1 |
4 |
18 |
1 |
| vmm_decode_perf_ctl_value |
|
2 |
5 |
33 |
1 |
| vmm_decode_mtrrdeftype_value |
|
9 |
29 |
180 |
1 |
| vmm_decode_efer_value |
|
3 |
17 |
111 |
1 |
| vmm_decode_msr_value |
|
8 |
13 |
93 |
2 |
| Source file: ./sys/arch/i386/pci/sis85c503.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sis85c503_init |
|
2 |
9 |
56 |
5 |
| sis85c503_getclink |
|
5 |
13 |
67 |
3 |
| sis85c503_get_intr |
|
3 |
15 |
89 |
3 |
| sis85c503_set_intr |
|
3 |
17 |
117 |
3 |
| Source file: ./sys/arch/i386/pci/opti82c558reg.h |
| Source file: ./sys/arch/i386/pci/pci_addr_fixup.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pci_addr_fixup |
|
4 |
51 |
341 |
3 |
| pciaddr_resource_reserve |
|
2 |
7 |
39 |
3 |
| pciaddr_resource_reserve_disabled |
|
2 |
8 |
39 |
3 |
| pciaddr_resource_allocate |
|
2 |
7 |
39 |
3 |
| pciaddr_resource_manage |
|
11 |
60 |
349 |
4 |
| pciaddr_do_resource_allocate |
|
9 |
35 |
250 |
8 |
| pciaddr_do_resource_reserve |
|
7 |
23 |
150 |
8 |
| pciaddr_do_resource_reserve_disabled |
|
8 |
25 |
170 |
8 |
| pciaddr_ioaddr |
|
2 |
6 |
33 |
1 |
| pciaddr_print_devid |
|
1 |
9 |
68 |
2 |
| pciaddr_device_is_agp |
|
5 |
20 |
124 |
2 |
| Source file: ./sys/arch/i386/pci/agp_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| agp_flush_cache |
|
1 |
4 |
10 |
1 |
| agp_flush_cache_range |
|
1 |
4 |
17 |
2 |
| agp_init_map |
|
4 |
25 |
171 |
5 |
| agp_destroy_map |
|
2 |
8 |
67 |
1 |
| agp_map_subregion |
|
1 |
6 |
43 |
4 |
| agp_unmap_subregion |
|
1 |
5 |
31 |
3 |
| agp_map_atomic |
|
3 |
15 |
111 |
3 |
| agp_unmap_atomic |
|
1 |
6 |
40 |
2 |
| Source file: ./sys/arch/i386/pci/pci_intr_fixup.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pciintr_icu_lookup |
|
4 |
10 |
60 |
1 |
| pciintr_link_lookup |
|
3 |
9 |
53 |
1 |
| pciintr_link_alloc |
|
8 |
39 |
268 |
3 |
| pciintr_pir_lookup |
|
5 |
14 |
79 |
2 |
| pciintr_bitmap_count_irq |
|
4 |
12 |
77 |
2 |
| pciintr_link_init |
|
7 |
30 |
199 |
1 |
| pciintr_guess_irq |
|
6 |
20 |
115 |
1 |
| pciintr_link_fixup |
|
16 |
55 |
345 |
1 |
| pci_intr_route_link |
|
18 |
50 |
308 |
2 |
| pci_intr_post_fixup |
|
14 |
32 |
201 |
1 |
| pci_intr_header_fixup |
|
17 |
54 |
391 |
3 |
| pci_intr_fixup |
|
29 |
94 |
634 |
3 |
| Source file: ./sys/arch/i386/pci/pciide_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pciide_machdep_compat_intr_establish |
|
1 |
10 |
71 |
5 |
| pciide_machdep_compat_intr_disestablish |
|
1 |
4 |
18 |
2 |
| gcsc_chip_map |
|
5 |
36 |
249 |
2 |
| gcsc_setup_channel |
|
10 |
34 |
211 |
1 |
| Source file: ./sys/arch/i386/pci/piixpcib.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| piixpcib_int15_gsic_call |
|
3 |
19 |
135 |
1 |
| piixpcib_set_ownership |
|
2 |
18 |
87 |
1 |
| piixpcib_configure_speedstep |
|
5 |
27 |
124 |
1 |
| piixpcib_match |
|
2 |
7 |
54 |
3 |
| piixpcib_attach |
|
3 |
12 |
71 |
3 |
| piixpcib_getset_state |
|
8 |
36 |
147 |
3 |
| piixpcib_setperf |
|
11 |
32 |
145 |
1 |
| Source file: ./sys/arch/i386/pci/pcibiosvar.h |
| Source file: ./sys/arch/i386/pci/gscpm.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| gscpm_match |
|
3 |
8 |
54 |
3 |
| gscpm_attach |
|
4 |
24 |
177 |
3 |
| gscpm_get_timecount |
|
1 |
5 |
34 |
1 |
| gscpm_setperf |
|
4 |
17 |
109 |
1 |
| Source file: ./sys/arch/i386/pci/gscpmreg.h |
| Source file: ./sys/arch/i386/pci/via8231reg.h |
| Source file: ./sys/arch/i386/pci/elan520.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| elansc_match |
|
3 |
8 |
54 |
3 |
| elansc_attach |
|
8 |
85 |
704 |
3 |
| elansc_activate |
|
2 |
9 |
33 |
2 |
| elansc_tc_read |
|
2 |
11 |
92 |
1 |
| elansc_wdogctl |
|
2 |
24 |
163 |
3 |
| elansc_wdogctl_cb |
|
4 |
19 |
117 |
2 |
| elansc_update_cpuspeed |
|
1 |
8 |
50 |
1 |
| elansc_setperf |
|
4 |
18 |
110 |
1 |
| elansc_cpuspeed |
|
1 |
5 |
18 |
1 |
| elansc_gpio_pin_read |
|
2 |
10 |
71 |
2 |
| elansc_gpio_pin_write |
|
4 |
14 |
108 |
3 |
| elansc_gpio_pin_ctl |
|
4 |
14 |
107 |
3 |
| Source file: ./sys/arch/i386/pci/piixvar.h |
| Source file: ./sys/arch/i386/pci/geodesc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| geodesc_match |
|
4 |
9 |
65 |
3 |
| geodesc_attach |
|
4 |
38 |
336 |
3 |
| geodesc_activate |
|
2 |
9 |
33 |
2 |
| geodesc_wdogctl_cb |
|
2 |
8 |
50 |
2 |
| geodesc_get_timecount |
|
1 |
5 |
34 |
1 |
| sc1100_sysreset |
|
1 |
5 |
20 |
1 |
| Source file: ./sys/arch/i386/pci/opti82c558.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| opti82c558_init |
|
2 |
13 |
80 |
5 |
| opti82c558_getclink |
|
2 |
8 |
42 |
3 |
| opti82c558_get_intr |
|
3 |
12 |
86 |
3 |
| opti82c558_set_intr |
|
3 |
14 |
109 |
3 |
| opti82c558_get_trigger |
|
3 |
15 |
94 |
3 |
| opti82c558_set_trigger |
|
4 |
17 |
121 |
3 |
| Source file: ./sys/arch/i386/pci/opti82c700reg.h |
| Source file: ./sys/arch/i386/pci/elan520reg.h |
| Source file: ./sys/arch/i386/pci/vga_post.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| vm86_emu_inb |
|
4 |
8 |
40 |
2 |
| vm86_emu_inw |
|
3 |
6 |
31 |
2 |
| vm86_emu_inl |
|
3 |
6 |
31 |
2 |
| vm86_emu_outb |
|
4 |
8 |
42 |
3 |
| vm86_emu_outw |
|
3 |
6 |
34 |
3 |
| vm86_emu_outl |
|
3 |
6 |
34 |
3 |
| vga_post_init |
|
6 |
56 |
440 |
3 |
| vga_post_call |
|
1 |
11 |
100 |
1 |
| vga_post_free |
|
1 |
8 |
59 |
1 |
| ddb_vgapost |
|
2 |
7 |
21 |
1 |
| Source file: ./sys/arch/i386/pci/piixreg.h |
| Source file: ./sys/arch/i386/pci/sis85c503reg.h |
| Source file: ./sys/arch/i386/pci/rccosb4.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| osb4_init |
|
4 |
22 |
166 |
5 |
| osb4_getclink |
|
3 |
10 |
51 |
3 |
| osb4_get_intr |
|
3 |
12 |
91 |
3 |
| osb4_set_intr |
|
3 |
10 |
85 |
3 |
| Source file: ./sys/arch/i386/pci/pcib.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pcibmatch |
|
12 |
31 |
146 |
3 |
| pcibattach |
|
1 |
5 |
30 |
3 |
| pcib_callback |
|
3 |
11 |
65 |
1 |
| pcib_print |
|
2 |
6 |
29 |
2 |
| Source file: ./sys/arch/i386/pci/pci_machdep.h |
| Source file: ./sys/arch/i386/pci/pchb.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pchbmatch |
|
5 |
17 |
114 |
3 |
| pchbattach |
|
50 |
187 |
1100 |
3 |
| pchbactivate |
|
3 |
19 |
101 |
2 |
| pchb_print |
|
2 |
8 |
49 |
2 |
| pchb_rnd |
|
3 |
14 |
95 |
1 |
| pchb_amd64ht_attach |
|
4 |
25 |
190 |
3 |
| Source file: ./sys/arch/i386/pci/via8231.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| via8231_init |
|
5 |
19 |
127 |
5 |
| via8231_getclink |
|
5 |
10 |
80 |
3 |
| via8231_get_intr |
|
4 |
17 |
112 |
3 |
| via8231_set_intr |
|
5 |
19 |
140 |
3 |
| via8231_get_trigger |
|
7 |
20 |
130 |
3 |
| via8231_set_trigger |
|
11 |
36 |
205 |
3 |
| via8231_pir_dump |
|
1 |
7 |
44 |
2 |
| Source file: ./sys/arch/i386/pci/via82c586reg.h |
| Source file: ./sys/arch/i386/pci/pcic_pci_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pcic_pci_machdep_intr_est |
|
1 |
4 |
10 |
1 |
| pcic_pci_machdep_pcic_intr_establish |
|
2 |
9 |
85 |
2 |
| pcic_pci_machdep_chip_intr_establish |
|
1 |
6 |
51 |
6 |
| pcic_pci_machdep_chip_intr_disestablish |
|
1 |
4 |
18 |
2 |
| Source file: ./sys/arch/i386/pci/via82c586.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| via82c586_init |
|
2 |
14 |
88 |
5 |
| via82c586_getclink |
|
2 |
8 |
42 |
3 |
| via82c586_get_intr |
|
3 |
13 |
83 |
3 |
| via82c586_set_intr |
|
5 |
18 |
142 |
3 |
| via82c586_get_trigger |
|
8 |
26 |
163 |
3 |
| via82c586_set_trigger |
|
8 |
26 |
172 |
3 |
| Source file: ./sys/arch/i386/pci/opti82c700.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| opti82c700_init |
|
3 |
14 |
85 |
5 |
| opti82c700_addr |
|
9 |
26 |
140 |
3 |
| opti82c700_getclink |
|
5 |
24 |
119 |
3 |
| opti82c700_get_intr |
|
3 |
13 |
93 |
3 |
| opti82c700_set_intr |
|
3 |
15 |
113 |
3 |
| opti82c700_get_trigger |
|
7 |
33 |
229 |
3 |
| opti82c700_set_trigger |
|
9 |
35 |
255 |
3 |
| Source file: ./sys/arch/i386/pci/pci_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pci_attach_hook |
|
40 |
78 |
345 |
3 |
| pci_bus_maxdevs |
|
2 |
7 |
27 |
2 |
| pci_make_tag |
|
9 |
22 |
148 |
4 |
| pci_decompose_tag |
|
9 |
23 |
166 |
5 |
| pci_conf_size |
|
4 |
10 |
49 |
2 |
| pci_mcfg_map_bus |
|
3 |
8 |
50 |
1 |
| pci_conf_read |
|
7 |
33 |
200 |
3 |
| pci_conf_write |
|
7 |
31 |
196 |
4 |
| pci_mode_detect |
|
17 |
54 |
317 |
1 |
| pci_intr_map_msi |
|
4 |
12 |
82 |
2 |
| pci_intr_map |
|
31 |
83 |
511 |
2 |
| pci_intr_string |
|
7 |
16 |
116 |
2 |
| pci_intr_establish |
|
17 |
60 |
509 |
6 |
| pci_intr_disestablish |
|
3 |
18 |
129 |
2 |
| pci_init_extents |
|
11 |
37 |
223 |
1 |
| pci_dev_postattach |
|
2 |
4 |
21 |
2 |
| pci_min_powerstate |
|
2 |
5 |
26 |
2 |
| pci_set_powerstate_md |
|
2 |
4 |
27 |
4 |
| Source file: ./sys/arch/i386/pci/gscpcib.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| gscpcib_match |
|
5 |
11 |
79 |
3 |
| gscpcib_attach |
|
6 |
39 |
275 |
3 |
| gscpcib_gpio_pin_select |
|
1 |
4 |
27 |
2 |
| gscpcib_gpio_pin_read |
|
2 |
10 |
71 |
2 |
| gscpcib_gpio_pin_write |
|
4 |
14 |
108 |
3 |
| gscpcib_gpio_pin_ctl |
|
4 |
18 |
105 |
3 |
| Source file: ./sys/arch/i386/pci/pci_bus_fixup.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pci_bus_check |
|
22 |
84 |
491 |
2 |
| pci_bus_assign |
|
16 |
59 |
413 |
2 |
| pci_bus_fixup |
|
3 |
10 |
53 |
2 |
| pcibus_print_devid |
|
1 |
9 |
68 |
2 |
| Source file: ./sys/arch/i386/pci/gscpcibreg.h |
| Source file: ./sys/arch/i386/pci/geodescreg.h |
| Source file: ./sys/arch/i386/pci/amd756.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| amd756_init |
|
3 |
15 |
89 |
5 |
| amd756_getclink |
|
2 |
7 |
42 |
3 |
| amd756_get_intr |
|
3 |
13 |
81 |
3 |
| amd756_set_intr |
|
3 |
14 |
98 |
3 |
| amd756_get_trigger |
|
5 |
20 |
110 |
3 |
| amd756_set_trigger |
|
5 |
21 |
127 |
3 |
| amd756_pir_dump |
|
1 |
8 |
42 |
1 |
| Source file: ./sys/arch/i386/pci/amd756reg.h |
| Source file: ./sys/arch/i386/pci/ali1543.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ali1543_init |
|
2 |
9 |
56 |
5 |
| ali1543_getclink |
|
2 |
8 |
42 |
3 |
| ali1543_get_intr |
|
4 |
14 |
90 |
3 |
| ali1543_set_intr |
|
5 |
17 |
145 |
3 |
| Source file: ./sys/arch/i386/pci/pcibios.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pcibiosprobe |
|
3 |
16 |
123 |
3 |
| pcibiosattach |
|
12 |
40 |
298 |
3 |
| pcibios_pir_init |
|
14 |
76 |
475 |
1 |
| pcibios_get_status |
|
3 |
33 |
215 |
8 |
| pcibios_get_intr_routing |
|
2 |
34 |
189 |
4 |
| pcibios_return_code |
|
10 |
41 |
162 |
3 |
| pcibios_print_exclirq |
|
4 |
12 |
71 |
1 |
| pcibios_print_pir_table |
|
3 |
16 |
103 |
1 |
| pci_device_foreach |
|
11 |
37 |
271 |
4 |
| Source file: ./sys/arch/sparc64/dev/msi.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| msi_eq_alloc |
|
6 |
33 |
232 |
2 |
| msi_eq_free |
|
1 |
10 |
84 |
2 |
| Source file: ./sys/arch/sparc64/dev/fdreg.h |
| Source file: ./sys/arch/sparc64/dev/cbus.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cbus_match |
|
2 |
7 |
47 |
3 |
| cbus_attach |
|
6 |
32 |
274 |
3 |
| cbus_print |
|
3 |
9 |
58 |
2 |
| cbus_intr_setstate |
|
2 |
10 |
60 |
3 |
| cbus_intr_setenabled |
|
2 |
10 |
60 |
3 |
| cbus_intr_establish |
|
7 |
39 |
273 |
8 |
| cbus_intr_ack |
|
1 |
8 |
48 |
1 |
| cbus_alloc_bus_tag |
|
2 |
15 |
112 |
2 |
| cbus_get_channel_endpoint |
|
9 |
40 |
315 |
2 |
| Source file: ./sys/arch/sparc64/dev/ldcvar.h |
| Source file: ./sys/arch/i386/pci/piix.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| piix_init |
|
4 |
20 |
129 |
5 |
| piix_getclink |
|
6 |
21 |
136 |
3 |
| piix_get_intr |
|
4 |
20 |
117 |
3 |
| piix_set_intr |
|
4 |
19 |
131 |
3 |
| piix_get_trigger |
|
4 |
16 |
103 |
3 |
| piix_set_trigger |
|
4 |
17 |
120 |
3 |
| piix_pir_dump |
|
8 |
27 |
230 |
1 |
| Source file: ./sys/arch/sparc64/dev/centralvar.h |
| Source file: ./sys/arch/sparc64/dev/fhc_central.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fhc_central_match |
|
2 |
9 |
52 |
3 |
| fhc_central_attach |
|
7 |
51 |
426 |
3 |
| Source file: ./sys/arch/sparc64/dev/sab82532reg.h |
| Source file: ./sys/arch/sparc64/dev/starfire.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| starfire_pc_ittrans_init |
|
1 |
8 |
47 |
1 |
| Source file: ./sys/arch/sparc64/dev/viovar.h |
| Source file: ./sys/arch/i386/pci/glxsb.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| glxsb_match |
|
3 |
8 |
54 |
3 |
| glxsb_attach |
|
7 |
36 |
240 |
3 |
| glxsb_activate |
|
4 |
15 |
68 |
2 |
| glxsb_rnd |
|
2 |
11 |
73 |
1 |
| glxsb_crypto_setup |
|
3 |
22 |
145 |
1 |
| glxsb_crypto_newsession |
|
28 |
130 |
860 |
2 |
| glxsb_crypto_freesession |
|
8 |
36 |
257 |
1 |
| glxsb_aes |
|
5 |
28 |
227 |
7 |
| glxsb_crypto_swauth |
|
2 |
10 |
58 |
4 |
| glxsb_crypto_swenc |
|
2 |
10 |
56 |
4 |
| glxsb_crypto_encdec |
|
22 |
99 |
726 |
5 |
| glxsb_crypto_process |
|
18 |
59 |
314 |
1 |
| glxsb_dma_alloc |
|
5 |
44 |
310 |
3 |
| glxsb_dma_pre_op |
|
1 |
5 |
35 |
2 |
| glxsb_dma_post_op |
|
1 |
5 |
35 |
2 |
| glxsb_dma_free |
|
1 |
7 |
67 |
2 |
| Source file: ./sys/arch/sparc64/dev/vpci.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| vpci_match |
|
2 |
7 |
52 |
3 |
| vpci_attach |
|
4 |
45 |
408 |
3 |
| vpci_init_iommu |
|
2 |
13 |
98 |
2 |
| vpci_init_msi |
|
9 |
54 |
406 |
2 |
| vpci_print |
|
2 |
6 |
29 |
2 |
| vpci_conf_size |
|
1 |
4 |
13 |
2 |
| vpci_conf_read |
|
2 |
8 |
61 |
3 |
| vpci_conf_write |
|
1 |
7 |
49 |
4 |
| vpci_intr_map |
|
3 |
17 |
109 |
2 |
| vpci_alloc_mem_tag |
|
1 |
6 |
25 |
1 |
| vpci_alloc_io_tag |
|
1 |
6 |
25 |
1 |
| vpci_alloc_bus_tag |
|
2 |
20 |
148 |
5 |
| vpci_alloc_dma_tag |
|
2 |
19 |
120 |
1 |
| vpci_alloc_chipset |
|
2 |
11 |
70 |
3 |
| vpci_dmamap_create |
|
1 |
8 |
65 |
8 |
| vpci_bus_map |
|
6 |
22 |
201 |
6 |
| vpci_bus_mmap |
|
5 |
19 |
173 |
6 |
| vpci_intr_establish |
|
10 |
52 |
381 |
8 |
| vpci_intr_ack |
|
1 |
4 |
18 |
1 |
| vpci_msi_ack |
|
1 |
3 |
9 |
1 |
| vpci_msi_eq_intr |
|
8 |
37 |
267 |
1 |
| Source file: ./sys/arch/sparc64/dev/comms_ebus.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| comms_ismouse |
|
2 |
6 |
24 |
1 |
| comms_match |
|
8 |
19 |
152 |
3 |
| comms_attach |
|
7 |
39 |
342 |
3 |
| comms_disable |
|
1 |
9 |
46 |
1 |
| comms_enable |
|
1 |
10 |
49 |
1 |
| comms_softintr |
|
4 |
15 |
87 |
1 |
| comms_hardintr |
|
14 |
41 |
250 |
1 |
| comms_speed_change |
|
2 |
16 |
134 |
2 |
| Source file: ./sys/arch/sparc64/dev/sbusvar.h |
| Source file: ./sys/arch/sparc64/dev/fhc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fhc_attach |
|
5 |
54 |
556 |
1 |
| fhc_print |
|
3 |
12 |
73 |
2 |
| fhc_get_string |
|
4 |
14 |
100 |
3 |
| fhc_alloc_bus_tag |
|
2 |
15 |
113 |
1 |
| _fhc_bus_map |
|
6 |
26 |
220 |
6 |
| fhc_find_intr_handle |
|
5 |
16 |
66 |
2 |
| fhc_intr_establish |
|
7 |
43 |
283 |
8 |
| fhc_led_blink |
|
2 |
16 |
101 |
2 |
| Source file: ./sys/arch/sparc64/dev/creatorvar.h |
| Source file: ./sys/arch/sparc64/dev/auxio.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| auxio_ebus_match |
|
1 |
8 |
44 |
3 |
| auxio_ebus_attach |
|
9 |
43 |
267 |
3 |
| auxio_sbus_match |
|
1 |
8 |
44 |
3 |
| auxio_sbus_attach |
|
6 |
23 |
147 |
3 |
| auxio_attach_common |
|
1 |
8 |
40 |
1 |
| auxio_led_blink |
|
4 |
20 |
132 |
2 |
| auxio_fd_control |
|
4 |
19 |
139 |
1 |
| Source file: ./sys/arch/sparc64/dev/ofwi2cvar.h |
| Source file: ./sys/arch/sparc64/dev/beeper.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| beeper_match |
|
2 |
10 |
53 |
3 |
| beeper_attach |
|
5 |
23 |
166 |
3 |
| beeper_stop |
|
1 |
11 |
58 |
1 |
| beeper_bell |
|
7 |
28 |
165 |
5 |
| Source file: ./sys/arch/sparc64/dev/ebusreg.h |
| Source file: ./sys/arch/sparc64/dev/bbc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bbc_match |
|
2 |
7 |
47 |
3 |
| bbc_attach |
|
6 |
29 |
250 |
3 |
| bbc_xir |
|
3 |
10 |
65 |
2 |
| Source file: ./sys/arch/sparc64/dev/ldc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ldc_rx_ctrl |
|
5 |
21 |
94 |
2 |
| ldc_rx_ctrl_vers |
|
7 |
31 |
137 |
2 |
| ldc_rx_ctrl_rts |
|
5 |
27 |
121 |
2 |
| ldc_rx_ctrl_rtr |
|
5 |
28 |
128 |
2 |
| ldc_rx_ctrl_rdx |
|
5 |
27 |
123 |
2 |
| ldc_rx_data |
|
7 |
31 |
232 |
2 |
| ldc_send_vers |
|
4 |
29 |
218 |
1 |
| ldc_send_ack |
|
4 |
29 |
218 |
1 |
| ldc_send_rts |
|
4 |
29 |
221 |
1 |
| ldc_send_rtr |
|
4 |
29 |
221 |
1 |
| ldc_send_rdx |
|
4 |
29 |
221 |
1 |
| ldc_send_unreliable |
|
8 |
46 |
364 |
3 |
| ldc_reset |
|
3 |
19 |
154 |
1 |
| ldc_queue_alloc |
|
6 |
36 |
255 |
2 |
| ldc_queue_free |
|
1 |
10 |
82 |
2 |
| ldc_map_alloc |
|
6 |
36 |
265 |
2 |
| ldc_map_free |
|
1 |
11 |
89 |
2 |
| Source file: ./sys/arch/sparc64/dev/creator.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| creator_match |
|
3 |
10 |
63 |
3 |
| creator_attach |
|
15 |
86 |
709 |
3 |
| creator_ioctl |
|
27 |
116 |
797 |
5 |
| creator_setcursor |
|
16 |
53 |
483 |
2 |
| creator_curs_enable |
|
4 |
10 |
58 |
2 |
| creator_updatecursor |
|
4 |
20 |
160 |
2 |
| creator_mmap |
|
13 |
41 |
260 |
3 |
| creator_ras_fifo_wait |
|
3 |
13 |
68 |
2 |
| creator_ras_wait |
|
4 |
13 |
72 |
1 |
| creator_ras_init |
|
1 |
18 |
108 |
1 |
| creator_ras_eraserows |
|
6 |
35 |
261 |
4 |
| creator_ras_erasecols |
|
6 |
32 |
237 |
5 |
| creator_ras_fill |
|
1 |
8 |
41 |
1 |
| creator_ras_copyrows |
|
7 |
37 |
261 |
4 |
| creator_ras_setfg |
|
2 |
11 |
53 |
2 |
| creator_load_firmware |
|
5 |
40 |
315 |
1 |
| creator_load_sram |
|
2 |
39 |
163 |
3 |
| Source file: ./sys/arch/sparc64/dev/vsw.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| vsw_match |
|
2 |
7 |
47 |
3 |
| vsw_attach |
|
5 |
32 |
250 |
3 |
| vsw_get_channel_endpoint |
|
5 |
28 |
222 |
2 |
| Source file: ./sys/arch/sparc64/dev/msivar.h |
| Source file: ./sys/arch/sparc64/dev/core.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| core_match |
|
2 |
7 |
47 |
3 |
| core_attach |
|
4 |
19 |
149 |
3 |
| core_print |
|
2 |
7 |
40 |
2 |
| Source file: ./sys/arch/sparc64/dev/lom.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| lom_match |
|
3 |
8 |
58 |
3 |
| lom_attach |
|
22 |
100 |
885 |
3 |
| lom_activate |
|
2 |
11 |
43 |
2 |
| lom_read |
|
2 |
7 |
45 |
3 |
| lom_write |
|
2 |
7 |
44 |
3 |
| lom_queue_cmd |
|
2 |
7 |
39 |
2 |
| lom_dequeue_cmd |
|
2 |
12 |
70 |
2 |
| lom1_read |
|
3 |
15 |
95 |
3 |
| lom1_write |
|
3 |
14 |
91 |
3 |
| lom1_read_polled |
|
7 |
24 |
174 |
3 |
| lom1_write_polled |
|
7 |
25 |
176 |
3 |
| lom1_queue_cmd |
|
2 |
10 |
63 |
2 |
| lom1_process_queue |
|
1 |
7 |
36 |
1 |
| lom1_process_queue_locked |
|
7 |
41 |
283 |
1 |
| lom2_read |
|
3 |
15 |
95 |
3 |
| lom2_read_polled |
|
7 |
24 |
170 |
3 |
| lom2_write |
|
3 |
14 |
89 |
3 |
| lom2_write_polled |
|
16 |
46 |
334 |
3 |
| lom2_queue_cmd |
|
3 |
15 |
105 |
2 |
| lom2_intr |
|
5 |
36 |
254 |
1 |
| lom_init_desc |
|
16 |
55 |
307 |
1 |
| lom_refresh |
|
16 |
54 |
420 |
1 |
| lom1_write_hostname |
|
5 |
15 |
107 |
1 |
| lom2_write_hostname |
|
2 |
7 |
50 |
1 |
| lom_wdog_pat |
|
1 |
8 |
57 |
1 |
| lom_wdog_cb |
|
7 |
32 |
206 |
2 |
| lom_shutdown |
|
1 |
6 |
32 |
1 |
| Source file: ./sys/arch/sparc64/dev/fhc_mainbus.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fhc_mainbus_match |
|
2 |
9 |
52 |
3 |
| fhc_mainbus_attach |
|
7 |
43 |
344 |
3 |
| Source file: ./sys/arch/sparc64/dev/tda.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tda_match |
|
4 |
12 |
94 |
3 |
| tda_attach |
|
5 |
26 |
165 |
3 |
| tda_setspeed |
|
8 |
34 |
243 |
1 |
| tda_adjust |
|
8 |
41 |
244 |
1 |
| tda_full_blast |
|
4 |
28 |
191 |
1 |
| Source file: ./sys/arch/sparc64/dev/pyro.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pyro_match |
|
4 |
12 |
87 |
3 |
| pyro_attach |
|
5 |
31 |
245 |
3 |
| pyro_init |
|
8 |
49 |
436 |
2 |
| pyro_init_iommu |
|
4 |
21 |
165 |
2 |
| pyro_init_msi |
|
5 |
45 |
396 |
2 |
| pyro_print |
|
2 |
6 |
29 |
2 |
| pyro_conf_size |
|
1 |
4 |
13 |
2 |
| pyro_conf_read |
|
2 |
17 |
105 |
3 |
| pyro_conf_write |
|
1 |
5 |
41 |
4 |
| pyro_intr_map |
|
3 |
17 |
120 |
2 |
| pyro_alloc_mem_tag |
|
1 |
6 |
25 |
1 |
| pyro_alloc_io_tag |
|
1 |
6 |
25 |
1 |
| pyro_alloc_config_tag |
|
1 |
6 |
25 |
1 |
| pyro_alloc_bus_tag |
|
2 |
20 |
148 |
5 |
| pyro_alloc_dma_tag |
|
2 |
19 |
120 |
1 |
| pyro_alloc_chipset |
|
2 |
11 |
70 |
3 |
| pyro_dmamap_create |
|
1 |
8 |
65 |
8 |
| pyro_bus_map |
|
6 |
31 |
250 |
6 |
| pyro_bus_mmap |
|
5 |
24 |
203 |
6 |
| pyro_intr_establish |
|
11 |
80 |
557 |
8 |
| pyro_msi_ack |
|
1 |
3 |
9 |
1 |
| pyro_msi_eq_intr |
|
4 |
29 |
216 |
1 |
| pyro_xir |
|
1 |
6 |
33 |
2 |
| Source file: ./sys/arch/sparc64/dev/pcf8591_ofw.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pcfadc_match |
|
2 |
7 |
47 |
3 |
| pcfadc_attach |
|
22 |
95 |
701 |
3 |
| pcfadc_refresh |
|
3 |
18 |
138 |
1 |
| Source file: ./sys/arch/sparc64/dev/schizo.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| schizo_match |
|
6 |
18 |
137 |
3 |
| schizo_attach |
|
4 |
28 |
213 |
3 |
| schizo_init |
|
15 |
87 |
735 |
2 |
| schizo_ue |
|
1 |
6 |
31 |
1 |
| schizo_ce |
|
1 |
6 |
31 |
1 |
| schizo_pci_error |
|
9 |
42 |
274 |
1 |
| schizo_safari_error |
|
1 |
12 |
102 |
1 |
| schizo_init_iommu |
|
6 |
50 |
443 |
2 |
| schizo_print |
|
2 |
6 |
29 |
2 |
| schizo_conf_size |
|
1 |
4 |
13 |
2 |
| schizo_conf_read |
|
2 |
17 |
100 |
3 |
| schizo_conf_write |
|
1 |
5 |
36 |
4 |
| schizo_intr_map |
|
3 |
17 |
120 |
2 |
| schizo_set_intr |
|
2 |
24 |
206 |
7 |
| schizo_alloc_mem_tag |
|
1 |
6 |
25 |
1 |
| schizo_alloc_io_tag |
|
1 |
6 |
25 |
1 |
| schizo_alloc_config_tag |
|
1 |
6 |
25 |
1 |
| schizo_alloc_bus_tag |
|
2 |
21 |
154 |
5 |
| schizo_alloc_dma_tag |
|
2 |
19 |
120 |
1 |
| schizo_alloc_chipset |
|
2 |
11 |
70 |
3 |
| schizo_dmamap_create |
|
1 |
8 |
65 |
8 |
| schizo_bus_map |
|
6 |
31 |
250 |
6 |
| schizo_bus_mmap |
|
5 |
24 |
203 |
6 |
| schizo_bus_addr |
|
6 |
21 |
166 |
3 |
| schizo_intr_establish |
|
8 |
43 |
292 |
8 |
| schizo_xir |
|
1 |
5 |
27 |
2 |
| Source file: ./sys/arch/sparc64/dev/pcf8591_envctrl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ecadc_match |
|
2 |
7 |
47 |
3 |
| ecadc_attach |
|
14 |
83 |
891 |
3 |
| ecadc_refresh |
|
8 |
36 |
282 |
1 |
| Source file: ./sys/arch/sparc64/dev/iommuvar.h |
| Source file: ./sys/arch/sparc64/dev/pcfiic_ebus.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pcfiic_ebus_match |
|
9 |
18 |
151 |
3 |
| pcfiic_ebus_attach |
|
20 |
71 |
601 |
3 |
| envctrl_scan |
|
1 |
23 |
171 |
3 |
| envctrltwo_scan |
|
1 |
14 |
105 |
3 |
| Source file: ./sys/arch/sparc64/dev/central.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| central_match |
|
2 |
9 |
52 |
3 |
| central_attach |
|
3 |
29 |
245 |
3 |
| central_get_string |
|
4 |
14 |
100 |
3 |
| central_print |
|
3 |
12 |
73 |
2 |
| central_alloc_bus_tag |
|
2 |
14 |
107 |
1 |
| _central_bus_map |
|
6 |
26 |
220 |
6 |
| Source file: ./sys/arch/sparc64/dev/psychoreg.h |
| Source file: ./sys/arch/sparc64/dev/iommureg.h |
| Source file: ./sys/arch/sparc64/dev/led.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| led_match |
|
3 |
11 |
78 |
3 |
| led_attach |
|
3 |
33 |
286 |
3 |
| led_blink |
|
1 |
7 |
56 |
2 |
| led_blink_finish |
|
2 |
10 |
48 |
1 |
| Source file: ./sys/arch/sparc64/dev/schizoreg.h |
| Source file: ./sys/arch/sparc64/dev/fd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fdcmatch_sbus |
|
1 |
7 |
43 |
3 |
| fdcattach_sbus |
|
7 |
30 |
198 |
3 |
| fdcmatch_ebus |
|
1 |
7 |
43 |
3 |
| fdcattach_ebus |
|
9 |
43 |
312 |
3 |
| fdprint |
|
2 |
9 |
44 |
2 |
| fdconf |
|
16 |
28 |
201 |
1 |
| fdcattach |
|
8 |
44 |
306 |
2 |
| fdmatch |
|
12 |
44 |
306 |
3 |
| fdattach |
|
2 |
28 |
218 |
3 |
| fdactivate |
|
2 |
10 |
38 |
2 |
| fd_dev_to_type |
|
3 |
9 |
65 |
2 |
| fdstrategy |
|
16 |
57 |
365 |
1 |
| fdstart |
|
2 |
10 |
72 |
1 |
| fdfinish |
|
4 |
17 |
130 |
2 |
| fdc_reset |
|
3 |
14 |
92 |
1 |
| fd_set_motor |
|
5 |
15 |
106 |
1 |
| fd_motor_off |
|
1 |
10 |
55 |
1 |
| fd_motor_on |
|
3 |
12 |
78 |
1 |
| fdcresult |
|
5 |
24 |
162 |
1 |
| fdc_wrfifo |
|
3 |
17 |
102 |
2 |
| fdc_diskchange |
|
1 |
8 |
48 |
1 |
| fdopen |
|
9 |
38 |
234 |
4 |
| fdclose |
|
3 |
21 |
124 |
4 |
| fdread |
|
1 |
7 |
37 |
3 |
| fdwrite |
|
1 |
7 |
37 |
3 |
| fdcstart |
|
3 |
9 |
36 |
1 |
| fdcstatus |
|
8 |
35 |
198 |
2 |
| fdctimeout |
|
3 |
22 |
112 |
1 |
| fdcpseudointr |
|
1 |
9 |
39 |
1 |
| fdchwintr |
|
15 |
62 |
330 |
1 |
| fdcswintr |
|
4 |
20 |
84 |
1 |
| fdcstate |
|
88 |
330 |
2185 |
1 |
| fdcretry |
|
16 |
54 |
316 |
1 |
| fdsize |
|
1 |
5 |
15 |
1 |
| fddump |
|
1 |
8 |
29 |
4 |
| fdioctl |
|
29 |
101 |
689 |
5 |
| fdformat |
|
6 |
45 |
343 |
3 |
| fdgetdisklabel |
|
1 |
19 |
176 |
4 |
| fd_do_eject |
|
1 |
11 |
83 |
1 |
| Source file: ./sys/arch/sparc64/dev/vdsk.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| vdsk_match |
|
2 |
7 |
47 |
3 |
| vdsk_attach |
|
15 |
112 |
899 |
3 |
| vdsk_tx_intr |
|
5 |
22 |
111 |
1 |
| vdsk_rx_intr |
|
12 |
59 |
344 |
1 |
| vdsk_rx_data |
|
6 |
21 |
120 |
2 |
| vdsk_rx_vio_ctrl |
|
5 |
21 |
104 |
2 |
| vdsk_rx_vio_ver_info |
|
5 |
24 |
139 |
2 |
| vdsk_rx_vio_attr_info |
|
7 |
28 |
168 |
2 |
| vdsk_rx_vio_dring_reg |
|
5 |
24 |
137 |
2 |
| vdsk_rx_vio_rdx |
|
5 |
30 |
162 |
2 |
| vdsk_rx_vio_data |
|
3 |
17 |
95 |
2 |
| vdsk_rx_vio_dring_data |
|
6 |
29 |
153 |
2 |
| vdsk_ldc_reset |
|
1 |
5 |
24 |
1 |
| vdsk_ldc_start |
|
1 |
5 |
27 |
1 |
| vdsk_sendmsg |
|
2 |
8 |
53 |
3 |
| vdsk_send_ver_info |
|
1 |
15 |
109 |
3 |
| vdsk_send_attr_info |
|
1 |
14 |
97 |
1 |
| vdsk_send_dring_reg |
|
1 |
18 |
139 |
1 |
| vdsk_send_rdx |
|
1 |
11 |
77 |
1 |
| vdsk_dring_alloc |
|
7 |
39 |
296 |
2 |
| vdsk_dring_free |
|
1 |
11 |
89 |
2 |
| vdsk_io_get |
|
3 |
14 |
68 |
1 |
| vdsk_io_put |
|
3 |
10 |
49 |
2 |
| vdsk_scsi_cmd |
|
24 |
59 |
273 |
1 |
| vdsk_submit_cmd |
|
18 |
103 |
821 |
1 |
| vdsk_complete_cmd |
|
3 |
20 |
154 |
2 |
| vdsk_scsi_inq |
|
2 |
8 |
47 |
1 |
| vdsk_scsi_inquiry |
|
4 |
27 |
197 |
1 |
| vdsk_scsi_capacity |
|
2 |
14 |
105 |
1 |
| vdsk_scsi_capacity16 |
|
1 |
10 |
88 |
1 |
| vdsk_scsi_done |
|
1 |
5 |
23 |
2 |
| vdsk_dev_probe |
|
2 |
7 |
36 |
1 |
| vdsk_dev_free |
|
1 |
4 |
16 |
1 |
| Source file: ./sys/arch/sparc64/dev/power.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| power_match |
|
2 |
10 |
53 |
3 |
| power_attach |
|
9 |
39 |
300 |
3 |
| power_intr |
|
2 |
9 |
36 |
1 |
| Source file: ./sys/arch/sparc64/dev/psycho.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| psycho_match |
|
5 |
17 |
131 |
3 |
| psycho_attach |
|
45 |
224 |
1775 |
3 |
| psycho_identify_pbm |
|
4 |
19 |
102 |
3 |
| psycho_map_psycho |
|
9 |
25 |
179 |
6 |
| psycho_print |
|
2 |
6 |
29 |
2 |
| psycho_set_intr |
|
2 |
21 |
173 |
6 |
| psycho_alloc_chipset |
|
2 |
11 |
70 |
3 |
| psycho_get_bus_range |
|
3 |
14 |
88 |
2 |
| psycho_get_ranges |
|
2 |
8 |
58 |
3 |
| psycho_ue |
|
1 |
13 |
96 |
1 |
| psycho_ce |
|
1 |
13 |
77 |
1 |
| psycho_bus_error |
|
2 |
17 |
142 |
2 |
| psycho_bus_a |
|
1 |
5 |
25 |
1 |
| psycho_bus_b |
|
1 |
5 |
25 |
1 |
| psycho_powerfail |
|
1 |
5 |
18 |
1 |
| psycho_wakeup |
|
1 |
6 |
31 |
1 |
| psycho_iommu_init |
|
3 |
32 |
258 |
2 |
| psycho_alloc_mem_tag |
|
1 |
6 |
25 |
1 |
| psycho_alloc_io_tag |
|
1 |
6 |
25 |
1 |
| psycho_alloc_config_tag |
|
1 |
6 |
25 |
1 |
| psycho_alloc_bus_tag |
|
2 |
21 |
154 |
5 |
| psycho_alloc_dma_tag |
|
3 |
23 |
138 |
1 |
| psycho_bus_map |
|
6 |
35 |
289 |
6 |
| psycho_bus_mmap |
|
5 |
28 |
234 |
6 |
| psycho_bus_addr |
|
6 |
21 |
166 |
3 |
| psycho_conf_size |
|
1 |
4 |
13 |
2 |
| psycho_conf_read |
|
2 |
17 |
100 |
3 |
| psycho_conf_write |
|
1 |
5 |
36 |
4 |
| psycho_intr_map |
|
6 |
22 |
166 |
2 |
| psycho_intr_establish |
|
14 |
78 |
529 |
8 |
| psycho_dmamap_create |
|
1 |
8 |
65 |
8 |
| psycho_sabre_dvmamap_sync |
|
3 |
10 |
68 |
6 |
| stick_get_timecount |
|
1 |
5 |
26 |
1 |
| Source file: ./sys/arch/sparc64/dev/vds.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| vds_match |
|
2 |
7 |
47 |
3 |
| vds_attach |
|
5 |
32 |
250 |
3 |
| vds_get_channel_endpoint |
|
5 |
28 |
222 |
2 |
| Source file: ./sys/arch/sparc64/dev/sbbc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sbbc_match |
|
3 |
8 |
56 |
3 |
| sbbc_attach |
|
18 |
83 |
718 |
3 |
| sbbc_intr |
|
2 |
15 |
87 |
1 |
| sbbc_send_intr |
|
1 |
5 |
24 |
1 |
| sbbc_attach_tod |
|
4 |
18 |
111 |
2 |
| sbbc_tod_gettime |
|
1 |
7 |
44 |
2 |
| sbbc_tod_settime |
|
1 |
6 |
38 |
2 |
| sbbc_attach_cons |
|
16 |
43 |
339 |
2 |
| sbbc_intr_cons |
|
7 |
9 |
53 |
2 |
| sbbc_softintr_cons |
|
4 |
17 |
116 |
1 |
| sbbc_cnlookc |
|
3 |
13 |
89 |
2 |
| sbbc_cngetc |
|
2 |
7 |
27 |
1 |
| sbbc_cnputc |
|
2 |
12 |
81 |
2 |
| sbbcopen |
|
7 |
30 |
220 |
4 |
| sbbcclose |
|
3 |
15 |
104 |
4 |
| sbbcread |
|
3 |
13 |
94 |
3 |
| sbbcwrite |
|
3 |
13 |
94 |
3 |
| sbbcioctl |
|
5 |
20 |
146 |
5 |
| sbbcstart |
|
3 |
15 |
86 |
1 |
| sbbcstop |
|
3 |
10 |
57 |
2 |
| sbbctty |
|
3 |
11 |
58 |
1 |
| sbbcparam |
|
1 |
7 |
43 |
2 |
| Source file: ./sys/arch/sparc64/dev/creatorreg.h |
| Source file: ./sys/arch/sparc64/dev/radeonfb.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| radeonfb_match |
|
3 |
12 |
86 |
3 |
| radeonfb_attach |
|
5 |
49 |
400 |
3 |
| radeonfb_ioctl |
|
19 |
61 |
364 |
5 |
| radeonfb_mmap |
|
15 |
36 |
252 |
3 |
| radeonfb_is_console |
|
1 |
5 |
18 |
1 |
| radeonfb_getcmap |
|
6 |
18 |
137 |
2 |
| radeonfb_putcmap |
|
7 |
27 |
257 |
2 |
| radeonfb_setcolor |
|
1 |
11 |
98 |
5 |
| radeonfb_copycols |
|
1 |
13 |
108 |
5 |
| radeonfb_erasecols |
|
1 |
13 |
119 |
5 |
| radeonfb_copyrows |
|
1 |
11 |
91 |
4 |
| radeonfb_eraserows |
|
3 |
20 |
163 |
4 |
| radeonfb_init |
|
1 |
9 |
69 |
1 |
| radeonfb_wait_fifo |
|
3 |
10 |
58 |
2 |
| radeonfb_wait |
|
5 |
19 |
120 |
1 |
| radeonfb_copyrect |
|
4 |
45 |
271 |
7 |
| radeonfb_fillrect |
|
2 |
30 |
200 |
6 |
| Source file: ./sys/arch/sparc64/dev/zs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| zs_match_sbus |
|
2 |
11 |
64 |
3 |
| zs_match_fhc |
|
2 |
11 |
64 |
3 |
| zs_attach_sbus |
|
4 |
32 |
207 |
3 |
| zs_attach_fhc |
|
6 |
37 |
244 |
3 |
| zs_attach |
|
17 |
82 |
568 |
3 |
| zs_print |
|
3 |
11 |
60 |
2 |
| zshard |
|
6 |
12 |
88 |
1 |
| zssoft |
|
4 |
18 |
110 |
1 |
| zs_get_speed |
|
1 |
8 |
47 |
1 |
| zs_set_speed |
|
6 |
19 |
115 |
2 |
| zs_set_modes |
|
7 |
33 |
201 |
2 |
| zs_read_reg |
|
1 |
11 |
46 |
2 |
| zs_write_reg |
|
1 |
9 |
42 |
3 |
| zs_read_csr |
|
1 |
8 |
30 |
1 |
| zs_write_csr |
|
1 |
7 |
27 |
2 |
| zs_read_data |
|
1 |
8 |
30 |
1 |
| zs_write_data |
|
1 |
7 |
27 |
2 |
| zs_abort |
|
4 |
19 |
71 |
1 |
| zs_getc |
|
2 |
15 |
75 |
1 |
| zs_putc |
|
2 |
15 |
74 |
2 |
| zscngetc |
|
1 |
5 |
17 |
1 |
| zscnputc |
|
1 |
6 |
21 |
2 |
| zscnpollc |
|
2 |
9 |
25 |
2 |
| zs_console_flags |
|
9 |
30 |
179 |
3 |
| Source file: ./sys/arch/sparc64/dev/ifb_ident.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ifb_ident |
|
6 |
15 |
93 |
1 |
| Source file: ./sys/arch/sparc64/dev/ssm.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ssm_match |
|
2 |
7 |
47 |
3 |
| ssm_attach |
|
4 |
25 |
217 |
3 |
| ssm_print |
|
2 |
7 |
40 |
2 |
| Source file: ./sys/arch/sparc64/dev/com_ebus.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| com_ebus_match |
|
10 |
22 |
168 |
3 |
| com_ebus_attach |
|
19 |
80 |
685 |
3 |
| com_ebus_speed |
|
7 |
19 |
139 |
1 |
| Source file: ./sys/arch/sparc64/dev/z8530kbd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| zskbd_match |
|
4 |
17 |
99 |
3 |
| zskbd_attach |
|
15 |
90 |
666 |
3 |
| zskbd_init |
|
22 |
108 |
623 |
1 |
| zskbd_putc |
|
2 |
14 |
70 |
2 |
| zsenqueue_tx |
|
4 |
23 |
128 |
3 |
| zsstart_tx |
|
5 |
25 |
166 |
1 |
| zs_maskintr |
|
4 |
19 |
121 |
1 |
| zs_modem |
|
5 |
20 |
111 |
2 |
| zs_hwiflow |
|
3 |
15 |
116 |
1 |
| zskbd_rxint |
|
9 |
44 |
281 |
1 |
| zskbd_txint |
|
6 |
28 |
182 |
1 |
| zskbd_stint |
|
4 |
23 |
129 |
2 |
| zskbd_diag |
|
3 |
19 |
106 |
1 |
| zskbd_rxsoft |
|
16 |
65 |
423 |
1 |
| zskbd_txsoft |
|
1 |
4 |
11 |
1 |
| zskbd_stsoft |
|
3 |
18 |
94 |
1 |
| zskbd_softint |
|
4 |
20 |
91 |
1 |
| zskbd_cnpollc |
|
2 |
10 |
30 |
2 |
| zskbd_cngetc |
|
2 |
16 |
89 |
3 |
| Source file: ./sys/arch/sparc64/dev/uperfvar.h |
| Source file: ./sys/arch/sparc64/dev/auxiovar.h |
| Source file: ./sys/arch/sparc64/dev/clkbrd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| clkbrd_match |
|
2 |
7 |
47 |
3 |
| clkbrd_attach |
|
12 |
56 |
383 |
3 |
| clkbrd_led_blink |
|
2 |
15 |
91 |
2 |
| clkbrd_refresh |
|
5 |
22 |
139 |
1 |
| Source file: ./sys/arch/sparc64/dev/vgafb.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| vgafbmatch |
|
9 |
22 |
148 |
3 |
| vgafbattach |
|
7 |
37 |
315 |
3 |
| vgafb_ioctl |
|
21 |
65 |
348 |
5 |
| vgafb_getcmap |
|
6 |
20 |
141 |
2 |
| vgafb_putcmap |
|
7 |
27 |
241 |
2 |
| vgafb_setcolor |
|
1 |
11 |
83 |
5 |
| vgafb_mmap |
|
13 |
33 |
209 |
3 |
| vgafb_is_console |
|
1 |
6 |
20 |
1 |
| vgafb_mapregs |
|
16 |
70 |
407 |
2 |
| Source file: ./sys/arch/sparc64/dev/fb.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fb_unblank |
|
2 |
5 |
24 |
1 |
| fb_setsize |
|
2 |
15 |
141 |
6 |
| a2int |
|
3 |
9 |
52 |
2 |
| fb_initwsd |
|
1 |
8 |
78 |
1 |
| fb_updatecursor |
|
3 |
8 |
57 |
1 |
| fbwscons_init |
|
16 |
51 |
404 |
3 |
| fbwscons_console_init |
|
13 |
41 |
300 |
2 |
| fbwscons_setcolormap |
|
5 |
20 |
201 |
2 |
| fbwscons_attach |
|
4 |
28 |
179 |
3 |
| fb_alloc_screen |
|
4 |
23 |
154 |
6 |
| fb_free_screen |
|
1 |
5 |
24 |
2 |
| fb_show_screen |
|
1 |
5 |
38 |
5 |
| fb_load_font |
|
1 |
6 |
44 |
3 |
| fb_list_font |
|
1 |
6 |
38 |
2 |
| fb_get_console_metrics |
|
5 |
16 |
130 |
4 |
| Source file: ./sys/arch/sparc64/dev/gfxp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| gfxp_match |
|
3 |
12 |
79 |
3 |
| gfxp_attach |
|
6 |
56 |
462 |
3 |
| gfxp_ioctl |
|
19 |
58 |
328 |
5 |
| gfxp_mmap |
|
13 |
30 |
203 |
3 |
| gfxp_is_console |
|
1 |
5 |
18 |
1 |
| gfxp_getcmap |
|
6 |
18 |
137 |
2 |
| gfxp_putcmap |
|
7 |
33 |
287 |
2 |
| gfxp_setcolor |
|
1 |
13 |
121 |
5 |
| gfxp_copycols |
|
1 |
13 |
108 |
5 |
| gfxp_erasecols |
|
1 |
13 |
119 |
5 |
| gfxp_copyrows |
|
1 |
11 |
91 |
4 |
| gfxp_eraserows |
|
3 |
20 |
163 |
4 |
| gfxp_init |
|
1 |
7 |
43 |
1 |
| gfxp_reinit |
|
2 |
14 |
115 |
1 |
| gfxp_indexed_write |
|
1 |
9 |
72 |
3 |
| gfxp_wait_fifo |
|
3 |
11 |
57 |
2 |
| gfxp_wait |
|
6 |
23 |
145 |
1 |
| gfxp_copyrect |
|
3 |
21 |
170 |
7 |
| gfxp_fillrect |
|
1 |
15 |
123 |
6 |
| Source file: ./sys/arch/sparc64/dev/fdvar.h |
| Source file: ./sys/arch/sparc64/dev/vcons.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| vcons_match |
|
2 |
7 |
47 |
3 |
| vcons_attach |
|
10 |
38 |
274 |
3 |
| vcons_intr |
|
2 |
7 |
33 |
1 |
| vcons_cnlookc |
|
5 |
11 |
54 |
2 |
| vcons_cngetc |
|
2 |
7 |
27 |
1 |
| vcons_cnputc |
|
2 |
4 |
20 |
2 |
| vconsopen |
|
7 |
30 |
220 |
4 |
| vconsclose |
|
3 |
15 |
104 |
4 |
| vconsread |
|
3 |
13 |
94 |
3 |
| vconswrite |
|
3 |
13 |
94 |
3 |
| vconsioctl |
|
5 |
20 |
146 |
5 |
| vconsstart |
|
3 |
15 |
86 |
1 |
| vconsstop |
|
3 |
10 |
57 |
2 |
| vconstty |
|
3 |
11 |
58 |
1 |
| vconsparam |
|
1 |
7 |
43 |
2 |
| vcons_softintr |
|
3 |
10 |
66 |
1 |
| Source file: ./sys/arch/sparc64/dev/cmp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cmp_match |
|
2 |
7 |
47 |
3 |
| cmp_attach |
|
4 |
19 |
147 |
3 |
| cmp_print |
|
2 |
7 |
40 |
2 |
| Source file: ./sys/arch/sparc64/dev/upa.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| upa_match |
|
2 |
7 |
47 |
3 |
| upa_attach |
|
9 |
41 |
348 |
3 |
| upa_print |
|
2 |
7 |
40 |
2 |
| upa_alloc_bus_tag |
|
2 |
15 |
113 |
1 |
| upa_bus_map |
|
8 |
28 |
218 |
6 |
| upa_bus_mmap |
|
8 |
26 |
219 |
6 |
| Source file: ./sys/arch/sparc64/dev/cons.h |
| Source file: ./sys/arch/sparc64/dev/ppm.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ppm_match |
|
2 |
7 |
45 |
3 |
| ppm_attach |
|
8 |
46 |
366 |
3 |
| ppm_led_blink |
|
2 |
12 |
77 |
2 |
| Source file: ./sys/arch/sparc64/dev/clkbrdreg.h |
| Source file: ./sys/arch/sparc64/dev/ce4231.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ce4231_match |
|
3 |
10 |
61 |
3 |
| ce4231_attach |
|
9 |
84 |
625 |
3 |
| ce4231_write |
|
1 |
7 |
38 |
3 |
| ce4231_read |
|
1 |
7 |
35 |
2 |
| ce4231_set_speed |
|
9 |
52 |
433 |
2 |
| ce4231_open |
|
5 |
28 |
181 |
2 |
| ce4231_close |
|
1 |
10 |
51 |
1 |
| ce4231_set_params |
|
10 |
47 |
267 |
5 |
| ce4231_round_blocksize |
|
1 |
6 |
29 |
2 |
| ce4231_commit_settings |
|
16 |
56 |
412 |
1 |
| ce4231_halt_output |
|
1 |
10 |
61 |
1 |
| ce4231_halt_input |
|
1 |
10 |
61 |
1 |
| ce4231_set_outputs |
|
4 |
14 |
98 |
2 |
| ce4231_get_outputs |
|
4 |
13 |
75 |
1 |
| ce4231_set_port |
|
30 |
145 |
973 |
2 |
| ce4231_get_port |
|
31 |
100 |
676 |
2 |
| ce4231_query_devinfo |
|
16 |
147 |
1218 |
2 |
| ce4231_get_props |
|
1 |
5 |
15 |
1 |
| ce4231_pintr |
|
8 |
43 |
293 |
1 |
| ce4231_cintr |
|
8 |
43 |
293 |
1 |
| ce4231_alloc |
|
6 |
40 |
303 |
5 |
| ce4231_free |
|
3 |
21 |
156 |
3 |
| if |
|
1 |
5 |
26 |
1 |
| if |
|
1 |
5 |
41 |
1 |
| if |
|
1 |
5 |
26 |
1 |
| if |
|
1 |
5 |
41 |
1 |
| Source file: ./sys/arch/sparc64/dev/iommu.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| iommu_strbuf_flush |
|
3 |
9 |
47 |
2 |
| iommu_init |
|
11 |
78 |
630 |
4 |
| iommu_reset |
|
5 |
17 |
111 |
1 |
| strbuf_reset |
|
4 |
17 |
112 |
1 |
| iommu_enter |
|
5 |
25 |
236 |
5 |
| iommu_remove |
|
9 |
25 |
186 |
3 |
| iommu_extract |
|
3 |
7 |
54 |
2 |
| iommu_lookup_tte |
|
3 |
7 |
52 |
2 |
| iommu_fetch_tte |
|
3 |
8 |
54 |
2 |
| iommu_tsb_entry |
|
4 |
10 |
78 |
2 |
| iommu_strbuf_flush_done |
|
8 |
49 |
299 |
1 |
| iommu_dvmamap_create |
|
6 |
26 |
171 |
9 |
| iommu_dvmamap_destroy |
|
3 |
10 |
66 |
3 |
| iommu_dvmamap_load |
|
38 |
133 |
878 |
7 |
| iommu_dvmamap_load_raw |
|
39 |
144 |
971 |
7 |
| iommu_dvmamap_append_range |
|
15 |
57 |
360 |
6 |
| iommu_dvmamap_load_seg |
|
8 |
42 |
258 |
8 |
| iommu_dvmamap_load_mlist |
|
5 |
25 |
152 |
7 |
| iommu_dvmamap_unload |
|
11 |
36 |
229 |
3 |
| iommu_dvmamap_validate_map |
|
13 |
53 |
331 |
3 |
| iommu_dvmamap_print_map |
|
18 |
75 |
496 |
3 |
| _iommu_dvmamap_sync |
|
12 |
29 |
217 |
6 |
| iommu_dvmamap_sync |
|
10 |
20 |
135 |
6 |
| iommu_dvmamap_sync_range |
|
9 |
26 |
189 |
3 |
| iommu_dvmamem_alloc |
|
1 |
12 |
106 |
9 |
| iommu_dvmamem_free |
|
1 |
8 |
53 |
4 |
| iommu_iomap_create |
|
3 |
21 |
151 |
1 |
| iommu_iomap_destroy |
|
3 |
7 |
39 |
1 |
| iomap_compare |
|
3 |
5 |
44 |
2 |
| iommu_iomap_insert_page |
|
4 |
20 |
131 |
2 |
| iommu_iomap_load_map |
|
7 |
24 |
189 |
4 |
| iommu_iomap_unload_map |
|
5 |
15 |
136 |
2 |
| iommu_iomap_translate |
|
2 |
12 |
82 |
2 |
| iommu_iomap_clear_pages |
|
1 |
5 |
27 |
1 |
| Source file: ./sys/arch/sparc64/dev/pci_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pci_attach_hook |
|
1 |
6 |
25 |
3 |
| pci_bus_maxdevs |
|
1 |
6 |
17 |
2 |
| pci_make_tag |
|
16 |
47 |
347 |
4 |
| pci_decompose_tag |
|
4 |
12 |
72 |
5 |
| pci_bus_frequency |
|
3 |
18 |
84 |
1 |
| sparc64_pci_enumerate_bus |
|
14 |
60 |
492 |
3 |
| pci_conf_size |
|
2 |
7 |
41 |
2 |
| pci_conf_read |
|
2 |
7 |
49 |
3 |
| pci_conf_write |
|
2 |
5 |
39 |
4 |
| pci_intr_map |
|
10 |
40 |
312 |
2 |
| pci_intr_map_msi |
|
3 |
10 |
77 |
2 |
| pci_intr_line |
|
1 |
4 |
15 |
2 |
| pci_intr_string |
|
2 |
13 |
80 |
2 |
| if |
|
1 |
4 |
16 |
1 |
| pci_intr_disestablish |
|
1 |
7 |
31 |
2 |
| pci_msi_enable |
|
3 |
16 |
137 |
4 |
| Source file: ./sys/arch/sparc64/dev/vrng.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| vrng_match |
|
2 |
7 |
47 |
3 |
| vrng_attach |
|
7 |
39 |
307 |
3 |
| vrng_rnd |
|
7 |
21 |
130 |
1 |
| Source file: ./sys/arch/sparc64/dev/vbusvar.h |
| Source file: ./sys/arch/sparc64/dev/clkbrdvar.h |
| Source file: ./sys/arch/sparc64/dev/machfb.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| machfb_match |
|
4 |
14 |
109 |
3 |
| machfb_attach |
|
7 |
56 |
466 |
3 |
| machfb_ioctl |
|
16 |
51 |
311 |
5 |
| machfb_mmap |
|
13 |
30 |
203 |
3 |
| machfb_is_console |
|
1 |
5 |
18 |
1 |
| machfb_getcmap |
|
6 |
18 |
137 |
2 |
| machfb_putcmap |
|
7 |
31 |
288 |
2 |
| machfb_setcolor |
|
1 |
12 |
129 |
5 |
| machfb_copycols |
|
1 |
13 |
108 |
5 |
| machfb_erasecols |
|
1 |
13 |
119 |
5 |
| machfb_copyrows |
|
1 |
11 |
91 |
4 |
| machfb_eraserows |
|
3 |
20 |
163 |
4 |
| machfb_init |
|
1 |
69 |
695 |
1 |
| machfb_wait_fifo |
|
3 |
11 |
66 |
2 |
| machfb_wait |
|
3 |
12 |
65 |
1 |
| machfb_copyrect |
|
3 |
40 |
289 |
7 |
| machfb_fillrect |
|
1 |
24 |
221 |
6 |
| Source file: ./sys/arch/sparc64/dev/lpt_ebus.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| lpt_ebus_match |
|
3 |
11 |
62 |
3 |
| lpt_ebus_attach |
|
4 |
30 |
261 |
3 |
| Source file: ./sys/arch/sparc64/dev/fhcvar.h |
| Source file: ./sys/arch/sparc64/dev/sbusreg.h |
| Source file: ./sys/arch/sparc64/dev/environ.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| environ_match |
|
2 |
7 |
47 |
3 |
| environ_attach |
|
3 |
24 |
194 |
3 |
| environ_refresh |
|
3 |
17 |
95 |
1 |
| Source file: ./sys/arch/sparc64/dev/auxioreg.h |
| Source file: ./sys/arch/sparc64/dev/vrtc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| vrtc_match |
|
2 |
7 |
47 |
3 |
| vrtc_attach |
|
2 |
14 |
86 |
3 |
| vrtc_gettime |
|
2 |
9 |
47 |
2 |
| vrtc_settime |
|
2 |
6 |
33 |
2 |
| Source file: ./sys/arch/sparc64/dev/ofwi2c.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ofwiic_pci_scan |
|
6 |
18 |
143 |
3 |
| ofwiic_scan |
|
14 |
44 |
383 |
3 |
| Source file: ./sys/arch/sparc64/dev/pyrovar.h |
| Source file: ./sys/arch/sparc64/dev/psychovar.h |
| Source file: ./sys/arch/sparc64/dev/ebusvar.h |
| Source file: ./sys/arch/sparc64/dev/starfire.h |
| Source file: ./sys/arch/sparc64/dev/beep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| beep_match |
|
2 |
7 |
47 |
3 |
| beep_attach |
|
8 |
37 |
307 |
3 |
| beep_setfreq |
|
9 |
32 |
309 |
2 |
| beep_stop |
|
1 |
11 |
56 |
1 |
| beep_bell |
|
8 |
26 |
161 |
5 |
| Source file: ./sys/arch/sparc64/dev/pckbc_ebus.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pckbc_ebus_match |
|
2 |
10 |
53 |
3 |
| pckbc_ebus_attach |
|
13 |
78 |
604 |
3 |
| pckbc_ebus_is_console |
|
6 |
17 |
100 |
1 |
| Source file: ./sys/arch/sparc64/dev/prtc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| prtc_match |
|
2 |
7 |
47 |
3 |
| prtc_attach |
|
2 |
14 |
86 |
3 |
| prtc_gettime |
|
3 |
16 |
115 |
2 |
| prtc_settime |
|
1 |
4 |
17 |
2 |
| Source file: ./sys/arch/sparc64/dev/uperf_ebus.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| uperf_ebus_match |
|
1 |
8 |
44 |
3 |
| uperf_ebus_attach |
|
6 |
35 |
253 |
3 |
| uperf_ebus_read_reg |
|
1 |
28 |
229 |
2 |
| uperf_ebus_write_reg |
|
1 |
28 |
239 |
3 |
| uperf_ebus_clrcnt |
|
4 |
16 |
80 |
2 |
| uperf_ebus_setcntsrc |
|
3 |
19 |
111 |
4 |
| uperf_ebus_getcntsrc |
|
3 |
14 |
86 |
4 |
| uperf_ebus_getcnt |
|
3 |
15 |
83 |
4 |
| uperf_ebus_xir |
|
1 |
5 |
27 |
2 |
| Source file: ./sys/arch/sparc64/dev/viommu.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| viommu_init |
|
3 |
26 |
200 |
4 |
| viommu_enter |
|
9 |
23 |
179 |
5 |
| viommu_remove |
|
7 |
16 |
128 |
3 |
| viommu_dvmamap_create |
|
3 |
23 |
143 |
9 |
| viommu_dvmamap_destroy |
|
3 |
10 |
66 |
3 |
| viommu_dvmamap_load |
|
29 |
120 |
792 |
7 |
| viommu_dvmamap_load_raw |
|
26 |
104 |
710 |
7 |
| viommu_dvmamap_append_range |
|
15 |
57 |
360 |
6 |
| viommu_dvmamap_load_seg |
|
8 |
42 |
258 |
8 |
| viommu_dvmamap_load_mlist |
|
5 |
25 |
152 |
7 |
| viommu_dvmamap_unload |
|
5 |
25 |
163 |
3 |
| viommu_dvmamap_sync |
|
9 |
17 |
110 |
6 |
| viommu_dvmamem_alloc |
|
1 |
12 |
106 |
9 |
| viommu_dvmamem_free |
|
1 |
8 |
53 |
4 |
| viommu_iomap_create |
|
3 |
14 |
95 |
1 |
| viommu_iomap_load_map |
|
2 |
12 |
91 |
4 |
| viommu_iomap_unload_map |
|
2 |
8 |
67 |
2 |
| Source file: ./sys/arch/sparc64/dev/vldc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| vldc_match |
|
3 |
8 |
58 |
3 |
| vldc_attach |
|
6 |
35 |
265 |
3 |
| vldc_get_channel_endpoint |
|
5 |
28 |
222 |
2 |
| Source file: ./sys/arch/sparc64/dev/schizovar.h |
| Source file: ./sys/arch/sparc64/dev/uperf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| uperfopen |
|
3 |
11 |
65 |
4 |
| uperfclose |
|
1 |
7 |
30 |
4 |
| uperfioctl |
|
5 |
27 |
152 |
5 |
| uperf_getcntsrc |
|
6 |
24 |
131 |
2 |
| uperf_findbyval |
|
5 |
18 |
96 |
4 |
| uperf_setcntsrc |
|
5 |
22 |
124 |
2 |
| uperf_findbysrc |
|
5 |
17 |
95 |
4 |
| Source file: ./sys/arch/sparc64/dev/cbusvar.h |
| Source file: ./sys/arch/sparc64/dev/vbus.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| vbus_match |
|
2 |
7 |
47 |
3 |
| vbus_attach |
|
4 |
31 |
264 |
3 |
| vbus_print |
|
2 |
7 |
40 |
2 |
| vbus_cmp_cells |
|
3 |
9 |
70 |
4 |
| vbus_intr_map |
|
9 |
48 |
395 |
3 |
| vbus_intr_establish |
|
6 |
25 |
182 |
8 |
| vbus_intr_ack |
|
1 |
4 |
18 |
1 |
| vbus_alloc_bus_tag |
|
2 |
15 |
112 |
2 |
| Source file: ./sys/arch/sparc64/dev/vdsp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| vdsp_match |
|
2 |
7 |
47 |
3 |
| vdsp_attach |
|
6 |
51 |
389 |
3 |
| vdsp_tx_intr |
|
6 |
28 |
143 |
1 |
| vdsp_rx_intr |
|
11 |
58 |
339 |
1 |
| vdsp_rx_data |
|
6 |
21 |
120 |
2 |
| vdsp_rx_vio_ctrl |
|
5 |
21 |
104 |
2 |
| vdsp_rx_vio_ver_info |
|
6 |
39 |
251 |
2 |
| vdsp_rx_vio_attr_info |
|
5 |
26 |
157 |
2 |
| vdsp_rx_vio_dring_reg |
|
6 |
27 |
167 |
2 |
| vdsp_rx_vio_rdx |
|
3 |
18 |
96 |
2 |
| vdsp_rx_vio_data |
|
4 |
20 |
111 |
2 |
| vdsp_rx_vio_dring_data |
|
8 |
52 |
318 |
2 |
| vdsp_vd_task |
|
11 |
41 |
193 |
1 |
| vdsp_rx_vio_desc_data |
|
5 |
32 |
176 |
2 |
| vdsp_ldc_reset |
|
1 |
6 |
34 |
1 |
| vdsp_ldc_start |
|
1 |
3 |
9 |
1 |
| vdsp_sendmsg |
|
5 |
11 |
80 |
4 |
| vdsp_open |
|
10 |
59 |
423 |
1 |
| vdsp_close |
|
2 |
17 |
120 |
1 |
| vdsp_readlabel |
|
3 |
26 |
188 |
1 |
| vdsp_writelabel |
|
3 |
22 |
160 |
1 |
| vdsp_is_iso |
|
4 |
27 |
207 |
1 |
| vdsp_alloc |
|
1 |
19 |
160 |
1 |
| vdsp_read |
|
2 |
13 |
88 |
1 |
| vdsp_read_desc |
|
7 |
62 |
438 |
2 |
| vdsp_read_dring |
|
7 |
62 |
418 |
2 |
| vdsp_write_dring |
|
6 |
60 |
408 |
2 |
| vdsp_flush_dring |
|
2 |
10 |
57 |
2 |
| vdsp_get_vtoc |
|
11 |
84 |
635 |
2 |
| vdsp_set_vtoc |
|
10 |
77 |
644 |
2 |
| vdsp_get_diskgeom |
|
12 |
78 |
576 |
2 |
| vdsp_unimp |
|
1 |
8 |
47 |
2 |
| vdsp_ack_desc |
|
3 |
36 |
261 |
2 |
| vdspopen |
|
5 |
24 |
196 |
4 |
| vdspclose |
|
3 |
16 |
131 |
4 |
| vdspioctl |
|
3 |
11 |
72 |
5 |
| Source file: ./sys/arch/sparc64/dev/consinit.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| prom_cnprobe |
|
4 |
9 |
55 |
1 |
| prom_cngetc |
|
8 |
18 |
88 |
1 |
| prom_cninit |
|
3 |
5 |
31 |
1 |
| prom_cnputc |
|
3 |
9 |
54 |
2 |
| prom_cnpollc |
|
3 |
8 |
30 |
2 |
| consinit |
|
11 |
36 |
272 |
1 |
| Source file: ./sys/arch/sparc64/dev/vcc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| vcc_match |
|
2 |
7 |
47 |
3 |
| vcc_attach |
|
6 |
35 |
265 |
3 |
| vcc_get_channel_endpoint |
|
5 |
28 |
222 |
2 |
| Source file: ./sys/arch/sparc64/dev/vcctty.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| vcctty_match |
|
1 |
4 |
22 |
3 |
| vcctty_attach |
|
7 |
49 |
411 |
3 |
| vcctty_tx_intr |
|
6 |
27 |
138 |
1 |
| vcctty_rx_intr |
|
12 |
45 |
301 |
1 |
| vcctty_send_data |
|
6 |
25 |
209 |
2 |
| vcctty_send_break |
|
4 |
19 |
158 |
1 |
| vccttyopen |
|
7 |
31 |
228 |
4 |
| vccttyclose |
|
3 |
15 |
104 |
4 |
| vccttyread |
|
3 |
13 |
94 |
3 |
| vccttywrite |
|
3 |
13 |
94 |
3 |
| vccttyioctl |
|
7 |
31 |
179 |
5 |
| vccttystart |
|
4 |
20 |
125 |
1 |
| vccttystop |
|
3 |
10 |
57 |
2 |
| vccttytty |
|
3 |
11 |
58 |
1 |
| vccttyparam |
|
1 |
7 |
43 |
2 |
| vccttyhwiflow |
|
2 |
8 |
69 |
2 |
| Source file: ./sys/arch/sparc64/dev/viommuvar.h |
| Source file: ./sys/arch/sparc64/dev/wbsd_ebus.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wbsd_ebus_match |
|
2 |
7 |
47 |
3 |
| wbsd_ebus_attach |
|
3 |
22 |
193 |
3 |
| Source file: ./sys/arch/sparc64/dev/mgiic.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mgiic_match |
|
4 |
12 |
95 |
3 |
| mgiic_attach |
|
2 |
24 |
193 |
3 |
| mgiic_i2c_acquire_bus |
|
4 |
7 |
52 |
2 |
| mgiic_i2c_release_bus |
|
4 |
7 |
42 |
2 |
| mgiic_i2c_exec |
|
8 |
24 |
159 |
8 |
| mgiic_xmit |
|
14 |
56 |
347 |
4 |
| mgiic_recv |
|
15 |
67 |
413 |
4 |
| mgiic_read |
|
1 |
6 |
47 |
2 |
| mgiic_write |
|
1 |
7 |
52 |
3 |
| mgiic_control |
|
1 |
6 |
42 |
3 |
| mgiic_poll |
|
3 |
10 |
53 |
1 |
| Source file: ./sys/arch/sparc64/dev/fhcreg.h |
| Source file: ./sys/arch/sparc64/dev/ce4231var.h |
| Source file: ./sys/arch/sparc64/dev/gfb.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| gfb_match |
|
2 |
7 |
47 |
3 |
| gfb_attach |
|
3 |
24 |
233 |
3 |
| gfb_ioctl |
|
15 |
38 |
203 |
5 |
| Source file: ./sys/arch/sparc64/dev/pmc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pmc_match |
|
2 |
7 |
47 |
3 |
| pmc_attach |
|
5 |
26 |
214 |
3 |
| pmc_activate |
|
2 |
9 |
33 |
2 |
| pmc_wdog_cb |
|
2 |
11 |
78 |
2 |
| Source file: ./sys/arch/sparc64/dev/stp_sbus.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| stpmatch |
|
1 |
8 |
44 |
3 |
| stpattach |
|
10 |
58 |
468 |
3 |
| Source file: ./sys/arch/sparc64/dev/vnet.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| vnet_match |
|
2 |
7 |
47 |
3 |
| vnet_attach |
|
6 |
64 |
518 |
3 |
| vnet_tx_intr |
|
5 |
22 |
111 |
1 |
| vnet_rx_intr |
|
12 |
62 |
370 |
1 |
| vnet_handshake |
|
1 |
5 |
23 |
1 |
| vio_rx_data |
|
6 |
21 |
120 |
2 |
| vnet_rx_vio_ctrl |
|
5 |
21 |
104 |
2 |
| vnet_rx_vio_ver_info |
|
9 |
42 |
264 |
2 |
| vnet_rx_vio_attr_info |
|
7 |
32 |
193 |
2 |
| vnet_rx_vio_dring_reg |
|
6 |
32 |
210 |
2 |
| vnet_rx_vio_rdx |
|
6 |
33 |
191 |
2 |
| vnet_rx_vio_data |
|
5 |
21 |
121 |
2 |
| vnet_rx_vio_desc_data |
|
9 |
67 |
450 |
2 |
| vnet_rx_vio_dring_data |
|
18 |
108 |
748 |
2 |
| vnet_ldc_reset |
|
4 |
21 |
177 |
1 |
| vnet_ldc_start |
|
1 |
6 |
35 |
1 |
| vnet_sendmsg |
|
2 |
8 |
53 |
3 |
| vnet_send_ver_info |
|
1 |
14 |
101 |
3 |
| vnet_send_attr_info |
|
2 |
21 |
147 |
1 |
| vnet_send_dring_reg |
|
1 |
18 |
137 |
1 |
| vio_send_rdx |
|
1 |
10 |
58 |
1 |
| vnet_send_dring_data |
|
2 |
18 |
127 |
2 |
| vnet_start |
|
19 |
80 |
672 |
1 |
| vnet_start_desc |
|
9 |
59 |
487 |
1 |
| vnet_ioctl |
|
11 |
36 |
212 |
3 |
| vnet_watchdog |
|
1 |
5 |
29 |
1 |
| vnet_media_change |
|
1 |
4 |
14 |
1 |
| vnet_media_status |
|
3 |
8 |
49 |
2 |
| vnet_link_state |
|
4 |
14 |
79 |
1 |
| vnet_setmulti |
|
7 |
34 |
228 |
2 |
| vnet_init |
|
7 |
39 |
342 |
1 |
| vnet_stop |
|
1 |
22 |
189 |
1 |
| vnet_dring_alloc |
|
7 |
37 |
283 |
2 |
| vnet_dring_free |
|
1 |
11 |
89 |
2 |
| Source file: ./sys/arch/sparc64/dev/raptor.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| raptor_match |
|
3 |
12 |
79 |
3 |
| raptor_attach |
|
4 |
43 |
369 |
3 |
| raptor_ioctl |
|
16 |
47 |
273 |
5 |
| raptor_mmap |
|
13 |
30 |
203 |
3 |
| raptor_is_console |
|
1 |
5 |
18 |
1 |
| raptor_getcmap |
|
6 |
18 |
137 |
2 |
| raptor_putcmap |
|
7 |
32 |
291 |
2 |
| raptor_setcolor |
|
1 |
12 |
129 |
5 |
| raptor_copycols |
|
1 |
13 |
108 |
5 |
| raptor_erasecols |
|
1 |
13 |
119 |
5 |
| raptor_copyrows |
|
1 |
11 |
91 |
4 |
| raptor_eraserows |
|
3 |
20 |
163 |
4 |
| raptor_init |
|
6 |
43 |
348 |
1 |
| raptor_wait |
|
3 |
11 |
58 |
1 |
| raptor_copyrect |
|
4 |
28 |
202 |
7 |
| raptor_fillrect |
|
2 |
16 |
161 |
6 |
| Source file: ./sys/arch/sparc64/dev/comkbd_ebus.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| comkbd_iskbd |
|
2 |
7 |
30 |
1 |
| comkbd_match |
|
8 |
22 |
164 |
3 |
| comkbd_attach |
|
14 |
79 |
634 |
3 |
| comkbd_cnpollc |
|
1 |
5 |
15 |
2 |
| comkbd_cngetc |
|
3 |
18 |
90 |
3 |
| comkbd_putc |
|
5 |
21 |
108 |
2 |
| comkbd_enqueue |
|
4 |
25 |
134 |
3 |
| comkbd_soft |
|
9 |
34 |
218 |
1 |
| comkbd_intr |
|
11 |
39 |
219 |
1 |
| comkbd_init |
|
15 |
59 |
312 |
1 |
| Source file: ./sys/arch/sparc64/dev/ebus.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ebus_match |
|
16 |
29 |
230 |
3 |
| ebus_attach |
|
10 |
58 |
390 |
3 |
| ebus_setup_attach_args |
|
7 |
34 |
270 |
3 |
| ebus_destroy_attach_args |
|
5 |
11 |
93 |
1 |
| ebus_print |
|
5 |
14 |
127 |
2 |
| ebus_find_ino |
|
9 |
44 |
367 |
2 |
| ebus_alloc_mem_tag |
|
1 |
5 |
26 |
2 |
| ebus_alloc_io_tag |
|
1 |
5 |
26 |
2 |
| _ebus_alloc_bus_tag |
|
2 |
18 |
128 |
4 |
| ebus_alloc_dma_tag |
|
2 |
11 |
66 |
2 |
| _ebus_bus_map |
|
9 |
44 |
367 |
6 |
| ebus_bus_mmap |
|
5 |
23 |
178 |
6 |
| Source file: ./sys/arch/sparc64/dev/sab.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sab_match |
|
5 |
14 |
97 |
3 |
| sab_attach |
|
11 |
66 |
433 |
3 |
| sabtty_activate |
|
3 |
12 |
58 |
2 |
| sab_print |
|
2 |
10 |
49 |
2 |
| sab_intr |
|
8 |
17 |
140 |
1 |
| sab_softintr |
|
5 |
9 |
73 |
1 |
| sabtty_match |
|
2 |
9 |
47 |
3 |
| sabtty_attach |
|
11 |
78 |
456 |
3 |
| sabtty_intr |
|
28 |
91 |
554 |
2 |
| sabtty_softintr |
|
10 |
42 |
289 |
1 |
| sabttyopen |
|
22 |
98 |
689 |
4 |
| sabttyclose |
|
4 |
32 |
244 |
4 |
| sabttyread |
|
1 |
10 |
82 |
3 |
| sabttywrite |
|
1 |
10 |
82 |
3 |
| sabttyioctl |
|
14 |
61 |
372 |
5 |
| sabttytty |
|
1 |
7 |
46 |
1 |
| sabttystop |
|
3 |
18 |
120 |
2 |
| sabtty_mdmctrl |
|
16 |
67 |
382 |
3 |
| sabttyparam |
|
14 |
71 |
382 |
3 |
| sabtty_param |
|
1 |
8 |
64 |
2 |
| sabtty_start |
|
3 |
19 |
145 |
1 |
| sabtty_cec_wait |
|
4 |
11 |
58 |
1 |
| sabtty_tec_wait |
|
4 |
11 |
58 |
1 |
| sabtty_reset |
|
1 |
19 |
151 |
1 |
| sabtty_flush |
|
1 |
8 |
39 |
1 |
| sabtty_speed |
|
4 |
16 |
102 |
1 |
| sabtty_cnputc |
|
1 |
8 |
35 |
2 |
| sabtty_cngetc |
|
4 |
24 |
161 |
1 |
| sabtty_cnpollc |
|
4 |
25 |
156 |
2 |
| sab_cnputc |
|
2 |
9 |
36 |
2 |
| sab_cnpollc |
|
1 |
7 |
28 |
2 |
| sab_cngetc |
|
2 |
8 |
36 |
1 |
| sabtty_console_flags |
|
9 |
28 |
183 |
1 |
| sabtty_console_speed |
|
4 |
19 |
122 |
1 |
| sabtty_abort |
|
5 |
14 |
54 |
1 |
| sabtty_shutdown |
|
1 |
9 |
66 |
1 |
| Source file: ./sys/arch/sparc64/dev/vldcp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| vldcp_match |
|
5 |
12 |
100 |
3 |
| vldcp_attach |
|
11 |
53 |
410 |
3 |
| vldcp_tx_intr |
|
6 |
30 |
166 |
1 |
| vldcp_rx_intr |
|
7 |
37 |
210 |
1 |
| vldcp_lookup |
|
3 |
9 |
55 |
1 |
| vldcpopen |
|
5 |
24 |
195 |
4 |
| vldcpclose |
|
2 |
13 |
106 |
4 |
| vldcpread |
|
8 |
51 |
332 |
3 |
| vldcpwrite |
|
8 |
55 |
352 |
3 |
| vldcpioctl |
|
12 |
77 |
477 |
5 |
| vldcppoll |
|
13 |
37 |
267 |
3 |
| Source file: ./sys/arch/sparc64/dev/ifb.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ifbmatch |
|
1 |
4 |
23 |
3 |
| ifbattach |
|
15 |
105 |
807 |
3 |
| ifb_accel_identify |
|
5 |
11 |
63 |
1 |
| ifb_ioctl |
|
16 |
49 |
276 |
5 |
| ifb_dac_value |
|
1 |
7 |
78 |
3 |
| ifb_getcmap |
|
6 |
18 |
127 |
2 |
| ifb_putcmap |
|
7 |
27 |
243 |
2 |
| ifb_setcolor |
|
1 |
11 |
91 |
5 |
| ifb_setcolormap |
|
3 |
27 |
342 |
2 |
| ifb_mmap |
|
11 |
29 |
178 |
3 |
| ifb_burner |
|
4 |
17 |
84 |
3 |
| ifb_is_console |
|
1 |
5 |
16 |
1 |
| ifb_mapregs |
|
5 |
34 |
227 |
2 |
| ifb_putchar_dumb |
|
1 |
10 |
97 |
5 |
| ifb_copycols_dumb |
|
1 |
10 |
97 |
5 |
| ifb_erasecols_dumb |
|
1 |
10 |
97 |
5 |
| ifb_copyrows_dumb |
|
1 |
10 |
90 |
4 |
| ifb_eraserows_dumb |
|
1 |
10 |
90 |
4 |
| ifb_do_cursor_dumb |
|
11 |
61 |
428 |
1 |
| ifb_copycols |
|
1 |
13 |
108 |
5 |
| ifb_erasecols |
|
1 |
13 |
119 |
5 |
| ifb_copyrows |
|
1 |
11 |
91 |
4 |
| ifb_eraserows |
|
3 |
20 |
163 |
4 |
| ifb_copyrect |
|
1 |
5 |
53 |
7 |
| ifb_fillrect |
|
3 |
14 |
107 |
6 |
| ifb_rop |
|
1 |
5 |
59 |
9 |
| ifb_rop_common |
|
3 |
31 |
347 |
10 |
| ifb_rop_ifb |
|
1 |
10 |
117 |
9 |
| ifb_rop_jfb |
|
2 |
22 |
227 |
9 |
| ifb_rop_wait |
|
3 |
11 |
54 |
1 |
| ifb_do_cursor |
|
1 |
11 |
92 |
1 |
| Source file: ./sys/arch/sparc64/dev/sbus.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sbus_print |
|
4 |
21 |
147 |
2 |
| sbus_mb_match |
|
1 |
6 |
49 |
3 |
| sbus_xbox_match |
|
2 |
9 |
55 |
3 |
| sbus_xbox_attach |
|
1 |
16 |
153 |
3 |
| sbus_mb_attach |
|
8 |
67 |
628 |
3 |
| sbus_attach_common |
|
4 |
23 |
153 |
3 |
| sbus_setup_attach_args |
|
11 |
40 |
335 |
5 |
| sbus_destroy_attach_args |
|
1 |
8 |
68 |
1 |
| _sbus_bus_map |
|
6 |
30 |
246 |
6 |
| sbus_bus_addr |
|
3 |
14 |
105 |
3 |
| sbus_overtemp |
|
1 |
7 |
30 |
1 |
| sbus_get_intr |
|
8 |
34 |
269 |
5 |
| sbus_intr_establish |
|
14 |
79 |
585 |
8 |
| sbus_alloc_bustag |
|
3 |
20 |
139 |
2 |
| sbus_alloc_dma_tag |
|
2 |
19 |
111 |
2 |
| sbus_dmamap_create |
|
2 |
10 |
78 |
8 |
| Source file: ./sys/arch/sparc64/include/disklabel.h |
| Source file: ./sys/arch/sparc64/include/apmvar.h |
| Source file: ./sys/arch/sparc64/include/kcore.h |
| Source file: ./sys/arch/sparc64/include/profile.h |
| Source file: ./sys/arch/sparc64/dev/ebus_mainbus.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ebus_mainbus_match |
|
2 |
7 |
47 |
3 |
| ebus_mainbus_attach |
|
12 |
64 |
454 |
3 |
| ebus_alloc_bus_tag |
|
2 |
15 |
110 |
2 |
| ebus_mainbus_bus_map |
|
8 |
41 |
335 |
6 |
| ebus_mainbus_intr_establish |
|
19 |
80 |
585 |
8 |
| ebus_mainbus_intr_ack |
|
1 |
4 |
18 |
1 |
| Source file: ./sys/arch/sparc64/include/lock.h |
| Source file: ./sys/arch/sparc64/include/vmparam.h |
| Source file: ./sys/arch/sparc64/include/_float.h |
| Source file: ./sys/arch/sparc64/include/pmap.h |
| Source file: ./sys/arch/sparc64/include/spinlock.h |
| Source file: ./sys/arch/sparc64/include/exec.h |
| Source file: ./sys/arch/sparc64/include/stdarg.h |
| Source file: ./sys/arch/sparc64/include/tcb.h |
| Source file: ./sys/arch/sparc64/include/mdesc.h |
| Source file: ./sys/arch/sparc64/dev/rtc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rtc_match |
|
2 |
7 |
47 |
3 |
| rtc_attach |
|
10 |
52 |
420 |
3 |
| rtc_intr |
|
2 |
9 |
36 |
1 |
| rtc_read_reg |
|
1 |
5 |
43 |
2 |
| rtc_write_reg |
|
1 |
5 |
45 |
3 |
| rtc_gettime |
|
7 |
29 |
228 |
2 |
| rtc_settime |
|
1 |
23 |
173 |
2 |
| rtc_bq4802_gettime |
|
6 |
28 |
278 |
2 |
| rtc_bq4802_settime |
|
1 |
24 |
241 |
2 |
| rtc_getcal |
|
1 |
4 |
16 |
2 |
| rtc_setcal |
|
1 |
4 |
15 |
2 |
| Source file: ./sys/arch/sparc64/include/pte.h |
| Source file: ./sys/arch/sparc64/include/ieee.h |
| Source file: ./sys/arch/sparc64/include/_types.h |
| Source file: ./sys/arch/sparc64/include/loadfile_machdep.h |
| Source file: ./sys/arch/sparc64/include/fenv.h |
| Source file: ./sys/arch/sparc64/include/ieeefp.h |
| Source file: ./sys/arch/sparc64/include/mutex.h |
| Source file: ./sys/arch/sparc64/include/sparc64.h |
| Source file: ./sys/arch/sparc64/include/openpromio.h |
| Source file: ./sys/arch/sparc64/include/instr.h |
| Source file: ./sys/arch/sparc64/include/cdefs.h |
| Source file: ./sys/arch/sparc64/include/ioctl_fd.h |
| Source file: ./sys/arch/sparc64/include/rbus_machdep.h |
| Source file: ./sys/arch/sparc64/include/idprom.h |
| Source file: ./sys/arch/sparc64/include/varargs.h |
| Source file: ./sys/arch/sparc64/include/frame.h |
| Source file: ./sys/arch/sparc64/include/ptrace.h |
| Source file: ./sys/arch/sparc64/include/boot_flag.h |
| Source file: ./sys/arch/sparc64/include/intr.h |
| Source file: ./sys/arch/sparc64/include/limits.h |
| Source file: ./sys/arch/sparc64/include/endian.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __mswap16 |
|
1 |
8 |
44 |
1 |
| __mswap32 |
|
1 |
8 |
44 |
1 |
| __mswap64 |
|
1 |
8 |
44 |
1 |
| __swapm16 |
|
1 |
6 |
38 |
2 |
| __swapm32 |
|
1 |
6 |
38 |
2 |
| __swapm64 |
|
1 |
6 |
38 |
2 |
| Source file: ./sys/arch/sparc64/include/fbvar.h |
| Source file: ./sys/arch/sparc64/include/conf.h |
| Source file: ./sys/arch/sparc64/include/bppioctl.h |
| Source file: ./sys/arch/sparc64/include/openfirm.h |
| Source file: ./sys/arch/sparc64/include/atomic.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _atomic_cas_uint |
|
1 |
7 |
56 |
3 |
| _atomic_cas_ulong |
|
1 |
7 |
56 |
3 |
| _atomic_cas_ptr |
|
1 |
7 |
67 |
3 |
| _atomic_swap_ptr |
|
2 |
10 |
58 |
2 |
| atomic_setbits_int |
|
2 |
9 |
51 |
2 |
| atomic_clearbits_int |
|
2 |
9 |
52 |
2 |
| Source file: ./sys/arch/sparc64/include/pci_machdep.h |
| Source file: ./sys/arch/sparc64/include/cpu.h |
| Source file: ./sys/arch/sparc64/include/z8530var.h |
| Source file: ./sys/arch/sparc64/include/proc.h |
| Source file: ./sys/arch/sparc64/include/setjmp.h |
| Source file: ./sys/arch/sparc64/include/psl.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| getpstate |
|
1 |
4 |
14 |
1 |
| setpstate |
|
1 |
4 |
16 |
1 |
| getcwp |
|
1 |
4 |
14 |
1 |
| setcwp |
|
1 |
4 |
16 |
1 |
| getver |
|
1 |
4 |
14 |
1 |
| intr_disable |
|
1 |
7 |
32 |
1 |
| intr_restore |
|
1 |
4 |
16 |
1 |
| stxa_sync |
|
1 |
7 |
44 |
3 |
| _spl |
|
1 |
11 |
44 |
1 |
| _splraise |
|
2 |
8 |
37 |
1 |
| _splx |
|
1 |
4 |
16 |
1 |
| Source file: ./sys/arch/sparc64/include/reloc.h |
| Source file: ./sys/arch/sparc64/include/fsr.h |
| Source file: ./sys/arch/sparc64/include/pcb.h |
| Source file: ./sys/arch/sparc64/include/autoconf.h |
| Source file: ./sys/arch/sparc64/include/hypervisor.h |
| Source file: ./sys/arch/sparc64/include/signal.h |
| Source file: ./sys/arch/sparc64/dev/pcons.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pconsmatch |
|
2 |
9 |
50 |
3 |
| pconsattach |
|
8 |
27 |
162 |
3 |
| pconsopen |
|
10 |
40 |
273 |
4 |
| pconsclose |
|
1 |
13 |
90 |
4 |
| pconsread |
|
1 |
9 |
65 |
3 |
| pconswrite |
|
1 |
9 |
65 |
3 |
| pconsioctl |
|
3 |
16 |
119 |
5 |
| pconstty |
|
1 |
6 |
29 |
1 |
| pconsstop |
|
1 |
6 |
19 |
2 |
| pconsstart |
|
5 |
31 |
176 |
1 |
| pconsparam |
|
1 |
9 |
45 |
2 |
| pcons_poll |
|
5 |
16 |
107 |
1 |
| pconsprobe |
|
4 |
6 |
35 |
1 |
| pcons_cnpollc |
|
6 |
20 |
107 |
2 |
| cn_init_magic |
|
1 |
5 |
20 |
1 |
| cn_destroy_magic |
|
1 |
5 |
20 |
1 |
| cn_set_magic |
|
14 |
40 |
207 |
1 |
| cn_get_magic |
|
7 |
29 |
148 |
2 |
| pcons_alloc_screen |
|
5 |
22 |
135 |
6 |
| pcons_free_screen |
|
1 |
5 |
24 |
2 |
| pcons_ioctl |
|
2 |
11 |
55 |
5 |
| pcons_mmap |
|
1 |
4 |
23 |
3 |
| pcons_show_screen |
|
1 |
5 |
38 |
5 |
| pcons_mapchar |
|
2 |
10 |
51 |
3 |
| pcons_putchar |
|
1 |
10 |
63 |
5 |
| pcons_wsdisplay_init |
|
4 |
23 |
164 |
1 |
| Source file: ./sys/arch/sparc64/include/asm.h |
| Source file: ./sys/arch/sparc64/include/bus.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bus_space_barrier |
|
5 |
22 |
78 |
5 |
| bus_dmamap_create |
|
1 |
10 |
75 |
7 |
| bus_dmamap_destroy |
|
1 |
7 |
39 |
2 |
| bus_dmamap_load |
|
1 |
10 |
72 |
6 |
| bus_dmamap_load_mbuf |
|
1 |
10 |
61 |
4 |
| bus_dmamap_load_uio |
|
1 |
9 |
61 |
4 |
| bus_dmamap_load_raw |
|
1 |
10 |
70 |
6 |
| bus_dmamap_unload |
|
1 |
7 |
39 |
2 |
| bus_dmamap_sync |
|
1 |
8 |
54 |
5 |
| bus_dmamem_alloc |
|
1 |
10 |
81 |
8 |
| bus_dmamem_free |
|
1 |
7 |
45 |
3 |
| bus_dmamem_map |
|
1 |
10 |
71 |
6 |
| bus_dmamem_unmap |
|
1 |
7 |
44 |
3 |
| bus_dmamem_mmap |
|
1 |
10 |
70 |
6 |
| Source file: ./sys/arch/sparc64/include/db_machdep.h |
| Source file: ./sys/arch/sparc64/include/param.h |
| Source file: ./sys/arch/sparc64/include/ctlreg.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| asi_set |
|
1 |
4 |
16 |
1 |
| asi_get |
|
1 |
4 |
12 |
1 |
| flush |
|
1 |
6 |
22 |
1 |
| Source file: ./sys/arch/sparc64/include/trap.h |
| Source file: ./sys/arch/sparc64/sparc64/timerreg.h |
| Source file: ./sys/arch/sparc64/include/reg.h |
| Source file: ./sys/arch/sparc64/sparc64/cache.h |
| Source file: ./sys/arch/sparc64/sparc64/emul.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| readgpreg |
|
3 |
14 |
87 |
3 |
| writegpreg |
|
3 |
14 |
85 |
3 |
| readfpreg |
|
1 |
8 |
39 |
3 |
| writefpreg |
|
1 |
8 |
41 |
3 |
| decodeaddr |
|
4 |
16 |
91 |
3 |
| muldiv |
|
14 |
57 |
404 |
5 |
| emulinstr |
|
9 |
43 |
301 |
2 |
| swap_quad |
|
1 |
7 |
41 |
1 |
| emul_qf |
|
23 |
82 |
587 |
4 |
| emul_popc |
|
3 |
14 |
109 |
4 |
| Source file: ./sys/arch/sparc64/sparc64/disksubr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| readdisklabel |
|
18 |
48 |
304 |
4 |
| writedisklabel |
|
3 |
23 |
154 |
3 |
| sun_extended_sum |
|
2 |
10 |
65 |
2 |
| disklabel_sun_to_bsd |
|
31 |
118 |
871 |
2 |
| disklabel_bsd_to_sun |
|
12 |
59 |
483 |
2 |
| Source file: ./sys/arch/sparc64/sparc64/in4_cksum.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| in4_cksum |
|
5 |
33 |
203 |
4 |
| Source file: ./sys/arch/sparc64/sparc64/mem.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mmopen |
|
7 |
17 |
72 |
4 |
| mmclose |
|
1 |
4 |
23 |
4 |
| mmrw |
|
20 |
79 |
482 |
3 |
| mmmmap |
|
1 |
4 |
19 |
3 |
| mmioctl |
|
1 |
4 |
26 |
5 |
| Source file: ./sys/arch/sparc64/sparc64/sys_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sys_sysarch |
|
1 |
15 |
59 |
3 |
| Source file: ./sys/arch/sparc64/sparc64/rbus_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rbus_pccbb_parent_mem |
|
11 |
36 |
306 |
2 |
| rbus_pccbb_parent_io |
|
11 |
36 |
306 |
2 |
| pccbb_attach_hook |
|
6 |
23 |
172 |
3 |
| Source file: ./sys/arch/sparc64/sparc64/cpu.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| alloc_cpuinfo |
|
13 |
49 |
379 |
1 |
| cpu_match |
|
9 |
24 |
190 |
3 |
| cpu_attach |
|
33 |
123 |
896 |
3 |
| cpu_myid |
|
11 |
26 |
118 |
1 |
| cpu_init |
|
7 |
25 |
139 |
1 |
| sparc64_cpuspeed |
|
1 |
6 |
27 |
1 |
| hummingbird_div |
|
6 |
17 |
50 |
1 |
| hummingbird_estar_mode |
|
6 |
17 |
50 |
1 |
| hummingbird_enable_self_refresh |
|
1 |
8 |
40 |
1 |
| hummingbird_disable_self_refresh |
|
1 |
8 |
40 |
1 |
| hummingbird_set_refresh_count |
|
3 |
20 |
137 |
2 |
| hummingbird_setperf |
|
13 |
60 |
404 |
1 |
| hummingbird_init |
|
2 |
7 |
36 |
1 |
| cpu_boot_secondary_processors |
|
11 |
36 |
256 |
1 |
| cpu_hatch |
|
1 |
14 |
72 |
1 |
| need_resched |
|
3 |
9 |
43 |
1 |
| cpu_idle_enter |
|
2 |
6 |
26 |
1 |
| cpu_idle_cycle |
|
3 |
15 |
58 |
1 |
| cpu_idle_leave |
|
2 |
6 |
26 |
1 |
| Source file: ./sys/arch/sparc64/sparc64/busop.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bus_space_read_multi_2 |
|
2 |
18 |
129 |
5 |
| bus_space_write_multi_2 |
|
2 |
18 |
131 |
5 |
| bus_space_set_multi_2 |
|
2 |
13 |
91 |
5 |
| bus_space_read_region_2 |
|
2 |
18 |
138 |
5 |
| bus_space_write_region_2 |
|
2 |
18 |
140 |
5 |
| bus_space_set_region_2 |
|
2 |
13 |
98 |
5 |
| bus_space_copy_2 |
|
2 |
21 |
171 |
6 |
| bus_space_read_multi_4 |
|
2 |
18 |
129 |
5 |
| bus_space_write_multi_4 |
|
2 |
18 |
131 |
5 |
| bus_space_set_multi_4 |
|
2 |
13 |
91 |
5 |
| bus_space_read_region_4 |
|
2 |
18 |
138 |
5 |
| bus_space_write_region_4 |
|
2 |
18 |
140 |
5 |
| bus_space_set_region_4 |
|
2 |
13 |
98 |
5 |
| bus_space_copy_4 |
|
2 |
21 |
171 |
6 |
| bus_space_read_multi_8 |
|
2 |
18 |
129 |
5 |
| bus_space_write_multi_8 |
|
2 |
18 |
131 |
5 |
| bus_space_set_multi_8 |
|
2 |
13 |
91 |
5 |
| bus_space_read_region_8 |
|
2 |
18 |
138 |
5 |
| bus_space_write_region_8 |
|
2 |
18 |
140 |
5 |
| bus_space_set_region_8 |
|
2 |
13 |
98 |
5 |
| bus_space_copy_8 |
|
2 |
21 |
171 |
6 |
| bus_space_read_multi_1 |
|
2 |
18 |
129 |
5 |
| bus_space_write_multi_1 |
|
2 |
18 |
131 |
5 |
| bus_space_set_multi_1 |
|
2 |
13 |
91 |
5 |
| bus_space_read_region_1 |
|
2 |
18 |
138 |
5 |
| bus_space_write_region_1 |
|
2 |
18 |
140 |
5 |
| bus_space_set_region_1 |
|
2 |
13 |
98 |
5 |
| bus_space_copy_1 |
|
2 |
21 |
171 |
6 |
| bus_space_read_raw_multi_2 |
|
2 |
19 |
136 |
5 |
| bus_space_write_raw_multi_2 |
|
2 |
19 |
138 |
5 |
| bus_space_set_raw_multi_2 |
|
2 |
14 |
98 |
5 |
| bus_space_read_raw_region_2 |
|
2 |
19 |
145 |
5 |
| bus_space_write_raw_region_2 |
|
2 |
19 |
147 |
5 |
| bus_space_set_raw_region_2 |
|
2 |
14 |
105 |
5 |
| bus_space_read_raw_multi_4 |
|
2 |
19 |
136 |
5 |
| bus_space_write_raw_multi_4 |
|
2 |
19 |
138 |
5 |
| bus_space_set_raw_multi_4 |
|
2 |
14 |
98 |
5 |
| bus_space_read_raw_region_4 |
|
2 |
19 |
145 |
5 |
| bus_space_write_raw_region_4 |
|
2 |
19 |
147 |
5 |
| bus_space_set_raw_region_4 |
|
2 |
14 |
105 |
5 |
| bus_space_read_raw_multi_8 |
|
2 |
19 |
136 |
5 |
| bus_space_write_raw_multi_8 |
|
2 |
19 |
138 |
5 |
| bus_space_set_raw_multi_8 |
|
2 |
14 |
98 |
5 |
| bus_space_read_raw_region_8 |
|
2 |
19 |
145 |
5 |
| bus_space_write_raw_region_8 |
|
2 |
19 |
147 |
5 |
| bus_space_set_raw_region_8 |
|
2 |
14 |
105 |
5 |
| bus_space_read_raw_multi_1 |
|
2 |
19 |
136 |
5 |
| bus_space_write_raw_multi_1 |
|
2 |
19 |
138 |
5 |
| bus_space_set_raw_multi_1 |
|
2 |
14 |
98 |
5 |
| bus_space_read_raw_region_1 |
|
2 |
19 |
145 |
5 |
| bus_space_write_raw_region_1 |
|
2 |
19 |
147 |
5 |
| bus_space_set_raw_region_1 |
|
2 |
14 |
105 |
5 |
| Source file: ./sys/arch/sparc64/sparc64/machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cpu_startup |
|
5 |
23 |
167 |
1 |
| setregs |
|
9 |
57 |
395 |
4 |
| cpu_sysctl |
|
11 |
32 |
214 |
7 |
| sendsig |
|
11 |
51 |
489 |
6 |
| sys_sigreturn |
|
11 |
46 |
396 |
3 |
| signotify |
|
1 |
5 |
21 |
1 |
| boot |
|
19 |
64 |
336 |
1 |
| dumpconf |
|
5 |
14 |
87 |
1 |
| reserve_dumppages |
|
1 |
6 |
23 |
1 |
| dumpsys |
|
19 |
84 |
475 |
1 |
| trapdump |
|
1 |
24 |
240 |
1 |
| stackdump |
|
4 |
31 |
300 |
1 |
| _bus_dmamap_create |
|
3 |
29 |
188 |
8 |
| _bus_dmamap_destroy |
|
2 |
8 |
40 |
3 |
| _bus_dmamap_load |
|
3 |
23 |
130 |
7 |
| _bus_dmamap_load_mbuf |
|
12 |
57 |
360 |
5 |
| _bus_dmamap_load_uio |
|
11 |
52 |
371 |
5 |
| _bus_dmamap_load_raw |
|
1 |
10 |
44 |
7 |
| _bus_dmamap_load_buffer |
|
13 |
54 |
363 |
9 |
| _bus_dmamap_unload |
|
1 |
7 |
30 |
3 |
| _bus_dmamap_sync |
|
2 |
10 |
48 |
6 |
| _bus_dmamem_alloc |
|
7 |
34 |
232 |
9 |
| _bus_dmamem_free |
|
3 |
10 |
61 |
4 |
| _bus_dmamem_map |
|
9 |
47 |
282 |
7 |
| _bus_dmamem_unmap |
|
3 |
9 |
53 |
4 |
| _bus_dmamem_mmap |
|
7 |
24 |
142 |
7 |
| sparc_bus_map |
|
16 |
75 |
543 |
6 |
| sparc_bus_subregion |
|
1 |
8 |
39 |
6 |
| sparc_bus_protect |
|
7 |
29 |
199 |
5 |
| sparc_bus_unmap |
|
2 |
12 |
95 |
4 |
| sparc_bus_mmap |
|
2 |
9 |
54 |
6 |
| sparc_bus_addr |
|
3 |
9 |
56 |
3 |
| bus_intr_allocate |
|
2 |
19 |
138 |
8 |
| bus_intr_free |
|
1 |
4 |
17 |
1 |
| sparc_mainbus_intr_establish |
|
2 |
10 |
89 |
8 |
| sparc_bus_alloc |
|
1 |
6 |
41 |
10 |
| sparc_bus_free |
|
1 |
5 |
18 |
4 |
| bus_space_alloc |
|
1 |
10 |
84 |
9 |
| bus_space_free |
|
1 |
7 |
44 |
3 |
| bus_space_map |
|
4 |
25 |
140 |
5 |
| bus_space_protect |
|
1 |
9 |
59 |
4 |
| bus_space_unmap |
|
3 |
17 |
107 |
3 |
| bus_space_subregion |
|
5 |
28 |
174 |
5 |
| bus_space_mmap |
|
1 |
9 |
64 |
5 |
| bus_intr_establish |
|
1 |
10 |
85 |
7 |
| bus_space_vaddr |
|
4 |
13 |
87 |
2 |
| bus_space_render_tag |
|
3 |
12 |
77 |
3 |
| bus_space_assert |
|
4 |
25 |
162 |
4 |
| blink_led_register |
|
3 |
10 |
66 |
1 |
| blink_led_timeout |
|
3 |
16 |
117 |
1 |
| Source file: ./sys/arch/sparc64/sparc64/openfirm.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| OF_peer |
|
2 |
18 |
78 |
1 |
| OF_child |
|
2 |
18 |
78 |
1 |
| OF_parent |
|
2 |
18 |
78 |
1 |
| OF_instance_to_package |
|
2 |
18 |
80 |
1 |
| OF_getproplen |
|
2 |
21 |
97 |
2 |
| OF_getprop |
|
3 |
29 |
139 |
4 |
| OF_setprop |
|
3 |
29 |
140 |
4 |
| OF_nextprop |
|
2 |
24 |
115 |
3 |
| OF_finddevice |
|
2 |
18 |
80 |
1 |
| OF_instance_to_path |
|
3 |
26 |
120 |
3 |
| OF_package_to_path |
|
3 |
26 |
120 |
3 |
| OF_call_method |
|
6 |
35 |
250 |
5 |
| OF_call_method_1 |
|
5 |
29 |
190 |
4 |
| OF_open |
|
3 |
21 |
100 |
1 |
| OF_close |
|
1 |
15 |
62 |
1 |
| OF_test |
|
2 |
18 |
80 |
1 |
| OF_test_method |
|
2 |
21 |
97 |
2 |
| OF_read |
|
6 |
37 |
177 |
3 |
| OF_write |
|
4 |
33 |
163 |
3 |
| OF_seek |
|
2 |
23 |
108 |
2 |
| OF_boot |
|
2 |
19 |
89 |
1 |
| OF_enter |
|
1 |
12 |
47 |
1 |
| OF_exit |
|
1 |
13 |
52 |
1 |
| OF_poweroff |
|
1 |
12 |
47 |
1 |
| OF_interpret |
|
4 |
28 |
176 |
3 |
| OF_milliseconds |
|
2 |
15 |
66 |
1 |
| OF_sym2val |
|
7 |
29 |
163 |
1 |
| OF_val2sym |
|
8 |
39 |
192 |
1 |
| OF_is_compatible |
|
4 |
18 |
110 |
2 |
| Source file: ./sys/arch/sparc64/sparc64/conf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| iskmemdev |
|
2 |
5 |
26 |
1 |
| iszerodev |
|
2 |
5 |
26 |
1 |
| getnulldev |
|
1 |
4 |
14 |
1 |
| Source file: ./sys/arch/sparc64/sparc64/process_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| process_read_regs |
|
4 |
30 |
248 |
2 |
| process_read_fpregs |
|
4 |
20 |
130 |
2 |
| process_write_regs |
|
4 |
30 |
243 |
2 |
| process_sstep |
|
2 |
8 |
28 |
2 |
| process_set_pc |
|
1 |
8 |
49 |
2 |
| process_write_fpregs |
|
4 |
22 |
171 |
2 |
| process_get_wcookie |
|
1 |
4 |
18 |
1 |
| Source file: ./sys/arch/sparc64/sparc64/vm_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| vmapbuf |
|
4 |
30 |
201 |
2 |
| vunmapbuf |
|
2 |
15 |
110 |
2 |
| cpu_fork |
|
11 |
56 |
528 |
6 |
| fpusave_cpu |
|
3 |
13 |
64 |
2 |
| fpusave_proc |
|
9 |
23 |
139 |
2 |
| cpu_exit |
|
2 |
9 |
55 |
1 |
| Source file: ./sys/arch/sparc64/sparc64/ipifuncs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sparc64_send_ipi |
|
2 |
7 |
49 |
4 |
| sun4u_send_ipi |
|
11 |
34 |
260 |
4 |
| sun4v_send_ipi |
|
4 |
18 |
150 |
4 |
| sparc64_broadcast_ipi |
|
2 |
7 |
42 |
3 |
| sun4u_broadcast_ipi |
|
4 |
11 |
81 |
3 |
| sun4v_broadcast_ipi |
|
8 |
30 |
224 |
3 |
| smp_tlb_flush_pte |
|
3 |
10 |
46 |
2 |
| smp_tlb_flush_ctx |
|
3 |
10 |
41 |
1 |
| cpu_unidle |
|
5 |
9 |
70 |
1 |
| Source file: ./sys/arch/sparc64/sparc64/autoconf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| str2hex |
|
18 |
36 |
234 |
2 |
| get_ncpus |
|
11 |
29 |
185 |
1 |
| bootstrap |
|
26 |
96 |
694 |
1 |
| bootpath_nodes |
|
7 |
21 |
135 |
2 |
| bootpath_build |
|
29 |
77 |
440 |
1 |
| bootpath_print |
|
4 |
14 |
113 |
1 |
| bootpath_store |
|
2 |
9 |
40 |
2 |
| cpu_configure |
|
17 |
56 |
341 |
1 |
| sun4v_soft_state_init |
|
2 |
8 |
33 |
1 |
| sun4v_set_soft_state |
|
4 |
12 |
70 |
2 |
| diskconf |
|
5 |
12 |
84 |
1 |
| sync_crash |
|
1 |
4 |
11 |
1 |
| clockfreq |
|
2 |
15 |
86 |
1 |
| mbprint |
|
4 |
11 |
76 |
2 |
| findroot |
|
2 |
8 |
44 |
1 |
| findnode |
|
4 |
11 |
79 |
2 |
| mainbus_match |
|
1 |
4 |
22 |
3 |
| mainbus_attach |
|
50 |
168 |
1304 |
3 |
| getprop |
|
5 |
21 |
134 |
5 |
| getproplen |
|
1 |
4 |
21 |
2 |
| getpropstring |
|
1 |
5 |
30 |
2 |
| getpropstringA |
|
2 |
8 |
57 |
3 |
| getpropint |
|
2 |
7 |
49 |
3 |
| getpropspeed |
|
6 |
16 |
109 |
2 |
| firstchild |
|
1 |
4 |
13 |
1 |
| nextsibling |
|
1 |
4 |
13 |
1 |
| checkstatus |
|
4 |
9 |
62 |
1 |
| node_has_property |
|
1 |
4 |
28 |
2 |
| romgetcursoraddr |
|
3 |
11 |
81 |
2 |
| callrom |
|
1 |
5 |
17 |
1 |
| getdevunit |
|
4 |
17 |
132 |
2 |
| device_register |
|
33 |
103 |
766 |
2 |
| nail_bootdev |
|
2 |
9 |
61 |
2 |
| Source file: ./sys/arch/sparc64/sparc64/intr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| strayintr |
|
8 |
23 |
133 |
2 |
| intr_handler |
|
8 |
15 |
84 |
2 |
| intr_list_handler |
|
4 |
21 |
124 |
1 |
| intr_ack |
|
1 |
4 |
16 |
1 |
| intr_establish |
|
22 |
87 |
608 |
2 |
| splraise |
|
1 |
4 |
15 |
1 |
| intr_barrier |
|
1 |
5 |
22 |
1 |
| softintr_establish |
|
2 |
14 |
104 |
3 |
| softintr_disestablish |
|
1 |
5 |
28 |
1 |
| softintr_schedule |
|
1 |
5 |
27 |
1 |
| splassert_check |
|
3 |
12 |
73 |
2 |
| Source file: ./sys/arch/sparc64/sparc64/cache.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cache_enable |
|
1 |
4 |
12 |
1 |
| cache_flush_page |
|
6 |
23 |
160 |
1 |
| cache_flush |
|
5 |
26 |
187 |
2 |
| Source file: ./sys/arch/sparc64/sparc64/mdesc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mdesc_init |
|
7 |
44 |
267 |
1 |
| mdesc_get_prop_val |
|
4 |
17 |
137 |
2 |
| mdesc_get_prop_str |
|
4 |
19 |
153 |
2 |
| mdesc_get_prop_data |
|
4 |
21 |
173 |
3 |
| mdesc_find |
|
5 |
17 |
133 |
2 |
| mdesc_find_child |
|
7 |
23 |
188 |
3 |
| mdesc_find_node |
|
4 |
17 |
135 |
1 |
| Source file: ./sys/arch/sparc64/sparc64/db_interface.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| db__char_value |
|
4 |
15 |
70 |
3 |
| db__short_value |
|
4 |
15 |
70 |
3 |
| kdb_kbd_trap |
|
2 |
8 |
34 |
1 |
| db_ktrap |
|
13 |
56 |
329 |
2 |
| db_cpuinfo_cmd |
|
8 |
29 |
132 |
4 |
| db_startproc_cmd |
|
7 |
19 |
113 |
4 |
| db_stopproc_cmd |
|
7 |
19 |
113 |
4 |
| db_ddbproc_cmd |
|
6 |
19 |
105 |
4 |
| db_enter_ddb |
|
17 |
49 |
305 |
1 |
| db_startcpu |
|
2 |
8 |
37 |
1 |
| db_stopcpu |
|
3 |
11 |
65 |
1 |
| db_read_bytes |
|
3 |
14 |
89 |
3 |
| db_write_bytes |
|
5 |
20 |
133 |
3 |
| db_enter |
|
1 |
4 |
11 |
1 |
| db_prom_cmd |
|
1 |
8 |
29 |
4 |
| db_get_dtlb_data |
|
1 |
8 |
38 |
1 |
| db_get_dtlb_tag |
|
1 |
8 |
38 |
1 |
| db_get_itlb_data |
|
1 |
8 |
38 |
1 |
| db_get_itlb_tag |
|
1 |
8 |
38 |
1 |
| db_print_dtlb_entry |
|
1 |
7 |
46 |
3 |
| db_print_itlb_entry |
|
1 |
7 |
46 |
3 |
| db_dump_dtlb |
|
10 |
38 |
227 |
4 |
| db_dump_itlb |
|
11 |
29 |
166 |
4 |
| db_pload_cmd |
|
8 |
33 |
161 |
4 |
| db_dump_pmap |
|
8 |
31 |
304 |
1 |
| db_pmap_kernel |
|
9 |
39 |
257 |
4 |
| db_pmap_cmd |
|
11 |
33 |
216 |
4 |
| db_lock |
|
3 |
19 |
88 |
4 |
| db_dump_dtsb |
|
4 |
22 |
226 |
4 |
| db_page_cmd |
|
2 |
13 |
56 |
4 |
| db_proc_cmd |
|
3 |
29 |
206 |
4 |
| db_ctx_cmd |
|
3 |
21 |
120 |
4 |
| db_dump_pcb |
|
4 |
40 |
439 |
4 |
| db_setpcb |
|
5 |
25 |
129 |
4 |
| db_watch |
|
7 |
31 |
178 |
4 |
| db_xir |
|
2 |
9 |
54 |
4 |
| db_register_xir |
|
2 |
10 |
73 |
2 |
| db_branch_taken |
|
12 |
35 |
203 |
3 |
| db_inst_branch |
|
10 |
25 |
88 |
1 |
| db_inst_call |
|
4 |
14 |
60 |
1 |
| db_inst_unconditional_flow_transfer |
|
8 |
21 |
81 |
1 |
| db_inst_return |
|
2 |
6 |
34 |
1 |
| db_inst_trap_return |
|
2 |
8 |
38 |
1 |
| db_machine_init |
|
1 |
4 |
11 |
1 |
| Source file: ./sys/arch/sparc64/sparc64/db_trace.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| db_stack_trace_print |
|
20 |
73 |
475 |
5 |
| db_dump_window |
|
6 |
18 |
118 |
4 |
| db_print_window |
|
3 |
55 |
501 |
1 |
| db_dump_stack |
|
12 |
38 |
244 |
4 |
| db_dump_trap |
|
6 |
74 |
711 |
4 |
| db_dump_fpstate |
|
2 |
82 |
810 |
4 |
| db_dump_ts |
|
2 |
12 |
115 |
4 |
| Source file: ./sys/arch/sparc64/sparc64/intreg.h |
| Source file: ./sys/arch/sparc64/sparc64/openprom.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| openpromopen |
|
1 |
7 |
30 |
4 |
| openpromclose |
|
1 |
7 |
30 |
4 |
| openpromread |
|
8 |
23 |
131 |
3 |
| openpromcheckid |
|
4 |
8 |
53 |
2 |
| openpromgetstr |
|
2 |
13 |
86 |
3 |
| openpromioctl |
|
35 |
137 |
819 |
5 |
| Source file: ./sys/arch/sparc64/sparc64/clock.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| clockmatch_sbus |
|
1 |
8 |
44 |
3 |
| clockmatch_ebus |
|
1 |
8 |
44 |
3 |
| clockmatch_fhc |
|
1 |
8 |
44 |
3 |
| clockattach_sbus |
|
2 |
24 |
133 |
3 |
| clock_bus_wenable |
|
8 |
23 |
128 |
2 |
| clockattach_ebus |
|
6 |
35 |
257 |
3 |
| clockattach_fhc |
|
2 |
21 |
148 |
3 |
| clockattach |
|
6 |
28 |
175 |
3 |
| getidprom |
|
3 |
13 |
83 |
1 |
| timermatch |
|
3 |
11 |
62 |
3 |
| timerattach |
|
1 |
22 |
245 |
3 |
| stopcounter |
|
1 |
7 |
27 |
1 |
| myetheraddr |
|
5 |
23 |
162 |
1 |
| cpu_initclocks |
|
20 |
83 |
542 |
1 |
| setstatclockrate |
|
1 |
4 |
9 |
1 |
| clockintr |
|
6 |
29 |
173 |
1 |
| tickintr |
|
2 |
15 |
90 |
1 |
| sys_tickintr |
|
2 |
15 |
90 |
1 |
| stickintr |
|
2 |
15 |
90 |
1 |
| statintr |
|
7 |
22 |
161 |
1 |
| schedintr |
|
2 |
7 |
24 |
1 |
| inittodr |
|
11 |
41 |
243 |
1 |
| resettodr |
|
4 |
10 |
49 |
1 |
| tick_start |
|
1 |
9 |
49 |
1 |
| sys_tick_start |
|
1 |
9 |
49 |
1 |
| stick_start |
|
1 |
9 |
49 |
1 |
| tick_get_timecount |
|
1 |
6 |
31 |
1 |
| sys_tick_get_timecount |
|
1 |
6 |
31 |
1 |
| Source file: ./sys/arch/sparc64/sparc64/trap.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| share_fpu |
|
4 |
6 |
43 |
2 |
| trap |
|
74 |
259 |
1464 |
4 |
| rwindow_save |
|
3 |
13 |
108 |
1 |
| pmap_unuse_final |
|
1 |
5 |
23 |
1 |
| data_access_fault |
|
23 |
91 |
544 |
6 |
| data_access_error |
|
9 |
48 |
286 |
6 |
| text_access_fault |
|
10 |
49 |
287 |
4 |
| text_access_error |
|
14 |
65 |
383 |
6 |
| syscall |
|
19 |
86 |
565 |
3 |
| child_return |
|
2 |
18 |
121 |
1 |
| Source file: ./sys/arch/sparc64/sparc64/ofw_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| get_mmu_handle |
|
3 |
13 |
68 |
1 |
| get_memory_handle |
|
3 |
13 |
68 |
1 |
| prom_set_trap_table |
|
2 |
21 |
91 |
2 |
| prom_vtop |
|
4 |
42 |
264 |
1 |
| prom_claim_virt |
|
3 |
32 |
162 |
2 |
| prom_alloc_virt |
|
3 |
30 |
150 |
2 |
| prom_free_virt |
|
2 |
26 |
132 |
2 |
| prom_unmap_virt |
|
2 |
26 |
132 |
2 |
| prom_map_phys |
|
4 |
40 |
206 |
4 |
| prom_alloc_phys |
|
3 |
31 |
160 |
2 |
| prom_claim_phys |
|
3 |
35 |
184 |
2 |
| prom_free_phys |
|
2 |
28 |
144 |
2 |
| prom_get_msgbuf |
|
8 |
48 |
297 |
2 |
| prom_itlb_load |
|
4 |
31 |
164 |
3 |
| prom_dtlb_load |
|
4 |
31 |
164 |
3 |
| prom_start_cpu |
|
1 |
18 |
89 |
3 |
| prom_start_cpu_by_cpuid |
|
1 |
19 |
89 |
3 |
| OF_stdin |
|
2 |
9 |
43 |
1 |
| OF_stdout |
|
2 |
9 |
43 |
1 |
| prom_printf |
|
3 |
14 |
87 |
2 |
| prom_serengeti_set_console_input |
|
2 |
17 |
84 |
1 |
| prom_opl_get_tod |
|
2 |
16 |
74 |
1 |
| prom_set_sun4v_api_version |
|
1 |
25 |
121 |
4 |
| prom_sun4v_soft_state_supported |
|
1 |
12 |
48 |
1 |
| OF_searchprop |
|
3 |
10 |
65 |
4 |
| compare_cells |
|
3 |
12 |
123 |
4 |
| find_pci_host_node |
|
5 |
16 |
87 |
1 |
| OF_mapintr |
|
36 |
129 |
1009 |
4 |
| Source file: ./sys/arch/sparc64/fpu/fpu_div.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fpu_div |
|
10 |
53 |
364 |
1 |
| Source file: ./sys/arch/sparc64/fpu/fpu_arith.h |
| Source file: ./sys/arch/sparc64/fpu/fpu_extern.h |
| Source file: ./sys/arch/sparc64/fpu/fpu_explode.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fpu_itof |
|
3 |
14 |
91 |
2 |
| fpu_xtof |
|
3 |
13 |
86 |
2 |
| fpu_stof |
|
1 |
12 |
94 |
2 |
| fpu_dtof |
|
1 |
14 |
126 |
3 |
| fpu_qtof |
|
1 |
15 |
171 |
5 |
| fpu_explode |
|
13 |
55 |
420 |
4 |
| Source file: ./sys/arch/sparc64/sparc64/busop.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bus_space_read_2 |
|
1 |
14 |
78 |
3 |
| bus_space_write_2 |
|
1 |
12 |
73 |
4 |
| bus_space_read_4 |
|
1 |
14 |
78 |
3 |
| bus_space_write_4 |
|
1 |
12 |
73 |
4 |
| bus_space_read_8 |
|
1 |
14 |
78 |
3 |
| bus_space_write_8 |
|
1 |
12 |
73 |
4 |
| bus_space_read_1 |
|
1 |
14 |
78 |
3 |
| bus_space_write_1 |
|
1 |
12 |
73 |
4 |
| bus_space_read_raw_2 |
|
1 |
14 |
78 |
3 |
| bus_space_write_raw_2 |
|
1 |
12 |
73 |
4 |
| bus_space_read_raw_4 |
|
1 |
14 |
78 |
3 |
| bus_space_write_raw_4 |
|
1 |
12 |
73 |
4 |
| bus_space_read_raw_8 |
|
1 |
14 |
78 |
3 |
| bus_space_write_raw_8 |
|
1 |
12 |
73 |
4 |
| bus_space_read_raw_1 |
|
1 |
14 |
78 |
3 |
| bus_space_write_raw_1 |
|
1 |
12 |
73 |
4 |
| Source file: ./sys/arch/sparc64/fpu/fpu_mul.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fpu_mul |
|
13 |
69 |
418 |
1 |
| Source file: ./sys/arch/sparc64/fpu/fpu_subr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fpu_shr |
|
14 |
49 |
413 |
2 |
| fpu_norm |
|
9 |
48 |
404 |
1 |
| fpu_newnan |
|
1 |
11 |
80 |
1 |
| Source file: ./sys/arch/sparc64/fpu/fpu_emu.h |
| Source file: ./sys/arch/sparc64/fpu/fpu_sqrt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fpu_sqrt |
|
19 |
127 |
783 |
1 |
| Source file: ./sys/arch/sparc64/fpu/fpu_compare.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fpu_compare |
|
13 |
48 |
242 |
2 |
| Source file: ./sys/arch/sparc64/fpu/fpu_add.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fpu_add |
|
18 |
78 |
646 |
1 |
| Source file: ./sys/arch/sparc64/stand/ofwboot/softraid_sparc64.h |
| Source file: ./sys/arch/sparc64/stand/ofwboot/alloc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| alloc |
|
11 |
44 |
270 |
1 |
| free |
|
5 |
13 |
99 |
2 |
| Source file: ./sys/arch/sparc64/stand/ofwboot/disk.h |
| Source file: ./sys/arch/sparc64/fpu/fpu_implode.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fpu_round |
|
12 |
52 |
375 |
2 |
| toinf |
|
5 |
20 |
75 |
2 |
| fpu_ftoi |
|
7 |
25 |
148 |
2 |
| fpu_ftox |
|
7 |
32 |
191 |
3 |
| fpu_ftos |
|
15 |
38 |
342 |
2 |
| fpu_ftod |
|
13 |
48 |
362 |
3 |
| fpu_ftoq |
|
13 |
49 |
406 |
3 |
| fpu_implode |
|
6 |
33 |
239 |
4 |
| Source file: ./sys/arch/sparc64/stand/ofwboot/net.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| net_open |
|
6 |
19 |
89 |
1 |
| net_close |
|
3 |
8 |
34 |
1 |
| net_mountroot_bootparams |
|
4 |
13 |
79 |
1 |
| net_mountroot_bootp |
|
5 |
16 |
93 |
1 |
| net_mountroot |
|
5 |
14 |
78 |
1 |
| Source file: ./sys/arch/sparc64/stand/ofwboot/vers.c |
| Source file: ./sys/arch/sparc64/sparc64/pmap.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pa_to_pvh |
|
2 |
6 |
31 |
1 |
| pmap_tte2flags |
|
6 |
9 |
66 |
1 |
| tsb_invalidate |
|
3 |
13 |
98 |
2 |
| pmap_enter_kpage |
|
3 |
15 |
92 |
2 |
| pmap_bootdebug |
|
7 |
23 |
99 |
1 |
| pmap_bootstrap |
|
114 |
577 |
4187 |
4 |
| pmap_bootstrap_cpu |
|
2 |
7 |
22 |
1 |
| sun4u_bootstrap_cpu |
|
7 |
40 |
333 |
1 |
| sun4v_bootstrap_cpu |
|
9 |
34 |
329 |
1 |
| pmap_init |
|
2 |
10 |
70 |
1 |
| pmap_virtual_space |
|
2 |
8 |
58 |
2 |
| pmap_growkernel |
|
5 |
21 |
127 |
1 |
| pmap_create |
|
1 |
11 |
76 |
1 |
| pmap_reference |
|
1 |
4 |
17 |
1 |
| pmap_destroy |
|
2 |
7 |
36 |
1 |
| pmap_release |
|
10 |
45 |
354 |
1 |
| pmap_copy |
|
1 |
4 |
23 |
5 |
| pmap_collect |
|
11 |
33 |
266 |
1 |
| pmap_zero_page |
|
1 |
4 |
17 |
1 |
| pmap_copy_page |
|
1 |
6 |
37 |
2 |
| pmap_activate |
|
4 |
16 |
88 |
1 |
| pmap_deactivate |
|
1 |
3 |
9 |
1 |
| pmap_kenter_pa |
|
11 |
31 |
256 |
3 |
| pmap_kremove |
|
10 |
21 |
144 |
2 |
| pmap_enter |
|
30 |
87 |
666 |
5 |
| pmap_remove |
|
19 |
45 |
318 |
3 |
| pmap_protect |
|
21 |
58 |
404 |
4 |
| pmap_extract |
|
12 |
22 |
183 |
3 |
| pmap_dumpsize |
|
1 |
7 |
46 |
1 |
| pmap_dumpmmu |
|
3 |
38 |
391 |
2 |
| pmap_pa_exists |
|
5 |
8 |
55 |
1 |
| GenerateTSBPointer |
|
5 |
23 |
111 |
5 |
| ptelookup_va |
|
1 |
6 |
37 |
1 |
| pmap_clear_modify |
|
11 |
43 |
285 |
1 |
| pmap_clear_reference |
|
11 |
41 |
259 |
1 |
| pmap_is_modified |
|
10 |
24 |
163 |
1 |
| pmap_is_referenced |
|
8 |
24 |
155 |
1 |
| pmap_unwire |
|
7 |
23 |
127 |
2 |
| pmap_page_protect |
|
20 |
89 |
641 |
2 |
| ctx_alloc |
|
11 |
31 |
194 |
1 |
| ctx_free |
|
5 |
17 |
102 |
1 |
| pmap_enter_pv |
|
5 |
27 |
190 |
4 |
| pmap_remove_pv |
|
11 |
44 |
342 |
3 |
| pmap_page_cache |
|
13 |
40 |
268 |
3 |
| pmap_get_page |
|
5 |
21 |
131 |
3 |
| pmap_free_page |
|
1 |
6 |
33 |
2 |
| pmap_remove_holes |
|
2 |
14 |
117 |
1 |
| db_dump_pv |
|
3 |
12 |
77 |
4 |
| Source file: ./sys/arch/sparc64/stand/ofwboot/netif_of.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| socktodesc |
|
2 |
6 |
19 |
1 |
| netif_open |
|
2 |
21 |
118 |
1 |
| netif_close |
|
3 |
19 |
93 |
1 |
| netif_put |
|
2 |
22 |
146 |
3 |
| netif_get |
|
5 |
23 |
175 |
4 |
| getsecs |
|
1 |
4 |
13 |
1 |
| Source file: ./sys/arch/sparc64/stand/ofwboot/ofdev.h |
| Source file: ./sys/arch/sparc64/stand/ofwboot/openfirm.h |
| Source file: ./sys/arch/sparc64/stand/ofwboot/diskprobe.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| new_diskinfo |
|
11 |
53 |
354 |
1 |
| dump_node |
|
3 |
10 |
75 |
1 |
| diskprobe |
|
14 |
31 |
216 |
1 |
| Source file: ./sys/arch/sparc64/fpu/fpu.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fpu_dumpfpn |
|
2 |
7 |
82 |
1 |
| fpu_dumpstate |
|
3 |
7 |
53 |
1 |
| fpu_fcopy |
|
4 |
13 |
70 |
3 |
| fpu_cleanup |
|
18 |
76 |
444 |
2 |
| fpu_regoffset |
|
6 |
11 |
69 |
2 |
| fpu_execute |
|
103 |
121 |
1010 |
3 |
| fpu_insn_fmov |
|
4 |
17 |
134 |
3 |
| fpu_insn_fabs |
|
4 |
18 |
155 |
3 |
| fpu_insn_fneg |
|
4 |
18 |
155 |
3 |
| fpu_insn_itof |
|
4 |
22 |
195 |
6 |
| fpu_insn_ftoi |
|
4 |
19 |
151 |
5 |
| fpu_insn_ftof |
|
6 |
23 |
213 |
5 |
| fpu_insn_fsqrt |
|
4 |
22 |
166 |
5 |
| fpu_insn_fcmp |
|
6 |
30 |
228 |
4 |
| fpu_insn_fmul |
|
5 |
25 |
206 |
5 |
| fpu_insn_fmulx |
|
7 |
26 |
235 |
5 |
| fpu_insn_fdiv |
|
5 |
25 |
206 |
5 |
| fpu_insn_fadd |
|
5 |
25 |
206 |
5 |
| fpu_insn_fsub |
|
5 |
25 |
206 |
5 |
| fpu_insn_fmovcc |
|
12 |
42 |
286 |
3 |
| fpu_insn_fmovr |
|
23 |
51 |
351 |
3 |
| Source file: ./sys/arch/sparc64/stand/ofwboot/boot.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| parseargs |
|
12 |
38 |
164 |
2 |
| chain |
|
3 |
25 |
225 |
4 |
| loadfile |
|
8 |
39 |
231 |
2 |
| loadrandom |
|
6 |
19 |
115 |
3 |
| srbootdev |
|
13 |
40 |
253 |
1 |
| main |
|
28 |
85 |
502 |
1 |
| Source file: ./sys/arch/sparc64/stand/ofwboot/md5.h |
| Source file: ./sys/arch/sparc64/stand/ofwboot/elf64_exec.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| elf64_exec |
|
32 |
129 |
1143 |
5 |
| Source file: ./sys/arch/alpha/mcbus/mcmem.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mcmemmatch |
|
2 |
10 |
48 |
3 |
| mcmemattach |
|
1 |
7 |
29 |
3 |
| Source file: ./sys/arch/alpha/mcbus/mcbusreg.h |
| Source file: ./sys/arch/alpha/mcbus/mcbusvar.h |
| Source file: ./sys/arch/sparc64/sparc64/db_disasm.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| db_disasm |
|
73 |
221 |
1625 |
2 |
| Source file: ./sys/arch/alpha/dev/sgmapvar.h |
| Source file: ./sys/arch/alpha/mcbus/mcbus.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mcbusprint |
|
1 |
9 |
45 |
2 |
| mcbussbm |
|
3 |
12 |
88 |
3 |
| mcbusmatch |
|
3 |
12 |
66 |
3 |
| mcbusattach |
|
5 |
34 |
250 |
3 |
| mcbus_node_type_str |
|
6 |
21 |
70 |
1 |
| Source file: ./sys/arch/alpha/dev/sgmap_typedep.h |
| Source file: ./sys/arch/alpha/dev/sgmap_common.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| alpha_sgmap_init |
|
9 |
65 |
346 |
9 |
| alpha_sgmap_dmamap_setup |
|
2 |
9 |
55 |
3 |
| alpha_sgmap_dmamap_create |
|
3 |
23 |
109 |
7 |
| alpha_sgmap_dmamap_teardown |
|
1 |
5 |
20 |
1 |
| alpha_sgmap_dmamap_destroy |
|
1 |
8 |
35 |
2 |
| Source file: ./sys/arch/sparc64/stand/ofwboot/ofdev.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| filename |
|
16 |
38 |
265 |
2 |
| strategy |
|
9 |
34 |
243 |
6 |
| devclose |
|
5 |
13 |
68 |
1 |
| get_long |
|
1 |
5 |
53 |
1 |
| sun_extended_sum |
|
2 |
10 |
65 |
2 |
| disklabel_sun_to_bsd |
|
29 |
117 |
844 |
2 |
| search_label |
|
9 |
36 |
246 |
5 |
| load_disklabel |
|
7 |
24 |
128 |
2 |
| devopen |
|
57 |
175 |
1141 |
3 |
| Source file: ./sys/arch/sparc64/stand/ofwboot/softraid_sparc64.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| srprobe_meta_opt_load |
|
7 |
35 |
287 |
2 |
| srprobe_keydisk_load |
|
4 |
26 |
209 |
1 |
| srprobe |
|
29 |
140 |
960 |
1 |
| sr_strategy |
|
15 |
83 |
596 |
6 |
| sr_getdisklabel |
|
5 |
17 |
126 |
2 |
| Source file: ./sys/arch/alpha/isa/isa_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| isa_display_console |
|
3 |
9 |
42 |
2 |
| Source file: ./sys/arch/sparc64/stand/ofwboot/Locore.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _rtt |
|
3 |
14 |
56 |
1 |
| OF_enter |
|
1 |
12 |
47 |
1 |
| OF_finddevice |
|
2 |
17 |
78 |
1 |
| OF_instance_to_package |
|
2 |
17 |
77 |
1 |
| OF_getprop |
|
2 |
23 |
121 |
4 |
| OF_open |
|
3 |
18 |
84 |
1 |
| OF_close |
|
1 |
14 |
60 |
1 |
| OF_write |
|
2 |
21 |
105 |
3 |
| OF_read |
|
2 |
22 |
107 |
3 |
| OF_seek |
|
2 |
22 |
106 |
2 |
| OF_release |
|
1 |
16 |
73 |
2 |
| OF_milliseconds |
|
1 |
14 |
55 |
1 |
| OF_chain |
|
1 |
7 |
63 |
5 |
| setup |
|
6 |
11 |
113 |
1 |
| OF_claim_virt |
|
2 |
26 |
127 |
2 |
| OF_alloc_virt |
|
2 |
26 |
131 |
2 |
| OF_free_virt |
|
1 |
20 |
97 |
2 |
| OF_map_phys |
|
3 |
32 |
168 |
4 |
| OF_alloc_phys |
|
2 |
25 |
125 |
2 |
| OF_free_phys |
|
1 |
22 |
109 |
2 |
| OF_claim |
|
6 |
34 |
236 |
3 |
| OF_peer |
|
2 |
17 |
76 |
1 |
| OF_child |
|
2 |
17 |
76 |
1 |
| OF_package_to_path |
|
3 |
23 |
114 |
3 |
| putchar |
|
2 |
7 |
33 |
1 |
| getchar |
|
4 |
9 |
51 |
1 |
| cngetc |
|
1 |
4 |
11 |
1 |
| Source file: ./sys/arch/alpha/dev/sgmap_typedep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __C( SGMAP_TYPE , _init_spill_page_pte) |
|
1 |
6 |
21 |
1 |
| __C( SGMAP_TYPE , _load_buffer) |
|
24 |
84 |
582 |
8 |
| __C( SGMAP_TYPE , _load) |
|
6 |
31 |
229 |
7 |
| __C( SGMAP_TYPE , _load_mbuf) |
|
11 |
42 |
322 |
5 |
| __C( SGMAP_TYPE , _load_uio) |
|
12 |
49 |
361 |
5 |
| __C( SGMAP_TYPE , _load_raw) |
|
1 |
9 |
77 |
7 |
| __C( SGMAP_TYPE , _unload) |
|
8 |
37 |
275 |
3 |
| Source file: ./sys/arch/alpha/isa/isapnp_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| isapnp_map |
|
3 |
16 |
92 |
1 |
| isapnp_unmap |
|
1 |
6 |
37 |
1 |
| isapnp_map_readport |
|
4 |
10 |
61 |
1 |
| isapnp_unmap_readport |
|
1 |
4 |
11 |
1 |
| Source file: ./sys/arch/alpha/dev/shared_intr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| intr_typename |
|
6 |
17 |
62 |
1 |
| alpha_shared_intr_alloc |
|
4 |
19 |
127 |
1 |
| alpha_shared_intr_dispatch |
|
9 |
21 |
127 |
2 |
| if |
|
1 |
5 |
25 |
1 |
| switch |
|
8 |
23 |
127 |
1 |
| alpha_shared_intr_disestablish |
|
1 |
10 |
66 |
2 |
| alpha_shared_intr_get_sharetype |
|
1 |
6 |
27 |
2 |
| alpha_shared_intr_isactive |
|
1 |
6 |
32 |
2 |
| alpha_shared_intr_firstactive |
|
2 |
5 |
44 |
2 |
| alpha_shared_intr_set_dfltsharetype |
|
3 |
10 |
59 |
3 |
| alpha_shared_intr_set_maxstrays |
|
1 |
10 |
52 |
3 |
| alpha_shared_intr_reset_strays |
|
1 |
6 |
26 |
2 |
| alpha_shared_intr_stray |
|
4 |
13 |
90 |
3 |
| alpha_shared_intr_set_private |
|
1 |
7 |
32 |
3 |
| alpha_shared_intr_get_private |
|
1 |
6 |
27 |
2 |
| Source file: ./sys/arch/alpha/isa/isa_machdep.h |
| Source file: ./sys/arch/alpha/isa/isapnp_machdep.h |
| Source file: ./sys/arch/alpha/isa/isafcns_jensen.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| jensen_inb |
|
1 |
14 |
92 |
1 |
| jensen_inw |
|
1 |
14 |
92 |
1 |
| jensen_inl |
|
1 |
14 |
92 |
1 |
| jensen_outb |
|
1 |
12 |
72 |
2 |
| jensen_outw |
|
1 |
12 |
72 |
2 |
| jensen_outl |
|
1 |
12 |
72 |
2 |
| Source file: ./sys/arch/alpha/include/disklabel.h |
| Source file: ./sys/arch/alpha/include/kcore.h |
| Source file: ./sys/arch/alpha/isa/mcclock_isa.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mcclock_isa_match |
|
8 |
18 |
129 |
3 |
| mcclock_isa_attach |
|
2 |
12 |
89 |
3 |
| mcclock_isa_write |
|
1 |
10 |
68 |
3 |
| mcclock_isa_read |
|
1 |
10 |
63 |
2 |
| Source file: ./sys/arch/alpha/include/pmap.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pmap_l2pte |
|
3 |
14 |
81 |
3 |
| pmap_l3pte |
|
4 |
18 |
126 |
3 |
| Source file: ./sys/arch/alpha/include/sfbreg.h |
| Source file: ./sys/arch/alpha/dev/bus_dma.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _bus_dmamap_create |
|
5 |
32 |
207 |
7 |
| _bus_dmamap_destroy |
|
1 |
6 |
23 |
2 |
| _bus_dmamap_load_buffer_direct |
|
17 |
69 |
428 |
9 |
| _bus_dmamap_load_direct |
|
4 |
28 |
179 |
6 |
| _bus_dmamap_load_mbuf_direct |
|
9 |
35 |
244 |
4 |
| _bus_dmamap_load_uio_direct |
|
10 |
43 |
290 |
4 |
| _bus_dmamap_load_raw_direct |
|
1 |
10 |
40 |
6 |
| _bus_dmamap_unload |
|
1 |
9 |
42 |
2 |
| _bus_dmamap_sync |
|
1 |
9 |
33 |
5 |
| _bus_dmamem_alloc |
|
1 |
11 |
77 |
8 |
| _bus_dmamem_alloc_range |
|
9 |
48 |
292 |
10 |
| _bus_dmamem_free |
|
3 |
20 |
114 |
3 |
| _bus_dmamem_map |
|
8 |
44 |
292 |
6 |
| _bus_dmamem_unmap |
|
5 |
12 |
67 |
3 |
| _bus_dmamem_mmap |
|
7 |
24 |
138 |
6 |
| Source file: ./sys/arch/alpha/include/lock.h |
| Source file: ./sys/arch/alpha/include/vmparam.h |
| Source file: ./sys/arch/alpha/include/cfbreg.h |
| Source file: ./sys/arch/alpha/include/pal.h |
| Source file: ./sys/arch/alpha/include/_float.h |
| Source file: ./sys/arch/alpha/include/exec.h |
| Source file: ./sys/arch/alpha/include/tcb.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __alpha_get_tcb |
|
1 |
8 |
33 |
1 |
| __alpha_set_tcb |
|
1 |
7 |
40 |
1 |
| Source file: ./sys/arch/alpha/include/stdarg.h |
| Source file: ./sys/arch/alpha/include/profile.h |
| Source file: ./sys/arch/alpha/include/pte.h |
| Source file: ./sys/arch/alpha/include/rpb.h |
| Source file: ./sys/arch/alpha/include/_types.h |
| Source file: ./sys/arch/alpha/include/loadfile_machdep.h |
| Source file: ./sys/arch/alpha/include/logout.h |
| Source file: ./sys/arch/alpha/include/ieee.h |
| Source file: ./sys/arch/alpha/include/ieeefp.h |
| Source file: ./sys/arch/alpha/include/mutex.h |
| Source file: ./sys/arch/alpha/include/fenv.h |
| Source file: ./sys/arch/alpha/include/cdefs.h |
| Source file: ./sys/arch/alpha/include/endian.h |
| Source file: ./sys/arch/alpha/include/tc_machdep.h |
| Source file: ./sys/arch/alpha/include/ioctl_fd.h |
| Source file: ./sys/arch/alpha/isa/isadma_bounce.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| isadma_bounce_dmamap_create |
|
9 |
42 |
278 |
7 |
| isadma_bounce_dmamap_destroy |
|
2 |
8 |
50 |
2 |
| isadma_bounce_dmamap_load |
|
8 |
30 |
213 |
6 |
| isadma_bounce_dmamap_load_mbuf |
|
11 |
35 |
248 |
4 |
| isadma_bounce_dmamap_load_uio |
|
1 |
5 |
23 |
4 |
| isadma_bounce_dmamap_load_raw |
|
1 |
5 |
28 |
6 |
| isadma_bounce_dmamap_unload |
|
3 |
10 |
65 |
2 |
| isadma_bounce_dmamap_sync |
|
22 |
70 |
410 |
5 |
| isadma_bounce_dmamem_alloc |
|
2 |
13 |
105 |
8 |
| isadma_bounce_alloc_bouncebuf |
|
3 |
25 |
157 |
4 |
| isadma_bounce_free_bouncebuf |
|
1 |
11 |
63 |
2 |
| Source file: ./sys/arch/alpha/include/frame.h |
| Source file: ./sys/arch/alpha/include/cpuconf.h |
| Source file: ./sys/arch/alpha/include/varargs.h |
| Source file: ./sys/arch/alpha/include/ptrace.h |
| Source file: ./sys/arch/alpha/include/limits.h |
| Source file: ./sys/arch/alpha/include/conf.h |
| Source file: ./sys/arch/alpha/include/z8530var.h |
| Source file: ./sys/arch/alpha/include/proc.h |
| Source file: ./sys/arch/alpha/include/mplock.h |
| Source file: ./sys/arch/alpha/include/setjmp.h |
| Source file: ./sys/arch/alpha/include/atomic.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| atomic_setbits_ulong |
|
1 |
18 |
51 |
2 |
| atomic_clearbits_ulong |
|
1 |
18 |
51 |
2 |
| atomic_add_ulong |
|
1 |
18 |
51 |
2 |
| atomic_sub_ulong |
|
1 |
18 |
51 |
2 |
| atomic_loadlatch_ulong |
|
1 |
19 |
63 |
2 |
| atomic_setbits_int |
|
1 |
18 |
51 |
2 |
| atomic_clearbits_int |
|
1 |
18 |
51 |
2 |
| atomic_add_int |
|
1 |
18 |
49 |
2 |
| Source file: ./sys/arch/alpha/include/prom.h |
| Source file: ./sys/arch/alpha/include/reloc.h |
| Source file: ./sys/arch/alpha/include/pcb.h |
| Source file: ./sys/arch/alpha/include/autoconf.h |
| Source file: ./sys/arch/alpha/include/db_machdep.h |
| Source file: ./sys/arch/alpha/include/signal.h |
| Source file: ./sys/arch/alpha/include/intr.h |
| Source file: ./sys/arch/alpha/include/bwx.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| alpha_ldbu |
|
1 |
8 |
34 |
1 |
| alpha_ldwu |
|
1 |
8 |
34 |
1 |
| alpha_ldlu |
|
1 |
4 |
15 |
1 |
| alpha_stb |
|
1 |
7 |
31 |
2 |
| alpha_stw |
|
1 |
7 |
31 |
2 |
| alpha_stl |
|
1 |
7 |
31 |
2 |
| alpha_sextb |
|
1 |
9 |
33 |
1 |
| alpha_sextw |
|
1 |
9 |
33 |
1 |
| Source file: ./sys/arch/alpha/include/param.h |
| Source file: ./sys/arch/alpha/include/asm.h |
| Source file: ./sys/arch/alpha/include/sysarch.h |
| Source file: ./sys/arch/alpha/include/cpu.h |
| Source file: ./sys/arch/alpha/include/fpu.h |
| Source file: ./sys/arch/alpha/include/reg.h |
| Source file: ./sys/arch/alpha/eisa/eisa_machdep.h |
| Source file: ./sys/arch/alpha/include/bus.h |
| Source file: ./sys/arch/alpha/include/alpha_cpu.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| alpha_rpcc |
|
1 |
6 |
26 |
1 |
| alpha_pal_rdmces |
|
1 |
9 |
46 |
1 |
| alpha_pal_rdps |
|
1 |
9 |
46 |
1 |
| alpha_pal_rdunique |
|
1 |
8 |
36 |
1 |
| alpha_pal_rdusp |
|
1 |
9 |
46 |
1 |
| alpha_pal_rdval |
|
1 |
9 |
46 |
1 |
| alpha_pal_swpctx |
|
1 |
10 |
71 |
1 |
| alpha_pal_swpipl |
|
1 |
10 |
71 |
1 |
| alpha_pal_tbi |
|
1 |
9 |
74 |
2 |
| alpha_pal_whami |
|
1 |
9 |
46 |
1 |
| alpha_pal_wrfen |
|
1 |
8 |
50 |
1 |
| alpha_pal_wripir |
|
1 |
8 |
50 |
1 |
| alpha_pal_wrunique |
|
1 |
7 |
40 |
1 |
| alpha_pal_wrusp |
|
1 |
8 |
50 |
1 |
| alpha_pal_wrmces |
|
1 |
8 |
50 |
1 |
| alpha_pal_wrval |
|
1 |
8 |
50 |
1 |
| Source file: ./sys/arch/alpha/alpha/dec_eb164.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dec_eb164_init |
|
2 |
10 |
53 |
0 |
| dec_eb164_cons_init |
|
8 |
40 |
254 |
0 |
| dec_eb164_device_register |
|
26 |
97 |
612 |
2 |
| Source file: ./sys/arch/alpha/alpha/dec_550.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dec_550_init |
|
2 |
11 |
59 |
0 |
| dec_550_cons_init |
|
6 |
38 |
234 |
0 |
| dec_550_device_register |
|
23 |
90 |
570 |
2 |
| dec_550_powerdown |
|
1 |
5 |
16 |
0 |
| Source file: ./sys/arch/alpha/alpha/clockvar.h |
| Source file: ./sys/arch/alpha/eisa/eisa_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ecuf_init |
|
1 |
8 |
54 |
1 |
| eisa_parse_mem |
|
5 |
23 |
224 |
2 |
| eisa_parse_irq |
|
8 |
18 |
156 |
2 |
| eisa_parse_dma |
|
5 |
19 |
163 |
2 |
| eisa_parse_io |
|
6 |
18 |
156 |
2 |
| eisa_read_config_bytes |
|
2 |
9 |
58 |
3 |
| eisa_read_config_word |
|
2 |
11 |
76 |
2 |
| eisa_uncompress |
|
4 |
17 |
103 |
3 |
| eisa_init |
|
37 |
170 |
1213 |
1 |
| eisa_compute_maxslots |
|
8 |
22 |
149 |
1 |
| Source file: ./sys/arch/alpha/alpha/disksubr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| readdisklabel |
|
11 |
36 |
220 |
4 |
| writedisklabel |
|
4 |
28 |
212 |
3 |
| Source file: ./sys/arch/alpha/alpha/lock_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __cpu_cas |
|
1 |
19 |
73 |
3 |
| __mp_lock_init |
|
1 |
5 |
21 |
1 |
| __mp_lock_spin |
|
6 |
14 |
76 |
1 |
| __mp_lock |
|
4 |
19 |
93 |
1 |
| __mp_unlock |
|
4 |
15 |
73 |
1 |
| __mp_release_all |
|
3 |
15 |
76 |
1 |
| __mp_release_all_but_one |
|
3 |
10 |
52 |
1 |
| __mp_acquire_count |
|
2 |
5 |
22 |
2 |
| __mp_lock_held |
|
1 |
4 |
23 |
2 |
| Source file: ./sys/arch/alpha/alpha/autoconf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| unmap_startup |
|
2 |
7 |
34 |
1 |
| cpu_configure |
|
2 |
12 |
56 |
0 |
| diskconf |
|
2 |
12 |
48 |
1 |
| parse_prom_bootdev |
|
11 |
42 |
314 |
0 |
| atoi |
|
6 |
18 |
91 |
1 |
| device_register |
|
3 |
10 |
45 |
2 |
| Source file: ./sys/arch/alpha/alpha/dec_eb64plus.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dec_eb64plus_init |
|
3 |
14 |
81 |
0 |
| dec_eb64plus_cons_init |
|
6 |
38 |
234 |
0 |
| dec_eb64plus_device_register |
|
22 |
69 |
414 |
2 |
| Source file: ./sys/arch/alpha/alpha/interrupt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| scb_init |
|
2 |
8 |
42 |
1 |
| scb_stray |
|
1 |
4 |
18 |
2 |
| scb_set |
|
5 |
15 |
114 |
3 |
| scb_alloc |
|
3 |
18 |
112 |
2 |
| scb_free |
|
5 |
15 |
102 |
1 |
| interrupt |
|
19 |
63 |
366 |
4 |
| machine_check |
|
7 |
41 |
239 |
4 |
| badaddr |
|
1 |
4 |
23 |
2 |
| badaddr_read |
|
11 |
49 |
263 |
3 |
| softintr_init |
|
2 |
11 |
60 |
0 |
| softintr_dispatch |
|
8 |
28 |
181 |
0 |
| ipl2si |
|
6 |
22 |
67 |
1 |
| softintr_establish |
|
2 |
16 |
104 |
3 |
| softintr_disestablish |
|
2 |
12 |
77 |
1 |
| softintr_schedule |
|
2 |
12 |
75 |
1 |
| intr_barrier |
|
1 |
4 |
13 |
1 |
| splraise |
|
2 |
5 |
30 |
1 |
| splassert_check |
|
3 |
10 |
55 |
2 |
| Source file: ./sys/arch/alpha/alpha/cpu.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cpumatch |
|
3 |
9 |
64 |
3 |
| cpuattach |
|
34 |
111 |
785 |
3 |
| cpu_announce_extensions |
|
5 |
20 |
108 |
1 |
| cpu_boot_secondary_processors |
|
6 |
21 |
134 |
1 |
| cpu_boot_secondary |
|
8 |
41 |
278 |
1 |
| cpu_pause_resume |
|
2 |
9 |
50 |
2 |
| cpu_pause_resume_all |
|
2 |
10 |
47 |
1 |
| cpu_halt |
|
1 |
12 |
91 |
1 |
| cpu_hatch |
|
2 |
23 |
146 |
1 |
| cpu_iccb_send |
|
7 |
28 |
188 |
2 |
| cpu_iccb_receive |
|
8 |
33 |
181 |
1 |
| cpu_unidle |
|
2 |
5 |
26 |
1 |
| Source file: ./sys/arch/alpha/alpha/mem.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mmopen |
|
13 |
24 |
114 |
4 |
| mmclose |
|
3 |
6 |
36 |
4 |
| mmrw |
|
20 |
70 |
408 |
3 |
| mmmmap |
|
7 |
20 |
99 |
3 |
| mmioctl |
|
1 |
4 |
26 |
5 |
| Source file: ./sys/arch/alpha/alpha/sys_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sys_sysarch |
|
12 |
60 |
312 |
3 |
| sys_sysarch |
|
1 |
4 |
22 |
3 |
| Source file: ./sys/arch/alpha/alpha/mcclockvar.h |
| Source file: ./sys/arch/alpha/alpha/dec_axppci_33.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| lca_preinit |
|
1 |
6 |
22 |
0 |
| dec_axppci_33_init |
|
4 |
31 |
202 |
0 |
| dec_axppci_33_cons_init |
|
6 |
36 |
223 |
0 |
| dec_axppci_33_device_register |
|
22 |
69 |
414 |
2 |
| Source file: ./sys/arch/alpha/alpha/dec_alphabook1.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dec_alphabook1_init |
|
3 |
14 |
82 |
1 |
| dec_alphabook1_cons_init |
|
6 |
38 |
236 |
1 |
| dec_alphabook1_device_register |
|
22 |
67 |
414 |
2 |
| Source file: ./sys/arch/alpha/alpha/conf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| iskmemdev |
|
2 |
5 |
26 |
1 |
| iszerodev |
|
2 |
5 |
26 |
1 |
| getnulldev |
|
1 |
4 |
13 |
0 |
| Source file: ./sys/arch/alpha/alpha/vm_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cpu_exit |
|
2 |
8 |
40 |
1 |
| cpu_fork |
|
9 |
33 |
369 |
6 |
| vmapbuf |
|
4 |
27 |
192 |
2 |
| vunmapbuf |
|
2 |
16 |
115 |
2 |
| tcb_get |
|
2 |
7 |
40 |
1 |
| tcb_set |
|
1 |
6 |
45 |
2 |
| Source file: ./sys/arch/alpha/alpha/machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| alpha_init |
|
79 |
315 |
1980 |
5 |
| consinit |
|
3 |
5 |
18 |
0 |
| cpu_startup |
|
8 |
41 |
268 |
0 |
| alpha_dsr_sysname |
|
2 |
11 |
78 |
0 |
| alpha_variation_name |
|
3 |
10 |
64 |
2 |
| alpha_unknown_sysname |
|
1 |
7 |
46 |
0 |
| identifycpu |
|
7 |
23 |
159 |
0 |
| boot |
|
19 |
59 |
311 |
1 |
| cpu_dumpsize |
|
2 |
9 |
62 |
0 |
| cpu_dump_mempagecnt |
|
2 |
8 |
44 |
0 |
| cpu_dump |
|
2 |
25 |
238 |
0 |
| dumpconf |
|
6 |
17 |
101 |
1 |
| dumpsys |
|
18 |
78 |
431 |
0 |
| frametoreg |
|
1 |
36 |
447 |
2 |
| regtoframe |
|
1 |
35 |
438 |
2 |
| printregs |
|
3 |
8 |
49 |
1 |
| regdump |
|
1 |
9 |
45 |
1 |
| sendsig |
|
9 |
60 |
558 |
6 |
| sys_sigreturn |
|
5 |
34 |
324 |
3 |
| cpu_sysctl |
|
18 |
51 |
328 |
7 |
| setregs |
|
8 |
29 |
250 |
4 |
| fpusave_cpu |
|
6 |
22 |
123 |
2 |
| fpusave_proc |
|
11 |
33 |
181 |
2 |
| spl0 |
|
2 |
8 |
31 |
0 |
| delay |
|
5 |
23 |
108 |
1 |
| alpha_pa_access |
|
5 |
17 |
97 |
1 |
| alpha_XXX_dmamap |
|
1 |
5 |
19 |
1 |
| Source file: ./sys/arch/alpha/alpha/mcclock.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mcclock_attach |
|
1 |
9 |
52 |
2 |
| mcclock_init |
|
1 |
8 |
49 |
1 |
| mcclock_get |
|
1 |
19 |
122 |
3 |
| mcclock_set |
|
1 |
21 |
137 |
2 |
| Source file: ./sys/arch/alpha/alpha/db_instruction.h |
| Source file: ./sys/arch/alpha/alpha/db_interface.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ddb_trap |
|
5 |
25 |
131 |
5 |
| db_read_bytes |
|
2 |
10 |
50 |
3 |
| db_write_bytes |
|
2 |
11 |
54 |
3 |
| db_enter |
|
1 |
4 |
11 |
0 |
| db_register_value |
|
4 |
12 |
63 |
2 |
| db_inst_call |
|
3 |
9 |
53 |
1 |
| db_inst_return |
|
2 |
8 |
41 |
1 |
| db_inst_trap_return |
|
2 |
8 |
41 |
1 |
| db_inst_branch |
|
17 |
26 |
86 |
1 |
| db_inst_unconditional_flow_transfer |
|
7 |
19 |
71 |
1 |
| db_inst_spill |
|
2 |
8 |
45 |
2 |
| db_inst_load |
|
11 |
22 |
153 |
1 |
| db_branch_taken |
|
18 |
38 |
154 |
3 |
| db_valid_breakpoint |
|
3 |
10 |
50 |
1 |
| next_instr_address |
|
2 |
8 |
49 |
2 |
| db_mach_cpu |
|
8 |
36 |
195 |
4 |
| db_machine_init |
|
1 |
4 |
10 |
0 |
| Source file: ./sys/arch/alpha/alpha/dec_2100_a50.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dec_2100_a50_init |
|
4 |
18 |
99 |
0 |
| dec_2100_a50_cons_init |
|
6 |
38 |
234 |
0 |
| dec_2100_a50_device_register |
|
22 |
69 |
414 |
2 |
| dec_2100_a50_mcheck |
|
41 |
247 |
1824 |
4 |
| dec_2100_a50_mcheck_handler |
|
3 |
17 |
76 |
4 |
| Source file: ./sys/arch/alpha/alpha/clock.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| clockattach |
|
2 |
10 |
43 |
2 |
| cpu_initclocks |
|
4 |
28 |
180 |
1 |
| setstatclockrate |
|
1 |
4 |
9 |
1 |
| inittodr |
|
18 |
55 |
365 |
1 |
| resettodr |
|
3 |
18 |
132 |
0 |
| rpcc_get_timecount |
|
1 |
4 |
14 |
1 |
| Source file: ./sys/arch/alpha/alpha/process_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| process_read_regs |
|
1 |
9 |
66 |
2 |
| process_read_fpregs |
|
2 |
9 |
58 |
2 |
| process_write_regs |
|
1 |
9 |
66 |
2 |
| process_set_pc |
|
1 |
8 |
43 |
2 |
| process_write_fpregs |
|
2 |
9 |
58 |
2 |
| ptrace_read_int |
|
1 |
15 |
106 |
3 |
| ptrace_write_int |
|
1 |
15 |
106 |
3 |
| ptrace_read_register |
|
2 |
40 |
111 |
2 |
| ptrace_clear_bpt |
|
1 |
4 |
28 |
2 |
| ptrace_set_bpt |
|
2 |
9 |
57 |
2 |
| process_sstep |
|
28 |
70 |
466 |
2 |
| Source file: ./sys/arch/alpha/alpha/dec_3000_300.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dec_3000_300_init |
|
3 |
14 |
81 |
0 |
| dec_3000_300_cons_init |
|
7 |
30 |
157 |
0 |
| dec_3000_300_device_register |
|
33 |
74 |
470 |
2 |
| Source file: ./sys/arch/alpha/alpha/mainbus.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mbmatch |
|
2 |
9 |
37 |
3 |
| mbattach |
|
4 |
24 |
141 |
3 |
| mbprint |
|
2 |
9 |
44 |
2 |
| Source file: ./sys/arch/alpha/alpha/ipifuncs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| alpha_ipi_process |
|
4 |
11 |
80 |
2 |
| alpha_send_ipi |
|
5 |
10 |
70 |
2 |
| alpha_broadcast_ipi |
|
3 |
15 |
80 |
1 |
| alpha_multicast_ipi |
|
3 |
15 |
82 |
2 |
| alpha_ipi_halt |
|
1 |
7 |
36 |
2 |
| alpha_ipi_imb |
|
1 |
4 |
18 |
2 |
| alpha_ipi_ast |
|
2 |
4 |
19 |
2 |
| alpha_ipi_synch_fpu |
|
2 |
6 |
31 |
2 |
| alpha_ipi_discard_fpu |
|
2 |
6 |
31 |
2 |
| alpha_ipi_pause |
|
2 |
15 |
90 |
2 |
| Source file: ./sys/arch/alpha/alpha/dec_3000_500.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dec_3000_500_init |
|
6 |
24 |
125 |
0 |
| dec_3000_500_cons_init |
|
7 |
30 |
157 |
0 |
| dec_3000_500_device_register |
|
33 |
74 |
470 |
2 |
| Source file: ./sys/arch/alpha/alpha/api_up1000.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| api_up1000_init |
|
2 |
10 |
53 |
0 |
| api_up1000_cons_init |
|
6 |
38 |
234 |
0 |
| api_up1000_device_register |
|
35 |
107 |
651 |
2 |
| Source file: ./sys/arch/alpha/alpha/dec_kn300.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dec_kn300_init |
|
8 |
33 |
167 |
0 |
| dec_kn300_cons_init |
|
6 |
36 |
228 |
0 |
| dec_kn300_device_register |
|
22 |
91 |
566 |
2 |
| Source file: ./sys/arch/alpha/alpha/dec_6600.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dec_6600_init |
|
2 |
13 |
73 |
0 |
| dec_6600_cons_init |
|
6 |
43 |
254 |
0 |
| dec_6600_device_register |
|
29 |
110 |
661 |
2 |
| dec_6600_environmental_mcheck |
|
12 |
52 |
386 |
4 |
| dec_6600_print_syndrome |
|
5 |
15 |
93 |
2 |
| dec_6600_mcheck |
|
22 |
85 |
436 |
4 |
| dec_6600_mcheck_handler |
|
6 |
19 |
96 |
4 |
| Source file: ./sys/arch/alpha/alpha/mutex.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __mtx_init |
|
1 |
6 |
30 |
2 |
| __mtx_enter |
|
5 |
12 |
55 |
1 |
| __mtx_enter_try |
|
8 |
20 |
125 |
1 |
| __mtx_enter |
|
5 |
10 |
66 |
1 |
| __mtx_enter_try |
|
1 |
5 |
19 |
1 |
| __mtx_leave |
|
4 |
11 |
53 |
1 |
| Source file: ./sys/arch/alpha/alpha/cpuconf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| platform_lookup |
|
3 |
11 |
57 |
1 |
| platform_not_configured |
|
1 |
9 |
37 |
0 |
| platform_not_supported |
|
2 |
7 |
40 |
0 |
| Source file: ./sys/arch/alpha/alpha/prom.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| prom_lev1map |
|
1 |
6 |
39 |
0 |
| init_prom_interface |
|
1 |
7 |
51 |
1 |
| init_bootstrap_console |
|
1 |
8 |
39 |
0 |
| prom_enter |
|
5 |
15 |
69 |
1 |
| prom_leave |
|
5 |
14 |
62 |
1 |
| prom_cache_sync |
|
1 |
5 |
14 |
1 |
| promcnputc |
|
2 |
11 |
69 |
2 |
| promcngetc |
|
4 |
11 |
61 |
1 |
| promcnlookc |
|
3 |
12 |
67 |
2 |
| prom_getenv |
|
2 |
13 |
95 |
3 |
| prom_halt |
|
2 |
12 |
61 |
1 |
| hwrpb_checksum |
|
2 |
10 |
65 |
0 |
| hwrpb_primary_init |
|
1 |
9 |
60 |
0 |
| hwrpb_restart_setup |
|
1 |
10 |
61 |
0 |
| console_restart |
|
1 |
13 |
96 |
1 |
| Source file: ./sys/arch/alpha/alpha/in_cksum.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| in_cksumdata |
|
17 |
67 |
517 |
2 |
| in_cksum |
|
6 |
25 |
140 |
2 |
| in4_cksum |
|
13 |
44 |
306 |
4 |
| Source file: ./sys/arch/alpha/alpha/promcons.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| promopen |
|
8 |
41 |
271 |
4 |
| promclose |
|
1 |
12 |
76 |
4 |
| promread |
|
1 |
8 |
56 |
3 |
| promwrite |
|
1 |
8 |
56 |
3 |
| promioctl |
|
3 |
18 |
113 |
5 |
| promparam |
|
1 |
6 |
21 |
2 |
| promstart |
|
3 |
15 |
84 |
1 |
| promstop |
|
3 |
12 |
59 |
2 |
| promtimeout |
|
3 |
11 |
67 |
1 |
| promtty |
|
2 |
7 |
29 |
1 |
| Source file: ./sys/arch/alpha/alpha/dec_1000a.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _dec_1000a_init |
|
6 |
23 |
119 |
0 |
| dec_1000a_cons_init |
|
7 |
56 |
313 |
0 |
| dec_1000a_device_register |
|
22 |
69 |
414 |
2 |
| Source file: ./sys/arch/alpha/alpha/db_trace.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sext |
|
2 |
4 |
30 |
1 |
| rega |
|
1 |
4 |
19 |
1 |
| regb |
|
1 |
4 |
19 |
1 |
| regc |
|
1 |
4 |
14 |
1 |
| disp |
|
1 |
4 |
17 |
1 |
| db_stack_trace_print |
|
27 |
86 |
694 |
5 |
| Source file: ./sys/arch/alpha/alpha/dec_kn20aa.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dec_kn20aa_init |
|
3 |
14 |
81 |
0 |
| dec_kn20aa_cons_init |
|
6 |
38 |
234 |
0 |
| dec_kn20aa_device_register |
|
22 |
69 |
414 |
2 |
| Source file: ./sys/arch/alpha/alpha/fp_complete.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| this_cannot_happen |
|
5 |
20 |
117 |
2 |
| sts |
|
1 |
5 |
31 |
3 |
| stt |
|
1 |
5 |
31 |
3 |
| lds |
|
1 |
5 |
31 |
3 |
| ldt |
|
1 |
5 |
31 |
3 |
| compare_lt |
|
1 |
4 |
21 |
2 |
| compare_le |
|
1 |
4 |
21 |
2 |
| compare_un |
|
3 |
9 |
52 |
2 |
| compare_eq |
|
1 |
4 |
21 |
2 |
| cvt_qs_ts_st_gf_qf |
|
4 |
25 |
174 |
2 |
| cvt_gd |
|
1 |
11 |
91 |
2 |
| cvt_qt_dg_qg |
|
5 |
22 |
121 |
2 |
| cvt_tq_gq |
|
1 |
9 |
63 |
2 |
| fp_c_to_fpcr_1 |
|
4 |
16 |
132 |
2 |
| fp_c_to_fpcr |
|
1 |
4 |
25 |
1 |
| alpha_write_fp_c |
|
2 |
13 |
75 |
2 |
| alpha_read_fp_c |
|
1 |
4 |
18 |
1 |
| float64_unk |
|
1 |
4 |
13 |
2 |
| alpha_fp_interpret |
|
16 |
64 |
437 |
2 |
| alpha_fp_complete_at |
|
5 |
33 |
238 |
3 |
| alpha_fp_complete |
|
19 |
69 |
429 |
4 |
| Source file: ./sys/arch/alpha/stand/setnetbootinfo/setnetbootinfo.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usage |
|
1 |
8 |
50 |
0 |
| main |
|
56 |
158 |
1004 |
2 |
| Source file: ./sys/arch/alpha/stand/netboot/if_prom.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| prom_match |
|
1 |
4 |
18 |
2 |
| prom_probe |
|
1 |
4 |
16 |
2 |
| prom_put |
|
1 |
5 |
30 |
3 |
| prom_get |
|
6 |
23 |
147 |
4 |
| prom_init |
|
15 |
74 |
463 |
2 |
| prom_end |
|
1 |
4 |
14 |
1 |
| Source file: ./sys/arch/alpha/alpha/trap.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| trap_init |
|
1 |
11 |
60 |
0 |
| printtrap |
|
10 |
46 |
247 |
7 |
| trap |
|
49 |
197 |
987 |
5 |
| syscall |
|
16 |
77 |
466 |
2 |
| child_return |
|
1 |
12 |
77 |
1 |
| alpha_enable_fp |
|
10 |
26 |
181 |
2 |
| ast |
|
3 |
14 |
102 |
1 |
| Sfloat_to_reg |
|
5 |
17 |
143 |
1 |
| reg_to_Sfloat |
|
2 |
12 |
105 |
1 |
| Tfloat_reg_cvt |
|
1 |
5 |
15 |
1 |
| Ffloat_to_reg |
|
4 |
16 |
152 |
1 |
| reg_to_Ffloat |
|
2 |
13 |
125 |
1 |
| Gfloat_reg_cvt |
|
1 |
12 |
103 |
1 |
| unaligned_fixup |
|
28 |
101 |
592 |
4 |
| handle_opdec |
|
39 |
119 |
757 |
2 |
| Source file: ./sys/arch/alpha/stand/netboot/conf.c |
| Source file: ./sys/arch/alpha/stand/netboot/devopen.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| devopen |
|
36 |
90 |
575 |
3 |
| Source file: ./sys/arch/alpha/stand/netboot/dev_net.h |
| Source file: ./sys/arch/alpha/stand/netboot/netboot.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
3 |
27 |
191 |
0 |
| Source file: ./sys/arch/alpha/stand/netboot/dev_net.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| net_open |
|
11 |
42 |
202 |
2 |
| net_close |
|
7 |
20 |
91 |
1 |
| net_ioctl |
|
1 |
4 |
8 |
0 |
| net_strategy |
|
1 |
4 |
8 |
0 |
| net_getparams |
|
9 |
30 |
165 |
1 |
| Source file: ./sys/arch/alpha/stand/netboot/getsecs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| getsecs |
|
4 |
20 |
127 |
0 |
| Source file: ./sys/arch/alpha/stand/boot/filesystem.c |
| Source file: ./sys/arch/alpha/stand/boot/disk.h |
| Source file: ./sys/arch/alpha/stand/boot/test.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
1 |
23 |
191 |
5 |
| Source file: ./sys/arch/alpha/stand/boot/conf.c |
| Source file: ./sys/arch/alpha/stand/boot/devopen.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| devopen |
|
22 |
70 |
438 |
3 |
| Source file: ./sys/arch/alpha/alpha/db_disasm.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pal_opname |
|
3 |
12 |
77 |
1 |
| arit_name |
|
3 |
12 |
95 |
1 |
| logical_name |
|
8 |
20 |
166 |
1 |
| bitop_name |
|
5 |
17 |
151 |
1 |
| mul_name |
|
3 |
11 |
75 |
1 |
| special_name |
|
7 |
19 |
114 |
1 |
| intmisc_name |
|
6 |
15 |
91 |
1 |
| float_name |
|
3 |
14 |
95 |
3 |
| register_name |
|
4 |
11 |
58 |
1 |
| db_disasm |
|
1 |
9 |
46 |
2 |
| alpha_print_instruction |
|
76 |
212 |
1074 |
3 |
| Source file: ./sys/arch/alpha/stand/boot/disk.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| diskstrategy |
|
5 |
24 |
163 |
6 |
| diskopen |
|
12 |
55 |
426 |
4 |
| diskclose |
|
1 |
9 |
52 |
1 |
| Source file: ./sys/arch/alpha/stand/OSFpal.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| OSFpal |
|
2 |
19 |
128 |
0 |
| Source file: ./sys/arch/alpha/stand/bootxx.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| open_dev |
|
2 |
14 |
80 |
1 |
| load_file |
|
10 |
51 |
308 |
2 |
| main |
|
3 |
18 |
98 |
0 |
| Source file: ./sys/arch/alpha/stand/loadfile_subr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| check_phdr |
|
5 |
29 |
179 |
1 |
| Source file: ./sys/arch/alpha/stand/headersize.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
11 |
31 |
259 |
2 |
| Source file: ./sys/arch/alpha/stand/boot/boot.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| loadrandom |
|
7 |
17 |
123 |
3 |
| main |
|
6 |
54 |
419 |
0 |
| Source file: ./sys/arch/alpha/stand/bbinfo.h |
| Source file: ./sys/arch/alpha/stand/puts.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| puts |
|
2 |
6 |
22 |
1 |
| Source file: ./sys/arch/alpha/tc/tc_3000_300.h |
| Source file: ./sys/arch/alpha/stand/prom.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| init_prom_calls |
|
1 |
13 |
90 |
0 |
| getchar |
|
4 |
9 |
53 |
0 |
| putchar |
|
5 |
18 |
108 |
1 |
| prom_getenv |
|
3 |
16 |
113 |
3 |
| Source file: ./sys/arch/alpha/tc/tc_conf.h |
| Source file: ./sys/arch/alpha/tc/tc_dma_3000_300.h |
| Source file: ./sys/arch/alpha/tc/tc_dma.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tc_dma_init |
|
1 |
7 |
15 |
0 |
| Source file: ./sys/arch/alpha/stand/installboot.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usage |
|
1 |
7 |
22 |
1 |
| main |
|
31 |
107 |
791 |
2 |
| loadprotoblocks |
|
11 |
56 |
377 |
2 |
| devread |
|
3 |
7 |
71 |
5 |
| loadblocknums |
|
30 |
94 |
807 |
3 |
| Source file: ./sys/arch/alpha/tc/tc_dma_3000_500.h |
| Source file: ./sys/arch/alpha/tc/sfbvar.h |
| Source file: ./sys/arch/alpha/tc/sfb.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sfbmatch |
|
2 |
10 |
55 |
3 |
| sfb_getdevconfig |
|
10 |
75 |
605 |
2 |
| sfbattach |
|
4 |
37 |
269 |
3 |
| sfbioctl |
|
17 |
46 |
332 |
5 |
| sfbmmap |
|
3 |
10 |
52 |
3 |
| sfb_alloc_screen |
|
2 |
19 |
118 |
6 |
| sfb_free_screen |
|
2 |
9 |
42 |
2 |
| sfb_cnattach |
|
1 |
12 |
70 |
1 |
| sfb_blank |
|
2 |
10 |
58 |
1 |
| sfb_unblank |
|
2 |
10 |
57 |
1 |
| Source file: ./sys/arch/alpha/tc/tc_sgmap.c |
| Source file: ./sys/arch/alpha/tc/tc_sgmap.h |
| Source file: ./sys/arch/alpha/tc/ioasic.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ioasicmatch |
|
5 |
13 |
80 |
3 |
| ioasicattach |
|
7 |
37 |
289 |
3 |
| ioasic_intr_disestablish |
|
6 |
21 |
174 |
0 |
| ioasic_intrnull |
|
1 |
6 |
20 |
0 |
| ioasic_intr |
|
3 |
25 |
137 |
0 |
| ioasic_led_blink |
|
16 |
56 |
324 |
0 |
| Source file: ./sys/arch/alpha/tc/tc_3000_500.h |
| Source file: ./sys/arch/alpha/tc/tc_3000_500.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tc_3000_500_intr_setup |
|
3 |
14 |
98 |
0 |
| tc_3000_500_intr_disestablish |
|
4 |
18 |
119 |
3 |
| tc_3000_500_intrnull |
|
1 |
6 |
20 |
1 |
| tc_3000_500_iointr |
|
4 |
36 |
192 |
2 |
| tc_3000_500_fb_cnattach |
|
4 |
17 |
70 |
1 |
| tc_3000_500_ioslot |
|
2 |
19 |
85 |
3 |
| tc_3000_500_activate |
|
3 |
10 |
58 |
2 |
| Source file: ./sys/arch/alpha/tc/tc_3000_300.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tc_3000_300_intr_setup |
|
2 |
12 |
81 |
0 |
| switch |
|
3 |
10 |
30 |
1 |
| tc_3000_300_intr_disestablish |
|
6 |
27 |
146 |
3 |
| tc_3000_300_intrnull |
|
1 |
6 |
20 |
1 |
| tc_3000_300_iointr |
|
5 |
37 |
194 |
2 |
| tc_3000_300_fb_cnattach |
|
3 |
13 |
53 |
1 |
| Source file: ./sys/arch/alpha/tc/tc_dma_3000_500.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tc_dma_init_3000_500 |
|
2 |
14 |
83 |
1 |
| tc_dma_get_tag_3000_500 |
|
1 |
5 |
13 |
1 |
| tc_bus_dmamap_load_sgmap |
|
1 |
10 |
59 |
6 |
| tc_bus_dmamap_load_mbuf_sgmap |
|
1 |
8 |
44 |
4 |
| tc_bus_dmamap_load_uio_sgmap |
|
1 |
8 |
44 |
4 |
| tc_bus_dmamap_load_raw_sgmap |
|
1 |
10 |
57 |
6 |
| tc_bus_dmamap_unload_sgmap |
|
1 |
7 |
32 |
2 |
| Source file: ./sys/arch/alpha/tc/tc_dma_3000_300.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tc_dma_get_tag_3000_300 |
|
1 |
6 |
20 |
1 |
| Source file: ./sys/arch/alpha/tc/cfbvar.h |
| Source file: ./sys/arch/alpha/tc/tcasic.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tcasicmatch |
|
3 |
11 |
61 |
3 |
| tcasicattach |
|
7 |
54 |
288 |
3 |
| tcasicactivate |
|
3 |
9 |
39 |
2 |
| tcasicprint |
|
2 |
8 |
33 |
2 |
| tc_fb_cnattach |
|
6 |
15 |
124 |
1 |
| tc_fb_cnattach |
|
1 |
5 |
14 |
1 |
| Source file: ./sys/arch/alpha/tc/cfb.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cfbmatch |
|
2 |
10 |
55 |
3 |
| cfb_getdevconfig |
|
6 |
48 |
398 |
2 |
| cfbattach |
|
3 |
33 |
234 |
3 |
| cfbioctl |
|
17 |
46 |
332 |
5 |
| cfbmmap |
|
2 |
10 |
48 |
3 |
| cfbintr |
|
1 |
7 |
40 |
1 |
| cfb_alloc_screen |
|
2 |
19 |
118 |
6 |
| cfb_free_screen |
|
2 |
9 |
42 |
2 |
| cfb_cnattach |
|
1 |
12 |
71 |
1 |
| Source file: ./sys/arch/alpha/tc/mcclock_ioasic.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mcclock_ioasic_match |
|
2 |
9 |
52 |
3 |
| mcclock_ioasic_attach |
|
1 |
9 |
65 |
3 |
| mcclock_ioasic_write |
|
1 |
7 |
43 |
3 |
| mcclock_ioasic_read |
|
1 |
7 |
40 |
2 |
| Source file: ./sys/arch/alpha/pci/pci_alphabook1.h |
| Source file: ./sys/arch/alpha/pci/pci_1000.h |
| Source file: ./sys/arch/alpha/pci/pci_sgmap_pte64.c |
| Source file: ./sys/arch/alpha/pci/lca_dma.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| lca_dma_init |
|
2 |
71 |
414 |
1 |
| lca_dma_get_tag |
|
4 |
15 |
61 |
2 |
| lca_bus_dmamap_load_sgmap |
|
2 |
15 |
76 |
6 |
| lca_bus_dmamap_load_mbuf_sgmap |
|
2 |
12 |
61 |
4 |
| lca_bus_dmamap_load_uio_sgmap |
|
2 |
12 |
61 |
4 |
| lca_bus_dmamap_load_raw_sgmap |
|
2 |
15 |
74 |
6 |
| lca_bus_dmamap_unload_sgmap |
|
1 |
8 |
36 |
2 |
| Source file: ./sys/arch/alpha/pci/tsp_bus_io.c |
| Source file: ./sys/arch/alpha/pci/pci_2100_a50.h |
| Source file: ./sys/arch/alpha/tc/tc_bus_mem.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tc_bus_mem_init |
|
1 |
7 |
27 |
1 |
| tc_mem_map |
|
5 |
19 |
97 |
5 |
| tc_mem_unmap |
|
1 |
6 |
20 |
3 |
| tc_mem_subregion |
|
3 |
13 |
79 |
5 |
| tc_mem_alloc |
|
1 |
9 |
53 |
9 |
| tc_mem_free |
|
1 |
7 |
25 |
3 |
| tc_mem_vaddr |
|
3 |
7 |
37 |
2 |
| tc_mem_barrier |
|
3 |
11 |
58 |
5 |
| tc_mem_read_1 |
|
2 |
12 |
62 |
3 |
| tc_mem_read_2 |
|
2 |
12 |
62 |
3 |
| tc_mem_read_4 |
|
2 |
13 |
75 |
3 |
| tc_mem_read_8 |
|
2 |
12 |
62 |
3 |
| tc_mem_write_1 |
|
2 |
22 |
145 |
4 |
| tc_mem_write_2 |
|
2 |
22 |
146 |
4 |
| tc_mem_write_4 |
|
2 |
14 |
79 |
4 |
| tc_mem_write_8 |
|
2 |
13 |
66 |
4 |
| Source file: ./sys/arch/alpha/pci/pci_6600.h |
| Source file: ./sys/arch/alpha/pci/mcpciareg.h |
| Source file: ./sys/arch/alpha/pci/mcpcia.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mcpciaprint |
|
2 |
10 |
54 |
2 |
| mcpciamatch |
|
2 |
10 |
48 |
3 |
| mcpciaattach |
|
5 |
49 |
332 |
3 |
| mcpcia_init |
|
4 |
18 |
111 |
0 |
| mcpcia_init0 |
|
5 |
39 |
262 |
2 |
| mcpcia_config_cleanup |
|
4 |
20 |
113 |
0 |
| Source file: ./sys/arch/alpha/pci/irongate_bus_mem.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| irongate_bus_mem_init2 |
|
12 |
46 |
261 |
2 |
| Source file: ./sys/arch/alpha/pci/irongate_dma.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| irongate_dma_init |
|
2 |
50 |
276 |
1 |
| irongate_dma_get_tag |
|
4 |
13 |
57 |
2 |
| Source file: ./sys/arch/alpha/pci/cia.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ciamatch |
|
3 |
12 |
64 |
3 |
| cia_init |
|
18 |
65 |
401 |
2 |
| ciaattach |
|
22 |
88 |
465 |
3 |
| ciaprint |
|
2 |
10 |
54 |
2 |
| cia_pyxis_intr_enable |
|
4 |
18 |
88 |
2 |
| Source file: ./sys/arch/alpha/pci/pci_kn300.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pci_kn300_pickintr |
|
5 |
25 |
147 |
2 |
| dec_kn300_intr_map |
|
7 |
37 |
255 |
2 |
| dec_kn300_intr_string |
|
2 |
12 |
61 |
2 |
| if |
|
1 |
9 |
66 |
1 |
| dec_kn300_intr_disestablish |
|
1 |
5 |
20 |
2 |
| kn300_iointr |
|
6 |
23 |
131 |
2 |
| kn300_enable_intr |
|
1 |
8 |
39 |
2 |
| kn300_disable_intr |
|
1 |
8 |
39 |
2 |
| Source file: ./sys/arch/alpha/pci/pci_kn20aa.h |
| Source file: ./sys/arch/alpha/pci/cia_pci.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cia_pci_init |
|
1 |
13 |
63 |
2 |
| cia_attach_hook |
|
1 |
5 |
23 |
3 |
| cia_bus_maxdevs |
|
1 |
6 |
18 |
2 |
| cia_make_tag |
|
1 |
6 |
45 |
4 |
| cia_decompose_tag |
|
4 |
12 |
85 |
5 |
| cia_conf_size |
|
1 |
4 |
14 |
2 |
| cia_conf_read |
|
11 |
67 |
363 |
3 |
| cia_conf_write |
|
7 |
50 |
256 |
4 |
| Source file: ./sys/arch/alpha/pci/sioreg.h |
| Source file: ./sys/arch/alpha/pci/siovar.h |
| Source file: ./sys/arch/alpha/pci/pci_1000a.h |
| Source file: ./sys/arch/alpha/pci/tsp_bus_mem.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tsp_bus_mem_init2 |
|
5 |
23 |
168 |
1 |
| Source file: ./sys/arch/alpha/pci/tsreg.h |
| Source file: ./sys/arch/alpha/pci/tsvar.h |
| Source file: ./sys/arch/alpha/pci/irongatereg.h |
| Source file: ./sys/arch/alpha/pci/pci_up1000.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pci_up1000_pickintr |
|
2 |
17 |
85 |
1 |
| api_up1000_intr_map |
|
7 |
21 |
113 |
2 |
| api_up1000_intr_string |
|
2 |
5 |
26 |
2 |
| api_up1000_intr_line |
|
1 |
4 |
19 |
2 |
| api_up1000_intr_establish |
|
2 |
7 |
58 |
6 |
| api_up1000_intr_disestablish |
|
2 |
5 |
26 |
2 |
| api_up1000_pciide_compat_intr_establish |
|
4 |
16 |
124 |
6 |
| api_up1000_pciide_compat_intr_disestablish |
|
1 |
4 |
19 |
2 |
| Source file: ./sys/arch/alpha/pci/pci_alphabook1.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pci_alphabook1_pickintr |
|
3 |
21 |
125 |
1 |
| dec_alphabook1_intr_map |
|
6 |
25 |
132 |
2 |
| dec_alphabook1_intr_string |
|
1 |
4 |
19 |
2 |
| dec_alphabook1_intr_line |
|
1 |
4 |
19 |
2 |
| dec_alphabook1_intr_establish |
|
1 |
6 |
51 |
6 |
| dec_alphabook1_intr_disestablish |
|
1 |
4 |
19 |
2 |
| Source file: ./sys/arch/alpha/pci/lca_bus_mem.c |
| Source file: ./sys/arch/alpha/pci/pci_axppci_33.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pci_axppci_33_pickintr |
|
3 |
23 |
133 |
1 |
| dec_axppci_33_intr_map |
|
20 |
81 |
332 |
2 |
| dec_axppci_33_intr_string |
|
1 |
6 |
23 |
2 |
| dec_axppci_33_intr_line |
|
1 |
6 |
23 |
2 |
| dec_axppci_33_intr_disestablish |
|
1 |
5 |
22 |
2 |
| Source file: ./sys/arch/alpha/pci/pciide_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pciide_machdep_compat_intr_disestablish |
|
1 |
6 |
22 |
2 |
| Source file: ./sys/arch/alpha/pci/pci_550.h |
| Source file: ./sys/arch/alpha/pci/pci_550.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pci_550_pickintr |
|
5 |
27 |
147 |
1 |
| dec_550_intr_map |
|
15 |
43 |
238 |
2 |
| dec_550_intr_string |
|
5 |
14 |
79 |
2 |
| dec_550_intr_line |
|
3 |
8 |
40 |
2 |
| if |
|
1 |
5 |
34 |
1 |
| dec_550_intr_disestablish |
|
4 |
21 |
116 |
2 |
| dec_550_pciide_compat_intr_disestablish |
|
1 |
6 |
23 |
2 |
| dec_550_iointr |
|
4 |
16 |
84 |
2 |
| dec_550_intr_enable |
|
1 |
5 |
18 |
1 |
| dec_550_intr_disable |
|
1 |
5 |
18 |
1 |
| Source file: ./sys/arch/alpha/pci/sio_pic.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| i82378_setup_elcr |
|
4 |
22 |
136 |
0 |
| i82378_read_elcr |
|
1 |
5 |
21 |
1 |
| i82378_write_elcr |
|
1 |
6 |
25 |
2 |
| cy82c693_setup_elcr |
|
3 |
19 |
102 |
0 |
| cy82c693_read_elcr |
|
1 |
5 |
21 |
1 |
| cy82c693_write_elcr |
|
1 |
6 |
25 |
2 |
| sio_setirqstat |
|
6 |
31 |
259 |
3 |
| sio_intr_setup |
|
16 |
51 |
313 |
2 |
| sio_intr_shutdown |
|
3 |
9 |
67 |
0 |
| sio_intr_string |
|
4 |
10 |
60 |
2 |
| sio_intr_line |
|
1 |
6 |
20 |
2 |
| if |
|
1 |
6 |
43 |
1 |
| sio_intr_disestablish |
|
7 |
27 |
132 |
2 |
| sio_iointr |
|
5 |
14 |
77 |
2 |
| sio_intr_alloc |
|
14 |
44 |
308 |
4 |
| sio_intr_check |
|
11 |
19 |
101 |
3 |
| specific_eoi |
|
2 |
10 |
51 |
1 |
| Source file: ./sys/arch/alpha/pci/apecs_bus_io.c |
| Source file: ./sys/arch/alpha/pci/tsc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tscmatch |
|
4 |
14 |
64 |
3 |
| tscattach |
|
9 |
44 |
336 |
3 |
| tscprint |
|
3 |
11 |
59 |
2 |
| tspmatch |
|
3 |
14 |
61 |
3 |
| tspattach |
|
2 |
25 |
166 |
3 |
| tsp_init |
|
7 |
45 |
298 |
2 |
| tspprint |
|
2 |
10 |
52 |
2 |
| tsp_bus_get_window |
|
4 |
24 |
121 |
3 |
| Source file: ./sys/arch/alpha/pci/irongate_pci.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| irongate_pci_init |
|
1 |
11 |
59 |
2 |
| irongate_attach_hook |
|
1 |
4 |
19 |
3 |
| irongate_bus_maxdevs |
|
1 |
4 |
14 |
2 |
| irongate_make_tag |
|
1 |
4 |
39 |
4 |
| irongate_decompose_tag |
|
4 |
9 |
77 |
5 |
| irongate_conf_size |
|
1 |
4 |
14 |
2 |
| irongate_conf_read |
|
2 |
8 |
58 |
3 |
| irongate_conf_read0 |
|
1 |
13 |
74 |
3 |
| irongate_conf_write |
|
1 |
12 |
73 |
4 |
| Source file: ./sys/arch/alpha/pci/cia_bwx_bus_io.c |
| Source file: ./sys/arch/alpha/pci/apecsvar.h |
| Source file: ./sys/arch/alpha/pci/ciavar.h |
| Source file: ./sys/arch/alpha/pci/irongate_bus_io.c |
| Source file: ./sys/arch/alpha/pci/mcpcia_dma.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mcpcia_dma_init |
|
1 |
110 |
701 |
1 |
| mcpcia_dma_get_tag |
|
4 |
15 |
61 |
2 |
| mcpcia_bus_dmamap_load_sgmap |
|
2 |
16 |
86 |
6 |
| mcpcia_bus_dmamap_load_mbuf_sgmap |
|
2 |
13 |
71 |
4 |
| mcpcia_bus_dmamap_load_uio_sgmap |
|
2 |
13 |
71 |
4 |
| mcpcia_bus_dmamap_load_raw_sgmap |
|
2 |
16 |
84 |
6 |
| mcpcia_bus_dmamap_unload_sgmap |
|
1 |
9 |
46 |
2 |
| Source file: ./sys/arch/alpha/alpha/pmap.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pmap_bootstrap |
|
15 |
92 |
814 |
3 |
| pmap_uses_prom_console |
|
4 |
7 |
28 |
1 |
| pmap_steal_memory |
|
14 |
44 |
321 |
3 |
| pmap_init |
|
5 |
17 |
115 |
1 |
| pmap_create |
|
6 |
26 |
167 |
1 |
| pmap_destroy |
|
4 |
16 |
88 |
1 |
| pmap_reference |
|
3 |
6 |
28 |
1 |
| pmap_remove |
|
3 |
6 |
47 |
3 |
| pmap_do_remove |
|
25 |
76 |
447 |
4 |
| pmap_page_protect |
|
20 |
67 |
461 |
2 |
| pmap_protect |
|
15 |
49 |
326 |
4 |
| pmap_enter |
|
50 |
150 |
897 |
5 |
| pmap_kenter_pa |
|
11 |
29 |
211 |
3 |
| pmap_kremove |
|
12 |
32 |
190 |
2 |
| pmap_unwire |
|
8 |
19 |
110 |
2 |
| pmap_extract |
|
13 |
47 |
267 |
3 |
| pmap_collect |
|
4 |
8 |
41 |
1 |
| pmap_activate |
|
3 |
10 |
73 |
1 |
| pmap_deactivate |
|
3 |
7 |
52 |
1 |
| pmap_zero_page |
|
4 |
37 |
128 |
1 |
| pmap_copy_page |
|
3 |
11 |
79 |
2 |
| pmap_clear_modify |
|
4 |
15 |
94 |
1 |
| pmap_clear_reference |
|
4 |
15 |
98 |
1 |
| pmap_is_referenced |
|
3 |
9 |
53 |
1 |
| pmap_is_modified |
|
3 |
9 |
53 |
1 |
| alpha_protection_init |
|
5 |
25 |
151 |
1 |
| pmap_remove_mapping |
|
13 |
49 |
316 |
5 |
| pmap_changebit |
|
6 |
27 |
183 |
4 |
| pmap_emulate_reference |
|
31 |
90 |
520 |
4 |
| pmap_pv_dump |
|
2 |
13 |
93 |
1 |
| vtophys |
|
5 |
16 |
87 |
1 |
| pmap_pv_enter |
|
8 |
27 |
168 |
5 |
| pmap_pv_remove |
|
8 |
16 |
123 |
4 |
| pmap_pv_page_alloc |
|
2 |
8 |
51 |
3 |
| pmap_pv_page_free |
|
1 |
4 |
24 |
2 |
| pmap_physpage_alloc |
|
5 |
18 |
97 |
2 |
| pmap_physpage_free |
|
4 |
9 |
48 |
1 |
| pmap_physpage_addref |
|
1 |
10 |
51 |
1 |
| pmap_physpage_delref |
|
3 |
12 |
64 |
1 |
| pmap_growkernel |
|
11 |
56 |
357 |
1 |
| pmap_lev1map_create |
|
2 |
12 |
74 |
2 |
| pmap_lev1map_destroy |
|
1 |
7 |
38 |
1 |
| pmap_l1pt_ctor |
|
3 |
13 |
102 |
1 |
| pmap_l1pt_alloc |
|
2 |
8 |
53 |
3 |
| pmap_l1pt_free |
|
1 |
4 |
24 |
2 |
| pmap_ptpage_alloc |
|
3 |
10 |
76 |
3 |
| pmap_ptpage_free |
|
2 |
8 |
41 |
2 |
| pmap_l3pt_delref |
|
6 |
22 |
157 |
4 |
| pmap_l2pt_delref |
|
4 |
11 |
66 |
3 |
| pmap_l1pt_delref |
|
1 |
5 |
25 |
2 |
| pmap_asn_alloc |
|
21 |
47 |
266 |
2 |
| pmap_tlb_shootdown |
|
7 |
38 |
215 |
4 |
| pmap_tlb_shootnow |
|
1 |
4 |
14 |
1 |
| pmap_do_tlb_shootdown |
|
5 |
27 |
173 |
2 |
| pmap_tlb_shootdown_q_drain |
|
2 |
8 |
51 |
1 |
| pmap_tlb_shootdown_job_get |
|
2 |
8 |
47 |
1 |
| pmap_tlb_shootdown_job_put |
|
1 |
5 |
26 |
2 |
| Source file: ./sys/arch/alpha/pci/mcpcia_pci.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mcpcia_pci_init |
|
1 |
13 |
63 |
2 |
| mcpcia_attach_hook |
|
1 |
5 |
23 |
3 |
| mcpcia_bus_maxdevs |
|
1 |
6 |
20 |
2 |
| mcpcia_make_tag |
|
1 |
8 |
54 |
4 |
| mcpcia_decompose_tag |
|
4 |
12 |
85 |
5 |
| mcpcia_conf_size |
|
1 |
4 |
14 |
2 |
| mcpcia_conf_read |
|
5 |
24 |
168 |
3 |
| mcpcia_conf_write |
|
4 |
22 |
140 |
4 |
| Source file: ./sys/arch/alpha/pci/pci_1000.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pci_1000_pickintr |
|
4 |
26 |
142 |
4 |
| dec_1000_intr_map |
|
10 |
34 |
184 |
2 |
| dec_1000_intr_string |
|
2 |
11 |
62 |
2 |
| dec_1000_intr_line |
|
2 |
7 |
28 |
2 |
| if |
|
1 |
5 |
34 |
1 |
| dec_1000_intr_disestablish |
|
2 |
16 |
88 |
2 |
| dec_1000_iointr |
|
3 |
14 |
71 |
2 |
| dec_1000_enable_intr |
|
1 |
5 |
21 |
1 |
| dec_1000_disable_intr |
|
1 |
5 |
23 |
1 |
| pci_1000_imi |
|
1 |
4 |
10 |
0 |
| Source file: ./sys/arch/alpha/pci/pci_sgmap_pte64.h |
| Source file: ./sys/arch/alpha/pci/lca.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| lcamatch |
|
3 |
12 |
64 |
3 |
| lca_init |
|
3 |
25 |
148 |
2 |
| lcaattach |
|
8 |
38 |
201 |
3 |
| lcaprint |
|
2 |
10 |
54 |
2 |
| lca_bus_get_window |
|
3 |
18 |
80 |
3 |
| lca_machine_check |
|
1 |
8 |
49 |
4 |
| Source file: ./sys/arch/alpha/pci/mcpciavar.h |
| Source file: ./sys/arch/alpha/pci/pci_kn20aa.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pci_kn20aa_pickintr |
|
3 |
21 |
119 |
1 |
| dec_kn20aa_intr_map |
|
11 |
51 |
248 |
2 |
| dec_kn20aa_intr_string |
|
2 |
10 |
52 |
2 |
| dec_kn20aa_intr_line |
|
1 |
6 |
20 |
2 |
| if |
|
1 |
5 |
34 |
1 |
| dec_kn20aa_intr_disestablish |
|
2 |
16 |
88 |
2 |
| kn20aa_iointr |
|
3 |
14 |
71 |
2 |
| kn20aa_enable_intr |
|
1 |
7 |
31 |
1 |
| kn20aa_disable_intr |
|
1 |
7 |
31 |
1 |
| Source file: ./sys/arch/alpha/pci/pci_6600.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pci_6600_pickintr |
|
5 |
29 |
146 |
1 |
| dec_6600_intr_map |
|
7 |
27 |
142 |
2 |
| dec_6600_intr_string |
|
3 |
12 |
69 |
2 |
| dec_6600_intr_line |
|
3 |
9 |
40 |
2 |
| if |
|
1 |
5 |
34 |
1 |
| dec_6600_intr_disestablish |
|
4 |
20 |
109 |
2 |
| dec_6600_iointr |
|
4 |
15 |
84 |
2 |
| dec_6600_intr_enable |
|
1 |
7 |
27 |
1 |
| dec_6600_intr_disable |
|
1 |
7 |
29 |
1 |
| dec_6600_pciide_compat_intr_disestablish |
|
1 |
6 |
23 |
2 |
| Source file: ./sys/arch/alpha/pci/mcpcia_bus_io.c |
| Source file: ./sys/arch/alpha/pci/pci_eb164.h |
| Source file: ./sys/arch/alpha/pci/tsp_dma.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tsp_dma_init |
|
13 |
93 |
740 |
2 |
| tsp_dma_get_tag |
|
4 |
15 |
61 |
2 |
| tsp_bus_dmamap_load_sgmap |
|
2 |
15 |
79 |
6 |
| tsp_bus_dmamap_load_mbuf_sgmap |
|
2 |
12 |
64 |
4 |
| tsp_bus_dmamap_load_uio_sgmap |
|
2 |
12 |
64 |
4 |
| tsp_bus_dmamap_load_raw_sgmap |
|
2 |
15 |
77 |
6 |
| tsp_bus_dmamap_unload_sgmap |
|
1 |
8 |
39 |
2 |
| tsp_tlb_invalidate |
|
1 |
7 |
26 |
1 |
| Source file: ./sys/arch/alpha/pci/cia_dma.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cia_dma_init |
|
6 |
95 |
553 |
1 |
| cia_dma_get_tag |
|
4 |
15 |
61 |
2 |
| cia_bus_dmamap_create_direct |
|
5 |
28 |
144 |
7 |
| cia_bus_dmamap_destroy_direct |
|
1 |
7 |
26 |
2 |
| cia_bus_dmamap_load_sgmap |
|
2 |
15 |
76 |
6 |
| cia_bus_dmamap_load_mbuf_sgmap |
|
2 |
12 |
61 |
4 |
| cia_bus_dmamap_load_uio_sgmap |
|
2 |
12 |
61 |
4 |
| cia_bus_dmamap_load_raw_sgmap |
|
2 |
15 |
74 |
6 |
| cia_bus_dmamap_unload_sgmap |
|
1 |
8 |
36 |
2 |
| cia_tlb_invalidate |
|
1 |
6 |
20 |
0 |
| cia_broken_pyxis_tlb_invalidate |
|
2 |
20 |
107 |
0 |
| Source file: ./sys/arch/alpha/pci/apecsreg.h |
| Source file: ./sys/arch/alpha/pci/pci_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pci_display_console |
|
9 |
35 |
212 |
6 |
| alpha_sysctl_chipset |
|
9 |
29 |
171 |
4 |
| pci_intr_map |
|
4 |
8 |
61 |
2 |
| Source file: ./sys/arch/alpha/pci/irongate.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| irongate_init |
|
3 |
23 |
155 |
2 |
| irongate_match |
|
3 |
9 |
58 |
3 |
| irongate_attach |
|
4 |
30 |
185 |
3 |
| irongate_print |
|
2 |
8 |
51 |
2 |
| irongate_bus_get_window |
|
4 |
23 |
113 |
3 |
| Source file: ./sys/arch/alpha/pci/tsciic.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tsciic_match |
|
1 |
5 |
43 |
3 |
| tsciic_attach |
|
1 |
19 |
149 |
3 |
| tsciic_acquire_bus |
|
3 |
7 |
44 |
2 |
| tsciic_release_bus |
|
3 |
7 |
38 |
2 |
| tsciic_send_start |
|
1 |
4 |
22 |
2 |
| tsciic_send_stop |
|
1 |
4 |
22 |
2 |
| tsciic_initiate_xfer |
|
1 |
4 |
27 |
3 |
| tsciic_read_byte |
|
1 |
4 |
28 |
3 |
| tsciic_write_byte |
|
1 |
4 |
27 |
3 |
| tsciicbb_set_bits |
|
3 |
9 |
51 |
2 |
| tsciicbb_set_dir |
|
1 |
3 |
11 |
2 |
| tsciicbb_read |
|
3 |
9 |
46 |
1 |
| Source file: ./sys/arch/alpha/pci/apecs_dma.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| apecs_dma_init |
|
2 |
68 |
389 |
1 |
| apecs_dma_get_tag |
|
4 |
15 |
61 |
2 |
| apecs_bus_dmamap_load_sgmap |
|
2 |
15 |
76 |
6 |
| apecs_bus_dmamap_load_mbuf_sgmap |
|
2 |
12 |
61 |
4 |
| apecs_bus_dmamap_load_uio_sgmap |
|
2 |
12 |
61 |
4 |
| apecs_bus_dmamap_load_raw_sgmap |
|
2 |
15 |
74 |
6 |
| apecs_bus_dmamap_unload_sgmap |
|
1 |
8 |
36 |
2 |
| Source file: ./sys/arch/alpha/pci/pci_bwx_bus_mem_chipdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __C( CHIP , _bus_mem_init) |
|
1 |
61 |
607 |
2 |
| __C( CHIP , _mem_map) |
|
5 |
20 |
117 |
5 |
| __C( CHIP , _mem_unmap) |
|
6 |
19 |
125 |
3 |
| __C( CHIP , _mem_subregion) |
|
1 |
8 |
40 |
5 |
| __C( CHIP , _mem_alloc) |
|
6 |
24 |
159 |
9 |
| __C( CHIP , _mem_free) |
|
1 |
7 |
33 |
3 |
| __C( CHIP , _mem_vaddr) |
|
1 |
6 |
23 |
2 |
| __C( CHIP , _mem_barrier) |
|
3 |
11 |
57 |
5 |
| __C( CHIP , _mem_read_1) |
|
1 |
10 |
44 |
3 |
| __C( CHIP , _mem_read_2) |
|
3 |
13 |
66 |
3 |
| __C( CHIP , _mem_read_4) |
|
3 |
13 |
64 |
3 |
| __C( CHIP , _mem_read_8) |
|
1 |
8 |
38 |
3 |
| __C( CHIP , _mem_write_1) |
|
1 |
11 |
48 |
4 |
| __C( CHIP , _mem_write_2) |
|
3 |
14 |
70 |
4 |
| __C( CHIP , _mem_write_4) |
|
3 |
14 |
68 |
4 |
| __C( CHIP , _mem_write_8) |
|
1 |
9 |
43 |
4 |
| Source file: ./sys/arch/alpha/pci/pci_machdep.h |
| Source file: ./sys/arch/alpha/pci/lcavar.h |
| Source file: ./sys/arch/alpha/pci/lca_pci.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| lca_pci_init |
|
1 |
13 |
63 |
2 |
| lca_attach_hook |
|
1 |
5 |
23 |
3 |
| lca_bus_maxdevs |
|
2 |
9 |
28 |
2 |
| lca_make_tag |
|
1 |
6 |
45 |
4 |
| lca_decompose_tag |
|
4 |
12 |
85 |
5 |
| lca_conf_size |
|
1 |
4 |
14 |
2 |
| lca_conf_read |
|
7 |
45 |
275 |
3 |
| lca_conf_write |
|
4 |
34 |
193 |
4 |
| Source file: ./sys/arch/alpha/pci/lcareg.h |
| Source file: ./sys/arch/alpha/pci/pci_bwx_bus_io_chipdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __C( CHIP , _bus_io_init) |
|
1 |
60 |
607 |
2 |
| __C( CHIP , _io_map) |
|
6 |
21 |
128 |
5 |
| __C( CHIP , _io_unmap) |
|
6 |
19 |
125 |
3 |
| __C( CHIP , _io_subregion) |
|
1 |
8 |
40 |
5 |
| __C( CHIP , _io_alloc) |
|
1 |
10 |
62 |
9 |
| __C( CHIP , _io_free) |
|
1 |
7 |
34 |
3 |
| __C( CHIP , _io_vaddr) |
|
1 |
6 |
19 |
2 |
| __C( CHIP , _io_barrier) |
|
3 |
11 |
57 |
5 |
| __C( CHIP , _io_read_1) |
|
1 |
10 |
44 |
3 |
| __C( CHIP , _io_read_2) |
|
3 |
13 |
66 |
3 |
| __C( CHIP , _io_read_4) |
|
3 |
13 |
64 |
3 |
| __C( CHIP , _io_read_8) |
|
1 |
7 |
34 |
3 |
| __C( CHIP , _io_write_1) |
|
1 |
11 |
48 |
4 |
| __C( CHIP , _io_write_2) |
|
3 |
14 |
70 |
4 |
| __C( CHIP , _io_write_4) |
|
3 |
14 |
68 |
4 |
| __C( CHIP , _io_write_8) |
|
1 |
9 |
43 |
4 |
| Source file: ./sys/arch/alpha/pci/tsp_pci.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tsp_pci_init |
|
1 |
13 |
63 |
2 |
| tsp_attach_hook |
|
1 |
5 |
23 |
3 |
| tsp_bus_maxdevs |
|
1 |
6 |
18 |
2 |
| tsp_make_tag |
|
1 |
6 |
39 |
4 |
| tsp_decompose_tag |
|
4 |
12 |
85 |
5 |
| tsp_conf_size |
|
1 |
4 |
14 |
2 |
| tsp_conf_read |
|
1 |
13 |
68 |
3 |
| tsp_conf_write |
|
1 |
13 |
68 |
4 |
| Source file: ./sys/arch/alpha/pci/cia_bwx_bus_mem.c |
| Source file: ./sys/arch/alpha/pci/pci_eb64plus.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pci_eb64plus_pickintr |
|
5 |
25 |
149 |
1 |
| dec_eb64plus_intr_map |
|
5 |
19 |
100 |
2 |
| dec_eb64plus_intr_string |
|
2 |
10 |
52 |
2 |
| if |
|
1 |
5 |
34 |
1 |
| dec_eb64plus_intr_disestablish |
|
2 |
16 |
88 |
2 |
| eb64plus_iointr |
|
3 |
14 |
71 |
2 |
| eb64plus_intr_enable |
|
2 |
9 |
63 |
1 |
| eb64plus_intr_disable |
|
2 |
9 |
63 |
1 |
| Source file: ./sys/arch/alpha/pci/apecs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| apecsmatch |
|
3 |
12 |
64 |
3 |
| apecs_init |
|
4 |
30 |
195 |
2 |
| apecsattach |
|
14 |
49 |
295 |
3 |
| apecsprint |
|
2 |
10 |
54 |
2 |
| apecs_bus_get_window |
|
3 |
18 |
80 |
3 |
| Source file: ./sys/arch/alpha/pci/pci_up1000.h |
| Source file: ./sys/arch/alpha/pci/pci_eb64plus.h |
| Source file: ./sys/arch/alpha/pci/pci_eb164.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pci_eb164_pickintr |
|
6 |
30 |
176 |
1 |
| dec_eb164_intr_map |
|
15 |
40 |
216 |
2 |
| dec_eb164_intr_string |
|
3 |
11 |
59 |
2 |
| dec_eb164_intr_line |
|
1 |
6 |
20 |
2 |
| if |
|
1 |
5 |
34 |
1 |
| dec_eb164_intr_disestablish |
|
3 |
17 |
95 |
2 |
| dec_eb164_pciide_compat_intr_disestablish |
|
1 |
4 |
19 |
2 |
| eb164_iointr |
|
3 |
14 |
71 |
2 |
| eb164_intr_enable |
|
2 |
9 |
63 |
1 |
| eb164_intr_disable |
|
2 |
9 |
63 |
1 |
| Source file: ./sys/arch/alpha/pci/lca_bus_io.c |
| Source file: ./sys/arch/alpha/pci/pci_axppci_33.h |
| Source file: ./sys/arch/alpha/pci/pci_kn300.h |
| Source file: ./sys/arch/alpha/pci/cia_bus_mem.c |
| Source file: ./sys/arch/alpha/pci/apecs_bus_mem.c |
| Source file: ./sys/arch/alpha/pci/ciareg.h |
| Source file: ./sys/arch/alpha/pci/mcpcia_bus_mem.c |
| Source file: ./sys/arch/alpha/pci/pci_swiz_bus_mem_chipdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __C( CHIP , _bus_mem_init) |
|
16 |
101 |
911 |
2 |
| __C( CHIP , _xlate_addr_to_dense_handle) |
|
4 |
13 |
69 |
3 |
| __C( CHIP , _xlate_dense_handle_to_addr) |
|
4 |
14 |
73 |
3 |
| __C( CHIP , _xlate_addr_to_sparse_handle) |
|
10 |
28 |
172 |
3 |
| __C( CHIP , _xlate_sparse_handle_to_addr) |
|
10 |
26 |
206 |
3 |
| __C( CHIP , _mem_map) |
|
38 |
78 |
613 |
5 |
| __C( CHIP , _mem_unmap) |
|
16 |
42 |
300 |
3 |
| __C( CHIP , _mem_subregion) |
|
1 |
8 |
40 |
5 |
| __C( CHIP , _mem_alloc) |
|
1 |
10 |
62 |
9 |
| __C( CHIP , _mem_free) |
|
1 |
7 |
34 |
3 |
| __C( CHIP , _mem_vaddr) |
|
2 |
8 |
39 |
2 |
| __C( CHIP , _mem_barrier) |
|
3 |
11 |
57 |
5 |
| __C( CHIP , _mem_read_1) |
|
2 |
19 |
126 |
3 |
| __C( CHIP , _mem_read_2) |
|
2 |
19 |
126 |
3 |
| __C( CHIP , _mem_read_4) |
|
3 |
20 |
130 |
3 |
| __C( CHIP , _mem_read_8) |
|
2 |
10 |
63 |
3 |
| __C( CHIP , _mem_write_1) |
|
2 |
20 |
122 |
4 |
| __C( CHIP , _mem_write_2) |
|
2 |
20 |
122 |
4 |
| __C( CHIP , _mem_write_4) |
|
2 |
20 |
115 |
4 |
| __C( CHIP , _mem_write_8) |
|
2 |
14 |
72 |
4 |
| Source file: ./sys/arch/alpha/pci/irongatevar.h |
| Source file: ./sys/arch/alpha/pci/cia_bus_io.c |
| Source file: ./sys/arch/alpha/pci/apecs_pci.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| apecs_pci_init |
|
1 |
13 |
63 |
2 |
| apecs_attach_hook |
|
1 |
5 |
23 |
3 |
| apecs_bus_maxdevs |
|
1 |
6 |
18 |
2 |
| apecs_make_tag |
|
1 |
6 |
45 |
4 |
| apecs_decompose_tag |
|
4 |
12 |
85 |
5 |
| apecs_conf_size |
|
1 |
4 |
14 |
2 |
| apecs_conf_read |
|
6 |
37 |
216 |
3 |
| apecs_conf_write |
|
4 |
38 |
196 |
4 |
| Source file: ./sys/arch/alpha/pci/sio.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| siomatch |
|
10 |
21 |
141 |
3 |
| pcebmatch |
|
3 |
11 |
60 |
3 |
| sioattach |
|
2 |
14 |
101 |
3 |
| sioactivate |
|
2 |
14 |
59 |
2 |
| sio_bridge_callback |
|
3 |
35 |
277 |
1 |
| sioprint |
|
2 |
9 |
45 |
2 |
| sio_isa_attach_hook |
|
1 |
5 |
23 |
3 |
| sio_eisa_attach_hook |
|
2 |
6 |
30 |
3 |
| sio_eisa_intr_map |
|
3 |
17 |
70 |
3 |
| Source file: ./sys/arch/amd64/isa/nvram.h |
| Source file: ./sys/arch/alpha/pci/pci_2100_a50.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pci_2100_a50_pickintr |
|
3 |
22 |
133 |
1 |
| dec_2100_a50_intr_map |
|
21 |
84 |
350 |
2 |
| dec_2100_a50_intr_string |
|
1 |
6 |
23 |
2 |
| dec_2100_a50_intr_line |
|
1 |
6 |
23 |
2 |
| dec_2100_a50_intr_disestablish |
|
1 |
5 |
22 |
2 |
| Source file: ./sys/arch/alpha/pci/pci_1000a.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pci_1000a_pickintr |
|
5 |
26 |
158 |
4 |
| dec_1000a_intr_map |
|
11 |
64 |
374 |
2 |
| dec_1000a_intr_string |
|
2 |
11 |
62 |
2 |
| dec_1000a_intr_line |
|
2 |
7 |
28 |
2 |
| if |
|
1 |
5 |
34 |
1 |
| dec_1000a_intr_disestablish |
|
2 |
16 |
88 |
2 |
| dec_1000a_iointr |
|
3 |
14 |
71 |
2 |
| dec_1000a_enable_intr |
|
1 |
7 |
43 |
1 |
| dec_1000a_disable_intr |
|
1 |
7 |
45 |
1 |
| pci_1000a_imi |
|
1 |
5 |
29 |
0 |
| Source file: ./sys/arch/amd64/include/codepatch.h |
| Source file: ./sys/arch/amd64/include/disklabel.h |
| Source file: ./sys/arch/amd64/include/apmvar.h |
| Source file: ./sys/arch/amd64/include/kcore.h |
| Source file: ./sys/arch/amd64/include/mpbiosvar.h |
| Source file: ./sys/arch/amd64/include/profile.h |
| Source file: ./sys/arch/amd64/include/vmparam.h |
| Source file: ./sys/arch/amd64/isa/isa_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| isa_strayintr |
|
3 |
6 |
37 |
1 |
| fakeintr |
|
1 |
4 |
11 |
1 |
| isa_intr_alloc |
|
14 |
39 |
230 |
4 |
| isa_intr_check |
|
9 |
20 |
95 |
3 |
| isa_intr_establish |
|
6 |
22 |
146 |
7 |
| isa_intr_disestablish |
|
1 |
5 |
18 |
2 |
| isa_attach_hook |
|
2 |
8 |
36 |
3 |
| _isa_bus_dmamap_create |
|
10 |
43 |
276 |
7 |
| _isa_bus_dmamap_destroy |
|
2 |
8 |
50 |
2 |
| _isa_bus_dmamap_load |
|
7 |
32 |
219 |
6 |
| _isa_bus_dmamap_load_mbuf |
|
1 |
5 |
23 |
4 |
| _isa_bus_dmamap_load_uio |
|
1 |
5 |
23 |
4 |
| _isa_bus_dmamap_load_raw |
|
1 |
5 |
28 |
6 |
| _isa_bus_dmamap_unload |
|
3 |
9 |
59 |
2 |
| _isa_bus_dmamap_sync |
|
13 |
25 |
188 |
5 |
| _isa_bus_dmamem_alloc |
|
2 |
13 |
105 |
8 |
| _isa_dma_check_buffer |
|
9 |
35 |
195 |
5 |
| _isa_dma_alloc_bouncebuf |
|
3 |
27 |
164 |
4 |
| _isa_dma_free_bouncebuf |
|
1 |
12 |
68 |
2 |
| Source file: ./sys/arch/amd64/include/pmap.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pmap_remove_all |
|
1 |
3 |
9 |
1 |
| pmap_update_pg |
|
1 |
4 |
12 |
1 |
| pmap_update_2pg |
|
1 |
5 |
20 |
2 |
| pmap_page_protect |
|
3 |
10 |
54 |
2 |
| pmap_protect |
|
3 |
10 |
65 |
4 |
| vtopte |
|
1 |
4 |
17 |
1 |
| kvtopte |
|
3 |
10 |
48 |
1 |
| Source file: ./sys/arch/amd64/include/gdt.h |
| Source file: ./sys/arch/amd64/isa/clock.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mc146818_read |
|
1 |
6 |
33 |
2 |
| mc146818_write |
|
1 |
7 |
40 |
3 |
| startclocks |
|
1 |
7 |
29 |
1 |
| clockintr |
|
3 |
14 |
54 |
1 |
| rtcintr |
|
2 |
10 |
47 |
1 |
| gettick |
|
1 |
14 |
82 |
1 |
| i8254_delay |
|
5 |
36 |
257 |
1 |
| rtcdrain |
|
3 |
8 |
43 |
1 |
| i8254_initclocks |
|
1 |
11 |
56 |
1 |
| rtcstart |
|
1 |
8 |
56 |
1 |
| rtcstop |
|
1 |
4 |
15 |
1 |
| rtcget |
|
2 |
7 |
41 |
1 |
| rtcput |
|
1 |
4 |
15 |
1 |
| bcdtobin |
|
1 |
4 |
29 |
1 |
| bintobcd |
|
1 |
4 |
38 |
1 |
| cmoscheck |
|
2 |
9 |
61 |
1 |
| clock_expandyear |
|
12 |
32 |
188 |
1 |
| inittodr |
|
8 |
46 |
304 |
1 |
| resettodr |
|
6 |
32 |
252 |
1 |
| setstatclockrate |
|
3 |
11 |
44 |
1 |
| i8254_inittimecounter |
|
1 |
4 |
12 |
1 |
| i8254_inittimecounter_simple |
|
1 |
11 |
50 |
1 |
| i8254_startclock |
|
1 |
7 |
47 |
1 |
| i8254_simple_get_timecount |
|
1 |
4 |
18 |
1 |
| i8254_get_timecount |
|
2 |
20 |
108 |
1 |
| Source file: ./sys/arch/amd64/include/_float.h |
| Source file: ./sys/arch/amd64/include/exec.h |
| Source file: ./sys/arch/amd64/include/tcb.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __amd64_read_tcb |
|
1 |
6 |
29 |
1 |
| Source file: ./sys/arch/amd64/include/i8259.h |
| Source file: ./sys/arch/amd64/include/hibernate.h |
| Source file: ./sys/arch/amd64/include/stdarg.h |
| Source file: ./sys/arch/amd64/include/pte.h |
| Source file: ./sys/arch/amd64/include/ieee.h |
| Source file: ./sys/arch/amd64/include/loadfile_machdep.h |
| Source file: ./sys/arch/amd64/include/ieeefp.h |
| Source file: ./sys/arch/amd64/include/cpuvar.h |
| Source file: ./sys/arch/amd64/include/fenv.h |
| Source file: ./sys/arch/amd64/include/mutex.h |
| Source file: ./sys/arch/amd64/include/_types.h |
| Source file: ./sys/arch/amd64/include/biosvar.h |
| Source file: ./sys/arch/amd64/include/ioctl_fd.h |
| Source file: ./sys/arch/amd64/include/cdefs.h |
| Source file: ./sys/arch/amd64/include/rbus_machdep.h |
| Source file: ./sys/arch/amd64/include/frameasm.h |
| Source file: ./sys/arch/amd64/include/endian.h |
| Source file: ./sys/arch/amd64/include/cpu.h |
| Source file: ./sys/arch/amd64/include/apicvar.h |
| Source file: ./sys/arch/amd64/include/frame.h |
| Source file: ./sys/arch/amd64/include/pic.h |
| Source file: ./sys/arch/alpha/pci/pci_swiz_bus_io_chipdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __C( CHIP , _bus_io_init) |
|
6 |
70 |
699 |
2 |
| __C( CHIP , _io_map) |
|
15 |
43 |
293 |
5 |
| __C( CHIP , _io_unmap) |
|
14 |
40 |
305 |
3 |
| __C( CHIP , _io_subregion) |
|
1 |
8 |
40 |
5 |
| __C( CHIP , _io_alloc) |
|
1 |
10 |
62 |
9 |
| __C( CHIP , _io_free) |
|
1 |
7 |
34 |
3 |
| __C( CHIP , _io_vaddr) |
|
1 |
6 |
19 |
2 |
| __C( CHIP , _io_barrier) |
|
3 |
11 |
57 |
5 |
| __C( CHIP , _io_read_1) |
|
1 |
17 |
101 |
3 |
| __C( CHIP , _io_read_2) |
|
1 |
17 |
101 |
3 |
| __C( CHIP , _io_read_4) |
|
2 |
18 |
105 |
3 |
| __C( CHIP , _io_read_8) |
|
1 |
7 |
34 |
3 |
| __C( CHIP , _io_write_1) |
|
1 |
16 |
93 |
4 |
| __C( CHIP , _io_write_2) |
|
1 |
16 |
93 |
4 |
| __C( CHIP , _io_write_4) |
|
1 |
16 |
86 |
4 |
| __C( CHIP , _io_write_8) |
|
1 |
9 |
43 |
4 |
| Source file: ./sys/arch/amd64/include/cpufunc.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| invlpg |
|
1 |
4 |
21 |
1 |
| lidt |
|
1 |
4 |
22 |
1 |
| lldt |
|
1 |
4 |
19 |
1 |
| ltr |
|
1 |
4 |
19 |
1 |
| lcr8 |
|
1 |
5 |
24 |
1 |
| lcr0 |
|
1 |
5 |
24 |
1 |
| rcr0 |
|
1 |
8 |
30 |
1 |
| rcr2 |
|
1 |
6 |
23 |
1 |
| lcr3 |
|
1 |
4 |
19 |
1 |
| rcr3 |
|
1 |
6 |
23 |
1 |
| lcr4 |
|
1 |
5 |
24 |
1 |
| rcr4 |
|
1 |
6 |
26 |
1 |
| tlbflush |
|
1 |
6 |
32 |
1 |
| disable_intr |
|
1 |
4 |
12 |
1 |
| enable_intr |
|
1 |
4 |
12 |
1 |
| read_rflags |
|
1 |
6 |
25 |
1 |
| write_rflags |
|
1 |
4 |
19 |
1 |
| intr_disable |
|
1 |
7 |
24 |
1 |
| intr_restore |
|
1 |
4 |
12 |
1 |
| rdmsr |
|
1 |
6 |
51 |
1 |
| wrmsr |
|
1 |
5 |
37 |
2 |
| rdmsr_locked |
|
1 |
8 |
59 |
2 |
| wrmsr_locked |
|
1 |
5 |
45 |
3 |
| wbinvd |
|
1 |
4 |
12 |
1 |
| clflush |
|
1 |
4 |
24 |
1 |
| mfence |
|
1 |
4 |
16 |
1 |
| rdtsc |
|
1 |
6 |
45 |
1 |
| rdpmc |
|
1 |
6 |
51 |
1 |
| monitor |
|
1 |
5 |
38 |
3 |
| mwait |
|
1 |
4 |
27 |
2 |
| xsetbv |
|
1 |
7 |
49 |
2 |
| xgetbv |
|
1 |
6 |
51 |
1 |
| breakpoint |
|
1 |
4 |
12 |
1 |
| Source file: ./sys/arch/amd64/include/vmmvar.h |
| Source file: ./sys/arch/amd64/include/efifbvar.h |
| Source file: ./sys/arch/amd64/include/ptrace.h |
| Source file: ./sys/arch/amd64/include/limits.h |
| Source file: ./sys/arch/amd64/include/intr.h |
| Source file: ./sys/arch/amd64/include/isa_machdep.h |
| Source file: ./sys/arch/amd64/include/conf.h |
| Source file: ./sys/arch/amd64/include/specialreg.h |
| Source file: ./sys/arch/amd64/include/cacheinfo.h |
| Source file: ./sys/arch/amd64/include/i82489var.h |
| Source file: ./sys/arch/amd64/include/pci_machdep.h |
| Source file: ./sys/arch/amd64/include/segments.h |
| Source file: ./sys/arch/amd64/include/psl.h |
| Source file: ./sys/arch/amd64/include/mplock.h |
| Source file: ./sys/arch/amd64/include/pio.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __inbc |
|
1 |
6 |
29 |
1 |
| __inb |
|
1 |
6 |
29 |
1 |
| insb |
|
1 |
9 |
54 |
3 |
| __inwc |
|
1 |
6 |
29 |
1 |
| __inw |
|
1 |
6 |
29 |
1 |
| insw |
|
1 |
9 |
54 |
3 |
| __inlc |
|
1 |
6 |
29 |
1 |
| __inl |
|
1 |
6 |
29 |
1 |
| insl |
|
1 |
9 |
54 |
3 |
| __outbc |
|
1 |
4 |
27 |
2 |
| __outb |
|
1 |
4 |
27 |
2 |
| outsb |
|
1 |
8 |
53 |
3 |
| __outwc |
|
1 |
4 |
27 |
2 |
| __outw |
|
1 |
4 |
27 |
2 |
| outsw |
|
1 |
8 |
53 |
3 |
| __outlc |
|
1 |
4 |
27 |
2 |
| __outl |
|
1 |
4 |
27 |
2 |
| outsl |
|
1 |
8 |
53 |
3 |
| Source file: ./sys/arch/amd64/include/proc.h |
| Source file: ./sys/arch/amd64/include/hibernate_var.h |
| Source file: ./sys/arch/amd64/include/setjmp.h |
| Source file: ./sys/arch/amd64/include/intrdefs.h |
| Source file: ./sys/arch/amd64/include/reloc.h |
| Source file: ./sys/arch/amd64/include/atomic.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _atomic_cas_uint |
|
1 |
7 |
57 |
3 |
| _atomic_cas_ulong |
|
1 |
7 |
57 |
3 |
| _atomic_cas_ptr |
|
1 |
7 |
66 |
3 |
| _atomic_swap_uint |
|
1 |
7 |
47 |
2 |
| _atomic_swap_ulong |
|
1 |
7 |
47 |
2 |
| _atomic_swap_64 |
|
1 |
7 |
45 |
2 |
| _atomic_swap_ptr |
|
1 |
7 |
56 |
2 |
| _atomic_inc_int |
|
1 |
5 |
23 |
1 |
| _atomic_inc_long |
|
1 |
5 |
23 |
1 |
| _atomic_dec_int |
|
1 |
5 |
23 |
1 |
| _atomic_dec_long |
|
1 |
5 |
23 |
1 |
| _atomic_add_int |
|
1 |
6 |
32 |
2 |
| _atomic_add_long |
|
1 |
6 |
32 |
2 |
| _atomic_sub_int |
|
1 |
6 |
32 |
2 |
| _atomic_sub_long |
|
1 |
6 |
32 |
2 |
| _atomic_add_int_nv |
|
1 |
7 |
45 |
2 |
| _atomic_add_long_nv |
|
1 |
7 |
45 |
2 |
| _atomic_sub_int_nv |
|
1 |
7 |
47 |
2 |
| _atomic_sub_long_nv |
|
1 |
7 |
47 |
2 |
| x86_atomic_setbits_u32 |
|
1 |
4 |
30 |
2 |
| x86_atomic_clearbits_u32 |
|
1 |
4 |
30 |
2 |
| x86_atomic_setbits_u64 |
|
1 |
4 |
30 |
2 |
| x86_atomic_clearbits_u64 |
|
1 |
4 |
30 |
2 |
| Source file: ./sys/arch/amd64/include/mpconfig.h |
| Source file: ./sys/arch/amd64/include/mpbiosreg.h |
| Source file: ./sys/arch/amd64/include/tss.h |
| Source file: ./sys/arch/amd64/include/pcb.h |
| Source file: ./sys/arch/amd64/include/asm.h |
| Source file: ./sys/arch/amd64/include/i82489reg.h |
| Source file: ./sys/arch/amd64/include/vga_post.h |
| Source file: ./sys/arch/amd64/include/signal.h |
| Source file: ./sys/arch/amd64/include/db_machdep.h |
| Source file: ./sys/arch/amd64/include/param.h |
| Source file: ./sys/arch/amd64/include/reg.h |
| Source file: ./sys/arch/amd64/include/i82093reg.h |
| Source file: ./sys/arch/amd64/include/i82093var.h |
| Source file: ./sys/arch/amd64/include/trap.h |
| Source file: ./sys/arch/amd64/include/pctr.h |
| Source file: ./sys/arch/amd64/include/sysarch.h |
| Source file: ./sys/arch/amd64/include/fpu.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| xsave |
|
1 |
8 |
52 |
2 |
| xrstor |
|
1 |
7 |
51 |
2 |
| Source file: ./sys/arch/amd64/amd64/lapic.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| i82489_readreg |
|
1 |
5 |
29 |
1 |
| i82489_cpu_number |
|
1 |
4 |
15 |
1 |
| i82489_writereg |
|
1 |
5 |
33 |
2 |
| x2apic_readreg |
|
1 |
4 |
20 |
1 |
| x2apic_cpu_number |
|
1 |
4 |
14 |
1 |
| x2apic_writereg |
|
1 |
4 |
24 |
2 |
| x2apic_writeicr |
|
1 |
5 |
44 |
2 |
| lapic_cpu_number |
|
2 |
6 |
20 |
1 |
| lapic_map |
|
6 |
31 |
162 |
1 |
| lapic_enable |
|
1 |
4 |
15 |
1 |
| lapic_disable |
|
1 |
4 |
13 |
1 |
| lapic_set_lvt |
|
18 |
54 |
367 |
1 |
| lapic_boot_init |
|
6 |
24 |
158 |
1 |
| lapic_gettick |
|
1 |
4 |
12 |
1 |
| lapic_clockintr |
|
1 |
10 |
60 |
2 |
| lapic_startclock |
|
1 |
7 |
38 |
1 |
| lapic_initclocks |
|
1 |
5 |
14 |
1 |
| wait_next_cycle |
|
3 |
11 |
46 |
1 |
| lapic_calibrate_timer |
|
5 |
42 |
287 |
1 |
| lapic_delay |
|
5 |
21 |
99 |
1 |
| i82489_icr_wait |
|
5 |
10 |
50 |
1 |
| i82489_ipi_init |
|
2 |
12 |
72 |
1 |
| i82489_ipi |
|
2 |
12 |
72 |
3 |
| x2apic_ipi_init |
|
2 |
11 |
65 |
1 |
| x2apic_ipi |
|
2 |
8 |
57 |
3 |
| x86_ipi_init |
|
2 |
7 |
22 |
1 |
| lapic_hwmask |
|
1 |
9 |
47 |
2 |
| lapic_hwunmask |
|
1 |
9 |
47 |
2 |
| lapic_setup |
|
1 |
3 |
23 |
5 |
| Source file: ./sys/arch/amd64/include/bus.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bus_space_barrier |
|
3 |
15 |
61 |
5 |
| Source file: ./sys/arch/amd64/amd64/mp_setperf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mp_setperf |
|
1 |
8 |
33 |
1 |
| x86_setperf_ipi |
|
1 |
4 |
14 |
1 |
| mp_setperf_init |
|
2 |
8 |
29 |
1 |
| Source file: ./sys/arch/amd64/amd64/acpi_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| acpi_map |
|
3 |
18 |
126 |
3 |
| acpi_unmap |
|
1 |
5 |
33 |
1 |
| acpi_intr_establish |
|
11 |
42 |
294 |
6 |
| acpi_scan |
|
9 |
22 |
171 |
3 |
| acpi_probe |
|
8 |
33 |
204 |
3 |
| acpi_acquire_glk |
|
3 |
11 |
70 |
1 |
| acpi_release_glk |
|
2 |
9 |
56 |
1 |
| acpi_attach_machdep |
|
1 |
22 |
162 |
1 |
| acpi_sleep_clocks |
|
2 |
5 |
20 |
2 |
| acpi_resume_clocks |
|
6 |
13 |
56 |
1 |
| acpi_sleep_cpu |
|
9 |
32 |
211 |
2 |
| acpi_resume_cpu |
|
2 |
7 |
39 |
1 |
| acpi_sleep_mp |
|
4 |
14 |
71 |
1 |
| acpi_resume_mp |
|
5 |
35 |
226 |
1 |
| Source file: ./sys/arch/amd64/amd64/identcpu.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cpu_amd64speed |
|
1 |
5 |
18 |
1 |
| intelcore_update_sensor |
|
10 |
25 |
168 |
1 |
| via_nano_setup |
|
18 |
64 |
399 |
1 |
| via_update_sensor |
|
1 |
10 |
66 |
1 |
| cpu_freq_ctr |
|
5 |
26 |
176 |
1 |
| cpu_freq |
|
2 |
11 |
60 |
1 |
| identifycpu |
|
77 |
188 |
1602 |
1 |
| log2 |
|
2 |
7 |
28 |
1 |
| mask_width |
|
3 |
13 |
85 |
1 |
| cpu_topology |
|
8 |
54 |
436 |
1 |
| cpu_check_vmm_cap |
|
17 |
65 |
446 |
1 |
| Source file: ./sys/arch/amd64/amd64/dkcsum.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dkcsumattach |
|
36 |
110 |
790 |
1 |
| Source file: ./sys/arch/amd64/amd64/cpu.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| replacesmap |
|
2 |
12 |
56 |
1 |
| cpu_match |
|
3 |
10 |
65 |
3 |
| cpu_vm_init |
|
7 |
25 |
128 |
1 |
| cpu_idle_mwait_cycle |
|
5 |
15 |
104 |
1 |
| cpu_init_mwait |
|
11 |
31 |
193 |
1 |
| cpu_attach |
|
24 |
97 |
590 |
3 |
| cpu_init |
|
13 |
36 |
232 |
1 |
| cpu_init_vmm |
|
3 |
10 |
66 |
1 |
| cpu_boot_secondary_processors |
|
6 |
18 |
103 |
1 |
| cpu_init_idle_pcbs |
|
5 |
15 |
73 |
1 |
| cpu_start_secondary |
|
9 |
27 |
197 |
1 |
| cpu_boot_secondary |
|
5 |
13 |
80 |
1 |
| cpu_hatch |
|
12 |
43 |
284 |
1 |
| cpu_debug_dump |
|
2 |
15 |
68 |
1 |
| mp_cpu_start |
|
4 |
24 |
149 |
1 |
| mp_cpu_start_cleanup |
|
1 |
5 |
25 |
1 |
| cpu_init_msrs |
|
1 |
12 |
105 |
1 |
| patinit |
|
2 |
13 |
99 |
1 |
| rdrand |
|
7 |
27 |
149 |
1 |
| cpu_activate |
|
3 |
11 |
55 |
2 |
| Source file: ./sys/arch/amd64/amd64/est.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| p4_get_bus_clock |
|
9 |
44 |
184 |
1 |
| p3_get_bus_clock |
|
19 |
65 |
227 |
1 |
| est_acpi_init |
|
5 |
26 |
175 |
1 |
| est_acpi_pss_changed |
|
6 |
34 |
229 |
2 |
| est_init |
|
24 |
93 |
640 |
1 |
| est_setperf |
|
3 |
16 |
103 |
1 |
| Source file: ./sys/arch/amd64/amd64/pctr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pctrrd |
|
5 |
13 |
104 |
1 |
| pctrattach |
|
5 |
23 |
113 |
1 |
| pctropen |
|
2 |
6 |
35 |
4 |
| pctrclose |
|
1 |
4 |
23 |
4 |
| pctrsel |
|
6 |
24 |
132 |
3 |
| pctrioctl |
|
9 |
23 |
116 |
5 |
| Source file: ./sys/arch/amd64/amd64/aesni.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| aesni_setup |
|
3 |
34 |
243 |
1 |
| aesni_newsession |
|
29 |
136 |
930 |
2 |
| aesni_freesession |
|
9 |
46 |
326 |
1 |
| aesni_swauth |
|
2 |
10 |
58 |
4 |
| aesni_encdec |
|
33 |
165 |
1190 |
4 |
| aesni_process |
|
26 |
69 |
335 |
1 |
| pclmul_setup |
|
1 |
4 |
10 |
1 |
| ghash_update_pclmul |
|
1 |
6 |
32 |
3 |
| Source file: ./sys/arch/amd64/amd64/autoconf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| unmap_startup |
|
2 |
9 |
48 |
1 |
| cpu_configure |
|
9 |
26 |
123 |
1 |
| device_register |
|
1 |
3 |
13 |
2 |
| diskconf |
|
9 |
40 |
261 |
1 |
| Source file: ./sys/arch/amd64/amd64/nvram.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| nvramattach |
|
5 |
9 |
34 |
1 |
| nvramopen |
|
4 |
8 |
57 |
4 |
| nvramclose |
|
1 |
4 |
23 |
4 |
| nvramread |
|
8 |
21 |
165 |
3 |
| nvram_get_byte |
|
2 |
6 |
31 |
1 |
| nvram_csum_valid |
|
3 |
13 |
84 |
1 |
| Source file: ./sys/arch/amd64/amd64/ioapic.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ioapic_lock |
|
2 |
7 |
31 |
1 |
| ioapic_unlock |
|
2 |
5 |
27 |
2 |
| ioapic_read_ul |
|
1 |
7 |
36 |
2 |
| ioapic_write_ul |
|
1 |
5 |
33 |
3 |
| ioapic_read |
|
1 |
9 |
44 |
2 |
| ioapic_write |
|
1 |
7 |
41 |
3 |
| ioapic_find |
|
5 |
13 |
70 |
1 |
| ioapic_find_bybase |
|
4 |
10 |
56 |
1 |
| ioapic_add |
|
1 |
6 |
22 |
1 |
| ioapic_print_redir |
|
1 |
6 |
59 |
3 |
| ioapic_match |
|
2 |
8 |
63 |
3 |
| ioapic_set_id |
|
2 |
13 |
82 |
1 |
| ioapic_attach |
|
13 |
66 |
502 |
3 |
| ioapic_activate |
|
2 |
11 |
65 |
2 |
| apic_set_redir |
|
10 |
39 |
254 |
4 |
| ioapic_enable |
|
7 |
25 |
149 |
1 |
| ioapic_hwmask |
|
2 |
14 |
82 |
2 |
| ioapic_hwunmask |
|
2 |
14 |
82 |
2 |
| ioapic_addroute |
|
2 |
13 |
85 |
5 |
| ioapic_delroute |
|
2 |
12 |
71 |
5 |
| ioapic_dump |
|
4 |
13 |
81 |
1 |
| Source file: ./sys/arch/amd64/amd64/disksubr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| readdisklabel |
|
13 |
43 |
306 |
4 |
| writedisklabel |
|
4 |
30 |
213 |
3 |
| Source file: ./sys/arch/amd64/amd64/gdt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| gdt_alloc_cpu |
|
3 |
20 |
183 |
1 |
| gdt_init_cpu |
|
1 |
9 |
73 |
1 |
| Source file: ./sys/arch/amd64/amd64/apic.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| apic_format_redir |
|
2 |
8 |
56 |
5 |
| Source file: ./sys/arch/amd64/amd64/powernow-k8.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| k8pnow_read_pending_wait |
|
3 |
11 |
49 |
1 |
| k8_powernow_setperf |
|
2 |
10 |
59 |
1 |
| k8pnow_transition |
|
20 |
65 |
446 |
2 |
| k8pnow_decode_pst |
|
4 |
21 |
156 |
2 |
| k8pnow_acpi_states |
|
6 |
27 |
214 |
4 |
| k8pnow_acpi_pss_changed |
|
5 |
32 |
209 |
2 |
| k8pnow_acpi_init |
|
2 |
19 |
127 |
2 |
| k8pnow_states |
|
8 |
35 |
261 |
4 |
| k8_powernow_init |
|
9 |
43 |
261 |
1 |
| Source file: ./sys/arch/amd64/amd64/sys_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| amd64_iopl |
|
8 |
19 |
120 |
3 |
| amd64_get_fsbase |
|
1 |
5 |
38 |
2 |
| amd64_set_fsbase |
|
3 |
11 |
66 |
2 |
| sys_sysarch |
|
8 |
30 |
175 |
3 |
| Source file: ./sys/arch/amd64/amd64/mem.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mmopen |
|
13 |
24 |
114 |
4 |
| mmclose |
|
3 |
6 |
36 |
4 |
| mmrw |
|
20 |
59 |
363 |
3 |
| mmmmap |
|
15 |
31 |
147 |
3 |
| mmioctl |
|
4 |
9 |
55 |
5 |
| mem_ioctl |
|
10 |
39 |
301 |
5 |
| mem_range_attr_get |
|
3 |
11 |
70 |
2 |
| mem_range_attr_set |
|
2 |
6 |
43 |
2 |
| Source file: ./sys/arch/amd64/amd64/efifb.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| efifb_match |
|
6 |
14 |
89 |
3 |
| efifb_attach |
|
7 |
64 |
479 |
3 |
| efifb_rasops_preinit |
|
2 |
28 |
242 |
1 |
| efifb_ioctl |
|
17 |
64 |
330 |
5 |
| efifb_mmap |
|
3 |
7 |
56 |
3 |
| efifb_alloc_screen |
|
1 |
7 |
63 |
6 |
| efifb_free_screen |
|
1 |
6 |
38 |
2 |
| efifb_show_screen |
|
1 |
7 |
66 |
5 |
| efifb_load_font |
|
1 |
6 |
48 |
3 |
| efifb_list_font |
|
1 |
6 |
42 |
2 |
| efifb_cnattach |
|
3 |
9 |
52 |
1 |
| efifb_efiinfo_init |
|
1 |
10 |
109 |
1 |
| efifb_cnattach_common |
|
1 |
18 |
153 |
1 |
| efifb_is_console |
|
8 |
23 |
131 |
1 |
| efifb_cndetach |
|
1 |
4 |
12 |
1 |
| efifb_cb_cnattach |
|
3 |
14 |
102 |
1 |
| efifb_cb_found |
|
2 |
4 |
19 |
1 |
| cb_checksum |
|
2 |
12 |
89 |
2 |
| cb_find_fb |
|
8 |
27 |
190 |
1 |
| Source file: ./sys/arch/amd64/amd64/rbus_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rbus_pccbb_parent_mem |
|
2 |
11 |
67 |
2 |
| rbus_pccbb_parent_io |
|
3 |
14 |
86 |
2 |
| pccbb_attach_hook |
|
1 |
4 |
19 |
3 |
| Source file: ./sys/arch/amd64/amd64/tsc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tsc_freq_cpuid |
|
14 |
33 |
166 |
1 |
| get_tsc_and_timecount |
|
3 |
16 |
101 |
3 |
| calculate_tsc_freq |
|
1 |
6 |
33 |
3 |
| calculate_tc_delay |
|
2 |
8 |
49 |
3 |
| measure_tsc_freq |
|
8 |
30 |
218 |
1 |
| calibrate_tsc_freq |
|
5 |
15 |
76 |
1 |
| cpu_recalibrate_tsc |
|
3 |
8 |
42 |
1 |
| tsc_get_timecount |
|
1 |
4 |
14 |
1 |
| tsc_timecounter_init |
|
5 |
19 |
101 |
2 |
| Source file: ./sys/arch/amd64/amd64/amd64errata.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| amd64_errata_testmsr |
|
2 |
10 |
56 |
2 |
| amd64_errata_setmsr |
|
4 |
15 |
104 |
2 |
| amd64_errata |
|
31 |
76 |
481 |
1 |
| Source file: ./sys/arch/amd64/amd64/conf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| iskmemdev |
|
3 |
4 |
33 |
1 |
| iszerodev |
|
2 |
4 |
24 |
1 |
| getnulldev |
|
1 |
4 |
14 |
1 |
| dev_rawpart |
|
3 |
14 |
55 |
1 |
| Source file: ./sys/arch/amd64/amd64/db_memrw.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| db_read_bytes |
|
5 |
19 |
125 |
3 |
| db_write_text |
|
8 |
36 |
216 |
3 |
| db_write_bytes |
|
7 |
24 |
156 |
3 |
| Source file: ./sys/arch/amd64/amd64/hibernate_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| get_hibernate_io_function |
|
21 |
34 |
285 |
1 |
| get_hibernate_info_md |
|
11 |
56 |
467 |
1 |
| hibernate_enter_resume_mapping |
|
2 |
7 |
34 |
3 |
| hibernate_enter_resume_2m_pde |
|
3 |
36 |
280 |
2 |
| hibernate_enter_resume_4k_pte |
|
1 |
9 |
66 |
2 |
| hibernate_populate_resume_pt |
|
4 |
74 |
604 |
3 |
| hibernate_inflate_skip |
|
3 |
7 |
42 |
2 |
| hibernate_enable_intr_machdep |
|
1 |
4 |
10 |
1 |
| hibernate_disable_intr_machdep |
|
1 |
4 |
10 |
1 |
| hibernate_quiesce_cpus |
|
6 |
24 |
147 |
1 |
| Source file: ./sys/arch/amd64/amd64/db_interface.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| db_printtrap |
|
3 |
9 |
50 |
2 |
| db_ktrap |
|
14 |
40 |
179 |
3 |
| db_cpuinfo_cmd |
|
9 |
31 |
148 |
4 |
| db_startproc_cmd |
|
9 |
16 |
103 |
4 |
| db_stopproc_cmd |
|
9 |
16 |
103 |
4 |
| db_ddbproc_cmd |
|
6 |
16 |
86 |
4 |
| db_enter_ddb |
|
19 |
52 |
324 |
1 |
| db_startcpu |
|
3 |
8 |
45 |
1 |
| db_stopcpu |
|
4 |
12 |
73 |
1 |
| x86_ipi_db |
|
1 |
4 |
13 |
1 |
| db_machine_init |
|
5 |
9 |
47 |
1 |
| db_enter |
|
1 |
4 |
10 |
1 |
| Source file: ./sys/arch/amd64/amd64/process_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| process_frame |
|
1 |
4 |
18 |
1 |
| process_fpframe |
|
1 |
4 |
23 |
1 |
| process_read_regs |
|
1 |
29 |
233 |
2 |
| process_read_fpregs |
|
2 |
17 |
118 |
2 |
| process_write_regs |
|
2 |
28 |
211 |
2 |
| process_write_fpregs |
|
2 |
12 |
81 |
2 |
| process_sstep |
|
2 |
9 |
44 |
2 |
| process_set_pc |
|
2 |
8 |
48 |
2 |
| Source file: ./sys/arch/amd64/amd64/machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cpu_startup |
|
3 |
24 |
179 |
1 |
| x86_64_proc0_tss_ldt_init |
|
1 |
15 |
127 |
1 |
| x86_64_init_pcb_tss_ldt |
|
1 |
8 |
67 |
1 |
| bios_getdiskinfo |
|
7 |
19 |
89 |
1 |
| bios_sysctl |
|
10 |
28 |
187 |
7 |
| cpu_sysctl |
|
27 |
77 |
505 |
7 |
| sendsig |
|
9 |
51 |
481 |
6 |
| sys_sigreturn |
|
9 |
39 |
339 |
3 |
| cpu_kick |
|
4 |
14 |
67 |
1 |
| signotify |
|
1 |
5 |
21 |
1 |
| cpu_unidle |
|
4 |
9 |
52 |
1 |
| boot |
|
15 |
49 |
237 |
1 |
| cpu_dump |
|
3 |
31 |
270 |
1 |
| dumpconf |
|
6 |
17 |
101 |
1 |
| dumpsys |
|
22 |
87 |
493 |
1 |
| reset_segs |
|
2 |
10 |
45 |
1 |
| setregs |
|
2 |
33 |
222 |
4 |
| setgate |
|
1 |
15 |
102 |
6 |
| unsetgate |
|
1 |
4 |
22 |
1 |
| setregion |
|
1 |
5 |
31 |
3 |
| set_mem_segment |
|
1 |
15 |
117 |
8 |
| set_sys_segment |
|
1 |
13 |
102 |
6 |
| cpu_init_idt |
|
1 |
6 |
36 |
1 |
| cpu_init_extents |
|
4 |
17 |
98 |
1 |
| map_tramps |
|
4 |
32 |
193 |
1 |
| init_x86_64 |
|
61 |
191 |
1510 |
1 |
| cpu_reset |
|
3 |
14 |
93 |
1 |
| cpu_dumpsize |
|
2 |
9 |
57 |
1 |
| cpu_dump_mempagecnt |
|
2 |
8 |
45 |
1 |
| amd64_pa_used |
|
6 |
11 |
65 |
1 |
| cpu_initclocks |
|
1 |
4 |
13 |
1 |
| need_resched |
|
2 |
8 |
35 |
1 |
| idt_vec_alloc |
|
3 |
11 |
52 |
2 |
| idt_vec_set |
|
1 |
6 |
50 |
2 |
| idt_vec_free |
|
1 |
5 |
23 |
1 |
| splassert_check |
|
3 |
11 |
64 |
2 |
| copyin32 |
|
2 |
6 |
38 |
2 |
| getbootinfo |
|
32 |
87 |
505 |
2 |
| check_context |
|
5 |
15 |
91 |
2 |
| Source file: ./sys/arch/amd64/amd64/bios.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bios_match |
|
3 |
7 |
47 |
3 |
| bios_attach |
|
26 |
104 |
769 |
3 |
| smbios_find |
|
11 |
22 |
159 |
1 |
| smbios_find_table |
|
16 |
40 |
298 |
2 |
| smbios_get_string |
|
7 |
19 |
131 |
4 |
| fixstring |
|
9 |
20 |
162 |
1 |
| smbios_info |
|
35 |
106 |
821 |
1 |
| bios_print |
|
2 |
8 |
40 |
2 |
| Source file: ./sys/arch/amd64/amd64/vm_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cpu_fork |
|
7 |
29 |
261 |
6 |
| cpu_exit |
|
2 |
7 |
38 |
1 |
| setguardpage |
|
1 |
6 |
43 |
1 |
| vmapbuf |
|
3 |
20 |
151 |
2 |
| vunmapbuf |
|
2 |
14 |
103 |
2 |
| tcb_get |
|
1 |
4 |
24 |
1 |
| tcb_set |
|
1 |
6 |
37 |
2 |
| Source file: ./sys/arch/amd64/amd64/ipifuncs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| x86_64_ipi_nop |
|
1 |
3 |
9 |
1 |
| x86_64_ipi_halt |
|
2 |
14 |
63 |
1 |
| x86_64_ipi_flush_fpu |
|
2 |
5 |
26 |
1 |
| x86_64_ipi_synch_fpu |
|
2 |
5 |
26 |
1 |
| x86_64_ipi_reload_mtrr |
|
2 |
5 |
27 |
1 |
| x86_64_ipi_start_vmm |
|
1 |
4 |
14 |
1 |
| x86_64_ipi_stop_vmm |
|
1 |
4 |
14 |
1 |
| Source file: ./sys/arch/amd64/amd64/cacheinfo.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| print_cache_config |
|
9 |
35 |
197 |
4 |
| print_tlb_config |
|
9 |
37 |
201 |
4 |
| cache_info_lookup |
|
3 |
9 |
61 |
2 |
| amd_cpu_cacheinfo |
|
12 |
75 |
687 |
1 |
| x86_print_cacheinfo |
|
4 |
18 |
150 |
1 |
| Source file: ./sys/arch/amd64/amd64/mainbus.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mainbus_match |
|
1 |
4 |
22 |
3 |
| mainbus_attach |
|
24 |
65 |
456 |
3 |
| mainbus_print |
|
3 |
9 |
64 |
2 |
| Source file: ./sys/arch/amd64/amd64/mpbios_intr_fixup.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mpbios_icu_lookup |
|
4 |
9 |
58 |
1 |
| nforce4_mpbios_fixup |
|
6 |
23 |
194 |
2 |
| mcp04_mpbios_fixup |
|
3 |
13 |
99 |
2 |
| via8237_mpbios_fixup |
|
1 |
6 |
38 |
2 |
| mpbios_pin_fixup |
|
7 |
24 |
196 |
4 |
| mpbios_intr_fixup |
|
11 |
37 |
243 |
1 |
| Source file: ./sys/arch/amd64/amd64/i8259.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| i8259_default_setup |
|
4 |
20 |
160 |
1 |
| i8259_hwmask |
|
3 |
15 |
75 |
2 |
| i8259_hwunmask |
|
3 |
17 |
83 |
2 |
| i8259_reinit_irqs |
|
4 |
14 |
92 |
1 |
| i8259_setup |
|
2 |
5 |
34 |
5 |
| Source file: ./sys/arch/amd64/amd64/bus_space.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| x86_bus_space_init |
|
1 |
9 |
60 |
1 |
| x86_bus_space_mallocok |
|
1 |
4 |
10 |
1 |
| bus_space_map |
|
12 |
36 |
209 |
5 |
| _bus_space_map |
|
2 |
9 |
52 |
5 |
| bus_space_alloc |
|
11 |
37 |
222 |
9 |
| x86_mem_add_mapping |
|
8 |
26 |
179 |
4 |
| _bus_space_unmap |
|
8 |
26 |
173 |
4 |
| bus_space_unmap |
|
10 |
32 |
218 |
3 |
| bus_space_free |
|
1 |
4 |
22 |
3 |
| bus_space_subregion |
|
1 |
6 |
32 |
5 |
| x86_bus_space_io_read_1 |
|
1 |
4 |
20 |
2 |
| x86_bus_space_io_read_2 |
|
1 |
4 |
20 |
2 |
| x86_bus_space_io_read_4 |
|
1 |
4 |
20 |
2 |
| x86_bus_space_io_read_8 |
|
1 |
4 |
15 |
2 |
| x86_bus_space_io_read_multi_1 |
|
1 |
5 |
28 |
4 |
| x86_bus_space_io_read_multi_2 |
|
1 |
5 |
28 |
4 |
| x86_bus_space_io_read_multi_4 |
|
1 |
5 |
28 |
4 |
| x86_bus_space_io_read_multi_8 |
|
1 |
5 |
22 |
4 |
| x86_bus_space_io_read_region_1 |
|
1 |
18 |
83 |
4 |
| x86_bus_space_io_read_region_2 |
|
1 |
18 |
89 |
4 |
| x86_bus_space_io_read_region_4 |
|
1 |
18 |
83 |
4 |
| x86_bus_space_io_read_region_8 |
|
1 |
5 |
22 |
4 |
| x86_bus_space_io_write_1 |
|
1 |
4 |
22 |
3 |
| x86_bus_space_io_write_2 |
|
1 |
4 |
22 |
3 |
| x86_bus_space_io_write_4 |
|
1 |
4 |
22 |
3 |
| x86_bus_space_io_write_8 |
|
1 |
4 |
18 |
3 |
| x86_bus_space_io_write_multi_1 |
|
1 |
5 |
29 |
4 |
| x86_bus_space_io_write_multi_2 |
|
1 |
5 |
29 |
4 |
| x86_bus_space_io_write_multi_4 |
|
1 |
5 |
29 |
4 |
| x86_bus_space_io_write_multi_8 |
|
1 |
5 |
23 |
4 |
| x86_bus_space_io_write_region_1 |
|
1 |
18 |
84 |
4 |
| x86_bus_space_io_write_region_2 |
|
1 |
18 |
84 |
4 |
| x86_bus_space_io_write_region_4 |
|
1 |
18 |
84 |
4 |
| x86_bus_space_io_write_region_8 |
|
1 |
5 |
23 |
4 |
| x86_bus_space_io_set_multi_1 |
|
2 |
7 |
35 |
4 |
| x86_bus_space_io_set_multi_2 |
|
2 |
7 |
35 |
4 |
| x86_bus_space_io_set_multi_4 |
|
2 |
7 |
35 |
4 |
| x86_bus_space_io_set_multi_8 |
|
1 |
5 |
21 |
4 |
| x86_bus_space_io_set_region_1 |
|
2 |
7 |
43 |
4 |
| x86_bus_space_io_set_region_2 |
|
2 |
7 |
47 |
4 |
| x86_bus_space_io_set_region_4 |
|
2 |
7 |
47 |
4 |
| x86_bus_space_io_set_region_8 |
|
1 |
5 |
21 |
4 |
| x86_bus_space_io_copy_1 |
|
4 |
14 |
111 |
5 |
| x86_bus_space_io_copy_2 |
|
4 |
14 |
119 |
5 |
| x86_bus_space_io_copy_4 |
|
4 |
14 |
119 |
5 |
| x86_bus_space_io_copy_8 |
|
1 |
5 |
24 |
5 |
| x86_bus_space_io_vaddr |
|
1 |
4 |
12 |
1 |
| x86_bus_space_io_mmap |
|
1 |
4 |
22 |
4 |
| x86_bus_space_mem_write_1 |
|
1 |
4 |
27 |
3 |
| x86_bus_space_mem_write_2 |
|
1 |
4 |
27 |
3 |
| x86_bus_space_mem_read_1 |
|
1 |
4 |
25 |
2 |
| x86_bus_space_mem_read_2 |
|
1 |
4 |
25 |
2 |
| x86_bus_space_mem_read_4 |
|
1 |
4 |
25 |
2 |
| x86_bus_space_mem_read_8 |
|
1 |
4 |
25 |
2 |
| x86_bus_space_mem_read_multi_1 |
|
1 |
15 |
82 |
4 |
| x86_bus_space_mem_read_multi_2 |
|
1 |
15 |
82 |
4 |
| x86_bus_space_mem_read_multi_4 |
|
1 |
15 |
82 |
4 |
| x86_bus_space_mem_read_multi_8 |
|
1 |
15 |
82 |
4 |
| x86_bus_space_mem_read_region_1 |
|
1 |
13 |
68 |
4 |
| x86_bus_space_mem_read_region_2 |
|
1 |
13 |
68 |
4 |
| x86_bus_space_mem_read_region_4 |
|
1 |
13 |
68 |
4 |
| x86_bus_space_mem_read_region_8 |
|
1 |
13 |
68 |
4 |
| x86_bus_space_mem_write_4 |
|
1 |
4 |
27 |
3 |
| x86_bus_space_mem_write_8 |
|
1 |
4 |
27 |
3 |
| x86_bus_space_mem_write_multi_1 |
|
1 |
14 |
77 |
4 |
| x86_bus_space_mem_write_multi_2 |
|
1 |
14 |
77 |
4 |
| x86_bus_space_mem_write_multi_4 |
|
1 |
14 |
77 |
4 |
| x86_bus_space_mem_write_multi_8 |
|
1 |
14 |
77 |
4 |
| x86_bus_space_mem_write_region_1 |
|
1 |
13 |
69 |
4 |
| x86_bus_space_mem_write_region_2 |
|
1 |
13 |
69 |
4 |
| x86_bus_space_mem_write_region_4 |
|
1 |
13 |
69 |
4 |
| x86_bus_space_mem_write_region_8 |
|
1 |
13 |
69 |
4 |
| x86_bus_space_mem_set_multi_1 |
|
2 |
7 |
40 |
4 |
| x86_bus_space_mem_set_multi_2 |
|
2 |
7 |
40 |
4 |
| x86_bus_space_mem_set_multi_4 |
|
2 |
7 |
40 |
4 |
| x86_bus_space_mem_set_multi_8 |
|
2 |
7 |
40 |
4 |
| x86_bus_space_mem_set_region_1 |
|
2 |
7 |
48 |
4 |
| x86_bus_space_mem_set_region_2 |
|
2 |
7 |
52 |
4 |
| x86_bus_space_mem_set_region_4 |
|
2 |
7 |
52 |
4 |
| x86_bus_space_mem_set_region_8 |
|
2 |
7 |
52 |
4 |
| x86_bus_space_mem_copy_1 |
|
4 |
16 |
131 |
5 |
| x86_bus_space_mem_copy_2 |
|
4 |
16 |
139 |
5 |
| x86_bus_space_mem_copy_4 |
|
4 |
16 |
139 |
5 |
| x86_bus_space_mem_copy_8 |
|
4 |
16 |
139 |
5 |
| x86_bus_space_mem_vaddr |
|
1 |
4 |
16 |
1 |
| x86_bus_space_mem_mmap |
|
1 |
4 |
23 |
4 |
| Source file: ./sys/arch/amd64/amd64/intr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| intr_default_setup |
|
2 |
11 |
68 |
1 |
| x86_nmi |
|
1 |
5 |
28 |
1 |
| intr_calculatemasks |
|
15 |
45 |
363 |
1 |
| intr_allocate_slot_cpu |
|
15 |
43 |
264 |
4 |
| Source file: ./sys/arch/amd64/amd64/consinit.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| consinit |
|
1 |
3 |
6 |
1 |
| Source file: ./sys/arch/amd64/amd64/k1x-pstate.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| k1x_setperf |
|
2 |
10 |
60 |
1 |
| k1x_transition |
|
7 |
25 |
153 |
2 |
| k1x_acpi_states |
|
4 |
21 |
152 |
3 |
| k1x_acpi_init |
|
2 |
9 |
47 |
1 |
| k1x_init |
|
6 |
27 |
150 |
1 |
| Source file: ./sys/arch/amd64/amd64/codepatch.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| codepatch_fill_nop |
|
5 |
24 |
117 |
2 |
| codepatch_maprw |
|
2 |
15 |
137 |
2 |
| codepatch_unmaprw |
|
2 |
7 |
43 |
1 |
| codepatch_nop |
|
3 |
17 |
97 |
1 |
| codepatch_replace |
|
4 |
22 |
146 |
3 |
| codepatch_call |
|
4 |
24 |
170 |
2 |
| Source file: ./sys/arch/amd64/amd64/softintr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| softintr_init |
|
2 |
11 |
64 |
1 |
| softintr_dispatch |
|
3 |
25 |
149 |
1 |
| softintr_establish |
|
6 |
29 |
140 |
3 |
| softintr_disestablish |
|
2 |
12 |
79 |
1 |
| Source file: ./sys/arch/amd64/amd64/db_trace.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| db_nextframe |
|
6 |
33 |
202 |
5 |
| db_is_trap |
|
11 |
20 |
123 |
1 |
| db_stack_trace_print |
|
39 |
138 |
897 |
5 |
| db_save_stack_trace |
|
9 |
45 |
271 |
1 |
| db_get_pc |
|
1 |
5 |
49 |
1 |
| db_get_probe_addr |
|
1 |
4 |
16 |
1 |
| Source file: ./sys/arch/amd64/amd64/mtrr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mem_range_attach |
|
8 |
16 |
124 |
1 |
| Source file: ./sys/arch/amd64/amd64/wscons_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wscnprobe |
|
4 |
13 |
70 |
1 |
| wscninit |
|
3 |
10 |
40 |
1 |
| wscnputc |
|
1 |
4 |
17 |
2 |
| wscngetc |
|
1 |
4 |
15 |
1 |
| wscnpollc |
|
1 |
4 |
17 |
2 |
| wscn_video_init |
|
9 |
12 |
75 |
1 |
| wscn_input_init |
|
8 |
11 |
50 |
1 |
| Source file: ./sys/arch/amd64/amd64/mpbios.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mpbios_match |
|
2 |
8 |
58 |
3 |
| mpbios_attach |
|
1 |
4 |
23 |
3 |
| mp_print |
|
2 |
7 |
40 |
2 |
| mp_match |
|
2 |
8 |
68 |
3 |
| mpbios_map |
|
2 |
18 |
125 |
3 |
| mpbios_unmap |
|
1 |
5 |
33 |
1 |
| mpbios_probe |
|
17 |
79 |
441 |
1 |
| mpbios_cksum |
|
2 |
9 |
49 |
2 |
| mpbios_search |
|
5 |
22 |
189 |
4 |
| mpbios_scan |
|
26 |
108 |
603 |
1 |
| mpbios_cpu |
|
4 |
18 |
115 |
2 |
| mp_cfg_special_intr |
|
4 |
20 |
100 |
2 |
| mp_cfg_pci_intr |
|
8 |
33 |
152 |
2 |
| mp_cfg_eisa_intr |
|
9 |
40 |
189 |
2 |
| mp_cfg_isa_intr |
|
8 |
33 |
152 |
2 |
| mp_print_special_intr |
|
1 |
3 |
7 |
1 |
| mp_print_pci_intr |
|
1 |
4 |
29 |
1 |
| mp_print_isa_intr |
|
1 |
4 |
14 |
1 |
| mp_print_eisa_intr |
|
1 |
4 |
14 |
1 |
| mpbios_bus |
|
9 |
42 |
325 |
2 |
| mpbios_ioapic |
|
3 |
15 |
124 |
2 |
| mpbios_int |
|
17 |
93 |
544 |
3 |
| Source file: ./sys/arch/amd64/amd64/ipi.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| x86_send_ipi |
|
2 |
7 |
46 |
2 |
| x86_fast_ipi |
|
2 |
7 |
42 |
2 |
| x86_broadcast_ipi |
|
4 |
17 |
86 |
1 |
| x86_ipi_handler |
|
4 |
19 |
116 |
1 |
| Source file: ./sys/arch/amd64/amd64/fpu.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fpuinit |
|
3 |
15 |
92 |
1 |
| fputrap |
|
4 |
32 |
196 |
1 |
| x86fpflags_to_siginfo |
|
3 |
18 |
75 |
1 |
| fpudna |
|
10 |
55 |
346 |
2 |
| fpusave_cpu |
|
6 |
26 |
150 |
2 |
| fpusave_proc |
|
6 |
22 |
132 |
2 |
| fpu_kernel_enter |
|
3 |
24 |
140 |
1 |
| fpu_kernel_exit |
|
1 |
4 |
10 |
1 |
| Source file: ./sys/arch/amd64/amd64/amd64_mem.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mtrr2mrt |
|
3 |
6 |
29 |
1 |
| mtrrconflict |
|
6 |
10 |
50 |
2 |
| mem_range_match |
|
4 |
10 |
78 |
2 |
| mrfetch |
|
20 |
74 |
596 |
1 |
| mtrrtype |
|
4 |
12 |
60 |
1 |
| mrt2mtrr |
|
1 |
6 |
22 |
1 |
| mrstore |
|
2 |
7 |
27 |
1 |
| mrstoreone |
|
12 |
61 |
453 |
1 |
| mtrrfixsearch |
|
4 |
9 |
82 |
2 |
| mrsetlow |
|
7 |
17 |
174 |
3 |
| mrsetvariable |
|
12 |
35 |
249 |
3 |
| mrset |
|
11 |
32 |
212 |
3 |
| mrinit |
|
12 |
56 |
407 |
1 |
| mrinit_cpu |
|
1 |
4 |
14 |
1 |
| mrreload_cpu |
|
1 |
6 |
22 |
1 |
| Source file: ./sys/arch/amd64/amd64/bus_dma.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _bus_dmamap_create |
|
3 |
21 |
152 |
7 |
| _bus_dmamap_destroy |
|
1 |
7 |
45 |
2 |
| _bus_dmamap_load |
|
3 |
18 |
116 |
6 |
| _bus_dmamap_load_mbuf |
|
8 |
28 |
189 |
4 |
| _bus_dmamap_load_uio |
|
9 |
35 |
234 |
4 |
| _bus_dmamap_load_raw |
|
16 |
57 |
396 |
6 |
| _bus_dmamap_unload |
|
1 |
5 |
22 |
2 |
| _bus_dmamap_sync |
|
1 |
4 |
19 |
5 |
| _bus_dmamem_alloc |
|
1 |
7 |
62 |
8 |
| _bus_dmamem_free |
|
3 |
17 |
108 |
3 |
| _bus_dmamem_map |
|
10 |
41 |
304 |
6 |
| _bus_dmamem_unmap |
|
5 |
8 |
61 |
3 |
| _bus_dmamem_mmap |
|
8 |
22 |
145 |
6 |
| _bus_dmamap_load_buffer |
|
14 |
57 |
378 |
9 |
| _bus_dmamem_alloc_range |
|
10 |
46 |
309 |
10 |
| Source file: ./sys/arch/amd64/amd64/trap.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| trap |
|
76 |
244 |
1490 |
1 |
| frame_dump |
|
1 |
15 |
183 |
1 |
| ast |
|
1 |
11 |
70 |
1 |
| syscall |
|
20 |
85 |
472 |
1 |
| child_return |
|
1 |
10 |
53 |
1 |
| Source file: ./sys/arch/amd64/stand/efiboot/run_i386.h |
| Source file: ./sys/arch/amd64/stand/efiboot/efipxe.h |
| Source file: ./sys/arch/amd64/amd64/via.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| viac3_crypto_setup |
|
3 |
22 |
147 |
1 |
| viac3_crypto_newsession |
|
28 |
133 |
884 |
2 |
| viac3_crypto_freesession |
|
6 |
28 |
203 |
1 |
| viac3_cbc |
|
1 |
12 |
100 |
6 |
| viac3_crypto_swauth |
|
2 |
10 |
58 |
4 |
| viac3_crypto_encdec |
|
17 |
78 |
654 |
5 |
| viac3_crypto_process |
|
16 |
49 |
258 |
1 |
| viac3_rnd |
|
4 |
17 |
141 |
1 |
| Source file: ./sys/arch/amd64/stand/efiboot/eficall.h |
| Source file: ./sys/arch/amd64/stand/efiboot/self_reloc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| self_reloc |
|
12 |
41 |
202 |
2 |
| Source file: ./sys/arch/amd64/stand/efiboot/efipxe.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| efi_pxeprobe |
|
11 |
47 |
290 |
1 |
| tftp_open |
|
6 |
35 |
253 |
2 |
| tftp_close |
|
1 |
8 |
53 |
1 |
| tftp_read |
|
5 |
19 |
120 |
4 |
| tftp_write |
|
1 |
4 |
23 |
4 |
| tftp_seek |
|
7 |
26 |
133 |
3 |
| tftp_stat |
|
1 |
10 |
58 |
2 |
| tftp_readdir |
|
1 |
4 |
16 |
2 |
| tftpopen |
|
6 |
18 |
113 |
2 |
| tftpclose |
|
1 |
4 |
12 |
1 |
| tftpioctl |
|
1 |
4 |
19 |
3 |
| tftpstrategy |
|
1 |
5 |
28 |
6 |
| Source file: ./sys/arch/amd64/stand/efiboot/efiboot.h |
| Source file: ./sys/arch/amd64/stand/efiboot/conf.c |
| Source file: ./sys/arch/amd64/amd64/pmap.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pmap_is_curpmap |
|
2 |
5 |
33 |
1 |
| pmap_is_active |
|
2 |
5 |
36 |
2 |
| pmap_pte2flags |
|
3 |
5 |
34 |
1 |
| pmap_sync_flags_pte |
|
2 |
6 |
37 |
2 |
| pmap_map_ptes |
|
4 |
15 |
108 |
4 |
| pmap_unmap_ptes |
|
3 |
9 |
58 |
2 |
| pmap_fix_ept |
|
7 |
30 |
180 |
2 |
| pmap_find_pte_direct |
|
3 |
21 |
151 |
4 |
| pmap_kenter_pa |
|
11 |
21 |
164 |
3 |
| pmap_kremove |
|
3 |
14 |
98 |
2 |
| pmap_bootstrap |
|
10 |
83 |
680 |
2 |
| pmap_prealloc_lowmem_ptps |
|
3 |
18 |
103 |
1 |
| pmap_init |
|
1 |
4 |
10 |
1 |
| pmap_enter_pv |
|
1 |
11 |
83 |
5 |
| pmap_remove_pv |
|
4 |
15 |
104 |
3 |
| pmap_find_ptp |
|
4 |
10 |
92 |
4 |
| pmap_freepage |
|
2 |
14 |
105 |
4 |
| pmap_free_ptp |
|
7 |
29 |
222 |
6 |
| pmap_get_ptp |
|
11 |
50 |
339 |
3 |
| pmap_pdp_ctor |
|
2 |
15 |
148 |
1 |
| pmap_create |
|
2 |
20 |
150 |
1 |
| pmap_destroy |
|
6 |
24 |
164 |
1 |
| pmap_reference |
|
1 |
4 |
22 |
1 |
| pmap_activate |
|
2 |
11 |
80 |
1 |
| pmap_deactivate |
|
1 |
5 |
39 |
1 |
| pmap_pdes_valid |
|
4 |
15 |
86 |
3 |
| pmap_extract |
|
10 |
22 |
177 |
3 |
| pmap_zero_page |
|
1 |
4 |
17 |
1 |
| pmap_flush_cache |
|
3 |
12 |
64 |
2 |
| pmap_copy_page |
|
1 |
6 |
47 |
2 |
| pmap_remove_ptes |
|
15 |
39 |
250 |
7 |
| pmap_remove_pte |
|
12 |
35 |
223 |
6 |
| pmap_remove |
|
1 |
4 |
26 |
3 |
| pmap_do_remove |
|
23 |
81 |
541 |
4 |
| pmap_page_remove |
|
13 |
66 |
483 |
1 |
| pmap_test_attrs |
|
5 |
23 |
161 |
2 |
| pmap_clear_attrs |
|
4 |
26 |
187 |
2 |
| pmap_write_protect |
|
14 |
43 |
292 |
4 |
| pmap_unwire |
|
7 |
21 |
125 |
2 |
| pmap_collect |
|
1 |
3 |
9 |
1 |
| pmap_enter |
|
44 |
140 |
812 |
5 |
| pmap_get_physpage |
|
3 |
21 |
138 |
3 |
| pmap_alloc_level |
|
5 |
28 |
179 |
4 |
| pmap_growkernel |
|
5 |
32 |
223 |
1 |
| pmap_steal_memory |
|
12 |
46 |
276 |
3 |
| pmap_virtual_space |
|
1 |
5 |
22 |
2 |
| pmap_convert |
|
2 |
10 |
50 |
2 |
| pmap_tlb_shootpage |
|
10 |
31 |
193 |
3 |
| pmap_tlb_shootrange |
|
11 |
34 |
217 |
4 |
| pmap_tlb_shoottlb |
|
10 |
29 |
183 |
2 |
| pmap_tlb_shootwait |
|
2 |
5 |
16 |
1 |
| pmap_tlb_shootpage |
|
2 |
5 |
24 |
3 |
| pmap_tlb_shootrange |
|
3 |
8 |
47 |
4 |
| pmap_tlb_shoottlb |
|
2 |
5 |
20 |
2 |
| Source file: ./sys/arch/amd64/stand/efiboot/heap.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| heap_init |
|
2 |
6 |
27 |
1 |
| Source file: ./sys/arch/amd64/stand/efiboot/efidev.h |
| Source file: ./sys/arch/amd64/stand/boot/conf.c |
| Source file: ./sys/arch/amd64/stand/pxeboot/pxe_udp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sendudp |
|
1 |
4 |
26 |
3 |
| readudp |
|
1 |
4 |
31 |
4 |
| Source file: ./sys/arch/amd64/stand/pxeboot/conf.c |
| Source file: ./sys/arch/amd64/stand/cdboot/conf.c |
| Source file: ./sys/arch/amd64/stand/libsa/softraid_amd64.h |
| Source file: ./sys/arch/amd64/stand/libsa/dev_i386.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| devopen |
|
13 |
23 |
159 |
3 |
| devboot |
|
14 |
46 |
285 |
2 |
| ttyname |
|
1 |
6 |
37 |
1 |
| ttydev |
|
9 |
13 |
124 |
1 |
| cnspeed |
|
2 |
6 |
30 |
2 |
| Source file: ./sys/arch/amd64/stand/libsa/machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| machdep |
|
4 |
15 |
92 |
1 |
| check_skip_conf |
|
1 |
5 |
26 |
1 |
| Source file: ./sys/arch/amd64/stand/efiboot/efidev.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| efid_init |
|
1 |
10 |
77 |
2 |
| efid_io |
|
18 |
62 |
463 |
5 |
| efid_diskio |
|
2 |
6 |
57 |
5 |
| gpt_chk_mbr |
|
9 |
23 |
137 |
2 |
| findopenbsd |
|
16 |
50 |
305 |
2 |
| findopenbsd_gpt |
|
19 |
99 |
660 |
2 |
| efi_getdisklabel |
|
13 |
41 |
285 |
2 |
| efi_getdisklabel_cd9660 |
|
8 |
44 |
342 |
2 |
| efiopen |
|
41 |
129 |
755 |
2 |
| efistrategy |
|
8 |
24 |
179 |
6 |
| eficlose |
|
1 |
5 |
18 |
1 |
| efiioctl |
|
1 |
4 |
19 |
3 |
| efi_dump_diskinfo |
|
4 |
29 |
177 |
1 |
| Source file: ./sys/arch/amd64/stand/libsa/gidt.h |
| Source file: ./sys/arch/amd64/stand/libsa/pxe_net.h |
| Source file: ./sys/arch/amd64/stand/libsa/memprobe.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| checkA20 |
|
2 |
12 |
71 |
1 |
| bios_E820 |
|
7 |
23 |
163 |
1 |
| bios_8800 |
|
3 |
13 |
82 |
1 |
| bios_int12 |
|
2 |
10 |
64 |
1 |
| addrprobe |
|
7 |
26 |
190 |
1 |
| badprobe |
|
4 |
12 |
71 |
1 |
| memprobe |
|
15 |
37 |
275 |
1 |
| dump_biosmem |
|
4 |
16 |
111 |
1 |
| mem_limit |
|
7 |
16 |
130 |
1 |
| mem_delete |
|
11 |
30 |
242 |
2 |
| mem_add |
|
11 |
32 |
226 |
2 |
| mem_pass |
|
2 |
8 |
45 |
1 |
| Source file: ./sys/arch/amd64/stand/libsa/disk.h |
| Source file: ./sys/arch/amd64/stand/libsa/time.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bcdtoint |
|
1 |
4 |
26 |
1 |
| compute |
|
4 |
11 |
96 |
6 |
| bios_time_date |
|
2 |
20 |
115 |
2 |
| biosdate |
|
1 |
4 |
19 |
1 |
| biostime |
|
1 |
4 |
19 |
1 |
| getsecs |
|
4 |
12 |
92 |
1 |
| sleep |
|
2 |
7 |
35 |
1 |
| Source file: ./sys/arch/amd64/stand/libsa/cmd_i386.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| Xdiskinfo |
|
1 |
6 |
17 |
1 |
| Xregs |
|
1 |
5 |
11 |
1 |
| Xboot |
|
17 |
47 |
387 |
1 |
| Xmemory |
|
16 |
55 |
253 |
1 |
| Xcomaddr |
|
2 |
7 |
40 |
1 |
| Source file: ./sys/arch/amd64/stand/libsa/pxeboot.h |
| Source file: ./sys/arch/amd64/stand/libsa/exec_i386.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| run_loadfile |
|
14 |
66 |
531 |
2 |
| Source file: ./sys/arch/amd64/amd64/db_disasm.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| db_read_address |
|
10 |
45 |
297 |
5 |
| db_print_address |
|
7 |
18 |
129 |
3 |
| db_disasm_3dnow |
|
1 |
10 |
83 |
5 |
| db_disasm_esc |
|
19 |
76 |
458 |
6 |
| db_disasm |
|
98 |
350 |
2024 |
2 |
| Source file: ./sys/arch/amd64/stand/libsa/biosdev.h |
| Source file: ./sys/arch/amd64/stand/libsa/libsa.h |
| Source file: ./sys/arch/amd64/stand/libsa/biosprobe.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| getSYSCONFaddr |
|
2 |
14 |
77 |
1 |
| getEBDAaddr |
|
3 |
17 |
85 |
1 |
| Source file: ./sys/arch/amd64/stand/libsa/pxe_netif.h |
| Source file: ./sys/arch/amd64/stand/libsa/softraid_amd64.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| srprobe_meta_opt_load |
|
7 |
35 |
287 |
2 |
| srprobe_keydisk_load |
|
4 |
26 |
209 |
1 |
| srprobe |
|
29 |
132 |
923 |
1 |
| sr_strategy |
|
13 |
56 |
428 |
6 |
| gpt_chk_mbr |
|
9 |
23 |
137 |
2 |
| findopenbsd_gpt |
|
16 |
95 |
660 |
2 |
| sr_getdisklabel |
|
10 |
41 |
332 |
2 |
| Source file: ./sys/arch/amd64/stand/libsa/pxe_net.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| net_open |
|
11 |
28 |
121 |
2 |
| net_close |
|
8 |
19 |
83 |
1 |
| net_ioctl |
|
1 |
4 |
19 |
3 |
| net_strategy |
|
1 |
5 |
28 |
6 |
| net_getparams |
|
3 |
9 |
35 |
1 |
| Source file: ./sys/arch/amd64/stand/efiboot/efiboot.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| efi_main |
|
14 |
53 |
303 |
2 |
| efi_cleanup |
|
4 |
13 |
65 |
1 |
| efi_diskprobe |
|
15 |
50 |
354 |
1 |
| efi_device_path_depth |
|
3 |
9 |
58 |
2 |
| efi_device_path_ncmp |
|
9 |
18 |
139 |
3 |
| efi_heap_init |
|
2 |
9 |
45 |
1 |
| efi_memprobe |
|
7 |
26 |
155 |
1 |
| efi_memprobe_internal |
|
26 |
71 |
524 |
1 |
| efi_video_init |
|
13 |
34 |
241 |
1 |
| efi_video_reset |
|
1 |
7 |
42 |
1 |
| efi_cons_probe |
|
1 |
6 |
38 |
1 |
| efi_cons_init |
|
1 |
3 |
9 |
1 |
| efi_cons_getc |
|
6 |
23 |
135 |
1 |
| efi_cons_putc |
|
2 |
9 |
54 |
2 |
| efi_cons_getshifts |
|
1 |
4 |
12 |
1 |
| efi_com_probe |
|
15 |
52 |
366 |
1 |
| efi_valid_com |
|
2 |
4 |
30 |
1 |
| comspeed |
|
6 |
26 |
165 |
2 |
| efi_com_init |
|
3 |
7 |
47 |
1 |
| efi_com_getc |
|
11 |
30 |
174 |
1 |
| efi_com_putc |
|
2 |
11 |
69 |
2 |
| efi_gop_setmode |
|
3 |
8 |
50 |
1 |
| efi_makebootargs |
|
15 |
74 |
467 |
1 |
| _rtt |
|
3 |
8 |
38 |
1 |
| getsecs |
|
6 |
22 |
233 |
1 |
| Xexit_efi |
|
2 |
7 |
33 |
1 |
| Xvideo_efi |
|
8 |
23 |
161 |
1 |
| Xpoweroff_efi |
|
1 |
5 |
26 |
1 |
| Xgop_efi |
|
9 |
36 |
231 |
1 |
| Source file: ./sys/arch/amd64/stand/libsa/diskprobe.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| diskinfo_init |
|
1 |
6 |
32 |
1 |
| floppyprobe |
|
5 |
19 |
123 |
1 |
| hardprobe |
|
10 |
47 |
302 |
1 |
| efi_hardprobe |
|
8 |
55 |
309 |
1 |
| diskprobe |
|
8 |
27 |
185 |
1 |
| cdprobe |
|
5 |
49 |
407 |
1 |
| dklookup |
|
3 |
8 |
49 |
1 |
| dump_diskinfo |
|
5 |
22 |
141 |
1 |
| bios_dklookup |
|
2 |
8 |
32 |
1 |
| disksum |
|
9 |
26 |
193 |
1 |
| bootdev_has_hibernate |
|
2 |
4 |
23 |
1 |
| check_hibernate |
|
5 |
15 |
133 |
1 |
| Source file: ./sys/arch/amd64/stand/libsa/gateA20.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| gateA20on |
|
1 |
4 |
11 |
1 |
| gateA20 |
|
11 |
27 |
192 |
1 |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/ksyms.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/bridge.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/ppp.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/cd.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/ukbd.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/uslhcom.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/pvbus.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/endrun.h |
| Source file: ./sys/arch/amd64/stand/libsa/pxe.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pxesendudp |
|
3 |
20 |
133 |
3 |
| pxereadudp |
|
3 |
25 |
185 |
4 |
| pxe_netif_open |
|
5 |
22 |
122 |
1 |
| pxe_netif_close |
|
4 |
12 |
60 |
1 |
| pxe_netif_shutdown |
|
2 |
5 |
15 |
1 |
| pxesocktodesc |
|
3 |
8 |
23 |
1 |
| pxeprobe |
|
3 |
8 |
28 |
1 |
| pxe_init |
|
26 |
103 |
626 |
1 |
| pxeinfo |
|
8 |
30 |
228 |
1 |
| pxe_shutdown |
|
10 |
29 |
161 |
1 |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/switch.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/mpbios.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/gpiosim.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/cy.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/trunk.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/pair.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/ses.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/hyperv.h |
| Source file: ./sys/arch/amd64/stand/libsa/bioscons.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pc_probe |
|
3 |
12 |
91 |
1 |
| pc_init |
|
1 |
3 |
9 |
1 |
| pc_getc |
|
3 |
16 |
124 |
1 |
| pc_getshifts |
|
1 |
7 |
43 |
1 |
| pc_putc |
|
1 |
5 |
38 |
2 |
| com_probe |
|
2 |
11 |
82 |
1 |
| com_init |
|
6 |
18 |
153 |
1 |
| com_getc |
|
4 |
9 |
75 |
1 |
| comspeed |
|
16 |
37 |
261 |
2 |
| com_putc |
|
3 |
7 |
55 |
2 |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/uk.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/pf.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/rd.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/we.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/ioapic.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/agp.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/athn_usb.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/pfsync.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/fdc.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/bktr.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/vxlan.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/ucycom.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/pckbc.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/xhci.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/carp.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/tun.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/enc.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/ether.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/st.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/video.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/ehci.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/msts.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/vnd.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/assym.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/bpfilter.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/vmt.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/softraid.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/pty.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/nvram.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/pckbd.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/viocon.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/sd.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/hidkbd.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/pppoe.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/ohci.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/acpiprt.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/midi.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/ucom.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/sti.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/acpi.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/xen.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/ahci.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/nvme.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/vga.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/vlan.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/fuse.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/vers.c |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/pppx.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/isapnp.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/efifb.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/bios.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/vether.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/mpw.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/etherip.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/ch.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/bio.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/gre.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/wd.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/isadma.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/ugen.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/wsmouse.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/vscsi.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/pflow.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/pflog.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/safte.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/fd.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/rasops_glue.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/tga.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/radio.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/ipmi.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/wsfont_glue.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/isa.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/hotplug.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/cardbus.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/mpe.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/lapic.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/pcdisplay.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/uhid.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/wskbd.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/spkr.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/gpio.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/com.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/drm.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/gif.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/usb.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/audio.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/gcu.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/uhci.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/ulpt.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/gpr.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/nmea.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/mpath.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/wsdisplay.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/lpt.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/intagp.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/acpipwrres.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/cz.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/pci.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/pctr.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/vmm.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/acpicpu.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/flash.h |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/wsmux.h |
| Source file: ./sys/arch/amd64/stand/libsa/biosdev.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| biosdreset |
|
2 |
7 |
55 |
1 |
| bios_getdiskinfo |
|
22 |
52 |
359 |
2 |
| CHS_rw |
|
3 |
21 |
129 |
7 |
| EDD_rw |
|
5 |
19 |
183 |
5 |
| biosd_io |
|
22 |
65 |
479 |
5 |
| biosd_diskio |
|
1 |
4 |
39 |
5 |
| findopenbsd |
|
17 |
53 |
326 |
2 |
| bios_getdisklabel |
|
10 |
24 |
153 |
2 |
| biosopen |
|
38 |
125 |
741 |
2 |
| biosdisk_err |
|
4 |
7 |
36 |
1 |
| biosdisk_errno |
|
4 |
8 |
48 |
1 |
| biosstrategy |
|
8 |
24 |
184 |
6 |
| biosclose |
|
1 |
5 |
18 |
1 |
| biosioctl |
|
1 |
4 |
19 |
3 |
| Source file: ./sys/arch/amd64/pci/agp_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| agp_flush_cache |
|
1 |
4 |
10 |
1 |
| agp_flush_cache_range |
|
1 |
4 |
17 |
2 |
| agp_init_map |
|
3 |
17 |
123 |
5 |
| agp_destroy_map |
|
1 |
5 |
37 |
1 |
| agp_map_subregion |
|
1 |
5 |
39 |
4 |
| agp_unmap_subregion |
|
1 |
4 |
15 |
3 |
| agp_map_atomic |
|
1 |
5 |
27 |
3 |
| agp_unmap_atomic |
|
1 |
3 |
12 |
2 |
| Source file: ./sys/arch/amd64/pci/aapic.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| aapic_match |
|
3 |
8 |
54 |
3 |
| aapic_attach |
|
3 |
20 |
156 |
3 |
| Source file: ./sys/arch/amd64/pci/pciide_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pciide_machdep_compat_intr_establish |
|
1 |
10 |
71 |
5 |
| pciide_machdep_compat_intr_disestablish |
|
1 |
4 |
18 |
2 |
| Source file: ./sys/arch/amd64/pci/vga_post.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| vm86_emu_inb |
|
4 |
8 |
40 |
2 |
| vm86_emu_inw |
|
3 |
6 |
31 |
2 |
| vm86_emu_inl |
|
3 |
6 |
31 |
2 |
| vm86_emu_outb |
|
4 |
8 |
42 |
3 |
| vm86_emu_outw |
|
3 |
6 |
34 |
3 |
| vm86_emu_outl |
|
3 |
6 |
34 |
3 |
| vga_post_init |
|
6 |
56 |
442 |
3 |
| vga_post_call |
|
1 |
11 |
100 |
1 |
| vga_post_free |
|
1 |
8 |
61 |
1 |
| ddb_vgapost |
|
2 |
7 |
21 |
1 |
| Source file: ./sys/arch/amd64/amd64/vmm.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| vmm_enabled |
|
8 |
19 |
94 |
1 |
| vmm_probe |
|
2 |
7 |
53 |
3 |
| vmm_attach |
|
11 |
52 |
357 |
3 |
| vmmopen |
|
4 |
8 |
51 |
4 |
| vmmioctl |
|
10 |
38 |
212 |
5 |
| pledge_ioctl_vmm |
|
10 |
18 |
69 |
2 |
| vmmclose |
|
1 |
4 |
21 |
4 |
| vm_resetcpu |
|
7 |
40 |
236 |
1 |
| vm_intr_pending |
|
7 |
26 |
159 |
1 |
| vm_rwregs |
|
10 |
34 |
231 |
2 |
| vm_find |
|
4 |
17 |
111 |
2 |
| vmm_start |
|
9 |
29 |
160 |
1 |
| vmm_stop |
|
9 |
29 |
154 |
1 |
| start_vmm_on_cpu |
|
9 |
37 |
192 |
1 |
| stop_vmm_on_cpu |
|
5 |
20 |
98 |
1 |
| vm_create_check_mem_ranges |
|
20 |
36 |
279 |
1 |
| vm_create |
|
7 |
56 |
400 |
2 |
| vm_impl_init_vmx |
|
7 |
46 |
305 |
2 |
| vm_impl_init_svm |
|
6 |
41 |
283 |
2 |
| vm_impl_init |
|
5 |
11 |
65 |
2 |
| vm_impl_deinit_vmx |
|
1 |
3 |
9 |
1 |
| vm_impl_deinit_svm |
|
1 |
3 |
9 |
1 |
| vm_impl_deinit |
|
5 |
11 |
54 |
1 |
| vcpu_reload_vmcs_vmx |
|
5 |
14 |
66 |
1 |
| vcpu_readregs_vmx |
|
26 |
94 |
724 |
3 |
| vcpu_readregs_svm |
|
1 |
5 |
22 |
3 |
| vcpu_writeregs_vmx |
|
29 |
100 |
719 |
4 |
| vcpu_writeregs_svm |
|
4 |
82 |
934 |
3 |
| vcpu_reset_regs_svm |
|
4 |
55 |
402 |
2 |
| svm_setmsrbr |
|
6 |
19 |
146 |
2 |
| svm_setmsrbw |
|
6 |
19 |
146 |
2 |
| svm_setmsrbrw |
|
1 |
5 |
26 |
2 |
| vmx_setmsrbr |
|
4 |
14 |
104 |
2 |
| vmx_setmsrbw |
|
4 |
14 |
106 |
2 |
| vmx_setmsrbrw |
|
1 |
5 |
26 |
2 |
| svm_set_clean |
|
2 |
8 |
49 |
2 |
| svm_set_dirty |
|
2 |
8 |
49 |
2 |
| vcpu_reset_regs_vmx |
|
57 |
368 |
2059 |
2 |
| vcpu_init_vmx |
|
30 |
147 |
887 |
1 |
| vcpu_reset_regs |
|
5 |
13 |
75 |
2 |
| vcpu_init_svm |
|
14 |
75 |
485 |
1 |
| vcpu_init |
|
5 |
16 |
88 |
1 |
| vcpu_deinit_vmx |
|
6 |
17 |
122 |
1 |
| vcpu_deinit_svm |
|
5 |
16 |
120 |
1 |
| vcpu_deinit |
|
5 |
11 |
54 |
1 |
| vm_teardown |
|
3 |
18 |
120 |
1 |
| vcpu_vmx_check_cap |
|
13 |
50 |
205 |
4 |
| vcpu_vmx_compute_ctrl |
|
35 |
89 |
458 |
5 |
| vm_get_info |
|
6 |
52 |
366 |
1 |
| vm_terminate |
|
7 |
34 |
201 |
1 |
| vm_run |
|
19 |
69 |
424 |
1 |
| vcpu_must_stop |
|
3 |
9 |
48 |
1 |
| vmm_fpusave |
|
4 |
19 |
118 |
1 |
| vcpu_run_vmx |
|
76 |
303 |
1490 |
2 |
| vmx_handle_intr |
|
2 |
15 |
81 |
1 |
| svm_handle_hlt |
|
2 |
12 |
66 |
1 |
| vmx_handle_hlt |
|
5 |
24 |
120 |
1 |
| vmx_get_exit_info |
|
3 |
10 |
54 |
2 |
| svm_handle_exit |
|
17 |
73 |
318 |
1 |
| vmx_handle_exit |
|
22 |
101 |
429 |
1 |
| vmm_inject_ud |
|
1 |
7 |
33 |
1 |
| vmm_inject_db |
|
1 |
7 |
33 |
1 |
| vmm_get_guest_memtype |
|
6 |
18 |
116 |
2 |
| vmm_get_guest_faulttype |
|
3 |
9 |
39 |
1 |
| vmx_get_exit_qualification |
|
2 |
8 |
36 |
1 |
| vmx_get_guest_faulttype |
|
4 |
15 |
69 |
1 |
| svm_get_guest_faulttype |
|
2 |
6 |
26 |
1 |
| svm_fault_page |
|
2 |
12 |
88 |
2 |
| svm_handle_np_fault |
|
2 |
19 |
93 |
1 |
| vmx_fault_page |
|
3 |
15 |
94 |
2 |
| vmx_handle_np_fault |
|
3 |
21 |
97 |
1 |
| svm_handle_inout |
|
16 |
45 |
315 |
1 |
| vmx_handle_inout |
|
18 |
50 |
370 |
1 |
| vmx_load_pdptes |
|
12 |
66 |
382 |
1 |
| vmx_handle_cr0_write |
|
12 |
42 |
247 |
2 |
| vmx_handle_cr4_write |
|
2 |
9 |
44 |
2 |
| vmx_handle_cr |
|
28 |
68 |
478 |
1 |
| vmx_handle_rdmsr |
|
5 |
24 |
137 |
1 |
| vmx_handle_xsetbv |
|
3 |
18 |
94 |
1 |
| svm_handle_xsetbv |
|
1 |
11 |
63 |
1 |
| vmm_handle_xsetbv |
|
4 |
18 |
112 |
2 |
| vmx_handle_misc_enable_msr |
|
1 |
11 |
79 |
1 |
| vmx_handle_wrmsr |
|
5 |
28 |
145 |
1 |
| svm_handle_msr |
|
4 |
25 |
154 |
1 |
| vmm_handle_cpuid |
|
42 |
257 |
1483 |
1 |
| vcpu_run_svm |
|
39 |
157 |
883 |
2 |
| vmm_alloc_vpid |
|
5 |
24 |
160 |
1 |
| vmm_free_vpid |
|
1 |
11 |
74 |
1 |
| vmx_exit_reason_decode |
|
61 |
67 |
378 |
1 |
| svm_exit_reason_decode |
|
143 |
148 |
870 |
1 |
| vmx_instruction_error_decode |
|
18 |
23 |
120 |
1 |
| vcpu_state_decode |
|
6 |
11 |
48 |
1 |
| dump_vcpu |
|
4 |
100 |
750 |
1 |
| vmx_dump_vmcs_field |
|
6 |
17 |
99 |
2 |
| vmx_dump_vmcs |
|
46 |
442 |
2383 |
1 |
| vmx_vcpu_dump_regs |
|
43 |
266 |
1520 |
1 |
| msr_name_decode |
|
25 |
30 |
162 |
1 |
| vmm_segment_desc_decode |
|
25 |
59 |
400 |
1 |
| vmm_decode_cr0 |
|
3 |
24 |
166 |
1 |
| vmm_decode_cr3 |
|
5 |
24 |
140 |
1 |
| vmm_decode_cr4 |
|
3 |
32 |
230 |
1 |
| vmm_decode_apicbase_msr_value |
|
3 |
16 |
102 |
1 |
| vmm_decode_ia32_fc_value |
|
4 |
20 |
130 |
1 |
| vmm_decode_mtrrcap_value |
|
4 |
19 |
119 |
1 |
| vmm_decode_perf_status_value |
|
1 |
4 |
18 |
1 |
| vmm_decode_perf_ctl_value |
|
2 |
5 |
33 |
1 |
| vmm_decode_mtrrdeftype_value |
|
9 |
29 |
180 |
1 |
| vmm_decode_efer_value |
|
3 |
17 |
111 |
1 |
| vmm_decode_msr_value |
|
9 |
14 |
103 |
2 |
| vmm_decode_rflags |
|
3 |
31 |
227 |
1 |
| vmm_decode_misc_enable_value |
|
3 |
23 |
159 |
1 |
| Source file: ./sys/arch/amd64/pci/pci_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pci_attach_hook |
|
10 |
34 |
186 |
3 |
| pci_bus_maxdevs |
|
1 |
4 |
15 |
2 |
| pci_make_tag |
|
4 |
7 |
61 |
4 |
| pci_decompose_tag |
|
4 |
9 |
76 |
5 |
| pci_conf_size |
|
4 |
10 |
49 |
2 |
| pci_mcfg_map_bus |
|
3 |
8 |
50 |
1 |
| pci_conf_read |
|
5 |
21 |
131 |
3 |
| pci_conf_write |
|
5 |
19 |
127 |
4 |
| msi_hwmask |
|
1 |
3 |
12 |
2 |
| msi_hwunmask |
|
1 |
3 |
12 |
2 |
| msi_addroute |
|
3 |
19 |
169 |
5 |
| msi_delroute |
|
2 |
9 |
69 |
5 |
| pci_intr_map_msi |
|
4 |
12 |
82 |
2 |
| msix_hwmask |
|
1 |
3 |
12 |
2 |
| msix_hwunmask |
|
1 |
3 |
12 |
2 |
| msix_addroute |
|
4 |
33 |
303 |
5 |
| msix_delroute |
|
4 |
27 |
226 |
5 |
| pci_intr_map_msix |
|
5 |
16 |
116 |
3 |
| pci_intr_map |
|
29 |
81 |
472 |
2 |
| pci_intr_string |
|
6 |
18 |
138 |
2 |
| pci_intr_establish |
|
9 |
33 |
262 |
6 |
| pci_intr_disestablish |
|
1 |
4 |
16 |
2 |
| pci_init_extents |
|
11 |
39 |
234 |
1 |
| pci_dev_postattach |
|
2 |
4 |
21 |
2 |
| pci_min_powerstate |
|
2 |
5 |
26 |
2 |
| pci_set_powerstate_md |
|
2 |
4 |
27 |
4 |
| Source file: ./sys/arch/amd64/pci/pchb.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pchbmatch |
|
3 |
8 |
54 |
3 |
| pchbattach |
|
21 |
97 |
605 |
3 |
| pchbactivate |
|
3 |
19 |
101 |
2 |
| pchb_print |
|
2 |
8 |
49 |
2 |
| pchb_rnd |
|
3 |
14 |
95 |
1 |
| pchb_amd64ht_attach |
|
4 |
25 |
190 |
3 |
| Source file: ./sys/arch/amd64/pci/pcib.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pcibmatch |
|
12 |
31 |
146 |
3 |
| pcibattach |
|
1 |
5 |
30 |
3 |
| pcib_callback |
|
2 |
10 |
61 |
1 |
| pcib_print |
|
2 |
6 |
29 |
2 |
| Source file: ./sys/arch/arm64/dev/simplebusvar.h |
| Source file: ./sys/arch/arm64/dev/com_fdt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| com_fdt_init_cons |
|
4 |
17 |
112 |
1 |
| com_fdt_match |
|
4 |
8 |
63 |
3 |
| com_fdt_attach |
|
9 |
40 |
356 |
3 |
| com_fdt_intr_designware |
|
1 |
6 |
34 |
1 |
| com_fdt_cngetc |
|
1 |
4 |
15 |
1 |
| com_fdt_cnputc |
|
1 |
4 |
19 |
2 |
| com_fdt_cnpollc |
|
1 |
3 |
10 |
2 |
| Source file: ./sys/arch/arm64/dev/ampintc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ampintc_match |
|
3 |
9 |
65 |
3 |
| ampintc_attach |
|
7 |
57 |
567 |
3 |
| ampintc_set_priority |
|
1 |
7 |
49 |
2 |
| ampintc_setipl |
|
1 |
11 |
65 |
1 |
| ampintc_intr_enable |
|
2 |
8 |
58 |
1 |
| ampintc_intr_disable |
|
1 |
6 |
38 |
1 |
| ampintc_intr_config |
|
2 |
12 |
84 |
2 |
| ampintc_calc_mask |
|
7 |
33 |
194 |
1 |
| ampintc_splx |
|
2 |
7 |
37 |
1 |
| ampintc_spllower |
|
1 |
7 |
33 |
1 |
| ampintc_splraise |
|
2 |
10 |
45 |
1 |
| ampintc_iack |
|
1 |
7 |
36 |
1 |
| ampintc_eoi |
|
1 |
5 |
29 |
1 |
| ampintc_route |
|
2 |
13 |
98 |
3 |
| ampintc_irq_handler |
|
9 |
37 |
200 |
1 |
| ampintc_intr_establish_ext |
|
1 |
5 |
49 |
6 |
| ampintc_intr_establish_fdt |
|
4 |
19 |
133 |
6 |
| ampintc_intr_establish |
|
5 |
26 |
188 |
6 |
| ampintc_intr_disestablish |
|
3 |
15 |
105 |
1 |
| ampintc_intr_string |
|
1 |
7 |
51 |
1 |
| ampintc_msi_match |
|
1 |
5 |
34 |
3 |
| ampintc_msi_attach |
|
3 |
29 |
257 |
3 |
| ampintc_intr_establish_msi |
|
4 |
20 |
157 |
7 |
| ampintc_intr_disestablish_msi |
|
1 |
5 |
27 |
1 |
| Source file: ./sys/arch/arm64/dev/simplebus.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| simplebus_match |
|
3 |
9 |
64 |
3 |
| simplebus_attach |
|
10 |
59 |
526 |
3 |
| simplebus_submatch |
|
2 |
8 |
69 |
3 |
| simplebus_attach_node |
|
15 |
61 |
584 |
2 |
| simplebus_bs_map |
|
10 |
36 |
320 |
5 |
| simplebus_dmamap_load_buffer |
|
10 |
42 |
362 |
9 |
| Source file: ./sys/arch/amd64/compile/GCOV/obj/ioconf.c |
| Source file: ./sys/arch/amd64/compile/COVERAGE1/obj/ioconf.c |
| Source file: ./sys/arch/arm64/dev/pluart.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pluart_init_cons |
|
3 |
10 |
57 |
1 |
| pluartprobe |
|
1 |
5 |
34 |
3 |
| pluartattach |
|
7 |
36 |
315 |
3 |
| pluart_intr |
|
15 |
46 |
316 |
1 |
| pluart_param |
|
12 |
39 |
217 |
2 |
| pluart_start |
|
8 |
33 |
258 |
1 |
| pluart_pwroff |
|
1 |
3 |
9 |
1 |
| pluart_diag |
|
3 |
17 |
97 |
1 |
| pluart_raisedtr |
|
1 |
3 |
8 |
1 |
| pluart_softint |
|
11 |
37 |
258 |
1 |
| pluartopen |
|
23 |
105 |
779 |
4 |
| pluartclose |
|
3 |
21 |
153 |
4 |
| pluartread |
|
2 |
8 |
58 |
3 |
| pluartwrite |
|
2 |
8 |
58 |
3 |
| pluartioctl |
|
16 |
46 |
217 |
5 |
| pluartstop |
|
1 |
4 |
15 |
2 |
| pluarttty |
|
3 |
12 |
61 |
1 |
| pluart_sc |
|
2 |
10 |
50 |
1 |
| pluartcnprobe |
|
1 |
5 |
26 |
1 |
| pluartcninit |
|
1 |
3 |
9 |
1 |
| pluartcnattach |
|
2 |
18 |
116 |
4 |
| pluartcngetc |
|
2 |
12 |
56 |
1 |
| pluartcnputc |
|
2 |
10 |
56 |
2 |
| pluartcnpollc |
|
1 |
3 |
10 |
2 |
| Source file: ./sys/arch/arm64/dev/mainbus.h |
| Source file: ./sys/arch/arm64/dev/bcm2835_dwctwo.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bcm_dwctwo_match |
|
2 |
6 |
50 |
3 |
| bcm_dwctwo_attach |
|
3 |
18 |
188 |
3 |
| bcm_dwctwo_deferred |
|
2 |
12 |
88 |
1 |
| Source file: ./sys/arch/arm64/dev/pciecam.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pciecam_match |
|
1 |
5 |
34 |
3 |
| pciecam_attach |
|
12 |
100 |
953 |
3 |
| pciecam_attach_hook |
|
1 |
4 |
19 |
3 |
| pciecam_bus_maxdevs |
|
1 |
3 |
16 |
2 |
| pciecam_make_tag |
|
1 |
4 |
39 |
4 |
| pciecam_decompose_tag |
|
4 |
9 |
77 |
5 |
| pciecam_conf_size |
|
1 |
4 |
14 |
2 |
| pciecam_conf_read |
|
1 |
7 |
68 |
3 |
| pciecam_conf_write |
|
1 |
7 |
72 |
4 |
| pciecam_intr_map |
|
1 |
12 |
74 |
2 |
| pciecam_intr_map_msi |
|
2 |
16 |
108 |
2 |
| pciecam_intr_map_msix |
|
1 |
6 |
30 |
3 |
| pciecam_intr_string |
|
2 |
7 |
35 |
2 |
| pciecam_intr_establish |
|
5 |
46 |
384 |
6 |
| pciecam_intr_disestablish |
|
1 |
3 |
12 |
2 |
| pciecam_bs_map |
|
4 |
16 |
126 |
5 |
| Source file: ./sys/arch/arm64/dev/mainbus.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mainbus_match |
|
1 |
4 |
22 |
3 |
| mainbus_attach |
|
7 |
36 |
329 |
3 |
| mainbus_attach_node |
|
11 |
51 |
481 |
3 |
| mainbus_match_status |
|
4 |
13 |
114 |
3 |
| mainbus_attach_cpus |
|
3 |
16 |
124 |
2 |
| mainbus_match_primary |
|
3 |
9 |
82 |
3 |
| mainbus_match_secondary |
|
3 |
9 |
82 |
3 |
| mainbus_attach_framebuffer |
|
3 |
8 |
54 |
1 |
| Source file: ./sys/arch/arm64/dev/arm64_bus_space.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| generic_space_read_1 |
|
1 |
4 |
26 |
3 |
| generic_space_read_2 |
|
1 |
4 |
26 |
3 |
| generic_space_read_4 |
|
1 |
4 |
26 |
3 |
| generic_space_read_8 |
|
1 |
4 |
26 |
3 |
| generic_space_write_1 |
|
1 |
5 |
30 |
4 |
| generic_space_write_2 |
|
1 |
5 |
30 |
4 |
| generic_space_write_4 |
|
1 |
5 |
30 |
4 |
| generic_space_write_8 |
|
1 |
5 |
30 |
4 |
| generic_space_read_raw_2 |
|
2 |
10 |
64 |
5 |
| generic_space_write_raw_2 |
|
2 |
10 |
65 |
5 |
| generic_space_read_raw_4 |
|
2 |
10 |
64 |
5 |
| generic_space_write_raw_4 |
|
2 |
10 |
65 |
5 |
| generic_space_read_raw_8 |
|
2 |
10 |
64 |
5 |
| generic_space_write_raw_8 |
|
2 |
10 |
65 |
5 |
| generic_space_map |
|
4 |
19 |
149 |
5 |
| generic_space_unmap |
|
1 |
9 |
75 |
3 |
| generic_space_region |
|
1 |
6 |
30 |
5 |
| generic_space_vaddr |
|
1 |
4 |
17 |
2 |
| a4x_space_read_1 |
|
1 |
4 |
30 |
3 |
| a4x_space_read_2 |
|
1 |
4 |
30 |
3 |
| a4x_space_read_4 |
|
1 |
4 |
30 |
3 |
| a4x_space_read_8 |
|
1 |
4 |
30 |
3 |
| a4x_space_write_1 |
|
1 |
5 |
34 |
4 |
| a4x_space_write_2 |
|
1 |
5 |
34 |
4 |
| a4x_space_write_4 |
|
1 |
5 |
34 |
4 |
| a4x_space_write_8 |
|
1 |
5 |
34 |
4 |
| a4x_space_read_raw_2 |
|
2 |
10 |
68 |
5 |
| a4x_space_write_raw_2 |
|
2 |
10 |
69 |
5 |
| a4x_space_read_raw_4 |
|
2 |
10 |
68 |
5 |
| a4x_space_write_raw_4 |
|
2 |
10 |
69 |
5 |
| a4x_space_read_raw_8 |
|
2 |
10 |
68 |
5 |
| a4x_space_write_raw_8 |
|
2 |
10 |
69 |
5 |
| Source file: ./sys/arch/arm64/include/vfp.h |
| Source file: ./sys/arch/arm64/include/pmap.h |
| Source file: ./sys/arch/arm64/include/disklabel.h |
| Source file: ./sys/arch/arm64/include/apmvar.h |
| Source file: ./sys/arch/arm64/include/kcore.h |
| Source file: ./sys/arch/arm64/dev/agtimer.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| agtimer_readcnt64 |
|
1 |
7 |
35 |
1 |
| agtimer_get_freq |
|
1 |
6 |
25 |
1 |
| agtimer_get_ctrl |
|
1 |
6 |
25 |
1 |
| agtimer_set_ctrl |
|
1 |
6 |
34 |
1 |
| agtimer_set_tval |
|
1 |
6 |
34 |
1 |
| agtimer_match |
|
2 |
6 |
50 |
3 |
| agtimer_attach |
|
3 |
19 |
144 |
3 |
| agtimer_get_timecount |
|
1 |
4 |
14 |
1 |
| agtimer_intr |
|
10 |
41 |
239 |
1 |
| agtimer_set_clockrate |
|
2 |
11 |
56 |
1 |
| agtimer_cpu_initclocks |
|
2 |
25 |
160 |
0 |
| agtimer_delay |
|
7 |
26 |
146 |
1 |
| agtimer_setstatclockrate |
|
2 |
14 |
90 |
1 |
| agtimer_startclock |
|
1 |
14 |
88 |
1 |
| agtimer_init |
|
2 |
9 |
40 |
1 |
| Source file: ./sys/arch/arm64/include/profile.h |
| Source file: ./sys/arch/arm64/include/fdt.h |
| Source file: ./sys/arch/arm64/include/vmparam.h |
| Source file: ./sys/arch/arm64/include/internal_types.h |
| Source file: ./sys/arch/arm64/include/lock.h |
| Source file: ./sys/arch/arm64/include/_float.h |
| Source file: ./sys/arch/arm64/include/machine_reg.h |
| Source file: ./sys/arch/arm64/include/softintr.h |
| Source file: ./sys/arch/arm64/include/exec.h |
| Source file: ./sys/arch/arm64/include/armreg.h |
| Source file: ./sys/arch/arm64/include/spinlock.h |
| Source file: ./sys/arch/arm64/include/float.h |
| Source file: ./sys/arch/arm64/include/tcb.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __aarch64_set_tcb |
|
1 |
4 |
20 |
1 |
| __aarch64_read_tcb |
|
1 |
6 |
24 |
1 |
| Source file: ./sys/arch/arm64/include/stdarg.h |
| Source file: ./sys/arch/arm64/include/pte.h |
| Source file: ./sys/arch/arm64/include/ieee.h |
| Source file: ./sys/arch/arm64/include/_types.h |
| Source file: ./sys/arch/arm64/dev/bcm2836_intr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bcm_intc_match |
|
2 |
7 |
41 |
3 |
| bcm_intc_attach |
|
9 |
56 |
472 |
3 |
| bcm_intc_intr_enable |
|
5 |
14 |
138 |
2 |
| bcm_intc_intr_disable |
|
5 |
14 |
138 |
2 |
| bcm_intc_calc_mask |
|
9 |
33 |
202 |
1 |
| bcm_intc_splx |
|
2 |
7 |
37 |
1 |
| bcm_intc_spllower |
|
1 |
7 |
33 |
1 |
| bcm_intc_splraise |
|
2 |
10 |
45 |
1 |
| bcm_intc_setipl |
|
2 |
24 |
198 |
1 |
| bcm_intc_get_next_irq |
|
18 |
52 |
312 |
1 |
| bcm_intc_call_handler |
|
6 |
27 |
154 |
2 |
| bcm_intc_irq_handler |
|
2 |
6 |
35 |
1 |
| bcm_intc_intr_establish_fdt |
|
5 |
18 |
136 |
6 |
| l1_intc_intr_establish_fdt |
|
1 |
7 |
59 |
6 |
| bcm_intc_intr_establish |
|
5 |
25 |
176 |
5 |
| bcm_intc_intr_disestablish |
|
2 |
13 |
85 |
1 |
| Source file: ./sys/arch/arm64/include/ieeefp.h |
| Source file: ./sys/arch/arm64/include/loadfile_machdep.h |
| Source file: ./sys/arch/arm64/include/fenv.h |
| Source file: ./sys/arch/arm64/include/mutex.h |
| Source file: ./sys/arch/arm64/include/bootconfig.h |
| Source file: ./sys/arch/arm64/include/openpromio.h |
| Source file: ./sys/arch/arm64/include/cpufunc.h |
| Source file: ./sys/arch/arm64/include/cdefs.h |
| Source file: ./sys/arch/arm64/include/machdep.h |
| Source file: ./sys/arch/arm64/include/endian.h |
| Source file: ./sys/arch/arm64/include/frame.h |
| Source file: ./sys/arch/arm64/include/ptrace.h |
| Source file: ./sys/arch/arm64/include/limits.h |
| Source file: ./sys/arch/arm64/include/conf.h |
| Source file: ./sys/arch/arm64/include/cpu.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| curcpu |
|
1 |
6 |
29 |
1 |
| get_daif |
|
1 |
6 |
22 |
0 |
| restore_daif |
|
1 |
4 |
18 |
1 |
| enable_irq_daif |
|
1 |
4 |
11 |
0 |
| disable_irq_daif |
|
1 |
4 |
11 |
0 |
| disable_irq_daif_ret |
|
1 |
7 |
28 |
0 |
| Source file: ./sys/arch/arm64/include/atomic.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| atomic_setbits_int |
|
1 |
13 |
53 |
2 |
| atomic_clearbits_int |
|
1 |
13 |
53 |
2 |
| Source file: ./sys/arch/arm64/include/intr.h |
| Source file: ./sys/arch/arm64/include/proc.h |
| Source file: ./sys/arch/arm64/include/pci_machdep.h |
| Source file: ./sys/arch/arm64/include/hypervisor.h |
| Source file: ./sys/arch/arm64/include/setjmp.h |
| Source file: ./sys/arch/arm64/include/mplock.h |
| Source file: ./sys/arch/arm64/include/reloc.h |
| Source file: ./sys/arch/arm64/include/pcb.h |
| Source file: ./sys/arch/arm64/include/signal.h |
| Source file: ./sys/arch/arm64/include/db_machdep.h |
| Source file: ./sys/arch/arm64/include/param.h |
| Source file: ./sys/arch/arm64/include/asm.h |
| Source file: ./sys/arch/arm64/include/sysarch.h |
| Source file: ./sys/arch/arm64/include/swi.h |
| Source file: ./sys/arch/arm64/include/trap.h |
| Source file: ./sys/arch/arm64/include/reg.h |
| Source file: ./sys/arch/arm64/dev/agintc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| agintc_match |
|
3 |
9 |
65 |
3 |
| __isb |
|
1 |
4 |
12 |
1 |
| agintc_attach |
|
12 |
85 |
726 |
3 |
| agintc_cpuinit |
|
10 |
46 |
361 |
1 |
| agintc_set_priority |
|
2 |
14 |
104 |
3 |
| agintc_setipl |
|
2 |
14 |
80 |
1 |
| agintc_intr_enable |
|
2 |
13 |
91 |
2 |
| agintc_intr_disable |
|
2 |
12 |
92 |
2 |
| agintc_calc_mask |
|
2 |
7 |
38 |
1 |
| agintc_calc_irq |
|
8 |
28 |
191 |
2 |
| agintc_splx |
|
2 |
7 |
37 |
1 |
| agintc_spllower |
|
1 |
7 |
33 |
1 |
| agintc_splraise |
|
2 |
9 |
43 |
1 |
| agintc_iack |
|
1 |
7 |
33 |
1 |
| agintc_route |
|
3 |
12 |
98 |
4 |
| agintc_irq_handler |
|
9 |
44 |
236 |
1 |
| agintc_intr_establish_fdt |
|
3 |
14 |
103 |
6 |
| agintc_intr_establish |
|
5 |
24 |
181 |
5 |
| agintc_intr_disestablish |
|
2 |
14 |
92 |
1 |
| agintc_eoi |
|
1 |
5 |
27 |
1 |
| agintc_r_ictlr |
|
1 |
7 |
31 |
1 |
| agintc_d_wait_rwp |
|
4 |
10 |
62 |
1 |
| agintc_r_wait_rwp |
|
4 |
13 |
86 |
1 |
| agintc_send_ipi |
|
1 |
5 |
40 |
2 |
| Source file: ./sys/arch/arm64/arm64/syscall.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| svc_handler |
|
11 |
63 |
395 |
1 |
| child_return |
|
1 |
10 |
59 |
1 |
| Source file: ./sys/arch/arm64/arm64/cpu.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cpu_identify |
|
9 |
36 |
245 |
1 |
| cpu_match |
|
3 |
9 |
65 |
3 |
| cpu_attach |
|
2 |
17 |
108 |
3 |
| Source file: ./sys/arch/arm64/arm64/autoconf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| unmap_startup |
|
3 |
9 |
48 |
1 |
| cpu_configure |
|
1 |
9 |
39 |
1 |
| diskconf |
|
6 |
22 |
121 |
1 |
| device_register |
|
1 |
3 |
13 |
2 |
| Source file: ./sys/arch/arm64/arm64/arm64_mutex.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __mtx_init |
|
1 |
6 |
30 |
2 |
| mtx_enter |
|
5 |
11 |
51 |
1 |
| mtx_enter_try |
|
8 |
20 |
125 |
1 |
| mtx_leave |
|
4 |
11 |
53 |
1 |
| Source file: ./sys/arch/arm64/arm64/arm64var.h |
| Source file: ./sys/arch/arm64/arm64/disksubr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| readdisklabel |
|
8 |
26 |
157 |
4 |
| writedisklabel |
|
4 |
34 |
262 |
3 |
| Source file: ./sys/arch/arm64/arm64/sys_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sys_sysarch |
|
1 |
12 |
53 |
3 |
| Source file: ./sys/arch/arm64/include/bus.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bus_space_copy_1 |
|
2 |
8 |
63 |
6 |
| bus_space_copy_2 |
|
2 |
8 |
64 |
6 |
| bus_space_copy_4 |
|
2 |
8 |
64 |
6 |
| bus_space_copy_8 |
|
2 |
8 |
64 |
6 |
| bus_space_barrier |
|
1 |
5 |
28 |
5 |
| Source file: ./sys/arch/arm64/arm64/mem.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mmopen |
|
13 |
24 |
114 |
4 |
| mmclose |
|
3 |
6 |
36 |
4 |
| mmrw |
|
18 |
69 |
440 |
3 |
| mmmmap |
|
4 |
10 |
66 |
3 |
| mmioctl |
|
1 |
4 |
26 |
5 |
| Source file: ./sys/arch/arm64/arm64/process_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| process_read_regs |
|
1 |
11 |
105 |
2 |
| process_read_fpregs |
|
2 |
8 |
65 |
2 |
| process_write_regs |
|
1 |
4 |
19 |
2 |
| process_write_fpregs |
|
1 |
4 |
19 |
2 |
| process_sstep |
|
2 |
6 |
24 |
2 |
| process_set_pc |
|
1 |
4 |
17 |
2 |
| Source file: ./sys/arch/arm64/arm64/vm_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cpu_fork |
|
3 |
26 |
214 |
6 |
| cpu_exit |
|
2 |
7 |
36 |
1 |
| vmapbuf |
|
3 |
21 |
168 |
2 |
| vunmapbuf |
|
2 |
14 |
111 |
2 |
| Source file: ./sys/arch/arm64/arm64/conf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| iskmemdev |
|
3 |
4 |
33 |
1 |
| iszerodev |
|
2 |
4 |
24 |
1 |
| getnulldev |
|
1 |
4 |
14 |
1 |
| dev_rawpart |
|
3 |
14 |
55 |
1 |
| Source file: ./sys/arch/arm64/arm64/arm64_machdep.h |
| Source file: ./sys/arch/arm64/arm64/db_interface.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| kdb_trap |
|
4 |
23 |
93 |
2 |
| db_validate_address |
|
5 |
11 |
74 |
1 |
| db_read_bytes |
|
13 |
30 |
230 |
3 |
| db_write_text |
|
1 |
4 |
16 |
3 |
| db_write_bytes |
|
6 |
23 |
127 |
3 |
| db_enter |
|
1 |
4 |
11 |
1 |
| db_trapper |
|
2 |
9 |
52 |
4 |
| db_machine_init |
|
1 |
4 |
11 |
1 |
| db_branch_taken |
|
1 |
4 |
19 |
3 |
| Source file: ./sys/arch/arm64/arm64/db_trace.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| db_stack_trace_print |
|
20 |
79 |
544 |
5 |
| Source file: ./sys/arch/arm64/arm64/sig_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| process_frame |
|
1 |
4 |
18 |
1 |
| sendsig |
|
7 |
42 |
393 |
6 |
| sys_sigreturn |
|
7 |
33 |
278 |
3 |
| Source file: ./sys/arch/arm64/arm64/softintr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| softintr_init |
|
2 |
11 |
64 |
1 |
| softintr_dispatch |
|
3 |
22 |
131 |
1 |
| softintr_biglock_wrap |
|
1 |
7 |
32 |
1 |
| softintr_establish_flags |
|
9 |
35 |
174 |
4 |
| softintr_disestablish |
|
2 |
12 |
75 |
1 |
| softintr |
|
1 |
4 |
20 |
1 |
| Source file: ./sys/arch/arm64/arm64/openprom.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| openpromattach |
|
1 |
3 |
7 |
1 |
| openpromopen |
|
1 |
4 |
23 |
4 |
| openpromclose |
|
1 |
4 |
23 |
4 |
| openpromcheckid |
|
4 |
7 |
50 |
2 |
| openpromgetstr |
|
2 |
11 |
81 |
3 |
| openpromioctl |
|
34 |
136 |
841 |
5 |
| Source file: ./sys/arch/arm64/arm64/vfp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| set_vfp_enable |
|
2 |
12 |
59 |
1 |
| get_vfp_enable |
|
2 |
9 |
41 |
0 |
| vfp_init |
|
2 |
7 |
24 |
1 |
| vfp_store |
|
2 |
45 |
76 |
1 |
| vfp_save |
|
9 |
23 |
138 |
1 |
| vfp_enable |
|
3 |
9 |
43 |
0 |
| vfp_load |
|
1 |
51 |
125 |
1 |
| vfp_fault |
|
3 |
18 |
105 |
4 |
| vfp_discard |
|
3 |
8 |
46 |
1 |
| Source file: ./sys/arch/arm64/arm64/intr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| arm_cpu_intr |
|
1 |
4 |
16 |
1 |
| arm_dflt_intr |
|
1 |
4 |
13 |
1 |
| arm_intr_get_parent |
|
3 |
9 |
42 |
1 |
| arm_intr_msi_get_parent |
|
3 |
9 |
42 |
1 |
| arm_intr_prereg_establish_fdt |
|
2 |
17 |
137 |
6 |
| arm_intr_prereg_disestablish_fdt |
|
4 |
10 |
75 |
1 |
| arm_intr_init_fdt_recurse |
|
3 |
15 |
94 |
1 |
| arm_intr_init_fdt |
|
2 |
6 |
23 |
1 |
| arm_intr_register_fdt |
|
4 |
20 |
164 |
1 |
| arm_intr_establish_fdt |
|
1 |
5 |
44 |
5 |
| arm_intr_establish_fdt_idx |
|
17 |
58 |
378 |
6 |
| arm_intr_establish_fdt_imap |
|
15 |
56 |
443 |
8 |
| arm_intr_establish_fdt_msi |
|
4 |
21 |
151 |
7 |
| arm_intr_disestablish_fdt |
|
1 |
7 |
46 |
1 |
| arm_intr_parent_establish_fdt |
|
4 |
22 |
151 |
6 |
| arm_intr_parent_disestablish_fdt |
|
1 |
7 |
46 |
1 |
| arm_intr_route |
|
2 |
7 |
51 |
3 |
| arm_dflt_splraise |
|
2 |
10 |
44 |
1 |
| arm_dflt_spllower |
|
1 |
8 |
33 |
1 |
| arm_dflt_splx |
|
2 |
7 |
38 |
1 |
| arm_dflt_setipl |
|
1 |
5 |
22 |
1 |
| arm_do_pending_intr |
|
2 |
14 |
80 |
1 |
| arm_set_intr_handler |
|
1 |
10 |
78 |
5 |
| arm_init_smask |
|
7 |
19 |
111 |
1 |
| splraise |
|
1 |
4 |
15 |
1 |
| _spllower |
|
1 |
4 |
15 |
1 |
| spllower |
|
1 |
4 |
15 |
1 |
| splx |
|
1 |
4 |
14 |
1 |
| arm_splassert_check |
|
4 |
11 |
75 |
2 |
| arm_clock_register |
|
2 |
10 |
72 |
4 |
| delay |
|
1 |
4 |
14 |
1 |
| cpu_initclocks |
|
2 |
6 |
25 |
1 |
| arm_dflt_delay |
|
3 |
7 |
34 |
1 |
| resettodr |
|
4 |
10 |
45 |
1 |
| setstatclockrate |
|
2 |
7 |
29 |
1 |
| intr_barrier |
|
1 |
4 |
13 |
1 |
| Source file: ./sys/arch/arm64/arm64/ast.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ast |
|
1 |
9 |
54 |
1 |
| Source file: ./sys/arch/arm64/arm64/trap.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cpu_fetch_syscall_args |
|
6 |
27 |
207 |
2 |
| svc_handler |
|
1 |
10 |
51 |
1 |
| data_abort |
|
15 |
64 |
373 |
4 |
| do_el1h_sync |
|
9 |
32 |
153 |
1 |
| do_el0_sync |
|
8 |
45 |
224 |
1 |
| do_el0_error |
|
1 |
4 |
14 |
1 |
| Source file: ./sys/arch/arm64/arm64/db_disasm.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| db_disasm |
|
1 |
4 |
15 |
2 |
| Source file: ./sys/arch/arm64/stand/efiboot/fdt.h |
| Source file: ./sys/arch/arm64/arm64/machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| inittodr |
|
11 |
43 |
234 |
1 |
| fdt_find_cons |
|
11 |
36 |
204 |
1 |
| consinit |
|
2 |
10 |
38 |
1 |
| cpu_idle_enter |
|
1 |
3 |
5 |
0 |
| cpu_idle_cycle |
|
1 |
5 |
16 |
0 |
| cpu_idle_leave |
|
1 |
3 |
5 |
0 |
| cpu_startup |
|
4 |
30 |
218 |
0 |
| cpu_sysctl |
|
2 |
10 |
58 |
7 |
| boot |
|
12 |
45 |
216 |
1 |
| setregs |
|
2 |
15 |
111 |
4 |
| need_resched |
|
2 |
7 |
30 |
1 |
| cpu_dump |
|
4 |
33 |
285 |
1 |
| dumpconf |
|
6 |
17 |
101 |
1 |
| dumpsys |
|
24 |
90 |
509 |
1 |
| cpu_dumpsize |
|
2 |
9 |
57 |
1 |
| cpu_dump_mempagecnt |
|
1 |
4 |
8 |
0 |
| install_coproc_handler |
|
1 |
3 |
5 |
0 |
| cache_setup |
|
2 |
19 |
106 |
1 |
| initarm |
|
31 |
173 |
1235 |
1 |
| collect_kernel_args |
|
1 |
4 |
22 |
1 |
| process_kernel_args |
|
15 |
52 |
222 |
1 |
| pmap_bootstrap_bs_map |
|
3 |
18 |
123 |
5 |
| dumpregs |
|
2 |
12 |
87 |
1 |
| Source file: ./sys/arch/arm64/stand/efiboot/eficall.h |
| Source file: ./sys/arch/arm64/arm64/bus_dma.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _dmamap_create |
|
3 |
20 |
152 |
7 |
| _dmamap_destroy |
|
1 |
4 |
19 |
2 |
| _dmamap_load |
|
3 |
18 |
119 |
6 |
| _dmamap_load_mbuf |
|
8 |
27 |
192 |
4 |
| _dmamap_load_uio |
|
9 |
34 |
239 |
4 |
| _dmamap_load_raw |
|
15 |
61 |
441 |
6 |
| _dmamap_unload |
|
1 |
5 |
22 |
2 |
| _dmamap_sync_segment |
|
6 |
17 |
69 |
3 |
| _dmamap_sync |
|
9 |
39 |
176 |
5 |
| _dmamem_alloc |
|
1 |
7 |
61 |
8 |
| _dmamem_free |
|
3 |
17 |
106 |
3 |
| _dmamem_map |
|
9 |
36 |
257 |
6 |
| _dmamem_unmap |
|
1 |
4 |
29 |
3 |
| _dmamem_mmap |
|
7 |
22 |
143 |
6 |
| _dmamap_load_buffer |
|
15 |
64 |
449 |
9 |
| _dmamem_alloc_range |
|
9 |
41 |
272 |
10 |
| Source file: ./sys/arch/arm64/stand/efiboot/self_reloc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| self_reloc |
|
12 |
41 |
208 |
2 |
| Source file: ./sys/arch/arm64/stand/efiboot/disk.h |
| Source file: ./sys/arch/arm64/stand/efiboot/efiboot.h |
| Source file: ./sys/arch/arm64/stand/efiboot/fdt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fdt_check_head |
|
6 |
19 |
143 |
1 |
| fdt_init |
|
4 |
21 |
186 |
1 |
| fdt_finalize |
|
2 |
11 |
112 |
1 |
| fdt_get_size |
|
3 |
8 |
42 |
1 |
| fdt_get_str |
|
3 |
6 |
35 |
1 |
| fdt_add_str |
|
3 |
15 |
127 |
1 |
| skip_property |
|
1 |
7 |
45 |
1 |
| skip_props |
|
2 |
7 |
30 |
1 |
| skip_node_name |
|
1 |
5 |
35 |
1 |
| fdt_node_property |
|
5 |
22 |
142 |
3 |
| fdt_node_set_property |
|
7 |
37 |
261 |
4 |
| fdt_node_add_property |
|
6 |
23 |
203 |
4 |
| fdt_node_add_node |
|
5 |
25 |
212 |
3 |
| skip_node |
|
2 |
10 |
55 |
1 |
| fdt_next_node |
|
8 |
23 |
141 |
1 |
| fdt_node_property_ints |
|
4 |
11 |
92 |
4 |
| fdt_node_property_int |
|
1 |
4 |
28 |
3 |
| fdt_child_node |
|
4 |
13 |
71 |
1 |
| fdt_node_name |
|
3 |
10 |
48 |
1 |
| fdt_find_node |
|
9 |
29 |
155 |
1 |
| fdt_parent_node_recurse |
|
5 |
11 |
69 |
2 |
| fdt_parent_node |
|
3 |
9 |
42 |
1 |
| fdt_node_is_compatible |
|
3 |
13 |
75 |
2 |
| fdt_print_property |
|
14 |
37 |
295 |
2 |
| fdt_print_node |
|
4 |
15 |
95 |
2 |
| fdt_print_node_recurse |
|
2 |
7 |
49 |
2 |
| fdt_print_tree |
|
1 |
4 |
16 |
1 |
| Source file: ./sys/arch/arm64/stand/efiboot/libsa.h |
| Source file: ./sys/arch/arm64/stand/efiboot/efidev.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| efid_io |
|
7 |
32 |
195 |
5 |
| efid_diskio |
|
2 |
6 |
58 |
5 |
| efi_getdisklabel |
|
9 |
34 |
251 |
1 |
| efiopen |
|
4 |
23 |
134 |
2 |
| efistrategy |
|
3 |
16 |
119 |
6 |
| eficlose |
|
1 |
5 |
18 |
1 |
| efiioctl |
|
1 |
4 |
19 |
3 |
| Source file: ./sys/arch/arm64/stand/efiboot/conf.c |
| Source file: ./sys/arch/arm64/stand/efiboot/heap.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| heap_init |
|
2 |
6 |
27 |
1 |
| Source file: ./sys/arch/arm64/stand/efiboot/efidev.h |
| Source file: ./sys/arch/sgi/gio/giodevs.h |
| Source file: ./sys/arch/sgi/gio/impact_gio.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| impact_gio_match |
|
3 |
8 |
48 |
3 |
| impact_gio_attach |
|
9 |
33 |
207 |
3 |
| impact_gio_cnprobe |
|
1 |
4 |
19 |
1 |
| impact_gio_cnattach |
|
3 |
17 |
87 |
1 |
| Source file: ./sys/arch/arm64/stand/efiboot/exec.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cpu_get_dcache_line_size |
|
1 |
8 |
38 |
1 |
| cpu_flush_dcache |
|
2 |
11 |
71 |
2 |
| cpu_inval_icache |
|
1 |
7 |
17 |
1 |
| run_loadfile |
|
6 |
28 |
208 |
2 |
| Source file: ./sys/arch/amd64/compile/COVERAGE/obj/ioconf.c |
| Source file: ./sys/arch/sgi/gio/gioreg.h |
| Source file: ./sys/arch/sgi/gio/grtworeg.h |
| Source file: ./sys/arch/arm64/stand/efiboot/efiboot.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| efi_main |
|
3 |
20 |
117 |
2 |
| efi_cons_probe |
|
1 |
5 |
26 |
1 |
| efi_cons_init |
|
1 |
5 |
21 |
1 |
| efi_cons_getc |
|
8 |
23 |
129 |
1 |
| efi_cons_putc |
|
2 |
9 |
52 |
2 |
| efi_heap_init |
|
2 |
8 |
41 |
1 |
| efi_diskprobe |
|
14 |
43 |
293 |
1 |
| efi_device_path_depth |
|
3 |
9 |
58 |
2 |
| efi_device_path_ncmp |
|
9 |
18 |
139 |
3 |
| efi_framebuffer |
|
19 |
72 |
534 |
1 |
| efi_makebootargs |
|
6 |
36 |
264 |
1 |
| efi_updatefdt |
|
2 |
20 |
125 |
1 |
| machdep |
|
2 |
12 |
55 |
1 |
| efi_cleanup |
|
4 |
15 |
73 |
1 |
| _rtt |
|
3 |
8 |
36 |
1 |
| efi_timer |
|
1 |
4 |
14 |
2 |
| efi_timer_init |
|
3 |
10 |
60 |
1 |
| efi_timer_cleanup |
|
1 |
4 |
13 |
1 |
| getsecs |
|
1 |
4 |
9 |
1 |
| devboot |
|
1 |
4 |
20 |
2 |
| cnspeed |
|
1 |
4 |
13 |
2 |
| ttyname |
|
1 |
4 |
10 |
1 |
| ttydev |
|
1 |
4 |
11 |
1 |
| devparse |
|
15 |
42 |
321 |
5 |
| devopen |
|
2 |
11 |
93 |
3 |
| efi_memprobe_internal |
|
3 |
24 |
140 |
1 |
| efi_memprobe_find |
|
9 |
29 |
173 |
3 |
| Xexit_efi |
|
2 |
7 |
33 |
1 |
| Xpoweroff_efi |
|
1 |
5 |
26 |
1 |
| Source file: ./sys/arch/sgi/gio/newportreg.h |
| Source file: ./sys/arch/sgi/gio/gio.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| gio_match |
|
2 |
7 |
45 |
3 |
| gio_attach |
|
24 |
85 |
568 |
3 |
| gio_id |
|
35 |
59 |
357 |
3 |
| gio_print |
|
7 |
30 |
183 |
2 |
| gio_print_fb |
|
7 |
29 |
120 |
2 |
| gio_search |
|
3 |
19 |
166 |
3 |
| gio_submatch |
|
5 |
12 |
113 |
3 |
| giofb_cnprobe |
|
25 |
60 |
307 |
0 |
| giofb_cnattach |
|
14 |
34 |
161 |
0 |
| gio_is_framebuffer_id |
|
6 |
15 |
48 |
1 |
| gio_arb_config |
|
13 |
16 |
139 |
2 |
| gio_intr_map |
|
10 |
24 |
100 |
1 |
| gio_intr_establish |
|
1 |
5 |
43 |
5 |
| gio_product_string |
|
3 |
8 |
54 |
1 |
| Source file: ./sys/arch/sgi/gio/grtwovar.h |
| Source file: ./sys/arch/sgi/gio/lightvar.h |
| Source file: ./sys/arch/sgi/gio/giodevs_data.h |
| Source file: ./sys/arch/arm64/arm64/pmap.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ttlb_flush |
|
2 |
11 |
70 |
2 |
| VP_IDX0 |
|
1 |
4 |
17 |
1 |
| VP_IDX1 |
|
1 |
4 |
17 |
1 |
| VP_IDX2 |
|
1 |
4 |
17 |
1 |
| VP_IDX3 |
|
1 |
4 |
17 |
1 |
| pmap_vp_lookup |
|
7 |
30 |
178 |
3 |
| pmap_vp_remove |
|
5 |
26 |
149 |
2 |
| pmap_vp_enter |
|
11 |
43 |
284 |
4 |
| pmap_vp_page_alloc |
|
1 |
11 |
72 |
3 |
| pmap_vp_page_free |
|
1 |
6 |
36 |
2 |
| PTED_MANAGED |
|
1 |
4 |
18 |
1 |
| PTED_WIRED |
|
1 |
4 |
18 |
1 |
| PTED_VALID |
|
1 |
4 |
18 |
1 |
| pmap_enter_pv |
|
2 |
7 |
46 |
2 |
| pmap_remove_pv |
|
1 |
4 |
16 |
1 |
| pmap_enter |
|
23 |
63 |
438 |
5 |
| pmap_remove |
|
5 |
16 |
93 |
3 |
| pmap_remove_pted |
|
5 |
21 |
128 |
2 |
| _pmap_kenter_pa |
|
4 |
20 |
129 |
5 |
| pmap_kenter_pa |
|
2 |
5 |
34 |
3 |
| pmap_kenter_cache |
|
1 |
4 |
29 |
4 |
| pmap_kremove_pg |
|
6 |
24 |
140 |
1 |
| pmap_kremove |
|
2 |
5 |
33 |
2 |
| pmap_fill_pte |
|
6 |
26 |
135 |
7 |
| pmap_collect |
|
1 |
3 |
7 |
1 |
| pmap_zero_page |
|
1 |
7 |
38 |
1 |
| pmap_copy_page |
|
1 |
10 |
77 |
2 |
| pmap_pinit |
|
4 |
20 |
131 |
1 |
| pmap_create |
|
2 |
11 |
51 |
1 |
| pmap_reference |
|
1 |
4 |
12 |
1 |
| pmap_destroy |
|
2 |
10 |
43 |
1 |
| pmap_release |
|
1 |
4 |
12 |
1 |
| pmap_vp_destroy_l2_l3 |
|
7 |
28 |
181 |
2 |
| pmap_vp_destroy |
|
4 |
23 |
142 |
1 |
| pmap_steal_memory |
|
12 |
46 |
267 |
3 |
| VP_Lx |
|
1 |
4 |
12 |
1 |
| pmap_bootstrap |
|
17 |
112 |
808 |
6 |
| pmap_set_l1 |
|
3 |
14 |
104 |
4 |
| pmap_set_l2 |
|
4 |
20 |
138 |
4 |
| pmap_set_l3 |
|
4 |
23 |
161 |
4 |
| pmap_activate |
|
3 |
9 |
53 |
1 |
| pmap_deactivate |
|
1 |
3 |
9 |
1 |
| pmap_extract |
|
4 |
12 |
76 |
3 |
| pmap_page_ro |
|
3 |
14 |
81 |
3 |
| pmap_page_protect |
|
3 |
19 |
126 |
2 |
| pmap_protect |
|
3 |
14 |
74 |
4 |
| pmap_init |
|
1 |
17 |
126 |
1 |
| pmap_proc_iflush |
|
2 |
5 |
30 |
3 |
| pmap_pte_insert |
|
2 |
10 |
59 |
1 |
| pmap_pte_update |
|
6 |
32 |
175 |
2 |
| pmap_pte_remove |
|
6 |
29 |
203 |
2 |
| pmap_fault_fixup |
|
16 |
47 |
341 |
4 |
| pmap_postinit |
|
1 |
3 |
6 |
1 |
| pmap_update |
|
1 |
3 |
7 |
1 |
| pmap_is_referenced |
|
1 |
4 |
22 |
1 |
| pmap_is_modified |
|
1 |
4 |
22 |
1 |
| pmap_clear_modify |
|
2 |
17 |
112 |
1 |
| pmap_clear_reference |
|
1 |
14 |
78 |
1 |
| pmap_copy |
|
1 |
4 |
19 |
5 |
| pmap_unwire |
|
3 |
9 |
57 |
2 |
| pmap_remove_holes |
|
1 |
3 |
9 |
1 |
| pmap_virtual_space |
|
1 |
5 |
22 |
2 |
| pmap_setup_avail |
|
1 |
9 |
57 |
3 |
| pmap_avail_fixup |
|
4 |
23 |
106 |
1 |
| pmap_remove_avail |
|
15 |
69 |
383 |
2 |
| pmap_steal_avail |
|
5 |
22 |
147 |
3 |
| pmap_map_stolen |
|
9 |
25 |
146 |
1 |
| pmap_physload_avail |
|
5 |
21 |
123 |
1 |
| pmap_show_mapping |
|
6 |
39 |
297 |
1 |
| pmap_allocate_asid |
|
3 |
10 |
82 |
1 |
| pmap_free_asid |
|
1 |
9 |
68 |
1 |
| pmap_setttb |
|
1 |
6 |
47 |
1 |
| Source file: ./sys/arch/sgi/gio/giovar.h |
| Source file: ./sys/arch/sgi/gio/lightreg.h |
| Source file: ./sys/arch/sgi/gio/newportvar.h |
| Source file: ./sys/arch/sgi/gio/pci_gio.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| giopci_match |
|
5 |
12 |
53 |
3 |
| giopci_attach |
|
14 |
90 |
593 |
3 |
| giopci_print |
|
2 |
8 |
49 |
2 |
| giopci_attach_hook |
|
1 |
4 |
19 |
3 |
| giopci_make_tag |
|
1 |
4 |
39 |
4 |
| giopci_decompose_tag |
|
4 |
9 |
77 |
5 |
| giopci_bus_maxdevs |
|
2 |
4 |
20 |
2 |
| giopci_conf_size |
|
1 |
5 |
28 |
2 |
| giopci_conf_read |
|
6 |
15 |
117 |
3 |
| giopci_conf_write |
|
5 |
12 |
99 |
4 |
| giopci_probe_device_hook |
|
1 |
4 |
16 |
2 |
| giopci_get_widget |
|
1 |
4 |
11 |
1 |
| giopci_get_dl |
|
2 |
11 |
74 |
3 |
| giopci_intr_map |
|
3 |
11 |
69 |
2 |
| giopci_intr_string |
|
1 |
6 |
38 |
2 |
| giopci_intr_establish |
|
1 |
5 |
50 |
6 |
| giopci_intr_disestablish |
|
1 |
4 |
19 |
2 |
| giopci_intr_line |
|
1 |
4 |
17 |
2 |
| giopci_ppb_setup |
|
1 |
5 |
34 |
6 |
| giopci_rbus_parent_io |
|
1 |
4 |
14 |
1 |
| giopci_rbus_parent_mem |
|
1 |
4 |
14 |
1 |
| giopci_dmamap_create |
|
3 |
9 |
78 |
7 |
| Source file: ./sys/arch/sgi/dev/owserialvar.h |
| Source file: ./sys/arch/sgi/dev/impactreg.h |
| Source file: ./sys/arch/sgi/gio/light.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rex_read |
|
1 |
4 |
31 |
3 |
| rex_write |
|
1 |
4 |
35 |
4 |
| rex_vc1_sysctl_read |
|
1 |
6 |
39 |
1 |
| rex_vc1_sysctl_write |
|
1 |
6 |
45 |
2 |
| rex_wait |
|
2 |
5 |
24 |
1 |
| rex_revision |
|
1 |
6 |
41 |
1 |
| rex_copy_rect |
|
2 |
25 |
193 |
8 |
| rex_fill_rect |
|
1 |
17 |
140 |
6 |
| light_getcmap |
|
9 |
31 |
266 |
2 |
| light_putcmap |
|
7 |
23 |
217 |
2 |
| light_loadcmap |
|
2 |
17 |
157 |
3 |
| light_match |
|
2 |
7 |
38 |
3 |
| light_attach |
|
6 |
38 |
282 |
3 |
| light_cnprobe |
|
1 |
4 |
19 |
1 |
| light_cnattach |
|
1 |
10 |
73 |
1 |
| light_attach_common |
|
1 |
9 |
63 |
2 |
| light_init_screen |
|
1 |
28 |
259 |
1 |
| light_do_cursor |
|
1 |
11 |
89 |
1 |
| light_putchar |
|
11 |
58 |
449 |
5 |
| light_copycols |
|
1 |
15 |
128 |
5 |
| light_erasecols |
|
1 |
15 |
138 |
5 |
| light_copyrows |
|
1 |
15 |
119 |
4 |
| light_eraserows |
|
3 |
17 |
152 |
4 |
| light_ioctl |
|
7 |
35 |
203 |
5 |
| light_mmap |
|
1 |
4 |
18 |
3 |
| light_alloc_screen |
|
2 |
15 |
115 |
6 |
| light_free_screen |
|
1 |
3 |
12 |
2 |
| light_show_screen |
|
1 |
5 |
36 |
5 |
| light_load_font |
|
1 |
6 |
44 |
3 |
| light_list_font |
|
1 |
6 |
38 |
2 |
| light_burner |
|
2 |
10 |
50 |
3 |
| Source file: ./sys/arch/sgi/dev/if_iecreg.h |
| Source file: ./sys/arch/sgi/dev/if_mecreg.h |
| Source file: ./sys/arch/sgi/dev/mkbc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mkbc_match |
|
1 |
4 |
20 |
3 |
| mkbc_init_slotdata |
|
2 |
10 |
69 |
1 |
| mkbcprint |
|
2 |
7 |
42 |
2 |
| mkbc_submatch |
|
3 |
9 |
77 |
3 |
| mkbc_attach_slot |
|
4 |
34 |
229 |
2 |
| mkbc_attach |
|
4 |
37 |
275 |
3 |
| mkbcintr |
|
1 |
7 |
47 |
1 |
| mkbcintr_internal |
|
18 |
55 |
354 |
2 |
| mkbc_poll_write |
|
3 |
14 |
72 |
3 |
| mkbc_poll_read |
|
3 |
14 |
71 |
2 |
| mkbc_poll_cmd |
|
19 |
56 |
295 |
3 |
| mkbc_cleanqueue |
|
5 |
13 |
94 |
1 |
| mkbc_cleanup |
|
5 |
16 |
116 |
1 |
| mkbc_start |
|
6 |
26 |
169 |
2 |
| mkbc_cmdresponse |
|
15 |
41 |
262 |
3 |
| pckbc_xt_translation |
|
1 |
4 |
13 |
1 |
| pckbc_poll_cmd |
|
6 |
19 |
148 |
7 |
| pckbc_flush |
|
1 |
5 |
36 |
2 |
| pckbc_enqueue_cmd |
|
15 |
48 |
350 |
7 |
| pckbc_poll_data |
|
5 |
12 |
83 |
2 |
| pckbc_set_inputhandler |
|
4 |
13 |
100 |
5 |
| pckbc_slot_enable |
|
4 |
20 |
111 |
3 |
| pckbc_set_poll |
|
3 |
13 |
72 |
3 |
| mkbc_cnattach |
|
5 |
35 |
236 |
2 |
| mkbc_poll |
|
1 |
9 |
51 |
1 |
| Source file: ./sys/arch/sgi/dev/iockbcvar.h |
| Source file: ./sys/arch/sgi/dev/owmem_subr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| owmem_redirect |
|
4 |
12 |
63 |
3 |
| Source file: ./sys/arch/sgi/dev/com_ioc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| com_ioc_probe |
|
7 |
22 |
157 |
3 |
| com_ioc_attach |
|
6 |
33 |
238 |
3 |
| Source file: ./sys/arch/sgi/dev/iockbcreg.h |
| Source file: ./sys/arch/sgi/dev/gbereg.h |
| Source file: ./sys/arch/sgi/dev/owmem_subr.h |
| Source file: ./sys/arch/sgi/dev/dsrtcvar.h |
| Source file: ./sys/arch/sgi/dev/mavbreg.h |
| Source file: ./sys/arch/sgi/dev/power.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| power_macebus_match |
|
1 |
4 |
22 |
3 |
| power_macebus_attach |
|
2 |
9 |
61 |
3 |
| power_mainbus_match |
|
3 |
7 |
53 |
3 |
| power_mainbus_attach |
|
2 |
9 |
53 |
3 |
| power_mainbus_intr |
|
1 |
5 |
19 |
1 |
| power_intr |
|
3 |
14 |
63 |
1 |
| Source file: ./sys/arch/sgi/gio/newport.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rex3_write |
|
1 |
5 |
32 |
3 |
| rex3_write_go |
|
1 |
4 |
26 |
3 |
| rex3_read |
|
1 |
5 |
28 |
2 |
| rex3_wait_gfifo |
|
4 |
13 |
74 |
2 |
| vc2_write_ireg |
|
1 |
9 |
70 |
3 |
| vc2_read_ireg |
|
1 |
15 |
108 |
2 |
| vc2_read_ram |
|
1 |
9 |
69 |
2 |
| vc2_write_ram |
|
1 |
9 |
68 |
3 |
| xmap9_read |
|
1 |
10 |
64 |
2 |
| xmap9_write |
|
1 |
10 |
71 |
3 |
| xmap9_write_mode |
|
1 |
10 |
75 |
3 |
| newport_fill_rectangle |
|
2 |
20 |
153 |
6 |
| newport_bitblt |
|
4 |
34 |
228 |
8 |
| newport_cmap_setrgb |
|
1 |
19 |
153 |
5 |
| newport_get_resolution |
|
8 |
30 |
189 |
1 |
| newport_setup_hw |
|
4 |
33 |
284 |
1 |
| newport_match |
|
2 |
7 |
38 |
3 |
| newport_attach |
|
8 |
47 |
326 |
3 |
| newport_cnprobe |
|
1 |
4 |
19 |
1 |
| newport_cnattach |
|
2 |
13 |
87 |
1 |
| newport_attach_common |
|
1 |
8 |
48 |
2 |
| newport_init_screen |
|
2 |
30 |
253 |
1 |
| newport_do_cursor |
|
1 |
11 |
87 |
1 |
| newport_putchar |
|
12 |
55 |
438 |
5 |
| newport_copycols |
|
1 |
14 |
126 |
5 |
| newport_erasecols |
|
1 |
14 |
140 |
5 |
| newport_copyrows |
|
1 |
14 |
117 |
4 |
| newport_eraserows |
|
3 |
16 |
156 |
4 |
| newport_alloc_screen |
|
2 |
15 |
115 |
6 |
| newport_free_screen |
|
1 |
3 |
12 |
2 |
| newport_show_screen |
|
1 |
5 |
36 |
5 |
| newport_ioctl |
|
10 |
37 |
204 |
5 |
| newport_mmap |
|
1 |
4 |
18 |
3 |
| newport_load_font |
|
1 |
6 |
44 |
3 |
| newport_list_font |
|
1 |
6 |
38 |
2 |
| Source file: ./sys/arch/sgi/dev/mkbcreg.h |
| Source file: ./sys/arch/sgi/gio/grtwo.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| grtwo_wait_gfifo |
|
7 |
14 |
76 |
1 |
| grtwo_set_color |
|
1 |
4 |
24 |
3 |
| grtwo_fillrect |
|
1 |
13 |
115 |
6 |
| grtwo_copyrect |
|
2 |
22 |
211 |
7 |
| grtwo_setup_hw |
|
10 |
70 |
658 |
1 |
| grtwo_match |
|
2 |
7 |
38 |
3 |
| grtwo_attach |
|
10 |
54 |
355 |
3 |
| grtwo_cnprobe |
|
1 |
4 |
19 |
1 |
| grtwo_cnattach |
|
4 |
21 |
146 |
1 |
| grtwo_attach_common |
|
1 |
7 |
44 |
2 |
| grtwo_init_screen |
|
3 |
35 |
290 |
2 |
| grtwo_cursor |
|
2 |
16 |
150 |
4 |
| grtwo_putchar |
|
1 |
13 |
122 |
5 |
| grtwo_putchar_internal |
|
15 |
68 |
528 |
7 |
| grtwo_copycols |
|
4 |
30 |
227 |
5 |
| grtwo_erasecols |
|
2 |
19 |
184 |
5 |
| grtwo_copyrows |
|
4 |
31 |
227 |
4 |
| grtwo_eraserows |
|
5 |
29 |
267 |
4 |
| grtwo_alloc_screen |
|
3 |
20 |
159 |
6 |
| grtwo_free_screen |
|
1 |
3 |
12 |
2 |
| grtwo_show_screen |
|
1 |
5 |
36 |
5 |
| grtwo_ioctl |
|
4 |
24 |
137 |
5 |
| grtwo_mmap |
|
1 |
4 |
18 |
3 |
| grtwo_load_font |
|
1 |
6 |
44 |
3 |
| grtwo_list_font |
|
1 |
6 |
38 |
2 |
| grtwo_burner |
|
2 |
11 |
131 |
3 |
| Source file: ./sys/arch/sgi/dev/gl.h |
| Source file: ./sys/arch/sgi/dev/dsrtc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| frombcd |
|
2 |
4 |
30 |
2 |
| tobcd |
|
2 |
4 |
29 |
2 |
| dsrtc_match |
|
1 |
5 |
38 |
3 |
| dsrtc_attach_ioc |
|
6 |
37 |
239 |
3 |
| dsrtc_attach_iof |
|
3 |
21 |
130 |
3 |
| dsrtc_attach_macebus |
|
2 |
17 |
112 |
3 |
| ip32_dsrtc_read |
|
1 |
4 |
26 |
2 |
| ip32_dsrtc_write |
|
1 |
4 |
30 |
3 |
| ioc_ds1687_dsrtc_read |
|
1 |
5 |
41 |
2 |
| ioc_ds1687_dsrtc_write |
|
1 |
5 |
45 |
3 |
| ds1687_get |
|
2 |
18 |
250 |
3 |
| ds1687_set |
|
1 |
23 |
321 |
2 |
| ds1742_get |
|
1 |
23 |
230 |
3 |
| ds1742_set |
|
1 |
25 |
249 |
2 |
| dsrtc_register_read |
|
4 |
9 |
61 |
1 |
| dsrtc_register_write |
|
4 |
9 |
63 |
2 |
| Source file: ./sys/arch/sgi/dev/com_iof.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| com_iof_probe |
|
6 |
21 |
149 |
3 |
| com_iof_attach |
|
5 |
32 |
230 |
3 |
| Source file: ./sys/arch/sgi/dev/owmac.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| owmac_match |
|
5 |
11 |
80 |
3 |
| owmac_attach |
|
2 |
13 |
81 |
3 |
| owmac_read_redirect |
|
2 |
19 |
134 |
1 |
| owmac_read_page |
|
3 |
21 |
159 |
3 |
| owmac_read_mac |
|
3 |
18 |
166 |
1 |
| Source file: ./sys/arch/sgi/dev/mavb.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mavb_open |
|
1 |
4 |
16 |
2 |
| mavb_close |
|
1 |
3 |
8 |
1 |
| mavb_set_play_rate |
|
4 |
10 |
61 |
2 |
| mavb_set_rec_rate |
|
4 |
10 |
61 |
2 |
| mavb_get_format |
|
5 |
20 |
69 |
2 |
| mavb_set_play_format |
|
3 |
17 |
96 |
2 |
| mavb_set_rec_format |
|
3 |
18 |
107 |
2 |
| mavb_set_params |
|
7 |
36 |
238 |
5 |
| mavb_round_blocksize |
|
2 |
9 |
43 |
2 |
| mavb_halt_output |
|
1 |
9 |
67 |
1 |
| mavb_halt_input |
|
1 |
9 |
67 |
1 |
| mavb_set_port |
|
27 |
120 |
791 |
2 |
| mavb_get_port |
|
28 |
88 |
621 |
2 |
| mavb_query_devinfo |
|
26 |
159 |
1485 |
2 |
| mavb_get_props |
|
1 |
4 |
15 |
1 |
| mavb_dma_output |
|
8 |
38 |
272 |
1 |
| mavb_dma_input |
|
8 |
38 |
272 |
1 |
| mavb_trigger_output |
|
1 |
26 |
222 |
7 |
| mavb_trigger_input |
|
1 |
22 |
191 |
7 |
| mavb_button_repeat |
|
8 |
39 |
256 |
1 |
| mavb_intr |
|
4 |
23 |
139 |
1 |
| mavb_match |
|
2 |
12 |
92 |
3 |
| mavb_attach |
|
8 |
90 |
682 |
3 |
| ad1843_reg_read |
|
1 |
8 |
55 |
2 |
| ad1843_reg_write |
|
1 |
8 |
65 |
3 |
| ad1843_dump_regs |
|
2 |
6 |
39 |
1 |
| Source file: ./sys/arch/sgi/dev/impactvar.h |
| Source file: ./sys/arch/sgi/dev/spdmem_mainbus.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| spdmem_mainbus_match |
|
4 |
19 |
120 |
3 |
| spdmem_mainbus_attach |
|
2 |
17 |
131 |
3 |
| spdmem_mainbus_read |
|
2 |
8 |
44 |
2 |
| Source file: ./sys/arch/sgi/dev/owserial.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| owserial_match |
|
1 |
5 |
40 |
3 |
| owserial_attach |
|
3 |
17 |
105 |
3 |
| owserial_read_redirect |
|
3 |
23 |
169 |
1 |
| owserial_read_page |
|
3 |
20 |
154 |
3 |
| owserial_read_serial |
|
24 |
54 |
479 |
1 |
| Source file: ./sys/arch/sgi/dev/owmacvar.h |
| Source file: ./sys/arch/sgi/dev/iockbc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| iockbc_match |
|
1 |
4 |
20 |
3 |
| iockbc_ioc_attach |
|
2 |
14 |
106 |
3 |
| iockbc_iof_attach |
|
2 |
14 |
106 |
3 |
| iockbc_init_slotdata |
|
2 |
12 |
86 |
2 |
| iockbcprint |
|
2 |
7 |
42 |
2 |
| iockbc_submatch |
|
3 |
9 |
77 |
3 |
| iockbc_probe_slot |
|
26 |
99 |
528 |
2 |
| iockbc_attach_slot |
|
1 |
13 |
96 |
2 |
| iockbc_attach_common |
|
12 |
71 |
431 |
5 |
| iockbc_poll |
|
1 |
9 |
51 |
1 |
| iockbcintr |
|
1 |
7 |
47 |
1 |
| iockbcintr_internal |
|
10 |
44 |
244 |
2 |
| iockbc_process_input |
|
4 |
12 |
91 |
4 |
| iockbc_poll_write |
|
3 |
18 |
123 |
3 |
| iockbc_poll_read |
|
9 |
31 |
212 |
2 |
| iockbc_poll_cmd |
|
14 |
54 |
276 |
3 |
| iockbc_cleanqueue |
|
5 |
13 |
94 |
1 |
| iockbc_cleanup |
|
5 |
16 |
98 |
1 |
| iockbc_start |
|
6 |
25 |
160 |
2 |
| iockbc_cmdresponse |
|
14 |
41 |
262 |
3 |
| pckbc_xt_translation |
|
1 |
4 |
13 |
1 |
| pckbc_poll_cmd |
|
6 |
19 |
148 |
7 |
| pckbc_flush |
|
1 |
5 |
27 |
2 |
| pckbc_enqueue_cmd |
|
15 |
47 |
348 |
7 |
| pckbc_poll_data |
|
5 |
12 |
79 |
2 |
| pckbc_set_inputhandler |
|
5 |
14 |
120 |
5 |
| pckbc_slot_enable |
|
3 |
10 |
56 |
3 |
| pckbc_set_poll |
|
3 |
13 |
72 |
3 |
| iockbc_cnattach |
|
12 |
58 |
343 |
0 |
| iockbc_is_ioc_console |
|
2 |
6 |
30 |
1 |
| iockbc_is_iof_console |
|
2 |
6 |
30 |
1 |
| Source file: ./sys/arch/sgi/include/pmap.h |
| Source file: ./sys/arch/sgi/include/disklabel.h |
| Source file: ./sys/arch/sgi/include/kcore.h |
| Source file: ./sys/arch/sgi/include/profile.h |
| Source file: ./sys/arch/sgi/include/memconf.h |
| Source file: ./sys/arch/sgi/include/vmparam.h |
| Source file: ./sys/arch/sgi/include/lock.h |
| Source file: ./sys/arch/sgi/include/exec.h |
| Source file: ./sys/arch/sgi/include/spinlock.h |
| Source file: ./sys/arch/sgi/include/stdarg.h |
| Source file: ./sys/arch/sgi/include/_types.h |
| Source file: ./sys/arch/sgi/include/pte.h |
| Source file: ./sys/arch/sgi/include/ieee.h |
| Source file: ./sys/arch/sgi/include/loadfile_machdep.h |
| Source file: ./sys/arch/sgi/include/ieeefp.h |
| Source file: ./sys/arch/sgi/dev/impact.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| impact_attach_common |
|
4 |
39 |
244 |
5 |
| impact_init_screen |
|
8 |
50 |
430 |
1 |
| impact_setup |
|
3 |
61 |
423 |
2 |
| impact_cmd_fifo_write |
|
2 |
9 |
59 |
4 |
| impact_cmd_fifo_wait |
|
8 |
18 |
122 |
1 |
| impact_ioctl |
|
5 |
26 |
147 |
5 |
| impact_mmap |
|
3 |
6 |
36 |
3 |
| impact_alloc_screen |
|
2 |
16 |
127 |
6 |
| impact_free_screen |
|
1 |
3 |
12 |
2 |
| impact_show_screen |
|
1 |
5 |
36 |
5 |
| impact_load_font |
|
1 |
6 |
49 |
3 |
| impact_list_font |
|
1 |
6 |
43 |
2 |
| impact_rop |
|
2 |
19 |
144 |
7 |
| impact_fillrect |
|
1 |
4 |
41 |
6 |
| impact_do_cursor |
|
1 |
13 |
122 |
1 |
| impact_putchar |
|
11 |
75 |
575 |
5 |
| impact_copycols |
|
2 |
13 |
112 |
5 |
| impact_erasecols |
|
2 |
19 |
170 |
5 |
| impact_copyrows |
|
3 |
15 |
133 |
4 |
| impact_eraserows |
|
5 |
30 |
266 |
4 |
| impact_cnattach_common |
|
2 |
16 |
116 |
3 |
| Source file: ./sys/arch/sgi/include/mutex.h |
| Source file: ./sys/arch/sgi/include/cpu.h |
| Source file: ./sys/arch/sgi/include/cdefs.h |
| Source file: ./sys/arch/sgi/include/rbus_machdep.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| md_space_map |
|
1 |
7 |
58 |
5 |
| md_space_unmap |
|
1 |
6 |
49 |
4 |
| Source file: ./sys/arch/sgi/include/cpustate.h |
| Source file: ./sys/arch/sgi/include/endian.h |
| Source file: ./sys/arch/sgi/include/frame.h |
| Source file: ./sys/arch/sgi/include/varargs.h |
| Source file: ./sys/arch/sgi/include/intr.h |
| Source file: ./sys/arch/sgi/include/ptrace.h |
| Source file: ./sys/arch/sgi/include/limits.h |
| Source file: ./sys/arch/sgi/include/conf.h |
| Source file: ./sys/arch/sgi/include/atomic.h |
| Source file: ./sys/arch/sgi/include/mnode.h |
| Source file: ./sys/arch/sgi/include/z8530var.h |
| Source file: ./sys/arch/sgi/include/eisa_machdep.h |
| Source file: ./sys/arch/sgi/include/proc.h |
| Source file: ./sys/arch/sgi/include/mplock.h |
| Source file: ./sys/arch/sgi/include/setjmp.h |
| Source file: ./sys/arch/sgi/include/reloc.h |
| Source file: ./sys/arch/sgi/include/pcb.h |
| Source file: ./sys/arch/sgi/dev/if_mec.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mec_match |
|
1 |
4 |
22 |
3 |
| mec_attach |
|
11 |
105 |
805 |
3 |
| mec_mii_readreg |
|
4 |
21 |
145 |
3 |
| mec_mii_writereg |
|
2 |
16 |
115 |
4 |
| mec_mii_wait |
|
4 |
17 |
99 |
1 |
| mec_statchg |
|
2 |
16 |
100 |
1 |
| mec_mediastatus |
|
2 |
9 |
65 |
2 |
| mec_mediachange |
|
2 |
7 |
42 |
1 |
| mec_init |
|
3 |
35 |
244 |
1 |
| mec_reset |
|
2 |
22 |
151 |
1 |
| mec_start |
|
22 |
165 |
1036 |
1 |
| mec_stop |
|
3 |
21 |
149 |
1 |
| mec_ioctl |
|
11 |
38 |
208 |
3 |
| mec_watchdog |
|
1 |
7 |
39 |
1 |
| mec_tick |
|
1 |
9 |
47 |
1 |
| mec_iff |
|
6 |
34 |
210 |
1 |
| mec_intr |
|
7 |
48 |
235 |
1 |
| mec_rxintr |
|
10 |
87 |
551 |
2 |
| mec_txintr |
|
8 |
57 |
382 |
2 |
| Source file: ./sys/arch/sgi/include/autoconf.h |
| Source file: ./sys/arch/sgi/include/mips_opcode.h |
| Source file: ./sys/arch/sgi/include/db_machdep.h |
| Source file: ./sys/arch/sgi/include/signal.h |
| Source file: ./sys/arch/sgi/include/param.h |
| Source file: ./sys/arch/sgi/include/asm.h |
| Source file: ./sys/arch/sgi/include/sysarch.h |
| Source file: ./sys/arch/sgi/include/reg.h |
| Source file: ./sys/arch/sgi/include/trap.h |
| Source file: ./sys/arch/sgi/include/regdef.h |
| Source file: ./sys/arch/sgi/include/regnum.h |
| Source file: ./sys/arch/sgi/include/fpu.h |
| Source file: ./sys/arch/sgi/sgi/ip30.h |
| Source file: ./sys/arch/sgi/include/bus.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bus_space_copy_1 |
|
2 |
8 |
63 |
6 |
| bus_space_copy_2 |
|
2 |
8 |
64 |
6 |
| bus_space_copy_4 |
|
2 |
8 |
64 |
6 |
| bus_space_copy_8 |
|
2 |
8 |
64 |
6 |
| bus_space_barrier |
|
1 |
5 |
39 |
5 |
| Source file: ./sys/arch/sgi/sgi/l1.h |
| Source file: ./sys/arch/sgi/sgi/disksubr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| readdisklabel |
|
9 |
30 |
187 |
4 |
| readsgilabel |
|
15 |
69 |
538 |
5 |
| writedisklabel |
|
5 |
31 |
229 |
3 |
| Source file: ./sys/arch/sgi/sgi/autoconf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cpu_configure |
|
2 |
11 |
47 |
1 |
| diskconf |
|
2 |
9 |
42 |
1 |
| memrange_register |
|
17 |
47 |
287 |
3 |
| device_register |
|
2 |
5 |
27 |
2 |
| bootpath_init |
|
1 |
5 |
19 |
0 |
| bootpath_get |
|
10 |
28 |
158 |
1 |
| bootpath_next |
|
2 |
5 |
16 |
0 |
| arcs_device_register |
|
63 |
121 |
693 |
2 |
| dksc_init |
|
10 |
28 |
195 |
0 |
| dksc_scan_board |
|
1 |
5 |
26 |
2 |
| dksc_scan_cmp |
|
14 |
35 |
166 |
2 |
| dksc_device_register |
|
14 |
43 |
248 |
2 |
| enaddr_aton |
|
4 |
11 |
64 |
2 |
| bios_getenvint |
|
3 |
13 |
63 |
1 |
| strtoul |
|
23 |
56 |
280 |
3 |
| location_match |
|
12 |
18 |
134 |
2 |
| Source file: ./sys/arch/sgi/sgi/machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mips_init |
|
104 |
305 |
1684 |
3 |
| dobootopts |
|
14 |
39 |
219 |
2 |
| consinit |
|
2 |
7 |
19 |
0 |
| cpu_startup |
|
5 |
26 |
195 |
0 |
| cpu_sysctl |
|
2 |
10 |
54 |
7 |
| sgi_cpuspeed |
|
1 |
5 |
26 |
1 |
| boot |
|
11 |
40 |
193 |
1 |
| arcbios_halt |
|
8 |
18 |
85 |
1 |
| dumpconf |
|
7 |
16 |
123 |
1 |
| dumpsys |
|
10 |
32 |
137 |
0 |
| is_memory_range |
|
6 |
14 |
101 |
3 |
| Source file: ./sys/arch/sgi/sgi/ip22.h |
| Source file: ./sys/arch/sgi/sgi/intr_template.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| MASK_FUNCTIONNAME |
|
6 |
27 |
205 |
0 |
| INTR_FUNCTIONNAME |
|
24 |
81 |
438 |
2 |
| Source file: ./sys/arch/sgi/sgi/ip22_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ip22_arcbios_walk_component |
|
21 |
63 |
423 |
1 |
| ip22_arcbios_walk |
|
2 |
5 |
24 |
0 |
| ip22_memory_setup |
|
22 |
73 |
505 |
0 |
| ip22_video_setup |
|
12 |
40 |
260 |
0 |
| ip22_setup |
|
31 |
112 |
479 |
0 |
| ip22_post_autoconf |
|
6 |
19 |
94 |
0 |
| ip22_ecc_map |
|
1 |
11 |
57 |
0 |
| ip22_ecc_unmap |
|
1 |
6 |
26 |
1 |
| ip22_fast_mode |
|
3 |
14 |
67 |
0 |
| ip22_slow_mode |
|
3 |
14 |
67 |
0 |
| ip22_ecc_init |
|
2 |
19 |
102 |
1 |
| ip22_ecc_halt |
|
1 |
5 |
16 |
1 |
| ip22_l2_disable |
|
1 |
5 |
22 |
1 |
| ip22_l2_enable |
|
1 |
5 |
23 |
1 |
| ip22_cache_halt |
|
1 |
5 |
16 |
1 |
| ip22_ConfigCache |
|
4 |
18 |
85 |
1 |
| ip22_SyncCache |
|
2 |
11 |
60 |
1 |
| ip22_cache_sync |
|
5 |
24 |
138 |
4 |
| Source file: ./sys/arch/sgi/sgi/conf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| iskmemdev |
|
4 |
7 |
44 |
1 |
| iszerodev |
|
2 |
5 |
26 |
1 |
| getnulldev |
|
1 |
4 |
15 |
0 |
| Source file: ./sys/arch/sgi/dev/gbe.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| gbe_match |
|
2 |
7 |
45 |
3 |
| gbe_attach |
|
21 |
181 |
1319 |
3 |
| gbe_activate |
|
2 |
11 |
50 |
2 |
| gbe_init_screen |
|
5 |
57 |
533 |
1 |
| gbe_enable |
|
8 |
32 |
242 |
1 |
| gbe_disable |
|
20 |
76 |
655 |
1 |
| gbe_setup |
|
13 |
93 |
849 |
1 |
| gbe_wait_re_idle |
|
4 |
13 |
68 |
1 |
| gbe_ioctl |
|
19 |
64 |
392 |
5 |
| gbe_mmap |
|
3 |
10 |
59 |
3 |
| gbe_alloc_screen |
|
2 |
14 |
119 |
6 |
| gbe_free_screen |
|
1 |
3 |
12 |
2 |
| gbe_show_screen |
|
1 |
5 |
38 |
5 |
| gbe_load_font |
|
1 |
5 |
42 |
3 |
| gbe_list_font |
|
1 |
5 |
36 |
2 |
| gbe_setcolour |
|
4 |
16 |
124 |
5 |
| gbe_getcmap |
|
6 |
14 |
142 |
2 |
| gbe_putcmap |
|
6 |
14 |
142 |
2 |
| gbe_loadcmap |
|
2 |
8 |
76 |
3 |
| gbe_rop |
|
1 |
16 |
174 |
6 |
| gbe_copyrect |
|
11 |
54 |
428 |
8 |
| gbe_fillrect |
|
1 |
13 |
144 |
6 |
| gbe_do_cursor |
|
1 |
11 |
85 |
1 |
| gbe_putchar |
|
2 |
18 |
174 |
5 |
| gbe_copycols |
|
1 |
13 |
110 |
5 |
| gbe_erasecols |
|
1 |
13 |
119 |
5 |
| gbe_copyrows |
|
1 |
11 |
93 |
4 |
| gbe_eraserows |
|
3 |
19 |
162 |
4 |
| gbe_cnprobe |
|
3 |
14 |
94 |
2 |
| gbe_cnattach |
|
4 |
49 |
516 |
2 |
| Source file: ./sys/arch/sgi/sgi/mainbus.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mbmatch |
|
2 |
7 |
37 |
3 |
| mbattach |
|
17 |
53 |
307 |
3 |
| mbprint |
|
2 |
6 |
27 |
2 |
| Source file: ./sys/arch/sgi/dev/if_iec.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| iec_match |
|
1 |
4 |
20 |
3 |
| iec_attach |
|
9 |
89 |
745 |
3 |
| iec_alloc_physical |
|
5 |
45 |
296 |
7 |
| iec_mii_readreg |
|
3 |
17 |
116 |
3 |
| iec_mii_writereg |
|
2 |
18 |
119 |
4 |
| iec_mii_wait |
|
3 |
13 |
77 |
1 |
| iec_statchg |
|
2 |
16 |
100 |
1 |
| iec_mediastatus |
|
2 |
9 |
65 |
2 |
| iec_mediachange |
|
2 |
7 |
42 |
1 |
| iec_init |
|
2 |
53 |
436 |
1 |
| iec_reset |
|
2 |
25 |
204 |
1 |
| iec_start |
|
20 |
140 |
883 |
1 |
| iec_stop |
|
3 |
24 |
192 |
1 |
| iec_ioctl |
|
11 |
38 |
208 |
3 |
| iec_watchdog |
|
1 |
10 |
74 |
1 |
| iec_tick |
|
1 |
9 |
47 |
1 |
| iec_iff |
|
5 |
30 |
203 |
1 |
| iec_get |
|
8 |
51 |
290 |
3 |
| iec_intr |
|
6 |
33 |
185 |
1 |
| iec_rxintr |
|
7 |
61 |
430 |
2 |
| iec_txintr |
|
9 |
53 |
351 |
2 |
| iec_ssram_probe |
|
3 |
20 |
149 |
1 |
| Source file: ./sys/arch/sgi/sgi/ip32_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| crime_configure_memory |
|
11 |
35 |
219 |
1 |
| ip32_setup |
|
24 |
72 |
489 |
0 |
| Source file: ./sys/arch/sgi/sgi/sginode.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| kl_init |
|
8 |
35 |
251 |
1 |
| kl_first_pass_board |
|
3 |
12 |
83 |
2 |
| kl_first_pass_comp |
|
38 |
129 |
813 |
2 |
| kl_scan_all_nodes |
|
6 |
15 |
112 |
3 |
| kl_scan_node |
|
6 |
15 |
103 |
4 |
| kl_scan_board |
|
8 |
20 |
143 |
4 |
| kl_get_console |
|
1 |
5 |
20 |
0 |
| kl_add_memory_ip27 |
|
9 |
36 |
241 |
3 |
| kl_add_memory_ip35 |
|
6 |
30 |
195 |
3 |
| kl_get_location |
|
6 |
26 |
160 |
2 |
| kl_get_console_location |
|
7 |
22 |
151 |
2 |
| Source file: ./sys/arch/sgi/sgi/l1.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| l1_serial_getc |
|
5 |
15 |
92 |
1 |
| l1_serial_putc |
|
5 |
16 |
99 |
2 |
| l1_serial_ppp_write |
|
6 |
11 |
76 |
4 |
| l1_serial_ppp_read |
|
5 |
12 |
62 |
2 |
| l1_packet_put |
|
7 |
17 |
135 |
3 |
| l1_packet_get |
|
12 |
36 |
167 |
3 |
| l1_packet_put_be32 |
|
1 |
7 |
44 |
2 |
| l1_packet_put_be16 |
|
1 |
5 |
26 |
2 |
| l1_packet_get_be32 |
|
1 |
12 |
53 |
1 |
| l1_packet_get_int |
|
3 |
13 |
69 |
3 |
| l1_packet_get_ascii |
|
6 |
20 |
119 |
3 |
| l1_packet_get_binary |
|
4 |
19 |
105 |
4 |
| l1_command_build |
|
12 |
71 |
362 |
6 |
| l1_receive_response |
|
6 |
17 |
92 |
3 |
| l1_response_to_errno |
|
5 |
20 |
61 |
1 |
| l1_read_board_ia |
|
31 |
118 |
684 |
4 |
| ia_skip |
|
3 |
9 |
53 |
3 |
| l1_get_brick_ethernet_address |
|
11 |
51 |
459 |
2 |
| l1_exec_command |
|
10 |
34 |
187 |
2 |
| l1_get_brick_spd_record |
|
30 |
120 |
678 |
4 |
| l1_display |
|
12 |
38 |
226 |
3 |
| Source file: ./sys/arch/sgi/sgi/ip30_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ip30_setup |
|
14 |
65 |
412 |
0 |
| ip30_autoconf |
|
5 |
28 |
232 |
1 |
| ip30_widget_short |
|
1 |
4 |
33 |
2 |
| ip30_widget_long |
|
1 |
4 |
26 |
2 |
| ip30_widget_map |
|
1 |
7 |
49 |
4 |
| ip30_widget_id |
|
6 |
16 |
116 |
3 |
| ip30_find_video |
|
17 |
45 |
213 |
0 |
| ip30_lights_frob |
|
4 |
16 |
124 |
2 |
| ip30_cpu_exists |
|
1 |
6 |
30 |
1 |
| ip30_get_ncpusfound |
|
3 |
9 |
40 |
1 |
| ip30_nmi_handler |
|
8 |
28 |
158 |
0 |
| hw_cpu_boot_secondary |
|
4 |
47 |
374 |
1 |
| hw_cpu_hatch |
|
1 |
20 |
111 |
1 |
| hw_ipi_intr_establish |
|
1 |
5 |
45 |
2 |
| hw_ipi_intr_set |
|
1 |
4 |
15 |
1 |
| hw_ipi_intr_clear |
|
1 |
4 |
15 |
1 |
| Source file: ./sys/arch/sgi/sgi/wscons_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wscnprobe |
|
26 |
54 |
262 |
1 |
| wscninit |
|
24 |
39 |
164 |
1 |
| wscnputc |
|
1 |
4 |
17 |
2 |
| wscngetc |
|
1 |
8 |
34 |
1 |
| wscnpollc |
|
1 |
4 |
17 |
2 |
| widget_cnprobe |
|
13 |
41 |
179 |
0 |
| widget_cnattach |
|
6 |
10 |
40 |
0 |
| Source file: ./sys/arch/sgi/sgi/ip27.h |
| Source file: ./sys/arch/sgi/localbus/com_lbus.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| com_macebus_probe |
|
4 |
13 |
96 |
3 |
| com_macebus_attach |
|
5 |
25 |
193 |
3 |
| Source file: ./sys/arch/sgi/sgi/eisa_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| eisa_intr_map |
|
3 |
10 |
46 |
3 |
| eisa_intr_string |
|
1 |
6 |
32 |
2 |
| eisa_intr_establish |
|
10 |
38 |
286 |
7 |
| eisa_intr_disestablish |
|
7 |
24 |
192 |
2 |
| eisa_intr |
|
6 |
28 |
166 |
1 |
| eisa_attach_hook |
|
2 |
30 |
248 |
3 |
| eisa_maxslots |
|
1 |
4 |
12 |
1 |
| Source file: ./sys/arch/sgi/localbus/imcreg.h |
| Source file: ./sys/arch/sgi/localbus/crimebus.h |
| Source file: ./sys/arch/sgi/localbus/int.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| int2_intr_establish |
|
13 |
47 |
323 |
5 |
| int2_splx |
|
3 |
15 |
95 |
1 |
| int2_mappable_intr |
|
10 |
38 |
229 |
1 |
| int2_match |
|
5 |
14 |
68 |
3 |
| int2_attach |
|
5 |
31 |
204 |
3 |
| int2_get_base |
|
6 |
19 |
67 |
1 |
| int2_is_intr_pending |
|
6 |
21 |
83 |
1 |
| int2_intr_disable |
|
4 |
14 |
90 |
1 |
| int2_intr_enable |
|
4 |
14 |
88 |
1 |
| int_8254_cal |
|
1 |
19 |
112 |
1 |
| int_8254_intr0 |
|
4 |
16 |
79 |
2 |
| int_8254_startclock |
|
1 |
4 |
14 |
1 |
| Source file: ./sys/arch/sgi/localbus/imcvar.h |
| Source file: ./sys/arch/sgi/sgi/bus_dma.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _dmamap_create |
|
3 |
20 |
152 |
7 |
| _dmamap_destroy |
|
1 |
4 |
19 |
2 |
| _dmamap_load |
|
3 |
18 |
119 |
6 |
| _dmamap_load_mbuf |
|
8 |
27 |
192 |
4 |
| _dmamap_load_uio |
|
9 |
34 |
239 |
4 |
| _dmamap_load_raw |
|
8 |
23 |
185 |
6 |
| _dmamap_unload |
|
1 |
5 |
22 |
2 |
| _dmamap_sync |
|
18 |
61 |
296 |
5 |
| _dmamem_alloc |
|
1 |
8 |
58 |
8 |
| _dmamem_free |
|
3 |
17 |
106 |
3 |
| _dmamem_map |
|
16 |
52 |
371 |
6 |
| _dmamem_unmap |
|
2 |
6 |
41 |
3 |
| _dmamem_mmap |
|
7 |
20 |
125 |
6 |
| _dmamap_load_buffer |
|
18 |
71 |
506 |
9 |
| _dmamem_alloc_range |
|
9 |
45 |
320 |
10 |
| Source file: ./sys/arch/sgi/localbus/macebusvar.h |
| Source file: ./sys/arch/sgi/localbus/intvar.h |
| Source file: ./sys/arch/sgi/localbus/tccreg.h |
| Source file: ./sys/arch/sgi/localbus/intreg.h |
| Source file: ./sys/arch/sgi/localbus/tcc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tcc_match |
|
2 |
10 |
57 |
3 |
| tcc_attach |
|
1 |
13 |
90 |
3 |
| tcc_bus_reset |
|
1 |
6 |
32 |
0 |
| tcc_bus_error |
|
5 |
22 |
141 |
2 |
| tcc_ConfigCache |
|
2 |
15 |
76 |
1 |
| tcc_SyncCache |
|
2 |
14 |
72 |
1 |
| tcc_SyncDCachePage |
|
2 |
13 |
59 |
3 |
| tcc_virtual |
|
9 |
28 |
148 |
4 |
| tcc_HitSyncDCache |
|
1 |
11 |
78 |
3 |
| tcc_HitInvalidateDCache |
|
1 |
11 |
76 |
3 |
| tcc_IOSyncDCache |
|
9 |
45 |
257 |
4 |
| Source file: ./sys/arch/sgi/localbus/macebus.h |
| Source file: ./sys/arch/sgi/localbus/tccvar.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tcc_prefetch_disable |
|
1 |
4 |
13 |
1 |
| tcc_prefetch_enable |
|
1 |
4 |
13 |
1 |
| tcc_prefetch_invalidate |
|
1 |
5 |
18 |
1 |
| Source file: ./sys/arch/sgi/stand/boot/filesystem.c |
| Source file: ./sys/arch/sgi/stand/boot/netio.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| netstrategy |
|
2 |
12 |
72 |
6 |
| netopen |
|
6 |
27 |
122 |
2 |
| netclose |
|
1 |
6 |
30 |
1 |
| Source file: ./sys/arch/sgi/sgi/ip27_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ip27_setup |
|
19 |
130 |
736 |
0 |
| ip27_autoconf |
|
5 |
26 |
168 |
1 |
| ip27_attach_node |
|
9 |
32 |
216 |
2 |
| ip27_print |
|
2 |
8 |
49 |
2 |
| ip27_widget_short |
|
2 |
7 |
51 |
2 |
| ip27_widget_long |
|
1 |
5 |
39 |
2 |
| ip27_widget_map |
|
11 |
42 |
286 |
4 |
| ip27_widget_id |
|
6 |
16 |
85 |
3 |
| ip27_widget_id_early |
|
5 |
13 |
74 |
3 |
| ip27_halt |
|
13 |
57 |
268 |
1 |
| ip27_hub_intr_register |
|
5 |
17 |
121 |
3 |
| ip27_hub_intr_establish |
|
11 |
43 |
276 |
6 |
| ip27_hub_intr_disestablish |
|
8 |
27 |
162 |
1 |
| ip27_hub_intr_clear |
|
1 |
8 |
55 |
1 |
| ip27_hub_intr_set |
|
1 |
6 |
36 |
1 |
| ip27_hub_splx |
|
3 |
11 |
55 |
1 |
| ip27_hub_setintrmask |
|
2 |
18 |
133 |
1 |
| ip27_nmi |
|
3 |
28 |
190 |
1 |
| ip27_kl_launch_cpu |
|
5 |
16 |
98 |
2 |
| ip27_kl_launch_cpu_board |
|
1 |
5 |
26 |
2 |
| ip27_kl_attach_cpu |
|
5 |
28 |
189 |
2 |
| ip27_kl_attach_cpu_board |
|
1 |
5 |
26 |
2 |
| ip27_hub_get_timecount |
|
1 |
4 |
17 |
1 |
| hw_ipi_intr_set |
|
1 |
8 |
49 |
1 |
| hw_ipi_intr_clear |
|
1 |
10 |
68 |
1 |
| hw_ipi_intr_establish |
|
1 |
8 |
62 |
2 |
| hw_cpu_hatch |
|
1 |
21 |
120 |
1 |
| hw_cpu_boot_secondary |
|
3 |
16 |
97 |
1 |
| Source file: ./sys/arch/sgi/localbus/macebus.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| macebusmatch |
|
2 |
6 |
35 |
3 |
| macebusprint |
|
4 |
11 |
76 |
2 |
| macebussubmatch |
|
4 |
10 |
97 |
3 |
| macebusattach |
|
4 |
30 |
258 |
3 |
| mace_read_1 |
|
1 |
4 |
33 |
3 |
| mace_read_2 |
|
1 |
4 |
18 |
3 |
| mace_read_4 |
|
1 |
4 |
26 |
3 |
| mace_read_8 |
|
1 |
4 |
26 |
3 |
| mace_write_1 |
|
1 |
4 |
37 |
4 |
| mace_write_2 |
|
1 |
4 |
21 |
4 |
| mace_write_4 |
|
1 |
4 |
30 |
4 |
| mace_write_8 |
|
1 |
4 |
30 |
4 |
| mace_read_raw_2 |
|
1 |
5 |
25 |
5 |
| mace_write_raw_2 |
|
1 |
5 |
26 |
5 |
| mace_read_raw_4 |
|
2 |
10 |
64 |
5 |
| mace_write_raw_4 |
|
2 |
10 |
65 |
5 |
| mace_read_raw_8 |
|
2 |
10 |
64 |
5 |
| mace_write_raw_8 |
|
2 |
10 |
65 |
5 |
| mace_space_map |
|
2 |
9 |
57 |
5 |
| mace_space_unmap |
|
1 |
3 |
13 |
3 |
| mace_space_region |
|
1 |
6 |
32 |
5 |
| mace_space_vaddr |
|
1 |
4 |
17 |
2 |
| mace_space_barrier |
|
1 |
5 |
23 |
5 |
| macebus_pa_to_device |
|
1 |
4 |
17 |
2 |
| macebus_intr_establish |
|
7 |
34 |
255 |
7 |
| macebus_intr_disestablish |
|
1 |
4 |
15 |
1 |
| macebus_splx |
|
3 |
11 |
57 |
1 |
| macebus_iointr_skip |
|
3 |
9 |
58 |
3 |
| macebus_aux |
|
4 |
16 |
96 |
2 |
| crime_setintrmask |
|
1 |
5 |
31 |
1 |
| Source file: ./sys/arch/sgi/stand/boot/netfs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tftp_read_file |
|
11 |
51 |
379 |
3 |
| netfs_open |
|
2 |
21 |
151 |
2 |
| netfs_close |
|
1 |
9 |
53 |
1 |
| netfs_read |
|
5 |
28 |
141 |
4 |
| netfs_write |
|
1 |
8 |
33 |
4 |
| netfs_seek |
|
4 |
22 |
93 |
3 |
| netfs_stat |
|
1 |
6 |
21 |
2 |
| netfs_readdir |
|
1 |
4 |
16 |
2 |
| Source file: ./sys/arch/sgi/stand/boot/conf.c |
| Source file: ./sys/arch/sgi/stand/boot/diskio.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| diostrategy |
|
3 |
17 |
134 |
6 |
| dioopen |
|
23 |
87 |
587 |
2 |
| dioclose |
|
1 |
7 |
49 |
1 |
| Source file: ./sys/arch/sgi/stand/boot/netfs.h |
| Source file: ./sys/arch/sgi/stand/boot/strstr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| strstr |
|
5 |
16 |
92 |
2 |
| Source file: ./sys/arch/sgi/localbus/imc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| imc_read_1 |
|
1 |
4 |
26 |
3 |
| imc_read_2 |
|
1 |
4 |
26 |
3 |
| imc_read_4 |
|
1 |
4 |
26 |
3 |
| imc_read_8 |
|
1 |
4 |
26 |
3 |
| imc_write_1 |
|
1 |
4 |
30 |
4 |
| imc_write_2 |
|
1 |
4 |
30 |
4 |
| imc_write_4 |
|
1 |
4 |
30 |
4 |
| imc_write_8 |
|
1 |
4 |
30 |
4 |
| imc_read_raw_2 |
|
2 |
10 |
64 |
5 |
| imc_write_raw_2 |
|
2 |
10 |
65 |
5 |
| imc_read_raw_4 |
|
2 |
10 |
64 |
5 |
| imc_write_raw_4 |
|
2 |
10 |
65 |
5 |
| imc_read_raw_8 |
|
2 |
10 |
64 |
5 |
| imc_write_raw_8 |
|
2 |
10 |
65 |
5 |
| imc_space_map |
|
1 |
6 |
32 |
5 |
| imc_space_unmap |
|
1 |
3 |
13 |
3 |
| imc_space_region |
|
1 |
6 |
30 |
5 |
| imc_space_vaddr |
|
1 |
4 |
17 |
2 |
| imc_space_barrier |
|
1 |
5 |
23 |
5 |
| imc_eisa_read_raw_2 |
|
2 |
10 |
67 |
5 |
| imc_eisa_write_raw_2 |
|
2 |
10 |
68 |
5 |
| imc_eisa_read_raw_4 |
|
2 |
10 |
67 |
5 |
| imc_eisa_write_raw_4 |
|
2 |
10 |
68 |
5 |
| imc_eisa_read_raw_8 |
|
2 |
10 |
67 |
5 |
| imc_eisa_write_raw_8 |
|
2 |
10 |
68 |
5 |
| imc_eisa_io_map |
|
2 |
8 |
45 |
5 |
| imc_eisa_io_region |
|
2 |
8 |
51 |
5 |
| imc_eisa_mem_map |
|
5 |
10 |
63 |
5 |
| imc_eisa_mem_region |
|
5 |
11 |
76 |
5 |
| imc_pa_to_device |
|
1 |
4 |
16 |
2 |
| imc_match |
|
5 |
14 |
69 |
3 |
| imc_attach |
|
17 |
100 |
528 |
3 |
| imc_activate |
|
2 |
11 |
47 |
2 |
| imc_print |
|
2 |
7 |
40 |
2 |
| imc_bus_reset |
|
1 |
5 |
19 |
0 |
| imc_bus_error |
|
21 |
51 |
300 |
2 |
| imc_watchdog_cb |
|
2 |
17 |
90 |
2 |
| imc_gio64_arb_config |
|
40 |
81 |
404 |
2 |
| imc_disable_sysad_parity |
|
2 |
9 |
33 |
1 |
| imc_enable_sysad_parity |
|
2 |
9 |
33 |
1 |
| imc_is_sysad_parity_enabled |
|
2 |
8 |
28 |
1 |
| Source file: ./sys/arch/sgi/stand/libsa/heap.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| heap_init |
|
2 |
9 |
42 |
0 |
| Source file: ./sys/arch/sgi/xbow/xbridgereg.h |
| Source file: ./sys/arch/sgi/xbow/widget.h |
| Source file: ./sys/arch/sgi/stand/boot/arcbios.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| getchar |
|
2 |
8 |
50 |
0 |
| putchar |
|
2 |
14 |
72 |
1 |
| arcbios_init |
|
22 |
57 |
384 |
0 |
| devopen |
|
14 |
62 |
439 |
3 |
| boot_get_path_component |
|
8 |
17 |
110 |
3 |
| boot_getnr |
|
3 |
7 |
47 |
2 |
| Source file: ./sys/arch/sgi/stand/boot/boot.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| boot_main |
|
11 |
39 |
290 |
2 |
| _rtt |
|
2 |
5 |
15 |
0 |
| dobootopts |
|
23 |
73 |
463 |
2 |
| check_phdr |
|
8 |
31 |
124 |
1 |
| loadrandom |
|
7 |
20 |
153 |
4 |
| Source file: ./sys/arch/sgi/stand/sgivol/sgivol.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
51 |
117 |
760 |
2 |
| display_vol |
|
8 |
40 |
343 |
1 |
| init_volhdr |
|
1 |
30 |
323 |
1 |
| read_file |
|
10 |
25 |
206 |
1 |
| write_file |
|
20 |
63 |
502 |
1 |
| link_file |
|
11 |
35 |
276 |
1 |
| delete_file |
|
4 |
14 |
99 |
1 |
| modify_partition |
|
2 |
10 |
68 |
1 |
| write_volhdr |
|
4 |
10 |
60 |
1 |
| allocate_space |
|
8 |
42 |
312 |
1 |
| checksum_vol |
|
2 |
10 |
71 |
1 |
| usage |
|
1 |
14 |
40 |
1 |
| Source file: ./sys/arch/sgi/xbow/odysseyvar.h |
| Source file: ./sys/arch/sgi/xbow/hub.h |
| Source file: ./sys/arch/sgi/xbow/odysseyreg.h |
| Source file: ./sys/arch/sgi/xbow/xbow.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| xbowmatch |
|
5 |
14 |
73 |
3 |
| xbow_identify |
|
4 |
8 |
51 |
2 |
| xbowprint |
|
5 |
21 |
124 |
2 |
| xbowsubmatch |
|
7 |
12 |
126 |
3 |
| xbowattach |
|
15 |
54 |
331 |
3 |
| xbow_attach_widget |
|
3 |
20 |
148 |
5 |
| xbow_kl_search_brd |
|
14 |
36 |
162 |
2 |
| xbow_kl_search_mplane |
|
2 |
11 |
74 |
2 |
| xbow_build_bus_space |
|
1 |
5 |
43 |
3 |
| xbow_read_1 |
|
1 |
4 |
26 |
3 |
| xbow_read_2 |
|
1 |
4 |
26 |
3 |
| xbow_read_4 |
|
1 |
4 |
26 |
3 |
| xbow_read_8 |
|
1 |
4 |
26 |
3 |
| xbow_write_1 |
|
1 |
4 |
30 |
4 |
| xbow_write_2 |
|
1 |
4 |
30 |
4 |
| xbow_write_4 |
|
1 |
4 |
30 |
4 |
| xbow_write_8 |
|
1 |
4 |
30 |
4 |
| xbow_read_raw_2 |
|
2 |
10 |
64 |
5 |
| xbow_write_raw_2 |
|
2 |
10 |
65 |
5 |
| xbow_read_raw_4 |
|
2 |
10 |
64 |
5 |
| xbow_write_raw_4 |
|
2 |
10 |
65 |
5 |
| xbow_read_raw_8 |
|
2 |
10 |
64 |
5 |
| xbow_write_raw_8 |
|
2 |
10 |
65 |
5 |
| xbow_space_map |
|
3 |
10 |
68 |
5 |
| xbow_space_unmap |
|
1 |
3 |
13 |
3 |
| xbow_space_region |
|
3 |
10 |
71 |
5 |
| xbow_space_vaddr |
|
1 |
4 |
17 |
2 |
| xbow_space_barrier |
|
1 |
5 |
23 |
5 |
| xbow_intr_register |
|
2 |
6 |
36 |
3 |
| xbow_intr_establish |
|
2 |
8 |
62 |
6 |
| xbow_intr_disestablish |
|
2 |
6 |
23 |
1 |
| xbow_intr_clear |
|
2 |
6 |
23 |
1 |
| xbow_intr_set |
|
2 |
6 |
23 |
1 |
| xbow_widget_map_space |
|
2 |
8 |
58 |
4 |
| Source file: ./sys/arch/sgi/xbow/xbowdevs_data.h |
| Source file: ./sys/arch/sgi/xbow/xheartreg.h |
| Source file: ./sys/arch/sgi/xbow/xbowdevs.h |
| Source file: ./sys/arch/sgi/xbow/impact_xbow.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| impact_xbow_match |
|
3 |
8 |
44 |
3 |
| impact_xbow_attach |
|
6 |
31 |
190 |
3 |
| impact_xbow_cnprobe |
|
5 |
14 |
79 |
0 |
| impact_xbow_cnattach |
|
3 |
20 |
97 |
0 |
| impact_xbow_is_console |
|
2 |
5 |
26 |
1 |
| Source file: ./sys/arch/sgi/xbow/xbow.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| widget_read_4 |
|
1 |
4 |
25 |
3 |
| widget_read_8 |
|
1 |
4 |
23 |
3 |
| widget_write_4 |
|
1 |
5 |
29 |
4 |
| widget_write_8 |
|
1 |
5 |
27 |
4 |
| Source file: ./sys/arch/sgi/xbow/xheart.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| xheart_match |
|
3 |
8 |
44 |
3 |
| xheart_attach |
|
3 |
41 |
339 |
3 |
| xheart_ow_reset |
|
1 |
5 |
25 |
1 |
| xheart_ow_read_bit |
|
1 |
4 |
19 |
1 |
| xheart_ow_send_bit |
|
2 |
10 |
53 |
2 |
| xheart_ow_read_byte |
|
2 |
9 |
50 |
1 |
| xheart_ow_triplet |
|
3 |
20 |
86 |
2 |
| xheart_ow_pulse |
|
2 |
13 |
94 |
3 |
| xheart_intr_register |
|
3 |
12 |
71 |
3 |
| xheart_intr_establish |
|
9 |
35 |
226 |
6 |
| xheart_intr_disestablish |
|
6 |
19 |
112 |
1 |
| xheart_intr_clear |
|
1 |
5 |
27 |
1 |
| xheart_intr_set |
|
1 |
5 |
27 |
1 |
| xheart_splx |
|
3 |
11 |
57 |
1 |
| xheart_setintrmask |
|
1 |
7 |
52 |
1 |
| xheart_get_timecount |
|
1 |
5 |
35 |
1 |
| Source file: ./sys/arch/sgi/xbow/odyssey.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| odyssey_match |
|
3 |
8 |
44 |
3 |
| odyssey_attach |
|
5 |
48 |
333 |
3 |
| odyssey_init_screen |
|
6 |
54 |
502 |
1 |
| odyssey_setup |
|
7 |
143 |
1951 |
1 |
| odyssey_cmd_wait |
|
3 |
13 |
79 |
1 |
| odyssey_data_wait |
|
3 |
13 |
79 |
1 |
| odyssey_cmd_flush |
|
2 |
21 |
248 |
2 |
| odyssey_ioctl |
|
13 |
46 |
251 |
5 |
| odyssey_getcmap |
|
6 |
14 |
142 |
2 |
| odyssey_putcmap |
|
6 |
14 |
142 |
2 |
| odyssey_mmap |
|
1 |
4 |
20 |
3 |
| odyssey_alloc_screen |
|
2 |
15 |
126 |
6 |
| odyssey_free_screen |
|
1 |
3 |
12 |
2 |
| odyssey_show_screen |
|
1 |
5 |
38 |
5 |
| odyssey_load_font |
|
1 |
5 |
42 |
3 |
| odyssey_list_font |
|
1 |
5 |
36 |
2 |
| odyssey_rop |
|
1 |
15 |
176 |
7 |
| odyssey_copyrect |
|
1 |
16 |
220 |
7 |
| odyssey_fillrect |
|
1 |
23 |
340 |
6 |
| odyssey_do_cursor |
|
1 |
14 |
133 |
1 |
| odyssey_putchar |
|
12 |
104 |
1135 |
5 |
| odyssey_copycols |
|
3 |
24 |
215 |
5 |
| odyssey_erasecols |
|
1 |
14 |
126 |
5 |
| odyssey_copyrows |
|
3 |
22 |
176 |
4 |
| odyssey_eraserows |
|
3 |
20 |
169 |
4 |
| ieee754_sp |
|
4 |
9 |
71 |
1 |
| odyssey_cnprobe |
|
5 |
14 |
79 |
0 |
| odyssey_cnattach |
|
2 |
28 |
211 |
0 |
| odyssey_is_console |
|
2 |
5 |
26 |
1 |
| Source file: ./sys/arch/sgi/hpc/z8530ms.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| zsms_match |
|
3 |
9 |
52 |
3 |
| zsms_attach |
|
2 |
27 |
196 |
3 |
| zsms_rxint |
|
2 |
12 |
89 |
1 |
| zsms_txint |
|
1 |
6 |
35 |
1 |
| zsms_stint |
|
1 |
5 |
25 |
2 |
| zsms_softint |
|
9 |
36 |
198 |
1 |
| zsms_wsmouse_input |
|
5 |
22 |
176 |
1 |
| zsms_wsmouse_enable |
|
2 |
9 |
43 |
1 |
| zsms_wsmouse_disable |
|
1 |
5 |
21 |
1 |
| zsms_wsmouse_ioctl |
|
2 |
12 |
51 |
5 |
| Source file: ./sys/arch/sgi/hpc/hpcreg.h |
| Source file: ./sys/arch/sgi/hpc/dpclock.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| frombcd |
|
1 |
4 |
23 |
1 |
| tobcd |
|
1 |
4 |
22 |
1 |
| leapyear |
|
4 |
13 |
63 |
1 |
| dpclock_match |
|
2 |
7 |
45 |
3 |
| dpclock_attach |
|
7 |
42 |
287 |
3 |
| dpclock_gettime |
|
5 |
26 |
230 |
3 |
| dpclock_settime |
|
5 |
33 |
320 |
2 |
| Source file: ./sys/arch/sgi/hpc/hpcdma.h |
| Source file: ./sys/arch/sgi/hpc/iocreg.h |
| Source file: ./sys/arch/sgi/hpc/if_sqvar.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| SQ_INIT_RXDESC |
|
4 |
25 |
221 |
2 |
| Source file: ./sys/arch/sgi/hpc/hpc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| hpc_match |
|
2 |
8 |
52 |
3 |
| hpc_attach |
|
55 |
241 |
1416 |
3 |
| hpc_revision |
|
12 |
33 |
160 |
2 |
| hpc_submatch |
|
3 |
9 |
87 |
3 |
| hpc_print |
|
3 |
10 |
64 |
2 |
| hpc_intr_establish |
|
1 |
5 |
43 |
5 |
| hpc_is_intr_pending |
|
1 |
4 |
13 |
1 |
| hpc_intr_disable |
|
1 |
4 |
13 |
1 |
| hpc_intr_enable |
|
1 |
4 |
13 |
1 |
| hpc3_space_barrier |
|
1 |
7 |
41 |
5 |
| hpc_blink |
|
1 |
9 |
75 |
1 |
| hpc_blink_ioc |
|
1 |
11 |
90 |
1 |
| hpc_read_eeprom |
|
6 |
29 |
196 |
5 |
| hpc_sync_dma_desc |
|
1 |
4 |
25 |
2 |
| hpc_update_dma_desc |
|
1 |
4 |
24 |
2 |
| hpc_sync_dma_desc_par |
|
1 |
4 |
17 |
2 |
| hpc_update_dma_desc_par |
|
1 |
4 |
21 |
2 |
| hpc_sync_dma_desc_ecc |
|
1 |
9 |
61 |
2 |
| hpc_update_dma_desc_ecc |
|
1 |
8 |
58 |
2 |
| Source file: ./sys/arch/sgi/hpc/hpcdma.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| hpcdma_init |
|
6 |
37 |
270 |
3 |
| hpcdma_sglist_create |
|
7 |
42 |
269 |
2 |
| hpcdma_cntl |
|
1 |
4 |
31 |
2 |
| hpcdma_reset |
|
1 |
8 |
61 |
1 |
| hpcdma_flush |
|
2 |
12 |
104 |
1 |
| Source file: ./sys/arch/sgi/hpc/panel.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| panel_match |
|
3 |
10 |
65 |
3 |
| panel_attach |
|
4 |
23 |
159 |
3 |
| panel_intr |
|
11 |
32 |
212 |
1 |
| panel_repeat |
|
4 |
19 |
128 |
1 |
| panel_volume_adjust |
|
5 |
18 |
69 |
2 |
| Source file: ./sys/arch/sgi/hpc/pckbc_hpc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pckbc_hpc_match |
|
3 |
10 |
65 |
3 |
| pckbc_hpc_attach |
|
5 |
36 |
250 |
3 |
| Source file: ./sys/arch/sgi/hpc/hpcvar.h |
| Source file: ./sys/arch/sgi/hpc/z8530kbd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| zskbd_match |
|
3 |
9 |
48 |
3 |
| zskbd_attach |
|
12 |
64 |
454 |
3 |
| zskbd_rxint |
|
2 |
13 |
98 |
1 |
| zskbd_stint |
|
1 |
5 |
25 |
2 |
| zskbd_txint |
|
1 |
5 |
24 |
1 |
| zskbd_softint |
|
8 |
29 |
191 |
1 |
| zskbd_process |
|
5 |
19 |
72 |
2 |
| zskbd_send |
|
8 |
31 |
176 |
3 |
| zskbd_poll |
|
5 |
19 |
113 |
2 |
| zskbd_ctrl |
|
1 |
13 |
109 |
5 |
| zskbd_wskbd_input |
|
8 |
23 |
134 |
2 |
| zskbd_wskbd_enable |
|
4 |
14 |
82 |
2 |
| zskbd_wskbd_set_leds |
|
4 |
22 |
109 |
2 |
| zskbd_wskbd_get_leds |
|
4 |
14 |
87 |
1 |
| zskbd_wskbd_set_keyclick |
|
4 |
18 |
97 |
2 |
| zskbd_wskbd_get_keyclick |
|
2 |
9 |
48 |
1 |
| zskbd_wskbd_ioctl |
|
10 |
29 |
153 |
5 |
| zskbd_cnattach |
|
4 |
17 |
121 |
2 |
| zskbd_wskbd_getc |
|
2 |
10 |
50 |
3 |
| zskbd_wskbd_pollc |
|
1 |
3 |
11 |
2 |
| zskbd_wskbd_bell |
|
2 |
7 |
38 |
4 |
| Source file: ./sys/arch/sgi/hpc/zs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| zs_hpc_match |
|
2 |
8 |
58 |
3 |
| zs_hpc_attach |
|
14 |
89 |
612 |
3 |
| zs_print |
|
3 |
9 |
54 |
2 |
| zshard |
|
4 |
12 |
63 |
1 |
| zssoft |
|
1 |
8 |
37 |
1 |
| zs_set_speed |
|
7 |
17 |
111 |
2 |
| zs_set_modes |
|
5 |
27 |
166 |
2 |
| zs_read_reg |
|
3 |
14 |
107 |
2 |
| zs_write_reg |
|
3 |
14 |
123 |
3 |
| zs_read_csr |
|
2 |
10 |
60 |
1 |
| zs_write_csr |
|
1 |
8 |
62 |
2 |
| zs_read_data |
|
1 |
8 |
46 |
1 |
| zs_write_data |
|
1 |
8 |
62 |
2 |
| zs_abort |
|
2 |
4 |
13 |
1 |
| zs_get_chan_addr |
|
17 |
53 |
243 |
2 |
| zs_getc |
|
2 |
14 |
75 |
1 |
| zs_putc |
|
3 |
18 |
103 |
2 |
| zscnprobe |
|
7 |
17 |
81 |
1 |
| zscninit |
|
4 |
11 |
57 |
1 |
| zscngetc |
|
5 |
16 |
62 |
1 |
| zscnputc |
|
5 |
16 |
66 |
2 |
| zscnpollc |
|
1 |
3 |
10 |
2 |
| Source file: ./sys/arch/sgi/hpc/dsclock.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| frombcd |
|
1 |
4 |
23 |
1 |
| tobcd |
|
1 |
4 |
22 |
1 |
| dsclock_match |
|
2 |
7 |
45 |
3 |
| dsclock_attach |
|
5 |
23 |
172 |
3 |
| dsclock_gettime |
|
4 |
22 |
188 |
3 |
| dsclock_settime |
|
1 |
21 |
174 |
2 |
| Source file: ./sys/arch/sgi/pci/iofreg.h |
| Source file: ./sys/arch/sgi/pci/iofvar.h |
| Source file: ./sys/arch/sgi/pci/iocreg.h |
| Source file: ./sys/arch/sgi/hpc/wskbdmap_sgi.c |
| Source file: ./sys/arch/sgi/hpc/wdsc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wdsc_match |
|
5 |
24 |
180 |
3 |
| wdsc_attach |
|
5 |
42 |
315 |
3 |
| wdsc_dmasetup |
|
4 |
32 |
205 |
5 |
| wdsc_dmago |
|
3 |
16 |
119 |
1 |
| wdsc_dmastop |
|
5 |
17 |
121 |
1 |
| wdsc_reset |
|
1 |
6 |
36 |
1 |
| Source file: ./sys/arch/sgi/pci/pci_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ppb_initialize |
|
17 |
77 |
621 |
5 |
| ppb_device_explore |
|
4 |
15 |
103 |
6 |
| ppb_function_explore |
|
16 |
65 |
402 |
4 |
| pccbb_initialize |
|
2 |
14 |
98 |
5 |
| Source file: ./sys/arch/sgi/xbow/xbridge.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| xbridge_read_reg |
|
1 |
4 |
31 |
2 |
| xbridge_write_reg |
|
1 |
4 |
35 |
3 |
| xbridge_wbflush |
|
2 |
4 |
27 |
2 |
| xbridge_match |
|
4 |
10 |
73 |
3 |
| xbridge_attach |
|
13 |
39 |
306 |
3 |
| xbridge_submatch |
|
3 |
8 |
74 |
3 |
| xbridge_print |
|
2 |
8 |
43 |
2 |
| xbpci_match |
|
1 |
4 |
20 |
3 |
| xbpci_attach |
|
15 |
119 |
975 |
3 |
| xbpci_print |
|
2 |
8 |
47 |
2 |
| xbridge_attach_hook |
|
1 |
4 |
19 |
3 |
| xbridge_make_tag |
|
1 |
4 |
39 |
4 |
| xbridge_decompose_tag |
|
4 |
10 |
77 |
5 |
| xbridge_bus_maxdevs |
|
2 |
5 |
29 |
2 |
| xbridge_conf_size |
|
4 |
10 |
71 |
2 |
| xbridge_conf_read |
|
13 |
53 |
302 |
3 |
| xbridge_conf_write |
|
11 |
44 |
265 |
4 |
| xbridge_probe_device_hook |
|
4 |
14 |
95 |
2 |
| xbridge_get_widget |
|
1 |
5 |
20 |
1 |
| xbridge_get_dl |
|
2 |
14 |
94 |
3 |
| xbridge_intr_map |
|
15 |
48 |
277 |
2 |
| xbridge_intr_string |
|
2 |
9 |
75 |
2 |
| xbridge_intr_establish |
|
10 |
73 |
542 |
6 |
| xbridge_intr_disestablish |
|
2 |
22 |
182 |
2 |
| xbridge_intr_line |
|
1 |
4 |
17 |
2 |
| xbridge_err_intr_handler |
|
1 |
9 |
51 |
1 |
| xbridge_pci_intr_handler |
|
16 |
54 |
363 |
1 |
| xbridge_picv1_pci_intr_handler |
|
1 |
10 |
86 |
1 |
| bridge_read_reg |
|
1 |
4 |
26 |
3 |
| bridge_write_reg |
|
1 |
5 |
30 |
4 |
| pic_read_reg |
|
1 |
4 |
23 |
3 |
| pic_write_reg |
|
1 |
5 |
27 |
4 |
| xbridge_read_1 |
|
1 |
4 |
30 |
3 |
| xbridge_read_2 |
|
1 |
4 |
30 |
3 |
| xbridge_write_1 |
|
1 |
5 |
34 |
4 |
| xbridge_write_2 |
|
1 |
5 |
34 |
4 |
| xbridge_read_raw_2 |
|
2 |
10 |
71 |
5 |
| xbridge_write_raw_2 |
|
2 |
10 |
72 |
5 |
| xbridge_read_raw_4 |
|
2 |
10 |
67 |
5 |
| xbridge_write_raw_4 |
|
2 |
10 |
68 |
5 |
| xbridge_read_raw_8 |
|
2 |
10 |
67 |
5 |
| xbridge_write_raw_8 |
|
2 |
10 |
68 |
5 |
| xbridge_space_map_devio |
|
9 |
25 |
164 |
5 |
| xbridge_space_map_io |
|
5 |
11 |
96 |
5 |
| xbridge_space_map_mem |
|
8 |
12 |
102 |
5 |
| xbridge_space_region_devio |
|
9 |
25 |
158 |
5 |
| xbridge_space_region_io |
|
4 |
14 |
113 |
5 |
| xbridge_space_region_mem |
|
7 |
17 |
123 |
5 |
| xbridge_space_barrier |
|
8 |
31 |
204 |
5 |
| xbridge_pa_to_device |
|
1 |
7 |
44 |
2 |
| xbridge_setup |
|
36 |
134 |
945 |
1 |
| xbridge_err_handle |
|
4 |
17 |
143 |
2 |
| xbridge_err_clear |
|
3 |
11 |
71 |
2 |
| xbridge_rrb_setup |
|
20 |
54 |
359 |
2 |
| xbridge_resource_setup |
|
28 |
97 |
650 |
1 |
| xbridge_extent_chomp |
|
5 |
13 |
88 |
2 |
| xbridge_extent_setup |
|
29 |
93 |
624 |
1 |
| xbridge_mapping_setup |
|
21 |
94 |
557 |
2 |
| xbridge_resource_explore |
|
24 |
87 |
519 |
4 |
| xbridge_resource_manage |
|
23 |
80 |
477 |
4 |
| xbridge_device_setup |
|
31 |
105 |
697 |
4 |
| xbridge_ppb_setup |
|
31 |
98 |
699 |
6 |
| xbridge_rbus_space_map |
|
1 |
5 |
34 |
5 |
| xbridge_rbus_space_unmap |
|
1 |
6 |
35 |
4 |
| xbridge_rbus_parent_io |
|
7 |
23 |
136 |
1 |
| xbridge_rbus_parent_mem |
|
6 |
21 |
140 |
1 |
| xbridge_allocate_devio |
|
13 |
27 |
157 |
3 |
| xbridge_set_devio |
|
4 |
10 |
82 |
4 |
| xbridge_ddb |
|
4 |
27 |
184 |
0 |
| Source file: ./sys/arch/sgi/pci/macepcibrvar.h |
| Source file: ./sys/arch/sgi/pci/pci_machdep.h |
| Source file: ./sys/arch/sgi/pci/iocvar.h |
| Source file: ./sys/arch/socppc/dev/ehci_obio.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ehci_obio_match |
|
3 |
9 |
69 |
3 |
| ehci_obio_attach |
|
3 |
36 |
270 |
3 |
| Source file: ./sys/arch/sgi/pci/iof.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| iof_match |
|
3 |
8 |
50 |
3 |
| iof_print |
|
2 |
8 |
49 |
2 |
| iof_attach |
|
4 |
51 |
421 |
3 |
| iof_attach_child |
|
2 |
15 |
120 |
4 |
| iof_search |
|
4 |
10 |
102 |
3 |
| iof_intr_establish |
|
6 |
24 |
202 |
6 |
| iof_intr |
|
6 |
33 |
265 |
1 |
| iof_intr_dispatch |
|
4 |
11 |
75 |
2 |
| Source file: ./sys/arch/socppc/dev/com_obio.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| com_obio_match |
|
5 |
12 |
103 |
3 |
| com_obio_attach |
|
4 |
25 |
168 |
3 |
| Source file: ./sys/arch/sgi/pci/ioc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ioc_match |
|
3 |
8 |
54 |
3 |
| ioc_print |
|
4 |
9 |
71 |
2 |
| ioc_attach |
|
47 |
250 |
1550 |
3 |
| ioc_attach_child |
|
6 |
25 |
180 |
4 |
| ioc_search_mundane |
|
4 |
10 |
102 |
3 |
| ioc_search_onewire |
|
10 |
47 |
338 |
3 |
| iocow_reset |
|
1 |
5 |
25 |
1 |
| iocow_read_bit |
|
1 |
4 |
19 |
1 |
| iocow_send_bit |
|
2 |
10 |
53 |
2 |
| iocow_read_byte |
|
2 |
9 |
50 |
1 |
| iocow_triplet |
|
3 |
20 |
86 |
2 |
| iocow_pulse |
|
2 |
12 |
90 |
3 |
| ioc_intr_establish |
|
4 |
20 |
157 |
6 |
| ioc_intr_superio |
|
4 |
22 |
157 |
1 |
| ioc_intr_ethernet |
|
1 |
5 |
28 |
1 |
| ioc_intr_shared |
|
1 |
4 |
19 |
1 |
| ioc_intr_dispatch |
|
4 |
11 |
75 |
2 |
| Source file: ./sys/arch/socppc/dev/wdc_mainbus.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wdc_mainbus_match |
|
3 |
9 |
69 |
3 |
| wdc_mainbus_attach |
|
6 |
46 |
328 |
3 |
| wdc_mainbus_read_reg |
|
6 |
16 |
102 |
2 |
| wdc_mainbus_write_reg |
|
2 |
10 |
67 |
3 |
| Source file: ./sys/arch/sgi/hpc/if_sq.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sq_match |
|
5 |
23 |
179 |
3 |
| sq_attach |
|
33 |
210 |
1444 |
3 |
| sq_init |
|
6 |
38 |
300 |
1 |
| sq_set_filter |
|
5 |
16 |
104 |
1 |
| sq_ioctl |
|
11 |
41 |
222 |
3 |
| sq_start |
|
31 |
177 |
1211 |
1 |
| sq_stop |
|
3 |
19 |
131 |
1 |
| sq_watchdog |
|
2 |
12 |
77 |
1 |
| sq_trace_dump |
|
12 |
26 |
218 |
1 |
| sq_intr |
|
10 |
45 |
296 |
1 |
| sq_rxintr |
|
11 |
86 |
631 |
1 |
| sq_txintr |
|
11 |
40 |
255 |
1 |
| sq_txring_hpc1 |
|
8 |
37 |
282 |
1 |
| sq_txring_hpc3 |
|
4 |
34 |
251 |
1 |
| sq_reset |
|
1 |
8 |
66 |
1 |
| sq_add_rxbuf |
|
5 |
26 |
198 |
2 |
| sq_ifmedia_change_ip22 |
|
4 |
27 |
141 |
1 |
| sq_ifmedia_change_singlemedia |
|
1 |
4 |
12 |
1 |
| sq_ifmedia_status_ip22 |
|
5 |
23 |
151 |
2 |
| sq_ifmedia_status_singlemedia |
|
2 |
9 |
61 |
2 |
| Source file: ./sys/arch/socppc/dev/pciide_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pciide_machdep_compat_intr_establish |
|
1 |
5 |
36 |
5 |
| pciide_machdep_compat_intr_disestablish |
|
1 |
3 |
11 |
2 |
| Source file: ./sys/arch/socppc/dev/socpcic.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| socpcic_mainbus_match |
|
5 |
12 |
103 |
3 |
| socpcic_mainbus_attach |
|
3 |
18 |
136 |
3 |
| socpcic_obio_match |
|
5 |
12 |
103 |
3 |
| socpcic_obio_attach |
|
3 |
15 |
110 |
3 |
| socpcic_attach |
|
12 |
95 |
719 |
1 |
| socpcic_attach_hook |
|
1 |
4 |
19 |
3 |
| socpcic_bus_maxdevs |
|
1 |
4 |
16 |
2 |
| socpcic_make_tag |
|
1 |
4 |
41 |
4 |
| socpcic_decompose_tag |
|
4 |
9 |
71 |
5 |
| socpcic_conf_size |
|
1 |
4 |
14 |
2 |
| socpcic_conf_read |
|
5 |
20 |
178 |
3 |
| socpcic_conf_write |
|
5 |
19 |
171 |
4 |
| socpcic_intr_map |
|
6 |
27 |
241 |
5 |
| socpcic_intr_string |
|
1 |
6 |
35 |
2 |
| socpcic_intr_line |
|
1 |
4 |
16 |
2 |
| socpcic_intr_establish |
|
1 |
5 |
51 |
6 |
| socpcic_intr_disestablish |
|
1 |
3 |
12 |
2 |
| socpcic_ether_hw_addr |
|
1 |
6 |
52 |
2 |
| socpcic_print |
|
2 |
8 |
49 |
2 |
| Source file: ./sys/arch/socppc/dev/sociic.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sociic_match |
|
3 |
9 |
69 |
3 |
| sociic_attach |
|
2 |
21 |
163 |
3 |
| sociic_write |
|
1 |
4 |
30 |
3 |
| sociic_read |
|
1 |
4 |
28 |
2 |
| sociic_wait |
|
7 |
20 |
121 |
2 |
| sociic_wait_bus |
|
3 |
12 |
64 |
1 |
| sociic_i2c_acquire_bus |
|
3 |
7 |
48 |
2 |
| sociic_i2c_release_bus |
|
3 |
7 |
38 |
2 |
| sociic_i2c_exec |
|
23 |
76 |
487 |
8 |
| Source file: ./sys/arch/socppc/include/pmap.h |
| Source file: ./sys/arch/socppc/include/disklabel.h |
| Source file: ./sys/arch/socppc/include/kcore.h |
| Source file: ./sys/arch/socppc/include/profile.h |
| Source file: ./sys/arch/socppc/include/vmparam.h |
| Source file: ./sys/arch/socppc/include/lock.h |
| Source file: ./sys/arch/socppc/include/_float.h |
| Source file: ./sys/arch/socppc/include/exec.h |
| Source file: ./sys/arch/socppc/dev/obio.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| obio_match |
|
3 |
10 |
76 |
3 |
| obio_attach |
|
5 |
25 |
198 |
3 |
| obio_print |
|
4 |
11 |
73 |
2 |
| Source file: ./sys/arch/socppc/include/spinlock.h |
| Source file: ./sys/arch/socppc/include/tcb.h |
| Source file: ./sys/arch/socppc/include/_types.h |
| Source file: ./sys/arch/socppc/include/stdarg.h |
| Source file: ./sys/arch/socppc/include/pte.h |
| Source file: ./sys/arch/socppc/include/ieee.h |
| Source file: ./sys/arch/socppc/include/loadfile_machdep.h |
| Source file: ./sys/arch/socppc/include/ieeefp.h |
| Source file: ./sys/arch/socppc/include/fenv.h |
| Source file: ./sys/arch/socppc/include/mutex.h |
| Source file: ./sys/arch/socppc/include/cpu.h |
| Source file: ./sys/arch/socppc/include/cdefs.h |
| Source file: ./sys/arch/socppc/include/endian.h |
| Source file: ./sys/arch/socppc/include/frame.h |
| Source file: ./sys/arch/socppc/include/varargs.h |
| Source file: ./sys/arch/socppc/include/pio.h |
| Source file: ./sys/arch/socppc/include/ptrace.h |
| Source file: ./sys/arch/socppc/include/limits.h |
| Source file: ./sys/arch/socppc/include/intr.h |
| Source file: ./sys/arch/socppc/include/conf.h |
| Source file: ./sys/arch/socppc/include/atomic.h |
| Source file: ./sys/arch/socppc/include/pci_machdep.h |
| Source file: ./sys/arch/socppc/include/psl.h |
| Source file: ./sys/arch/socppc/include/proc.h |
| Source file: ./sys/arch/socppc/include/setjmp.h |
| Source file: ./sys/arch/socppc/include/reloc.h |
| Source file: ./sys/arch/socppc/include/pcb.h |
| Source file: ./sys/arch/socppc/include/autoconf.h |
| Source file: ./sys/arch/socppc/include/db_machdep.h |
| Source file: ./sys/arch/socppc/include/signal.h |
| Source file: ./sys/arch/socppc/include/asm.h |
| Source file: ./sys/arch/socppc/include/param.h |
| Source file: ./sys/arch/socppc/include/reg.h |
| Source file: ./sys/arch/socppc/include/trap.h |
| Source file: ./sys/arch/socppc/include/fpu.h |
| Source file: ./sys/arch/socppc/dev/ipic.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ipic_preinit |
|
2 |
10 |
49 |
1 |
| ipic_match |
|
3 |
9 |
69 |
3 |
| ipic_attach |
|
5 |
30 |
213 |
3 |
| ipic_read |
|
1 |
4 |
31 |
2 |
| ipic_write |
|
1 |
4 |
33 |
3 |
| ipic_simsr_h |
|
10 |
24 |
70 |
1 |
| ipic_simsr_l |
|
1 |
4 |
10 |
1 |
| ipic_semsr |
|
9 |
22 |
64 |
1 |
| ipic_calc_masks |
|
1 |
19 |
223 |
1 |
| intr_establish |
|
10 |
37 |
278 |
6 |
| ext_intr |
|
3 |
27 |
149 |
1 |
| ipic_splraise |
|
2 |
12 |
57 |
1 |
| ipic_spllower |
|
1 |
7 |
33 |
1 |
| ipic_splx |
|
3 |
13 |
72 |
1 |
| ipic_setipl |
|
1 |
13 |
107 |
1 |
| Source file: ./sys/arch/socppc/socppc/cpu.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cpu_match |
|
3 |
10 |
76 |
3 |
| cpu_attach |
|
3 |
27 |
167 |
3 |
| Source file: ./sys/arch/socppc/socppc/autoconf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cpu_configure |
|
2 |
9 |
38 |
1 |
| device_register |
|
1 |
3 |
13 |
2 |
| diskconf |
|
2 |
14 |
77 |
1 |
| Source file: ./sys/arch/sgi/pci/macepcibridge.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mace_pcibrmatch |
|
2 |
9 |
36 |
3 |
| mace_pcibrattach |
|
4 |
46 |
399 |
3 |
| mace_pcibrprint |
|
2 |
8 |
49 |
2 |
| mace_pcibr_attach_hook |
|
1 |
4 |
19 |
3 |
| mace_pcibr_errintr |
|
5 |
21 |
132 |
1 |
| mace_pcibr_make_tag |
|
1 |
4 |
39 |
4 |
| mace_pcibr_decompose_tag |
|
4 |
10 |
77 |
5 |
| mace_pcibr_bus_maxdevs |
|
2 |
4 |
20 |
2 |
| mace_pcibr_conf_size |
|
1 |
4 |
14 |
2 |
| mace_pcibr_conf_read |
|
6 |
26 |
196 |
3 |
| mace_pcibr_conf_write |
|
1 |
12 |
92 |
4 |
| mace_pcibr_probe_device_hook |
|
1 |
4 |
16 |
2 |
| mace_pcibr_get_widget |
|
1 |
4 |
11 |
1 |
| mace_pcibr_get_dl |
|
2 |
11 |
74 |
3 |
| mace_pcibr_intr_map |
|
8 |
29 |
242 |
2 |
| mace_pcibr_intr_string |
|
1 |
6 |
37 |
2 |
| mace_pcibr_intr_establish |
|
1 |
5 |
51 |
6 |
| mace_pcibr_intr_disestablish |
|
1 |
4 |
17 |
2 |
| mace_pcibr_intr_line |
|
1 |
4 |
14 |
2 |
| mace_pcib_read_1 |
|
1 |
4 |
30 |
3 |
| mace_pcib_read_2 |
|
1 |
4 |
30 |
3 |
| mace_pcib_read_4 |
|
1 |
4 |
26 |
3 |
| mace_pcib_read_8 |
|
1 |
4 |
26 |
3 |
| mace_pcib_write_1 |
|
1 |
5 |
34 |
4 |
| mace_pcib_write_2 |
|
1 |
5 |
34 |
4 |
| mace_pcib_write_4 |
|
1 |
5 |
30 |
4 |
| mace_pcib_write_8 |
|
1 |
5 |
30 |
4 |
| mace_pcib_read_raw_2 |
|
2 |
10 |
71 |
5 |
| mace_pcib_write_raw_2 |
|
2 |
10 |
72 |
5 |
| mace_pcib_read_raw_4 |
|
2 |
10 |
67 |
5 |
| mace_pcib_write_raw_4 |
|
2 |
10 |
68 |
5 |
| mace_pcib_read_raw_8 |
|
2 |
10 |
67 |
5 |
| mace_pcib_write_raw_8 |
|
2 |
10 |
68 |
5 |
| mace_pcib_space_map |
|
7 |
17 |
116 |
5 |
| mace_pcib_space_unmap |
|
1 |
4 |
13 |
3 |
| mace_pcib_space_region |
|
1 |
6 |
32 |
5 |
| mace_pcib_space_vaddr |
|
1 |
4 |
17 |
2 |
| mace_pcib_space_barrier |
|
1 |
5 |
23 |
5 |
| mace_pcibr_pa_to_device |
|
1 |
4 |
17 |
2 |
| mace_pcibr_configure |
|
15 |
47 |
328 |
1 |
| mace_pcibr_device_fixup |
|
9 |
42 |
223 |
3 |
| mace_pcibr_ppb_setup |
|
3 |
19 |
94 |
6 |
| mace_pcibr_rbus_space_map |
|
1 |
5 |
34 |
5 |
| mace_pcibr_rbus_space_unmap |
|
1 |
6 |
41 |
4 |
| mace_pcibr_rbus_parent_io |
|
2 |
9 |
45 |
1 |
| mace_pcibr_rbus_parent_mem |
|
2 |
9 |
45 |
1 |
| Source file: ./sys/arch/socppc/socppc/disksubr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| readdisklabel |
|
8 |
26 |
157 |
4 |
| writedisklabel |
|
4 |
30 |
213 |
3 |
| Source file: ./sys/arch/socppc/socppc/mem.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mmopen |
|
12 |
24 |
110 |
4 |
| mmclose |
|
3 |
6 |
34 |
4 |
| mmrw |
|
13 |
55 |
297 |
3 |
| mmmmap |
|
1 |
4 |
19 |
3 |
| mmioctl |
|
1 |
4 |
26 |
5 |
| Source file: ./sys/arch/socppc/socppc/conf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| iskmemdev |
|
2 |
4 |
22 |
1 |
| iszerodev |
|
2 |
4 |
22 |
1 |
| getnulldev |
|
1 |
4 |
13 |
0 |
| Source file: ./sys/arch/socppc/socppc/mainbus.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mainbus_match |
|
1 |
4 |
22 |
3 |
| mainbus_attach |
|
10 |
35 |
266 |
3 |
| mainbus_print |
|
2 |
7 |
40 |
2 |
| Source file: ./sys/arch/socppc/stand/boot/fdt.h |
| Source file: ./sys/arch/socppc/socppc/machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| initppc |
|
41 |
151 |
982 |
3 |
| dumpsys |
|
1 |
3 |
6 |
1 |
| lcsplx |
|
1 |
4 |
13 |
1 |
| cpu_startup |
|
1 |
18 |
128 |
0 |
| consinit |
|
2 |
8 |
25 |
0 |
| setregs |
|
1 |
20 |
189 |
4 |
| sendsig |
|
8 |
38 |
408 |
6 |
| sys_sigreturn |
|
5 |
27 |
220 |
3 |
| cpu_sysctl |
|
6 |
20 |
129 |
7 |
| dumpconf |
|
8 |
18 |
143 |
1 |
| reserve_dumppages |
|
1 |
5 |
17 |
1 |
| boot |
|
11 |
47 |
216 |
1 |
| signotify |
|
1 |
4 |
14 |
1 |
| kcopy |
|
2 |
12 |
76 |
3 |
| ppc_mem_regions |
|
2 |
12 |
102 |
2 |
| myetheraddr |
|
1 |
5 |
30 |
1 |
| cpu_switchto |
|
1 |
4 |
21 |
2 |
| Source file: ./sys/arch/socppc/include/bus.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bus_space_read_region_1 |
|
2 |
8 |
52 |
5 |
| bus_space_read_region_2 |
|
2 |
9 |
64 |
5 |
| bus_space_read_region_4 |
|
2 |
9 |
64 |
5 |
| bus_space_write_region_1 |
|
2 |
8 |
54 |
5 |
| bus_space_write_region_2 |
|
2 |
9 |
65 |
5 |
| bus_space_write_region_4 |
|
2 |
9 |
65 |
5 |
| bus_space_read_raw_region_2 |
|
2 |
10 |
70 |
5 |
| bus_space_read_raw_region_4 |
|
2 |
10 |
70 |
5 |
| bus_space_write_raw_region_2 |
|
2 |
10 |
72 |
5 |
| bus_space_write_raw_region_4 |
|
2 |
10 |
72 |
5 |
| bus_space_set_multi_1 |
|
2 |
8 |
49 |
5 |
| bus_space_set_multi_2 |
|
2 |
9 |
60 |
5 |
| bus_space_set_multi_4 |
|
2 |
9 |
60 |
5 |
| Source file: ./sys/arch/socppc/stand/boot/machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| machdep |
|
14 |
58 |
369 |
1 |
| main |
|
5 |
17 |
104 |
1 |
| _rtt |
|
2 |
10 |
55 |
1 |
| Source file: ./sys/arch/socppc/socppc/clock.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| inittodr |
|
14 |
48 |
290 |
1 |
| resettodr |
|
4 |
9 |
45 |
1 |
| decr_intr |
|
9 |
44 |
247 |
1 |
| cpu_initclocks |
|
2 |
21 |
115 |
1 |
| cpu_startclock |
|
1 |
10 |
60 |
0 |
| delay |
|
2 |
8 |
39 |
1 |
| setstatclockrate |
|
2 |
13 |
64 |
1 |
| tb_get_timecount |
|
1 |
4 |
14 |
1 |
| Source file: ./sys/arch/socppc/stand/boot/dev_socppc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| devboot |
|
1 |
4 |
20 |
2 |
| cnspeed |
|
1 |
4 |
13 |
2 |
| ttyname |
|
1 |
6 |
37 |
1 |
| ttydev |
|
9 |
13 |
126 |
1 |
| Source file: ./sys/arch/socppc/stand/boot/wdvar.h |
| Source file: ./sys/arch/socppc/stand/boot/time.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| getsecs |
|
1 |
6 |
27 |
1 |
| Source file: ./sys/arch/socppc/dev/if_tsec.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tsec_match |
|
5 |
12 |
103 |
3 |
| tsec_attach |
|
9 |
71 |
599 |
3 |
| tsec_find_phy |
|
5 |
13 |
93 |
2 |
| tsec_read |
|
1 |
4 |
31 |
2 |
| tsec_write |
|
1 |
4 |
33 |
3 |
| tsec_mii_read |
|
1 |
4 |
31 |
2 |
| tsec_mii_write |
|
1 |
4 |
33 |
3 |
| tsec_lladdr_write |
|
1 |
9 |
93 |
1 |
| tsec_start |
|
12 |
39 |
236 |
1 |
| tsec_ioctl |
|
11 |
40 |
220 |
3 |
| tsec_watchdog |
|
1 |
4 |
16 |
1 |
| tsec_media_change |
|
2 |
7 |
43 |
1 |
| tsec_media_status |
|
2 |
9 |
65 |
2 |
| tsec_mii_readreg |
|
3 |
17 |
135 |
3 |
| tsec_mii_writereg |
|
3 |
15 |
112 |
4 |
| tsec_mii_statchg |
|
8 |
36 |
173 |
1 |
| tsec_tick |
|
1 |
9 |
47 |
1 |
| tsec_txintr |
|
2 |
14 |
90 |
1 |
| tsec_rxintr |
|
2 |
12 |
82 |
1 |
| tsec_errintr |
|
3 |
17 |
108 |
1 |
| tsec_tx_proc |
|
6 |
35 |
229 |
1 |
| tsec_rx_proc |
|
5 |
43 |
301 |
1 |
| tsec_up |
|
4 |
96 |
809 |
1 |
| tsec_down |
|
5 |
40 |
300 |
1 |
| tsec_iff |
|
5 |
30 |
213 |
1 |
| tsec_encap |
|
8 |
51 |
412 |
3 |
| tsec_reset |
|
1 |
7 |
41 |
1 |
| tsec_stop_dma |
|
5 |
23 |
139 |
1 |
| tsec_dmamem_alloc |
|
5 |
30 |
241 |
3 |
| tsec_dmamem_free |
|
1 |
7 |
63 |
2 |
| tsec_alloc_mbuf |
|
3 |
16 |
117 |
2 |
| tsec_fill_rx_ring |
|
4 |
23 |
160 |
1 |
| Source file: ./sys/arch/socppc/stand/boot/conf.c |
| Source file: ./sys/arch/socppc/stand/boot/clock.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| delay |
|
2 |
6 |
24 |
1 |
| Source file: ./sys/arch/socppc/stand/boot/fdt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fdt_check_head |
|
5 |
16 |
102 |
1 |
| fdt_init |
|
12 |
35 |
308 |
1 |
| fdt_get_str |
|
3 |
6 |
35 |
1 |
| skip_property |
|
1 |
7 |
42 |
1 |
| skip_props |
|
2 |
7 |
27 |
1 |
| skip_node_name |
|
1 |
5 |
35 |
1 |
| fdt_node_property |
|
5 |
22 |
130 |
3 |
| fdt_next_node |
|
7 |
19 |
106 |
1 |
| fdt_child_node |
|
4 |
13 |
65 |
1 |
| fdt_node_name |
|
3 |
10 |
45 |
1 |
| fdt_find_node |
|
9 |
29 |
155 |
1 |
| fdt_parent_node_recurse |
|
5 |
11 |
69 |
2 |
| fdt_parent_node |
|
2 |
7 |
33 |
1 |
| fdt_print_property |
|
14 |
37 |
273 |
2 |
| fdt_print_node |
|
4 |
15 |
89 |
2 |
| fdt_print_node_recurse |
|
2 |
7 |
49 |
2 |
| fdt_print_tree |
|
1 |
4 |
16 |
1 |
| Source file: ./sys/arch/socppc/stand/boot/wdc_obio.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wdc_obio_init |
|
4 |
22 |
183 |
2 |
| wdc_read_cmdreg |
|
3 |
8 |
42 |
2 |
| wdc_write_cmdreg |
|
1 |
4 |
25 |
3 |
| wdc_read_ctlreg |
|
3 |
8 |
41 |
2 |
| wdc_write_ctlreg |
|
1 |
4 |
24 |
3 |
| Source file: ./sys/arch/socppc/stand/boot/libsa.h |
| Source file: ./sys/arch/socppc/stand/boot/ns16550.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| comspeed |
|
5 |
15 |
101 |
1 |
| com_probe |
|
1 |
5 |
26 |
1 |
| com_init |
|
1 |
13 |
79 |
1 |
| com_getc |
|
3 |
9 |
53 |
1 |
| com_putc |
|
5 |
13 |
77 |
2 |
| Source file: ./sys/arch/socppc/stand/boot/pciide.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pciide_init |
|
4 |
23 |
185 |
2 |
| pciide_read_cmdreg |
|
1 |
4 |
21 |
2 |
| pciide_write_cmdreg |
|
1 |
4 |
25 |
3 |
| pciide_read_ctlreg |
|
1 |
4 |
20 |
2 |
| pciide_write_ctlreg |
|
1 |
4 |
24 |
3 |
| Source file: ./sys/arch/socppc/stand/boot/cmd_socppc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| Xfdt |
|
2 |
9 |
27 |
1 |
| Source file: ./sys/arch/socppc/stand/boot/devopen.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| devparse |
|
15 |
42 |
319 |
5 |
| devopen |
|
3 |
13 |
114 |
3 |
| Source file: ./sys/arch/socppc/stand/boot/exec.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| run_loadfile |
|
6 |
34 |
251 |
2 |
| Source file: ./sys/arch/armv7/marvell/mvmbusvar.h |
| Source file: ./sys/arch/socppc/stand/boot/wd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wdprobe |
|
5 |
20 |
115 |
1 |
| wd_get_params |
|
6 |
21 |
157 |
1 |
| wdgetdefaultlabel |
|
3 |
29 |
231 |
2 |
| wdgetdisklabel |
|
9 |
45 |
314 |
1 |
| wdopen |
|
6 |
24 |
152 |
2 |
| wdclose |
|
1 |
4 |
12 |
1 |
| wdstrategy |
|
5 |
26 |
165 |
6 |
| Source file: ./sys/arch/socppc/stand/mkboot/mkboot.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
13 |
62 |
471 |
2 |
| usage |
|
1 |
6 |
23 |
1 |
| Source file: ./sys/arch/armv7/marvell/mvsysctrl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mvsysctrl_match |
|
1 |
6 |
34 |
3 |
| mvsysctrl_attach |
|
2 |
12 |
99 |
3 |
| mvsysctrl_reset |
|
2 |
8 |
38 |
1 |
| Source file: ./sys/arch/armv7/marvell/mvpxa.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mvpxa_wininit |
|
4 |
19 |
141 |
1 |
| mvpxa_match |
|
1 |
5 |
34 |
3 |
| mvpxa_attach |
|
7 |
52 |
469 |
3 |
| Source file: ./sys/arch/armv7/marvell/mvxhci.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mvxhci_wininit |
|
4 |
19 |
144 |
1 |
| mvxhci_match |
|
2 |
6 |
43 |
3 |
| mvxhci_attach |
|
6 |
48 |
403 |
3 |
| Source file: ./sys/arch/armv7/marvell/mvagc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mvagc_match |
|
1 |
6 |
36 |
3 |
| mvagc_attach |
|
2 |
16 |
141 |
3 |
| mvagc_gen_get_frequency |
|
1 |
5 |
29 |
2 |
| mvagc_enable |
|
3 |
11 |
71 |
3 |
| Source file: ./sys/arch/armv7/marvell/mvacc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mvacc_match |
|
1 |
5 |
34 |
3 |
| mvacc_attach |
|
2 |
17 |
151 |
3 |
| mvacc_get_frequency |
|
7 |
27 |
169 |
2 |
| Source file: ./sys/arch/armv7/marvell/mvmbus.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mvmbus_match |
|
4 |
9 |
59 |
3 |
| mvmbus_attach |
|
9 |
36 |
321 |
3 |
| mvmbus_parse_ranges |
|
8 |
37 |
292 |
2 |
| mvmbus_window_is_free |
|
2 |
6 |
32 |
2 |
| mvmbus_alloc_window |
|
7 |
22 |
160 |
6 |
| mvmbus_setup_window |
|
3 |
27 |
206 |
7 |
| mvmbus_disable_window |
|
2 |
15 |
123 |
2 |
| mvmbus_window_conflicts |
|
5 |
12 |
94 |
3 |
| mvmbus_parse_dram_info |
|
4 |
21 |
159 |
1 |
| Source file: ./sys/arch/socppc/stand/boot/wdc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __wdcwait_reset |
|
12 |
35 |
216 |
2 |
| wdcprobe |
|
9 |
39 |
260 |
1 |
| wdc_init |
|
4 |
12 |
70 |
2 |
| wdc_wait_for_ready |
|
3 |
11 |
58 |
1 |
| wdc_read_block |
|
3 |
13 |
87 |
2 |
| wdccommand |
|
4 |
27 |
212 |
2 |
| wdccommandext |
|
3 |
27 |
239 |
2 |
| wdc_exec_identify |
|
2 |
15 |
93 |
2 |
| wdc_exec_read |
|
5 |
38 |
264 |
4 |
| Source file: ./sys/arch/armv7/marvell/mvahci.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mvahci_wininit |
|
4 |
22 |
166 |
1 |
| mvahci_match |
|
1 |
5 |
34 |
3 |
| mvahci_attach |
|
5 |
31 |
222 |
3 |
| mvahci_detach |
|
1 |
7 |
49 |
2 |
| mvahci_activate |
|
1 |
5 |
37 |
2 |
| Source file: ./sys/arch/armv7/broadcom/bcm2835_dwctwo.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bcm_dwctwo_match |
|
2 |
6 |
50 |
3 |
| bcm_dwctwo_attach |
|
3 |
25 |
265 |
3 |
| bcm_dwctwo_deferred |
|
2 |
12 |
88 |
1 |
| Source file: ./sys/arch/armv7/include/math.h |
| Source file: ./sys/arch/armv7/include/pmap.h |
| Source file: ./sys/arch/armv7/include/disklabel.h |
| Source file: ./sys/arch/armv7/include/apmvar.h |
| Source file: ./sys/arch/armv7/include/profile.h |
| Source file: ./sys/arch/armv7/include/fdt.h |
| Source file: ./sys/arch/armv7/include/vmparam.h |
| Source file: ./sys/arch/armv7/include/lock.h |
| Source file: ./sys/arch/armv7/marvell/mvmpic.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mpic_match |
|
1 |
5 |
34 |
3 |
| mpic_attach |
|
4 |
36 |
372 |
3 |
| mpic_set_priority |
|
1 |
6 |
63 |
3 |
| mpic_intr_enable |
|
1 |
5 |
42 |
2 |
| mpic_intr_disable |
|
1 |
5 |
42 |
2 |
| mpic_calc_mask |
|
9 |
26 |
163 |
1 |
| mpic_intr |
|
5 |
20 |
123 |
1 |
| mpic_intr_establish |
|
6 |
31 |
231 |
6 |
| mpic_intr_disestablish |
|
3 |
16 |
112 |
1 |
| Source file: ./sys/arch/armv7/include/_float.h |
| Source file: ./sys/arch/armv7/include/exec.h |
| Source file: ./sys/arch/armv7/include/spinlock.h |
| Source file: ./sys/arch/armv7/include/tcb.h |
| Source file: ./sys/arch/armv7/include/machine_reg.h |
| Source file: ./sys/arch/armv7/include/stdarg.h |
| Source file: ./sys/arch/armv7/include/_types.h |
| Source file: ./sys/arch/armv7/include/ieee.h |
| Source file: ./sys/arch/armv7/include/ieeefp.h |
| Source file: ./sys/arch/armv7/include/fenv.h |
| Source file: ./sys/arch/armv7/include/mutex.h |
| Source file: ./sys/arch/armv7/include/loadfile_machdep.h |
| Source file: ./sys/arch/armv7/include/bootconfig.h |
| Source file: ./sys/arch/armv7/include/cpu.h |
| Source file: ./sys/arch/armv7/include/openpromio.h |
| Source file: ./sys/arch/armv7/include/cdefs.h |
| Source file: ./sys/arch/armv7/include/endian.h |
| Source file: ./sys/arch/armv7/include/frame.h |
| Source file: ./sys/arch/armv7/include/fp.h |
| Source file: ./sys/arch/armv7/include/ptrace.h |
| Source file: ./sys/arch/armv7/include/limits.h |
| Source file: ./sys/arch/armv7/include/conf.h |
| Source file: ./sys/arch/armv7/include/atomic.h |
| Source file: ./sys/arch/armv7/include/bus.h |
| Source file: ./sys/arch/armv7/include/proc.h |
| Source file: ./sys/arch/armv7/include/setjmp.h |
| Source file: ./sys/arch/armv7/dev/com_fdt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| com_fdt_init_cons |
|
4 |
18 |
116 |
1 |
| com_fdt_match |
|
4 |
8 |
63 |
3 |
| com_fdt_attach |
|
9 |
39 |
344 |
3 |
| com_fdt_intr_designware |
|
1 |
6 |
34 |
1 |
| com_fdt_cngetc |
|
1 |
4 |
15 |
1 |
| com_fdt_cnputc |
|
1 |
4 |
19 |
2 |
| com_fdt_cnpollc |
|
1 |
3 |
10 |
2 |
| Source file: ./sys/arch/armv7/include/reloc.h |
| Source file: ./sys/arch/armv7/include/rtc.h |
| Source file: ./sys/arch/armv7/include/pcb.h |
| Source file: ./sys/arch/armv7/include/db_machdep.h |
| Source file: ./sys/arch/armv7/include/signal.h |
| Source file: ./sys/arch/armv7/include/asm.h |
| Source file: ./sys/arch/armv7/include/reg.h |
| Source file: ./sys/arch/armv7/include/param.h |
| Source file: ./sys/arch/armv7/include/sysarch.h |
| Source file: ./sys/arch/armv7/include/trap.h |
| Source file: ./sys/arch/armv7/include/intr.h |
| Source file: ./sys/arch/armv7/broadcom/bcm2836_intr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bcm_intc_match |
|
2 |
7 |
41 |
3 |
| bcm_intc_attach |
|
9 |
58 |
479 |
3 |
| bcm_intc_intr_enable |
|
5 |
14 |
138 |
2 |
| bcm_intc_intr_disable |
|
5 |
14 |
138 |
2 |
| bcm_intc_calc_mask |
|
9 |
33 |
202 |
1 |
| bcm_intc_splx |
|
2 |
7 |
37 |
1 |
| bcm_intc_spllower |
|
1 |
7 |
33 |
1 |
| bcm_intc_splraise |
|
2 |
10 |
45 |
1 |
| bcm_intc_setipl |
|
2 |
24 |
199 |
1 |
| bcm_intc_get_next_irq |
|
18 |
52 |
312 |
1 |
| bcm_intc_call_handler |
|
6 |
27 |
154 |
2 |
| bcm_intc_irq_handler |
|
2 |
6 |
35 |
1 |
| bcm_intc_intr_establish_fdt |
|
5 |
18 |
136 |
6 |
| l1_intc_intr_establish_fdt |
|
1 |
7 |
59 |
6 |
| bcm_intc_intr_establish |
|
5 |
25 |
177 |
5 |
| bcm_intc_intr_disestablish |
|
2 |
13 |
86 |
1 |
| bcm_intc_intr_string |
|
1 |
4 |
11 |
1 |
| Source file: ./sys/arch/armv7/exynos/exuartreg.h |
| Source file: ./sys/arch/armv7/dev/pluart.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pluart_init_cons |
|
3 |
10 |
57 |
1 |
| pluartprobe |
|
1 |
5 |
34 |
3 |
| pluartattach |
|
7 |
36 |
315 |
3 |
| pluart_intr |
|
15 |
46 |
316 |
1 |
| pluart_param |
|
12 |
39 |
217 |
2 |
| pluart_start |
|
8 |
33 |
258 |
1 |
| pluart_pwroff |
|
1 |
3 |
9 |
1 |
| pluart_diag |
|
3 |
17 |
97 |
1 |
| pluart_raisedtr |
|
1 |
3 |
8 |
1 |
| pluart_softint |
|
11 |
37 |
258 |
1 |
| pluartopen |
|
23 |
105 |
779 |
4 |
| pluartclose |
|
3 |
21 |
153 |
4 |
| pluartread |
|
2 |
8 |
58 |
3 |
| pluartwrite |
|
2 |
8 |
58 |
3 |
| pluartioctl |
|
16 |
46 |
217 |
5 |
| pluartstop |
|
1 |
4 |
15 |
2 |
| pluarttty |
|
3 |
12 |
61 |
1 |
| pluart_sc |
|
2 |
10 |
50 |
1 |
| pluartcnprobe |
|
1 |
5 |
26 |
1 |
| pluartcninit |
|
1 |
3 |
9 |
1 |
| pluartcnattach |
|
2 |
18 |
116 |
4 |
| pluartcngetc |
|
2 |
12 |
56 |
1 |
| pluartcnputc |
|
2 |
10 |
56 |
2 |
| pluartcnpollc |
|
1 |
3 |
10 |
2 |
| Source file: ./sys/arch/armv7/exynos/exdwusb.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| exdwusb_match |
|
1 |
5 |
34 |
3 |
| exdwusb_attach |
|
1 |
6 |
51 |
3 |
| Source file: ./sys/arch/armv7/exynos/exsysregvar.h |
| Source file: ./sys/arch/armv7/exynos/exdisplay.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| exdisplay_match |
|
3 |
7 |
41 |
3 |
| exdisplay_attach |
|
7 |
40 |
315 |
3 |
| exdisplay_cnattach |
|
2 |
12 |
102 |
3 |
| exdisplay_setup_rasops |
|
2 |
25 |
175 |
2 |
| exdisplay_wsioctl |
|
1 |
4 |
28 |
5 |
| exdisplay_wsmmap |
|
1 |
4 |
20 |
3 |
| exdisplay_alloc_screen |
|
1 |
7 |
60 |
6 |
| exdisplay_free_screen |
|
1 |
6 |
36 |
2 |
| exdisplay_show_screen |
|
1 |
5 |
38 |
5 |
| exdisplay_doswitch |
|
1 |
3 |
12 |
2 |
| exdisplay_getchar |
|
1 |
6 |
47 |
4 |
| exdisplay_load_font |
|
1 |
6 |
43 |
3 |
| exdisplay_list_font |
|
1 |
6 |
37 |
2 |
| exdisplay_burner |
|
1 |
3 |
14 |
3 |
| Source file: ./sys/arch/armv7/exynos/expower.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| expower_match |
|
2 |
6 |
45 |
3 |
| expower_attach |
|
2 |
12 |
115 |
3 |
| Source file: ./sys/arch/armv7/exynos/exdisplayvar.h |
| Source file: ./sys/arch/armv7/exynos/exgpio.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| exgpio_match |
|
1 |
5 |
34 |
3 |
| exgpio_attach |
|
8 |
40 |
323 |
3 |
| exgpio_bank |
|
3 |
9 |
64 |
2 |
| exgpio_pinctrl |
|
9 |
60 |
478 |
2 |
| exgpio_config_pin |
|
3 |
14 |
118 |
3 |
| exgpio_get_pin |
|
3 |
16 |
102 |
2 |
| exgpio_set_pin |
|
4 |
17 |
119 |
3 |
| Source file: ./sys/arch/armv7/exynos/exclockvar.h |
| Source file: ./sys/arch/armv7/exynos/crosecvar.h |
| Source file: ./sys/arch/armv7/exynos/exdog.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| exdog_match |
|
2 |
6 |
45 |
3 |
| exdog_attach |
|
3 |
13 |
105 |
3 |
| exdog_stop |
|
2 |
9 |
57 |
1 |
| exdog_reset |
|
2 |
16 |
107 |
1 |
| Source file: ./sys/arch/armv7/exynos/ec_commands.h |
| Source file: ./sys/arch/armv7/exynos/tps65090.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tps65090_match |
|
2 |
7 |
47 |
3 |
| tps65090_attach |
|
1 |
9 |
62 |
3 |
| tps65090_fet_enable |
|
6 |
12 |
62 |
1 |
| tps65090_fet_disable |
|
3 |
6 |
26 |
1 |
| tps65090_fet_set |
|
5 |
19 |
110 |
2 |
| tps65090_fet_get |
|
1 |
6 |
32 |
1 |
| tps65090_get_charging |
|
1 |
6 |
27 |
0 |
| tps65090_set_charging |
|
2 |
10 |
46 |
1 |
| tps65090_read_reg |
|
1 |
9 |
61 |
2 |
| tps65090_write_reg |
|
1 |
7 |
58 |
3 |
| Source file: ./sys/arch/armv7/exynos/exmct.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| exmct_match |
|
1 |
5 |
34 |
3 |
| exmct_attach |
|
4 |
27 |
223 |
3 |
| Source file: ./sys/arch/armv7/exynos/crosec.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cros_ec_match |
|
2 |
7 |
43 |
3 |
| cros_ec_attach |
|
3 |
16 |
94 |
3 |
| cros_ec_check_version |
|
2 |
14 |
83 |
1 |
| cros_ec_i2c_command |
|
9 |
62 |
426 |
7 |
| cros_ec_send_command |
|
1 |
6 |
53 |
7 |
| cros_ec_command |
|
4 |
15 |
94 |
7 |
| cros_ec_command_inptr |
|
5 |
25 |
167 |
7 |
| cros_ec_calc_checksum |
|
2 |
7 |
44 |
2 |
| cros_ec_scan_keyboard |
|
2 |
7 |
44 |
3 |
| cros_ec_info |
|
2 |
7 |
50 |
2 |
| Source file: ./sys/arch/armv7/exynos/exiic.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| exiic_match |
|
1 |
5 |
34 |
3 |
| exiic_attach |
|
3 |
26 |
238 |
3 |
| exiic_scan |
|
5 |
25 |
216 |
3 |
| exiic_setspeed |
|
5 |
13 |
112 |
2 |
| exiic_intr |
|
2 |
13 |
66 |
1 |
| exiic_wait_intr |
|
3 |
18 |
95 |
3 |
| exiic_wait_state |
|
3 |
12 |
78 |
4 |
| exiic_i2c_acquire_bus |
|
2 |
13 |
77 |
2 |
| exiic_i2c_release_bus |
|
1 |
5 |
29 |
2 |
| exiic_i2c_exec |
|
21 |
69 |
446 |
8 |
| exiic_xfer_start |
|
1 |
4 |
18 |
1 |
| exiic_xfer_wait |
|
3 |
9 |
43 |
1 |
| exiic_detach |
|
1 |
6 |
42 |
2 |
| Source file: ./sys/arch/armv7/exynos/exuartvar.h |
| Source file: ./sys/arch/armv7/exynos/exsysreg.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| exsysreg_match |
|
1 |
5 |
34 |
3 |
| exsysreg_attach |
|
2 |
11 |
95 |
3 |
| exsysreg_usbhost_mode |
|
2 |
9 |
42 |
1 |
| Source file: ./sys/arch/armv7/exynos/crosec_kbd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cros_ec_init_keyboard |
|
3 |
27 |
233 |
1 |
| cros_ec_add_task |
|
1 |
6 |
48 |
1 |
| cros_ec_poll_keystate |
|
1 |
5 |
25 |
1 |
| cros_ec_get_keystate |
|
10 |
29 |
270 |
1 |
| cros_ec_keyboard_cngetc |
|
3 |
12 |
84 |
3 |
| cros_ec_keyboard_cnpollc |
|
1 |
3 |
11 |
2 |
| cros_ec_keyboard_enable |
|
1 |
4 |
14 |
2 |
| cros_ec_keyboard_set_leds |
|
1 |
3 |
11 |
2 |
| cros_ec_keyboard_ioctl |
|
7 |
18 |
98 |
5 |
| Source file: ./sys/arch/armv7/exynos/exclock.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| exclock_match |
|
2 |
6 |
45 |
3 |
| exclock_attach |
|
3 |
25 |
195 |
3 |
| exynos5250_get_frequency |
|
1 |
6 |
32 |
2 |
| exynos5250_set_frequency |
|
1 |
6 |
36 |
3 |
| exynos5250_enable |
|
1 |
5 |
32 |
3 |
| exynos5420_get_frequency |
|
10 |
62 |
435 |
2 |
| exynos5420_set_frequency |
|
1 |
6 |
36 |
3 |
| exynos5420_enable |
|
3 |
10 |
46 |
3 |
| exclock_cpuspeed |
|
1 |
5 |
22 |
1 |
| exclock_decode_pll_clk |
|
6 |
28 |
194 |
3 |
| exclock_get_pll_clk |
|
11 |
54 |
229 |
1 |
| exclock_get_armclk |
|
1 |
11 |
77 |
1 |
| exclock_get_i2cclk |
|
1 |
12 |
88 |
1 |
| Source file: ./sys/arch/armv7/armv7/autoconf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| device_register |
|
1 |
3 |
13 |
2 |
| cpu_configure |
|
1 |
7 |
28 |
1 |
| diskconf |
|
5 |
20 |
107 |
1 |
| Source file: ./sys/arch/armv7/armv7/armv7_machdep.h |
| Source file: ./sys/arch/armv7/exynos/exehci.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| exehci_match |
|
1 |
5 |
34 |
3 |
| exehci_attach |
|
10 |
63 |
476 |
3 |
| exehci_detach |
|
4 |
17 |
108 |
2 |
| exehci_setup |
|
6 |
67 |
404 |
1 |
| Source file: ./sys/arch/armv7/armv7/armv7.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| armv7_submatch |
|
2 |
8 |
60 |
3 |
| armv7_set_devs |
|
1 |
4 |
13 |
1 |
| armv7_find_dev |
|
5 |
11 |
76 |
2 |
| armv7_attach |
|
4 |
23 |
182 |
3 |
| Source file: ./sys/arch/armv7/armv7/armv7var.h |
| Source file: ./sys/arch/armv7/armv7/platform.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| platform_init |
|
5 |
16 |
76 |
1 |
| platform_smc_write |
|
3 |
8 |
54 |
5 |
| platform_init_cons |
|
3 |
11 |
40 |
1 |
| platform_init_mainbus |
|
3 |
7 |
32 |
1 |
| platform_watchdog_reset |
|
3 |
5 |
20 |
1 |
| platform_powerdown |
|
3 |
5 |
20 |
1 |
| platform_board_devs |
|
3 |
7 |
26 |
0 |
| Source file: ./sys/arch/armv7/exynos/exuart.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| exuart_init_cons |
|
6 |
19 |
115 |
1 |
| exuartprobe |
|
1 |
5 |
34 |
3 |
| exuartattach |
|
7 |
39 |
342 |
3 |
| exuart_intr |
|
20 |
60 |
424 |
1 |
| exuart_param |
|
15 |
61 |
396 |
2 |
| exuart_start |
|
11 |
39 |
285 |
1 |
| exuart_pwroff |
|
1 |
3 |
9 |
1 |
| exuart_diag |
|
3 |
17 |
97 |
1 |
| exuart_raisedtr |
|
1 |
3 |
8 |
1 |
| exuart_softint |
|
17 |
50 |
330 |
1 |
| exuartopen |
|
23 |
108 |
812 |
4 |
| exuartclose |
|
3 |
21 |
153 |
4 |
| exuartread |
|
2 |
8 |
58 |
3 |
| exuartwrite |
|
2 |
8 |
58 |
3 |
| exuartioctl |
|
24 |
56 |
346 |
5 |
| exuartstop |
|
1 |
4 |
15 |
2 |
| exuarttty |
|
3 |
12 |
61 |
1 |
| exuart_sc |
|
2 |
10 |
50 |
1 |
| exuartcnprobe |
|
1 |
5 |
26 |
1 |
| exuartcninit |
|
1 |
3 |
9 |
1 |
| exuartcnattach |
|
2 |
16 |
96 |
4 |
| exuartcngetc |
|
3 |
14 |
75 |
1 |
| exuartcnputc |
|
2 |
10 |
49 |
2 |
| exuartcnpollc |
|
1 |
3 |
10 |
2 |
| Source file: ./sys/arch/armv7/imx/imxdog.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| imxdog_match |
|
1 |
5 |
34 |
3 |
| imxdog_attach |
|
3 |
14 |
107 |
3 |
| imxdog_reset |
|
2 |
11 |
94 |
1 |
| Source file: ./sys/arch/armv7/armv7/armv7_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| boot |
|
10 |
37 |
180 |
1 |
| read_ttb |
|
1 |
6 |
40 |
1 |
| bootstrap_bs_map |
|
3 |
19 |
136 |
5 |
| copy_io_area_map |
|
3 |
12 |
77 |
1 |
| initarm |
|
36 |
200 |
1509 |
4 |
| process_kernel_args |
|
13 |
46 |
203 |
1 |
| fdt_find_cons |
|
11 |
36 |
204 |
1 |
| consinit |
|
2 |
8 |
28 |
1 |
| board_startup |
|
3 |
7 |
23 |
1 |
| Source file: ./sys/arch/armv7/imx/imxiic.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| imxiic_match |
|
1 |
5 |
34 |
3 |
| imxiic_attach |
|
4 |
33 |
285 |
3 |
| imxiic_setspeed |
|
5 |
18 |
130 |
2 |
| imxiic_intr |
|
2 |
13 |
73 |
1 |
| imxiic_wait_intr |
|
3 |
18 |
95 |
3 |
| imxiic_wait_state |
|
3 |
12 |
75 |
3 |
| imxiic_read |
|
8 |
28 |
231 |
4 |
| imxiic_write |
|
9 |
28 |
235 |
6 |
| imxiic_i2c_acquire_bus |
|
1 |
11 |
70 |
2 |
| imxiic_i2c_release_bus |
|
1 |
6 |
35 |
2 |
| imxiic_i2c_exec |
|
7 |
29 |
199 |
8 |
| imxiic_detach |
|
1 |
10 |
78 |
2 |
| imxiic_scan |
|
5 |
25 |
216 |
3 |
| Source file: ./sys/arch/armv7/imx/imxahci.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| imxahci_match |
|
1 |
5 |
34 |
3 |
| imxahci_attach |
|
8 |
42 |
375 |
3 |
| imxahci_detach |
|
1 |
8 |
59 |
2 |
| imxahci_activate |
|
1 |
6 |
47 |
2 |
| Source file: ./sys/arch/armv7/imx/imxanatop.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| imxanatop_match |
|
2 |
7 |
41 |
3 |
| imxanatop_attach |
|
3 |
18 |
134 |
3 |
| Source file: ./sys/arch/armv7/imx/imxccmvar.h |
| Source file: ./sys/arch/armv7/armv7/intr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| arm_intr |
|
1 |
4 |
16 |
1 |
| arm_dflt_intr |
|
1 |
4 |
13 |
1 |
| arm_intr_establish |
|
1 |
5 |
44 |
5 |
| arm_intr_disestablish |
|
1 |
4 |
15 |
1 |
| arm_intr_string |
|
1 |
4 |
16 |
1 |
| arm_intr_get_parent |
|
3 |
9 |
42 |
1 |
| arm_intr_prereg_establish_fdt |
|
2 |
17 |
137 |
6 |
| arm_intr_prereg_disestablish_fdt |
|
4 |
10 |
75 |
1 |
| arm_intr_init_fdt_recurse |
|
3 |
15 |
94 |
1 |
| arm_intr_init_fdt |
|
2 |
6 |
23 |
1 |
| arm_intr_register_fdt |
|
5 |
20 |
170 |
1 |
| arm_intr_establish_fdt |
|
1 |
5 |
44 |
5 |
| arm_intr_establish_fdt_idx |
|
17 |
58 |
378 |
6 |
| arm_intr_disestablish_fdt |
|
1 |
7 |
46 |
1 |
| arm_intr_parent_establish_fdt |
|
4 |
22 |
151 |
6 |
| arm_intr_parent_disestablish_fdt |
|
1 |
7 |
46 |
1 |
| arm_intr_route |
|
2 |
7 |
51 |
3 |
| arm_dflt_splraise |
|
2 |
10 |
44 |
1 |
| arm_dflt_spllower |
|
1 |
8 |
33 |
1 |
| arm_dflt_splx |
|
2 |
7 |
38 |
1 |
| arm_dflt_setipl |
|
1 |
5 |
22 |
1 |
| arm_dflt_intr_establish |
|
1 |
5 |
33 |
5 |
| arm_dflt_intr_disestablish |
|
1 |
4 |
13 |
1 |
| arm_dflt_intr_string |
|
1 |
4 |
13 |
1 |
| arm_setsoftintr |
|
2 |
10 |
60 |
1 |
| arm_do_pending_intr |
|
2 |
14 |
81 |
1 |
| arm_set_intr_handler |
|
1 |
17 |
151 |
8 |
| arm_init_smask |
|
7 |
19 |
111 |
1 |
| splraise |
|
1 |
4 |
15 |
1 |
| _spllower |
|
1 |
4 |
15 |
1 |
| spllower |
|
1 |
4 |
15 |
1 |
| splx |
|
1 |
4 |
14 |
1 |
| arm_splassert_check |
|
4 |
11 |
75 |
2 |
| arm_clock_register |
|
2 |
10 |
72 |
4 |
| delay |
|
1 |
4 |
14 |
1 |
| cpu_initclocks |
|
2 |
6 |
25 |
1 |
| arm_dflt_delay |
|
3 |
7 |
34 |
1 |
| inittodr |
|
11 |
43 |
234 |
1 |
| resettodr |
|
4 |
10 |
45 |
1 |
| setstatclockrate |
|
2 |
7 |
29 |
1 |
| Source file: ./sys/arch/armv7/imx/imxiicvar.h |
| Source file: ./sys/arch/armv7/imx/imxiomuxcvar.h |
| Source file: ./sys/arch/armv7/imx/imxccm_clocks.h |
| Source file: ./sys/arch/armv7/imx/imxiomuxc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| imxiomuxc_match |
|
5 |
9 |
72 |
3 |
| imxiomuxc_attach |
|
2 |
13 |
115 |
3 |
| imxiomuxc_pinctrl |
|
8 |
53 |
417 |
2 |
| imxiomuxc_enable_sata |
|
1 |
13 |
91 |
1 |
| imxiomuxc_enable_pcie |
|
1 |
17 |
141 |
1 |
| imxiomuxc_pcie_refclk |
|
2 |
9 |
74 |
1 |
| imxiomuxc_pcie_test_powerdown |
|
2 |
9 |
74 |
1 |
| Source file: ./sys/arch/armv7/imx/imxuartvar.h |
| Source file: ./sys/arch/armv7/imx/imxgpiovar.h |
| Source file: ./sys/arch/armv7/imx/imxehci.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| imxehci_match |
|
1 |
5 |
34 |
3 |
| imxehci_attach |
|
19 |
132 |
1057 |
3 |
| imxehci_detach |
|
4 |
17 |
112 |
2 |
| Source file: ./sys/arch/armv7/imx/imxgpc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| imxgpc_match |
|
1 |
5 |
34 |
3 |
| imxgpc_attach |
|
1 |
11 |
87 |
3 |
| Source file: ./sys/arch/armv7/imx/imxtemp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| imxtemp_match |
|
1 |
5 |
34 |
3 |
| imxtemp_attach |
|
2 |
13 |
92 |
3 |
| imxtemp_calibration |
|
2 |
28 |
210 |
1 |
| imxtemp_calc_temp |
|
1 |
8 |
62 |
2 |
| imxtemp_refresh_sensors |
|
1 |
8 |
56 |
1 |
| imxtemp_pickup_sensors |
|
2 |
17 |
109 |
1 |
| Source file: ./sys/arch/armv7/imx/imxuartreg.h |
| Source file: ./sys/arch/armv7/imx/imxgpio.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| imxgpio_match |
|
1 |
5 |
34 |
3 |
| imxgpio_attach |
|
3 |
32 |
274 |
3 |
| imxgpio_config_pin |
|
3 |
14 |
94 |
3 |
| imxgpio_get_pin |
|
2 |
14 |
90 |
2 |
| imxgpio_set_pin |
|
3 |
15 |
105 |
3 |
| imxgpio_get_bit |
|
1 |
5 |
33 |
1 |
| imxgpio_set_bit |
|
1 |
5 |
32 |
1 |
| imxgpio_clear_bit |
|
1 |
5 |
32 |
1 |
| imxgpio_set_dir |
|
1 |
5 |
38 |
2 |
| imxgpio_v6_get_bit |
|
1 |
6 |
44 |
2 |
| imxgpio_v6_set_bit |
|
1 |
7 |
56 |
2 |
| imxgpio_v6_clear_bit |
|
1 |
7 |
56 |
2 |
| imxgpio_v6_set_dir |
|
2 |
13 |
93 |
3 |
| imxgpio_v6_get_dir |
|
2 |
13 |
71 |
2 |
| imxgpio_intr |
|
4 |
23 |
166 |
1 |
| imxgpio_intr_establish |
|
11 |
61 |
429 |
6 |
| imxgpio_intr_disestablish |
|
3 |
19 |
147 |
1 |
| imxgpio_recalc_ipl |
|
10 |
31 |
207 |
1 |
| Source file: ./sys/arch/armv7/stand/efiboot/fdt.h |
| Source file: ./sys/arch/armv7/imx/imxccm.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| imxccm_match |
|
4 |
8 |
63 |
3 |
| imxccm_attach |
|
3 |
29 |
226 |
3 |
| imxccm_cpuspeed |
|
1 |
5 |
22 |
1 |
| imxccm_decode_pll |
|
5 |
24 |
126 |
2 |
| imxccm_get_pll2_pfd |
|
1 |
6 |
37 |
1 |
| imxccm_get_pll3_pfd |
|
1 |
6 |
37 |
1 |
| imxccm_get_armclk |
|
3 |
11 |
57 |
1 |
| imxccm_armclk_set_parent |
|
4 |
21 |
99 |
1 |
| imxccm_armclk_set_freq |
|
3 |
6 |
25 |
1 |
| imxccm_get_usdhx |
|
3 |
16 |
116 |
1 |
| imxccm_get_uartclk |
|
1 |
7 |
39 |
1 |
| imxccm_get_periphclk |
|
9 |
30 |
137 |
1 |
| imxccm_get_fecclk |
|
5 |
21 |
72 |
1 |
| imxccm_get_ahbclk |
|
1 |
8 |
43 |
1 |
| imxccm_get_ipgclk |
|
1 |
8 |
43 |
1 |
| imxccm_get_ipg_perclk |
|
3 |
13 |
66 |
1 |
| imxccm_enable |
|
5 |
18 |
134 |
3 |
| imxccm_get_frequency |
|
17 |
41 |
201 |
2 |
| imxccm_enable_pll_enet |
|
3 |
10 |
68 |
1 |
| imxccm_enable_enet |
|
1 |
7 |
35 |
1 |
| imxccm_enable_sata |
|
1 |
7 |
35 |
1 |
| imxccm_enable_pcie |
|
1 |
12 |
59 |
1 |
| imxccm_disable_usb1_chrg_detect |
|
1 |
7 |
24 |
1 |
| imxccm_disable_usb2_chrg_detect |
|
1 |
7 |
24 |
1 |
| imxccm_enable_pll_usb1 |
|
1 |
9 |
35 |
1 |
| imxccm_enable_pll_usb2 |
|
1 |
9 |
35 |
1 |
| Source file: ./sys/arch/armv7/imx/imxuart.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| imxuart_init_cons |
|
3 |
10 |
57 |
1 |
| imxuart_match |
|
1 |
5 |
34 |
3 |
| imxuart_attach |
|
7 |
30 |
259 |
3 |
| imxuart_intr |
|
11 |
41 |
291 |
1 |
| imxuart_param |
|
13 |
47 |
284 |
2 |
| imxuart_start |
|
12 |
45 |
321 |
1 |
| imxuart_pwroff |
|
1 |
3 |
9 |
1 |
| imxuart_diag |
|
3 |
17 |
97 |
1 |
| imxuart_raisedtr |
|
1 |
6 |
41 |
1 |
| imxuart_softint |
|
14 |
46 |
321 |
1 |
| imxuartopen |
|
22 |
105 |
781 |
4 |
| imxuartclose |
|
3 |
25 |
189 |
4 |
| imxuartread |
|
2 |
8 |
58 |
3 |
| imxuartwrite |
|
2 |
8 |
58 |
3 |
| imxuartioctl |
|
24 |
56 |
346 |
5 |
| imxuartstop |
|
1 |
4 |
15 |
2 |
| imxuarttty |
|
3 |
12 |
61 |
1 |
| imxuart_sc |
|
2 |
10 |
50 |
1 |
| imxuartcnprobe |
|
1 |
5 |
26 |
1 |
| imxuartcninit |
|
1 |
3 |
9 |
1 |
| imxuartcnattach |
|
2 |
16 |
96 |
4 |
| imxuartcngetc |
|
2 |
12 |
56 |
1 |
| imxuartcnputc |
|
2 |
10 |
56 |
2 |
| imxuartcnpollc |
|
1 |
3 |
10 |
2 |
| Source file: ./sys/arch/armv7/stand/efiboot/eficall.h |
| Source file: ./sys/arch/armv7/stand/efiboot/fdt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fdt_check_head |
|
6 |
19 |
143 |
1 |
| fdt_init |
|
4 |
21 |
186 |
1 |
| fdt_finalize |
|
2 |
11 |
112 |
1 |
| fdt_get_size |
|
3 |
8 |
42 |
1 |
| fdt_get_str |
|
3 |
6 |
35 |
1 |
| fdt_add_str |
|
3 |
14 |
115 |
1 |
| skip_property |
|
1 |
7 |
45 |
1 |
| skip_props |
|
2 |
7 |
30 |
1 |
| skip_node_name |
|
1 |
5 |
35 |
1 |
| fdt_node_property |
|
5 |
22 |
142 |
3 |
| fdt_node_set_property |
|
7 |
37 |
261 |
4 |
| fdt_node_add_property |
|
6 |
23 |
203 |
4 |
| skip_node |
|
2 |
10 |
55 |
1 |
| fdt_next_node |
|
8 |
23 |
141 |
1 |
| fdt_child_node |
|
4 |
13 |
71 |
1 |
| fdt_node_name |
|
3 |
10 |
48 |
1 |
| fdt_find_node |
|
9 |
29 |
155 |
1 |
| fdt_parent_node_recurse |
|
5 |
11 |
69 |
2 |
| fdt_parent_node |
|
3 |
9 |
42 |
1 |
| fdt_node_is_compatible |
|
3 |
13 |
75 |
2 |
| fdt_print_property |
|
14 |
37 |
295 |
2 |
| fdt_print_node |
|
4 |
15 |
95 |
2 |
| fdt_print_node_recurse |
|
2 |
7 |
49 |
2 |
| fdt_print_tree |
|
1 |
4 |
16 |
1 |
| Source file: ./sys/arch/armv7/stand/efiboot/self_reloc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| self_reloc |
|
12 |
41 |
206 |
2 |
| Source file: ./sys/arch/armv7/stand/efiboot/disk.h |
| Source file: ./sys/arch/armv7/stand/efiboot/efiboot.h |
| Source file: ./sys/arch/armv7/stand/efiboot/libsa.h |
| Source file: ./sys/arch/armv7/stand/efiboot/heap.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| heap_init |
|
2 |
6 |
27 |
1 |
| Source file: ./sys/arch/armv7/stand/efiboot/conf.c |
| Source file: ./sys/arch/armv7/stand/efiboot/efidev.h |
| Source file: ./sys/arch/armv7/stand/efiboot/exec.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| run_loadfile |
|
8 |
38 |
294 |
2 |
| Source file: ./sys/arch/armv7/vexpress/sysreg.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sysreg_match |
|
1 |
5 |
34 |
3 |
| sysreg_attach |
|
2 |
17 |
143 |
3 |
| sysconf_function |
|
3 |
18 |
143 |
2 |
| sysconf_reboot |
|
2 |
7 |
28 |
1 |
| sysconf_shutdown |
|
2 |
7 |
28 |
1 |
| Source file: ./sys/arch/armv7/sunxi/sxiintc.h |
| Source file: ./sys/arch/armv7/stand/efiboot/efidev.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| efid_io |
|
7 |
32 |
195 |
5 |
| efid_diskio |
|
2 |
6 |
58 |
5 |
| efi_getdisklabel |
|
9 |
34 |
252 |
1 |
| efiopen |
|
4 |
23 |
134 |
2 |
| efistrategy |
|
3 |
16 |
119 |
6 |
| eficlose |
|
1 |
5 |
18 |
1 |
| efiioctl |
|
1 |
4 |
19 |
3 |
| Source file: ./sys/arch/armv7/imx/if_fec.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fec_match |
|
1 |
5 |
34 |
3 |
| fec_attach |
|
12 |
118 |
950 |
3 |
| fec_phy_init |
|
9 |
95 |
1180 |
2 |
| fec_init_rxd |
|
3 |
12 |
98 |
1 |
| fec_init_txd |
|
2 |
10 |
76 |
1 |
| fec_init |
|
4 |
49 |
423 |
1 |
| fec_stop |
|
2 |
10 |
70 |
1 |
| fec_iff |
|
4 |
28 |
217 |
1 |
| fec_ioctl |
|
11 |
38 |
210 |
3 |
| fec_start |
|
8 |
21 |
134 |
1 |
| fec_encap |
|
5 |
30 |
262 |
2 |
| fec_newbuf |
|
3 |
13 |
66 |
1 |
| fec_intr |
|
5 |
15 |
97 |
1 |
| fec_recv |
|
4 |
41 |
333 |
1 |
| fec_tick |
|
1 |
9 |
47 |
1 |
| fec_miibus_readreg |
|
2 |
12 |
107 |
3 |
| fec_miibus_writereg |
|
2 |
11 |
91 |
4 |
| fec_miibus_statchg |
|
4 |
20 |
104 |
1 |
| fec_ifmedia_upd |
|
2 |
13 |
72 |
1 |
| fec_ifmedia_sts |
|
1 |
8 |
54 |
2 |
| fec_dma_malloc |
|
5 |
50 |
336 |
3 |
| fec_dma_free |
|
3 |
15 |
116 |
2 |
| Source file: ./sys/arch/armv7/sunxi/sxidog.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sxidog_match |
|
2 |
6 |
45 |
3 |
| sxidog_attach |
|
4 |
20 |
149 |
3 |
| sxidog_activate |
|
2 |
9 |
33 |
2 |
| sxidog_callback |
|
9 |
28 |
180 |
2 |
| sxidog_reset |
|
2 |
7 |
26 |
1 |
| Source file: ./sys/arch/armv7/sunxi/sxiahci.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sxiahci_match |
|
1 |
5 |
34 |
3 |
| sxiahci_attach |
|
13 |
81 |
617 |
3 |
| sxiahci_detach |
|
1 |
8 |
59 |
2 |
| sxiahci_activate |
|
1 |
6 |
47 |
2 |
| sxiahci_port_start |
|
1 |
9 |
51 |
2 |
| Source file: ./sys/arch/armv7/stand/efiboot/efiboot.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| efi_main |
|
3 |
20 |
117 |
2 |
| efi_cons_probe |
|
1 |
5 |
26 |
1 |
| efi_cons_init |
|
1 |
5 |
21 |
1 |
| efi_cons_getc |
|
8 |
23 |
129 |
1 |
| efi_cons_putc |
|
2 |
9 |
52 |
2 |
| efi_heap_init |
|
2 |
8 |
41 |
1 |
| efi_diskprobe |
|
14 |
43 |
293 |
1 |
| efi_device_path_depth |
|
3 |
9 |
58 |
2 |
| efi_device_path_ncmp |
|
9 |
18 |
139 |
3 |
| efi_makebootargs |
|
8 |
42 |
317 |
2 |
| efi_updatefdt |
|
2 |
20 |
125 |
1 |
| machdep |
|
4 |
19 |
92 |
1 |
| efi_cleanup |
|
4 |
15 |
73 |
1 |
| _rtt |
|
4 |
9 |
42 |
1 |
| efi_timer |
|
1 |
4 |
14 |
2 |
| efi_timer_init |
|
3 |
10 |
60 |
1 |
| efi_timer_cleanup |
|
1 |
4 |
13 |
1 |
| getsecs |
|
1 |
4 |
9 |
1 |
| devboot |
|
1 |
4 |
20 |
2 |
| cnspeed |
|
1 |
4 |
13 |
2 |
| ttyname |
|
1 |
4 |
10 |
1 |
| ttydev |
|
1 |
4 |
11 |
1 |
| devparse |
|
15 |
42 |
321 |
5 |
| devopen |
|
2 |
11 |
93 |
3 |
| efi_memprobe_internal |
|
3 |
24 |
140 |
1 |
| Xexit_efi |
|
2 |
7 |
33 |
1 |
| Xpoweroff_efi |
|
1 |
5 |
26 |
1 |
| Source file: ./sys/arch/armv7/sunxi/sxiintc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sxiintc_match |
|
1 |
5 |
34 |
3 |
| sxiintc_attach |
|
5 |
34 |
263 |
3 |
| sxiintc_calc_masks |
|
9 |
32 |
215 |
1 |
| sxiintc_splx |
|
2 |
7 |
41 |
1 |
| sxiintc_spllower |
|
1 |
7 |
33 |
1 |
| sxiintc_splraise |
|
2 |
10 |
45 |
1 |
| sxiintc_setipl |
|
4 |
15 |
88 |
1 |
| sxiintc_irq_handler |
|
4 |
37 |
258 |
1 |
| sxiintc_intr_establish |
|
5 |
29 |
223 |
5 |
| sxiintc_intr_establish_fdt |
|
1 |
5 |
50 |
6 |
| sxiintc_intr_disestablish |
|
2 |
19 |
128 |
1 |
| sxiintc_intr_string |
|
1 |
4 |
11 |
1 |
| Source file: ./sys/arch/armv7/imx/imxesdhc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| imxesdhc_match |
|
2 |
6 |
43 |
3 |
| imxesdhc_attach |
|
24 |
116 |
822 |
3 |
| imxesdhc_clock_enable |
|
3 |
14 |
86 |
1 |
| imxesdhc_pwrseq_pre |
|
7 |
28 |
169 |
1 |
| imxesdhc_pwrseq_post |
|
6 |
22 |
132 |
1 |
| imxesdhc_host_reset |
|
2 |
33 |
197 |
1 |
| imxesdhc_host_ocr |
|
1 |
5 |
19 |
1 |
| imxesdhc_host_maxblklen |
|
1 |
5 |
19 |
1 |
| imxesdhc_card_detect |
|
2 |
7 |
38 |
1 |
| imxesdhc_bus_power |
|
10 |
20 |
137 |
2 |
| imxesdhc_bus_clock |
|
9 |
35 |
248 |
3 |
| imxesdhc_bus_width |
|
6 |
17 |
99 |
2 |
| imxesdhc_card_intr_mask |
|
2 |
12 |
67 |
2 |
| imxesdhc_card_intr_ack |
|
1 |
6 |
28 |
1 |
| imxesdhc_wait_state |
|
3 |
16 |
113 |
3 |
| imxesdhc_exec_command |
|
10 |
38 |
292 |
2 |
| imxesdhc_start_command |
|
25 |
97 |
705 |
2 |
| imxesdhc_transfer_data |
|
13 |
58 |
321 |
2 |
| imxesdhc_read_data |
|
4 |
15 |
90 |
3 |
| imxesdhc_write_data |
|
5 |
18 |
129 |
3 |
| imxesdhc_soft_reset |
|
4 |
19 |
126 |
2 |
| imxesdhc_wait_intr |
|
5 |
30 |
171 |
3 |
| imxesdhc_intr |
|
5 |
28 |
187 |
1 |
| Source file: ./sys/arch/armv7/omap/omap4.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| omap4_init |
|
1 |
4 |
11 |
1 |
| Source file: ./sys/arch/armv7/omap/sitara_cm.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sitara_cm_padconf_from_name |
|
3 |
11 |
57 |
1 |
| sitara_cm_padconf_set_internal |
|
5 |
21 |
143 |
4 |
| sitara_cm_padconf_set |
|
3 |
12 |
66 |
3 |
| sitara_cm_padconf_get |
|
5 |
20 |
109 |
3 |
| sitara_cm_padconf_set_gpiomode |
|
5 |
20 |
116 |
2 |
| sitara_cm_padconf_get_gpiomode |
|
7 |
22 |
123 |
2 |
| sitara_cm_reg_read_4 |
|
2 |
7 |
36 |
2 |
| sitara_cm_reg_write_4 |
|
2 |
7 |
34 |
2 |
| sitara_cm_attach |
|
5 |
21 |
166 |
3 |
| sitara_cm_pinctrl |
|
5 |
27 |
193 |
2 |
| Source file: ./sys/arch/armv7/omap/gptimer.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| gptimer_attach |
|
4 |
33 |
244 |
3 |
| gptimer_intr |
|
11 |
52 |
298 |
1 |
| gptimer_cpu_initclocks |
|
1 |
30 |
187 |
0 |
| gptimer_wait |
|
2 |
5 |
21 |
1 |
| microtime |
|
4 |
24 |
128 |
1 |
| gptimer_delay |
|
10 |
32 |
192 |
1 |
| gptimer_setstatclockrate |
|
2 |
13 |
66 |
1 |
| gptimer_get_timecount |
|
1 |
4 |
19 |
1 |
| Source file: ./sys/arch/armv7/omap/omehcivar.h |
| Source file: ./sys/arch/armv7/omap/omwugen.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| omwugen_match |
|
1 |
5 |
34 |
3 |
| omwugen_attach |
|
1 |
11 |
87 |
3 |
| Source file: ./sys/arch/armv7/omap/am335x_prcmreg.h |
| Source file: ./sys/arch/armv7/omap/ti_iicreg.h |
| Source file: ./sys/arch/armv7/omap/edmavar.h |
| Source file: ./sys/arch/armv7/omap/omusbtll.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| omusbtll_attach |
|
4 |
20 |
157 |
3 |
| omusbtll_init |
|
4 |
31 |
207 |
1 |
| Source file: ./sys/arch/armv7/sunxi/sxitimer.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sxitimer_match |
|
4 |
11 |
73 |
3 |
| sxitimer_attach |
|
3 |
49 |
319 |
3 |
| sxitimer_cpu_initclocks |
|
1 |
29 |
215 |
1 |
| sxitimer_tickintr |
|
5 |
40 |
211 |
1 |
| sxitimer_statintr |
|
5 |
38 |
217 |
1 |
| sxitimer_readcnt64 |
|
2 |
11 |
70 |
1 |
| sxitimer_readcnt32 |
|
1 |
5 |
19 |
1 |
| sxitimer_sync |
|
2 |
6 |
29 |
1 |
| sxitimer_delay |
|
2 |
8 |
42 |
1 |
| sxitimer_setstatclockrate |
|
2 |
12 |
68 |
1 |
| sxitimer_get_timecount |
|
1 |
4 |
19 |
1 |
| Source file: ./sys/arch/armv7/sunxi/sxie.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sxie_match |
|
1 |
5 |
34 |
3 |
| sxie_attach |
|
5 |
49 |
410 |
3 |
| sxie_socware_init |
|
5 |
33 |
323 |
1 |
| sxie_setup_interface |
|
1 |
30 |
260 |
2 |
| sxie_init |
|
1 |
24 |
217 |
1 |
| sxie_intr |
|
6 |
24 |
147 |
1 |
| sxie_start |
|
10 |
45 |
310 |
1 |
| sxie_stop |
|
1 |
8 |
46 |
1 |
| sxie_reset |
|
1 |
7 |
37 |
1 |
| sxie_watchdog |
|
2 |
12 |
60 |
1 |
| sxie_recv |
|
9 |
49 |
295 |
1 |
| sxie_ioctl |
|
11 |
37 |
210 |
3 |
| sxie_iff |
|
1 |
3 |
14 |
2 |
| sxie_miibus_readreg |
|
5 |
14 |
109 |
3 |
| sxie_miibus_writereg |
|
5 |
14 |
111 |
4 |
| sxie_miibus_statchg |
|
4 |
11 |
46 |
1 |
| sxie_ifm_change |
|
2 |
11 |
63 |
1 |
| sxie_ifm_status |
|
1 |
7 |
56 |
2 |
| Source file: ./sys/arch/armv7/omap/omap.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| omap_board_devs |
|
4 |
13 |
74 |
1 |
| omap_board_init |
|
4 |
14 |
75 |
1 |
| omap_match |
|
3 |
10 |
85 |
3 |
| Source file: ./sys/arch/armv7/omap/edma.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| edma_match |
|
1 |
5 |
34 |
3 |
| edma_attach |
|
5 |
36 |
287 |
3 |
| edma_comp_intr |
|
7 |
24 |
207 |
1 |
| edma_intr_dma_en |
|
4 |
16 |
129 |
3 |
| edma_intr_dma_dis |
|
4 |
12 |
80 |
1 |
| edma_trig_xfer_man |
|
6 |
19 |
178 |
1 |
| edma_trig_xfer_by_dev |
|
6 |
21 |
206 |
1 |
| edma_param_write |
|
1 |
5 |
36 |
2 |
| edma_param_read |
|
1 |
5 |
36 |
2 |
| Source file: ./sys/arch/armv7/omap/omehci.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| omehci_match |
|
1 |
5 |
34 |
3 |
| omehci_attach |
|
23 |
103 |
798 |
3 |
| omehci_init |
|
40 |
124 |
873 |
1 |
| omehci_soft_phy_reset |
|
4 |
20 |
151 |
2 |
| omehci_detach |
|
4 |
17 |
112 |
2 |
| omehci_activate |
|
4 |
18 |
92 |
2 |
| omehci_v4_early_init |
|
1 |
11 |
49 |
0 |
| Source file: ./sys/arch/armv7/omap/omap4_prcmreg.h |
| Source file: ./sys/arch/armv7/omap/omohci.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| omohci_match |
|
3 |
6 |
37 |
3 |
| omohci_attach |
|
12 |
79 |
705 |
3 |
| omohci_detach |
|
5 |
29 |
189 |
2 |
| omohci_activate |
|
5 |
20 |
118 |
2 |
| omohci_enable |
|
3 |
23 |
270 |
1 |
| omohci_disable |
|
2 |
11 |
107 |
1 |
| Source file: ./sys/arch/armv7/omap/omapid.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| omapid_attach |
|
8 |
36 |
230 |
3 |
| Source file: ./sys/arch/armv7/omap/omap3_prcmreg.h |
| Source file: ./sys/arch/armv7/omap/prcm.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| prcm_attach |
|
11 |
44 |
372 |
3 |
| prcm_v3_setup |
|
1 |
28 |
182 |
1 |
| prcm_setclock |
|
2 |
7 |
47 |
2 |
| prcm_am335x_setclock |
|
10 |
58 |
509 |
3 |
| prcm_v3_setclock |
|
4 |
17 |
168 |
3 |
| prcm_v3_bit |
|
14 |
33 |
100 |
1 |
| prcm_am335x_clkctrl |
|
19 |
43 |
130 |
1 |
| prcm_enablemodule |
|
2 |
7 |
42 |
1 |
| prcm_am335x_enablemodule |
|
2 |
12 |
81 |
2 |
| prcm_v3_enablemodule |
|
3 |
22 |
171 |
2 |
| prcm_v4_enablemodule |
|
24 |
36 |
116 |
2 |
| prcm_v4_hsusbhost_activate |
|
8 |
36 |
208 |
1 |
| prcm_v4_hsusbhost_set_source |
|
4 |
21 |
126 |
2 |
| prcm_setup_dpll5 |
|
3 |
15 |
146 |
1 |
| Source file: ./sys/arch/armv7/omap/omap_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| omap_platform_smc_write |
|
3 |
12 |
49 |
5 |
| omap_platform_init_mainbus |
|
1 |
5 |
23 |
1 |
| omap_platform_watchdog_reset |
|
1 |
4 |
10 |
1 |
| omap_platform_powerdown |
|
1 |
3 |
6 |
1 |
| omap_platform_board_init |
|
1 |
4 |
10 |
1 |
| omap_platform_match |
|
2 |
9 |
40 |
1 |
| Source file: ./sys/arch/armv7/omap/omdog.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| omdog_match |
|
1 |
5 |
34 |
3 |
| omdog_attach |
|
4 |
19 |
154 |
3 |
| omdog_activate |
|
2 |
9 |
33 |
2 |
| omdog_start |
|
1 |
7 |
49 |
1 |
| omdog_stop |
|
1 |
7 |
49 |
1 |
| omdog_sync |
|
2 |
6 |
41 |
1 |
| omdog_cb |
|
6 |
21 |
147 |
2 |
| omdog_reset |
|
3 |
11 |
52 |
1 |
| Source file: ./sys/arch/armv7/omap/omgpio.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| omgpio_read4 |
|
2 |
6 |
49 |
2 |
| omgpio_write4 |
|
2 |
6 |
55 |
3 |
| omgpio_match |
|
3 |
10 |
65 |
3 |
| omgpio_attach |
|
12 |
108 |
915 |
3 |
| omgpio_get_function |
|
1 |
4 |
15 |
2 |
| omgpio_set_function |
|
1 |
3 |
12 |
2 |
| omgpio_get_bit |
|
1 |
5 |
34 |
1 |
| omgpio_set_bit |
|
1 |
5 |
35 |
1 |
| omgpio_clear_bit |
|
1 |
5 |
35 |
1 |
| omgpio_set_dir |
|
1 |
5 |
39 |
2 |
| omgpio_pin_read |
|
2 |
10 |
72 |
2 |
| omgpio_pin_write |
|
2 |
10 |
64 |
3 |
| omgpio_pin_ctl |
|
4 |
11 |
75 |
3 |
| omgpio_pin_dir_write |
|
2 |
14 |
89 |
3 |
| omgpio_pin_dir_read |
|
2 |
9 |
50 |
2 |
| omgpio_clear_intr |
|
1 |
5 |
47 |
2 |
| omgpio_intr_mask |
|
1 |
5 |
47 |
2 |
| omgpio_intr_unmask |
|
1 |
5 |
47 |
2 |
| omgpio_intr_level |
|
8 |
59 |
317 |
3 |
| omgpio_intr_establish |
|
3 |
30 |
231 |
7 |
| omgpio_intr_disestablish |
|
1 |
17 |
122 |
2 |
| omgpio_irq |
|
4 |
24 |
137 |
1 |
| omgpio_irq_dummy |
|
1 |
4 |
11 |
1 |
| omgpio_recalc_interrupts |
|
16 |
38 |
253 |
1 |
| Source file: ./sys/arch/armv7/omap/amdisplay.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| preg |
|
1 |
6 |
46 |
3 |
| dumpregs |
|
2 |
23 |
249 |
1 |
| amdisplay_match |
|
1 |
5 |
34 |
3 |
| amdisplay_attach |
|
10 |
136 |
1119 |
3 |
| amdisplay_detach |
|
3 |
15 |
141 |
2 |
| amdisplay_intr |
|
10 |
45 |
416 |
1 |
| amdisplay_setup_dma |
|
5 |
26 |
223 |
1 |
| amdisplay_conf_crt_timings |
|
3 |
42 |
392 |
1 |
| amdisplay_calc_freq |
|
5 |
21 |
121 |
1 |
| amdisplay_ioctl |
|
10 |
43 |
204 |
5 |
| amdisplay_mmap |
|
3 |
9 |
72 |
3 |
| amdisplay_alloc_screen |
|
1 |
5 |
44 |
6 |
| Source file: ./sys/arch/armv7/omap/omgpiovar.h |
| Source file: ./sys/arch/armv7/omap/nxphdmivar.h |
| Source file: ./sys/arch/armv7/omap/ommmc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ommmc_match |
|
2 |
6 |
45 |
3 |
| ommmc_attach |
|
32 |
105 |
762 |
3 |
| ommmc_power |
|
8 |
16 |
107 |
2 |
| ommmc_shutdown |
|
1 |
5 |
23 |
1 |
| ommmc_host_reset |
|
3 |
32 |
214 |
1 |
| ommmc_host_ocr |
|
1 |
5 |
21 |
1 |
| ommmc_host_maxblklen |
|
1 |
5 |
21 |
1 |
| ommmc_card_detect |
|
2 |
6 |
32 |
1 |
| ommmc_bus_power |
|
6 |
37 |
208 |
2 |
| ommmc_clock_divisor |
|
3 |
11 |
66 |
2 |
| ommmc_bus_clock |
|
11 |
49 |
284 |
3 |
| ommmc_bus_width |
|
7 |
18 |
111 |
2 |
| ommmc_card_intr_mask |
|
2 |
11 |
62 |
2 |
| ommmc_card_intr_ack |
|
1 |
5 |
23 |
1 |
| ommmc_wait_state |
|
3 |
16 |
123 |
3 |
| ommmc_exec_command |
|
11 |
39 |
378 |
2 |
| ommmc_start_command |
|
18 |
65 |
439 |
2 |
| ommmc_transfer_data |
|
9 |
37 |
238 |
2 |
| ommmc_read_data |
|
4 |
15 |
90 |
3 |
| ommmc_write_data |
|
5 |
18 |
129 |
3 |
| ommmc_soft_reset |
|
6 |
22 |
152 |
2 |
| ommmc_wait_intr |
|
4 |
26 |
150 |
3 |
| ommmc_intr |
|
7 |
31 |
193 |
1 |
| ommmc_dump_regs |
|
1 |
3 |
9 |
1 |
| Source file: ./sys/arch/armv7/omap/ti_iic.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ti_iic_match |
|
1 |
5 |
34 |
3 |
| ti_iic_attach |
|
7 |
45 |
379 |
3 |
| ti_iic_intr |
|
3 |
16 |
108 |
1 |
| ti_iic_acquire_bus |
|
2 |
7 |
40 |
2 |
| ti_iic_release_bus |
|
2 |
7 |
34 |
2 |
| ti_iic_exec |
|
8 |
28 |
195 |
8 |
| ti_iic_reset |
|
4 |
32 |
207 |
1 |
| ti_iic_op |
|
16 |
76 |
516 |
6 |
| ti_iic_handle_intr |
|
5 |
19 |
98 |
2 |
| ti_iic_do_read |
|
5 |
23 |
165 |
2 |
| ti_iic_do_write |
|
5 |
23 |
165 |
2 |
| ti_iic_wait |
|
4 |
20 |
128 |
4 |
| ti_iic_stat |
|
3 |
14 |
74 |
2 |
| ti_iic_flush |
|
4 |
17 |
90 |
1 |
| ti_iic_scan |
|
5 |
25 |
216 |
3 |
| Source file: ./sys/arch/armv7/omap/ompinmux.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ompinmux_match |
|
1 |
5 |
34 |
3 |
| ompinmux_attach |
|
2 |
13 |
119 |
3 |
| ompinmux_pinctrl |
|
8 |
49 |
355 |
2 |
| Source file: ./sys/arch/armv7/omap/intc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| intc_match |
|
2 |
6 |
45 |
3 |
| intc_attach |
|
6 |
40 |
281 |
3 |
| intc_calc_mask |
|
9 |
35 |
238 |
1 |
| intc_splx |
|
2 |
7 |
41 |
1 |
| intc_spllower |
|
1 |
7 |
33 |
1 |
| intc_splraise |
|
2 |
10 |
45 |
1 |
| intc_setipl |
|
6 |
25 |
130 |
1 |
| intc_intr_bootstrap |
|
3 |
10 |
62 |
1 |
| intc_irq_handler |
|
4 |
21 |
125 |
1 |
| intc_intr_establish |
|
5 |
24 |
168 |
5 |
| intc_intr_establish_fdt |
|
1 |
5 |
50 |
6 |
| intc_intr_disestablish |
|
2 |
12 |
77 |
1 |
| intc_intr_string |
|
1 |
4 |
11 |
1 |
| intc_tst |
|
1 |
6 |
30 |
1 |
| intc_test |
|
1 |
13 |
83 |
1 |
| Source file: ./sys/arch/armv7/omap/if_cpsw.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cpsw_txdesc_adjust |
|
1 |
4 |
27 |
2 |
| cpsw_rxdesc_adjust |
|
1 |
4 |
27 |
2 |
| cpsw_set_txdesc_next |
|
1 |
5 |
46 |
3 |
| cpsw_set_rxdesc_next |
|
1 |
5 |
46 |
3 |
| cpsw_get_txdesc |
|
1 |
7 |
53 |
3 |
| cpsw_set_txdesc |
|
1 |
7 |
53 |
3 |
| cpsw_get_rxdesc |
|
1 |
7 |
53 |
3 |
| cpsw_set_rxdesc |
|
1 |
7 |
53 |
3 |
| cpsw_txdesc_paddr |
|
1 |
5 |
33 |
2 |
| cpsw_rxdesc_paddr |
|
1 |
5 |
33 |
2 |
| cpsw_mdio_init |
|
7 |
26 |
182 |
1 |
| cpsw_match |
|
1 |
5 |
34 |
3 |
| cpsw_attach |
|
13 |
121 |
1004 |
3 |
| cpsw_mediachange |
|
2 |
7 |
43 |
1 |
| cpsw_mediastatus |
|
2 |
9 |
65 |
2 |
| cpsw_start |
|
22 |
102 |
686 |
1 |
| cpsw_ioctl |
|
10 |
37 |
197 |
3 |
| cpsw_watchdog |
|
1 |
7 |
33 |
1 |
| cpsw_mii_wait |
|
3 |
10 |
68 |
2 |
| cpsw_mii_readreg |
|
4 |
16 |
136 |
3 |
| cpsw_mii_writereg |
|
4 |
16 |
163 |
4 |
| cpsw_mii_statchg |
|
1 |
4 |
11 |
1 |
| cpsw_new_rxbuf |
|
5 |
39 |
309 |
2 |
| cpsw_init |
|
9 |
85 |
1105 |
1 |
| cpsw_stop |
|
19 |
52 |
539 |
1 |
| cpsw_rxthintr |
|
1 |
6 |
34 |
1 |
| cpsw_rxintr |
|
10 |
69 |
435 |
1 |
| cpsw_tick |
|
1 |
9 |
47 |
1 |
| cpsw_txintr |
|
16 |
72 |
558 |
1 |
| cpsw_miscintr |
|
2 |
29 |
268 |
1 |
| cpsw_get_port_config |
|
7 |
23 |
194 |
2 |
| Source file: ./sys/arch/armv7/omap/am335x.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| am335x_init |
|
1 |
4 |
11 |
1 |
| Source file: ./sys/arch/armv7/omap/if_cpswreg.h |
| Source file: ./sys/arch/armv7/omap/sitara_cmreg.h |
| Source file: ./sys/arch/armv7/omap/omap3.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| omap3_init |
|
1 |
4 |
11 |
1 |
| Source file: ./sys/arch/armv7/omap/dmtimer.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dmtimer_attach |
|
5 |
47 |
385 |
3 |
| dmtimer_intr |
|
8 |
44 |
331 |
1 |
| dmtimer_cpu_initclocks |
|
1 |
25 |
242 |
0 |
| dmtimer_wait |
|
2 |
6 |
40 |
1 |
| dmtimer_delay |
|
10 |
33 |
223 |
1 |
| dmtimer_setstatclockrate |
|
2 |
14 |
90 |
1 |
| dmtimer_get_timecount |
|
1 |
5 |
35 |
1 |
| Source file: ./sys/arch/armv7/omap/amdisplayreg.h |
| Source file: ./sys/arch/armv7/omap/intc.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| find_first_bit |
|
1 |
6 |
30 |
1 |
| Source file: ./sys/arch/armv7/omap/sitara_cm.h |
| Source file: ./sys/arch/armv7/omap/prcmvar.h |
| Source file: ./sys/arch/powerpc/ddb/db_memrw.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| db_read_bytes |
|
5 |
24 |
140 |
3 |
| db_write_bytes |
|
5 |
25 |
151 |
3 |
| Source file: ./sys/arch/armv7/omap/nxphdmi.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| nxphdmi_match |
|
2 |
7 |
43 |
3 |
| nxphdmi_attach |
|
6 |
66 |
512 |
3 |
| nxphdmi_cec_read |
|
2 |
13 |
94 |
3 |
| nxphdmi_cec_write |
|
2 |
15 |
105 |
3 |
| nxphdmi_read |
|
2 |
15 |
116 |
3 |
| nxphdmi_write |
|
2 |
16 |
134 |
3 |
| nxphdmi_write2 |
|
2 |
16 |
141 |
3 |
| nxphdmi_set |
|
1 |
9 |
53 |
3 |
| nxphdmi_clear |
|
1 |
9 |
53 |
3 |
| nxphdmi_set_page |
|
3 |
17 |
118 |
2 |
| nxphdmi_read_edid |
|
6 |
39 |
300 |
1 |
| nxphdmi_reset |
|
1 |
11 |
71 |
1 |
| nxphdmi_init_encoder |
|
9 |
112 |
862 |
2 |
| nxphdmi_get_edid |
|
3 |
10 |
68 |
2 |
| nxphdmi_set_videomode |
|
1 |
7 |
38 |
1 |
| Source file: ./sys/arch/powerpc/ddb/db_trace.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| db_save_regs |
|
1 |
4 |
23 |
1 |
| db_stack_trace_print |
|
23 |
83 |
597 |
5 |
| Source file: ./sys/arch/powerpc/isa/isa_machdep.h |
| Source file: ./sys/arch/powerpc/include/pmap.h |
| Source file: ./sys/arch/powerpc/include/kcore.h |
| Source file: ./sys/arch/powerpc/include/profile.h |
| Source file: ./sys/arch/powerpc/include/lock.h |
| Source file: ./sys/arch/powerpc/ddb/db_interface.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| db_enter |
|
1 |
4 |
9 |
0 |
| db_trap_glue |
|
11 |
32 |
186 |
1 |
| db_enter_ddb |
|
18 |
52 |
304 |
1 |
| ppc_ipi_db |
|
1 |
4 |
13 |
1 |
| db_cpuinfo_cmd |
|
8 |
29 |
136 |
4 |
| db_machine_init |
|
4 |
8 |
38 |
1 |
| db_ddbproc_cmd |
|
5 |
17 |
81 |
4 |
| db_startproc_cmd |
|
7 |
18 |
95 |
4 |
| db_stopproc_cmd |
|
7 |
18 |
95 |
4 |
| db_startcpu |
|
3 |
8 |
42 |
1 |
| db_stopcpu |
|
4 |
12 |
71 |
1 |
| Source file: ./sys/arch/powerpc/include/_float.h |
| Source file: ./sys/arch/powerpc/include/exec.h |
| Source file: ./sys/arch/powerpc/include/spinlock.h |
| Source file: ./sys/arch/powerpc/include/tcb.h |
| Source file: ./sys/arch/powerpc/include/stdarg.h |
| Source file: ./sys/arch/powerpc/include/ipkdb.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ipkdbcopy |
|
2 |
8 |
46 |
3 |
| ipkdbzero |
|
2 |
8 |
34 |
2 |
| ipkdbcmp |
|
3 |
9 |
57 |
3 |
| Source file: ./sys/arch/powerpc/include/_types.h |
| Source file: ./sys/arch/powerpc/include/pte.h |
| Source file: ./sys/arch/powerpc/include/ieee.h |
| Source file: ./sys/arch/powerpc/include/ieeefp.h |
| Source file: ./sys/arch/powerpc/include/fenv.h |
| Source file: ./sys/arch/powerpc/include/mutex.h |
| Source file: ./sys/arch/powerpc/include/cdefs.h |
| Source file: ./sys/arch/powerpc/include/endian.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __mswap16 |
|
1 |
8 |
39 |
1 |
| __mswap32 |
|
1 |
8 |
39 |
1 |
| __mswap64 |
|
1 |
8 |
51 |
1 |
| __swapm16 |
|
1 |
6 |
33 |
2 |
| __swapm32 |
|
1 |
6 |
33 |
2 |
| __swapm64 |
|
1 |
6 |
41 |
2 |
| Source file: ./sys/arch/armv7/omap/am335x_cm_padconf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sitara_cm_padconf_set_gpioflags |
|
6 |
18 |
82 |
2 |
| sitara_cm_padconf_get_gpioflags |
|
7 |
28 |
106 |
2 |
| Source file: ./sys/arch/powerpc/include/varargs.h |
| Source file: ./sys/arch/powerpc/include/frame.h |
| Source file: ./sys/arch/powerpc/include/intr.h |
| Source file: ./sys/arch/powerpc/include/cpu.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| curcpu |
|
1 |
6 |
25 |
1 |
| cpu_number |
|
1 |
6 |
20 |
1 |
| syncicache |
|
3 |
19 |
121 |
2 |
| invdcache |
|
2 |
12 |
78 |
2 |
| flushdcache |
|
2 |
12 |
78 |
2 |
| ppc_mftbl |
|
1 |
6 |
22 |
1 |
| ppc_mftb |
|
1 |
8 |
32 |
1 |
| ppc_mttb |
|
1 |
6 |
55 |
1 |
| ppc_mfmsr |
|
1 |
6 |
23 |
1 |
| ppc_mtmsr |
|
1 |
4 |
18 |
1 |
| ppc_mtsrin |
|
1 |
4 |
26 |
2 |
| ppc_intr_enable |
|
2 |
9 |
33 |
1 |
| ppc_intr_disable |
|
1 |
8 |
35 |
1 |
| Source file: ./sys/arch/powerpc/include/powerpc.h |
| Source file: ./sys/arch/powerpc/include/hid.h |
| Source file: ./sys/arch/powerpc/include/ptrace.h |
| Source file: ./sys/arch/powerpc/include/limits.h |
| Source file: ./sys/arch/powerpc/include/psl.h |
| Source file: ./sys/arch/powerpc/include/proc.h |
| Source file: ./sys/arch/powerpc/include/mplock.h |
| Source file: ./sys/arch/powerpc/include/setjmp.h |
| Source file: ./sys/arch/powerpc/include/reloc.h |
| Source file: ./sys/arch/powerpc/include/pio.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __outb |
|
1 |
5 |
23 |
2 |
| __outw |
|
1 |
5 |
23 |
2 |
| __outl |
|
1 |
5 |
23 |
2 |
| __outwrb |
|
1 |
6 |
42 |
2 |
| __outlrb |
|
1 |
6 |
42 |
2 |
| __inb |
|
1 |
7 |
26 |
1 |
| __inw |
|
1 |
7 |
26 |
1 |
| __inl |
|
1 |
7 |
26 |
1 |
| __inwrb |
|
1 |
8 |
45 |
1 |
| __inlrb |
|
1 |
8 |
45 |
1 |
| __flash_led |
|
4 |
17 |
111 |
2 |
| Source file: ./sys/arch/powerpc/include/pcb.h |
| Source file: ./sys/arch/powerpc/include/signal.h |
| Source file: ./sys/arch/powerpc/include/asm.h |
| Source file: ./sys/arch/powerpc/include/db_machdep.h |
| Source file: ./sys/arch/powerpc/include/param.h |
| Source file: ./sys/arch/powerpc/include/atomic.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| atomic_setbits_int |
|
1 |
10 |
47 |
2 |
| atomic_clearbits_int |
|
1 |
10 |
47 |
2 |
| _atomic_cas_uint |
|
1 |
15 |
66 |
3 |
| _atomic_cas_ulong |
|
1 |
15 |
66 |
3 |
| _atomic_cas_ptr |
|
1 |
16 |
73 |
3 |
| _atomic_swap_uint |
|
1 |
12 |
54 |
2 |
| _atomic_swap_ulong |
|
1 |
12 |
54 |
2 |
| _atomic_swap_ptr |
|
1 |
13 |
61 |
2 |
| _atomic_add_int_nv |
|
1 |
13 |
57 |
2 |
| _atomic_add_long_nv |
|
1 |
13 |
57 |
2 |
| _atomic_sub_int_nv |
|
1 |
13 |
57 |
2 |
| _atomic_sub_long_nv |
|
1 |
13 |
57 |
2 |
| _atomic_addic_int_nv |
|
1 |
13 |
57 |
2 |
| _atomic_addic_long_nv |
|
1 |
13 |
57 |
2 |
| Source file: ./sys/arch/powerpc/include/bat.h |
| Source file: ./sys/arch/powerpc/include/trap.h |
| Source file: ./sys/arch/powerpc/include/fpu.h |
| Source file: ./sys/arch/powerpc/include/reg.h |
| Source file: ./sys/arch/powerpc/powerpc/sys_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sys_sysarch |
|
1 |
4 |
20 |
3 |
| Source file: ./sys/arch/powerpc/powerpc/lock_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __mp_lock_init |
|
1 |
5 |
21 |
1 |
| __mp_lock_spin |
|
5 |
12 |
62 |
1 |
| __mp_lock |
|
4 |
18 |
88 |
1 |
| __mp_unlock |
|
4 |
15 |
73 |
1 |
| __mp_release_all |
|
3 |
15 |
76 |
1 |
| __mp_release_all_but_one |
|
3 |
10 |
52 |
1 |
| __mp_acquire_count |
|
2 |
5 |
22 |
2 |
| __mp_lock_held |
|
1 |
4 |
21 |
2 |
| Source file: ./sys/arch/powerpc/powerpc/vm_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cpu_fork |
|
7 |
48 |
414 |
6 |
| cpu_exit |
|
6 |
13 |
86 |
1 |
| vmapbuf |
|
4 |
21 |
165 |
2 |
| vunmapbuf |
|
3 |
14 |
110 |
2 |
| Source file: ./sys/arch/powerpc/ddb/db_disasm.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| op_ill |
|
1 |
4 |
17 |
2 |
| extract_field |
|
1 |
5 |
41 |
3 |
| disasm_process_field |
|
107 |
497 |
2585 |
5 |
| disasm_fields |
|
5 |
22 |
129 |
5 |
| op_base |
|
1 |
4 |
19 |
2 |
| op_cl_x13 |
|
1 |
4 |
19 |
2 |
| op_cl_x1e |
|
1 |
4 |
19 |
2 |
| op_cl_x1f |
|
1 |
4 |
19 |
2 |
| op_cl_x3a |
|
1 |
4 |
19 |
2 |
| op_cl_x3b |
|
1 |
4 |
19 |
2 |
| op_cl_x3e |
|
1 |
4 |
19 |
2 |
| op_cl_x3f |
|
1 |
4 |
19 |
2 |
| dis_ppc |
|
3 |
16 |
109 |
3 |
| db_disasm |
|
1 |
9 |
51 |
2 |
| Source file: ./sys/arch/powerpc/powerpc/bus_space.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bus_space_map |
|
8 |
23 |
140 |
5 |
| bus_space_unmap_p |
|
1 |
7 |
46 |
3 |
| bus_space_unmap |
|
7 |
23 |
156 |
3 |
| bus_space_mmap |
|
4 |
12 |
76 |
5 |
| bus_mem_add_mapping |
|
9 |
37 |
208 |
4 |
| bus_space_alloc |
|
1 |
6 |
38 |
9 |
| bus_space_free |
|
1 |
4 |
18 |
3 |
| mapiodev |
|
5 |
28 |
163 |
2 |
| unmapiodev |
|
1 |
10 |
65 |
2 |
| bus_space_set_region_1 |
|
2 |
9 |
57 |
5 |
| bus_space_set_region_2 |
|
2 |
10 |
65 |
5 |
| bus_space_set_region_4 |
|
2 |
10 |
65 |
5 |
| bus_space_subregion |
|
1 |
6 |
31 |
5 |
| Source file: ./sys/arch/powerpc/powerpc/process_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| process_read_regs |
|
3 |
22 |
184 |
2 |
| process_read_fpregs |
|
3 |
15 |
124 |
2 |
| process_set_pc |
|
1 |
6 |
34 |
2 |
| process_sstep |
|
2 |
9 |
42 |
2 |
| process_write_regs |
|
4 |
25 |
200 |
2 |
| process_write_fpregs |
|
2 |
14 |
107 |
2 |
| Source file: ./sys/arch/powerpc/powerpc/intr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ppc_smask_init |
|
5 |
13 |
78 |
0 |
| splraise |
|
1 |
4 |
15 |
1 |
| spllower |
|
1 |
4 |
15 |
1 |
| splx |
|
1 |
4 |
14 |
1 |
| ppc_dflt_splraise |
|
2 |
10 |
46 |
1 |
| ppc_dflt_spllower |
|
1 |
8 |
35 |
1 |
| ppc_dflt_splx |
|
2 |
7 |
38 |
1 |
| ppc_intr_typename |
|
5 |
15 |
52 |
1 |
| intr_barrier |
|
1 |
4 |
13 |
1 |
| splassert_check |
|
4 |
8 |
65 |
2 |
| Source file: ./sys/arch/powerpc/powerpc/mutex.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __mtx_init |
|
1 |
6 |
30 |
2 |
| __mtx_enter |
|
5 |
12 |
55 |
1 |
| __mtx_enter_try |
|
8 |
20 |
125 |
1 |
| __mtx_enter |
|
5 |
10 |
66 |
1 |
| __mtx_enter_try |
|
1 |
5 |
19 |
1 |
| __mtx_leave |
|
4 |
11 |
53 |
1 |
| Source file: ./sys/arch/armv7/omap/omdisplay.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| omdisplay_match |
|
1 |
4 |
22 |
3 |
| omdisplay_attach |
|
5 |
38 |
293 |
3 |
| omdisplay_ioctl |
|
17 |
45 |
234 |
5 |
| omdisplay_burner |
|
3 |
15 |
82 |
3 |
| omdisplay_show_screen |
|
3 |
16 |
110 |
5 |
| omdisplay_param |
|
8 |
31 |
144 |
3 |
| omdisplay_max_brightness |
|
2 |
7 |
34 |
1 |
| omdisplay_get_brightness |
|
1 |
4 |
9 |
1 |
| omdisplay_set_brightness |
|
6 |
13 |
61 |
1 |
| omdisplay_set_brightness_internal |
|
3 |
11 |
48 |
1 |
| omdisplay_get_backlight |
|
1 |
4 |
9 |
1 |
| omdisplay_set_backlight |
|
2 |
10 |
37 |
1 |
| omdisplay_blank |
|
2 |
10 |
36 |
1 |
| omdisplay_suspend |
|
2 |
6 |
24 |
1 |
| omdisplay_resume |
|
2 |
7 |
33 |
1 |
| omdisplay_activate |
|
3 |
15 |
65 |
2 |
| omdisplay_initialize |
|
14 |
177 |
1823 |
2 |
| omdisplay_setup_rasops |
|
4 |
32 |
229 |
2 |
| omdisplay_alloc_screen |
|
4 |
27 |
194 |
6 |
| omdisplay_new_screen |
|
22 |
84 |
548 |
3 |
| omdisplay_mmap |
|
5 |
14 |
110 |
3 |
| omdisplay_free_screen |
|
5 |
18 |
126 |
2 |
| omdisplay_load_font |
|
2 |
8 |
54 |
3 |
| omdisplay_list_font |
|
2 |
8 |
48 |
2 |
| omdisplay_start |
|
1 |
9 |
34 |
1 |
| omdisplay_stop |
|
1 |
6 |
41 |
1 |
| omdisplay_intr |
|
1 |
4 |
11 |
1 |
| Source file: ./sys/arch/powerpc/powerpc/fpu.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| enable_fpu |
|
4 |
56 |
222 |
1 |
| save_fpu |
|
2 |
57 |
207 |
1 |
| Source file: ./sys/arch/powerpc/powerpc/cpu_subr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cpu_bootstrap |
|
12 |
50 |
332 |
1 |
| ppc_mtscomc |
|
1 |
7 |
32 |
1 |
| ppc_mtscomd |
|
1 |
7 |
32 |
1 |
| ppc64_mfscomc |
|
1 |
10 |
38 |
1 |
| ppc64_mtscomc |
|
1 |
8 |
33 |
1 |
| ppc64_mfscomd |
|
1 |
10 |
38 |
1 |
| ppc64_mfhid0 |
|
2 |
9 |
44 |
1 |
| ppc64_mthid0 |
|
1 |
8 |
30 |
2 |
| ppc_mfhid0 |
|
2 |
8 |
33 |
1 |
| ppc_mthid0 |
|
2 |
9 |
44 |
1 |
| ppc64_mfhid1 |
|
1 |
7 |
24 |
1 |
| ppc64_mthid1 |
|
1 |
5 |
19 |
1 |
| ppc64_mfhid4 |
|
1 |
7 |
24 |
1 |
| ppc64_mthid4 |
|
1 |
5 |
19 |
1 |
| ppc64_mfhid5 |
|
1 |
7 |
24 |
1 |
| ppc64_mthid5 |
|
1 |
5 |
19 |
1 |
| Source file: ./sys/arch/powerpc/powerpc/softintr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| softintr_init |
|
2 |
11 |
61 |
1 |
| softintr_dispatch |
|
3 |
18 |
109 |
1 |
| softintr_establish |
|
8 |
31 |
145 |
3 |
| softintr_disestablish |
|
2 |
12 |
77 |
1 |
| softintr_schedule |
|
2 |
13 |
97 |
1 |
| dosoftint |
|
4 |
17 |
109 |
1 |
| Source file: ./sys/arch/powerpc/powerpc/copystr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| copystr |
|
5 |
16 |
100 |
4 |
| Source file: ./sys/arch/powerpc/powerpc/in_cksum.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| in_cksum_internal |
|
21 |
139 |
563 |
4 |
| in_cksum |
|
1 |
4 |
26 |
2 |
| in4_cksum |
|
5 |
26 |
242 |
4 |
| Source file: ./sys/arch/loongson/dev/stsec.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| stsec_match |
|
1 |
6 |
57 |
3 |
| stsec_attach |
|
8 |
49 |
352 |
3 |
| stsec_read |
|
2 |
13 |
96 |
3 |
| stsec_write |
|
1 |
12 |
96 |
3 |
| stsec_sensors_update |
|
20 |
71 |
510 |
1 |
| stsec_apminfo |
|
1 |
5 |
26 |
1 |
| Source file: ./sys/arch/loongson/dev/leiocvar.h |
| Source file: ./sys/arch/powerpc/powerpc/bus_dma.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _dmamap_create |
|
3 |
22 |
164 |
7 |
| _dmamap_destroy |
|
1 |
4 |
19 |
2 |
| _dmamap_load_buffer |
|
14 |
57 |
379 |
9 |
| _dmamap_load |
|
3 |
18 |
114 |
6 |
| _dmamap_load_mbuf |
|
8 |
28 |
187 |
4 |
| _dmamap_load_uio |
|
10 |
36 |
245 |
4 |
| _dmamap_load_raw |
|
16 |
57 |
396 |
6 |
| _dmamap_unload |
|
1 |
5 |
22 |
2 |
| _dmamap_sync |
|
8 |
28 |
187 |
5 |
| _dmamem_alloc |
|
1 |
7 |
57 |
8 |
| _dmamem_free |
|
3 |
17 |
108 |
3 |
| _dmamem_map |
|
8 |
37 |
267 |
6 |
| _dmamem_unmap |
|
3 |
6 |
43 |
3 |
| _dmamem_mmap |
|
8 |
22 |
145 |
6 |
| _dmamem_alloc_range |
|
9 |
41 |
274 |
10 |
| Source file: ./sys/arch/loongson/dev/leiocreg.h |
| Source file: ./sys/arch/loongson/dev/bonitovar.h |
| Source file: ./sys/arch/powerpc/powerpc/trap.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| save_vec |
|
1 |
48 |
523 |
1 |
| enable_vec |
|
4 |
54 |
581 |
1 |
| trap |
|
61 |
300 |
1798 |
1 |
| child_return |
|
1 |
12 |
84 |
1 |
| badaddr |
|
4 |
24 |
117 |
2 |
| fix_unaligned |
|
8 |
32 |
181 |
2 |
| Source file: ./sys/arch/loongson/dev/htbreg.h |
| Source file: ./sys/arch/loongson/dev/kb3310var.h |
| Source file: ./sys/arch/loongson/dev/bonitoreg.h |
| Source file: ./sys/arch/loongson/dev/mcclockvar.h |
| Source file: ./sys/arch/loongson/dev/htb.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| htb_match |
|
4 |
9 |
58 |
3 |
| htb_attach |
|
3 |
41 |
297 |
3 |
| htb_print |
|
2 |
8 |
47 |
2 |
| htb_attach_hook |
|
2 |
9 |
60 |
3 |
| htb_bus_maxdevs |
|
1 |
4 |
14 |
2 |
| htb_make_tag |
|
1 |
4 |
39 |
4 |
| htb_decompose_tag |
|
4 |
9 |
77 |
5 |
| htb_conf_addr |
|
1 |
5 |
28 |
5 |
| htb_conf_size |
|
1 |
4 |
14 |
2 |
| htb_conf_read |
|
1 |
4 |
25 |
3 |
| htb_conf_write |
|
1 |
4 |
29 |
4 |
| htb_cfg_space_addr |
|
2 |
11 |
56 |
2 |
| htb_pci_intr_map |
|
6 |
24 |
156 |
2 |
| htb_pci_intr_string |
|
1 |
6 |
35 |
2 |
| htb_pci_intr_establish |
|
1 |
5 |
46 |
6 |
| htb_pci_intr_disestablish |
|
1 |
4 |
17 |
2 |
| htb_pa_to_device |
|
1 |
4 |
12 |
1 |
| htb_device_to_pa |
|
1 |
4 |
12 |
1 |
| htb_io_map |
|
8 |
21 |
122 |
5 |
| htb_mem_map |
|
3 |
8 |
49 |
5 |
| htb_mem_mmap |
|
1 |
5 |
24 |
5 |
| htb_early_setup |
|
1 |
7 |
24 |
1 |
| htb_make_tag_early |
|
1 |
4 |
25 |
3 |
| htb_conf_read_early |
|
1 |
4 |
20 |
2 |
| Source file: ./sys/arch/loongson/dev/voyager.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| voyager_match |
|
1 |
5 |
42 |
3 |
| voyager_attach |
|
6 |
46 |
339 |
3 |
| voyager_print |
|
2 |
7 |
45 |
2 |
| voyager_search |
|
3 |
19 |
159 |
3 |
| voyager_intr |
|
6 |
21 |
169 |
1 |
| voyager_intr_establish |
|
7 |
30 |
257 |
6 |
| voyager_intr_string |
|
1 |
8 |
48 |
1 |
| voyager_gpio_pin_read |
|
3 |
15 |
85 |
2 |
| voyager_gpio_pin_write |
|
3 |
20 |
123 |
3 |
| voyager_gpio_pin_ctl |
|
3 |
20 |
128 |
3 |
| voyager_attach_gpio |
|
5 |
43 |
332 |
1 |
| Source file: ./sys/arch/loongson/dev/kb3310.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ykbec_match |
|
9 |
17 |
136 |
3 |
| ykbec_attach |
|
10 |
34 |
272 |
3 |
| ykbec_write |
|
1 |
9 |
88 |
3 |
| ykbec_read |
|
1 |
9 |
84 |
2 |
| ykbec_read16 |
|
1 |
6 |
41 |
2 |
| ykbec_print_bat_info |
|
2 |
14 |
89 |
1 |
| ykbec_refresh |
|
16 |
77 |
612 |
1 |
| ykbec_apminfo |
|
1 |
5 |
26 |
1 |
| ykbec_suspend |
|
1 |
23 |
148 |
0 |
| ykbec_resume |
|
1 |
15 |
92 |
0 |
| ykbec_bell |
|
5 |
21 |
141 |
5 |
| ykbec_bell_stop |
|
1 |
9 |
50 |
1 |
| Source file: ./sys/arch/loongson/dev/sisfb.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sisfb_crtc_read |
|
2 |
8 |
57 |
2 |
| sisfb_crtc_write |
|
2 |
6 |
54 |
3 |
| sisfb_seq_read |
|
2 |
8 |
57 |
2 |
| sisfb_seq_write |
|
2 |
6 |
54 |
3 |
| sisfb_match |
|
1 |
5 |
42 |
3 |
| sisfb_attach |
|
7 |
61 |
421 |
3 |
| sisfb_alloc_screen |
|
2 |
13 |
103 |
6 |
| sisfb_free_screen |
|
1 |
5 |
29 |
2 |
| sisfb_ioctl |
|
9 |
41 |
244 |
5 |
| sisfb_show_screen |
|
1 |
5 |
36 |
5 |
| sisfb_mmap |
|
5 |
12 |
104 |
3 |
| sisfb_load_font |
|
1 |
6 |
51 |
3 |
| sisfb_list_font |
|
1 |
6 |
45 |
2 |
| sisfb_setup |
|
15 |
87 |
602 |
1 |
| sisfb_loadcmap |
|
2 |
10 |
111 |
3 |
| sisfb_getcmap |
|
9 |
31 |
237 |
2 |
| sisfb_putcmap |
|
9 |
31 |
237 |
2 |
| sisfb_cnattach |
|
9 |
45 |
287 |
4 |
| Source file: ./sys/arch/loongson/dev/radeonfb.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| radeonfb_match |
|
1 |
5 |
37 |
3 |
| radeonfb_attach |
|
7 |
53 |
349 |
3 |
| radeonfb_alloc_screen |
|
2 |
13 |
103 |
6 |
| radeonfb_free_screen |
|
1 |
5 |
29 |
2 |
| radeonfb_ioctl |
|
11 |
43 |
262 |
5 |
| radeonfb_show_screen |
|
1 |
5 |
36 |
5 |
| radeonfb_mmap |
|
14 |
35 |
250 |
3 |
| radeonfb_load_font |
|
1 |
6 |
51 |
3 |
| radeonfb_list_font |
|
1 |
6 |
45 |
2 |
| radeonfb_copycols |
|
1 |
13 |
108 |
5 |
| radeonfb_erasecols |
|
1 |
13 |
119 |
5 |
| radeonfb_copyrows |
|
1 |
11 |
91 |
4 |
| radeonfb_eraserows |
|
3 |
20 |
163 |
4 |
| radeonfb_wait_fifo |
|
3 |
10 |
58 |
2 |
| radeonfb_wait |
|
5 |
19 |
120 |
1 |
| radeonfb_copyrect |
|
3 |
42 |
256 |
7 |
| radeonfb_fillrect |
|
1 |
26 |
185 |
6 |
| radeonfb_setup |
|
2 |
42 |
355 |
1 |
| radeonfb_cnattach |
|
7 |
37 |
226 |
4 |
| Source file: ./sys/arch/loongson/dev/com_leioc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| com_leioc_match |
|
2 |
7 |
45 |
3 |
| com_leioc_attach |
|
7 |
30 |
200 |
3 |
| com_leioc_intr |
|
1 |
5 |
16 |
1 |
| leioc_cons_setup |
|
1 |
9 |
41 |
1 |
| Source file: ./sys/arch/loongson/dev/mcclock.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mcclock_attach |
|
1 |
12 |
70 |
2 |
| mcclock_get |
|
1 |
19 |
123 |
3 |
| mcclock_set |
|
1 |
21 |
138 |
2 |
| Source file: ./sys/arch/loongson/dev/bonito_irq.h |
| Source file: ./sys/arch/loongson/dev/mainbus.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mainbus_match |
|
2 |
7 |
37 |
3 |
| mainbus_attach |
|
4 |
23 |
194 |
3 |
| mainbus_print |
|
2 |
4 |
22 |
2 |
| Source file: ./sys/arch/loongson/dev/glx.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| glx_init |
|
1 |
23 |
153 |
3 |
| rdmsr |
|
3 |
13 |
86 |
1 |
| wrmsr |
|
3 |
11 |
74 |
2 |
| glx_pci_read_hook |
|
13 |
35 |
164 |
5 |
| glx_pci_write_hook |
|
13 |
34 |
153 |
5 |
| glx_get_status |
|
6 |
20 |
108 |
0 |
| glx_fn0_read |
|
18 |
60 |
301 |
1 |
| glx_fn0_write |
|
17 |
53 |
312 |
2 |
| glx_fn2_read |
|
14 |
59 |
288 |
1 |
| glx_fn2_write |
|
10 |
43 |
205 |
2 |
| glx_fn3_read |
|
11 |
51 |
256 |
1 |
| glx_fn3_write |
|
7 |
38 |
191 |
2 |
| glx_fn4_read |
|
14 |
57 |
274 |
1 |
| glx_fn4_write |
|
8 |
49 |
243 |
2 |
| glx_fn5_read |
|
15 |
62 |
306 |
1 |
| glx_fn5_write |
|
8 |
49 |
243 |
2 |
| Source file: ./sys/arch/loongson/dev/leioc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| leioc_match |
|
4 |
9 |
58 |
3 |
| leioc_attach |
|
1 |
11 |
72 |
3 |
| Source file: ./sys/arch/loongson/dev/smfbreg.h |
| Source file: ./sys/arch/loongson/dev/glxclk.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| glxclk_match |
|
2 |
8 |
54 |
3 |
| glxclk_attach |
|
6 |
78 |
514 |
3 |
| glxclk_startclock |
|
1 |
6 |
26 |
1 |
| glxclk_intr |
|
2 |
15 |
82 |
1 |
| glxclk_stat_intr |
|
3 |
23 |
136 |
1 |
| Source file: ./sys/arch/loongson/dev/smfb.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| smfb_pci_match |
|
1 |
5 |
42 |
3 |
| smfb_voyager_match |
|
1 |
6 |
57 |
3 |
| smfb_pci_attach |
|
2 |
13 |
99 |
3 |
| smfb_voyager_attach |
|
1 |
7 |
65 |
3 |
| smfb_attach_common |
|
3 |
29 |
226 |
6 |
| smfb_alloc_screen |
|
2 |
13 |
103 |
6 |
| smfb_free_screen |
|
1 |
5 |
29 |
2 |
| smfb_ioctl |
|
4 |
24 |
140 |
5 |
| smfb_show_screen |
|
1 |
5 |
36 |
5 |
| smfb_mmap |
|
4 |
10 |
85 |
3 |
| smfb_load_font |
|
1 |
6 |
51 |
3 |
| smfb_list_font |
|
1 |
6 |
45 |
2 |
| smfb_burner |
|
4 |
31 |
200 |
3 |
| smfb_setup |
|
15 |
87 |
620 |
5 |
| smfb_copyrect |
|
4 |
20 |
162 |
7 |
| smfb_fillrect |
|
1 |
13 |
115 |
6 |
| smfb_copyrows |
|
1 |
12 |
94 |
4 |
| smfb_copycols |
|
1 |
13 |
107 |
5 |
| smfb_erasecols |
|
1 |
14 |
115 |
5 |
| smfb_eraserows |
|
3 |
21 |
163 |
4 |
| smfb_wait |
|
5 |
21 |
101 |
1 |
| smfb_wait_panel_vsync |
|
4 |
11 |
72 |
2 |
| smfb_vgats_read |
|
1 |
5 |
45 |
2 |
| smfb_vgats_write |
|
1 |
5 |
49 |
3 |
| smfb_cnattach |
|
9 |
45 |
266 |
4 |
| smfb_activate |
|
3 |
13 |
61 |
2 |
| Source file: ./sys/arch/loongson/dev/voyagervar.h |
| Source file: ./sys/arch/loongson/dev/voyagerreg.h |
| Source file: ./sys/arch/loongson/dev/htbvar.h |
| Source file: ./sys/arch/loongson/dev/pcib.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pcibmatch |
|
12 |
31 |
146 |
3 |
| pcibattach |
|
2 |
14 |
115 |
3 |
| pcib_callback |
|
1 |
5 |
38 |
1 |
| pcib_isa_attach |
|
3 |
13 |
88 |
4 |
| pcib_print |
|
2 |
6 |
29 |
2 |
| Source file: ./sys/arch/loongson/dev/mcclock_isa.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mcclock_isa_match |
|
8 |
18 |
129 |
3 |
| mcclock_isa_attach |
|
2 |
12 |
89 |
3 |
| mcclock_isa_write |
|
1 |
10 |
68 |
3 |
| mcclock_isa_read |
|
1 |
10 |
63 |
2 |
| Source file: ./sys/arch/loongson/dev/m41t8xclock.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| m41t8xclock_match |
|
1 |
6 |
57 |
3 |
| m41t8xclock_attach |
|
1 |
11 |
81 |
3 |
| m41t8xclock_get |
|
3 |
24 |
222 |
3 |
| m41t8xclock_set |
|
5 |
32 |
285 |
2 |
| Source file: ./sys/arch/loongson/dev/apm.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| apmmatch |
|
3 |
7 |
53 |
3 |
| apmattach |
|
1 |
5 |
27 |
3 |
| apmopen |
|
10 |
34 |
180 |
4 |
| apmclose |
|
6 |
18 |
106 |
4 |
| apmioctl |
|
24 |
69 |
332 |
5 |
| filt_apmrdetach |
|
1 |
5 |
37 |
1 |
| filt_apmread |
|
3 |
6 |
35 |
2 |
| apmkqfilter |
|
5 |
17 |
102 |
2 |
| apm_getdefaultinfo |
|
1 |
8 |
39 |
1 |
| apm_setinfohook |
|
1 |
4 |
19 |
1 |
| apm_record_event |
|
5 |
14 |
117 |
3 |
| apm_suspend |
|
8 |
42 |
192 |
1 |
| Source file: ./sys/arch/loongson/include/pmap.h |
| Source file: ./sys/arch/loongson/include/apmvar.h |
| Source file: ./sys/arch/loongson/include/kcore.h |
| Source file: ./sys/arch/loongson/include/profile.h |
| Source file: ./sys/arch/loongson/dev/ohci_voyager.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ohci_voyager_match |
|
2 |
7 |
61 |
3 |
| ohci_voyager_attach |
|
6 |
49 |
412 |
3 |
| ohci_voyager_attach_deferred |
|
2 |
18 |
125 |
1 |
| Source file: ./sys/arch/loongson/include/loongson2.h |
| Source file: ./sys/arch/loongson/include/loongson3.h |
| Source file: ./sys/arch/loongson/include/memconf.h |
| Source file: ./sys/arch/loongson/include/lock.h |
| Source file: ./sys/arch/loongson/include/vmparam.h |
| Source file: ./sys/arch/loongson/include/exec.h |
| Source file: ./sys/arch/loongson/include/spinlock.h |
| Source file: ./sys/arch/loongson/include/stdarg.h |
| Source file: ./sys/arch/loongson/include/_types.h |
| Source file: ./sys/arch/loongson/include/hibernate.h |
| Source file: ./sys/arch/loongson/include/pte.h |
| Source file: ./sys/arch/loongson/include/ieee.h |
| Source file: ./sys/arch/loongson/include/ieeefp.h |
| Source file: ./sys/arch/loongson/include/mutex.h |
| Source file: ./sys/arch/loongson/include/cpustate.h |
| Source file: ./sys/arch/loongson/include/endian.h |
| Source file: ./sys/arch/loongson/include/frame.h |
| Source file: ./sys/arch/loongson/include/varargs.h |
| Source file: ./sys/arch/loongson/include/cpu.h |
| Source file: ./sys/arch/loongson/include/isa_machdep.h |
| Source file: ./sys/arch/loongson/include/ptrace.h |
| Source file: ./sys/arch/loongson/include/limits.h |
| Source file: ./sys/arch/loongson/include/conf.h |
| Source file: ./sys/arch/loongson/include/atomic.h |
| Source file: ./sys/arch/loongson/dev/gdiumiic.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| gdiumiic_bustype |
|
8 |
17 |
83 |
1 |
| gdiumiic_match |
|
4 |
9 |
72 |
3 |
| gdiumiic_attach |
|
16 |
79 |
548 |
3 |
| gdiumiic_detach |
|
1 |
4 |
17 |
2 |
| gdiumiic_i2c_acquire_bus |
|
3 |
7 |
48 |
2 |
| gdiumiic_i2c_release_bus |
|
3 |
7 |
38 |
2 |
| gdiumiic_i2c_send_start |
|
1 |
4 |
24 |
2 |
| gdiumiic_i2c_send_stop |
|
1 |
4 |
24 |
2 |
| gdiumiic_i2c_initiate_xfer |
|
1 |
4 |
29 |
3 |
| gdiumiic_i2c_read_byte |
|
1 |
4 |
30 |
3 |
| gdiumiic_i2c_write_byte |
|
1 |
4 |
29 |
3 |
| gdiumiic_bb_set_bits |
|
3 |
8 |
62 |
2 |
| gdiumiic_bb_set_dir |
|
6 |
14 |
100 |
2 |
| gdiumiic_bb_read_bits |
|
3 |
12 |
67 |
1 |
| gdiumiic_sensors_scan |
|
1 |
24 |
169 |
3 |
| Source file: ./sys/arch/loongson/include/intr.h |
| Source file: ./sys/arch/loongson/include/pci_machdep.h |
| Source file: ./sys/arch/loongson/include/proc.h |
| Source file: ./sys/arch/loongson/include/mplock.h |
| Source file: ./sys/arch/loongson/include/hibernate_var.h |
| Source file: ./sys/arch/loongson/include/setjmp.h |
| Source file: ./sys/arch/loongson/include/pcb.h |
| Source file: ./sys/arch/loongson/include/autoconf.h |
| Source file: ./sys/arch/loongson/include/mips_opcode.h |
| Source file: ./sys/arch/loongson/include/db_machdep.h |
| Source file: ./sys/arch/loongson/include/pmon.h |
| Source file: ./sys/arch/loongson/include/signal.h |
| Source file: ./sys/arch/loongson/include/asm.h |
| Source file: ./sys/arch/loongson/include/param.h |
| Source file: ./sys/arch/loongson/include/reg.h |
| Source file: ./sys/arch/loongson/include/sysarch.h |
| Source file: ./sys/arch/loongson/include/trap.h |
| Source file: ./sys/arch/loongson/include/regdef.h |
| Source file: ./sys/arch/loongson/include/fpu.h |
| Source file: ./sys/arch/loongson/include/regnum.h |
| Source file: ./sys/arch/loongson/stand/boot/conf.c |
| Source file: ./sys/arch/loongson/stand/boot/machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cnspeed |
|
1 |
4 |
13 |
2 |
| ttyname |
|
1 |
4 |
10 |
1 |
| ttydev |
|
1 |
4 |
11 |
1 |
| devboot |
|
16 |
52 |
305 |
2 |
| getsecs |
|
1 |
4 |
8 |
0 |
| machdep |
|
4 |
14 |
56 |
0 |
| main |
|
6 |
15 |
84 |
0 |
| gdium_abort |
|
1 |
11 |
23 |
0 |
| Source file: ./sys/arch/loongson/stand/boot/dev.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pmon_iostrategy |
|
7 |
27 |
165 |
6 |
| pmon_ioopen |
|
5 |
33 |
197 |
2 |
| pmon_ioclose |
|
2 |
13 |
70 |
1 |
| pmon_getdisklabel |
|
7 |
31 |
215 |
1 |
| Source file: ./sys/arch/loongson/stand/boot/devopen.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| devparse |
|
15 |
42 |
321 |
5 |
| devopen |
|
3 |
13 |
114 |
3 |
| Source file: ./sys/arch/loongson/stand/boot/libsa.h |
| Source file: ./sys/arch/loongson/stand/boot/rd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rd_iostrategy |
|
1 |
5 |
28 |
6 |
| rd_ioopen |
|
1 |
4 |
14 |
2 |
| rd_ioclose |
|
1 |
4 |
12 |
1 |
| rd_isvalid |
|
6 |
10 |
66 |
0 |
| rd_invalidate |
|
1 |
4 |
19 |
0 |
| rdfs_open |
|
3 |
11 |
52 |
2 |
| rdfs_close |
|
1 |
4 |
12 |
1 |
| rdfs_read |
|
2 |
9 |
57 |
4 |
| rdfs_write |
|
1 |
4 |
23 |
4 |
| rdfs_seek |
|
3 |
15 |
52 |
3 |
| rdfs_stat |
|
1 |
4 |
17 |
2 |
| rdfs_readdir |
|
1 |
4 |
16 |
2 |
| Source file: ./sys/arch/loongson/stand/boot/cons.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pmon_cnprobe |
|
1 |
4 |
15 |
1 |
| pmon_cninit |
|
1 |
3 |
9 |
1 |
| pmon_cngetc |
|
5 |
23 |
118 |
1 |
| pmon_cnputc |
|
2 |
7 |
29 |
2 |
| Source file: ./sys/arch/loongson/stand/boot/exec.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| run_loadfile |
|
8 |
35 |
222 |
2 |
| Source file: ./sys/arch/loongson/loongson/isa_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| loongson_set_isa_imr |
|
3 |
12 |
84 |
1 |
| loongson_isa_specific_eoi |
|
2 |
10 |
61 |
1 |
| loongson_isa_splx |
|
3 |
11 |
57 |
1 |
| loongson_isa_setintrmask |
|
1 |
10 |
46 |
1 |
| loongson_generic_isa_attach_hook |
|
1 |
6 |
28 |
3 |
| Source file: ./sys/arch/loongson/dev/bonito.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bonito_match |
|
3 |
9 |
60 |
3 |
| bonito_attach |
|
12 |
95 |
659 |
3 |
| bonito_pa_to_device |
|
1 |
4 |
12 |
1 |
| bonito_device_to_pa |
|
1 |
4 |
12 |
1 |
| bonito_print |
|
2 |
8 |
47 |
2 |
| bonito_intr_establish |
|
7 |
26 |
200 |
6 |
| bonito_intr_disestablish |
|
11 |
23 |
175 |
1 |
| bonito_splx |
|
3 |
11 |
57 |
1 |
| bonito_setintrmask |
|
3 |
19 |
101 |
1 |
| bonito_intr_makemasks |
|
6 |
25 |
192 |
0 |
| bonito_intr_2e |
|
6 |
27 |
159 |
2 |
| bonito_intr_2f |
|
5 |
24 |
134 |
2 |
| bonito_intr_dispatch |
|
12 |
41 |
269 |
3 |
| bonito_attach_hook |
|
2 |
10 |
65 |
3 |
| bonito_bus_maxdevs |
|
2 |
6 |
41 |
2 |
| bonito_make_tag |
|
1 |
4 |
39 |
4 |
| bonito_decompose_tag |
|
4 |
9 |
77 |
5 |
| bonito_conf_addr |
|
3 |
17 |
112 |
5 |
| bonito_pci_hook |
|
2 |
15 |
117 |
4 |
| bonito_conf_size |
|
1 |
4 |
14 |
2 |
| bonito_conf_read |
|
3 |
13 |
91 |
3 |
| bonito_conf_read_internal |
|
3 |
30 |
194 |
3 |
| bonito_conf_write |
|
4 |
29 |
211 |
4 |
| bonito_pci_intr_map |
|
7 |
24 |
183 |
2 |
| bonito_pci_intr_string |
|
2 |
10 |
58 |
2 |
| bonito_pci_intr_establish |
|
1 |
5 |
48 |
6 |
| bonito_pci_intr_disestablish |
|
1 |
4 |
17 |
2 |
| bonito_io_map |
|
7 |
18 |
111 |
5 |
| bonito_mem_map |
|
18 |
60 |
363 |
5 |
| bonito_get_resource_extent |
|
12 |
52 |
286 |
2 |
| bonito_make_tag_early |
|
1 |
4 |
25 |
3 |
| bonito_conf_read_early |
|
1 |
4 |
22 |
2 |
| bonito_early_setup |
|
1 |
7 |
23 |
0 |
| Source file: ./sys/arch/loongson/loongson/bus_space.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| generic_space_read_1 |
|
1 |
4 |
26 |
3 |
| generic_space_read_2 |
|
1 |
4 |
26 |
3 |
| generic_space_read_4 |
|
1 |
4 |
26 |
3 |
| generic_space_read_8 |
|
1 |
4 |
26 |
3 |
| generic_space_write_1 |
|
1 |
5 |
30 |
4 |
| generic_space_write_2 |
|
1 |
5 |
30 |
4 |
| generic_space_write_4 |
|
1 |
5 |
30 |
4 |
| generic_space_write_8 |
|
1 |
5 |
30 |
4 |
| generic_space_read_raw_2 |
|
2 |
10 |
64 |
5 |
| generic_space_write_raw_2 |
|
2 |
10 |
65 |
5 |
| generic_space_read_raw_4 |
|
2 |
10 |
64 |
5 |
| generic_space_write_raw_4 |
|
2 |
10 |
65 |
5 |
| generic_space_read_raw_8 |
|
2 |
10 |
64 |
5 |
| generic_space_write_raw_8 |
|
2 |
10 |
65 |
5 |
| generic_space_map |
|
1 |
6 |
32 |
5 |
| generic_space_unmap |
|
1 |
3 |
13 |
3 |
| generic_space_region |
|
1 |
6 |
30 |
5 |
| generic_space_vaddr |
|
1 |
4 |
17 |
2 |
| generic_space_mmap |
|
1 |
5 |
26 |
5 |
| Source file: ./sys/arch/loongson/loongson/autoconf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cpu_configure |
|
1 |
9 |
39 |
1 |
| parsepmonbp |
|
7 |
29 |
166 |
1 |
| diskconf |
|
4 |
10 |
52 |
1 |
| device_register |
|
2 |
6 |
33 |
2 |
| Source file: ./sys/arch/loongson/include/bus.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bus_space_copy_1 |
|
2 |
8 |
63 |
6 |
| bus_space_copy_2 |
|
2 |
8 |
64 |
6 |
| bus_space_copy_4 |
|
2 |
8 |
64 |
6 |
| bus_space_copy_8 |
|
2 |
8 |
64 |
6 |
| bus_space_barrier |
|
1 |
5 |
28 |
5 |
| Source file: ./sys/arch/loongson/loongson/pciide_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pciide_machdep_compat_intr_establish |
|
2 |
13 |
88 |
5 |
| pciide_machdep_compat_intr_disestablish |
|
2 |
5 |
28 |
2 |
| Source file: ./sys/arch/loongson/loongson/generic2e_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| generic2e_pci_attach_hook |
|
4 |
17 |
92 |
1 |
| generic2e_intr_map |
|
8 |
25 |
90 |
3 |
| generic2e_isa_attach_hook |
|
1 |
6 |
37 |
3 |
| generic2e_isa_intr_establish |
|
1 |
6 |
54 |
7 |
| generic2e_isa_intr_disestablish |
|
1 |
4 |
17 |
2 |
| generic2e_isa_intr |
|
14 |
59 |
351 |
2 |
| generic2e_reset |
|
1 |
6 |
24 |
0 |
| generic2e_setup |
|
4 |
15 |
65 |
1 |
| generic2e_device_register |
|
10 |
25 |
146 |
2 |
| via686sb_setup |
|
1 |
80 |
705 |
2 |
| Source file: ./sys/arch/loongson/loongson/loongson3_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| loongson3a_setup |
|
4 |
15 |
123 |
2 |
| Source file: ./sys/arch/loongson/loongson/yeeloong_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| lemote_pci_attach_hook |
|
3 |
15 |
84 |
1 |
| lemote_intr_map |
|
12 |
30 |
115 |
3 |
| lemote_isa_attach_hook |
|
1 |
8 |
59 |
3 |
| lemote_isa_intr_establish |
|
1 |
6 |
54 |
7 |
| lemote_isa_intr_disestablish |
|
1 |
4 |
17 |
2 |
| lemote_isa_intr |
|
17 |
70 |
417 |
2 |
| lemote_get_isa_imr |
|
1 |
8 |
55 |
0 |
| lemote_get_isa_isr |
|
1 |
7 |
42 |
0 |
| fuloong_powerdown |
|
1 |
7 |
49 |
0 |
| yeeloong_powerdown |
|
1 |
5 |
19 |
0 |
| lemote_reset |
|
1 |
5 |
22 |
0 |
| fuloong_setup |
|
4 |
18 |
87 |
1 |
| yeeloong_setup |
|
1 |
5 |
14 |
1 |
| ebenton_setup |
|
1 |
4 |
10 |
1 |
| lemote_device_register |
|
10 |
25 |
146 |
2 |
| Source file: ./sys/arch/powerpc/powerpc/pmap.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| VP_SR |
|
1 |
4 |
17 |
1 |
| VP_IDX1 |
|
1 |
4 |
17 |
1 |
| VP_IDX2 |
|
1 |
4 |
17 |
1 |
| pmap_vp_lookup |
|
3 |
17 |
91 |
2 |
| pmap_vp_remove |
|
3 |
18 |
103 |
2 |
| pmap_vp_enter |
|
7 |
28 |
188 |
4 |
| tlbie |
|
1 |
4 |
20 |
1 |
| tlbsync |
|
1 |
4 |
12 |
1 |
| eieio |
|
1 |
4 |
12 |
1 |
| sync |
|
1 |
4 |
12 |
1 |
| tlbia |
|
2 |
10 |
44 |
1 |
| ptesr |
|
1 |
4 |
23 |
2 |
| pteidx |
|
1 |
6 |
40 |
2 |
| PTED_HID |
|
1 |
4 |
18 |
1 |
| PTED_PTEGIDX |
|
1 |
4 |
18 |
1 |
| PTED_MANAGED |
|
1 |
4 |
18 |
1 |
| PTED_WIRED |
|
1 |
4 |
18 |
1 |
| PTED_VALID |
|
2 |
7 |
40 |
1 |
| pmap_enter_pv |
|
2 |
10 |
68 |
2 |
| pmap_remove_pv |
|
2 |
12 |
82 |
1 |
| pmap_pte2flags |
|
3 |
5 |
34 |
1 |
| pmap_flags2pte |
|
3 |
5 |
34 |
1 |
| pmap_attr_save |
|
2 |
8 |
43 |
2 |
| pmap_enter |
|
24 |
78 |
483 |
5 |
| pmap_remove |
|
4 |
12 |
72 |
3 |
| pmap_remove_pted |
|
7 |
29 |
191 |
2 |
| pmap_kenter_pa |
|
15 |
47 |
294 |
3 |
| pmap_kremove |
|
4 |
9 |
64 |
2 |
| pmap_ptedinhash |
|
8 |
24 |
194 |
1 |
| pte_del |
|
2 |
12 |
63 |
2 |
| pte_zap |
|
3 |
13 |
101 |
2 |
| pmap_fill_pte64 |
|
5 |
28 |
187 |
6 |
| pmap_fill_pte32 |
|
5 |
25 |
177 |
6 |
| pmap_test_attrs |
|
5 |
30 |
182 |
2 |
| pmap_clear_attrs |
|
3 |
37 |
229 |
2 |
| pmap_collect |
|
1 |
3 |
7 |
1 |
| pmap_zero_page |
|
4 |
12 |
82 |
1 |
| pmap_copy_page |
|
1 |
6 |
47 |
2 |
| pmap_create |
|
5 |
31 |
226 |
1 |
| pmap_reference |
|
1 |
4 |
15 |
1 |
| pmap_destroy |
|
3 |
11 |
53 |
1 |
| pmap_release |
|
1 |
12 |
89 |
1 |
| pmap_vp_destroy |
|
5 |
19 |
111 |
1 |
| pmap_avail_setup |
|
6 |
22 |
164 |
1 |
| pmap_avail_fixup |
|
4 |
23 |
106 |
1 |
| pmap_remove_avail |
|
15 |
69 |
383 |
2 |
| pmap_steal_avail |
|
4 |
18 |
113 |
2 |
| pmap_steal_memory |
|
12 |
46 |
267 |
3 |
| pmap_bootstrap |
|
26 |
117 |
1031 |
2 |
| pmap_enable_mmu |
|
4 |
21 |
151 |
1 |
| pmap_activate |
|
1 |
3 |
9 |
1 |
| pmap_deactivate |
|
1 |
3 |
9 |
1 |
| pmap_extract |
|
6 |
22 |
132 |
3 |
| pmap_setusr |
|
1 |
9 |
62 |
2 |
| pmap_popusr |
|
1 |
5 |
23 |
1 |
| copyin |
|
4 |
27 |
151 |
3 |
| copyout |
|
4 |
27 |
151 |
3 |
| copyin32 |
|
3 |
20 |
115 |
2 |
| copyinstr |
|
9 |
50 |
257 |
4 |
| copyoutstr |
|
9 |
50 |
261 |
4 |
| pmap_syncicache_user_virt |
|
3 |
16 |
86 |
2 |
| pmap_pted_ro |
|
2 |
7 |
31 |
2 |
| pmap_pted_ro64 |
|
6 |
35 |
238 |
2 |
| pmap_pted_ro32 |
|
5 |
33 |
218 |
2 |
| pmap_page_protect |
|
5 |
37 |
272 |
2 |
| pmap_protect |
|
5 |
16 |
91 |
4 |
| pmap_real_memory |
|
6 |
18 |
134 |
2 |
| pmap_init |
|
1 |
14 |
104 |
0 |
| pmap_proc_iflush |
|
4 |
15 |
89 |
3 |
| pte_spill_r |
|
7 |
34 |
187 |
4 |
| pte_spill_v |
|
10 |
28 |
156 |
4 |
| pte_insert64 |
|
10 |
66 |
515 |
1 |
| pte_insert32 |
|
10 |
63 |
505 |
1 |
| Source file: ./sys/arch/loongson/loongson/hibernate_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| get_hibernate_io_function |
|
16 |
25 |
199 |
1 |
| get_hibernate_info_md |
|
3 |
16 |
118 |
1 |
| hibernate_enter_resume_mapping |
|
1 |
3 |
13 |
3 |
| hibernate_populate_resume_pt |
|
1 |
4 |
15 |
3 |
| hibernate_inflate_skip |
|
3 |
7 |
42 |
2 |
| hibernate_enable_intr_machdep |
|
1 |
4 |
10 |
1 |
| hibernate_disable_intr_machdep |
|
1 |
4 |
10 |
1 |
| hibernate_flush |
|
1 |
4 |
13 |
1 |
| Source file: ./sys/arch/loongson/loongson/machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| loongson_identify |
|
24 |
75 |
372 |
2 |
| loongson_efi_setup |
|
11 |
40 |
278 |
1 |
| loongson_envp_setup |
|
18 |
59 |
267 |
1 |
| mips_init |
|
59 |
207 |
1289 |
5 |
| dobootopts |
|
17 |
49 |
225 |
1 |
| consinit |
|
2 |
9 |
31 |
0 |
| cpu_startup |
|
3 |
19 |
137 |
0 |
| cpu_sysctl |
|
6 |
21 |
111 |
7 |
| boot |
|
13 |
52 |
278 |
1 |
| dumpconf |
|
7 |
16 |
123 |
1 |
| dumpsys |
|
1 |
3 |
5 |
0 |
| atoi |
|
21 |
50 |
247 |
2 |
| pmoncngetc |
|
4 |
20 |
100 |
1 |
| pmoncnputc |
|
2 |
7 |
29 |
2 |
| hw_cpu_hatch |
|
4 |
27 |
135 |
1 |
| hw_cpu_boot_secondary |
|
1 |
4 |
16 |
1 |
| hw_ipi_intr_establish |
|
2 |
7 |
39 |
2 |
| hw_ipi_intr_set |
|
1 |
4 |
14 |
1 |
| hw_ipi_intr_clear |
|
2 |
5 |
22 |
1 |
| Source file: ./sys/arch/loongson/loongson/conf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| iskmemdev |
|
4 |
7 |
44 |
1 |
| iszerodev |
|
2 |
5 |
26 |
1 |
| getnulldev |
|
1 |
4 |
15 |
0 |
| Source file: ./sys/arch/loongson/loongson/gdium_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| gdium_attach_hook |
|
14 |
43 |
328 |
1 |
| gdium_intr_map |
|
8 |
25 |
108 |
3 |
| gdium_device_register |
|
20 |
51 |
217 |
2 |
| gdium_powerdown |
|
1 |
5 |
19 |
0 |
| gdium_reset |
|
1 |
5 |
19 |
0 |
| gdium_setup |
|
1 |
4 |
9 |
0 |
| Source file: ./sys/arch/loongson/loongson/loongson2_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| loongson2e_setup |
|
3 |
19 |
150 |
2 |
| loongson2f_setup |
|
4 |
36 |
272 |
2 |
| loongson2f_setup_window |
|
1 |
17 |
119 |
6 |
| is_memory_range |
|
8 |
18 |
135 |
3 |
| loongson2f_cpuspeed |
|
1 |
8 |
50 |
1 |
| loongson2f_setperf |
|
2 |
11 |
66 |
1 |
| Source file: ./sys/arch/loongson/loongson/wscons_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wscnprobe |
|
12 |
34 |
205 |
1 |
| wscninit |
|
28 |
56 |
335 |
1 |
| wscnputc |
|
2 |
4 |
17 |
2 |
| wscngetc |
|
3 |
10 |
41 |
1 |
| wscnpollc |
|
2 |
4 |
17 |
2 |
| Source file: ./sys/arch/loongson/loongson/generic3a_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| generic3a_powerdown |
|
2 |
5 |
16 |
1 |
| generic3a_reset |
|
2 |
5 |
16 |
1 |
| generic3a_setup |
|
5 |
20 |
126 |
1 |
| generic3a_device_register |
|
11 |
25 |
146 |
2 |
| generic3a_config_secondary_cpus |
|
5 |
21 |
150 |
2 |
| generic3a_boot_secondary_cpu |
|
3 |
15 |
85 |
1 |
| generic3a_ipi_establish |
|
2 |
8 |
54 |
2 |
| generic3a_ipi_set |
|
1 |
4 |
19 |
1 |
| generic3a_ipi_clear |
|
1 |
4 |
19 |
1 |
| generic3a_ipi_intr |
|
2 |
9 |
61 |
2 |
| rs780e_pci_attach_hook |
|
4 |
16 |
97 |
1 |
| rs780e_setup |
|
1 |
5 |
14 |
1 |
| rs780sb_setup |
|
1 |
24 |
223 |
2 |
| rs780e_isa_attach_hook |
|
1 |
4 |
19 |
3 |
| rs780e_isa_intr_establish |
|
1 |
5 |
49 |
7 |
| rs780e_isa_intr_disestablish |
|
1 |
4 |
17 |
2 |
| rs780e_eoi |
|
2 |
11 |
72 |
1 |
| rs780e_set_imask |
|
1 |
10 |
64 |
1 |
| rs780e_irq_mask |
|
1 |
4 |
19 |
1 |
| rs780e_irq_unmask |
|
1 |
4 |
19 |
1 |
| rs780e_get_timecount |
|
1 |
4 |
15 |
1 |
| Source file: ./sys/arch/sh/dev/pcicreg.h |
| Source file: ./sys/arch/sh/dev/pciide_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pciide_machdep_compat_intr_establish |
|
1 |
6 |
41 |
5 |
| pciide_machdep_compat_intr_disestablish |
|
1 |
4 |
16 |
2 |
| Source file: ./sys/arch/sh/dev/scireg.h |
| Source file: ./sys/arch/sh/dev/scifreg.h |
| Source file: ./sys/arch/loongson/loongson/pmon.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pmon_init |
|
8 |
32 |
164 |
5 |
| pmon_getarg |
|
3 |
6 |
35 |
1 |
| pmon_getenvtype |
|
1 |
4 |
8 |
0 |
| pmon_getenv |
|
8 |
26 |
141 |
1 |
| pmon_get_env_reset |
|
2 |
7 |
33 |
1 |
| pmon_get_env_smbios |
|
2 |
7 |
35 |
1 |
| pmon_get_env_mem |
|
2 |
9 |
63 |
1 |
| pmon_get_env_cpu |
|
2 |
9 |
63 |
1 |
| pmon_get_env_sys |
|
2 |
9 |
63 |
1 |
| pmon_get_env_irq |
|
2 |
9 |
63 |
1 |
| pmon_get_env_iface |
|
2 |
9 |
63 |
1 |
| pmon_get_env_special |
|
2 |
9 |
63 |
1 |
| pmon_get_env_device |
|
2 |
9 |
63 |
1 |
| Source file: ./sys/arch/sh/dev/shb.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| shb_match |
|
2 |
8 |
54 |
3 |
| shb_attach |
|
1 |
5 |
32 |
3 |
| shb_search |
|
2 |
8 |
65 |
3 |
| shb_print |
|
1 |
4 |
18 |
2 |
| Source file: ./sys/arch/loongson/loongson/bus_dma.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _dmamap_create |
|
3 |
20 |
152 |
7 |
| _dmamap_destroy |
|
1 |
4 |
19 |
2 |
| _dmamap_load |
|
3 |
18 |
119 |
6 |
| _dmamap_load_mbuf |
|
8 |
27 |
192 |
4 |
| _dmamap_load_uio |
|
9 |
34 |
239 |
4 |
| _dmamap_load_raw |
|
8 |
23 |
185 |
6 |
| _dmamap_unload |
|
1 |
5 |
22 |
2 |
| _dmamap_sync |
|
16 |
58 |
275 |
5 |
| _dmamem_alloc |
|
1 |
7 |
61 |
8 |
| _dmamem_free |
|
3 |
17 |
114 |
3 |
| _dmamem_map |
|
13 |
53 |
383 |
6 |
| _dmamem_unmap |
|
2 |
6 |
41 |
3 |
| _dmamem_mmap |
|
7 |
20 |
135 |
6 |
| _dmamap_load_buffer |
|
15 |
66 |
466 |
9 |
| _dmamem_alloc_range |
|
9 |
43 |
292 |
10 |
| Source file: ./sys/arch/sh/include/mmu_sh3.h |
| Source file: ./sys/arch/sh/include/pmap.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pmap_remove_all |
|
1 |
3 |
9 |
1 |
| Source file: ./sys/arch/loongson/loongson/loongson3_intr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| next_irq |
|
2 |
16 |
65 |
1 |
| setipl |
|
1 |
10 |
35 |
2 |
| loongson3_intr_init |
|
7 |
30 |
222 |
1 |
| loongson3_prop_imask |
|
1 |
10 |
75 |
1 |
| loongson3_update_imask |
|
10 |
37 |
282 |
1 |
| loongson3_intr_insert |
|
5 |
16 |
97 |
3 |
| loongson3_intr_remove |
|
5 |
17 |
95 |
2 |
| loongson3_intr_establish |
|
5 |
30 |
214 |
5 |
| loongson3_intr_disestablish |
|
1 |
13 |
73 |
1 |
| loongson3_ht_intr_establish |
|
4 |
30 |
206 |
5 |
| loongson3_ht_intr_disestablish |
|
2 |
18 |
105 |
1 |
| loongson3_splx |
|
4 |
10 |
61 |
1 |
| loongson3_intr |
|
16 |
54 |
322 |
2 |
| loongson3_ht_intr |
|
17 |
56 |
349 |
2 |
| loongson3_register_ht_pic |
|
1 |
4 |
14 |
1 |
| Source file: ./sys/arch/sh/include/disklabel.h |
| Source file: ./sys/arch/sh/include/profile.h |
| Source file: ./sys/arch/sh/include/kcore.h |
| Source file: ./sys/arch/sh/include/devreg.h |
| Source file: ./sys/arch/sh/include/cache.h |
| Source file: ./sys/arch/sh/include/mmu.h |
| Source file: ./sys/arch/sh/include/tmureg.h |
| Source file: ./sys/arch/sh/dev/shpcicvar.h |
| Source file: ./sys/arch/sh/include/lock.h |
| Source file: ./sys/arch/sh/include/vmparam.h |
| Source file: ./sys/arch/sh/include/exec.h |
| Source file: ./sys/arch/sh/include/intcreg.h |
| Source file: ./sys/arch/sh/include/spinlock.h |
| Source file: ./sys/arch/sh/include/tcb.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __sh_get_tcb |
|
1 |
6 |
23 |
1 |
| Source file: ./sys/arch/sh/include/stdarg.h |
| Source file: ./sys/arch/sh/include/pte.h |
| Source file: ./sys/arch/sh/include/ieee.h |
| Source file: ./sys/arch/sh/include/ieeefp.h |
| Source file: ./sys/arch/sh/include/fenv.h |
| Source file: ./sys/arch/sh/include/mutex.h |
| Source file: ./sys/arch/sh/include/cache_sh3.h |
| Source file: ./sys/arch/sh/include/locore.h |
| Source file: ./sys/arch/sh/include/cdefs.h |
| Source file: ./sys/arch/sh/include/cache_sh4.h |
| Source file: ./sys/arch/sh/include/endian.h |
| Source file: ./sys/arch/sh/include/_types.h |
| Source file: ./sys/arch/sh/include/frame.h |
| Source file: ./sys/arch/sh/include/cpu.h |
| Source file: ./sys/arch/sh/include/ubcreg.h |
| Source file: ./sys/arch/sh/include/varargs.h |
| Source file: ./sys/arch/sh/include/bscreg.h |
| Source file: ./sys/arch/sh/include/ptrace.h |
| Source file: ./sys/arch/sh/include/clock.h |
| Source file: ./sys/arch/sh/include/limits.h |
| Source file: ./sys/arch/sh/include/intr.h |
| Source file: ./sys/arch/sh/include/psl.h |
| Source file: ./sys/arch/sh/include/mmu_sh4.h |
| Source file: ./sys/arch/sh/include/cpgreg.h |
| Source file: ./sys/arch/sh/include/setjmp.h |
| Source file: ./sys/arch/sh/include/proc.h |
| Source file: ./sys/arch/sh/include/pcb.h |
| Source file: ./sys/arch/sh/include/reloc.h |
| Source file: ./sys/arch/sh/dev/scif.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| InitializeScif |
|
3 |
13 |
87 |
1 |
| scif_putc |
|
2 |
7 |
40 |
1 |
| ScifErrCheck |
|
1 |
4 |
21 |
1 |
| scif_getc |
|
10 |
22 |
128 |
1 |
| scif_match |
|
2 |
6 |
29 |
3 |
| scif_attach |
|
4 |
48 |
360 |
3 |
| scifstart |
|
6 |
42 |
238 |
1 |
| scifparam |
|
24 |
67 |
461 |
2 |
| scif_iflush |
|
2 |
11 |
54 |
1 |
| scifopen |
|
18 |
64 |
443 |
4 |
| scifclose |
|
2 |
10 |
88 |
4 |
| scifread |
|
1 |
6 |
61 |
3 |
| scifwrite |
|
1 |
6 |
61 |
3 |
| scifpoll |
|
1 |
6 |
61 |
3 |
| sciftty |
|
1 |
6 |
36 |
1 |
| scifioctl |
|
8 |
37 |
221 |
5 |
| scif_schedrx |
|
1 |
5 |
22 |
1 |
| scif_break |
|
5 |
15 |
78 |
2 |
| scifstop |
|
3 |
14 |
94 |
2 |
| scif_intr_init |
|
1 |
3 |
6 |
1 |
| scifdiag |
|
3 |
17 |
97 |
1 |
| scif_rxsoft |
|
16 |
58 |
372 |
2 |
| scif_txsoft |
|
2 |
9 |
82 |
2 |
| scif_stsoft |
|
7 |
23 |
156 |
2 |
| scifsoft |
|
5 |
18 |
89 |
1 |
| scifintr |
|
41 |
146 |
929 |
1 |
| scifcnprobe |
|
4 |
10 |
61 |
1 |
| scifcninit |
|
1 |
5 |
18 |
1 |
| scifcngetc |
|
1 |
9 |
35 |
1 |
| scifcnputc |
|
1 |
7 |
32 |
2 |
| Source file: ./sys/arch/sh/include/cputypes.h |
| Source file: ./sys/arch/sh/include/atomic.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __atomic_enter |
|
1 |
7 |
40 |
1 |
| __atomic_leave |
|
1 |
4 |
20 |
1 |
| _atomic_cas_uint |
|
2 |
11 |
58 |
3 |
| _atomic_cas_ulong |
|
2 |
11 |
58 |
3 |
| _atomic_cas_ptr |
|
2 |
12 |
71 |
3 |
| _atomic_swap_uint |
|
1 |
10 |
48 |
2 |
| _atomic_swap_ulong |
|
1 |
10 |
48 |
2 |
| _atomic_swap_ptr |
|
1 |
11 |
61 |
2 |
| _atomic_add_int_nv |
|
1 |
10 |
50 |
2 |
| _atomic_add_long_nv |
|
1 |
10 |
50 |
2 |
| _atomic_sub_int_nv |
|
1 |
10 |
50 |
2 |
| _atomic_sub_long_nv |
|
1 |
10 |
50 |
2 |
| atomic_setbits_int |
|
1 |
7 |
34 |
2 |
| atomic_clearbits_int |
|
1 |
7 |
34 |
2 |
| Source file: ./sys/arch/sh/include/signal.h |
| Source file: ./sys/arch/sh/include/db_machdep.h |
| Source file: ./sys/arch/sh/include/asm.h |
| Source file: ./sys/arch/sh/include/param.h |
| Source file: ./sys/arch/sh/include/trap.h |
| Source file: ./sys/arch/sh/include/reg.h |
| Source file: ./sys/arch/sh/include/fpu.h |
| Source file: ./sys/arch/sh/include/sh_opcode.h |
| Source file: ./sys/arch/sh/include/rtcreg.h |
| Source file: ./sys/arch/sh/sh/cpu.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cpu_match |
|
2 |
7 |
49 |
3 |
| cpu_attach |
|
2 |
8 |
51 |
3 |
| Source file: ./sys/arch/sh/sh/devreg.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sh_devreg_init |
|
3 |
7 |
24 |
1 |
| Source file: ./sys/arch/sh/sh/locore_c.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cpu_switch_prepare |
|
4 |
18 |
152 |
2 |
| cpu_exit |
|
2 |
7 |
39 |
1 |
| sh3_switch_setup |
|
3 |
15 |
103 |
1 |
| sh4_switch_setup |
|
3 |
21 |
147 |
1 |
| copystr |
|
5 |
16 |
98 |
4 |
| Source file: ./sys/arch/sh/sh/cache_sh3.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sh3_cache_config |
|
9 |
52 |
232 |
1 |
| cache_sh3_op_line_16_nway |
|
2 |
10 |
58 |
3 |
| cache_sh3_op_8lines_16_nway |
|
2 |
18 |
114 |
3 |
| sh3_cache_wbinv_all |
|
2 |
6 |
36 |
1 |
| sh3_cache_wbinv_range_index |
|
3 |
13 |
83 |
2 |
| sh3_cache_wbinv_range |
|
2 |
11 |
63 |
2 |
| sh3_cache_panic |
|
1 |
4 |
15 |
2 |
| sh3_cache_nop |
|
1 |
3 |
10 |
2 |
| Source file: ./sys/arch/sh/sh/sys_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sys_sysarch |
|
1 |
5 |
35 |
3 |
| Source file: ./sys/arch/sh/sh/mem.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mmopen |
|
7 |
17 |
72 |
4 |
| mmclose |
|
1 |
4 |
23 |
4 |
| mmrw |
|
18 |
64 |
379 |
3 |
| mmmmap |
|
4 |
9 |
70 |
3 |
| mmioctl |
|
1 |
4 |
26 |
5 |
| __mm_mem_addr |
|
9 |
16 |
95 |
1 |
| Source file: ./sys/arch/sh/sh/mmu_sh3.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sh3_mmu_start |
|
1 |
6 |
24 |
1 |
| sh3_tlb_invalidate_addr |
|
3 |
15 |
92 |
2 |
| sh3_tlb_invalidate_asid |
|
4 |
15 |
93 |
1 |
| sh3_tlb_invalidate_all |
|
3 |
13 |
84 |
1 |
| sh3_tlb_update |
|
4 |
12 |
92 |
3 |
| Source file: ./sys/arch/sh/sh/db_memrw.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| db_read_bytes |
|
8 |
14 |
133 |
3 |
| db_write_bytes |
|
8 |
14 |
135 |
3 |
| Source file: ./sys/arch/sh/sh/interrupt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| intc_init |
|
13 |
28 |
123 |
1 |
| intc_intr_establish |
|
3 |
18 |
136 |
6 |
| intc_intr_disestablish |
|
2 |
10 |
55 |
1 |
| intc_intr_disable |
|
10 |
22 |
79 |
1 |
| intc_intr_enable |
|
10 |
24 |
98 |
1 |
| intc_intr_priority |
|
50 |
104 |
406 |
2 |
| intc_alloc_ih |
|
3 |
12 |
69 |
1 |
| intc_free_ih |
|
1 |
5 |
28 |
1 |
| intc_unknown_intr |
|
3 |
9 |
56 |
1 |
| intpri_intr_priority |
|
15 |
43 |
164 |
2 |
| intpri_intr_enable |
|
16 |
38 |
146 |
1 |
| intpri_intr_disable |
|
16 |
38 |
146 |
1 |
| softintr_init |
|
2 |
13 |
78 |
1 |
| softintr_dispatch |
|
3 |
19 |
113 |
1 |
| setsoft |
|
1 |
4 |
11 |
1 |
| softintr_establish |
|
4 |
17 |
118 |
3 |
| intr_barrier |
|
1 |
3 |
8 |
1 |
| softintr_disestablish |
|
2 |
12 |
77 |
1 |
| softintr_schedule |
|
2 |
12 |
75 |
1 |
| tmu1_oneshot |
|
1 |
6 |
36 |
1 |
| tmu1_intr |
|
1 |
10 |
53 |
1 |
| Source file: ./sys/arch/sh/sh/process_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| process_frame |
|
1 |
4 |
18 |
1 |
| process_read_regs |
|
1 |
26 |
197 |
2 |
| process_read_fpregs |
|
6 |
12 |
75 |
2 |
| process_write_regs |
|
2 |
28 |
220 |
2 |
| process_write_fpregs |
|
6 |
12 |
75 |
2 |
| process_sstep |
|
2 |
8 |
38 |
2 |
| process_set_pc |
|
1 |
6 |
36 |
2 |
| Source file: ./sys/arch/sh/sh/mmu_sh4.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __sh4_itlb_invalidate_all |
|
1 |
7 |
55 |
1 |
| sh4_mmu_start |
|
1 |
9 |
44 |
1 |
| sh4_tlb_invalidate_addr |
|
1 |
14 |
65 |
2 |
| sh4_tlb_invalidate_asid |
|
3 |
15 |
80 |
1 |
| sh4_tlb_invalidate_all |
|
3 |
22 |
157 |
1 |
| sh4_tlb_update |
|
5 |
24 |
152 |
3 |
| Source file: ./sys/arch/sh/sh/cache_sh4.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sh4_cache_config |
|
22 |
81 |
374 |
1 |
| cache_sh4_op_line_32 |
|
1 |
6 |
36 |
4 |
| cache_sh4_op_8lines_32 |
|
1 |
13 |
92 |
4 |
| sh4_icache_sync_all |
|
2 |
12 |
49 |
1 |
| sh4_icache_sync_range |
|
2 |
14 |
78 |
2 |
| sh4_icache_sync_range_index |
|
3 |
16 |
96 |
2 |
| sh4_dcache_wbinv_all |
|
2 |
11 |
47 |
1 |
| sh4_dcache_wbinv_range |
|
2 |
9 |
51 |
2 |
| sh4_dcache_wbinv_range_index |
|
3 |
16 |
93 |
2 |
| sh4_dcache_inv_range |
|
2 |
9 |
51 |
2 |
| sh4_dcache_wb_range |
|
2 |
9 |
51 |
2 |
| cache_sh4_emode_op_line_32 |
|
1 |
10 |
66 |
5 |
| cache_sh4_emode_op_8lines_32 |
|
1 |
24 |
180 |
5 |
| sh4_emode_icache_sync_all |
|
2 |
13 |
51 |
1 |
| sh4_emode_icache_sync_range_index |
|
3 |
18 |
100 |
2 |
| sh4_emode_dcache_wbinv_all |
|
2 |
10 |
47 |
1 |
| sh4_emode_dcache_wbinv_range_index |
|
3 |
15 |
95 |
2 |
| Source file: ./sys/arch/sh/sh/vm_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cpu_fork |
|
18 |
50 |
443 |
6 |
| vmapbuf |
|
3 |
25 |
177 |
2 |
| vunmapbuf |
|
2 |
16 |
115 |
2 |
| Source file: ./sys/arch/sh/sh/mutex.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _mtx_init |
|
1 |
6 |
33 |
2 |
| __mtx_enter |
|
3 |
8 |
49 |
1 |
| __mtx_enter_try |
|
3 |
9 |
49 |
1 |
| __mtx_leave |
|
3 |
8 |
45 |
1 |
| Source file: ./sys/arch/sh/sh/db_interface.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| db_machine_init |
|
1 |
4 |
11 |
1 |
| kdb_printtrap |
|
3 |
11 |
66 |
2 |
| db_ktrap |
|
7 |
28 |
121 |
3 |
| db_enter |
|
1 |
4 |
17 |
1 |
| inst_call |
|
4 |
6 |
37 |
1 |
| inst_return |
|
2 |
5 |
21 |
1 |
| inst_trap_return |
|
2 |
5 |
21 |
1 |
| db_set_single_step |
|
1 |
9 |
64 |
1 |
| db_clear_single_step |
|
1 |
4 |
14 |
1 |
| db_tlbdump_cmd |
|
18 |
109 |
684 |
4 |
| __db_tlbdump_pfn |
|
1 |
5 |
32 |
1 |
| __db_procname_by_asid |
|
2 |
10 |
57 |
1 |
| __db_tlbdump_page_size_sh4 |
|
5 |
17 |
55 |
1 |
| db_cachedump_cmd |
|
7 |
8 |
43 |
4 |
| __db_cachedump_sh3 |
|
4 |
34 |
195 |
1 |
| __db_cachedump_sh4 |
|
6 |
38 |
265 |
1 |
| db_frame_cmd |
|
2 |
48 |
286 |
4 |
| __db_print_symbol |
|
4 |
9 |
56 |
1 |
| db_stackcheck_cmd |
|
3 |
34 |
228 |
4 |
| Source file: ./sys/arch/sh/sh/mmu.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sh_mmu_init |
|
4 |
17 |
59 |
1 |
| sh_mmu_information |
|
11 |
22 |
115 |
1 |
| sh_tlb_set_asid |
|
1 |
4 |
17 |
1 |
| Source file: ./sys/arch/sh/sh/cache.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sh_cache_init |
|
6 |
8 |
24 |
1 |
| sh_cache_information |
|
16 |
41 |
187 |
1 |
| __cache_flush |
|
2 |
10 |
52 |
1 |
| Source file: ./sys/arch/sh/sh/clock.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sh_clock_init |
|
6 |
48 |
337 |
2 |
| sh_clock_get_cpuclock |
|
1 |
4 |
13 |
1 |
| sh_clock_get_pclock |
|
1 |
4 |
13 |
1 |
| setstatclockrate |
|
1 |
3 |
7 |
1 |
| sh_timecounter_get |
|
1 |
4 |
20 |
1 |
| delay |
|
1 |
4 |
16 |
1 |
| cpu_initclocks |
|
6 |
33 |
274 |
1 |
| inittodr |
|
14 |
32 |
217 |
1 |
| resettodr |
|
3 |
14 |
92 |
1 |
| sh3_clock_intr |
|
3 |
11 |
50 |
1 |
| sh4_clock_intr |
|
3 |
11 |
50 |
1 |
| sh_rtc_init |
|
1 |
4 |
20 |
1 |
| sh_rtc_get |
|
6 |
29 |
212 |
3 |
| sh_rtc_set |
|
2 |
19 |
131 |
2 |
| Source file: ./sys/arch/sh/sh/db_trace.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| db_stack_trace_print |
|
13 |
56 |
358 |
5 |
| db_nextframe |
|
17 |
69 |
375 |
3 |
| Source file: ./sys/arch/sh/dev/shpcic.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| shpcic_lookup |
|
4 |
18 |
83 |
1 |
| shpcic_match |
|
8 |
22 |
116 |
3 |
| shpcic_attach |
|
15 |
85 |
621 |
3 |
| shpcic_bus_maxdevs |
|
1 |
4 |
16 |
2 |
| shpcic_make_tag |
|
4 |
9 |
69 |
4 |
| shpcic_decompose_tag |
|
4 |
9 |
77 |
5 |
| shpcic_conf_size |
|
1 |
4 |
14 |
2 |
| shpcic_conf_read |
|
1 |
11 |
57 |
3 |
| shpcic_conf_write |
|
1 |
9 |
54 |
4 |
| shpcic_iomem_map |
|
1 |
6 |
34 |
5 |
| shpcic_iomem_unmap |
|
1 |
3 |
14 |
3 |
| shpcic_iomem_subregion |
|
1 |
6 |
33 |
5 |
| shpcic_iomem_alloc |
|
1 |
7 |
47 |
9 |
| shpcic_iomem_free |
|
1 |
3 |
14 |
3 |
| shpcic_iomem_vaddr |
|
1 |
4 |
20 |
2 |
| __shpcic_io_read_1 |
|
1 |
5 |
37 |
2 |
| __shpcic_io_read_2 |
|
1 |
5 |
37 |
2 |
| __shpcic_io_read_4 |
|
1 |
5 |
37 |
2 |
| __shpcic_mem_read_1 |
|
1 |
5 |
37 |
2 |
| __shpcic_mem_read_2 |
|
1 |
5 |
37 |
2 |
| __shpcic_mem_read_4 |
|
1 |
5 |
37 |
2 |
| shpcic_io_read_1 |
|
1 |
6 |
29 |
3 |
| shpcic_io_read_2 |
|
1 |
6 |
29 |
3 |
| shpcic_io_read_4 |
|
1 |
6 |
29 |
3 |
| shpcic_mem_read_1 |
|
1 |
6 |
29 |
3 |
| shpcic_mem_read_2 |
|
1 |
6 |
29 |
3 |
| shpcic_mem_read_4 |
|
1 |
6 |
29 |
3 |
| shpcic_io_read_multi_1 |
|
2 |
7 |
39 |
5 |
| shpcic_io_read_multi_2 |
|
2 |
7 |
39 |
5 |
| shpcic_io_read_multi_4 |
|
2 |
7 |
39 |
5 |
| shpcic_mem_read_multi_1 |
|
2 |
7 |
39 |
5 |
| shpcic_mem_read_multi_2 |
|
2 |
7 |
39 |
5 |
| shpcic_mem_read_multi_4 |
|
2 |
7 |
39 |
5 |
| shpcic_io_read_raw_multi_2 |
|
2 |
9 |
51 |
5 |
| shpcic_io_read_raw_multi_4 |
|
2 |
9 |
51 |
5 |
| shpcic_mem_read_raw_multi_2 |
|
2 |
9 |
51 |
5 |
| shpcic_mem_read_raw_multi_4 |
|
2 |
9 |
51 |
5 |
| shpcic_io_read_region_1 |
|
2 |
8 |
43 |
5 |
| shpcic_io_read_region_2 |
|
2 |
8 |
43 |
5 |
| shpcic_io_read_region_4 |
|
2 |
8 |
43 |
5 |
| shpcic_mem_read_region_1 |
|
2 |
8 |
43 |
5 |
| shpcic_mem_read_region_2 |
|
2 |
8 |
43 |
5 |
| shpcic_mem_read_region_4 |
|
2 |
8 |
43 |
5 |
| shpcic_io_read_raw_region_2 |
|
2 |
10 |
55 |
5 |
| shpcic_io_read_raw_region_4 |
|
2 |
10 |
55 |
5 |
| shpcic_mem_read_raw_region_2 |
|
2 |
10 |
55 |
5 |
| shpcic_mem_read_raw_region_4 |
|
2 |
10 |
55 |
5 |
| __shpcic_io_write_1 |
|
1 |
6 |
41 |
3 |
| __shpcic_io_write_2 |
|
1 |
6 |
41 |
3 |
| __shpcic_io_write_4 |
|
1 |
6 |
41 |
3 |
| __shpcic_mem_write_1 |
|
1 |
6 |
41 |
3 |
| __shpcic_mem_write_2 |
|
1 |
6 |
41 |
3 |
| __shpcic_mem_write_4 |
|
1 |
6 |
41 |
3 |
| shpcic_io_write_1 |
|
1 |
5 |
26 |
4 |
| shpcic_io_write_2 |
|
1 |
5 |
26 |
4 |
| shpcic_io_write_4 |
|
1 |
5 |
26 |
4 |
| shpcic_mem_write_1 |
|
1 |
5 |
26 |
4 |
| shpcic_mem_write_2 |
|
1 |
5 |
26 |
4 |
| shpcic_mem_write_4 |
|
1 |
5 |
26 |
4 |
| shpcic_io_write_multi_1 |
|
2 |
7 |
40 |
5 |
| shpcic_io_write_multi_2 |
|
2 |
7 |
40 |
5 |
| shpcic_io_write_multi_4 |
|
2 |
7 |
40 |
5 |
| shpcic_mem_write_multi_1 |
|
2 |
7 |
40 |
5 |
| shpcic_mem_write_multi_2 |
|
2 |
7 |
40 |
5 |
| shpcic_mem_write_multi_4 |
|
2 |
7 |
40 |
5 |
| shpcic_io_write_raw_multi_2 |
|
2 |
9 |
52 |
5 |
| shpcic_io_write_raw_multi_4 |
|
2 |
9 |
52 |
5 |
| shpcic_mem_write_raw_multi_2 |
|
2 |
9 |
52 |
5 |
| shpcic_mem_write_raw_multi_4 |
|
2 |
9 |
52 |
5 |
| shpcic_io_write_region_1 |
|
2 |
8 |
44 |
5 |
| shpcic_io_write_region_2 |
|
2 |
8 |
44 |
5 |
| shpcic_io_write_region_4 |
|
2 |
8 |
44 |
5 |
| shpcic_mem_write_region_1 |
|
2 |
8 |
44 |
5 |
| shpcic_mem_write_region_2 |
|
2 |
8 |
44 |
5 |
| shpcic_mem_write_region_4 |
|
2 |
8 |
44 |
5 |
| shpcic_io_write_raw_region_2 |
|
2 |
10 |
56 |
5 |
| shpcic_io_write_raw_region_4 |
|
2 |
10 |
56 |
5 |
| shpcic_mem_write_raw_region_2 |
|
2 |
10 |
56 |
5 |
| shpcic_mem_write_raw_region_4 |
|
2 |
10 |
56 |
5 |
| shpcic_io_set_multi_1 |
|
2 |
7 |
36 |
5 |
| shpcic_io_set_multi_2 |
|
2 |
7 |
36 |
5 |
| shpcic_io_set_multi_4 |
|
2 |
7 |
36 |
5 |
| shpcic_mem_set_multi_1 |
|
2 |
7 |
36 |
5 |
| shpcic_mem_set_multi_2 |
|
2 |
7 |
36 |
5 |
| shpcic_mem_set_multi_4 |
|
2 |
7 |
36 |
5 |
| shpcic_io_set_region_1 |
|
2 |
8 |
40 |
5 |
| shpcic_io_set_region_2 |
|
2 |
8 |
40 |
5 |
| shpcic_io_set_region_4 |
|
2 |
8 |
40 |
5 |
| shpcic_mem_set_region_1 |
|
2 |
8 |
40 |
5 |
| shpcic_mem_set_region_2 |
|
2 |
8 |
40 |
5 |
| shpcic_mem_set_region_4 |
|
2 |
8 |
40 |
5 |
| shpcic_io_copy_1 |
|
4 |
24 |
137 |
6 |
| shpcic_io_copy_2 |
|
4 |
24 |
137 |
6 |
| shpcic_io_copy_4 |
|
4 |
24 |
137 |
6 |
| shpcic_mem_copy_1 |
|
4 |
24 |
137 |
6 |
| shpcic_mem_copy_2 |
|
4 |
24 |
137 |
6 |
| shpcic_mem_copy_4 |
|
4 |
24 |
137 |
6 |
| Source file: ./sys/arch/sh/sh/sh_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sh_cpu_init |
|
8 |
25 |
130 |
2 |
| sh_proc0_init |
|
2 |
20 |
188 |
1 |
| sh_startup |
|
9 |
31 |
185 |
1 |
| dumpconf |
|
8 |
24 |
169 |
1 |
| dumpsys |
|
18 |
79 |
404 |
1 |
| sendsig |
|
8 |
38 |
358 |
6 |
| sys_sigreturn |
|
7 |
29 |
255 |
3 |
| setregs |
|
3 |
35 |
256 |
4 |
| cpu_reset |
|
1 |
6 |
28 |
1 |
| Source file: ./sys/arch/sh/sh/trap.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| general_exception |
|
39 |
124 |
760 |
3 |
| tlb_exception |
|
27 |
117 |
677 |
3 |
| ast |
|
3 |
14 |
83 |
2 |
| cachectl |
|
7 |
15 |
89 |
2 |
| syscall |
|
23 |
98 |
564 |
2 |
| child_return |
|
1 |
8 |
43 |
1 |
| Source file: ./sys/arch/arm/cortex/cortex.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cortexmatch |
|
7 |
16 |
117 |
3 |
| cortexattach |
|
1 |
5 |
32 |
3 |
| cortexsearch |
|
2 |
13 |
99 |
3 |
| cortexprint |
|
2 |
7 |
42 |
2 |
| Source file: ./sys/arch/arm/cortex/smc.h |
| Source file: ./sys/arch/arm/cortex/arml2cc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| arml2cc_match |
|
2 |
6 |
39 |
3 |
| arml2cc_attach |
|
3 |
26 |
229 |
3 |
| arml2cc_enable |
|
1 |
10 |
56 |
1 |
| arml2cc_disable |
|
1 |
9 |
56 |
1 |
| arml2cc_cache_op |
|
2 |
6 |
49 |
3 |
| arml2cc_cache_way_op |
|
2 |
6 |
49 |
3 |
| arml2cc_cache_sync |
|
1 |
4 |
24 |
1 |
| arml2cc_sdcache_drain_writebuf |
|
3 |
7 |
32 |
1 |
| arml2cc_cache_range_op |
|
2 |
13 |
71 |
3 |
| arml2cc_sdcache_wbinv_all |
|
6 |
11 |
102 |
1 |
| arml2cc_sdcache_wbinv_range |
|
5 |
10 |
81 |
3 |
| arml2cc_sdcache_inv_range |
|
3 |
8 |
47 |
3 |
| arml2cc_sdcache_wb_range |
|
3 |
8 |
47 |
3 |
| Source file: ./sys/arch/arm/cortex/cortex.h |
| Source file: ./sys/arch/sh/sh/pmap.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pmap_bootstrap |
|
1 |
11 |
72 |
1 |
| pmap_steal_memory |
|
7 |
30 |
210 |
3 |
| pmap_growkernel |
|
7 |
31 |
182 |
1 |
| pmap_init |
|
1 |
8 |
60 |
1 |
| pmap_create |
|
2 |
13 |
86 |
1 |
| pmap_destroy |
|
8 |
25 |
165 |
1 |
| pmap_reference |
|
1 |
4 |
12 |
1 |
| pmap_activate |
|
3 |
9 |
65 |
1 |
| pmap_enter |
|
23 |
71 |
427 |
5 |
| __pmap_map_change |
|
8 |
25 |
173 |
5 |
| __pmap_pv_enter |
|
7 |
38 |
209 |
4 |
| pmap_remove |
|
7 |
20 |
147 |
3 |
| __pmap_pv_remove |
|
8 |
24 |
154 |
3 |
| pmap_kenter_pa |
|
4 |
17 |
114 |
3 |
| pmap_kremove |
|
6 |
18 |
121 |
2 |
| pmap_extract |
|
7 |
15 |
107 |
3 |
| pmap_protect |
|
24 |
65 |
421 |
4 |
| pmap_page_protect |
|
6 |
31 |
168 |
2 |
| pmap_unwire |
|
4 |
10 |
64 |
2 |
| pmap_proc_iflush |
|
2 |
5 |
27 |
3 |
| pmap_zero_page |
|
2 |
10 |
60 |
1 |
| pmap_copy_page |
|
2 |
14 |
88 |
2 |
| pmap_is_referenced |
|
2 |
4 |
26 |
1 |
| pmap_clear_reference |
|
5 |
26 |
158 |
1 |
| pmap_is_modified |
|
2 |
4 |
26 |
1 |
| pmap_clear_modify |
|
9 |
37 |
212 |
1 |
| pmap_prefer |
|
2 |
6 |
29 |
2 |
| pmap_prefer_align |
|
2 |
4 |
15 |
1 |
| pmap_prefer_offset |
|
2 |
4 |
18 |
1 |
| __pmap_pv_page_alloc |
|
2 |
9 |
65 |
3 |
| __pmap_pv_page_free |
|
2 |
7 |
43 |
2 |
| __pmap_pte_alloc |
|
3 |
13 |
102 |
2 |
| __pmap_pte_lookup |
|
3 |
10 |
63 |
2 |
| __pmap_kpte_lookup |
|
2 |
7 |
39 |
1 |
| __pmap_pte_load |
|
10 |
26 |
197 |
3 |
| __pmap_asid_alloc |
|
6 |
28 |
206 |
1 |
| __pmap_asid_free |
|
2 |
9 |
53 |
1 |
| pmap_map_direct |
|
1 |
4 |
16 |
1 |
| pmap_unmap_direct |
|
2 |
8 |
37 |
1 |
| Source file: ./sys/arch/arm/cortex/amptimer.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| amptimer_readcnt64 |
|
2 |
12 |
90 |
1 |
| amptimer_match |
|
2 |
6 |
37 |
3 |
| amptimer_attach |
|
5 |
32 |
285 |
3 |
| amptimer_get_timecount |
|
1 |
5 |
32 |
1 |
| amptimer_intr |
|
13 |
64 |
437 |
1 |
| amptimer_set_clockrate |
|
2 |
11 |
56 |
1 |
| amptimer_cpu_initclocks |
|
5 |
35 |
270 |
0 |
| amptimer_delay |
|
7 |
28 |
186 |
1 |
| amptimer_setstatclockrate |
|
2 |
14 |
90 |
1 |
| amptimer_startclock |
|
1 |
10 |
77 |
1 |
| Source file: ./sys/arch/arm/include/disklabel.h |
| Source file: ./sys/arch/arm/include/pmap.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| vtopte |
|
2 |
8 |
44 |
1 |
| L1_S_PROT |
|
5 |
11 |
61 |
2 |
| L2_L_PROT |
|
5 |
11 |
61 |
2 |
| L2_S_PROT |
|
5 |
11 |
61 |
2 |
| l2pte_is_writeable |
|
1 |
4 |
24 |
2 |
| Source file: ./sys/arch/arm/include/apmvar.h |
| Source file: ./sys/arch/arm/include/kcore.h |
| Source file: ./sys/arch/arm/include/profile.h |
| Source file: ./sys/arch/arm/include/fdt.h |
| Source file: ./sys/arch/arm/include/vmparam.h |
| Source file: ./sys/arch/arm/cortex/agtimer.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| agtimer_readcnt64 |
|
1 |
6 |
25 |
1 |
| agtimer_get_ctrl |
|
1 |
6 |
25 |
1 |
| agtimer_set_ctrl |
|
1 |
7 |
31 |
1 |
| agtimer_set_tval |
|
1 |
7 |
31 |
1 |
| agtimer_match |
|
1 |
5 |
39 |
3 |
| agtimer_attach |
|
2 |
17 |
130 |
3 |
| agtimer_get_timecount |
|
1 |
4 |
14 |
1 |
| agtimer_intr |
|
10 |
41 |
239 |
1 |
| agtimer_set_clockrate |
|
2 |
11 |
56 |
1 |
| agtimer_cpu_initclocks |
|
2 |
27 |
177 |
0 |
| agtimer_delay |
|
7 |
26 |
146 |
1 |
| agtimer_setstatclockrate |
|
2 |
14 |
90 |
1 |
| agtimer_startclock |
|
1 |
14 |
88 |
1 |
| agtimer_init |
|
3 |
11 |
68 |
1 |
| Source file: ./sys/arch/arm/include/lock.h |
| Source file: ./sys/arch/arm/cortex/ampintc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ampintc_match |
|
3 |
9 |
65 |
3 |
| ampintc_attach |
|
7 |
57 |
560 |
3 |
| ampintc_set_priority |
|
1 |
7 |
49 |
2 |
| ampintc_setipl |
|
1 |
11 |
66 |
1 |
| ampintc_intr_enable |
|
2 |
8 |
58 |
1 |
| ampintc_intr_disable |
|
1 |
6 |
38 |
1 |
| ampintc_calc_mask |
|
7 |
33 |
194 |
1 |
| ampintc_splx |
|
2 |
7 |
37 |
1 |
| ampintc_spllower |
|
1 |
7 |
33 |
1 |
| ampintc_splraise |
|
2 |
10 |
45 |
1 |
| ampintc_iack |
|
1 |
7 |
36 |
1 |
| ampintc_eoi |
|
1 |
5 |
29 |
1 |
| ampintc_route |
|
2 |
13 |
98 |
3 |
| ampintc_irq_handler |
|
9 |
37 |
200 |
1 |
| ampintc_intr_establish_ext |
|
1 |
5 |
44 |
5 |
| ampintc_intr_establish_fdt |
|
3 |
14 |
108 |
6 |
| ampintc_intr_establish |
|
5 |
25 |
179 |
5 |
| ampintc_intr_disestablish |
|
3 |
15 |
106 |
1 |
| ampintc_intr_string |
|
1 |
7 |
51 |
1 |
| Source file: ./sys/arch/arm/include/_float.h |
| Source file: ./sys/arch/arm/include/spinlock.h |
| Source file: ./sys/arch/arm/include/exec.h |
| Source file: ./sys/arch/arm/include/softintr.h |
| Source file: ./sys/arch/arm/include/stdarg.h |
| Source file: ./sys/arch/arm/include/tcb.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __arm_set_tcb |
|
1 |
4 |
20 |
1 |
| __arm_read_tcb |
|
1 |
6 |
24 |
1 |
| Source file: ./sys/arch/arm/include/armreg.h |
| Source file: ./sys/arch/arm/include/_types.h |
| Source file: ./sys/arch/arm/include/pte.h |
| Source file: ./sys/arch/arm/include/fenv.h |
| Source file: ./sys/arch/arm/include/ieeefp.h |
| Source file: ./sys/arch/arm/include/mutex.h |
| Source file: ./sys/arch/arm/include/ieee.h |
| Source file: ./sys/arch/arm/include/openpromio.h |
| Source file: ./sys/arch/arm/include/machdep.h |
| Source file: ./sys/arch/arm/include/sysreg.h |
| Source file: ./sys/arch/arm/include/cdefs.h |
| Source file: ./sys/arch/arm/include/cpuconf.h |
| Source file: ./sys/arch/arm/include/endian.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ___swap16md |
|
1 |
6 |
30 |
1 |
| ___swap32md |
|
1 |
6 |
30 |
1 |
| ___swap64md |
|
1 |
7 |
39 |
1 |
| Source file: ./sys/arch/arm/include/cpu.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| curcpu |
|
1 |
6 |
27 |
1 |
| Source file: ./sys/arch/arm/include/fp.h |
| Source file: ./sys/arch/arm/include/ptrace.h |
| Source file: ./sys/arch/arm/include/fiq.h |
| Source file: ./sys/arch/arm/include/limits.h |
| Source file: ./sys/arch/arm/include/conf.h |
| Source file: ./sys/arch/arm/include/frame.h |
| Source file: ./sys/arch/arm/include/atomic.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _atomic_cas_ptr |
|
1 |
20 |
72 |
3 |
| _atomic_swap_ptr |
|
1 |
15 |
58 |
2 |
| atomic_setbits_int |
|
1 |
14 |
53 |
2 |
| atomic_clearbits_int |
|
1 |
14 |
54 |
2 |
| Source file: ./sys/arch/arm/include/proc.h |
| Source file: ./sys/arch/arm/include/setjmp.h |
| Source file: ./sys/arch/arm/include/reloc.h |
| Source file: ./sys/arch/arm/include/pci_machdep.h |
| Source file: ./sys/arch/arm/include/pcb.h |
| Source file: ./sys/arch/arm/include/db_machdep.h |
| Source file: ./sys/arch/arm/include/cpufunc.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __set_cpsr_c |
|
1 |
12 |
47 |
2 |
| __get_cpsr |
|
1 |
6 |
22 |
0 |
| Source file: ./sys/arch/arm/include/signal.h |
| Source file: ./sys/arch/arm/include/asm.h |
| Source file: ./sys/arch/arm/include/reg.h |
| Source file: ./sys/arch/arm/include/swi.h |
| Source file: ./sys/arch/arm/include/param.h |
| Source file: ./sys/arch/sh/sh/db_disasm.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| db_disasm |
|
2 |
12 |
78 |
2 |
| disasm_branch |
|
6 |
30 |
192 |
4 |
| get_ascii |
|
5 |
7 |
63 |
2 |
| get_opcode |
|
2 |
10 |
91 |
3 |
| f_02 |
|
10 |
38 |
203 |
4 |
| f_03 |
|
6 |
26 |
133 |
4 |
| f_04 |
|
5 |
21 |
132 |
4 |
| f_08 |
|
10 |
37 |
177 |
4 |
| f_09 |
|
6 |
21 |
110 |
4 |
| f_0a |
|
8 |
32 |
165 |
4 |
| f_0b |
|
5 |
19 |
100 |
4 |
| f_0c |
|
5 |
21 |
132 |
4 |
| f_10 |
|
1 |
9 |
73 |
4 |
| f_20 |
|
4 |
18 |
114 |
4 |
| f_24 |
|
5 |
21 |
132 |
4 |
| f_28 |
|
5 |
21 |
132 |
4 |
| f_2c |
|
5 |
21 |
132 |
4 |
| f_30 |
|
4 |
18 |
114 |
4 |
| f_34 |
|
5 |
21 |
132 |
4 |
| f_38 |
|
4 |
18 |
114 |
4 |
| f_3c |
|
5 |
21 |
132 |
4 |
| f_40 |
|
4 |
17 |
98 |
4 |
| f_41 |
|
4 |
17 |
98 |
4 |
| f_42 |
|
8 |
32 |
165 |
4 |
| f_43 |
|
10 |
38 |
203 |
4 |
| f_44 |
|
3 |
14 |
82 |
4 |
| f_45 |
|
4 |
17 |
98 |
4 |
| f_46 |
|
8 |
32 |
165 |
4 |
| f_47 |
|
10 |
38 |
203 |
4 |
| f_48 |
|
4 |
17 |
98 |
4 |
| f_49 |
|
4 |
17 |
98 |
4 |
| f_4a |
|
8 |
32 |
165 |
4 |
| f_4b |
|
4 |
17 |
98 |
4 |
| f_4c |
|
1 |
7 |
57 |
4 |
| f_4d |
|
1 |
7 |
57 |
4 |
| f_4e |
|
10 |
38 |
203 |
4 |
| f_4f |
|
1 |
7 |
57 |
4 |
| f_50 |
|
1 |
9 |
73 |
4 |
| f_60 |
|
5 |
21 |
132 |
4 |
| f_64 |
|
5 |
21 |
132 |
4 |
| f_68 |
|
5 |
21 |
132 |
4 |
| f_6c |
|
5 |
21 |
132 |
4 |
| f_70 |
|
1 |
7 |
62 |
4 |
| f_80 |
|
14 |
68 |
372 |
4 |
| f_90 |
|
1 |
8 |
58 |
4 |
| f_a0 |
|
2 |
9 |
57 |
4 |
| f_b0 |
|
2 |
9 |
57 |
4 |
| f_c0 |
|
21 |
78 |
380 |
4 |
| f_d0 |
|
1 |
8 |
58 |
4 |
| f_e0 |
|
1 |
7 |
62 |
4 |
| f_f0 |
|
5 |
21 |
132 |
4 |
| f_f4 |
|
5 |
21 |
132 |
4 |
| f_f8 |
|
5 |
21 |
132 |
4 |
| f_fc |
|
1 |
7 |
57 |
4 |
| f_fd |
|
13 |
46 |
229 |
4 |
| f_fe |
|
1 |
7 |
57 |
4 |
| Source file: ./sys/arch/arm/include/sysarch.h |
| Source file: ./sys/arch/arm/include/trap.h |
| Source file: ./sys/arch/arm/armv7/armv7reg.h |
| Source file: ./sys/arch/arm/include/undefined.h |
| Source file: ./sys/arch/arm/armv7/armv7var.h |
| Source file: ./sys/arch/arm/simplebus/simplebusvar.h |
| Source file: ./sys/arch/arm/armv7/armv7_mutex.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _mtx_init |
|
1 |
6 |
30 |
2 |
| __mtx_enter |
|
3 |
8 |
46 |
1 |
| __mtx_enter_try |
|
4 |
12 |
62 |
1 |
| __mtx_leave |
|
3 |
8 |
42 |
1 |
| Source file: ./sys/arch/arm/armv7/armv7_a4x_space.c |
| Source file: ./sys/arch/arm/mainbus/mainbus.h |
| Source file: ./sys/arch/arm/armv7/armv7_space.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| armv7_bs_map |
|
4 |
19 |
142 |
5 |
| armv7_bs_unmap |
|
1 |
9 |
66 |
3 |
| armv7_bs_subregion |
|
1 |
6 |
33 |
5 |
| armv7_bs_barrier |
|
1 |
5 |
24 |
5 |
| armv7_bs_vaddr |
|
1 |
4 |
20 |
2 |
| armv7_bs_alloc |
|
1 |
6 |
39 |
9 |
| armv7_bs_free |
|
1 |
4 |
19 |
3 |
| Source file: ./sys/arch/arm/arm/fiq.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fiq_installhandler |
|
3 |
7 |
46 |
2 |
| fiq_claim |
|
6 |
25 |
146 |
1 |
| fiq_release |
|
6 |
23 |
149 |
1 |
| Source file: ./sys/arch/arm/include/bus.h |
| Source file: ./sys/arch/arm/arm/syscall.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| swi_handler |
|
11 |
63 |
380 |
1 |
| child_return |
|
1 |
9 |
47 |
1 |
| Source file: ./sys/arch/arm/arm/cpu.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cpu_match |
|
3 |
9 |
65 |
3 |
| cpu_attach |
|
2 |
16 |
88 |
3 |
| identify_arm_cpu |
|
17 |
76 |
401 |
2 |
| cpu_alloc_idle_pcb |
|
2 |
20 |
141 |
1 |
| intr_barrier |
|
1 |
4 |
13 |
1 |
| Source file: ./sys/arch/arm/simplebus/simplebus.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| simplebus_match |
|
3 |
9 |
64 |
3 |
| simplebus_attach |
|
6 |
36 |
339 |
3 |
| simplebus_submatch |
|
2 |
8 |
69 |
3 |
| simplebus_attach_node |
|
14 |
55 |
523 |
2 |
| simplebus_bs_map |
|
10 |
36 |
324 |
5 |
| Source file: ./sys/arch/arm/arm/cpufunc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| log2 |
|
2 |
7 |
28 |
1 |
| arm_get_cachetype_cp15v7 |
|
10 |
66 |
416 |
1 |
| armv7_idcache_wbinv_all |
|
1 |
7 |
27 |
0 |
| armv7_dcache_wbinv_all |
|
4 |
27 |
133 |
0 |
| set_cpufuncs |
|
5 |
29 |
132 |
0 |
| armv7_setup |
|
10 |
46 |
171 |
0 |
| Source file: ./sys/arch/arm/arm/stubs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dumpconf |
|
8 |
22 |
175 |
1 |
| dumpsys |
|
19 |
94 |
547 |
0 |
| Source file: ./sys/arch/arm/arm/disksubr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| readdisklabel |
|
8 |
26 |
157 |
4 |
| writedisklabel |
|
4 |
30 |
213 |
3 |
| Source file: ./sys/arch/arm/arm/undefined.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| install_coproc_handler |
|
2 |
10 |
68 |
2 |
| install_coproc_handler_static |
|
1 |
4 |
25 |
2 |
| remove_coproc_handler |
|
1 |
6 |
31 |
1 |
| gdb_trapper |
|
5 |
14 |
85 |
4 |
| undefined_init |
|
2 |
8 |
44 |
0 |
| undefinedinstruction |
|
17 |
64 |
404 |
1 |
| Source file: ./sys/arch/arm/mainbus/mainbus.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mainbus_match |
|
1 |
4 |
22 |
3 |
| mainbus_attach |
|
7 |
36 |
330 |
3 |
| mainbus_attach_node |
|
11 |
51 |
481 |
3 |
| mainbus_match_status |
|
4 |
13 |
114 |
3 |
| mainbus_attach_cpus |
|
3 |
16 |
124 |
2 |
| mainbus_match_primary |
|
3 |
10 |
88 |
3 |
| mainbus_match_secondary |
|
3 |
10 |
88 |
3 |
| mainbus_attach_framebuffer |
|
3 |
8 |
54 |
1 |
| mainbus_legacy_found |
|
1 |
7 |
46 |
2 |
| Source file: ./sys/arch/arm/arm/arm_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| setregs |
|
1 |
14 |
100 |
4 |
| Source file: ./sys/arch/arm/arm/mem.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mmopen |
|
13 |
24 |
114 |
4 |
| mmclose |
|
3 |
6 |
36 |
4 |
| mmrw |
|
18 |
69 |
440 |
3 |
| mmmmap |
|
4 |
10 |
66 |
3 |
| mmioctl |
|
1 |
4 |
26 |
5 |
| Source file: ./sys/arch/arm/arm/fault.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| data_abort_handler |
|
31 |
120 |
778 |
1 |
| dab_fatal |
|
5 |
35 |
248 |
5 |
| dab_align |
|
2 |
13 |
97 |
5 |
| dab_buserr |
|
8 |
27 |
194 |
5 |
| prefetch_abort_handler |
|
12 |
47 |
344 |
1 |
| badaddr_read |
|
10 |
33 |
212 |
3 |
| Source file: ./sys/arch/arm/arm/process_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| process_frame |
|
1 |
4 |
18 |
1 |
| process_read_regs |
|
4 |
14 |
116 |
2 |
| process_read_fpregs |
|
1 |
5 |
32 |
2 |
| process_write_regs |
|
4 |
15 |
124 |
2 |
| process_write_fpregs |
|
1 |
4 |
19 |
2 |
| process_sstep |
|
2 |
6 |
24 |
2 |
| process_set_pc |
|
1 |
7 |
43 |
2 |
| Source file: ./sys/arch/arm/arm/sys_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| arm32_sync_icache |
|
10 |
40 |
251 |
3 |
| arm32_drain_writebuf |
|
1 |
9 |
37 |
3 |
| sys_sysarch |
|
3 |
21 |
101 |
3 |
| Source file: ./sys/arch/arm/arm/vm_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cpu_fork |
|
4 |
26 |
242 |
6 |
| cpu_exit |
|
1 |
5 |
19 |
1 |
| vmapbuf |
|
3 |
23 |
168 |
2 |
| vunmapbuf |
|
2 |
14 |
109 |
2 |
| Source file: ./sys/arch/arm/arm/arm32_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| arm32_vector_init |
|
4 |
19 |
138 |
2 |
| halt |
|
2 |
5 |
14 |
0 |
| bootsync |
|
4 |
17 |
68 |
1 |
| cpu_startup |
|
2 |
33 |
265 |
0 |
| cpu_sysctl |
|
7 |
27 |
159 |
7 |
| Source file: ./sys/arch/arm/arm/db_interface.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| db_access_und_sp |
|
2 |
6 |
35 |
3 |
| db_access_abt_sp |
|
2 |
6 |
35 |
3 |
| db_access_irq_sp |
|
2 |
6 |
35 |
3 |
| db_ktrap |
|
4 |
23 |
93 |
2 |
| db_validate_address |
|
5 |
13 |
76 |
1 |
| db_read_bytes |
|
10 |
26 |
183 |
3 |
| db_write_text |
|
11 |
61 |
342 |
3 |
| db_write_bytes |
|
5 |
23 |
127 |
3 |
| db_enter |
|
1 |
4 |
11 |
1 |
| db_trapper |
|
3 |
12 |
74 |
4 |
| db_machine_init |
|
1 |
6 |
25 |
1 |
| db_fetch_reg |
|
17 |
39 |
184 |
2 |
| db_branch_taken |
|
12 |
45 |
330 |
3 |
| Source file: ./sys/arch/arm/arm/sig_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| process_frame |
|
1 |
4 |
18 |
1 |
| sendsig |
|
6 |
55 |
512 |
6 |
| sys_sigreturn |
|
6 |
44 |
360 |
3 |
| Source file: ./sys/arch/arm/arm/db_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| db_show_frame_cmd |
|
2 |
20 |
157 |
4 |
| Source file: ./sys/arch/arm/arm/db_trace.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| db_stack_trace_print |
|
19 |
79 |
521 |
5 |
| Source file: ./sys/arch/arm/arm/ast.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ast |
|
4 |
12 |
65 |
1 |
| Source file: ./sys/arch/arm/arm/disassem.h |
| Source file: ./sys/arch/arm/arm/softintr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| softintr_init |
|
2 |
11 |
61 |
1 |
| softintr_dispatch |
|
3 |
18 |
109 |
1 |
| softintr_establish |
|
7 |
30 |
142 |
3 |
| softintr_disestablish |
|
2 |
12 |
75 |
1 |
| Source file: ./sys/arch/arm/arm/conf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| iskmemdev |
|
2 |
4 |
24 |
1 |
| iszerodev |
|
2 |
4 |
24 |
1 |
| getnulldev |
|
1 |
4 |
14 |
1 |
| Source file: ./sys/arch/arm/arm/db_disasm.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| db_disasm_read_word |
|
1 |
4 |
17 |
1 |
| db_disasm_printaddr |
|
1 |
4 |
19 |
1 |
| db_disasm |
|
1 |
4 |
21 |
2 |
| Source file: ./sys/arch/arm/arm/openprom.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| openpromattach |
|
1 |
3 |
7 |
1 |
| openpromopen |
|
1 |
4 |
23 |
4 |
| openpromclose |
|
1 |
4 |
23 |
4 |
| openpromcheckid |
|
4 |
7 |
50 |
2 |
| openpromgetstr |
|
2 |
11 |
81 |
3 |
| openpromioctl |
|
34 |
136 |
841 |
5 |
| Source file: ./sys/arch/macppc/dev/i2sreg.h |
| Source file: ./sys/arch/arm/arm/disassem.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| disasm |
|
59 |
188 |
1198 |
3 |
| disasm_register_shift |
|
4 |
16 |
106 |
2 |
| disasm_print_reglist |
|
9 |
30 |
176 |
2 |
| disasm_insn_ldrstr |
|
8 |
25 |
175 |
3 |
| disasm_insn_ldrhstrh |
|
8 |
25 |
194 |
3 |
| disasm_insn_ldcstc |
|
6 |
16 |
174 |
3 |
| disassemble_readword |
|
1 |
4 |
19 |
1 |
| disassemble_printaddr |
|
1 |
4 |
14 |
1 |
| disassemble |
|
1 |
4 |
20 |
1 |
| Source file: ./sys/arch/macppc/dev/daca.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| daca_match |
|
5 |
16 |
125 |
3 |
| daca_attach |
|
1 |
7 |
52 |
3 |
| daca_defer |
|
4 |
15 |
116 |
1 |
| daca_init |
|
1 |
5 |
31 |
1 |
| daca_set_volume |
|
1 |
10 |
65 |
3 |
| Source file: ./sys/arch/macppc/dev/dbdma.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dbdma_st32 |
|
1 |
8 |
41 |
2 |
| dbdma_st16 |
|
1 |
8 |
41 |
2 |
| dbdma_ld32 |
|
1 |
9 |
39 |
1 |
| dbdma_ld16 |
|
1 |
9 |
39 |
1 |
| Source file: ./sys/arch/macppc/dev/dfs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dfs_match |
|
4 |
11 |
74 |
3 |
| dfs_attach |
|
5 |
26 |
188 |
3 |
| dfs_setperf |
|
7 |
29 |
148 |
1 |
| dfs_scale_frequency |
|
4 |
25 |
100 |
1 |
| Source file: ./sys/arch/macppc/dev/if_wi_obio.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wi_obio_match |
|
4 |
10 |
64 |
3 |
| wi_obio_attach |
|
2 |
22 |
195 |
3 |
| wi_obio_detach |
|
1 |
12 |
70 |
2 |
| wi_obio_activate |
|
3 |
20 |
104 |
2 |
| wi_obio_enable |
|
1 |
31 |
206 |
1 |
| wi_obio_disable |
|
1 |
11 |
60 |
1 |
| Source file: ./sys/arch/macppc/dev/maci2cvar.h |
| Source file: ./sys/arch/macppc/dev/xlights.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| xlights_match |
|
9 |
24 |
184 |
3 |
| xlights_attach |
|
13 |
85 |
697 |
3 |
| xlights_deferred |
|
1 |
5 |
35 |
1 |
| xlights_theosDOT |
|
8 |
40 |
243 |
1 |
| xlights_startdma |
|
1 |
14 |
103 |
1 |
| xlights_timeout |
|
1 |
8 |
48 |
1 |
| xlights_intr |
|
2 |
15 |
82 |
1 |
| Source file: ./sys/arch/macppc/dev/uni_n.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| memcmatch |
|
2 |
7 |
47 |
3 |
| memcattach |
|
5 |
22 |
207 |
3 |
| memc_attach_children |
|
6 |
34 |
258 |
2 |
| memc_print |
|
3 |
9 |
58 |
2 |
| memc_sleep |
|
1 |
8 |
46 |
1 |
| memc_resume |
|
1 |
8 |
46 |
1 |
| memc_read |
|
1 |
4 |
22 |
2 |
| memc_write |
|
1 |
4 |
26 |
3 |
| memc_enable |
|
1 |
5 |
33 |
3 |
| memc_disable |
|
1 |
5 |
35 |
3 |
| Source file: ./sys/arch/arm/arm/bus_dma.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _bus_dma_busaddr_to_paddr |
|
5 |
13 |
96 |
2 |
| _bus_dma_inrange |
|
4 |
12 |
78 |
3 |
| _bus_dmamap_create |
|
5 |
28 |
206 |
7 |
| _bus_dmamap_destroy |
|
2 |
5 |
28 |
2 |
| _bus_dmamap_load |
|
5 |
25 |
162 |
6 |
| _bus_dmamap_load_mbuf |
|
11 |
36 |
236 |
4 |
| _bus_dmamap_load_uio |
|
9 |
39 |
256 |
4 |
| _bus_dmamap_load_raw |
|
18 |
73 |
514 |
6 |
| _bus_dmamap_unload |
|
2 |
9 |
49 |
2 |
| _bus_dmamap_sync_segment |
|
11 |
52 |
268 |
4 |
| _bus_dmamap_sync_linear |
|
3 |
18 |
119 |
5 |
| _bus_dmamap_sync_mbuf |
|
4 |
25 |
167 |
5 |
| _bus_dmamap_sync_uio |
|
4 |
26 |
173 |
5 |
| _bus_dmamap_sync_raw |
|
3 |
17 |
110 |
5 |
| _bus_dmamap_sync |
|
15 |
43 |
260 |
5 |
| _bus_dmamem_alloc |
|
7 |
28 |
200 |
8 |
| _bus_dmamem_free |
|
4 |
18 |
119 |
3 |
| _bus_dmamem_map |
|
11 |
40 |
288 |
6 |
| _bus_dmamem_unmap |
|
4 |
8 |
58 |
3 |
| _bus_dmamem_mmap |
|
7 |
20 |
127 |
6 |
| _bus_dmamap_load_buffer |
|
22 |
99 |
614 |
9 |
| _bus_dmamem_alloc_range |
|
12 |
45 |
313 |
10 |
| arm32_dma_range_intersect |
|
7 |
24 |
188 |
6 |
| Source file: ./sys/arch/macppc/dev/akbd_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| akbd_is_console |
|
1 |
4 |
10 |
0 |
| akbd_cnattach |
|
1 |
6 |
23 |
0 |
| akbd_cngetc |
|
3 |
20 |
109 |
3 |
| akbd_cnpollc |
|
1 |
3 |
11 |
2 |
| Source file: ./sys/arch/macppc/dev/kiic.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| kiic_match |
|
3 |
8 |
53 |
3 |
| kiic_attach |
|
7 |
50 |
410 |
3 |
| kiic_readreg |
|
1 |
5 |
32 |
2 |
| kiic_writereg |
|
1 |
7 |
45 |
3 |
| kiic_setmode |
|
2 |
13 |
70 |
3 |
| kiic_setspeed |
|
1 |
9 |
52 |
2 |
| kiic_intr |
|
14 |
52 |
307 |
1 |
| kiic_poll |
|
4 |
14 |
69 |
2 |
| kiic_start |
|
5 |
24 |
178 |
5 |
| kiic_read |
|
1 |
5 |
42 |
5 |
| kiic_write |
|
1 |
5 |
47 |
5 |
| kiic_i2c_acquire_bus |
|
1 |
5 |
31 |
2 |
| kiic_i2c_release_bus |
|
1 |
5 |
29 |
2 |
| kiic_i2c_exec |
|
10 |
25 |
193 |
8 |
| Source file: ./sys/arch/macppc/dev/wdc_obio.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wdc_obio_probe |
|
7 |
17 |
133 |
3 |
| wdc_obio_attach |
|
13 |
87 |
655 |
3 |
| wdc_obio_detach |
|
3 |
17 |
134 |
2 |
| wdc_obio_adjust_timing |
|
17 |
55 |
383 |
1 |
| wdc_obio_ata4_adjust_timing |
|
21 |
67 |
478 |
1 |
| wdc_obio_ata6_adjust_timing |
|
20 |
56 |
389 |
1 |
| wdc_obio_dma_init |
|
6 |
24 |
198 |
6 |
| wdc_obio_dma_start |
|
1 |
5 |
32 |
3 |
| wdc_obio_dma_finish |
|
1 |
7 |
45 |
4 |
| wdc_obio_read_reg |
|
4 |
12 |
81 |
2 |
| wdc_obio_write_reg |
|
4 |
12 |
82 |
3 |
| Source file: ./sys/arch/macppc/dev/mediabay.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mediabay_match |
|
4 |
11 |
61 |
3 |
| mediabay_attach |
|
4 |
26 |
205 |
3 |
| mediabay_attach_content |
|
5 |
46 |
324 |
1 |
| mediabay_print |
|
3 |
9 |
51 |
2 |
| mediabay_intr |
|
1 |
7 |
28 |
1 |
| mediabay_create_kthread |
|
1 |
7 |
35 |
1 |
| mediabay_kthread |
|
6 |
38 |
201 |
1 |
| Source file: ./sys/arch/macppc/dev/snapper.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| snapper_match |
|
6 |
19 |
150 |
3 |
| snapper_attach |
|
1 |
10 |
70 |
3 |
| snapper_defer |
|
4 |
15 |
116 |
1 |
| snapper_set_volume |
|
3 |
24 |
200 |
3 |
| snapper_set_treble |
|
5 |
10 |
75 |
2 |
| snapper_set_bass |
|
5 |
10 |
75 |
2 |
| snapper_set_input |
|
3 |
13 |
61 |
2 |
| tas3004_write |
|
2 |
10 |
70 |
3 |
| tas3004_init |
|
1 |
36 |
346 |
1 |
| snapper_init |
|
3 |
12 |
81 |
1 |
| Source file: ./sys/arch/macppc/dev/dbdma.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dbdma_start |
|
2 |
20 |
121 |
2 |
| dbdma_stop |
|
2 |
7 |
43 |
1 |
| dbdma_flush |
|
2 |
5 |
36 |
1 |
| dbdma_reset |
|
2 |
11 |
46 |
1 |
| dbdma_continue |
|
1 |
6 |
30 |
1 |
| dbdma_pause |
|
2 |
5 |
34 |
1 |
| dbdma_alloc |
|
6 |
26 |
240 |
2 |
| dbdma_free |
|
4 |
10 |
80 |
1 |
| Source file: ./sys/arch/macppc/dev/thermal.h |
| Source file: ./sys/arch/macppc/dev/zs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| zs_match |
|
4 |
12 |
72 |
3 |
| zs_attach |
|
17 |
116 |
975 |
3 |
| zs_print |
|
3 |
9 |
54 |
2 |
| zsmdioctl |
|
1 |
8 |
34 |
3 |
| zsmd_setclock |
|
4 |
7 |
45 |
1 |
| zshard |
|
5 |
20 |
100 |
1 |
| zssoft |
|
4 |
15 |
72 |
1 |
| zs_txdma_int |
|
4 |
21 |
103 |
1 |
| zs_dma_setup |
|
1 |
18 |
122 |
3 |
| zs_get_speed |
|
1 |
8 |
45 |
1 |
| zs_set_speed |
|
25 |
100 |
732 |
2 |
| zs_set_modes |
|
11 |
38 |
232 |
2 |
| zs_read_reg |
|
1 |
11 |
48 |
2 |
| zs_write_reg |
|
1 |
9 |
46 |
3 |
| zs_read_csr |
|
1 |
9 |
34 |
1 |
| zs_write_csr |
|
1 |
7 |
29 |
2 |
| zs_read_data |
|
1 |
8 |
30 |
1 |
| zs_write_data |
|
1 |
7 |
29 |
2 |
| zs_enable |
|
1 |
7 |
27 |
1 |
| zs_disable |
|
1 |
6 |
22 |
1 |
| zs_getc |
|
2 |
14 |
79 |
1 |
| zs_putc |
|
4 |
17 |
104 |
2 |
| zscngetc |
|
2 |
14 |
60 |
1 |
| zscnputc |
|
2 |
12 |
54 |
2 |
| zscnprobe |
|
11 |
31 |
239 |
1 |
| zscninit |
|
6 |
26 |
195 |
1 |
| zs_abort |
|
4 |
14 |
55 |
1 |
| zscnpollc |
|
3 |
9 |
25 |
2 |
| Source file: ./sys/arch/macppc/dev/thermal.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| thermal_thread_init |
|
2 |
7 |
24 |
1 |
| thermal_thread_create |
|
2 |
8 |
33 |
1 |
| thermal_thread_loop |
|
2 |
8 |
35 |
1 |
| thermal_manage_fans |
|
11 |
79 |
465 |
1 |
| thermal_fan_register |
|
1 |
9 |
51 |
1 |
| thermal_sensor_register |
|
1 |
11 |
63 |
1 |
| Source file: ./sys/arch/macppc/dev/i2s.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| i2s_attach |
|
5 |
45 |
471 |
3 |
| i2s_intr |
|
6 |
27 |
157 |
1 |
| i2s_iintr |
|
6 |
27 |
157 |
1 |
| i2s_open |
|
1 |
6 |
18 |
2 |
| i2s_close |
|
1 |
9 |
39 |
1 |
| i2s_set_params |
|
14 |
42 |
265 |
5 |
| i2s_round_blocksize |
|
2 |
8 |
30 |
2 |
| i2s_halt_output |
|
1 |
8 |
34 |
1 |
| i2s_halt_input |
|
1 |
8 |
34 |
1 |
| i2s_set_port |
|
26 |
72 |
499 |
2 |
| i2s_get_port |
|
10 |
37 |
240 |
2 |
| i2s_query_devinfo |
|
14 |
107 |
1025 |
2 |
| i2s_round_buffersize |
|
2 |
9 |
33 |
3 |
| i2s_get_props |
|
1 |
5 |
13 |
1 |
| for |
|
2 |
7 |
59 |
2 |
| for |
|
2 |
7 |
59 |
0 |
| i2s_set_rate |
|
12 |
78 |
376 |
0 |
| i2s_mute |
|
3 |
9 |
71 |
0 |
| i2s_cint |
|
9 |
41 |
272 |
0 |
| i2s_gpio_offset |
|
6 |
18 |
168 |
0 |
| i2s_gpio_init |
|
14 |
62 |
575 |
0 |
| i2s_allocm |
|
8 |
51 |
445 |
0 |
| deq_reset |
|
2 |
12 |
78 |
0 |
| Source file: ./sys/arch/macppc/dev/viareg.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| via_reg_and |
|
1 |
5 |
35 |
3 |
| via_reg_or |
|
1 |
5 |
35 |
3 |
| via_reg_xor |
|
1 |
5 |
35 |
3 |
| read_via_reg |
|
1 |
5 |
26 |
2 |
| write_via_reg |
|
1 |
5 |
30 |
3 |
| Source file: ./sys/arch/macppc/dev/aoa.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| aoa_match |
|
7 |
20 |
157 |
3 |
| aoa_attach |
|
1 |
7 |
52 |
3 |
| aoa_defer |
|
1 |
6 |
39 |
1 |
| aoa_set_volume |
|
1 |
3 |
15 |
3 |
| Source file: ./sys/arch/macppc/dev/kiicvar.h |
| Source file: ./sys/arch/macppc/dev/abtn.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| abtn_match |
|
4 |
10 |
62 |
3 |
| abtn_attach |
|
1 |
13 |
97 |
3 |
| abtn_adbcomplete |
|
17 |
41 |
164 |
3 |
| Source file: ./sys/arch/macppc/dev/onyx.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| onyx_match |
|
8 |
18 |
143 |
3 |
| onyx_attach |
|
1 |
7 |
52 |
3 |
| onyx_defer |
|
4 |
16 |
125 |
1 |
| onyx_set_volume |
|
1 |
13 |
95 |
3 |
| Source file: ./sys/arch/macppc/dev/mesh.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mesh_match |
|
3 |
12 |
89 |
3 |
| mesh_attach |
|
7 |
68 |
566 |
3 |
| mesh_activate |
|
2 |
16 |
81 |
2 |
| mesh_read_reg |
|
1 |
4 |
22 |
2 |
| mesh_set_reg |
|
1 |
4 |
26 |
3 |
| mesh_intr |
|
22 |
105 |
575 |
1 |
| mesh_error |
|
7 |
23 |
143 |
4 |
| mesh_select |
|
2 |
18 |
151 |
2 |
| mesh_identify |
|
2 |
15 |
102 |
2 |
| mesh_command |
|
5 |
19 |
149 |
2 |
| mesh_dma_setup |
|
6 |
22 |
189 |
2 |
| mesh_dataio |
|
4 |
18 |
119 |
2 |
| mesh_status |
|
3 |
18 |
130 |
2 |
| mesh_msgin |
|
18 |
93 |
586 |
2 |
| mesh_msgout |
|
7 |
40 |
306 |
2 |
| mesh_bus_reset |
|
1 |
9 |
51 |
1 |
| mesh_reset |
|
4 |
24 |
190 |
1 |
| mesh_stp |
|
2 |
7 |
43 |
2 |
| mesh_setsync |
|
6 |
20 |
130 |
2 |
| mesh_scb_alloc |
|
2 |
11 |
65 |
1 |
| mesh_scb_free |
|
1 |
8 |
54 |
2 |
| mesh_scsi_cmd |
|
6 |
36 |
229 |
1 |
| mesh_sched |
|
2 |
12 |
64 |
1 |
| mesh_poll |
|
4 |
15 |
76 |
1 |
| mesh_done |
|
4 |
20 |
130 |
2 |
| mesh_timeout |
|
2 |
23 |
161 |
1 |
| mesh_minphys |
|
2 |
6 |
37 |
2 |
| Source file: ./sys/arch/macppc/dev/openpic.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| openpic_read |
|
2 |
9 |
42 |
1 |
| openpic_write |
|
2 |
9 |
47 |
2 |
| openpic_read_irq |
|
1 |
4 |
18 |
1 |
| openpic_eoi |
|
1 |
4 |
17 |
1 |
| openpic_match |
|
6 |
19 |
141 |
3 |
| openpic_attach |
|
15 |
77 |
540 |
3 |
| openpic_setipl |
|
1 |
6 |
31 |
1 |
| openpic_splraise |
|
2 |
13 |
62 |
1 |
| openpic_spllower |
|
1 |
7 |
31 |
1 |
| openpic_splx |
|
3 |
13 |
72 |
1 |
| openpic_collect_preconf_intr |
|
2 |
14 |
105 |
0 |
| openpic_intr_establish |
|
13 |
45 |
288 |
7 |
| openpic_intr_disestablish |
|
3 |
19 |
123 |
2 |
| openpic_calc_mask |
|
7 |
33 |
207 |
0 |
| openpic_gen_acknowledge_irq |
|
1 |
4 |
15 |
2 |
| openpic_gen_enable_irq |
|
2 |
12 |
56 |
3 |
| openpic_gen_disable_irq |
|
1 |
7 |
37 |
2 |
| openpic_set_priority |
|
1 |
4 |
20 |
2 |
| openpic_ext_intr |
|
16 |
63 |
388 |
1 |
| openpic_ext_intr_handler |
|
7 |
19 |
94 |
3 |
| openpic_acknowledge_irq |
|
1 |
4 |
21 |
2 |
| openpic_enable_irq |
|
1 |
4 |
26 |
3 |
| openpic_disable_irq |
|
1 |
4 |
21 |
2 |
| openpic_send_ipi |
|
3 |
14 |
70 |
2 |
| openpic_ipi_ddb |
|
2 |
4 |
10 |
1 |
| openpic_cpc945_acknowledge_irq |
|
1 |
5 |
22 |
2 |
| openpic_cpc945_enable_irq |
|
2 |
12 |
69 |
3 |
| openpic_cpc945_disable_irq |
|
1 |
5 |
24 |
2 |
| Source file: ./sys/arch/macppc/dev/macgpio.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| macgpio_match |
|
3 |
9 |
54 |
3 |
| macgpio_attach |
|
5 |
32 |
262 |
3 |
| macgpio_print |
|
3 |
9 |
58 |
2 |
| macgpio_gpio_match |
|
3 |
9 |
54 |
3 |
| macgpio_gpio_attach |
|
1 |
9 |
90 |
3 |
| gpio_intr |
|
3 |
7 |
39 |
1 |
| Source file: ./sys/arch/macppc/dev/adbvar.h |
| Source file: ./sys/arch/macppc/dev/pgs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pgs_match |
|
3 |
11 |
79 |
3 |
| pgs_attach |
|
1 |
12 |
108 |
3 |
| pgs_intr |
|
3 |
7 |
24 |
1 |
| Source file: ./sys/arch/macppc/dev/i2svar.h |
| Source file: ./sys/arch/macppc/dev/if_bmreg.h |
| Source file: ./sys/arch/macppc/dev/piic.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| piic_match |
|
2 |
7 |
47 |
3 |
| piic_attach |
|
1 |
18 |
144 |
3 |
| piic_i2c_acquire_bus |
|
1 |
5 |
31 |
2 |
| piic_i2c_release_bus |
|
1 |
5 |
26 |
2 |
| piic_i2c_exec |
|
11 |
40 |
324 |
8 |
| Source file: ./sys/arch/macppc/dev/maci2c.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| maciic_scan |
|
13 |
32 |
254 |
3 |
| Source file: ./sys/arch/macppc/dev/asms.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| asms_match |
|
2 |
7 |
47 |
3 |
| asms_attach |
|
21 |
155 |
1243 |
3 |
| asms_refresh |
|
4 |
20 |
177 |
1 |
| Source file: ./sys/arch/macppc/dev/smu.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| smu_match |
|
2 |
7 |
47 |
3 |
| smu_attach |
|
44 |
228 |
2098 |
3 |
| smu_intr |
|
1 |
5 |
16 |
1 |
| smu_do_cmd |
|
4 |
20 |
180 |
2 |
| smu_time_read |
|
2 |
26 |
211 |
1 |
| smu_time_write |
|
1 |
22 |
199 |
1 |
| smu_get_datablock |
|
3 |
31 |
252 |
4 |
| smu_firmware_probe |
|
2 |
12 |
82 |
2 |
| smu_fan_set_rpm |
|
2 |
20 |
199 |
3 |
| smu_fan_set_pwm |
|
2 |
20 |
199 |
3 |
| smu_fan_read_rpm |
|
4 |
25 |
196 |
3 |
| smu_fan_read_pwm |
|
5 |
35 |
281 |
4 |
| smu_fan_refresh |
|
4 |
23 |
141 |
2 |
| smu_sensor_refresh |
|
7 |
55 |
287 |
3 |
| smu_refresh_sensors |
|
3 |
11 |
92 |
1 |
| smu_fan_set_rpm_thermal |
|
1 |
8 |
57 |
2 |
| smu_fan_set_pwm_thermal |
|
1 |
8 |
57 |
2 |
| smu_sensor_refresh_thermal |
|
1 |
9 |
56 |
1 |
| smu_i2c_acquire_bus |
|
2 |
7 |
42 |
2 |
| smu_i2c_release_bus |
|
2 |
7 |
34 |
2 |
| smu_i2c_exec |
|
13 |
46 |
372 |
8 |
| smu_slew_voltage |
|
1 |
14 |
106 |
1 |
| Source file: ./sys/arch/arm/arm/pmap7.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pmap_is_current |
|
4 |
7 |
39 |
1 |
| pmap_tlb_flushID_SE |
|
2 |
5 |
22 |
2 |
| pmap_tlb_flushID |
|
2 |
5 |
18 |
1 |
| pmap_get_l2_bucket |
|
3 |
11 |
77 |
2 |
| pmap_enter_pv |
|
2 |
14 |
104 |
5 |
| pmap_find_pv |
|
4 |
9 |
61 |
3 |
| pmap_remove_pv |
|
5 |
21 |
135 |
3 |
| pmap_modify_pv |
|
5 |
21 |
157 |
5 |
| pmap_alloc_l1 |
|
7 |
34 |
214 |
1 |
| pmap_free_l1 |
|
2 |
25 |
179 |
1 |
| pmap_free_l2_ptp |
|
1 |
4 |
20 |
1 |
| pmap_alloc_l2_bucket |
|
6 |
30 |
209 |
2 |
| pmap_free_l2_bucket |
|
4 |
24 |
157 |
3 |
| pmap_clearbit |
|
7 |
44 |
269 |
2 |
| pmap_clean_page |
|
7 |
17 |
104 |
1 |
| pmap_page_remove |
|
11 |
45 |
273 |
1 |
| pmap_create |
|
1 |
9 |
45 |
1 |
| pmap_enter |
|
31 |
107 |
678 |
5 |
| pmap_remove |
|
11 |
53 |
274 |
3 |
| pmap_kenter_pa |
|
6 |
29 |
190 |
3 |
| pmap_kenter_cache |
|
2 |
6 |
35 |
4 |
| pmap_kremove |
|
6 |
33 |
181 |
2 |
| pmap_extract |
|
7 |
36 |
227 |
3 |
| pmap_protect |
|
17 |
57 |
343 |
4 |
| pmap_page_protect |
|
5 |
18 |
76 |
2 |
| pmap_clear_modify |
|
2 |
10 |
45 |
1 |
| pmap_clear_reference |
|
2 |
10 |
45 |
1 |
| dab_access |
|
3 |
34 |
244 |
4 |
| pmap_collect |
|
1 |
3 |
7 |
1 |
| pmap_proc_iflush |
|
2 |
5 |
30 |
3 |
| pmap_unwire |
|
2 |
16 |
115 |
2 |
| pmap_activate |
|
3 |
19 |
107 |
1 |
| pmap_update |
|
1 |
3 |
7 |
1 |
| pmap_destroy |
|
2 |
9 |
38 |
1 |
| pmap_reference |
|
2 |
6 |
20 |
1 |
| pmap_zero_page_generic |
|
3 |
11 |
65 |
1 |
| pmap_copy_page_generic |
|
3 |
16 |
108 |
2 |
| pmap_virtual_space |
|
1 |
5 |
22 |
2 |
| pmap_grow_map |
|
5 |
27 |
178 |
3 |
| pmap_grow_l2_bucket |
|
9 |
42 |
266 |
2 |
| pmap_growkernel |
|
3 |
30 |
158 |
1 |
| vector_page_setprot |
|
1 |
11 |
74 |
1 |
| pmap_set_pcb_pagedir |
|
1 |
5 |
29 |
2 |
| pmap_get_pde_pte |
|
5 |
23 |
155 |
4 |
| pmap_init_l1 |
|
3 |
10 |
76 |
2 |
| pmap_bootstrap |
|
8 |
74 |
575 |
3 |
| pmap_alloc_specials |
|
4 |
14 |
94 |
4 |
| pmap_init |
|
1 |
5 |
28 |
1 |
| pmap_bootstrap_pv_page_alloc |
|
4 |
18 |
119 |
3 |
| pmap_bootstrap_pv_page_free |
|
3 |
13 |
68 |
2 |
| pmap_postinit |
|
1 |
7 |
38 |
1 |
| kernel_pt_lookup |
|
3 |
11 |
67 |
1 |
| pmap_map_section |
|
4 |
20 |
102 |
5 |
| pmap_map_entry |
|
6 |
31 |
223 |
5 |
| pmap_link_l2pt |
|
2 |
12 |
132 |
3 |
| pmap_map_chunk |
|
16 |
82 |
550 |
6 |
| pmap_pte_init_armv7 |
|
3 |
43 |
205 |
1 |
| pmap_prefer |
|
2 |
10 |
47 |
2 |
| Source file: ./sys/arch/macppc/dev/esp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| espmatch |
|
4 |
11 |
65 |
3 |
| espattach |
|
3 |
40 |
340 |
3 |
| esp_activate |
|
2 |
15 |
69 |
2 |
| esp_read_reg |
|
1 |
5 |
38 |
2 |
| esp_write_reg |
|
1 |
6 |
47 |
3 |
| esp_dma_isintr |
|
1 |
4 |
19 |
1 |
| esp_dma_reset |
|
1 |
6 |
34 |
1 |
| esp_dma_intr |
|
1 |
5 |
29 |
1 |
| esp_dma_setup |
|
7 |
27 |
226 |
5 |
| esp_dma_go |
|
1 |
6 |
38 |
1 |
| esp_dma_stop |
|
1 |
7 |
45 |
1 |
| esp_dma_isactive |
|
1 |
5 |
28 |
1 |
| espdmaintr |
|
11 |
44 |
332 |
1 |
| Source file: ./sys/arch/macppc/dev/macintr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| macintr_match |
|
4 |
13 |
94 |
3 |
| macintr_splraise |
|
2 |
13 |
62 |
1 |
| macintr_spllower |
|
1 |
7 |
31 |
1 |
| macintr_splx |
|
3 |
13 |
72 |
1 |
| macintr_attach |
|
2 |
27 |
174 |
3 |
| macintr_collect_preconf_intr |
|
3 |
20 |
105 |
0 |
| macintr_prog_button |
|
3 |
7 |
24 |
1 |
| macintr_setipl |
|
2 |
9 |
52 |
1 |
| macintr_establish |
|
13 |
47 |
302 |
7 |
| macintr_disestablish |
|
3 |
22 |
141 |
2 |
| macintr_calc_mask |
|
14 |
42 |
302 |
0 |
| mac_ext_intr |
|
5 |
29 |
161 |
0 |
| macintr_eoi |
|
3 |
13 |
61 |
1 |
| macintr_read_irq |
|
5 |
24 |
123 |
0 |
| Source file: ./sys/arch/macppc/dev/openpicreg.h |
| Source file: ./sys/arch/macppc/dev/sysbutton.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sysbutton_match |
|
2 |
7 |
43 |
3 |
| sysbutton_attach |
|
1 |
12 |
108 |
3 |
| sysbutton_intr |
|
3 |
6 |
19 |
1 |
| Source file: ./sys/arch/macppc/dev/tumbler.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tumbler_match |
|
5 |
16 |
125 |
3 |
| tumbler_attach |
|
1 |
9 |
64 |
3 |
| tumbler_defer |
|
4 |
15 |
116 |
1 |
| tumbler_set_volume |
|
1 |
15 |
106 |
3 |
| tumbler_set_treble |
|
5 |
10 |
75 |
2 |
| tumbler_set_bass |
|
5 |
10 |
75 |
2 |
| tas3001_write |
|
2 |
10 |
70 |
3 |
| tas3001_init |
|
1 |
27 |
247 |
1 |
| tumbler_init |
|
3 |
8 |
49 |
1 |
| Source file: ./sys/arch/macppc/dev/apm.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| apmmatch |
|
2 |
7 |
47 |
3 |
| apmattach |
|
1 |
7 |
58 |
3 |
| apmopen |
|
10 |
34 |
180 |
4 |
| apmclose |
|
6 |
18 |
106 |
4 |
| apmioctl |
|
26 |
87 |
486 |
5 |
| filt_apmrdetach |
|
1 |
5 |
37 |
1 |
| filt_apmread |
|
3 |
6 |
35 |
2 |
| apmkqfilter |
|
5 |
17 |
102 |
2 |
| Source file: ./sys/arch/macppc/dev/pm_direct.h |
| Source file: ./sys/arch/macppc/dev/adb.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| print_single |
|
5 |
21 |
100 |
1 |
| adb_cuda_tickle |
|
4 |
22 |
91 |
1 |
| adb_intr_cuda |
|
35 |
142 |
684 |
1 |
| send_adb_cuda |
|
21 |
59 |
330 |
5 |
| adb_intr |
|
3 |
12 |
35 |
1 |
| adb_pass_up |
|
21 |
66 |
418 |
1 |
| adb_soft_intr |
|
9 |
35 |
209 |
1 |
| adb_op |
|
5 |
24 |
127 |
4 |
| adb_hw_setup |
|
4 |
35 |
175 |
1 |
| adb_reinit |
|
49 |
144 |
932 |
1 |
| adb_cmd_result |
|
7 |
15 |
81 |
1 |
| adb_op_sync |
|
7 |
17 |
101 |
2 |
| adb_op_comprout |
|
1 |
4 |
22 |
3 |
| count_adbs |
|
3 |
10 |
51 |
1 |
| get_ind_adb_info |
|
6 |
15 |
147 |
3 |
| get_adb_info |
|
6 |
18 |
150 |
2 |
| set_adb_info |
|
6 |
17 |
127 |
2 |
| adb_read_date_time |
|
7 |
41 |
200 |
1 |
| adb_set_date_time |
|
5 |
31 |
188 |
1 |
| adb_poweroff |
|
6 |
25 |
117 |
1 |
| setsoftadb |
|
2 |
6 |
36 |
0 |
| adb_cuda_autopoll |
|
3 |
15 |
83 |
0 |
| adb_cuda_fileserver_mode |
|
3 |
15 |
83 |
0 |
| adb_restart |
|
6 |
20 |
95 |
0 |
| adbmatch |
|
5 |
13 |
81 |
3 |
| adbattach |
|
18 |
72 |
507 |
3 |
| Source file: ./sys/arch/macppc/include/pmap.h |
| Source file: ./sys/arch/macppc/include/disklabel.h |
| Source file: ./sys/arch/macppc/include/apmvar.h |
| Source file: ./sys/arch/macppc/include/kcore.h |
| Source file: ./sys/arch/macppc/include/profile.h |
| Source file: ./sys/arch/macppc/include/vmparam.h |
| Source file: ./sys/arch/macppc/include/lock.h |
| Source file: ./sys/arch/macppc/include/ipkdb.h |
| Source file: ./sys/arch/macppc/include/exec.h |
| Source file: ./sys/arch/macppc/include/spinlock.h |
| Source file: ./sys/arch/macppc/include/stdarg.h |
| Source file: ./sys/arch/macppc/include/_types.h |
| Source file: ./sys/arch/macppc/include/pte.h |
| Source file: ./sys/arch/macppc/include/ieee.h |
| Source file: ./sys/arch/macppc/include/ieeefp.h |
| Source file: ./sys/arch/macppc/include/mutex.h |
| Source file: ./sys/arch/macppc/dev/if_bm.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bmac_read_reg |
|
1 |
4 |
22 |
2 |
| bmac_write_reg |
|
1 |
4 |
26 |
3 |
| bmac_set_bits |
|
1 |
5 |
33 |
3 |
| bmac_reset_bits |
|
1 |
4 |
31 |
3 |
| bmac_match |
|
5 |
11 |
84 |
3 |
| bmac_attach |
|
9 |
93 |
835 |
3 |
| bmac_reset_chip |
|
1 |
21 |
111 |
1 |
| bmac_init |
|
6 |
71 |
601 |
1 |
| bmac_init_dma |
|
2 |
20 |
159 |
1 |
| bmac_intr |
|
5 |
17 |
94 |
1 |
| bmac_rint |
|
12 |
52 |
343 |
1 |
| bmac_reset |
|
1 |
7 |
28 |
1 |
| bmac_stop |
|
1 |
16 |
104 |
1 |
| bmac_start |
|
8 |
21 |
138 |
1 |
| bmac_transmit_packet |
|
1 |
10 |
75 |
3 |
| bmac_put |
|
4 |
19 |
114 |
3 |
| bmac_get |
|
7 |
39 |
217 |
3 |
| bmac_watchdog |
|
1 |
9 |
55 |
1 |
| bmac_ioctl |
|
13 |
44 |
256 |
3 |
| bmac_mediachange |
|
1 |
5 |
27 |
1 |
| bmac_mediastatus |
|
1 |
7 |
51 |
2 |
| bmac_setladrf |
|
5 |
38 |
283 |
1 |
| bmac_mii_readreg |
|
1 |
4 |
28 |
3 |
| bmac_mii_writereg |
|
1 |
4 |
32 |
4 |
| bmac_mbo_read |
|
1 |
5 |
28 |
1 |
| bmac_mbo_write |
|
1 |
5 |
32 |
2 |
| bmac_mii_statchg |
|
3 |
13 |
81 |
1 |
| bmac_mii_tick |
|
1 |
9 |
47 |
1 |
| Source file: ./sys/arch/macppc/include/cpu.h |
| Source file: ./sys/arch/macppc/include/cdefs.h |
| Source file: ./sys/arch/macppc/include/openpromio.h |
| Source file: ./sys/arch/macppc/include/endian.h |
| Source file: ./sys/arch/macppc/include/frame.h |
| Source file: ./sys/arch/macppc/include/rbus_machdep.h |
| Source file: ./sys/arch/macppc/include/varargs.h |
| Source file: ./sys/arch/macppc/include/kbio.h |
| Source file: ./sys/arch/macppc/dev/pm_direct.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pm_printerr |
|
2 |
12 |
68 |
4 |
| pm_wait_busy |
|
4 |
9 |
36 |
1 |
| pm_wait_free |
|
4 |
9 |
36 |
1 |
| pm_receive |
|
3 |
25 |
123 |
1 |
| pm_send |
|
3 |
21 |
112 |
1 |
| pmgrop |
|
16 |
70 |
410 |
1 |
| pm_intr |
|
15 |
44 |
196 |
0 |
| pm_adb_op |
|
22 |
100 |
636 |
4 |
| pm_adb_get_TALK_result |
|
2 |
21 |
149 |
1 |
| pm_adb_get_ADB_data |
|
2 |
12 |
98 |
1 |
| pm_adb_restart |
|
1 |
9 |
42 |
0 |
| pm_adb_poweroff |
|
1 |
11 |
65 |
0 |
| pm_read_date_time |
|
1 |
12 |
71 |
1 |
| pm_set_date_time |
|
1 |
10 |
63 |
1 |
| pm_eject_pcmcia |
|
3 |
11 |
63 |
1 |
| pm_battery_info |
|
4 |
32 |
276 |
2 |
| pmu_fileserver_mode |
|
2 |
21 |
138 |
1 |
| Source file: ./sys/arch/macppc/include/pio.h |
| Source file: ./sys/arch/macppc/include/limits.h |
| Source file: ./sys/arch/macppc/include/ptrace.h |
| Source file: ./sys/arch/macppc/include/intr.h |
| Source file: ./sys/arch/macppc/include/atomic.h |
| Source file: ./sys/arch/macppc/include/conf.h |
| Source file: ./sys/arch/macppc/include/z8530var.h |
| Source file: ./sys/arch/macppc/include/pci_machdep.h |
| Source file: ./sys/arch/macppc/include/psl.h |
| Source file: ./sys/arch/macppc/include/mplock.h |
| Source file: ./sys/arch/macppc/include/proc.h |
| Source file: ./sys/arch/macppc/include/setjmp.h |
| Source file: ./sys/arch/macppc/include/reloc.h |
| Source file: ./sys/arch/macppc/include/pcb.h |
| Source file: ./sys/arch/macppc/include/db_machdep.h |
| Source file: ./sys/arch/macppc/include/signal.h |
| Source file: ./sys/arch/macppc/include/asm.h |
| Source file: ./sys/arch/macppc/include/param.h |
| Source file: ./sys/arch/macppc/include/reg.h |
| Source file: ./sys/arch/macppc/include/trap.h |
| Source file: ./sys/arch/macppc/include/fpu.h |
| Source file: ./sys/arch/macppc/include/autoconf.h |
| Source file: ./sys/arch/macppc/stand/alloc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| alloc |
|
11 |
44 |
272 |
1 |
| free |
|
5 |
13 |
99 |
2 |
| freeall |
|
4 |
12 |
74 |
0 |
| Source file: ./sys/arch/macppc/stand/hfs.h |
| Source file: ./sys/arch/macppc/stand/boot.mac/fixcoff.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usage |
|
1 |
4 |
17 |
1 |
| help |
|
1 |
8 |
34 |
1 |
| main |
|
18 |
52 |
534 |
2 |
| Source file: ./sys/arch/macppc/dev/if_mc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mc_match |
|
4 |
11 |
75 |
3 |
| mc_attach |
|
11 |
108 |
887 |
3 |
| mc_ioctl |
|
10 |
34 |
200 |
3 |
| mc_start |
|
8 |
18 |
112 |
1 |
| mc_reset |
|
1 |
5 |
19 |
1 |
| mc_init |
|
6 |
39 |
307 |
1 |
| mc_stop |
|
1 |
13 |
74 |
1 |
| mc_watchdog |
|
1 |
6 |
28 |
1 |
| mc_intr |
|
9 |
25 |
151 |
1 |
| mc_tint |
|
8 |
36 |
215 |
1 |
| mc_rint |
|
10 |
28 |
190 |
1 |
| maceput |
|
5 |
26 |
184 |
2 |
| mace_read |
|
5 |
20 |
124 |
3 |
| mace_get |
|
7 |
39 |
217 |
3 |
| mc_putpacket |
|
1 |
10 |
74 |
2 |
| mc_dmaintr |
|
5 |
43 |
311 |
1 |
| mc_reset_rxdma |
|
2 |
23 |
169 |
1 |
| mc_reset_txdma |
|
1 |
18 |
145 |
1 |
| mace_calcladrf |
|
3 |
23 |
180 |
2 |
| Source file: ./sys/arch/macppc/stand/hfs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| hfs_open |
|
4 |
17 |
120 |
2 |
| hfs_close |
|
1 |
5 |
17 |
1 |
| hfs_read |
|
3 |
11 |
60 |
4 |
| hfs_write |
|
1 |
5 |
28 |
4 |
| hfs_seek |
|
4 |
11 |
44 |
3 |
| hfs_stat |
|
1 |
4 |
17 |
2 |
| hfs_readdir |
|
1 |
4 |
16 |
2 |
| Source file: ./sys/arch/macppc/stand/conf.c |
| Source file: ./sys/arch/macppc/stand/libsa.h |
| Source file: ./sys/arch/macppc/stand/netif_of.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| socktodesc |
|
2 |
6 |
19 |
1 |
| netif_open |
|
6 |
21 |
125 |
1 |
| netif_close |
|
6 |
19 |
87 |
1 |
| netif_put |
|
6 |
28 |
163 |
3 |
| netif_get |
|
8 |
25 |
169 |
4 |
| getsecs |
|
1 |
4 |
12 |
0 |
| Source file: ./sys/arch/macppc/stand/net.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| net_open |
|
6 |
19 |
89 |
1 |
| net_close |
|
3 |
8 |
34 |
1 |
| net_mountroot |
|
7 |
18 |
114 |
0 |
| Source file: ./sys/arch/macppc/stand/ofdev.h |
| Source file: ./sys/arch/macppc/stand/openfirm.h |
| Source file: ./sys/arch/macppc/stand/cache.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| syncicache |
|
3 |
15 |
102 |
2 |
| Source file: ./sys/arch/macppc/include/bus.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bus_space_read_region_1 |
|
2 |
8 |
52 |
5 |
| bus_space_read_region_2 |
|
2 |
9 |
64 |
5 |
| bus_space_read_region_4 |
|
2 |
9 |
64 |
5 |
| bus_space_write_region_1 |
|
2 |
8 |
54 |
5 |
| bus_space_write_region_2 |
|
2 |
9 |
65 |
5 |
| bus_space_write_region_4 |
|
2 |
9 |
65 |
5 |
| bus_space_read_raw_region_2 |
|
2 |
10 |
70 |
5 |
| bus_space_read_raw_region_4 |
|
2 |
10 |
70 |
5 |
| bus_space_write_raw_region_2 |
|
2 |
10 |
72 |
5 |
| bus_space_write_raw_region_4 |
|
2 |
10 |
72 |
5 |
| bus_space_set_multi_1 |
|
2 |
8 |
49 |
5 |
| bus_space_set_multi_2 |
|
2 |
9 |
60 |
5 |
| bus_space_set_multi_4 |
|
2 |
9 |
60 |
5 |
| Source file: ./sys/arch/macppc/stand/main.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| prom2boot |
|
4 |
10 |
54 |
1 |
| chain |
|
3 |
17 |
147 |
4 |
| main |
|
5 |
17 |
117 |
0 |
| get_alt_bootdev |
|
3 |
11 |
76 |
4 |
| devboot |
|
1 |
4 |
20 |
2 |
| run_loadfile |
|
6 |
34 |
210 |
2 |
| cnspeed |
|
1 |
4 |
13 |
2 |
| ttyname |
|
1 |
5 |
20 |
1 |
| ttydev |
|
1 |
4 |
16 |
1 |
| Source file: ./sys/arch/macppc/pci/agp_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| agp_flush_cache |
|
1 |
4 |
16 |
1 |
| Source file: ./sys/arch/macppc/pci/pciide_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pciide_machdep_compat_intr_establish |
|
1 |
10 |
71 |
5 |
| pciide_machdep_compat_intr_disestablish |
|
1 |
4 |
18 |
2 |
| Source file: ./sys/arch/macppc/stand/ofdev.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| parsename |
|
6 |
20 |
143 |
2 |
| strategy |
|
7 |
24 |
140 |
6 |
| devclose |
|
3 |
11 |
72 |
1 |
| get_long |
|
1 |
6 |
55 |
1 |
| read_mac_label |
|
14 |
35 |
254 |
3 |
| search_label |
|
17 |
52 |
315 |
5 |
| devopen |
|
19 |
77 |
533 |
3 |
| Source file: ./sys/arch/macppc/pci/hpb.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| hpb_match |
|
4 |
12 |
89 |
3 |
| hpb_attach |
|
7 |
48 |
428 |
3 |
| hpb_print |
|
2 |
8 |
49 |
2 |
| hpb_eoi |
|
5 |
18 |
150 |
1 |
| hpb_enable_irq |
|
4 |
20 |
178 |
2 |
| hpb_disable_irq |
|
3 |
15 |
130 |
2 |
| Source file: ./sys/arch/macppc/pci/macobio.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| macobio_match |
|
11 |
18 |
79 |
3 |
| macobio_attach |
|
20 |
85 |
562 |
3 |
| macobio_print |
|
3 |
9 |
58 |
2 |
| mac_intr_establish |
|
1 |
6 |
57 |
7 |
| mac_intr_disestablish |
|
1 |
4 |
22 |
2 |
| macobio_enable |
|
2 |
8 |
54 |
2 |
| macobio_disable |
|
2 |
8 |
56 |
2 |
| macobio_read |
|
2 |
7 |
41 |
1 |
| macobio_write |
|
2 |
7 |
43 |
2 |
| macobio_modem_power |
|
6 |
22 |
160 |
1 |
| Source file: ./sys/arch/macppc/pci/ht.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ht_match |
|
2 |
7 |
47 |
3 |
| ht_attach |
|
9 |
63 |
480 |
3 |
| ht_conf_read |
|
7 |
25 |
178 |
3 |
| ht_conf_write |
|
6 |
26 |
208 |
4 |
| ht_print |
|
2 |
8 |
49 |
2 |
| Source file: ./sys/arch/macppc/pci/kauaiata.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| kauaiatamatch |
|
7 |
17 |
74 |
3 |
| kauaiataattach |
|
9 |
63 |
442 |
3 |
| kauaiata_print |
|
1 |
4 |
16 |
2 |
| Source file: ./sys/arch/macppc/pci/pchb.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pchbmatch |
|
25 |
39 |
148 |
3 |
| pchbattach |
|
4 |
12 |
79 |
3 |
| Source file: ./sys/arch/macppc/pci/macobio.h |
| Source file: ./sys/arch/macppc/stand/Locore.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _start |
|
3 |
17 |
87 |
5 |
| patch_dec_intr |
|
1 |
10 |
58 |
0 |
| _rtt |
|
2 |
14 |
40 |
0 |
| OF_finddevice |
|
2 |
18 |
66 |
1 |
| OF_instance_to_package |
|
2 |
18 |
64 |
1 |
| OF_getprop |
|
2 |
24 |
104 |
4 |
| OF_open |
|
2 |
18 |
66 |
1 |
| OF_close |
|
1 |
15 |
47 |
1 |
| OF_write |
|
2 |
22 |
90 |
3 |
| OF_read |
|
2 |
22 |
90 |
3 |
| OF_seek |
|
2 |
22 |
96 |
2 |
| OF_claim |
|
3 |
24 |
104 |
3 |
| OF_release |
|
1 |
17 |
61 |
2 |
| OF_milliseconds |
|
1 |
15 |
44 |
0 |
| OF_chain |
|
1 |
23 |
109 |
5 |
| OF_chain |
|
1 |
4 |
39 |
5 |
| OF_call_method |
|
6 |
38 |
233 |
5 |
| setup |
|
5 |
13 |
87 |
0 |
| putchar |
|
3 |
14 |
73 |
1 |
| ofc_probe |
|
1 |
5 |
26 |
1 |
| ofc_init |
|
1 |
3 |
9 |
1 |
| ofc_getc |
|
8 |
24 |
114 |
1 |
| ofc_putc |
|
3 |
11 |
57 |
2 |
| machdep |
|
1 |
4 |
9 |
0 |
| Source file: ./sys/arch/macppc/pci/vgafb.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| vgafb_match |
|
5 |
14 |
92 |
3 |
| vgafb_attach |
|
6 |
28 |
200 |
3 |
| vgafb_console_init |
|
1 |
20 |
184 |
1 |
| vgafb_restore_default_colors |
|
1 |
5 |
36 |
1 |
| vgafb_ioctl |
|
29 |
97 |
481 |
5 |
| vgafb_mmap |
|
13 |
25 |
154 |
3 |
| vgafb_is_console |
|
1 |
5 |
18 |
1 |
| vgafb_getcmap |
|
9 |
31 |
237 |
2 |
| vgafb_putcmap |
|
9 |
31 |
237 |
2 |
| vgafb_burn |
|
2 |
8 |
44 |
3 |
| vgafb_alloc_screen |
|
1 |
7 |
61 |
6 |
| vgafb_free_screen |
|
1 |
6 |
37 |
2 |
| vgafb_show_screen |
|
2 |
9 |
77 |
5 |
| vgafb_load_font |
|
1 |
6 |
44 |
3 |
| vgafb_list_font |
|
1 |
6 |
38 |
2 |
| vgafb_mapregs |
|
9 |
42 |
240 |
2 |
| Source file: ./sys/arch/macppc/pci/pci_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pci_attach_hook |
|
1 |
4 |
19 |
3 |
| pci_bus_maxdevs |
|
1 |
4 |
15 |
2 |
| pci_make_tag |
|
11 |
29 |
245 |
4 |
| pci_decompose_tag |
|
4 |
9 |
64 |
5 |
| pci_conf_size |
|
1 |
4 |
15 |
2 |
| pci_conf_read |
|
2 |
6 |
50 |
3 |
| pci_conf_write |
|
2 |
5 |
46 |
4 |
| pci_intr_map |
|
5 |
20 |
172 |
2 |
| pci_intr_map_msi |
|
1 |
4 |
19 |
2 |
| pci_intr_line |
|
1 |
4 |
15 |
2 |
| pci_intr_string |
|
1 |
6 |
36 |
2 |
| pci_intr_establish |
|
1 |
5 |
53 |
6 |
| pci_intr_disestablish |
|
1 |
4 |
21 |
2 |
| pci_ether_hw_addr |
|
2 |
14 |
112 |
2 |
| ofw_enumerate_pcibus |
|
22 |
63 |
526 |
3 |
| ofw_intr_map |
|
12 |
37 |
346 |
3 |
| Source file: ./sys/arch/macppc/dev/awacs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| awacs_match |
|
6 |
12 |
88 |
3 |
| awacs_attach |
|
6 |
73 |
644 |
3 |
| awacs_read_reg |
|
1 |
5 |
28 |
2 |
| awacs_write_reg |
|
1 |
5 |
32 |
3 |
| awacs_write_codec |
|
2 |
5 |
33 |
2 |
| awacs_intr |
|
5 |
26 |
155 |
1 |
| awacs_tx_intr |
|
6 |
23 |
140 |
1 |
| awacs_rx_intr |
|
6 |
23 |
140 |
1 |
| awacs_open |
|
1 |
4 |
14 |
2 |
| awacs_close |
|
1 |
8 |
37 |
1 |
| awacs_set_params |
|
11 |
36 |
234 |
5 |
| awacs_round_blocksize |
|
2 |
6 |
34 |
2 |
| awacs_halt_output |
|
1 |
11 |
57 |
1 |
| awacs_halt_input |
|
1 |
9 |
44 |
1 |
| awacs_set_port |
|
13 |
57 |
362 |
2 |
| awacs_get_port |
|
6 |
44 |
350 |
2 |
| awacs_query_devinfo |
|
9 |
83 |
798 |
2 |
| awacs_round_buffersize |
|
2 |
7 |
45 |
3 |
| awacs_allocm |
|
8 |
51 |
445 |
5 |
| awacs_get_props |
|
1 |
4 |
11 |
1 |
| awacs_trigger_output |
|
6 |
32 |
266 |
7 |
| awacs_trigger_input |
|
6 |
32 |
266 |
7 |
| awacs_set_speaker_volume |
|
1 |
9 |
78 |
3 |
| awacs_set_ext_volume |
|
1 |
9 |
78 |
3 |
| awacs_set_rate |
|
9 |
26 |
228 |
2 |
| Source file: ./sys/arch/macppc/macppc/autoconf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cpu_configure |
|
2 |
9 |
43 |
0 |
| findtype |
|
4 |
40 |
285 |
1 |
| parseofwbp |
|
11 |
34 |
192 |
1 |
| getpno |
|
6 |
17 |
94 |
1 |
| device_register |
|
13 |
29 |
162 |
2 |
| diskconf |
|
3 |
8 |
39 |
1 |
| Source file: ./sys/arch/macppc/pci/mpcpcibus.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mpcpcibrmatch |
|
2 |
9 |
56 |
3 |
| mpcpcibus_find_ranges_32 |
|
11 |
50 |
359 |
3 |
| mpcpcibus_find_ranges_64 |
|
12 |
61 |
450 |
3 |
| mpcpcibrattach |
|
15 |
107 |
747 |
3 |
| mpcpcibrprint |
|
2 |
8 |
49 |
2 |
| mpc_gen_config_reg |
|
6 |
24 |
163 |
3 |
| mpc_conf_read |
|
12 |
43 |
307 |
3 |
| mpc_conf_write |
|
5 |
27 |
211 |
4 |
| Source file: ./sys/arch/macppc/macppc/mem.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mem_match |
|
2 |
7 |
47 |
3 |
| mem_attach |
|
6 |
35 |
261 |
3 |
| mem_i2c_acquire_bus |
|
1 |
4 |
16 |
2 |
| mem_i2c_release_bus |
|
1 |
3 |
11 |
2 |
| mem_i2c_exec |
|
4 |
13 |
106 |
8 |
| mmopen |
|
13 |
24 |
114 |
4 |
| mmclose |
|
3 |
6 |
34 |
4 |
| mmrw |
|
13 |
55 |
297 |
3 |
| mmmmap |
|
1 |
4 |
19 |
3 |
| mmioctl |
|
1 |
4 |
26 |
5 |
| Source file: ./sys/arch/macppc/macppc/disksubr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| readdisklabel |
|
9 |
29 |
181 |
4 |
| readdpmelabel |
|
17 |
60 |
435 |
5 |
| writedisklabel |
|
5 |
34 |
259 |
3 |
| Source file: ./sys/arch/macppc/macppc/rbus_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rbus_pccbb_parent_mem |
|
1 |
6 |
43 |
2 |
| rbus_pccbb_parent_io |
|
1 |
5 |
32 |
2 |
| macppc_cardbus_init |
|
9 |
31 |
219 |
2 |
| pccbb_attach_hook |
|
5 |
16 |
113 |
3 |
| Source file: ./sys/arch/macppc/macppc/opendev.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| OF_instance_to_package |
|
2 |
19 |
68 |
1 |
| OF_package_to_path |
|
4 |
27 |
122 |
3 |
| OF_call_method |
|
6 |
39 |
237 |
5 |
| OF_call_method_1 |
|
5 |
32 |
178 |
4 |
| OF_open |
|
3 |
23 |
101 |
1 |
| OF_close |
|
1 |
16 |
51 |
1 |
| OF_read |
|
6 |
37 |
175 |
3 |
| OF_write |
|
3 |
30 |
144 |
3 |
| OF_seek |
|
2 |
23 |
100 |
2 |
| Source file: ./sys/arch/macppc/macppc/machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| initppc |
|
28 |
105 |
666 |
3 |
| install_extint |
|
4 |
19 |
146 |
1 |
| cpu_startup |
|
1 |
18 |
140 |
0 |
| consinit |
|
2 |
8 |
25 |
0 |
| setregs |
|
1 |
20 |
189 |
4 |
| sendsig |
|
8 |
38 |
408 |
6 |
| sys_sigreturn |
|
5 |
29 |
242 |
3 |
| cpu_sysctl |
|
6 |
20 |
129 |
7 |
| dumpconf |
|
8 |
18 |
143 |
1 |
| reserve_dumppages |
|
1 |
5 |
17 |
1 |
| cpu_dump |
|
1 |
11 |
108 |
0 |
| dumpsys |
|
17 |
56 |
386 |
0 |
| lcsplx |
|
1 |
4 |
13 |
1 |
| boot |
|
12 |
44 |
208 |
1 |
| do_pending_int |
|
2 |
6 |
20 |
0 |
| signotify |
|
1 |
5 |
21 |
1 |
| cpu_unidle |
|
2 |
5 |
24 |
1 |
| ppc_intr_establish |
|
2 |
17 |
119 |
7 |
| ppc_no_send_ipi |
|
1 |
4 |
17 |
2 |
| ppc_send_ipi |
|
1 |
4 |
22 |
2 |
| kcopy |
|
2 |
12 |
76 |
3 |
| cpu_switchto |
|
4 |
9 |
53 |
2 |
| Source file: ./sys/arch/macppc/macppc/conf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| iskmemdev |
|
2 |
4 |
22 |
1 |
| iszerodev |
|
2 |
4 |
22 |
1 |
| getnulldev |
|
1 |
4 |
13 |
0 |
| Source file: ./sys/arch/macppc/macppc/ofw_machdep.h |
| Source file: ./sys/arch/macppc/macppc/clock.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| inittodr |
|
14 |
52 |
305 |
1 |
| resettodr |
|
4 |
14 |
66 |
1 |
| decr_intr |
|
9 |
44 |
247 |
1 |
| cpu_initclocks |
|
9 |
46 |
255 |
0 |
| cpu_startclock |
|
1 |
10 |
60 |
0 |
| delay |
|
2 |
8 |
39 |
1 |
| setstatclockrate |
|
2 |
13 |
64 |
1 |
| tb_get_timecount |
|
1 |
4 |
14 |
1 |
| Source file: ./sys/arch/macppc/macppc/cpu.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cpumatch |
|
3 |
10 |
71 |
3 |
| ppc_cpuspeed |
|
1 |
5 |
18 |
1 |
| ppc64_scale_frequency |
|
4 |
25 |
134 |
1 |
| ppc64_do_setperf |
|
6 |
16 |
65 |
1 |
| ppc64_setperf |
|
1 |
5 |
19 |
1 |
| cpuattach |
|
56 |
189 |
1023 |
3 |
| config_l2cr |
|
21 |
64 |
286 |
1 |
| cpu_spinup |
|
8 |
74 |
469 |
2 |
| cpu_boot_secondary_processors |
|
3 |
15 |
83 |
1 |
| cpu_hatch |
|
6 |
57 |
329 |
1 |
| Source file: ./sys/arch/macppc/macppc/mainbus.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mbmatch |
|
1 |
4 |
22 |
3 |
| mbattach |
|
23 |
110 |
793 |
3 |
| mbprint |
|
2 |
7 |
40 |
2 |
| Source file: ./sys/arch/mips64/dev/clockvar.h |
| Source file: ./sys/arch/macppc/macppc/wscons_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wscnprobe |
|
4 |
13 |
70 |
1 |
| wscninit |
|
1 |
4 |
11 |
1 |
| wscnputc |
|
1 |
4 |
17 |
2 |
| wscngetc |
|
1 |
4 |
15 |
1 |
| wscnpollc |
|
1 |
4 |
17 |
2 |
| Source file: ./sys/arch/mips64/include/kcore.h |
| Source file: ./sys/arch/mips64/include/profile.h |
| Source file: ./sys/arch/mips64/include/loongson2.h |
| Source file: ./sys/arch/macppc/macppc/openprom.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| openpromopen |
|
1 |
4 |
23 |
4 |
| openpromclose |
|
1 |
4 |
23 |
4 |
| openpromcheckid |
|
4 |
7 |
50 |
2 |
| openpromgetstr |
|
2 |
11 |
81 |
3 |
| openpromioctl |
|
33 |
136 |
841 |
5 |
| Source file: ./sys/arch/mips64/include/pmap.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pmap_pte_lookup |
|
3 |
9 |
64 |
2 |
| Source file: ./sys/arch/macppc/macppc/openfirm.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| OF_peer |
|
2 |
19 |
67 |
1 |
| OF_child |
|
2 |
19 |
67 |
1 |
| OF_parent |
|
2 |
19 |
67 |
1 |
| OF_getproplen |
|
2 |
21 |
82 |
2 |
| OF_getprop |
|
4 |
29 |
137 |
4 |
| OF_setprop |
|
3 |
28 |
128 |
4 |
| OF_nextprop |
|
2 |
24 |
107 |
3 |
| OF_interpret |
|
5 |
33 |
180 |
3 |
| OF_finddevice |
|
2 |
19 |
70 |
1 |
| OF_rboot |
|
2 |
17 |
64 |
1 |
| OF_boot |
|
2 |
7 |
27 |
1 |
| OF_exit |
|
2 |
16 |
50 |
0 |
| OF_quiesce |
|
1 |
14 |
42 |
1 |
| ofbcopy |
|
3 |
9 |
52 |
3 |
| OF_getnodebyname |
|
7 |
24 |
141 |
2 |
| Source file: ./sys/arch/mips64/include/memconf.h |
| Source file: ./sys/arch/mips64/include/lock.h |
| Source file: ./sys/arch/mips64/include/loongson3.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| loongson3_get_cpuid |
|
1 |
11 |
28 |
1 |
| Source file: ./sys/arch/mips64/include/cache.h |
| Source file: ./sys/arch/mips64/include/_float.h |
| Source file: ./sys/arch/mips64/include/vmparam.h |
| Source file: ./sys/arch/mips64/include/spinlock.h |
| Source file: ./sys/arch/mips64/include/tcb.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __mips64_set_tcb |
|
3 |
7 |
34 |
2 |
| __mips64_get_tcb |
|
1 |
10 |
27 |
1 |
| Source file: ./sys/arch/mips64/include/exec.h |
| Source file: ./sys/arch/mips64/include/archtype.h |
| Source file: ./sys/arch/mips64/include/_types.h |
| Source file: ./sys/arch/mips64/include/pte.h |
| Source file: ./sys/arch/mips64/include/ieeefp.h |
| Source file: ./sys/arch/mips64/include/fenv.h |
| Source file: ./sys/arch/mips64/include/stdarg.h |
| Source file: ./sys/arch/mips64/include/mutex.h |
| Source file: ./sys/arch/mips64/include/cdefs.h |
| Source file: ./sys/arch/mips64/include/endian.h |
| Source file: ./sys/arch/mips64/include/ieee.h |
| Source file: ./sys/arch/mips64/include/cpustate.h |
| Source file: ./sys/arch/mips64/include/varargs.h |
| Source file: ./sys/arch/mips64/include/ptrace.h |
| Source file: ./sys/arch/mips64/include/limits.h |
| Source file: ./sys/arch/macppc/macppc/ofw_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ppc_mem_regions |
|
2 |
8 |
42 |
2 |
| ofw_read_mem_regions |
|
14 |
54 |
395 |
3 |
| save_ofw_mapping |
|
13 |
46 |
349 |
1 |
| ofwconprobe |
|
5 |
21 |
108 |
0 |
| ofw_recurse_keyboard |
|
8 |
31 |
162 |
1 |
| ofw_find_keyboard |
|
9 |
34 |
193 |
0 |
| of_display_console |
|
13 |
81 |
617 |
1 |
| ofwconsswitch |
|
2 |
8 |
59 |
1 |
| of_setbacklight |
|
3 |
9 |
38 |
1 |
| of_setbrightness |
|
4 |
11 |
51 |
1 |
| of_setcolors |
|
1 |
5 |
45 |
3 |
| ofwcnprobe |
|
1 |
3 |
9 |
1 |
| ofwcninit |
|
1 |
3 |
9 |
1 |
| ofwcnputc |
|
1 |
5 |
25 |
2 |
| ofwcngetc |
|
4 |
9 |
52 |
1 |
| ofwcnpollc |
|
1 |
3 |
10 |
2 |
| ofw_consinit |
|
2 |
9 |
62 |
1 |
| Source file: ./sys/arch/mips64/include/proc.h |
| Source file: ./sys/arch/mips64/include/mplock.h |
| Source file: ./sys/arch/mips64/include/setjmp.h |
| Source file: ./sys/arch/mips64/include/frame.h |
| Source file: ./sys/arch/mips64/include/mips_cpu.h |
| Source file: ./sys/arch/mips64/include/reloc.h |
| Source file: ./sys/arch/mips64/include/autoconf.h |
| Source file: ./sys/arch/mips64/include/pcb.h |
| Source file: ./sys/arch/mips64/include/atomic.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| atomic_wait_and_setbits_int |
|
1 |
14 |
54 |
2 |
| atomic_setbits_int |
|
1 |
12 |
45 |
2 |
| atomic_clearbits_int |
|
1 |
12 |
45 |
2 |
| _atomic_cas_uint |
|
1 |
14 |
66 |
3 |
| _atomic_cas_ulong |
|
1 |
14 |
66 |
3 |
| _atomic_cas_ptr |
|
1 |
15 |
74 |
3 |
| _atomic_swap_uint |
|
1 |
13 |
56 |
2 |
| _atomic_swap_ulong |
|
1 |
13 |
56 |
2 |
| _atomic_swap_ptr |
|
1 |
14 |
64 |
2 |
| _atomic_add_int_nv |
|
1 |
13 |
58 |
2 |
| _atomic_add_long_nv |
|
1 |
13 |
58 |
2 |
| Source file: ./sys/arch/mips64/include/signal.h |
| Source file: ./sys/arch/mips64/include/db_machdep.h |
| Source file: ./sys/arch/mips64/include/param.h |
| Source file: ./sys/arch/mips64/include/reg.h |
| Source file: ./sys/arch/mips64/include/asm.h |
| Source file: ./sys/arch/mips64/include/sysarch.h |
| Source file: ./sys/arch/mips64/include/trap.h |
| Source file: ./sys/arch/mips64/include/regdef.h |
| Source file: ./sys/arch/mips64/include/fpu.h |
| Source file: ./sys/arch/mips64/include/regnum.h |
| Source file: ./sys/arch/mips64/include/mips_opcode.h |
| Source file: ./sys/arch/mips64/include/arcbios.h |
| Source file: ./sys/arch/mips64/include/cpu.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cp0_get_hwrena |
|
1 |
6 |
23 |
1 |
| cp0_set_hwrena |
|
1 |
4 |
19 |
1 |
| cp0_set_userlocal |
|
1 |
9 |
23 |
1 |
| intr_disable |
|
1 |
4 |
11 |
1 |
| intr_restore |
|
1 |
4 |
12 |
1 |
| Source file: ./sys/arch/mips64/mips64/interrupt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| interrupt |
|
8 |
31 |
199 |
1 |
| set_intr |
|
9 |
22 |
154 |
3 |
| intr_barrier |
|
1 |
4 |
13 |
1 |
| dummy_splx |
|
1 |
3 |
7 |
1 |
| splinit |
|
2 |
10 |
79 |
0 |
| register_splx_handler |
|
1 |
4 |
17 |
1 |
| splraise |
|
2 |
14 |
61 |
1 |
| splx |
|
1 |
4 |
15 |
1 |
| spllower |
|
1 |
8 |
33 |
1 |
| Source file: ./sys/arch/mips64/mips64/mem.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mmopen |
|
7 |
17 |
72 |
4 |
| mmclose |
|
1 |
4 |
23 |
4 |
| mmrw |
|
22 |
75 |
449 |
3 |
| mmmmap |
|
1 |
4 |
17 |
3 |
| mmioctl |
|
1 |
4 |
26 |
5 |
| Source file: ./sys/arch/mips64/mips64/sys_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sys_sysarch |
|
3 |
20 |
99 |
3 |
| mips64_cacheflush |
|
12 |
40 |
257 |
2 |
| Source file: ./sys/arch/mips64/mips64/cpu.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cpumatch |
|
2 |
7 |
47 |
3 |
| cpuattach |
|
87 |
290 |
1426 |
3 |
| cpu_switchto |
|
3 |
7 |
40 |
2 |
| enable_fpu |
|
3 |
14 |
99 |
1 |
| save_fpu |
|
3 |
13 |
66 |
1 |
| get_cpu_info |
|
2 |
10 |
37 |
1 |
| cpu_boot_secondary_processors |
|
3 |
15 |
74 |
1 |
| cpu_unidle |
|
2 |
5 |
26 |
1 |
| alloc_contiguous_pages |
|
2 |
15 |
89 |
1 |
| Source file: ./sys/arch/mips64/mips64/process_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| process_read_regs |
|
2 |
9 |
71 |
2 |
| process_write_regs |
|
2 |
16 |
139 |
2 |
| process_set_pc |
|
1 |
5 |
30 |
2 |
| Source file: ./sys/arch/mips64/mips64/clock.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| clockmatch |
|
2 |
6 |
41 |
3 |
| clockattach |
|
1 |
8 |
56 |
3 |
| cp0_int5 |
|
8 |
36 |
204 |
2 |
| cp0_startclock |
|
3 |
18 |
108 |
1 |
| Source file: ./sys/arch/mips64/mips64/vm_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cpu_fork |
|
14 |
42 |
410 |
6 |
| cpu_exit |
|
3 |
9 |
56 |
1 |
| vmapbuf |
|
4 |
29 |
203 |
2 |
| vunmapbuf |
|
2 |
15 |
112 |
2 |
| Source file: ./sys/arch/mips64/mips64/ipifuncs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mips64_ipi_init |
|
3 |
13 |
67 |
1 |
| mips64_ipi_intr |
|
4 |
18 |
117 |
1 |
| mips64_send_ipi |
|
5 |
9 |
67 |
2 |
| mips64_multicast_ipi |
|
3 |
12 |
75 |
2 |
| mips64_ipi_nop |
|
2 |
4 |
15 |
1 |
| smp_rendezvous_action |
|
2 |
11 |
75 |
1 |
| smp_rendezvous_cpus |
|
4 |
24 |
125 |
3 |
| mips64_ipi_ddb |
|
2 |
4 |
10 |
1 |
| Source file: ./sys/arch/mips64/mips64/mips64_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| build_trampoline |
|
7 |
46 |
228 |
2 |
| setregs |
|
3 |
16 |
155 |
4 |
| exec_md_map |
|
5 |
18 |
110 |
2 |
| tlb_init |
|
3 |
16 |
112 |
1 |
| tlb_asid_wrap |
|
2 |
5 |
31 |
1 |
| delay |
|
3 |
17 |
87 |
1 |
| cp0_get_timecount |
|
1 |
4 |
16 |
1 |
| cp0_calibrate |
|
4 |
23 |
162 |
1 |
| cpu_initclocks |
|
4 |
16 |
87 |
0 |
| setstatclockrate |
|
1 |
3 |
7 |
1 |
| inittodr |
|
8 |
42 |
268 |
1 |
| resettodr |
|
9 |
34 |
240 |
0 |
| classify_insn |
|
25 |
48 |
158 |
1 |
| unmap_startup |
|
2 |
7 |
34 |
1 |
| Source file: ./sys/arch/mips64/mips64/mutex.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __mtx_init |
|
1 |
6 |
30 |
2 |
| __mtx_enter |
|
5 |
12 |
55 |
1 |
| __mtx_enter_try |
|
8 |
20 |
125 |
1 |
| __mtx_enter |
|
5 |
10 |
66 |
1 |
| __mtx_enter_try |
|
1 |
5 |
19 |
1 |
| __mtx_leave |
|
4 |
11 |
53 |
1 |
| Source file: ./sys/arch/mips64/mips64/cache_mips64r2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mips64r2_ConfigCache |
|
9 |
64 |
591 |
1 |
| mips64r2_hitwbinv_primary |
|
2 |
9 |
41 |
3 |
| mips64r2_hitwbinv_secondary |
|
2 |
9 |
41 |
3 |
| mips64r2_hitwbinv_ternary |
|
2 |
9 |
41 |
3 |
| mips64r2_hitinv_primary |
|
2 |
9 |
41 |
3 |
| mips64r2_hitinv_secondary |
|
2 |
9 |
41 |
3 |
| mips64r2_hitinv_ternary |
|
2 |
9 |
41 |
3 |
| mips64r2_SyncCache |
|
7 |
32 |
206 |
1 |
| mips64r2_InvalidateICache |
|
3 |
18 |
163 |
3 |
| mips64r2_InvalidateICachePage |
|
1 |
4 |
21 |
2 |
| mips64r2_SyncICache |
|
1 |
3 |
9 |
1 |
| mips64r2_SyncDCachePage |
|
3 |
17 |
125 |
3 |
| mips64r2_HitSyncDCachePage |
|
1 |
4 |
28 |
3 |
| mips64r2_HitSyncDCache |
|
1 |
8 |
78 |
3 |
| mips64r2_HitInvalidateDCache |
|
1 |
8 |
78 |
3 |
| mips64r2_IOSyncDCache |
|
27 |
91 |
653 |
4 |
| Source file: ./sys/arch/mips64/mips64/cache_loongson3.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| Loongson3_ConfigCache |
|
1 |
13 |
68 |
1 |
| Loongson3_SyncCache |
|
1 |
4 |
13 |
1 |
| Loongson3_InvalidateICache |
|
1 |
3 |
15 |
3 |
| Loongson3_InvalidateICachePage |
|
1 |
3 |
12 |
2 |
| Loongson3_SyncICache |
|
1 |
3 |
9 |
1 |
| Loongson3_SyncDCachePage |
|
1 |
3 |
15 |
3 |
| Loongson3_HitSyncDCache |
|
1 |
3 |
15 |
3 |
| Loongson3_HitInvalidateDCache |
|
1 |
3 |
15 |
3 |
| Loongson3_IOSyncDCache |
|
4 |
11 |
41 |
4 |
| Source file: ./sys/arch/mips64/mips64/arcbios.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bios_getchar |
|
2 |
8 |
50 |
0 |
| bios_putchar |
|
4 |
18 |
89 |
1 |
| bios_putstring |
|
2 |
7 |
24 |
1 |
| bios_printf |
|
1 |
9 |
51 |
2 |
| bios_configure_memory |
|
34 |
85 |
433 |
0 |
| bios_get_system_type |
|
19 |
62 |
400 |
0 |
| bios_ident |
|
3 |
19 |
198 |
0 |
| bios_display_info |
|
2 |
11 |
56 |
4 |
| Source file: ./sys/arch/mips64/mips64/cache_r4k.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| run_uncached |
|
2 |
15 |
92 |
2 |
| Mips4k_ConfigCache |
|
6 |
45 |
351 |
1 |
| Mips4k_SyncCache |
|
5 |
29 |
171 |
1 |
| Mips4k_InvalidateICache |
|
4 |
24 |
182 |
3 |
| Mips4k_InvalidateICachePage |
|
1 |
5 |
39 |
2 |
| Mips4k_SyncICache |
|
7 |
30 |
180 |
1 |
| Mips4k_SyncDCachePage |
|
5 |
26 |
159 |
3 |
| mips4k_hitwbinv_primary |
|
2 |
9 |
41 |
3 |
| mips4k_hitwbinv_secondary |
|
2 |
9 |
41 |
3 |
| Mips4k_HitSyncDCachePage |
|
2 |
7 |
55 |
3 |
| Mips4k_HitSyncDCache |
|
3 |
22 |
181 |
3 |
| mips4k_hitinv_primary |
|
2 |
9 |
41 |
3 |
| mips4k_hitinv_secondary |
|
2 |
9 |
41 |
3 |
| Mips4k_HitInvalidateDCache |
|
3 |
22 |
181 |
3 |
| Mips4k_IOSyncDCache |
|
19 |
70 |
431 |
4 |
| Source file: ./sys/arch/mips64/mips64/cache_loongson2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| Loongson2_ConfigCache |
|
2 |
30 |
207 |
1 |
| Loongson2_SyncCache |
|
4 |
29 |
186 |
1 |
| Loongson2_InvalidateICache |
|
2 |
14 |
108 |
3 |
| Loongson2_InvalidateICachePage |
|
1 |
4 |
18 |
2 |
| Loongson2_SyncICache |
|
3 |
13 |
66 |
1 |
| Loongson2_SyncDCachePage |
|
3 |
11 |
85 |
3 |
| ls2f_hitwbinv_primary |
|
2 |
9 |
40 |
2 |
| ls2f_hitwbinv_secondary |
|
2 |
9 |
40 |
2 |
| Loongson2_HitSyncDCache |
|
1 |
10 |
71 |
3 |
| ls2f_hitinv_primary |
|
2 |
9 |
40 |
2 |
| ls2f_hitinv_secondary |
|
2 |
9 |
40 |
2 |
| Loongson2_HitInvalidateDCache |
|
1 |
10 |
71 |
3 |
| Loongson2_IOSyncDCache |
|
8 |
36 |
225 |
4 |
| Source file: ./sys/arch/mips64/mips64/sendsig.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sendsig |
|
11 |
54 |
509 |
6 |
| sys_sigreturn |
|
6 |
36 |
317 |
3 |
| Source file: ./sys/arch/mips64/mips64/softintr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| softintr_init |
|
2 |
11 |
61 |
1 |
| softintr_dispatch |
|
3 |
18 |
112 |
1 |
| softintr_establish |
|
7 |
31 |
145 |
3 |
| softintr_disestablish |
|
2 |
12 |
77 |
1 |
| softintr_schedule |
|
2 |
13 |
97 |
1 |
| dosoftint |
|
6 |
19 |
110 |
0 |
| Source file: ./sys/arch/mips64/mips64/cache_tfp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tfp_ConfigCache |
|
6 |
39 |
316 |
1 |
| tfp_SyncCache |
|
2 |
11 |
68 |
1 |
| tfp_InvalidateICache |
|
3 |
18 |
133 |
3 |
| tfp_InvalidateICachePage |
|
1 |
4 |
18 |
2 |
| tfp_SyncICache |
|
2 |
7 |
34 |
1 |
| tfp_SyncDCachePage |
|
1 |
3 |
15 |
3 |
| tfp_HitSyncDCache |
|
1 |
3 |
15 |
3 |
| tfp_HitInvalidateDCache |
|
2 |
12 |
90 |
3 |
| tfp_IOSyncDCache |
|
4 |
11 |
46 |
4 |
| Source file: ./sys/arch/mips64/mips64/r4000_errata.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| eop_undo |
|
1 |
6 |
35 |
1 |
| eop_page_check |
|
2 |
8 |
43 |
1 |
| eop_tlb_flush_addr |
|
4 |
14 |
91 |
3 |
| eop_tlb_miss_handler |
|
10 |
62 |
423 |
3 |
| eop_cleanup |
|
3 |
9 |
56 |
2 |
| Source file: ./sys/arch/mips64/mips64/cache_octeon.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| Octeon_ConfigCache |
|
5 |
63 |
552 |
1 |
| Octeon_SyncCache |
|
1 |
4 |
13 |
1 |
| Octeon_InvalidateICache |
|
1 |
4 |
19 |
3 |
| Octeon_InvalidateICachePage |
|
1 |
4 |
18 |
2 |
| Octeon_SyncICache |
|
2 |
7 |
29 |
1 |
| Octeon_SyncDCachePage |
|
1 |
3 |
15 |
3 |
| Octeon_HitSyncDCache |
|
1 |
3 |
15 |
3 |
| Octeon_HitInvalidateDCache |
|
1 |
3 |
15 |
3 |
| Octeon_IOSyncDCache |
|
4 |
12 |
43 |
4 |
| Octeon_lock_secondary_cache |
|
2 |
16 |
110 |
3 |
| Octeon_unlock_secondary_cache |
|
2 |
15 |
106 |
3 |
| Source file: ./sys/arch/mips64/mips64/cache_r5k.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| get_config |
|
1 |
6 |
23 |
1 |
| set_config |
|
2 |
6 |
26 |
1 |
| run_uncached |
|
2 |
15 |
92 |
2 |
| mips5k_l2_init |
|
2 |
16 |
76 |
1 |
| mips7k_l2_init |
|
4 |
32 |
162 |
1 |
| mips7k_l3_init |
|
2 |
16 |
76 |
1 |
| mips5k_c0_cca_update |
|
2 |
5 |
16 |
1 |
| Mips5k_ConfigCache |
|
21 |
88 |
645 |
1 |
| Mips5k_SyncCache |
|
14 |
47 |
272 |
1 |
| Mips5k_InvalidateICache |
|
9 |
39 |
236 |
3 |
| Mips5k_InvalidateICachePage |
|
1 |
5 |
38 |
2 |
| Mips5k_SyncICache |
|
20 |
75 |
407 |
1 |
| mips5k_hitwbinv_primary |
|
2 |
9 |
40 |
2 |
| mips5k_hitwbinv_secondary |
|
2 |
10 |
49 |
2 |
| Mips5k_SyncDCachePage |
|
11 |
36 |
186 |
3 |
| Mips5k_HitSyncDCachePage |
|
3 |
10 |
48 |
3 |
| Mips5k_HitSyncDCache |
|
3 |
14 |
86 |
3 |
| mips5k_hitinv_primary |
|
2 |
9 |
40 |
2 |
| mips5k_hitinv_secondary |
|
2 |
10 |
49 |
2 |
| Mips5k_HitInvalidateDCache |
|
3 |
14 |
86 |
3 |
| mips5k_hitwb_primary |
|
2 |
9 |
40 |
2 |
| mips5k_hitwb_secondary |
|
2 |
10 |
49 |
2 |
| Mips5k_IOSyncDCache |
|
29 |
80 |
451 |
4 |
| Source file: ./sys/arch/mips64/mips64/db_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| db_ktrap |
|
12 |
35 |
202 |
2 |
| db_enter_ddb |
|
18 |
53 |
315 |
1 |
| db_cpuinfo_cmd |
|
8 |
29 |
136 |
4 |
| db_read_bytes |
|
4 |
17 |
118 |
3 |
| db_write_bytes |
|
5 |
24 |
163 |
3 |
| db_stack_trace_print |
|
2 |
10 |
63 |
5 |
| next_instr_address |
|
1 |
8 |
45 |
2 |
| db_trap_trace_cmd |
|
1 |
4 |
24 |
4 |
| db_print_tlb |
|
7 |
25 |
134 |
2 |
| db_dump_tlb_cmd |
|
26 |
70 |
509 |
4 |
| db_machine_init |
|
5 |
12 |
55 |
1 |
| db_ddbproc_cmd |
|
5 |
18 |
86 |
4 |
| db_startproc_cmd |
|
7 |
18 |
95 |
4 |
| db_stopproc_cmd |
|
7 |
18 |
95 |
4 |
| db_startcpu |
|
3 |
8 |
42 |
1 |
| db_stopcpu |
|
4 |
12 |
67 |
1 |
| Source file: ./sys/arch/mips64/mips64/cache_r10k.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| Mips10k_ConfigCache |
|
6 |
36 |
319 |
1 |
| mips10k_hitwbinv_primary |
|
2 |
9 |
40 |
2 |
| mips10k_hitwbinv_secondary |
|
2 |
9 |
43 |
3 |
| mips10k_hitinv_primary |
|
2 |
9 |
40 |
2 |
| mips10k_hitinv_secondary |
|
2 |
9 |
43 |
3 |
| Mips10k_SyncCache |
|
4 |
25 |
165 |
1 |
| Mips10k_InvalidateICache |
|
2 |
15 |
117 |
3 |
| Mips10k_InvalidateICachePage |
|
2 |
6 |
45 |
2 |
| Mips10k_SyncICache |
|
7 |
27 |
173 |
1 |
| Mips10k_SyncDCachePage |
|
3 |
19 |
180 |
3 |
| Mips10k_HitSyncDCachePage |
|
1 |
4 |
22 |
3 |
| Mips10k_HitSyncDCache |
|
1 |
8 |
60 |
3 |
| Mips10k_HitInvalidateDCache |
|
1 |
8 |
60 |
3 |
| Mips10k_IOSyncDCache |
|
12 |
47 |
287 |
4 |
| Source file: ./sys/arch/landisk/dev/rs5c313reg.h |
| Source file: ./sys/arch/landisk/dev/wdc_obio.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wdc_obio_match |
|
6 |
16 |
115 |
3 |
| wdc_obio_attach |
|
4 |
35 |
263 |
3 |
| wdc_obio_read_reg |
|
2 |
9 |
66 |
2 |
| wdc_obio_write_reg |
|
2 |
9 |
67 |
3 |
| Source file: ./sys/arch/landisk/dev/obiovar.h |
| Source file: ./sys/arch/landisk/dev/power.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| power_match |
|
2 |
12 |
78 |
3 |
| power_attach |
|
2 |
12 |
76 |
3 |
| power_intr |
|
5 |
21 |
102 |
1 |
| Source file: ./sys/arch/mips64/mips64/db_disasm.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dbmd_print_insn |
|
189 |
426 |
2662 |
3 |
| db_disasm |
|
2 |
12 |
70 |
2 |
| main |
|
3 |
12 |
61 |
0 |
| Source file: ./sys/arch/mips64/mips64/pmap.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pmap_invalidate_user_page |
|
4 |
12 |
75 |
2 |
| pmap_update_user_page |
|
2 |
8 |
62 |
3 |
| pmap_lock |
|
2 |
5 |
23 |
1 |
| pmap_unlock |
|
2 |
5 |
23 |
1 |
| pmap_pte_cas |
|
2 |
5 |
44 |
3 |
| pmap_invalidate_icache |
|
4 |
18 |
101 |
3 |
| pmap_invalidate_icache_action |
|
1 |
7 |
51 |
1 |
| pmap_shootdown_range |
|
9 |
35 |
213 |
3 |
| pmap_shootdown_range_action |
|
4 |
12 |
83 |
1 |
| pmap_invalidate_icache |
|
1 |
6 |
43 |
3 |
| pmap_bootstrap |
|
6 |
30 |
220 |
1 |
| pmap_steal_memory |
|
15 |
43 |
298 |
3 |
| pmap_init |
|
2 |
5 |
24 |
0 |
| pg_to_pvh |
|
1 |
4 |
17 |
1 |
| pmap_create |
|
4 |
26 |
184 |
0 |
| pmap_destroy |
|
14 |
34 |
225 |
1 |
| pmap_collect |
|
10 |
41 |
256 |
1 |
| pmap_reference |
|
1 |
5 |
26 |
1 |
| pmap_activate |
|
2 |
11 |
70 |
1 |
| pmap_deactivate |
|
1 |
5 |
24 |
1 |
| pmap_do_remove |
|
22 |
68 |
501 |
3 |
| pmap_remove |
|
1 |
6 |
32 |
3 |
| pmap_page_wrprotect |
|
15 |
47 |
362 |
2 |
| pmap_page_remove |
|
4 |
29 |
192 |
1 |
| pmap_page_protect |
|
6 |
21 |
93 |
2 |
| pmap_protect |
|
26 |
74 |
534 |
4 |
| pmap_enter |
|
62 |
183 |
1238 |
5 |
| pmap_kenter_pa |
|
9 |
29 |
216 |
3 |
| pmap_kremove |
|
8 |
25 |
190 |
2 |
| pmap_unwire |
|
5 |
20 |
95 |
2 |
| pmap_extract |
|
14 |
37 |
248 |
3 |
| pmap_prefer |
|
2 |
6 |
29 |
2 |
| pmap_copy |
|
1 |
6 |
46 |
5 |
| pmap_zero_page |
|
7 |
24 |
179 |
1 |
| pmap_copy_page |
|
11 |
43 |
345 |
2 |
| pmap_clear_modify |
|
15 |
55 |
381 |
1 |
| pmap_clear_reference |
|
1 |
9 |
55 |
1 |
| pmap_is_referenced |
|
1 |
4 |
20 |
1 |
| pmap_is_modified |
|
1 |
4 |
20 |
1 |
| pmap_emulate_modify |
|
14 |
51 |
308 |
2 |
| pmap_do_page_cache |
|
11 |
40 |
290 |
2 |
| pmap_page_cache |
|
1 |
6 |
37 |
2 |
| pmap_alloc_tlbpid |
|
5 |
35 |
237 |
1 |
| pmap_enter_pv |
|
15 |
52 |
390 |
4 |
| pmap_remove_pv |
|
17 |
52 |
362 |
3 |
| pmap_pg_alloc |
|
5 |
20 |
98 |
3 |
| pmap_pg_free |
|
2 |
9 |
57 |
2 |
| pmap_proc_iflush |
|
3 |
13 |
78 |
3 |
| pmap_map_direct |
|
3 |
11 |
53 |
1 |
| pmap_unmap_direct |
|
4 |
14 |
66 |
1 |
| pmap_update |
|
1 |
4 |
16 |
1 |
| Source file: ./sys/arch/landisk/include/pmap.h |
| Source file: ./sys/arch/landisk/include/disklabel.h |
| Source file: ./sys/arch/landisk/include/kcore.h |
| Source file: ./sys/arch/landisk/include/profile.h |
| Source file: ./sys/arch/landisk/include/vmparam.h |
| Source file: ./sys/arch/landisk/include/lock.h |
| Source file: ./sys/arch/landisk/include/_float.h |
| Source file: ./sys/arch/landisk/include/exec.h |
| Source file: ./sys/arch/landisk/include/spinlock.h |
| Source file: ./sys/arch/landisk/include/tcb.h |
| Source file: ./sys/arch/landisk/include/stdarg.h |
| Source file: ./sys/arch/landisk/include/_types.h |
| Source file: ./sys/arch/landisk/include/pte.h |
| Source file: ./sys/arch/landisk/include/ieee.h |
| Source file: ./sys/arch/landisk/include/loadfile_machdep.h |
| Source file: ./sys/arch/landisk/include/ieeefp.h |
| Source file: ./sys/arch/landisk/include/fenv.h |
| Source file: ./sys/arch/landisk/include/mutex.h |
| Source file: ./sys/arch/landisk/include/cpu.h |
| Source file: ./sys/arch/landisk/include/cdefs.h |
| Source file: ./sys/arch/landisk/include/endian.h |
| Source file: ./sys/arch/landisk/include/frame.h |
| Source file: ./sys/arch/landisk/include/varargs.h |
| Source file: ./sys/arch/landisk/include/intr.h |
| Source file: ./sys/arch/landisk/include/ptrace.h |
| Source file: ./sys/arch/landisk/include/limits.h |
| Source file: ./sys/arch/landisk/include/conf.h |
| Source file: ./sys/arch/landisk/include/atomic.h |
| Source file: ./sys/arch/landisk/include/pci_machdep.h |
| Source file: ./sys/arch/landisk/dev/rs5c313.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rs5c313_init |
|
5 |
30 |
171 |
1 |
| rs5c313_read_reg |
|
1 |
26 |
171 |
2 |
| rs5c313_write_reg |
|
1 |
20 |
150 |
3 |
| rs5c313_gettime |
|
6 |
35 |
220 |
3 |
| rs5c313_settime |
|
4 |
34 |
221 |
2 |
| rtc_begin |
|
1 |
6 |
24 |
1 |
| rtc_ce |
|
2 |
8 |
36 |
2 |
| rtc_clk |
|
2 |
9 |
34 |
2 |
| rtc_dir |
|
2 |
9 |
34 |
2 |
| rtc_read |
|
2 |
10 |
51 |
1 |
| rtc_write |
|
2 |
13 |
58 |
2 |
| rs5c313_landisk_match |
|
2 |
7 |
39 |
3 |
| rs5c313_landisk_attach |
|
2 |
11 |
70 |
3 |
| Source file: ./sys/arch/landisk/include/psl.h |
| Source file: ./sys/arch/landisk/include/proc.h |
| Source file: ./sys/arch/landisk/include/setjmp.h |
| Source file: ./sys/arch/landisk/include/reloc.h |
| Source file: ./sys/arch/landisk/include/pcb.h |
| Source file: ./sys/arch/landisk/include/autoconf.h |
| Source file: ./sys/arch/landisk/include/cputypes.h |
| Source file: ./sys/arch/landisk/include/db_machdep.h |
| Source file: ./sys/arch/landisk/include/signal.h |
| Source file: ./sys/arch/landisk/include/asm.h |
| Source file: ./sys/arch/landisk/include/param.h |
| Source file: ./sys/arch/landisk/include/reg.h |
| Source file: ./sys/arch/landisk/include/trap.h |
| Source file: ./sys/arch/landisk/include/fpu.h |
| Source file: ./sys/arch/mips64/mips64/trap.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ast |
|
1 |
9 |
54 |
1 |
| trap |
|
25 |
53 |
321 |
1 |
| itsa |
|
115 |
470 |
2644 |
4 |
| child_return |
|
1 |
11 |
55 |
1 |
| trapDump |
|
7 |
38 |
259 |
2 |
| MipsEmulateBranch |
|
33 |
102 |
552 |
4 |
| ptrace_read_insn |
|
1 |
15 |
106 |
3 |
| ptrace_write_insn |
|
1 |
15 |
106 |
3 |
| process_sstep |
|
12 |
48 |
333 |
2 |
| stacktrace |
|
1 |
4 |
18 |
1 |
| stacktrace_subr |
|
61 |
171 |
1065 |
3 |
| fn_name |
|
3 |
10 |
81 |
1 |
| fpe_branch_emulate |
|
35 |
98 |
595 |
4 |
| Source file: ./sys/arch/mips64/mips64/fp_emulate.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| MipsFPTrap |
|
63 |
186 |
928 |
1 |
| fpu_emulate |
|
28 |
64 |
287 |
4 |
| fpu_emulate_cop1 |
|
10 |
99 |
428 |
3 |
| fpu_emulate_cop1x |
|
8 |
38 |
210 |
3 |
| fpu_load |
|
10 |
30 |
140 |
4 |
| fpu_store |
|
2 |
12 |
104 |
5 |
| fpu_int_l |
|
6 |
21 |
169 |
7 |
| fpu_int_w |
|
6 |
21 |
169 |
7 |
| fpu_abs |
|
7 |
29 |
171 |
6 |
| fpu_add |
|
4 |
18 |
145 |
6 |
| fpu_c |
|
23 |
66 |
411 |
7 |
| fpu_ceil_l |
|
1 |
5 |
44 |
6 |
| fpu_ceil_w |
|
1 |
5 |
44 |
6 |
| fpu_cvt_d |
|
6 |
23 |
127 |
6 |
| fpu_cvt_l |
|
8 |
26 |
176 |
6 |
| fpu_cvt_s |
|
6 |
23 |
127 |
6 |
| fpu_cvt_w |
|
8 |
26 |
176 |
6 |
| fpu_div |
|
4 |
18 |
145 |
6 |
| fpu_floor_l |
|
1 |
5 |
44 |
6 |
| fpu_floor_w |
|
1 |
5 |
44 |
6 |
| fpu_madd |
|
4 |
23 |
179 |
7 |
| fpu_mov |
|
4 |
12 |
80 |
6 |
| fpu_movcf |
|
8 |
19 |
134 |
6 |
| fpu_movn |
|
5 |
13 |
96 |
6 |
| fpu_movz |
|
5 |
13 |
96 |
6 |
| fpu_msub |
|
4 |
23 |
179 |
7 |
| fpu_mul |
|
4 |
18 |
145 |
6 |
| fpu_neg |
|
7 |
29 |
167 |
6 |
| fpu_nmadd |
|
6 |
31 |
217 |
7 |
| fpu_nmsub |
|
6 |
31 |
217 |
7 |
| fpu_recip |
|
5 |
19 |
131 |
6 |
| fpu_round_l |
|
1 |
5 |
44 |
6 |
| fpu_round_w |
|
1 |
5 |
44 |
6 |
| fpu_rsqrt |
|
7 |
25 |
185 |
6 |
| fpu_sqrt |
|
5 |
19 |
127 |
6 |
| fpu_sub |
|
4 |
18 |
145 |
6 |
| fpu_trunc_l |
|
1 |
5 |
44 |
6 |
| fpu_trunc_w |
|
1 |
5 |
44 |
6 |
| nofpu_emulate_cop1 |
|
40 |
106 |
730 |
4 |
| nofpu_emulate_cop1x |
|
22 |
80 |
621 |
4 |
| nofpu_emulate_loadstore |
|
17 |
66 |
552 |
4 |
| nofpu_emulate_movci |
|
8 |
18 |
149 |
2 |
| Source file: ./sys/arch/landisk/stand/boot/delay.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tick_init |
|
1 |
9 |
44 |
1 |
| tick_stop |
|
1 |
4 |
13 |
1 |
| gettick |
|
1 |
4 |
14 |
1 |
| delay |
|
3 |
11 |
49 |
1 |
| Source file: ./sys/arch/landisk/stand/boot/conf.c |
| Source file: ./sys/arch/landisk/include/bus.h |
| Source file: ./sys/arch/landisk/stand/boot/scifcons.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| scif_init |
|
1 |
14 |
80 |
1 |
| scif_cnprobe |
|
1 |
4 |
15 |
1 |
| scif_cninit |
|
1 |
4 |
14 |
1 |
| scif_cngetc |
|
9 |
35 |
202 |
1 |
| scif_cnputc |
|
2 |
7 |
42 |
2 |
| Source file: ./sys/arch/landisk/stand/boot/libsa.h |
| Source file: ./sys/arch/landisk/stand/xxboot/boot1.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| boot1 |
|
11 |
27 |
175 |
1 |
| blkdevopen |
|
1 |
4 |
14 |
2 |
| blkdevclose |
|
1 |
4 |
12 |
1 |
| blkdevstrategy |
|
6 |
13 |
85 |
6 |
| raise |
|
1 |
4 |
10 |
1 |
| twiddle |
|
1 |
6 |
26 |
1 |
| devopen |
|
1 |
7 |
48 |
3 |
| Source file: ./sys/arch/landisk/stand/boot/devs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| machdep |
|
1 |
5 |
14 |
1 |
| devopen |
|
4 |
9 |
76 |
3 |
| devboot |
|
1 |
7 |
36 |
2 |
| ttyname |
|
1 |
4 |
10 |
1 |
| ttydev |
|
1 |
4 |
11 |
1 |
| cnspeed |
|
1 |
5 |
18 |
2 |
| run_loadfile |
|
1 |
8 |
57 |
2 |
| blkdevopen |
|
1 |
4 |
14 |
2 |
| blkdevstrategy |
|
6 |
13 |
85 |
6 |
| blkdevclose |
|
1 |
4 |
12 |
1 |
| Source file: ./sys/arch/landisk/landisk/autoconf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| device_register |
|
1 |
3 |
13 |
2 |
| cpu_configure |
|
2 |
10 |
42 |
1 |
| diskconf |
|
1 |
8 |
44 |
1 |
| Source file: ./sys/arch/landisk/stand/boot/getsecs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rtc_init |
|
1 |
6 |
21 |
1 |
| rtc_ce |
|
2 |
9 |
45 |
1 |
| rtc_clk |
|
2 |
9 |
29 |
1 |
| rtc_dir |
|
2 |
9 |
29 |
1 |
| rtc_do |
|
2 |
11 |
39 |
1 |
| rtc_di |
|
2 |
8 |
34 |
1 |
| rtc_read |
|
1 |
29 |
154 |
1 |
| rtc_write |
|
1 |
23 |
125 |
2 |
| getsecs |
|
5 |
24 |
160 |
1 |
| Source file: ./sys/arch/landisk/landisk/disksubr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| readdisklabel |
|
8 |
26 |
157 |
4 |
| writedisklabel |
|
4 |
30 |
213 |
3 |
| Source file: ./sys/arch/landisk/landisk/shpcic_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| shpcic_get_bus_io_tag |
|
1 |
5 |
15 |
1 |
| shpcic_get_bus_mem_tag |
|
1 |
5 |
15 |
1 |
| shpcic_get_bus_dma_tag |
|
1 |
5 |
15 |
1 |
| landisk_pci_attach_hook |
|
1 |
4 |
19 |
3 |
| landisk_pci_intr_map |
|
9 |
27 |
163 |
2 |
| landisk_pci_intr_string |
|
2 |
8 |
48 |
2 |
| landisk_pci_intr_establish |
|
2 |
7 |
60 |
6 |
| landisk_pci_intr_disestablish |
|
1 |
4 |
17 |
2 |
| landisk_pci_conf_interrupt |
|
5 |
9 |
88 |
6 |
| landisk_pci_conf_hook |
|
1 |
4 |
27 |
5 |
| Source file: ./sys/arch/landisk/landisk/machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cpu_startup |
|
1 |
6 |
27 |
1 |
| landisk_startup |
|
6 |
31 |
180 |
2 |
| boot |
|
9 |
43 |
205 |
1 |
| machine_reset |
|
2 |
9 |
40 |
1 |
| InitializeBsc |
|
11 |
21 |
126 |
1 |
| cpu_dump |
|
3 |
22 |
196 |
2 |
| cpu_dumpsize |
|
1 |
6 |
43 |
1 |
| cpu_init_kcore_hdr |
|
2 |
16 |
112 |
1 |
| cpu_sysctl |
|
6 |
26 |
145 |
7 |
| blink_led |
|
2 |
16 |
96 |
1 |
| Source file: ./sys/arch/landisk/landisk/clock_machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| machine_clock_init |
|
1 |
4 |
14 |
1 |
| landisk_rtc_init |
|
1 |
3 |
8 |
1 |
| Source file: ./sys/arch/landisk/landisk/consinit.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| consinit |
|
2 |
8 |
24 |
1 |
| Source file: ./sys/arch/landisk/landisk/landiskreg.h |
| Source file: ./sys/arch/landisk/landisk/mainbus.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mainbus_match |
|
2 |
6 |
31 |
3 |
| mainbus_attach |
|
3 |
25 |
194 |
3 |
| mainbus_print |
|
2 |
4 |
22 |
2 |
| Source file: ./sys/arch/landisk/landisk/conf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| iskmemdev |
|
2 |
5 |
26 |
1 |
| iszerodev |
|
2 |
5 |
26 |
1 |
| getnulldev |
|
1 |
4 |
14 |
1 |
| Source file: ./sys/arch/luna88k/dev/if_le.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| lewrcsr |
|
1 |
6 |
44 |
3 |
| lerdcsr |
|
1 |
8 |
49 |
2 |
| le_match |
|
2 |
7 |
47 |
3 |
| le_attach |
|
1 |
24 |
195 |
3 |
| myetheraddr |
|
9 |
41 |
363 |
1 |
| Source file: ./sys/arch/luna88k/dev/sioreg.h |
| Source file: ./sys/arch/luna88k/dev/siovar.h |
| Source file: ./sys/arch/luna88k/dev/maskbits.h |
| Source file: ./sys/arch/luna88k/dev/omrasops.h |
| Source file: ./sys/arch/landisk/dev/obio.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| obio_match |
|
2 |
7 |
49 |
3 |
| obio_attach |
|
1 |
9 |
67 |
3 |
| obio_search |
|
5 |
33 |
255 |
3 |
| obio_print |
|
12 |
43 |
316 |
2 |
| obio_intr_establish |
|
1 |
5 |
43 |
5 |
| obio_intr_disestablish |
|
1 |
4 |
13 |
1 |
| obio_iomem_add_mapping |
|
8 |
38 |
222 |
4 |
| obio_iomem_map |
|
3 |
13 |
92 |
5 |
| obio_iomem_unmap |
|
5 |
16 |
101 |
3 |
| obio_iomem_subregion |
|
1 |
6 |
33 |
5 |
| obio_iomem_alloc |
|
1 |
7 |
47 |
9 |
| obio_iomem_free |
|
1 |
4 |
23 |
3 |
| obio_iomem_vaddr |
|
1 |
4 |
20 |
2 |
| obio_iomem_read_1 |
|
1 |
4 |
27 |
3 |
| obio_iomem_read_2 |
|
1 |
4 |
27 |
3 |
| obio_iomem_read_4 |
|
1 |
4 |
27 |
3 |
| obio_iomem_read_multi_1 |
|
2 |
8 |
50 |
5 |
| obio_iomem_read_multi_2 |
|
2 |
8 |
50 |
5 |
| obio_iomem_read_multi_4 |
|
2 |
8 |
50 |
5 |
| obio_iomem_read_raw_multi_2 |
|
2 |
10 |
62 |
5 |
| obio_iomem_read_raw_multi_4 |
|
2 |
10 |
62 |
5 |
| obio_iomem_read_region_1 |
|
2 |
8 |
51 |
5 |
| obio_iomem_read_region_2 |
|
2 |
8 |
51 |
5 |
| obio_iomem_read_region_4 |
|
2 |
8 |
51 |
5 |
| obio_iomem_read_raw_region_2 |
|
2 |
10 |
63 |
5 |
| obio_iomem_read_raw_region_4 |
|
2 |
10 |
63 |
5 |
| obio_iomem_write_1 |
|
1 |
5 |
31 |
4 |
| obio_iomem_write_2 |
|
1 |
5 |
31 |
4 |
| obio_iomem_write_4 |
|
1 |
5 |
31 |
4 |
| obio_iomem_write_multi_1 |
|
2 |
8 |
51 |
5 |
| obio_iomem_write_multi_2 |
|
2 |
8 |
51 |
5 |
| obio_iomem_write_multi_4 |
|
2 |
8 |
51 |
5 |
| obio_iomem_write_raw_multi_2 |
|
2 |
10 |
63 |
5 |
| obio_iomem_write_raw_multi_4 |
|
2 |
10 |
63 |
5 |
| obio_iomem_write_region_1 |
|
2 |
8 |
52 |
5 |
| obio_iomem_write_region_2 |
|
2 |
8 |
52 |
5 |
| obio_iomem_write_region_4 |
|
2 |
8 |
52 |
5 |
| obio_iomem_write_raw_region_2 |
|
2 |
10 |
64 |
5 |
| obio_iomem_write_raw_region_4 |
|
2 |
10 |
64 |
5 |
| obio_iomem_set_multi_1 |
|
2 |
8 |
47 |
5 |
| obio_iomem_set_multi_2 |
|
2 |
8 |
47 |
5 |
| obio_iomem_set_multi_4 |
|
2 |
8 |
47 |
5 |
| obio_iomem_set_region_1 |
|
2 |
8 |
48 |
5 |
| obio_iomem_set_region_2 |
|
2 |
8 |
48 |
5 |
| obio_iomem_set_region_4 |
|
2 |
8 |
48 |
5 |
| obio_iomem_copy_1 |
|
4 |
17 |
106 |
6 |
| obio_iomem_copy_2 |
|
4 |
17 |
106 |
6 |
| obio_iomem_copy_4 |
|
4 |
17 |
106 |
6 |
| Source file: ./sys/arch/landisk/landisk/intr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| intc_intr |
|
16 |
45 |
307 |
3 |
| intr_init |
|
1 |
4 |
13 |
1 |
| extintr_establish |
|
12 |
48 |
340 |
5 |
| extintr_disestablish |
|
7 |
25 |
174 |
1 |
| extintr_enable |
|
6 |
28 |
166 |
1 |
| extintr_disable |
|
6 |
28 |
167 |
1 |
| extintr_disable_by_num |
|
3 |
15 |
92 |
1 |
| fakeintr |
|
1 |
4 |
11 |
1 |
| extintr_intr_handler |
|
6 |
20 |
111 |
1 |
| splassert_check |
|
2 |
11 |
65 |
2 |
| Source file: ./sys/arch/landisk/landisk/bus_dma.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _bus_dmamap_create |
|
3 |
25 |
188 |
7 |
| _bus_dmamap_destroy |
|
1 |
5 |
30 |
2 |
| _bus_dmamap_load_paddr |
|
10 |
42 |
308 |
5 |
| _bus_dmamap_load_vaddr |
|
6 |
27 |
169 |
5 |
| _bus_dmamap_load |
|
4 |
17 |
122 |
6 |
| _bus_dmamap_load_mbuf |
|
7 |
23 |
142 |
4 |
| _bus_dmamap_load_uio |
|
1 |
5 |
23 |
4 |
| _bus_dmamap_load_raw |
|
1 |
5 |
28 |
6 |
| _bus_dmamap_unload |
|
1 |
6 |
33 |
2 |
| _bus_dmamap_sync |
|
22 |
64 |
392 |
5 |
| _bus_dmamem_alloc |
|
6 |
40 |
300 |
8 |
| _bus_dmamem_free |
|
3 |
20 |
153 |
3 |
| _bus_dmamem_map |
|
8 |
37 |
298 |
6 |
| _bus_dmamem_unmap |
|
5 |
14 |
101 |
3 |
| _bus_dmamem_mmap |
|
1 |
5 |
32 |
6 |
| Source file: ./sys/arch/luna88k/dev/spc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| spc_mainbus_match |
|
4 |
9 |
60 |
3 |
| spc_mainbus_attach |
|
1 |
14 |
103 |
3 |
| Source file: ./sys/arch/luna88k/dev/omrasops1.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| om1_windowmove |
|
23 |
129 |
759 |
9 |
| om4_windowmove |
|
23 |
183 |
1338 |
9 |
| Source file: ./sys/arch/luna88k/dev/mb89352reg.h |
| Source file: ./sys/arch/luna88k/dev/timekeeper.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| clock_match |
|
2 |
7 |
43 |
3 |
| clock_attach |
|
3 |
25 |
180 |
3 |
| mkclock_get |
|
3 |
22 |
237 |
3 |
| mkclock_set |
|
2 |
23 |
273 |
2 |
| dsclock_get |
|
5 |
31 |
238 |
3 |
| dsclock_set |
|
2 |
26 |
202 |
2 |
| Source file: ./sys/arch/luna88k/dev/lcd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| lcd_match |
|
3 |
9 |
60 |
3 |
| lcd_attach |
|
1 |
5 |
27 |
3 |
| lcdopen |
|
4 |
13 |
78 |
4 |
| lcdclose |
|
1 |
8 |
49 |
4 |
| lcdwrite |
|
4 |
16 |
91 |
3 |
| lcdioctl |
|
25 |
66 |
254 |
5 |
| lcdbusywait |
|
2 |
16 |
93 |
0 |
| lcdput |
|
1 |
12 |
69 |
1 |
| lcdctrl |
|
1 |
12 |
69 |
1 |
| lcdshow |
|
2 |
6 |
29 |
1 |
| greeting |
|
1 |
12 |
60 |
0 |
| Source file: ./sys/arch/luna88k/dev/siotty.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| siotty_match |
|
2 |
7 |
38 |
3 |
| siotty_attach |
|
5 |
47 |
415 |
3 |
| siottyintr |
|
9 |
47 |
252 |
1 |
| siottysoft |
|
3 |
15 |
70 |
1 |
| siotty_rxsoft |
|
7 |
33 |
199 |
2 |
| siotty_txsoft |
|
2 |
9 |
77 |
2 |
| siostart |
|
3 |
24 |
149 |
1 |
| siostop |
|
2 |
10 |
55 |
2 |
| sioparam |
|
13 |
44 |
343 |
2 |
| siomctl |
|
12 |
41 |
203 |
3 |
| sioopen |
|
11 |
41 |
293 |
4 |
| sioclose |
|
5 |
16 |
134 |
4 |
| sioread |
|
1 |
6 |
59 |
3 |
| siowrite |
|
1 |
6 |
59 |
3 |
| sioioctl |
|
14 |
50 |
308 |
5 |
| siotty |
|
1 |
5 |
27 |
1 |
| setsioreg |
|
2 |
6 |
33 |
3 |
| getsiocsr |
|
1 |
8 |
36 |
1 |
| syscnattach |
|
1 |
15 |
128 |
1 |
| syscngetc |
|
2 |
12 |
69 |
1 |
| syscnputc |
|
2 |
12 |
73 |
2 |
| Source file: ./sys/arch/luna88k/dev/omkbdmap.c |
| Source file: ./sys/arch/luna88k/dev/omkbdmap.h |
| Source file: ./sys/arch/luna88k/dev/lunaws.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wsmatch |
|
2 |
7 |
38 |
3 |
| wsattach |
|
2 |
37 |
341 |
3 |
| ws_submatch_kbd |
|
2 |
7 |
61 |
3 |
| ws_submatch_mouse |
|
2 |
7 |
61 |
3 |
| wsintr |
|
5 |
22 |
131 |
1 |
| wssoftintr |
|
10 |
31 |
223 |
1 |
| omkbd_input |
|
7 |
25 |
145 |
2 |
| omkbd_decode |
|
2 |
5 |
39 |
4 |
| ws_cngetc |
|
1 |
6 |
40 |
3 |
| ws_cnpollc |
|
1 |
3 |
11 |
2 |
| ws_cnattach |
|
1 |
5 |
21 |
0 |
| omkbd_enable |
|
1 |
4 |
14 |
2 |
| omkbd_set_leds |
|
2 |
7 |
51 |
2 |
| omkbd_ioctl |
|
9 |
20 |
103 |
5 |
| omms_enable |
|
1 |
7 |
34 |
1 |
| omms_ioctl |
|
2 |
9 |
47 |
5 |
| omms_disable |
|
1 |
6 |
31 |
1 |
| Source file: ./sys/arch/luna88k/dev/mb89352var.h |
| Source file: ./sys/arch/luna88k/dev/xp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| put_pio0c |
|
1 |
6 |
46 |
2 |
| xp_match |
|
4 |
12 |
65 |
3 |
| xp_attach |
|
1 |
8 |
52 |
3 |
| xpopen |
|
4 |
16 |
91 |
4 |
| xpclose |
|
2 |
12 |
73 |
4 |
| xpioctl |
|
7 |
40 |
233 |
5 |
| xpmmap |
|
3 |
14 |
78 |
3 |
| Source file: ./sys/arch/luna88k/dev/timekeeper.h |
| Source file: ./sys/arch/luna88k/include/pmap.h |
| Source file: ./sys/arch/luna88k/include/disklabel.h |
| Source file: ./sys/arch/luna88k/include/asm_macro.h |
| Source file: ./sys/arch/luna88k/include/kcore.h |
| Source file: ./sys/arch/luna88k/dev/omrasops.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| om1_putchar |
|
7 |
52 |
482 |
5 |
| om4_putchar |
|
14 |
107 |
917 |
5 |
| om_erasecols |
|
2 |
14 |
146 |
5 |
| om_eraserows |
|
4 |
21 |
187 |
4 |
| om_copyrows |
|
1 |
11 |
89 |
4 |
| om_copycols |
|
1 |
12 |
106 |
5 |
| om1_cursor |
|
6 |
47 |
348 |
4 |
| om4_cursor |
|
6 |
51 |
370 |
4 |
| setup_omrasops1 |
|
1 |
8 |
39 |
1 |
| setup_omrasops4 |
|
1 |
9 |
47 |
1 |
| Source file: ./sys/arch/luna88k/include/profile.h |
| Source file: ./sys/arch/luna88k/include/mmu.h |
| Source file: ./sys/arch/luna88k/include/xpio.h |
| Source file: ./sys/arch/luna88k/include/vmparam.h |
| Source file: ./sys/arch/luna88k/include/lock.h |
| Source file: ./sys/arch/luna88k/include/_float.h |
| Source file: ./sys/arch/luna88k/include/m8820x.h |
| Source file: ./sys/arch/luna88k/include/exec.h |
| Source file: ./sys/arch/luna88k/dev/sio.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sio_match |
|
3 |
9 |
60 |
3 |
| sio_attach |
|
2 |
18 |
137 |
3 |
| sio_print |
|
3 |
9 |
54 |
2 |
| xsiointr |
|
1 |
7 |
62 |
1 |
| nullintr |
|
1 |
3 |
8 |
1 |
| Source file: ./sys/arch/luna88k/include/spinlock.h |
| Source file: ./sys/arch/luna88k/include/stdarg.h |
| Source file: ./sys/arch/luna88k/include/tcb.h |
| Source file: ./sys/arch/luna88k/include/_types.h |
| Source file: ./sys/arch/luna88k/include/ieee.h |
| Source file: ./sys/arch/luna88k/include/ieeefp.h |
| Source file: ./sys/arch/luna88k/include/board.h |
| Source file: ./sys/arch/luna88k/include/loadfile_machdep.h |
| Source file: ./sys/arch/luna88k/include/mutex.h |
| Source file: ./sys/arch/luna88k/include/fenv.h |
| Source file: ./sys/arch/luna88k/include/cpu.h |
| Source file: ./sys/arch/luna88k/include/endian.h |
| Source file: ./sys/arch/luna88k/include/frame.h |
| Source file: ./sys/arch/luna88k/include/cdefs.h |
| Source file: ./sys/arch/luna88k/include/varargs.h |
| Source file: ./sys/arch/luna88k/include/intr.h |
| Source file: ./sys/arch/luna88k/include/ptrace.h |
| Source file: ./sys/arch/luna88k/include/limits.h |
| Source file: ./sys/arch/luna88k/include/atomic.h |
| Source file: ./sys/arch/luna88k/include/lcd.h |
| Source file: ./sys/arch/luna88k/include/pmap_table.h |
| Source file: ./sys/arch/luna88k/include/cmmu.h |
| Source file: ./sys/arch/luna88k/include/psl.h |
| Source file: ./sys/arch/luna88k/include/proc.h |
| Source file: ./sys/arch/luna88k/include/mplock.h |
| Source file: ./sys/arch/luna88k/include/setjmp.h |
| Source file: ./sys/arch/luna88k/include/reloc.h |
| Source file: ./sys/arch/luna88k/include/conf.h |
| Source file: ./sys/arch/luna88k/include/pcb.h |
| Source file: ./sys/arch/luna88k/include/m88100.h |
| Source file: ./sys/arch/luna88k/include/db_machdep.h |
| Source file: ./sys/arch/luna88k/include/autoconf.h |
| Source file: ./sys/arch/luna88k/include/asm.h |
| Source file: ./sys/arch/luna88k/include/signal.h |
| Source file: ./sys/arch/luna88k/include/param.h |
| Source file: ./sys/arch/luna88k/include/reg.h |
| Source file: ./sys/arch/luna88k/include/pcex.h |
| Source file: ./sys/arch/luna88k/include/trap.h |
| Source file: ./sys/arch/luna88k/include/fpu.h |
| Source file: ./sys/arch/luna88k/stand/boot/awaitkey.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| print_countdown |
|
2 |
9 |
61 |
2 |
| awaitkey |
|
9 |
28 |
129 |
3 |
| Source file: ./sys/arch/luna88k/stand/boot/scsivar.h |
| Source file: ./sys/arch/luna88k/stand/boot/if_le.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| leinit |
|
3 |
16 |
97 |
1 |
| le_match |
|
6 |
14 |
85 |
2 |
| le_probe |
|
1 |
4 |
16 |
2 |
| le_init |
|
2 |
13 |
92 |
2 |
| le_get |
|
3 |
15 |
102 |
4 |
| le_put |
|
3 |
12 |
109 |
3 |
| le_end |
|
2 |
7 |
46 |
1 |
| myetheraddr |
|
9 |
41 |
365 |
1 |
| Source file: ./sys/arch/luna88k/stand/boot/lance.h |
| Source file: ./sys/arch/luna88k/stand/boot/bcd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bcdtobin |
|
1 |
4 |
30 |
1 |
| bintobcd |
|
1 |
4 |
32 |
1 |
| Source file: ./sys/arch/luna88k/include/bus.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bus_space_map |
|
1 |
6 |
39 |
5 |
| bus_space_unmap |
|
1 |
4 |
15 |
3 |
| bus_space_subregion |
|
1 |
6 |
30 |
5 |
| bus_space_alloc |
|
1 |
6 |
38 |
9 |
| bus_space_free |
|
1 |
4 |
18 |
3 |
| bus_space_read_multi_1 |
|
2 |
6 |
43 |
5 |
| bus_space_read_multi_2 |
|
2 |
6 |
43 |
5 |
| bus_space_read_multi_4 |
|
2 |
6 |
43 |
5 |
| bus_space_read_raw_multi_2 |
|
2 |
10 |
57 |
5 |
| bus_space_read_raw_multi_4 |
|
2 |
10 |
57 |
5 |
| bus_space_read_region_1 |
|
2 |
6 |
44 |
5 |
| bus_space_read_region_2 |
|
2 |
8 |
49 |
5 |
| bus_space_read_region_4 |
|
2 |
8 |
49 |
5 |
| bus_space_write_multi_1 |
|
2 |
6 |
43 |
5 |
| bus_space_write_multi_2 |
|
2 |
6 |
43 |
5 |
| bus_space_write_multi_4 |
|
2 |
6 |
43 |
5 |
| bus_space_write_raw_multi_2 |
|
2 |
9 |
57 |
5 |
| bus_space_write_raw_multi_4 |
|
2 |
9 |
57 |
5 |
| bus_space_write_region_1 |
|
2 |
6 |
44 |
5 |
| bus_space_write_region_2 |
|
2 |
8 |
49 |
5 |
| bus_space_write_region_4 |
|
2 |
8 |
49 |
5 |
| bus_space_set_multi_1 |
|
2 |
6 |
40 |
5 |
| bus_space_set_multi_2 |
|
2 |
6 |
40 |
5 |
| bus_space_set_multi_4 |
|
2 |
6 |
40 |
5 |
| bus_space_set_region_1 |
|
2 |
6 |
41 |
5 |
| bus_space_set_region_2 |
|
2 |
8 |
46 |
5 |
| bus_space_set_region_4 |
|
2 |
8 |
46 |
5 |
| Source file: ./sys/arch/luna88k/stand/boot/sioreg.h |
| Source file: ./sys/arch/luna88k/dev/lunafb.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| omfbmatch |
|
5 |
11 |
77 |
3 |
| omfbattach |
|
2 |
22 |
150 |
3 |
| omfb_cnattach |
|
1 |
11 |
75 |
1 |
| omfbioctl |
|
15 |
39 |
209 |
5 |
| omfbmmap |
|
7 |
13 |
113 |
3 |
| omgetcmap |
|
7 |
21 |
177 |
2 |
| omsetcmap |
|
11 |
43 |
429 |
2 |
| omfb_getdevconfig |
|
8 |
57 |
395 |
2 |
| omfb_alloc_screen |
|
2 |
14 |
104 |
6 |
| omfb_free_screen |
|
1 |
5 |
24 |
2 |
| omfb_show_screen |
|
1 |
5 |
36 |
5 |
| omfb_load_font |
|
1 |
6 |
46 |
3 |
| omfb_list_font |
|
1 |
6 |
40 |
2 |
| omfb_set_gfxmode |
|
10 |
33 |
186 |
2 |
| omfb_clear_framebuffer |
|
2 |
9 |
86 |
1 |
| omfb_set_default_cmap |
|
12 |
54 |
454 |
1 |
| Source file: ./sys/arch/luna88k/stand/boot/fault.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| get_vbr |
|
1 |
6 |
22 |
0 |
| set_vbr |
|
1 |
4 |
18 |
1 |
| libsa_fault_handler |
|
1 |
6 |
23 |
1 |
| br |
|
1 |
4 |
24 |
1 |
| libsa_fault_init |
|
2 |
16 |
98 |
0 |
| badaddr |
|
8 |
42 |
191 |
2 |
| Source file: ./sys/arch/luna88k/stand/boot/lance.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| lance_attach |
|
3 |
17 |
98 |
4 |
| lance_cookie |
|
3 |
10 |
43 |
1 |
| lance_eaddr |
|
3 |
7 |
35 |
1 |
| lance_init |
|
3 |
10 |
45 |
1 |
| lance_get |
|
8 |
35 |
249 |
3 |
| lance_put |
|
9 |
44 |
290 |
3 |
| lance_end |
|
1 |
8 |
39 |
1 |
| lance_set_initblock |
|
1 |
16 |
98 |
1 |
| lance_do_initialize |
|
3 |
23 |
119 |
1 |
| lance_setup |
|
4 |
38 |
417 |
1 |
| Source file: ./sys/arch/luna88k/stand/boot/bmc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bmccnprobe |
|
3 |
13 |
57 |
1 |
| bmccninit |
|
1 |
5 |
17 |
1 |
| bmccngetc |
|
2 |
10 |
41 |
1 |
| bmccnputc |
|
1 |
4 |
15 |
2 |
| Source file: ./sys/arch/luna88k/dev/mb89352.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| spc_attach |
|
2 |
18 |
148 |
2 |
| spc_reset |
|
1 |
21 |
186 |
1 |
| spc_scsi_reset |
|
1 |
10 |
80 |
1 |
| spc_init |
|
8 |
51 |
390 |
1 |
| spc_acb_free |
|
1 |
10 |
67 |
2 |
| spc_acb_alloc |
|
2 |
12 |
72 |
1 |
| spc_scsi_cmd |
|
6 |
40 |
280 |
1 |
| spc_poll |
|
4 |
15 |
88 |
3 |
| spc_sched_msgout |
|
2 |
9 |
58 |
2 |
| spc_setsync |
|
3 |
11 |
87 |
2 |
| spc_select |
|
2 |
19 |
170 |
2 |
| spc_reselect |
|
7 |
50 |
325 |
2 |
| spc_sched |
|
3 |
24 |
160 |
1 |
| spc_sense |
|
4 |
27 |
223 |
2 |
| spc_done |
|
14 |
51 |
309 |
2 |
| spc_dequeue |
|
2 |
8 |
54 |
2 |
| spc_msgin |
|
57 |
206 |
1277 |
1 |
| spc_msgout |
|
33 |
123 |
805 |
1 |
| spc_dataout_pio |
|
26 |
84 |
566 |
3 |
| spc_datain_pio |
|
28 |
75 |
500 |
3 |
| spc_intr |
|
60 |
253 |
1609 |
1 |
| spc_abort |
|
4 |
14 |
86 |
2 |
| spc_timeout |
|
2 |
19 |
104 |
1 |
| spc_show_scsi_cmd |
|
4 |
16 |
103 |
1 |
| spc_print_acb |
|
1 |
7 |
45 |
1 |
| spc_print_active_acb |
|
2 |
14 |
84 |
0 |
| spc_dump89352 |
|
2 |
26 |
189 |
1 |
| spc_dump_driver |
|
2 |
15 |
120 |
1 |
| Source file: ./sys/arch/luna88k/stand/boot/samachdep.h |
| Source file: ./sys/arch/luna88k/stand/boot/status.h |
| Source file: ./sys/arch/luna88k/stand/boot/kbd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| kbd_decode |
|
12 |
35 |
174 |
1 |
| Source file: ./sys/arch/luna88k/stand/boot/conf.c |
| Source file: ./sys/arch/luna88k/stand/boot/bmd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bmd_escape |
|
2 |
14 |
60 |
1 |
| bmd_escape_0 |
|
9 |
36 |
191 |
1 |
| bmd_escape_1 |
|
5 |
29 |
207 |
1 |
| bmdinit |
|
2 |
37 |
319 |
1 |
| bmdadjust |
|
1 |
9 |
58 |
2 |
| bmdputc |
|
16 |
79 |
452 |
1 |
| bmdclear |
|
1 |
11 |
73 |
1 |
| bmd_draw_char |
|
9 |
53 |
583 |
5 |
| bmd_reverse_char |
|
9 |
47 |
539 |
4 |
| bmd_erase_char |
|
1 |
5 |
33 |
4 |
| bmd_erase_screen |
|
3 |
10 |
55 |
1 |
| bmd_scroll_screen |
|
5 |
20 |
167 |
6 |
| Source file: ./sys/arch/luna88k/stand/boot/ufs_disksubr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sun_extended_sum |
|
2 |
10 |
65 |
2 |
| readdisklabel |
|
25 |
106 |
823 |
3 |
| Source file: ./sys/arch/luna88k/stand/boot/devopen.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| devopen |
|
8 |
27 |
206 |
3 |
| make_device |
|
27 |
55 |
397 |
5 |
| Source file: ./sys/arch/luna88k/stand/boot/init_main.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
14 |
59 |
356 |
1 |
| get_plane_numbers |
|
3 |
9 |
47 |
1 |
| get_fuse_rom_data |
|
2 |
11 |
79 |
1 |
| get_nvram_data |
|
7 |
30 |
265 |
1 |
| nvram_by_symbol |
|
3 |
14 |
71 |
1 |
| _rtt |
|
2 |
5 |
23 |
1 |
| Source file: ./sys/arch/luna88k/stand/boot/sd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sdident |
|
25 |
68 |
504 |
1 |
| sdinit |
|
6 |
33 |
233 |
2 |
| sdopen |
|
4 |
17 |
102 |
2 |
| sdclose |
|
1 |
7 |
36 |
1 |
| sdstrategy |
|
6 |
34 |
308 |
6 |
| Source file: ./sys/arch/luna88k/stand/boot/getline.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| getline |
|
11 |
43 |
194 |
2 |
| Source file: ./sys/arch/luna88k/stand/boot/prf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| getchar |
|
4 |
12 |
53 |
1 |
| tgetchar |
|
4 |
12 |
55 |
1 |
| putchar |
|
2 |
6 |
23 |
1 |
| Source file: ./sys/arch/luna88k/stand/boot/dev_net.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| net_open |
|
13 |
42 |
196 |
2 |
| net_close |
|
8 |
19 |
83 |
1 |
| net_ioctl |
|
1 |
4 |
19 |
3 |
| net_strategy |
|
1 |
5 |
28 |
6 |
| net_getparams |
|
22 |
47 |
239 |
1 |
| Source file: ./sys/arch/luna88k/stand/boot/dev_net.h |
| Source file: ./sys/arch/luna88k/stand/boot/getsecs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| getsecs |
|
4 |
33 |
225 |
1 |
| Source file: ./sys/arch/luna88k/stand/boot/kbdreg.h |
| Source file: ./sys/arch/luna88k/stand/boot/parse.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| exit_program |
|
1 |
4 |
18 |
2 |
| cmd_help |
|
1 |
5 |
21 |
2 |
| parse |
|
3 |
11 |
88 |
2 |
| getargs |
|
6 |
16 |
100 |
3 |
| Source file: ./sys/arch/luna88k/stand/boot/scsireg.h |
| Source file: ./sys/arch/luna88k/stand/boot/rcvbuf.h |
| Source file: ./sys/arch/luna88k/stand/boot/sc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| scinit |
|
5 |
30 |
160 |
2 |
| screset |
|
5 |
22 |
125 |
1 |
| issue_select |
|
1 |
10 |
65 |
2 |
| ixfer_start |
|
1 |
8 |
72 |
4 |
| ixfer_out |
|
3 |
9 |
51 |
3 |
| ixfer_in |
|
3 |
9 |
51 |
3 |
| scrun |
|
4 |
23 |
164 |
7 |
| scfinish |
|
1 |
15 |
84 |
1 |
| scabort |
|
14 |
39 |
290 |
2 |
| scsi_test_unit_rdy |
|
9 |
24 |
154 |
3 |
| scsi_request_sense |
|
9 |
25 |
160 |
5 |
| scsi_immed_command |
|
9 |
25 |
177 |
6 |
| scintr |
|
25 |
101 |
626 |
1 |
| Source file: ./sys/arch/luna88k/stand/boot/boot.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| get_boot_device |
|
13 |
31 |
201 |
4 |
| boot |
|
2 |
10 |
48 |
2 |
| bootunix |
|
10 |
42 |
298 |
1 |
| loadrandom |
|
7 |
20 |
135 |
3 |
| Source file: ./sys/arch/luna88k/cbus/nec86reg.h |
| Source file: ./sys/arch/luna88k/cbus/necsb.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| necsb_match |
|
2 |
7 |
43 |
3 |
| necsb_attach |
|
5 |
24 |
177 |
3 |
| Source file: ./sys/arch/luna88k/stand/boot/sio.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _siointr |
|
3 |
7 |
33 |
1 |
| siointr |
|
6 |
20 |
135 |
1 |
| siocnprobe |
|
2 |
11 |
71 |
1 |
| siocninit |
|
1 |
6 |
24 |
1 |
| siocngetc |
|
2 |
9 |
40 |
1 |
| siocnputc |
|
4 |
11 |
90 |
2 |
| sioinit |
|
1 |
21 |
220 |
1 |
| sioreg |
|
4 |
15 |
98 |
2 |
| Source file: ./sys/arch/luna88k/cbus/cbus.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cbus_match |
|
4 |
9 |
60 |
3 |
| cbus_attach |
|
3 |
20 |
174 |
3 |
| cbus_print |
|
3 |
9 |
56 |
2 |
| cbus_isrlink |
|
8 |
28 |
189 |
5 |
| cbus_isrunlink |
|
8 |
26 |
181 |
2 |
| cbus_isrdispatch |
|
11 |
32 |
187 |
1 |
| cbus_intr_registered |
|
3 |
9 |
46 |
1 |
| cbus_intr |
|
5 |
18 |
115 |
1 |
| Source file: ./sys/arch/luna88k/cbus/pcex.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pcex_match |
|
2 |
7 |
43 |
3 |
| pcex_attach |
|
2 |
9 |
62 |
3 |
| pcexopen |
|
3 |
10 |
41 |
4 |
| pcexclose |
|
1 |
4 |
23 |
4 |
| pcexmmap |
|
7 |
17 |
87 |
3 |
| pcexioctl |
|
6 |
20 |
110 |
5 |
| pcex_set_int |
|
3 |
11 |
72 |
2 |
| pcex_reset_int |
|
3 |
10 |
54 |
2 |
| pcex_wait_int |
|
5 |
13 |
75 |
2 |
| pcex_intr |
|
2 |
6 |
23 |
1 |
| Source file: ./sys/arch/luna88k/cbus/cbusvar.h |
| Source file: ./sys/arch/luna88k/cbus/nec86var.h |
| Source file: ./sys/arch/luna88k/cbus/nec86.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| nec86_ym_read |
|
1 |
8 |
65 |
3 |
| nec86_ym_write |
|
1 |
8 |
63 |
3 |
| nec86_probesubr |
|
9 |
21 |
96 |
3 |
| nec86_attachsubr |
|
9 |
61 |
330 |
1 |
| Source file: ./sys/arch/luna88k/luna88k/m8820x.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| m8820x_setup_board_config |
|
6 |
32 |
256 |
0 |
| m8820x_cpu_number |
|
7 |
24 |
142 |
0 |
| Source file: ./sys/arch/luna88k/cbus/nec86hwvar.h |
| Source file: ./sys/arch/luna88k/luna88k/clockvar.h |
| Source file: ./sys/arch/luna88k/luna88k/autoconf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cpu_configure |
|
2 |
11 |
51 |
0 |
| diskconf |
|
2 |
7 |
34 |
1 |
| get_autoboot_device |
|
9 |
30 |
216 |
1 |
| device_register |
|
6 |
16 |
114 |
2 |
| Source file: ./sys/arch/luna88k/cbus/i82365_cbus.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pcic_cbus_probe |
|
8 |
33 |
233 |
3 |
| pcic_cbus_attach |
|
9 |
70 |
471 |
3 |
| pcic_cbus_chip_intr_establish |
|
7 |
35 |
282 |
6 |
| pcic_cbus_chip_intr_disestablish |
|
3 |
22 |
154 |
2 |
| pcic_cbus_chip_intr_string |
|
2 |
12 |
77 |
2 |
| pcic_cbus_intlevel_find |
|
5 |
14 |
82 |
1 |
| pcic_cbus_chip_io_alloc |
|
10 |
49 |
357 |
5 |
| pcic_cbus_chip_io_free |
|
1 |
8 |
42 |
2 |
| Source file: ./sys/arch/luna88k/cbus/nec86hw.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| nec86hw_attach |
|
1 |
25 |
184 |
1 |
| nec86hw_open |
|
3 |
19 |
115 |
2 |
| nec86hw_close |
|
1 |
9 |
57 |
1 |
| nec86hw_set_params |
|
4 |
24 |
194 |
5 |
| nec86hw_round_blocksize |
|
3 |
9 |
46 |
2 |
| nec86hw_set_out_port |
|
2 |
9 |
49 |
2 |
| nec86hw_get_out_port |
|
1 |
6 |
33 |
1 |
| nec86hw_set_in_port |
|
2 |
9 |
49 |
2 |
| nec86hw_get_in_port |
|
1 |
6 |
33 |
1 |
| nec86hw_commit_settings |
|
5 |
18 |
105 |
1 |
| nec86hw_setfd |
|
1 |
5 |
21 |
2 |
| nec86hw_mixer_set_port |
|
1 |
5 |
22 |
2 |
| nec86hw_mixer_get_port |
|
1 |
5 |
22 |
2 |
| nec86hw_mixer_query_devinfo |
|
1 |
5 |
22 |
2 |
| nec86hw_set_output_block |
|
2 |
25 |
183 |
2 |
| nec86hw_set_input_block |
|
1 |
18 |
150 |
2 |
| nec86hw_pdma_init_output |
|
1 |
15 |
94 |
3 |
| nec86hw_pdma_init_input |
|
1 |
15 |
94 |
3 |
| nec86hw_pdma_output |
|
5 |
33 |
215 |
5 |
| nec86hw_pdma_input |
|
4 |
29 |
196 |
5 |
| nec86hw_halt_pdma |
|
1 |
9 |
49 |
1 |
| nec86hw_cont_pdma |
|
1 |
9 |
49 |
1 |
| nec86hw_speaker_ctl |
|
3 |
20 |
101 |
2 |
| nec86hw_rate_bits |
|
5 |
16 |
103 |
2 |
| nec86hw_round_watermark |
|
2 |
7 |
30 |
1 |
| nec86hw_reset |
|
2 |
12 |
55 |
1 |
| nec86hw_set_mode_playing |
|
1 |
9 |
52 |
1 |
| nec86hw_set_mode_recording |
|
1 |
9 |
52 |
1 |
| nec86hw_set_volume |
|
1 |
8 |
50 |
3 |
| nec86hw_start_fifo |
|
1 |
9 |
52 |
1 |
| nec86hw_stop_fifo |
|
1 |
9 |
52 |
1 |
| nec86hw_enable_fifointr |
|
1 |
9 |
52 |
1 |
| nec86hw_disable_fifointr |
|
1 |
9 |
52 |
1 |
| nec86hw_seeif_intrflg |
|
1 |
8 |
44 |
1 |
| nec86hw_clear_intrflg |
|
1 |
11 |
67 |
1 |
| nec86hw_reset_fifo |
|
1 |
11 |
67 |
1 |
| nec86hw_set_watermark |
|
5 |
10 |
74 |
2 |
| nec86hw_set_precision_real |
|
2 |
11 |
65 |
2 |
| nec86hw_set_rate_real |
|
1 |
10 |
61 |
2 |
| nec86hw_output_chunk |
|
3 |
23 |
141 |
1 |
| nec86fifo_output_mono_8_direct |
|
2 |
15 |
93 |
2 |
| nec86fifo_output_mono_16_direct |
|
3 |
19 |
173 |
2 |
| nec86fifo_output_stereo_8_direct |
|
2 |
12 |
91 |
2 |
| nec86fifo_output_stereo_16_direct |
|
3 |
22 |
185 |
2 |
| nec86fifo_output_mono_8_resamp |
|
3 |
34 |
219 |
2 |
| nec86fifo_output_mono_16_resamp |
|
3 |
38 |
264 |
2 |
| nec86hw_input_chunk |
|
2 |
19 |
123 |
1 |
| nec86fifo_input_mono_8_direct |
|
2 |
13 |
96 |
2 |
| nec86fifo_input_mono_16_direct |
|
3 |
19 |
178 |
2 |
| nec86fifo_input_stereo_8_direct |
|
2 |
11 |
82 |
2 |
| nec86fifo_input_stereo_16_direct |
|
3 |
21 |
180 |
2 |
| nec86fifo_padding |
|
2 |
9 |
65 |
2 |
| nec86hw_intr |
|
8 |
43 |
221 |
1 |
| nec86_get_props |
|
1 |
4 |
11 |
1 |
| Source file: ./sys/arch/luna88k/stand/boot/font.c |
| Source file: ./sys/arch/luna88k/luna88k/disksubr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| readdisklabel |
|
11 |
39 |
238 |
4 |
| writedisklabel |
|
3 |
23 |
154 |
3 |
| sun_extended_sum |
|
2 |
10 |
65 |
2 |
| disklabel_om_to_bsd |
|
20 |
89 |
711 |
2 |
| disklabel_bsd_to_om |
|
11 |
57 |
463 |
2 |
| Source file: ./sys/arch/luna88k/luna88k/pmap_table.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pmap_table_build |
|
1 |
4 |
8 |
0 |
| Source file: ./sys/arch/luna88k/luna88k/clock.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| clockattach |
|
2 |
9 |
43 |
3 |
| cpu_initclocks |
|
3 |
9 |
38 |
0 |
| setstatclockrate |
|
1 |
3 |
7 |
1 |
| inittodr |
|
15 |
41 |
254 |
1 |
| resettodr |
|
2 |
8 |
37 |
0 |
| clockintr |
|
4 |
10 |
55 |
1 |
| clock_get_tc |
|
1 |
4 |
17 |
1 |
| Source file: ./sys/arch/luna88k/luna88k/mainbus.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mainbus_match |
|
2 |
9 |
44 |
3 |
| mainbus_attach |
|
4 |
14 |
103 |
3 |
| mainbus_print |
|
2 |
9 |
44 |
2 |
| Source file: ./sys/arch/luna88k/luna88k/conf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| iskmemdev |
|
2 |
5 |
26 |
1 |
| iszerodev |
|
2 |
5 |
26 |
1 |
| getnulldev |
|
1 |
4 |
13 |
0 |
| Source file: ./sys/arch/luna88k/luna88k/isr.h |
| Source file: ./sys/arch/luna88k/luna88k/isr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| isrinit |
|
2 |
7 |
32 |
0 |
| isrlink_autovec |
|
8 |
30 |
217 |
5 |
| isrdispatch_autovec |
|
14 |
33 |
187 |
1 |
| Source file: ./usr.sbin/ypset/ypset.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usage |
|
1 |
5 |
18 |
1 |
| bind_tohost |
|
6 |
45 |
321 |
3 |
| main |
|
8 |
35 |
208 |
2 |
| Source file: ./usr.sbin/ldpctl/parser.h |
| Source file: ./usr.sbin/ldpctl/parser.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| parse |
|
6 |
24 |
152 |
2 |
| match_token |
|
32 |
82 |
491 |
3 |
| show_valid_args |
|
9 |
25 |
117 |
1 |
| parse_addr |
|
4 |
27 |
202 |
3 |
| Source file: ./usr.sbin/wsmoused/wsmoused.h |
| Source file: ./usr.sbin/wsmoused/mouse_protocols.h |
| Source file: ./usr.sbin/pcidump/pcidump.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usage |
|
1 |
9 |
28 |
1 |
| main |
|
26 |
82 |
491 |
2 |
| scanpcidomain |
|
4 |
13 |
79 |
1 |
| str2busdevfunc |
|
6 |
24 |
185 |
4 |
| probe |
|
14 |
34 |
241 |
3 |
| dump_pci_powerstate |
|
4 |
12 |
77 |
4 |
| print_pcie_ls |
|
4 |
11 |
50 |
1 |
| dump_pcie_linkspeed |
|
8 |
30 |
233 |
4 |
| dump_pcie_enhanced_caplist |
|
6 |
23 |
128 |
3 |
| dump_caplist |
|
9 |
28 |
199 |
4 |
| dump_type0 |
|
19 |
73 |
495 |
3 |
| dump_type1 |
|
12 |
53 |
482 |
3 |
| dump_type2 |
|
14 |
52 |
489 |
3 |
| dump |
|
8 |
38 |
276 |
3 |
| hexdump |
|
6 |
17 |
112 |
4 |
| pci_nfuncs |
|
3 |
7 |
49 |
2 |
| pci_read |
|
2 |
16 |
109 |
5 |
| pci_readmask |
|
2 |
16 |
109 |
5 |
| dump_rom |
|
10 |
25 |
207 |
3 |
| dump_vga_bios |
|
6 |
20 |
124 |
1 |
| Source file: ./sys/arch/luna88k/luna88k/machdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| consinit |
|
4 |
13 |
47 |
0 |
| size_memory |
|
5 |
21 |
138 |
0 |
| getcpuspeed |
|
3 |
11 |
30 |
0 |
| identifycpu |
|
2 |
7 |
31 |
0 |
| cpu_startup |
|
12 |
48 |
258 |
0 |
| boot |
|
11 |
38 |
184 |
1 |
| dumpconf |
|
7 |
19 |
148 |
1 |
| dumpsys |
|
17 |
82 |
452 |
0 |
| cpu_setup_secondary_processors |
|
5 |
10 |
57 |
0 |
| luna88k_set_cpu_number |
|
1 |
28 |
106 |
1 |
| cpu_boot_secondary_processors |
|
1 |
4 |
11 |
0 |
| secondary_pre_main |
|
3 |
19 |
104 |
0 |
| secondary_main |
|
1 |
21 |
122 |
0 |
| luna88k_ext_int |
|
15 |
50 |
282 |
1 |
| sys_sysarch |
|
2 |
9 |
35 |
3 |
| cpu_sysctl |
|
5 |
20 |
116 |
7 |
| luna88k_vector_init |
|
1 |
8 |
62 |
2 |
| luna88k_bootstrap |
|
4 |
42 |
268 |
0 |
| romttycnprobe |
|
1 |
6 |
28 |
1 |
| romttycninit |
|
1 |
4 |
11 |
1 |
| romttycngetc |
|
2 |
11 |
45 |
1 |
| romttycnputc |
|
1 |
9 |
33 |
2 |
| powerdown |
|
1 |
7 |
47 |
1 |
| get_fuse_rom_data |
|
2 |
11 |
79 |
1 |
| get_nvram_data |
|
7 |
30 |
265 |
1 |
| nvram_by_symbol |
|
3 |
14 |
70 |
1 |
| setlevel |
|
3 |
10 |
56 |
1 |
| getipl |
|
1 |
4 |
16 |
1 |
| setipl |
|
1 |
12 |
60 |
1 |
| splraise |
|
2 |
13 |
69 |
1 |
| m88k_send_ipi |
|
2 |
8 |
53 |
2 |
| luna88k_ipi_handler |
|
5 |
16 |
96 |
1 |
| m88k_broadcast_ipi |
|
3 |
12 |
60 |
1 |
| Source file: ./usr.sbin/ospf6ctl/parser.h |
| Source file: ./usr.sbin/wsmoused/wsmoused.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wsmouse_identify |
|
16 |
54 |
205 |
1 |
| wsmouse_init |
|
1 |
5 |
24 |
1 |
| skipspace |
|
2 |
6 |
26 |
1 |
| mouse_installmap |
|
13 |
29 |
184 |
1 |
| terminate |
|
2 |
14 |
79 |
1 |
| mouse_click |
|
4 |
31 |
232 |
1 |
| normalize_event |
|
5 |
24 |
121 |
1 |
| treat_event |
|
4 |
9 |
57 |
1 |
| split_event |
|
10 |
41 |
242 |
1 |
| wsmoused |
|
6 |
30 |
203 |
1 |
| usage |
|
1 |
6 |
21 |
1 |
| main |
|
33 |
113 |
613 |
2 |
| Source file: ./usr.sbin/ldpctl/ldpctl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usage |
|
1 |
6 |
25 |
1 |
| main |
|
54 |
180 |
1173 |
2 |
| get_ifms_type |
|
4 |
17 |
52 |
1 |
| fmt_timeframe_core |
|
5 |
28 |
176 |
1 |
| show_interface_msg |
|
7 |
27 |
172 |
2 |
| show_discovery_msg |
|
8 |
31 |
181 |
2 |
| show_lib_msg |
|
8 |
28 |
189 |
2 |
| show_nbr_msg |
|
7 |
26 |
163 |
2 |
| show_fib_head |
|
1 |
6 |
26 |
1 |
| show_fib_msg |
|
15 |
56 |
363 |
2 |
| show_interface_head |
|
1 |
5 |
17 |
1 |
| show_fib_interface_msg |
|
7 |
27 |
156 |
1 |
| show_l2vpn_pw_msg |
|
4 |
18 |
87 |
1 |
| show_l2vpn_binding_msg |
|
5 |
33 |
175 |
1 |
| get_media_descr |
|
3 |
8 |
48 |
1 |
| get_linkstate |
|
3 |
11 |
77 |
2 |
| print_baudrate |
|
4 |
11 |
80 |
1 |
| Source file: ./usr.sbin/wsmoused/mouse_protocols.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| gettoken |
|
3 |
9 |
66 |
3 |
| mouse_name |
|
3 |
6 |
39 |
1 |
| SetMouseSpeed |
|
11 |
46 |
297 |
2 |
| FlushInput |
|
3 |
12 |
81 |
1 |
| pnpgets |
|
17 |
75 |
505 |
2 |
| pnpparse |
|
31 |
91 |
651 |
3 |
| pnpproto |
|
11 |
26 |
179 |
1 |
| mouse_init |
|
29 |
107 |
769 |
1 |
| mouse_identify |
|
6 |
32 |
233 |
1 |
| mouse_protocol |
|
34 |
119 |
929 |
2 |
| Source file: ./usr.sbin/ospf6ctl/parser.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| parse |
|
6 |
24 |
150 |
2 |
| match_token |
|
29 |
74 |
448 |
3 |
| show_valid_args |
|
9 |
26 |
119 |
1 |
| parse_addr |
|
3 |
17 |
122 |
2 |
| parse_prefix |
|
6 |
26 |
201 |
3 |
| Source file: ./usr.sbin/ldapd/filter.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ldap_filt_eq |
|
8 |
23 |
162 |
2 |
| ldap_filt_subs_value |
|
12 |
42 |
244 |
2 |
| ldap_filt_subs |
|
8 |
26 |
161 |
2 |
| ldap_filt_and |
|
2 |
8 |
48 |
2 |
| ldap_filt_or |
|
2 |
8 |
48 |
2 |
| ldap_filt_not |
|
2 |
8 |
48 |
2 |
| ldap_filt_presence |
|
4 |
13 |
85 |
2 |
| ldap_matches_filter |
|
9 |
23 |
115 |
2 |
| Source file: ./usr.sbin/ldapd/imsgev.h |
| Source file: ./usr.sbin/ldapd/ber.h |
| Source file: ./usr.sbin/ldapd/modify.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ldap_delete |
|
16 |
56 |
382 |
1 |
| ldap_add |
|
32 |
89 |
642 |
1 |
| ldap_modify |
|
37 |
122 |
784 |
1 |
| Source file: ./usr.sbin/ldapd/log.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| log_init |
|
2 |
8 |
36 |
1 |
| log_verbose |
|
1 |
4 |
11 |
1 |
| logit |
|
1 |
7 |
38 |
3 |
| vlog |
|
4 |
28 |
181 |
3 |
| log_warn |
|
3 |
18 |
111 |
2 |
| log_warnx |
|
1 |
7 |
35 |
2 |
| log_info |
|
1 |
7 |
35 |
2 |
| log_debug |
|
2 |
9 |
41 |
2 |
| fatal |
|
3 |
12 |
61 |
1 |
| fatalx |
|
1 |
5 |
18 |
1 |
| Source file: ./.git/hooks/multimail/git_multimail.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| all |
|
3 |
5 |
18 |
1 |
| is_ascii |
|
3 |
2 |
26 |
1 |
| is_string |
|
1 |
2 |
12 |
1 |
| str_to_bytes |
|
1 |
2 |
12 |
1 |
| bytes_to_str |
|
1 |
2 |
18 |
2 |
| write_str |
|
2 |
5 |
42 |
2 |
| read_line |
|
2 |
6 |
37 |
1 |
| is_string |
|
2 |
5 |
18 |
1 |
| str_to_bytes |
|
1 |
2 |
7 |
1 |
| bytes_to_str |
|
1 |
2 |
11 |
2 |
| write_str |
|
1 |
2 |
13 |
2 |
| read_line |
|
1 |
2 |
11 |
1 |
| next |
|
1 |
2 |
11 |
1 |
| __init__ |
|
1 |
7 |
39 |
3 |
| choose_git_command |
|
3 |
9 |
51 |
0 |
| read_git_output |
|
2 |
4 |
43 |
4 |
| read_output |
|
6 |
22 |
144 |
4 |
| read_git_lines |
|
1 |
2 |
30 |
3 |
| git_rev_list_ish |
|
4 |
8 |
67 |
4 |
| git_rev_list |
|
1 |
2 |
19 |
2 |
| git_log |
|
1 |
2 |
19 |
2 |
| header_encode |
|
3 |
8 |
61 |
2 |
| addr_header_encode |
|
4 |
12 |
90 |
2 |
| __init__ |
|
2 |
7 |
46 |
3 |
| _split |
|
1 |
4 |
29 |
1 |
| add_config_parameters |
|
4 |
8 |
69 |
1 |
| get |
|
2 |
10 |
68 |
3 |
| get_bool |
|
2 |
9 |
51 |
3 |
| get_all |
|
3 |
12 |
77 |
3 |
| set |
|
1 |
5 |
34 |
3 |
| add |
|
1 |
5 |
36 |
3 |
| __contains__ |
|
1 |
2 |
21 |
2 |
| has_key |
|
1 |
2 |
11 |
2 |
| unset_all |
|
3 |
12 |
59 |
2 |
| set_recipients |
|
2 |
4 |
36 |
3 |
| generate_summaries |
|
2 |
6 |
46 |
1 |
| limit_lines |
|
4 |
6 |
42 |
2 |
| limit_linelength |
|
3 |
5 |
35 |
2 |
| __init__ |
|
1 |
2 |
15 |
2 |
| __len__ |
|
1 |
2 |
12 |
1 |
| __contains__ |
|
2 |
3 |
39 |
2 |
| __init__ |
|
6 |
18 |
127 |
3 |
| get_summary |
|
2 |
4 |
32 |
1 |
| __eq__ |
|
2 |
2 |
22 |
2 |
| __hash__ |
|
1 |
2 |
12 |
1 |
| __nonzero__ |
|
1 |
2 |
12 |
1 |
| __bool__ |
|
1 |
2 |
12 |
1 |
| __str__ |
|
2 |
2 |
11 |
1 |
| __init__ |
|
1 |
4 |
22 |
2 |
| _contains_diff |
|
2 |
3 |
19 |
1 |
| _compute_values |
|
2 |
7 |
49 |
1 |
| get_values |
|
4 |
9 |
63 |
2 |
| expand |
|
1 |
2 |
21 |
3 |
| expand_lines |
|
5 |
8 |
71 |
4 |
| expand_header_lines |
|
7 |
26 |
162 |
3 |
| generate_email_header |
|
1 |
2 |
10 |
1 |
| generate_browse_link |
|
1 |
2 |
14 |
2 |
| generate_email_intro |
|
1 |
2 |
14 |
2 |
| generate_email_body |
|
1 |
2 |
10 |
1 |
| generate_email_footer |
|
1 |
2 |
12 |
2 |
| _wrap_for_html |
|
4 |
9 |
38 |
2 |
| generate_email |
|
29 |
63 |
359 |
4 |
| get_specific_fromaddr |
|
1 |
2 |
8 |
1 |
| __init__ |
|
4 |
16 |
154 |
5 |
| _cc_recipients |
|
3 |
9 |
72 |
1 |
| _compute_values |
|
5 |
27 |
211 |
1 |
| generate_email_header |
|
2 |
5 |
23 |
2 |
| generate_browse_link |
|
6 |
16 |
90 |
2 |
| generate_email_intro |
|
2 |
4 |
25 |
2 |
| generate_email_body |
|
4 |
9 |
75 |
2 |
| generate_email_footer |
|
1 |
3 |
18 |
2 |
| generate_email |
|
1 |
3 |
34 |
4 |
| get_specific_fromaddr |
|
1 |
2 |
11 |
1 |
| create |
|
8 |
44 |
183 |
4 |
| __init__ |
|
1 |
22 |
155 |
7 |
| _compute_values |
|
4 |
20 |
154 |
1 |
| send_single_combined_email |
|
1 |
2 |
10 |
2 |
| generate_combined_email |
|
1 |
2 |
21 |
5 |
| get_subject |
|
1 |
7 |
33 |
1 |
| generate_email_header |
|
3 |
7 |
41 |
2 |
| generate_email_intro |
|
2 |
4 |
27 |
2 |
| generate_email_body |
|
3 |
10 |
57 |
2 |
| generate_email_footer |
|
1 |
3 |
20 |
2 |
| generate_revision_change_graph |
|
6 |
15 |
95 |
2 |
| generate_revision_change_log |
|
3 |
12 |
45 |
2 |
| generate_new_revision_summary |
|
4 |
7 |
51 |
4 |
| generate_revision_change_summary |
|
43 |
134 |
780 |
2 |
| generate_create_summary |
|
1 |
7 |
43 |
2 |
| generate_update_summary |
|
1 |
2 |
14 |
2 |
| generate_delete_summary |
|
1 |
7 |
43 |
2 |
| get_specific_fromaddr |
|
1 |
2 |
11 |
1 |
| __init__ |
|
1 |
8 |
61 |
7 |
| send_single_combined_email.split_line |
|
1 |
3 |
26 |
1 |
| send_single_combined_email |
|
14 |
41 |
234 |
2 |
| generate_combined_email.revision_gen_link |
|
1 |
3 |
19 |
1 |
| generate_combined_email |
|
4 |
15 |
102 |
5 |
| generate_email_body |
|
5 |
19 |
122 |
2 |
| __init__ |
|
1 |
8 |
63 |
7 |
| describe_tag |
|
11 |
44 |
300 |
2 |
| generate_create_summary |
|
3 |
5 |
32 |
2 |
| generate_update_summary |
|
3 |
5 |
32 |
2 |
| generate_delete_summary |
|
2 |
5 |
29 |
2 |
| __init__ |
|
1 |
7 |
56 |
7 |
| generate_create_summary |
|
2 |
3 |
20 |
2 |
| generate_update_summary |
|
2 |
3 |
20 |
2 |
| generate_delete_summary |
|
3 |
5 |
34 |
2 |
| __init__ |
|
1 |
7 |
56 |
7 |
| __init__ |
|
1 |
2 |
12 |
2 |
| send |
|
1 |
2 |
14 |
3 |
| find_sendmail |
|
3 |
9 |
33 |
0 |
| __init__ |
|
3 |
8 |
70 |
4 |
| send |
|
6 |
30 |
168 |
3 |
| __init__ |
|
1 |
7 |
37 |
10 |
| call |
|
2 |
5 |
28 |
3 |
| __del__ |
|
2 |
4 |
24 |
1 |
| send |
|
7 |
24 |
168 |
3 |
| __init__ |
|
1 |
2 |
12 |
2 |
| send |
|
2 |
5 |
42 |
3 |
| get_git_dir |
|
2 |
6 |
33 |
0 |
| __init__ |
|
2 |
30 |
149 |
2 |
| get_logger |
|
2 |
4 |
25 |
1 |
| get_repo_shortname |
|
2 |
7 |
51 |
1 |
| get_pusher |
|
1 |
2 |
9 |
1 |
| get_pusher_email |
|
1 |
2 |
7 |
1 |
| get_fromaddr |
|
2 |
7 |
57 |
2 |
| get_administrator |
|
1 |
2 |
7 |
1 |
| get_emailprefix |
|
1 |
2 |
7 |
1 |
| get_repo_path |
|
2 |
6 |
43 |
1 |
| get_charset |
|
1 |
2 |
7 |
1 |
| get_values |
|
4 |
9 |
67 |
1 |
| get_refchange_recipients |
|
1 |
2 |
12 |
2 |
| get_announce_recipients |
|
1 |
2 |
12 |
2 |
| get_reply_to_refchange |
|
1 |
2 |
13 |
2 |
| get_revision_recipients |
|
1 |
2 |
12 |
2 |
| get_reply_to_commit |
|
1 |
2 |
11 |
2 |
| get_default_ref_ignore_regex |
|
1 |
2 |
7 |
1 |
| get_max_subject_length |
|
1 |
2 |
10 |
1 |
| filter_body |
|
1 |
2 |
10 |
2 |
| log_msg |
|
1 |
2 |
18 |
2 |
| log_warning |
|
1 |
2 |
18 |
2 |
| log_error |
|
1 |
2 |
18 |
2 |
| check |
|
1 |
2 |
6 |
1 |
| __init__ |
|
1 |
3 |
27 |
3 |
| forbid_field_values |
|
4 |
6 |
39 |
3 |
| __init__ |
|
18 |
82 |
521 |
3 |
| get_administrator |
|
3 |
6 |
33 |
1 |
| get_repo_shortname |
|
2 |
5 |
27 |
1 |
| get_emailprefix |
|
4 |
20 |
90 |
1 |
| get_sender |
|
1 |
2 |
14 |
1 |
| process_addr |
|
5 |
12 |
64 |
3 |
| get_fromaddr |
|
5 |
11 |
65 |
2 |
| get_reply_to_refchange |
|
2 |
5 |
39 |
2 |
| get_reply_to_commit |
|
2 |
5 |
39 |
2 |
| get_scancommitforcc |
|
1 |
2 |
14 |
1 |
| __init__ |
|
1 |
3 |
20 |
5 |
| filter_body |
|
8 |
12 |
99 |
2 |
| get_max_subject_length |
|
1 |
2 |
9 |
1 |
| __init__ |
|
4 |
13 |
100 |
3 |
| __init__ |
|
1 |
3 |
27 |
3 |
| filter_body |
|
2 |
5 |
39 |
2 |
| __init__ |
|
1 |
7 |
45 |
3 |
| __init__ |
|
1 |
4 |
34 |
3 |
| get_fqdn |
|
1 |
2 |
10 |
1 |
| __init__ |
|
1 |
7 |
38 |
3 |
| __init__ |
|
1 |
5 |
28 |
2 |
| __init__ |
|
1 |
3 |
32 |
2 |
| get_pusher_email |
|
2 |
5 |
37 |
1 |
| __init__ |
|
1 |
5 |
16 |
6 |
| check |
|
5 |
7 |
51 |
1 |
| get_refchange_recipients |
|
2 |
5 |
30 |
2 |
| get_announce_recipients |
|
2 |
5 |
30 |
2 |
| get_revision_recipients |
|
2 |
5 |
30 |
2 |
| __init__ |
|
1 |
3 |
29 |
3 |
| get_refchange_recipients |
|
2 |
5 |
30 |
2 |
| get_announce_recipients |
|
2 |
5 |
30 |
2 |
| get_revision_recipients |
|
2 |
5 |
30 |
2 |
| __init__ |
|
1 |
15 |
79 |
3 |
| _get_recipients |
|
5 |
10 |
66 |
3 |
| __init__ |
|
1 |
3 |
16 |
6 |
| get_ref_filter_regex |
|
2 |
5 |
30 |
2 |
| _get_regex |
|
5 |
11 |
64 |
3 |
| __init__ |
|
1 |
9 |
70 |
3 |
| __init__ |
|
1 |
3 |
27 |
2 |
| get_projectdesc |
|
4 |
9 |
55 |
1 |
| get_pusher |
|
1 |
2 |
25 |
1 |
| get_pusher |
|
1 |
2 |
16 |
1 |
| get_repo_shortname |
|
2 |
5 |
29 |
1 |
| get_fromaddr |
|
10 |
35 |
215 |
2 |
| __init__ |
|
1 |
3 |
21 |
1 |
| __next__ |
|
1 |
4 |
22 |
1 |
| __init__ |
|
1 |
5 |
46 |
4 |
| get_pusher |
|
1 |
2 |
21 |
1 |
| get_pusher_email |
|
1 |
2 |
9 |
1 |
| __init__ |
|
1 |
4 |
38 |
4 |
| get_repo_shortname |
|
1 |
2 |
9 |
1 |
| get_fromaddr |
|
1 |
2 |
13 |
2 |
| __init__ |
|
1 |
8 |
63 |
5 |
| get_pusher |
|
3 |
8 |
49 |
1 |
| get_pusher_email |
|
2 |
5 |
27 |
1 |
| get_default_ref_ignore_regex |
|
1 |
3 |
21 |
1 |
| get_revision_recipients |
|
2 |
7 |
47 |
2 |
| get_update_method |
|
1 |
2 |
9 |
1 |
| __init__ |
|
1 |
4 |
38 |
4 |
| get_repo_shortname |
|
1 |
2 |
9 |
1 |
| get_fromaddr |
|
3 |
5 |
44 |
2 |
| __init__ |
|
2 |
7 |
53 |
4 |
| _sort_key |
|
1 |
2 |
27 |
2 |
| _other_ref_sha1s |
|
8 |
22 |
121 |
1 |
| _get_commits_spec_incl |
|
6 |
14 |
79 |
3 |
| _get_commits_spec_excl |
|
4 |
8 |
73 |
2 |
| get_commits_spec |
|
3 |
8 |
69 |
3 |
| get_new_commits |
|
1 |
3 |
25 |
2 |
| get_discarded_commits |
|
1 |
3 |
23 |
2 |
| send_emails |
|
14 |
58 |
359 |
3 |
| include_ref |
|
2 |
6 |
30 |
3 |
| run_as_post_receive_hook |
|
7 |
25 |
168 |
2 |
| run_as_update_hook |
|
4 |
20 |
137 |
6 |
| check_ref_filter.inc_exc_lusion |
|
2 |
5 |
14 |
1 |
| check_ref_filter |
|
6 |
35 |
195 |
1 |
| show_env |
|
3 |
7 |
59 |
2 |
| check_setup |
|
1 |
10 |
84 |
1 |
| choose_mailer |
|
5 |
33 |
228 |
2 |
| choose_environment |
|
1 |
2 |
21 |
5 |
| choose_environment_name |
|
6 |
11 |
53 |
3 |
| build_environment_klass |
|
4 |
21 |
111 |
1 |
| build_environment |
|
1 |
2 |
15 |
6 |
| get_version |
|
4 |
15 |
77 |
0 |
| compute_gerrit_options |
|
1 |
2 |
11 |
4 |
| check_hook_specific_args |
|
8 |
26 |
188 |
2 |
| parse_verbose |
|
2 |
5 |
22 |
2 |
| create_log_file |
|
1 |
8 |
57 |
5 |
| __init__.write |
|
1 |
2 |
15 |
2 |
| __init__.flush |
|
1 |
2 |
12 |
1 |
| __init__ |
|
4 |
23 |
175 |
2 |
| info |
|
2 |
3 |
20 |
2 |
| debug |
|
2 |
3 |
20 |
2 |
| warning |
|
2 |
3 |
20 |
2 |
| error |
|
2 |
3 |
20 |
2 |
| main |
|
16 |
133 |
712 |
1 |
| Source file: ./usr.sbin/ldapd/uuid.h |
| Source file: ./usr.sbin/ldapd/evbuffer_tls.h |
| Source file: ./usr.sbin/ospf6ctl/ospf6ctl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usage |
|
1 |
7 |
25 |
1 |
| main |
|
74 |
207 |
1272 |
2 |
| show_summary_msg |
|
4 |
34 |
178 |
1 |
| get_ifms_type |
|
5 |
15 |
52 |
1 |
| show_interface_msg |
|
4 |
24 |
137 |
1 |
| show_interface_detail_msg |
|
7 |
58 |
340 |
1 |
| print_link |
|
2 |
7 |
24 |
1 |
| fmt_timeframe |
|
2 |
7 |
32 |
1 |
| fmt_timeframe_core |
|
5 |
28 |
176 |
1 |
| log_id |
|
2 |
10 |
54 |
1 |
| log_adv_rtr |
|
2 |
10 |
54 |
1 |
| show_database_head |
|
15 |
49 |
266 |
3 |
| show_database_msg |
|
7 |
41 |
218 |
1 |
| print_ls_type |
|
8 |
21 |
79 |
1 |
| show_db_hdr_msg_detail |
|
8 |
26 |
157 |
1 |
| print_rtr_link_type |
|
5 |
15 |
52 |
1 |
| print_ospf_flags |
|
4 |
9 |
55 |
1 |
| print_asext_flags |
|
4 |
9 |
55 |
1 |
| print_prefix_opt |
|
6 |
14 |
74 |
1 |
| show_db_msg_detail |
|
28 |
207 |
1614 |
1 |
| show_nbr_msg |
|
5 |
24 |
149 |
1 |
| print_ospf_options |
|
6 |
11 |
71 |
1 |
| show_nbr_detail_msg |
|
3 |
33 |
206 |
1 |
| show_rib_msg |
|
8 |
36 |
205 |
1 |
| show_rib_head |
|
11 |
38 |
192 |
3 |
| print_ospf_rtr_flags |
|
5 |
9 |
59 |
1 |
| show_rib_detail_msg |
|
17 |
77 |
442 |
1 |
| show_fib_head |
|
1 |
6 |
24 |
1 |
| show_fib_msg |
|
11 |
42 |
262 |
1 |
| get_media_descr |
|
3 |
8 |
48 |
1 |
| get_linkstate |
|
3 |
11 |
77 |
2 |
| print_baudrate |
|
4 |
11 |
80 |
1 |
| Source file: ./usr.sbin/ldapd/control.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| control_init |
|
10 |
36 |
299 |
1 |
| control_listen |
|
3 |
11 |
78 |
1 |
| control_cleanup |
|
2 |
7 |
35 |
1 |
| control_accept |
|
8 |
30 |
217 |
3 |
| control_connbyfd |
|
2 |
9 |
42 |
1 |
| control_close |
|
3 |
16 |
109 |
2 |
| send_stats |
|
4 |
22 |
218 |
1 |
| control_imsgev |
|
7 |
36 |
226 |
3 |
| control_needfd |
|
1 |
4 |
14 |
1 |
| control_close_any |
|
2 |
12 |
64 |
1 |
| Source file: ./usr.sbin/ldapd/ldapd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usage |
|
1 |
7 |
26 |
1 |
| ldapd_sig_handler |
|
3 |
6 |
36 |
3 |
| ldapd_sigchld_handler |
|
8 |
27 |
137 |
3 |
| main |
|
26 |
110 |
630 |
2 |
| ldapd_cleanup |
|
2 |
13 |
84 |
1 |
| ldapd_imsgev |
|
9 |
32 |
134 |
3 |
| ldapd_needfd |
|
1 |
4 |
14 |
1 |
| ldapd_auth_classful |
|
7 |
34 |
249 |
2 |
| ldapd_auth_request |
|
2 |
16 |
155 |
2 |
| ldapd_log_verbose |
|
2 |
8 |
52 |
1 |
| ldapd_open_request |
|
5 |
22 |
172 |
2 |
| start_child |
|
10 |
41 |
220 |
7 |
| Source file: ./usr.sbin/ldapd/btest.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
25 |
94 |
715 |
2 |
| Source file: ./usr.sbin/ldapd/logmsg.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| print_host |
|
2 |
9 |
63 |
3 |
| hexdump |
|
7 |
19 |
136 |
4 |
| ldap_debug_elements |
|
74 |
235 |
1109 |
4 |
| Source file: ./usr.sbin/ldapd/schema.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| attr_oid_cmp |
|
1 |
4 |
26 |
2 |
| obj_oid_cmp |
|
1 |
4 |
26 |
2 |
| oidname_cmp |
|
1 |
4 |
26 |
2 |
| symoid_cmp |
|
1 |
4 |
26 |
2 |
| lookup_attribute_by_name |
|
2 |
9 |
53 |
2 |
| lookup_attribute_by_oid |
|
1 |
6 |
37 |
2 |
| lookup_attribute |
|
2 |
6 |
36 |
2 |
| lookup_object_by_oid |
|
1 |
6 |
37 |
2 |
| lookup_object_by_name |
|
2 |
9 |
53 |
2 |
| lookup_object |
|
2 |
6 |
36 |
2 |
| lookup_symbolic_oid |
|
6 |
29 |
197 |
2 |
| push_symbolic_oid |
|
3 |
18 |
116 |
3 |
| push_attr |
|
4 |
19 |
113 |
2 |
| push_obj |
|
4 |
19 |
113 |
2 |
| is_oidstr |
|
1 |
5 |
26 |
1 |
| push_name |
|
4 |
19 |
112 |
2 |
| schema_getc |
|
6 |
23 |
123 |
2 |
| schema_ungetc |
|
3 |
9 |
52 |
2 |
| findeol |
|
5 |
17 |
74 |
1 |
| schema_lex |
|
31 |
69 |
449 |
2 |
| schema_new |
|
2 |
12 |
76 |
1 |
| schema_err |
|
2 |
12 |
82 |
3 |
| schema_link_attr_name |
|
3 |
19 |
119 |
3 |
| schema_link_attr_names |
|
2 |
9 |
53 |
2 |
| schema_link_obj_name |
|
3 |
19 |
119 |
3 |
| schema_link_obj_names |
|
2 |
9 |
53 |
2 |
| schema_parse_names |
|
6 |
23 |
112 |
1 |
| schema_free_name_list |
|
2 |
10 |
53 |
1 |
| schema_parse_attrlist |
|
10 |
42 |
217 |
1 |
| schema_parse_objlist |
|
10 |
39 |
201 |
1 |
| schema_validate_match_rule |
|
7 |
20 |
159 |
4 |
| schema_parse_attributetype |
|
59 |
170 |
1203 |
1 |
| schema_parse_objectclass |
|
35 |
113 |
737 |
1 |
| schema_parse_objectidentifier |
|
6 |
23 |
137 |
1 |
| schema_parse |
|
10 |
39 |
246 |
2 |
| schema_dump_names |
|
14 |
28 |
218 |
4 |
| schema_dump_attrlist |
|
14 |
31 |
230 |
4 |
| schema_dump_objlist |
|
14 |
30 |
230 |
4 |
| schema_dump_object |
|
20 |
38 |
294 |
3 |
| schema_dump_attribute |
|
39 |
60 |
500 |
3 |
| schema_dump_match_rule |
|
8 |
12 |
108 |
3 |
| Source file: ./usr.sbin/ldapd/auth.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| aci_matches |
|
27 |
62 |
348 |
6 |
| authorized |
|
23 |
46 |
332 |
5 |
| send_auth_request |
|
4 |
22 |
170 |
3 |
| check_password |
|
14 |
41 |
368 |
3 |
| ldap_auth_sasl |
|
10 |
33 |
242 |
3 |
| ldap_auth_simple |
|
25 |
71 |
488 |
3 |
| ldap_bind_continue |
|
2 |
15 |
77 |
2 |
| ldap_bind |
|
7 |
35 |
191 |
1 |
| Source file: ./usr.sbin/ldapd/btree.h |
| Source file: ./usr.sbin/ldapd/ldape.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ldape_sig_handler |
|
4 |
15 |
69 |
3 |
| send_ldap_extended_response |
|
8 |
31 |
201 |
5 |
| ldap_refer |
|
14 |
67 |
412 |
4 |
| send_ldap_result |
|
1 |
5 |
33 |
4 |
| ldap_respond |
|
2 |
7 |
45 |
2 |
| ldap_abandon |
|
3 |
17 |
88 |
1 |
| ldap_unbind |
|
1 |
7 |
36 |
1 |
| ldap_compare |
|
11 |
35 |
295 |
1 |
| ldap_starttls |
|
2 |
9 |
46 |
1 |
| ldap_extended |
|
5 |
30 |
196 |
1 |
| ldape |
|
27 |
112 |
913 |
3 |
| ldape_imsgev |
|
8 |
29 |
120 |
3 |
| ldape_needfd |
|
3 |
12 |
50 |
1 |
| ldape_auth_result |
|
3 |
12 |
82 |
1 |
| ldape_open_result |
|
6 |
26 |
172 |
1 |
| Source file: ./usr.sbin/ldapd/schema.h |
| Source file: ./usr.sbin/ldapd/uuid.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| time_cmp |
|
5 |
12 |
71 |
2 |
| get_node_addr |
|
14 |
35 |
183 |
1 |
| uuid_create |
|
7 |
44 |
287 |
1 |
| uuid_to_string |
|
1 |
16 |
119 |
3 |
| main |
|
3 |
15 |
94 |
2 |
| Source file: ./usr.sbin/ldapd/imsgev.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| imsgev_init |
|
1 |
14 |
124 |
5 |
| imsgev_compose |
|
2 |
9 |
70 |
7 |
| imsgev_close |
|
1 |
5 |
20 |
1 |
| imsgev_clear |
|
1 |
6 |
36 |
1 |
| imsgev_add |
|
5 |
14 |
101 |
1 |
| imsgev_dispatch |
|
15 |
46 |
272 |
3 |
| imsgev_disconnect |
|
1 |
4 |
23 |
2 |
| Source file: ./usr.sbin/ldapd/util.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bsnprintf |
|
3 |
11 |
69 |
4 |
| normalize_dn |
|
7 |
16 |
107 |
1 |
| has_suffix |
|
2 |
8 |
61 |
2 |
| has_prefix |
|
2 |
8 |
51 |
2 |
| ber2db |
|
5 |
45 |
320 |
3 |
| db2ber |
|
5 |
39 |
251 |
2 |
| accept_reserve |
|
2 |
9 |
53 |
4 |
| Source file: ./usr.sbin/ldapd/syntax.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| syntax_cmp |
|
1 |
4 |
34 |
2 |
| syntax_lookup |
|
1 |
5 |
40 |
1 |
| syntax_is_octet_string |
|
1 |
4 |
19 |
3 |
| syntax_is_directory_string |
|
2 |
4 |
26 |
3 |
| syntax_is_printable_string |
|
5 |
10 |
83 |
3 |
| syntax_is_ia5_string |
|
3 |
9 |
53 |
3 |
| syntax_is_integer |
|
5 |
11 |
73 |
3 |
| syntax_is_dn |
|
2 |
6 |
34 |
3 |
| syntax_is_oid |
|
7 |
15 |
92 |
3 |
| syntax_is_uuid |
|
2 |
12 |
66 |
3 |
| syntax_is_numeric_string |
|
4 |
8 |
60 |
3 |
| syntax_is_time |
|
16 |
29 |
223 |
4 |
| syntax_is_gentime |
|
1 |
4 |
28 |
3 |
| syntax_is_utctime |
|
1 |
4 |
28 |
3 |
| syntax_is_country |
|
2 |
6 |
35 |
3 |
| syntax_is_bit_string |
|
7 |
14 |
81 |
3 |
| syntax_is_boolean |
|
2 |
4 |
35 |
3 |
| Source file: ./usr.sbin/ldapd/search.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| uniqdn_cmp |
|
3 |
8 |
72 |
2 |
| is_operational |
|
2 |
8 |
38 |
1 |
| should_include_attribute |
|
11 |
21 |
147 |
3 |
| search_result |
|
11 |
56 |
359 |
4 |
| search_close |
|
3 |
21 |
159 |
1 |
| is_child_of |
|
3 |
11 |
93 |
2 |
| check_search_entry |
|
8 |
35 |
224 |
3 |
| mk_dup |
|
3 |
14 |
112 |
2 |
| is_dup |
|
1 |
7 |
54 |
2 |
| conn_search |
|
38 |
162 |
1061 |
1 |
| ldap_search_root_dse |
|
3 |
44 |
324 |
1 |
| ldap_search_subschema |
|
9 |
72 |
503 |
1 |
| add_index |
|
3 |
19 |
121 |
3 |
| plan_get_attr |
|
3 |
13 |
83 |
3 |
| search_planner |
|
40 |
136 |
878 |
2 |
| filter_free |
|
4 |
17 |
107 |
1 |
| ldap_search |
|
28 |
141 |
869 |
1 |
| Source file: ./usr.sbin/ldapd/attributes.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ldap_get_attribute |
|
6 |
15 |
102 |
2 |
| ldap_find_attribute |
|
3 |
12 |
78 |
2 |
| ldap_find_value |
|
5 |
12 |
79 |
2 |
| ldap_add_attribute |
|
8 |
29 |
167 |
3 |
| ldap_set_values |
|
2 |
18 |
104 |
2 |
| ldap_merge_values |
|
4 |
20 |
123 |
2 |
| ldap_del_attribute |
|
5 |
26 |
137 |
2 |
| ldap_del_values |
|
8 |
35 |
214 |
2 |
| ldap_strftime |
|
1 |
7 |
42 |
1 |
| ldap_now |
|
1 |
4 |
15 |
1 |
| Source file: ./usr.sbin/ldapd/aldap.h |
| Source file: ./usr.sbin/ldapd/validate.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| validate_required_attributes |
|
3 |
16 |
82 |
2 |
| validate_attribute |
|
10 |
37 |
221 |
2 |
| validate_dn |
|
18 |
77 |
429 |
2 |
| has_attribute |
|
3 |
11 |
52 |
2 |
| validate_allowed_attribute |
|
5 |
16 |
91 |
2 |
| olist_push |
|
4 |
14 |
103 |
2 |
| olist_free |
|
3 |
11 |
54 |
1 |
| is_super |
|
5 |
10 |
67 |
2 |
| validate_entry |
|
25 |
100 |
600 |
3 |
| Source file: ./usr.sbin/ldapd/ber.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ber_get_element |
|
2 |
9 |
53 |
1 |
| ber_set_header |
|
2 |
7 |
42 |
3 |
| ber_link_elements |
|
5 |
11 |
57 |
2 |
| ber_unlink_elements |
|
4 |
14 |
70 |
1 |
| ber_replace_elements |
|
1 |
9 |
55 |
2 |
| ber_add_sequence |
|
2 |
8 |
40 |
1 |
| ber_add_set |
|
2 |
8 |
40 |
1 |
| ber_add_enumerated |
|
9 |
22 |
150 |
2 |
| ber_add_integer |
|
9 |
22 |
150 |
2 |
| ber_get_integer |
|
2 |
7 |
36 |
2 |
| ber_get_enumerated |
|
2 |
7 |
36 |
2 |
| ber_add_boolean |
|
3 |
10 |
59 |
2 |
| ber_get_boolean |
|
2 |
7 |
40 |
2 |
| ber_add_string |
|
1 |
4 |
27 |
2 |
| ber_add_nstring |
|
3 |
17 |
106 |
3 |
| ber_get_string |
|
2 |
7 |
35 |
2 |
| ber_get_nstring |
|
2 |
8 |
46 |
3 |
| ber_add_bitstring |
|
3 |
17 |
104 |
3 |
| ber_get_bitstring |
|
2 |
8 |
46 |
3 |
| ber_add_null |
|
2 |
8 |
40 |
1 |
| ber_get_null |
|
2 |
6 |
24 |
1 |
| ber_add_eoc |
|
2 |
8 |
40 |
1 |
| ber_get_eoc |
|
2 |
6 |
24 |
1 |
| ber_oid2ber |
|
10 |
22 |
187 |
3 |
| ber_string2oid |
|
6 |
16 |
151 |
2 |
| ber_add_oid |
|
5 |
22 |
140 |
2 |
| ber_add_noid |
|
2 |
9 |
69 |
3 |
| ber_add_oidstring |
|
2 |
7 |
47 |
2 |
| ber_get_oid |
|
6 |
22 |
182 |
2 |
| ber_printf_elements |
|
32 |
101 |
583 |
3 |
| ber_scanf_elements |
|
34 |
115 |
626 |
3 |
| ber_write_elements |
|
7 |
21 |
155 |
2 |
| ber_read_elements |
|
5 |
15 |
83 |
2 |
| ber_free_element |
|
8 |
11 |
74 |
1 |
| ber_free_elements |
|
9 |
13 |
87 |
1 |
| ber_calc_len |
|
11 |
20 |
151 |
1 |
| ber_dump_element |
|
15 |
35 |
192 |
2 |
| ber_dump_header |
|
12 |
35 |
266 |
2 |
| ber_putc |
|
2 |
6 |
36 |
2 |
| ber_write |
|
2 |
6 |
45 |
3 |
| get_id |
|
6 |
26 |
173 |
4 |
| get_len |
|
8 |
32 |
174 |
2 |
| ber_read_element |
|
34 |
97 |
605 |
2 |
| ber_readbuf |
|
3 |
16 |
93 |
3 |
| ber_set_readbuf |
|
1 |
5 |
38 |
3 |
| ber_get_writebuf |
|
2 |
7 |
43 |
2 |
| ber_set_application |
|
1 |
4 |
27 |
2 |
| ber_free |
|
1 |
4 |
16 |
1 |
| ber_getc |
|
2 |
9 |
53 |
2 |
| ber_read |
|
7 |
21 |
132 |
3 |
| Source file: ./usr.sbin/ldapd/conn.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ldap_application |
|
1 |
4 |
12 |
1 |
| request_free |
|
2 |
6 |
29 |
1 |
| conn_close |
|
4 |
25 |
177 |
1 |
| conn_disconnect |
|
1 |
5 |
24 |
1 |
| request_dispatch |
|
6 |
34 |
205 |
1 |
| conn_dispatch |
|
5 |
40 |
266 |
1 |
| conn_read |
|
3 |
16 |
106 |
2 |
| conn_write |
|
5 |
16 |
105 |
2 |
| conn_err |
|
3 |
11 |
79 |
3 |
| conn_accept |
|
15 |
67 |
450 |
3 |
| conn_by_fd |
|
2 |
9 |
37 |
1 |
| conn_close_any |
|
3 |
16 |
72 |
0 |
| conn_tls_init |
|
3 |
15 |
109 |
1 |
| Source file: ./usr.sbin/ldapd/matching.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| match_rule_lookup |
|
6 |
14 |
116 |
1 |
| Source file: ./usr.sbin/ldapd/evbuffer_tls.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bufferevent_add |
|
2 |
10 |
54 |
2 |
| buffertls_readcb |
|
17 |
63 |
433 |
3 |
| buffertls_writecb |
|
13 |
46 |
310 |
3 |
| buffertls_handshakecb |
|
9 |
37 |
247 |
3 |
| buffertls_set |
|
1 |
9 |
73 |
4 |
| buffertls_accept |
|
1 |
10 |
81 |
2 |
| buffertls_connect |
|
1 |
10 |
81 |
2 |
| evtls_read |
|
7 |
18 |
145 |
4 |
| evtls_write |
|
2 |
9 |
58 |
3 |
| Source file: ./usr.sbin/ldapd/log.h |
| Source file: ./usr.sbin/ldapd/index.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| index_attribute |
|
6 |
34 |
272 |
4 |
| index_rdn_key |
|
4 |
26 |
185 |
3 |
| index_rdn |
|
4 |
17 |
133 |
2 |
| unindex_attribute |
|
5 |
31 |
237 |
4 |
| index_entry |
|
3 |
14 |
99 |
3 |
| unindex_rdn |
|
4 |
16 |
114 |
2 |
| unindex_entry |
|
3 |
14 |
99 |
3 |
| index_to_dn |
|
8 |
45 |
375 |
3 |
| Source file: ./usr.sbin/ripctl/parser.h |
| Source file: ./usr.sbin/ripctl/ripctl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usage |
|
1 |
7 |
25 |
1 |
| main |
|
48 |
153 |
953 |
2 |
| get_ifms_type |
|
4 |
17 |
52 |
1 |
| fmt_timeframe_core |
|
5 |
29 |
179 |
1 |
| mask2prefixlen |
|
2 |
7 |
32 |
1 |
| show_interface_msg |
|
5 |
25 |
146 |
1 |
| show_rib_msg |
|
4 |
23 |
120 |
1 |
| show_nbr_msg |
|
5 |
25 |
150 |
1 |
| show_fib_head |
|
1 |
5 |
22 |
1 |
| show_fib_msg |
|
11 |
41 |
246 |
1 |
| show_interface_head |
|
1 |
5 |
17 |
1 |
| show_fib_interface_msg |
|
7 |
27 |
156 |
1 |
| get_media_descr |
|
3 |
8 |
48 |
1 |
| get_linkstate |
|
3 |
11 |
77 |
2 |
| print_baudrate |
|
4 |
11 |
80 |
1 |
| Source file: ./usr.sbin/ldapd/ldapd.h |
| Source file: ./usr.sbin/ripctl/parser.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| parse |
|
6 |
24 |
150 |
2 |
| match_token |
|
29 |
74 |
448 |
3 |
| show_valid_args |
|
9 |
25 |
117 |
1 |
| parse_addr |
|
3 |
13 |
83 |
2 |
| parse_prefix |
|
4 |
21 |
151 |
3 |
| prefixlen2mask |
|
2 |
6 |
30 |
1 |
| Source file: ./usr.sbin/ftp-proxy/filter.h |
| Source file: ./usr.sbin/ldapd/namespace.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| namespace_begin_txn |
|
7 |
23 |
135 |
4 |
| namespace_begin |
|
1 |
4 |
27 |
1 |
| namespace_commit |
|
5 |
19 |
111 |
1 |
| namespace_abort |
|
1 |
7 |
35 |
1 |
| namespace_open |
|
6 |
23 |
189 |
1 |
| namespace_reopen |
|
2 |
12 |
94 |
1 |
| namespace_reopen_data |
|
2 |
9 |
43 |
1 |
| namespace_reopen_indx |
|
2 |
9 |
43 |
1 |
| namespace_set_fd |
|
3 |
12 |
72 |
4 |
| namespace_set_data_fd |
|
1 |
4 |
27 |
2 |
| namespace_set_indx_fd |
|
1 |
4 |
27 |
2 |
| namespace_close |
|
6 |
30 |
202 |
1 |
| namespace_remove |
|
1 |
5 |
26 |
1 |
| namespace_find |
|
5 |
23 |
142 |
2 |
| namespace_get |
|
2 |
10 |
58 |
2 |
| namespace_exists |
|
2 |
8 |
44 |
2 |
| namespace_ber2db |
|
1 |
5 |
31 |
3 |
| namespace_db2ber |
|
1 |
4 |
24 |
2 |
| namespace_put |
|
6 |
29 |
201 |
4 |
| namespace_add |
|
1 |
4 |
30 |
3 |
| namespace_update |
|
1 |
4 |
30 |
3 |
| namespace_del |
|
2 |
18 |
153 |
2 |
| namespace_has_referrals |
|
1 |
4 |
19 |
1 |
| namespace_lookup_base |
|
7 |
18 |
123 |
2 |
| namespace_for_base |
|
1 |
4 |
17 |
1 |
| namespace_referrals |
|
4 |
10 |
60 |
1 |
| namespace_has_index |
|
3 |
12 |
71 |
3 |
| namespace_queue_request |
|
3 |
12 |
73 |
2 |
| namespace_queue_replay |
|
5 |
18 |
124 |
3 |
| namespace_queue_schedule |
|
1 |
7 |
40 |
2 |
| namespace_cancel_conn |
|
3 |
15 |
93 |
1 |
| namespace_conn_queue_count |
|
2 |
13 |
64 |
1 |
| Source file: ./usr.sbin/traceroute/traceroute.h |
| Source file: ./usr.sbin/ftp-proxy/filter.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| add_addr |
|
2 |
14 |
136 |
2 |
| add_nat |
|
11 |
22 |
198 |
8 |
| add_rdr |
|
10 |
20 |
181 |
8 |
| do_commit |
|
2 |
6 |
32 |
1 |
| do_rollback |
|
2 |
6 |
32 |
1 |
| init_filter |
|
6 |
17 |
107 |
3 |
| prepare_commit |
|
2 |
16 |
115 |
1 |
| prepare_rule |
|
8 |
56 |
578 |
4 |
| Source file: ./usr.sbin/mailwrapper/mailwrapper.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| initarg |
|
2 |
7 |
51 |
1 |
| addarg |
|
3 |
10 |
85 |
2 |
| main |
|
15 |
60 |
438 |
2 |
| Source file: ./usr.sbin/tcpdump/l2tp.h |
| Source file: ./usr.sbin/tcpdump/print-stp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| stp_print |
|
16 |
61 |
283 |
2 |
| stp_print_cbpdu |
|
28 |
122 |
625 |
3 |
| stp_print_tbpdu |
|
1 |
6 |
21 |
2 |
| Source file: ./usr.sbin/tcpdump/afnum.h |
| Source file: ./usr.sbin/tcpdump/print-tftp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tftp_print |
|
10 |
50 |
279 |
2 |
| Source file: ./usr.sbin/traceroute/traceroute.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
157 |
576 |
4020 |
2 |
| usage |
|
2 |
18 |
44 |
1 |
| Source file: ./usr.sbin/tcpdump/radius.h |
| Source file: ./usr.sbin/tcpdump/print-etherip.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| etherip_print |
|
18 |
68 |
418 |
4 |
| Source file: ./usr.sbin/traceroute/worker.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| print_exthdr |
|
22 |
84 |
471 |
2 |
| check_tos |
|
2 |
10 |
93 |
2 |
| wait_for_reply |
|
2 |
11 |
83 |
3 |
| dump_packet |
|
3 |
12 |
74 |
1 |
| build_probe4 |
|
7 |
48 |
393 |
4 |
| build_probe6 |
|
4 |
31 |
236 |
5 |
| send_probe |
|
7 |
26 |
156 |
5 |
| deltaT |
|
1 |
7 |
58 |
2 |
| pr_type |
|
2 |
6 |
26 |
1 |
| packet_ok |
|
3 |
15 |
83 |
6 |
| packet_ok4 |
|
30 |
67 |
549 |
5 |
| packet_ok6 |
|
41 |
94 |
780 |
5 |
| print |
|
5 |
15 |
123 |
4 |
| get_udphdr |
|
11 |
35 |
246 |
3 |
| icmp_code |
|
3 |
14 |
65 |
4 |
| icmp4_code |
|
16 |
61 |
256 |
3 |
| icmp6_code |
|
8 |
30 |
128 |
3 |
| in_cksum |
|
3 |
15 |
94 |
2 |
| inetname |
|
7 |
25 |
196 |
1 |
| print_asn |
|
10 |
57 |
644 |
1 |
| map_tos |
|
3 |
43 |
253 |
2 |
| gettime |
|
2 |
7 |
41 |
1 |
| Source file: ./usr.sbin/tcpdump/print-cnfp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cnfp_print |
|
16 |
68 |
644 |
3 |
| Source file: ./usr.sbin/tcpdump/bpf_dump.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bpf_dump |
|
8 |
26 |
191 |
2 |
| Source file: ./usr.sbin/tcpdump/addrtoname.h |
| Source file: ./usr.sbin/tcpdump/print-fddi.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| print_fddi_fc |
|
14 |
50 |
188 |
1 |
| extract_fddi_addrs |
|
4 |
14 |
116 |
3 |
| fddi_print |
|
3 |
18 |
109 |
4 |
| fddi_smt_print |
|
1 |
4 |
17 |
2 |
| fddi_if_print |
|
14 |
48 |
335 |
3 |
| fddi_if_print |
|
1 |
5 |
24 |
3 |
| Source file: ./usr.sbin/tcpdump/version.c |
| Source file: ./usr.sbin/tcpdump/print-smb.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| smbfind |
|
3 |
7 |
60 |
2 |
| trans2_findfirst |
|
2 |
10 |
50 |
4 |
| trans2_qfsinfo |
|
5 |
25 |
113 |
4 |
| print_trans2 |
|
8 |
47 |
411 |
4 |
| print_browse |
|
11 |
41 |
230 |
4 |
| print_ipc |
|
3 |
7 |
48 |
4 |
| print_trans |
|
6 |
37 |
336 |
4 |
| print_negprot |
|
7 |
19 |
157 |
4 |
| print_sesssetup |
|
7 |
23 |
168 |
4 |
| print_smb |
|
17 |
65 |
486 |
2 |
| nbt_tcp_print |
|
16 |
61 |
314 |
2 |
| nbt_udp137_print |
|
36 |
104 |
742 |
2 |
| nbt_udp138_print |
|
3 |
10 |
62 |
2 |
| netbeui_print |
|
18 |
67 |
372 |
3 |
| ipx_netbios_print |
|
4 |
14 |
99 |
2 |
| Source file: ./usr.sbin/tcpdump/decnet.h |
| Source file: ./usr.sbin/tcpdump/print-timed.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| timed_print |
|
13 |
43 |
299 |
2 |
| Source file: ./usr.sbin/tcpdump/print-ike.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ike_tab_offset |
|
2 |
8 |
53 |
1 |
| ike_get_cookie |
|
3 |
13 |
121 |
2 |
| ike_print |
|
9 |
48 |
322 |
2 |
| ike_pl_sa_print |
|
8 |
30 |
194 |
2 |
| ike_attribute_print |
|
12 |
59 |
423 |
3 |
| ike_pl_transform_print |
|
11 |
49 |
332 |
3 |
| ike_pl_proposal_print |
|
9 |
31 |
218 |
3 |
| ike_pl_ke_print |
|
3 |
9 |
41 |
3 |
| ipsec_id_print |
|
24 |
74 |
538 |
3 |
| ike_pl_delete_print |
|
9 |
34 |
259 |
2 |
| ike_pl_notification_print |
|
18 |
71 |
514 |
2 |
| ike_pl_vendor_print |
|
7 |
22 |
171 |
3 |
| ike_cfg_attribute_print |
|
32 |
72 |
538 |
3 |
| ike_pl_attribute_print |
|
4 |
16 |
129 |
2 |
| ike_pl_print |
|
42 |
99 |
505 |
3 |
| Source file: ./usr.sbin/tcpdump/igrp.h |
| Source file: ./usr.sbin/tcpdump/print-enc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| enc_if_print |
|
6 |
37 |
199 |
3 |
| Source file: ./usr.sbin/tcpdump/setsignal.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| setsignal |
|
4 |
12 |
84 |
2 |
| Source file: ./usr.sbin/tcpdump/print-rt6.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rt6_print |
|
9 |
48 |
339 |
2 |
| Source file: ./usr.sbin/tcpdump/print-domain.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ns_nskip |
|
9 |
27 |
167 |
1 |
| blabel_print |
|
7 |
31 |
232 |
1 |
| labellen |
|
6 |
20 |
141 |
1 |
| ns_nprint |
|
20 |
70 |
422 |
2 |
| ns_cprint |
|
3 |
10 |
57 |
1 |
| ns_qprint |
|
8 |
24 |
171 |
3 |
| ns_rprint |
|
59 |
182 |
1158 |
3 |
| ns_print |
|
71 |
159 |
1062 |
3 |
| Source file: ./usr.sbin/ftp-proxy/ftp-proxy.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| client_error |
|
5 |
15 |
119 |
3 |
| client_parse |
|
12 |
17 |
132 |
1 |
| client_parse_anon |
|
3 |
14 |
88 |
1 |
| client_parse_cmd |
|
11 |
29 |
226 |
1 |
| client_read |
|
5 |
26 |
163 |
2 |
| drop_privs |
|
7 |
14 |
105 |
1 |
| end_session |
|
12 |
30 |
208 |
1 |
| exit_daemon |
|
3 |
11 |
61 |
1 |
| get_line |
|
8 |
26 |
162 |
2 |
| handle_connection |
|
24 |
121 |
906 |
3 |
| handle_signal |
|
1 |
5 |
27 |
3 |
| init_session |
|
2 |
21 |
128 |
1 |
| logmsg |
|
3 |
17 |
102 |
3 |
| main |
|
45 |
176 |
1098 |
2 |
| parse_port |
|
33 |
45 |
456 |
1 |
| pick_proxy_port |
|
1 |
5 |
18 |
1 |
| proxy_reply |
|
13 |
40 |
248 |
3 |
| server_error |
|
5 |
15 |
119 |
3 |
| server_parse |
|
8 |
12 |
98 |
1 |
| allow_data_connection |
|
21 |
70 |
543 |
1 |
| server_read |
|
5 |
27 |
172 |
2 |
| sock_ntop |
|
3 |
17 |
132 |
1 |
| usage |
|
1 |
8 |
23 |
1 |
| rdaemon |
|
7 |
25 |
138 |
1 |
| Source file: ./usr.sbin/tcpdump/print-atm.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| atm_if_print |
|
25 |
75 |
498 |
3 |
| Source file: ./usr.sbin/tcpdump/print-ripng.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rip6_entry_print |
|
3 |
10 |
73 |
2 |
| ripng_print |
|
15 |
57 |
390 |
2 |
| Source file: ./usr.sbin/tcpdump/print-hsrp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| hsrp_print |
|
5 |
38 |
274 |
2 |
| Source file: ./usr.sbin/tcpdump/llc.h |
| Source file: ./usr.sbin/tcpdump/print-frag6.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| frag6_print |
|
4 |
26 |
166 |
2 |
| Source file: ./usr.sbin/tcpdump/print-pfsync.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pfsync_if_print |
|
3 |
18 |
101 |
3 |
| pfsync_ip_print |
|
3 |
16 |
118 |
3 |
| pfsync_print |
|
15 |
57 |
333 |
3 |
| pfsync_print_clr |
|
4 |
14 |
116 |
2 |
| pfsync_print_state |
|
1 |
7 |
41 |
2 |
| pfsync_print_ins_ack |
|
1 |
7 |
44 |
2 |
| pfsync_print_upd_c |
|
1 |
7 |
44 |
2 |
| pfsync_print_upd_req |
|
1 |
7 |
44 |
2 |
| pfsync_print_del_c |
|
1 |
7 |
44 |
2 |
| pfsync_print_bus |
|
3 |
26 |
121 |
2 |
| pfsync_print_tdb |
|
1 |
7 |
51 |
2 |
| pfsync_print_eof |
|
1 |
4 |
17 |
2 |
| Source file: ./usr.sbin/tcpdump/ntp.h |
| Source file: ./usr.sbin/tcpdump/print-atalk.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| atalk_print |
|
2 |
19 |
138 |
2 |
| atalk_print_llap |
|
8 |
53 |
353 |
2 |
| aarp_print |
|
8 |
25 |
186 |
2 |
| ddp_print |
|
7 |
30 |
199 |
6 |
| atp_print |
|
20 |
76 |
458 |
2 |
| atp_bitmap_print |
|
6 |
23 |
129 |
1 |
| nbp_print |
|
23 |
69 |
474 |
5 |
| print_cstring |
|
5 |
21 |
119 |
2 |
| nbp_tuple_print |
|
6 |
20 |
152 |
5 |
| nbp_name_print |
|
4 |
15 |
114 |
2 |
| ataddr_string |
|
6 |
29 |
267 |
2 |
| ddpskt_string |
|
2 |
9 |
52 |
1 |
| Source file: ./usr.sbin/tcpdump/ike.h |
| Source file: ./usr.sbin/tcpdump/gmt2local.h |
| Source file: ./usr.sbin/tcpdump/print-icmp6.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| icmp6_cksum |
|
2 |
24 |
166 |
3 |
| icmp6_print |
|
86 |
352 |
1879 |
3 |
| icmp6_opt_print |
|
39 |
185 |
1301 |
2 |
| mld6_print |
|
2 |
11 |
75 |
1 |
| mldv2_report_print |
|
8 |
57 |
353 |
2 |
| mldv2_query_print |
|
12 |
69 |
434 |
2 |
| Source file: ./usr.sbin/tcpdump/smb.h |
| Source file: ./usr.sbin/tcpdump/print-ip6opts.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ip6_opt_print |
|
13 |
55 |
311 |
2 |
| hbhopt_print |
|
2 |
17 |
121 |
1 |
| dstopt_print |
|
2 |
19 |
123 |
1 |
| Source file: ./usr.sbin/tcpdump/dhcp6.h |
| Source file: ./usr.sbin/tcpdump/print-pim.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pim_print |
|
11 |
41 |
181 |
2 |
| Source file: ./usr.sbin/tcpdump/print-dhcp6.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dhcp6opttab_init |
|
1 |
5 |
19 |
0 |
| dhcp6opttab_byname |
|
3 |
9 |
47 |
1 |
| dhcp6opttab_bycode |
|
3 |
9 |
41 |
1 |
| dhcp6ext_print |
|
18 |
71 |
396 |
2 |
| dhcp6_print |
|
27 |
105 |
701 |
4 |
| Source file: ./usr.sbin/tcpdump/nfsfh.h |
| Source file: ./usr.sbin/tcpdump/ipx.h |
| Source file: ./usr.sbin/ldapd/btree.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| memncmp |
|
5 |
12 |
80 |
4 |
| memnrcmp |
|
10 |
20 |
149 |
4 |
| btree_cmp |
|
1 |
4 |
31 |
3 |
| common_prefix |
|
10 |
38 |
251 |
4 |
| remove_prefix |
|
4 |
11 |
94 |
3 |
| expand_prefix |
|
1 |
9 |
82 |
4 |
| bt_cmp |
|
2 |
10 |
94 |
4 |
| btval_reset |
|
4 |
10 |
54 |
1 |
| mpage_cmp |
|
3 |
8 |
44 |
2 |
| mpage_lookup |
|
2 |
12 |
77 |
2 |
| mpage_add |
|
1 |
6 |
48 |
2 |
| mpage_free |
|
2 |
7 |
29 |
1 |
| mpage_del |
|
1 |
7 |
59 |
2 |
| mpage_flush |
|
2 |
8 |
45 |
1 |
| mpage_copy |
|
3 |
16 |
134 |
2 |
| mpage_prune |
|
5 |
13 |
88 |
1 |
| mpage_dirty |
|
2 |
9 |
58 |
2 |
| mpage_touch |
|
5 |
22 |
157 |
2 |
| btree_read_page |
|
5 |
23 |
165 |
3 |
| btree_sync |
|
2 |
6 |
32 |
1 |
| btree_txn_begin |
|
8 |
41 |
251 |
2 |
| btree_txn_abort |
|
5 |
27 |
176 |
1 |
| btree_txn_commit |
|
17 |
87 |
510 |
1 |
| btree_write_header |
|
5 |
30 |
193 |
2 |
| btree_read_header |
|
7 |
37 |
219 |
1 |
| btree_write_meta |
|
5 |
32 |
271 |
3 |
| btree_is_meta_page |
|
5 |
23 |
142 |
1 |
| btree_read_meta |
|
15 |
67 |
368 |
2 |
| btree_open_fd |
|
8 |
47 |
370 |
2 |
| btree_open |
|
4 |
18 |
111 |
3 |
| btree_ref |
|
1 |
5 |
25 |
1 |
| btree_close |
|
3 |
15 |
85 |
1 |
| btree_search_node |
|
12 |
50 |
360 |
5 |
| cursor_pop_page |
|
1 |
9 |
51 |
1 |
| cursor_push_page |
|
2 |
11 |
73 |
2 |
| btree_get_mpage |
|
5 |
21 |
134 |
2 |
| concat_prefix |
|
2 |
13 |
104 |
7 |
| find_common_prefix |
|
9 |
34 |
262 |
2 |
| btree_search_page_root |
|
17 |
53 |
391 |
6 |
| btree_search_page |
|
11 |
37 |
249 |
6 |
| btree_read_data |
|
10 |
52 |
371 |
4 |
| btree_txn_get |
|
11 |
36 |
227 |
4 |
| btree_sibling |
|
9 |
39 |
262 |
2 |
| bt_set_key |
|
4 |
24 |
163 |
4 |
| btree_cursor_next |
|
7 |
34 |
236 |
3 |
| btree_cursor_set |
|
9 |
40 |
285 |
4 |
| btree_cursor_first |
|
5 |
18 |
137 |
3 |
| btree_cursor_get |
|
12 |
38 |
217 |
4 |
| btree_new_page |
|
6 |
27 |
207 |
2 |
| bt_leaf_size |
|
2 |
9 |
66 |
3 |
| bt_branch_size |
|
2 |
8 |
46 |
2 |
| btree_write_overflow_data |
|
6 |
28 |
187 |
3 |
| btree_add_node |
|
19 |
75 |
580 |
7 |
| btree_del_node |
|
7 |
32 |
261 |
3 |
| btree_txn_cursor_open |
|
7 |
22 |
122 |
2 |
| btree_cursor_close |
|
3 |
9 |
42 |
1 |
| btree_update_key |
|
6 |
36 |
284 |
4 |
| btree_adjust_prefix |
|
6 |
37 |
281 |
3 |
| btree_move_node |
|
29 |
127 |
1044 |
5 |
| btree_merge |
|
12 |
63 |
532 |
3 |
| btree_rebalance |
|
14 |
67 |
510 |
2 |
| btree_txn_del |
|
19 |
58 |
367 |
4 |
| bt_reduce_separator |
|
7 |
35 |
265 |
3 |
| btree_split |
|
26 |
141 |
1153 |
6 |
| btree_txn_put |
|
23 |
90 |
581 |
5 |
| btree_compact_tree |
|
14 |
54 |
408 |
3 |
| btree_compact |
|
12 |
59 |
372 |
1 |
| btree_revert |
|
2 |
7 |
55 |
1 |
| btree_set_cache_size |
|
1 |
4 |
21 |
2 |
| btree_get_flags |
|
1 |
4 |
18 |
1 |
| btree_get_path |
|
1 |
4 |
14 |
1 |
| btree_stat |
|
2 |
14 |
120 |
1 |
| Source file: ./usr.sbin/tcpdump/print-ip6.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ip6_print |
|
49 |
161 |
1026 |
2 |
| Source file: ./usr.sbin/tcpdump/ethertype.h |
| Source file: ./usr.sbin/tcpdump/fddi.h |
| Source file: ./usr.sbin/tcpdump/appletalk.h |
| Source file: ./usr.sbin/tcpdump/setsignal.h |
| Source file: ./usr.sbin/tcpdump/print-tcp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tcp_cksum |
|
1 |
23 |
190 |
3 |
| tcp6_cksum |
|
2 |
24 |
166 |
3 |
| tcp_print |
|
123 |
419 |
2706 |
3 |
| print_tcp_rst_data |
|
5 |
18 |
85 |
2 |
| Source file: ./usr.sbin/tcpdump/print-dvmrp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dvmrp_print |
|
13 |
56 |
275 |
2 |
| print_report |
|
11 |
43 |
268 |
3 |
| print_probe |
|
7 |
22 |
167 |
3 |
| print_neighbors |
|
8 |
25 |
155 |
3 |
| print_neighbors2 |
|
14 |
43 |
262 |
3 |
| print_prune |
|
3 |
15 |
98 |
3 |
| print_graft |
|
3 |
8 |
57 |
3 |
| print_graft_ack |
|
3 |
8 |
57 |
3 |
| Source file: ./usr.sbin/tcpdump/ospf6.h |
| Source file: ./usr.sbin/tcpdump/print-ospf6.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ospf6_print_seqage |
|
3 |
14 |
97 |
2 |
| ospf6_print_bits |
|
3 |
10 |
56 |
2 |
| ospf6_print_ls_type |
|
13 |
68 |
288 |
4 |
| ospf6_print_lshdr |
|
1 |
12 |
80 |
1 |
| ospf6_print_lsaprefix |
|
3 |
20 |
137 |
1 |
| ospf6_print_lsa |
|
33 |
184 |
1202 |
1 |
| ospf6_decode_v3 |
|
24 |
114 |
637 |
2 |
| ospf6_print |
|
7 |
40 |
244 |
2 |
| Source file: ./usr.sbin/tcpdump/print-ntp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ntp_print |
|
19 |
100 |
586 |
2 |
| p_sfix |
|
1 |
11 |
62 |
1 |
| p_ntp_time |
|
2 |
15 |
79 |
1 |
| p_ntp_delta |
|
8 |
42 |
218 |
2 |
| Source file: ./usr.sbin/tcpdump/print-netbios.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| netbios_print |
|
4 |
15 |
78 |
2 |
| Source file: ./usr.sbin/tcpdump/print-arp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| arp_print |
|
17 |
64 |
559 |
3 |
| Source file: ./usr.sbin/tcpdump/print-gre.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| gre_print |
|
5 |
22 |
98 |
2 |
| gre_print_0 |
|
28 |
98 |
517 |
2 |
| gre_print_1 |
|
21 |
77 |
370 |
2 |
| gre_sre_print |
|
3 |
18 |
88 |
5 |
| gre_sre_ip_print |
|
8 |
28 |
150 |
4 |
| gre_sre_asn_print |
|
8 |
26 |
133 |
4 |
| Source file: ./usr.sbin/tcpdump/savestr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| savestr |
|
4 |
23 |
116 |
1 |
| Source file: ./usr.sbin/tcpdump/netbios.h |
| Source file: ./usr.sbin/tcpdump/print-udp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| vat_print |
|
5 |
20 |
191 |
3 |
| rtp_print |
|
13 |
64 |
378 |
3 |
| rtcp_print |
|
17 |
78 |
623 |
2 |
| udp_cksum |
|
1 |
23 |
190 |
3 |
| udp6_cksum |
|
2 |
24 |
166 |
3 |
| udp_print |
|
84 |
248 |
1952 |
3 |
| Source file: ./usr.sbin/tcpdump/print-sunrpc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sunrpcrequest_print |
|
7 |
27 |
193 |
3 |
| progstr |
|
4 |
15 |
95 |
1 |
| Source file: ./usr.sbin/tcpdump/tcpdump.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| lookup_printer |
|
3 |
9 |
47 |
1 |
| init_pfosfp |
|
2 |
8 |
32 |
1 |
| pcap_print_linktype |
|
2 |
8 |
44 |
1 |
| pcap_list_linktypes |
|
6 |
19 |
136 |
1 |
| main |
|
76 |
248 |
1254 |
2 |
| cleanup |
|
4 |
24 |
171 |
1 |
| gotchld |
|
7 |
14 |
84 |
1 |
| default_print_hexl |
|
9 |
37 |
301 |
2 |
| default_print_ascii |
|
6 |
12 |
75 |
2 |
| default_print_unaligned |
|
7 |
24 |
151 |
2 |
| default_print |
|
8 |
29 |
181 |
2 |
| set_slave_signals |
|
1 |
7 |
34 |
1 |
| usage |
|
1 |
11 |
43 |
1 |
| Source file: ./usr.sbin/tcpdump/print-ospf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ospf_print_seqage |
|
3 |
14 |
97 |
2 |
| ospf_print_bits |
|
3 |
10 |
56 |
2 |
| ospf_print_ls_type |
|
7 |
38 |
161 |
4 |
| ospf_print_lshdr |
|
1 |
14 |
93 |
1 |
| ospf_print_lsa |
|
23 |
145 |
906 |
1 |
| ospf_decode_v2 |
|
24 |
113 |
639 |
2 |
| ospf_print |
|
12 |
70 |
438 |
3 |
| Source file: ./usr.sbin/tcpdump/print-slow.c |
| Source file: ./usr.sbin/tcpdump/ospf.h |
| Source file: ./usr.sbin/tcpdump/print-bgp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| num_or_str |
|
4 |
9 |
65 |
3 |
| bgp_notify_minor |
|
8 |
23 |
134 |
2 |
| decode_prefix4 |
|
5 |
24 |
205 |
3 |
| decode_prefix6 |
|
5 |
23 |
193 |
3 |
| bgp_attr_print |
|
72 |
279 |
1471 |
3 |
| bgp_open_capa_print |
|
17 |
73 |
399 |
2 |
| bgp_open_print |
|
7 |
47 |
300 |
2 |
| bgp_update_print |
|
25 |
95 |
585 |
2 |
| bgp_notification_print |
|
11 |
52 |
312 |
2 |
| bgp_route_refresh_print |
|
2 |
14 |
78 |
2 |
| bgp_header_print |
|
6 |
30 |
137 |
2 |
| bgp_print |
|
13 |
61 |
333 |
2 |
| Source file: ./usr.sbin/tcpdump/print-ipx.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ipx_print |
|
1 |
17 |
138 |
2 |
| ipxaddr_string |
|
1 |
7 |
66 |
2 |
| ipx_decode |
|
6 |
25 |
130 |
3 |
| ipx_sap_print |
|
10 |
45 |
311 |
2 |
| ipx_rip_print |
|
6 |
33 |
215 |
2 |
| Source file: ./usr.sbin/tcpdump/print-ppp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ppp_hdlc_print |
|
9 |
32 |
161 |
2 |
| handle_lcp |
|
16 |
48 |
253 |
2 |
| print_lcp_config_options |
|
27 |
73 |
503 |
1 |
| handle_chap |
|
7 |
38 |
205 |
2 |
| handle_pap |
|
8 |
41 |
207 |
2 |
| handle_ipcp |
|
6 |
40 |
274 |
2 |
| handle_ipv6cp |
|
4 |
31 |
172 |
2 |
| ppp_if_print |
|
13 |
46 |
256 |
3 |
| ppp_ether_if_print |
|
26 |
99 |
522 |
3 |
| pppoe_if_print |
|
42 |
155 |
755 |
4 |
| ppp_if_print |
|
1 |
7 |
30 |
3 |
| Source file: ./usr.sbin/tcpdump/nameser.h |
| Source file: ./usr.sbin/tcpdump/bootp.h |
| Source file: ./usr.sbin/tcpdump/print-carp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| carp_print |
|
8 |
29 |
202 |
3 |
| Source file: ./usr.sbin/tcpdump/print-wb.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wb_id |
|
6 |
39 |
314 |
2 |
| wb_rreq |
|
3 |
13 |
106 |
2 |
| wb_preq |
|
3 |
11 |
88 |
2 |
| wb_prep |
|
7 |
29 |
242 |
2 |
| wb_dops |
|
9 |
29 |
167 |
3 |
| wb_rrep |
|
3 |
18 |
153 |
2 |
| wb_drawop |
|
3 |
16 |
134 |
2 |
| wb_print |
|
16 |
43 |
261 |
2 |
| Source file: ./usr.sbin/tcpdump/addrtoname.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| intoa |
|
4 |
25 |
134 |
1 |
| getname |
|
15 |
53 |
422 |
1 |
| getname6 |
|
12 |
38 |
286 |
1 |
| lookup_emem |
|
6 |
23 |
175 |
1 |
| lookup_bytestring |
|
10 |
35 |
303 |
2 |
| lookup_nsap |
|
10 |
36 |
296 |
1 |
| lookup_protoid |
|
5 |
19 |
156 |
1 |
| etheraddr_string |
|
5 |
19 |
130 |
1 |
| linkaddr_string |
|
7 |
25 |
196 |
2 |
| etherproto_string |
|
3 |
21 |
169 |
1 |
| protoid_string |
|
5 |
23 |
170 |
1 |
| llcsap_string |
|
3 |
14 |
113 |
1 |
| isonsap_string |
|
4 |
20 |
136 |
1 |
| tcpport_string |
|
3 |
14 |
114 |
1 |
| udpport_string |
|
3 |
14 |
114 |
1 |
| ipproto_string |
|
1 |
4 |
15 |
1 |
| init_servarray |
|
6 |
29 |
194 |
1 |
| init_ipprotoarray |
|
5 |
16 |
115 |
1 |
| init_eprotoarray |
|
3 |
14 |
104 |
1 |
| init_protoidarray |
|
2 |
15 |
115 |
1 |
| init_etherarray |
|
8 |
27 |
175 |
1 |
| init_llcsaparray |
|
3 |
13 |
89 |
1 |
| init_addrtoname |
|
3 |
16 |
58 |
2 |
| dnaddr_string |
|
4 |
15 |
99 |
1 |
| newhnamemem |
|
3 |
15 |
74 |
1 |
| newh6namemem |
|
3 |
15 |
74 |
1 |
| Source file: ./usr.sbin/tcpdump/print-llc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| llc_print |
|
48 |
162 |
1123 |
5 |
| Source file: ./usr.sbin/tcpdump/print-mpls.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mpls_print |
|
24 |
64 |
301 |
2 |
| controlword_tryprint |
|
3 |
15 |
98 |
2 |
| Source file: ./usr.sbin/tcpdump/print-sl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sl_if_print |
|
8 |
31 |
182 |
3 |
| sl_bsdos_if_print |
|
5 |
22 |
138 |
3 |
| sliplink_print |
|
7 |
34 |
243 |
3 |
| print_sl_change |
|
2 |
10 |
56 |
2 |
| print_sl_winchange |
|
3 |
13 |
63 |
1 |
| compressed_sl_print |
|
9 |
37 |
259 |
4 |
| Source file: ./usr.sbin/tcpdump/pfctl_osfp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pfctl_file_fingerprints |
|
39 |
138 |
873 |
3 |
| pfctl_clear_fingerprints |
|
2 |
5 |
26 |
2 |
| pfctl_flush_my_fingerprints |
|
2 |
11 |
57 |
1 |
| pfctl_load_fingerprints |
|
4 |
18 |
100 |
2 |
| pfctl_show_fingerprints |
|
1 |
8 |
40 |
1 |
| pfctl_get_fingerprint |
|
17 |
87 |
499 |
1 |
| pfctl_lookup_fingerprint |
|
16 |
70 |
422 |
3 |
| lookup_name_list |
|
2 |
8 |
50 |
2 |
| add_fingerprint |
|
12 |
47 |
315 |
3 |
| import_fingerprint |
|
6 |
31 |
199 |
1 |
| fingerprint_name_entry |
|
6 |
21 |
142 |
2 |
| print_name_list |
|
1 |
11 |
75 |
3 |
| sort_name_list |
|
7 |
33 |
200 |
2 |
| get_int |
|
32 |
80 |
487 |
9 |
| get_str |
|
4 |
20 |
141 |
7 |
| get_tcpopts |
|
22 |
79 |
467 |
10 |
| get_field |
|
8 |
22 |
146 |
3 |
| print_ioctl |
|
21 |
91 |
797 |
1 |
| Source file: ./usr.sbin/tcpdump/ofp_map.c |
| Source file: ./usr.sbin/tcpdump/privsep_fdpass.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| send_fd |
|
4 |
32 |
223 |
2 |
| receive_fd |
|
6 |
42 |
255 |
1 |
| Source file: ./usr.sbin/tcpdump/print-mobile.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mobile_print |
|
8 |
33 |
211 |
2 |
| mob_in_cksum |
|
3 |
19 |
117 |
2 |
| Source file: ./usr.sbin/tcpdump/extract.h |
| Source file: ./usr.sbin/tcpdump/print-lldp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| lldp_print_str |
|
3 |
8 |
57 |
2 |
| lldp_print_addr |
|
2 |
7 |
47 |
2 |
| lldp_print_id |
|
18 |
70 |
290 |
3 |
| lldp_print |
|
17 |
95 |
490 |
2 |
| Source file: ./usr.sbin/tcpdump/print-udpencap.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| udpencap_print |
|
7 |
24 |
145 |
3 |
| Source file: ./usr.sbin/tcpdump/privsep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| priv_init |
|
15 |
53 |
447 |
2 |
| priv_exec |
|
31 |
126 |
666 |
2 |
| impl_open_bpf |
|
3 |
23 |
182 |
2 |
| impl_open_dump |
|
4 |
19 |
115 |
2 |
| impl_open_output |
|
2 |
14 |
89 |
2 |
| impl_setfilter |
|
2 |
6 |
41 |
3 |
| impl_init_done |
|
1 |
7 |
38 |
2 |
| impl_gethostbyaddr |
|
3 |
17 |
105 |
1 |
| impl_ether_ntohost |
|
2 |
11 |
65 |
1 |
| impl_getrpcbynumber |
|
2 |
12 |
63 |
1 |
| impl_getserventries |
|
3 |
17 |
87 |
1 |
| impl_getprotoentries |
|
3 |
16 |
78 |
1 |
| impl_localtime |
|
4 |
17 |
129 |
1 |
| impl_getlines |
|
8 |
37 |
249 |
1 |
| impl_pcap_stats |
|
2 |
9 |
57 |
2 |
| priv_init_done |
|
2 |
8 |
44 |
1 |
| priv_gethostbyaddr |
|
2 |
9 |
79 |
5 |
| priv_ether_ntohost |
|
2 |
8 |
65 |
3 |
| priv_getrpcbynumber |
|
2 |
8 |
61 |
3 |
| priv_getserventries |
|
2 |
6 |
28 |
1 |
| priv_getserventry |
|
3 |
10 |
81 |
5 |
| priv_getprotoentries |
|
2 |
6 |
28 |
1 |
| priv_getprotoentry |
|
3 |
9 |
65 |
3 |
| priv_localtime |
|
4 |
26 |
183 |
1 |
| priv_getlines |
|
2 |
7 |
42 |
1 |
| priv_pcap_stats |
|
2 |
8 |
49 |
1 |
| priv_getline |
|
2 |
6 |
40 |
2 |
| may_read |
|
6 |
18 |
91 |
3 |
| must_read |
|
6 |
17 |
86 |
3 |
| must_write |
|
6 |
17 |
88 |
3 |
| test_state |
|
5 |
19 |
103 |
2 |
| logmsg |
|
2 |
10 |
53 |
3 |
| write_command |
|
1 |
4 |
23 |
2 |
| write_zero |
|
1 |
5 |
25 |
1 |
| write_string |
|
1 |
7 |
46 |
2 |
| write_block |
|
1 |
5 |
37 |
3 |
| read_string |
|
3 |
10 |
71 |
4 |
| read_block |
|
3 |
11 |
75 |
4 |
| Source file: ./usr.sbin/tcpdump/print-radius.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| r_print_att |
|
9 |
27 |
199 |
3 |
| r_print_int |
|
2 |
7 |
51 |
3 |
| r_print_address |
|
2 |
7 |
52 |
3 |
| r_print_string |
|
3 |
13 |
77 |
3 |
| r_print_hex |
|
2 |
7 |
57 |
3 |
| radius_print |
|
10 |
43 |
251 |
2 |
| Source file: ./usr.sbin/tcpdump/print-vrrp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| vrrp_print |
|
12 |
51 |
335 |
3 |
| Source file: ./usr.sbin/tcpdump/print-ip.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| print_mtrace |
|
2 |
9 |
82 |
2 |
| print_mresp |
|
2 |
9 |
82 |
2 |
| igmp_print |
|
19 |
69 |
482 |
3 |
| ip_printroute |
|
8 |
18 |
149 |
3 |
| ip_optprint |
|
15 |
50 |
248 |
2 |
| in_cksum |
|
3 |
17 |
107 |
3 |
| ip_print |
|
56 |
222 |
1422 |
2 |
| Source file: ./usr.sbin/tcpdump/print-gtp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| gtp_print |
|
3 |
15 |
91 |
4 |
| gtp_decode_ie |
|
10 |
43 |
221 |
3 |
| gtp_print_tbcd |
|
4 |
15 |
88 |
2 |
| gtp_print_user_address |
|
11 |
23 |
146 |
2 |
| gtp_print_apn |
|
6 |
19 |
107 |
2 |
| gtp_print_str |
|
3 |
7 |
60 |
2 |
| gtp_v0_print |
|
7 |
39 |
275 |
4 |
| gtp_v0_print_prime |
|
2 |
15 |
108 |
1 |
| gtp_v0_print_tv |
|
21 |
130 |
800 |
2 |
| gtp_v0_print_tlv |
|
21 |
76 |
409 |
2 |
| gtp_v1_print |
|
22 |
74 |
477 |
4 |
| gtp_v1_print_ctrl |
|
2 |
8 |
66 |
3 |
| gtp_v1_print_user |
|
6 |
24 |
163 |
3 |
| gtp_v1_print_prime |
|
2 |
14 |
101 |
2 |
| gtp_v1_print_tv |
|
32 |
197 |
1304 |
2 |
| gtp_v1_print_tlv |
|
79 |
261 |
1180 |
2 |
| Source file: ./usr.sbin/tcpdump/gtp.h |
| Source file: ./usr.sbin/tcpdump/print-igrp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| igrp_entry_print |
|
5 |
24 |
191 |
3 |
| igrp_print |
|
8 |
50 |
334 |
3 |
| Source file: ./usr.sbin/tcpdump/in_cksum.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| in_cksum_shouldbe |
|
1 |
9 |
57 |
2 |
| Source file: ./usr.sbin/tcpdump/util.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fn_print |
|
6 |
24 |
112 |
2 |
| fn_printn |
|
6 |
24 |
116 |
3 |
| ts_print |
|
11 |
36 |
244 |
1 |
| relts_print |
|
4 |
19 |
129 |
1 |
| tok2str |
|
4 |
13 |
85 |
3 |
| error |
|
1 |
10 |
65 |
2 |
| warning |
|
1 |
9 |
60 |
2 |
| copy_argv |
|
6 |
20 |
141 |
1 |
| read_infile |
|
7 |
28 |
188 |
1 |
| safeputs |
|
2 |
7 |
25 |
1 |
| safeputchar |
|
3 |
9 |
53 |
1 |
| printb |
|
9 |
25 |
148 |
3 |
| Source file: ./usr.sbin/tcpdump/print-iapp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| iapp_print |
|
8 |
42 |
280 |
2 |
| Source file: ./usr.sbin/tcpdump/print-vqp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| vqp_print_opcode |
|
5 |
20 |
64 |
1 |
| vqp_print_rcode |
|
7 |
26 |
84 |
1 |
| print_hex |
|
2 |
5 |
26 |
2 |
| vqp_print_type |
|
14 |
56 |
285 |
3 |
| vqp_print |
|
4 |
35 |
215 |
2 |
| Source file: ./usr.sbin/tcpdump/ofp_map.h |
| Source file: ./usr.sbin/tcpdump/savestr.h |
| Source file: ./usr.sbin/tcpdump/print-pflog.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pflog_if_print |
|
32 |
115 |
668 |
3 |
| Source file: ./usr.sbin/tcpdump/print-null.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| null_print |
|
10 |
28 |
125 |
3 |
| loop_if_print |
|
1 |
5 |
45 |
3 |
| null_if_print |
|
21 |
64 |
405 |
3 |
| Source file: ./usr.sbin/tcpdump/nfsv2.h |
| Source file: ./usr.sbin/tcpdump/print-skip.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| skip_alg_to_name |
|
5 |
16 |
82 |
2 |
| skip_print_old |
|
16 |
109 |
621 |
3 |
| skip_protocol_name |
|
14 |
19 |
96 |
1 |
| skip_print_next |
|
8 |
13 |
124 |
4 |
| skip_print |
|
26 |
125 |
835 |
3 |
| ah_print |
|
17 |
70 |
439 |
3 |
| esp_print |
|
13 |
54 |
334 |
3 |
| Source file: ./usr.sbin/tcpdump/print-snmp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| asn1_parse |
|
51 |
212 |
1232 |
3 |
| asn1_print |
|
30 |
99 |
588 |
1 |
| asn1_decode |
|
6 |
19 |
116 |
2 |
| varbind_print |
|
26 |
60 |
413 |
4 |
| snmppdu_print |
|
19 |
64 |
421 |
3 |
| trap_print |
|
13 |
68 |
401 |
2 |
| snmp_print |
|
23 |
74 |
442 |
2 |
| Source file: ./usr.sbin/tcpdump/smbutil.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| interpret_dos_date |
|
1 |
12 |
191 |
7 |
| make_unix_date |
|
2 |
14 |
111 |
1 |
| make_unix_date2 |
|
1 |
8 |
70 |
1 |
| interpret_long_date |
|
2 |
12 |
111 |
1 |
| name_interpret |
|
13 |
36 |
251 |
3 |
| name_ptr |
|
5 |
27 |
139 |
3 |
| name_extract |
|
2 |
8 |
64 |
4 |
| name_len |
|
5 |
21 |
124 |
2 |
| name_type_str |
|
7 |
14 |
87 |
1 |
| write_bits |
|
4 |
12 |
81 |
2 |
| unistr |
|
12 |
30 |
199 |
2 |
| fdata1 |
|
52 |
202 |
1089 |
3 |
| fdata |
|
14 |
54 |
283 |
3 |
| smb_errstr |
|
6 |
26 |
190 |
2 |
| Source file: ./usr.sbin/tcpdump/print-ether.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ether_print |
|
2 |
22 |
121 |
2 |
| ether_if_print |
|
1 |
6 |
46 |
3 |
| ether_tryprint |
|
19 |
54 |
321 |
3 |
| ether_encap_print |
|
32 |
79 |
439 |
4 |
| ether_macctl |
|
4 |
21 |
100 |
2 |
| Source file: ./usr.sbin/tcpdump/privsep.h |
| Source file: ./usr.sbin/tcpdump/print-ofp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| print_map |
|
6 |
23 |
195 |
2 |
| ofp_print_hello |
|
11 |
58 |
344 |
3 |
| ofp_print_error |
|
3 |
18 |
108 |
2 |
| ofp_print_featuresreply |
|
2 |
14 |
80 |
2 |
| ofp_print_setconfig |
|
2 |
13 |
69 |
2 |
| ofp_print_packetin |
|
10 |
62 |
383 |
2 |
| ofp_print_flowremoved |
|
7 |
48 |
321 |
2 |
| ofp_print_packetout |
|
9 |
55 |
303 |
2 |
| ofp_print_flowmod |
|
13 |
84 |
520 |
2 |
| ofp_if_print |
|
4 |
25 |
169 |
3 |
| ofp_print |
|
14 |
54 |
257 |
2 |
| oxm_print_byte |
|
4 |
19 |
114 |
4 |
| oxm_print_halfword |
|
4 |
19 |
114 |
4 |
| oxm_print_word |
|
4 |
19 |
114 |
4 |
| oxm_print_quad |
|
4 |
19 |
114 |
4 |
| oxm_print_ether |
|
3 |
14 |
68 |
3 |
| oxm_print_data |
|
4 |
21 |
123 |
4 |
| ofp_print_oxm |
|
47 |
99 |
446 |
3 |
| action_print_output |
|
2 |
12 |
82 |
2 |
| action_print_group |
|
2 |
11 |
70 |
2 |
| action_print_setqueue |
|
2 |
10 |
65 |
2 |
| action_print_setmplsttl |
|
2 |
10 |
62 |
2 |
| action_print_setnwttl |
|
2 |
10 |
62 |
2 |
| action_print_push |
|
2 |
10 |
65 |
2 |
| action_print_popmpls |
|
2 |
10 |
65 |
2 |
| action_print_setfield |
|
6 |
32 |
188 |
2 |
| ofp_print_action |
|
18 |
44 |
179 |
3 |
| instruction_print_gototable |
|
2 |
11 |
70 |
2 |
| instruction_print_meta |
|
2 |
12 |
80 |
2 |
| instruction_print_actions |
|
6 |
38 |
225 |
2 |
| instruction_print_meter |
|
2 |
11 |
73 |
2 |
| instruction_print_experimenter |
|
2 |
11 |
73 |
2 |
| ofp_print_instruction |
|
8 |
27 |
125 |
3 |
| Source file: ./usr.sbin/tcpdump/print-bootp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bootp_print |
|
31 |
97 |
751 |
4 |
| rfc1048_print |
|
43 |
150 |
828 |
2 |
| cmu_print |
|
3 |
21 |
146 |
2 |
| Source file: ./usr.sbin/tcpdump/interface.h |
| Source file: ./usr.sbin/tcpdump/print-rip.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rip_printblk |
|
2 |
6 |
37 |
2 |
| rip_entry_print_v1 |
|
5 |
23 |
153 |
2 |
| rip_entry_print_v2 |
|
10 |
49 |
352 |
2 |
| rip_print |
|
13 |
61 |
377 |
2 |
| Source file: ./usr.sbin/tcpdump/print-isoclns.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| isoclns_print |
|
14 |
56 |
289 |
5 |
| esis_print |
|
38 |
152 |
828 |
2 |
| osi_cksum |
|
7 |
27 |
254 |
5 |
| Source file: ./usr.sbin/tcpdump/privsep_pcap.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| setfilter |
|
6 |
41 |
299 |
3 |
| priv_pcap_setfilter |
|
6 |
41 |
303 |
3 |
| pcap_live |
|
10 |
28 |
203 |
5 |
| priv_pcap_live |
|
16 |
84 |
547 |
7 |
| swap_hdr |
|
1 |
9 |
75 |
1 |
| priv_pcap_offline |
|
19 |
89 |
561 |
2 |
| sf_write_header |
|
2 |
15 |
106 |
4 |
| priv_pcap_dump_open |
|
6 |
30 |
197 |
2 |
| Source file: ./usr.sbin/tcpdump/print-raw.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| raw_if_print |
|
3 |
14 |
83 |
3 |
| Source file: ./usr.sbin/tcpdump/print-cdp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cdp_print |
|
24 |
79 |
470 |
5 |
| cdp_print_addr |
|
9 |
37 |
300 |
2 |
| cdp_print_prefixes |
|
3 |
9 |
73 |
2 |
| Source file: ./usr.sbin/tcpdump/dhcp6opt.h |
| Source file: ./usr.sbin/tcpdump/gmt2local.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| gmt2local |
|
3 |
18 |
129 |
1 |
| Source file: ./usr.sbin/tcpdump/print-l2tp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| print_string |
|
2 |
7 |
39 |
2 |
| print_octets |
|
2 |
7 |
39 |
2 |
| print_short |
|
1 |
4 |
20 |
1 |
| print_int |
|
1 |
4 |
23 |
1 |
| l2tp_msgtype_print |
|
2 |
7 |
48 |
2 |
| l2tp_result_code_print |
|
4 |
12 |
118 |
2 |
| l2tp_proto_ver_print |
|
1 |
4 |
27 |
2 |
| l2tp_framing_cap_print |
|
3 |
10 |
56 |
2 |
| l2tp_bearer_cap_print |
|
3 |
10 |
56 |
2 |
| l2tp_tie_breaker_print |
|
2 |
4 |
27 |
2 |
| l2tp_firm_ver_print |
|
1 |
4 |
21 |
2 |
| l2tp_host_name_print |
|
1 |
4 |
19 |
2 |
| l2tp_vendor_name_print |
|
1 |
4 |
19 |
2 |
| l2tp_assnd_tun_id_print |
|
1 |
4 |
21 |
2 |
| l2tp_recv_win_size_print |
|
1 |
4 |
21 |
2 |
| l2tp_challenge_print |
|
1 |
4 |
19 |
2 |
| l2tp_q931_cc_print |
|
2 |
9 |
58 |
2 |
| l2tp_challenge_resp_print |
|
1 |
4 |
19 |
2 |
| l2tp_assnd_sess_id_print |
|
1 |
4 |
21 |
2 |
| l2tp_call_ser_num_print |
|
1 |
4 |
21 |
2 |
| l2tp_minimum_bps_print |
|
1 |
4 |
21 |
2 |
| l2tp_maximum_bps_print |
|
1 |
4 |
21 |
2 |
| l2tp_bearer_type_print |
|
3 |
10 |
56 |
2 |
| l2tp_framing_type_print |
|
3 |
10 |
56 |
2 |
| l2tp_packet_proc_delay_print |
|
1 |
4 |
17 |
2 |
| l2tp_called_number_print |
|
1 |
4 |
19 |
2 |
| l2tp_calling_number_print |
|
1 |
4 |
19 |
2 |
| l2tp_sub_address_print |
|
1 |
4 |
19 |
2 |
| l2tp_tx_conn_speed_print |
|
1 |
4 |
21 |
2 |
| l2tp_phy_channel_id_print |
|
1 |
4 |
21 |
2 |
| l2tp_ini_recv_lcp_print |
|
1 |
4 |
19 |
2 |
| l2tp_last_sent_lcp_print |
|
1 |
4 |
19 |
2 |
| l2tp_last_recv_lcp_print |
|
1 |
4 |
19 |
2 |
| l2tp_proxy_auth_type_print |
|
7 |
26 |
99 |
2 |
| l2tp_proxy_auth_name_print |
|
1 |
4 |
19 |
2 |
| l2tp_proxy_auth_chal_print |
|
1 |
4 |
19 |
2 |
| l2tp_proxy_auth_id_print |
|
1 |
5 |
35 |
2 |
| l2tp_proxy_auth_resp_print |
|
1 |
4 |
19 |
2 |
| l2tp_call_errors_print |
|
1 |
12 |
58 |
2 |
| l2tp_accm_print |
|
1 |
5 |
37 |
2 |
| l2tp_random_vector_print |
|
1 |
4 |
19 |
2 |
| l2tp_private_grp_id_print |
|
1 |
4 |
19 |
2 |
| l2tp_rx_conn_speed_print |
|
1 |
4 |
21 |
2 |
| l2tp_seq_required_print |
|
1 |
4 |
14 |
2 |
| l2tp_avp_print |
|
13 |
46 |
288 |
2 |
| l2tp_print |
|
17 |
103 |
626 |
2 |
| Source file: ./usr.sbin/tcpdump/print-decnet.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| decnet_print |
|
18 |
101 |
715 |
3 |
| print_decnet_ctlmsg |
|
15 |
128 |
1017 |
3 |
| print_t_info |
|
7 |
14 |
100 |
1 |
| print_l1_routes |
|
3 |
25 |
159 |
2 |
| print_l2_routes |
|
3 |
25 |
159 |
2 |
| print_i_info |
|
8 |
16 |
114 |
1 |
| print_elist |
|
1 |
4 |
17 |
2 |
| print_nsp |
|
90 |
372 |
2286 |
2 |
| print_reason |
|
1 |
4 |
21 |
1 |
| dnnum_string |
|
2 |
12 |
77 |
1 |
| dnname_string |
|
2 |
8 |
63 |
1 |
| pdata |
|
3 |
12 |
60 |
2 |
| Source file: ./usr.sbin/tcpdump/route6d.h |
| Source file: ./usr.sbin/tcpdump/print-nfs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| print_int64 |
|
9 |
36 |
194 |
2 |
| parse_sattr3 |
|
7 |
38 |
320 |
2 |
| print_sattr3 |
|
7 |
17 |
116 |
2 |
| nfsreply_print |
|
3 |
12 |
102 |
3 |
| parsereq |
|
3 |
20 |
156 |
2 |
| parsefh |
|
3 |
16 |
91 |
2 |
| parsefn |
|
2 |
20 |
117 |
1 |
| parsefhn |
|
2 |
8 |
45 |
2 |
| nfsreq_print |
|
77 |
253 |
1651 |
3 |
| nfs_printfh |
|
3 |
18 |
133 |
2 |
| xid_map_enter |
|
6 |
27 |
215 |
2 |
| xid_map_find |
|
14 |
48 |
286 |
4 |
| parserep |
|
8 |
46 |
269 |
2 |
| parsestatus |
|
4 |
17 |
86 |
2 |
| parsefattr |
|
6 |
64 |
512 |
3 |
| parseattrstat |
|
3 |
10 |
62 |
3 |
| parsediropres |
|
4 |
12 |
75 |
1 |
| parselinkres |
|
4 |
13 |
81 |
2 |
| parsestatfs |
|
11 |
48 |
332 |
2 |
| parserddires |
|
5 |
19 |
112 |
1 |
| parse_wcc_attr |
|
1 |
12 |
92 |
1 |
| parse_pre_op_attr |
|
3 |
15 |
80 |
2 |
| parse_post_op_attr |
|
3 |
13 |
79 |
2 |
| parse_wcc_data |
|
4 |
10 |
59 |
2 |
| parsecreateopres |
|
8 |
27 |
158 |
2 |
| parsewccres |
|
2 |
7 |
45 |
2 |
| parsev3rddirres |
|
6 |
20 |
113 |
2 |
| parsefsinfo |
|
6 |
33 |
230 |
1 |
| parsepathconf |
|
9 |
25 |
170 |
1 |
| interp_reply |
|
116 |
292 |
1588 |
4 |
| Source file: ./usr.sbin/tcpdump/print-krb.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| c_print |
|
7 |
26 |
119 |
2 |
| krb4_print_hdr |
|
1 |
14 |
69 |
1 |
| krb4_print |
|
10 |
64 |
370 |
1 |
| krb_print |
|
8 |
25 |
113 |
2 |
| Source file: ./usr.sbin/tcpdump/print-ipsec.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| esp_init |
|
11 |
49 |
359 |
1 |
| esp_decrypt |
|
14 |
61 |
344 |
3 |
| esp_print |
|
6 |
26 |
178 |
3 |
| ah_print |
|
14 |
66 |
401 |
3 |
| ipcomp_print |
|
2 |
16 |
114 |
3 |
| Source file: ./usr.sbin/tcpdump/parsenfsfh.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| Parse_fh |
|
58 |
194 |
1619 |
5 |
| is_UCX |
|
5 |
21 |
87 |
1 |
| Source file: ./usr.sbin/tcpdump/nfs.h |
| Source file: ./usr.sbin/tcpdump/pf_print_state.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| print_addr |
|
19 |
57 |
353 |
3 |
| print_name |
|
3 |
16 |
75 |
2 |
| print_host |
|
9 |
31 |
233 |
6 |
| print_seq |
|
2 |
9 |
75 |
1 |
| print_state |
|
38 |
125 |
1134 |
2 |
| unmask |
|
5 |
15 |
98 |
2 |
| Source file: ./usr.sbin/tcpdump/print-icmp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| icmp_print |
|
32 |
206 |
1327 |
3 |
| Source file: ./usr.sbin/npppd/pptp/pptp_local.h |
| Source file: ./usr.sbin/npppd/pptp/pptp_conf.h |
| Source file: ./usr.sbin/tcpdump/print-802_11.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ieee80211_hdr |
|
6 |
51 |
362 |
1 |
| ieee80211_data |
|
11 |
62 |
387 |
2 |
| ieee80211_print_element |
|
2 |
8 |
51 |
2 |
| ieee80211_print_essid |
|
7 |
18 |
116 |
2 |
| ieee80211_print_country |
|
12 |
29 |
238 |
2 |
| ieee80211_print_htcaps |
|
35 |
111 |
585 |
2 |
| ieee80211_print_htop |
|
26 |
88 |
566 |
2 |
| ieee80211_print_rsncipher |
|
9 |
32 |
146 |
1 |
| ieee80211_print_akm |
|
7 |
26 |
126 |
1 |
| ieee80211_print_rsn |
|
26 |
98 |
740 |
2 |
| ieee80211_print_beacon |
|
5 |
22 |
163 |
2 |
| ieee80211_print_assocreq |
|
7 |
26 |
172 |
2 |
| ieee80211_print_elements |
|
44 |
135 |
690 |
1 |
| ieee80211_frame |
|
38 |
140 |
752 |
2 |
| ieee80211_any2ieee |
|
5 |
15 |
82 |
2 |
| ieee80211_print |
|
3 |
8 |
43 |
2 |
| ieee802_11_if_print |
|
5 |
16 |
105 |
3 |
| ieee802_11_radio_if_print |
|
46 |
178 |
1097 |
3 |
| ieee80211_reason |
|
15 |
48 |
159 |
1 |
| Source file: ./usr.sbin/tcpdump/print-lwres.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| lwres_printname |
|
3 |
15 |
81 |
2 |
| lwres_printnamelen |
|
3 |
14 |
69 |
1 |
| lwres_printbinlen |
|
4 |
18 |
107 |
1 |
| lwres_printb64len |
|
5 |
32 |
202 |
1 |
| lwres_printaddr |
|
6 |
28 |
183 |
1 |
| lwres_print |
|
46 |
216 |
1359 |
2 |
| Source file: ./usr.sbin/npppd/pptp/pptp.h |
| Source file: ./usr.sbin/npppd/pptp/pptp_subr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pptp_framing_string |
|
4 |
10 |
65 |
1 |
| pptp_bearer_string |
|
4 |
10 |
65 |
1 |
| pptp_init_header |
|
1 |
8 |
57 |
3 |
| Source file: ./usr.sbin/ldapctl/ldapctl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usage |
|
1 |
9 |
26 |
1 |
| compact_db |
|
6 |
15 |
93 |
1 |
| compact_namespace |
|
5 |
21 |
129 |
2 |
| compact_namespaces |
|
3 |
11 |
57 |
1 |
| index_namespace |
|
17 |
67 |
418 |
2 |
| index_namespaces |
|
3 |
11 |
57 |
1 |
| ssl_load_certfile |
|
1 |
4 |
20 |
3 |
| main |
|
44 |
130 |
794 |
2 |
| show_stats |
|
1 |
14 |
105 |
1 |
| show_dbstats |
|
1 |
16 |
161 |
2 |
| show_nsstats |
|
1 |
8 |
49 |
1 |
| Source file: ./usr.sbin/npppd/pptp/pptp_subr.h |
| Source file: ./usr.sbin/tcpdump/mib.h |
| Source file: ./usr.sbin/npppd/pptp/pptpd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pptpd_init |
|
7 |
33 |
294 |
1 |
| pptpd_add_listener |
|
13 |
65 |
459 |
4 |
| pptpd_uninit |
|
3 |
18 |
119 |
1 |
| pptpd_assign_call |
|
6 |
30 |
174 |
2 |
| pptpd_release_call |
|
2 |
7 |
59 |
2 |
| pptpd_listener_start |
|
22 |
107 |
747 |
1 |
| pptpd_start |
|
3 |
14 |
76 |
1 |
| pptpd_listener_close_gre |
|
2 |
10 |
60 |
1 |
| pptpd_close_gre |
|
2 |
9 |
47 |
1 |
| pptpd_listener_close_1723 |
|
2 |
11 |
68 |
1 |
| pptpd_close_1723 |
|
2 |
9 |
47 |
1 |
| pptpd_stop_immediatly |
|
4 |
20 |
131 |
1 |
| pptpd_stop_timeout |
|
1 |
6 |
27 |
3 |
| pptpd_stop |
|
6 |
30 |
164 |
1 |
| pptpd_reload |
|
5 |
30 |
173 |
2 |
| pptpd_io_event |
|
10 |
39 |
198 |
3 |
| pptpd_gre_io_event |
|
6 |
29 |
167 |
3 |
| pptpd_gre_input |
|
21 |
109 |
681 |
4 |
| pptp_ctrl_start_by_pptpd |
|
7 |
35 |
237 |
4 |
| pptpd_ctrl_finished_notify |
|
5 |
20 |
130 |
2 |
| pptpd_log |
|
2 |
11 |
87 |
4 |
| pptp_call_cmp |
|
1 |
4 |
27 |
2 |
| pptp_call_hash |
|
1 |
4 |
20 |
2 |
| pptp_gre_header_string |
|
7 |
10 |
114 |
3 |
| Source file: ./usr.sbin/npppd/npppd/pathnames.h |
| Source file: ./usr.sbin/npppd/npppd/radius_chap_const.h |
| Source file: ./usr.sbin/npppd/npppd/log.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| log_init |
|
2 |
8 |
36 |
1 |
| logit |
|
1 |
7 |
38 |
3 |
| vlog |
|
1 |
4 |
24 |
3 |
| log_warn |
|
3 |
18 |
111 |
2 |
| log_warnx |
|
1 |
7 |
35 |
2 |
| log_info |
|
1 |
7 |
35 |
2 |
| log_debug |
|
3 |
9 |
43 |
2 |
| fatal |
|
3 |
12 |
61 |
1 |
| fatalx |
|
1 |
5 |
18 |
1 |
| Source file: ./usr.sbin/npppd/npppd/version.h |
| Source file: ./usr.sbin/npppd/npppd/npppd_defs.h |
| Source file: ./usr.sbin/npppd/npppd/npppd_config.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| npppd_config_check |
|
1 |
6 |
28 |
1 |
| npppd_reload_config |
|
2 |
18 |
85 |
1 |
| npppd_modules_reload |
|
5 |
12 |
87 |
1 |
| npppd_pool_load |
|
16 |
66 |
476 |
1 |
| npppd_auth_realm_reload |
|
12 |
69 |
396 |
1 |
| realm_list_remove |
|
4 |
12 |
71 |
2 |
| npppd_ifaces_load_config |
|
11 |
43 |
283 |
1 |
| Source file: ./usr.sbin/npppd/npppd/psm-opt.h |
| Source file: ./usr.sbin/npppd/npppd/npppd_ctl.h |
| Source file: ./usr.sbin/npppd/pptp/pptp_ctrl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pptp_ctrl_create |
|
2 |
7 |
32 |
1 |
| pptp_ctrl_init |
|
3 |
29 |
174 |
1 |
| pptp_ctrl_start |
|
6 |
48 |
356 |
1 |
| pptp_ctrl_timeout |
|
13 |
62 |
311 |
3 |
| pptp_ctrl_reset_timeout |
|
2 |
14 |
58 |
1 |
| pptp_ctrl_stop |
|
5 |
23 |
110 |
2 |
| pptp_ctrl_fini |
|
4 |
27 |
168 |
1 |
| pptp_ctrl_destroy |
|
3 |
12 |
59 |
1 |
| pptp_ctrl_io_event |
|
17 |
56 |
342 |
3 |
| pptp_ctrl_set_io_event |
|
4 |
17 |
102 |
1 |
| pptp_ctrl_output |
|
2 |
12 |
66 |
3 |
| pptp_ctrl_output_flush |
|
5 |
30 |
183 |
1 |
| pptp_ctrl_SCCRx_string |
|
2 |
19 |
152 |
3 |
| pptp_ctrl_recv_SCCRQ |
|
3 |
24 |
179 |
3 |
| pptp_ctrl_recv_StopCCRP |
|
2 |
14 |
88 |
3 |
| pptp_ctrl_send_StopCCRQ |
|
2 |
20 |
133 |
2 |
| pptp_ctrl_recv_StopCCRQ |
|
2 |
14 |
88 |
3 |
| pptp_ctrl_send_StopCCRP |
|
2 |
23 |
153 |
3 |
| pptp_ctrl_send_SCCRP |
|
4 |
39 |
312 |
3 |
| pptp_ctrl_process_echo_req |
|
4 |
29 |
207 |
3 |
| pptp_ctrl_recv_echo_rep |
|
4 |
24 |
147 |
3 |
| pptp_ctrl_send_echo_req |
|
3 |
18 |
130 |
1 |
| pptp_ctrl_send_CDN |
|
3 |
25 |
183 |
5 |
| pptp_ctrl_input |
|
26 |
108 |
545 |
3 |
| pptp_ctrl_call_input |
|
22 |
87 |
444 |
4 |
| pptp_ctrl_log |
|
2 |
11 |
90 |
4 |
| pptp_ctrl_state_string |
|
5 |
14 |
40 |
1 |
| Source file: ./usr.sbin/npppd/npppd/ppp.h |
| Source file: ./usr.sbin/npppd/pptp/pptp_call.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pptp_call_create |
|
2 |
7 |
32 |
1 |
| pptp_call_init |
|
1 |
10 |
66 |
2 |
| pptp_call_start |
|
2 |
6 |
23 |
1 |
| pptp_call_stop |
|
2 |
8 |
50 |
1 |
| pptp_call_destroy |
|
1 |
5 |
20 |
1 |
| pptp_call_disconnect |
|
3 |
12 |
66 |
4 |
| pptp_call_input |
|
12 |
68 |
327 |
4 |
| pptp_call_recv_SLI |
|
4 |
22 |
144 |
3 |
| pptp_call_send_SLI |
|
2 |
26 |
188 |
1 |
| pptp_call_recv_CCR |
|
2 |
12 |
82 |
3 |
| pptp_call_send_CDN |
|
4 |
33 |
253 |
5 |
| pptp_call_send_OCRP |
|
2 |
37 |
295 |
4 |
| pptp_call_recv_OCRQ |
|
2 |
27 |
223 |
3 |
| pptp_call_gre_input |
|
14 |
68 |
432 |
6 |
| pptp_call_gre_output |
|
13 |
62 |
482 |
5 |
| pptp_call_notify_down |
|
2 |
5 |
23 |
1 |
| pptp_call_ppp_input |
|
5 |
20 |
106 |
4 |
| pptp_call_ppp_output |
|
3 |
16 |
86 |
4 |
| pptp_call_closed_by_ppp |
|
2 |
13 |
70 |
1 |
| pptp_call_bind_ppp |
|
5 |
32 |
230 |
1 |
| pptp_call_log |
|
2 |
12 |
104 |
4 |
| pptp_call_OCRQ_string |
|
1 |
12 |
73 |
3 |
| pptp_call_OCRP_string |
|
1 |
11 |
63 |
3 |
| pptp_call_state_string |
|
5 |
14 |
40 |
1 |
| Source file: ./usr.sbin/npppd/npppd/ipcp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ipcp_init |
|
1 |
18 |
133 |
2 |
| ipcp_resetci |
|
2 |
8 |
58 |
1 |
| ipcp_cilen |
|
1 |
5 |
28 |
1 |
| ipcp_addci |
|
1 |
11 |
80 |
3 |
| ipcp_ackci |
|
1 |
5 |
32 |
3 |
| ipcp_nakci |
|
1 |
8 |
59 |
3 |
| ipcp_rejci |
|
1 |
8 |
58 |
3 |
| ipcp_reqci |
|
34 |
146 |
763 |
4 |
| ipcp_open |
|
7 |
24 |
148 |
1 |
| ipcp_close |
|
1 |
4 |
21 |
1 |
| ipcp_start |
|
1 |
3 |
8 |
1 |
| ipcp_stop |
|
1 |
5 |
26 |
1 |
| Source file: ./usr.sbin/npppd/npppd/pap.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pap_init |
|
1 |
6 |
31 |
2 |
| pap_start |
|
2 |
11 |
58 |
1 |
| pap_stop |
|
3 |
10 |
47 |
1 |
| pap_input |
|
17 |
68 |
386 |
3 |
| pap_authenticate |
|
6 |
21 |
144 |
2 |
| pap_log |
|
1 |
10 |
68 |
4 |
| pap_response |
|
5 |
43 |
284 |
3 |
| pap_local_authenticate |
|
3 |
14 |
92 |
3 |
| pap_proxy_authen_prepare |
|
3 |
24 |
175 |
2 |
| pap_radius_authenticate |
|
13 |
65 |
485 |
3 |
| pap_radius_response |
|
11 |
52 |
275 |
4 |
| Source file: ./usr.sbin/npppd/npppd/fsm.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fsm_evtimer_timeout |
|
1 |
6 |
32 |
3 |
| fsm_init |
|
1 |
14 |
83 |
1 |
| fsm_lowerup |
|
4 |
19 |
81 |
1 |
| fsm_lowerdown |
|
11 |
32 |
153 |
1 |
| fsm_open |
|
9 |
28 |
121 |
1 |
| fsm_close |
|
11 |
33 |
193 |
2 |
| fsm_timeout |
|
14 |
38 |
256 |
1 |
| fsm_input |
|
15 |
57 |
309 |
3 |
| fsm_rconfreq |
|
14 |
48 |
277 |
4 |
| fsm_rconfack |
|
13 |
43 |
253 |
4 |
| fsm_rconfnakrej |
|
15 |
43 |
261 |
5 |
| fsm_rtermreq |
|
5 |
22 |
118 |
4 |
| fsm_rtermack |
|
8 |
27 |
143 |
1 |
| fsm_rcoderej |
|
3 |
18 |
93 |
3 |
| fsm_protreject |
|
12 |
36 |
209 |
1 |
| fsm_sconfreq |
|
10 |
29 |
225 |
2 |
| fsm_sdata |
|
1 |
8 |
49 |
5 |
| fsm_log |
|
1 |
12 |
89 |
4 |
| Source file: ./usr.sbin/npppd/npppd/accept.h |
| Source file: ./usr.sbin/npppd/npppd/npppd_auth_local.h |
| Source file: ./usr.sbin/npppd/npppd/npppd_local.h |
| Source file: ./usr.sbin/npppd/npppd/npppd_iface.h |
| Source file: ./usr.sbin/npppd/npppd/control.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| control_init |
|
9 |
48 |
343 |
1 |
| control_listen |
|
3 |
14 |
94 |
1 |
| control_cleanup |
|
2 |
11 |
77 |
1 |
| control_accept |
|
9 |
41 |
315 |
3 |
| control_connbyfd |
|
2 |
9 |
42 |
1 |
| control_close |
|
3 |
18 |
128 |
2 |
| control_dispatch_imsg |
|
25 |
86 |
568 |
3 |
| control_imsg_forward |
|
2 |
9 |
70 |
1 |
| Source file: ./usr.sbin/npppd/npppd/radius_req.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| radius_request |
|
2 |
13 |
70 |
2 |
| radius_prepare_nas_address |
|
10 |
47 |
300 |
2 |
| radius_request_can_failover |
|
3 |
13 |
84 |
1 |
| radius_request_failover |
|
4 |
15 |
79 |
1 |
| radius_prepare_socket |
|
4 |
26 |
193 |
1 |
| radius_prepare |
|
6 |
29 |
174 |
4 |
| radius_cancel_request |
|
4 |
19 |
116 |
1 |
| radius_get_server_secret |
|
1 |
7 |
28 |
1 |
| radius_get_server_address |
|
1 |
7 |
34 |
1 |
| radius_request0 |
|
7 |
40 |
246 |
2 |
| radius_request_io_event |
|
11 |
48 |
294 |
3 |
| radius_on_response |
|
8 |
32 |
220 |
4 |
| select_srcaddr |
|
5 |
18 |
107 |
3 |
| radius_req_setting_create |
|
1 |
4 |
17 |
1 |
| radius_req_setting_has_server |
|
1 |
4 |
20 |
1 |
| radius_req_setting_destroy |
|
2 |
6 |
27 |
1 |
| radius_req_setting_ref |
|
1 |
4 |
13 |
1 |
| radius_req_setting_unref |
|
2 |
6 |
24 |
1 |
| Source file: ./usr.sbin/npppd/npppd/chap.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| chap_init |
|
2 |
16 |
117 |
2 |
| chap_start |
|
10 |
66 |
397 |
1 |
| chap_stop |
|
3 |
9 |
44 |
1 |
| chap_input |
|
15 |
75 |
411 |
3 |
| chap_failure |
|
3 |
11 |
50 |
3 |
| chap_authenticate |
|
12 |
53 |
296 |
3 |
| chap_response |
|
4 |
29 |
202 |
4 |
| chap_create_challenge |
|
2 |
7 |
44 |
1 |
| chap_proxy_authen_prepare |
|
7 |
39 |
264 |
2 |
| md5chap_authenticate |
|
4 |
38 |
227 |
6 |
| chap_send_error |
|
1 |
11 |
79 |
2 |
| mschapv2_send_error |
|
1 |
17 |
165 |
3 |
| mschapv2_authenticate |
|
8 |
58 |
451 |
6 |
| chap_radius_authenticate |
|
16 |
82 |
473 |
6 |
| chap_radius_response |
|
19 |
98 |
573 |
4 |
| strip_nt_domain |
|
2 |
7 |
35 |
1 |
| chap_log |
|
3 |
24 |
125 |
4 |
| Source file: ./usr.sbin/npppd/npppd/mppe.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mppe_init |
|
8 |
32 |
218 |
2 |
| mppe_fini |
|
1 |
5 |
28 |
1 |
| mppe_reduce_key |
|
3 |
10 |
49 |
1 |
| mppe_key_change |
|
2 |
17 |
114 |
2 |
| mppe_start |
|
11 |
47 |
467 |
1 |
| mppe_create_our_bits |
|
11 |
31 |
195 |
2 |
| mppe_input |
|
25 |
103 |
668 |
3 |
| mppe_recv_ccp_reset |
|
1 |
5 |
29 |
1 |
| mppe_pkt_output |
|
9 |
41 |
309 |
4 |
| mppe_log |
|
1 |
10 |
68 |
4 |
| mppe_bits_to_string |
|
8 |
14 |
127 |
1 |
| rc4_create_ctx |
|
1 |
4 |
15 |
1 |
| rc4_key |
|
1 |
5 |
27 |
3 |
| rc4 |
|
1 |
4 |
30 |
4 |
| GetNewKeyFromSHA |
|
1 |
14 |
98 |
4 |
| mppe_rc4_init |
|
3 |
14 |
72 |
3 |
| mppe_rc4_setkey |
|
1 |
4 |
28 |
2 |
| mppe_rc4_setoldkey |
|
1 |
5 |
36 |
3 |
| mppe_rc4_encrypt |
|
1 |
4 |
36 |
5 |
| mppe_rc4_destroy |
|
1 |
6 |
32 |
2 |
| Source file: ./usr.sbin/npppd/npppd/privsep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| privsep_init |
|
5 |
27 |
158 |
1 |
| privsep_fini |
|
2 |
8 |
30 |
1 |
| privsep_priv_pid |
|
1 |
4 |
11 |
1 |
| priv_bind |
|
3 |
16 |
119 |
3 |
| priv_socket |
|
1 |
11 |
74 |
3 |
| priv_open |
|
1 |
10 |
77 |
2 |
| priv_fopen |
|
3 |
12 |
69 |
1 |
| priv_sendto |
|
4 |
25 |
201 |
6 |
| priv_send |
|
1 |
4 |
36 |
4 |
| priv_unlink |
|
1 |
9 |
68 |
1 |
| priv_get_user_info |
|
5 |
49 |
364 |
3 |
| priv_get_if_addr |
|
4 |
25 |
170 |
2 |
| priv_delete_if_addr |
|
1 |
9 |
68 |
1 |
| priv_set_if_addr |
|
1 |
10 |
80 |
2 |
| priv_get_if_flags |
|
4 |
25 |
173 |
2 |
| priv_set_if_flags |
|
1 |
10 |
77 |
2 |
| privsep_recvfd |
|
4 |
20 |
108 |
1 |
| privsep_common_resp |
|
4 |
20 |
107 |
1 |
| privsep_priv_main |
|
1 |
9 |
41 |
1 |
| privsep_priv_dispatch_imsg |
|
70 |
350 |
2456 |
1 |
| imsg_read_and_get |
|
8 |
17 |
100 |
2 |
| startswith |
|
2 |
4 |
35 |
2 |
| privsep_npppd_check_open |
|
8 |
30 |
199 |
1 |
| privsep_npppd_check_socket |
|
10 |
13 |
89 |
1 |
| privsep_npppd_check_bind |
|
1 |
4 |
14 |
1 |
| privsep_npppd_check_sendto |
|
6 |
9 |
60 |
1 |
| privsep_npppd_check_unlink |
|
1 |
4 |
14 |
1 |
| privsep_npppd_check_get_user_info |
|
2 |
8 |
46 |
1 |
| privsep_npppd_check_get_if_addr |
|
3 |
6 |
39 |
1 |
| privsep_npppd_check_set_if_addr |
|
3 |
6 |
39 |
1 |
| privsep_npppd_check_del_if_addr |
|
3 |
6 |
39 |
1 |
| privsep_npppd_check_get_if_flags |
|
3 |
6 |
39 |
1 |
| privsep_npppd_check_set_if_flags |
|
3 |
6 |
39 |
1 |
| Source file: ./usr.sbin/npppd/npppd/npppd_pool.h |
| Source file: ./usr.sbin/npppd/npppd/npppd_auth.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| npppd_auth_create |
|
10 |
43 |
241 |
3 |
| npppd_auth_dispose |
|
1 |
5 |
16 |
1 |
| npppd_auth_destroy |
|
7 |
25 |
133 |
1 |
| npppd_auth_reload |
|
9 |
44 |
256 |
1 |
| npppd_auth_get_user_password |
|
8 |
41 |
211 |
4 |
| npppd_auth_get_framed_ip |
|
5 |
20 |
127 |
4 |
| npppd_auth_get_calling_number |
|
7 |
31 |
162 |
4 |
| npppd_auth_get_type |
|
1 |
4 |
13 |
1 |
| npppd_auth_is_usable |
|
3 |
4 |
27 |
1 |
| npppd_auth_is_ready |
|
7 |
14 |
71 |
1 |
| npppd_auth_is_disposing |
|
2 |
4 |
21 |
1 |
| npppd_auth_is_eap_capable |
|
2 |
4 |
21 |
1 |
| npppd_auth_get_name |
|
1 |
4 |
13 |
1 |
| npppd_auth_get_suffix |
|
1 |
4 |
13 |
1 |
| npppd_auth_username_for_auth |
|
7 |
22 |
133 |
3 |
| npppd_auth_user_session_unlimited |
|
2 |
4 |
21 |
1 |
| npppd_check_auth_user_max_session |
|
3 |
8 |
32 |
2 |
| npppd_auth_get_user |
|
6 |
20 |
135 |
2 |
| npppd_auth_radius_reload |
|
17 |
76 |
726 |
2 |
| npppd_auth_radius_get_radius_auth_setting |
|
1 |
4 |
13 |
1 |
| npppd_auth_radius_get_radius_acct_setting |
|
1 |
4 |
13 |
1 |
| npppd_auth_base_log |
|
1 |
13 |
81 |
4 |
| Source file: ./usr.sbin/npppd/npppd/npppd_radius.h |
| Source file: ./usr.sbin/npppd/npppd/npppd_auth.h |
| Source file: ./usr.sbin/npppd/npppd/accept.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| accept_init |
|
1 |
5 |
26 |
1 |
| accept_add |
|
2 |
14 |
123 |
3 |
| accept_del |
|
2 |
12 |
62 |
1 |
| accept_pause |
|
1 |
7 |
36 |
1 |
| accept_unpause |
|
2 |
8 |
37 |
1 |
| accept_arm |
|
1 |
6 |
32 |
1 |
| accept_unarm |
|
1 |
6 |
30 |
1 |
| accept_cb |
|
1 |
6 |
44 |
3 |
| accept_timeout |
|
1 |
5 |
23 |
3 |
| Source file: ./usr.sbin/npppd/npppd/ppp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ppp_create |
|
2 |
13 |
81 |
0 |
| ppp_init |
|
12 |
47 |
369 |
2 |
| ppp_set_tunnel_label |
|
8 |
28 |
235 |
3 |
| ppp_start |
|
1 |
14 |
100 |
1 |
| ppp_dialin_proxy_prepare |
|
3 |
16 |
92 |
2 |
| ppp_down_others |
|
5 |
13 |
90 |
1 |
| ppp_stop |
|
2 |
10 |
57 |
2 |
| ppp_set_disconnect_cause |
|
2 |
10 |
56 |
5 |
| ppp_set_radius_terminate_cause |
|
2 |
5 |
25 |
2 |
| ppp_stop0 |
|
17 |
56 |
405 |
1 |
| ppp_destroy |
|
1 |
11 |
69 |
1 |
| ppp_peer_auth_string |
|
6 |
11 |
51 |
1 |
| ppp_lcp_up |
|
12 |
30 |
168 |
1 |
| ppp_lcp_finished |
|
1 |
7 |
35 |
1 |
| ppp_phy_downed |
|
2 |
10 |
54 |
1 |
| proto_name |
|
11 |
16 |
82 |
1 |
| ppp_auth_ok |
|
9 |
43 |
252 |
1 |
| ppp_idle_timeout |
|
2 |
9 |
49 |
3 |
| ppp_reset_idle_timeout |
|
2 |
10 |
55 |
1 |
| ppp_ipcp_opened |
|
8 |
33 |
244 |
1 |
| ppp_ccp_opened |
|
6 |
13 |
70 |
1 |
| ppp_ccp_stopped |
|
4 |
8 |
32 |
1 |
| Source file: ./usr.sbin/npppd/npppd/privsep.h |
| Source file: ./usr.sbin/npppd/npppd/npppd_radius.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ppp_proccess_radius_framed_ip |
|
3 |
11 |
64 |
2 |
| npppd_ppp_radius_acct_start |
|
3 |
7 |
52 |
2 |
| npppd_ppp_radius_acct_stop |
|
3 |
7 |
52 |
2 |
| npppd_ppp_radius_acct_reqcb |
|
9 |
43 |
242 |
4 |
| radius_acct_request |
|
18 |
79 |
506 |
3 |
| pptp_put_tunnel_attributes |
|
6 |
34 |
221 |
2 |
| l2tp_put_tunnel_attributes |
|
6 |
34 |
221 |
2 |
| Source file: ./usr.sbin/npppd/npppd/npppd_subr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| skip_space |
|
3 |
7 |
43 |
1 |
| load_resolv_conf |
|
11 |
39 |
228 |
2 |
| in_route0 |
|
27 |
110 |
786 |
7 |
| in_host_route_add |
|
1 |
5 |
40 |
4 |
| in_host_route_delete |
|
1 |
4 |
32 |
2 |
| in_route_add |
|
1 |
5 |
48 |
6 |
| in_route_delete |
|
1 |
5 |
40 |
4 |
| ip_is_idle_packet |
|
23 |
49 |
242 |
2 |
| in_addr_range_add_route |
|
2 |
13 |
96 |
1 |
| in_addr_range_delete_route |
|
2 |
12 |
92 |
1 |
| adjust_tcp_mss |
|
13 |
55 |
327 |
3 |
| Source file: ./usr.sbin/npppd/npppd/npppd_iface.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| npppd_iface_init |
|
1 |
13 |
103 |
3 |
| npppd_iface_setup_ip |
|
21 |
100 |
611 |
1 |
| npppd_iface_reinit |
|
6 |
24 |
158 |
2 |
| npppd_iface_start |
|
12 |
53 |
314 |
1 |
| npppd_iface_stop |
|
5 |
22 |
129 |
1 |
| npppd_iface_fini |
|
1 |
5 |
21 |
1 |
| npppd_iface_pipex_enable |
|
1 |
5 |
26 |
1 |
| npppd_iface_pipex_disable |
|
1 |
5 |
26 |
1 |
| npppd_iface_io_event_handler |
|
5 |
26 |
135 |
3 |
| npppd_iface_network_input_delegate |
|
6 |
21 |
129 |
2 |
| npppd_iface_network_input_ipv4 |
|
12 |
50 |
330 |
4 |
| npppd_iface_network_input |
|
5 |
29 |
148 |
3 |
| npppd_iface_write |
|
3 |
27 |
204 |
5 |
| npppd_iface_log |
|
1 |
12 |
81 |
4 |
| Source file: ./usr.sbin/npppd/npppd/chap_ms.h |
| Source file: ./usr.sbin/npppd/npppd/ccp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ccp_init |
|
1 |
18 |
133 |
2 |
| ccp_reqci |
|
16 |
74 |
382 |
4 |
| ccp_open |
|
1 |
4 |
15 |
1 |
| ccp_close |
|
1 |
3 |
8 |
1 |
| ccp_start |
|
1 |
3 |
8 |
1 |
| ccp_stop |
|
2 |
5 |
24 |
1 |
| ccp_resetci |
|
3 |
6 |
38 |
1 |
| ccp_cilen |
|
1 |
4 |
15 |
1 |
| ccp_addci |
|
2 |
12 |
78 |
3 |
| ccp_ackci |
|
1 |
4 |
29 |
3 |
| ccp_nakci |
|
1 |
4 |
29 |
3 |
| ccp_rejci |
|
1 |
4 |
29 |
3 |
| ccp_nackackci |
|
12 |
37 |
190 |
5 |
| ccp_ext |
|
4 |
13 |
74 |
5 |
| Source file: ./usr.sbin/npppd/npppd/npppd_subr.h |
| Source file: ./usr.sbin/npppd/npppd/lcp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| lcp_init |
|
2 |
30 |
205 |
2 |
| lcp_lowerup |
|
3 |
10 |
56 |
1 |
| lcp_send_protrej |
|
1 |
6 |
50 |
3 |
| lcp_auth_string |
|
7 |
12 |
54 |
1 |
| lcp_open |
|
10 |
43 |
286 |
1 |
| lcp_down |
|
3 |
12 |
64 |
1 |
| lcp_finished |
|
1 |
4 |
15 |
1 |
| lcp_resetci |
|
3 |
9 |
81 |
1 |
| lcp_cilen |
|
1 |
5 |
22 |
1 |
| lcp_add_auth |
|
13 |
66 |
384 |
2 |
| lcp_addci |
|
8 |
40 |
284 |
3 |
| lcp_reqci |
|
24 |
101 |
527 |
4 |
| lcp_ackci |
|
25 |
79 |
357 |
3 |
| lcp_nakci |
|
32 |
124 |
571 |
3 |
| lcp_rejci |
|
24 |
91 |
406 |
3 |
| lcp_rcoderej |
|
9 |
40 |
191 |
3 |
| lcp_reset_timeout |
|
3 |
14 |
71 |
1 |
| lcp_timeout |
|
4 |
20 |
129 |
1 |
| lcp_rechoreq |
|
2 |
14 |
90 |
4 |
| lcp_ext |
|
12 |
45 |
267 |
5 |
| lcp_load_authconfig |
|
4 |
22 |
151 |
1 |
| lcp_dialin_proxy |
|
15 |
69 |
440 |
4 |
| lcp_proxy_recv_ci |
|
16 |
55 |
248 |
3 |
| lcp_proxy_sent_ci |
|
25 |
80 |
345 |
3 |
| Source file: ./usr.sbin/npppd/npppd/fsm.h |
| Source file: ./usr.sbin/npppd/npppd/npppd_pool.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| npppd_pool_init |
|
1 |
9 |
68 |
3 |
| npppd_pool_start |
|
1 |
4 |
11 |
1 |
| npppd_pool_uninit |
|
1 |
9 |
47 |
1 |
| npppd_pool_reload |
|
18 |
81 |
619 |
1 |
| npppd_pool_regist_radish |
|
7 |
47 |
350 |
4 |
| npppd_pool_get_dynamic |
|
8 |
44 |
248 |
2 |
| npppd_is_ifcace_ip4addr |
|
4 |
10 |
66 |
2 |
| npppd_pool_assign_ip |
|
5 |
45 |
322 |
2 |
| npppd_pool_release_ip |
|
8 |
46 |
321 |
2 |
| npppd_pool_get_assignability |
|
12 |
41 |
262 |
4 |
| is_valid_host_address |
|
10 |
13 |
100 |
1 |
| npppd_pool_log |
|
2 |
12 |
82 |
4 |
| Source file: ./usr.sbin/npppd/npppd/radius_req.h |
| Source file: ./usr.sbin/npppd/npppd/log.h |
| Source file: ./usr.sbin/npppd/npppd/npppd_ctl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| npppd_ctl_create |
|
2 |
9 |
56 |
1 |
| npppd_ctl_destroy |
|
2 |
7 |
29 |
1 |
| npppd_ctl_who |
|
1 |
4 |
19 |
1 |
| npppd_ctl_monitor |
|
1 |
5 |
20 |
1 |
| npppd_ctl_who_and_monitor |
|
1 |
4 |
19 |
1 |
| npppd_ctl_who0 |
|
2 |
8 |
52 |
2 |
| npppd_ctl_add_started_ppp_id |
|
5 |
18 |
116 |
2 |
| npppd_ctl_add_stopped_ppp |
|
3 |
13 |
90 |
2 |
| npppd_ctl_who_walk_rd |
|
3 |
13 |
75 |
2 |
| npppd_ctl_disconnect |
|
3 |
13 |
81 |
3 |
| npppd_ctl_imsg_compose |
|
13 |
62 |
463 |
2 |
| npppd_who_init |
|
6 |
40 |
325 |
2 |
| npppd_ppp_get_pipex_stat |
|
12 |
40 |
248 |
2 |
| Source file: ./usr.sbin/npppd/l2tp/l2tp_conf.h |
| Source file: ./usr.sbin/npppd/npppd/npppd.h |
| Source file: ./usr.sbin/npppd/npppd/chap_ms.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| get7bits |
|
1 |
8 |
63 |
2 |
| mschap_des_addparity |
|
1 |
12 |
117 |
2 |
| mschap_des_encrypt |
|
1 |
9 |
58 |
3 |
| mschap_challenge_response |
|
1 |
10 |
83 |
3 |
| mschap_ntpassword_hash |
|
1 |
8 |
52 |
3 |
| mschap_challenge_hash |
|
2 |
18 |
125 |
5 |
| mschap_nt_response |
|
1 |
11 |
73 |
7 |
| mschap_auth_response |
|
2 |
47 |
458 |
8 |
| mschap_masterkey |
|
1 |
18 |
151 |
3 |
| mschap_asymetric_startkey |
|
4 |
41 |
482 |
5 |
| mschap_msk |
|
1 |
17 |
146 |
4 |
| mschap_radiuskey |
|
3 |
23 |
219 |
4 |
| Source file: ./usr.sbin/npppd/l2tp/l2tp_local.h |
| Source file: ./usr.sbin/npppd/l2tp/l2tp.h |
| Source file: ./usr.sbin/npppd/l2tp/l2tp_subr.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| avp_get_val16 |
|
1 |
4 |
29 |
1 |
| avp_get_val32 |
|
1 |
5 |
53 |
1 |
| avp_set_val16 |
|
1 |
5 |
35 |
2 |
| avp_set_val32 |
|
1 |
7 |
59 |
2 |
| short_cmp |
|
1 |
4 |
27 |
2 |
| short_hash |
|
1 |
4 |
22 |
2 |
| Source file: ./usr.sbin/npppd/npppd/npppd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
22 |
69 |
413 |
2 |
| usage |
|
1 |
5 |
18 |
1 |
| npppd_get_npppd |
|
1 |
4 |
9 |
0 |
| npppd_init |
|
26 |
121 |
913 |
2 |
| npppd_start |
|
4 |
13 |
62 |
1 |
| npppd_stop |
|
7 |
17 |
120 |
1 |
| npppd_stop_really |
|
8 |
18 |
102 |
1 |
| npppd_fini |
|
10 |
30 |
238 |
1 |
| npppd_reset_timer |
|
2 |
13 |
71 |
1 |
| npppd_timer |
|
8 |
25 |
133 |
3 |
| npppd_reset_routing_table |
|
11 |
52 |
277 |
2 |
| npppd_get_user_password |
|
1 |
9 |
63 |
5 |
| npppd_get_user_framed_ip_address |
|
7 |
25 |
168 |
3 |
| npppd_check_calling_number |
|
5 |
17 |
114 |
2 |
| npppd_get_ppp_by_ip |
|
4 |
18 |
103 |
2 |
| npppd_get_ppp_by_user |
|
2 |
7 |
42 |
2 |
| npppd_get_ppp_by_id |
|
4 |
22 |
114 |
2 |
| npppd_get_ipcp_stat |
|
2 |
10 |
57 |
2 |
| npppd_destroy_ipcp_stats |
|
1 |
12 |
69 |
1 |
| npppd_ipcp_stats_reload |
|
3 |
28 |
196 |
1 |
| npppd_check_user_max_session |
|
9 |
30 |
178 |
2 |
| npppd_network_output |
|
11 |
42 |
294 |
5 |
| pipex_setup_common |
|
12 |
43 |
369 |
2 |
| npppd_ppp_pipex_enable |
|
18 |
103 |
785 |
2 |
| npppd_ppp_pipex_disable |
|
12 |
41 |
251 |
2 |
| npppd_ppp_pipex_ip_disable |
|
11 |
31 |
176 |
2 |
| pipex_periodic |
|
15 |
67 |
369 |
1 |
| npppd_prepare_ip |
|
4 |
17 |
159 |
2 |
| npppd_release_ip |
|
2 |
9 |
54 |
2 |
| npppd_set_ip_enabled |
|
25 |
118 |
703 |
3 |
| npppd_assign_ip_addr |
|
17 |
90 |
473 |
3 |
| rtlist_remove |
|
4 |
13 |
76 |
2 |
| npppd_set_radish |
|
25 |
123 |
767 |
2 |
| npppd_get_all_users |
|
6 |
30 |
161 |
2 |
| rd2slist_walk |
|
2 |
9 |
45 |
2 |
| rd2slist |
|
1 |
4 |
23 |
2 |
| npppd_reload0 |
|
6 |
20 |
134 |
1 |
| npppd_update_pool_reference |
|
7 |
20 |
153 |
1 |
| npppd_on_sighup |
|
2 |
9 |
44 |
3 |
| npppd_on_sigterm |
|
1 |
6 |
27 |
3 |
| npppd_on_sigint |
|
1 |
6 |
27 |
3 |
| npppd_on_sigchld |
|
3 |
20 |
95 |
3 |
| str_hash |
|
2 |
12 |
82 |
2 |
| npppd_ppp_bind_realm |
|
14 |
55 |
339 |
4 |
| npppd_ppp_is_realm_local |
|
3 |
9 |
53 |
2 |
| npppd_ppp_is_realm_radius |
|
3 |
9 |
53 |
2 |
| npppd_ppp_is_realm_ready |
|
2 |
6 |
31 |
2 |
| npppd_ppp_get_realm_name |
|
2 |
6 |
31 |
2 |
| npppd_ppp_get_iface_name |
|
3 |
6 |
35 |
2 |
| npppd_ppp_iface_is_ready |
|
3 |
5 |
34 |
2 |
| npppd_ppp_bind_iface |
|
16 |
61 |
408 |
2 |
| npppd_ppp_unbind_iface |
|
3 |
11 |
58 |
2 |
| npppd_rd_walktree_delete |
|
3 |
16 |
97 |
1 |
| npppd_get_radius_auth_setting |
|
3 |
10 |
58 |
2 |
| npppd_auth_finalizer_periodic |
|
9 |
43 |
220 |
1 |
| sockaddr_npppd_match |
|
2 |
7 |
47 |
2 |
| npppd_ppp_get_username_for_auth |
|
1 |
9 |
56 |
4 |
| npppd_tunnel_protocol_name |
|
6 |
16 |
46 |
1 |
| npppd_ppp_tunnel_protocol_name |
|
1 |
4 |
20 |
2 |
| npppd_get_tunnconf |
|
2 |
9 |
52 |
2 |
| npppd_on_ppp_start |
|
2 |
10 |
67 |
2 |
| npppd_on_ppp_stop |
|
2 |
10 |
65 |
2 |
| imsg_event_add |
|
2 |
9 |
75 |
1 |
| Source file: ./usr.sbin/npppd/l2tp/l2tpd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| l2tpd_init |
|
6 |
37 |
226 |
1 |
| l2tpd_add_listener |
|
8 |
46 |
334 |
4 |
| l2tpd_uninit |
|
3 |
20 |
124 |
1 |
| l2tpd_assign_call |
|
4 |
26 |
127 |
2 |
| l2tpd_release_call |
|
1 |
4 |
31 |
2 |
| l2tpd_listener_start |
|
30 |
116 |
784 |
1 |
| l2tpd_start |
|
4 |
20 |
104 |
1 |
| l2tpd_listener_stop |
|
2 |
13 |
89 |
1 |
| l2tpd_stop_immediatly |
|
2 |
11 |
61 |
1 |
| l2tpd_ctrl_finished_notify |
|
3 |
8 |
36 |
1 |
| l2tpd_stop_timeout |
|
2 |
14 |
83 |
3 |
| l2tpd_stop |
|
5 |
30 |
160 |
1 |
| l2tpd_reload |
|
5 |
30 |
173 |
2 |
| l2tpd_log_access_deny |
|
1 |
7 |
52 |
3 |
| Source file: ./usr.sbin/npppd/common/debugutil.h |
| Source file: ./usr.sbin/npppd/common/bytebuf.h |
| Source file: ./usr.sbin/npppd/common/debugmacro.h |
| Source file: ./usr.sbin/npppd/l2tp/l2tp_call.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| l2tp_call_create |
|
2 |
7 |
32 |
1 |
| l2tp_call_init |
|
2 |
9 |
58 |
2 |
| l2tp_call_destroy |
|
1 |
5 |
27 |
2 |
| l2tp_call_admin_disconnect |
|
1 |
5 |
23 |
1 |
| l2tp_call_drop |
|
1 |
4 |
23 |
1 |
| l2tp_call_disconnect |
|
4 |
17 |
100 |
6 |
| l2tp_call_recv_packet |
|
22 |
104 |
524 |
5 |
| l2tp_call_recv_ICRQ |
|
17 |
90 |
449 |
3 |
| l2tp_call_send_ICRP |
|
3 |
31 |
201 |
1 |
| l2tp_call_send_data_packet |
|
5 |
31 |
250 |
2 |
| l2tp_call_recv_ICCN |
|
25 |
139 |
756 |
4 |
| l2tp_recv_CDN |
|
14 |
93 |
518 |
3 |
| l2tp_call_send_CDN |
|
11 |
67 |
480 |
6 |
| l2tp_call_send_ZLB |
|
2 |
12 |
66 |
1 |
| l2tp_call_log |
|
2 |
12 |
104 |
4 |
| l2tp_call_state_string |
|
5 |
10 |
43 |
1 |
| l2tp_call_ppp_input |
|
4 |
16 |
85 |
4 |
| l2tp_call_ppp_output |
|
3 |
19 |
102 |
4 |
| l2tp_call_closed_by_ppp |
|
4 |
41 |
272 |
1 |
| l2tp_call_notify_down |
|
2 |
5 |
23 |
1 |
| l2tp_call_bind_ppp |
|
8 |
52 |
345 |
2 |
| Source file: ./usr.sbin/npppd/l2tp/l2tp_subr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| avp_enum |
|
6 |
20 |
163 |
4 |
| avp_attr_type_string |
|
3 |
9 |
52 |
1 |
| l2tp_stopccn_rcode_string |
|
3 |
9 |
52 |
1 |
| l2tp_cdn_rcode_string |
|
3 |
9 |
52 |
1 |
| l2tp_ecode_string |
|
4 |
11 |
61 |
1 |
| avp_find |
|
5 |
17 |
95 |
6 |
| avp_find_message_type_avp |
|
1 |
4 |
33 |
3 |
| bytebuf_add_avp |
|
3 |
14 |
123 |
3 |
| avp_mes_type_string |
|
3 |
9 |
52 |
1 |
| Source file: ./usr.sbin/npppd/common/bytebuf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bytebuffer_create |
|
4 |
18 |
103 |
1 |
| bytebuffer_wrap |
|
2 |
10 |
53 |
2 |
| bytebuffer_unwrap |
|
1 |
11 |
52 |
1 |
| bytebuffer_realloc |
|
4 |
16 |
94 |
2 |
| bytebuffer_compact |
|
3 |
13 |
83 |
1 |
| bytebuffer_put |
|
4 |
15 |
94 |
3 |
| bytebuffer_get |
|
4 |
13 |
85 |
3 |
| bytebuffer_position |
|
1 |
5 |
20 |
1 |
| bytebuffer_limit |
|
1 |
5 |
20 |
1 |
| bytebuffer_capacity |
|
1 |
5 |
20 |
1 |
| bytebuffer_pointer |
|
1 |
5 |
28 |
1 |
| bytebuffer_remaining |
|
1 |
6 |
35 |
1 |
| bytebuffer_has_remaining |
|
1 |
5 |
23 |
1 |
| bytebuffer_flip |
|
1 |
7 |
36 |
1 |
| bytebuffer_rewind |
|
1 |
6 |
28 |
1 |
| bytebuffer_clear |
|
1 |
7 |
36 |
1 |
| bytebuffer_mark |
|
1 |
5 |
23 |
1 |
| bytebuffer_reset |
|
2 |
7 |
40 |
1 |
| bytebuffer_destroy |
|
2 |
8 |
35 |
1 |
| Source file: ./usr.sbin/npppd/common/radish.h |
| Source file: ./usr.sbin/npppd/common/hash.h |
| Source file: ./usr.sbin/npppd/common/ipsec_util.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ipsec_util_purge_transport_sa |
|
14 |
31 |
219 |
4 |
| ipsec_util_prepare |
|
3 |
7 |
27 |
1 |
| delete_prepare |
|
25 |
75 |
515 |
6 |
| send_sadb_delete |
|
8 |
62 |
476 |
2 |
| address_compar |
|
14 |
41 |
349 |
3 |
| sadb_del_args_init |
|
4 |
25 |
198 |
5 |
| sockaddr_is_valid |
|
5 |
8 |
52 |
1 |
| Source file: ./usr.sbin/npppd/common/net_utils.h |
| Source file: ./usr.sbin/npppd/l2tp/l2tp_ctrl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| l2tp_ctrl_create |
|
1 |
4 |
17 |
1 |
| l2tp_ctrl_init |
|
12 |
73 |
461 |
5 |
| l2tp_ctrl_reload |
|
3 |
8 |
63 |
1 |
| l2tp_ctrl_destroy |
|
2 |
6 |
27 |
1 |
| l2tp_ctrl_send_disconnect_notify |
|
7 |
22 |
122 |
1 |
| l2tp_ctrl_stop |
|
12 |
49 |
273 |
2 |
| l2tp_ctrl_purge_ipsec_sa |
|
21 |
51 |
395 |
1 |
| l2tp_ctrl_timeout |
|
22 |
95 |
449 |
3 |
| l2tp_ctrl_send |
|
5 |
20 |
184 |
3 |
| l2tp_ctrl_resend_una_packets |
|
5 |
28 |
163 |
1 |
| l2tp_ctrl_destroy_all_calls |
|
2 |
7 |
42 |
1 |
| l2tp_ctrl_disconnect_all_calls |
|
5 |
23 |
122 |
2 |
| l2tp_ctrl_reset_timeout |
|
4 |
21 |
111 |
1 |
| l2tp_ctrl_input |
|
84 |
337 |
1876 |
7 |
| l2tp_ctrl_txwin_size |
|
1 |
7 |
33 |
1 |
| l2tp_ctrl_txwin_is_full |
|
2 |
4 |
24 |
1 |
| l2tp_ctrl_send_packet |
|
5 |
37 |
292 |
3 |
| l2tp_ctrl_recv_SCCRQ |
|
19 |
111 |
713 |
5 |
| l2tp_ctrl_send_StopCCN |
|
3 |
33 |
232 |
2 |
| l2tp_ctrl_recv_StopCCN |
|
14 |
85 |
482 |
3 |
| l2tp_ctrl_send_SCCRP |
|
5 |
70 |
543 |
1 |
| l2tp_ctrl_send_HELLO |
|
3 |
24 |
150 |
1 |
| l2tp_ctrl_send_ZLB |
|
2 |
11 |
68 |
1 |
| l2tp_ctrl_prepare_snd_buffer |
|
3 |
18 |
99 |
2 |
| l2tp_ctrl_state_string |
|
6 |
11 |
49 |
1 |
| l2tp_ctrl_log |
|
2 |
11 |
90 |
4 |
| Source file: ./usr.sbin/npppd/common/debugutil.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| set_prio_idx_init |
|
4 |
13 |
94 |
0 |
| debug_set_debugfp |
|
1 |
5 |
14 |
1 |
| debug_use_syslog |
|
2 |
8 |
22 |
1 |
| debug_set_no_debuglog |
|
2 |
7 |
20 |
1 |
| debug_get_debugfp |
|
1 |
4 |
8 |
0 |
| vlog_printf |
|
26 |
87 |
541 |
3 |
| log_printf |
|
1 |
9 |
49 |
3 |
| debug_set_syslog_level_adjust |
|
1 |
4 |
11 |
1 |
| debug_get_syslog_level_adjust |
|
1 |
4 |
9 |
1 |
| show_hd |
|
13 |
56 |
416 |
3 |
| Source file: ./usr.sbin/npppd/common/addr_range.h |
| Source file: ./usr.sbin/npppd/common/ipsec_util.h |
| Source file: ./usr.sbin/npppd/common/time_utils.h |
| Source file: ./usr.sbin/npppd/common/ipsec_util_local.h |
| Source file: ./usr.sbin/npppd/common/hash.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| hash_first |
|
1 |
7 |
28 |
0 |
| hash_next |
|
4 |
19 |
99 |
0 |
| hash_lookup |
|
5 |
14 |
97 |
0 |
| hash_insert |
|
4 |
19 |
119 |
0 |
| hash_delete |
|
9 |
28 |
185 |
0 |
| hash_delete_all |
|
5 |
18 |
100 |
0 |
| hash_free |
|
2 |
8 |
30 |
0 |
| Source file: ./usr.sbin/npppd/common/addr_range.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| in_addr_range_create |
|
2 |
9 |
52 |
0 |
| in_addr_range_destroy |
|
1 |
4 |
14 |
1 |
| in_addr_range_list_remove_all |
|
2 |
11 |
50 |
1 |
| in_addr_range_list_uniq |
|
10 |
43 |
303 |
1 |
| in_addr_range_list_includes |
|
3 |
10 |
74 |
2 |
| in_addr_range_list_add0 |
|
7 |
33 |
222 |
3 |
| in_addr_range_list_add |
|
29 |
92 |
582 |
2 |
| bitmask2masklen |
|
34 |
40 |
217 |
1 |
| usage |
|
1 |
10 |
16 |
0 |
| main |
|
7 |
35 |
192 |
2 |
| Source file: ./usr.sbin/npppd/common/slist.h |
| Source file: ./usr.sbin/npppd/common/time_utils.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| get_nanotime |
|
2 |
10 |
56 |
1 |
| Source file: ./usr.sbin/npppd/common/recvfromto.h |
| Source file: ./usr.sbin/npppd/common/slist.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| slist_init |
|
1 |
5 |
25 |
1 |
| slist_set_size |
|
2 |
6 |
34 |
2 |
| slist_fini |
|
1 |
5 |
20 |
1 |
| slist_length |
|
2 |
7 |
43 |
1 |
| slist_grow0 |
|
6 |
29 |
235 |
2 |
| slist_grow |
|
1 |
4 |
16 |
1 |
| slist_add |
|
3 |
11 |
64 |
2 |
| slist_add_all |
|
3 |
10 |
61 |
2 |
| slist_get |
|
3 |
8 |
52 |
2 |
| slist_set |
|
3 |
9 |
66 |
3 |
| slist_remove_first |
|
5 |
13 |
84 |
1 |
| slist_remove_last |
|
3 |
9 |
54 |
1 |
| slist_remove_all |
|
1 |
6 |
27 |
1 |
| slist_swap0 |
|
1 |
8 |
75 |
3 |
| slist_swap |
|
5 |
14 |
85 |
3 |
| slist_remove |
|
22 |
61 |
433 |
2 |
| slist_shuffle |
|
2 |
7 |
50 |
1 |
| slist_itr_first |
|
2 |
6 |
33 |
1 |
| slist_itr_has_next |
|
2 |
6 |
29 |
1 |
| slist_itr_next |
|
4 |
15 |
94 |
1 |
| slist_itr_remove |
|
1 |
5 |
30 |
1 |
| slist_qsort |
|
2 |
5 |
49 |
2 |
| slist_qsort0 |
|
7 |
21 |
158 |
4 |
| Source file: ./usr.sbin/npppd/pppoe/pppoe_local.h |
| Source file: ./usr.sbin/npppd/common/recvfromto.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| recvfromto_nat_t |
|
31 |
130 |
915 |
10 |
| recvfromto |
|
1 |
13 |
75 |
8 |
| sendto_nat_t |
|
3 |
36 |
256 |
7 |
| Source file: ./usr.sbin/npppd/common/radish.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rd_inithead |
|
5 |
38 |
310 |
6 |
| rd_mask |
|
13 |
31 |
238 |
3 |
| rd_insert |
|
23 |
105 |
749 |
4 |
| rd_glue |
|
7 |
54 |
419 |
4 |
| rd_match |
|
1 |
4 |
31 |
3 |
| rd_match_next |
|
11 |
42 |
254 |
4 |
| rd_lookup |
|
9 |
29 |
213 |
3 |
| rd_delete |
|
15 |
58 |
379 |
4 |
| rd_unlink |
|
11 |
36 |
215 |
2 |
| rd_walktree |
|
8 |
24 |
153 |
3 |
| rd_refines |
|
11 |
23 |
168 |
2 |
| Source file: ./usr.sbin/npppd/common/net_utils.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| get_ifname_by_sockaddr |
|
9 |
39 |
245 |
2 |
| addrport_parse |
|
7 |
39 |
230 |
3 |
| addrport_tostring |
|
4 |
23 |
151 |
4 |
| netmask2prefixlen |
|
34 |
39 |
215 |
1 |
| Source file: ./usr.sbin/npppd/pppoe/pppoe_conf.h |
| Source file: ./usr.sbin/npppd/pppoe/pppoe.h |
| Source file: ./usr.sbin/ldomctl/mdstore.h |
| Source file: ./usr.sbin/tcpdrop/tcpdrop.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usage |
|
1 |
11 |
34 |
1 |
| main |
|
22 |
91 |
756 |
2 |
| Source file: ./usr.sbin/npppd/common/slist_test.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dump |
|
6 |
23 |
147 |
1 |
| test_01a |
|
8 |
37 |
286 |
0 |
| test_01 |
|
4 |
22 |
197 |
0 |
| test_02 |
|
6 |
28 |
305 |
0 |
| test_03 |
|
4 |
16 |
122 |
0 |
| test_itr_subr_01 |
|
6 |
33 |
330 |
1 |
| test_04 |
|
3 |
17 |
116 |
0 |
| test_05 |
|
4 |
38 |
385 |
0 |
| test_06 |
|
4 |
19 |
146 |
0 |
| test_07 |
|
4 |
18 |
128 |
0 |
| test_08 |
|
1 |
23 |
207 |
0 |
| test_09 |
|
1 |
59 |
523 |
0 |
| test_10 |
|
6 |
30 |
228 |
0 |
| test_11 |
|
1 |
12 |
94 |
0 |
| test_12_compar |
|
1 |
4 |
25 |
2 |
| test_12 |
|
1 |
27 |
287 |
0 |
| test_13 |
|
1 |
7 |
27 |
0 |
| main |
|
1 |
18 |
86 |
2 |
| Source file: ./usr.sbin/ldomctl/util.h |
| Source file: ./usr.sbin/ldomctl/mdesc.h |
| Source file: ./usr.sbin/ldomctl/pri.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pri_start |
|
1 |
11 |
75 |
2 |
| pri_rx_data |
|
2 |
13 |
97 |
4 |
| Source file: ./usr.sbin/ldomctl/util.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| xmalloc |
|
2 |
8 |
34 |
1 |
| xzalloc |
|
1 |
7 |
30 |
1 |
| xreallocarray |
|
2 |
8 |
45 |
3 |
| xstrdup |
|
2 |
8 |
36 |
1 |
| xasprintf |
|
2 |
11 |
61 |
3 |
| Source file: ./usr.sbin/npppd/pppoe/pppoe_session.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pppoe_session_init |
|
1 |
14 |
107 |
5 |
| pppoe_session_disconnect |
|
3 |
12 |
65 |
1 |
| pppoe_session_stop |
|
2 |
5 |
21 |
1 |
| pppoe_session_fini |
|
1 |
4 |
16 |
1 |
| pppoe_session_dispose_event |
|
1 |
6 |
31 |
3 |
| pppoe_session_input |
|
6 |
21 |
111 |
3 |
| pppoe_session_output |
|
4 |
40 |
314 |
4 |
| pppoe_session_send_PADT |
|
3 |
36 |
245 |
1 |
| pppoe_session_send_PADS |
|
7 |
55 |
396 |
3 |
| pppoe_session_recv_PADR |
|
9 |
33 |
210 |
2 |
| pppoe_session_recv_PADT |
|
1 |
7 |
35 |
2 |
| pppoe_session_log |
|
2 |
13 |
102 |
4 |
| pppoe_session_ppp_output |
|
3 |
16 |
85 |
4 |
| pppoe_session_close_by_ppp |
|
2 |
9 |
42 |
1 |
| pppoe_session_bind_ppp |
|
5 |
42 |
299 |
1 |
| Source file: ./usr.sbin/npppd/pppoe/pppoed.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pppoed_init |
|
8 |
49 |
330 |
1 |
| pppoed_listener_init |
|
1 |
7 |
43 |
2 |
| pppoed_reload_listeners |
|
3 |
8 |
37 |
1 |
| pppoed_listener_start |
|
16 |
108 |
813 |
2 |
| pppoed_start |
|
5 |
22 |
113 |
1 |
| pppoed_listener_stop |
|
2 |
18 |
124 |
1 |
| pppoed_stop |
|
5 |
26 |
152 |
1 |
| pppoed_uninit |
|
3 |
13 |
70 |
1 |
| pppoed_pppoe_session_close_notify |
|
3 |
13 |
97 |
2 |
| pppoed_reload |
|
22 |
109 |
733 |
2 |
| pppoed_io_event |
|
6 |
41 |
265 |
3 |
| pppoed_input |
|
26 |
119 |
676 |
5 |
| pppoed_output |
|
3 |
26 |
215 |
4 |
| pppoed_recv_PADR |
|
8 |
44 |
241 |
3 |
| pppoed_recv_PADI |
|
20 |
114 |
887 |
3 |
| pppoed_log |
|
2 |
11 |
87 |
4 |
| pppoed_tlv_value_string |
|
2 |
13 |
82 |
1 |
| session_id_cmp |
|
1 |
7 |
36 |
2 |
| session_id_hash |
|
1 |
6 |
26 |
2 |
| Source file: ./usr.sbin/ldomctl/ldomctl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
9 |
47 |
366 |
2 |
| usage |
|
1 |
7 |
34 |
1 |
| add_guest |
|
7 |
24 |
177 |
1 |
| find_guest |
|
2 |
9 |
52 |
1 |
| fetch_pri |
|
2 |
8 |
39 |
1 |
| dump |
|
6 |
38 |
260 |
2 |
| init_system |
|
2 |
6 |
29 |
2 |
| list |
|
4 |
17 |
99 |
2 |
| xselect |
|
3 |
11 |
66 |
2 |
| delete |
|
4 |
13 |
92 |
2 |
| download |
|
3 |
11 |
66 |
2 |
| guest_start |
|
4 |
18 |
145 |
2 |
| guest_stop |
|
4 |
18 |
145 |
2 |
| guest_panic |
|
4 |
18 |
145 |
2 |
| guest_status |
|
20 |
104 |
748 |
2 |
| hv_open |
|
6 |
32 |
277 |
1 |
| hv_close |
|
1 |
5 |
16 |
1 |
| hv_read |
|
2 |
9 |
58 |
3 |
| hv_write |
|
2 |
9 |
58 |
3 |
| Source file: ./usr.sbin/ldomctl/ldomctl.h |
| Source file: ./usr.sbin/ldomctl/mdstore.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mdstore_start |
|
1 |
11 |
78 |
2 |
| mdstore_rx_data |
|
6 |
33 |
204 |
4 |
| mdstore_begin |
|
2 |
19 |
138 |
4 |
| mdstore_transfer |
|
4 |
31 |
213 |
5 |
| mdstore_end |
|
2 |
19 |
138 |
4 |
| mdstore_select |
|
3 |
22 |
168 |
2 |
| mdstore_delete |
|
3 |
22 |
168 |
2 |
| mdstore_download |
|
10 |
52 |
395 |
2 |
| frag_init |
|
3 |
13 |
87 |
1 |
| add_frag_mblock |
|
2 |
15 |
85 |
1 |
| add_frag |
|
1 |
7 |
39 |
1 |
| delete_frag |
|
2 |
11 |
55 |
1 |
| alloc_frag |
|
2 |
12 |
56 |
1 |
| Source file: ./usr.sbin/tokenadm/tokenadm.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
62 |
174 |
906 |
2 |
| process_record |
|
7 |
28 |
138 |
3 |
| process_modes |
|
8 |
30 |
160 |
3 |
| force_unlock |
|
3 |
11 |
59 |
1 |
| print_record |
|
15 |
38 |
220 |
2 |
| Source file: ./usr.sbin/ldomctl/mdesc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| md_find_name |
|
2 |
8 |
49 |
2 |
| md_add_name |
|
2 |
13 |
82 |
2 |
| md_free_name |
|
2 |
9 |
48 |
2 |
| md_find_data |
|
3 |
9 |
60 |
3 |
| md_add_data |
|
2 |
15 |
104 |
3 |
| md_free_data |
|
2 |
9 |
48 |
2 |
| md_find_node |
|
2 |
9 |
53 |
2 |
| md_add_node |
|
1 |
9 |
64 |
2 |
| md_link_node |
|
1 |
5 |
41 |
3 |
| md_find_prop |
|
2 |
9 |
58 |
3 |
| md_add_prop |
|
1 |
8 |
61 |
3 |
| md_add_prop_val |
|
1 |
9 |
55 |
4 |
| md_add_prop_str |
|
1 |
9 |
69 |
4 |
| md_add_prop_data |
|
1 |
9 |
67 |
5 |
| md_add_prop_arc |
|
1 |
9 |
59 |
4 |
| md_delete_prop |
|
3 |
8 |
70 |
3 |
| md_get_prop_val |
|
3 |
10 |
66 |
4 |
| md_set_prop_val |
|
3 |
10 |
64 |
4 |
| md_get_prop_str |
|
3 |
10 |
69 |
4 |
| md_get_prop_data |
|
3 |
11 |
84 |
5 |
| md_delete_node |
|
3 |
15 |
108 |
2 |
| md_find_delete_node |
|
2 |
7 |
39 |
2 |
| md_alloc |
|
1 |
9 |
49 |
1 |
| md_find_index |
|
2 |
9 |
44 |
2 |
| md_fixup_arcs |
|
2 |
12 |
74 |
1 |
| md_walk_graph |
|
3 |
10 |
72 |
2 |
| md_collect_garbage |
|
2 |
11 |
76 |
1 |
| md_ingest |
|
15 |
75 |
517 |
2 |
| md_exhume |
|
6 |
98 |
692 |
2 |
| md_copy |
|
1 |
9 |
43 |
1 |
| md_read |
|
6 |
30 |
160 |
1 |
| md_write |
|
3 |
13 |
84 |
2 |
| Source file: ./usr.sbin/procmap/procmap.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| no_impl |
|
1 |
5 |
24 |
2 |
| main |
|
38 |
116 |
628 |
2 |
| print_sum |
|
3 |
10 |
71 |
2 |
| process_map |
|
26 |
136 |
1119 |
4 |
| load_symbols |
|
5 |
18 |
189 |
1 |
| load_vm_map_entries |
|
3 |
21 |
194 |
3 |
| unload_vm_map_entries |
|
2 |
8 |
42 |
1 |
| dump_vm_map_entry |
|
71 |
194 |
1674 |
4 |
| findname |
|
16 |
67 |
481 |
6 |
| search_cache |
|
12 |
39 |
278 |
5 |
| load_name_cache |
|
7 |
19 |
138 |
1 |
| cache_enter |
|
3 |
20 |
149 |
1 |
| usage |
|
1 |
8 |
26 |
1 |
| strtopid |
|
2 |
9 |
47 |
1 |
| Source file: ./usr.sbin/crunchgen/elf_hide.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| elf_hide |
|
10 |
65 |
525 |
2 |
| load_shstr_tab |
|
2 |
10 |
68 |
2 |
| fprint_shstr |
|
2 |
5 |
32 |
2 |
| get_shstr |
|
1 |
4 |
16 |
1 |
| load_symtab |
|
7 |
26 |
183 |
2 |
| dump_symtab |
|
4 |
19 |
154 |
3 |
| load_strtab |
|
5 |
19 |
128 |
2 |
| dump_strtab |
|
2 |
16 |
70 |
0 |
| fprint_str |
|
2 |
5 |
32 |
2 |
| get_str |
|
1 |
4 |
16 |
1 |
| hide_sym |
|
8 |
28 |
193 |
5 |
| reorder_syms |
|
10 |
45 |
316 |
5 |
| renum_reloc_syms |
|
12 |
39 |
305 |
3 |
| Source file: ./usr.sbin/crunchgen/mangle.h |
| Source file: ./usr.sbin/crunchgen/mangle.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| init_mangle_state |
|
10 |
28 |
161 |
0 |
| fini_mangle_state |
|
4 |
17 |
93 |
0 |
| dump_mangle_state |
|
2 |
7 |
35 |
0 |
| mangle_str |
|
4 |
17 |
90 |
1 |
| Source file: ./usr.sbin/acme-client/dbg.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| doddbg |
|
2 |
9 |
41 |
2 |
| dodbg |
|
2 |
9 |
40 |
2 |
| Source file: ./usr.sbin/crunchgen/crunchide.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| crunchide_main |
|
10 |
34 |
135 |
2 |
| add_to_keep_list |
|
9 |
22 |
150 |
1 |
| in_keep_list |
|
4 |
9 |
58 |
1 |
| add_file_to_keep_list |
|
5 |
17 |
102 |
1 |
| hide_syms |
|
10 |
32 |
199 |
1 |
| Source file: ./usr.sbin/crunchgen/crunched_main.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| crunched_main2 |
|
6 |
14 |
106 |
4 |
| main |
|
1 |
5 |
34 |
3 |
| crunched_main |
|
2 |
6 |
44 |
3 |
| crunched_usage |
|
3 |
20 |
104 |
1 |
| Source file: ./usr.sbin/acme-client/parse.h |
| Source file: ./usr.sbin/acme-client/base64.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| base64len |
|
1 |
4 |
20 |
1 |
| base64buf_url |
|
6 |
22 |
116 |
2 |
| Source file: ./usr.sbin/crunchgen/crunchgen.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
29 |
87 |
517 |
2 |
| usage |
|
1 |
9 |
26 |
1 |
| parse_conf_file |
|
4 |
13 |
57 |
1 |
| parse_one_file |
|
12 |
52 |
309 |
1 |
| parse_line |
|
12 |
21 |
139 |
4 |
| add_srcdirs |
|
10 |
35 |
215 |
2 |
| add_libdirs |
|
12 |
48 |
289 |
2 |
| add_progs |
|
2 |
6 |
35 |
2 |
| add_prog |
|
7 |
20 |
145 |
1 |
| add_link |
|
3 |
14 |
82 |
2 |
| add_libs |
|
2 |
6 |
38 |
2 |
| add_special |
|
20 |
53 |
405 |
2 |
| find_prog |
|
3 |
8 |
46 |
1 |
| gen_outputs |
|
2 |
10 |
47 |
1 |
| fillin_program |
|
24 |
62 |
469 |
1 |
| fillin_program_objs |
|
15 |
54 |
357 |
2 |
| remove_error_progs |
|
4 |
19 |
87 |
1 |
| gen_specials_cache |
|
7 |
28 |
196 |
1 |
| gen_output_makefile |
|
3 |
17 |
95 |
1 |
| gen_output_cfile |
|
6 |
31 |
222 |
1 |
| genident |
|
6 |
14 |
98 |
1 |
| dir_search |
|
3 |
11 |
69 |
1 |
| top_makefile_rules |
|
4 |
56 |
415 |
1 |
| prog_makefile_rules |
|
5 |
29 |
218 |
2 |
| output_strlst |
|
2 |
6 |
43 |
2 |
| out_of_memory |
|
1 |
5 |
22 |
1 |
| add_string |
|
7 |
17 |
121 |
2 |
| is_dir |
|
2 |
7 |
36 |
1 |
| is_nonempty_file |
|
3 |
7 |
42 |
1 |
| Source file: ./usr.sbin/acme-client/acctproc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bn2string |
|
4 |
21 |
119 |
1 |
| op_thumb_rsa |
|
5 |
16 |
122 |
1 |
| op_thumbprint |
|
11 |
45 |
289 |
2 |
| op_sign_rsa |
|
6 |
23 |
175 |
4 |
| op_sign |
|
17 |
77 |
527 |
2 |
| acctproc |
|
21 |
72 |
390 |
3 |
| Source file: ./usr.sbin/acme-client/chngproc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| chngproc |
|
22 |
87 |
585 |
2 |
| Source file: ./usr.sbin/acme-client/http.h |
| Source file: ./usr.sbin/ldomctl/config.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pri_find_cpu |
|
2 |
9 |
38 |
1 |
| pri_link_core |
|
6 |
24 |
171 |
3 |
| pri_add_core |
|
1 |
7 |
49 |
2 |
| pri_init_cores |
|
4 |
14 |
89 |
1 |
| pri_add_cpu |
|
4 |
24 |
153 |
2 |
| pri_alloc_cpu |
|
4 |
16 |
86 |
1 |
| pri_free_cpu |
|
1 |
4 |
19 |
1 |
| pri_add_mblock |
|
1 |
10 |
81 |
2 |
| pri_alloc_memory |
|
7 |
35 |
231 |
2 |
| pri_init |
|
17 |
77 |
649 |
1 |
| hvmd_fixup_guest |
|
4 |
12 |
85 |
3 |
| hvmd_init_frag |
|
2 |
20 |
135 |
2 |
| hvmd_alloc_frag |
|
4 |
16 |
82 |
1 |
| hvmd_free_frag |
|
1 |
7 |
39 |
1 |
| hvmd_init_mblock |
|
6 |
26 |
209 |
2 |
| hvmd_init_console |
|
3 |
14 |
101 |
2 |
| hvmd_init_cpu |
|
8 |
30 |
239 |
2 |
| hvmd_init_device |
|
9 |
31 |
248 |
2 |
| hvmd_init_endpoint |
|
5 |
31 |
263 |
2 |
| hvmd_init_guest |
|
15 |
88 |
715 |
2 |
| hvmd_init |
|
16 |
68 |
626 |
1 |
| hvmd_finalize_cpu |
|
4 |
27 |
210 |
2 |
| hvmd_finalize_cpus |
|
3 |
14 |
86 |
1 |
| hvmd_finalize_maus |
|
5 |
25 |
161 |
1 |
| hvmd_finalize_device |
|
1 |
13 |
106 |
3 |
| hvmd_finalize_devices |
|
5 |
20 |
122 |
1 |
| hvmd_finalize_mblock |
|
1 |
14 |
114 |
2 |
| hvmd_finalize_memory |
|
3 |
14 |
86 |
1 |
| hvmd_finalize_endpoint |
|
6 |
26 |
224 |
2 |
| hvmd_finalize_endpoints |
|
3 |
14 |
86 |
1 |
| hvmd_finalize_console |
|
2 |
19 |
133 |
2 |
| hvmd_finalize_consoles |
|
3 |
14 |
86 |
1 |
| hvmd_finalize_guest |
|
2 |
43 |
422 |
2 |
| hvmd_finalize_guests |
|
3 |
14 |
86 |
1 |
| hvmd_finalize |
|
7 |
55 |
396 |
1 |
| hvmd_add_endpoint |
|
3 |
20 |
128 |
1 |
| hvmd_add_console |
|
3 |
36 |
256 |
1 |
| hvmd_add_domain_services |
|
1 |
23 |
180 |
1 |
| hvmd_add_vio |
|
1 |
24 |
189 |
1 |
| hvmd_add_guest |
|
3 |
23 |
147 |
1 |
| guest_add_channel_endpoints |
|
1 |
11 |
63 |
1 |
| guest_add_endpoint |
|
2 |
15 |
113 |
2 |
| guest_add_vcc |
|
1 |
18 |
133 |
1 |
| guest_find_vcc |
|
5 |
20 |
132 |
1 |
| guest_add_vcc_port |
|
3 |
21 |
166 |
5 |
| guest_add_vds |
|
1 |
18 |
133 |
1 |
| guest_find_vds |
|
5 |
20 |
132 |
1 |
| guest_add_vds_port |
|
3 |
19 |
142 |
5 |
| guest_add_vsw |
|
1 |
18 |
133 |
1 |
| guest_find_vsw |
|
5 |
20 |
132 |
1 |
| guest_add_vsw_port |
|
4 |
23 |
169 |
4 |
| guest_add_console_device |
|
1 |
20 |
153 |
1 |
| guest_add_vdc |
|
1 |
17 |
123 |
2 |
| guest_add_vdc_port |
|
2 |
16 |
118 |
5 |
| guest_add_vnet |
|
2 |
22 |
170 |
4 |
| guest_add_vnet_port |
|
2 |
20 |
163 |
8 |
| guest_add_channel_devices |
|
1 |
17 |
120 |
1 |
| guest_add_domain_services |
|
1 |
11 |
63 |
1 |
| guest_add_domain_services_port |
|
2 |
17 |
114 |
2 |
| guest_add_devalias |
|
2 |
14 |
98 |
3 |
| guest_set_domaining_enabled |
|
1 |
8 |
48 |
1 |
| guest_set_mac_address |
|
1 |
13 |
87 |
1 |
| guest_find_vc |
|
5 |
21 |
140 |
1 |
| guest_add_vc_port |
|
2 |
21 |
153 |
5 |
| guest_create |
|
1 |
27 |
194 |
1 |
| guest_lookup |
|
4 |
10 |
57 |
1 |
| guest_delete_virtual_device_port |
|
4 |
17 |
105 |
2 |
| guest_delete_endpoint |
|
11 |
32 |
233 |
2 |
| guest_delete |
|
1 |
23 |
174 |
1 |
| guest_delete_cpu |
|
2 |
12 |
68 |
2 |
| guest_add_cpu |
|
4 |
19 |
123 |
1 |
| guest_delete_memory |
|
2 |
10 |
67 |
1 |
| guest_add_memory |
|
5 |
19 |
135 |
3 |
| guest_add_vdisk |
|
2 |
20 |
137 |
3 |
| guest_add_vnetwork |
|
2 |
25 |
174 |
4 |
| guest_find_cpu |
|
2 |
8 |
42 |
2 |
| guest_finalize |
|
11 |
62 |
471 |
1 |
| primary_init |
|
1 |
8 |
31 |
1 |
| build_config |
|
20 |
76 |
534 |
1 |
| Source file: ./usr.sbin/acme-client/dnsproc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| host_dns |
|
10 |
44 |
276 |
2 |
| dnsproc |
|
16 |
55 |
331 |
1 |
| Source file: ./usr.sbin/acme-client/jsmn.h |
| Source file: ./usr.sbin/acme-client/extern.h |
| Source file: ./usr.sbin/acme-client/fileproc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| serialise |
|
7 |
25 |
190 |
6 |
| fileproc |
|
33 |
105 |
627 |
5 |
| Source file: ./usr.sbin/acme-client/jsmn.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| jsmn_alloc_token |
|
3 |
12 |
70 |
3 |
| jsmn_fill_token |
|
1 |
7 |
41 |
4 |
| jsmn_parse_primitive |
|
17 |
34 |
214 |
5 |
| jsmn_parse_string |
|
27 |
49 |
354 |
5 |
| jsmn_parse |
|
77 |
126 |
880 |
5 |
| jsmn_init |
|
1 |
5 |
27 |
1 |
| Source file: ./usr.sbin/acme-client/util.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sigpipe |
|
1 |
5 |
16 |
1 |
| readop |
|
5 |
15 |
93 |
2 |
| readstr |
|
1 |
5 |
25 |
2 |
| readbuf |
|
9 |
37 |
249 |
3 |
| writeop |
|
5 |
19 |
136 |
3 |
| writebuf |
|
7 |
23 |
193 |
4 |
| writestr |
|
1 |
4 |
31 |
3 |
| checkexit |
|
6 |
21 |
154 |
2 |
| checkexit_ext |
|
7 |
23 |
163 |
3 |
| Source file: ./usr.sbin/acme-client/rsa.h |
| Source file: ./usr.sbin/acme-client/http.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dosysread |
|
2 |
8 |
53 |
3 |
| dosyswrite |
|
2 |
8 |
54 |
3 |
| dotlsread |
|
4 |
11 |
74 |
3 |
| dotlswrite |
|
4 |
11 |
75 |
3 |
| http_init |
|
5 |
23 |
100 |
0 |
| http_read |
|
5 |
15 |
86 |
3 |
| http_write |
|
3 |
12 |
72 |
3 |
| http_disconnect |
|
7 |
19 |
123 |
1 |
| http_free |
|
2 |
10 |
50 |
1 |
| http_alloc |
|
16 |
88 |
673 |
5 |
| http_open |
|
7 |
35 |
183 |
3 |
| http_close |
|
2 |
10 |
50 |
1 |
| http_body_read |
|
8 |
34 |
219 |
3 |
| http_head_get |
|
3 |
10 |
61 |
3 |
| http_head_status |
|
4 |
19 |
122 |
3 |
| http_head_parse |
|
13 |
57 |
358 |
3 |
| http_head_read |
|
12 |
54 |
373 |
3 |
| http_get_free |
|
2 |
8 |
36 |
1 |
| http_get |
|
8 |
52 |
357 |
7 |
| main |
|
6 |
29 |
223 |
1 |
| Source file: ./usr.sbin/acme-client/json.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| build |
|
16 |
67 |
447 |
5 |
| jsmnparse_free |
|
8 |
27 |
131 |
1 |
| jsmntree_alloc |
|
5 |
21 |
130 |
3 |
| json_free |
|
2 |
5 |
22 |
1 |
| json_getarrayobj |
|
2 |
4 |
20 |
1 |
| json_getarray |
|
8 |
19 |
149 |
2 |
| json_getobj |
|
8 |
19 |
149 |
2 |
| json_getstr |
|
10 |
24 |
190 |
2 |
| json_free_challenge |
|
1 |
6 |
33 |
1 |
| json_parse_response |
|
5 |
17 |
90 |
1 |
| json_parse_challenge |
|
8 |
28 |
173 |
2 |
| json_parse_capaths |
|
7 |
16 |
132 |
2 |
| json_free_capaths |
|
1 |
9 |
57 |
1 |
| json_parse |
|
5 |
29 |
153 |
2 |
| json_fmt_newreg |
|
2 |
15 |
52 |
1 |
| json_fmt_newauthz |
|
2 |
16 |
53 |
1 |
| json_fmt_challenge |
|
2 |
15 |
59 |
2 |
| json_fmt_revokecert |
|
2 |
15 |
52 |
1 |
| json_fmt_newcert |
|
2 |
15 |
52 |
1 |
| json_fmt_header_rsa |
|
2 |
16 |
60 |
2 |
| json_fmt_protected_rsa |
|
2 |
17 |
68 |
3 |
| json_fmt_signed |
|
2 |
18 |
75 |
4 |
| json_fmt_thumb_rsa |
|
2 |
12 |
56 |
2 |
| Source file: ./usr.sbin/acme-client/keyproc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| add_ext |
|
3 |
17 |
100 |
3 |
| keyproc |
|
32 |
133 |
861 |
5 |
| Source file: ./usr.sbin/acme-client/rsa.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rsa_key_create |
|
8 |
29 |
177 |
2 |
| rsa_key_load |
|
3 |
13 |
78 |
2 |
| Source file: ./usr.sbin/acme-client/certproc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| x509buf |
|
6 |
28 |
164 |
2 |
| certproc |
|
32 |
110 |
740 |
2 |
| Source file: ./usr.sbin/httpd/patterns.h |
| Source file: ./usr.sbin/acme-client/revokeproc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| X509expires |
|
7 |
39 |
393 |
1 |
| revokeproc |
|
54 |
183 |
1228 |
7 |
| Source file: ./usr.sbin/acme-client/main.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
84 |
301 |
2323 |
2 |
| Source file: ./usr.sbin/httpd/log.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| log_init |
|
2 |
10 |
48 |
2 |
| log_procinit |
|
2 |
5 |
19 |
1 |
| log_setverbose |
|
1 |
4 |
11 |
1 |
| log_getverbose |
|
1 |
4 |
11 |
1 |
| logit |
|
1 |
7 |
38 |
3 |
| vlog |
|
3 |
17 |
99 |
3 |
| log_warn |
|
3 |
21 |
120 |
2 |
| log_warnx |
|
1 |
7 |
35 |
2 |
| log_info |
|
1 |
7 |
35 |
2 |
| log_debug |
|
2 |
9 |
43 |
2 |
| vfatalc |
|
3 |
17 |
106 |
3 |
| fatal |
|
1 |
8 |
40 |
2 |
| fatalx |
|
1 |
8 |
40 |
2 |
| Source file: ./usr.sbin/httpd/http.h |
| Source file: ./usr.sbin/httpd/control.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| control_init |
|
9 |
49 |
367 |
2 |
| control_listen |
|
3 |
14 |
96 |
1 |
| control_cleanup |
|
2 |
7 |
35 |
1 |
| control_accept |
|
9 |
36 |
282 |
3 |
| control_connbyfd |
|
2 |
9 |
42 |
1 |
| control_close |
|
3 |
17 |
123 |
2 |
| control_dispatch_imsg |
|
19 |
75 |
456 |
3 |
| control_imsg_forward |
|
2 |
9 |
73 |
2 |
| Source file: ./usr.sbin/httpd/config.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| config_init |
|
8 |
31 |
211 |
1 |
| config_purge |
|
9 |
20 |
145 |
2 |
| config_setreset |
|
4 |
13 |
83 |
2 |
| config_getreset |
|
1 |
8 |
53 |
2 |
| config_getcfg |
|
3 |
17 |
132 |
2 |
| config_setserver |
|
16 |
70 |
503 |
2 |
| config_settls |
|
6 |
38 |
295 |
6 |
| config_setserver_tls |
|
5 |
17 |
144 |
2 |
| config_getserver_auth |
|
4 |
11 |
85 |
2 |
| config_getserver_config |
|
22 |
130 |
974 |
3 |
| config_getserver |
|
13 |
56 |
441 |
2 |
| config_gettls |
|
7 |
34 |
235 |
8 |
| config_getserver_tls |
|
9 |
44 |
276 |
2 |
| config_setmedia |
|
4 |
15 |
110 |
2 |
| config_getmedia |
|
3 |
17 |
116 |
2 |
| config_setauth |
|
4 |
15 |
114 |
2 |
| config_getauth |
|
3 |
17 |
124 |
2 |
| Source file: ./usr.sbin/httpd/logger.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| logger |
|
1 |
4 |
32 |
2 |
| logger_shutdown |
|
1 |
5 |
17 |
1 |
| logger_init |
|
3 |
9 |
64 |
3 |
| logger_close |
|
2 |
11 |
62 |
1 |
| logger_open_file |
|
3 |
26 |
198 |
1 |
| logger_open_fd |
|
2 |
16 |
95 |
1 |
| logger_open_priv |
|
5 |
30 |
253 |
1 |
| logger_open |
|
8 |
26 |
186 |
3 |
| logger_start |
|
2 |
7 |
32 |
1 |
| logger_log |
|
8 |
26 |
183 |
1 |
| logger_dispatch_parent |
|
7 |
23 |
99 |
3 |
| logger_dispatch_server |
|
3 |
12 |
53 |
3 |
| Source file: ./usr.sbin/acme-client/netproc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| buf_dump |
|
7 |
21 |
164 |
1 |
| url2host |
|
7 |
31 |
192 |
3 |
| urlresolve |
|
10 |
30 |
228 |
3 |
| nreq |
|
5 |
34 |
234 |
2 |
| sreq |
|
14 |
72 |
553 |
3 |
| donewreg |
|
9 |
21 |
166 |
2 |
| dochngreq |
|
9 |
26 |
213 |
4 |
| dochngresp |
|
8 |
19 |
149 |
3 |
| dochngcheck |
|
8 |
27 |
213 |
2 |
| dorevoke |
|
9 |
21 |
151 |
3 |
| docert |
|
9 |
21 |
158 |
3 |
| dodirs |
|
8 |
21 |
161 |
3 |
| dofullchain |
|
6 |
15 |
97 |
2 |
| netproc |
|
44 |
136 |
982 |
11 |
| Source file: ./usr.sbin/httpd/httpd.h |
| Source file: ./usr.sbin/httpd/patterns.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| match_error |
|
2 |
5 |
36 |
2 |
| check_capture |
|
4 |
7 |
52 |
2 |
| capture_to_close |
|
3 |
8 |
54 |
1 |
| classend |
|
9 |
26 |
119 |
2 |
| match_class |
|
12 |
39 |
164 |
2 |
| matchbracketclass |
|
10 |
21 |
150 |
3 |
| singlematch |
|
5 |
19 |
109 |
4 |
| matchbalance |
|
7 |
23 |
128 |
3 |
| max_expand |
|
4 |
13 |
88 |
4 |
| min_expand |
|
4 |
12 |
77 |
4 |
| start_capture |
|
3 |
15 |
111 |
4 |
| end_capture |
|
3 |
11 |
93 |
3 |
| match_capture |
|
4 |
13 |
92 |
3 |
| match |
|
40 |
123 |
617 |
3 |
| lmemfind |
|
5 |
24 |
134 |
4 |
| push_onecapture |
|
6 |
19 |
173 |
5 |
| push_captures |
|
6 |
12 |
101 |
5 |
| nospecials |
|
3 |
11 |
59 |
2 |
| str_find_aux |
|
12 |
53 |
381 |
6 |
| str_find |
|
2 |
15 |
112 |
5 |
| str_match |
|
7 |
35 |
282 |
4 |
| str_match_free |
|
2 |
9 |
59 |
1 |
| Source file: ./usr.sbin/httpd/server_file.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| server_file_access |
|
20 |
78 |
492 |
4 |
| server_file |
|
7 |
30 |
211 |
2 |
| server_file_method |
|
3 |
12 |
48 |
1 |
| server_file_request |
|
10 |
58 |
383 |
4 |
| server_partial_file_request |
|
15 |
104 |
737 |
5 |
| server_file_index |
|
30 |
132 |
849 |
3 |
| server_file_error |
|
11 |
46 |
264 |
3 |
| server_file_modified_since |
|
5 |
15 |
111 |
2 |
| parse_ranges |
|
7 |
26 |
197 |
3 |
| parse_range_spec |
|
11 |
36 |
250 |
3 |
| Source file: ./usr.sbin/httpd/proc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| proc_ispeer |
|
3 |
9 |
55 |
3 |
| proc_getid |
|
3 |
13 |
75 |
3 |
| proc_exec |
|
11 |
52 |
398 |
5 |
| proc_connect |
|
9 |
24 |
191 |
1 |
| proc_init |
|
11 |
42 |
301 |
6 |
| proc_accept |
|
4 |
24 |
185 |
4 |
| proc_setup |
|
13 |
42 |
451 |
3 |
| proc_kill |
|
11 |
30 |
180 |
1 |
| proc_open |
|
10 |
34 |
319 |
3 |
| proc_close |
|
6 |
21 |
171 |
1 |
| proc_shutdown |
|
4 |
11 |
76 |
1 |
| proc_sig_handler |
|
7 |
17 |
63 |
3 |
| proc_run |
|
17 |
64 |
574 |
6 |
| proc_dispatch |
|
16 |
66 |
439 |
3 |
| proc_dispatch_null |
|
1 |
4 |
23 |
3 |
| imsg_event_add |
|
3 |
13 |
95 |
1 |
| imsg_compose_event |
|
2 |
10 |
75 |
7 |
| imsg_composev_event |
|
2 |
10 |
77 |
7 |
| proc_range |
|
2 |
9 |
57 |
4 |
| proc_compose_imsg |
|
3 |
12 |
106 |
8 |
| proc_compose |
|
1 |
5 |
48 |
5 |
| proc_composev_imsg |
|
3 |
11 |
106 |
8 |
| proc_composev |
|
1 |
5 |
50 |
5 |
| proc_forward_imsg |
|
1 |
6 |
58 |
4 |
| proc_ibuf |
|
1 |
6 |
48 |
3 |
| proc_iev |
|
1 |
6 |
46 |
3 |
| proc_flush_imsg |
|
6 |
17 |
126 |
3 |
| Source file: ./usr.sbin/httpd/server.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| server |
|
1 |
5 |
36 |
2 |
| server_shutdown |
|
1 |
5 |
18 |
1 |
| server_privinit |
|
7 |
19 |
162 |
1 |
| server_tls_cmp |
|
9 |
23 |
187 |
3 |
| server_tls_load_keypair |
|
4 |
16 |
131 |
1 |
| server_tls_load_ocsp |
|
5 |
22 |
142 |
1 |
| server_tls_init |
|
17 |
100 |
704 |
1 |
| server_generate_ticket_key |
|
1 |
7 |
49 |
1 |
| server_init |
|
4 |
13 |
113 |
3 |
| server_launch |
|
1 |
16 |
99 |
1 |
| server_purge |
|
7 |
26 |
175 |
1 |
| serverconfig_free |
|
1 |
10 |
66 |
1 |
| serverconfig_reset |
|
1 |
11 |
57 |
1 |
| server_byaddr |
|
3 |
11 |
74 |
2 |
| serverconfig_byid |
|
3 |
14 |
78 |
1 |
| server_byid |
|
2 |
9 |
44 |
1 |
| server_foreach |
|
3 |
15 |
113 |
2 |
| server_match |
|
6 |
21 |
137 |
2 |
| server_socket_af |
|
3 |
18 |
103 |
2 |
| server_socket_getport |
|
3 |
12 |
63 |
1 |
| server_socket |
|
27 |
84 |
538 |
5 |
| server_socket_listen |
|
4 |
15 |
108 |
3 |
| server_socket_connect |
|
4 |
15 |
99 |
3 |
| server_tls_readcb |
|
13 |
50 |
328 |
3 |
| server_tls_writecb |
|
9 |
36 |
228 |
3 |
| server_input |
|
5 |
37 |
258 |
1 |
| server_write |
|
6 |
19 |
114 |
2 |
| server_dump |
|
3 |
9 |
61 |
3 |
| server_read |
|
5 |
23 |
144 |
2 |
| server_error |
|
7 |
34 |
172 |
3 |
| server_accept |
|
15 |
81 |
558 |
3 |
| server_tls_handshake |
|
7 |
28 |
207 |
3 |
| server_inflight_dec |
|
3 |
11 |
52 |
2 |
| server_sendlog |
|
5 |
31 |
206 |
4 |
| server_log |
|
12 |
41 |
314 |
2 |
| server_close |
|
11 |
32 |
237 |
2 |
| server_dispatch_parent |
|
10 |
40 |
197 |
3 |
| server_dispatch_logger |
|
1 |
8 |
40 |
3 |
| server_bufferevent_add |
|
2 |
10 |
54 |
2 |
| server_bufferevent_printf |
|
2 |
14 |
81 |
3 |
| server_bufferevent_print |
|
2 |
6 |
56 |
2 |
| server_bufferevent_write_buffer |
|
2 |
6 |
46 |
2 |
| server_bufferevent_write_chunk |
|
2 |
9 |
52 |
3 |
| server_bufferevent_write |
|
2 |
6 |
52 |
3 |
| server_client_cmp |
|
1 |
4 |
28 |
2 |
| Source file: ./usr.sbin/rarpd/arptab.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| arptab_init |
|
2 |
6 |
30 |
1 |
| arptab_set |
|
14 |
62 |
348 |
2 |
| rtmsg |
|
16 |
60 |
370 |
1 |
| rtget |
|
9 |
35 |
200 |
2 |
| Source file: ./usr.sbin/httpd/server_fcgi.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| server_fcgi |
|
52 |
267 |
1821 |
2 |
| fcgi_add_stdin |
|
3 |
21 |
144 |
2 |
| fcgi_add_param |
|
8 |
44 |
376 |
4 |
| server_fcgi_read |
|
20 |
102 |
592 |
2 |
| server_fcgi_header |
|
25 |
54 |
473 |
2 |
| server_fcgi_writeheader |
|
25 |
34 |
313 |
3 |
| server_fcgi_writechunk |
|
9 |
19 |
135 |
1 |
| server_fcgi_getheaders |
|
8 |
30 |
225 |
1 |
| Source file: ./usr.sbin/httpd/httpd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| parent_sig_handler |
|
6 |
22 |
96 |
3 |
| usage |
|
1 |
7 |
25 |
1 |
| main |
|
32 |
123 |
846 |
2 |
| parent_configure |
|
11 |
44 |
306 |
1 |
| parent_reload |
|
7 |
24 |
141 |
3 |
| parent_reopen |
|
1 |
4 |
24 |
1 |
| parent_configure_done |
|
5 |
16 |
84 |
1 |
| parent_shutdown |
|
2 |
12 |
85 |
1 |
| parent_dispatch_server |
|
2 |
13 |
68 |
3 |
| parent_dispatch_logger |
|
9 |
36 |
197 |
3 |
| parent_tls_ticket_rekey_start |
|
1 |
9 |
62 |
1 |
| parent_tls_ticket_rekey |
|
1 |
15 |
129 |
3 |
| event_again |
|
2 |
16 |
159 |
7 |
| expand_string |
|
6 |
29 |
204 |
4 |
| canonicalize_host |
|
12 |
36 |
260 |
3 |
| url_decode |
|
5 |
29 |
162 |
1 |
| canonicalize_path |
|
18 |
39 |
252 |
3 |
| path_info |
|
5 |
19 |
108 |
1 |
| url_encode |
|
12 |
19 |
160 |
1 |
| escape_html |
|
6 |
27 |
175 |
1 |
| socket_rlimit |
|
4 |
13 |
94 |
1 |
| evbuffer_getline |
|
9 |
24 |
160 |
1 |
| get_string |
|
4 |
9 |
66 |
2 |
| get_data |
|
2 |
8 |
47 |
2 |
| sockaddr_cmp |
|
20 |
53 |
578 |
3 |
| prefixlen2mask |
|
3 |
8 |
43 |
1 |
| prefixlen2mask6 |
|
4 |
15 |
109 |
2 |
| accept_reserve |
|
3 |
15 |
97 |
5 |
| kv_add |
|
6 |
24 |
175 |
3 |
| kv_set |
|
3 |
20 |
127 |
3 |
| kv_setkey |
|
2 |
14 |
82 |
3 |
| kv_delete |
|
2 |
12 |
78 |
2 |
| kv_extend |
|
5 |
14 |
109 |
3 |
| kv_purge |
|
2 |
6 |
36 |
1 |
| kv_free |
|
1 |
8 |
48 |
1 |
| kv_inherit |
|
5 |
19 |
131 |
2 |
| kv_log |
|
7 |
17 |
122 |
2 |
| kv_find |
|
4 |
15 |
94 |
2 |
| kv_cmp |
|
1 |
4 |
28 |
2 |
| media_add |
|
4 |
19 |
138 |
2 |
| media_delete |
|
1 |
6 |
35 |
2 |
| media_purge |
|
2 |
6 |
36 |
1 |
| media_find |
|
6 |
17 |
120 |
2 |
| media_find_config |
|
3 |
10 |
71 |
3 |
| media_cmp |
|
1 |
4 |
28 |
2 |
| auth_add |
|
3 |
13 |
100 |
2 |
| auth_byid |
|
2 |
9 |
45 |
2 |
| auth_free |
|
1 |
4 |
23 |
2 |
| print_host |
|
2 |
9 |
63 |
3 |
| print_time |
|
1 |
12 |
97 |
4 |
| printb_flags |
|
8 |
31 |
187 |
2 |
| getmonotime |
|
2 |
7 |
36 |
1 |
| Source file: ./usr.sbin/relayctl/parser.h |
| Source file: ./usr.sbin/httpd/server_http.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| server_http |
|
1 |
10 |
77 |
1 |
| server_http_init |
|
1 |
3 |
9 |
1 |
| server_httpdesc_init |
|
3 |
14 |
99 |
1 |
| server_httpdesc_free |
|
2 |
19 |
108 |
1 |
| server_http_authenticate |
|
17 |
62 |
454 |
2 |
| server_read_http |
|
74 |
204 |
1095 |
2 |
| server_read_httpcontent |
|
9 |
42 |
241 |
2 |
| server_read_httpchunks |
|
23 |
93 |
521 |
2 |
| server_read_httprange |
|
18 |
77 |
448 |
2 |
| server_reset_http |
|
1 |
17 |
107 |
1 |
| server_http_time |
|
3 |
8 |
58 |
3 |
| server_http_host |
|
8 |
25 |
169 |
3 |
| server_http_parsehost |
|
8 |
37 |
252 |
4 |
| server_abort_http |
|
31 |
129 |
663 |
3 |
| server_close_http |
|
1 |
15 |
79 |
1 |
| server_expand_http |
|
44 |
137 |
1018 |
4 |
| server_response |
|
35 |
106 |
759 |
2 |
| server_root_strip |
|
4 |
10 |
67 |
2 |
| server_getlocation |
|
8 |
29 |
177 |
2 |
| server_response_http |
|
31 |
65 |
571 |
5 |
| server_writeresponse_http |
|
6 |
13 |
104 |
1 |
| server_writeheader_http |
|
10 |
21 |
159 |
3 |
| server_headers |
|
3 |
15 |
125 |
4 |
| server_httpmethod_byname |
|
2 |
11 |
82 |
1 |
| server_httpmethod_byid |
|
3 |
12 |
67 |
1 |
| server_httpmethod_cmp |
|
1 |
6 |
44 |
2 |
| server_httperror_byid |
|
2 |
10 |
77 |
1 |
| server_httperror_cmp |
|
1 |
6 |
41 |
2 |
| server_log_http |
|
46 |
115 |
838 |
3 |
| Source file: ./usr.sbin/rarpd/rarpd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
16 |
47 |
221 |
2 |
| init_one |
|
5 |
20 |
128 |
1 |
| init_all |
|
7 |
18 |
120 |
1 |
| usage |
|
1 |
5 |
21 |
1 |
| rarp_open |
|
9 |
32 |
224 |
1 |
| rarp_check |
|
10 |
27 |
214 |
2 |
| rarp_loop |
|
18 |
56 |
416 |
1 |
| rarp_bootable |
|
6 |
22 |
139 |
1 |
| choose_ipaddr |
|
3 |
8 |
43 |
3 |
| rarp_process |
|
10 |
40 |
273 |
2 |
| lookup_addrs |
|
13 |
51 |
361 |
2 |
| rarp_reply |
|
4 |
27 |
310 |
5 |
| ipaddrtonetmask |
|
4 |
10 |
44 |
1 |
| warning |
|
2 |
14 |
85 |
2 |
| error |
|
2 |
15 |
90 |
2 |
| debug |
|
2 |
11 |
64 |
2 |
| Source file: ./usr.sbin/relayctl/relayctl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usage |
|
1 |
7 |
25 |
1 |
| main |
|
63 |
163 |
1015 |
2 |
| monitor_lookup |
|
3 |
8 |
54 |
1 |
| monitor_host_status |
|
3 |
18 |
79 |
1 |
| monitor_id |
|
2 |
8 |
55 |
1 |
| monitor |
|
3 |
16 |
126 |
1 |
| show_summary_msg |
|
32 |
101 |
696 |
2 |
| show_session_msg |
|
5 |
31 |
244 |
1 |
| show_command_output |
|
3 |
15 |
62 |
1 |
| print_rdr_status |
|
4 |
11 |
54 |
1 |
| print_table_status |
|
3 |
12 |
93 |
2 |
| print_host_status |
|
5 |
15 |
62 |
2 |
| print_relay_status |
|
2 |
7 |
26 |
1 |
| print_statistics |
|
3 |
26 |
198 |
1 |
| Source file: ./usr.sbin/relayctl/parser.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| parse |
|
6 |
24 |
150 |
2 |
| match_token |
|
27 |
82 |
500 |
3 |
| show_valid_args |
|
9 |
28 |
128 |
1 |
| Source file: ./usr.sbin/ypbind/ypbind.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ypbindproc_null_2x |
|
1 |
6 |
41 |
3 |
| ypbindproc_domain_2x |
|
14 |
62 |
456 |
3 |
| ypbindproc_setdom_2x |
|
9 |
42 |
245 |
3 |
| ypbindprog_2 |
|
9 |
56 |
318 |
2 |
| usage |
|
1 |
5 |
18 |
1 |
| main |
|
44 |
207 |
1468 |
2 |
| checkwork |
|
4 |
17 |
83 |
1 |
| ping |
|
6 |
49 |
303 |
1 |
| pings |
|
9 |
67 |
451 |
1 |
| broadcast |
|
10 |
40 |
258 |
3 |
| direct |
|
15 |
51 |
359 |
3 |
| handle_replies |
|
8 |
41 |
275 |
1 |
| handle_ping |
|
8 |
41 |
266 |
1 |
| rpc_received |
|
23 |
86 |
713 |
3 |
| xid2ypdb |
|
3 |
8 |
41 |
1 |
| unique_xid |
|
2 |
8 |
35 |
1 |
| Source file: ./usr.sbin/pwd_mkdb/pwd_mkdb.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
56 |
180 |
1424 |
2 |
| scan |
|
5 |
21 |
138 |
3 |
| cp |
|
7 |
18 |
158 |
3 |
| mv |
|
2 |
5 |
30 |
2 |
| fatal |
|
1 |
9 |
42 |
2 |
| fatalc |
|
1 |
9 |
47 |
3 |
| fatalx |
|
1 |
9 |
42 |
2 |
| cleanup |
|
4 |
18 |
121 |
1 |
| usage |
|
1 |
6 |
21 |
1 |
| changedir |
|
3 |
11 |
75 |
2 |
| write_old_entry |
|
4 |
16 |
154 |
2 |
| db_store |
|
28 |
97 |
793 |
8 |
| Source file: ./usr.sbin/smtpd/compress_backend.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| compress_backend_lookup |
|
2 |
6 |
26 |
1 |
| compress_chunk |
|
1 |
4 |
36 |
4 |
| uncompress_chunk |
|
1 |
4 |
36 |
4 |
| compress_file |
|
1 |
4 |
26 |
2 |
| uncompress_file |
|
1 |
4 |
26 |
2 |
| Source file: ./usr.sbin/edquota/edquota.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usage |
|
1 |
9 |
29 |
1 |
| main |
|
23 |
86 |
517 |
2 |
| getentry |
|
9 |
37 |
202 |
3 |
| getprivs |
|
17 |
78 |
514 |
2 |
| putprivs |
|
5 |
19 |
163 |
3 |
| editit |
|
11 |
41 |
303 |
1 |
| writeprivs |
|
3 |
22 |
217 |
4 |
| readprivs |
|
23 |
91 |
648 |
2 |
| writetimes |
|
3 |
22 |
160 |
3 |
| readtimes |
|
12 |
58 |
406 |
2 |
| cvtstoa |
|
8 |
20 |
188 |
1 |
| cvtatos |
|
5 |
17 |
128 |
3 |
| freeprivs |
|
2 |
8 |
42 |
1 |
| alldigits |
|
3 |
10 |
57 |
1 |
| hasquota |
|
10 |
33 |
245 |
3 |
| Source file: ./usr.sbin/wsfontload/wsfontload.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usage |
|
1 |
9 |
39 |
1 |
| main |
|
43 |
149 |
866 |
2 |
| getencoding |
|
4 |
10 |
86 |
1 |
| Source file: ./usr.sbin/zdump/zdump.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| abbrok |
|
9 |
24 |
138 |
2 |
| usage |
|
1 |
6 |
20 |
1 |
| main |
|
36 |
128 |
878 |
2 |
| setabsolutes |
|
3 |
13 |
60 |
1 |
| yeartot |
|
7 |
25 |
110 |
1 |
| hunt |
|
12 |
39 |
245 |
3 |
| delta |
|
3 |
18 |
126 |
2 |
| show |
|
9 |
28 |
174 |
3 |
| abbr |
|
4 |
9 |
56 |
1 |
| tformat |
|
1 |
4 |
9 |
1 |
| dumptime |
|
12 |
45 |
311 |
1 |
| Source file: ./usr.sbin/tftpd/tftpd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usage |
|
1 |
7 |
26 |
1 |
| main |
|
28 |
88 |
483 |
2 |
| rewrite_connect |
|
7 |
27 |
212 |
1 |
| rewrite_events |
|
1 |
6 |
54 |
1 |
| rewrite_map |
|
4 |
12 |
110 |
2 |
| rewrite_req |
|
5 |
14 |
80 |
3 |
| rewrite_res |
|
7 |
28 |
150 |
3 |
| tftpd_listen |
|
12 |
56 |
369 |
3 |
| tftpd_events |
|
1 |
9 |
52 |
1 |
| client_alloc |
|
2 |
15 |
89 |
1 |
| client_free |
|
2 |
8 |
43 |
1 |
| tftpd_recv |
|
18 |
95 |
671 |
3 |
| parse_options |
|
8 |
26 |
178 |
4 |
| tftp |
|
20 |
93 |
548 |
3 |
| tftp_open |
|
5 |
19 |
100 |
2 |
| validate_access |
|
28 |
79 |
530 |
2 |
| fget_octet |
|
1 |
4 |
19 |
1 |
| fput_octet |
|
1 |
4 |
24 |
2 |
| fget_netascii |
|
7 |
24 |
102 |
1 |
| fput_netascii |
|
4 |
12 |
70 |
2 |
| sendfile |
|
1 |
6 |
38 |
1 |
| file_read |
|
5 |
30 |
196 |
1 |
| tftp_rrq_ack |
|
12 |
57 |
315 |
3 |
| tftp_flush |
|
5 |
18 |
79 |
1 |
| recvfile |
|
1 |
5 |
32 |
1 |
| tftp_wrq_ack_packet |
|
1 |
10 |
82 |
1 |
| tftp_wrq_ack |
|
2 |
10 |
50 |
1 |
| tftp_wrq |
|
15 |
70 |
390 |
3 |
| tftp_wrq_end |
|
10 |
45 |
221 |
3 |
| nak |
|
6 |
23 |
181 |
2 |
| oack |
|
8 |
44 |
307 |
1 |
| retry |
|
3 |
11 |
76 |
1 |
| oack_done |
|
9 |
36 |
219 |
3 |
| getip |
|
2 |
9 |
63 |
1 |
| rdaemon |
|
7 |
25 |
138 |
1 |
| syslog_vstrerror |
|
2 |
10 |
70 |
4 |
| syslog_err |
|
1 |
8 |
45 |
3 |
| syslog_errx |
|
1 |
8 |
43 |
3 |
| syslog_warn |
|
1 |
7 |
37 |
2 |
| syslog_warnx |
|
1 |
7 |
35 |
2 |
| syslog_info |
|
1 |
7 |
35 |
2 |
| syslog_debug |
|
2 |
9 |
42 |
2 |
| Source file: ./usr.sbin/smtpd/crypto.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| crypto_setup |
|
2 |
8 |
49 |
2 |
| crypto_encrypt_file |
|
12 |
45 |
355 |
2 |
| crypto_decrypt_file |
|
17 |
62 |
457 |
2 |
| crypto_encrypt_buffer |
|
5 |
36 |
246 |
4 |
| crypto_decrypt_buffer |
|
5 |
33 |
226 |
4 |
| main |
|
7 |
48 |
265 |
2 |
| Source file: ./usr.sbin/smtpd/stat_backend.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| stat_backend_lookup |
|
3 |
8 |
42 |
1 |
| stat_increment |
|
2 |
11 |
71 |
2 |
| stat_decrement |
|
2 |
11 |
71 |
2 |
| stat_set |
|
1 |
7 |
54 |
2 |
| stat_counter |
|
1 |
7 |
30 |
1 |
| stat_timestamp |
|
1 |
7 |
30 |
1 |
| stat_timeval |
|
1 |
7 |
33 |
1 |
| stat_timespec |
|
1 |
7 |
33 |
1 |
| Source file: ./usr.sbin/smtpd/bounce.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bounce_init |
|
2 |
11 |
51 |
1 |
| bounce_add |
|
9 |
69 |
570 |
1 |
| bounce_fd |
|
4 |
26 |
174 |
1 |
| bounce_timeout |
|
1 |
5 |
23 |
3 |
| bounce_drain |
|
8 |
40 |
194 |
0 |
| bounce_send |
|
2 |
13 |
89 |
3 |
| bounce_duration |
|
8 |
23 |
174 |
1 |
| bounce_next_message |
|
6 |
34 |
206 |
1 |
| bounce_next |
|
25 |
166 |
895 |
1 |
| bounce_delivery |
|
8 |
47 |
301 |
3 |
| bounce_status |
|
7 |
23 |
142 |
3 |
| bounce_free |
|
1 |
10 |
50 |
1 |
| bounce_io |
|
16 |
59 |
339 |
3 |
| bounce_message_cmp |
|
4 |
12 |
93 |
2 |
| action_str |
|
5 |
16 |
65 |
1 |
| Source file: ./usr.sbin/smtpd/smtpd.h |
| Source file: ./usr.sbin/smtpd/log.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| log_init |
|
2 |
10 |
48 |
2 |
| log_procinit |
|
2 |
5 |
19 |
1 |
| log_setverbose |
|
1 |
4 |
11 |
1 |
| log_getverbose |
|
1 |
4 |
11 |
1 |
| logit |
|
1 |
7 |
38 |
3 |
| vlog |
|
3 |
17 |
99 |
3 |
| log_warn |
|
3 |
21 |
120 |
2 |
| log_warnx |
|
1 |
7 |
35 |
2 |
| log_info |
|
1 |
7 |
35 |
2 |
| log_debug |
|
2 |
9 |
43 |
2 |
| vfatalc |
|
3 |
17 |
106 |
3 |
| fatal |
|
1 |
8 |
40 |
2 |
| fatalx |
|
1 |
8 |
40 |
2 |
| Source file: ./usr.sbin/smtpd/aliases.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| aliases_get |
|
6 |
42 |
248 |
2 |
| aliases_virtual_get |
|
24 |
91 |
647 |
2 |
| aliases_expand_include |
|
3 |
18 |
117 |
2 |
| Source file: ./usr.sbin/smtpd/config.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| purge_config |
|
11 |
52 |
345 |
1 |
| config_process |
|
3 |
11 |
70 |
1 |
| config_peer |
|
9 |
23 |
111 |
1 |
| Source file: ./usr.sbin/smtpd/mail.file.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
5 |
20 |
107 |
2 |
| file_engine |
|
13 |
44 |
288 |
1 |
| Source file: ./usr.sbin/smtpd/pony.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pony_imsg |
|
46 |
75 |
287 |
2 |
| pony_shutdown |
|
1 |
5 |
16 |
1 |
| pony |
|
8 |
39 |
241 |
1 |
| Source file: ./usr.sbin/smtpd/dict.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dict_check |
|
1 |
6 |
42 |
2 |
| dict_alloc |
|
2 |
12 |
94 |
2 |
| dict_set |
|
3 |
17 |
122 |
3 |
| dict_xset |
|
3 |
9 |
76 |
3 |
| dict_get |
|
2 |
8 |
60 |
2 |
| dict_xget |
|
2 |
8 |
66 |
2 |
| dict_pop |
|
2 |
13 |
91 |
2 |
| dict_xpop |
|
2 |
13 |
97 |
2 |
| dict_poproot |
|
3 |
13 |
78 |
2 |
| dict_root |
|
4 |
12 |
71 |
3 |
| dict_iter |
|
5 |
17 |
106 |
4 |
| dict_iterfrom |
|
7 |
28 |
194 |
5 |
| dict_merge |
|
3 |
12 |
89 |
2 |
| dictentry_cmp |
|
1 |
4 |
26 |
2 |
| Source file: ./usr.sbin/smtpd/scheduler_null.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| scheduler_null_init |
|
1 |
4 |
14 |
1 |
| scheduler_null_insert |
|
1 |
4 |
14 |
1 |
| scheduler_null_commit |
|
1 |
4 |
12 |
1 |
| scheduler_null_rollback |
|
1 |
4 |
12 |
1 |
| scheduler_null_update |
|
1 |
4 |
14 |
1 |
| scheduler_null_delete |
|
1 |
4 |
12 |
1 |
| scheduler_null_hold |
|
1 |
4 |
15 |
2 |
| scheduler_null_release |
|
1 |
4 |
18 |
3 |
| scheduler_null_batch |
|
1 |
5 |
33 |
5 |
| scheduler_null_schedule |
|
1 |
4 |
12 |
1 |
| scheduler_null_remove |
|
1 |
4 |
12 |
1 |
| scheduler_null_suspend |
|
1 |
4 |
12 |
1 |
| scheduler_null_resume |
|
1 |
4 |
12 |
1 |
| scheduler_null_messages |
|
1 |
4 |
19 |
3 |
| scheduler_null_envelopes |
|
1 |
4 |
20 |
3 |
| Source file: ./usr.sbin/smtpd/mta.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mta_imsg |
|
45 |
254 |
1710 |
2 |
| mta_postfork |
|
1 |
3 |
6 |
1 |
| mta_postprivdrop |
|
1 |
20 |
120 |
1 |
| mta_source_error |
|
2 |
9 |
64 |
3 |
| mta_route_error |
|
3 |
9 |
50 |
2 |
| mta_route_ok |
|
2 |
12 |
70 |
2 |
| mta_route_down |
|
2 |
4 |
23 |
2 |
| mta_route_collect |
|
2 |
19 |
123 |
2 |
| mta_route_next_task |
|
7 |
29 |
208 |
2 |
| mta_handle_envelope |
|
12 |
71 |
565 |
1 |
| mta_delivery_flush_event |
|
6 |
44 |
324 |
3 |
| mta_delivery_log |
|
6 |
20 |
155 |
5 |
| mta_delivery_notify |
|
2 |
10 |
58 |
1 |
| mta_query_mx |
|
4 |
21 |
139 |
1 |
| mta_query_limits |
|
5 |
12 |
93 |
1 |
| mta_query_secret |
|
2 |
15 |
98 |
1 |
| mta_query_preference |
|
2 |
15 |
100 |
1 |
| mta_query_source |
|
2 |
18 |
112 |
1 |
| mta_on_mx |
|
7 |
36 |
172 |
3 |
| mta_on_secret |
|
3 |
16 |
88 |
2 |
| mta_on_preference |
|
1 |
9 |
46 |
2 |
| mta_on_source |
|
13 |
55 |
328 |
2 |
| mta_connect |
|
21 |
116 |
792 |
1 |
| mta_on_timeout |
|
5 |
31 |
158 |
2 |
| mta_route_disable |
|
4 |
18 |
125 |
3 |
| mta_route_enable |
|
4 |
15 |
76 |
1 |
| mta_drain |
|
16 |
50 |
359 |
1 |
| mta_flush |
|
11 |
46 |
331 |
3 |
| mta_find_route |
|
40 |
141 |
834 |
4 |
| mta_log |
|
3 |
17 |
93 |
5 |
| mta_relay |
|
20 |
71 |
664 |
1 |
| mta_relay_ref |
|
1 |
4 |
14 |
1 |
| mta_relay_unref |
|
4 |
28 |
196 |
1 |
| mta_relay_to_text |
|
11 |
58 |
552 |
1 |
| mta_relay_show |
|
7 |
60 |
492 |
4 |
| mta_relay_cmp |
|
39 |
57 |
551 |
2 |
| mta_host |
|
2 |
16 |
123 |
1 |
| mta_host_ref |
|
1 |
4 |
14 |
1 |
| mta_host_unref |
|
2 |
10 |
54 |
1 |
| mta_host_to_text |
|
2 |
10 |
72 |
1 |
| mta_host_cmp |
|
3 |
8 |
75 |
2 |
| mta_domain |
|
2 |
17 |
118 |
2 |
| mta_domain_ref |
|
1 |
4 |
14 |
1 |
| mta_domain_unref |
|
3 |
15 |
92 |
1 |
| mta_domain_cmp |
|
3 |
8 |
61 |
2 |
| mta_source |
|
4 |
20 |
140 |
1 |
| mta_source_ref |
|
1 |
4 |
14 |
1 |
| mta_source_unref |
|
2 |
9 |
47 |
1 |
| mta_source_to_text |
|
2 |
8 |
52 |
1 |
| mta_source_cmp |
|
6 |
12 |
112 |
2 |
| mta_connector |
|
2 |
16 |
121 |
2 |
| mta_connector_free |
|
2 |
13 |
67 |
1 |
| mta_connector_to_text |
|
1 |
9 |
52 |
1 |
| mta_route |
|
3 |
28 |
182 |
2 |
| mta_route_ref |
|
1 |
4 |
14 |
1 |
| mta_route_unref |
|
11 |
40 |
265 |
1 |
| mta_route_to_text |
|
1 |
8 |
48 |
1 |
| mta_route_cmp |
|
5 |
12 |
83 |
2 |
| mta_block |
|
3 |
15 |
104 |
2 |
| mta_unblock |
|
2 |
13 |
82 |
2 |
| mta_is_blocked |
|
2 |
9 |
52 |
2 |
| mta_block_cmp |
|
8 |
14 |
109 |
2 |
| mta_hoststat_update |
|
4 |
22 |
187 |
2 |
| mta_hoststat_cache |
|
4 |
13 |
88 |
2 |
| mta_hoststat_uncache |
|
3 |
11 |
70 |
2 |
| mta_hoststat_reschedule |
|
4 |
15 |
97 |
1 |
| mta_hoststat_remove_entry |
|
2 |
7 |
43 |
1 |
| Source file: ./usr.sbin/smtpd/delivery.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| delivery_backend_lookup |
|
6 |
18 |
56 |
1 |
| Source file: ./usr.sbin/smtpd/envelope.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| envelope_set_errormsg |
|
3 |
13 |
106 |
3 |
| envelope_set_esc_class |
|
1 |
4 |
19 |
2 |
| envelope_set_esc_code |
|
1 |
4 |
19 |
2 |
| envelope_buffer_to_dict |
|
12 |
33 |
234 |
3 |
| envelope_load_buffer |
|
7 |
34 |
190 |
3 |
| envelope_dump_buffer |
|
5 |
56 |
578 |
3 |
| ascii_load_uint8 |
|
2 |
8 |
42 |
2 |
| ascii_load_uint16 |
|
2 |
8 |
42 |
2 |
| ascii_load_uint32 |
|
2 |
8 |
42 |
2 |
| ascii_load_time |
|
2 |
8 |
42 |
2 |
| ascii_load_type |
|
4 |
12 |
70 |
2 |
| ascii_load_string |
|
2 |
6 |
34 |
3 |
| ascii_load_sockaddr |
|
5 |
25 |
181 |
2 |
| ascii_load_mda_method |
|
6 |
16 |
104 |
2 |
| ascii_load_mailaddr |
|
2 |
6 |
29 |
2 |
| ascii_load_flags |
|
6 |
17 |
105 |
2 |
| ascii_load_mta_relay_url |
|
2 |
6 |
29 |
2 |
| ascii_load_mta_relay_flags |
|
4 |
13 |
74 |
2 |
| ascii_load_bounce_type |
|
4 |
12 |
70 |
2 |
| ascii_load_dsn_ret |
|
3 |
10 |
53 |
2 |
| ascii_load_field |
|
41 |
104 |
1123 |
3 |
| envelope_ascii_load |
|
3 |
14 |
85 |
2 |
| ascii_dump_uint8 |
|
1 |
4 |
26 |
3 |
| ascii_dump_uint16 |
|
1 |
4 |
26 |
3 |
| ascii_dump_uint32 |
|
1 |
4 |
26 |
3 |
| ascii_dump_time |
|
1 |
4 |
30 |
3 |
| ascii_dump_string |
|
1 |
4 |
28 |
3 |
| ascii_dump_type |
|
4 |
18 |
71 |
3 |
| ascii_dump_mda_method |
|
6 |
24 |
89 |
3 |
| ascii_dump_mailaddr |
|
1 |
5 |
35 |
3 |
| ascii_dump_flags |
|
8 |
20 |
139 |
3 |
| ascii_dump_mta_relay_url |
|
1 |
4 |
32 |
3 |
| ascii_dump_mta_relay_flags |
|
7 |
18 |
121 |
3 |
| ascii_dump_bounce_type |
|
4 |
18 |
71 |
3 |
| ascii_dump_dsn_ret |
|
4 |
10 |
71 |
3 |
| ascii_dump_field |
|
47 |
109 |
1116 |
4 |
| envelope_ascii_dump |
|
6 |
21 |
134 |
4 |
| Source file: ./usr.sbin/smtpd/parser.h |
| Source file: ./usr.sbin/smtpd/smtpd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| parent_imsg |
|
17 |
89 |
576 |
2 |
| usage |
|
1 |
7 |
26 |
1 |
| parent_shutdown |
|
4 |
16 |
87 |
1 |
| parent_send_config |
|
1 |
7 |
31 |
3 |
| parent_send_config_pony |
|
1 |
6 |
47 |
1 |
| parent_send_config_lka |
|
1 |
6 |
46 |
0 |
| parent_send_config_ca |
|
1 |
6 |
47 |
1 |
| parent_sig_handler |
|
25 |
94 |
466 |
3 |
| main |
|
77 |
270 |
1650 |
2 |
| start_child |
|
10 |
41 |
301 |
3 |
| setup_peers |
|
6 |
18 |
167 |
2 |
| setup_done |
|
5 |
14 |
119 |
1 |
| setup_proc |
|
10 |
39 |
255 |
1 |
| setup_peer |
|
11 |
43 |
216 |
3 |
| imsg_wait |
|
9 |
22 |
146 |
3 |
| smtpd |
|
2 |
44 |
337 |
1 |
| load_pki_tree |
|
7 |
25 |
165 |
1 |
| load_pki_keys |
|
3 |
13 |
79 |
1 |
| fork_proc_backend |
|
9 |
41 |
297 |
3 |
| child_add |
|
2 |
11 |
77 |
3 |
| purge_task |
|
12 |
40 |
210 |
1 |
| forkmda |
|
23 |
93 |
753 |
3 |
| offline_scan |
|
11 |
44 |
262 |
3 |
| offline_enqueue |
|
24 |
92 |
655 |
1 |
| offline_add |
|
3 |
13 |
102 |
1 |
| offline_done |
|
3 |
12 |
60 |
1 |
| parent_forward_open |
|
13 |
44 |
245 |
4 |
| imsg_dispatch |
|
7 |
37 |
218 |
2 |
| log_imsg |
|
4 |
18 |
113 |
3 |
| proc_title |
|
8 |
21 |
61 |
1 |
| proc_name |
|
9 |
23 |
67 |
1 |
| imsg_to_str |
|
1 |
138 |
687 |
1 |
| parent_auth_user |
|
2 |
12 |
82 |
2 |
| Source file: ./usr.sbin/smtpd/delivery_filename.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| delivery_filename_open |
|
17 |
58 |
355 |
1 |
| Source file: ./usr.sbin/smtpd/iobuf.h |
| Source file: ./usr.sbin/smtpd/ca.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ca_shutdown |
|
1 |
5 |
16 |
1 |
| ca |
|
8 |
31 |
210 |
1 |
| ca_init |
|
5 |
24 |
151 |
1 |
| ca_verify_cb |
|
8 |
18 |
54 |
2 |
| ca_X509_verify |
|
9 |
31 |
202 |
5 |
| ca_imsg |
|
15 |
70 |
430 |
2 |
| rsae_send_imsg |
|
14 |
60 |
393 |
6 |
| rsae_pub_enc |
|
1 |
6 |
55 |
5 |
| rsae_pub_dec |
|
1 |
6 |
55 |
5 |
| rsae_priv_enc |
|
2 |
10 |
86 |
5 |
| rsae_priv_dec |
|
2 |
10 |
86 |
5 |
| rsae_mod_exp |
|
1 |
5 |
49 |
4 |
| rsae_bn_mod_exp |
|
1 |
6 |
63 |
6 |
| rsae_init |
|
2 |
7 |
43 |
1 |
| rsae_finish |
|
2 |
7 |
43 |
1 |
| rsae_keygen |
|
1 |
5 |
47 |
4 |
| ca_engine_init |
|
13 |
48 |
270 |
1 |
| Source file: ./usr.sbin/smtpd/smtp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| smtp_imsg |
|
17 |
40 |
197 |
2 |
| smtp_postfork |
|
1 |
4 |
10 |
1 |
| smtp_postprivdrop |
|
1 |
3 |
6 |
1 |
| smtp_configure |
|
1 |
4 |
10 |
1 |
| smtp_setup_listeners |
|
5 |
20 |
137 |
1 |
| smtp_setup_events |
|
5 |
30 |
235 |
1 |
| smtp_pause |
|
2 |
8 |
43 |
1 |
| smtp_resume |
|
2 |
8 |
45 |
1 |
| smtp_enqueue |
|
4 |
18 |
129 |
1 |
| smtp_accept |
|
14 |
49 |
281 |
3 |
| smtp_can_accept |
|
2 |
6 |
32 |
1 |
| smtp_collect |
|
3 |
13 |
51 |
1 |
| smtp_sni_callback |
|
3 |
13 |
73 |
3 |
| Source file: ./usr.sbin/smtpd/queue_proc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| queue_proc_call |
|
9 |
32 |
156 |
1 |
| queue_proc_read |
|
2 |
10 |
46 |
2 |
| queue_proc_end |
|
2 |
8 |
28 |
1 |
| queue_proc_close |
|
1 |
9 |
52 |
1 |
| queue_proc_message_create |
|
2 |
11 |
71 |
1 |
| queue_proc_message_commit |
|
2 |
15 |
93 |
2 |
| queue_proc_message_delete |
|
1 |
10 |
57 |
1 |
| queue_proc_message_fd_r |
|
1 |
8 |
45 |
1 |
| queue_proc_message_corrupt |
|
1 |
10 |
57 |
1 |
| queue_proc_envelope_create |
|
4 |
19 |
140 |
4 |
| queue_proc_envelope_delete |
|
1 |
10 |
57 |
1 |
| queue_proc_envelope_update |
|
3 |
15 |
111 |
3 |
| queue_proc_envelope_load |
|
2 |
15 |
82 |
3 |
| queue_proc_envelope_walk |
|
4 |
21 |
126 |
3 |
| queue_proc_init |
|
2 |
26 |
149 |
3 |
| Source file: ./usr.sbin/smtpd/enqueue.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| qp_encoded_write |
|
11 |
25 |
162 |
3 |
| enqueue |
|
102 |
239 |
1461 |
3 |
| get_responses |
|
14 |
42 |
250 |
2 |
| send_line |
|
4 |
16 |
91 |
4 |
| build_from |
|
10 |
34 |
269 |
2 |
| parse_message |
|
39 |
69 |
525 |
4 |
| parse_addr |
|
51 |
57 |
519 |
3 |
| parse_addr_terminal |
|
7 |
15 |
96 |
1 |
| qualify_addr |
|
4 |
10 |
71 |
1 |
| rcpt_add |
|
6 |
24 |
145 |
1 |
| open_connection |
|
12 |
32 |
192 |
1 |
| enqueue_offline |
|
10 |
31 |
220 |
4 |
| savedeadletter |
|
15 |
43 |
293 |
2 |
| Source file: ./usr.sbin/smtpd/lka.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| lka_imsg |
|
46 |
253 |
1712 |
2 |
| lka_sig_handler |
|
5 |
14 |
72 |
3 |
| lka_shutdown |
|
1 |
5 |
16 |
1 |
| lka |
|
6 |
31 |
206 |
1 |
| lka_authenticate |
|
6 |
28 |
164 |
3 |
| lka_credentials |
|
6 |
37 |
226 |
4 |
| lka_userinfo |
|
4 |
22 |
124 |
3 |
| lka_addrname |
|
4 |
25 |
137 |
3 |
| lka_mailaddrmap |
|
6 |
34 |
187 |
3 |
| lka_X509_verify |
|
7 |
39 |
228 |
3 |
| lka_certificate_verify |
|
1 |
4 |
20 |
2 |
| lka_certificate_verify_resume |
|
8 |
27 |
198 |
2 |
| Source file: ./usr.sbin/smtpd/control.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| control_imsg |
|
27 |
77 |
481 |
2 |
| control_create_socket |
|
8 |
32 |
248 |
1 |
| control |
|
8 |
40 |
264 |
1 |
| control_shutdown |
|
1 |
5 |
16 |
1 |
| control_listen |
|
2 |
8 |
55 |
1 |
| control_accept |
|
12 |
54 |
354 |
3 |
| control_close |
|
4 |
20 |
133 |
1 |
| control_digest_update |
|
14 |
37 |
237 |
3 |
| control_dispatch_ext |
|
79 |
281 |
1932 |
2 |
| control_broadcast_verbose |
|
1 |
21 |
166 |
2 |
| Source file: ./usr.sbin/smtpd/smtpf_session.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| smtpf_session_init |
|
2 |
6 |
21 |
1 |
| smtpf_session |
|
1 |
8 |
44 |
4 |
| smtpf_session_imsg |
|
1 |
3 |
14 |
2 |
| Source file: ./usr.sbin/smtpd/smtpd-defines.h |
| Source file: ./usr.sbin/smtpd/queue_null.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| queue_null_message_create |
|
1 |
5 |
20 |
1 |
| queue_null_message_commit |
|
1 |
4 |
17 |
2 |
| queue_null_message_delete |
|
1 |
4 |
12 |
1 |
| queue_null_message_fd_r |
|
1 |
4 |
13 |
1 |
| queue_null_message_corrupt |
|
1 |
4 |
12 |
1 |
| queue_null_envelope_create |
|
1 |
6 |
32 |
4 |
| queue_null_envelope_delete |
|
1 |
4 |
12 |
1 |
| queue_null_envelope_update |
|
1 |
4 |
20 |
3 |
| queue_null_envelope_load |
|
1 |
4 |
19 |
3 |
| queue_null_envelope_walk |
|
1 |
4 |
21 |
3 |
| queue_null_init |
|
1 |
14 |
72 |
3 |
| Source file: ./usr.sbin/smtpd/makemap.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| purge_config |
|
1 |
4 |
20 |
1 |
| fork_proc_backend |
|
1 |
4 |
25 |
3 |
| makemap |
|
48 |
149 |
910 |
3 |
| parse_map |
|
8 |
34 |
206 |
3 |
| parse_entry |
|
4 |
11 |
68 |
5 |
| parse_mapentry |
|
14 |
45 |
297 |
5 |
| parse_setentry |
|
5 |
26 |
191 |
5 |
| make_plain |
|
1 |
6 |
41 |
2 |
| make_aliases |
|
4 |
22 |
128 |
2 |
| conf_aliases |
|
5 |
18 |
109 |
1 |
| dump_db |
|
7 |
26 |
214 |
2 |
| usage |
|
2 |
9 |
33 |
1 |
| Source file: ./usr.sbin/smtpd/table_api.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| table_msg_get |
|
4 |
13 |
58 |
2 |
| table_msg_end |
|
2 |
8 |
28 |
1 |
| table_msg_add |
|
4 |
13 |
78 |
2 |
| table_msg_close |
|
1 |
5 |
18 |
1 |
| table_read_params |
|
2 |
16 |
92 |
1 |
| table_clear_params |
|
2 |
5 |
19 |
1 |
| table_msg_dispatch |
|
19 |
95 |
554 |
1 |
| table_api_on_update |
|
1 |
4 |
17 |
1 |
| table_api_on_check |
|
1 |
4 |
25 |
1 |
| table_api_on_lookup |
|
1 |
4 |
30 |
1 |
| table_api_on_fetch |
|
1 |
4 |
26 |
1 |
| table_api_get_name |
|
1 |
4 |
9 |
1 |
| table_api_dispatch |
|
17 |
53 |
272 |
1 |
| Source file: ./usr.sbin/smtpd/delivery_mbox.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| delivery_mbox_open |
|
2 |
14 |
102 |
1 |
| Source file: ./usr.sbin/smtpd/mproc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mproc_fork |
|
5 |
25 |
192 |
3 |
| mproc_init |
|
1 |
4 |
22 |
2 |
| mproc_clear |
|
1 |
7 |
53 |
1 |
| mproc_enable |
|
2 |
10 |
49 |
1 |
| mproc_disable |
|
2 |
10 |
49 |
1 |
| mproc_event_add |
|
5 |
17 |
97 |
1 |
| mproc_dispatch |
|
15 |
56 |
312 |
3 |
| imsg_read_nofd |
|
3 |
14 |
98 |
1 |
| m_forward |
|
3 |
14 |
125 |
2 |
| m_compose |
|
3 |
13 |
89 |
7 |
| m_composev |
|
4 |
18 |
123 |
7 |
| m_create |
|
1 |
8 |
51 |
5 |
| m_add |
|
6 |
26 |
170 |
3 |
| m_close |
|
2 |
12 |
86 |
1 |
| m_flush |
|
2 |
13 |
95 |
1 |
| m_error |
|
1 |
9 |
51 |
1 |
| m_msg |
|
1 |
6 |
49 |
2 |
| m_end |
|
2 |
5 |
24 |
1 |
| m_is_eom |
|
1 |
4 |
20 |
1 |
| m_get |
|
3 |
8 |
57 |
3 |
| m_add_int |
|
1 |
4 |
25 |
2 |
| m_add_u32 |
|
1 |
4 |
25 |
2 |
| m_add_size |
|
1 |
4 |
25 |
2 |
| m_add_time |
|
1 |
4 |
25 |
2 |
| m_add_string |
|
1 |
4 |
28 |
2 |
| m_add_data |
|
1 |
5 |
33 |
3 |
| m_add_id |
|
1 |
4 |
25 |
2 |
| m_add_evpid |
|
1 |
4 |
25 |
2 |
| m_add_msgid |
|
1 |
4 |
25 |
2 |
| m_add_sockaddr |
|
1 |
5 |
35 |
2 |
| m_add_mailaddr |
|
1 |
4 |
28 |
2 |
| m_add_envelope |
|
1 |
7 |
53 |
2 |
| m_add_params |
|
3 |
16 |
94 |
2 |
| m_get_int |
|
1 |
4 |
26 |
2 |
| m_get_u32 |
|
1 |
4 |
26 |
2 |
| m_get_size |
|
1 |
4 |
26 |
2 |
| m_get_time |
|
1 |
4 |
26 |
2 |
| m_get_string |
|
3 |
11 |
78 |
2 |
| m_get_data |
|
2 |
8 |
57 |
3 |
| m_get_evpid |
|
1 |
4 |
26 |
2 |
| m_get_msgid |
|
1 |
4 |
26 |
2 |
| m_get_id |
|
1 |
4 |
26 |
2 |
| m_get_sockaddr |
|
1 |
6 |
34 |
2 |
| m_get_mailaddr |
|
1 |
4 |
27 |
2 |
| m_get_envelope |
|
2 |
10 |
64 |
2 |
| m_get_params |
|
3 |
16 |
97 |
2 |
| m_clear_params |
|
2 |
6 |
32 |
1 |
| Source file: ./usr.sbin/smtpd/rfc2822.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| hdr_dflt_cb |
|
1 |
1 |
14 |
2 |
| body_dflt_cb |
|
1 |
1 |
13 |
2 |
| header_reset |
|
2 |
8 |
47 |
1 |
| header_callback |
|
5 |
23 |
163 |
1 |
| missing_headers_callback |
|
2 |
9 |
60 |
1 |
| body_callback |
|
1 |
4 |
29 |
2 |
| parser_feed_header |
|
7 |
25 |
207 |
2 |
| parser_feed_body |
|
1 |
5 |
24 |
2 |
| rfc2822_parser_init |
|
1 |
10 |
69 |
1 |
| rfc2822_parser_flush |
|
2 |
7 |
28 |
1 |
| rfc2822_parser_reset |
|
1 |
5 |
23 |
1 |
| rfc2822_parser_release |
|
3 |
14 |
90 |
1 |
| rfc2822_parser_feed |
|
8 |
17 |
119 |
2 |
| rfc2822_header_callback |
|
4 |
22 |
181 |
4 |
| rfc2822_missing_header_callback |
|
4 |
22 |
180 |
4 |
| rfc2822_header_default_callback |
|
1 |
8 |
52 |
3 |
| rfc2822_body_callback |
|
1 |
8 |
51 |
3 |
| Source file: ./usr.sbin/smtpd/waitq.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| waitq_cmp |
|
3 |
8 |
50 |
2 |
| waitq_wait |
|
2 |
18 |
150 |
3 |
| waitq_run |
|
2 |
14 |
104 |
2 |
| Source file: ./usr.sbin/smtpd/runq.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| runq_reset |
|
3 |
16 |
88 |
1 |
| runq_timeout |
|
4 |
20 |
121 |
3 |
| runq_init |
|
2 |
12 |
86 |
2 |
| runq_schedule |
|
5 |
24 |
165 |
4 |
| runq_delay |
|
1 |
5 |
48 |
4 |
| runq_cancel |
|
5 |
17 |
126 |
3 |
| runq_pending |
|
4 |
13 |
86 |
4 |
| runq_next |
|
5 |
15 |
95 |
4 |
| Source file: ./usr.sbin/smtpd/ruleset.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ruleset_match |
|
35 |
61 |
441 |
1 |
| ruleset_check_source |
|
4 |
20 |
92 |
3 |
| ruleset_check_mailaddr |
|
4 |
18 |
84 |
2 |
| Source file: ./usr.sbin/smtpd/queue_backend.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| profile_enter |
|
2 |
7 |
37 |
1 |
| profile_leave |
|
2 |
10 |
67 |
1 |
| queue_message_path |
|
1 |
4 |
29 |
3 |
| queue_init |
|
11 |
36 |
283 |
2 |
| queue_close |
|
2 |
6 |
22 |
1 |
| queue_message_create |
|
1 |
11 |
46 |
1 |
| queue_message_delete |
|
4 |
24 |
129 |
1 |
| queue_message_commit |
|
15 |
63 |
358 |
1 |
| queue_message_corrupt |
|
1 |
10 |
44 |
1 |
| queue_message_uncorrupt |
|
1 |
4 |
13 |
1 |
| queue_message_fd_r |
|
19 |
64 |
398 |
1 |
| queue_message_fd_rw |
|
1 |
6 |
39 |
1 |
| queue_envelope_dump_buffer |
|
6 |
29 |
175 |
3 |
| queue_envelope_load_buffer |
|
5 |
26 |
155 |
3 |
| queue_envelope_cache_add |
|
2 |
11 |
87 |
1 |
| queue_envelope_cache_update |
|
2 |
13 |
82 |
1 |
| queue_envelope_cache_del |
|
2 |
9 |
52 |
1 |
| queue_envelope_create |
|
5 |
27 |
161 |
1 |
| queue_envelope_delete |
|
2 |
13 |
57 |
1 |
| queue_envelope_load |
|
6 |
36 |
220 |
2 |
| queue_envelope_update |
|
4 |
18 |
105 |
1 |
| queue_message_walk |
|
5 |
26 |
167 |
4 |
| queue_envelope_walk |
|
6 |
27 |
163 |
1 |
| queue_generate_msgid |
|
2 |
7 |
25 |
1 |
| queue_generate_evpid |
|
2 |
11 |
42 |
1 |
| envelope_validate |
|
7 |
16 |
120 |
1 |
| queue_api_on_close |
|
1 |
4 |
17 |
1 |
| queue_api_on_message_create |
|
1 |
4 |
18 |
1 |
| queue_api_on_message_commit |
|
1 |
4 |
21 |
1 |
| queue_api_on_message_delete |
|
1 |
4 |
17 |
1 |
| queue_api_on_message_fd_r |
|
1 |
4 |
17 |
1 |
| queue_api_on_message_corrupt |
|
1 |
4 |
17 |
1 |
| queue_api_on_message_uncorrupt |
|
1 |
4 |
17 |
1 |
| queue_api_on_envelope_create |
|
1 |
4 |
26 |
1 |
| queue_api_on_envelope_delete |
|
1 |
4 |
17 |
1 |
| queue_api_on_envelope_update |
|
1 |
4 |
23 |
1 |
| queue_api_on_envelope_load |
|
1 |
4 |
22 |
1 |
| queue_api_on_envelope_walk |
|
1 |
4 |
23 |
1 |
| queue_api_on_message_walk |
|
1 |
5 |
31 |
1 |
| Source file: ./usr.sbin/smtpd/ssl.h |
| Source file: ./usr.sbin/smtpd/parser.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cmd_install |
|
15 |
57 |
429 |
2 |
| cmd_check |
|
16 |
44 |
293 |
3 |
| cmd_run |
|
15 |
50 |
346 |
2 |
| cmd_show_params |
|
7 |
27 |
163 |
2 |
| text_to_sockaddr |
|
16 |
58 |
392 |
3 |
| Source file: ./usr.sbin/smtpd/expand.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| expand_lookup |
|
1 |
4 |
27 |
2 |
| expand_to_text |
|
3 |
12 |
82 |
3 |
| expand_insert |
|
8 |
33 |
225 |
2 |
| expand_clear |
|
4 |
12 |
88 |
1 |
| expand_free |
|
1 |
6 |
28 |
1 |
| expand_cmp |
|
25 |
49 |
364 |
2 |
| expand_line_split |
|
17 |
37 |
230 |
2 |
| expand_line |
|
8 |
25 |
155 |
3 |
| expandnode_info |
|
14 |
50 |
300 |
1 |
| Source file: ./usr.sbin/smtpd/rfc2822.h |
| Source file: ./usr.sbin/smtpd/mail.mda.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
4 |
18 |
100 |
2 |
| Source file: ./usr.sbin/smtpd/tree.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tree_check |
|
1 |
6 |
40 |
2 |
| tree_set |
|
3 |
17 |
124 |
3 |
| tree_xset |
|
3 |
11 |
88 |
3 |
| tree_get |
|
2 |
8 |
58 |
2 |
| tree_xget |
|
2 |
8 |
66 |
2 |
| tree_pop |
|
2 |
13 |
89 |
2 |
| tree_xpop |
|
2 |
13 |
97 |
2 |
| tree_poproot |
|
4 |
15 |
93 |
3 |
| tree_root |
|
4 |
12 |
70 |
3 |
| tree_iter |
|
5 |
17 |
105 |
4 |
| tree_iterfrom |
|
7 |
27 |
191 |
5 |
| tree_merge |
|
3 |
12 |
89 |
2 |
| treeentry_cmp |
|
3 |
8 |
50 |
2 |
| Source file: ./usr.sbin/smtpd/mail.lmtp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
8 |
37 |
186 |
2 |
| lmtp_connect_inet |
|
13 |
63 |
395 |
1 |
| lmtp_connect_unix |
|
5 |
17 |
136 |
1 |
| lmtp_connect |
|
3 |
8 |
58 |
1 |
| lmtp_engine |
|
21 |
57 |
334 |
2 |
| stream_file |
|
4 |
15 |
102 |
1 |
| Source file: ./usr.sbin/smtpd/scheduler_proc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| scheduler_proc_call |
|
9 |
32 |
156 |
1 |
| scheduler_proc_read |
|
2 |
10 |
46 |
2 |
| scheduler_proc_end |
|
2 |
8 |
28 |
1 |
| scheduler_proc_init |
|
2 |
16 |
99 |
1 |
| scheduler_proc_insert |
|
1 |
10 |
64 |
1 |
| scheduler_proc_commit |
|
1 |
11 |
62 |
1 |
| scheduler_proc_rollback |
|
1 |
11 |
62 |
1 |
| scheduler_proc_update |
|
2 |
12 |
81 |
1 |
| scheduler_proc_delete |
|
1 |
11 |
62 |
1 |
| scheduler_proc_hold |
|
4 |
19 |
139 |
2 |
| scheduler_proc_release |
|
5 |
21 |
166 |
3 |
| scheduler_proc_batch |
|
5 |
25 |
215 |
5 |
| scheduler_proc_messages |
|
4 |
20 |
155 |
3 |
| scheduler_proc_envelopes |
|
4 |
20 |
156 |
3 |
| scheduler_proc_schedule |
|
1 |
11 |
62 |
1 |
| scheduler_proc_remove |
|
1 |
11 |
62 |
1 |
| scheduler_proc_suspend |
|
1 |
11 |
62 |
1 |
| scheduler_proc_resume |
|
1 |
11 |
62 |
1 |
| Source file: ./usr.sbin/smtpd/forward.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| forwards_get |
|
10 |
47 |
243 |
2 |
| Source file: ./usr.sbin/smtpd/mda_variables.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mda_expand_token |
|
51 |
135 |
965 |
5 |
| mda_expand_format |
|
18 |
64 |
434 |
4 |
| mod_lowercase |
|
3 |
9 |
52 |
2 |
| mod_uppercase |
|
3 |
9 |
52 |
2 |
| mod_strip |
|
4 |
13 |
94 |
2 |
| Source file: ./usr.sbin/smtpd/mda.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mda_imsg |
|
43 |
302 |
1859 |
2 |
| mda_postfork |
|
1 |
3 |
5 |
0 |
| mda_postprivdrop |
|
1 |
6 |
23 |
0 |
| mda_io |
|
12 |
76 |
439 |
3 |
| mda_check_loop |
|
7 |
22 |
155 |
2 |
| mda_getlastline |
|
6 |
32 |
212 |
3 |
| mda_fail |
|
3 |
18 |
113 |
4 |
| mda_drain |
|
10 |
49 |
262 |
1 |
| mda_done |
|
4 |
20 |
132 |
1 |
| mda_log |
|
8 |
32 |
187 |
3 |
| mda_queue_ok |
|
1 |
6 |
33 |
1 |
| mda_queue_tempfail |
|
1 |
9 |
59 |
3 |
| mda_queue_permfail |
|
1 |
9 |
59 |
3 |
| mda_queue_loop |
|
1 |
6 |
33 |
1 |
| mda_user |
|
6 |
36 |
330 |
1 |
| mda_user_free |
|
2 |
12 |
76 |
1 |
| mda_user_to_text |
|
1 |
6 |
45 |
1 |
| mda_envelope |
|
4 |
25 |
254 |
1 |
| mda_envelope_free |
|
1 |
10 |
56 |
1 |
| mda_session |
|
1 |
24 |
192 |
1 |
| Source file: ./usr.sbin/smtpd/util.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| xmalloc |
|
2 |
9 |
50 |
2 |
| xcalloc |
|
2 |
9 |
57 |
3 |
| xstrdup |
|
2 |
9 |
52 |
2 |
| xmemdup |
|
2 |
10 |
64 |
3 |
| io_xprintf |
|
2 |
11 |
64 |
3 |
| io_xprint |
|
2 |
8 |
45 |
2 |
| strip |
|
4 |
12 |
75 |
1 |
| bsnprintf |
|
3 |
11 |
69 |
4 |
| mkdirs_component |
|
5 |
13 |
75 |
2 |
| mkdirs |
|
13 |
33 |
195 |
2 |
| ckdir |
|
12 |
48 |
301 |
5 |
| rmtree |
|
11 |
40 |
208 |
2 |
| mvpurge |
|
8 |
22 |
146 |
2 |
| mktmpfile |
|
3 |
16 |
82 |
1 |
| safe_fclose |
|
6 |
18 |
83 |
1 |
| hostname_match |
|
9 |
20 |
123 |
2 |
| mailaddr_match |
|
8 |
20 |
145 |
2 |
| valid_localpart |
|
7 |
18 |
80 |
1 |
| valid_domainpart |
|
9 |
27 |
169 |
1 |
| secure_file |
|
17 |
30 |
237 |
5 |
| addargs |
|
5 |
26 |
171 |
3 |
| lowercase |
|
4 |
12 |
69 |
3 |
| uppercase |
|
4 |
12 |
69 |
3 |
| xlowercase |
|
3 |
7 |
44 |
3 |
| generate_uid |
|
3 |
13 |
65 |
1 |
| session_socket_error |
|
2 |
9 |
50 |
1 |
| parse_smtp_response |
|
14 |
25 |
178 |
4 |
| parse_mailname_file |
|
5 |
22 |
134 |
2 |
| getmailname |
|
6 |
25 |
157 |
2 |
| base64_encode |
|
1 |
5 |
32 |
4 |
| base64_decode |
|
1 |
4 |
27 |
3 |
| log_trace |
|
2 |
9 |
46 |
3 |
| log_trace_verbose |
|
2 |
5 |
22 |
1 |
| Source file: ./usr.sbin/smtpd/mail.maildir.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
5 |
23 |
106 |
2 |
| maildir_engine |
|
19 |
45 |
362 |
1 |
| mkdirs_component |
|
5 |
13 |
76 |
2 |
| mkdirs |
|
13 |
33 |
197 |
2 |
| Source file: ./usr.sbin/smtpd/limit.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| limit_mta_set_defaults |
|
1 |
24 |
135 |
1 |
| limit_mta_set |
|
21 |
46 |
367 |
3 |
| Source file: ./usr.sbin/smtpd/delivery_maildir.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mailaddr_tag |
|
7 |
18 |
113 |
3 |
| delivery_maildir_open |
|
24 |
65 |
491 |
1 |
| Source file: ./usr.sbin/smtpd/queue_ram.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| get_message |
|
2 |
8 |
38 |
1 |
| queue_ram_message_create |
|
3 |
15 |
90 |
1 |
| queue_ram_message_commit |
|
7 |
41 |
241 |
2 |
| queue_ram_message_delete |
|
3 |
19 |
115 |
1 |
| queue_ram_message_fd_r |
|
6 |
39 |
216 |
1 |
| queue_ram_message_corrupt |
|
1 |
4 |
15 |
1 |
| queue_ram_envelope_create |
|
5 |
27 |
177 |
4 |
| queue_ram_envelope_delete |
|
4 |
21 |
138 |
1 |
| queue_ram_envelope_update |
|
4 |
24 |
154 |
3 |
| queue_ram_envelope_load |
|
4 |
17 |
115 |
3 |
| queue_ram_envelope_walk |
|
1 |
4 |
21 |
3 |
| queue_ram_init |
|
1 |
15 |
78 |
3 |
| Source file: ./usr.sbin/smtpd/table_proc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| table_proc_call |
|
9 |
32 |
165 |
1 |
| table_proc_read |
|
3 |
11 |
50 |
2 |
| table_proc_end |
|
2 |
8 |
28 |
1 |
| table_proc_open |
|
2 |
18 |
146 |
1 |
| table_proc_update |
|
1 |
10 |
67 |
1 |
| table_proc_close |
|
1 |
6 |
44 |
1 |
| imsg_add_params |
|
7 |
22 |
161 |
2 |
| table_proc_lookup |
|
10 |
35 |
259 |
5 |
| table_proc_fetch |
|
7 |
30 |
216 |
4 |
| Source file: ./usr.sbin/smtpd/scheduler_backend.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| scheduler_backend_lookup |
|
3 |
8 |
41 |
1 |
| scheduler_info |
|
1 |
11 |
76 |
2 |
| Source file: ./usr.sbin/smtpd/esc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| esc_code |
|
1 |
6 |
45 |
2 |
| esc_description |
|
3 |
8 |
49 |
1 |
| Source file: ./usr.sbin/smtpd/iobuf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| iobuf_init |
|
5 |
15 |
98 |
3 |
| iobuf_clear |
|
2 |
10 |
59 |
1 |
| iobuf_drain |
|
5 |
18 |
112 |
2 |
| iobuf_extend |
|
4 |
14 |
98 |
2 |
| iobuf_left |
|
1 |
4 |
18 |
1 |
| iobuf_space |
|
1 |
4 |
24 |
1 |
| iobuf_len |
|
1 |
4 |
18 |
1 |
| iobuf_data |
|
1 |
4 |
18 |
1 |
| iobuf_drop |
|
2 |
8 |
41 |
2 |
| iobuf_getline |
|
6 |
17 |
118 |
2 |
| iobuf_normalize |
|
3 |
12 |
80 |
1 |
| iobuf_read |
|
5 |
14 |
86 |
2 |
| ioqbuf_alloc |
|
4 |
19 |
127 |
2 |
| iobuf_queued |
|
1 |
4 |
14 |
1 |
| iobuf_reserve |
|
5 |
15 |
105 |
2 |
| iobuf_queue |
|
3 |
10 |
67 |
3 |
| iobuf_queuev |
|
5 |
17 |
134 |
3 |
| iobuf_fqueue |
|
1 |
9 |
50 |
3 |
| iobuf_vfqueue |
|
2 |
11 |
70 |
3 |
| iobuf_write |
|
7 |
25 |
156 |
2 |
| iobuf_flush |
|
3 |
8 |
46 |
2 |
| iobuf_flush_ssl |
|
3 |
8 |
47 |
2 |
| iobuf_write_ssl |
|
8 |
28 |
148 |
2 |
| iobuf_read_ssl |
|
8 |
25 |
137 |
2 |
| Source file: ./usr.sbin/smtpd/smtpctl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usage |
|
2 |
10 |
34 |
1 |
| stat_increment |
|
1 |
3 |
12 |
2 |
| stat_decrement |
|
1 |
3 |
12 |
2 |
| srv_connect |
|
3 |
19 |
148 |
1 |
| srv_connected |
|
2 |
4 |
15 |
1 |
| offline_file |
|
6 |
19 |
134 |
1 |
| srv_flush |
|
2 |
5 |
23 |
1 |
| srv_send |
|
3 |
6 |
51 |
3 |
| srv_recv |
|
12 |
24 |
169 |
1 |
| srv_read |
|
4 |
11 |
53 |
2 |
| srv_get_int |
|
1 |
4 |
19 |
1 |
| srv_get_time |
|
1 |
4 |
19 |
1 |
| srv_get_evpid |
|
1 |
4 |
19 |
1 |
| srv_get_string |
|
3 |
14 |
75 |
1 |
| srv_get_envelope |
|
1 |
9 |
47 |
1 |
| srv_end |
|
2 |
6 |
23 |
1 |
| srv_check_result |
|
6 |
22 |
95 |
1 |
| srv_iter_messages |
|
6 |
31 |
171 |
1 |
| srv_iter_envelopes |
|
9 |
44 |
223 |
2 |
| srv_iter_evpids |
|
7 |
26 |
163 |
3 |
| srv_foreach_envelope |
|
9 |
31 |
208 |
4 |
| srv_show_cmd |
|
3 |
15 |
72 |
3 |
| do_log_brief |
|
1 |
6 |
36 |
2 |
| do_log_verbose |
|
1 |
6 |
36 |
2 |
| do_monitor |
|
4 |
46 |
235 |
2 |
| do_pause_envelope |
|
2 |
7 |
52 |
2 |
| do_pause_mda |
|
1 |
5 |
27 |
2 |
| do_pause_mta |
|
1 |
5 |
27 |
2 |
| do_pause_smtp |
|
1 |
5 |
27 |
2 |
| do_profile |
|
1 |
7 |
48 |
2 |
| do_remove |
|
2 |
7 |
52 |
2 |
| do_resume_envelope |
|
2 |
7 |
52 |
2 |
| do_resume_mda |
|
1 |
5 |
27 |
2 |
| do_resume_mta |
|
1 |
5 |
27 |
2 |
| do_resume_route |
|
2 |
10 |
56 |
2 |
| do_resume_smtp |
|
1 |
5 |
27 |
2 |
| do_schedule |
|
2 |
7 |
52 |
2 |
| do_show_envelope |
|
2 |
13 |
95 |
2 |
| do_show_hoststats |
|
1 |
5 |
26 |
2 |
| do_show_message |
|
3 |
17 |
105 |
2 |
| do_show_queue |
|
16 |
45 |
291 |
2 |
| do_show_hosts |
|
1 |
5 |
26 |
2 |
| do_show_relays |
|
1 |
5 |
26 |
2 |
| do_show_routes |
|
1 |
5 |
26 |
2 |
| do_show_stats |
|
8 |
45 |
291 |
2 |
| do_show_status |
|
4 |
15 |
94 |
2 |
| do_trace |
|
1 |
7 |
48 |
2 |
| do_unprofile |
|
1 |
7 |
48 |
2 |
| do_untrace |
|
1 |
7 |
48 |
2 |
| do_update_table |
|
1 |
6 |
46 |
2 |
| do_encrypt |
|
2 |
8 |
56 |
2 |
| do_block_mta |
|
5 |
14 |
166 |
2 |
| do_unblock_mta |
|
5 |
14 |
166 |
2 |
| do_show_mta_block |
|
1 |
5 |
26 |
2 |
| do_discover |
|
6 |
26 |
164 |
2 |
| do_uncorrupt |
|
5 |
19 |
112 |
2 |
| main |
|
5 |
63 |
451 |
2 |
| sendmail_compat |
|
10 |
25 |
210 |
2 |
| show_queue_envelope |
|
12 |
57 |
464 |
2 |
| getflag |
|
2 |
8 |
60 |
5 |
| show_offline_envelope |
|
7 |
37 |
205 |
1 |
| display |
|
11 |
47 |
311 |
1 |
| str_to_trace |
|
14 |
31 |
192 |
1 |
| str_to_profile |
|
3 |
9 |
49 |
1 |
| is_gzip_buffer |
|
1 |
6 |
30 |
1 |
| is_gzip_fp |
|
2 |
11 |
67 |
1 |
| is_encrypted_buffer |
|
1 |
6 |
24 |
1 |
| is_encrypted_fp |
|
2 |
11 |
64 |
1 |
| Source file: ./usr.sbin/smtpd/table.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| table_backend_lookup |
|
6 |
12 |
76 |
1 |
| table_backend_name |
|
5 |
12 |
52 |
1 |
| table_service_name |
|
11 |
16 |
79 |
1 |
| table_find |
|
3 |
11 |
88 |
2 |
| table_lookup |
|
9 |
32 |
201 |
5 |
| table_fetch |
|
6 |
22 |
146 |
4 |
| table_create |
|
18 |
62 |
446 |
4 |
| table_destroy |
|
2 |
8 |
53 |
1 |
| table_config |
|
2 |
6 |
36 |
1 |
| table_add |
|
5 |
16 |
110 |
3 |
| table_check_type |
|
1 |
4 |
19 |
2 |
| table_check_service |
|
1 |
4 |
21 |
2 |
| table_check_use |
|
2 |
4 |
30 |
3 |
| table_open |
|
3 |
10 |
61 |
1 |
| table_close |
|
2 |
5 |
28 |
1 |
| table_update |
|
2 |
6 |
36 |
1 |
| table_domain_match |
|
1 |
4 |
22 |
2 |
| table_mailaddr_match |
|
3 |
10 |
60 |
2 |
| table_netaddr_match |
|
6 |
16 |
110 |
2 |
| table_match_mask |
|
3 |
8 |
61 |
2 |
| table_inet4_match |
|
3 |
13 |
92 |
2 |
| table_inet6_match |
|
5 |
21 |
181 |
2 |
| table_dump_all |
|
7 |
36 |
256 |
1 |
| table_open_all |
|
3 |
9 |
57 |
1 |
| table_close_all |
|
2 |
8 |
45 |
1 |
| table_parse_lookup |
|
30 |
85 |
676 |
4 |
| table_dump_lookup |
|
24 |
64 |
448 |
2 |
| parse_sockaddr |
|
17 |
60 |
409 |
3 |
| Source file: ./usr.sbin/smtpd/stat_ramstat.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ramstat_init |
|
1 |
6 |
31 |
1 |
| ramstat_close |
|
1 |
4 |
13 |
1 |
| ramstat_increment |
|
2 |
15 |
149 |
2 |
| ramstat_decrement |
|
2 |
15 |
149 |
2 |
| ramstat_set |
|
2 |
14 |
129 |
2 |
| ramstat_iter |
|
4 |
17 |
102 |
3 |
| ramstat_entry_cmp |
|
1 |
4 |
26 |
2 |
| Source file: ./usr.sbin/smtpd/mailaddr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mailaddr_line_split |
|
17 |
37 |
230 |
2 |
| mailaddr_line |
|
6 |
23 |
146 |
2 |
| maddrmap_init |
|
1 |
4 |
17 |
1 |
| maddrmap_insert |
|
1 |
6 |
44 |
2 |
| maddrmap_free |
|
2 |
9 |
52 |
1 |
| Source file: ./usr.sbin/smtpd/compress_gzip.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| compress_gzip_chunk |
|
4 |
24 |
160 |
4 |
| uncompress_gzip_chunk |
|
4 |
25 |
164 |
4 |
| compress_gzip_file |
|
7 |
22 |
137 |
2 |
| uncompress_gzip_file |
|
7 |
22 |
140 |
2 |
| Source file: ./usr.sbin/smtpd/scheduler_ramqueue.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| scheduler_backoff |
|
1 |
4 |
24 |
3 |
| scheduler_next |
|
2 |
7 |
41 |
3 |
| scheduler_ram_init |
|
1 |
9 |
53 |
1 |
| scheduler_ram_insert |
|
4 |
37 |
301 |
1 |
| scheduler_ram_commit |
|
3 |
17 |
96 |
1 |
| scheduler_ram_rollback |
|
3 |
17 |
106 |
1 |
| scheduler_ram_update |
|
5 |
26 |
201 |
1 |
| scheduler_ram_delete |
|
2 |
15 |
102 |
1 |
| scheduler_ram_hold |
|
5 |
39 |
276 |
2 |
| scheduler_ram_release |
|
8 |
35 |
213 |
3 |
| scheduler_ram_batch |
|
23 |
95 |
690 |
5 |
| scheduler_ram_messages |
|
3 |
12 |
79 |
3 |
| scheduler_ram_envelopes |
|
10 |
41 |
312 |
3 |
| scheduler_ram_schedule |
|
8 |
34 |
211 |
1 |
| scheduler_ram_remove |
|
8 |
30 |
195 |
1 |
| scheduler_ram_suspend |
|
8 |
30 |
195 |
1 |
| scheduler_ram_resume |
|
8 |
30 |
195 |
1 |
| scheduler_ram_query |
|
3 |
11 |
52 |
1 |
| sorted_insert |
|
2 |
10 |
71 |
2 |
| rq_queue_init |
|
1 |
14 |
100 |
1 |
| rq_queue_merge |
|
5 |
25 |
193 |
2 |
| rq_queue_schedule |
|
7 |
26 |
163 |
1 |
| rq_envelope_list |
|
11 |
27 |
174 |
2 |
| rq_envelope_schedule |
|
8 |
36 |
234 |
2 |
| rq_envelope_remove |
|
7 |
33 |
240 |
2 |
| rq_envelope_suspend |
|
6 |
27 |
194 |
2 |
| rq_envelope_resume |
|
4 |
15 |
91 |
2 |
| rq_envelope_delete |
|
2 |
12 |
87 |
2 |
| rq_envelope_to_text |
|
11 |
47 |
409 |
1 |
| rq_queue_dump |
|
3 |
18 |
126 |
2 |
| rq_envelope_cmp |
|
7 |
11 |
106 |
2 |
| Source file: ./usr.sbin/smtpd/delivery_mda.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| delivery_mda_open |
|
1 |
11 |
70 |
1 |
| Source file: ./usr.sbin/smtpd/scheduler.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| scheduler_imsg |
|
44 |
312 |
1881 |
2 |
| scheduler_shutdown |
|
1 |
5 |
16 |
1 |
| scheduler_reset_events |
|
1 |
8 |
37 |
1 |
| scheduler |
|
9 |
40 |
299 |
1 |
| scheduler_timeout |
|
15 |
109 |
638 |
3 |
| Source file: ./usr.sbin/smtpd/ssl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ssl_init |
|
2 |
12 |
42 |
1 |
| ssl_setup |
|
3 |
20 |
141 |
4 |
| ssl_load_file |
|
7 |
38 |
229 |
3 |
| ssl_password_cb |
|
3 |
11 |
71 |
4 |
| ssl_password_cb |
|
4 |
17 |
97 |
4 |
| ssl_load_key |
|
11 |
55 |
378 |
5 |
| ssl_ctx_create |
|
9 |
40 |
243 |
4 |
| ssl_load_certificate |
|
2 |
7 |
44 |
2 |
| ssl_load_keyfile |
|
2 |
8 |
59 |
3 |
| ssl_load_cafile |
|
2 |
7 |
44 |
2 |
| ssl_to_text |
|
1 |
9 |
51 |
1 |
| ssl_error |
|
2 |
9 |
56 |
1 |
| ssl_load_pkey |
|
8 |
44 |
265 |
6 |
| ssl_ctx_fake_private_key |
|
5 |
21 |
133 |
7 |
| Source file: ./usr.sbin/smtpd/dns.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| domainname_is_addr |
|
12 |
36 |
262 |
3 |
| dns_imsg |
|
9 |
81 |
616 |
2 |
| dns_dispatch_host |
|
6 |
27 |
210 |
2 |
| dns_dispatch_ptr |
|
3 |
11 |
95 |
2 |
| dns_dispatch_mx |
|
8 |
40 |
293 |
2 |
| dns_dispatch_mx_preference |
|
9 |
44 |
287 |
2 |
| dns_lookup_host |
|
4 |
29 |
192 |
3 |
| print_dname |
|
6 |
25 |
175 |
3 |
| dname_expand |
|
16 |
42 |
291 |
6 |
| unpack_init |
|
1 |
7 |
41 |
3 |
| unpack_data |
|
3 |
12 |
80 |
3 |
| unpack_u16 |
|
2 |
7 |
47 |
2 |
| unpack_u32 |
|
2 |
7 |
47 |
2 |
| unpack_inaddr |
|
1 |
4 |
26 |
2 |
| unpack_in6addr |
|
1 |
4 |
26 |
2 |
| unpack_dname |
|
5 |
16 |
107 |
3 |
| unpack_header |
|
2 |
11 |
94 |
2 |
| unpack_query |
|
2 |
7 |
66 |
2 |
| unpack_rr |
|
15 |
61 |
519 |
2 |
| Source file: ./usr.sbin/smtpd/ioev.h |
| Source file: ./usr.sbin/smtpd/table_getpwnam.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| table_getpwnam_config |
|
2 |
6 |
24 |
1 |
| table_getpwnam_update |
|
1 |
4 |
12 |
1 |
| table_getpwnam_open |
|
1 |
4 |
12 |
1 |
| table_getpwnam_close |
|
1 |
4 |
10 |
1 |
| table_getpwnam_lookup |
|
9 |
30 |
209 |
5 |
| Source file: ./usr.sbin/smtpd/to.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sockaddr_to_text |
|
2 |
9 |
51 |
1 |
| in6addr_to_text |
|
3 |
17 |
148 |
1 |
| text_to_mailaddr |
|
8 |
32 |
201 |
2 |
| mailaddr_to_text |
|
2 |
9 |
68 |
1 |
| sa_to_text |
|
4 |
27 |
218 |
1 |
| ss_to_text |
|
1 |
4 |
24 |
1 |
| time_to_text |
|
5 |
26 |
206 |
1 |
| duration_to_text |
|
7 |
39 |
263 |
1 |
| text_to_netaddr |
|
4 |
29 |
211 |
2 |
| text_to_relayhost |
|
27 |
84 |
603 |
2 |
| relayhost_to_text |
|
13 |
53 |
375 |
1 |
| text_to_evpid |
|
6 |
14 |
76 |
1 |
| text_to_msgid |
|
7 |
16 |
87 |
1 |
| rule_to_text |
|
19 |
79 |
682 |
1 |
| text_to_userinfo |
|
14 |
39 |
260 |
2 |
| text_to_credentials |
|
6 |
27 |
178 |
2 |
| text_to_expandnode |
|
8 |
14 |
99 |
2 |
| expandnode_to_text |
|
9 |
18 |
71 |
1 |
| alias_is_maildir |
|
3 |
12 |
97 |
3 |
| alias_is_filter |
|
7 |
22 |
161 |
3 |
| alias_is_username |
|
8 |
15 |
117 |
3 |
| alias_is_address |
|
11 |
32 |
231 |
3 |
| alias_is_filename |
|
3 |
11 |
81 |
3 |
| alias_is_include |
|
4 |
15 |
98 |
3 |
| alias_is_error |
|
11 |
24 |
222 |
3 |
| Source file: ./usr.sbin/smtpd/table_static.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| table_static_config |
|
29 |
85 |
502 |
1 |
| table_static_update |
|
4 |
21 |
135 |
1 |
| table_static_open |
|
1 |
4 |
12 |
1 |
| table_static_close |
|
1 |
4 |
10 |
1 |
| table_static_lookup |
|
11 |
39 |
236 |
5 |
| table_static_fetch |
|
4 |
14 |
116 |
4 |
| Source file: ./usr.sbin/smtpd/delivery_lmtp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| inet_socket |
|
7 |
38 |
256 |
1 |
| unix_socket |
|
4 |
15 |
124 |
1 |
| lmtp_open |
|
16 |
37 |
410 |
1 |
| lmtp_banner |
|
11 |
29 |
193 |
4 |
| lmtp_cmd |
|
14 |
38 |
269 |
6 |
| Source file: ./usr.sbin/smtpd/smtpd-api.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| evpid_to_msgid |
|
1 |
4 |
15 |
1 |
| msgid_to_evpid |
|
1 |
4 |
18 |
1 |
| Source file: ./usr.sbin/smtpd/queue.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| queue_imsg |
|
69 |
420 |
2788 |
2 |
| queue_msgid_walk |
|
4 |
31 |
214 |
3 |
| queue_bounce |
|
7 |
35 |
250 |
2 |
| queue_shutdown |
|
1 |
6 |
20 |
1 |
| queue |
|
12 |
48 |
324 |
1 |
| queue_timeout |
|
6 |
34 |
197 |
3 |
| queue_log |
|
4 |
18 |
160 |
3 |
| Source file: ./usr.sbin/smtpd/log.h |
| Source file: ./usr.sbin/smtpd/queue_fs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| queue_fs_message_create |
|
7 |
29 |
152 |
1 |
| queue_fs_message_commit |
|
12 |
42 |
259 |
2 |
| queue_fs_message_fd_r |
|
3 |
14 |
81 |
1 |
| queue_fs_message_delete |
|
3 |
12 |
82 |
1 |
| queue_fs_message_corrupt |
|
4 |
25 |
160 |
1 |
| queue_fs_message_uncorrupt |
|
8 |
35 |
214 |
1 |
| queue_fs_envelope_create |
|
8 |
36 |
226 |
4 |
| queue_fs_envelope_load |
|
6 |
24 |
128 |
3 |
| queue_fs_envelope_update |
|
1 |
6 |
49 |
3 |
| queue_fs_envelope_delete |
|
4 |
18 |
101 |
1 |
| queue_fs_message_walk |
|
13 |
50 |
339 |
6 |
| queue_fs_envelope_walk |
|
6 |
27 |
159 |
3 |
| fsqueue_check_space |
|
10 |
38 |
228 |
1 |
| fsqueue_envelope_path |
|
2 |
9 |
53 |
3 |
| fsqueue_envelope_incoming_path |
|
2 |
8 |
41 |
3 |
| fsqueue_envelope_dump |
|
14 |
49 |
275 |
5 |
| fsqueue_message_path |
|
2 |
8 |
44 |
3 |
| fsqueue_message_corrupt_path |
|
2 |
7 |
35 |
3 |
| fsqueue_message_incoming_path |
|
2 |
7 |
35 |
3 |
| fsqueue_qwalk_new |
|
2 |
13 |
97 |
1 |
| fsqueue_qwalk_close |
|
1 |
6 |
27 |
1 |
| fsqueue_qwalk |
|
15 |
47 |
250 |
2 |
| queue_fs_init |
|
6 |
34 |
253 |
3 |
| Source file: ./usr.sbin/smtpd/lka_session.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| lka_session |
|
2 |
23 |
169 |
2 |
| lka_session_forward_reply |
|
10 |
70 |
382 |
2 |
| lka_resume |
|
12 |
55 |
369 |
1 |
| lka_expand |
|
33 |
176 |
1128 |
3 |
| lka_find_ancestor |
|
4 |
11 |
56 |
2 |
| lka_submit |
|
26 |
91 |
777 |
3 |
| Source file: ./usr.sbin/smtpd/ssl_smtpd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ssl_mta_init |
|
3 |
17 |
112 |
4 |
| dummy_verify |
|
1 |
4 |
14 |
2 |
| ssl_smtp_init |
|
4 |
16 |
92 |
2 |
| Source file: ./usr.sbin/smtpd/ioev.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| io_strio |
|
3 |
17 |
120 |
1 |
| io_strevent |
|
1 |
16 |
77 |
1 |
| io_set_nonblocking |
|
3 |
9 |
58 |
1 |
| io_set_nolinger |
|
2 |
7 |
53 |
1 |
| io_frame_enter |
|
2 |
10 |
59 |
3 |
| io_frame_leave |
|
4 |
13 |
66 |
1 |
| _io_init |
|
2 |
8 |
30 |
0 |
| io_new |
|
3 |
14 |
81 |
1 |
| io_free |
|
5 |
16 |
95 |
1 |
| io_hold |
|
2 |
8 |
43 |
1 |
| io_release |
|
3 |
8 |
49 |
1 |
| io_set_fd |
|
2 |
6 |
30 |
2 |
| io_set_callback |
|
1 |
5 |
41 |
3 |
| io_set_timeout |
|
1 |
5 |
27 |
2 |
| io_set_lowat |
|
1 |
5 |
27 |
2 |
| io_pause |
|
1 |
6 |
38 |
2 |
| io_resume |
|
1 |
6 |
40 |
2 |
| io_set_read |
|
3 |
11 |
64 |
1 |
| io_set_write |
|
3 |
11 |
64 |
1 |
| io_error |
|
1 |
4 |
14 |
1 |
| io_ssl |
|
1 |
4 |
14 |
1 |
| io_fileno |
|
1 |
4 |
14 |
1 |
| io_paused |
|
1 |
4 |
27 |
2 |
| io_write |
|
1 |
7 |
42 |
3 |
| io_writev |
|
1 |
7 |
43 |
3 |
| io_print |
|
1 |
4 |
27 |
2 |
| io_printf |
|
1 |
9 |
48 |
3 |
| io_vprintf |
|
2 |
11 |
66 |
3 |
| io_queued |
|
1 |
4 |
18 |
1 |
| io_data |
|
1 |
4 |
18 |
1 |
| io_datalen |
|
1 |
4 |
18 |
1 |
| io_getline |
|
1 |
4 |
24 |
2 |
| io_drop |
|
1 |
4 |
23 |
2 |
| io_reload |
|
9 |
18 |
110 |
1 |
| io_reset |
|
4 |
19 |
156 |
3 |
| io_pending |
|
1 |
4 |
18 |
1 |
| io_strflags |
|
7 |
24 |
142 |
1 |
| io_evstr |
|
11 |
46 |
312 |
1 |
| io_dispatch |
|
12 |
48 |
272 |
3 |
| io_callback |
|
1 |
4 |
25 |
2 |
| io_connect |
|
7 |
24 |
164 |
3 |
| io_dispatch_connect |
|
5 |
30 |
171 |
3 |
| io_ssl_error |
|
2 |
11 |
46 |
1 |
| io_start_tls |
|
6 |
24 |
148 |
2 |
| io_dispatch_accept_ssl |
|
5 |
30 |
162 |
3 |
| io_dispatch_connect_ssl |
|
5 |
30 |
162 |
3 |
| io_dispatch_read_ssl |
|
10 |
41 |
225 |
3 |
| io_dispatch_write_ssl |
|
9 |
42 |
229 |
3 |
| io_reload_ssl |
|
10 |
32 |
156 |
1 |
| Source file: ./usr.sbin/smtpd/table_db.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| table_db_config |
|
2 |
9 |
38 |
1 |
| table_db_update |
|
2 |
10 |
46 |
1 |
| table_db_open |
|
5 |
22 |
148 |
1 |
| table_db_close |
|
1 |
6 |
31 |
1 |
| table_db_lookup |
|
8 |
33 |
233 |
5 |
| table_db_fetch |
|
4 |
19 |
156 |
4 |
| table_db_get_entry_match |
|
3 |
19 |
147 |
4 |
| table_db_get_entry |
|
3 |
16 |
129 |
3 |
| Source file: ./usr.sbin/unbound/sldns/parse.h |
| Source file: ./usr.sbin/unbound/sldns/str2wire.h |
| Source file: ./usr.sbin/unbound/sldns/pkthdr.h |
| Source file: ./usr.sbin/unbound/sldns/wire2str.h |
| Source file: ./usr.sbin/unbound/sldns/keyraw.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sldns_rr_dnskey_key_size_raw |
|
18 |
48 |
205 |
3 |
| sldns_calc_keytag_raw |
|
6 |
22 |
141 |
2 |
| sldns_key_EVP_load_gost_id |
|
7 |
35 |
185 |
1 |
| sldns_key_EVP_unload_gost |
|
2 |
8 |
26 |
1 |
| sldns_key_buf2dsa_raw |
|
12 |
51 |
322 |
2 |
| sldns_key_buf2rsa_raw |
|
10 |
48 |
267 |
2 |
| sldns_gost2pkey_raw |
|
2 |
16 |
170 |
2 |
| sldns_ecdsa2pkey_raw |
|
10 |
36 |
227 |
3 |
| sldns_ed255192pkey_raw |
|
3 |
15 |
132 |
2 |
| sldns_digest_evp |
|
5 |
16 |
91 |
4 |
| Source file: ./usr.sbin/unbound/sldns/sbuffer.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sldns_read_uint16 |
|
2 |
6 |
55 |
1 |
| sldns_read_uint32 |
|
2 |
9 |
83 |
1 |
| sldns_write_uint16 |
|
2 |
7 |
66 |
2 |
| sldns_write_uint32 |
|
2 |
9 |
104 |
2 |
| sldns_write_uint48 |
|
1 |
10 |
130 |
2 |
| sldns_buffer_invariant |
|
1 |
3 |
11 |
1 |
| sldns_buffer_invariant |
|
4 |
7 |
62 |
1 |
| sldns_buffer_clear |
|
1 |
6 |
27 |
1 |
| sldns_buffer_flip |
|
1 |
6 |
27 |
1 |
| sldns_buffer_rewind |
|
1 |
5 |
19 |
1 |
| sldns_buffer_position |
|
1 |
4 |
13 |
1 |
| sldns_buffer_set_position |
|
2 |
5 |
30 |
2 |
| sldns_buffer_skip |
|
2 |
5 |
34 |
2 |
| sldns_buffer_limit |
|
1 |
4 |
13 |
1 |
| sldns_buffer_set_limit |
|
2 |
7 |
44 |
2 |
| sldns_buffer_capacity |
|
1 |
4 |
13 |
1 |
| sldns_buffer_at |
|
2 |
5 |
32 |
2 |
| sldns_buffer_begin |
|
1 |
4 |
17 |
1 |
| sldns_buffer_end |
|
1 |
4 |
18 |
1 |
| sldns_buffer_current |
|
1 |
4 |
18 |
1 |
| sldns_buffer_remaining_at |
|
3 |
6 |
44 |
2 |
| sldns_buffer_remaining |
|
1 |
4 |
18 |
1 |
| sldns_buffer_available_at |
|
1 |
4 |
24 |
3 |
| sldns_buffer_available |
|
1 |
4 |
23 |
2 |
| sldns_buffer_write_at |
|
4 |
13 |
99 |
4 |
| sldns_buffer_set_at |
|
4 |
13 |
97 |
4 |
| sldns_buffer_write |
|
1 |
5 |
35 |
3 |
| sldns_buffer_write_string_at |
|
1 |
4 |
30 |
3 |
| sldns_buffer_write_string |
|
1 |
4 |
25 |
2 |
| sldns_buffer_write_u8_at |
|
3 |
6 |
57 |
3 |
| sldns_buffer_write_u8 |
|
1 |
5 |
31 |
2 |
| sldns_buffer_write_u16_at |
|
3 |
6 |
59 |
3 |
| sldns_buffer_write_u16 |
|
1 |
5 |
31 |
2 |
| sldns_buffer_write_u32_at |
|
3 |
6 |
59 |
3 |
| sldns_buffer_write_u48_at |
|
3 |
6 |
53 |
3 |
| sldns_buffer_write_u32 |
|
1 |
5 |
31 |
2 |
| sldns_buffer_write_u48 |
|
1 |
5 |
28 |
2 |
| sldns_buffer_read_at |
|
1 |
5 |
43 |
4 |
| sldns_buffer_read |
|
1 |
5 |
34 |
3 |
| sldns_buffer_read_u8_at |
|
1 |
5 |
34 |
2 |
| sldns_buffer_read_u8 |
|
1 |
6 |
32 |
1 |
| sldns_buffer_read_u16_at |
|
1 |
5 |
36 |
2 |
| sldns_buffer_read_u16 |
|
1 |
6 |
32 |
1 |
| sldns_buffer_read_u32_at |
|
1 |
5 |
36 |
2 |
| sldns_buffer_read_u32 |
|
1 |
6 |
32 |
1 |
| sldns_buffer_status |
|
1 |
4 |
16 |
1 |
| sldns_buffer_status_ok |
|
2 |
8 |
28 |
1 |
| Source file: ./usr.sbin/unbound/sldns/keyraw.h |
| Source file: ./usr.sbin/unbound/sldns/parse.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sldns_fget_token |
|
1 |
4 |
34 |
4 |
| sldns_fget_token_l |
|
54 |
125 |
660 |
5 |
| sldns_fget_keyword_data |
|
1 |
6 |
48 |
6 |
| sldns_fget_keyword_data_l |
|
6 |
24 |
161 |
7 |
| sldns_bgetc |
|
2 |
8 |
49 |
1 |
| sldns_bget_token |
|
1 |
4 |
36 |
4 |
| sldns_bget_token_par |
|
53 |
113 |
618 |
6 |
| sldns_bskipcs |
|
6 |
20 |
115 |
2 |
| sldns_fskipcs |
|
1 |
4 |
22 |
2 |
| sldns_fskipcs_l |
|
7 |
21 |
108 |
3 |
| sldns_bget_keyword_data |
|
6 |
24 |
156 |
6 |
| Source file: ./usr.sbin/unbound/sldns/parseutil.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sldns_lookup_by_name |
|
3 |
9 |
45 |
2 |
| sldns_lookup_by_id |
|
3 |
9 |
38 |
2 |
| is_leap_year |
|
3 |
5 |
37 |
1 |
| leap_days |
|
1 |
8 |
65 |
2 |
| sldns_mktime_from_utc |
|
4 |
20 |
135 |
1 |
| sldns_year_and_yday_from_days_since_epoch |
|
4 |
13 |
96 |
2 |
| sldns_mon_and_mday_from_year_and_yday |
|
3 |
11 |
69 |
1 |
| sldns_wday_from_year_and_yday |
|
2 |
11 |
77 |
1 |
| sldns_gmtime64_r |
|
1 |
15 |
113 |
2 |
| sldns_serial_arithmitics_time |
|
1 |
5 |
28 |
2 |
| sldns_serial_arithmitics_gmtime_r |
|
2 |
7 |
52 |
3 |
| sldns_hexdigit_to_int |
|
23 |
23 |
133 |
1 |
| sldns_str2period |
|
28 |
70 |
270 |
2 |
| sldns_parse_escape |
|
10 |
23 |
218 |
2 |
| sldns_parse_char |
|
3 |
10 |
60 |
2 |
| sldns_b32_ntop_calculate_size |
|
2 |
4 |
28 |
1 |
| sldns_b32_ntop_calculate_size_no_padding |
|
1 |
4 |
22 |
1 |
| sldns_b32_ntop_base |
|
14 |
50 |
546 |
6 |
| sldns_b32_ntop |
|
1 |
4 |
35 |
4 |
| sldns_b32_ntop_extended_hex |
|
1 |
5 |
35 |
4 |
| sldns_b32_pton_calculate_size |
|
1 |
4 |
14 |
1 |
| sldns_b32_pton_base |
|
35 |
79 |
658 |
6 |
| sldns_b32_pton |
|
1 |
4 |
35 |
4 |
| sldns_b32_pton_extended_hex |
|
1 |
5 |
35 |
4 |
| sldns_b64_ntop_calculate_size |
|
1 |
4 |
26 |
1 |
| sldns_b64_ntop |
|
8 |
41 |
398 |
4 |
| sldns_b64_pton_calculate_size |
|
1 |
4 |
28 |
1 |
| sldns_b64_pton |
|
18 |
49 |
443 |
3 |
| Source file: ./usr.sbin/smtpd/mta_session.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mta_session_init |
|
2 |
13 |
61 |
1 |
| mta_session |
|
13 |
52 |
346 |
2 |
| mta_session_imsg |
|
24 |
124 |
743 |
2 |
| mta_tree_pop |
|
2 |
12 |
64 |
2 |
| mta_free |
|
6 |
24 |
141 |
1 |
| mta_on_timeout |
|
1 |
8 |
43 |
2 |
| mta_on_ptr |
|
1 |
5 |
28 |
3 |
| mta_start |
|
1 |
5 |
26 |
3 |
| mta_connect |
|
23 |
85 |
623 |
1 |
| mta_enter_state |
|
58 |
233 |
1458 |
2 |
| mta_response |
|
51 |
221 |
1269 |
2 |
| mta_io |
|
55 |
182 |
1209 |
3 |
| mta_send |
|
2 |
13 |
88 |
3 |
| mta_queue_data |
|
7 |
25 |
182 |
1 |
| mta_flush_task |
|
8 |
48 |
325 |
5 |
| mta_error |
|
8 |
27 |
178 |
3 |
| mta_start_tls |
|
2 |
20 |
124 |
1 |
| mta_verify_certificate |
|
13 |
92 |
669 |
1 |
| mta_tls_verified |
|
4 |
18 |
89 |
1 |
| dsn_strret |
|
3 |
11 |
40 |
1 |
| dsn_strnotify |
|
6 |
18 |
133 |
1 |
| mta_strstate |
|
1 |
26 |
113 |
1 |
| Source file: ./usr.sbin/unbound/sldns/rrdef.h |
| Source file: ./usr.sbin/unbound/sldns/sbuffer.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sldns_buffer_new |
|
3 |
19 |
105 |
1 |
| sldns_buffer_new_frm_data |
|
4 |
18 |
116 |
3 |
| sldns_buffer_init_frm_data |
|
1 |
8 |
56 |
3 |
| sldns_buffer_init_vfixed_frm_data |
|
1 |
8 |
56 |
3 |
| sldns_buffer_set_capacity |
|
3 |
15 |
87 |
2 |
| sldns_buffer_reserve |
|
4 |
17 |
101 |
2 |
| sldns_buffer_printf |
|
7 |
34 |
216 |
3 |
| sldns_buffer_free |
|
3 |
9 |
36 |
1 |
| sldns_buffer_export |
|
1 |
5 |
19 |
1 |
| sldns_buffer_copy |
|
2 |
9 |
58 |
2 |
| Source file: ./usr.sbin/unbound/sldns/parseutil.h |
| Source file: ./usr.sbin/unbound/ipsecmod/ipsecmod-whitelist.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| whitelist_str_cfg |
|
4 |
26 |
162 |
2 |
| read_whitelist |
|
3 |
10 |
61 |
2 |
| ipsecmod_whitelist_apply_cfg |
|
2 |
9 |
48 |
2 |
| whitelist_free |
|
2 |
7 |
41 |
2 |
| whitelist_get_mem |
|
2 |
8 |
53 |
2 |
| ipsecmod_whitelist_delete |
|
2 |
7 |
28 |
1 |
| ipsecmod_domain_is_whitelisted |
|
2 |
7 |
50 |
4 |
| ipsecmod_whitelist_get_mem |
|
2 |
8 |
32 |
1 |
| Source file: ./usr.sbin/unbound/ipsecmod/ipsecmod.h |
| Source file: ./usr.sbin/unbound/ipsecmod/ipsecmod-whitelist.h |
| Source file: ./usr.sbin/unbound/ipsecmod/ipsecmod.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ipsecmod_apply_cfg |
|
6 |
11 |
65 |
2 |
| ipsecmod_init |
|
3 |
16 |
92 |
2 |
| ipsecmod_deinit |
|
3 |
10 |
67 |
2 |
| ipsecmod_new |
|
2 |
14 |
119 |
2 |
| ipsecmod_error |
|
1 |
5 |
27 |
2 |
| generate_request |
|
2 |
20 |
145 |
7 |
| call_hook |
|
11 |
74 |
579 |
3 |
| ipsecmod_handle_query |
|
16 |
61 |
443 |
4 |
| ipsecmod_handle_response |
|
9 |
29 |
191 |
4 |
| ipsecmod_operate |
|
16 |
41 |
281 |
4 |
| ipsecmod_inform_super |
|
5 |
25 |
148 |
3 |
| ipsecmod_clear |
|
2 |
6 |
28 |
2 |
| ipsecmod_get_mem |
|
2 |
7 |
51 |
2 |
| ipsecmod_get_funcblock |
|
1 |
4 |
10 |
1 |
| Source file: ./usr.sbin/unbound/sldns/rrdef.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sldns_rr_descript |
|
4 |
16 |
70 |
1 |
| sldns_rr_descriptor_minimum |
|
2 |
8 |
26 |
1 |
| sldns_rr_descriptor_maximum |
|
3 |
12 |
42 |
1 |
| sldns_rr_descriptor_field_type |
|
3 |
12 |
60 |
2 |
| sldns_get_rr_type_by_name |
|
17 |
30 |
253 |
1 |
| sldns_get_rr_class_by_name |
|
4 |
12 |
66 |
1 |
| Source file: ./usr.sbin/unbound/respip/respip.h |
| Source file: ./usr.sbin/unbound/sldns/str2wire.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sldns_str2wire_dname_buf_rel |
|
22 |
81 |
471 |
4 |
| sldns_str2wire_dname_buf |
|
1 |
4 |
29 |
3 |
| sldns_str2wire_dname_buf_origin |
|
7 |
20 |
139 |
5 |
| sldns_str2wire_dname |
|
3 |
11 |
81 |
2 |
| rrinternal_get_owner |
|
11 |
50 |
307 |
10 |
| rrinternal_get_ttl |
|
5 |
19 |
127 |
6 |
| rrinternal_get_class |
|
5 |
16 |
105 |
5 |
| rrinternal_get_type |
|
5 |
16 |
100 |
5 |
| rrinternal_write_typeclassttl |
|
4 |
20 |
142 |
8 |
| rrinternal_get_delims |
|
8 |
16 |
59 |
3 |
| sldns_rdf_type_maybe_quoted |
|
2 |
5 |
16 |
1 |
| rrinternal_get_quoted |
|
7 |
18 |
99 |
3 |
| rrinternal_spool_hex |
|
7 |
30 |
194 |
6 |
| rrinternal_parse_unknown |
|
9 |
38 |
247 |
7 |
| rrinternal_parse_rdf |
|
11 |
56 |
339 |
13 |
| sldns_parse_rdf_token |
|
23 |
45 |
364 |
9 |
| sldns_affix_token |
|
3 |
16 |
131 |
9 |
| rrinternal_parse_rdata |
|
26 |
79 |
571 |
9 |
| sldns_str2wire_rr_buf_internal |
|
9 |
37 |
326 |
10 |
| sldns_str2wire_rr_buf |
|
1 |
7 |
62 |
9 |
| sldns_str2wire_rr_question_buf |
|
1 |
7 |
59 |
8 |
| sldns_wirerr_get_type |
|
2 |
6 |
33 |
3 |
| sldns_wirerr_get_class |
|
2 |
6 |
35 |
3 |
| sldns_wirerr_get_ttl |
|
2 |
6 |
35 |
3 |
| sldns_wirerr_get_rdatalen |
|
2 |
6 |
35 |
3 |
| sldns_wirerr_get_rdata |
|
2 |
6 |
32 |
3 |
| sldns_wirerr_get_rdatawl |
|
2 |
6 |
32 |
3 |
| sldns_get_errorstr_parse |
|
2 |
6 |
32 |
1 |
| sldns_strip_ws |
|
6 |
10 |
90 |
1 |
| sldns_fp2wire_rr_buf |
|
21 |
58 |
452 |
5 |
| sldns_str2wire_rdf_buf |
|
38 |
81 |
487 |
4 |
| sldns_str2wire_int8_buf |
|
3 |
12 |
87 |
3 |
| sldns_str2wire_int16_buf |
|
3 |
12 |
87 |
3 |
| sldns_str2wire_int32_buf |
|
5 |
18 |
129 |
3 |
| sldns_str2wire_a_buf |
|
3 |
11 |
79 |
3 |
| sldns_str2wire_aaaa_buf |
|
4 |
12 |
75 |
3 |
| sldns_str2wire_str_buf |
|
6 |
21 |
128 |
3 |
| sldns_str2wire_apl_buf |
|
18 |
67 |
443 |
3 |
| sldns_str2wire_b64_buf |
|
4 |
16 |
94 |
3 |
| sldns_str2wire_b32_ext_buf |
|
3 |
14 |
98 |
3 |
| sldns_str2wire_hex_buf |
|
10 |
28 |
209 |
3 |
| sldns_str2wire_nsec_buf |
|
15 |
53 |
400 |
3 |
| sldns_str2wire_type_buf |
|
4 |
11 |
68 |
3 |
| sldns_str2wire_class_buf |
|
4 |
11 |
68 |
3 |
| sldns_str2wire_cert_alg_buf |
|
5 |
17 |
98 |
3 |
| sldns_str2wire_alg_buf |
|
3 |
13 |
77 |
3 |
| sldns_str2wire_tsigerror_buf |
|
3 |
13 |
77 |
3 |
| sldns_str2wire_time_buf |
|
16 |
35 |
278 |
3 |
| sldns_str2wire_tsigtime_buf |
|
3 |
17 |
119 |
3 |
| sldns_str2wire_period_buf |
|
3 |
12 |
75 |
3 |
| loc_parse_cm |
|
8 |
31 |
180 |
4 |
| sldns_str2wire_loc_buf |
|
33 |
133 |
893 |
3 |
| ldns_tolower_str |
|
3 |
9 |
40 |
1 |
| sldns_str2wire_wks_buf |
|
23 |
59 |
462 |
3 |
| sldns_str2wire_nsap_buf |
|
11 |
31 |
225 |
3 |
| sldns_str2wire_atma_buf |
|
9 |
27 |
200 |
3 |
| sldns_str2wire_ipseckey_buf |
|
16 |
57 |
509 |
3 |
| sldns_str2wire_nsec3_salt_buf |
|
9 |
25 |
210 |
3 |
| sldns_str2wire_ilnp64_buf |
|
5 |
20 |
159 |
3 |
| sldns_str2wire_eui48_buf |
|
4 |
19 |
139 |
3 |
| sldns_str2wire_eui64_buf |
|
4 |
21 |
163 |
3 |
| sldns_str2wire_tag_buf |
|
5 |
17 |
119 |
3 |
| sldns_str2wire_long_str_buf |
|
4 |
15 |
83 |
3 |
| sldns_str2wire_hip_buf |
|
9 |
37 |
324 |
3 |
| sldns_str2wire_int16_data_buf |
|
7 |
26 |
171 |
3 |
| Source file: ./usr.sbin/smtpd/smtp_session.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| header_default_callback |
|
3 |
10 |
73 |
2 |
| dataline_callback |
|
1 |
5 |
29 |
2 |
| header_bcc_callback |
|
1 |
3 |
14 |
2 |
| header_append_domain_buffer |
|
49 |
64 |
451 |
3 |
| header_address_rewrite_buffer |
|
44 |
66 |
479 |
3 |
| header_domain_append_callback |
|
42 |
85 |
644 |
2 |
| header_missing_callback |
|
3 |
9 |
77 |
2 |
| smtp_session_init |
|
2 |
17 |
83 |
1 |
| smtp_session |
|
5 |
37 |
316 |
4 |
| smtp_session_imsg |
|
39 |
266 |
1741 |
2 |
| smtp_tls_verified |
|
4 |
21 |
120 |
1 |
| smtp_message_fd |
|
13 |
50 |
376 |
2 |
| smtp_io |
|
21 |
114 |
710 |
3 |
| smtp_tx |
|
6 |
39 |
355 |
1 |
| smtp_tx_free |
|
3 |
13 |
81 |
1 |
| smtp_command |
|
69 |
291 |
1731 |
2 |
| smtp_rfc4954_auth_plain |
|
10 |
45 |
309 |
2 |
| smtp_rfc4954_auth_login |
|
6 |
38 |
258 |
2 |
| dsn_notify_str_to_uint8 |
|
5 |
12 |
73 |
1 |
| smtp_parse_rcpt_args |
|
13 |
37 |
245 |
2 |
| smtp_parse_mail_args |
|
14 |
38 |
304 |
2 |
| smtp_lookup_servername |
|
3 |
23 |
145 |
1 |
| smtp_connected |
|
4 |
32 |
226 |
1 |
| smtp_send_banner |
|
1 |
4 |
22 |
1 |
| smtp_enter_state |
|
1 |
7 |
39 |
2 |
| smtp_message_end |
|
7 |
36 |
181 |
1 |
| smtp_message_printf |
|
3 |
17 |
100 |
3 |
| smtp_reply |
|
10 |
50 |
332 |
3 |
| smtp_free |
|
7 |
16 |
113 |
2 |
| smtp_mailaddr |
|
14 |
37 |
261 |
5 |
| smtp_verify_certificate |
|
13 |
91 |
666 |
1 |
| smtp_auth_failure_resume |
|
1 |
6 |
35 |
3 |
| smtp_auth_failure_pause |
|
1 |
10 |
63 |
1 |
| smtp_queue_create_message |
|
1 |
7 |
49 |
1 |
| smtp_queue_open_message |
|
1 |
8 |
60 |
1 |
| smtp_queue_commit |
|
1 |
8 |
60 |
1 |
| smtp_queue_rollback |
|
1 |
6 |
39 |
1 |
| smtp_dataline |
|
13 |
41 |
267 |
2 |
| smtp_strstate |
|
1 |
19 |
94 |
1 |
| Source file: ./usr.sbin/unbound/respip/respip.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| respip_set_create |
|
3 |
13 |
66 |
1 |
| respip_set_delete |
|
2 |
7 |
28 |
1 |
| respip_set_get_tree |
|
2 |
6 |
23 |
1 |
| respip_find_or_create |
|
6 |
25 |
165 |
3 |
| respip_tag_cfg |
|
4 |
18 |
102 |
4 |
| respip_action_cfg |
|
10 |
32 |
197 |
3 |
| new_rrset |
|
4 |
28 |
172 |
3 |
| respip_enter_rr |
|
16 |
56 |
395 |
4 |
| respip_data_cfg |
|
3 |
11 |
75 |
3 |
| respip_set_apply_cfg |
|
10 |
51 |
304 |
6 |
| respip_global_apply_cfg |
|
1 |
9 |
63 |
2 |
| respip_views_apply_cfg |
|
9 |
36 |
219 |
3 |
| copy_rrset |
|
6 |
42 |
413 |
2 |
| respip_init |
|
1 |
6 |
25 |
2 |
| respip_deinit |
|
1 |
5 |
22 |
2 |
| rdata2sockaddr |
|
5 |
22 |
197 |
5 |
| respip_addr_lookup |
|
7 |
27 |
173 |
3 |
| make_new_reply_info |
|
4 |
16 |
115 |
4 |
| respip_data_answer |
|
13 |
50 |
400 |
13 |
| respip_nodata_answer |
|
10 |
27 |
166 |
6 |
| populate_action_info |
|
6 |
23 |
154 |
8 |
| respip_rewrite_reply |
|
21 |
81 |
493 |
8 |
| generate_cname_request |
|
2 |
14 |
120 |
2 |
| respip_operate |
|
20 |
65 |
425 |
4 |
| respip_merge_cname |
|
11 |
41 |
273 |
7 |
| respip_inform_super |
|
6 |
21 |
152 |
3 |
| respip_clear |
|
1 |
4 |
21 |
2 |
| respip_get_mem |
|
1 |
6 |
25 |
2 |
| respip_get_funcblock |
|
1 |
4 |
10 |
1 |
| resp_addr_get_action |
|
2 |
4 |
19 |
1 |
| resp_addr_get_rrset |
|
2 |
4 |
18 |
1 |
| respip_set_is_empty |
|
2 |
4 |
23 |
1 |
| respip_inform_print |
|
3 |
18 |
186 |
6 |
| Source file: ./usr.sbin/unbound/smallapp/unbound-host.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usage |
|
1 |
30 |
147 |
1 |
| isip4 |
|
2 |
13 |
125 |
2 |
| isip6 |
|
4 |
26 |
182 |
2 |
| massage_qname |
|
4 |
16 |
84 |
2 |
| massage_type |
|
7 |
16 |
91 |
3 |
| massage_class |
|
5 |
13 |
69 |
1 |
| secure_str |
|
3 |
6 |
30 |
1 |
| pretty_type |
|
1 |
6 |
46 |
3 |
| pretty_class |
|
1 |
6 |
46 |
3 |
| pretty_rcode |
|
1 |
6 |
43 |
3 |
| print_rd |
|
1 |
6 |
50 |
3 |
| pretty_rdata |
|
7 |
20 |
138 |
7 |
| pretty_output |
|
29 |
72 |
504 |
5 |
| dnslook |
|
2 |
14 |
98 |
5 |
| lookup |
|
3 |
18 |
152 |
4 |
| check_ub_res |
|
2 |
7 |
32 |
1 |
| main |
|
24 |
78 |
399 |
2 |
| Source file: ./usr.sbin/unbound/smallapp/unbound-checkconf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usage |
|
1 |
13 |
62 |
1 |
| print_option |
|
5 |
12 |
92 |
3 |
| check_mod |
|
5 |
19 |
145 |
2 |
| localzonechecks |
|
3 |
9 |
50 |
1 |
| view_and_respipchecks |
|
6 |
18 |
118 |
1 |
| warn_hosts |
|
5 |
19 |
114 |
2 |
| interfacechecks |
|
12 |
32 |
259 |
1 |
| aclchecks |
|
3 |
14 |
78 |
1 |
| is_file |
|
4 |
17 |
77 |
1 |
| is_dir |
|
4 |
17 |
80 |
1 |
| basedir |
|
4 |
10 |
58 |
1 |
| check_chroot_string |
|
7 |
18 |
111 |
4 |
| check_chroot_filelist |
|
2 |
8 |
59 |
4 |
| check_chroot_filelist_wild |
|
8 |
15 |
137 |
4 |
| ecs_conf_checks |
|
3 |
9 |
52 |
1 |
| morechecks |
|
105 |
151 |
1325 |
2 |
| check_fwd |
|
3 |
8 |
43 |
1 |
| check_hints |
|
3 |
8 |
43 |
1 |
| checkconf |
|
9 |
32 |
221 |
3 |
| main |
|
11 |
37 |
188 |
2 |
| Source file: ./usr.sbin/unbound/smallapp/worker_cb.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| worker_handle_control_cmd |
|
1 |
6 |
43 |
5 |
| worker_handle_request |
|
1 |
7 |
41 |
4 |
| worker_handle_reply |
|
1 |
7 |
41 |
4 |
| worker_handle_service_reply |
|
1 |
7 |
41 |
4 |
| remote_accept_callback |
|
1 |
7 |
41 |
4 |
| remote_control_callback |
|
1 |
7 |
41 |
4 |
| worker_sighandler |
|
1 |
4 |
22 |
2 |
| worker_send_query |
|
1 |
11 |
85 |
11 |
| worker_win_stop_cb |
|
1 |
4 |
28 |
3 |
| wsvc_cron_cb |
|
1 |
4 |
16 |
1 |
| worker_alloc_cleanup |
|
1 |
4 |
16 |
1 |
| libworker_send_query |
|
1 |
11 |
85 |
11 |
| libworker_handle_reply |
|
1 |
7 |
41 |
4 |
| libworker_handle_service_reply |
|
1 |
7 |
41 |
4 |
| libworker_handle_control_cmd |
|
1 |
6 |
43 |
5 |
| libworker_fg_done_cb |
|
1 |
6 |
44 |
5 |
| libworker_bg_done_cb |
|
1 |
6 |
44 |
5 |
| libworker_event_done_cb |
|
1 |
6 |
44 |
5 |
| context_query_cmp |
|
1 |
5 |
28 |
2 |
| worker_stat_timer_cb |
|
1 |
4 |
16 |
1 |
| worker_probe_timer_cb |
|
1 |
4 |
16 |
1 |
| worker_start_accept |
|
1 |
4 |
16 |
1 |
| worker_stop_accept |
|
1 |
4 |
16 |
1 |
| order_lock_cmp |
|
5 |
10 |
87 |
2 |
| codeline_cmp |
|
1 |
4 |
22 |
2 |
| replay_var_compare |
|
1 |
5 |
28 |
2 |
| remote_get_opt_ssl |
|
1 |
4 |
23 |
2 |
| Source file: ./usr.sbin/unbound/cachedb/cachedb.h |
| Source file: ./usr.sbin/unbound/smallapp/unbound-control.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usage |
|
2 |
76 |
377 |
1 |
| timeval_divide |
|
2 |
13 |
88 |
3 |
| pr_stats |
|
3 |
35 |
312 |
2 |
| print_uptime |
|
1 |
6 |
42 |
1 |
| print_mem |
|
4 |
12 |
97 |
1 |
| print_hist |
|
3 |
18 |
142 |
1 |
| print_extended |
|
21 |
65 |
615 |
1 |
| do_stats_shm |
|
3 |
17 |
111 |
3 |
| print_stats_shm |
|
8 |
32 |
259 |
1 |
| ssl_err |
|
1 |
6 |
28 |
1 |
| setup_ctx |
|
15 |
38 |
260 |
1 |
| contact_server |
|
23 |
58 |
435 |
3 |
| setup_ssl |
|
10 |
30 |
170 |
3 |
| send_file |
|
3 |
7 |
59 |
4 |
| send_eof |
|
2 |
6 |
43 |
1 |
| go_cmd |
|
19 |
47 |
415 |
4 |
| go |
|
6 |
24 |
177 |
5 |
| main |
|
26 |
74 |
455 |
2 |
| Source file: ./usr.sbin/unbound/validator/val_sigcrypt.h |
| Source file: ./usr.sbin/unbound/validator/val_anchor.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| anchor_cmp |
|
3 |
13 |
93 |
2 |
| anchors_create |
|
4 |
20 |
133 |
1 |
| assembled_rrset_delete |
|
3 |
14 |
82 |
1 |
| anchors_delfunc |
|
4 |
22 |
126 |
2 |
| anchors_delete |
|
3 |
13 |
82 |
1 |
| anchors_init_parents_locked |
|
5 |
23 |
151 |
1 |
| init_parents |
|
1 |
6 |
30 |
1 |
| anchor_find |
|
4 |
21 |
140 |
5 |
| anchor_new_ta |
|
7 |
31 |
186 |
6 |
| anchor_find_key |
|
5 |
11 |
75 |
4 |
| anchor_new_ta_key |
|
3 |
15 |
97 |
3 |
| anchor_store_new_key |
|
9 |
40 |
242 |
6 |
| anchor_store_new_rr |
|
2 |
16 |
111 |
4 |
| anchor_insert_insecure |
|
2 |
14 |
78 |
2 |
| anchor_store_str |
|
3 |
20 |
129 |
3 |
| anchor_read_file |
|
14 |
55 |
329 |
4 |
| skip_to_eol |
|
3 |
8 |
34 |
1 |
| is_bind_special |
|
5 |
11 |
31 |
1 |
| readkeyword_bindfile |
|
26 |
67 |
393 |
4 |
| skip_to_special |
|
6 |
20 |
129 |
4 |
| process_bind_contents |
|
25 |
78 |
495 |
4 |
| anchor_read_bind_file |
|
8 |
38 |
239 |
3 |
| anchor_read_bind_file_wild |
|
17 |
48 |
296 |
3 |
| assemble_it |
|
9 |
63 |
459 |
3 |
| anchors_assemble |
|
5 |
15 |
82 |
1 |
| anchors_ds_unsupported |
|
4 |
10 |
61 |
1 |
| anchors_dnskey_unsupported |
|
3 |
9 |
51 |
1 |
| anchors_assemble_rrsets |
|
12 |
56 |
332 |
1 |
| anchors_apply_cfg |
|
44 |
110 |
819 |
2 |
| anchors_lookup |
|
7 |
35 |
215 |
4 |
| anchors_get_mem |
|
2 |
11 |
60 |
1 |
| anchors_add_insecure |
|
3 |
21 |
144 |
3 |
| anchors_delete_insecure |
|
6 |
26 |
194 |
3 |
| keytag_compare |
|
3 |
8 |
56 |
2 |
| anchor_list_keytags |
|
11 |
24 |
202 |
3 |
| Source file: ./usr.sbin/unbound/cachedb/cachedb.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| testframe_init |
|
2 |
16 |
103 |
2 |
| testframe_deinit |
|
2 |
13 |
74 |
2 |
| testframe_lookup |
|
4 |
25 |
161 |
4 |
| testframe_store |
|
3 |
30 |
194 |
5 |
| cachedb_find_backend |
|
2 |
6 |
29 |
1 |
| cachedb_apply_cfg |
|
3 |
12 |
63 |
2 |
| cachedb_init |
|
6 |
23 |
142 |
2 |
| cachedb_deinit |
|
4 |
12 |
82 |
2 |
| cachedb_new |
|
2 |
10 |
68 |
2 |
| error_response |
|
2 |
10 |
64 |
3 |
| calc_hash |
|
8 |
35 |
331 |
3 |
| prep_data |
|
6 |
34 |
284 |
2 |
| good_expiry_and_qinfo |
|
3 |
12 |
82 |
2 |
| packed_rrset_ttl_subtract |
|
4 |
13 |
92 |
2 |
| adjust_msg_ttl |
|
3 |
12 |
99 |
2 |
| parse_data |
|
8 |
49 |
384 |
2 |
| cachedb_extcache_lookup |
|
4 |
16 |
113 |
2 |
| cachedb_extcache_store |
|
2 |
10 |
92 |
2 |
| cachedb_intcache_lookup |
|
4 |
19 |
140 |
1 |
| cachedb_intcache_store |
|
2 |
8 |
55 |
1 |
| cachedb_handle_query |
|
10 |
36 |
214 |
4 |
| cachedb_handle_response |
|
3 |
10 |
65 |
4 |
| cachedb_operate |
|
16 |
40 |
289 |
4 |
| cachedb_inform_super |
|
1 |
5 |
33 |
3 |
| cachedb_clear |
|
3 |
10 |
53 |
2 |
| cachedb_get_mem |
|
2 |
7 |
44 |
2 |
| cachedb_get_funcblock |
|
1 |
4 |
10 |
1 |
| Source file: ./usr.sbin/unbound/smallapp/unbound-anchor.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usage |
|
1 |
33 |
164 |
1 |
| get_builtin_cert |
|
1 |
26 |
29 |
1 |
| get_builtin_ds |
|
1 |
6 |
10 |
1 |
| print_data |
|
2 |
9 |
61 |
3 |
| ub_ctx_error_exit |
|
5 |
7 |
55 |
3 |
| create_unbound_context |
|
15 |
33 |
249 |
5 |
| verb_cert |
|
6 |
13 |
88 |
2 |
| verb_certs |
|
4 |
9 |
76 |
2 |
| read_cert_bio |
|
8 |
23 |
120 |
1 |
| read_cert_file |
|
15 |
46 |
262 |
1 |
| read_builtin_cert |
|
7 |
24 |
133 |
1 |
| read_cert_or_builtin |
|
4 |
11 |
67 |
1 |
| do_list_builtin |
|
1 |
8 |
43 |
1 |
| verb_addr |
|
4 |
13 |
130 |
2 |
| ip_list_free |
|
2 |
9 |
35 |
1 |
| RR_to_ip |
|
8 |
34 |
285 |
4 |
| resolve_host_ip |
|
13 |
31 |
226 |
6 |
| parse_ip_addr |
|
7 |
31 |
243 |
2 |
| resolve_name |
|
6 |
25 |
155 |
7 |
| wipe_ip_usage |
|
2 |
7 |
27 |
1 |
| count_unused |
|
3 |
9 |
39 |
1 |
| pick_random_ip |
|
8 |
16 |
100 |
1 |
| fd_close |
|
1 |
5 |
17 |
1 |
| print_sock_err |
|
3 |
5 |
43 |
1 |
| connect_to_ip |
|
4 |
17 |
105 |
1 |
| setup_sslctx |
|
3 |
9 |
39 |
1 |
| TLS_initiate |
|
12 |
37 |
199 |
2 |
| TLS_shutdown |
|
2 |
9 |
46 |
3 |
| write_ssl_line |
|
7 |
24 |
172 |
3 |
| process_one_header |
|
8 |
17 |
137 |
3 |
| read_ssl_line |
|
13 |
32 |
182 |
3 |
| read_http_headers |
|
4 |
13 |
75 |
2 |
| read_data_chunk |
|
11 |
30 |
194 |
2 |
| parse_chunk_header |
|
2 |
9 |
51 |
2 |
| do_chunked_read |
|
18 |
54 |
328 |
1 |
| write_http_get |
|
5 |
11 |
64 |
3 |
| read_chunked_zero_terminate |
|
9 |
25 |
160 |
2 |
| read_http_result |
|
7 |
22 |
129 |
1 |
| https_to_ip |
|
6 |
31 |
161 |
3 |
| https |
|
6 |
19 |
119 |
3 |
| free_file_bio |
|
1 |
8 |
43 |
1 |
| xml_selectbio |
|
5 |
13 |
94 |
2 |
| xml_charhandle |
|
13 |
32 |
208 |
3 |
| find_att |
|
3 |
9 |
59 |
2 |
| xml_convertdate |
|
17 |
49 |
315 |
1 |
| handle_keydigest |
|
9 |
27 |
178 |
2 |
| xml_is_zone_name |
|
4 |
13 |
110 |
2 |
| xml_startelem |
|
10 |
31 |
213 |
3 |
| xml_append_str |
|
3 |
7 |
48 |
2 |
| xml_append_bio |
|
9 |
19 |
134 |
2 |
| xml_append_ds |
|
1 |
13 |
103 |
1 |
| xml_endelem |
|
7 |
17 |
123 |
2 |
| xml_entitydeclhandler |
|
2 |
12 |
86 |
9 |
| xml_parse_setup |
|
10 |
28 |
245 |
3 |
| xml_parse |
|
13 |
47 |
313 |
2 |
| get_usage_of_ex |
|
4 |
14 |
84 |
1 |
| get_valid_signers |
|
28 |
73 |
473 |
2 |
| verify_p7sig |
|
20 |
58 |
353 |
4 |
| write_unsigned_root |
|
8 |
26 |
141 |
1 |
| write_root_anchor |
|
11 |
26 |
182 |
2 |
| verify_and_update_anchor |
|
3 |
16 |
98 |
5 |
| do_wsa_cleanup |
|
1 |
1 |
10 |
1 |
| do_certupdate |
|
6 |
34 |
245 |
13 |
| try_read_anchor |
|
17 |
39 |
248 |
1 |
| write_builtin_anchor |
|
7 |
15 |
112 |
1 |
| provide_builtin |
|
4 |
16 |
53 |
2 |
| add_5011_probe_root |
|
3 |
10 |
58 |
2 |
| prime_root_key |
|
5 |
17 |
94 |
1 |
| read_if_pending_keys |
|
7 |
19 |
120 |
1 |
| read_last_success_time |
|
9 |
26 |
175 |
1 |
| probe_date_allows_certupdate |
|
10 |
28 |
146 |
1 |
| do_root_update_work |
|
12 |
33 |
236 |
13 |
| main |
|
25 |
83 |
371 |
2 |
| Source file: ./usr.sbin/unbound/validator/val_nsec.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rrset_get_ttl |
|
1 |
5 |
30 |
1 |
| nsecbitmap_has_type_rdata |
|
8 |
26 |
165 |
3 |
| nsec_has_type |
|
5 |
13 |
115 |
2 |
| nsec_get_next |
|
5 |
18 |
124 |
3 |
| val_nsec_proves_no_ds |
|
5 |
16 |
89 |
2 |
| nsec_verify_rrset |
|
4 |
18 |
127 |
5 |
| val_nsec_prove_nodata_dsreply |
|
21 |
68 |
441 |
7 |
| nsec_proves_nodata |
|
23 |
67 |
396 |
3 |
| val_nsec_proves_name_error |
|
14 |
33 |
194 |
2 |
| val_nsec_proves_insecuredelegation |
|
7 |
17 |
93 |
2 |
| nsec_closest_encloser |
|
3 |
13 |
84 |
2 |
| val_nsec_proves_positive_wildcard |
|
4 |
14 |
75 |
3 |
| val_nsec_proves_no_wc |
|
5 |
27 |
157 |
3 |
| dlv_topdomain |
|
1 |
8 |
61 |
4 |
| val_nsec_check_dlv |
|
14 |
49 |
340 |
4 |
| Source file: ./usr.sbin/unbound/validator/val_secalgo.h |
| Source file: ./usr.sbin/unbound/validator/val_nsec3.h |
| Source file: ./usr.sbin/unbound/sldns/wire2str.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sldns_wire2str_pkt |
|
2 |
8 |
67 |
2 |
| sldns_wire2str_rr |
|
2 |
8 |
67 |
2 |
| sldns_wire2str_type |
|
1 |
6 |
31 |
1 |
| sldns_wire2str_class |
|
1 |
6 |
31 |
1 |
| sldns_wire2str_dname |
|
2 |
8 |
67 |
2 |
| sldns_wire2str_rcode |
|
1 |
6 |
31 |
1 |
| sldns_wire2str_pkt_buf |
|
1 |
4 |
34 |
4 |
| sldns_wire2str_rr_buf |
|
1 |
4 |
38 |
4 |
| sldns_wire2str_rdata_buf |
|
1 |
6 |
43 |
5 |
| sldns_wire2str_rr_unknown_buf |
|
1 |
4 |
38 |
4 |
| sldns_wire2str_rr_comment_buf |
|
1 |
7 |
51 |
5 |
| sldns_wire2str_type_buf |
|
1 |
4 |
26 |
3 |
| sldns_wire2str_class_buf |
|
1 |
4 |
26 |
3 |
| sldns_wire2str_rcode_buf |
|
1 |
4 |
26 |
3 |
| sldns_wire2str_opcode_buf |
|
1 |
4 |
26 |
3 |
| sldns_wire2str_dname_buf |
|
1 |
4 |
38 |
4 |
| sldns_str_vprint |
|
3 |
14 |
86 |
4 |
| sldns_str_print |
|
1 |
9 |
53 |
4 |
| print_hex_buf |
|
2 |
10 |
89 |
4 |
| print_remainder_hex |
|
1 |
10 |
72 |
5 |
| sldns_wire2str_pkt_scan |
|
11 |
48 |
430 |
4 |
| sldns_rr_tcttl_scan |
|
4 |
32 |
266 |
4 |
| sldns_wire2str_rr_scan |
|
11 |
59 |
533 |
6 |
| sldns_wire2str_rrquestion_scan |
|
3 |
23 |
201 |
6 |
| sldns_wire2str_rr_unknown_scan |
|
5 |
32 |
280 |
6 |
| rr_comment_dnskey |
|
6 |
28 |
232 |
5 |
| rr_comment_rrsig |
|
4 |
13 |
101 |
5 |
| rr_comment_nsec3 |
|
5 |
15 |
111 |
5 |
| sldns_wire2str_rr_comment_print |
|
4 |
12 |
96 |
6 |
| sldns_wire2str_header_scan |
|
12 |
39 |
481 |
4 |
| sldns_wire2str_rdata_scan |
|
8 |
38 |
249 |
7 |
| sldns_wire2str_rdata_unknown_scan |
|
2 |
12 |
93 |
4 |
| dname_char_print |
|
9 |
13 |
118 |
3 |
| sldns_wire2str_dname_scan |
|
25 |
60 |
485 |
6 |
| sldns_wire2str_opcode_print |
|
3 |
8 |
65 |
3 |
| sldns_wire2str_rcode_print |
|
3 |
8 |
65 |
3 |
| sldns_wire2str_class_print |
|
3 |
9 |
68 |
3 |
| sldns_wire2str_type_print |
|
3 |
8 |
64 |
3 |
| sldns_wire2str_edns_option_code_print |
|
3 |
10 |
68 |
3 |
| sldns_wire2str_class_scan |
|
3 |
10 |
86 |
4 |
| sldns_wire2str_type_scan |
|
3 |
10 |
86 |
4 |
| sldns_wire2str_ttl_scan |
|
3 |
10 |
91 |
4 |
| sldns_wire2str_rdf_scan |
|
39 |
82 |
592 |
7 |
| sldns_wire2str_int8_scan |
|
2 |
9 |
66 |
4 |
| sldns_wire2str_int16_scan |
|
2 |
9 |
72 |
4 |
| sldns_wire2str_int32_scan |
|
2 |
9 |
72 |
4 |
| sldns_wire2str_period_scan |
|
2 |
9 |
71 |
4 |
| sldns_wire2str_tsigtime_scan |
|
2 |
19 |
202 |
4 |
| sldns_wire2str_a_scan |
|
3 |
12 |
95 |
4 |
| sldns_wire2str_aaaa_scan |
|
4 |
13 |
99 |
4 |
| str_char_print |
|
6 |
14 |
99 |
3 |
| sldns_wire2str_str_scan |
|
4 |
17 |
140 |
4 |
| sldns_wire2str_apl_scan |
|
15 |
38 |
363 |
4 |
| sldns_wire2str_b32_ext_scan |
|
4 |
20 |
162 |
4 |
| sldns_wire2str_b64_scan_num |
|
2 |
16 |
112 |
5 |
| sldns_wire2str_b64_scan |
|
2 |
7 |
54 |
4 |
| sldns_wire2str_hex_scan |
|
2 |
7 |
53 |
4 |
| sldns_wire2str_nsec_scan |
|
12 |
40 |
295 |
4 |
| sldns_wire2str_nsec3_salt_scan |
|
4 |
17 |
124 |
4 |
| sldns_wire2str_cert_alg_scan |
|
4 |
14 |
114 |
4 |
| sldns_wire2str_alg_scan |
|
1 |
4 |
32 |
4 |
| sldns_wire2str_unknown_scan |
|
1 |
4 |
32 |
4 |
| sldns_wire2str_time_scan |
|
4 |
17 |
131 |
4 |
| loc_cm_print |
|
4 |
14 |
104 |
4 |
| sldns_wire2str_loc_scan |
|
6 |
73 |
566 |
4 |
| sldns_wire2str_wks_scan |
|
15 |
49 |
368 |
4 |
| sldns_wire2str_nsap_scan |
|
1 |
4 |
34 |
4 |
| sldns_wire2str_atma_scan |
|
1 |
4 |
34 |
4 |
| sldns_wire2str_ipseckey_scan_internal |
|
8 |
37 |
257 |
6 |
| sldns_wire2str_ipseckey_scan |
|
2 |
16 |
106 |
6 |
| sldns_wire2str_hip_scan |
|
3 |
20 |
181 |
4 |
| sldns_wire2str_int16_data_scan |
|
4 |
18 |
127 |
4 |
| sldns_wire2str_nsec3_next_owner_scan |
|
1 |
5 |
32 |
4 |
| sldns_wire2str_ilnp64_scan |
|
2 |
12 |
98 |
4 |
| sldns_wire2str_eui48_scan |
|
2 |
11 |
110 |
4 |
| sldns_wire2str_eui64_scan |
|
2 |
12 |
126 |
4 |
| sldns_wire2str_tag_scan |
|
6 |
18 |
166 |
4 |
| sldns_wire2str_long_str_scan |
|
2 |
12 |
99 |
4 |
| sldns_wire2str_tsigerror_scan |
|
4 |
14 |
114 |
4 |
| sldns_wire2str_edns_llq_print |
|
4 |
35 |
318 |
4 |
| sldns_wire2str_edns_ul_print |
|
2 |
14 |
89 |
4 |
| sldns_wire2str_edns_nsid_print |
|
6 |
19 |
141 |
4 |
| sldns_wire2str_edns_dau_print |
|
4 |
14 |
107 |
4 |
| sldns_wire2str_edns_dhu_print |
|
4 |
14 |
107 |
4 |
| sldns_wire2str_edns_n3u_print |
|
3 |
12 |
85 |
4 |
| sldns_wire2str_edns_subnet_print |
|
9 |
57 |
514 |
4 |
| sldns_wire2str_edns_keepalive_print |
|
4 |
18 |
117 |
4 |
| sldns_wire2str_edns_option_print |
|
10 |
40 |
237 |
5 |
| print_edns_opts |
|
4 |
30 |
193 |
4 |
| sldns_wire2str_edns_scan |
|
10 |
52 |
408 |
6 |
| Source file: ./usr.sbin/unbound/validator/validator.h |
| Source file: ./usr.sbin/unbound/validator/val_kentry.h |
| Source file: ./usr.sbin/unbound/validator/val_nsec.h |
| Source file: ./usr.sbin/unbound/validator/autotrust.h |
| Source file: ./usr.sbin/unbound/validator/val_nsec3.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rrset_get_count |
|
2 |
7 |
38 |
1 |
| nsec3_unknown_flags |
|
3 |
9 |
78 |
2 |
| nsec3_has_optout |
|
3 |
9 |
78 |
2 |
| nsec3_get_algo |
|
3 |
9 |
76 |
2 |
| nsec3_known_algo |
|
4 |
13 |
83 |
2 |
| nsec3_get_iter |
|
3 |
12 |
96 |
2 |
| nsec3_get_salt |
|
4 |
20 |
147 |
4 |
| nsec3_get_params |
|
4 |
11 |
88 |
6 |
| nsec3_get_nextowner |
|
5 |
27 |
206 |
4 |
| nsec3_hash_to_b32 |
|
4 |
16 |
114 |
6 |
| nsec3_get_nextowner_b32 |
|
2 |
12 |
91 |
4 |
| nsec3_has_type |
|
5 |
20 |
172 |
3 |
| filter_next |
|
10 |
32 |
240 |
3 |
| filter_first |
|
1 |
6 |
38 |
3 |
| nsec3_rrset_has_known |
|
4 |
9 |
56 |
1 |
| filter_init |
|
11 |
31 |
227 |
4 |
| get_max_iter |
|
3 |
10 |
72 |
2 |
| nsec3_iteration_count_high |
|
3 |
17 |
114 |
3 |
| nsec3_hash_cmp |
|
8 |
32 |
258 |
2 |
| nsec3_get_hashed |
|
6 |
31 |
222 |
9 |
| nsec3_calc_hash |
|
5 |
35 |
290 |
3 |
| nsec3_calc_b32 |
|
3 |
18 |
111 |
3 |
| nsec3_hash_name |
|
7 |
38 |
241 |
8 |
| label_compare_lower |
|
4 |
14 |
95 |
3 |
| nsec3_hash_matches_owner |
|
5 |
11 |
95 |
3 |
| find_matching_nsec3 |
|
5 |
28 |
175 |
7 |
| nsec3_covers |
|
15 |
32 |
277 |
5 |
| find_covering_nsec3 |
|
5 |
29 |
183 |
7 |
| nsec3_find_closest_encloser |
|
3 |
16 |
110 |
5 |
| next_closer |
|
2 |
9 |
63 |
5 |
| nsec3_prove_closest_encloser |
|
9 |
46 |
294 |
6 |
| nsec3_ce_wildcard |
|
3 |
17 |
103 |
4 |
| nsec3_do_prove_nameerror |
|
7 |
33 |
210 |
4 |
| nsec3_prove_nameerror |
|
7 |
18 |
135 |
6 |
| nsec3_do_prove_nodata |
|
30 |
97 |
587 |
4 |
| nsec3_prove_nodata |
|
7 |
16 |
120 |
6 |
| nsec3_prove_wildcard |
|
10 |
35 |
254 |
7 |
| list_is_secure |
|
6 |
25 |
185 |
6 |
| nsec3_prove_nods |
|
16 |
64 |
385 |
7 |
| nsec3_prove_nxornodata |
|
11 |
29 |
203 |
7 |
| Source file: ./usr.sbin/unbound/validator/autotrust.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| autr_global_create |
|
2 |
9 |
49 |
1 |
| autr_global_delete |
|
2 |
7 |
34 |
1 |
| probetree_cmp |
|
4 |
11 |
92 |
2 |
| autr_get_num_anchors |
|
3 |
11 |
57 |
1 |
| position_in_string |
|
2 |
7 |
50 |
2 |
| verbose_key |
|
3 |
18 |
139 |
4 |
| parse_comments |
|
20 |
83 |
399 |
2 |
| str_contains_data |
|
6 |
11 |
56 |
2 |
| dnskey_flags |
|
3 |
11 |
58 |
3 |
| rr_is_dnskey_sep |
|
1 |
4 |
28 |
3 |
| ta_is_dnskey_sep |
|
1 |
8 |
62 |
1 |
| rr_is_dnskey_revoked |
|
1 |
4 |
28 |
3 |
| autr_ta_create |
|
2 |
12 |
71 |
3 |
| autr_tp_create |
|
6 |
45 |
347 |
4 |
| autr_rrset_delete |
|
2 |
8 |
38 |
1 |
| autr_point_delete |
|
4 |
23 |
138 |
1 |
| find_add_tp |
|
4 |
21 |
122 |
4 |
| add_trustanchor_frm_rr |
|
3 |
17 |
121 |
5 |
| add_trustanchor_frm_str |
|
7 |
39 |
244 |
8 |
| load_trustanchor |
|
5 |
26 |
172 |
8 |
| assemble_iterate_ds |
|
3 |
16 |
114 |
4 |
| assemble_iterate_dnskey |
|
5 |
18 |
134 |
4 |
| assemble_iterate_hasfirst |
|
1 |
7 |
57 |
2 |
| assemble_iterate_count |
|
2 |
10 |
70 |
2 |
| ub_packed_rrset_heap_key |
|
4 |
21 |
172 |
2 |
| packed_rrset_heap_data |
|
12 |
64 |
519 |
2 |
| autr_assemble |
|
7 |
37 |
224 |
1 |
| parse_int |
|
2 |
11 |
59 |
2 |
| parse_id |
|
4 |
23 |
125 |
2 |
| parse_var_line |
|
17 |
52 |
520 |
3 |
| handle_origin |
|
5 |
17 |
107 |
3 |
| read_multiline |
|
14 |
49 |
287 |
4 |
| autr_read_file |
|
15 |
70 |
425 |
2 |
| trustanchor_state2str |
|
7 |
12 |
52 |
1 |
| print_id |
|
3 |
15 |
98 |
5 |
| autr_write_contents |
|
19 |
67 |
509 |
3 |
| autr_write_file |
|
11 |
42 |
296 |
2 |
| verify_dnskey |
|
2 |
12 |
94 |
4 |
| rrsig_get_expiry |
|
2 |
6 |
34 |
2 |
| min_expiry |
|
4 |
14 |
115 |
2 |
| rr_is_selfsigned_revoked |
|
1 |
11 |
69 |
4 |
| seen_trustanchor |
|
2 |
6 |
31 |
2 |
| seen_revoked_trustanchor |
|
1 |
4 |
18 |
2 |
| revoke_dnskey |
|
5 |
17 |
111 |
2 |
| dnskey_compare_skip_revbit |
|
6 |
19 |
104 |
4 |
| ta_compare |
|
7 |
22 |
188 |
4 |
| find_key |
|
5 |
17 |
100 |
5 |
| add_key |
|
3 |
27 |
219 |
4 |
| key_ttl |
|
1 |
5 |
30 |
1 |
| set_tp_times |
|
11 |
34 |
260 |
4 |
| init_events |
|
2 |
7 |
40 |
1 |
| check_contains_revoked |
|
9 |
41 |
342 |
5 |
| key_matches_a_ds |
|
8 |
31 |
187 |
5 |
| update_events |
|
11 |
47 |
371 |
5 |
| check_holddown |
|
3 |
16 |
99 |
3 |
| reset_holddown |
|
1 |
5 |
32 |
3 |
| set_trustanchor_state |
|
1 |
8 |
57 |
4 |
| do_newkey |
|
2 |
5 |
37 |
3 |
| do_addtime |
|
4 |
16 |
110 |
3 |
| do_remtime |
|
3 |
9 |
74 |
3 |
| do_keyrem |
|
3 |
8 |
65 |
3 |
| do_keypres |
|
2 |
5 |
37 |
3 |
| do_revoked |
|
3 |
9 |
70 |
3 |
| anchor_state_update |
|
15 |
39 |
220 |
3 |
| init_zsk_to_ksk |
|
10 |
27 |
164 |
3 |
| remove_missing_trustanchors |
|
14 |
43 |
250 |
3 |
| do_statetable |
|
3 |
11 |
74 |
3 |
| autr_holddown_exceed |
|
4 |
9 |
65 |
3 |
| autr_cleanup_keys |
|
6 |
22 |
132 |
1 |
| calc_next_probe |
|
4 |
14 |
92 |
2 |
| wait_probe_time |
|
2 |
7 |
48 |
1 |
| reset_worker_timer |
|
3 |
13 |
100 |
1 |
| set_next_probe |
|
3 |
34 |
282 |
3 |
| autr_tp_remove |
|
3 |
37 |
286 |
3 |
| autr_process_prime |
|
19 |
77 |
462 |
4 |
| autr_debug_print_ta |
|
7 |
16 |
139 |
1 |
| autr_debug_print_tp |
|
8 |
34 |
328 |
1 |
| autr_debug_print |
|
1 |
11 |
65 |
1 |
| probe_answer_cb |
|
1 |
8 |
59 |
5 |
| probe_anchor |
|
4 |
36 |
276 |
2 |
| todo_probe |
|
3 |
24 |
216 |
2 |
| autr_probe_timer |
|
4 |
17 |
93 |
1 |
| Source file: ./usr.sbin/unbound/validator/val_kcache.h |
| Source file: ./usr.sbin/unbound/validator/val_anchor.h |
| Source file: ./usr.sbin/unbound/validator/val_neg.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| val_neg_data_compare |
|
1 |
7 |
64 |
2 |
| val_neg_zone_compare |
|
3 |
12 |
93 |
2 |
| val_neg_create |
|
3 |
16 |
112 |
2 |
| val_neg_get_mem |
|
1 |
8 |
43 |
1 |
| neg_clear_datas |
|
1 |
6 |
39 |
2 |
| neg_clear_zones |
|
1 |
8 |
59 |
2 |
| neg_cache_delete |
|
2 |
7 |
42 |
1 |
| neg_lru_front |
|
2 |
10 |
56 |
2 |
| neg_lru_remove |
|
3 |
10 |
64 |
2 |
| neg_lru_touch |
|
2 |
8 |
38 |
2 |
| neg_delete_zone |
|
5 |
24 |
156 |
2 |
| neg_delete_data |
|
6 |
29 |
186 |
2 |
| neg_make_space |
|
3 |
6 |
39 |
2 |
| neg_find_zone |
|
1 |
14 |
90 |
4 |
| neg_find_data |
|
1 |
13 |
79 |
4 |
| calc_data_need |
|
4 |
18 |
140 |
1 |
| calc_zone_need |
|
2 |
10 |
61 |
2 |
| neg_closest_zone_parent |
|
6 |
28 |
176 |
5 |
| neg_closest_data_parent |
|
5 |
27 |
161 |
4 |
| neg_setup_zone_node |
|
3 |
20 |
116 |
4 |
| neg_zone_chain |
|
6 |
29 |
164 |
5 |
| val_neg_zone_take_inuse |
|
3 |
10 |
50 |
1 |
| neg_create_zone |
|
7 |
26 |
180 |
4 |
| reply_find_soa |
|
3 |
9 |
64 |
1 |
| reply_has_nsec |
|
5 |
16 |
103 |
1 |
| neg_setup_data_node |
|
3 |
18 |
98 |
3 |
| neg_data_chain |
|
6 |
28 |
159 |
4 |
| wipeout |
|
15 |
47 |
342 |
4 |
| neg_insert_data |
|
21 |
79 |
551 |
3 |
| val_neg_addreply |
|
9 |
39 |
311 |
2 |
| neg_closest_data |
|
2 |
17 |
106 |
5 |
| val_neg_dlvlookup |
|
16 |
78 |
526 |
6 |
| reply_nsec_signer |
|
7 |
24 |
163 |
3 |
| val_neg_addreferral |
|
10 |
42 |
297 |
3 |
| nsec3_no_type |
|
3 |
9 |
66 |
2 |
| grab_nsec |
|
11 |
31 |
227 |
10 |
| neg_find_nsec3_ce |
|
6 |
27 |
199 |
7 |
| neg_params_ok |
|
5 |
11 |
85 |
2 |
| neg_nsec3_getnc |
|
9 |
26 |
207 |
8 |
| neg_nsec3_proof_ds |
|
19 |
62 |
442 |
9 |
| add_soa |
|
5 |
27 |
163 |
5 |
| val_neg_getmsg |
|
17 |
52 |
385 |
8 |
| Source file: ./usr.sbin/unbound/validator/val_kentry.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| key_entry_sizefunc |
|
4 |
14 |
123 |
2 |
| key_entry_compfunc |
|
3 |
11 |
77 |
2 |
| key_entry_delkeyfunc |
|
2 |
9 |
56 |
2 |
| key_entry_deldatafunc |
|
1 |
8 |
53 |
2 |
| key_entry_hash |
|
1 |
7 |
63 |
1 |
| key_entry_copy_toregion |
|
11 |
40 |
257 |
2 |
| key_entry_copy |
|
12 |
61 |
357 |
1 |
| key_entry_isnull |
|
2 |
5 |
39 |
1 |
| key_entry_isgood |
|
2 |
5 |
39 |
1 |
| key_entry_isbad |
|
1 |
5 |
35 |
1 |
| key_entry_set_reason |
|
1 |
5 |
35 |
2 |
| key_entry_get_reason |
|
1 |
5 |
30 |
1 |
| key_entry_setup |
|
4 |
20 |
163 |
6 |
| key_entry_create_null |
|
2 |
16 |
99 |
6 |
| key_entry_create_rrset |
|
5 |
26 |
198 |
7 |
| key_entry_create_bad |
|
2 |
16 |
99 |
6 |
| key_entry_get_rrset |
|
6 |
26 |
204 |
2 |
| dnskey_get_keysize |
|
2 |
12 |
103 |
2 |
| kd_get_flags |
|
2 |
9 |
58 |
2 |
| key_entry_keysize |
|
6 |
16 |
110 |
1 |
| Source file: ./usr.sbin/unbound/validator/val_utils.h |
| Source file: ./usr.sbin/unbound/validator/val_neg.h |
| Source file: ./usr.sbin/unbound/validator/val_kcache.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| key_cache_create |
|
3 |
22 |
120 |
1 |
| key_cache_delete |
|
2 |
7 |
28 |
1 |
| key_cache_insert |
|
5 |
14 |
100 |
3 |
| key_cache_search |
|
2 |
15 |
102 |
5 |
| key_cache_obtain |
|
5 |
23 |
139 |
6 |
| key_cache_get_mem |
|
1 |
4 |
23 |
1 |
| key_cache_remove |
|
1 |
11 |
72 |
4 |
| Source file: ./usr.sbin/unbound/dns64/dns64.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| reverse |
|
2 |
7 |
35 |
2 |
| uitoa |
|
2 |
9 |
49 |
2 |
| extract_ipv4 |
|
2 |
10 |
146 |
2 |
| ipv4_to_ptr |
|
2 |
13 |
99 |
2 |
| ptr_to_ipv6 |
|
9 |
20 |
171 |
2 |
| synthesize_aaaa |
|
2 |
14 |
230 |
4 |
| dns64_apply_cfg |
|
6 |
20 |
132 |
2 |
| dns64_init |
|
3 |
15 |
86 |
2 |
| dns64_deinit |
|
2 |
7 |
38 |
2 |
| handle_ipv6_ptr |
|
6 |
31 |
268 |
2 |
| generate_type_A_query |
|
3 |
21 |
128 |
2 |
| handle_event_pass |
|
9 |
16 |
135 |
2 |
| handle_event_moddone |
|
7 |
12 |
80 |
2 |
| dns64_operate |
|
4 |
22 |
135 |
4 |
| dns64_synth_aaaa_data |
|
9 |
63 |
518 |
6 |
| dns64_adjust_a |
|
11 |
58 |
489 |
3 |
| dns64_adjust_ptr |
|
2 |
15 |
131 |
2 |
| dns64_inform_super |
|
8 |
24 |
176 |
3 |
| dns64_clear |
|
1 |
4 |
21 |
2 |
| dns64_get_mem |
|
2 |
7 |
44 |
2 |
| dns64_get_funcblock |
|
1 |
4 |
10 |
1 |
| Source file: ./usr.sbin/unbound/dns64/dns64.h |
| Source file: ./usr.sbin/unbound/validator/val_utils.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| val_classify_response |
|
29 |
45 |
369 |
5 |
| rrsig_get_signer |
|
3 |
16 |
77 |
4 |
| val_find_rrset_signer |
|
2 |
13 |
80 |
3 |
| val_find_best_signer |
|
5 |
25 |
169 |
5 |
| val_find_signer |
|
26 |
87 |
568 |
6 |
| rrset_get_count |
|
2 |
7 |
38 |
1 |
| rrset_get_ttl |
|
2 |
7 |
38 |
1 |
| val_verify_rrset |
|
7 |
42 |
341 |
6 |
| val_verify_rrset_entry |
|
1 |
17 |
148 |
5 |
| verify_dnskeys_with_ds_rr |
|
9 |
40 |
244 |
6 |
| val_favorite_ds_algo |
|
5 |
15 |
85 |
1 |
| val_verify_DNSKEY_with_DS |
|
16 |
55 |
342 |
6 |
| val_verify_new_DNSKEYs |
|
5 |
22 |
195 |
7 |
| val_verify_DNSKEY_with_TA |
|
31 |
88 |
561 |
7 |
| val_verify_new_DNSKEYs_with_ta |
|
5 |
25 |
202 |
8 |
| val_dsset_isusable |
|
10 |
34 |
253 |
1 |
| rrsig_get_labcount |
|
2 |
6 |
41 |
2 |
| val_rrset_wildcard |
|
6 |
31 |
185 |
2 |
| val_chase_cname |
|
5 |
18 |
130 |
3 |
| rrset_has_signer |
|
5 |
17 |
133 |
3 |
| val_fill_reply |
|
18 |
57 |
495 |
6 |
| val_reply_remove_auth |
|
1 |
11 |
87 |
2 |
| val_check_nonsecure |
|
8 |
44 |
328 |
2 |
| check_no_anchor |
|
2 |
8 |
55 |
4 |
| val_mark_indeterminate |
|
4 |
17 |
141 |
4 |
| val_mark_insecure |
|
4 |
14 |
115 |
4 |
| val_next_unchecked |
|
3 |
12 |
75 |
2 |
| val_classification_to_string |
|
10 |
16 |
73 |
1 |
| sock_list_logentry |
|
2 |
6 |
50 |
3 |
| val_blacklist |
|
8 |
19 |
141 |
4 |
| val_has_signed_nsecs |
|
9 |
22 |
167 |
2 |
| val_find_DS |
|
4 |
31 |
224 |
6 |
| Source file: ./usr.sbin/unbound/validator/val_secalgo.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| nsec3_hash_algo_size_supported |
|
2 |
9 |
24 |
1 |
| secalgo_nsec3_hash |
|
2 |
11 |
49 |
4 |
| secalgo_hash_sha256 |
|
1 |
4 |
29 |
3 |
| ds_digest_size_supported |
|
11 |
20 |
72 |
1 |
| do_gost94 |
|
2 |
7 |
51 |
3 |
| secalgo_ds_digest |
|
10 |
24 |
115 |
4 |
| dnskey_algo_id_is_supported |
|
23 |
27 |
90 |
1 |
| log_crypto_error |
|
1 |
6 |
40 |
2 |
| setup_dsa_sig |
|
8 |
31 |
206 |
2 |
| setup_ecdsa_sig |
|
12 |
47 |
414 |
2 |
| ecdsa_evp_workaround_init |
|
1 |
9 |
58 |
1 |
| setup_key_digest |
|
43 |
127 |
573 |
5 |
| verify_canonrrset |
|
43 |
99 |
659 |
7 |
| nsec3_hash_algo_size_supported |
|
2 |
9 |
24 |
1 |
| secalgo_nsec3_hash |
|
2 |
11 |
55 |
4 |
| secalgo_hash_sha256 |
|
1 |
4 |
35 |
3 |
| ds_digest_size_supported |
|
8 |
14 |
41 |
1 |
| secalgo_ds_digest |
|
8 |
21 |
96 |
4 |
| dnskey_algo_id_is_supported |
|
17 |
20 |
60 |
1 |
| nss_key_create |
|
3 |
20 |
93 |
1 |
| nss_buf2ecdsa |
|
9 |
42 |
318 |
3 |
| nss_buf2dsa |
|
9 |
53 |
351 |
2 |
| nss_buf2rsa |
|
8 |
40 |
245 |
2 |
| nss_setup_key_digest |
|
27 |
87 |
526 |
7 |
| verify_canonrrset |
|
15 |
85 |
522 |
7 |
| _digest_nettle |
|
5 |
41 |
184 |
4 |
| nsec3_hash_algo_size_supported |
|
2 |
9 |
24 |
1 |
| secalgo_nsec3_hash |
|
2 |
11 |
50 |
4 |
| secalgo_hash_sha256 |
|
1 |
4 |
32 |
3 |
| ds_digest_size_supported |
|
9 |
17 |
51 |
1 |
| secalgo_ds_digest |
|
8 |
18 |
90 |
4 |
| dnskey_algo_id_is_supported |
|
17 |
20 |
57 |
1 |
| _verify_nettle_dsa |
|
16 |
69 |
486 |
5 |
| _verify_nettle_rsa |
|
10 |
68 |
414 |
6 |
| _verify_nettle_ecdsa |
|
6 |
55 |
385 |
6 |
| _verify_nettle_ed25519 |
|
4 |
17 |
92 |
5 |
| verify_canonrrset |
|
28 |
54 |
286 |
7 |
| Source file: ./usr.sbin/unbound/dnstap/dnstap.h |
| Source file: ./usr.sbin/unbound/dnstap/dnstap.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dt_pack |
|
3 |
17 |
117 |
3 |
| dt_send |
|
3 |
10 |
59 |
3 |
| dt_msg_init |
|
3 |
21 |
178 |
3 |
| dt_create |
|
5 |
39 |
228 |
2 |
| dt_apply_identity |
|
6 |
22 |
147 |
2 |
| dt_apply_version |
|
5 |
15 |
107 |
2 |
| dt_apply_cfg |
|
8 |
37 |
187 |
2 |
| dt_init |
|
2 |
7 |
34 |
1 |
| dt_delete |
|
2 |
10 |
50 |
1 |
| dt_fill_timeval |
|
1 |
9 |
52 |
5 |
| dt_fill_buffer |
|
1 |
7 |
46 |
3 |
| dt_msg_fill_net |
|
7 |
35 |
263 |
7 |
| dt_msg_send_client_query |
|
3 |
20 |
183 |
4 |
| dt_msg_send_client_response |
|
3 |
20 |
183 |
4 |
| dt_msg_send_outside_query |
|
6 |
34 |
269 |
6 |
| dt_msg_send_outside_response |
|
6 |
40 |
329 |
10 |
| Source file: ./usr.sbin/unbound/validator/val_sigcrypt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rrset_get_count |
|
2 |
7 |
38 |
1 |
| rrset_get_sigcount |
|
1 |
5 |
30 |
1 |
| rrset_get_sig_keytag |
|
2 |
10 |
89 |
2 |
| rrset_get_sig_algo |
|
2 |
8 |
77 |
2 |
| rrset_get_rdata |
|
2 |
8 |
73 |
4 |
| dnskey_get_flags |
|
2 |
12 |
68 |
2 |
| dnskey_get_protocol |
|
2 |
9 |
54 |
2 |
| dnskey_get_algo |
|
2 |
9 |
54 |
2 |
| dnskey_get_pubkey |
|
2 |
14 |
90 |
4 |
| ds_get_key_algo |
|
2 |
9 |
54 |
2 |
| ds_get_digest_algo |
|
2 |
9 |
54 |
2 |
| ds_get_keytag |
|
2 |
11 |
64 |
2 |
| ds_get_sigdata |
|
2 |
14 |
80 |
4 |
| ds_digest_size_algo |
|
1 |
4 |
23 |
2 |
| ds_create_dnskey_digest |
|
1 |
19 |
138 |
6 |
| ds_digest_match_dnskey |
|
9 |
37 |
202 |
5 |
| ds_digest_algo_is_supported |
|
1 |
5 |
24 |
2 |
| ds_key_algo_is_supported |
|
1 |
5 |
23 |
2 |
| dnskey_calc_keytag |
|
1 |
7 |
44 |
2 |
| dnskey_algo_is_supported |
|
1 |
6 |
23 |
2 |
| algo_needs_init_dnskey_add |
|
4 |
19 |
123 |
3 |
| algo_needs_init_list |
|
2 |
13 |
92 |
2 |
| algo_needs_init_ds |
|
5 |
23 |
160 |
4 |
| algo_needs_set_secure |
|
3 |
10 |
51 |
2 |
| algo_needs_set_bogus |
|
2 |
4 |
30 |
2 |
| algo_needs_num_missing |
|
1 |
4 |
14 |
1 |
| algo_needs_missing |
|
5 |
11 |
69 |
1 |
| dnskeyset_verify_rrset |
|
11 |
49 |
291 |
6 |
| algo_needs_reason |
|
4 |
12 |
106 |
4 |
| dnskey_verify_rrset |
|
7 |
33 |
215 |
6 |
| dnskeyset_verify_rrset_sig |
|
7 |
34 |
226 |
8 |
| canonical_compare_byfield |
|
39 |
99 |
627 |
4 |
| canonical_compare |
|
32 |
59 |
362 |
3 |
| canonical_tree_compare |
|
1 |
7 |
65 |
2 |
| canonical_sort |
|
3 |
12 |
94 |
4 |
| insert_can_owner |
|
4 |
26 |
196 |
5 |
| canonicalize_rdata |
|
34 |
81 |
409 |
3 |
| rrset_canonical_equal |
|
19 |
55 |
531 |
3 |
| rrset_canonical |
|
7 |
48 |
355 |
6 |
| sigdate_error |
|
8 |
22 |
192 |
4 |
| check_dates |
|
12 |
50 |
340 |
5 |
| adjust_ttl |
|
8 |
33 |
238 |
6 |
| dnskey_verify_rrset_sig |
|
17 |
105 |
715 |
11 |
| Source file: ./usr.sbin/unbound/util/data/packed_rrset.h |
| Source file: ./usr.sbin/unbound/util/data/packed_rrset.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ub_packed_rrset_parsedelete |
|
2 |
12 |
68 |
2 |
| ub_rrset_sizefunc |
|
1 |
8 |
71 |
2 |
| packed_rrset_sizeof |
|
2 |
13 |
117 |
1 |
| ub_rrset_compare |
|
11 |
31 |
225 |
2 |
| ub_rrset_key_delete |
|
1 |
9 |
66 |
2 |
| rrset_data_delete |
|
1 |
5 |
32 |
2 |
| rrsetdata_equal |
|
6 |
15 |
119 |
2 |
| rrset_key_hash |
|
1 |
10 |
87 |
1 |
| packed_rrset_ptr_fixup |
|
2 |
15 |
134 |
1 |
| get_cname_target |
|
7 |
21 |
160 |
3 |
| packed_rrset_ttl_add |
|
2 |
8 |
54 |
2 |
| rrset_trust_to_string |
|
14 |
19 |
95 |
1 |
| sec_status_to_string |
|
6 |
11 |
47 |
1 |
| log_rrset_key |
|
2 |
7 |
55 |
3 |
| packed_rr_to_string |
|
5 |
27 |
276 |
5 |
| log_packed_rrset |
|
4 |
17 |
117 |
3 |
| ub_packed_rrset_ttl |
|
1 |
6 |
30 |
1 |
| packed_rrset_copy_region |
|
7 |
36 |
274 |
3 |
| packed_rrset_copy_alloc |
|
4 |
25 |
192 |
3 |
| Source file: ./usr.sbin/unbound/util/data/msgparse.h |
| Source file: ./usr.sbin/unbound/util/data/msgencode.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| compress_tree_search |
|
4 |
30 |
172 |
6 |
| compress_tree_lookup |
|
6 |
17 |
93 |
4 |
| compress_tree_newnode |
|
2 |
14 |
87 |
4 |
| compress_tree_store |
|
7 |
34 |
172 |
6 |
| write_compressed_dname |
|
6 |
26 |
146 |
4 |
| compress_owner |
|
12 |
40 |
288 |
7 |
| compress_any_dname |
|
5 |
17 |
122 |
5 |
| type_rdata_compressable |
|
3 |
8 |
46 |
1 |
| compress_rdata |
|
10 |
45 |
260 |
6 |
| rrset_belongs_in_reply |
|
14 |
23 |
83 |
4 |
| packed_rrset_encode |
|
22 |
76 |
588 |
12 |
| insert_section |
|
11 |
45 |
316 |
12 |
| insert_query |
|
6 |
20 |
164 |
4 |
| positive_answer |
|
7 |
19 |
132 |
2 |
| reply_info_encode |
|
20 |
94 |
664 |
9 |
| calc_edns_field_size |
|
4 |
11 |
71 |
1 |
| attach_edns_record |
|
6 |
31 |
219 |
2 |
| reply_info_answer_encode |
|
15 |
41 |
289 |
12 |
| qinfo_query_encode |
|
3 |
18 |
143 |
2 |
| error_encode |
|
8 |
41 |
309 |
6 |
| Source file: ./usr.sbin/unbound/util/data/msgencode.h |
| Source file: ./usr.sbin/unbound/util/data/msgparse.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| smart_compare |
|
7 |
13 |
106 |
4 |
| new_rrset |
|
3 |
30 |
212 |
9 |
| nsec_at_apex |
|
9 |
33 |
196 |
1 |
| pkt_rrset_flags |
|
5 |
10 |
56 |
3 |
| pkt_hash_rrset |
|
1 |
10 |
85 |
5 |
| pkt_hash_rrset_first |
|
1 |
6 |
31 |
2 |
| pkt_hash_rrset_rest |
|
1 |
9 |
67 |
4 |
| rrset_parse_equals |
|
7 |
10 |
83 |
8 |
| msgparse_hashtable_lookup |
|
3 |
13 |
89 |
8 |
| pkt_rrsig_covered |
|
3 |
15 |
103 |
3 |
| pkt_rrsig_covered_equals |
|
3 |
7 |
40 |
3 |
| msgparse_bucket_remove |
|
3 |
12 |
74 |
2 |
| change_section |
|
12 |
37 |
223 |
3 |
| rrset_has_sigover |
|
3 |
14 |
81 |
4 |
| moveover_rrsigs |
|
8 |
41 |
250 |
5 |
| change_rrsig_rrset |
|
10 |
45 |
330 |
8 |
| find_rrset |
|
25 |
97 |
647 |
16 |
| parse_query_section |
|
6 |
18 |
121 |
2 |
| get_rdf_size |
|
13 |
30 |
84 |
1 |
| calc_size |
|
14 |
51 |
287 |
3 |
| skip_ttl_rdata |
|
3 |
12 |
62 |
1 |
| sig_is_double |
|
7 |
28 |
170 |
3 |
| add_rr_to_rrset |
|
15 |
41 |
266 |
6 |
| parse_section |
|
19 |
76 |
521 |
6 |
| parse_packet |
|
9 |
28 |
252 |
3 |
| parse_edns_options |
|
4 |
20 |
100 |
4 |
| parse_extract_edns |
|
16 |
52 |
357 |
3 |
| parse_edns_from_pkt |
|
8 |
36 |
247 |
3 |
| log_edns_opt_list |
|
4 |
17 |
105 |
3 |
| Source file: ./usr.sbin/unbound/util/data/dname.h |
| Source file: ./usr.sbin/unbound/util/data/msgreply.h |
| Source file: ./usr.sbin/unbound/util/storage/slabhash.h |
| Source file: ./usr.sbin/unbound/util/data/dname.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| query_dname_len |
|
7 |
20 |
96 |
1 |
| dname_valid |
|
6 |
21 |
90 |
2 |
| query_dname_compare |
|
11 |
28 |
170 |
2 |
| query_dname_tolower |
|
3 |
13 |
56 |
1 |
| pkt_dname_tolower |
|
9 |
29 |
160 |
2 |
| pkt_dname_len |
|
13 |
40 |
201 |
1 |
| dname_pkt_compare |
|
13 |
38 |
245 |
3 |
| dname_query_hash |
|
3 |
19 |
109 |
2 |
| dname_pkt_hash |
|
4 |
24 |
145 |
3 |
| dname_pkt_copy |
|
4 |
26 |
138 |
3 |
| dname_print |
|
9 |
28 |
155 |
3 |
| dname_count_labels |
|
2 |
12 |
44 |
1 |
| dname_count_size_labels |
|
2 |
15 |
64 |
2 |
| memlowercmp |
|
5 |
13 |
90 |
3 |
| dname_lab_cmp |
|
16 |
68 |
340 |
5 |
| dname_buffer_write |
|
4 |
17 |
92 |
2 |
| dname_str |
|
11 |
38 |
189 |
2 |
| dname_strict_subdomain |
|
3 |
10 |
60 |
4 |
| dname_strict_subdomain_c |
|
1 |
5 |
30 |
2 |
| dname_subdomain_c |
|
3 |
12 |
70 |
2 |
| dname_is_root |
|
1 |
8 |
39 |
1 |
| dname_remove_label |
|
4 |
12 |
74 |
2 |
| dname_remove_labels |
|
2 |
6 |
38 |
3 |
| dname_signame_label_count |
|
5 |
17 |
79 |
1 |
| dname_is_wild |
|
2 |
4 |
25 |
1 |
| memcanoncmp |
|
5 |
12 |
74 |
4 |
| dname_canon_lab_cmp |
|
11 |
46 |
236 |
5 |
| dname_canonical_compare |
|
1 |
7 |
48 |
2 |
| dname_get_shared_topdomain |
|
1 |
10 |
71 |
2 |
| Source file: ./usr.sbin/unbound/validator/validator.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fill_nsec3_iter |
|
8 |
36 |
284 |
3 |
| val_apply_cfg |
|
11 |
46 |
277 |
3 |
| val_init |
|
4 |
20 |
126 |
2 |
| val_deinit |
|
3 |
16 |
109 |
2 |
| val_new_getmsg |
|
8 |
36 |
306 |
2 |
| val_new |
|
2 |
12 |
90 |
2 |
| val_error |
|
1 |
6 |
30 |
2 |
| needs_validation |
|
11 |
29 |
166 |
3 |
| already_validated |
|
3 |
10 |
45 |
1 |
| generate_request |
|
6 |
42 |
285 |
9 |
| generate_keytag_query |
|
5 |
38 |
280 |
3 |
| prime_trust_anchor |
|
6 |
26 |
168 |
4 |
| validate_msg_signatures |
|
15 |
66 |
503 |
6 |
| detect_wrongly_truncated |
|
7 |
18 |
135 |
1 |
| remove_spurious_authority |
|
10 |
32 |
230 |
2 |
| validate_positive_response |
|
16 |
53 |
341 |
5 |
| validate_nodata_response |
|
18 |
58 |
352 |
5 |
| validate_nameerror_response |
|
15 |
60 |
368 |
6 |
| validate_referral_response |
|
3 |
14 |
89 |
1 |
| validate_any_response |
|
16 |
61 |
360 |
5 |
| validate_cname_response |
|
20 |
64 |
421 |
5 |
| validate_cname_noanswer_response |
|
27 |
82 |
460 |
5 |
| processInit |
|
37 |
138 |
1077 |
4 |
| processFindKey |
|
20 |
101 |
722 |
3 |
| processValidate |
|
22 |
138 |
900 |
4 |
| val_dlv_init |
|
15 |
87 |
631 |
4 |
| processFinished |
|
28 |
108 |
786 |
4 |
| processDLVLookup |
|
16 |
78 |
596 |
4 |
| val_handle |
|
7 |
31 |
160 |
4 |
| val_operate |
|
17 |
69 |
441 |
4 |
| primeResponseToKE |
|
9 |
61 |
411 |
4 |
| ds_response_to_ke |
|
26 |
164 |
1028 |
7 |
| process_ds_response |
|
9 |
48 |
315 |
7 |
| process_dnskey_response |
|
10 |
72 |
467 |
7 |
| process_prime_response |
|
12 |
50 |
348 |
6 |
| process_dlv_response |
|
14 |
65 |
493 |
6 |
| val_inform_super |
|
6 |
34 |
234 |
3 |
| val_clear |
|
2 |
6 |
28 |
2 |
| val_get_mem |
|
2 |
9 |
69 |
2 |
| val_get_funcblock |
|
1 |
4 |
10 |
1 |
| val_state_to_string |
|
6 |
11 |
47 |
1 |
| Source file: ./usr.sbin/unbound/util/storage/dnstree.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| name_tree_compare |
|
3 |
12 |
93 |
2 |
| addr_tree_compare |
|
4 |
13 |
101 |
2 |
| name_tree_init |
|
1 |
4 |
16 |
1 |
| addr_tree_init |
|
1 |
4 |
16 |
1 |
| name_tree_insert |
|
1 |
11 |
77 |
6 |
| addr_tree_insert |
|
1 |
10 |
75 |
5 |
| addr_tree_init_parents |
|
5 |
20 |
126 |
1 |
| name_tree_init_parents |
|
5 |
20 |
124 |
1 |
| name_tree_find |
|
1 |
11 |
72 |
5 |
| name_tree_lookup |
|
6 |
28 |
172 |
5 |
| addr_tree_lookup |
|
7 |
27 |
174 |
3 |
| addr_tree_find |
|
1 |
12 |
80 |
4 |
| name_tree_next_root |
|
9 |
40 |
235 |
2 |
| Source file: ./usr.sbin/unbound/util/storage/dnstree.h |
| Source file: ./usr.sbin/unbound/util/storage/lruhash.h |
| Source file: ./usr.sbin/unbound/util/storage/lookup3.h |
| Source file: ./usr.sbin/unbound/util/storage/slabhash.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| slabhash_create |
|
7 |
38 |
264 |
8 |
| slabhash_delete |
|
4 |
12 |
64 |
1 |
| slabhash_clear |
|
3 |
8 |
44 |
1 |
| slab_idx |
|
1 |
4 |
28 |
2 |
| slabhash_insert |
|
1 |
5 |
48 |
5 |
| slabhash_lookup |
|
1 |
5 |
41 |
4 |
| slabhash_remove |
|
1 |
4 |
35 |
3 |
| slabhash_status |
|
2 |
11 |
99 |
3 |
| slabhash_get_size |
|
2 |
10 |
73 |
1 |
| slabhash_get_mem |
|
2 |
9 |
65 |
1 |
| slabhash_gettable |
|
1 |
4 |
25 |
2 |
| delkey |
|
1 |
2 |
24 |
1 |
| deldata |
|
1 |
1 |
14 |
1 |
| test_slabhash_sizefunc |
|
1 |
5 |
31 |
2 |
| test_slabhash_compfunc |
|
3 |
10 |
66 |
2 |
| test_slabhash_delkey |
|
1 |
4 |
25 |
2 |
| test_slabhash_deldata |
|
1 |
4 |
25 |
2 |
| slabhash_setmarkdel |
|
2 |
7 |
44 |
2 |
| slabhash_traverse |
|
2 |
7 |
64 |
4 |
| count_slabhash_entries |
|
2 |
10 |
73 |
1 |
| Source file: ./usr.sbin/unbound/util/shm_side/shm_main.h |
| Source file: ./usr.sbin/unbound/util/shm_side/shm_main.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| stat_timeval_subtract |
|
2 |
11 |
73 |
4 |
| shm_main_init |
|
12 |
63 |
519 |
1 |
| shm_main_shutdown |
|
7 |
16 |
142 |
1 |
| shm_main_run |
|
7 |
43 |
453 |
1 |
| Source file: ./usr.sbin/unbound/util/ub_event.h |
| Source file: ./usr.sbin/unbound/util/storage/lookup3.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| hash_set_raninit |
|
1 |
4 |
11 |
1 |
| hashword |
|
6 |
27 |
143 |
3 |
| hashword2 |
|
6 |
29 |
161 |
4 |
| hashlittle |
|
61 |
134 |
1512 |
3 |
| hashlittle2 |
|
61 |
139 |
1566 |
4 |
| hashbig |
|
45 |
92 |
1068 |
3 |
| driver1 |
|
4 |
15 |
106 |
1 |
| driver2 |
|
15 |
62 |
615 |
1 |
| driver3 |
|
8 |
80 |
1136 |
1 |
| driver4 |
|
3 |
13 |
93 |
1 |
| main |
|
1 |
8 |
25 |
1 |
| Source file: ./usr.sbin/unbound/util/storage/lruhash.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bin_init |
|
3 |
10 |
69 |
2 |
| lruhash_create |
|
3 |
34 |
236 |
7 |
| bin_delete |
|
3 |
17 |
105 |
2 |
| bin_split |
|
3 |
25 |
186 |
3 |
| lruhash_delete |
|
3 |
11 |
67 |
1 |
| bin_overflow_remove |
|
3 |
13 |
69 |
2 |
| reclaim_space |
|
5 |
24 |
185 |
2 |
| bin_find_entry |
|
4 |
11 |
69 |
4 |
| table_grow |
|
4 |
29 |
206 |
1 |
| lru_front |
|
2 |
9 |
56 |
2 |
| lru_remove |
|
3 |
9 |
64 |
2 |
| lru_touch |
|
3 |
8 |
45 |
2 |
| lruhash_insert |
|
6 |
46 |
386 |
5 |
| lruhash_lookup |
|
4 |
18 |
143 |
4 |
| lruhash_remove |
|
3 |
33 |
275 |
3 |
| bin_clear |
|
3 |
20 |
140 |
2 |
| lruhash_clear |
|
3 |
18 |
119 |
1 |
| lruhash_status |
|
8 |
32 |
262 |
3 |
| lruhash_get_mem |
|
5 |
18 |
139 |
1 |
| lruhash_setmarkdel |
|
1 |
6 |
34 |
2 |
| lruhash_traverse |
|
4 |
21 |
163 |
4 |
| lru_demote |
|
4 |
18 |
85 |
2 |
| lruhash_insert_or_retrieve |
|
6 |
44 |
331 |
5 |
| Source file: ./usr.sbin/unbound/util/random.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ub_systemseed |
|
1 |
3 |
11 |
1 |
| ub_initstate |
|
2 |
10 |
52 |
2 |
| ub_random |
|
1 |
4 |
22 |
1 |
| ub_random_max |
|
1 |
5 |
30 |
2 |
| ub_systemseed |
|
1 |
3 |
11 |
1 |
| ub_initstate |
|
2 |
10 |
58 |
2 |
| ub_random |
|
2 |
10 |
63 |
1 |
| ub_systemseed |
|
1 |
4 |
16 |
1 |
| ub_initstate |
|
4 |
25 |
202 |
2 |
| ub_random |
|
3 |
10 |
60 |
1 |
| ub_random_max |
|
2 |
8 |
54 |
2 |
| ub_randfree |
|
1 |
4 |
14 |
1 |
| Source file: ./usr.sbin/unbound/util/data/msgreply.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| parse_create_qinfo |
|
4 |
17 |
131 |
4 |
| construct_reply_info_base |
|
6 |
32 |
274 |
10 |
| parse_create_repinfo |
|
2 |
10 |
69 |
3 |
| reply_info_alloc_rrset_keys |
|
5 |
22 |
157 |
3 |
| soa_find_minttl |
|
2 |
7 |
47 |
1 |
| rdata_copy |
|
19 |
69 |
444 |
7 |
| parse_rr_copy |
|
5 |
38 |
334 |
3 |
| parse_create_rrset |
|
8 |
22 |
153 |
4 |
| get_rrset_trust |
|
15 |
32 |
171 |
2 |
| parse_copy_decompress_rrset |
|
4 |
25 |
210 |
5 |
| parse_copy_decompress |
|
5 |
23 |
168 |
4 |
| parse_create_msg |
|
6 |
15 |
109 |
6 |
| reply_info_parse |
|
5 |
27 |
187 |
6 |
| reply_info_sortref_cmp |
|
3 |
8 |
68 |
2 |
| reply_info_sortref |
|
1 |
5 |
32 |
1 |
| reply_info_set_ttls |
|
5 |
16 |
133 |
2 |
| reply_info_parsedelete |
|
3 |
10 |
58 |
2 |
| query_info_parse |
|
7 |
19 |
135 |
2 |
| query_info_compare |
|
2 |
12 |
97 |
2 |
| query_info_clear |
|
1 |
5 |
22 |
1 |
| msgreply_sizefunc |
|
1 |
11 |
101 |
2 |
| query_entry_delete |
|
1 |
7 |
50 |
2 |
| reply_info_delete |
|
1 |
5 |
32 |
2 |
| query_info_hash |
|
3 |
10 |
86 |
2 |
| query_info_entrysetup |
|
2 |
18 |
191 |
3 |
| repinfo_copy_rrsets |
|
6 |
33 |
257 |
3 |
| reply_info_copy |
|
6 |
22 |
136 |
3 |
| reply_find_final_cname_target |
|
7 |
18 |
135 |
2 |
| reply_find_answer_rrset |
|
10 |
22 |
178 |
2 |
| reply_find_rrset_section_an |
|
6 |
15 |
107 |
5 |
| reply_find_rrset_section_ns |
|
6 |
15 |
113 |
5 |
| reply_find_rrset |
|
6 |
15 |
107 |
5 |
| log_dns_msg |
|
3 |
20 |
133 |
3 |
| log_reply_info |
|
4 |
30 |
240 |
7 |
| log_query_info |
|
1 |
5 |
37 |
3 |
| reply_check_cname_chain |
|
5 |
18 |
126 |
2 |
| reply_all_rrsets_secure |
|
3 |
10 |
59 |
1 |
| edns_opt_append |
|
5 |
23 |
149 |
5 |
| edns_opt_list_append |
|
5 |
24 |
148 |
5 |
| edns_opt_list_remove |
|
10 |
22 |
140 |
2 |
| inplace_cb_reply_call_generic |
|
3 |
19 |
142 |
8 |
| inplace_cb_reply_call |
|
1 |
8 |
62 |
7 |
| inplace_cb_reply_cache_call |
|
1 |
9 |
62 |
7 |
| inplace_cb_reply_local_call |
|
1 |
9 |
62 |
7 |
| inplace_cb_reply_servfail_call |
|
2 |
11 |
72 |
7 |
| inplace_cb_query_call |
|
2 |
15 |
123 |
9 |
| inplace_cb_edns_back_parsed_call |
|
2 |
13 |
81 |
2 |
| inplace_cb_query_response_call |
|
2 |
12 |
88 |
3 |
| edns_opt_copy_region |
|
6 |
22 |
127 |
2 |
| edns_opt_compare |
|
9 |
14 |
126 |
2 |
| edns_opt_list_compare |
|
8 |
16 |
81 |
2 |
| edns_opt_list_free |
|
2 |
10 |
42 |
1 |
| edns_opt_copy_alloc |
|
6 |
26 |
137 |
1 |
| edns_opt_list_find |
|
3 |
9 |
47 |
2 |
| Source file: ./usr.sbin/unbound/util/timehist.h |
| Source file: ./usr.sbin/unbound/util/as112.h |
| Source file: ./usr.sbin/unbound/util/fptr_wlist.h |
| Source file: ./usr.sbin/unbound/util/module.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| strextstate |
|
8 |
13 |
59 |
1 |
| strmodulevent |
|
8 |
13 |
59 |
1 |
| edns_known_options_init |
|
2 |
8 |
48 |
1 |
| edns_known_options_delete |
|
1 |
6 |
28 |
1 |
| edns_register_option |
|
6 |
24 |
137 |
4 |
| inplace_cb_register |
|
4 |
25 |
151 |
5 |
| inplace_cb_delete |
|
4 |
24 |
118 |
3 |
| edns_option_is_known |
|
3 |
8 |
53 |
2 |
| edns_bypass_cache_stage |
|
5 |
10 |
75 |
2 |
| unique_mesh_state |
|
6 |
12 |
84 |
2 |
| log_edns_known_options |
|
6 |
19 |
140 |
2 |
| Source file: ./usr.sbin/unbound/util/timehist.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| timestwo |
|
4 |
13 |
69 |
1 |
| dosetup |
|
2 |
12 |
85 |
1 |
| timehist_setup |
|
3 |
16 |
88 |
1 |
| timehist_delete |
|
2 |
7 |
28 |
1 |
| timehist_clear |
|
2 |
6 |
38 |
1 |
| timeval_smaller |
|
4 |
11 |
63 |
2 |
| timehist_insert |
|
3 |
11 |
79 |
2 |
| timehist_print |
|
3 |
14 |
117 |
1 |
| timehist_log |
|
3 |
19 |
161 |
2 |
| timehist_count |
|
2 |
7 |
45 |
1 |
| timehist_quartile |
|
6 |
24 |
220 |
2 |
| timehist_export |
|
4 |
9 |
72 |
3 |
| timehist_import |
|
4 |
9 |
71 |
3 |
| Source file: ./usr.sbin/unbound/util/log.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| log_init |
|
22 |
59 |
305 |
3 |
| log_file |
|
1 |
6 |
24 |
1 |
| log_thread_set |
|
1 |
4 |
15 |
1 |
| log_thread_get |
|
3 |
7 |
44 |
1 |
| log_ident_set |
|
1 |
4 |
13 |
1 |
| log_set_time |
|
1 |
4 |
12 |
1 |
| log_set_time_asc |
|
1 |
4 |
11 |
1 |
| log_vmsg |
|
27 |
65 |
522 |
4 |
| log_info |
|
1 |
7 |
37 |
2 |
| log_err |
|
1 |
7 |
37 |
2 |
| log_warn |
|
1 |
7 |
37 |
2 |
| fatal_exit |
|
1 |
8 |
42 |
2 |
| verbose |
|
4 |
13 |
85 |
3 |
| log_hex_f |
|
5 |
25 |
216 |
4 |
| log_hex |
|
1 |
4 |
27 |
3 |
| log_buf |
|
2 |
6 |
42 |
3 |
| wsa_strerror |
|
95 |
104 |
606 |
1 |
| Source file: ./usr.sbin/unbound/util/tube.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tube_create |
|
5 |
30 |
179 |
1 |
| tube_delete |
|
2 |
9 |
41 |
1 |
| tube_close_read |
|
2 |
7 |
34 |
1 |
| tube_close_write |
|
2 |
7 |
34 |
1 |
| tube_remove_bg_listen |
|
2 |
9 |
43 |
1 |
| tube_remove_bg_write |
|
4 |
18 |
90 |
1 |
| tube_handle_listen |
|
14 |
61 |
462 |
4 |
| tube_handle_write |
|
15 |
55 |
367 |
4 |
| tube_write_msg |
|
13 |
42 |
276 |
4 |
| tube_read_msg |
|
15 |
60 |
394 |
4 |
| pollit |
|
2 |
11 |
74 |
2 |
| tube_poll |
|
1 |
6 |
37 |
1 |
| tube_wait |
|
1 |
4 |
19 |
1 |
| tube_read_fd |
|
1 |
4 |
14 |
1 |
| tube_setup_bg_listen |
|
2 |
14 |
80 |
4 |
| tube_setup_bg_write |
|
2 |
11 |
60 |
2 |
| tube_queue_item |
|
4 |
21 |
128 |
3 |
| tube_handle_signal |
|
1 |
5 |
28 |
3 |
| tube_create |
|
4 |
21 |
128 |
1 |
| tube_delete |
|
3 |
13 |
78 |
1 |
| tube_close_read |
|
1 |
4 |
19 |
1 |
| tube_close_write |
|
2 |
7 |
43 |
1 |
| tube_remove_bg_listen |
|
1 |
5 |
23 |
1 |
| tube_remove_bg_write |
|
3 |
15 |
76 |
1 |
| tube_write_msg |
|
2 |
12 |
76 |
4 |
| tube_read_msg |
|
9 |
35 |
209 |
4 |
| tube_poll |
|
2 |
10 |
48 |
1 |
| tube_wait |
|
3 |
17 |
53 |
1 |
| tube_read_fd |
|
1 |
4 |
16 |
1 |
| tube_handle_listen |
|
1 |
6 |
41 |
4 |
| tube_handle_write |
|
1 |
6 |
41 |
4 |
| tube_setup_bg_listen |
|
3 |
11 |
75 |
4 |
| tube_setup_bg_write |
|
1 |
5 |
23 |
2 |
| tube_queue_item |
|
4 |
24 |
155 |
3 |
| tube_handle_signal |
|
3 |
15 |
104 |
3 |
| Source file: ./usr.sbin/unbound/util/regional.h |
| Source file: ./usr.sbin/unbound/util/alloc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| alloc_setup_special |
|
1 |
6 |
39 |
1 |
| prealloc_setup |
|
3 |
16 |
84 |
1 |
| prealloc_blocks |
|
3 |
15 |
79 |
2 |
| alloc_init |
|
3 |
25 |
169 |
3 |
| alloc_clear |
|
8 |
38 |
228 |
1 |
| alloc_get_id |
|
2 |
14 |
88 |
1 |
| alloc_special_obtain |
|
6 |
32 |
187 |
1 |
| pushintosuper |
|
4 |
19 |
145 |
2 |
| alloc_special_release |
|
6 |
20 |
107 |
2 |
| alloc_stats |
|
2 |
5 |
36 |
1 |
| alloc_get_mem |
|
4 |
17 |
109 |
1 |
| alloc_reg_obtain |
|
2 |
11 |
61 |
1 |
| alloc_reg_release |
|
3 |
13 |
77 |
2 |
| alloc_set_id_cleanup |
|
1 |
6 |
35 |
3 |
| unbound_stat_malloc |
|
3 |
12 |
89 |
1 |
| unbound_stat_calloc |
|
5 |
15 |
126 |
2 |
| unbound_stat_free |
|
3 |
15 |
97 |
1 |
| unbound_stat_realloc |
|
8 |
33 |
238 |
2 |
| unbound_stat_malloc_log |
|
1 |
6 |
42 |
4 |
| unbound_stat_calloc_log |
|
1 |
7 |
52 |
5 |
| unbound_stat_free_log |
|
3 |
12 |
99 |
4 |
| unbound_stat_realloc_log |
|
1 |
7 |
50 |
5 |
| unbound_stat_malloc_lite |
|
2 |
11 |
114 |
4 |
| unbound_stat_calloc_lite |
|
4 |
16 |
143 |
5 |
| unbound_stat_free_lite |
|
4 |
25 |
212 |
4 |
| unbound_stat_realloc_lite |
|
7 |
38 |
300 |
5 |
| unbound_strdup_lite |
|
2 |
9 |
71 |
4 |
| unbound_lite_wrapstr |
|
1 |
6 |
31 |
1 |
| unbound_lite_pkt2wire |
|
3 |
19 |
114 |
3 |
| unbound_lite_i2d_DSA_SIG |
|
3 |
15 |
93 |
2 |
| Source file: ./usr.sbin/unbound/util/module.h |
| Source file: ./usr.sbin/unbound/util/alloc.h |
| Source file: ./usr.sbin/unbound/util/net_help.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| str_is_ip6 |
|
2 |
6 |
25 |
1 |
| fd_set_nonblock |
|
6 |
19 |
112 |
1 |
| fd_set_block |
|
8 |
20 |
124 |
1 |
| is_pow2 |
|
2 |
5 |
29 |
1 |
| memdup |
|
4 |
10 |
59 |
2 |
| log_addr |
|
7 |
33 |
275 |
4 |
| extstrtoaddr |
|
5 |
20 |
140 |
3 |
| ipstrtoaddr |
|
7 |
37 |
288 |
4 |
| netblockstrtoaddr |
|
10 |
32 |
216 |
5 |
| log_nametypeclass |
|
12 |
30 |
253 |
5 |
| log_name_addr |
|
8 |
31 |
270 |
5 |
| log_err_addr |
|
4 |
19 |
189 |
4 |
| sockaddr_cmp |
|
11 |
36 |
274 |
4 |
| sockaddr_cmp_addr |
|
7 |
26 |
198 |
4 |
| addr_is_ip6 |
|
3 |
7 |
45 |
2 |
| addr_mask |
|
4 |
19 |
156 |
3 |
| addr_in_common |
|
7 |
32 |
235 |
5 |
| addr_to_str |
|
3 |
11 |
104 |
4 |
| addr_is_ip4mapped |
|
2 |
10 |
102 |
2 |
| addr_is_broadcast |
|
3 |
7 |
72 |
2 |
| addr_is_any |
|
7 |
14 |
128 |
2 |
| sock_list_insert |
|
3 |
15 |
108 |
4 |
| sock_list_prepend |
|
3 |
10 |
52 |
2 |
| sock_list_find |
|
5 |
13 |
69 |
3 |
| sock_list_merge |
|
3 |
9 |
74 |
3 |
| log_crypto_err |
|
3 |
12 |
78 |
1 |
| listen_sslctx_setup |
|
12 |
35 |
173 |
1 |
| listen_sslctx_setup_2 |
|
8 |
20 |
98 |
1 |
| listen_sslctx_create |
|
10 |
44 |
239 |
3 |
| connect_sslctx_create |
|
13 |
51 |
277 |
3 |
| incoming_ssl_fd |
|
4 |
18 |
95 |
2 |
| outgoing_ssl_fd |
|
4 |
18 |
95 |
2 |
| ub_crypto_id_cb |
|
1 |
4 |
15 |
1 |
| ub_crypto_lock_cb |
|
2 |
9 |
55 |
4 |
| ub_openssl_lock_init |
|
4 |
14 |
81 |
1 |
| ub_openssl_lock_delete |
|
4 |
12 |
57 |
1 |
| Source file: ./usr.sbin/unbound/util/random.h |
| Source file: ./usr.sbin/unbound/util/configyyrename.h |
| Source file: ./usr.sbin/unbound/util/netevent.h |
| Source file: ./usr.sbin/unbound/util/rbtree.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rbtree_create |
|
2 |
10 |
57 |
1 |
| rbtree_init |
|
1 |
6 |
41 |
2 |
| rbtree_rotate_left |
|
4 |
19 |
114 |
2 |
| rbtree_rotate_right |
|
4 |
19 |
114 |
2 |
| rbtree_insert_fixup |
|
8 |
40 |
279 |
2 |
| rbtree_insert |
|
6 |
33 |
179 |
2 |
| rbtree_search |
|
2 |
9 |
40 |
2 |
| swap_int8 |
|
1 |
4 |
29 |
2 |
| swap_np |
|
1 |
4 |
30 |
2 |
| change_parent_ptr |
|
8 |
14 |
108 |
4 |
| change_child_ptr |
|
4 |
7 |
53 |
3 |
| rbtree_delete |
|
13 |
50 |
396 |
2 |
| rbtree_delete_fixup |
|
29 |
85 |
495 |
3 |
| rbtree_find_less_equal |
|
4 |
24 |
118 |
3 |
| rbtree_first |
|
2 |
6 |
36 |
1 |
| rbtree_last |
|
2 |
6 |
36 |
1 |
| rbtree_next |
|
5 |
15 |
83 |
1 |
| rbtree_previous |
|
5 |
15 |
83 |
1 |
| traverse_post |
|
3 |
8 |
68 |
3 |
| traverse_postorder |
|
1 |
5 |
36 |
3 |
| Source file: ./usr.sbin/unbound/util/mini_event.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mini_ev_cmp |
|
7 |
18 |
134 |
2 |
| settime |
|
2 |
8 |
45 |
1 |
| event_init |
|
8 |
36 |
236 |
2 |
| event_get_version |
|
1 |
4 |
10 |
1 |
| event_get_method |
|
1 |
4 |
9 |
1 |
| handle_timeouts |
|
6 |
27 |
212 |
3 |
| handle_select |
|
14 |
45 |
336 |
2 |
| event_base_dispatch |
|
6 |
18 |
86 |
1 |
| event_base_loopexit |
|
1 |
6 |
26 |
2 |
| event_base_free |
|
2 |
9 |
42 |
1 |
| event_set |
|
1 |
11 |
81 |
5 |
| event_base_set |
|
1 |
6 |
29 |
2 |
| event_add |
|
12 |
32 |
292 |
2 |
| event_del |
|
6 |
16 |
164 |
1 |
| sigh |
|
5 |
11 |
69 |
1 |
| signal_add |
|
4 |
12 |
83 |
2 |
| signal_del |
|
3 |
8 |
50 |
1 |
| mini_ev_cmp |
|
1 |
4 |
23 |
2 |
| Source file: ./usr.sbin/unbound/util/as112.c |
| Source file: ./usr.sbin/unbound/util/tube.h |
| Source file: ./usr.sbin/unbound/util/config_file.h |
| Source file: ./usr.sbin/unbound/util/net_help.h |
| Source file: ./usr.sbin/unbound/util/rtt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| calc_rto |
|
3 |
9 |
46 |
1 |
| rtt_init |
|
1 |
6 |
30 |
1 |
| rtt_timeout |
|
1 |
4 |
15 |
1 |
| rtt_unclamped |
|
2 |
7 |
39 |
1 |
| rtt_update |
|
2 |
9 |
63 |
2 |
| rtt_lost |
|
4 |
11 |
56 |
2 |
| rtt_notimeout |
|
1 |
4 |
16 |
1 |
| Source file: ./usr.sbin/unbound/util/rtt.h |
| Source file: ./usr.sbin/unbound/util/locks.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ub_thread_blocksigs |
|
8 |
12 |
92 |
1 |
| ub_thread_sig_unblock |
|
8 |
14 |
106 |
1 |
| ub_thr_fork_create |
|
3 |
15 |
91 |
3 |
| ub_thr_fork_wait |
|
3 |
9 |
63 |
1 |
| ub_thread_key_get |
|
1 |
6 |
27 |
1 |
| log_win_err |
|
2 |
12 |
79 |
2 |
| lock_basic_init |
|
1 |
4 |
18 |
1 |
| lock_basic_destroy |
|
1 |
4 |
18 |
1 |
| lock_basic_lock |
|
2 |
8 |
33 |
1 |
| lock_basic_unlock |
|
1 |
4 |
18 |
1 |
| ub_thread_key_create |
|
2 |
9 |
51 |
2 |
| ub_thread_key_set |
|
2 |
6 |
32 |
2 |
| ub_thread_key_get |
|
3 |
8 |
46 |
1 |
| ub_thread_create |
|
2 |
13 |
92 |
3 |
| ub_thread_self |
|
1 |
4 |
11 |
1 |
| ub_thread_join |
|
4 |
14 |
71 |
1 |
| Source file: ./usr.sbin/unbound/util/regional.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| regional_create |
|
1 |
4 |
12 |
1 |
| regional_init |
|
1 |
9 |
63 |
1 |
| regional_create_custom |
|
2 |
9 |
55 |
1 |
| regional_free_all |
|
3 |
16 |
79 |
1 |
| regional_destroy |
|
2 |
6 |
26 |
1 |
| regional_alloc |
|
5 |
25 |
176 |
2 |
| regional_alloc_init |
|
2 |
7 |
48 |
3 |
| regional_alloc_zero |
|
2 |
7 |
43 |
2 |
| regional_strdup |
|
1 |
4 |
33 |
2 |
| count_chunks |
|
2 |
10 |
43 |
1 |
| count_large |
|
2 |
10 |
43 |
1 |
| regional_log_stats |
|
1 |
9 |
68 |
1 |
| regional_get_mem |
|
1 |
5 |
29 |
1 |
| Source file: ./usr.sbin/unbound/util/mini_event.h |
| Source file: ./usr.sbin/unbound/util/winsock_event.h |
| Source file: ./usr.sbin/unbound/util/config_file.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| config_create |
|
24 |
195 |
1335 |
1 |
| config_create_forlib |
|
2 |
23 |
137 |
1 |
| config_set_option |
|
37 |
232 |
1836 |
3 |
| config_print_func |
|
1 |
5 |
34 |
2 |
| config_collate_func |
|
3 |
8 |
54 |
2 |
| config_get_option_list |
|
3 |
15 |
91 |
3 |
| config_get_option_collate |
|
3 |
12 |
79 |
3 |
| config_collate_cat |
|
7 |
29 |
180 |
1 |
| config_get_option |
|
6 |
192 |
1631 |
4 |
| create_cfg_parser |
|
1 |
11 |
62 |
3 |
| config_read |
|
22 |
67 |
407 |
3 |
| cfg_stub_find |
|
3 |
11 |
67 |
2 |
| config_delstrlist |
|
2 |
10 |
42 |
1 |
| config_deldblstrlist |
|
2 |
11 |
49 |
1 |
| config_deltrplstrlist |
|
2 |
12 |
56 |
1 |
| config_delstub |
|
2 |
8 |
42 |
1 |
| config_delstubs |
|
2 |
9 |
35 |
1 |
| config_delview |
|
2 |
9 |
49 |
1 |
| config_delviews |
|
2 |
9 |
35 |
1 |
| config_del_strarray |
|
3 |
10 |
49 |
2 |
| config_del_strbytelist |
|
2 |
11 |
49 |
1 |
| config_delete |
|
5 |
65 |
453 |
1 |
| init_outgoing_availports |
|
5 |
16 |
109 |
2 |
| cfg_mark_ports |
|
15 |
38 |
283 |
4 |
| cfg_scan_ports |
|
3 |
10 |
47 |
2 |
| cfg_condense_ports |
|
5 |
17 |
127 |
2 |
| ub_c_error_va_list |
|
1 |
8 |
48 |
2 |
| ub_c_error_msg |
|
1 |
7 |
33 |
2 |
| ub_c_error |
|
1 |
6 |
31 |
1 |
| ub_c_wrap |
|
1 |
4 |
9 |
1 |
| cfg_strlist_append |
|
5 |
17 |
97 |
2 |
| cfg_region_strlist_insert |
|
4 |
15 |
81 |
3 |
| cfg_strlist_insert |
|
4 |
13 |
76 |
2 |
| cfg_str2list_insert |
|
5 |
14 |
89 |
3 |
| cfg_str3list_insert |
|
6 |
16 |
102 |
4 |
| cfg_strbytelist_insert |
|
5 |
16 |
98 |
4 |
| cfg_convert_timeval |
|
14 |
21 |
203 |
1 |
| cfg_count_numbers |
|
10 |
20 |
106 |
1 |
| isalldigit |
|
3 |
8 |
49 |
2 |
| cfg_parse_memsize |
|
21 |
39 |
316 |
2 |
| find_tag_id |
|
3 |
9 |
57 |
2 |
| config_add_tag |
|
5 |
22 |
143 |
2 |
| cfg_set_bit |
|
1 |
7 |
50 |
3 |
| config_parse_taglist |
|
6 |
31 |
172 |
3 |
| config_taglist2str |
|
6 |
20 |
156 |
3 |
| taglist_intersect |
|
6 |
12 |
73 |
4 |
| config_apply |
|
1 |
12 |
76 |
1 |
| config_lookup_uid |
|
5 |
11 |
63 |
1 |
| strlen_after_chroot |
|
20 |
30 |
246 |
3 |
| fname_after_chroot |
|
21 |
38 |
348 |
3 |
| next_space_pos |
|
6 |
10 |
69 |
1 |
| last_space_pos |
|
6 |
10 |
69 |
1 |
| cfg_parse_local_zone |
|
13 |
37 |
240 |
2 |
| cfg_ptr_reverse |
|
15 |
68 |
508 |
1 |
| w_lookup_reg_str |
|
10 |
32 |
216 |
2 |
| w_config_adjust_directory |
|
7 |
18 |
136 |
1 |
| errinf |
|
7 |
23 |
147 |
2 |
| errinf_origin |
|
5 |
19 |
153 |
2 |
| errinf_to_str |
|
4 |
24 |
207 |
1 |
| errinf_rrset |
|
3 |
13 |
130 |
2 |
| errinf_dname |
|
4 |
10 |
82 |
3 |
| Source file: ./usr.sbin/unbound/util/locks.h |
| Source file: ./usr.sbin/unbound/util/winsock_event.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mini_ev_cmp |
|
7 |
18 |
134 |
2 |
| settime |
|
2 |
8 |
45 |
1 |
| find_fd |
|
3 |
9 |
52 |
2 |
| zero_waitfor |
|
3 |
8 |
46 |
2 |
| event_init |
|
6 |
36 |
220 |
2 |
| event_get_version |
|
1 |
4 |
10 |
1 |
| event_get_method |
|
1 |
4 |
9 |
1 |
| handle_timeouts |
|
6 |
31 |
250 |
3 |
| handle_signal |
|
6 |
20 |
129 |
1 |
| handle_select |
|
60 |
176 |
1258 |
2 |
| event_base_dispatch |
|
6 |
18 |
86 |
1 |
| event_base_loopexit |
|
1 |
7 |
33 |
2 |
| event_base_free |
|
2 |
10 |
49 |
1 |
| event_set |
|
1 |
12 |
87 |
5 |
| event_base_set |
|
1 |
8 |
41 |
2 |
| event_add |
|
25 |
70 |
580 |
2 |
| event_del |
|
12 |
34 |
335 |
1 |
| sigh |
|
5 |
11 |
69 |
1 |
| signal_add |
|
4 |
12 |
83 |
2 |
| signal_del |
|
3 |
8 |
50 |
1 |
| winsock_tcp_wouldblock |
|
3 |
8 |
49 |
2 |
| winsock_register_wsaevent |
|
2 |
18 |
137 |
5 |
| winsock_unregister_wsaevent |
|
5 |
11 |
120 |
1 |
| Source file: ./usr.sbin/unbound/util/rbtree.h |
| Source file: ./usr.sbin/unbound/util/log.h |
| Source file: ./usr.sbin/unbound/util/ub_event.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| void( * NATIVE_BITS_CB(void(*cb)(int,short,void*))) |
|
11 |
25 |
113 |
3 |
| ub_event_get_version |
|
1 |
4 |
11 |
1 |
| ub_ev_backend2str |
|
7 |
12 |
52 |
1 |
| ub_get_event_sys |
|
11 |
28 |
179 |
4 |
| ub_default_event_base |
|
5 |
17 |
93 |
3 |
| ub_libevent_event_base |
|
2 |
6 |
23 |
1 |
| ub_libevent_get_event_base |
|
2 |
6 |
23 |
1 |
| ub_event_base_free |
|
3 |
6 |
30 |
1 |
| ub_event_base_dispatch |
|
1 |
4 |
18 |
1 |
| ub_event_base_loopexit |
|
1 |
4 |
20 |
1 |
| ub_event_new |
|
3 |
13 |
111 |
5 |
| ub_signal_new |
|
3 |
13 |
103 |
4 |
| ub_winsock_register_wsaevent |
|
4 |
17 |
115 |
4 |
| ub_event_add_bits |
|
1 |
4 |
24 |
2 |
| ub_event_del_bits |
|
1 |
4 |
24 |
2 |
| ub_event_set_fd |
|
1 |
4 |
21 |
2 |
| ub_event_free |
|
2 |
5 |
21 |
1 |
| ub_event_add |
|
1 |
4 |
25 |
2 |
| ub_event_del |
|
1 |
4 |
18 |
1 |
| ub_timer_add |
|
2 |
8 |
89 |
5 |
| ub_timer_del |
|
1 |
4 |
18 |
1 |
| ub_signal_add |
|
1 |
4 |
25 |
2 |
| ub_signal_del |
|
1 |
4 |
18 |
1 |
| ub_winsock_unregister_wsaevent |
|
2 |
6 |
30 |
1 |
| ub_winsock_tcp_wouldblock |
|
2 |
6 |
35 |
2 |
| ub_comm_base_now |
|
3 |
11 |
64 |
1 |
| Source file: ./usr.sbin/unbound/libunbound/libworker.h |
| Source file: ./usr.sbin/unbound/util/ub_event_pluggable.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| void( * NATIVE_BITS_CB(void(*cb)(int,short,void*))) |
|
11 |
25 |
113 |
3 |
| ub_event_get_version |
|
1 |
4 |
10 |
1 |
| my_event_add_bits |
|
1 |
4 |
26 |
2 |
| my_event_del_bits |
|
1 |
4 |
26 |
2 |
| my_event_set_fd |
|
1 |
4 |
23 |
2 |
| my_event_free |
|
1 |
4 |
17 |
1 |
| my_event_add |
|
1 |
4 |
28 |
2 |
| my_event_del |
|
1 |
4 |
21 |
1 |
| my_timer_add |
|
2 |
9 |
100 |
5 |
| my_timer_del |
|
1 |
4 |
21 |
1 |
| my_signal_add |
|
1 |
4 |
28 |
2 |
| my_signal_del |
|
1 |
4 |
21 |
1 |
| my_winsock_unregister_wsaevent |
|
2 |
6 |
33 |
1 |
| my_winsock_tcp_wouldblock |
|
2 |
6 |
38 |
2 |
| my_event_base_free |
|
3 |
6 |
37 |
1 |
| my_event_base_dispatch |
|
1 |
4 |
20 |
1 |
| my_event_base_loopexit |
|
1 |
4 |
27 |
2 |
| my_event_new |
|
3 |
16 |
136 |
5 |
| my_signal_new |
|
3 |
16 |
128 |
4 |
| my_winsock_register_wsaevent |
|
4 |
21 |
140 |
4 |
| ub_default_event_base |
|
7 |
25 |
165 |
3 |
| ub_libevent_event_base |
|
3 |
13 |
75 |
1 |
| ub_libevent_get_event_base |
|
2 |
7 |
34 |
1 |
| ub_ev_backend2str_pluggable |
|
7 |
12 |
52 |
1 |
| ub_get_event_sys |
|
6 |
22 |
135 |
4 |
| ub_event_base_free |
|
4 |
8 |
51 |
1 |
| ub_event_base_dispatch |
|
3 |
9 |
54 |
1 |
| ub_event_base_loopexit |
|
3 |
9 |
56 |
1 |
| ub_event_new |
|
3 |
10 |
85 |
5 |
| ub_signal_new |
|
3 |
10 |
80 |
4 |
| ub_winsock_register_wsaevent |
|
3 |
11 |
81 |
4 |
| ub_event_add_bits |
|
3 |
8 |
54 |
2 |
| ub_event_del_bits |
|
3 |
8 |
54 |
2 |
| ub_event_set_fd |
|
3 |
8 |
54 |
2 |
| ub_event_free |
|
4 |
8 |
51 |
1 |
| ub_event_add |
|
3 |
9 |
61 |
2 |
| ub_event_del |
|
4 |
9 |
56 |
1 |
| ub_timer_add |
|
3 |
10 |
90 |
5 |
| ub_timer_del |
|
4 |
9 |
56 |
1 |
| ub_signal_add |
|
3 |
9 |
61 |
2 |
| ub_signal_del |
|
4 |
9 |
56 |
1 |
| ub_winsock_unregister_wsaevent |
|
4 |
9 |
51 |
1 |
| ub_winsock_tcp_wouldblock |
|
3 |
9 |
54 |
2 |
| ub_comm_base_now |
|
5 |
13 |
82 |
1 |
| Source file: ./usr.sbin/unbound/util/netevent.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| comm_base_create |
|
4 |
23 |
180 |
1 |
| comm_base_create_event |
|
3 |
15 |
91 |
1 |
| comm_base_delete |
|
4 |
15 |
84 |
1 |
| comm_base_delete_no_base |
|
4 |
14 |
75 |
1 |
| comm_base_timept |
|
1 |
5 |
38 |
3 |
| comm_base_dispatch |
|
2 |
9 |
44 |
1 |
| comm_base_exit |
|
2 |
6 |
29 |
1 |
| comm_base_set_slow_accept_handlers |
|
1 |
7 |
51 |
4 |
| comm_base_internal |
|
1 |
4 |
16 |
1 |
| udp_send_errno_needs_log |
|
21 |
26 |
119 |
2 |
| tcp_connect_errno_needs_log |
|
1 |
4 |
20 |
2 |
| Source file: ./usr.sbin/unbound/libunbound/unbound-event.h |
| Source file: ./usr.sbin/unbound/libunbound/worker.h |
| Source file: ./usr.sbin/unbound/util/fptr_wlist.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fptr_whitelist_comm_point |
|
5 |
8 |
54 |
1 |
| fptr_whitelist_comm_point_raw |
|
5 |
8 |
54 |
1 |
| fptr_whitelist_comm_timer |
|
8 |
10 |
82 |
1 |
| fptr_whitelist_comm_signal |
|
2 |
5 |
29 |
1 |
| fptr_whitelist_start_accept |
|
2 |
5 |
27 |
1 |
| fptr_whitelist_stop_accept |
|
2 |
5 |
27 |
1 |
| fptr_whitelist_event |
|
13 |
15 |
141 |
1 |
| fptr_whitelist_pending_udp |
|
4 |
7 |
43 |
1 |
| fptr_whitelist_pending_tcp |
|
4 |
7 |
43 |
1 |
| fptr_whitelist_serviced_query |
|
3 |
6 |
32 |
1 |
| fptr_whitelist_rbtree_cmp |
|
24 |
27 |
274 |
1 |
| fptr_whitelist_hash_sizefunc |
|
12 |
13 |
108 |
1 |
| fptr_whitelist_hash_compfunc |
|
10 |
12 |
97 |
1 |
| fptr_whitelist_hash_delkeyfunc |
|
10 |
12 |
97 |
1 |
| fptr_whitelist_hash_deldatafunc |
|
11 |
12 |
97 |
1 |
| fptr_whitelist_hash_markdelfunc |
|
3 |
6 |
30 |
1 |
| fptr_whitelist_modenv_send_query |
|
3 |
9 |
77 |
1 |
| fptr_whitelist_modenv_detach_subs |
|
2 |
6 |
29 |
1 |
| fptr_whitelist_modenv_attach_sub |
|
2 |
7 |
48 |
1 |
| fptr_whitelist_modenv_add_sub |
|
2 |
8 |
53 |
1 |
| fptr_whitelist_modenv_kill_sub |
|
2 |
5 |
29 |
1 |
| fptr_whitelist_modenv_detect_cycle |
|
2 |
7 |
43 |
1 |
| fptr_whitelist_mod_init |
|
13 |
12 |
109 |
1 |
| fptr_whitelist_mod_deinit |
|
13 |
12 |
109 |
1 |
| fptr_whitelist_mod_operate |
|
13 |
13 |
118 |
1 |
| fptr_whitelist_mod_inform_super |
|
13 |
13 |
114 |
1 |
| fptr_whitelist_mod_clear |
|
13 |
13 |
109 |
1 |
| fptr_whitelist_mod_get_mem |
|
13 |
12 |
109 |
1 |
| fptr_whitelist_alloc_cleanup |
|
2 |
5 |
27 |
1 |
| fptr_whitelist_tube_listen |
|
3 |
6 |
32 |
1 |
| fptr_whitelist_mesh_cb |
|
5 |
8 |
53 |
1 |
| fptr_whitelist_print_func |
|
4 |
7 |
52 |
1 |
| fptr_whitelist_inplace_cb_reply_generic |
|
13 |
15 |
95 |
2 |
| fptr_whitelist_inplace_cb_query |
|
3 |
7 |
26 |
1 |
| fptr_whitelist_inplace_cb_edns_back_parsed |
|
3 |
8 |
26 |
1 |
| fptr_whitelist_inplace_cb_query_response |
|
3 |
8 |
26 |
1 |
| Source file: ./usr.sbin/unbound/libunbound/context.h |
| Source file: ./usr.sbin/unbound/libunbound/unbound.h |
| Source file: ./usr.sbin/unbound/edns-subnet/addrtree.h |
| Source file: ./usr.sbin/unbound/edns-subnet/subnetmod.h |
| Source file: ./usr.sbin/unbound/edns-subnet/edns-subnet.h |
| Source file: ./usr.sbin/unbound/libunbound/context.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| context_finalize |
|
11 |
37 |
285 |
1 |
| context_query_cmp |
|
3 |
8 |
56 |
2 |
| context_query_delete |
|
2 |
7 |
35 |
1 |
| find_id |
|
3 |
12 |
65 |
2 |
| context_new |
|
6 |
36 |
274 |
6 |
| context_obtain_alloc |
|
6 |
24 |
135 |
2 |
| context_release_alloc |
|
5 |
14 |
69 |
3 |
| context_serialize_new_query |
|
2 |
14 |
152 |
2 |
| context_deserialize_new_query |
|
5 |
29 |
267 |
3 |
| context_lookup_new_query |
|
3 |
16 |
105 |
3 |
| context_serialize_answer |
|
7 |
21 |
229 |
4 |
| context_deserialize_answer |
|
9 |
37 |
323 |
4 |
| context_serialize_cancel |
|
2 |
9 |
78 |
2 |
| context_deserialize_cancel |
|
2 |
11 |
84 |
3 |
| context_serialize_quit |
|
2 |
9 |
50 |
1 |
| context_serial_getcmd |
|
2 |
8 |
39 |
2 |
| Source file: ./usr.sbin/unbound/edns-subnet/subnet-whitelist.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ecs_whitelist_create |
|
3 |
14 |
63 |
1 |
| ecs_whitelist_delete |
|
2 |
7 |
28 |
1 |
| upstream_insert |
|
3 |
13 |
82 |
4 |
| upstream_str_cfg |
|
3 |
16 |
92 |
2 |
| read_upstream |
|
3 |
10 |
62 |
2 |
| read_names |
|
6 |
36 |
213 |
2 |
| ecs_whitelist_apply_cfg |
|
3 |
14 |
82 |
2 |
| ecs_is_whitelisted |
|
2 |
11 |
73 |
6 |
| ecs_whitelist_get_mem |
|
2 |
5 |
31 |
1 |
| Source file: ./usr.sbin/unbound/edns-subnet/addrtree.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| edge_create |
|
4 |
23 |
187 |
5 |
| node_create |
|
2 |
17 |
108 |
4 |
| node_size |
|
2 |
5 |
50 |
2 |
| addrtree_create |
|
3 |
25 |
180 |
5 |
| clean_node |
|
2 |
7 |
55 |
2 |
| lru_pop |
|
4 |
18 |
114 |
2 |
| lru_push |
|
2 |
12 |
66 |
2 |
| lru_update |
|
2 |
6 |
38 |
2 |
| purge_node |
|
5 |
22 |
158 |
2 |
| lru_cleanup |
|
9 |
21 |
164 |
1 |
| addrtree_size |
|
2 |
4 |
19 |
1 |
| addrtree_delete |
|
3 |
18 |
123 |
1 |
| getbit |
|
1 |
6 |
57 |
3 |
| cmpbit |
|
1 |
5 |
59 |
3 |
| bits_common |
|
4 |
11 |
79 |
5 |
| issub |
|
1 |
5 |
39 |
5 |
| addrtree_insert |
|
17 |
92 |
599 |
7 |
| addrtree_find |
|
12 |
33 |
209 |
4 |
| unittest_wrapper_addrtree_cmpbit |
|
1 |
4 |
27 |
3 |
| unittest_wrapper_addrtree_bits_common |
|
1 |
4 |
37 |
5 |
| unittest_wrapper_addrtree_getbit |
|
1 |
4 |
25 |
3 |
| unittest_wrapper_addrtree_issub |
|
1 |
4 |
37 |
5 |
| Source file: ./usr.sbin/unbound/edns-subnet/edns-subnet.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| copy_clear |
|
7 |
17 |
125 |
5 |
| Source file: ./usr.sbin/unbound/edns-subnet/subnet-whitelist.h |
| Source file: ./usr.sbin/unbound/libunbound/libworker.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| libworker_delete_env |
|
4 |
17 |
121 |
1 |
| libworker_delete |
|
2 |
7 |
33 |
1 |
| libworker_delete_event |
|
2 |
7 |
33 |
1 |
| libworker_setup |
|
40 |
129 |
1010 |
3 |
| libworker_create_event |
|
1 |
5 |
24 |
2 |
| handle_cancel |
|
3 |
16 |
98 |
3 |
| libworker_do_cmd |
|
5 |
19 |
92 |
3 |
| libworker_handle_control_cmd |
|
2 |
11 |
69 |
5 |
| libworker_dobg |
|
6 |
34 |
207 |
1 |
| libworker_bg |
|
7 |
33 |
190 |
1 |
| parse_reply |
|
4 |
16 |
114 |
3 |
| fill_canon |
|
1 |
7 |
44 |
2 |
| fill_res |
|
17 |
49 |
467 |
5 |
| libworker_enter_result |
|
8 |
24 |
165 |
4 |
| libworker_fillup_fg |
|
4 |
20 |
139 |
5 |
| libworker_fg_done_cb |
|
1 |
7 |
57 |
5 |
| setup_qinfo_edns |
|
3 |
22 |
161 |
4 |
| libworker_fg |
|
5 |
37 |
275 |
2 |
| libworker_event_done_cb |
|
4 |
23 |
178 |
5 |
| libworker_attach_mesh |
|
6 |
35 |
261 |
3 |
| add_bg_result |
|
8 |
36 |
263 |
5 |
| libworker_bg_done_cb |
|
6 |
23 |
176 |
5 |
| handle_newq |
|
6 |
42 |
333 |
3 |
| libworker_alloc_cleanup |
|
1 |
6 |
41 |
1 |
| libworker_send_query |
|
3 |
20 |
167 |
11 |
| libworker_handle_reply |
|
5 |
23 |
169 |
4 |
| libworker_handle_service_reply |
|
5 |
20 |
152 |
4 |
| worker_handle_control_cmd |
|
1 |
6 |
43 |
5 |
| worker_handle_request |
|
1 |
7 |
41 |
4 |
| worker_handle_reply |
|
1 |
7 |
41 |
4 |
| worker_handle_service_reply |
|
1 |
7 |
41 |
4 |
| remote_accept_callback |
|
1 |
7 |
41 |
4 |
| remote_control_callback |
|
1 |
7 |
41 |
4 |
| worker_sighandler |
|
1 |
4 |
22 |
2 |
| worker_send_query |
|
1 |
10 |
85 |
11 |
| worker_alloc_cleanup |
|
1 |
4 |
16 |
1 |
| worker_stat_timer_cb |
|
1 |
4 |
16 |
1 |
| worker_probe_timer_cb |
|
1 |
4 |
16 |
1 |
| worker_start_accept |
|
1 |
4 |
16 |
1 |
| worker_stop_accept |
|
1 |
4 |
16 |
1 |
| order_lock_cmp |
|
1 |
5 |
28 |
2 |
| codeline_cmp |
|
1 |
5 |
28 |
2 |
| replay_var_compare |
|
1 |
5 |
28 |
2 |
| remote_get_opt_ssl |
|
1 |
4 |
23 |
2 |
| worker_win_stop_cb |
|
1 |
4 |
28 |
3 |
| wsvc_cron_cb |
|
1 |
4 |
16 |
1 |
| Source file: ./usr.sbin/unbound/daemon/daemon.h |
| Source file: ./usr.sbin/unbound/daemon/remote.h |
| Source file: ./usr.sbin/unbound/daemon/worker.h |
| Source file: ./usr.sbin/unbound/libunbound/libunbound.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ub_ctx_create_nopipe |
|
9 |
63 |
404 |
1 |
| ub_ctx_create |
|
4 |
30 |
183 |
1 |
| ub_ctx_create_ub_event |
|
2 |
10 |
47 |
1 |
| ub_ctx_create_event |
|
3 |
14 |
67 |
1 |
| delq |
|
1 |
5 |
32 |
2 |
| ub_stop_bg |
|
7 |
37 |
235 |
1 |
| ub_ctx_delete |
|
10 |
42 |
268 |
1 |
| ub_ctx_set_option |
|
3 |
14 |
86 |
3 |
| ub_ctx_get_option |
|
4 |
11 |
87 |
3 |
| ub_ctx_config |
|
3 |
14 |
81 |
2 |
| ub_ctx_add_ta |
|
4 |
18 |
109 |
2 |
| ub_ctx_add_ta_file |
|
4 |
18 |
109 |
2 |
| ub_ctx_add_ta_autr |
|
4 |
19 |
109 |
2 |
| ub_ctx_trustedkeys |
|
4 |
18 |
109 |
2 |
| ub_ctx_debuglevel |
|
1 |
8 |
45 |
2 |
| ub_ctx_debugout |
|
1 |
9 |
53 |
2 |
| ub_ctx_async |
|
4 |
13 |
63 |
2 |
| ub_poll |
|
1 |
4 |
17 |
1 |
| ub_fd |
|
1 |
4 |
17 |
1 |
| process_answer_detail |
|
8 |
54 |
352 |
7 |
| process_answer |
|
2 |
12 |
78 |
3 |
| ub_process |
|
5 |
22 |
111 |
1 |
| ub_wait |
|
8 |
43 |
239 |
1 |
| ub_resolve |
|
5 |
37 |
251 |
5 |
| ub_resolve_event |
|
8 |
33 |
192 |
7 |
| ub_resolve_async |
|
10 |
55 |
338 |
7 |
| ub_cancel |
|
6 |
35 |
223 |
2 |
| ub_resolve_free |
|
5 |
16 |
103 |
1 |
| ub_strerror |
|
12 |
17 |
84 |
1 |
| ub_ctx_set_fwd |
|
12 |
65 |
404 |
2 |
| ub_ctx_set_stub |
|
16 |
69 |
404 |
4 |
| ub_ctx_resolvconf |
|
22 |
71 |
416 |
2 |
| ub_ctx_hosts |
|
33 |
88 |
544 |
2 |
| ub_ctx_finalize |
|
2 |
10 |
49 |
1 |
| ub_ctx_print_local_zones |
|
2 |
7 |
34 |
1 |
| ub_ctx_zone_add |
|
6 |
34 |
212 |
3 |
| ub_ctx_zone_remove |
|
4 |
20 |
126 |
2 |
| ub_ctx_data_add |
|
3 |
7 |
50 |
2 |
| ub_ctx_data_remove |
|
3 |
14 |
82 |
2 |
| ub_version |
|
1 |
4 |
9 |
1 |
| ub_ctx_set_event |
|
7 |
19 |
118 |
2 |
| Source file: ./usr.sbin/unbound/daemon/daemon.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| record_sigh |
|
12 |
20 |
52 |
1 |
| signal_handling_record |
|
11 |
11 |
72 |
1 |
| signal_handling_playback |
|
6 |
12 |
55 |
1 |
| daemon_init |
|
21 |
56 |
353 |
1 |
| daemon_open_shared_ports |
|
20 |
61 |
419 |
1 |
| daemon_setup_modules |
|
2 |
12 |
83 |
1 |
| daemon_get_shufport |
|
5 |
22 |
135 |
2 |
| daemon_create_workers |
|
14 |
45 |
385 |
1 |
| close_other_pipes |
|
4 |
13 |
84 |
2 |
| thread_start |
|
5 |
18 |
120 |
1 |
| daemon_start_others |
|
3 |
11 |
75 |
1 |
| daemon_stop_others |
|
3 |
14 |
100 |
1 |
| daemon_fork |
|
22 |
53 |
420 |
1 |
| daemon_cleanup |
|
4 |
24 |
157 |
1 |
| daemon_delete |
|
19 |
43 |
270 |
1 |
| daemon_apply_cfg |
|
7 |
23 |
176 |
2 |
| Source file: ./usr.sbin/unbound/daemon/acl_list.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| acl_list_create |
|
3 |
13 |
63 |
1 |
| acl_list_delete |
|
2 |
7 |
28 |
1 |
| acl_list_insert |
|
4 |
15 |
97 |
6 |
| acl_list_str_cfg |
|
9 |
34 |
209 |
4 |
| acl_find_or_create |
|
4 |
20 |
130 |
2 |
| acl_list_tags_cfg |
|
3 |
14 |
84 |
4 |
| acl_list_view_cfg |
|
3 |
14 |
91 |
4 |
| acl_list_tag_action_cfg |
|
7 |
33 |
219 |
5 |
| check_data |
|
8 |
38 |
245 |
2 |
| acl_list_tag_data_cfg |
|
9 |
42 |
270 |
5 |
| read_acl_list |
|
4 |
10 |
72 |
2 |
| read_acl_tags |
|
4 |
18 |
111 |
2 |
| read_acl_view |
|
4 |
17 |
109 |
3 |
| read_acl_tag_actions |
|
5 |
21 |
126 |
2 |
| read_acl_tag_datas |
|
5 |
20 |
126 |
2 |
| acl_list_apply_cfg |
|
12 |
30 |
205 |
3 |
| acl_get_control |
|
2 |
5 |
21 |
1 |
| acl_addr_lookup |
|
1 |
6 |
35 |
3 |
| acl_list_get_mem |
|
2 |
5 |
31 |
1 |
| Source file: ./usr.sbin/unbound/daemon/stats.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| stats_timeval_add |
|
2 |
9 |
60 |
4 |
| server_stats_init |
|
1 |
5 |
35 |
2 |
| server_stats_querymiss |
|
2 |
7 |
71 |
2 |
| server_stats_prefetch |
|
2 |
7 |
71 |
2 |
| server_stats_log |
|
2 |
22 |
138 |
3 |
| get_rrset_bogus |
|
4 |
15 |
107 |
2 |
| get_queries_ratelimit |
|
4 |
15 |
107 |
2 |
| get_dnscrypt_cache_miss |
|
4 |
12 |
78 |
2 |
| server_stats_compile |
|
9 |
51 |
603 |
3 |
| server_stats_obtain |
|
5 |
22 |
157 |
4 |
| server_stats_reply |
|
2 |
9 |
69 |
2 |
| server_stats_add |
|
9 |
58 |
651 |
2 |
| server_stats_insquery |
|
16 |
38 |
264 |
6 |
| server_stats_insrcode |
|
5 |
9 |
71 |
2 |
| Source file: ./usr.sbin/unbound/daemon/stats.h |
| Source file: ./usr.sbin/unbound/edns-subnet/subnetmod.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| subnet_data_delete |
|
1 |
8 |
48 |
2 |
| msg_cache_sizefunc |
|
1 |
11 |
88 |
2 |
| subnet_new_qstate |
|
2 |
10 |
68 |
2 |
| ecs_opt_list_append |
|
7 |
31 |
234 |
3 |
| ecs_whitelist_check |
|
8 |
30 |
228 |
10 |
| subnetmod_init |
|
6 |
51 |
334 |
2 |
| subnetmod_deinit |
|
3 |
16 |
117 |
2 |
| cp_edns_bad_response |
|
1 |
8 |
55 |
2 |
| delfunc |
|
1 |
5 |
46 |
2 |
| sizefunc |
|
1 |
6 |
54 |
1 |
| get_tree |
|
4 |
19 |
113 |
4 |
| update_cache |
|
12 |
68 |
509 |
2 |
| lookup_and_reply |
|
8 |
46 |
357 |
3 |
| common_prefix |
|
3 |
5 |
56 |
3 |
| eval_response |
|
11 |
49 |
343 |
3 |
| parse_subnet_option |
|
12 |
27 |
214 |
2 |
| subnet_option_from_ss |
|
5 |
25 |
163 |
3 |
| ecs_query_response |
|
5 |
15 |
115 |
4 |
| ecs_edns_back_parsed |
|
6 |
17 |
105 |
3 |
| subnetmod_operate |
|
25 |
99 |
674 |
4 |
| subnetmod_clear |
|
1 |
4 |
18 |
2 |
| subnetmod_inform_super |
|
1 |
4 |
26 |
3 |
| subnetmod_get_mem |
|
2 |
8 |
53 |
2 |
| subnetmod_get_funcblock |
|
1 |
4 |
10 |
1 |
| unittest_wrapper_subnetmod_sizefunc |
|
1 |
4 |
14 |
1 |
| Source file: ./usr.sbin/unbound/daemon/acl_list.h |
| Source file: ./usr.sbin/unbound/daemon/cachedump.h |
| Source file: ./usr.sbin/unbound/iterator/iter_resptype.h |
| Source file: ./usr.sbin/unbound/daemon/unbound.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usage |
|
8 |
36 |
204 |
1 |
| replay_var_compare |
|
1 |
5 |
28 |
2 |
| checkrlimits |
|
23 |
78 |
537 |
1 |
| log_ident_set_fromdefault |
|
3 |
8 |
44 |
2 |
| apply_settings |
|
4 |
16 |
96 |
5 |
| readpid |
|
8 |
31 |
183 |
1 |
| writepid |
|
3 |
14 |
83 |
2 |
| checkoldpid |
|
5 |
12 |
70 |
2 |
| detach |
|
10 |
23 |
147 |
1 |
| perform_setup |
|
80 |
122 |
1022 |
5 |
| run_daemon |
|
13 |
46 |
303 |
5 |
| main |
|
15 |
54 |
259 |
2 |
| Source file: ./usr.sbin/unbound/iterator/iter_scrub.h |
| Source file: ./usr.sbin/unbound/iterator/iter_donotq.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| donotq_create |
|
3 |
13 |
63 |
1 |
| donotq_delete |
|
2 |
7 |
28 |
1 |
| donotq_insert |
|
3 |
12 |
82 |
4 |
| donotq_str_cfg |
|
3 |
16 |
92 |
2 |
| read_donotq |
|
3 |
10 |
62 |
2 |
| donotq_apply_cfg |
|
6 |
17 |
95 |
2 |
| donotq_lookup |
|
1 |
5 |
32 |
3 |
| donotq_get_mem |
|
2 |
5 |
31 |
1 |
| Source file: ./usr.sbin/unbound/iterator/iter_delegpt.h |
| Source file: ./usr.sbin/unbound/iterator/iter_fwd.h |
| Source file: ./usr.sbin/unbound/daemon/cachedump.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dump_rrset_line |
|
2 |
8 |
64 |
4 |
| dump_rrset |
|
8 |
19 |
156 |
4 |
| dump_rrset_lruhash |
|
3 |
14 |
99 |
3 |
| dump_rrset_cache |
|
4 |
16 |
141 |
2 |
| dump_msg_ref |
|
5 |
23 |
167 |
2 |
| dump_msg |
|
11 |
47 |
334 |
4 |
| copy_msg |
|
4 |
23 |
221 |
4 |
| dump_msg_lruhash |
|
4 |
19 |
132 |
3 |
| dump_msg_cache |
|
4 |
15 |
126 |
2 |
| dump_cache |
|
3 |
8 |
47 |
2 |
| ssl_read_buf |
|
1 |
5 |
32 |
2 |
| read_fixed |
|
2 |
5 |
49 |
3 |
| load_rr |
|
9 |
48 |
386 |
9 |
| move_into_cache |
|
6 |
53 |
466 |
3 |
| load_rrset |
|
18 |
74 |
557 |
3 |
| load_rrset_cache |
|
5 |
11 |
83 |
2 |
| load_qinfo |
|
6 |
33 |
232 |
3 |
| load_ref |
|
6 |
33 |
232 |
6 |
| load_msg |
|
11 |
54 |
413 |
3 |
| load_msg_cache |
|
5 |
11 |
83 |
2 |
| load_cache |
|
3 |
8 |
53 |
2 |
| print_dp_details |
|
27 |
69 |
517 |
3 |
| print_dp_main |
|
8 |
24 |
186 |
3 |
| print_deleg_lookup |
|
14 |
76 |
455 |
5 |
| Source file: ./usr.sbin/unbound/iterator/iter_hints.h |
| Source file: ./usr.sbin/unbound/iterator/iter_utils.h |
| Source file: ./usr.sbin/unbound/iterator/iter_priv.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| priv_create |
|
3 |
14 |
79 |
1 |
| priv_delete |
|
2 |
6 |
28 |
1 |
| read_addrs |
|
5 |
27 |
166 |
2 |
| read_names |
|
6 |
35 |
213 |
2 |
| priv_apply_cfg |
|
3 |
13 |
82 |
2 |
| priv_lookup_addr |
|
1 |
5 |
32 |
3 |
| priv_lookup_name |
|
2 |
13 |
92 |
5 |
| priv_get_mem |
|
2 |
5 |
31 |
1 |
| remove_rr |
|
6 |
17 |
149 |
7 |
| priv_rrset_bad |
|
13 |
61 |
416 |
3 |
| Source file: ./usr.sbin/unbound/daemon/worker.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| worker_mem_report |
|
18 |
95 |
944 |
2 |
| worker_send_cmd |
|
2 |
7 |
60 |
2 |
| worker_handle_reply |
|
5 |
26 |
185 |
4 |
| worker_handle_service_reply |
|
5 |
26 |
195 |
4 |
| worker_err_ratelimit |
|
3 |
11 |
63 |
2 |
| worker_check_request |
|
11 |
47 |
311 |
2 |
| worker_handle_control_cmd |
|
8 |
39 |
205 |
5 |
| check_delegation_secure |
|
5 |
20 |
131 |
1 |
| deleg_remove_nonsecure_additional |
|
3 |
17 |
116 |
1 |
| answer_norec_from_cache |
|
18 |
72 |
531 |
6 |
| apply_respip_action |
|
9 |
24 |
163 |
7 |
| answer_from_cache |
|
36 |
119 |
862 |
11 |
| reply_and_prefetch |
|
2 |
9 |
70 |
5 |
| chaos_replystr |
|
7 |
40 |
346 |
5 |
| chaos_replyonestr |
|
1 |
5 |
41 |
4 |
| chaos_trustanchor |
|
6 |
37 |
305 |
3 |
| answer_chaos |
|
16 |
48 |
324 |
4 |
| deny_refuse |
|
6 |
31 |
208 |
6 |
| deny_refuse_all |
|
1 |
5 |
39 |
4 |
| deny_refuse_non_local |
|
1 |
5 |
39 |
4 |
| worker_handle_request |
|
84 |
393 |
2938 |
4 |
| worker_sighandler |
|
7 |
23 |
99 |
2 |
| worker_restart_timer |
|
2 |
9 |
55 |
1 |
| worker_stat_timer_cb |
|
3 |
14 |
92 |
1 |
| worker_probe_timer_cb |
|
2 |
9 |
65 |
1 |
| worker_create |
|
8 |
39 |
282 |
4 |
| worker_init |
|
33 |
143 |
998 |
4 |
| worker_work |
|
1 |
4 |
16 |
1 |
| worker_delete |
|
6 |
32 |
219 |
1 |
| worker_send_query |
|
3 |
20 |
162 |
11 |
| worker_alloc_cleanup |
|
1 |
6 |
41 |
1 |
| worker_stats_clear |
|
1 |
7 |
48 |
1 |
| worker_start_accept |
|
2 |
7 |
44 |
1 |
| worker_stop_accept |
|
2 |
7 |
44 |
1 |
| libworker_send_query |
|
1 |
11 |
85 |
11 |
| libworker_handle_reply |
|
1 |
7 |
41 |
4 |
| libworker_handle_service_reply |
|
1 |
7 |
41 |
4 |
| libworker_handle_control_cmd |
|
1 |
6 |
43 |
5 |
| libworker_fg_done_cb |
|
1 |
6 |
43 |
5 |
| libworker_bg_done_cb |
|
1 |
6 |
43 |
5 |
| libworker_event_done_cb |
|
1 |
6 |
43 |
5 |
| context_query_cmp |
|
1 |
5 |
28 |
2 |
| order_lock_cmp |
|
1 |
5 |
28 |
2 |
| codeline_cmp |
|
1 |
5 |
28 |
2 |
| Source file: ./usr.sbin/unbound/iterator/iter_fwd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fwd_cmp |
|
3 |
13 |
93 |
2 |
| forwards_create |
|
2 |
8 |
38 |
1 |
| fwd_zone_free |
|
2 |
7 |
35 |
1 |
| delfwdnode |
|
1 |
5 |
32 |
2 |
| fwd_del_tree |
|
2 |
6 |
34 |
1 |
| forwards_delete |
|
2 |
7 |
26 |
1 |
| forwards_insert_data |
|
4 |
30 |
183 |
6 |
| forwards_insert |
|
1 |
5 |
39 |
3 |
| fwd_init_parents |
|
5 |
20 |
127 |
1 |
| read_fwds_name |
|
4 |
22 |
104 |
1 |
| read_fwds_host |
|
4 |
22 |
121 |
2 |
| read_fwds_addr |
|
4 |
19 |
115 |
2 |
| read_forwards |
|
6 |
20 |
140 |
2 |
| fwd_add_stub_hole |
|
1 |
10 |
81 |
3 |
| make_stub_holes |
|
5 |
21 |
119 |
2 |
| forwards_apply_cfg |
|
4 |
13 |
72 |
2 |
| forwards_find |
|
2 |
12 |
92 |
3 |
| forwards_lookup |
|
7 |
28 |
180 |
3 |
| forwards_lookup_root |
|
1 |
5 |
28 |
2 |
| forwards_next_root |
|
9 |
40 |
240 |
2 |
| forwards_get_mem |
|
2 |
12 |
77 |
1 |
| fwd_zone_find |
|
1 |
9 |
71 |
3 |
| forwards_add_zone |
|
3 |
12 |
86 |
3 |
| forwards_delete_zone |
|
2 |
9 |
64 |
3 |
| forwards_add_stub_hole |
|
2 |
8 |
41 |
3 |
| forwards_delete_stub_hole |
|
3 |
11 |
74 |
3 |
| Source file: ./usr.sbin/unbound/iterator/iter_hints.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| hints_create |
|
2 |
8 |
38 |
1 |
| hints_stub_free |
|
2 |
6 |
28 |
1 |
| delhintnode |
|
1 |
5 |
32 |
2 |
| hints_del_tree |
|
1 |
4 |
22 |
1 |
| hints_delete |
|
2 |
7 |
26 |
1 |
| ah |
|
5 |
20 |
119 |
3 |
| compile_time_root_prime |
|
30 |
41 |
453 |
2 |
| hints_insert |
|
3 |
21 |
136 |
4 |
| read_stubs_name |
|
4 |
22 |
104 |
1 |
| read_stubs_host |
|
4 |
22 |
121 |
2 |
| read_stubs_addr |
|
4 |
19 |
115 |
2 |
| read_stubs |
|
6 |
19 |
138 |
2 |
| read_root_hints |
|
18 |
109 |
662 |
2 |
| read_root_hints_list |
|
8 |
17 |
125 |
2 |
| hints_apply_cfg |
|
6 |
20 |
124 |
2 |
| hints_lookup_root |
|
2 |
10 |
59 |
2 |
| hints_lookup_stub |
|
7 |
22 |
152 |
4 |
| hints_next_root |
|
1 |
4 |
24 |
2 |
| hints_get_mem |
|
2 |
11 |
66 |
1 |
| hints_add_stub |
|
3 |
14 |
111 |
4 |
| hints_delete_stub |
|
2 |
12 |
94 |
3 |
| Source file: ./usr.sbin/unbound/iterator/iter_resptype.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| response_type_from_cache |
|
11 |
29 |
205 |
2 |
| response_type_from_server |
|
49 |
98 |
750 |
4 |
| Source file: ./usr.sbin/unbound/iterator/iter_scrub.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| remove_rrset |
|
9 |
25 |
208 |
5 |
| has_additional |
|
9 |
16 |
46 |
1 |
| get_additional_name |
|
11 |
36 |
191 |
5 |
| mark_additional_rrset |
|
8 |
28 |
203 |
3 |
| parse_get_cname_target |
|
4 |
21 |
157 |
3 |
| synth_cname |
|
3 |
15 |
113 |
6 |
| synth_cname_rrset |
|
7 |
48 |
421 |
10 |
| pkt_strict_sub |
|
1 |
8 |
58 |
3 |
| pkt_sub |
|
1 |
6 |
41 |
3 |
| sub_of_pkt |
|
1 |
6 |
41 |
3 |
| scrub_normalize |
|
52 |
158 |
955 |
4 |
| store_rrset |
|
3 |
21 |
151 |
4 |
| soa_in_auth |
|
4 |
9 |
50 |
1 |
| sanitize_nsec_is_overreach |
|
4 |
19 |
106 |
2 |
| scrub_sanitize |
|
29 |
73 |
474 |
6 |
| scrub_message |
|
12 |
27 |
210 |
7 |
| Source file: ./usr.sbin/unbound/iterator/iter_utils.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fetch_fill |
|
3 |
11 |
83 |
2 |
| read_fetch_policy |
|
3 |
17 |
100 |
2 |
| caps_white_apply_cfg |
|
5 |
30 |
194 |
2 |
| iter_apply_cfg |
|
13 |
33 |
219 |
2 |
| iter_filter_unsuitable |
|
20 |
45 |
328 |
7 |
| iter_fill_rtt |
|
7 |
24 |
172 |
9 |
| iter_filter_order |
|
21 |
77 |
444 |
10 |
| iter_server_selection |
|
15 |
63 |
362 |
10 |
| dns_alloc_msg |
|
3 |
14 |
97 |
3 |
| dns_copy_msg |
|
4 |
14 |
108 |
2 |
| iter_dns_store |
|
2 |
8 |
63 |
8 |
| iter_ns_probability |
|
2 |
8 |
43 |
3 |
| causes_cycle |
|
1 |
15 |
101 |
5 |
| iter_mark_cycle_targets |
|
5 |
19 |
118 |
2 |
| iter_mark_pside_cycle_targets |
|
6 |
22 |
151 |
2 |
| iter_dp_is_useless |
|
11 |
21 |
136 |
3 |
| iter_indicates_dnssec_fwd |
|
8 |
16 |
108 |
2 |
| iter_indicates_dnssec |
|
15 |
33 |
234 |
4 |
| iter_msg_has_dnssec |
|
5 |
12 |
82 |
1 |
| iter_msg_from_zone |
|
17 |
37 |
289 |
4 |
| rrset_equal |
|
13 |
28 |
231 |
2 |
| reply_equal |
|
11 |
23 |
162 |
3 |
| caps_strip_reply |
|
7 |
23 |
160 |
1 |
| caps_failed_rcode |
|
2 |
5 |
31 |
1 |
| iter_store_parentside_rrset |
|
2 |
15 |
106 |
2 |
| reply_get_NS_rrset |
|
3 |
10 |
60 |
1 |
| iter_store_parentside_NS |
|
2 |
8 |
46 |
2 |
| iter_store_parentside_neg |
|
8 |
51 |
404 |
3 |
| iter_lookup_parent_NS_from_cache |
|
3 |
18 |
124 |
4 |
| iter_lookup_parent_glue_from_cache |
|
6 |
30 |
232 |
4 |
| iter_get_next_root |
|
6 |
17 |
105 |
3 |
| iter_scrub_ds |
|
6 |
21 |
200 |
3 |
| iter_dec_attempts |
|
4 |
13 |
80 |
2 |
| iter_merge_retry_counts |
|
6 |
27 |
170 |
2 |
| iter_ds_toolow |
|
15 |
38 |
297 |
2 |
| iter_dp_cangodown |
|
4 |
9 |
61 |
2 |
| Source file: ./usr.sbin/unbound/iterator/iterator.h |
| Source file: ./usr.sbin/unbound/iterator/iter_priv.h |
| Source file: ./usr.sbin/unbound/iterator/iter_donotq.h |
| Source file: ./usr.sbin/unbound/dnscrypt/dnscrypt.h |
| Source file: ./usr.sbin/unbound/dnscrypt/cert.h |
| Source file: ./usr.sbin/unbound/iterator/iter_delegpt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| delegpt_create |
|
2 |
9 |
54 |
1 |
| delegpt_copy |
|
7 |
28 |
223 |
2 |
| delegpt_set_name |
|
1 |
7 |
62 |
3 |
| delegpt_add_ns |
|
3 |
25 |
166 |
4 |
| delegpt_find_ns |
|
4 |
12 |
64 |
3 |
| delegpt_find_addr |
|
4 |
14 |
91 |
3 |
| delegpt_add_target |
|
6 |
18 |
128 |
8 |
| delegpt_add_addr |
|
5 |
30 |
187 |
6 |
| delegpt_count_ns |
|
3 |
11 |
69 |
3 |
| delegpt_count_addr |
|
4 |
17 |
113 |
4 |
| delegpt_log |
|
19 |
39 |
351 |
2 |
| delegpt_add_unused_targets |
|
2 |
10 |
50 |
1 |
| delegpt_count_targets |
|
2 |
8 |
41 |
1 |
| delegpt_count_missing_targets |
|
3 |
9 |
48 |
1 |
| find_NS |
|
3 |
9 |
62 |
3 |
| delegpt_from_message |
|
13 |
34 |
272 |
2 |
| delegpt_rrset_add_ns |
|
6 |
19 |
160 |
4 |
| delegpt_add_rrset_A |
|
4 |
22 |
191 |
4 |
| delegpt_add_rrset_AAAA |
|
4 |
22 |
191 |
4 |
| delegpt_add_rrset |
|
5 |
14 |
115 |
4 |
| delegpt_add_neg_msg |
|
9 |
17 |
133 |
2 |
| delegpt_no_ipv6 |
|
3 |
8 |
44 |
1 |
| delegpt_no_ipv4 |
|
3 |
8 |
44 |
1 |
| delegpt_create_mlc |
|
4 |
16 |
96 |
1 |
| delegpt_free_mlc |
|
4 |
22 |
112 |
1 |
| delegpt_set_name_mlc |
|
1 |
7 |
56 |
2 |
| delegpt_add_ns_mlc |
|
4 |
27 |
172 |
3 |
| delegpt_add_addr_mlc |
|
5 |
28 |
179 |
5 |
| delegpt_add_target_mlc |
|
6 |
18 |
120 |
7 |
| delegpt_get_mem |
|
3 |
11 |
79 |
1 |
| Source file: ./usr.sbin/unbound/services/cache/dns.h |
| Source file: ./usr.sbin/unbound/services/cache/rrset.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rrset_markdel |
|
1 |
5 |
26 |
1 |
| rrset_cache_create |
|
3 |
12 |
88 |
2 |
| rrset_cache_delete |
|
2 |
6 |
24 |
1 |
| rrset_cache_adjust |
|
5 |
11 |
68 |
3 |
| rrset_cache_touch |
|
3 |
12 |
99 |
4 |
| need_to_update_rrset |
|
16 |
30 |
210 |
5 |
| rrset_update_id |
|
2 |
10 |
74 |
2 |
| rrset_cache_update |
|
10 |
36 |
295 |
4 |
| rrset_cache_lookup |
|
3 |
25 |
192 |
8 |
| rrset_array_lock |
|
6 |
16 |
131 |
3 |
| rrset_array_unlock |
|
4 |
9 |
69 |
2 |
| rrset_array_unlock_touch |
|
11 |
25 |
220 |
4 |
| rrset_update_sec_status |
|
10 |
32 |
248 |
3 |
| rrset_check_sec_status |
|
9 |
32 |
248 |
3 |
| rrset_cache_remove |
|
1 |
13 |
115 |
6 |
| Source file: ./usr.sbin/unbound/services/cache/infra.h |
| Source file: ./usr.sbin/unbound/services/cache/rrset.h |
| Source file: ./usr.sbin/unbound/daemon/remote.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| timeval_subtract |
|
2 |
11 |
69 |
3 |
| timeval_divide |
|
2 |
13 |
88 |
3 |
| get_dh2048 |
|
9 |
50 |
669 |
1 |
| daemon_remote_create |
|
16 |
77 |
436 |
1 |
| daemon_remote_clear |
|
4 |
19 |
102 |
1 |
| daemon_remote_delete |
|
3 |
9 |
41 |
1 |
| add_open |
|
21 |
66 |
454 |
5 |
| daemon_remote_open_ports |
|
9 |
26 |
161 |
1 |
| accept_open |
|
3 |
16 |
103 |
2 |
| daemon_remote_open_accept |
|
3 |
13 |
71 |
3 |
| daemon_remote_stop_accept |
|
2 |
7 |
39 |
1 |
| daemon_remote_start_accept |
|
2 |
7 |
45 |
1 |
| remote_accept_callback |
|
8 |
64 |
417 |
4 |
| state_list_remove_elem |
|
3 |
10 |
56 |
2 |
| clean_point |
|
2 |
11 |
65 |
2 |
| ssl_print_text |
|
4 |
17 |
88 |
2 |
| ssl_print_vmsg |
|
1 |
6 |
44 |
3 |
| ssl_printf |
|
1 |
9 |
47 |
3 |
| ssl_read_line |
|
6 |
26 |
143 |
3 |
| skipwhite |
|
2 |
6 |
26 |
1 |
| send_ok |
|
1 |
4 |
18 |
1 |
| do_stop |
|
1 |
6 |
35 |
2 |
| do_reload |
|
1 |
6 |
35 |
2 |
| do_verbosity |
|
3 |
10 |
57 |
2 |
| print_stats |
|
23 |
52 |
628 |
3 |
| print_thread_stats |
|
1 |
7 |
58 |
3 |
| print_longnum |
|
2 |
11 |
87 |
3 |
| print_mem |
|
19 |
36 |
279 |
3 |
| print_uptime |
|
5 |
16 |
173 |
3 |
| print_hist |
|
4 |
25 |
169 |
2 |
| print_ext |
|
66 |
128 |
1335 |
2 |
| do_stats |
|
10 |
29 |
212 |
3 |
| parse_arg_name |
|
3 |
23 |
142 |
5 |
| find_arg2 |
|
6 |
22 |
140 |
3 |
| perform_zone_add |
|
6 |
36 |
224 |
3 |
| do_zone_add |
|
2 |
6 |
36 |
3 |
| do_zones_add |
|
6 |
16 |
102 |
2 |
| perform_zone_remove |
|
3 |
17 |
106 |
3 |
| do_zone_remove |
|
2 |
6 |
36 |
3 |
| do_zones_remove |
|
6 |
16 |
102 |
2 |
| perform_data_add |
|
2 |
8 |
44 |
3 |
| do_data_add |
|
2 |
6 |
36 |
3 |
| do_datas_add |
|
6 |
16 |
102 |
2 |
| perform_data_remove |
|
2 |
12 |
70 |
3 |
| do_data_remove |
|
2 |
6 |
36 |
3 |
| do_datas_remove |
|
6 |
16 |
102 |
2 |
| do_view_zone_add |
|
6 |
27 |
170 |
3 |
| do_view_zone_remove |
|
4 |
20 |
117 |
3 |
| do_view_data_add |
|
5 |
22 |
134 |
3 |
| do_view_data_remove |
|
4 |
20 |
117 |
3 |
| do_lookup |
|
2 |
10 |
69 |
3 |
| do_cache_remove |
|
3 |
21 |
159 |
5 |
| do_flush_type |
|
3 |
16 |
100 |
3 |
| do_flush_stats |
|
1 |
5 |
23 |
2 |
| infra_del_host |
|
3 |
17 |
137 |
2 |
| do_flush_infra |
|
3 |
29 |
193 |
3 |
| do_flush_requestlist |
|
1 |
5 |
27 |
2 |
| zone_del_rrset |
|
3 |
13 |
95 |
2 |
| zone_del_msg |
|
3 |
12 |
95 |
2 |
| zone_del_kcache |
|
3 |
12 |
93 |
2 |
| do_flush_zone |
|
3 |
29 |
217 |
3 |
| bogus_del_rrset |
|
2 |
9 |
62 |
2 |
| bogus_del_msg |
|
2 |
9 |
62 |
2 |
| bogus_del_kcache |
|
2 |
9 |
60 |
2 |
| do_flush_bogus |
|
2 |
20 |
159 |
2 |
| negative_del_rrset |
|
5 |
11 |
101 |
2 |
| negative_del_msg |
|
3 |
9 |
71 |
2 |
| negative_del_kcache |
|
2 |
9 |
60 |
2 |
| do_flush_negative |
|
2 |
20 |
159 |
2 |
| do_flush_name |
|
2 |
20 |
188 |
3 |
| ssl_print_name_dp |
|
10 |
30 |
231 |
5 |
| print_root_fwds |
|
2 |
9 |
74 |
3 |
| parse_delegpt |
|
9 |
54 |
296 |
4 |
| do_forward |
|
7 |
26 |
176 |
3 |
| parse_fs_args |
|
13 |
38 |
229 |
6 |
| do_forward_add |
|
6 |
25 |
162 |
3 |
| do_forward_remove |
|
4 |
14 |
103 |
3 |
| do_stub_add |
|
11 |
38 |
265 |
3 |
| do_stub_remove |
|
4 |
15 |
116 |
3 |
| do_insecure_add |
|
4 |
18 |
105 |
3 |
| do_insecure_remove |
|
3 |
13 |
81 |
3 |
| do_insecure_list |
|
4 |
13 |
86 |
2 |
| do_status |
|
13 |
29 |
241 |
2 |
| get_mesh_age |
|
4 |
15 |
108 |
4 |
| get_mesh_status |
|
10 |
49 |
449 |
4 |
| do_dump_requestlist |
|
7 |
32 |
239 |
2 |
| dump_infra_host |
|
8 |
41 |
364 |
2 |
| do_dump_infra |
|
1 |
9 |
71 |
2 |
| do_log_reopen |
|
1 |
6 |
44 |
2 |
| do_set_option |
|
6 |
18 |
147 |
3 |
| remote_get_opt_ssl |
|
1 |
5 |
34 |
2 |
| do_get_option |
|
2 |
9 |
56 |
3 |
| do_list_forwards |
|
8 |
21 |
162 |
2 |
| do_list_stubs |
|
8 |
22 |
189 |
2 |
| do_list_local_zones |
|
2 |
18 |
119 |
2 |
| do_list_local_data |
|
6 |
36 |
266 |
3 |
| do_view_list_local_zones |
|
3 |
13 |
78 |
3 |
| do_view_list_local_data |
|
3 |
13 |
80 |
3 |
| rate_list |
|
3 |
15 |
131 |
2 |
| ip_rate_list |
|
3 |
15 |
128 |
2 |
| do_ratelimit_list |
|
5 |
15 |
118 |
3 |
| do_ip_ratelimit_list |
|
5 |
15 |
118 |
3 |
| distribute_cmd |
|
5 |
15 |
112 |
3 |
| cmdcmp |
|
4 |
4 |
51 |
3 |
| execute_cmd |
|
63 |
147 |
1515 |
4 |
| daemon_remote_exec |
|
2 |
12 |
80 |
1 |
| handle_req |
|
8 |
33 |
236 |
3 |
| remote_control_callback |
|
12 |
64 |
375 |
4 |
| Source file: ./usr.sbin/unbound/services/outbound_list.h |
| Source file: ./usr.sbin/unbound/dnscrypt/dnscrypt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dnsc_shared_secrets_cache_key |
|
1 |
10 |
60 |
4 |
| dnsc_shared_secret_cache_insert |
|
3 |
24 |
146 |
4 |
| dnsc_shared_secrets_lookup |
|
1 |
6 |
30 |
3 |
| dnscrypt_server_uncurve |
|
13 |
81 |
423 |
5 |
| dnscrypt_pad |
|
3 |
21 |
144 |
5 |
| dnscrypt_hrtime |
|
2 |
13 |
73 |
1 |
| add_server_nonce |
|
2 |
13 |
105 |
1 |
| dnscrypt_server_curve |
|
7 |
54 |
285 |
6 |
| dnsc_read_from_file |
|
3 |
14 |
75 |
3 |
| dnsc_chroot_path |
|
4 |
9 |
64 |
2 |
| dnsc_parse_certs |
|
4 |
24 |
165 |
2 |
| dnsc_key_to_fingerprint |
|
3 |
18 |
106 |
2 |
| dnsc_find_cert |
|
4 |
17 |
106 |
2 |
| dnsc_load_local_data |
|
8 |
39 |
315 |
2 |
| key_get_es_version |
|
4 |
19 |
124 |
1 |
| dnsc_parse_keys |
|
9 |
67 |
445 |
2 |
| dnsc_handle_curved_request |
|
4 |
24 |
127 |
2 |
| dnsc_handle_uncurved_request |
|
4 |
21 |
107 |
1 |
| dnsc_create |
|
2 |
13 |
76 |
1 |
| dnsc_apply_cfg |
|
5 |
28 |
132 |
2 |
| dnsc_delete |
|
2 |
13 |
66 |
1 |
| dnsc_shared_secrets_sizefunc |
|
1 |
9 |
61 |
2 |
| dnsc_shared_secrets_compfunc |
|
1 |
4 |
22 |
2 |
| dnsc_shared_secrets_delkeyfunc |
|
1 |
6 |
42 |
2 |
| dnsc_shared_secrets_deldatafunc |
|
1 |
5 |
30 |
2 |
| Source file: ./usr.sbin/unbound/services/localzone.h |
| Source file: ./usr.sbin/unbound/services/modstack.h |
| Source file: ./usr.sbin/unbound/services/cache/dns.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| store_rrsets |
|
10 |
31 |
266 |
7 |
| dns_cache_store_msg |
|
4 |
25 |
206 |
8 |
| find_closest_of_type |
|
4 |
20 |
117 |
7 |
| addr_to_additional |
|
2 |
9 |
64 |
4 |
| msg_cache_lookup |
|
3 |
20 |
147 |
8 |
| find_add_addrs |
|
10 |
47 |
344 |
6 |
| cache_fill_missing |
|
8 |
47 |
346 |
4 |
| find_add_ds |
|
6 |
24 |
184 |
5 |
| dns_msg_create |
|
6 |
29 |
214 |
6 |
| dns_msg_authadd |
|
2 |
9 |
63 |
4 |
| dns_msg_ansadd |
|
2 |
9 |
63 |
4 |
| dns_cache_find_delegation |
|
10 |
36 |
278 |
8 |
| gen_dns_msg |
|
6 |
23 |
178 |
3 |
| tomsg |
|
14 |
49 |
421 |
6 |
| rrset_msg |
|
4 |
26 |
200 |
4 |
| synth_dname_msg |
|
11 |
81 |
695 |
4 |
| fill_any |
|
10 |
42 |
282 |
6 |
| dns_cache_lookup |
|
27 |
100 |
764 |
8 |
| dns_cache_store |
|
7 |
41 |
307 |
8 |
| dns_cache_prefetch_adjust |
|
3 |
17 |
117 |
4 |
| Source file: ./usr.sbin/unbound/services/outside_network.h |
| Source file: ./usr.sbin/unbound/services/cache/infra.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| infra_sizefunc |
|
1 |
6 |
54 |
2 |
| infra_compfunc |
|
4 |
14 |
110 |
2 |
| infra_delkeyfunc |
|
2 |
9 |
56 |
2 |
| infra_deldatafunc |
|
1 |
5 |
32 |
2 |
| rate_sizefunc |
|
1 |
6 |
54 |
2 |
| rate_compfunc |
|
3 |
11 |
77 |
2 |
| rate_delkeyfunc |
|
2 |
9 |
56 |
2 |
| rate_deldatafunc |
|
1 |
5 |
32 |
2 |
| domain_limit_findcreate |
|
5 |
40 |
238 |
2 |
| infra_ratelimit_cfg_insert |
|
5 |
19 |
123 |
2 |
| infra_create |
|
6 |
41 |
264 |
1 |
| domain_limit_free |
|
2 |
7 |
42 |
2 |
| infra_delete |
|
2 |
10 |
54 |
1 |
| infra_adjust |
|
4 |
15 |
96 |
2 |
| hash_addr |
|
4 |
21 |
177 |
3 |
| hash_infra |
|
1 |
4 |
31 |
3 |
| infra_lookup_nottl |
|
1 |
13 |
116 |
6 |
| data_entry_init |
|
1 |
17 |
109 |
3 |
| new_entry |
|
4 |
28 |
214 |
6 |
| infra_host |
|
11 |
55 |
497 |
9 |
| infra_set_lame |
|
13 |
31 |
244 |
9 |
| infra_update_tcp_works |
|
3 |
14 |
95 |
5 |
| infra_rtt_update |
|
15 |
47 |
351 |
9 |
| infra_get_host_rto |
|
4 |
24 |
209 |
11 |
| infra_edns_update |
|
8 |
26 |
210 |
7 |
| infra_get_lame_rtt |
|
18 |
71 |
457 |
11 |
| infra_find_ratelimit |
|
7 |
19 |
139 |
3 |
| ip_rate_sizefunc |
|
1 |
6 |
50 |
2 |
| ip_rate_compfunc |
|
1 |
7 |
58 |
2 |
| ip_rate_delkeyfunc |
|
2 |
8 |
49 |
2 |
| infra_find_ratedata |
|
1 |
11 |
81 |
4 |
| infra_find_ip_ratedata |
|
1 |
12 |
92 |
3 |
| infra_create_ratedata |
|
4 |
26 |
201 |
4 |
| infra_ip_create_ratedata |
|
3 |
22 |
186 |
3 |
| infra_rate_find_second |
|
5 |
17 |
133 |
2 |
| infra_rate_max |
|
4 |
12 |
83 |
2 |
| infra_ratelimit_inc |
|
6 |
27 |
186 |
4 |
| infra_ratelimit_dec |
|
4 |
14 |
89 |
4 |
| infra_ratelimit_exceeded |
|
4 |
17 |
103 |
4 |
| infra_get_mem |
|
3 |
7 |
58 |
1 |
| infra_ip_ratelimit_inc |
|
5 |
27 |
174 |
3 |
| Source file: ./usr.sbin/unbound/services/outbound_list.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| outbound_list_init |
|
1 |
4 |
15 |
1 |
| outbound_list_clear |
|
2 |
11 |
53 |
1 |
| outbound_list_insert |
|
2 |
8 |
48 |
2 |
| outbound_list_remove |
|
4 |
11 |
71 |
2 |
| Source file: ./usr.sbin/unbound/services/view.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| view_cmp |
|
1 |
6 |
50 |
2 |
| views_create |
|
2 |
11 |
77 |
1 |
| view_delete |
|
2 |
10 |
50 |
1 |
| delviewnode |
|
1 |
5 |
32 |
2 |
| views_delete |
|
2 |
8 |
41 |
1 |
| view_create |
|
3 |
14 |
104 |
1 |
| views_enter_view_name |
|
3 |
19 |
114 |
2 |
| views_apply_cfg |
|
14 |
67 |
382 |
2 |
| views_find_view |
|
3 |
19 |
127 |
3 |
| views_print |
|
1 |
4 |
14 |
1 |
| Source file: ./usr.sbin/unbound/services/view.h |
| Source file: ./usr.sbin/unbound/services/authzone.h |
| Source file: ./usr.sbin/unbound/services/mesh.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| timeval_subtract |
|
2 |
10 |
69 |
3 |
| timeval_add |
|
2 |
9 |
52 |
2 |
| timeval_divide |
|
2 |
13 |
87 |
3 |
| timeval_smaller |
|
4 |
11 |
63 |
2 |
| client_info_compare |
|
19 |
30 |
230 |
2 |
| mesh_state_compare |
|
20 |
30 |
292 |
2 |
| mesh_state_ref_compare |
|
1 |
6 |
50 |
2 |
| mesh_create |
|
4 |
31 |
233 |
2 |
| mesh_delete_helper |
|
1 |
5 |
30 |
1 |
| mesh_delete |
|
3 |
10 |
52 |
1 |
| mesh_delete_all |
|
2 |
16 |
104 |
1 |
| mesh_make_new_space |
|
9 |
29 |
208 |
2 |
| mesh_new_client |
|
28 |
104 |
697 |
7 |
| mesh_new_callback |
|
19 |
55 |
362 |
8 |
| mesh_new_prefetch |
|
10 |
45 |
312 |
4 |
| mesh_report_reply |
|
3 |
12 |
73 |
4 |
| mesh_state_create |
|
7 |
68 |
518 |
6 |
| mesh_state_is_unique |
|
1 |
4 |
16 |
1 |
| mesh_state_make_unique |
|
1 |
4 |
15 |
1 |
| mesh_state_cleanup |
|
6 |
29 |
234 |
1 |
| mesh_state_delete |
|
9 |
36 |
252 |
1 |
| find_in_subsub |
|
4 |
11 |
76 |
3 |
| mesh_detect_cycle_found |
|
5 |
13 |
69 |
2 |
| mesh_detach_subs |
|
6 |
21 |
154 |
1 |
| mesh_add_sub |
|
7 |
33 |
214 |
7 |
| mesh_attach_sub |
|
7 |
18 |
141 |
6 |
| mesh_state_attachment |
|
6 |
25 |
158 |
2 |
| mesh_do_callback |
|
14 |
52 |
474 |
4 |
| mesh_send_reply |
|
32 |
97 |
1009 |
5 |
| mesh_query_done |
|
7 |
28 |
204 |
1 |
| mesh_walk_supers |
|
1 |
12 |
116 |
2 |
| mesh_area_find |
|
1 |
16 |
114 |
6 |
| mesh_state_add_cb |
|
4 |
25 |
160 |
7 |
| mesh_state_add_reply |
|
12 |
63 |
539 |
6 |
| mesh_continue |
|
14 |
56 |
385 |
4 |
| mesh_run |
|
5 |
29 |
245 |
4 |
| mesh_log_list |
|
9 |
19 |
175 |
1 |
| mesh_stats |
|
2 |
23 |
141 |
2 |
| mesh_stats_clear |
|
2 |
15 |
95 |
1 |
| mesh_get_mem |
|
1 |
11 |
82 |
1 |
| mesh_detect_cycle |
|
2 |
9 |
76 |
5 |
| mesh_list_insert |
|
2 |
10 |
57 |
3 |
| mesh_list_remove |
|
3 |
10 |
67 |
3 |
| Source file: ./usr.sbin/unbound/services/mesh.h |
| Source file: ./usr.sbin/unbound/services/modstack.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| count_modules |
|
9 |
16 |
90 |
1 |
| modstack_init |
|
1 |
5 |
21 |
1 |
| modstack_config |
|
6 |
30 |
175 |
2 |
| module_list_avail |
|
5 |
14 |
37 |
1 |
| module_funcs_avail |
|
5 |
14 |
51 |
1 |
| module_factory |
|
5 |
18 |
122 |
1 |
| modstack_setup |
|
5 |
22 |
150 |
3 |
| modstack_desetup |
|
2 |
11 |
85 |
2 |
| modstack_find |
|
3 |
9 |
59 |
2 |
| mod_get_mem |
|
2 |
10 |
82 |
2 |
| Source file: ./usr.sbin/unbound/services/localzone.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| local_zones_create |
|
2 |
11 |
77 |
1 |
| lzdel |
|
1 |
5 |
34 |
2 |
| local_zones_delete |
|
2 |
8 |
41 |
1 |
| local_zone_delete |
|
2 |
10 |
50 |
1 |
| local_zone_cmp |
|
3 |
12 |
93 |
2 |
| local_data_cmp |
|
1 |
8 |
64 |
2 |
| parse_dname |
|
2 |
11 |
68 |
4 |
| local_zone_create |
|
3 |
23 |
166 |
5 |
| lz_enter_zone_dname |
|
3 |
27 |
185 |
6 |
| lz_enter_zone |
|
4 |
23 |
141 |
4 |
| rrstr_get_rr_content |
|
3 |
25 |
191 |
9 |
| get_rr_nameclass |
|
3 |
22 |
146 |
4 |
| local_data_find_type |
|
5 |
12 |
83 |
3 |
| rr_is_duplicate |
|
4 |
10 |
69 |
3 |
| new_local_rrset |
|
4 |
34 |
234 |
4 |
| rrset_insert_rr |
|
7 |
36 |
318 |
6 |
| lz_find_node |
|
1 |
9 |
69 |
4 |
| lz_find_create_node |
|
7 |
31 |
205 |
5 |
| lz_enter_rr_into_zone |
|
17 |
67 |
431 |
2 |
| lz_enter_rr_str |
|
3 |
26 |
164 |
2 |
| lz_enter_zone_tag |
|
4 |
29 |
193 |
5 |
| lz_enter_override |
|
10 |
68 |
405 |
5 |
| lz_enter_zones |
|
3 |
12 |
78 |
2 |
| lz_exists |
|
3 |
19 |
129 |
2 |
| lz_nodefault |
|
8 |
14 |
122 |
2 |
| add_empty_default |
|
6 |
23 |
156 |
3 |
| local_zone_enter_defaults |
|
30 |
81 |
441 |
2 |
| lz_enter_overrides |
|
3 |
10 |
65 |
2 |
| init_parents |
|
6 |
27 |
181 |
1 |
| lz_setup_implicit |
|
11 |
72 |
400 |
2 |
| lz_enter_zone_tags |
|
4 |
13 |
86 |
2 |
| lz_enter_data |
|
3 |
9 |
55 |
2 |
| lz_freeup_cfg |
|
1 |
9 |
48 |
1 |
| local_zones_apply_cfg |
|
7 |
24 |
117 |
2 |
| local_zones_lookup |
|
1 |
6 |
47 |
6 |
| local_zones_tags_lookup |
|
10 |
33 |
223 |
9 |
| local_zones_find |
|
1 |
11 |
76 |
5 |
| local_zone_out |
|
2 |
12 |
85 |
1 |
| local_zones_print |
|
12 |
62 |
351 |
1 |
| local_encode |
|
4 |
30 |
251 |
8 |
| local_error_encode |
|
2 |
14 |
112 |
7 |
| local_data_find_tag_datas |
|
14 |
72 |
662 |
4 |
| find_tag_datas |
|
6 |
17 |
120 |
4 |
| local_data_answer |
|
16 |
63 |
503 |
14 |
| lz_zone_answer |
|
16 |
39 |
274 |
8 |
| lz_inform_print |
|
1 |
12 |
126 |
3 |
| lz_type |
|
7 |
20 |
148 |
12 |
| local_data_find_tag_action |
|
11 |
30 |
245 |
10 |
| local_zones_answer |
|
16 |
59 |
461 |
16 |
| local_zone_type2str |
|
14 |
19 |
95 |
1 |
| local_zone_str2type |
|
13 |
29 |
224 |
2 |
| set_kiddo_parents |
|
5 |
15 |
126 |
3 |
| local_zones_add_zone |
|
3 |
21 |
145 |
6 |
| local_zones_del_zone |
|
1 |
8 |
59 |
2 |
| local_zones_add_RR |
|
4 |
30 |
180 |
2 |
| is_terminal |
|
3 |
9 |
68 |
1 |
| del_empty_term |
|
5 |
12 |
88 |
5 |
| del_local_rrset |
|
5 |
12 |
83 |
2 |
| local_zones_del_data |
|
6 |
34 |
251 |
5 |
| Source file: ./usr.sbin/unbound/services/listen_dnsport.h |
| Source file: ./usr.sbin/user/usermgmt.h |
| Source file: ./usr.sbin/unbound/services/authzone.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| msg_create |
|
4 |
23 |
182 |
2 |
| msg_grow_array |
|
4 |
18 |
147 |
2 |
| get_rrset_ttl |
|
1 |
6 |
30 |
1 |
| auth_packed_rrset_copy_region |
|
1 |
14 |
134 |
5 |
| msg_ttl |
|
4 |
13 |
134 |
1 |
| msg_rrset_duplicate |
|
6 |
13 |
109 |
5 |
| msg_add_rrset_an |
|
5 |
20 |
154 |
5 |
| msg_add_rrset_ns |
|
5 |
19 |
143 |
5 |
| msg_add_rrset_ar |
|
5 |
18 |
132 |
5 |
| auth_zones_create |
|
2 |
12 |
84 |
1 |
| auth_zone_cmp |
|
3 |
12 |
93 |
2 |
| auth_data_cmp |
|
1 |
8 |
64 |
2 |
| auth_rrset_delete |
|
2 |
6 |
28 |
1 |
| auth_data_delete |
|
3 |
13 |
63 |
1 |
| auth_data_del |
|
1 |
5 |
34 |
2 |
| auth_zone_delete |
|
2 |
9 |
55 |
1 |
| auth_zone_create |
|
4 |
28 |
200 |
4 |
| auth_zone_find |
|
1 |
11 |
76 |
4 |
| auth_zone_find_less_equal |
|
1 |
11 |
82 |
5 |
| auth_zones_find_zone |
|
5 |
18 |
129 |
2 |
| auth_zones_find_or_add_zone |
|
3 |
17 |
107 |
2 |
| auth_zone_set_zonefile |
|
4 |
14 |
72 |
2 |
| auth_zone_set_fallback |
|
3 |
10 |
63 |
2 |
| az_domain_create |
|
4 |
21 |
148 |
3 |
| az_find_name |
|
1 |
9 |
67 |
3 |
| az_find_domain |
|
1 |
11 |
83 |
4 |
| az_domain_find_or_create |
|
2 |
9 |
51 |
3 |
| az_domain_rrset |
|
4 |
12 |
57 |
2 |
| domain_remove_rrset |
|
5 |
17 |
91 |
2 |
| rdata_duplicate |
|
4 |
11 |
77 |
3 |
| rrsig_rdata_get_type_covered |
|
2 |
6 |
28 |
2 |
| rrset_add_rr |
|
10 |
57 |
528 |
5 |
| rrset_create |
|
6 |
42 |
325 |
5 |
| rrsig_num_that_cover |
|
4 |
15 |
110 |
3 |
| rrset_moveover_rrsigs |
|
18 |
102 |
890 |
4 |
| az_domain_add_rr |
|
15 |
42 |
295 |
5 |
| az_insert_rr |
|
4 |
25 |
171 |
4 |
| az_parse_file |
|
13 |
64 |
373 |
5 |
| auth_zone_read_zonefile |
|
9 |
33 |
247 |
1 |
| write_out |
|
4 |
15 |
86 |
2 |
| auth_zone_write_rrset |
|
4 |
23 |
195 |
4 |
| auth_zone_write_domain |
|
8 |
19 |
126 |
3 |
| auth_zone_write_file |
|
3 |
19 |
106 |
2 |
| auth_zones_read_zones |
|
2 |
16 |
93 |
1 |
| auth_zones_cfg_zonefile |
|
4 |
19 |
112 |
2 |
| auth_zones_cfg_fallback |
|
4 |
19 |
112 |
2 |
| auth_zones_apply_config |
|
4 |
11 |
59 |
2 |
| auth_zone_del |
|
1 |
5 |
34 |
2 |
| auth_zones_delete |
|
2 |
7 |
41 |
1 |
| domain_has_only_nsec3 |
|
4 |
14 |
66 |
1 |
| az_find_wildcard_domain |
|
2 |
10 |
76 |
3 |
| az_find_wildcard |
|
7 |
19 |
119 |
3 |
| az_find_candidate_ce |
|
4 |
20 |
113 |
3 |
| az_domain_go_up |
|
3 |
11 |
71 |
2 |
| az_find_ce |
|
11 |
36 |
213 |
6 |
| az_add_additionals_from |
|
10 |
29 |
228 |
5 |
| az_add_negative_soa |
|
6 |
22 |
238 |
3 |
| az_empty_nonterminal |
|
8 |
19 |
136 |
3 |
| synth_cname_buf |
|
2 |
11 |
77 |
7 |
| create_synth_cname |
|
9 |
56 |
520 |
7 |
| add_synth_cname |
|
4 |
21 |
137 |
7 |
| az_change_dnames |
|
5 |
15 |
133 |
5 |
| az_find_nsec_cover |
|
4 |
13 |
103 |
2 |
| az_nsec_wildcard_denial |
|
4 |
23 |
171 |
5 |
| az_nsec3_param |
|
10 |
32 |
255 |
5 |
| az_nsec3_hash |
|
5 |
22 |
192 |
8 |
| az_nsec3_hashname |
|
5 |
24 |
193 |
9 |
| az_nsec3_findnode |
|
5 |
18 |
120 |
3 |
| az_nsec3_find_cover |
|
7 |
21 |
163 |
7 |
| az_nsec3_find_exact |
|
3 |
14 |
102 |
7 |
| az_nsec3_get_nextcloser |
|
2 |
12 |
87 |
5 |
| az_nsec3_find_ce |
|
3 |
14 |
97 |
8 |
| az_nsec3_insert |
|
4 |
10 |
76 |
4 |
| az_add_nsec3_proof |
|
9 |
41 |
299 |
9 |
| az_generate_positive_answer |
|
8 |
16 |
140 |
5 |
| az_generate_any_answer |
|
12 |
27 |
226 |
4 |
| follow_cname_chain |
|
11 |
29 |
240 |
5 |
| az_generate_cname_answer |
|
4 |
10 |
87 |
6 |
| az_generate_notype_answer |
|
6 |
15 |
129 |
4 |
| az_generate_referral_answer |
|
8 |
23 |
208 |
5 |
| az_generate_dname_answer |
|
7 |
19 |
176 |
6 |
| az_generate_wildcard_answer |
|
15 |
45 |
414 |
7 |
| az_generate_nxdomain_answer |
|
8 |
18 |
168 |
5 |
| az_generate_answer_with_node |
|
4 |
16 |
134 |
5 |
| az_generate_answer_nonexistnode |
|
9 |
21 |
178 |
7 |
| auth_zone_generate_answer |
|
9 |
41 |
367 |
5 |
| auth_zones_lookup |
|
2 |
20 |
138 |
7 |
| Source file: ./usr.sbin/user/main.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
9 |
21 |
149 |
2 |
| Source file: ./usr.sbin/dhcpd/options.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| parse_options |
|
6 |
21 |
172 |
1 |
| parse_option_buffer |
|
10 |
65 |
415 |
3 |
| create_priority_list |
|
10 |
36 |
260 |
3 |
| cons_options |
|
19 |
59 |
411 |
9 |
| store_option_fragment |
|
4 |
15 |
93 |
5 |
| store_options |
|
30 |
86 |
551 |
6 |
| do_packet |
|
6 |
27 |
193 |
6 |
| Source file: ./usr.sbin/unbound/services/listen_dnsport.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| verbose_print_addr |
|
9 |
22 |
178 |
1 |
| systemd_get_activated |
|
11 |
48 |
259 |
6 |
| create_udp_sock |
|
88 |
292 |
1738 |
14 |
| create_tcp_accept_sock |
|
59 |
143 |
943 |
8 |
| create_local_accept_sock |
|
12 |
50 |
310 |
3 |
| make_sock |
|
18 |
41 |
325 |
13 |
| make_sock_port |
|
4 |
28 |
259 |
13 |
| port_insert |
|
2 |
12 |
70 |
3 |
| set_recvpktinfo |
|
12 |
39 |
230 |
2 |
| ports_create_if |
|
28 |
74 |
507 |
16 |
| listen_cp_insert |
|
2 |
11 |
64 |
2 |
| listen_create |
|
20 |
68 |
417 |
8 |
| listen_list_delete |
|
2 |
10 |
47 |
1 |
| listen_delete |
|
5 |
12 |
58 |
1 |
| listening_ports_open |
|
20 |
85 |
544 |
2 |
| listening_ports_free |
|
3 |
13 |
60 |
1 |
| listen_get_mem |
|
4 |
16 |
115 |
1 |
| listen_stop_accept |
|
4 |
10 |
59 |
1 |
| listen_start_accept |
|
4 |
10 |
65 |
1 |
| Source file: ./usr.sbin/dhcpd/conflex.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| new_parse |
|
1 |
10 |
46 |
1 |
| get_char |
|
6 |
26 |
121 |
1 |
| get_token |
|
11 |
33 |
175 |
1 |
| next_token |
|
4 |
18 |
75 |
2 |
| peek_token |
|
4 |
20 |
85 |
2 |
| skip_to_eol |
|
4 |
11 |
42 |
1 |
| read_string |
|
11 |
21 |
133 |
1 |
| read_num_or_name |
|
13 |
34 |
214 |
2 |
| kw_cmp |
|
1 |
4 |
34 |
2 |
| intern |
|
2 |
9 |
65 |
2 |
| Source file: ./usr.sbin/dhcpd/sync.h |
| Source file: ./usr.sbin/dhcpd/bootp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bootp |
|
54 |
190 |
1554 |
1 |
| Source file: ./usr.sbin/dhcpd/db.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| write_lease |
|
30 |
72 |
504 |
1 |
| commit_leases |
|
6 |
17 |
87 |
1 |
| db_startup |
|
3 |
12 |
68 |
1 |
| new_lease_file |
|
1 |
11 |
54 |
1 |
| Source file: ./usr.sbin/dhcpd/alloc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| new_tree_cache |
|
3 |
13 |
69 |
1 |
| free_tree_cache |
|
1 |
5 |
24 |
1 |
| new_lease_state |
|
3 |
13 |
62 |
1 |
| free_lease_state |
|
1 |
6 |
30 |
2 |
| Source file: ./usr.sbin/dhcpd/log.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| log_init |
|
2 |
10 |
48 |
2 |
| log_procinit |
|
2 |
5 |
19 |
1 |
| log_setverbose |
|
1 |
4 |
11 |
1 |
| log_getverbose |
|
1 |
4 |
11 |
1 |
| logit |
|
1 |
7 |
38 |
3 |
| vlog |
|
3 |
17 |
99 |
3 |
| log_warn |
|
3 |
21 |
120 |
2 |
| log_warnx |
|
1 |
7 |
35 |
2 |
| log_info |
|
1 |
7 |
35 |
2 |
| log_debug |
|
2 |
9 |
41 |
2 |
| vfatalc |
|
3 |
17 |
106 |
3 |
| fatal |
|
1 |
8 |
40 |
2 |
| fatalx |
|
1 |
8 |
40 |
2 |
| Source file: ./usr.sbin/unbound/iterator/iterator.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| iter_init |
|
3 |
19 |
114 |
2 |
| caps_free |
|
2 |
7 |
41 |
2 |
| iter_deinit |
|
4 |
17 |
115 |
2 |
| iter_new |
|
3 |
39 |
257 |
2 |
| next_state |
|
3 |
11 |
47 |
2 |
| final_state |
|
1 |
4 |
19 |
1 |
| error_supers |
|
8 |
29 |
203 |
3 |
| error_response |
|
2 |
10 |
64 |
3 |
| error_response_cache |
|
6 |
34 |
269 |
3 |
| prepend_is_duplicate |
|
6 |
14 |
108 |
3 |
| iter_prepend |
|
12 |
44 |
391 |
3 |
| iter_find_rrset_in_prepend_answer |
|
4 |
14 |
81 |
2 |
| iter_add_prepend_answer |
|
3 |
15 |
92 |
3 |
| iter_add_prepend_auth |
|
3 |
15 |
92 |
3 |
| handle_cname_response |
|
14 |
34 |
281 |
5 |
| can_have_last_resort |
|
5 |
17 |
112 |
4 |
| is_caps_whitelisted |
|
2 |
7 |
61 |
2 |
| target_count_create |
|
3 |
8 |
51 |
1 |
| target_count_increase |
|
2 |
6 |
32 |
2 |
| generate_sub_request |
|
9 |
63 |
436 |
11 |
| prime_root |
|
6 |
37 |
254 |
4 |
| prime_stub |
|
9 |
53 |
373 |
5 |
| generate_a_aaaa_check |
|
11 |
36 |
303 |
3 |
| generate_ns_check |
|
10 |
38 |
304 |
3 |
| generate_dnskey_prefetch |
|
7 |
24 |
188 |
3 |
| forward_request |
|
6 |
20 |
153 |
2 |
| processInitRequest |
|
50 |
207 |
1433 |
4 |
| processInitRequest2 |
|
7 |
28 |
174 |
3 |
| processInitRequest3 |
|
9 |
26 |
207 |
3 |
| generate_parentside_target_query |
|
5 |
35 |
266 |
7 |
| generate_target_query |
|
2 |
10 |
83 |
7 |
| query_for_targets |
|
21 |
68 |
424 |
6 |
| processLastResort |
|
41 |
130 |
998 |
4 |
| processDSNSFind |
|
5 |
26 |
206 |
3 |
| processQueryTargets |
|
70 |
253 |
1823 |
4 |
| find_NS |
|
3 |
9 |
62 |
3 |
| processQueryResponse |
|
100 |
299 |
2355 |
3 |
| prime_supers |
|
5 |
29 |
198 |
3 |
| processPrimeResponse |
|
5 |
31 |
238 |
2 |
| processTargetResponse |
|
9 |
47 |
336 |
3 |
| processDSNSResponse |
|
4 |
18 |
117 |
3 |
| processClassResponse |
|
13 |
78 |
691 |
3 |
| processCollectClass |
|
6 |
32 |
213 |
2 |
| processFinished |
|
13 |
36 |
285 |
3 |
| iter_inform_super |
|
7 |
14 |
123 |
3 |
| iter_handle |
|
11 |
43 |
216 |
4 |
| process_request |
|
1 |
8 |
52 |
4 |
| process_response |
|
32 |
131 |
899 |
6 |
| iter_operate |
|
13 |
38 |
290 |
4 |
| iter_clear |
|
5 |
14 |
90 |
2 |
| iter_get_mem |
|
2 |
8 |
74 |
2 |
| iter_get_funcblock |
|
1 |
4 |
10 |
1 |
| iter_state_to_string |
|
10 |
26 |
73 |
1 |
| iter_state_is_responsestate |
|
6 |
14 |
39 |
1 |
| Source file: ./usr.sbin/dhcpd/print.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| print_hw_addr |
|
6 |
22 |
145 |
3 |
| Source file: ./usr.sbin/dhcpd/dispatch.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| discover_interfaces |
|
41 |
148 |
970 |
1 |
| dispatch |
|
27 |
73 |
475 |
1 |
| got_one |
|
6 |
34 |
218 |
1 |
| interface_status |
|
9 |
44 |
261 |
1 |
| locate_network |
|
4 |
19 |
103 |
1 |
| add_timeout |
|
12 |
44 |
254 |
3 |
| cancel_timeout |
|
6 |
19 |
103 |
2 |
| add_protocol |
|
2 |
13 |
80 |
4 |
| remove_protocol |
|
4 |
14 |
74 |
1 |
| get_rdomain |
|
3 |
13 |
103 |
1 |
| Source file: ./usr.sbin/dhcpd/tree.h |
| Source file: ./usr.sbin/dhcpd/pfutils.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pftable_handler |
|
19 |
54 |
416 |
0 |
| pf_change_table |
|
6 |
22 |
162 |
4 |
| pf_kill_state |
|
3 |
24 |
255 |
2 |
| atomicio |
|
6 |
21 |
116 |
4 |
| pfmsg |
|
6 |
19 |
94 |
2 |
| Source file: ./usr.sbin/dhcpd/packet.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| checksum |
|
5 |
15 |
103 |
3 |
| wrapsum |
|
1 |
5 |
21 |
1 |
| assemble_hw_header |
|
3 |
13 |
119 |
4 |
| assemble_udp_ip_header |
|
1 |
31 |
311 |
8 |
| decode_hw_header |
|
2 |
11 |
92 |
3 |
| decode_udp_ip_header |
|
23 |
83 |
578 |
3 |
| Source file: ./usr.sbin/dhcpd/bpf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| if_register_bpf |
|
3 |
10 |
69 |
1 |
| if_register_send |
|
1 |
4 |
17 |
1 |
| if_register_receive |
|
12 |
37 |
302 |
1 |
| send_packet |
|
2 |
20 |
172 |
6 |
| receive_packet |
|
10 |
64 |
403 |
5 |
| Source file: ./usr.sbin/dhcpd/tree.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cons |
|
2 |
10 |
49 |
2 |
| tree_cache |
|
2 |
12 |
60 |
1 |
| tree_const |
|
3 |
14 |
95 |
2 |
| tree_concat |
|
7 |
32 |
247 |
2 |
| tree_limit |
|
4 |
18 |
109 |
2 |
| tree_evaluate |
|
4 |
27 |
153 |
1 |
| tree_evaluate_recurse |
|
5 |
31 |
187 |
4 |
| do_data_copy |
|
3 |
10 |
68 |
5 |
| Source file: ./usr.sbin/dhcpd/udpsock.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| udpsock_startup |
|
5 |
25 |
206 |
1 |
| udpsock_handler |
|
12 |
81 |
609 |
1 |
| udpsock_send_packet |
|
1 |
7 |
60 |
6 |
| Source file: ./usr.sbin/dhcpd/confpars.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| readconf |
|
4 |
31 |
162 |
1 |
| read_leases |
|
6 |
30 |
140 |
1 |
| parse_statement |
|
56 |
205 |
971 |
5 |
| parse_allow_deny |
|
5 |
25 |
102 |
3 |
| parse_boolean |
|
5 |
17 |
92 |
1 |
| parse_lbrace |
|
2 |
12 |
49 |
1 |
| parse_host_declaration |
|
10 |
52 |
338 |
2 |
| parse_class_declaration |
|
7 |
37 |
210 |
3 |
| parse_shared_net_declaration |
|
11 |
64 |
361 |
2 |
| parse_subnet_declaration |
|
14 |
76 |
474 |
2 |
| parse_group_declaration |
|
5 |
25 |
135 |
2 |
| parse_cidr |
|
7 |
30 |
175 |
3 |
| parse_ip_addr_or_hostname |
|
11 |
41 |
230 |
2 |
| parse_fixed_addr_param |
|
5 |
20 |
107 |
1 |
| parse_option_param |
|
55 |
214 |
1168 |
2 |
| parse_lease_declaration |
|
33 |
148 |
721 |
1 |
| parse_address_range |
|
6 |
31 |
220 |
2 |
| Source file: ./usr.sbin/user/user.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| memsave |
|
2 |
8 |
70 |
3 |
| asystem |
|
3 |
16 |
90 |
2 |
| removehomedir |
|
6 |
29 |
159 |
3 |
| checkeuid |
|
2 |
6 |
23 |
1 |
| copydotfiles |
|
9 |
27 |
164 |
2 |
| creategid |
|
16 |
70 |
461 |
3 |
| modify_gid |
|
21 |
94 |
583 |
2 |
| append_group |
|
29 |
115 |
784 |
3 |
| valid_login |
|
10 |
16 |
105 |
1 |
| valid_group |
|
7 |
13 |
78 |
1 |
| valid_class |
|
2 |
7 |
35 |
1 |
| getnextgid |
|
3 |
9 |
54 |
3 |
| save_range |
|
9 |
30 |
203 |
2 |
| setdefaults |
|
20 |
43 |
377 |
1 |
| read_defaults |
|
32 |
92 |
943 |
1 |
| getnextuid |
|
6 |
15 |
94 |
4 |
| scantime |
|
5 |
19 |
139 |
2 |
| expand_len |
|
3 |
10 |
57 |
2 |
| find_user_info |
|
3 |
12 |
68 |
1 |
| find_group_info |
|
3 |
12 |
68 |
1 |
| adduser |
|
57 |
240 |
1592 |
2 |
| rm_user_from_groups |
|
26 |
93 |
612 |
1 |
| is_local |
|
10 |
28 |
185 |
2 |
| moduser |
|
76 |
320 |
2086 |
3 |
| usermgmt_usage |
|
11 |
54 |
282 |
1 |
| useradd |
|
33 |
119 |
734 |
2 |
| usermod |
|
41 |
126 |
815 |
2 |
| userdel |
|
20 |
69 |
421 |
2 |
| groupadd |
|
14 |
50 |
272 |
2 |
| groupdel |
|
7 |
30 |
157 |
2 |
| groupmod |
|
26 |
80 |
525 |
2 |
| userinfo |
|
16 |
57 |
375 |
2 |
| groupinfo |
|
10 |
43 |
230 |
2 |
| Source file: ./usr.sbin/dhcpd/dhcp.h |
| Source file: ./usr.sbin/dhcpd/dhcpd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
50 |
153 |
852 |
2 |
| usage |
|
1 |
11 |
53 |
1 |
| lease_pinged |
|
6 |
29 |
154 |
3 |
| lease_ping_timeout |
|
2 |
10 |
43 |
1 |
| periodic_scan |
|
11 |
24 |
207 |
1 |
| Source file: ./usr.sbin/dhcpd/icmp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| icmp_startup |
|
5 |
18 |
135 |
2 |
| icmp_echorequest |
|
4 |
26 |
194 |
1 |
| icmp_echoreply |
|
5 |
30 |
227 |
1 |
| Source file: ./usr.sbin/unbound/services/outside_network.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pending_cmp |
|
3 |
11 |
98 |
2 |
| serviced_cmp |
|
9 |
26 |
247 |
2 |
| waiting_tcp_delete |
|
3 |
7 |
34 |
1 |
| pick_outgoing_tcp |
|
9 |
37 |
302 |
2 |
| Source file: ./usr.sbin/dhcpd/parse.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| skip_to_semi |
|
9 |
26 |
142 |
1 |
| parse_semi |
|
2 |
12 |
53 |
1 |
| parse_string |
|
4 |
19 |
96 |
1 |
| parse_host_name |
|
8 |
38 |
248 |
1 |
| parse_hardware_param |
|
7 |
40 |
228 |
2 |
| parse_lease_time |
|
2 |
16 |
83 |
2 |
| parse_numeric_aggregate |
|
19 |
65 |
393 |
6 |
| convert_num |
|
26 |
94 |
486 |
4 |
| parse_date |
|
14 |
50 |
270 |
1 |
| parse_warn |
|
4 |
26 |
175 |
2 |
| Source file: ./usr.sbin/dhcpd/dhcpd.h |
| Source file: ./usr.sbin/dhcpd/inet.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| subnet_number |
|
3 |
12 |
89 |
2 |
| ip_addr |
|
6 |
28 |
211 |
3 |
| host_addr |
|
2 |
12 |
106 |
2 |
| addr_eq |
|
2 |
6 |
47 |
2 |
| piaddr |
|
3 |
13 |
83 |
1 |
| Source file: ./usr.sbin/dhcpd/convert.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| getULong |
|
1 |
6 |
33 |
1 |
| getUShort |
|
1 |
6 |
33 |
1 |
| putULong |
|
1 |
5 |
33 |
2 |
| putLong |
|
1 |
5 |
33 |
2 |
| putUShort |
|
1 |
5 |
34 |
2 |
| putShort |
|
1 |
5 |
33 |
2 |
| Source file: ./usr.sbin/dhcpd/dhctoken.h |
| Source file: ./usr.sbin/dhcpd/hash.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| new_hash |
|
2 |
10 |
46 |
1 |
| do_hash |
|
3 |
12 |
73 |
3 |
| add_hash |
|
4 |
21 |
133 |
4 |
| delete_hash_entry |
|
9 |
23 |
171 |
3 |
| hash_lookup |
|
6 |
14 |
115 |
3 |
| Source file: ./usr.sbin/dhcpd/log.h |
| Source file: ./usr.sbin/radiusctl/parser.h |
| Source file: ./usr.sbin/dhcpd/memory.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| enter_host |
|
12 |
45 |
286 |
1 |
| find_hosts_by_haddr |
|
1 |
5 |
30 |
3 |
| find_hosts_by_uid |
|
1 |
4 |
27 |
2 |
| find_host_for_network |
|
6 |
23 |
144 |
3 |
| new_address_range |
|
21 |
104 |
897 |
4 |
| find_subnet |
|
3 |
9 |
53 |
1 |
| find_grouped_subnet |
|
3 |
9 |
60 |
2 |
| subnet_inner_than |
|
9 |
24 |
213 |
3 |
| enter_subnet |
|
4 |
17 |
87 |
1 |
| enter_shared_network |
|
1 |
5 |
19 |
1 |
| enter_lease |
|
3 |
18 |
108 |
1 |
| hwaddrcmp |
|
3 |
5 |
52 |
2 |
| uidcmp |
|
2 |
5 |
40 |
2 |
| uid_or_hwaddr_cmp |
|
3 |
6 |
46 |
2 |
| supersede_lease |
|
35 |
116 |
792 |
3 |
| release_lease |
|
2 |
12 |
63 |
1 |
| abandon_lease |
|
1 |
18 |
116 |
2 |
| find_lease_by_ip_addr |
|
1 |
5 |
27 |
1 |
| find_lease_by_uid |
|
1 |
4 |
27 |
2 |
| find_lease_by_hw_addr |
|
1 |
4 |
27 |
2 |
| uid_hash_add |
|
3 |
13 |
81 |
1 |
| uid_hash_delete |
|
6 |
24 |
149 |
1 |
| hw_hash_add |
|
3 |
14 |
89 |
1 |
| hw_hash_delete |
|
6 |
27 |
161 |
1 |
| add_class |
|
8 |
25 |
160 |
2 |
| find_class |
|
2 |
5 |
34 |
3 |
| clone_group |
|
2 |
9 |
52 |
2 |
| write_leases |
|
9 |
18 |
106 |
1 |
| Source file: ./usr.sbin/dhcpd/sync.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sync_addhost |
|
9 |
41 |
291 |
2 |
| sync_init |
|
22 |
99 |
704 |
3 |
| sync_recv |
|
21 |
97 |
709 |
1 |
| sync_send |
|
7 |
27 |
179 |
2 |
| sync_lease |
|
2 |
58 |
543 |
1 |
| Source file: ./usr.sbin/radiusctl/parser.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| parse |
|
6 |
23 |
142 |
2 |
| match_token |
|
33 |
112 |
577 |
2 |
| show_valid_args |
|
12 |
38 |
166 |
1 |
| Source file: ./usr.sbin/radiusctl/chap_ms.h |
| Source file: ./usr.sbin/radiusctl/radiusctl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usage |
|
1 |
5 |
20 |
1 |
| main |
|
6 |
25 |
131 |
2 |
| radius_test |
|
21 |
135 |
959 |
1 |
| radius_dump |
|
27 |
109 |
944 |
4 |
| radius_code_str |
|
3 |
23 |
131 |
1 |
| hexstr |
|
4 |
16 |
136 |
4 |
| Source file: ./usr.sbin/radiusctl/chap_ms.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| get7bits |
|
1 |
8 |
63 |
2 |
| mschap_des_addparity |
|
1 |
12 |
117 |
2 |
| mschap_des_encrypt |
|
1 |
9 |
58 |
3 |
| mschap_challenge_response |
|
1 |
10 |
83 |
3 |
| mschap_ntpassword_hash |
|
1 |
8 |
52 |
3 |
| mschap_challenge_hash |
|
2 |
18 |
125 |
5 |
| mschap_nt_response |
|
1 |
11 |
73 |
7 |
| mschap_auth_response |
|
2 |
47 |
458 |
8 |
| mschap_masterkey |
|
1 |
18 |
151 |
3 |
| mschap_asymetric_startkey |
|
4 |
41 |
482 |
5 |
| mschap_msk |
|
1 |
17 |
146 |
4 |
| mschap_radiuskey |
|
3 |
23 |
219 |
4 |
| Source file: ./usr.sbin/bgpctl/irrfilter.h |
| Source file: ./usr.sbin/bgpctl/irr_asset.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| asset_expand |
|
3 |
14 |
102 |
1 |
| asset_get |
|
12 |
41 |
276 |
1 |
| asset_membertype |
|
8 |
16 |
129 |
1 |
| asset_resolve |
|
5 |
19 |
144 |
1 |
| asset_merge |
|
12 |
23 |
205 |
2 |
| asset_addmember |
|
4 |
17 |
142 |
1 |
| asset_add_as |
|
3 |
13 |
96 |
2 |
| asset_add_asset |
|
3 |
13 |
96 |
2 |
| as_set_compare |
|
1 |
4 |
28 |
2 |
| as_set_find |
|
1 |
6 |
32 |
1 |
| Source file: ./usr.sbin/bgpctl/irr_parser.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| parse_response |
|
12 |
41 |
239 |
2 |
| grow_parsebuf |
|
3 |
12 |
65 |
1 |
| irr_getln |
|
25 |
68 |
340 |
1 |
| parse_policy |
|
56 |
137 |
782 |
2 |
| policy_additem |
|
6 |
16 |
133 |
2 |
| parse_asset |
|
4 |
12 |
72 |
2 |
| parse_route |
|
6 |
9 |
88 |
2 |
| Source file: ./usr.sbin/dhcpd/dhcp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dhcp |
|
10 |
29 |
114 |
2 |
| dhcpdiscover |
|
20 |
67 |
472 |
1 |
| dhcprequest |
|
34 |
82 |
583 |
1 |
| dhcprelease |
|
15 |
70 |
488 |
1 |
| dhcpdecline |
|
6 |
23 |
153 |
1 |
| dhcpinform |
|
8 |
40 |
295 |
1 |
| nak_lease |
|
8 |
96 |
857 |
2 |
| ack_lease |
|
116 |
422 |
3767 |
4 |
| dhcp_reply |
|
32 |
121 |
1009 |
1 |
| find_lease |
|
89 |
211 |
1267 |
3 |
| mockup_lease |
|
3 |
24 |
169 |
3 |
| Source file: ./usr.sbin/bgpctl/parser.h |
| Source file: ./usr.sbin/bgpctl/mrtparser.h |
| Source file: ./usr.sbin/bgpctl/irr_output.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| write_filters |
|
11 |
37 |
284 |
1 |
| process_policies |
|
2 |
15 |
92 |
2 |
| policy_prettyprint |
|
5 |
14 |
102 |
2 |
| policy_torule |
|
6 |
20 |
172 |
2 |
| action_torule |
|
10 |
34 |
241 |
1 |
| print_rule |
|
10 |
44 |
343 |
4 |
| Source file: ./usr.sbin/dhcpd/tables.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| initialize_universes |
|
3 |
18 |
126 |
1 |
| Source file: ./usr.sbin/bgpctl/whois.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| whois |
|
16 |
64 |
433 |
2 |
| Source file: ./usr.sbin/bgpctl/irr_prefix.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| prefixset_get |
|
11 |
27 |
216 |
1 |
| prefixset_addmember |
|
10 |
49 |
373 |
1 |
| prefixset_aggregate |
|
12 |
41 |
284 |
1 |
| prefix_aggregate |
|
13 |
40 |
353 |
2 |
| irr_prefix_cmp |
|
10 |
29 |
272 |
2 |
| prefix_set_compare |
|
1 |
4 |
28 |
2 |
| prefix_set_find |
|
1 |
6 |
32 |
1 |
| Source file: ./usr.sbin/bgpctl/irrfilter.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| irr_main |
|
5 |
20 |
138 |
3 |
| Source file: ./usr.sbin/ypldap/ber.h |
| Source file: ./usr.sbin/bgpctl/mrtparser.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mrt_read_msg |
|
4 |
14 |
122 |
2 |
| mrt_read_buf |
|
5 |
17 |
93 |
3 |
| mrt_parse |
|
59 |
132 |
628 |
3 |
| mrt_parse_v2_peer |
|
15 |
85 |
621 |
2 |
| mrt_parse_v2_rib |
|
16 |
90 |
646 |
2 |
| mrt_parse_dump |
|
18 |
92 |
696 |
4 |
| mrt_parse_dump_mp |
|
33 |
155 |
1086 |
4 |
| mrt_extract_attr |
|
30 |
126 |
796 |
5 |
| mrt_free_peers |
|
1 |
6 |
28 |
1 |
| mrt_free_rib |
|
4 |
12 |
108 |
1 |
| mrt_free_bgp_state |
|
1 |
4 |
14 |
1 |
| mrt_free_bgp_msg |
|
1 |
5 |
21 |
1 |
| mrt_aspath_inflate |
|
6 |
30 |
208 |
3 |
| mrt_extract_addr |
|
7 |
30 |
248 |
4 |
| mrt_parse_state |
|
10 |
84 |
562 |
2 |
| mrt_parse_msg |
|
12 |
83 |
544 |
2 |
| Source file: ./usr.sbin/ypldap/log.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| log_init |
|
2 |
8 |
36 |
1 |
| log_verbose |
|
1 |
4 |
11 |
1 |
| logit |
|
1 |
7 |
38 |
3 |
| vlog |
|
3 |
15 |
90 |
3 |
| log_warn |
|
3 |
18 |
111 |
2 |
| log_warnx |
|
1 |
7 |
35 |
2 |
| log_info |
|
1 |
7 |
35 |
2 |
| log_debug |
|
2 |
9 |
41 |
2 |
| fatal |
|
3 |
14 |
67 |
1 |
| fatalx |
|
1 |
5 |
18 |
1 |
| Source file: ./usr.sbin/ypldap/yp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| yp_disable_events |
|
2 |
9 |
58 |
1 |
| yp_enable_events |
|
4 |
16 |
113 |
1 |
| yp_fd_event |
|
1 |
6 |
27 |
3 |
| yp_init |
|
6 |
22 |
160 |
1 |
| yp_dispatch |
|
30 |
122 |
663 |
2 |
| yp_check |
|
1 |
6 |
28 |
1 |
| yp_valid_domain |
|
3 |
12 |
64 |
2 |
| ypproc_domain_2_svc |
|
2 |
8 |
51 |
2 |
| ypproc_domain_nonack_2_svc |
|
2 |
8 |
47 |
2 |
| ypproc_match_2_svc |
|
23 |
106 |
794 |
2 |
| ypproc_first_2_svc |
|
7 |
20 |
164 |
2 |
| ypproc_next_2_svc |
|
9 |
60 |
494 |
2 |
| ypproc_all_2_svc |
|
2 |
8 |
58 |
2 |
| ypproc_master_2_svc |
|
3 |
14 |
110 |
2 |
| ypproc_maplist_2_svc |
|
4 |
30 |
221 |
2 |
| yp_make_val |
|
3 |
14 |
112 |
3 |
| yp_make_keyval |
|
2 |
21 |
179 |
3 |
| Source file: ./usr.sbin/bgpctl/parser.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| parse |
|
7 |
33 |
227 |
2 |
| match_token |
|
97 |
226 |
1330 |
3 |
| show_valid_args |
|
30 |
73 |
300 |
1 |
| parse_addr |
|
4 |
24 |
169 |
2 |
| parse_prefix |
|
12 |
43 |
302 |
4 |
| parse_asnum |
|
9 |
25 |
198 |
3 |
| parse_number |
|
12 |
51 |
279 |
3 |
| getcommunity |
|
3 |
11 |
67 |
1 |
| parse_community |
|
16 |
61 |
362 |
2 |
| parsesubtype |
|
5 |
17 |
102 |
3 |
| parseextvalue |
|
8 |
45 |
272 |
2 |
| parseextcommunity |
|
25 |
98 |
615 |
2 |
| getlargecommunity |
|
3 |
11 |
67 |
1 |
| parse_largecommunity |
|
8 |
31 |
271 |
2 |
| parse_nexthop |
|
6 |
20 |
151 |
2 |
| bgpctl_getopt |
|
6 |
28 |
170 |
3 |
| Source file: ./usr.sbin/ypldap/ypldap.h |
| Source file: ./usr.sbin/ypldap/ber.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ber_get_element |
|
2 |
9 |
53 |
1 |
| ber_set_header |
|
2 |
7 |
42 |
3 |
| ber_link_elements |
|
5 |
11 |
57 |
2 |
| ber_unlink_elements |
|
4 |
14 |
70 |
1 |
| ber_replace_elements |
|
1 |
9 |
55 |
2 |
| ber_add_sequence |
|
2 |
8 |
40 |
1 |
| ber_add_set |
|
2 |
8 |
40 |
1 |
| ber_add_enumerated |
|
9 |
22 |
150 |
2 |
| ber_add_integer |
|
9 |
22 |
150 |
2 |
| ber_get_integer |
|
2 |
7 |
36 |
2 |
| ber_get_enumerated |
|
2 |
7 |
36 |
2 |
| ber_add_boolean |
|
3 |
10 |
59 |
2 |
| ber_get_boolean |
|
2 |
7 |
40 |
2 |
| ber_add_string |
|
1 |
4 |
27 |
2 |
| ber_add_nstring |
|
3 |
17 |
104 |
3 |
| ber_get_string |
|
2 |
7 |
35 |
2 |
| ber_get_nstring |
|
2 |
8 |
46 |
3 |
| ber_add_bitstring |
|
3 |
17 |
104 |
3 |
| ber_get_bitstring |
|
2 |
8 |
46 |
3 |
| ber_add_null |
|
2 |
8 |
40 |
1 |
| ber_get_null |
|
2 |
6 |
24 |
1 |
| ber_add_eoc |
|
2 |
8 |
40 |
1 |
| ber_get_eoc |
|
2 |
6 |
24 |
1 |
| ber_oid2ber |
|
10 |
22 |
187 |
3 |
| ber_string2oid |
|
6 |
16 |
151 |
2 |
| ber_add_oid |
|
5 |
22 |
140 |
2 |
| ber_add_noid |
|
2 |
9 |
69 |
3 |
| ber_add_oidstring |
|
2 |
7 |
47 |
2 |
| ber_get_oid |
|
6 |
22 |
182 |
2 |
| ber_printf_elements |
|
32 |
101 |
583 |
3 |
| ber_scanf_elements |
|
34 |
115 |
626 |
3 |
| ber_write_elements |
|
7 |
21 |
155 |
2 |
| ber_read_elements |
|
5 |
15 |
83 |
2 |
| ber_free_elements |
|
9 |
13 |
87 |
1 |
| ber_calc_len |
|
11 |
20 |
151 |
1 |
| ber_dump_element |
|
15 |
35 |
192 |
2 |
| ber_dump_header |
|
12 |
35 |
266 |
2 |
| ber_putc |
|
2 |
6 |
36 |
2 |
| ber_write |
|
2 |
6 |
45 |
3 |
| get_id |
|
6 |
26 |
173 |
4 |
| get_len |
|
8 |
32 |
174 |
2 |
| ber_read_element |
|
34 |
97 |
605 |
2 |
| ber_readbuf |
|
3 |
16 |
93 |
3 |
| ber_set_readbuf |
|
1 |
5 |
38 |
3 |
| ber_get_writebuf |
|
2 |
7 |
43 |
2 |
| ber_set_application |
|
1 |
4 |
27 |
2 |
| ber_free |
|
1 |
4 |
16 |
1 |
| ber_getc |
|
2 |
9 |
53 |
2 |
| ber_read |
|
7 |
21 |
132 |
3 |
| Source file: ./usr.sbin/bgpctl/bgpctl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usage |
|
1 |
7 |
25 |
1 |
| main |
|
127 |
370 |
2450 |
2 |
| fmt_peer |
|
11 |
21 |
161 |
4 |
| show_summary_head |
|
1 |
5 |
25 |
1 |
| show_summary_msg |
|
8 |
46 |
316 |
2 |
| show_summary_terse_msg |
|
4 |
20 |
121 |
2 |
| show_neighbor_terse |
|
3 |
26 |
154 |
1 |
| print_auth_method |
|
7 |
18 |
52 |
1 |
| show_neighbor_msg |
|
42 |
138 |
976 |
2 |
| print_neighbor_capa_mp |
|
4 |
10 |
67 |
1 |
| print_neighbor_capa_restart |
|
8 |
19 |
148 |
1 |
| print_neighbor_msgstats |
|
1 |
30 |
260 |
1 |
| print_timer |
|
2 |
8 |
43 |
2 |
| fmt_timeframe |
|
2 |
7 |
32 |
1 |
| fmt_timeframe_core |
|
4 |
27 |
168 |
1 |
| show_fib_head |
|
1 |
9 |
28 |
1 |
| show_fib_tables_head |
|
1 |
4 |
17 |
1 |
| show_network_head |
|
1 |
5 |
16 |
1 |
| show_fib_flags |
|
12 |
34 |
161 |
1 |
| show_fib_msg |
|
11 |
38 |
245 |
1 |
| show_nexthop_head |
|
1 |
6 |
26 |
1 |
| show_nexthop_msg |
|
17 |
68 |
450 |
1 |
| show_interface_head |
|
1 |
5 |
19 |
1 |
| ift2ifm |
|
5 |
15 |
52 |
1 |
| get_media_descr |
|
3 |
8 |
48 |
1 |
| get_linkstate |
|
3 |
11 |
77 |
2 |
| get_baudrate |
|
4 |
17 |
132 |
2 |
| show_interface_msg |
|
8 |
25 |
168 |
1 |
| show_rib_summary_head |
|
1 |
8 |
34 |
1 |
| print_prefix |
|
2 |
9 |
65 |
3 |
| print_origin |
|
8 |
13 |
63 |
2 |
| print_flags |
|
12 |
32 |
164 |
2 |
| show_rib_summary_msg |
|
3 |
18 |
86 |
1 |
| show_rib_detail_msg |
|
5 |
26 |
143 |
3 |
| show_rib_brief |
|
3 |
13 |
118 |
2 |
| show_rib_detail |
|
4 |
30 |
264 |
4 |
| show_attr |
|
19 |
85 |
520 |
3 |
| show_community |
|
11 |
41 |
197 |
2 |
| show_large_community |
|
4 |
18 |
139 |
2 |
| show_ext_community |
|
13 |
61 |
416 |
2 |
| fmt_mem |
|
2 |
7 |
49 |
1 |
| show_rib_memory_msg |
|
4 |
49 |
369 |
1 |
| send_filterset |
|
2 |
10 |
70 |
2 |
| get_errstr |
|
15 |
30 |
158 |
2 |
| show_result |
|
4 |
17 |
103 |
1 |
| network_bulk |
|
8 |
49 |
344 |
1 |
| show_mrt_dump |
|
16 |
54 |
449 |
3 |
| network_mrt_dump |
|
21 |
69 |
619 |
3 |
| show_mrt_state |
|
1 |
9 |
85 |
2 |
| show_mrt_msg |
|
1 |
8 |
75 |
2 |
| mrt_to_bgpd_addr |
|
4 |
17 |
116 |
2 |
| msg_type |
|
2 |
6 |
35 |
1 |
| Source file: ./usr.sbin/ypldap/ldapclient.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| client_aldap_open |
|
5 |
22 |
170 |
1 |
| client_addr_init |
|
7 |
32 |
180 |
1 |
| client_addr_free |
|
2 |
10 |
59 |
1 |
| client_sig_handler |
|
3 |
11 |
39 |
3 |
| client_dispatch_dns |
|
25 |
85 |
533 |
3 |
| client_dispatch_parent |
|
20 |
75 |
445 |
3 |
| client_shutdown |
|
1 |
5 |
16 |
1 |
| ldapclient |
|
13 |
67 |
558 |
1 |
| client_build_req |
|
20 |
61 |
500 |
5 |
| client_search_idm |
|
14 |
52 |
330 |
8 |
| client_try_idm |
|
19 |
87 |
572 |
2 |
| client_periodic_update |
|
3 |
18 |
104 |
3 |
| client_configure |
|
1 |
17 |
137 |
1 |
| Source file: ./usr.sbin/ypldap/ypldap_dns.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dns_sig_handler |
|
3 |
11 |
39 |
3 |
| dns_shutdown |
|
1 |
5 |
16 |
1 |
| ypldap_dns |
|
8 |
45 |
338 |
2 |
| dns_dispatch_imsg |
|
22 |
72 |
451 |
3 |
| host_dns |
|
11 |
42 |
327 |
2 |
| Source file: ./usr.sbin/ypldap/entries.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| flatten_entries |
|
4 |
53 |
351 |
1 |
| userent_name_cmp |
|
1 |
4 |
28 |
2 |
| userent_uid_cmp |
|
1 |
4 |
25 |
2 |
| groupent_name_cmp |
|
1 |
4 |
28 |
2 |
| groupent_gid_cmp |
|
1 |
4 |
25 |
2 |
| Source file: ./usr.sbin/ypldap/log.h |
| Source file: ./usr.sbin/ypldap/aldap.h |
| Source file: ./usr.sbin/ypldap/ypldap.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usage |
|
1 |
7 |
26 |
1 |
| check_child |
|
4 |
16 |
84 |
2 |
| main_sig_handler |
|
7 |
21 |
79 |
3 |
| main_shutdown |
|
1 |
4 |
11 |
1 |
| main_start_update |
|
3 |
14 |
95 |
1 |
| main_trash_update |
|
3 |
24 |
138 |
1 |
| main_create_user_groups |
|
12 |
65 |
457 |
1 |
| main_end_update |
|
6 |
53 |
317 |
1 |
| main_dispatch_client |
|
27 |
98 |
606 |
3 |
| main_configure_client |
|
1 |
11 |
98 |
1 |
| main_init_timer |
|
1 |
5 |
26 |
3 |
| purge_config |
|
2 |
8 |
49 |
1 |
| main |
|
22 |
102 |
680 |
2 |
| imsg_event_add |
|
3 |
13 |
95 |
1 |
| imsg_compose_event |
|
2 |
9 |
70 |
7 |
| Source file: ./usr.sbin/dhcrelay6/packet.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| checksum |
|
5 |
15 |
103 |
3 |
| wrapsum |
|
1 |
5 |
21 |
1 |
| assemble_hw_header |
|
1 |
9 |
79 |
3 |
| assemble_udp_ip6_header |
|
1 |
29 |
287 |
5 |
| decode_hw_header |
|
1 |
11 |
91 |
3 |
| decode_udp_ip6_header |
|
6 |
55 |
442 |
4 |
| Source file: ./usr.sbin/dhcrelay6/log.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| log_init |
|
2 |
10 |
48 |
2 |
| log_procinit |
|
2 |
5 |
19 |
1 |
| log_setverbose |
|
1 |
4 |
11 |
1 |
| log_getverbose |
|
1 |
4 |
11 |
1 |
| logit |
|
1 |
7 |
38 |
3 |
| vlog |
|
3 |
17 |
99 |
3 |
| log_warn |
|
3 |
21 |
120 |
2 |
| log_warnx |
|
1 |
7 |
35 |
2 |
| log_info |
|
1 |
7 |
35 |
2 |
| log_debug |
|
2 |
9 |
41 |
2 |
| vfatalc |
|
3 |
17 |
106 |
3 |
| fatal |
|
1 |
8 |
40 |
2 |
| fatalx |
|
1 |
8 |
40 |
2 |
| Source file: ./usr.sbin/dhcrelay6/dispatch.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| iflist_getbyindex |
|
2 |
10 |
40 |
1 |
| iflist_getbyname |
|
2 |
10 |
46 |
1 |
| iflist_getbyaddr6 |
|
2 |
9 |
51 |
1 |
| setup_iflist |
|
17 |
74 |
618 |
1 |
| register_interface |
|
5 |
17 |
132 |
2 |
| dispatch |
|
21 |
67 |
417 |
1 |
| got_one |
|
7 |
27 |
173 |
1 |
| interface_status |
|
9 |
45 |
263 |
1 |
| add_protocol |
|
2 |
13 |
82 |
4 |
| remove_protocol |
|
4 |
15 |
76 |
1 |
| Source file: ./usr.sbin/dhcrelay6/dhcp.h |
| Source file: ./usr.sbin/ypldap/aldap.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| aldap_application |
|
1 |
4 |
12 |
1 |
| aldap_close |
|
3 |
10 |
63 |
1 |
| aldap_init |
|
2 |
11 |
70 |
1 |
| aldap_tls |
|
5 |
22 |
147 |
3 |
| aldap_send |
|
7 |
29 |
169 |
2 |
| aldap_req_starttls |
|
5 |
21 |
131 |
1 |
| aldap_bind |
|
7 |
26 |
168 |
3 |
| aldap_unbind |
|
5 |
21 |
122 |
1 |
| aldap_search |
|
11 |
46 |
316 |
9 |
| aldap_create_page_control |
|
7 |
31 |
191 |
3 |
| aldap_parse |
|
33 |
91 |
634 |
1 |
| aldap_parse_page_control |
|
5 |
32 |
226 |
2 |
| aldap_freepage |
|
1 |
5 |
21 |
1 |
| aldap_freemsg |
|
2 |
6 |
27 |
1 |
| aldap_get_resultcode |
|
1 |
4 |
18 |
1 |
| aldap_get_dn |
|
3 |
9 |
48 |
1 |
| aldap_get_references |
|
2 |
6 |
28 |
1 |
| aldap_free_references |
|
3 |
9 |
48 |
1 |
| aldap_get_diagmsg |
|
3 |
9 |
56 |
1 |
| aldap_count_attrs |
|
4 |
12 |
75 |
1 |
| aldap_first_attr |
|
4 |
21 |
156 |
3 |
| aldap_next_attr |
|
5 |
25 |
189 |
3 |
| aldap_match_attr |
|
8 |
29 |
188 |
3 |
| aldap_free_attr |
|
3 |
10 |
55 |
1 |
| aldap_free_url |
|
1 |
5 |
23 |
1 |
| aldap_parse_url |
|
26 |
80 |
528 |
2 |
| aldap_search_url |
|
4 |
17 |
124 |
5 |
| aldap_get_stringset |
|
9 |
23 |
164 |
1 |
| ldap_parse_search_filter |
|
5 |
19 |
104 |
2 |
| ldap_do_parse_search_filter |
|
41 |
143 |
736 |
2 |
| ldap_debug_elements |
|
57 |
195 |
912 |
1 |
| utoa |
|
7 |
14 |
135 |
1 |
| isu8cont |
|
1 |
4 |
21 |
1 |
| parseval |
|
4 |
19 |
130 |
2 |
| aldap_get_errno |
|
6 |
24 |
93 |
2 |
| Source file: ./usr.sbin/dhcrelay6/bpf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| if_register_bpf |
|
3 |
9 |
64 |
1 |
| if_register_send |
|
1 |
4 |
17 |
1 |
| if_register_receive |
|
13 |
41 |
332 |
1 |
| send_packet_layer3 |
|
4 |
44 |
330 |
4 |
| send_packet |
|
3 |
19 |
160 |
4 |
| receive_packet |
|
10 |
59 |
359 |
4 |
| Source file: ./usr.sbin/kvm_mkdb/extern.h |
| Source file: ./usr.sbin/dhcrelay6/log.h |
| Source file: ./usr.sbin/kvm_mkdb/testdb.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| testdb |
|
7 |
26 |
200 |
1 |
| Source file: ./usr.sbin/inetd/pathnames.h |
| Source file: ./usr.sbin/dhcrelay6/dhcpd.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ss2sin6 |
|
1 |
4 |
19 |
1 |
| Source file: ./usr.sbin/accton/accton.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usage |
|
1 |
5 |
18 |
1 |
| main |
|
7 |
25 |
116 |
2 |
| Source file: ./usr.sbin/kvm_mkdb/kvm_mkdb.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
20 |
68 |
511 |
2 |
| kvm_mkdb |
|
14 |
53 |
372 |
6 |
| usage |
|
1 |
5 |
21 |
1 |
| Source file: ./usr.sbin/kvm_mkdb/nlist.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __elf_knlist |
|
48 |
193 |
1266 |
3 |
| create_knlist |
|
3 |
15 |
85 |
3 |
| Source file: ./usr.sbin/ypserv/ypxfr/ypxfr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ypxfr_foreach |
|
2 |
15 |
99 |
6 |
| get_local_ordernum |
|
8 |
46 |
296 |
3 |
| get_remote_ordernum |
|
3 |
13 |
66 |
5 |
| get_map |
|
3 |
11 |
61 |
4 |
| create_db |
|
1 |
4 |
26 |
3 |
| install_db |
|
1 |
8 |
50 |
3 |
| add_order |
|
2 |
18 |
107 |
2 |
| add_master |
|
3 |
19 |
125 |
4 |
| add_interdomain |
|
5 |
22 |
143 |
4 |
| add_secure |
|
5 |
22 |
143 |
4 |
| send_clear |
|
2 |
12 |
68 |
1 |
| send_reply |
|
2 |
14 |
85 |
3 |
| usage |
|
1 |
8 |
20 |
1 |
| main |
|
37 |
147 |
881 |
2 |
| Source file: ./usr.sbin/dhcrelay6/dhcrelay6.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usage |
|
1 |
9 |
27 |
1 |
| parse_destination |
|
8 |
25 |
213 |
1 |
| main |
|
29 |
93 |
510 |
2 |
| rdaemon |
|
7 |
25 |
138 |
1 |
| s6fromaddr |
|
3 |
21 |
144 |
4 |
| relay6_setup |
|
23 |
78 |
600 |
1 |
| print_hw_addr |
|
6 |
22 |
145 |
3 |
| v6addr2str |
|
2 |
12 |
100 |
1 |
| dhcp6type2str |
|
14 |
33 |
96 |
1 |
| relay6_pushrelaymsg |
|
7 |
59 |
467 |
5 |
| relay6_poprelaymsg |
|
14 |
81 |
520 |
4 |
| rai_configure |
|
5 |
20 |
104 |
2 |
| relay6_logsrcaddr |
|
3 |
16 |
106 |
3 |
| relay6 |
|
28 |
99 |
562 |
4 |
| mcast6_recv |
|
10 |
64 |
436 |
1 |
| Source file: ./usr.sbin/ypserv/ypserv/acl.h |
| Source file: ./usr.sbin/ypserv/mkalias/mkalias.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| split_address |
|
7 |
31 |
173 |
4 |
| check_host |
|
9 |
19 |
180 |
6 |
| capitalize |
|
6 |
19 |
105 |
2 |
| usage |
|
1 |
6 |
18 |
1 |
| main |
|
41 |
160 |
1085 |
2 |
| Source file: ./usr.sbin/ypserv/ypserv/ypserv.h |
| Source file: ./usr.sbin/ypserv/ypserv/ypserv.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _msgout |
|
3 |
8 |
43 |
1 |
| closedown |
|
8 |
16 |
101 |
1 |
| ypprog_1 |
|
15 |
89 |
591 |
2 |
| ypprog_2 |
|
17 |
100 |
670 |
2 |
| hup |
|
2 |
14 |
63 |
1 |
| my_svc_run |
|
8 |
35 |
165 |
1 |
| usage |
|
1 |
5 |
21 |
1 |
| main |
|
34 |
136 |
776 |
2 |
| sig_child |
|
2 |
7 |
30 |
1 |
| sig_hup |
|
1 |
4 |
11 |
1 |
| Source file: ./usr.sbin/ypserv/ypserv/ypserv_db.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ypdb_init |
|
1 |
5 |
18 |
1 |
| yp_private |
|
18 |
29 |
225 |
2 |
| ypdb_close_last |
|
3 |
16 |
93 |
1 |
| ypdb_close_all |
|
4 |
7 |
29 |
1 |
| ypdb_close_db |
|
2 |
5 |
19 |
1 |
| ypdb_open_db |
|
36 |
117 |
704 |
4 |
| lookup_host |
|
17 |
71 |
583 |
5 |
| ypdb_get_record |
|
9 |
38 |
277 |
4 |
| ypdb_get_first |
|
5 |
28 |
183 |
3 |
| ypdb_get_next |
|
7 |
40 |
262 |
4 |
| ypdb_get_order |
|
3 |
24 |
159 |
2 |
| ypdb_get_master |
|
3 |
24 |
158 |
2 |
| ypdb_xdr_get_all |
|
12 |
43 |
316 |
2 |
| ypdb_secure |
|
4 |
16 |
96 |
2 |
| Source file: ./usr.sbin/ypserv/makedbm/db.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| db_hash_list_database |
|
3 |
21 |
181 |
1 |
| Source file: ./usr.sbin/ypserv/makedbm/db.h |
| Source file: ./usr.sbin/ypserv/common/yplib_host.h |
| Source file: ./usr.sbin/ypserv/common/ypdb.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ypdb_open |
|
1 |
18 |
132 |
3 |
| ypdb_open_suf |
|
1 |
16 |
110 |
3 |
| ypdb_close |
|
1 |
4 |
20 |
1 |
| ypdb_fetch |
|
2 |
17 |
99 |
2 |
| ypdb_firstkey |
|
2 |
15 |
80 |
1 |
| ypdb_nextkey |
|
2 |
15 |
80 |
1 |
| ypdb_setkey |
|
2 |
13 |
77 |
2 |
| ypdb_store |
|
4 |
12 |
100 |
4 |
| Source file: ./usr.sbin/ypserv/makedbm/makedbm.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| read_line |
|
10 |
24 |
157 |
3 |
| add_record |
|
4 |
20 |
119 |
4 |
| file_date |
|
3 |
19 |
112 |
1 |
| list_database |
|
5 |
23 |
142 |
2 |
| create_database |
|
22 |
103 |
730 |
9 |
| usage |
|
1 |
7 |
20 |
1 |
| main |
|
17 |
77 |
364 |
2 |
| Source file: ./usr.sbin/ypserv/common/yplog.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| yplog |
|
1 |
7 |
33 |
2 |
| vyplog |
|
2 |
11 |
68 |
2 |
| ypopenlog |
|
3 |
10 |
50 |
1 |
| ypcloselog |
|
2 |
8 |
26 |
1 |
| Source file: ./usr.sbin/ypserv/ypserv/acl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| acl_read_line |
|
12 |
36 |
210 |
3 |
| acl_check_host |
|
3 |
11 |
60 |
1 |
| acl_add_net |
|
3 |
17 |
103 |
3 |
| acl_add_host |
|
1 |
6 |
35 |
2 |
| acl_init |
|
83 |
226 |
1300 |
1 |
| acl_securenet |
|
26 |
114 |
626 |
1 |
| acl_reset |
|
2 |
9 |
34 |
1 |
| Source file: ./usr.sbin/ypserv/common/yplog.h |
| Source file: ./usr.sbin/ypserv/common/ypdef.h |
| Source file: ./usr.sbin/ypserv/common/ypdb.h |
| Source file: ./usr.sbin/ypserv/yppush/yppush_proc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| yppushproc_null_1_svc |
|
1 |
5 |
28 |
2 |
| yppushproc_xfrresp_1_svc |
|
3 |
9 |
64 |
2 |
| Source file: ./usr.sbin/ypserv/yppush/yppush_svc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _msgout |
|
3 |
8 |
43 |
1 |
| yppush_xfrrespprog_1 |
|
8 |
47 |
274 |
2 |
| Source file: ./usr.sbin/ypserv/yppush/yppush_err.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| yppush_err_string |
|
17 |
38 |
147 |
1 |
| Source file: ./usr.sbin/ypserv/yppush/yppush.h |
| Source file: ./usr.sbin/inetd/inetd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
17 |
78 |
453 |
2 |
| gettcp |
|
13 |
35 |
239 |
3 |
| dg_badinput |
|
14 |
35 |
215 |
1 |
| dg_broadcast |
|
6 |
19 |
120 |
1 |
| reap |
|
13 |
34 |
207 |
3 |
| config |
|
48 |
198 |
1243 |
3 |
| retry |
|
8 |
18 |
93 |
3 |
| die |
|
8 |
20 |
110 |
3 |
| setup |
|
21 |
67 |
470 |
1 |
| register_rpc |
|
6 |
29 |
213 |
1 |
| unregister_rpc |
|
4 |
12 |
73 |
1 |
| enter |
|
2 |
15 |
80 |
1 |
| matchconf |
|
13 |
24 |
204 |
2 |
| setconfig |
|
2 |
11 |
56 |
1 |
| endconfig |
|
3 |
11 |
39 |
1 |
| getconfigent |
|
61 |
206 |
1437 |
1 |
| freeconfig |
|
2 |
20 |
124 |
1 |
| skip |
|
14 |
32 |
181 |
2 |
| nextline |
|
2 |
7 |
46 |
1 |
| newstr |
|
3 |
7 |
40 |
1 |
| dupconfig |
|
9 |
27 |
243 |
1 |
| inetd_setproctitle |
|
3 |
15 |
108 |
2 |
| bump_nofile |
|
4 |
22 |
129 |
1 |
| echo_stream |
|
3 |
10 |
67 |
2 |
| echo_dg |
|
3 |
14 |
109 |
2 |
| discard_stream |
|
3 |
9 |
59 |
2 |
| discard_dg |
|
1 |
5 |
33 |
2 |
| initring |
|
3 |
8 |
44 |
1 |
| chargen_stream |
|
6 |
26 |
160 |
2 |
| chargen_dg |
|
6 |
29 |
204 |
2 |
| machtime |
|
2 |
7 |
42 |
1 |
| machtime_stream |
|
1 |
6 |
37 |
2 |
| machtime_dg |
|
3 |
15 |
110 |
2 |
| daytime_stream |
|
1 |
8 |
62 |
2 |
| daytime_dg |
|
3 |
17 |
134 |
2 |
| print_service |
|
4 |
19 |
139 |
2 |
| spawn |
|
38 |
130 |
798 |
3 |
| Source file: ./usr.sbin/ypserv/revnetgroup/hash.h |
| Source file: ./usr.sbin/ypserv/common/yplib_host.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| yp_bind_host |
|
8 |
44 |
255 |
5 |
| yp_bind_local |
|
2 |
20 |
119 |
2 |
| yp_match_host |
|
3 |
29 |
223 |
7 |
| yp_first_host |
|
3 |
31 |
255 |
7 |
| yp_next_host |
|
3 |
33 |
278 |
9 |
| ypserv_xdr_ypresp_all_seq |
|
9 |
51 |
338 |
2 |
| yp_all_host |
|
2 |
18 |
109 |
4 |
| yp_order_host |
|
2 |
19 |
131 |
4 |
| yp_master_host |
|
3 |
20 |
143 |
4 |
| yp_maplist_host |
|
2 |
15 |
100 |
3 |
| Source file: ./usr.sbin/ypserv/revnetgroup/revnetgroup.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usage |
|
1 |
5 |
18 |
1 |
| main |
|
29 |
102 |
554 |
2 |
| Source file: ./usr.sbin/ypserv/revnetgroup/hash.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| hash |
|
11 |
32 |
118 |
2 |
| hashkey |
|
2 |
6 |
35 |
1 |
| lookup |
|
3 |
11 |
66 |
2 |
| ngstore |
|
1 |
11 |
79 |
3 |
| mstore |
|
6 |
34 |
231 |
4 |
| Source file: ./usr.sbin/netgroup_mkdb/str.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| str_init |
|
1 |
5 |
21 |
1 |
| str_append |
|
4 |
14 |
113 |
3 |
| str_prepend |
|
5 |
15 |
128 |
3 |
| str_free |
|
1 |
6 |
28 |
1 |
| Source file: ./usr.sbin/netgroup_mkdb/util.h |
| Source file: ./usr.sbin/netgroup_mkdb/stringlist.h |
| Source file: ./usr.sbin/ypserv/revnetgroup/parse_netgroup.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __setnetgrent |
|
6 |
13 |
72 |
1 |
| __getnetgrent |
|
2 |
11 |
68 |
3 |
| __endnetgrent |
|
3 |
26 |
141 |
1 |
| parse_netgrp |
|
30 |
68 |
485 |
1 |
| read_for_group |
|
23 |
65 |
429 |
1 |
| Source file: ./usr.sbin/netgroup_mkdb/util.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| emalloc |
|
2 |
7 |
32 |
1 |
| erealloc |
|
2 |
7 |
38 |
2 |
| get_line |
|
5 |
22 |
144 |
2 |
| Source file: ./usr.sbin/netgroup_mkdb/str.h |
| Source file: ./usr.sbin/ypserv/ypserv/ypserv_proc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ypproc_null_2_svc |
|
2 |
14 |
100 |
2 |
| ypproc_domain_2_svc |
|
4 |
22 |
168 |
2 |
| ypproc_domain_nonack_2_svc |
|
5 |
24 |
178 |
2 |
| ypproc_match_2_svc |
|
7 |
25 |
215 |
2 |
| ypproc_first_2_svc |
|
7 |
24 |
199 |
2 |
| ypproc_next_2_svc |
|
7 |
25 |
215 |
2 |
| ypproc_xfr_2_svc |
|
6 |
36 |
329 |
2 |
| ypproc_clear_2_svc |
|
5 |
20 |
122 |
2 |
| ypproc_all_2_svc |
|
9 |
33 |
242 |
2 |
| ypproc_master_2_svc |
|
8 |
27 |
217 |
2 |
| ypproc_order_2_svc |
|
7 |
26 |
208 |
2 |
| ypproc_maplist_2_svc |
|
17 |
64 |
470 |
2 |
| ypoldproc_null_1_svc |
|
2 |
14 |
100 |
2 |
| ypoldproc_domain_1_svc |
|
4 |
22 |
168 |
2 |
| ypoldproc_domain_nonack_1_svc |
|
5 |
26 |
180 |
2 |
| ypoldproc_match_1_svc |
|
8 |
39 |
255 |
2 |
| ypoldproc_first_1_svc |
|
8 |
36 |
251 |
2 |
| ypoldproc_next_1_svc |
|
8 |
39 |
263 |
2 |
| ypoldproc_poll_1_svc |
|
8 |
40 |
270 |
2 |
| ypoldproc_push_1_svc |
|
8 |
37 |
243 |
2 |
| ypoldproc_pull_1_svc |
|
8 |
37 |
243 |
2 |
| ypoldproc_get_1_svc |
|
8 |
37 |
251 |
2 |
| Source file: ./usr.sbin/ypserv/yppush/yppush.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usage |
|
1 |
6 |
18 |
1 |
| my_svc_run |
|
7 |
33 |
165 |
1 |
| req_xfr |
|
4 |
29 |
194 |
5 |
| push |
|
11 |
54 |
304 |
2 |
| pushit |
|
2 |
8 |
44 |
6 |
| main |
|
17 |
98 |
611 |
2 |
| Source file: ./usr.sbin/netgroup_mkdb/stringlist.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _ng_sl_init |
|
3 |
14 |
79 |
1 |
| _ng_sl_add |
|
3 |
16 |
102 |
2 |
| _ng_sl_free |
|
3 |
9 |
56 |
2 |
| _ng_sl_find |
|
3 |
8 |
58 |
2 |
| _ng_parse |
|
11 |
29 |
181 |
3 |
| _ng_makekey |
|
4 |
13 |
82 |
3 |
| _ng_print |
|
1 |
5 |
50 |
3 |
| getnetgroup |
|
6 |
26 |
151 |
1 |
| getstring |
|
12 |
26 |
185 |
3 |
| Source file: ./usr.sbin/iscsictl/iscsictl.h |
| Source file: ./usr.sbin/ypserv/mknetid/mknetid.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| read_line |
|
10 |
24 |
157 |
3 |
| hashidx |
|
5 |
12 |
64 |
1 |
| add_user |
|
5 |
30 |
202 |
3 |
| add_group |
|
5 |
19 |
119 |
2 |
| read_passwd |
|
20 |
59 |
331 |
2 |
| isgsep |
|
5 |
12 |
37 |
1 |
| read_group |
|
22 |
66 |
360 |
2 |
| print_passwd_group |
|
7 |
30 |
156 |
2 |
| print_hosts |
|
10 |
38 |
228 |
3 |
| print_netid |
|
10 |
39 |
229 |
2 |
| usage |
|
1 |
7 |
20 |
1 |
| main |
|
16 |
56 |
298 |
2 |
| Source file: ./usr.sbin/mtree/misc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| parsekey |
|
4 |
13 |
104 |
2 |
| keycompare |
|
1 |
4 |
40 |
2 |
| error |
|
2 |
14 |
87 |
2 |
| Source file: ./usr.sbin/mtree/mtree.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
49 |
110 |
574 |
2 |
| usage |
|
1 |
8 |
23 |
1 |
| Source file: ./usr.sbin/iscsictl/parser.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| parse |
|
6 |
23 |
142 |
2 |
| match_token |
|
24 |
62 |
378 |
2 |
| show_valid_args |
|
8 |
23 |
107 |
1 |
| parse_addr |
|
3 |
17 |
130 |
2 |
| Source file: ./usr.sbin/mtree/extern.h |
| Source file: ./usr.sbin/mtree/mtree.h |
| Source file: ./usr.sbin/mtree/verify.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| verify |
|
1 |
8 |
38 |
1 |
| vwalk |
|
28 |
78 |
476 |
1 |
| miss |
|
22 |
55 |
409 |
3 |
| Source file: ./usr.sbin/netgroup_mkdb/netgroup_mkdb.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
19 |
56 |
382 |
2 |
| cleanup |
|
1 |
6 |
37 |
1 |
| ng_load |
|
14 |
81 |
459 |
1 |
| ng_insert |
|
8 |
36 |
219 |
2 |
| ng_reventry |
|
12 |
64 |
399 |
6 |
| ng_reverse |
|
6 |
26 |
174 |
2 |
| ng_print |
|
5 |
26 |
168 |
2 |
| ng_rprint |
|
4 |
16 |
89 |
2 |
| ng_dump |
|
5 |
24 |
146 |
1 |
| ng_rdump |
|
5 |
23 |
140 |
1 |
| ng_write |
|
7 |
40 |
249 |
3 |
| ng_rwrite |
|
7 |
39 |
243 |
3 |
| usage |
|
1 |
6 |
26 |
1 |
| Source file: ./usr.sbin/mtree/spec.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| spec |
|
28 |
93 |
610 |
1 |
| set |
|
51 |
142 |
868 |
2 |
| unset |
|
2 |
6 |
40 |
2 |
| Source file: ./usr.sbin/sa/pathnames.h |
| Source file: ./usr.sbin/iscsictl/iscsictl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usage |
|
1 |
7 |
25 |
1 |
| main |
|
26 |
98 |
719 |
2 |
| control_queue |
|
1 |
4 |
25 |
2 |
| run |
|
2 |
8 |
46 |
1 |
| run_command |
|
14 |
40 |
211 |
1 |
| ctl_getpdu |
|
9 |
40 |
230 |
2 |
| ctl_sendpdu |
|
3 |
16 |
121 |
2 |
| show_config |
|
11 |
37 |
251 |
2 |
| show_vscsi_stats |
|
5 |
28 |
215 |
2 |
| Source file: ./usr.sbin/mtree/crc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| crc |
|
5 |
24 |
161 |
3 |
| Source file: ./usr.sbin/sa/extern.h |
| Source file: ./usr.sbin/sa/usrdb.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usracct_init |
|
12 |
53 |
287 |
1 |
| usracct_destroy |
|
2 |
5 |
20 |
1 |
| usracct_add |
|
6 |
42 |
279 |
1 |
| usracct_update |
|
8 |
44 |
245 |
1 |
| usracct_print |
|
7 |
32 |
232 |
1 |
| uid_compare |
|
3 |
12 |
73 |
2 |
| Source file: ./usr.sbin/mtree/compare.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| compare |
|
66 |
251 |
1649 |
3 |
| inotype |
|
8 |
21 |
78 |
1 |
| ftype |
|
8 |
21 |
76 |
1 |
| rlink |
|
2 |
9 |
65 |
1 |
| Source file: ./usr.sbin/sa/pdb.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pacct_init |
|
12 |
48 |
261 |
1 |
| pacct_destroy |
|
2 |
5 |
20 |
1 |
| pacct_add |
|
5 |
33 |
247 |
1 |
| pacct_update |
|
8 |
41 |
222 |
1 |
| pacct_print |
|
22 |
73 |
569 |
1 |
| check_junk |
|
4 |
8 |
66 |
1 |
| add_ci |
|
1 |
9 |
63 |
2 |
| print_ci |
|
22 |
81 |
539 |
2 |
| Source file: ./usr.sbin/relayd/log.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| log_init |
|
2 |
10 |
48 |
2 |
| log_procinit |
|
2 |
5 |
19 |
1 |
| log_setverbose |
|
1 |
4 |
11 |
1 |
| log_getverbose |
|
1 |
4 |
11 |
1 |
| logit |
|
1 |
7 |
38 |
3 |
| vlog |
|
3 |
17 |
99 |
3 |
| log_warn |
|
3 |
21 |
120 |
2 |
| log_warnx |
|
1 |
7 |
35 |
2 |
| log_info |
|
1 |
7 |
35 |
2 |
| log_debug |
|
2 |
9 |
43 |
2 |
| vfatalc |
|
3 |
17 |
106 |
3 |
| fatal |
|
1 |
8 |
40 |
2 |
| fatalx |
|
1 |
8 |
40 |
2 |
| Source file: ./usr.sbin/mtree/create.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cwalk |
|
17 |
52 |
349 |
1 |
| statf |
|
46 |
123 |
1061 |
2 |
| statd |
|
29 |
81 |
583 |
5 |
| dsort |
|
4 |
9 |
91 |
2 |
| output |
|
2 |
13 |
105 |
4 |
| Source file: ./usr.sbin/sa/main.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
61 |
148 |
709 |
2 |
| acct_load |
|
22 |
51 |
405 |
2 |
| decode_comp_t |
|
2 |
9 |
36 |
1 |
| cmp_comm |
|
3 |
8 |
47 |
2 |
| cmp_usrsys |
|
3 |
15 |
110 |
2 |
| cmp_avgusrsys |
|
5 |
17 |
144 |
2 |
| cmp_dkio |
|
3 |
12 |
93 |
2 |
| cmp_avgdkio |
|
5 |
15 |
138 |
2 |
| cmp_cpumem |
|
3 |
12 |
93 |
2 |
| cmp_avgcpumem |
|
5 |
18 |
155 |
2 |
| cmp_calls |
|
3 |
12 |
93 |
2 |
| Source file: ./usr.sbin/relayd/pfe_filter.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| init_tables |
|
9 |
43 |
333 |
1 |
| kill_tables |
|
5 |
24 |
174 |
1 |
| sync_table |
|
15 |
74 |
568 |
3 |
| kill_srcnodes |
|
5 |
39 |
301 |
2 |
| flush_table |
|
7 |
28 |
245 |
2 |
| transaction_init |
|
2 |
14 |
137 |
2 |
| transaction_commit |
|
2 |
7 |
43 |
1 |
| sync_ruleset |
|
28 |
139 |
1188 |
3 |
| flush_rulesets |
|
9 |
31 |
190 |
1 |
| natlook |
|
10 |
67 |
669 |
2 |
| check_table |
|
6 |
27 |
216 |
3 |
| Source file: ./usr.sbin/relayd/http.h |
| Source file: ./usr.sbin/relayd/relay_udp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| relay_udp_privinit |
|
2 |
6 |
32 |
1 |
| relay_udp_init |
|
3 |
17 |
79 |
2 |
| relay_udp_bind |
|
3 |
13 |
86 |
3 |
| relay_udp_socket |
|
17 |
55 |
336 |
3 |
| relay_udp_response |
|
6 |
27 |
185 |
3 |
| relay_udp_server |
|
14 |
96 |
764 |
3 |
| relay_udp_timeout |
|
2 |
7 |
39 |
3 |
| relay_dns_log |
|
3 |
20 |
118 |
3 |
| relay_dns_validate |
|
10 |
36 |
257 |
5 |
| relay_dns_request |
|
12 |
46 |
395 |
1 |
| relay_dns_result |
|
4 |
20 |
152 |
3 |
| relay_dns_cmp |
|
3 |
8 |
70 |
2 |
| Source file: ./usr.sbin/relayd/check_tls.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| check_tls_read |
|
9 |
44 |
310 |
3 |
| check_tls_write |
|
6 |
35 |
256 |
3 |
| check_tls_handshake |
|
8 |
48 |
324 |
3 |
| check_tls_cleanup |
|
1 |
8 |
43 |
1 |
| check_tls_error |
|
2 |
6 |
45 |
3 |
| check_tls |
|
5 |
21 |
165 |
1 |
| Source file: ./usr.sbin/relayd/control.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| control_init |
|
9 |
49 |
367 |
2 |
| control_listen |
|
3 |
14 |
96 |
1 |
| control_cleanup |
|
2 |
7 |
35 |
1 |
| control_accept |
|
9 |
36 |
282 |
3 |
| control_connbyfd |
|
2 |
9 |
42 |
1 |
| control_close |
|
3 |
17 |
123 |
2 |
| control_dispatch_imsg |
|
39 |
172 |
1302 |
3 |
| control_imsg_forward |
|
2 |
9 |
73 |
2 |
| Source file: ./usr.sbin/relayd/relayd.h |
| Source file: ./usr.sbin/relayd/ca.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ca |
|
1 |
5 |
38 |
2 |
| ca_init |
|
3 |
8 |
62 |
3 |
| hash_x509 |
|
4 |
17 |
153 |
3 |
| ca_launch |
|
18 |
71 |
511 |
1 |
| ca_dispatch_parent |
|
6 |
23 |
97 |
3 |
| ca_dispatch_relay |
|
11 |
53 |
409 |
3 |
| rsae_send_imsg |
|
15 |
70 |
522 |
6 |
| rsae_pub_enc |
|
1 |
5 |
50 |
5 |
| rsae_pub_dec |
|
1 |
5 |
50 |
5 |
| rsae_priv_enc |
|
1 |
6 |
50 |
5 |
| rsae_priv_dec |
|
1 |
6 |
50 |
5 |
| rsae_mod_exp |
|
1 |
5 |
46 |
4 |
| rsae_bn_mod_exp |
|
1 |
6 |
60 |
6 |
| rsae_init |
|
2 |
7 |
40 |
1 |
| rsae_finish |
|
2 |
7 |
40 |
1 |
| rsae_sign |
|
1 |
7 |
57 |
6 |
| rsae_verify |
|
1 |
7 |
57 |
6 |
| rsae_keygen |
|
1 |
5 |
44 |
4 |
| ca_engine_init |
|
15 |
51 |
290 |
1 |
| Source file: ./usr.sbin/relayd/name2id.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tag_name2id |
|
1 |
4 |
20 |
1 |
| tag_id2name |
|
1 |
4 |
18 |
1 |
| tag_unref |
|
1 |
4 |
15 |
1 |
| tag_ref |
|
1 |
4 |
15 |
1 |
| label_name2id |
|
1 |
4 |
20 |
1 |
| label_id2name |
|
1 |
4 |
18 |
1 |
| label_unref |
|
1 |
4 |
15 |
1 |
| label_ref |
|
1 |
4 |
15 |
1 |
| _name2id |
|
10 |
35 |
238 |
2 |
| _id2name |
|
3 |
10 |
56 |
2 |
| _unref |
|
5 |
17 |
100 |
2 |
| _ref |
|
3 |
11 |
50 |
2 |
| Source file: ./usr.sbin/relayd/relay.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| relay |
|
1 |
6 |
43 |
2 |
| relay_shutdown |
|
1 |
5 |
18 |
1 |
| relay_ruledebug |
|
38 |
106 |
539 |
1 |
| relay_protodebug |
|
9 |
35 |
227 |
1 |
| relay_privinit |
|
7 |
24 |
144 |
1 |
| relay_init |
|
3 |
13 |
109 |
3 |
| relay_session_publish |
|
1 |
4 |
28 |
1 |
| relay_session_unpublish |
|
1 |
5 |
32 |
1 |
| relay_statistics |
|
7 |
52 |
431 |
3 |
| relay_launch |
|
9 |
47 |
307 |
1 |
| relay_socket_af |
|
3 |
18 |
103 |
2 |
| relay_socket_getport |
|
3 |
12 |
63 |
1 |
| relay_socket |
|
27 |
84 |
536 |
5 |
| relay_socket_connect |
|
4 |
15 |
101 |
4 |
| relay_socket_listen |
|
4 |
15 |
108 |
3 |
| relay_connected |
|
16 |
66 |
437 |
3 |
| relay_input |
|
8 |
37 |
257 |
1 |
| relay_write |
|
5 |
18 |
115 |
2 |
| relay_dump |
|
3 |
9 |
61 |
3 |
| relay_read |
|
7 |
26 |
180 |
2 |
| relay_splice |
|
12 |
40 |
349 |
1 |
| relay_splicelen |
|
4 |
22 |
145 |
1 |
| relay_spliceadjust |
|
5 |
11 |
72 |
1 |
| relay_error |
|
24 |
72 |
418 |
3 |
| relay_accept |
|
22 |
130 |
1013 |
3 |
| relay_hash_addr |
|
3 |
19 |
121 |
3 |
| relay_from_table |
|
26 |
98 |
687 |
1 |
| relay_natlook |
|
7 |
21 |
161 |
3 |
| relay_session |
|
11 |
31 |
236 |
1 |
| relay_bindanyreq |
|
1 |
18 |
162 |
3 |
| relay_bindany |
|
3 |
10 |
58 |
3 |
| relay_connect_retry |
|
14 |
64 |
457 |
3 |
| relay_preconnect |
|
2 |
10 |
55 |
1 |
| relay_connect |
|
23 |
93 |
664 |
1 |
| relay_close |
|
20 |
60 |
514 |
2 |
| relay_reset_event |
|
4 |
24 |
151 |
1 |
| relay_dispatch_pfe |
|
25 |
112 |
832 |
3 |
| relay_dispatch_ca |
|
1 |
4 |
23 |
3 |
| relay_dispatch_parent |
|
15 |
67 |
360 |
3 |
| relay_dispatch_hce |
|
1 |
8 |
37 |
3 |
| relay_tls_ctx_create_proto |
|
11 |
45 |
292 |
2 |
| relay_tls_ctx_create |
|
21 |
102 |
618 |
1 |
| relay_tls_inspect_create |
|
7 |
44 |
238 |
2 |
| relay_tls_transaction |
|
9 |
41 |
254 |
2 |
| relay_tls_handshake |
|
12 |
61 |
355 |
3 |
| relay_tls_connected |
|
1 |
9 |
73 |
1 |
| relay_tls_readcb |
|
13 |
50 |
328 |
3 |
| relay_tls_writecb |
|
9 |
35 |
228 |
3 |
| relay_bufferevent_add |
|
2 |
10 |
54 |
2 |
| relay_bufferevent_printf |
|
5 |
13 |
93 |
3 |
| relay_bufferevent_print |
|
2 |
6 |
56 |
2 |
| relay_bufferevent_write_buffer |
|
2 |
7 |
46 |
2 |
| relay_bufferevent_write_chunk |
|
2 |
9 |
52 |
3 |
| relay_bufferevent_write |
|
2 |
6 |
52 |
3 |
| relay_cmp_af |
|
5 |
29 |
215 |
2 |
| relay_load_fd |
|
4 |
24 |
133 |
2 |
| relay_load_certfiles |
|
19 |
61 |
475 |
1 |
| relay_session_cmp |
|
3 |
8 |
73 |
2 |
| relay_log |
|
3 |
6 |
41 |
2 |
| Source file: ./usr.sbin/relayd/config.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| config_init |
|
15 |
85 |
699 |
1 |
| config_purge |
|
29 |
81 |
625 |
2 |
| config_setreset |
|
4 |
12 |
82 |
2 |
| config_getreset |
|
1 |
8 |
52 |
2 |
| config_getcfg |
|
8 |
32 |
229 |
2 |
| config_settable |
|
7 |
29 |
239 |
2 |
| config_gettable |
|
4 |
26 |
206 |
2 |
| config_gethost |
|
4 |
31 |
255 |
2 |
| config_setrdr |
|
4 |
21 |
153 |
2 |
| config_getrdr |
|
4 |
24 |
211 |
2 |
| config_getvirt |
|
3 |
19 |
153 |
2 |
| config_setrt |
|
4 |
20 |
153 |
2 |
| config_getrt |
|
3 |
20 |
171 |
2 |
| config_getroute |
|
4 |
28 |
231 |
2 |
| config_setproto |
|
5 |
23 |
173 |
2 |
| config_setrule |
|
7 |
44 |
369 |
2 |
| config_getproto |
|
4 |
28 |
204 |
2 |
| config_getrule |
|
7 |
36 |
309 |
2 |
| config_setrelayfd |
|
3 |
14 |
102 |
6 |
| config_setrelay |
|
29 |
134 |
911 |
2 |
| config_getrelay |
|
10 |
55 |
410 |
2 |
| config_getrelaytable |
|
4 |
31 |
230 |
2 |
| config_getrelayfd |
|
5 |
31 |
189 |
2 |
| Source file: ./usr.sbin/relayd/carp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| carp_group_find |
|
2 |
8 |
44 |
1 |
| carp_demote_init |
|
7 |
25 |
166 |
2 |
| carp_demote_shutdown |
|
4 |
11 |
73 |
1 |
| carp_demote_get |
|
5 |
27 |
175 |
1 |
| carp_demote_set |
|
7 |
18 |
122 |
2 |
| carp_demote_reset |
|
5 |
18 |
102 |
2 |
| carp_demote_ioctl |
|
6 |
26 |
187 |
2 |
| Source file: ./usr.sbin/relayd/boguskeys.h |
| Source file: ./usr.sbin/relayd/snmp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| snmp_init |
|
6 |
20 |
131 |
2 |
| snmp_setsock |
|
4 |
18 |
157 |
2 |
| snmp_getsock |
|
4 |
20 |
154 |
2 |
| snmp_event_add |
|
1 |
6 |
50 |
2 |
| snmp_sock |
|
9 |
42 |
207 |
3 |
| snmp_agentx_process |
|
82 |
274 |
1551 |
3 |
| snmp_register |
|
3 |
10 |
70 |
1 |
| snmp_unregister |
|
3 |
10 |
68 |
1 |
| snmp_element |
|
24 |
66 |
417 |
5 |
| snmp_hosttrap |
|
5 |
23 |
237 |
3 |
| snmp_string2oid |
|
6 |
16 |
149 |
2 |
| sstodata |
|
3 |
8 |
60 |
1 |
| sstolen |
|
3 |
8 |
58 |
1 |
| snmp_rdr_byidx |
|
11 |
36 |
197 |
5 |
| snmp_relay_byidx |
|
11 |
36 |
197 |
5 |
| snmp_router_byidx |
|
11 |
37 |
199 |
5 |
| snmp_netroute_byidx |
|
11 |
36 |
197 |
5 |
| snmp_host_byidx |
|
11 |
36 |
198 |
5 |
| snmp_session_byidx |
|
11 |
36 |
190 |
5 |
| snmp_table_byidx |
|
11 |
36 |
197 |
5 |
| snmp_redirect |
|
27 |
90 |
600 |
7 |
| snmp_relay |
|
32 |
102 |
701 |
7 |
| snmp_router |
|
17 |
62 |
405 |
7 |
| snmp_netroute |
|
16 |
57 |
384 |
7 |
| snmp_host |
|
29 |
97 |
623 |
7 |
| snmp_session |
|
33 |
119 |
779 |
7 |
| snmp_table |
|
12 |
46 |
299 |
7 |
| Source file: ./usr.sbin/relayd/relay_http.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| relay_http |
|
2 |
12 |
90 |
1 |
| relay_http_init |
|
1 |
6 |
32 |
1 |
| relay_httpdesc_init |
|
2 |
9 |
58 |
1 |
| relay_httpdesc_free |
|
2 |
17 |
96 |
1 |
| relay_read_http |
|
104 |
314 |
1745 |
2 |
| relay_read_httpcontent |
|
12 |
50 |
322 |
2 |
| relay_read_httpchunks |
|
26 |
101 |
611 |
2 |
| relay_reset_http |
|
1 |
10 |
53 |
1 |
| _relay_lookup_url |
|
9 |
41 |
245 |
5 |
| relay_lookup_url |
|
19 |
56 |
459 |
3 |
| relay_lookup_cookie |
|
14 |
41 |
280 |
3 |
| relay_lookup_query |
|
15 |
40 |
276 |
2 |
| relay_http_time |
|
3 |
8 |
58 |
3 |
| relay_abort_http |
|
14 |
76 |
410 |
4 |
| relay_close_http |
|
1 |
7 |
45 |
1 |
| relay_expand_http |
|
18 |
53 |
405 |
4 |
| relay_writerequest_http |
|
10 |
18 |
155 |
2 |
| relay_writeresponse_http |
|
6 |
14 |
114 |
2 |
| relay_writeheader_kv |
|
10 |
21 |
155 |
2 |
| relay_writeheader_http |
|
3 |
15 |
103 |
2 |
| relay_httpmethod_byname |
|
2 |
11 |
82 |
1 |
| relay_httpmethod_byid |
|
3 |
12 |
66 |
1 |
| relay_httpmethod_cmp |
|
1 |
6 |
44 |
2 |
| relay_httperror_byid |
|
1 |
9 |
67 |
1 |
| relay_httperror_cmp |
|
1 |
6 |
41 |
2 |
| relay_httpquery_test |
|
5 |
16 |
126 |
3 |
| relay_httpheader_test |
|
9 |
25 |
182 |
3 |
| relay_httppath_test |
|
9 |
21 |
181 |
3 |
| relay_httpurl_test |
|
10 |
23 |
195 |
3 |
| relay_httpcookie_test |
|
10 |
35 |
212 |
3 |
| relay_match_actions |
|
7 |
23 |
178 |
4 |
| relay_apply_actions |
|
51 |
179 |
996 |
2 |
| relay_test |
|
30 |
86 |
601 |
2 |
| relay_calc_skip_steps |
|
10 |
27 |
201 |
1 |
| relay_match |
|
2 |
9 |
55 |
4 |
| Source file: ./usr.sbin/relayd/agentx.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| snmp_agentx_alloc |
|
2 |
11 |
69 |
1 |
| snmp_agentx_open |
|
5 |
21 |
161 |
3 |
| snmp_agentx_fdopen |
|
6 |
16 |
112 |
3 |
| snmp_agentx_close |
|
4 |
13 |
91 |
2 |
| snmp_agentx_free |
|
5 |
17 |
114 |
1 |
| snmp_agentx_pdu_alloc |
|
3 |
21 |
166 |
1 |
| snmp_agentx_response |
|
4 |
14 |
103 |
2 |
| snmp_agentx_open_response |
|
2 |
7 |
47 |
2 |
| snmp_agentx_pdu_free |
|
1 |
6 |
28 |
1 |
| snmp_agentx_buffer_consume |
|
2 |
10 |
68 |
2 |
| snmp_agentx_send |
|
8 |
30 |
228 |
2 |
| snmp_agentx_recv |
|
24 |
84 |
575 |
1 |
| snmp_agentx_request |
|
7 |
17 |
101 |
2 |
| agentx_find_inflight |
|
3 |
8 |
56 |
3 |
| snmp_agentx_buffercheck |
|
5 |
18 |
145 |
2 |
| snmp_agentx_open_pdu |
|
6 |
24 |
160 |
3 |
| snmp_agentx_close_pdu |
|
3 |
15 |
98 |
2 |
| snmp_agentx_notify_pdu |
|
3 |
13 |
79 |
1 |
| snmp_agentx_response_pdu |
|
3 |
16 |
100 |
3 |
| snmp_agentx_ping_pdu |
|
2 |
9 |
49 |
1 |
| snmp_agentx_register_pdu |
|
6 |
21 |
144 |
4 |
| snmp_agentx_unregister_pdu |
|
7 |
22 |
151 |
3 |
| snmp_agentx_get_pdu |
|
5 |
19 |
128 |
2 |
| snmp_agentx_raw |
|
2 |
10 |
70 |
3 |
| snmp_agentx_int |
|
1 |
4 |
29 |
2 |
| snmp_agentx_int64 |
|
1 |
4 |
29 |
2 |
| snmp_agentx_octetstring |
|
4 |
13 |
105 |
3 |
| snmp_agentx_oid |
|
10 |
25 |
197 |
2 |
| snmp_agentx_varbind |
|
16 |
33 |
195 |
5 |
| snmp_agentx_read_vbhdr |
|
3 |
9 |
64 |
2 |
| snmp_agentx_copy_raw |
|
1 |
4 |
30 |
3 |
| snmp_agentx_read_raw |
|
1 |
4 |
30 |
3 |
| snmp_agentx_do_read_raw |
|
3 |
9 |
63 |
4 |
| snmp_agentx_read_int |
|
3 |
8 |
61 |
2 |
| snmp_agentx_read_int64 |
|
3 |
8 |
61 |
2 |
| snmp_agentx_read_oid |
|
1 |
5 |
30 |
2 |
| snmp_agentx_do_read_oid |
|
5 |
23 |
173 |
3 |
| snmp_agentx_read_searchrange |
|
3 |
8 |
58 |
2 |
| snmp_agentx_read_octetstr |
|
4 |
15 |
92 |
2 |
| snmp_agentx_ping |
|
4 |
13 |
85 |
1 |
| snmp_agentx_update_ids |
|
1 |
5 |
34 |
2 |
| snmp_oid2string |
|
3 |
13 |
103 |
3 |
| snmp_oid_cmp |
|
6 |
19 |
123 |
2 |
| snmp_oid_increment |
|
3 |
9 |
54 |
1 |
| snmp_agentx_type2name |
|
2 |
26 |
73 |
1 |
| snmp_agentx_dump_hdr |
|
3 |
19 |
121 |
1 |
| Source file: ./usr.sbin/relayd/util.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| host_error |
|
35 |
108 |
359 |
1 |
| host_status |
|
4 |
12 |
44 |
1 |
| table_check |
|
8 |
20 |
76 |
1 |
| print_availability |
|
2 |
9 |
64 |
2 |
| print_host |
|
2 |
9 |
63 |
3 |
| print_time |
|
1 |
12 |
96 |
4 |
| printb_flags |
|
8 |
30 |
184 |
2 |
| getmonotime |
|
2 |
7 |
36 |
1 |
| Source file: ./usr.sbin/relayd/shuffle.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| shuffle_init |
|
2 |
11 |
75 |
1 |
| shuffle_generate16 |
|
2 |
17 |
110 |
1 |
| Source file: ./usr.sbin/relayd/hce.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| hce |
|
1 |
6 |
43 |
2 |
| hce_init |
|
3 |
9 |
70 |
3 |
| hce_setup_events |
|
6 |
21 |
138 |
1 |
| hce_disable_events |
|
4 |
23 |
144 |
1 |
| hce_launch_checks |
|
12 |
55 |
382 |
3 |
| hce_notify_done |
|
18 |
79 |
607 |
2 |
| hce_dispatch_pfe |
|
10 |
51 |
362 |
3 |
| hce_dispatch_parent |
|
7 |
29 |
137 |
3 |
| hce_dispatch_relay |
|
1 |
8 |
37 |
3 |
| Source file: ./usr.sbin/relayd/pfe_route.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| init_routes |
|
4 |
12 |
92 |
1 |
| sync_routes |
|
4 |
29 |
238 |
2 |
| pfe_route |
|
19 |
104 |
924 |
2 |
| Source file: ./usr.sbin/relayd/check_icmp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| icmp_setup |
|
4 |
13 |
109 |
3 |
| icmp_init |
|
1 |
8 |
67 |
1 |
| schedule_icmp |
|
2 |
9 |
65 |
2 |
| check_icmp_add |
|
2 |
12 |
125 |
4 |
| check_icmp |
|
3 |
11 |
86 |
2 |
| icmp_checks_done |
|
5 |
18 |
111 |
1 |
| icmp_checks_timeout |
|
5 |
19 |
124 |
2 |
| send_icmp |
|
22 |
115 |
743 |
3 |
| recv_icmp |
|
12 |
56 |
391 |
3 |
| in_cksum |
|
3 |
19 |
112 |
2 |
| Source file: ./usr.sbin/relayd/ssl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ssl_init |
|
2 |
11 |
41 |
1 |
| ssl_password_cb |
|
3 |
11 |
71 |
4 |
| ssl_load_key |
|
9 |
35 |
246 |
4 |
| ssl_update_certificate |
|
16 |
67 |
472 |
6 |
| ssl_load_pkey |
|
11 |
52 |
303 |
4 |
| ssl_ctx_fake_private_key |
|
10 |
49 |
260 |
3 |
| Source file: ./usr.sbin/relayd/check_tcp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| check_tcp |
|
14 |
60 |
450 |
1 |
| tcp_write |
|
4 |
21 |
123 |
3 |
| tcp_close |
|
2 |
9 |
53 |
2 |
| tcp_host_up |
|
9 |
37 |
244 |
1 |
| tcp_send_req |
|
7 |
33 |
234 |
3 |
| tcp_read_buf |
|
11 |
45 |
315 |
3 |
| check_send_expect |
|
3 |
17 |
114 |
1 |
| check_http_code |
|
7 |
48 |
305 |
1 |
| check_http_digest |
|
4 |
32 |
212 |
1 |
| Source file: ./usr.sbin/relayd/check_script.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| check_script |
|
4 |
17 |
183 |
2 |
| script_done |
|
5 |
15 |
100 |
2 |
| script_sig_alarm |
|
2 |
7 |
30 |
1 |
| script_exec |
|
11 |
68 |
461 |
2 |
| Source file: ./usr.sbin/apmd/pathnames.h |
| Source file: ./usr.sbin/apmd/apm-proto.h |
| Source file: ./usr.sbin/apmd/apmsubr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| battstate |
|
7 |
19 |
54 |
1 |
| ac_state |
|
5 |
15 |
42 |
1 |
| perf_mode |
|
4 |
13 |
36 |
1 |
| Source file: ./usr.sbin/relayd/pfe.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pfe |
|
6 |
20 |
165 |
2 |
| pfe_init |
|
3 |
8 |
58 |
3 |
| pfe_shutdown |
|
1 |
5 |
18 |
1 |
| pfe_setup_events |
|
2 |
9 |
64 |
1 |
| pfe_disable_events |
|
1 |
4 |
14 |
1 |
| pfe_dispatch_hce |
|
12 |
59 |
400 |
3 |
| pfe_dispatch_parent |
|
14 |
50 |
209 |
3 |
| pfe_dispatch_relay |
|
21 |
95 |
684 |
3 |
| show |
|
11 |
73 |
698 |
1 |
| show_sessions |
|
2 |
10 |
75 |
1 |
| disable_rdr |
|
4 |
20 |
145 |
2 |
| enable_rdr |
|
7 |
28 |
230 |
2 |
| disable_table |
|
6 |
27 |
233 |
2 |
| enable_table |
|
6 |
28 |
242 |
2 |
| disable_host |
|
9 |
39 |
303 |
3 |
| enable_host |
|
7 |
30 |
244 |
3 |
| pfe_sync |
|
19 |
89 |
724 |
1 |
| pfe_statistics |
|
7 |
41 |
333 |
3 |
| Source file: ./usr.sbin/rbootd/pathnames.h |
| Source file: ./usr.sbin/relayd/proc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| proc_ispeer |
|
3 |
9 |
55 |
3 |
| proc_getid |
|
3 |
13 |
75 |
3 |
| proc_exec |
|
11 |
52 |
398 |
5 |
| proc_connect |
|
9 |
24 |
191 |
1 |
| proc_init |
|
11 |
42 |
301 |
6 |
| proc_accept |
|
4 |
24 |
185 |
4 |
| proc_setup |
|
13 |
42 |
451 |
3 |
| proc_kill |
|
11 |
30 |
180 |
1 |
| proc_open |
|
10 |
34 |
319 |
3 |
| proc_close |
|
6 |
21 |
171 |
1 |
| proc_shutdown |
|
4 |
11 |
76 |
1 |
| proc_sig_handler |
|
7 |
17 |
63 |
3 |
| proc_run |
|
17 |
64 |
574 |
6 |
| proc_dispatch |
|
16 |
66 |
439 |
3 |
| proc_dispatch_null |
|
1 |
4 |
23 |
3 |
| imsg_event_add |
|
3 |
13 |
95 |
1 |
| imsg_compose_event |
|
2 |
10 |
75 |
7 |
| imsg_composev_event |
|
2 |
10 |
77 |
7 |
| proc_range |
|
2 |
9 |
57 |
4 |
| proc_compose_imsg |
|
3 |
12 |
106 |
8 |
| proc_compose |
|
1 |
5 |
48 |
5 |
| proc_composev_imsg |
|
3 |
11 |
106 |
8 |
| proc_composev |
|
1 |
5 |
50 |
5 |
| proc_forward_imsg |
|
1 |
6 |
58 |
4 |
| proc_ibuf |
|
1 |
6 |
48 |
3 |
| proc_iev |
|
1 |
6 |
46 |
3 |
| proc_flush_imsg |
|
6 |
17 |
126 |
3 |
| Source file: ./usr.sbin/rbootd/rmp.h |
| Source file: ./usr.sbin/rbootd/conf.c |
| Source file: ./usr.sbin/repquota/repquota.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
31 |
78 |
514 |
2 |
| usage |
|
1 |
6 |
25 |
1 |
| repquota |
|
25 |
75 |
522 |
3 |
| oneof |
|
3 |
8 |
58 |
3 |
| hasquota |
|
10 |
33 |
245 |
3 |
| lookup |
|
3 |
8 |
61 |
2 |
| addid |
|
6 |
27 |
185 |
3 |
| timeprt |
|
5 |
24 |
149 |
1 |
| Source file: ./usr.sbin/rbootd/bpf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| BpfOpen |
|
15 |
101 |
889 |
1 |
| BpfGetIntfName |
|
11 |
37 |
262 |
1 |
| BpfRead |
|
6 |
36 |
227 |
2 |
| BpfWrite |
|
2 |
8 |
54 |
1 |
| Source file: ./usr.sbin/rbootd/defs.h |
| Source file: ./usr.sbin/relayd/relayd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| parent_sig_handler |
|
6 |
19 |
80 |
3 |
| usage |
|
1 |
7 |
25 |
1 |
| main |
|
29 |
121 |
833 |
2 |
| parent_configure |
|
5 |
36 |
273 |
1 |
| parent_reload |
|
7 |
24 |
140 |
3 |
| parent_configure_done |
|
5 |
16 |
84 |
1 |
| parent_shutdown |
|
1 |
12 |
77 |
1 |
| parent_dispatch_pfe |
|
9 |
44 |
266 |
3 |
| parent_dispatch_hce |
|
3 |
20 |
129 |
3 |
| parent_dispatch_relay |
|
6 |
32 |
186 |
3 |
| parent_dispatch_ca |
|
2 |
13 |
68 |
3 |
| purge_table |
|
4 |
20 |
156 |
3 |
| purge_key |
|
1 |
5 |
24 |
2 |
| purge_relay |
|
9 |
38 |
269 |
2 |
| kv_add |
|
7 |
26 |
186 |
4 |
| kv_set |
|
3 |
18 |
120 |
3 |
| kv_setkey |
|
2 |
12 |
75 |
3 |
| kv_delete |
|
2 |
12 |
78 |
2 |
| kv_extend |
|
5 |
14 |
109 |
3 |
| kv_purge |
|
2 |
6 |
36 |
1 |
| kv_free |
|
1 |
6 |
36 |
1 |
| kv_inherit |
|
7 |
23 |
163 |
2 |
| kv_log |
|
11 |
23 |
174 |
4 |
| kv_find |
|
4 |
15 |
94 |
2 |
| kv_cmp |
|
1 |
4 |
28 |
2 |
| rule_add |
|
24 |
69 |
440 |
3 |
| rule_inherit |
|
8 |
25 |
173 |
1 |
| rule_free |
|
5 |
12 |
81 |
1 |
| rule_delete |
|
1 |
6 |
33 |
2 |
| rule_settable |
|
5 |
14 |
106 |
2 |
| host_find |
|
2 |
10 |
63 |
2 |
| table_find |
|
2 |
8 |
47 |
2 |
| rdr_find |
|
2 |
8 |
47 |
2 |
| relay_find |
|
2 |
8 |
47 |
2 |
| proto_find |
|
2 |
8 |
45 |
2 |
| session_find |
|
2 |
10 |
61 |
2 |
| route_find |
|
2 |
8 |
47 |
2 |
| router_find |
|
2 |
8 |
47 |
2 |
| host_findbyname |
|
2 |
10 |
70 |
2 |
| table_findbyname |
|
2 |
8 |
54 |
2 |
| table_findbyconf |
|
7 |
19 |
180 |
2 |
| rdr_findbyname |
|
2 |
8 |
54 |
2 |
| relay_findbyname |
|
2 |
8 |
54 |
2 |
| relay_findbyaddr |
|
3 |
9 |
75 |
2 |
| pkey_find |
|
2 |
8 |
53 |
2 |
| pkey_add |
|
4 |
16 |
118 |
3 |
| event_again |
|
2 |
16 |
157 |
7 |
| expand_string |
|
6 |
29 |
204 |
4 |
| translate_string |
|
5 |
24 |
95 |
1 |
| digeststr |
|
3 |
14 |
69 |
4 |
| canonicalize_host |
|
12 |
36 |
258 |
3 |
| parse_url |
|
8 |
30 |
245 |
4 |
| bindany |
|
7 |
23 |
157 |
1 |
| map6to4 |
|
4 |
18 |
155 |
1 |
| map4to6 |
|
4 |
19 |
174 |
2 |
| socket_rlimit |
|
4 |
13 |
94 |
1 |
| get_string |
|
4 |
9 |
66 |
2 |
| get_data |
|
2 |
8 |
47 |
2 |
| sockaddr_cmp |
|
20 |
53 |
578 |
3 |
| prefixlen2mask |
|
3 |
8 |
43 |
1 |
| prefixlen2mask6 |
|
4 |
15 |
107 |
2 |
| accept_reserve |
|
3 |
15 |
97 |
5 |
| parent_tls_ticket_rekey |
|
1 |
16 |
124 |
3 |
| Source file: ./usr.sbin/rbootd/parseconf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ParseConfig |
|
21 |
71 |
379 |
1 |
| ParseAddr |
|
11 |
34 |
215 |
1 |
| GetBootFiles |
|
10 |
32 |
207 |
1 |
| Source file: ./usr.sbin/rbootd/rmpproto.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ProcessPacket |
|
12 |
42 |
221 |
2 |
| SendServerID |
|
4 |
22 |
161 |
1 |
| SendFileNo |
|
6 |
29 |
217 |
3 |
| SendBootRepl |
|
13 |
56 |
426 |
3 |
| SendReadRepl |
|
11 |
63 |
425 |
1 |
| BootDone |
|
4 |
21 |
138 |
1 |
| SendPacket |
|
2 |
12 |
126 |
1 |
| Source file: ./usr.sbin/rbootd/rbootd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
34 |
125 |
728 |
2 |
| DoTimeout |
|
3 |
12 |
82 |
1 |
| FindClient |
|
3 |
9 |
72 |
1 |
| Exit |
|
1 |
6 |
30 |
1 |
| DoExit |
|
1 |
5 |
18 |
1 |
| ReConfig |
|
1 |
4 |
11 |
1 |
| DoReConfig |
|
3 |
9 |
41 |
1 |
| DebugOff |
|
1 |
4 |
11 |
1 |
| DoDebugOff |
|
2 |
6 |
24 |
1 |
| DebugOn |
|
1 |
4 |
11 |
1 |
| DoDebugOn |
|
3 |
7 |
38 |
1 |
| Source file: ./usr.sbin/ndp/gmt2local.h |
| Source file: ./usr.sbin/rbootd/rmp_var.h |
| Source file: ./usr.sbin/ndp/gmt2local.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| gmt2local |
|
3 |
18 |
131 |
1 |
| Source file: ./usr.sbin/rbootd/utils.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| DispPkt |
|
11 |
79 |
671 |
2 |
| GetEtherAddr |
|
3 |
18 |
100 |
1 |
| DspFlnm |
|
2 |
8 |
61 |
2 |
| NewClient |
|
2 |
12 |
77 |
1 |
| FreeClients |
|
2 |
9 |
33 |
1 |
| NewStr |
|
2 |
10 |
46 |
1 |
| NewConn |
|
3 |
18 |
104 |
1 |
| FreeConn |
|
3 |
11 |
55 |
1 |
| FreeConns |
|
3 |
13 |
54 |
1 |
| AddConn |
|
2 |
6 |
24 |
1 |
| FindConn |
|
3 |
9 |
76 |
1 |
| RemoveConn |
|
4 |
20 |
88 |
1 |
| Source file: ./usr.sbin/syslogd/evbuffer_tls.h |
| Source file: ./usr.sbin/apmd/apmd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sigexit |
|
1 |
5 |
16 |
1 |
| usage |
|
1 |
7 |
21 |
1 |
| error |
|
2 |
12 |
74 |
2 |
| set_driver_messages |
|
2 |
5 |
32 |
2 |
| power_status |
|
16 |
48 |
260 |
3 |
| sockunlink |
|
2 |
5 |
18 |
1 |
| bind_socket |
|
5 |
22 |
174 |
1 |
| handle_client |
|
13 |
69 |
388 |
2 |
| suspend |
|
1 |
8 |
37 |
1 |
| stand_by |
|
1 |
8 |
37 |
1 |
| hibernate |
|
1 |
8 |
37 |
1 |
| main |
|
73 |
230 |
1221 |
2 |
| setperfpolicy |
|
5 |
21 |
155 |
1 |
| do_etc_file |
|
6 |
32 |
165 |
1 |
| Source file: ./usr.sbin/syslogd/log.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| log_init |
|
3 |
13 |
69 |
2 |
| log_procinit |
|
2 |
5 |
19 |
1 |
| log_setverbose |
|
1 |
4 |
11 |
1 |
| log_getverbose |
|
1 |
4 |
11 |
1 |
| logit |
|
1 |
7 |
38 |
3 |
| vlog |
|
1 |
6 |
37 |
3 |
| log_warn |
|
3 |
19 |
120 |
2 |
| log_warnx |
|
1 |
7 |
35 |
2 |
| log_info |
|
1 |
7 |
38 |
3 |
| log_debug |
|
3 |
18 |
91 |
2 |
| log_debugadd |
|
4 |
20 |
92 |
2 |
| vfatalc |
|
3 |
17 |
105 |
3 |
| fatal |
|
1 |
8 |
40 |
2 |
| fatalx |
|
1 |
8 |
40 |
2 |
| Source file: ./usr.sbin/syslogd/privsep_fdpass.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| send_fd |
|
4 |
33 |
225 |
2 |
| receive_fd |
|
7 |
44 |
272 |
1 |
| Source file: ./usr.sbin/syslogd/syslogd.h |
| Source file: ./usr.sbin/syslogd/ttymsg.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ttymsg |
|
26 |
96 |
583 |
3 |
| ttycb |
|
7 |
25 |
151 |
3 |
| Source file: ./usr.sbin/ndp/ndp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
35 |
98 |
415 |
2 |
| file |
|
5 |
29 |
240 |
1 |
| getsocket |
|
5 |
13 |
90 |
1 |
| set |
|
19 |
66 |
462 |
2 |
| get |
|
6 |
28 |
209 |
1 |
| delete |
|
16 |
56 |
405 |
1 |
| dump |
|
44 |
143 |
926 |
2 |
| getnbrinfo |
|
4 |
18 |
123 |
3 |
| ether_str |
|
2 |
12 |
99 |
1 |
| ndp_ether_aton |
|
3 |
13 |
115 |
2 |
| usage |
|
1 |
8 |
31 |
1 |
| rtmsg |
|
16 |
56 |
372 |
1 |
| rtget |
|
9 |
35 |
200 |
2 |
| ifinfo |
|
4 |
20 |
170 |
1 |
| sec2str |
|
12 |
36 |
240 |
1 |
| ts_print |
|
1 |
7 |
56 |
1 |
| Source file: ./usr.sbin/syslogd/log.h |
| Source file: ./usr.sbin/syslogd/ringbuf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ringbuf_init |
|
4 |
13 |
86 |
1 |
| ringbuf_free |
|
1 |
5 |
21 |
1 |
| ringbuf_clear |
|
1 |
4 |
19 |
1 |
| ringbuf_used |
|
1 |
4 |
30 |
1 |
| ringbuf_append_line |
|
9 |
33 |
303 |
2 |
| ringbuf_to_string |
|
7 |
20 |
167 |
3 |
| Source file: ./usr.sbin/syslogd/privsep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| priv_init |
|
13 |
46 |
391 |
4 |
| priv_exec |
|
53 |
222 |
1520 |
5 |
| open_file |
|
2 |
6 |
39 |
1 |
| open_pipe |
|
18 |
55 |
417 |
1 |
| check_tty_name |
|
7 |
15 |
108 |
2 |
| check_log_name |
|
9 |
31 |
174 |
2 |
| increase_state |
|
4 |
8 |
41 |
1 |
| priv_open_tty |
|
3 |
17 |
117 |
1 |
| priv_open_log |
|
4 |
20 |
131 |
1 |
| priv_open_utmp |
|
4 |
19 |
95 |
1 |
| priv_open_config |
|
4 |
19 |
95 |
1 |
| priv_config_modified |
|
2 |
10 |
59 |
1 |
| priv_config_parse_done |
|
2 |
8 |
41 |
1 |
| priv_getaddrinfo |
|
8 |
34 |
330 |
5 |
| priv_getnameinfo |
|
5 |
18 |
138 |
4 |
| sig_pass_to_chld |
|
2 |
7 |
30 |
1 |
| sig_got_chld |
|
6 |
11 |
65 |
1 |
| may_read |
|
6 |
19 |
92 |
3 |
| must_read |
|
6 |
18 |
87 |
3 |
| must_write |
|
6 |
18 |
87 |
3 |
| Source file: ./usr.sbin/lpr/lpc/lpc.h |
| Source file: ./usr.sbin/syslogd/evbuffer_tls.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bufferevent_add |
|
2 |
10 |
54 |
2 |
| buffertls_readcb |
|
17 |
63 |
433 |
3 |
| buffertls_writecb |
|
13 |
46 |
310 |
3 |
| buffertls_handshakecb |
|
9 |
37 |
247 |
3 |
| buffertls_set |
|
1 |
9 |
73 |
4 |
| buffertls_accept |
|
1 |
10 |
81 |
2 |
| buffertls_connect |
|
1 |
10 |
81 |
2 |
| evtls_read |
|
7 |
18 |
145 |
4 |
| evtls_write |
|
2 |
9 |
58 |
3 |
| Source file: ./usr.sbin/lpr/lpc/extern.h |
| Source file: ./usr.sbin/lpr/lpc/lpc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
8 |
31 |
181 |
2 |
| intr |
|
2 |
6 |
21 |
1 |
| cmdscanner |
|
13 |
41 |
207 |
1 |
| getcmd |
|
8 |
25 |
155 |
1 |
| makeargv |
|
3 |
13 |
67 |
1 |
| help |
|
13 |
48 |
305 |
2 |
| ingroup |
|
6 |
21 |
128 |
1 |
| Source file: ./usr.sbin/lpr/common_source/pathnames.h |
| Source file: ./usr.sbin/lpr/common_source/lp.local.h |
| Source file: ./usr.sbin/lpr/lpc/cmdtab.c |
| Source file: ./usr.sbin/lpr/common_source/common_vars.c |
| Source file: ./usr.sbin/lpr/common_source/lp.h |
| Source file: ./usr.sbin/lpr/lprm/lprm.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
19 |
65 |
407 |
2 |
| usage |
|
1 |
7 |
25 |
1 |
| Source file: ./usr.sbin/lpr/common_source/displayq.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| displayq |
|
66 |
193 |
1420 |
1 |
| alarmer |
|
1 |
3 |
7 |
1 |
| nodaemon |
|
2 |
7 |
29 |
1 |
| header |
|
1 |
7 |
36 |
1 |
| inform |
|
14 |
55 |
329 |
2 |
| inlist |
|
9 |
16 |
152 |
2 |
| show |
|
3 |
9 |
53 |
3 |
| blankfill |
|
2 |
5 |
19 |
1 |
| dump |
|
7 |
24 |
155 |
3 |
| ldump |
|
4 |
18 |
96 |
3 |
| prank |
|
3 |
18 |
129 |
1 |
| Source file: ./usr.sbin/lpr/common_source/startdaemon.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| startdaemon |
|
11 |
54 |
359 |
1 |
| Source file: ./usr.sbin/lpr/common_source/rmjob.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rmjob |
|
22 |
59 |
376 |
1 |
| lockchk |
|
10 |
35 |
222 |
1 |
| process |
|
9 |
25 |
148 |
1 |
| do_unlink |
|
3 |
10 |
46 |
1 |
| chk |
|
23 |
36 |
332 |
1 |
| isowner |
|
7 |
11 |
93 |
2 |
| rmremote |
|
14 |
55 |
425 |
1 |
| alarmer |
|
1 |
3 |
7 |
1 |
| iscf |
|
2 |
4 |
31 |
1 |
| Source file: ./usr.sbin/lpr/filters/lpf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
42 |
130 |
650 |
2 |
| usage |
|
1 |
7 |
26 |
1 |
| Source file: ./usr.sbin/lpr/common_source/common.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| getport |
|
15 |
67 |
408 |
2 |
| get_line |
|
7 |
21 |
119 |
1 |
| getq |
|
14 |
59 |
358 |
1 |
| compar |
|
1 |
6 |
51 |
2 |
| checkremote |
|
17 |
82 |
572 |
1 |
| fatal |
|
3 |
15 |
94 |
2 |
| safe_open |
|
6 |
22 |
128 |
3 |
| ckqueue |
|
6 |
21 |
126 |
1 |
| Source file: ./usr.sbin/lpr/lpd/extern.h |
| Source file: ./usr.sbin/lpr/lpc/cmds.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| doabort |
|
13 |
35 |
217 |
2 |
| abortpr |
|
15 |
61 |
383 |
1 |
| upstat |
|
6 |
22 |
177 |
1 |
| clean |
|
13 |
35 |
215 |
2 |
| doselect |
|
5 |
7 |
55 |
1 |
| sortq |
|
6 |
15 |
141 |
2 |
| cleanpr |
|
14 |
54 |
346 |
1 |
| unlinkf |
|
2 |
9 |
36 |
1 |
| enable |
|
13 |
35 |
215 |
2 |
| enablepr |
|
5 |
19 |
124 |
1 |
| disable |
|
13 |
35 |
215 |
2 |
| disablepr |
|
7 |
29 |
197 |
1 |
| down |
|
11 |
33 |
219 |
2 |
| putmsg |
|
14 |
62 |
458 |
2 |
| quit |
|
1 |
4 |
16 |
2 |
| restart |
|
13 |
37 |
227 |
2 |
| startcmd |
|
13 |
35 |
217 |
2 |
| startpr |
|
8 |
26 |
163 |
1 |
| status |
|
13 |
31 |
206 |
2 |
| prstat |
|
20 |
69 |
464 |
1 |
| stop |
|
13 |
35 |
215 |
2 |
| stoppr |
|
7 |
32 |
209 |
1 |
| topq |
|
15 |
58 |
330 |
2 |
| touch |
|
1 |
11 |
72 |
1 |
| doarg |
|
21 |
57 |
403 |
1 |
| up |
|
13 |
35 |
217 |
2 |
| Source file: ./usr.sbin/lpr/lpd/key.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| c_key |
|
1 |
4 |
42 |
2 |
| ksearch |
|
6 |
26 |
188 |
2 |
| f_cbreak |
|
2 |
12 |
67 |
1 |
| f_columns |
|
1 |
5 |
28 |
1 |
| f_dec |
|
1 |
10 |
85 |
1 |
| f_extproc |
|
2 |
10 |
60 |
1 |
| f_ispeed |
|
1 |
5 |
30 |
1 |
| f_nl |
|
2 |
11 |
58 |
1 |
| f_ospeed |
|
1 |
5 |
30 |
1 |
| f_raw |
|
2 |
11 |
57 |
1 |
| f_rows |
|
1 |
5 |
28 |
1 |
| f_sane |
|
1 |
9 |
79 |
1 |
| f_tty |
|
2 |
7 |
39 |
1 |
| Source file: ./usr.sbin/lpr/lpd/allowedhost.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| allowedhost |
|
18 |
60 |
366 |
3 |
| checkhost |
|
6 |
29 |
224 |
3 |
| gethostloop |
|
8 |
36 |
285 |
2 |
| main |
|
4 |
19 |
143 |
2 |
| Source file: ./usr.sbin/lpr/lpd/lpdchar.c |
| Source file: ./usr.sbin/lpr/lpd/modes.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| msearch |
|
9 |
35 |
254 |
2 |
| Source file: ./usr.sbin/lpr/lpd/lpd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
63 |
248 |
1496 |
2 |
| reapchild |
|
2 |
8 |
40 |
1 |
| mcleanup |
|
2 |
9 |
39 |
1 |
| doit |
|
37 |
111 |
587 |
1 |
| startup |
|
9 |
30 |
147 |
1 |
| chkhost |
|
14 |
60 |
423 |
1 |
| usage |
|
1 |
7 |
26 |
1 |
| socksetup |
|
19 |
76 |
481 |
3 |
| Source file: ./usr.sbin/lpr/lpr/lpr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
92 |
234 |
1413 |
2 |
| copy |
|
12 |
33 |
227 |
2 |
| linked |
|
11 |
33 |
188 |
1 |
| card |
|
5 |
16 |
117 |
2 |
| nfile |
|
5 |
22 |
131 |
1 |
| cleanup |
|
8 |
26 |
135 |
1 |
| test |
|
11 |
46 |
251 |
1 |
| itoa |
|
2 |
11 |
52 |
1 |
| chkprinter |
|
8 |
21 |
186 |
1 |
| mktemps |
|
11 |
35 |
311 |
1 |
| lmktemp |
|
2 |
7 |
48 |
2 |
| usage |
|
1 |
10 |
28 |
1 |
| Source file: ./usr.sbin/lpr/lpq/lpq.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
24 |
73 |
426 |
2 |
| usage |
|
1 |
8 |
25 |
1 |
| Source file: ./usr.sbin/lpr/lpd/recvjob.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| recvjob |
|
13 |
38 |
277 |
1 |
| readjob |
|
22 |
68 |
440 |
1 |
| readfile |
|
11 |
41 |
245 |
2 |
| noresponse |
|
3 |
9 |
44 |
1 |
| chksize |
|
4 |
16 |
95 |
1 |
| read_number |
|
3 |
13 |
79 |
1 |
| rcleanup |
|
7 |
17 |
106 |
1 |
| frecverr |
|
1 |
12 |
65 |
2 |
| Source file: ./usr.sbin/ntpd/log.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| log_init |
|
2 |
10 |
48 |
2 |
| log_procinit |
|
2 |
5 |
19 |
1 |
| log_setverbose |
|
1 |
4 |
11 |
1 |
| log_getverbose |
|
1 |
4 |
11 |
1 |
| logit |
|
1 |
7 |
38 |
3 |
| vlog |
|
3 |
17 |
99 |
3 |
| log_warn |
|
3 |
21 |
120 |
2 |
| log_warnx |
|
1 |
7 |
35 |
2 |
| log_info |
|
1 |
7 |
35 |
2 |
| log_debug |
|
2 |
9 |
43 |
2 |
| vfatalc |
|
3 |
17 |
106 |
3 |
| fatal |
|
1 |
8 |
40 |
2 |
| fatalx |
|
1 |
8 |
40 |
2 |
| Source file: ./usr.sbin/syslogd/syslogd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
145 |
480 |
3388 |
2 |
| address_alloc |
|
5 |
14 |
171 |
5 |
| socket_bind |
|
26 |
92 |
624 |
6 |
| klog_readcb |
|
4 |
13 |
80 |
3 |
| udp_readcb |
|
5 |
17 |
128 |
3 |
| unix_readcb |
|
5 |
14 |
97 |
3 |
| reserve_accept4 |
|
6 |
27 |
204 |
7 |
| tcp_acceptcb |
|
1 |
4 |
25 |
3 |
| tls_acceptcb |
|
1 |
4 |
25 |
3 |
| acceptcb |
|
20 |
70 |
489 |
4 |
| octet_counting |
|
13 |
26 |
186 |
3 |
| non_transparent_framing |
|
10 |
20 |
147 |
2 |
| tcp_readcb |
|
12 |
36 |
294 |
2 |
| tcp_closecb |
|
7 |
19 |
137 |
3 |
| tcp_socket |
|
4 |
17 |
135 |
1 |
| tcp_dropcb |
|
1 |
7 |
50 |
2 |
| tcp_writecb |
|
3 |
13 |
104 |
2 |
| tcp_errorcb |
|
9 |
41 |
325 |
3 |
| tcp_connectcb |
|
8 |
48 |
355 |
3 |
| tcp_connect_retry |
|
3 |
17 |
136 |
2 |
| tcpbuf_countmsg |
|
3 |
12 |
74 |
1 |
| usage |
|
1 |
9 |
24 |
1 |
| parsepriority |
|
6 |
19 |
117 |
2 |
| printline |
|
6 |
20 |
153 |
2 |
| printsys |
|
6 |
23 |
180 |
1 |
| vlogmsg |
|
3 |
14 |
108 |
4 |
| logline |
|
89 |
163 |
1322 |
4 |
| fprintlog |
|
67 |
232 |
1506 |
3 |
| wallmsg |
|
9 |
36 |
235 |
2 |
| cvthname |
|
4 |
14 |
98 |
3 |
| die_signalcb |
|
1 |
4 |
19 |
3 |
| mark_timercb |
|
1 |
9 |
49 |
3 |
| init_signalcb |
|
1 |
8 |
46 |
3 |
| logevent |
|
1 |
4 |
21 |
2 |
| dropped_warn |
|
3 |
10 |
54 |
2 |
| die |
|
6 |
27 |
163 |
1 |
| init |
|
58 |
179 |
1203 |
1 |
| find_dup |
|
14 |
32 |
193 |
1 |
| cfline |
|
93 |
263 |
1864 |
3 |
| loghost_parse |
|
9 |
26 |
177 |
4 |
| getmsgbufsize |
|
2 |
13 |
75 |
1 |
| decode |
|
6 |
16 |
133 |
2 |
| markit |
|
4 |
19 |
120 |
1 |
| unix_socket |
|
9 |
46 |
316 |
3 |
| double_sockbuf |
|
5 |
16 |
120 |
2 |
| set_sockbuf |
|
3 |
8 |
70 |
1 |
| ctlconn_cleanup |
|
3 |
14 |
81 |
1 |
| ctlsock_acceptcb |
|
8 |
24 |
148 |
3 |
| find_membuf_log |
|
3 |
10 |
55 |
1 |
| ctlconn_readcb |
|
29 |
113 |
664 |
3 |
| ctlconn_writecb |
|
11 |
43 |
184 |
3 |
| tailify_replytext |
|
4 |
18 |
104 |
2 |
| ctlconn_logto |
|
3 |
15 |
81 |
1 |
| Source file: ./usr.sbin/ntpd/ntp.h |
| Source file: ./usr.sbin/ntpd/config.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| host |
|
6 |
14 |
94 |
2 |
| host_v4 |
|
3 |
16 |
123 |
1 |
| host_v6 |
|
3 |
24 |
186 |
1 |
| host_dns_free |
|
2 |
9 |
40 |
1 |
| host_dns |
|
11 |
44 |
338 |
2 |
| new_peer |
|
2 |
8 |
47 |
1 |
| new_sensor |
|
3 |
9 |
62 |
1 |
| new_constraint |
|
2 |
9 |
54 |
1 |
| Source file: ./usr.sbin/ntpd/control.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| control_init |
|
7 |
37 |
260 |
1 |
| control_listen |
|
3 |
8 |
42 |
1 |
| control_shutdown |
|
1 |
4 |
12 |
1 |
| control_cleanup |
|
2 |
5 |
18 |
1 |
| control_accept |
|
5 |
23 |
142 |
1 |
| control_connbyfd |
|
2 |
9 |
40 |
1 |
| control_close |
|
2 |
13 |
78 |
1 |
| control_dispatch_msg |
|
16 |
93 |
676 |
2 |
| session_socket_nonblockmode |
|
3 |
9 |
58 |
1 |
| build_show_status |
|
3 |
23 |
157 |
1 |
| build_show_peer |
|
16 |
60 |
499 |
2 |
| build_show_sensor |
|
6 |
27 |
237 |
2 |
| Source file: ./usr.sbin/ntpd/ntp_dns.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sighdlr_dns |
|
3 |
9 |
25 |
1 |
| ntp_dns |
|
23 |
59 |
440 |
2 |
| dns_dispatch_imsg |
|
19 |
57 |
348 |
1 |
| Source file: ./usr.sbin/ntpd/sensors.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sensor_init |
|
1 |
4 |
14 |
1 |
| sensor_scan |
|
5 |
17 |
85 |
1 |
| sensor_probe |
|
7 |
29 |
204 |
3 |
| sensor_add |
|
9 |
33 |
279 |
2 |
| sensor_remove |
|
1 |
6 |
33 |
1 |
| sensor_query |
|
9 |
41 |
355 |
1 |
| sensor_update |
|
4 |
21 |
170 |
1 |
| Source file: ./usr.sbin/ntpd/constraint.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| constraint_init |
|
1 |
9 |
50 |
1 |
| constraint_addr_init |
|
7 |
31 |
189 |
1 |
| constraint_query |
|
10 |
52 |
352 |
1 |
| priv_constraint_msg |
|
10 |
46 |
341 |
5 |
| priv_constraint_readquery |
|
11 |
33 |
310 |
3 |
| priv_constraint_child |
|
20 |
76 |
612 |
3 |
| priv_constraint_check_child |
|
8 |
28 |
156 |
2 |
| priv_constraint_kill |
|
2 |
9 |
45 |
1 |
| constraint_byid |
|
2 |
9 |
43 |
1 |
| constraint_byfd |
|
2 |
9 |
43 |
1 |
| constraint_bypid |
|
2 |
9 |
43 |
1 |
| constraint_close |
|
6 |
18 |
123 |
1 |
| priv_constraint_close |
|
2 |
14 |
80 |
2 |
| constraint_add |
|
1 |
4 |
21 |
1 |
| constraint_remove |
|
2 |
11 |
77 |
1 |
| constraint_purge |
|
1 |
6 |
32 |
1 |
| priv_constraint_dispatch |
|
11 |
35 |
237 |
1 |
| constraint_msg_result |
|
3 |
24 |
149 |
3 |
| constraint_msg_close |
|
6 |
24 |
125 |
3 |
| constraint_msg_dns |
|
11 |
48 |
332 |
3 |
| constraint_cmp |
|
1 |
4 |
33 |
2 |
| constraint_update |
|
6 |
30 |
193 |
1 |
| constraint_reset |
|
2 |
10 |
47 |
1 |
| constraint_check |
|
5 |
21 |
120 |
1 |
| httpsdate_init |
|
12 |
30 |
233 |
6 |
| httpsdate_free |
|
3 |
16 |
90 |
1 |
| httpsdate_request |
|
13 |
55 |
356 |
2 |
| httpsdate_query |
|
3 |
19 |
143 |
8 |
| tls_readline |
|
12 |
38 |
231 |
4 |
| get_string |
|
4 |
8 |
58 |
2 |
| Source file: ./usr.sbin/ntpd/ntpd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sighdlr |
|
5 |
15 |
43 |
1 |
| usage |
|
2 |
11 |
44 |
1 |
| main |
|
54 |
176 |
1139 |
2 |
| check_child |
|
5 |
11 |
60 |
1 |
| dispatch_imsg |
|
18 |
57 |
380 |
3 |
| reset_adjtime |
|
2 |
7 |
34 |
1 |
| ntpd_adjtime |
|
7 |
19 |
126 |
1 |
| ntpd_adjfreq |
|
8 |
26 |
160 |
2 |
| ntpd_settime |
|
3 |
22 |
142 |
1 |
| readfreq |
|
7 |
25 |
146 |
1 |
| writefreq |
|
5 |
20 |
107 |
1 |
| ctl_main |
|
42 |
139 |
746 |
2 |
| ctl_lookup_option |
|
6 |
13 |
82 |
2 |
| show_status_msg |
|
10 |
40 |
262 |
1 |
| show_peer_msg |
|
11 |
40 |
280 |
2 |
| show_sensor_msg |
|
10 |
35 |
235 |
2 |
| Source file: ./usr.sbin/ntpd/ntp_msg.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ntp_getmsg |
|
3 |
10 |
67 |
4 |
| ntp_sendmsg |
|
8 |
24 |
144 |
3 |
| Source file: ./usr.sbin/ntpd/ntp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ntp_sighdlr |
|
3 |
9 |
25 |
1 |
| ntp_main |
|
94 |
306 |
2239 |
4 |
| ntp_dispatch_imsg |
|
14 |
37 |
234 |
1 |
| ntp_dispatch_imsg_dns |
|
18 |
80 |
480 |
1 |
| peer_add |
|
1 |
5 |
24 |
1 |
| peer_remove |
|
1 |
6 |
29 |
1 |
| priv_adjfreq |
|
6 |
37 |
294 |
1 |
| priv_adjtime |
|
15 |
66 |
529 |
1 |
| offset_compare |
|
3 |
13 |
88 |
2 |
| priv_settime |
|
1 |
6 |
35 |
1 |
| priv_dns |
|
1 |
6 |
44 |
3 |
| update_scale |
|
6 |
13 |
75 |
1 |
| scale_interval |
|
1 |
7 |
41 |
1 |
| error_interval |
|
1 |
7 |
35 |
1 |
| Source file: ./usr.sbin/ntpd/util.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| gettime_corrected |
|
1 |
4 |
17 |
1 |
| getoffset |
|
2 |
7 |
47 |
1 |
| gettime |
|
2 |
7 |
37 |
1 |
| gettime_from_timeval |
|
1 |
4 |
31 |
1 |
| getmonotime |
|
2 |
7 |
34 |
1 |
| d_to_tv |
|
2 |
9 |
54 |
2 |
| lfp_to_d |
|
1 |
8 |
60 |
1 |
| d_to_lfp |
|
1 |
7 |
51 |
1 |
| sfp_to_d |
|
1 |
8 |
60 |
1 |
| d_to_sfp |
|
1 |
7 |
51 |
1 |
| print_rtable |
|
2 |
8 |
46 |
1 |
| log_sockaddr |
|
2 |
9 |
52 |
1 |
| start_child |
|
8 |
35 |
229 |
4 |
| sanitize_argv |
|
4 |
19 |
136 |
2 |
| Source file: ./usr.sbin/wsconscfg/wsconscfg.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usage |
|
1 |
8 |
28 |
1 |
| main |
|
24 |
86 |
474 |
2 |
| Source file: ./usr.sbin/ntpd/ntpd.h |
| Source file: ./usr.sbin/ntpd/client.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| set_next |
|
1 |
6 |
34 |
2 |
| set_deadline |
|
1 |
5 |
28 |
2 |
| client_peer_init |
|
2 |
13 |
99 |
1 |
| client_addr_init |
|
6 |
27 |
168 |
1 |
| client_nextaddr |
|
6 |
19 |
142 |
1 |
| client_query |
|
20 |
59 |
524 |
1 |
| client_dispatch |
|
39 |
156 |
1410 |
2 |
| client_update |
|
11 |
24 |
201 |
1 |
| client_log_error |
|
2 |
11 |
80 |
3 |
| Source file: ./usr.sbin/npppctl/parser.h |
| Source file: ./usr.sbin/ntpd/server.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| setup_listeners |
|
28 |
100 |
740 |
3 |
| server_dispatch |
|
10 |
46 |
368 |
2 |
| Source file: ./usr.sbin/makefs/ffs/newfs_extern.h |
| Source file: ./usr.sbin/lpr/lpd/printjob.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| printjob |
|
44 |
159 |
1119 |
1 |
| printit |
|
50 |
121 |
769 |
1 |
| print |
|
60 |
238 |
1536 |
2 |
| sendit |
|
23 |
53 |
367 |
1 |
| sendfile |
|
27 |
80 |
581 |
2 |
| response |
|
2 |
18 |
120 |
1 |
| banner |
|
7 |
36 |
334 |
2 |
| scnline |
|
3 |
9 |
51 |
3 |
| scan_out |
|
13 |
31 |
241 |
3 |
| dropit |
|
9 |
16 |
73 |
1 |
| sendmail |
|
21 |
75 |
467 |
2 |
| delay |
|
3 |
9 |
54 |
1 |
| dofork |
|
7 |
36 |
179 |
1 |
| abortpr |
|
3 |
11 |
61 |
1 |
| init |
|
17 |
71 |
663 |
1 |
| openpr |
|
11 |
42 |
253 |
1 |
| opennet |
|
9 |
32 |
175 |
1 |
| opentty |
|
8 |
22 |
117 |
1 |
| openrem |
|
9 |
29 |
177 |
1 |
| alarmer |
|
1 |
3 |
7 |
1 |
| setty |
|
18 |
63 |
448 |
1 |
| pstatus |
|
4 |
25 |
171 |
2 |
| Source file: ./usr.sbin/ac/ac.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| file |
|
4 |
11 |
68 |
1 |
| add_tty |
|
4 |
21 |
136 |
1 |
| do_tty |
|
6 |
17 |
111 |
1 |
| update_user |
|
5 |
20 |
144 |
3 |
| main |
|
16 |
46 |
218 |
2 |
| show |
|
1 |
5 |
32 |
2 |
| show_users |
|
2 |
6 |
39 |
1 |
| show_today |
|
4 |
22 |
172 |
3 |
| log_out |
|
8 |
28 |
222 |
2 |
| log_in |
|
7 |
21 |
172 |
2 |
| ac |
|
21 |
73 |
486 |
1 |
| usage |
|
1 |
7 |
29 |
1 |
| Source file: ./usr.sbin/makefs/ffs/ufs_inode.h |
| Source file: ./usr.sbin/npppctl/parser.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| parse |
|
6 |
23 |
142 |
2 |
| match_token |
|
33 |
104 |
571 |
2 |
| show_valid_args |
|
11 |
34 |
153 |
1 |
| parse_protocol |
|
5 |
8 |
64 |
1 |
| Source file: ./usr.sbin/makefs/ffs/ffs_extern.h |
| Source file: ./usr.sbin/makefs/ffs/buf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bread |
|
4 |
22 |
228 |
5 |
| brelse |
|
2 |
12 |
69 |
2 |
| bwrite |
|
4 |
20 |
136 |
1 |
| bcleanup |
|
3 |
13 |
71 |
1 |
| getblk |
|
6 |
34 |
211 |
5 |
| Source file: ./usr.sbin/npppctl/npppctl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usage |
|
1 |
6 |
20 |
1 |
| main |
|
14 |
55 |
319 |
2 |
| show_clear_session |
|
17 |
61 |
397 |
2 |
| monitor_session |
|
13 |
38 |
250 |
2 |
| fprint_who_brief |
|
2 |
13 |
83 |
3 |
| fprint_who_packets |
|
2 |
14 |
81 |
3 |
| fprint_who_all |
|
4 |
46 |
351 |
3 |
| clear_session |
|
13 |
46 |
354 |
4 |
| filter_match |
|
14 |
26 |
192 |
2 |
| peerstr |
|
6 |
30 |
244 |
3 |
| humanize_duration |
|
10 |
28 |
188 |
3 |
| humanize_bytes |
|
5 |
15 |
122 |
3 |
| imsg_wait_command_completion |
|
10 |
17 |
119 |
1 |
| Source file: ./usr.sbin/makefs/ffs/ufs_bmap.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ufs_getlbns |
|
10 |
46 |
307 |
4 |
| Source file: ./usr.sbin/makefs/ffs/ffs_subr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ffs_isblock |
|
5 |
20 |
162 |
3 |
| ffs_clrblock |
|
5 |
20 |
137 |
3 |
| ffs_setblock |
|
5 |
20 |
137 |
3 |
| ffs_clusteracct |
|
16 |
63 |
440 |
4 |
| Source file: ./usr.sbin/makefs/ffs/ffs_tables.c |
| Source file: ./usr.sbin/makefs/ffs/buf.h |
| Source file: ./usr.sbin/makefs/ffs/ffs_alloc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ffs_alloc |
|
8 |
28 |
186 |
5 |
| ffs_blkpref_ufs1 |
|
10 |
28 |
265 |
4 |
| ffs_blkpref_ufs2 |
|
10 |
30 |
269 |
4 |
| ffs_hashalloc |
|
8 |
29 |
216 |
5 |
| ffs_alloccg |
|
15 |
61 |
498 |
4 |
| ffs_alloccgblk |
|
5 |
32 |
246 |
3 |
| scanc |
|
3 |
7 |
60 |
4 |
| ffs_mapsearch |
|
7 |
48 |
396 |
4 |
| Source file: ./usr.sbin/makefs/msdos/msdosfs_vfsops.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| msdosfs_mount |
|
35 |
192 |
1382 |
2 |
| msdosfs_root |
|
2 |
11 |
69 |
2 |
| Source file: ./usr.sbin/makefs/ffs/ffs_balloc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ffs_balloc |
|
2 |
7 |
55 |
4 |
| ffs_balloc_ufs1 |
|
36 |
172 |
1208 |
4 |
| ffs_balloc_ufs2 |
|
36 |
172 |
1207 |
4 |
| Source file: ./usr.sbin/makefs/msdos/denode.h |
| Source file: ./usr.sbin/makefs/ffs/mkfs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ffs_mkfs |
|
51 |
319 |
2571 |
3 |
| ffs_write_superblock |
|
4 |
28 |
244 |
2 |
| initcg |
|
34 |
162 |
1283 |
3 |
| ffs_rdfs |
|
4 |
17 |
128 |
4 |
| ffs_wtfs |
|
4 |
16 |
125 |
4 |
| count_digits |
|
2 |
6 |
33 |
1 |
| ilog2 |
|
3 |
8 |
53 |
1 |
| Source file: ./usr.sbin/makefs/msdos/fat.h |
| Source file: ./usr.sbin/makefs/msdos/direntry.h |
| Source file: ./usr.sbin/makefs/msdos/mkfs_msdos.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mkfs_msdos |
|
173 |
479 |
3823 |
3 |
| getstdfmt |
|
4 |
12 |
92 |
2 |
| getbpbinfo |
|
23 |
55 |
360 |
6 |
| print_bpb |
|
8 |
23 |
187 |
1 |
| ckgeom |
|
3 |
12 |
61 |
3 |
| oklabel |
|
5 |
10 |
62 |
1 |
| mklabel |
|
5 |
8 |
66 |
2 |
| setstr |
|
3 |
5 |
34 |
3 |
| infohandler |
|
1 |
4 |
11 |
1 |
| Source file: ./usr.sbin/makefs/msdos/msdosfsmount.h |
| Source file: ./usr.sbin/makefs/msdos/msdosfs_lookup.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| createde |
|
31 |
132 |
882 |
4 |
| readep |
|
5 |
19 |
147 |
5 |
| readde |
|
1 |
5 |
41 |
3 |
| uniqdosname |
|
12 |
42 |
272 |
3 |
| Source file: ./usr.sbin/makefs/msdos/mkfs_msdos.h |
| Source file: ./usr.sbin/makefs/msdos/msdosfs_vnops.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| msdosfs_times |
|
1 |
8 |
77 |
3 |
| msdosfs_findslot |
|
24 |
108 |
624 |
2 |
| msdosfs_mkfile |
|
8 |
40 |
309 |
3 |
| msdosfs_updatede |
|
2 |
13 |
65 |
1 |
| msdosfs_wfile |
|
13 |
75 |
535 |
3 |
| msdosfs_mkdire |
|
12 |
82 |
726 |
3 |
| Source file: ./usr.sbin/makefs/msdos/msdosfs_fat.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fatblock |
|
4 |
17 |
132 |
5 |
| pcbmap |
|
33 |
121 |
805 |
5 |
| fc_lookup |
|
7 |
17 |
113 |
4 |
| fc_purge |
|
3 |
10 |
58 |
2 |
| updatefats |
|
14 |
53 |
388 |
3 |
| usemap_alloc |
|
1 |
5 |
35 |
2 |
| usemap_free |
|
1 |
5 |
37 |
2 |
| clusterfree |
|
3 |
14 |
77 |
3 |
| fatentry |
|
17 |
67 |
456 |
5 |
| fatchain |
|
13 |
55 |
361 |
4 |
| chainlength |
|
8 |
28 |
172 |
3 |
| chainalloc |
|
5 |
16 |
118 |
6 |
| clusteralloc |
|
13 |
60 |
491 |
5 |
| freeclusterchain |
|
11 |
51 |
341 |
2 |
| fillinusemap |
|
12 |
36 |
268 |
1 |
| extendfile |
|
16 |
65 |
407 |
5 |
| Source file: ./usr.sbin/makefs/cd9660/iso_rrip.h |
| Source file: ./usr.sbin/makefs/msdos/msdosfs_denode.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| deget |
|
13 |
65 |
434 |
4 |
| detrunc |
|
20 |
65 |
412 |
3 |
| deextend |
|
8 |
25 |
162 |
2 |
| Source file: ./usr.sbin/makefs/msdos/msdosfs_unicode.c |
| Source file: ./usr.sbin/makefs/cd9660/iso9660_rrip.h |
| Source file: ./usr.sbin/makefs/msdos/msdosfs_conv.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| unix2dostime |
|
14 |
46 |
316 |
5 |
| unix2dosfn |
|
42 |
91 |
644 |
4 |
| unix2winfn |
|
11 |
40 |
322 |
5 |
| winChkName |
|
25 |
45 |
354 |
4 |
| winChksum |
|
2 |
8 |
54 |
1 |
| winSlotCnt |
|
5 |
9 |
56 |
2 |
| Source file: ./usr.sbin/makefs/cd9660/cd9660_strings.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cd9660_uppercase_characters |
|
3 |
8 |
50 |
2 |
| cd9660_is_d_char |
|
4 |
6 |
33 |
1 |
| cd9660_is_a_char |
|
6 |
7 |
43 |
1 |
| cd9660_valid_a_chars |
|
4 |
15 |
73 |
1 |
| cd9660_valid_d_chars |
|
4 |
15 |
73 |
1 |
| Source file: ./usr.sbin/makefs/cd9660/cd9660_debug.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| print_n_tabs |
|
2 |
6 |
28 |
1 |
| debug_print_rrip_info |
|
1 |
7 |
28 |
1 |
| debug_print_susp_attrs |
|
1 |
12 |
97 |
2 |
| debug_print_tree |
|
7 |
31 |
210 |
3 |
| debug_print_path_tree |
|
4 |
14 |
75 |
1 |
| debug_print_volume_descriptor_information |
|
7 |
27 |
124 |
1 |
| debug_dump_to_xml_ptentry |
|
1 |
12 |
80 |
3 |
| debug_dump_to_xml_path_table |
|
3 |
16 |
125 |
4 |
| debug_dump_to_xml |
|
5 |
37 |
240 |
1 |
| debug_dump_to_xml_padded_hex_output |
|
5 |
19 |
127 |
3 |
| debug_get_encoded_number |
|
9 |
22 |
98 |
2 |
| debug_dump_integer |
|
1 |
5 |
37 |
3 |
| debug_dump_string |
|
1 |
3 |
20 |
3 |
| debug_dump_directory_record_9_1 |
|
1 |
28 |
229 |
1 |
| debug_dump_to_xml_volume_descriptor |
|
7 |
106 |
728 |
2 |
| Source file: ./usr.sbin/makefs/cd9660/cd9660_conversion.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cd9660_pad_even |
|
1 |
5 |
18 |
1 |
| cd9660_721 |
|
2 |
5 |
29 |
2 |
| cd9660_731 |
|
2 |
5 |
29 |
2 |
| cd9660_722 |
|
2 |
5 |
29 |
2 |
| cd9660_732 |
|
2 |
5 |
29 |
2 |
| cd9660_bothendian_dword |
|
3 |
10 |
63 |
2 |
| cd9660_bothendian_word |
|
3 |
10 |
63 |
2 |
| cd9660_pad_string_spaces |
|
3 |
8 |
45 |
2 |
| cd9660_compute_gm_offset |
|
3 |
15 |
128 |
1 |
| cd9660_time_8426 |
|
1 |
16 |
119 |
2 |
| cd9660_time_915 |
|
1 |
12 |
94 |
2 |
| Source file: ./usr.sbin/makefs/cd9660/cd9660_eltorito.h |
| Source file: ./usr.sbin/makefs/cd9660/iso.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| isonum_711 |
|
1 |
4 |
13 |
1 |
| isonum_712 |
|
1 |
4 |
17 |
1 |
| isonum_721 |
|
2 |
6 |
35 |
1 |
| isonum_722 |
|
2 |
6 |
36 |
1 |
| isonum_723 |
|
3 |
6 |
42 |
1 |
| isonum_731 |
|
2 |
6 |
52 |
1 |
| isonum_732 |
|
2 |
6 |
53 |
1 |
| isonum_733 |
|
3 |
6 |
62 |
1 |
| Source file: ./usr.sbin/makefs/cd9660/cd9660_rrip.h |
| Source file: ./usr.sbin/makefs/msdos.h |
| Source file: ./usr.sbin/makefs/cd9660/iso9660_rrip.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cd9660_susp_initialize |
|
9 |
26 |
200 |
4 |
| cd9660_susp_finalize |
|
5 |
17 |
110 |
2 |
| cd9660_susp_finalize_node |
|
4 |
28 |
143 |
2 |
| cd9660_rrip_finalize_node |
|
7 |
29 |
144 |
2 |
| cd9660_susp_handle_continuation_common |
|
11 |
57 |
350 |
3 |
| cd9660_susp_handle_continuation |
|
2 |
8 |
50 |
2 |
| cd9660_susp_initialize_node |
|
3 |
13 |
74 |
2 |
| cd9660_rrip_initialize_inode |
|
9 |
28 |
215 |
1 |
| cd9660_rrip_initialize_node |
|
18 |
58 |
424 |
4 |
| cd9660node_susp_create_node |
|
1 |
15 |
125 |
4 |
| cd9660_rrip_PL |
|
1 |
6 |
51 |
2 |
| cd9660_rrip_CL |
|
1 |
6 |
51 |
2 |
| cd9660_rrip_RE |
|
1 |
6 |
51 |
2 |
| cd9660_createSL |
|
21 |
115 |
755 |
1 |
| cd9660node_rrip_px |
|
1 |
14 |
134 |
2 |
| cd9660node_rrip_pn |
|
2 |
14 |
131 |
2 |
| cd9660node_rrip_nm |
|
1 |
11 |
146 |
2 |
| cd9660node_rrip_tf |
|
1 |
16 |
187 |
2 |
| cd9660_susp_sp |
|
1 |
9 |
96 |
2 |
| cd9660_susp_st |
|
1 |
8 |
85 |
2 |
| cd9660_susp_ce |
|
1 |
6 |
51 |
2 |
| cd9660_susp_pd |
|
1 |
4 |
17 |
2 |
| cd9660_rrip_add_NM |
|
3 |
25 |
180 |
2 |
| cd9660_rrip_NM |
|
1 |
4 |
19 |
1 |
| cd9660_susp_ER |
|
1 |
30 |
390 |
5 |
| cd9660_susp_ES |
|
1 |
4 |
18 |
2 |
| Source file: ./usr.sbin/makefs/cd9660/cd9660_write.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cd9660_write_image |
|
8 |
45 |
242 |
2 |
| cd9660_write_volume_descriptors |
|
2 |
10 |
54 |
2 |
| cd9660_write_path_table |
|
5 |
41 |
283 |
4 |
| cd9660_write_path_tables |
|
3 |
10 |
55 |
2 |
| cd9660_write_file |
|
15 |
70 |
467 |
3 |
| cd9660_write_filedata |
|
4 |
15 |
117 |
5 |
| cd9660_write_buffered |
|
1 |
7 |
37 |
4 |
| cd9660_copy_file |
|
6 |
37 |
223 |
4 |
| cd9660_write_rr |
|
7 |
29 |
195 |
5 |
| Source file: ./usr.sbin/makefs/makefs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
25 |
104 |
605 |
2 |
| set_option |
|
3 |
15 |
97 |
4 |
| set_option_var |
|
12 |
43 |
247 |
5 |
| get_fstype |
|
3 |
8 |
60 |
1 |
| copy_opts |
|
2 |
8 |
58 |
1 |
| get_tstamp |
|
4 |
12 |
57 |
1 |
| strsuftoll |
|
4 |
9 |
76 |
4 |
| usage |
|
1 |
10 |
27 |
1 |
| Source file: ./usr.sbin/makefs/msdos.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| msdos_prep_opts |
|
1 |
10 |
55 |
1 |
| msdos_cleanup_opts |
|
1 |
5 |
22 |
1 |
| msdos_parse_opts |
|
5 |
19 |
148 |
2 |
| msdos_makefs |
|
9 |
38 |
306 |
4 |
| msdos_populate_dir |
|
11 |
50 |
328 |
5 |
| Source file: ./usr.sbin/makefs/ffs.h |
| Source file: ./usr.sbin/makefs/xmalloc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| emalloc |
|
2 |
7 |
34 |
1 |
| ecalloc |
|
2 |
7 |
39 |
2 |
| erealloc |
|
2 |
7 |
40 |
2 |
| estrdup |
|
2 |
7 |
36 |
1 |
| Source file: ./usr.sbin/makefs/cd9660.h |
| Source file: ./usr.sbin/makefs/walk.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| walk_dir |
|
34 |
118 |
771 |
4 |
| create_fsnode |
|
2 |
22 |
180 |
4 |
| free_fsnodes |
|
11 |
35 |
229 |
1 |
| inode_type |
|
8 |
21 |
78 |
1 |
| link_check |
|
9 |
48 |
316 |
1 |
| Source file: ./usr.sbin/makefs/makefs.h |
| Source file: ./usr.sbin/eeprom/ophandlers.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| op_handler |
|
18 |
71 |
524 |
2 |
| op_notsupp |
|
1 |
4 |
27 |
3 |
| op_dump |
|
10 |
47 |
418 |
1 |
| op_print |
|
2 |
14 |
74 |
1 |
| Source file: ./usr.sbin/eeprom/defs.h |
| Source file: ./usr.sbin/makefs/cd9660/cd9660_eltorito.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cd9660_add_boot_disk |
|
13 |
83 |
463 |
2 |
| cd9660_eltorito_add_boot_option |
|
10 |
30 |
198 |
3 |
| cd9660_init_boot_catalog_entry |
|
1 |
4 |
18 |
1 |
| cd9660_boot_setup_validation_entry |
|
2 |
28 |
207 |
1 |
| cd9660_boot_setup_default_entry |
|
2 |
22 |
161 |
1 |
| cd9660_boot_setup_section_head |
|
2 |
14 |
76 |
1 |
| cd9660_boot_setup_section_entry |
|
2 |
15 |
104 |
1 |
| cd9660_boot_get_system_type |
|
1 |
4 |
12 |
1 |
| cd9660_setup_boot |
|
14 |
88 |
489 |
2 |
| cd9660_setup_boot_volume_descriptor |
|
1 |
14 |
90 |
2 |
| cd9660_write_mbr_partition_entry |
|
2 |
25 |
239 |
5 |
| cd9660_write_apm_partition_entry |
|
2 |
32 |
318 |
8 |
| cd9660_write_boot |
|
8 |
69 |
513 |
2 |
| Source file: ./usr.sbin/ospf6d/iso_cksum.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| iso_cksum |
|
6 |
27 |
151 |
3 |
| Source file: ./usr.sbin/eeprom/main.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
17 |
58 |
266 |
2 |
| action |
|
4 |
12 |
85 |
1 |
| dump_prom |
|
1 |
5 |
15 |
1 |
| usage |
|
1 |
7 |
20 |
1 |
| Source file: ./usr.sbin/eeprom/optree.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| op_print |
|
24 |
64 |
431 |
2 |
| op_nodes |
|
12 |
45 |
352 |
3 |
| op_tree |
|
2 |
8 |
52 |
1 |
| Source file: ./usr.sbin/makefs/ffs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ffs_prep_opts |
|
1 |
33 |
311 |
1 |
| ffs_cleanup_opts |
|
1 |
5 |
22 |
1 |
| ffs_parse_opts |
|
8 |
33 |
240 |
2 |
| ffs_makefs |
|
9 |
55 |
456 |
4 |
| ffs_validate |
|
29 |
77 |
672 |
3 |
| ffs_create_image |
|
11 |
54 |
339 |
2 |
| ffs_size_dir |
|
9 |
33 |
219 |
2 |
| ffs_build_dinode1 |
|
6 |
36 |
320 |
5 |
| ffs_build_dinode2 |
|
6 |
36 |
320 |
5 |
| ffs_populate_dir |
|
20 |
68 |
561 |
3 |
| ffs_write_file |
|
15 |
80 |
560 |
4 |
| ffs_make_dirbuf |
|
4 |
32 |
300 |
3 |
| ffs_write_inode |
|
10 |
71 |
583 |
3 |
| Source file: ./usr.sbin/ospf6d/hello.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| send_hello |
|
15 |
62 |
432 |
1 |
| recv_hello |
|
34 |
98 |
749 |
5 |
| Source file: ./usr.sbin/ospf6d/log.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| log_init |
|
2 |
10 |
48 |
2 |
| log_procinit |
|
2 |
5 |
19 |
1 |
| log_setverbose |
|
1 |
4 |
11 |
1 |
| log_getverbose |
|
1 |
4 |
11 |
1 |
| logit |
|
1 |
7 |
38 |
3 |
| vlog |
|
3 |
17 |
99 |
3 |
| log_warn |
|
3 |
21 |
120 |
2 |
| log_warnx |
|
1 |
7 |
35 |
2 |
| log_info |
|
1 |
7 |
35 |
2 |
| log_debug |
|
2 |
9 |
41 |
2 |
| vfatalc |
|
3 |
17 |
106 |
3 |
| fatal |
|
1 |
8 |
40 |
2 |
| fatalx |
|
1 |
8 |
40 |
2 |
| Source file: ./usr.sbin/ospf6d/logmsg.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| log_in6addr |
|
1 |
10 |
72 |
1 |
| log_in6addr_scope |
|
1 |
10 |
78 |
2 |
| log_rtr_id |
|
2 |
12 |
74 |
1 |
| log_sockaddr |
|
2 |
12 |
79 |
1 |
| nbr_state_name |
|
10 |
25 |
92 |
1 |
| if_state_name |
|
8 |
21 |
76 |
1 |
| if_type_name |
|
6 |
16 |
59 |
1 |
| dst_type_name |
|
3 |
10 |
35 |
1 |
| path_type_name |
|
5 |
14 |
51 |
1 |
| Source file: ./usr.sbin/ospf6d/ospf6.h |
| Source file: ./usr.sbin/ospf6d/control.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| control_init |
|
6 |
36 |
245 |
1 |
| control_listen |
|
2 |
12 |
78 |
1 |
| control_cleanup |
|
2 |
7 |
33 |
1 |
| control_accept |
|
9 |
34 |
268 |
3 |
| control_connbyfd |
|
2 |
9 |
42 |
1 |
| control_connbypid |
|
2 |
9 |
42 |
1 |
| control_close |
|
3 |
17 |
116 |
1 |
| control_dispatch_imsg |
|
33 |
92 |
577 |
3 |
| control_imsg_relay |
|
2 |
8 |
76 |
1 |
| Source file: ./usr.sbin/makefs/cd9660.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cd9660_allocate_cd9660node |
|
1 |
13 |
94 |
1 |
| cd9660_set_defaults |
|
1 |
27 |
212 |
1 |
| cd9660_prep_opts |
|
1 |
27 |
159 |
1 |
| cd9660_cleanup_opts |
|
1 |
5 |
22 |
1 |
| cd9660_arguments_set_string |
|
6 |
25 |
132 |
5 |
| cd9660_parse_opts |
|
17 |
62 |
461 |
2 |
| cd9660_makefs |
|
10 |
77 |
456 |
4 |
| cd9660_finalize_PVD |
|
3 |
53 |
363 |
1 |
| cd9660_populate_iso_dir_record |
|
2 |
15 |
139 |
5 |
| cd9660_setup_root_node |
|
1 |
5 |
25 |
1 |
| cd9660_setup_volume_descriptors |
|
2 |
35 |
224 |
1 |
| cd9660_fill_extended_attribute_record |
|
1 |
5 |
26 |
1 |
| cd9660_translate_node_common |
|
4 |
20 |
154 |
2 |
| cd9660_translate_node |
|
5 |
15 |
108 |
3 |
| cd9660_compare_filename |
|
19 |
54 |
264 |
2 |
| cd9660_sorted_child_insert |
|
5 |
22 |
126 |
2 |
| cd9660_handle_collisions |
|
7 |
40 |
231 |
3 |
| cd9660_rename_filename |
|
17 |
79 |
463 |
4 |
| cd9660_copy_filenames |
|
3 |
15 |
95 |
2 |
| cd9660_sorting_nodes |
|
1 |
7 |
33 |
1 |
| cd9660_sort_nodes |
|
4 |
16 |
100 |
1 |
| cd9660_count_collisions |
|
6 |
25 |
140 |
1 |
| cd9660_rrip_move_directory |
|
6 |
36 |
252 |
2 |
| cd9660_add_dot_records |
|
2 |
14 |
78 |
2 |
| cd9660_convert_structure |
|
23 |
95 |
475 |
6 |
| cd9660_free_structure |
|
2 |
9 |
52 |
1 |
| cd9660_generate_path_table |
|
7 |
37 |
248 |
1 |
| cd9660_compute_full_filename |
|
3 |
15 |
85 |
1 |
| cd9660_level1_convert_filename |
|
14 |
41 |
231 |
5 |
| cd9660_level2_convert_filename |
|
15 |
47 |
261 |
5 |
| cd9660_convert_filename |
|
3 |
11 |
72 |
5 |
| cd9660_compute_record_size |
|
2 |
10 |
58 |
2 |
| cd9660_populate_dot_records |
|
2 |
27 |
238 |
2 |
| cd9660_compute_offsets |
|
9 |
75 |
439 |
3 |
| cd9660_copy_stat_info |
|
2 |
19 |
247 |
3 |
| cd9660_create_virtual_entry |
|
8 |
38 |
254 |
5 |
| cd9660_create_file |
|
3 |
15 |
115 |
4 |
| cd9660_create_directory |
|
3 |
15 |
117 |
4 |
| cd9660_create_special_directory |
|
8 |
35 |
221 |
3 |
| cd9660_add_generic_bootimage |
|
4 |
19 |
105 |
2 |
| Source file: ./usr.sbin/ospf6d/name2id.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rtlabel_name2id |
|
1 |
4 |
20 |
1 |
| rtlabel_id2name |
|
1 |
4 |
18 |
1 |
| rtlabel_id2tag |
|
1 |
4 |
18 |
1 |
| rtlabel_tag2id |
|
1 |
4 |
18 |
1 |
| rtlabel_tag |
|
1 |
4 |
20 |
2 |
| rtlabel_unref |
|
1 |
4 |
15 |
1 |
| _name2id |
|
10 |
35 |
238 |
2 |
| _id2name |
|
3 |
10 |
56 |
2 |
| _id2tag |
|
3 |
10 |
56 |
2 |
| _tag2id |
|
3 |
10 |
56 |
2 |
| _tag |
|
3 |
9 |
50 |
3 |
| _unref |
|
5 |
17 |
100 |
2 |
| _ref |
|
3 |
11 |
50 |
2 |
| Source file: ./usr.sbin/ospf6d/lsack.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| send_ls_ack |
|
5 |
20 |
134 |
4 |
| recv_ls_ack |
|
14 |
38 |
195 |
3 |
| lsa_hdr_check |
|
11 |
28 |
149 |
2 |
| ls_ack_list_add |
|
5 |
17 |
118 |
2 |
| ls_ack_list_free |
|
1 |
7 |
43 |
2 |
| ls_ack_list_clr |
|
2 |
10 |
62 |
1 |
| ls_ack_list_empty |
|
1 |
4 |
20 |
1 |
| ls_ack_tx_timer |
|
13 |
52 |
327 |
3 |
| start_ls_ack_tx_timer |
|
2 |
8 |
50 |
1 |
| start_ls_ack_tx_timer_now |
|
2 |
7 |
40 |
1 |
| stop_ls_ack_tx_timer |
|
2 |
5 |
27 |
1 |
| Source file: ./usr.sbin/ospf6d/rde.h |
| Source file: ./usr.sbin/ospf6d/interface.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| if_fsm |
|
16 |
57 |
374 |
2 |
| if_init |
|
1 |
5 |
20 |
1 |
| if_find |
|
2 |
9 |
42 |
1 |
| if_findname |
|
2 |
9 |
46 |
1 |
| if_new |
|
4 |
23 |
165 |
2 |
| if_update |
|
5 |
17 |
102 |
6 |
| if_del |
|
6 |
18 |
149 |
1 |
| if_start |
|
2 |
12 |
104 |
2 |
| if_hello_timer |
|
2 |
10 |
65 |
3 |
| if_start_hello_timer |
|
2 |
7 |
40 |
1 |
| if_stop_hello_timer |
|
2 |
5 |
27 |
1 |
| if_wait_timer |
|
1 |
5 |
28 |
3 |
| if_start_wait_timer |
|
2 |
8 |
48 |
1 |
| if_stop_wait_timer |
|
2 |
5 |
27 |
1 |
| if_act_start |
|
15 |
56 |
299 |
1 |
| if_elect |
|
4 |
10 |
74 |
2 |
| if_act_elect |
|
43 |
89 |
705 |
1 |
| if_act_reset |
|
11 |
50 |
260 |
1 |
| if_to_ctl |
|
7 |
60 |
530 |
1 |
| if_set_recvbuf |
|
2 |
8 |
40 |
1 |
| if_join_group |
|
7 |
29 |
152 |
2 |
| if_leave_group |
|
7 |
29 |
156 |
2 |
| if_set_mcast |
|
7 |
23 |
113 |
1 |
| if_set_mcast_loop |
|
2 |
11 |
56 |
1 |
| if_set_ipv6_pktinfo |
|
2 |
9 |
49 |
2 |
| if_set_ipv6_checksum |
|
2 |
11 |
64 |
1 |
| Source file: ./usr.sbin/ospf6d/carp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| carp_group_find |
|
2 |
8 |
44 |
1 |
| carp_demote_init |
|
7 |
25 |
162 |
2 |
| carp_demote_shutdown |
|
4 |
11 |
73 |
1 |
| carp_demote_get |
|
4 |
21 |
140 |
1 |
| carp_demote_set |
|
7 |
18 |
118 |
2 |
| carp_demote_ioctl |
|
5 |
21 |
154 |
2 |
| Source file: ./usr.sbin/ospf6d/packet.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| gen_ospf_hdr |
|
2 |
13 |
98 |
3 |
| upd_ospf_hdr |
|
3 |
11 |
83 |
2 |
| send_packet |
|
6 |
24 |
166 |
4 |
| recv_packet |
|
22 |
105 |
646 |
3 |
| ospf_hdr_sanity_check |
|
12 |
44 |
280 |
4 |
| find_iface |
|
6 |
22 |
128 |
3 |
| Source file: ./usr.sbin/ospf6d/control.h |
| Source file: ./usr.sbin/ospf6d/rde_spf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| spf_calc |
|
24 |
108 |
716 |
1 |
| rt_calc |
|
26 |
126 |
987 |
3 |
| asext_calc |
|
17 |
77 |
528 |
1 |
| spf_tree_clr |
|
1 |
9 |
45 |
1 |
| calc_nexthop_clear |
|
2 |
8 |
47 |
1 |
| calc_nexthop_add |
|
3 |
12 |
87 |
4 |
| calc_nexthop_lladdr |
|
5 |
24 |
151 |
3 |
| calc_nexthop_transit_nbr |
|
7 |
20 |
141 |
3 |
| calc_nexthop |
|
9 |
39 |
225 |
4 |
| cand_list_init |
|
1 |
4 |
12 |
1 |
| cand_list_add |
|
5 |
15 |
96 |
1 |
| cand_list_pop |
|
2 |
8 |
42 |
1 |
| cand_list_present |
|
2 |
9 |
41 |
1 |
| cand_list_clr |
|
2 |
7 |
37 |
1 |
| spf_timer |
|
8 |
47 |
241 |
3 |
| start_spf_timer |
|
6 |
22 |
92 |
1 |
| stop_spf_timer |
|
2 |
5 |
27 |
1 |
| start_spf_holdtimer |
|
6 |
19 |
88 |
1 |
| rt_init |
|
1 |
4 |
12 |
1 |
| rt_compare |
|
6 |
16 |
115 |
2 |
| rt_find |
|
1 |
8 |
53 |
3 |
| rt_insert |
|
2 |
10 |
58 |
1 |
| rt_remove |
|
2 |
11 |
63 |
1 |
| rt_invalidate |
|
11 |
30 |
202 |
1 |
| rt_nexthop_clear |
|
2 |
8 |
49 |
1 |
| rt_nexthop_add |
|
4 |
31 |
213 |
3 |
| rt_clear |
|
2 |
6 |
32 |
1 |
| rt_dump |
|
13 |
52 |
300 |
3 |
| rt_update |
|
25 |
71 |
443 |
11 |
| rt_lookup |
|
7 |
18 |
119 |
2 |
| get_rtr_link |
|
6 |
27 |
197 |
2 |
| get_net_link |
|
4 |
16 |
112 |
2 |
| linked |
|
14 |
44 |
244 |
2 |
| Source file: ./usr.sbin/ospf6d/area.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| area_new |
|
2 |
10 |
68 |
1 |
| area_del |
|
5 |
20 |
148 |
1 |
| area_find |
|
2 |
10 |
55 |
2 |
| area_track |
|
5 |
12 |
71 |
2 |
| area_border_router |
|
2 |
9 |
48 |
1 |
| area_ospf_options |
|
3 |
7 |
32 |
1 |
| Source file: ./usr.sbin/ospf6d/lsupdate.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| lsa_flood |
|
30 |
81 |
501 |
4 |
| prepare_ls_update |
|
6 |
23 |
153 |
2 |
| add_ls_update |
|
4 |
20 |
149 |
5 |
| send_ls_update |
|
2 |
17 |
116 |
4 |
| recv_ls_update |
|
17 |
54 |
301 |
3 |
| ls_retrans_list_add |
|
5 |
21 |
159 |
4 |
| ls_retrans_list_del |
|
5 |
13 |
104 |
2 |
| ls_retrans_list_get |
|
4 |
11 |
86 |
2 |
| ls_retrans_list_insert |
|
2 |
17 |
101 |
2 |
| ls_retrans_list_remove |
|
8 |
21 |
163 |
2 |
| ls_retrans_list_free |
|
1 |
6 |
35 |
2 |
| ls_retrans_list_clr |
|
2 |
7 |
43 |
1 |
| ls_retrans_timer |
|
18 |
74 |
523 |
3 |
| lsa_cache_init |
|
4 |
13 |
99 |
1 |
| lsa_hash_hdr |
|
1 |
4 |
25 |
1 |
| lsa_cache_add |
|
4 |
24 |
193 |
2 |
| lsa_cache_get |
|
2 |
8 |
35 |
1 |
| lsa_cache_put |
|
3 |
11 |
78 |
2 |
| lsa_cache_look |
|
2 |
11 |
76 |
1 |
| Source file: ./usr.sbin/ospf6d/ospfe.h |
| Source file: ./usr.sbin/ospf6d/util.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| embedscope |
|
3 |
14 |
105 |
1 |
| recoverscope |
|
3 |
14 |
100 |
1 |
| addscope |
|
3 |
10 |
54 |
2 |
| clearscope |
|
2 |
7 |
36 |
1 |
| mask2prefixlen |
|
11 |
39 |
175 |
1 |
| prefixlen2mask |
|
3 |
12 |
80 |
1 |
| inet6applymask |
|
4 |
13 |
118 |
3 |
| Source file: ./usr.sbin/ospf6d/ospfe.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ospfe_sig_handler |
|
3 |
10 |
37 |
3 |
| ospfe |
|
19 |
93 |
722 |
4 |
| ospfe_shutdown |
|
3 |
28 |
174 |
1 |
| ospfe_imsg_compose_parent |
|
1 |
4 |
38 |
4 |
| ospfe_imsg_compose_rde |
|
1 |
6 |
41 |
5 |
| ospfe_dispatch_main |
|
44 |
160 |
1023 |
3 |
| ospfe_dispatch_rde |
|
82 |
226 |
1406 |
3 |
| find_vlink |
|
4 |
16 |
111 |
1 |
| orig_rtr_lsa_all |
|
2 |
7 |
36 |
1 |
| orig_rtr_lsa |
|
2 |
7 |
41 |
1 |
| orig_rtr_lsa_area |
|
42 |
158 |
1055 |
1 |
| orig_net_lsa |
|
7 |
45 |
376 |
1 |
| orig_link_lsa |
|
13 |
74 |
556 |
1 |
| ospfe_router_id |
|
1 |
4 |
15 |
1 |
| ospfe_fib_update |
|
4 |
10 |
43 |
1 |
| ospfe_iface_ctl |
|
3 |
14 |
96 |
2 |
| ospfe_nbr_ctl |
|
2 |
18 |
127 |
1 |
| ospfe_demote_area |
|
4 |
14 |
98 |
2 |
| ospfe_demote_iface |
|
4 |
17 |
108 |
2 |
| Source file: ./usr.sbin/ospf6d/ospf6d.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main_sig_handler |
|
5 |
16 |
62 |
3 |
| usage |
|
1 |
8 |
26 |
1 |
| main |
|
26 |
129 |
827 |
2 |
| ospfd_shutdown |
|
9 |
28 |
177 |
1 |
| main_dispatch_ospfe |
|
22 |
66 |
361 |
3 |
| main_dispatch_rde |
|
17 |
51 |
284 |
3 |
| main_imsg_compose_ospfe |
|
2 |
6 |
43 |
4 |
| main_imsg_compose_rde |
|
2 |
6 |
43 |
4 |
| imsg_event_add |
|
2 |
9 |
73 |
1 |
| imsg_compose_event |
|
2 |
9 |
70 |
7 |
| ospf_redistribute |
|
28 |
64 |
383 |
2 |
| ospf_reload |
|
6 |
19 |
142 |
1 |
| ospf_sendboth |
|
3 |
8 |
78 |
3 |
| merge_config |
|
17 |
72 |
509 |
2 |
| merge_interfaces |
|
12 |
57 |
422 |
2 |
| iface_lookup |
|
2 |
8 |
50 |
2 |
| Source file: ./usr.sbin/ospf6d/lsreq.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| send_ls_req |
|
12 |
44 |
294 |
1 |
| recv_ls_req |
|
10 |
23 |
102 |
3 |
| ls_req_list_add |
|
3 |
11 |
77 |
2 |
| ls_req_list_get |
|
4 |
11 |
80 |
2 |
| ls_req_list_free |
|
7 |
17 |
117 |
2 |
| ls_req_list_clr |
|
2 |
11 |
68 |
1 |
| ls_req_list_empty |
|
1 |
4 |
20 |
1 |
| ls_req_tx_timer |
|
12 |
30 |
135 |
3 |
| start_ls_req_tx_timer |
|
3 |
9 |
52 |
1 |
| stop_ls_req_tx_timer |
|
3 |
7 |
39 |
1 |
| Source file: ./usr.sbin/ospf6d/neighbor.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| nbr_fsm |
|
27 |
95 |
547 |
2 |
| nbr_init |
|
5 |
24 |
186 |
1 |
| nbr_new |
|
5 |
47 |
368 |
5 |
| nbr_del |
|
6 |
20 |
158 |
1 |
| nbr_find_peerid |
|
2 |
11 |
52 |
1 |
| nbr_find_id |
|
2 |
9 |
52 |
2 |
| nbr_itimer |
|
2 |
8 |
42 |
3 |
| nbr_start_itimer |
|
2 |
8 |
50 |
1 |
| nbr_stop_itimer |
|
2 |
5 |
27 |
1 |
| nbr_reset_itimer |
|
2 |
8 |
50 |
1 |
| nbr_adj_timer |
|
4 |
11 |
69 |
3 |
| nbr_start_adj_timer |
|
2 |
8 |
46 |
1 |
| nbr_act_reset_itimer |
|
1 |
5 |
19 |
1 |
| nbr_act_start_itimer |
|
1 |
5 |
19 |
1 |
| nbr_adj_ok |
|
9 |
19 |
82 |
1 |
| nbr_act_eval |
|
2 |
14 |
68 |
1 |
| nbr_act_snapshot |
|
2 |
13 |
75 |
1 |
| nbr_act_exchange_done |
|
6 |
14 |
76 |
1 |
| nbr_act_adj_ok |
|
3 |
11 |
56 |
1 |
| nbr_act_restart_dd |
|
2 |
15 |
78 |
1 |
| nbr_act_delete |
|
3 |
16 |
97 |
1 |
| nbr_act_clear_lists |
|
1 |
9 |
39 |
1 |
| nbr_act_hello_check |
|
1 |
5 |
27 |
1 |
| nbr_to_ctl |
|
7 |
43 |
386 |
1 |
| lsa_hdr_new |
|
2 |
7 |
42 |
1 |
| Source file: ./usr.sbin/ospf6d/ospf6d.h |
| Source file: ./usr.sbin/ospf6d/database.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| send_db_description |
|
25 |
99 |
579 |
1 |
| recv_db_description |
|
37 |
135 |
780 |
3 |
| db_sum_list_add |
|
2 |
8 |
61 |
2 |
| db_sum_list_next |
|
2 |
9 |
58 |
1 |
| db_sum_list_clr |
|
1 |
5 |
20 |
1 |
| db_tx_timer |
|
12 |
29 |
131 |
3 |
| start_db_tx_timer |
|
3 |
9 |
52 |
1 |
| stop_db_tx_timer |
|
3 |
7 |
39 |
1 |
| Source file: ./usr.sbin/ospf6d/printconf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| print_mainconf |
|
3 |
14 |
81 |
1 |
| print_no |
|
2 |
7 |
24 |
1 |
| print_redistribute |
|
7 |
29 |
170 |
1 |
| print_rtlabel |
|
2 |
8 |
42 |
1 |
| print_iface |
|
3 |
15 |
106 |
1 |
| print_config |
|
2 |
18 |
102 |
1 |
| Source file: ./usr.sbin/mrouted/pathnames.h |
| Source file: ./usr.sbin/ospf6d/log.h |
| Source file: ./usr.sbin/mrouted/dvmrp.h |
| Source file: ./usr.sbin/mrouted/route.h |
| Source file: ./usr.sbin/mrouted/config.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| config_vifs_from_kernel |
|
14 |
66 |
462 |
1 |
| Source file: ./usr.sbin/ospf6d/rde_lsdb.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| lsa_init |
|
1 |
4 |
13 |
1 |
| lsa_compare |
|
7 |
16 |
112 |
2 |
| vertex_get |
|
3 |
23 |
191 |
3 |
| vertex_free |
|
1 |
7 |
43 |
1 |
| lsa_newer |
|
13 |
34 |
226 |
2 |
| lsa_check |
|
32 |
99 |
662 |
3 |
| lsa_link_check |
|
4 |
26 |
162 |
2 |
| lsa_intra_a_pref_check |
|
4 |
27 |
163 |
2 |
| lsa_asext_check |
|
11 |
46 |
293 |
2 |
| lsa_self |
|
1 |
4 |
20 |
1 |
| lsa_flush |
|
2 |
9 |
86 |
2 |
| lsa_reflood |
|
1 |
5 |
33 |
2 |
| lsa_add |
|
15 |
48 |
383 |
2 |
| lsa_del |
|
3 |
13 |
91 |
2 |
| lsa_age |
|
3 |
21 |
108 |
1 |
| lsa_find |
|
5 |
17 |
121 |
4 |
| lsa_find_tree |
|
4 |
15 |
93 |
4 |
| lsa_find_rtr |
|
1 |
4 |
22 |
2 |
| lsa_find_rtr_frag |
|
8 |
31 |
161 |
3 |
| lsa_find_lsid |
|
7 |
31 |
228 |
5 |
| lsa_num_links |
|
4 |
21 |
145 |
1 |
| lsa_snap |
|
6 |
25 |
164 |
2 |
| lsa_dump |
|
19 |
51 |
241 |
3 |
| lsa_timeout |
|
9 |
32 |
252 |
3 |
| lsa_refresh |
|
5 |
24 |
205 |
1 |
| lsa_merge |
|
8 |
36 |
252 |
3 |
| lsa_remove_invalid_sums |
|
7 |
15 |
115 |
1 |
| lsa_equal |
|
7 |
13 |
117 |
2 |
| lsa_get_prefix |
|
6 |
28 |
199 |
3 |
| Source file: ./usr.sbin/ospf6d/rde.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rde_sig_handler |
|
3 |
10 |
37 |
3 |
| rde |
|
12 |
71 |
537 |
4 |
| rde_shutdown |
|
2 |
21 |
121 |
1 |
| rde_imsg_compose_ospfe |
|
1 |
6 |
41 |
5 |
| rde_dispatch_imsg |
|
84 |
303 |
2063 |
3 |
| rde_dispatch_parent |
|
48 |
181 |
1192 |
3 |
| rde_dump_area |
|
1 |
12 |
101 |
3 |
| rde_router_id |
|
1 |
4 |
15 |
1 |
| rde_send_change_kroute |
|
6 |
30 |
199 |
1 |
| rde_send_delete_kroute |
|
1 |
9 |
62 |
1 |
| rde_send_summary |
|
2 |
22 |
148 |
1 |
| rde_send_summary_area |
|
3 |
20 |
149 |
2 |
| rde_nbr_init |
|
5 |
21 |
161 |
1 |
| rde_nbr_free |
|
1 |
5 |
18 |
1 |
| rde_nbr_find |
|
2 |
11 |
52 |
1 |
| rde_nbr_new |
|
5 |
24 |
182 |
2 |
| rde_nbr_del |
|
2 |
9 |
41 |
1 |
| rde_nbr_loading |
|
7 |
22 |
110 |
1 |
| rde_nbr_self |
|
2 |
9 |
46 |
1 |
| rde_req_list_add |
|
2 |
10 |
79 |
2 |
| rde_req_list_exists |
|
4 |
11 |
74 |
2 |
| rde_req_list_del |
|
4 |
13 |
85 |
2 |
| rde_req_list_free |
|
2 |
8 |
49 |
1 |
| rde_asext_get |
|
4 |
25 |
152 |
1 |
| rde_asext_put |
|
1 |
4 |
19 |
1 |
| rde_summary_update |
|
14 |
27 |
218 |
2 |
| append_prefix_lsa |
|
2 |
17 |
122 |
3 |
| prefix_compare |
|
4 |
18 |
121 |
2 |
| prefix_tree_add |
|
7 |
30 |
237 |
2 |
| orig_intra_lsa_net |
|
13 |
60 |
486 |
3 |
| orig_intra_lsa_rtr |
|
20 |
77 |
562 |
2 |
| orig_intra_area_prefix_lsas |
|
5 |
21 |
152 |
1 |
| comp_asext |
|
2 |
9 |
97 |
2 |
| orig_asext_lsa |
|
7 |
51 |
446 |
2 |
| orig_sum_lsa |
|
5 |
24 |
214 |
4 |
| Source file: ./usr.sbin/mrouted/rsrr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rsrr_init |
|
4 |
14 |
125 |
1 |
| rsrr_read |
|
3 |
18 |
122 |
1 |
| rsrr_accept |
|
7 |
53 |
235 |
1 |
| rsrr_accept_iq |
|
4 |
30 |
199 |
1 |
| rsrr_accept_rq |
|
12 |
68 |
496 |
3 |
| rsrr_send |
|
3 |
13 |
75 |
1 |
| rsrr_cache |
|
7 |
39 |
302 |
2 |
| rsrr_cache_send |
|
4 |
18 |
117 |
2 |
| rsrr_cache_clean |
|
2 |
12 |
64 |
1 |
| rsrr_clean |
|
1 |
4 |
11 |
1 |
| Source file: ./usr.sbin/mrouted/kern.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| k_set_rcvbuf |
|
2 |
6 |
43 |
1 |
| k_hdr_include |
|
3 |
6 |
43 |
1 |
| k_set_ttl |
|
2 |
8 |
50 |
1 |
| k_set_loop |
|
2 |
8 |
50 |
1 |
| k_set_if |
|
2 |
9 |
58 |
1 |
| k_join |
|
2 |
10 |
78 |
2 |
| k_leave |
|
2 |
10 |
78 |
2 |
| k_init_dvmrp |
|
4 |
9 |
66 |
1 |
| k_stop_dvmrp |
|
2 |
6 |
36 |
1 |
| k_add_vif |
|
2 |
13 |
102 |
2 |
| k_del_vif |
|
2 |
6 |
41 |
1 |
| k_add_rg |
|
7 |
17 |
146 |
2 |
| k_del_rg |
|
5 |
15 |
110 |
2 |
| k_get_version |
|
3 |
11 |
56 |
1 |
| Source file: ./usr.sbin/mrouted/defs.h |
| Source file: ./usr.sbin/mrouted/rsrr_var.h |
| Source file: ./usr.sbin/mrouted/prune.h |
| Source file: ./usr.sbin/mrouted/vif.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| init_vifs |
|
13 |
52 |
342 |
1 |
| init_installvifs |
|
5 |
22 |
156 |
1 |
| check_vif_state |
|
7 |
34 |
195 |
1 |
| send_probe_on_vif |
|
6 |
25 |
168 |
1 |
| start_vif |
|
1 |
5 |
23 |
1 |
| start_vif2 |
|
4 |
26 |
174 |
1 |
| stop_vif |
|
6 |
32 |
212 |
1 |
| stop_all_vifs |
|
5 |
25 |
146 |
1 |
| find_vif |
|
13 |
27 |
191 |
2 |
| age_old_hosts |
|
4 |
10 |
68 |
1 |
| query_groups |
|
4 |
14 |
79 |
1 |
| accept_membership_query |
|
5 |
18 |
110 |
4 |
| accept_group_report |
|
11 |
46 |
296 |
4 |
| accept_leave_message |
|
10 |
38 |
248 |
3 |
| probe_for_neighbors |
|
3 |
10 |
58 |
1 |
| accept_neighbor_request |
|
12 |
59 |
423 |
2 |
| accept_neighbor_request2 |
|
20 |
95 |
635 |
2 |
| accept_info_request |
|
5 |
28 |
172 |
4 |
| info_version |
|
2 |
13 |
78 |
2 |
| accept_neighbors |
|
1 |
6 |
43 |
5 |
| accept_neighbors2 |
|
1 |
6 |
43 |
5 |
| accept_info_reply |
|
1 |
5 |
40 |
4 |
| update_neighbor |
|
34 |
123 |
839 |
6 |
| age_vifs |
|
11 |
38 |
259 |
1 |
| neighbor_info |
|
3 |
8 |
48 |
2 |
| dump_vifs |
|
21 |
88 |
669 |
1 |
| DelVif |
|
4 |
20 |
134 |
1 |
| SetTimer |
|
1 |
8 |
57 |
2 |
| DeleteTimer |
|
1 |
5 |
15 |
1 |
| SendQuery |
|
1 |
10 |
71 |
1 |
| SetQueryTimer |
|
1 |
9 |
67 |
4 |
| Source file: ./usr.sbin/mrouted/igmp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| init_igmp |
|
2 |
22 |
149 |
1 |
| packet_kind |
|
28 |
39 |
199 |
2 |
| accept_igmp |
|
26 |
116 |
692 |
1 |
| igmp_log_level |
|
5 |
14 |
43 |
2 |
| send_igmp |
|
6 |
43 |
316 |
6 |
| Source file: ./usr.sbin/mrouted/rsrr.h |
| Source file: ./usr.sbin/mrouted/vif.h |
| Source file: ./usr.sbin/mrouted/inet.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| inet_valid_host |
|
3 |
8 |
41 |
1 |
| inet_valid_mask |
|
2 |
7 |
38 |
1 |
| inet_valid_subnet |
|
11 |
24 |
146 |
2 |
| inet_fmt |
|
1 |
7 |
58 |
2 |
| inet_fmts |
|
6 |
21 |
213 |
3 |
| inet_parse |
|
6 |
14 |
133 |
1 |
| inet_cksum |
|
3 |
19 |
115 |
2 |
| Source file: ./usr.sbin/mrouted/callout.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| callout_init |
|
1 |
4 |
15 |
1 |
| age_callout_queue |
|
6 |
26 |
111 |
1 |
| timer_setTimer |
|
7 |
44 |
226 |
3 |
| timer_clearTimer |
|
7 |
30 |
139 |
1 |
| print_Q |
|
2 |
6 |
42 |
1 |
| secs_remaining |
|
4 |
10 |
58 |
1 |
| Source file: ./usr.sbin/slaacctl/parser.h |
| Source file: ./usr.sbin/mrouted/main.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| register_input_handler |
|
2 |
8 |
42 |
2 |
| main |
|
35 |
148 |
1011 |
2 |
| fasttimer |
|
7 |
29 |
143 |
1 |
| timer |
|
5 |
19 |
73 |
1 |
| done |
|
1 |
6 |
27 |
1 |
| cleanup |
|
3 |
11 |
39 |
1 |
| dump |
|
1 |
5 |
17 |
1 |
| fdump |
|
2 |
10 |
46 |
1 |
| cdump |
|
2 |
9 |
41 |
1 |
| restart |
|
2 |
24 |
137 |
1 |
| resetlogging |
|
3 |
14 |
71 |
1 |
| logit |
|
13 |
42 |
290 |
4 |
| md_logit |
|
3 |
17 |
115 |
3 |
| Source file: ./usr.sbin/slaacctl/parser.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| parse |
|
6 |
24 |
152 |
2 |
| match_token |
|
20 |
48 |
294 |
3 |
| show_valid_args |
|
6 |
19 |
92 |
1 |
| Source file: ./usr.sbin/radiusd/radiusd_module.h |
| Source file: ./usr.sbin/radiusd/log.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| log_init |
|
2 |
9 |
39 |
1 |
| logit |
|
1 |
7 |
38 |
3 |
| vlog |
|
10 |
50 |
346 |
3 |
| log_warn |
|
3 |
18 |
111 |
2 |
| log_warnx |
|
1 |
7 |
35 |
2 |
| log_info |
|
1 |
7 |
35 |
2 |
| log_debug |
|
3 |
9 |
43 |
2 |
| fatal |
|
3 |
12 |
61 |
1 |
| fatalx |
|
1 |
5 |
18 |
1 |
| Source file: ./usr.sbin/radiusd/imsg_subr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| imsg_sync_read |
|
4 |
15 |
102 |
2 |
| imsg_sync_flush |
|
5 |
17 |
116 |
2 |
| Source file: ./usr.sbin/radiusd/radiusd.h |
| Source file: ./usr.sbin/mrouted/prune.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| prun_add_ttls |
|
3 |
11 |
71 |
1 |
| scoped_addr |
|
3 |
8 |
54 |
2 |
| grplst_mem |
|
3 |
10 |
60 |
2 |
| find_src_grp |
|
11 |
24 |
167 |
3 |
| pruning_neighbor |
|
4 |
11 |
63 |
2 |
| can_mtrace |
|
4 |
11 |
63 |
2 |
| find_prune_entry |
|
3 |
9 |
38 |
2 |
| send_prune |
|
9 |
40 |
338 |
1 |
| send_graft |
|
5 |
27 |
218 |
1 |
| send_graft_ack |
|
3 |
17 |
152 |
4 |
| update_kernel |
|
2 |
6 |
39 |
1 |
| init_ktable |
|
1 |
6 |
18 |
1 |
| add_table_entry |
|
37 |
116 |
801 |
2 |
| reset_neighbor_state |
|
15 |
54 |
374 |
2 |
| del_table_entry |
|
19 |
95 |
569 |
3 |
| update_table_entry |
|
15 |
42 |
300 |
1 |
| update_lclgrp |
|
7 |
25 |
174 |
2 |
| delete_lclgrp |
|
12 |
34 |
241 |
2 |
| accept_prune |
|
23 |
100 |
725 |
4 |
| chkgrp_graft |
|
8 |
27 |
185 |
2 |
| accept_graft |
|
13 |
70 |
487 |
4 |
| accept_g_ack |
|
8 |
37 |
255 |
4 |
| free_all_prunes |
|
6 |
37 |
178 |
1 |
| steal_sources |
|
12 |
61 |
463 |
1 |
| age_table_entry |
|
36 |
146 |
924 |
1 |
| expire_prune |
|
4 |
18 |
129 |
2 |
| scaletime |
|
7 |
32 |
156 |
1 |
| dump_cache |
|
15 |
49 |
422 |
1 |
| accept_mtrace |
|
44 |
204 |
1466 |
6 |
| Source file: ./usr.sbin/mrouted/route.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| init_routes |
|
1 |
8 |
25 |
0 |
| init_children_and_leaves |
|
6 |
31 |
214 |
2 |
| add_vif_to_routes |
|
5 |
24 |
150 |
1 |
| delete_vif_from_routes |
|
5 |
25 |
148 |
1 |
| delete_neighbor_from_routes |
|
9 |
42 |
264 |
2 |
| start_route_updates |
|
1 |
4 |
10 |
1 |
| find_route |
|
7 |
19 |
108 |
2 |
| create_route |
|
6 |
29 |
258 |
2 |
| discard_route |
|
2 |
12 |
63 |
1 |
| update_route |
|
42 |
129 |
840 |
5 |
| age_routes |
|
15 |
46 |
264 |
1 |
| expire_all_routes |
|
2 |
9 |
45 |
1 |
| free_all_routes |
|
2 |
7 |
26 |
1 |
| accept_probe |
|
2 |
11 |
73 |
5 |
| compare_rts |
|
5 |
19 |
132 |
2 |
| accept_report |
|
20 |
77 |
636 |
5 |
| report |
|
17 |
59 |
474 |
3 |
| report_to_all_neighbors |
|
7 |
22 |
121 |
1 |
| report_chunk |
|
16 |
52 |
417 |
3 |
| report_next_chunk |
|
11 |
33 |
203 |
1 |
| dump_routes |
|
8 |
25 |
194 |
1 |
| determine_route |
|
3 |
9 |
49 |
1 |
| Source file: ./usr.sbin/slaacctl/slaacctl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usage |
|
1 |
7 |
25 |
1 |
| main |
|
23 |
85 |
551 |
2 |
| show_interface_msg |
|
33 |
150 |
1061 |
1 |
| Source file: ./usr.sbin/radiusd/util.h |
| Source file: ./usr.sbin/radiusd/imsg_subr.h |
| Source file: ./usr.sbin/radiusd/radiusd_local.h |
| Source file: ./usr.sbin/radiusd/util.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| addrport_parse |
|
7 |
38 |
231 |
3 |
| addrport_tostring |
|
6 |
21 |
142 |
4 |
| Source file: ./usr.sbin/radiusd/radiusd_bsdauth.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
25 |
117 |
725 |
2 |
| module_bsdauth_main |
|
8 |
35 |
236 |
2 |
| module_bsdauth_config_set |
|
8 |
39 |
243 |
4 |
| module_bsdauth_userpass |
|
12 |
70 |
550 |
4 |
| fatal |
|
1 |
5 |
22 |
1 |
| Source file: ./usr.sbin/radiusd/log.h |
| Source file: ./usr.sbin/radiusd/radiusd_module.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| module_create |
|
2 |
14 |
96 |
3 |
| module_start |
|
4 |
10 |
94 |
1 |
| module_run |
|
2 |
8 |
38 |
1 |
| module_destroy |
|
1 |
5 |
22 |
1 |
| module_load |
|
3 |
12 |
83 |
1 |
| module_drop_privilege |
|
7 |
18 |
117 |
1 |
| module_notify_secret |
|
1 |
8 |
55 |
2 |
| module_send_message |
|
3 |
21 |
138 |
4 |
| module_userpass_ok |
|
1 |
13 |
109 |
3 |
| module_userpass_fail |
|
1 |
13 |
109 |
3 |
| module_accsreq_answer |
|
1 |
6 |
41 |
5 |
| module_accsreq_aborted |
|
1 |
8 |
52 |
2 |
| module_common_radpkt |
|
4 |
30 |
218 |
6 |
| module_recv_imsg |
|
8 |
24 |
152 |
1 |
| module_imsg_handler |
|
24 |
138 |
710 |
2 |
| module_stop |
|
3 |
8 |
45 |
1 |
| module_on_event |
|
9 |
27 |
148 |
3 |
| module_reset_event |
|
7 |
20 |
130 |
1 |
| Source file: ./usr.sbin/ospf6d/kroute.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| kr_init |
|
9 |
36 |
251 |
1 |
| kr_change_fib |
|
22 |
60 |
463 |
4 |
| kr_change |
|
4 |
10 |
83 |
2 |
| kr_delete_fib |
|
4 |
12 |
92 |
1 |
| kr_delete |
|
4 |
14 |
83 |
1 |
| kr_shutdown |
|
1 |
5 |
14 |
1 |
| kr_fib_couple |
|
4 |
13 |
86 |
1 |
| kr_fib_decouple |
|
4 |
13 |
86 |
1 |
| kr_dispatch_msg |
|
1 |
4 |
18 |
3 |
| kr_show_route |
|
9 |
41 |
253 |
1 |
| kr_redist_remove |
|
5 |
14 |
97 |
2 |
| kr_redist_eval |
|
15 |
33 |
211 |
2 |
| kr_redistribute |
|
6 |
23 |
153 |
1 |
| kr_reload |
|
6 |
16 |
90 |
1 |
| kroute_compare |
|
8 |
18 |
160 |
2 |
| kroute_find |
|
5 |
20 |
130 |
3 |
| kroute_matchgw |
|
4 |
10 |
62 |
3 |
| kroute_insert |
|
5 |
22 |
138 |
1 |
| kroute_remove |
|
9 |
38 |
262 |
1 |
| kroute_clear |
|
2 |
6 |
32 |
1 |
| kif_update |
|
7 |
25 |
183 |
4 |
| kif_validate |
|
3 |
9 |
58 |
1 |
| kroute_match |
|
4 |
14 |
97 |
1 |
| protect_lo |
|
3 |
14 |
107 |
1 |
| get_rtaddrs |
|
3 |
12 |
87 |
3 |
| if_change |
|
8 |
32 |
202 |
3 |
| if_newaddr |
|
22 |
61 |
409 |
4 |
| if_deladdr |
|
13 |
41 |
293 |
4 |
| if_announce |
|
5 |
23 |
132 |
1 |
| send_rtmsg |
|
12 |
103 |
827 |
3 |
| fetchtable |
|
23 |
109 |
722 |
1 |
| fetchifs |
|
10 |
60 |
430 |
1 |
| dispatch_rtmsg |
|
52 |
217 |
1332 |
1 |
| Source file: ./usr.sbin/snmpd/ber.h |
| Source file: ./usr.sbin/snmpd/traphandler.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| traphandler |
|
4 |
16 |
131 |
2 |
| traphandler_init |
|
3 |
14 |
101 |
3 |
| traphandler_bind |
|
5 |
18 |
141 |
1 |
| traphandler_shutdown |
|
1 |
8 |
39 |
1 |
| traphandler_dispatch_parent |
|
1 |
8 |
37 |
3 |
| snmpd_dispatch_traphandler |
|
2 |
10 |
50 |
3 |
| traphandler_recvmsg |
|
5 |
28 |
204 |
3 |
| traphandler_parse |
|
9 |
40 |
261 |
6 |
| traphandler_v1translate |
|
2 |
8 |
53 |
3 |
| traphandler_priv_recvmsg |
|
4 |
17 |
91 |
2 |
| traphandler_fork_handler |
|
8 |
37 |
293 |
2 |
| trapcmd_exec |
|
14 |
72 |
528 |
5 |
| traphandler_hostname |
|
3 |
11 |
78 |
2 |
| trapcmd_lookup |
|
2 |
9 |
63 |
1 |
| trapcmd_cmp |
|
2 |
12 |
57 |
2 |
| trapcmd_add |
|
1 |
4 |
24 |
1 |
| trapcmd_free |
|
1 |
7 |
38 |
1 |
| Source file: ./usr.sbin/snmpd/log.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| log_init |
|
2 |
10 |
48 |
2 |
| log_procinit |
|
2 |
5 |
19 |
1 |
| log_setverbose |
|
1 |
4 |
11 |
1 |
| log_getverbose |
|
1 |
4 |
11 |
1 |
| logit |
|
1 |
7 |
38 |
3 |
| vlog |
|
3 |
17 |
99 |
3 |
| log_warn |
|
3 |
21 |
120 |
2 |
| log_warnx |
|
1 |
7 |
35 |
2 |
| log_info |
|
1 |
7 |
35 |
2 |
| log_debug |
|
2 |
9 |
43 |
2 |
| vfatalc |
|
3 |
17 |
106 |
3 |
| fatal |
|
1 |
8 |
40 |
2 |
| fatalx |
|
1 |
8 |
40 |
2 |
| Source file: ./usr.sbin/snmpd/usm.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usm_generate_keys |
|
3 |
24 |
146 |
1 |
| usm_get_md |
|
4 |
12 |
38 |
1 |
| usm_get_cipher |
|
4 |
12 |
38 |
1 |
| usm_newuser |
|
3 |
13 |
82 |
2 |
| usm_finduser |
|
2 |
9 |
42 |
1 |
| usm_checkuser |
|
17 |
53 |
293 |
2 |
| usm_decode |
|
24 |
103 |
673 |
3 |
| usm_encode |
|
12 |
51 |
381 |
2 |
| usm_cb_digest |
|
1 |
5 |
24 |
2 |
| usm_encrypt |
|
5 |
24 |
157 |
2 |
| usm_finalize_digest |
|
8 |
21 |
170 |
3 |
| usm_make_report |
|
2 |
14 |
104 |
1 |
| usm_valid_digest |
|
6 |
21 |
173 |
4 |
| usm_decrypt |
|
5 |
24 |
157 |
2 |
| usm_crypt |
|
10 |
42 |
305 |
5 |
| usm_passwd2key |
|
8 |
39 |
306 |
3 |
| Source file: ./usr.sbin/radiusd/radiusd_radius.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
3 |
19 |
125 |
2 |
| module_radius_init |
|
1 |
5 |
30 |
1 |
| module_radius_config_set |
|
15 |
72 |
541 |
4 |
| module_radius_start |
|
5 |
22 |
133 |
1 |
| module_radius_stop |
|
2 |
10 |
70 |
1 |
| module_radius_access_request |
|
5 |
39 |
245 |
4 |
| radius_server_start |
|
6 |
46 |
343 |
1 |
| radius_server_stop |
|
2 |
7 |
39 |
1 |
| radius_server_on_event |
|
12 |
69 |
449 |
3 |
| radius_server_on_fail |
|
2 |
23 |
185 |
2 |
| module_radius_req_send |
|
3 |
20 |
153 |
1 |
| module_radius_req_reset_event |
|
4 |
22 |
142 |
1 |
| module_radius_req_on_timeout |
|
4 |
20 |
130 |
3 |
| module_radius_req_on_success |
|
1 |
6 |
41 |
3 |
| module_radius_req_on_failure |
|
1 |
5 |
27 |
1 |
| module_radius_req_free |
|
2 |
8 |
51 |
1 |
| module_radius_req_select_server |
|
1 |
8 |
60 |
1 |
| module_radius_req_reset_msgauth |
|
3 |
9 |
55 |
1 |
| module_radius_log |
|
1 |
9 |
63 |
4 |
| Source file: ./usr.sbin/snmpd/timer.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| timer_cpu |
|
5 |
21 |
198 |
3 |
| timer_init |
|
10 |
26 |
259 |
1 |
| percentages |
|
5 |
20 |
155 |
5 |
| Source file: ./usr.sbin/snmpd/snmpd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| snmpd_sig_handler |
|
19 |
57 |
309 |
3 |
| usage |
|
1 |
7 |
26 |
1 |
| main |
|
22 |
106 |
663 |
2 |
| snmpd_shutdown |
|
2 |
9 |
58 |
1 |
| check_child |
|
4 |
16 |
84 |
2 |
| snmpd_dispatch_snmpe |
|
2 |
9 |
40 |
3 |
| snmpd_socket_af |
|
3 |
20 |
119 |
2 |
| snmpd_generate_engineid |
|
1 |
16 |
163 |
1 |
| snmpd_engine_time |
|
1 |
6 |
23 |
1 |
| tohexstr |
|
3 |
14 |
108 |
2 |
| Source file: ./usr.sbin/radiusd/radiusd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usage |
|
1 |
6 |
25 |
1 |
| main |
|
21 |
69 |
480 |
2 |
| radiusd_start |
|
6 |
54 |
396 |
1 |
| radiusd_stop |
|
8 |
35 |
280 |
1 |
| radiusd_free |
|
2 |
35 |
273 |
1 |
| radiusd_listen_on_event |
|
37 |
170 |
1085 |
3 |
| radius_query_request_decoration |
|
3 |
13 |
80 |
1 |
| radius_query_response_decoration |
|
3 |
13 |
80 |
1 |
| radiusd_access_request_answer |
|
11 |
43 |
316 |
1 |
| radiusd_access_request_aborted |
|
3 |
9 |
60 |
1 |
| radiusd_on_sigterm |
|
1 |
6 |
31 |
3 |
| radiusd_on_sigint |
|
1 |
6 |
31 |
3 |
| radiusd_on_sighup |
|
1 |
4 |
19 |
3 |
| radiusd_on_sigchld |
|
7 |
35 |
186 |
3 |
| radius_code_string |
|
3 |
22 |
128 |
1 |
| radiusd_conf_init |
|
3 |
18 |
103 |
1 |
| radiusd_access_response_fixup |
|
9 |
62 |
438 |
1 |
| radius_attr_hide |
|
6 |
21 |
160 |
5 |
| radius_attr_unhide |
|
6 |
22 |
173 |
5 |
| radiusd_find_query |
|
2 |
9 |
48 |
2 |
| radiusd_module_load |
|
12 |
76 |
521 |
3 |
| radiusd_module_start |
|
6 |
39 |
243 |
1 |
| radiusd_module_stop |
|
2 |
11 |
71 |
1 |
| radiusd_module_close |
|
2 |
9 |
49 |
1 |
| radiusd_module_unload |
|
1 |
6 |
26 |
1 |
| radiusd_module_on_imsg_io |
|
11 |
27 |
157 |
3 |
| radiusd_module_reset_ev_handler |
|
8 |
26 |
168 |
1 |
| radiusd_module_imsg_read |
|
10 |
27 |
161 |
2 |
| radiusd_module_imsg |
|
18 |
91 |
493 |
2 |
| radiusd_module_recv_radpkt |
|
6 |
38 |
243 |
4 |
| radiusd_module_set |
|
12 |
82 |
553 |
4 |
| radiusd_module_userpass |
|
3 |
23 |
161 |
2 |
| radiusd_module_access_request |
|
7 |
46 |
329 |
2 |
| Source file: ./usr.sbin/snmpd/pf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pf_init |
|
2 |
5 |
27 |
1 |
| pf_get_stats |
|
2 |
10 |
55 |
1 |
| pfr_get_astats |
|
7 |
19 |
134 |
4 |
| pfr_get_tstats |
|
7 |
19 |
136 |
4 |
| pfr_buf_grow |
|
10 |
29 |
197 |
2 |
| pfr_buf_next |
|
5 |
15 |
116 |
2 |
| pfi_get_ifaces |
|
8 |
23 |
163 |
3 |
| pfi_get |
|
4 |
14 |
95 |
2 |
| pfi_count |
|
2 |
14 |
68 |
1 |
| pfi_get_if |
|
4 |
22 |
118 |
2 |
| pft_get |
|
4 |
14 |
97 |
2 |
| pft_get_table |
|
5 |
24 |
131 |
2 |
| pft_count |
|
3 |
17 |
83 |
1 |
| pfta_get |
|
4 |
15 |
99 |
2 |
| pfta_get_addr |
|
9 |
33 |
239 |
2 |
| pfta_get_nextaddr |
|
9 |
38 |
264 |
2 |
| pfta_get_first |
|
7 |
30 |
190 |
1 |
| Source file: ./usr.sbin/snmpd/ber.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ber_get_element |
|
2 |
9 |
53 |
1 |
| ber_set_header |
|
2 |
7 |
42 |
3 |
| ber_link_elements |
|
5 |
11 |
57 |
2 |
| ber_unlink_elements |
|
4 |
14 |
70 |
1 |
| ber_replace_elements |
|
1 |
9 |
55 |
2 |
| ber_add_sequence |
|
2 |
8 |
40 |
1 |
| ber_add_set |
|
2 |
8 |
40 |
1 |
| ber_add_enumerated |
|
9 |
22 |
150 |
2 |
| ber_add_integer |
|
9 |
22 |
150 |
2 |
| ber_get_integer |
|
2 |
7 |
36 |
2 |
| ber_get_enumerated |
|
2 |
7 |
36 |
2 |
| ber_add_boolean |
|
3 |
10 |
59 |
2 |
| ber_get_boolean |
|
2 |
7 |
40 |
2 |
| ber_add_string |
|
1 |
4 |
27 |
2 |
| ber_add_nstring |
|
3 |
17 |
106 |
3 |
| ber_get_string |
|
2 |
7 |
35 |
2 |
| ber_get_nstring |
|
2 |
8 |
46 |
3 |
| ber_add_bitstring |
|
3 |
17 |
104 |
3 |
| ber_get_bitstring |
|
2 |
8 |
46 |
3 |
| ber_add_null |
|
2 |
8 |
40 |
1 |
| ber_get_null |
|
2 |
6 |
24 |
1 |
| ber_add_eoc |
|
2 |
8 |
40 |
1 |
| ber_get_eoc |
|
2 |
6 |
24 |
1 |
| ber_oid2ber |
|
10 |
22 |
187 |
3 |
| ber_string2oid |
|
6 |
16 |
151 |
2 |
| ber_add_oid |
|
5 |
22 |
140 |
2 |
| ber_add_noid |
|
2 |
9 |
69 |
3 |
| ber_add_oidstring |
|
2 |
7 |
47 |
2 |
| ber_get_oid |
|
6 |
22 |
182 |
2 |
| ber_printf_elements |
|
32 |
101 |
583 |
3 |
| ber_scanf_elements |
|
37 |
128 |
697 |
3 |
| ber_write_elements |
|
7 |
21 |
155 |
2 |
| ber_read_elements |
|
5 |
15 |
83 |
2 |
| ber_getpos |
|
1 |
4 |
14 |
1 |
| ber_free_elements |
|
9 |
13 |
87 |
1 |
| ber_calc_len |
|
12 |
21 |
157 |
1 |
| ber_dump_element |
|
16 |
37 |
215 |
2 |
| ber_dump_header |
|
12 |
35 |
266 |
2 |
| ber_putc |
|
2 |
6 |
36 |
2 |
| ber_write |
|
2 |
6 |
45 |
3 |
| get_id |
|
6 |
26 |
173 |
4 |
| get_len |
|
8 |
32 |
174 |
2 |
| ber_read_element |
|
34 |
98 |
613 |
2 |
| ber_readbuf |
|
3 |
16 |
93 |
3 |
| ber_set_readbuf |
|
1 |
5 |
38 |
3 |
| ber_get_writebuf |
|
2 |
7 |
43 |
2 |
| ber_set_application |
|
1 |
4 |
27 |
2 |
| ber_set_writecallback |
|
1 |
6 |
37 |
3 |
| ber_free |
|
1 |
4 |
16 |
1 |
| ber_getc |
|
1 |
4 |
23 |
2 |
| ber_read |
|
7 |
23 |
140 |
3 |
| ber_oid_cmp |
|
6 |
19 |
123 |
2 |
| Source file: ./usr.sbin/snmpd/smi.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| smi_getticks |
|
3 |
13 |
84 |
1 |
| smi_oidlen |
|
3 |
7 |
41 |
1 |
| smi_scalar_oidlen |
|
2 |
6 |
27 |
1 |
| smi_oid2string |
|
7 |
26 |
218 |
4 |
| smi_string2oid |
|
9 |
27 |
232 |
2 |
| smi_delete |
|
4 |
14 |
108 |
1 |
| smi_insert |
|
4 |
13 |
107 |
1 |
| smi_mibtree |
|
6 |
25 |
183 |
1 |
| smi_init |
|
1 |
6 |
21 |
1 |
| smi_find |
|
1 |
4 |
22 |
1 |
| smi_findkey |
|
2 |
8 |
43 |
1 |
| smi_next |
|
1 |
4 |
22 |
1 |
| smi_foreach |
|
9 |
18 |
111 |
2 |
| smi_debug_elements |
|
50 |
166 |
724 |
1 |
| smi_print_element |
|
27 |
71 |
451 |
1 |
| smi_application |
|
8 |
18 |
67 |
1 |
| smi_oid_cmp |
|
7 |
13 |
124 |
2 |
| smi_key_cmp |
|
3 |
6 |
48 |
2 |
| Source file: ./usr.sbin/snmpd/util.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| varbind_convert |
|
31 |
96 |
450 |
4 |
| sendtofrom |
|
3 |
46 |
337 |
8 |
| recvfromto |
|
11 |
61 |
432 |
8 |
| print_debug |
|
2 |
9 |
45 |
2 |
| print_verbose |
|
2 |
9 |
43 |
2 |
| log_in6addr |
|
3 |
19 |
157 |
1 |
| print_host |
|
2 |
9 |
63 |
3 |
| Source file: ./usr.sbin/snmpd/snmp.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| snmp_agentx_byteorder_native |
|
1 |
4 |
22 |
1 |
| snmp_agentx_byteorder_native |
|
1 |
4 |
22 |
1 |
| Source file: ./usr.sbin/snmpd/control.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| control_init |
|
10 |
49 |
371 |
2 |
| control_listen |
|
3 |
14 |
96 |
1 |
| control_cleanup |
|
2 |
7 |
35 |
1 |
| control_accept |
|
11 |
48 |
362 |
3 |
| control_close |
|
3 |
19 |
165 |
3 |
| control_dispatch_imsg |
|
32 |
106 |
649 |
3 |
| purge_registered_oids |
|
3 |
10 |
59 |
1 |
| control_dispatch_agentx |
|
77 |
243 |
1261 |
3 |
| control_imsg_forward |
|
2 |
9 |
68 |
1 |
| control_event_add |
|
1 |
6 |
62 |
4 |
| imsg_read_nofd |
|
3 |
14 |
98 |
1 |
| Source file: ./usr.sbin/snmpd/agentx.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| snmp_agentx_alloc |
|
2 |
11 |
69 |
1 |
| snmp_agentx_open |
|
5 |
21 |
161 |
3 |
| snmp_agentx_fdopen |
|
6 |
16 |
112 |
3 |
| snmp_agentx_close |
|
4 |
13 |
91 |
2 |
| snmp_agentx_free |
|
5 |
17 |
114 |
1 |
| snmp_agentx_pdu_alloc |
|
3 |
21 |
166 |
1 |
| snmp_agentx_response |
|
3 |
10 |
64 |
2 |
| snmp_agentx_read_response |
|
3 |
10 |
77 |
2 |
| snmp_agentx_open_response |
|
2 |
7 |
47 |
2 |
| snmp_agentx_pdu_free |
|
1 |
6 |
28 |
1 |
| snmp_agentx_buffer_consume |
|
2 |
10 |
68 |
2 |
| snmp_agentx_send |
|
8 |
30 |
228 |
2 |
| snmp_agentx_recv |
|
25 |
88 |
599 |
1 |
| snmp_agentx_request |
|
7 |
17 |
101 |
2 |
| agentx_find_inflight |
|
3 |
8 |
56 |
3 |
| snmp_agentx_buffercheck |
|
5 |
18 |
145 |
2 |
| snmp_agentx_open_pdu |
|
6 |
24 |
160 |
3 |
| snmp_agentx_close_pdu |
|
3 |
15 |
98 |
2 |
| snmp_agentx_notify_pdu |
|
3 |
13 |
79 |
1 |
| snmp_agentx_response_pdu |
|
3 |
16 |
100 |
3 |
| snmp_agentx_ping_pdu |
|
2 |
9 |
49 |
1 |
| snmp_agentx_register_pdu |
|
6 |
21 |
144 |
4 |
| snmp_agentx_unregister_pdu |
|
7 |
22 |
151 |
3 |
| snmp_agentx_get_pdu |
|
5 |
19 |
128 |
2 |
| snmp_agentx_getnext_pdu |
|
5 |
19 |
128 |
2 |
| snmp_agentx_raw |
|
2 |
10 |
70 |
3 |
| snmp_agentx_int |
|
1 |
4 |
29 |
2 |
| snmp_agentx_int64 |
|
1 |
4 |
29 |
2 |
| snmp_agentx_octetstring |
|
4 |
13 |
105 |
3 |
| snmp_agentx_oid |
|
10 |
25 |
197 |
2 |
| snmp_agentx_varbind |
|
16 |
33 |
195 |
5 |
| snmp_agentx_read_vbhdr |
|
3 |
9 |
64 |
2 |
| snmp_agentx_copy_raw |
|
1 |
4 |
30 |
3 |
| snmp_agentx_read_raw |
|
1 |
4 |
30 |
3 |
| snmp_agentx_do_read_raw |
|
3 |
9 |
63 |
4 |
| snmp_agentx_read_int |
|
3 |
8 |
61 |
2 |
| snmp_agentx_read_int64 |
|
3 |
8 |
61 |
2 |
| snmp_agentx_read_oid |
|
1 |
5 |
30 |
2 |
| snmp_agentx_do_read_oid |
|
5 |
23 |
173 |
3 |
| snmp_agentx_read_searchrange |
|
3 |
7 |
58 |
2 |
| snmp_agentx_read_octetstr |
|
4 |
15 |
92 |
2 |
| snmp_agentx_ping |
|
4 |
13 |
85 |
1 |
| snmp_agentx_update_ids |
|
1 |
5 |
34 |
2 |
| snmp_oid2string |
|
3 |
13 |
103 |
3 |
| snmp_oid_cmp |
|
6 |
19 |
123 |
2 |
| snmp_oid_increment |
|
3 |
9 |
54 |
1 |
| snmp_agentx_type2name |
|
2 |
26 |
73 |
1 |
| snmp_agentx_dump_hdr |
|
3 |
19 |
121 |
1 |
| Source file: ./usr.sbin/snmpd/snmpd.h |
| Source file: ./usr.sbin/snmpd/trap.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| trap_init |
|
1 |
5 |
23 |
1 |
| trap_agentx |
|
16 |
78 |
465 |
5 |
| trap_send |
|
13 |
77 |
578 |
2 |
| Source file: ./usr.sbin/snmpd/proc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| proc_ispeer |
|
3 |
9 |
55 |
3 |
| proc_getid |
|
3 |
13 |
75 |
3 |
| proc_exec |
|
11 |
52 |
398 |
5 |
| proc_connect |
|
9 |
24 |
191 |
1 |
| proc_init |
|
11 |
42 |
301 |
6 |
| proc_accept |
|
4 |
24 |
185 |
4 |
| proc_setup |
|
13 |
42 |
451 |
3 |
| proc_kill |
|
11 |
30 |
180 |
1 |
| proc_open |
|
10 |
34 |
319 |
3 |
| proc_close |
|
6 |
21 |
171 |
1 |
| proc_shutdown |
|
4 |
11 |
76 |
1 |
| proc_sig_handler |
|
7 |
17 |
63 |
3 |
| proc_run |
|
17 |
64 |
574 |
6 |
| proc_dispatch |
|
16 |
66 |
439 |
3 |
| proc_dispatch_null |
|
1 |
4 |
23 |
3 |
| imsg_event_add |
|
3 |
13 |
95 |
1 |
| imsg_compose_event |
|
2 |
10 |
75 |
7 |
| imsg_composev_event |
|
2 |
10 |
77 |
7 |
| proc_range |
|
2 |
9 |
57 |
4 |
| proc_compose_imsg |
|
3 |
12 |
106 |
8 |
| proc_compose |
|
1 |
5 |
48 |
5 |
| proc_composev_imsg |
|
3 |
11 |
106 |
8 |
| proc_composev |
|
1 |
5 |
50 |
5 |
| proc_forward_imsg |
|
1 |
6 |
58 |
4 |
| proc_ibuf |
|
1 |
6 |
48 |
3 |
| proc_iev |
|
1 |
6 |
46 |
3 |
| proc_flush_imsg |
|
6 |
17 |
126 |
3 |
| Source file: ./usr.sbin/snmpd/mps.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mps_getstr |
|
2 |
8 |
55 |
3 |
| mps_setstr |
|
6 |
18 |
141 |
3 |
| mps_getint |
|
1 |
5 |
37 |
3 |
| mps_setint |
|
2 |
8 |
54 |
3 |
| mps_getts |
|
1 |
6 |
47 |
3 |
| mps_getreq |
|
12 |
46 |
330 |
4 |
| mps_setreq |
|
5 |
17 |
131 |
3 |
| mps_getnextreq |
|
26 |
87 |
593 |
3 |
| mps_getbulkreq |
|
8 |
37 |
207 |
5 |
| mps_set |
|
3 |
16 |
114 |
3 |
| mps_table |
|
6 |
32 |
278 |
3 |
| mps_encodeinaddr |
|
3 |
15 |
144 |
3 |
| mps_decodeinaddr |
|
2 |
12 |
121 |
3 |
| Source file: ./usr.sbin/snmpd/mib.h |
| Source file: ./usr.sbin/quotaon/quotaon.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
29 |
79 |
513 |
2 |
| usage |
|
1 |
5 |
22 |
1 |
| quotaonoff |
|
8 |
25 |
180 |
4 |
| oneof |
|
3 |
8 |
58 |
3 |
| hasquota |
|
11 |
33 |
247 |
4 |
| readonly |
|
7 |
20 |
125 |
1 |
| Source file: ./usr.sbin/snmpd/snmpe.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| snmpe |
|
6 |
20 |
180 |
2 |
| snmpe_init |
|
3 |
16 |
109 |
3 |
| snmpe_shutdown |
|
1 |
4 |
10 |
1 |
| snmpe_dispatch_parent |
|
1 |
8 |
37 |
3 |
| snmpe_bind |
|
9 |
37 |
241 |
1 |
| snmpe_parse |
|
37 |
155 |
951 |
1 |
| snmpe_parsevarbinds |
|
33 |
109 |
677 |
1 |
| snmpe_recvmsg |
|
8 |
42 |
310 |
3 |
| snmpe_dispatchmsg |
|
2 |
7 |
31 |
1 |
| snmpe_response |
|
11 |
39 |
233 |
1 |
| snmp_msgfree |
|
3 |
9 |
52 |
1 |
| snmpe_encode |
|
11 |
42 |
294 |
1 |
| Source file: ./usr.sbin/vipw/vipw.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
11 |
41 |
262 |
2 |
| copyfile |
|
6 |
17 |
167 |
3 |
| usage |
|
1 |
6 |
28 |
1 |
| Source file: ./usr.sbin/snmpd/kroute.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| kr_init |
|
12 |
39 |
313 |
1 |
| ktable_init |
|
3 |
7 |
36 |
1 |
| ktable_new |
|
7 |
35 |
244 |
2 |
| ktable_free |
|
2 |
11 |
62 |
1 |
| ktable_get |
|
2 |
6 |
26 |
1 |
| ktable_update |
|
7 |
18 |
98 |
1 |
| ktable_exists |
|
4 |
22 |
136 |
2 |
| kr_shutdown |
|
2 |
7 |
33 |
1 |
| kr_ifnumber |
|
1 |
4 |
13 |
1 |
| kr_iflastchange |
|
1 |
4 |
13 |
1 |
| kr_updateif |
|
1 |
4 |
15 |
1 |
| kr_routenumber |
|
1 |
4 |
13 |
1 |
| kroute_compare |
|
9 |
18 |
179 |
2 |
| kroute6_compare |
|
10 |
21 |
197 |
2 |
| kif_compare |
|
1 |
4 |
29 |
2 |
| ka_compare |
|
3 |
8 |
89 |
2 |
| kroute_find |
|
5 |
21 |
139 |
4 |
| kroute_matchgw |
|
4 |
15 |
79 |
2 |
| kroute_insert |
|
3 |
12 |
77 |
2 |
| kroute_remove |
|
9 |
36 |
265 |
2 |
| kroute_clear |
|
2 |
6 |
39 |
1 |
| kroute6_find |
|
5 |
21 |
150 |
4 |
| kroute6_matchgw |
|
4 |
15 |
98 |
2 |
| kroute6_insert |
|
3 |
12 |
77 |
2 |
| kroute6_remove |
|
9 |
38 |
269 |
2 |
| kroute6_clear |
|
2 |
6 |
39 |
1 |
| karp_compare |
|
3 |
10 |
86 |
2 |
| karp_search |
|
3 |
13 |
65 |
2 |
| karp_find |
|
4 |
17 |
115 |
2 |
| karp_insert |
|
5 |
19 |
125 |
2 |
| karp_remove |
|
3 |
10 |
74 |
2 |
| karp_first |
|
2 |
7 |
41 |
1 |
| karp_getaddr |
|
3 |
7 |
54 |
3 |
| kif_find |
|
2 |
9 |
61 |
1 |
| kr_getif |
|
2 |
8 |
38 |
1 |
| kr_getnextif |
|
4 |
11 |
65 |
1 |
| kif_insert |
|
3 |
14 |
97 |
1 |
| kif_remove |
|
4 |
20 |
131 |
1 |
| kif_clear |
|
2 |
8 |
46 |
1 |
| kif_update |
|
9 |
30 |
301 |
4 |
| ka_insert |
|
2 |
7 |
42 |
2 |
| ka_find |
|
2 |
9 |
75 |
1 |
| ka_remove |
|
1 |
6 |
29 |
1 |
| kr_getaddr |
|
1 |
4 |
17 |
1 |
| kr_getnextaddr |
|
3 |
9 |
53 |
1 |
| prefixlen_classful |
|
5 |
13 |
60 |
1 |
| mask2prefixlen |
|
2 |
7 |
32 |
1 |
| prefixlen2mask |
|
2 |
6 |
33 |
1 |
| mask2prefixlen6 |
|
11 |
39 |
175 |
1 |
| prefixlen2mask6 |
|
3 |
12 |
80 |
1 |
| get_rtaddrs |
|
3 |
12 |
87 |
3 |
| if_change |
|
2 |
6 |
44 |
4 |
| if_newaddr |
|
7 |
28 |
212 |
4 |
| if_deladdr |
|
4 |
17 |
98 |
4 |
| if_announce |
|
3 |
17 |
85 |
1 |
| fetchtable |
|
7 |
36 |
236 |
1 |
| fetchifs |
|
4 |
31 |
193 |
1 |
| fetcharp |
|
5 |
34 |
219 |
1 |
| dispatch_rtmsg |
|
3 |
14 |
80 |
3 |
| rtmsg_process |
|
19 |
65 |
390 |
2 |
| dispatch_rtmsg_addr |
|
74 |
245 |
1621 |
3 |
| kroute_first |
|
2 |
9 |
54 |
1 |
| kroute_getaddr |
|
5 |
14 |
99 |
4 |
| Source file: ./usr.sbin/ldpd/socket.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ldp_create_socket |
|
39 |
138 |
754 |
2 |
| sock_set_recvbuf |
|
2 |
8 |
40 |
1 |
| sock_set_reuse |
|
2 |
9 |
51 |
2 |
| sock_set_bindany |
|
2 |
9 |
51 |
2 |
| sock_set_ipv4_tos |
|
2 |
8 |
57 |
2 |
| sock_set_ipv4_recvif |
|
2 |
9 |
51 |
2 |
| sock_set_ipv4_minttl |
|
2 |
8 |
51 |
2 |
| sock_set_ipv4_ucast_ttl |
|
2 |
8 |
51 |
2 |
| sock_set_ipv4_mcast_ttl |
|
2 |
10 |
57 |
2 |
| sock_set_ipv4_mcast |
|
2 |
12 |
68 |
1 |
| sock_set_ipv4_mcast_loop |
|
2 |
10 |
57 |
1 |
| sock_set_ipv6_dscp |
|
2 |
9 |
51 |
2 |
| sock_set_ipv6_pktinfo |
|
2 |
9 |
51 |
2 |
| sock_set_ipv6_minhopcount |
|
2 |
9 |
51 |
2 |
| sock_set_ipv6_ucast_hops |
|
2 |
9 |
51 |
2 |
| sock_set_ipv6_mcast_hops |
|
2 |
9 |
51 |
2 |
| sock_set_ipv6_mcast |
|
2 |
10 |
62 |
1 |
| sock_set_ipv6_mcast_loop |
|
2 |
10 |
54 |
1 |
| Source file: ./usr.sbin/ldpd/log.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| log_init |
|
2 |
8 |
36 |
1 |
| log_verbose |
|
1 |
4 |
11 |
1 |
| logit |
|
1 |
7 |
38 |
3 |
| vlog |
|
3 |
15 |
90 |
3 |
| log_warn |
|
3 |
18 |
111 |
2 |
| log_warnx |
|
1 |
7 |
35 |
2 |
| log_info |
|
1 |
7 |
35 |
2 |
| log_debug |
|
2 |
9 |
43 |
2 |
| fatal |
|
3 |
14 |
67 |
1 |
| fatalx |
|
1 |
5 |
18 |
1 |
| Source file: ./usr.sbin/ldpd/ldpd.h |
| Source file: ./usr.sbin/zic/zic.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| memcheck |
|
2 |
6 |
24 |
1 |
| ecatalloc |
|
1 |
9 |
58 |
2 |
| eats |
|
1 |
7 |
36 |
4 |
| eat |
|
1 |
4 |
24 |
2 |
| error |
|
2 |
10 |
49 |
1 |
| warning |
|
1 |
9 |
42 |
1 |
| scheck |
|
16 |
42 |
279 |
2 |
| usage |
|
1 |
8 |
21 |
1 |
| main |
|
32 |
84 |
512 |
2 |
| dolink |
|
9 |
32 |
207 |
2 |
| setboundaries |
|
2 |
8 |
42 |
1 |
| itsdir |
|
1 |
10 |
51 |
1 |
| rcomp |
|
1 |
5 |
42 |
2 |
| associate |
|
19 |
64 |
491 |
1 |
| infile |
|
20 |
72 |
414 |
1 |
| gethms |
|
14 |
35 |
249 |
3 |
| inrule |
|
4 |
23 |
181 |
2 |
| inzone |
|
10 |
43 |
276 |
2 |
| inzcont |
|
3 |
8 |
41 |
2 |
| inzsub |
|
17 |
68 |
438 |
3 |
| inleap |
|
23 |
93 |
562 |
2 |
| inlink |
|
4 |
22 |
127 |
2 |
| rulesub |
|
29 |
126 |
773 |
7 |
| convert |
|
2 |
7 |
48 |
2 |
| convert64 |
|
2 |
7 |
48 |
2 |
| puttzcode |
|
1 |
6 |
36 |
2 |
| puttzcode64 |
|
1 |
6 |
36 |
2 |
| atcomp |
|
2 |
6 |
62 |
2 |
| is32 |
|
2 |
4 |
16 |
1 |
| writezone |
|
82 |
245 |
1827 |
2 |
| doabbr |
|
12 |
33 |
241 |
6 |
| updateminmax |
|
3 |
7 |
27 |
1 |
| stringoffset |
|
6 |
30 |
198 |
3 |
| stringrule |
|
16 |
51 |
359 |
5 |
| stringzone |
|
29 |
73 |
542 |
4 |
| outzone |
|
61 |
207 |
1351 |
2 |
| addtt |
|
6 |
27 |
187 |
2 |
| addtype |
|
19 |
43 |
284 |
5 |
| leapadd |
|
10 |
27 |
190 |
4 |
| adjleap |
|
2 |
9 |
53 |
1 |
| yearistype |
|
6 |
21 |
126 |
2 |
| itsabbr |
|
5 |
14 |
89 |
2 |
| byword |
|
8 |
19 |
120 |
2 |
| getfields |
|
16 |
38 |
245 |
1 |
| oadd |
|
5 |
9 |
54 |
2 |
| tadd |
|
9 |
14 |
82 |
2 |
| rpytime |
|
20 |
68 |
395 |
2 |
| newabbr |
|
12 |
34 |
222 |
1 |
| mkdirs |
|
8 |
26 |
145 |
1 |
| eitol |
|
7 |
7 |
56 |
1 |
| Source file: ./usr.sbin/ldpd/keepalive.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| send_keepalive |
|
2 |
12 |
73 |
1 |
| recv_keepalive |
|
3 |
12 |
82 |
3 |
| Source file: ./usr.sbin/ldpd/ldpe.h |
| Source file: ./usr.sbin/ldpd/hello.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| send_hello |
|
16 |
83 |
483 |
3 |
| recv_hello |
|
67 |
195 |
1177 |
8 |
| gen_hello_prms_tlv |
|
1 |
10 |
96 |
3 |
| gen_opt4_hello_prms_tlv |
|
1 |
9 |
77 |
3 |
| gen_opt16_hello_prms_tlv |
|
1 |
9 |
89 |
3 |
| gen_ds_hello_prms_tlv |
|
2 |
8 |
50 |
2 |
| tlv_decode_hello_prms |
|
4 |
15 |
118 |
4 |
| tlv_decode_opt_hello_prms |
|
18 |
71 |
444 |
7 |
| Source file: ./usr.sbin/ldpd/control.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| control_init |
|
6 |
36 |
253 |
1 |
| control_listen |
|
2 |
8 |
45 |
1 |
| control_cleanup |
|
1 |
6 |
23 |
1 |
| control_accept |
|
8 |
29 |
223 |
3 |
| control_connbyfd |
|
2 |
9 |
42 |
1 |
| control_connbypid |
|
2 |
9 |
42 |
1 |
| control_close |
|
2 |
14 |
90 |
1 |
| control_dispatch_imsg |
|
29 |
94 |
588 |
3 |
| control_imsg_relay |
|
2 |
8 |
76 |
1 |
| Source file: ./usr.sbin/mtrace/mtrace.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| inet_name |
|
2 |
6 |
40 |
1 |
| host_addr |
|
9 |
33 |
212 |
1 |
| proto_type |
|
5 |
17 |
74 |
1 |
| flag_type |
|
10 |
27 |
114 |
1 |
| get_netmask |
|
9 |
30 |
188 |
2 |
| get_ttl |
|
6 |
19 |
117 |
1 |
| t_diff |
|
1 |
5 |
29 |
2 |
| fixtime |
|
2 |
7 |
60 |
1 |
| byteswap |
|
1 |
5 |
46 |
1 |
| send_recv |
|
48 |
154 |
1104 |
5 |
| passive_mode |
|
25 |
91 |
648 |
1 |
| print_host |
|
1 |
4 |
15 |
1 |
| print_host2 |
|
5 |
13 |
90 |
2 |
| print_trace |
|
4 |
23 |
204 |
2 |
| what_kind |
|
11 |
51 |
341 |
2 |
| scale |
|
5 |
7 |
54 |
1 |
| stat_line |
|
28 |
78 |
670 |
4 |
| fixup_stats |
|
13 |
52 |
426 |
3 |
| print_stats |
|
15 |
76 |
710 |
3 |
| main |
|
135 |
384 |
2602 |
2 |
| check_vif_state |
|
1 |
4 |
15 |
1 |
| logit |
|
11 |
22 |
147 |
4 |
| accept_probe |
|
1 |
4 |
20 |
5 |
| accept_group_report |
|
1 |
4 |
16 |
4 |
| accept_neighbor_request2 |
|
1 |
3 |
10 |
2 |
| accept_report |
|
1 |
4 |
20 |
5 |
| accept_neighbor_request |
|
1 |
3 |
10 |
2 |
| accept_prune |
|
1 |
3 |
17 |
4 |
| accept_graft |
|
1 |
3 |
17 |
4 |
| accept_g_ack |
|
1 |
3 |
17 |
4 |
| add_table_entry |
|
1 |
3 |
10 |
2 |
| accept_leave_message |
|
1 |
3 |
13 |
3 |
| accept_mtrace |
|
1 |
4 |
23 |
6 |
| accept_membership_query |
|
1 |
4 |
16 |
4 |
| accept_neighbors |
|
1 |
4 |
20 |
5 |
| accept_neighbors2 |
|
1 |
4 |
20 |
5 |
| accept_info_request |
|
1 |
3 |
17 |
4 |
| accept_info_reply |
|
1 |
3 |
17 |
4 |
| Source file: ./usr.sbin/ldpd/logmsg.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| log_sockaddr |
|
2 |
12 |
79 |
1 |
| log_in6addr |
|
1 |
10 |
64 |
1 |
| log_in6addr_scope |
|
1 |
10 |
70 |
2 |
| log_addr |
|
4 |
18 |
111 |
2 |
| log_label |
|
6 |
25 |
116 |
1 |
| log_hello_src |
|
3 |
15 |
90 |
1 |
| log_map |
|
14 |
48 |
343 |
1 |
| log_fec |
|
7 |
29 |
208 |
1 |
| af_name |
|
4 |
13 |
44 |
1 |
| socket_name |
|
4 |
13 |
44 |
1 |
| nbr_state_name |
|
6 |
17 |
60 |
1 |
| if_state_name |
|
3 |
11 |
36 |
1 |
| if_type_name |
|
3 |
10 |
35 |
1 |
| msg_name |
|
13 |
32 |
132 |
1 |
| status_code_name |
|
39 |
85 |
345 |
1 |
| pw_type_name |
|
4 |
15 |
65 |
1 |
| Source file: ./usr.sbin/ldpd/lde.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| lde_sig_handler |
|
3 |
10 |
37 |
3 |
| lde |
|
9 |
45 |
345 |
2 |
| lde_shutdown |
|
1 |
15 |
81 |
1 |
| lde_imsg_compose_parent |
|
1 |
4 |
38 |
4 |
| lde_imsg_compose_ldpe |
|
1 |
6 |
41 |
5 |
| lde_dispatch_imsg |
|
48 |
165 |
919 |
3 |
| lde_dispatch_parent |
|
39 |
159 |
1083 |
3 |
| lde_assign_label |
|
1 |
6 |
20 |
1 |
| lde_send_change_klabel |
|
8 |
55 |
445 |
2 |
| lde_send_delete_klabel |
|
7 |
54 |
442 |
2 |
| lde_fec2map |
|
4 |
25 |
204 |
2 |
| lde_map2fec |
|
5 |
29 |
208 |
3 |
| lde_send_labelmapping |
|
13 |
47 |
315 |
3 |
| lde_send_labelwithdraw |
|
15 |
58 |
404 |
4 |
| lde_send_labelwithdraw_wcard |
|
1 |
8 |
53 |
2 |
| lde_send_labelwithdraw_twcard_prefix |
|
1 |
11 |
78 |
3 |
| lde_send_labelwithdraw_twcard_pwid |
|
1 |
11 |
78 |
3 |
| lde_send_labelwithdraw_pwid_wcard |
|
1 |
11 |
76 |
3 |
| lde_send_labelrelease |
|
10 |
31 |
190 |
4 |
| lde_send_notification |
|
1 |
11 |
72 |
4 |
| lde_send_notification_eol_prefix |
|
1 |
12 |
94 |
2 |
| lde_send_notification_eol_pwid |
|
1 |
12 |
94 |
2 |
| lde_nbr_compare |
|
1 |
4 |
25 |
2 |
| lde_nbr_new |
|
3 |
20 |
151 |
2 |
| lde_nbr_del |
|
8 |
41 |
237 |
1 |
| lde_nbr_find |
|
1 |
6 |
31 |
1 |
| lde_nbr_find_by_lsrid |
|
2 |
8 |
44 |
1 |
| lde_nbr_find_by_addr |
|
2 |
8 |
49 |
2 |
| lde_nbr_clear |
|
2 |
6 |
30 |
1 |
| lde_nbr_addr_update |
|
7 |
36 |
191 |
3 |
| lde_map_add |
|
5 |
21 |
154 |
3 |
| lde_map_del |
|
2 |
8 |
53 |
3 |
| lde_map_free |
|
1 |
6 |
27 |
1 |
| lde_req_add |
|
5 |
17 |
117 |
3 |
| lde_req_del |
|
2 |
8 |
53 |
3 |
| lde_wdraw_add |
|
3 |
12 |
84 |
2 |
| lde_wdraw_del |
|
1 |
5 |
32 |
2 |
| lde_change_egress_label |
|
9 |
39 |
190 |
2 |
| lde_address_add |
|
3 |
13 |
109 |
2 |
| lde_address_del |
|
2 |
10 |
73 |
2 |
| lde_address_find |
|
3 |
9 |
65 |
3 |
| lde_address_list_free |
|
2 |
8 |
49 |
1 |
| Source file: ./usr.sbin/snmpd/mib.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mib_getsys |
|
17 |
63 |
402 |
3 |
| mib_sysor |
|
10 |
40 |
263 |
3 |
| mib_getsnmp |
|
5 |
57 |
444 |
3 |
| mib_setsnmp |
|
3 |
9 |
70 |
3 |
| mib_engine |
|
5 |
21 |
113 |
3 |
| mib_usmstats |
|
3 |
25 |
192 |
3 |
| mib_hrsystemuptime |
|
2 |
14 |
118 |
3 |
| mib_hrsystemdate |
|
2 |
27 |
215 |
3 |
| mib_hrsystemprocs |
|
6 |
30 |
207 |
3 |
| mib_hrmemory |
|
2 |
11 |
96 |
3 |
| mib_hrstorage |
|
20 |
105 |
670 |
3 |
| mib_hrdevice |
|
9 |
47 |
292 |
3 |
| mib_hrprocessor |
|
7 |
29 |
197 |
3 |
| mib_hrswrun |
|
18 |
58 |
310 |
3 |
| kinfo_proc_comp |
|
2 |
6 |
56 |
2 |
| kinfo_proc |
|
10 |
46 |
307 |
2 |
| kinfo_args |
|
9 |
37 |
240 |
2 |
| mib_ifnumber |
|
1 |
5 |
37 |
3 |
| mib_ifget |
|
6 |
19 |
113 |
1 |
| mib_iftable |
|
32 |
134 |
893 |
3 |
| mib_ifxtable |
|
24 |
92 |
589 |
3 |
| mib_ifstacklast |
|
1 |
7 |
52 |
3 |
| mib_ifrcvtable |
|
6 |
31 |
238 |
3 |
| mib_pfinfo |
|
7 |
31 |
198 |
3 |
| mib_pfcounters |
|
4 |
39 |
348 |
3 |
| mib_pfscounters |
|
5 |
33 |
227 |
3 |
| mib_pflogif |
|
5 |
41 |
384 |
3 |
| mib_pfsrctrack |
|
5 |
33 |
226 |
3 |
| mib_pflimits |
|
5 |
34 |
224 |
3 |
| mib_pftimeouts |
|
5 |
47 |
298 |
3 |
| mib_pfifnum |
|
2 |
8 |
57 |
3 |
| mib_pfiftable |
|
24 |
98 |
744 |
3 |
| mib_pftablenum |
|
2 |
8 |
57 |
3 |
| mib_pftables |
|
26 |
108 |
761 |
3 |
| mib_pftableaddrs |
|
18 |
80 |
600 |
3 |
| mib_pftableaddrstable |
|
6 |
40 |
342 |
3 |
| mib_pflabelnum |
|
5 |
24 |
158 |
3 |
| mib_pflabels |
|
17 |
74 |
487 |
3 |
| mib_pfsyncstats |
|
4 |
43 |
333 |
3 |
| mib_sensornum |
|
5 |
21 |
141 |
3 |
| mib_sensors |
|
21 |
79 |
503 |
3 |
| mib_sensorunit |
|
2 |
7 |
34 |
1 |
| mib_sensorvalue |
|
25 |
50 |
281 |
1 |
| mib_carpsysctl |
|
2 |
12 |
102 |
3 |
| mib_carpstats |
|
4 |
41 |
317 |
3 |
| mib_carpifnum |
|
3 |
11 |
78 |
3 |
| mib_carpifget |
|
11 |
42 |
317 |
1 |
| mib_carpiftable |
|
9 |
38 |
260 |
3 |
| mib_memiftable |
|
4 |
23 |
147 |
3 |
| mib_ipforwarding |
|
3 |
10 |
100 |
3 |
| mib_ipdefaultttl |
|
2 |
10 |
92 |
3 |
| mib_getipstat |
|
1 |
6 |
55 |
1 |
| mib_ipstat |
|
4 |
32 |
238 |
3 |
| mib_ipinhdrerrs |
|
2 |
15 |
107 |
3 |
| mib_ipinaddrerrs |
|
2 |
11 |
79 |
3 |
| mib_ipforwdgrams |
|
2 |
11 |
79 |
3 |
| mib_ipindiscards |
|
1 |
4 |
24 |
3 |
| mib_ipreasmfails |
|
2 |
11 |
79 |
3 |
| mib_ipfragfails |
|
2 |
11 |
79 |
3 |
| mib_iproutingdiscards |
|
1 |
5 |
24 |
3 |
| mib_ipaddrtable |
|
6 |
38 |
334 |
3 |
| mib_ipaddr |
|
10 |
42 |
306 |
3 |
| mib_physaddrtable |
|
13 |
59 |
494 |
3 |
| mib_physaddr |
|
10 |
51 |
354 |
3 |
| mib_ipfnroutes |
|
1 |
6 |
47 |
3 |
| mib_ipfroutetable |
|
8 |
74 |
543 |
3 |
| mib_ipfroute |
|
24 |
96 |
514 |
3 |
| mib_diskio |
|
13 |
64 |
476 |
3 |
| mib_dot1dtable |
|
7 |
26 |
160 |
3 |
| mib_init |
|
1 |
13 |
56 |
1 |
| Source file: ./usr.sbin/ldpd/interface.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| if_new |
|
5 |
29 |
227 |
1 |
| if_exit |
|
4 |
13 |
89 |
1 |
| if_lookup |
|
2 |
8 |
47 |
2 |
| iface_af_get |
|
3 |
11 |
47 |
2 |
| if_addr_new |
|
2 |
11 |
75 |
1 |
| if_addr_lookup |
|
4 |
11 |
86 |
2 |
| if_addr_add |
|
11 |
29 |
208 |
1 |
| if_addr_del |
|
11 |
32 |
210 |
1 |
| if_start |
|
5 |
26 |
152 |
2 |
| if_reset |
|
6 |
24 |
145 |
2 |
| if_update_af |
|
19 |
41 |
237 |
2 |
| if_update |
|
6 |
10 |
72 |
2 |
| if_update_all |
|
1 |
6 |
30 |
1 |
| if_hello_timer |
|
1 |
6 |
35 |
3 |
| if_start_hello_timer |
|
2 |
8 |
48 |
1 |
| if_stop_hello_timer |
|
3 |
6 |
37 |
1 |
| if_to_ctl |
|
3 |
26 |
196 |
1 |
| if_get_ipv4_addr |
|
2 |
8 |
49 |
1 |
| if_join_ipv4_group |
|
2 |
15 |
112 |
2 |
| if_leave_ipv4_group |
|
2 |
15 |
113 |
2 |
| if_join_ipv6_group |
|
2 |
15 |
103 |
2 |
| if_leave_ipv6_group |
|
2 |
15 |
107 |
2 |
| Source file: ./usr.sbin/ldpd/ldp.h |
| Source file: ./usr.sbin/ldpd/control.h |
| Source file: ./usr.sbin/ldpd/address.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| send_address |
|
11 |
57 |
326 |
5 |
| send_address_single |
|
1 |
7 |
51 |
3 |
| send_address_all |
|
2 |
14 |
81 |
2 |
| send_mac_withdrawal |
|
4 |
26 |
170 |
3 |
| recv_address |
|
19 |
118 |
744 |
3 |
| gen_address_list_tlv |
|
5 |
32 |
199 |
4 |
| gen_mac_list_tlv |
|
3 |
13 |
90 |
2 |
| address_list_add |
|
2 |
9 |
56 |
2 |
| address_list_clr |
|
2 |
8 |
41 |
1 |
| log_msg_address |
|
2 |
6 |
55 |
5 |
| log_msg_mac_withdrawal |
|
3 |
6 |
52 |
3 |
| Source file: ./usr.sbin/ldpd/packet.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| gen_ldp_hdr |
|
1 |
10 |
78 |
2 |
| gen_msg_hdr |
|
1 |
10 |
84 |
3 |
| send_packet |
|
10 |
34 |
213 |
6 |
| disc_recv_packet |
|
24 |
110 |
737 |
3 |
| disc_find_iface |
|
11 |
44 |
231 |
4 |
| session_accept |
|
12 |
44 |
255 |
3 |
| session_accept_nbr |
|
8 |
28 |
161 |
2 |
| session_read |
|
37 |
146 |
804 |
3 |
| session_write |
|
7 |
15 |
102 |
3 |
| session_shutdown |
|
7 |
20 |
101 |
4 |
| session_close |
|
1 |
9 |
45 |
1 |
| session_get_pdu |
|
5 |
22 |
160 |
2 |
| tcp_new |
|
4 |
17 |
136 |
2 |
| tcp_close |
|
2 |
13 |
74 |
1 |
| pending_conn_new |
|
3 |
17 |
129 |
3 |
| pending_conn_del |
|
3 |
8 |
54 |
1 |
| pending_conn_find |
|
3 |
9 |
60 |
2 |
| pending_conn_timeout |
|
1 |
11 |
82 |
3 |
| Source file: ./usr.sbin/ldpd/ldpd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main_sig_handler |
|
5 |
16 |
62 |
3 |
| usage |
|
1 |
7 |
26 |
1 |
| main |
|
32 |
132 |
851 |
2 |
| ldpd_shutdown |
|
9 |
26 |
166 |
1 |
| start_child |
|
10 |
40 |
207 |
6 |
| main_dispatch_ldpe |
|
24 |
72 |
387 |
3 |
| main_dispatch_lde |
|
25 |
69 |
392 |
3 |
| main_imsg_compose_ldpe |
|
2 |
6 |
43 |
4 |
| main_imsg_compose_lde |
|
1 |
4 |
35 |
4 |
| main_imsg_compose_both |
|
3 |
8 |
78 |
3 |
| imsg_event_add |
|
2 |
9 |
73 |
1 |
| imsg_compose_event |
|
2 |
9 |
70 |
7 |
| evbuf_enqueue |
|
1 |
5 |
29 |
2 |
| evbuf_event_add |
|
2 |
5 |
27 |
1 |
| evbuf_init |
|
1 |
7 |
66 |
4 |
| evbuf_clear |
|
1 |
6 |
34 |
1 |
| main_imsg_send_ipc_sockets |
|
4 |
14 |
113 |
2 |
| main_imsg_send_net_sockets |
|
1 |
7 |
46 |
1 |
| main_imsg_send_net_socket |
|
2 |
12 |
73 |
2 |
| ldp_af_conf_get |
|
3 |
11 |
47 |
2 |
| ldp_af_global_get |
|
3 |
11 |
47 |
2 |
| ldp_is_dual_stack |
|
2 |
5 |
32 |
1 |
| main_imsg_send_config |
|
9 |
45 |
310 |
1 |
| ldp_reload |
|
3 |
10 |
58 |
1 |
| merge_config |
|
1 |
11 |
84 |
2 |
| merge_global |
|
9 |
27 |
162 |
2 |
| merge_af |
|
16 |
48 |
279 |
3 |
| merge_ifaces |
|
5 |
25 |
188 |
2 |
| merge_iface_af |
|
3 |
10 |
67 |
2 |
| merge_tnbrs |
|
7 |
32 |
227 |
2 |
| merge_nbrps |
|
21 |
68 |
488 |
2 |
| merge_l2vpns |
|
9 |
40 |
209 |
2 |
| merge_l2vpn |
|
35 |
118 |
764 |
3 |
| config_new_empty |
|
2 |
12 |
72 |
1 |
| config_clear |
|
1 |
12 |
72 |
1 |
| Source file: ./usr.sbin/ldpd/pfkey.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pfkey_send |
|
26 |
169 |
1243 |
16 |
| pfkey_read |
|
10 |
23 |
147 |
2 |
| pfkey_reply |
|
11 |
53 |
323 |
2 |
| pfkey_sa_add |
|
5 |
15 |
158 |
6 |
| pfkey_sa_remove |
|
3 |
11 |
94 |
4 |
| pfkey_md5sig_establish |
|
5 |
16 |
144 |
2 |
| pfkey_md5sig_remove |
|
5 |
17 |
152 |
1 |
| pfkey_establish |
|
3 |
15 |
97 |
2 |
| pfkey_remove |
|
4 |
12 |
61 |
1 |
| pfkey_init |
|
3 |
13 |
66 |
1 |
| Source file: ./usr.sbin/ldpd/adjacency.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| adj_new |
|
4 |
24 |
161 |
3 |
| adj_del_single |
|
4 |
18 |
106 |
1 |
| adj_del |
|
3 |
12 |
82 |
2 |
| adj_find |
|
6 |
21 |
117 |
1 |
| adj_get_af |
|
3 |
11 |
56 |
1 |
| adj_itimer |
|
4 |
14 |
102 |
3 |
| adj_start_itimer |
|
2 |
8 |
48 |
1 |
| adj_stop_itimer |
|
3 |
6 |
37 |
1 |
| tnbr_new |
|
2 |
12 |
100 |
3 |
| tnbr_del |
|
2 |
8 |
41 |
1 |
| tnbr_find |
|
3 |
9 |
65 |
3 |
| tnbr_check |
|
3 |
9 |
47 |
1 |
| tnbr_update |
|
9 |
25 |
143 |
1 |
| tnbr_update_all |
|
3 |
7 |
40 |
1 |
| tnbr_hello_timer |
|
1 |
6 |
35 |
3 |
| tnbr_start_hello_timer |
|
2 |
8 |
48 |
1 |
| tnbr_stop_hello_timer |
|
3 |
6 |
37 |
1 |
| adj_to_ctl |
|
3 |
19 |
121 |
1 |
| Source file: ./usr.sbin/ldpd/util.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mask2prefixlen |
|
2 |
7 |
32 |
1 |
| mask2prefixlen6 |
|
11 |
39 |
175 |
1 |
| prefixlen2mask |
|
2 |
6 |
33 |
1 |
| prefixlen2mask6 |
|
3 |
12 |
82 |
1 |
| ldp_applymask |
|
6 |
24 |
167 |
4 |
| ldp_addrcmp |
|
5 |
13 |
107 |
3 |
| ldp_addrisset |
|
6 |
18 |
80 |
2 |
| ldp_prefixcmp |
|
11 |
38 |
292 |
4 |
| bad_addr_v4 |
|
5 |
9 |
62 |
1 |
| bad_addr_v6 |
|
7 |
11 |
51 |
1 |
| bad_addr |
|
3 |
11 |
52 |
2 |
| embedscope |
|
3 |
14 |
106 |
1 |
| recoverscope |
|
3 |
13 |
100 |
1 |
| addscope |
|
3 |
8 |
52 |
2 |
| clearscope |
|
2 |
7 |
36 |
1 |
| addr2sa |
|
3 |
24 |
159 |
3 |
| sa2addr |
|
3 |
18 |
106 |
3 |
| Source file: ./usr.sbin/ldpd/ldpe.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ldpe_sig_handler |
|
3 |
10 |
37 |
3 |
| ldpe |
|
14 |
67 |
536 |
3 |
| ldpe_shutdown |
|
4 |
30 |
197 |
1 |
| ldpe_imsg_compose_parent |
|
1 |
4 |
38 |
4 |
| ldpe_imsg_compose_lde |
|
1 |
6 |
41 |
5 |
| ldpe_dispatch_main |
|
63 |
240 |
1510 |
3 |
| ldpe_dispatch_lde |
|
42 |
122 |
632 |
3 |
| ldpe_dispatch_pfkey |
|
3 |
8 |
41 |
3 |
| ldpe_setup_sockets |
|
1 |
16 |
120 |
4 |
| ldpe_close_sockets |
|
6 |
22 |
140 |
1 |
| ldpe_reset_nbrs |
|
2 |
8 |
42 |
1 |
| ldpe_reset_ds_nbrs |
|
2 |
8 |
39 |
1 |
| ldpe_remove_dynamic_tnbrs |
|
2 |
10 |
51 |
1 |
| ldpe_stop_init_backoff |
|
3 |
10 |
48 |
1 |
| ldpe_iface_af_ctl |
|
4 |
16 |
108 |
3 |
| ldpe_iface_ctl |
|
1 |
5 |
31 |
2 |
| ldpe_adj_ctl |
|
2 |
21 |
156 |
1 |
| ldpe_nbr_ctl |
|
1 |
11 |
83 |
1 |
| mapping_list_add |
|
2 |
9 |
59 |
2 |
| mapping_list_clr |
|
2 |
8 |
43 |
1 |
| Source file: ./usr.sbin/ldpd/accept.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| accept_init |
|
1 |
5 |
26 |
1 |
| accept_add |
|
2 |
14 |
127 |
3 |
| accept_del |
|
2 |
12 |
64 |
1 |
| accept_pause |
|
1 |
7 |
36 |
1 |
| accept_unpause |
|
2 |
8 |
37 |
1 |
| accept_arm |
|
1 |
6 |
32 |
1 |
| accept_unarm |
|
1 |
6 |
30 |
1 |
| accept_cb |
|
1 |
6 |
44 |
3 |
| accept_timeout |
|
1 |
5 |
23 |
3 |
| Source file: ./usr.sbin/ldpd/l2vpn.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| l2vpn_new |
|
2 |
12 |
87 |
1 |
| l2vpn_find |
|
2 |
8 |
53 |
2 |
| l2vpn_del |
|
3 |
14 |
84 |
1 |
| l2vpn_init |
|
1 |
6 |
30 |
1 |
| l2vpn_exit |
|
1 |
6 |
30 |
1 |
| l2vpn_if_new |
|
2 |
12 |
96 |
2 |
| l2vpn_if_find |
|
2 |
8 |
47 |
2 |
| l2vpn_if_update |
|
4 |
21 |
154 |
1 |
| l2vpn_pw_new |
|
2 |
10 |
80 |
2 |
| l2vpn_pw_find |
|
2 |
8 |
47 |
2 |
| l2vpn_pw_init |
|
1 |
8 |
54 |
1 |
| l2vpn_pw_exit |
|
1 |
6 |
41 |
1 |
| l2vpn_pw_fec |
|
1 |
8 |
71 |
2 |
| l2vpn_pw_reset |
|
3 |
14 |
69 |
1 |
| l2vpn_pw_ok |
|
10 |
34 |
234 |
2 |
| l2vpn_pw_negotiate |
|
11 |
32 |
240 |
3 |
| l2vpn_send_pw_status |
|
1 |
12 |
87 |
3 |
| l2vpn_send_pw_status_wcard |
|
1 |
15 |
110 |
4 |
| l2vpn_recv_pw_status |
|
8 |
29 |
196 |
2 |
| l2vpn_recv_pw_status_wcard |
|
12 |
39 |
260 |
2 |
| l2vpn_sync_pws |
|
6 |
26 |
169 |
2 |
| l2vpn_pw_ctl |
|
1 |
17 |
120 |
1 |
| l2vpn_binding_ctl |
|
9 |
42 |
311 |
1 |
| ldpe_l2vpn_init |
|
1 |
6 |
30 |
1 |
| ldpe_l2vpn_exit |
|
1 |
6 |
30 |
1 |
| ldpe_l2vpn_pw_init |
|
2 |
11 |
76 |
1 |
| ldpe_l2vpn_pw_exit |
|
2 |
9 |
46 |
1 |
| Source file: ./usr.sbin/ldpd/init.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| send_init |
|
3 |
23 |
151 |
1 |
| recv_init |
|
23 |
126 |
812 |
3 |
| send_capability |
|
6 |
30 |
168 |
3 |
| recv_capability |
|
16 |
86 |
505 |
3 |
| gen_init_prms_tlv |
|
1 |
15 |
123 |
2 |
| gen_cap_dynamic_tlv |
|
1 |
9 |
63 |
1 |
| gen_cap_twcard_tlv |
|
2 |
10 |
70 |
2 |
| gen_cap_unotif_tlv |
|
2 |
10 |
70 |
2 |
| Source file: ./usr.sbin/ldpd/printconf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| print_mainconf |
|
5 |
17 |
95 |
1 |
| print_af |
|
7 |
30 |
193 |
3 |
| print_iface |
|
1 |
7 |
46 |
2 |
| print_tnbr |
|
1 |
7 |
49 |
1 |
| print_nbrp |
|
6 |
17 |
102 |
1 |
| print_l2vpn |
|
3 |
18 |
114 |
1 |
| print_pw |
|
3 |
16 |
99 |
1 |
| print_config |
|
3 |
14 |
100 |
1 |
| Source file: ./usr.sbin/ldpd/notification.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| send_notification_full |
|
10 |
35 |
269 |
2 |
| send_notification |
|
1 |
10 |
61 |
4 |
| send_notification_rtlvs |
|
2 |
16 |
111 |
7 |
| recv_notification |
|
26 |
123 |
746 |
3 |
| gen_status_tlv |
|
1 |
12 |
87 |
4 |
| gen_returned_tlvs |
|
1 |
15 |
114 |
4 |
| log_msg_notification |
|
6 |
18 |
133 |
3 |
| Source file: ./usr.sbin/ldpd/neighbor.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| nbr_id_compare |
|
1 |
4 |
35 |
2 |
| nbr_addr_compare |
|
3 |
8 |
65 |
2 |
| nbr_pid_compare |
|
1 |
4 |
25 |
2 |
| nbr_fsm |
|
20 |
77 |
426 |
2 |
| nbr_new |
|
12 |
54 |
427 |
5 |
| nbr_del |
|
3 |
22 |
151 |
1 |
| nbr_update_peerid |
|
4 |
11 |
65 |
1 |
| nbr_find_ldpid |
|
1 |
6 |
33 |
1 |
| nbr_find_addr |
|
1 |
7 |
43 |
2 |
| nbr_find_peerid |
|
1 |
6 |
31 |
1 |
| nbr_adj_count |
|
2 |
9 |
50 |
2 |
| nbr_session_active_role |
|
2 |
6 |
40 |
1 |
| nbr_ktimer |
|
1 |
6 |
31 |
3 |
| nbr_start_ktimer |
|
2 |
8 |
55 |
1 |
| nbr_stop_ktimer |
|
3 |
6 |
37 |
1 |
| nbr_ktimeout |
|
1 |
6 |
46 |
3 |
| nbr_start_ktimeout |
|
2 |
8 |
48 |
1 |
| nbr_stop_ktimeout |
|
3 |
6 |
37 |
1 |
| nbr_itimeout |
|
1 |
6 |
42 |
3 |
| nbr_start_itimeout |
|
2 |
8 |
46 |
1 |
| nbr_stop_itimeout |
|
3 |
6 |
37 |
1 |
| nbr_idtimer |
|
1 |
6 |
40 |
3 |
| nbr_start_idtimer |
|
5 |
20 |
92 |
1 |
| nbr_stop_idtimer |
|
3 |
6 |
37 |
1 |
| nbr_pending_idtimer |
|
2 |
6 |
31 |
1 |
| nbr_pending_connect |
|
3 |
7 |
41 |
1 |
| nbr_connect_cb |
|
3 |
19 |
116 |
3 |
| nbr_establish_connection |
|
13 |
62 |
480 |
1 |
| nbr_gtsm_enabled |
|
6 |
10 |
82 |
2 |
| nbr_gtsm_setup |
|
9 |
25 |
148 |
3 |
| nbr_gtsm_check |
|
5 |
23 |
119 |
3 |
| nbr_act_session_operational |
|
1 |
13 |
91 |
1 |
| nbr_send_labelmappings |
|
1 |
5 |
24 |
1 |
| nbr_params_new |
|
2 |
9 |
56 |
1 |
| nbr_params_find |
|
2 |
8 |
51 |
2 |
| nbr_get_keepalive |
|
3 |
8 |
58 |
2 |
| nbr_to_ctl |
|
2 |
16 |
101 |
1 |
| nbr_clear_ctl |
|
3 |
12 |
88 |
1 |
| Source file: ./usr.sbin/ldpd/log.h |
| Source file: ./usr.sbin/ldpd/lde.h |
| Source file: ./usr.sbin/ldpd/labelmapping.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| enqueue_pdu |
|
1 |
7 |
58 |
3 |
| send_labelmessage |
|
14 |
55 |
397 |
3 |
| recv_labelmessage |
|
61 |
259 |
1334 |
4 |
| gen_label_tlv |
|
1 |
8 |
59 |
2 |
| tlv_decode_label |
|
12 |
39 |
267 |
5 |
| gen_reqid_tlv |
|
1 |
8 |
59 |
2 |
| gen_pw_status_tlv |
|
1 |
8 |
59 |
2 |
| len_fec_tlv |
|
10 |
36 |
151 |
1 |
| gen_fec_tlv |
|
19 |
113 |
854 |
2 |
| tlv_decode_fec_elm |
|
28 |
185 |
1373 |
5 |
| log_msg_mapping |
|
2 |
6 |
57 |
4 |
| Source file: ./usr.sbin/eigrpctl/parser.h |
| Source file: ./usr.sbin/ldpd/lde_lib.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fec_init |
|
1 |
4 |
14 |
1 |
| fec_compare |
|
20 |
50 |
478 |
2 |
| fec_find |
|
1 |
4 |
26 |
2 |
| fec_insert |
|
2 |
6 |
38 |
2 |
| fec_remove |
|
2 |
8 |
52 |
2 |
| fec_clear |
|
2 |
8 |
51 |
2 |
| lde_nbr_is_nexthop |
|
2 |
8 |
56 |
2 |
| rt_dump |
|
6 |
42 |
281 |
1 |
| fec_snap |
|
3 |
17 |
104 |
1 |
| fec_free |
|
4 |
14 |
96 |
1 |
| fec_tree_clear |
|
1 |
4 |
14 |
1 |
| fec_add |
|
3 |
16 |
106 |
1 |
| fec_nh_find |
|
4 |
11 |
74 |
4 |
| fec_nh_add |
|
2 |
14 |
91 |
4 |
| fec_nh_del |
|
1 |
5 |
21 |
1 |
| egress_label |
|
5 |
16 |
66 |
1 |
| lde_kernel_insert |
|
11 |
44 |
300 |
6 |
| lde_kernel_remove |
|
5 |
24 |
165 |
4 |
| lde_check_mapping |
|
19 |
64 |
446 |
2 |
| lde_check_request |
|
9 |
38 |
250 |
2 |
| lde_check_request_wcard |
|
8 |
34 |
213 |
2 |
| lde_check_release |
|
12 |
24 |
211 |
2 |
| lde_check_release_wcard |
|
8 |
20 |
172 |
2 |
| lde_check_withdraw |
|
16 |
42 |
293 |
2 |
| lde_check_withdraw_wcard |
|
12 |
38 |
244 |
2 |
| lde_wildcard_apply |
|
17 |
39 |
257 |
3 |
| lde_gc_timer |
|
5 |
19 |
123 |
3 |
| lde_gc_start_timer |
|
2 |
8 |
41 |
1 |
| lde_gc_stop_timer |
|
3 |
6 |
30 |
1 |
| Source file: ./usr.sbin/sasyncd/log.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| log_init |
|
1 |
5 |
23 |
1 |
| log_output |
|
2 |
7 |
33 |
1 |
| log_err |
|
2 |
17 |
112 |
2 |
| log_msg |
|
2 |
11 |
61 |
3 |
| Source file: ./usr.sbin/sasyncd/timer.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| timer_init |
|
1 |
4 |
11 |
1 |
| timer_next_event |
|
3 |
15 |
87 |
1 |
| timer_run |
|
5 |
16 |
115 |
1 |
| timer_add |
|
5 |
27 |
212 |
4 |
| Source file: ./usr.sbin/sasyncd/net.h |
| Source file: ./usr.sbin/sasyncd/monitor.h |
| Source file: ./usr.sbin/sasyncd/carp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| carp_map_state |
|
7 |
19 |
58 |
1 |
| carp_get_state |
|
5 |
24 |
143 |
1 |
| carp_demote |
|
9 |
39 |
232 |
2 |
| carp_state_name |
|
2 |
7 |
37 |
1 |
| carp_update_state |
|
4 |
17 |
78 |
1 |
| carp_check_state |
|
1 |
4 |
15 |
0 |
| carp_set_rfd |
|
2 |
5 |
26 |
1 |
| carp_read |
|
5 |
15 |
110 |
1 |
| carp_read_message |
|
3 |
6 |
35 |
1 |
| carp_init |
|
8 |
39 |
241 |
1 |
| control_setrun |
|
4 |
10 |
47 |
1 |
| Source file: ./usr.sbin/eigrpctl/eigrpctl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usage |
|
1 |
7 |
25 |
1 |
| main |
|
55 |
184 |
1189 |
2 |
| get_ifms_type |
|
5 |
15 |
52 |
1 |
| show_interface_msg |
|
10 |
34 |
231 |
2 |
| show_interface_detail_msg |
|
10 |
44 |
278 |
2 |
| print_link |
|
2 |
7 |
24 |
1 |
| fmt_timeframe_core |
|
5 |
29 |
179 |
1 |
| show_nbr_msg |
|
9 |
28 |
194 |
2 |
| connected_check |
|
5 |
16 |
67 |
2 |
| show_topology_msg |
|
19 |
57 |
417 |
2 |
| show_topology_detail_msg |
|
22 |
90 |
641 |
2 |
| show_fib_head |
|
1 |
6 |
24 |
1 |
| show_fib_msg |
|
17 |
56 |
363 |
2 |
| show_interface_head |
|
1 |
5 |
17 |
1 |
| get_media_descr |
|
3 |
8 |
48 |
1 |
| get_linkstate |
|
3 |
11 |
77 |
2 |
| print_baudrate |
|
4 |
11 |
80 |
1 |
| show_fib_interface_msg |
|
8 |
29 |
179 |
1 |
| show_stats_msg |
|
8 |
37 |
256 |
2 |
| Source file: ./usr.sbin/sasyncd/sasyncd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sasyncd_stop |
|
1 |
4 |
10 |
1 |
| sasyncd_run |
|
11 |
63 |
363 |
1 |
| usage |
|
1 |
6 |
25 |
1 |
| main |
|
21 |
82 |
383 |
2 |
| Source file: ./usr.sbin/eigrpctl/parser.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| parse |
|
6 |
24 |
152 |
2 |
| match_token |
|
37 |
97 |
576 |
3 |
| show_valid_args |
|
11 |
32 |
143 |
1 |
| parse_asnum |
|
3 |
12 |
71 |
2 |
| parse_addr |
|
4 |
27 |
202 |
3 |
| parse_prefix |
|
13 |
47 |
306 |
4 |
| Source file: ./usr.sbin/sasyncd/monitor.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| monitor_init |
|
10 |
46 |
314 |
1 |
| got_sigchld |
|
1 |
4 |
11 |
1 |
| sig_to_child |
|
2 |
5 |
25 |
1 |
| monitor_drain_input |
|
2 |
9 |
54 |
1 |
| monitor_loop |
|
23 |
71 |
364 |
1 |
| monitor_carpundemote |
|
3 |
10 |
49 |
1 |
| monitor_carpdemote |
|
3 |
10 |
48 |
1 |
| monitor_get_pfkey_snap |
|
10 |
48 |
297 |
4 |
| monitor_control_active |
|
3 |
8 |
40 |
1 |
| m_priv_pfkey_snap |
|
17 |
74 |
446 |
1 |
| m_priv_isakmpd_fifocmd |
|
6 |
26 |
149 |
1 |
| m_priv_iked_imsg |
|
6 |
33 |
214 |
1 |
| m_priv_control_activate |
|
5 |
10 |
59 |
1 |
| m_priv_control_passivate |
|
5 |
10 |
59 |
1 |
| m_write |
|
6 |
18 |
86 |
3 |
| m_read |
|
6 |
18 |
86 |
3 |
| Source file: ./usr.sbin/sasyncd/net_ctl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| net_ctl_check_state |
|
6 |
21 |
120 |
2 |
| net_ctl_handle_msg |
|
17 |
64 |
351 |
3 |
| net_ctl_send |
|
2 |
13 |
106 |
4 |
| net_ctl_send_ack |
|
1 |
4 |
31 |
3 |
| net_ctl_send_state |
|
1 |
4 |
26 |
1 |
| net_ctl_send_error |
|
1 |
4 |
28 |
2 |
| net_ctl_send_endsnap |
|
1 |
4 |
21 |
1 |
| net_ctl_update_state |
|
3 |
12 |
74 |
1 |
| Source file: ./usr.sbin/sasyncd/net.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dump_buf |
|
7 |
22 |
193 |
4 |
| net_add_listener |
|
8 |
37 |
230 |
1 |
| net_setup_listeners |
|
30 |
100 |
663 |
1 |
| net_init |
|
5 |
19 |
118 |
1 |
| net_enqueue |
|
3 |
15 |
79 |
2 |
| net_queue |
|
10 |
80 |
596 |
4 |
| net_set_pending_wfds |
|
5 |
12 |
89 |
1 |
| net_set_rfds |
|
6 |
17 |
128 |
1 |
| net_accept |
|
14 |
50 |
347 |
1 |
| net_handle_messages |
|
13 |
43 |
268 |
1 |
| net_send_messages |
|
8 |
34 |
222 |
1 |
| net_disconnect_peer |
|
2 |
9 |
45 |
1 |
| net_shutdown |
|
6 |
30 |
176 |
1 |
| net_read |
|
15 |
75 |
520 |
3 |
| net_set_sa |
|
4 |
24 |
165 |
3 |
| got_sigalrm |
|
1 |
4 |
9 |
1 |
| net_connect |
|
10 |
46 |
320 |
1 |
| net_check_peers |
|
1 |
5 |
26 |
1 |
| Source file: ./usr.sbin/sasyncd/sasyncd.h |
| Source file: ./usr.sbin/identd/identd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usage |
|
1 |
7 |
25 |
1 |
| main |
|
34 |
124 |
718 |
2 |
| parent_rd |
|
13 |
47 |
251 |
3 |
| parent_username |
|
1 |
4 |
31 |
2 |
| parent_uid |
|
1 |
4 |
34 |
2 |
| parent_token |
|
3 |
15 |
86 |
2 |
| parent_noident |
|
4 |
14 |
92 |
2 |
| parent_wr |
|
8 |
34 |
236 |
3 |
| child_rd |
|
14 |
68 |
398 |
3 |
| child_wr |
|
9 |
33 |
202 |
3 |
| identd_listen |
|
9 |
44 |
343 |
3 |
| identd_paused |
|
1 |
5 |
31 |
3 |
| identd_accept |
|
9 |
42 |
302 |
3 |
| identd_timeout |
|
2 |
11 |
61 |
3 |
| identd_request |
|
16 |
53 |
335 |
3 |
| identd_error |
|
2 |
15 |
116 |
2 |
| identd_close |
|
1 |
9 |
53 |
1 |
| identd_resolving |
|
6 |
32 |
146 |
3 |
| identd_parse |
|
34 |
60 |
377 |
2 |
| identd_response |
|
13 |
50 |
228 |
3 |
| syslog_vstrerror |
|
2 |
10 |
70 |
4 |
| syslog_err |
|
1 |
8 |
45 |
3 |
| syslog_errx |
|
1 |
8 |
43 |
3 |
| syslog_warn |
|
1 |
7 |
37 |
2 |
| syslog_warnx |
|
1 |
7 |
35 |
2 |
| syslog_notice |
|
1 |
7 |
35 |
2 |
| syslog_debug |
|
2 |
9 |
42 |
2 |
| gethost |
|
2 |
9 |
64 |
1 |
| gentoken |
|
3 |
13 |
89 |
1 |
| fetchuid |
|
5 |
36 |
321 |
1 |
| Source file: ./usr.sbin/sasyncd/pfkey.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pfkey_write |
|
6 |
16 |
102 |
2 |
| pfkey_set_promisc |
|
1 |
13 |
83 |
1 |
| pfkey_send_flush |
|
2 |
17 |
117 |
1 |
| pfkey_print_type |
|
2 |
10 |
59 |
1 |
| pfkey_find_ext |
|
4 |
16 |
94 |
2 |
| pfkey_msg_filter |
|
39 |
78 |
527 |
1 |
| pfkey_handle_message |
|
10 |
33 |
195 |
1 |
| pfkey_read |
|
4 |
24 |
141 |
1 |
| pfkey_init |
|
5 |
16 |
83 |
1 |
| pfkey_set_rfd |
|
2 |
5 |
26 |
1 |
| pfkey_set_pending_wfd |
|
3 |
5 |
32 |
1 |
| pfkey_read_message |
|
3 |
6 |
35 |
1 |
| pfkey_send_message |
|
5 |
14 |
90 |
1 |
| pfkey_queue_message |
|
2 |
21 |
132 |
2 |
| pfkey_shutdown |
|
3 |
11 |
67 |
1 |
| pfkey_snapshot |
|
16 |
62 |
407 |
1 |
| Source file: ./usr.sbin/ospfd/iso_cksum.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| iso_cksum |
|
6 |
27 |
151 |
3 |
| Source file: ./usr.sbin/ospfd/log.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| log_init |
|
2 |
10 |
48 |
2 |
| log_procinit |
|
2 |
5 |
19 |
1 |
| log_setverbose |
|
1 |
4 |
11 |
1 |
| log_getverbose |
|
1 |
4 |
11 |
1 |
| logit |
|
1 |
7 |
38 |
3 |
| vlog |
|
3 |
17 |
99 |
3 |
| log_warn |
|
3 |
21 |
120 |
2 |
| log_warnx |
|
1 |
7 |
35 |
2 |
| log_info |
|
1 |
7 |
35 |
2 |
| log_debug |
|
2 |
9 |
41 |
2 |
| vfatalc |
|
3 |
17 |
106 |
3 |
| fatal |
|
1 |
8 |
40 |
2 |
| fatalx |
|
1 |
8 |
40 |
2 |
| Source file: ./usr.sbin/ldpd/kroute.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| kif_init |
|
2 |
6 |
26 |
1 |
| kr_init |
|
10 |
47 |
363 |
2 |
| kif_redistribute |
|
4 |
14 |
93 |
1 |
| kr_change |
|
9 |
34 |
275 |
1 |
| kr_delete |
|
10 |
30 |
236 |
1 |
| kr_shutdown |
|
1 |
6 |
18 |
1 |
| kr_fib_couple |
|
7 |
29 |
192 |
1 |
| kr_fib_decouple |
|
7 |
34 |
215 |
1 |
| kr_change_egress_label |
|
6 |
30 |
141 |
2 |
| kr_dispatch_msg |
|
2 |
5 |
28 |
3 |
| kr_show_route |
|
8 |
43 |
288 |
1 |
| kr_ifinfo |
|
3 |
10 |
75 |
2 |
| kr_redist_remove |
|
2 |
7 |
44 |
1 |
| kr_redist_eval |
|
13 |
32 |
198 |
1 |
| kr_redistribute |
|
2 |
14 |
89 |
1 |
| kroute_compare |
|
6 |
16 |
114 |
2 |
| kroute_find_prefix |
|
1 |
8 |
52 |
3 |
| kroute_find_prio |
|
3 |
10 |
63 |
2 |
| kroute_find_gw |
|
2 |
8 |
62 |
2 |
| kroute_insert |
|
9 |
44 |
314 |
1 |
| kroute_uninstall |
|
3 |
8 |
51 |
1 |
| kroute_remove |
|
7 |
37 |
255 |
1 |
| kroute_clear |
|
4 |
20 |
137 |
1 |
| kif_compare |
|
1 |
4 |
29 |
2 |
| kif_find |
|
1 |
7 |
47 |
1 |
| kif_findname |
|
2 |
8 |
49 |
1 |
| kif_insert |
|
3 |
11 |
77 |
1 |
| kif_remove |
|
3 |
15 |
105 |
1 |
| kif_clear |
|
2 |
6 |
32 |
1 |
| kif_update |
|
9 |
28 |
253 |
5 |
| kroute_match |
|
6 |
28 |
141 |
2 |
| prefixlen_classful |
|
5 |
13 |
60 |
1 |
| get_rtaddrs |
|
3 |
12 |
87 |
3 |
| if_change |
|
5 |
26 |
188 |
4 |
| if_newaddr |
|
13 |
53 |
383 |
4 |
| if_deladdr |
|
15 |
58 |
416 |
4 |
| if_announce |
|
5 |
19 |
93 |
1 |
| send_rtmsg |
|
3 |
11 |
67 |
4 |
| send_rtmsg_v4 |
|
16 |
105 |
800 |
4 |
| send_rtmsg_v6 |
|
1 |
4 |
23 |
4 |
| fetchtable |
|
4 |
30 |
191 |
1 |
| fetchifs |
|
4 |
29 |
182 |
1 |
| dispatch_rtmsg |
|
5 |
16 |
98 |
1 |
| rtmsg_process |
|
22 |
72 |
450 |
2 |
| rtmsg_process_route |
|
34 |
109 |
772 |
2 |
| kmpw_set |
|
3 |
14 |
93 |
1 |
| kmpw_unset |
|
3 |
17 |
102 |
1 |
| kmpw_install |
|
5 |
32 |
218 |
2 |
| kmpw_uninstall |
|
2 |
14 |
101 |
1 |
| Source file: ./usr.sbin/ospfd/hello.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| send_hello |
|
15 |
62 |
420 |
1 |
| recv_hello |
|
37 |
108 |
757 |
5 |
| Source file: ./usr.sbin/quot/quot.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| get_inode |
|
20 |
49 |
421 |
3 |
| virtualblocks |
|
3 |
16 |
120 |
2 |
| isfree |
|
9 |
17 |
79 |
2 |
| inituser |
|
4 |
16 |
99 |
1 |
| usrrehash |
|
5 |
19 |
124 |
1 |
| user |
|
8 |
26 |
152 |
1 |
| cmpusers |
|
1 |
5 |
36 |
2 |
| uses |
|
5 |
16 |
111 |
3 |
| initfsizes |
|
3 |
11 |
62 |
1 |
| dofsizes |
|
15 |
50 |
383 |
3 |
| douser |
|
11 |
36 |
285 |
3 |
| donames |
|
18 |
38 |
274 |
3 |
| usage |
|
1 |
5 |
18 |
1 |
| ffs_oldfscompat |
|
4 |
18 |
127 |
1 |
| quot |
|
12 |
41 |
260 |
2 |
| main |
|
28 |
81 |
518 |
2 |
| Source file: ./usr.sbin/ospfd/logmsg.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| nbr_state_name |
|
10 |
25 |
92 |
1 |
| if_state_name |
|
8 |
21 |
76 |
1 |
| if_type_name |
|
6 |
16 |
59 |
1 |
| if_auth_name |
|
4 |
12 |
43 |
1 |
| dst_type_name |
|
3 |
10 |
35 |
1 |
| path_type_name |
|
5 |
14 |
51 |
1 |
| Source file: ./usr.sbin/ospfd/control.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| control_init |
|
6 |
36 |
245 |
1 |
| control_listen |
|
2 |
12 |
78 |
1 |
| control_cleanup |
|
2 |
8 |
37 |
1 |
| control_accept |
|
9 |
34 |
268 |
3 |
| control_connbyfd |
|
2 |
9 |
42 |
1 |
| control_connbypid |
|
2 |
9 |
42 |
1 |
| control_close |
|
3 |
17 |
116 |
1 |
| control_dispatch_imsg |
|
34 |
93 |
578 |
3 |
| control_imsg_relay |
|
2 |
8 |
76 |
1 |
| Source file: ./usr.sbin/slowcgi/slowcgi.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usage |
|
1 |
7 |
25 |
1 |
| main |
|
25 |
84 |
583 |
2 |
| slowcgi_listen |
|
8 |
28 |
234 |
2 |
| slowcgi_paused |
|
1 |
5 |
31 |
3 |
| accept_reserve |
|
3 |
17 |
102 |
5 |
| slowcgi_accept |
|
9 |
61 |
379 |
3 |
| slowcgi_timeout |
|
1 |
4 |
24 |
3 |
| slowcgi_sig_handler |
|
10 |
40 |
214 |
3 |
| slowcgi_add_response |
|
3 |
15 |
103 |
2 |
| slowcgi_response |
|
9 |
33 |
200 |
3 |
| slowcgi_request |
|
8 |
38 |
201 |
3 |
| parse_begin_request |
|
3 |
16 |
87 |
4 |
| parse_params |
|
18 |
81 |
530 |
4 |
| parse_stdin |
|
4 |
18 |
124 |
4 |
| parse_record |
|
8 |
33 |
234 |
3 |
| exec_cgi |
|
18 |
94 |
785 |
1 |
| create_end_record |
|
2 |
29 |
203 |
1 |
| script_in |
|
9 |
48 |
271 |
4 |
| script_std_in |
|
1 |
5 |
35 |
3 |
| script_err_in |
|
1 |
5 |
35 |
3 |
| script_out |
|
7 |
28 |
167 |
3 |
| cleanup_request |
|
14 |
53 |
369 |
1 |
| dump_fcgi_record |
|
3 |
10 |
70 |
2 |
| dump_fcgi_record_header |
|
1 |
9 |
86 |
2 |
| dump_fcgi_begin_request_body |
|
1 |
5 |
39 |
2 |
| dump_fcgi_end_request_body |
|
1 |
5 |
39 |
2 |
| syslog_vstrerror |
|
2 |
10 |
70 |
4 |
| syslog_err |
|
1 |
8 |
45 |
3 |
| syslog_errx |
|
1 |
8 |
43 |
3 |
| syslog_warn |
|
1 |
7 |
37 |
2 |
| syslog_warnx |
|
1 |
7 |
35 |
2 |
| syslog_info |
|
1 |
7 |
35 |
2 |
| syslog_debug |
|
2 |
9 |
42 |
2 |
| Source file: ./usr.sbin/ospfd/auth.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| auth_validate |
|
14 |
80 |
511 |
4 |
| auth_gen |
|
7 |
47 |
359 |
2 |
| md_list_add |
|
3 |
13 |
111 |
3 |
| md_list_copy |
|
2 |
12 |
96 |
2 |
| md_list_clr |
|
2 |
8 |
43 |
1 |
| md_list_find |
|
2 |
8 |
43 |
2 |
| md_list_send |
|
2 |
9 |
65 |
2 |
| Source file: ./usr.sbin/ospfd/name2id.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rtlabel_name2id |
|
1 |
4 |
20 |
1 |
| rtlabel_id2name |
|
1 |
4 |
18 |
1 |
| rtlabel_id2tag |
|
1 |
4 |
18 |
1 |
| rtlabel_tag2id |
|
1 |
4 |
18 |
1 |
| rtlabel_tag |
|
1 |
4 |
20 |
2 |
| rtlabel_unref |
|
1 |
4 |
15 |
1 |
| _name2id |
|
10 |
35 |
238 |
2 |
| _id2name |
|
3 |
10 |
56 |
2 |
| _id2tag |
|
3 |
10 |
56 |
2 |
| _tag2id |
|
3 |
10 |
56 |
2 |
| _tag |
|
3 |
9 |
50 |
3 |
| _unref |
|
5 |
17 |
100 |
2 |
| _ref |
|
3 |
11 |
50 |
2 |
| Source file: ./usr.sbin/ospfd/interface.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| if_fsm |
|
16 |
55 |
353 |
2 |
| if_new |
|
8 |
43 |
312 |
2 |
| if_del |
|
6 |
17 |
138 |
1 |
| if_init |
|
1 |
9 |
80 |
2 |
| if_hello_timer |
|
3 |
13 |
84 |
3 |
| if_start_hello_timer |
|
2 |
7 |
40 |
1 |
| if_stop_hello_timer |
|
2 |
5 |
27 |
1 |
| if_wait_timer |
|
1 |
5 |
28 |
3 |
| if_start_wait_timer |
|
2 |
8 |
48 |
1 |
| if_stop_wait_timer |
|
2 |
5 |
27 |
1 |
| if_act_start |
|
17 |
54 |
297 |
1 |
| if_elect |
|
4 |
10 |
74 |
2 |
| if_act_elect |
|
43 |
89 |
705 |
1 |
| if_act_reset |
|
9 |
43 |
216 |
1 |
| if_to_ctl |
|
8 |
66 |
578 |
1 |
| if_set_recvif |
|
2 |
9 |
49 |
2 |
| if_set_sockbuf |
|
5 |
16 |
96 |
1 |
| if_join_group |
|
12 |
41 |
260 |
2 |
| if_leave_group |
|
11 |
38 |
218 |
2 |
| if_set_mcast |
|
7 |
23 |
117 |
1 |
| if_set_mcast_loop |
|
2 |
10 |
55 |
1 |
| if_set_ip_hdrincl |
|
2 |
9 |
51 |
1 |
| Source file: ./usr.sbin/ospfd/lsack.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| prepare_ls_ack |
|
3 |
14 |
80 |
1 |
| send_ls_ack |
|
2 |
14 |
90 |
3 |
| send_direct_ack |
|
3 |
15 |
97 |
4 |
| recv_ls_ack |
|
14 |
38 |
195 |
3 |
| lsa_hdr_check |
|
9 |
26 |
140 |
2 |
| ls_ack_list_add |
|
5 |
15 |
108 |
2 |
| ls_ack_list_free |
|
1 |
7 |
43 |
2 |
| ls_ack_list_clr |
|
2 |
10 |
62 |
1 |
| ls_ack_list_empty |
|
1 |
4 |
20 |
1 |
| ls_ack_tx_timer |
|
15 |
57 |
314 |
3 |
| start_ls_ack_tx_timer |
|
2 |
8 |
50 |
1 |
| start_ls_ack_tx_timer_now |
|
2 |
7 |
40 |
1 |
| stop_ls_ack_tx_timer |
|
2 |
5 |
27 |
1 |
| Source file: ./usr.sbin/ospfd/rde.h |
| Source file: ./usr.sbin/ospfd/carp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| carp_group_find |
|
2 |
8 |
44 |
1 |
| carp_demote_init |
|
7 |
25 |
162 |
2 |
| carp_demote_shutdown |
|
4 |
11 |
73 |
1 |
| carp_demote_get |
|
4 |
21 |
140 |
1 |
| carp_demote_set |
|
7 |
18 |
118 |
2 |
| carp_demote_ioctl |
|
5 |
21 |
154 |
2 |
| Source file: ./usr.sbin/ospfd/rde.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rde_sig_handler |
|
3 |
10 |
37 |
3 |
| rde |
|
13 |
79 |
598 |
4 |
| rde_shutdown |
|
3 |
27 |
172 |
1 |
| rde_imsg_compose_ospfe |
|
1 |
6 |
41 |
5 |
| rde_dispatch_imsg |
|
87 |
313 |
2128 |
3 |
| rde_dispatch_parent |
|
26 |
101 |
647 |
3 |
| rde_dump_area |
|
1 |
12 |
101 |
3 |
| rde_router_id |
|
1 |
4 |
15 |
1 |
| rde_backbone_area |
|
1 |
6 |
26 |
1 |
| rde_send_change_kroute |
|
5 |
31 |
190 |
1 |
| rde_send_delete_kroute |
|
1 |
9 |
66 |
1 |
| rde_send_summary |
|
2 |
25 |
173 |
1 |
| rde_send_summary_area |
|
3 |
22 |
166 |
2 |
| rde_nbr_init |
|
5 |
21 |
161 |
1 |
| rde_nbr_free |
|
1 |
5 |
18 |
1 |
| rde_nbr_find |
|
2 |
11 |
52 |
1 |
| rde_nbr_new |
|
6 |
28 |
198 |
2 |
| rde_nbr_iface_del |
|
3 |
13 |
77 |
1 |
| rde_nbr_del |
|
2 |
9 |
41 |
1 |
| rde_nbr_loading |
|
7 |
22 |
110 |
1 |
| rde_nbr_self |
|
2 |
9 |
46 |
1 |
| rde_req_list_add |
|
2 |
10 |
79 |
2 |
| rde_req_list_exists |
|
4 |
11 |
74 |
2 |
| rde_req_list_del |
|
4 |
13 |
85 |
2 |
| rde_req_list_free |
|
2 |
8 |
49 |
1 |
| asext_compare |
|
5 |
12 |
116 |
2 |
| asext_find |
|
1 |
7 |
46 |
2 |
| rde_asext_lookup |
|
4 |
14 |
100 |
2 |
| rde_asext_get |
|
11 |
62 |
501 |
1 |
| rde_asext_put |
|
3 |
22 |
163 |
1 |
| rde_asext_free |
|
2 |
9 |
63 |
1 |
| orig_asext_lsa |
|
6 |
32 |
304 |
3 |
| rde_summary_update |
|
18 |
44 |
308 |
2 |
| orig_sum_lsa |
|
4 |
24 |
222 |
4 |
| Source file: ./usr.sbin/ospfd/ospf.h |
| Source file: ./usr.sbin/ospfd/control.h |
| Source file: ./usr.sbin/ospfd/packet.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| gen_ospf_hdr |
|
2 |
12 |
99 |
3 |
| send_packet |
|
5 |
37 |
293 |
3 |
| recv_packet |
|
25 |
115 |
691 |
3 |
| ip_hdr_sanity_check |
|
3 |
11 |
67 |
2 |
| ospf_hdr_sanity_check |
|
12 |
43 |
279 |
4 |
| find_iface |
|
10 |
29 |
170 |
3 |
| Source file: ./usr.sbin/ospfd/area.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| area_new |
|
2 |
11 |
76 |
1 |
| area_del |
|
6 |
25 |
186 |
1 |
| area_find |
|
2 |
10 |
55 |
2 |
| area_track |
|
3 |
17 |
102 |
1 |
| area_border_router |
|
2 |
9 |
46 |
1 |
| area_ospf_options |
|
3 |
7 |
32 |
1 |
| Source file: ./usr.sbin/ospfd/ospfe.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ospfe_sig_handler |
|
3 |
10 |
37 |
3 |
| ospfe |
|
22 |
108 |
811 |
4 |
| ospfe_shutdown |
|
3 |
29 |
182 |
1 |
| ospfe_imsg_compose_parent |
|
1 |
4 |
38 |
4 |
| ospfe_imsg_compose_rde |
|
1 |
6 |
41 |
5 |
| ospfe_dispatch_main |
|
39 |
151 |
899 |
3 |
| ospfe_dispatch_rde |
|
84 |
228 |
1395 |
3 |
| find_vlink |
|
4 |
16 |
121 |
1 |
| orig_rtr_lsa_all |
|
2 |
7 |
36 |
1 |
| orig_rtr_lsa |
|
58 |
220 |
1471 |
1 |
| orig_net_lsa |
|
8 |
44 |
367 |
1 |
| ospfe_router_id |
|
1 |
4 |
15 |
1 |
| ospfe_fib_update |
|
4 |
10 |
43 |
1 |
| ospfe_iface_ctl |
|
3 |
14 |
96 |
2 |
| ospfe_nbr_ctl |
|
2 |
18 |
127 |
1 |
| ospfe_demote_area |
|
4 |
14 |
98 |
2 |
| ospfe_demote_iface |
|
4 |
17 |
108 |
2 |
| Source file: ./usr.sbin/ospfd/rde_spf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| spf_calc |
|
19 |
89 |
521 |
1 |
| rt_calc |
|
18 |
78 |
673 |
3 |
| asext_calc |
|
15 |
59 |
448 |
1 |
| spf_tree_clr |
|
1 |
9 |
45 |
1 |
| calc_nexthop |
|
16 |
67 |
373 |
4 |
| cand_list_init |
|
1 |
4 |
12 |
1 |
| cand_list_add |
|
5 |
15 |
96 |
1 |
| cand_list_pop |
|
2 |
8 |
42 |
1 |
| cand_list_present |
|
2 |
9 |
41 |
1 |
| cand_list_clr |
|
2 |
7 |
37 |
1 |
| spf_timer |
|
8 |
49 |
248 |
3 |
| start_spf_timer |
|
6 |
23 |
108 |
1 |
| stop_spf_timer |
|
2 |
5 |
27 |
1 |
| start_spf_holdtimer |
|
6 |
20 |
104 |
1 |
| rt_init |
|
1 |
4 |
12 |
1 |
| rt_compare |
|
7 |
16 |
132 |
2 |
| rt_find |
|
1 |
8 |
52 |
3 |
| rt_insert |
|
2 |
10 |
57 |
1 |
| rt_remove |
|
2 |
11 |
62 |
1 |
| rt_invalidate |
|
11 |
30 |
202 |
1 |
| rt_nexthop_clear |
|
2 |
8 |
49 |
1 |
| rt_nexthop_add |
|
8 |
32 |
242 |
4 |
| rt_clear |
|
2 |
6 |
32 |
1 |
| rt_dump |
|
13 |
53 |
319 |
3 |
| rt_update |
|
23 |
69 |
438 |
12 |
| rt_lookup |
|
7 |
17 |
107 |
2 |
| get_rtr_link |
|
4 |
18 |
136 |
2 |
| get_net_link |
|
4 |
17 |
126 |
2 |
| linked |
|
12 |
42 |
226 |
2 |
| Source file: ./usr.sbin/ospfd/ospfe.h |
| Source file: ./usr.sbin/ospfd/lsupdate.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| lsa_flood |
|
30 |
81 |
501 |
4 |
| prepare_ls_update |
|
4 |
16 |
101 |
1 |
| add_ls_update |
|
5 |
24 |
186 |
5 |
| send_ls_update |
|
2 |
21 |
140 |
4 |
| recv_ls_update |
|
17 |
54 |
301 |
3 |
| ls_retrans_list_add |
|
5 |
21 |
159 |
4 |
| ls_retrans_list_del |
|
5 |
13 |
104 |
2 |
| ls_retrans_list_get |
|
4 |
11 |
86 |
2 |
| ls_retrans_list_insert |
|
2 |
17 |
101 |
2 |
| ls_retrans_list_remove |
|
8 |
21 |
163 |
2 |
| ls_retrans_list_free |
|
1 |
6 |
35 |
2 |
| ls_retrans_list_clr |
|
2 |
7 |
43 |
1 |
| ls_retrans_timer |
|
18 |
77 |
524 |
3 |
| lsa_cache_init |
|
4 |
13 |
99 |
1 |
| lsa_hash_hdr |
|
1 |
4 |
25 |
1 |
| lsa_cache_add |
|
4 |
24 |
193 |
2 |
| lsa_cache_get |
|
2 |
8 |
35 |
1 |
| lsa_cache_put |
|
3 |
11 |
78 |
2 |
| lsa_cache_look |
|
2 |
11 |
76 |
1 |
| Source file: ./usr.sbin/ospfd/in_cksum.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| in_cksum |
|
6 |
28 |
172 |
2 |
| Source file: ./usr.sbin/ospfd/lsreq.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| send_ls_req |
|
12 |
46 |
306 |
1 |
| recv_ls_req |
|
10 |
23 |
102 |
3 |
| ls_req_list_add |
|
3 |
11 |
77 |
2 |
| ls_req_list_get |
|
4 |
11 |
80 |
2 |
| ls_req_list_free |
|
7 |
17 |
117 |
2 |
| ls_req_list_clr |
|
2 |
11 |
68 |
1 |
| ls_req_list_empty |
|
1 |
4 |
20 |
1 |
| ls_req_tx_timer |
|
12 |
30 |
135 |
3 |
| start_ls_req_tx_timer |
|
3 |
9 |
52 |
1 |
| stop_ls_req_tx_timer |
|
3 |
7 |
39 |
1 |
| Source file: ./usr.sbin/ospfd/database.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| send_db_description |
|
25 |
100 |
575 |
1 |
| recv_db_description |
|
38 |
150 |
872 |
3 |
| db_sum_list_add |
|
2 |
8 |
61 |
2 |
| db_sum_list_next |
|
2 |
9 |
58 |
1 |
| db_sum_list_clr |
|
1 |
5 |
20 |
1 |
| db_tx_timer |
|
12 |
29 |
130 |
3 |
| start_db_tx_timer |
|
3 |
9 |
52 |
1 |
| stop_db_tx_timer |
|
3 |
7 |
39 |
1 |
| Source file: ./usr.sbin/ospfd/ospfd.h |
| Source file: ./usr.sbin/ospfd/printconf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| print_mainconf |
|
4 |
18 |
101 |
1 |
| print_no |
|
2 |
7 |
24 |
1 |
| print_redistribute |
|
7 |
29 |
171 |
1 |
| print_rtlabel |
|
2 |
8 |
42 |
1 |
| print_iface |
|
7 |
42 |
224 |
1 |
| print_config |
|
4 |
27 |
146 |
1 |
| Source file: ./usr.sbin/ospfd/log.h |
| Source file: ./usr.sbin/ospfd/neighbor.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| nbr_fsm |
|
27 |
92 |
527 |
2 |
| nbr_init |
|
5 |
24 |
186 |
1 |
| nbr_new |
|
4 |
42 |
341 |
3 |
| nbr_del |
|
7 |
21 |
166 |
1 |
| nbr_find_peerid |
|
2 |
11 |
52 |
1 |
| nbr_find_id |
|
2 |
9 |
52 |
2 |
| nbr_itimer |
|
2 |
8 |
42 |
3 |
| nbr_start_itimer |
|
2 |
8 |
50 |
1 |
| nbr_stop_itimer |
|
2 |
5 |
27 |
1 |
| nbr_reset_itimer |
|
2 |
8 |
50 |
1 |
| nbr_adj_timer |
|
4 |
11 |
76 |
3 |
| nbr_start_adj_timer |
|
2 |
8 |
46 |
1 |
| nbr_act_reset_itimer |
|
1 |
5 |
19 |
1 |
| nbr_act_start_itimer |
|
1 |
5 |
19 |
1 |
| nbr_adj_ok |
|
9 |
19 |
82 |
1 |
| nbr_act_eval |
|
2 |
14 |
68 |
1 |
| nbr_act_snapshot |
|
2 |
15 |
98 |
1 |
| nbr_act_exchange_done |
|
6 |
14 |
76 |
1 |
| nbr_act_adj_ok |
|
3 |
11 |
56 |
1 |
| nbr_act_restart_dd |
|
2 |
15 |
78 |
1 |
| nbr_act_delete |
|
3 |
20 |
121 |
1 |
| nbr_act_clear_lists |
|
1 |
9 |
39 |
1 |
| nbr_act_hello_check |
|
1 |
5 |
27 |
1 |
| nbr_to_ctl |
|
7 |
43 |
392 |
1 |
| lsa_hdr_new |
|
2 |
7 |
42 |
1 |
| Source file: ./usr.sbin/rebound/randomid.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| randomid |
|
4 |
24 |
148 |
1 |
| Source file: ./usr.sbin/yppoll/yppoll.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usage |
|
1 |
5 |
18 |
1 |
| get_remote_info |
|
8 |
56 |
396 |
5 |
| main |
|
8 |
41 |
240 |
2 |
| Source file: ./usr.sbin/ospfd/ospfd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main_sig_handler |
|
5 |
16 |
62 |
3 |
| usage |
|
1 |
8 |
26 |
1 |
| main |
|
27 |
137 |
871 |
2 |
| ospfd_shutdown |
|
10 |
33 |
215 |
1 |
| main_dispatch_ospfe |
|
26 |
78 |
430 |
3 |
| main_dispatch_rde |
|
17 |
52 |
286 |
3 |
| main_imsg_compose_ospfe |
|
2 |
5 |
39 |
4 |
| main_imsg_compose_rde |
|
2 |
5 |
39 |
4 |
| imsg_event_add |
|
2 |
9 |
73 |
1 |
| imsg_compose_event |
|
2 |
9 |
70 |
7 |
| ospf_redistribute |
|
28 |
62 |
373 |
2 |
| ospf_reload |
|
8 |
33 |
240 |
1 |
| ospf_sendboth |
|
3 |
8 |
78 |
3 |
| merge_config |
|
29 |
107 |
716 |
2 |
| merge_interfaces |
|
13 |
65 |
490 |
2 |
| iface_lookup |
|
4 |
10 |
74 |
2 |
| Source file: ./usr.sbin/ospfd/rde_lsdb.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| lsa_init |
|
1 |
4 |
13 |
1 |
| lsa_compare |
|
7 |
16 |
112 |
2 |
| vertex_get |
|
3 |
23 |
188 |
3 |
| vertex_free |
|
1 |
8 |
48 |
1 |
| vertex_nexthop_clear |
|
2 |
8 |
47 |
1 |
| vertex_nexthop_add |
|
2 |
9 |
72 |
3 |
| lsa_newer |
|
13 |
34 |
226 |
2 |
| lsa_check |
|
33 |
87 |
570 |
3 |
| lsa_router_check |
|
8 |
38 |
230 |
2 |
| lsa_self |
|
7 |
26 |
206 |
3 |
| lsa_add |
|
16 |
48 |
369 |
2 |
| lsa_del |
|
3 |
13 |
91 |
2 |
| lsa_age |
|
3 |
21 |
108 |
1 |
| lsa_find |
|
4 |
12 |
74 |
4 |
| lsa_find_area |
|
1 |
5 |
33 |
4 |
| lsa_find_tree |
|
4 |
15 |
90 |
4 |
| lsa_find_net |
|
4 |
15 |
87 |
2 |
| lsa_num_links |
|
3 |
12 |
79 |
1 |
| lsa_snap |
|
11 |
35 |
201 |
1 |
| lsa_dump |
|
19 |
48 |
213 |
3 |
| lsa_timeout |
|
9 |
31 |
229 |
3 |
| lsa_refresh |
|
5 |
24 |
205 |
1 |
| lsa_merge |
|
8 |
35 |
243 |
3 |
| lsa_remove_invalid_sums |
|
7 |
15 |
115 |
1 |
| lsa_generate_stub_sums |
|
8 |
32 |
217 |
1 |
| lsa_equal |
|
8 |
15 |
136 |
2 |
| Source file: ./usr.sbin/fdformat/fdformat.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| format_track |
|
5 |
30 |
238 |
9 |
| verify_track |
|
9 |
32 |
211 |
3 |
| usage |
|
1 |
24 |
108 |
1 |
| yes |
|
11 |
16 |
117 |
1 |
| main |
|
57 |
165 |
1051 |
2 |
| Source file: ./usr.sbin/mkuboot/copy_elf64.c |
| Source file: ./usr.sbin/mkuboot/copy_elf32.c |
| Source file: ./usr.sbin/mkuboot/copy_elf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ELFNAME( copy_elf) |
|
50 |
175 |
1620 |
6 |
| Source file: ./usr.sbin/mopd/moptrace/moptrace.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
13 |
35 |
155 |
2 |
| Usage |
|
1 |
5 |
19 |
0 |
| mopProcess |
|
5 |
14 |
108 |
2 |
| Source file: ./usr.sbin/ospfd/kroute.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| kif_init |
|
2 |
6 |
26 |
1 |
| kr_init |
|
9 |
38 |
273 |
2 |
| kr_change_fib |
|
20 |
58 |
441 |
4 |
| kr_change |
|
4 |
10 |
84 |
2 |
| kr_delete_fib |
|
4 |
11 |
91 |
1 |
| kr_delete |
|
4 |
14 |
84 |
1 |
| kr_shutdown |
|
1 |
6 |
18 |
1 |
| kr_fib_couple |
|
4 |
13 |
86 |
1 |
| kr_fib_decouple |
|
4 |
13 |
86 |
1 |
| kr_fib_reload_timer |
|
2 |
10 |
48 |
3 |
| kr_fib_reload_arm_timer |
|
2 |
9 |
58 |
1 |
| kr_fib_reload |
|
8 |
23 |
157 |
0 |
| kr_dispatch_msg |
|
2 |
5 |
28 |
3 |
| kr_show_route |
|
9 |
42 |
258 |
1 |
| kr_ifinfo |
|
3 |
10 |
75 |
2 |
| kr_redist_remove |
|
5 |
14 |
97 |
2 |
| kr_redist_eval |
|
12 |
30 |
198 |
2 |
| kr_redistribute |
|
6 |
23 |
154 |
1 |
| kr_reload |
|
6 |
16 |
90 |
1 |
| kroute_compare |
|
9 |
18 |
179 |
2 |
| kif_compare |
|
1 |
4 |
29 |
2 |
| kroute_find |
|
5 |
20 |
128 |
3 |
| kroute_matchgw |
|
3 |
11 |
56 |
2 |
| kroute_insert |
|
5 |
23 |
146 |
1 |
| kroute_remove |
|
9 |
37 |
258 |
1 |
| kroute_clear |
|
2 |
6 |
32 |
1 |
| kif_find |
|
1 |
7 |
44 |
1 |
| kif_findname |
|
5 |
19 |
123 |
3 |
| kif_insert |
|
3 |
11 |
76 |
1 |
| kif_remove |
|
3 |
14 |
86 |
1 |
| kif_clear |
|
2 |
6 |
32 |
1 |
| kif_update |
|
8 |
26 |
220 |
4 |
| kif_validate |
|
2 |
9 |
48 |
1 |
| kroute_match |
|
4 |
12 |
82 |
1 |
| protect_lo |
|
3 |
14 |
100 |
1 |
| prefixlen_classful |
|
5 |
13 |
60 |
1 |
| mask2prefixlen |
|
2 |
7 |
32 |
1 |
| prefixlen2mask |
|
2 |
6 |
33 |
1 |
| get_rtaddrs |
|
3 |
12 |
87 |
3 |
| if_change |
|
7 |
28 |
181 |
4 |
| if_newaddr |
|
7 |
24 |
156 |
4 |
| if_deladdr |
|
6 |
25 |
172 |
4 |
| if_announce |
|
3 |
16 |
85 |
1 |
| send_rtmsg |
|
10 |
85 |
628 |
3 |
| fetchtable |
|
4 |
30 |
191 |
1 |
| fetchifs |
|
4 |
29 |
183 |
1 |
| dispatch_rtmsg |
|
5 |
16 |
96 |
1 |
| rtmsg_process |
|
58 |
235 |
1369 |
2 |
| Source file: ./usr.sbin/mopd/mopa.out/mopa.out.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
27 |
103 |
790 |
2 |
| Source file: ./usr.sbin/mopd/mopchk/mopchk.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
23 |
80 |
477 |
2 |
| Usage |
|
1 |
5 |
19 |
0 |
| mopProcess |
|
1 |
5 |
17 |
2 |
| Source file: ./usr.sbin/mopd/common/device.h |
| Source file: ./usr.sbin/mopd/common/mopdef.h |
| Source file: ./usr.sbin/rebound/rebound.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| logmsg |
|
4 |
15 |
83 |
3 |
| logerr |
|
4 |
17 |
93 |
2 |
| cachecmp |
|
3 |
6 |
54 |
2 |
| lowercase |
|
2 |
7 |
30 |
2 |
| randomcase |
|
4 |
16 |
101 |
2 |
| freecacheent |
|
1 |
9 |
52 |
1 |
| dnamelen |
|
4 |
11 |
70 |
2 |
| adjustttl |
|
9 |
46 |
297 |
1 |
| cachelookup |
|
3 |
23 |
140 |
3 |
| freerequest |
|
7 |
19 |
111 |
1 |
| servfail |
|
1 |
8 |
74 |
4 |
| newrequest |
|
16 |
80 |
605 |
2 |
| minttl |
|
8 |
36 |
234 |
2 |
| sendreply |
|
14 |
45 |
342 |
1 |
| tcpphasetwo |
|
5 |
19 |
130 |
1 |
| newtcprequest |
|
8 |
35 |
209 |
2 |
| readconfig |
|
7 |
36 |
274 |
2 |
| workerinit |
|
11 |
30 |
237 |
1 |
| workerloop |
|
36 |
133 |
1076 |
5 |
| openconfig |
|
3 |
14 |
90 |
2 |
| reexec |
|
8 |
17 |
98 |
5 |
| monitorloop |
|
15 |
73 |
467 |
5 |
| resetport |
|
1 |
6 |
42 |
1 |
| usage |
|
1 |
5 |
18 |
1 |
| main |
|
22 |
87 |
731 |
2 |
| Source file: ./usr.sbin/mopd/mopprobe/mopprobe.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
14 |
38 |
165 |
2 |
| Usage |
|
1 |
5 |
19 |
0 |
| mopProcess |
|
48 |
143 |
816 |
2 |
| Source file: ./usr.sbin/mopd/common/pf.h |
| Source file: ./usr.sbin/mopd/common/dl.h |
| Source file: ./usr.sbin/mopd/common/rc.h |
| Source file: ./usr.sbin/mkuboot/mkuboot.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
30 |
116 |
870 |
2 |
| is_elf |
|
7 |
19 |
129 |
2 |
| copy_data |
|
5 |
18 |
136 |
7 |
| copy_mem |
|
4 |
16 |
112 |
6 |
| fill_zeroes |
|
4 |
17 |
115 |
5 |
| copy_raw |
|
4 |
15 |
119 |
6 |
| usage |
|
3 |
19 |
130 |
1 |
| Source file: ./usr.sbin/mopd/common/get.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mopGetChar |
|
1 |
7 |
36 |
2 |
| mopGetShort |
|
1 |
7 |
46 |
2 |
| mopGetNShort |
|
1 |
7 |
46 |
2 |
| mopGetLong |
|
1 |
8 |
66 |
2 |
| mopGetMulti |
|
2 |
7 |
56 |
4 |
| mopGetTrans |
|
3 |
12 |
56 |
2 |
| mopGetHeader |
|
3 |
18 |
121 |
7 |
| mopGetLength |
|
3 |
10 |
58 |
2 |
| Source file: ./usr.sbin/mopd/common/cmp.h |
| Source file: ./usr.sbin/mopd/common/os.h |
| Source file: ./usr.sbin/mopd/common/dl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mopDumpDL |
|
43 |
202 |
1354 |
3 |
| Source file: ./usr.sbin/mopd/common/pf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pfTrans |
|
1 |
4 |
17 |
1 |
| pfInit |
|
11 |
63 |
454 |
4 |
| pfAddMulti |
|
3 |
20 |
153 |
3 |
| pfDelMulti |
|
3 |
20 |
153 |
3 |
| pfRead |
|
1 |
4 |
26 |
3 |
| pfWrite |
|
3 |
21 |
143 |
4 |
| Source file: ./usr.sbin/acpidump/acpidump.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| acpi_checksum |
|
2 |
10 |
42 |
2 |
| acpi_user_find_mapping |
|
6 |
21 |
177 |
2 |
| acpi_map_physical |
|
1 |
6 |
39 |
2 |
| acpi_user_init |
|
3 |
9 |
44 |
1 |
| acpi_find_rsd_ptr |
|
7 |
30 |
223 |
1 |
| acpi_print_string |
|
5 |
10 |
63 |
2 |
| acpi_print_rsd_ptr |
|
1 |
8 |
54 |
1 |
| acpi_map_sdt |
|
1 |
7 |
41 |
1 |
| aml_dump |
|
3 |
19 |
146 |
1 |
| acpi_print_sdt |
|
2 |
18 |
148 |
1 |
| acpi_print_rsdt |
|
3 |
15 |
104 |
1 |
| acpi_print_facp |
|
10 |
67 |
459 |
1 |
| acpi_print_dsdt |
|
1 |
4 |
14 |
1 |
| acpi_handle_dsdt |
|
1 |
8 |
44 |
1 |
| acpi_handle_facp |
|
2 |
10 |
61 |
1 |
| acpi_handle_rsdt |
|
4 |
20 |
138 |
1 |
| asl_dump_from_devmem |
|
7 |
24 |
163 |
1 |
| usage |
|
1 |
6 |
25 |
1 |
| main |
|
6 |
21 |
105 |
2 |
| bios_acpi_addr |
|
6 |
24 |
165 |
1 |
| Source file: ./usr.sbin/mopd/common/nma.h |
| Source file: ./usr.sbin/mopd/common/cmp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mopCmpEAddr |
|
1 |
4 |
24 |
2 |
| Source file: ./usr.sbin/mopd/common/file.h |
| Source file: ./usr.sbin/mopd/common/nma.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| nmaGetShort |
|
3 |
11 |
46 |
1 |
| nmaGetDevice |
|
3 |
11 |
46 |
1 |
| Source file: ./usr.sbin/mopd/common/print.h |
| Source file: ./usr.sbin/mopd/common/get.h |
| Source file: ./usr.sbin/mopd/common/print.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mopPrintHWA |
|
7 |
11 |
145 |
2 |
| mopPrintBPTY |
|
3 |
14 |
53 |
2 |
| mopPrintPGTY |
|
5 |
20 |
77 |
2 |
| mopPrintOneline |
|
33 |
138 |
614 |
3 |
| mopPrintHeader |
|
9 |
52 |
274 |
3 |
| mopPrintMopHeader |
|
25 |
100 |
420 |
3 |
| mopPrintDevice |
|
1 |
7 |
49 |
2 |
| mopPrintTime |
|
1 |
6 |
71 |
2 |
| mopPrintInfo |
|
58 |
223 |
1340 |
6 |
| Source file: ./usr.sbin/mopd/common/common.h |
| Source file: ./usr.sbin/mopd/common/mopdef.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mopdef_dummy |
|
1 |
5 |
34 |
1 |
| Source file: ./usr.sbin/mopd/common/put.h |
| Source file: ./usr.sbin/mopd/common/loop-bsd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mopOpenRC |
|
1 |
5 |
39 |
2 |
| mopOpenDL |
|
1 |
5 |
39 |
2 |
| mopReadRC |
|
1 |
3 |
6 |
1 |
| mopReadDL |
|
1 |
3 |
6 |
1 |
| Loop |
|
19 |
63 |
404 |
1 |
| Source file: ./usr.sbin/mopd/common/put.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mopPutChar |
|
1 |
5 |
29 |
3 |
| mopPutShort |
|
1 |
6 |
42 |
3 |
| mopPutNShort |
|
1 |
6 |
42 |
3 |
| mopPutLong |
|
2 |
9 |
59 |
3 |
| mopPutMulti |
|
2 |
7 |
53 |
4 |
| mopPutTime |
|
2 |
21 |
184 |
3 |
| mopPutHeader |
|
5 |
23 |
172 |
6 |
| mopPutLength |
|
4 |
15 |
77 |
3 |
| Source file: ./usr.sbin/mopd/common/nmadef.h |
| Source file: ./usr.sbin/mopd/mopd/process.h |
| Source file: ./usr.sbin/mopd/common/device.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| deviceEthAddr |
|
7 |
22 |
145 |
2 |
| deviceOpen |
|
7 |
47 |
363 |
3 |
| deviceInitOne |
|
19 |
60 |
408 |
1 |
| deviceInitAll |
|
12 |
33 |
199 |
0 |
| Source file: ./usr.sbin/mopd/otherOS/os-linux2.h |
| Source file: ./usr.sbin/mopd/mopd/mopd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
28 |
69 |
400 |
2 |
| Usage |
|
1 |
6 |
19 |
0 |
| mopProcess |
|
8 |
23 |
164 |
2 |
| Source file: ./usr.sbin/mopd/common/rc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mopDumpRC |
|
45 |
208 |
1503 |
3 |
| Source file: ./usr.sbin/mopd/otherOS/loop.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mopOpenRC |
|
2 |
16 |
76 |
2 |
| mopOpenDL |
|
2 |
16 |
76 |
2 |
| mopReadRC |
|
3 |
13 |
63 |
2 |
| mopReadDL |
|
3 |
13 |
63 |
2 |
| Loop |
|
10 |
32 |
214 |
0 |
| Source file: ./usr.sbin/mopd/otherOS/os-sunos4.h |
| Source file: ./usr.sbin/mopd/otherOS/loop-linux2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mopOpenRC |
|
1 |
10 |
41 |
2 |
| mopOpenDL |
|
1 |
10 |
41 |
2 |
| mopReadRC |
|
1 |
3 |
5 |
0 |
| mopReadDL |
|
1 |
3 |
5 |
0 |
| Loop |
|
15 |
51 |
314 |
0 |
| Source file: ./usr.sbin/bind/lib/lwres/include/lwres/list.h |
| Source file: ./usr.sbin/bind/lib/lwres/include/lwres/version.h |
| Source file: ./usr.sbin/bind/lib/lwres/include/lwres/int.h |
| Source file: ./usr.sbin/bind/lib/lwres/include/lwres/lang.h |
| Source file: ./usr.sbin/bind/lib/lwres/include/lwres/ipv6.h |
| Source file: ./usr.sbin/mopd/common/file.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| FileTypeName |
|
5 |
14 |
49 |
1 |
| mopFilePutLX |
|
2 |
8 |
52 |
4 |
| mopFilePutBX |
|
2 |
8 |
56 |
4 |
| mopFileGetLX |
|
3 |
12 |
74 |
3 |
| mopFileGetBX |
|
3 |
12 |
70 |
3 |
| mopFileGetLXX |
|
3 |
12 |
74 |
3 |
| mopFileGetBXX |
|
3 |
12 |
70 |
3 |
| mopFileSwapX |
|
2 |
10 |
79 |
3 |
| CheckMopFile |
|
9 |
22 |
113 |
1 |
| GetMopFileInfo |
|
17 |
120 |
856 |
2 |
| getMID |
|
19 |
40 |
122 |
2 |
| getCLBYTES |
|
23 |
25 |
75 |
1 |
| CheckElfFile |
|
9 |
17 |
136 |
1 |
| GetElf32FileInfo |
|
23 |
152 |
1169 |
2 |
| GetElf64FileInfo |
|
26 |
154 |
1173 |
2 |
| CheckAOutFile |
|
6 |
21 |
171 |
1 |
| GetAOutFileInfo |
|
59 |
152 |
1057 |
2 |
| GetFileInfo |
|
8 |
31 |
171 |
2 |
| mopFileRead |
|
29 |
129 |
855 |
2 |
| Source file: ./usr.sbin/bind/lib/lwres/include/lwres/lwpacket.h |
| Source file: ./usr.sbin/mopd/mopd/process.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mopProcessInfo |
|
29 |
76 |
365 |
5 |
| mopSendASV |
|
6 |
20 |
150 |
4 |
| mopStartLoad |
|
18 |
54 |
514 |
4 |
| mopNextLoad |
|
17 |
82 |
734 |
4 |
| mopProcessDL |
|
24 |
107 |
758 |
8 |
| mopProcessRC |
|
15 |
51 |
281 |
8 |
| Source file: ./usr.sbin/bind/lib/lwres/include/lwres/result.h |
| Source file: ./usr.sbin/bind/lib/lwres/include/lwres/stdlib.h |
| Source file: ./usr.sbin/bind/lib/lwres/unix/include/lwres/net.h |
| Source file: ./usr.sbin/bind/lib/lwres/include/lwres/context.h |
| Source file: ./usr.sbin/bind/lib/lwres/include/lwres/lwbuffer.h |
| Source file: ./usr.sbin/bind/lib/lwres/version.c |
| Source file: ./usr.sbin/mopd/otherOS/pf-snit.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pfTrans |
|
1 |
5 |
17 |
1 |
| pfInit |
|
8 |
47 |
318 |
4 |
| setup_pf |
|
3 |
38 |
273 |
3 |
| pfEthAddr |
|
2 |
14 |
88 |
2 |
| pfAddMulti |
|
3 |
22 |
159 |
3 |
| pfDelMulti |
|
3 |
22 |
159 |
3 |
| pfRead |
|
1 |
6 |
31 |
3 |
| pfWrite |
|
2 |
20 |
134 |
4 |
| Source file: ./usr.sbin/bind/lib/lwres/include/lwres/lwres.h |
| Source file: ./usr.sbin/bind/lib/lwres/context_p.h |
| Source file: ./usr.sbin/bind/lib/lwres/gethost.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| lwres_gethostbyname |
|
2 |
6 |
39 |
1 |
| lwres_gethostbyname2 |
|
2 |
6 |
42 |
2 |
| lwres_gethostbyaddr |
|
2 |
6 |
45 |
3 |
| lwres_gethostent |
|
2 |
5 |
22 |
1 |
| lwres_sethostent |
|
1 |
3 |
12 |
1 |
| lwres_endhostent |
|
1 |
2 |
6 |
1 |
| lwres_gethostbyname_r |
|
3 |
16 |
97 |
5 |
| lwres_gethostbyaddr_r |
|
3 |
17 |
103 |
7 |
| lwres_gethostent_r |
|
1 |
7 |
45 |
4 |
| lwres_sethostent_r |
|
1 |
3 |
12 |
1 |
| lwres_endhostent_r |
|
1 |
2 |
6 |
1 |
| copytobuf |
|
8 |
54 |
407 |
4 |
| Source file: ./usr.sbin/bind/lib/lwres/lwresutil.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| lwres_data_parse |
|
5 |
18 |
113 |
3 |
| lwres_string_parse |
|
7 |
22 |
144 |
3 |
| lwres_addr_parse |
|
4 |
14 |
100 |
2 |
| lwres_getaddrsbyname |
|
14 |
80 |
483 |
4 |
| lwres_getnamebyaddr |
|
13 |
76 |
462 |
5 |
| lwres_getrdatabyname |
|
14 |
81 |
488 |
6 |
| Source file: ./usr.sbin/bind/lib/lwres/getaddrinfo.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| lwres_getaddrinfo |
|
80 |
230 |
1435 |
4 |
| lwres_strsep |
|
5 |
19 |
118 |
2 |
| set_order |
|
12 |
38 |
219 |
2 |
| add_ipv4 |
|
13 |
61 |
381 |
5 |
| add_ipv6 |
|
13 |
61 |
381 |
5 |
| lwres_freeaddrinfo |
|
4 |
12 |
65 |
1 |
| get_local |
|
3 |
14 |
103 |
3 |
| ai_alloc |
|
4 |
16 |
111 |
2 |
| ai_clone |
|
4 |
17 |
114 |
2 |
| ai_reverse |
|
2 |
11 |
54 |
1 |
| Source file: ./usr.sbin/bind/lib/lwres/lwres_gabn.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| lwres_gabnrequest_render |
|
3 |
42 |
279 |
4 |
| lwres_gabnresponse_render |
|
7 |
70 |
491 |
4 |
| lwres_gabnrequest_parse |
|
7 |
34 |
214 |
4 |
| lwres_gabnresponse_parse |
|
20 |
96 |
615 |
4 |
| lwres_gabnrequest_free |
|
2 |
9 |
55 |
2 |
| lwres_gabnresponse_free |
|
5 |
23 |
168 |
2 |
| Source file: ./usr.sbin/bind/lib/lwres/context.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| lwres_context_create |
|
5 |
27 |
155 |
5 |
| lwres_context_destroy |
|
4 |
12 |
76 |
1 |
| lwres_context_nextserial |
|
1 |
4 |
23 |
1 |
| lwres_context_initserial |
|
1 |
4 |
24 |
2 |
| lwres_context_freemem |
|
1 |
5 |
36 |
3 |
| lwres_context_allocmem |
|
1 |
4 |
26 |
2 |
| lwres_malloc |
|
2 |
9 |
52 |
2 |
| lwres_free |
|
1 |
5 |
34 |
3 |
| context_connect |
|
11 |
60 |
414 |
1 |
| lwres_context_getsocket |
|
1 |
3 |
15 |
1 |
| lwres_context_send |
|
5 |
16 |
96 |
3 |
| lwres_context_recv |
|
12 |
38 |
256 |
4 |
| lwres_context_sendrecv |
|
6 |
30 |
178 |
6 |
| Source file: ./usr.sbin/bind/lib/lwres/getipnode.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| lwres_getipnodebyname |
|
45 |
108 |
790 |
4 |
| lwres_getipnodebyaddr |
|
23 |
89 |
543 |
4 |
| lwres_freehostent |
|
3 |
22 |
108 |
1 |
| scan_interfaces6 |
|
34 |
93 |
625 |
2 |
| scan_interfaces |
|
43 |
108 |
753 |
2 |
| copyandmerge |
|
34 |
121 |
713 |
4 |
| hostfromaddr |
|
19 |
56 |
428 |
3 |
| hostfromname |
|
18 |
59 |
446 |
2 |
| Source file: ./usr.sbin/bind/lib/lwres/assert_p.h |
| Source file: ./usr.sbin/bind/lib/lwres/lwinetaton.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| lwres_net_aton |
|
31 |
76 |
488 |
2 |
| Source file: ./usr.sbin/bind/lib/lwres/lwres_grbn.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| lwres_grbnrequest_render |
|
3 |
43 |
290 |
4 |
| lwres_grbnresponse_render |
|
7 |
61 |
468 |
4 |
| lwres_grbnrequest_parse |
|
7 |
36 |
231 |
4 |
| lwres_grbnresponse_parse |
|
22 |
98 |
664 |
4 |
| lwres_grbnrequest_free |
|
2 |
9 |
55 |
2 |
| lwres_grbnresponse_free |
|
5 |
20 |
160 |
2 |
| Source file: ./usr.sbin/bind/lib/lwres/lwinetpton.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| lwres_net_pton |
|
3 |
11 |
60 |
3 |
| inet_pton4 |
|
10 |
32 |
210 |
2 |
| inet_pton6 |
|
19 |
71 |
464 |
2 |
| Source file: ./usr.sbin/bind/lib/lwres/lwres_gnba.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| lwres_gnbarequest_render |
|
3 |
41 |
286 |
4 |
| lwres_gnbaresponse_render |
|
5 |
52 |
355 |
4 |
| lwres_gnbarequest_parse |
|
8 |
31 |
192 |
4 |
| lwres_gnbaresponse_parse |
|
15 |
65 |
417 |
4 |
| lwres_gnbarequest_free |
|
2 |
9 |
55 |
2 |
| lwres_gnbaresponse_free |
|
4 |
16 |
117 |
2 |
| Source file: ./usr.sbin/bind/lib/lwres/lwinetntop.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| lwres_net_ntop |
|
4 |
11 |
66 |
4 |
| inet_ntop4 |
|
3 |
14 |
118 |
3 |
| inet_ntop6 |
|
28 |
64 |
542 |
3 |
| Source file: ./usr.sbin/bind/lib/lwres/print_p.h |
| Source file: ./usr.sbin/bind/lib/lwres/lwpacket.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| lwres_lwpacket_renderheader |
|
2 |
16 |
127 |
2 |
| lwres_lwpacket_parseheader |
|
3 |
20 |
146 |
2 |
| Source file: ./usr.sbin/bind/lib/lwres/print.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| lwres__print_sprintf |
|
1 |
7 |
47 |
3 |
| lwres__print_snprintf |
|
1 |
8 |
54 |
4 |
| lwres__print_vsnprintf |
|
155 |
460 |
2287 |
4 |
| Source file: ./usr.sbin/bind/lib/lwres/strtoul.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| lwres_strtoul |
|
25 |
52 |
346 |
3 |
| Source file: ./usr.sbin/bind/lib/lwres/lwbuffer.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| lwres_buffer_init |
|
1 |
10 |
59 |
3 |
| lwres_buffer_invalidate |
|
1 |
10 |
52 |
1 |
| lwres_buffer_add |
|
1 |
6 |
39 |
2 |
| lwres_buffer_subtract |
|
3 |
10 |
71 |
2 |
| lwres_buffer_clear |
|
1 |
7 |
34 |
1 |
| lwres_buffer_first |
|
1 |
5 |
22 |
1 |
| lwres_buffer_forward |
|
1 |
6 |
39 |
2 |
| lwres_buffer_back |
|
1 |
6 |
35 |
2 |
| lwres_buffer_getuint8 |
|
1 |
12 |
75 |
1 |
| lwres_buffer_putuint8 |
|
1 |
10 |
66 |
2 |
| lwres_buffer_getuint16 |
|
1 |
13 |
93 |
1 |
| lwres_buffer_putuint16 |
|
1 |
11 |
80 |
2 |
| lwres_buffer_getuint32 |
|
1 |
15 |
129 |
1 |
| lwres_buffer_putuint32 |
|
1 |
13 |
130 |
2 |
| lwres_buffer_putmem |
|
1 |
10 |
74 |
3 |
| lwres_buffer_getmem |
|
1 |
11 |
70 |
3 |
| Source file: ./usr.sbin/bind/lib/lwres/herror.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| lwres_herror |
|
1 |
3 |
23 |
1 |
| lwres_hstrerror |
|
3 |
7 |
38 |
1 |
| Source file: ./usr.sbin/bind/lib/lwres/lwres_noop.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| lwres_nooprequest_render |
|
3 |
36 |
229 |
4 |
| lwres_noopresponse_render |
|
3 |
35 |
223 |
4 |
| lwres_nooprequest_parse |
|
7 |
35 |
216 |
4 |
| lwres_noopresponse_parse |
|
7 |
35 |
216 |
4 |
| lwres_noopresponse_free |
|
2 |
9 |
55 |
2 |
| lwres_nooprequest_free |
|
2 |
9 |
55 |
2 |
| Source file: ./usr.sbin/bind/lib/isccfg/include/isccfg/version.h |
| Source file: ./usr.sbin/bind/lib/lwres/gai_strerror.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| lwres_gai_strerror |
|
3 |
12 |
72 |
1 |
| Source file: ./usr.sbin/bind/lib/lwres/getrrset.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| lwresult_to_result |
|
5 |
9 |
52 |
1 |
| sane_malloc |
|
2 |
5 |
25 |
1 |
| sane_calloc |
|
2 |
7 |
46 |
2 |
| lwres_getrrsetbyname |
|
19 |
109 |
716 |
5 |
| lwres_freerrset |
|
5 |
17 |
127 |
1 |
| Source file: ./usr.sbin/bind/lib/isccfg/include/isccfg/namedconf.h |
| Source file: ./usr.sbin/bind/lib/isccfg/include/isccfg/aclconf.h |
| Source file: ./usr.sbin/bind/lib/isccfg/include/isccfg/log.h |
| Source file: ./usr.sbin/bind/lib/isccfg/version.c |
| Source file: ./usr.sbin/bind/lib/isccfg/log.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cfg_log_init |
|
1 |
5 |
29 |
1 |
| Source file: ./usr.sbin/bind/lib/lwres/getnameinfo.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| lwres_getnameinfo |
|
52 |
151 |
1000 |
7 |
| Source file: ./usr.sbin/bind/lib/isccfg/include/isccfg/cfg.h |
| Source file: ./usr.sbin/bind/lib/isccfg/include/isccfg/grammar.h |
| Source file: ./usr.sbin/bind/lib/isc/mips/include/isc/atomic.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| isc_atomic_xadd |
|
1 |
15 |
50 |
2 |
| isc_atomic_store |
|
1 |
12 |
37 |
2 |
| isc_atomic_cmpxchg |
|
1 |
17 |
60 |
3 |
| Source file: ./usr.sbin/bind/lib/isc/noatomic/include/isc/atomic.h |
| Source file: ./usr.sbin/bind/lib/isc/include/isc/assertions.h |
| Source file: ./usr.sbin/bind/lib/isc/include/isc/list.h |
| Source file: ./usr.sbin/bind/lib/isc/include/isc/interfaceiter.h |
| Source file: ./usr.sbin/bind/lib/lwres/lwconfig.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| lwresaddr2af |
|
3 |
13 |
41 |
1 |
| eatline |
|
3 |
7 |
40 |
1 |
| eatwhite |
|
6 |
9 |
66 |
1 |
| getword |
|
6 |
20 |
133 |
3 |
| lwres_resetaddr |
|
1 |
6 |
38 |
1 |
| lwres_strdup |
|
2 |
11 |
75 |
2 |
| lwres_conf_init |
|
4 |
24 |
175 |
1 |
| lwres_conf_clear |
|
6 |
34 |
248 |
1 |
| lwres_conf_parsenameserver |
|
14 |
45 |
298 |
2 |
| lwres_conf_parselwserver |
|
8 |
20 |
142 |
2 |
| lwres_conf_parsedomain |
|
10 |
28 |
213 |
2 |
| lwres_conf_parsesearch |
|
10 |
38 |
257 |
2 |
| lwres_create_addr |
|
5 |
22 |
186 |
3 |
| lwres_conf_parsesortlist |
|
10 |
39 |
273 |
2 |
| lwres_conf_parseoption |
|
11 |
31 |
222 |
2 |
| lwres_conf_parse |
|
14 |
48 |
326 |
2 |
| lwres_conf_print |
|
16 |
72 |
577 |
2 |
| lwres_conf_get |
|
1 |
4 |
23 |
1 |
| Source file: ./usr.sbin/bind/lib/isc/include/isc/types.h |
| Source file: ./usr.sbin/bind/lib/isc/include/isc/formatcheck.h |
| Source file: ./usr.sbin/bind/lib/isc/include/isc/ratelimiter.h |
| Source file: ./usr.sbin/bind/lib/isc/include/isc/parseint.h |
| Source file: ./usr.sbin/bind/lib/isc/include/isc/msgs.h |
| Source file: ./usr.sbin/bind/lib/isc/include/isc/version.h |
| Source file: ./usr.sbin/bind/lib/isc/include/isc/netscope.h |
| Source file: ./usr.sbin/bind/lib/isc/include/isc/boolean.h |
| Source file: ./usr.sbin/bind/lib/isc/include/isc/taskpool.h |
| Source file: ./usr.sbin/bind/lib/isc/include/isc/lang.h |
| Source file: ./usr.sbin/bind/lib/isccfg/aclconf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cfg_aclconfctx_init |
|
1 |
3 |
15 |
1 |
| cfg_aclconfctx_destroy |
|
2 |
10 |
51 |
1 |
| get_acl_def |
|
4 |
19 |
137 |
3 |
| convert_named_acl |
|
7 |
47 |
327 |
6 |
| convert_keyname |
|
2 |
22 |
137 |
4 |
| cfg_acl_fromconfig |
|
17 |
86 |
532 |
6 |
| Source file: ./usr.sbin/bind/lib/isc/include/isc/ipv6.h |
| Source file: ./usr.sbin/bind/lib/isc/include/isc/mutexblock.h |
| Source file: ./usr.sbin/bind/lib/isc/include/isc/lex.h |
| Source file: ./usr.sbin/bind/lib/isc/include/isc/serial.h |
| Source file: ./usr.sbin/bind/lib/isc/include/isc/event.h |
| Source file: ./usr.sbin/bind/lib/isc/include/isc/mem.h |
| Source file: ./usr.sbin/bind/lib/isc/include/isc/os.h |
| Source file: ./usr.sbin/bind/lib/isc/include/isc/region.h |
| Source file: ./usr.sbin/bind/lib/isc/include/isc/hash.h |
| Source file: ./usr.sbin/bind/lib/isc/include/isc/util.h |
| Source file: ./usr.sbin/bind/lib/isc/include/isc/timer.h |
| Source file: ./usr.sbin/bind/lib/isc/include/isc/buffer.h |
| Source file: ./usr.sbin/bind/lib/isc/include/isc/sha2.h |
| Source file: ./usr.sbin/bind/lib/isc/include/isc/app.h |
| Source file: ./usr.sbin/bind/lib/isc/include/isc/error.h |
| Source file: ./usr.sbin/bind/lib/isc/include/isc/resource.h |
| Source file: ./usr.sbin/bind/lib/isc/include/isc/fsaccess.h |
| Source file: ./usr.sbin/bind/lib/isc/include/isc/socket.h |
| Source file: ./usr.sbin/bind/lib/isc/include/isc/entropy.h |
| Source file: ./usr.sbin/bind/lib/isc/include/isc/msgcat.h |
| Source file: ./usr.sbin/bind/lib/isc/include/isc/lfsr.h |
| Source file: ./usr.sbin/bind/lib/isc/include/isc/base32.h |
| Source file: ./usr.sbin/bind/lib/isc/include/isc/sha1.h |
| Source file: ./usr.sbin/bind/lib/isc/include/isc/random.h |
| Source file: ./usr.sbin/bind/lib/isc/include/isc/file.h |
| Source file: ./usr.sbin/bind/lib/isc/include/isc/symtab.h |
| Source file: ./usr.sbin/bind/lib/isc/include/isc/bitstring.h |
| Source file: ./usr.sbin/bind/lib/isc/include/isc/eventclass.h |
| Source file: ./usr.sbin/bind/lib/isc/include/isc/ondestroy.h |
| Source file: ./usr.sbin/bind/lib/isc/include/isc/task.h |
| Source file: ./usr.sbin/bind/lib/isc/include/isc/hmacmd5.h |
| Source file: ./usr.sbin/bind/lib/isc/include/isc/result.h |
| Source file: ./usr.sbin/bind/lib/isc/include/isc/stdlib.h |
| Source file: ./usr.sbin/bind/lib/isc/include/isc/hex.h |
| Source file: ./usr.sbin/bind/lib/isc/include/isc/string.h |
| Source file: ./usr.sbin/bind/lib/isc/include/isc/bufferlist.h |
| Source file: ./usr.sbin/bind/lib/isc/include/isc/magic.h |
| Source file: ./usr.sbin/bind/lib/isc/include/isc/print.h |
| Source file: ./usr.sbin/bind/lib/isc/include/isc/resultclass.h |
| Source file: ./usr.sbin/bind/lib/isc/include/isc/rwlock.h |
| Source file: ./usr.sbin/bind/lib/isc/include/isc/quota.h |
| Source file: ./usr.sbin/bind/lib/isc/include/isc/hmacsha.h |
| Source file: ./usr.sbin/bind/lib/isc/include/isc/heap.h |
| Source file: ./usr.sbin/bind/lib/isc/include/isc/iterated_hash.h |
| Source file: ./usr.sbin/bind/lib/isc/include/isc/lib.h |
| Source file: ./usr.sbin/bind/lib/isc/include/isc/refcount.h |
| Source file: ./usr.sbin/bind/lib/isc/include/isc/netaddr.h |
| Source file: ./usr.sbin/bind/lib/isc/include/isc/base64.h |
| Source file: ./usr.sbin/bind/lib/isc/include/isc/md5.h |
| Source file: ./usr.sbin/bind/lib/isc/include/isc/stdio.h |
| Source file: ./usr.sbin/bind/lib/isc/include/isc/commandline.h |
| Source file: ./usr.sbin/bind/lib/isc/include/isc/sockaddr.h |
| Source file: ./usr.sbin/bind/lib/isc/include/isc/shuffle.h |
| Source file: ./usr.sbin/bind/lib/isc/sparc64/include/isc/atomic.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| isc_atomic_xadd |
|
3 |
13 |
80 |
2 |
| isc_atomic_store |
|
3 |
13 |
75 |
2 |
| isc_atomic_cmpxchg |
|
1 |
8 |
50 |
3 |
| Source file: ./usr.sbin/bind/lib/isc/x86_64/include/isc/atomic.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| isc_atomic_xadd |
|
2 |
10 |
29 |
2 |
| isc_atomic_store |
|
2 |
10 |
29 |
2 |
| isc_atomic_cmpxchg |
|
2 |
12 |
38 |
3 |
| Source file: ./usr.sbin/bind/lib/isc/unix/include/isc/int.h |
| Source file: ./usr.sbin/bind/lib/isc/unix/include/isc/strerror.h |
| Source file: ./usr.sbin/bind/lib/isc/unix/include/isc/stdtime.h |
| Source file: ./usr.sbin/bind/lib/isc/alpha/include/isc/atomic.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| isc_atomic_xadd |
|
1 |
9 |
28 |
2 |
| isc_atomic_store |
|
1 |
8 |
27 |
2 |
| isc_atomic_cmpxchg |
|
1 |
12 |
36 |
3 |
| isc_atomic_xadd |
|
1 |
14 |
55 |
2 |
| isc_atomic_store |
|
1 |
12 |
42 |
2 |
| isc_atomic_cmpxchg |
|
1 |
17 |
66 |
3 |
| Source file: ./usr.sbin/bind/lib/isc/unix/include/isc/syslog.h |
| Source file: ./usr.sbin/bind/lib/isc/unix/include/isc/stat.h |
| Source file: ./usr.sbin/bind/lib/isc/unix/include/isc/offset.h |
| Source file: ./usr.sbin/bind/lib/isc/include/isc/log.h |
| Source file: ./usr.sbin/bind/lib/isc/unix/include/isc/netdb.h |
| Source file: ./usr.sbin/bind/lib/isc/unix/include/isc/keyboard.h |
| Source file: ./usr.sbin/bind/lib/isc/unix/include/isc/net.h |
| Source file: ./usr.sbin/bind/lib/isc/unix/include/isc/dir.h |
| Source file: ./usr.sbin/bind/lib/isc/unix/include/isc/privsep.h |
| Source file: ./usr.sbin/bind/lib/isc/unix/ipv6.c |
| Source file: ./usr.sbin/bind/lib/isc/unix/include/isc/time.h |
| Source file: ./usr.sbin/bind/lib/isc/unix/stdio.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| isc_stdio_open |
|
2 |
8 |
55 |
3 |
| isc_stdio_close |
|
2 |
8 |
38 |
1 |
| isc_stdio_seek |
|
2 |
8 |
48 |
3 |
| isc_stdio_read |
|
4 |
15 |
91 |
5 |
| isc_stdio_write |
|
3 |
13 |
78 |
5 |
| isc_stdio_flush |
|
2 |
8 |
38 |
1 |
| isc_stdio_sync |
|
2 |
8 |
41 |
1 |
| Source file: ./usr.sbin/bind/lib/isc/unix/syslog.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| isc_syslog_facilityfromstring |
|
3 |
12 |
88 |
2 |
| Source file: ./usr.sbin/bind/lib/isc/unix/app.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| exit_action |
|
1 |
4 |
16 |
1 |
| reload_action |
|
1 |
4 |
16 |
1 |
| handle_signal |
|
3 |
17 |
115 |
2 |
| isc_app_start |
|
23 |
70 |
454 |
1 |
| isc_app_onrun |
|
3 |
24 |
121 |
4 |
| evloop |
|
9 |
47 |
242 |
0 |
| isc__nothread_wait_hack |
|
3 |
19 |
90 |
2 |
| isc__nothread_signal_hack |
|
1 |
7 |
31 |
1 |
| isc_app_run |
|
27 |
71 |
407 |
1 |
| isc_app_shutdown |
|
6 |
29 |
149 |
1 |
| isc_app_reload |
|
6 |
27 |
144 |
1 |
| isc_app_finish |
|
1 |
3 |
12 |
1 |
| isc_app_block |
|
5 |
11 |
76 |
1 |
| isc_app_unblock |
|
5 |
11 |
78 |
1 |
| Source file: ./usr.sbin/bind/lib/isccfg/parser.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cfg_print_obj |
|
1 |
3 |
24 |
2 |
| cfg_print_chars |
|
1 |
3 |
29 |
3 |
| print_open |
|
1 |
4 |
22 |
1 |
| print_indent |
|
2 |
7 |
35 |
1 |
| print_close |
|
1 |
5 |
27 |
1 |
| cfg_parse_obj |
|
3 |
9 |
69 |
3 |
| cfg_print |
|
1 |
10 |
65 |
3 |
| cfg_create_tuple |
|
5 |
25 |
191 |
3 |
| cfg_parse_tuple |
|
2 |
16 |
123 |
3 |
| cfg_print_tuple |
|
3 |
13 |
109 |
2 |
| cfg_doc_tuple |
|
3 |
11 |
84 |
2 |
| free_tuple |
|
3 |
14 |
110 |
2 |
| cfg_obj_istuple |
|
1 |
4 |
31 |
1 |
| cfg_tuple_get |
|
4 |
13 |
111 |
2 |
| cfg_parse_special |
|
3 |
11 |
72 |
2 |
| parse_semicolon |
|
3 |
11 |
67 |
1 |
| parse_eof |
|
2 |
10 |
57 |
1 |
| cfg_parser_create |
|
4 |
46 |
336 |
3 |
| parser_openfile |
|
2 |
19 |
131 |
2 |
| cfg_parser_setcallback |
|
1 |
7 |
27 |
3 |
| parse2 |
|
4 |
20 |
111 |
3 |
| cfg_parse_file |
|
1 |
10 |
61 |
4 |
| cfg_parse_buffer |
|
1 |
10 |
62 |
4 |
| cfg_parser_destroy |
|
1 |
8 |
57 |
1 |
| cfg_parse_void |
|
1 |
4 |
35 |
3 |
| cfg_print_void |
|
1 |
4 |
23 |
2 |
| cfg_doc_void |
|
1 |
4 |
23 |
2 |
| cfg_obj_isvoid |
|
1 |
4 |
31 |
1 |
| cfg_parse_uint32 |
|
2 |
15 |
109 |
3 |
| cfg_print_cstr |
|
1 |
3 |
25 |
2 |
| cfg_print_rawuint |
|
1 |
5 |
39 |
2 |
| cfg_print_uint32 |
|
1 |
3 |
24 |
2 |
| cfg_obj_isuint32 |
|
1 |
4 |
31 |
1 |
| cfg_obj_asuint32 |
|
2 |
4 |
34 |
1 |
| cfg_obj_isuint64 |
|
1 |
4 |
31 |
1 |
| cfg_obj_asuint64 |
|
2 |
4 |
34 |
1 |
| cfg_print_uint64 |
|
1 |
6 |
46 |
2 |
| create_string |
|
2 |
20 |
157 |
4 |
| cfg_parse_qstring |
|
2 |
15 |
86 |
3 |
| parse_ustring |
|
2 |
15 |
86 |
3 |
| cfg_parse_astring |
|
1 |
13 |
58 |
3 |
| cfg_is_enum |
|
3 |
8 |
61 |
2 |
| check_enum |
|
2 |
7 |
62 |
3 |
| cfg_parse_enum |
|
1 |
11 |
75 |
3 |
| cfg_doc_enum |
|
3 |
10 |
82 |
2 |
| cfg_print_ustring |
|
1 |
3 |
34 |
2 |
| print_qstring |
|
1 |
5 |
38 |
2 |
| free_string |
|
1 |
4 |
37 |
2 |
| cfg_obj_isstring |
|
1 |
4 |
31 |
1 |
| cfg_obj_asstring |
|
2 |
4 |
36 |
1 |
| cfg_obj_isboolean |
|
1 |
4 |
31 |
1 |
| cfg_obj_asboolean |
|
2 |
4 |
34 |
1 |
| parse_boolean |
|
9 |
32 |
229 |
3 |
| print_boolean |
|
2 |
6 |
40 |
2 |
| cfg_create_list |
|
1 |
7 |
51 |
3 |
| create_listelt |
|
2 |
10 |
65 |
2 |
| free_list_elt |
|
1 |
4 |
37 |
2 |
| free_list |
|
2 |
10 |
58 |
2 |
| cfg_parse_listelt |
|
2 |
17 |
102 |
3 |
| parse_list |
|
5 |
25 |
166 |
3 |
| print_list |
|
2 |
11 |
78 |
2 |
| cfg_parse_bracketed_list |
|
1 |
10 |
59 |
3 |
| cfg_print_bracketed_list |
|
1 |
5 |
30 |
2 |
| cfg_doc_bracketed_list |
|
1 |
5 |
40 |
2 |
| cfg_parse_spacelist |
|
4 |
22 |
141 |
3 |
| cfg_print_spacelist |
|
3 |
11 |
84 |
2 |
| cfg_obj_islist |
|
1 |
4 |
31 |
1 |
| cfg_list_first |
|
3 |
6 |
48 |
1 |
| cfg_list_next |
|
1 |
4 |
26 |
1 |
| cfg_listelt_value |
|
1 |
4 |
23 |
1 |
| cfg_parse_mapbody |
|
17 |
118 |
727 |
3 |
| parse_symtab_elt |
|
3 |
19 |
114 |
5 |
| cfg_parse_map |
|
1 |
8 |
59 |
3 |
| parse_any_named_map |
|
1 |
15 |
93 |
4 |
| cfg_parse_named_map |
|
1 |
3 |
32 |
3 |
| cfg_parse_addressed_map |
|
1 |
3 |
32 |
3 |
| cfg_parse_netprefix_map |
|
1 |
3 |
32 |
3 |
| cfg_print_mapbody |
|
7 |
43 |
263 |
2 |
| cfg_doc_mapbody |
|
3 |
15 |
106 |
2 |
| cfg_print_map |
|
2 |
9 |
66 |
2 |
| print_clause_flags |
|
4 |
14 |
89 |
2 |
| cfg_doc_map |
|
7 |
30 |
223 |
2 |
| cfg_obj_ismap |
|
1 |
4 |
31 |
1 |
| cfg_map_get |
|
4 |
14 |
113 |
3 |
| cfg_map_getname |
|
2 |
4 |
36 |
1 |
| parse_token |
|
4 |
28 |
223 |
3 |
| parse_unsupported |
|
9 |
32 |
219 |
3 |
| token_addr |
|
19 |
65 |
419 |
3 |
| cfg_parse_rawaddr |
|
6 |
27 |
158 |
3 |
| cfg_lookingat_netaddr |
|
1 |
6 |
40 |
2 |
| cfg_parse_rawport |
|
6 |
24 |
153 |
3 |
| cfg_print_rawaddr |
|
1 |
9 |
72 |
2 |
| parse_netaddr |
|
1 |
14 |
107 |
3 |
| cfg_doc_netaddr |
|
10 |
24 |
159 |
2 |
| cfg_parse_netprefix |
|
7 |
50 |
273 |
3 |
| print_netprefix |
|
1 |
6 |
53 |
2 |
| cfg_obj_isnetprefix |
|
1 |
4 |
31 |
1 |
| cfg_obj_asnetprefix |
|
2 |
6 |
56 |
3 |
| parse_sockaddrsub |
|
3 |
22 |
157 |
4 |
| cfg_parse_sockaddr |
|
1 |
4 |
43 |
3 |
| cfg_print_sockaddr |
|
2 |
13 |
94 |
2 |
| cfg_doc_sockaddr |
|
7 |
27 |
161 |
2 |
| cfg_obj_issockaddr |
|
1 |
4 |
31 |
1 |
| cfg_obj_assockaddr |
|
2 |
4 |
35 |
1 |
| cfg_gettoken |
|
8 |
44 |
251 |
2 |
| cfg_ungettoken |
|
2 |
6 |
34 |
1 |
| cfg_peektoken |
|
1 |
7 |
36 |
2 |
| cfg_getstringtoken |
|
4 |
12 |
70 |
1 |
| cfg_parser_error |
|
1 |
7 |
52 |
4 |
| cfg_parser_warning |
|
1 |
7 |
52 |
4 |
| current_file |
|
3 |
13 |
88 |
1 |
| parser_complain |
|
11 |
49 |
342 |
5 |
| cfg_obj_log |
|
3 |
14 |
101 |
5 |
| cfg_obj_file |
|
1 |
3 |
16 |
1 |
| cfg_obj_line |
|
1 |
3 |
16 |
1 |
| cfg_create_obj |
|
2 |
11 |
79 |
3 |
| map_symtabitem_destroy |
|
1 |
9 |
55 |
4 |
| create_map |
|
2 |
17 |
124 |
3 |
| free_map |
|
1 |
4 |
35 |
2 |
| cfg_obj_istype |
|
1 |
3 |
26 |
2 |
| cfg_obj_destroy |
|
1 |
6 |
51 |
2 |
| free_noop |
|
1 |
4 |
22 |
2 |
| cfg_doc_obj |
|
1 |
3 |
22 |
2 |
| cfg_doc_terminal |
|
1 |
5 |
40 |
2 |
| cfg_print_grammar |
|
1 |
10 |
61 |
3 |
| Source file: ./usr.sbin/bind/lib/isc/unix/resource.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| resource2rlim |
|
15 |
42 |
152 |
2 |
| isc_resource_setlimit |
|
23 |
59 |
366 |
2 |
| isc_resource_getlimit |
|
2 |
13 |
71 |
2 |
| isc_resource_curlimit |
|
2 |
13 |
71 |
2 |
| Source file: ./usr.sbin/bind/lib/isc/unix/errno2result.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| isc__errno2result |
|
39 |
58 |
228 |
1 |
| Source file: ./usr.sbin/bind/lib/isc/unix/errno2result.h |
| Source file: ./usr.sbin/bind/lib/isc/unix/ifiter_getifaddrs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| isc_interfaceiter_create |
|
4 |
37 |
212 |
2 |
| internal_current |
|
11 |
37 |
344 |
1 |
| internal_next |
|
2 |
6 |
36 |
1 |
| internal_destroy |
|
2 |
5 |
27 |
1 |
| internal_first |
|
1 |
3 |
16 |
1 |
| Source file: ./usr.sbin/bind/lib/isc/unix/strerror.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| init_lock |
|
1 |
3 |
17 |
1 |
| isc__strerror |
|
5 |
20 |
147 |
3 |
| Source file: ./usr.sbin/bind/lib/isc/unix/os.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sysconf_ncpus |
|
3 |
5 |
27 |
1 |
| hpux_ncpus |
|
2 |
7 |
43 |
1 |
| sysctl_ncpus |
|
2 |
9 |
55 |
1 |
| isc_os_ncpus |
|
6 |
10 |
54 |
1 |
| Source file: ./usr.sbin/bind/lib/isc/unix/file.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| file_stats |
|
2 |
8 |
56 |
2 |
| isc_file_getmodtime |
|
2 |
10 |
66 |
2 |
| isc_file_settime |
|
4 |
13 |
142 |
2 |
| isc_file_mktemplate |
|
1 |
3 |
30 |
3 |
| isc_file_template |
|
5 |
22 |
161 |
4 |
| isc_file_renameunique |
|
11 |
36 |
218 |
2 |
| isc_file_openunique |
|
13 |
47 |
299 |
2 |
| isc_file_remove |
|
2 |
9 |
46 |
1 |
| isc_file_rename |
|
2 |
10 |
60 |
2 |
| isc_file_exists |
|
1 |
5 |
36 |
1 |
| isc_file_isabsolute |
|
1 |
4 |
29 |
1 |
| isc_file_iscurrentdir |
|
2 |
4 |
36 |
1 |
| isc_file_ischdiridempotent |
|
3 |
8 |
45 |
1 |
| isc_file_basename |
|
2 |
8 |
47 |
1 |
| isc_file_progname |
|
2 |
12 |
79 |
3 |
| dir_current |
|
5 |
19 |
111 |
2 |
| isc_file_absolutepath |
|
3 |
10 |
74 |
3 |
| isc_file_truncate |
|
2 |
6 |
40 |
2 |
| Source file: ./usr.sbin/bind/lib/isc/unix/time.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fix_tv_usec |
|
6 |
18 |
105 |
1 |
| isc_interval_set |
|
1 |
8 |
42 |
3 |
| isc_interval_iszero |
|
3 |
7 |
49 |
1 |
| isc_time_set |
|
1 |
6 |
42 |
3 |
| isc_time_settoepoch |
|
1 |
5 |
27 |
1 |
| isc_time_isepoch |
|
3 |
7 |
49 |
1 |
| isc_time_now |
|
9 |
21 |
180 |
1 |
| isc_time_nowplusinterval |
|
11 |
27 |
222 |
2 |
| isc_time_compare |
|
7 |
13 |
107 |
2 |
| isc_time_add |
|
8 |
15 |
135 |
3 |
| isc_time_subtract |
|
8 |
19 |
150 |
3 |
| isc_time_microdiff |
|
4 |
12 |
109 |
2 |
| isc_time_seconds |
|
1 |
5 |
35 |
1 |
| isc_time_secondsastimet |
|
4 |
19 |
150 |
2 |
| isc_time_nanoseconds |
|
1 |
5 |
35 |
1 |
| isc_time_formattimestamp |
|
2 |
13 |
99 |
3 |
| Source file: ./usr.sbin/bind/lib/isc/unix/keyboard.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| isc_keyboard_open |
|
4 |
32 |
206 |
1 |
| isc_keyboard_close |
|
3 |
9 |
78 |
2 |
| isc_keyboard_getchar |
|
4 |
19 |
122 |
2 |
| isc_keyboard_canceled |
|
1 |
3 |
20 |
1 |
| Source file: ./usr.sbin/bind/lib/isc/unix/net.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| try_proto |
|
14 |
59 |
248 |
1 |
| initialize_action |
|
5 |
5 |
27 |
1 |
| initialize |
|
1 |
3 |
19 |
1 |
| isc_net_probeipv4 |
|
1 |
4 |
15 |
1 |
| isc_net_probeipv6 |
|
1 |
4 |
15 |
1 |
| isc_net_probeunix |
|
1 |
4 |
15 |
1 |
| try_ipv6only |
|
7 |
54 |
261 |
1 |
| initialize_ipv6only |
|
1 |
4 |
19 |
1 |
| try_ipv6pktinfo |
|
5 |
36 |
165 |
1 |
| initialize_ipv6pktinfo |
|
1 |
4 |
19 |
1 |
| isc_net_probe_ipv6only |
|
3 |
5 |
19 |
1 |
| isc_net_probe_ipv6pktinfo |
|
4 |
5 |
19 |
1 |
| isc_net_disableipv4 |
|
2 |
5 |
20 |
1 |
| isc_net_disableipv6 |
|
2 |
5 |
20 |
1 |
| isc_net_enableipv4 |
|
2 |
5 |
20 |
1 |
| isc_net_enableipv6 |
|
2 |
5 |
20 |
1 |
| Source file: ./usr.sbin/bind/lib/isc/unix/privsep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| isc_priv_init |
|
9 |
42 |
256 |
1 |
| isc_drop_privs |
|
8 |
18 |
137 |
2 |
| check_bind |
|
13 |
43 |
249 |
2 |
| parent_bind |
|
5 |
21 |
155 |
1 |
| isc_priv_bind |
|
3 |
19 |
138 |
3 |
| sig_pass_to_chld |
|
2 |
7 |
30 |
1 |
| sig_got_chld |
|
7 |
13 |
75 |
1 |
| may_read |
|
6 |
19 |
92 |
3 |
| must_read |
|
6 |
18 |
87 |
3 |
| must_write |
|
6 |
18 |
89 |
3 |
| write_command |
|
1 |
4 |
23 |
2 |
| logmsg |
|
3 |
13 |
69 |
3 |
| fatal |
|
6 |
22 |
107 |
1 |
| Source file: ./usr.sbin/bind/lib/isc/unix/privsep_fdpass.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| send_fd |
|
4 |
32 |
223 |
2 |
| receive_fd |
|
5 |
36 |
228 |
1 |
| Source file: ./usr.sbin/bind/lib/isc/unix/ifiter_ioctl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| getbuf4 |
|
7 |
48 |
278 |
1 |
| getbuf6 |
|
12 |
69 |
372 |
1 |
| isc_interfaceiter_create |
|
16 |
75 |
467 |
2 |
| get_inaddr |
|
1 |
4 |
37 |
2 |
| internal_current_clusteralias |
|
2 |
13 |
139 |
1 |
| linux_if_inet6_next |
|
3 |
8 |
56 |
1 |
| linux_if_inet6_first |
|
2 |
8 |
46 |
1 |
| linux_if_inet6_current |
|
9 |
57 |
408 |
1 |
| internal_current4 |
|
30 |
128 |
997 |
1 |
| internal_current6 |
|
24 |
97 |
785 |
1 |
| internal_current |
|
6 |
10 |
65 |
1 |
| internal_next4 |
|
10 |
19 |
170 |
1 |
| internal_next6 |
|
7 |
14 |
142 |
1 |
| internal_next |
|
9 |
20 |
113 |
1 |
| internal_destroy |
|
6 |
10 |
77 |
1 |
| internal_first |
|
6 |
13 |
80 |
1 |
| Source file: ./usr.sbin/bind/lib/isc/unix/ifiter_sysctl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| isc_interfaceiter_create |
|
6 |
59 |
358 |
2 |
| internal_current |
|
20 |
79 |
648 |
1 |
| internal_next |
|
2 |
9 |
77 |
1 |
| internal_destroy |
|
1 |
3 |
13 |
1 |
| internal_first |
|
1 |
3 |
14 |
1 |
| Source file: ./usr.sbin/bind/lib/isc/unix/socket_p.h |
| Source file: ./usr.sbin/bind/lib/isc/unix/interfaceiter.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| get_addr |
|
11 |
46 |
278 |
4 |
| isc_interfaceiter_current |
|
1 |
7 |
42 |
2 |
| isc_interfaceiter_first |
|
4 |
15 |
72 |
1 |
| isc_interfaceiter_next |
|
4 |
15 |
76 |
1 |
| isc_interfaceiter_destroy |
|
2 |
13 |
86 |
1 |
| Source file: ./usr.sbin/bind/lib/isc/unix/fsaccess.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| isc_fsaccess_set |
|
6 |
30 |
181 |
2 |
| Source file: ./usr.sbin/bind/lib/isc/unix/stdtime.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fix_tv_usec |
|
6 |
18 |
105 |
1 |
| isc_stdtime_get |
|
3 |
9 |
74 |
1 |
| Source file: ./usr.sbin/bind/lib/isc/unix/dir.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| isc_dir_init |
|
1 |
7 |
46 |
1 |
| isc_dir_open |
|
5 |
18 |
150 |
2 |
| isc_dir_read |
|
4 |
12 |
110 |
1 |
| isc_dir_close |
|
2 |
5 |
38 |
1 |
| isc_dir_reset |
|
2 |
5 |
34 |
1 |
| isc_dir_chdir |
|
2 |
6 |
38 |
1 |
| isc_dir_chroot |
|
2 |
6 |
38 |
1 |
| isc_dir_createunique |
|
11 |
39 |
200 |
1 |
| Source file: ./usr.sbin/bind/lib/isc/pthreads/include/isc/condition.h |
| Source file: ./usr.sbin/bind/lib/isc/pthreads/include/isc/mutex.h |
| Source file: ./usr.sbin/bind/lib/isc/pthreads/include/isc/thread.h |
| Source file: ./usr.sbin/bind/lib/isc/pthreads/include/isc/once.h |
| Source file: ./usr.sbin/bind/lib/isc/pthreads/thread.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| isc_thread_create |
|
8 |
24 |
137 |
3 |
| isc_thread_setconcurrency |
|
2 |
4 |
21 |
1 |
| Source file: ./usr.sbin/bind/lib/isc/pthreads/condition.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| isc_condition_waituntil |
|
8 |
26 |
180 |
3 |
| Source file: ./usr.sbin/bind/lib/isccfg/namedconf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| print_none |
|
1 |
4 |
27 |
2 |
| parse_qstringornone |
|
3 |
13 |
89 |
3 |
| doc_qstringornone |
|
1 |
4 |
27 |
2 |
| print_hostname |
|
1 |
4 |
27 |
2 |
| parse_serverid |
|
5 |
17 |
126 |
3 |
| doc_serverid |
|
1 |
4 |
27 |
2 |
| parse_port |
|
2 |
12 |
79 |
3 |
| parse_unitstring |
|
11 |
34 |
167 |
2 |
| parse_sizeval |
|
2 |
19 |
125 |
3 |
| parse_size |
|
1 |
3 |
32 |
3 |
| parse_maybe_optional_keyvalue |
|
4 |
26 |
166 |
4 |
| parse_enum_or_other |
|
3 |
14 |
93 |
4 |
| doc_enum_or_other |
|
2 |
4 |
30 |
2 |
| parse_keyvalue |
|
1 |
3 |
31 |
3 |
| parse_optional_keyvalue |
|
1 |
3 |
31 |
3 |
| print_keyvalue |
|
1 |
6 |
53 |
2 |
| doc_keyvalue |
|
1 |
6 |
49 |
2 |
| doc_optional_keyvalue |
|
1 |
8 |
67 |
2 |
| parse_dialup_type |
|
1 |
3 |
32 |
3 |
| parse_notify_type |
|
1 |
3 |
32 |
3 |
| parse_ixfrdiff_type |
|
1 |
3 |
32 |
3 |
| parse_optional_class |
|
2 |
11 |
79 |
3 |
| parse_querysource |
|
12 |
56 |
351 |
3 |
| print_querysource |
|
1 |
8 |
70 |
2 |
| parse_addrmatchelt |
|
9 |
37 |
249 |
3 |
| print_negated |
|
1 |
4 |
29 |
2 |
| parse_server_key_kludge |
|
6 |
22 |
151 |
3 |
| parse_optional_facility |
|
3 |
14 |
91 |
3 |
| parse_logseverity |
|
4 |
21 |
163 |
3 |
| parse_logversions |
|
1 |
3 |
32 |
3 |
| parse_logfile |
|
9 |
37 |
315 |
3 |
| print_logfile |
|
3 |
11 |
111 |
2 |
| doc_sockaddrnameport |
|
1 |
16 |
123 |
2 |
| parse_sockaddrnameport |
|
4 |
32 |
199 |
3 |
| doc_masterselement |
|
1 |
14 |
107 |
2 |
| parse_masterselement |
|
4 |
22 |
128 |
3 |
| Source file: ./usr.sbin/bind/lib/isc/unix/entropy.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| get_from_filesource |
|
8 |
32 |
207 |
2 |
| get_from_usocketsource |
|
29 |
96 |
569 |
2 |
| fillpool |
|
20 |
71 |
436 |
3 |
| wait_for_sources |
|
14 |
47 |
260 |
1 |
| destroyfilesource |
|
1 |
3 |
18 |
1 |
| destroyusocketsource |
|
1 |
3 |
15 |
1 |
| make_nonblock |
|
4 |
19 |
114 |
1 |
| isc_entropy_createfilesource |
|
17 |
79 |
482 |
2 |
| Source file: ./usr.sbin/bind/lib/isc/x86_32/include/isc/atomic.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| isc_atomic_xadd |
|
2 |
10 |
48 |
2 |
| isc_atomic_store |
|
2 |
8 |
32 |
2 |
| isc_atomic_cmpxchg |
|
2 |
9 |
49 |
3 |
| isc_atomic_xadd |
|
2 |
11 |
30 |
2 |
| isc_atomic_store |
|
2 |
10 |
29 |
2 |
| isc_atomic_cmpxchg |
|
2 |
12 |
38 |
3 |
| Source file: ./usr.sbin/bind/lib/isc/powerpc/include/isc/atomic.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| isc_atomic_cmpxchg |
|
3 |
8 |
49 |
3 |
| isc_atomic_xadd |
|
2 |
21 |
55 |
2 |
| isc_atomic_store |
|
2 |
17 |
41 |
2 |
| isc_atomic_cmpxchg |
|
2 |
27 |
69 |
3 |
| Source file: ./usr.sbin/bind/lib/isc/nothreads/include/isc/mutex.h |
| Source file: ./usr.sbin/bind/lib/isc/nothreads/include/isc/thread.h |
| Source file: ./usr.sbin/bind/lib/isc/ia64/include/isc/atomic.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| isc_atomic_xadd |
|
3 |
15 |
90 |
2 |
| isc_atomic_store |
|
1 |
8 |
30 |
2 |
| isc_atomic_cmpxchg |
|
1 |
10 |
58 |
3 |
| Source file: ./usr.sbin/bind/lib/isc/nothreads/include/isc/condition.h |
| Source file: ./usr.sbin/bind/lib/isc/nothreads/thread.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| isc_thread_setconcurrency |
|
1 |
3 |
13 |
1 |
| Source file: ./usr.sbin/bind/lib/isc/nothreads/condition.c |
| Source file: ./usr.sbin/bind/lib/isc/nothreads/include/isc/once.h |
| Source file: ./usr.sbin/bind/lib/isc/nothreads/mutex.c |
| Source file: ./usr.sbin/bind/lib/isc/pthreads/mutex.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| isc_mutex_init_profile |
|
8 |
37 |
301 |
3 |
| isc_mutex_lock_profile |
|
7 |
32 |
243 |
3 |
| isc_mutex_unlock_profile |
|
3 |
14 |
121 |
3 |
| isc_mutex_statsprofile |
|
5 |
28 |
197 |
1 |
| isc_mutex_init_errcheck |
|
5 |
13 |
82 |
1 |
| isc__mutex_init |
|
3 |
15 |
91 |
3 |
| Source file: ./usr.sbin/bind/lib/isc/region.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| isc_region_compare |
|
6 |
12 |
119 |
2 |
| Source file: ./usr.sbin/bind/lib/isc/version.c |
| Source file: ./usr.sbin/bind/lib/isc/parseint.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| isc_parse_uint32 |
|
5 |
14 |
99 |
3 |
| isc_parse_uint16 |
|
3 |
11 |
69 |
3 |
| isc_parse_uint8 |
|
3 |
11 |
69 |
3 |
| Source file: ./usr.sbin/bind/lib/isc/nls/msgcat.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| isc_msgcat_open |
|
4 |
13 |
84 |
2 |
| isc_msgcat_close |
|
5 |
13 |
84 |
1 |
| isc_msgcat_get |
|
4 |
12 |
84 |
4 |
| Source file: ./usr.sbin/bind/lib/isc/heap.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| isc_heap_create |
|
4 |
24 |
140 |
5 |
| isc_heap_destroy |
|
2 |
12 |
87 |
1 |
| resize |
|
3 |
17 |
128 |
1 |
| float_up |
|
5 |
14 |
139 |
3 |
| sink_down |
|
7 |
21 |
182 |
3 |
| isc_heap_insert |
|
3 |
9 |
66 |
2 |
| isc_heap_delete |
|
4 |
17 |
128 |
2 |
| isc_heap_increased |
|
2 |
5 |
47 |
2 |
| isc_heap_decreased |
|
2 |
5 |
47 |
2 |
| isc_heap_element |
|
2 |
5 |
43 |
2 |
| isc_heap_foreach |
|
2 |
7 |
63 |
3 |
| Source file: ./usr.sbin/bind/lib/isc/random.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| initialize_rand |
|
1 |
6 |
48 |
1 |
| initialize |
|
1 |
4 |
19 |
1 |
| isc_random_seed |
|
1 |
5 |
16 |
1 |
| isc_random_get |
|
1 |
7 |
55 |
1 |
| isc_random_uniform |
|
6 |
18 |
82 |
1 |
| isc_random_jitter |
|
2 |
7 |
37 |
2 |
| Source file: ./usr.sbin/bind/lib/isc/base64.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| isc_base64_totext |
|
7 |
40 |
439 |
4 |
| base64_decode_init |
|
1 |
7 |
39 |
3 |
| base64_decode_char |
|
19 |
41 |
411 |
2 |
| base64_decode_finish |
|
3 |
7 |
39 |
1 |
| isc_base64_tobuffer |
|
8 |
25 |
174 |
3 |
| isc_base64_decodestring |
|
7 |
14 |
94 |
2 |
| str_totext |
|
2 |
11 |
71 |
2 |
| mem_tobuffer |
|
2 |
9 |
63 |
3 |
| Source file: ./usr.sbin/bind/lib/isc/inet_aton.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| isc_net_aton |
|
31 |
72 |
479 |
2 |
| Source file: ./usr.sbin/bind/lib/isc/netaddr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| isc_netaddr_equal |
|
12 |
26 |
180 |
2 |
| isc_netaddr_eqprefix |
|
11 |
48 |
318 |
3 |
| isc_netaddr_totext |
|
11 |
44 |
310 |
2 |
| isc_netaddr_format |
|
4 |
20 |
113 |
3 |
| isc_netaddr_prefixok |
|
8 |
32 |
198 |
2 |
| isc_netaddr_masktoprefixlen |
|
11 |
39 |
235 |
2 |
| isc_netaddr_fromin |
|
1 |
5 |
42 |
2 |
| isc_netaddr_fromin6 |
|
1 |
5 |
42 |
2 |
| isc_netaddr_frompath |
|
3 |
12 |
101 |
2 |
| isc_netaddr_setzone |
|
1 |
4 |
26 |
2 |
| isc_netaddr_getzone |
|
1 |
3 |
16 |
1 |
| isc_netaddr_fromsockaddr |
|
6 |
21 |
149 |
2 |
| isc_netaddr_any |
|
1 |
5 |
37 |
1 |
| isc_netaddr_any6 |
|
1 |
5 |
35 |
1 |
| isc_netaddr_ismulticast |
|
3 |
10 |
62 |
1 |
| isc_netaddr_isexperimental |
|
2 |
8 |
43 |
1 |
| isc_netaddr_islinklocal |
|
3 |
10 |
50 |
1 |
| isc_netaddr_issitelocal |
|
3 |
10 |
50 |
1 |
| isc_netaddr_fromv4mapped |
|
1 |
10 |
92 |
2 |
| Source file: ./usr.sbin/bind/lib/isc/unix/socket.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| manager_log |
|
2 |
14 |
90 |
6 |
| socket_log |
|
3 |
24 |
164 |
10 |
| wakeup_socket |
|
6 |
18 |
137 |
3 |
| select_poke |
|
7 |
24 |
149 |
3 |
| select_readmsg |
|
3 |
23 |
139 |
3 |
| select_poke |
|
3 |
7 |
40 |
3 |
| make_nonblock |
|
4 |
19 |
114 |
1 |
| cmsg_len |
|
2 |
6 |
42 |
1 |
| cmsg_space |
|
3 |
16 |
121 |
1 |
| process_cmsg |
|
21 |
48 |
305 |
3 |
| build_msghdr_send |
|
12 |
77 |
543 |
5 |
| build_msghdr_recv |
|
19 |
78 |
609 |
5 |
| set_dev_address |
|
4 |
13 |
74 |
3 |
| destroy_socketevent |
|
1 |
5 |
37 |
1 |
| allocate_socketevent |
|
2 |
21 |
128 |
4 |
| dump_msg |
|
3 |
12 |
103 |
1 |
| doio_recv |
|
21 |
81 |
519 |
2 |
| doio_send |
|
8 |
47 |
306 |
2 |
| destroy |
|
4 |
20 |
178 |
1 |
| allocate_socket |
|
12 |
70 |
464 |
3 |
| free_socket |
|
3 |
23 |
191 |
1 |
| clear_bsdcompat |
|
6 |
14 |
93 |
1 |
| isc_socket_create |
|
55 |
184 |
1116 |
4 |
| isc_socket_attach |
|
2 |
8 |
58 |
2 |
| isc_socket_detach |
|
3 |
16 |
94 |
1 |
| dispatch_recv |
|
2 |
17 |
114 |
1 |
| dispatch_send |
|
2 |
17 |
114 |
1 |
| dispatch_accept |
|
2 |
15 |
91 |
1 |
| dispatch_connect |
|
1 |
13 |
80 |
1 |
| send_recvdone_event |
|
3 |
12 |
95 |
2 |
| send_senddone_event |
|
4 |
13 |
107 |
2 |
| internal_accept |
|
33 |
160 |
909 |
2 |
| internal_recv |
|
9 |
43 |
258 |
2 |
| internal_send |
|
7 |
36 |
223 |
2 |
| process_fds |
|
16 |
56 |
316 |
4 |
| watcher |
|
9 |
63 |
331 |
1 |
| isc__socketmgr_setreserved |
|
1 |
4 |
25 |
2 |
| create_fdsets |
|
8 |
37 |
268 |
2 |
| cleanup_fdsets |
|
7 |
18 |
162 |
2 |
| expand_fdsets |
|
21 |
77 |
681 |
3 |
| isc_socketmgr_create |
|
14 |
79 |
594 |
2 |
| isc_socketmgr_destroy |
|
10 |
48 |
321 |
1 |
| socket_recv |
|
12 |
47 |
266 |
4 |
| isc_socket_recvv |
|
5 |
38 |
239 |
6 |
| isc_socket_recv |
|
2 |
15 |
114 |
6 |
| isc_socket_recv2 |
|
3 |
21 |
124 |
6 |
| socket_send |
|
15 |
62 |
358 |
6 |
| isc_socket_send |
|
1 |
6 |
44 |
5 |
| isc_socket_sendto |
|
2 |
20 |
142 |
7 |
| isc_socket_sendv |
|
1 |
6 |
44 |
5 |
| isc_socket_sendtov |
|
3 |
29 |
205 |
7 |
| isc_socket_sendto2 |
|
2 |
17 |
129 |
7 |
| isc_socket_cleanunix |
|
22 |
91 |
528 |
2 |
| isc_socket_permunix |
|
8 |
42 |
281 |
4 |
| isc_socket_bind |
|
14 |
48 |
314 |
3 |
| isc_socket_privsep |
|
1 |
4 |
16 |
1 |
| isc_socket_filter |
|
4 |
19 |
140 |
2 |
| isc_socket_listen |
|
4 |
20 |
147 |
2 |
| isc_socket_accept |
|
5 |
40 |
259 |
4 |
| isc_socket_connect |
|
9 |
76 |
507 |
5 |
| internal_connect |
|
8 |
75 |
455 |
2 |
| isc_socket_getpeername |
|
2 |
14 |
77 |
2 |
| isc_socket_getsockname |
|
3 |
25 |
158 |
2 |
| isc_socket_cancel |
|
21 |
77 |
483 |
3 |
| isc_socket_gettype |
|
1 |
4 |
23 |
1 |
| isc_socket_isbound |
|
2 |
7 |
46 |
1 |
| isc_socket_ipv6only |
|
5 |
10 |
74 |
2 |
| isc__socketmgr_getfdsets |
|
2 |
13 |
83 |
3 |
| isc__socketmgr_dispatch |
|
2 |
7 |
48 |
3 |
| Source file: ./usr.sbin/bind/lib/isc/buffer.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| isc__buffer_init |
|
1 |
4 |
33 |
3 |
| isc__buffer_invalidate |
|
1 |
6 |
41 |
1 |
| isc__buffer_region |
|
1 |
5 |
34 |
2 |
| isc__buffer_usedregion |
|
1 |
5 |
34 |
2 |
| isc__buffer_availableregion |
|
1 |
5 |
34 |
2 |
| isc__buffer_add |
|
1 |
5 |
40 |
2 |
| isc__buffer_subtract |
|
1 |
5 |
36 |
2 |
| isc__buffer_clear |
|
1 |
4 |
21 |
1 |
| isc__buffer_consumedregion |
|
1 |
5 |
34 |
2 |
| isc__buffer_remainingregion |
|
1 |
5 |
34 |
2 |
| isc__buffer_activeregion |
|
1 |
5 |
34 |
2 |
| isc__buffer_setactive |
|
1 |
5 |
40 |
2 |
| isc__buffer_first |
|
1 |
4 |
21 |
1 |
| isc__buffer_forward |
|
1 |
5 |
40 |
2 |
| isc__buffer_back |
|
1 |
5 |
36 |
2 |
| isc_buffer_compact |
|
2 |
14 |
92 |
1 |
| isc_buffer_getuint8 |
|
1 |
10 |
69 |
1 |
| isc__buffer_putuint8 |
|
1 |
5 |
39 |
2 |
| isc_buffer_getuint16 |
|
1 |
11 |
88 |
1 |
| isc__buffer_putuint16 |
|
1 |
5 |
39 |
2 |
| isc_buffer_getuint32 |
|
1 |
13 |
124 |
1 |
| isc__buffer_putuint32 |
|
1 |
5 |
39 |
2 |
| isc__buffer_putmem |
|
1 |
7 |
48 |
3 |
| isc__buffer_putstr |
|
1 |
11 |
76 |
2 |
| isc_buffer_copyregion |
|
2 |
13 |
90 |
2 |
| isc_buffer_allocate |
|
2 |
15 |
97 |
3 |
| isc_buffer_free |
|
1 |
15 |
95 |
1 |
| Source file: ./usr.sbin/bind/lib/isc/hmacmd5.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| isc_hmacmd5_init |
|
3 |
19 |
158 |
3 |
| isc_hmacmd5_invalidate |
|
1 |
4 |
32 |
1 |
| isc_hmacmd5_update |
|
1 |
5 |
30 |
3 |
| isc_hmacmd5_sign |
|
2 |
13 |
120 |
2 |
| isc_hmacmd5_verify |
|
1 |
3 |
25 |
2 |
| isc_hmacmd5_verify2 |
|
1 |
6 |
54 |
3 |
| Source file: ./usr.sbin/bind/lib/isc/refcount.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| isc_refcount_init |
|
2 |
6 |
41 |
2 |
| Source file: ./usr.sbin/bind/lib/isc/inet_pton.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| isc_net_pton |
|
3 |
11 |
60 |
3 |
| inet_pton4 |
|
12 |
34 |
224 |
2 |
| inet_pton6 |
|
20 |
73 |
475 |
2 |
| Source file: ./usr.sbin/bind/lib/isc/lib.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| open_msgcat |
|
1 |
3 |
14 |
1 |
| isc_lib_initmsgcat |
|
2 |
13 |
64 |
1 |
| Source file: ./usr.sbin/bind/lib/isc/lex.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| grow_data |
|
3 |
15 |
143 |
4 |
| isc_lex_create |
|
4 |
25 |
179 |
3 |
| isc_lex_destroy |
|
3 |
13 |
103 |
1 |
| isc_lex_getcomments |
|
1 |
4 |
23 |
1 |
| isc_lex_setcomments |
|
1 |
4 |
26 |
2 |
| isc_lex_getspecials |
|
1 |
4 |
30 |
2 |
| isc_lex_setspecials |
|
1 |
4 |
30 |
2 |
| new_source |
|
4 |
31 |
220 |
5 |
| isc_lex_openfile |
|
3 |
12 |
87 |
2 |
| isc_lex_openstream |
|
1 |
6 |
56 |
2 |
| isc_lex_openbuffer |
|
1 |
6 |
56 |
2 |
| isc_lex_close |
|
4 |
16 |
120 |
1 |
| pushback |
|
3 |
10 |
56 |
2 |
| pushandgrow |
|
3 |
20 |
148 |
3 |
| isc_lex_gettoken |
|
129 |
396 |
2086 |
3 |
| isc_lex_getmastertoken |
|
14 |
32 |
190 |
4 |
| isc_lex_getoctaltoken |
|
9 |
23 |
142 |
3 |
| isc_lex_ungettoken |
|
2 |
14 |
99 |
2 |
| isc_lex_getlasttokentext |
|
2 |
16 |
123 |
3 |
| isc_lex_getsourcename |
|
2 |
8 |
47 |
1 |
| isc_lex_getsourceline |
|
2 |
8 |
47 |
1 |
| isc_lex_setsourcename |
|
3 |
14 |
93 |
2 |
| isc_lex_isfile |
|
2 |
8 |
47 |
1 |
| Source file: ./usr.sbin/bind/lib/isc/sockaddr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| isc_sockaddr_equal |
|
1 |
5 |
30 |
2 |
| isc_sockaddr_eqaddr |
|
1 |
4 |
28 |
2 |
| isc_sockaddr_compare |
|
21 |
39 |
345 |
3 |
| isc_sockaddr_eqaddrprefix |
|
1 |
8 |
53 |
3 |
| isc_sockaddr_totext |
|
8 |
41 |
318 |
2 |
| isc_sockaddr_format |
|
2 |
14 |
86 |
3 |
| isc_sockaddr_hash |
|
5 |
44 |
314 |
2 |
| isc_sockaddr_any |
|
2 |
10 |
90 |
1 |
| isc_sockaddr_any6 |
|
2 |
10 |
88 |
1 |
| isc_sockaddr_fromin |
|
2 |
11 |
101 |
3 |
| isc_sockaddr_anyofpf |
|
3 |
12 |
44 |
2 |
| isc_sockaddr_fromin6 |
|
2 |
11 |
101 |
3 |
| isc_sockaddr_v6fromin |
|
2 |
13 |
141 |
3 |
| isc_sockaddr_pf |
|
4 |
15 |
79 |
1 |
| isc_sockaddr_fromnetaddr |
|
6 |
24 |
207 |
3 |
| isc_sockaddr_setport |
|
3 |
16 |
90 |
2 |
| isc_sockaddr_getport |
|
3 |
18 |
98 |
1 |
| isc_sockaddr_ismulticast |
|
3 |
9 |
58 |
1 |
| isc_sockaddr_isexperimental |
|
2 |
8 |
48 |
1 |
| isc_sockaddr_issitelocal |
|
2 |
8 |
48 |
1 |
| isc_sockaddr_islinklocal |
|
2 |
8 |
48 |
1 |
| isc_sockaddr_frompath |
|
4 |
14 |
137 |
2 |
| Source file: ./usr.sbin/bind/lib/isc/quota.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| isc_quota_init |
|
1 |
6 |
40 |
2 |
| isc_quota_destroy |
|
1 |
7 |
43 |
1 |
| isc_quota_soft |
|
1 |
5 |
33 |
2 |
| isc_quota_max |
|
1 |
5 |
33 |
2 |
| isc_quota_reserve |
|
5 |
14 |
85 |
1 |
| isc_quota_release |
|
1 |
6 |
38 |
1 |
| isc_quota_attach |
|
4 |
9 |
54 |
2 |
| isc_quota_detach |
|
2 |
6 |
31 |
1 |
| Source file: ./usr.sbin/bind/lib/isc/sha1.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| do_R01 |
|
1 |
11 |
328 |
6 |
| do_R2 |
|
1 |
11 |
328 |
6 |
| do_R3 |
|
1 |
11 |
328 |
6 |
| do_R4 |
|
1 |
11 |
328 |
6 |
| transform |
|
2 |
44 |
1429 |
2 |
| isc_sha1_init |
|
1 |
11 |
78 |
1 |
| isc_sha1_invalidate |
|
1 |
3 |
20 |
1 |
| isc_sha1_update |
|
4 |
21 |
200 |
3 |
| isc_sha1_final |
|
6 |
22 |
213 |
2 |
| Source file: ./usr.sbin/bind/lib/isc/timer.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| schedule |
|
25 |
77 |
491 |
3 |
| deschedule |
|
5 |
19 |
104 |
1 |
| destroy |
|
1 |
16 |
103 |
1 |
| isc_timer_create |
|
17 |
72 |
498 |
8 |
| isc_timer_reset |
|
13 |
52 |
304 |
5 |
| isc_timer_gettype |
|
1 |
8 |
46 |
1 |
| isc_timer_touch |
|
1 |
10 |
67 |
1 |
| isc_timer_attach |
|
2 |
8 |
58 |
2 |
| isc_timer_detach |
|
3 |
16 |
93 |
1 |
| dispatch |
|
16 |
99 |
488 |
2 |
| run |
|
4 |
31 |
190 |
1 |
| sooner |
|
2 |
10 |
70 |
2 |
| set_index |
|
1 |
6 |
34 |
2 |
| isc_timermgr_create |
|
9 |
61 |
415 |
2 |
| isc_timermgr_poke |
|
2 |
5 |
29 |
1 |
| isc_timermgr_destroy |
|
6 |
34 |
220 |
1 |
| isc__timermgr_nextevent |
|
3 |
6 |
37 |
1 |
| isc__timermgr_dispatch |
|
2 |
7 |
31 |
1 |
| Source file: ./usr.sbin/bind/lib/isc/result.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| register_table |
|
2 |
21 |
139 |
5 |
| initialize_action |
|
2 |
13 |
68 |
1 |
| initialize |
|
1 |
4 |
23 |
1 |
| isc_result_totext |
|
5 |
24 |
149 |
1 |
| isc_result_register |
|
1 |
6 |
44 |
5 |
| Source file: ./usr.sbin/bind/lib/isc/mutexblock.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| isc_mutexblock_init |
|
4 |
16 |
86 |
2 |
| isc_mutexblock_destroy |
|
3 |
10 |
61 |
2 |
| Source file: ./usr.sbin/bind/lib/isc/error.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| isc_error_setunexpected |
|
2 |
6 |
22 |
1 |
| isc_error_setfatal |
|
2 |
6 |
22 |
1 |
| isc_error_unexpected |
|
1 |
6 |
47 |
4 |
| isc_error_fatal |
|
1 |
7 |
51 |
4 |
| isc_error_runtimecheck |
|
1 |
5 |
39 |
3 |
| default_unexpected_callback |
|
1 |
8 |
52 |
4 |
| default_fatal_callback |
|
1 |
10 |
63 |
4 |
| Source file: ./usr.sbin/bind/lib/isc/symtab.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| isc_symtab_create |
|
5 |
31 |
205 |
6 |
| isc_symtab_destroy |
|
4 |
24 |
185 |
1 |
| hash |
|
4 |
17 |
111 |
2 |
| isc_symtab_lookup |
|
3 |
14 |
86 |
4 |
| isc_symtab_define |
|
6 |
30 |
221 |
5 |
| isc_symtab_undefine |
|
3 |
15 |
129 |
3 |
| Source file: ./usr.sbin/bind/lib/isc/task.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| task_finished |
|
3 |
17 |
132 |
1 |
| isc_task_create |
|
8 |
47 |
312 |
3 |
| isc_task_attach |
|
2 |
9 |
65 |
2 |
| task_shutdown |
|
5 |
25 |
157 |
1 |
| task_ready |
|
2 |
10 |
73 |
1 |
| task_detach |
|
3 |
11 |
69 |
1 |
| isc_task_detach |
|
2 |
14 |
77 |
1 |
| task_send |
|
3 |
20 |
129 |
2 |
| isc_task_send |
|
2 |
11 |
64 |
2 |
| isc_task_sendanddetach |
|
4 |
16 |
104 |
2 |
| dequeue_events |
|
10 |
24 |
187 |
7 |
| isc_task_purgerange |
|
2 |
16 |
105 |
5 |
| isc_task_purge |
|
1 |
6 |
40 |
4 |
| isc_task_purgeevent |
|
5 |
19 |
121 |
2 |
| isc_task_unsendrange |
|
1 |
8 |
51 |
6 |
| isc_task_unsend |
|
1 |
7 |
48 |
5 |
| isc_task_onshutdown |
|
4 |
26 |
152 |
3 |
| isc_task_shutdown |
|
2 |
9 |
51 |
1 |
| isc_task_destroy |
|
1 |
5 |
26 |
1 |
| isc_task_setname |
|
2 |
10 |
89 |
3 |
| isc_task_getname |
|
1 |
3 |
15 |
1 |
| isc_task_gettag |
|
1 |
3 |
15 |
1 |
| isc_task_getcurrenttime |
|
1 |
7 |
50 |
2 |
| dispatch |
|
25 |
111 |
612 |
1 |
| run |
|
1 |
9 |
55 |
1 |
| manager_free |
|
2 |
11 |
84 |
1 |
| isc_taskmgr_create |
|
15 |
85 |
485 |
4 |
| isc_taskmgr_destroy |
|
8 |
38 |
256 |
1 |
| isc__taskmgr_ready |
|
2 |
5 |
31 |
1 |
| isc__taskmgr_dispatch |
|
2 |
7 |
33 |
1 |
| isc_task_beginexclusive |
|
4 |
16 |
101 |
1 |
| isc_task_endexclusive |
|
2 |
10 |
67 |
1 |
| Source file: ./usr.sbin/bind/lib/isc/ondestroy.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| isc_ondestroy_init |
|
1 |
4 |
21 |
1 |
| isc_ondestroy_register |
|
1 |
15 |
90 |
3 |
| isc_ondestroy_notify |
|
2 |
13 |
86 |
2 |
| Source file: ./usr.sbin/bind/lib/isc/string.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| isc_string_touint64 |
|
18 |
55 |
328 |
3 |
| isc_string_copy |
|
2 |
9 |
67 |
3 |
| isc_string_copy_truncate |
|
1 |
5 |
42 |
3 |
| isc_string_append |
|
2 |
10 |
77 |
3 |
| isc_string_append_truncate |
|
1 |
6 |
52 |
3 |
| isc_string_printf |
|
2 |
14 |
93 |
4 |
| isc_string_printf_truncate |
|
1 |
9 |
66 |
4 |
| isc_string_regiondup |
|
2 |
11 |
83 |
2 |
| isc_string_separate |
|
5 |
17 |
115 |
2 |
| isc_string_strlcpy |
|
8 |
19 |
109 |
3 |
| isc_string_strlcat |
|
6 |
22 |
126 |
3 |
| Source file: ./usr.sbin/bind/lib/isc/print.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| isc_print_sprintf |
|
1 |
7 |
47 |
3 |
| isc_print_snprintf |
|
1 |
8 |
54 |
4 |
| isc_print_vsnprintf |
|
155 |
453 |
2275 |
4 |
| Source file: ./usr.sbin/bind/lib/isc/assertions.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| isc_assertion_setcallback |
|
2 |
6 |
22 |
1 |
| isc_assertion_typetotext |
|
5 |
20 |
65 |
1 |
| default_callback |
|
1 |
10 |
58 |
4 |
| Source file: ./usr.sbin/bind/lib/isc/md5.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| byteSwap |
|
2 |
9 |
82 |
2 |
| isc_md5_init |
|
1 |
8 |
62 |
1 |
| isc_md5_invalidate |
|
1 |
3 |
20 |
1 |
| transform |
|
1 |
75 |
1491 |
2 |
| isc_md5_update |
|
4 |
24 |
201 |
3 |
| isc_md5_final |
|
2 |
21 |
214 |
2 |
| Source file: ./usr.sbin/bind/lib/isc/timer_p.h |
| Source file: ./usr.sbin/bind/lib/isc/bufferlist.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| isc_bufferlist_usedcount |
|
2 |
13 |
72 |
1 |
| isc_bufferlist_availablecount |
|
2 |
13 |
72 |
1 |
| Source file: ./usr.sbin/bind/lib/isc/event.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| destroy |
|
1 |
4 |
27 |
1 |
| isc_event_allocate |
|
2 |
15 |
107 |
6 |
| isc_event_free |
|
2 |
9 |
53 |
1 |
| Source file: ./usr.sbin/bind/lib/isc/log.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| isc_log_create |
|
10 |
42 |
270 |
3 |
| isc_logconfig_create |
|
9 |
61 |
343 |
2 |
| isc_logconfig_get |
|
1 |
5 |
32 |
1 |
| isc_logconfig_use |
|
2 |
16 |
101 |
2 |
| isc_log_destroy |
|
4 |
30 |
203 |
1 |
| isc_logconfig_destroy |
|
10 |
41 |
332 |
1 |
| isc_log_registercategories |
|
6 |
18 |
134 |
2 |
| isc_log_categorybyname |
|
4 |
14 |
93 |
2 |
| isc_log_registermodules |
|
6 |
18 |
134 |
2 |
| isc_log_modulebyname |
|
4 |
14 |
93 |
2 |
| isc_log_createchannel |
|
12 |
58 |
394 |
6 |
| isc_log_usechannel |
|
9 |
29 |
206 |
4 |
| isc_log_write |
|
1 |
9 |
64 |
6 |
| isc_log_vwrite |
|
1 |
7 |
50 |
6 |
| isc_log_write1 |
|
1 |
9 |
64 |
6 |
| isc_log_vwrite1 |
|
1 |
7 |
50 |
6 |
| isc_log_iwrite |
|
1 |
11 |
74 |
9 |
| isc_log_ivwrite |
|
1 |
8 |
60 |
9 |
| isc_log_iwrite1 |
|
1 |
11 |
74 |
9 |
| isc_log_ivwrite1 |
|
1 |
8 |
60 |
9 |
| isc_log_setcontext |
|
1 |
3 |
12 |
1 |
| isc_log_setdebuglevel |
|
6 |
17 |
125 |
2 |
| isc_log_getdebuglevel |
|
1 |
4 |
23 |
1 |
| isc_log_setduplicateinterval |
|
1 |
4 |
26 |
2 |
| isc_log_getduplicateinterval |
|
1 |
4 |
23 |
1 |
| isc_log_settag |
|
6 |
15 |
118 |
2 |
| isc_log_gettag |
|
1 |
4 |
23 |
1 |
| isc_log_opensyslog |
|
1 |
3 |
27 |
3 |
| isc_log_closefilelogs |
|
4 |
14 |
97 |
1 |
| assignchannel |
|
7 |
29 |
194 |
4 |
| sync_channellist |
|
4 |
24 |
170 |
1 |
| greatest_version |
|
17 |
45 |
314 |
2 |
| roll_log |
|
26 |
69 |
458 |
1 |
| isc_log_open |
|
14 |
40 |
253 |
1 |
| isc_log_wouldlog |
|
5 |
7 |
56 |
2 |
| isc_log_doit |
|
73 |
228 |
1382 |
10 |
| Source file: ./usr.sbin/bind/lib/isc/taskpool.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| isc_taskpool_create |
|
6 |
30 |
206 |
5 |
| isc_taskpool_gettask |
|
1 |
5 |
32 |
3 |
| isc_taskpool_destroy |
|
3 |
13 |
101 |
1 |
| Source file: ./usr.sbin/bind/lib/isc/inet_ntop.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| isc_net_ntop |
|
4 |
12 |
66 |
4 |
| inet_ntop4 |
|
2 |
12 |
98 |
3 |
| inet_ntop6 |
|
28 |
63 |
530 |
3 |
| Source file: ./usr.sbin/bind/lib/isc/base32.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| base32_totext |
|
12 |
60 |
667 |
6 |
| isc_base32_totext |
|
1 |
6 |
38 |
4 |
| isc_base32hex_totext |
|
1 |
6 |
38 |
4 |
| isc_base32hexnp_totext |
|
1 |
6 |
38 |
4 |
| base32_decode_init |
|
1 |
11 |
66 |
5 |
| base32_decode_char |
|
27 |
68 |
565 |
2 |
| base32_decode_finish |
|
6 |
13 |
82 |
1 |
| base32_tobuffer |
|
8 |
27 |
187 |
5 |
| isc_base32_tobuffer |
|
1 |
3 |
31 |
3 |
| isc_base32hex_tobuffer |
|
1 |
3 |
31 |
3 |
| isc_base32hexnp_tobuffer |
|
1 |
3 |
31 |
3 |
| base32_decodestring |
|
7 |
16 |
107 |
4 |
| isc_base32_decodestring |
|
1 |
3 |
27 |
2 |
| isc_base32hex_decodestring |
|
1 |
3 |
27 |
2 |
| isc_base32hexnp_decodestring |
|
1 |
3 |
27 |
2 |
| base32_decoderegion |
|
2 |
13 |
89 |
4 |
| isc_base32_decoderegion |
|
1 |
3 |
26 |
2 |
| isc_base32hex_decoderegion |
|
1 |
3 |
26 |
2 |
| isc_base32hexnp_decoderegion |
|
1 |
3 |
26 |
2 |
| str_totext |
|
2 |
11 |
71 |
2 |
| mem_tobuffer |
|
2 |
9 |
63 |
3 |
| Source file: ./usr.sbin/bind/lib/isc/shuffle.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| isc_shuffle_init |
|
2 |
11 |
74 |
1 |
| isc_shuffle_generate16 |
|
2 |
17 |
109 |
1 |
| Source file: ./usr.sbin/bind/lib/isc/netscope.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| isc_netscope_pton |
|
8 |
23 |
146 |
4 |
| Source file: ./usr.sbin/bind/lib/isc/strtoul.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| isc_strtoul |
|
25 |
52 |
346 |
3 |
| Source file: ./usr.sbin/bind/lib/isc/fsaccess.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| isc_fsaccess_add |
|
4 |
10 |
83 |
3 |
| isc_fsaccess_remove |
|
4 |
10 |
83 |
3 |
| check_bad_bits |
|
4 |
21 |
82 |
2 |
| Source file: ./usr.sbin/bind/lib/isc/commandline.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| isc_commandline_parse |
|
22 |
63 |
328 |
3 |
| Source file: ./usr.sbin/bind/lib/isc/lfsr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| isc_lfsr_init |
|
5 |
18 |
131 |
7 |
| lfsr_generate |
|
5 |
16 |
107 |
1 |
| isc_lfsr_generate |
|
6 |
26 |
159 |
3 |
| lfsr_skipgenerate |
|
2 |
7 |
40 |
2 |
| isc_lfsr_skip |
|
2 |
6 |
33 |
2 |
| isc_lfsr_generate32 |
|
1 |
12 |
79 |
2 |
| Source file: ./usr.sbin/bind/lib/isc/sha2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| isc_sha224_init |
|
2 |
9 |
50 |
1 |
| isc_sha224_update |
|
1 |
3 |
29 |
3 |
| isc_sha224_final |
|
1 |
6 |
48 |
2 |
| isc_sha224_end |
|
3 |
18 |
141 |
2 |
| isc_sha224_data |
|
1 |
8 |
48 |
3 |
| isc_sha256_init |
|
2 |
9 |
50 |
1 |
| isc_sha256_transform |
|
3 |
44 |
545 |
2 |
| isc_sha256_transform |
|
4 |
57 |
516 |
2 |
| isc_sha256_update |
|
7 |
37 |
255 |
3 |
| isc_sha256_final |
|
8 |
42 |
302 |
2 |
| isc_sha256_end |
|
3 |
18 |
141 |
2 |
| isc_sha256_data |
|
1 |
8 |
48 |
3 |
| isc_sha512_init |
|
2 |
9 |
60 |
1 |
| isc_sha512_transform |
|
3 |
43 |
543 |
2 |
| isc_sha512_transform |
|
4 |
56 |
514 |
2 |
| isc_sha512_update |
|
7 |
37 |
270 |
3 |
| isc_sha512_last |
|
5 |
28 |
241 |
1 |
| isc_sha512_final |
|
4 |
16 |
123 |
2 |
| isc_sha512_end |
|
3 |
18 |
141 |
2 |
| isc_sha512_data |
|
1 |
8 |
48 |
3 |
| isc_sha384_init |
|
2 |
9 |
60 |
1 |
| isc_sha384_update |
|
1 |
3 |
29 |
3 |
| isc_sha384_final |
|
4 |
16 |
127 |
2 |
| isc_sha384_end |
|
3 |
18 |
141 |
2 |
| isc_sha384_data |
|
1 |
8 |
48 |
3 |
| Source file: ./usr.sbin/bind/lib/isc/hash.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| isc_hash_ctxcreate |
|
9 |
49 |
318 |
4 |
| initialize_lock |
|
1 |
3 |
17 |
1 |
| isc_hash_create |
|
2 |
11 |
84 |
3 |
| isc_hash_ctxinit |
|
5 |
30 |
195 |
1 |
| isc_hash_init |
|
2 |
4 |
22 |
0 |
| isc_hash_ctxattach |
|
2 |
6 |
47 |
2 |
| destroy |
|
4 |
19 |
143 |
1 |
| isc_hash_ctxdetach |
|
3 |
10 |
62 |
1 |
| isc_hash_destroy |
|
2 |
7 |
45 |
0 |
| hash_calc |
|
5 |
18 |
141 |
4 |
| isc_hash_ctxcalc |
|
2 |
7 |
56 |
4 |
| isc_hash_calc |
|
2 |
7 |
52 |
3 |
| Source file: ./usr.sbin/bind/lib/isc/rwlock.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| print_lock |
|
3 |
20 |
115 |
3 |
| isc_rwlock_init |
|
9 |
61 |
323 |
3 |
| isc_rwlock_destroy |
|
6 |
14 |
112 |
1 |
| isc_rwlock_lock |
|
14 |
57 |
385 |
2 |
| isc_rwlock_trylock |
|
9 |
32 |
215 |
2 |
| isc_rwlock_tryupgrade |
|
3 |
13 |
85 |
1 |
| isc_rwlock_downgrade |
|
2 |
12 |
101 |
1 |
| isc_rwlock_unlock |
|
12 |
39 |
265 |
2 |
| doit |
|
17 |
57 |
328 |
3 |
| isc_rwlock_lock |
|
1 |
3 |
23 |
2 |
| isc_rwlock_trylock |
|
1 |
3 |
23 |
2 |
| isc_rwlock_tryupgrade |
|
3 |
15 |
97 |
1 |
| isc_rwlock_downgrade |
|
6 |
14 |
110 |
1 |
| isc_rwlock_unlock |
|
12 |
47 |
302 |
2 |
| isc_rwlock_init |
|
1 |
11 |
56 |
3 |
| isc_rwlock_lock |
|
5 |
15 |
90 |
2 |
| isc_rwlock_trylock |
|
1 |
3 |
21 |
2 |
| isc_rwlock_tryupgrade |
|
2 |
11 |
63 |
1 |
| isc_rwlock_downgrade |
|
1 |
6 |
40 |
1 |
| isc_rwlock_unlock |
|
1 |
8 |
52 |
2 |
| isc_rwlock_destroy |
|
1 |
5 |
30 |
1 |
| Source file: ./usr.sbin/bind/lib/isc/bitstring.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| isc_bitstring_init |
|
1 |
12 |
75 |
5 |
| isc_bitstring_invalidate |
|
1 |
8 |
46 |
1 |
| isc_bitstring_copy |
|
6 |
35 |
216 |
5 |
| Source file: ./usr.sbin/bind/lib/isc/serial.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| isc_serial_lt |
|
3 |
5 |
45 |
2 |
| isc_serial_gt |
|
2 |
3 |
30 |
2 |
| isc_serial_le |
|
2 |
3 |
28 |
2 |
| isc_serial_ge |
|
2 |
3 |
28 |
2 |
| isc_serial_eq |
|
2 |
3 |
23 |
2 |
| isc_serial_ne |
|
2 |
3 |
23 |
2 |
| Source file: ./usr.sbin/bind/lib/isc/mem.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| add_trace_entry |
|
9 |
48 |
331 |
3 |
| delete_trace_entry |
|
8 |
37 |
240 |
5 |
| rmsize |
|
1 |
3 |
20 |
1 |
| quantize |
|
2 |
5 |
37 |
1 |
| more_basic_blocks |
|
11 |
54 |
391 |
1 |
| more_frags |
|
5 |
35 |
247 |
2 |
| mem_getunlocked |
|
10 |
33 |
247 |
2 |
| check_overrun |
|
2 |
10 |
54 |
3 |
| mem_putunlocked |
|
6 |
21 |
200 |
3 |
| mem_get |
|
7 |
12 |
80 |
2 |
| mem_put |
|
3 |
6 |
59 |
3 |
| mem_getstats |
|
2 |
11 |
80 |
2 |
| mem_putstats |
|
2 |
12 |
100 |
3 |
| default_memalloc |
|
2 |
6 |
34 |
2 |
| default_memfree |
|
1 |
4 |
22 |
2 |
| initialize_action |
|
1 |
4 |
22 |
1 |
| isc_mem_createx |
|
1 |
7 |
44 |
6 |
| isc_mem_createx2 |
|
21 |
104 |
720 |
7 |
| isc_mem_create |
|
1 |
7 |
34 |
3 |
| isc_mem_create2 |
|
1 |
7 |
38 |
4 |
| destroy |
|
15 |
49 |
415 |
1 |
| isc_mem_attach |
|
2 |
8 |
62 |
2 |
| isc_mem_detach |
|
3 |
16 |
97 |
1 |
| isc__mem_putanddetach |
|
9 |
45 |
318 |
3 |
| isc_mem_destroy |
|
3 |
14 |
91 |
1 |
| isc_mem_ondestroy |
|
1 |
7 |
58 |
3 |
| isc__mem_get |
|
12 |
33 |
259 |
2 |
| isc__mem_put |
|
10 |
37 |
275 |
3 |
| print_active |
|
8 |
34 |
210 |
2 |
| isc_mem_stats |
|
12 |
54 |
387 |
2 |
| isc__mem_allocateunlocked |
|
5 |
18 |
115 |
2 |
| isc__mem_allocate |
|
12 |
31 |
250 |
2 |
| isc__mem_free |
|
8 |
33 |
265 |
2 |
| isc__mem_strdup |
|
2 |
11 |
77 |
2 |
| isc_mem_setdestroycheck |
|
1 |
6 |
45 |
2 |
| isc_mem_setquota |
|
1 |
6 |
45 |
2 |
| isc_mem_getquota |
|
1 |
8 |
50 |
1 |
| isc_mem_inuse |
|
1 |
8 |
50 |
1 |
| isc_mem_setwater |
|
9 |
33 |
208 |
5 |
| isc_mempool_create |
|
4 |
26 |
185 |
3 |
| isc_mempool_setname |
|
4 |
10 |
76 |
2 |
| isc_mempool_destroy |
|
7 |
41 |
273 |
1 |
| isc_mempool_associatelock |
|
1 |
6 |
42 |
2 |
| isc__mempool_get |
|
12 |
54 |
339 |
1 |
| isc__mempool_put |
|
7 |
35 |
267 |
2 |
| isc_mempool_setfreemax |
|
3 |
8 |
56 |
2 |
| isc_mempool_getfreemax |
|
3 |
10 |
61 |
1 |
| isc_mempool_getfreecount |
|
3 |
10 |
61 |
1 |
| isc_mempool_setmaxalloc |
|
3 |
9 |
63 |
2 |
| isc_mempool_getmaxalloc |
|
3 |
10 |
61 |
1 |
| isc_mempool_getallocated |
|
3 |
10 |
61 |
1 |
| isc_mempool_setfillcount |
|
3 |
9 |
63 |
2 |
| isc_mempool_getfillcount |
|
3 |
10 |
61 |
1 |
| isc_mem_printactive |
|
2 |
7 |
44 |
2 |
| isc_mem_printallactive |
|
3 |
13 |
82 |
1 |
| isc_mem_checkdestroyed |
|
4 |
16 |
97 |
1 |
| Source file: ./usr.sbin/bind/lib/isc/task_p.h |
| Source file: ./usr.sbin/bind/lib/isccc/include/isccc/types.h |
| Source file: ./usr.sbin/bind/lib/isccc/include/isccc/version.h |
| Source file: ./usr.sbin/bind/lib/isc/hex.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| isc_hex_totext |
|
5 |
23 |
169 |
4 |
| hex_decode_init |
|
1 |
6 |
33 |
3 |
| hex_decode_char |
|
5 |
19 |
145 |
2 |
| hex_decode_finish |
|
3 |
7 |
39 |
1 |
| isc_hex_tobuffer |
|
6 |
25 |
162 |
3 |
| isc_hex_decodestring |
|
7 |
14 |
93 |
2 |
| str_totext |
|
2 |
11 |
71 |
2 |
| mem_tobuffer |
|
2 |
9 |
63 |
3 |
| Source file: ./usr.sbin/bind/lib/isccc/include/isccc/alist.h |
| Source file: ./usr.sbin/bind/lib/isccc/include/isccc/util.h |
| Source file: ./usr.sbin/bind/lib/isccc/include/isccc/ccmsg.h |
| Source file: ./usr.sbin/bind/lib/isc/hmacsha.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| isc_hmacsha1_init |
|
3 |
19 |
159 |
3 |
| isc_hmacsha1_invalidate |
|
1 |
3 |
21 |
1 |
| isc_hmacsha1_update |
|
1 |
5 |
30 |
3 |
| isc_hmacsha1_sign |
|
2 |
17 |
159 |
3 |
| isc_hmacsha1_verify |
|
1 |
6 |
56 |
3 |
| isc_hmacsha224_init |
|
3 |
19 |
159 |
3 |
| isc_hmacsha224_invalidate |
|
1 |
3 |
21 |
1 |
| isc_hmacsha224_update |
|
1 |
5 |
30 |
3 |
| isc_hmacsha224_sign |
|
2 |
16 |
154 |
3 |
| isc_hmacsha224_verify |
|
1 |
6 |
56 |
3 |
| isc_hmacsha256_init |
|
3 |
19 |
159 |
3 |
| isc_hmacsha256_invalidate |
|
1 |
3 |
21 |
1 |
| isc_hmacsha256_update |
|
1 |
5 |
30 |
3 |
| isc_hmacsha256_sign |
|
2 |
16 |
154 |
3 |
| isc_hmacsha256_verify |
|
1 |
6 |
56 |
3 |
| isc_hmacsha384_init |
|
3 |
19 |
159 |
3 |
| isc_hmacsha384_invalidate |
|
1 |
3 |
21 |
1 |
| isc_hmacsha384_update |
|
1 |
5 |
30 |
3 |
| isc_hmacsha384_sign |
|
2 |
16 |
154 |
3 |
| isc_hmacsha384_verify |
|
1 |
6 |
56 |
3 |
| isc_hmacsha512_init |
|
3 |
19 |
159 |
3 |
| isc_hmacsha512_invalidate |
|
1 |
3 |
21 |
1 |
| isc_hmacsha512_update |
|
1 |
5 |
30 |
3 |
| isc_hmacsha512_sign |
|
2 |
16 |
154 |
3 |
| isc_hmacsha512_verify |
|
1 |
6 |
56 |
3 |
| Source file: ./usr.sbin/bind/lib/isccc/include/isccc/sexpr.h |
| Source file: ./usr.sbin/bind/lib/isccc/include/isccc/symtype.h |
| Source file: ./usr.sbin/bind/lib/isccc/include/isccc/symtab.h |
| Source file: ./usr.sbin/bind/lib/isccc/include/isccc/events.h |
| Source file: ./usr.sbin/bind/lib/isccc/include/isccc/result.h |
| Source file: ./usr.sbin/bind/lib/isccc/include/isccc/lib.h |
| Source file: ./usr.sbin/bind/lib/isccc/include/isccc/base64.h |
| Source file: ./usr.sbin/bind/lib/isccc/version.c |
| Source file: ./usr.sbin/bind/lib/isccc/include/isccc/cc.h |
| Source file: ./usr.sbin/bind/lib/isccc/lib.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| open_msgcat |
|
1 |
3 |
14 |
1 |
| isccc_lib_initmsgcat |
|
1 |
3 |
19 |
1 |
| Source file: ./usr.sbin/bind/lib/isccc/result.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| initialize_action |
|
2 |
9 |
41 |
1 |
| initialize |
|
1 |
4 |
23 |
1 |
| isccc_result_totext |
|
1 |
4 |
19 |
1 |
| isccc_result_register |
|
1 |
3 |
10 |
1 |
| Source file: ./usr.sbin/bind/lib/isccc/base64.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| isccc_base64_encode |
|
2 |
16 |
116 |
4 |
| isccc_base64_decode |
|
2 |
10 |
73 |
2 |
| Source file: ./usr.sbin/bind/lib/isc/ratelimiter.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| isc_ratelimiter_create |
|
5 |
38 |
244 |
4 |
| isc_ratelimiter_setinterval |
|
2 |
11 |
75 |
2 |
| isc_ratelimiter_setpertic |
|
2 |
5 |
27 |
2 |
| isc_ratelimiter_enqueue |
|
8 |
32 |
209 |
3 |
| ratelimiter_tick |
|
4 |
30 |
176 |
2 |
| isc_ratelimiter_shutdown |
|
2 |
18 |
129 |
1 |
| ratelimiter_shutdowncomplete |
|
1 |
5 |
35 |
2 |
| ratelimiter_free |
|
1 |
4 |
31 |
1 |
| isc_ratelimiter_attach |
|
2 |
10 |
75 |
2 |
| isc_ratelimiter_detach |
|
3 |
13 |
76 |
1 |
| isc_ratelimiter_stall |
|
5 |
19 |
92 |
1 |
| isc_ratelimiter_release |
|
7 |
24 |
115 |
1 |
| Source file: ./usr.sbin/bind/lib/isccc/symtab.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| isccc_symtab_create |
|
5 |
28 |
168 |
5 |
| free_elt |
|
2 |
7 |
66 |
3 |
| isccc_symtab_destroy |
|
3 |
20 |
125 |
1 |
| hash |
|
6 |
26 |
181 |
2 |
| isccc_symtab_lookup |
|
3 |
14 |
86 |
4 |
| isccc_symtab_define |
|
6 |
30 |
209 |
5 |
| isccc_symtab_undefine |
|
2 |
11 |
78 |
3 |
| isccc_symtab_foreach |
|
4 |
17 |
121 |
3 |
| Source file: ./usr.sbin/bind/lib/isccc/sexpr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| isccc_sexpr_cons |
|
2 |
11 |
63 |
2 |
| isccc_sexpr_tconst |
|
1 |
4 |
12 |
1 |
| isccc_sexpr_fromstring |
|
3 |
14 |
79 |
1 |
| isccc_sexpr_frombinary |
|
3 |
20 |
145 |
1 |
| isccc_sexpr_free |
|
7 |
26 |
120 |
1 |
| printable |
|
3 |
11 |
51 |
1 |
| isccc_sexpr_print |
|
11 |
48 |
270 |
2 |
| isccc_sexpr_car |
|
1 |
5 |
25 |
1 |
| isccc_sexpr_cdr |
|
1 |
5 |
25 |
1 |
| isccc_sexpr_setcar |
|
1 |
5 |
28 |
2 |
| isccc_sexpr_setcdr |
|
1 |
5 |
28 |
2 |
| isccc_sexpr_addtolist |
|
5 |
18 |
118 |
2 |
| isccc_sexpr_listp |
|
3 |
6 |
30 |
1 |
| isccc_sexpr_emptyp |
|
2 |
6 |
24 |
1 |
| isccc_sexpr_stringp |
|
3 |
6 |
30 |
1 |
| isccc_sexpr_binaryp |
|
3 |
6 |
30 |
1 |
| isccc_sexpr_tostring |
|
4 |
9 |
61 |
1 |
| isccc_sexpr_tobinary |
|
2 |
5 |
31 |
1 |
| Source file: ./usr.sbin/bind/lib/dns/rdata/any_255/tsig_250.h |
| Source file: ./usr.sbin/bind/lib/isccc/ccmsg.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| recv_length |
|
6 |
42 |
256 |
2 |
| recv_message |
|
2 |
19 |
125 |
2 |
| isccc_ccmsg_init |
|
1 |
14 |
95 |
3 |
| isccc_ccmsg_setmaxsize |
|
1 |
4 |
26 |
2 |
| isccc_ccmsg_readmessage |
|
3 |
29 |
208 |
4 |
| isccc_ccmsg_cancelread |
|
1 |
4 |
27 |
1 |
| isccc_ccmsg_freebuffer |
|
2 |
8 |
63 |
1 |
| isccc_ccmsg_invalidate |
|
2 |
10 |
69 |
1 |
| Source file: ./usr.sbin/bind/lib/isc/entropy.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| samplequeue_release |
|
1 |
8 |
72 |
2 |
| samplesource_allocate |
|
3 |
13 |
102 |
2 |
| add_entropy |
|
1 |
5 |
41 |
2 |
| subtract_entropy |
|
1 |
4 |
32 |
2 |
| add_pseudo |
|
1 |
5 |
45 |
2 |
| subtract_pseudo |
|
1 |
4 |
32 |
2 |
| entropypool_add_word |
|
2 |
13 |
180 |
2 |
| entropypool_adddata |
|
10 |
43 |
237 |
4 |
| reseed |
|
4 |
16 |
114 |
1 |
| estimate_entropy |
|
8 |
23 |
134 |
2 |
| crunchsamples |
|
5 |
22 |
217 |
2 |
| get_from_callback |
|
11 |
33 |
208 |
3 |
| isc_entropy_getdata |
|
12 |
73 |
504 |
5 |
| isc_entropypool_init |
|
1 |
7 |
45 |
1 |
| isc_entropypool_invalidate |
|
1 |
7 |
43 |
1 |
| isc_entropy_create |
|
4 |
27 |
176 |
2 |
| destroysource |
|
9 |
35 |
219 |
1 |
| destroy_check |
|
5 |
17 |
79 |
1 |
| destroy |
|
5 |
28 |
177 |
1 |
| isc_entropy_destroysource |
|
2 |
17 |
98 |
1 |
| isc_entropy_createcallbacksource |
|
5 |
46 |
282 |
6 |
| isc_entropy_stopcallbacksources |
|
5 |
18 |
116 |
1 |
| isc_entropy_createsamplesource |
|
5 |
35 |
225 |
2 |
| addsample |
|
3 |
10 |
72 |
3 |
| isc_entropy_addsample |
|
2 |
19 |
110 |
3 |
| isc_entropy_addcallbacksample |
|
1 |
11 |
65 |
3 |
| isc_entropy_putdata |
|
2 |
10 |
68 |
4 |
| dumpstats |
|
1 |
13 |
76 |
2 |
| isc_entropy_stats |
|
1 |
6 |
43 |
2 |
| isc_entropy_attach |
|
2 |
8 |
58 |
2 |
| isc_entropy_detach |
|
3 |
14 |
85 |
1 |
| kbdstart |
|
4 |
15 |
79 |
3 |
| kbdstop |
|
2 |
6 |
48 |
2 |
| kbdget |
|
4 |
24 |
136 |
3 |
| isc_entropy_usebestsource |
|
15 |
37 |
196 |
4 |
| Source file: ./usr.sbin/bind/lib/dns/rdata/hs_4/a_1.h |
| Source file: ./usr.sbin/bind/lib/dns/rdata/in_1/naptr_35.h |
| Source file: ./usr.sbin/bind/lib/isccc/alist.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| isccc_alist_create |
|
3 |
13 |
64 |
1 |
| isccc_alist_alistp |
|
6 |
12 |
78 |
1 |
| isccc_alist_emptyp |
|
2 |
7 |
35 |
1 |
| isccc_alist_first |
|
1 |
5 |
24 |
1 |
| isccc_alist_assq |
|
4 |
17 |
113 |
2 |
| isccc_alist_delete |
|
5 |
22 |
148 |
2 |
| isccc_alist_define |
|
5 |
24 |
143 |
3 |
| isccc_alist_definestring |
|
3 |
11 |
71 |
3 |
| isccc_alist_definebinary |
|
3 |
11 |
70 |
3 |
| isccc_alist_lookup |
|
2 |
8 |
45 |
2 |
| isccc_alist_lookupstring |
|
4 |
15 |
87 |
3 |
| isccc_alist_lookupbinary |
|
4 |
15 |
87 |
3 |
| isccc_alist_prettyprint |
|
7 |
40 |
292 |
3 |
| Source file: ./usr.sbin/bind/lib/dns/rdata/in_1/px_26.h |
| Source file: ./usr.sbin/bind/lib/dns/rdata/hs_4/a_1.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fromtext_hs_a |
|
3 |
21 |
134 |
1 |
| totext_hs_a |
|
1 |
9 |
62 |
1 |
| fromwire_hs_a |
|
3 |
20 |
120 |
1 |
| towire_hs_a |
|
2 |
13 |
91 |
1 |
| compare_hs_a |
|
3 |
13 |
106 |
1 |
| fromstruct_hs_a |
|
1 |
13 |
89 |
1 |
| tostruct_hs_a |
|
1 |
16 |
112 |
1 |
| freestruct_hs_a |
|
1 |
4 |
18 |
1 |
| additionaldata_hs_a |
|
1 |
8 |
44 |
1 |
| digest_hs_a |
|
1 |
7 |
48 |
1 |
| checkowner_hs_a |
|
1 |
9 |
45 |
1 |
| checknames_hs_a |
|
1 |
8 |
44 |
1 |
| Source file: ./usr.sbin/bind/lib/dns/rdata/any_255/tsig_250.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fromtext_any_tsig |
|
12 |
64 |
523 |
1 |
| totext_any_tsig |
|
5 |
76 |
666 |
1 |
| fromwire_any_tsig |
|
7 |
38 |
296 |
1 |
| towire_any_tsig |
|
1 |
15 |
115 |
1 |
| compare_any_tsig |
|
2 |
25 |
187 |
1 |
| fromstruct_any_tsig |
|
3 |
29 |
262 |
1 |
| tostruct_any_tsig |
|
6 |
53 |
487 |
1 |
| freestruct_any_tsig |
|
4 |
14 |
111 |
1 |
| additionaldata_any_tsig |
|
1 |
8 |
44 |
1 |
| digest_any_tsig |
|
1 |
8 |
44 |
1 |
| checkowner_any_tsig |
|
1 |
9 |
45 |
1 |
| checknames_any_tsig |
|
1 |
8 |
44 |
1 |
| Source file: ./usr.sbin/bind/lib/dns/rdata/in_1/aaaa_28.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fromtext_in_aaaa |
|
3 |
22 |
138 |
1 |
| totext_in_aaaa |
|
1 |
9 |
62 |
1 |
| fromwire_in_aaaa |
|
3 |
20 |
120 |
1 |
| towire_in_aaaa |
|
2 |
13 |
91 |
1 |
| compare_in_aaaa |
|
1 |
13 |
98 |
1 |
| fromstruct_in_aaaa |
|
1 |
11 |
81 |
1 |
| tostruct_in_aaaa |
|
1 |
16 |
121 |
1 |
| freestruct_in_aaaa |
|
1 |
7 |
46 |
1 |
| additionaldata_in_aaaa |
|
1 |
8 |
44 |
1 |
| digest_in_aaaa |
|
1 |
7 |
48 |
1 |
| checkowner_in_aaaa |
|
1 |
7 |
40 |
1 |
| checknames_in_aaaa |
|
1 |
8 |
44 |
1 |
| Source file: ./usr.sbin/bind/lib/dns/rdata/in_1/a6_38.h |
| Source file: ./usr.sbin/bind/lib/dns/rdata/in_1/nsap-ptr_23.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fromtext_in_nsap_ptr |
|
2 |
17 |
115 |
1 |
| totext_in_nsap_ptr |
|
1 |
15 |
106 |
1 |
| fromwire_in_nsap_ptr |
|
1 |
10 |
65 |
1 |
| towire_in_nsap_ptr |
|
1 |
13 |
87 |
1 |
| compare_in_nsap_ptr |
|
1 |
19 |
138 |
1 |
| fromstruct_in_nsap_ptr |
|
1 |
13 |
90 |
1 |
| tostruct_in_nsap_ptr |
|
1 |
19 |
144 |
1 |
| freestruct_in_nsap_ptr |
|
2 |
10 |
69 |
1 |
| additionaldata_in_nsap_ptr |
|
1 |
8 |
44 |
1 |
| digest_in_nsap_ptr |
|
1 |
10 |
68 |
1 |
| checkowner_in_nsap_ptr |
|
1 |
9 |
45 |
1 |
| checknames_in_nsap_ptr |
|
1 |
8 |
44 |
1 |
| Source file: ./usr.sbin/bind/lib/dns/rdata/in_1/aaaa_28.h |
| Source file: ./usr.sbin/bind/lib/isccc/cc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| value_towire |
|
10 |
45 |
325 |
2 |
| table_towire |
|
4 |
25 |
161 |
2 |
| list_towire |
|
3 |
11 |
58 |
2 |
| sign |
|
2 |
21 |
153 |
4 |
| isccc_cc_towire |
|
5 |
23 |
155 |
3 |
| verify |
|
5 |
32 |
228 |
4 |
| value_fromwire |
|
7 |
31 |
189 |
2 |
| table_fromwire |
|
12 |
48 |
271 |
3 |
| list_fromwire |
|
4 |
21 |
111 |
2 |
| isccc_cc_fromwire |
|
3 |
13 |
74 |
3 |
| createmessage |
|
16 |
45 |
273 |
8 |
| isccc_cc_createmessage |
|
1 |
7 |
52 |
7 |
| isccc_cc_createack |
|
9 |
35 |
236 |
3 |
| isccc_cc_isack |
|
3 |
10 |
55 |
1 |
| isccc_cc_isreply |
|
3 |
10 |
55 |
1 |
| isccc_cc_createresponse |
|
11 |
38 |
269 |
4 |
| isccc_cc_definestring |
|
1 |
9 |
63 |
3 |
| isccc_cc_defineuint32 |
|
1 |
11 |
86 |
3 |
| isccc_cc_lookupstring |
|
4 |
15 |
87 |
3 |
| isccc_cc_lookupuint32 |
|
4 |
18 |
97 |
3 |
| symtab_undefine |
|
1 |
8 |
39 |
4 |
| symtab_clean |
|
3 |
13 |
74 |
4 |
| isccc_cc_createsymtab |
|
1 |
5 |
24 |
1 |
| isccc_cc_cleansymtab |
|
1 |
4 |
21 |
2 |
| has_whitespace |
|
6 |
11 |
61 |
1 |
| isccc_cc_checkdup |
|
12 |
41 |
272 |
3 |
| Source file: ./usr.sbin/bind/lib/dns/rdata/in_1/a_1.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fromtext_in_a |
|
3 |
21 |
134 |
1 |
| totext_in_a |
|
1 |
9 |
62 |
1 |
| fromwire_in_a |
|
3 |
20 |
120 |
1 |
| towire_in_a |
|
2 |
13 |
91 |
1 |
| compare_in_a |
|
1 |
13 |
98 |
1 |
| fromstruct_in_a |
|
1 |
13 |
89 |
1 |
| tostruct_in_a |
|
1 |
16 |
112 |
1 |
| freestruct_in_a |
|
1 |
7 |
46 |
1 |
| additionaldata_in_a |
|
1 |
8 |
44 |
1 |
| digest_in_a |
|
1 |
7 |
48 |
1 |
| checkowner_in_a |
|
1 |
7 |
40 |
1 |
| checknames_in_a |
|
1 |
8 |
44 |
1 |
| Source file: ./usr.sbin/bind/lib/dns/rdata/in_1/srv_33.h |
| Source file: ./usr.sbin/bind/lib/dns/rdata/in_1/kx_36.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fromtext_in_kx |
|
3 |
22 |
159 |
1 |
| totext_in_kx |
|
1 |
22 |
169 |
1 |
| fromwire_in_kx |
|
2 |
16 |
110 |
1 |
| towire_in_kx |
|
1 |
15 |
109 |
1 |
| compare_in_kx |
|
3 |
25 |
190 |
1 |
| fromstruct_in_kx |
|
1 |
14 |
102 |
1 |
| tostruct_in_kx |
|
1 |
21 |
162 |
1 |
| freestruct_in_kx |
|
2 |
10 |
69 |
1 |
| additionaldata_in_kx |
|
1 |
12 |
81 |
1 |
| digest_in_kx |
|
1 |
14 |
101 |
1 |
| checkowner_in_kx |
|
1 |
9 |
45 |
1 |
| checknames_in_kx |
|
1 |
8 |
44 |
1 |
| Source file: ./usr.sbin/bind/lib/dns/rdata/in_1/a_1.h |
| Source file: ./usr.sbin/bind/lib/dns/rdata/in_1/srv_33.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fromtext_in_srv |
|
10 |
40 |
311 |
1 |
| totext_in_srv |
|
1 |
32 |
269 |
1 |
| fromwire_in_srv |
|
2 |
16 |
110 |
1 |
| towire_in_srv |
|
1 |
14 |
100 |
1 |
| compare_in_srv |
|
3 |
25 |
190 |
1 |
| fromstruct_in_srv |
|
1 |
16 |
126 |
1 |
| tostruct_in_srv |
|
1 |
25 |
198 |
1 |
| freestruct_in_srv |
|
2 |
10 |
69 |
1 |
| additionaldata_in_srv |
|
1 |
12 |
81 |
1 |
| digest_in_srv |
|
1 |
14 |
101 |
1 |
| checkowner_in_srv |
|
1 |
9 |
45 |
1 |
| checknames_in_srv |
|
3 |
17 |
105 |
1 |
| Source file: ./usr.sbin/bind/lib/dns/rdata/in_1/wks_11.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fromtext_in_wks |
|
19 |
76 |
558 |
1 |
| totext_in_wks |
|
5 |
28 |
245 |
1 |
| fromwire_in_wks |
|
4 |
22 |
145 |
1 |
| towire_in_wks |
|
1 |
9 |
65 |
1 |
| compare_in_wks |
|
1 |
13 |
98 |
1 |
| fromstruct_in_wks |
|
2 |
16 |
132 |
1 |
| tostruct_in_wks |
|
2 |
23 |
177 |
1 |
| freestruct_in_wks |
|
3 |
11 |
76 |
1 |
| additionaldata_in_wks |
|
1 |
8 |
44 |
1 |
| digest_in_wks |
|
1 |
7 |
48 |
1 |
| checkowner_in_wks |
|
1 |
7 |
40 |
1 |
| checknames_in_wks |
|
1 |
8 |
44 |
1 |
| Source file: ./usr.sbin/bind/lib/dns/rdata/in_1/kx_36.h |
| Source file: ./usr.sbin/bind/lib/dns/rdata/in_1/nsap-ptr_23.h |
| Source file: ./usr.sbin/bind/lib/dns/rdata/in_1/nsap_22.h |
| Source file: ./usr.sbin/bind/lib/dns/rdata/in_1/wks_11.h |
| Source file: ./usr.sbin/bind/lib/dns/rdata/in_1/apl_42.h |
| Source file: ./usr.sbin/bind/lib/dns/rdata/in_1/apl_42.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fromtext_in_apl |
|
20 |
70 |
443 |
1 |
| totext_in_apl |
|
7 |
57 |
426 |
1 |
| fromwire_in_apl |
|
13 |
44 |
277 |
1 |
| towire_in_apl |
|
1 |
6 |
45 |
1 |
| compare_in_apl |
|
1 |
11 |
80 |
1 |
| fromstruct_in_apl |
|
2 |
14 |
126 |
1 |
| tostruct_in_apl |
|
2 |
17 |
126 |
1 |
| freestruct_in_apl |
|
3 |
11 |
76 |
1 |
| dns_rdata_apl_first |
|
3 |
7 |
66 |
1 |
| dns_rdata_apl_next |
|
4 |
9 |
96 |
1 |
| dns_rdata_apl_current |
|
4 |
17 |
192 |
2 |
| additionaldata_in_apl |
|
1 |
7 |
39 |
1 |
| digest_in_apl |
|
1 |
7 |
48 |
1 |
| checkowner_in_apl |
|
1 |
9 |
45 |
1 |
| checknames_in_apl |
|
1 |
8 |
44 |
1 |
| Source file: ./usr.sbin/bind/lib/dns/rdata/ch_3/a_1.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fromtext_ch_a |
|
9 |
28 |
217 |
1 |
| totext_ch_a |
|
1 |
22 |
172 |
1 |
| fromwire_ch_a |
|
3 |
22 |
145 |
1 |
| towire_ch_a |
|
2 |
21 |
148 |
1 |
| compare_ch_a |
|
4 |
28 |
214 |
1 |
| fromstruct_ch_a |
|
1 |
13 |
98 |
1 |
| tostruct_ch_a |
|
1 |
20 |
162 |
1 |
| freestruct_ch_a |
|
2 |
9 |
58 |
1 |
| additionaldata_ch_a |
|
1 |
8 |
44 |
1 |
| digest_ch_a |
|
1 |
12 |
93 |
1 |
| checkowner_ch_a |
|
1 |
6 |
35 |
1 |
| checknames_ch_a |
|
3 |
16 |
97 |
1 |
| Source file: ./usr.sbin/bind/lib/dns/rdata/in_1/a6_38.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fromtext_in_a6 |
|
11 |
48 |
350 |
1 |
| totext_in_a6 |
|
3 |
40 |
314 |
1 |
| fromwire_in_a6 |
|
6 |
34 |
230 |
1 |
| towire_in_a6 |
|
2 |
22 |
154 |
1 |
| compare_in_a6 |
|
7 |
42 |
291 |
1 |
| fromstruct_in_a6 |
|
6 |
36 |
237 |
1 |
| tostruct_in_a6 |
|
3 |
31 |
252 |
1 |
| freestruct_in_a6 |
|
3 |
11 |
79 |
1 |
| additionaldata_in_a6 |
|
1 |
8 |
44 |
1 |
| digest_in_a6 |
|
3 |
22 |
150 |
1 |
| checkowner_in_a6 |
|
1 |
7 |
40 |
1 |
| checknames_in_a6 |
|
4 |
21 |
134 |
1 |
| Source file: ./usr.sbin/bind/lib/dns/rdata/ch_3/a_1.h |
| Source file: ./usr.sbin/bind/lib/dns/rdata/generic/nsec3param_51.h |
| Source file: ./usr.sbin/bind/lib/dns/rdata/in_1/nsap_22.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fromtext_in_nsap |
|
10 |
42 |
264 |
1 |
| totext_in_nsap |
|
2 |
16 |
120 |
1 |
| fromwire_in_nsap |
|
2 |
15 |
94 |
1 |
| towire_in_nsap |
|
1 |
7 |
54 |
1 |
| compare_in_nsap |
|
1 |
13 |
98 |
1 |
| fromstruct_in_nsap |
|
2 |
12 |
96 |
1 |
| tostruct_in_nsap |
|
2 |
18 |
136 |
1 |
| freestruct_in_nsap |
|
3 |
11 |
76 |
1 |
| additionaldata_in_nsap |
|
1 |
8 |
44 |
1 |
| digest_in_nsap |
|
1 |
7 |
48 |
1 |
| checkowner_in_nsap |
|
1 |
9 |
45 |
1 |
| checknames_in_nsap |
|
1 |
8 |
44 |
1 |
| Source file: ./usr.sbin/bind/lib/dns/rdata/in_1/naptr_35.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fromtext_in_naptr |
|
4 |
36 |
293 |
1 |
| totext_in_naptr |
|
1 |
33 |
282 |
1 |
| fromwire_in_naptr |
|
2 |
19 |
140 |
1 |
| towire_in_naptr |
|
1 |
21 |
217 |
1 |
| compare_in_naptr |
|
9 |
43 |
444 |
1 |
| fromstruct_in_naptr |
|
4 |
24 |
243 |
1 |
| tostruct_in_naptr |
|
11 |
58 |
480 |
1 |
| freestruct_in_naptr |
|
5 |
16 |
126 |
1 |
| additionaldata_in_naptr |
|
7 |
33 |
230 |
1 |
| digest_in_naptr |
|
2 |
29 |
197 |
1 |
| checkowner_in_naptr |
|
1 |
9 |
45 |
1 |
| checknames_in_naptr |
|
1 |
8 |
44 |
1 |
| Source file: ./usr.sbin/bind/lib/dns/rdata/in_1/px_26.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fromtext_in_px |
|
4 |
28 |
225 |
1 |
| totext_in_px |
|
1 |
27 |
228 |
1 |
| fromwire_in_px |
|
2 |
17 |
127 |
1 |
| towire_in_px |
|
1 |
19 |
151 |
1 |
| compare_in_px |
|
4 |
32 |
254 |
1 |
| fromstruct_in_px |
|
1 |
16 |
124 |
1 |
| tostruct_in_px |
|
2 |
30 |
230 |
1 |
| freestruct_in_px |
|
2 |
11 |
81 |
1 |
| additionaldata_in_px |
|
1 |
8 |
44 |
1 |
| digest_in_px |
|
3 |
23 |
166 |
1 |
| checkowner_in_px |
|
1 |
9 |
45 |
1 |
| checknames_in_px |
|
1 |
8 |
44 |
1 |
| Source file: ./usr.sbin/bind/lib/dns/rdata/generic/ns_2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fromtext_ns |
|
7 |
24 |
172 |
1 |
| totext_ns |
|
1 |
14 |
97 |
1 |
| fromwire_ns |
|
1 |
9 |
58 |
1 |
| towire_ns |
|
1 |
12 |
78 |
1 |
| compare_ns |
|
1 |
18 |
129 |
1 |
| fromstruct_ns |
|
1 |
12 |
83 |
1 |
| tostruct_ns |
|
1 |
18 |
135 |
1 |
| freestruct_ns |
|
2 |
8 |
47 |
1 |
| additionaldata_ns |
|
1 |
10 |
64 |
1 |
| digest_ns |
|
1 |
9 |
59 |
1 |
| checkowner_ns |
|
1 |
8 |
38 |
1 |
| checknames_ns |
|
3 |
15 |
88 |
1 |
| Source file: ./usr.sbin/bind/lib/dns/rdata/generic/sshfp_44.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fromtext_sshfp |
|
3 |
21 |
153 |
1 |
| totext_sshfp |
|
3 |
24 |
215 |
1 |
| fromwire_sshfp |
|
2 |
13 |
82 |
1 |
| towire_sshfp |
|
1 |
8 |
56 |
1 |
| compare_sshfp |
|
1 |
12 |
89 |
1 |
| fromstruct_sshfp |
|
1 |
12 |
98 |
1 |
| tostruct_sshfp |
|
2 |
21 |
163 |
1 |
| freestruct_sshfp |
|
3 |
10 |
65 |
1 |
| additionaldata_sshfp |
|
1 |
7 |
35 |
1 |
| digest_sshfp |
|
1 |
6 |
39 |
1 |
| checkowner_sshfp |
|
1 |
8 |
38 |
1 |
| checknames_sshfp |
|
1 |
7 |
35 |
1 |
| Source file: ./usr.sbin/bind/lib/dns/rdata/generic/ipseckey_45.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fromtext_ipseckey |
|
14 |
63 |
443 |
1 |
| totext_ipseckey |
|
9 |
57 |
432 |
1 |
| fromwire_ipseckey |
|
8 |
35 |
258 |
1 |
| towire_ipseckey |
|
1 |
8 |
56 |
1 |
| compare_ipseckey |
|
1 |
12 |
89 |
1 |
| fromstruct_ipseckey |
|
6 |
32 |
216 |
1 |
| tostruct_ipseckey |
|
9 |
55 |
375 |
1 |
| freestruct_ipseckey |
|
4 |
12 |
85 |
1 |
| additionaldata_ipseckey |
|
1 |
7 |
35 |
1 |
| digest_ipseckey |
|
1 |
6 |
39 |
1 |
| checkowner_ipseckey |
|
1 |
8 |
38 |
1 |
| checknames_ipseckey |
|
1 |
7 |
35 |
1 |
| Source file: ./usr.sbin/bind/lib/dns/rdata/generic/isdn_20.h |
| Source file: ./usr.sbin/bind/lib/dns/rdata/generic/md_3.h |
| Source file: ./usr.sbin/bind/lib/dns/rdata/generic/md_3.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fromtext_md |
|
2 |
16 |
108 |
1 |
| totext_md |
|
1 |
14 |
97 |
1 |
| fromwire_md |
|
1 |
9 |
58 |
1 |
| towire_md |
|
1 |
12 |
78 |
1 |
| compare_md |
|
1 |
18 |
129 |
1 |
| fromstruct_md |
|
1 |
12 |
83 |
1 |
| tostruct_md |
|
1 |
18 |
135 |
1 |
| freestruct_md |
|
2 |
9 |
58 |
1 |
| additionaldata_md |
|
1 |
10 |
64 |
1 |
| digest_md |
|
1 |
9 |
59 |
1 |
| checkowner_md |
|
1 |
8 |
38 |
1 |
| checknames_md |
|
1 |
7 |
35 |
1 |
| Source file: ./usr.sbin/bind/lib/dns/rdata/generic/sshfp_44.h |
| Source file: ./usr.sbin/bind/lib/dns/rdata/generic/mg_8.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fromtext_mg |
|
2 |
16 |
108 |
1 |
| totext_mg |
|
1 |
14 |
97 |
1 |
| fromwire_mg |
|
1 |
9 |
58 |
1 |
| towire_mg |
|
1 |
12 |
78 |
1 |
| compare_mg |
|
1 |
18 |
129 |
1 |
| fromstruct_mg |
|
1 |
12 |
83 |
1 |
| tostruct_mg |
|
1 |
18 |
135 |
1 |
| freestruct_mg |
|
2 |
9 |
58 |
1 |
| additionaldata_mg |
|
1 |
7 |
35 |
1 |
| digest_mg |
|
1 |
9 |
59 |
1 |
| checkowner_mg |
|
1 |
7 |
36 |
1 |
| checknames_mg |
|
1 |
7 |
35 |
1 |
| Source file: ./usr.sbin/bind/lib/dns/rdata/generic/nsec_47.h |
| Source file: ./usr.sbin/bind/lib/dns/rdata/generic/isdn_20.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fromtext_isdn |
|
3 |
21 |
135 |
1 |
| totext_isdn |
|
2 |
12 |
85 |
1 |
| fromwire_isdn |
|
2 |
11 |
65 |
1 |
| towire_isdn |
|
1 |
6 |
45 |
1 |
| compare_isdn |
|
1 |
12 |
89 |
1 |
| fromstruct_isdn |
|
1 |
13 |
114 |
1 |
| tostruct_isdn |
|
5 |
28 |
221 |
1 |
| freestruct_isdn |
|
4 |
11 |
73 |
1 |
| additionaldata_isdn |
|
1 |
7 |
35 |
1 |
| digest_isdn |
|
1 |
6 |
39 |
1 |
| checkowner_isdn |
|
1 |
8 |
38 |
1 |
| checknames_isdn |
|
1 |
7 |
35 |
1 |
| Source file: ./usr.sbin/bind/lib/dns/rdata/generic/key_25.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fromtext_key |
|
2 |
27 |
207 |
1 |
| totext_key |
|
7 |
43 |
399 |
1 |
| fromwire_key |
|
2 |
13 |
82 |
1 |
| towire_key |
|
1 |
8 |
56 |
1 |
| compare_key |
|
1 |
12 |
89 |
1 |
| fromstruct_key |
|
1 |
13 |
110 |
1 |
| tostruct_key |
|
5 |
29 |
220 |
1 |
| freestruct_key |
|
3 |
10 |
69 |
1 |
| additionaldata_key |
|
1 |
7 |
35 |
1 |
| digest_key |
|
1 |
6 |
39 |
1 |
| checkowner_key |
|
1 |
8 |
38 |
1 |
| checknames_key |
|
1 |
7 |
35 |
1 |
| Source file: ./usr.sbin/bind/lib/dns/rdata/generic/mr_9.h |
| Source file: ./usr.sbin/bind/lib/dns/rdata/generic/mb_7.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fromtext_mb |
|
2 |
16 |
108 |
1 |
| totext_mb |
|
1 |
14 |
97 |
1 |
| fromwire_mb |
|
1 |
9 |
58 |
1 |
| towire_mb |
|
1 |
12 |
78 |
1 |
| compare_mb |
|
1 |
18 |
129 |
1 |
| fromstruct_mb |
|
1 |
12 |
83 |
1 |
| tostruct_mb |
|
1 |
18 |
135 |
1 |
| freestruct_mb |
|
2 |
8 |
47 |
1 |
| additionaldata_mb |
|
1 |
10 |
64 |
1 |
| digest_mb |
|
1 |
9 |
59 |
1 |
| checkowner_mb |
|
1 |
7 |
36 |
1 |
| checknames_mb |
|
1 |
7 |
35 |
1 |
| Source file: ./usr.sbin/bind/lib/dns/rdata/generic/afsdb_18.h |
| Source file: ./usr.sbin/bind/lib/dns/rdata/generic/cname_5.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fromtext_cname |
|
2 |
16 |
108 |
1 |
| totext_cname |
|
1 |
14 |
97 |
1 |
| fromwire_cname |
|
1 |
9 |
58 |
1 |
| towire_cname |
|
1 |
12 |
78 |
1 |
| compare_cname |
|
1 |
18 |
129 |
1 |
| fromstruct_cname |
|
1 |
12 |
83 |
1 |
| tostruct_cname |
|
1 |
18 |
135 |
1 |
| freestruct_cname |
|
2 |
8 |
47 |
1 |
| additionaldata_cname |
|
1 |
7 |
35 |
1 |
| digest_cname |
|
1 |
9 |
59 |
1 |
| checkowner_cname |
|
1 |
8 |
38 |
1 |
| checknames_cname |
|
1 |
7 |
35 |
1 |
| Source file: ./usr.sbin/bind/lib/dns/rdata/generic/rrsig_46.h |
| Source file: ./usr.sbin/bind/lib/dns/rdata/generic/tkey_249.h |
| Source file: ./usr.sbin/bind/lib/dns/rdata/generic/ptr_12.h |
| Source file: ./usr.sbin/bind/lib/dns/rdata/generic/dnskey_48.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fromtext_dnskey |
|
2 |
27 |
207 |
1 |
| totext_dnskey |
|
7 |
43 |
399 |
1 |
| fromwire_dnskey |
|
2 |
13 |
82 |
1 |
| towire_dnskey |
|
1 |
8 |
56 |
1 |
| compare_dnskey |
|
1 |
12 |
89 |
1 |
| fromstruct_dnskey |
|
1 |
13 |
110 |
1 |
| tostruct_dnskey |
|
5 |
29 |
220 |
1 |
| freestruct_dnskey |
|
3 |
10 |
69 |
1 |
| additionaldata_dnskey |
|
1 |
7 |
35 |
1 |
| digest_dnskey |
|
1 |
6 |
39 |
1 |
| checkowner_dnskey |
|
1 |
8 |
38 |
1 |
| checknames_dnskey |
|
1 |
7 |
35 |
1 |
| Source file: ./usr.sbin/bind/lib/dns/rdata/generic/tlsa_52.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fromtext_tlsa |
|
4 |
25 |
186 |
1 |
| totext_tlsa |
|
4 |
32 |
273 |
1 |
| fromwire_tlsa |
|
2 |
13 |
82 |
1 |
| towire_tlsa |
|
1 |
8 |
56 |
1 |
| compare_tlsa |
|
1 |
12 |
89 |
1 |
| fromstruct_tlsa |
|
1 |
13 |
110 |
1 |
| tostruct_tlsa |
|
2 |
23 |
181 |
1 |
| freestruct_tlsa |
|
3 |
10 |
65 |
1 |
| additionaldata_tlsa |
|
1 |
7 |
35 |
1 |
| digest_tlsa |
|
1 |
6 |
39 |
1 |
| checkowner_tlsa |
|
1 |
8 |
38 |
1 |
| checknames_tlsa |
|
1 |
7 |
35 |
1 |
| casecompare_tlsa |
|
1 |
3 |
16 |
1 |
| Source file: ./usr.sbin/bind/lib/dns/rdata/generic/mx_15.h |
| Source file: ./usr.sbin/bind/lib/dns/rdata/generic/mb_7.h |
| Source file: ./usr.sbin/bind/lib/dns/rdata/generic/txt_16.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fromtext_txt |
|
5 |
23 |
123 |
1 |
| totext_txt |
|
3 |
12 |
75 |
1 |
| fromwire_txt |
|
3 |
14 |
73 |
1 |
| towire_txt |
|
2 |
11 |
75 |
1 |
| compare_txt |
|
1 |
10 |
71 |
1 |
| fromstruct_txt |
|
4 |
22 |
158 |
1 |
| tostruct_txt |
|
2 |
17 |
124 |
1 |
| freestruct_txt |
|
3 |
10 |
65 |
1 |
| additionaldata_txt |
|
1 |
7 |
35 |
1 |
| digest_txt |
|
1 |
6 |
39 |
1 |
| checkowner_txt |
|
1 |
8 |
38 |
1 |
| checknames_txt |
|
1 |
7 |
35 |
1 |
| Source file: ./usr.sbin/bind/lib/dns/rdata/generic/opt_41.h |
| Source file: ./usr.sbin/bind/lib/dns/rdata/generic/tlsa_52.h |
| Source file: ./usr.sbin/bind/lib/dns/rdata/generic/ns_2.h |
| Source file: ./usr.sbin/bind/lib/dns/rdata/generic/ipseckey_45.h |
| Source file: ./usr.sbin/bind/lib/dns/rdata/generic/spf_99.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fromtext_spf |
|
5 |
23 |
123 |
1 |
| totext_spf |
|
3 |
12 |
75 |
1 |
| fromwire_spf |
|
3 |
14 |
73 |
1 |
| towire_spf |
|
2 |
11 |
75 |
1 |
| compare_spf |
|
1 |
10 |
71 |
1 |
| fromstruct_spf |
|
4 |
22 |
158 |
1 |
| tostruct_spf |
|
2 |
17 |
124 |
1 |
| freestruct_spf |
|
3 |
10 |
65 |
1 |
| additionaldata_spf |
|
1 |
7 |
35 |
1 |
| digest_spf |
|
1 |
6 |
39 |
1 |
| checkowner_spf |
|
1 |
8 |
38 |
1 |
| checknames_spf |
|
1 |
7 |
35 |
1 |
| Source file: ./usr.sbin/bind/lib/dns/rdata/generic/mf_4.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fromtext_mf |
|
2 |
16 |
108 |
1 |
| totext_mf |
|
1 |
14 |
97 |
1 |
| fromwire_mf |
|
1 |
9 |
58 |
1 |
| towire_mf |
|
1 |
12 |
78 |
1 |
| compare_mf |
|
1 |
18 |
129 |
1 |
| fromstruct_mf |
|
1 |
12 |
83 |
1 |
| tostruct_mf |
|
1 |
18 |
135 |
1 |
| freestruct_mf |
|
2 |
9 |
58 |
1 |
| additionaldata_mf |
|
1 |
10 |
64 |
1 |
| digest_mf |
|
1 |
9 |
59 |
1 |
| checkowner_mf |
|
1 |
8 |
38 |
1 |
| checknames_mf |
|
1 |
7 |
35 |
1 |
| Source file: ./usr.sbin/bind/lib/dns/rdata/generic/cert_37.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fromtext_cert |
|
2 |
25 |
189 |
1 |
| totext_cert |
|
3 |
27 |
237 |
1 |
| fromwire_cert |
|
2 |
13 |
82 |
1 |
| towire_cert |
|
1 |
8 |
56 |
1 |
| compare_cert |
|
1 |
12 |
89 |
1 |
| fromstruct_cert |
|
1 |
13 |
110 |
1 |
| tostruct_cert |
|
2 |
23 |
181 |
1 |
| freestruct_cert |
|
3 |
10 |
65 |
1 |
| additionaldata_cert |
|
1 |
7 |
35 |
1 |
| digest_cert |
|
1 |
6 |
39 |
1 |
| checkowner_cert |
|
1 |
8 |
38 |
1 |
| checknames_cert |
|
1 |
7 |
35 |
1 |
| Source file: ./usr.sbin/bind/lib/dns/rdata/generic/soa_6.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fromtext_soa |
|
11 |
47 |
302 |
1 |
| totext_soa |
|
9 |
56 |
464 |
1 |
| fromwire_soa |
|
3 |
24 |
166 |
1 |
| towire_soa |
|
2 |
26 |
187 |
1 |
| compare_soa |
|
3 |
33 |
258 |
1 |
| fromstruct_soa |
|
1 |
19 |
165 |
1 |
| tostruct_soa |
|
3 |
39 |
310 |
1 |
| freestruct_soa |
|
2 |
10 |
70 |
1 |
| additionaldata_soa |
|
1 |
7 |
35 |
1 |
| digest_soa |
|
1 |
15 |
126 |
1 |
| checkowner_soa |
|
1 |
8 |
38 |
1 |
| checknames_soa |
|
5 |
22 |
139 |
1 |
| Source file: ./usr.sbin/bind/lib/dns/rdata/generic/rrsig_46.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fromtext_rrsig |
|
8 |
58 |
474 |
1 |
| totext_rrsig |
|
5 |
65 |
572 |
1 |
| fromwire_rrsig |
|
2 |
18 |
136 |
1 |
| towire_rrsig |
|
1 |
16 |
128 |
1 |
| compare_rrsig |
|
1 |
12 |
89 |
1 |
| fromstruct_rrsig |
|
2 |
19 |
186 |
1 |
| tostruct_rrsig |
|
3 |
41 |
334 |
1 |
| freestruct_rrsig |
|
3 |
11 |
81 |
1 |
| additionaldata_rrsig |
|
1 |
7 |
35 |
1 |
| digest_rrsig |
|
1 |
7 |
35 |
1 |
| covers_rrsig |
|
1 |
8 |
44 |
1 |
| checkowner_rrsig |
|
1 |
8 |
38 |
1 |
| checknames_rrsig |
|
1 |
7 |
35 |
1 |
| Source file: ./usr.sbin/bind/lib/dns/rdata/generic/minfo_14.h |
| Source file: ./usr.sbin/bind/lib/dns/rdata/generic/loc_29.h |
| Source file: ./usr.sbin/bind/lib/dns/rdata/generic/rt_21.h |
| Source file: ./usr.sbin/bind/lib/dns/rdata/generic/loc_29.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fromtext_loc |
|
140 |
355 |
2444 |
1 |
| totext_loc |
|
10 |
93 |
700 |
1 |
| fromwire_loc |
|
20 |
43 |
381 |
1 |
| towire_loc |
|
1 |
6 |
45 |
1 |
| compare_loc |
|
1 |
12 |
89 |
1 |
| fromstruct_loc |
|
15 |
34 |
421 |
1 |
| tostruct_loc |
|
2 |
31 |
260 |
1 |
| freestruct_loc |
|
1 |
7 |
40 |
1 |
| additionaldata_loc |
|
1 |
7 |
35 |
1 |
| digest_loc |
|
1 |
6 |
39 |
1 |
| checkowner_loc |
|
1 |
8 |
38 |
1 |
| checknames_loc |
|
1 |
7 |
35 |
1 |
| Source file: ./usr.sbin/bind/lib/dns/rdata/generic/nxt_30.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fromtext_nxt |
|
12 |
45 |
326 |
1 |
| totext_nxt |
|
6 |
35 |
257 |
1 |
| fromwire_nxt |
|
5 |
17 |
148 |
1 |
| towire_nxt |
|
1 |
14 |
106 |
1 |
| compare_nxt |
|
2 |
22 |
154 |
1 |
| fromstruct_nxt |
|
4 |
18 |
162 |
1 |
| tostruct_nxt |
|
3 |
27 |
206 |
1 |
| freestruct_nxt |
|
3 |
11 |
77 |
1 |
| additionaldata_nxt |
|
1 |
7 |
35 |
1 |
| digest_nxt |
|
2 |
14 |
97 |
1 |
| checkowner_nxt |
|
1 |
8 |
38 |
1 |
| checknames_nxt |
|
1 |
7 |
35 |
1 |
| Source file: ./usr.sbin/bind/lib/dns/rdata/generic/minfo_14.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fromtext_minfo |
|
8 |
29 |
188 |
1 |
| totext_minfo |
|
1 |
22 |
175 |
1 |
| fromwire_minfo |
|
1 |
12 |
86 |
1 |
| towire_minfo |
|
1 |
19 |
136 |
1 |
| compare_minfo |
|
2 |
29 |
216 |
1 |
| fromstruct_minfo |
|
1 |
14 |
105 |
1 |
| tostruct_minfo |
|
3 |
29 |
216 |
1 |
| freestruct_minfo |
|
2 |
10 |
70 |
1 |
| additionaldata_minfo |
|
1 |
7 |
35 |
1 |
| digest_minfo |
|
2 |
16 |
114 |
1 |
| checkowner_minfo |
|
1 |
8 |
38 |
1 |
| checknames_minfo |
|
5 |
22 |
137 |
1 |
| Source file: ./usr.sbin/bind/lib/dns/rdata/generic/mx_15.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| check_mx |
|
5 |
13 |
113 |
1 |
| fromtext_mx |
|
13 |
36 |
275 |
1 |
| totext_mx |
|
1 |
21 |
160 |
1 |
| fromwire_mx |
|
2 |
15 |
103 |
1 |
| towire_mx |
|
1 |
14 |
100 |
1 |
| compare_mx |
|
3 |
24 |
181 |
1 |
| fromstruct_mx |
|
1 |
13 |
95 |
1 |
| tostruct_mx |
|
1 |
20 |
153 |
1 |
| freestruct_mx |
|
2 |
9 |
58 |
1 |
| additionaldata_mx |
|
1 |
11 |
72 |
1 |
| digest_mx |
|
1 |
13 |
92 |
1 |
| checkowner_mx |
|
1 |
6 |
33 |
1 |
| checknames_mx |
|
3 |
16 |
96 |
1 |
| Source file: ./usr.sbin/bind/lib/dns/rdata/generic/null_10.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fromtext_null |
|
1 |
11 |
53 |
1 |
| totext_null |
|
1 |
7 |
35 |
1 |
| fromwire_null |
|
1 |
11 |
69 |
1 |
| towire_null |
|
1 |
5 |
36 |
1 |
| compare_null |
|
1 |
10 |
71 |
1 |
| fromstruct_null |
|
2 |
11 |
89 |
1 |
| tostruct_null |
|
2 |
16 |
118 |
1 |
| freestruct_null |
|
3 |
10 |
65 |
1 |
| additionaldata_null |
|
1 |
7 |
35 |
1 |
| digest_null |
|
1 |
6 |
39 |
1 |
| checkowner_null |
|
1 |
8 |
38 |
1 |
| checknames_null |
|
1 |
7 |
35 |
1 |
| Source file: ./usr.sbin/bind/lib/dns/rdata/generic/soa_6.h |
| Source file: ./usr.sbin/bind/lib/dns/rdata/generic/nxt_30.h |
| Source file: ./usr.sbin/bind/lib/dns/rdata/generic/txt_16.h |
| Source file: ./usr.sbin/bind/lib/dns/rdata/generic/gpos_27.h |
| Source file: ./usr.sbin/bind/lib/dns/rdata/generic/nsec3_50.h |
| Source file: ./usr.sbin/bind/lib/dns/rdata/generic/nsec3param_51.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fromtext_nsec3param |
|
5 |
37 |
281 |
1 |
| totext_nsec3param |
|
2 |
35 |
264 |
1 |
| fromwire_nsec3param |
|
3 |
21 |
135 |
1 |
| towire_nsec3param |
|
1 |
8 |
56 |
1 |
| compare_nsec3param |
|
1 |
12 |
89 |
1 |
| fromstruct_nsec3param |
|
1 |
16 |
127 |
1 |
| tostruct_nsec3param |
|
2 |
23 |
177 |
1 |
| freestruct_nsec3param |
|
3 |
10 |
65 |
1 |
| additionaldata_nsec3param |
|
1 |
7 |
35 |
1 |
| digest_nsec3param |
|
1 |
6 |
39 |
1 |
| checkowner_nsec3param |
|
1 |
8 |
38 |
1 |
| checknames_nsec3param |
|
1 |
7 |
35 |
1 |
| casecompare_nsec3param |
|
1 |
3 |
16 |
1 |
| Source file: ./usr.sbin/bind/lib/dns/rdata/generic/cert_37.h |
| Source file: ./usr.sbin/bind/lib/dns/rdata/generic/afsdb_18.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fromtext_afsdb |
|
8 |
29 |
216 |
1 |
| totext_afsdb |
|
1 |
20 |
150 |
1 |
| fromwire_afsdb |
|
3 |
20 |
133 |
1 |
| towire_afsdb |
|
2 |
19 |
130 |
1 |
| compare_afsdb |
|
3 |
24 |
181 |
1 |
| fromstruct_afsdb |
|
1 |
13 |
95 |
1 |
| tostruct_afsdb |
|
1 |
20 |
153 |
1 |
| freestruct_afsdb |
|
2 |
9 |
58 |
1 |
| additionaldata_afsdb |
|
1 |
11 |
72 |
1 |
| digest_afsdb |
|
1 |
13 |
92 |
1 |
| checkowner_afsdb |
|
1 |
8 |
38 |
1 |
| checknames_afsdb |
|
3 |
16 |
96 |
1 |
| Source file: ./usr.sbin/bind/lib/dns/rdata/generic/nsec_47.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fromtext_nsec |
|
8 |
41 |
306 |
1 |
| totext_nsec |
|
8 |
44 |
352 |
1 |
| fromwire_nsec |
|
11 |
39 |
271 |
1 |
| towire_nsec |
|
1 |
14 |
106 |
1 |
| compare_nsec |
|
1 |
12 |
89 |
1 |
| fromstruct_nsec |
|
5 |
29 |
245 |
1 |
| tostruct_nsec |
|
3 |
27 |
206 |
1 |
| freestruct_nsec |
|
3 |
11 |
77 |
1 |
| additionaldata_nsec |
|
1 |
7 |
35 |
1 |
| digest_nsec |
|
1 |
6 |
39 |
1 |
| checkowner_nsec |
|
1 |
8 |
38 |
1 |
| checknames_nsec |
|
1 |
7 |
35 |
1 |
| Source file: ./usr.sbin/bind/lib/dns/rdata/generic/unspec_103.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fromtext_unspec |
|
1 |
9 |
48 |
1 |
| totext_unspec |
|
1 |
5 |
36 |
1 |
| fromwire_unspec |
|
1 |
11 |
69 |
1 |
| towire_unspec |
|
1 |
5 |
36 |
1 |
| compare_unspec |
|
1 |
10 |
71 |
1 |
| fromstruct_unspec |
|
2 |
11 |
89 |
1 |
| tostruct_unspec |
|
2 |
16 |
118 |
1 |
| freestruct_unspec |
|
3 |
10 |
65 |
1 |
| additionaldata_unspec |
|
1 |
7 |
35 |
1 |
| digest_unspec |
|
1 |
6 |
39 |
1 |
| checkowner_unspec |
|
1 |
8 |
38 |
1 |
| checknames_unspec |
|
1 |
7 |
35 |
1 |
| Source file: ./usr.sbin/bind/lib/dns/rdata/generic/proforma.h |
| Source file: ./usr.sbin/bind/lib/dns/rdata/generic/rp_17.h |
| Source file: ./usr.sbin/bind/lib/dns/rdata/generic/key_25.h |
| Source file: ./usr.sbin/bind/lib/dns/rdata/generic/mg_8.h |
| Source file: ./usr.sbin/bind/lib/dns/rdata/generic/spf_99.h |
| Source file: ./usr.sbin/bind/lib/dns/rdata/generic/hinfo_13.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fromtext_hinfo |
|
2 |
17 |
94 |
1 |
| totext_hinfo |
|
1 |
10 |
72 |
1 |
| fromwire_hinfo |
|
1 |
9 |
53 |
1 |
| towire_hinfo |
|
1 |
6 |
45 |
1 |
| compare_hinfo |
|
1 |
12 |
89 |
1 |
| fromstruct_hinfo |
|
1 |
13 |
114 |
1 |
| tostruct_hinfo |
|
5 |
28 |
221 |
1 |
| freestruct_hinfo |
|
4 |
11 |
73 |
1 |
| additionaldata_hinfo |
|
1 |
7 |
35 |
1 |
| digest_hinfo |
|
1 |
6 |
39 |
1 |
| checkowner_hinfo |
|
1 |
8 |
38 |
1 |
| checknames_hinfo |
|
1 |
7 |
35 |
1 |
| Source file: ./usr.sbin/bind/lib/dns/rdata/generic/dlv_32769.h |
| Source file: ./usr.sbin/bind/lib/dns/rdata/generic/ds_43.h |
| Source file: ./usr.sbin/bind/lib/dns/rdata/generic/ds_43.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fromtext_ds |
|
5 |
33 |
231 |
1 |
| totext_ds |
|
3 |
28 |
255 |
1 |
| fromwire_ds |
|
8 |
21 |
159 |
1 |
| towire_ds |
|
1 |
8 |
56 |
1 |
| compare_ds |
|
1 |
12 |
89 |
1 |
| fromstruct_ds |
|
3 |
21 |
146 |
1 |
| tostruct_ds |
|
2 |
23 |
181 |
1 |
| freestruct_ds |
|
3 |
10 |
65 |
1 |
| additionaldata_ds |
|
1 |
7 |
35 |
1 |
| digest_ds |
|
1 |
6 |
39 |
1 |
| checkowner_ds |
|
1 |
8 |
38 |
1 |
| checknames_ds |
|
1 |
7 |
35 |
1 |
| Source file: ./usr.sbin/bind/lib/dns/rdata/generic/gpos_27.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fromtext_gpos |
|
2 |
17 |
94 |
1 |
| totext_gpos |
|
3 |
14 |
90 |
1 |
| fromwire_gpos |
|
2 |
11 |
64 |
1 |
| towire_gpos |
|
1 |
6 |
45 |
1 |
| compare_gpos |
|
1 |
12 |
89 |
1 |
| fromstruct_gpos |
|
1 |
15 |
142 |
1 |
| tostruct_gpos |
|
9 |
41 |
317 |
1 |
| freestruct_gpos |
|
5 |
14 |
103 |
1 |
| additionaldata_gpos |
|
1 |
7 |
35 |
1 |
| digest_gpos |
|
1 |
6 |
39 |
1 |
| checkowner_gpos |
|
1 |
8 |
38 |
1 |
| checknames_gpos |
|
1 |
7 |
35 |
1 |
| Source file: ./usr.sbin/bind/lib/dns/rdata/generic/proforma.c |
| Source file: ./usr.sbin/bind/lib/dns/rdata/generic/tkey_249.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fromtext_tkey |
|
9 |
54 |
434 |
1 |
| totext_tkey |
|
7 |
72 |
625 |
1 |
| fromwire_tkey |
|
6 |
32 |
247 |
1 |
| towire_tkey |
|
1 |
14 |
106 |
1 |
| compare_tkey |
|
2 |
23 |
178 |
1 |
| fromstruct_tkey |
|
1 |
18 |
175 |
1 |
| tostruct_tkey |
|
6 |
44 |
367 |
1 |
| freestruct_tkey |
|
4 |
12 |
89 |
1 |
| additionaldata_tkey |
|
1 |
7 |
35 |
1 |
| digest_tkey |
|
1 |
7 |
35 |
1 |
| checkowner_tkey |
|
1 |
8 |
38 |
1 |
| checknames_tkey |
|
1 |
7 |
35 |
1 |
| Source file: ./usr.sbin/bind/lib/dns/rdata/generic/dname_39.h |
| Source file: ./usr.sbin/bind/lib/dns/rdata/generic/dname_39.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fromtext_dname |
|
2 |
16 |
108 |
1 |
| totext_dname |
|
1 |
14 |
97 |
1 |
| fromwire_dname |
|
1 |
9 |
58 |
1 |
| towire_dname |
|
1 |
12 |
78 |
1 |
| compare_dname |
|
1 |
18 |
129 |
1 |
| fromstruct_dname |
|
1 |
12 |
83 |
1 |
| tostruct_dname |
|
1 |
18 |
135 |
1 |
| freestruct_dname |
|
2 |
9 |
58 |
1 |
| additionaldata_dname |
|
1 |
7 |
35 |
1 |
| digest_dname |
|
1 |
9 |
59 |
1 |
| checkowner_dname |
|
1 |
8 |
38 |
1 |
| checknames_dname |
|
1 |
7 |
35 |
1 |
| Source file: ./usr.sbin/bind/lib/dns/rdata/generic/null_10.h |
| Source file: ./usr.sbin/bind/lib/dns/rdata/generic/sig_24.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fromtext_sig |
|
8 |
58 |
474 |
1 |
| totext_sig |
|
5 |
65 |
572 |
1 |
| fromwire_sig |
|
2 |
18 |
136 |
1 |
| towire_sig |
|
1 |
16 |
128 |
1 |
| compare_sig |
|
3 |
35 |
262 |
1 |
| fromstruct_sig |
|
2 |
19 |
186 |
1 |
| tostruct_sig |
|
3 |
41 |
334 |
1 |
| freestruct_sig |
|
3 |
11 |
81 |
1 |
| additionaldata_sig |
|
1 |
7 |
35 |
1 |
| digest_sig |
|
1 |
7 |
35 |
1 |
| covers_sig |
|
1 |
8 |
44 |
1 |
| checkowner_sig |
|
1 |
8 |
38 |
1 |
| checknames_sig |
|
1 |
7 |
35 |
1 |
| Source file: ./usr.sbin/bind/lib/dns/rdata/generic/opt_41.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fromtext_opt |
|
1 |
11 |
53 |
1 |
| totext_opt |
|
6 |
33 |
247 |
1 |
| fromwire_opt |
|
5 |
33 |
195 |
1 |
| towire_opt |
|
1 |
5 |
36 |
1 |
| compare_opt |
|
1 |
10 |
71 |
1 |
| fromstruct_opt |
|
5 |
25 |
179 |
1 |
| tostruct_opt |
|
2 |
17 |
124 |
1 |
| freestruct_opt |
|
3 |
10 |
65 |
1 |
| additionaldata_opt |
|
1 |
7 |
35 |
1 |
| digest_opt |
|
1 |
7 |
35 |
1 |
| checkowner_opt |
|
1 |
7 |
38 |
1 |
| checknames_opt |
|
1 |
7 |
35 |
1 |
| Source file: ./usr.sbin/bind/lib/dns/rdata/generic/hinfo_13.h |
| Source file: ./usr.sbin/bind/lib/dns/rdata/generic/nsec3_50.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fromtext_nsec3 |
|
12 |
71 |
568 |
1 |
| totext_nsec3 |
|
14 |
83 |
673 |
1 |
| fromwire_nsec3 |
|
14 |
51 |
351 |
1 |
| towire_nsec3 |
|
1 |
8 |
56 |
1 |
| compare_nsec3 |
|
1 |
12 |
89 |
1 |
| fromstruct_nsec3 |
|
5 |
33 |
315 |
1 |
| tostruct_nsec3 |
|
5 |
36 |
294 |
1 |
| freestruct_nsec3 |
|
5 |
14 |
103 |
1 |
| additionaldata_nsec3 |
|
1 |
7 |
35 |
1 |
| digest_nsec3 |
|
1 |
6 |
39 |
1 |
| checkowner_nsec3 |
|
2 |
15 |
95 |
1 |
| checknames_nsec3 |
|
1 |
7 |
35 |
1 |
| casecompare_nsec3 |
|
1 |
3 |
16 |
1 |
| Source file: ./usr.sbin/bind/lib/dns/rdata/generic/mr_9.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fromtext_mr |
|
2 |
16 |
108 |
1 |
| totext_mr |
|
1 |
14 |
97 |
1 |
| fromwire_mr |
|
1 |
9 |
58 |
1 |
| towire_mr |
|
1 |
12 |
78 |
1 |
| compare_mr |
|
1 |
18 |
129 |
1 |
| fromstruct_mr |
|
1 |
12 |
83 |
1 |
| tostruct_mr |
|
1 |
18 |
135 |
1 |
| freestruct_mr |
|
2 |
9 |
58 |
1 |
| additionaldata_mr |
|
1 |
7 |
35 |
1 |
| digest_mr |
|
1 |
9 |
59 |
1 |
| checkowner_mr |
|
1 |
8 |
38 |
1 |
| checknames_mr |
|
1 |
7 |
35 |
1 |
| Source file: ./usr.sbin/bind/lib/dns/rdata/generic/sig_24.h |
| Source file: ./usr.sbin/bind/lib/dns/rdata/generic/ptr_12.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fromtext_ptr |
|
9 |
26 |
182 |
1 |
| totext_ptr |
|
1 |
14 |
97 |
1 |
| fromwire_ptr |
|
1 |
9 |
58 |
1 |
| towire_ptr |
|
1 |
12 |
78 |
1 |
| compare_ptr |
|
1 |
18 |
129 |
1 |
| fromstruct_ptr |
|
1 |
12 |
83 |
1 |
| tostruct_ptr |
|
1 |
18 |
135 |
1 |
| freestruct_ptr |
|
2 |
9 |
58 |
1 |
| additionaldata_ptr |
|
1 |
7 |
35 |
1 |
| digest_ptr |
|
1 |
9 |
59 |
1 |
| checkowner_ptr |
|
1 |
8 |
38 |
1 |
| checknames_ptr |
|
7 |
20 |
124 |
1 |
| Source file: ./usr.sbin/bind/lib/dns/rdata/generic/dnskey_48.h |
| Source file: ./usr.sbin/bind/lib/dns/rdata/generic/rp_17.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fromtext_rp |
|
9 |
29 |
192 |
1 |
| totext_rp |
|
1 |
22 |
175 |
1 |
| fromwire_rp |
|
1 |
12 |
86 |
1 |
| towire_rp |
|
1 |
19 |
134 |
1 |
| compare_rp |
|
2 |
28 |
212 |
1 |
| fromstruct_rp |
|
1 |
14 |
105 |
1 |
| tostruct_rp |
|
3 |
29 |
216 |
1 |
| freestruct_rp |
|
2 |
10 |
70 |
1 |
| additionaldata_rp |
|
1 |
7 |
35 |
1 |
| digest_rp |
|
1 |
13 |
101 |
1 |
| checkowner_rp |
|
1 |
8 |
38 |
1 |
| checknames_rp |
|
3 |
15 |
86 |
1 |
| Source file: ./usr.sbin/bind/lib/dns/rdata/generic/unspec_103.h |
| Source file: ./usr.sbin/bind/lib/dns/rdata/generic/rt_21.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fromtext_rt |
|
8 |
29 |
216 |
1 |
| totext_rt |
|
1 |
21 |
160 |
1 |
| fromwire_rt |
|
3 |
20 |
133 |
1 |
| towire_rt |
|
2 |
19 |
130 |
1 |
| compare_rt |
|
3 |
24 |
181 |
1 |
| fromstruct_rt |
|
1 |
13 |
95 |
1 |
| tostruct_rt |
|
1 |
20 |
153 |
1 |
| freestruct_rt |
|
2 |
9 |
58 |
1 |
| additionaldata_rt |
|
3 |
18 |
125 |
1 |
| digest_rt |
|
2 |
16 |
105 |
1 |
| checkowner_rt |
|
1 |
8 |
38 |
1 |
| checknames_rt |
|
3 |
16 |
96 |
1 |
| Source file: ./usr.sbin/bind/lib/dns/rdata/generic/cname_5.h |
| Source file: ./usr.sbin/bind/lib/dns/rdata/generic/mf_4.h |
| Source file: ./usr.sbin/bind/lib/dns/rdata/rdatastructsuf.h |
| Source file: ./usr.sbin/bind/lib/dns/rdata/generic/x25_19.h |
| Source file: ./usr.sbin/bind/lib/dns/include/dst/gssapi.h |
| Source file: ./usr.sbin/bind/lib/dns/rdata/rdatastructpre.h |
| Source file: ./usr.sbin/bind/lib/dns/include/dst/result.h |
| Source file: ./usr.sbin/bind/lib/dns/include/dst/lib.h |
| Source file: ./usr.sbin/bind/lib/dns/include/dns/rootns.h |
| Source file: ./usr.sbin/bind/lib/dns/include/dst/dst.h |
| Source file: ./usr.sbin/bind/lib/dns/include/dns/acache.h |
| Source file: ./usr.sbin/bind/lib/dns/include/dns/adb.h |
| Source file: ./usr.sbin/bind/lib/dns/include/dns/ncache.h |
| Source file: ./usr.sbin/bind/lib/dns/rdata/generic/x25_19.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fromtext_x25 |
|
4 |
19 |
140 |
1 |
| totext_x25 |
|
1 |
8 |
51 |
1 |
| fromwire_x25 |
|
2 |
12 |
67 |
1 |
| towire_x25 |
|
1 |
6 |
45 |
1 |
| compare_x25 |
|
1 |
12 |
89 |
1 |
| fromstruct_x25 |
|
5 |
18 |
152 |
1 |
| tostruct_x25 |
|
2 |
18 |
137 |
1 |
| freestruct_x25 |
|
3 |
10 |
65 |
1 |
| additionaldata_x25 |
|
1 |
7 |
35 |
1 |
| digest_x25 |
|
1 |
6 |
39 |
1 |
| checkowner_x25 |
|
1 |
8 |
38 |
1 |
| checknames_x25 |
|
1 |
7 |
35 |
1 |
| Source file: ./usr.sbin/bind/lib/dns/include/dns/secproto.h |
| Source file: ./usr.sbin/bind/lib/dns/include/dns/cache.h |
| Source file: ./usr.sbin/bind/lib/dns/include/dns/fixedname.h |
| Source file: ./usr.sbin/bind/lib/dns/include/dns/callbacks.h |
| Source file: ./usr.sbin/bind/lib/dns/include/dns/rdataslab.h |
| Source file: ./usr.sbin/bind/lib/dns/rdata/generic/dlv_32769.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fromtext_dlv |
|
6 |
34 |
232 |
1 |
| totext_dlv |
|
3 |
28 |
255 |
1 |
| fromwire_dlv |
|
8 |
21 |
159 |
1 |
| towire_dlv |
|
1 |
8 |
56 |
1 |
| compare_dlv |
|
1 |
12 |
89 |
1 |
| fromstruct_dlv |
|
3 |
21 |
146 |
1 |
| tostruct_dlv |
|
2 |
23 |
181 |
1 |
| freestruct_dlv |
|
3 |
10 |
65 |
1 |
| additionaldata_dlv |
|
1 |
7 |
35 |
1 |
| digest_dlv |
|
1 |
6 |
39 |
1 |
| checkowner_dlv |
|
1 |
8 |
38 |
1 |
| checknames_dlv |
|
1 |
7 |
35 |
1 |
| Source file: ./usr.sbin/bind/lib/dns/include/dns/rdata.h |
| Source file: ./usr.sbin/bind/lib/dns/include/dns/sdlz.h |
| Source file: ./usr.sbin/bind/lib/dns/include/dns/version.h |
| Source file: ./usr.sbin/bind/lib/dns/include/dns/keyflags.h |
| Source file: ./usr.sbin/bind/lib/dns/include/dns/types.h |
| Source file: ./usr.sbin/bind/lib/dns/include/dns/message.h |
| Source file: ./usr.sbin/bind/lib/dns/include/dns/rdatasetiter.h |
| Source file: ./usr.sbin/bind/lib/dns/include/dns/dlz.h |
| Source file: ./usr.sbin/bind/lib/dns/include/dns/tkey.h |
| Source file: ./usr.sbin/bind/lib/dns/include/dns/journal.h |
| Source file: ./usr.sbin/bind/lib/dns/include/dns/masterdump.h |
| Source file: ./usr.sbin/bind/lib/dns/include/dns/acl.h |
| Source file: ./usr.sbin/bind/lib/dns/include/dns/opcode.h |
| Source file: ./usr.sbin/bind/lib/dns/include/dns/ttl.h |
| Source file: ./usr.sbin/bind/lib/dns/include/dns/timer.h |
| Source file: ./usr.sbin/bind/lib/dns/include/dns/peer.h |
| Source file: ./usr.sbin/bind/lib/dns/include/dns/ssu.h |
| Source file: ./usr.sbin/bind/lib/dns/include/dns/rcode.h |
| Source file: ./usr.sbin/bind/lib/dns/include/dns/ds.h |
| Source file: ./usr.sbin/bind/lib/dns/include/dns/time.h |
| Source file: ./usr.sbin/bind/lib/dns/include/dns/zonekey.h |
| Source file: ./usr.sbin/bind/lib/dns/include/dns/xfrin.h |
| Source file: ./usr.sbin/bind/lib/dns/include/dns/portlist.h |
| Source file: ./usr.sbin/bind/lib/dns/include/dns/dispatch.h |
| Source file: ./usr.sbin/bind/lib/dns/include/dns/name.h |
| Source file: ./usr.sbin/bind/lib/dns/include/dns/validator.h |
| Source file: ./usr.sbin/bind/lib/dns/include/dns/byaddr.h |
| Source file: ./usr.sbin/bind/lib/dns/include/dns/sdb.h |
| Source file: ./usr.sbin/bind/lib/dns/include/dns/rdatatype.h |
| Source file: ./usr.sbin/bind/lib/dns/include/dns/resolver.h |
| Source file: ./usr.sbin/bind/lib/dns/include/dns/db.h |
| Source file: ./usr.sbin/bind/lib/dns/include/dns/request.h |
| Source file: ./usr.sbin/bind/lib/dns/include/dns/diff.h |
| Source file: ./usr.sbin/bind/lib/dns/include/dns/zone.h |
| Source file: ./usr.sbin/bind/lib/dns/include/dns/zt.h |
| Source file: ./usr.sbin/bind/lib/dns/include/dns/rdataset.h |
| Source file: ./usr.sbin/bind/lib/dns/include/dns/result.h |
| Source file: ./usr.sbin/bind/lib/dns/include/dns/tcpmsg.h |
| Source file: ./usr.sbin/bind/lib/dns/include/dns/rdatalist.h |
| Source file: ./usr.sbin/bind/lib/dns/include/dns/events.h |
| Source file: ./usr.sbin/bind/lib/dns/include/dns/lookup.h |
| Source file: ./usr.sbin/bind/lib/dns/include/dns/keyvalues.h |
| Source file: ./usr.sbin/bind/lib/dns/include/dns/dbtable.h |
| Source file: ./usr.sbin/bind/lib/dns/include/dns/bit.h |
| Source file: ./usr.sbin/bind/lib/dns/include/dns/soa.h |
| Source file: ./usr.sbin/bind/lib/dns/include/dns/master.h |
| Source file: ./usr.sbin/bind/lib/dns/include/dns/stats.h |
| Source file: ./usr.sbin/bind/lib/dns/include/dns/forward.h |
| Source file: ./usr.sbin/bind/lib/dns/include/dns/secalg.h |
| Source file: ./usr.sbin/bind/lib/dns/include/dns/lib.h |
| Source file: ./usr.sbin/bind/lib/dns/include/dns/rdataclass.h |
| Source file: ./usr.sbin/bind/lib/dns/include/dns/order.h |
| Source file: ./usr.sbin/bind/lib/dns/include/dns/view.h |
| Source file: ./usr.sbin/bind/lib/dns/include/dns/keytable.h |
| Source file: ./usr.sbin/bind/lib/dns/include/dns/cert.h |
| Source file: ./usr.sbin/bind/lib/dns/include/dns/dbiterator.h |
| Source file: ./usr.sbin/bind/lib/dns/include/dns/dnssec.h |
| Source file: ./usr.sbin/bind/lib/dns/include/dns/rbt.h |
| Source file: ./usr.sbin/bind/lib/dns/include/dns/nsec.h |
| Source file: ./usr.sbin/bind/lib/dns/include/dns/log.h |
| Source file: ./usr.sbin/bind/lib/dns/dst_result.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| initialize_action |
|
2 |
8 |
41 |
1 |
| initialize |
|
1 |
4 |
23 |
1 |
| dst_result_totext |
|
1 |
4 |
19 |
1 |
| dst_result_register |
|
1 |
3 |
10 |
1 |
| Source file: ./usr.sbin/bind/lib/dns/include/dns/tsig.h |
| Source file: ./usr.sbin/bind/lib/dns/include/dns/compress.h |
| Source file: ./usr.sbin/bind/lib/dns/rdatalist_p.h |
| Source file: ./usr.sbin/bind/lib/dns/rcode.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| str_totext |
|
2 |
11 |
71 |
2 |
| maybe_numeric |
|
7 |
21 |
147 |
4 |
| dns_mnemonic_fromtext |
|
5 |
19 |
136 |
4 |
| dns_mnemonic_totext |
|
3 |
14 |
99 |
3 |
| dns_rcode_fromtext |
|
1 |
6 |
41 |
2 |
| dns_rcode_totext |
|
1 |
3 |
23 |
2 |
| dns_tsigrcode_fromtext |
|
1 |
6 |
41 |
2 |
| dns_tsigrcode_totext |
|
1 |
3 |
23 |
2 |
| dns_cert_fromtext |
|
1 |
6 |
41 |
2 |
| dns_cert_totext |
|
1 |
3 |
23 |
2 |
| dns_secalg_fromtext |
|
1 |
6 |
41 |
2 |
| dns_secalg_totext |
|
1 |
3 |
23 |
2 |
| dns_secproto_fromtext |
|
1 |
6 |
41 |
2 |
| dns_secproto_totext |
|
1 |
3 |
23 |
2 |
| dns_hashalg_fromtext |
|
1 |
6 |
42 |
2 |
| dns_keyflags_fromtext |
|
11 |
40 |
243 |
2 |
| dns_rdataclass_fromtext |
|
12 |
38 |
229 |
2 |
| dns_rdataclass_totext |
|
7 |
20 |
130 |
2 |
| dns_rdataclass_format |
|
4 |
18 |
98 |
3 |
| Source file: ./usr.sbin/bind/lib/dns/version.c |
| Source file: ./usr.sbin/bind/lib/dns/log.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dns_log_init |
|
1 |
5 |
29 |
1 |
| dns_log_setcontext |
|
1 |
3 |
12 |
1 |
| Source file: ./usr.sbin/bind/lib/dns/tcpmsg.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| recv_length |
|
6 |
44 |
275 |
2 |
| recv_message |
|
2 |
20 |
140 |
2 |
| dns_tcpmsg_init |
|
1 |
14 |
95 |
3 |
| dns_tcpmsg_setmaxsize |
|
1 |
5 |
33 |
2 |
| dns_tcpmsg_readmessage |
|
3 |
29 |
208 |
4 |
| dns_tcpmsg_cancelread |
|
1 |
4 |
27 |
1 |
| dns_tcpmsg_keepbuffer |
|
1 |
7 |
50 |
2 |
| dns_tcpmsg_freebuffer |
|
2 |
8 |
63 |
1 |
| dns_tcpmsg_invalidate |
|
2 |
10 |
69 |
1 |
| Source file: ./usr.sbin/bind/lib/dns/gen-unix.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| start_directory |
|
2 |
7 |
41 |
2 |
| next_file |
|
4 |
13 |
71 |
1 |
| end_directory |
|
2 |
5 |
32 |
1 |
| Source file: ./usr.sbin/bind/lib/dns/rbtdb.h |
| Source file: ./usr.sbin/bind/lib/dns/ttl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ttlfmt |
|
6 |
21 |
166 |
5 |
| dns_ttl_totext |
|
12 |
38 |
316 |
3 |
| dns_counter_fromtext |
|
1 |
3 |
22 |
2 |
| dns_ttl_fromtext |
|
2 |
7 |
39 |
2 |
| bind_ttl |
|
17 |
58 |
289 |
2 |
| Source file: ./usr.sbin/bind/lib/dns/rootns.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| in_rootns |
|
6 |
20 |
124 |
2 |
| check_node |
|
9 |
32 |
154 |
3 |
| check_hints |
|
11 |
46 |
288 |
1 |
| dns_rootns_create |
|
12 |
49 |
321 |
4 |
| report |
|
4 |
32 |
217 |
4 |
| inrrset |
|
3 |
13 |
78 |
2 |
| check_address_records |
|
27 |
86 |
641 |
5 |
| dns_root_checkhints |
|
13 |
90 |
573 |
3 |
| Source file: ./usr.sbin/bind/lib/dns/db.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| initialize |
|
1 |
16 |
109 |
1 |
| impfind |
|
3 |
9 |
58 |
1 |
| dns_db_create |
|
3 |
24 |
170 |
8 |
| dns_db_attach |
|
2 |
6 |
53 |
2 |
| dns_db_detach |
|
1 |
6 |
46 |
1 |
| dns_db_ondestroy |
|
1 |
5 |
39 |
3 |
| dns_db_iscache |
|
2 |
6 |
38 |
1 |
| dns_db_iszone |
|
2 |
6 |
42 |
1 |
| dns_db_isstub |
|
2 |
6 |
38 |
1 |
| dns_db_issecure |
|
1 |
5 |
43 |
1 |
| dns_db_ispersistent |
|
1 |
4 |
30 |
1 |
| dns_db_origin |
|
1 |
4 |
24 |
1 |
| dns_db_class |
|
1 |
4 |
23 |
1 |
| dns_db_beginload |
|
3 |
7 |
66 |
3 |
| dns_db_endload |
|
2 |
5 |
48 |
2 |
| dns_db_load |
|
1 |
3 |
25 |
2 |
| dns_db_load2 |
|
6 |
20 |
157 |
3 |
| dns_db_dump |
|
1 |
4 |
37 |
3 |
| dns_db_dump2 |
|
1 |
5 |
48 |
4 |
| dns_db_currentversion |
|
2 |
6 |
58 |
2 |
| dns_db_newversion |
|
2 |
6 |
61 |
2 |
| dns_db_attachversion |
|
2 |
10 |
79 |
3 |
| dns_db_closeversion |
|
2 |
9 |
71 |
3 |
| dns_db_findnode |
|
2 |
7 |
59 |
4 |
| dns_db_find |
|
7 |
18 |
155 |
10 |
| dns_db_findzonecut |
|
5 |
15 |
130 |
8 |
| dns_db_attachnode |
|
2 |
6 |
58 |
3 |
| dns_db_detachnode |
|
2 |
6 |
53 |
2 |
| dns_db_expirenode |
|
1 |
6 |
61 |
3 |
| dns_db_printnode |
|
1 |
5 |
46 |
3 |
| dns_db_createiterator |
|
2 |
7 |
51 |
3 |
| dns_db_findrdataset |
|
4 |
17 |
131 |
8 |
| dns_db_allrdatasets |
|
2 |
8 |
65 |
5 |
| dns_db_addrdataset |
|
8 |
20 |
181 |
7 |
| dns_db_subtractrdataset |
|
4 |
16 |
131 |
6 |
| dns_db_deleterdataset |
|
4 |
11 |
94 |
5 |
| dns_db_overmem |
|
1 |
4 |
32 |
2 |
| dns_db_getsoaserial |
|
5 |
34 |
239 |
3 |
| dns_db_nodecount |
|
1 |
4 |
30 |
1 |
| dns_db_settask |
|
1 |
4 |
33 |
2 |
| dns_db_register |
|
4 |
29 |
197 |
5 |
| dns_db_unregister |
|
2 |
13 |
95 |
1 |
| dns_db_getoriginnode |
|
3 |
8 |
73 |
2 |
| Source file: ./usr.sbin/bind/lib/dns/peer.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dns_peerlist_new |
|
2 |
13 |
82 |
2 |
| dns_peerlist_attach |
|
1 |
8 |
54 |
2 |
| dns_peerlist_detach |
|
2 |
12 |
74 |
1 |
| peerlist_delete |
|
2 |
18 |
122 |
1 |
| dns_peerlist_addpeer |
|
4 |
13 |
93 |
2 |
| dns_peerlist_peerbyaddr |
|
4 |
22 |
111 |
3 |
| dns_peerlist_currpeer |
|
1 |
6 |
39 |
2 |
| dns_peer_new |
|
3 |
15 |
76 |
3 |
| dns_peer_newprefix |
|
2 |
27 |
174 |
4 |
| dns_peer_attach |
|
1 |
8 |
54 |
2 |
| dns_peer_detach |
|
2 |
12 |
74 |
1 |
| peer_delete |
|
3 |
21 |
142 |
1 |
| dns_peer_setbogus |
|
2 |
8 |
59 |
2 |
| dns_peer_getbogus |
|
2 |
9 |
59 |
2 |
| dns_peer_setprovideixfr |
|
2 |
8 |
59 |
2 |
| dns_peer_getprovideixfr |
|
2 |
10 |
61 |
2 |
| dns_peer_setrequestixfr |
|
2 |
8 |
59 |
2 |
| dns_peer_getrequestixfr |
|
2 |
9 |
59 |
2 |
| dns_peer_setsupportedns |
|
2 |
8 |
59 |
2 |
| dns_peer_getsupportedns |
|
2 |
9 |
59 |
2 |
| dns_peer_settransfers |
|
2 |
8 |
59 |
2 |
| dns_peer_gettransfers |
|
2 |
10 |
61 |
2 |
| dns_peer_settransferformat |
|
2 |
9 |
59 |
2 |
| dns_peer_gettransferformat |
|
2 |
10 |
61 |
2 |
| dns_peer_getkey |
|
3 |
8 |
57 |
2 |
| dns_peer_setkey |
|
3 |
11 |
79 |
2 |
| dns_peer_setkeybycharp |
|
5 |
26 |
198 |
2 |
| dns_peer_settransfersource |
|
4 |
18 |
109 |
2 |
| dns_peer_gettransfersource |
|
2 |
8 |
53 |
2 |
| dns_peer_setnotifysource |
|
4 |
18 |
109 |
2 |
| dns_peer_getnotifysource |
|
2 |
8 |
53 |
2 |
| dns_peer_setquerysource |
|
4 |
16 |
109 |
2 |
| dns_peer_getquerysource |
|
2 |
8 |
53 |
2 |
| dns_peer_setudpsize |
|
2 |
8 |
59 |
2 |
| dns_peer_getudpsize |
|
2 |
10 |
61 |
2 |
| dns_peer_setmaxudp |
|
2 |
8 |
59 |
2 |
| dns_peer_getmaxudp |
|
2 |
10 |
61 |
2 |
| Source file: ./usr.sbin/bind/lib/dns/dst_parse.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| find_value |
|
5 |
10 |
85 |
2 |
| find_tag |
|
4 |
9 |
61 |
1 |
| check_rsa |
|
6 |
13 |
97 |
1 |
| check_dh |
|
6 |
13 |
97 |
1 |
| check_dsa |
|
6 |
13 |
97 |
1 |
| check_hmac_md5 |
|
9 |
17 |
128 |
2 |
| check_hmac_sha |
|
6 |
15 |
106 |
3 |
| check_data |
|
11 |
27 |
154 |
3 |
| dst__privstruct_free |
|
4 |
12 |
93 |
2 |
| dst__privstruct_parse |
|
24 |
98 |
614 |
5 |
| dst__privstruct_writefile |
|
16 |
83 |
497 |
3 |
| Source file: ./usr.sbin/bind/lib/dns/zonekey.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dns_zonekey_iszonekey |
|
6 |
17 |
104 |
1 |
| Source file: ./usr.sbin/bind/lib/dns/lib.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| open_msgcat |
|
1 |
3 |
14 |
1 |
| dns_lib_initmsgcat |
|
1 |
3 |
19 |
1 |
| Source file: ./usr.sbin/bind/lib/dns/callbacks.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| stdio_error_warn_callback |
|
1 |
10 |
51 |
3 |
| isclog_error_callback |
|
1 |
9 |
50 |
3 |
| isclog_warn_callback |
|
1 |
9 |
50 |
3 |
| dns_rdatacallbacks_initcommon |
|
1 |
7 |
39 |
1 |
| dns_rdatacallbacks_init |
|
1 |
5 |
25 |
1 |
| dns_rdatacallbacks_init_stdio |
|
1 |
5 |
25 |
1 |
| Source file: ./usr.sbin/bind/lib/dns/rdatalist.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dns_rdatalist_init |
|
1 |
8 |
46 |
1 |
| dns_rdatalist_tordataset |
|
1 |
18 |
116 |
2 |
| isc__rdatalist_disassociate |
|
1 |
3 |
13 |
1 |
| isc__rdatalist_first |
|
2 |
8 |
47 |
1 |
| isc__rdatalist_next |
|
3 |
10 |
58 |
1 |
| isc__rdatalist_current |
|
1 |
6 |
36 |
2 |
| isc__rdatalist_clone |
|
1 |
4 |
24 |
2 |
| isc__rdatalist_count |
|
2 |
12 |
62 |
1 |
| isc__rdatalist_addnoqname |
|
10 |
29 |
179 |
2 |
| isc__rdatalist_getnoqname |
|
8 |
28 |
175 |
4 |
| Source file: ./usr.sbin/bind/lib/dns/timer.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dns_timer_setidle |
|
1 |
15 |
87 |
4 |
| Source file: ./usr.sbin/bind/lib/dns/dispatch.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mgr_log |
|
2 |
12 |
82 |
4 |
| dispatch_log |
|
2 |
12 |
82 |
4 |
| request_log |
|
3 |
24 |
142 |
5 |
| dispatch_arc4init |
|
2 |
8 |
51 |
1 |
| dispatch_arc4addrandom |
|
2 |
13 |
121 |
3 |
| dispatch_arc4get8 |
|
1 |
10 |
97 |
1 |
| dispatch_arc4get16 |
|
1 |
6 |
33 |
1 |
| dispatch_arc4stir |
|
4 |
20 |
149 |
1 |
| dispatch_arc4random |
|
2 |
10 |
68 |
1 |
| dispatch_arc4uniformrandom |
|
5 |
15 |
83 |
2 |
| dns_hash |
|
1 |
10 |
63 |
4 |
| linear_first |
|
3 |
12 |
61 |
1 |
| linear_next |
|
4 |
16 |
90 |
2 |
| destroy_disp_ok |
|
4 |
10 |
52 |
1 |
| destroy_disp |
|
2 |
22 |
141 |
2 |
| bucket_search |
|
5 |
15 |
102 |
5 |
| free_buffer |
|
4 |
21 |
141 |
3 |
| allocate_udp_buffer |
|
2 |
9 |
61 |
1 |
| free_event |
|
2 |
8 |
50 |
2 |
| allocate_event |
|
2 |
9 |
66 |
1 |
| udp_recv |
|
24 |
145 |
1083 |
2 |
| tcp_recv |
|
14 |
108 |
690 |
2 |
| startrecv |
|
10 |
46 |
257 |
1 |
| destroy_mgr_ok |
|
6 |
20 |
136 |
1 |
| destroy_mgr |
|
5 |
28 |
198 |
1 |
| create_socket |
|
3 |
19 |
106 |
4 |
| dns_dispatchmgr_create |
|
11 |
84 |
541 |
3 |
| dns_dispatchmgr_setblackhole |
|
2 |
6 |
46 |
2 |
| dns_dispatchmgr_getblackhole |
|
1 |
4 |
23 |
1 |
| dns_dispatchmgr_setblackportlist |
|
3 |
9 |
52 |
2 |
| dns_dispatchmgr_getblackportlist |
|
1 |
4 |
23 |
1 |
| dns_dispatchmgr_setudp |
|
6 |
39 |
263 |
5 |
| dns_dispatchmgr_destroy |
|
2 |
15 |
94 |
1 |
| blacklisted |
|
7 |
20 |
114 |
3 |
| local_addr_match |
|
10 |
21 |
157 |
2 |
| dispatch_find |
|
6 |
27 |
142 |
5 |
| qid_allocate |
|
6 |
35 |
254 |
4 |
| qid_destroy |
|
1 |
12 |
86 |
2 |
| dispatch_allocate |
|
5 |
44 |
264 |
3 |
| dispatch_free |
|
3 |
25 |
164 |
1 |
| dns_dispatch_createtcp |
|
5 |
59 |
406 |
10 |
| dns_dispatch_getudp |
|
11 |
59 |
391 |
12 |
| dispatch_createudp |
|
25 |
117 |
712 |
7 |
| dns_dispatch_attach |
|
2 |
8 |
58 |
2 |
| dns_dispatch_detach |
|
5 |
22 |
148 |
1 |
| dns_dispatch_addresponse |
|
10 |
77 |
522 |
7 |
| dns_dispatch_starttcp |
|
1 |
8 |
59 |
1 |
| dns_dispatch_removeresponse |
|
12 |
79 |
527 |
2 |
| do_cancel |
|
5 |
29 |
199 |
1 |
| dns_dispatch_getsocket |
|
1 |
4 |
23 |
1 |
| dns_dispatch_getlocaladdress |
|
2 |
9 |
54 |
2 |
| dns_dispatch_cancel |
|
2 |
13 |
71 |
1 |
| dns_dispatch_changeattributes |
|
7 |
23 |
151 |
3 |
| dns_dispatch_importrecv |
|
3 |
30 |
230 |
2 |
| dns_dispatchmgr_dump |
|
2 |
10 |
68 |
1 |
| Source file: ./usr.sbin/bind/lib/dns/key.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dst_region_computeid |
|
4 |
17 |
159 |
2 |
| dst_key_name |
|
1 |
4 |
24 |
1 |
| dst_key_size |
|
1 |
4 |
24 |
1 |
| dst_key_proto |
|
1 |
4 |
24 |
1 |
| dst_key_alg |
|
1 |
4 |
24 |
1 |
| dst_key_flags |
|
1 |
4 |
24 |
1 |
| dst_key_id |
|
1 |
4 |
24 |
1 |
| dst_key_class |
|
1 |
4 |
24 |
1 |
| dst_key_iszonekey |
|
5 |
11 |
75 |
1 |
| dst_key_isnullkey |
|
5 |
11 |
75 |
1 |
| dst_key_setbits |
|
2 |
10 |
61 |
2 |
| dst_key_getbits |
|
1 |
4 |
24 |
1 |
| Source file: ./usr.sbin/bind/lib/dns/diff.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rdata_covers |
|
2 |
4 |
24 |
1 |
| dns_difftuple_create |
|
3 |
33 |
257 |
6 |
| dns_difftuple_free |
|
1 |
8 |
51 |
1 |
| dns_difftuple_copy |
|
1 |
4 |
42 |
2 |
| dns_diff_init |
|
1 |
5 |
31 |
2 |
| dns_diff_clear |
|
2 |
9 |
64 |
1 |
| dns_diff_append |
|
1 |
5 |
29 |
2 |
| dns_diff_appendminimal |
|
7 |
30 |
200 |
2 |
| diff_apply |
|
18 |
93 |
542 |
4 |
| dns_diff_apply |
|
1 |
3 |
30 |
3 |
| dns_diff_applysilently |
|
1 |
3 |
30 |
3 |
| dns_diff_load |
|
12 |
51 |
319 |
3 |
| dns_diff_sort |
|
6 |
29 |
230 |
2 |
| diff_tuple_tordataset |
|
1 |
17 |
127 |
4 |
| dns_diff_print |
|
12 |
61 |
388 |
2 |
| Source file: ./usr.sbin/bind/lib/dns/result.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| initialize_action |
|
3 |
13 |
62 |
1 |
| initialize |
|
1 |
4 |
23 |
1 |
| dns_result_totext |
|
1 |
4 |
19 |
1 |
| dns_result_register |
|
1 |
3 |
10 |
1 |
| dns_result_torcode |
|
25 |
42 |
145 |
1 |
| Source file: ./usr.sbin/bind/lib/dns/dst_parse.h |
| Source file: ./usr.sbin/bind/lib/dns/name.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dns_name_init |
|
1 |
3 |
20 |
2 |
| dns_name_reset |
|
1 |
5 |
29 |
1 |
| dns_name_invalidate |
|
1 |
11 |
65 |
1 |
| dns_name_setbuffer |
|
3 |
6 |
47 |
2 |
| dns_name_hasbuffer |
|
2 |
6 |
35 |
1 |
| dns_name_isabsolute |
|
2 |
6 |
39 |
1 |
| dns_name_ismailbox |
|
11 |
37 |
218 |
1 |
| dns_name_ishostname |
|
11 |
30 |
187 |
2 |
| dns_name_iswildcard |
|
4 |
11 |
73 |
1 |
| dns_name_internalwildcard |
|
4 |
21 |
119 |
1 |
| name_hash |
|
5 |
25 |
126 |
2 |
| dns_name_hash |
|
2 |
6 |
42 |
2 |
| dns_name_fullhash |
|
2 |
7 |
54 |
2 |
| dns_fullname_hash |
|
1 |
4 |
29 |
2 |
| dns_name_hashbylabel |
|
5 |
25 |
184 |
2 |
| dns_name_fullcompare |
|
12 |
69 |
404 |
4 |
| dns_name_compare |
|
1 |
6 |
42 |
2 |
| dns_name_equal |
|
7 |
30 |
191 |
2 |
| dns_name_caseequal |
|
3 |
11 |
93 |
2 |
| dns_name_rdatacompare |
|
9 |
36 |
261 |
2 |
| dns_name_issubdomain |
|
3 |
10 |
59 |
2 |
| dns_name_matcheswildcard |
|
2 |
17 |
122 |
2 |
| dns_name_countlabels |
|
1 |
5 |
33 |
1 |
| dns_name_getlabel |
|
2 |
14 |
122 |
3 |
| dns_name_getlabelsequence |
|
9 |
33 |
228 |
4 |
| dns_name_clone |
|
4 |
18 |
132 |
2 |
| dns_name_fromregion |
|
7 |
32 |
224 |
2 |
| dns_name_toregion |
|
1 |
5 |
34 |
2 |
| dns_name_fromtext |
|
49 |
204 |
1058 |
5 |
| free_specific |
|
1 |
5 |
37 |
1 |
| thread_key_mutex_init |
|
1 |
3 |
17 |
1 |
| totext_filter_proc_key_init |
|
7 |
24 |
124 |
1 |
| dns_name_totext |
|
38 |
118 |
606 |
3 |
| dns_name_tofilenametext |
|
27 |
80 |
427 |
3 |
| dns_name_downcase |
|
15 |
59 |
395 |
3 |
| set_offsets |
|
5 |
37 |
190 |
3 |
| dns_name_fromwire |
|
27 |
114 |
617 |
5 |
| dns_name_towire |
|
12 |
51 |
365 |
3 |
| dns_name_concatenate |
|
31 |
84 |
541 |
4 |
| dns_name_split |
|
10 |
24 |
153 |
4 |
| dns_name_dup |
|
5 |
26 |
186 |
3 |
| dns_name_dupwithoffsets |
|
4 |
26 |
204 |
3 |
| dns_name_free |
|
2 |
10 |
76 |
2 |
| dns_name_digest |
|
2 |
16 |
116 |
3 |
| dns_name_dynamic |
|
2 |
5 |
33 |
1 |
| dns_name_print |
|
2 |
14 |
107 |
2 |
| dns_name_settotextfilter |
|
9 |
31 |
181 |
1 |
| dns_name_format |
|
2 |
13 |
100 |
3 |
| dns_name_copy |
|
8 |
31 |
246 |
3 |
| dns_name_destroy |
|
3 |
11 |
52 |
1 |
| Source file: ./usr.sbin/bind/lib/dns/rdata.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| getquad |
|
5 |
17 |
110 |
4 |
| name_duporclone |
|
2 |
6 |
46 |
3 |
| mem_maybedup |
|
3 |
9 |
59 |
3 |
| dns_rdata_init |
|
1 |
9 |
52 |
1 |
| dns_rdata_reset |
|
1 |
10 |
64 |
1 |
| dns_rdata_clone |
|
1 |
12 |
91 |
2 |
| dns_rdata_compare |
|
8 |
23 |
181 |
2 |
| dns_rdata_fromregion |
|
1 |
13 |
82 |
4 |
| dns_rdata_toregion |
|
1 |
7 |
51 |
2 |
| dns_rdata_fromwire |
|
10 |
47 |
252 |
7 |
| dns_rdata_towire |
|
5 |
30 |
178 |
3 |
| rdata_validate |
|
1 |
13 |
82 |
4 |
| unknown_fromtext |
|
10 |
38 |
239 |
5 |
| dns_rdata_fromtext |
|
21 |
85 |
523 |
9 |
| rdata_totext |
|
10 |
38 |
262 |
3 |
| dns_rdata_totext |
|
1 |
10 |
64 |
3 |
| dns_rdata_tofmttext |
|
2 |
17 |
103 |
6 |
| dns_rdata_fromstruct |
|
6 |
27 |
149 |
5 |
| dns_rdata_tostruct |
|
2 |
10 |
56 |
3 |
| dns_rdata_freestruct |
|
1 |
5 |
22 |
1 |
| dns_rdata_additionaldata |
|
2 |
13 |
61 |
3 |
| dns_rdata_digest |
|
2 |
14 |
82 |
3 |
| dns_rdata_checkowner |
|
1 |
7 |
26 |
4 |
| dns_rdata_checknames |
|
1 |
6 |
25 |
3 |
| dns_rdatatype_attributes |
|
3 |
7 |
36 |
1 |
| dns_rdatatype_fromtext |
|
7 |
25 |
216 |
2 |
| dns_rdatatype_totext |
|
1 |
6 |
45 |
2 |
| dns_rdatatype_format |
|
4 |
18 |
98 |
3 |
| name_length |
|
1 |
3 |
15 |
1 |
| txt_totext |
|
12 |
47 |
306 |
2 |
| txt_fromtext |
|
14 |
56 |
326 |
2 |
| txt_fromwire |
|
4 |
18 |
118 |
2 |
| name_prefix |
|
5 |
18 |
111 |
3 |
| str_totext |
|
2 |
11 |
71 |
2 |
| inet_totext |
|
3 |
9 |
75 |
3 |
| buffer_empty |
|
2 |
3 |
25 |
1 |
| buffer_fromregion |
|
1 |
5 |
43 |
2 |
| uint32_tobuffer |
|
2 |
8 |
47 |
2 |
| uint16_tobuffer |
|
3 |
10 |
61 |
2 |
| uint8_tobuffer |
|
3 |
10 |
61 |
2 |
| name_tobuffer |
|
1 |
5 |
34 |
2 |
| uint32_fromregion |
|
1 |
9 |
70 |
1 |
| uint16_consume_fromregion |
|
1 |
5 |
26 |
1 |
| uint16_fromregion |
|
1 |
4 |
39 |
1 |
| uint8_fromregion |
|
1 |
4 |
27 |
1 |
| uint8_consume_fromregion |
|
1 |
5 |
26 |
1 |
| mem_tobuffer |
|
2 |
9 |
63 |
3 |
| hexvalue |
|
4 |
12 |
79 |
1 |
| decvalue |
|
3 |
8 |
53 |
1 |
| byte_atob |
|
6 |
33 |
256 |
3 |
| putbyte |
|
3 |
19 |
104 |
3 |
| atob_tobuffer |
|
10 |
39 |
330 |
2 |
| byte_btoa |
|
8 |
53 |
367 |
3 |
| btoa_totext |
|
3 |
12 |
127 |
3 |
| default_fromtext_callback |
|
1 |
10 |
51 |
3 |
| fromtext_warneof |
|
4 |
10 |
64 |
2 |
| warn_badmx |
|
2 |
13 |
74 |
3 |
| warn_badname |
|
2 |
15 |
88 |
3 |
| fromtext_error |
|
8 |
42 |
232 |
6 |
| dns_rdata_covers |
|
2 |
5 |
32 |
1 |
| dns_rdatatype_ismeta |
|
2 |
5 |
30 |
1 |
| dns_rdatatype_issingleton |
|
2 |
6 |
30 |
1 |
| dns_rdatatype_notquestion |
|
2 |
6 |
30 |
1 |
| dns_rdatatype_questiononly |
|
2 |
6 |
30 |
1 |
| dns_rdatatype_atparent |
|
2 |
5 |
30 |
1 |
| dns_rdataclass_ismeta |
|
4 |
7 |
31 |
1 |
| dns_rdatatype_isdnssec |
|
2 |
5 |
30 |
1 |
| dns_rdatatype_iszonecutauth |
|
2 |
7 |
34 |
1 |
| dns_rdatatype_isknown |
|
2 |
6 |
30 |
1 |
| Source file: ./usr.sbin/bind/lib/dns/tsig.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tsig_log |
|
3 |
16 |
123 |
4 |
| dns_tsigkey_createfromkey |
|
47 |
161 |
1035 |
10 |
| dns_tsigkey_create |
|
23 |
98 |
581 |
11 |
| dns_tsigkey_attach |
|
2 |
6 |
47 |
2 |
| tsigkey_free |
|
4 |
17 |
147 |
1 |
| dns_tsigkey_detach |
|
2 |
11 |
64 |
1 |
| dns_tsigkey_setdeleted |
|
1 |
7 |
68 |
1 |
| buffer_putuint48 |
|
1 |
8 |
54 |
2 |
| dns_tsig_sign |
|
42 |
220 |
1444 |
1 |
| dns_tsig_verify |
|
63 |
228 |
1610 |
4 |
| tsig_verify_tcp |
|
28 |
155 |
1015 |
2 |
| dns_tsigkey_find |
|
7 |
34 |
258 |
4 |
| free_tsignode |
|
1 |
7 |
38 |
2 |
| dns_tsigkeyring_create |
|
4 |
25 |
174 |
2 |
| dns_tsigkeyring_destroy |
|
1 |
10 |
67 |
1 |
| Source file: ./usr.sbin/bind/lib/dns/dlz.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dlz_initialize |
|
1 |
4 |
25 |
1 |
| dlz_impfind |
|
3 |
9 |
58 |
1 |
| dns_dlzallowzonexfr |
|
3 |
18 |
123 |
4 |
| dns_dlzcreate |
|
5 |
51 |
355 |
6 |
| dns_dlzdestroy |
|
3 |
16 |
125 |
1 |
| dns_dlzfindzone |
|
7 |
33 |
218 |
4 |
| dns_dlzregister |
|
4 |
43 |
288 |
5 |
| dns_dlzstrtoargvsub |
|
17 |
43 |
269 |
5 |
| dns_dlzstrtoargv |
|
1 |
5 |
38 |
4 |
| dns_dlzunregister |
|
2 |
16 |
111 |
1 |
| Source file: ./usr.sbin/bind/lib/dns/byaddr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dns_byaddr_createptrname |
|
1 |
7 |
32 |
3 |
| dns_byaddr_createptrname2 |
|
5 |
38 |
297 |
3 |
| copy_ptr_targets |
|
6 |
31 |
206 |
2 |
| lookup_done |
|
2 |
17 |
129 |
2 |
| bevent_destroy |
|
2 |
17 |
118 |
1 |
| dns_byaddr_create |
|
6 |
53 |
364 |
8 |
| dns_byaddr_cancel |
|
3 |
10 |
62 |
1 |
| dns_byaddr_destroy |
|
1 |
13 |
92 |
1 |
| Source file: ./usr.sbin/bind/lib/dns/rdatasetiter.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dns_rdatasetiter_destroy |
|
1 |
6 |
44 |
1 |
| dns_rdatasetiter_first |
|
1 |
4 |
28 |
1 |
| dns_rdatasetiter_next |
|
1 |
4 |
28 |
1 |
| dns_rdatasetiter_current |
|
1 |
8 |
48 |
2 |
| Source file: ./usr.sbin/bind/lib/dns/rdataslab.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| compare_rdata |
|
1 |
5 |
46 |
2 |
| fillin_offsets |
|
3 |
18 |
160 |
3 |
| dns_rdataslab_fromrdataset |
|
30 |
93 |
746 |
4 |
| rdataset_disassociate |
|
1 |
3 |
13 |
1 |
| rdataset_first |
|
3 |
15 |
88 |
1 |
| rdataset_next |
|
3 |
16 |
90 |
1 |
| rdataset_current |
|
2 |
10 |
77 |
2 |
| rdataset_clone |
|
1 |
5 |
30 |
2 |
| rdataset_count |
|
1 |
6 |
40 |
1 |
| dns_rdataslab_tordataset |
|
1 |
19 |
114 |
7 |
| dns_rdataslab_size |
|
4 |
17 |
107 |
2 |
| rdata_from_slab |
|
2 |
14 |
81 |
4 |
| rdata_in_slab |
|
5 |
23 |
138 |
5 |
| dns_rdataslab_merge |
|
45 |
157 |
1092 |
8 |
| dns_rdataslab_subtract |
|
27 |
96 |
712 |
8 |
| dns_rdataslab_equal |
|
7 |
32 |
187 |
3 |
| dns_rdataslab_equalx |
|
5 |
28 |
185 |
5 |
| Source file: ./usr.sbin/bind/lib/dns/dst_openssl.h |
| Source file: ./usr.sbin/bind/lib/dns/view.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dns_view_create |
|
14 |
153 |
947 |
4 |
| destroy |
|
26 |
88 |
700 |
1 |
| all_done |
|
6 |
7 |
51 |
1 |
| dns_view_attach |
|
2 |
6 |
47 |
2 |
| view_flushanddetach |
|
9 |
31 |
193 |
2 |
| dns_view_flushanddetach |
|
1 |
3 |
15 |
1 |
| dns_view_detach |
|
1 |
3 |
15 |
1 |
| dialup |
|
1 |
5 |
27 |
2 |
| dns_view_dialup |
|
1 |
4 |
32 |
1 |
| dns_view_weakattach |
|
2 |
8 |
58 |
2 |
| dns_view_weakdetach |
|
2 |
15 |
88 |
1 |
| resolver_shutdown |
|
2 |
15 |
98 |
2 |
| adb_shutdown |
|
2 |
15 |
98 |
2 |
| req_shutdown |
|
2 |
15 |
98 |
2 |
| dns_view_createresolver |
|
6 |
60 |
398 |
9 |
| dns_view_setcache |
|
4 |
15 |
122 |
2 |
| dns_view_sethints |
|
1 |
7 |
55 |
2 |
| dns_view_setkeyring |
|
2 |
7 |
49 |
2 |
| dns_view_setdstport |
|
1 |
4 |
25 |
2 |
| dns_view_addzone |
|
1 |
7 |
47 |
2 |
| dns_view_freeze |
|
2 |
9 |
56 |
1 |
| dns_view_findzone |
|
2 |
10 |
66 |
3 |
| dns_view_find |
|
53 |
150 |
934 |
11 |
| dns_view_simplefind |
|
16 |
34 |
186 |
8 |
| dns_view_findzonecut |
|
1 |
9 |
58 |
8 |
| dns_view_findzonecut2 |
|
37 |
116 |
678 |
9 |
| dns_viewlist_find |
|
5 |
16 |
100 |
4 |
| dns_view_load |
|
1 |
4 |
31 |
2 |
| dns_view_loadnew |
|
1 |
4 |
31 |
2 |
| dns_view_gettsig |
|
3 |
11 |
72 |
3 |
| dns_view_getpeertsig |
|
3 |
14 |
89 |
3 |
| dns_view_checksig |
|
1 |
6 |
49 |
3 |
| dns_view_dumpdbtostream |
|
2 |
11 |
82 |
2 |
| dns_view_flushcache |
|
5 |
17 |
122 |
1 |
| dns_view_flushname |
|
3 |
8 |
62 |
2 |
| dns_view_adddelegationonly |
|
9 |
31 |
238 |
2 |
| dns_view_excludedelegationonly |
|
9 |
31 |
238 |
2 |
| dns_view_isdelegationonly |
|
13 |
25 |
194 |
2 |
| dns_view_setrootdelonly |
|
1 |
4 |
25 |
2 |
| dns_view_getrootdelonly |
|
1 |
4 |
23 |
1 |
| dns_view_freezezones |
|
1 |
4 |
31 |
2 |
| Source file: ./usr.sbin/bind/lib/dns/rbtdb.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| attach |
|
1 |
6 |
45 |
2 |
| free_rbtdb_callback |
|
1 |
5 |
34 |
2 |
| adjust_quantum |
|
7 |
30 |
171 |
2 |
| free_rbtdb |
|
17 |
74 |
552 |
3 |
| maybe_free_rbtdb |
|
9 |
37 |
274 |
1 |
| detach |
|
2 |
9 |
60 |
1 |
| currentversion |
|
1 |
11 |
84 |
2 |
| allocate_version |
|
3 |
20 |
124 |
4 |
| newversion |
|
4 |
21 |
149 |
2 |
| attachversion |
|
1 |
11 |
67 |
3 |
| add_changed |
|
2 |
19 |
126 |
3 |
| free_acachearray |
|
4 |
14 |
114 |
3 |
| free_noqname |
|
4 |
12 |
128 |
2 |
| free_rdataset |
|
3 |
13 |
104 |
2 |
| rollback_node |
|
6 |
20 |
113 |
2 |
| clean_stale_headers |
|
2 |
8 |
56 |
2 |
| clean_cache_node |
|
4 |
19 |
126 |
2 |
| clean_zone_node |
|
18 |
80 |
433 |
3 |
| new_reference |
|
2 |
11 |
74 |
2 |
| decrement_reference |
|
28 |
89 |
557 |
5 |
| make_least_version |
|
1 |
7 |
38 |
3 |
| cleanup_nondirty |
|
3 |
14 |
79 |
2 |
| iszonesecure |
|
7 |
37 |
213 |
2 |
| closeversion |
|
20 |
118 |
719 |
3 |
| add_wildcard_magic |
|
3 |
18 |
115 |
2 |
| add_empty_wildcards |
|
6 |
25 |
159 |
2 |
| findnode |
|
9 |
49 |
345 |
4 |
| zone_zonecut_callback |
|
21 |
74 |
443 |
3 |
| bind_rdataset |
|
5 |
30 |
212 |
5 |
| setup_delegation |
|
9 |
36 |
231 |
5 |
| valid_glue |
|
10 |
41 |
233 |
4 |
| activeempty |
|
12 |
47 |
287 |
3 |
| activeemtpynode |
|
26 |
95 |
624 |
3 |
| find_wildcard |
|
24 |
101 |
548 |
3 |
| find_closest_nsec |
|
24 |
92 |
494 |
6 |
| zone_find |
|
84 |
272 |
1605 |
10 |
| zone_findzonecut |
|
1 |
16 |
89 |
8 |
| cache_zonecut_callback |
|
15 |
65 |
392 |
3 |
| find_deepest_zonecut |
|
23 |
112 |
585 |
6 |
| find_coveringnsec |
|
19 |
99 |
548 |
6 |
| cache_find |
|
54 |
195 |
1182 |
10 |
| cache_findzonecut |
|
19 |
101 |
650 |
8 |
| attachnode |
|
2 |
12 |
110 |
3 |
| detachnode |
|
9 |
40 |
271 |
2 |
| expirenode |
|
14 |
54 |
354 |
3 |
| overmem |
|
2 |
6 |
36 |
2 |
| printnode |
|
5 |
36 |
219 |
3 |
| createiterator |
|
2 |
27 |
206 |
3 |
| zone_findrdataset |
|
17 |
67 |
414 |
8 |
| cache_findrdataset |
|
19 |
66 |
419 |
8 |
| allrdatasets |
|
5 |
42 |
297 |
5 |
| cname_and_other_data |
|
20 |
46 |
243 |
2 |
| add |
|
79 |
230 |
1399 |
8 |
| delegating_type |
|
7 |
14 |
77 |
3 |
| addnoqname |
|
5 |
43 |
276 |
3 |
| addrdataset |
|
15 |
66 |
456 |
7 |
| subtractrdataset |
|
22 |
120 |
793 |
6 |
| deleterdataset |
|
9 |
38 |
280 |
5 |
| loading_addrdataset |
|
15 |
55 |
389 |
3 |
| beginload |
|
3 |
22 |
154 |
3 |
| endload |
|
2 |
19 |
161 |
2 |
| dump |
|
1 |
9 |
63 |
4 |
| delete_callback |
|
2 |
8 |
58 |
2 |
| issecure |
|
1 |
10 |
62 |
1 |
| nodecount |
|
1 |
10 |
66 |
1 |
| settask |
|
3 |
11 |
84 |
2 |
| ispersistent |
|
1 |
4 |
18 |
1 |
| getoriginnode |
|
3 |
18 |
134 |
2 |
| dns_rbtdb_create |
|
21 |
132 |
945 |
8 |
| rdataset_disassociate |
|
1 |
5 |
32 |
1 |
| rdataset_first |
|
4 |
17 |
101 |
1 |
| rdataset_next |
|
5 |
18 |
106 |
1 |
| rdataset_current |
|
5 |
17 |
142 |
2 |
| rdataset_clone |
|
1 |
9 |
62 |
2 |
| rdataset_count |
|
1 |
6 |
40 |
1 |
| rdataset_getnoqname |
|
1 |
38 |
262 |
4 |
| rdatasetiter_destroy |
|
2 |
11 |
91 |
1 |
| rdatasetiter_first |
|
11 |
38 |
247 |
1 |
| rdatasetiter_next |
|
15 |
54 |
346 |
1 |
| rdatasetiter_current |
|
1 |
14 |
116 |
2 |
| reference_iter_node |
|
2 |
10 |
84 |
1 |
| dereference_iter_node |
|
2 |
13 |
91 |
1 |
| flush_deletions |
|
5 |
37 |
231 |
1 |
| resume_iteration |
|
1 |
8 |
60 |
1 |
| dbiterator_destroy |
|
2 |
18 |
143 |
1 |
| dbiterator_first |
|
7 |
30 |
198 |
1 |
| dbiterator_last |
|
7 |
30 |
198 |
1 |
| dbiterator_seek |
|
7 |
29 |
203 |
2 |
| dbiterator_prev |
|
6 |
23 |
166 |
1 |
| dbiterator_next |
|
6 |
23 |
166 |
1 |
| dbiterator_current |
|
12 |
43 |
333 |
3 |
| dbiterator_pause |
|
5 |
17 |
113 |
1 |
| dbiterator_origin |
|
2 |
7 |
61 |
2 |
| rdataset_getadditional |
|
7 |
59 |
347 |
11 |
| acache_callback |
|
4 |
36 |
252 |
2 |
| acache_cancelentry |
|
2 |
14 |
93 |
3 |
| rdataset_setadditional |
|
17 |
110 |
693 |
9 |
| rdataset_putadditional |
|
8 |
55 |
330 |
4 |
| Source file: ./usr.sbin/bind/lib/dns/dnssec.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| digest_callback |
|
1 |
4 |
28 |
2 |
| rdata_compare_wrapper |
|
1 |
4 |
34 |
2 |
| rdataset_to_sortedarray |
|
4 |
24 |
163 |
4 |
| dns_dnssec_keyfromrdata |
|
2 |
17 |
128 |
4 |
| digest_sig |
|
2 |
17 |
119 |
3 |
| dns_dnssec_sign |
|
20 |
124 |
937 |
8 |
| dns_dnssec_verify2 |
|
24 |
108 |
792 |
7 |
| dns_dnssec_verify |
|
2 |
11 |
64 |
6 |
| dns_dnssec_findzonekeys2 |
|
15 |
68 |
405 |
9 |
| dns_dnssec_findzonekeys |
|
1 |
8 |
61 |
8 |
| dns_dnssec_signmessage |
|
7 |
96 |
715 |
2 |
| dns_dnssec_verifymessage |
|
12 |
86 |
583 |
3 |
| Source file: ./usr.sbin/bind/lib/dns/time.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dns_time64_totext |
|
8 |
46 |
297 |
2 |
| dns_time32_totext |
|
2 |
15 |
78 |
2 |
| dns_time64_fromtext |
|
10 |
29 |
270 |
2 |
| dns_time32_fromtext |
|
2 |
9 |
53 |
2 |
| Source file: ./usr.sbin/bind/lib/dns/gssapi_link.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| gssapi_createctx |
|
3 |
18 |
117 |
2 |
| gssapi_destroyctx |
|
3 |
9 |
60 |
1 |
| gssapi_adddata |
|
3 |
20 |
149 |
2 |
| gssapi_sign |
|
3 |
19 |
135 |
2 |
| gssapi_verify |
|
2 |
13 |
95 |
2 |
| gssapi_compare |
|
1 |
5 |
38 |
2 |
| gssapi_generate |
|
1 |
5 |
26 |
2 |
| gssapi_isprivate |
|
1 |
4 |
19 |
1 |
| gssapi_destroy |
|
1 |
3 |
13 |
1 |
| dst__gssapi_init |
|
2 |
6 |
33 |
1 |
| Source file: ./usr.sbin/bind/lib/dns/rdataset.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dns_rdataset_init |
|
1 |
19 |
112 |
1 |
| dns_rdataset_invalidate |
|
1 |
18 |
110 |
1 |
| dns_rdataset_disassociate |
|
1 |
20 |
127 |
1 |
| dns_rdataset_isassociated |
|
2 |
6 |
34 |
1 |
| question_disassociate |
|
1 |
3 |
13 |
1 |
| question_cursor |
|
1 |
4 |
18 |
1 |
| question_current |
|
1 |
5 |
27 |
2 |
| question_clone |
|
1 |
3 |
18 |
2 |
| question_count |
|
1 |
5 |
23 |
1 |
| dns_rdataset_makequestion |
|
1 |
10 |
56 |
3 |
| dns_rdataset_count |
|
1 |
5 |
39 |
1 |
| dns_rdataset_clone |
|
1 |
7 |
59 |
2 |
| dns_rdataset_first |
|
1 |
5 |
39 |
1 |
| dns_rdataset_next |
|
1 |
5 |
39 |
1 |
| dns_rdataset_current |
|
1 |
5 |
42 |
2 |
| towire_compare |
|
1 |
5 |
53 |
2 |
| towiresorted |
|
46 |
186 |
1240 |
10 |
| dns_rdataset_towiresorted |
|
1 |
13 |
64 |
8 |
| dns_rdataset_towirepartial |
|
1 |
15 |
75 |
9 |
| dns_rdataset_towire |
|
1 |
10 |
55 |
6 |
| dns_rdataset_additionaldata |
|
5 |
21 |
127 |
3 |
| dns_rdataset_addnoqname |
|
2 |
7 |
60 |
2 |
| dns_rdataset_getnoqname |
|
2 |
9 |
72 |
4 |
| dns_rdataset_getadditional |
|
7 |
29 |
179 |
11 |
| dns_rdataset_setadditional |
|
3 |
20 |
106 |
9 |
| dns_rdataset_putadditional |
|
3 |
13 |
76 |
4 |
| Source file: ./usr.sbin/bind/lib/dns/compress.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dns_compress_init |
|
2 |
13 |
90 |
3 |
| dns_compress_invalidate |
|
4 |
17 |
121 |
1 |
| dns_compress_setmethods |
|
1 |
5 |
36 |
2 |
| dns_compress_getmethods |
|
1 |
4 |
25 |
1 |
| dns_compress_setsensitive |
|
2 |
7 |
36 |
2 |
| dns_compress_getsensitive |
|
1 |
4 |
32 |
1 |
| dns_compress_getedns |
|
1 |
4 |
23 |
1 |
| dns_compress_findglobal |
|
10 |
42 |
279 |
4 |
| name_length |
|
1 |
5 |
27 |
1 |
| dns_compress_add |
|
6 |
48 |
290 |
4 |
| dns_compress_rollback |
|
5 |
15 |
113 |
2 |
| dns_decompress_init |
|
2 |
9 |
57 |
3 |
| dns_decompress_invalidate |
|
1 |
4 |
22 |
1 |
| dns_decompress_setmethods |
|
4 |
14 |
61 |
2 |
| dns_decompress_getmethods |
|
1 |
4 |
23 |
1 |
| dns_decompress_edns |
|
1 |
4 |
23 |
1 |
| dns_decompress_type |
|
1 |
4 |
23 |
1 |
| Source file: ./usr.sbin/bind/lib/dns/soa.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| decode_uint32 |
|
1 |
6 |
52 |
1 |
| encode_uint32 |
|
1 |
6 |
72 |
2 |
| soa_get |
|
2 |
6 |
58 |
2 |
| dns_soa_getserial |
|
1 |
3 |
16 |
1 |
| dns_soa_getrefresh |
|
1 |
3 |
16 |
1 |
| dns_soa_getretry |
|
1 |
3 |
16 |
1 |
| dns_soa_getexpire |
|
1 |
3 |
16 |
1 |
| dns_soa_getminimum |
|
1 |
3 |
16 |
1 |
| soa_set |
|
2 |
6 |
60 |
3 |
| dns_soa_setserial |
|
1 |
3 |
20 |
2 |
| dns_soa_setrefresh |
|
1 |
3 |
20 |
2 |
| dns_soa_setretry |
|
1 |
3 |
20 |
2 |
| dns_soa_setexpire |
|
1 |
3 |
20 |
2 |
| dns_soa_setminimum |
|
1 |
3 |
20 |
2 |
| Source file: ./usr.sbin/bind/lib/dns/rbtdb64.h |
| Source file: ./usr.sbin/bind/lib/dns/gen.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| upper |
|
4 |
15 |
103 |
1 |
| funname |
|
3 |
9 |
58 |
2 |
| doswitch |
|
15 |
67 |
404 |
6 |
| dodecl |
|
3 |
17 |
113 |
3 |
| find_typename |
|
4 |
9 |
62 |
1 |
| insert_into_typenames |
|
16 |
53 |
416 |
3 |
| add |
|
18 |
58 |
434 |
5 |
| sd |
|
7 |
21 |
177 |
4 |
| HASH |
|
2 |
12 |
88 |
1 |
| main |
|
57 |
306 |
1988 |
2 |
| Source file: ./usr.sbin/bind/lib/dns/rbt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| Name |
|
2 |
7 |
38 |
1 |
| find_up |
|
2 |
6 |
40 |
1 |
| dns_rbt_create |
|
7 |
27 |
187 |
4 |
| dns_rbt_destroy |
|
1 |
3 |
20 |
1 |
| dns_rbt_destroy2 |
|
4 |
16 |
128 |
2 |
| dns_rbt_nodecount |
|
1 |
4 |
23 |
1 |
| chain_name |
|
6 |
22 |
150 |
3 |
| move_chain_to_last |
|
4 |
12 |
72 |
2 |
| dns_rbt_addnode |
|
23 |
150 |
938 |
3 |
| dns_rbt_addname |
|
4 |
14 |
92 |
3 |
| dns_rbt_findnode |
|
50 |
237 |
1249 |
8 |
| dns_rbt_findname |
|
5 |
14 |
108 |
5 |
| dns_rbt_deletename |
|
4 |
16 |
111 |
3 |
| dns_rbt_deletenode |
|
9 |
29 |
207 |
3 |
| dns_rbt_namefromnode |
|
1 |
6 |
43 |
2 |
| dns_rbt_fullnamefromnode |
|
3 |
18 |
116 |
2 |
| dns_rbt_formatnodename |
|
2 |
17 |
99 |
3 |
| create_node |
|
4 |
36 |
264 |
3 |
| hash_add_node |
|
1 |
7 |
64 |
3 |
| inithash |
|
2 |
10 |
72 |
1 |
| rehash |
|
5 |
30 |
213 |
1 |
| hash_node |
|
2 |
6 |
52 |
3 |
| unhash_node |
|
4 |
18 |
117 |
2 |
| rotate_left |
|
5 |
24 |
166 |
2 |
| rotate_right |
|
5 |
24 |
166 |
2 |
| dns_rbt_addonlevel |
|
14 |
79 |
477 |
4 |
| dns_rbt_deletefromlevel |
|
33 |
129 |
881 |
2 |
| dns_rbt_deletetree |
|
12 |
34 |
232 |
2 |
| dns_rbt_deletetreeflat |
|
14 |
45 |
263 |
3 |
| dns_rbt_indent |
|
2 |
5 |
28 |
1 |
| dns_rbt_printnodename |
|
1 |
12 |
78 |
1 |
| dns_rbt_printtree |
|
15 |
41 |
275 |
3 |
| dns_rbt_printall |
|
1 |
4 |
27 |
1 |
| dns_rbtnodechain_init |
|
1 |
8 |
49 |
2 |
| dns_rbtnodechain_current |
|
7 |
26 |
154 |
4 |
| dns_rbtnodechain_prev |
|
19 |
56 |
340 |
3 |
| dns_rbtnodechain_next |
|
21 |
59 |
348 |
3 |
| dns_rbtnodechain_first |
|
2 |
13 |
80 |
4 |
| dns_rbtnodechain_last |
|
3 |
15 |
94 |
4 |
| dns_rbtnodechain_reset |
|
1 |
6 |
34 |
1 |
| dns_rbtnodechain_invalidate |
|
1 |
4 |
19 |
1 |
| Source file: ./usr.sbin/bind/lib/dns/openssl_link.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| entropy_get |
|
3 |
7 |
54 |
2 |
| entropy_getpseudo |
|
3 |
7 |
54 |
2 |
| entropy_add |
|
1 |
5 |
30 |
3 |
| lock_callback |
|
2 |
8 |
57 |
4 |
| id_callback |
|
1 |
3 |
17 |
1 |
| mem_alloc |
|
1 |
4 |
24 |
1 |
| mem_free |
|
2 |
5 |
28 |
1 |
| mem_realloc |
|
5 |
13 |
76 |
2 |
| dst__openssl_init |
|
8 |
44 |
225 |
0 |
| dst__openssl_destroy |
|
11 |
24 |
103 |
0 |
| dst__openssl_toresult |
|
2 |
13 |
50 |
1 |
| Source file: ./usr.sbin/bind/lib/dns/nsec.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| set_bit |
|
2 |
9 |
69 |
3 |
| bit_isset |
|
1 |
7 |
58 |
2 |
| dns_nsec_buildrdata |
|
16 |
69 |
463 |
6 |
| dns_nsec_build |
|
3 |
28 |
189 |
5 |
| dns_nsec_typepresent |
|
6 |
29 |
213 |
2 |
| Source file: ./usr.sbin/bind/lib/dns/stats.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dns_stats_alloccounters |
|
3 |
11 |
72 |
2 |
| dns_stats_freecounters |
|
1 |
4 |
32 |
2 |
| Source file: ./usr.sbin/bind/lib/dns/dst_api.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| default_memalloc |
|
2 |
6 |
34 |
2 |
| default_memfree |
|
1 |
4 |
22 |
2 |
| dst_lib_init |
|
7 |
34 |
279 |
3 |
| dst_lib_destroy |
|
7 |
13 |
88 |
1 |
| dst_algorithm_supported |
|
3 |
6 |
38 |
1 |
| dst_context_create |
|
6 |
25 |
174 |
3 |
| dst_context_destroy |
|
2 |
10 |
79 |
1 |
| dst_context_adddata |
|
1 |
6 |
57 |
2 |
| dst_context_sign |
|
5 |
15 |
112 |
2 |
| dst_context_verify |
|
3 |
10 |
84 |
2 |
| dst_key_computesecret |
|
8 |
18 |
139 |
3 |
| dst_key_tofile |
|
6 |
19 |
142 |
3 |
| dst_key_fromfile |
|
8 |
38 |
251 |
7 |
| dst_key_fromnamedfile |
|
14 |
74 |
518 |
4 |
| dst_key_todns |
|
6 |
23 |
183 |
2 |
| dst_key_fromdns |
|
5 |
31 |
193 |
5 |
| dst_key_frombuffer |
|
3 |
20 |
118 |
8 |
| dst_key_tobuffer |
|
2 |
9 |
71 |
2 |
| dst_key_privatefrombuffer |
|
3 |
17 |
127 |
2 |
| dst_key_fromgssapi |
|
3 |
14 |
89 |
4 |
| dst_key_generate |
|
7 |
38 |
230 |
9 |
| dst_key_compare |
|
8 |
16 |
113 |
2 |
| dst_key_paramcompare |
|
7 |
15 |
105 |
2 |
| dst_key_free |
|
3 |
17 |
129 |
1 |
| dst_key_isprivate |
|
1 |
5 |
40 |
1 |
| dst_key_buildfilename |
|
3 |
8 |
68 |
4 |
| dst_key_sigsize |
|
12 |
39 |
160 |
2 |
| dst_key_secretsize |
|
2 |
10 |
68 |
2 |
| get_key_struct |
|
4 |
34 |
241 |
7 |
| dst_key_read_public |
|
18 |
74 |
520 |
4 |
| issymmetric |
|
7 |
16 |
67 |
1 |
| write_public_key |
|
9 |
57 |
431 |
3 |
| buildfilename |
|
10 |
35 |
245 |
6 |
| computeid |
|
2 |
13 |
86 |
1 |
| frombuffer |
|
7 |
32 |
208 |
8 |
| algorithm_status |
|
7 |
10 |
59 |
1 |
| addsuffix |
|
9 |
18 |
149 |
4 |
| dst__entropy_getdata |
|
2 |
6 |
45 |
3 |
| Source file: ./usr.sbin/bind/lib/dns/forward.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dns_fwdtable_create |
|
5 |
25 |
169 |
2 |
| dns_fwdtable_add |
|
6 |
40 |
271 |
4 |
| dns_fwdtable_find |
|
1 |
5 |
30 |
3 |
| dns_fwdtable_find2 |
|
2 |
13 |
87 |
4 |
| dns_fwdtable_destroy |
|
2 |
13 |
85 |
1 |
| auto_detach |
|
2 |
12 |
93 |
2 |
| Source file: ./usr.sbin/bind/lib/dns/sdlz.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dns_sdlz_tolower |
|
4 |
8 |
59 |
1 |
| initial_size |
|
1 |
4 |
33 |
1 |
| rdatasetiter_destroy |
|
1 |
8 |
60 |
1 |
| rdatasetiter_first |
|
2 |
8 |
60 |
1 |
| rdatasetiter_next |
|
2 |
8 |
50 |
1 |
| rdatasetiter_current |
|
1 |
5 |
39 |
2 |
| attach |
|
1 |
9 |
65 |
2 |
| destroy |
|
1 |
10 |
74 |
1 |
| detach |
|
3 |
14 |
90 |
1 |
| beginload |
|
1 |
6 |
36 |
3 |
| endload |
|
1 |
5 |
27 |
2 |
| dump |
|
1 |
9 |
45 |
4 |
| currentversion |
|
2 |
6 |
41 |
2 |
| newversion |
|
1 |
5 |
27 |
2 |
| attachversion |
|
2 |
9 |
52 |
3 |
| closeversion |
|
2 |
7 |
54 |
3 |
| createnode |
|
3 |
26 |
180 |
2 |
| destroynode |
|
5 |
34 |
244 |
1 |
| findnode |
|
14 |
74 |
517 |
4 |
| findzonecut |
|
1 |
14 |
80 |
8 |
| attachnode |
|
1 |
12 |
93 |
3 |
| detachnode |
|
4 |
18 |
123 |
2 |
| expirenode |
|
1 |
7 |
40 |
3 |
| printnode |
|
1 |
6 |
33 |
3 |
| createiterator |
|
6 |
45 |
330 |
3 |
| findrdataset |
|
6 |
26 |
158 |
8 |
| find |
|
30 |
108 |
611 |
10 |
| allrdatasets |
|
3 |
20 |
151 |
5 |
| addrdataset |
|
1 |
13 |
71 |
7 |
| subtractrdataset |
|
1 |
12 |
63 |
6 |
| deleterdataset |
|
1 |
10 |
52 |
5 |
| issecure |
|
1 |
4 |
18 |
1 |
| nodecount |
|
1 |
4 |
18 |
1 |
| ispersistent |
|
1 |
4 |
18 |
1 |
| overmem |
|
1 |
4 |
21 |
2 |
| settask |
|
1 |
4 |
22 |
2 |
| dbiterator_destroy |
|
2 |
13 |
107 |
1 |
| dbiterator_first |
|
2 |
8 |
48 |
1 |
| dbiterator_last |
|
2 |
8 |
48 |
1 |
| dbiterator_seek |
|
3 |
8 |
64 |
2 |
| dbiterator_prev |
|
2 |
8 |
50 |
1 |
| dbiterator_next |
|
2 |
8 |
50 |
1 |
| dbiterator_current |
|
2 |
9 |
66 |
3 |
| dbiterator_pause |
|
1 |
4 |
18 |
1 |
| dbiterator_origin |
|
1 |
4 |
29 |
2 |
| disassociate |
|
1 |
7 |
51 |
1 |
| rdataset_clone |
|
1 |
9 |
71 |
2 |
| list_tordataset |
|
1 |
9 |
51 |
4 |
| dns_sdlzcreateDBP |
|
5 |
38 |
282 |
6 |
| dns_sdlzallowzonexfr |
|
6 |
42 |
286 |
7 |
| dns_sdlzcreate |
|
3 |
30 |
174 |
6 |
| dns_sdlzdestroy |
|
2 |
13 |
71 |
2 |
| dns_sdlzfindzone |
|
4 |
25 |
183 |
6 |
| dns_sdlz_putrr |
|
18 |
90 |
579 |
4 |
| dns_sdlz_putnamedrr |
|
11 |
50 |
386 |
5 |
| dns_sdlz_putsoa |
|
3 |
15 |
118 |
4 |
| dns_sdlzregister |
|
5 |
48 |
306 |
6 |
| dns_sdlzunregister |
|
2 |
15 |
94 |
1 |
| Source file: ./usr.sbin/bind/lib/dns/masterdump.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| indent |
|
10 |
49 |
277 |
4 |
| totext_ctx_init |
|
6 |
38 |
260 |
2 |
| str_totext |
|
2 |
11 |
71 |
2 |
| rdataset_totext |
|
23 |
115 |
682 |
5 |
| question_totext |
|
4 |
45 |
229 |
5 |
| dns_rdataset_totext |
|
4 |
23 |
113 |
5 |
| dns_master_rdatasettotext |
|
2 |
16 |
76 |
4 |
| dns_master_questiontotext |
|
2 |
16 |
76 |
4 |
| dump_rdataset |
|
10 |
54 |
345 |
6 |
| dump_order |
|
4 |
23 |
90 |
1 |
| dump_order_compare |
|
1 |
4 |
47 |
2 |
| dump_rdatasets_text |
|
14 |
59 |
414 |
6 |
| dump_rdataset_raw |
|
6 |
70 |
491 |
5 |
| dump_rdatasets_raw |
|
5 |
23 |
132 |
6 |
| dumpctx_destroy |
|
5 |
15 |
130 |
1 |
| dns_dumpctx_attach |
|
2 |
10 |
76 |
2 |
| dns_dumpctx_detach |
|
3 |
16 |
93 |
1 |
| dns_dumpctx_version |
|
1 |
4 |
23 |
1 |
| dns_dumpctx_db |
|
1 |
4 |
23 |
1 |
| dns_dumpctx_cancel |
|
1 |
6 |
38 |
1 |
| closeandrename |
|
10 |
35 |
191 |
4 |
| dump_quantum |
|
6 |
26 |
153 |
2 |
| task_send |
|
2 |
9 |
61 |
1 |
| dumpctx_create |
|
14 |
73 |
456 |
7 |
| dumptostreaminc |
|
26 |
133 |
844 |
1 |
| dns_master_dumptostreaminc |
|
3 |
28 |
167 |
9 |
| dns_master_dumptostream |
|
1 |
8 |
43 |
5 |
| dns_master_dumptostream2 |
|
2 |
15 |
93 |
6 |
| opentmp |
|
4 |
27 |
158 |
4 |
| dns_master_dumpinc |
|
1 |
9 |
67 |
9 |
| dns_master_dumpinc2 |
|
8 |
44 |
282 |
10 |
| dns_master_dump |
|
1 |
6 |
44 |
5 |
| dns_master_dump2 |
|
3 |
22 |
150 |
6 |
| dns_master_dumpnodetostream |
|
5 |
35 |
206 |
7 |
| dns_master_dumpnode |
|
3 |
26 |
152 |
7 |
| dns_master_stylecreate |
|
3 |
21 |
132 |
9 |
| dns_master_styledestroy |
|
2 |
7 |
51 |
2 |
| Source file: ./usr.sbin/bind/lib/dns/message.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| msgblock_allocate |
|
2 |
14 |
81 |
3 |
| msgblock_internalget |
|
3 |
10 |
69 |
2 |
| msgblock_reset |
|
1 |
3 |
16 |
1 |
| msgblock_free |
|
1 |
6 |
44 |
3 |
| newbuffer |
|
2 |
10 |
64 |
2 |
| currentbuffer |
|
1 |
6 |
33 |
1 |
| releaserdata |
|
1 |
3 |
23 |
2 |
| newrdata |
|
4 |
21 |
132 |
1 |
| releaserdatalist |
|
1 |
3 |
23 |
2 |
| newrdatalist |
|
4 |
21 |
127 |
1 |
| newoffsets |
|
3 |
16 |
94 |
1 |
| msginitheader |
|
1 |
7 |
38 |
1 |
| msginitprivate |
|
2 |
17 |
105 |
1 |
| msginittsig |
|
1 |
10 |
57 |
1 |
| msginit |
|
1 |
19 |
115 |
1 |
| msgresetnames |
|
5 |
25 |
180 |
2 |
| msgresetopt |
|
3 |
13 |
77 |
1 |
| msgresetsigs |
|
11 |
42 |
309 |
2 |
| msgreset |
|
21 |
93 |
656 |
2 |
| spacefortsig |
|
3 |
15 |
98 |
2 |
| dns_message_create |
|
10 |
62 |
429 |
3 |
| dns_message_reset |
|
2 |
7 |
44 |
2 |
| dns_message_destroy |
|
1 |
12 |
81 |
1 |
| findname |
|
4 |
15 |
77 |
3 |
| dns_message_find |
|
7 |
20 |
110 |
5 |
| dns_message_findtype |
|
6 |
19 |
108 |
4 |
| getname |
|
4 |
25 |
126 |
4 |
| getrdata |
|
7 |
37 |
188 |
7 |
| getquestions |
|
19 |
103 |
577 |
4 |
| update |
|
4 |
8 |
51 |
2 |
| getsection |
|
79 |
261 |
1420 |
5 |
| dns_message_parse |
|
24 |
96 |
625 |
3 |
| dns_message_renderbegin |
|
3 |
19 |
117 |
3 |
| dns_message_renderchangebuffer |
|
1 |
14 |
110 |
2 |
| dns_message_renderrelease |
|
1 |
5 |
35 |
2 |
| dns_message_renderreserve |
|
3 |
11 |
73 |
2 |
| wrong_priority |
|
8 |
23 |
97 |
3 |
| dns_message_rendersection |
|
31 |
159 |
856 |
3 |
| dns_message_renderheader |
|
4 |
26 |
200 |
2 |
| dns_message_renderend |
|
16 |
74 |
501 |
1 |
| dns_message_renderreset |
|
7 |
31 |
209 |
1 |
| dns_message_firstname |
|
2 |
8 |
65 |
2 |
| dns_message_nextname |
|
2 |
9 |
79 |
2 |
| dns_message_currentname |
|
2 |
9 |
65 |
3 |
| dns_message_findname |
|
9 |
33 |
196 |
7 |
| dns_message_movename |
|
1 |
12 |
85 |
4 |
| dns_message_addname |
|
1 |
9 |
60 |
3 |
| dns_message_removename |
|
1 |
9 |
60 |
3 |
| dns_message_gettempname |
|
3 |
9 |
67 |
2 |
| dns_message_gettempoffsets |
|
3 |
8 |
57 |
2 |
| dns_message_gettemprdata |
|
3 |
8 |
57 |
2 |
| dns_message_gettemprdataset |
|
3 |
9 |
65 |
2 |
| dns_message_gettemprdatalist |
|
3 |
8 |
57 |
2 |
| dns_message_puttempname |
|
3 |
8 |
65 |
2 |
| dns_message_puttemprdata |
|
2 |
6 |
45 |
2 |
| dns_message_puttemprdataset |
|
2 |
7 |
57 |
2 |
| dns_message_puttemprdatalist |
|
2 |
6 |
45 |
2 |
| dns_message_peekheader |
|
4 |
21 |
111 |
3 |
| dns_message_reply |
|
10 |
46 |
294 |
2 |
| dns_message_getopt |
|
1 |
4 |
23 |
1 |
| dns_message_setopt |
|
3 |
24 |
148 |
2 |
| dns_message_gettsig |
|
3 |
7 |
52 |
2 |
| dns_message_settsigkey |
|
8 |
27 |
178 |
2 |
| dns_message_gettsigkey |
|
1 |
4 |
23 |
1 |
| dns_message_setquerytsig |
|
10 |
45 |
302 |
2 |
| dns_message_getquerytsig |
|
5 |
21 |
149 |
3 |
| dns_message_getsig0 |
|
5 |
11 |
74 |
2 |
| dns_message_setsig0key |
|
5 |
25 |
164 |
2 |
| dns_message_getsig0key |
|
1 |
4 |
23 |
1 |
| dns_message_takebuffer |
|
1 |
7 |
53 |
2 |
| dns_message_signer |
|
15 |
60 |
387 |
2 |
| dns_message_resetsig |
|
2 |
12 |
70 |
1 |
| dns_message_rechecksig |
|
1 |
4 |
27 |
2 |
| dns_message_checksig |
|
21 |
75 |
512 |
2 |
| dns_message_sectiontotext |
|
12 |
56 |
319 |
5 |
| dns_message_pseudosectiontotext |
|
16 |
63 |
452 |
5 |
| dns_message_totext |
|
20 |
97 |
702 |
4 |
| dns_message_getrawmessage |
|
1 |
4 |
24 |
1 |
| dns_message_setsortorder |
|
1 |
7 |
36 |
3 |
| dns_message_settimeadjust |
|
1 |
4 |
25 |
2 |
| dns_message_gettimeadjust |
|
1 |
4 |
23 |
1 |
| dns_opcode_totext |
|
2 |
7 |
53 |
2 |
| Source file: ./usr.sbin/bind/lib/dns/ds.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dns_ds_buildrdata |
|
4 |
50 |
368 |
5 |
| dns_ds_digest_supported |
|
2 |
4 |
22 |
1 |
| Source file: ./usr.sbin/bind/lib/dns/validator.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| markanswer |
|
3 |
7 |
60 |
1 |
| validator_done |
|
2 |
12 |
92 |
2 |
| exit_check |
|
4 |
8 |
54 |
1 |
| isdelegation |
|
5 |
27 |
147 |
3 |
| fetch_callback_validator |
|
11 |
51 |
337 |
2 |
| dsfetched |
|
13 |
58 |
368 |
2 |
| dsfetched2 |
|
19 |
64 |
415 |
2 |
| keyvalidated |
|
6 |
37 |
249 |
2 |
| dsvalidated |
|
6 |
38 |
242 |
2 |
| nsecnoexistnodata |
|
28 |
118 |
740 |
7 |
| authvalidated |
|
20 |
68 |
428 |
2 |
| view_find |
|
28 |
95 |
650 |
3 |
| check_deadlock |
|
5 |
15 |
89 |
3 |
| create_fetch |
|
4 |
18 |
137 |
5 |
| create_validator |
|
3 |
18 |
130 |
7 |
| get_dst_key |
|
12 |
51 |
289 |
3 |
| get_key |
|
22 |
65 |
404 |
2 |
| compute_keytag |
|
1 |
5 |
36 |
2 |
| isselfsigned |
|
5 |
33 |
199 |
1 |
| verify |
|
9 |
33 |
196 |
4 |
| validate |
|
26 |
128 |
736 |
2 |
| dlv_validatezonekey |
|
25 |
132 |
791 |
1 |
| validatezonekey |
|
53 |
244 |
1424 |
1 |
| start_positive_validation |
|
3 |
5 |
42 |
1 |
| checkwildcard |
|
23 |
63 |
387 |
1 |
| nsecvalidate |
|
32 |
105 |
646 |
2 |
| check_ds |
|
4 |
20 |
125 |
3 |
| dlvfetched |
|
13 |
62 |
427 |
2 |
| startfinddlvsep |
|
4 |
31 |
217 |
2 |
| finddlvsep |
|
18 |
83 |
574 |
2 |
| proveunsecure |
|
42 |
171 |
996 |
2 |
| dlv_validator_start |
|
1 |
8 |
56 |
1 |
| validator_start |
|
16 |
67 |
451 |
2 |
| dns_validator_create |
|
9 |
82 |
547 |
11 |
| dns_validator_send |
|
1 |
10 |
78 |
1 |
| dns_validator_cancel |
|
5 |
19 |
138 |
1 |
| destroy |
|
9 |
27 |
225 |
1 |
| dns_validator_destroy |
|
2 |
15 |
92 |
1 |
| validator_logv |
|
4 |
24 |
194 |
6 |
| validator_log |
|
2 |
9 |
60 |
4 |
| validator_logcreate |
|
1 |
11 |
81 |
5 |
| Source file: ./usr.sbin/bind/lib/dns/dbtable.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dbdetach |
|
1 |
5 |
29 |
2 |
| dns_dbtable_create |
|
6 |
35 |
222 |
3 |
| dbtable_free |
|
2 |
10 |
81 |
1 |
| dns_dbtable_attach |
|
2 |
10 |
76 |
2 |
| dns_dbtable_detach |
|
3 |
16 |
93 |
1 |
| dns_dbtable_add |
|
1 |
12 |
92 |
2 |
| dns_dbtable_remove |
|
2 |
15 |
115 |
2 |
| dns_dbtable_adddefault |
|
1 |
9 |
80 |
2 |
| dns_dbtable_getdefault |
|
2 |
7 |
61 |
2 |
| dns_dbtable_removedefault |
|
1 |
6 |
44 |
1 |
| dns_dbtable_find |
|
6 |
22 |
158 |
4 |
| Source file: ./usr.sbin/bind/lib/dns/portlist.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| compare |
|
3 |
9 |
74 |
2 |
| dns_portlist_create |
|
5 |
27 |
187 |
2 |
| find_port |
|
8 |
30 |
181 |
3 |
| dns_portlist_add |
|
9 |
46 |
314 |
3 |
| dns_portlist_remove |
|
6 |
22 |
151 |
3 |
| dns_portlist_match |
|
8 |
18 |
136 |
3 |
| dns_portlist_attach |
|
2 |
6 |
47 |
2 |
| dns_portlist_detach |
|
3 |
20 |
129 |
1 |
| Source file: ./usr.sbin/bind/lib/dns/order.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dns_order_create |
|
4 |
19 |
132 |
2 |
| dns_order_add |
|
4 |
22 |
144 |
5 |
| match |
|
2 |
5 |
39 |
2 |
| dns_order_find |
|
7 |
18 |
115 |
4 |
| dns_order_attach |
|
2 |
6 |
47 |
2 |
| dns_order_detach |
|
3 |
19 |
137 |
1 |
| Source file: ./usr.sbin/bind/lib/dns/rbtdb64.c |
| Source file: ./usr.sbin/bind/lib/dns/ncache.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| copy_rdataset |
|
6 |
30 |
198 |
2 |
| dns_ncache_add |
|
21 |
106 |
640 |
7 |
| dns_ncache_towire |
|
10 |
81 |
575 |
5 |
| rdataset_disassociate |
|
1 |
3 |
13 |
1 |
| rdataset_first |
|
2 |
14 |
78 |
1 |
| rdataset_next |
|
2 |
15 |
84 |
1 |
| rdataset_current |
|
1 |
9 |
73 |
2 |
| rdataset_clone |
|
1 |
5 |
30 |
2 |
| rdataset_count |
|
1 |
6 |
40 |
1 |
| dns_ncache_getrdataset |
|
7 |
62 |
435 |
4 |
| Source file: ./usr.sbin/bind/lib/dns/xfrin.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| axfr_init |
|
2 |
12 |
81 |
1 |
| axfr_makedb |
|
1 |
9 |
41 |
2 |
| axfr_putdata |
|
2 |
15 |
107 |
5 |
| axfr_apply |
|
1 |
10 |
59 |
1 |
| axfr_commit |
|
1 |
9 |
63 |
1 |
| ixfr_init |
|
3 |
19 |
107 |
1 |
| ixfr_putdata |
|
3 |
16 |
113 |
5 |
| ixfr_apply |
|
5 |
19 |
139 |
1 |
| ixfr_commit |
|
3 |
13 |
83 |
1 |
| xfr_rr |
|
32 |
126 |
707 |
4 |
| dns_xfrin_create |
|
3 |
21 |
116 |
10 |
| dns_xfrin_create2 |
|
6 |
32 |
228 |
11 |
| dns_xfrin_shutdown |
|
2 |
4 |
24 |
1 |
| dns_xfrin_attach |
|
2 |
5 |
34 |
2 |
| dns_xfrin_detach |
|
1 |
7 |
39 |
1 |
| xfrin_cancelio |
|
4 |
11 |
74 |
1 |
| xfrin_reset |
|
7 |
23 |
177 |
1 |
| xfrin_fail |
|
5 |
17 |
115 |
3 |
| xfrin_create |
|
9 |
92 |
620 |
13 |
| xfrin_start |
|
1 |
16 |
102 |
1 |
| render |
|
2 |
18 |
135 |
3 |
| xfrin_connect_done |
|
4 |
30 |
210 |
2 |
| tuple2msgname |
|
5 |
39 |
280 |
3 |
| xfrin_send_request |
|
9 |
67 |
540 |
1 |
| xfrin_sendlen_done |
|
3 |
25 |
166 |
2 |
| xfrin_send_done |
|
2 |
18 |
130 |
2 |
| xfrin_recv_done |
|
34 |
131 |
855 |
2 |
| xfrin_timeout |
|
1 |
7 |
52 |
2 |
| maybe_free |
|
18 |
34 |
302 |
1 |
| xfrin_logv |
|
1 |
12 |
81 |
5 |
| xfrin_log1 |
|
2 |
10 |
64 |
5 |
| xfrin_log |
|
2 |
11 |
84 |
4 |
| Source file: ./usr.sbin/bind/lib/dns/dst_lib.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| open_msgcat |
|
1 |
3 |
14 |
1 |
| dst_lib_initmsgcat |
|
1 |
3 |
19 |
1 |
| Source file: ./usr.sbin/bind/lib/dns/cache.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| adjust_increment |
|
8 |
46 |
267 |
3 |
| cache_create_db |
|
1 |
5 |
44 |
2 |
| dns_cache_create |
|
15 |
81 |
537 |
8 |
| cache_free |
|
11 |
37 |
317 |
1 |
| dns_cache_attach |
|
2 |
8 |
58 |
2 |
| dns_cache_detach |
|
6 |
30 |
164 |
1 |
| dns_cache_attachdb |
|
2 |
8 |
66 |
2 |
| dns_cache_setfilename |
|
3 |
14 |
98 |
2 |
| dns_cache_load |
|
2 |
10 |
66 |
1 |
| dns_cache_dump |
|
2 |
11 |
75 |
1 |
| dns_cache_setcleaninginterval |
|
4 |
26 |
145 |
2 |
| cache_cleaner_init |
|
15 |
89 |
486 |
4 |
| begin_cleaning |
|
7 |
38 |
233 |
1 |
| end_cleaning |
|
2 |
15 |
105 |
2 |
| cleaning_timer_action |
|
2 |
12 |
83 |
2 |
| overmem_cleaning_action |
|
5 |
24 |
150 |
2 |
| incremental_cleaning_action |
|
9 |
79 |
450 |
2 |
| dns_cache_clean |
|
6 |
29 |
170 |
2 |
| water |
|
2 |
12 |
98 |
2 |
| dns_cache_setcachesize |
|
6 |
13 |
106 |
2 |
| cleaner_shutdown_action |
|
5 |
22 |
162 |
2 |
| dns_cache_flush |
|
5 |
24 |
171 |
1 |
| dns_cache_flushname |
|
10 |
44 |
267 |
2 |
| Source file: ./usr.sbin/bind/lib/dns/master.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| gettoken |
|
7 |
35 |
170 |
5 |
| dns_loadctx_attach |
|
2 |
10 |
76 |
2 |
| dns_loadctx_detach |
|
3 |
16 |
93 |
1 |
| incctx_destroy |
|
2 |
11 |
58 |
2 |
| loadctx_destroy |
|
7 |
26 |
175 |
1 |
| incctx_create |
|
3 |
27 |
197 |
3 |
| loadctx_create |
|
14 |
99 |
650 |
12 |
| genname |
|
23 |
81 |
520 |
4 |
| openfile_text |
|
1 |
3 |
25 |
2 |
| openfile_raw |
|
3 |
10 |
61 |
2 |
| generate |
|
31 |
145 |
954 |
7 |
| limit_ttl |
|
2 |
14 |
57 |
4 |
| check_ns |
|
9 |
30 |
225 |
4 |
| check_wildcard |
|
3 |
13 |
89 |
4 |
| load_text |
|
198 |
821 |
4937 |
1 |
| pushfile |
|
9 |
38 |
271 |
3 |
| read_and_check |
|
4 |
15 |
93 |
4 |
| load_raw |
|
37 |
212 |
1383 |
1 |
| dns_master_loadfile |
|
1 |
8 |
54 |
7 |
| dns_master_loadfile2 |
|
3 |
21 |
138 |
8 |
| dns_master_loadfileinc |
|
1 |
11 |
77 |
11 |
| dns_master_loadfileinc2 |
|
4 |
27 |
176 |
12 |
| dns_master_loadstream |
|
4 |
22 |
143 |
7 |
| dns_master_loadstreaminc |
|
5 |
29 |
181 |
11 |
| dns_master_loadbuffer |
|
3 |
22 |
139 |
7 |
| dns_master_loadbufferinc |
|
4 |
29 |
177 |
11 |
| dns_master_loadlexer |
|
2 |
18 |
117 |
7 |
| dns_master_loadlexerinc |
|
3 |
25 |
155 |
11 |
| grow_rdatalist |
|
7 |
40 |
298 |
6 |
| grow_rdata |
|
9 |
48 |
357 |
6 |
| commit |
|
8 |
45 |
291 |
6 |
| is_glue |
|
6 |
24 |
145 |
2 |
| load_quantum |
|
3 |
19 |
112 |
2 |
| task_send |
|
2 |
10 |
61 |
1 |
| dns_loadctx_cancel |
|
1 |
6 |
38 |
1 |
| Source file: ./usr.sbin/bind/lib/dns/gssapictx.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| name_to_gbuffer |
|
2 |
20 |
115 |
3 |
| dst_gssapi_acquirecred |
|
6 |
30 |
176 |
3 |
| dst_gssapi_initctx |
|
7 |
44 |
272 |
5 |
| dst_gssapi_acceptctx |
|
4 |
34 |
214 |
5 |
| dst_gssapi_acquirecred |
|
1 |
6 |
35 |
3 |
| dst_gssapi_initctx |
|
1 |
11 |
54 |
5 |
| dst_gssapi_acceptctx |
|
1 |
11 |
54 |
5 |
| Source file: ./usr.sbin/bind/lib/dns/acache.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| reset_stats |
|
1 |
11 |
80 |
1 |
| check_noentry |
|
3 |
6 |
35 |
1 |
| shutdown_entries |
|
5 |
23 |
164 |
1 |
| shutdown_buckets |
|
4 |
17 |
133 |
1 |
| shutdown_task |
|
1 |
12 |
73 |
2 |
| unlink_dbentries |
|
3 |
18 |
131 |
2 |
| destroy_entry |
|
1 |
9 |
62 |
1 |
| destroy |
|
5 |
21 |
180 |
1 |
| finddbent |
|
5 |
20 |
134 |
3 |
| clear_entry |
|
9 |
35 |
265 |
2 |
| acache_cleaner_init |
|
10 |
74 |
373 |
3 |
| begin_cleaning |
|
3 |
22 |
151 |
1 |
| end_cleaning |
|
5 |
51 |
328 |
2 |
| acache_cleaning_timer_action |
|
2 |
11 |
74 |
2 |
| entry_stale |
|
7 |
22 |
138 |
4 |
| acache_incremental_cleaning_action |
|
10 |
76 |
473 |
2 |
| acache_overmem_cleaning_action |
|
5 |
23 |
141 |
2 |
| water |
|
3 |
15 |
120 |
2 |
| acache_cleaner_shutdown_action |
|
5 |
25 |
184 |
2 |
| dns_acache_create |
|
15 |
91 |
635 |
4 |
| dns_acache_attach |
|
2 |
7 |
54 |
2 |
| dns_acache_countquerymiss |
|
1 |
4 |
22 |
1 |
| dns_acache_detach |
|
6 |
20 |
114 |
1 |
| dns_acache_shutdown |
|
2 |
18 |
122 |
1 |
| dns_acache_setdb |
|
3 |
33 |
211 |
2 |
| dns_acache_putdb |
|
11 |
57 |
453 |
2 |
| dns_acache_createentry |
|
5 |
45 |
301 |
5 |
| dns_acache_getentry |
|
17 |
74 |
524 |
8 |
| dns_acache_setentry |
|
17 |
88 |
567 |
7 |
| dns_acache_cancelentry |
|
1 |
14 |
106 |
1 |
| dns_acache_attachentry |
|
2 |
8 |
47 |
2 |
| dns_acache_detachentry |
|
3 |
13 |
86 |
1 |
| dns_acache_setcleaninginterval |
|
4 |
33 |
176 |
2 |
| dns_acache_setcachesize |
|
6 |
14 |
106 |
2 |
| Source file: ./usr.sbin/bind/lib/dns/adb.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| DP |
|
1 |
8 |
44 |
3 |
| ttlclamp |
|
3 |
7 |
32 |
1 |
| import_rdataset |
|
19 |
109 |
634 |
3 |
| kill_name |
|
7 |
36 |
241 |
2 |
| check_expire_namehooks |
|
13 |
42 |
269 |
3 |
| link_name |
|
1 |
6 |
52 |
3 |
| unlink_name |
|
3 |
13 |
100 |
2 |
| link_entry |
|
1 |
5 |
43 |
3 |
| unlink_entry |
|
3 |
13 |
100 |
2 |
| violate_locking_hierarchy |
|
2 |
7 |
38 |
2 |
| shutdown_names |
|
4 |
25 |
150 |
1 |
| shutdown_entries |
|
7 |
28 |
170 |
1 |
| cancel_fetches_at_name |
|
3 |
6 |
40 |
1 |
| clean_namehooks |
|
6 |
29 |
187 |
2 |
| clean_target |
|
2 |
6 |
39 |
2 |
| set_target |
|
9 |
52 |
348 |
5 |
| event_free |
|
1 |
10 |
61 |
1 |
| clean_finds_at_name |
|
7 |
64 |
362 |
3 |
| check_exit |
|
2 |
9 |
51 |
1 |
| dec_adb_irefcnt |
|
5 |
22 |
142 |
1 |
| inc_adb_irefcnt |
|
1 |
5 |
29 |
1 |
| inc_adb_erefcnt |
|
1 |
5 |
29 |
1 |
| inc_entry_refcnt |
|
3 |
9 |
59 |
3 |
| dec_entry_refcnt |
|
8 |
25 |
158 |
3 |
| new_adbname |
|
3 |
30 |
201 |
2 |
| free_adbname |
|
2 |
16 |
132 |
2 |
| new_adbnamehook |
|
2 |
10 |
60 |
2 |
| free_adbnamehook |
|
2 |
10 |
74 |
2 |
| new_adblameinfo |
|
3 |
16 |
113 |
3 |
| free_adblameinfo |
|
2 |
10 |
77 |
2 |
| new_adbentry |
|
2 |
17 |
102 |
1 |
| free_adbentry |
|
3 |
18 |
132 |
2 |
| new_adbfind |
|
3 |
29 |
187 |
1 |
| new_adbfetch |
|
6 |
26 |
169 |
1 |
| free_adbfetch |
|
5 |
14 |
108 |
2 |
| free_adbfind |
|
2 |
15 |
119 |
2 |
| new_adbaddrinfo |
|
2 |
14 |
97 |
3 |
| free_adbaddrinfo |
|
2 |
10 |
74 |
2 |
| find_name_and_lock |
|
8 |
26 |
176 |
4 |
| find_entry_and_lock |
|
5 |
20 |
148 |
3 |
| entry_is_lame |
|
8 |
22 |
140 |
5 |
| copy_namehook_lists |
|
11 |
60 |
374 |
6 |
| shutdown_task |
|
1 |
11 |
70 |
2 |
| check_expire_name |
|
8 |
19 |
138 |
2 |
| check_expire_entry |
|
8 |
26 |
172 |
3 |
| cleanup_names |
|
4 |
22 |
158 |
3 |
| cleanup_entries |
|
2 |
15 |
114 |
3 |
| timer_cleanup |
|
5 |
29 |
193 |
2 |
| destroy |
|
1 |
17 |
135 |
1 |
| dns_adb_create |
|
21 |
121 |
876 |
5 |
| dns_adb_attach |
|
2 |
6 |
42 |
2 |
| dns_adb_detach |
|
4 |
18 |
119 |
1 |
| dns_adb_whenshutdown |
|
4 |
24 |
162 |
3 |
| dns_adb_shutdown |
|
4 |
14 |
85 |
1 |
| dns_adb_createfind |
|
55 |
203 |
1159 |
12 |
| dns_adb_destroyfind |
|
4 |
33 |
220 |
1 |
| dns_adb_cancelfind |
|
4 |
41 |
258 |
1 |
| dns_adb_dump |
|
3 |
14 |
120 |
2 |
| dump_ttl |
|
2 |
5 |
40 |
4 |
| dump_adb |
|
17 |
61 |
482 |
4 |
| dump_entry |
|
4 |
26 |
195 |
4 |
| dns_adb_dumpfind |
|
6 |
38 |
252 |
2 |
| print_dns_name |
|
1 |
6 |
46 |
2 |
| print_namehook_list |
|
3 |
13 |
80 |
5 |
| print_fetch |
|
1 |
4 |
40 |
3 |
| print_fetch_list |
|
3 |
6 |
48 |
2 |
| print_find_list |
|
2 |
8 |
49 |
2 |
| dbfind_name |
|
23 |
102 |
538 |
3 |
| fetch_callback |
|
22 |
124 |
802 |
2 |
| fetch_name |
|
12 |
60 |
333 |
3 |
| dns_adb_marklame |
|
7 |
31 |
209 |
5 |
| dns_adb_adjustsrtt |
|
2 |
22 |
158 |
4 |
| dns_adb_changeflags |
|
1 |
12 |
109 |
4 |
| dns_adb_findaddrinfo |
|
6 |
41 |
229 |
4 |
| dns_adb_freeaddrinfo |
|
2 |
27 |
174 |
2 |
| dns_adb_flush |
|
4 |
11 |
101 |
1 |
| dns_adb_flushname |
|
4 |
22 |
146 |
2 |
| water |
|
3 |
14 |
95 |
2 |
| dns_adb_setadbsize |
|
6 |
13 |
106 |
2 |
| Source file: ./usr.sbin/bind/lib/dns/zone.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dns_zone_create |
|
8 |
121 |
788 |
2 |
| zone_free |
|
17 |
60 |
481 |
1 |
| dns_zone_setclass |
|
2 |
9 |
57 |
2 |
| dns_zone_getclass |
|
1 |
4 |
23 |
1 |
| dns_zone_setnotifytype |
|
1 |
6 |
35 |
2 |
| dns_zone_settype |
|
2 |
8 |
57 |
2 |
| zone_freedbargs |
|
3 |
11 |
86 |
1 |
| dns_zone_getdbtype |
|
5 |
32 |
254 |
3 |
| dns_zone_setdbtype |
|
8 |
36 |
252 |
3 |
| dns_zone_setview |
|
2 |
8 |
56 |
2 |
| dns_zone_getview |
|
1 |
4 |
23 |
1 |
| dns_zone_setorigin |
|
2 |
13 |
96 |
2 |
| dns_zone_setacache |
|
5 |
20 |
133 |
2 |
| dns_zone_setstring |
|
4 |
14 |
85 |
3 |
| dns_zone_setfile |
|
1 |
3 |
25 |
2 |
| dns_zone_setfile2 |
|
2 |
13 |
79 |
3 |
| dns_zone_getfile |
|
1 |
4 |
23 |
1 |
| default_journal |
|
4 |
20 |
139 |
1 |
| dns_zone_setjournal |
|
1 |
8 |
55 |
2 |
| dns_zone_getjournal |
|
1 |
4 |
23 |
1 |
| zone_isdynamic |
|
9 |
12 |
97 |
1 |
| zone_load |
|
32 |
108 |
641 |
2 |
| dns_zone_load |
|
1 |
3 |
18 |
1 |
| dns_zone_loadnew |
|
1 |
3 |
18 |
1 |
| zone_gotreadhandle |
|
14 |
43 |
282 |
2 |
| zone_gotwritehandle |
|
4 |
29 |
200 |
2 |
| zone_startload |
|
18 |
74 |
509 |
3 |
| zone_check_mx |
|
22 |
66 |
436 |
4 |
| zone_check_srv |
|
23 |
68 |
450 |
4 |
| zone_check_glue |
|
30 |
92 |
593 |
4 |
| integrity_checks |
|
19 |
94 |
626 |
2 |
| zone_check_dnskeys |
|
15 |
56 |
331 |
2 |
| zone_postload |
|
55 |
207 |
1199 |
4 |
| exit_check |
|
3 |
10 |
56 |
1 |
| zone_check_ns |
|
11 |
47 |
273 |
3 |
| zone_count_ns_rr |
|
12 |
44 |
268 |
6 |
| zone_load_soa_rr |
|
18 |
65 |
364 |
9 |
| zone_get_from_db |
|
12 |
39 |
250 |
10 |
| dns_zone_attach |
|
2 |
6 |
47 |
2 |
| dns_zone_detach |
|
5 |
22 |
127 |
1 |
| dns_zone_iattach |
|
2 |
7 |
49 |
2 |
| zone_iattach |
|
2 |
9 |
76 |
2 |
| zone_idetach |
|
2 |
10 |
75 |
1 |
| dns_zone_idetach |
|
3 |
14 |
78 |
1 |
| dns_zone_getmctx |
|
1 |
4 |
23 |
1 |
| dns_zone_getmgr |
|
1 |
4 |
23 |
1 |
| dns_zone_setflag |
|
2 |
9 |
52 |
3 |
| dns_zone_setoption |
|
2 |
10 |
50 |
3 |
| dns_zone_getoptions |
|
1 |
4 |
23 |
1 |
| dns_zone_setxfrsource4 |
|
1 |
7 |
43 |
2 |
| dns_zone_getxfrsource4 |
|
1 |
4 |
24 |
1 |
| dns_zone_setxfrsource6 |
|
1 |
7 |
43 |
2 |
| dns_zone_getxfrsource6 |
|
1 |
4 |
24 |
1 |
| dns_zone_setaltxfrsource4 |
|
1 |
9 |
43 |
2 |
| dns_zone_getaltxfrsource4 |
|
1 |
4 |
24 |
1 |
| dns_zone_setaltxfrsource6 |
|
1 |
9 |
43 |
2 |
| dns_zone_getaltxfrsource6 |
|
1 |
4 |
24 |
1 |
| dns_zone_setnotifysrc4 |
|
1 |
7 |
43 |
2 |
| dns_zone_getnotifysrc4 |
|
1 |
4 |
24 |
1 |
| dns_zone_setnotifysrc6 |
|
1 |
7 |
43 |
2 |
| dns_zone_getnotifysrc6 |
|
1 |
4 |
24 |
1 |
| dns_zone_setalsonotify |
|
5 |
26 |
167 |
3 |
| dns_zone_setmasters |
|
1 |
7 |
37 |
3 |
| same_masters |
|
3 |
9 |
62 |
3 |
| same_keynames |
|
11 |
15 |
122 |
3 |
| dns_zone_setmasterswithkeys |
|
25 |
112 |
770 |
4 |
| dns_zone_getdb |
|
2 |
11 |
72 |
2 |
| dns_zone_maintenance |
|
1 |
10 |
53 |
1 |
| was_dumping |
|
2 |
11 |
62 |
1 |
| zone_maintenance |
|
23 |
69 |
345 |
1 |
| dns_zone_markdirty |
|
1 |
5 |
25 |
1 |
| dns_zone_expire |
|
1 |
6 |
31 |
1 |
| zone_expire |
|
1 |
9 |
56 |
1 |
| dns_zone_refresh |
|
8 |
38 |
251 |
1 |
| dns_zone_flush |
|
4 |
17 |
93 |
1 |
| dns_zone_dump |
|
2 |
11 |
60 |
1 |
| zone_needdump |
|
6 |
17 |
122 |
2 |
| dump_done |
|
20 |
64 |
375 |
2 |
| zone_dump |
|
15 |
75 |
431 |
2 |
| dumptostream |
|
3 |
20 |
140 |
4 |
| dns_zone_dumptostream2 |
|
1 |
4 |
32 |
4 |
| dns_zone_dumptostream |
|
1 |
4 |
25 |
2 |
| dns_zone_fulldumptostream |
|
1 |
4 |
25 |
2 |
| dns_zone_unload |
|
1 |
6 |
31 |
1 |
| notify_cancel |
|
4 |
12 |
76 |
1 |
| zone_unload |
|
1 |
8 |
55 |
1 |
| dns_zone_setminrefreshtime |
|
1 |
5 |
32 |
2 |
| dns_zone_setmaxrefreshtime |
|
1 |
5 |
32 |
2 |
| dns_zone_setminretrytime |
|
1 |
5 |
32 |
2 |
| dns_zone_setmaxretrytime |
|
1 |
5 |
32 |
2 |
| notify_isqueued |
|
8 |
15 |
111 |
3 |
| notify_isself |
|
7 |
30 |
184 |
2 |
| notify_destroy |
|
9 |
26 |
191 |
2 |
| notify_create |
|
3 |
19 |
137 |
3 |
| process_adb_event |
|
3 |
21 |
118 |
2 |
| notify_find_address |
|
4 |
25 |
152 |
1 |
| notify_send_queue |
|
3 |
17 |
99 |
1 |
| notify_send_toaddr |
|
19 |
83 |
537 |
2 |
| notify_send |
|
7 |
33 |
205 |
1 |
| dns_zone_notify |
|
1 |
9 |
50 |
1 |
| zone_notify |
|
26 |
145 |
904 |
2 |
| save_nsrrset |
|
13 |
70 |
423 |
4 |
| stub_callback |
|
36 |
198 |
1220 |
2 |
| refresh_callback |
|
59 |
288 |
1661 |
2 |
| queue_soa_query |
|
4 |
27 |
157 |
1 |
| create_query |
|
7 |
36 |
221 |
3 |
| add_opt |
|
7 |
38 |
241 |
2 |
| soa_query |
|
37 |
140 |
883 |
2 |
| ns_query |
|
37 |
169 |
1105 |
3 |
| zone_shutdown |
|
15 |
56 |
384 |
2 |
| zone_timer |
|
1 |
9 |
58 |
2 |
| zone_settimer |
|
28 |
69 |
463 |
2 |
| cancel_refresh |
|
1 |
10 |
58 |
1 |
| notify_createmessage |
|
25 |
130 |
854 |
3 |
| dns_zone_notifyreceive |
|
23 |
100 |
593 |
3 |
| dns_zone_setnotifyacl |
|
2 |
8 |
56 |
2 |
| dns_zone_setqueryacl |
|
2 |
8 |
56 |
2 |
| dns_zone_setupdateacl |
|
2 |
8 |
56 |
2 |
| dns_zone_setforwardacl |
|
2 |
8 |
56 |
2 |
| dns_zone_setxfracl |
|
2 |
8 |
56 |
2 |
| dns_zone_getnotifyacl |
|
1 |
4 |
23 |
1 |
| dns_zone_getqueryacl |
|
1 |
4 |
23 |
1 |
| dns_zone_getupdateacl |
|
1 |
4 |
23 |
1 |
| dns_zone_getforwardacl |
|
1 |
4 |
23 |
1 |
| dns_zone_getxfracl |
|
1 |
4 |
23 |
1 |
| dns_zone_clearupdateacl |
|
2 |
7 |
42 |
1 |
| dns_zone_clearforwardacl |
|
2 |
7 |
42 |
1 |
| dns_zone_clearnotifyacl |
|
2 |
7 |
42 |
1 |
| dns_zone_clearqueryacl |
|
2 |
7 |
42 |
1 |
| dns_zone_clearxfracl |
|
2 |
7 |
42 |
1 |
| dns_zone_getupdatedisabled |
|
1 |
4 |
23 |
1 |
| dns_zone_setupdatedisabled |
|
1 |
4 |
25 |
2 |
| dns_zone_getzeronosoattl |
|
1 |
4 |
23 |
1 |
| dns_zone_setzeronosoattl |
|
1 |
4 |
25 |
2 |
| dns_zone_setchecknames |
|
1 |
4 |
25 |
2 |
| dns_zone_getchecknames |
|
1 |
4 |
23 |
1 |
| dns_zone_setjournalsize |
|
1 |
4 |
25 |
2 |
| dns_zone_getjournalsize |
|
1 |
4 |
23 |
1 |
| zone_tostr |
|
9 |
22 |
216 |
3 |
| dns_zone_name |
|
1 |
5 |
39 |
3 |
| notify_log |
|
2 |
13 |
103 |
4 |
| dns_zone_logc |
|
2 |
14 |
107 |
5 |
| dns_zone_log |
|
2 |
13 |
103 |
4 |
| zone_debuglog |
|
2 |
16 |
118 |
5 |
| message_count |
|
4 |
19 |
112 |
3 |
| dns_zone_setmaxxfrin |
|
1 |
4 |
25 |
2 |
| dns_zone_getmaxxfrin |
|
1 |
4 |
23 |
1 |
| dns_zone_setmaxxfrout |
|
1 |
4 |
25 |
2 |
| dns_zone_getmaxxfrout |
|
1 |
4 |
23 |
1 |
| dns_zone_gettype |
|
1 |
4 |
23 |
1 |
| dns_zone_getorigin |
|
1 |
4 |
24 |
1 |
| dns_zone_settask |
|
3 |
12 |
95 |
2 |
| dns_zone_gettask |
|
1 |
4 |
29 |
2 |
| dns_zone_setidlein |
|
2 |
6 |
35 |
2 |
| dns_zone_getidlein |
|
1 |
4 |
23 |
1 |
| dns_zone_setidleout |
|
1 |
4 |
25 |
2 |
| dns_zone_getidleout |
|
1 |
4 |
23 |
1 |
| notify_done |
|
11 |
48 |
334 |
2 |
| dns_zone_replacedb |
|
1 |
10 |
72 |
3 |
| zone_replacedb |
|
24 |
109 |
642 |
3 |
| zone_attachdb |
|
5 |
13 |
85 |
2 |
| zone_detachdb |
|
2 |
6 |
47 |
1 |
| zone_xfrdone |
|
38 |
174 |
1054 |
2 |
| zone_loaddone |
|
5 |
24 |
195 |
2 |
| dns_zone_getssutable |
|
2 |
9 |
62 |
2 |
| dns_zone_setssutable |
|
3 |
9 |
62 |
2 |
| dns_zone_setsigvalidityinterval |
|
1 |
4 |
25 |
2 |
| dns_zone_getsigvalidityinterval |
|
1 |
4 |
23 |
1 |
| queue_xfrin |
|
3 |
23 |
146 |
1 |
| got_transfer_quota |
|
16 |
97 |
584 |
2 |
| forward_destroy |
|
4 |
10 |
78 |
1 |
| sendtomaster |
|
4 |
31 |
167 |
1 |
| forward_callback |
|
18 |
76 |
413 |
2 |
| dns_zone_forwardupdate |
|
6 |
40 |
244 |
4 |
| dns_zone_next |
|
3 |
9 |
60 |
2 |
| dns_zone_first |
|
3 |
9 |
60 |
2 |
| dns_zonemgr_create |
|
8 |
68 |
439 |
5 |
| dns_zonemgr_managezone |
|
2 |
33 |
214 |
2 |
| dns_zonemgr_releasezone |
|
3 |
18 |
124 |
2 |
| dns_zonemgr_attach |
|
2 |
10 |
80 |
2 |
| dns_zonemgr_detach |
|
3 |
14 |
83 |
1 |
| dns_zonemgr_forcemaint |
|
2 |
16 |
103 |
1 |
| dns_zonemgr_resumexfrs |
|
1 |
6 |
43 |
1 |
| dns_zonemgr_shutdown |
|
3 |
8 |
55 |
1 |
| zonemgr_free |
|
1 |
12 |
88 |
1 |
| dns_zonemgr_settransfersin |
|
1 |
4 |
25 |
2 |
| dns_zonemgr_getttransfersin |
|
1 |
4 |
23 |
1 |
| dns_zonemgr_settransfersperns |
|
1 |
4 |
25 |
2 |
| dns_zonemgr_getttransfersperns |
|
1 |
4 |
23 |
1 |
| zmgr_resume_xfrs |
|
5 |
24 |
110 |
2 |
| zmgr_start_xfrin_ifquota |
|
7 |
45 |
292 |
2 |
| dns_zonemgr_setiolimit |
|
1 |
5 |
32 |
2 |
| dns_zonemgr_getiolimit |
|
1 |
4 |
23 |
1 |
| zonemgr_getio |
|
7 |
39 |
275 |
6 |
| zonemgr_putio |
|
5 |
31 |
218 |
1 |
| zonemgr_cancelio |
|
4 |
18 |
124 |
1 |
| zone_saveunique |
|
4 |
19 |
127 |
3 |
| dns_zonemgr_dbdestroyed |
|
1 |
8 |
53 |
2 |
| dns_zonemgr_setserialqueryrate |
|
4 |
27 |
152 |
2 |
| dns_zonemgr_getserialqueryrate |
|
1 |
4 |
23 |
1 |
| dns_zone_forcereload |
|
2 |
9 |
48 |
1 |
| dns_zone_isforced |
|
1 |
4 |
26 |
1 |
| dns_zone_setstatistics |
|
4 |
16 |
90 |
2 |
| dns_zone_getstatscounters |
|
1 |
3 |
15 |
1 |
| dns_zone_dialup |
|
4 |
12 |
75 |
1 |
| dns_zone_setdialup |
|
7 |
33 |
138 |
2 |
| dns_zone_setkeydirectory |
|
1 |
8 |
55 |
2 |
| dns_zone_getkeydirectory |
|
1 |
4 |
23 |
1 |
| dns_zonemgr_getcount |
|
12 |
41 |
233 |
2 |
| dns_zone_checknames |
|
7 |
37 |
271 |
3 |
| dns_zone_setcheckmx |
|
1 |
4 |
25 |
2 |
| dns_zone_setchecksrv |
|
1 |
4 |
25 |
2 |
| dns_zone_setcheckns |
|
1 |
4 |
25 |
2 |
| dns_zone_setisself |
|
1 |
7 |
45 |
3 |
| dns_zone_setnotifydelay |
|
1 |
6 |
35 |
2 |
| dns_zone_getnotifydelay |
|
1 |
4 |
23 |
1 |
| Source file: ./usr.sbin/bind/lib/dns/ssu.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dns_ssutable_create |
|
4 |
20 |
131 |
2 |
| destroy |
|
5 |
25 |
196 |
1 |
| dns_ssutable_attach |
|
2 |
10 |
76 |
2 |
| dns_ssutable_detach |
|
3 |
15 |
89 |
1 |
| dns_ssutable_addrule |
|
15 |
74 |
502 |
7 |
| isusertype |
|
3 |
5 |
25 |
1 |
| dns_ssutable_checkrules |
|
26 |
65 |
422 |
4 |
| dns_ssurule_isgrant |
|
1 |
4 |
24 |
1 |
| dns_ssurule_identity |
|
1 |
4 |
24 |
1 |
| dns_ssurule_matchtype |
|
1 |
4 |
24 |
1 |
| dns_ssurule_name |
|
1 |
4 |
24 |
1 |
| dns_ssurule_types |
|
2 |
6 |
47 |
2 |
| dns_ssutable_firstrule |
|
3 |
6 |
55 |
2 |
| dns_ssutable_nextrule |
|
3 |
6 |
54 |
2 |
| Source file: ./usr.sbin/bind/lib/dns/openssldsa_link.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| openssldsa_createctx |
|
1 |
8 |
51 |
2 |
| openssldsa_destroyctx |
|
2 |
8 |
49 |
1 |
| openssldsa_adddata |
|
1 |
5 |
39 |
2 |
| BN_bn2bin_fixed |
|
2 |
7 |
51 |
3 |
| openssldsa_sign |
|
3 |
23 |
182 |
2 |
| openssldsa_verify |
|
3 |
23 |
166 |
2 |
| openssldsa_compare |
|
14 |
23 |
190 |
2 |
| openssldsa_generate |
|
8 |
34 |
202 |
2 |
| openssldsa_isprivate |
|
2 |
4 |
37 |
1 |
| openssldsa_destroy |
|
1 |
5 |
27 |
1 |
| openssldsa_todns |
|
3 |
27 |
231 |
2 |
| openssldsa_fromdns |
|
5 |
36 |
266 |
2 |
| openssldsa_tofile |
|
2 |
36 |
358 |
2 |
| openssldsa_parse |
|
10 |
47 |
273 |
2 |
| dst__openssldsa_init |
|
2 |
6 |
33 |
1 |
| Source file: ./usr.sbin/bind/lib/dns/dbiterator.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dns_dbiterator_destroy |
|
1 |
6 |
44 |
1 |
| dns_dbiterator_first |
|
1 |
4 |
28 |
1 |
| dns_dbiterator_last |
|
1 |
4 |
28 |
1 |
| dns_dbiterator_seek |
|
1 |
4 |
34 |
2 |
| dns_dbiterator_prev |
|
1 |
4 |
28 |
1 |
| dns_dbiterator_next |
|
1 |
4 |
28 |
1 |
| dns_dbiterator_current |
|
3 |
8 |
64 |
3 |
| dns_dbiterator_pause |
|
1 |
4 |
28 |
1 |
| dns_dbiterator_origin |
|
1 |
6 |
49 |
2 |
| dns_dbiterator_setcleanmode |
|
1 |
4 |
25 |
2 |
| Source file: ./usr.sbin/bind/lib/dns/sdb.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dns_sdb_register |
|
5 |
38 |
244 |
6 |
| dns_sdb_unregister |
|
2 |
12 |
78 |
1 |
| initial_size |
|
3 |
7 |
46 |
1 |
| dns_sdb_putrdata |
|
9 |
51 |
341 |
5 |
| dns_sdb_putrr |
|
14 |
74 |
441 |
4 |
| getnode |
|
11 |
50 |
379 |
3 |
| dns_sdb_putnamedrr |
|
2 |
10 |
72 |
5 |
| dns_sdb_putnamedrdata |
|
2 |
11 |
76 |
6 |
| dns_sdb_putsoa |
|
3 |
15 |
120 |
4 |
| attach |
|
1 |
9 |
65 |
2 |
| destroy |
|
2 |
18 |
133 |
1 |
| detach |
|
3 |
14 |
90 |
1 |
| beginload |
|
1 |
6 |
36 |
3 |
| endload |
|
1 |
5 |
27 |
2 |
| dump |
|
1 |
8 |
45 |
4 |
| currentversion |
|
2 |
6 |
41 |
2 |
| newversion |
|
1 |
5 |
27 |
2 |
| attachversion |
|
3 |
9 |
56 |
3 |
| closeversion |
|
2 |
7 |
54 |
3 |
| createnode |
|
3 |
23 |
166 |
2 |
| destroynode |
|
5 |
32 |
241 |
1 |
| findnode |
|
13 |
59 |
398 |
4 |
| find |
|
30 |
108 |
611 |
10 |
| findzonecut |
|
1 |
14 |
80 |
8 |
| attachnode |
|
1 |
12 |
93 |
3 |
| detachnode |
|
4 |
18 |
123 |
2 |
| expirenode |
|
1 |
7 |
40 |
3 |
| printnode |
|
1 |
6 |
33 |
3 |
| createiterator |
|
5 |
35 |
260 |
3 |
| findrdataset |
|
5 |
26 |
154 |
8 |
| allrdatasets |
|
3 |
20 |
151 |
5 |
| addrdataset |
|
1 |
13 |
71 |
7 |
| subtractrdataset |
|
1 |
12 |
63 |
6 |
| deleterdataset |
|
1 |
10 |
52 |
5 |
| issecure |
|
1 |
4 |
18 |
1 |
| nodecount |
|
1 |
4 |
18 |
1 |
| ispersistent |
|
1 |
4 |
18 |
1 |
| overmem |
|
1 |
4 |
21 |
2 |
| settask |
|
1 |
4 |
22 |
2 |
| dns_sdb_create |
|
9 |
65 |
451 |
8 |
| disassociate |
|
1 |
7 |
51 |
1 |
| rdataset_clone |
|
1 |
9 |
71 |
2 |
| list_tordataset |
|
1 |
9 |
51 |
4 |
| dbiterator_destroy |
|
2 |
13 |
107 |
1 |
| dbiterator_first |
|
2 |
8 |
48 |
1 |
| dbiterator_last |
|
2 |
8 |
48 |
1 |
| dbiterator_seek |
|
3 |
8 |
64 |
2 |
| dbiterator_prev |
|
2 |
8 |
50 |
1 |
| dbiterator_next |
|
2 |
8 |
50 |
1 |
| dbiterator_current |
|
2 |
9 |
66 |
3 |
| dbiterator_pause |
|
1 |
4 |
18 |
1 |
| dbiterator_origin |
|
1 |
4 |
29 |
2 |
| rdatasetiter_destroy |
|
1 |
7 |
60 |
1 |
| rdatasetiter_first |
|
2 |
8 |
60 |
1 |
| rdatasetiter_next |
|
2 |
8 |
50 |
1 |
| rdatasetiter_current |
|
1 |
5 |
39 |
2 |
| Source file: ./usr.sbin/bind/lib/dns/acl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dns_acl_create |
|
5 |
33 |
215 |
3 |
| dns_acl_appendelement |
|
4 |
21 |
148 |
2 |
| dns_acl_anyornone |
|
2 |
12 |
85 |
3 |
| dns_acl_any |
|
1 |
3 |
24 |
2 |
| dns_acl_none |
|
1 |
3 |
24 |
2 |
| dns_acl_match |
|
5 |
21 |
143 |
6 |
| dns_acl_elementmatch |
|
5 |
17 |
105 |
3 |
| dns_aclelement_match |
|
21 |
71 |
323 |
5 |
| dns_acl_attach |
|
1 |
5 |
35 |
2 |
| destroy |
|
6 |
24 |
163 |
1 |
| dns_acl_detach |
|
2 |
9 |
54 |
1 |
| dns_aclelement_equal |
|
9 |
24 |
165 |
2 |
| dns_acl_equal |
|
5 |
13 |
93 |
2 |
| is_loopback |
|
7 |
17 |
91 |
1 |
| dns_acl_isinsecure |
|
11 |
28 |
138 |
1 |
| dns_aclenv_init |
|
3 |
17 |
101 |
2 |
| dns_aclenv_copy |
|
1 |
7 |
60 |
2 |
| dns_aclenv_destroy |
|
1 |
4 |
24 |
1 |
| Source file: ./usr.sbin/bind/lib/dns/dst_internal.h |
| Source file: ./usr.sbin/bind/lib/dns/request.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dns_requestmgr_create |
|
11 |
68 |
440 |
8 |
| dns_requestmgr_whenshutdown |
|
2 |
22 |
129 |
3 |
| dns_requestmgr_shutdown |
|
1 |
7 |
49 |
1 |
| mgr_shutdown |
|
4 |
15 |
83 |
1 |
| requestmgr_attach |
|
2 |
9 |
70 |
2 |
| requestmgr_detach |
|
5 |
22 |
144 |
1 |
| dns_requestmgr_attach |
|
2 |
11 |
86 |
2 |
| dns_requestmgr_detach |
|
5 |
21 |
137 |
1 |
| send_shutdown_events |
|
2 |
14 |
93 |
1 |
| mgr_destroy |
|
4 |
18 |
138 |
1 |
| mgr_gethash |
|
1 |
5 |
32 |
1 |
| req_send |
|
2 |
14 |
102 |
3 |
| new_request |
|
2 |
28 |
188 |
2 |
| isblackholed |
|
5 |
20 |
121 |
2 |
| create_tcp_dispatch |
|
5 |
40 |
213 |
4 |
| find_udp_dispatch |
|
7 |
46 |
199 |
4 |
| get_dispatch |
|
2 |
13 |
62 |
5 |
| set_timer |
|
3 |
14 |
97 |
3 |
| dns_request_createraw |
|
1 |
10 |
73 |
10 |
| dns_request_createraw2 |
|
2 |
15 |
95 |
11 |
| dns_request_createraw3 |
|
28 |
127 |
868 |
12 |
| dns_request_create |
|
1 |
11 |
75 |
10 |
| dns_request_createvia |
|
1 |
11 |
79 |
11 |
| dns_request_createvia2 |
|
2 |
15 |
101 |
12 |
| dns_request_createvia3 |
|
26 |
133 |
865 |
13 |
| req_render |
|
19 |
67 |
421 |
4 |
| send_if_done |
|
4 |
6 |
37 |
2 |
| do_cancel |
|
2 |
11 |
90 |
2 |
| dns_request_cancel |
|
3 |
12 |
108 |
1 |
| dns_request_getresponse |
|
5 |
21 |
144 |
3 |
| dns_request_usedtcp |
|
1 |
4 |
32 |
1 |
| dns_request_destroy |
|
2 |
19 |
171 |
1 |
| req_connected |
|
5 |
28 |
196 |
2 |
| req_senddone |
|
4 |
22 |
168 |
2 |
| req_response |
|
4 |
28 |
211 |
2 |
| req_timeout |
|
5 |
24 |
166 |
2 |
| req_sendevent |
|
1 |
9 |
74 |
2 |
| req_destroy |
|
10 |
27 |
213 |
1 |
| req_cancel |
|
5 |
19 |
134 |
1 |
| req_log |
|
1 |
7 |
44 |
3 |
| Source file: ./usr.sbin/bind/lib/dns/keytable.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| free_keynode |
|
2 |
9 |
69 |
2 |
| dns_keytable_create |
|
6 |
31 |
202 |
2 |
| dns_keytable_attach |
|
2 |
10 |
80 |
2 |
| dns_keytable_detach |
|
5 |
22 |
159 |
1 |
| dns_keytable_add |
|
5 |
28 |
192 |
2 |
| dns_keytable_findkeynode |
|
8 |
33 |
217 |
5 |
| dns_keytable_findnextkeynode |
|
6 |
23 |
151 |
3 |
| dns_keytable_finddeepestmatch |
|
3 |
16 |
107 |
3 |
| dns_keytable_detachkeynode |
|
2 |
10 |
68 |
2 |
| dns_keytable_issecuredomain |
|
4 |
22 |
139 |
3 |
| dns_keynode_key |
|
1 |
4 |
23 |
1 |
| Source file: ./usr.sbin/bind/lib/dns/lookup.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fetch_done |
|
1 |
11 |
81 |
2 |
| start_fetch |
|
1 |
13 |
79 |
1 |
| build_event |
|
11 |
51 |
313 |
1 |
| view_find |
|
2 |
14 |
99 |
2 |
| lookup_find |
|
32 |
138 |
881 |
2 |
| levent_destroy |
|
7 |
25 |
190 |
1 |
| dns_lookup_create |
|
5 |
59 |
407 |
9 |
| dns_lookup_cancel |
|
3 |
12 |
73 |
1 |
| dns_lookup_destroy |
|
3 |
17 |
129 |
1 |
| Source file: ./usr.sbin/bind/lib/dns/tkey.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tkey_log |
|
1 |
7 |
44 |
2 |
| dns_tkeyctx_create |
|
3 |
19 |
129 |
3 |
| dns_tkeyctx_destroy |
|
5 |
18 |
128 |
1 |
| add_rdata_to_list |
|
6 |
50 |
384 |
5 |
| free_namelist |
|
3 |
14 |
97 |
2 |
| compute_secret |
|
6 |
35 |
301 |
4 |
| process_dhtkey |
|
20 |
131 |
851 |
8 |
| process_gsstkey |
|
10 |
56 |
373 |
8 |
| process_deletetkey |
|
4 |
25 |
141 |
7 |
| dns_tkey_processquery |
|
30 |
188 |
1196 |
3 |
| buildquery |
|
5 |
55 |
397 |
3 |
| dns_tkey_builddhquery |
|
4 |
61 |
427 |
6 |
| dns_tkey_buildgssquery |
|
4 |
37 |
264 |
6 |
| dns_tkey_builddeletequery |
|
1 |
17 |
143 |
2 |
| find_tkey |
|
5 |
25 |
139 |
4 |
| dns_tkey_processdhresponse |
|
17 |
110 |
753 |
6 |
| dns_tkey_processgssresponse |
|
6 |
49 |
346 |
7 |
| dns_tkey_processdeleteresponse |
|
7 |
38 |
254 |
3 |
| Source file: ./usr.sbin/bind/lib/dns/journal.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| decode_uint32 |
|
1 |
6 |
52 |
1 |
| encode_uint32 |
|
1 |
6 |
72 |
2 |
| dns_db_createsoatuple |
|
4 |
33 |
207 |
5 |
| journal_pos_decode |
|
1 |
4 |
34 |
2 |
| journal_pos_encode |
|
1 |
4 |
34 |
2 |
| journal_header_decode |
|
1 |
7 |
94 |
2 |
| journal_header_encode |
|
1 |
8 |
112 |
2 |
| journal_seek |
|
2 |
12 |
72 |
2 |
| journal_read |
|
3 |
14 |
88 |
3 |
| journal_write |
|
2 |
12 |
77 |
3 |
| journal_fsync |
|
3 |
18 |
96 |
1 |
| journal_read_xhdr |
|
2 |
11 |
82 |
2 |
| journal_write_xhdr |
|
1 |
9 |
63 |
4 |
| journal_read_rrhdr |
|
2 |
9 |
60 |
2 |
| journal_file_create |
|
5 |
50 |
314 |
2 |
| journal_open |
|
15 |
92 |
670 |
5 |
| dns_journal_open |
|
5 |
18 |
134 |
4 |
| ixfr_order |
|
3 |
16 |
134 |
2 |
| journal_next |
|
6 |
29 |
197 |
2 |
| index_find |
|
6 |
11 |
100 |
3 |
| index_add |
|
7 |
23 |
177 |
2 |
| index_invalidate |
|
4 |
9 |
71 |
2 |
| journal_find |
|
7 |
24 |
172 |
3 |
| dns_journal_begin_transaction |
|
2 |
24 |
182 |
1 |
| dns_journal_writediff |
|
7 |
54 |
447 |
2 |
| dns_journal_commit |
|
12 |
62 |
528 |
1 |
| dns_journal_write_transaction |
|
1 |
10 |
62 |
2 |
| dns_journal_destroy |
|
6 |
22 |
225 |
1 |
| roll_forward |
|
15 |
83 |
534 |
2 |
| dns_journal_rollforward |
|
4 |
21 |
126 |
3 |
| dns_journal_print |
|
14 |
82 |
490 |
3 |
| dns_journal_first_serial |
|
1 |
3 |
19 |
1 |
| dns_journal_last_serial |
|
1 |
3 |
19 |
1 |
| size_buffer |
|
4 |
13 |
90 |
3 |
| dns_journal_iter_init |
|
1 |
13 |
100 |
3 |
| dns_journal_first_rr |
|
1 |
10 |
72 |
1 |
| read_one_rr |
|
10 |
68 |
584 |
1 |
| dns_journal_next_rr |
|
1 |
4 |
28 |
1 |
| dns_journal_current_rr |
|
1 |
8 |
60 |
4 |
| get_name_diff |
|
8 |
49 |
275 |
7 |
| rdata_order |
|
2 |
12 |
98 |
2 |
| dns_diff_subtract |
|
10 |
45 |
379 |
2 |
| dns_db_diff |
|
18 |
102 |
806 |
6 |
| dns_journal_compact |
|
40 |
147 |
1092 |
4 |
| index_to_disk |
|
3 |
21 |
157 |
1 |
| Source file: ./usr.sbin/bind/lib/dns/zt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dns_zt_create |
|
5 |
26 |
176 |
3 |
| dns_zt_mount |
|
2 |
13 |
92 |
2 |
| dns_zt_unmount |
|
1 |
10 |
72 |
2 |
| dns_zt_find |
|
4 |
17 |
129 |
5 |
| dns_zt_attach |
|
2 |
10 |
80 |
2 |
| flush |
|
1 |
4 |
25 |
2 |
| zt_flushanddetach |
|
5 |
21 |
150 |
2 |
| dns_zt_flushanddetach |
|
1 |
3 |
15 |
1 |
| dns_zt_detach |
|
1 |
3 |
15 |
1 |
| dns_zt_load |
|
1 |
8 |
60 |
2 |
| load |
|
3 |
8 |
46 |
2 |
| dns_zt_loadnew |
|
1 |
8 |
60 |
2 |
| loadnew |
|
4 |
9 |
50 |
2 |
| dns_zt_freezezones |
|
2 |
8 |
74 |
2 |
| freezezones |
|
15 |
55 |
319 |
2 |
| dns_zt_apply |
|
1 |
5 |
44 |
4 |
| dns_zt_apply2 |
|
12 |
38 |
239 |
5 |
| auto_detach |
|
1 |
5 |
29 |
2 |
| Source file: ./usr.sbin/bind/lib/bind9/include/bind9/version.h |
| Source file: ./usr.sbin/bind/lib/bind9/include/bind9/getaddresses.h |
| Source file: ./usr.sbin/bind/lib/dns/resolver.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| valcreate |
|
5 |
31 |
226 |
8 |
| fix_mustbedelegationornxdomain |
|
19 |
61 |
360 |
2 |
| fctx_starttimer |
|
1 |
4 |
29 |
1 |
| fctx_stoptimer |
|
2 |
10 |
50 |
1 |
| fctx_startidletimer |
|
1 |
5 |
32 |
1 |
| resquery_destroy |
|
2 |
13 |
93 |
1 |
| fctx_cancelquery |
|
28 |
81 |
555 |
4 |
| fctx_cancelqueries |
|
2 |
10 |
65 |
2 |
| fctx_cleanupfinds |
|
2 |
12 |
78 |
1 |
| fctx_cleanupaltfinds |
|
2 |
12 |
78 |
1 |
| fctx_cleanupforwaddrs |
|
2 |
11 |
76 |
1 |
| fctx_cleanupaltaddrs |
|
2 |
11 |
76 |
1 |
| fctx_stopeverything |
|
1 |
9 |
48 |
2 |
| fctx_sendevents |
|
19 |
54 |
379 |
2 |
| fctx_done |
|
2 |
16 |
100 |
2 |
| resquery_senddone |
|
12 |
44 |
228 |
2 |
| fctx_addopt |
|
4 |
34 |
219 |
3 |
| fctx_setretryinterval |
|
4 |
16 |
98 |
2 |
| fctx_query |
|
26 |
186 |
972 |
3 |
| triededns |
|
3 |
10 |
61 |
2 |
| add_triededns |
|
3 |
11 |
76 |
2 |
| triededns512 |
|
3 |
10 |
61 |
2 |
| add_triededns512 |
|
3 |
11 |
76 |
2 |
| resquery_send |
|
50 |
200 |
1371 |
1 |
| resquery_connected |
|
14 |
69 |
364 |
2 |
| fctx_finddone |
|
12 |
41 |
263 |
2 |
| bad_server |
|
3 |
10 |
61 |
2 |
| mark_bad |
|
11 |
46 |
274 |
1 |
| add_bad |
|
9 |
53 |
384 |
3 |
| sort_adbfind |
|
4 |
17 |
110 |
1 |
| sort_finds |
|
7 |
43 |
285 |
1 |
| findname |
|
24 |
64 |
416 |
7 |
| fctx_getaddresses |
|
29 |
135 |
818 |
1 |
| possibly_mark |
|
14 |
54 |
345 |
2 |
| fctx_nextaddress |
|
30 |
103 |
566 |
1 |
| fctx_try |
|
6 |
31 |
167 |
1 |
| fctx_destroy |
|
9 |
59 |
524 |
1 |
| fctx_timeout |
|
5 |
26 |
162 |
2 |
| fctx_shutdown |
|
3 |
12 |
67 |
1 |
| fctx_doshutdown |
|
10 |
36 |
246 |
2 |
| fctx_start |
|
6 |
40 |
260 |
2 |
| fctx_join |
|
3 |
36 |
228 |
9 |
| fctx_create |
|
21 |
176 |
1214 |
8 |
| is_lame |
|
11 |
37 |
224 |
1 |
| log_lame |
|
1 |
12 |
94 |
2 |
| same_question |
|
6 |
21 |
146 |
1 |
| clone_results |
|
9 |
34 |
247 |
1 |
| maybe_destroy |
|
8 |
25 |
181 |
1 |
| validated |
|
58 |
225 |
1456 |
2 |
| cache_name |
|
76 |
245 |
1348 |
4 |
| cache_message |
|
7 |
31 |
189 |
3 |
| ncache_adderesult |
|
8 |
28 |
151 |
8 |
| ncache_message |
|
21 |
107 |
642 |
4 |
| mark_related |
|
5 |
18 |
95 |
4 |
| check_related |
|
10 |
50 |
271 |
3 |
| chase_additional |
|
6 |
31 |
161 |
1 |
| cname_target |
|
3 |
16 |
101 |
2 |
| dname_target |
|
4 |
31 |
188 |
4 |
| noanswer_response |
|
65 |
199 |
1057 |
3 |
| answer_response |
|
59 |
233 |
1107 |
1 |
| resume_dslookup |
|
16 |
100 |
664 |
2 |
| checknamessection |
|
6 |
31 |
166 |
2 |
| checknames |
|
1 |
5 |
29 |
1 |
| log_packet |
|
7 |
27 |
163 |
3 |
| resquery_response |
|
83 |
371 |
2130 |
2 |
| destroy |
|
8 |
38 |
336 |
1 |
| send_shutdown_events |
|
2 |
13 |
81 |
1 |
| empty_bucket |
|
2 |
9 |
56 |
1 |
| spillattimer_countdown |
|
4 |
27 |
157 |
2 |
| dns_resolver_create |
|
26 |
141 |
987 |
10 |
| prime_done |
|
7 |
35 |
274 |
2 |
| dns_resolver_prime |
|
6 |
43 |
262 |
1 |
| dns_resolver_freeze |
|
1 |
5 |
30 |
1 |
| dns_resolver_attach |
|
2 |
12 |
91 |
2 |
| dns_resolver_whenshutdown |
|
3 |
21 |
125 |
3 |
| dns_resolver_shutdown |
|
8 |
43 |
297 |
1 |
| dns_resolver_detach |
|
4 |
19 |
113 |
1 |
| fctx_match |
|
3 |
7 |
51 |
4 |
| log_fetch |
|
2 |
12 |
84 |
2 |
| dns_resolver_createfetch |
|
1 |
15 |
90 |
13 |
| dns_resolver_createfetch2 |
|
27 |
108 |
687 |
15 |
| dns_resolver_cancelfetch |
|
5 |
31 |
195 |
1 |
| dns_resolver_destroyfetch |
|
9 |
42 |
262 |
1 |
| dns_resolver_dispatchmgr |
|
1 |
4 |
23 |
1 |
| dns_resolver_dispatchv4 |
|
1 |
4 |
23 |
1 |
| dns_resolver_dispatchv6 |
|
1 |
4 |
23 |
1 |
| dns_resolver_socketmgr |
|
1 |
4 |
23 |
1 |
| dns_resolver_taskmgr |
|
1 |
4 |
23 |
1 |
| dns_resolver_getlamettl |
|
1 |
4 |
23 |
1 |
| dns_resolver_setlamettl |
|
1 |
4 |
25 |
2 |
| dns_resolver_nrunning |
|
1 |
7 |
39 |
1 |
| dns_resolver_addalternate |
|
4 |
27 |
210 |
4 |
| dns_resolver_setudpsize |
|
1 |
4 |
25 |
2 |
| dns_resolver_getudpsize |
|
1 |
4 |
23 |
1 |
| free_algorithm |
|
1 |
5 |
35 |
2 |
| dns_resolver_reset_algorithms |
|
4 |
7 |
52 |
1 |
| dns_resolver_disable_algorithm |
|
13 |
46 |
293 |
3 |
| dns_resolver_algorithm_supported |
|
9 |
26 |
176 |
3 |
| dns_resolver_digest_supported |
|
1 |
4 |
25 |
2 |
| dns_resolver_resetmustbesecure |
|
4 |
7 |
52 |
1 |
| dns_resolver_setmustbesecure |
|
6 |
18 |
109 |
3 |
| dns_resolver_getmustbesecure |
|
6 |
15 |
109 |
2 |
| dns_resolver_getclientsperquery |
|
4 |
13 |
83 |
4 |
| dns_resolver_setclientsperquery |
|
1 |
9 |
54 |
3 |
| dns_resolver_getzeronosoattl |
|
1 |
4 |
23 |
1 |
| dns_resolver_setzeronosoattl |
|
1 |
4 |
25 |
2 |
| Source file: ./usr.sbin/bind/lib/bind9/include/bind9/check.h |
| Source file: ./usr.sbin/bind/lib/bind9/version.c |
| Source file: ./usr.sbin/bind/lib/dns/openssldh_link.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| openssldh_computesecret |
|
3 |
21 |
142 |
3 |
| openssldh_compare |
|
13 |
22 |
181 |
2 |
| openssldh_paramcompare |
|
7 |
15 |
115 |
2 |
| openssldh_generate |
|
15 |
44 |
261 |
2 |
| openssldh_isprivate |
|
2 |
4 |
37 |
1 |
| openssldh_destroy |
|
6 |
11 |
79 |
1 |
| uint16_toregion |
|
1 |
4 |
38 |
2 |
| uint16_fromregion |
|
1 |
8 |
64 |
1 |
| openssldh_todns |
|
10 |
42 |
298 |
2 |
| openssldh_fromdns |
|
22 |
97 |
545 |
2 |
| openssldh_tofile |
|
6 |
47 |
408 |
2 |
| openssldh_parse |
|
19 |
69 |
452 |
2 |
| BN_fromhex |
|
3 |
20 |
196 |
2 |
| openssldh_cleanup |
|
1 |
6 |
30 |
1 |
| dst__openssldh_init |
|
2 |
15 |
91 |
1 |
| Source file: ./usr.sbin/bind/lib/bind9/getaddresses.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bind9_getaddresses |
|
41 |
132 |
806 |
5 |
| Source file: ./usr.sbin/bind/bin/dig/include/dig/dig.h |
| Source file: ./usr.sbin/bind/lib/dns/opensslrsa_link.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| opensslrsa_createctx |
|
5 |
21 |
136 |
2 |
| opensslrsa_destroyctx |
|
5 |
18 |
118 |
1 |
| opensslrsa_adddata |
|
3 |
12 |
94 |
2 |
| opensslrsa_sign |
|
7 |
42 |
271 |
2 |
| opensslrsa_verify |
|
5 |
28 |
189 |
2 |
| opensslrsa_compare |
|
14 |
24 |
196 |
2 |
| opensslrsa_generate |
|
10 |
39 |
231 |
2 |
| opensslrsa_isprivate |
|
2 |
4 |
37 |
1 |
| opensslrsa_destroy |
|
1 |
5 |
27 |
1 |
| opensslrsa_todns |
|
5 |
29 |
202 |
2 |
| opensslrsa_fromdns |
|
7 |
39 |
258 |
2 |
| opensslrsa_tofile |
|
6 |
67 |
632 |
2 |
| opensslrsa_parse |
|
13 |
56 |
305 |
2 |
| dst__opensslrsa_init |
|
2 |
6 |
33 |
1 |
| Source file: ./usr.sbin/bind/bin/dig/nslookup.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dighost_shutdown |
|
2 |
10 |
42 |
1 |
| printsoa |
|
1 |
17 |
134 |
1 |
| printa |
|
1 |
10 |
79 |
1 |
| printrdataset |
|
1 |
8 |
36 |
3 |
| printrdata |
|
6 |
24 |
159 |
1 |
| printsection |
|
11 |
61 |
318 |
4 |
| detailsection |
|
15 |
77 |
377 |
4 |
| received |
|
1 |
6 |
30 |
3 |
| trying |
|
1 |
4 |
22 |
2 |
| printmessage |
|
8 |
43 |
309 |
3 |
| show_settings |
|
12 |
40 |
239 |
2 |
| testtype |
|
2 |
14 |
69 |
1 |
| testclass |
|
2 |
14 |
69 |
1 |
| safecpy |
|
1 |
3 |
24 |
3 |
| parse_uint |
|
4 |
14 |
86 |
4 |
| set_port |
|
2 |
7 |
42 |
1 |
| set_timeout |
|
2 |
6 |
37 |
1 |
| set_tries |
|
2 |
6 |
37 |
1 |
| setoption |
|
41 |
82 |
920 |
1 |
| addlookup |
|
5 |
60 |
379 |
1 |
| get_next_command |
|
15 |
50 |
320 |
1 |
| parse_args |
|
5 |
22 |
134 |
2 |
| flush_lookup_list |
|
9 |
44 |
300 |
1 |
| getinput |
|
4 |
13 |
58 |
2 |
| main |
|
6 |
39 |
222 |
2 |
| Source file: ./usr.sbin/bind/lib/dns/hmac_link.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| getkeybits |
|
2 |
6 |
54 |
2 |
| hmacmd5_createctx |
|
2 |
10 |
71 |
2 |
| hmacmd5_destroyctx |
|
2 |
8 |
49 |
1 |
| hmacmd5_adddata |
|
1 |
5 |
39 |
2 |
| hmacmd5_sign |
|
2 |
10 |
65 |
2 |
| hmacmd5_verify |
|
3 |
9 |
60 |
2 |
| hmacmd5_compare |
|
6 |
13 |
100 |
2 |
| hmacmd5_generate |
|
3 |
20 |
137 |
2 |
| hmacmd5_isprivate |
|
1 |
4 |
19 |
1 |
| hmacmd5_destroy |
|
1 |
6 |
48 |
1 |
| hmacmd5_todns |
|
2 |
11 |
82 |
2 |
| hmacmd5_fromdns |
|
4 |
26 |
178 |
2 |
| hmacmd5_tofile |
|
2 |
20 |
185 |
2 |
| hmacmd5_parse |
|
8 |
34 |
230 |
2 |
| dst__hmacmd5_init |
|
2 |
6 |
33 |
1 |
| hmacsha1_createctx |
|
2 |
10 |
71 |
2 |
| hmacsha1_destroyctx |
|
2 |
8 |
49 |
1 |
| hmacsha1_adddata |
|
1 |
5 |
39 |
2 |
| hmacsha1_sign |
|
2 |
10 |
67 |
2 |
| hmacsha1_verify |
|
4 |
9 |
66 |
2 |
| hmacsha1_compare |
|
6 |
13 |
100 |
2 |
| hmacsha1_generate |
|
3 |
20 |
137 |
2 |
| hmacsha1_isprivate |
|
1 |
4 |
19 |
1 |
| hmacsha1_destroy |
|
1 |
6 |
48 |
1 |
| hmacsha1_todns |
|
2 |
11 |
82 |
2 |
| hmacsha1_fromdns |
|
4 |
26 |
178 |
2 |
| hmacsha1_tofile |
|
2 |
20 |
185 |
2 |
| hmacsha1_parse |
|
7 |
35 |
226 |
2 |
| dst__hmacsha1_init |
|
2 |
6 |
33 |
1 |
| hmacsha224_createctx |
|
2 |
10 |
71 |
2 |
| hmacsha224_destroyctx |
|
2 |
8 |
49 |
1 |
| hmacsha224_adddata |
|
1 |
5 |
39 |
2 |
| hmacsha224_sign |
|
2 |
10 |
67 |
2 |
| hmacsha224_verify |
|
4 |
9 |
66 |
2 |
| hmacsha224_compare |
|
6 |
13 |
100 |
2 |
| hmacsha224_generate |
|
3 |
20 |
137 |
2 |
| hmacsha224_isprivate |
|
1 |
4 |
19 |
1 |
| hmacsha224_destroy |
|
1 |
6 |
48 |
1 |
| hmacsha224_todns |
|
2 |
11 |
82 |
2 |
| hmacsha224_fromdns |
|
4 |
26 |
178 |
2 |
| hmacsha224_tofile |
|
2 |
20 |
185 |
2 |
| hmacsha224_parse |
|
7 |
35 |
226 |
2 |
| dst__hmacsha224_init |
|
2 |
6 |
33 |
1 |
| hmacsha256_createctx |
|
2 |
10 |
71 |
2 |
| hmacsha256_destroyctx |
|
2 |
8 |
49 |
1 |
| hmacsha256_adddata |
|
1 |
5 |
39 |
2 |
| hmacsha256_sign |
|
2 |
10 |
67 |
2 |
| hmacsha256_verify |
|
4 |
9 |
66 |
2 |
| hmacsha256_compare |
|
6 |
13 |
100 |
2 |
| hmacsha256_generate |
|
3 |
20 |
137 |
2 |
| hmacsha256_isprivate |
|
1 |
4 |
19 |
1 |
| hmacsha256_destroy |
|
1 |
6 |
48 |
1 |
| hmacsha256_todns |
|
2 |
11 |
82 |
2 |
| hmacsha256_fromdns |
|
4 |
26 |
178 |
2 |
| hmacsha256_tofile |
|
2 |
20 |
185 |
2 |
| hmacsha256_parse |
|
7 |
35 |
226 |
2 |
| dst__hmacsha256_init |
|
2 |
6 |
33 |
1 |
| hmacsha384_createctx |
|
2 |
10 |
71 |
2 |
| hmacsha384_destroyctx |
|
2 |
8 |
49 |
1 |
| hmacsha384_adddata |
|
1 |
5 |
39 |
2 |
| hmacsha384_sign |
|
2 |
10 |
67 |
2 |
| hmacsha384_verify |
|
4 |
9 |
66 |
2 |
| hmacsha384_compare |
|
6 |
13 |
100 |
2 |
| hmacsha384_generate |
|
3 |
20 |
137 |
2 |
| hmacsha384_isprivate |
|
1 |
4 |
19 |
1 |
| hmacsha384_destroy |
|
1 |
6 |
48 |
1 |
| hmacsha384_todns |
|
2 |
11 |
82 |
2 |
| hmacsha384_fromdns |
|
4 |
26 |
178 |
2 |
| hmacsha384_tofile |
|
2 |
20 |
185 |
2 |
| hmacsha384_parse |
|
7 |
35 |
226 |
2 |
| dst__hmacsha384_init |
|
2 |
6 |
33 |
1 |
| hmacsha512_createctx |
|
2 |
10 |
71 |
2 |
| hmacsha512_destroyctx |
|
2 |
8 |
49 |
1 |
| hmacsha512_adddata |
|
1 |
5 |
39 |
2 |
| hmacsha512_sign |
|
2 |
10 |
67 |
2 |
| hmacsha512_verify |
|
4 |
9 |
66 |
2 |
| hmacsha512_compare |
|
6 |
13 |
100 |
2 |
| hmacsha512_generate |
|
3 |
20 |
137 |
2 |
| hmacsha512_isprivate |
|
1 |
4 |
19 |
1 |
| hmacsha512_destroy |
|
1 |
6 |
48 |
1 |
| hmacsha512_todns |
|
2 |
11 |
82 |
2 |
| hmacsha512_fromdns |
|
4 |
26 |
178 |
2 |
| hmacsha512_tofile |
|
2 |
20 |
185 |
2 |
| hmacsha512_parse |
|
7 |
35 |
226 |
2 |
| dst__hmacsha512_init |
|
2 |
6 |
33 |
1 |
| Source file: ./usr.sbin/bind/bin/dig/dig.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| print_usage |
|
1 |
6 |
17 |
1 |
| usage |
|
1 |
6 |
24 |
1 |
| version |
|
1 |
3 |
15 |
1 |
| help |
|
3 |
67 |
79 |
1 |
| received |
|
11 |
40 |
266 |
3 |
| trying |
|
1 |
4 |
22 |
2 |
| say_message |
|
5 |
24 |
177 |
3 |
| short_answer |
|
8 |
42 |
243 |
4 |
| printrdataset |
|
13 |
37 |
233 |
3 |
| printmessage |
|
60 |
183 |
1077 |
3 |
| printgreeting |
|
10 |
32 |
236 |
3 |
| parse_uint |
|
4 |
10 |
73 |
3 |
| plus_option |
|
90 |
363 |
1544 |
3 |
| dash_option |
|
67 |
308 |
1876 |
9 |
| preparse_args |
|
5 |
21 |
123 |
2 |
| getaddresses |
|
3 |
20 |
140 |
2 |
| parse_args |
|
53 |
221 |
1328 |
4 |
| dighost_shutdown |
|
9 |
40 |
234 |
1 |
| main |
|
7 |
40 |
221 |
2 |
| Source file: ./usr.sbin/bind/acconfig.h |
| Source file: ./usr.sbin/rpc.lockd/lockd.h |
| Source file: ./usr.sbin/bind/lib/bind9/check.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| freekey |
|
1 |
5 |
36 |
4 |
| check_orderent |
|
14 |
72 |
466 |
2 |
| check_order |
|
4 |
17 |
101 |
2 |
| check_dual_stack |
|
9 |
55 |
331 |
2 |
| check_forward |
|
3 |
12 |
86 |
2 |
| disabled_algorithms |
|
5 |
45 |
278 |
2 |
| nameexist |
|
5 |
30 |
196 |
7 |
| mustbesecure |
|
2 |
29 |
183 |
4 |
| checkacl |
|
9 |
27 |
192 |
7 |
| check_viewacls |
|
3 |
16 |
113 |
5 |
| check_options |
|
39 |
225 |
1460 |
3 |
| get_masters_def |
|
4 |
21 |
136 |
3 |
| validate_masters |
|
14 |
88 |
491 |
5 |
| check_update_policy |
|
9 |
66 |
439 |
2 |
| check_zoneconf |
|
52 |
252 |
1676 |
8 |
| bind9_check_key |
|
17 |
75 |
490 |
2 |
| check_keylist |
|
6 |
36 |
220 |
3 |
| check_servers |
|
10 |
59 |
400 |
2 |
| check_viewconf |
|
35 |
120 |
787 |
5 |
| bind9_check_logging |
|
16 |
99 |
599 |
3 |
| key_exists |
|
4 |
17 |
100 |
2 |
| bind9_check_controlskeys |
|
4 |
24 |
135 |
3 |
| bind9_check_controls |
|
15 |
84 |
520 |
3 |
| bind9_check_namedconf |
|
45 |
198 |
1241 |
3 |
| Source file: ./usr.sbin/rpc.lockd/lockd_lock.h |
| Source file: ./usr.sbin/rpc.lockd/handles.c |
| Source file: ./usr.sbin/bind/bin/dig/host.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| show_usage |
|
1 |
24 |
37 |
1 |
| dighost_shutdown |
|
1 |
3 |
10 |
1 |
| received |
|
2 |
12 |
81 |
3 |
| trying |
|
2 |
5 |
29 |
2 |
| say_message |
|
4 |
32 |
198 |
4 |
| printrdataset |
|
1 |
8 |
36 |
3 |
| printsection |
|
27 |
104 |
557 |
5 |
| printrdata |
|
3 |
19 |
129 |
5 |
| chase_cnamechain |
|
3 |
23 |
145 |
2 |
| printmessage |
|
45 |
161 |
1075 |
3 |
| pre_parse_args |
|
25 |
41 |
206 |
2 |
| parse_args |
|
43 |
179 |
875 |
3 |
| main |
|
5 |
32 |
187 |
2 |
| Source file: ./usr.sbin/rpc.lockd/test.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| nlm_test_1 |
|
2 |
10 |
67 |
2 |
| nlm_lock_1 |
|
2 |
13 |
89 |
2 |
| nlm_cancel_1 |
|
2 |
10 |
67 |
2 |
| nlm_unlock_1 |
|
2 |
10 |
67 |
2 |
| nlm_granted_1 |
|
2 |
10 |
67 |
2 |
| nlm_test_msg_1 |
|
2 |
10 |
71 |
2 |
| nlm_lock_msg_1 |
|
2 |
10 |
77 |
2 |
| nlm_cancel_msg_1 |
|
2 |
10 |
71 |
2 |
| nlm_unlock_msg_1 |
|
2 |
10 |
71 |
2 |
| nlm_granted_msg_1 |
|
2 |
10 |
71 |
2 |
| nlm_test_res_1 |
|
2 |
10 |
70 |
2 |
| nlm_lock_res_1 |
|
2 |
10 |
70 |
2 |
| nlm_cancel_res_1 |
|
2 |
10 |
70 |
2 |
| nlm_unlock_res_1 |
|
2 |
10 |
70 |
2 |
| nlm_granted_res_1 |
|
2 |
10 |
70 |
2 |
| nlm_share_3 |
|
2 |
10 |
66 |
2 |
| nlm_unshare_3 |
|
2 |
10 |
66 |
2 |
| nlm_nm_lock_3 |
|
2 |
10 |
66 |
2 |
| nlm_free_all_3 |
|
2 |
10 |
70 |
2 |
| main |
|
5 |
51 |
346 |
2 |
| Source file: ./usr.sbin/rpc.lockd/lockd_lock.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fhcmp |
|
1 |
4 |
31 |
2 |
| fhconv |
|
3 |
19 |
94 |
2 |
| fhfree |
|
1 |
4 |
15 |
1 |
| lock_lookup |
|
7 |
17 |
109 |
2 |
| testlock |
|
4 |
25 |
144 |
2 |
| getlock |
|
29 |
122 |
781 |
3 |
| unlock |
|
14 |
47 |
296 |
2 |
| lalloc |
|
1 |
4 |
18 |
1 |
| lfree |
|
1 |
8 |
49 |
1 |
| sigchild_handler |
|
12 |
48 |
237 |
1 |
| do_lock |
|
24 |
92 |
527 |
2 |
| send_granted |
|
10 |
66 |
513 |
2 |
| do_unlock |
|
10 |
40 |
197 |
1 |
| siglock |
|
2 |
9 |
46 |
1 |
| sigunlock |
|
2 |
9 |
46 |
1 |
| do_mon |
|
5 |
41 |
286 |
1 |
| notify |
|
9 |
37 |
194 |
2 |
| Source file: ./usr.sbin/rpc.lockd/lockd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
21 |
106 |
729 |
2 |
| sigalarm_handler |
|
1 |
4 |
11 |
1 |
| usage |
|
1 |
4 |
12 |
0 |
| Source file: ./usr.sbin/config/misc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ask_cmd |
|
3 |
17 |
146 |
1 |
| ask_yn |
|
8 |
21 |
116 |
1 |
| Source file: ./usr.sbin/config/exec.h |
| Source file: ./usr.sbin/config/ukc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| check_int |
|
2 |
6 |
31 |
2 |
| ukc |
|
38 |
100 |
691 |
4 |
| init |
|
7 |
31 |
160 |
1 |
| Source file: ./usr.sbin/config/sem.h |
| Source file: ./usr.sbin/config/misc.h |
| Source file: ./usr.sbin/config/cmd.h |
| Source file: ./usr.sbin/config/mkswap.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mkswap |
|
4 |
8 |
50 |
1 |
| mkdevstr |
|
2 |
10 |
60 |
1 |
| mkoneswap |
|
13 |
46 |
299 |
1 |
| Source file: ./usr.sbin/rpc.lockd/procs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| log_from_addr |
|
2 |
14 |
107 |
2 |
| get_client |
|
12 |
52 |
346 |
2 |
| transmit_result |
|
3 |
15 |
94 |
3 |
| transmit4_result |
|
3 |
15 |
94 |
3 |
| nlmtonlm4 |
|
1 |
6 |
42 |
2 |
| nlm_test_1_svc |
|
3 |
23 |
153 |
2 |
| nlm_test_msg_1_svc |
|
5 |
36 |
239 |
2 |
| nlm_lock_1_svc |
|
2 |
16 |
113 |
2 |
| nlm_lock_msg_1_svc |
|
2 |
17 |
129 |
2 |
| nlm_cancel_1_svc |
|
2 |
11 |
69 |
2 |
| nlm_cancel_msg_1_svc |
|
2 |
12 |
83 |
2 |
| nlm_unlock_1_svc |
|
2 |
11 |
69 |
2 |
| nlm_unlock_msg_1_svc |
|
2 |
12 |
83 |
2 |
| nlm_granted_1_svc |
|
2 |
9 |
48 |
2 |
| nlm_granted_msg_1_svc |
|
2 |
10 |
62 |
2 |
| nlm_test_res_1_svc |
|
2 |
6 |
27 |
2 |
| nlm_lock_res_1_svc |
|
2 |
6 |
27 |
2 |
| nlm_cancel_res_1_svc |
|
2 |
6 |
27 |
2 |
| nlm_unlock_res_1_svc |
|
2 |
6 |
27 |
2 |
| nlm_granted_res_1_svc |
|
2 |
6 |
27 |
2 |
| nlm_share_3_svc |
|
2 |
10 |
52 |
2 |
| nlm_unshare_3_svc |
|
2 |
10 |
52 |
2 |
| nlm_nm_lock_3_svc |
|
2 |
9 |
48 |
2 |
| nlm_free_all_3_svc |
|
2 |
7 |
32 |
2 |
| nlm4_test_4_svc |
|
3 |
17 |
104 |
2 |
| nlm4_test_msg_4_svc |
|
5 |
30 |
190 |
2 |
| nlm4_lock_4_svc |
|
2 |
9 |
57 |
2 |
| nlm4_lock_msg_4_svc |
|
2 |
10 |
73 |
2 |
| nlm4_cancel_4_svc |
|
2 |
9 |
56 |
2 |
| nlm4_cancel_msg_4_svc |
|
2 |
10 |
72 |
2 |
| nlm4_unlock_4_svc |
|
2 |
9 |
56 |
2 |
| nlm4_unlock_msg_4_svc |
|
2 |
10 |
70 |
2 |
| nlm4_granted_4_svc |
|
2 |
9 |
48 |
2 |
| nlm4_granted_msg_4_svc |
|
2 |
10 |
62 |
2 |
| nlm4_test_res_4_svc |
|
2 |
6 |
27 |
2 |
| nlm4_lock_res_4_svc |
|
2 |
6 |
27 |
2 |
| nlm4_cancel_res_4_svc |
|
2 |
6 |
27 |
2 |
| nlm4_unlock_res_4_svc |
|
2 |
6 |
27 |
2 |
| nlm4_granted_res_4_svc |
|
2 |
6 |
27 |
2 |
| nlm4_share_4_svc |
|
2 |
10 |
52 |
2 |
| nlm4_unshare_4_svc |
|
2 |
10 |
52 |
2 |
| nlm4_nm_lock_4_svc |
|
2 |
9 |
48 |
2 |
| nlm4_free_all_4_svc |
|
2 |
7 |
32 |
2 |
| nlm_sm_notify_0_svc |
|
1 |
6 |
33 |
2 |
| Source file: ./usr.sbin/config/util.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| emalloc |
|
2 |
7 |
36 |
1 |
| ereallocarray |
|
2 |
6 |
41 |
3 |
| ecalloc |
|
2 |
7 |
39 |
2 |
| sourcepath |
|
2 |
7 |
40 |
1 |
| newnv |
|
4 |
19 |
116 |
5 |
| nvfree |
|
1 |
5 |
19 |
1 |
| nvfreel |
|
2 |
9 |
43 |
1 |
| error |
|
1 |
8 |
45 |
2 |
| xerror |
|
1 |
7 |
45 |
4 |
| vxerror |
|
1 |
7 |
59 |
4 |
| panic |
|
1 |
10 |
63 |
2 |
| Source file: ./usr.sbin/config/cmd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| Xhelp |
|
2 |
9 |
68 |
1 |
| Xadd |
|
3 |
12 |
77 |
1 |
| Xbase |
|
6 |
15 |
87 |
1 |
| Xchange |
|
4 |
14 |
99 |
1 |
| Xdisable |
|
5 |
16 |
125 |
1 |
| Xenable |
|
5 |
16 |
125 |
1 |
| Xfind |
|
4 |
14 |
99 |
1 |
| Xlines |
|
3 |
11 |
57 |
1 |
| Xlist |
|
6 |
22 |
100 |
1 |
| Xshow |
|
2 |
8 |
40 |
1 |
| Xquit |
|
1 |
4 |
13 |
1 |
| Xexit |
|
1 |
4 |
13 |
1 |
| Xtimezone |
|
8 |
27 |
190 |
1 |
| int_variable_adjust |
|
4 |
19 |
132 |
3 |
| Xbufcachepct |
|
1 |
5 |
22 |
1 |
| Xnkmempg |
|
1 |
5 |
22 |
1 |
| Source file: ./usr.sbin/config/pack.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pack |
|
4 |
22 |
138 |
1 |
| packdevi |
|
8 |
38 |
274 |
1 |
| sameas |
|
5 |
12 |
91 |
2 |
| addparents |
|
15 |
54 |
411 |
2 |
| nparents |
|
7 |
17 |
111 |
3 |
| packlocs |
|
4 |
15 |
128 |
1 |
| packpvec |
|
6 |
22 |
183 |
1 |
| findvec |
|
4 |
16 |
127 |
5 |
| samelocs |
|
3 |
8 |
70 |
3 |
| addlocs |
|
3 |
11 |
76 |
2 |
| loclencmp |
|
1 |
7 |
58 |
2 |
| samepv |
|
3 |
8 |
68 |
3 |
| addpv |
|
6 |
18 |
119 |
2 |
| pvlencmp |
|
1 |
7 |
54 |
2 |
| resettails |
|
3 |
12 |
73 |
1 |
| Source file: ./usr.sbin/config/files.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| initfiles |
|
1 |
8 |
33 |
1 |
| addfile |
|
17 |
65 |
422 |
4 |
| addobject |
|
3 |
22 |
147 |
3 |
| checkfiles |
|
4 |
10 |
78 |
1 |
| checkaux |
|
2 |
11 |
59 |
2 |
| fixfiles |
|
11 |
44 |
270 |
1 |
| fixobjects |
|
5 |
22 |
111 |
1 |
| fixcount |
|
2 |
14 |
104 |
2 |
| fixfsel |
|
1 |
11 |
73 |
2 |
| fixsel |
|
1 |
4 |
25 |
2 |
| expr_eval |
|
5 |
20 |
162 |
3 |
| expr_free |
|
6 |
19 |
80 |
1 |
| prexpr |
|
1 |
7 |
32 |
1 |
| pr0 |
|
6 |
24 |
99 |
1 |
| Source file: ./usr.sbin/config/mkheaders.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mkheaders |
|
7 |
16 |
101 |
1 |
| emitcnt |
|
13 |
37 |
291 |
1 |
| emitopt |
|
14 |
48 |
333 |
1 |
| emitwarn |
|
2 |
7 |
43 |
3 |
| cntname |
|
3 |
12 |
78 |
1 |
| Source file: ./usr.sbin/config/ukc.h |
| Source file: ./usr.sbin/config/hash.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| poolalloc |
|
2 |
17 |
79 |
1 |
| ht_init |
|
2 |
13 |
87 |
2 |
| ht_expand |
|
3 |
21 |
156 |
1 |
| newhashent |
|
1 |
11 |
69 |
2 |
| hash |
|
2 |
7 |
42 |
1 |
| initintern |
|
1 |
4 |
14 |
1 |
| intern |
|
5 |
21 |
159 |
1 |
| ht_new |
|
1 |
7 |
32 |
1 |
| ht_remove |
|
6 |
20 |
157 |
2 |
| ht_insrep |
|
5 |
19 |
138 |
4 |
| ht_lookup |
|
3 |
11 |
85 |
2 |
| Source file: ./usr.sbin/config/exec_elf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| adjust |
|
5 |
18 |
137 |
1 |
| readjust |
|
5 |
16 |
135 |
1 |
| loadkernel |
|
9 |
30 |
311 |
1 |
| savekernel |
|
3 |
9 |
71 |
1 |
| Source file: ./usr.sbin/config/main.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usage |
|
1 |
9 |
28 |
1 |
| main |
|
38 |
112 |
625 |
2 |
| mksymlink |
|
4 |
13 |
72 |
2 |
| mksymlinks |
|
3 |
22 |
127 |
1 |
| stop |
|
1 |
5 |
21 |
1 |
| defoption |
|
3 |
14 |
131 |
1 |
| removeoption |
|
7 |
31 |
213 |
1 |
| addoption |
|
4 |
15 |
137 |
2 |
| addmkoption |
|
1 |
4 |
31 |
2 |
| do_option |
|
4 |
19 |
144 |
5 |
| deva_has_instances |
|
4 |
10 |
68 |
2 |
| devbase_has_instances |
|
3 |
8 |
54 |
2 |
| hasparent |
|
5 |
12 |
90 |
1 |
| cfcrosscheck |
|
12 |
33 |
216 |
3 |
| crosscheck |
|
8 |
30 |
197 |
1 |
| badstar |
|
9 |
29 |
170 |
1 |
| setupdirs |
|
20 |
41 |
290 |
1 |
| optcmp |
|
8 |
16 |
119 |
2 |
| optiondelta |
|
16 |
49 |
397 |
1 |
| Source file: ./usr.sbin/config/config.h |
| Source file: ./usr.sbin/config/mkmakefile.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mkmakefile |
|
18 |
72 |
419 |
1 |
| expandname |
|
13 |
38 |
265 |
1 |
| srcpath |
|
9 |
32 |
195 |
1 |
| emitdefs |
|
15 |
32 |
255 |
1 |
| emitreconfig |
|
10 |
24 |
137 |
1 |
| emitobjs |
|
14 |
46 |
311 |
1 |
| emitcfiles |
|
1 |
4 |
18 |
1 |
| emitsfiles |
|
1 |
4 |
18 |
1 |
| emitfiles |
|
13 |
36 |
250 |
2 |
| emit_1rule |
|
5 |
11 |
91 |
4 |
| emitrules |
|
9 |
31 |
157 |
1 |
| emitload |
|
19 |
63 |
361 |
1 |
| Source file: ./usr.sbin/config/sem.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| initsem |
|
1 |
20 |
95 |
1 |
| enddefs |
|
4 |
17 |
80 |
1 |
| setdefmaxusers |
|
4 |
10 |
47 |
3 |
| setmaxusers |
|
4 |
13 |
63 |
1 |
| defattr |
|
4 |
29 |
167 |
2 |
| has_errobj |
|
3 |
7 |
44 |
2 |
| addtoattr |
|
1 |
6 |
39 |
2 |
| defdev |
|
8 |
34 |
202 |
4 |
| getdevbase |
|
8 |
36 |
215 |
1 |
| defdevattach |
|
19 |
63 |
391 |
4 |
| getdevattach |
|
8 |
35 |
211 |
1 |
| getattr |
|
2 |
9 |
48 |
1 |
| setmajor |
|
3 |
8 |
45 |
2 |
| exclude |
|
2 |
8 |
46 |
3 |
| resolve |
|
18 |
61 |
478 |
5 |
| lresolve |
|
3 |
9 |
75 |
5 |
| addconf |
|
8 |
41 |
270 |
1 |
| setconf |
|
2 |
8 |
46 |
3 |
| newdevi |
|
2 |
23 |
145 |
3 |
| enabledev |
|
9 |
41 |
244 |
2 |
| adddev |
|
17 |
81 |
500 |
5 |
| addpseudo |
|
5 |
27 |
156 |
3 |
| getdevi |
|
7 |
36 |
224 |
1 |
| concat |
|
2 |
14 |
92 |
2 |
| starref |
|
1 |
4 |
19 |
1 |
| wildref |
|
1 |
4 |
19 |
1 |
| split |
|
8 |
26 |
178 |
5 |
| selectbase |
|
4 |
18 |
164 |
2 |
| onlist |
|
3 |
7 |
44 |
2 |
| extend |
|
1 |
10 |
53 |
2 |
| fixloc |
|
19 |
70 |
470 |
3 |
| Source file: ./usr.sbin/config/mkioconf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mkioconf |
|
11 |
21 |
140 |
1 |
| cforder |
|
1 |
7 |
54 |
2 |
| emithdr |
|
7 |
31 |
180 |
1 |
| emitexterns |
|
7 |
23 |
129 |
1 |
| emitloc |
|
5 |
18 |
104 |
1 |
| addlocname |
|
5 |
13 |
96 |
1 |
| addlocnami |
|
3 |
8 |
47 |
1 |
| emitlocnames |
|
16 |
47 |
362 |
1 |
| emitpv |
|
5 |
14 |
108 |
1 |
| emitcfdata |
|
21 |
71 |
478 |
1 |
| emitroots |
|
9 |
21 |
159 |
1 |
| emitpseudo |
|
13 |
36 |
267 |
1 |
| Source file: ./usr.sbin/config/ukcutil.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| get_cfdata |
|
1 |
5 |
38 |
1 |
| get_locnamp |
|
1 |
5 |
36 |
1 |
| get_locnames |
|
1 |
5 |
36 |
1 |
| get_extraloc |
|
2 |
13 |
110 |
1 |
| get_pdevnames |
|
1 |
7 |
51 |
1 |
| get_pdevinit |
|
1 |
5 |
38 |
1 |
| more |
|
6 |
17 |
87 |
1 |
| pnum |
|
6 |
19 |
73 |
1 |
| pdevnam |
|
6 |
24 |
113 |
1 |
| pdev |
|
16 |
66 |
355 |
1 |
| numberl |
|
7 |
10 |
88 |
2 |
| number |
|
4 |
12 |
64 |
2 |
| device |
|
10 |
30 |
168 |
4 |
| attr |
|
9 |
24 |
158 |
2 |
| modifyl |
|
5 |
24 |
127 |
2 |
| modify |
|
4 |
11 |
57 |
2 |
| change |
|
20 |
81 |
479 |
1 |
| change_history |
|
32 |
97 |
562 |
2 |
| disable |
|
13 |
53 |
240 |
1 |
| enable |
|
13 |
53 |
240 |
1 |
| show |
|
3 |
15 |
68 |
1 |
| common_attr_val |
|
11 |
50 |
216 |
3 |
| show_attr |
|
14 |
37 |
219 |
1 |
| common_dev |
|
27 |
84 |
399 |
5 |
| common_attr |
|
10 |
23 |
130 |
3 |
| add_read |
|
10 |
45 |
259 |
5 |
| add |
|
34 |
126 |
830 |
4 |
| add_history |
|
19 |
84 |
583 |
4 |
| config |
|
9 |
32 |
204 |
1 |
| process_history |
|
32 |
98 |
486 |
2 |
| Source file: ./usr.sbin/ifstated/ifstated.h |
| Source file: ./usr.sbin/ifstated/log.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| log_init |
|
2 |
10 |
48 |
2 |
| log_procinit |
|
2 |
5 |
19 |
1 |
| log_setverbose |
|
1 |
4 |
11 |
1 |
| log_getverbose |
|
1 |
4 |
11 |
1 |
| logit |
|
1 |
7 |
38 |
3 |
| vlog |
|
3 |
17 |
99 |
3 |
| log_warn |
|
3 |
21 |
120 |
2 |
| log_warnx |
|
1 |
7 |
35 |
2 |
| log_info |
|
1 |
7 |
35 |
2 |
| log_debug |
|
2 |
9 |
41 |
2 |
| vfatalc |
|
3 |
17 |
106 |
3 |
| fatal |
|
1 |
8 |
40 |
2 |
| fatalx |
|
1 |
8 |
40 |
2 |
| Source file: ./usr.sbin/ifstated/log.h |
| Source file: ./usr.sbin/installboot/sparc64_installboot.h |
| Source file: ./usr.sbin/installboot/landisk_installboot.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| md_init |
|
1 |
7 |
22 |
1 |
| md_loadboot |
|
1 |
3 |
6 |
1 |
| md_installboot |
|
4 |
11 |
68 |
2 |
| Source file: ./usr.sbin/installboot/stubs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| md_init |
|
1 |
4 |
13 |
1 |
| md_loadboot |
|
1 |
3 |
6 |
1 |
| md_installboot |
|
1 |
3 |
11 |
2 |
| Source file: ./usr.sbin/hostctl/hostctl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usage |
|
1 |
7 |
26 |
1 |
| kvsetstr |
|
3 |
9 |
71 |
3 |
| kvsetfile |
|
7 |
22 |
151 |
3 |
| main |
|
33 |
94 |
675 |
2 |
| Source file: ./usr.sbin/installboot/i386_installboot.h |
| Source file: ./usr.sbin/installboot/installboot.h |
| Source file: ./usr.sbin/installboot/sparc64_softraid.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sr_install_bootblk |
|
10 |
31 |
240 |
3 |
| sr_install_bootldr |
|
4 |
17 |
111 |
2 |
| Source file: ./usr.sbin/installboot/i386_softraid.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sr_install_bootblk |
|
15 |
51 |
393 |
3 |
| sr_install_bootldr |
|
10 |
61 |
482 |
2 |
| Source file: ./usr.sbin/installboot/installboot.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usage |
|
2 |
7 |
35 |
1 |
| main |
|
24 |
60 |
348 |
2 |
| Source file: ./usr.sbin/ifstated/ifstated.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usage |
|
1 |
7 |
25 |
1 |
| main |
|
19 |
74 |
423 |
2 |
| startup_handler |
|
2 |
13 |
94 |
3 |
| sighup_handler |
|
2 |
6 |
32 |
3 |
| load_config |
|
5 |
24 |
161 |
1 |
| rt_msg_handler |
|
12 |
45 |
254 |
3 |
| sigchld_handler |
|
2 |
6 |
37 |
3 |
| external_handler |
|
1 |
10 |
74 |
3 |
| external_exec |
|
6 |
30 |
192 |
2 |
| adjust_external_expressions |
|
2 |
17 |
95 |
1 |
| check_external_status |
|
11 |
37 |
228 |
1 |
| external_evtimer_setup |
|
5 |
32 |
163 |
2 |
| scan_ifstate_single |
|
11 |
34 |
193 |
3 |
| scan_ifstate |
|
7 |
14 |
98 |
3 |
| adjust_expressions |
|
13 |
40 |
222 |
2 |
| eval_state |
|
5 |
13 |
79 |
1 |
| state_change |
|
4 |
18 |
115 |
1 |
| do_action |
|
7 |
25 |
138 |
1 |
| fetch_ifstate |
|
4 |
14 |
85 |
1 |
| check_ifdeparture |
|
2 |
12 |
64 |
1 |
| clear_config |
|
4 |
17 |
138 |
1 |
| remove_action |
|
8 |
23 |
136 |
2 |
| remove_expression |
|
7 |
33 |
210 |
2 |
| Source file: ./usr.sbin/installboot/bootstrap.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bootstrap |
|
22 |
72 |
507 |
4 |
| Source file: ./usr.sbin/installboot/util.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| filecopy |
|
11 |
54 |
335 |
2 |
| fileprefix |
|
5 |
22 |
133 |
2 |
| crc32 |
|
3 |
15 |
99 |
2 |
| Source file: ./usr.sbin/installboot/hppa_installboot.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| md_init |
|
1 |
5 |
14 |
1 |
| md_loadboot |
|
1 |
3 |
6 |
1 |
| md_installboot |
|
1 |
4 |
22 |
2 |
| Source file: ./usr.sbin/installboot/softraid.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sr_installboot |
|
3 |
11 |
79 |
2 |
| sr_volume |
|
7 |
26 |
193 |
4 |
| Source file: ./usr.sbin/installboot/sparc64_installboot.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| md_init |
|
1 |
7 |
22 |
1 |
| md_loadboot |
|
11 |
36 |
276 |
1 |
| md_installboot |
|
8 |
17 |
109 |
2 |
| Source file: ./usr.sbin/installboot/i386_nlist.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __elf_is_okay__ |
|
7 |
13 |
71 |
1 |
| __elf_fdnlist |
|
44 |
143 |
934 |
2 |
| nlist_elf32 |
|
2 |
10 |
61 |
2 |
| Source file: ./usr.sbin/installboot/armv7_installboot.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| md_init |
|
1 |
3 |
6 |
1 |
| md_loadboot |
|
1 |
3 |
6 |
1 |
| md_installboot |
|
5 |
16 |
105 |
2 |
| write_efisystem |
|
28 |
124 |
825 |
2 |
| findmbrfat |
|
12 |
31 |
235 |
2 |
| Source file: ./usr.sbin/rdate/rfc868time.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rfc868time_client |
|
9 |
45 |
326 |
5 |
| Source file: ./usr.sbin/rdate/ntp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ntp_client |
|
9 |
37 |
256 |
5 |
| sync_ntp |
|
18 |
59 |
391 |
4 |
| write_packet |
|
2 |
16 |
135 |
2 |
| read_packet |
|
15 |
61 |
380 |
4 |
| unpack_ntp |
|
3 |
17 |
183 |
2 |
| current_time |
|
3 |
11 |
70 |
1 |
| create_timeval |
|
5 |
21 |
157 |
3 |
| print_packet |
|
1 |
13 |
100 |
1 |
| Source file: ./usr.sbin/rdate/ntpleaps.h |
| Source file: ./usr.sbin/rdate/ntpleaps.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ntpleaps_init |
|
4 |
17 |
67 |
1 |
| ntpleaps_sub |
|
5 |
19 |
90 |
1 |
| read_be_dword |
|
1 |
6 |
29 |
1 |
| ntpleaps_read |
|
10 |
57 |
396 |
1 |
| Source file: ./usr.sbin/bind/bin/dig/dighost.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mem_alloc |
|
1 |
3 |
21 |
2 |
| mem_free |
|
1 |
3 |
24 |
3 |
| next_token |
|
3 |
9 |
50 |
2 |
| count_dots |
|
3 |
11 |
48 |
1 |
| hex_dump |
|
4 |
13 |
87 |
1 |
| append |
|
2 |
7 |
54 |
4 |
| reverse_octets |
|
4 |
17 |
120 |
3 |
| get_reverse |
|
8 |
35 |
227 |
5 |
| fatal |
|
3 |
13 |
76 |
2 |
| debug |
|
2 |
9 |
48 |
2 |
| check_result |
|
2 |
5 |
32 |
2 |
| make_server |
|
2 |
14 |
103 |
3 |
| addr2af |
|
3 |
13 |
41 |
1 |
| copy_server_list |
|
2 |
15 |
121 |
2 |
| flush_server_list |
|
2 |
11 |
62 |
1 |
| set_nameserver |
|
5 |
24 |
152 |
1 |
| add_nameserver |
|
5 |
22 |
141 |
3 |
| clone_server_list |
|
2 |
12 |
81 |
2 |
| make_empty_lookup |
|
4 |
69 |
418 |
1 |
| clone_lookup |
|
5 |
55 |
425 |
2 |
| requeue_lookup |
|
2 |
15 |
100 |
2 |
| setup_text_key |
|
5 |
40 |
244 |
1 |
| setup_file_key |
|
10 |
48 |
206 |
1 |
| make_searchlist_entry |
|
2 |
10 |
63 |
1 |
| create_search_list |
|
2 |
10 |
63 |
1 |
| setup_system |
|
19 |
50 |
304 |
1 |
| clear_searchlist |
|
2 |
7 |
41 |
1 |
| set_search_domain |
|
1 |
6 |
32 |
1 |
| setup_libs |
|
5 |
35 |
250 |
1 |
| add_opt |
|
2 |
30 |
196 |
4 |
| add_question |
|
1 |
13 |
76 |
4 |
| check_if_done |
|
5 |
11 |
65 |
1 |
| clear_query |
|
6 |
28 |
191 |
1 |
| try_clear_lookup |
|
4 |
17 |
95 |
1 |
| destroy_lookup |
|
7 |
27 |
181 |
1 |
| start_lookup |
|
10 |
79 |
435 |
1 |
| check_next_lookup |
|
3 |
12 |
58 |
1 |
| followup_lookup |
|
25 |
114 |
709 |
3 |
| next_origin |
|
8 |
25 |
185 |
2 |
| insert_soa |
|
1 |
49 |
368 |
1 |
| setup_lookup |
|
54 |
264 |
1833 |
1 |
| send_done |
|
6 |
31 |
193 |
2 |
| cancel_lookup |
|
4 |
20 |
111 |
1 |
| bringup_timer |
|
4 |
23 |
136 |
2 |
| send_tcp_connect |
|
12 |
63 |
369 |
1 |
| send_udp |
|
5 |
57 |
383 |
1 |
| connect_timeout |
|
8 |
46 |
265 |
2 |
| tcp_length_done |
|
4 |
66 |
399 |
2 |
| launch_next_query |
|
5 |
46 |
319 |
2 |
| connect_done |
|
7 |
64 |
362 |
2 |
| check_for_more_data |
|
19 |
104 |
529 |
3 |
| recv_done |
|
111 |
394 |
2315 |
2 |
| get_address |
|
2 |
11 |
70 |
3 |
| do_lookup |
|
2 |
9 |
53 |
1 |
| onrun_callback |
|
1 |
7 |
31 |
2 |
| cancel_all |
|
7 |
36 |
177 |
1 |
| destroy_libs |
|
24 |
88 |
490 |
1 |
| initialize_idn |
|
3 |
11 |
59 |
1 |
| output_filter |
|
12 |
32 |
247 |
3 |
| append_textname |
|
5 |
13 |
98 |
3 |
| idn_check_result |
|
2 |
6 |
36 |
2 |
| print_type |
|
1 |
14 |
88 |
1 |
| dump_database_section |
|
3 |
16 |
102 |
2 |
| dump_database |
|
5 |
15 |
100 |
1 |
| search_type |
|
9 |
31 |
207 |
3 |
| chase_scanname_section |
|
4 |
17 |
100 |
5 |
| chase_scanname |
|
8 |
32 |
176 |
3 |
| sigchase_scanname |
|
6 |
43 |
275 |
4 |
| insert_trustedkey |
|
3 |
9 |
40 |
1 |
| clean_trustedkey |
|
3 |
13 |
69 |
0 |
| removetmpkey |
|
2 |
17 |
105 |
2 |
| opentmpkey |
|
11 |
59 |
348 |
4 |
| get_trusted_key |
|
11 |
56 |
306 |
1 |
| nameFromString |
|
2 |
18 |
131 |
2 |
| prepare_lookup |
|
9 |
104 |
704 |
1 |
| child_of_zone |
|
3 |
23 |
126 |
3 |
| grandfather_pb_test |
|
3 |
22 |
132 |
2 |
| initialization |
|
2 |
17 |
83 |
1 |
| print_rdataset |
|
1 |
13 |
90 |
3 |
| dup_name |
|
2 |
7 |
51 |
3 |
| free_name |
|
1 |
4 |
26 |
2 |
| contains_trusted_key |
|
9 |
47 |
253 |
4 |
| sigchase_verify_sig |
|
3 |
29 |
165 |
5 |
| sigchase_verify_sig_key |
|
4 |
35 |
214 |
5 |
| sigchase_verify_ds |
|
8 |
75 |
397 |
4 |
| advanced_rrsearch |
|
4 |
18 |
95 |
5 |
| sigchase_td |
|
42 |
302 |
1277 |
1 |
| getneededrr |
|
23 |
137 |
714 |
1 |
| sigchase_bu |
|
13 |
118 |
558 |
1 |
| sigchase |
|
4 |
8 |
30 |
1 |
| inf_name |
|
8 |
32 |
182 |
2 |
| prove_nx_domain |
|
10 |
65 |
342 |
5 |
| prove_nx_type |
|
3 |
28 |
151 |
8 |
| prove_nx |
|
4 |
37 |
184 |
7 |
| Source file: ./usr.sbin/rdate/rdate.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usage |
|
1 |
5 |
23 |
1 |
| main |
|
32 |
118 |
748 |
2 |
| Source file: ./usr.sbin/bgpd/log.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| log_init |
|
2 |
10 |
48 |
2 |
| log_procinit |
|
2 |
5 |
19 |
1 |
| log_setverbose |
|
1 |
4 |
11 |
1 |
| log_getverbose |
|
1 |
4 |
11 |
1 |
| logit |
|
1 |
7 |
38 |
3 |
| vlog |
|
3 |
17 |
99 |
3 |
| log_warn |
|
3 |
21 |
120 |
2 |
| log_warnx |
|
1 |
7 |
35 |
2 |
| log_info |
|
1 |
7 |
35 |
2 |
| log_debug |
|
2 |
9 |
41 |
2 |
| vfatalc |
|
3 |
17 |
106 |
3 |
| fatal |
|
1 |
8 |
40 |
2 |
| fatalx |
|
1 |
8 |
40 |
2 |
| Source file: ./usr.sbin/bgpd/timer.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| getmonotime |
|
2 |
7 |
34 |
1 |
| timer_get |
|
2 |
8 |
44 |
2 |
| timer_nextisdue |
|
4 |
8 |
54 |
1 |
| timer_nextduein |
|
3 |
7 |
58 |
1 |
| timer_running |
|
4 |
10 |
70 |
3 |
| timer_set |
|
7 |
21 |
166 |
3 |
| timer_stop |
|
2 |
9 |
63 |
2 |
| timer_remove |
|
2 |
8 |
50 |
2 |
| timer_remove_all |
|
2 |
8 |
49 |
1 |
| Source file: ./usr.sbin/bgpd/rde_decide.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| prefix_cmp |
|
32 |
78 |
710 |
2 |
| prefix_evaluate |
|
17 |
42 |
315 |
2 |
| Source file: ./usr.sbin/bgpd/config.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| new_config |
|
6 |
26 |
209 |
1 |
| free_networks |
|
2 |
9 |
53 |
1 |
| free_rdomains |
|
2 |
11 |
65 |
1 |
| free_config |
|
3 |
21 |
137 |
1 |
| merge_config |
|
14 |
74 |
580 |
3 |
| get_bgpid |
|
6 |
19 |
131 |
1 |
| host |
|
7 |
30 |
223 |
3 |
| host_v4 |
|
4 |
17 |
129 |
3 |
| host_v6 |
|
2 |
14 |
93 |
2 |
| prepare_listeners |
|
14 |
72 |
570 |
1 |
| get_mpe_label |
|
3 |
20 |
143 |
1 |
| Source file: ./usr.sbin/bgpd/logmsg.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| log_fmt_peer |
|
10 |
25 |
181 |
1 |
| log_peer_info |
|
2 |
13 |
87 |
3 |
| log_peer_warn |
|
4 |
19 |
128 |
3 |
| log_peer_warnx |
|
2 |
13 |
87 |
3 |
| log_statechange |
|
7 |
16 |
108 |
3 |
| log_notification |
|
15 |
61 |
331 |
6 |
| log_conn_attempt |
|
4 |
16 |
99 |
2 |
| Source file: ./usr.sbin/bgpd/control.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| control_init |
|
8 |
46 |
308 |
2 |
| control_listen |
|
3 |
8 |
42 |
1 |
| control_shutdown |
|
1 |
4 |
12 |
1 |
| control_cleanup |
|
2 |
5 |
18 |
1 |
| control_accept |
|
8 |
28 |
178 |
2 |
| control_connbyfd |
|
2 |
9 |
40 |
1 |
| control_connbypid |
|
2 |
9 |
40 |
1 |
| control_close |
|
2 |
14 |
82 |
1 |
| control_dispatch_msg |
|
91 |
288 |
1713 |
2 |
| control_imsg_relay |
|
5 |
12 |
121 |
1 |
| control_result |
|
1 |
5 |
41 |
2 |
| imsg_read_nofd |
|
3 |
14 |
98 |
1 |
| Source file: ./usr.sbin/bgpd/bgpd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sighdlr |
|
6 |
16 |
46 |
1 |
| usage |
|
1 |
7 |
25 |
1 |
| main |
|
60 |
221 |
1315 |
2 |
| start_child |
|
9 |
35 |
181 |
5 |
| send_filterset |
|
2 |
9 |
65 |
2 |
| reconfigure |
|
26 |
101 |
839 |
3 |
| dispatch_imsg |
|
54 |
157 |
819 |
3 |
| send_nexthop_update |
|
7 |
18 |
130 |
1 |
| send_imsg_session |
|
1 |
4 |
35 |
4 |
| send_network |
|
5 |
13 |
113 |
3 |
| bgpd_filternexthop |
|
17 |
20 |
137 |
2 |
| control_setup |
|
16 |
41 |
291 |
1 |
| set_pollfd |
|
4 |
11 |
68 |
2 |
| handle_pollfd |
|
9 |
28 |
172 |
2 |
| imsg_send_sockets |
|
7 |
24 |
207 |
2 |
| Source file: ./usr.sbin/bgpd/name2id.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rtlabel_name2id |
|
1 |
4 |
20 |
1 |
| rtlabel_id2name |
|
1 |
4 |
18 |
1 |
| rtlabel_unref |
|
1 |
4 |
15 |
1 |
| rtlabel_ref |
|
1 |
4 |
15 |
1 |
| pftable_name2id |
|
1 |
4 |
20 |
1 |
| pftable_id2name |
|
1 |
4 |
18 |
1 |
| pftable_unref |
|
1 |
4 |
15 |
1 |
| pftable_ref |
|
1 |
4 |
15 |
1 |
| _name2id |
|
10 |
35 |
238 |
2 |
| _id2name |
|
3 |
10 |
56 |
2 |
| _unref |
|
5 |
17 |
100 |
2 |
| _ref |
|
3 |
11 |
50 |
2 |
| Source file: ./usr.sbin/installboot/i386_installboot.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| md_init |
|
1 |
7 |
22 |
1 |
| md_loadboot |
|
4 |
9 |
63 |
1 |
| md_installboot |
|
11 |
28 |
199 |
2 |
| write_bootblocks |
|
11 |
36 |
266 |
3 |
| write_efisystem |
|
31 |
133 |
893 |
2 |
| findopenbsd |
|
21 |
59 |
394 |
2 |
| gpt_chk_mbr |
|
9 |
23 |
137 |
2 |
| findgptefisys |
|
21 |
79 |
643 |
2 |
| loadproto |
|
9 |
34 |
287 |
2 |
| devread |
|
2 |
5 |
54 |
5 |
| getbootparams |
|
19 |
90 |
785 |
3 |
| sym_set_value |
|
4 |
12 |
82 |
3 |
| pbr_set_symbols |
|
11 |
48 |
313 |
3 |
| Source file: ./usr.sbin/bgpd/carp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| carp_group_find |
|
2 |
8 |
44 |
1 |
| carp_demote_init |
|
7 |
25 |
162 |
2 |
| carp_demote_shutdown |
|
4 |
11 |
73 |
1 |
| carp_demote_get |
|
4 |
21 |
140 |
1 |
| carp_demote_set |
|
7 |
18 |
118 |
2 |
| carp_demote_ioctl |
|
5 |
21 |
156 |
2 |
| Source file: ./usr.sbin/bgpd/rde.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| re_rib |
|
1 |
4 |
26 |
1 |
| Source file: ./usr.sbin/bgpd/pftable.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pftable_change |
|
6 |
22 |
168 |
1 |
| pftable_clear |
|
3 |
14 |
104 |
1 |
| pftable_exists |
|
3 |
16 |
123 |
1 |
| pftable_add |
|
4 |
19 |
140 |
1 |
| pftable_clear_all |
|
2 |
13 |
73 |
1 |
| pftable_add_work |
|
13 |
43 |
325 |
4 |
| pftable_addr_add |
|
1 |
4 |
30 |
1 |
| pftable_addr_remove |
|
1 |
4 |
30 |
1 |
| pftable_commit |
|
3 |
14 |
81 |
1 |
| Source file: ./usr.sbin/bgpd/mrt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mrt_dump_bgp_msg |
|
6 |
20 |
129 |
4 |
| mrt_dump_state |
|
3 |
17 |
105 |
4 |
| mrt_attr_dump |
|
26 |
88 |
634 |
4 |
| mrt_dump_entry_mp |
|
15 |
96 |
632 |
4 |
| mrt_dump_entry |
|
14 |
71 |
488 |
4 |
| mrt_dump_entry_v2 |
|
12 |
86 |
578 |
3 |
| mrt_dump_v2_hdr |
|
7 |
46 |
308 |
3 |
| mrt_dump_peer |
|
8 |
35 |
191 |
2 |
| mrt_dump_upcall |
|
3 |
17 |
107 |
2 |
| mrt_done |
|
1 |
5 |
21 |
1 |
| mrt_dump_hdr_se |
|
24 |
91 |
551 |
6 |
| mrt_dump_hdr_rde |
|
7 |
39 |
173 |
4 |
| mrt_write |
|
3 |
9 |
49 |
1 |
| mrt_clean |
|
2 |
10 |
68 |
1 |
| mrt_init |
|
1 |
5 |
28 |
2 |
| mrt_open |
|
5 |
24 |
178 |
2 |
| mrt_timeout |
|
6 |
20 |
129 |
1 |
| mrt_reconfigure |
|
8 |
27 |
182 |
1 |
| mrt_handler |
|
7 |
18 |
103 |
1 |
| mrt_get |
|
5 |
14 |
84 |
2 |
| mrt_mergeconfig |
|
6 |
29 |
223 |
2 |
| Source file: ./usr.sbin/bgpd/pfkey.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pfkey_send |
|
43 |
298 |
2124 |
15 |
| pfkey_read |
|
10 |
23 |
155 |
2 |
| pfkey_reply |
|
11 |
53 |
326 |
2 |
| pfkey_sa_add |
|
5 |
15 |
151 |
5 |
| pfkey_sa_remove |
|
3 |
10 |
89 |
3 |
| pfkey_md5sig_establish |
|
5 |
16 |
147 |
1 |
| pfkey_md5sig_remove |
|
5 |
13 |
108 |
1 |
| pfkey_ipsec_establish |
|
18 |
68 |
531 |
1 |
| pfkey_ipsec_remove |
|
18 |
56 |
457 |
1 |
| pfkey_establish |
|
3 |
14 |
119 |
1 |
| pfkey_remove |
|
3 |
9 |
51 |
1 |
| pfkey_init |
|
3 |
13 |
69 |
1 |
| Source file: ./usr.sbin/bgpd/rde_rib.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| re_lock |
|
1 |
4 |
29 |
1 |
| re_unlock |
|
1 |
4 |
29 |
1 |
| re_is_locked |
|
1 |
4 |
21 |
1 |
| rib_tree |
|
1 |
4 |
17 |
1 |
| rib_new |
|
6 |
29 |
247 |
3 |
| rib_find |
|
5 |
11 |
79 |
1 |
| rib_desc |
|
1 |
4 |
20 |
1 |
| rib_free |
|
5 |
25 |
185 |
1 |
| rib_compare |
|
1 |
4 |
30 |
2 |
| rib_get |
|
1 |
9 |
68 |
3 |
| rib_lookup |
|
8 |
25 |
129 |
2 |
| rib_add |
|
4 |
21 |
143 |
3 |
| rib_remove |
|
5 |
14 |
88 |
1 |
| rib_empty |
|
1 |
4 |
18 |
1 |
| rib_dump |
|
2 |
12 |
88 |
4 |
| rib_dump_r |
|
9 |
25 |
157 |
1 |
| rib_restart |
|
4 |
12 |
72 |
1 |
| path_init |
|
4 |
13 |
99 |
1 |
| path_shutdown |
|
3 |
8 |
50 |
1 |
| path_update |
|
6 |
25 |
178 |
5 |
| path_compare |
|
18 |
40 |
315 |
2 |
| path_lookup |
|
3 |
11 |
70 |
2 |
| path_remove |
|
3 |
14 |
95 |
1 |
| path_remove_stale |
|
7 |
25 |
168 |
2 |
| path_destroy |
|
3 |
12 |
70 |
1 |
| path_empty |
|
1 |
4 |
18 |
1 |
| path_link |
|
1 |
10 |
66 |
2 |
| path_copy |
|
2 |
22 |
142 |
1 |
| path_get |
|
2 |
12 |
65 |
1 |
| path_put |
|
3 |
13 |
66 |
1 |
| prefix_get |
|
2 |
9 |
64 |
5 |
| prefix_add |
|
4 |
21 |
138 |
4 |
| prefix_move |
|
3 |
25 |
169 |
2 |
| prefix_remove |
|
4 |
20 |
125 |
5 |
| prefix_write |
|
6 |
29 |
234 |
4 |
| prefix_writebuf |
|
6 |
22 |
130 |
3 |
| prefix_bypeer |
|
4 |
14 |
85 |
3 |
| prefix_updateall |
|
7 |
19 |
138 |
3 |
| prefix_destroy |
|
2 |
9 |
42 |
1 |
| prefix_network_clean |
|
6 |
19 |
139 |
3 |
| prefix_link |
|
1 |
11 |
81 |
3 |
| prefix_unlink |
|
3 |
16 |
102 |
1 |
| prefix_alloc |
|
2 |
9 |
43 |
1 |
| prefix_free |
|
1 |
5 |
19 |
1 |
| nexthop_init |
|
4 |
13 |
99 |
1 |
| nexthop_shutdown |
|
4 |
16 |
108 |
1 |
| nexthop_update |
|
6 |
34 |
205 |
1 |
| nexthop_modify |
|
10 |
32 |
144 |
4 |
| nexthop_link |
|
2 |
6 |
33 |
1 |
| nexthop_unlink |
|
2 |
10 |
51 |
1 |
| nexthop_delete |
|
4 |
12 |
76 |
1 |
| nexthop_get |
|
3 |
18 |
106 |
1 |
| nexthop_compare |
|
9 |
27 |
196 |
2 |
| nexthop_lookup |
|
2 |
10 |
57 |
1 |
| nexthop_hash |
|
3 |
17 |
97 |
1 |
| Source file: ./usr.sbin/bgpd/rde_filter.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rde_apply_set |
|
76 |
278 |
1422 |
5 |
| rde_filter_match |
|
61 |
159 |
1062 |
6 |
| rde_filter_equal |
|
42 |
57 |
511 |
3 |
| filterlist_free |
|
3 |
12 |
64 |
1 |
| filterset_free |
|
7 |
21 |
131 |
1 |
| filterset_cmp |
|
13 |
34 |
316 |
2 |
| filterset_move |
|
3 |
11 |
65 |
2 |
| filterset_equal |
|
54 |
106 |
629 |
2 |
| filterset_name |
|
25 |
45 |
166 |
1 |
| rde_filter_calc_skip_steps |
|
8 |
23 |
161 |
1 |
| rde_filter |
|
14 |
45 |
307 |
7 |
| Source file: ./usr.sbin/bgpd/util.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| log_addr |
|
6 |
21 |
137 |
1 |
| log_in6addr |
|
3 |
17 |
146 |
1 |
| log_sockaddr |
|
2 |
9 |
51 |
1 |
| log_as |
|
2 |
7 |
43 |
1 |
| log_rd |
|
4 |
29 |
181 |
1 |
| log_ext_subtype |
|
4 |
11 |
80 |
2 |
| log_shutcomm |
|
1 |
5 |
43 |
1 |
| aspath_delim |
|
9 |
29 |
129 |
2 |
| aspath_snprint |
|
6 |
32 |
220 |
4 |
| aspath_asprint |
|
3 |
16 |
98 |
3 |
| aspath_strlen |
|
9 |
33 |
183 |
2 |
| aspath_match |
|
14 |
44 |
298 |
4 |
| as_compare |
|
12 |
13 |
101 |
5 |
| aspath_extract |
|
1 |
8 |
54 |
2 |
| prefix_compare |
|
20 |
58 |
500 |
3 |
| prefixlen2mask |
|
2 |
6 |
30 |
1 |
| inet6applymask |
|
4 |
13 |
118 |
3 |
| aid2str |
|
2 |
6 |
28 |
1 |
| aid2afi |
|
2 |
9 |
54 |
3 |
| afi2aid |
|
4 |
10 |
68 |
3 |
| aid2af |
|
2 |
6 |
28 |
1 |
| af2aid |
|
5 |
12 |
78 |
3 |
| addr2sa |
|
4 |
26 |
186 |
2 |
| sa2addr |
|
3 |
17 |
127 |
2 |
| Source file: ./usr.sbin/bgpd/mrt.h |
| Source file: ./usr.sbin/bgpd/session.h |
| Source file: ./usr.sbin/bgpd/rde_prefix.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pt_init |
|
1 |
4 |
12 |
1 |
| pt_shutdown |
|
2 |
5 |
20 |
1 |
| pt_getaddr |
|
4 |
24 |
182 |
2 |
| pt_fill |
|
7 |
43 |
305 |
2 |
| pt_get |
|
1 |
6 |
37 |
2 |
| pt_add |
|
2 |
9 |
59 |
2 |
| pt_remove |
|
3 |
8 |
46 |
1 |
| pt_lookup |
|
6 |
22 |
90 |
1 |
| pt_prefix_cmp |
|
20 |
57 |
464 |
2 |
| pt_alloc |
|
2 |
10 |
66 |
1 |
| pt_free |
|
1 |
5 |
24 |
1 |
| Source file: ./usr.sbin/bgpd/session.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| session_sighdlr |
|
3 |
9 |
25 |
1 |
| setup_listeners |
|
10 |
46 |
284 |
1 |
| session_main |
|
85 |
336 |
2204 |
2 |
| init_conf |
|
3 |
7 |
35 |
1 |
| init_peer |
|
5 |
18 |
141 |
1 |
| bgp_fsm |
|
50 |
216 |
1008 |
2 |
| start_timer_holdtime |
|
2 |
7 |
36 |
1 |
| start_timer_keepalive |
|
2 |
7 |
38 |
1 |
| session_close_connection |
|
2 |
8 |
44 |
1 |
| change_state |
|
33 |
91 |
612 |
3 |
| session_accept |
|
26 |
76 |
447 |
1 |
| session_connect |
|
14 |
57 |
416 |
1 |
| session_setup_socket |
|
20 |
77 |
474 |
1 |
| session_tcp_established |
|
3 |
12 |
90 |
1 |
| session_capa_ann_none |
|
1 |
4 |
28 |
1 |
| session_capa_add |
|
1 |
7 |
55 |
3 |
| session_capa_add_mp |
|
2 |
13 |
105 |
2 |
| session_capa_add_gr |
|
3 |
19 |
138 |
3 |
| session_newmsg |
|
4 |
23 |
193 |
2 |
| session_sendmsg |
|
12 |
22 |
200 |
2 |
| session_open |
|
22 |
103 |
785 |
1 |
| session_keepalive |
|
3 |
11 |
62 |
1 |
| session_update |
|
6 |
27 |
157 |
3 |
| session_notification |
|
6 |
31 |
211 |
5 |
| session_neighbor_rrefresh |
|
4 |
11 |
71 |
1 |
| session_rrefresh |
|
5 |
28 |
194 |
2 |
| session_graceful_restart |
|
6 |
24 |
203 |
1 |
| session_graceful_stop |
|
4 |
15 |
119 |
1 |
| session_dispatch_msg |
|
28 |
80 |
546 |
2 |
| session_process_msg |
|
22 |
71 |
430 |
1 |
| parse_header |
|
14 |
89 |
556 |
4 |
| parse_open |
|
23 |
152 |
1003 |
1 |
| parse_update |
|
2 |
16 |
102 |
1 |
| parse_refresh |
|
3 |
22 |
149 |
1 |
| parse_notification |
|
20 |
120 |
656 |
1 |
| parse_capabilities |
|
20 |
135 |
801 |
4 |
| capa_neg_calc |
|
13 |
41 |
409 |
1 |
| session_dispatch_imsg |
|
107 |
388 |
2303 |
3 |
| la_cmp |
|
8 |
29 |
204 |
2 |
| getpeerbyaddr |
|
3 |
9 |
57 |
1 |
| getpeerbydesc |
|
5 |
17 |
94 |
1 |
| getpeerbyip |
|
16 |
42 |
320 |
1 |
| session_template_clone |
|
6 |
27 |
199 |
4 |
| session_match_mask |
|
5 |
18 |
140 |
2 |
| getpeerbyid |
|
3 |
8 |
42 |
1 |
| session_down |
|
2 |
8 |
71 |
1 |
| session_up |
|
3 |
16 |
174 |
1 |
| imsg_ctl_parent |
|
1 |
5 |
41 |
5 |
| imsg_ctl_rde |
|
1 |
4 |
38 |
4 |
| session_demote |
|
2 |
11 |
84 |
2 |
| session_stop |
|
9 |
28 |
147 |
2 |
| session_link_state_is_up |
|
4 |
9 |
48 |
3 |
| Source file: ./usr.sbin/bgpd/rde.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rde_sighdlr |
|
3 |
9 |
25 |
1 |
| rde_main |
|
38 |
149 |
1029 |
2 |
| rde_dispatch_imsg_session |
|
69 |
283 |
1652 |
1 |
| rde_dispatch_imsg_parent |
|
59 |
230 |
1354 |
1 |
| rde_update_dispatch |
|
62 |
351 |
2049 |
1 |
| rde_update_update |
|
8 |
30 |
226 |
4 |
| rde_update_withdraw |
|
5 |
16 |
118 |
3 |
| rde_attr_parse |
|
81 |
270 |
1550 |
5 |
| rde_attr_add |
|
7 |
28 |
183 |
3 |
| rde_attr_missing |
|
10 |
17 |
130 |
3 |
| rde_get_mp_nexthop |
|
8 |
41 |
231 |
4 |
| rde_update_extract_prefix |
|
5 |
23 |
141 |
5 |
| rde_update_get_prefix |
|
3 |
17 |
112 |
4 |
| rde_update_get_prefix6 |
|
3 |
17 |
112 |
4 |
| rde_update_get_vpn4 |
|
10 |
42 |
346 |
4 |
| rde_update_err |
|
5 |
14 |
139 |
5 |
| rde_update_log |
|
8 |
23 |
190 |
6 |
| rde_as4byte_fixup |
|
14 |
42 |
250 |
2 |
| rde_reflector |
|
15 |
48 |
382 |
2 |
| rde_dump_rib_as |
|
19 |
74 |
629 |
4 |
| rde_dump_filterout |
|
5 |
20 |
141 |
3 |
| rde_dump_filter |
|
19 |
35 |
290 |
2 |
| rde_dump_upcall |
|
1 |
7 |
46 |
2 |
| rde_dump_prefix_upcall |
|
4 |
16 |
121 |
2 |
| rde_dump_ctx_new |
|
16 |
74 |
437 |
3 |
| rde_dump_ctx_throttle |
|
2 |
10 |
46 |
2 |
| rde_dump_runner |
|
3 |
9 |
58 |
1 |
| rde_dump_pending |
|
2 |
8 |
37 |
1 |
| rde_dump_done |
|
1 |
8 |
49 |
1 |
| rde_dump_rib_free |
|
3 |
9 |
61 |
1 |
| rde_dump_mrt_new |
|
4 |
30 |
231 |
3 |
| rde_dump_mrt_free |
|
3 |
9 |
64 |
1 |
| rde_rib_free |
|
1 |
6 |
33 |
1 |
| rde_rdomain_import |
|
2 |
9 |
58 |
2 |
| rde_send_kroute |
|
16 |
54 |
402 |
3 |
| rde_generate_updates |
|
6 |
15 |
90 |
3 |
| rde_up_dump_upcall |
|
3 |
9 |
59 |
2 |
| rde_update_queue_runner |
|
11 |
51 |
274 |
1 |
| rde_update6_queue_runner |
|
14 |
54 |
313 |
1 |
| rde_send_pftable |
|
5 |
17 |
129 |
4 |
| rde_send_pftable_commit |
|
3 |
8 |
44 |
1 |
| rde_send_nexthop |
|
3 |
11 |
64 |
2 |
| rde_reload_done |
|
20 |
101 |
645 |
1 |
| rde_softreconfig_in |
|
14 |
42 |
335 |
2 |
| rde_softreconfig_out |
|
15 |
35 |
301 |
2 |
| rde_softreconfig_unload_peer |
|
5 |
22 |
153 |
2 |
| rde_local_as |
|
1 |
4 |
13 |
1 |
| rde_noevaluate |
|
2 |
6 |
24 |
1 |
| rde_decisionflags |
|
1 |
4 |
15 |
1 |
| rde_as4byte |
|
1 |
4 |
18 |
1 |
| peer_init |
|
5 |
20 |
152 |
1 |
| peer_shutdown |
|
3 |
8 |
50 |
1 |
| peer_get |
|
2 |
11 |
54 |
1 |
| peer_add |
|
4 |
24 |
178 |
2 |
| peer_localaddrs |
|
15 |
42 |
290 |
2 |
| peer_up |
|
10 |
38 |
265 |
2 |
| peer_down |
|
3 |
23 |
134 |
1 |
| peer_flush |
|
3 |
16 |
101 |
2 |
| peer_stale |
|
4 |
16 |
90 |
2 |
| peer_dump |
|
4 |
15 |
89 |
2 |
| peer_recv_eor |
|
2 |
9 |
72 |
2 |
| peer_send_eor |
|
5 |
35 |
264 |
2 |
| network_add |
|
10 |
65 |
456 |
2 |
| network_delete |
|
7 |
41 |
290 |
2 |
| network_dump_upcall |
|
6 |
28 |
230 |
2 |
| rde_shutdown |
|
5 |
20 |
125 |
1 |
| sa_cmp |
|
8 |
29 |
189 |
2 |
| Source file: ./usr.sbin/bgpd/log.h |
| Source file: ./usr.sbin/bgpd/bgpd.h |
| Source file: ./usr.sbin/bgpd/rde_update.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| up_init |
|
2 |
15 |
99 |
1 |
| up_clear |
|
4 |
19 |
131 |
2 |
| up_down |
|
2 |
12 |
84 |
1 |
| up_prefix_cmp |
|
20 |
50 |
455 |
2 |
| up_attr_cmp |
|
5 |
13 |
126 |
2 |
| up_add |
|
8 |
58 |
391 |
3 |
| up_test_update |
|
25 |
52 |
358 |
2 |
| up_generate |
|
7 |
30 |
218 |
4 |
| up_generate_updates |
|
11 |
38 |
251 |
4 |
| up_generate_default |
|
4 |
25 |
162 |
3 |
| up_generate_marker |
|
4 |
26 |
178 |
2 |
| up_get_nexthop |
|
11 |
33 |
279 |
2 |
| up_generate_mp_reach |
|
29 |
111 |
943 |
4 |
| up_generate_attr |
|
51 |
175 |
1287 |
4 |
| up_dump_prefix |
|
6 |
28 |
187 |
4 |
| up_dump_attrnlri |
|
9 |
42 |
314 |
3 |
| up_dump_mp_unreach |
|
6 |
43 |
320 |
4 |
| up_dump_mp_reach |
|
14 |
70 |
512 |
4 |
| Source file: ./usr.sbin/hotplugd/hotplugd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
13 |
67 |
419 |
2 |
| exec_script |
|
5 |
20 |
138 |
3 |
| sigchild |
|
7 |
30 |
150 |
1 |
| sigquit |
|
1 |
4 |
11 |
1 |
| usage |
|
1 |
6 |
25 |
1 |
| Source file: ./usr.sbin/bgpd/printconf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| print_op |
|
9 |
32 |
103 |
1 |
| print_community |
|
7 |
19 |
100 |
2 |
| print_largecommunity |
|
10 |
27 |
142 |
3 |
| print_extcommunity |
|
10 |
37 |
196 |
1 |
| print_origin |
|
4 |
11 |
50 |
1 |
| print_set |
|
26 |
99 |
495 |
1 |
| print_mainconf |
|
13 |
35 |
255 |
1 |
| print_rdomain_targets |
|
1 |
9 |
51 |
2 |
| print_rdomain |
|
3 |
18 |
125 |
1 |
| print_af |
|
3 |
8 |
37 |
1 |
| print_network |
|
5 |
23 |
144 |
2 |
| print_peer |
|
44 |
112 |
891 |
3 |
| print_auth_alg |
|
3 |
11 |
36 |
1 |
| print_enc_alg |
|
3 |
11 |
36 |
1 |
| print_announce |
|
3 |
7 |
53 |
2 |
| print_as |
|
4 |
19 |
136 |
1 |
| print_rule |
|
34 |
99 |
754 |
2 |
| mrt_type |
|
9 |
22 |
64 |
1 |
| print_mrt |
|
8 |
20 |
155 |
5 |
| print_groups |
|
9 |
36 |
254 |
2 |
| peer_compare |
|
1 |
8 |
55 |
2 |
| print_config |
|
4 |
35 |
229 |
7 |
| Source file: ./usr.sbin/rmt/rmt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
42 |
179 |
1124 |
2 |
| getstring |
|
4 |
10 |
66 |
2 |
| checkbuf |
|
6 |
17 |
97 |
2 |
| error |
|
1 |
6 |
56 |
1 |
| usage |
|
1 |
7 |
28 |
1 |
| Source file: ./usr.sbin/dvmrpctl/dvmrpctl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usage |
|
1 |
6 |
25 |
1 |
| main |
|
50 |
144 |
895 |
2 |
| show_summary_msg |
|
3 |
17 |
78 |
1 |
| show_interface_msg |
|
6 |
27 |
165 |
1 |
| show_interface_detail_msg |
|
7 |
45 |
267 |
1 |
| show_igmp_msg |
|
7 |
35 |
202 |
1 |
| print_if_type |
|
3 |
11 |
37 |
1 |
| print_nbr_state |
|
4 |
13 |
44 |
1 |
| print_link |
|
2 |
7 |
24 |
1 |
| fmt_timeframe |
|
2 |
7 |
32 |
1 |
| fmt_timeframe_core |
|
5 |
29 |
179 |
1 |
| mask2prefixlen |
|
2 |
7 |
32 |
1 |
| show_nbr_msg |
|
3 |
20 |
106 |
1 |
| print_dvmrp_options |
|
7 |
12 |
79 |
1 |
| show_nbr_detail_msg |
|
3 |
15 |
57 |
1 |
| show_rib_msg |
|
6 |
26 |
145 |
1 |
| show_rib_detail_msg |
|
3 |
13 |
46 |
1 |
| show_mfc_msg |
|
9 |
38 |
238 |
1 |
| show_mfc_detail_msg |
|
3 |
13 |
46 |
1 |
| get_linkstate |
|
3 |
11 |
77 |
2 |
| Source file: ./usr.sbin/dvmrpctl/parser.h |
| Source file: ./usr.sbin/map-mbone/mapper.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| find_node |
|
4 |
18 |
125 |
2 |
| find_interface |
|
3 |
13 |
87 |
2 |
| find_neighbor |
|
4 |
11 |
69 |
2 |
| logit |
|
11 |
26 |
174 |
4 |
| ask |
|
1 |
5 |
25 |
1 |
| ask2 |
|
1 |
5 |
25 |
1 |
| accept_group_report |
|
1 |
6 |
39 |
4 |
| accept_probe |
|
1 |
6 |
43 |
5 |
| accept_report |
|
1 |
6 |
43 |
5 |
| accept_neighbor_request |
|
2 |
7 |
39 |
2 |
| accept_neighbor_request2 |
|
2 |
7 |
39 |
2 |
| accept_neighbors |
|
32 |
126 |
827 |
5 |
| accept_neighbors2 |
|
32 |
115 |
767 |
5 |
| check_vif_state |
|
1 |
4 |
15 |
1 |
| retry_requests |
|
6 |
17 |
86 |
1 |
| inet_name |
|
2 |
6 |
40 |
1 |
| print_map |
|
22 |
61 |
433 |
1 |
| graph_name |
|
2 |
9 |
51 |
3 |
| graph_edges |
|
16 |
40 |
312 |
1 |
| elide_aliases |
|
6 |
18 |
118 |
1 |
| graph_map |
|
1 |
11 |
53 |
1 |
| host_addr |
|
3 |
13 |
66 |
1 |
| usage |
|
1 |
12 |
54 |
1 |
| main |
|
31 |
121 |
684 |
2 |
| accept_prune |
|
1 |
3 |
17 |
4 |
| accept_graft |
|
1 |
3 |
17 |
4 |
| accept_g_ack |
|
1 |
3 |
17 |
4 |
| add_table_entry |
|
1 |
3 |
10 |
2 |
| accept_leave_message |
|
1 |
3 |
13 |
3 |
| accept_mtrace |
|
1 |
4 |
23 |
6 |
| accept_membership_query |
|
1 |
4 |
16 |
4 |
| accept_info_request |
|
1 |
3 |
17 |
4 |
| accept_info_reply |
|
1 |
3 |
17 |
4 |
| Source file: ./usr.sbin/dvmrpd/ask_nbrs2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| send_ask_nbrs2 |
|
4 |
27 |
206 |
4 |
| recv_ask_nbrs2 |
|
1 |
5 |
30 |
3 |
| Source file: ./usr.sbin/bgpd/rde_attr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| attr_write |
|
5 |
26 |
154 |
6 |
| attr_writebuf |
|
5 |
20 |
144 |
5 |
| attr_init |
|
4 |
13 |
99 |
1 |
| attr_shutdown |
|
3 |
8 |
50 |
1 |
| attr_optadd |
|
11 |
40 |
295 |
5 |
| attr_optget |
|
5 |
13 |
89 |
2 |
| attr_copy |
|
6 |
20 |
144 |
2 |
| attr_diff |
|
11 |
27 |
183 |
2 |
| attr_compare |
|
10 |
18 |
173 |
2 |
| attr_free |
|
4 |
12 |
100 |
2 |
| attr_freeall |
|
2 |
9 |
56 |
1 |
| attr_alloc |
|
4 |
29 |
228 |
4 |
| attr_lookup |
|
6 |
22 |
173 |
4 |
| attr_put |
|
4 |
15 |
78 |
1 |
| aspath_verify |
|
15 |
32 |
203 |
3 |
| aspath_init |
|
4 |
13 |
99 |
1 |
| aspath_shutdown |
|
3 |
8 |
50 |
1 |
| aspath_get |
|
3 |
23 |
148 |
2 |
| aspath_put |
|
3 |
13 |
62 |
1 |
| aspath_inflate |
|
6 |
30 |
208 |
3 |
| aspath_deflate |
|
7 |
39 |
265 |
3 |
| aspath_merge |
|
7 |
28 |
239 |
2 |
| aspath_dump |
|
1 |
4 |
16 |
1 |
| aspath_length |
|
1 |
4 |
16 |
1 |
| aspath_count |
|
4 |
20 |
108 |
2 |
| aspath_countlength |
|
9 |
28 |
178 |
3 |
| aspath_countcopy |
|
8 |
34 |
203 |
5 |
| aspath_neighbor |
|
2 |
6 |
36 |
1 |
| aspath_loopfree |
|
5 |
18 |
119 |
2 |
| aspath_compare |
|
5 |
14 |
93 |
2 |
| aspath_lookup |
|
3 |
13 |
85 |
2 |
| aspath_prepend |
|
14 |
57 |
402 |
4 |
| aspath_lenmatch |
|
7 |
29 |
180 |
3 |
| community_match |
|
7 |
22 |
148 |
3 |
| community_set |
|
10 |
34 |
275 |
3 |
| community_delete |
|
15 |
50 |
352 |
3 |
| community_ext_match |
|
4 |
19 |
121 |
3 |
| community_ext_set |
|
8 |
35 |
263 |
3 |
| community_ext_delete |
|
10 |
38 |
269 |
3 |
| community_ext_conv |
|
5 |
34 |
236 |
3 |
| community_ext_matchone |
|
19 |
68 |
469 |
3 |
| community_large_match |
|
9 |
25 |
169 |
4 |
| community_large_set |
|
9 |
36 |
266 |
4 |
| community_large_delete |
|
19 |
50 |
361 |
4 |
| community_ext_delete_non_trans |
|
7 |
24 |
174 |
3 |
| Source file: ./usr.sbin/dvmrpd/nbrs2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| send_nbrs2 |
|
4 |
27 |
206 |
4 |
| recv_nbrs2 |
|
1 |
5 |
30 |
3 |
| Source file: ./usr.sbin/dvmrpctl/parser.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| parse |
|
6 |
24 |
150 |
2 |
| match_token |
|
29 |
74 |
448 |
3 |
| show_valid_args |
|
9 |
25 |
117 |
1 |
| parse_addr |
|
3 |
13 |
83 |
2 |
| parse_prefix |
|
4 |
21 |
155 |
3 |
| Source file: ./usr.sbin/dvmrpd/dvmrp.h |
| Source file: ./usr.sbin/dvmrpd/graft.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| send_graft |
|
4 |
27 |
206 |
4 |
| recv_graft |
|
1 |
5 |
30 |
3 |
| Source file: ./usr.sbin/dvmrpd/log.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| log_init |
|
2 |
8 |
36 |
1 |
| log_verbose |
|
1 |
4 |
11 |
1 |
| logit |
|
1 |
7 |
38 |
3 |
| vlog |
|
3 |
15 |
90 |
3 |
| log_warn |
|
3 |
18 |
111 |
2 |
| log_warnx |
|
1 |
7 |
35 |
2 |
| log_info |
|
1 |
7 |
35 |
2 |
| log_debug |
|
2 |
9 |
41 |
2 |
| fatal |
|
4 |
17 |
79 |
1 |
| fatalx |
|
1 |
5 |
18 |
1 |
| Source file: ./usr.sbin/dvmrpd/group.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| group_fsm |
|
19 |
76 |
471 |
2 |
| dead_timer |
|
1 |
6 |
40 |
3 |
| start_dead_timer |
|
1 |
9 |
71 |
1 |
| start_dead_timer_all |
|
2 |
14 |
92 |
1 |
| stop_dead_timer |
|
1 |
5 |
32 |
1 |
| v1_host_timer |
|
1 |
6 |
40 |
3 |
| start_v1_host_timer |
|
1 |
9 |
71 |
1 |
| stop_v1_host_timer |
|
1 |
5 |
32 |
1 |
| retrans_timer |
|
2 |
12 |
83 |
3 |
| start_retrans_timer |
|
1 |
8 |
55 |
1 |
| stop_retrans_timer |
|
1 |
5 |
32 |
1 |
| group_list_add |
|
4 |
25 |
193 |
2 |
| group_list_remove |
|
1 |
11 |
67 |
2 |
| group_list_find |
|
3 |
11 |
68 |
2 |
| group_list_clr |
|
2 |
9 |
55 |
1 |
| group_list_empty |
|
1 |
4 |
20 |
1 |
| group_list_dump |
|
1 |
10 |
69 |
2 |
| group_event_name |
|
1 |
4 |
15 |
1 |
| group_action_name |
|
1 |
4 |
15 |
1 |
| group_to_ctl |
|
3 |
18 |
135 |
1 |
| Source file: ./usr.sbin/dvmrpd/probe.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| send_probe |
|
5 |
31 |
241 |
1 |
| recv_probe |
|
10 |
42 |
266 |
6 |
| Source file: ./usr.sbin/dvmrpd/dvmrpe.h |
| Source file: ./usr.sbin/dvmrpd/logmsg.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| nbr_state_name |
|
4 |
13 |
44 |
1 |
| if_state_name |
|
4 |
13 |
44 |
1 |
| group_state_name |
|
5 |
15 |
52 |
1 |
| if_type_name |
|
3 |
10 |
35 |
1 |
| Source file: ./usr.sbin/dvmrpd/control.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| control_init |
|
6 |
36 |
245 |
1 |
| control_listen |
|
2 |
12 |
78 |
1 |
| control_cleanup |
|
1 |
6 |
27 |
1 |
| control_accept |
|
9 |
34 |
268 |
3 |
| control_connbyfd |
|
2 |
9 |
42 |
1 |
| control_connbypid |
|
2 |
9 |
42 |
1 |
| control_close |
|
3 |
17 |
116 |
1 |
| control_dispatch_imsg |
|
25 |
85 |
544 |
3 |
| control_imsg_relay |
|
2 |
8 |
76 |
1 |
| Source file: ./usr.sbin/dvmrpd/dvmrpd.h |
| Source file: ./usr.sbin/dvmrpd/rde.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rde_sig_handler |
|
3 |
10 |
37 |
3 |
| rde |
|
11 |
59 |
448 |
4 |
| rde_shutdown |
|
1 |
18 |
100 |
1 |
| rde_imsg_compose_parent |
|
1 |
4 |
38 |
4 |
| rde_imsg_compose_dvmrpe |
|
1 |
6 |
41 |
5 |
| rde_dispatch_imsg |
|
39 |
125 |
841 |
3 |
| rde_select_ds_ifs |
|
5 |
17 |
110 |
2 |
| rde_group_list_add |
|
4 |
20 |
125 |
2 |
| rde_group_list_find |
|
3 |
15 |
90 |
2 |
| rde_group_list_remove |
|
5 |
20 |
134 |
2 |
| Source file: ./usr.sbin/dvmrpd/dvmrpd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main_sig_handler |
|
4 |
12 |
42 |
3 |
| usage |
|
1 |
6 |
25 |
1 |
| main |
|
25 |
126 |
862 |
2 |
| dvmrpd_shutdown |
|
9 |
32 |
199 |
1 |
| main_dispatch_dvmrpe |
|
17 |
52 |
278 |
3 |
| main_dispatch_rde |
|
17 |
52 |
326 |
3 |
| main_imsg_compose_dvmrpe |
|
1 |
4 |
35 |
4 |
| main_imsg_compose_rde |
|
1 |
4 |
35 |
4 |
| imsg_event_add |
|
2 |
9 |
73 |
1 |
| imsg_compose_event |
|
2 |
9 |
70 |
7 |
| Source file: ./usr.sbin/pstat/pstat.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
81 |
182 |
1218 |
2 |
| vnodemode |
|
15 |
54 |
371 |
1 |
| vnodemodeprep |
|
3 |
12 |
72 |
1 |
| vnode_header |
|
1 |
4 |
26 |
1 |
| vnode_print |
|
23 |
58 |
331 |
2 |
| ufs_header |
|
1 |
4 |
14 |
1 |
| ufs_print |
|
18 |
51 |
357 |
1 |
| ext2fs_header |
|
1 |
4 |
14 |
1 |
| ext2fs_print |
|
13 |
37 |
247 |
1 |
| nfs_header |
|
1 |
4 |
14 |
1 |
| nfs_print |
|
13 |
39 |
297 |
1 |
| getmnt |
|
4 |
19 |
136 |
1 |
| mount_print |
|
24 |
121 |
649 |
1 |
| kinfo_vnodes |
|
7 |
38 |
307 |
1 |
| tty2itty |
|
2 |
15 |
130 |
2 |
| ttymode |
|
6 |
24 |
159 |
1 |
| ttymodeprep |
|
5 |
20 |
157 |
1 |
| ttyprt |
|
10 |
35 |
278 |
1 |
| filemode |
|
19 |
52 |
441 |
1 |
| filemodeprep |
|
8 |
26 |
176 |
1 |
| swapmode |
|
14 |
74 |
513 |
1 |
| usage |
|
1 |
6 |
22 |
1 |
| Source file: ./usr.sbin/dvmrpd/report.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| send_report |
|
4 |
28 |
215 |
4 |
| recv_report |
|
6 |
39 |
284 |
3 |
| report_timer |
|
1 |
8 |
54 |
3 |
| start_report_timer |
|
1 |
7 |
36 |
1 |
| stop_report_timer |
|
1 |
4 |
17 |
1 |
| rr_list_add |
|
3 |
11 |
74 |
2 |
| rr_list_remove |
|
2 |
5 |
23 |
1 |
| rr_list_clr |
|
2 |
9 |
50 |
1 |
| rr_list_send |
|
10 |
52 |
367 |
3 |
| Source file: ./usr.sbin/dvmrpd/rde.h |
| Source file: ./usr.sbin/bgpd/kroute.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| kr_init |
|
9 |
36 |
245 |
1 |
| ktable_new |
|
8 |
46 |
334 |
6 |
| ktable_free |
|
5 |
13 |
90 |
2 |
| ktable_destroy |
|
1 |
10 |
63 |
2 |
| ktable_get |
|
2 |
6 |
26 |
1 |
| ktable_update |
|
12 |
38 |
271 |
5 |
| ktable_preload |
|
3 |
10 |
50 |
1 |
| ktable_postload |
|
5 |
13 |
81 |
1 |
| ktable_exists |
|
4 |
22 |
134 |
2 |
| kr_change |
|
5 |
16 |
104 |
3 |
| kr4_change |
|
10 |
46 |
380 |
3 |
| kr6_change |
|
10 |
48 |
403 |
3 |
| krVPN4_change |
|
11 |
58 |
499 |
3 |
| kr_delete |
|
5 |
16 |
106 |
3 |
| kr4_delete |
|
5 |
15 |
133 |
3 |
| kr6_delete |
|
5 |
15 |
132 |
3 |
| krVPN4_delete |
|
5 |
15 |
135 |
3 |
| kr_shutdown |
|
2 |
7 |
36 |
1 |
| kr_fib_couple |
|
5 |
20 |
149 |
2 |
| kr_fib_couple_all |
|
2 |
6 |
32 |
1 |
| kr_fib_decouple |
|
5 |
21 |
150 |
2 |
| kr_fib_decouple_all |
|
2 |
6 |
32 |
1 |
| kr_fib_update_prio |
|
4 |
14 |
102 |
2 |
| kr_fib_update_prio_all |
|
2 |
6 |
32 |
1 |
| kr_dispatch_msg |
|
1 |
4 |
13 |
1 |
| kr_nexthop_add |
|
6 |
23 |
163 |
3 |
| kr_nexthop_delete |
|
4 |
16 |
87 |
3 |
| kr_show_route |
|
31 |
143 |
955 |
1 |
| kr_ifinfo |
|
2 |
10 |
59 |
1 |
| kr_net_delete |
|
1 |
5 |
24 |
1 |
| kr_net_match |
|
12 |
30 |
162 |
2 |
| kr_net_match6 |
|
12 |
31 |
171 |
2 |
| kr_net_find |
|
5 |
14 |
112 |
2 |
| kr_net_reload |
|
8 |
36 |
273 |
2 |
| kr_redistribute |
|
14 |
41 |
302 |
3 |
| kr_redistribute6 |
|
18 |
45 |
340 |
3 |
| kr_reload |
|
6 |
30 |
197 |
1 |
| kr_tofull |
|
1 |
16 |
136 |
1 |
| kr6_tofull |
|
1 |
16 |
150 |
1 |
| kroute_compare |
|
9 |
18 |
179 |
2 |
| kroute6_compare |
|
10 |
21 |
197 |
2 |
| knexthop_compare |
|
9 |
25 |
211 |
2 |
| kif_compare |
|
1 |
4 |
29 |
2 |
| kroute_find |
|
5 |
21 |
139 |
4 |
| kroute_matchgw |
|
4 |
15 |
77 |
2 |
| kroute_insert |
|
9 |
26 |
207 |
2 |
| kroute_remove |
|
16 |
48 |
359 |
2 |
| kroute_clear |
|
2 |
6 |
39 |
1 |
| kroute6_find |
|
5 |
21 |
150 |
4 |
| kroute6_matchgw |
|
4 |
15 |
96 |
2 |
| kroute6_insert |
|
9 |
28 |
225 |
2 |
| kroute6_remove |
|
16 |
49 |
363 |
2 |
| kroute6_clear |
|
2 |
6 |
39 |
1 |
| knexthop_find |
|
1 |
7 |
62 |
2 |
| knexthop_insert |
|
2 |
11 |
68 |
2 |
| knexthop_remove |
|
2 |
11 |
68 |
2 |
| knexthop_clear |
|
2 |
6 |
39 |
1 |
| kif_find |
|
1 |
7 |
44 |
1 |
| kif_insert |
|
2 |
11 |
62 |
1 |
| kif_remove |
|
5 |
27 |
177 |
1 |
| kif_clear |
|
2 |
6 |
32 |
1 |
| kif_kr_insert |
|
5 |
22 |
144 |
1 |
| kif_kr_remove |
|
6 |
22 |
139 |
1 |
| kif_kr6_insert |
|
5 |
22 |
144 |
1 |
| kif_kr6_remove |
|
6 |
22 |
139 |
1 |
| kif_validate |
|
3 |
8 |
43 |
1 |
| kroute_validate |
|
4 |
15 |
91 |
1 |
| kroute6_validate |
|
4 |
15 |
92 |
1 |
| knexthop_validate |
|
7 |
28 |
156 |
2 |
| knexthop_track |
|
2 |
7 |
42 |
2 |
| knexthop_send_update |
|
8 |
47 |
349 |
1 |
| kroute_match |
|
8 |
16 |
139 |
3 |
| kroute6_match |
|
8 |
16 |
141 |
3 |
| kroute_detach_nexthop |
|
7 |
24 |
128 |
2 |
| protect_lo |
|
5 |
24 |
203 |
1 |
| prefixlen_classful |
|
5 |
13 |
60 |
1 |
| mask2prefixlen |
|
2 |
7 |
32 |
1 |
| mask2prefixlen6 |
|
11 |
39 |
175 |
1 |
| prefixlen2mask6 |
|
3 |
12 |
80 |
1 |
| get_rtaddrs |
|
3 |
12 |
87 |
3 |
| if_change |
|
7 |
40 |
268 |
3 |
| if_announce |
|
4 |
21 |
119 |
1 |
| send_rtmsg |
|
13 |
111 |
848 |
5 |
| send_rt6msg |
|
11 |
87 |
717 |
5 |
| fetchtable |
|
45 |
179 |
1242 |
2 |
| fetchifs |
|
12 |
63 |
495 |
1 |
| dispatch_rtmsg |
|
19 |
58 |
350 |
1 |
| dispatch_rtmsg_addr |
|
78 |
272 |
1705 |
3 |
| Source file: ./usr.sbin/dvmrpd/control.h |
| Source file: ./usr.sbin/dvmrpd/packet.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| gen_dvmrp_hdr |
|
1 |
12 |
86 |
3 |
| send_packet |
|
5 |
21 |
140 |
4 |
| recv_packet |
|
29 |
115 |
677 |
3 |
| ip_hdr_sanity_check |
|
3 |
11 |
67 |
2 |
| dvmrp_hdr_sanity_check |
|
2 |
9 |
50 |
4 |
| find_iface |
|
8 |
16 |
120 |
2 |
| Source file: ./usr.sbin/dvmrpd/igmp.h |
| Source file: ./usr.sbin/dvmrpd/kmroute.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| kmr_init |
|
2 |
18 |
138 |
1 |
| kmr_shutdown |
|
1 |
11 |
55 |
1 |
| kmr_recv_msg |
|
11 |
36 |
203 |
3 |
| kmr_mfc_couple |
|
1 |
4 |
11 |
1 |
| kmr_mfc_decouple |
|
1 |
4 |
11 |
1 |
| kmroute_clear |
|
1 |
3 |
6 |
1 |
| mrt_init |
|
2 |
10 |
51 |
1 |
| mrt_done |
|
2 |
10 |
51 |
1 |
| mrt_add_vif |
|
2 |
16 |
101 |
2 |
| mrt_del_vif |
|
2 |
8 |
47 |
2 |
| mrt_add_mfc |
|
3 |
20 |
138 |
2 |
| mrt_del_mfc |
|
2 |
14 |
90 |
2 |
| Source file: ./usr.sbin/dvmrpd/prune.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| send_prune |
|
4 |
34 |
279 |
2 |
| recv_prune |
|
3 |
21 |
160 |
3 |
| Source file: ./usr.sbin/dvmrpd/graft_ack.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| send_graft_ack |
|
4 |
27 |
206 |
4 |
| recv_graft_ack |
|
1 |
5 |
30 |
3 |
| Source file: ./usr.sbin/dvmrpd/interface.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| if_fsm |
|
11 |
45 |
267 |
2 |
| if_find_index |
|
2 |
9 |
43 |
1 |
| if_new |
|
11 |
48 |
417 |
1 |
| if_init |
|
1 |
10 |
74 |
2 |
| if_del |
|
2 |
10 |
57 |
1 |
| if_nbr_list_empty |
|
1 |
4 |
20 |
1 |
| if_probe_timer |
|
2 |
11 |
64 |
3 |
| if_start_probe_timer |
|
1 |
6 |
33 |
1 |
| if_stop_probe_timer |
|
1 |
4 |
20 |
1 |
| if_query_timer |
|
3 |
15 |
90 |
3 |
| if_start_query_timer |
|
1 |
6 |
33 |
1 |
| if_stop_query_timer |
|
1 |
4 |
20 |
1 |
| if_querier_present_timer |
|
1 |
5 |
28 |
3 |
| if_start_querier_present_timer |
|
1 |
8 |
53 |
1 |
| if_stop_querier_present_timer |
|
1 |
4 |
20 |
1 |
| if_reset_querier_present_timer |
|
1 |
8 |
53 |
1 |
| if_act_start |
|
9 |
47 |
267 |
1 |
| if_act_query_seen |
|
3 |
15 |
62 |
1 |
| if_act_reset |
|
7 |
42 |
231 |
1 |
| if_event_name |
|
1 |
4 |
15 |
1 |
| if_action_name |
|
1 |
4 |
15 |
1 |
| if_set_mcast_ttl |
|
2 |
10 |
56 |
2 |
| if_set_tos |
|
2 |
9 |
55 |
2 |
| if_set_recvbuf |
|
2 |
8 |
40 |
1 |
| if_join_group |
|
4 |
20 |
113 |
2 |
| if_leave_group |
|
4 |
20 |
113 |
2 |
| if_set_mcast |
|
4 |
18 |
90 |
1 |
| if_set_mcast_loop |
|
2 |
10 |
55 |
1 |
| if_to_ctl |
|
5 |
60 |
512 |
1 |
| Source file: ./usr.sbin/dvmrpd/in_cksum.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| in_cksum |
|
6 |
28 |
172 |
2 |
| Source file: ./usr.sbin/dvmrpd/igmp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| send_igmp_query |
|
6 |
37 |
247 |
2 |
| recv_igmp_query |
|
9 |
34 |
207 |
4 |
| recv_igmp_report |
|
8 |
39 |
202 |
5 |
| recv_igmp_leave |
|
6 |
28 |
159 |
4 |
| igmp_chksum |
|
2 |
9 |
50 |
1 |
| Source file: ./usr.sbin/dvmrpd/printconf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| print_mainconf |
|
2 |
7 |
28 |
1 |
| print_iface |
|
2 |
16 |
106 |
1 |
| print_config |
|
1 |
11 |
52 |
1 |
| Source file: ./usr.sbin/dvmrpd/log.h |
| Source file: ./usr.sbin/dvmrpd/dvmrpe.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dvmrpe_sig_handler |
|
3 |
10 |
37 |
3 |
| dvmrpe |
|
18 |
88 |
673 |
4 |
| dvmrpe_shutdown |
|
2 |
22 |
132 |
1 |
| dvmrpe_imsg_compose_parent |
|
1 |
4 |
38 |
4 |
| dvmrpe_imsg_compose_rde |
|
1 |
6 |
41 |
5 |
| dvmrpe_dispatch_main |
|
18 |
64 |
366 |
3 |
| dvmrpe_dispatch_rde |
|
38 |
123 |
797 |
3 |
| dvmrpe_iface_ctl |
|
3 |
11 |
80 |
2 |
| dvmrpe_iface_igmp_ctl |
|
3 |
12 |
87 |
2 |
| dvmrpe_nbr_ctl |
|
1 |
13 |
101 |
1 |
| Source file: ./usr.sbin/dvmrpd/rde_mfc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mfc_expire_timer |
|
1 |
11 |
80 |
3 |
| mfc_reset_expire_timer |
|
1 |
7 |
39 |
1 |
| mfc_start_expire_timer |
|
1 |
8 |
51 |
1 |
| mfc_prune_timer |
|
1 |
6 |
41 |
3 |
| mfc_start_prune_timer |
|
1 |
8 |
51 |
1 |
| mfc_reset_prune_timer |
|
1 |
7 |
39 |
1 |
| mfc_init |
|
1 |
4 |
12 |
1 |
| mfc_compare |
|
5 |
12 |
121 |
2 |
| mfc_find |
|
1 |
7 |
44 |
2 |
| mfc_insert |
|
2 |
10 |
53 |
1 |
| mfc_remove |
|
2 |
10 |
53 |
1 |
| mfc_clear |
|
2 |
6 |
32 |
1 |
| mfc_dump |
|
3 |
26 |
192 |
1 |
| mfc_find_origin |
|
2 |
8 |
51 |
1 |
| mfc_send_prune |
|
1 |
13 |
125 |
2 |
| mfc_update_source |
|
7 |
28 |
215 |
1 |
| mfc_update |
|
8 |
37 |
266 |
1 |
| mfc_delete |
|
2 |
7 |
44 |
1 |
| mfc_check_members |
|
3 |
11 |
69 |
2 |
| mfc_recv_prune |
|
8 |
43 |
256 |
1 |
| mfc_add_prune |
|
2 |
17 |
130 |
2 |
| mfc_find_prune |
|
2 |
9 |
56 |
2 |
| mfc_delete_prune |
|
3 |
10 |
72 |
2 |
| prune_compare |
|
2 |
6 |
43 |
3 |
| mfc_reset_prune_expire_timer |
|
1 |
7 |
39 |
1 |
| prune_expire_timer |
|
1 |
8 |
58 |
3 |
| Source file: ./usr.sbin/dvmrpd/neighbor.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| nbr_fsm |
|
17 |
64 |
360 |
2 |
| nbr_init |
|
4 |
12 |
88 |
1 |
| nbr_new |
|
3 |
21 |
157 |
3 |
| nbr_del |
|
1 |
8 |
41 |
1 |
| nbr_find_peerid |
|
2 |
11 |
52 |
1 |
| nbr_find_ip |
|
2 |
10 |
54 |
2 |
| nbr_itimer |
|
1 |
6 |
40 |
3 |
| nbr_start_itimer |
|
1 |
8 |
55 |
1 |
| nbr_stop_itimer |
|
1 |
4 |
20 |
1 |
| nbr_reset_itimer |
|
1 |
7 |
43 |
1 |
| nbr_act_start |
|
1 |
5 |
27 |
1 |
| nbr_act_reset_itimer |
|
2 |
9 |
42 |
1 |
| nbr_act_start_itimer |
|
3 |
16 |
79 |
1 |
| nbr_act_delete |
|
2 |
14 |
100 |
1 |
| nbr_act_clear_lists |
|
1 |
6 |
34 |
1 |
| nbr_event_name |
|
1 |
4 |
15 |
1 |
| nbr_action_name |
|
1 |
4 |
15 |
1 |
| nbr_to_ctl |
|
3 |
20 |
175 |
1 |
| Source file: ./usr.sbin/vmd/atomicio.h |
| Source file: ./usr.sbin/dvmrpd/kroute.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| kif_init |
|
2 |
7 |
32 |
1 |
| kr_init |
|
3 |
17 |
120 |
1 |
| kr_shutdown |
|
1 |
5 |
23 |
1 |
| kr_ifinfo |
|
2 |
10 |
59 |
1 |
| kif_compare |
|
1 |
4 |
29 |
2 |
| kif_find |
|
1 |
7 |
46 |
1 |
| kif_findname |
|
2 |
8 |
49 |
1 |
| kif_insert |
|
2 |
9 |
46 |
1 |
| kif_remove |
|
2 |
9 |
46 |
1 |
| kif_clear |
|
2 |
6 |
32 |
1 |
| prefixlen_classful |
|
5 |
13 |
60 |
1 |
| mask2prefixlen |
|
2 |
7 |
32 |
1 |
| prefixlen2mask |
|
2 |
6 |
30 |
1 |
| if_change |
|
4 |
19 |
139 |
3 |
| if_announce |
|
4 |
21 |
119 |
1 |
| get_rtaddrs |
|
3 |
12 |
87 |
3 |
| fetchifs |
|
13 |
65 |
518 |
1 |
| kr_dispatch_msg |
|
11 |
36 |
214 |
3 |
| Source file: ./usr.sbin/dvmrpd/rde_srt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rt_expire_timer |
|
2 |
13 |
87 |
3 |
| rt_start_expire_timer |
|
3 |
11 |
75 |
1 |
| rt_holddown_timer |
|
1 |
7 |
42 |
3 |
| rt_start_holddown_timer |
|
3 |
11 |
68 |
1 |
| rt_init |
|
1 |
4 |
12 |
1 |
| rt_compare |
|
5 |
12 |
101 |
2 |
| rt_find |
|
1 |
7 |
42 |
2 |
| rr_new_rt |
|
3 |
27 |
224 |
3 |
| rt_insert |
|
2 |
12 |
73 |
1 |
| rt_remove |
|
3 |
15 |
92 |
1 |
| rt_invalidate |
|
3 |
11 |
66 |
1 |
| rt_clear |
|
2 |
6 |
32 |
1 |
| rt_snap |
|
2 |
15 |
92 |
1 |
| rt_dump |
|
3 |
26 |
184 |
1 |
| rt_update |
|
2 |
5 |
21 |
1 |
| rt_match_origin |
|
2 |
10 |
55 |
1 |
| srt_check_route |
|
29 |
81 |
553 |
2 |
| srt_current_forwarder |
|
9 |
18 |
149 |
4 |
| srt_update_ds_forwarders |
|
6 |
15 |
107 |
3 |
| srt_set_forwarder_self |
|
1 |
7 |
64 |
2 |
| srt_set_upstream |
|
2 |
8 |
44 |
2 |
| srt_add_ds |
|
2 |
13 |
100 |
3 |
| srt_find_ds |
|
2 |
8 |
48 |
2 |
| srt_delete_ds |
|
1 |
9 |
64 |
3 |
| srt_check_downstream_ifaces |
|
4 |
11 |
77 |
2 |
| srt_expire_nbr |
|
5 |
23 |
160 |
2 |
| flash_update |
|
1 |
8 |
70 |
1 |
| flash_update_ds |
|
1 |
8 |
70 |
1 |
| Source file: ./usr.sbin/trpt/trpt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
39 |
101 |
687 |
2 |
| dotrace |
|
14 |
46 |
323 |
1 |
| tcp_trace |
|
21 |
96 |
607 |
6 |
| numeric |
|
3 |
13 |
67 |
2 |
| usage |
|
1 |
6 |
24 |
1 |
| Source file: ./usr.sbin/vmd/atomicio.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| atomicio6 |
|
9 |
33 |
200 |
6 |
| atomicio |
|
1 |
4 |
44 |
4 |
| atomiciov6 |
|
18 |
53 |
361 |
6 |
| atomiciov |
|
1 |
5 |
48 |
4 |
| Source file: ./usr.sbin/vmd/log.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| log_init |
|
2 |
10 |
48 |
2 |
| log_procinit |
|
2 |
5 |
19 |
1 |
| log_setverbose |
|
1 |
4 |
11 |
1 |
| log_getverbose |
|
1 |
4 |
11 |
1 |
| logit |
|
1 |
7 |
38 |
3 |
| vlog |
|
3 |
17 |
99 |
3 |
| log_warn |
|
3 |
21 |
120 |
2 |
| log_warnx |
|
1 |
7 |
35 |
2 |
| log_info |
|
1 |
7 |
35 |
2 |
| log_debug |
|
2 |
9 |
43 |
2 |
| vfatalc |
|
3 |
17 |
106 |
3 |
| fatal |
|
1 |
8 |
40 |
2 |
| fatalx |
|
1 |
8 |
40 |
2 |
| Source file: ./usr.sbin/vmd/ufs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| read_inode |
|
4 |
34 |
213 |
2 |
| block_map |
|
12 |
50 |
366 |
3 |
| buf_read_file |
|
7 |
36 |
274 |
3 |
| search_directory |
|
9 |
34 |
231 |
3 |
| ufs_open |
|
29 |
111 |
684 |
2 |
| ufs_close |
|
2 |
8 |
48 |
1 |
| ufs_close_internal |
|
4 |
13 |
96 |
1 |
| ufs_read |
|
6 |
24 |
148 |
4 |
| ufs_write |
|
1 |
4 |
25 |
4 |
| ufs_seek |
|
4 |
18 |
89 |
3 |
| ufs_stat |
|
1 |
9 |
73 |
2 |
| ufs_readdir |
|
9 |
33 |
240 |
2 |
| ffs_oldfscompat |
|
4 |
18 |
127 |
1 |
| Source file: ./usr.sbin/vmd/i8253.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| i8253_init |
|
1 |
20 |
199 |
1 |
| i8253_do_readback |
|
18 |
78 |
547 |
1 |
| vcpu_exit_i8253 |
|
14 |
94 |
623 |
1 |
| i8253_reset |
|
1 |
9 |
68 |
1 |
| i8253_fire |
|
2 |
10 |
80 |
3 |
| i8253_dump |
|
2 |
10 |
56 |
1 |
| i8253_restore |
|
3 |
18 |
129 |
2 |
| i8253_stop |
|
2 |
6 |
32 |
0 |
| i8253_start |
|
3 |
7 |
35 |
0 |
| Source file: ./usr.sbin/vmd/disklabel.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dkcksum |
|
2 |
10 |
63 |
1 |
| getdisklabel |
|
7 |
21 |
149 |
2 |
| Source file: ./usr.sbin/vmd/i8259.h |
| Source file: ./usr.sbin/vmd/task.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| taskq_create |
|
5 |
28 |
164 |
1 |
| taskq_run |
|
3 |
19 |
132 |
1 |
| task_set |
|
1 |
6 |
41 |
3 |
| task_add |
|
3 |
16 |
103 |
2 |
| task_del |
|
3 |
15 |
97 |
2 |
| Source file: ./usr.sbin/vmd/config.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| config_init |
|
6 |
22 |
166 |
1 |
| config_purge |
|
7 |
23 |
159 |
2 |
| config_setconfig |
|
3 |
13 |
79 |
1 |
| config_getconfig |
|
1 |
7 |
55 |
2 |
| config_setreset |
|
4 |
13 |
92 |
2 |
| config_getreset |
|
1 |
9 |
60 |
2 |
| config_setvm |
|
43 |
182 |
1256 |
4 |
| config_getvm |
|
4 |
23 |
151 |
2 |
| config_getdisk |
|
5 |
20 |
141 |
2 |
| config_getif |
|
6 |
24 |
166 |
2 |
| Source file: ./usr.sbin/arp/arp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
40 |
96 |
462 |
2 |
| file |
|
6 |
29 |
243 |
1 |
| getsocket |
|
5 |
13 |
90 |
1 |
| set |
|
23 |
83 |
495 |
2 |
| get |
|
3 |
18 |
115 |
1 |
| delete |
|
17 |
49 |
265 |
1 |
| search |
|
11 |
46 |
328 |
2 |
| dump |
|
1 |
7 |
40 |
1 |
| print_entry |
|
12 |
42 |
336 |
3 |
| nuke_entry |
|
1 |
7 |
47 |
3 |
| ether_str |
|
2 |
12 |
99 |
1 |
| usage |
|
1 |
9 |
34 |
1 |
| rtmsg |
|
14 |
58 |
356 |
1 |
| rtget |
|
9 |
35 |
200 |
2 |
| getinetaddr |
|
3 |
12 |
88 |
2 |
| sec2str |
|
12 |
36 |
240 |
1 |
| wake |
|
11 |
28 |
201 |
2 |
| do_wakeup |
|
4 |
11 |
86 |
3 |
| bind_if_to_bpf |
|
5 |
15 |
99 |
2 |
| get_ether |
|
3 |
13 |
62 |
2 |
| send_frame |
|
3 |
19 |
173 |
2 |
| Source file: ./usr.sbin/vmd/priv.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| priv |
|
1 |
4 |
32 |
2 |
| priv_run |
|
2 |
6 |
52 |
3 |
| priv_dispatch_parent |
|
38 |
115 |
831 |
3 |
| priv_getiftype |
|
6 |
17 |
125 |
3 |
| priv_findname |
|
3 |
9 |
61 |
2 |
| priv_validgroup |
|
4 |
8 |
55 |
1 |
| vm_priv_ifconfig |
|
21 |
95 |
787 |
2 |
| vm_priv_brconfig |
|
5 |
30 |
243 |
2 |
| vm_priv_addr |
|
7 |
20 |
146 |
4 |
| Source file: ./usr.sbin/vmd/mc146818.h |
| Source file: ./usr.sbin/vmd/control.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| control |
|
1 |
4 |
32 |
2 |
| control_run |
|
2 |
5 |
35 |
3 |
| control_dispatch_vmd |
|
14 |
34 |
182 |
3 |
| control_init |
|
9 |
48 |
358 |
2 |
| control_listen |
|
3 |
14 |
96 |
1 |
| control_cleanup |
|
2 |
7 |
35 |
1 |
| control_accept |
|
10 |
43 |
328 |
3 |
| control_connbyfd |
|
2 |
9 |
42 |
1 |
| control_close |
|
3 |
17 |
123 |
2 |
| control_dispatch_imsg |
|
38 |
131 |
800 |
3 |
| control_imsg_forward |
|
2 |
9 |
72 |
1 |
| Source file: ./usr.sbin/vmd/vmd.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ss2sin |
|
1 |
4 |
19 |
1 |
| ss2sin6 |
|
1 |
4 |
19 |
1 |
| Source file: ./usr.sbin/vmd/vmboot.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| vmboot_bootcmd |
|
11 |
36 |
308 |
2 |
| vmboot_bootargs |
|
12 |
52 |
296 |
3 |
| vmboot_bootdevice |
|
8 |
28 |
172 |
1 |
| vmboot_bootconf |
|
10 |
27 |
222 |
3 |
| vmboot_strategy |
|
6 |
27 |
163 |
6 |
| vmboot_findopenbsd |
|
19 |
60 |
422 |
3 |
| vmboot_loadfile |
|
5 |
28 |
191 |
3 |
| vmboot_open |
|
10 |
59 |
419 |
3 |
| vmboot_close |
|
1 |
5 |
25 |
2 |
| Source file: ./usr.sbin/vmd/virtio.h |
| Source file: ./usr.sbin/vmd/vmboot.h |
| Source file: ./usr.sbin/vmd/task.h |
| Source file: ./usr.sbin/vmd/ns8250.h |
| Source file: ./usr.sbin/vmd/packet.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| checksum |
|
5 |
15 |
102 |
3 |
| wrapsum |
|
1 |
5 |
21 |
1 |
| assemble_hw_header |
|
3 |
19 |
119 |
5 |
| assemble_udp_ip_header |
|
2 |
33 |
362 |
6 |
| decode_hw_header |
|
7 |
36 |
225 |
5 |
| decode_udp_ip_header |
|
23 |
91 |
696 |
4 |
| Source file: ./usr.sbin/vmd/loadfile_elf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| setsegment |
|
2 |
16 |
116 |
7 |
| push_gdt |
|
3 |
12 |
106 |
1 |
| push_pt |
|
2 |
15 |
137 |
1 |
| loadfile_elf |
|
8 |
34 |
326 |
5 |
| create_bios_memmap |
|
6 |
28 |
179 |
2 |
| push_bootargs |
|
1 |
25 |
216 |
2 |
| push_stack |
|
2 |
19 |
153 |
4 |
| mread |
|
10 |
42 |
266 |
3 |
| marc4random_buf |
|
6 |
24 |
152 |
2 |
| mbzero |
|
6 |
21 |
126 |
2 |
| mbcopy |
|
1 |
4 |
23 |
3 |
| elf64_exec |
|
46 |
157 |
1225 |
4 |
| elf32_exec |
|
45 |
156 |
1210 |
4 |
| Source file: ./usr.sbin/vmd/pci.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pci_add_bar |
|
7 |
37 |
317 |
4 |
| pci_set_bar_fn |
|
3 |
10 |
75 |
4 |
| pci_get_dev_irq |
|
2 |
7 |
32 |
1 |
| pci_add_device |
|
5 |
27 |
219 |
9 |
| pci_init |
|
2 |
13 |
69 |
1 |
| pci_handle_address_reg |
|
2 |
9 |
52 |
1 |
| pci_handle_io |
|
11 |
45 |
316 |
1 |
| pci_handle_data_reg |
|
22 |
71 |
512 |
1 |
| pci_dump |
|
2 |
9 |
56 |
1 |
| pci_restore |
|
2 |
9 |
56 |
1 |
| Source file: ./usr.sbin/vmd/mc146818.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rtc_updateregs |
|
1 |
15 |
167 |
1 |
| rtc_fire1 |
|
2 |
12 |
79 |
3 |
| rtc_fireper |
|
1 |
6 |
48 |
3 |
| mc146818_init |
|
1 |
22 |
210 |
3 |
| rtc_reschedule_per |
|
3 |
13 |
98 |
1 |
| rtc_update_rega |
|
3 |
9 |
48 |
1 |
| rtc_update_regb |
|
4 |
10 |
55 |
1 |
| vcpu_exit_mc146818 |
|
14 |
52 |
270 |
1 |
| mc146818_dump |
|
2 |
9 |
56 |
1 |
| mc146818_restore |
|
2 |
14 |
130 |
2 |
| mc146818_stop |
|
1 |
5 |
21 |
0 |
| mc146818_start |
|
1 |
5 |
31 |
0 |
| Source file: ./usr.sbin/vmd/dhcp.h |
| Source file: ./usr.sbin/vmd/proc.h |
| Source file: ./usr.sbin/vmd/i8253.h |
| Source file: ./usr.sbin/vmd/i8259.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| i8259_pic_name |
|
3 |
8 |
30 |
1 |
| i8259_init |
|
2 |
8 |
54 |
1 |
| i8259_is_pending |
|
2 |
10 |
72 |
1 |
| i8259_ack |
|
17 |
57 |
427 |
1 |
| i8259_assert_irq |
|
4 |
19 |
146 |
1 |
| i8259_deassert_irq |
|
3 |
13 |
88 |
1 |
| i8259_write_datareg |
|
13 |
51 |
276 |
2 |
| i8259_specific_eoi |
|
2 |
8 |
72 |
2 |
| i8259_nonspecific_eoi |
|
3 |
11 |
59 |
2 |
| i8259_rotate_priority |
|
2 |
6 |
35 |
1 |
| i8259_write_cmdreg |
|
23 |
94 |
436 |
2 |
| i8259_read_datareg |
|
1 |
5 |
25 |
1 |
| i8259_read_cmdreg |
|
3 |
9 |
56 |
1 |
| i8259_io_write |
|
7 |
25 |
120 |
1 |
| i8259_io_read |
|
7 |
25 |
117 |
1 |
| vcpu_exit_i8259 |
|
2 |
10 |
53 |
1 |
| i8259_dump |
|
2 |
9 |
56 |
1 |
| i8259_restore |
|
3 |
11 |
73 |
1 |
| Source file: ./usr.sbin/vmd/dhcp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dhcp_request |
|
36 |
153 |
1402 |
4 |
| Source file: ./usr.sbin/vmd/vmm.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| vmm |
|
1 |
4 |
32 |
2 |
| vmm_run |
|
3 |
11 |
93 |
3 |
| vmm_dispatch_parent |
|
40 |
193 |
1215 |
3 |
| vmm_sighdlr |
|
14 |
52 |
313 |
3 |
| vmm_shutdown |
|
1 |
11 |
66 |
1 |
| vmm_pipe |
|
2 |
13 |
95 |
3 |
| vmm_dispatch_vm |
|
20 |
66 |
398 |
3 |
| terminate_vm |
|
2 |
7 |
45 |
1 |
| opentap |
|
4 |
16 |
102 |
1 |
| vmm_start_vm |
|
12 |
62 |
424 |
2 |
| get_info_vm |
|
9 |
45 |
335 |
3 |
| Source file: ./usr.sbin/vmd/pci.h |
| Source file: ./usr.sbin/vmd/vmm.h |
| Source file: ./usr.sbin/vmd/loadfile.h |
| Source file: ./usr.sbin/vmd/proc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| proc_ispeer |
|
3 |
9 |
55 |
3 |
| proc_getid |
|
3 |
13 |
75 |
3 |
| proc_exec |
|
11 |
52 |
398 |
5 |
| proc_connect |
|
9 |
24 |
191 |
1 |
| proc_init |
|
11 |
42 |
301 |
6 |
| proc_accept |
|
4 |
24 |
185 |
4 |
| proc_setup |
|
13 |
42 |
451 |
3 |
| proc_kill |
|
11 |
30 |
180 |
1 |
| proc_open |
|
10 |
34 |
319 |
3 |
| proc_close |
|
6 |
21 |
171 |
1 |
| proc_shutdown |
|
4 |
11 |
76 |
1 |
| proc_sig_handler |
|
7 |
17 |
63 |
3 |
| proc_run |
|
17 |
64 |
574 |
6 |
| proc_dispatch |
|
16 |
66 |
439 |
3 |
| proc_dispatch_null |
|
1 |
4 |
23 |
3 |
| imsg_event_add |
|
3 |
13 |
95 |
1 |
| imsg_compose_event |
|
2 |
10 |
75 |
7 |
| imsg_composev_event |
|
2 |
10 |
77 |
7 |
| proc_range |
|
2 |
9 |
57 |
4 |
| proc_compose_imsg |
|
3 |
12 |
106 |
8 |
| proc_compose |
|
1 |
5 |
48 |
5 |
| proc_composev_imsg |
|
3 |
11 |
106 |
8 |
| proc_composev |
|
1 |
5 |
50 |
5 |
| proc_forward_imsg |
|
1 |
6 |
58 |
4 |
| proc_ibuf |
|
1 |
6 |
48 |
3 |
| proc_iev |
|
1 |
6 |
46 |
3 |
| proc_flush_imsg |
|
6 |
17 |
126 |
3 |
| Source file: ./usr.sbin/ikectl/parser.h |
| Source file: ./usr.sbin/vmd/ns8250.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ratelimit |
|
1 |
6 |
43 |
3 |
| ns8250_init |
|
2 |
24 |
178 |
2 |
| com_rcv_event |
|
4 |
17 |
110 |
3 |
| com_rcv |
|
5 |
20 |
128 |
3 |
| vcpu_process_com_data |
|
10 |
40 |
290 |
3 |
| vcpu_process_com_lcr |
|
6 |
27 |
171 |
1 |
| vcpu_process_com_iir |
|
3 |
11 |
73 |
1 |
| vcpu_process_com_mcr |
|
2 |
8 |
47 |
1 |
| vcpu_process_com_lsr |
|
2 |
9 |
52 |
1 |
| vcpu_process_com_msr |
|
2 |
10 |
54 |
1 |
| vcpu_process_com_scr |
|
2 |
8 |
47 |
1 |
| vcpu_process_com_ier |
|
5 |
18 |
116 |
1 |
| vcpu_exit_com |
|
10 |
38 |
171 |
1 |
| ns8250_dump |
|
2 |
10 |
62 |
1 |
| ns8250_restore |
|
3 |
29 |
215 |
3 |
| Source file: ./usr.sbin/vmd/vmd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| vmd_dispatch_control |
|
43 |
210 |
1387 |
3 |
| vmd_dispatch_vmm |
|
29 |
173 |
1228 |
3 |
| check_vmh |
|
22 |
107 |
712 |
1 |
| vmd_sighdlr |
|
7 |
24 |
100 |
3 |
| usage |
|
1 |
7 |
25 |
1 |
| main |
|
29 |
105 |
695 |
2 |
| vmd_configure |
|
10 |
42 |
259 |
1 |
| vmd_reload |
|
13 |
59 |
330 |
2 |
| vmd_shutdown |
|
1 |
12 |
63 |
1 |
| vm_getbyvmid |
|
3 |
11 |
53 |
1 |
| vm_getbyid |
|
3 |
11 |
57 |
1 |
| vm_id2vmid |
|
2 |
8 |
54 |
2 |
| vm_vmid2id |
|
2 |
8 |
62 |
2 |
| vm_getbyname |
|
3 |
11 |
64 |
1 |
| vm_getbypid |
|
2 |
9 |
42 |
1 |
| vm_stop |
|
9 |
39 |
299 |
2 |
| vm_remove |
|
2 |
11 |
58 |
1 |
| vm_register |
|
30 |
102 |
788 |
5 |
| vm_checkperm |
|
10 |
21 |
161 |
2 |
| vm_opentty |
|
17 |
53 |
378 |
1 |
| vm_closetty |
|
4 |
13 |
95 |
1 |
| switch_remove |
|
2 |
9 |
47 |
1 |
| switch_getbyname |
|
3 |
11 |
60 |
1 |
| get_string |
|
3 |
8 |
48 |
2 |
| prefixlen2mask |
|
3 |
8 |
43 |
1 |
| Source file: ./usr.sbin/ikectl/parser.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| parse |
|
6 |
23 |
142 |
2 |
| parse_addr |
|
2 |
12 |
74 |
1 |
| match_token |
|
36 |
77 |
463 |
2 |
| show_valid_args |
|
11 |
34 |
153 |
1 |
| Source file: ./usr.sbin/chroot/chroot.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
28 |
77 |
541 |
2 |
| usage |
|
1 |
7 |
29 |
1 |
| Source file: ./usr.sbin/vmd/vm.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| loadfile_bios |
|
6 |
16 |
134 |
2 |
| start_vm |
|
18 |
68 |
483 |
2 |
| vm_dispatch_vmm |
|
21 |
79 |
516 |
3 |
| vm_shutdown |
|
4 |
18 |
99 |
1 |
| send_vm |
|
16 |
70 |
437 |
2 |
| dump_send_header |
|
3 |
26 |
235 |
1 |
| dump_mem |
|
3 |
13 |
72 |
2 |
| restore_mem |
|
2 |
9 |
55 |
2 |
| dump_vmr |
|
4 |
18 |
116 |
2 |
| restore_vmr |
|
4 |
13 |
95 |
2 |
| pause_vm |
|
2 |
9 |
36 |
1 |
| unpause_vm |
|
3 |
11 |
60 |
1 |
| vcpu_reset |
|
2 |
12 |
97 |
3 |
| create_memory_map |
|
5 |
30 |
211 |
1 |
| alloc_guest_mem |
|
4 |
22 |
148 |
1 |
| vmm_create_vm |
|
7 |
15 |
92 |
1 |
| init_emulated_hw |
|
5 |
38 |
305 |
3 |
| restore_emulated_hw |
|
3 |
31 |
251 |
4 |
| run_vm |
|
36 |
147 |
896 |
4 |
| event_thread |
|
1 |
11 |
53 |
1 |
| vcpu_run_loop |
|
18 |
83 |
443 |
1 |
| vcpu_pic_intr |
|
2 |
11 |
74 |
3 |
| vcpu_exit_pci |
|
7 |
25 |
109 |
1 |
| vcpu_exit_inout |
|
4 |
11 |
87 |
1 |
| vcpu_exit |
|
18 |
45 |
187 |
1 |
| find_gpa_range |
|
10 |
31 |
209 |
3 |
| vaddr_mem |
|
4 |
16 |
112 |
2 |
| write_mem |
|
4 |
27 |
156 |
3 |
| read_mem |
|
4 |
26 |
153 |
3 |
| iovec_mem |
|
5 |
28 |
164 |
4 |
| vcpu_assert_pic_irq |
|
6 |
19 |
126 |
3 |
| vcpu_deassert_pic_irq |
|
3 |
8 |
45 |
3 |
| fd_hasdata |
|
4 |
13 |
87 |
1 |
| mutex_lock |
|
2 |
9 |
33 |
1 |
| mutex_unlock |
|
2 |
9 |
33 |
1 |
| set_return_data |
|
4 |
16 |
83 |
2 |
| get_input_data |
|
4 |
19 |
96 |
2 |
| Source file: ./usr.sbin/ikectl/ikectl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usage |
|
1 |
7 |
25 |
1 |
| ca_opt |
|
23 |
68 |
396 |
1 |
| main |
|
66 |
177 |
943 |
2 |
| monitor_lookup |
|
3 |
8 |
54 |
1 |
| monitor |
|
3 |
16 |
126 |
1 |
| Source file: ./usr.sbin/tftp-proxy/filter.h |
| Source file: ./usr.sbin/tftp-proxy/filter.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| add_filter |
|
7 |
14 |
110 |
6 |
| add_rdr |
|
11 |
25 |
273 |
7 |
| do_commit |
|
2 |
6 |
32 |
1 |
| do_rollback |
|
2 |
6 |
32 |
1 |
| init_filter |
|
6 |
22 |
120 |
2 |
| prepare_commit |
|
2 |
14 |
100 |
1 |
| prepare_rule |
|
10 |
48 |
545 |
5 |
| Source file: ./usr.sbin/ikectl/ikeca.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ca_delete |
|
1 |
4 |
19 |
1 |
| ca_key_create |
|
2 |
16 |
101 |
2 |
| ca_key_import |
|
2 |
12 |
85 |
3 |
| ca_key_delete |
|
1 |
7 |
47 |
2 |
| ca_delkey |
|
1 |
13 |
116 |
2 |
| ca_request |
|
5 |
32 |
236 |
3 |
| ca_sign |
|
3 |
29 |
164 |
3 |
| ca_certificate |
|
4 |
29 |
134 |
4 |
| ca_key_install |
|
4 |
26 |
183 |
3 |
| ca_cert_install |
|
3 |
19 |
140 |
3 |
| ca_newpass |
|
7 |
23 |
158 |
2 |
| ca_create |
|
1 |
31 |
213 |
1 |
| ca_install |
|
6 |
28 |
216 |
2 |
| ca_show_certs |
|
7 |
38 |
256 |
2 |
| fcopy |
|
4 |
19 |
148 |
3 |
| fcopy_env |
|
10 |
32 |
263 |
3 |
| rm_dir |
|
10 |
30 |
165 |
1 |
| ca_hier |
|
5 |
13 |
108 |
1 |
| ca_export |
|
30 |
138 |
1180 |
4 |
| ca_create_index |
|
10 |
31 |
250 |
1 |
| ca_revoke |
|
5 |
41 |
229 |
2 |
| ca_clrenv |
|
2 |
8 |
51 |
1 |
| ca_setenv |
|
5 |
17 |
127 |
2 |
| ca_setcnf |
|
2 |
18 |
125 |
2 |
| ca_setup |
|
13 |
30 |
314 |
4 |
| Source file: ./usr.sbin/route6d/log.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| log_init |
|
4 |
13 |
66 |
1 |
| logit |
|
1 |
7 |
38 |
3 |
| log_enqueue |
|
1 |
9 |
61 |
2 |
| vlog |
|
4 |
18 |
136 |
3 |
| log_warn |
|
3 |
18 |
111 |
2 |
| log_warnx |
|
1 |
7 |
35 |
2 |
| log_info |
|
1 |
7 |
35 |
2 |
| log_debug |
|
1 |
7 |
35 |
2 |
| fatal |
|
3 |
16 |
79 |
1 |
| fatalx |
|
1 |
5 |
18 |
1 |
| Source file: ./usr.sbin/route6d/route6d.h |
| Source file: ./usr.sbin/route6d/log.h |
| Source file: ./usr.sbin/rpc.statd/test.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sm_stat_1 |
|
2 |
11 |
70 |
2 |
| sm_mon_1 |
|
2 |
11 |
70 |
2 |
| sm_unmon_1 |
|
2 |
11 |
70 |
2 |
| sm_unmon_all_1 |
|
2 |
11 |
70 |
2 |
| sm_simu_crash_1 |
|
2 |
11 |
72 |
2 |
| main |
|
6 |
36 |
207 |
2 |
| Source file: ./usr.sbin/kgmon/kgmon.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
15 |
59 |
277 |
2 |
| kgmon |
|
7 |
20 |
125 |
4 |
| openfiles |
|
19 |
39 |
308 |
4 |
| kern_readonly |
|
6 |
14 |
92 |
1 |
| getprof |
|
5 |
21 |
157 |
2 |
| setprof |
|
7 |
24 |
185 |
3 |
| dumpstate |
|
23 |
101 |
871 |
2 |
| getprofhz |
|
4 |
20 |
134 |
1 |
| reset |
|
11 |
40 |
388 |
2 |
| getncpu |
|
2 |
12 |
69 |
1 |
| Source file: ./usr.sbin/rpc.statd/statd.h |
| Source file: ./usr.sbin/rpc.statd/procs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sm_stat_1_svc |
|
3 |
17 |
85 |
2 |
| sm_mon_1_svc |
|
5 |
42 |
306 |
2 |
| do_unmon |
|
7 |
27 |
154 |
3 |
| sm_unmon_1_svc |
|
4 |
27 |
172 |
2 |
| sm_unmon_all_1_svc |
|
2 |
15 |
72 |
2 |
| sm_simu_crash_1_svc |
|
2 |
11 |
47 |
2 |
| sm_notify_1_svc |
|
9 |
51 |
300 |
2 |
| Source file: ./usr.sbin/rtadvd/pathnames.h |
| Source file: ./usr.sbin/vmd/virtio.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| vioblk_cmd_name |
|
8 |
13 |
60 |
1 |
| dump_descriptor_chain |
|
2 |
21 |
115 |
2 |
| virtio_reg_name |
|
14 |
19 |
104 |
1 |
| vring_size |
|
1 |
9 |
61 |
1 |
| viornd_update_qs |
|
2 |
9 |
66 |
1 |
| viornd_update_qa |
|
2 |
6 |
37 |
1 |
| viornd_notifyq |
|
8 |
61 |
425 |
1 |
| virtio_rnd_io |
|
19 |
63 |
293 |
6 |
| vioblk_update_qa |
|
2 |
6 |
40 |
1 |
| vioblk_update_qs |
|
2 |
9 |
69 |
1 |
| vioblk_free_info |
|
2 |
7 |
28 |
1 |
| vioblk_start_read |
|
3 |
18 |
103 |
3 |
| vioblk_finish_read |
|
2 |
9 |
55 |
1 |
| vioblk_start_write |
|
4 |
22 |
129 |
4 |
| vioblk_finish_write |
|
2 |
8 |
47 |
1 |
| vioblk_notifyq |
|
29 |
227 |
1355 |
1 |
| virtio_blk_io |
|
59 |
202 |
1183 |
6 |
| virtio_net_io |
|
26 |
92 |
491 |
6 |
| vionet_update_qa |
|
2 |
6 |
40 |
1 |
| vionet_update_qs |
|
2 |
9 |
69 |
1 |
| vionet_enq_rx |
|
9 |
69 |
513 |
4 |
| vionet_rx |
|
11 |
29 |
189 |
1 |
| vionet_rx_event |
|
3 |
13 |
79 |
3 |
| vionet_process_rx |
|
5 |
17 |
110 |
1 |
| vionet_notify_rx |
|
3 |
25 |
149 |
1 |
| vionet_notifyq |
|
22 |
129 |
859 |
1 |
| vmmci_ctl |
|
9 |
36 |
193 |
1 |
| vmmci_ack |
|
8 |
33 |
160 |
1 |
| vmmci_timeout |
|
2 |
5 |
38 |
3 |
| vmmci_io |
|
24 |
78 |
389 |
6 |
| virtio_init |
|
22 |
167 |
1183 |
3 |
| vmmci_restore |
|
3 |
17 |
123 |
2 |
| viornd_restore |
|
3 |
14 |
86 |
1 |
| vionet_restore |
|
8 |
53 |
385 |
3 |
| vioblk_restore |
|
6 |
30 |
208 |
3 |
| virtio_restore |
|
5 |
15 |
128 |
4 |
| viornd_dump |
|
2 |
9 |
56 |
1 |
| vmmci_dump |
|
2 |
9 |
56 |
1 |
| vionet_dump |
|
2 |
11 |
61 |
1 |
| vioblk_dump |
|
2 |
11 |
61 |
1 |
| virtio_dump |
|
5 |
13 |
83 |
1 |
| Source file: ./usr.sbin/rpc.statd/statd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
10 |
58 |
363 |
2 |
| notify_handler |
|
2 |
16 |
72 |
1 |
| sync_file |
|
4 |
19 |
97 |
0 |
| change_host |
|
5 |
25 |
169 |
2 |
| find_host |
|
7 |
25 |
161 |
2 |
| walk_one |
|
4 |
13 |
119 |
4 |
| walk_db |
|
10 |
32 |
185 |
2 |
| reset_host |
|
2 |
10 |
63 |
3 |
| check_work |
|
2 |
4 |
26 |
3 |
| unmon_host |
|
2 |
7 |
45 |
3 |
| notify_one |
|
7 |
23 |
142 |
3 |
| init_file |
|
6 |
26 |
166 |
1 |
| reset_database |
|
1 |
9 |
45 |
1 |
| unmon_hosts |
|
1 |
6 |
26 |
1 |
| notify_one_host |
|
4 |
30 |
182 |
1 |
| die |
|
1 |
5 |
22 |
1 |
| Source file: ./usr.sbin/rtadvd/log.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| log_init |
|
2 |
8 |
36 |
1 |
| log_verbose |
|
1 |
4 |
11 |
1 |
| logit |
|
1 |
7 |
38 |
3 |
| vlog |
|
3 |
15 |
90 |
3 |
| log_warn |
|
3 |
18 |
111 |
2 |
| log_warnx |
|
1 |
7 |
35 |
2 |
| log_info |
|
1 |
7 |
35 |
2 |
| log_debug |
|
2 |
9 |
41 |
2 |
| vfatalc |
|
3 |
17 |
106 |
3 |
| fatal |
|
1 |
8 |
40 |
2 |
| fatalx |
|
1 |
8 |
40 |
2 |
| Source file: ./usr.sbin/rtadvd/rtadvd.h |
| Source file: ./usr.sbin/rtadvd/advcap.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tgetent |
|
2 |
6 |
38 |
2 |
| getent |
|
13 |
47 |
236 |
3 |
| tnchktc |
|
11 |
41 |
263 |
1 |
| tnamatch |
|
14 |
18 |
128 |
1 |
| tskip |
|
10 |
33 |
126 |
1 |
| tgetnum |
|
8 |
26 |
145 |
1 |
| tgetflag |
|
7 |
16 |
93 |
1 |
| tgetstr |
|
6 |
18 |
102 |
2 |
| tdecode |
|
13 |
49 |
234 |
2 |
| Source file: ./usr.sbin/rtadvd/dump.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ether_str |
|
2 |
12 |
99 |
1 |
| lifetime |
|
4 |
12 |
64 |
1 |
| rtadvd_dump |
|
25 |
128 |
874 |
1 |
| Source file: ./usr.sbin/rtadvd/advcap.h |
| Source file: ./usr.sbin/rtadvd/if.h |
| Source file: ./usr.sbin/rtadvd/if.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| get_rtaddrs |
|
3 |
12 |
68 |
3 |
| if_nametosdl |
|
6 |
21 |
132 |
1 |
| if_getmtu |
|
3 |
15 |
105 |
1 |
| if_getflags |
|
2 |
10 |
66 |
2 |
| lladdropt_length |
|
3 |
10 |
40 |
1 |
| lladdropt_fill |
|
3 |
15 |
91 |
2 |
| validate_msg |
|
20 |
46 |
322 |
1 |
| get_addr |
|
1 |
8 |
71 |
1 |
| get_rtm_ifindex |
|
1 |
5 |
25 |
1 |
| get_ifm_ifindex |
|
1 |
5 |
30 |
1 |
| get_ifam_ifindex |
|
1 |
5 |
30 |
1 |
| get_ifm_flags |
|
1 |
5 |
27 |
1 |
| get_prefixlen |
|
1 |
12 |
107 |
1 |
| prefixlen |
|
11 |
37 |
127 |
2 |
| rtmsg_type |
|
1 |
5 |
27 |
1 |
| rtmsg_len |
|
1 |
5 |
27 |
1 |
| get_iflist |
|
7 |
24 |
161 |
2 |
| parse_iflist |
|
9 |
44 |
277 |
3 |
| init_iflist |
|
2 |
12 |
54 |
1 |
| Source file: ./usr.sbin/rtadvd/config.h |
| Source file: ./usr.sbin/rtadvd/log.h |
| Source file: ./usr.sbin/rtadvd/dump.h |
| Source file: ./usr.sbin/tftp-proxy/tftp-proxy.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usage |
|
1 |
7 |
26 |
1 |
| main |
|
27 |
105 |
651 |
2 |
| source_addresses |
|
4 |
21 |
179 |
2 |
| proxy_privproc |
|
7 |
22 |
192 |
2 |
| privproc_pop |
|
18 |
60 |
449 |
3 |
| privproc_push |
|
6 |
44 |
293 |
3 |
| proxy_listen |
|
13 |
60 |
425 |
3 |
| proxy_listener_events |
|
1 |
8 |
52 |
1 |
| proxy_dst4 |
|
5 |
17 |
118 |
2 |
| proxy_dst6 |
|
6 |
20 |
135 |
2 |
| proxy_recv |
|
11 |
73 |
529 |
3 |
| unprivproc_push |
|
3 |
7 |
54 |
3 |
| unprivproc_pop |
|
20 |
95 |
760 |
3 |
| unprivproc_timeout |
|
1 |
8 |
49 |
3 |
| opcode |
|
3 |
16 |
86 |
1 |
| sock_ntop |
|
3 |
17 |
132 |
1 |
| syslog_vstrerror |
|
2 |
10 |
70 |
4 |
| syslog_err |
|
1 |
8 |
45 |
3 |
| syslog_errx |
|
1 |
8 |
43 |
3 |
| syslog_warn |
|
1 |
7 |
37 |
2 |
| syslog_warnx |
|
1 |
7 |
35 |
2 |
| syslog_info |
|
1 |
7 |
35 |
2 |
| syslog_debug |
|
2 |
9 |
42 |
2 |
| Source file: ./usr.sbin/ldomd/ldomd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| log_init |
|
2 |
8 |
36 |
1 |
| fatal |
|
2 |
8 |
42 |
1 |
| logit |
|
1 |
7 |
38 |
3 |
| vlog |
|
3 |
15 |
90 |
3 |
| main |
|
13 |
74 |
502 |
2 |
| usage |
|
1 |
6 |
25 |
1 |
| add_guest |
|
5 |
27 |
204 |
1 |
| map_domain_services |
|
5 |
21 |
148 |
1 |
| frag_init |
|
3 |
13 |
87 |
1 |
| add_frag_mblock |
|
2 |
15 |
85 |
1 |
| add_frag |
|
1 |
7 |
39 |
1 |
| delete_frag |
|
2 |
11 |
55 |
1 |
| alloc_frag |
|
2 |
12 |
56 |
1 |
| hv_update_md |
|
4 |
37 |
274 |
1 |
| hv_open |
|
6 |
32 |
267 |
1 |
| hv_close |
|
1 |
5 |
16 |
1 |
| hv_read |
|
2 |
9 |
56 |
3 |
| hv_write |
|
2 |
9 |
56 |
3 |
| Source file: ./usr.sbin/ldomd/var-config.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| set_variable |
|
3 |
18 |
120 |
3 |
| delete_variable |
|
3 |
15 |
88 |
2 |
| var_config_start |
|
1 |
3 |
12 |
2 |
| var_config_rx_data |
|
3 |
29 |
197 |
4 |
| Source file: ./usr.sbin/ldomd/ldomd.h |
| Source file: ./usr.sbin/ldomd/ds.h |
| Source file: ./usr.sbin/ldomd/hvctl.h |
| Source file: ./usr.sbin/rtadvd/rtadvd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
24 |
89 |
578 |
2 |
| usage |
|
1 |
6 |
22 |
1 |
| dump_cb |
|
1 |
4 |
18 |
3 |
| die_cb |
|
2 |
17 |
97 |
3 |
| rtsock_cb |
|
25 |
117 |
629 |
3 |
| sock_cb |
|
21 |
107 |
639 |
3 |
| rs_input |
|
11 |
69 |
440 |
4 |
| ra_input |
|
26 |
108 |
656 |
4 |
| prefix_check |
|
11 |
90 |
529 |
3 |
| find_prefix |
|
5 |
21 |
136 |
3 |
| nd6_options |
|
30 |
86 |
459 |
4 |
| free_ndopts |
|
2 |
9 |
52 |
1 |
| sock_open |
|
9 |
56 |
400 |
1 |
| rtsock_open |
|
4 |
19 |
108 |
1 |
| if_indextorainfo |
|
2 |
9 |
41 |
1 |
| ra_output |
|
5 |
43 |
318 |
2 |
| timer_cb |
|
1 |
8 |
65 |
3 |
| ra_timer_update |
|
3 |
14 |
92 |
1 |
| rdaemon |
|
7 |
25 |
138 |
1 |
| Source file: ./usr.sbin/rtadvd/config.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| getconfig |
|
81 |
304 |
2269 |
1 |
| get_prefix |
|
16 |
56 |
419 |
1 |
| makeentry |
|
2 |
7 |
47 |
4 |
| make_prefix |
|
2 |
28 |
192 |
4 |
| delete_prefix |
|
1 |
11 |
74 |
2 |
| make_packet |
|
22 |
162 |
1150 |
1 |
| getinet6sysctl |
|
2 |
14 |
95 |
1 |
| Source file: ./usr.sbin/mksuncd/mksuncd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| expand_file |
|
5 |
15 |
101 |
2 |
| usage |
|
1 |
4 |
13 |
1 |
| adjust_base |
|
5 |
16 |
130 |
2 |
| get_label |
|
7 |
15 |
114 |
2 |
| main |
|
16 |
43 |
321 |
2 |
| adjust_label |
|
8 |
27 |
222 |
5 |
| append_osfile |
|
6 |
17 |
102 |
2 |
| cylindersize |
|
3 |
13 |
100 |
2 |
| Source file: ./usr.sbin/dev_mkdb/dev_mkdb.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
13 |
65 |
468 |
2 |
| usage |
|
1 |
5 |
21 |
1 |
| Source file: ./usr.sbin/ldomd/ds.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ldc_rx_ctrl |
|
5 |
21 |
94 |
2 |
| ldc_rx_ctrl_vers |
|
8 |
37 |
172 |
2 |
| ldc_rx_ctrl_rts |
|
6 |
31 |
138 |
2 |
| ldc_rx_ctrl_rtr |
|
7 |
32 |
145 |
2 |
| ldc_rx_ctrl_rdx |
|
6 |
27 |
123 |
2 |
| ldc_rx_data |
|
14 |
44 |
320 |
2 |
| ldc_send_vers |
|
2 |
15 |
96 |
1 |
| ldc_send_ack |
|
2 |
15 |
96 |
1 |
| ldc_send_rts |
|
2 |
15 |
99 |
1 |
| ldc_send_rtr |
|
2 |
15 |
99 |
1 |
| ldc_send_rdx |
|
2 |
15 |
99 |
1 |
| ldc_reset |
|
2 |
6 |
28 |
1 |
| ldc_ack |
|
2 |
13 |
90 |
2 |
| ds_rx_msg |
|
9 |
60 |
344 |
3 |
| ds_init_ack |
|
1 |
10 |
67 |
1 |
| ds_reg_ack |
|
1 |
11 |
78 |
2 |
| ds_reg_nack |
|
1 |
12 |
84 |
2 |
| ds_unreg_ack |
|
1 |
10 |
72 |
2 |
| ds_unreg_nack |
|
1 |
10 |
72 |
2 |
| ds_receive_msg |
|
8 |
27 |
188 |
3 |
| ldc_send_msg |
|
5 |
23 |
172 |
3 |
| ds_send_msg |
|
6 |
22 |
151 |
3 |
| ds_conn_open |
|
2 |
18 |
146 |
2 |
| ds_conn_register_service |
|
1 |
7 |
48 |
2 |
| ds_conn_handle |
|
4 |
23 |
125 |
1 |
| ds_conn_serve |
|
5 |
20 |
132 |
1 |
| Source file: ./usr.sbin/apm/apm.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usage |
|
1 |
6 |
20 |
1 |
| zzusage |
|
1 |
6 |
20 |
1 |
| send_command |
|
3 |
14 |
101 |
3 |
| do_zzz |
|
5 |
25 |
104 |
2 |
| open_socket |
|
3 |
17 |
113 |
1 |
| main |
|
90 |
252 |
1233 |
2 |
| Source file: ./usr.sbin/ocspcheck/http.h |
| Source file: ./usr.sbin/route6d/route6d.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
43 |
144 |
834 |
2 |
| sighandler |
|
7 |
17 |
46 |
1 |
| rtdexit |
|
3 |
14 |
75 |
1 |
| ripalarm |
|
9 |
34 |
207 |
1 |
| init |
|
14 |
72 |
505 |
1 |
| ripflush |
|
8 |
42 |
253 |
2 |
| ripsend |
|
32 |
96 |
662 |
3 |
| out_filter |
|
17 |
49 |
298 |
2 |
| tobeadv |
|
8 |
15 |
84 |
2 |
| sendpacket |
|
5 |
48 |
331 |
2 |
| riprecv |
|
72 |
288 |
1877 |
1 |
| sendrequest |
|
3 |
21 |
132 |
1 |
| riprequest |
|
7 |
21 |
143 |
4 |
| ifconfig |
|
14 |
59 |
407 |
1 |
| ifconfig1 |
|
12 |
59 |
482 |
4 |
| rtrecv |
|
63 |
197 |
1109 |
1 |
| rt_del |
|
19 |
80 |
513 |
3 |
| rt_deladdr |
|
20 |
99 |
653 |
3 |
| ifrt |
|
22 |
94 |
594 |
2 |
| ifrt_p2p |
|
22 |
114 |
671 |
2 |
| getifmtu |
|
7 |
32 |
195 |
1 |
| rttypes |
|
5 |
20 |
124 |
1 |
| rtflags |
|
1 |
23 |
150 |
1 |
| ifflags |
|
3 |
23 |
148 |
1 |
| krtread |
|
10 |
47 |
276 |
1 |
| rt_entry |
|
34 |
116 |
801 |
2 |
| addroute |
|
5 |
54 |
479 |
3 |
| delroute |
|
6 |
50 |
428 |
2 |
| getroute |
|
9 |
43 |
308 |
2 |
| inet6_n2p |
|
1 |
5 |
37 |
1 |
| ifrtdump |
|
1 |
5 |
17 |
1 |
| ifdump |
|
8 |
23 |
131 |
1 |
| ifdump0 |
|
11 |
54 |
317 |
1 |
| rtdump |
|
6 |
30 |
202 |
1 |
| filterconfig |
|
24 |
97 |
641 |
1 |
| ifa_match |
|
4 |
10 |
65 |
3 |
| rtsearch |
|
7 |
17 |
95 |
2 |
| sin6mask2len |
|
1 |
5 |
31 |
1 |
| mask2len |
|
4 |
22 |
144 |
2 |
| applyplen |
|
4 |
16 |
99 |
2 |
| plen2mask |
|
3 |
20 |
121 |
1 |
| xstrdup |
|
2 |
9 |
36 |
1 |
| hms |
|
2 |
13 |
76 |
1 |
| ripinterval |
|
1 |
8 |
52 |
1 |
| ripsuptrig |
|
1 |
9 |
49 |
1 |
| if_maxindex |
|
5 |
12 |
69 |
1 |
| ifc_find |
|
3 |
9 |
53 |
1 |
| iff_find |
|
3 |
9 |
49 |
2 |
| setindex2ifc |
|
6 |
24 |
139 |
2 |
| Source file: ./usr.sbin/spamdb/spamdb.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dbupdate |
|
28 |
131 |
881 |
4 |
| print_entry |
|
9 |
60 |
398 |
2 |
| dblist |
|
3 |
17 |
124 |
1 |
| dbshow |
|
6 |
33 |
171 |
2 |
| usage |
|
1 |
5 |
20 |
1 |
| main |
|
26 |
77 |
440 |
2 |
| Source file: ./usr.sbin/tokeninit/tokeninit.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
23 |
107 |
591 |
2 |
| parse_secret |
|
5 |
19 |
203 |
3 |
| prompt_for_secret |
|
2 |
13 |
52 |
2 |
| Source file: ./usr.sbin/snmpctl/parser.h |
| Source file: ./usr.sbin/ocspcheck/ocspcheck.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| host_dns |
|
11 |
43 |
278 |
2 |
| url2host |
|
7 |
31 |
202 |
3 |
| parse_ocsp_time |
|
4 |
13 |
75 |
1 |
| read_cacerts |
|
6 |
32 |
162 |
1 |
| read_fullchain |
|
8 |
42 |
247 |
2 |
| cert_from_chain |
|
1 |
4 |
19 |
1 |
| issuer_from_chain |
|
2 |
10 |
57 |
1 |
| ocsp_request_new_from_cert |
|
16 |
63 |
406 |
2 |
| validate_response |
|
21 |
98 |
623 |
6 |
| usage |
|
1 |
7 |
19 |
1 |
| main |
|
39 |
134 |
924 |
2 |
| Source file: ./usr.sbin/watchdogd/watchdogd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usage |
|
1 |
7 |
25 |
1 |
| sighdlr |
|
1 |
4 |
11 |
1 |
| main |
|
24 |
95 |
641 |
2 |
| Source file: ./usr.sbin/memconfig/memconfig.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
5 |
17 |
137 |
2 |
| mrgetall |
|
4 |
18 |
137 |
2 |
| listfunc |
|
16 |
42 |
349 |
3 |
| setfunc |
|
18 |
53 |
373 |
3 |
| clearfunc |
|
23 |
56 |
402 |
3 |
| helpfunc |
|
1 |
4 |
24 |
3 |
| help |
|
5 |
16 |
126 |
1 |
| Source file: ./usr.sbin/snmpctl/snmpctl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usage |
|
1 |
6 |
25 |
1 |
| main |
|
44 |
121 |
691 |
2 |
| mib_init |
|
1 |
4 |
11 |
1 |
| show_mib |
|
2 |
9 |
63 |
1 |
| monitor_lookup |
|
3 |
8 |
54 |
1 |
| monitor |
|
3 |
16 |
126 |
1 |
| snmpctl_trap |
|
34 |
91 |
723 |
2 |
| Source file: ./usr.sbin/snmpctl/snmpclient.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| snmpclient |
|
21 |
66 |
537 |
1 |
| snmpc_run |
|
6 |
18 |
158 |
3 |
| snmpc_request |
|
9 |
30 |
209 |
2 |
| snmpc_response |
|
12 |
43 |
304 |
1 |
| snmpc_display_hint |
|
5 |
13 |
83 |
2 |
| snmpc_physaddress |
|
4 |
13 |
107 |
1 |
| snmpc_dateandtime |
|
6 |
30 |
213 |
1 |
| snmpc_display_hint_lookup |
|
6 |
18 |
132 |
1 |
| snmpc_sendreq |
|
7 |
37 |
256 |
2 |
| snmpc_recvresp |
|
9 |
32 |
224 |
4 |
| Source file: ./usr.sbin/snmpctl/parser.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| parse |
|
6 |
26 |
165 |
2 |
| match_token |
|
77 |
173 |
1243 |
2 |
| show_valid_args |
|
17 |
46 |
205 |
1 |
| Source file: ./usr.sbin/ocspcheck/http.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dosysread |
|
2 |
8 |
53 |
3 |
| dosyswrite |
|
2 |
8 |
54 |
3 |
| dotlsread |
|
4 |
11 |
74 |
3 |
| dotlswrite |
|
4 |
11 |
75 |
3 |
| http_init |
|
5 |
23 |
100 |
0 |
| http_read |
|
5 |
15 |
86 |
3 |
| http_write |
|
3 |
12 |
72 |
3 |
| http_disconnect |
|
7 |
19 |
123 |
1 |
| http_free |
|
2 |
10 |
50 |
1 |
| http_alloc |
|
16 |
88 |
673 |
5 |
| http_open |
|
7 |
35 |
183 |
3 |
| http_close |
|
2 |
10 |
50 |
1 |
| http_body_read |
|
8 |
34 |
219 |
3 |
| http_head_get |
|
3 |
10 |
61 |
3 |
| http_head_status |
|
4 |
19 |
122 |
3 |
| http_head_parse |
|
13 |
57 |
358 |
3 |
| http_head_read |
|
12 |
53 |
367 |
3 |
| http_get_free |
|
2 |
8 |
36 |
1 |
| http_get |
|
8 |
52 |
357 |
7 |
| main |
|
6 |
29 |
223 |
1 |
| Source file: ./usr.sbin/vmctl/vmctl.h |
| Source file: ./usr.sbin/ripd/rip.h |
| Source file: ./usr.sbin/usbdevs/usbdevs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usage |
|
1 |
5 |
20 |
1 |
| usbdev |
|
26 |
80 |
441 |
3 |
| usbdump |
|
3 |
8 |
42 |
1 |
| dumpone |
|
3 |
11 |
58 |
3 |
| main |
|
15 |
56 |
296 |
2 |
| Source file: ./usr.sbin/ripd/logmsg.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| nbr_state_name |
|
4 |
13 |
44 |
1 |
| if_type_name |
|
5 |
14 |
51 |
1 |
| if_auth_name |
|
4 |
12 |
43 |
1 |
| if_state_name |
|
3 |
11 |
36 |
1 |
| Source file: ./usr.sbin/ripd/log.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| log_init |
|
2 |
8 |
36 |
1 |
| log_verbose |
|
1 |
4 |
11 |
1 |
| logit |
|
1 |
7 |
38 |
3 |
| vlog |
|
3 |
15 |
90 |
3 |
| log_warn |
|
3 |
18 |
111 |
2 |
| log_warnx |
|
1 |
7 |
35 |
2 |
| log_info |
|
1 |
7 |
35 |
2 |
| log_debug |
|
2 |
9 |
41 |
2 |
| fatal |
|
4 |
17 |
79 |
1 |
| fatalx |
|
1 |
5 |
18 |
1 |
| Source file: ./usr.sbin/ripd/control.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| control_init |
|
6 |
36 |
245 |
1 |
| control_listen |
|
2 |
12 |
78 |
1 |
| control_cleanup |
|
1 |
6 |
29 |
1 |
| control_accept |
|
9 |
34 |
268 |
3 |
| control_connbyfd |
|
2 |
9 |
42 |
1 |
| control_connbypid |
|
2 |
9 |
42 |
1 |
| control_close |
|
3 |
17 |
116 |
1 |
| control_dispatch_imsg |
|
24 |
83 |
541 |
3 |
| control_imsg_relay |
|
2 |
8 |
76 |
1 |
| Source file: ./usr.sbin/vmctl/main.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usage |
|
2 |
12 |
71 |
1 |
| ctl_usage |
|
1 |
7 |
36 |
1 |
| main |
|
3 |
16 |
80 |
2 |
| parse |
|
9 |
36 |
243 |
2 |
| vmmaction |
|
40 |
129 |
821 |
1 |
| parse_free |
|
2 |
10 |
71 |
1 |
| parse_ifs |
|
3 |
13 |
77 |
3 |
| parse_network |
|
3 |
18 |
112 |
2 |
| parse_size |
|
5 |
17 |
114 |
3 |
| parse_disk |
|
3 |
18 |
112 |
2 |
| parse_vmid |
|
6 |
28 |
155 |
3 |
| ctl_create |
|
8 |
34 |
216 |
3 |
| ctl_status |
|
4 |
9 |
77 |
3 |
| ctl_load |
|
3 |
8 |
64 |
3 |
| ctl_log |
|
4 |
12 |
104 |
3 |
| ctl_reload |
|
2 |
6 |
39 |
3 |
| ctl_reset |
|
7 |
17 |
132 |
3 |
| ctl_start |
|
25 |
61 |
418 |
3 |
| ctl_stop |
|
4 |
9 |
77 |
3 |
| ctl_console |
|
4 |
9 |
77 |
3 |
| ctl_pause |
|
4 |
9 |
77 |
3 |
| ctl_unpause |
|
4 |
9 |
77 |
3 |
| ctl_send |
|
5 |
11 |
96 |
3 |
| ctl_receive |
|
5 |
11 |
96 |
3 |
| ctl_openconsole |
|
1 |
6 |
44 |
1 |
| Source file: ./usr.sbin/vmctl/vmctl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| vm_start |
|
28 |
71 |
516 |
8 |
| vm_start_complete |
|
7 |
40 |
180 |
3 |
| send_vm |
|
8 |
36 |
239 |
2 |
| vm_receive |
|
7 |
32 |
218 |
2 |
| pause_vm |
|
2 |
10 |
82 |
2 |
| pause_vm_complete |
|
3 |
21 |
105 |
2 |
| unpause_vm |
|
2 |
10 |
82 |
2 |
| unpause_vm_complete |
|
3 |
21 |
105 |
2 |
| terminate_vm |
|
2 |
10 |
82 |
2 |
| terminate_vm_complete |
|
5 |
32 |
144 |
2 |
| get_info_vm |
|
2 |
8 |
62 |
3 |
| check_info_id |
|
8 |
10 |
72 |
2 |
| add_info |
|
5 |
28 |
166 |
2 |
| print_vm_info |
|
16 |
72 |
535 |
2 |
| vm_console |
|
4 |
14 |
93 |
2 |
| create_imagefile |
|
3 |
16 |
100 |
2 |
| Source file: ./usr.sbin/ripd/rde.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rde_sig_handler |
|
3 |
10 |
37 |
3 |
| rde |
|
12 |
64 |
489 |
4 |
| rde_shutdown |
|
1 |
13 |
73 |
1 |
| rde_imsg_compose_ripe |
|
1 |
6 |
41 |
5 |
| rde_dispatch_imsg |
|
23 |
82 |
518 |
3 |
| rde_dispatch_parent |
|
18 |
60 |
360 |
3 |
| rde_send_change_kroute |
|
1 |
13 |
106 |
1 |
| rde_send_delete_kroute |
|
1 |
13 |
106 |
1 |
| rde_check_route |
|
16 |
54 |
398 |
1 |
| triggered_update |
|
1 |
11 |
83 |
1 |
| Source file: ./usr.sbin/ripd/name2id.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rtlabel_name2id |
|
1 |
4 |
20 |
1 |
| rtlabel_id2name |
|
1 |
4 |
18 |
1 |
| rtlabel_unref |
|
1 |
4 |
15 |
1 |
| _name2id |
|
10 |
35 |
238 |
2 |
| _id2name |
|
3 |
10 |
56 |
2 |
| _unref |
|
5 |
17 |
100 |
2 |
| _ref |
|
3 |
11 |
50 |
2 |
| Source file: ./usr.sbin/ripd/interface.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| if_init |
|
4 |
18 |
129 |
2 |
| if_fsm |
|
14 |
46 |
292 |
2 |
| if_find_index |
|
2 |
9 |
43 |
1 |
| if_act_start |
|
7 |
33 |
166 |
1 |
| if_act_reset |
|
6 |
26 |
130 |
1 |
| if_event_name |
|
1 |
4 |
15 |
1 |
| if_action_name |
|
1 |
4 |
15 |
1 |
| if_set_mcast_ttl |
|
2 |
10 |
56 |
2 |
| if_set_opt |
|
2 |
10 |
51 |
1 |
| if_set_tos |
|
2 |
9 |
55 |
2 |
| if_set_mcast |
|
4 |
17 |
86 |
1 |
| if_set_mcast_loop |
|
2 |
10 |
55 |
1 |
| if_set_recvbuf |
|
2 |
8 |
40 |
1 |
| if_join_group |
|
4 |
17 |
101 |
2 |
| if_leave_group |
|
4 |
17 |
101 |
2 |
| if_new |
|
12 |
51 |
416 |
1 |
| if_del |
|
3 |
10 |
64 |
1 |
| if_to_ctl |
|
2 |
24 |
199 |
1 |
| Source file: ./usr.sbin/ripd/rde.h |
| Source file: ./usr.sbin/ripd/carp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| carp_group_find |
|
2 |
8 |
44 |
1 |
| carp_demote_init |
|
7 |
25 |
162 |
2 |
| carp_demote_shutdown |
|
4 |
11 |
73 |
1 |
| carp_demote_get |
|
4 |
21 |
140 |
1 |
| carp_demote_set |
|
7 |
18 |
118 |
2 |
| carp_demote_ioctl |
|
5 |
21 |
154 |
2 |
| Source file: ./usr.sbin/ripd/ripe.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ripe_sig_handler |
|
3 |
10 |
37 |
3 |
| ripe |
|
21 |
103 |
806 |
4 |
| ripe_imsg_compose_parent |
|
1 |
4 |
38 |
4 |
| ripe_imsg_compose_rde |
|
1 |
6 |
41 |
5 |
| ripe_dispatch_main |
|
22 |
70 |
385 |
3 |
| ripe_dispatch_rde |
|
34 |
128 |
784 |
3 |
| ripe_shutdown |
|
3 |
27 |
169 |
1 |
| ripe_iface_ctl |
|
3 |
12 |
82 |
2 |
| ripe_nbr_ctl |
|
1 |
14 |
101 |
1 |
| ripe_demote_iface |
|
4 |
15 |
95 |
2 |
| Source file: ./usr.sbin/ripd/control.h |
| Source file: ./usr.sbin/ripd/ripd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usage |
|
1 |
8 |
25 |
1 |
| main_sig_handler |
|
4 |
12 |
42 |
3 |
| main |
|
26 |
126 |
818 |
2 |
| ripd_shutdown |
|
10 |
32 |
208 |
1 |
| main_dispatch_ripe |
|
24 |
70 |
399 |
3 |
| main_dispatch_rde |
|
17 |
49 |
262 |
3 |
| main_imsg_compose_ripe |
|
1 |
4 |
35 |
4 |
| main_imsg_compose_rde |
|
1 |
4 |
35 |
4 |
| rip_redistribute |
|
29 |
54 |
337 |
1 |
| imsg_event_add |
|
3 |
13 |
93 |
1 |
| imsg_compose_event |
|
2 |
9 |
70 |
7 |
| Source file: ./usr.sbin/ripd/auth.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| auth_calc_modulator |
|
1 |
12 |
103 |
1 |
| auth_get_seq_num |
|
1 |
4 |
21 |
1 |
| auth_trailer_header_gen |
|
1 |
7 |
48 |
1 |
| auth_validate |
|
15 |
92 |
574 |
6 |
| auth_gen |
|
4 |
32 |
203 |
2 |
| auth_add_trailer |
|
2 |
24 |
184 |
2 |
| md_list_add |
|
4 |
18 |
153 |
3 |
| md_list_copy |
|
2 |
13 |
104 |
2 |
| md_list_clr |
|
2 |
8 |
43 |
1 |
| md_list_find |
|
2 |
8 |
43 |
2 |
| Source file: ./usr.sbin/ripd/packet.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| gen_rip_hdr |
|
1 |
8 |
55 |
2 |
| send_packet |
|
4 |
16 |
116 |
4 |
| recv_packet |
|
24 |
106 |
660 |
3 |
| rip_hdr_sanity_check |
|
2 |
9 |
39 |
1 |
| find_iface |
|
7 |
16 |
120 |
3 |
| Source file: ./usr.sbin/ripd/rde_rib.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| route_start_timeout |
|
1 |
7 |
39 |
1 |
| route_start_garbage |
|
3 |
11 |
68 |
1 |
| route_action_timeout |
|
2 |
11 |
69 |
3 |
| route_action_garbage |
|
1 |
6 |
31 |
3 |
| route_reset_timers |
|
1 |
9 |
52 |
1 |
| rt_init |
|
1 |
4 |
12 |
1 |
| rt_compare |
|
5 |
12 |
121 |
2 |
| rt_find |
|
1 |
7 |
44 |
2 |
| rt_new_kr |
|
2 |
15 |
125 |
1 |
| rt_new_rr |
|
2 |
15 |
126 |
2 |
| rt_insert |
|
2 |
10 |
62 |
1 |
| rt_remove |
|
2 |
10 |
62 |
1 |
| rt_snap |
|
1 |
15 |
95 |
1 |
| rt_dump |
|
1 |
14 |
97 |
1 |
| rt_complete |
|
2 |
8 |
52 |
1 |
| rt_clear |
|
2 |
6 |
32 |
1 |
| Source file: ./usr.sbin/ripd/printconf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| print_mainconf |
|
5 |
18 |
85 |
1 |
| print_no |
|
2 |
7 |
24 |
1 |
| print_redistribute |
|
6 |
26 |
138 |
1 |
| print_iface |
|
5 |
25 |
126 |
1 |
| print_config |
|
1 |
9 |
42 |
1 |
| Source file: ./usr.sbin/ripd/log.h |
| Source file: ./usr.sbin/ripd/message.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| report_timer |
|
1 |
8 |
59 |
3 |
| start_report_timer |
|
1 |
7 |
41 |
1 |
| add_entry |
|
3 |
11 |
74 |
2 |
| delete_entry |
|
2 |
5 |
23 |
1 |
| clear_list |
|
2 |
9 |
50 |
1 |
| send_triggered_update |
|
3 |
32 |
270 |
2 |
| send_request |
|
10 |
59 |
438 |
3 |
| send_response |
|
14 |
73 |
524 |
3 |
| recv_request |
|
8 |
40 |
252 |
4 |
| recv_response |
|
8 |
39 |
253 |
4 |
| Source file: ./usr.sbin/ripd/ripd.h |
| Source file: ./usr.sbin/ripd/ripe.h |
| Source file: ./usr.sbin/ospfctl/parser.h |
| Source file: ./usr.sbin/ripd/neighbor.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| nbr_fsm |
|
11 |
47 |
261 |
2 |
| nbr_init |
|
4 |
12 |
88 |
1 |
| nbr_new |
|
3 |
22 |
162 |
2 |
| nbr_del |
|
1 |
9 |
49 |
1 |
| nbr_act_del |
|
3 |
11 |
67 |
1 |
| nbr_find_peerid |
|
2 |
11 |
52 |
1 |
| nbr_find_ip |
|
2 |
10 |
54 |
2 |
| nbr_failed_new |
|
3 |
18 |
126 |
1 |
| nbr_failed_find |
|
2 |
10 |
54 |
2 |
| nbr_failed_delete |
|
3 |
8 |
51 |
1 |
| nbr_timeout_timer |
|
2 |
8 |
42 |
3 |
| nbr_failed_timeout |
|
1 |
7 |
38 |
3 |
| nbr_set_timer |
|
2 |
8 |
46 |
1 |
| nbr_stop_timer |
|
2 |
5 |
27 |
1 |
| nbr_event_name |
|
1 |
4 |
15 |
1 |
| nbr_action_name |
|
1 |
4 |
15 |
1 |
| nbr_to_ctl |
|
4 |
24 |
204 |
1 |
| Source file: ./usr.sbin/switchctl/parser.h |
| Source file: ./usr.sbin/mrinfo/mrinfo.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| inet_name |
|
4 |
13 |
75 |
1 |
| logit |
|
11 |
29 |
147 |
4 |
| ask |
|
1 |
5 |
25 |
1 |
| ask2 |
|
1 |
5 |
25 |
1 |
| accept_neighbors |
|
3 |
24 |
151 |
5 |
| accept_neighbors2 |
|
19 |
53 |
364 |
5 |
| usage |
|
1 |
6 |
17 |
0 |
| main |
|
50 |
212 |
1301 |
2 |
| accept_probe |
|
1 |
4 |
20 |
5 |
| accept_group_report |
|
1 |
3 |
16 |
4 |
| accept_neighbor_request2 |
|
1 |
3 |
10 |
2 |
| accept_report |
|
1 |
4 |
20 |
5 |
| accept_neighbor_request |
|
1 |
3 |
10 |
2 |
| accept_prune |
|
1 |
3 |
17 |
4 |
| accept_graft |
|
1 |
3 |
17 |
4 |
| accept_g_ack |
|
1 |
3 |
17 |
4 |
| add_table_entry |
|
1 |
3 |
10 |
2 |
| check_vif_state |
|
1 |
3 |
6 |
1 |
| accept_leave_message |
|
1 |
3 |
13 |
3 |
| accept_mtrace |
|
1 |
4 |
23 |
6 |
| accept_membership_query |
|
1 |
3 |
16 |
4 |
| accept_info_request |
|
1 |
3 |
17 |
4 |
| accept_info_reply |
|
1 |
3 |
17 |
4 |
| Source file: ./usr.sbin/ospfctl/parser.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| parse |
|
6 |
24 |
150 |
2 |
| match_token |
|
29 |
74 |
448 |
3 |
| show_valid_args |
|
9 |
26 |
119 |
1 |
| parse_addr |
|
3 |
13 |
83 |
2 |
| parse_prefix |
|
4 |
19 |
143 |
3 |
| prefixlen2mask |
|
2 |
6 |
30 |
1 |
| Source file: ./usr.sbin/switchctl/ofpclient.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ofpclient |
|
16 |
64 |
442 |
2 |
| flowmod |
|
4 |
22 |
158 |
3 |
| ofpclient_read |
|
10 |
31 |
244 |
2 |
| ofrelay_write |
|
1 |
8 |
46 |
2 |
| switch_add |
|
1 |
6 |
27 |
1 |
| switch_learn |
|
1 |
5 |
26 |
4 |
| switch_cached |
|
1 |
4 |
18 |
2 |
| ofp_nextstate |
|
9 |
28 |
127 |
3 |
| Source file: ./usr.sbin/authpf/pathnames.h |
| Source file: ./usr.sbin/switchctl/switchctl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usage |
|
1 |
7 |
25 |
1 |
| main |
|
56 |
177 |
1037 |
2 |
| show_summary_msg |
|
8 |
36 |
208 |
2 |
| monitor_lookup |
|
3 |
8 |
54 |
1 |
| monitor |
|
3 |
16 |
126 |
1 |
| Source file: ./usr.sbin/ripd/kroute.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| kif_init |
|
2 |
7 |
32 |
1 |
| kr_init |
|
9 |
37 |
261 |
2 |
| kr_change_fib |
|
6 |
24 |
211 |
3 |
| kr_change |
|
2 |
10 |
60 |
1 |
| kr_delete |
|
5 |
17 |
128 |
1 |
| kr_shutdown |
|
1 |
6 |
18 |
1 |
| kr_fib_couple |
|
3 |
11 |
65 |
1 |
| kr_fib_decouple |
|
3 |
11 |
65 |
1 |
| kr_dispatch_msg |
|
1 |
4 |
18 |
3 |
| kr_show_route |
|
8 |
37 |
233 |
1 |
| kr_ifinfo |
|
3 |
10 |
75 |
2 |
| kr_redistribute |
|
10 |
26 |
162 |
2 |
| kroute_compare |
|
9 |
18 |
199 |
2 |
| kif_compare |
|
1 |
4 |
29 |
2 |
| kroute_find |
|
5 |
19 |
128 |
3 |
| kroute_insert |
|
4 |
20 |
132 |
1 |
| kroute_remove |
|
2 |
13 |
85 |
1 |
| kroute_clear |
|
2 |
6 |
32 |
1 |
| kif_find |
|
1 |
7 |
44 |
1 |
| kif_findname |
|
2 |
8 |
49 |
1 |
| kif_insert |
|
2 |
9 |
46 |
1 |
| kif_remove |
|
2 |
9 |
46 |
1 |
| kif_clear |
|
2 |
6 |
32 |
1 |
| kif_validate |
|
2 |
9 |
48 |
1 |
| kroute_match |
|
4 |
12 |
85 |
1 |
| protect_lo |
|
3 |
14 |
103 |
1 |
| prefixlen_classful |
|
5 |
13 |
60 |
1 |
| mask2prefixlen |
|
2 |
7 |
32 |
1 |
| prefixlen2mask |
|
2 |
6 |
33 |
1 |
| get_rtaddrs |
|
3 |
12 |
87 |
3 |
| if_change |
|
7 |
29 |
207 |
3 |
| if_announce |
|
4 |
21 |
119 |
1 |
| send_rtmsg |
|
8 |
68 |
511 |
3 |
| fetchtable |
|
26 |
114 |
774 |
1 |
| fetchifs |
|
13 |
65 |
518 |
1 |
| dispatch_rtmsg |
|
44 |
168 |
1042 |
1 |
| Source file: ./usr.sbin/iostat/iostat.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
22 |
70 |
346 |
2 |
| sigheader |
|
1 |
4 |
11 |
1 |
| header |
|
23 |
49 |
326 |
1 |
| disk_stats |
|
7 |
30 |
271 |
1 |
| disk_stats2 |
|
3 |
15 |
134 |
1 |
| cpustats |
|
4 |
11 |
77 |
1 |
| usage |
|
1 |
6 |
18 |
1 |
| display |
|
9 |
29 |
182 |
1 |
| selectdrives |
|
18 |
44 |
269 |
1 |
| Source file: ./usr.sbin/switchctl/parser.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| parse |
|
6 |
24 |
152 |
2 |
| parse_addr |
|
7 |
46 |
334 |
2 |
| match_token |
|
67 |
177 |
996 |
3 |
| show_valid_args |
|
21 |
41 |
208 |
2 |
| Source file: ./usr.sbin/hostapd/iapp.h |
| Source file: ./usr.sbin/authpf/authpf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
51 |
206 |
1372 |
2 |
| read_config |
|
24 |
54 |
415 |
1 |
| print_message |
|
5 |
16 |
96 |
1 |
| allowed_luser |
|
15 |
73 |
431 |
1 |
| check_luser |
|
8 |
36 |
220 |
2 |
| remove_stale_rulesets |
|
15 |
36 |
245 |
1 |
| recursive_ruleset_purge |
|
13 |
47 |
336 |
2 |
| change_filter |
|
21 |
93 |
615 |
3 |
| change_table |
|
9 |
32 |
234 |
2 |
| authpf_kill_states |
|
5 |
28 |
288 |
1 |
| need_death |
|
1 |
4 |
11 |
1 |
| do_death |
|
6 |
15 |
80 |
1 |
| Source file: ./usr.sbin/hostapd/handle.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| hostapd_handle_input |
|
2 |
11 |
80 |
3 |
| hostapd_handle_addr |
|
8 |
13 |
117 |
5 |
| hostapd_handle_ref |
|
5 |
14 |
116 |
6 |
| hostapd_handle_frame |
|
47 |
136 |
951 |
4 |
| hostapd_handle_action |
|
21 |
84 |
525 |
7 |
| hostapd_handle_radiotap |
|
7 |
49 |
347 |
3 |
| hostapd_cmp |
|
13 |
11 |
86 |
3 |
| Source file: ./usr.sbin/hostapd/hostapd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| hostapd_usage |
|
1 |
6 |
20 |
1 |
| hostapd_log |
|
4 |
20 |
116 |
3 |
| hostapd_printf |
|
6 |
24 |
167 |
2 |
| hostapd_fatal |
|
2 |
13 |
69 |
2 |
| hostapd_check_file_secrecy |
|
5 |
20 |
110 |
2 |
| hostapd_bpf_open |
|
5 |
16 |
94 |
1 |
| hostapd_udp_init |
|
11 |
64 |
580 |
1 |
| hostapd_sig_handler |
|
5 |
10 |
40 |
3 |
| hostapd_cleanup |
|
11 |
42 |
304 |
1 |
| main |
|
22 |
102 |
664 |
2 |
| hostapd_randval |
|
3 |
11 |
68 |
2 |
| hostapd_table_add |
|
4 |
18 |
134 |
2 |
| hostapd_table_lookup |
|
2 |
9 |
55 |
2 |
| hostapd_entry_add |
|
3 |
12 |
91 |
2 |
| hostapd_entry_lookup |
|
3 |
12 |
89 |
2 |
| hostapd_entry_update |
|
2 |
10 |
74 |
2 |
| hostapd_entry_cmp |
|
1 |
4 |
30 |
2 |
| Source file: ./usr.sbin/hostapd/iapp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| hostapd_iapp_init |
|
2 |
15 |
86 |
1 |
| hostapd_iapp_term |
|
2 |
12 |
66 |
1 |
| hostapd_iapp_add_notify |
|
4 |
35 |
278 |
2 |
| hostapd_iapp_radiotap |
|
6 |
44 |
298 |
3 |
| hostapd_iapp_input |
|
28 |
91 |
557 |
3 |
| Source file: ./usr.sbin/hostapd/hostapd.h |
| Source file: ./usr.sbin/hostapd/privsep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| hostapd_priv_init |
|
17 |
68 |
551 |
1 |
| hostapd_priv_getapme |
|
3 |
14 |
89 |
2 |
| hostapd_priv |
|
21 |
91 |
669 |
3 |
| hostapd_priv_apme_getnode |
|
4 |
18 |
149 |
2 |
| hostapd_priv_apme_setnode |
|
6 |
25 |
181 |
3 |
| hostapd_priv_apme_bssid |
|
4 |
18 |
142 |
1 |
| hostapd_priv_llc_xid |
|
3 |
13 |
93 |
2 |
| hostapd_priv_roaming |
|
4 |
19 |
137 |
3 |
| hostapd_sig_relay |
|
3 |
9 |
51 |
3 |
| hostapd_sig_chld |
|
2 |
5 |
28 |
3 |
| hostapd_may_read |
|
6 |
18 |
94 |
3 |
| hostapd_must_read |
|
6 |
18 |
91 |
3 |
| hostapd_must_write |
|
6 |
18 |
91 |
3 |
| Source file: ./usr.sbin/hostapd/llc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| hostapd_llc_init |
|
4 |
20 |
166 |
1 |
| hostapd_llc_send_xid |
|
2 |
20 |
183 |
2 |
| Source file: ./usr.sbin/rpc.bootparamd/pathnames.h |
| Source file: ./usr.sbin/hostapd/roaming.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| hostapd_roaming_init |
|
6 |
31 |
248 |
1 |
| hostapd_roaming_term |
|
7 |
22 |
158 |
1 |
| hostapd_roaming |
|
11 |
28 |
204 |
3 |
| hostapd_roaming_addr |
|
8 |
50 |
373 |
3 |
| hostapd_roaming_rt |
|
11 |
68 |
490 |
3 |
| hostapd_roaming_add |
|
1 |
4 |
26 |
2 |
| hostapd_roaming_del |
|
1 |
4 |
26 |
2 |
| Source file: ./usr.sbin/hostapd/apme.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| hostapd_apme_add |
|
4 |
20 |
141 |
2 |
| hostapd_apme_deauth |
|
2 |
27 |
219 |
1 |
| hostapd_apme_lookup |
|
2 |
9 |
55 |
2 |
| hostapd_apme_addhopper |
|
4 |
17 |
141 |
2 |
| hostapd_apme_sethopper |
|
4 |
12 |
106 |
2 |
| hostapd_apme_hopper |
|
5 |
24 |
161 |
3 |
| hostapd_apme_term |
|
4 |
19 |
128 |
1 |
| hostapd_apme_input |
|
4 |
23 |
164 |
3 |
| hostapd_apme_output |
|
8 |
43 |
355 |
2 |
| hostapd_apme_offset |
|
6 |
20 |
135 |
3 |
| hostapd_apme_frame |
|
15 |
48 |
359 |
3 |
| hostapd_apme_init |
|
6 |
28 |
261 |
1 |
| hostapd_apme_addnode |
|
1 |
4 |
26 |
2 |
| hostapd_apme_delnode |
|
1 |
4 |
26 |
2 |
| Source file: ./usr.sbin/ospfctl/ospfctl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usage |
|
1 |
7 |
25 |
1 |
| main |
|
76 |
219 |
1352 |
2 |
| show_summary_msg |
|
5 |
41 |
208 |
1 |
| get_ifms_type |
|
5 |
15 |
52 |
1 |
| show_interface_msg |
|
5 |
27 |
165 |
1 |
| show_interface_detail_msg |
|
9 |
75 |
413 |
1 |
| print_link |
|
2 |
7 |
24 |
1 |
| fmt_timeframe |
|
2 |
7 |
32 |
1 |
| fmt_timeframe_core |
|
5 |
29 |
179 |
1 |
| log_id |
|
2 |
10 |
54 |
1 |
| log_adv_rtr |
|
2 |
10 |
54 |
1 |
| mask2prefixlen |
|
2 |
7 |
32 |
1 |
| show_database_head |
|
18 |
53 |
276 |
3 |
| show_database_msg |
|
7 |
41 |
218 |
1 |
| print_ls_type |
|
9 |
23 |
84 |
1 |
| show_db_hdr_msg_detail |
|
9 |
37 |
229 |
1 |
| print_rtr_link_type |
|
5 |
15 |
52 |
1 |
| print_ospf_flags |
|
4 |
9 |
55 |
1 |
| show_db_msg_detail |
|
22 |
135 |
924 |
1 |
| show_nbr_msg |
|
5 |
24 |
156 |
1 |
| print_ospf_options |
|
9 |
14 |
95 |
1 |
| show_nbr_detail_msg |
|
3 |
33 |
205 |
1 |
| show_rib_msg |
|
9 |
36 |
206 |
1 |
| show_rib_head |
|
11 |
38 |
192 |
3 |
| print_ospf_rtr_flags |
|
5 |
9 |
59 |
1 |
| show_rib_detail_msg |
|
17 |
74 |
429 |
1 |
| show_fib_head |
|
1 |
5 |
24 |
1 |
| show_fib_msg |
|
11 |
42 |
253 |
1 |
| show_interface_head |
|
1 |
5 |
17 |
1 |
| get_media_descr |
|
3 |
8 |
48 |
1 |
| get_linkstate |
|
3 |
11 |
77 |
2 |
| print_baudrate |
|
4 |
11 |
80 |
1 |
| show_fib_interface_msg |
|
7 |
27 |
156 |
1 |
| Source file: ./usr.sbin/rpc.bootparamd/bootparamd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usage |
|
1 |
7 |
25 |
1 |
| main |
|
15 |
58 |
339 |
2 |
| bootparamproc_whoami_1_svc |
|
12 |
58 |
460 |
2 |
| bootparamproc_getfile_1_svc |
|
12 |
54 |
390 |
2 |
| lookup_bootparam |
|
19 |
57 |
374 |
5 |
| Source file: ./usr.sbin/hostapd/print-802_11.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ieee80211_hdr |
|
6 |
48 |
349 |
1 |
| ieee80211_print_element |
|
2 |
8 |
51 |
2 |
| ieee80211_print_essid |
|
7 |
18 |
118 |
2 |
| ieee80211_elements |
|
39 |
136 |
688 |
1 |
| ieee80211_frame |
|
17 |
68 |
293 |
1 |
| ieee80211_any2ieee |
|
5 |
15 |
82 |
2 |
| ieee80211_print |
|
3 |
7 |
33 |
1 |
| ieee802_11_if_print |
|
2 |
8 |
48 |
2 |
| ieee802_11_radio_if_print |
|
41 |
155 |
982 |
2 |
| hostapd_print_ieee80211 |
|
3 |
11 |
51 |
4 |
| Source file: ./usr.sbin/dhcrelay/dhcp.h |
| Source file: ./usr.sbin/dhcrelay/dispatch.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| iflist_getbyname |
|
2 |
10 |
46 |
1 |
| setup_iflist |
|
19 |
79 |
649 |
1 |
| register_interface |
|
5 |
18 |
137 |
3 |
| dispatch |
|
21 |
67 |
417 |
1 |
| got_one |
|
7 |
30 |
188 |
1 |
| interface_status |
|
9 |
45 |
263 |
1 |
| add_protocol |
|
2 |
13 |
82 |
4 |
| remove_protocol |
|
4 |
15 |
76 |
1 |
| Source file: ./usr.sbin/dhcrelay/dhcpd.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ss2sin |
|
1 |
4 |
19 |
1 |
| ss2sin6 |
|
1 |
4 |
19 |
1 |
| Source file: ./usr.sbin/dhcrelay/log.h |
| Source file: ./usr.sbin/dhcrelay/packet.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| checksum |
|
5 |
15 |
102 |
3 |
| wrapsum |
|
1 |
5 |
21 |
1 |
| assemble_hw_header |
|
3 |
19 |
119 |
5 |
| assemble_udp_ip_header |
|
2 |
33 |
362 |
6 |
| decode_hw_header |
|
7 |
36 |
225 |
5 |
| decode_udp_ip_header |
|
23 |
91 |
696 |
4 |
| Source file: ./usr.sbin/gpioctl/gpioctl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
34 |
105 |
754 |
2 |
| getinfo |
|
3 |
10 |
62 |
1 |
| pinread |
|
5 |
17 |
112 |
2 |
| pinwrite |
|
12 |
27 |
209 |
3 |
| pinset |
|
13 |
35 |
270 |
4 |
| unset |
|
3 |
11 |
79 |
2 |
| devattach |
|
2 |
11 |
90 |
4 |
| devdetach |
|
2 |
8 |
63 |
1 |
| usage |
|
1 |
13 |
63 |
1 |
| Source file: ./usr.sbin/dhcrelay/bpf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| if_register_bpf |
|
3 |
9 |
64 |
1 |
| if_register_send |
|
1 |
4 |
17 |
1 |
| if_register_receive |
|
14 |
48 |
350 |
0 |
| send_packet |
|
5 |
30 |
239 |
0 |
| receive_packet |
|
10 |
59 |
360 |
0 |
| Source file: ./usr.sbin/portmap/portmap.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
29 |
142 |
1057 |
2 |
| find_service |
|
5 |
14 |
88 |
3 |
| reg_service |
|
45 |
146 |
813 |
2 |
| xdr_encap_parms |
|
1 |
4 |
37 |
2 |
| portmap_xdr_rmtcall_args |
|
4 |
9 |
73 |
2 |
| portmap_xdr_rmtcallres |
|
2 |
6 |
47 |
2 |
| xdr_opaque_parms |
|
1 |
4 |
33 |
2 |
| xdr_len_opaque_parms |
|
3 |
18 |
116 |
2 |
| callit |
|
11 |
51 |
390 |
2 |
| reap |
|
2 |
7 |
30 |
1 |
| check_callit |
|
11 |
14 |
97 |
3 |
| Source file: ./usr.sbin/pppd/pathnames.h |
| Source file: ./usr.sbin/dhcrelay/dhcrelay.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
56 |
179 |
1193 |
2 |
| relay |
|
15 |
75 |
520 |
4 |
| usage |
|
1 |
8 |
26 |
1 |
| rdaemon |
|
7 |
25 |
138 |
1 |
| print_hw_addr |
|
6 |
22 |
145 |
3 |
| got_response |
|
8 |
36 |
286 |
1 |
| relay_agentinfo |
|
6 |
32 |
192 |
3 |
| relay_agentinfo_cmp |
|
9 |
29 |
192 |
3 |
| relay_agentinfo_append |
|
22 |
90 |
532 |
3 |
| relay_agentinfo_remove |
|
13 |
64 |
385 |
3 |
| get_rdomain |
|
3 |
13 |
101 |
1 |
| l2relay |
|
10 |
44 |
287 |
4 |
| Source file: ./usr.sbin/pppd/cbcp.h |
| Source file: ./usr.sbin/pppd/pppstats/pppstats.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usage |
|
1 |
8 |
24 |
0 |
| catchalarm |
|
1 |
5 |
13 |
1 |
| get_ppp_stats |
|
3 |
14 |
91 |
1 |
| get_ppp_cstats |
|
4 |
17 |
104 |
1 |
| intpr |
|
29 |
133 |
915 |
0 |
| main |
|
24 |
63 |
349 |
2 |
| Source file: ./usr.sbin/pppd/demand.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| demand_conf |
|
7 |
22 |
154 |
0 |
| demand_drop |
|
5 |
19 |
117 |
0 |
| demand_unblock |
|
4 |
8 |
58 |
0 |
| loop_chars |
|
12 |
39 |
173 |
2 |
| loop_frame |
|
6 |
24 |
132 |
2 |
| demand_rexmit |
|
5 |
24 |
122 |
1 |
| active_packet |
|
10 |
23 |
147 |
2 |
| Source file: ./usr.sbin/pppd/pppd.h |
| Source file: ./usr.sbin/pppd/fsm.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fsm_init |
|
1 |
12 |
58 |
1 |
| fsm_lowerup |
|
4 |
20 |
84 |
1 |
| fsm_lowerdown |
|
11 |
33 |
156 |
1 |
| fsm_open |
|
9 |
28 |
121 |
1 |
| fsm_close |
|
11 |
33 |
188 |
2 |
| fsm_timeout |
|
14 |
40 |
262 |
1 |
| fsm_input |
|
15 |
60 |
317 |
3 |
| fsm_rconfreq |
|
14 |
49 |
293 |
4 |
| fsm_rconfack |
|
13 |
47 |
283 |
4 |
| fsm_rconfnakrej |
|
15 |
46 |
291 |
5 |
| fsm_rtermreq |
|
6 |
29 |
182 |
4 |
| fsm_rtermack |
|
8 |
27 |
151 |
1 |
| fsm_rcoderej |
|
3 |
18 |
103 |
3 |
| fsm_protreject |
|
12 |
36 |
212 |
1 |
| fsm_sconfreq |
|
10 |
31 |
241 |
2 |
| fsm_sdata |
|
4 |
22 |
157 |
5 |
| Source file: ./usr.sbin/pppd/cbcp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cbcp_init |
|
1 |
9 |
50 |
1 |
| cbcp_lowerup |
|
2 |
9 |
56 |
1 |
| cbcp_open |
|
1 |
5 |
16 |
1 |
| cbcp_input |
|
8 |
40 |
186 |
3 |
| cbcp_protrej |
|
1 |
3 |
7 |
1 |
| switch |
|
11 |
34 |
195 |
0 |
| for |
|
1 |
4 |
28 |
1 |
| cbcp_recvreq |
|
10 |
42 |
218 |
3 |
| cbcp_resp |
|
6 |
43 |
292 |
1 |
| cbcp_send |
|
2 |
18 |
99 |
4 |
| cbcp_recvack |
|
6 |
25 |
136 |
3 |
| cbcp_up |
|
1 |
6 |
21 |
1 |
| Source file: ./usr.sbin/pppd/chat/chat.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dup_mem |
|
2 |
10 |
48 |
2 |
| copy_of |
|
1 |
5 |
23 |
1 |
| main |
|
24 |
84 |
352 |
2 |
| do_file |
|
18 |
51 |
271 |
1 |
| usage |
|
1 |
8 |
19 |
0 |
| logmsg |
|
3 |
11 |
66 |
2 |
| fatal |
|
3 |
12 |
74 |
3 |
| sigalrm |
|
4 |
14 |
83 |
1 |
| unalarm |
|
3 |
8 |
54 |
0 |
| sigint |
|
1 |
5 |
16 |
1 |
| sigterm |
|
1 |
5 |
16 |
1 |
| sighup |
|
1 |
5 |
16 |
1 |
| init |
|
1 |
10 |
46 |
0 |
| set_tty_parameters |
|
4 |
17 |
106 |
0 |
| break_sequence |
|
2 |
4 |
12 |
0 |
| terminate |
|
11 |
31 |
175 |
1 |
| clean |
|
71 |
181 |
817 |
2 |
| expect_strtok |
|
7 |
32 |
133 |
2 |
| chat_expect |
|
15 |
55 |
259 |
1 |
| character |
|
4 |
15 |
100 |
1 |
| chat_send |
|
35 |
117 |
678 |
1 |
| get_char |
|
5 |
18 |
107 |
0 |
| put_char |
|
5 |
20 |
113 |
1 |
| write_char |
|
6 |
16 |
68 |
1 |
| put_string |
|
10 |
40 |
162 |
1 |
| echo_stderr |
|
5 |
22 |
85 |
1 |
| get_string |
|
38 |
125 |
783 |
1 |
| pack_array |
|
6 |
16 |
100 |
2 |
| vfmtmsg |
|
57 |
192 |
1024 |
4 |
| Source file: ./usr.sbin/pppd/upap.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| upap_init |
|
1 |
16 |
85 |
1 |
| upap_authwithpeer |
|
3 |
17 |
95 |
3 |
| upap_authpeer |
|
4 |
13 |
68 |
1 |
| upap_timeout |
|
3 |
14 |
71 |
1 |
| upap_reqtimeout |
|
2 |
9 |
45 |
1 |
| upap_lowerup |
|
6 |
17 |
99 |
1 |
| upap_lowerdown |
|
4 |
11 |
67 |
1 |
| upap_protrej |
|
3 |
14 |
72 |
1 |
| upap_input |
|
7 |
40 |
186 |
3 |
| upap_rauthreq |
|
9 |
54 |
333 |
4 |
| upap_rauthack |
|
4 |
26 |
139 |
4 |
| upap_rauthnak |
|
4 |
27 |
146 |
4 |
| upap_sauthreq |
|
1 |
23 |
172 |
1 |
| upap_sresp |
|
1 |
19 |
122 |
5 |
| switch |
|
9 |
33 |
210 |
0 |
| for |
|
1 |
4 |
28 |
1 |
| Source file: ./usr.sbin/pppd/magic.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| magic_init |
|
1 |
3 |
5 |
0 |
| magic |
|
1 |
4 |
10 |
0 |
| Source file: ./usr.sbin/pppd/upap.h |
| Source file: ./usr.sbin/pppd/ipcp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ip_ntoa |
|
1 |
12 |
73 |
1 |
| ipcp_init |
|
1 |
24 |
163 |
1 |
| ipcp_open |
|
1 |
5 |
18 |
1 |
| ipcp_close |
|
1 |
6 |
26 |
2 |
| ipcp_lowerup |
|
1 |
5 |
18 |
1 |
| ipcp_lowerdown |
|
1 |
5 |
18 |
1 |
| ipcp_input |
|
1 |
7 |
33 |
3 |
| ipcp_protrej |
|
1 |
5 |
18 |
1 |
| ipcp_resetci |
|
4 |
12 |
86 |
1 |
| ipcp_cilen |
|
10 |
24 |
173 |
1 |
| ipcp_addci |
|
2 |
13 |
99 |
3 |
| ipcp_ackci |
|
3 |
20 |
132 |
3 |
| ipcp_nakci |
|
37 |
101 |
576 |
3 |
| ipcp_rejci |
|
4 |
24 |
143 |
3 |
| ipcp_reqci |
|
64 |
231 |
1327 |
4 |
| ip_check_options |
|
11 |
22 |
128 |
0 |
| ip_demand_conf |
|
8 |
20 |
154 |
1 |
| ipcp_up |
|
24 |
83 |
684 |
1 |
| ipcp_down |
|
2 |
14 |
82 |
1 |
| ipcp_clear_addrs |
|
3 |
16 |
89 |
1 |
| ipcp_finished |
|
1 |
5 |
19 |
1 |
| ipcp_script |
|
1 |
21 |
156 |
2 |
| switch |
|
26 |
79 |
391 |
0 |
| for |
|
1 |
4 |
28 |
1 |
| ip_active_pkt |
|
7 |
22 |
123 |
2 |
| Source file: ./usr.sbin/pppd/patchlevel.h |
| Source file: ./usr.sbin/pppd/chap.h |
| Source file: ./usr.sbin/pppd/sys-bsd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sys_init |
|
2 |
7 |
36 |
0 |
| sys_cleanup |
|
7 |
18 |
123 |
0 |
| sys_close |
|
2 |
8 |
28 |
0 |
| sys_check_options |
|
1 |
3 |
5 |
0 |
| ppp_available |
|
2 |
15 |
84 |
0 |
| establish_ppp |
|
14 |
52 |
322 |
1 |
| restore_loop |
|
5 |
23 |
123 |
0 |
| disestablish_ppp |
|
6 |
12 |
80 |
1 |
| clean_check |
|
7 |
26 |
111 |
0 |
| set_up_tty |
|
12 |
48 |
292 |
2 |
| restore_tty |
|
5 |
14 |
73 |
1 |
| setdtr |
|
2 |
6 |
34 |
2 |
| open_ppp_loopback |
|
11 |
41 |
302 |
0 |
| output |
|
4 |
12 |
63 |
3 |
| wait_input |
|
4 |
19 |
130 |
1 |
| wait_loop_output |
|
4 |
19 |
130 |
1 |
| wait_time |
|
3 |
10 |
53 |
1 |
| read_packet |
|
4 |
12 |
63 |
1 |
| get_loop_output |
|
5 |
17 |
92 |
0 |
| ppp_send_config |
|
7 |
28 |
202 |
5 |
| ppp_set_xaccm |
|
3 |
7 |
38 |
2 |
| ppp_recv_config |
|
6 |
24 |
164 |
5 |
| ccp_test |
|
3 |
12 |
77 |
4 |
| ccp_flags_set |
|
5 |
13 |
98 |
3 |
| ccp_fatal_error |
|
2 |
10 |
46 |
1 |
| get_idle_time |
|
1 |
6 |
28 |
2 |
| set_filters |
|
5 |
18 |
96 |
2 |
| sifvjcomp |
|
7 |
20 |
141 |
4 |
| sifup |
|
3 |
17 |
100 |
1 |
| sifnpmode |
|
2 |
14 |
69 |
3 |
| sifdown |
|
3 |
24 |
142 |
1 |
| sifaddr |
|
6 |
38 |
317 |
4 |
| cifaddr |
|
3 |
19 |
152 |
3 |
| sifdefaultroute |
|
1 |
6 |
26 |
3 |
| cifdefaultroute |
|
1 |
6 |
26 |
3 |
| dodefaultroute |
|
7 |
40 |
287 |
2 |
| sifproxyarp |
|
4 |
36 |
256 |
2 |
| cifproxyarp |
|
4 |
23 |
122 |
2 |
| sifproxyarp |
|
3 |
27 |
183 |
2 |
| cifproxyarp |
|
2 |
15 |
92 |
2 |
| get_ether_addr |
|
10 |
41 |
272 |
2 |
| GetMask |
|
8 |
31 |
199 |
1 |
| lock |
|
9 |
46 |
304 |
1 |
| unlock |
|
2 |
8 |
25 |
0 |
| Source file: ./usr.sbin/pppd/chap.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ChapInit |
|
1 |
11 |
60 |
1 |
| ChapAuthWithPeer |
|
3 |
15 |
72 |
3 |
| ChapAuthPeer |
|
3 |
17 |
82 |
3 |
| ChapChallengeTimeout |
|
4 |
15 |
77 |
1 |
| ChapResponseTimeout |
|
2 |
8 |
35 |
1 |
| ChapRechallenge |
|
2 |
10 |
46 |
1 |
| ChapLowerUp |
|
5 |
16 |
89 |
1 |
| ChapLowerDown |
|
6 |
15 |
89 |
1 |
| ChapProtocolReject |
|
5 |
12 |
66 |
1 |
| ChapInput |
|
8 |
44 |
211 |
3 |
| ChapReceiveChallenge |
|
12 |
70 |
428 |
4 |
| ChapReceiveResponse |
|
16 |
90 |
526 |
4 |
| ChapReceiveSuccess |
|
4 |
20 |
107 |
4 |
| ChapReceiveFailure |
|
3 |
18 |
98 |
4 |
| ChapSendChallenge |
|
1 |
23 |
162 |
1 |
| ChapSendStatus |
|
2 |
23 |
143 |
2 |
| ChapGenChallenge |
|
1 |
11 |
56 |
1 |
| ChapSendResponse |
|
1 |
22 |
154 |
1 |
| switch |
|
9 |
29 |
170 |
0 |
| Source file: ./usr.sbin/pppd/lcp.h |
| Source file: ./usr.sbin/pppd/ccp.h |
| Source file: ./usr.sbin/pppd/magic.h |
| Source file: ./usr.sbin/pppd/auth.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| link_required |
|
1 |
4 |
9 |
1 |
| link_terminated |
|
3 |
10 |
36 |
1 |
| link_down |
|
9 |
22 |
131 |
1 |
| link_established |
|
17 |
45 |
287 |
1 |
| network_phase |
|
14 |
28 |
169 |
1 |
| auth_peer_fail |
|
1 |
5 |
20 |
2 |
| auth_peer_success |
|
5 |
26 |
125 |
4 |
| auth_withpeer_fail |
|
2 |
6 |
24 |
2 |
| auth_withpeer_success |
|
5 |
21 |
84 |
2 |
| np_up |
|
5 |
14 |
69 |
2 |
| np_down |
|
3 |
7 |
33 |
2 |
| np_finished |
|
2 |
7 |
29 |
2 |
| check_idle |
|
3 |
15 |
79 |
1 |
| connect_time_expired |
|
1 |
6 |
24 |
1 |
| auth_check_options |
|
25 |
42 |
283 |
0 |
| auth_reset |
|
10 |
18 |
140 |
1 |
| check_passwd |
|
17 |
72 |
470 |
7 |
| plogin |
|
6 |
31 |
215 |
4 |
| plogout |
|
2 |
9 |
43 |
0 |
| null_login |
|
5 |
24 |
145 |
1 |
| get_pap_passwd |
|
5 |
23 |
127 |
1 |
| have_pap_secret |
|
4 |
18 |
99 |
0 |
| have_chap_secret |
|
5 |
22 |
117 |
3 |
| get_secret |
|
5 |
39 |
218 |
6 |
| set_allowed_addrs |
|
11 |
21 |
164 |
2 |
| auth_ip_addr |
|
1 |
6 |
25 |
2 |
| ip_addr_check |
|
19 |
65 |
368 |
2 |
| bad_ip_adrs |
|
3 |
7 |
36 |
1 |
| check_access |
|
3 |
11 |
74 |
2 |
| scan_authfile |
|
36 |
104 |
612 |
7 |
| free_wordlist |
|
2 |
10 |
39 |
1 |
| auth_script |
|
3 |
24 |
156 |
1 |
| Source file: ./usr.sbin/pppd/ipcp.h |
| Source file: ./usr.sbin/pppd/fsm.h |
| Source file: ./usr.sbin/cron/pathnames.h |
| Source file: ./usr.sbin/pppd/lcp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| lcp_init |
|
2 |
41 |
259 |
1 |
| lcp_open |
|
3 |
12 |
64 |
1 |
| lcp_close |
|
4 |
13 |
78 |
2 |
| lcp_lowerup |
|
1 |
12 |
90 |
1 |
| lcp_lowerdown |
|
1 |
5 |
18 |
1 |
| lcp_input |
|
1 |
8 |
39 |
3 |
| lcp_extcode |
|
6 |
29 |
140 |
5 |
| lcp_rprotrej |
|
6 |
31 |
163 |
3 |
| lcp_protrej |
|
1 |
7 |
27 |
1 |
| lcp_sprotrej |
|
1 |
10 |
51 |
3 |
| lcp_resetci |
|
1 |
9 |
64 |
1 |
| lcp_cilen |
|
4 |
14 |
105 |
1 |
| lcp_addci |
|
5 |
21 |
182 |
3 |
| lcp_ackci |
|
5 |
26 |
200 |
3 |
| lcp_nakci |
|
61 |
138 |
768 |
3 |
| lcp_rejci |
|
4 |
31 |
187 |
3 |
| lcp_reqci |
|
54 |
247 |
1271 |
4 |
| lcp_up |
|
8 |
22 |
207 |
1 |
| lcp_down |
|
2 |
12 |
89 |
1 |
| lcp_starting |
|
1 |
5 |
17 |
1 |
| lcp_finished |
|
1 |
5 |
17 |
1 |
| switch |
|
38 |
122 |
548 |
0 |
| for |
|
1 |
4 |
28 |
1 |
| LcpLinkFailure |
|
2 |
9 |
45 |
1 |
| LcpEchoCheck |
|
1 |
8 |
35 |
1 |
| LcpEchoTimeout |
|
2 |
8 |
31 |
1 |
| lcp_received_echo_reply |
|
4 |
17 |
92 |
4 |
| LcpSendEchoRequest |
|
4 |
19 |
100 |
1 |
| lcp_echo_lowerup |
|
2 |
10 |
42 |
1 |
| lcp_echo_lowerdown |
|
2 |
9 |
38 |
1 |
| Source file: ./usr.sbin/cron/misc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| get_char |
|
2 |
8 |
35 |
1 |
| unget_char |
|
2 |
6 |
30 |
2 |
| get_string |
|
5 |
13 |
78 |
4 |
| skip_comments |
|
10 |
16 |
93 |
1 |
| first_word |
|
6 |
17 |
127 |
2 |
| Source file: ./usr.sbin/cron/user.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| free_user |
|
2 |
10 |
55 |
1 |
| parse_error |
|
1 |
5 |
25 |
1 |
| load_user |
|
12 |
66 |
350 |
3 |
| Source file: ./usr.sbin/cron/atrun.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| strtot |
|
6 |
12 |
91 |
3 |
| scan_atjobs |
|
19 |
74 |
523 |
2 |
| atrun |
|
16 |
61 |
411 |
3 |
| run_job |
|
64 |
249 |
1741 |
3 |
| Source file: ./usr.sbin/cron/funcs.h |
| Source file: ./usr.sbin/pppd/options.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| parse_args |
|
9 |
39 |
209 |
2 |
| scan_args |
|
5 |
20 |
102 |
2 |
| usage |
|
2 |
6 |
26 |
0 |
| showhelp |
|
2 |
9 |
30 |
1 |
| showversion |
|
2 |
10 |
39 |
1 |
| options_from_file |
|
15 |
62 |
360 |
4 |
| options_from_user |
|
5 |
15 |
105 |
0 |
| options_for_tty |
|
4 |
15 |
93 |
0 |
| option_error |
|
2 |
11 |
71 |
2 |
| readable |
|
7 |
22 |
136 |
1 |
| getword |
|
43 |
147 |
663 |
4 |
| number_option |
|
2 |
14 |
61 |
3 |
| int_option |
|
2 |
10 |
46 |
2 |
| readfile |
|
1 |
5 |
23 |
1 |
| callfile |
|
13 |
34 |
226 |
1 |
| setdebug |
|
1 |
6 |
18 |
1 |
| setkdebug |
|
1 |
5 |
20 |
1 |
| setpdebug |
|
1 |
5 |
20 |
1 |
| setpassfilter |
|
2 |
10 |
59 |
1 |
| setactivefilter |
|
2 |
10 |
59 |
1 |
| noopt |
|
1 |
9 |
91 |
1 |
| noaccomp |
|
1 |
7 |
33 |
1 |
| noasyncmap |
|
1 |
7 |
33 |
1 |
| noip |
|
1 |
6 |
21 |
1 |
| nomagicnumber |
|
1 |
7 |
33 |
1 |
| nomru |
|
1 |
7 |
33 |
1 |
| setmru |
|
2 |
10 |
53 |
1 |
| setmtu |
|
5 |
14 |
76 |
1 |
| setcbcp |
|
2 |
12 |
87 |
1 |
| nopcomp |
|
1 |
7 |
33 |
1 |
| setpassive |
|
1 |
6 |
24 |
1 |
| setsilent |
|
1 |
6 |
22 |
1 |
| nopap |
|
1 |
6 |
19 |
1 |
| reqpap |
|
1 |
7 |
27 |
1 |
| nochap |
|
1 |
6 |
19 |
1 |
| reqchap |
|
1 |
7 |
29 |
1 |
| setnovj |
|
1 |
7 |
33 |
1 |
| setnovjccomp |
|
1 |
7 |
31 |
1 |
| setvjslots |
|
4 |
14 |
69 |
1 |
| setconnector |
|
2 |
10 |
46 |
1 |
| setdisconnector |
|
2 |
10 |
46 |
1 |
| setwelcomer |
|
2 |
10 |
46 |
1 |
| setmaxconnect |
|
6 |
17 |
77 |
1 |
| setdomain |
|
4 |
16 |
81 |
1 |
| setasyncmap |
|
2 |
10 |
53 |
1 |
| setescape |
|
10 |
25 |
148 |
1 |
| setspeed |
|
4 |
11 |
54 |
1 |
| setdevname |
|
6 |
25 |
141 |
2 |
| setipaddr |
|
14 |
52 |
315 |
1 |
| setnoipdflt |
|
1 |
6 |
17 |
1 |
| setipcpaccl |
|
1 |
6 |
22 |
1 |
| setipcpaccr |
|
1 |
6 |
22 |
1 |
| setnetmask |
|
3 |
11 |
63 |
1 |
| setcrtscts |
|
1 |
6 |
19 |
1 |
| setnocrtscts |
|
1 |
6 |
20 |
1 |
| setxonxoff |
|
1 |
8 |
38 |
1 |
| setnodetach |
|
1 |
6 |
19 |
1 |
| setupdetach |
|
1 |
6 |
20 |
1 |
| setdemand |
|
1 |
7 |
21 |
1 |
| setmodem |
|
1 |
6 |
17 |
1 |
| setmodem_chat |
|
1 |
6 |
17 |
1 |
| setlocal |
|
1 |
6 |
17 |
1 |
| setlock |
|
1 |
6 |
17 |
1 |
| setusehostname |
|
1 |
6 |
17 |
1 |
| setname |
|
2 |
10 |
40 |
1 |
| setuser |
|
1 |
6 |
25 |
1 |
| setremote |
|
1 |
6 |
25 |
1 |
| setauth |
|
2 |
10 |
39 |
1 |
| setnoauth |
|
4 |
14 |
55 |
1 |
| setdefaultroute |
|
2 |
10 |
42 |
1 |
| setnodefaultroute |
|
1 |
7 |
31 |
1 |
| setproxyarp |
|
2 |
10 |
42 |
1 |
| setnoproxyarp |
|
1 |
7 |
31 |
1 |
| setpersist |
|
1 |
6 |
17 |
1 |
| setnopersist |
|
1 |
6 |
17 |
1 |
| setdologin |
|
1 |
6 |
17 |
1 |
| setlcpechointv |
|
1 |
5 |
20 |
1 |
| setlcpechofails |
|
1 |
5 |
20 |
1 |
| setlcptimeout |
|
1 |
5 |
25 |
1 |
| setlcpterm |
|
1 |
5 |
25 |
1 |
| setlcpconf |
|
1 |
5 |
25 |
1 |
| setlcpfails |
|
1 |
5 |
25 |
1 |
| setipcptimeout |
|
1 |
5 |
25 |
1 |
| setipcpterm |
|
1 |
5 |
25 |
1 |
| setipcpconf |
|
1 |
5 |
25 |
1 |
| setipcpfails |
|
1 |
5 |
25 |
1 |
| setpaptimeout |
|
1 |
5 |
25 |
1 |
| setpapreqtime |
|
1 |
5 |
25 |
1 |
| setpapreqs |
|
1 |
5 |
25 |
1 |
| setchaptimeout |
|
1 |
5 |
25 |
1 |
| setchapchal |
|
1 |
5 |
25 |
1 |
| setchapintv |
|
1 |
5 |
25 |
1 |
| noccp |
|
1 |
6 |
19 |
1 |
| setbsdcomp |
|
13 |
33 |
219 |
1 |
| setnobsdcomp |
|
1 |
7 |
31 |
1 |
| setdeflate |
|
13 |
34 |
219 |
1 |
| setnodeflate |
|
1 |
7 |
31 |
1 |
| setnodeflatedraft |
|
1 |
7 |
31 |
1 |
| setpred1comp |
|
1 |
7 |
31 |
1 |
| setnopred1comp |
|
1 |
7 |
31 |
1 |
| setipparam |
|
2 |
8 |
32 |
1 |
| setpapcrypt |
|
1 |
6 |
17 |
1 |
| setidle |
|
1 |
5 |
20 |
1 |
| setholdoff |
|
1 |
5 |
20 |
1 |
| setdnsaddr |
|
4 |
18 |
123 |
1 |
| setwinsaddr |
|
4 |
18 |
123 |
1 |
| setmslanman |
|
1 |
6 |
19 |
1 |
| Source file: ./usr.sbin/cron/popen.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cron_popen |
|
15 |
58 |
418 |
4 |
| cron_pclose |
|
5 |
20 |
136 |
2 |
| Source file: ./usr.sbin/pppd/main.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
84 |
258 |
1577 |
2 |
| detach |
|
3 |
11 |
44 |
0 |
| holdoff_end |
|
1 |
5 |
14 |
1 |
| get_input |
|
19 |
53 |
309 |
0 |
| quit |
|
1 |
4 |
10 |
0 |
| die |
|
1 |
8 |
34 |
1 |
| cleanup |
|
3 |
8 |
27 |
0 |
| close_tty |
|
3 |
13 |
60 |
0 |
| if |
|
1 |
4 |
36 |
1 |
| if |
|
1 |
5 |
36 |
0 |
| calltimeout |
|
6 |
18 |
114 |
0 |
| timeleft |
|
4 |
16 |
99 |
0 |
| kill_my_pg |
|
1 |
10 |
55 |
0 |
| hup |
|
3 |
13 |
56 |
0 |
| term |
|
3 |
14 |
62 |
0 |
| chld |
|
1 |
7 |
22 |
0 |
| toggle_debug |
|
2 |
10 |
39 |
0 |
| open_ccp |
|
1 |
5 |
13 |
0 |
| bad_signal |
|
3 |
12 |
54 |
0 |
| device_script |
|
16 |
64 |
365 |
0 |
| run_program |
|
10 |
50 |
303 |
0 |
| reap_kids |
|
6 |
19 |
93 |
0 |
| log_packet |
|
2 |
12 |
71 |
0 |
| if |
|
4 |
17 |
131 |
0 |
| for |
|
1 |
4 |
28 |
0 |
| pr_log |
|
2 |
15 |
102 |
0 |
| for |
|
8 |
22 |
112 |
1 |
| novm |
|
1 |
6 |
24 |
1 |
| fmtmsg |
|
1 |
9 |
51 |
4 |
| vfmtmsg |
|
59 |
201 |
1071 |
4 |
| script_setenv |
|
9 |
35 |
229 |
2 |
| Source file: ./usr.sbin/cron/structs.h |
| Source file: ./usr.sbin/cron/globals.h |
| Source file: ./usr.sbin/cron/cron.h |
| Source file: ./usr.sbin/cron/macros.h |
| Source file: ./usr.sbin/cron/client.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| in_file |
|
7 |
20 |
129 |
3 |
| allowed |
|
4 |
16 |
119 |
3 |
| poke_daemon |
|
6 |
23 |
166 |
1 |
| Source file: ./usr.sbin/cron/env.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| env_init |
|
2 |
7 |
37 |
1 |
| env_free |
|
2 |
7 |
37 |
1 |
| env_copy |
|
6 |
21 |
141 |
1 |
| env_find |
|
7 |
18 |
147 |
3 |
| env_get |
|
1 |
5 |
28 |
2 |
| env_set |
|
4 |
20 |
131 |
2 |
| load_env |
|
31 |
89 |
449 |
2 |
| Source file: ./usr.sbin/cron/entry.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| free_entry |
|
2 |
8 |
40 |
1 |
| load_entry |
|
55 |
217 |
1507 |
4 |
| get_list |
|
4 |
18 |
120 |
6 |
| get_range |
|
15 |
46 |
313 |
6 |
| get_number |
|
12 |
41 |
248 |
6 |
| set_element |
|
3 |
7 |
48 |
4 |
| Source file: ./usr.sbin/cron/database.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| load_database |
|
14 |
59 |
422 |
1 |
| find_user |
|
3 |
11 |
60 |
2 |
| process_crontab |
|
22 |
70 |
530 |
6 |
| Source file: ./usr.sbin/cron/config.h |
| Source file: ./usr.sbin/cron/job.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| job_add |
|
4 |
12 |
81 |
2 |
| job_runqueue |
|
2 |
12 |
61 |
1 |
| Source file: ./usr.sbin/pppd/ccp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ccp_init |
|
1 |
26 |
224 |
1 |
| ccp_open |
|
3 |
11 |
63 |
1 |
| ccp_close |
|
1 |
7 |
35 |
2 |
| ccp_lowerup |
|
1 |
5 |
18 |
1 |
| ccp_lowerdown |
|
1 |
5 |
18 |
1 |
| ccp_input |
|
7 |
15 |
103 |
3 |
| ccp_extcode |
|
6 |
23 |
116 |
5 |
| ccp_protrej |
|
1 |
6 |
27 |
1 |
| ccp_resetci |
|
14 |
47 |
344 |
1 |
| ccp_cilen |
|
5 |
9 |
63 |
1 |
| ccp_addci |
|
23 |
77 |
487 |
3 |
| ccp_ackci |
|
36 |
61 |
358 |
3 |
| ccp_nakci |
|
23 |
45 |
315 |
3 |
| ccp_rejci |
|
35 |
61 |
393 |
3 |
| ccp_reqci |
|
59 |
140 |
830 |
4 |
| method_name |
|
13 |
35 |
204 |
2 |
| ccp_up |
|
5 |
24 |
169 |
1 |
| ccp_down |
|
2 |
8 |
48 |
1 |
| switch |
|
26 |
61 |
327 |
0 |
| ccp_datainput |
|
4 |
21 |
132 |
0 |
| ccp_rack_timeout |
|
3 |
11 |
78 |
0 |
| Source file: ./usr.sbin/cron/do_command.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| do_command |
|
3 |
14 |
54 |
2 |
| child_process |
|
52 |
220 |
1381 |
2 |
| safe_p |
|
8 |
15 |
121 |
2 |
| Source file: ./usr.sbin/switchd/types.h |
| Source file: ./usr.sbin/cron/cron.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usage |
|
1 |
5 |
20 |
1 |
| main |
|
21 |
111 |
656 |
2 |
| run_reboot_jobs |
|
2 |
12 |
64 |
1 |
| find_jobs |
|
13 |
30 |
255 |
4 |
| set_time |
|
3 |
12 |
73 |
1 |
| cron_sleep |
|
14 |
57 |
380 |
2 |
| open_socket |
|
8 |
46 |
308 |
1 |
| sigchld_handler |
|
1 |
4 |
11 |
1 |
| sigchld_reaper |
|
5 |
18 |
64 |
1 |
| parse_args |
|
8 |
23 |
112 |
2 |
| Source file: ./usr.sbin/switchd/timer.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| timer_set |
|
1 |
8 |
62 |
4 |
| timer_add |
|
3 |
8 |
64 |
3 |
| timer_del |
|
4 |
6 |
42 |
2 |
| timer_callback |
|
2 |
6 |
40 |
3 |
| Source file: ./usr.sbin/switchd/log.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| log_init |
|
2 |
10 |
48 |
2 |
| log_procinit |
|
2 |
5 |
19 |
1 |
| log_setverbose |
|
1 |
4 |
11 |
1 |
| log_getverbose |
|
1 |
4 |
11 |
1 |
| logit |
|
1 |
7 |
38 |
3 |
| vlog |
|
3 |
17 |
99 |
3 |
| log_warn |
|
3 |
21 |
120 |
2 |
| log_warnx |
|
1 |
7 |
35 |
2 |
| log_info |
|
1 |
7 |
35 |
2 |
| log_debug |
|
2 |
9 |
43 |
2 |
| vfatalc |
|
3 |
17 |
106 |
3 |
| fatal |
|
1 |
8 |
40 |
2 |
| fatalx |
|
1 |
8 |
40 |
2 |
| Source file: ./usr.sbin/cron/crontab.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usage |
|
2 |
13 |
55 |
1 |
| main |
|
8 |
41 |
192 |
2 |
| parse_args |
|
23 |
67 |
400 |
2 |
| list_cmd |
|
4 |
18 |
119 |
1 |
| delete_cmd |
|
4 |
15 |
99 |
1 |
| check_error |
|
1 |
5 |
27 |
1 |
| edit_cmd |
|
26 |
109 |
635 |
1 |
| replace_cmd |
|
24 |
114 |
709 |
1 |
| editit |
|
12 |
46 |
332 |
1 |
| die |
|
2 |
6 |
27 |
1 |
| copy_crontab |
|
8 |
19 |
109 |
2 |
| Source file: ./usr.sbin/switchd/switchd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usage |
|
1 |
8 |
27 |
1 |
| main |
|
27 |
122 |
790 |
2 |
| switchd_socket |
|
7 |
26 |
174 |
2 |
| switchd_listen |
|
4 |
14 |
86 |
1 |
| switchd_tap |
|
3 |
12 |
72 |
1 |
| switchd_connbyid |
|
3 |
9 |
59 |
3 |
| switchd_connbyaddr |
|
2 |
10 |
64 |
2 |
| parent_sig_handler |
|
6 |
22 |
92 |
3 |
| parent_configure |
|
2 |
13 |
94 |
1 |
| parent_reload |
|
4 |
35 |
240 |
1 |
| parent_dispatch_control |
|
7 |
40 |
270 |
3 |
| parent_shutdown |
|
1 |
7 |
32 |
1 |
| parent_connect |
|
15 |
71 |
456 |
2 |
| parent_connected |
|
5 |
26 |
167 |
3 |
| parent_disconnect |
|
2 |
10 |
75 |
2 |
| Source file: ./usr.sbin/switchd/imsg_util.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ibuf_cat |
|
1 |
4 |
31 |
2 |
| ibuf_zero |
|
1 |
4 |
20 |
1 |
| ibuf_reset |
|
1 |
5 |
24 |
1 |
| ibuf_new |
|
6 |
20 |
107 |
2 |
| ibuf_static |
|
2 |
8 |
39 |
1 |
| ibuf_advance |
|
2 |
7 |
45 |
2 |
| ibuf_release |
|
3 |
10 |
44 |
1 |
| ibuf_length |
|
3 |
6 |
34 |
1 |
| ibuf_data |
|
1 |
4 |
21 |
1 |
| ibuf_getdata |
|
2 |
8 |
51 |
2 |
| ibuf_dataleft |
|
1 |
4 |
20 |
1 |
| ibuf_dataoffset |
|
1 |
4 |
16 |
1 |
| ibuf_get |
|
2 |
7 |
46 |
2 |
| ibuf_dup |
|
2 |
6 |
36 |
1 |
| ibuf_random |
|
3 |
13 |
73 |
1 |
| ibuf_setsize |
|
2 |
7 |
37 |
2 |
| ibuf_setmax |
|
2 |
7 |
37 |
2 |
| ibuf_prepend |
|
3 |
14 |
97 |
3 |
| Source file: ./usr.sbin/switchd/ofp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ofp |
|
1 |
5 |
39 |
2 |
| ofp_run |
|
2 |
9 |
68 |
3 |
| ofp_dispatch_control |
|
2 |
10 |
52 |
3 |
| ofp_dispatch_parent |
|
7 |
28 |
195 |
3 |
| ofp_input |
|
13 |
41 |
263 |
2 |
| ofp_open |
|
4 |
13 |
100 |
2 |
| ofp_close |
|
1 |
4 |
14 |
1 |
| ofp_nextstate |
|
11 |
36 |
181 |
3 |
| Source file: ./usr.sbin/switchd/packet.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| packet_ether_unicast |
|
4 |
8 |
48 |
1 |
| packet_input |
|
10 |
33 |
264 |
7 |
| Source file: ./usr.sbin/switchd/ofp10.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ofp10_validate |
|
5 |
20 |
130 |
5 |
| ofp10_validate_packet_in |
|
6 |
33 |
226 |
5 |
| ofp10_validate_packet_out |
|
6 |
46 |
304 |
5 |
| ofp10_validate_error |
|
5 |
28 |
170 |
5 |
| ofp10_input |
|
4 |
14 |
121 |
4 |
| ofp10_hello |
|
3 |
11 |
82 |
4 |
| ofp10_features_reply |
|
1 |
5 |
36 |
4 |
| ofp10_validate_features_reply |
|
5 |
35 |
265 |
5 |
| ofp10_echo_request |
|
2 |
9 |
73 |
4 |
| ofp10_packet_match |
|
5 |
14 |
113 |
3 |
| ofp10_packet_in |
|
22 |
85 |
632 |
4 |
| Source file: ./usr.sbin/switchd/ofp10.h |
| Source file: ./usr.sbin/switchd/control.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| control |
|
1 |
4 |
32 |
2 |
| control_run |
|
2 |
5 |
35 |
3 |
| control_dispatch_ofp |
|
6 |
29 |
218 |
3 |
| control_init |
|
9 |
50 |
372 |
2 |
| control_listen |
|
3 |
14 |
96 |
1 |
| control_cleanup |
|
2 |
8 |
45 |
1 |
| control_accept |
|
9 |
37 |
291 |
3 |
| control_connbyfd |
|
2 |
9 |
42 |
1 |
| control_close |
|
3 |
17 |
123 |
2 |
| control_dispatch_imsg |
|
18 |
69 |
433 |
3 |
| control_imsg_forward |
|
2 |
9 |
70 |
1 |
| Source file: ./usr.sbin/switchd/ofcconn.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ofcconn |
|
1 |
5 |
38 |
2 |
| ofcconn_run |
|
2 |
5 |
35 |
3 |
| ofcconn_shutdown |
|
1 |
8 |
37 |
1 |
| ofcconn_dispatch_parent |
|
8 |
40 |
260 |
3 |
| ofsw_create |
|
4 |
23 |
161 |
2 |
| ofsw_close |
|
2 |
13 |
74 |
1 |
| ofsw_free |
|
2 |
8 |
39 |
1 |
| ofsw_on_io |
|
10 |
42 |
252 |
3 |
| ofsw_write |
|
14 |
57 |
368 |
2 |
| ofsw_ofc_write_ready |
|
3 |
14 |
61 |
1 |
| ofsw_reset_event_handlers |
|
5 |
15 |
102 |
1 |
| ofsw_new_ofcconn |
|
6 |
34 |
269 |
2 |
| ofcconn_connect |
|
5 |
33 |
210 |
1 |
| ofcconn_on_sockio |
|
12 |
59 |
377 |
3 |
| ofcconn_connect_again |
|
2 |
10 |
83 |
1 |
| ofcconn_on_timer |
|
3 |
13 |
74 |
3 |
| ofcconn_reset_event_handlers |
|
6 |
18 |
112 |
1 |
| ofcconn_io_fail |
|
1 |
5 |
19 |
1 |
| ofcconn_close |
|
2 |
11 |
61 |
1 |
| ofcconn_free |
|
2 |
9 |
50 |
1 |
| ofcconn_send_hello |
|
2 |
18 |
112 |
1 |
| Source file: ./usr.sbin/switchd/ofp_map.h |
| Source file: ./usr.sbin/switchd/switchd.h |
| Source file: ./usr.sbin/switchd/switch.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| switch_init |
|
1 |
4 |
17 |
1 |
| switch_dispatch_control |
|
2 |
34 |
248 |
3 |
| switch_get |
|
1 |
8 |
66 |
1 |
| switch_add |
|
4 |
23 |
180 |
1 |
| switch_timer |
|
4 |
22 |
156 |
2 |
| switch_remove |
|
3 |
17 |
128 |
2 |
| switch_learn |
|
6 |
24 |
190 |
4 |
| switch_cached |
|
1 |
6 |
50 |
2 |
| switch_cmp |
|
2 |
10 |
74 |
2 |
| switch_maccmp |
|
1 |
4 |
35 |
2 |
| Source file: ./usr.sbin/switchd/ofrelay.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ofrelay |
|
2 |
9 |
79 |
2 |
| ofrelay_run |
|
1 |
11 |
99 |
3 |
| ofrelay_close |
|
3 |
24 |
169 |
1 |
| ofrelay_event |
|
7 |
27 |
139 |
3 |
| ofrelay_input |
|
17 |
58 |
405 |
3 |
| ofrelay_write |
|
1 |
8 |
62 |
2 |
| ofrelay_input_open |
|
3 |
13 |
72 |
3 |
| ofrelay_input_close |
|
3 |
10 |
63 |
3 |
| ofrelay_input_done |
|
5 |
18 |
130 |
2 |
| ofrelay_bufget |
|
2 |
7 |
43 |
2 |
| ofrelay_bufput |
|
1 |
4 |
21 |
2 |
| ofrelay_output |
|
4 |
15 |
105 |
3 |
| ofrelay_accept |
|
5 |
25 |
174 |
3 |
| ofrelay_inflight_dec |
|
3 |
11 |
52 |
2 |
| ofrelay_attach |
|
8 |
52 |
403 |
3 |
| Source file: ./usr.sbin/switchd/proc.h |
| Source file: ./usr.sbin/switchd/util.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| socket_set_blockmode |
|
4 |
12 |
75 |
2 |
| accept4_reserve |
|
3 |
14 |
100 |
6 |
| socket_getport |
|
3 |
12 |
69 |
1 |
| socket_setport |
|
3 |
14 |
82 |
2 |
| sockaddr_cmp |
|
21 |
58 |
621 |
3 |
| prefixlen2mask |
|
3 |
8 |
43 |
1 |
| prefixlen2mask6 |
|
4 |
15 |
107 |
2 |
| print_ether |
|
2 |
15 |
110 |
1 |
| print_host |
|
7 |
32 |
232 |
3 |
| print_map |
|
5 |
21 |
164 |
2 |
| getmonotime |
|
2 |
7 |
36 |
1 |
| print_debug |
|
2 |
9 |
45 |
2 |
| print_verbose |
|
2 |
9 |
43 |
2 |
| print_hex |
|
7 |
16 |
98 |
3 |
| parsehostport |
|
8 |
37 |
278 |
3 |
| Source file: ./usr.sbin/iscsid/log.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| log_init |
|
2 |
8 |
36 |
1 |
| log_verbose |
|
1 |
4 |
11 |
1 |
| logit |
|
1 |
7 |
38 |
3 |
| vlog |
|
3 |
15 |
90 |
3 |
| log_warn |
|
3 |
18 |
111 |
2 |
| log_warnx |
|
1 |
7 |
35 |
2 |
| log_info |
|
1 |
7 |
35 |
2 |
| log_debug |
|
2 |
9 |
41 |
2 |
| fatal |
|
3 |
19 |
104 |
2 |
| fatalx |
|
1 |
5 |
20 |
1 |
| Source file: ./usr.sbin/iscsid/task.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| task_init |
|
4 |
16 |
130 |
6 |
| taskq_cleanup |
|
3 |
11 |
63 |
1 |
| task_pdu_add |
|
7 |
17 |
95 |
2 |
| task_pdu_cb |
|
11 |
40 |
212 |
2 |
| Source file: ./usr.sbin/iscsid/logmsg.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| log_hexdump |
|
11 |
30 |
233 |
2 |
| log_pdu |
|
5 |
24 |
249 |
2 |
| Source file: ./usr.sbin/switchd/proc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| proc_ispeer |
|
3 |
9 |
55 |
3 |
| proc_getid |
|
3 |
13 |
75 |
3 |
| proc_exec |
|
11 |
52 |
398 |
5 |
| proc_connect |
|
9 |
24 |
191 |
1 |
| proc_init |
|
11 |
42 |
301 |
6 |
| proc_accept |
|
4 |
24 |
185 |
4 |
| proc_setup |
|
13 |
42 |
451 |
3 |
| proc_kill |
|
11 |
30 |
180 |
1 |
| proc_open |
|
10 |
34 |
319 |
3 |
| proc_close |
|
6 |
21 |
171 |
1 |
| proc_shutdown |
|
4 |
11 |
76 |
1 |
| proc_sig_handler |
|
7 |
17 |
63 |
3 |
| proc_run |
|
17 |
64 |
574 |
6 |
| proc_dispatch |
|
16 |
66 |
439 |
3 |
| proc_dispatch_null |
|
1 |
4 |
23 |
3 |
| imsg_event_add |
|
3 |
13 |
95 |
1 |
| imsg_compose_event |
|
2 |
10 |
75 |
7 |
| imsg_composev_event |
|
2 |
10 |
77 |
7 |
| proc_range |
|
2 |
9 |
57 |
4 |
| proc_compose_imsg |
|
3 |
12 |
106 |
8 |
| proc_compose |
|
1 |
5 |
48 |
5 |
| proc_composev_imsg |
|
3 |
11 |
106 |
8 |
| proc_composev |
|
1 |
5 |
50 |
5 |
| proc_forward_imsg |
|
1 |
6 |
58 |
4 |
| proc_ibuf |
|
1 |
6 |
48 |
3 |
| proc_iev |
|
1 |
6 |
46 |
3 |
| proc_flush_imsg |
|
6 |
17 |
126 |
3 |
| Source file: ./usr.sbin/iscsid/control.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| control_init |
|
9 |
51 |
331 |
1 |
| control_cleanup |
|
2 |
9 |
45 |
1 |
| control_event_init |
|
1 |
7 |
46 |
1 |
| control_accept |
|
9 |
31 |
217 |
3 |
| control_close |
|
2 |
11 |
69 |
1 |
| control_dispatch |
|
15 |
57 |
372 |
3 |
| control_getpdu |
|
9 |
40 |
230 |
2 |
| control_queue |
|
1 |
8 |
70 |
2 |
| Source file: ./usr.sbin/iscsid/session.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| session_find |
|
2 |
9 |
52 |
2 |
| session_new |
|
3 |
20 |
141 |
2 |
| session_cleanup |
|
2 |
10 |
66 |
1 |
| session_shutdown |
|
3 |
14 |
89 |
1 |
| session_config |
|
5 |
19 |
138 |
2 |
| session_task_issue |
|
1 |
5 |
31 |
2 |
| session_logout_issue |
|
4 |
19 |
101 |
2 |
| session_schedule |
|
3 |
13 |
75 |
1 |
| session_fsm |
|
3 |
18 |
133 |
4 |
| session_fsm_callback |
|
6 |
30 |
210 |
3 |
| sess_do_start |
|
4 |
16 |
106 |
2 |
| sess_do_conn_loggedin |
|
3 |
13 |
84 |
2 |
| sess_do_conn_fail |
|
9 |
30 |
172 |
2 |
| sess_do_conn_closed |
|
5 |
18 |
101 |
2 |
| sess_do_stop |
|
2 |
7 |
43 |
2 |
| sess_do_free |
|
2 |
7 |
43 |
2 |
| sess_do_reinstatement |
|
2 |
14 |
92 |
2 |
| sess_state |
|
5 |
17 |
63 |
1 |
| sess_event |
|
11 |
28 |
98 |
1 |
| Source file: ./usr.sbin/switchd/ofp_common.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ofp_validate_header |
|
7 |
27 |
147 |
5 |
| ofp_validate |
|
3 |
13 |
84 |
6 |
| ofp_output |
|
6 |
19 |
126 |
3 |
| ofp_send_hello |
|
6 |
31 |
265 |
3 |
| ofp_validate_hello |
|
11 |
39 |
318 |
5 |
| ofp_setversion |
|
3 |
11 |
43 |
2 |
| ofp_recv_hello |
|
12 |
38 |
337 |
4 |
| ofp_send_featuresrequest |
|
4 |
20 |
156 |
2 |
| action_new |
|
2 |
9 |
69 |
2 |
| action_group |
|
2 |
10 |
75 |
2 |
| action_output |
|
2 |
11 |
90 |
3 |
| action_push |
|
2 |
10 |
81 |
3 |
| action_pop_vlan |
|
1 |
4 |
19 |
1 |
| action_pop_mpls |
|
2 |
10 |
78 |
2 |
| action_copyttlout |
|
1 |
4 |
19 |
1 |
| action_copyttlin |
|
1 |
4 |
19 |
1 |
| action_decnwttl |
|
1 |
4 |
19 |
1 |
| action_setfield |
|
2 |
8 |
52 |
1 |
| oxm_get |
|
4 |
16 |
102 |
4 |
| oxm_inport |
|
2 |
10 |
72 |
2 |
| oxm_inphyport |
|
2 |
10 |
72 |
2 |
| oxm_metadata |
|
3 |
14 |
111 |
4 |
| oxm_etheraddr |
|
4 |
13 |
103 |
4 |
| oxm_ethertype |
|
2 |
9 |
72 |
2 |
| oxm_vlanvid |
|
3 |
16 |
119 |
4 |
| oxm_vlanpcp |
|
2 |
9 |
69 |
2 |
| oxm_ipdscp |
|
2 |
9 |
69 |
2 |
| oxm_ipecn |
|
2 |
9 |
69 |
2 |
| oxm_ipproto |
|
2 |
8 |
65 |
2 |
| oxm_ipaddr |
|
4 |
16 |
125 |
5 |
| oxm_tcpport |
|
3 |
11 |
86 |
3 |
| oxm_udpport |
|
3 |
11 |
86 |
3 |
| oxm_sctpport |
|
3 |
11 |
86 |
3 |
| oxm_icmpv4type |
|
2 |
9 |
65 |
2 |
| oxm_icmpv4code |
|
2 |
9 |
65 |
2 |
| oxm_arpop |
|
2 |
9 |
72 |
2 |
| oxm_arpaddr |
|
4 |
16 |
125 |
5 |
| oxm_arphaddr |
|
4 |
13 |
103 |
4 |
| oxm_ipv6addr |
|
4 |
14 |
121 |
4 |
| oxm_ipv6flowlabel |
|
3 |
17 |
119 |
4 |
| oxm_icmpv6type |
|
2 |
9 |
65 |
2 |
| oxm_icmpv6code |
|
2 |
9 |
65 |
2 |
| oxm_ipv6ndtarget |
|
2 |
9 |
68 |
2 |
| oxm_ipv6ndlinkaddr |
|
3 |
10 |
73 |
3 |
| oxm_mplslabel |
|
2 |
11 |
76 |
2 |
| oxm_mplstc |
|
2 |
9 |
69 |
2 |
| oxm_mplsbos |
|
2 |
9 |
69 |
2 |
| oxm_tunnelid |
|
3 |
14 |
111 |
4 |
| oxm_ipv6exthdr |
|
3 |
16 |
119 |
4 |
| ofp_instruction |
|
2 |
9 |
63 |
3 |
| ofp_multipart_lookup |
|
2 |
10 |
50 |
2 |
| ofp_multipart_add |
|
4 |
15 |
110 |
3 |
| ofp_multipart_del |
|
3 |
10 |
53 |
2 |
| ofp_multipart_free |
|
1 |
6 |
33 |
2 |
| ofp_multipart_clear |
|
2 |
8 |
44 |
1 |
| switch_tablelookup |
|
2 |
9 |
48 |
2 |
| switch_newtable |
|
2 |
9 |
64 |
2 |
| switch_deltable |
|
1 |
5 |
31 |
2 |
| switch_freetables |
|
2 |
8 |
44 |
1 |
| oflowmod_state |
|
2 |
7 |
42 |
3 |
| oflowmod_err |
|
3 |
11 |
73 |
3 |
| oflowmod_open |
|
8 |
37 |
224 |
4 |
| oflowmod_mopen |
|
2 |
8 |
56 |
1 |
| oflowmod_mclose |
|
4 |
18 |
136 |
1 |
| oflowmod_iopen |
|
6 |
14 |
117 |
1 |
| oflowmod_instruction |
|
14 |
39 |
253 |
2 |
| oflowmod_instructionclose |
|
4 |
14 |
102 |
1 |
| oflowmod_iclose |
|
4 |
10 |
79 |
1 |
| oflowmod_close |
|
8 |
21 |
145 |
1 |
| Source file: ./usr.sbin/iscsid/vscsi.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| vscsi_open |
|
2 |
7 |
61 |
1 |
| vscsi_dispatch |
|
17 |
61 |
494 |
3 |
| vscsi_data |
|
4 |
16 |
109 |
4 |
| vscsi_status |
|
5 |
17 |
137 |
4 |
| vscsi_event |
|
4 |
12 |
79 |
3 |
| vscsi_callback |
|
13 |
71 |
444 |
3 |
| vscsi_fail |
|
1 |
6 |
33 |
1 |
| vscsi_dataout |
|
7 |
32 |
264 |
5 |
| vscsi_stats |
|
1 |
4 |
12 |
1 |
| Source file: ./usr.sbin/iscsid/util.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pdu_new |
|
2 |
7 |
35 |
1 |
| pdu_alloc |
|
1 |
4 |
16 |
1 |
| pdu_dup |
|
2 |
7 |
41 |
2 |
| pdu_addbuf |
|
4 |
14 |
106 |
4 |
| pdu_getbuf |
|
5 |
12 |
74 |
3 |
| pdu_free |
|
2 |
7 |
43 |
1 |
| socket_setblockmode |
|
4 |
13 |
71 |
2 |
| log_sockaddr |
|
4 |
17 |
132 |
1 |
| control_compose |
|
1 |
4 |
37 |
4 |
| control_build |
|
9 |
34 |
290 |
4 |
| Source file: ./usr.sbin/iscsid/pdu.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pdu_gethdr |
|
3 |
11 |
64 |
1 |
| text_to_pdu |
|
8 |
29 |
202 |
2 |
| pdu_to_text |
|
9 |
32 |
206 |
2 |
| text_to_num |
|
10 |
35 |
200 |
4 |
| text_to_bool |
|
5 |
18 |
87 |
2 |
| pdu_free_queue |
|
2 |
8 |
41 |
1 |
| pdu_read |
|
6 |
26 |
223 |
1 |
| pdu_write |
|
17 |
58 |
412 |
1 |
| pdu_pending |
|
2 |
7 |
26 |
1 |
| pdu_parse |
|
16 |
55 |
394 |
1 |
| pdu_readbuf_read |
|
5 |
22 |
170 |
3 |
| pdu_readbuf_len |
|
2 |
7 |
44 |
1 |
| pdu_readbuf_set |
|
3 |
13 |
72 |
2 |
| pdu_readbuf_free |
|
1 |
4 |
16 |
1 |
| Source file: ./usr.sbin/iscsid/initiator.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| initiator_init |
|
2 |
14 |
84 |
1 |
| initiator_cleanup |
|
2 |
9 |
54 |
1 |
| initiator_shutdown |
|
1 |
7 |
35 |
1 |
| initiator_isdown |
|
3 |
10 |
59 |
1 |
| initiator_t2s |
|
2 |
9 |
39 |
1 |
| initiator_login |
|
3 |
21 |
136 |
1 |
| initiator_discovery |
|
3 |
21 |
125 |
1 |
| initiator_logout |
|
7 |
33 |
216 |
3 |
| initiator_nop_in_imm |
|
2 |
17 |
118 |
2 |
| initiator_login_kvp |
|
8 |
37 |
239 |
2 |
| initiator_login_build |
|
8 |
44 |
293 |
2 |
| initiator_text_build |
|
4 |
18 |
124 |
3 |
| initiator_login_cb |
|
13 |
70 |
389 |
3 |
| initiator_discovery_cb |
|
7 |
41 |
255 |
3 |
| initiator_logout_cb |
|
6 |
36 |
212 |
3 |
| default_initiator_name |
|
4 |
11 |
83 |
1 |
| Source file: ./usr.sbin/iscsid/log.h |
| Source file: ./usr.sbin/amd/include/fstype.h |
| Source file: ./usr.sbin/iscsid/connection.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| conn_new |
|
6 |
42 |
318 |
2 |
| conn_free |
|
2 |
13 |
89 |
1 |
| conn_dispatch |
|
7 |
22 |
110 |
3 |
| conn_write_dispatch |
|
8 |
36 |
195 |
3 |
| conn_fail |
|
1 |
5 |
21 |
1 |
| conn_task_ready |
|
3 |
6 |
33 |
1 |
| conn_task_issue |
|
1 |
5 |
31 |
2 |
| conn_task_schedule |
|
4 |
18 |
116 |
1 |
| conn_task_cleanup |
|
3 |
12 |
72 |
2 |
| conn_parse_kvp |
|
3 |
28 |
237 |
2 |
| conn_gen_kvp |
|
11 |
34 |
228 |
3 |
| conn_pdu_write |
|
9 |
19 |
100 |
2 |
| conn_fsm |
|
5 |
22 |
169 |
2 |
| c_do_connect |
|
6 |
33 |
251 |
2 |
| c_do_login |
|
1 |
5 |
21 |
2 |
| c_do_loggedin |
|
1 |
6 |
47 |
2 |
| c_do_req_logout |
|
2 |
7 |
28 |
2 |
| c_do_logout |
|
1 |
4 |
16 |
2 |
| c_do_loggedout |
|
1 |
4 |
16 |
2 |
| c_do_fail |
|
3 |
13 |
87 |
2 |
| c_do_cleanup |
|
1 |
4 |
16 |
2 |
| conn_state |
|
10 |
27 |
93 |
1 |
| conn_event |
|
11 |
28 |
98 |
1 |
| Source file: ./usr.sbin/amd/include/config.h |
| Source file: ./usr.sbin/iscsid/iscsid.h |
| Source file: ./usr.sbin/switchd/ofp13.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ofp13_validate |
|
5 |
20 |
130 |
5 |
| ofp13_validate_oxm_basic |
|
75 |
189 |
1247 |
4 |
| ofp13_validate_oxm |
|
7 |
30 |
158 |
5 |
| ofp13_validate_packet_in |
|
12 |
57 |
437 |
5 |
| ofp13_validate_packet_out |
|
9 |
42 |
306 |
5 |
| ofp13_validate_error |
|
8 |
37 |
227 |
5 |
| ofp13_input |
|
4 |
17 |
141 |
4 |
| ofp13_hello |
|
3 |
11 |
82 |
4 |
| ofp13_echo_request |
|
2 |
9 |
73 |
4 |
| ofp13_validate_features_reply |
|
2 |
13 |
101 |
5 |
| ofp13_features_reply |
|
1 |
5 |
36 |
4 |
| ofp13_validate_action |
|
31 |
120 |
881 |
5 |
| ofp13_validate_instruction |
|
21 |
78 |
529 |
5 |
| ofp13_validate_flow_mod |
|
10 |
53 |
426 |
5 |
| ofp13_packet_match |
|
6 |
20 |
174 |
3 |
| ofp13_packet_in |
|
32 |
129 |
911 |
4 |
| ofp13_flow_removed |
|
2 |
17 |
140 |
4 |
| ofp13_tableproperties |
|
55 |
185 |
1075 |
5 |
| ofp13_multipart_reply |
|
8 |
37 |
261 |
4 |
| ofp13_validate_tableproperty |
|
34 |
132 |
771 |
3 |
| ofp13_multipart_reply_validate |
|
30 |
110 |
730 |
5 |
| ofp13_multipart_request |
|
2 |
15 |
108 |
4 |
| ofp13_multipart_request_validate |
|
24 |
78 |
482 |
5 |
| ofp13_desc |
|
4 |
19 |
144 |
2 |
| ofp13_flow_stats |
|
7 |
33 |
272 |
5 |
| ofp13_table_features |
|
4 |
21 |
147 |
3 |
| ofp13_error |
|
6 |
30 |
233 |
6 |
| ofp13_group |
|
2 |
16 |
117 |
5 |
| ofp13_bucket |
|
2 |
11 |
79 |
4 |
| ofp13_setconfig_validate |
|
2 |
12 |
90 |
5 |
| ofp13_setconfig |
|
4 |
24 |
183 |
4 |
| ofp13_flowmod |
|
2 |
18 |
159 |
7 |
| ofp13_tablemiss_sendctrl |
|
8 |
31 |
208 |
3 |
| ofp13_switchconfigure |
|
4 |
17 |
105 |
2 |
| ofp13_getflowtable |
|
4 |
15 |
86 |
1 |
| Source file: ./usr.sbin/amd/rpcx/mount.h |
| Source file: ./usr.sbin/amd/rpcx/nfs_prot_svc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| nfs_program_2 |
|
23 |
132 |
905 |
2 |
| Source file: ./usr.sbin/amd/rpcx/amq_svc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| amq_program_57 |
|
14 |
79 |
533 |
2 |
| Source file: ./usr.sbin/iscsid/iscsid.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
17 |
72 |
469 |
2 |
| shutdown_cb |
|
4 |
10 |
66 |
3 |
| main_sig_handler |
|
5 |
17 |
82 |
3 |
| usage |
|
1 |
7 |
25 |
1 |
| iscsid_ctrl_dispatch |
|
18 |
97 |
674 |
2 |
| iscsi_merge_sess_params |
|
1 |
16 |
148 |
3 |
| iscsi_merge_conn_params |
|
1 |
5 |
27 |
3 |
| Source file: ./usr.sbin/amd/rpcx/amq_clnt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| amqproc_null_57 |
|
2 |
9 |
72 |
2 |
| amqproc_mnttree_57 |
|
2 |
9 |
68 |
2 |
| amqproc_umnt_57 |
|
2 |
9 |
72 |
2 |
| amqproc_stats_57 |
|
2 |
9 |
68 |
2 |
| amqproc_export_57 |
|
2 |
9 |
68 |
2 |
| amqproc_setopt_57 |
|
2 |
9 |
68 |
2 |
| amqproc_getmntfs_57 |
|
2 |
9 |
68 |
2 |
| amqproc_getvers_57 |
|
2 |
9 |
68 |
2 |
| Source file: ./usr.sbin/amd/rpcx/amq.h |
| Source file: ./usr.sbin/amd/rpcx/amq_xdr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| xdr_amq_string |
|
2 |
6 |
34 |
2 |
| xdr_time_type |
|
2 |
6 |
32 |
2 |
| xdr_amq_mount_tree |
|
14 |
30 |
279 |
2 |
| xdr_amq_mount_tree_p |
|
2 |
6 |
46 |
2 |
| xdr_amq_mount_info |
|
8 |
18 |
143 |
2 |
| xdr_amq_mount_info_list |
|
2 |
8 |
60 |
2 |
| xdr_amq_mount_tree_list |
|
2 |
8 |
60 |
2 |
| xdr_amq_mount_stats |
|
6 |
14 |
107 |
2 |
| xdr_amq_opt |
|
2 |
6 |
36 |
2 |
| xdr_amq_setopt |
|
3 |
8 |
53 |
2 |
| Source file: ./usr.sbin/amd/include/am.h |
| Source file: ./usr.sbin/amd/rpcx/mount_xdr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| xdr_fhstatus |
|
16 |
34 |
245 |
2 |
| xdr_dirpath |
|
2 |
7 |
36 |
2 |
| xdr_name |
|
2 |
7 |
36 |
2 |
| xdr_mountlist |
|
2 |
7 |
46 |
2 |
| xdr_mountbody |
|
4 |
13 |
77 |
2 |
| xdr_groups |
|
2 |
7 |
46 |
2 |
| xdr_groupnode |
|
3 |
10 |
57 |
2 |
| xdr_exports |
|
2 |
7 |
46 |
2 |
| xdr_exportnode |
|
4 |
13 |
77 |
2 |
| Source file: ./usr.sbin/amd/amd/wire.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| getwire |
|
10 |
36 |
246 |
1 |
| islocalnet |
|
4 |
11 |
76 |
1 |
| Source file: ./usr.sbin/amd/amd/nfsx_ops.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| nfsx_match |
|
11 |
38 |
272 |
1 |
| nfsx_prfree |
|
3 |
12 |
74 |
1 |
| nfsx_init |
|
15 |
76 |
515 |
1 |
| nfsx_cont |
|
5 |
31 |
208 |
3 |
| try_nfsx_mount |
|
1 |
9 |
50 |
1 |
| nfsx_remount |
|
20 |
48 |
343 |
2 |
| nfsx_fmount |
|
1 |
4 |
16 |
1 |
| nfsx_fumount |
|
10 |
41 |
262 |
1 |
| Source file: ./usr.sbin/amd/amd/amq_subr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| amqproc_null_57_svc |
|
1 |
5 |
21 |
2 |
| amqproc_mnttree_57_svc |
|
1 |
6 |
34 |
2 |
| amqproc_umnt_57_svc |
|
2 |
8 |
40 |
2 |
| amqproc_stats_57_svc |
|
1 |
4 |
21 |
2 |
| amqproc_export_57_svc |
|
1 |
7 |
41 |
2 |
| amqproc_setopt_57_svc |
|
11 |
30 |
132 |
2 |
| amqproc_getmntfs_57_svc |
|
1 |
5 |
25 |
2 |
| amqproc_getvers_57_svc |
|
1 |
6 |
25 |
2 |
| xdr_amq_string |
|
2 |
7 |
36 |
2 |
| xdr_amq_setopt |
|
3 |
10 |
63 |
2 |
| xdr_amq_mount_tree_node |
|
13 |
39 |
284 |
2 |
| xdr_amq_mount_subtree |
|
4 |
14 |
106 |
2 |
| xdr_amq_mount_tree |
|
4 |
15 |
110 |
2 |
| xdr_amq_mount_tree_p |
|
2 |
7 |
45 |
2 |
| xdr_amq_mount_stats |
|
6 |
19 |
117 |
2 |
| xdr_amq_mount_tree_list |
|
2 |
7 |
59 |
2 |
| xdr_amq_mount_info_list |
|
15 |
46 |
344 |
2 |
| Source file: ./usr.sbin/amd/amd/info_ndbm.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| search_ndbm |
|
2 |
12 |
71 |
3 |
| ndbm_search |
|
4 |
19 |
119 |
5 |
| ndbm_init |
|
3 |
15 |
78 |
2 |
| Source file: ./usr.sbin/amd/amd/umount_fs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| umount_fs |
|
8 |
23 |
89 |
1 |
| Source file: ./usr.sbin/amd/rpcx/nfs_prot_xdr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| xdr_nfs_fh |
|
2 |
6 |
36 |
2 |
| xdr_nfstime |
|
3 |
8 |
53 |
2 |
| xdr_fattr |
|
15 |
32 |
269 |
2 |
| xdr_sattr |
|
7 |
16 |
125 |
2 |
| xdr_filename |
|
2 |
6 |
34 |
2 |
| xdr_nfspath |
|
2 |
6 |
34 |
2 |
| xdr_attrstat |
|
4 |
14 |
72 |
2 |
| xdr_sattrargs |
|
3 |
8 |
53 |
2 |
| xdr_diropargs |
|
3 |
8 |
53 |
2 |
| xdr_diropokres |
|
3 |
8 |
53 |
2 |
| xdr_diropres |
|
4 |
14 |
72 |
2 |
| xdr_readlinkres |
|
4 |
14 |
72 |
2 |
| xdr_readargs |
|
5 |
12 |
89 |
2 |
| xdr_readokres |
|
3 |
10 |
72 |
2 |
| xdr_readres |
|
4 |
14 |
72 |
2 |
| xdr_writeargs |
|
6 |
16 |
126 |
2 |
| xdr_createargs |
|
3 |
8 |
53 |
2 |
| xdr_renameargs |
|
3 |
8 |
53 |
2 |
| xdr_linkargs |
|
3 |
8 |
53 |
2 |
| xdr_symlinkargs |
|
4 |
10 |
71 |
2 |
| xdr_nfscookie |
|
2 |
6 |
33 |
2 |
| xdr_readdirargs |
|
4 |
10 |
70 |
2 |
| xdr_entry |
|
5 |
12 |
102 |
2 |
| xdr_dirlist |
|
3 |
8 |
67 |
2 |
| xdr_readdirres |
|
4 |
14 |
72 |
2 |
| xdr_statfsokres |
|
6 |
14 |
107 |
2 |
| xdr_statfsres |
|
4 |
14 |
72 |
2 |
| Source file: ./usr.sbin/amd/amd/mtab.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mnt_free |
|
1 |
8 |
42 |
1 |
| discard_mntlist |
|
3 |
10 |
46 |
1 |
| free_mntlist |
|
1 |
4 |
13 |
1 |
| hasmntval |
|
3 |
12 |
68 |
2 |
| mnt_dup |
|
1 |
11 |
76 |
1 |
| read_mtab |
|
3 |
18 |
112 |
1 |
| Source file: ./usr.sbin/amd/amd/rpc_fwd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fwd_alloc |
|
7 |
22 |
134 |
0 |
| fwd_free |
|
3 |
5 |
21 |
1 |
| fwd_init |
|
3 |
11 |
62 |
0 |
| fwd_locate |
|
2 |
9 |
36 |
1 |
| fwd_packet |
|
15 |
47 |
316 |
7 |
| fwd_reply |
|
22 |
57 |
355 |
0 |
| Source file: ./usr.sbin/amd/rpcx/nfs_prot.h |
| Source file: ./usr.sbin/amd/amd/info_union.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| union_init |
|
2 |
5 |
33 |
2 |
| union_search |
|
2 |
13 |
113 |
5 |
| union_reload |
|
10 |
39 |
327 |
3 |
| Source file: ./usr.sbin/amd/amd/ifs_ops.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ifs_match |
|
1 |
5 |
18 |
1 |
| ifs_init |
|
4 |
15 |
100 |
1 |
| ifs_inherit |
|
3 |
16 |
100 |
1 |
| ifs_mount |
|
3 |
12 |
57 |
1 |
| ifs_fmount |
|
3 |
7 |
37 |
1 |
| ifs_fumount |
|
1 |
4 |
11 |
1 |
| Source file: ./usr.sbin/amd/amd/sfs_ops.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sfs_match |
|
5 |
23 |
136 |
1 |
| sfsx_mount |
|
3 |
12 |
55 |
1 |
| sfs_fmount |
|
1 |
4 |
11 |
1 |
| sfs_fumount |
|
1 |
4 |
11 |
1 |
| Source file: ./usr.sbin/amd/amd/misc_rpc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rpc_msg_init |
|
1 |
11 |
76 |
4 |
| pickup_rpc_reply |
|
5 |
31 |
187 |
4 |
| make_rpc_packet |
|
5 |
18 |
130 |
7 |
| Source file: ./usr.sbin/amd/amq/amq.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| show_mti |
|
13 |
55 |
404 |
5 |
| show_mt |
|
2 |
9 |
64 |
5 |
| show_mi |
|
12 |
43 |
283 |
5 |
| show_ms |
|
1 |
7 |
35 |
1 |
| xdr_pri_free |
|
1 |
6 |
34 |
2 |
| main |
|
52 |
233 |
1233 |
2 |
| inetresport |
|
5 |
21 |
139 |
1 |
| privsock |
|
2 |
9 |
34 |
1 |
| Source file: ./usr.sbin/amd/amd/host_ops.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| host_match |
|
4 |
10 |
49 |
1 |
| host_init |
|
2 |
6 |
27 |
1 |
| xdr_pri_free |
|
1 |
6 |
34 |
2 |
| do_mount |
|
5 |
11 |
97 |
5 |
| sortfun |
|
1 |
5 |
44 |
2 |
| fetch_fhandle |
|
5 |
21 |
125 |
3 |
| already_mounted |
|
3 |
8 |
51 |
2 |
| host_fmount |
|
23 |
92 |
679 |
1 |
| directory_prefix |
|
4 |
9 |
58 |
2 |
| host_fumount |
|
13 |
41 |
217 |
1 |
| host_umounted |
|
1 |
3 |
8 |
1 |
| host_exec |
|
8 |
35 |
247 |
4 |
| host_mount |
|
1 |
5 |
36 |
1 |
| host_umount |
|
1 |
5 |
34 |
1 |
| Source file: ./usr.sbin/amd/amd/srvr_nfs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| flush_srvr_nfs_cache |
|
2 |
11 |
54 |
1 |
| start_ping |
|
2 |
13 |
80 |
1 |
| got_portmap |
|
13 |
29 |
205 |
6 |
| call_portmap |
|
2 |
27 |
179 |
5 |
| recompute_portmap |
|
3 |
15 |
70 |
1 |
| nfs_pinged |
|
17 |
49 |
304 |
6 |
| nfs_timed_out |
|
12 |
31 |
207 |
1 |
| nfs_keepalive |
|
13 |
39 |
207 |
1 |
| nfs_srvr_port |
|
8 |
26 |
154 |
3 |
| start_nfs_pings |
|
5 |
17 |
90 |
2 |
| find_nfs_srvr |
|
12 |
69 |
436 |
1 |
| Source file: ./usr.sbin/amd/amd/ufs_ops.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ufs_match |
|
3 |
10 |
48 |
1 |
| mount_ufs |
|
1 |
17 |
114 |
3 |
| ufs_fmount |
|
2 |
11 |
51 |
1 |
| ufs_fumount |
|
1 |
4 |
16 |
1 |
| Source file: ./usr.sbin/amd/amd/nfs_subr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| do_readlink |
|
5 |
20 |
113 |
3 |
| nfsproc_null_2_svc |
|
1 |
5 |
21 |
2 |
| nfsproc_getattr_2_svc |
|
7 |
27 |
161 |
2 |
| nfsproc_setattr_2_svc |
|
2 |
9 |
53 |
2 |
| nfsproc_root_2_svc |
|
1 |
5 |
21 |
2 |
| nfsproc_lookup_2_svc |
|
8 |
34 |
214 |
2 |
| nfsproc_readlink_2_svc |
|
7 |
26 |
152 |
2 |
| nfsproc_read_2_svc |
|
1 |
7 |
43 |
2 |
| nfsproc_writecache_2_svc |
|
1 |
5 |
21 |
2 |
| nfsproc_write_2_svc |
|
2 |
9 |
52 |
2 |
| nfsproc_create_2_svc |
|
2 |
9 |
54 |
2 |
| unlink_or_rmdir |
|
8 |
32 |
188 |
3 |
| nfsproc_remove_2_svc |
|
1 |
4 |
24 |
2 |
| nfsproc_rename_2_svc |
|
4 |
11 |
82 |
2 |
| nfsproc_link_2_svc |
|
3 |
9 |
58 |
2 |
| nfsproc_symlink_2_svc |
|
2 |
9 |
49 |
2 |
| nfsproc_mkdir_2_svc |
|
2 |
9 |
54 |
2 |
| nfsproc_rmdir_2_svc |
|
1 |
4 |
24 |
2 |
| nfsproc_readdir_2_svc |
|
5 |
22 |
148 |
2 |
| nfsproc_statfs_2_svc |
|
5 |
27 |
150 |
2 |
| Source file: ./usr.sbin/amd/amd/xutil.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| xmallocfailure |
|
1 |
6 |
22 |
1 |
| xmalloc |
|
4 |
14 |
65 |
1 |
| xreallocarray |
|
2 |
7 |
40 |
3 |
| expand_error |
|
6 |
22 |
164 |
3 |
| show_time_host_and_name |
|
12 |
29 |
169 |
1 |
| plog |
|
11 |
31 |
199 |
3 |
| show_opts |
|
2 |
11 |
74 |
2 |
| cmdoption |
|
16 |
43 |
244 |
3 |
| switch_option |
|
3 |
15 |
61 |
1 |
| switch_to_logfile |
|
9 |
28 |
150 |
1 |
| clocktime |
|
2 |
9 |
42 |
1 |
| Source file: ./usr.sbin/amd/amd/mount_fs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| compute_mount_flags |
|
3 |
9 |
54 |
1 |
| mount_fs |
|
8 |
22 |
131 |
5 |
| nextmntopt |
|
5 |
16 |
74 |
1 |
| hasmntopt |
|
3 |
12 |
89 |
2 |
| Source file: ./usr.sbin/amd/amd/clock.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| alloc_callout |
|
2 |
10 |
36 |
1 |
| free_callout |
|
2 |
10 |
37 |
1 |
| timeout |
|
4 |
18 |
128 |
3 |
| untimeout |
|
3 |
11 |
60 |
1 |
| reschedule_timeouts |
|
5 |
12 |
82 |
2 |
| softclock |
|
7 |
20 |
116 |
1 |
| Source file: ./usr.sbin/amd/amd/mapc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| kvhash_of |
|
2 |
7 |
38 |
1 |
| mapc_showtypes |
|
2 |
9 |
63 |
1 |
| mapc_add_kv |
|
5 |
35 |
214 |
3 |
| mapc_repl_kv |
|
4 |
13 |
83 |
3 |
| search_map |
|
3 |
12 |
81 |
3 |
| mapc_find_wildcard |
|
2 |
6 |
35 |
1 |
| mapc_reload_map |
|
5 |
14 |
83 |
1 |
| mapc_create |
|
13 |
48 |
320 |
2 |
| mapc_clear |
|
4 |
19 |
109 |
1 |
| mapc_find |
|
2 |
10 |
65 |
2 |
| mapc_free |
|
3 |
10 |
52 |
1 |
| mapc_meta_search |
|
27 |
69 |
453 |
4 |
| mapc_search |
|
1 |
4 |
28 |
3 |
| mapc_sync |
|
5 |
11 |
57 |
1 |
| mapc_reload |
|
1 |
6 |
24 |
1 |
| root_init |
|
2 |
5 |
33 |
2 |
| root_newmap |
|
4 |
13 |
90 |
3 |
| mapc_keyiter |
|
3 |
14 |
89 |
3 |
| root_keyiter |
|
3 |
10 |
54 |
2 |
| error_init |
|
1 |
6 |
29 |
2 |
| error_search |
|
1 |
4 |
27 |
5 |
| error_reload |
|
1 |
4 |
19 |
3 |
| error_mtime |
|
1 |
5 |
20 |
2 |
| Source file: ./usr.sbin/amd/amd/restart.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| restart |
|
14 |
64 |
461 |
0 |
| Source file: ./usr.sbin/amd/amd/info_nis.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| determine_nis_domain |
|
4 |
19 |
87 |
1 |
| callback |
|
4 |
19 |
140 |
6 |
| nis_reload |
|
4 |
21 |
131 |
3 |
| nis_search |
|
11 |
44 |
257 |
5 |
| nis_init |
|
7 |
30 |
141 |
2 |
| Source file: ./usr.sbin/amd/amd/util.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| strnsave |
|
1 |
7 |
42 |
2 |
| str3cat |
|
3 |
13 |
119 |
4 |
| strealloc |
|
2 |
9 |
57 |
2 |
| strsplit |
|
18 |
39 |
262 |
3 |
| domain_strip |
|
9 |
18 |
139 |
2 |
| host_normalize |
|
5 |
13 |
76 |
1 |
| inet_dquad |
|
1 |
10 |
77 |
3 |
| valid_key |
|
3 |
7 |
30 |
1 |
| going_down |
|
6 |
16 |
63 |
1 |
| bind_resv_port |
|
3 |
11 |
66 |
2 |
| forcibly_timeout_mp |
|
5 |
14 |
98 |
1 |
| mf_mounted |
|
6 |
19 |
117 |
1 |
| am_mounted |
|
13 |
28 |
258 |
1 |
| mount_node |
|
4 |
14 |
83 |
1 |
| am_unmounted |
|
6 |
11 |
74 |
1 |
| auto_fmount |
|
1 |
5 |
29 |
1 |
| auto_fumount |
|
1 |
5 |
29 |
1 |
| dofork |
|
3 |
15 |
54 |
1 |
| background |
|
3 |
9 |
33 |
1 |
| mkdirs |
|
8 |
24 |
146 |
2 |
| rmdirs |
|
12 |
26 |
139 |
1 |
| Source file: ./usr.sbin/amd/amd/sched.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ins_que |
|
1 |
8 |
44 |
2 |
| rem_que |
|
1 |
7 |
36 |
1 |
| sched_job |
|
1 |
8 |
46 |
2 |
| run_task |
|
2 |
15 |
106 |
4 |
| sched_task |
|
2 |
8 |
60 |
3 |
| wakeupjob |
|
1 |
6 |
30 |
1 |
| wakeup |
|
9 |
17 |
95 |
1 |
| wakeup_task |
|
1 |
4 |
19 |
3 |
| sigchld |
|
9 |
29 |
180 |
1 |
| do_task_notify |
|
5 |
13 |
104 |
1 |
| Source file: ./usr.sbin/amd/amd/nfs_ops.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| find_nfs_fhandle_cache |
|
6 |
21 |
106 |
2 |
| got_nfs_fh |
|
6 |
17 |
119 |
6 |
| flush_nfs_fhandle_cache |
|
3 |
10 |
55 |
1 |
| discard_fh |
|
2 |
9 |
56 |
1 |
| prime_nfs_fhandle_cache |
|
15 |
72 |
462 |
4 |
| make_nfs_auth |
|
2 |
8 |
39 |
1 |
| call_mountd |
|
6 |
31 |
210 |
4 |
| nfs_match |
|
6 |
20 |
141 |
1 |
| nfs_init |
|
4 |
19 |
106 |
1 |
| mount_nfs_fh |
|
38 |
94 |
782 |
5 |
| mount_nfs |
|
6 |
18 |
135 |
4 |
| nfs_fmount |
|
3 |
10 |
48 |
1 |
| nfs_fumount |
|
1 |
4 |
18 |
1 |
| nfs_umounted |
|
8 |
16 |
108 |
1 |
| Source file: ./usr.sbin/amd/amd/amd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sigterm |
|
4 |
15 |
54 |
1 |
| sighup |
|
4 |
7 |
28 |
1 |
| parent_exit |
|
1 |
4 |
12 |
1 |
| daemon_mode |
|
9 |
29 |
151 |
1 |
| main |
|
12 |
55 |
370 |
2 |
| Source file: ./usr.sbin/amd/amd/efs_ops.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| efs_match |
|
1 |
4 |
14 |
1 |
| efs_fmount |
|
1 |
4 |
11 |
1 |
| efs_fumount |
|
1 |
4 |
11 |
1 |
| efs_lookuppn |
|
1 |
5 |
27 |
4 |
| efs_readdir |
|
1 |
5 |
25 |
5 |
| Source file: ./usr.sbin/amd/amd/info_passwd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| passwd_init |
|
2 |
5 |
31 |
2 |
| passwd_search |
|
12 |
50 |
323 |
5 |
| Source file: ./usr.sbin/amd/amd/map.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| exported_ap_realloc_map |
|
4 |
11 |
65 |
1 |
| exported_ap_alloc |
|
8 |
18 |
114 |
1 |
| exported_ap_free |
|
7 |
12 |
67 |
1 |
| insert_am |
|
3 |
10 |
58 |
2 |
| remove_am |
|
7 |
12 |
87 |
1 |
| new_ttl |
|
1 |
7 |
42 |
1 |
| mk_fattr |
|
3 |
20 |
108 |
2 |
| init_map |
|
1 |
17 |
141 |
2 |
| free_map |
|
2 |
11 |
59 |
1 |
| fh_to_mp3 |
|
21 |
55 |
327 |
3 |
| fh_to_mp |
|
1 |
5 |
20 |
1 |
| mp_to_fh |
|
1 |
7 |
47 |
2 |
| find_ap2 |
|
6 |
16 |
97 |
2 |
| find_ap |
|
5 |
13 |
71 |
1 |
| find_mf |
|
4 |
10 |
51 |
1 |
| root_fh |
|
4 |
16 |
91 |
1 |
| root_ap |
|
3 |
7 |
36 |
2 |
| map_flush_srvr |
|
6 |
15 |
93 |
1 |
| mount_auto_node |
|
2 |
10 |
62 |
2 |
| mount_exported |
|
1 |
4 |
27 |
1 |
| make_root_node |
|
2 |
13 |
102 |
1 |
| umount_exported |
|
12 |
29 |
183 |
1 |
| unmount_node |
|
8 |
18 |
110 |
1 |
| flush_kernel_name_cache |
|
6 |
15 |
101 |
1 |
| unmount_node_wrap |
|
5 |
12 |
86 |
1 |
| free_map_if_success |
|
7 |
28 |
161 |
3 |
| unmount_mp |
|
11 |
30 |
213 |
1 |
| timeout_mp |
|
25 |
53 |
329 |
1 |
| reschedule_timeout_mp |
|
2 |
6 |
25 |
0 |
| Source file: ./usr.sbin/amd/amd/pfs_ops.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pfs_match |
|
4 |
10 |
61 |
1 |
| pfs_init |
|
2 |
8 |
40 |
1 |
| pfs_exec |
|
7 |
34 |
208 |
1 |
| pfs_fmount |
|
1 |
4 |
18 |
1 |
| pfs_fumount |
|
1 |
4 |
20 |
1 |
| Source file: ./usr.sbin/amd/amd/srvr_afs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| find_afs_srvr |
|
2 |
21 |
115 |
1 |
| wakeup_srvr |
|
1 |
5 |
19 |
1 |
| timeout_srvr |
|
6 |
15 |
95 |
1 |
| free_srvr |
|
5 |
14 |
95 |
1 |
| dup_srvr |
|
1 |
5 |
16 |
1 |
| srvrlog |
|
1 |
4 |
29 |
2 |
| Source file: ./usr.sbin/amd/amd/nfs_start.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| checkup |
|
3 |
21 |
121 |
1 |
| do_select |
|
6 |
30 |
158 |
5 |
| rpc_pending_now |
|
4 |
24 |
147 |
1 |
| run_rpc |
|
21 |
84 |
462 |
1 |
| bindnfs_port |
|
2 |
8 |
35 |
1 |
| unregister_amq |
|
2 |
5 |
20 |
1 |
| mount_automounter |
|
22 |
74 |
438 |
1 |
| Source file: ./usr.sbin/amd/amd/info_file.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| read_line |
|
10 |
24 |
157 |
3 |
| search_or_reload_file |
|
24 |
63 |
407 |
6 |
| file_open |
|
4 |
12 |
68 |
2 |
| file_init |
|
2 |
9 |
43 |
2 |
| file_reload |
|
2 |
10 |
81 |
3 |
| file_search |
|
3 |
17 |
101 |
5 |
| file_mtime |
|
2 |
9 |
43 |
2 |
| Source file: ./usr.sbin/amd/amd/am_ops.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ops_showfstypes |
|
4 |
11 |
91 |
1 |
| sunos4_match |
|
4 |
14 |
116 |
6 |
| ops_match |
|
9 |
29 |
224 |
6 |
| Source file: ./usr.sbin/syslogc/syslogc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usage |
|
1 |
8 |
28 |
1 |
| main |
|
29 |
97 |
668 |
2 |
| Source file: ./usr.sbin/amd/amd/get_args.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| debug_option |
|
1 |
4 |
19 |
1 |
| get_args |
|
47 |
145 |
690 |
2 |
| Source file: ./usr.sbin/eigrpd/eigrp.h |
| Source file: ./usr.sbin/eigrpd/update.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| send_update |
|
11 |
50 |
283 |
4 |
| recv_update |
|
3 |
16 |
103 |
3 |
| Source file: ./usr.sbin/eigrpd/log.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| log_init |
|
2 |
8 |
36 |
1 |
| log_verbose |
|
1 |
4 |
11 |
1 |
| logit |
|
1 |
7 |
38 |
3 |
| vlog |
|
3 |
15 |
90 |
3 |
| log_warn |
|
3 |
18 |
111 |
2 |
| log_warnx |
|
1 |
7 |
35 |
2 |
| log_info |
|
1 |
7 |
35 |
2 |
| log_debug |
|
2 |
9 |
41 |
2 |
| fatal |
|
3 |
14 |
76 |
1 |
| fatalx |
|
1 |
5 |
18 |
1 |
| Source file: ./usr.sbin/amd/amd/mntfs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dup_mntfs |
|
4 |
12 |
58 |
1 |
| init_mntfs |
|
3 |
28 |
227 |
8 |
| alloc_mntfs |
|
1 |
9 |
77 |
7 |
| find_mntfs |
|
14 |
44 |
355 |
7 |
| new_mntfs |
|
1 |
4 |
28 |
0 |
| uninit_mntfs |
|
7 |
18 |
121 |
2 |
| discard_mntfs |
|
1 |
8 |
37 |
1 |
| flush_mntfs |
|
4 |
11 |
66 |
1 |
| free_mntfs |
|
11 |
32 |
200 |
1 |
| realloc_mntfs |
|
7 |
17 |
132 |
8 |
| Source file: ./usr.sbin/eigrpd/hello.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| send_hello |
|
10 |
27 |
172 |
3 |
| send_peerterm |
|
4 |
19 |
126 |
1 |
| recv_hello |
|
10 |
23 |
191 |
4 |
| Source file: ./usr.sbin/amd/amd/opts.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| opt |
|
10 |
25 |
125 |
1 |
| eval_opts |
|
22 |
71 |
432 |
2 |
| free_op |
|
2 |
7 |
35 |
2 |
| normalize_slash |
|
9 |
22 |
130 |
1 |
| expand_op |
|
41 |
165 |
965 |
2 |
| expand_opts |
|
3 |
10 |
64 |
2 |
| apply_opts |
|
2 |
6 |
47 |
3 |
| free_opts |
|
1 |
5 |
22 |
1 |
| expand_key |
|
1 |
7 |
35 |
1 |
| deslashify |
|
5 |
8 |
45 |
1 |
| eval_fs_opts |
|
7 |
26 |
196 |
6 |
| Source file: ./usr.sbin/eigrpd/logmsg.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| log_sockaddr |
|
2 |
12 |
79 |
1 |
| log_in6addr |
|
1 |
10 |
64 |
1 |
| log_in6addr_scope |
|
1 |
10 |
70 |
2 |
| log_addr |
|
4 |
18 |
110 |
2 |
| log_prefix |
|
2 |
8 |
61 |
1 |
| log_route_origin |
|
4 |
12 |
67 |
2 |
| opcode_name |
|
9 |
23 |
84 |
1 |
| af_name |
|
3 |
11 |
36 |
1 |
| if_type_name |
|
3 |
11 |
37 |
1 |
| dual_state_name |
|
6 |
17 |
60 |
1 |
| ext_proto_name |
|
12 |
29 |
108 |
1 |
| Source file: ./usr.sbin/eigrpd/control.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| control_init |
|
6 |
36 |
255 |
1 |
| control_listen |
|
2 |
12 |
80 |
1 |
| control_cleanup |
|
2 |
8 |
37 |
1 |
| control_accept |
|
9 |
34 |
272 |
3 |
| control_connbyfd |
|
2 |
9 |
42 |
1 |
| control_connbypid |
|
2 |
9 |
42 |
1 |
| control_close |
|
3 |
17 |
118 |
1 |
| control_dispatch_imsg |
|
27 |
93 |
597 |
3 |
| control_imsg_relay |
|
2 |
8 |
76 |
1 |
| Source file: ./usr.sbin/amd/amd/afs_ops.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| afs_match |
|
4 |
15 |
82 |
1 |
| mount_toplvl |
|
15 |
64 |
476 |
2 |
| afs_mkcacheref |
|
3 |
10 |
56 |
1 |
| root_mount |
|
1 |
8 |
51 |
1 |
| afs_mount |
|
5 |
17 |
139 |
1 |
| toplvl_mount |
|
8 |
33 |
191 |
1 |
| toplvl_mounted |
|
1 |
4 |
13 |
1 |
| create_union_node |
|
3 |
13 |
74 |
2 |
| union_mounted |
|
5 |
15 |
107 |
1 |
| afs_umount |
|
1 |
4 |
11 |
1 |
| toplvl_umount |
|
4 |
16 |
81 |
1 |
| afs_umounted |
|
3 |
5 |
29 |
1 |
| free_continuation |
|
2 |
12 |
70 |
1 |
| assign_error_mntfs |
|
3 |
13 |
76 |
1 |
| afs_cont |
|
4 |
30 |
181 |
3 |
| afs_retry |
|
6 |
17 |
120 |
3 |
| try_mount |
|
6 |
17 |
99 |
1 |
| afs_bgmount |
|
69 |
185 |
1276 |
2 |
| afs_lookuppn |
|
55 |
191 |
1140 |
4 |
| next_nonerror_node |
|
6 |
13 |
67 |
1 |
| afs_readdir |
|
18 |
68 |
486 |
5 |
| dfs_readlink |
|
5 |
19 |
103 |
2 |
| Source file: ./usr.sbin/eigrpd/reply.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| send_reply |
|
13 |
53 |
300 |
3 |
| recv_reply |
|
2 |
13 |
75 |
3 |
| Source file: ./usr.sbin/eigrpd/rde.h |
| Source file: ./usr.sbin/eigrpd/eigrpe.h |
| Source file: ./usr.sbin/eigrpd/rde.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rde_sig_handler |
|
3 |
10 |
37 |
3 |
| rde |
|
9 |
42 |
324 |
2 |
| rde_shutdown |
|
1 |
12 |
69 |
1 |
| rde_imsg_compose_parent |
|
1 |
5 |
38 |
4 |
| rde_imsg_compose_eigrpe |
|
1 |
6 |
41 |
5 |
| rde_dispatch_imsg |
|
35 |
119 |
653 |
3 |
| rde_dispatch_parent |
|
35 |
139 |
878 |
3 |
| rde_instance_init |
|
1 |
11 |
82 |
1 |
| rde_instance_del |
|
3 |
13 |
94 |
1 |
| rde_send_change_kroute |
|
6 |
39 |
254 |
2 |
| rde_send_delete_kroute |
|
6 |
39 |
254 |
2 |
| eigrp_redistribute |
|
30 |
55 |
340 |
2 |
| rt_redist_set |
|
10 |
53 |
387 |
2 |
| rt_summary_set |
|
1 |
12 |
83 |
3 |
| rt_snap |
|
3 |
15 |
107 |
1 |
| rt_to_ctl |
|
5 |
35 |
340 |
2 |
| rt_dump |
|
10 |
35 |
215 |
2 |
| Source file: ./usr.sbin/eigrpd/control.h |
| Source file: ./usr.sbin/eigrpd/eigrpd.h |
| Source file: ./usr.sbin/eigrpd/interface.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| iface_id_compare |
|
1 |
4 |
25 |
2 |
| if_new |
|
6 |
25 |
198 |
2 |
| if_del |
|
2 |
11 |
77 |
1 |
| if_lookup |
|
2 |
8 |
47 |
2 |
| if_addr_new |
|
8 |
24 |
200 |
2 |
| if_addr_del |
|
7 |
22 |
170 |
2 |
| if_addr_lookup |
|
4 |
11 |
86 |
2 |
| if_primary_addr |
|
2 |
8 |
49 |
1 |
| if_primary_addr_prefixlen |
|
2 |
8 |
45 |
1 |
| if_update |
|
14 |
42 |
221 |
2 |
| eigrp_if_new |
|
6 |
28 |
214 |
3 |
| eigrp_if_del |
|
4 |
18 |
140 |
1 |
| eigrp_if_lookup |
|
3 |
9 |
59 |
3 |
| eigrp_if_lookup_id |
|
1 |
6 |
31 |
1 |
| eigrp_if_start |
|
7 |
35 |
225 |
1 |
| eigrp_if_reset |
|
5 |
22 |
130 |
1 |
| eigrp_if_hello_timer |
|
2 |
10 |
69 |
3 |
| eigrp_if_start_hello_timer |
|
2 |
8 |
48 |
1 |
| eigrp_if_stop_hello_timer |
|
3 |
6 |
37 |
1 |
| if_to_ctl |
|
7 |
47 |
356 |
1 |
| if_set_sockbuf |
|
5 |
16 |
100 |
1 |
| if_join_ipv4_group |
|
3 |
17 |
124 |
2 |
| if_leave_ipv4_group |
|
3 |
17 |
125 |
2 |
| if_set_ipv4_mcast_ttl |
|
2 |
10 |
57 |
2 |
| if_set_ipv4_mcast |
|
2 |
12 |
66 |
1 |
| if_set_ipv4_mcast_loop |
|
2 |
10 |
57 |
1 |
| if_set_ipv4_recvif |
|
2 |
9 |
51 |
2 |
| if_set_ipv4_hdrincl |
|
2 |
9 |
53 |
1 |
| if_join_ipv6_group |
|
3 |
17 |
115 |
2 |
| if_leave_ipv6_group |
|
3 |
17 |
119 |
2 |
| if_set_ipv6_mcast |
|
2 |
10 |
60 |
1 |
| if_set_ipv6_mcast_loop |
|
2 |
10 |
59 |
1 |
| if_set_ipv6_pktinfo |
|
2 |
9 |
51 |
2 |
| if_set_ipv6_dscp |
|
2 |
9 |
51 |
2 |
| Source file: ./usr.sbin/eigrpd/eigrpe.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| eigrpe_sig_handler |
|
3 |
10 |
37 |
3 |
| eigrpe |
|
22 |
80 |
661 |
3 |
| eigrpe_shutdown |
|
1 |
20 |
127 |
1 |
| eigrpe_imsg_compose_parent |
|
1 |
4 |
38 |
4 |
| eigrpe_imsg_compose_rde |
|
1 |
6 |
41 |
5 |
| eigrpe_dispatch_main |
|
41 |
156 |
984 |
3 |
| eigrpe_dispatch_rde |
|
45 |
147 |
799 |
3 |
| eigrpe_instance_init |
|
1 |
3 |
9 |
1 |
| eigrpe_instance_del |
|
2 |
7 |
40 |
1 |
| message_add |
|
2 |
9 |
59 |
2 |
| message_list_clr |
|
2 |
8 |
43 |
1 |
| seq_addr_list_clr |
|
2 |
8 |
43 |
1 |
| eigrpe_orig_local_route |
|
2 |
25 |
200 |
3 |
| eigrpe_iface_ctl |
|
3 |
16 |
102 |
2 |
| eigrpe_nbr_ctl |
|
2 |
16 |
117 |
1 |
| eigrpe_stats_ctl |
|
1 |
13 |
102 |
1 |
| Source file: ./usr.sbin/eigrpd/neighbor.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| nbr_compare |
|
3 |
8 |
85 |
2 |
| nbr_pid_compare |
|
1 |
4 |
25 |
2 |
| nbr_new |
|
6 |
31 |
236 |
4 |
| nbr_init |
|
2 |
16 |
110 |
1 |
| nbr_del |
|
4 |
17 |
143 |
1 |
| nbr_update_peerid |
|
4 |
11 |
65 |
1 |
| nbr_find |
|
1 |
13 |
93 |
2 |
| nbr_find_peerid |
|
1 |
6 |
31 |
1 |
| nbr_to_ctl |
|
1 |
13 |
106 |
1 |
| nbr_clear_ctl |
|
8 |
22 |
162 |
1 |
| nbr_timeout |
|
1 |
7 |
56 |
3 |
| nbr_start_timeout |
|
2 |
8 |
48 |
1 |
| nbr_stop_timeout |
|
3 |
6 |
37 |
1 |
| Source file: ./usr.sbin/eigrpd/in_cksum.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| in_cksum |
|
6 |
28 |
174 |
2 |
| Source file: ./usr.sbin/eigrpd/tlv.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| gen_parameter_tlv |
|
2 |
17 |
142 |
3 |
| gen_sequence_tlv |
|
7 |
36 |
225 |
2 |
| gen_sw_version_tlv |
|
3 |
20 |
135 |
1 |
| gen_mcast_seq_tlv |
|
1 |
8 |
59 |
2 |
| len_route_tlv |
|
4 |
21 |
116 |
1 |
| gen_route_tlv |
|
19 |
87 |
585 |
2 |
| tlv_decode_parameter |
|
2 |
10 |
57 |
2 |
| tlv_decode_seq |
|
9 |
49 |
255 |
4 |
| tlv_decode_sw_version |
|
2 |
10 |
57 |
2 |
| tlv_decode_mcast_seq |
|
2 |
10 |
57 |
2 |
| tlv_decode_route |
|
15 |
86 |
669 |
4 |
| metric_encode_mtu |
|
1 |
6 |
50 |
2 |
| metric_decode_mtu |
|
1 |
4 |
36 |
1 |
| Source file: ./usr.sbin/eigrpd/query.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| send_query |
|
13 |
54 |
305 |
4 |
| recv_query |
|
2 |
13 |
75 |
3 |
| Source file: ./usr.sbin/eigrpd/util.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mask2prefixlen |
|
2 |
7 |
32 |
1 |
| mask2prefixlen6 |
|
11 |
39 |
175 |
1 |
| prefixlen2mask |
|
2 |
6 |
33 |
1 |
| prefixlen2mask6 |
|
3 |
12 |
82 |
1 |
| eigrp_applymask |
|
6 |
24 |
167 |
4 |
| eigrp_addrcmp |
|
5 |
13 |
109 |
3 |
| eigrp_addrisset |
|
6 |
18 |
80 |
2 |
| eigrp_prefixcmp |
|
11 |
38 |
292 |
4 |
| bad_addr_v4 |
|
5 |
9 |
62 |
1 |
| bad_addr_v6 |
|
7 |
11 |
51 |
1 |
| bad_addr |
|
3 |
11 |
52 |
2 |
| embedscope |
|
3 |
14 |
106 |
1 |
| recoverscope |
|
3 |
13 |
100 |
1 |
| addscope |
|
3 |
8 |
52 |
2 |
| clearscope |
|
2 |
7 |
36 |
1 |
| sa2addr |
|
3 |
18 |
106 |
3 |
| Source file: ./usr.sbin/eigrpd/eigrpd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main_sig_handler |
|
5 |
16 |
62 |
3 |
| usage |
|
1 |
8 |
26 |
1 |
| main |
|
33 |
141 |
918 |
2 |
| eigrpd_shutdown |
|
9 |
26 |
166 |
1 |
| start_child |
|
10 |
40 |
207 |
6 |
| main_dispatch_eigrpe |
|
22 |
67 |
365 |
3 |
| main_dispatch_rde |
|
19 |
54 |
310 |
3 |
| main_imsg_compose_eigrpe |
|
2 |
6 |
50 |
4 |
| main_imsg_compose_rde |
|
2 |
6 |
50 |
4 |
| imsg_event_add |
|
2 |
9 |
73 |
1 |
| imsg_compose_event |
|
2 |
9 |
70 |
7 |
| main_imsg_send_ipc_sockets |
|
4 |
14 |
113 |
2 |
| eigrp_find |
|
3 |
8 |
55 |
3 |
| main_imsg_send_config |
|
6 |
23 |
168 |
1 |
| eigrp_reload |
|
3 |
10 |
58 |
1 |
| eigrp_sendboth |
|
3 |
8 |
64 |
3 |
| merge_config |
|
12 |
61 |
400 |
2 |
| merge_instances |
|
1 |
3 |
19 |
3 |
| config_new_empty |
|
2 |
10 |
56 |
1 |
| config_clear |
|
1 |
7 |
32 |
1 |
| Source file: ./usr.sbin/eigrpd/log.h |
| Source file: ./usr.sbin/eigrpd/packet.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| gen_eigrp_hdr |
|
1 |
13 |
102 |
5 |
| send_packet_v4 |
|
5 |
46 |
350 |
3 |
| send_packet_v6 |
|
5 |
25 |
185 |
3 |
| send_packet |
|
19 |
71 |
453 |
4 |
| recv_packet_nbr |
|
16 |
54 |
316 |
4 |
| recv_packet_eigrp |
|
42 |
129 |
809 |
7 |
| recv_packet |
|
26 |
116 |
730 |
3 |
| eigrp_hdr_sanity_check |
|
10 |
41 |
227 |
5 |
| find_iface |
|
7 |
28 |
153 |
3 |
| Source file: ./usr.sbin/eigrpd/rtp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rtp_buf_new |
|
2 |
8 |
49 |
1 |
| rtp_buf_hold |
|
1 |
5 |
19 |
1 |
| rtp_buf_release |
|
2 |
7 |
32 |
1 |
| rtp_packet_new |
|
2 |
12 |
90 |
3 |
| rtp_packet_del |
|
1 |
7 |
40 |
1 |
| rtp_process_ack |
|
4 |
14 |
95 |
2 |
| rtp_send_packet |
|
1 |
5 |
35 |
1 |
| rtp_enqueue_packet |
|
2 |
6 |
40 |
1 |
| rtp_seq_inc |
|
2 |
6 |
28 |
1 |
| rtp_send_ucast |
|
1 |
10 |
65 |
2 |
| rtp_send_mcast |
|
8 |
44 |
289 |
2 |
| rtp_send |
|
2 |
7 |
38 |
3 |
| rtp_send_ack |
|
3 |
15 |
102 |
1 |
| rtp_retrans_timer |
|
2 |
13 |
84 |
3 |
| rtp_retrans_start_timer |
|
2 |
8 |
46 |
1 |
| rtp_retrans_stop_timer |
|
3 |
6 |
37 |
1 |
| rtp_ack_timer |
|
1 |
5 |
26 |
3 |
| rtp_ack_start_timer |
|
2 |
8 |
46 |
1 |
| rtp_ack_stop_timer |
|
3 |
6 |
37 |
1 |
| Source file: ./usr.sbin/eigrpd/printconf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| print_mainconf |
|
2 |
12 |
76 |
1 |
| print_no |
|
2 |
7 |
24 |
1 |
| print_redist_metric |
|
1 |
5 |
34 |
1 |
| print_redistribute |
|
9 |
39 |
205 |
1 |
| print_iface |
|
3 |
16 |
126 |
1 |
| print_as |
|
1 |
17 |
137 |
1 |
| print_af |
|
2 |
9 |
56 |
2 |
| print_config |
|
1 |
8 |
38 |
1 |
| Source file: ./usr.sbin/nsd/nsec3.h |
| Source file: ./usr.sbin/nsd/answer.h |
| Source file: ./usr.sbin/nsd/ipc.h |
| Source file: ./usr.sbin/nsd/rdata.h |
| Source file: ./usr.sbin/nsd/edns.h |
| Source file: ./usr.sbin/eigrpd/rde_dual.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dual_fsm |
|
9 |
31 |
199 |
2 |
| rt_compare |
|
4 |
12 |
85 |
2 |
| rt_find |
|
1 |
8 |
56 |
2 |
| rt_new |
|
3 |
20 |
151 |
2 |
| rt_del |
|
3 |
12 |
94 |
1 |
| route_find |
|
2 |
8 |
48 |
2 |
| route_new |
|
5 |
26 |
210 |
3 |
| route_del |
|
2 |
10 |
78 |
2 |
| safe_sum_uint32 |
|
2 |
8 |
50 |
2 |
| safe_mul_uint32 |
|
2 |
8 |
50 |
2 |
| eigrp_composite_delay |
|
1 |
5 |
30 |
1 |
| eigrp_real_delay |
|
1 |
4 |
14 |
1 |
| eigrp_composite_bandwidth |
|
1 |
5 |
20 |
1 |
| eigrp_real_bandwidth |
|
1 |
4 |
21 |
1 |
| route_composite_metric |
|
3 |
21 |
162 |
5 |
| route_update_metrics |
|
3 |
29 |
239 |
3 |
| reply_outstanding_add |
|
3 |
18 |
137 |
2 |
| reply_outstanding_find |
|
2 |
8 |
48 |
2 |
| reply_outstanding_remove |
|
1 |
8 |
52 |
1 |
| reply_active_timer |
|
1 |
8 |
60 |
3 |
| reply_active_start_timer |
|
2 |
9 |
61 |
1 |
| reply_active_stop_timer |
|
3 |
6 |
37 |
1 |
| reply_sia_timer |
|
4 |
24 |
170 |
3 |
| reply_sia_start_timer |
|
2 |
9 |
65 |
1 |
| reply_sia_stop_timer |
|
3 |
6 |
37 |
1 |
| rinfo_fill_successor |
|
3 |
15 |
114 |
2 |
| rinfo_fill_infinite |
|
1 |
9 |
71 |
3 |
| rt_update_fib |
|
12 |
37 |
221 |
1 |
| rt_set_successor |
|
3 |
29 |
235 |
2 |
| rt_get_successor_fc |
|
7 |
22 |
130 |
1 |
| rde_summary_check |
|
5 |
15 |
104 |
3 |
| rde_send_update |
|
3 |
10 |
84 |
2 |
| rde_send_update_all |
|
4 |
11 |
72 |
2 |
| rde_send_query |
|
2 |
8 |
55 |
3 |
| rde_send_siaquery |
|
1 |
7 |
48 |
2 |
| rde_send_query_all |
|
9 |
22 |
159 |
3 |
| rde_flush_queries |
|
1 |
9 |
53 |
1 |
| rde_send_reply |
|
4 |
14 |
106 |
3 |
| rde_check_update |
|
13 |
50 |
296 |
2 |
| rde_check_query |
|
19 |
80 |
493 |
3 |
| rde_last_reply |
|
11 |
60 |
360 |
1 |
| rde_check_reply |
|
9 |
34 |
195 |
3 |
| rde_check_link_down_rn |
|
10 |
43 |
244 |
3 |
| rde_check_link_down_nbr |
|
3 |
14 |
88 |
1 |
| rde_check_link_down |
|
2 |
8 |
43 |
1 |
| rde_check_link_cost_change |
|
1 |
3 |
14 |
2 |
| rde_nbr_compare |
|
1 |
4 |
25 |
2 |
| rde_nbr_find |
|
1 |
6 |
31 |
1 |
| rde_nbr_new |
|
5 |
18 |
136 |
2 |
| rde_nbr_del |
|
4 |
12 |
80 |
2 |
| Source file: ./usr.sbin/nsd/netio.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| netio_create |
|
1 |
11 |
60 |
1 |
| netio_add_handler |
|
2 |
17 |
98 |
2 |
| netio_remove_handler |
|
4 |
18 |
125 |
2 |
| netio_current_time |
|
3 |
14 |
80 |
1 |
| netio_dispatch |
|
35 |
106 |
715 |
3 |
| Source file: ./usr.sbin/nsd/netio.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| operator | |
|
1 |
3 |
21 |
2 |
| operator |= |
|
1 |
4 |
26 |
2 |
| Source file: ./usr.sbin/sensorsd/sensorsd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usage |
|
1 |
7 |
25 |
1 |
| main |
|
16 |
56 |
324 |
2 |
| create |
|
5 |
23 |
146 |
1 |
| create_sdlim |
|
7 |
35 |
268 |
1 |
| destroy_sdlim |
|
2 |
10 |
61 |
1 |
| check |
|
18 |
67 |
457 |
1 |
| check_sdlim |
|
15 |
56 |
359 |
2 |
| execute |
|
3 |
14 |
64 |
1 |
| report |
|
1 |
6 |
28 |
1 |
| report_sdlim |
|
43 |
178 |
923 |
2 |
| print_sensor |
|
25 |
78 |
495 |
2 |
| parse_config |
|
1 |
6 |
29 |
1 |
| parse_config_sdlim |
|
10 |
35 |
285 |
2 |
| get_val |
|
27 |
70 |
306 |
3 |
| reparse_cfg |
|
1 |
4 |
11 |
1 |
| Source file: ./usr.sbin/eigrpd/kroute.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| kif_init |
|
2 |
6 |
26 |
1 |
| kr_init |
|
8 |
35 |
251 |
2 |
| kif_redistribute |
|
1 |
13 |
77 |
1 |
| kr_change |
|
5 |
26 |
155 |
1 |
| kr_delete |
|
7 |
22 |
162 |
1 |
| kr_shutdown |
|
1 |
6 |
18 |
1 |
| kr_fib_couple |
|
3 |
17 |
104 |
1 |
| kr_fib_decouple |
|
3 |
17 |
104 |
1 |
| kr_dispatch_msg |
|
2 |
5 |
28 |
3 |
| kr_show_route |
|
5 |
26 |
178 |
1 |
| kr_ifinfo |
|
3 |
10 |
75 |
2 |
| kr_redist_remove |
|
2 |
7 |
43 |
1 |
| kr_redist_eval |
|
13 |
33 |
206 |
1 |
| kr_redistribute |
|
3 |
15 |
93 |
1 |
| kroute_compare |
|
6 |
16 |
114 |
2 |
| kroute_find_prefix |
|
1 |
8 |
52 |
3 |
| kroute_find_prio |
|
3 |
10 |
63 |
2 |
| kroute_find_gw |
|
2 |
8 |
62 |
2 |
| kroute_insert |
|
11 |
52 |
360 |
1 |
| kroute_remove |
|
7 |
36 |
250 |
1 |
| kroute_clear |
|
4 |
18 |
124 |
1 |
| kif_compare |
|
1 |
4 |
29 |
2 |
| kif_find |
|
1 |
7 |
47 |
1 |
| kif_findname |
|
2 |
8 |
49 |
1 |
| kif_insert |
|
3 |
11 |
77 |
1 |
| kif_remove |
|
3 |
14 |
94 |
1 |
| kif_clear |
|
2 |
6 |
32 |
1 |
| kif_update |
|
8 |
26 |
221 |
4 |
| kif_validate |
|
2 |
7 |
40 |
1 |
| protect_lo |
|
1 |
16 |
113 |
1 |
| prefixlen_classful |
|
5 |
13 |
60 |
1 |
| get_rtaddrs |
|
3 |
12 |
87 |
3 |
| if_change |
|
7 |
34 |
221 |
4 |
| if_newaddr |
|
13 |
53 |
383 |
4 |
| if_deladdr |
|
16 |
60 |
437 |
4 |
| if_announce |
|
5 |
19 |
93 |
1 |
| send_rtmsg_v4 |
|
9 |
71 |
537 |
3 |
| send_rtmsg_v6 |
|
9 |
74 |
613 |
3 |
| send_rtmsg |
|
3 |
12 |
63 |
3 |
| fetchtable |
|
4 |
30 |
193 |
1 |
| fetchifs |
|
4 |
29 |
184 |
1 |
| dispatch_rtmsg |
|
5 |
16 |
98 |
1 |
| rtmsg_process |
|
21 |
70 |
440 |
2 |
| rtmsg_process_route |
|
40 |
119 |
866 |
2 |
| Source file: ./usr.sbin/nsd/buffer.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| buffer_cleanup |
|
1 |
6 |
33 |
1 |
| buffer_create |
|
2 |
14 |
89 |
2 |
| buffer_create_from |
|
1 |
9 |
57 |
3 |
| buffer_clear |
|
1 |
6 |
27 |
1 |
| buffer_flip |
|
1 |
6 |
27 |
1 |
| buffer_rewind |
|
1 |
5 |
19 |
1 |
| buffer_set_capacity |
|
1 |
7 |
52 |
2 |
| buffer_reserve |
|
3 |
13 |
84 |
2 |
| buffer_printf |
|
3 |
23 |
147 |
3 |
| Source file: ./usr.sbin/nsd/options.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| nsd_options_num_zones |
|
1 |
2 |
16 |
1 |
| Source file: ./usr.sbin/nsd/xfrd-notify.h |
| Source file: ./usr.sbin/nsd/xfrd-tcp.h |
| Source file: ./usr.sbin/nsd/packet.h |
| Source file: ./usr.sbin/nsd/tsig.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tsig_digest_variables |
|
3 |
44 |
291 |
2 |
| tree_dname_compare |
|
1 |
4 |
32 |
2 |
| tsig_init |
|
2 |
8 |
35 |
1 |
| tsig_add_key |
|
1 |
8 |
57 |
1 |
| tsig_del_key |
|
3 |
8 |
53 |
1 |
| tsig_find_key |
|
2 |
8 |
38 |
1 |
| tsig_add_algorithm |
|
2 |
11 |
56 |
1 |
| tsig_strlowercmp |
|
15 |
23 |
149 |
2 |
| tsig_get_algorithm_by_name |
|
5 |
17 |
93 |
1 |
| tsig_error |
|
6 |
25 |
85 |
1 |
| tsig_cleanup |
|
1 |
6 |
32 |
1 |
| tsig_create_record |
|
1 |
5 |
25 |
2 |
| tsig_create_record_custom |
|
2 |
11 |
81 |
5 |
| tsig_delete_record |
|
2 |
7 |
39 |
2 |
| tsig_init_record |
|
1 |
15 |
77 |
3 |
| tsig_from_query |
|
12 |
72 |
418 |
1 |
| tsig_init_query |
|
1 |
16 |
98 |
2 |
| tsig_prepare |
|
3 |
24 |
143 |
1 |
| tsig_update |
|
2 |
16 |
101 |
3 |
| tsig_sign |
|
1 |
13 |
95 |
1 |
| tsig_verify |
|
3 |
17 |
83 |
1 |
| tsig_find_rr |
|
4 |
24 |
141 |
2 |
| tsig_parse_rr |
|
13 |
72 |
502 |
2 |
| tsig_append_rr |
|
3 |
29 |
225 |
2 |
| tsig_reserved_space |
|
4 |
21 |
111 |
1 |
| tsig_error_reply |
|
2 |
6 |
33 |
1 |
| tsig_finalize |
|
2 |
4 |
9 |
0 |
| Source file: ./usr.sbin/nsd/options.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rbtree_strcmp |
|
5 |
7 |
64 |
2 |
| nsd_options_create |
|
5 |
68 |
451 |
1 |
| nsd_options_insert_zone |
|
3 |
10 |
68 |
2 |
| nsd_options_insert_pattern |
|
3 |
10 |
56 |
2 |
| parse_options_file |
|
35 |
131 |
795 |
4 |
| options_zonestatnames_create |
|
3 |
19 |
153 |
1 |
| comp_zonebucket |
|
1 |
4 |
31 |
2 |
| zone_list_free_insert |
|
2 |
18 |
143 |
3 |
| zone_list_zone_insert |
|
3 |
25 |
177 |
5 |
| parse_zone_list_file |
|
14 |
55 |
412 |
1 |
| zone_options_delete |
|
1 |
7 |
72 |
2 |
| zone_list_add |
|
24 |
111 |
874 |
3 |
| zone_list_del |
|
4 |
17 |
132 |
2 |
| delbucket |
|
4 |
15 |
116 |
2 |
| zone_list_compact |
|
11 |
71 |
438 |
1 |
| zone_list_close |
|
1 |
5 |
22 |
1 |
| c_error_va_list_pos |
|
7 |
28 |
236 |
3 |
| c_error_msg_pos |
|
1 |
7 |
38 |
3 |
| c_error_msg |
|
1 |
7 |
35 |
2 |
| c_error |
|
3 |
6 |
48 |
1 |
| c_wrap |
|
1 |
4 |
8 |
0 |
| zone_options_create |
|
1 |
11 |
59 |
1 |
| acl_equal |
|
13 |
13 |
163 |
2 |
| acl_list_equal |
|
6 |
11 |
61 |
2 |
| pattern_options_create |
|
2 |
33 |
191 |
1 |
| acl_delete |
|
3 |
10 |
82 |
2 |
| acl_list_delete |
|
2 |
9 |
41 |
2 |
| pattern_options_remove |
|
5 |
22 |
200 |
2 |
| copy_acl |
|
4 |
14 |
103 |
2 |
| copy_acl_list |
|
4 |
16 |
107 |
2 |
| copy_changed_acl |
|
2 |
8 |
52 |
3 |
| copy_pat_fixed |
|
4 |
26 |
190 |
3 |
| pattern_options_add_modify |
|
4 |
30 |
286 |
2 |
| pattern_options_find |
|
1 |
4 |
29 |
2 |
| pattern_options_equal |
|
38 |
43 |
484 |
2 |
| marshal_u8 |
|
1 |
5 |
26 |
2 |
| unmarshal_u8 |
|
1 |
4 |
15 |
1 |
| marshal_u64 |
|
1 |
5 |
26 |
2 |
| unmarshal_u64 |
|
1 |
4 |
15 |
1 |
| marshal_u16 |
|
1 |
5 |
26 |
2 |
| unmarshal_u16 |
|
1 |
4 |
15 |
1 |
| marshal_u32 |
|
1 |
5 |
26 |
2 |
| unmarshal_u32 |
|
1 |
4 |
15 |
1 |
| marshal_str |
|
2 |
10 |
64 |
2 |
| unmarshal_str |
|
2 |
10 |
76 |
2 |
| marshal_acl |
|
1 |
7 |
56 |
2 |
| unmarshal_acl |
|
1 |
11 |
84 |
2 |
| marshal_acl_list |
|
2 |
9 |
47 |
2 |
| unmarshal_acl_list |
|
3 |
12 |
75 |
2 |
| pattern_options_marshal |
|
2 |
27 |
230 |
2 |
| pattern_options_unmarshal |
|
2 |
29 |
258 |
2 |
| key_options_create |
|
1 |
7 |
34 |
1 |
| key_options_insert |
|
2 |
6 |
48 |
2 |
| key_options_find |
|
1 |
4 |
29 |
2 |
| key_options_desetup |
|
3 |
12 |
82 |
2 |
| key_options_setup |
|
4 |
25 |
175 |
2 |
| key_options_remove |
|
7 |
23 |
230 |
2 |
| key_options_equal |
|
3 |
5 |
54 |
2 |
| key_options_add_modify |
|
2 |
22 |
203 |
2 |
| acl_check_incoming |
|
11 |
32 |
162 |
3 |
| acl_addr_matches_ipv6host |
|
10 |
26 |
198 |
3 |
| acl_addr_matches_ipv4host |
|
10 |
25 |
186 |
3 |
| acl_addr_matches_host |
|
5 |
17 |
104 |
2 |
| acl_addr_matches |
|
5 |
19 |
120 |
2 |
| acl_addr_match_mask |
|
3 |
13 |
83 |
4 |
| acl_addr_match_range |
|
12 |
23 |
147 |
4 |
| acl_key_matches |
|
11 |
36 |
251 |
2 |
| acl_same_host |
|
15 |
30 |
218 |
2 |
| key_options_tsig_add |
|
1 |
8 |
44 |
1 |
| zone_is_slave |
|
3 |
4 |
24 |
1 |
| get_char |
|
2 |
9 |
51 |
2 |
| get_end_label |
|
2 |
8 |
52 |
2 |
| replace_str |
|
3 |
13 |
117 |
4 |
| config_cook_string |
|
9 |
23 |
250 |
2 |
| config_make_zonefile |
|
18 |
32 |
380 |
2 |
| zone_options_find |
|
1 |
4 |
30 |
2 |
| acl_find_num |
|
5 |
13 |
57 |
2 |
| parse_acl_is_ipv6 |
|
4 |
9 |
42 |
1 |
| parse_acl_range_type |
|
4 |
21 |
120 |
2 |
| parse_acl_range_subnet |
|
7 |
21 |
141 |
3 |
| parse_acl_info |
|
17 |
57 |
490 |
3 |
| append_acl |
|
3 |
14 |
78 |
3 |
| config_apply_pattern |
|
12 |
53 |
347 |
1 |
| nsd_options_destroy |
|
1 |
4 |
16 |
1 |
| getzonestatid |
|
6 |
24 |
205 |
2 |
| Source file: ./usr.sbin/nsd/udb.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| udb_ptr_data |
|
1 |
3 |
18 |
1 |
| udb_ptr_is_null |
|
1 |
3 |
17 |
1 |
| udb_ptr_new |
|
1 |
4 |
34 |
3 |
| udb_ptr_unlink |
|
2 |
4 |
25 |
2 |
| udb_rptr_set_rptr |
|
4 |
8 |
87 |
3 |
| udb_rptr_set_ptr |
|
4 |
7 |
78 |
3 |
| udb_ptr_set_rptr |
|
3 |
6 |
56 |
3 |
| udb_ptr_set_ptr |
|
1 |
3 |
27 |
3 |
| udb_rptr_zero |
|
3 |
5 |
52 |
2 |
| udb_ptr_zero |
|
1 |
3 |
21 |
2 |
| udb_rel_ptr_free_space |
|
3 |
7 |
69 |
3 |
| Source file: ./usr.sbin/nsd/nsd-control.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usage |
|
1 |
33 |
156 |
0 |
| ssl_err |
|
1 |
6 |
28 |
1 |
| setup_ctx |
|
14 |
30 |
215 |
1 |
| contact_server |
|
20 |
71 |
508 |
3 |
| setup_ssl |
|
9 |
28 |
157 |
2 |
| send_file |
|
4 |
10 |
94 |
4 |
| go_cmd |
|
14 |
39 |
333 |
3 |
| go |
|
5 |
27 |
197 |
4 |
| main |
|
16 |
56 |
335 |
2 |
| main |
|
1 |
5 |
14 |
1 |
| Source file: ./usr.sbin/nsd/udbzone.h |
| Source file: ./usr.sbin/nsd/lookup3.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| hash_set_raninit |
|
1 |
4 |
11 |
1 |
| hashword |
|
6 |
27 |
143 |
3 |
| hashword2 |
|
6 |
29 |
161 |
4 |
| hashlittle |
|
61 |
134 |
1512 |
3 |
| hashlittle2 |
|
61 |
139 |
1566 |
4 |
| hashbig |
|
45 |
92 |
1068 |
3 |
| driver1 |
|
4 |
15 |
109 |
0 |
| driver2 |
|
15 |
62 |
614 |
0 |
| driver3 |
|
8 |
80 |
1135 |
0 |
| driver4 |
|
3 |
13 |
92 |
0 |
| main |
|
1 |
8 |
24 |
0 |
| Source file: ./usr.sbin/nsd/rrl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rrl_mmap_init |
|
7 |
35 |
255 |
7 |
| rrl_set_limit |
|
1 |
6 |
29 |
3 |
| rrl_init |
|
4 |
7 |
42 |
1 |
| rrl_get_source |
|
3 |
16 |
134 |
2 |
| rrlsource2str |
|
5 |
28 |
218 |
2 |
| rrlstr2type |
|
11 |
14 |
161 |
1 |
| rrltype2str |
|
11 |
16 |
79 |
1 |
| rrl_classify |
|
19 |
61 |
416 |
3 |
| examine_query |
|
8 |
24 |
272 |
5 |
| rrl_attenuate_bucket |
|
2 |
9 |
53 |
2 |
| rrl_msg |
|
7 |
19 |
164 |
2 |
| used_to_block |
|
2 |
4 |
26 |
3 |
| rrl_update |
|
18 |
54 |
473 |
6 |
| rrl_process_query |
|
4 |
14 |
92 |
1 |
| Source file: ./usr.sbin/nsd/xfrd-disk.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| xfrd_read_token |
|
5 |
13 |
79 |
1 |
| xfrd_read_i16 |
|
2 |
8 |
40 |
2 |
| xfrd_read_i32 |
|
2 |
8 |
40 |
2 |
| xfrd_read_time_t |
|
2 |
8 |
40 |
2 |
| xfrd_read_check_str |
|
3 |
9 |
47 |
2 |
| xfrd_read_state_soa |
|
18 |
43 |
358 |
5 |
| xfrd_read_state |
|
56 |
177 |
1173 |
1 |
| neato_timeout |
|
6 |
23 |
172 |
3 |
| xfrd_write_dname |
|
9 |
27 |
175 |
2 |
| xfrd_write_state_soa |
|
2 |
29 |
314 |
5 |
| xfrd_write_state |
|
8 |
66 |
563 |
1 |
| tempdirname |
|
1 |
5 |
38 |
3 |
| xfrd_make_tempdir |
|
4 |
14 |
82 |
1 |
| xfrd_del_tempdir |
|
3 |
9 |
57 |
1 |
| tempxfrname |
|
1 |
6 |
54 |
4 |
| xfrd_open_xfrfile |
|
4 |
17 |
103 |
3 |
| xfrd_unlink_xfrfile |
|
2 |
9 |
58 |
2 |
| xfrd_get_xfrfile_size |
|
2 |
12 |
75 |
2 |
| Source file: ./usr.sbin/nsd/buffer.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| buffer_invariant |
|
1 |
3 |
11 |
1 |
| buffer_invariant |
|
1 |
7 |
42 |
1 |
| buffer_position |
|
1 |
4 |
13 |
1 |
| buffer_set_position |
|
1 |
5 |
26 |
2 |
| buffer_skip |
|
1 |
5 |
30 |
2 |
| buffer_limit |
|
1 |
4 |
13 |
1 |
| buffer_set_limit |
|
2 |
7 |
44 |
2 |
| buffer_capacity |
|
1 |
4 |
13 |
1 |
| buffer_at |
|
1 |
5 |
27 |
2 |
| buffer_begin |
|
1 |
4 |
16 |
1 |
| buffer_end |
|
1 |
4 |
18 |
1 |
| buffer_current |
|
1 |
4 |
18 |
1 |
| buffer_remaining_at |
|
1 |
6 |
32 |
2 |
| buffer_remaining |
|
1 |
4 |
18 |
1 |
| buffer_available_at |
|
1 |
4 |
24 |
3 |
| buffer_available |
|
1 |
4 |
23 |
2 |
| buffer_write_at |
|
1 |
5 |
44 |
4 |
| buffer_write |
|
1 |
5 |
35 |
3 |
| buffer_write_string_at |
|
1 |
4 |
30 |
3 |
| buffer_write_string |
|
1 |
4 |
25 |
2 |
| buffer_write_u8_at |
|
1 |
5 |
38 |
3 |
| buffer_write_u8 |
|
1 |
5 |
31 |
2 |
| buffer_write_u16_at |
|
1 |
5 |
40 |
3 |
| buffer_write_u16 |
|
1 |
5 |
31 |
2 |
| buffer_write_u32_at |
|
1 |
5 |
40 |
3 |
| buffer_write_u32 |
|
1 |
5 |
31 |
2 |
| buffer_write_u64_at |
|
1 |
5 |
40 |
3 |
| buffer_write_u64 |
|
1 |
5 |
31 |
2 |
| buffer_read_at |
|
1 |
5 |
43 |
4 |
| buffer_read |
|
1 |
5 |
34 |
3 |
| buffer_read_u8_at |
|
1 |
5 |
34 |
2 |
| buffer_read_u8 |
|
1 |
6 |
32 |
1 |
| buffer_read_u16_at |
|
1 |
5 |
36 |
2 |
| buffer_read_u16 |
|
1 |
6 |
32 |
1 |
| buffer_read_u32_at |
|
1 |
5 |
36 |
2 |
| buffer_read_u32 |
|
1 |
6 |
32 |
1 |
| buffer_read_u64_at |
|
1 |
5 |
36 |
2 |
| buffer_read_u64 |
|
1 |
6 |
32 |
1 |
| Source file: ./usr.sbin/nsd/rdata.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rdata_dname_to_string |
|
1 |
9 |
41 |
3 |
| rdata_dns_name_to_string |
|
11 |
29 |
219 |
3 |
| rdata_text_to_string |
|
5 |
21 |
141 |
3 |
| rdata_texts_to_string |
|
8 |
25 |
185 |
3 |
| rdata_long_text_to_string |
|
5 |
21 |
141 |
3 |
| rdata_tag_to_string |
|
4 |
14 |
101 |
3 |
| rdata_byte_to_string |
|
1 |
7 |
43 |
3 |
| rdata_short_to_string |
|
1 |
7 |
45 |
3 |
| rdata_long_to_string |
|
1 |
7 |
45 |
3 |
| rdata_a_to_string |
|
2 |
11 |
66 |
3 |
| rdata_aaaa_to_string |
|
2 |
11 |
66 |
3 |
| rdata_ilnp64_to_string |
|
1 |
11 |
83 |
3 |
| rdata_eui48_to_string |
|
1 |
14 |
97 |
3 |
| rdata_eui64_to_string |
|
1 |
16 |
117 |
3 |
| rdata_rrtype_to_string |
|
1 |
7 |
44 |
3 |
| rdata_algorithm_to_string |
|
1 |
7 |
42 |
3 |
| rdata_certificate_type_to_string |
|
2 |
13 |
75 |
3 |
| rdata_period_to_string |
|
1 |
7 |
45 |
3 |
| rdata_time_to_string |
|
2 |
13 |
88 |
3 |
| rdata_base32_to_string |
|
3 |
18 |
112 |
3 |
| rdata_base64_to_string |
|
3 |
17 |
106 |
3 |
| hex_to_string |
|
2 |
14 |
116 |
3 |
| rdata_hex_to_string |
|
2 |
10 |
57 |
3 |
| rdata_hexlen_to_string |
|
2 |
10 |
61 |
3 |
| rdata_nsap_to_string |
|
1 |
7 |
43 |
3 |
| rdata_apl_to_string |
|
8 |
35 |
223 |
3 |
| rdata_services_to_string |
|
6 |
31 |
204 |
3 |
| rdata_ipsecgateway_to_string |
|
6 |
31 |
154 |
3 |
| rdata_nxt_to_string |
|
3 |
14 |
89 |
3 |
| rdata_nsec_to_string |
|
6 |
31 |
181 |
3 |
| rdata_loc_to_string |
|
1 |
6 |
27 |
3 |
| rdata_unknown_to_string |
|
1 |
8 |
54 |
3 |
| rdata_atom_to_string |
|
1 |
5 |
31 |
4 |
| rdata_wireformat_to_rdata_atoms |
|
38 |
149 |
767 |
6 |
| rdata_maximum_wireformat_size |
|
3 |
15 |
82 |
3 |
| rdata_atoms_to_unknown_string |
|
3 |
22 |
132 |
4 |
| print_rdata |
|
7 |
27 |
150 |
3 |
| Source file: ./usr.sbin/nsd/region-allocator.h |
| Source file: ./usr.sbin/nsd/xfrd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| xfrd_signal_callback |
|
2 |
6 |
33 |
3 |
| xfrd_sigsetup |
|
3 |
11 |
74 |
1 |
| xfrd_init |
|
11 |
82 |
656 |
5 |
| xfrd_process_activated |
|
3 |
13 |
80 |
1 |
| xfrd_sig_process |
|
14 |
46 |
337 |
1 |
| xfrd_main |
|
4 |
19 |
79 |
1 |
| xfrd_shutdown |
|
15 |
55 |
382 |
0 |
| xfrd_clean_pending_tasks |
|
3 |
12 |
92 |
2 |
| xfrd_init_slave_zone |
|
1 |
37 |
295 |
2 |
| xfrd_init_zones |
|
2 |
24 |
183 |
0 |
| xfrd_process_soa_info_task |
|
3 |
53 |
500 |
1 |
| xfrd_receive_soa |
|
14 |
61 |
440 |
2 |
| xfrd_reopen_logfile |
|
2 |
5 |
25 |
1 |
| xfrd_deactivate_zone |
|
4 |
11 |
63 |
1 |
| xfrd_del_slave_zone |
|
13 |
38 |
274 |
2 |
| xfrd_free_namedb |
|
1 |
6 |
29 |
1 |
| xfrd_set_timer_refresh |
|
8 |
28 |
185 |
1 |
| xfrd_set_timer_retry |
|
14 |
45 |
322 |
1 |
| xfrd_handle_zone |
|
16 |
50 |
365 |
3 |
| xfrd_make_request |
|
23 |
90 |
603 |
1 |
| xfrd_udp_obtain |
|
9 |
37 |
234 |
1 |
| xfrd_time |
|
2 |
8 |
34 |
0 |
| xfrd_copy_soa |
|
3 |
31 |
413 |
2 |
| xfrd_set_zone_state |
|
5 |
11 |
59 |
2 |
| xfrd_set_refresh_now |
|
3 |
13 |
78 |
1 |
| xfrd_unset_timer |
|
2 |
8 |
46 |
1 |
| xfrd_set_timer |
|
8 |
23 |
205 |
2 |
| xfrd_handle_incoming_soa |
|
17 |
70 |
479 |
3 |
| xfrd_send_expire_notification |
|
1 |
6 |
42 |
1 |
| xfrd_udp_read_packet |
|
2 |
14 |
76 |
2 |
| xfrd_udp_release |
|
13 |
47 |
297 |
1 |
| xfrd_disable_ixfr |
|
3 |
9 |
61 |
1 |
| xfrd_udp_read |
|
12 |
51 |
264 |
1 |
| xfrd_send_udp |
|
7 |
38 |
204 |
3 |
| xfrd_bind_local_interface |
|
16 |
53 |
333 |
4 |
| xfrd_tsig_sign_request |
|
3 |
22 |
154 |
3 |
| xfrd_send_ixfr_request_udp |
|
6 |
33 |
263 |
1 |
| xfrd_parse_soa_info |
|
7 |
25 |
219 |
2 |
| xfrd_xfr_check_rrs |
|
18 |
95 |
623 |
6 |
| xfrd_xfr_process_tsig |
|
14 |
47 |
316 |
2 |
| xfrd_parse_received_xfr_packet |
|
46 |
188 |
1206 |
3 |
| xfrd_pretty_time |
|
2 |
8 |
62 |
1 |
| xfrd_handle_received_xfr_packet |
|
25 |
112 |
705 |
2 |
| xfrd_set_reload_timeout |
|
8 |
27 |
206 |
0 |
| xfrd_handle_reload |
|
1 |
9 |
61 |
3 |
| xfrd_handle_notify_and_start_xfr |
|
7 |
11 |
72 |
2 |
| xfrd_handle_passed_packet |
|
10 |
48 |
290 |
3 |
| xfrd_handle_incoming_notify |
|
10 |
30 |
200 |
2 |
| find_same_master_notify |
|
4 |
17 |
87 |
2 |
| xfrd_check_failed_updates |
|
9 |
38 |
198 |
0 |
| xfrd_prepare_zones_for_reload |
|
5 |
15 |
69 |
0 |
| xfrd_get_temp_buffer |
|
1 |
4 |
10 |
0 |
| xfrd_process_stat_info_task |
|
3 |
10 |
96 |
2 |
| xfrd_process_zonestat_inc_task |
|
1 |
8 |
88 |
2 |
| xfrd_handle_taskresult |
|
6 |
18 |
77 |
2 |
| xfrd_process_task_result |
|
2 |
12 |
86 |
2 |
| xfrd_set_reload_now |
|
2 |
7 |
38 |
1 |
| xfrd_handle_write_timer |
|
3 |
18 |
124 |
3 |
| xfrd_write_timer_set |
|
4 |
14 |
103 |
0 |
| xfrd_handle_child_timer |
|
1 |
7 |
38 |
3 |
| Source file: ./usr.sbin/nsd/nsd-checkconf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| zone_print_rrl_whitelist |
|
4 |
12 |
69 |
2 |
| underscore |
|
5 |
17 |
83 |
1 |
| usage |
|
1 |
19 |
113 |
1 |
| print_string_var |
|
2 |
8 |
40 |
2 |
| quote |
|
2 |
7 |
28 |
1 |
| quotepath |
|
8 |
10 |
79 |
3 |
| quote_acl |
|
5 |
10 |
55 |
1 |
| print_acl |
|
18 |
43 |
342 |
2 |
| print_acl_ips |
|
2 |
8 |
36 |
2 |
| config_print_zone |
|
17 |
152 |
1094 |
7 |
| print_zone_content_elems |
|
14 |
31 |
233 |
1 |
| config_test_print_server |
|
18 |
86 |
723 |
1 |
| append_trailing_slash |
|
4 |
10 |
87 |
2 |
| file_inside_chroot |
|
5 |
5 |
51 |
2 |
| additional_checks |
|
24 |
98 |
655 |
2 |
| main |
|
18 |
78 |
370 |
2 |
| Source file: ./usr.sbin/nsd/util.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| write_uint16 |
|
2 |
7 |
66 |
2 |
| write_uint32 |
|
2 |
9 |
104 |
2 |
| write_uint64 |
|
1 |
12 |
168 |
2 |
| read_uint16 |
|
2 |
6 |
46 |
1 |
| read_uint32 |
|
2 |
6 |
66 |
1 |
| read_uint64 |
|
1 |
13 |
119 |
1 |
| timeval_to_timespec |
|
1 |
6 |
33 |
2 |
| Source file: ./usr.sbin/nsd/dname.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dname_make |
|
9 |
54 |
366 |
3 |
| dname_make_from_packet |
|
2 |
8 |
51 |
4 |
| dname_make_wire_from_packet |
|
13 |
55 |
307 |
3 |
| dname_parse |
|
2 |
7 |
42 |
2 |
| dname_parse_wire |
|
17 |
62 |
356 |
2 |
| dname_copy |
|
1 |
5 |
30 |
2 |
| dname_partial_copy |
|
3 |
10 |
62 |
3 |
| dname_origin |
|
1 |
4 |
27 |
2 |
| dname_is_subdomain |
|
4 |
12 |
74 |
2 |
| dname_compare |
|
5 |
22 |
122 |
2 |
| label_compare |
|
3 |
20 |
116 |
2 |
| dname_label_match_count |
|
4 |
14 |
79 |
2 |
| dname_to_string |
|
12 |
44 |
274 |
2 |
| dname_make_from_label |
|
2 |
10 |
78 |
3 |
| dname_concatenate |
|
1 |
10 |
85 |
3 |
| dname_replace |
|
4 |
29 |
281 |
4 |
| wirelabel2str |
|
7 |
21 |
132 |
1 |
| wiredname2str |
|
10 |
29 |
178 |
1 |
| dname_equal_nocase |
|
7 |
19 |
126 |
3 |
| Source file: ./usr.sbin/nsd/zonec.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| alloc_rdata |
|
1 |
6 |
35 |
2 |
| alloc_rdata_init |
|
1 |
7 |
51 |
3 |
| zparser_conv_hex |
|
8 |
34 |
190 |
3 |
| zparser_conv_hex_length |
|
6 |
34 |
185 |
3 |
| zparser_conv_time |
|
2 |
12 |
76 |
2 |
| zparser_conv_services |
|
9 |
48 |
303 |
3 |
| zparser_conv_serial |
|
2 |
14 |
79 |
2 |
| zparser_conv_period |
|
2 |
14 |
79 |
2 |
| zparser_conv_short |
|
2 |
13 |
79 |
2 |
| zparser_conv_byte |
|
2 |
13 |
76 |
2 |
| zparser_conv_algorithm |
|
3 |
17 |
98 |
2 |
| zparser_conv_certificate_type |
|
3 |
17 |
104 |
2 |
| zparser_conv_a |
|
2 |
11 |
66 |
2 |
| zparser_conv_aaaa |
|
2 |
11 |
67 |
2 |
| zparser_conv_ilnp64 |
|
9 |
62 |
354 |
2 |
| zparser_conv_eui48 |
|
3 |
21 |
171 |
2 |
| zparser_conv_eui64 |
|
3 |
23 |
201 |
2 |
| zparser_conv_eui |
|
7 |
36 |
178 |
3 |
| zparser_conv_text |
|
2 |
15 |
86 |
3 |
| zparser_conv_long_text |
|
2 |
10 |
52 |
3 |
| zparser_conv_tag |
|
6 |
27 |
165 |
3 |
| zparser_conv_dns_name |
|
1 |
9 |
61 |
3 |
| zparser_conv_b32 |
|
4 |
17 |
110 |
2 |
| zparser_conv_b64 |
|
3 |
16 |
91 |
2 |
| zparser_conv_rrtype |
|
2 |
12 |
70 |
2 |
| zparser_conv_nxt |
|
3 |
10 |
61 |
2 |
| zparser_conv_nsec |
|
7 |
38 |
274 |
2 |
| parse_int |
|
3 |
18 |
77 |
6 |
| precsize_aton |
|
10 |
35 |
231 |
2 |
| zparser_conv_loc |
|
49 |
143 |
957 |
2 |
| zparser_conv_apl_rdata |
|
14 |
80 |
486 |
2 |
| zparser_ttl2int |
|
2 |
11 |
55 |
2 |
| zadd_rdata_wireformat |
|
2 |
10 |
52 |
1 |
| zadd_rdata_txt_wireformat |
|
5 |
26 |
205 |
2 |
| zadd_rdata_txt_clean_wireformat |
|
4 |
16 |
115 |
0 |
| zadd_rdata_domain |
|
2 |
11 |
57 |
1 |
| parse_unknown_rdata |
|
5 |
31 |
146 |
2 |
| zrdatacmp |
|
10 |
38 |
249 |
3 |
| zone_open |
|
3 |
12 |
75 |
4 |
| set_bitnsec |
|
1 |
7 |
53 |
2 |
| has_soa |
|
4 |
9 |
53 |
1 |
| process_rr |
|
35 |
127 |
862 |
1 |
| domain_find_rrset_any |
|
3 |
11 |
48 |
2 |
| check_dname |
|
8 |
24 |
113 |
1 |
| zonec_read |
|
10 |
41 |
284 |
3 |
| zonec_setup_parser |
|
1 |
10 |
77 |
1 |
| zonec_desetup_parser |
|
2 |
8 |
27 |
1 |
| zonec_setup_string_parser |
|
1 |
11 |
77 |
2 |
| zonec_desetup_string_parser |
|
1 |
6 |
28 |
1 |
| zonec_parse_string |
|
3 |
22 |
133 |
6 |
| Source file: ./usr.sbin/nsd/ipc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ipc_child_quit |
|
3 |
9 |
40 |
1 |
| child_handle_parent_command |
|
12 |
52 |
313 |
3 |
| parent_handle_xfrd_command |
|
9 |
45 |
226 |
3 |
| send_stat_to_child |
|
4 |
12 |
80 |
2 |
| debug_print_fwd_name |
|
2 |
19 |
132 |
3 |
| send_quit_to_child |
|
5 |
15 |
107 |
2 |
| child_is_done |
|
5 |
22 |
177 |
2 |
| stats_add |
|
5 |
27 |
285 |
2 |
| stats_subtract |
|
5 |
25 |
269 |
2 |
| read_child_stats |
|
2 |
13 |
112 |
3 |
| parent_handle_child_command |
|
33 |
136 |
888 |
3 |
| parent_check_all_children_exited |
|
4 |
12 |
76 |
1 |
| parent_handle_reload_command |
|
10 |
48 |
281 |
3 |
| xfrd_send_reload_req |
|
4 |
25 |
260 |
1 |
| ipc_xfrd_set_listening |
|
3 |
12 |
102 |
2 |
| xfrd_send_shutdown_req |
|
2 |
12 |
81 |
1 |
| xfrd_send_quit_req |
|
2 |
12 |
81 |
1 |
| xfrd_send_stats |
|
2 |
10 |
66 |
1 |
| xfrd_handle_ipc |
|
14 |
30 |
174 |
3 |
| xfrd_handle_ipc_read |
|
19 |
104 |
707 |
2 |
| Source file: ./usr.sbin/nsd/nsec3.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cmp_hash_tree |
|
4 |
9 |
85 |
2 |
| cmp_wchash_tree |
|
4 |
9 |
85 |
2 |
| cmp_dshash_tree |
|
4 |
9 |
85 |
2 |
| cmp_nsec3_tree |
|
1 |
8 |
92 |
2 |
| nsec3_zone_trees_create |
|
5 |
11 |
85 |
2 |
| nsec3_hash_tree_clear |
|
1 |
7 |
37 |
1 |
| detect_nsec3_params |
|
3 |
9 |
90 |
4 |
| nsec3_b32_create |
|
1 |
9 |
74 |
3 |
| nsec3_hash_and_store |
|
1 |
10 |
76 |
3 |
| nsec3_lookup_hash_and_wc |
|
3 |
14 |
106 |
4 |
| nsec3_lookup_hash_ds |
|
2 |
9 |
50 |
3 |
| nsec3_has_soa |
|
4 |
9 |
60 |
1 |
| check_apex_soa |
|
5 |
42 |
267 |
2 |
| udb_zone_find_nsec3param |
|
13 |
30 |
336 |
3 |
| db_find_nsec3param |
|
9 |
35 |
310 |
2 |
| nsec3_find_zone_param |
|
2 |
7 |
56 |
4 |
| nsec3_rdata_params_ok |
|
5 |
14 |
139 |
2 |
| nsec3_rr_uses_params |
|
3 |
6 |
40 |
2 |
| nsec3_in_chain_count |
|
5 |
13 |
84 |
2 |
| nsec3_chain_find_prev |
|
5 |
12 |
75 |
2 |
| nsec3_clear_precompile |
|
7 |
33 |
227 |
2 |
| nsec3_domain_part_of_zone |
|
3 |
9 |
42 |
2 |
| nsec3_condition_hash |
|
4 |
5 |
40 |
2 |
| nsec3_condition_dshash |
|
5 |
6 |
51 |
2 |
| nsec3_tree_zone |
|
7 |
16 |
94 |
2 |
| nsec3_tree_dszone |
|
2 |
6 |
32 |
2 |
| nsec3_find_cover |
|
4 |
25 |
175 |
4 |
| nsec3_precompile_domain |
|
2 |
21 |
188 |
4 |
| nsec3_precompile_domain_ds |
|
2 |
16 |
126 |
3 |
| parse_nsec3_name |
|
3 |
11 |
92 |
3 |
| nsec3_precompile_nsec3rr |
|
2 |
10 |
71 |
3 |
| nsec3_precompile_newparam |
|
10 |
30 |
237 |
2 |
| prehash_zone_complete |
|
8 |
23 |
165 |
2 |
| init_lookup_key_hash_tree |
|
1 |
2 |
25 |
2 |
| init_lookup_key_wc_tree |
|
1 |
2 |
25 |
2 |
| init_lookup_key_ds_tree |
|
1 |
2 |
25 |
2 |
| process_first |
|
4 |
20 |
110 |
4 |
| process_end |
|
4 |
20 |
108 |
4 |
| process_range |
|
14 |
54 |
486 |
4 |
| process_prehash_domain |
|
3 |
15 |
118 |
2 |
| prehash_zone |
|
4 |
16 |
96 |
2 |
| nsec3_add_rrset |
|
3 |
9 |
58 |
4 |
| nsec3_add_nonexist_proof |
|
2 |
22 |
144 |
4 |
| nsec3_add_closest_encloser_proof |
|
4 |
11 |
69 |
4 |
| nsec3_answer_wildcard |
|
3 |
9 |
53 |
4 |
| nsec3_add_ds_proof |
|
15 |
35 |
244 |
4 |
| nsec3_answer_nodata |
|
21 |
41 |
284 |
3 |
| nsec3_answer_delegation |
|
2 |
6 |
38 |
2 |
| domain_has_only_NSEC3 |
|
6 |
17 |
89 |
2 |
| nsec3_answer_authoritative |
|
20 |
42 |
290 |
5 |
| Source file: ./usr.sbin/nsd/tsig-openssl.h |
| Source file: ./usr.sbin/nsd/configyyrename.h |
| Source file: ./usr.sbin/nsd/remote.h |
| Source file: ./usr.sbin/nsd/udbradtree.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| udb_radix_tree_create |
|
2 |
9 |
56 |
2 |
| size_of_radarray |
|
1 |
5 |
40 |
1 |
| size_of_lookup |
|
1 |
6 |
44 |
1 |
| size_of_lookup_ext |
|
1 |
4 |
14 |
1 |
| size_of_lookup_needed |
|
1 |
6 |
37 |
2 |
| lookup |
|
1 |
6 |
41 |
1 |
| lookup_len |
|
1 |
4 |
24 |
2 |
| lookup_string |
|
1 |
5 |
45 |
2 |
| lookup_node |
|
1 |
5 |
39 |
2 |
| udb_radarray_zero_ptrs |
|
2 |
7 |
53 |
2 |
| udb_radnode_delete |
|
3 |
14 |
111 |
2 |
| udb_radnode_del_postorder |
|
3 |
18 |
167 |
2 |
| udb_radix_tree_clear |
|
1 |
9 |
69 |
2 |
| udb_radix_tree_delete |
|
2 |
7 |
52 |
2 |
| udb_radix_find_prefix_node |
|
10 |
46 |
318 |
6 |
| udb_radnode_str_grow |
|
5 |
29 |
303 |
3 |
| udb_radnode_array_grow |
|
5 |
30 |
335 |
3 |
| udb_radnode_array_create |
|
3 |
19 |
147 |
2 |
| udb_radnode_array_space |
|
20 |
70 |
756 |
4 |
| udb_radnode_str_space |
|
4 |
12 |
73 |
3 |
| udb_radsel_prefix_remainder |
|
1 |
7 |
42 |
5 |
| udb_radsel_str_create |
|
1 |
6 |
42 |
5 |
| udb_bstr_common |
|
1 |
6 |
43 |
4 |
| udb_bstr_is_prefix |
|
1 |
6 |
43 |
4 |
| udb_radnode_array_space_strremain |
|
1 |
6 |
50 |
5 |
| udb_radsel_split |
|
20 |
137 |
1365 |
7 |
| udb_radix_insert |
|
19 |
116 |
1003 |
6 |
| udb_radnode_cleanup_onechild |
|
2 |
29 |
304 |
2 |
| udb_radarray_reduce |
|
3 |
29 |
323 |
4 |
| udb_radarray_max_len |
|
4 |
11 |
83 |
1 |
| udb_radarray_reduce_if_needed |
|
7 |
10 |
109 |
2 |
| udb_radnode_array_clean_all |
|
1 |
6 |
42 |
2 |
| udb_radnode_array_clean_front |
|
9 |
31 |
372 |
2 |
| udb_radnode_array_clean_end |
|
5 |
15 |
115 |
2 |
| udb_radnode_cleanup_leaf |
|
7 |
20 |
159 |
3 |
| udb_radnode_cleanup |
|
10 |
38 |
261 |
3 |
| udb_radix_delete |
|
3 |
9 |
60 |
3 |
| udb_radix_search |
|
8 |
30 |
244 |
3 |
| udb_radnode_last_in_subtree |
|
6 |
27 |
215 |
2 |
| udb_radnode_last_in_subtree_incl_self |
|
3 |
18 |
109 |
2 |
| udb_radnode_first_in_subtree |
|
5 |
23 |
165 |
2 |
| udb_radnode_find_prev_from_idx |
|
4 |
14 |
93 |
3 |
| udb_ret_self_or_prev |
|
2 |
11 |
67 |
3 |
| udb_radix_find_less_equal |
|
16 |
87 |
657 |
5 |
| udb_radix_first |
|
5 |
10 |
79 |
3 |
| udb_radix_last |
|
4 |
8 |
66 |
3 |
| udb_radix_next |
|
8 |
38 |
268 |
2 |
| udb_radix_prev |
|
4 |
21 |
152 |
2 |
| udb_radname_insert |
|
1 |
8 |
73 |
6 |
| udb_radname_search |
|
1 |
12 |
90 |
5 |
| udb_radix_tree_walk_chunk |
|
1 |
8 |
66 |
5 |
| udb_radix_node_walk_chunk |
|
1 |
10 |
96 |
5 |
| udb_radix_array_walk_chunk |
|
2 |
12 |
107 |
5 |
| Source file: ./usr.sbin/nsd/mini_event.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mini_ev_cmp |
|
7 |
18 |
134 |
2 |
| settime |
|
2 |
8 |
45 |
1 |
| event_init |
|
9 |
41 |
268 |
2 |
| event_get_version |
|
1 |
4 |
10 |
1 |
| event_get_method |
|
1 |
4 |
9 |
1 |
| handle_timeouts |
|
6 |
29 |
215 |
3 |
| handle_select |
|
14 |
43 |
321 |
2 |
| event_base_loop |
|
6 |
16 |
87 |
2 |
| event_base_dispatch |
|
6 |
18 |
89 |
1 |
| event_base_loopexit |
|
1 |
6 |
26 |
2 |
| event_base_free |
|
5 |
13 |
67 |
1 |
| event_set |
|
1 |
10 |
71 |
5 |
| event_base_set |
|
1 |
6 |
29 |
2 |
| event_add |
|
12 |
32 |
292 |
2 |
| event_del |
|
6 |
16 |
164 |
1 |
| sigh |
|
5 |
10 |
59 |
1 |
| signal_add |
|
3 |
13 |
98 |
2 |
| signal_del |
|
3 |
8 |
50 |
1 |
| mini_ev_cmp |
|
1 |
4 |
23 |
2 |
| Source file: ./usr.sbin/nsd/difffile.h |
| Source file: ./usr.sbin/nsd/tsig-openssl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tsig_openssl_init_algorithm |
|
4 |
29 |
164 |
4 |
| tsig_openssl_init |
|
2 |
19 |
105 |
1 |
| cleanup_context |
|
2 |
7 |
33 |
1 |
| create_context |
|
3 |
9 |
54 |
1 |
| init_context |
|
1 |
8 |
57 |
3 |
| update |
|
1 |
5 |
43 |
3 |
| final |
|
1 |
7 |
53 |
3 |
| tsig_openssl_finalize |
|
2 |
4 |
9 |
0 |
| Source file: ./usr.sbin/nsd/iterated_hash.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| iterated_hash |
|
6 |
22 |
150 |
6 |
| Source file: ./usr.sbin/nsd/rbtree.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rbtree_create |
|
2 |
13 |
80 |
2 |
| rbtree_rotate_left |
|
4 |
19 |
114 |
2 |
| rbtree_rotate_right |
|
4 |
19 |
114 |
2 |
| rbtree_insert_fixup |
|
8 |
40 |
279 |
2 |
| rbtree_insert |
|
6 |
32 |
169 |
2 |
| rbtree_search |
|
2 |
9 |
40 |
2 |
| swap_int8 |
|
1 |
4 |
29 |
2 |
| swap_np |
|
1 |
4 |
30 |
2 |
| change_parent_ptr |
|
8 |
13 |
108 |
4 |
| change_child_ptr |
|
4 |
6 |
53 |
3 |
| rbtree_delete |
|
13 |
50 |
396 |
2 |
| rbtree_delete_fixup |
|
29 |
84 |
495 |
3 |
| rbtree_find_less_equal |
|
4 |
22 |
108 |
3 |
| rbtree_first |
|
2 |
6 |
36 |
1 |
| rbtree_last |
|
2 |
6 |
36 |
1 |
| rbtree_next |
|
5 |
15 |
83 |
1 |
| rbtree_previous |
|
5 |
15 |
83 |
1 |
| Source file: ./usr.sbin/nsd/packet.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| encode_dname |
|
4 |
26 |
191 |
2 |
| packet_encode_rr |
|
5 |
48 |
311 |
4 |
| for |
|
2 |
10 |
61 |
1 |
| for |
|
2 |
9 |
55 |
0 |
| if |
|
5 |
22 |
134 |
0 |
| if |
|
1 |
7 |
50 |
0 |
| if |
|
1 |
6 |
36 |
0 |
| packet_skip_dname |
|
7 |
21 |
110 |
0 |
| packet_skip_rr |
|
6 |
20 |
104 |
0 |
| packet_read_rr |
|
7 |
37 |
246 |
0 |
| packet_read_query_section |
|
7 |
29 |
184 |
0 |
| packet_find_notify_serial |
|
13 |
43 |
265 |
0 |
| Source file: ./usr.sbin/nsd/nsd.h |
| Source file: ./usr.sbin/nsd/nsd-mem.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usage |
|
1 |
6 |
24 |
1 |
| error |
|
1 |
8 |
40 |
2 |
| account_zone |
|
2 |
11 |
101 |
2 |
| pretty_mem |
|
5 |
14 |
175 |
2 |
| print_zone_mem |
|
1 |
7 |
45 |
1 |
| account_total |
|
3 |
14 |
125 |
2 |
| print_tot_mem |
|
2 |
15 |
109 |
1 |
| add_mem |
|
1 |
8 |
54 |
2 |
| check_zone_mem |
|
2 |
27 |
221 |
5 |
| check_mem |
|
5 |
23 |
205 |
1 |
| writepid |
|
1 |
4 |
15 |
1 |
| unlinkpid |
|
1 |
3 |
12 |
1 |
| bind8_stats |
|
1 |
3 |
12 |
1 |
| sig_handler |
|
1 |
3 |
10 |
1 |
| main |
|
20 |
61 |
388 |
2 |
| Source file: ./usr.sbin/nsd/axfr.h |
| Source file: ./usr.sbin/nsd/difffile.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| write_64 |
|
1 |
4 |
25 |
2 |
| write_32 |
|
1 |
5 |
32 |
2 |
| write_8 |
|
1 |
4 |
25 |
2 |
| write_str |
|
2 |
7 |
44 |
2 |
| diff_write_packet |
|
20 |
43 |
326 |
9 |
| diff_write_commit |
|
12 |
44 |
299 |
8 |
| diff_read_64 |
|
2 |
8 |
42 |
2 |
| diff_read_32 |
|
2 |
9 |
51 |
2 |
| diff_read_8 |
|
2 |
8 |
42 |
2 |
| diff_read_str |
|
4 |
12 |
69 |
3 |
| add_rdata_to_recyclebin |
|
3 |
13 |
95 |
2 |
| has_data_below |
|
4 |
12 |
62 |
1 |
| rrset_zero_nonexist_check |
|
9 |
18 |
106 |
2 |
| rrset_delete |
|
11 |
35 |
266 |
3 |
| rdatas_equal |
|
10 |
46 |
328 |
6 |
| debug_find_rr_num |
|
6 |
39 |
295 |
5 |
| find_rr_num |
|
7 |
20 |
138 |
6 |
| nsec3_delete_rr_trigger |
|
14 |
28 |
220 |
4 |
| nsec3_rrsets_changed_remove_prehash |
|
11 |
23 |
171 |
2 |
| nsec3_rrsets_changed_add_prehash |
|
8 |
16 |
115 |
3 |
| nsec3_delete_rrset_trigger |
|
10 |
16 |
114 |
4 |
| nsec3_add_rr_trigger |
|
9 |
17 |
144 |
4 |
| nsec3_add_rrset_trigger |
|
9 |
17 |
110 |
4 |
| rr_lower_usage |
|
4 |
13 |
106 |
2 |
| rrset_lower_usage |
|
2 |
6 |
43 |
2 |
| delete_RR |
|
22 |
89 |
641 |
10 |
| add_RR |
|
23 |
91 |
706 |
10 |
| find_or_create_zone |
|
9 |
32 |
215 |
5 |
| delete_zone_rrs |
|
10 |
38 |
258 |
2 |
| apply_ixfr |
|
55 |
224 |
1467 |
15 |
| check_for_bad_serial |
|
7 |
22 |
149 |
3 |
| apply_ixfr_for_zone |
|
38 |
141 |
1037 |
7 |
| task_file_create |
|
1 |
4 |
20 |
1 |
| task_create_new_elem |
|
4 |
22 |
162 |
5 |
| task_new_soainfo |
|
9 |
59 |
554 |
4 |
| task_process_sync |
|
1 |
6 |
38 |
1 |
| task_remap |
|
1 |
6 |
40 |
1 |
| task_clear |
|
2 |
15 |
127 |
1 |
| task_new_expire |
|
3 |
16 |
117 |
4 |
| task_new_check_zonefiles |
|
3 |
14 |
108 |
3 |
| task_new_write_zonefiles |
|
3 |
14 |
108 |
3 |
| task_new_set_verbosity |
|
2 |
13 |
91 |
3 |
| task_new_stat_info |
|
2 |
17 |
136 |
4 |
| task_new_add_zone |
|
2 |
20 |
169 |
5 |
| task_new_del_zone |
|
2 |
12 |
95 |
3 |
| task_new_add_key |
|
4 |
21 |
219 |
3 |
| task_new_del_key |
|
2 |
15 |
122 |
3 |
| task_new_add_pattern |
|
2 |
24 |
174 |
3 |
| task_new_del_pattern |
|
2 |
15 |
124 |
3 |
| task_new_opt_change |
|
3 |
16 |
127 |
3 |
| task_new_zonestat_inc |
|
3 |
15 |
102 |
3 |
| task_new_apply_xfr |
|
2 |
17 |
131 |
6 |
| task_process_expire |
|
8 |
20 |
145 |
2 |
| task_process_set_verbosity |
|
1 |
5 |
35 |
1 |
| task_process_checkzones |
|
3 |
12 |
77 |
4 |
| task_process_writezones |
|
3 |
11 |
61 |
2 |
| task_process_add_zone |
|
5 |
25 |
205 |
4 |
| task_process_del_zone |
|
6 |
25 |
184 |
2 |
| task_process_add_key |
|
1 |
10 |
107 |
2 |
| task_process_del_key |
|
1 |
6 |
50 |
2 |
| task_process_add_pattern |
|
1 |
11 |
88 |
2 |
| task_process_del_pattern |
|
1 |
6 |
50 |
2 |
| task_process_opt_change |
|
2 |
10 |
88 |
2 |
| task_process_zonestat_inc |
|
1 |
7 |
64 |
4 |
| task_process_apply_xfr |
|
4 |
23 |
174 |
4 |
| task_process_in_reload |
|
15 |
50 |
275 |
4 |
| Source file: ./usr.sbin/nsd/query.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| query_get_dname_offset |
|
1 |
4 |
23 |
2 |
| query_overflow |
|
1 |
4 |
26 |
1 |
| Source file: ./usr.sbin/nsd/namedb.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| allocate_domain_info |
|
3 |
29 |
173 |
3 |
| allocate_domain_nsec3 |
|
2 |
21 |
162 |
2 |
| numlist_make_last |
|
5 |
32 |
192 |
2 |
| numlist_pop_last |
|
2 |
8 |
43 |
1 |
| domain_can_be_deleted |
|
5 |
10 |
54 |
1 |
| domain_is_prehash |
|
4 |
7 |
44 |
2 |
| zone_del_domain_in_hash_tree |
|
2 |
7 |
36 |
2 |
| prehash_clear |
|
2 |
11 |
59 |
1 |
| prehash_add |
|
3 |
10 |
62 |
2 |
| prehash_del |
|
3 |
12 |
87 |
2 |
| do_deldomain |
|
11 |
32 |
290 |
2 |
| domain_table_deldomain |
|
2 |
7 |
34 |
2 |
| hash_tree_clear |
|
3 |
10 |
59 |
1 |
| hash_tree_delete |
|
1 |
4 |
24 |
2 |
| zone_add_domain_in_hash_tree |
|
3 |
11 |
85 |
5 |
| domain_table_create |
|
5 |
35 |
245 |
1 |
| domain_table_search |
|
4 |
29 |
186 |
4 |
| domain_table_find |
|
2 |
10 |
46 |
2 |
| domain_table_insert |
|
6 |
36 |
201 |
2 |
| domain_previous_existing_child |
|
4 |
11 |
53 |
1 |
| domain_add_rrset |
|
8 |
21 |
141 |
2 |
| domain_find_rrset |
|
4 |
11 |
58 |
3 |
| domain_find_any_rrset |
|
3 |
11 |
48 |
2 |
| domain_find_zone |
|
5 |
16 |
84 |
2 |
| domain_find_parent_zone |
|
5 |
13 |
86 |
2 |
| domain_find_ns_rrsets |
|
4 |
11 |
62 |
3 |
| find_dname_above |
|
4 |
10 |
55 |
2 |
| domain_is_glue |
|
2 |
7 |
48 |
2 |
| domain_wildcard_child |
|
3 |
14 |
58 |
1 |
| zone_is_secure |
|
1 |
5 |
18 |
1 |
| rr_rrsig_type_covered |
|
1 |
7 |
63 |
1 |
| namedb_find_zone |
|
2 |
7 |
50 |
2 |
| domain_find_non_cname_rrset |
|
9 |
17 |
90 |
2 |
| namedb_lookup |
|
1 |
8 |
36 |
4 |
| Source file: ./usr.sbin/nsd/namedb.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| domain_table_count |
|
2 |
5 |
22 |
1 |
| domain_dname |
|
2 |
5 |
28 |
1 |
| domain_dname_const |
|
2 |
5 |
26 |
1 |
| domain_previous |
|
4 |
7 |
61 |
1 |
| domain_next |
|
4 |
7 |
61 |
1 |
| domain_is_subdomain |
|
1 |
2 |
26 |
2 |
| domain_to_string |
|
1 |
2 |
19 |
1 |
| rdata_atom_domain |
|
1 |
4 |
12 |
1 |
| rdata_atom_size |
|
1 |
4 |
13 |
1 |
| rdata_atom_data |
|
1 |
4 |
20 |
1 |
| rdata_atom_is_domain |
|
3 |
8 |
49 |
2 |
| rdata_atom_is_literal_domain |
|
2 |
7 |
40 |
2 |
| rdata_atom_wireformat_type |
|
1 |
7 |
40 |
2 |
| rrset_rrtype |
|
1 |
6 |
32 |
1 |
| rrset_rrclass |
|
1 |
6 |
32 |
1 |
| Source file: ./usr.sbin/nsd/answer.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| answer_init |
|
1 |
4 |
14 |
1 |
| answer_add_rrset |
|
7 |
27 |
171 |
4 |
| encode_answer |
|
14 |
41 |
246 |
2 |
| Source file: ./usr.sbin/nsd/dname.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dname_label_offsets |
|
1 |
4 |
29 |
1 |
| dname_name |
|
1 |
6 |
38 |
1 |
| dname_label |
|
1 |
9 |
58 |
2 |
| dname_total_size |
|
1 |
6 |
44 |
1 |
| label_is_normal |
|
1 |
5 |
26 |
1 |
| label_is_pointer |
|
1 |
5 |
26 |
1 |
| label_pointer_location |
|
1 |
6 |
48 |
1 |
| label_length |
|
1 |
6 |
28 |
1 |
| label_data |
|
1 |
6 |
27 |
1 |
| label_is_root |
|
1 |
5 |
22 |
1 |
| label_is_wildcard |
|
2 |
5 |
29 |
1 |
| label_next |
|
1 |
7 |
41 |
1 |
| Source file: ./usr.sbin/nsd/nsd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usage |
|
1 |
36 |
74 |
1 |
| version |
|
1 |
10 |
38 |
1 |
| error |
|
1 |
8 |
40 |
2 |
| append_trailing_slash |
|
4 |
10 |
87 |
2 |
| file_inside_chroot |
|
5 |
5 |
51 |
2 |
| get_ip_port_frm_str |
|
3 |
13 |
63 |
3 |
| add_interface |
|
2 |
17 |
225 |
3 |
| readpid |
|
6 |
25 |
139 |
1 |
| writepid |
|
4 |
25 |
184 |
1 |
| unlinkpid |
|
4 |
14 |
87 |
1 |
| sig_handler |
|
15 |
45 |
150 |
1 |
| bind8_stats |
|
20 |
46 |
548 |
1 |
| main |
|
187 |
554 |
4062 |
2 |
| Source file: ./usr.sbin/nsd/radtree.h |
| Source file: ./usr.sbin/nsd/edns.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| edns_init_data |
|
1 |
13 |
140 |
2 |
| edns_init_nsid |
|
1 |
9 |
106 |
2 |
| edns_init_record |
|
1 |
9 |
44 |
1 |
| edns_handle_option |
|
3 |
20 |
100 |
6 |
| edns_parse_record |
|
11 |
48 |
272 |
4 |
| edns_reserved_space |
|
2 |
4 |
27 |
1 |
| Source file: ./usr.sbin/nsd/util.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| log_init |
|
1 |
5 |
17 |
1 |
| log_open |
|
4 |
14 |
70 |
3 |
| log_reopen |
|
8 |
20 |
103 |
2 |
| log_finalize |
|
4 |
8 |
29 |
1 |
| log_file |
|
7 |
34 |
231 |
2 |
| log_syslog |
|
2 |
5 |
28 |
2 |
| log_set_log_function |
|
1 |
4 |
12 |
1 |
| log_msg |
|
1 |
7 |
38 |
3 |
| log_vmsg |
|
1 |
6 |
42 |
3 |
| set_bit |
|
1 |
4 |
32 |
2 |
| clear_bit |
|
1 |
4 |
32 |
2 |
| get_bit |
|
1 |
4 |
33 |
2 |
| lookup_by_name |
|
3 |
9 |
45 |
2 |
| lookup_by_id |
|
3 |
9 |
38 |
2 |
| xalloc |
|
2 |
9 |
43 |
1 |
| xmallocarray |
|
2 |
9 |
50 |
2 |
| xalloc_zero |
|
2 |
9 |
45 |
1 |
| xalloc_array_zero |
|
2 |
9 |
48 |
2 |
| xrealloc |
|
2 |
9 |
47 |
2 |
| mmap_alloc |
|
3 |
14 |
99 |
1 |
| mmap_free |
|
4 |
14 |
91 |
1 |
| write_data |
|
4 |
16 |
89 |
3 |
| write_socket |
|
5 |
18 |
92 |
3 |
| get_time |
|
4 |
16 |
101 |
1 |
| timespec_compare |
|
5 |
17 |
89 |
2 |
| timespec_add |
|
2 |
10 |
52 |
2 |
| timespec_subtract |
|
2 |
10 |
52 |
2 |
| strtoserial |
|
15 |
31 |
128 |
2 |
| strtottl |
|
26 |
61 |
246 |
2 |
| hex_ntop |
|
3 |
17 |
132 |
4 |
| hex_pton |
|
6 |
16 |
118 |
3 |
| b32_ntop |
|
14 |
59 |
418 |
4 |
| b32_pton |
|
11 |
33 |
220 |
3 |
| strip_string |
|
5 |
16 |
100 |
1 |
| hexdigit_to_int |
|
23 |
23 |
133 |
1 |
| is_leap_year |
|
3 |
4 |
28 |
1 |
| leap_days |
|
1 |
6 |
47 |
2 |
| mktime_from_utc |
|
4 |
20 |
132 |
1 |
| compute_crc |
|
2 |
7 |
43 |
3 |
| write_data_crc |
|
1 |
6 |
52 |
4 |
| compare_serial |
|
6 |
11 |
78 |
2 |
| qid_generate |
|
2 |
5 |
22 |
1 |
| random_generate |
|
3 |
6 |
43 |
1 |
| cleanup_region |
|
1 |
5 |
23 |
1 |
| create_pretty_rr |
|
1 |
11 |
67 |
1 |
| set_previous_owner |
|
1 |
7 |
49 |
2 |
| print_rr |
|
8 |
49 |
282 |
5 |
| rcode2str |
|
12 |
30 |
87 |
1 |
| addr2str |
|
5 |
15 |
98 |
3 |
| Source file: ./usr.sbin/nsd/dns.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| operator ++ |
|
1 |
5 |
26 |
1 |
| Source file: ./usr.sbin/nsd/zonec.h |
| Source file: ./usr.sbin/nsd/udbzone.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| udb_zone_delete_plain |
|
1 |
15 |
141 |
2 |
| udb_dns_init_file |
|
2 |
10 |
47 |
1 |
| udb_dns_deinit_file |
|
3 |
19 |
142 |
1 |
| udb_zone_create |
|
5 |
50 |
449 |
4 |
| rr_delete |
|
1 |
6 |
55 |
2 |
| rrset_delete |
|
2 |
18 |
161 |
2 |
| domain_clear |
|
2 |
16 |
135 |
2 |
| domain_delete |
|
1 |
7 |
52 |
2 |
| domain_delete_unlink |
|
1 |
11 |
100 |
3 |
| udb_zone_clear |
|
2 |
23 |
212 |
2 |
| udb_zone_delete |
|
1 |
11 |
93 |
2 |
| udb_zone_search |
|
3 |
15 |
114 |
4 |
| udb_zone_get_mtime |
|
2 |
13 |
86 |
4 |
| udb_zone_set_log_str |
|
4 |
21 |
167 |
3 |
| udb_zone_set_file_str |
|
4 |
21 |
167 |
3 |
| udb_zone_get_file_str |
|
3 |
17 |
114 |
3 |
| select_nsec3_param |
|
5 |
15 |
134 |
3 |
| udb_nsec3param_string |
|
2 |
18 |
189 |
1 |
| zone_hash_nsec3param |
|
3 |
14 |
102 |
3 |
| domain_create |
|
3 |
22 |
196 |
5 |
| udb_domain_find |
|
3 |
13 |
108 |
5 |
| domain_find_or_create |
|
2 |
8 |
66 |
5 |
| domain_remove_rrset |
|
4 |
25 |
196 |
3 |
| rrset_create |
|
5 |
22 |
215 |
4 |
| udb_rrset_find |
|
3 |
12 |
91 |
4 |
| rrset_find_or_create |
|
2 |
6 |
47 |
4 |
| rr_match |
|
4 |
6 |
65 |
5 |
| rr_search |
|
3 |
13 |
105 |
7 |
| rr_create |
|
2 |
14 |
115 |
7 |
| rrset_add_rr |
|
4 |
20 |
183 |
7 |
| rrset_del_rr |
|
4 |
27 |
214 |
6 |
| udb_zone_add_rr |
|
12 |
40 |
323 |
9 |
| udb_zone_del_rr |
|
14 |
41 |
339 |
8 |
| udb_zone_walk_chunk |
|
1 |
12 |
130 |
5 |
| udb_domain_walk_chunk |
|
1 |
9 |
85 |
5 |
| udb_rrset_walk_chunk |
|
1 |
9 |
81 |
5 |
| udb_rr_walk_chunk |
|
1 |
8 |
70 |
5 |
| udb_task_walk_chunk |
|
1 |
8 |
64 |
5 |
| namedb_walkfunc |
|
9 |
33 |
189 |
7 |
| Source file: ./usr.sbin/nsd/radtree.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| radix_tree_create |
|
2 |
8 |
52 |
1 |
| radix_tree_init |
|
1 |
5 |
21 |
1 |
| radnode_del_postorder |
|
3 |
11 |
110 |
2 |
| radix_tree_clear |
|
1 |
6 |
32 |
1 |
| radix_tree_delete |
|
2 |
6 |
36 |
1 |
| radnode_last_in_subtree |
|
6 |
16 |
116 |
1 |
| radnode_last_in_subtree_incl_self |
|
3 |
7 |
38 |
1 |
| radnode_first_in_subtree |
|
5 |
14 |
96 |
1 |
| radnode_find_prev_from_idx |
|
4 |
13 |
68 |
2 |
| radix_find_prefix_node |
|
10 |
39 |
233 |
5 |
| radnode_array_grow |
|
4 |
18 |
172 |
3 |
| radnode_array_space |
|
14 |
41 |
409 |
3 |
| radsel_str_create |
|
2 |
10 |
84 |
5 |
| bstr_is_prefix |
|
3 |
9 |
50 |
4 |
| bstr_common |
|
4 |
9 |
68 |
4 |
| bstr_is_prefix_ext |
|
1 |
5 |
30 |
4 |
| bstr_common_ext |
|
1 |
5 |
30 |
4 |
| radsel_prefix_remainder |
|
2 |
11 |
82 |
6 |
| radsel_split |
|
20 |
122 |
1088 |
6 |
| radix_insert |
|
20 |
91 |
749 |
4 |
| radnode_delete |
|
3 |
10 |
96 |
2 |
| radnode_cleanup_onechild |
|
4 |
27 |
283 |
3 |
| radnode_array_clean_all |
|
1 |
8 |
57 |
2 |
| radnode_array_reduce_if_needed |
|
4 |
12 |
120 |
2 |
| radnode_array_clean_front |
|
7 |
22 |
187 |
2 |
| radnode_array_clean_end |
|
5 |
15 |
96 |
2 |
| radnode_cleanup_leaf |
|
4 |
19 |
153 |
3 |
| radnode_cleanup |
|
7 |
22 |
129 |
2 |
| radix_delete |
|
3 |
8 |
44 |
2 |
| radix_search |
|
9 |
28 |
184 |
3 |
| ret_self_or_prev |
|
2 |
7 |
37 |
2 |
| radix_find_less_equal |
|
16 |
61 |
444 |
4 |
| radix_first |
|
4 |
8 |
48 |
1 |
| radix_last |
|
3 |
5 |
30 |
1 |
| radix_next |
|
9 |
24 |
145 |
1 |
| radix_prev |
|
5 |
15 |
80 |
1 |
| char_d2r |
|
3 |
6 |
36 |
1 |
| char_r2d |
|
2 |
6 |
29 |
1 |
| cpy_d2r |
|
2 |
6 |
45 |
3 |
| cpy_r2d |
|
2 |
6 |
44 |
3 |
| radname_d2r |
|
7 |
40 |
263 |
4 |
| radname_r2d |
|
8 |
39 |
266 |
4 |
| radname_insert |
|
2 |
9 |
74 |
4 |
| radname_delete |
|
2 |
5 |
42 |
3 |
| radname_search |
|
19 |
62 |
373 |
3 |
| radname_find_less_equal |
|
24 |
103 |
602 |
4 |
| Source file: ./usr.sbin/nsd/region-allocator.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| alloc_region_base |
|
3 |
32 |
201 |
3 |
| region_create |
|
3 |
16 |
96 |
2 |
| region_create_custom |
|
6 |
35 |
197 |
6 |
| region_destroy |
|
5 |
21 |
109 |
1 |
| region_add_cleanup |
|
3 |
19 |
146 |
3 |
| region_remove_cleanup |
|
4 |
13 |
91 |
3 |
| region_alloc |
|
11 |
59 |
423 |
2 |
| region_alloc_init |
|
2 |
7 |
47 |
3 |
| region_alloc_zero |
|
2 |
7 |
42 |
2 |
| region_alloc_array_init |
|
5 |
10 |
67 |
4 |
| region_alloc_array_zero |
|
5 |
9 |
60 |
3 |
| region_alloc_array |
|
5 |
9 |
60 |
3 |
| region_free_all |
|
5 |
35 |
216 |
1 |
| region_strdup |
|
1 |
4 |
32 |
2 |
| region_recycle |
|
10 |
37 |
241 |
3 |
| region_dump_stats |
|
7 |
25 |
176 |
2 |
| region_get_recycle_size |
|
1 |
4 |
13 |
1 |
| region_get_mem |
|
1 |
4 |
13 |
1 |
| region_get_mem_unused |
|
1 |
4 |
13 |
1 |
| region_log_stats |
|
7 |
36 |
239 |
1 |
| Source file: ./usr.sbin/nsd/mini_event.h |
| Source file: ./usr.sbin/nsd/iterated_hash.h |
| Source file: ./usr.sbin/nsd/query.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| query_put_dname_offset |
|
3 |
13 |
80 |
3 |
| query_clear_dname_offsets |
|
3 |
10 |
69 |
2 |
| query_clear_compression_tables |
|
2 |
9 |
58 |
1 |
| query_add_compression_domain |
|
2 |
13 |
82 |
3 |
| query_error |
|
2 |
16 |
104 |
2 |
| query_ratelimit_err |
|
3 |
12 |
56 |
1 |
| query_formerr |
|
2 |
9 |
66 |
2 |
| query_cleanup |
|
1 |
5 |
25 |
1 |
| query_create |
|
1 |
16 |
117 |
3 |
| query_reset |
|
2 |
30 |
191 |
3 |
| query_get_tempdomain |
|
2 |
11 |
84 |
1 |
| query_addtxt |
|
3 |
24 |
165 |
5 |
| process_query_section |
|
2 |
10 |
66 |
1 |
| process_edns |
|
11 |
29 |
185 |
2 |
| process_tsig |
|
5 |
29 |
244 |
1 |
| answer_notify |
|
19 |
86 |
665 |
2 |
| answer_chaos |
|
12 |
42 |
276 |
2 |
| find_covering_nsec |
|
7 |
21 |
101 |
3 |
| add_additional_rrsets |
|
10 |
44 |
325 |
6 |
| answer_needs_ns |
|
2 |
5 |
29 |
1 |
| add_rrset |
|
12 |
47 |
233 |
5 |
| query_synthesize_cname |
|
14 |
68 |
527 |
8 |
| answer_delegation |
|
8 |
28 |
187 |
2 |
| answer_soa |
|
2 |
9 |
44 |
2 |
| answer_nodata |
|
8 |
17 |
118 |
3 |
| answer_nxdomain |
|
1 |
5 |
28 |
2 |
| answer_domain |
|
19 |
52 |
386 |
5 |
| answer_authoritative |
|
31 |
117 |
816 |
8 |
| answer_lookup_zone |
|
31 |
60 |
435 |
8 |
| answer_query |
|
1 |
19 |
166 |
2 |
| query_prepare_response |
|
1 |
12 |
89 |
1 |
| query_process |
|
38 |
93 |
650 |
2 |
| query_add_optional |
|
20 |
61 |
509 |
2 |
| Source file: ./usr.sbin/nsd/xfrd-disk.h |
| Source file: ./usr.sbin/nsd/udb.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| chunk_from_dataptr |
|
2 |
7 |
42 |
1 |
| chunk_from_dataptr_ext |
|
1 |
3 |
13 |
1 |
| chunk_get_last |
|
1 |
4 |
38 |
3 |
| chunk_set_last |
|
1 |
4 |
42 |
4 |
| udb_base_create_fd |
|
23 |
127 |
895 |
4 |
| udb_base_create_read |
|
2 |
10 |
64 |
3 |
| udb_glob_init_new |
|
1 |
6 |
33 |
1 |
| write_fdata |
|
3 |
14 |
96 |
4 |
| udb_base_create_new |
|
9 |
40 |
305 |
3 |
| udb_base_shrink |
|
3 |
11 |
87 |
2 |
| udb_base_close |
|
10 |
21 |
137 |
1 |
| udb_base_free |
|
2 |
10 |
46 |
1 |
| udb_base_free_keep_mmap |
|
3 |
13 |
72 |
1 |
| udb_base_sync |
|
5 |
9 |
62 |
2 |
| chunk_hash_ptr |
|
1 |
6 |
53 |
1 |
| udb_ptr_is_on_bucket |
|
3 |
11 |
76 |
3 |
| grow_ram_hash |
|
4 |
22 |
143 |
2 |
| udb_base_link_ptr |
|
6 |
20 |
154 |
2 |
| udb_base_unlink_ptr |
|
4 |
16 |
122 |
2 |
| udb_base_ram_ptr_edit |
|
3 |
15 |
88 |
3 |
| udb_base_get_userdata |
|
1 |
4 |
16 |
1 |
| udb_base_set_userdata |
|
3 |
5 |
43 |
2 |
| udb_base_set_userflags |
|
1 |
4 |
19 |
2 |
| udb_base_get_userflags |
|
1 |
4 |
15 |
1 |
| udb_base_remap |
|
9 |
36 |
311 |
3 |
| udb_base_remap_process |
|
1 |
4 |
23 |
1 |
| Source file: ./usr.sbin/nsd/nsd-checkzone.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usage |
|
1 |
6 |
24 |
1 |
| error |
|
1 |
8 |
40 |
2 |
| check_zone |
|
3 |
24 |
175 |
3 |
| writepid |
|
1 |
4 |
15 |
1 |
| unlinkpid |
|
1 |
3 |
12 |
1 |
| bind8_stats |
|
1 |
3 |
12 |
1 |
| sig_handler |
|
1 |
3 |
10 |
1 |
| main |
|
6 |
33 |
188 |
2 |
| Source file: ./usr.sbin/nsd/axfr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| query_axfr |
|
22 |
114 |
681 |
2 |
| answer_axfr_ixfr |
|
13 |
44 |
307 |
2 |
| Source file: ./usr.sbin/nsd/udbradtree.h |
| Source file: ./usr.sbin/nsd/dns.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rrtype_descriptor_by_type |
|
3 |
8 |
41 |
1 |
| rrtype_descriptor_by_name |
|
6 |
17 |
94 |
1 |
| rrtype_to_string |
|
2 |
11 |
59 |
1 |
| rrtype_from_string |
|
55 |
95 |
471 |
1 |
| rrclass_to_string |
|
2 |
12 |
83 |
1 |
| rrclass_from_string |
|
8 |
22 |
132 |
1 |
| Source file: ./usr.sbin/nsd/remote.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| log_crypto_err |
|
2 |
11 |
77 |
1 |
| timeval_subtract |
|
2 |
11 |
69 |
3 |
| daemon_remote_create |
|
15 |
81 |
525 |
1 |
| daemon_remote_close |
|
7 |
29 |
163 |
1 |
| daemon_remote_delete |
|
3 |
9 |
41 |
1 |
| create_tcp_accept_sock |
|
14 |
37 |
277 |
2 |
| add_open |
|
10 |
41 |
285 |
4 |
| daemon_remote_open_ports |
|
9 |
21 |
134 |
2 |
| daemon_remote_attach |
|
5 |
17 |
129 |
2 |
| remote_accept_callback |
|
19 |
86 |
544 |
3 |
| state_list_remove_elem |
|
3 |
6 |
54 |
2 |
| stats_list_remove_elem |
|
3 |
10 |
54 |
2 |
| clean_point |
|
4 |
15 |
95 |
2 |
| ssl_print_text |
|
4 |
17 |
92 |
2 |
| ssl_print_vmsg |
|
1 |
6 |
44 |
3 |
| ssl_printf |
|
1 |
9 |
47 |
3 |
| ssl_read_line |
|
6 |
26 |
145 |
3 |
| skipwhite |
|
2 |
6 |
26 |
1 |
| send_ok |
|
1 |
4 |
18 |
1 |
| get_zone_arg |
|
4 |
22 |
134 |
4 |
| do_stop |
|
2 |
8 |
47 |
2 |
| do_log_reopen |
|
1 |
5 |
22 |
2 |
| do_reload |
|
3 |
10 |
83 |
3 |
| do_write |
|
3 |
10 |
83 |
3 |
| do_notify |
|
4 |
22 |
134 |
3 |
| do_transfer |
|
4 |
22 |
139 |
3 |
| force_transfer_zone |
|
3 |
10 |
62 |
1 |
| do_force_transfer |
|
4 |
22 |
135 |
3 |
| print_soa_status |
|
4 |
12 |
77 |
4 |
| print_zonestatus |
|
27 |
62 |
441 |
3 |
| do_zonestatus |
|
4 |
14 |
89 |
3 |
| do_verbosity |
|
4 |
17 |
108 |
2 |
| find_arg2 |
|
4 |
15 |
89 |
3 |
| do_status |
|
5 |
11 |
68 |
2 |
| do_stats |
|
3 |
13 |
97 |
3 |
| zonestat_inc_ifneeded |
|
3 |
8 |
59 |
1 |
| perform_addzone |
|
7 |
41 |
298 |
3 |
| perform_delzone |
|
6 |
36 |
236 |
3 |
| do_addzone |
|
2 |
6 |
35 |
3 |
| do_delzone |
|
2 |
6 |
35 |
3 |
| do_addzones |
|
7 |
19 |
117 |
2 |
| do_delzones |
|
7 |
19 |
117 |
2 |
| remove_key |
|
1 |
7 |
51 |
2 |
| add_key |
|
1 |
7 |
51 |
2 |
| repat_keys |
|
5 |
20 |
157 |
2 |
| parse_implicit_name |
|
2 |
8 |
47 |
2 |
| remove_cfgzone |
|
4 |
23 |
160 |
2 |
| add_cfgzone |
|
6 |
25 |
194 |
2 |
| remove_pat |
|
1 |
7 |
51 |
2 |
| add_pat |
|
1 |
7 |
51 |
2 |
| repat_interrupt_zones |
|
8 |
39 |
249 |
2 |
| repat_interrupt_notify_start |
|
5 |
14 |
76 |
1 |
| repat_patterns |
|
23 |
80 |
506 |
2 |
| repat_options_changed |
|
5 |
11 |
77 |
2 |
| repat_options |
|
3 |
11 |
87 |
2 |
| print_ssl_cfg_err |
|
3 |
7 |
49 |
2 |
| do_repattern |
|
6 |
31 |
208 |
2 |
| do_serverpid |
|
1 |
4 |
29 |
2 |
| cmdcmp |
|
4 |
4 |
51 |
3 |
| execute_cmd |
|
20 |
45 |
541 |
4 |
| handle_req |
|
8 |
34 |
256 |
3 |
| remote_control_callback |
|
15 |
71 |
470 |
3 |
| opcode2str |
|
6 |
11 |
48 |
1 |
| print_longnum |
|
2 |
11 |
98 |
3 |
| print_stat_block |
|
33 |
67 |
613 |
4 |
| resize_zonestat |
|
2 |
10 |
75 |
2 |
| zonestat_print |
|
11 |
37 |
357 |
3 |
| print_stats |
|
14 |
42 |
382 |
4 |
| clear_stats |
|
2 |
12 |
103 |
1 |
| daemon_remote_process_stats |
|
5 |
20 |
146 |
1 |
| Source file: ./usr.sbin/nsd/xfrd-tcp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| xfrd_pipe_cmp |
|
7 |
17 |
149 |
2 |
| xfrd_tcp_set_create |
|
2 |
14 |
99 |
1 |
| xfrd_tcp_pipeline_create |
|
2 |
13 |
110 |
1 |
| xfrd_setup_packet |
|
1 |
16 |
111 |
5 |
| xfrd_acl_sockaddr |
|
4 |
22 |
162 |
4 |
| xfrd_acl_sockaddr_to |
|
3 |
6 |
54 |
2 |
| xfrd_acl_sockaddr_frm |
|
3 |
6 |
48 |
2 |
| xfrd_write_soa_buffer |
|
1 |
21 |
241 |
3 |
| xfrd_tcp_create |
|
1 |
9 |
66 |
2 |
| pipeline_find |
|
6 |
25 |
200 |
2 |
| tcp_zone_waiting_list_popfirst |
|
2 |
10 |
61 |
2 |
| tcp_pipe_sendlist_remove |
|
4 |
12 |
77 |
2 |
| tcp_pipe_sendlist_popfirst |
|
2 |
8 |
48 |
2 |
| tcp_pipe_id_remove |
|
2 |
10 |
105 |
2 |
| xfrd_tcp_pipe_stop |
|
4 |
19 |
142 |
1 |
| tcp_pipe_reset_timeout |
|
5 |
16 |
133 |
1 |
| xfrd_handle_tcp_pipe |
|
7 |
21 |
149 |
3 |
| pipeline_setup_new_zone |
|
3 |
24 |
183 |
3 |
| xfrd_tcp_obtain |
|
13 |
71 |
463 |
2 |
| xfrd_tcp_open |
|
17 |
80 |
583 |
3 |
| xfrd_tcp_setup_write_packet |
|
9 |
34 |
295 |
2 |
| tcp_conn_ready_for_reading |
|
1 |
6 |
28 |
1 |
| conn_write |
|
14 |
51 |
402 |
1 |
| xfrd_tcp_write |
|
13 |
49 |
296 |
2 |
| conn_read |
|
20 |
56 |
384 |
1 |
| xfrd_tcp_read |
|
14 |
61 |
320 |
1 |
| xfrd_tcp_release |
|
10 |
35 |
281 |
2 |
| xfrd_tcp_pipe_release |
|
8 |
43 |
322 |
3 |
| Source file: ./usr.sbin/nsd/rbtree.h |
| Source file: ./usr.sbin/nsd/dbcreate.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| add_rdata |
|
5 |
22 |
144 |
4 |
| rr_marshal_rdata |
|
2 |
10 |
65 |
3 |
| udb_del_rr |
|
1 |
9 |
80 |
3 |
| udb_write_rr |
|
2 |
15 |
120 |
3 |
| write_rrset |
|
3 |
9 |
60 |
3 |
| write_zone |
|
10 |
26 |
208 |
3 |
| write_zone_to_udb |
|
4 |
28 |
219 |
4 |
| print_rrs |
|
11 |
47 |
291 |
2 |
| print_header |
|
4 |
11 |
112 |
4 |
| write_to_zonefile |
|
5 |
26 |
163 |
3 |
| create_dirs |
|
5 |
25 |
138 |
1 |
| create_path_components |
|
3 |
14 |
75 |
2 |
| namedb_write_zonefile |
|
21 |
75 |
623 |
2 |
| namedb_write_zonefiles |
|
1 |
7 |
40 |
2 |
| Source file: ./usr.sbin/nsd/rrl.h |
| Source file: ./usr.sbin/nsd/tsig.h |
| Source file: ./usr.sbin/nsd/xfrd.h |
| Source file: ./usr.sbin/nsd/xfrd-notify.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| notify_send_disable |
|
2 |
8 |
45 |
1 |
| notify_disable |
|
7 |
27 |
141 |
1 |
| init_notify_send |
|
1 |
19 |
165 |
3 |
| xfrd_del_notify |
|
6 |
22 |
157 |
2 |
| xfrd_handle_notify_reply |
|
6 |
25 |
153 |
2 |
| xfrd_notify_next |
|
2 |
12 |
59 |
1 |
| xfrd_notify_send_udp |
|
9 |
46 |
355 |
2 |
| xfrd_handle_notify_send |
|
9 |
34 |
222 |
3 |
| setup_notify_active |
|
4 |
16 |
124 |
1 |
| notify_enable |
|
6 |
29 |
174 |
2 |
| xfrd_notify_start |
|
5 |
10 |
73 |
2 |
| xfrd_send_notify |
|
2 |
9 |
58 |
3 |
| notify_handle_master_zone_soainfo |
|
7 |
13 |
92 |
3 |
| close_notify_fds |
|
2 |
9 |
36 |
1 |
| Source file: ./pip/lib/python2.7/distutils/__init__.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| finalize_options |
|
3 |
7 |
69 |
1 |
| find_config_files |
|
5 |
14 |
92 |
1 |
| sysconfig_get_python_inc |
|
2 |
4 |
28 |
2 |
| sysconfig_get_python_lib |
|
3 |
4 |
36 |
3 |
| sysconfig_get_config_vars |
|
6 |
9 |
74 |
1 |
| Source file: ./pip/lib/python2.7/site-packages/pkg_resources/_vendor/packaging/__init__.py |
| Source file: ./pip/lib/python2.7/site-packages/pkg_resources/_vendor/packaging/requirements.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __init__ |
|
9 |
19 |
152 |
2 |
| __str__ |
|
5 |
11 |
97 |
1 |
| __repr__ |
|
1 |
2 |
15 |
1 |
| Source file: ./pip/lib/python2.7/site-packages/pkg_resources/_vendor/packaging/_structures.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __repr__ |
|
1 |
2 |
7 |
1 |
| __hash__ |
|
1 |
2 |
13 |
1 |
| __lt__ |
|
1 |
2 |
9 |
2 |
| __le__ |
|
1 |
2 |
9 |
2 |
| __eq__ |
|
1 |
2 |
16 |
2 |
| __ne__ |
|
1 |
2 |
17 |
2 |
| __gt__ |
|
1 |
2 |
9 |
2 |
| __ge__ |
|
1 |
2 |
9 |
2 |
| __neg__ |
|
1 |
2 |
7 |
1 |
| __repr__ |
|
1 |
2 |
7 |
1 |
| __hash__ |
|
1 |
2 |
13 |
1 |
| __lt__ |
|
1 |
2 |
9 |
2 |
| __le__ |
|
1 |
2 |
9 |
2 |
| __eq__ |
|
1 |
2 |
16 |
2 |
| __ne__ |
|
1 |
2 |
17 |
2 |
| __gt__ |
|
1 |
2 |
9 |
2 |
| __ge__ |
|
1 |
2 |
9 |
2 |
| __neg__ |
|
1 |
2 |
7 |
1 |
| Source file: ./pip/lib/python2.7/site-packages/pkg_resources/_vendor/packaging/__about__.py |
| Source file: ./pip/lib/python2.7/site-packages/pkg_resources/_vendor/packaging/markers.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __init__ |
|
1 |
2 |
12 |
2 |
| __str__ |
|
1 |
2 |
12 |
1 |
| __repr__ |
|
1 |
2 |
21 |
1 |
| serialize |
|
1 |
2 |
7 |
1 |
| serialize |
|
1 |
2 |
10 |
1 |
| serialize |
|
1 |
2 |
12 |
1 |
| serialize |
|
1 |
2 |
10 |
1 |
| _coerce_parse_result |
|
3 |
5 |
28 |
1 |
| _format_marker |
|
9 |
15 |
137 |
2 |
| _eval_op |
|
3 |
13 |
81 |
3 |
| _get_env |
|
2 |
7 |
34 |
2 |
| _evaluate_markers |
|
7 |
20 |
160 |
2 |
| format_full_version |
|
2 |
6 |
38 |
1 |
| default_environment |
|
2 |
20 |
120 |
0 |
| __init__ |
|
2 |
7 |
53 |
2 |
| __str__ |
|
1 |
2 |
12 |
1 |
| __repr__ |
|
1 |
2 |
15 |
1 |
| evaluate |
|
2 |
5 |
36 |
2 |
| Source file: ./pip/lib/python2.7/site-packages/pkg_resources/_vendor/packaging/utils.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| canonicalize_name |
|
1 |
2 |
18 |
1 |
| Source file: ./pip/lib/python2.7/site-packages/pkg_resources/_vendor/packaging/_compat.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| with_metaclass.__new__ |
|
1 |
2 |
20 |
4 |
| with_metaclass |
|
1 |
4 |
32 |
2 |
| Source file: ./pip/lib/python2.7/site-packages/pkg_resources/_vendor/__init__.py |
| Source file: ./pip/lib/python2.7/site-packages/pkg_resources/_vendor/packaging/version.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| parse |
|
2 |
5 |
21 |
1 |
| __hash__ |
|
1 |
2 |
12 |
1 |
| __lt__ |
|
1 |
2 |
23 |
2 |
| __le__ |
|
1 |
2 |
23 |
2 |
| __eq__ |
|
1 |
2 |
23 |
2 |
| __ge__ |
|
1 |
2 |
23 |
2 |
| __gt__ |
|
1 |
2 |
23 |
2 |
| __ne__ |
|
1 |
2 |
23 |
2 |
| _compare |
|
2 |
4 |
31 |
3 |
| __init__ |
|
1 |
3 |
25 |
2 |
| __str__ |
|
1 |
2 |
9 |
1 |
| __repr__ |
|
1 |
2 |
18 |
1 |
| public |
|
1 |
2 |
9 |
1 |
| base_version |
|
1 |
2 |
9 |
1 |
| local |
|
1 |
2 |
7 |
1 |
| is_prerelease |
|
1 |
2 |
7 |
1 |
| is_postrelease |
|
1 |
2 |
7 |
1 |
| _parse_version_parts |
|
5 |
10 |
58 |
1 |
| _legacy_cmpkey |
|
8 |
13 |
86 |
1 |
| __init__ |
|
5 |
29 |
205 |
2 |
| __repr__ |
|
1 |
2 |
18 |
1 |
| __str__ |
|
9 |
16 |
187 |
1 |
| public |
|
1 |
2 |
20 |
1 |
| base_version |
|
3 |
6 |
62 |
1 |
| local |
|
2 |
4 |
28 |
1 |
| is_prerelease |
|
2 |
2 |
20 |
1 |
| is_postrelease |
|
1 |
2 |
14 |
1 |
| _parse_letter_version |
|
9 |
17 |
90 |
2 |
| _parse_local_version |
|
4 |
6 |
42 |
1 |
| _cmpkey |
|
10 |
25 |
137 |
6 |
| Source file: ./pip/lib/python2.7/site-packages/pkg_resources/_vendor/packaging/specifiers.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __str__ |
|
1 |
1 |
6 |
1 |
| __hash__ |
|
1 |
1 |
6 |
1 |
| __eq__ |
|
1 |
1 |
8 |
2 |
| __ne__ |
|
1 |
1 |
8 |
2 |
| prereleases |
|
1 |
1 |
6 |
1 |
| prereleases |
|
1 |
1 |
8 |
2 |
| contains |
|
1 |
1 |
12 |
3 |
| filter |
|
1 |
1 |
12 |
3 |
| __init__ |
|
2 |
9 |
70 |
3 |
| __repr__ |
|
2 |
11 |
45 |
1 |
| __str__ |
|
1 |
2 |
15 |
1 |
| __hash__ |
|
1 |
2 |
12 |
1 |
| __eq__ |
|
4 |
9 |
51 |
2 |
| __ne__ |
|
4 |
9 |
51 |
2 |
| _get_operator |
|
1 |
2 |
24 |
2 |
| _coerce_version |
|
2 |
4 |
28 |
2 |
| operator |
|
1 |
2 |
12 |
1 |
| version |
|
1 |
2 |
12 |
1 |
| prereleases |
|
1 |
2 |
9 |
1 |
| prereleases |
|
1 |
2 |
12 |
2 |
| __contains__ |
|
1 |
2 |
14 |
2 |
| contains |
|
4 |
7 |
55 |
3 |
| filter |
|
10 |
16 |
98 |
3 |
| _coerce_version |
|
2 |
4 |
27 |
2 |
| _compare_equal |
|
1 |
2 |
18 |
3 |
| _compare_not_equal |
|
1 |
2 |
18 |
3 |
| _compare_less_than_equal |
|
1 |
2 |
18 |
3 |
| _compare_greater_than_equal |
|
1 |
2 |
18 |
3 |
| _compare_less_than |
|
1 |
2 |
18 |
3 |
| _compare_greater_than |
|
1 |
2 |
18 |
3 |
| _require_version_compare.wrapped |
|
2 |
4 |
29 |
3 |
| _require_version_compare |
|
1 |
4 |
16 |
1 |
| _compare_compatible |
|
3 |
13 |
84 |
3 |
| _compare_equal |
|
3 |
12 |
91 |
3 |
| _compare_not_equal |
|
1 |
2 |
19 |
3 |
| _compare_less_than_equal |
|
1 |
2 |
16 |
3 |
| _compare_greater_than_equal |
|
1 |
2 |
16 |
3 |
| _compare_less_than |
|
5 |
8 |
52 |
3 |
| _compare_greater_than |
|
7 |
11 |
77 |
3 |
| _compare_arbitrary |
|
1 |
2 |
27 |
3 |
| prereleases |
|
6 |
10 |
71 |
1 |
| prereleases |
|
1 |
2 |
12 |
2 |
| _version_split |
|
3 |
9 |
50 |
1 |
| _pad_version |
|
1 |
18 |
183 |
2 |
| __init__ |
|
5 |
10 |
83 |
3 |
| __repr__ |
|
2 |
7 |
38 |
1 |
| __str__ |
|
2 |
2 |
24 |
1 |
| __hash__ |
|
1 |
2 |
12 |
1 |
| __and__ |
|
8 |
19 |
119 |
2 |
| __eq__ |
|
4 |
8 |
57 |
2 |
| __ne__ |
|
4 |
8 |
57 |
2 |
| __len__ |
|
1 |
2 |
12 |
1 |
| __iter__ |
|
1 |
2 |
12 |
1 |
| prereleases |
|
4 |
6 |
38 |
1 |
| prereleases |
|
1 |
2 |
12 |
2 |
| __contains__ |
|
1 |
2 |
14 |
2 |
| contains |
|
6 |
11 |
70 |
3 |
| filter |
|
13 |
25 |
138 |
3 |
| Source file: ./usr.sbin/nsd/dbaccess.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| namedb_close |
|
3 |
12 |
54 |
1 |
| namedb_close_udb |
|
2 |
7 |
28 |
1 |
| apex_rrset_checks |
|
8 |
35 |
280 |
3 |
| read_rr |
|
2 |
19 |
156 |
4 |
| calculate_rr_count |
|
2 |
12 |
75 |
2 |
| read_rrset |
|
4 |
24 |
218 |
5 |
| read_node_elem |
|
5 |
25 |
207 |
5 |
| read_zone_recurse |
|
5 |
20 |
163 |
5 |
| read_zone_data |
|
2 |
11 |
95 |
5 |
| namedb_zone_create |
|
2 |
31 |
210 |
3 |
| namedb_zone_delete |
|
7 |
28 |
219 |
2 |
| read_zone |
|
5 |
23 |
184 |
5 |
| read_zones |
|
3 |
19 |
154 |
4 |
| try_read_udb |
|
3 |
23 |
142 |
4 |
| namedb_open |
|
12 |
55 |
352 |
2 |
| file_get_mtime |
|
4 |
16 |
100 |
3 |
| namedb_read_zonefile |
|
31 |
112 |
842 |
4 |
| namedb_check_zonefile |
|
2 |
11 |
84 |
4 |
| namedb_check_zonefiles |
|
2 |
9 |
60 |
4 |
| Source file: ./pip/lib/python2.7/site-packages/pkg_resources/_vendor/appdirs.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| user_data_dir |
|
12 |
53 |
174 |
4 |
| site_data_dir |
|
14 |
30 |
246 |
4 |
| user_config_dir |
|
5 |
38 |
95 |
4 |
| site_config_dir |
|
9 |
17 |
157 |
4 |
| user_cache_dir |
|
11 |
55 |
182 |
4 |
| user_log_dir |
|
7 |
49 |
127 |
4 |
| __init__ |
|
1 |
2 |
23 |
6 |
| user_data_dir |
|
1 |
3 |
28 |
1 |
| site_data_dir |
|
1 |
3 |
28 |
1 |
| user_config_dir |
|
1 |
3 |
28 |
1 |
| site_config_dir |
|
1 |
3 |
28 |
1 |
| user_cache_dir |
|
1 |
3 |
22 |
1 |
| user_log_dir |
|
1 |
3 |
22 |
1 |
| _get_win_folder_from_registry |
|
1 |
13 |
54 |
1 |
| _get_win_folder_with_pywin32 |
|
6 |
19 |
85 |
1 |
| _get_win_folder_with_ctypes |
|
5 |
19 |
108 |
1 |
| _get_win_folder_with_jna |
|
5 |
20 |
166 |
1 |
| Source file: ./pip/lib/python2.7/site-packages/pkg_resources/extern/__init__.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __init__ |
|
2 |
4 |
43 |
3 |
| search_path |
|
1 |
3 |
14 |
1 |
| find_module |
|
3 |
7 |
51 |
3 |
| load_module |
|
4 |
20 |
100 |
2 |
| install |
|
2 |
3 |
22 |
1 |
| Source file: ./pip/lib/python2.7/site-packages/pkg_resources/py31compat.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _makedirs_31 |
|
4 |
6 |
35 |
2 |
| Source file: ./pip/lib/python2.7/site-packages/pip/models/__init__.py |
| Source file: ./pip/lib/python2.7/site-packages/pip/models/index.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __init__ |
|
1 |
6 |
54 |
2 |
| url_to_path |
|
1 |
2 |
18 |
2 |
| Source file: ./pip/lib/python2.7/site-packages/pkg_resources/_vendor/six.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __len__ |
|
1 |
2 |
10 |
1 |
| _add_doc |
|
1 |
2 |
13 |
2 |
| _import_module |
|
1 |
3 |
17 |
1 |
| __init__ |
|
1 |
2 |
12 |
2 |
| __get__ |
|
2 |
8 |
44 |
3 |
| __init__ |
|
3 |
8 |
47 |
4 |
| _resolve |
|
1 |
2 |
12 |
1 |
| __getattr__ |
|
1 |
5 |
32 |
2 |
| __init__ |
|
1 |
3 |
27 |
2 |
| __dir__ |
|
2 |
4 |
27 |
1 |
| __init__ |
|
6 |
17 |
89 |
6 |
| _resolve |
|
1 |
3 |
22 |
1 |
| __init__ |
|
1 |
3 |
18 |
2 |
| _add_module |
|
2 |
3 |
29 |
3 |
| _get_module |
|
1 |
2 |
20 |
2 |
| find_module |
|
2 |
4 |
22 |
3 |
| __get_module |
|
2 |
5 |
26 |
2 |
| load_module |
|
3 |
12 |
60 |
2 |
| is_package |
|
1 |
2 |
20 |
2 |
| get_code |
|
1 |
3 |
16 |
2 |
| __dir__ |
|
1 |
2 |
17 |
1 |
| add_move |
|
1 |
2 |
16 |
1 |
| remove_move |
|
3 |
8 |
39 |
1 |
| advance_iterator |
|
1 |
2 |
11 |
1 |
| callable |
|
2 |
2 |
23 |
1 |
| get_unbound_function |
|
1 |
2 |
7 |
1 |
| create_unbound_method |
|
1 |
2 |
9 |
2 |
| get_unbound_function |
|
1 |
2 |
9 |
1 |
| create_bound_method |
|
1 |
2 |
20 |
2 |
| create_unbound_method |
|
1 |
2 |
18 |
2 |
| next |
|
1 |
2 |
15 |
1 |
| iterkeys |
|
1 |
2 |
19 |
2 |
| itervalues |
|
1 |
2 |
19 |
2 |
| iteritems |
|
1 |
2 |
19 |
2 |
| iterlists |
|
1 |
2 |
19 |
2 |
| iterkeys |
|
1 |
2 |
16 |
2 |
| itervalues |
|
1 |
2 |
16 |
2 |
| iteritems |
|
1 |
2 |
16 |
2 |
| iterlists |
|
1 |
2 |
16 |
2 |
| b |
|
1 |
2 |
12 |
1 |
| u |
|
1 |
2 |
7 |
1 |
| b |
|
1 |
2 |
7 |
1 |
| u |
|
1 |
2 |
21 |
1 |
| byte2int |
|
1 |
2 |
13 |
1 |
| indexbytes |
|
1 |
2 |
15 |
2 |
| assertCountEqual |
|
1 |
2 |
25 |
3 |
| assertRaisesRegex |
|
1 |
2 |
25 |
3 |
| assertRegex |
|
1 |
2 |
25 |
3 |
| reraise |
|
3 |
6 |
38 |
3 |
| exec_ |
|
4 |
10 |
56 |
3 |
| raise_from |
|
1 |
2 |
9 |
2 |
| print_.write |
|
6 |
11 |
80 |
1 |
| print_ |
|
17 |
40 |
208 |
2 |
| print_ |
|
3 |
6 |
52 |
2 |
| wraps |
|
1 |
2 |
17 |
3 |
| wrapper |
|
1 |
4 |
27 |
1 |
| with_metaclass.__new__ |
|
1 |
2 |
20 |
4 |
| with_metaclass |
|
1 |
4 |
32 |
2 |
| add_metaclass.wrapper |
|
4 |
11 |
81 |
1 |
| add_metaclass |
|
1 |
3 |
10 |
1 |
| python_2_unicode_compatible |
|
3 |
9 |
53 |
1 |
| Source file: ./pip/lib/python2.7/site-packages/pip/commands/show.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __init__ |
|
1 |
9 |
64 |
3 |
| run |
|
3 |
10 |
53 |
3 |
| search_packages_info |
|
25 |
51 |
433 |
1 |
| print_results |
|
9 |
32 |
321 |
3 |
| Source file: ./pip/lib/python2.7/site-packages/pip/commands/uninstall.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __init__ |
|
1 |
17 |
93 |
3 |
| run |
|
5 |
32 |
166 |
3 |
| Source file: ./pip/lib/python2.7/site-packages/pip/commands/help.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| run |
|
4 |
15 |
87 |
3 |
| Source file: ./pip/lib/python2.7/site-packages/pip/commands/__init__.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| get_summaries |
|
3 |
7 |
43 |
1 |
| get_similar_commands |
|
2 |
8 |
41 |
1 |
| _sort_commands.keyfn |
|
2 |
5 |
22 |
1 |
| _sort_commands |
|
1 |
3 |
22 |
2 |
| Source file: ./pip/lib/python2.7/site-packages/pip/commands/wheel.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __init__ |
|
1 |
50 |
293 |
3 |
| check_required_packages |
|
2 |
19 |
41 |
1 |
| run |
|
14 |
74 |
351 |
3 |
| Source file: ./pip/lib/python2.7/site-packages/pip/commands/install.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __init__ |
|
3 |
132 |
559 |
3 |
| run |
|
42 |
209 |
936 |
3 |
| get_lib_location_guesses |
|
1 |
3 |
33 |
2 |
| Source file: ./pip/lib/python2.7/site-packages/pip/commands/list.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __init__ |
|
1 |
56 |
243 |
3 |
| _build_package_finder |
|
1 |
9 |
48 |
4 |
| run |
|
10 |
45 |
166 |
3 |
| get_outdated |
|
3 |
5 |
32 |
3 |
| get_uptodate |
|
3 |
5 |
32 |
3 |
| get_not_required |
|
5 |
5 |
51 |
3 |
| iter_packages_latest_infos |
|
10 |
32 |
188 |
3 |
| output_legacy |
|
2 |
9 |
44 |
2 |
| output_legacy_latest |
|
1 |
6 |
27 |
2 |
| output_package_listing |
|
8 |
19 |
136 |
3 |
| output_package_listing_columns |
|
4 |
8 |
75 |
3 |
| tabulate |
|
7 |
11 |
116 |
1 |
| format_for_columns |
|
7 |
18 |
118 |
2 |
| format_for_json |
|
3 |
12 |
76 |
2 |
| Source file: ./pip/lib/python2.7/site-packages/pip/commands/download.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __init__ |
|
1 |
71 |
334 |
3 |
| run |
|
11 |
77 |
345 |
3 |
| Source file: ./pip/lib/python2.7/site-packages/pip/commands/freeze.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __init__ |
|
1 |
39 |
182 |
3 |
| run |
|
3 |
17 |
120 |
3 |
| Source file: ./pip/lib/python2.7/site-packages/pip/commands/completion.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __init__ |
|
1 |
22 |
113 |
3 |
| run |
|
3 |
10 |
83 |
3 |
| Source file: ./pip/lib/python2.7/site-packages/pip/commands/hash.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __init__ |
|
1 |
11 |
75 |
3 |
| run |
|
3 |
8 |
52 |
3 |
| _hash_of_file |
|
2 |
6 |
46 |
2 |
| Source file: ./pip/lib/python2.7/site-packages/pip/commands/check.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| run |
|
6 |
18 |
133 |
3 |
| Source file: ./pip/lib/python2.7/site-packages/pip/commands/search.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __init__ |
|
1 |
9 |
66 |
3 |
| run |
|
4 |
13 |
72 |
3 |
| search |
|
1 |
7 |
62 |
3 |
| transform_hits |
|
4 |
17 |
111 |
1 |
| print_results |
|
12 |
33 |
248 |
3 |
| highest_version |
|
1 |
2 |
14 |
1 |
| Source file: ./pip/lib/python2.7/site-packages/pip/req/req_uninstall.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __init__ |
|
1 |
7 |
43 |
2 |
| _permitted |
|
1 |
2 |
13 |
2 |
| add |
|
5 |
11 |
105 |
2 |
| add_pth |
|
3 |
8 |
63 |
3 |
| compact |
|
5 |
9 |
76 |
2 |
| _stash |
|
1 |
3 |
39 |
2 |
| remove |
|
9 |
37 |
216 |
2 |
| rollback |
|
4 |
14 |
85 |
1 |
| commit |
|
2 |
5 |
31 |
1 |
| __init__ |
|
2 |
8 |
42 |
2 |
| add |
|
3 |
5 |
51 |
2 |
| remove |
|
5 |
17 |
114 |
1 |
| rollback |
|
2 |
10 |
56 |
1 |
| Source file: ./pip/lib/python2.7/site-packages/pip/req/__init__.py |
| Source file: ./usr.sbin/nsd/server.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| delete_child_pid |
|
6 |
18 |
142 |
2 |
| restart_child_servers |
|
11 |
87 |
708 |
4 |
| set_bind8_alarm |
|
2 |
5 |
41 |
1 |
| zonestatid_tree_set |
|
2 |
8 |
65 |
1 |
| server_zonestat_alloc |
|
11 |
73 |
741 |
1 |
| zonestat_remap |
|
7 |
22 |
228 |
3 |
| server_zonestat_realloc |
|
7 |
28 |
247 |
1 |
| server_zonestat_switch |
|
2 |
10 |
71 |
1 |
| cleanup_dname_compression_tables |
|
1 |
6 |
21 |
1 |
| initialize_dname_compression_tables |
|
3 |
21 |
126 |
1 |
| Source file: ./pip/lib/python2.7/site-packages/pip/req/req_file.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| parse_requirements |
|
1 |
2 |
29 |
7 |
| preprocess |
|
1 |
6 |
44 |
2 |
| process_line |
|
1 |
3 |
33 |
9 |
| break_args_options |
|
4 |
11 |
73 |
1 |
| build_parser.parser_exit |
|
1 |
2 |
12 |
2 |
| build_parser |
|
2 |
9 |
45 |
0 |
| join_lines |
|
7 |
18 |
106 |
1 |
| ignore_comments |
|
3 |
6 |
37 |
1 |
| skip_regex |
|
3 |
8 |
49 |
2 |
| Source file: ./pip/lib/python2.7/site-packages/pip/_vendor/__init__.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| vendored |
|
3 |
13 |
103 |
1 |
| Source file: ./pip/lib/python2.7/site-packages/pip/req/req_set.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __init__ |
|
1 |
3 |
17 |
1 |
| keys |
|
1 |
2 |
9 |
1 |
| values |
|
2 |
2 |
20 |
1 |
| __contains__ |
|
1 |
2 |
13 |
2 |
| __setitem__ |
|
2 |
4 |
33 |
3 |
| __getitem__ |
|
1 |
2 |
14 |
2 |
| __repr__ |
|
2 |
3 |
42 |
1 |
| __init__ |
|
1 |
2 |
12 |
2 |
| dist |
|
1 |
2 |
15 |
2 |
| prep_for_dist |
|
1 |
2 |
13 |
1 |
| make_abstract_dist |
|
4 |
7 |
39 |
1 |
| dist |
|
1 |
3 |
24 |
2 |
| prep_for_dist |
|
1 |
2 |
6 |
1 |
| dist |
|
2 |
7 |
37 |
2 |
| prep_for_dist |
|
1 |
3 |
19 |
1 |
| dist |
|
1 |
2 |
13 |
2 |
| prep_for_dist |
|
1 |
2 |
6 |
1 |
| __init__ |
|
1 |
7 |
71 |
19 |
| __str__ |
|
4 |
5 |
60 |
1 |
| __repr__ |
|
3 |
6 |
75 |
1 |
| add_requirement |
|
1 |
2 |
15 |
4 |
| has_requirement |
|
5 |
8 |
58 |
2 |
| has_requirements |
|
4 |
3 |
29 |
1 |
| is_download |
|
3 |
11 |
56 |
1 |
| get_requirement |
|
4 |
7 |
58 |
2 |
| uninstall |
|
3 |
6 |
39 |
2 |
| prepare_files |
|
9 |
25 |
129 |
2 |
| _is_upgrade_allowed |
|
4 |
6 |
31 |
2 |
| _check_skip_installed |
|
12 |
29 |
126 |
3 |
| _prepare_file |
|
1 |
5 |
17 |
5 |
| add_req |
|
1 |
10 |
50 |
2 |
| cleanup_files |
|
2 |
5 |
29 |
1 |
| _to_install.schedule |
|
5 |
9 |
47 |
1 |
| _to_install |
|
2 |
7 |
34 |
1 |
| install |
|
10 |
38 |
154 |
3 |
| Source file: ./pip/lib/python2.7/site-packages/pip/operations/check.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| check_requirements |
|
4 |
13 |
77 |
1 |
| get_missing_reqs |
|
4 |
7 |
58 |
2 |
| get_incompatible_reqs |
|
5 |
8 |
58 |
2 |
| Source file: ./pip/lib/python2.7/site-packages/pip/utils/glibc.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| glibc_version_string |
|
3 |
12 |
56 |
0 |
| check_glibc_version |
|
3 |
8 |
63 |
3 |
| have_compatible_glibc |
|
2 |
5 |
28 |
2 |
| libc_ver |
|
2 |
6 |
28 |
0 |
| Source file: ./pip/lib/python2.7/site-packages/pip/operations/freeze.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| freeze |
|
1 |
7 |
40 |
9 |
| Source file: ./pip/lib/python2.7/site-packages/pip/utils/filesystem.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| check_path_owner |
|
6 |
16 |
89 |
1 |
| Source file: ./pip/lib/python2.7/site-packages/pkg_resources/__init__.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __hash__ |
|
1 |
2 |
16 |
1 |
| __lt__ |
|
2 |
5 |
36 |
2 |
| __le__ |
|
2 |
5 |
36 |
2 |
| __eq__ |
|
2 |
5 |
36 |
2 |
| __ge__ |
|
2 |
5 |
36 |
2 |
| __gt__ |
|
2 |
5 |
36 |
2 |
| __ne__ |
|
2 |
5 |
36 |
2 |
| __getitem__ |
|
1 |
2 |
15 |
2 |
| __iter__._parse_version_parts |
|
5 |
10 |
56 |
1 |
| __iter__.old_parse_version |
|
8 |
11 |
77 |
1 |
| __iter__ |
|
2 |
24 |
80 |
1 |
| parse_version |
|
2 |
5 |
24 |
1 |
| _declare_state |
|
1 |
3 |
29 |
2 |
| __getstate__ |
|
2 |
6 |
43 |
0 |
| __setstate__ |
|
2 |
5 |
42 |
1 |
| _sget_dict |
|
1 |
2 |
11 |
1 |
| _sset_dict |
|
1 |
3 |
20 |
3 |
| _sget_object |
|
1 |
2 |
11 |
1 |
| _sset_object |
|
1 |
2 |
15 |
3 |
| get_supported_platform |
|
4 |
9 |
63 |
0 |
| __repr__ |
|
1 |
2 |
18 |
1 |
| dist |
|
1 |
2 |
12 |
1 |
| req |
|
1 |
2 |
12 |
1 |
| report |
|
1 |
2 |
17 |
1 |
| with_context |
|
2 |
5 |
30 |
2 |
| required_by |
|
1 |
2 |
12 |
1 |
| req |
|
1 |
2 |
12 |
1 |
| requirers |
|
1 |
2 |
12 |
1 |
| requirers_str |
|
2 |
4 |
22 |
1 |
| report |
|
1 |
2 |
17 |
1 |
| __str__ |
|
1 |
2 |
11 |
1 |
| register_loader_type |
|
1 |
2 |
14 |
2 |
| get_provider |
|
4 |
10 |
77 |
1 |
| _macosx_vers |
|
6 |
12 |
83 |
1 |
| _macosx_arch |
|
1 |
2 |
22 |
1 |
| get_build_platform |
|
5 |
15 |
95 |
0 |
| compatible_platforms |
|
14 |
22 |
168 |
2 |
| run_script |
|
1 |
6 |
49 |
2 |
| get_distribution |
|
4 |
8 |
56 |
1 |
| load_entry_point |
|
1 |
2 |
22 |
3 |
| get_entry_map |
|
1 |
2 |
20 |
2 |
| get_entry_info |
|
1 |
2 |
22 |
3 |
| has_metadata |
|
1 |
1 |
6 |
1 |
| get_metadata |
|
1 |
1 |
6 |
1 |
| get_metadata_lines |
|
1 |
1 |
6 |
1 |
| metadata_isdir |
|
1 |
1 |
6 |
1 |
| metadata_listdir |
|
1 |
1 |
6 |
1 |
| run_script |
|
1 |
1 |
8 |
2 |
| get_resource_filename |
|
1 |
1 |
8 |
2 |
| get_resource_stream |
|
1 |
1 |
8 |
2 |
| get_resource_string |
|
1 |
1 |
8 |
2 |
| has_resource |
|
1 |
1 |
6 |
1 |
| resource_isdir |
|
1 |
1 |
6 |
1 |
| resource_listdir |
|
1 |
1 |
6 |
1 |
| __init__ |
|
3 |
9 |
55 |
2 |
| _build_master |
|
3 |
11 |
42 |
1 |
| _build_from_requirements |
|
4 |
11 |
77 |
2 |
| add_entry |
|
2 |
5 |
47 |
2 |
| __contains__ |
|
1 |
2 |
21 |
2 |
| find |
|
3 |
5 |
40 |
2 |
| iter_entry_points |
|
5 |
8 |
51 |
3 |
| run_script |
|
1 |
6 |
53 |
3 |
| __iter__ |
|
5 |
9 |
55 |
1 |
| add |
|
7 |
15 |
136 |
5 |
| resolve |
|
1 |
2 |
19 |
5 |
| find_plugins |
|
1 |
2 |
19 |
5 |
| require |
|
2 |
5 |
33 |
2 |
| subscribe |
|
4 |
8 |
42 |
3 |
| _added_new |
|
2 |
3 |
18 |
2 |
| __getstate__ |
|
1 |
5 |
37 |
1 |
| __setstate__ |
|
1 |
6 |
50 |
2 |
| markers_pass |
|
3 |
6 |
51 |
2 |
| __init__ |
|
1 |
2 |
19 |
3 |
| can_add |
|
4 |
4 |
42 |
2 |
| remove |
|
1 |
2 |
21 |
2 |
| scan |
|
4 |
6 |
39 |
2 |
| __getitem__ |
|
1 |
3 |
27 |
2 |
| add |
|
4 |
6 |
66 |
2 |
| best_match |
|
4 |
8 |
56 |
4 |
| obtain |
|
2 |
3 |
23 |
3 |
| __iter__ |
|
3 |
4 |
25 |
1 |
| __iadd__ |
|
5 |
10 |
63 |
2 |
| __add__ |
|
2 |
5 |
37 |
2 |
| __init__ |
|
1 |
2 |
11 |
1 |
| resource_exists |
|
1 |
2 |
20 |
3 |
| resource_isdir |
|
1 |
4 |
20 |
3 |
| resource_filename |
|
1 |
4 |
22 |
3 |
| resource_stream |
|
1 |
4 |
22 |
3 |
| resource_string |
|
1 |
4 |
22 |
3 |
| resource_listdir |
|
1 |
4 |
20 |
3 |
| extraction_error |
|
2 |
24 |
68 |
1 |
| get_cache_path |
|
3 |
22 |
68 |
3 |
| _warn_unsafe_extraction_path |
|
5 |
11 |
69 |
1 |
| postprocess |
|
2 |
4 |
43 |
3 |
| set_extraction_path |
|
2 |
6 |
23 |
2 |
| cleanup_resources |
|
1 |
1 |
10 |
2 |
| get_default_cache |
|
2 |
5 |
25 |
0 |
| safe_name |
|
1 |
2 |
17 |
1 |
| safe_version |
|
2 |
6 |
48 |
1 |
| safe_extra |
|
1 |
2 |
21 |
1 |
| to_filename |
|
1 |
2 |
15 |
1 |
| invalid_marker |
|
2 |
8 |
31 |
1 |
| evaluate_marker |
|
2 |
6 |
42 |
2 |
| __init__ |
|
1 |
3 |
38 |
2 |
| get_resource_filename |
|
1 |
2 |
20 |
3 |
| get_resource_stream |
|
1 |
2 |
23 |
3 |
| get_resource_string |
|
1 |
2 |
25 |
3 |
| has_resource |
|
1 |
2 |
23 |
2 |
| has_metadata |
|
2 |
2 |
27 |
2 |
| get_metadata |
|
3 |
5 |
45 |
2 |
| get_metadata_lines |
|
1 |
2 |
17 |
2 |
| resource_isdir |
|
1 |
2 |
23 |
2 |
| metadata_isdir |
|
2 |
2 |
27 |
2 |
| resource_listdir |
|
1 |
2 |
23 |
2 |
| metadata_listdir |
|
2 |
4 |
31 |
2 |
| run_script |
|
3 |
19 |
157 |
3 |
| _has |
|
1 |
4 |
12 |
2 |
| _isdir |
|
1 |
4 |
12 |
2 |
| _listdir |
|
1 |
4 |
12 |
2 |
| _fn |
|
2 |
4 |
31 |
3 |
| _get |
|
2 |
6 |
31 |
2 |
| __init__ |
|
1 |
3 |
20 |
2 |
| _setup_prefix |
|
3 |
11 |
71 |
1 |
| _has |
|
1 |
2 |
16 |
2 |
| _isdir |
|
1 |
2 |
16 |
2 |
| _listdir |
|
1 |
2 |
14 |
2 |
| get_resource_stream |
|
1 |
2 |
25 |
3 |
| _get |
|
1 |
3 |
23 |
2 |
| _register |
|
1 |
4 |
24 |
1 |
| __init__ |
|
1 |
2 |
6 |
1 |
| build |
|
2 |
10 |
53 |
2 |
| load |
|
3 |
7 |
71 |
2 |
| __enter__ |
|
1 |
2 |
7 |
1 |
| __exit__ |
|
1 |
2 |
16 |
4 |
| __new__ |
|
2 |
4 |
45 |
3 |
| __init__ |
|
1 |
3 |
28 |
2 |
| _zipinfo_name |
|
2 |
6 |
41 |
2 |
| _parts |
|
2 |
7 |
61 |
2 |
| zipinfo |
|
1 |
2 |
18 |
1 |
| get_resource_filename |
|
4 |
11 |
77 |
3 |
| _get_date_and_size |
|
1 |
5 |
36 |
1 |
| _extract_resource |
|
10 |
36 |
239 |
3 |
| _is_current |
|
4 |
11 |
92 |
3 |
| _get_eager_resources |
|
4 |
8 |
53 |
1 |
| _index |
|
5 |
16 |
93 |
1 |
| _has |
|
2 |
3 |
29 |
2 |
| _isdir |
|
1 |
2 |
20 |
2 |
| _listdir |
|
1 |
2 |
29 |
2 |
| _eager_to_zip |
|
1 |
2 |
23 |
2 |
| _resource_to_zip |
|
1 |
2 |
23 |
2 |
| __init__ |
|
1 |
2 |
12 |
2 |
| has_metadata |
|
2 |
2 |
22 |
2 |
| get_metadata |
|
2 |
7 |
52 |
2 |
| _warn_on_replacement |
|
2 |
6 |
41 |
2 |
| get_metadata_lines |
|
1 |
2 |
17 |
2 |
| __init__ |
|
1 |
3 |
19 |
3 |
| __init__ |
|
2 |
8 |
61 |
2 |
| register_finder |
|
1 |
2 |
14 |
2 |
| find_distributions |
|
1 |
4 |
33 |
2 |
| find_eggs_in_zip |
|
7 |
13 |
97 |
3 |
| find_nothing |
|
1 |
2 |
14 |
3 |
| _by_version_descending._by_version |
|
2 |
4 |
50 |
1 |
| _by_version_descending |
|
1 |
3 |
21 |
1 |
| find_on_path |
|
17 |
39 |
287 |
3 |
| register_namespace_handler |
|
1 |
2 |
14 |
2 |
| _handle_ns |
|
6 |
22 |
145 |
2 |
| _rebuild_mod_path.safe_sys_path_index |
|
2 |
5 |
23 |
1 |
| _rebuild_mod_path.position_in_sys_path |
|
1 |
5 |
49 |
1 |
| _rebuild_mod_path |
|
4 |
8 |
63 |
3 |
| declare_namespace |
|
7 |
21 |
128 |
1 |
| fixup_namespace_packages |
|
4 |
9 |
54 |
2 |
| file_ns_handler |
|
3 |
8 |
59 |
4 |
| null_ns_handler |
|
1 |
2 |
13 |
4 |
| normalize_path |
|
1 |
2 |
22 |
1 |
| _normalize_cached |
|
2 |
6 |
33 |
2 |
| _is_unpacked_egg |
|
1 |
4 |
19 |
1 |
| _set_parent_ns |
|
2 |
6 |
49 |
1 |
| yield_lines |
|
7 |
10 |
62 |
1 |
| __init__ |
|
2 |
8 |
81 |
4 |
| __str__ |
|
3 |
7 |
54 |
1 |
| __repr__ |
|
1 |
2 |
12 |
1 |
| load |
|
5 |
11 |
57 |
4 |
| resolve |
|
2 |
6 |
52 |
1 |
| require |
|
3 |
6 |
65 |
3 |
| parse |
|
3 |
9 |
92 |
3 |
| _parse_extras |
|
3 |
7 |
37 |
2 |
| parse_group |
|
4 |
10 |
78 |
4 |
| parse_map |
|
6 |
16 |
97 |
3 |
| _remove_md5_fragment |
|
3 |
7 |
54 |
1 |
| _version_from_file |
|
2 |
6 |
63 |
1 |
| __init__ |
|
1 |
3 |
33 |
8 |
| from_location |
|
3 |
14 |
119 |
5 |
| _reload_version |
|
1 |
2 |
7 |
1 |
| hashcmp |
|
3 |
9 |
39 |
1 |
| __hash__ |
|
1 |
2 |
12 |
1 |
| __lt__ |
|
1 |
2 |
15 |
2 |
| __le__ |
|
1 |
2 |
15 |
2 |
| __gt__ |
|
1 |
2 |
15 |
2 |
| __ge__ |
|
1 |
2 |
15 |
2 |
| __eq__ |
|
2 |
4 |
28 |
2 |
| __ne__ |
|
1 |
2 |
12 |
2 |
| key |
|
2 |
6 |
29 |
1 |
| parsed_version |
|
2 |
4 |
28 |
1 |
| _warn_legacy_version |
|
3 |
16 |
70 |
1 |
| version |
|
3 |
9 |
48 |
1 |
| _dep_map |
|
9 |
17 |
116 |
1 |
| requires |
|
3 |
13 |
69 |
2 |
| _get_metadata |
|
3 |
4 |
27 |
2 |
| activate |
|
5 |
9 |
68 |
3 |
| egg_name |
|
3 |
8 |
45 |
1 |
| __repr__ |
|
2 |
5 |
27 |
1 |
| __str__ |
|
3 |
7 |
38 |
1 |
| __getattr__ |
|
2 |
4 |
30 |
2 |
| from_filename |
|
1 |
5 |
38 |
4 |
| as_requirement |
|
2 |
6 |
55 |
1 |
| load_entry_point |
|
2 |
5 |
45 |
3 |
| get_entry_map |
|
3 |
10 |
57 |
2 |
| get_entry_info |
|
1 |
2 |
22 |
3 |
| insert_on |
|
18 |
38 |
210 |
4 |
| check_version_conflict |
|
10 |
19 |
131 |
1 |
| has_version |
|
2 |
7 |
26 |
1 |
| clone |
|
2 |
6 |
54 |
2 |
| extras |
|
3 |
2 |
17 |
1 |
| _reload_version |
|
2 |
5 |
29 |
1 |
| _parsed_pkg_info |
|
2 |
7 |
45 |
1 |
| _dep_map |
|
2 |
6 |
27 |
1 |
| _compute_dependencies.reqs_for_extra |
|
4 |
4 |
31 |
1 |
| _compute_dependencies |
|
5 |
12 |
110 |
1 |
| issue_warning |
|
3 |
9 |
54 |
2 |
| __str__ |
|
1 |
2 |
14 |
1 |
| parse_requirements |
|
4 |
9 |
68 |
1 |
| __init__ |
|
4 |
18 |
148 |
2 |
| __eq__ |
|
2 |
5 |
24 |
2 |
| __ne__ |
|
1 |
2 |
12 |
2 |
| __contains__ |
|
3 |
6 |
44 |
2 |
| __hash__ |
|
1 |
2 |
9 |
1 |
| parse |
|
1 |
3 |
14 |
1 |
| _get_mro |
|
2 |
6 |
36 |
1 |
| _find_adapter |
|
3 |
4 |
36 |
2 |
| ensure_directory |
|
2 |
4 |
33 |
1 |
| _bypass_ensure_directory |
|
5 |
7 |
44 |
1 |
| split_sections |
|
6 |
15 |
84 |
1 |
| _mkstemp |
|
2 |
7 |
39 |
2 |
| _call_aside |
|
1 |
3 |
21 |
3 |
| _initialize |
|
3 |
9 |
51 |
1 |
| _initialize_master_working_set |
|
2 |
16 |
105 |
0 |
| Source file: ./pip/lib/python2.7/site-packages/pip/utils/deprecation.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _showwarning |
|
5 |
18 |
108 |
6 |
| install_warning_logger |
|
2 |
6 |
33 |
0 |
| Source file: ./pip/lib/python2.7/site-packages/pip/utils/hashes.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __init__ |
|
2 |
2 |
22 |
2 |
| check_against_chunks |
|
7 |
14 |
99 |
2 |
| _raise |
|
1 |
2 |
16 |
2 |
| check_against_file |
|
1 |
2 |
18 |
2 |
| check_against_path |
|
1 |
3 |
24 |
2 |
| __nonzero__ |
|
1 |
2 |
13 |
1 |
| __bool__ |
|
1 |
2 |
11 |
1 |
| __init__ |
|
1 |
2 |
24 |
1 |
| _raise |
|
1 |
2 |
19 |
2 |
| Source file: ./pip/lib/python2.7/site-packages/pip/utils/encoding.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| auto_decode |
|
6 |
9 |
107 |
1 |
| Source file: ./pip/lib/python2.7/site-packages/pip/utils/appdirs.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| user_cache_dir |
|
5 |
33 |
107 |
1 |
| user_data_dir |
|
5 |
15 |
92 |
2 |
| user_config_dir |
|
3 |
9 |
65 |
2 |
| site_config_dirs |
|
5 |
17 |
114 |
1 |
| _get_win_folder_from_registry |
|
1 |
13 |
54 |
1 |
| _get_win_folder_with_ctypes |
|
5 |
18 |
106 |
1 |
| _win_path_to_bytes |
|
3 |
7 |
34 |
1 |
| Source file: ./pip/lib/python2.7/site-packages/pip/utils/outdated.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __init__ |
|
2 |
7 |
56 |
1 |
| save |
|
1 |
11 |
55 |
3 |
| __init__ |
|
2 |
7 |
61 |
1 |
| save |
|
3 |
17 |
139 |
3 |
| load_selfcheck_statefile |
|
2 |
5 |
19 |
0 |
| pip_version_check |
|
12 |
48 |
241 |
1 |
| Source file: ./pip/lib/python2.7/site-packages/pip/utils/setuptools_build.py |
| Source file: ./pip/lib/python2.7/site-packages/pip/utils/logging.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| indent_log |
|
2 |
6 |
23 |
1 |
| get_indentation |
|
1 |
2 |
13 |
0 |
| format |
|
2 |
7 |
49 |
2 |
| _color_wrap.wrapped |
|
1 |
2 |
25 |
1 |
| _color_wrap |
|
1 |
3 |
10 |
1 |
| __init__ |
|
3 |
4 |
36 |
2 |
| should_color |
|
6 |
12 |
68 |
1 |
| format |
|
4 |
8 |
51 |
2 |
| _open |
|
1 |
3 |
29 |
1 |
| __init__ |
|
1 |
2 |
12 |
2 |
| filter |
|
1 |
2 |
15 |
2 |
| Source file: ./pip/lib/python2.7/site-packages/pip/utils/ui.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _select_progress_class |
|
3 |
15 |
95 |
2 |
| __init__ |
|
2 |
5 |
51 |
3 |
| finish |
|
1 |
3 |
24 |
1 |
| handle_sigint |
|
1 |
3 |
23 |
3 |
| __init__ |
|
1 |
3 |
45 |
3 |
| downloaded |
|
1 |
2 |
12 |
1 |
| download_speed |
|
2 |
4 |
27 |
1 |
| pretty_eta |
|
2 |
4 |
18 |
1 |
| iter |
|
2 |
5 |
29 |
3 |
| __init__ |
|
5 |
8 |
89 |
3 |
| next_phase |
|
2 |
4 |
33 |
1 |
| update |
|
3 |
12 |
59 |
1 |
| hidden_cursor |
|
5 |
11 |
47 |
1 |
| __init__ |
|
1 |
3 |
17 |
2 |
| ready |
|
1 |
4 |
25 |
1 |
| reset |
|
1 |
2 |
14 |
1 |
| __init__ |
|
1 |
2 |
21 |
5 |
| _write |
|
1 |
8 |
65 |
2 |
| spin |
|
3 |
6 |
33 |
1 |
| finish |
|
2 |
7 |
39 |
2 |
| __init__ |
|
1 |
5 |
35 |
3 |
| _update |
|
1 |
4 |
31 |
2 |
| spin |
|
3 |
6 |
28 |
1 |
| finish |
|
2 |
5 |
29 |
2 |
| open_spinner |
|
5 |
16 |
78 |
1 |
| Source file: ./pip/lib/python2.7/site-packages/pip/utils/build.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __init__ |
|
5 |
9 |
65 |
3 |
| __repr__ |
|
1 |
2 |
20 |
1 |
| __enter__ |
|
1 |
2 |
9 |
1 |
| __exit__ |
|
1 |
2 |
16 |
4 |
| cleanup |
|
2 |
3 |
16 |
1 |
| Source file: ./pip/lib/python2.7/site-packages/pip/utils/packaging.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| check_requires_python |
|
2 |
6 |
49 |
1 |
| get_metadata |
|
4 |
6 |
46 |
1 |
| check_dist_requires_python |
|
3 |
19 |
104 |
1 |
| Source file: ./pip/lib/python2.7/site-packages/pip/utils/__init__.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| import_or_raise |
|
2 |
5 |
32 |
4 |
| ensure_dir |
|
3 |
6 |
29 |
1 |
| get_prog |
|
3 |
7 |
45 |
0 |
| rmtree |
|
1 |
3 |
23 |
2 |
| rmtree_errorhandler |
|
2 |
7 |
42 |
3 |
| display_path |
|
3 |
8 |
97 |
1 |
| backup_dir |
|
2 |
7 |
43 |
2 |
| ask_path_exists |
|
3 |
5 |
39 |
2 |
| ask |
|
4 |
16 |
71 |
2 |
| format_size |
|
4 |
9 |
60 |
1 |
| is_installable_dir |
|
3 |
7 |
45 |
1 |
| is_svn_page |
|
2 |
3 |
32 |
1 |
| file_contents |
|
1 |
3 |
26 |
1 |
| read_chunks |
|
3 |
6 |
30 |
2 |
| split_leading_dir |
|
6 |
9 |
79 |
1 |
| has_leading_dir |
|
5 |
11 |
45 |
1 |
| normalize_path |
|
2 |
7 |
50 |
2 |
| splitext |
|
2 |
6 |
50 |
1 |
| renames |
|
7 |
11 |
78 |
2 |
| is_local |
|
5 |
14 |
84 |
1 |
| dist_is_local |
|
1 |
2 |
14 |
1 |
| dist_in_usersite |
|
1 |
3 |
25 |
1 |
| dist_in_site_packages |
|
1 |
4 |
22 |
1 |
| dist_is_editable |
|
3 |
6 |
43 |
1 |
| get_installed_distributions |
|
1 |
5 |
23 |
5 |
| local_test |
|
1 |
2 |
7 |
1 |
| editable_test |
|
1 |
2 |
7 |
1 |
| editable_test |
|
1 |
2 |
11 |
1 |
| editables_only_test |
|
1 |
2 |
10 |
1 |
| editables_only_test |
|
1 |
2 |
7 |
1 |
| user_test |
|
1 |
2 |
7 |
1 |
| egg_link_path |
|
7 |
17 |
93 |
1 |
| dist_location |
|
2 |
5 |
21 |
1 |
| get_terminal_size.ioctl_GWINSZ |
|
3 |
14 |
51 |
1 |
| get_terminal_size |
|
6 |
13 |
105 |
0 |
| current_umask |
|
1 |
4 |
21 |
0 |
| unzip_file |
|
11 |
28 |
202 |
3 |
| untar_file |
|
17 |
57 |
335 |
2 |
| unpack_file |
|
10 |
28 |
161 |
4 |
| call_subprocess |
|
1 |
4 |
29 |
7 |
| read_text_file |
|
3 |
12 |
66 |
1 |
| _make_build_dir |
|
1 |
3 |
15 |
1 |
| __init__ |
|
2 |
2 |
18 |
2 |
| readline |
|
3 |
8 |
32 |
1 |
| __iter__ |
|
1 |
2 |
9 |
1 |
| from_stream |
|
1 |
3 |
16 |
2 |
| encoding |
|
1 |
2 |
11 |
1 |
| captured_output |
|
2 |
7 |
46 |
1 |
| captured_stdout |
|
1 |
2 |
10 |
0 |
| __init__ |
|
1 |
3 |
22 |
2 |
| __get__ |
|
2 |
5 |
37 |
3 |
| get_installed_version |
|
3 |
8 |
58 |
2 |
| consume |
|
1 |
2 |
14 |
1 |
| Source file: ./pip/lib/python2.7/site-packages/pip/vcs/mercurial.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| export |
|
2 |
8 |
50 |
2 |
| switch |
|
2 |
14 |
108 |
4 |
| update |
|
1 |
3 |
39 |
3 |
| obtain |
|
3 |
17 |
100 |
2 |
| get_url |
|
2 |
7 |
51 |
2 |
| get_revision |
|
1 |
5 |
33 |
2 |
| get_revision_hash |
|
1 |
5 |
33 |
2 |
| get_src_requirement |
|
3 |
9 |
76 |
3 |
| check_version |
|
1 |
2 |
12 |
3 |
| Source file: ./pip/lib/python2.7/site-packages/pip/compat/__init__.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| get_stdlib |
|
1 |
6 |
32 |
0 |
| get_stdlib |
|
1 |
6 |
40 |
0 |
| console_to_str |
|
2 |
5 |
28 |
1 |
| native_str |
|
3 |
4 |
32 |
2 |
| console_to_str |
|
1 |
2 |
7 |
1 |
| native_str |
|
2 |
4 |
26 |
2 |
| total_seconds |
|
2 |
6 |
50 |
1 |
| get_path_uid |
|
3 |
13 |
80 |
1 |
| expanduser |
|
3 |
5 |
40 |
1 |
| samefile |
|
2 |
7 |
69 |
2 |
| Source file: ./pip/lib/python2.7/site-packages/pip/vcs/__init__.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __init__ |
|
2 |
5 |
45 |
1 |
| __iter__ |
|
1 |
2 |
13 |
1 |
| backends |
|
1 |
2 |
16 |
1 |
| dirnames |
|
2 |
2 |
17 |
1 |
| all_schemes |
|
2 |
5 |
26 |
1 |
| register |
|
3 |
7 |
57 |
2 |
| unregister |
|
3 |
7 |
55 |
3 |
| get_backend_name |
|
3 |
7 |
45 |
2 |
| get_backend |
|
2 |
4 |
28 |
2 |
| get_backend_from_location |
|
2 |
5 |
27 |
2 |
| __init__ |
|
1 |
3 |
35 |
4 |
| _is_local_repository |
|
2 |
3 |
33 |
2 |
| translate_egg_surname |
|
1 |
2 |
16 |
2 |
| export |
|
1 |
2 |
10 |
2 |
| get_url_rev |
|
2 |
14 |
98 |
1 |
| get_info |
|
1 |
4 |
42 |
2 |
| normalize_url |
|
1 |
2 |
20 |
2 |
| compare_urls |
|
1 |
2 |
26 |
3 |
| obtain |
|
1 |
2 |
10 |
2 |
| switch |
|
1 |
2 |
14 |
4 |
| update |
|
1 |
2 |
12 |
3 |
| check_version |
|
1 |
2 |
12 |
3 |
| check_destination |
|
11 |
76 |
356 |
5 |
| unpack |
|
2 |
4 |
28 |
2 |
| get_src_requirement |
|
1 |
2 |
12 |
3 |
| get_url |
|
1 |
2 |
10 |
2 |
| get_revision |
|
1 |
2 |
10 |
2 |
| run_command |
|
1 |
4 |
31 |
8 |
| controls_location |
|
1 |
5 |
47 |
2 |
| get_src_requirement |
|
3 |
20 |
70 |
2 |
| Source file: ./pip/lib/python2.7/site-packages/pip/compat/dictconfig.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| valid_ident |
|
2 |
5 |
26 |
1 |
| _checkLevel |
|
4 |
11 |
59 |
1 |
| __getitem__ |
|
3 |
10 |
65 |
2 |
| get |
|
3 |
10 |
71 |
3 |
| pop |
|
3 |
9 |
65 |
3 |
| __getitem__ |
|
3 |
10 |
65 |
2 |
| pop |
|
3 |
8 |
57 |
2 |
| __getitem__ |
|
3 |
9 |
59 |
2 |
| __init__ |
|
1 |
3 |
22 |
2 |
| resolve |
|
4 |
18 |
114 |
2 |
| ext_convert |
|
1 |
2 |
15 |
2 |
| cfg_convert |
|
8 |
30 |
187 |
2 |
| convert |
|
10 |
22 |
163 |
2 |
| configure_custom |
|
8 |
11 |
112 |
2 |
| as_tuple |
|
2 |
4 |
24 |
2 |
| configure |
|
30 |
108 |
663 |
1 |
| configure_formatter |
|
4 |
16 |
103 |
2 |
| configure_filter |
|
2 |
7 |
43 |
2 |
| add_filters |
|
3 |
6 |
47 |
3 |
| configure_handler |
|
21 |
46 |
357 |
2 |
| add_handlers |
|
3 |
6 |
47 |
3 |
| common_logger_config |
|
6 |
13 |
101 |
4 |
| configure_logger |
|
2 |
6 |
53 |
4 |
| configure_root |
|
1 |
3 |
29 |
3 |
| dictConfig |
|
1 |
2 |
14 |
1 |
| Source file: ./pip/lib/python2.7/site-packages/pip/vcs/bazaar.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __init__ |
|
2 |
5 |
62 |
4 |
| export |
|
3 |
10 |
64 |
2 |
| switch |
|
1 |
2 |
25 |
4 |
| update |
|
1 |
2 |
25 |
3 |
| obtain |
|
3 |
16 |
88 |
2 |
| get_url_rev |
|
2 |
5 |
36 |
1 |
| get_url |
|
5 |
12 |
86 |
2 |
| get_revision |
|
1 |
4 |
35 |
2 |
| get_src_requirement |
|
3 |
9 |
76 |
3 |
| check_version |
|
1 |
2 |
12 |
3 |
| Source file: ./pip/lib/python2.7/site-packages/pip/vcs/subversion.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| get_info |
|
3 |
26 |
146 |
2 |
| export |
|
2 |
11 |
82 |
2 |
| switch |
|
1 |
2 |
27 |
4 |
| update |
|
1 |
2 |
23 |
3 |
| obtain |
|
3 |
16 |
93 |
2 |
| get_location |
|
5 |
12 |
80 |
3 |
| get_revision |
|
7 |
18 |
127 |
2 |
| get_url_rev |
|
2 |
5 |
36 |
1 |
| get_url |
|
3 |
13 |
70 |
2 |
| _get_svn_url_rev |
|
14 |
38 |
297 |
2 |
| get_src_requirement |
|
2 |
7 |
59 |
3 |
| check_version |
|
1 |
2 |
12 |
3 |
| remove_auth_from_url |
|
1 |
9 |
59 |
1 |
| get_rev_options |
|
7 |
23 |
131 |
2 |
| Source file: ./pip/lib/python2.7/site-packages/pip/status_codes.py |
| Source file: ./pip/lib/python2.7/site-packages/pip/vcs/git.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __init__ |
|
3 |
16 |
150 |
4 |
| get_git_version |
|
2 |
9 |
67 |
1 |
| export |
|
3 |
11 |
70 |
2 |
| check_rev_options |
|
3 |
12 |
62 |
4 |
| check_version |
|
1 |
2 |
25 |
3 |
| switch |
|
1 |
4 |
49 |
4 |
| update |
|
3 |
11 |
96 |
3 |
| obtain |
|
5 |
21 |
132 |
2 |
| get_url |
|
3 |
12 |
77 |
2 |
| get_revision |
|
1 |
4 |
33 |
2 |
| get_full_refs |
|
2 |
6 |
63 |
2 |
| is_ref_remote |
|
1 |
2 |
14 |
2 |
| is_ref_branch |
|
1 |
2 |
14 |
2 |
| is_ref_tag |
|
1 |
2 |
14 |
2 |
| is_ref_commit |
|
1 |
6 |
36 |
2 |
| get_refs |
|
1 |
2 |
14 |
2 |
| get_short_refs |
|
6 |
13 |
95 |
2 |
| _get_subdirectory |
|
5 |
20 |
141 |
2 |
| get_src_requirement |
|
4 |
13 |
95 |
3 |
| get_url_rev |
|
2 |
9 |
79 |
1 |
| update_submodules |
|
2 |
7 |
49 |
2 |
| controls_location |
|
3 |
13 |
65 |
2 |
| Source file: ./pip/lib/python2.7/site-packages/pkg_resources/_vendor/pyparsing.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _ustr |
|
3 |
10 |
86 |
1 |
| _xml_escape |
|
3 |
6 |
50 |
1 |
| __init__ |
|
2 |
10 |
67 |
5 |
| _from_exception |
|
1 |
2 |
27 |
2 |
| __getattr__ |
|
4 |
9 |
73 |
2 |
| __str__ |
|
1 |
3 |
26 |
1 |
| __repr__ |
|
1 |
2 |
10 |
1 |
| markInputline |
|
2 |
7 |
53 |
2 |
| __dir__ |
|
1 |
2 |
19 |
1 |
| __init__ |
|
1 |
2 |
12 |
2 |
| __str__ |
|
1 |
2 |
11 |
1 |
| __init__ |
|
1 |
2 |
18 |
3 |
| __getitem__ |
|
1 |
2 |
14 |
2 |
| __repr__ |
|
1 |
2 |
15 |
1 |
| setOffset |
|
1 |
2 |
21 |
2 |
| __new__ |
|
2 |
6 |
46 |
5 |
| __init__ |
|
15 |
37 |
282 |
6 |
| __getitem__ |
|
4 |
8 |
71 |
2 |
| __setitem__ |
|
4 |
12 |
122 |
4 |
| __delitem__ |
|
7 |
16 |
138 |
2 |
| __contains__ |
|
1 |
2 |
13 |
2 |
| _iterkeys |
|
2 |
5 |
32 |
1 |
| _itervalues |
|
2 |
2 |
20 |
1 |
| _iteritems |
|
2 |
2 |
24 |
1 |
| keys |
|
1 |
2 |
15 |
1 |
| values |
|
1 |
2 |
15 |
1 |
| items |
|
1 |
2 |
15 |
1 |
| haskeys |
|
1 |
2 |
13 |
1 |
| pop |
|
7 |
18 |
113 |
3 |
| get |
|
2 |
5 |
26 |
3 |
| insert |
|
3 |
5 |
64 |
3 |
| append |
|
1 |
2 |
16 |
2 |
| extend |
|
2 |
5 |
29 |
2 |
| clear |
|
1 |
3 |
20 |
1 |
| __getattr__ |
|
5 |
12 |
73 |
2 |
| __add__ |
|
1 |
4 |
19 |
2 |
| __iadd__ |
|
7 |
14 |
132 |
2 |
| __radd__ |
|
3 |
5 |
31 |
2 |
| __repr__ |
|
1 |
2 |
23 |
1 |
| __str__ |
|
3 |
2 |
37 |
1 |
| _asStringList |
|
5 |
10 |
59 |
2 |
| asList |
|
3 |
2 |
29 |
1 |
| asDict.toItem |
|
4 |
8 |
43 |
1 |
| asDict |
|
3 |
7 |
43 |
1 |
| copy |
|
1 |
7 |
51 |
1 |
| asXML |
|
16 |
49 |
278 |
5 |
| __lookup |
|
4 |
6 |
36 |
2 |
| getName |
|
7 |
15 |
105 |
1 |
| dump |
|
12 |
26 |
280 |
4 |
| pprint |
|
1 |
2 |
28 |
3 |
| __getstate__ |
|
3 |
6 |
44 |
1 |
| __setstate__ |
|
2 |
12 |
68 |
2 |
| __getnewargs__ |
|
1 |
2 |
21 |
1 |
| __dir__ |
|
1 |
2 |
24 |
1 |
| col |
|
3 |
3 |
44 |
2 |
| lineno |
|
1 |
2 |
21 |
2 |
| line |
|
2 |
7 |
54 |
2 |
| _defaultStartDebugAction |
|
1 |
2 |
45 |
3 |
| _defaultSuccessDebugAction |
|
1 |
2 |
33 |
5 |
| _defaultExceptionDebugAction |
|
1 |
2 |
20 |
4 |
| nullDebugAction |
|
1 |
2 |
8 |
1 |
| _trim_arity.extract_stack |
|
2 |
4 |
54 |
1 |
| _trim_arity.extract_tb |
|
1 |
4 |
40 |
2 |
| _trim_arity.wrapper |
|
7 |
20 |
100 |
1 |
| _trim_arity |
|
4 |
23 |
135 |
2 |
| setDefaultWhitespaceChars |
|
1 |
13 |
12 |
1 |
| inlineLiteralsUsing |
|
1 |
2 |
11 |
1 |
| __init__ |
|
1 |
21 |
121 |
2 |
| copy |
|
2 |
7 |
48 |
1 |
| setName |
|
2 |
6 |
41 |
2 |
| setResultsName |
|
2 |
8 |
51 |
3 |
| setBreak.breaker |
|
1 |
4 |
33 |
4 |
| setBreak |
|
3 |
10 |
53 |
2 |
| setParseAction |
|
1 |
4 |
42 |
3 |
| addParseAction |
|
2 |
4 |
46 |
3 |
| addCondition.pa |
|
2 |
3 |
35 |
3 |
| addCondition |
|
4 |
8 |
69 |
3 |
| setFailAction |
|
1 |
3 |
15 |
2 |
| _skipIgnorables |
|
5 |
12 |
51 |
3 |
| preParse |
|
5 |
9 |
57 |
3 |
| parseImpl |
|
1 |
2 |
18 |
4 |
| postParse |
|
1 |
2 |
13 |
4 |
| _parseNoCache |
|
29 |
62 |
483 |
5 |
| tryParse |
|
2 |
5 |
43 |
3 |
| canParseNext |
|
2 |
7 |
32 |
3 |
| __init__.get |
|
1 |
2 |
16 |
2 |
| __init__.set |
|
1 |
2 |
15 |
3 |
| __init__.clear |
|
1 |
2 |
10 |
1 |
| __init__ |
|
1 |
9 |
60 |
1 |
| __init__.get |
|
1 |
2 |
16 |
2 |
| __init__.set |
|
2 |
4 |
29 |
3 |
| __init__.clear |
|
1 |
2 |
10 |
1 |
| __init__ |
|
1 |
9 |
63 |
2 |
| __init__.get |
|
1 |
2 |
16 |
2 |
| __init__.set |
|
2 |
5 |
41 |
3 |
| __init__.clear |
|
1 |
3 |
15 |
1 |
| __init__ |
|
1 |
10 |
73 |
2 |
| _parseCache |
|
4 |
21 |
170 |
5 |
| resetCache |
|
1 |
3 |
28 |
0 |
| enablePackrat |
|
3 |
8 |
52 |
1 |
| parseString |
|
7 |
21 |
116 |
3 |
| scanString |
|
12 |
39 |
192 |
4 |
| transformString |
|
9 |
23 |
138 |
2 |
| searchString |
|
4 |
8 |
51 |
3 |
| split |
|
3 |
9 |
64 |
4 |
| __add__ |
|
3 |
8 |
61 |
2 |
| __radd__ |
|
3 |
8 |
56 |
2 |
| __sub__ |
|
3 |
8 |
67 |
2 |
| __rsub__ |
|
3 |
8 |
56 |
2 |
| __mul__.makeOptionalList |
|
2 |
5 |
29 |
1 |
| __mul__ |
|
17 |
42 |
290 |
2 |
| __rmul__ |
|
1 |
2 |
14 |
2 |
| __or__ |
|
3 |
8 |
61 |
2 |
| __ror__ |
|
3 |
8 |
56 |
2 |
| __xor__ |
|
3 |
8 |
61 |
2 |
| __rxor__ |
|
3 |
8 |
56 |
2 |
| __and__ |
|
3 |
8 |
61 |
2 |
| __rand__ |
|
3 |
8 |
56 |
2 |
| __invert__ |
|
1 |
2 |
11 |
1 |
| __call__ |
|
2 |
5 |
31 |
2 |
| suppress |
|
1 |
2 |
11 |
1 |
| leaveWhitespace |
|
1 |
3 |
13 |
1 |
| setWhitespaceChars |
|
1 |
5 |
25 |
2 |
| parseWithTabs |
|
1 |
3 |
13 |
1 |
| ignore |
|
4 |
9 |
65 |
2 |
| setDebugActions |
|
4 |
6 |
36 |
4 |
| setDebug |
|
2 |
6 |
32 |
2 |
| __str__ |
|
1 |
2 |
9 |
1 |
| __repr__ |
|
1 |
2 |
10 |
1 |
| streamline |
|
1 |
4 |
17 |
1 |
| checkRecursion |
|
1 |
2 |
8 |
2 |
| validate |
|
1 |
2 |
18 |
2 |
| parseFile |
|
4 |
13 |
67 |
3 |
| __eq__ |
|
4 |
7 |
55 |
2 |
| __ne__ |
|
1 |
2 |
14 |
2 |
| __hash__ |
|
1 |
2 |
13 |
1 |
| __req__ |
|
1 |
2 |
11 |
2 |
| __rne__ |
|
1 |
2 |
14 |
2 |
| matches |
|
2 |
6 |
34 |
3 |
| runTests |
|
18 |
41 |
331 |
7 |
| __init__ |
|
1 |
2 |
18 |
1 |
| __init__ |
|
1 |
5 |
30 |
1 |
| __init__ |
|
1 |
6 |
35 |
1 |
| parseImpl |
|
1 |
2 |
26 |
4 |
| __init__ |
|
2 |
14 |
91 |
2 |
| parseImpl |
|
4 |
5 |
67 |
4 |
| __init__ |
|
4 |
20 |
133 |
4 |
| parseImpl |
|
14 |
13 |
206 |
4 |
| copy |
|
1 |
4 |
26 |
1 |
| setDefaultKeywordChars |
|
1 |
2 |
11 |
1 |
| __init__ |
|
1 |
5 |
45 |
2 |
| parseImpl |
|
2 |
4 |
56 |
4 |
| __init__ |
|
1 |
2 |
28 |
3 |
| parseImpl |
|
4 |
5 |
91 |
4 |
| __init__ |
|
1 |
8 |
61 |
3 |
| parseImpl |
|
5 |
22 |
152 |
4 |
| __init__ |
|
19 |
46 |
353 |
8 |
| parseImpl |
|
16 |
28 |
231 |
4 |
| __str__.charsAsStr |
|
2 |
5 |
25 |
1 |
| __str__ |
|
4 |
12 |
81 |
1 |
| __init__ |
|
5 |
26 |
168 |
3 |
| parseImpl |
|
4 |
11 |
87 |
4 |
| __str__ |
|
3 |
8 |
45 |
1 |
| __init__ |
|
14 |
57 |
475 |
8 |
| parseImpl |
|
11 |
23 |
189 |
4 |
| __str__ |
|
3 |
8 |
48 |
1 |
| __init__ |
|
4 |
18 |
119 |
5 |
| parseImpl |
|
5 |
13 |
112 |
4 |
| __str__ |
|
4 |
11 |
67 |
1 |
| __init__ |
|
6 |
15 |
134 |
5 |
| parseImpl |
|
5 |
12 |
111 |
4 |
| __init__ |
|
1 |
5 |
34 |
1 |
| __init__ |
|
1 |
3 |
22 |
2 |
| preParse |
|
6 |
8 |
72 |
3 |
| parseImpl |
|
2 |
7 |
60 |
4 |
| __init__ |
|
1 |
3 |
20 |
1 |
| parseImpl |
|
2 |
4 |
41 |
4 |
| __init__ |
|
1 |
4 |
35 |
1 |
| parseImpl |
|
4 |
10 |
80 |
4 |
| __init__ |
|
1 |
3 |
20 |
1 |
| parseImpl |
|
3 |
5 |
48 |
4 |
| __init__ |
|
1 |
3 |
20 |
1 |
| parseImpl |
|
4 |
9 |
77 |
4 |
| __init__ |
|
1 |
4 |
32 |
2 |
| parseImpl |
|
4 |
6 |
60 |
4 |
| __init__ |
|
1 |
5 |
37 |
2 |
| parseImpl |
|
5 |
7 |
70 |
4 |
| __init__ |
|
7 |
17 |
132 |
3 |
| __getitem__ |
|
1 |
2 |
14 |
2 |
| append |
|
1 |
4 |
22 |
2 |
| leaveWhitespace |
|
3 |
6 |
42 |
1 |
| ignore |
|
5 |
11 |
87 |
2 |
| __str__ |
|
3 |
8 |
53 |
1 |
| streamline |
|
11 |
25 |
204 |
1 |
| setResultsName |
|
1 |
3 |
28 |
3 |
| validate |
|
2 |
5 |
40 |
2 |
| copy |
|
2 |
4 |
36 |
1 |
| __init__ |
|
1 |
4 |
38 |
3 |
| __init__ |
|
2 |
6 |
70 |
3 |
| parseImpl |
|
9 |
22 |
155 |
4 |
| __iadd__ |
|
2 |
4 |
30 |
2 |
| checkRecursion |
|
3 |
6 |
37 |
2 |
| __str__ |
|
4 |
6 |
51 |
1 |
| __init__ |
|
3 |
6 |
52 |
3 |
| parseImpl |
|
11 |
33 |
205 |
4 |
| __ixor__ |
|
2 |
4 |
30 |
2 |
| __str__ |
|
4 |
6 |
51 |
1 |
| checkRecursion |
|
2 |
4 |
30 |
2 |
| __init__ |
|
3 |
6 |
52 |
3 |
| parseImpl |
|
7 |
21 |
127 |
4 |
| __ior__ |
|
2 |
4 |
30 |
2 |
| __str__ |
|
4 |
6 |
51 |
1 |
| checkRecursion |
|
2 |
4 |
30 |
2 |
| __init__ |
|
2 |
5 |
50 |
3 |
| parseImpl |
|
27 |
42 |
407 |
4 |
| __str__ |
|
4 |
6 |
51 |
1 |
| checkRecursion |
|
2 |
4 |
30 |
2 |
| __init__ |
|
4 |
17 |
130 |
3 |
| parseImpl |
|
2 |
5 |
53 |
4 |
| leaveWhitespace |
|
2 |
6 |
38 |
1 |
| ignore |
|
5 |
11 |
93 |
2 |
| streamline |
|
2 |
5 |
32 |
1 |
| checkRecursion |
|
3 |
6 |
47 |
2 |
| validate |
|
2 |
5 |
43 |
2 |
| __str__ |
|
4 |
8 |
60 |
1 |
| __init__ |
|
1 |
3 |
23 |
2 |
| parseImpl |
|
1 |
3 |
28 |
4 |
| __init__ |
|
1 |
5 |
40 |
2 |
| parseImpl |
|
2 |
4 |
43 |
4 |
| __str__ |
|
3 |
6 |
42 |
1 |
| __init__ |
|
3 |
7 |
59 |
3 |
| parseImpl |
|
9 |
24 |
143 |
4 |
| __str__ |
|
3 |
6 |
42 |
1 |
| __init__ |
|
1 |
3 |
31 |
3 |
| parseImpl |
|
2 |
5 |
43 |
4 |
| __str__ |
|
3 |
6 |
42 |
1 |
| __bool__ |
|
1 |
2 |
7 |
1 |
| __str__ |
|
1 |
2 |
7 |
1 |
| __init__ |
|
1 |
5 |
45 |
3 |
| parseImpl |
|
4 |
13 |
98 |
4 |
| __str__ |
|
3 |
6 |
42 |
1 |
| __init__ |
|
2 |
12 |
92 |
5 |
| parseImpl |
|
11 |
33 |
201 |
4 |
| __init__ |
|
1 |
2 |
24 |
2 |
| __lshift__ |
|
2 |
12 |
93 |
2 |
| __ilshift__ |
|
1 |
2 |
12 |
2 |
| leaveWhitespace |
|
1 |
3 |
12 |
1 |
| streamline |
|
3 |
6 |
33 |
1 |
| validate |
|
3 |
6 |
49 |
2 |
| __str__ |
|
4 |
14 |
79 |
1 |
| copy |
|
2 |
7 |
37 |
1 |
| __str__ |
|
1 |
2 |
7 |
1 |
| __init__ |
|
1 |
3 |
27 |
3 |
| __init__ |
|
2 |
8 |
54 |
4 |
| ignore |
|
2 |
6 |
35 |
2 |
| postParse |
|
3 |
8 |
68 |
4 |
| __init__ |
|
1 |
3 |
23 |
2 |
| postParse |
|
1 |
2 |
15 |
4 |
| __init__ |
|
1 |
3 |
23 |
2 |
| postParse |
|
11 |
22 |
186 |
4 |
| postParse |
|
1 |
2 |
14 |
4 |
| suppress |
|
1 |
2 |
7 |
1 |
| __init__ |
|
1 |
3 |
20 |
2 |
| __call__ |
|
2 |
6 |
45 |
4 |
| reset |
|
1 |
2 |
10 |
1 |
| traceParseAction.z |
|
3 |
13 |
113 |
1 |
| traceParseAction |
|
2 |
8 |
29 |
1 |
| delimitedList |
|
2 |
6 |
77 |
3 |
| countedArray.countFieldParseAction |
|
3 |
4 |
41 |
3 |
| countedArray |
|
2 |
10 |
85 |
2 |
| _flatten |
|
3 |
8 |
41 |
1 |
| matchPreviousLiteral.copyTokenToRepeater |
|
4 |
9 |
61 |
3 |
| matchPreviousLiteral |
|
1 |
6 |
36 |
1 |
| matchPreviousExpr.matchPreviousExpr.copyTokenToRepeater.mustMatchTheseTokens |
|
2 |
4 |
33 |
3 |
| matchPreviousExpr.copyTokenToRepeater |
|
1 |
4 |
31 |
3 |
| matchPreviousExpr |
|
1 |
8 |
47 |
1 |
| _escapeRegexRangeChars |
|
2 |
6 |
50 |
1 |
| oneOf |
|
16 |
43 |
364 |
3 |
| dictOf |
|
1 |
2 |
21 |
2 |
| originalTextFor.extractText |
|
1 |
2 |
32 |
3 |
| originalTextFor |
|
2 |
12 |
93 |
2 |
| ungroup |
|
1 |
2 |
22 |
1 |
| locatedExpr |
|
1 |
3 |
49 |
1 |
| srange |
|
5 |
23 |
82 |
1 |
| matchOnlyAtCol.verifyCol |
|
2 |
3 |
30 |
3 |
| matchOnlyAtCol |
|
1 |
3 |
10 |
1 |
| replaceWith |
|
1 |
2 |
17 |
1 |
| removeQuotes |
|
1 |
2 |
21 |
3 |
| tokenMap.pa |
|
2 |
2 |
23 |
3 |
| tokenMap |
|
2 |
9 |
46 |
2 |
| _makeTags |
|
5 |
25 |
348 |
2 |
| makeHTMLTags |
|
1 |
2 |
13 |
1 |
| makeXMLTags |
|
1 |
2 |
13 |
1 |
| withAttribute.pa |
|
5 |
7 |
67 |
3 |
| withAttribute |
|
3 |
8 |
47 |
2 |
| withClass |
|
2 |
3 |
29 |
2 |
| infixNotation |
|
18 |
105 |
416 |
3 |
| nestedExpr |
|
10 |
89 |
341 |
4 |
| indentedBlock.checkPeerIndent |
|
4 |
7 |
62 |
3 |
| indentedBlock.checkSubIndent |
|
2 |
6 |
43 |
3 |
| indentedBlock.checkUnindent |
|
5 |
6 |
62 |
3 |
| indentedBlock |
|
2 |
16 |
164 |
3 |
| replaceHTMLEntity |
|
1 |
2 |
15 |
1 |
| convertToDate.cvt_fn |
|
2 |
5 |
44 |
3 |
| convertToDate |
|
1 |
3 |
12 |
1 |
| convertToDatetime.cvt_fn |
|
2 |
5 |
40 |
3 |
| convertToDatetime |
|
1 |
3 |
12 |
1 |
| stripHTMLTags |
|
1 |
2 |
22 |
3 |
| Source file: ./pip/lib/python2.7/site-packages/pip/req/req_install.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _strip_extras |
|
2 |
9 |
47 |
1 |
| _safe_extras |
|
2 |
2 |
19 |
1 |
| __init__ |
|
1 |
4 |
53 |
14 |
| from_editable |
|
1 |
3 |
31 |
8 |
| from_line |
|
1 |
3 |
27 |
7 |
| __str__ |
|
8 |
17 |
110 |
1 |
| __repr__ |
|
1 |
3 |
24 |
1 |
| populate_link |
|
5 |
8 |
82 |
4 |
| specifier |
|
1 |
2 |
11 |
1 |
| is_pinned |
|
2 |
4 |
36 |
1 |
| from_path |
|
5 |
12 |
65 |
1 |
| build_location |
|
5 |
17 |
109 |
2 |
| _correct_build_location |
|
3 |
22 |
117 |
1 |
| name |
|
2 |
4 |
28 |
1 |
| setup_py_dir |
|
3 |
4 |
28 |
1 |
| setup_py |
|
5 |
17 |
90 |
1 |
| run_egg_info |
|
7 |
52 |
270 |
1 |
| egg_info_data |
|
4 |
11 |
70 |
2 |
| egg_info_path |
|
19 |
42 |
307 |
2 |
| pkg_info |
|
3 |
10 |
53 |
1 |
| installed_version |
|
1 |
2 |
12 |
1 |
| assert_source_matches_version |
|
3 |
16 |
68 |
1 |
| update_editable |
|
6 |
27 |
143 |
2 |
| uninstall |
|
34 |
124 |
807 |
2 |
| rollback_uninstall |
|
2 |
7 |
30 |
1 |
| commit_uninstall |
|
3 |
7 |
34 |
1 |
| archive |
|
12 |
47 |
340 |
2 |
| _clean_zip_name |
|
1 |
7 |
60 |
3 |
| match_markers |
|
4 |
9 |
51 |
2 |
| install |
|
1 |
2 |
20 |
5 |
| prepend_root |
|
3 |
5 |
31 |
1 |
| ensure_has_source_dir |
|
2 |
4 |
29 |
2 |
| get_install_args |
|
6 |
22 |
149 |
5 |
| remove_temporary_source |
|
5 |
9 |
79 |
1 |
| install_editable |
|
1 |
2 |
16 |
3 |
| check_if_exists |
|
10 |
30 |
146 |
1 |
| is_wheel |
|
2 |
2 |
15 |
1 |
| move_wheel_files |
|
1 |
10 |
60 |
4 |
| get_dist |
|
1 |
9 |
81 |
1 |
| has_hash_options |
|
1 |
2 |
21 |
1 |
| hashes |
|
4 |
6 |
68 |
2 |
| _strip_postfix |
|
2 |
5 |
30 |
1 |
| parse_editable |
|
14 |
62 |
313 |
2 |
| Source file: ./pip/lib/python2.7/site-packages/pip/pep425tags.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| get_config_var |
|
2 |
6 |
34 |
1 |
| get_abbr_impl |
|
4 |
10 |
46 |
0 |
| get_impl_ver |
|
3 |
5 |
38 |
0 |
| get_impl_version_info |
|
2 |
6 |
49 |
0 |
| get_impl_tag |
|
1 |
2 |
18 |
0 |
| get_flag |
|
3 |
8 |
47 |
4 |
| get_abi_tag |
|
12 |
30 |
210 |
0 |
| _is_running_32bit |
|
1 |
2 |
10 |
0 |
| get_platform |
|
8 |
13 |
109 |
0 |
| is_manylinux1_compatible |
|
3 |
9 |
50 |
0 |
| get_darwin_arches._supports_arch |
|
8 |
14 |
104 |
3 |
| get_darwin_arches |
|
5 |
16 |
117 |
3 |
| get_supported |
|
1 |
2 |
23 |
5 |
| Source file: ./pip/lib/python2.7/site-packages/pip/baseparser.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __init__ |
|
1 |
5 |
50 |
3 |
| format_option_strings |
|
1 |
2 |
18 |
2 |
| _format_option_strings |
|
6 |
12 |
107 |
4 |
| format_heading |
|
2 |
4 |
18 |
2 |
| format_usage |
|
1 |
3 |
27 |
2 |
| format_description |
|
3 |
13 |
73 |
2 |
| format_epilog |
|
2 |
5 |
16 |
2 |
| indent_lines |
|
2 |
3 |
32 |
3 |
| expand_default |
|
2 |
4 |
38 |
2 |
| insert_option_group |
|
1 |
5 |
45 |
4 |
| option_list_all |
|
2 |
5 |
31 |
1 |
| __init__ |
|
2 |
9 |
84 |
3 |
| get_config_files |
|
7 |
24 |
124 |
1 |
| check_default |
|
2 |
6 |
41 |
4 |
| _update_defaults |
|
13 |
35 |
271 |
2 |
| normalize_keys |
|
3 |
8 |
51 |
2 |
| get_config_section |
|
2 |
4 |
30 |
2 |
| get_environ_vars |
|
3 |
4 |
44 |
1 |
| get_default_values |
|
4 |
10 |
91 |
1 |
| error |
|
1 |
3 |
25 |
2 |
| Source file: ./pip/lib/python2.7/site-packages/pip/exceptions.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __init__ |
|
1 |
2 |
11 |
1 |
| append |
|
1 |
2 |
15 |
2 |
| __str__ |
|
4 |
8 |
75 |
1 |
| __nonzero__ |
|
1 |
2 |
12 |
1 |
| __bool__ |
|
1 |
2 |
11 |
1 |
| body |
|
1 |
2 |
14 |
1 |
| __str__ |
|
1 |
2 |
19 |
1 |
| _requirement_name |
|
2 |
2 |
19 |
1 |
| __init__ |
|
1 |
2 |
13 |
2 |
| body |
|
4 |
9 |
61 |
1 |
| __init__ |
|
1 |
3 |
20 |
3 |
| body |
|
1 |
3 |
21 |
1 |
| _hash_comparison.hash_then_or |
|
1 |
2 |
17 |
1 |
| _hash_comparison |
|
3 |
11 |
78 |
1 |
| Source file: ./pip/lib/python2.7/site-packages/pip/basecommand.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __init__ |
|
1 |
18 |
116 |
2 |
| _build_session |
|
9 |
24 |
147 |
4 |
| parse_args |
|
1 |
2 |
16 |
2 |
| main |
|
24 |
124 |
563 |
2 |
| populate_requirement_set |
|
1 |
2 |
17 |
7 |
| _build_package_finder |
|
1 |
3 |
25 |
7 |
| Source file: ./pip/lib/python2.7/site-packages/pip/__main__.py |
| Source file: ./pip/lib/python2.7/site-packages/pip/__init__.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| autocomplete |
|
34 |
50 |
429 |
0 |
| create_main_parser |
|
2 |
20 |
148 |
0 |
| parseopts |
|
7 |
20 |
142 |
1 |
| check_isolated |
|
2 |
5 |
18 |
1 |
| main |
|
4 |
17 |
118 |
1 |
| __init__ |
|
1 |
5 |
36 |
5 |
| from_dist |
|
11 |
63 |
302 |
3 |
| egg_name |
|
2 |
6 |
39 |
1 |
| __str__ |
|
2 |
5 |
41 |
1 |
| Source file: ./pip/lib/python2.7/site-packages/pip/locations.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| write_delete_marker_file |
|
1 |
4 |
34 |
1 |
| running_under_virtualenv |
|
3 |
6 |
35 |
0 |
| virtualenv_no_global |
|
3 |
5 |
52 |
0 |
| distutils_scheme |
|
1 |
2 |
25 |
6 |
| Source file: ./pip/lib/python2.7/site-packages/lizard_languages/code_reader.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __init__ |
|
1 |
8 |
49 |
2 |
| next |
|
2 |
4 |
27 |
3 |
| sm_return |
|
1 |
2 |
10 |
1 |
| sub_state |
|
1 |
4 |
35 |
4 |
| __call__ |
|
4 |
8 |
45 |
2 |
| _state_global |
|
1 |
2 |
8 |
2 |
| read_inside_brackets_then.read_inside_brackets_then.decorator.read_until_matching_brackets |
|
5 |
6 |
75 |
2 |
| read_inside_brackets_then.decorator |
|
1 |
3 |
9 |
1 |
| read_inside_brackets_then |
|
1 |
3 |
13 |
2 |
| read_until_then.read_until_then.decorator.read_until_then_token |
|
2 |
6 |
38 |
2 |
| read_until_then.decorator |
|
1 |
3 |
9 |
1 |
| read_until_then |
|
1 |
3 |
9 |
1 |
| __init__ |
|
1 |
3 |
18 |
2 |
| match_filename.compile_file_extension_re |
|
1 |
2 |
29 |
1 |
| match_filename |
|
1 |
3 |
22 |
2 |
| generate_tokens.create_token |
|
1 |
2 |
12 |
1 |
| generate_tokens._generate_tokens |
|
8 |
37 |
187 |
2 |
| generate_tokens |
|
3 |
6 |
37 |
3 |
| __call__ |
|
3 |
7 |
39 |
3 |
| eof |
|
1 |
2 |
6 |
1 |
| Source file: ./pip/lib/python2.7/site-packages/lizard_languages/javascript.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| generate_tokens |
|
1 |
3 |
28 |
3 |
| __init__ |
|
1 |
3 |
28 |
2 |
| Source file: ./pip/lib/python2.7/site-packages/lizard_languages/php.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| generate_tokens |
|
5 |
16 |
123 |
3 |
| __init__ |
|
1 |
3 |
28 |
2 |
| Source file: ./pip/lib/python2.7/site-packages/lizard_languages/tnsdl.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __init__ |
|
1 |
7 |
40 |
1 |
| _GLOBAL |
|
5 |
11 |
72 |
2 |
| _DEC |
|
1 |
4 |
31 |
2 |
| _PROCESS |
|
1 |
5 |
38 |
2 |
| _STATE |
|
1 |
3 |
19 |
2 |
| _BETWEEN_STATE_AND_INPUT |
|
2 |
3 |
19 |
2 |
| _INPUT |
|
2 |
5 |
39 |
2 |
| _IMP |
|
8 |
23 |
137 |
2 |
| _is_condition |
|
3 |
4 |
26 |
3 |
| Source file: ./pip/lib/python2.7/site-packages/lizard_languages/__init__.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| languages |
|
1 |
14 |
30 |
0 |
| get_reader_for |
|
3 |
4 |
22 |
1 |
| Source file: ./pip/lib/python2.7/site-packages/pip/download.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| user_agent |
|
17 |
50 |
434 |
0 |
| __init__ |
|
1 |
3 |
20 |
2 |
| __call__ |
|
9 |
15 |
167 |
2 |
| handle_401 |
|
7 |
16 |
128 |
3 |
| parse_credentials |
|
3 |
7 |
47 |
2 |
| send |
|
1 |
2 |
27 |
7 |
| close |
|
1 |
2 |
6 |
1 |
| __init__ |
|
2 |
11 |
54 |
3 |
| get |
|
3 |
7 |
47 |
3 |
| set |
|
3 |
7 |
47 |
3 |
| delete |
|
3 |
7 |
47 |
3 |
| cert_verify |
|
1 |
3 |
23 |
5 |
| __init__ |
|
3 |
25 |
182 |
3 |
| request |
|
1 |
3 |
45 |
5 |
| get_file_content |
|
10 |
35 |
228 |
3 |
| is_url |
|
2 |
5 |
47 |
1 |
| url_to_path |
|
2 |
8 |
55 |
1 |
| path_to_url |
|
1 |
4 |
40 |
1 |
| is_archive_file |
|
2 |
5 |
28 |
1 |
| unpack_vcs_link |
|
1 |
3 |
19 |
2 |
| _get_used_vcs_backend |
|
3 |
5 |
31 |
1 |
| is_vcs_url |
|
1 |
2 |
13 |
1 |
| is_file_url |
|
1 |
2 |
18 |
1 |
| is_dir_url |
|
1 |
3 |
23 |
1 |
| _progress_indicator |
|
1 |
2 |
13 |
3 |
| _download_url.resp_read |
|
5 |
12 |
48 |
1 |
| _download_url.written_chunks |
|
2 |
4 |
18 |
1 |
| _download_url |
|
11 |
46 |
225 |
4 |
| _copy_file |
|
7 |
25 |
157 |
3 |
| unpack_http_url |
|
1 |
2 |
19 |
5 |
| unpack_file_url |
|
9 |
24 |
137 |
4 |
| _copy_dist_from_dir |
|
2 |
15 |
128 |
2 |
| __init__ |
|
1 |
5 |
43 |
4 |
| request |
|
2 |
16 |
113 |
5 |
| unpack_url |
|
1 |
2 |
23 |
6 |
| _download_http_url |
|
9 |
33 |
224 |
4 |
| _check_download_dir |
|
4 |
17 |
77 |
3 |
| Source file: ./pip/lib/python2.7/site-packages/lizard_languages/ttcn.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __init__ |
|
1 |
5 |
33 |
2 |
| generate_tokens |
|
2 |
6 |
56 |
3 |
| _state_global |
|
4 |
10 |
67 |
2 |
| _state_function |
|
4 |
9 |
64 |
2 |
| _state_dec_to_imp |
|
2 |
5 |
34 |
2 |
| Source file: ./pip/lib/python2.7/site-packages/lizard_languages/scala.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __init__ |
|
1 |
3 |
28 |
2 |
| _state_global |
|
3 |
5 |
30 |
2 |
| Source file: ./pip/lib/python2.7/site-packages/pip/cmdoptions.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| make_option_group |
|
2 |
5 |
37 |
2 |
| resolve_wheel_no_use_binary |
|
2 |
4 |
20 |
1 |
| check_install_build_global.getname |
|
1 |
2 |
14 |
1 |
| check_install_build_global |
|
3 |
11 |
60 |
2 |
| exists_action |
|
1 |
11 |
49 |
0 |
| extra_index_url |
|
1 |
11 |
32 |
0 |
| find_links |
|
1 |
10 |
34 |
0 |
| allow_external |
|
1 |
9 |
31 |
0 |
| trusted_host |
|
1 |
10 |
32 |
0 |
| allow_unsafe |
|
1 |
9 |
33 |
0 |
| constraints |
|
1 |
9 |
33 |
0 |
| requirements |
|
1 |
9 |
33 |
0 |
| editable |
|
1 |
10 |
36 |
0 |
| _get_format_control |
|
1 |
2 |
17 |
2 |
| _handle_no_binary |
|
1 |
4 |
35 |
4 |
| _handle_only_binary |
|
1 |
4 |
35 |
4 |
| no_binary |
|
1 |
11 |
47 |
0 |
| only_binary |
|
1 |
11 |
47 |
0 |
| _merge_hash |
|
4 |
13 |
95 |
4 |
| Source file: ./pip/lib/python2.7/site-packages/lizard_languages/ruby.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| state_embedded_doc |
|
2 |
3 |
12 |
1 |
| is_newline |
|
2 |
2 |
17 |
1 |
| _state_global |
|
11 |
21 |
159 |
2 |
| _def |
|
1 |
3 |
23 |
2 |
| _it |
|
2 |
4 |
34 |
2 |
| _def_continue.callback |
|
1 |
3 |
19 |
0 |
| _def_continue |
|
3 |
9 |
60 |
2 |
| _def_class_method |
|
1 |
3 |
23 |
2 |
| _def_parameters |
|
2 |
7 |
41 |
2 |
| _if |
|
3 |
6 |
48 |
2 |
| _for_while |
|
4 |
5 |
42 |
2 |
| __new__ |
|
1 |
2 |
29 |
3 |
| __init__ |
|
1 |
3 |
26 |
2 |
| __init__ |
|
1 |
3 |
28 |
2 |
| generate_tokens.process_source |
|
1 |
12 |
44 |
3 |
| generate_tokens |
|
9 |
26 |
148 |
3 |
| Source file: ./pip/lib/python2.7/site-packages/lizard_languages/script_language.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| get_comment_from_token |
|
2 |
3 |
19 |
1 |
| generate_common_tokens |
|
1 |
6 |
31 |
3 |
| Source file: ./pip/lib/python2.7/site-packages/lizard_languages/swift.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __init__ |
|
1 |
3 |
28 |
2 |
| generate_tokens |
|
1 |
7 |
31 |
3 |
| _state_global |
|
5 |
10 |
68 |
2 |
| _function_name |
|
1 |
3 |
22 |
2 |
| _expect_function_dec |
|
2 |
3 |
19 |
2 |
| _function_dec |
|
2 |
5 |
29 |
2 |
| _expect_function_impl |
|
2 |
4 |
25 |
2 |
| _function_impl |
|
1 |
3 |
21 |
2 |
| _protocol |
|
2 |
3 |
19 |
2 |
| Source file: ./pip/lib/python2.7/site-packages/lizard_languages/js_style_language_states.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __init__ |
|
1 |
6 |
39 |
2 |
| _state_global |
|
7 |
18 |
103 |
2 |
| _pop_function_from_stack |
|
2 |
5 |
41 |
1 |
| _function |
|
3 |
9 |
66 |
2 |
| _field |
|
1 |
3 |
19 |
2 |
| _dec |
|
2 |
7 |
40 |
2 |
| Source file: ./pip/lib/python2.7/site-packages/lizard_languages/java.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __init__ |
|
1 |
5 |
33 |
2 |
| _state_old_c_params |
|
2 |
3 |
18 |
2 |
| _state_global |
|
2 |
5 |
31 |
2 |
| _state_decorator |
|
1 |
2 |
14 |
2 |
| _state_post_decorator |
|
2 |
6 |
34 |
2 |
| Source file: ./pip/lib/python2.7/site-packages/lizard_languages/js_style_regex_expression.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| js_style_regex_expression.generate_tokens_with_regex |
|
6 |
14 |
88 |
2 |
| js_style_regex_expression |
|
1 |
3 |
9 |
1 |
| Source file: ./pip/lib/python2.7/site-packages/lizard_languages/csharp.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| generate_tokens |
|
1 |
3 |
25 |
3 |
| Source file: ./pip/lib/python2.7/site-packages/pip/index.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __init__ |
|
1 |
5 |
46 |
4 |
| __repr__ |
|
1 |
4 |
23 |
1 |
| __hash__ |
|
1 |
2 |
12 |
1 |
| __lt__ |
|
1 |
2 |
23 |
2 |
| __le__ |
|
1 |
2 |
23 |
2 |
| __eq__ |
|
1 |
2 |
23 |
2 |
| __ge__ |
|
1 |
2 |
23 |
2 |
| __gt__ |
|
1 |
2 |
23 |
2 |
| __ne__ |
|
1 |
2 |
23 |
2 |
| _compare |
|
2 |
4 |
31 |
3 |
| __init__ |
|
1 |
4 |
45 |
12 |
| add_dependency_links |
|
2 |
8 |
30 |
2 |
| _sort_locations.sort_path |
|
2 |
6 |
42 |
1 |
| _sort_locations |
|
11 |
32 |
169 |
2 |
| _candidate_sort_key |
|
3 |
13 |
83 |
2 |
| _validate_secure_origin |
|
15 |
43 |
253 |
3 |
| _get_index_urls_locations.mkurl_pypi_url |
|
2 |
7 |
39 |
1 |
| _get_index_urls_locations |
|
2 |
3 |
23 |
2 |
| find_all_candidates |
|
15 |
60 |
355 |
2 |
| find_requirement |
|
18 |
73 |
292 |
3 |
| _get_pages |
|
4 |
10 |
48 |
3 |
| _sort_links |
|
4 |
11 |
62 |
2 |
| _package_versions |
|
3 |
7 |
47 |
3 |
| _log_skipped_link |
|
2 |
4 |
35 |
3 |
| _link_package_versions |
|
20 |
67 |
373 |
3 |
| _get_page |
|
1 |
2 |
20 |
2 |
| egg_info_matches |
|
1 |
3 |
23 |
5 |
| __init__ |
|
4 |
14 |
83 |
4 |
| __str__ |
|
1 |
2 |
9 |
1 |
| get_page |
|
17 |
67 |
397 |
4 |
| _handle_fail |
|
2 |
4 |
31 |
4 |
| _get_content_type |
|
2 |
7 |
64 |
2 |
| base_url |
|
5 |
9 |
60 |
1 |
| links |
|
4 |
10 |
80 |
1 |
| clean_link |
|
1 |
3 |
32 |
2 |
| __init__ |
|
3 |
6 |
49 |
4 |
| __str__ |
|
3 |
9 |
50 |
1 |
| __repr__ |
|
1 |
2 |
9 |
1 |
| __eq__ |
|
2 |
4 |
26 |
2 |
| __ne__ |
|
2 |
4 |
26 |
2 |
| __lt__ |
|
2 |
4 |
26 |
2 |
| __le__ |
|
2 |
4 |
26 |
2 |
| __gt__ |
|
2 |
4 |
26 |
2 |
| __ge__ |
|
2 |
4 |
26 |
2 |
| __hash__ |
|
1 |
2 |
12 |
1 |
| filename |
|
2 |
6 |
58 |
1 |
| scheme |
|
1 |
2 |
17 |
1 |
| netloc |
|
1 |
2 |
17 |
1 |
| path |
|
1 |
2 |
22 |
1 |
| splitext |
|
1 |
2 |
22 |
1 |
| ext |
|
1 |
2 |
14 |
1 |
| url_without_fragment |
|
1 |
3 |
40 |
1 |
| egg_fragment |
|
2 |
5 |
30 |
1 |
| subdirectory_fragment |
|
2 |
5 |
30 |
1 |
| hash |
|
2 |
5 |
29 |
1 |
| hash_name |
|
2 |
5 |
29 |
1 |
| show_url |
|
1 |
2 |
34 |
1 |
| is_wheel |
|
1 |
2 |
11 |
1 |
| is_artifact |
|
2 |
5 |
25 |
1 |
| fmt_ctl_handle_mutual_exclude |
|
5 |
16 |
92 |
3 |
| fmt_ctl_formats |
|
5 |
11 |
74 |
2 |
| fmt_ctl_no_binary |
|
1 |
3 |
17 |
1 |
| fmt_ctl_no_use_wheel |
|
1 |
6 |
22 |
1 |
| Source file: ./pip/lib/python2.7/site-packages/lizard_languages/gdscript.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __init__ |
|
1 |
3 |
30 |
2 |
| _state_global |
|
2 |
3 |
19 |
2 |
| Source file: ./pip/lib/python2.7/site-packages/lizard_languages/objc.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __init__ |
|
1 |
5 |
33 |
2 |
| fake_and_useless |
|
1 |
2 |
6 |
1 |
| useless_and_fake |
|
1 |
2 |
6 |
1 |
| _state_global |
|
2 |
4 |
33 |
2 |
| _state_dec_to_imp |
|
3 |
8 |
60 |
2 |
| _state_objc_dec_begin |
|
3 |
8 |
51 |
2 |
| _state_objc_dec |
|
4 |
11 |
67 |
2 |
| _state_objc_param_type |
|
2 |
4 |
29 |
2 |
| _state_objc_param |
|
1 |
2 |
14 |
2 |
| Source file: ./pip/lib/python2.7/site-packages/lizard_languages/python.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| count_spaces |
|
1 |
2 |
19 |
1 |
| __init__ |
|
1 |
3 |
19 |
2 |
| set_nesting |
|
3 |
7 |
58 |
2 |
| reset |
|
1 |
2 |
11 |
1 |
| __init__ |
|
1 |
3 |
30 |
2 |
| generate_tokens |
|
1 |
4 |
28 |
3 |
| preprocess |
|
8 |
19 |
94 |
2 |
| __init__ |
|
1 |
3 |
25 |
3 |
| _state_global |
|
2 |
3 |
19 |
2 |
| _function |
|
2 |
6 |
37 |
2 |
| _dec |
|
2 |
7 |
40 |
2 |
| _state_colon |
|
2 |
5 |
30 |
2 |
| _state_first_line |
|
3 |
5 |
51 |
2 |
| Source file: ./pip/lib/python2.7/site-packages/lizard_languages/clike.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| get_comment_from_token |
|
3 |
3 |
26 |
1 |
| __init__ |
|
1 |
6 |
38 |
2 |
| preprocess |
|
11 |
20 |
126 |
2 |
| _state_global |
|
3 |
5 |
33 |
2 |
| _r_value_ref |
|
2 |
4 |
31 |
3 |
| _typedef |
|
1 |
3 |
31 |
3 |
| _state_global |
|
5 |
9 |
64 |
2 |
| _read_namespace |
|
2 |
6 |
35 |
2 |
| _read_namespace_name |
|
2 |
5 |
50 |
3 |
| _template_declaration |
|
1 |
2 |
9 |
2 |
| _read_attribute |
|
1 |
2 |
9 |
2 |
| __init__ |
|
1 |
4 |
30 |
2 |
| try_new_function |
|
2 |
5 |
34 |
2 |
| _state_global |
|
3 |
3 |
30 |
2 |
| _state_function |
|
4 |
10 |
70 |
2 |
| _state_template_in_name |
|
1 |
2 |
15 |
2 |
| _state_operator |
|
2 |
4 |
29 |
2 |
| _state_operator_next |
|
2 |
5 |
30 |
2 |
| _state_name_with_space |
|
2 |
4 |
31 |
2 |
| _state_dec |
|
5 |
12 |
78 |
2 |
| _state_dec_to_imp |
|
11 |
26 |
184 |
2 |
| _state_throw |
|
1 |
2 |
14 |
2 |
| _state_noexcept |
|
2 |
6 |
34 |
2 |
| _state_trailing_return |
|
1 |
3 |
22 |
3 |
| _state_old_c_params |
|
7 |
17 |
106 |
2 |
| _state_initialization_list |
|
2 |
4 |
29 |
2 |
| _state_one_initialization |
|
2 |
6 |
36 |
3 |
| _state_initialization_value1 |
|
1 |
2 |
14 |
2 |
| _state_initialization_value2 |
|
1 |
2 |
14 |
2 |
| _state_entering_imp |
|
1 |
3 |
24 |
2 |
| _state_imp |
|
1 |
2 |
14 |
2 |
| _state_attribute |
|
1 |
3 |
9 |
2 |
| Source file: ./pip/lib/python2.7/site-packages/lizard_ext/xmloutput.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| xml_output |
|
1 |
14 |
93 |
2 |
| _create_function_measure |
|
5 |
25 |
148 |
3 |
| _create_file_measure |
|
7 |
35 |
238 |
2 |
| _create_label |
|
1 |
5 |
31 |
2 |
| _create_labels |
|
2 |
5 |
33 |
2 |
| _create_function_item |
|
2 |
23 |
165 |
5 |
| _create_labeled_value_item |
|
1 |
5 |
40 |
4 |
| _create_file_node |
|
1 |
20 |
162 |
3 |
| Source file: ./pip/lib/python2.7/site-packages/lizard_ext/__init__.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| print_xml |
|
1 |
3 |
25 |
3 |
| print_csv |
|
1 |
3 |
22 |
3 |
| Source file: ./pip/lib/python2.7/site-packages/lizard_ext/lizardcpre.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __call__.preprocess_tokens |
|
10 |
19 |
113 |
1 |
| __call__ |
|
2 |
5 |
26 |
3 |
| Source file: ./pip/lib/python2.7/site-packages/pip/wheel.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __init__ |
|
2 |
3 |
27 |
3 |
| cached_wheel |
|
1 |
3 |
24 |
3 |
| _cache_for_link |
|
3 |
8 |
116 |
2 |
| cached_wheel |
|
13 |
36 |
196 |
4 |
| rehash |
|
2 |
11 |
90 |
3 |
| open_for_csv |
|
2 |
8 |
48 |
2 |
| fix_script |
|
3 |
13 |
105 |
1 |
| root_is_purelib |
|
6 |
11 |
92 |
2 |
| get_entrypoints |
|
5 |
19 |
133 |
1 |
| move_wheel_files |
|
1 |
2 |
37 |
10 |
| normpath |
|
1 |
2 |
29 |
2 |
| record_installed |
|
2 |
6 |
43 |
3 |
| clobber |
|
17 |
40 |
333 |
5 |
| is_entrypoint_wrapper |
|
5 |
10 |
80 |
1 |
| _get_script_text |
|
2 |
13 |
59 |
1 |
| _unique.unique |
|
3 |
6 |
40 |
2 |
| _unique |
|
1 |
4 |
16 |
1 |
| uninstallation_paths |
|
3 |
11 |
96 |
1 |
| wheel_version |
|
3 |
10 |
77 |
1 |
| check_compatibility |
|
4 |
15 |
76 |
2 |
| __init__ |
|
5 |
16 |
145 |
2 |
| support_index_min |
|
5 |
5 |
49 |
2 |
| supported |
|
2 |
4 |
35 |
2 |
| __init__ |
|
1 |
2 |
17 |
5 |
| _build_one |
|
4 |
16 |
107 |
4 |
| _base_setup_args |
|
1 |
5 |
30 |
2 |
| __build_one |
|
3 |
17 |
118 |
4 |
| _clean_one |
|
2 |
10 |
66 |
2 |
| build |
|
30 |
87 |
479 |
2 |
| Source file: ./pip/lib/python2.7/site-packages/lizard_ext/lizardmccabe.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _state_global |
|
2 |
3 |
19 |
2 |
| _in_case |
|
2 |
3 |
19 |
2 |
| _after_a_case |
|
3 |
8 |
58 |
2 |
| __init__ |
|
1 |
2 |
16 |
1 |
| Source file: ./pip/lib/python2.7/site-packages/lizard_ext/auto_open.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| auto_open |
|
2 |
7 |
82 |
2 |
| auto_read |
|
2 |
7 |
49 |
1 |
| Source file: ./pip/lib/python2.7/site-packages/lizard_ext/lizardexitcount.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __call__ |
|
5 |
12 |
66 |
3 |
| Source file: ./pip/lib/python2.7/site-packages/lizard_ext/htmloutput.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| html_output |
|
1 |
3 |
12 |
1 |
| Source file: ./pip/lib/python2.7/site-packages/lizard_ext/lizardns.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| set_args |
|
1 |
9 |
29 |
1 |
| __init__ |
|
1 |
3 |
23 |
1 |
| pile_up_within_block |
|
2 |
5 |
42 |
1 |
| _state_global |
|
5 |
9 |
58 |
2 |
| _in_structure_head |
|
1 |
4 |
25 |
2 |
| _block_ending |
|
2 |
7 |
47 |
2 |
| _init_nested_structure_data |
|
1 |
2 |
13 |
2 |
| Source file: ./pip/lib/python2.7/site-packages/lizard_ext/lizardmodified.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __call__ |
|
6 |
11 |
78 |
3 |
| Source file: ./pip/lib/python2.7/site-packages/lizard_ext/lizardnd.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| set_args |
|
1 |
10 |
31 |
1 |
| __call__ |
|
12 |
35 |
220 |
4 |
| check_loop_brackets |
|
3 |
6 |
48 |
3 |
| add_nd_condition |
|
2 |
6 |
45 |
2 |
| reset_nd_complexity |
|
1 |
4 |
26 |
1 |
| add_hidden_bracket_condition |
|
1 |
2 |
16 |
2 |
| get_hidden_bracket |
|
1 |
2 |
11 |
1 |
| loop_bracket_status |
|
1 |
3 |
20 |
1 |
| get_loop_status |
|
1 |
2 |
11 |
1 |
| get_method |
|
2 |
5 |
31 |
2 |
| patch |
|
4 |
3 |
41 |
2 |
| patch_append_method.appended |
|
1 |
3 |
25 |
2 |
| patch_append_method |
|
1 |
4 |
27 |
3 |
| _init_nesting_depth_data |
|
1 |
5 |
28 |
2 |
| Source file: ./pip/lib/python2.7/site-packages/lizard_ext/lizardignoreassert.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __init__ |
|
1 |
2 |
16 |
1 |
| _state_global |
|
2 |
3 |
23 |
2 |
| in_assertion |
|
2 |
3 |
27 |
2 |
| Source file: ./pip/lib/python2.7/site-packages/lizard_ext/lizardwordcount.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __init__ |
|
1 |
2 |
11 |
1 |
| __call__ |
|
4 |
7 |
65 |
2 |
| reduce |
|
3 |
4 |
48 |
2 |
| print_result |
|
2 |
50 |
127 |
1 |
| Source file: ./pip/lib/python2.7/site-packages/lizard_ext/lizarddumpcomments.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __call__ |
|
5 |
12 |
75 |
3 |
| Source file: ./pip/lib/python2.7/site-packages/lizard_ext/extension_base.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __call__ |
|
2 |
5 |
29 |
3 |
| Source file: ./pip/lib/python2.7/site-packages/lizard_ext/lizardcomplextags.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __call__ |
|
4 |
10 |
66 |
3 |
| Source file: ./pip/lib/python2.7/site-packages/lizard_ext/lizardinternalrelationship.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| delayed_tokens.extend_ |
|
2 |
4 |
16 |
2 |
| delayed_tokens |
|
3 |
7 |
30 |
1 |
| preprocess |
|
3 |
8 |
39 |
1 |
| __init__ |
|
1 |
6 |
36 |
2 |
| __call__ |
|
3 |
6 |
43 |
2 |
| _global_state |
|
5 |
6 |
52 |
2 |
| _potential_local_variable_state |
|
2 |
7 |
47 |
2 |
| __call__ |
|
5 |
10 |
51 |
3 |
| wild |
|
3 |
6 |
30 |
3 |
| subcall |
|
1 |
3 |
22 |
2 |
| Source file: ./pip/lib/python2.7/site-packages/lizard_ext/lizardboolcount.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __init__ |
|
1 |
3 |
15 |
1 |
| __call__ |
|
3 |
6 |
43 |
3 |
| reduce |
|
2 |
4 |
30 |
2 |
| print_result |
|
2 |
6 |
51 |
1 |
| Source file: ./pip/lib/python2.7/site-packages/lizard_ext/lizardoutside.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __call__ |
|
2 |
4 |
23 |
3 |
| Source file: ./pip/lib/python2.7/site-packages/lizard_ext/version.py |
| Source file: ./pip/lib/python2.7/site-packages/lizard_ext/lizardnonstrict.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __call__ |
|
1 |
3 |
27 |
3 |
| Source file: ./pip/lib/python2.7/site-packages/lizard_ext/keywords.py |
| Source file: ./pip/lib/python2.7/site-packages/lizard_ext/lizardduplicated_param_list.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __init__ |
|
1 |
4 |
34 |
2 |
| reduce |
|
6 |
10 |
81 |
2 |
| reduce_again |
|
2 |
6 |
45 |
2 |
| _parameters |
|
1 |
2 |
14 |
1 |
| Source file: ./pip/lib/python2.7/site-packages/setuptools/command/bdist_wininst.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| reinitialize_command |
|
2 |
6 |
40 |
3 |
| run |
|
2 |
6 |
27 |
1 |
| Source file: ./pip/lib/python2.7/site-packages/lizard_ext/csvoutput.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| csv_output |
|
6 |
24 |
103 |
2 |
| Source file: ./pip/lib/python2.7/site-packages/lizard_ext/lizardio.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| get_all_indices |
|
3 |
10 |
44 |
2 |
| __init__ |
|
1 |
3 |
26 |
2 |
| _state_global |
|
2 |
4 |
43 |
2 |
| reduce |
|
3 |
10 |
65 |
2 |
| _add_to_fan_outs |
|
2 |
4 |
46 |
2 |
| _add_to_general_fan_out |
|
4 |
11 |
103 |
1 |
| _add_to_fan_ins |
|
4 |
5 |
36 |
2 |
| Source file: ./pip/lib/python2.7/site-packages/lizard_ext/lizarddependencycount.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __call__ |
|
15 |
46 |
249 |
3 |
| Source file: ./pip/lib/python2.7/site-packages/setuptools/command/bdist_rpm.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| run |
|
1 |
3 |
19 |
1 |
| _make_spec_file |
|
2 |
23 |
106 |
1 |
| Source file: ./pip/lib/python2.7/site-packages/setuptools/command/py36compat.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| add_defaults |
|
1 |
8 |
41 |
1 |
| _cs_path_exists |
|
2 |
6 |
50 |
1 |
| _add_defaults_standards |
|
7 |
19 |
107 |
1 |
| _add_defaults_optional |
|
2 |
5 |
40 |
1 |
| _add_defaults_python |
|
4 |
7 |
69 |
1 |
| _add_defaults_data_files |
|
7 |
13 |
91 |
1 |
| _add_defaults_ext |
|
2 |
4 |
34 |
1 |
| _add_defaults_c_libs |
|
2 |
4 |
34 |
1 |
| _add_defaults_scripts |
|
2 |
4 |
34 |
1 |
| Source file: ./pip/lib/python2.7/site-packages/setuptools/command/upload.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| finalize_options |
|
4 |
11 |
49 |
1 |
| _load_password_from_keyring |
|
2 |
6 |
31 |
1 |
| _prompt_for_password |
|
2 |
5 |
22 |
1 |
| Source file: ./pip/lib/python2.7/site-packages/setuptools/command/install_scripts.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| initialize_options |
|
1 |
3 |
18 |
1 |
| run |
|
6 |
28 |
192 |
1 |
| write_script |
|
2 |
12 |
105 |
5 |
| Source file: ./pip/lib/python2.7/site-packages/setuptools/command/__init__.py |
| Source file: ./pip/lib/python2.7/site-packages/setuptools/command/alias.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| shquote |
|
4 |
7 |
45 |
1 |
| initialize_options |
|
1 |
4 |
21 |
1 |
| finalize_options |
|
3 |
7 |
31 |
1 |
| run |
|
6 |
22 |
145 |
1 |
| format_alias |
|
4 |
11 |
63 |
2 |
| Source file: ./pip/lib/python2.7/site-packages/setuptools/command/install_lib.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| run |
|
2 |
5 |
29 |
1 |
| get_exclusions |
|
3 |
8 |
52 |
1 |
| _exclude_pkg_path |
|
1 |
3 |
36 |
3 |
| _all_packages |
|
2 |
4 |
23 |
1 |
| _get_SVEM_NSPs |
|
3 |
6 |
41 |
1 |
| _gen_exclusion_paths |
|
2 |
11 |
55 |
0 |
| copy_tree |
|
1 |
3 |
23 |
7 |
| pf |
|
2 |
8 |
47 |
2 |
| get_outputs |
|
4 |
6 |
40 |
1 |
| Source file: ./pip/lib/python2.7/site-packages/setuptools/command/upload_docs.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _encode |
|
2 |
3 |
23 |
1 |
| has_sphinx |
|
3 |
4 |
24 |
1 |
| initialize_options |
|
1 |
4 |
21 |
1 |
| finalize_options |
|
4 |
15 |
104 |
1 |
| create_zipfile |
|
6 |
15 |
130 |
2 |
| run |
|
3 |
11 |
74 |
1 |
| _build_part |
|
6 |
17 |
94 |
2 |
| _build_multipart |
|
1 |
14 |
98 |
2 |
| upload_file |
|
11 |
54 |
406 |
2 |
| Source file: ./pip/lib/python2.7/site-packages/setuptools/command/build_clib.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| build_libraries |
|
9 |
56 |
306 |
2 |
| Source file: ./pip/lib/python2.7/site-packages/setuptools/command/build_py.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| run_2to3 |
|
1 |
2 |
12 |
3 |
| finalize_options |
|
3 |
9 |
62 |
1 |
| run |
|
5 |
12 |
90 |
1 |
| __getattr__ |
|
2 |
6 |
37 |
2 |
| build_module |
|
4 |
8 |
66 |
4 |
| _get_data_files |
|
2 |
3 |
28 |
1 |
| _get_pkg_data_files |
|
2 |
8 |
72 |
2 |
| find_data_files |
|
1 |
14 |
87 |
3 |
| build_package_data |
|
5 |
11 |
104 |
1 |
| analyze_manifest |
|
11 |
21 |
168 |
1 |
| get_data_files |
|
1 |
2 |
6 |
1 |
| check_package |
|
8 |
24 |
131 |
3 |
| initialize_options |
|
1 |
3 |
19 |
1 |
| get_package_dir |
|
2 |
5 |
46 |
2 |
| exclude_data_files |
|
4 |
19 |
87 |
4 |
| _get_platform_patterns |
|
2 |
9 |
57 |
3 |
| _unique_everseen |
|
5 |
14 |
68 |
2 |
| assert_relative |
|
2 |
13 |
43 |
1 |
| Source file: ./pip/lib/python2.7/site-packages/setuptools/command/develop.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| run |
|
2 |
8 |
37 |
1 |
| initialize_options |
|
1 |
6 |
31 |
1 |
| finalize_options |
|
4 |
34 |
217 |
1 |
| _resolve_setup_path |
|
3 |
12 |
92 |
3 |
| install_for_development |
|
5 |
28 |
232 |
1 |
| uninstall_link |
|
7 |
16 |
129 |
1 |
| install_egg_scripts |
|
4 |
10 |
94 |
2 |
| install_wrapper_scripts |
|
1 |
3 |
22 |
2 |
| __init__ |
|
1 |
2 |
12 |
2 |
| __getattr__ |
|
1 |
2 |
16 |
2 |
| as_requirement |
|
1 |
2 |
9 |
1 |
| Source file: ./pip/lib/python2.7/site-packages/setuptools/command/install_egg_info.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| initialize_options |
|
1 |
2 |
10 |
1 |
| finalize_options |
|
1 |
10 |
78 |
1 |
| run |
|
5 |
12 |
124 |
1 |
| get_outputs |
|
1 |
2 |
9 |
1 |
| copytree.skimmer |
|
4 |
7 |
50 |
2 |
| copytree |
|
1 |
3 |
19 |
1 |
| Source file: ./pip/lib/python2.7/site-packages/setuptools/command/dist_info.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| initialize_options |
|
1 |
2 |
10 |
1 |
| finalize_options |
|
1 |
2 |
6 |
1 |
| run |
|
1 |
9 |
81 |
1 |
| Source file: ./pip/lib/python2.7/site-packages/setuptools/command/install.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| initialize_options |
|
1 |
4 |
23 |
1 |
| finalize_options |
|
5 |
10 |
45 |
1 |
| handle_extra_path |
|
3 |
5 |
33 |
1 |
| run |
|
4 |
7 |
51 |
1 |
| _called_from_setup |
|
4 |
16 |
91 |
1 |
| do_egg_install |
|
2 |
15 |
113 |
1 |
| Source file: ./pip/lib/python2.7/site-packages/setuptools/command/setopt.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| config_file |
|
6 |
13 |
77 |
1 |
| edit_config |
|
8 |
33 |
209 |
3 |
| initialize_options |
|
1 |
4 |
20 |
1 |
| finalize_options |
|
6 |
16 |
87 |
1 |
| initialize_options |
|
1 |
6 |
31 |
1 |
| finalize_options |
|
5 |
6 |
46 |
1 |
| run |
|
1 |
7 |
38 |
1 |
| Source file: ./pip/lib/python2.7/site-packages/setuptools/command/build_ext.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _customize_compiler_for_shlib |
|
3 |
14 |
64 |
1 |
| get_abi3_suffix |
|
6 |
6 |
47 |
0 |
| run |
|
2 |
6 |
36 |
1 |
| copy_extensions_to_source |
|
4 |
17 |
137 |
1 |
| get_ext_filename |
|
8 |
20 |
142 |
2 |
| initialize_options |
|
1 |
5 |
28 |
1 |
| finalize_options |
|
16 |
24 |
227 |
1 |
| setup_shlib_compiler |
|
10 |
22 |
173 |
1 |
| get_export_symbols |
|
2 |
4 |
28 |
2 |
| build_extension |
|
4 |
12 |
72 |
2 |
| links_to_dynamic |
|
3 |
4 |
65 |
2 |
| get_outputs |
|
1 |
2 |
18 |
1 |
| __get_stubs_outputs |
|
4 |
8 |
66 |
1 |
| __get_output_extensions |
|
2 |
5 |
21 |
1 |
| write_stub |
|
8 |
44 |
245 |
4 |
| link_shared_object |
|
1 |
5 |
49 |
13 |
| link_shared_object |
|
1 |
5 |
49 |
13 |
| _get_config_var_837 |
|
2 |
4 |
27 |
1 |
| Source file: ./pip/lib/python2.7/site-packages/setuptools/command/register.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| run |
|
1 |
3 |
19 |
1 |
| Source file: ./pip/lib/python2.7/site-packages/setuptools/command/sdist.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| walk_revctrl |
|
3 |
4 |
32 |
1 |
| run |
|
4 |
14 |
111 |
1 |
| initialize_options |
|
1 |
3 |
18 |
1 |
| _default_to_gztar |
|
2 |
4 |
30 |
1 |
| make_distribution |
|
1 |
3 |
21 |
1 |
| _remove_os_link |
|
4 |
13 |
48 |
0 |
| __read_template_hack |
|
2 |
7 |
44 |
1 |
| _add_defaults_python |
|
5 |
8 |
79 |
1 |
| _add_defaults_data_files |
|
3 |
8 |
36 |
1 |
| check_readme |
|
3 |
9 |
40 |
1 |
| make_release_tree |
|
3 |
7 |
75 |
3 |
| _manifest_is_not_generated |
|
2 |
7 |
51 |
1 |
| read_manifest |
|
6 |
15 |
90 |
1 |
| Source file: ./pip/lib/python2.7/site-packages/setuptools/command/saveopts.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| run |
|
5 |
10 |
78 |
1 |
| Source file: ./pip/lib/python2.7/site-packages/setuptools/command/rotate.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| initialize_options |
|
1 |
4 |
20 |
1 |
| finalize_options |
|
6 |
17 |
99 |
1 |
| run |
|
6 |
18 |
151 |
1 |
| Source file: ./pip/lib/python2.7/site-packages/setuptools/extern/__init__.py |
| Source file: ./pip/lib/python2.7/site-packages/setuptools/launch.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| run |
|
1 |
14 |
91 |
0 |
| Source file: ./pip/lib/python2.7/site-packages/setuptools/py36compat.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| parse_config_files |
|
15 |
41 |
285 |
2 |
| Source file: ./pip/lib/python2.7/site-packages/setuptools/command/test.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __init__ |
|
1 |
3 |
18 |
1 |
| loadTestsFromModule |
|
9 |
22 |
169 |
3 |
| __init__ |
|
1 |
2 |
12 |
2 |
| __get__ |
|
2 |
4 |
25 |
3 |
| initialize_options |
|
1 |
5 |
25 |
1 |
| finalize_options |
|
8 |
15 |
110 |
1 |
| test_args |
|
1 |
2 |
14 |
1 |
| _test_args |
|
5 |
7 |
39 |
1 |
| with_project_on_sys_path |
|
1 |
3 |
18 |
2 |
| project_on_sys_path |
|
4 |
31 |
233 |
2 |
| paths_on_pythonpath |
|
4 |
16 |
108 |
1 |
| install_dists |
|
5 |
8 |
76 |
1 |
| run |
|
2 |
11 |
80 |
1 |
| run_tests |
|
8 |
22 |
166 |
1 |
| _argv |
|
1 |
2 |
13 |
1 |
| _resolve_as_ep |
|
2 |
5 |
30 |
1 |
| Source file: ./pip/lib/python2.7/site-packages/setuptools/command/bdist_egg.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _get_purelib |
|
1 |
2 |
9 |
0 |
| _get_purelib |
|
1 |
2 |
9 |
0 |
| strip_module |
|
3 |
6 |
41 |
1 |
| sorted_walk |
|
2 |
5 |
36 |
1 |
| write_stub |
|
1 |
12 |
37 |
2 |
| initialize_options |
|
1 |
8 |
40 |
1 |
| finalize_options |
|
5 |
16 |
142 |
1 |
| do_install_data |
|
8 |
19 |
186 |
1 |
| get_outputs |
|
1 |
2 |
11 |
1 |
| call_command |
|
2 |
8 |
65 |
3 |
| run |
|
15 |
65 |
507 |
1 |
| zap_pyfiles |
|
6 |
22 |
144 |
1 |
| zip_safe |
|
2 |
6 |
42 |
1 |
| gen_header |
|
6 |
34 |
174 |
1 |
| copy_metadata_to |
|
3 |
9 |
82 |
2 |
| get_ext_outputs |
|
10 |
22 |
199 |
1 |
| walk_egg |
|
3 |
8 |
46 |
1 |
| analyze_egg |
|
11 |
14 |
116 |
2 |
| write_safety_flag |
|
7 |
10 |
90 |
2 |
| scan_module |
|
11 |
32 |
234 |
4 |
| iter_symbols |
|
6 |
9 |
52 |
1 |
| can_scan |
|
3 |
6 |
36 |
0 |
| make_zipfile |
|
1 |
2 |
23 |
6 |
| visit |
|
4 |
8 |
75 |
3 |
| Source file: ./pip/lib/python2.7/site-packages/setuptools/pep425tags.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| get_config_var |
|
2 |
6 |
34 |
1 |
| get_abbr_impl |
|
4 |
10 |
46 |
0 |
| get_impl_ver |
|
3 |
5 |
38 |
0 |
| get_impl_version_info |
|
2 |
6 |
49 |
0 |
| get_impl_tag |
|
1 |
2 |
18 |
0 |
| get_flag |
|
3 |
8 |
54 |
4 |
| get_abi_tag |
|
12 |
30 |
210 |
0 |
| _is_running_32bit |
|
1 |
2 |
10 |
0 |
| get_platform |
|
8 |
13 |
109 |
0 |
| is_manylinux1_compatible |
|
3 |
9 |
46 |
0 |
| get_darwin_arches._supports_arch |
|
8 |
14 |
104 |
3 |
| get_darwin_arches |
|
5 |
16 |
117 |
3 |
| get_supported |
|
1 |
2 |
23 |
5 |
| Source file: ./pip/lib/python2.7/site-packages/setuptools/py27compat.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| get_all_headers |
|
1 |
2 |
15 |
2 |
| get_all_headers |
|
1 |
2 |
14 |
2 |
| Source file: ./pip/lib/python2.7/site-packages/setuptools/command/egg_info.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| translate_pattern |
|
17 |
47 |
287 |
1 |
| initialize_options |
|
1 |
9 |
45 |
1 |
| tag_svn_revision |
|
1 |
2 |
6 |
1 |
| tag_svn_revision |
|
1 |
2 |
8 |
2 |
| save_version_info |
|
1 |
5 |
42 |
2 |
| finalize_options |
|
9 |
33 |
257 |
1 |
| write_or_delete_file |
|
5 |
11 |
66 |
5 |
| write_file |
|
3 |
8 |
60 |
4 |
| delete_file |
|
2 |
4 |
28 |
2 |
| tagged_version |
|
3 |
5 |
42 |
1 |
| run |
|
3 |
11 |
101 |
1 |
| tags |
|
3 |
7 |
33 |
1 |
| find_sources |
|
1 |
6 |
45 |
1 |
| check_broken_egg_info |
|
3 |
14 |
80 |
1 |
| process_template_line |
|
23 |
55 |
366 |
2 |
| _remove_files |
|
3 |
8 |
68 |
2 |
| include |
|
3 |
4 |
41 |
2 |
| exclude |
|
1 |
3 |
23 |
2 |
| recursive_include |
|
3 |
6 |
61 |
3 |
| recursive_exclude |
|
1 |
3 |
36 |
3 |
| graft |
|
3 |
8 |
42 |
2 |
| prune |
|
1 |
3 |
32 |
2 |
| global_include |
|
4 |
7 |
64 |
2 |
| global_exclude |
|
1 |
3 |
32 |
2 |
| append |
|
3 |
6 |
45 |
2 |
| extend |
|
1 |
2 |
22 |
2 |
| _repair |
|
1 |
2 |
23 |
1 |
| _safe_path |
|
6 |
15 |
100 |
2 |
| initialize_options |
|
1 |
5 |
25 |
1 |
| finalize_options |
|
1 |
2 |
6 |
1 |
| run |
|
3 |
11 |
76 |
1 |
| _manifest_normalize |
|
1 |
3 |
26 |
2 |
| write_manifest |
|
2 |
5 |
54 |
1 |
| warn |
|
2 |
3 |
24 |
2 |
| _should_suppress_warning |
|
1 |
2 |
16 |
1 |
| add_defaults |
|
3 |
11 |
85 |
1 |
| prune_file_list |
|
1 |
8 |
70 |
1 |
| write_file |
|
1 |
5 |
40 |
2 |
| write_pkg_info |
|
3 |
12 |
101 |
3 |
| warn_depends_obsolete |
|
2 |
6 |
26 |
3 |
| _write_requirements |
|
2 |
5 |
38 |
2 |
| write_requirements |
|
3 |
9 |
82 |
3 |
| write_setup_requirements |
|
1 |
4 |
40 |
3 |
| write_toplevel_names |
|
2 |
8 |
59 |
3 |
| overwrite_arg |
|
1 |
2 |
19 |
3 |
| write_arg |
|
2 |
6 |
66 |
4 |
| write_entries |
|
6 |
13 |
130 |
3 |
| get_pkg_info_revision |
|
4 |
9 |
64 |
0 |
| Source file: ./pip/lib/python2.7/site-packages/setuptools/glibc.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| glibc_version_string |
|
3 |
12 |
56 |
0 |
| check_glibc_version |
|
3 |
8 |
63 |
3 |
| have_compatible_glibc |
|
2 |
5 |
28 |
2 |
| libc_ver |
|
2 |
6 |
29 |
0 |
| Source file: ./pip/lib/python2.7/site-packages/setuptools/config.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| read_configuration |
|
1 |
2 |
13 |
3 |
| configuration_to_dict |
|
4 |
13 |
77 |
1 |
| parse_configuration |
|
1 |
2 |
11 |
3 |
| __init__ |
|
3 |
12 |
85 |
4 |
| parsers |
|
1 |
3 |
17 |
1 |
| __setitem__ |
|
8 |
26 |
135 |
3 |
| _parse_list |
|
5 |
8 |
62 |
3 |
| _parse_dict |
|
3 |
10 |
65 |
2 |
| _parse_bool |
|
1 |
3 |
25 |
2 |
| _parse_file |
|
8 |
14 |
104 |
2 |
| _assert_local |
|
2 |
4 |
25 |
1 |
| _read_file |
|
1 |
3 |
25 |
1 |
| _parse_attr |
|
4 |
15 |
106 |
2 |
| _get_parser_compound.parse |
|
2 |
5 |
21 |
1 |
| _get_parser_compound |
|
1 |
3 |
13 |
2 |
| _parse_section_to_dict |
|
3 |
6 |
52 |
3 |
| parse_section |
|
3 |
6 |
37 |
2 |
| parse |
|
4 |
14 |
73 |
1 |
| parsers |
|
1 |
17 |
77 |
1 |
| _parse_version |
|
4 |
10 |
66 |
2 |
| parsers |
|
1 |
24 |
108 |
1 |
| _parse_packages |
|
2 |
8 |
55 |
2 |
| parse_section_packages__find |
|
5 |
10 |
82 |
2 |
| parse_section_entry_points |
|
1 |
3 |
26 |
2 |
| _parse_package_data |
|
2 |
7 |
43 |
2 |
| parse_section_package_data |
|
1 |
2 |
19 |
2 |
| parse_section_exclude_package_data |
|
1 |
3 |
19 |
2 |
| parse_section_extras_require |
|
1 |
4 |
33 |
2 |
| Source file: ./pip/lib/python2.7/site-packages/setuptools/glob.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| glob |
|
1 |
2 |
22 |
2 |
| iglob |
|
3 |
6 |
37 |
2 |
| _iglob |
|
17 |
32 |
173 |
2 |
| glob1 |
|
4 |
11 |
61 |
2 |
| glob0 |
|
4 |
8 |
53 |
2 |
| glob2 |
|
2 |
5 |
28 |
2 |
| _rlistdir |
|
7 |
15 |
92 |
1 |
| has_magic |
|
2 |
6 |
36 |
1 |
| _isrecursive |
|
2 |
5 |
24 |
1 |
| escape |
|
2 |
7 |
54 |
1 |
| Source file: ./pip/lib/python2.7/site-packages/setuptools/py33compat.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __init__ |
|
1 |
2 |
12 |
2 |
| __iter__ |
|
4 |
18 |
116 |
1 |
| Source file: ./pip/lib/python2.7/site-packages/setuptools/sandbox.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _execfile |
|
2 |
8 |
58 |
3 |
| save_argv |
|
3 |
8 |
43 |
1 |
| save_path |
|
2 |
6 |
26 |
0 |
| override_temp |
|
2 |
8 |
38 |
1 |
| pushd |
|
2 |
7 |
30 |
1 |
| dump |
|
2 |
6 |
50 |
2 |
| __enter__ |
|
1 |
2 |
7 |
1 |
| __exit__ |
|
2 |
6 |
35 |
4 |
| resume |
|
2 |
6 |
42 |
1 |
| save_modules |
|
4 |
12 |
64 |
0 |
| _clear_modules |
|
2 |
3 |
20 |
1 |
| save_pkg_resources_state |
|
2 |
6 |
23 |
0 |
| setup_context |
|
1 |
11 |
57 |
1 |
| _needs_hiding |
|
1 |
3 |
25 |
1 |
| hide_setuptools |
|
1 |
3 |
19 |
0 |
| run_setup |
|
5 |
19 |
143 |
2 |
| __init__ |
|
4 |
5 |
34 |
1 |
| _copy |
|
2 |
3 |
27 |
2 |
| __enter__ |
|
2 |
6 |
33 |
1 |
| __exit__ |
|
2 |
6 |
35 |
4 |
| run |
|
1 |
3 |
15 |
2 |
| _mk_dual_path_wrapper.wrap |
|
2 |
4 |
53 |
5 |
| _mk_dual_path_wrapper |
|
1 |
4 |
17 |
1 |
| _mk_single_path_wrapper.wrap |
|
2 |
4 |
45 |
4 |
| _mk_single_path_wrapper |
|
2 |
4 |
23 |
2 |
| _mk_single_with_return.wrap |
|
2 |
5 |
63 |
4 |
| _mk_single_with_return |
|
1 |
4 |
17 |
1 |
| _mk_query.wrap |
|
2 |
5 |
37 |
3 |
| _mk_query |
|
1 |
4 |
17 |
1 |
| _validate_path |
|
1 |
2 |
10 |
2 |
| _remap_input |
|
1 |
2 |
23 |
5 |
| _remap_output |
|
1 |
2 |
17 |
3 |
| _remap_pair |
|
1 |
5 |
54 |
6 |
| __init__ |
|
2 |
8 |
77 |
3 |
| _violation |
|
1 |
3 |
28 |
4 |
| _file |
|
3 |
4 |
70 |
5 |
| _open |
|
3 |
4 |
70 |
5 |
| tmpnam |
|
1 |
2 |
11 |
1 |
| _ok |
|
4 |
12 |
67 |
2 |
| _exempted |
|
3 |
11 |
56 |
2 |
| _remap_input |
|
3 |
4 |
54 |
5 |
| _remap_pair |
|
3 |
4 |
57 |
6 |
| open |
|
3 |
4 |
68 |
6 |
| __str__ |
|
1 |
3 |
26 |
1 |
| Source file: ./pip/lib/python2.7/site-packages/setuptools/__init__.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| find |
|
1 |
20 |
55 |
3 |
| _find_packages_iter |
|
7 |
13 |
122 |
4 |
| _looks_like_package |
|
1 |
2 |
24 |
1 |
| _build_filter |
|
2 |
2 |
26 |
1 |
| _looks_like_package |
|
1 |
2 |
7 |
1 |
| _install_setup_requires |
|
4 |
8 |
61 |
1 |
| setup |
|
1 |
3 |
20 |
1 |
| __init__ |
|
1 |
3 |
28 |
3 |
| reinitialize_command |
|
1 |
4 |
37 |
4 |
| _find_all_simple |
|
3 |
7 |
52 |
1 |
| findall |
|
2 |
6 |
52 |
1 |
| Source file: ./pip/lib/python2.7/site-packages/setuptools/site-patch.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __boot |
|
19 |
54 |
330 |
0 |
| Source file: ./pip/lib/python2.7/site-packages/setuptools/depends.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __init__ |
|
1 |
2 |
23 |
7 |
| full_name |
|
2 |
4 |
30 |
1 |
| version_ok |
|
4 |
3 |
34 |
2 |
| get_version |
|
7 |
13 |
95 |
3 |
| is_present |
|
1 |
2 |
20 |
2 |
| is_current |
|
2 |
5 |
32 |
2 |
| find_module |
|
5 |
11 |
84 |
2 |
| get_module_constant |
|
8 |
21 |
156 |
4 |
| extract_constant |
|
7 |
17 |
101 |
3 |
| _update_globals |
|
4 |
7 |
46 |
0 |
| Source file: ./pip/lib/python2.7/site-packages/setuptools/py31compat.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| get_path |
|
2 |
4 |
27 |
1 |
| __init__ |
|
1 |
3 |
19 |
1 |
| __enter__ |
|
1 |
2 |
9 |
1 |
| __exit__ |
|
2 |
6 |
32 |
4 |
| Source file: ./pip/lib/python2.7/site-packages/setuptools/monkey.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _get_mro |
|
2 |
4 |
31 |
1 |
| get_unpatched |
|
3 |
7 |
40 |
1 |
| get_unpatched_class |
|
4 |
11 |
57 |
1 |
| patch_all |
|
8 |
28 |
200 |
0 |
| _patch_distribution_metadata_write_pkg_file |
|
1 |
4 |
20 |
0 |
| _patch_distribution_metadata_write_pkg_info |
|
2 |
7 |
47 |
0 |
| patch_func |
|
1 |
4 |
37 |
3 |
| get_unpatched_function |
|
1 |
2 |
12 |
1 |
| patch_for_msvc_specialized_compiler.patch_params |
|
3 |
8 |
61 |
2 |
| patch_for_msvc_specialized_compiler |
|
5 |
20 |
93 |
0 |
| Source file: ./pip/lib/python2.7/site-packages/setuptools/windows_support.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| windows_only |
|
2 |
4 |
25 |
1 |
| hide_file |
|
2 |
9 |
64 |
1 |
| Source file: ./pip/lib/python2.7/site-packages/setuptools/wheel.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| unpack |
|
6 |
16 |
166 |
2 |
| __init__ |
|
3 |
7 |
60 |
2 |
| tags |
|
1 |
4 |
38 |
1 |
| is_compatible |
|
3 |
3 |
34 |
1 |
| egg_name |
|
2 |
5 |
43 |
1 |
| install_as_egg.get_metadata |
|
2 |
4 |
54 |
1 |
| install_as_egg.raw_req |
|
1 |
3 |
15 |
1 |
| install_as_egg |
|
15 |
68 |
571 |
2 |
| Source file: ./pip/lib/python2.7/site-packages/setuptools/build_meta.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __init__ |
|
1 |
2 |
12 |
2 |
| fetch_build_eggs |
|
1 |
2 |
12 |
2 |
| patch |
|
2 |
7 |
32 |
1 |
| _run_setup |
|
1 |
7 |
60 |
1 |
| _fix_config |
|
2 |
4 |
22 |
1 |
| _get_build_requires |
|
2 |
11 |
63 |
1 |
| _get_immediate_subdirectories |
|
3 |
3 |
36 |
1 |
| get_requires_for_build_wheel |
|
1 |
3 |
18 |
1 |
| get_requires_for_build_sdist |
|
1 |
3 |
18 |
1 |
| prepare_metadata_for_build_wheel |
|
7 |
20 |
146 |
2 |
| build_wheel |
|
1 |
2 |
13 |
3 |
| build_sdist |
|
4 |
13 |
101 |
2 |
| Source file: ./pip/lib/python2.7/site-packages/setuptools/dep_util.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| newer_pairwise_group |
|
4 |
10 |
79 |
2 |
| Source file: ./pip/lib/python2.7/site-packages/setuptools/version.py |
| Source file: ./pip/lib/python2.7/site-packages/setuptools/namespaces.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| install_namespaces |
|
3 |
14 |
90 |
1 |
| uninstall_namespaces |
|
2 |
7 |
52 |
1 |
| _get_target |
|
1 |
2 |
9 |
1 |
| _get_root |
|
1 |
2 |
7 |
1 |
| _gen_nspkg_line |
|
2 |
9 |
69 |
2 |
| _get_all_ns_packages |
|
2 |
3 |
31 |
1 |
| _pkg_names |
|
2 |
5 |
29 |
1 |
| _get_root |
|
1 |
2 |
15 |
1 |
| _get_target |
|
1 |
2 |
9 |
1 |
| Source file: ./pip/lib/python2.7/site-packages/setuptools/ssl_support.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _dnsname_match |
|
8 |
23 |
188 |
3 |
| match_hostname |
|
12 |
28 |
164 |
2 |
| __init__ |
|
1 |
3 |
18 |
2 |
| https_open |
|
1 |
4 |
32 |
2 |
| __init__ |
|
1 |
3 |
28 |
4 |
| connect |
|
5 |
23 |
162 |
1 |
| opener_for |
|
2 |
4 |
26 |
1 |
| once.wrapper |
|
2 |
4 |
34 |
2 |
| once |
|
1 |
4 |
16 |
1 |
| get_win_certfile.__init__ |
|
1 |
3 |
23 |
1 |
| get_win_certfile.close |
|
2 |
5 |
21 |
1 |
| get_win_certfile |
|
2 |
12 |
46 |
0 |
| find_ca_bundle |
|
3 |
7 |
34 |
0 |
| _certifi_where |
|
2 |
5 |
25 |
0 |
| Source file: ./pip/lib/python2.7/site-packages/setuptools/lib2to3_ex.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| log_error |
|
1 |
2 |
22 |
4 |
| log_message |
|
1 |
2 |
19 |
3 |
| log_debug |
|
1 |
2 |
19 |
3 |
| run_2to3 |
|
5 |
14 |
90 |
3 |
| __build_fixer_names |
|
5 |
9 |
65 |
1 |
| __exclude_fixers |
|
4 |
7 |
56 |
1 |
| Source file: ./pip/lib/python2.7/site-packages/setuptools/dist.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _get_unpatched |
|
1 |
3 |
18 |
1 |
| write_pkg_file |
|
13 |
34 |
323 |
2 |
| write_pkg_info |
|
1 |
4 |
37 |
2 |
| check_importable |
|
2 |
9 |
50 |
3 |
| assert_string_list |
|
2 |
7 |
43 |
3 |
| check_nsp |
|
5 |
15 |
77 |
3 |
| check_extras |
|
2 |
9 |
43 |
3 |
| _check_extra |
|
3 |
5 |
45 |
2 |
| assert_bool |
|
2 |
4 |
37 |
3 |
| check_requirements |
|
3 |
11 |
69 |
3 |
| check_specifier |
|
2 |
9 |
51 |
3 |
| check_entry_points |
|
2 |
5 |
30 |
3 |
| check_test_suite |
|
2 |
3 |
25 |
3 |
| check_package_data |
|
5 |
15 |
60 |
3 |
| check_packages |
|
3 |
7 |
37 |
3 |
| patch_missing_pkg_info |
|
6 |
8 |
87 |
2 |
| __init__ |
|
10 |
45 |
307 |
2 |
| _finalize_requires |
|
2 |
5 |
35 |
1 |
| _convert_extras_requirements |
|
4 |
8 |
75 |
1 |
| _suffix_for |
|
2 |
2 |
21 |
1 |
| _move_install_requirements_markers.is_simple_req |
|
1 |
2 |
10 |
1 |
| _move_install_requirements_markers |
|
5 |
13 |
124 |
1 |
| _clean_req |
|
1 |
3 |
15 |
2 |
| parse_config_files |
|
1 |
5 |
41 |
3 |
| parse_command_line |
|
2 |
5 |
26 |
1 |
| _feature_attrname |
|
1 |
2 |
19 |
2 |
| fetch_build_eggs |
|
2 |
9 |
53 |
2 |
| finalize_options |
|
6 |
16 |
111 |
1 |
| get_egg_cache_dir |
|
2 |
13 |
86 |
1 |
| fetch_build_egg |
|
5 |
26 |
191 |
2 |
| _set_global_opts_from_features |
|
4 |
20 |
147 |
1 |
| _finalize_features |
|
7 |
10 |
92 |
1 |
| get_command_class |
|
3 |
10 |
74 |
2 |
| print_commands |
|
3 |
6 |
49 |
1 |
| get_command_list |
|
3 |
6 |
49 |
1 |
| _set_feature |
|
1 |
2 |
23 |
3 |
| feature_is_included |
|
1 |
2 |
20 |
2 |
| include_feature |
|
2 |
8 |
54 |
2 |
| include |
|
3 |
7 |
49 |
2 |
| exclude_package |
|
13 |
17 |
107 |
2 |
| has_contents_for |
|
4 |
5 |
36 |
2 |
| _exclude_misc |
|
8 |
17 |
93 |
3 |
| _include_misc |
|
7 |
20 |
105 |
3 |
| exclude |
|
3 |
7 |
49 |
2 |
| _exclude_packages |
|
2 |
6 |
37 |
2 |
| _parse_command_opts |
|
4 |
18 |
137 |
3 |
| get_cmdline_options |
|
8 |
22 |
144 |
1 |
| iter_distribution_names |
|
9 |
13 |
78 |
1 |
| handle_display_options |
|
8 |
20 |
171 |
2 |
| warn_deprecated |
|
1 |
6 |
22 |
0 |
| __init__ |
|
1 |
3 |
32 |
6 |
| include_by_default |
|
2 |
2 |
14 |
1 |
| include_in |
|
3 |
9 |
46 |
2 |
| exclude_from |
|
3 |
5 |
35 |
2 |
| validate |
|
3 |
8 |
40 |
2 |
| Source file: ./pip/lib/python2.7/site-packages/setuptools/archive_util.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| default_filter |
|
1 |
2 |
10 |
2 |
| unpack_archive |
|
1 |
2 |
15 |
4 |
| unpack_directory |
|
6 |
19 |
163 |
3 |
| unpack_zipfile |
|
8 |
22 |
167 |
3 |
| unpack_tarfile |
|
15 |
30 |
236 |
3 |
| Source file: ./pip/lib/python2.7/site-packages/setuptools/unicode_utils.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| decompose |
|
3 |
10 |
58 |
1 |
| filesys_decode |
|
5 |
10 |
50 |
1 |
| try_encode |
|
2 |
6 |
22 |
2 |
| Source file: ./pip/lib/python2.7/site-packages/setuptools/extension.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _have_cython |
|
2 |
8 |
30 |
0 |
| __init__ |
|
1 |
3 |
43 |
5 |
| _convert_pyx_sources_to_lang |
|
4 |
7 |
61 |
1 |
| Source file: ./pip/lib/python2.7/site-packages/wheel/signatures/__init__.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| get_ed25519ll |
|
3 |
9 |
33 |
0 |
| sign |
|
1 |
19 |
143 |
2 |
| assertTrue |
|
2 |
3 |
18 |
2 |
| verify |
|
4 |
28 |
268 |
1 |
| test |
|
2 |
12 |
63 |
0 |
| Source file: ./pip/lib/python2.7/site-packages/wheel/signatures/keys.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __init__ |
|
1 |
2 |
20 |
1 |
| load |
|
7 |
17 |
138 |
1 |
| save |
|
1 |
6 |
54 |
1 |
| trust |
|
1 |
3 |
31 |
3 |
| untrust |
|
1 |
3 |
31 |
3 |
| trusted |
|
3 |
6 |
66 |
2 |
| signers |
|
3 |
5 |
64 |
2 |
| add_signer |
|
1 |
2 |
29 |
3 |
| Source file: ./pip/lib/python2.7/site-packages/wheel/signatures/ed25519py.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| crypto_sign_keypair |
|
3 |
11 |
64 |
1 |
| crypto_sign |
|
2 |
7 |
56 |
2 |
| crypto_sign_open |
|
3 |
7 |
63 |
2 |
| Source file: ./pip/lib/python2.7/site-packages/wheel/tool/__init__.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| require_pkgresources |
|
2 |
5 |
22 |
1 |
| get_keyring |
|
2 |
9 |
40 |
0 |
| keygen |
|
2 |
18 |
157 |
1 |
| sign |
|
2 |
22 |
231 |
3 |
| unsign |
|
3 |
7 |
58 |
1 |
| verify |
|
2 |
11 |
92 |
1 |
| unpack |
|
1 |
7 |
65 |
2 |
| install |
|
1 |
3 |
25 |
6 |
| install_scripts |
|
3 |
13 |
71 |
1 |
| convert |
|
6 |
16 |
101 |
3 |
| parser.keygen_f |
|
1 |
2 |
8 |
1 |
| parser.sign_f |
|
1 |
2 |
11 |
1 |
| parser.unsign_f |
|
1 |
2 |
11 |
1 |
| parser.verify_f |
|
1 |
2 |
11 |
1 |
| parser.unpack_f |
|
1 |
2 |
15 |
1 |
| parser.install_f |
|
1 |
3 |
27 |
1 |
| parser.install_scripts_f |
|
1 |
2 |
11 |
1 |
| parser.convert_f |
|
1 |
2 |
19 |
1 |
| parser.version_f |
|
1 |
3 |
20 |
1 |
| parser.help_f |
|
1 |
2 |
10 |
1 |
| parser |
|
1 |
62 |
453 |
0 |
| main |
|
3 |
12 |
61 |
0 |
| Source file: ./pip/lib/python2.7/site-packages/setuptools/package_index.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| parse_requirement_arg |
|
2 |
7 |
27 |
1 |
| parse_bdist_wininst |
|
6 |
19 |
140 |
1 |
| egg_info_for_url |
|
4 |
9 |
96 |
1 |
| distros_for_url |
|
5 |
11 |
69 |
2 |
| distros_for_location |
|
11 |
26 |
185 |
3 |
| distros_for_filename |
|
1 |
4 |
29 |
2 |
| interpret_distro_name |
|
1 |
3 |
19 |
6 |
| unique_everseen |
|
5 |
14 |
72 |
2 |
| unique_values.wrapper |
|
1 |
2 |
21 |
2 |
| unique_values |
|
1 |
4 |
15 |
1 |
| find_external_links |
|
8 |
13 |
142 |
2 |
| feed |
|
1 |
2 |
9 |
2 |
| is_valid |
|
1 |
2 |
8 |
1 |
| report |
|
1 |
2 |
11 |
3 |
| __init__ |
|
1 |
4 |
29 |
3 |
| from_url |
|
3 |
9 |
58 |
2 |
| feed |
|
1 |
2 |
15 |
2 |
| is_valid |
|
1 |
2 |
17 |
1 |
| report |
|
1 |
3 |
21 |
3 |
| __init__ |
|
1 |
3 |
28 |
4 |
| process_url |
|
18 |
43 |
323 |
3 |
| process_filename |
|
6 |
12 |
109 |
3 |
| url_ok |
|
5 |
12 |
81 |
3 |
| scan_egg_links |
|
4 |
9 |
61 |
2 |
| scan_egg_link |
|
3 |
10 |
101 |
3 |
| process_index.scan |
|
4 |
11 |
112 |
1 |
| process_index |
|
8 |
22 |
142 |
3 |
| need_version_info |
|
1 |
5 |
16 |
2 |
| scan_all |
|
3 |
8 |
48 |
3 |
| find_packages |
|
4 |
8 |
93 |
2 |
| obtain |
|
3 |
8 |
63 |
3 |
| check_hash |
|
2 |
12 |
66 |
4 |
| add_find_links |
|
6 |
11 |
59 |
2 |
| prescan |
|
2 |
4 |
29 |
1 |
| not_found_in_index |
|
2 |
9 |
50 |
2 |
| download |
|
5 |
14 |
111 |
3 |
| fetch_distribution |
|
1 |
3 |
25 |
7 |
| find |
|
10 |
20 |
111 |
2 |
| fetch |
|
2 |
5 |
44 |
5 |
| gen_setup |
|
9 |
35 |
199 |
4 |
| _download_to |
|
7 |
33 |
202 |
3 |
| reporthook |
|
1 |
2 |
16 |
6 |
| open_url |
|
12 |
34 |
210 |
3 |
| _download_url |
|
10 |
21 |
179 |
4 |
| scan_url |
|
1 |
2 |
15 |
2 |
| _attempt_download |
|
2 |
6 |
50 |
3 |
| _download_html |
|
4 |
12 |
79 |
4 |
| _download_svn |
|
8 |
20 |
192 |
3 |
| _vcs_split_rev_from_url |
|
2 |
9 |
98 |
2 |
| _download_git |
|
2 |
12 |
87 |
3 |
| _download_hg |
|
2 |
12 |
87 |
3 |
| debug |
|
1 |
2 |
19 |
3 |
| info |
|
1 |
2 |
19 |
3 |
| warn |
|
1 |
2 |
19 |
3 |
| uchr |
|
3 |
6 |
33 |
1 |
| decode_entity |
|
3 |
9 |
79 |
1 |
| htmldecode |
|
1 |
2 |
13 |
1 |
| socket_timeout.socket_timeout._socket_timeout._socket_timeout |
|
2 |
7 |
41 |
2 |
| socket_timeout._socket_timeout |
|
1 |
3 |
9 |
1 |
| socket_timeout |
|
1 |
3 |
11 |
1 |
| _encode_auth |
|
1 |
6 |
47 |
1 |
| __init__ |
|
1 |
3 |
19 |
3 |
| __iter__ |
|
1 |
3 |
13 |
1 |
| __str__ |
|
1 |
2 |
12 |
1 |
| __init__ |
|
2 |
6 |
67 |
1 |
| creds_by_repository |
|
3 |
6 |
43 |
1 |
| _get_repo_cred |
|
1 |
6 |
53 |
2 |
| find_credential |
|
3 |
4 |
31 |
2 |
| open_with_auth |
|
9 |
30 |
249 |
2 |
| fix_sf_url |
|
1 |
2 |
7 |
1 |
| local_open |
|
7 |
27 |
226 |
1 |
| Source file: ./pip/lib/python2.7/site-packages/wheel/__init__.py |
| Source file: ./pip/lib/python2.7/site-packages/wheel/signatures/djbec.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| asbytes |
|
2 |
2 |
20 |
1 |
| joinbytes |
|
1 |
2 |
13 |
1 |
| bit |
|
1 |
2 |
16 |
2 |
| bit |
|
1 |
2 |
13 |
2 |
| H |
|
1 |
2 |
16 |
1 |
| expmod |
|
3 |
7 |
40 |
3 |
| inv |
|
1 |
2 |
16 |
1 |
| xrecover |
|
3 |
8 |
73 |
1 |
| xpt_add |
|
1 |
16 |
167 |
2 |
| xpt_double |
|
1 |
16 |
140 |
1 |
| pt_xform |
|
1 |
3 |
26 |
1 |
| pt_unxform |
|
1 |
3 |
38 |
1 |
| xpt_mult |
|
3 |
5 |
48 |
2 |
| scalarmult |
|
1 |
2 |
20 |
2 |
| encodeint |
|
4 |
5 |
64 |
1 |
| encodepoint |
|
4 |
7 |
84 |
1 |
| publickey |
|
2 |
5 |
58 |
1 |
| Hint |
|
2 |
3 |
34 |
1 |
| signature |
|
3 |
8 |
112 |
3 |
| isoncurve |
|
1 |
4 |
44 |
1 |
| decodeint |
|
2 |
2 |
28 |
1 |
| decodepoint |
|
4 |
9 |
77 |
1 |
| checkvalid |
|
3 |
12 |
106 |
3 |
| add |
|
1 |
7 |
74 |
3 |
| double |
|
1 |
5 |
58 |
1 |
| curve25519.f |
|
3 |
7 |
63 |
1 |
| curve25519 |
|
1 |
6 |
49 |
2 |
| genkey |
|
2 |
6 |
44 |
1 |
| dsa_test |
|
1 |
7 |
59 |
0 |
| dh_test |
|
1 |
4 |
34 |
0 |
| Source file: ./pip/lib/python2.7/site-packages/wheel/pep425tags.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| get_config_var |
|
2 |
6 |
34 |
1 |
| get_abbr_impl |
|
5 |
11 |
47 |
0 |
| get_impl_ver |
|
3 |
5 |
38 |
0 |
| get_impl_version_info |
|
2 |
6 |
49 |
0 |
| get_flag |
|
3 |
8 |
54 |
4 |
| get_abi_tag |
|
12 |
30 |
210 |
0 |
| get_platform |
|
3 |
5 |
44 |
0 |
| get_supported |
|
17 |
43 |
399 |
2 |
| Source file: ./pip/lib/python2.7/site-packages/wheel/pkginfo.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| read_pkg_info_bytes |
|
1 |
2 |
14 |
1 |
| read_pkg_info |
|
1 |
4 |
27 |
1 |
| write_pkg_info |
|
1 |
3 |
34 |
2 |
| read_pkg_info_bytes |
|
1 |
4 |
31 |
1 |
| read_pkg_info |
|
1 |
6 |
35 |
1 |
| write_pkg_info |
|
1 |
3 |
34 |
2 |
| Source file: ./pip/lib/python2.7/site-packages/wheel/wininst2wheel.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| parse_info |
|
8 |
23 |
174 |
2 |
| bdist_wininst2wheel |
|
18 |
71 |
480 |
2 |
| get_tag |
|
3 |
5 |
34 |
1 |
| main |
|
5 |
14 |
116 |
0 |
| Source file: ./pip/lib/python2.7/site-packages/setuptools/msvc.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| msvc9_find_vcvarsall |
|
5 |
16 |
100 |
1 |
| msvc9_query_vcvarsall |
|
4 |
13 |
80 |
4 |
| msvc14_get_vc_env |
|
3 |
10 |
59 |
1 |
| msvc14_gen_lib_options |
|
3 |
6 |
61 |
2 |
| _augment_exception |
|
7 |
20 |
127 |
3 |
| __init__ |
|
1 |
2 |
23 |
2 |
| target_cpu |
|
1 |
2 |
22 |
1 |
| target_is_x86 |
|
1 |
2 |
11 |
1 |
| current_is_x86 |
|
1 |
2 |
11 |
1 |
| current_dir |
|
5 |
6 |
48 |
3 |
| target_dir |
|
5 |
21 |
49 |
3 |
| cross_dir |
|
3 |
21 |
45 |
2 |
| __init__ |
|
1 |
2 |
12 |
2 |
| visualstudio |
|
1 |
2 |
8 |
1 |
| sxs |
|
1 |
2 |
19 |
1 |
| vc |
|
1 |
2 |
19 |
1 |
| vs |
|
1 |
2 |
19 |
1 |
| vc_for_python |
|
1 |
2 |
9 |
1 |
| microsoft_sdk |
|
1 |
2 |
8 |
1 |
| windows_sdk |
|
1 |
2 |
19 |
1 |
| netfx_sdk |
|
1 |
2 |
19 |
1 |
| windows_kits_roots |
|
1 |
2 |
9 |
1 |
| microsoft |
|
3 |
3 |
42 |
3 |
| lookup |
|
6 |
19 |
118 |
3 |
| __init__ |
|
2 |
4 |
36 |
3 |
| _find_latest_available_vc_ver |
|
2 |
6 |
32 |
1 |
| find_available_vc_vers |
|
10 |
26 |
179 |
1 |
| VSInstallDir |
|
2 |
4 |
48 |
1 |
| VCInstallDir |
|
5 |
11 |
117 |
1 |
| _guess_vc |
|
3 |
10 |
69 |
1 |
| _guess_vc_legacy |
|
1 |
3 |
27 |
1 |
| WindowsSdkVersion |
|
6 |
11 |
83 |
1 |
| WindowsSdkLastVersion |
|
1 |
3 |
24 |
1 |
| WindowsSdkDir |
|
15 |
28 |
253 |
1 |
| WindowsSDKExecutablePath |
|
8 |
20 |
163 |
1 |
| FSharpInstallDir |
|
2 |
4 |
43 |
1 |
| UniversalCRTSdkDir |
|
5 |
11 |
59 |
1 |
| UniversalCRTSdkLastVersion |
|
1 |
3 |
24 |
1 |
| NetFxSdkVersion |
|
2 |
5 |
26 |
1 |
| NetFxSdkDir |
|
4 |
7 |
49 |
1 |
| FrameworkDir32 |
|
2 |
3 |
38 |
1 |
| FrameworkDir64 |
|
2 |
3 |
38 |
1 |
| FrameworkVersion32 |
|
1 |
2 |
13 |
1 |
| FrameworkVersion64 |
|
1 |
2 |
13 |
1 |
| _find_dot_net_versions |
|
8 |
14 |
130 |
2 |
| _use_last_dir_name |
|
5 |
8 |
63 |
3 |
| __init__ |
|
2 |
7 |
64 |
4 |
| vc_ver |
|
1 |
2 |
12 |
1 |
| VSTools |
|
3 |
8 |
81 |
1 |
| VCIncludes |
|
1 |
3 |
39 |
1 |
| VCLibraries |
|
4 |
9 |
91 |
1 |
| VCStoreRefs |
|
2 |
4 |
36 |
1 |
| VCTools |
|
7 |
21 |
223 |
1 |
| OSLibraries |
|
2 |
9 |
104 |
1 |
| OSIncludes |
|
3 |
12 |
108 |
1 |
| OSLibpath |
|
4 |
37 |
168 |
1 |
| SdkTools |
|
1 |
2 |
15 |
1 |
| _sdk_tools |
|
9 |
22 |
228 |
1 |
| _sdk_subdir |
|
2 |
3 |
23 |
1 |
| SdkSetup |
|
2 |
4 |
35 |
1 |
| FxTools |
|
9 |
17 |
127 |
1 |
| NetFxSDKLibraries |
|
3 |
5 |
57 |
1 |
| NetFxSDKIncludes |
|
3 |
4 |
43 |
1 |
| VsTDb |
|
1 |
2 |
24 |
1 |
| MSBuild |
|
4 |
14 |
111 |
1 |
| HTMLHelpWorkshop |
|
2 |
4 |
35 |
1 |
| UCRTLibraries |
|
2 |
7 |
70 |
1 |
| UCRTIncludes |
|
2 |
5 |
51 |
1 |
| _ucrt_subdir |
|
2 |
3 |
23 |
1 |
| FSharp |
|
3 |
4 |
32 |
1 |
| VCRuntimeRedist |
|
3 |
11 |
93 |
1 |
| return_env |
|
3 |
36 |
183 |
2 |
| _build_paths |
|
3 |
10 |
107 |
4 |
| _unique_everseen |
|
5 |
13 |
70 |
3 |
| Source file: ./pip/lib/python2.7/site-packages/wheel/__main__.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
2 |
7 |
58 |
0 |
| Source file: ./pip/lib/python2.7/site-packages/wheel/egg2wheel.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| egg2wheel |
|
9 |
45 |
383 |
2 |
| main |
|
5 |
14 |
116 |
0 |
| Source file: ./pip/lib/python2.7/site-packages/wheel/paths.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| get_install_command |
|
1 |
5 |
32 |
1 |
| get_install_paths |
|
3 |
12 |
77 |
1 |
| Source file: ./pip/lib/python2.7/site-packages/wheel/decorator.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __init__ |
|
1 |
3 |
19 |
2 |
| __get__ |
|
2 |
6 |
40 |
3 |
| Source file: ./pip/lib/python2.7/site-packages/wheel/util.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| native |
|
1 |
2 |
7 |
1 |
| native |
|
2 |
4 |
22 |
1 |
| urlsafe_b64encode |
|
1 |
2 |
21 |
1 |
| urlsafe_b64decode |
|
1 |
3 |
32 |
1 |
| to_json |
|
1 |
2 |
17 |
1 |
| from_json |
|
1 |
2 |
13 |
1 |
| open_for_csv |
|
2 |
8 |
48 |
2 |
| utf8 |
|
2 |
4 |
23 |
1 |
| binary |
|
2 |
4 |
22 |
1 |
| __init__ |
|
1 |
5 |
43 |
4 |
| write |
|
1 |
4 |
31 |
2 |
| close |
|
1 |
2 |
12 |
1 |
| digest |
|
2 |
5 |
43 |
1 |
| __enter__ |
|
1 |
2 |
7 |
1 |
| __exit__ |
|
1 |
2 |
18 |
4 |
| __init__ |
|
4 |
9 |
76 |
3 |
| __missing__ |
|
2 |
5 |
33 |
2 |
| get_path |
|
1 |
5 |
45 |
1 |
| save_config_path |
|
2 |
6 |
44 |
1 |
| load_config_paths |
|
3 |
7 |
49 |
1 |
| save_config_path |
|
1 |
3 |
20 |
1 |
| load_config_paths |
|
1 |
3 |
20 |
1 |
| matches_requirement |
|
4 |
13 |
81 |
2 |
| Source file: ./pip/lib/python2.7/site-packages/wheel/metadata.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| unique |
|
3 |
6 |
30 |
1 |
| handle_requires.sort_key |
|
2 |
5 |
23 |
1 |
| handle_requires |
|
11 |
29 |
226 |
3 |
| pkginfo_to_dict |
|
35 |
88 |
687 |
2 |
| requires_to_requires_dist |
|
3 |
7 |
45 |
1 |
| convert_requirements |
|
3 |
8 |
55 |
1 |
| generate_requirements |
|
8 |
15 |
91 |
1 |
| pkginfo_to_metadata |
|
6 |
16 |
135 |
2 |
| pkginfo_unicode |
|
5 |
12 |
87 |
2 |
| dedent_description |
|
3 |
16 |
99 |
1 |
| Source file: ./pip/lib/python2.7/site-packages/wheel/bdist_wheel.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| safer_name |
|
1 |
2 |
17 |
1 |
| safer_version |
|
1 |
2 |
17 |
1 |
| initialize_options |
|
1 |
20 |
107 |
1 |
| finalize_options |
|
9 |
20 |
198 |
1 |
| wheel_dist_name |
|
2 |
6 |
51 |
1 |
| get_tag |
|
12 |
32 |
215 |
1 |
| get_archive_basename |
|
1 |
8 |
34 |
1 |
| run |
|
10 |
54 |
410 |
1 |
| write_wheelfile |
|
5 |
17 |
170 |
3 |
| _ensure_relative |
|
2 |
5 |
42 |
2 |
| _pkginfo_to_metadata |
|
1 |
2 |
18 |
3 |
| license_file |
|
2 |
5 |
32 |
1 |
| setupcfg_requirements |
|
5 |
12 |
78 |
1 |
| add_requirements |
|
5 |
12 |
73 |
2 |
| egg2dist.adios |
|
5 |
5 |
57 |
1 |
| egg2dist |
|
7 |
51 |
407 |
3 |
| write_record.walk |
|
3 |
5 |
42 |
0 |
| write_record.skip |
|
1 |
2 |
12 |
1 |
| write_record |
|
3 |
22 |
174 |
3 |
| Source file: ./pip/lib/python2.7/site-packages/wheel/archive.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| archive_wheelfile |
|
2 |
8 |
51 |
2 |
| make_wheelfile_inner.writefile |
|
2 |
11 |
95 |
2 |
| make_wheelfile_inner |
|
7 |
26 |
212 |
2 |
| Source file: ./pip/lib/python2.7/site-packages/easy_install.py |
| Source file: ./pip/lib/python2.7/genericpath.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| exists |
|
2 |
6 |
23 |
1 |
| isfile |
|
2 |
6 |
32 |
1 |
| isdir |
|
2 |
6 |
32 |
1 |
| getsize |
|
1 |
2 |
15 |
1 |
| getmtime |
|
1 |
2 |
15 |
1 |
| getatime |
|
1 |
2 |
15 |
1 |
| getctime |
|
1 |
2 |
15 |
1 |
| commonprefix |
|
4 |
9 |
50 |
1 |
| _splitext |
|
5 |
13 |
89 |
4 |
| Source file: ./pip/lib/python2.7/site-packages/wheel/install.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| parse_version |
|
2 |
7 |
30 |
1 |
| __init__ |
|
1 |
5 |
19 |
5 |
| __repr__ |
|
1 |
2 |
9 |
1 |
| distinfo_name |
|
1 |
2 |
16 |
1 |
| datadir_name |
|
1 |
2 |
16 |
1 |
| record_name |
|
1 |
2 |
17 |
1 |
| wheelinfo_name |
|
1 |
2 |
17 |
1 |
| tags |
|
4 |
6 |
62 |
1 |
| arity |
|
1 |
2 |
16 |
1 |
| rank |
|
1 |
2 |
17 |
1 |
| compatible |
|
1 |
2 |
14 |
1 |
| compatibility_rank |
|
4 |
10 |
59 |
2 |
| supports_current_python |
|
1 |
3 |
19 |
2 |
| _sort_key |
|
2 |
5 |
44 |
1 |
| __eq__ |
|
1 |
2 |
15 |
2 |
| __ne__ |
|
1 |
2 |
15 |
2 |
| __lt__ |
|
10 |
21 |
170 |
2 |
| __gt__ |
|
1 |
2 |
11 |
2 |
| __le__ |
|
2 |
2 |
15 |
2 |
| __ge__ |
|
2 |
2 |
15 |
2 |
| zipfile |
|
4 |
8 |
48 |
1 |
| parsed_wheel_info |
|
1 |
2 |
20 |
1 |
| check_version |
|
2 |
4 |
36 |
1 |
| install_paths |
|
1 |
3 |
21 |
1 |
| install.get_path |
|
2 |
2 |
19 |
1 |
| install |
|
20 |
72 |
561 |
3 |
| verify |
|
9 |
34 |
282 |
2 |
| __init__ |
|
1 |
3 |
21 |
5 |
| set_expected_hash |
|
1 |
2 |
18 |
3 |
| open._update_crc |
|
3 |
5 |
37 |
1 |
| open._update_crc |
|
3 |
5 |
43 |
2 |
| open |
|
8 |
23 |
145 |
4 |
| pop |
|
2 |
9 |
63 |
1 |
| Source file: ./pip/lib/python2.7/posixpath.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| normcase |
|
1 |
2 |
8 |
1 |
| isabs |
|
1 |
2 |
13 |
1 |
| join |
|
5 |
10 |
52 |
2 |
| split |
|
3 |
6 |
55 |
1 |
| splitext |
|
1 |
2 |
18 |
1 |
| splitdrive |
|
1 |
2 |
10 |
1 |
| basename |
|
1 |
3 |
22 |
1 |
| dirname |
|
3 |
6 |
45 |
1 |
| islink |
|
2 |
6 |
36 |
1 |
| lexists |
|
2 |
6 |
23 |
1 |
| samefile |
|
1 |
4 |
31 |
2 |
| sameopenfile |
|
1 |
4 |
31 |
2 |
| samestat |
|
2 |
3 |
25 |
2 |
| ismount |
|
5 |
17 |
83 |
1 |
| walk |
|
5 |
16 |
91 |
3 |
| expanduser |
|
7 |
21 |
126 |
1 |
| expandvars |
|
12 |
38 |
210 |
1 |
| normpath |
|
16 |
23 |
161 |
1 |
| abspath |
|
3 |
8 |
50 |
1 |
| realpath |
|
1 |
3 |
24 |
1 |
| _joinrealpath |
|
12 |
31 |
178 |
3 |
| relpath |
|
7 |
10 |
102 |
2 |
| Source file: ./pip/lib/python2.7/ntpath.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| normcase |
|
1 |
2 |
19 |
1 |
| isabs |
|
2 |
3 |
27 |
1 |
| join |
|
15 |
22 |
139 |
2 |
| splitdrive |
|
8 |
16 |
140 |
1 |
| splitunc |
|
7 |
16 |
117 |
1 |
| split |
|
6 |
11 |
86 |
1 |
| splitext |
|
1 |
2 |
18 |
1 |
| basename |
|
1 |
2 |
14 |
1 |
| dirname |
|
1 |
2 |
14 |
1 |
| islink |
|
1 |
2 |
8 |
1 |
| ismount |
|
3 |
6 |
50 |
1 |
| walk |
|
4 |
12 |
71 |
3 |
| expanduser |
|
9 |
21 |
145 |
1 |
| expandvars.getenv |
|
1 |
2 |
22 |
1 |
| expandvars.getenv |
|
1 |
2 |
12 |
1 |
| expandvars |
|
20 |
77 |
441 |
1 |
| normpath |
|
15 |
32 |
232 |
1 |
| abspath |
|
3 |
8 |
50 |
1 |
| abspath |
|
4 |
11 |
50 |
1 |
| _abspath_split |
|
4 |
7 |
59 |
1 |
| relpath |
|
8 |
24 |
159 |
2 |
| Source file: ./pip/lib/python2.7/sre_constants.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| makedict |
|
2 |
7 |
30 |
1 |
| dump |
|
2 |
5 |
55 |
3 |
| Source file: ./pip/lib/python2.7/warnings.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| warnpy3k |
|
3 |
5 |
37 |
3 |
| _show_warning |
|
4 |
9 |
63 |
6 |
| formatwarning |
|
11 |
25 |
157 |
5 |
| filterwarnings |
|
1 |
2 |
25 |
6 |
| simplefilter |
|
3 |
10 |
87 |
4 |
| resetwarnings |
|
1 |
2 |
12 |
0 |
| _processoptions |
|
3 |
6 |
31 |
1 |
| _setoption |
|
8 |
25 |
156 |
1 |
| _getaction |
|
5 |
8 |
55 |
1 |
| _getcategory |
|
7 |
24 |
143 |
1 |
| warn |
|
10 |
34 |
186 |
3 |
| warn_explicit |
|
1 |
2 |
23 |
7 |
| __init__ |
|
1 |
2 |
21 |
7 |
| __str__ |
|
1 |
4 |
32 |
1 |
| __init__ |
|
2 |
4 |
40 |
3 |
| __repr__ |
|
3 |
8 |
64 |
1 |
| __enter__.showwarning |
|
1 |
2 |
22 |
2 |
| __enter__ |
|
3 |
14 |
76 |
1 |
| __exit__ |
|
2 |
5 |
39 |
2 |
| Source file: ./pip/lib/python2.7/site-packages/setuptools/command/easy_install.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| is_64bit |
|
1 |
2 |
13 |
0 |
| samefile |
|
4 |
8 |
91 |
2 |
| _to_ascii |
|
1 |
2 |
7 |
1 |
| isascii |
|
2 |
6 |
22 |
1 |
| _to_ascii |
|
1 |
2 |
12 |
1 |
| isascii |
|
2 |
6 |
20 |
1 |
| initialize_options |
|
2 |
38 |
242 |
1 |
| delete_blockers |
|
4 |
6 |
45 |
2 |
| _delete_path |
|
4 |
7 |
54 |
2 |
| _render_version |
|
1 |
6 |
39 |
0 |
| finalize_options |
|
29 |
98 |
671 |
1 |
| _fix_install_dir_for_user_site |
|
4 |
10 |
69 |
1 |
| _expand_attrs |
|
5 |
8 |
67 |
2 |
| expand_basedirs |
|
1 |
2 |
18 |
1 |
| expand_dirs |
|
1 |
10 |
28 |
1 |
| run |
|
7 |
21 |
134 |
1 |
| pseudo_tempname |
|
2 |
6 |
45 |
1 |
| warn_deprecated_options |
|
1 |
2 |
6 |
1 |
| check_site_dir |
|
12 |
29 |
204 |
1 |
| cant_write_to_target |
|
2 |
7 |
60 |
1 |
| check_pth_processing |
|
12 |
53 |
290 |
1 |
| install_egg_scripts |
|
5 |
10 |
65 |
2 |
| add_output |
|
4 |
7 |
63 |
2 |
| not_editable |
|
2 |
7 |
23 |
2 |
| check_editable |
|
3 |
8 |
52 |
2 |
| _tmpdir |
|
3 |
6 |
45 |
1 |
| easy_install |
|
8 |
29 |
214 |
3 |
| install_item |
|
15 |
27 |
201 |
6 |
| select_scheme |
|
3 |
6 |
45 |
2 |
| process_distribution |
|
16 |
36 |
278 |
5 |
| should_unzip |
|
4 |
8 |
43 |
2 |
| maybe_move |
|
6 |
21 |
151 |
4 |
| install_wrapper_scripts |
|
3 |
5 |
34 |
2 |
| install_script |
|
2 |
7 |
72 |
5 |
| _load_template |
|
2 |
6 |
37 |
1 |
| write_script |
|
4 |
17 |
131 |
5 |
| install_eggs |
|
14 |
34 |
280 |
4 |
| egg_distribution |
|
2 |
7 |
58 |
2 |
| install_egg |
|
11 |
51 |
300 |
3 |
| install_exe |
|
6 |
35 |
277 |
3 |
| exe_to_egg.process |
|
8 |
19 |
183 |
2 |
| exe_to_egg |
|
6 |
28 |
228 |
3 |
| install_wheel |
|
6 |
28 |
182 |
3 |
| installation_report |
|
4 |
11 |
80 |
4 |
| report_editable |
|
1 |
4 |
34 |
3 |
| run_setup |
|
5 |
18 |
145 |
4 |
| build_and_install |
|
6 |
21 |
141 |
3 |
| _set_fetcher_options |
|
3 |
14 |
104 |
2 |
| update_pth |
|
12 |
29 |
219 |
2 |
| unpack_progress |
|
1 |
3 |
21 |
3 |
| unpack_and_compile.pf |
|
7 |
7 |
67 |
2 |
| unpack_and_compile |
|
3 |
10 |
71 |
3 |
| byte_compile |
|
4 |
14 |
85 |
2 |
| no_default_version_msg |
|
1 |
3 |
29 |
1 |
| install_site_py |
|
6 |
24 |
157 |
1 |
| create_home_path |
|
5 |
8 |
74 |
1 |
| _expand |
|
7 |
17 |
143 |
2 |
| _pythonpath |
|
1 |
3 |
30 |
0 |
| get_site_dirs |
|
13 |
49 |
278 |
0 |
| expand_paths |
|
11 |
27 |
168 |
1 |
| extract_wininst_cfg |
|
8 |
28 |
208 |
1 |
| get_exe_prefixes |
|
14 |
35 |
272 |
1 |
| __init__ |
|
2 |
8 |
91 |
3 |
| _load |
|
12 |
27 |
200 |
1 |
| save |
|
5 |
16 |
132 |
1 |
| _wrap_lines |
|
1 |
2 |
7 |
1 |
| add |
|
4 |
11 |
67 |
2 |
| remove |
|
2 |
5 |
40 |
2 |
| make_relative |
|
5 |
14 |
105 |
2 |
| _wrap_lines |
|
2 |
5 |
22 |
2 |
| _first_line_re |
|
2 |
4 |
30 |
0 |
| auto_chmod |
|
3 |
6 |
80 |
3 |
| update_dist_caches |
|
2 |
7 |
35 |
2 |
| _collect_zipimporter_cache_entries |
|
4 |
9 |
64 |
2 |
| _update_zipimporter_cache |
|
4 |
7 |
55 |
3 |
| _uncache |
|
1 |
2 |
13 |
2 |
| _remove_and_clear_zip_directory_cache_data.clear_and_remove_cached_zip_archive_directory_data |
|
1 |
2 |
12 |
2 |
| _remove_and_clear_zip_directory_cache_data |
|
1 |
5 |
19 |
1 |
| _replace_zip_directory_cache_data.replace_cached_zip_archive_directory_data |
|
1 |
5 |
31 |
2 |
| _replace_zip_directory_cache_data |
|
1 |
5 |
19 |
1 |
| is_python |
|
2 |
8 |
33 |
2 |
| is_sh |
|
2 |
7 |
43 |
1 |
| nt_quote_arg |
|
1 |
2 |
15 |
1 |
| is_python_script |
|
5 |
8 |
60 |
2 |
| _chmod |
|
1 |
2 |
7 |
1 |
| chmod |
|
2 |
6 |
40 |
2 |
| best |
|
1 |
2 |
8 |
1 |
| _sys_executable |
|
1 |
3 |
28 |
1 |
| from_param |
|
4 |
8 |
49 |
2 |
| from_environment |
|
1 |
2 |
16 |
1 |
| from_string |
|
1 |
3 |
26 |
2 |
| install_options |
|
2 |
5 |
48 |
2 |
| _extract_options |
|
3 |
5 |
50 |
1 |
| as_header |
|
1 |
2 |
19 |
1 |
| _strip_quotes |
|
4 |
6 |
38 |
1 |
| _render |
|
2 |
4 |
32 |
1 |
| get_script_args |
|
2 |
5 |
57 |
4 |
| get_script_header |
|
2 |
7 |
55 |
4 |
| get_args |
|
5 |
12 |
98 |
3 |
| _ensure_safe_name |
|
2 |
4 |
25 |
1 |
| get_writer |
|
2 |
3 |
29 |
2 |
| best |
|
4 |
5 |
37 |
1 |
| _get_script_args |
|
1 |
2 |
21 |
5 |
| get_header |
|
1 |
4 |
40 |
3 |
| get_writer |
|
1 |
3 |
19 |
1 |
| best |
|
1 |
7 |
36 |
1 |
| _get_script_args |
|
3 |
14 |
127 |
5 |
| _adjust_header |
|
3 |
8 |
70 |
3 |
| _use_header |
|
2 |
3 |
31 |
1 |
| _get_script_args |
|
4 |
19 |
117 |
5 |
| get_win_launcher |
|
2 |
7 |
45 |
1 |
| load_launcher_manifest |
|
2 |
6 |
39 |
1 |
| rmtree |
|
1 |
2 |
24 |
3 |
| current_umask |
|
1 |
4 |
20 |
0 |
| bootstrap |
|
1 |
6 |
40 |
0 |
| main._show_help |
|
1 |
3 |
28 |
3 |
| main |
|
3 |
15 |
82 |
2 |
| _patch_usage.gen_usage |
|
1 |
4 |
22 |
1 |
| _patch_usage |
|
2 |
13 |
48 |
0 |
| Source file: ./pip/lib/python2.7/fnmatch.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _purge |
|
1 |
2 |
10 |
0 |
| fnmatch |
|
1 |
5 |
37 |
2 |
| filter |
|
8 |
21 |
126 |
2 |
| fnmatchcase |
|
3 |
9 |
61 |
2 |
| translate |
|
14 |
31 |
201 |
1 |
| Source file: ./pip/lib/python2.7/UserDict.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __init__ |
|
7 |
23 |
122 |
2 |
| __cmp__ |
|
2 |
5 |
37 |
2 |
| __getitem__ |
|
3 |
6 |
47 |
2 |
| copy |
|
3 |
12 |
61 |
1 |
| update |
|
11 |
28 |
176 |
2 |
| get |
|
2 |
4 |
24 |
3 |
| setdefault |
|
2 |
4 |
28 |
3 |
| pop |
|
1 |
2 |
22 |
3 |
| popitem |
|
1 |
2 |
13 |
1 |
| __contains__ |
|
1 |
2 |
13 |
2 |
| fromkeys |
|
2 |
5 |
29 |
3 |
| __iter__ |
|
1 |
2 |
12 |
1 |
| __iter__ |
|
2 |
3 |
16 |
1 |
| has_key |
|
2 |
6 |
20 |
2 |
| __contains__ |
|
1 |
2 |
14 |
2 |
| iteritems |
|
2 |
3 |
19 |
1 |
| iterkeys |
|
1 |
2 |
11 |
1 |
| itervalues |
|
2 |
3 |
18 |
1 |
| values |
|
2 |
2 |
19 |
1 |
| items |
|
1 |
2 |
14 |
1 |
| clear |
|
2 |
3 |
19 |
1 |
| setdefault |
|
2 |
6 |
29 |
3 |
| pop |
|
4 |
12 |
60 |
3 |
| popitem |
|
2 |
7 |
38 |
1 |
| update |
|
8 |
14 |
93 |
3 |
| get |
|
2 |
5 |
23 |
3 |
| __repr__ |
|
1 |
2 |
17 |
1 |
| __cmp__ |
|
3 |
6 |
46 |
2 |
| __len__ |
|
1 |
2 |
14 |
1 |
| Source file: ./pip/lib/python2.7/sre.py |
| Source file: ./pip/lib/python2.7/site-packages/lizard.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| analyze |
|
1 |
2 |
25 |
6 |
| _extension_arg |
|
1 |
11 |
30 |
1 |
| arg_parser.__init__ |
|
1 |
2 |
32 |
5 |
| arg_parser.__call__ |
|
2 |
5 |
70 |
5 |
| arg_parser |
|
2 |
143 |
538 |
1 |
| name_in_space |
|
1 |
2 |
7 |
1 |
| __init__ |
|
1 |
2 |
12 |
2 |
| name_in_space |
|
2 |
2 |
17 |
1 |
| __init__ |
|
1 |
15 |
89 |
5 |
| name_in_space |
|
1 |
2 |
11 |
1 |
| unqualified_name |
|
1 |
2 |
19 |
1 |
| add_to_function_name |
|
1 |
3 |
17 |
2 |
| add_to_long_name |
|
1 |
2 |
12 |
2 |
| add_parameter |
|
3 |
6 |
44 |
2 |
| __init__ |
|
2 |
5 |
36 |
4 |
| functions_average |
|
3 |
3 |
39 |
2 |
| __init__ |
|
1 |
4 |
22 |
1 |
| with_namespace |
|
2 |
2 |
28 |
2 |
| add_bare_nesting |
|
1 |
2 |
17 |
1 |
| add_namespace |
|
1 |
3 |
23 |
2 |
| start_new_function_nesting |
|
1 |
2 |
12 |
2 |
| _create_nesting |
|
2 |
6 |
22 |
1 |
| pop_nesting |
|
2 |
4 |
23 |
1 |
| current_nesting_level |
|
1 |
2 |
12 |
1 |
| last_function |
|
4 |
3 |
33 |
1 |
| __init__ |
|
1 |
8 |
58 |
2 |
| __getattr__ |
|
1 |
2 |
16 |
2 |
| pop_nesting |
|
3 |
9 |
56 |
1 |
| add_nloc |
|
1 |
7 |
55 |
2 |
| try_new_function |
|
1 |
6 |
39 |
2 |
| confirm_new_function |
|
1 |
3 |
18 |
1 |
| start_new_function |
|
1 |
3 |
18 |
2 |
| add_condition |
|
1 |
2 |
16 |
2 |
| reset_complexity |
|
1 |
2 |
12 |
1 |
| add_to_long_function_name |
|
1 |
2 |
15 |
2 |
| add_to_function_name |
|
1 |
2 |
15 |
2 |
| parameter |
|
1 |
2 |
15 |
2 |
| end_of_function |
|
2 |
5 |
35 |
1 |
| preprocessing |
|
5 |
4 |
41 |
2 |
| comment_counter |
|
5 |
10 |
64 |
2 |
| line_counter |
|
3 |
14 |
66 |
2 |
| token_counter |
|
2 |
6 |
33 |
2 |
| condition_counter |
|
3 |
6 |
31 |
2 |
| __init__ |
|
1 |
2 |
12 |
2 |
| __call__ |
|
4 |
15 |
71 |
2 |
| analyze_source_code |
|
4 |
9 |
66 |
3 |
| warning_filter |
|
6 |
7 |
49 |
2 |
| whitelist_filter._get_whitelist_item |
|
3 |
9 |
79 |
1 |
| whitelist_filter._in_list |
|
2 |
3 |
19 |
1 |
| whitelist_filter._match_whitelist_item |
|
2 |
3 |
33 |
2 |
| whitelist_filter.get_whitelist |
|
3 |
7 |
47 |
1 |
| whitelist_filter |
|
5 |
13 |
69 |
3 |
| __init__ |
|
2 |
23 |
130 |
2 |
| patch_for_extensions._patch |
|
1 |
3 |
26 |
1 |
| patch_for_extensions |
|
3 |
5 |
26 |
1 |
| any_regression |
|
2 |
2 |
21 |
1 |
| any_silent |
|
2 |
2 |
21 |
1 |
| value_columns |
|
2 |
2 |
18 |
1 |
| _ext_member_info |
|
4 |
9 |
73 |
1 |
| captions |
|
4 |
3 |
34 |
1 |
| _head |
|
1 |
2 |
28 |
1 |
| function_info_head |
|
1 |
2 |
16 |
1 |
| function_info |
|
3 |
4 |
47 |
2 |
| average_captions |
|
3 |
4 |
32 |
1 |
| average_formatter |
|
3 |
6 |
46 |
1 |
| clang_warning_format |
|
2 |
8 |
47 |
1 |
| msvs_warning_format |
|
2 |
8 |
47 |
1 |
| print_warnings |
|
5 |
16 |
110 |
3 |
| print_no_warnings |
|
2 |
5 |
52 |
1 |
| print_total |
|
8 |
24 |
160 |
4 |
| print_and_save_modules |
|
11 |
31 |
173 |
3 |
| get_warnings |
|
3 |
7 |
67 |
2 |
| print_result |
|
3 |
9 |
73 |
3 |
| silent_printer |
|
2 |
4 |
17 |
2 |
| print_clang_style_warning |
|
2 |
6 |
42 |
3 |
| print_msvs_style_warning |
|
2 |
6 |
42 |
3 |
| get_map_method |
|
3 |
9 |
35 |
1 |
| map_files_to_analyzer |
|
1 |
3 |
22 |
3 |
| md5_hash_file |
|
5 |
14 |
82 |
1 |
| get_all_source_files._support |
|
2 |
3 |
20 |
1 |
| get_all_source_files._validate_file |
|
6 |
7 |
46 |
1 |
| get_all_source_files._not_duplicate |
|
3 |
5 |
28 |
1 |
| get_all_source_files.all_listed_files |
|
5 |
8 |
58 |
1 |
| get_all_source_files |
|
1 |
7 |
33 |
3 |
| parse_args.extend_parser |
|
3 |
10 |
66 |
1 |
| parse_args |
|
9 |
23 |
226 |
1 |
| get_extensions.expand_extensions |
|
4 |
11 |
62 |
1 |
| get_extensions |
|
1 |
10 |
29 |
1 |
| main |
|
6 |
19 |
124 |
1 |
| Source file: ./pip/lib/python2.7/abc.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| abstractmethod |
|
1 |
3 |
13 |
1 |
| __new__ |
|
6 |
16 |
138 |
4 |
| register |
|
4 |
9 |
63 |
2 |
| _dump_registry |
|
3 |
7 |
78 |
2 |
| __instancecheck__ |
|
9 |
15 |
97 |
2 |
| __subclasscheck__ |
|
11 |
29 |
178 |
2 |
| Source file: ./pip/lib/python2.7/copy_reg.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pickle |
|
4 |
8 |
54 |
3 |
| constructor |
|
2 |
3 |
19 |
1 |
| pickle_complex |
|
1 |
2 |
17 |
1 |
| _reconstructor |
|
3 |
8 |
53 |
3 |
| _reduce_ex |
|
10 |
30 |
144 |
2 |
| __newobj__ |
|
1 |
2 |
18 |
2 |
| _slotnames |
|
11 |
25 |
141 |
1 |
| add_extension |
|
6 |
16 |
107 |
3 |
| remove_extension |
|
4 |
10 |
69 |
3 |
| clear_extension_cache |
|
1 |
2 |
9 |
0 |
| Source file: ./pip/lib/python2.7/linecache.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| getline |
|
2 |
6 |
40 |
3 |
| clearcache |
|
1 |
3 |
11 |
0 |
| getlines |
|
3 |
8 |
41 |
2 |
| checkcache |
|
8 |
19 |
97 |
1 |
| updatecache |
|
20 |
51 |
297 |
2 |
| Source file: ./pip/lib/python2.7/_weakrefset.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __init__ |
|
1 |
2 |
15 |
2 |
| __enter__ |
|
2 |
5 |
28 |
1 |
| __exit__ |
|
3 |
7 |
44 |
4 |
| __init__._remove |
|
3 |
7 |
46 |
2 |
| __init__ |
|
2 |
8 |
48 |
2 |
| _commit_removals |
|
2 |
5 |
28 |
1 |
| __iter__ |
|
3 |
6 |
31 |
1 |
| __len__ |
|
1 |
2 |
19 |
1 |
| __contains__ |
|
2 |
6 |
26 |
2 |
| __reduce__ |
|
1 |
3 |
28 |
1 |
| add |
|
2 |
4 |
32 |
2 |
| clear |
|
2 |
4 |
22 |
1 |
| copy |
|
1 |
2 |
12 |
1 |
| pop |
|
5 |
11 |
50 |
1 |
| remove |
|
2 |
4 |
28 |
2 |
| discard |
|
2 |
4 |
28 |
2 |
| update |
|
3 |
5 |
28 |
2 |
| __ior__ |
|
1 |
3 |
15 |
2 |
| difference |
|
1 |
4 |
22 |
2 |
| difference_update |
|
1 |
2 |
13 |
2 |
| __isub__ |
|
4 |
8 |
48 |
2 |
| intersection |
|
3 |
2 |
22 |
2 |
| intersection_update |
|
1 |
2 |
13 |
2 |
| __iand__ |
|
3 |
5 |
34 |
2 |
| issubset |
|
2 |
2 |
23 |
2 |
| __lt__ |
|
2 |
2 |
23 |
2 |
| issuperset |
|
2 |
2 |
23 |
2 |
| __gt__ |
|
2 |
2 |
23 |
2 |
| __eq__ |
|
3 |
4 |
36 |
2 |
| __ne__ |
|
2 |
5 |
25 |
2 |
| symmetric_difference |
|
1 |
4 |
22 |
2 |
| symmetric_difference_update |
|
1 |
2 |
13 |
2 |
| __ixor__ |
|
4 |
8 |
52 |
2 |
| union |
|
3 |
2 |
26 |
2 |
| isdisjoint |
|
1 |
2 |
19 |
2 |
| Source file: ./pip/lib/python2.7/codecs.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __new__ |
|
2 |
14 |
99 |
9 |
| __repr__ |
|
1 |
2 |
30 |
1 |
| encode |
|
1 |
2 |
14 |
3 |
| decode |
|
1 |
2 |
14 |
3 |
| __init__ |
|
1 |
3 |
20 |
2 |
| encode |
|
1 |
2 |
14 |
3 |
| reset |
|
1 |
1 |
6 |
1 |
| getstate |
|
1 |
2 |
8 |
1 |
| setstate |
|
1 |
1 |
8 |
2 |
| __init__ |
|
1 |
3 |
22 |
2 |
| _buffer_encode |
|
1 |
2 |
13 |
4 |
| encode |
|
1 |
5 |
47 |
3 |
| reset |
|
1 |
3 |
16 |
1 |
| getstate |
|
2 |
2 |
11 |
1 |
| setstate |
|
2 |
2 |
14 |
2 |
| __init__ |
|
1 |
2 |
15 |
2 |
| decode |
|
1 |
2 |
14 |
3 |
| reset |
|
1 |
1 |
6 |
1 |
| getstate |
|
1 |
2 |
13 |
1 |
| setstate |
|
1 |
1 |
8 |
2 |
| __init__ |
|
1 |
3 |
22 |
2 |
| _buffer_decode |
|
1 |
2 |
13 |
4 |
| decode |
|
1 |
5 |
47 |
3 |
| reset |
|
1 |
3 |
16 |
1 |
| getstate |
|
1 |
2 |
13 |
1 |
| setstate |
|
1 |
2 |
15 |
2 |
| __init__ |
|
1 |
3 |
22 |
3 |
| write |
|
1 |
3 |
30 |
2 |
| writelines |
|
1 |
2 |
19 |
2 |
| reset |
|
1 |
2 |
7 |
1 |
| seek |
|
3 |
4 |
35 |
3 |
| __getattr__ |
|
1 |
2 |
11 |
3 |
| __enter__ |
|
1 |
2 |
7 |
1 |
| __exit__ |
|
1 |
2 |
18 |
4 |
| __init__ |
|
1 |
6 |
37 |
3 |
| decode |
|
1 |
2 |
13 |
3 |
| read |
|
13 |
37 |
232 |
4 |
| readline |
|
19 |
48 |
306 |
3 |
| readlines |
|
1 |
3 |
28 |
3 |
| reset |
|
1 |
4 |
22 |
1 |
| seek |
|
1 |
3 |
27 |
3 |
| next |
|
2 |
5 |
20 |
1 |
| __iter__ |
|
1 |
2 |
7 |
1 |
| __getattr__ |
|
1 |
2 |
11 |
3 |
| __enter__ |
|
1 |
2 |
7 |
1 |
| __exit__ |
|
1 |
2 |
18 |
4 |
| __init__ |
|
1 |
5 |
46 |
5 |
| read |
|
1 |
2 |
19 |
2 |
| readline |
|
1 |
2 |
18 |
2 |
| readlines |
|
1 |
2 |
18 |
2 |
| next |
|
1 |
2 |
14 |
1 |
| __iter__ |
|
1 |
2 |
7 |
1 |
| write |
|
1 |
2 |
16 |
2 |
| writelines |
|
1 |
2 |
16 |
2 |
| reset |
|
1 |
3 |
19 |
1 |
| seek |
|
3 |
5 |
44 |
3 |
| __getattr__ |
|
1 |
2 |
11 |
3 |
| __enter__ |
|
1 |
2 |
7 |
1 |
| __exit__ |
|
1 |
2 |
18 |
4 |
| __init__ |
|
1 |
2 |
19 |
7 |
| read |
|
1 |
4 |
36 |
2 |
| readline |
|
2 |
7 |
51 |
2 |
| readlines |
|
1 |
4 |
39 |
2 |
| next |
|
1 |
4 |
31 |
1 |
| __iter__ |
|
1 |
2 |
7 |
1 |
| write |
|
1 |
3 |
30 |
2 |
| writelines |
|
1 |
4 |
38 |
2 |
| reset |
|
1 |
3 |
19 |
1 |
| __getattr__ |
|
1 |
2 |
11 |
3 |
| __enter__ |
|
1 |
2 |
7 |
1 |
| __exit__ |
|
1 |
2 |
18 |
4 |
| open |
|
6 |
15 |
124 |
5 |
| EncodedFile |
|
2 |
10 |
72 |
4 |
| getencoder |
|
1 |
2 |
13 |
1 |
| getdecoder |
|
1 |
2 |
13 |
1 |
| getincrementalencoder |
|
2 |
5 |
26 |
1 |
| getincrementaldecoder |
|
2 |
5 |
26 |
1 |
| getreader |
|
1 |
2 |
13 |
1 |
| getwriter |
|
1 |
2 |
13 |
1 |
| iterencode |
|
4 |
9 |
60 |
4 |
| iterdecode |
|
4 |
9 |
60 |
4 |
| make_identity_dict |
|
2 |
5 |
23 |
1 |
| make_encoding_map |
|
3 |
8 |
43 |
1 |
| Source file: ./pip/lib/python2.7/_abcoll.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _hasattr |
|
3 |
5 |
34 |
2 |
| __hash__ |
|
1 |
2 |
7 |
1 |
| __subclasshook__ |
|
7 |
12 |
56 |
2 |
| __iter__ |
|
2 |
3 |
10 |
1 |
| __subclasshook__ |
|
3 |
5 |
24 |
2 |
| next |
|
1 |
3 |
8 |
1 |
| __iter__ |
|
1 |
2 |
7 |
1 |
| __subclasshook__ |
|
4 |
5 |
31 |
2 |
| __len__ |
|
1 |
2 |
7 |
1 |
| __subclasshook__ |
|
3 |
5 |
24 |
2 |
| __contains__ |
|
1 |
2 |
9 |
2 |
| __subclasshook__ |
|
3 |
5 |
24 |
2 |
| __call__ |
|
1 |
2 |
13 |
3 |
| __subclasshook__ |
|
3 |
5 |
24 |
2 |
| __le__ |
|
5 |
9 |
46 |
2 |
| __lt__ |
|
3 |
4 |
35 |
2 |
| __gt__ |
|
3 |
4 |
35 |
2 |
| __ge__ |
|
5 |
9 |
46 |
2 |
| __eq__ |
|
3 |
4 |
35 |
2 |
| __ne__ |
|
1 |
2 |
14 |
2 |
| _from_iterable |
|
1 |
2 |
13 |
2 |
| __and__ |
|
4 |
4 |
33 |
2 |
| isdisjoint |
|
3 |
6 |
22 |
2 |
| __or__ |
|
4 |
5 |
42 |
2 |
| __sub__ |
|
5 |
7 |
51 |
2 |
| __rsub__ |
|
5 |
7 |
51 |
2 |
| __xor__ |
|
3 |
6 |
47 |
2 |
| _hash |
|
4 |
17 |
97 |
1 |
| add |
|
1 |
2 |
10 |
2 |
| discard |
|
1 |
2 |
10 |
2 |
| remove |
|
2 |
4 |
25 |
2 |
| pop |
|
2 |
8 |
33 |
1 |
| clear |
|
3 |
6 |
20 |
1 |
| __ior__ |
|
2 |
4 |
20 |
2 |
| __iand__ |
|
2 |
4 |
24 |
2 |
| __ixor__ |
|
5 |
12 |
62 |
2 |
| __isub__ |
|
3 |
7 |
32 |
2 |
| __getitem__ |
|
1 |
2 |
9 |
2 |
| get |
|
2 |
6 |
24 |
3 |
| __contains__ |
|
2 |
7 |
22 |
2 |
| iterkeys |
|
1 |
3 |
11 |
1 |
| itervalues |
|
2 |
4 |
16 |
1 |
| iteritems |
|
2 |
4 |
20 |
1 |
| keys |
|
1 |
3 |
11 |
1 |
| items |
|
2 |
3 |
21 |
1 |
| values |
|
2 |
3 |
17 |
1 |
| __eq__ |
|
2 |
4 |
36 |
2 |
| __ne__ |
|
1 |
2 |
14 |
2 |
| __init__ |
|
1 |
2 |
12 |
2 |
| __len__ |
|
1 |
2 |
12 |
1 |
| __repr__ |
|
1 |
2 |
12 |
1 |
| _from_iterable |
|
1 |
2 |
12 |
2 |
| __contains__ |
|
1 |
2 |
13 |
2 |
| __iter__ |
|
2 |
3 |
14 |
1 |
| _from_iterable |
|
1 |
2 |
12 |
2 |
| __contains__ |
|
2 |
8 |
33 |
2 |
| __iter__ |
|
2 |
3 |
23 |
1 |
| __contains__ |
|
3 |
5 |
28 |
2 |
| __iter__ |
|
2 |
3 |
19 |
1 |
| __setitem__ |
|
1 |
2 |
11 |
3 |
| __delitem__ |
|
1 |
2 |
9 |
2 |
| pop |
|
3 |
10 |
42 |
3 |
| popitem |
|
2 |
8 |
37 |
1 |
| clear |
|
3 |
7 |
20 |
1 |
| update |
|
10 |
22 |
140 |
2 |
| setdefault |
|
2 |
7 |
30 |
3 |
| __getitem__ |
|
1 |
2 |
9 |
2 |
| __iter__ |
|
3 |
9 |
28 |
1 |
| __contains__ |
|
3 |
5 |
21 |
2 |
| __reversed__ |
|
2 |
3 |
24 |
1 |
| index |
|
3 |
5 |
27 |
2 |
| count |
|
3 |
3 |
21 |
2 |
| __setitem__ |
|
1 |
2 |
11 |
3 |
| __delitem__ |
|
1 |
2 |
9 |
2 |
| insert |
|
1 |
3 |
12 |
3 |
| append |
|
1 |
3 |
19 |
2 |
| reverse |
|
2 |
5 |
46 |
1 |
| extend |
|
2 |
4 |
19 |
2 |
| pop |
|
1 |
4 |
24 |
2 |
| remove |
|
1 |
2 |
18 |
2 |
| __iadd__ |
|
1 |
3 |
15 |
2 |
| Source file: ./pip/lib/python2.7/types.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _g |
|
1 |
2 |
6 |
0 |
| Source file: ./pip/lib/python2.7/stat.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| S_IMODE |
|
1 |
2 |
9 |
1 |
| S_IFMT |
|
1 |
2 |
9 |
1 |
| S_ISDIR |
|
1 |
2 |
12 |
1 |
| S_ISCHR |
|
1 |
2 |
12 |
1 |
| S_ISBLK |
|
1 |
2 |
12 |
1 |
| S_ISREG |
|
1 |
2 |
12 |
1 |
| S_ISFIFO |
|
1 |
2 |
12 |
1 |
| S_ISLNK |
|
1 |
2 |
12 |
1 |
| S_ISSOCK |
|
1 |
2 |
12 |
1 |
| Source file: ./pip/lib/python2.7/sre_compile.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _compile.fixup |
|
1 |
2 |
18 |
2 |
| _compile |
|
43 |
159 |
1109 |
3 |
| _compile_charset |
|
10 |
26 |
160 |
5 |
| _optimize_charset |
|
36 |
97 |
580 |
4 |
| _fixup_range |
|
7 |
17 |
117 |
4 |
| _mk_bitmap |
|
2 |
4 |
60 |
3 |
| _bytes_to_codes |
|
2 |
10 |
63 |
1 |
| _simple |
|
2 |
3 |
36 |
1 |
| _compile_info |
|
33 |
90 |
538 |
3 |
| isstring |
|
3 |
5 |
22 |
1 |
| _code |
|
1 |
7 |
49 |
2 |
| compile |
|
4 |
20 |
119 |
2 |
| Source file: ./pip/lib/python2.7/re.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| match |
|
1 |
2 |
24 |
3 |
| search |
|
1 |
2 |
24 |
3 |
| sub |
|
1 |
2 |
34 |
5 |
| subn |
|
1 |
2 |
34 |
5 |
| split |
|
1 |
2 |
30 |
4 |
| findall |
|
1 |
2 |
24 |
3 |
| finditer |
|
1 |
2 |
24 |
3 |
| compile |
|
1 |
3 |
17 |
2 |
| purge |
|
1 |
4 |
15 |
0 |
| template |
|
1 |
3 |
19 |
2 |
| escape |
|
4 |
11 |
63 |
1 |
| _compile |
|
13 |
32 |
173 |
1 |
| _compile_repl |
|
4 |
13 |
69 |
1 |
| _expand |
|
1 |
3 |
28 |
3 |
| _subx.filter |
|
1 |
2 |
18 |
2 |
| _subx |
|
3 |
6 |
44 |
2 |
| _pickle |
|
1 |
2 |
17 |
1 |
| __init__ |
|
2 |
13 |
121 |
3 |
| scan |
|
6 |
20 |
118 |
2 |
| Source file: ./pip/bin/activate_this.py |
| Source file: ./usr.bin/du/du.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
40 |
129 |
660 |
2 |
| links_cmp |
|
5 |
11 |
75 |
2 |
| linkchk |
|
7 |
41 |
235 |
1 |
| prtout |
|
3 |
12 |
78 |
3 |
| usage |
|
1 |
6 |
21 |
1 |
| Source file: ./pip/lib/python2.7/site.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| makepath |
|
4 |
7 |
58 |
1 |
| abs__file__ |
|
6 |
9 |
67 |
0 |
| removeduppaths |
|
3 |
10 |
57 |
0 |
| addbuilddir |
|
2 |
7 |
68 |
0 |
| _init_pathinfo |
|
4 |
10 |
49 |
0 |
| addpackage |
|
10 |
28 |
142 |
3 |
| addsitedir |
|
7 |
20 |
104 |
2 |
| addsitepackages |
|
22 |
64 |
572 |
3 |
| check_enableusersite |
|
9 |
10 |
88 |
0 |
| addusersitepackages.joinuser |
|
1 |
2 |
23 |
1 |
| addusersitepackages |
|
10 |
31 |
203 |
1 |
| setBEGINLIBPATH |
|
2 |
8 |
69 |
0 |
| setquit.__init__ |
|
1 |
2 |
12 |
2 |
| setquit.__repr__ |
|
1 |
2 |
15 |
1 |
| setquit.__call__ |
|
2 |
6 |
26 |
2 |
| setquit |
|
3 |
13 |
58 |
0 |
| __init__ |
|
1 |
6 |
44 |
4 |
| __setup |
|
7 |
20 |
100 |
1 |
| __repr__ |
|
2 |
6 |
46 |
1 |
| __call__ |
|
8 |
22 |
99 |
1 |
| setcopyright |
|
3 |
19 |
108 |
0 |
| __repr__ |
|
1 |
3 |
9 |
1 |
| __call__ |
|
1 |
3 |
24 |
3 |
| sethelper |
|
1 |
2 |
11 |
0 |
| aliasmbcs |
|
4 |
11 |
67 |
0 |
| setencoding |
|
5 |
11 |
49 |
0 |
| execsitecustomize |
|
2 |
5 |
13 |
0 |
| virtual_install_main_packages |
|
21 |
59 |
542 |
0 |
| force_global_eggs_after_local_site_packages |
|
4 |
6 |
51 |
0 |
| virtual_addsitepackages |
|
1 |
3 |
19 |
1 |
| fixclasspath |
|
4 |
10 |
59 |
0 |
| execusercustomize |
|
2 |
5 |
13 |
0 |
| main |
|
11 |
31 |
167 |
0 |
| _script.exists |
|
2 |
5 |
21 |
1 |
| _script |
|
9 |
45 |
195 |
0 |
| Source file: ./pip/lib/python2.7/os.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _get_exports_list |
|
4 |
5 |
35 |
1 |
| makedirs |
|
8 |
13 |
82 |
2 |
| removedirs |
|
5 |
11 |
59 |
1 |
| renames |
|
7 |
11 |
66 |
2 |
| walk |
|
11 |
23 |
155 |
4 |
| execl |
|
1 |
2 |
15 |
2 |
| execle |
|
1 |
3 |
29 |
2 |
| execlp |
|
1 |
2 |
15 |
2 |
| execlpe |
|
1 |
3 |
29 |
2 |
| execvp |
|
1 |
2 |
14 |
2 |
| execvpe |
|
1 |
2 |
18 |
3 |
| _execvpe |
|
10 |
32 |
175 |
3 |
| unsetenv |
|
1 |
2 |
11 |
1 |
| __init__ |
|
2 |
5 |
41 |
2 |
| __setitem__ |
|
1 |
3 |
27 |
3 |
| __getitem__ |
|
1 |
2 |
18 |
2 |
| __delitem__ |
|
1 |
2 |
18 |
2 |
| __delitem__ |
|
1 |
3 |
22 |
2 |
| clear |
|
2 |
4 |
27 |
1 |
| pop |
|
1 |
3 |
30 |
3 |
| has_key |
|
1 |
2 |
17 |
2 |
| __contains__ |
|
1 |
2 |
17 |
2 |
| get |
|
1 |
2 |
26 |
3 |
| update |
|
6 |
12 |
65 |
3 |
| copy |
|
1 |
2 |
10 |
1 |
| __init__ |
|
1 |
3 |
20 |
2 |
| __setitem__ |
|
1 |
3 |
23 |
3 |
| update |
|
6 |
12 |
65 |
3 |
| __delitem__ |
|
1 |
3 |
18 |
2 |
| clear |
|
2 |
4 |
27 |
1 |
| pop |
|
1 |
3 |
26 |
3 |
| copy |
|
1 |
2 |
10 |
1 |
| getenv |
|
1 |
2 |
19 |
2 |
| _exists |
|
1 |
2 |
11 |
1 |
| _spawnvef |
|
9 |
23 |
109 |
5 |
| spawnv |
|
1 |
2 |
23 |
3 |
| spawnve |
|
1 |
2 |
25 |
4 |
| spawnvp |
|
1 |
2 |
23 |
3 |
| spawnvpe |
|
1 |
2 |
25 |
4 |
| spawnl |
|
1 |
2 |
20 |
3 |
| spawnle |
|
1 |
3 |
34 |
3 |
| spawnlp |
|
1 |
2 |
20 |
3 |
| spawnlpe |
|
1 |
3 |
34 |
3 |
| popen2 |
|
1 |
10 |
80 |
3 |
| popen3 |
|
1 |
10 |
88 |
3 |
| popen4 |
|
1 |
10 |
86 |
3 |
| _make_stat_result |
|
1 |
2 |
14 |
2 |
| _pickle_stat_result |
|
1 |
3 |
22 |
1 |
| _make_statvfs_result |
|
1 |
2 |
14 |
2 |
| _pickle_statvfs_result |
|
1 |
3 |
22 |
1 |
| Source file: ./usr.bin/finger/extern.h |
| Source file: ./usr.bin/finger/net.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| netfinger |
|
18 |
74 |
456 |
1 |
| Source file: ./usr.bin/finger/finger.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
22 |
69 |
334 |
2 |
| loginlist |
|
8 |
25 |
180 |
1 |
| userlist |
|
26 |
66 |
516 |
2 |
| Source file: ./pip/lib/python2.7/locale.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| localeconv |
|
1 |
19 |
82 |
0 |
| setlocale |
|
2 |
4 |
28 |
2 |
| strcoll |
|
1 |
2 |
15 |
2 |
| strxfrm |
|
1 |
2 |
8 |
1 |
| localeconv |
|
2 |
5 |
20 |
0 |
| _grouping_intervals |
|
6 |
12 |
44 |
1 |
| _group |
|
11 |
28 |
173 |
2 |
| _strip_padding |
|
5 |
10 |
59 |
2 |
| format |
|
3 |
6 |
72 |
5 |
| _format |
|
10 |
22 |
152 |
5 |
| format_string |
|
7 |
28 |
204 |
3 |
| currency |
|
25 |
31 |
247 |
4 |
| str |
|
1 |
2 |
13 |
1 |
| atof |
|
3 |
9 |
57 |
2 |
| atoi |
|
1 |
3 |
13 |
1 |
| _test |
|
1 |
6 |
46 |
0 |
| _replace_encoding |
|
2 |
11 |
67 |
2 |
| normalize |
|
20 |
52 |
344 |
1 |
| _parse_localename |
|
6 |
11 |
77 |
1 |
| _build_localename |
|
3 |
8 |
34 |
1 |
| getdefaultlocale |
|
8 |
42 |
125 |
4 |
| getlocale |
|
3 |
5 |
32 |
1 |
| setlocale |
|
3 |
4 |
41 |
2 |
| resetlocale |
|
1 |
2 |
19 |
1 |
| getpreferredencoding |
|
1 |
3 |
19 |
1 |
| getpreferredencoding |
|
1 |
2 |
15 |
1 |
| getpreferredencoding |
|
3 |
12 |
50 |
1 |
| _print_locale._init_categories |
|
3 |
4 |
35 |
1 |
| _print_locale |
|
13 |
45 |
194 |
0 |
| Source file: ./usr.bin/finger/finger.h |
| Source file: ./usr.bin/sndiod/miofile.h |
| Source file: ./usr.bin/sndiod/utils.h |
| Source file: ./usr.bin/finger/sprint.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sflag_print |
|
19 |
61 |
434 |
1 |
| sort |
|
3 |
11 |
94 |
1 |
| psort |
|
1 |
4 |
42 |
2 |
| stimeprint |
|
4 |
17 |
101 |
1 |
| Source file: ./usr.bin/finger/lprint.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| lflag_print |
|
5 |
15 |
86 |
1 |
| lprint |
|
27 |
110 |
815 |
1 |
| demi_print |
|
5 |
26 |
147 |
2 |
| show_text |
|
4 |
16 |
125 |
3 |
| vputc |
|
2 |
8 |
57 |
1 |
| Source file: ./usr.bin/sndiod/opt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| opt_new |
|
17 |
78 |
453 |
10 |
| opt_byname |
|
4 |
11 |
66 |
2 |
| opt_del |
|
4 |
12 |
68 |
1 |
| Source file: ./usr.bin/sndiod/dev.h |
| Source file: ./usr.bin/sndiod/siofile.h |
| Source file: ./usr.bin/sndiod/fdpass.h |
| Source file: ./usr.bin/sndiod/sysex.h |
| Source file: ./usr.bin/sndiod/opt.h |
| Source file: ./pip/lib/python2.7/sre_parse.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __init__ |
|
1 |
6 |
32 |
1 |
| opengroup |
|
3 |
11 |
81 |
2 |
| closegroup |
|
1 |
2 |
15 |
2 |
| checkgroup |
|
2 |
2 |
20 |
2 |
| __init__ |
|
2 |
6 |
35 |
3 |
| dump |
|
14 |
36 |
189 |
2 |
| __repr__ |
|
1 |
2 |
12 |
1 |
| __len__ |
|
1 |
2 |
12 |
1 |
| __delitem__ |
|
1 |
2 |
14 |
2 |
| __getitem__ |
|
2 |
4 |
36 |
2 |
| __setitem__ |
|
1 |
2 |
17 |
3 |
| insert |
|
1 |
2 |
19 |
3 |
| append |
|
1 |
2 |
15 |
2 |
| getwidth |
|
10 |
35 |
238 |
1 |
| __init__ |
|
1 |
4 |
22 |
2 |
| __next |
|
4 |
13 |
84 |
1 |
| match |
|
3 |
6 |
30 |
3 |
| get |
|
1 |
4 |
17 |
1 |
| tell |
|
1 |
2 |
13 |
1 |
| seek |
|
1 |
2 |
16 |
2 |
| isident |
|
3 |
2 |
21 |
1 |
| isdigit |
|
1 |
2 |
11 |
1 |
| isname |
|
5 |
7 |
43 |
1 |
| _class_escape |
|
14 |
28 |
206 |
2 |
| _escape |
|
20 |
42 |
292 |
3 |
| _parse_sub |
|
17 |
45 |
220 |
3 |
| _parse_sub_cond |
|
5 |
13 |
93 |
3 |
| _parse |
|
109 |
271 |
1470 |
2 |
| parse |
|
7 |
17 |
111 |
3 |
| parse_template.literal |
|
3 |
5 |
55 |
3 |
| parse_template |
|
28 |
78 |
433 |
2 |
| expand_template |
|
4 |
13 |
75 |
2 |
| Source file: ./usr.bin/sndiod/miofile.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| port_mio_open |
|
2 |
8 |
71 |
1 |
| port_mio_close |
|
1 |
5 |
27 |
1 |
| port_mio_pollfd |
|
4 |
11 |
82 |
2 |
| port_mio_revents |
|
1 |
5 |
32 |
2 |
| port_mio_in |
|
3 |
13 |
73 |
1 |
| port_mio_out |
|
7 |
21 |
129 |
1 |
| port_mio_hup |
|
1 |
5 |
20 |
1 |
| Source file: ./usr.bin/finger/util.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| find_idle_and_ttywrite |
|
3 |
12 |
95 |
1 |
| estrdup |
|
2 |
7 |
34 |
1 |
| userinfo |
|
17 |
44 |
406 |
2 |
| match |
|
4 |
13 |
123 |
2 |
| expandusername |
|
5 |
22 |
147 |
4 |
| enter_lastlog |
|
15 |
37 |
289 |
1 |
| enter_where |
|
1 |
11 |
88 |
2 |
| enter_person |
|
5 |
24 |
143 |
1 |
| find_person |
|
3 |
9 |
53 |
1 |
| hash |
|
3 |
8 |
63 |
1 |
| palloc |
|
2 |
7 |
41 |
1 |
| walloc |
|
3 |
14 |
84 |
1 |
| prphone |
|
9 |
43 |
238 |
1 |
| Source file: ./usr.bin/sndiod/midi.h |
| Source file: ./usr.bin/sndiod/midi.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| midi_log |
|
1 |
5 |
21 |
1 |
| midi_init |
|
1 |
3 |
6 |
1 |
| midi_done |
|
1 |
3 |
6 |
1 |
| midi_new |
|
5 |
25 |
151 |
3 |
| midi_del |
|
5 |
21 |
130 |
1 |
| midi_link |
|
5 |
15 |
81 |
2 |
| midi_tag |
|
9 |
27 |
168 |
2 |
| midi_send |
|
11 |
31 |
196 |
3 |
| midi_tickets |
|
5 |
19 |
128 |
1 |
| midi_fill |
|
3 |
10 |
53 |
1 |
| midi_in |
|
15 |
46 |
385 |
3 |
| midi_out |
|
10 |
35 |
207 |
3 |
| port_log |
|
1 |
4 |
16 |
1 |
| port_imsg |
|
1 |
5 |
34 |
3 |
| port_omsg |
|
1 |
5 |
34 |
3 |
| port_fill |
|
1 |
3 |
11 |
2 |
| port_exit |
|
3 |
9 |
37 |
1 |
| port_new |
|
1 |
13 |
86 |
3 |
| port_del |
|
5 |
16 |
95 |
1 |
| port_ref |
|
5 |
10 |
47 |
1 |
| port_unref |
|
8 |
13 |
96 |
1 |
| port_bynum |
|
3 |
9 |
44 |
1 |
| port_open |
|
3 |
12 |
51 |
1 |
| port_close |
|
6 |
19 |
113 |
1 |
| port_drain |
|
5 |
13 |
69 |
1 |
| port_init |
|
2 |
6 |
24 |
1 |
| port_done |
|
2 |
5 |
22 |
1 |
| Source file: ./usr.bin/sndiod/file.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| timo_set |
|
1 |
6 |
41 |
3 |
| timo_add |
|
6 |
25 |
134 |
2 |
| timo_del |
|
5 |
13 |
73 |
1 |
| timo_update |
|
3 |
15 |
69 |
1 |
| timo_init |
|
1 |
5 |
14 |
1 |
| timo_done |
|
3 |
8 |
32 |
1 |
| file_log |
|
2 |
12 |
71 |
1 |
| file_new |
|
6 |
25 |
135 |
4 |
| file_del |
|
5 |
13 |
58 |
1 |
| file_process |
|
15 |
27 |
222 |
2 |
| file_poll |
|
28 |
90 |
565 |
1 |
| filelist_init |
|
2 |
14 |
68 |
1 |
| filelist_done |
|
4 |
14 |
63 |
1 |
| Source file: ./usr.bin/sndiod/file.h |
| Source file: ./usr.bin/sndiod/abuf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| abuf_log |
|
1 |
8 |
40 |
1 |
| abuf_init |
|
1 |
7 |
40 |
2 |
| abuf_done |
|
4 |
12 |
61 |
1 |
| abuf_rgetblk |
|
2 |
9 |
54 |
2 |
| abuf_rdiscard |
|
5 |
13 |
75 |
2 |
| abuf_wcommit |
|
4 |
10 |
57 |
2 |
| abuf_wgetblk |
|
3 |
13 |
84 |
2 |
| Source file: ./usr.bin/sndiod/defs.h |
| Source file: ./usr.bin/sndiod/fdpass.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fdpass_log |
|
1 |
4 |
18 |
1 |
| fdpass_send |
|
9 |
61 |
354 |
5 |
| fdpass_recv |
|
17 |
81 |
466 |
5 |
| fdpass_waitret |
|
4 |
15 |
77 |
2 |
| fdpass_sio_open |
|
4 |
11 |
67 |
2 |
| fdpass_mio_open |
|
4 |
11 |
67 |
2 |
| fdpass_in_worker |
|
2 |
10 |
40 |
1 |
| fdpass_in_helper |
|
10 |
39 |
222 |
1 |
| fdpass_out |
|
1 |
3 |
8 |
1 |
| fdpass_hup |
|
2 |
9 |
38 |
1 |
| fdpass_new |
|
2 |
14 |
81 |
2 |
| fdpass_close |
|
1 |
7 |
32 |
1 |
| fdpass_pollfd |
|
1 |
7 |
37 |
2 |
| fdpass_revents |
|
1 |
4 |
18 |
2 |
| Source file: ./usr.bin/sndiod/dsp.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fp24_mul |
|
1 |
12 |
40 |
2 |
| fp24_muldiv |
|
1 |
11 |
46 |
3 |
| Source file: ./usr.bin/sndiod/abuf.h |
| Source file: ./usr.bin/sndiod/dsp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| aparams_enctostr |
|
9 |
23 |
177 |
2 |
| aparams_strtoenc |
|
25 |
59 |
398 |
2 |
| aparams_init |
|
1 |
8 |
42 |
1 |
| aparams_log |
|
1 |
6 |
27 |
1 |
| aparams_native |
|
6 |
6 |
56 |
1 |
| resamp_do |
|
14 |
78 |
415 |
4 |
| resamp_init |
|
4 |
19 |
111 |
4 |
| enc_do |
|
5 |
38 |
215 |
4 |
| enc_sil_do |
|
5 |
33 |
186 |
3 |
| enc_init |
|
6 |
31 |
189 |
3 |
| dec_do |
|
5 |
38 |
210 |
4 |
| dec_init |
|
6 |
31 |
188 |
3 |
| cmap_add |
|
7 |
34 |
209 |
5 |
| cmap_copy |
|
5 |
29 |
175 |
5 |
| cmap_init |
|
11 |
42 |
242 |
9 |
| Source file: ./usr.bin/sndiod/listen.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| listen_close |
|
5 |
17 |
99 |
1 |
| listen_new_un |
|
7 |
44 |
256 |
1 |
| listen_new_tcp |
|
9 |
58 |
382 |
2 |
| listen_init |
|
1 |
4 |
12 |
1 |
| listen_pollfd |
|
2 |
10 |
52 |
2 |
| listen_revents |
|
2 |
7 |
34 |
2 |
| listen_in |
|
9 |
34 |
184 |
1 |
| listen_out |
|
1 |
3 |
8 |
1 |
| listen_hup |
|
1 |
5 |
20 |
1 |
| Source file: ./usr.bin/sndiod/listen.h |
| Source file: ./usr.bin/sndiod/utils.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| log_flush |
|
2 |
7 |
27 |
1 |
| log_puts |
|
4 |
10 |
48 |
1 |
| log_putx |
|
5 |
17 |
111 |
1 |
| log_putu |
|
4 |
14 |
90 |
1 |
| log_puti |
|
2 |
8 |
30 |
1 |
| panic |
|
1 |
6 |
27 |
1 |
| xmalloc |
|
2 |
12 |
48 |
1 |
| xfree |
|
3 |
8 |
30 |
1 |
| xstrdup |
|
1 |
9 |
43 |
1 |
| Source file: ./usr.bin/sndiod/sock.h |
| Source file: ./usr.bin/sndiod/siofile.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dev_sio_onmove |
|
5 |
19 |
129 |
2 |
| dev_sio_timeout |
|
1 |
7 |
30 |
1 |
| dev_sio_open |
|
32 |
118 |
834 |
1 |
| dev_sio_close |
|
3 |
10 |
55 |
1 |
| dev_sio_start |
|
6 |
28 |
178 |
1 |
| dev_sio_stop |
|
6 |
19 |
113 |
1 |
| dev_sio_pollfd |
|
2 |
7 |
53 |
2 |
| dev_sio_revents |
|
2 |
8 |
47 |
2 |
| dev_sio_run |
|
39 |
141 |
960 |
1 |
| dev_sio_hup |
|
3 |
9 |
38 |
1 |
| Source file: ./usr.bin/sndiod/sndiod.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sigint |
|
2 |
6 |
20 |
1 |
| opt_ch |
|
8 |
19 |
121 |
2 |
| opt_enc |
|
3 |
7 |
43 |
1 |
| opt_mmc |
|
3 |
8 |
43 |
1 |
| opt_onoff |
|
3 |
8 |
43 |
1 |
| getword |
|
6 |
15 |
73 |
2 |
| opt_mode |
|
8 |
23 |
130 |
1 |
| setsig |
|
4 |
14 |
97 |
1 |
| unsetsig |
|
4 |
13 |
93 |
1 |
| getbasepath |
|
8 |
26 |
173 |
1 |
| mkdev |
|
8 |
20 |
149 |
8 |
| mkport |
|
4 |
12 |
75 |
2 |
| mkopt |
|
2 |
12 |
99 |
10 |
| start_helper |
|
16 |
48 |
296 |
1 |
| stop_helper |
|
2 |
5 |
15 |
1 |
| main |
|
69 |
220 |
1317 |
2 |
| Source file: ./usr.bin/unexpand/unexpand.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
11 |
36 |
223 |
2 |
| tabify |
|
11 |
50 |
203 |
1 |
| Source file: ./usr.bin/grep/file.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| gzfgetln |
|
9 |
30 |
159 |
2 |
| grep_fdopen |
|
5 |
23 |
147 |
2 |
| grep_open |
|
5 |
23 |
140 |
2 |
| grep_bin_file |
|
5 |
15 |
67 |
1 |
| grep_fgetln |
|
4 |
13 |
68 |
2 |
| grep_close |
|
4 |
17 |
66 |
1 |
| Source file: ./usr.bin/grep/grep.h |
| Source file: ./usr.bin/grep/mmfile.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mmopen |
|
7 |
29 |
205 |
2 |
| mmclose |
|
1 |
6 |
31 |
1 |
| mmfgetln |
|
4 |
12 |
79 |
2 |
| Source file: ./usr.bin/grep/grep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usage |
|
2 |
9 |
22 |
1 |
| add_pattern |
|
17 |
35 |
251 |
2 |
| add_patterns |
|
2 |
9 |
54 |
1 |
| read_patterns |
|
5 |
13 |
95 |
1 |
| main |
|
93 |
240 |
1220 |
2 |
| Source file: ./usr.bin/grep/binary.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| isbinary |
|
1 |
4 |
26 |
2 |
| bin_file |
|
4 |
14 |
82 |
1 |
| gzbin_file |
|
5 |
15 |
94 |
1 |
| mmbin_file |
|
2 |
4 |
28 |
1 |
| Source file: ./usr.bin/grep/queue.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| initqueue |
|
1 |
4 |
12 |
1 |
| free_item |
|
1 |
4 |
13 |
1 |
| enqueue |
|
3 |
20 |
144 |
1 |
| dequeue |
|
3 |
12 |
45 |
1 |
| printqueue |
|
2 |
8 |
41 |
1 |
| clearqueue |
|
2 |
6 |
27 |
1 |
| Source file: ./usr.bin/sndiod/dev.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dev_log |
|
4 |
12 |
59 |
1 |
| slot_log |
|
5 |
21 |
119 |
1 |
| zomb_onmove |
|
1 |
3 |
8 |
1 |
| zomb_onvol |
|
1 |
3 |
8 |
1 |
| zomb_fill |
|
1 |
3 |
8 |
1 |
| zomb_flush |
|
1 |
3 |
8 |
1 |
| zomb_eof |
|
3 |
9 |
39 |
1 |
| zomb_exit |
|
3 |
8 |
33 |
1 |
| dev_midi_qfr |
|
14 |
60 |
397 |
2 |
| dev_midi_full |
|
5 |
41 |
397 |
1 |
| dev_midi_vol |
|
1 |
8 |
63 |
2 |
| dev_midi_master |
|
1 |
14 |
109 |
1 |
| dev_midi_slotdesc |
|
2 |
17 |
144 |
2 |
| dev_midi_dump |
|
2 |
18 |
124 |
1 |
| dev_midi_imsg |
|
2 |
7 |
37 |
3 |
| dev_midi_omsg |
|
28 |
82 |
465 |
3 |
| dev_midi_fill |
|
1 |
3 |
11 |
2 |
| dev_midi_exit |
|
3 |
10 |
46 |
1 |
| slot_skip |
|
13 |
33 |
263 |
1 |
| play_filt_resamp |
|
4 |
25 |
238 |
4 |
| play_filt_dec |
|
3 |
8 |
68 |
4 |
| dev_mix_badd |
|
3 |
16 |
123 |
2 |
| dev_mix_adjvol |
|
11 |
33 |
221 |
1 |
| rec_filt_resamp |
|
5 |
24 |
232 |
4 |
| rec_filt_enc |
|
3 |
9 |
72 |
4 |
| dev_sub_bcopy |
|
5 |
19 |
154 |
2 |
| dev_cycle |
|
45 |
135 |
930 |
1 |
| dev_onmove |
|
4 |
16 |
127 |
2 |
| dev_master |
|
3 |
12 |
60 |
2 |
| dev_getpos |
|
2 |
4 |
25 |
1 |
| dev_new |
|
4 |
43 |
321 |
8 |
| dev_adjpar |
|
5 |
13 |
78 |
4 |
| dev_open |
|
12 |
64 |
464 |
1 |
| dev_close |
|
9 |
27 |
163 |
1 |
| dev_ref |
|
5 |
11 |
52 |
1 |
| dev_unref |
|
5 |
10 |
51 |
1 |
| dev_init |
|
5 |
11 |
54 |
1 |
| dev_done |
|
5 |
11 |
51 |
1 |
| dev_bynum |
|
3 |
9 |
44 |
1 |
| dev_del |
|
7 |
21 |
118 |
1 |
| dev_roundof |
|
1 |
4 |
32 |
2 |
| dev_wakeup |
|
4 |
18 |
87 |
1 |
| dev_sync_attach |
|
16 |
42 |
218 |
1 |
| dev_mmcstart |
|
4 |
12 |
51 |
1 |
| dev_mmcstop |
|
5 |
18 |
66 |
1 |
| dev_mmcloc |
|
4 |
14 |
75 |
2 |
| slot_new |
|
34 |
109 |
769 |
5 |
| slot_del |
|
6 |
18 |
73 |
1 |
| slot_setvol |
|
4 |
13 |
70 |
2 |
| slot_attach |
|
20 |
102 |
876 |
1 |
| slot_ready |
|
3 |
11 |
50 |
1 |
| slot_start |
|
12 |
52 |
336 |
1 |
| slot_detach |
|
12 |
29 |
185 |
1 |
| slot_stop |
|
12 |
36 |
202 |
1 |
| slot_skip_update |
|
6 |
16 |
86 |
1 |
| slot_write |
|
5 |
12 |
69 |
1 |
| slot_read |
|
1 |
4 |
14 |
1 |
| Source file: ./usr.bin/grep/util.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| grep_tree |
|
8 |
30 |
148 |
1 |
| procfile |
|
30 |
61 |
382 |
1 |
| procline |
|
34 |
73 |
421 |
2 |
| fgrepcomp |
|
6 |
23 |
206 |
2 |
| fastcomp |
|
41 |
93 |
651 |
2 |
| grep_search |
|
27 |
66 |
458 |
5 |
| grep_malloc |
|
2 |
7 |
34 |
1 |
| grep_calloc |
|
2 |
7 |
39 |
2 |
| grep_realloc |
|
2 |
6 |
36 |
2 |
| grep_reallocarray |
|
2 |
6 |
41 |
3 |
| grep_cmp |
|
7 |
11 |
92 |
3 |
| grep_revstr |
|
2 |
10 |
67 |
2 |
| printline |
|
8 |
29 |
156 |
3 |
| Source file: ./usr.bin/cut/cut.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
27 |
79 |
435 |
2 |
| get_list |
|
20 |
42 |
266 |
1 |
| b_cut |
|
12 |
25 |
148 |
2 |
| c_cut |
|
10 |
30 |
182 |
2 |
| f_cut |
|
13 |
40 |
239 |
2 |
| usage |
|
1 |
8 |
23 |
1 |
| Source file: ./usr.bin/usbhidaction/usbhidaction.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sighup |
|
1 |
4 |
11 |
1 |
| main |
|
33 |
104 |
622 |
2 |
| usage |
|
1 |
7 |
25 |
1 |
| peek |
|
2 |
8 |
34 |
1 |
| parse_conf |
|
38 |
158 |
944 |
4 |
| docmd |
|
16 |
53 |
377 |
5 |
| freecommands |
|
2 |
9 |
35 |
1 |
| Source file: ./usr.bin/join/join.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
52 |
150 |
903 |
2 |
| slurp |
|
4 |
18 |
87 |
1 |
| slurpit |
|
17 |
72 |
551 |
1 |
| cmp |
|
3 |
8 |
66 |
4 |
| joinlines |
|
5 |
12 |
108 |
2 |
| outoneline |
|
8 |
23 |
163 |
2 |
| outtwoline |
|
11 |
28 |
230 |
4 |
| outfield |
|
8 |
17 |
106 |
3 |
| fieldarg |
|
11 |
34 |
224 |
1 |
| obsolete |
|
25 |
57 |
386 |
1 |
| usage |
|
1 |
11 |
49 |
1 |
| Source file: ./usr.bin/skeyinit/skeyinit.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
83 |
233 |
1714 |
2 |
| secure_mode |
|
21 |
76 |
518 |
6 |
| normal_mode |
|
15 |
49 |
341 |
4 |
| enable_db |
|
8 |
14 |
112 |
1 |
| usage |
|
1 |
7 |
29 |
1 |
| Source file: ./usr.bin/split/split.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
51 |
92 |
625 |
2 |
| split1 |
|
12 |
38 |
226 |
1 |
| split2 |
|
11 |
33 |
201 |
1 |
| newfile |
|
7 |
32 |
181 |
1 |
| usage |
|
1 |
8 |
30 |
1 |
| Source file: ./usr.bin/nohup/nohup.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
8 |
20 |
162 |
2 |
| dofile |
|
7 |
23 |
217 |
1 |
| usage |
|
1 |
5 |
21 |
1 |
| Source file: ./usr.bin/readlink/readlink.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
11 |
42 |
249 |
2 |
| usage |
|
1 |
5 |
21 |
1 |
| Source file: ./usr.bin/rwall/rwall.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
5 |
23 |
146 |
2 |
| makemsg |
|
11 |
37 |
342 |
1 |
| Source file: ./usr.bin/sndiod/sock.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sock_log |
|
6 |
17 |
112 |
1 |
| sock_close |
|
10 |
33 |
178 |
1 |
| sock_slot_fill |
|
3 |
14 |
74 |
1 |
| sock_slot_flush |
|
3 |
12 |
68 |
1 |
| sock_slot_eof |
|
3 |
9 |
39 |
1 |
| sock_slot_onmove |
|
4 |
14 |
74 |
1 |
| sock_slot_onvol |
|
4 |
13 |
69 |
1 |
| sock_midi_imsg |
|
1 |
5 |
34 |
3 |
| sock_midi_omsg |
|
1 |
5 |
34 |
3 |
| sock_midi_fill |
|
1 |
5 |
24 |
2 |
| sock_new |
|
2 |
28 |
169 |
1 |
| sock_exit |
|
3 |
9 |
43 |
1 |
| sock_fdwrite |
|
9 |
31 |
141 |
3 |
| sock_fdread |
|
9 |
31 |
141 |
3 |
| sock_rmsg |
|
7 |
24 |
129 |
1 |
| sock_wmsg |
|
7 |
23 |
125 |
1 |
| sock_rdata |
|
11 |
36 |
200 |
1 |
| sock_wdata |
|
19 |
49 |
303 |
1 |
| sock_setpar |
|
52 |
156 |
1028 |
1 |
| sock_auth |
|
3 |
12 |
75 |
1 |
| sock_hello |
|
32 |
116 |
726 |
1 |
| sock_execmsg |
|
106 |
328 |
1896 |
1 |
| sock_buildmsg |
|
31 |
117 |
811 |
1 |
| sock_read |
|
15 |
43 |
207 |
1 |
| sock_write |
|
19 |
60 |
314 |
1 |
| sock_pollfd |
|
8 |
17 |
103 |
2 |
| sock_revents |
|
1 |
4 |
18 |
2 |
| sock_in |
|
2 |
6 |
23 |
1 |
| sock_out |
|
2 |
6 |
23 |
1 |
| sock_hup |
|
1 |
5 |
20 |
1 |
| Source file: ./usr.bin/tput/tput.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
34 |
104 |
652 |
2 |
| process |
|
29 |
63 |
389 |
3 |
| init |
|
19 |
53 |
292 |
1 |
| reset |
|
8 |
23 |
132 |
1 |
| set_margins |
|
10 |
20 |
134 |
1 |
| usage |
|
2 |
10 |
50 |
1 |
| Source file: ./usr.bin/ctfdump/elf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| iself |
|
11 |
39 |
258 |
2 |
| elf_getshstab |
|
7 |
30 |
181 |
4 |
| elf_getsymtab |
|
18 |
48 |
377 |
8 |
| elf_getsection |
|
12 |
39 |
280 |
7 |
| elf_reloc_size |
|
7 |
14 |
49 |
1 |
| elf_reloc_apply |
|
21 |
74 |
538 |
7 |
| Source file: ./usr.bin/indent/indent_codes.h |
| Source file: ./usr.bin/indent/pr_comment.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pr_comment |
|
100 |
273 |
1570 |
1 |
| Source file: ./usr.bin/ctfdump/ctfdump.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
12 |
42 |
194 |
2 |
| dump |
|
7 |
32 |
209 |
2 |
| elf_idx2sym |
|
5 |
17 |
92 |
2 |
| elf_dump |
|
9 |
27 |
228 |
3 |
| isctf |
|
18 |
34 |
248 |
2 |
| ctf_dump |
|
23 |
111 |
787 |
3 |
| ctf_dump_type |
|
26 |
116 |
775 |
6 |
| ctf_kind2name |
|
2 |
9 |
63 |
1 |
| ctf_enc2name |
|
4 |
12 |
81 |
1 |
| ctf_fpenc2name |
|
4 |
10 |
83 |
1 |
| ctf_off2name |
|
5 |
15 |
93 |
4 |
| decompress |
|
7 |
38 |
225 |
3 |
| usage |
|
1 |
6 |
22 |
1 |
| Source file: ./usr.bin/indent/indent_globs.h |
| Source file: ./usr.bin/indent/parse.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| parse |
|
31 |
105 |
782 |
1 |
| reduce |
|
17 |
53 |
270 |
1 |
| Source file: ./usr.bin/indent/args.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| set_profile |
|
6 |
23 |
150 |
1 |
| scan_profile |
|
7 |
20 |
103 |
1 |
| eqin |
|
3 |
9 |
43 |
2 |
| set_defaults |
|
4 |
8 |
55 |
1 |
| set_option |
|
21 |
62 |
336 |
1 |
| Source file: ./usr.bin/head/head.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
20 |
59 |
362 |
2 |
| usage |
|
1 |
5 |
18 |
1 |
| Source file: ./usr.bin/indent/indent.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
327 |
882 |
5162 |
2 |
| bakcopy |
|
12 |
33 |
246 |
1 |
| Source file: ./usr.bin/indent/lexi.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| lexi |
|
143 |
353 |
1920 |
1 |
| addkey |
|
8 |
31 |
228 |
2 |
| Source file: ./usr.bin/chpass/chpass.h |
| Source file: ./usr.bin/chpass/util.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ttoa |
|
3 |
10 |
71 |
3 |
| atot |
|
7 |
20 |
149 |
2 |
| ok_shell |
|
7 |
15 |
100 |
2 |
| Source file: ./usr.bin/printf/printf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
38 |
126 |
606 |
2 |
| print_escape_str |
|
7 |
28 |
132 |
1 |
| print_escape |
|
27 |
72 |
327 |
1 |
| mklong |
|
3 |
24 |
136 |
2 |
| getchr |
|
2 |
6 |
30 |
1 |
| getstr |
|
2 |
6 |
24 |
1 |
| getint |
|
3 |
8 |
40 |
1 |
| getlong |
|
4 |
13 |
81 |
1 |
| getulong |
|
4 |
13 |
82 |
1 |
| getdouble |
|
4 |
13 |
81 |
1 |
| check_conversion |
|
4 |
13 |
68 |
2 |
| usage |
|
1 |
5 |
21 |
1 |
| Source file: ./usr.bin/chpass/table.c |
| Source file: ./usr.bin/chpass/field.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| p_login |
|
9 |
27 |
163 |
3 |
| p_passwd |
|
3 |
10 |
61 |
3 |
| p_uid |
|
3 |
16 |
89 |
3 |
| p_gid |
|
5 |
25 |
148 |
3 |
| p_class |
|
3 |
10 |
61 |
3 |
| p_change |
|
2 |
7 |
45 |
3 |
| p_expire |
|
2 |
7 |
45 |
3 |
| p_gecos |
|
3 |
10 |
61 |
3 |
| p_hdir |
|
3 |
12 |
66 |
3 |
| p_shell |
|
8 |
24 |
141 |
3 |
| Source file: ./usr.bin/nm/elfuncs.h |
| Source file: ./usr.bin/nm/util.h |
| Source file: ./usr.bin/chpass/chpass.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
38 |
122 |
778 |
2 |
| baduser |
|
1 |
4 |
18 |
1 |
| kbintr |
|
1 |
16 |
126 |
1 |
| usage |
|
1 |
6 |
35 |
1 |
| Source file: ./usr.bin/chpass/edit.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| edit |
|
9 |
20 |
141 |
2 |
| display |
|
10 |
40 |
407 |
3 |
| verify |
|
33 |
95 |
710 |
2 |
| Source file: ./usr.bin/renice/renice.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
27 |
92 |
566 |
2 |
| renice |
|
7 |
25 |
160 |
2 |
| usage |
|
1 |
5 |
18 |
1 |
| Source file: ./usr.bin/indent/io.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dump_line |
|
88 |
209 |
1379 |
1 |
| compute_code_target |
|
7 |
23 |
114 |
1 |
| compute_label_target |
|
3 |
7 |
45 |
1 |
| fill_buffer |
|
44 |
84 |
538 |
1 |
| pad_output |
|
6 |
21 |
113 |
2 |
| count_spaces |
|
6 |
24 |
98 |
2 |
| diag |
|
5 |
18 |
114 |
3 |
| writefdef |
|
1 |
5 |
31 |
2 |
| chfont |
|
6 |
28 |
195 |
3 |
| parsefont |
|
12 |
34 |
239 |
2 |
| Source file: ./usr.bin/comm/comm.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
31 |
85 |
491 |
2 |
| show |
|
3 |
5 |
39 |
3 |
| file |
|
3 |
9 |
57 |
1 |
| usage |
|
1 |
5 |
21 |
1 |
| Source file: ./usr.bin/nm/elf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| elf_fix_header |
|
2 |
19 |
172 |
1 |
| elf_load_shdrs |
|
7 |
33 |
219 |
4 |
| elf_load_phdrs |
|
4 |
20 |
143 |
4 |
| elf_fix_shdrs |
|
3 |
19 |
162 |
2 |
| elf_fix_phdrs |
|
3 |
17 |
140 |
2 |
| elf_fix_sym |
|
2 |
10 |
77 |
2 |
| elf_shn2type |
|
25 |
55 |
334 |
3 |
| elf2nlist |
|
28 |
75 |
488 |
5 |
| elf_size |
|
6 |
18 |
142 |
5 |
| elf_symloadx |
|
19 |
80 |
597 |
13 |
| elf_symload |
|
8 |
44 |
315 |
9 |
| Source file: ./usr.bin/leave/leave.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
19 |
56 |
371 |
2 |
| doalarm |
|
9 |
37 |
186 |
1 |
| usage |
|
1 |
5 |
18 |
1 |
| Source file: ./usr.bin/telnet/defines.h |
| Source file: ./usr.bin/telnet/genget.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| isprefix |
|
6 |
17 |
115 |
2 |
| genget |
|
6 |
18 |
117 |
3 |
| Ambiguous |
|
1 |
4 |
20 |
1 |
| Source file: ./usr.bin/nm/nm.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
37 |
103 |
458 |
2 |
| process_file |
|
10 |
36 |
274 |
2 |
| mmbr_name |
|
17 |
45 |
397 |
5 |
| show_symtab |
|
8 |
44 |
329 |
4 |
| show_symdef |
|
9 |
47 |
358 |
4 |
| show_archive |
|
33 |
104 |
680 |
3 |
| show_file |
|
28 |
80 |
632 |
6 |
| symname |
|
1 |
4 |
18 |
1 |
| print_symbol |
|
8 |
28 |
196 |
2 |
| typeletter |
|
18 |
25 |
150 |
1 |
| fname |
|
1 |
5 |
58 |
2 |
| rname |
|
1 |
5 |
58 |
2 |
| value |
|
9 |
20 |
217 |
2 |
| pipe2cppfilt |
|
4 |
23 |
142 |
1 |
| usage |
|
2 |
10 |
39 |
1 |
| Source file: ./usr.bin/telnet/terminal.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| init_terminal |
|
1 |
8 |
52 |
1 |
| ttyflush |
|
14 |
36 |
204 |
1 |
| getconnmode |
|
13 |
26 |
132 |
1 |
| setconnmode |
|
2 |
6 |
29 |
1 |
| setcommandmode |
|
1 |
4 |
12 |
1 |
| Source file: ./usr.bin/telnet/ring.h |
| Source file: ./usr.bin/telnet/telnet_locl.h |
| Source file: ./usr.bin/telnet/network.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| init_network |
|
1 |
6 |
33 |
1 |
| stilloob |
|
5 |
18 |
99 |
1 |
| setneturg |
|
1 |
4 |
12 |
1 |
| netflush |
|
11 |
33 |
201 |
1 |
| Source file: ./usr.bin/telnet/ring.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ring_init |
|
1 |
7 |
59 |
3 |
| ring_mark |
|
1 |
4 |
23 |
1 |
| ring_at_mark |
|
2 |
8 |
29 |
1 |
| ring_clear_mark |
|
1 |
4 |
14 |
1 |
| ring_supplied |
|
1 |
5 |
33 |
2 |
| ring_consumed |
|
5 |
14 |
93 |
2 |
| ring_empty_count |
|
2 |
8 |
39 |
1 |
| ring_empty_consecutive |
|
3 |
8 |
58 |
1 |
| ring_full_count |
|
4 |
12 |
78 |
1 |
| ring_full_consecutive |
|
6 |
16 |
126 |
1 |
| ring_supply_data |
|
3 |
13 |
68 |
3 |
| Source file: ./usr.bin/telnet/utilities.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| upcase |
|
2 |
6 |
35 |
1 |
| SetNetTrace |
|
6 |
15 |
93 |
1 |
| Dump |
|
8 |
39 |
213 |
3 |
| printoption |
|
12 |
32 |
211 |
3 |
| optionstatus |
|
24 |
72 |
464 |
1 |
| printsub |
|
117 |
371 |
2297 |
3 |
| EmptyTerminal |
|
3 |
14 |
84 |
1 |
| SetForExit |
|
2 |
14 |
61 |
1 |
| Exit |
|
1 |
5 |
16 |
1 |
| ExitString |
|
1 |
6 |
34 |
2 |
| Source file: ./usr.bin/telnet/main.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tninit |
|
1 |
7 |
22 |
1 |
| usage |
|
1 |
10 |
30 |
1 |
| main |
|
35 |
121 |
564 |
2 |
| Source file: ./usr.bin/telnet/externs.h |
| Source file: ./usr.bin/aucat/afile.h |
| Source file: ./usr.bin/aucat/utils.h |
| Source file: ./usr.bin/telnet/sys_bsd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| init_sys |
|
1 |
6 |
24 |
1 |
| TerminalSpecialChars |
|
12 |
34 |
154 |
1 |
| TerminalSaveState |
|
1 |
5 |
18 |
1 |
| tcval |
|
19 |
25 |
164 |
1 |
| TerminalDefaultChars |
|
1 |
4 |
24 |
1 |
| TerminalNewMode |
|
40 |
123 |
777 |
1 |
| TerminalSpeeds |
|
2 |
10 |
53 |
2 |
| TerminalWindowSize |
|
2 |
10 |
55 |
2 |
| deadpeer |
|
1 |
5 |
19 |
1 |
| intr |
|
2 |
9 |
31 |
1 |
| intr2 |
|
4 |
10 |
28 |
1 |
| susp |
|
4 |
7 |
29 |
1 |
| sendwin |
|
2 |
6 |
17 |
1 |
| ayt |
|
2 |
7 |
21 |
1 |
| sys_telnet_init |
|
2 |
15 |
115 |
1 |
| process_rings |
|
30 |
82 |
534 |
6 |
| Source file: ./usr.bin/aucat/sysex.h |
| Source file: ./usr.bin/tset/tset.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| CaselessCmp |
|
4 |
10 |
66 |
2 |
| exit_error |
|
2 |
8 |
38 |
1 |
| err |
|
1 |
9 |
54 |
2 |
| failed |
|
1 |
6 |
27 |
1 |
| cat |
|
4 |
12 |
94 |
1 |
| outc |
|
1 |
4 |
15 |
1 |
| askuser |
|
9 |
27 |
161 |
1 |
| tbaudrate |
|
5 |
16 |
82 |
1 |
| add_mapping |
|
27 |
96 |
526 |
2 |
| mapped |
|
11 |
33 |
164 |
1 |
| get_termcap_entry |
|
29 |
78 |
503 |
1 |
| reset_mode |
|
32 |
54 |
421 |
1 |
| default_erase |
|
4 |
11 |
39 |
1 |
| set_control_chars |
|
11 |
9 |
107 |
1 |
| set_conversions |
|
19 |
33 |
201 |
1 |
| set_init |
|
11 |
32 |
193 |
1 |
| set_tabs |
|
4 |
15 |
88 |
1 |
| report |
|
10 |
23 |
196 |
3 |
| obsolete |
|
14 |
26 |
177 |
1 |
| usage |
|
2 |
26 |
98 |
1 |
| arg_to_char |
|
4 |
6 |
54 |
1 |
| main |
|
45 |
136 |
710 |
2 |
| Source file: ./usr.bin/telnet/commands.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| makeargv |
|
13 |
42 |
215 |
1 |
| special |
|
3 |
19 |
67 |
1 |
| control |
|
5 |
25 |
174 |
1 |
| sendcmd |
|
16 |
68 |
399 |
2 |
| send_esc |
|
1 |
5 |
14 |
1 |
| send_docmd |
|
1 |
4 |
20 |
1 |
| send_dontcmd |
|
1 |
4 |
20 |
1 |
| send_willcmd |
|
1 |
4 |
20 |
1 |
| send_wontcmd |
|
1 |
4 |
20 |
1 |
| send_tncmd |
|
13 |
55 |
315 |
3 |
| send_help |
|
3 |
9 |
50 |
1 |
| lclchars |
|
1 |
5 |
14 |
1 |
| togcrlf |
|
2 |
9 |
29 |
1 |
| togbinary |
|
12 |
34 |
149 |
1 |
| togrbinary |
|
6 |
22 |
97 |
1 |
| togxbinary |
|
6 |
22 |
97 |
1 |
| togglehelp |
|
4 |
15 |
78 |
1 |
| settogglehelp |
|
5 |
13 |
67 |
1 |
| toggle |
|
11 |
42 |
210 |
2 |
| getset |
|
1 |
5 |
31 |
1 |
| set_escape_char |
|
6 |
11 |
71 |
1 |
| setcmd |
|
23 |
71 |
492 |
2 |
| unsetcmd |
|
15 |
57 |
349 |
2 |
| dokludgemode |
|
1 |
8 |
35 |
1 |
| dolinemode |
|
3 |
8 |
35 |
1 |
| docharmode |
|
3 |
9 |
36 |
1 |
| dolmmode |
|
3 |
15 |
70 |
2 |
| tn_setmode |
|
1 |
4 |
15 |
1 |
| tn_clearmode |
|
1 |
4 |
15 |
1 |
| modehelp |
|
4 |
14 |
69 |
1 |
| modecmd |
|
7 |
18 |
136 |
2 |
| display |
|
11 |
36 |
200 |
2 |
| setescape |
|
5 |
20 |
128 |
2 |
| togcrmod |
|
2 |
8 |
45 |
2 |
| telnetsuspend |
|
7 |
16 |
108 |
2 |
| close_connection |
|
2 |
11 |
47 |
1 |
| bye |
|
1 |
5 |
24 |
2 |
| quit |
|
1 |
5 |
15 |
1 |
| quitcmd |
|
1 |
4 |
17 |
2 |
| logout |
|
1 |
6 |
30 |
2 |
| slc_help |
|
4 |
12 |
61 |
1 |
| getslc |
|
1 |
5 |
31 |
1 |
| slccmd |
|
4 |
23 |
112 |
2 |
| env_help |
|
4 |
12 |
60 |
1 |
| getenvcmd |
|
1 |
5 |
31 |
1 |
| env_cmd |
|
7 |
29 |
166 |
2 |
| env_find |
|
3 |
9 |
55 |
1 |
| env_init |
|
8 |
32 |
237 |
1 |
| env_define |
|
6 |
23 |
172 |
2 |
| env_undefine |
|
3 |
12 |
72 |
1 |
| env_export |
|
2 |
6 |
31 |
1 |
| env_unexport |
|
2 |
6 |
33 |
1 |
| env_send |
|
3 |
20 |
76 |
1 |
| env_list |
|
3 |
8 |
50 |
1 |
| env_default |
|
6 |
15 |
76 |
2 |
| env_getvalue |
|
4 |
7 |
49 |
2 |
| connection_status |
|
13 |
34 |
175 |
1 |
| status |
|
1 |
5 |
21 |
2 |
| ayt_status |
|
1 |
4 |
12 |
1 |
| cmdrc |
|
26 |
69 |
477 |
2 |
| tn |
|
44 |
176 |
1077 |
2 |
| getcmd |
|
2 |
7 |
62 |
1 |
| command |
|
23 |
63 |
336 |
3 |
| help |
|
7 |
25 |
139 |
2 |
| Source file: ./usr.bin/aucat/afile.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| le16_get |
|
1 |
4 |
26 |
1 |
| le16_set |
|
1 |
5 |
33 |
2 |
| le32_get |
|
1 |
7 |
46 |
1 |
| le32_set |
|
1 |
7 |
57 |
2 |
| be16_get |
|
1 |
4 |
26 |
1 |
| be16_set |
|
1 |
5 |
33 |
2 |
| be32_get |
|
1 |
7 |
46 |
1 |
| be32_set |
|
1 |
7 |
57 |
2 |
| afile_readhdr |
|
3 |
14 |
83 |
3 |
| afile_writehdr |
|
3 |
15 |
91 |
3 |
| afile_checkpar |
|
10 |
35 |
213 |
1 |
| afile_wav_readfmt |
|
12 |
65 |
411 |
2 |
| afile_wav_readhdr |
|
14 |
55 |
369 |
1 |
| afile_wav_writehdr |
|
1 |
19 |
250 |
1 |
| afile_aiff_readcomm |
|
11 |
58 |
444 |
4 |
| afile_aiff_readdata |
|
3 |
19 |
116 |
3 |
| afile_aiff_readhdr |
|
16 |
67 |
470 |
1 |
| afile_aiff_writehdr |
|
2 |
30 |
316 |
1 |
| afile_au_readhdr |
|
11 |
64 |
382 |
1 |
| afile_au_writehdr |
|
6 |
32 |
186 |
1 |
| afile_read |
|
7 |
25 |
128 |
3 |
| afile_write |
|
8 |
27 |
146 |
3 |
| afile_seek |
|
6 |
18 |
107 |
2 |
| afile_close |
|
5 |
12 |
67 |
1 |
| afile_open |
|
32 |
121 |
863 |
7 |
| Source file: ./usr.bin/aucat/abuf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| abuf_log |
|
1 |
8 |
40 |
1 |
| abuf_init |
|
1 |
7 |
40 |
2 |
| abuf_done |
|
4 |
12 |
61 |
1 |
| abuf_rgetblk |
|
2 |
9 |
54 |
2 |
| abuf_rdiscard |
|
5 |
13 |
75 |
2 |
| abuf_wcommit |
|
4 |
10 |
57 |
2 |
| abuf_wgetblk |
|
3 |
13 |
84 |
2 |
| Source file: ./usr.bin/aucat/defs.h |
| Source file: ./usr.bin/aucat/abuf.h |
| Source file: ./usr.bin/aucat/dsp.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fp24_mul |
|
1 |
12 |
40 |
2 |
| fp24_muldiv |
|
1 |
11 |
46 |
3 |
| Source file: ./usr.bin/aucat/utils.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| log_flush |
|
2 |
7 |
27 |
1 |
| log_puts |
|
4 |
10 |
48 |
1 |
| log_putx |
|
5 |
17 |
111 |
1 |
| log_putu |
|
4 |
14 |
90 |
1 |
| log_puti |
|
2 |
8 |
30 |
1 |
| panic |
|
1 |
6 |
27 |
1 |
| xmalloc |
|
2 |
12 |
48 |
1 |
| xfree |
|
3 |
8 |
30 |
1 |
| xstrdup |
|
1 |
9 |
43 |
1 |
| Source file: ./usr.bin/telnet/telnet.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| init_telnet |
|
2 |
14 |
69 |
1 |
| send_do |
|
5 |
13 |
73 |
2 |
| send_dont |
|
5 |
13 |
73 |
2 |
| send_will |
|
5 |
13 |
73 |
2 |
| send_wont |
|
5 |
13 |
73 |
2 |
| willoption |
|
14 |
38 |
166 |
1 |
| wontoption |
|
15 |
35 |
162 |
1 |
| dooption |
|
22 |
65 |
273 |
1 |
| dontoption |
|
8 |
20 |
102 |
1 |
| mklist |
|
25 |
68 |
456 |
2 |
| is_unique |
|
3 |
10 |
69 |
3 |
| gettermname |
|
9 |
27 |
150 |
1 |
| suboption |
|
40 |
145 |
737 |
1 |
| lm_will |
|
4 |
19 |
110 |
2 |
| lm_wont |
|
3 |
12 |
43 |
2 |
| lm_do |
|
4 |
19 |
110 |
2 |
| lm_dont |
|
3 |
12 |
43 |
2 |
| lm_mode |
|
6 |
19 |
132 |
3 |
| slc_init |
|
3 |
30 |
190 |
1 |
| slcstate |
|
3 |
7 |
25 |
1 |
| slc_mode_export |
|
2 |
6 |
22 |
1 |
| slc_mode_import |
|
3 |
6 |
27 |
1 |
| slc_import |
|
3 |
13 |
97 |
1 |
| slc_export |
|
5 |
20 |
128 |
1 |
| slc |
|
13 |
46 |
314 |
2 |
| slc_check |
|
5 |
17 |
118 |
1 |
| slc_add |
|
2 |
6 |
29 |
1 |
| slc_start_reply |
|
1 |
8 |
30 |
1 |
| slc_add_reply |
|
5 |
13 |
83 |
3 |
| slc_end_reply |
|
4 |
18 |
100 |
1 |
| slc_update |
|
5 |
15 |
97 |
1 |
| env_opt |
|
12 |
40 |
177 |
2 |
| opt_add |
|
2 |
6 |
22 |
1 |
| env_opt_start |
|
3 |
19 |
88 |
1 |
| env_opt_start_info |
|
2 |
6 |
22 |
1 |
| env_opt_add |
|
19 |
61 |
322 |
1 |
| opt_welldefined |
|
7 |
11 |
87 |
1 |
| env_opt_end |
|
5 |
18 |
98 |
1 |
| telrcv |
|
43 |
165 |
710 |
1 |
| rlogin_susp |
|
2 |
10 |
39 |
1 |
| telsnd |
|
38 |
127 |
612 |
1 |
| Scheduler |
|
12 |
26 |
158 |
1 |
| telnet |
|
9 |
36 |
184 |
1 |
| nextitem |
|
10 |
26 |
114 |
1 |
| netclear |
|
7 |
25 |
129 |
1 |
| doflush |
|
1 |
9 |
43 |
1 |
| xmitAO |
|
2 |
8 |
32 |
1 |
| xmitEL |
|
1 |
5 |
22 |
1 |
| xmitEC |
|
1 |
5 |
22 |
1 |
| dosynch |
|
1 |
9 |
36 |
1 |
| get_status |
|
3 |
22 |
120 |
1 |
| intp |
|
3 |
12 |
46 |
1 |
| sendbrk |
|
3 |
12 |
46 |
1 |
| sendabort |
|
3 |
12 |
46 |
1 |
| sendsusp |
|
3 |
12 |
46 |
1 |
| sendeof |
|
1 |
5 |
22 |
1 |
| sendayt |
|
1 |
5 |
22 |
1 |
| sendnaws |
|
4 |
23 |
136 |
1 |
| tel_enter_binary |
|
3 |
7 |
33 |
1 |
| tel_leave_binary |
|
3 |
7 |
33 |
1 |
| Source file: ./usr.bin/vmstat/dkstats.h |
| Source file: ./usr.bin/fold/fold.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
26 |
63 |
366 |
2 |
| fold |
|
29 |
91 |
549 |
1 |
| isu8cont |
|
2 |
4 |
25 |
1 |
| usage |
|
1 |
5 |
21 |
1 |
| Source file: ./usr.bin/mesg/mesg.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
12 |
41 |
270 |
2 |
| Source file: ./usr.bin/aucat/dsp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| aparams_enctostr |
|
9 |
23 |
177 |
2 |
| aparams_strtoenc |
|
25 |
59 |
398 |
2 |
| aparams_init |
|
1 |
8 |
42 |
1 |
| aparams_log |
|
1 |
6 |
27 |
1 |
| aparams_native |
|
6 |
6 |
56 |
1 |
| resamp_getcnt |
|
2 |
12 |
105 |
3 |
| resamp_do |
|
12 |
73 |
374 |
5 |
| uint_gcd |
|
2 |
10 |
41 |
2 |
| resamp_init |
|
6 |
26 |
152 |
4 |
| enc_do |
|
5 |
38 |
215 |
4 |
| enc_sil_do |
|
5 |
33 |
186 |
3 |
| enc_init |
|
6 |
31 |
189 |
3 |
| dec_do |
|
5 |
38 |
210 |
4 |
| f32_to_adata |
|
3 |
14 |
106 |
1 |
| dec_do_float |
|
5 |
29 |
165 |
4 |
| dec_do_ulaw |
|
5 |
18 |
120 |
5 |
| dec_init |
|
6 |
31 |
188 |
3 |
| cmap_add |
|
7 |
34 |
209 |
5 |
| cmap_copy |
|
5 |
29 |
175 |
5 |
| cmap_init |
|
11 |
42 |
242 |
9 |
| Source file: ./usr.bin/vmstat/dkstats.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dkswap |
|
4 |
28 |
222 |
1 |
| dkreadstats |
|
58 |
233 |
2117 |
1 |
| dkinit |
|
37 |
105 |
1013 |
1 |
| deref_kptr |
|
2 |
10 |
79 |
3 |
| Source file: ./usr.bin/rs/utf8.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mbsavis |
|
7 |
36 |
202 |
2 |
| Source file: ./usr.bin/locale/locale.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| put_assignment |
|
22 |
24 |
146 |
3 |
| show_current_locale |
|
4 |
17 |
131 |
1 |
| show_locales |
|
2 |
6 |
27 |
1 |
| usage |
|
1 |
5 |
20 |
1 |
| main |
|
11 |
32 |
161 |
2 |
| Source file: ./usr.bin/skey/skey.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
32 |
93 |
685 |
2 |
| usage |
|
1 |
7 |
21 |
1 |
| Source file: ./usr.bin/vmstat/vmstat.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
40 |
114 |
637 |
2 |
| choosedrives |
|
10 |
24 |
140 |
1 |
| getuptime |
|
4 |
13 |
87 |
1 |
| dovmstat |
|
12 |
66 |
553 |
2 |
| printhdr |
|
8 |
24 |
182 |
1 |
| needhdr |
|
1 |
4 |
12 |
1 |
| dotimes |
|
6 |
30 |
209 |
1 |
| pct |
|
2 |
8 |
37 |
2 |
| dosum |
|
10 |
91 |
806 |
1 |
| doforkst |
|
7 |
28 |
244 |
1 |
| dkstats |
|
5 |
19 |
111 |
1 |
| cpustats |
|
3 |
15 |
124 |
1 |
| dointr |
|
10 |
63 |
423 |
1 |
| domem |
|
31 |
138 |
1008 |
1 |
| print_pool |
|
5 |
43 |
308 |
2 |
| dopool |
|
3 |
7 |
25 |
1 |
| dopool_sysctl |
|
6 |
43 |
291 |
1 |
| dopool_kvm |
|
4 |
51 |
387 |
1 |
| kread |
|
6 |
16 |
123 |
3 |
| usage |
|
1 |
6 |
24 |
1 |
| Source file: ./usr.bin/who/who.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
35 |
102 |
602 |
2 |
| who_am_i |
|
6 |
19 |
155 |
1 |
| output |
|
11 |
41 |
314 |
1 |
| output_labels |
|
3 |
12 |
86 |
1 |
| file |
|
6 |
15 |
91 |
1 |
| usage |
|
1 |
5 |
21 |
1 |
| Source file: ./usr.bin/aucat/aucat.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| slot_log |
|
4 |
11 |
58 |
1 |
| slot_flush |
|
4 |
18 |
97 |
1 |
| slot_fill |
|
6 |
20 |
105 |
1 |
| slot_new |
|
12 |
59 |
365 |
10 |
| slot_init |
|
23 |
91 |
661 |
1 |
| slot_start |
|
8 |
26 |
145 |
2 |
| slot_stop |
|
6 |
14 |
78 |
1 |
| slot_del |
|
7 |
21 |
124 |
1 |
| slot_getcnt |
|
3 |
11 |
67 |
3 |
| play_filt_resamp |
|
4 |
23 |
205 |
5 |
| play_filt_dec |
|
6 |
23 |
147 |
5 |
| slot_mix_badd |
|
6 |
32 |
198 |
2 |
| rec_filt_resamp |
|
5 |
23 |
211 |
5 |
| rec_filt_enc |
|
3 |
8 |
68 |
5 |
| slot_sub_bcopy |
|
6 |
27 |
178 |
3 |
| dev_open |
|
26 |
93 |
569 |
4 |
| dev_close |
|
4 |
10 |
42 |
1 |
| dev_master |
|
4 |
15 |
83 |
1 |
| dev_slotvol |
|
5 |
19 |
101 |
2 |
| dev_mmcstart |
|
7 |
16 |
90 |
1 |
| dev_mmcstop |
|
6 |
15 |
74 |
1 |
| dev_mmcloc |
|
4 |
31 |
181 |
6 |
| dev_imsg |
|
21 |
62 |
336 |
2 |
| midi_in |
|
13 |
39 |
234 |
2 |
| slot_list_mix |
|
9 |
23 |
151 |
3 |
| slot_list_copy |
|
4 |
13 |
82 |
3 |
| slot_list_iodo |
|
7 |
14 |
107 |
1 |
| offline |
|
9 |
37 |
230 |
1 |
| playrec_cycle |
|
10 |
45 |
231 |
1 |
| sigint |
|
2 |
6 |
20 |
1 |
| playrec |
|
23 |
87 |
513 |
4 |
| opt_onoff |
|
3 |
14 |
67 |
2 |
| opt_enc |
|
3 |
11 |
56 |
2 |
| opt_hdr |
|
6 |
26 |
130 |
2 |
| opt_ch |
|
8 |
21 |
130 |
3 |
| opt_num |
|
2 |
15 |
80 |
4 |
| opt_pos |
|
2 |
11 |
55 |
2 |
| main |
|
37 |
117 |
563 |
2 |
| Source file: ./usr.bin/rs/rs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
3 |
15 |
85 |
2 |
| getfile |
|
24 |
66 |
373 |
1 |
| putfile |
|
8 |
22 |
142 |
1 |
| prints |
|
5 |
11 |
73 |
2 |
| usage |
|
1 |
8 |
25 |
1 |
| prepfile |
|
28 |
69 |
471 |
1 |
| get_line |
|
7 |
15 |
97 |
1 |
| getptrs |
|
3 |
14 |
86 |
1 |
| getargs |
|
37 |
116 |
504 |
2 |
| Source file: ./usr.bin/yacc/warshall.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| transitive_closure |
|
6 |
31 |
162 |
2 |
| reflexive_transitive_closure |
|
3 |
19 |
95 |
2 |
| Source file: ./usr.bin/infocmp/infocmp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ExitProgram |
|
2 |
8 |
38 |
1 |
| canonical_name |
|
2 |
8 |
56 |
3 |
| capcmp |
|
7 |
11 |
90 |
3 |
| use_predicate |
|
17 |
49 |
317 |
2 |
| useeq |
|
6 |
17 |
116 |
2 |
| entryeq |
|
7 |
14 |
139 |
2 |
| print_uses |
|
4 |
12 |
78 |
2 |
| dump_boolean |
|
5 |
15 |
52 |
1 |
| dump_numeric |
|
3 |
14 |
63 |
3 |
| dump_string |
|
3 |
10 |
67 |
3 |
| compare_predicate |
|
45 |
98 |
638 |
3 |
| skip_csi |
|
4 |
9 |
54 |
1 |
| same_param |
|
2 |
8 |
54 |
3 |
| lookup_params |
|
8 |
27 |
206 |
4 |
| analyze_string |
|
45 |
136 |
1088 |
3 |
| file_comparison |
|
40 |
142 |
1143 |
2 |
| usage |
|
7 |
51 |
189 |
1 |
| any_initializer |
|
5 |
18 |
149 |
2 |
| name_initializer |
|
1 |
4 |
17 |
1 |
| string_variable |
|
1 |
4 |
17 |
1 |
| dump_initializers |
|
23 |
104 |
706 |
1 |
| dump_termtype |
|
5 |
28 |
237 |
1 |
| optarg_to_number |
|
4 |
10 |
62 |
1 |
| terminal_env |
|
2 |
11 |
45 |
1 |
| main |
|
87 |
300 |
1616 |
2 |
| Source file: ./usr.bin/yacc/skeleton.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| write_section |
|
2 |
10 |
54 |
1 |
| Source file: ./usr.bin/rusers/rusers.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
21 |
52 |
273 |
2 |
| add_host |
|
6 |
18 |
122 |
1 |
| fmt_idle |
|
7 |
33 |
209 |
3 |
| rusers_reply |
|
14 |
48 |
390 |
2 |
| rusers_reply_3 |
|
14 |
48 |
382 |
2 |
| onehost |
|
7 |
52 |
332 |
1 |
| get_reply |
|
8 |
38 |
297 |
6 |
| rpc_setup |
|
5 |
21 |
190 |
6 |
| allhosts |
|
26 |
121 |
1024 |
1 |
| print_entry |
|
7 |
38 |
327 |
2 |
| expandhosts |
|
5 |
23 |
179 |
1 |
| sorthosts |
|
7 |
16 |
102 |
1 |
| hcompare |
|
6 |
17 |
136 |
2 |
| icompare |
|
5 |
14 |
118 |
2 |
| ucompare |
|
5 |
14 |
118 |
2 |
| alarmclock |
|
1 |
4 |
8 |
1 |
| estrndup |
|
3 |
11 |
85 |
2 |
| usage |
|
1 |
6 |
20 |
1 |
| Source file: ./usr.bin/yacc/symtab.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| hash |
|
3 |
11 |
65 |
1 |
| make_bucket |
|
3 |
20 |
111 |
1 |
| lookup |
|
3 |
16 |
90 |
1 |
| create_symbol_table |
|
2 |
13 |
70 |
1 |
| free_symbol_table |
|
1 |
5 |
15 |
1 |
| free_symbols |
|
2 |
8 |
38 |
1 |
| Source file: ./usr.bin/yacc/error.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fatal |
|
1 |
5 |
24 |
1 |
| no_space |
|
1 |
5 |
20 |
1 |
| open_error |
|
1 |
6 |
24 |
1 |
| open_write_error |
|
1 |
6 |
24 |
1 |
| unexpected_EOF |
|
1 |
6 |
22 |
1 |
| print_pos |
|
7 |
21 |
131 |
2 |
| syntax_error |
|
1 |
7 |
38 |
3 |
| unterminated_comment |
|
1 |
7 |
38 |
3 |
| unterminated_string |
|
1 |
7 |
38 |
3 |
| unterminated_text |
|
1 |
7 |
38 |
3 |
| unterminated_union |
|
1 |
7 |
38 |
3 |
| over_unionized |
|
1 |
7 |
31 |
1 |
| illegal_tag |
|
1 |
7 |
38 |
3 |
| illegal_character |
|
1 |
7 |
31 |
1 |
| used_reserved |
|
1 |
6 |
26 |
1 |
| tokenized_start |
|
1 |
6 |
26 |
1 |
| retyped_warning |
|
1 |
5 |
21 |
1 |
| reprec_warning |
|
1 |
5 |
21 |
1 |
| revalued_warning |
|
1 |
5 |
21 |
1 |
| terminal_start |
|
1 |
6 |
26 |
1 |
| restarted_warning |
|
1 |
5 |
17 |
1 |
| no_grammar |
|
1 |
6 |
22 |
1 |
| terminal_lhs |
|
1 |
6 |
23 |
1 |
| prec_redeclared |
|
1 |
5 |
17 |
1 |
| unterminated_action |
|
1 |
7 |
38 |
3 |
| dollar_warning |
|
1 |
5 |
23 |
2 |
| dollar_error |
|
1 |
7 |
38 |
3 |
| untyped_lhs |
|
1 |
6 |
22 |
1 |
| untyped_rhs |
|
1 |
6 |
31 |
2 |
| unknown_rhs |
|
1 |
6 |
25 |
1 |
| default_action_warning |
|
1 |
5 |
17 |
1 |
| undefined_goal |
|
1 |
5 |
24 |
1 |
| undefined_symbol_warning |
|
1 |
4 |
19 |
1 |
| Source file: ./usr.bin/yacc/closure.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| print_closure |
|
2 |
7 |
39 |
1 |
| print_EFF |
|
5 |
21 |
138 |
1 |
| print_first_derives |
|
5 |
21 |
128 |
1 |
| set_EFF |
|
5 |
22 |
132 |
1 |
| set_first_derives |
|
7 |
31 |
201 |
1 |
| closure |
|
14 |
43 |
274 |
2 |
| finalize_closure |
|
1 |
6 |
28 |
1 |
| Source file: ./usr.bin/yacc/lalr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| lalr |
|
1 |
17 |
65 |
1 |
| set_state_table |
|
2 |
7 |
43 |
1 |
| set_accessing_symbol |
|
2 |
7 |
44 |
1 |
| set_shift_table |
|
2 |
7 |
43 |
1 |
| set_reduction_table |
|
2 |
7 |
43 |
1 |
| set_maxrhs |
|
4 |
17 |
80 |
1 |
| initialize_LA |
|
6 |
27 |
172 |
1 |
| set_goto_map |
|
10 |
43 |
315 |
1 |
| map_goto |
|
4 |
17 |
98 |
2 |
| initialize_F |
|
10 |
46 |
317 |
1 |
| build_relations |
|
13 |
60 |
420 |
1 |
| add_lookback_edge |
|
4 |
19 |
106 |
3 |
| transpose |
|
9 |
34 |
225 |
2 |
| compute_FOLLOWS |
|
1 |
4 |
11 |
1 |
| compute_lookaheads |
|
6 |
26 |
168 |
1 |
| digraph |
|
3 |
15 |
96 |
1 |
| traverse |
|
10 |
35 |
217 |
1 |
| Source file: ./usr.bin/yacc/defs.h |
| Source file: ./usr.bin/yacc/lr0.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| allocate_itemsets |
|
5 |
28 |
170 |
1 |
| allocate_storage |
|
1 |
7 |
40 |
1 |
| append_states |
|
6 |
18 |
117 |
1 |
| free_storage |
|
1 |
10 |
41 |
1 |
| generate_states |
|
3 |
19 |
92 |
1 |
| get_state |
|
11 |
38 |
209 |
1 |
| initialize_states |
|
4 |
21 |
142 |
1 |
| new_itemsets |
|
4 |
23 |
121 |
1 |
| new_state |
|
4 |
23 |
141 |
1 |
| save_shifts |
|
3 |
20 |
112 |
1 |
| save_reductions |
|
6 |
31 |
171 |
1 |
| set_derives |
|
5 |
20 |
117 |
1 |
| free_derives |
|
1 |
5 |
19 |
1 |
| print_derives |
|
3 |
14 |
80 |
1 |
| set_nullable |
|
11 |
34 |
178 |
1 |
| free_nullable |
|
1 |
4 |
11 |
1 |
| lr0 |
|
1 |
6 |
18 |
1 |
| Source file: ./usr.bin/yacc/main.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| done |
|
5 |
12 |
48 |
1 |
| onintr |
|
1 |
5 |
17 |
1 |
| set_signals |
|
7 |
9 |
60 |
1 |
| usage |
|
1 |
5 |
20 |
1 |
| getargs |
|
12 |
43 |
164 |
2 |
| allocate |
|
3 |
11 |
44 |
1 |
| create_file_names |
|
21 |
58 |
353 |
1 |
| open_files |
|
16 |
38 |
240 |
1 |
| main |
|
2 |
16 |
79 |
2 |
| Source file: ./usr.bin/yacc/reader.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cachec |
|
3 |
12 |
55 |
1 |
| get_line |
|
12 |
43 |
202 |
1 |
| dup_line |
|
5 |
17 |
91 |
1 |
| skip_comment |
|
6 |
22 |
113 |
1 |
| nextc |
|
18 |
48 |
190 |
1 |
| keyword |
|
27 |
55 |
368 |
1 |
| copy_ident |
|
6 |
25 |
117 |
1 |
| copy_text |
|
29 |
109 |
585 |
1 |
| copy_union |
|
38 |
130 |
698 |
1 |
| get_literal |
|
43 |
135 |
664 |
1 |
| is_reserved |
|
9 |
16 |
114 |
1 |
| get_name |
|
3 |
11 |
69 |
1 |
| get_number |
|
2 |
10 |
50 |
1 |
| get_tag |
|
13 |
44 |
273 |
1 |
| declare_tokens |
|
24 |
52 |
293 |
1 |
| declare_expect |
|
9 |
22 |
115 |
1 |
| declare_types |
|
12 |
24 |
137 |
1 |
| declare_start |
|
9 |
16 |
95 |
1 |
| read_declarations |
|
16 |
43 |
159 |
1 |
| initialize_grammar |
|
5 |
28 |
181 |
1 |
| expand_items |
|
2 |
9 |
61 |
1 |
| expand_rules |
|
4 |
13 |
83 |
1 |
| advance_to_start |
|
14 |
42 |
202 |
1 |
| start_rule |
|
3 |
11 |
61 |
2 |
| end_rule |
|
8 |
17 |
105 |
1 |
| insert_empty_rule |
|
4 |
25 |
184 |
1 |
| add_symbol |
|
6 |
24 |
112 |
1 |
| copy_action |
|
55 |
182 |
1101 |
1 |
| mark_symbol |
|
17 |
33 |
261 |
1 |
| read_grammar |
|
14 |
26 |
143 |
1 |
| free_tags |
|
3 |
11 |
53 |
1 |
| pack_names |
|
5 |
22 |
147 |
1 |
| check_symbols |
|
4 |
12 |
64 |
1 |
| pack_symbols |
|
29 |
104 |
756 |
1 |
| pack_grammar |
|
10 |
54 |
361 |
1 |
| print_grammar |
|
7 |
29 |
191 |
1 |
| reader |
|
1 |
15 |
55 |
1 |
| Source file: ./usr.bin/yacc/verbose.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| verbose |
|
7 |
21 |
112 |
1 |
| log_unused |
|
4 |
14 |
103 |
1 |
| log_conflicts |
|
10 |
23 |
156 |
1 |
| print_state |
|
4 |
11 |
59 |
1 |
| print_conflicts |
|
9 |
39 |
196 |
1 |
| print_core |
|
5 |
26 |
178 |
1 |
| print_nulls |
|
12 |
31 |
228 |
1 |
| print_actions |
|
6 |
19 |
106 |
1 |
| print_shifts |
|
8 |
17 |
105 |
1 |
| print_reductions |
|
10 |
26 |
156 |
2 |
| print_gotos |
|
3 |
17 |
95 |
1 |
| Source file: ./usr.bin/vi/build/pathnames.h |
| Source file: ./usr.bin/vi/build/config.h |
| Source file: ./usr.bin/yacc/mkpar.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| make_parser |
|
3 |
13 |
70 |
1 |
| parse_actions |
|
1 |
7 |
32 |
1 |
| get_shifts |
|
4 |
28 |
153 |
1 |
| add_reductions |
|
4 |
18 |
124 |
2 |
| add_reduce |
|
11 |
28 |
183 |
3 |
| find_final_state |
|
3 |
14 |
76 |
1 |
| unused_rules |
|
10 |
25 |
153 |
1 |
| remove_conflicts |
|
13 |
51 |
303 |
1 |
| total_conflicts |
|
7 |
17 |
92 |
1 |
| sole_reduction |
|
10 |
22 |
130 |
1 |
| defreds |
|
2 |
7 |
41 |
1 |
| free_action_row |
|
2 |
9 |
33 |
1 |
| free_parser |
|
2 |
7 |
35 |
1 |
| Source file: ./usr.bin/script/script.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
26 |
88 |
545 |
2 |
| finish |
|
4 |
15 |
79 |
1 |
| handlesigwinch |
|
3 |
12 |
72 |
1 |
| dooutput |
|
13 |
56 |
381 |
1 |
| scriptflush |
|
1 |
4 |
11 |
1 |
| doshell |
|
2 |
13 |
74 |
1 |
| fail |
|
1 |
5 |
21 |
1 |
| done |
|
3 |
15 |
90 |
1 |
| Source file: ./usr.bin/vi/vi/v_at.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| v_at |
|
13 |
36 |
280 |
2 |
| Source file: ./usr.bin/vi/vi/v_paragraph.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| v_paragraphf |
|
28 |
81 |
547 |
2 |
| v_paragraphb |
|
17 |
56 |
324 |
2 |
| v_buildps |
|
7 |
19 |
144 |
3 |
| Source file: ./usr.bin/vi/vi/v_match.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| v_match |
|
37 |
103 |
656 |
2 |
| Source file: ./usr.bin/vi/vi/v_increment.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| v_increment |
|
56 |
149 |
1070 |
2 |
| inc_err |
|
5 |
15 |
58 |
2 |
| Source file: ./usr.bin/vi/vi/vi.h |
| Source file: ./usr.bin/vi/vi/v_cmd.c |
| Source file: ./usr.bin/yacc/output.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| output |
|
2 |
22 |
86 |
1 |
| output_prefix |
|
2 |
61 |
343 |
1 |
| output_rule_data |
|
9 |
39 |
207 |
1 |
| output_yydefred |
|
7 |
23 |
126 |
1 |
| output_actions |
|
1 |
22 |
117 |
1 |
| token_actions |
|
19 |
68 |
496 |
1 |
| goto_actions |
|
5 |
26 |
148 |
1 |
| default_goto |
|
5 |
24 |
135 |
1 |
| save_column |
|
6 |
31 |
202 |
2 |
| sort_actions |
|
9 |
26 |
173 |
1 |
| pack_table |
|
5 |
31 |
190 |
1 |
| matching_vector |
|
10 |
23 |
177 |
1 |
| pack_vector |
|
22 |
61 |
400 |
1 |
| output_base |
|
13 |
53 |
295 |
1 |
| output_table |
|
5 |
23 |
121 |
1 |
| output_check |
|
5 |
21 |
109 |
1 |
| is_C_identifier |
|
16 |
24 |
174 |
1 |
| output_defines |
|
14 |
45 |
278 |
1 |
| output_stored_text |
|
7 |
23 |
130 |
1 |
| output_debug |
|
50 |
181 |
1048 |
1 |
| output_stype |
|
3 |
7 |
28 |
1 |
| output_trailing_text |
|
12 |
46 |
247 |
1 |
| output_semantic_actions |
|
8 |
28 |
151 |
1 |
| free_itemsets |
|
2 |
9 |
43 |
1 |
| free_shifts |
|
2 |
9 |
43 |
1 |
| free_reductions |
|
2 |
9 |
43 |
1 |
| Source file: ./usr.bin/vi/vi/v_section.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| v_sectionf |
|
30 |
65 |
500 |
2 |
| v_sectionb |
|
19 |
48 |
350 |
2 |
| Source file: ./usr.bin/vi/vi/v_scroll.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| v_lgoto |
|
8 |
23 |
141 |
2 |
| v_home |
|
3 |
8 |
56 |
2 |
| v_middle |
|
2 |
7 |
43 |
2 |
| v_bottom |
|
3 |
8 |
56 |
2 |
| goto_adjust |
|
7 |
16 |
124 |
1 |
| v_up |
|
3 |
12 |
84 |
2 |
| v_cr |
|
3 |
8 |
62 |
2 |
| v_down |
|
4 |
12 |
95 |
2 |
| v_hpageup |
|
3 |
9 |
65 |
2 |
| v_hpagedown |
|
3 |
9 |
65 |
2 |
| v_pagedown |
|
5 |
11 |
106 |
2 |
| v_pageup |
|
5 |
11 |
106 |
2 |
| v_lineup |
|
3 |
8 |
57 |
2 |
| v_linedown |
|
3 |
8 |
57 |
2 |
| Source file: ./usr.bin/vi/vi/v_z.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| v_z |
|
26 |
61 |
434 |
2 |
| vs_crel |
|
2 |
9 |
71 |
2 |
| Source file: ./usr.bin/vi/vi/getc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cs_init |
|
5 |
18 |
123 |
2 |
| cs_next |
|
9 |
34 |
187 |
2 |
| cs_fspace |
|
7 |
12 |
77 |
2 |
| cs_fblank |
|
7 |
12 |
71 |
2 |
| cs_prev |
|
12 |
41 |
219 |
2 |
| cs_bblank |
|
7 |
12 |
71 |
2 |
| Source file: ./usr.bin/vi/vi/vs_split.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| vs_split |
|
23 |
74 |
657 |
3 |
| vs_discard |
|
9 |
45 |
286 |
2 |
| vs_fg |
|
7 |
29 |
179 |
4 |
| vs_bg |
|
3 |
20 |
116 |
1 |
| vs_swap |
|
7 |
37 |
338 |
3 |
| vs_resize |
|
18 |
75 |
442 |
3 |
| vs_getbg |
|
5 |
22 |
143 |
2 |
| Source file: ./usr.bin/vi/vi/v_sentence.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| v_sentencef |
|
49 |
102 |
631 |
2 |
| v_sentenceb |
|
58 |
111 |
725 |
2 |
| Source file: ./usr.bin/vi/vi/vs_relative.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| vs_column |
|
3 |
9 |
77 |
2 |
| vs_screens |
|
8 |
20 |
154 |
3 |
| vs_columns |
|
13 |
46 |
261 |
5 |
| vs_rcm |
|
5 |
12 |
82 |
3 |
| vs_colpos |
|
13 |
33 |
251 |
3 |
| Source file: ./usr.bin/vi/vi/v_util.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| v_eof |
|
4 |
14 |
72 |
2 |
| v_eol |
|
4 |
14 |
82 |
2 |
| v_nomove |
|
1 |
4 |
17 |
1 |
| v_sof |
|
3 |
7 |
43 |
2 |
| v_sol |
|
1 |
4 |
17 |
1 |
| v_isempty |
|
3 |
7 |
39 |
2 |
| v_emsg |
|
10 |
30 |
132 |
3 |
| Source file: ./usr.bin/vi/vi/v_ch.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| v_chrepeat |
|
6 |
19 |
105 |
2 |
| v_chrrepeat |
|
6 |
28 |
138 |
2 |
| v_cht |
|
3 |
10 |
63 |
2 |
| v_chf |
|
11 |
32 |
231 |
2 |
| v_chT |
|
2 |
9 |
55 |
2 |
| v_chF |
|
11 |
34 |
233 |
2 |
| noprev |
|
1 |
4 |
17 |
1 |
| notfound |
|
1 |
4 |
27 |
2 |
| Source file: ./usr.bin/vi/vi/vs_smap.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| vs_change |
|
27 |
71 |
426 |
3 |
| vs_sm_fill |
|
21 |
78 |
515 |
3 |
| vs_sm_delete |
|
12 |
27 |
231 |
2 |
| vs_sm_insert |
|
7 |
27 |
231 |
2 |
| vs_sm_reset |
|
23 |
65 |
510 |
2 |
| vs_sm_scroll |
|
16 |
29 |
167 |
4 |
| vs_sm_up |
|
52 |
114 |
748 |
5 |
| vs_sm_1up |
|
5 |
15 |
120 |
1 |
| vs_deleteln |
|
3 |
18 |
125 |
2 |
| vs_sm_down |
|
50 |
106 |
652 |
5 |
| vs_sm_erase |
|
2 |
12 |
97 |
1 |
| vs_sm_1down |
|
5 |
15 |
120 |
1 |
| vs_insertln |
|
3 |
19 |
146 |
2 |
| vs_sm_next |
|
3 |
19 |
121 |
3 |
| vs_sm_prev |
|
3 |
17 |
118 |
3 |
| vs_sm_cursor |
|
10 |
20 |
150 |
2 |
| vs_sm_position |
|
20 |
49 |
321 |
4 |
| vs_sm_nlines |
|
9 |
20 |
174 |
4 |
| Source file: ./usr.bin/vi/vi/v_xchar.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| v_xchar |
|
9 |
26 |
215 |
2 |
| v_Xchar |
|
6 |
20 |
156 |
2 |
| Source file: ./usr.bin/vi/vi/v_redraw.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| v_redraw |
|
1 |
4 |
26 |
2 |
| Source file: ./usr.bin/vi/vi/v_left.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| v_left |
|
5 |
17 |
112 |
2 |
| v_cfirst |
|
12 |
26 |
195 |
2 |
| v_first |
|
7 |
22 |
153 |
2 |
| v_ncol |
|
10 |
30 |
204 |
2 |
| v_zero |
|
4 |
12 |
74 |
2 |
| Source file: ./usr.bin/vi/vi/v_ulcase.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| v_ulcase |
|
9 |
39 |
240 |
2 |
| v_mulcase |
|
9 |
18 |
142 |
2 |
| ulcase |
|
6 |
24 |
181 |
6 |
| Source file: ./usr.bin/vi/vi/v_ex.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| v_again |
|
1 |
8 |
76 |
2 |
| v_exmode |
|
2 |
18 |
123 |
2 |
| v_join |
|
3 |
10 |
94 |
2 |
| v_shiftl |
|
1 |
8 |
76 |
2 |
| v_shiftr |
|
1 |
8 |
76 |
2 |
| v_suspend |
|
1 |
8 |
73 |
2 |
| v_switch |
|
4 |
21 |
153 |
2 |
| v_tagpush |
|
1 |
8 |
81 |
2 |
| v_tagpop |
|
1 |
6 |
46 |
2 |
| v_filter |
|
8 |
33 |
314 |
2 |
| v_event_exec |
|
3 |
15 |
90 |
2 |
| v_exec_ex |
|
2 |
6 |
44 |
3 |
| v_ex |
|
18 |
48 |
312 |
2 |
| v_ex_done |
|
4 |
14 |
107 |
2 |
| v_ecl |
|
6 |
26 |
180 |
1 |
| v_ecl_exec |
|
5 |
18 |
120 |
1 |
| v_ecl_log |
|
5 |
19 |
132 |
2 |
| v_ecl_init |
|
4 |
16 |
109 |
1 |
| Source file: ./usr.bin/vi/vi/v_status.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| v_status |
|
1 |
5 |
33 |
2 |
| Source file: ./usr.bin/vi/vi/v_word.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| v_wordW |
|
1 |
4 |
24 |
2 |
| v_wordw |
|
1 |
4 |
24 |
2 |
| fword |
|
54 |
89 |
646 |
3 |
| v_wordE |
|
1 |
4 |
24 |
2 |
| v_worde |
|
1 |
4 |
24 |
2 |
| eword |
|
43 |
77 |
539 |
3 |
| v_wordB |
|
1 |
4 |
24 |
2 |
| v_wordb |
|
1 |
4 |
24 |
2 |
| bword |
|
42 |
78 |
538 |
3 |
| Source file: ./usr.bin/vi/vi/v_undo.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| v_Undo |
|
1 |
7 |
45 |
2 |
| v_undo |
|
6 |
19 |
129 |
2 |
| Source file: ./usr.bin/vi/vi/v_right.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| v_right |
|
10 |
29 |
212 |
2 |
| v_dollar |
|
14 |
30 |
234 |
2 |
| Source file: ./usr.bin/vi/vi/v_put.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| v_Put |
|
7 |
16 |
119 |
2 |
| v_put |
|
7 |
16 |
119 |
2 |
| inc_buf |
|
9 |
33 |
114 |
2 |
| Source file: ./usr.bin/vi/vi/v_replace.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| v_replace |
|
33 |
96 |
718 |
2 |
| Source file: ./usr.bin/vi/vi/vs_msg.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| vs_busy |
|
17 |
59 |
496 |
3 |
| vs_home |
|
1 |
5 |
41 |
1 |
| vs_update |
|
8 |
29 |
260 |
3 |
| vs_msg |
|
33 |
88 |
700 |
4 |
| vs_output |
|
20 |
74 |
529 |
4 |
| vs_ex_resolve |
|
16 |
53 |
390 |
2 |
| vs_resolve |
|
13 |
59 |
386 |
3 |
| vs_scroll |
|
6 |
19 |
150 |
3 |
| vs_wait |
|
16 |
58 |
326 |
3 |
| vs_divider |
|
2 |
11 |
87 |
1 |
| vs_msgsave |
|
3 |
21 |
173 |
4 |
| Source file: ./usr.bin/vi/vi/v_delete.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| v_delete |
|
15 |
38 |
302 |
2 |
| Source file: ./usr.bin/vi/vi/vs_refresh.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| vs_repaint |
|
3 |
11 |
72 |
2 |
| vs_refresh |
|
15 |
38 |
279 |
2 |
| vs_paint |
|
125 |
295 |
2139 |
2 |
| vs_modeline |
|
19 |
81 |
621 |
1 |
| Source file: ./usr.bin/vi/vi/v_yank.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| v_yank |
|
8 |
18 |
165 |
2 |
| Source file: ./usr.bin/vi/vi/v_init.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| v_screen_copy |
|
4 |
24 |
180 |
2 |
| v_screen_end |
|
2 |
13 |
72 |
1 |
| v_optchange |
|
4 |
12 |
84 |
4 |
| Source file: ./usr.bin/vi/vi/v_mark.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| v_mark |
|
1 |
4 |
31 |
2 |
| v_bmark |
|
1 |
4 |
24 |
2 |
| v_fmark |
|
1 |
4 |
24 |
2 |
| mark |
|
24 |
57 |
432 |
3 |
| Source file: ./usr.bin/vi/vi/v_zexit.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| v_zexit |
|
5 |
12 |
81 |
2 |
| Source file: ./usr.bin/vi/vi/v_search.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| v_searchb |
|
1 |
4 |
24 |
2 |
| v_searchf |
|
1 |
4 |
24 |
2 |
| v_exaddr |
|
32 |
101 |
742 |
3 |
| v_searchN |
|
3 |
16 |
69 |
2 |
| v_searchn |
|
1 |
4 |
32 |
2 |
| v_searchw |
|
2 |
14 |
119 |
2 |
| v_search |
|
10 |
31 |
193 |
6 |
| v_correct |
|
14 |
34 |
272 |
3 |
| Source file: ./usr.bin/vi/vi/v_screen.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| v_screen |
|
4 |
18 |
126 |
2 |
| Source file: ./usr.bin/vi/vi/v_itxt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| v_iA |
|
3 |
8 |
62 |
2 |
| v_ia |
|
6 |
25 |
170 |
2 |
| v_iI |
|
2 |
8 |
53 |
2 |
| v_ii |
|
5 |
19 |
134 |
2 |
| v_iO |
|
1 |
4 |
24 |
2 |
| v_io |
|
1 |
4 |
24 |
2 |
| io |
|
10 |
37 |
266 |
3 |
| v_change |
|
27 |
71 |
618 |
2 |
| v_Replace |
|
6 |
23 |
170 |
2 |
| v_subst |
|
9 |
29 |
238 |
2 |
| set_txt_std |
|
12 |
23 |
170 |
3 |
| Source file: ./usr.bin/vi/vi/vs_line.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| vs_line |
|
82 |
235 |
1593 |
4 |
| vs_number |
|
10 |
30 |
239 |
1 |
| Source file: ./usr.bin/vi/include/com_extern.h |
| Source file: ./usr.bin/vi/include/options_def.h |
| Source file: ./usr.bin/vi/include/ex_def.h |
| Source file: ./usr.bin/vi/vi/vi.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| vi |
|
66 |
179 |
1217 |
1 |
| v_cmd |
|
54 |
153 |
1027 |
6 |
| v_motion |
|
24 |
88 |
696 |
4 |
| v_init |
|
4 |
36 |
274 |
1 |
| v_dtoh |
|
3 |
21 |
130 |
1 |
| v_keyword |
|
8 |
27 |
218 |
1 |
| v_alias |
|
6 |
26 |
124 |
3 |
| v_count |
|
6 |
25 |
157 |
3 |
| v_key |
|
14 |
36 |
174 |
4 |
| v_comlog |
|
4 |
11 |
94 |
2 |
| Source file: ./usr.bin/vi/include/vi_extern.h |
| Source file: ./usr.bin/vi/include/cl_extern.h |
| Source file: ./usr.bin/vi/include/ex_extern.h |
| Source file: ./usr.bin/vi/common/options.h |
| Source file: ./usr.bin/vi/common/mark.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mark_init |
|
1 |
5 |
25 |
2 |
| mark_end |
|
2 |
9 |
51 |
2 |
| mark_get |
|
8 |
25 |
178 |
4 |
| mark_set |
|
9 |
22 |
169 |
4 |
| mark_find |
|
4 |
9 |
79 |
2 |
| mark_insdel |
|
11 |
33 |
174 |
3 |
| Source file: ./usr.bin/vi/common/screen.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _scr::TAILQ_ENTRY |
|
1 |
31 |
119 |
1 |
| Source file: ./usr.bin/vi/common/args.h |
| Source file: ./usr.bin/vi/common/mark.h |
| Source file: ./usr.bin/vi/common/mem.h |
| Source file: ./usr.bin/vi/common/seq.h |
| Source file: ./usr.bin/vi/common/search.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| search_init |
|
28 |
63 |
421 |
6 |
| f_search |
|
33 |
90 |
604 |
7 |
| b_search |
|
42 |
110 |
718 |
7 |
| search_msg |
|
7 |
27 |
107 |
2 |
| search_busy |
|
1 |
4 |
24 |
2 |
| Source file: ./usr.bin/vi/common/util.h |
| Source file: ./usr.bin/vi/common/log.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| log_init |
|
2 |
16 |
109 |
2 |
| log_end |
|
2 |
14 |
94 |
2 |
| log_cursor |
|
3 |
15 |
99 |
1 |
| log_cursor1 |
|
4 |
20 |
187 |
2 |
| log_line |
|
15 |
63 |
432 |
3 |
| log_mark |
|
6 |
27 |
229 |
2 |
| log_backward |
|
20 |
83 |
531 |
2 |
| log_setline |
|
21 |
70 |
452 |
1 |
| log_forward |
|
20 |
84 |
538 |
2 |
| log_err |
|
2 |
9 |
74 |
3 |
| log_trace |
|
9 |
43 |
347 |
4 |
| Source file: ./usr.bin/vi/common/delete.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| del |
|
39 |
95 |
795 |
4 |
| Source file: ./usr.bin/vi/common/gs.h |
| Source file: ./usr.bin/vi/common/key.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| v_key_init |
|
7 |
31 |
219 |
1 |
| v_keyval |
|
6 |
20 |
115 |
3 |
| v_key_ilookup |
|
3 |
10 |
92 |
1 |
| v_key_len |
|
1 |
5 |
28 |
2 |
| v_key_name |
|
15 |
43 |
408 |
2 |
| v_key_val |
|
2 |
7 |
58 |
2 |
| v_event_push |
|
11 |
32 |
246 |
5 |
| v_event_append |
|
6 |
24 |
172 |
2 |
| v_event_get |
|
45 |
107 |
777 |
4 |
| v_sync |
|
1 |
9 |
57 |
2 |
| v_event_err |
|
13 |
38 |
168 |
2 |
| v_event_flush |
|
3 |
9 |
67 |
2 |
| v_event_grow |
|
1 |
11 |
94 |
2 |
| v_key_cmp |
|
1 |
4 |
37 |
2 |
| Source file: ./usr.bin/vi/common/msg.h |
| Source file: ./usr.bin/vi/common/screen.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| screen_init |
|
13 |
59 |
440 |
3 |
| screen_end |
|
12 |
46 |
299 |
1 |
| screen_next |
|
3 |
16 |
101 |
1 |
| Source file: ./usr.bin/vi/common/seq.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| seq_set |
|
15 |
63 |
445 |
9 |
| seq_delete |
|
2 |
7 |
60 |
4 |
| seq_mdel |
|
1 |
9 |
46 |
1 |
| seq_find |
|
20 |
45 |
314 |
7 |
| seq_close |
|
2 |
11 |
63 |
1 |
| seq_dump |
|
11 |
34 |
290 |
3 |
| seq_save |
|
14 |
32 |
256 |
4 |
| e_memcmp |
|
4 |
11 |
63 |
3 |
| Source file: ./usr.bin/vi/common/line.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| db_eget |
|
10 |
17 |
129 |
5 |
| db_get |
|
24 |
66 |
434 |
5 |
| db_delete |
|
9 |
30 |
221 |
2 |
| db_append |
|
10 |
34 |
270 |
5 |
| db_insert |
|
10 |
35 |
267 |
4 |
| db_set |
|
6 |
28 |
224 |
4 |
| db_exist |
|
5 |
15 |
125 |
2 |
| db_last |
|
8 |
38 |
273 |
2 |
| db_err |
|
1 |
5 |
25 |
2 |
| scr_update |
|
7 |
14 |
110 |
4 |
| Source file: ./usr.bin/vi/common/put.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| put |
|
34 |
108 |
858 |
6 |
| Source file: ./usr.bin/vi/common/cut.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _text::TAILQ_ENTRY |
|
1 |
16 |
57 |
1 |
| Source file: ./usr.bin/vi/common/cut.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cut |
|
25 |
72 |
522 |
5 |
| cb_rotate |
|
11 |
40 |
165 |
1 |
| cut_line |
|
5 |
19 |
142 |
5 |
| cut_close |
|
4 |
13 |
87 |
1 |
| text_init |
|
6 |
18 |
127 |
4 |
| text_lfree |
|
2 |
8 |
39 |
1 |
| text_free |
|
1 |
5 |
20 |
1 |
| Source file: ./usr.bin/vi/common/util.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| binc |
|
4 |
15 |
104 |
4 |
| nonblank |
|
7 |
16 |
130 |
3 |
| v_strdup |
|
2 |
10 |
68 |
3 |
| nget_uslong |
|
4 |
10 |
68 |
4 |
| nget_slong |
|
5 |
14 |
84 |
4 |
| TRACE |
|
2 |
12 |
75 |
3 |
| Source file: ./usr.bin/vi/common/recover.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rcv_tmp |
|
8 |
37 |
247 |
3 |
| rcv_init |
|
6 |
31 |
201 |
1 |
| rcv_sync |
|
15 |
45 |
323 |
2 |
| rcv_mailfile |
|
22 |
101 |
681 |
3 |
| rcv_openat |
|
10 |
26 |
162 |
4 |
| rcv_list |
|
16 |
53 |
428 |
1 |
| rcv_read |
|
28 |
106 |
751 |
2 |
| rcv_copy |
|
6 |
15 |
140 |
3 |
| rcv_gets |
|
3 |
12 |
101 |
3 |
| rcv_mktemp |
|
4 |
13 |
88 |
4 |
| rcv_email |
|
10 |
34 |
204 |
2 |
| Source file: ./usr.bin/vi/common/options_f.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| f_altwerase |
|
2 |
6 |
38 |
4 |
| f_columns |
|
3 |
14 |
75 |
4 |
| f_lines |
|
8 |
30 |
234 |
4 |
| f_paragraph |
|
2 |
9 |
50 |
4 |
| f_print |
|
1 |
6 |
37 |
4 |
| f_readonly |
|
2 |
8 |
45 |
4 |
| f_recompile |
|
3 |
12 |
77 |
4 |
| f_reformat |
|
1 |
5 |
32 |
4 |
| f_section |
|
2 |
9 |
50 |
4 |
| f_ttywerase |
|
2 |
6 |
38 |
4 |
| f_w300 |
|
3 |
9 |
67 |
4 |
| f_w1200 |
|
4 |
9 |
71 |
4 |
| f_w9600 |
|
3 |
9 |
67 |
4 |
| f_window |
|
2 |
7 |
60 |
4 |
| Source file: ./usr.bin/vi/common/exf.h |
| Source file: ./usr.bin/vi/common/options.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| opts_init |
|
19 |
94 |
726 |
2 |
| opts_set |
|
86 |
227 |
1344 |
3 |
| o_set |
|
10 |
25 |
220 |
5 |
| opts_empty |
|
4 |
11 |
73 |
3 |
| opts_dump |
|
36 |
100 |
645 |
2 |
| opts_print |
|
7 |
21 |
134 |
2 |
| opts_save |
|
16 |
46 |
325 |
2 |
| opts_search |
|
8 |
28 |
220 |
1 |
| opts_nomatch |
|
1 |
5 |
23 |
2 |
| opts_abbcmp |
|
1 |
4 |
40 |
2 |
| opts_cmp |
|
1 |
4 |
40 |
2 |
| opts_copy |
|
9 |
25 |
224 |
2 |
| opts_free |
|
4 |
11 |
70 |
1 |
| Source file: ./usr.bin/vi/common/msg.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| msgq |
|
33 |
105 |
599 |
4 |
| msgq_str |
|
3 |
15 |
91 |
4 |
| mod_rpt |
|
11 |
70 |
440 |
1 |
| msgq_status |
|
25 |
116 |
820 |
3 |
| msg_cmsg |
|
7 |
28 |
97 |
3 |
| msg_print |
|
14 |
37 |
267 |
3 |
| Source file: ./usr.bin/vi/vi/v_txt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| v_tcmd |
|
7 |
26 |
201 |
4 |
| txt_map_init |
|
4 |
28 |
211 |
1 |
| txt_map_end |
|
8 |
27 |
185 |
1 |
| v_txt |
|
238 |
625 |
4178 |
9 |
| txt_abbrev |
|
22 |
58 |
424 |
6 |
| txt_unmap |
|
8 |
18 |
130 |
3 |
| txt_ai_resolve |
|
16 |
43 |
318 |
3 |
| v_txt_auto |
|
8 |
26 |
206 |
5 |
| txt_backup |
|
6 |
23 |
169 |
4 |
| txt_dent |
|
15 |
41 |
372 |
3 |
| txt_fc |
|
35 |
107 |
835 |
3 |
| txt_fc_col |
|
21 |
76 |
585 |
3 |
| txt_emark |
|
7 |
31 |
262 |
3 |
| txt_err |
|
4 |
9 |
67 |
2 |
| txt_hex |
|
10 |
35 |
283 |
2 |
| txt_insch |
|
18 |
74 |
591 |
4 |
| txt_isrch |
|
21 |
61 |
533 |
4 |
| txt_resolve |
|
10 |
25 |
190 |
3 |
| txt_showmatch |
|
17 |
40 |
299 |
2 |
| txt_margin |
|
11 |
36 |
270 |
5 |
| txt_Rresolve |
|
5 |
22 |
160 |
4 |
| txt_nomorech |
|
1 |
4 |
17 |
1 |
| Source file: ./usr.bin/vi/common/common.h |
| Source file: ./usr.bin/vi/common/log.h |
| Source file: ./usr.bin/vi/common/key.h |
| Source file: ./usr.bin/vi/ex/ex_z.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ex_z |
|
19 |
72 |
513 |
2 |
| Source file: ./usr.bin/vi/common/main.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| editor |
|
86 |
275 |
1637 |
3 |
| v_end |
|
13 |
37 |
289 |
1 |
| v_obsolete |
|
15 |
34 |
288 |
1 |
| attach |
|
5 |
19 |
113 |
1 |
| Source file: ./usr.bin/vi/ex/version.h |
| Source file: ./usr.bin/vi/ex/ex_cd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ex_cd |
|
28 |
60 |
450 |
2 |
| Source file: ./usr.bin/vi/ex/ex_preserve.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ex_preserve |
|
6 |
17 |
114 |
2 |
| ex_recover |
|
5 |
17 |
133 |
2 |
| Source file: ./usr.bin/vi/ex/ex_usage.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ex_help |
|
1 |
13 |
67 |
2 |
| ex_usage |
|
18 |
59 |
446 |
2 |
| ex_viusage |
|
17 |
43 |
289 |
2 |
| Source file: ./usr.bin/vi/ex/ex_abbrev.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ex_abbr |
|
11 |
39 |
309 |
2 |
| ex_unabbr |
|
3 |
12 |
77 |
2 |
| Source file: ./usr.bin/vi/ex/ex_util.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ex_cinit |
|
3 |
15 |
122 |
7 |
| ex_cadd |
|
1 |
7 |
54 |
4 |
| ex_getline |
|
10 |
30 |
182 |
3 |
| ex_ncheck |
|
6 |
13 |
103 |
2 |
| ex_init |
|
2 |
13 |
91 |
1 |
| ex_emsg |
|
13 |
49 |
207 |
3 |
| Source file: ./usr.bin/vi/common/exf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| file_add |
|
7 |
28 |
192 |
2 |
| file_init |
|
47 |
149 |
1085 |
4 |
| file_spath |
|
16 |
48 |
332 |
4 |
| file_cinit |
|
15 |
59 |
373 |
1 |
| file_end |
|
17 |
45 |
369 |
3 |
| file_write |
|
55 |
146 |
1032 |
5 |
| file_backup |
|
34 |
131 |
913 |
3 |
| file_comment |
|
22 |
37 |
308 |
1 |
| file_m1 |
|
9 |
19 |
119 |
3 |
| file_m2 |
|
5 |
13 |
76 |
2 |
| file_m3 |
|
5 |
13 |
73 |
2 |
| file_aw |
|
4 |
13 |
84 |
2 |
| set_alt_name |
|
3 |
8 |
56 |
2 |
| file_lock |
|
6 |
11 |
92 |
5 |
| Source file: ./usr.bin/vi/ex/ex_map.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ex_map |
|
17 |
43 |
363 |
2 |
| ex_unmap |
|
3 |
10 |
80 |
2 |
| Source file: ./usr.bin/vi/ex/ex_screen.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ex_bg |
|
1 |
4 |
20 |
2 |
| ex_fg |
|
4 |
13 |
84 |
2 |
| ex_resize |
|
4 |
20 |
97 |
2 |
| ex_sdisplay |
|
6 |
31 |
199 |
1 |
| Source file: ./usr.bin/vi/ex/ex_set.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ex_set |
|
3 |
13 |
63 |
2 |
| Source file: ./usr.bin/vi/ex/ex_version.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ex_version |
|
1 |
5 |
26 |
2 |
| Source file: ./usr.bin/vi/ex/ex_file.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ex_file |
|
5 |
27 |
177 |
2 |
| Source file: ./usr.bin/vi/ex/ex_quit.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ex_quit |
|
4 |
9 |
63 |
2 |
| Source file: ./usr.bin/vi/ex/ex_argv.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| argv_init |
|
1 |
10 |
57 |
2 |
| argv_exp0 |
|
1 |
13 |
110 |
4 |
| argv_exp1 |
|
6 |
22 |
175 |
5 |
| argv_exp2 |
|
20 |
57 |
411 |
4 |
| argv_exp3 |
|
13 |
36 |
283 |
4 |
| argv_fexp |
|
14 |
77 |
496 |
9 |
| argv_alloc |
|
10 |
44 |
346 |
2 |
| argv_free |
|
5 |
20 |
128 |
1 |
| argv_lexp |
|
13 |
60 |
410 |
3 |
| argv_comp |
|
1 |
4 |
50 |
2 |
| argv_sexp |
|
23 |
84 |
622 |
4 |
| Source file: ./usr.bin/vi/ex/ex_subst.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ex_s |
|
43 |
109 |
859 |
2 |
| ex_subagain |
|
5 |
12 |
107 |
2 |
| ex_subtilde |
|
5 |
12 |
107 |
2 |
| s |
|
108 |
302 |
1987 |
5 |
| re_compile |
|
24 |
61 |
424 |
7 |
| re_conv |
|
32 |
107 |
526 |
4 |
| re_tag_conv |
|
17 |
41 |
287 |
4 |
| re_error |
|
2 |
13 |
90 |
3 |
| re_sub |
|
27 |
79 |
410 |
6 |
| Source file: ./usr.bin/vi/ex/ex_delete.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ex_delete |
|
6 |
17 |
130 |
2 |
| Source file: ./usr.bin/vi/ex/ex.h |
| Source file: ./usr.bin/vi/ex/ex_shell.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ex_shell |
|
2 |
13 |
128 |
2 |
| ex_exec_proc |
|
9 |
40 |
298 |
5 |
| proc_wait |
|
17 |
41 |
305 |
5 |
| Source file: ./usr.bin/vi/ex/ex_undo.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ex_undo |
|
8 |
31 |
173 |
2 |
| Source file: ./usr.bin/vi/ex/ex_script.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ex_script |
|
5 |
13 |
75 |
2 |
| sscr_init |
|
14 |
63 |
499 |
1 |
| sscr_getprompt |
|
16 |
68 |
415 |
1 |
| sscr_exec |
|
16 |
52 |
362 |
2 |
| sscr_check_input |
|
12 |
52 |
311 |
1 |
| sscr_input |
|
12 |
49 |
284 |
1 |
| sscr_insert |
|
15 |
59 |
385 |
1 |
| sscr_setprompt |
|
2 |
15 |
96 |
3 |
| sscr_matchprompt |
|
14 |
27 |
174 |
4 |
| sscr_end |
|
4 |
17 |
120 |
1 |
| sscr_check |
|
2 |
11 |
56 |
1 |
| Source file: ./usr.bin/vi/ex/ex_move.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ex_copy |
|
4 |
30 |
212 |
2 |
| ex_move |
|
25 |
76 |
568 |
2 |
| Source file: ./usr.bin/vi/ex/ex_mkexrc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ex_mkexrc |
|
16 |
52 |
339 |
2 |
| Source file: ./usr.bin/vi/ex/ex_filter.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ex_filter |
|
49 |
150 |
1198 |
7 |
| filter_ldisplay |
|
5 |
12 |
94 |
2 |
| Source file: ./usr.bin/vi/ex/ex_visual.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ex_visual |
|
16 |
69 |
427 |
2 |
| Source file: ./usr.bin/vi/ex/ex_args.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ex_next |
|
20 |
58 |
467 |
2 |
| ex_N_next |
|
6 |
23 |
178 |
2 |
| ex_prev |
|
8 |
24 |
197 |
2 |
| ex_rew |
|
6 |
19 |
143 |
2 |
| ex_args |
|
9 |
28 |
219 |
2 |
| ex_buildargv |
|
8 |
27 |
205 |
3 |
| Source file: ./usr.bin/vi/ex/ex_shift.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ex_shiftl |
|
1 |
4 |
24 |
2 |
| ex_shiftr |
|
1 |
4 |
24 |
2 |
| shift |
|
23 |
73 |
581 |
3 |
| Source file: ./usr.bin/vi/ex/ex_bang.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ex_bang |
|
20 |
66 |
486 |
2 |
| Source file: ./usr.bin/vi/ex/ex_yank.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ex_yank |
|
2 |
7 |
55 |
2 |
| Source file: ./usr.bin/vi/ex/ex_equal.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ex_equal |
|
3 |
12 |
74 |
2 |
| Source file: ./usr.bin/vi/ex/ex_init.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ex_screen_copy |
|
4 |
20 |
131 |
2 |
| ex_screen_end |
|
6 |
19 |
107 |
1 |
| ex_optchange |
|
2 |
8 |
43 |
4 |
| ex_exrc |
|
34 |
77 |
559 |
1 |
| ex_run_file |
|
1 |
8 |
74 |
3 |
| ex_run_str |
|
7 |
29 |
200 |
6 |
| exrc_isok |
|
21 |
69 |
414 |
6 |
| Source file: ./usr.bin/vi/ex/ex_stop.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ex_stop |
|
5 |
11 |
77 |
2 |
| Source file: ./usr.bin/vi/ex/ex_cmd.c |
| Source file: ./usr.bin/vi/ex/ex_append.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ex_append |
|
1 |
4 |
24 |
2 |
| ex_change |
|
1 |
4 |
24 |
2 |
| ex_insert |
|
1 |
4 |
24 |
2 |
| ex_aci |
|
36 |
82 |
627 |
3 |
| Source file: ./usr.bin/vi/ex/script.h |
| Source file: ./usr.bin/vi/ex/ex_source.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ex_sourcefd |
|
7 |
29 |
213 |
3 |
| ex_source |
|
2 |
10 |
75 |
2 |
| Source file: ./usr.bin/vi/ex/ex_join.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ex_join |
|
22 |
70 |
556 |
2 |
| Source file: ./usr.bin/vi/ex/ex.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ex |
|
19 |
71 |
493 |
1 |
| ex_cmd |
|
339 |
802 |
5806 |
1 |
| ex_range |
|
36 |
126 |
727 |
3 |
| ex_line |
|
64 |
168 |
1216 |
5 |
| ex_load |
|
15 |
50 |
335 |
1 |
| ex_discard |
|
4 |
19 |
130 |
1 |
| ex_unknown |
|
1 |
12 |
75 |
3 |
| ex_is_abbrev |
|
3 |
6 |
50 |
2 |
| ex_is_unmap |
|
3 |
9 |
59 |
2 |
| ex_comm_search |
|
5 |
13 |
92 |
2 |
| ex_badaddr |
|
14 |
46 |
203 |
4 |
| ex_comlog |
|
8 |
19 |
170 |
2 |
| Source file: ./usr.bin/vi/ex/ex_print.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ex_list |
|
2 |
9 |
67 |
2 |
| ex_number |
|
2 |
9 |
67 |
2 |
| ex_pr |
|
2 |
8 |
65 |
2 |
| ex_print |
|
10 |
28 |
221 |
5 |
| ex_ldisplay |
|
7 |
13 |
120 |
5 |
| ex_scprint |
|
9 |
26 |
218 |
3 |
| ex_prchars |
|
15 |
38 |
269 |
6 |
| ex_printf |
|
4 |
18 |
149 |
3 |
| ex_puts |
|
5 |
15 |
109 |
2 |
| ex_fflush |
|
2 |
10 |
59 |
1 |
| Source file: ./usr.bin/vi/ex/ex_edit.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ex_edit |
|
12 |
35 |
245 |
2 |
| ex_N_edit |
|
6 |
27 |
212 |
4 |
| Source file: ./usr.bin/vi/ex/ex_open.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ex_open |
|
2 |
10 |
52 |
2 |
| Source file: ./usr.bin/vi/ex/ex_mark.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ex_mark |
|
2 |
9 |
75 |
2 |
| Source file: ./usr.bin/vi/ex/ex_put.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ex_put |
|
3 |
14 |
99 |
2 |
| Source file: ./usr.bin/vi/ex/ex_at.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ex_at |
|
7 |
53 |
386 |
2 |
| Source file: ./usr.bin/vi/ex/ex_read.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ex_read |
|
36 |
145 |
1009 |
2 |
| ex_readfp |
|
14 |
50 |
311 |
6 |
| Source file: ./usr.bin/vi/ex/ex_global.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ex_global |
|
2 |
5 |
35 |
2 |
| ex_v |
|
1 |
4 |
24 |
2 |
| ex_g_setup |
|
35 |
122 |
875 |
3 |
| ex_g_insdel |
|
10 |
43 |
273 |
3 |
| Source file: ./usr.bin/vi/ex/tag.h |
| Source file: ./usr.bin/vi/ex/ex_display.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ex_display |
|
10 |
22 |
202 |
2 |
| bdisplay |
|
10 |
27 |
195 |
1 |
| db |
|
5 |
17 |
133 |
3 |
| Source file: ./usr.bin/vi/ex/ex_txt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ex_txt |
|
55 |
156 |
981 |
4 |
| txt_prompt |
|
5 |
10 |
98 |
4 |
| txt_dent |
|
6 |
24 |
218 |
2 |
| Source file: ./usr.bin/vi/ex/ex_tag.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ex_tag_first |
|
2 |
12 |
92 |
2 |
| ex_tag_push |
|
16 |
80 |
556 |
2 |
| ex_tag_next |
|
4 |
20 |
150 |
2 |
| ex_tag_prev |
|
4 |
20 |
152 |
2 |
| ex_tag_nswitch |
|
5 |
15 |
124 |
3 |
| ex_tag_Nswitch |
|
6 |
29 |
249 |
3 |
| ex_tag_pop |
|
14 |
61 |
363 |
2 |
| ex_tag_top |
|
2 |
12 |
83 |
2 |
| tag_pop |
|
7 |
29 |
219 |
3 |
| ex_tag_display |
|
13 |
52 |
387 |
1 |
| ex_tag_copy |
|
6 |
32 |
238 |
2 |
| tagf_copy |
|
2 |
12 |
77 |
3 |
| tagq_copy |
|
3 |
16 |
104 |
3 |
| tag_copy |
|
5 |
18 |
128 |
3 |
| tagf_free |
|
1 |
9 |
52 |
2 |
| tagq_free |
|
3 |
19 |
109 |
2 |
| tag_msg |
|
4 |
17 |
73 |
3 |
| ex_tagf_alloc |
|
8 |
30 |
206 |
2 |
| ex_tag_free |
|
3 |
13 |
83 |
1 |
| ctag_search |
|
7 |
33 |
233 |
4 |
| ctag_slist |
|
6 |
38 |
265 |
2 |
| ctag_sfile |
|
23 |
79 |
639 |
4 |
| ctag_file |
|
4 |
16 |
137 |
5 |
| binary_search |
|
3 |
15 |
93 |
3 |
| linear_search |
|
5 |
15 |
70 |
3 |
| compare |
|
11 |
8 |
93 |
3 |
| Source file: ./usr.bin/vi/cl/cl_term.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cl_term_init |
|
13 |
35 |
319 |
1 |
| cl_term_end |
|
3 |
10 |
68 |
1 |
| cl_fmap |
|
5 |
9 |
87 |
6 |
| cl_pfmap |
|
6 |
20 |
184 |
6 |
| cl_optchange |
|
9 |
27 |
162 |
4 |
| cl_omesg |
|
12 |
33 |
212 |
3 |
| cl_ssize |
|
26 |
63 |
403 |
5 |
| cl_putchar |
|
1 |
4 |
15 |
1 |
| Source file: ./usr.bin/vi/cl/cl.h |
| Source file: ./usr.bin/vi/ex/ex_write.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ex_wn |
|
3 |
9 |
58 |
2 |
| ex_wq |
|
5 |
13 |
86 |
2 |
| ex_write |
|
1 |
4 |
24 |
2 |
| ex_xit |
|
6 |
14 |
102 |
2 |
| exwr |
|
30 |
68 |
610 |
3 |
| ex_writefp |
|
21 |
65 |
394 |
8 |
| Source file: ./usr.bin/vi/cl/cl_screen.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cl_screen |
|
17 |
42 |
319 |
2 |
| cl_quit |
|
10 |
21 |
144 |
1 |
| cl_vi_init |
|
16 |
71 |
520 |
1 |
| cl_vi_end |
|
2 |
17 |
108 |
1 |
| cl_ex_init |
|
7 |
32 |
259 |
1 |
| cl_ex_end |
|
1 |
7 |
29 |
1 |
| cl_getcap |
|
3 |
11 |
87 |
3 |
| cl_freecap |
|
1 |
13 |
73 |
1 |
| cl_putenv |
|
2 |
9 |
71 |
3 |
| Source file: ./usr.bin/vi/cl/cl_main.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
9 |
39 |
310 |
2 |
| gs_init |
|
2 |
7 |
40 |
1 |
| cl_init |
|
7 |
22 |
160 |
1 |
| term_init |
|
3 |
11 |
50 |
1 |
| h_hup |
|
1 |
6 |
22 |
1 |
| h_int |
|
1 |
5 |
16 |
1 |
| h_term |
|
1 |
6 |
22 |
1 |
| h_winch |
|
1 |
5 |
16 |
1 |
| sig_init |
|
10 |
21 |
155 |
2 |
| setsig |
|
1 |
8 |
58 |
3 |
| sig_end |
|
1 |
9 |
91 |
1 |
| cl_func_std |
|
1 |
24 |
134 |
1 |
| Source file: ./usr.bin/calendar/pathnames.h |
| Source file: ./usr.bin/calendar/pesach.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pesach |
|
12 |
27 |
211 |
1 |
| Source file: ./usr.bin/vi/cl/cl_read.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cl_event |
|
16 |
65 |
374 |
4 |
| cl_read |
|
21 |
84 |
499 |
6 |
| cl_resize |
|
3 |
19 |
164 |
3 |
| Source file: ./usr.bin/calendar/paskha.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| paskha |
|
2 |
16 |
116 |
1 |
| Source file: ./usr.bin/calendar/ostern.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| easter |
|
4 |
29 |
273 |
1 |
| Source file: ./usr.bin/vi/cl/cl_funcs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cl_addstr |
|
6 |
17 |
109 |
3 |
| cl_attr |
|
14 |
46 |
286 |
3 |
| cl_baud |
|
10 |
24 |
90 |
2 |
| cl_bell |
|
5 |
15 |
97 |
1 |
| cl_clrtoeol |
|
1 |
4 |
17 |
1 |
| cl_cursor |
|
1 |
6 |
39 |
3 |
| cl_deleteln |
|
3 |
10 |
82 |
1 |
| cl_ex_adjust |
|
8 |
32 |
203 |
2 |
| cl_insertln |
|
1 |
4 |
17 |
1 |
| cl_keyval |
|
5 |
23 |
146 |
4 |
| cl_move |
|
2 |
9 |
59 |
3 |
| cl_refresh |
|
3 |
10 |
53 |
2 |
| cl_rename |
|
5 |
23 |
148 |
3 |
| cl_suspend |
|
7 |
41 |
321 |
2 |
| cl_usage |
|
4 |
17 |
59 |
0 |
| gdbrefresh |
|
1 |
5 |
14 |
0 |
| Source file: ./usr.bin/calendar/calendar.h |
| Source file: ./usr.bin/calendar/calendar.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
50 |
156 |
845 |
2 |
| usage |
|
1 |
7 |
22 |
1 |
| childsig |
|
1 |
3 |
7 |
1 |
| Source file: ./usr.bin/sed/misc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| xmalloc |
|
2 |
7 |
41 |
1 |
| xreallocarray |
|
2 |
7 |
52 |
3 |
| xrealloc |
|
2 |
6 |
43 |
2 |
| strregerror |
|
1 |
10 |
63 |
2 |
| error |
|
2 |
14 |
89 |
3 |
| warning |
|
1 |
10 |
72 |
2 |
| Source file: ./usr.bin/sed/extern.h |
| Source file: ./usr.bin/sed/defs.h |
| Source file: ./usr.bin/calendar/io.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cal |
|
51 |
139 |
1020 |
1 |
| getfield |
|
34 |
76 |
575 |
3 |
| opencal |
|
16 |
54 |
393 |
1 |
| closecal |
|
12 |
44 |
358 |
1 |
| insert |
|
6 |
26 |
129 |
2 |
| Source file: ./usr.bin/calendar/day.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fill_print_date |
|
3 |
6 |
56 |
2 |
| setnnames |
|
17 |
58 |
579 |
1 |
| settime |
|
4 |
21 |
147 |
1 |
| Mktime |
|
7 |
36 |
261 |
1 |
| adjust_calendar |
|
6 |
17 |
93 |
2 |
| isnow |
|
82 |
219 |
1501 |
2 |
| getmonth |
|
7 |
15 |
138 |
1 |
| getday |
|
7 |
15 |
138 |
1 |
| getdayvar |
|
13 |
22 |
180 |
1 |
| foy |
|
1 |
5 |
38 |
1 |
| variable_weekday |
|
5 |
26 |
217 |
3 |
| Source file: ./usr.bin/mklocale/ldef.h |
| Source file: ./usr.bin/lastcomm/pathnames.h |
| Source file: ./usr.bin/lastcomm/lastcomm.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
19 |
68 |
540 |
2 |
| expand |
|
2 |
11 |
40 |
1 |
| flagbits |
|
1 |
15 |
85 |
1 |
| requested |
|
5 |
12 |
97 |
2 |
| getdev |
|
4 |
13 |
72 |
1 |
| usage |
|
1 |
6 |
21 |
1 |
| Source file: ./usr.bin/sed/main.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
36 |
88 |
531 |
2 |
| cu_fgets |
|
23 |
92 |
519 |
2 |
| mf_fgets |
|
30 |
111 |
682 |
2 |
| add_compunit |
|
1 |
10 |
58 |
2 |
| add_file |
|
1 |
9 |
48 |
1 |
| next_files_have_lines |
|
4 |
18 |
96 |
0 |
| lastline |
|
5 |
16 |
73 |
1 |
| Source file: ./usr.bin/talk/ctl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| open_sockt |
|
4 |
14 |
110 |
1 |
| open_ctl |
|
4 |
16 |
110 |
1 |
| Source file: ./usr.bin/talk/talk_ctl.h |
| Source file: ./usr.bin/talk/talk.h |
| Source file: ./usr.bin/talk/get_addrs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| get_addrs |
|
5 |
21 |
159 |
2 |
| Source file: ./usr.bin/sed/compile.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| compile |
|
1 |
8 |
57 |
1 |
| compile_stream |
|
45 |
186 |
1019 |
1 |
| compile_delimited |
|
18 |
36 |
251 |
3 |
| compile_ccl |
|
13 |
26 |
225 |
2 |
| compile_re |
|
6 |
19 |
150 |
2 |
| compile_subst |
|
18 |
60 |
377 |
2 |
| compile_flags |
|
29 |
74 |
391 |
2 |
| compile_tr |
|
8 |
39 |
266 |
2 |
| compile_text |
|
9 |
32 |
212 |
1 |
| compile_addr |
|
15 |
25 |
158 |
2 |
| duptoeol |
|
9 |
23 |
160 |
3 |
| fixuplabel |
|
9 |
23 |
129 |
2 |
| enterlabel |
|
5 |
18 |
167 |
1 |
| findlabel |
|
5 |
15 |
125 |
1 |
| uselabel |
|
4 |
14 |
80 |
1 |
| Source file: ./usr.bin/sed/process.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| process |
|
58 |
175 |
959 |
1 |
| applies |
|
10 |
26 |
148 |
1 |
| resetranges |
|
4 |
7 |
49 |
1 |
| substitute |
|
28 |
77 |
630 |
1 |
| flush_appends |
|
8 |
23 |
182 |
1 |
| lputs |
|
10 |
36 |
258 |
1 |
| regexec_e |
|
6 |
21 |
131 |
6 |
| regsub |
|
11 |
29 |
222 |
3 |
| cspace |
|
3 |
14 |
113 |
4 |
| cfclose |
|
9 |
20 |
163 |
2 |
| Source file: ./usr.bin/talk/talk.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
6 |
23 |
136 |
2 |
| Source file: ./usr.bin/talk/get_names.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| get_names |
|
16 |
70 |
475 |
2 |
| Source file: ./usr.bin/talk/ctl_transact.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ctl_transact |
|
13 |
39 |
280 |
4 |
| Source file: ./usr.bin/talk/look_up.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| check_local |
|
7 |
26 |
178 |
1 |
| look_for_invite |
|
2 |
12 |
57 |
1 |
| Source file: ./usr.bin/talk/msgs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| disp_msg |
|
1 |
4 |
12 |
1 |
| start_msgs |
|
1 |
9 |
60 |
1 |
| end_msgs |
|
1 |
8 |
43 |
1 |
| Source file: ./usr.bin/talk/io.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| talk |
|
9 |
40 |
245 |
1 |
| message |
|
1 |
9 |
66 |
1 |
| Source file: ./usr.bin/rpcinfo/rpcinfo.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
28 |
89 |
386 |
2 |
| udpping |
|
19 |
117 |
798 |
3 |
| tcpping |
|
17 |
105 |
724 |
3 |
| pstatus |
|
2 |
15 |
75 |
3 |
| pmapdump |
|
11 |
59 |
383 |
2 |
| reply_proc |
|
2 |
9 |
67 |
2 |
| brdcst |
|
6 |
19 |
134 |
2 |
| deletereg |
|
5 |
16 |
101 |
2 |
| setreg |
|
8 |
28 |
194 |
2 |
| usage |
|
2 |
15 |
68 |
1 |
| getprognum |
|
3 |
15 |
74 |
2 |
| getul |
|
5 |
18 |
95 |
2 |
| get_inet_address |
|
3 |
14 |
102 |
2 |
| Source file: ./usr.bin/talk/invite.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| invite_remote |
|
9 |
53 |
380 |
1 |
| re_invite |
|
1 |
7 |
34 |
1 |
| announce_invite |
|
3 |
11 |
77 |
1 |
| send_delete |
|
3 |
16 |
122 |
1 |
| Source file: ./usr.bin/nc/atomicio.h |
| Source file: ./usr.bin/usbhidctl/usbhid.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| strtousage |
|
6 |
14 |
102 |
2 |
| hidtestrule |
|
18 |
61 |
380 |
2 |
| hidmatch |
|
20 |
56 |
367 |
5 |
| allocreport |
|
4 |
17 |
119 |
3 |
| freereport |
|
1 |
5 |
22 |
1 |
| getreport |
|
4 |
12 |
83 |
4 |
| setreport |
|
3 |
10 |
73 |
3 |
| varop_value |
|
1 |
6 |
41 |
5 |
| varop_display |
|
9 |
29 |
225 |
5 |
| varop_modify |
|
2 |
10 |
78 |
5 |
| reportitem |
|
10 |
34 |
251 |
3 |
| varop_report |
|
7 |
29 |
155 |
5 |
| devloop |
|
17 |
57 |
348 |
4 |
| devshow |
|
25 |
81 |
526 |
5 |
| usage |
|
1 |
15 |
52 |
1 |
| main |
|
44 |
155 |
820 |
2 |
| Source file: ./usr.bin/nc/atomicio.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| atomicio |
|
8 |
28 |
166 |
4 |
| Source file: ./usr.bin/talk/init_disp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| init_display |
|
3 |
33 |
248 |
1 |
| set_edit_chars |
|
6 |
22 |
210 |
1 |
| sig_sent |
|
1 |
4 |
14 |
1 |
| sig_winch |
|
1 |
4 |
11 |
1 |
| quit |
|
5 |
18 |
88 |
2 |
| resize_display |
|
5 |
26 |
223 |
1 |
| Source file: ./usr.bin/fstat/fstat.h |
| Source file: ./usr.bin/talk/display.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| max |
|
2 |
4 |
21 |
2 |
| display |
|
20 |
77 |
570 |
3 |
| readwin |
|
1 |
10 |
61 |
3 |
| xscroll |
|
4 |
24 |
168 |
2 |
| Source file: ./usr.bin/fstat/fuser.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| match |
|
4 |
10 |
55 |
2 |
| fuser_check |
|
10 |
37 |
198 |
1 |
| printfu |
|
6 |
20 |
122 |
1 |
| fuser_run |
|
3 |
17 |
96 |
1 |
| Source file: ./usr.bin/true/true.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
1 |
4 |
18 |
2 |
| Source file: ./usr.bin/skeyinfo/skeyinfo.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
17 |
51 |
333 |
2 |
| usage |
|
1 |
5 |
23 |
1 |
| Source file: ./usr.bin/nc/socks.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| decode_addrport |
|
6 |
25 |
172 |
6 |
| proxy_read_line |
|
6 |
18 |
103 |
3 |
| getproxypass |
|
2 |
10 |
73 |
2 |
| socks4_strerror |
|
5 |
15 |
42 |
1 |
| socks5_strerror |
|
10 |
25 |
72 |
1 |
| socks_connect |
|
48 |
180 |
1442 |
8 |
| Source file: ./usr.bin/uuencode/uuencode.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
19 |
69 |
353 |
2 |
| base64_encode |
|
5 |
19 |
154 |
1 |
| encode |
|
12 |
40 |
320 |
1 |
| usage |
|
3 |
14 |
47 |
1 |
| Source file: ./usr.bin/patch/pathnames.h |
| Source file: ./usr.bin/patch/backupfile.h |
| Source file: ./usr.bin/patch/mkpath.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mkpath |
|
7 |
25 |
148 |
1 |
| Source file: ./usr.bin/paste/paste.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
8 |
33 |
151 |
2 |
| parallel |
|
23 |
65 |
478 |
1 |
| sequential |
|
13 |
43 |
276 |
1 |
| tr |
|
7 |
27 |
123 |
1 |
| usage |
|
1 |
7 |
28 |
1 |
| Source file: ./usr.bin/patch/backupfile.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| find_backup_file_name |
|
6 |
20 |
119 |
1 |
| max_backup_version |
|
5 |
21 |
114 |
2 |
| make_version_name |
|
2 |
7 |
39 |
2 |
| version_number |
|
6 |
14 |
110 |
3 |
| concat |
|
2 |
7 |
41 |
2 |
| argmatch |
|
6 |
22 |
115 |
2 |
| invalid_arg |
|
2 |
9 |
57 |
3 |
| get_version |
|
4 |
11 |
61 |
1 |
| Source file: ./usr.bin/patch/inp.h |
| Source file: ./usr.bin/patch/ed.h |
| Source file: ./usr.bin/fstat/fstat.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| hide |
|
2 |
4 |
19 |
1 |
| main |
|
51 |
146 |
781 |
2 |
| fstat_header |
|
6 |
16 |
63 |
1 |
| fstat_dofile |
|
9 |
30 |
133 |
1 |
| vtrans |
|
34 |
90 |
588 |
1 |
| pipetrans |
|
5 |
19 |
134 |
1 |
| kqueuetrans |
|
3 |
12 |
75 |
1 |
| inet6_addrstr |
|
4 |
20 |
166 |
1 |
| splice_insert |
|
5 |
11 |
93 |
3 |
| splice_find |
|
3 |
9 |
70 |
2 |
| find_splices |
|
8 |
17 |
142 |
2 |
| print_inet_details |
|
11 |
32 |
248 |
1 |
| print_inet6_details |
|
11 |
43 |
316 |
1 |
| print_sock_details |
|
3 |
7 |
36 |
1 |
| socktrans |
|
21 |
88 |
548 |
1 |
| getinetproto |
|
3 |
11 |
57 |
1 |
| getfname |
|
11 |
37 |
243 |
1 |
| signame_to_signum |
|
6 |
16 |
113 |
1 |
| usage |
|
2 |
11 |
36 |
1 |
| Source file: ./usr.bin/patch/util.h |
| Source file: ./usr.bin/patch/ed.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| do_ed_script |
|
17 |
75 |
363 |
1 |
| get_command |
|
16 |
55 |
289 |
1 |
| write_lines |
|
12 |
36 |
248 |
1 |
| init_lines |
|
3 |
16 |
91 |
1 |
| free_lines |
|
2 |
9 |
42 |
1 |
| get_line |
|
3 |
12 |
50 |
1 |
| create_line |
|
2 |
11 |
57 |
1 |
| valid_addr |
|
2 |
4 |
19 |
2 |
| Source file: ./usr.bin/patch/util.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| move_file |
|
13 |
32 |
205 |
2 |
| backup_file |
|
20 |
43 |
326 |
1 |
| copy_file |
|
5 |
17 |
122 |
2 |
| savestr |
|
4 |
14 |
54 |
1 |
| xstrdup |
|
3 |
10 |
43 |
1 |
| say |
|
1 |
8 |
40 |
2 |
| fatal |
|
1 |
9 |
47 |
2 |
| pfatal |
|
1 |
11 |
64 |
2 |
| ask |
|
7 |
21 |
135 |
2 |
| set_signals |
|
4 |
14 |
78 |
1 |
| ignore_signals |
|
1 |
5 |
20 |
1 |
| makedirs |
|
5 |
17 |
92 |
2 |
| fetchname |
|
20 |
34 |
285 |
3 |
| version |
|
1 |
5 |
18 |
1 |
| my_exit |
|
3 |
10 |
42 |
1 |
| Source file: ./usr.bin/patch/inp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| re_input |
|
3 |
21 |
106 |
1 |
| scan_input |
|
4 |
9 |
43 |
1 |
| reallocate_lines |
|
2 |
18 |
89 |
1 |
| plan_a |
|
36 |
113 |
621 |
1 |
| plan_b |
|
30 |
87 |
582 |
1 |
| ifetch |
|
9 |
30 |
171 |
2 |
| rev_in_string |
|
8 |
18 |
118 |
1 |
| Source file: ./usr.bin/gencat/gencat.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usage |
|
1 |
5 |
20 |
1 |
| main |
|
8 |
31 |
194 |
2 |
| warning |
|
3 |
10 |
60 |
2 |
| error |
|
1 |
5 |
24 |
2 |
| nomem |
|
1 |
4 |
13 |
1 |
| xmalloc |
|
2 |
7 |
33 |
1 |
| xrealloc |
|
2 |
6 |
35 |
2 |
| xstrdup |
|
2 |
7 |
35 |
1 |
| get_line |
|
10 |
39 |
209 |
1 |
| wskip |
|
5 |
10 |
54 |
1 |
| cskip |
|
5 |
10 |
54 |
1 |
| getmsg |
|
29 |
99 |
492 |
3 |
| MCParse |
|
14 |
59 |
321 |
1 |
| MCWriteCat |
|
2 |
75 |
485 |
1 |
| MCAddSet |
|
9 |
27 |
172 |
1 |
| MCAddMsg |
|
10 |
28 |
196 |
2 |
| MCDelSet |
|
6 |
18 |
106 |
1 |
| MCDelMsg |
|
6 |
15 |
92 |
1 |
| Source file: ./usr.bin/patch/pch.h |
| Source file: ./usr.bin/bc/pathnames.h |
| Source file: ./usr.bin/bc/tty.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| settty |
|
3 |
7 |
39 |
1 |
| gettty |
|
3 |
7 |
37 |
1 |
| tstpcont |
|
2 |
15 |
73 |
1 |
| Source file: ./usr.bin/patch/common.h |
| Source file: ./usr.bin/bc/extern.h |
| Source file: ./usr.bin/unvis/unvis.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
8 |
31 |
180 |
2 |
| process |
|
8 |
29 |
155 |
2 |
| Source file: ./usr.bin/patch/patch.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
81 |
220 |
1265 |
2 |
| reinitialize_almost_everything |
|
2 |
21 |
86 |
1 |
| get_some_switches |
|
42 |
157 |
838 |
1 |
| usage |
|
1 |
10 |
22 |
1 |
| locate_hunk |
|
21 |
38 |
246 |
1 |
| abort_context_hunk |
|
15 |
45 |
281 |
1 |
| rej_line |
|
3 |
9 |
63 |
2 |
| abort_hunk |
|
24 |
62 |
386 |
1 |
| apply_hunk |
|
33 |
99 |
571 |
1 |
| init_output |
|
2 |
6 |
31 |
1 |
| init_reject |
|
2 |
6 |
31 |
1 |
| copy_till |
|
5 |
11 |
54 |
2 |
| spew_output |
|
4 |
9 |
41 |
1 |
| dump_line |
|
4 |
11 |
61 |
2 |
| patch_match |
|
10 |
31 |
185 |
3 |
| similar |
|
12 |
19 |
140 |
3 |
| Source file: ./usr.bin/hexdump/hexdump.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
9 |
26 |
198 |
2 |
| Source file: ./usr.bin/ypwhich/ypwhich.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usage |
|
1 |
8 |
20 |
1 |
| bind_host |
|
5 |
44 |
266 |
2 |
| main |
|
31 |
134 |
783 |
2 |
| Source file: ./usr.bin/hexdump/hexsyntax.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| newsyntax |
|
22 |
73 |
320 |
2 |
| usage |
|
1 |
8 |
27 |
1 |
| Source file: ./usr.bin/stat/stat.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
34 |
108 |
518 |
2 |
| usage |
|
1 |
5 |
28 |
1 |
| output |
|
24 |
131 |
806 |
5 |
| format1 |
|
105 |
356 |
2546 |
12 |
| Source file: ./usr.bin/hexdump/parse.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| addfile |
|
8 |
26 |
185 |
1 |
| add |
|
22 |
52 |
433 |
1 |
| size |
|
27 |
45 |
264 |
1 |
| rewrite |
|
82 |
199 |
1220 |
1 |
| escape |
|
12 |
43 |
163 |
1 |
| badcnt |
|
1 |
4 |
17 |
1 |
| badsfmt |
|
1 |
4 |
13 |
1 |
| badfmt |
|
1 |
4 |
18 |
1 |
| badconv |
|
1 |
4 |
17 |
1 |
| Source file: ./usr.bin/hexdump/conv.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| conv_c |
|
12 |
46 |
203 |
2 |
| conv_u |
|
8 |
28 |
258 |
2 |
| Source file: ./usr.bin/hexdump/hexdump.h |
| Source file: ./usr.bin/hexdump/display.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| display |
|
20 |
48 |
312 |
1 |
| print |
|
23 |
87 |
520 |
2 |
| bpad |
|
5 |
11 |
101 |
1 |
| get |
|
24 |
60 |
367 |
1 |
| next |
|
11 |
32 |
154 |
1 |
| doskip |
|
8 |
26 |
144 |
2 |
| Source file: ./usr.bin/hexdump/odsyntax.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| oldsyntax |
|
38 |
110 |
473 |
2 |
| posixtypes |
|
24 |
91 |
363 |
1 |
| oldusage |
|
1 |
8 |
27 |
1 |
| odoffset |
|
28 |
62 |
424 |
2 |
| odadd |
|
2 |
8 |
33 |
1 |
| Source file: ./usr.bin/patch/pch.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| re_patch |
|
1 |
10 |
38 |
1 |
| open_patch_file |
|
8 |
21 |
144 |
1 |
| set_hunkmax |
|
4 |
9 |
70 |
1 |
| grow_hunkmax |
|
11 |
29 |
172 |
1 |
| there_is_another_patch |
|
27 |
60 |
325 |
1 |
| intuit_diff_type |
|
59 |
156 |
1071 |
1 |
| next_intuit_at |
|
1 |
5 |
18 |
2 |
| skip_to |
|
6 |
20 |
123 |
2 |
| malformed |
|
1 |
4 |
15 |
1 |
| remove_special_line |
|
5 |
14 |
67 |
1 |
| another_hunk |
|
205 |
630 |
3506 |
1 |
| pgets |
|
10 |
18 |
130 |
3 |
| pch_swap |
|
19 |
88 |
514 |
1 |
| pch_first |
|
1 |
4 |
9 |
1 |
| pch_ptrn_lines |
|
1 |
4 |
9 |
1 |
| pch_newfirst |
|
1 |
4 |
9 |
1 |
| pch_repl_lines |
|
1 |
4 |
9 |
1 |
| pch_end |
|
1 |
4 |
9 |
1 |
| pch_context |
|
1 |
4 |
9 |
1 |
| pch_line_len |
|
1 |
4 |
13 |
1 |
| pch_char |
|
1 |
4 |
13 |
1 |
| pfetch |
|
1 |
4 |
13 |
1 |
| pch_hunk_beg |
|
1 |
4 |
9 |
1 |
| posix_name |
|
10 |
17 |
115 |
2 |
| compare_names |
|
10 |
30 |
179 |
2 |
| best_name |
|
4 |
8 |
53 |
2 |
| num_components |
|
3 |
10 |
61 |
1 |
| strtolinenum |
|
4 |
20 |
111 |
2 |
| Source file: ./usr.bin/tr/extern.h |
| Source file: ./usr.bin/htpasswd/htpasswd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usage |
|
1 |
6 |
29 |
1 |
| main |
|
45 |
141 |
1061 |
2 |
| nag |
|
6 |
13 |
82 |
1 |
| Source file: ./usr.bin/xinstall/pathnames.h |
| Source file: ./usr.bin/lam/lam.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
8 |
21 |
142 |
2 |
| getargs |
|
29 |
65 |
465 |
2 |
| pad |
|
5 |
13 |
123 |
1 |
| gatherline |
|
10 |
28 |
236 |
1 |
| usage |
|
1 |
8 |
25 |
1 |
| Source file: ./usr.bin/banner/banner.h |
| Source file: ./usr.bin/banner/banner.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| scnline |
|
3 |
10 |
55 |
3 |
| dropit |
|
9 |
16 |
73 |
1 |
| scan_out |
|
14 |
33 |
260 |
3 |
| main |
|
3 |
11 |
78 |
2 |
| Source file: ./usr.bin/tr/tr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
42 |
103 |
680 |
2 |
| setup |
|
4 |
11 |
91 |
4 |
| usage |
|
1 |
9 |
21 |
1 |
| Source file: ./usr.bin/getcap/getcap.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
24 |
79 |
443 |
2 |
| lookup_cap |
|
18 |
49 |
317 |
4 |
| usage |
|
1 |
9 |
27 |
1 |
| Source file: ./usr.bin/tr/str.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| next |
|
16 |
51 |
261 |
1 |
| bracket |
|
8 |
29 |
206 |
1 |
| genclass |
|
5 |
20 |
181 |
1 |
| c_class |
|
1 |
5 |
42 |
2 |
| genequiv |
|
4 |
17 |
110 |
1 |
| genrange |
|
3 |
16 |
97 |
1 |
| genseq |
|
9 |
32 |
191 |
1 |
| backslash |
|
15 |
40 |
182 |
1 |
| Source file: ./usr.bin/nc/netcat.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
214 |
497 |
2960 |
2 |
| unix_bind |
|
5 |
23 |
153 |
2 |
| timeout_tls |
|
6 |
23 |
133 |
3 |
| tls_setup_client |
|
12 |
24 |
174 |
3 |
| tls_setup_server |
|
15 |
29 |
201 |
3 |
| unix_connect |
|
6 |
27 |
172 |
1 |
| unix_listen |
|
3 |
11 |
55 |
1 |
| remote_connect |
|
13 |
40 |
336 |
3 |
| timeout_connect |
|
7 |
24 |
160 |
3 |
| local_listen |
|
11 |
33 |
259 |
3 |
| readwrite |
|
70 |
143 |
1177 |
2 |
| drainbuf |
|
7 |
19 |
120 |
4 |
| fillbuf |
|
6 |
16 |
105 |
4 |
| fdpass |
|
8 |
47 |
312 |
1 |
| atelnet |
|
9 |
24 |
162 |
3 |
| strtoport |
|
5 |
16 |
111 |
2 |
| build_ports |
|
9 |
38 |
246 |
1 |
| udptest |
|
3 |
11 |
53 |
1 |
| set_common_sockopts |
|
24 |
48 |
371 |
2 |
| process_tos_opt |
|
3 |
43 |
249 |
2 |
| process_tls_opt |
|
7 |
37 |
231 |
2 |
| save_peer_cert |
|
4 |
11 |
85 |
2 |
| report_tls |
|
15 |
54 |
360 |
2 |
| report_connect |
|
5 |
25 |
135 |
3 |
| help |
|
1 |
46 |
23 |
1 |
| usage |
|
2 |
16 |
32 |
1 |
| Source file: ./usr.bin/pr/extern.h |
| Source file: ./usr.bin/pr/pr.h |
| Source file: ./usr.bin/sendbug/atomicio.h |
| Source file: ./usr.bin/banner/chset.c |
| Source file: ./usr.bin/pr/egetopt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| egetopt |
|
37 |
102 |
620 |
3 |
| Source file: ./usr.bin/gprof/pathnames.h |
| Source file: ./usr.bin/gprof/alpha.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| findcall |
|
1 |
3 |
16 |
3 |
| Source file: ./usr.bin/xinstall/xinstall.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
48 |
106 |
697 |
2 |
| install |
|
60 |
144 |
1089 |
4 |
| copy |
|
17 |
58 |
445 |
6 |
| compare |
|
9 |
34 |
243 |
6 |
| strip |
|
8 |
25 |
154 |
1 |
| install_dir |
|
13 |
27 |
182 |
2 |
| usage |
|
1 |
6 |
21 |
1 |
| create_tempfile |
|
2 |
12 |
73 |
3 |
| create_newfile |
|
7 |
15 |
138 |
2 |
| file_write |
|
9 |
37 |
205 |
6 |
| file_flush |
|
4 |
13 |
71 |
2 |
| Source file: ./usr.bin/gprof/aarch64.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| findcall |
|
1 |
3 |
16 |
3 |
| Source file: ./usr.bin/sendbug/atomicio.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| atomicio |
|
7 |
28 |
158 |
4 |
| Source file: ./usr.bin/gprof/sh.h |
| Source file: ./usr.bin/gprof/hppa.h |
| Source file: ./usr.bin/gprof/mips64.h |
| Source file: ./usr.bin/gprof/sparc64.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| findcall |
|
1 |
3 |
16 |
3 |
| Source file: ./usr.bin/gprof/elf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| getnfile |
|
19 |
64 |
500 |
2 |
| wantsym |
|
9 |
17 |
101 |
2 |
| Source file: ./usr.bin/gprof/aarch64.h |
| Source file: ./usr.bin/gprof/sparc64.h |
| Source file: ./usr.bin/gprof/i386.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| findcall |
|
18 |
45 |
249 |
3 |
| Source file: ./usr.bin/gprof/powerpc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| findcall |
|
1 |
3 |
16 |
3 |
| Source file: ./usr.bin/gprof/m88k.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| findcall |
|
1 |
3 |
16 |
3 |
| Source file: ./usr.bin/gprof/arm.h |
| Source file: ./usr.bin/gprof/sh.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| findcall |
|
1 |
3 |
16 |
3 |
| Source file: ./usr.bin/gprof/printlist.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| addlist |
|
2 |
10 |
67 |
2 |
| onlist |
|
5 |
13 |
85 |
2 |
| Source file: ./usr.bin/gprof/hppa.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| findcall |
|
1 |
3 |
16 |
3 |
| Source file: ./usr.bin/gprof/dfn.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dfn_init |
|
1 |
5 |
13 |
0 |
| dfn |
|
7 |
23 |
107 |
1 |
| dfn_pre_visit |
|
4 |
14 |
74 |
1 |
| dfn_numbered |
|
2 |
4 |
23 |
1 |
| dfn_busy |
|
2 |
7 |
24 |
1 |
| dfn_findcycle |
|
23 |
69 |
368 |
1 |
| dfn_self_cycle |
|
3 |
8 |
32 |
1 |
| dfn_post_visit |
|
9 |
25 |
118 |
1 |
| Source file: ./usr.bin/gprof/powerpc.h |
| Source file: ./usr.bin/gprof/hertz.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| hertz |
|
2 |
12 |
74 |
1 |
| Source file: ./usr.bin/gprof/gprof.h |
| Source file: ./usr.bin/sendbug/sendbug.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usage |
|
1 |
6 |
25 |
1 |
| cleanup |
|
4 |
5 |
24 |
0 |
| main |
|
28 |
95 |
541 |
2 |
| dmesg |
|
10 |
32 |
189 |
1 |
| usbdevs |
|
5 |
16 |
92 |
1 |
| editit |
|
11 |
42 |
305 |
1 |
| prompt |
|
5 |
14 |
74 |
1 |
| sendmail |
|
8 |
42 |
230 |
1 |
| init |
|
10 |
38 |
300 |
1 |
| send_file |
|
14 |
57 |
365 |
2 |
| matchline |
|
8 |
25 |
136 |
3 |
| checkfile |
|
12 |
30 |
190 |
1 |
| template |
|
5 |
49 |
336 |
1 |
| hwdump |
|
9 |
29 |
189 |
1 |
| debase |
|
9 |
23 |
161 |
1 |
| Source file: ./usr.bin/gprof/alpha.h |
| Source file: ./usr.bin/gprof/amd64.h |
| Source file: ./usr.bin/gprof/mips64.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| findcall |
|
11 |
28 |
192 |
3 |
| Source file: ./usr.bin/gprof/i386.h |
| Source file: ./usr.bin/gprof/m88k.h |
| Source file: ./usr.bin/gprof/gprof.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
28 |
118 |
577 |
2 |
| getpfile |
|
4 |
15 |
84 |
1 |
| openpfile |
|
12 |
47 |
349 |
1 |
| tally |
|
8 |
20 |
117 |
1 |
| dumpsum |
|
9 |
27 |
219 |
1 |
| valcmp |
|
3 |
12 |
61 |
2 |
| readsamples |
|
6 |
18 |
117 |
1 |
| asgnsamples |
|
13 |
47 |
291 |
1 |
| min |
|
2 |
6 |
28 |
2 |
| max |
|
2 |
6 |
28 |
2 |
| alignentries |
|
5 |
18 |
110 |
1 |
| Source file: ./usr.bin/gprof/arm.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| findcall |
|
1 |
3 |
16 |
3 |
| Source file: ./usr.bin/gprof/amd64.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| findcall |
|
1 |
3 |
16 |
3 |
| Source file: ./usr.bin/gprof/lookup.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| nllookup |
|
11 |
26 |
152 |
1 |
| arclookup |
|
9 |
23 |
116 |
2 |
| Source file: ./usr.bin/signify/crypto_api.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| crypto_hash_sha512 |
|
1 |
9 |
50 |
3 |
| crypto_verify_32 |
|
2 |
4 |
31 |
2 |
| Source file: ./usr.bin/signify/sc25519.h |
| Source file: ./usr.bin/pr/pr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
9 |
26 |
155 |
2 |
| onecol |
|
27 |
102 |
562 |
2 |
| vertcol |
|
54 |
192 |
1172 |
2 |
| horzcol |
|
28 |
97 |
556 |
2 |
| flsh_errs |
|
3 |
8 |
50 |
1 |
| ferrout |
|
6 |
32 |
197 |
2 |
| mulfile |
|
38 |
144 |
857 |
2 |
| inln |
|
23 |
65 |
405 |
7 |
| otln |
|
27 |
93 |
471 |
5 |
| inskip |
|
7 |
18 |
97 |
3 |
| nxtfile |
|
26 |
100 |
554 |
5 |
| addnum |
|
4 |
10 |
63 |
3 |
| prhead |
|
9 |
18 |
129 |
3 |
| prtail |
|
19 |
51 |
223 |
2 |
| terminate |
|
1 |
5 |
16 |
1 |
| mfail |
|
1 |
4 |
11 |
1 |
| pfail |
|
1 |
4 |
16 |
1 |
| usage |
|
1 |
9 |
21 |
1 |
| setup |
|
74 |
216 |
1140 |
2 |
| Source file: ./usr.bin/gprof/arcs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| addarc |
|
6 |
25 |
143 |
3 |
| topcmp |
|
2 |
8 |
67 |
2 |
| doarcs |
|
23 |
95 |
617 |
0 |
| dotime |
|
2 |
8 |
36 |
0 |
| timepropagate |
|
15 |
67 |
371 |
1 |
| cyclelink |
|
15 |
64 |
395 |
0 |
| cycleanalyze |
|
16 |
66 |
390 |
0 |
| descend |
|
10 |
25 |
161 |
3 |
| addcycle |
|
18 |
66 |
389 |
2 |
| compresslist |
|
27 |
91 |
514 |
0 |
| printsubcycle |
|
2 |
11 |
87 |
1 |
| cycletime |
|
4 |
16 |
92 |
0 |
| doflags |
|
19 |
52 |
320 |
0 |
| inheritflags |
|
12 |
51 |
303 |
1 |
| Source file: ./usr.bin/signify/sc25519.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| lt |
|
1 |
7 |
32 |
2 |
| reduce_add_sub |
|
3 |
18 |
132 |
1 |
| barrett_reduce |
|
12 |
39 |
368 |
2 |
| sc25519_from32bytes |
|
3 |
8 |
75 |
2 |
| shortsc25519_from16bytes |
|
2 |
5 |
44 |
2 |
| sc25519_from64bytes |
|
2 |
7 |
55 |
2 |
| sc25519_from_shortsc |
|
3 |
8 |
67 |
2 |
| sc25519_to32bytes |
|
2 |
5 |
44 |
2 |
| sc25519_iszero_vartime |
|
3 |
7 |
42 |
1 |
| sc25519_isshort_vartime |
|
3 |
7 |
42 |
1 |
| sc25519_lt_vartime |
|
4 |
10 |
73 |
2 |
| sc25519_add |
|
3 |
12 |
109 |
3 |
| sc25519_sub_nored |
|
2 |
12 |
84 |
3 |
| sc25519_mul |
|
5 |
16 |
146 |
3 |
| sc25519_mul_shortsc |
|
1 |
6 |
39 |
3 |
| sc25519_window3 |
|
3 |
34 |
534 |
2 |
| sc25519_window5 |
|
3 |
34 |
534 |
2 |
| sc25519_2interleave2 |
|
2 |
14 |
327 |
3 |
| Source file: ./usr.bin/signify/fe25519.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| equal |
|
1 |
7 |
29 |
2 |
| ge |
|
1 |
8 |
36 |
2 |
| times19 |
|
1 |
4 |
24 |
1 |
| times38 |
|
1 |
4 |
29 |
1 |
| reduce_add_sub |
|
3 |
18 |
115 |
1 |
| reduce_mul |
|
3 |
18 |
115 |
1 |
| fe25519_freeze |
|
3 |
13 |
118 |
1 |
| fe25519_unpack |
|
2 |
6 |
53 |
2 |
| fe25519_pack |
|
2 |
8 |
56 |
2 |
| fe25519_iszero |
|
2 |
11 |
71 |
1 |
| fe25519_iseq_vartime |
|
3 |
11 |
76 |
2 |
| fe25519_cmov |
|
2 |
7 |
68 |
3 |
| fe25519_getparity |
|
1 |
6 |
31 |
1 |
| fe25519_setone |
|
2 |
6 |
42 |
1 |
| fe25519_setzero |
|
2 |
5 |
33 |
1 |
| fe25519_neg |
|
2 |
8 |
61 |
2 |
| fe25519_add |
|
2 |
6 |
60 |
3 |
| fe25519_sub |
|
3 |
10 |
119 |
3 |
| fe25519_mul |
|
5 |
13 |
150 |
3 |
| fe25519_square |
|
1 |
4 |
22 |
2 |
| fe25519_invert |
|
7 |
57 |
613 |
2 |
| fe25519_pow2523 |
|
8 |
44 |
456 |
2 |
| Source file: ./usr.bin/gprof/printgprof.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| printprof |
|
4 |
22 |
140 |
0 |
| timecmp |
|
5 |
14 |
130 |
2 |
| flatprofheader |
|
3 |
18 |
104 |
0 |
| flatprofline |
|
5 |
18 |
132 |
1 |
| gprofheader |
|
3 |
23 |
134 |
0 |
| gprofline |
|
3 |
20 |
137 |
1 |
| printgprof |
|
10 |
31 |
152 |
1 |
| totalcmp |
|
21 |
36 |
277 |
2 |
| printparents |
|
8 |
35 |
204 |
1 |
| printchildren |
|
6 |
24 |
156 |
1 |
| printname |
|
8 |
22 |
119 |
1 |
| sortchildren |
|
4 |
21 |
109 |
1 |
| sortparents |
|
4 |
18 |
105 |
1 |
| printcycle |
|
2 |
14 |
103 |
1 |
| printmembers |
|
3 |
16 |
100 |
1 |
| sortmembers |
|
4 |
16 |
97 |
1 |
| membercmp |
|
5 |
20 |
103 |
2 |
| arccmp |
|
20 |
64 |
354 |
2 |
| printblurb |
|
3 |
13 |
65 |
1 |
| namecmp |
|
1 |
6 |
52 |
2 |
| printindex |
|
11 |
41 |
315 |
0 |
| Source file: ./usr.bin/signify/fe25519.h |
| Source file: ./usr.bin/signify/signify.h |
| Source file: ./usr.bin/signify/zsig.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| readgz_header |
|
19 |
65 |
427 |
2 |
| copy_blocks |
|
11 |
38 |
251 |
6 |
| zverify |
|
10 |
39 |
293 |
4 |
| zsign |
|
12 |
67 |
488 |
3 |
| Source file: ./usr.bin/signify/ge25519.h |
| Source file: ./usr.bin/signify/mod_ed25519.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| get_hram |
|
4 |
8 |
116 |
5 |
| crypto_sign_ed25519_keypair |
|
2 |
21 |
120 |
2 |
| crypto_sign_ed25519 |
|
5 |
39 |
325 |
5 |
| crypto_sign_ed25519_open |
|
6 |
34 |
233 |
5 |
| Source file: ./usr.bin/signify/crypto_api.h |
| Source file: ./usr.bin/sort/sort.h |
| Source file: ./usr.bin/sort/mem.h |
| Source file: ./usr.bin/sort/radixsort.h |
| Source file: ./usr.bin/sort/bwstring.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bws_begin |
|
1 |
4 |
22 |
1 |
| bws_end |
|
2 |
6 |
48 |
1 |
| bws_iterator_inc |
|
2 |
7 |
40 |
2 |
| bws_get_iter_value |
|
2 |
7 |
35 |
1 |
| Source file: ./usr.bin/signify/mod_ge25519.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| p1p1_to_p2 |
|
1 |
6 |
67 |
2 |
| p1p1_to_p3 |
|
1 |
5 |
42 |
2 |
| ge25519_mixadd2 |
|
1 |
22 |
286 |
2 |
| add_p1p1 |
|
1 |
18 |
229 |
3 |
| dbl_p1p1 |
|
1 |
16 |
183 |
2 |
| cmov_aff |
|
1 |
5 |
47 |
3 |
| equal |
|
1 |
10 |
49 |
2 |
| negative |
|
1 |
6 |
23 |
1 |
| choose_t |
|
1 |
11 |
172 |
3 |
| setneutral |
|
1 |
7 |
40 |
1 |
| ge25519_unpackneg_vartime |
|
4 |
34 |
367 |
2 |
| ge25519_pack |
|
1 |
9 |
84 |
2 |
| ge25519_isneutral_vartime |
|
3 |
7 |
52 |
1 |
| ge25519_double_scalarmult_vartime |
|
4 |
38 |
578 |
5 |
| ge25519_scalarmult_base |
|
2 |
15 |
116 |
2 |
| Source file: ./usr.bin/sort/mem.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sort_malloc |
|
2 |
7 |
34 |
1 |
| sort_calloc |
|
2 |
7 |
39 |
2 |
| sort_free |
|
1 |
4 |
13 |
1 |
| sort_reallocarray |
|
2 |
6 |
41 |
3 |
| sort_strdup |
|
2 |
7 |
36 |
1 |
| sort_asprintf |
|
2 |
11 |
61 |
3 |
| Source file: ./usr.bin/tsort/tsort.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| emem |
|
2 |
7 |
23 |
1 |
| hash_calloc |
|
1 |
4 |
26 |
3 |
| hash_free |
|
1 |
4 |
18 |
2 |
| entry_alloc |
|
1 |
4 |
22 |
2 |
| ereallocarray |
|
1 |
4 |
27 |
3 |
| new_node |
|
1 |
12 |
71 |
2 |
| nodes_init |
|
1 |
4 |
19 |
1 |
| node_lookup |
|
2 |
10 |
74 |
3 |
| dump_node |
|
4 |
11 |
95 |
1 |
| dump_array |
|
2 |
6 |
38 |
1 |
| dump_hash |
|
2 |
7 |
49 |
1 |
| insert_arc |
|
3 |
13 |
89 |
2 |
| read_pairs |
|
15 |
47 |
274 |
6 |
| read_hints |
|
11 |
33 |
198 |
5 |
| heap_down |
|
5 |
14 |
132 |
2 |
| heapify |
|
4 |
9 |
68 |
2 |
| dequeue |
|
3 |
14 |
75 |
1 |
| enqueue |
|
3 |
14 |
121 |
2 |
| make_transparent |
|
15 |
41 |
266 |
1 |
| split_nodes |
|
3 |
17 |
143 |
3 |
| find_good_cycle_break |
|
5 |
20 |
115 |
1 |
| find_smallest_node |
|
4 |
18 |
104 |
1 |
| find_cycle_from |
|
11 |
37 |
234 |
2 |
| find_predecessor |
|
5 |
16 |
103 |
2 |
| traverse_node |
|
15 |
47 |
311 |
3 |
| print_cycle |
|
2 |
8 |
45 |
1 |
| find_longest_cycle |
|
8 |
33 |
223 |
2 |
| find_normal_cycle |
|
3 |
11 |
68 |
2 |
| parse_args |
|
17 |
79 |
439 |
3 |
| tsort |
|
16 |
57 |
333 |
1 |
| main |
|
2 |
8 |
53 |
2 |
| usage |
|
1 |
5 |
20 |
1 |
| Source file: ./usr.bin/sort/vsort.h |
| Source file: ./usr.bin/sort/coll.h |
| Source file: ./usr.bin/sort/bwstring.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| initialise_months |
|
13 |
55 |
366 |
1 |
| wide_str_coll |
|
8 |
25 |
144 |
2 |
| bwsprintf |
|
2 |
7 |
64 |
4 |
| bwsrawdata |
|
1 |
4 |
18 |
1 |
| bwsrawlen |
|
2 |
4 |
28 |
1 |
| bws_memsize |
|
2 |
5 |
48 |
1 |
| bws_setlen |
|
5 |
10 |
66 |
2 |
| bwsalloc |
|
2 |
14 |
88 |
1 |
| bwsdup |
|
3 |
13 |
84 |
1 |
| bwssbdup |
|
5 |
16 |
107 |
2 |
| bwscsbdup |
|
10 |
42 |
270 |
2 |
| bwsfree |
|
1 |
4 |
14 |
1 |
| bwscpy |
|
3 |
16 |
122 |
2 |
| bwsncpy |
|
4 |
18 |
135 |
3 |
| bwsnocpy |
|
5 |
25 |
174 |
4 |
| bwsfwrite |
|
10 |
36 |
263 |
3 |
| bwsfgetln |
|
27 |
86 |
536 |
4 |
| bwsncmp |
|
12 |
41 |
248 |
4 |
| bwscmp |
|
5 |
20 |
110 |
3 |
| bws_iterator_cmp |
|
3 |
14 |
84 |
3 |
| bwscoll |
|
48 |
123 |
717 |
3 |
| bwstod |
|
10 |
39 |
229 |
2 |
| bws_month_score |
|
12 |
28 |
195 |
1 |
| ignore_leading_blanks |
|
10 |
38 |
214 |
1 |
| ignore_nonprinting |
|
6 |
41 |
189 |
1 |
| dictionary_order |
|
8 |
41 |
199 |
1 |
| ignore_case |
|
4 |
21 |
110 |
1 |
| bws_disorder_warnx |
|
2 |
7 |
58 |
3 |
| Source file: ./usr.bin/sort/file.h |
| Source file: ./usr.bin/sort/file.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| init_tmp_files |
|
1 |
4 |
11 |
1 |
| tmp_file_atexit |
|
1 |
11 |
76 |
1 |
| clear_tmp_files |
|
3 |
8 |
41 |
1 |
| file_is_tmp |
|
3 |
9 |
50 |
1 |
| new_tmp_file_name |
|
2 |
11 |
59 |
1 |
| file_list_init |
|
1 |
7 |
36 |
2 |
| file_list_add |
|
4 |
10 |
93 |
3 |
| file_list_populate |
|
2 |
6 |
47 |
4 |
| file_list_clean |
|
5 |
19 |
114 |
1 |
| sort_list_init |
|
1 |
7 |
37 |
1 |
| sort_list_add |
|
3 |
16 |
142 |
2 |
| sort_list_clean |
|
4 |
20 |
111 |
1 |
| sort_list_dump |
|
8 |
27 |
179 |
2 |
| check |
|
26 |
86 |
486 |
1 |
| openfile |
|
9 |
23 |
175 |
2 |
| closefile |
|
7 |
16 |
84 |
2 |
| file_reader_init |
|
14 |
48 |
337 |
1 |
| file_reader_readline |
|
22 |
89 |
592 |
1 |
| file_reader_clean |
|
3 |
10 |
70 |
1 |
| file_reader_free |
|
1 |
5 |
19 |
1 |
| procfile |
|
5 |
23 |
129 |
3 |
| file_header_cmp |
|
7 |
14 |
102 |
2 |
| file_header_init |
|
4 |
20 |
162 |
3 |
| file_header_close |
|
3 |
14 |
90 |
1 |
| file_header_swap |
|
1 |
7 |
44 |
3 |
| file_header_heap_swim |
|
3 |
11 |
69 |
2 |
| file_header_heap_sink |
|
5 |
19 |
116 |
3 |
| file_header_list_rearrange_from_header |
|
1 |
4 |
21 |
2 |
| file_header_list_push |
|
1 |
5 |
34 |
3 |
| file_header_print |
|
5 |
12 |
111 |
3 |
| file_header_read_next |
|
4 |
18 |
100 |
1 |
| file_headers_merge |
|
4 |
15 |
113 |
3 |
| merge_files_array |
|
4 |
17 |
138 |
3 |
| shrink_file_list |
|
6 |
31 |
189 |
1 |
| merge_files |
|
2 |
6 |
35 |
2 |
| get_sort_method_name |
|
4 |
11 |
44 |
1 |
| sort_list_to_file |
|
20 |
51 |
305 |
2 |
| Source file: ./usr.bin/sort/coll.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| keys_array_alloc |
|
1 |
8 |
32 |
1 |
| key_hint_size |
|
2 |
4 |
17 |
1 |
| keys_array_size |
|
1 |
4 |
21 |
1 |
| clean_keys_array |
|
5 |
10 |
82 |
2 |
| set_key_on_keys_array |
|
4 |
10 |
65 |
3 |
| sort_list_item_alloc |
|
1 |
8 |
38 |
1 |
| sort_list_item_size |
|
5 |
16 |
105 |
1 |
| sort_list_item_make_key |
|
1 |
4 |
23 |
1 |
| sort_list_item_set |
|
4 |
16 |
81 |
2 |
| sort_list_item_clean |
|
3 |
10 |
50 |
1 |
| skip_cols_to_start |
|
8 |
16 |
101 |
5 |
| skip_fields_to_start |
|
13 |
38 |
200 |
3 |
| find_field_start |
|
2 |
10 |
78 |
6 |
| find_field_end |
|
10 |
32 |
197 |
2 |
| cut_field |
|
6 |
25 |
148 |
2 |
| preproc |
|
18 |
48 |
298 |
2 |
| get_sort_func |
|
7 |
17 |
72 |
1 |
| key_coll |
|
4 |
17 |
135 |
3 |
| top_level_str_coll |
|
2 |
10 |
52 |
2 |
| str_list_coll |
|
8 |
25 |
178 |
2 |
| list_coll_offset |
|
7 |
21 |
166 |
3 |
| list_coll |
|
1 |
5 |
34 |
2 |
| get_list_call_func |
|
2 |
12 |
72 |
1 |
| list_coll_by_str_only |
|
1 |
4 |
36 |
2 |
| setsuffix |
|
10 |
32 |
118 |
2 |
| read_number |
|
16 |
45 |
354 |
7 |
| wstrcoll |
|
3 |
12 |
98 |
3 |
| cmpsuffix |
|
1 |
4 |
23 |
2 |
| numcoll_impl |
|
57 |
111 |
933 |
4 |
| numcoll |
|
1 |
4 |
29 |
3 |
| hnumcoll |
|
1 |
4 |
29 |
3 |
| randomcoll |
|
7 |
40 |
257 |
3 |
| versioncoll |
|
3 |
14 |
83 |
3 |
| huge_minus |
|
5 |
7 |
39 |
2 |
| huge_plus |
|
5 |
7 |
36 |
2 |
| is_nan |
|
3 |
5 |
27 |
1 |
| cmp_nans |
|
3 |
6 |
29 |
2 |
| gnumcoll |
|
52 |
121 |
851 |
3 |
| monthcoll |
|
10 |
36 |
257 |
3 |
| Source file: ./usr.bin/sort/vsort.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| isdigit_clocale |
|
2 |
4 |
20 |
1 |
| isalpha_clocale |
|
4 |
4 |
34 |
1 |
| isalnum_clocale |
|
6 |
5 |
46 |
1 |
| find_suffix |
|
10 |
28 |
162 |
3 |
| cmp_chars |
|
13 |
18 |
126 |
2 |
| cmpversions |
|
20 |
41 |
298 |
4 |
| vcmp |
|
24 |
49 |
369 |
2 |
| Source file: ./usr.bin/fgen/fgen.h |
| Source file: ./usr.bin/login/pathnames.h |
| Source file: ./usr.bin/sort/radixsort.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| push_ls |
|
1 |
8 |
41 |
1 |
| pop_ls_st |
|
2 |
13 |
51 |
1 |
| add_to_sublevel |
|
3 |
17 |
138 |
3 |
| add_leaf |
|
2 |
9 |
74 |
2 |
| get_wc_index |
|
2 |
8 |
58 |
2 |
| place_item |
|
2 |
11 |
64 |
2 |
| free_sort_level |
|
5 |
19 |
102 |
1 |
| run_sort_level_next |
|
22 |
127 |
932 |
1 |
| run_sort_cycle_st |
|
3 |
11 |
39 |
1 |
| run_top_sort_level |
|
13 |
58 |
416 |
1 |
| rxsort |
|
1 |
10 |
58 |
2 |
| Source file: ./usr.bin/login/failedlogin.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| log_failedlogin |
|
6 |
25 |
250 |
4 |
| check_failedlogin |
|
7 |
42 |
329 |
1 |
| Source file: ./usr.bin/signify/signify.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usage |
|
2 |
12 |
42 |
1 |
| xopen |
|
8 |
21 |
144 |
3 |
| xmalloc |
|
2 |
7 |
35 |
1 |
| parseb64file |
|
9 |
24 |
189 |
5 |
| readb64file |
|
2 |
12 |
111 |
4 |
| readmsg |
|
10 |
37 |
255 |
2 |
| writeall |
|
3 |
10 |
72 |
4 |
| createheader |
|
3 |
11 |
92 |
3 |
| writekeyfile |
|
1 |
11 |
92 |
6 |
| kdf |
|
11 |
29 |
224 |
7 |
| signmsg |
|
1 |
10 |
67 |
4 |
| generate |
|
6 |
41 |
413 |
4 |
| check_keyname_compliance |
|
9 |
27 |
166 |
2 |
| createsig |
|
7 |
44 |
421 |
4 |
| sign |
|
2 |
17 |
122 |
4 |
| verifymsg |
|
4 |
20 |
154 |
5 |
| check_keytype |
|
4 |
16 |
96 |
2 |
| readpubkey |
|
6 |
20 |
143 |
4 |
| verifysimple |
|
1 |
14 |
107 |
5 |
| verifyembedded |
|
1 |
18 |
139 |
5 |
| verify |
|
2 |
17 |
118 |
6 |
| ecalloc |
|
2 |
7 |
42 |
3 |
| efree |
|
1 |
4 |
17 |
2 |
| recodehash |
|
4 |
11 |
98 |
2 |
| verifychecksum |
|
7 |
20 |
148 |
2 |
| verifychecksums |
|
18 |
56 |
415 |
4 |
| check |
|
1 |
9 |
69 |
5 |
| verifyzdata |
|
2 |
17 |
122 |
5 |
| main |
|
53 |
148 |
734 |
2 |
| Source file: ./usr.bin/tail/misc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ierr |
|
1 |
5 |
20 |
1 |
| oerr |
|
1 |
4 |
13 |
1 |
| printfname |
|
2 |
7 |
43 |
1 |
| Source file: ./usr.bin/tail/extern.h |
| Source file: ./usr.bin/radioctl/radioctl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
23 |
70 |
382 |
2 |
| usage |
|
1 |
9 |
26 |
1 |
| show_verbose |
|
2 |
5 |
24 |
2 |
| warn_unsupported |
|
1 |
4 |
17 |
1 |
| do_ioctls |
|
11 |
33 |
205 |
3 |
| change_value |
|
16 |
46 |
249 |
1 |
| str_to_opt |
|
6 |
16 |
120 |
1 |
| update_value |
|
4 |
14 |
50 |
3 |
| str_to_int |
|
4 |
11 |
70 |
2 |
| parse_opt |
|
29 |
78 |
529 |
2 |
| print_value |
|
19 |
45 |
251 |
2 |
| show_int_val |
|
1 |
5 |
35 |
4 |
| show_float_val |
|
1 |
5 |
35 |
4 |
| show_char_val |
|
1 |
5 |
31 |
3 |
| print_vars |
|
17 |
41 |
355 |
2 |
| Source file: ./usr.bin/tail/reverse.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| reverse |
|
12 |
28 |
177 |
4 |
| r_reg |
|
15 |
39 |
242 |
3 |
| r_buf |
|
24 |
79 |
498 |
1 |
| Source file: ./usr.bin/tail/tail.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
27 |
91 |
541 |
2 |
| obsolete |
|
37 |
58 |
349 |
1 |
| usage |
|
1 |
7 |
22 |
1 |
| Source file: ./usr.bin/tail/read.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bytes |
|
19 |
56 |
352 |
2 |
| lines |
|
23 |
85 |
607 |
2 |
| Source file: ./usr.bin/cvs/atomicio.h |
| Source file: ./usr.bin/tail/forward.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| forward |
|
51 |
141 |
948 |
4 |
| rlines |
|
15 |
37 |
267 |
2 |
| tfprint |
|
3 |
7 |
43 |
1 |
| tfqueue |
|
4 |
23 |
157 |
1 |
| tfreopen |
|
15 |
48 |
350 |
1 |
| Source file: ./usr.bin/cvs/trigger.h |
| Source file: ./usr.bin/cvs/version.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cvs_version |
|
6 |
15 |
79 |
2 |
| Source file: ./usr.bin/cvs/atomicio.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| atomicio |
|
7 |
28 |
158 |
4 |
| Source file: ./usr.bin/cvs/log.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cvs_log |
|
1 |
7 |
38 |
3 |
| cvs_vlog |
|
13 |
48 |
271 |
3 |
| cvs_printf |
|
11 |
34 |
225 |
2 |
| Source file: ./usr.bin/login/login.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
148 |
472 |
3314 |
2 |
| getloginname |
|
7 |
26 |
130 |
1 |
| rootterm |
|
2 |
5 |
31 |
1 |
| motd |
|
4 |
19 |
158 |
1 |
| sigint |
|
1 |
4 |
9 |
1 |
| timedout |
|
2 |
10 |
51 |
1 |
| dolastlog |
|
7 |
31 |
264 |
1 |
| badlogin |
|
11 |
24 |
151 |
1 |
| stypeof |
|
2 |
6 |
42 |
1 |
| sleepexit |
|
1 |
6 |
25 |
1 |
| quickexit |
|
2 |
6 |
21 |
1 |
| sighup |
|
2 |
6 |
21 |
1 |
| Source file: ./usr.bin/cvs/modules.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cvs_parse_modules |
|
1 |
6 |
25 |
1 |
| cvs_modules_list |
|
1 |
6 |
29 |
1 |
| modules_parse_line |
|
40 |
137 |
850 |
2 |
| cvs_module_lookup |
|
2 |
25 |
170 |
1 |
| Source file: ./usr.bin/cvs/rcs.h |
| Source file: ./usr.bin/cvs/config.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cvs_parse_configfile |
|
1 |
5 |
20 |
1 |
| config_parse_line |
|
11 |
35 |
250 |
2 |
| cvs_read_config |
|
9 |
33 |
229 |
2 |
| Source file: ./usr.bin/cvs/update.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cvs_update |
|
36 |
119 |
526 |
2 |
| cvs_update_enterdir |
|
14 |
35 |
273 |
1 |
| cvs_update_leavedir |
|
22 |
58 |
403 |
1 |
| cvs_update_local |
|
70 |
157 |
1013 |
1 |
| update_clear_conflict |
|
6 |
22 |
201 |
1 |
| update_has_conflict_markers |
|
8 |
35 |
221 |
1 |
| update_join_file |
|
29 |
111 |
717 |
1 |
| cvs_backup_file |
|
2 |
16 |
121 |
1 |
| Source file: ./usr.bin/cvs/add.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cvs_add |
|
15 |
62 |
333 |
2 |
| cvs_add_entry |
|
2 |
15 |
86 |
1 |
| cvs_add_local |
|
8 |
19 |
112 |
1 |
| cvs_add_remote |
|
4 |
18 |
128 |
1 |
| cvs_add_loginfo |
|
2 |
16 |
102 |
1 |
| cvs_add_tobranch |
|
13 |
51 |
421 |
2 |
| add_directory |
|
15 |
90 |
625 |
1 |
| add_file |
|
21 |
74 |
387 |
1 |
| add_entry |
|
12 |
56 |
420 |
1 |
| Source file: ./usr.bin/cvs/trigger.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| expand_args |
|
51 |
119 |
609 |
5 |
| expand_var |
|
10 |
36 |
231 |
2 |
| parse_cmd |
|
26 |
109 |
593 |
4 |
| cvs_trigger_handle |
|
6 |
26 |
145 |
5 |
| cvs_trigger_getlines |
|
26 |
91 |
633 |
2 |
| cvs_trigger_freelist |
|
2 |
10 |
55 |
1 |
| cvs_trigger_freeinfo |
|
2 |
14 |
85 |
1 |
| cvs_trigger_loginfo_header |
|
4 |
29 |
194 |
2 |
| Source file: ./usr.bin/sort/sort.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sort_modifier_empty |
|
9 |
5 |
49 |
1 |
| usage |
|
2 |
7 |
28 |
1 |
| read_fns_from_file0 |
|
6 |
27 |
164 |
1 |
| set_hw_params |
|
6 |
26 |
166 |
1 |
| conv_mbtowc |
|
2 |
7 |
42 |
3 |
| set_locale |
|
8 |
36 |
200 |
1 |
| set_tmpdir |
|
3 |
9 |
36 |
1 |
| parse_memory_buffer_value |
|
27 |
61 |
284 |
1 |
| sig_handler |
|
1 |
5 |
17 |
1 |
| set_signal_handler |
|
3 |
16 |
122 |
1 |
| unknown |
|
1 |
4 |
18 |
1 |
| check_mutually_exclusive_flags |
|
6 |
29 |
131 |
2 |
| set_sort_opts |
|
1 |
8 |
42 |
1 |
| set_sort_modifier |
|
12 |
51 |
194 |
2 |
| parse_pos |
|
21 |
88 |
603 |
4 |
| parse_k |
|
5 |
29 |
190 |
2 |
| parse_pos_obs |
|
10 |
52 |
432 |
5 |
| fix_obsolete_keys |
|
9 |
46 |
312 |
2 |
| set_random_seed |
|
6 |
22 |
151 |
1 |
| main |
|
97 |
320 |
1881 |
2 |
| Source file: ./usr.bin/cvs/annotate.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cvs_annotate |
|
24 |
76 |
396 |
2 |
| cvs_annotate_local |
|
17 |
70 |
495 |
1 |
| Source file: ./usr.bin/cvs/root.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cvsroot_parse |
|
17 |
67 |
435 |
1 |
| cvsroot_get |
|
10 |
33 |
236 |
1 |
| cvsroot_is_local |
|
2 |
6 |
26 |
1 |
| cvsroot_is_remote |
|
2 |
6 |
26 |
1 |
| Source file: ./usr.bin/cvs/worklist.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| worklist_add |
|
2 |
14 |
110 |
2 |
| worklist_run |
|
2 |
13 |
91 |
2 |
| worklist_clean |
|
1 |
6 |
38 |
2 |
| worklist_unlink |
|
1 |
4 |
19 |
1 |
| Source file: ./usr.bin/cvs/logmsg.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cvs_logmsg_read |
|
9 |
41 |
290 |
1 |
| cvs_logmsg_create |
|
39 |
138 |
956 |
4 |
| cvs_logmsg_edit |
|
6 |
38 |
266 |
1 |
| cvs_logmsg_verify |
|
4 |
29 |
189 |
1 |
| Source file: ./usr.bin/cvs/init.h |
| Source file: ./usr.bin/cvs/rcsparse.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rcsparse_init |
|
5 |
26 |
160 |
1 |
| rcsparse_deltas |
|
9 |
24 |
141 |
2 |
| rcsparse_deltatexts |
|
11 |
24 |
145 |
2 |
| rcsparse_free |
|
2 |
9 |
48 |
1 |
| rcsparse_desc |
|
6 |
15 |
106 |
1 |
| rcsparse_deltarevision |
|
1 |
9 |
60 |
2 |
| rcsparse_date |
|
2 |
7 |
53 |
2 |
| rcsparse_author |
|
2 |
7 |
53 |
2 |
| rcsparse_state |
|
2 |
7 |
53 |
2 |
| rcsparse_branches |
|
2 |
12 |
84 |
2 |
| rcsparse_next |
|
2 |
11 |
74 |
2 |
| rcsparse_commitid |
|
2 |
7 |
53 |
2 |
| rcsparse_textrevision |
|
3 |
17 |
105 |
2 |
| rcsparse_log |
|
2 |
7 |
46 |
2 |
| rcsparse_text |
|
3 |
15 |
115 |
2 |
| rcsparse_head |
|
2 |
10 |
61 |
2 |
| rcsparse_branch |
|
2 |
10 |
61 |
2 |
| rcsparse_access |
|
2 |
12 |
82 |
2 |
| rcsparse_symbols |
|
4 |
20 |
132 |
2 |
| rcsparse_locks |
|
4 |
21 |
132 |
2 |
| rcsparse_strict |
|
1 |
5 |
31 |
2 |
| rcsparse_comment |
|
2 |
10 |
61 |
2 |
| rcsparse_expand |
|
2 |
10 |
61 |
2 |
| rcsparse_string |
|
8 |
36 |
206 |
2 |
| rcsparse_token |
|
50 |
197 |
1209 |
2 |
| rcsparse |
|
13 |
37 |
229 |
2 |
| rcsparse_deltatext |
|
6 |
14 |
85 |
1 |
| rcsparse_delta |
|
5 |
20 |
118 |
1 |
| rcsparse_growbuf |
|
1 |
8 |
61 |
1 |
| valid_login |
|
10 |
15 |
101 |
1 |
| valid_commitid |
|
4 |
11 |
57 |
1 |
| kw_cmp |
|
1 |
4 |
34 |
2 |
| rcsparse_warnx |
|
2 |
16 |
102 |
3 |
| Source file: ./usr.bin/cvs/hash.h |
| Source file: ./usr.bin/cvs/xmalloc.h |
| Source file: ./usr.bin/cvs/cvs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sighandler |
|
4 |
13 |
36 |
1 |
| cvs_cleanup |
|
4 |
17 |
85 |
1 |
| usage |
|
1 |
7 |
24 |
1 |
| cvs_build_cmd |
|
8 |
36 |
253 |
3 |
| main |
|
28 |
110 |
751 |
2 |
| cvs_getopt |
|
23 |
78 |
316 |
2 |
| cvs_read_rcfile |
|
20 |
71 |
417 |
1 |
| cvs_var_set |
|
8 |
27 |
187 |
2 |
| cvs_var_unset |
|
2 |
13 |
78 |
1 |
| cvs_var_get |
|
2 |
8 |
48 |
1 |
| Source file: ./usr.bin/cvs/util.h |
| Source file: ./usr.bin/cvs/getlog.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cvs_getlog |
|
34 |
100 |
508 |
2 |
| cvs_log_local |
|
27 |
87 |
656 |
1 |
| log_rev_print |
|
15 |
66 |
464 |
1 |
| push_date |
|
2 |
11 |
79 |
2 |
| date_select |
|
45 |
129 |
717 |
2 |
| Source file: ./usr.bin/cvs/commit.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cvs_commit |
|
28 |
134 |
737 |
2 |
| cvs_commit_loginfo |
|
5 |
42 |
268 |
1 |
| cvs_commit_lock_dirs |
|
1 |
7 |
45 |
1 |
| cvs_commit_check_files |
|
29 |
81 |
449 |
1 |
| cvs_commit_local |
|
66 |
234 |
1598 |
1 |
| commit_diff |
|
5 |
30 |
222 |
3 |
| commit_desc_set |
|
2 |
17 |
118 |
1 |
| Source file: ./usr.bin/cvs/cmd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cvs_findcmd |
|
6 |
20 |
125 |
1 |
| Source file: ./usr.bin/cvs/diff_internals.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| diffreg |
|
20 |
97 |
734 |
6 |
| files_differ |
|
10 |
19 |
150 |
2 |
| prepare |
|
5 |
20 |
160 |
4 |
| prune |
|
9 |
18 |
186 |
1 |
| equiv |
|
8 |
25 |
200 |
5 |
| isqrt |
|
4 |
13 |
71 |
1 |
| stone |
|
10 |
44 |
293 |
5 |
| newcand |
|
2 |
13 |
79 |
3 |
| search |
|
6 |
21 |
125 |
3 |
| unravel |
|
5 |
10 |
102 |
1 |
| check |
|
39 |
87 |
553 |
3 |
| sort |
|
10 |
29 |
233 |
2 |
| unsort |
|
3 |
10 |
95 |
3 |
| skipline |
|
3 |
7 |
44 |
1 |
| output |
|
13 |
35 |
277 |
3 |
| range |
|
3 |
6 |
42 |
3 |
| uni_range |
|
3 |
9 |
51 |
2 |
| preadline |
|
2 |
10 |
70 |
3 |
| ignoreline |
|
1 |
7 |
39 |
1 |
| diff_head |
|
6 |
29 |
209 |
1 |
| rdiff_head |
|
5 |
26 |
190 |
1 |
| change |
|
36 |
89 |
597 |
7 |
| fetch |
|
24 |
58 |
360 |
7 |
| readhash |
|
21 |
54 |
272 |
2 |
| asciifile |
|
5 |
13 |
95 |
1 |
| match_function |
|
15 |
40 |
269 |
3 |
| dump_context_vec |
|
22 |
85 |
600 |
3 |
| dump_unified_vec |
|
11 |
54 |
434 |
3 |
| diff_output |
|
3 |
16 |
83 |
2 |
| Source file: ./usr.bin/cvs/hash_func.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| hash4 |
|
11 |
31 |
117 |
2 |
| Source file: ./usr.bin/cvs/diff.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cvs_diff |
|
68 |
206 |
1102 |
2 |
| cvs_diff_local |
|
103 |
281 |
1871 |
1 |
| Source file: ./usr.bin/cvs/file.h |
| Source file: ./usr.bin/cvs/repository.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cvs_repository_unlock |
|
3 |
8 |
66 |
1 |
| cvs_repository_lock |
|
12 |
39 |
259 |
2 |
| cvs_repository_getdir |
|
26 |
78 |
474 |
5 |
| Source file: ./usr.bin/cvs/status.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cvs_status |
|
10 |
49 |
238 |
2 |
| cvs_status_local |
|
41 |
145 |
1051 |
1 |
| Source file: ./usr.bin/cvs/repository.h |
| Source file: ./usr.bin/cvs/remote.h |
| Source file: ./usr.bin/cvs/remove.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cvs_remove |
|
17 |
69 |
341 |
2 |
| cvs_remove_force |
|
4 |
11 |
68 |
1 |
| cvs_remove_local |
|
18 |
77 |
463 |
1 |
| Source file: ./usr.bin/cvs/xmalloc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| xmalloc |
|
3 |
11 |
50 |
1 |
| xcalloc |
|
4 |
11 |
61 |
2 |
| xreallocarray |
|
4 |
11 |
67 |
3 |
| xstrdup |
|
2 |
7 |
39 |
1 |
| xasprintf |
|
3 |
11 |
68 |
3 |
| xsnprintf |
|
4 |
13 |
81 |
4 |
| Source file: ./usr.bin/cvs/diff.h |
| Source file: ./usr.bin/cvs/cvs.h |
| Source file: ./usr.bin/cvs/checkout.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cvs_checkout |
|
28 |
88 |
387 |
2 |
| cvs_export |
|
13 |
47 |
210 |
2 |
| checkout_check_repository |
|
33 |
119 |
754 |
2 |
| checkout_classify |
|
7 |
30 |
208 |
2 |
| checkout_repository |
|
7 |
33 |
195 |
2 |
| cvs_checkout_file |
|
40 |
143 |
1084 |
4 |
| Source file: ./usr.bin/cvs/buf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| buf_alloc |
|
2 |
12 |
63 |
1 |
| buf_load |
|
2 |
11 |
66 |
1 |
| buf_load_fd |
|
5 |
16 |
131 |
1 |
| buf_free |
|
2 |
7 |
28 |
1 |
| buf_release |
|
1 |
7 |
28 |
1 |
| buf_putc |
|
2 |
9 |
54 |
2 |
| buf_puts |
|
1 |
4 |
25 |
2 |
| buf_append |
|
2 |
11 |
70 |
3 |
| buf_len |
|
1 |
4 |
15 |
1 |
| buf_write_fd |
|
2 |
6 |
43 |
2 |
| buf_write |
|
6 |
19 |
137 |
3 |
| buf_write_stmp |
|
6 |
18 |
136 |
3 |
| buf_get |
|
1 |
4 |
15 |
1 |
| buf_differ |
|
2 |
6 |
47 |
2 |
| buf_grow |
|
1 |
5 |
36 |
2 |
| Source file: ./usr.bin/cvs/client.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| client_get_supported_responses |
|
4 |
20 |
112 |
1 |
| client_check_directory |
|
8 |
28 |
196 |
2 |
| cvs_client_connect_to_server |
|
23 |
88 |
585 |
1 |
| cvs_client_send_request |
|
6 |
24 |
149 |
2 |
| cvs_client_read_response |
|
4 |
15 |
97 |
1 |
| cvs_client_get_responses |
|
2 |
6 |
20 |
1 |
| cvs_client_send_logmsg |
|
4 |
16 |
115 |
1 |
| cvs_client_senddir |
|
16 |
39 |
324 |
1 |
| cvs_client_sendfile |
|
24 |
80 |
570 |
1 |
| cvs_client_send_files |
|
2 |
6 |
37 |
2 |
| cvs_client_ok |
|
1 |
5 |
16 |
1 |
| cvs_client_error |
|
1 |
5 |
16 |
1 |
| cvs_client_validreq |
|
9 |
25 |
155 |
1 |
| cvs_client_e |
|
2 |
6 |
28 |
1 |
| cvs_client_m |
|
2 |
6 |
24 |
1 |
| cvs_client_checkedin |
|
10 |
52 |
401 |
1 |
| cvs_client_updated |
|
12 |
77 |
600 |
1 |
| cvs_client_merged |
|
8 |
57 |
426 |
1 |
| cvs_client_removed |
|
3 |
16 |
109 |
1 |
| cvs_client_remove_entry |
|
3 |
14 |
80 |
1 |
| cvs_client_set_static_directory |
|
4 |
19 |
108 |
1 |
| cvs_client_clear_static_directory |
|
3 |
14 |
76 |
1 |
| cvs_client_set_sticky |
|
4 |
23 |
145 |
1 |
| cvs_client_clear_sticky |
|
3 |
16 |
90 |
1 |
| cvs_client_initlog |
|
26 |
92 |
636 |
1 |
| Source file: ./usr.bin/cvs/worklist.h |
| Source file: ./usr.bin/cvs/util.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cvs_strtomode |
|
13 |
39 |
283 |
2 |
| cvs_modetostr |
|
18 |
39 |
321 |
3 |
| cvs_getargv |
|
7 |
30 |
178 |
3 |
| cvs_makeargv |
|
3 |
14 |
106 |
2 |
| cvs_freeargv |
|
2 |
6 |
35 |
2 |
| cvs_chdir |
|
3 |
9 |
52 |
2 |
| cvs_rename |
|
4 |
10 |
73 |
2 |
| cvs_unlink |
|
6 |
12 |
75 |
1 |
| cvs_rmdir |
|
21 |
70 |
365 |
1 |
| cvs_get_repository_path |
|
1 |
7 |
57 |
3 |
| cvs_get_repository_name |
|
14 |
38 |
268 |
3 |
| cvs_mkadmin |
|
16 |
46 |
432 |
5 |
| cvs_mkpath |
|
28 |
76 |
621 |
2 |
| cvs_mkdir |
|
11 |
28 |
221 |
2 |
| cvs_splitlines |
|
4 |
25 |
193 |
2 |
| cvs_freelines |
|
3 |
11 |
73 |
1 |
| cvs_strsplit |
|
2 |
17 |
138 |
2 |
| cvs_argv_destroy |
|
1 |
6 |
28 |
1 |
| cvs_revision_select |
|
14 |
54 |
388 |
2 |
| cvs_yesno |
|
5 |
13 |
68 |
1 |
| cvs_exec |
|
11 |
41 |
282 |
3 |
| Source file: ./usr.bin/cvs/rcsparse.h |
| Source file: ./usr.bin/cvs/rcsnum.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rcsnum_alloc |
|
1 |
7 |
34 |
1 |
| rcsnum_addmagic |
|
3 |
9 |
76 |
1 |
| rcsnum_parse |
|
3 |
11 |
59 |
1 |
| rcsnum_tostr |
|
7 |
19 |
156 |
3 |
| rcsnum_itoa |
|
3 |
15 |
76 |
3 |
| rcsnum_cpy |
|
3 |
9 |
69 |
3 |
| rcsnum_cmp |
|
11 |
25 |
174 |
3 |
| rcsnum_aton |
|
14 |
47 |
323 |
3 |
| rcsnum_inc |
|
2 |
7 |
45 |
1 |
| rcsnum_dec |
|
2 |
7 |
45 |
1 |
| rcsnum_revtobr |
|
3 |
11 |
59 |
1 |
| rcsnum_brtorev |
|
2 |
12 |
73 |
1 |
| rcsnum_new_branch |
|
2 |
11 |
67 |
1 |
| rcsnum_branch_root |
|
2 |
10 |
51 |
1 |
| rcsnum_setsize |
|
1 |
4 |
17 |
2 |
| rcsnum_differ |
|
4 |
12 |
86 |
2 |
| Source file: ./usr.bin/cvs/history.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cvs_history_add |
|
39 |
106 |
690 |
3 |
| history_compress |
|
5 |
21 |
120 |
2 |
| cvs_history |
|
4 |
20 |
90 |
2 |
| Source file: ./usr.bin/cvs/watch.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cvs_watch |
|
28 |
88 |
529 |
2 |
| cvs_watchers |
|
8 |
42 |
208 |
2 |
| cvs_watch_local |
|
1 |
3 |
9 |
1 |
| cvs_watchers_local |
|
1 |
3 |
9 |
1 |
| Source file: ./usr.bin/cvs/file.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cvs_file_init |
|
7 |
28 |
191 |
1 |
| cvs_file_ignore |
|
4 |
18 |
124 |
2 |
| cvs_file_chkign |
|
11 |
30 |
214 |
1 |
| cvs_file_run |
|
2 |
12 |
81 |
3 |
| cvs_file_get |
|
4 |
17 |
130 |
4 |
| cvs_file_get_cf |
|
6 |
24 |
183 |
6 |
| cvs_file_walklist |
|
31 |
106 |
685 |
2 |
| cvs_file_walkdir |
|
54 |
176 |
1160 |
2 |
| cvs_file_freelist |
|
2 |
10 |
70 |
1 |
| cvs_file_classify |
|
117 |
297 |
1812 |
2 |
| cvs_file_free |
|
5 |
17 |
117 |
1 |
| cvs_file_cmpname |
|
2 |
5 |
39 |
2 |
| cvs_file_cmp |
|
14 |
46 |
401 |
2 |
| cvs_file_copy |
|
10 |
55 |
417 |
2 |
| cvs_filelist_cmp |
|
1 |
4 |
28 |
2 |
| Source file: ./usr.bin/cvs/admin.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cvs_admin |
|
41 |
132 |
625 |
2 |
| cvs_admin_local |
|
37 |
134 |
974 |
1 |
| Source file: ./usr.bin/cvs/hash.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| hash_table_init |
|
6 |
18 |
128 |
2 |
| hash_table_enter |
|
1 |
12 |
105 |
2 |
| hash_table_find |
|
2 |
13 |
100 |
3 |
| Source file: ./usr.bin/cvs/release.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cvs_release |
|
7 |
38 |
194 |
2 |
| cvs_release_local |
|
14 |
60 |
372 |
1 |
| release_check_files |
|
5 |
10 |
56 |
1 |
| Source file: ./usr.bin/cvs/remote.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cvs_remote_get_response_info |
|
3 |
9 |
64 |
1 |
| cvs_remote_get_request_info |
|
3 |
9 |
64 |
1 |
| cvs_remote_output |
|
6 |
18 |
103 |
1 |
| cvs_remote_input |
|
10 |
36 |
207 |
1 |
| cvs_remote_receive_file |
|
8 |
24 |
145 |
2 |
| cvs_remote_send_file |
|
12 |
41 |
319 |
2 |
| cvs_remote_send_file_buf |
|
6 |
21 |
159 |
3 |
| cvs_remote_classify_file |
|
16 |
40 |
268 |
1 |
| cvs_validate_directory |
|
4 |
13 |
85 |
1 |
| Source file: ./usr.bin/cvs/server.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cvs_server |
|
10 |
37 |
262 |
2 |
| cvs_server_send_response |
|
2 |
14 |
75 |
2 |
| cvs_server_root |
|
5 |
12 |
65 |
1 |
| cvs_server_validresp |
|
9 |
25 |
155 |
1 |
| cvs_server_validreq |
|
4 |
22 |
126 |
1 |
| cvs_server_static_directory |
|
2 |
12 |
70 |
1 |
| cvs_server_sticky |
|
3 |
15 |
93 |
1 |
| cvs_server_globalopt |
|
8 |
17 |
103 |
1 |
| cvs_server_set |
|
4 |
12 |
67 |
1 |
| cvs_server_directory |
|
7 |
32 |
234 |
1 |
| cvs_server_entry |
|
2 |
8 |
37 |
1 |
| cvs_server_modified |
|
5 |
26 |
186 |
1 |
| cvs_server_useunchanged |
|
1 |
3 |
8 |
1 |
| cvs_server_unchanged |
|
5 |
25 |
193 |
1 |
| cvs_server_questionable |
|
2 |
12 |
66 |
1 |
| cvs_server_argument |
|
2 |
9 |
54 |
1 |
| cvs_server_argumentx |
|
2 |
12 |
92 |
1 |
| cvs_server_update_patches |
|
1 |
3 |
8 |
1 |
| cvs_server_add |
|
2 |
9 |
52 |
1 |
| cvs_server_import |
|
2 |
9 |
52 |
1 |
| cvs_server_admin |
|
2 |
9 |
52 |
1 |
| cvs_server_annotate |
|
2 |
9 |
52 |
1 |
| cvs_server_rannotate |
|
2 |
9 |
52 |
1 |
| cvs_server_commit |
|
2 |
9 |
52 |
1 |
| cvs_server_checkout |
|
2 |
9 |
52 |
1 |
| cvs_server_diff |
|
2 |
9 |
52 |
1 |
| cvs_server_rdiff |
|
2 |
9 |
52 |
1 |
| cvs_server_export |
|
2 |
9 |
52 |
1 |
| cvs_server_init |
|
4 |
13 |
72 |
1 |
| cvs_server_release |
|
2 |
9 |
52 |
1 |
| cvs_server_remove |
|
2 |
9 |
52 |
1 |
| cvs_server_status |
|
2 |
9 |
52 |
1 |
| cvs_server_log |
|
2 |
9 |
52 |
1 |
| cvs_server_rlog |
|
2 |
9 |
54 |
1 |
| cvs_server_tag |
|
2 |
9 |
52 |
1 |
| cvs_server_rtag |
|
2 |
9 |
54 |
1 |
| cvs_server_update |
|
2 |
9 |
52 |
1 |
| cvs_server_version |
|
1 |
7 |
32 |
1 |
| cvs_server_update_entry |
|
3 |
13 |
107 |
2 |
| cvs_server_set_sticky |
|
1 |
10 |
65 |
2 |
| cvs_server_clear_sticky |
|
1 |
9 |
55 |
1 |
| cvs_server_exp_modules |
|
2 |
14 |
84 |
1 |
| Source file: ./usr.bin/cvs/diff3.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cvs_merge_file |
|
15 |
93 |
815 |
2 |
| diff3_internal |
|
4 |
30 |
243 |
4 |
| ed_patch_lines |
|
31 |
87 |
627 |
2 |
| readin |
|
9 |
40 |
316 |
2 |
| number |
|
2 |
8 |
49 |
1 |
| getchange |
|
3 |
9 |
51 |
1 |
| get_line |
|
6 |
23 |
143 |
2 |
| merge |
|
27 |
84 |
753 |
2 |
| separate |
|
1 |
4 |
16 |
1 |
| change |
|
3 |
11 |
75 |
3 |
| prange |
|
3 |
11 |
70 |
1 |
| keep |
|
1 |
9 |
61 |
2 |
| skip |
|
4 |
13 |
98 |
3 |
| duplicate |
|
7 |
26 |
180 |
2 |
| repos |
|
2 |
6 |
42 |
1 |
| edit |
|
3 |
14 |
152 |
3 |
| edscript |
|
9 |
26 |
228 |
1 |
| increase |
|
2 |
15 |
161 |
1 |
| Source file: ./usr.bin/cvs/buf.h |
| Source file: ./usr.bin/cvs/config.h |
| Source file: ./usr.bin/cvs/init.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cvs_init |
|
3 |
13 |
59 |
2 |
| cvs_init_local |
|
3 |
17 |
124 |
1 |
| init_mkdir |
|
6 |
12 |
78 |
2 |
| init_mkfile |
|
10 |
37 |
313 |
2 |
| Source file: ./usr.bin/cvs/edit.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cvs_edit |
|
15 |
58 |
312 |
2 |
| cvs_editors |
|
8 |
42 |
208 |
2 |
| cvs_unedit |
|
8 |
42 |
208 |
2 |
| cvs_edit_local |
|
12 |
43 |
359 |
1 |
| cvs_editors_local |
|
1 |
3 |
9 |
1 |
| cvs_unedit_local |
|
14 |
70 |
563 |
1 |
| cvs_base_handle |
|
18 |
61 |
421 |
2 |
| Source file: ./usr.bin/cvs/log.h |
| Source file: ./usr.bin/cvs/fatal.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fatal |
|
4 |
17 |
86 |
2 |
| Source file: ./usr.bin/cvs/tag.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cvs_tag |
|
43 |
136 |
726 |
2 |
| cvs_tag_check_files |
|
20 |
72 |
440 |
1 |
| cvs_tag_local |
|
17 |
48 |
213 |
1 |
| tag_del |
|
3 |
8 |
46 |
1 |
| tag_add |
|
13 |
60 |
392 |
1 |
| Source file: ./usr.bin/locate/bigram/locate.bigram.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
11 |
29 |
223 |
1 |
| Source file: ./usr.bin/locate/locate/pathnames.h |
| Source file: ./usr.bin/col/col.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
53 |
182 |
869 |
2 |
| flush_lines |
|
7 |
19 |
95 |
1 |
| flush_blanks |
|
6 |
22 |
92 |
1 |
| flush_line |
|
22 |
75 |
468 |
1 |
| addto_lineno |
|
4 |
11 |
59 |
2 |
| alloc_line |
|
3 |
16 |
95 |
1 |
| free_line |
|
1 |
5 |
18 |
1 |
| xreallocarray |
|
2 |
6 |
42 |
3 |
| usage |
|
1 |
5 |
21 |
1 |
| dowarn |
|
2 |
5 |
20 |
1 |
| Source file: ./usr.bin/cvs/import.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cvs_import |
|
20 |
106 |
592 |
2 |
| import_printf |
|
2 |
12 |
69 |
2 |
| cvs_import_ignored |
|
3 |
7 |
48 |
1 |
| cvs_import_local |
|
10 |
30 |
198 |
1 |
| import_loginfo |
|
5 |
26 |
187 |
1 |
| import_new |
|
16 |
62 |
506 |
1 |
| import_update |
|
14 |
50 |
383 |
1 |
| import_tag |
|
3 |
9 |
66 |
3 |
| import_get_rcsdiff |
|
2 |
23 |
174 |
2 |
| Source file: ./usr.bin/locate/locate/locate.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
21 |
55 |
304 |
2 |
| search_statistic |
|
3 |
9 |
58 |
2 |
| search_mmap |
|
11 |
29 |
229 |
2 |
| cputime |
|
1 |
6 |
37 |
1 |
| usage |
|
1 |
8 |
43 |
1 |
| sane_count |
|
3 |
7 |
31 |
1 |
| Source file: ./usr.bin/locate/locate/locate.h |
| Source file: ./usr.bin/cvs/entries.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cvs_ent_open |
|
14 |
63 |
505 |
1 |
| cvs_ent_parse |
|
28 |
102 |
729 |
1 |
| cvs_ent_get |
|
2 |
10 |
57 |
2 |
| cvs_ent_close |
|
9 |
39 |
260 |
2 |
| cvs_ent_add |
|
5 |
24 |
191 |
2 |
| cvs_ent_remove |
|
4 |
20 |
146 |
2 |
| cvs_ent_line_str |
|
3 |
10 |
92 |
9 |
| cvs_ent_free |
|
1 |
7 |
35 |
1 |
| ent_get_line |
|
4 |
20 |
137 |
2 |
| cvs_parse_tagfile |
|
20 |
65 |
405 |
4 |
| cvs_write_tagfile |
|
14 |
45 |
296 |
3 |
| Source file: ./usr.bin/rdist/pathnames.h |
| Source file: ./usr.bin/locate/locate/fastfind.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| statistic |
|
7 |
52 |
413 |
2 |
| fastfind_mmap |
|
41 |
124 |
747 |
4 |
| Source file: ./usr.bin/locate/code/locate.code.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
37 |
89 |
676 |
2 |
| bgindex |
|
5 |
10 |
77 |
1 |
| usage |
|
1 |
6 |
21 |
1 |
| Source file: ./usr.bin/locate/locate/util.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| check_bigram_char |
|
4 |
11 |
61 |
1 |
| colon |
|
14 |
46 |
312 |
3 |
| print_matches |
|
1 |
5 |
19 |
1 |
| patprep |
|
16 |
32 |
230 |
1 |
| tolower_word |
|
2 |
8 |
42 |
1 |
| getwm |
|
6 |
22 |
117 |
1 |
| getwf |
|
5 |
16 |
81 |
1 |
| Source file: ./usr.bin/rdist/types.h |
| Source file: ./usr.bin/rdist/version.h |
| Source file: ./usr.bin/rdist/distopt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| getdistopt |
|
3 |
9 |
74 |
2 |
| parsedistopts |
|
8 |
26 |
186 |
3 |
| getdistoptlist |
|
3 |
14 |
107 |
1 |
| getondistoptlist |
|
5 |
20 |
167 |
1 |
| Source file: ./usr.bin/rdist/rdist.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| addhostlist |
|
6 |
16 |
100 |
2 |
| main |
|
64 |
166 |
948 |
3 |
| opendist |
|
7 |
22 |
124 |
1 |
| usage |
|
1 |
16 |
52 |
1 |
| docmdargs |
|
8 |
43 |
264 |
2 |
| getnlstr |
|
4 |
22 |
154 |
1 |
| Source file: ./usr.bin/rdist/child.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| removechild |
|
5 |
29 |
191 |
1 |
| copychild |
|
1 |
11 |
67 |
1 |
| addchild |
|
1 |
12 |
60 |
1 |
| readchild |
|
5 |
24 |
200 |
1 |
| waitproc |
|
6 |
21 |
112 |
2 |
| reap |
|
7 |
29 |
147 |
1 |
| childscan |
|
3 |
14 |
71 |
1 |
| waitup |
|
17 |
56 |
335 |
1 |
| setnonblocking |
|
3 |
9 |
56 |
1 |
| spawn |
|
7 |
48 |
303 |
2 |
| Source file: ./usr.bin/rdist/isexec.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| isexec |
|
6 |
14 |
114 |
2 |
| Source file: ./usr.bin/rdist/docmd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| closeconn |
|
2 |
12 |
64 |
1 |
| notify |
|
20 |
76 |
570 |
3 |
| checkcmd |
|
5 |
15 |
84 |
1 |
| markassigned |
|
4 |
10 |
69 |
2 |
| markfailed |
|
5 |
16 |
96 |
2 |
| remotecmd |
|
3 |
18 |
148 |
4 |
| makeconn |
|
27 |
91 |
610 |
1 |
| doarrow |
|
39 |
131 |
781 |
2 |
| okname |
|
9 |
17 |
100 |
1 |
| rcmptime |
|
7 |
33 |
225 |
3 |
| cmptime |
|
17 |
52 |
362 |
3 |
| dodcolon |
|
20 |
66 |
509 |
2 |
| except |
|
11 |
42 |
254 |
1 |
| docmdhost |
|
10 |
30 |
148 |
2 |
| docmd |
|
7 |
20 |
135 |
3 |
| docmds |
|
24 |
69 |
425 |
3 |
| Source file: ./usr.bin/cvs/rcs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rcs_open |
|
8 |
48 |
342 |
4 |
| rcs_close |
|
9 |
45 |
346 |
1 |
| rcs_write |
|
21 |
129 |
1057 |
1 |
| rcs_head_get |
|
9 |
35 |
235 |
1 |
| rcs_head_set |
|
3 |
10 |
67 |
2 |
| rcs_branch_new |
|
7 |
20 |
116 |
2 |
| rcs_branch_get |
|
1 |
4 |
15 |
1 |
| rcs_branch_set |
|
2 |
8 |
51 |
2 |
| rcs_access_add |
|
2 |
13 |
97 |
2 |
| rcs_access_remove |
|
3 |
14 |
95 |
2 |
| rcs_sym_add |
|
3 |
17 |
133 |
3 |
| rcs_sym_remove |
|
4 |
17 |
116 |
2 |
| rcs_sym_get |
|
2 |
8 |
54 |
2 |
| rcs_sym_getrev |
|
6 |
21 |
137 |
2 |
| rcs_sym_check |
|
5 |
15 |
86 |
1 |
| rcs_lock_getmode |
|
2 |
4 |
21 |
1 |
| rcs_lock_setmode |
|
3 |
13 |
65 |
2 |
| rcs_lock_add |
|
3 |
16 |
133 |
3 |
| rcs_lock_remove |
|
4 |
17 |
121 |
3 |
| rcs_desc_get |
|
1 |
4 |
15 |
1 |
| rcs_desc_set |
|
1 |
8 |
43 |
2 |
| rcs_comment_lookup |
|
4 |
12 |
87 |
1 |
| rcs_comment_get |
|
1 |
4 |
15 |
1 |
| rcs_comment_set |
|
1 |
8 |
43 |
2 |
| rcs_patch_lines |
|
26 |
90 |
646 |
4 |
| rcs_delta_stats |
|
8 |
40 |
292 |
3 |
| rcs_rev_add |
|
17 |
83 |
609 |
5 |
| rcs_rev_remove |
|
16 |
58 |
438 |
2 |
| rcs_findrev |
|
11 |
23 |
157 |
2 |
| rcs_kwexp_set |
|
7 |
24 |
136 |
2 |
| rcs_kwexp_get |
|
2 |
6 |
31 |
1 |
| rcs_kflag_get |
|
11 |
28 |
154 |
1 |
| rcs_freedelta |
|
2 |
17 |
114 |
1 |
| rcs_strprint |
|
5 |
16 |
120 |
3 |
| rcs_deltatext_set |
|
4 |
24 |
151 |
3 |
| rcs_rev_setlog |
|
2 |
10 |
70 |
3 |
| rcs_rev_getdate |
|
2 |
7 |
49 |
2 |
| rcs_state_set |
|
2 |
10 |
70 |
3 |
| rcs_state_check |
|
3 |
6 |
36 |
1 |
| rcs_state_get |
|
2 |
7 |
44 |
2 |
| rcs_get_revision |
|
15 |
56 |
389 |
2 |
| rcs_rev_getlines |
|
35 |
143 |
927 |
3 |
| rcs_annotate_getlines |
|
21 |
85 |
607 |
3 |
| rcs_rev_getbuf |
|
8 |
39 |
258 |
3 |
| rcs_rev_write_fd |
|
16 |
52 |
361 |
4 |
| rcs_rev_write_stmp |
|
3 |
11 |
95 |
4 |
| rcs_kwexp_line |
|
71 |
258 |
1775 |
5 |
| rcs_translate_tag |
|
30 |
100 |
620 |
2 |
| Source file: ./usr.bin/rdist/message.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| msgprusage |
|
3 |
14 |
127 |
1 |
| msgprconfig |
|
5 |
19 |
164 |
1 |
| getmsgfac |
|
3 |
8 |
57 |
1 |
| getmsgtype |
|
3 |
8 |
57 |
1 |
| setmsgtypes |
|
16 |
55 |
310 |
2 |
| msgparseopts |
|
11 |
37 |
250 |
2 |
| msgsendstdout |
|
22 |
40 |
208 |
4 |
| msgsendsyslog |
|
20 |
19 |
123 |
4 |
| msgsendfile |
|
4 |
9 |
64 |
4 |
| msgsendnotify |
|
10 |
29 |
215 |
4 |
| checkhostname |
|
4 |
13 |
74 |
1 |
| _message |
|
18 |
38 |
326 |
2 |
| message |
|
3 |
11 |
72 |
3 |
| _debugmsg |
|
2 |
5 |
27 |
2 |
| debugmsg |
|
1 |
9 |
60 |
3 |
| _error |
|
4 |
15 |
87 |
1 |
| error |
|
3 |
11 |
75 |
2 |
| _fatalerr |
|
2 |
11 |
70 |
1 |
| fatalerr |
|
1 |
9 |
55 |
2 |
| getnotifyfile |
|
4 |
12 |
82 |
1 |
| Source file: ./usr.bin/rdist/client.h |
| Source file: ./usr.bin/rdist/config.h |
| Source file: ./usr.bin/rdist/defs.h |
| Source file: ./usr.bin/rdist/expand.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| Cat |
|
6 |
20 |
139 |
2 |
| addpath |
|
2 |
10 |
36 |
1 |
| expand |
|
6 |
33 |
201 |
2 |
| xstrchr |
|
4 |
8 |
48 |
2 |
| expstr |
|
36 |
119 |
790 |
1 |
| argcmp |
|
1 |
5 |
42 |
2 |
| expsh |
|
11 |
35 |
207 |
1 |
| matchdir |
|
8 |
37 |
225 |
1 |
| execbrc |
|
29 |
79 |
434 |
2 |
| match |
|
3 |
14 |
71 |
2 |
| amatch |
|
29 |
83 |
431 |
2 |
| Source file: ./usr.bin/rdist/lookup.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| define |
|
16 |
52 |
268 |
1 |
| lookup |
|
9 |
40 |
275 |
3 |
| Source file: ./usr.bin/vis/foldit.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| foldit |
|
8 |
29 |
117 |
3 |
| Source file: ./usr.bin/vis/vis.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
23 |
70 |
313 |
2 |
| process |
|
15 |
40 |
238 |
1 |
| usage |
|
1 |
7 |
25 |
1 |
| Source file: ./usr.bin/rdist/client.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| remfilename |
|
12 |
50 |
331 |
5 |
| inlist |
|
3 |
8 |
57 |
2 |
| runspecial |
|
7 |
24 |
156 |
4 |
| addcmdspecialfile |
|
7 |
22 |
144 |
3 |
| freecmdspecialfiles |
|
4 |
14 |
74 |
1 |
| runcmdspecial |
|
11 |
35 |
212 |
2 |
| checkfilename |
|
4 |
14 |
67 |
1 |
| freelinkinfo |
|
1 |
7 |
35 |
1 |
| linkinfo |
|
5 |
22 |
150 |
1 |
| sendhardlink |
|
5 |
23 |
180 |
4 |
| sendfile |
|
14 |
65 |
467 |
6 |
| rmchk |
|
17 |
61 |
359 |
1 |
| senddir |
|
13 |
55 |
364 |
6 |
| sendlink |
|
19 |
76 |
513 |
6 |
| update |
|
55 |
176 |
1042 |
3 |
| dostat |
|
4 |
12 |
78 |
3 |
| statupdate |
|
3 |
25 |
162 |
8 |
| fullupdate |
|
12 |
39 |
312 |
8 |
| sendit |
|
15 |
35 |
298 |
3 |
| cleanup |
|
2 |
6 |
31 |
1 |
| install |
|
25 |
71 |
479 |
5 |
| Source file: ./usr.bin/nl/nl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
33 |
109 |
624 |
2 |
| filter |
|
16 |
65 |
353 |
1 |
| parse_numbering |
|
7 |
36 |
203 |
2 |
| usage |
|
1 |
7 |
27 |
1 |
| Source file: ./usr.bin/cu/error.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cu_err |
|
1 |
7 |
37 |
3 |
| cu_errx |
|
1 |
7 |
37 |
3 |
| cu_warn |
|
1 |
9 |
56 |
2 |
| cu_warnx |
|
1 |
9 |
51 |
2 |
| Source file: ./usr.bin/rdist/common.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| xwrite |
|
3 |
14 |
69 |
3 |
| init |
|
7 |
27 |
200 |
3 |
| finish |
|
6 |
18 |
79 |
1 |
| lostconn |
|
2 |
9 |
44 |
1 |
| sighandler |
|
8 |
28 |
99 |
1 |
| sendcmdmsg |
|
7 |
19 |
149 |
3 |
| sendcmd |
|
2 |
13 |
92 |
3 |
| remread |
|
1 |
4 |
30 |
3 |
| remmore |
|
3 |
14 |
84 |
1 |
| remline |
|
10 |
42 |
216 |
3 |
| readrem |
|
4 |
18 |
106 |
2 |
| getusername |
|
8 |
25 |
198 |
3 |
| getgroupname |
|
8 |
24 |
201 |
3 |
| response |
|
10 |
37 |
185 |
1 |
| exptilde |
|
15 |
45 |
262 |
3 |
| setfiletime |
|
3 |
11 |
88 |
3 |
| getversion |
|
1 |
9 |
45 |
1 |
| runcommand |
|
16 |
67 |
471 |
1 |
| xmalloc |
|
2 |
7 |
36 |
1 |
| xrealloc |
|
2 |
7 |
42 |
2 |
| xcalloc |
|
2 |
8 |
47 |
2 |
| xstrdup |
|
1 |
6 |
40 |
1 |
| xbasename |
|
2 |
8 |
40 |
1 |
| searchpath |
|
4 |
15 |
95 |
1 |
| Source file: ./usr.bin/cu/xmodem.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| xmodem_signal |
|
1 |
4 |
11 |
1 |
| xmodem_crc16 |
|
4 |
15 |
91 |
2 |
| xmodem_read |
|
7 |
16 |
70 |
1 |
| xmodem_write |
|
5 |
15 |
73 |
2 |
| xmodem_send |
|
22 |
101 |
618 |
1 |
| Source file: ./usr.bin/lock/lock.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
31 |
132 |
895 |
2 |
| hi |
|
2 |
13 |
78 |
1 |
| bye |
|
2 |
6 |
22 |
1 |
| Source file: ./usr.bin/cu/input.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| input_signal |
|
1 |
4 |
11 |
1 |
| get_input |
|
9 |
35 |
225 |
1 |
| Source file: ./usr.bin/cu/command.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pipe_command |
|
13 |
36 |
228 |
1 |
| connect_command |
|
12 |
33 |
207 |
1 |
| send_file |
|
7 |
23 |
137 |
1 |
| send_xmodem |
|
3 |
11 |
52 |
1 |
| set_speed |
|
5 |
15 |
84 |
1 |
| start_record |
|
5 |
14 |
70 |
1 |
| do_command |
|
14 |
58 |
191 |
1 |
| Source file: ./usr.bin/cu/cu.h |
| Source file: ./usr.bin/cu/cu.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usage |
|
1 |
7 |
29 |
1 |
| main |
|
39 |
110 |
758 |
2 |
| signal_event |
|
1 |
6 |
33 |
3 |
| set_blocking |
|
5 |
12 |
87 |
2 |
| set_termios |
|
3 |
20 |
155 |
1 |
| restore_termios |
|
2 |
5 |
23 |
1 |
| set_line |
|
2 |
16 |
126 |
1 |
| stream_read |
|
11 |
33 |
166 |
2 |
| stream_error |
|
1 |
4 |
21 |
3 |
| line_read |
|
3 |
13 |
81 |
2 |
| line_error |
|
1 |
4 |
21 |
3 |
| try_remote |
|
16 |
35 |
253 |
3 |
| tilde_expand |
|
13 |
41 |
277 |
1 |
| Source file: ./usr.bin/ypcat/ypcat.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usage |
|
1 |
7 |
19 |
1 |
| printit |
|
3 |
10 |
63 |
6 |
| main |
|
15 |
57 |
336 |
2 |
| Source file: ./usr.bin/ftp/pathnames.h |
| Source file: ./usr.bin/nice/nice.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
14 |
41 |
291 |
2 |
| usage |
|
1 |
7 |
25 |
1 |
| Source file: ./usr.bin/getent/getent.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
6 |
18 |
134 |
2 |
| usage |
|
1 |
5 |
20 |
1 |
| printfmtstrings |
|
2 |
16 |
100 |
5 |
| ethers |
|
6 |
30 |
157 |
2 |
| group |
|
6 |
27 |
144 |
2 |
| hostsprint |
|
2 |
7 |
69 |
1 |
| hostsaddrinfo |
|
7 |
36 |
223 |
1 |
| hosts |
|
7 |
24 |
170 |
2 |
| passwd |
|
6 |
27 |
144 |
2 |
| protocols |
|
6 |
27 |
144 |
2 |
| rpc |
|
6 |
27 |
144 |
2 |
| services |
|
7 |
31 |
179 |
2 |
| shells |
|
7 |
26 |
128 |
2 |
| Source file: ./usr.bin/ftp/small.h |
| Source file: ./usr.bin/ftp/cookie.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cookie_load |
|
34 |
114 |
682 |
1 |
| cookie_get |
|
11 |
41 |
296 |
4 |
| Source file: ./usr.bin/ftp/ftp_var.h |
| Source file: ./usr.bin/ftp/stringlist.h |
| Source file: ./usr.bin/ftp/extern.h |
| Source file: ./usr.bin/ftp/small.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| settype |
|
8 |
35 |
220 |
2 |
| changetype |
|
11 |
27 |
147 |
2 |
| setbinary |
|
1 |
5 |
27 |
2 |
| get |
|
2 |
4 |
31 |
2 |
| getit |
|
28 |
79 |
516 |
4 |
| mabort |
|
4 |
15 |
77 |
1 |
| Source file: ./usr.bin/ipcs/ipcs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fmt_perm |
|
10 |
17 |
197 |
1 |
| cvt_time |
|
2 |
11 |
72 |
3 |
| main |
|
23 |
66 |
267 |
2 |
| show_msgtotal |
|
1 |
16 |
68 |
1 |
| show_shmtotal |
|
1 |
14 |
59 |
1 |
| show_semtotal |
|
1 |
22 |
95 |
1 |
| show_msginfo_hdr |
|
6 |
16 |
76 |
1 |
| show_msginfo |
|
7 |
26 |
233 |
15 |
| show_shminfo_hdr |
|
6 |
16 |
76 |
1 |
| show_shminfo |
|
7 |
28 |
222 |
14 |
| show_seminfo_hdr |
|
4 |
12 |
54 |
1 |
| show_seminfo |
|
5 |
19 |
163 |
10 |
| msg_sysctl |
|
11 |
62 |
375 |
1 |
| shm_sysctl |
|
11 |
62 |
370 |
1 |
| sem_sysctl |
|
11 |
58 |
356 |
1 |
| ipcs_kvm |
|
41 |
186 |
1256 |
1 |
| usage |
|
1 |
8 |
25 |
1 |
| Source file: ./usr.bin/ftp/list.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| parse_unix |
|
9 |
19 |
103 |
2 |
| parse_windows |
|
10 |
20 |
116 |
2 |
| parse_list |
|
3 |
7 |
39 |
2 |
| Source file: ./usr.bin/ftp/cmdtab.c |
| Source file: ./usr.bin/ftp/cmds.h |
| Source file: ./usr.bin/ftp/cmds.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| setascii |
|
1 |
5 |
27 |
2 |
| setftmode |
|
1 |
5 |
27 |
2 |
| setform |
|
1 |
5 |
27 |
2 |
| setstruct |
|
1 |
5 |
27 |
2 |
| reput |
|
1 |
4 |
25 |
2 |
| put |
|
1 |
4 |
25 |
2 |
| putit |
|
22 |
54 |
367 |
3 |
| mput |
|
74 |
202 |
1264 |
2 |
| reget |
|
1 |
4 |
27 |
2 |
| onoff |
|
2 |
4 |
16 |
1 |
| status |
|
11 |
57 |
372 |
2 |
| togglevar |
|
7 |
16 |
135 |
4 |
| setbell |
|
1 |
4 |
27 |
2 |
| setedit |
|
1 |
5 |
31 |
2 |
| setepsv4 |
|
1 |
5 |
31 |
2 |
| settrace |
|
1 |
4 |
27 |
2 |
| sethash |
|
7 |
31 |
189 |
2 |
| setverbose |
|
1 |
4 |
27 |
2 |
| setport |
|
1 |
4 |
27 |
2 |
| setprogress |
|
1 |
4 |
27 |
2 |
| setprompt |
|
1 |
4 |
27 |
2 |
| setgate |
|
13 |
37 |
224 |
2 |
| setglob |
|
1 |
4 |
27 |
2 |
| setpreserve |
|
1 |
4 |
27 |
2 |
| setdebug |
|
7 |
32 |
184 |
2 |
| lcd |
|
7 |
29 |
181 |
2 |
| deletecmd |
|
4 |
9 |
71 |
2 |
| mdelete |
|
10 |
29 |
186 |
2 |
| renamefile |
|
7 |
13 |
108 |
2 |
| ls |
|
13 |
34 |
256 |
2 |
| mls |
|
16 |
38 |
280 |
2 |
| shell |
|
12 |
51 |
344 |
2 |
| user |
|
12 |
43 |
273 |
2 |
| pwd |
|
3 |
10 |
56 |
2 |
| lpwd |
|
2 |
9 |
52 |
2 |
| makedir |
|
7 |
14 |
102 |
2 |
| removedir |
|
7 |
14 |
102 |
2 |
| quote |
|
3 |
9 |
61 |
2 |
| site |
|
3 |
9 |
61 |
2 |
| quote1 |
|
8 |
21 |
174 |
3 |
| do_chmod |
|
6 |
12 |
99 |
2 |
| do_umask |
|
2 |
7 |
45 |
2 |
| idle |
|
2 |
7 |
45 |
2 |
| rmthelp |
|
2 |
7 |
45 |
2 |
| quit |
|
3 |
10 |
47 |
2 |
| account |
|
3 |
14 |
76 |
2 |
| proxabort |
|
3 |
17 |
62 |
1 |
| doproxy |
|
11 |
56 |
331 |
2 |
| setcase |
|
1 |
4 |
27 |
2 |
| setcr |
|
1 |
4 |
27 |
2 |
| setntrans |
|
3 |
17 |
98 |
2 |
| setnmap |
|
8 |
29 |
176 |
2 |
| setpassive |
|
2 |
5 |
31 |
2 |
| setsunique |
|
1 |
4 |
27 |
2 |
| setrunique |
|
1 |
4 |
27 |
2 |
| cdup |
|
5 |
12 |
63 |
2 |
| restart |
|
4 |
18 |
90 |
2 |
| syst |
|
1 |
4 |
21 |
2 |
| macdef |
|
17 |
55 |
339 |
2 |
| sizecmd |
|
5 |
13 |
102 |
2 |
| modtime |
|
5 |
13 |
105 |
2 |
| rmtstatus |
|
2 |
4 |
32 |
2 |
| newer |
|
1 |
4 |
28 |
2 |
| page |
|
9 |
32 |
225 |
2 |
| Source file: ./usr.bin/ftp/stringlist.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sl_init |
|
3 |
12 |
78 |
1 |
| sl_add |
|
3 |
11 |
80 |
2 |
| sl_free |
|
5 |
13 |
71 |
2 |
| Source file: ./usr.bin/ftp/util.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| setpeer |
|
26 |
88 |
495 |
2 |
| ftp_login |
|
28 |
83 |
571 |
3 |
| another |
|
5 |
22 |
168 |
3 |
| remglob2 |
|
27 |
88 |
568 |
5 |
| remglob |
|
1 |
5 |
39 |
3 |
| confirm |
|
12 |
50 |
213 |
2 |
| globulize |
|
5 |
20 |
127 |
1 |
| remotesize |
|
8 |
26 |
145 |
2 |
| remotemodtime |
|
12 |
53 |
320 |
2 |
| fileindir |
|
7 |
21 |
145 |
2 |
| foregroundproc |
|
3 |
9 |
51 |
1 |
| updateprogressmeter |
|
3 |
7 |
34 |
1 |
| progressmeter |
|
31 |
143 |
1016 |
2 |
| ptransfer |
|
14 |
32 |
288 |
1 |
| list_vertical |
|
9 |
33 |
225 |
1 |
| setttywidth |
|
3 |
10 |
55 |
1 |
| alarmtimer |
|
1 |
10 |
54 |
1 |
| controlediting |
|
7 |
27 |
163 |
1 |
| connect_wait |
|
4 |
17 |
106 |
1 |
| Source file: ./usr.bin/ftp/main.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| process_ssl_options |
|
19 |
56 |
281 |
1 |
| main |
|
80 |
284 |
1446 |
2 |
| intr |
|
1 |
8 |
39 |
1 |
| lostpeer |
|
6 |
30 |
151 |
1 |
| prompt |
|
1 |
4 |
11 |
1 |
| cmdscanner |
|
28 |
76 |
474 |
1 |
| getcmd |
|
9 |
27 |
168 |
1 |
| makeargv |
|
5 |
21 |
102 |
1 |
| slurpstring |
|
23 |
107 |
377 |
1 |
| help |
|
10 |
28 |
185 |
2 |
| usage |
|
1 |
24 |
36 |
1 |
| Source file: ./usr.bin/ftp/complete.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| comparstr |
|
1 |
4 |
34 |
2 |
| complete_ambiguous |
|
11 |
41 |
295 |
3 |
| complete_command |
|
4 |
18 |
117 |
2 |
| complete_local |
|
10 |
42 |
289 |
2 |
| complete_remote |
|
16 |
66 |
420 |
2 |
| complete |
|
22 |
57 |
386 |
2 |
| ftpvis |
|
12 |
22 |
123 |
4 |
| Source file: ./usr.bin/ftp/domacro.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| domacro |
|
27 |
102 |
630 |
2 |
| Source file: ./usr.bin/ftp/ruserpass.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ruserpass |
|
73 |
182 |
1144 |
4 |
| token |
|
24 |
44 |
304 |
1 |
| Source file: ./usr.bin/lndir/lndir.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
18 |
43 |
340 |
2 |
| equivalent |
|
5 |
14 |
116 |
2 |
| addexcept |
|
3 |
12 |
71 |
1 |
| dodir |
|
39 |
114 |
799 |
4 |
| usage |
|
1 |
6 |
20 |
1 |
| Source file: ./usr.bin/unifdef/version.h |
| Source file: ./usr.bin/expand/expand.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
24 |
79 |
408 |
2 |
| getstops |
|
12 |
24 |
148 |
1 |
| usage |
|
1 |
6 |
25 |
1 |
| Source file: ./usr.bin/tmux/cmd-attach-session.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cmd_attach_session |
|
24 |
101 |
663 |
6 |
| cmd_attach_session_exec |
|
1 |
7 |
66 |
2 |
| Source file: ./usr.bin/tmux/options.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| options_cmp |
|
1 |
4 |
28 |
2 |
| options_parent_table_entry |
|
3 |
10 |
65 |
2 |
| options_create |
|
1 |
8 |
44 |
1 |
| options_free |
|
1 |
7 |
40 |
1 |
| options_first |
|
1 |
4 |
22 |
1 |
| options_next |
|
1 |
4 |
24 |
1 |
| options_get_only |
|
1 |
6 |
40 |
2 |
| options_get |
|
3 |
12 |
64 |
2 |
| options_empty |
|
1 |
7 |
42 |
2 |
| options_default |
|
4 |
15 |
122 |
2 |
| options_add |
|
2 |
12 |
82 |
2 |
| options_remove |
|
4 |
14 |
102 |
1 |
| options_name |
|
1 |
4 |
16 |
1 |
| options_table_entry |
|
1 |
4 |
16 |
1 |
| options_array_clear |
|
2 |
5 |
22 |
1 |
| options_array_get |
|
3 |
8 |
48 |
2 |
| options_array_set |
|
8 |
26 |
196 |
4 |
| options_array_size |
|
3 |
8 |
45 |
2 |
| options_array_assign |
|
8 |
22 |
144 |
2 |
| options_isstring |
|
3 |
6 |
35 |
1 |
| options_tostring |
|
20 |
50 |
292 |
3 |
| options_parse |
|
8 |
22 |
159 |
2 |
| options_parse_get |
|
3 |
14 |
83 |
4 |
| options_match |
|
8 |
35 |
198 |
3 |
| options_match_get |
|
3 |
16 |
94 |
5 |
| options_get_string |
|
3 |
10 |
63 |
2 |
| options_get_number |
|
3 |
10 |
63 |
2 |
| options_get_style |
|
3 |
10 |
64 |
2 |
| options_set_string |
|
9 |
28 |
196 |
5 |
| options_set_number |
|
5 |
16 |
105 |
3 |
| options_set_style |
|
9 |
24 |
184 |
4 |
| options_scope_from_flags |
|
10 |
40 |
233 |
5 |
| options_style_update_new |
|
6 |
16 |
137 |
2 |
| options_style_update_old |
|
4 |
15 |
158 |
2 |
| Source file: ./usr.bin/tcpbench/tcpbench.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usage |
|
1 |
11 |
22 |
1 |
| signal_handler |
|
4 |
14 |
56 |
3 |
| saddr_ntop |
|
4 |
18 |
145 |
4 |
| drop_gid |
|
2 |
7 |
36 |
1 |
| set_slice_timer |
|
5 |
15 |
103 |
1 |
| clock_gettime_tv |
|
2 |
8 |
48 |
2 |
| print_tcp_header |
|
4 |
9 |
68 |
1 |
| kget |
|
2 |
5 |
48 |
3 |
| kfind_tcb |
|
31 |
116 |
864 |
1 |
| kupdate_stats |
|
1 |
7 |
71 |
4 |
| check_kvar |
|
3 |
8 |
53 |
1 |
| list_kvars |
|
2 |
7 |
40 |
1 |
| check_prepare_kvars |
|
4 |
14 |
115 |
1 |
| stats_prepare |
|
3 |
10 |
72 |
1 |
| tcp_stats_display |
|
3 |
47 |
370 |
7 |
| tcp_process_slice |
|
5 |
36 |
292 |
3 |
| udp_process_slice |
|
4 |
24 |
206 |
3 |
| udp_server_handle_sc |
|
7 |
19 |
117 |
3 |
| tcp_server_handle_sc |
|
8 |
28 |
201 |
3 |
| tcp_server_accept |
|
17 |
51 |
393 |
3 |
| server_init |
|
28 |
81 |
593 |
2 |
| client_handle_sc |
|
11 |
24 |
157 |
3 |
| client_init |
|
32 |
87 |
648 |
4 |
| map_tos |
|
3 |
43 |
253 |
2 |
| quit |
|
1 |
4 |
19 |
3 |
| main |
|
74 |
242 |
1618 |
2 |
| Source file: ./usr.bin/tmux/alerts.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| alerts_timer |
|
1 |
6 |
39 |
3 |
| alerts_callback |
|
1 |
14 |
92 |
3 |
| alerts_action_applies |
|
4 |
12 |
80 |
2 |
| alerts_check_all |
|
1 |
8 |
38 |
1 |
| alerts_check_session |
|
1 |
6 |
32 |
1 |
| alerts_enabled |
|
7 |
16 |
91 |
2 |
| alerts_reset_all |
|
1 |
6 |
25 |
1 |
| alerts_reset |
|
3 |
13 |
104 |
1 |
| alerts_queue |
|
5 |
20 |
125 |
2 |
| alerts_check_bell |
|
6 |
24 |
150 |
1 |
| alerts_check_activity |
|
7 |
26 |
160 |
1 |
| alerts_check_silence |
|
7 |
26 |
161 |
1 |
| alerts_set_message |
|
7 |
18 |
130 |
3 |
| Source file: ./usr.bin/tmux/cmd-swap-pane.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cmd_swap_pane_exec |
|
16 |
74 |
544 |
2 |
| Source file: ./usr.bin/tmux/cmd-display-message.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cmd_display_message_exec |
|
7 |
31 |
249 |
2 |
| Source file: ./usr.bin/tmux/cmd-list-keys.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cmd_list_keys_exec |
|
13 |
60 |
430 |
2 |
| cmd_list_keys_commands |
|
6 |
36 |
237 |
2 |
| Source file: ./usr.bin/tmux/cmd-choose-tree.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cmd_choose_tree_exec |
|
5 |
18 |
125 |
2 |
| Source file: ./usr.bin/tmux/cmd-split-window.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cmd_split_window_exec |
|
24 |
122 |
914 |
2 |
| Source file: ./usr.bin/unifdef/unifdef.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
50 |
117 |
554 |
2 |
| processinout |
|
12 |
42 |
270 |
2 |
| cleantemp |
|
2 |
5 |
17 |
1 |
| version |
|
5 |
12 |
63 |
1 |
| synopsis |
|
1 |
6 |
16 |
1 |
| usage |
|
1 |
5 |
16 |
1 |
| help |
|
1 |
32 |
45 |
1 |
| Eelif |
|
1 |
1 |
11 |
1 |
| Eelse |
|
1 |
1 |
11 |
1 |
| Eendif |
|
1 |
1 |
11 |
1 |
| Eeof |
|
1 |
1 |
11 |
1 |
| Eioccc |
|
1 |
1 |
11 |
1 |
| print |
|
1 |
1 |
11 |
1 |
| drop |
|
1 |
1 |
11 |
1 |
| Strue |
|
1 |
1 |
19 |
1 |
| Sfalse |
|
1 |
1 |
19 |
1 |
| Selse |
|
1 |
1 |
15 |
1 |
| Pelif |
|
1 |
1 |
19 |
1 |
| Pelse |
|
1 |
1 |
15 |
1 |
| Pendif |
|
1 |
1 |
14 |
1 |
| Dfalse |
|
1 |
1 |
19 |
1 |
| Delif |
|
1 |
1 |
19 |
1 |
| Delse |
|
1 |
1 |
15 |
1 |
| Dendif |
|
1 |
1 |
14 |
1 |
| Fdrop |
|
1 |
1 |
14 |
1 |
| Fpass |
|
1 |
1 |
14 |
1 |
| Ftrue |
|
1 |
1 |
14 |
1 |
| Ffalse |
|
1 |
1 |
14 |
1 |
| Oiffy |
|
2 |
1 |
23 |
1 |
| Oif |
|
2 |
1 |
19 |
1 |
| Oelif |
|
2 |
1 |
19 |
1 |
| Idrop |
|
1 |
1 |
14 |
1 |
| Itrue |
|
1 |
1 |
14 |
1 |
| Ifalse |
|
1 |
1 |
14 |
1 |
| Mpass |
|
1 |
1 |
19 |
1 |
| Mtrue |
|
1 |
1 |
16 |
1 |
| Melif |
|
1 |
1 |
16 |
1 |
| Melse |
|
1 |
1 |
16 |
1 |
| ignoreoff |
|
2 |
6 |
28 |
1 |
| ignoreon |
|
1 |
4 |
13 |
1 |
| keywordedit |
|
1 |
6 |
33 |
1 |
| nest |
|
3 |
9 |
42 |
1 |
| unnest |
|
2 |
6 |
20 |
1 |
| state |
|
1 |
4 |
14 |
1 |
| done |
|
2 |
6 |
19 |
1 |
| flushline |
|
14 |
27 |
149 |
1 |
| hashline |
|
3 |
11 |
54 |
1 |
| closeio |
|
6 |
8 |
52 |
1 |
| process |
|
2 |
15 |
78 |
1 |
| parseline |
|
32 |
83 |
552 |
1 |
| op_strict |
|
4 |
4 |
46 |
4 |
| op_lt |
|
1 |
3 |
34 |
5 |
| op_gt |
|
1 |
3 |
34 |
5 |
| op_le |
|
1 |
3 |
34 |
5 |
| op_ge |
|
1 |
3 |
34 |
5 |
| op_eq |
|
1 |
3 |
34 |
5 |
| op_ne |
|
1 |
3 |
34 |
5 |
| op_or |
|
5 |
5 |
59 |
5 |
| op_and |
|
5 |
5 |
59 |
5 |
| prec |
|
1 |
4 |
17 |
1 |
| eval_unary |
|
23 |
82 |
570 |
3 |
| eval_table |
|
7 |
30 |
250 |
3 |
| ifeval |
|
4 |
10 |
67 |
1 |
| skiphash |
|
6 |
20 |
111 |
1 |
| skipline |
|
4 |
12 |
57 |
1 |
| skipcomment |
|
38 |
106 |
622 |
1 |
| skipargs |
|
7 |
19 |
101 |
1 |
| skipsym |
|
2 |
6 |
26 |
1 |
| getsym |
|
2 |
10 |
60 |
1 |
| matchsym |
|
6 |
12 |
70 |
2 |
| findsym |
|
10 |
26 |
157 |
1 |
| indirectsym |
|
9 |
23 |
133 |
1 |
| addsym1 |
|
5 |
15 |
93 |
3 |
| addsym2 |
|
3 |
15 |
89 |
3 |
| debugsym |
|
3 |
6 |
45 |
2 |
| defundefile |
|
5 |
16 |
79 |
1 |
| defundef |
|
13 |
42 |
288 |
1 |
| astrcat |
|
2 |
7 |
46 |
2 |
| xstrdup |
|
3 |
12 |
84 |
2 |
| debug |
|
2 |
9 |
39 |
2 |
| error |
|
2 |
10 |
56 |
1 |
| mktempmode |
|
2 |
8 |
55 |
2 |
| Source file: ./usr.bin/ftp/fetch.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| unsafe_char |
|
6 |
8 |
81 |
1 |
| url_encode |
|
6 |
21 |
151 |
1 |
| tooslow |
|
1 |
5 |
21 |
1 |
| url_get |
|
219 |
676 |
4258 |
4 |
| aborthttp |
|
1 |
7 |
34 |
1 |
| abortfile |
|
1 |
7 |
34 |
1 |
| auto_fetch |
|
74 |
225 |
1409 |
3 |
| urldecode |
|
8 |
25 |
175 |
1 |
| recode_credentials |
|
3 |
15 |
102 |
1 |
| hextochar |
|
5 |
18 |
98 |
1 |
| isurl |
|
6 |
10 |
92 |
1 |
| ftp_readline |
|
3 |
9 |
56 |
3 |
| ftp_read |
|
6 |
16 |
114 |
4 |
| ftp_printf |
|
4 |
19 |
112 |
4 |
| SSL_vprintf |
|
6 |
21 |
125 |
3 |
| SSL_readline |
|
9 |
29 |
186 |
2 |
| proxy_connect |
|
10 |
34 |
228 |
3 |
| Source file: ./usr.bin/tmux/window-client.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| window_client_add_item |
|
1 |
8 |
63 |
1 |
| window_client_free_item |
|
1 |
5 |
21 |
1 |
| window_client_cmp_name |
|
1 |
6 |
58 |
2 |
| window_client_cmp_size |
|
5 |
14 |
176 |
2 |
| window_client_cmp_creation_time |
|
3 |
10 |
123 |
2 |
| window_client_cmp_activity_time |
|
3 |
10 |
123 |
2 |
| window_client_build |
|
11 |
55 |
371 |
4 |
| window_client_draw |
|
4 |
19 |
193 |
5 |
| window_client_init |
|
5 |
21 |
167 |
3 |
| window_client_free |
|
3 |
14 |
87 |
1 |
| window_client_resize |
|
1 |
5 |
35 |
3 |
| window_client_do_detach |
|
8 |
14 |
112 |
4 |
| window_client_key |
|
10 |
35 |
203 |
5 |
| Source file: ./usr.bin/tmux/control-notify.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| control_notify_input |
|
6 |
24 |
163 |
3 |
| control_notify_pane_mode_changed |
|
2 |
9 |
42 |
1 |
| control_notify_window_layout_changed |
|
6 |
25 |
150 |
1 |
| control_notify_window_pane_changed |
|
2 |
10 |
52 |
1 |
| control_notify_window_unlinked |
|
4 |
14 |
97 |
2 |
| control_notify_window_linked |
|
4 |
14 |
97 |
2 |
| control_notify_window_renamed |
|
4 |
17 |
103 |
1 |
| control_notify_client_session_changed |
|
5 |
19 |
107 |
1 |
| control_notify_session_renamed |
|
2 |
9 |
50 |
1 |
| control_notify_session_created |
|
2 |
9 |
43 |
1 |
| control_notify_session_closed |
|
2 |
9 |
43 |
1 |
| control_notify_session_window_changed |
|
2 |
10 |
54 |
1 |
| Source file: ./usr.bin/tmux/cmd-list-clients.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cmd_list_clients_exec |
|
6 |
30 |
203 |
2 |
| Source file: ./usr.bin/tmux/window-buffer.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| window_buffer_add_item |
|
1 |
8 |
63 |
1 |
| window_buffer_free_item |
|
1 |
5 |
25 |
1 |
| window_buffer_cmp_name |
|
1 |
6 |
54 |
2 |
| window_buffer_cmp_time |
|
3 |
10 |
97 |
2 |
| window_buffer_cmp_size |
|
3 |
10 |
97 |
2 |
| window_buffer_build |
|
10 |
58 |
384 |
4 |
| window_buffer_draw |
|
9 |
34 |
242 |
5 |
| window_buffer_search |
|
3 |
13 |
105 |
3 |
| window_buffer_init |
|
5 |
21 |
167 |
3 |
| window_buffer_free |
|
3 |
14 |
87 |
1 |
| window_buffer_resize |
|
1 |
5 |
35 |
3 |
| window_buffer_do_delete |
|
3 |
11 |
81 |
4 |
| window_buffer_do_paste |
|
2 |
9 |
70 |
4 |
| window_buffer_key |
|
8 |
36 |
211 |
5 |
| Source file: ./usr.bin/tmux/cmd-run-shell.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cmd_run_shell_print |
|
8 |
23 |
150 |
2 |
| cmd_run_shell_exec |
|
8 |
29 |
240 |
2 |
| cmd_run_shell_callback |
|
9 |
34 |
251 |
1 |
| cmd_run_shell_free |
|
1 |
6 |
27 |
1 |
| Source file: ./usr.bin/tmux/cmd-capture-pane.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cmd_capture_pane_append |
|
1 |
7 |
55 |
4 |
| cmd_capture_pane_pending |
|
6 |
27 |
195 |
3 |
| cmd_capture_pane_history |
|
20 |
74 |
569 |
4 |
| cmd_capture_pane_exec |
|
13 |
47 |
320 |
2 |
| Source file: ./usr.bin/ftp/ftp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| hookup |
|
41 |
167 |
1107 |
2 |
| cmdabort |
|
2 |
10 |
50 |
1 |
| command |
|
7 |
37 |
231 |
2 |
| send_noop_char |
|
3 |
11 |
56 |
1 |
| may_reset_noop_timeout |
|
2 |
5 |
19 |
1 |
| may_receive_noop_ack |
|
5 |
19 |
105 |
1 |
| may_send_noop_char |
|
4 |
14 |
58 |
1 |
| getreply |
|
62 |
115 |
745 |
1 |
| abortsend |
|
1 |
10 |
54 |
1 |
| sendrequest |
|
89 |
270 |
1671 |
4 |
| abortrecv |
|
1 |
9 |
42 |
1 |
| recvrequest |
|
129 |
375 |
2255 |
6 |
| initconn |
|
92 |
374 |
2505 |
1 |
| dataconn |
|
5 |
24 |
156 |
1 |
| psummary |
|
2 |
7 |
27 |
1 |
| psabort |
|
1 |
5 |
15 |
1 |
| pswitch |
|
6 |
84 |
525 |
1 |
| abortpt |
|
1 |
10 |
45 |
1 |
| proxtrans |
|
36 |
118 |
666 |
3 |
| reset |
|
4 |
16 |
102 |
2 |
| gunique |
|
12 |
42 |
259 |
1 |
| abortforce |
|
1 |
7 |
41 |
1 |
| abort_remote |
|
15 |
47 |
312 |
1 |
| Source file: ./usr.bin/tmux/log.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| log_event_cb |
|
1 |
4 |
20 |
2 |
| log_add_level |
|
1 |
4 |
9 |
1 |
| log_get_level |
|
1 |
4 |
11 |
1 |
| log_open |
|
3 |
14 |
80 |
1 |
| log_toggle |
|
2 |
12 |
47 |
1 |
| log_close |
|
2 |
7 |
26 |
1 |
| log_vwrite |
|
5 |
18 |
134 |
2 |
| log_debug |
|
1 |
7 |
33 |
2 |
| fatal |
|
2 |
11 |
67 |
2 |
| fatalx |
|
2 |
11 |
62 |
2 |
| Source file: ./usr.bin/tmux/cmd-lock-server.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cmd_lock_server_exec |
|
4 |
16 |
104 |
2 |
| Source file: ./usr.bin/tmux/cmd-new-window.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cmd_new_window_exec |
|
21 |
91 |
687 |
2 |
| Source file: ./usr.bin/tmux/cmd-queue.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cmdq_name |
|
2 |
8 |
44 |
1 |
| cmdq_get |
|
2 |
6 |
29 |
1 |
| cmdq_append |
|
3 |
15 |
87 |
2 |
| cmdq_insert_after |
|
4 |
20 |
125 |
2 |
| cmdq_remove |
|
6 |
15 |
111 |
1 |
| cmdq_next_group |
|
1 |
5 |
16 |
1 |
| cmdq_remove_group |
|
3 |
11 |
62 |
1 |
| cmdq_get_command |
|
5 |
35 |
238 |
4 |
| cmdq_find_flag |
|
3 |
15 |
102 |
3 |
| cmdq_fire_command |
|
10 |
40 |
297 |
1 |
| cmdq_get_callback1 |
|
1 |
14 |
87 |
3 |
| cmdq_fire_callback |
|
1 |
4 |
23 |
1 |
| cmdq_format |
|
2 |
13 |
100 |
4 |
| cmdq_next |
|
11 |
56 |
298 |
1 |
| cmdq_guard |
|
3 |
9 |
72 |
3 |
| cmdq_print |
|
6 |
32 |
222 |
3 |
| cmdq_error |
|
5 |
31 |
216 |
3 |
| Source file: ./usr.bin/tmux/cfg.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cfg_client_done |
|
2 |
6 |
30 |
2 |
| cfg_done |
|
4 |
12 |
69 |
2 |
| set_cfg_file |
|
1 |
5 |
21 |
1 |
| start_cfg |
|
4 |
19 |
125 |
1 |
| cfg_check_condition |
|
3 |
20 |
126 |
4 |
| cfg_handle_if |
|
3 |
14 |
104 |
4 |
| cfg_handle_elif |
|
4 |
11 |
84 |
4 |
| cfg_handle_else |
|
3 |
11 |
71 |
3 |
| cfg_handle_endif |
|
2 |
10 |
60 |
3 |
| cfg_handle_directive |
|
7 |
17 |
158 |
4 |
| load_cfg |
|
16 |
66 |
449 |
4 |
| cfg_add_cause |
|
1 |
11 |
65 |
2 |
| cfg_print_causes |
|
2 |
11 |
60 |
1 |
| cfg_show_causes |
|
4 |
17 |
104 |
1 |
| Source file: ./usr.bin/tmux/cmd-show-environment.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cmd_show_environment_escape |
|
6 |
13 |
97 |
1 |
| cmd_show_environment_print |
|
4 |
19 |
125 |
3 |
| cmd_show_environment_exec |
|
9 |
41 |
259 |
2 |
| Source file: ./usr.bin/tmux/cmd-set-environment.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cmd_set_environment_exec |
|
12 |
52 |
313 |
2 |
| Source file: ./usr.bin/tmux/names.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| name_time_callback |
|
1 |
5 |
32 |
3 |
| name_time_expired |
|
3 |
8 |
59 |
2 |
| check_window_name |
|
9 |
44 |
302 |
1 |
| default_window_name |
|
3 |
11 |
73 |
1 |
| format_window_name |
|
1 |
13 |
86 |
1 |
| parse_window_name |
|
10 |
23 |
175 |
1 |
| Source file: ./usr.bin/tmux/control.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| control_write |
|
1 |
9 |
58 |
3 |
| control_write_buffer |
|
1 |
6 |
39 |
2 |
| control_error |
|
1 |
10 |
65 |
2 |
| control_callback |
|
6 |
30 |
182 |
3 |
| Source file: ./usr.bin/tmux/cmd-list-sessions.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cmd_list_sessions_exec |
|
2 |
23 |
154 |
2 |
| Source file: ./usr.bin/tmux/cmd-set-option.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cmd_set_option_exec |
|
59 |
194 |
1295 |
2 |
| cmd_set_option_set |
|
18 |
70 |
469 |
5 |
| cmd_set_option_flag |
|
9 |
22 |
153 |
4 |
| cmd_set_option_choice |
|
6 |
25 |
152 |
4 |
| Source file: ./usr.bin/tmux/cmd-wait-for.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wait_channel_cmp |
|
1 |
4 |
28 |
2 |
| cmd_wait_for_add |
|
1 |
13 |
84 |
1 |
| cmd_wait_for_remove |
|
4 |
11 |
70 |
1 |
| cmd_wait_for_exec |
|
4 |
15 |
136 |
2 |
| cmd_wait_for_signal |
|
4 |
20 |
137 |
3 |
| cmd_wait_for_wait |
|
5 |
22 |
146 |
3 |
| cmd_wait_for_lock |
|
5 |
19 |
120 |
3 |
| cmd_wait_for_unlock |
|
4 |
18 |
113 |
3 |
| cmd_wait_for_flush |
|
1 |
20 |
132 |
1 |
| Source file: ./usr.bin/tmux/tty-term.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tty_term_ncodes |
|
1 |
4 |
14 |
1 |
| tty_term_strip |
|
9 |
22 |
143 |
1 |
| tty_term_override |
|
19 |
70 |
458 |
2 |
| tty_term_find |
|
35 |
130 |
884 |
3 |
| tty_term_free |
|
4 |
14 |
93 |
1 |
| tty_term_has |
|
1 |
4 |
27 |
2 |
| tty_term_string |
|
3 |
8 |
62 |
2 |
| tty_term_string1 |
|
1 |
4 |
35 |
3 |
| tty_term_string2 |
|
1 |
4 |
40 |
4 |
| tty_term_string3 |
|
1 |
4 |
45 |
5 |
| tty_term_ptr1 |
|
1 |
4 |
37 |
3 |
| tty_term_ptr2 |
|
1 |
5 |
44 |
4 |
| tty_term_number |
|
3 |
8 |
62 |
2 |
| tty_term_flag |
|
3 |
8 |
62 |
2 |
| tty_term_describe |
|
6 |
29 |
193 |
2 |
| Source file: ./usr.bin/tmux/cmd-rename-window.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cmd_rename_window_exec |
|
1 |
9 |
73 |
2 |
| Source file: ./usr.bin/tmux/cmd-kill-window.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cmd_kill_window_exec |
|
6 |
24 |
171 |
2 |
| Source file: ./usr.bin/tmux/cmd-set-buffer.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cmd_set_buffer_exec |
|
14 |
60 |
392 |
2 |
| Source file: ./usr.bin/tmux/xmalloc.h |
| Source file: ./usr.bin/tmux/cmd-kill-pane.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cmd_kill_pane_exec |
|
4 |
25 |
166 |
2 |
| Source file: ./usr.bin/tmux/cmd-string.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cmd_string_getc |
|
2 |
7 |
47 |
2 |
| cmd_string_ungetc |
|
1 |
4 |
14 |
1 |
| cmd_string_split |
|
24 |
85 |
518 |
3 |
| cmd_string_parse |
|
4 |
20 |
126 |
4 |
| cmd_string_copy |
|
1 |
9 |
67 |
3 |
| cmd_string_string |
|
14 |
51 |
242 |
4 |
| cmd_string_variable |
|
14 |
51 |
296 |
2 |
| cmd_string_expand_tilde |
|
16 |
39 |
258 |
2 |
| Source file: ./usr.bin/tmux/server-client.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| server_client_how_many |
|
3 |
11 |
53 |
1 |
| server_client_callback_identify |
|
1 |
5 |
23 |
3 |
| server_client_set_identify |
|
3 |
14 |
106 |
2 |
| server_client_clear_identify |
|
3 |
10 |
64 |
2 |
| server_client_check_nested |
|
4 |
13 |
84 |
1 |
| server_client_set_key_table |
|
2 |
8 |
52 |
2 |
| server_client_get_key_table |
|
3 |
11 |
62 |
1 |
| server_client_is_default_key_table |
|
1 |
4 |
31 |
2 |
| server_client_create |
|
2 |
37 |
299 |
1 |
| server_client_open |
|
5 |
16 |
107 |
2 |
| server_client_lost |
|
8 |
53 |
373 |
1 |
| server_client_unref |
|
2 |
7 |
47 |
1 |
| server_client_free |
|
3 |
11 |
76 |
3 |
| server_client_suspend |
|
3 |
9 |
64 |
1 |
| server_client_detach |
|
3 |
9 |
76 |
2 |
| server_client_exec |
|
3 |
20 |
143 |
2 |
| server_client_check_mouse |
|
134 |
343 |
1934 |
1 |
| server_client_assume_paste |
|
5 |
19 |
135 |
1 |
| server_client_handle_key |
|
44 |
133 |
903 |
2 |
| server_client_loop |
|
4 |
26 |
129 |
1 |
| server_client_resize_force |
|
8 |
23 |
171 |
1 |
| server_client_resize_event |
|
5 |
19 |
154 |
3 |
| server_client_check_resize |
|
6 |
15 |
137 |
1 |
| server_client_check_focus |
|
12 |
30 |
197 |
1 |
| server_client_reset_state |
|
9 |
34 |
265 |
1 |
| server_client_repeat_timer |
|
2 |
9 |
51 |
3 |
| server_client_click_timer |
|
1 |
5 |
33 |
3 |
| server_client_check_exit |
|
5 |
13 |
89 |
1 |
| server_client_redraw_timer |
|
1 |
5 |
22 |
3 |
| server_client_check_redraw |
|
17 |
71 |
539 |
1 |
| server_client_set_title |
|
3 |
18 |
142 |
1 |
| server_client_dispatch |
|
31 |
87 |
452 |
2 |
| server_client_command_done |
|
2 |
7 |
42 |
2 |
| server_client_command_error |
|
1 |
7 |
38 |
2 |
| server_client_dispatch_command |
|
8 |
40 |
291 |
2 |
| server_client_dispatch_identify |
|
32 |
99 |
693 |
2 |
| server_client_dispatch_shell |
|
3 |
9 |
67 |
1 |
| server_client_stdout_cb |
|
2 |
7 |
41 |
3 |
| server_client_push_stdout |
|
5 |
24 |
168 |
1 |
| server_client_stderr_cb |
|
2 |
7 |
41 |
3 |
| server_client_push_stderr |
|
6 |
28 |
187 |
1 |
| server_client_add_message |
|
2 |
24 |
174 |
3 |
| server_client_get_cwd |
|
6 |
9 |
73 |
1 |
| server_client_get_path |
|
3 |
12 |
82 |
2 |
| Source file: ./usr.bin/tmux/window.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| window_cmp |
|
1 |
4 |
25 |
2 |
| winlink_cmp |
|
1 |
4 |
25 |
2 |
| window_pane_cmp |
|
1 |
4 |
25 |
2 |
| winlink_find_by_window |
|
2 |
9 |
47 |
2 |
| winlink_find_by_index |
|
2 |
8 |
46 |
2 |
| winlink_find_by_window_id |
|
2 |
9 |
47 |
2 |
| winlink_next_index |
|
4 |
14 |
65 |
2 |
| winlink_count |
|
1 |
9 |
37 |
1 |
| winlink_add |
|
4 |
13 |
97 |
2 |
| winlink_set_window |
|
2 |
10 |
72 |
2 |
| winlink_remove |
|
2 |
11 |
71 |
2 |
| winlink_next |
|
1 |
4 |
21 |
1 |
| winlink_previous |
|
1 |
4 |
21 |
1 |
| winlink_next_by_number |
|
3 |
8 |
63 |
3 |
| winlink_previous_by_number |
|
3 |
8 |
63 |
3 |
| winlink_stack_push |
|
2 |
7 |
38 |
2 |
| winlink_stack_remove |
|
3 |
12 |
56 |
2 |
| window_find_by_id_str |
|
3 |
11 |
64 |
1 |
| window_find_by_id |
|
1 |
6 |
31 |
1 |
| window_update_activity |
|
1 |
5 |
26 |
1 |
| window_create |
|
1 |
20 |
127 |
2 |
| window_create_spawn |
|
3 |
23 |
192 |
12 |
| window_destroy |
|
5 |
18 |
129 |
1 |
| window_pane_destroy_ready |
|
6 |
13 |
85 |
1 |
| window_add_ref |
|
1 |
5 |
36 |
2 |
| window_remove_ref |
|
2 |
7 |
49 |
2 |
| window_set_name |
|
1 |
6 |
46 |
2 |
| window_resize |
|
1 |
5 |
27 |
3 |
| window_has_pane |
|
2 |
9 |
48 |
2 |
| window_set_active_pane |
|
5 |
21 |
158 |
2 |
| window_redraw_active_switch |
|
9 |
17 |
165 |
2 |
| window_get_active_at |
|
6 |
14 |
93 |
3 |
| window_find_string |
|
9 |
29 |
228 |
2 |
| window_zoom |
|
5 |
22 |
141 |
1 |
| window_unzoom |
|
2 |
17 |
108 |
1 |
| window_add_pane |
|
4 |
19 |
157 |
4 |
| window_lost_pane |
|
7 |
20 |
147 |
2 |
| window_remove_pane |
|
1 |
6 |
38 |
2 |
| window_pane_at_index |
|
2 |
12 |
63 |
2 |
| window_pane_next_by_number |
|
3 |
8 |
59 |
3 |
| window_pane_previous_by_number |
|
3 |
9 |
63 |
3 |
| window_pane_index |
|
2 |
13 |
77 |
2 |
| window_count_panes |
|
1 |
9 |
40 |
1 |
| window_destroy_panes |
|
2 |
9 |
54 |
1 |
| window_printable_flags |
|
9 |
23 |
166 |
1 |
| window_pane_find_by_id_str |
|
3 |
11 |
64 |
1 |
| window_pane_find_by_id |
|
1 |
6 |
31 |
1 |
| window_pane_create |
|
2 |
34 |
262 |
4 |
| window_pane_destroy |
|
5 |
25 |
168 |
1 |
| window_pane_spawn |
|
22 |
102 |
866 |
9 |
| window_pane_read_callback |
|
3 |
16 |
117 |
2 |
| window_pane_error_callback |
|
2 |
9 |
54 |
3 |
| window_pane_resize |
|
4 |
11 |
88 |
3 |
| window_pane_alternate_on |
|
4 |
22 |
175 |
3 |
| window_pane_alternate_off |
|
10 |
30 |
261 |
3 |
| window_pane_set_palette |
|
3 |
9 |
61 |
3 |
| window_pane_unset_palette |
|
3 |
7 |
41 |
2 |
| window_pane_reset_palette |
|
2 |
8 |
38 |
1 |
| window_pane_get_palette |
|
8 |
16 |
113 |
2 |
| window_pane_mode_timer |
|
4 |
13 |
115 |
3 |
| window_pane_set_mode |
|
3 |
18 |
148 |
4 |
| window_pane_reset_mode |
|
2 |
13 |
81 |
1 |
| window_pane_key |
|
14 |
28 |
209 |
5 |
| window_pane_visible |
|
6 |
11 |
90 |
1 |
| window_pane_search |
|
4 |
19 |
133 |
2 |
| window_pane_choose_best |
|
4 |
14 |
82 |
2 |
| window_pane_find_up |
|
16 |
37 |
290 |
1 |
| window_pane_find_down |
|
16 |
37 |
288 |
1 |
| window_pane_find_left |
|
14 |
36 |
257 |
1 |
| window_pane_find_right |
|
14 |
36 |
255 |
1 |
| winlink_clear_flags |
|
2 |
11 |
64 |
1 |
| winlink_shuffle_up |
|
5 |
17 |
125 |
2 |
| Source file: ./usr.bin/tmux/session.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| session_cmp |
|
1 |
4 |
28 |
2 |
| session_group_cmp |
|
1 |
4 |
28 |
2 |
| session_alive |
|
2 |
9 |
41 |
1 |
| session_find |
|
1 |
6 |
37 |
1 |
| session_find_by_id_str |
|
3 |
11 |
64 |
1 |
| session_find_by_id |
|
2 |
9 |
41 |
1 |
| session_create |
|
9 |
56 |
450 |
12 |
| session_add_ref |
|
1 |
5 |
36 |
2 |
| session_remove_ref |
|
2 |
7 |
58 |
2 |
| session_free |
|
2 |
12 |
79 |
3 |
| session_destroy |
|
4 |
21 |
172 |
2 |
| session_check_name |
|
2 |
4 |
29 |
1 |
| session_lock_timer |
|
2 |
10 |
61 |
3 |
| session_update_activity |
|
5 |
23 |
196 |
2 |
| session_next_session |
|
5 |
12 |
77 |
1 |
| session_previous_session |
|
5 |
12 |
77 |
1 |
| session_new |
|
5 |
31 |
242 |
8 |
| session_attach |
|
2 |
13 |
92 |
4 |
| session_detach |
|
5 |
17 |
116 |
2 |
| session_has |
|
2 |
9 |
50 |
2 |
| session_is_linked |
|
2 |
7 |
53 |
2 |
| session_next_alert |
|
3 |
9 |
39 |
1 |
| session_next |
|
5 |
15 |
104 |
2 |
| session_previous_alert |
|
3 |
9 |
39 |
1 |
| session_previous |
|
5 |
15 |
102 |
2 |
| session_select |
|
1 |
6 |
39 |
2 |
| session_last |
|
3 |
10 |
59 |
1 |
| session_set_current |
|
3 |
14 |
91 |
2 |
| session_group_contains |
|
2 |
12 |
59 |
1 |
| session_group_find |
|
1 |
6 |
33 |
1 |
| session_group_new |
|
2 |
11 |
75 |
1 |
| session_group_add |
|
2 |
5 |
35 |
2 |
| session_group_remove |
|
3 |
11 |
68 |
1 |
| session_group_count |
|
1 |
9 |
40 |
1 |
| session_group_synchronize_to |
|
4 |
14 |
72 |
1 |
| session_group_synchronize_from |
|
3 |
11 |
60 |
1 |
| session_group_synchronize1 |
|
10 |
40 |
345 |
2 |
| session_renumber_windows |
|
3 |
30 |
233 |
1 |
| Source file: ./usr.bin/tmux/arguments.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| args_cmp |
|
1 |
4 |
25 |
2 |
| args_find |
|
1 |
6 |
38 |
2 |
| args_parse |
|
5 |
22 |
137 |
3 |
| args_free |
|
1 |
12 |
74 |
1 |
| args_print_add |
|
1 |
13 |
85 |
4 |
| args_print |
|
11 |
48 |
377 |
1 |
| args_has |
|
1 |
4 |
24 |
2 |
| args_set |
|
3 |
14 |
99 |
3 |
| args_get |
|
2 |
7 |
44 |
2 |
| args_strtonum |
|
3 |
18 |
115 |
5 |
| Source file: ./usr.bin/tmux/cmd-command-prompt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cmd_command_prompt_exec |
|
11 |
52 |
416 |
2 |
| cmd_command_prompt_error |
|
1 |
7 |
38 |
2 |
| cmd_command_prompt_callback |
|
11 |
44 |
293 |
4 |
| cmd_command_prompt_free |
|
1 |
8 |
41 |
1 |
| Source file: ./usr.bin/tmux/window-copy.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| window_copy_init |
|
3 |
34 |
251 |
3 |
| window_copy_init_from_pane |
|
3 |
20 |
159 |
2 |
| window_copy_init_for_output |
|
1 |
7 |
56 |
1 |
| window_copy_free |
|
3 |
14 |
92 |
1 |
| window_copy_add |
|
1 |
7 |
40 |
3 |
| window_copy_vadd |
|
4 |
27 |
215 |
3 |
| window_copy_pageup |
|
12 |
35 |
277 |
2 |
| window_copy_pagedown |
|
14 |
38 |
288 |
3 |
| window_copy_previous_paragraph |
|
5 |
11 |
83 |
1 |
| window_copy_next_paragraph |
|
5 |
14 |
122 |
1 |
| window_copy_resize |
|
6 |
25 |
211 |
3 |
| window_copy_key_table |
|
2 |
6 |
34 |
1 |
| window_copy_command |
|
157 |
436 |
2885 |
5 |
| window_copy_scroll_to |
|
5 |
25 |
195 |
3 |
| window_copy_search_compare |
|
5 |
15 |
152 |
6 |
| window_copy_search_lr |
|
6 |
22 |
141 |
7 |
| window_copy_search_rl |
|
6 |
22 |
151 |
7 |
| window_copy_move_left |
|
3 |
10 |
62 |
3 |
| window_copy_move_right |
|
3 |
10 |
70 |
3 |
| window_copy_is_lowercase |
|
3 |
9 |
45 |
1 |
| window_copy_search_jump |
|
10 |
38 |
236 |
9 |
| window_copy_search |
|
4 |
34 |
280 |
2 |
| window_copy_search_marks |
|
9 |
45 |
357 |
2 |
| window_copy_clear_marks |
|
1 |
6 |
31 |
1 |
| window_copy_search_up |
|
1 |
4 |
19 |
1 |
| window_copy_search_down |
|
1 |
4 |
19 |
1 |
| window_copy_goto_line |
|
2 |
12 |
76 |
2 |
| window_copy_write_line |
|
8 |
45 |
358 |
3 |
| window_copy_write_lines |
|
2 |
7 |
47 |
4 |
| window_copy_redraw_selection |
|
2 |
14 |
74 |
2 |
| window_copy_redraw_lines |
|
2 |
11 |
86 |
3 |
| window_copy_redraw_screen |
|
1 |
5 |
33 |
1 |
| window_copy_synchronize_cursor |
|
4 |
19 |
93 |
1 |
| window_copy_update_cursor |
|
3 |
18 |
140 |
3 |
| window_copy_start_selection |
|
1 |
12 |
92 |
1 |
| window_copy_adjust_selection |
|
5 |
27 |
167 |
3 |
| window_copy_update_selection |
|
10 |
41 |
297 |
2 |
| window_copy_get_selection |
|
17 |
69 |
448 |
2 |
| window_copy_copy_buffer |
|
3 |
13 |
91 |
4 |
| window_copy_copy_pipe |
|
2 |
16 |
121 |
4 |
| window_copy_copy_selection |
|
2 |
9 |
50 |
2 |
| window_copy_append_selection |
|
7 |
30 |
201 |
2 |
| window_copy_copy_line |
|
16 |
46 |
362 |
6 |
| window_copy_clear_selection |
|
2 |
11 |
82 |
1 |
| window_copy_in_set |
|
5 |
13 |
119 |
4 |
| window_copy_find_length |
|
5 |
17 |
119 |
2 |
| window_copy_cursor_start_of_line |
|
6 |
19 |
156 |
1 |
| window_copy_cursor_back_to_indentation |
|
5 |
18 |
138 |
1 |
| window_copy_cursor_end_of_line |
|
9 |
26 |
216 |
1 |
| window_copy_other_end |
|
11 |
41 |
293 |
1 |
| window_copy_cursor_left |
|
7 |
22 |
153 |
1 |
| window_copy_cursor_right |
|
9 |
28 |
232 |
1 |
| window_copy_cursor_up |
|
17 |
43 |
349 |
2 |
| window_copy_cursor_down |
|
16 |
35 |
310 |
2 |
| window_copy_cursor_jump |
|
6 |
21 |
160 |
1 |
| window_copy_cursor_jump_back |
|
8 |
24 |
163 |
1 |
| window_copy_cursor_jump_to |
|
6 |
21 |
162 |
1 |
| window_copy_cursor_jump_to_back |
|
9 |
26 |
174 |
1 |
| window_copy_cursor_next_word |
|
7 |
29 |
212 |
2 |
| window_copy_cursor_next_word_end |
|
11 |
36 |
268 |
2 |
| window_copy_cursor_previous_word |
|
10 |
29 |
212 |
2 |
| window_copy_scroll_up |
|
7 |
25 |
222 |
2 |
| window_copy_scroll_down |
|
7 |
24 |
201 |
2 |
| window_copy_add_formats |
|
2 |
9 |
72 |
2 |
| window_copy_rectangle_toggle |
|
2 |
12 |
89 |
1 |
| window_copy_move_mouse |
|
4 |
11 |
75 |
1 |
| window_copy_start_drag |
|
5 |
17 |
114 |
2 |
| window_copy_drag_update |
|
5 |
16 |
116 |
2 |
| Source file: ./usr.bin/tmux/screen-write.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| screen_write_start |
|
6 |
22 |
197 |
3 |
| screen_write_stop |
|
1 |
9 |
54 |
1 |
| screen_write_reset |
|
1 |
10 |
79 |
1 |
| screen_write_putc |
|
1 |
8 |
51 |
3 |
| screen_write_cstrlen |
|
7 |
27 |
163 |
2 |
| screen_write_strlen |
|
9 |
32 |
183 |
2 |
| screen_write_puts |
|
1 |
8 |
51 |
4 |
| screen_write_nputs |
|
1 |
8 |
53 |
5 |
| screen_write_vnputs |
|
15 |
46 |
296 |
5 |
| screen_write_cnputs |
|
17 |
58 |
366 |
5 |
| screen_write_copy |
|
8 |
29 |
229 |
8 |
| screen_write_fast_copy |
|
9 |
27 |
206 |
6 |
| screen_write_hline |
|
4 |
15 |
130 |
4 |
| screen_write_vline |
|
4 |
18 |
156 |
4 |
| screen_write_box |
|
5 |
28 |
257 |
3 |
| screen_write_preview |
|
9 |
44 |
289 |
4 |
| screen_write_initctx |
|
1 |
10 |
74 |
2 |
| screen_write_mode_set |
|
1 |
5 |
27 |
2 |
| screen_write_mode_clear |
|
1 |
5 |
27 |
2 |
| screen_write_cursorup |
|
7 |
18 |
112 |
2 |
| screen_write_cursordown |
|
7 |
18 |
126 |
2 |
| screen_write_cursorright |
|
4 |
11 |
73 |
2 |
| screen_write_cursorleft |
|
4 |
11 |
59 |
2 |
| screen_write_backspace |
|
4 |
15 |
97 |
1 |
| screen_write_alignmenttest |
|
3 |
20 |
160 |
1 |
| screen_write_insertcharacter |
|
5 |
19 |
139 |
3 |
| screen_write_deletecharacter |
|
5 |
19 |
139 |
3 |
| screen_write_clearcharacter |
|
5 |
19 |
141 |
3 |
| screen_write_insertline |
|
10 |
34 |
267 |
3 |
| screen_write_deleteline |
|
10 |
34 |
267 |
3 |
| screen_write_clearline |
|
3 |
16 |
131 |
2 |
| screen_write_clearendofline |
|
5 |
17 |
157 |
2 |
| screen_write_clearstartofline |
|
3 |
16 |
136 |
2 |
| screen_write_cursormove |
|
3 |
10 |
76 |
3 |
| screen_write_reverseindex |
|
3 |
13 |
95 |
2 |
| screen_write_scrollregion |
|
4 |
16 |
103 |
3 |
| screen_write_linefeed |
|
5 |
23 |
173 |
3 |
| screen_write_scrollup |
|
5 |
19 |
137 |
3 |
| screen_write_carriagereturn |
|
1 |
5 |
24 |
1 |
| screen_write_clearendofscreen |
|
5 |
19 |
191 |
2 |
| screen_write_clearstartofscreen |
|
3 |
17 |
153 |
2 |
| screen_write_clearscreen |
|
2 |
14 |
108 |
2 |
| screen_write_clearhistory |
|
1 |
7 |
54 |
1 |
| screen_write_collect_clear |
|
3 |
18 |
132 |
3 |
| screen_write_collect_scroll |
|
2 |
14 |
119 |
1 |
| screen_write_collect_flush |
|
5 |
41 |
328 |
2 |
| screen_write_collect_end |
|
8 |
34 |
325 |
1 |
| screen_write_collect_add |
|
13 |
40 |
296 |
2 |
| screen_write_cell |
|
37 |
112 |
919 |
2 |
| screen_write_combine |
|
7 |
28 |
256 |
3 |
| screen_write_overwrite |
|
9 |
36 |
260 |
3 |
| screen_write_setselection |
|
1 |
8 |
48 |
3 |
| screen_write_rawstring |
|
1 |
8 |
48 |
3 |
| Source file: ./usr.bin/tmux/key-bindings.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| key_table_cmp |
|
1 |
4 |
28 |
2 |
| key_bindings_cmp |
|
3 |
8 |
50 |
2 |
| key_bindings_get_table |
|
3 |
14 |
99 |
2 |
| key_bindings_unref_table |
|
2 |
14 |
85 |
1 |
| key_bindings_add |
|
3 |
20 |
143 |
4 |
| key_bindings_remove |
|
4 |
19 |
125 |
2 |
| key_bindings_remove_table |
|
3 |
14 |
77 |
1 |
| key_bindings_init |
|
3 |
242 |
555 |
1 |
| key_bindings_read_only |
|
1 |
5 |
26 |
2 |
| key_bindings_dispatch |
|
6 |
23 |
155 |
5 |
| Source file: ./usr.bin/tmux/window-tree.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| window_tree_pull_item |
|
7 |
31 |
197 |
4 |
| window_tree_add_item |
|
1 |
8 |
63 |
1 |
| window_tree_free_item |
|
1 |
4 |
14 |
1 |
| window_tree_cmp_session_name |
|
1 |
6 |
54 |
2 |
| window_tree_cmp_session_time |
|
3 |
10 |
111 |
2 |
| window_tree_cmp_window_name |
|
1 |
6 |
58 |
2 |
| window_tree_cmp_window_time |
|
3 |
12 |
123 |
2 |
| window_tree_cmp_pane_time |
|
3 |
10 |
82 |
2 |
| window_tree_build_pane |
|
1 |
19 |
157 |
5 |
| window_tree_filter_pane |
|
2 |
12 |
76 |
4 |
| window_tree_build_window |
|
11 |
61 |
412 |
6 |
| window_tree_build_session |
|
8 |
52 |
328 |
4 |
| window_tree_build |
|
16 |
55 |
369 |
4 |
| window_tree_draw_label |
|
7 |
17 |
157 |
7 |
| window_tree_draw_session |
|
28 |
116 |
861 |
5 |
| window_tree_draw_window |
|
28 |
114 |
841 |
6 |
| window_tree_draw |
|
6 |
24 |
139 |
5 |
| window_tree_search |
|
13 |
29 |
202 |
3 |
| window_tree_init |
|
7 |
32 |
249 |
3 |
| window_tree_destroy |
|
3 |
13 |
81 |
1 |
| window_tree_free |
|
2 |
8 |
37 |
1 |
| window_tree_resize |
|
1 |
5 |
35 |
3 |
| window_tree_get_target |
|
12 |
34 |
193 |
2 |
| window_tree_command_each |
|
2 |
12 |
78 |
4 |
| window_tree_command_done |
|
2 |
11 |
62 |
2 |
| window_tree_command_callback |
|
3 |
14 |
93 |
4 |
| window_tree_command_free |
|
1 |
5 |
20 |
1 |
| window_tree_mouse |
|
19 |
55 |
354 |
4 |
| window_tree_key |
|
10 |
51 |
313 |
5 |
| Source file: ./usr.bin/tmux/cmd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cmd_pack_argv |
|
4 |
16 |
102 |
4 |
| cmd_unpack_argv |
|
4 |
20 |
129 |
4 |
| cmd_copy_argv |
|
4 |
13 |
84 |
2 |
| cmd_free_argv |
|
3 |
9 |
48 |
2 |
| cmd_stringify_argv |
|
4 |
20 |
117 |
2 |
| cmd_try_alias |
|
14 |
39 |
359 |
2 |
| cmd_parse |
|
27 |
80 |
571 |
5 |
| cmd_print |
|
2 |
11 |
70 |
1 |
| cmd_mouse_at |
|
12 |
25 |
187 |
5 |
| cmd_mouse_window |
|
7 |
14 |
114 |
2 |
| cmd_mouse_pane |
|
5 |
15 |
102 |
3 |
| cmd_template_replace |
|
15 |
44 |
299 |
3 |
| Source file: ./usr.bin/tmux/screen.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| screen_free_titles |
|
3 |
13 |
77 |
1 |
| screen_init |
|
1 |
10 |
72 |
4 |
| screen_reinit |
|
1 |
12 |
82 |
1 |
| screen_free |
|
1 |
8 |
42 |
1 |
| screen_reset_tabs |
|
3 |
9 |
68 |
1 |
| screen_set_cursor_style |
|
2 |
5 |
24 |
2 |
| screen_set_cursor_colour |
|
1 |
5 |
30 |
2 |
| screen_set_title |
|
1 |
5 |
39 |
2 |
| screen_push_title |
|
2 |
11 |
75 |
1 |
| screen_pop_title |
|
3 |
13 |
73 |
1 |
| screen_resize |
|
6 |
16 |
93 |
4 |
| screen_resize_x |
|
3 |
9 |
54 |
2 |
| screen_resize_y |
|
14 |
49 |
336 |
2 |
| screen_set_selection |
|
1 |
11 |
96 |
7 |
| screen_clear_selection |
|
1 |
7 |
37 |
1 |
| screen_hide_selection |
|
1 |
5 |
25 |
1 |
| screen_check_selection |
|
39 |
65 |
464 |
3 |
| screen_select_cell |
|
3 |
11 |
94 |
3 |
| screen_reflow |
|
1 |
4 |
26 |
2 |
| Source file: ./usr.bin/tmux/tty-acs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tty_acs_cmp |
|
1 |
7 |
43 |
2 |
| tty_acs_needed |
|
5 |
11 |
65 |
1 |
| tty_acs_get |
|
4 |
14 |
104 |
2 |
| Source file: ./usr.bin/tmux/cmd-select-pane.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cmd_select_pane_exec |
|
31 |
111 |
807 |
2 |
| Source file: ./usr.bin/tmux/cmd-list.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cmd_list_parse |
|
10 |
46 |
321 |
5 |
| cmd_list_free |
|
2 |
13 |
79 |
1 |
| cmd_list_print |
|
2 |
18 |
114 |
1 |
| Source file: ./usr.bin/tmux/cmd-join-pane.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cmd_join_pane_exec |
|
15 |
86 |
565 |
2 |
| Source file: ./usr.bin/tmux/cmd-display-panes.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cmd_display_panes_exec |
|
6 |
29 |
202 |
2 |
| cmd_display_panes_error |
|
1 |
7 |
38 |
2 |
| cmd_display_panes_callback |
|
5 |
30 |
184 |
2 |
| Source file: ./usr.bin/tmux/grid.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| grid_store_cell |
|
3 |
13 |
96 |
3 |
| grid_need_extended_cell |
|
7 |
13 |
93 |
2 |
| grid_compact_line |
|
7 |
34 |
220 |
1 |
| grid_extended_cell |
|
3 |
17 |
126 |
3 |
| grid_clear_cell |
|
3 |
15 |
110 |
4 |
| grid_check_y |
|
2 |
8 |
44 |
2 |
| grid_cells_equal |
|
7 |
12 |
126 |
2 |
| grid_free_line |
|
1 |
7 |
58 |
2 |
| grid_free_lines |
|
2 |
6 |
40 |
3 |
| grid_create |
|
1 |
13 |
85 |
3 |
| grid_destroy |
|
1 |
6 |
36 |
1 |
| grid_compare |
|
7 |
21 |
171 |
2 |
| grid_collect_history |
|
6 |
17 |
134 |
1 |
| grid_scroll_history |
|
1 |
11 |
78 |
2 |
| grid_clear_history |
|
1 |
10 |
86 |
1 |
| grid_scroll_history_region |
|
1 |
18 |
154 |
4 |
| grid_expand_line |
|
5 |
18 |
141 |
4 |
| grid_empty_line |
|
2 |
6 |
55 |
3 |
| grid_peek_line |
|
2 |
6 |
39 |
2 |
| grid_get_cell1 |
|
5 |
20 |
170 |
3 |
| grid_get_cell |
|
3 |
8 |
76 |
4 |
| grid_set_cell |
|
4 |
16 |
130 |
4 |
| grid_set_cells |
|
5 |
22 |
176 |
6 |
| grid_clear |
|
15 |
27 |
239 |
6 |
| grid_clear_lines |
|
5 |
14 |
92 |
4 |
| grid_move_lines |
|
13 |
25 |
201 |
5 |
| grid_move_cells |
|
8 |
22 |
180 |
6 |
| grid_string_cells_fg |
|
20 |
45 |
236 |
2 |
| grid_string_cells_bg |
|
20 |
45 |
238 |
2 |
| grid_string_cells_code |
|
31 |
96 |
742 |
5 |
| grid_string_cells |
|
16 |
55 |
370 |
8 |
| grid_duplicate_lines |
|
6 |
32 |
262 |
5 |
| grid_reflow_join |
|
23 |
71 |
549 |
5 |
| grid_reflow_split |
|
12 |
54 |
452 |
5 |
| grid_reflow |
|
14 |
53 |
380 |
3 |
| Source file: ./usr.bin/tmux/style.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| style_parse |
|
20 |
65 |
464 |
3 |
| style_tostring |
|
8 |
22 |
166 |
1 |
| style_apply |
|
1 |
9 |
70 |
3 |
| style_apply_update |
|
4 |
11 |
82 |
3 |
| style_equal |
|
4 |
9 |
67 |
2 |
| Source file: ./usr.bin/tmux/xterm-keys.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| xterm_keys_match |
|
8 |
26 |
144 |
5 |
| xterm_keys_modifiers |
|
10 |
23 |
171 |
4 |
| xterm_keys_find |
|
4 |
18 |
118 |
4 |
| xterm_keys_lookup |
|
9 |
29 |
169 |
1 |
| Source file: ./usr.bin/tmux/cmd-if-shell.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cmd_if_shell_exec |
|
16 |
67 |
513 |
2 |
| cmd_if_shell_callback |
|
10 |
34 |
228 |
1 |
| cmd_if_shell_free |
|
2 |
10 |
56 |
1 |
| Source file: ./usr.bin/tmux/layout-set.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| layout_set_lookup |
|
4 |
13 |
81 |
1 |
| layout_set_select |
|
3 |
9 |
64 |
2 |
| layout_set_next |
|
4 |
15 |
83 |
1 |
| layout_set_previous |
|
4 |
17 |
90 |
1 |
| layout_set_even |
|
2 |
25 |
182 |
2 |
| layout_set_even_h |
|
1 |
4 |
16 |
1 |
| layout_set_even_v |
|
1 |
4 |
16 |
1 |
| layout_set_main_h |
|
16 |
82 |
712 |
1 |
| layout_set_main_v |
|
16 |
82 |
712 |
1 |
| layout_set_tiled |
|
15 |
69 |
538 |
1 |
| Source file: ./usr.bin/tmux/window-clock.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| window_clock_timer_callback |
|
2 |
18 |
128 |
3 |
| window_clock_init |
|
1 |
16 |
133 |
3 |
| window_clock_free |
|
1 |
7 |
39 |
1 |
| window_clock_resize |
|
1 |
7 |
50 |
3 |
| window_clock_key |
|
1 |
6 |
36 |
5 |
| window_clock_draw_screen |
|
17 |
69 |
547 |
1 |
| Source file: ./usr.bin/tmux/cmd-rotate-window.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cmd_rotate_window_exec |
|
10 |
64 |
584 |
2 |
| Source file: ./usr.bin/tmux/cmd-list-windows.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cmd_list_windows_exec |
|
2 |
9 |
60 |
2 |
| cmd_list_windows_server |
|
1 |
6 |
39 |
2 |
| cmd_list_windows_session |
|
4 |
32 |
181 |
4 |
| Source file: ./usr.bin/tmux/layout.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| layout_create_cell |
|
1 |
14 |
78 |
1 |
| layout_free_cell |
|
6 |
19 |
96 |
1 |
| layout_print_cell |
|
4 |
16 |
106 |
3 |
| layout_set_size |
|
1 |
8 |
45 |
5 |
| layout_make_leaf |
|
1 |
7 |
40 |
2 |
| layout_make_node |
|
3 |
10 |
60 |
2 |
| layout_fix_offsets |
|
4 |
24 |
140 |
1 |
| layout_need_status |
|
5 |
16 |
106 |
2 |
| layout_fix_panes |
|
12 |
38 |
242 |
3 |
| layout_count_cells |
|
4 |
17 |
73 |
1 |
| layout_resize_check |
|
6 |
34 |
183 |
3 |
| layout_resize_adjust |
|
8 |
31 |
170 |
4 |
| layout_destroy_cell |
|
6 |
32 |
238 |
3 |
| layout_init |
|
1 |
8 |
67 |
2 |
| layout_free |
|
1 |
4 |
16 |
1 |
| layout_resize |
|
11 |
31 |
209 |
3 |
| layout_resize_pane_to |
|
6 |
23 |
130 |
3 |
| layout_resize_pane |
|
8 |
33 |
214 |
4 |
| layout_resize_pane_grow |
|
9 |
30 |
197 |
5 |
| layout_resize_pane_shrink |
|
6 |
23 |
150 |
4 |
| layout_assign_pane |
|
1 |
5 |
40 |
2 |
| layout_new_pane_size |
|
7 |
24 |
177 |
7 |
| layout_set_size_check |
|
8 |
37 |
232 |
4 |
| layout_resize_child_cells |
|
8 |
42 |
281 |
2 |
| layout_split_pane |
|
34 |
113 |
784 |
5 |
| layout_close_pane |
|
2 |
10 |
69 |
1 |
| layout_spread_cell |
|
8 |
34 |
235 |
2 |
| layout_spread_out |
|
4 |
15 |
86 |
1 |
| Source file: ./usr.bin/tmux/cmd-rename-session.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cmd_rename_session_exec |
|
4 |
24 |
168 |
2 |
| Source file: ./usr.bin/tmux/cmd-select-layout.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cmd_select_layout_exec |
|
14 |
63 |
359 |
2 |
| Source file: ./usr.bin/tmux/cmd-list-panes.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cmd_list_panes_exec |
|
3 |
13 |
101 |
2 |
| cmd_list_panes_server |
|
1 |
6 |
39 |
2 |
| cmd_list_panes_session |
|
1 |
7 |
51 |
4 |
| cmd_list_panes_window |
|
5 |
47 |
209 |
5 |
| Source file: ./usr.bin/tmux/cmd-list-buffers.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cmd_list_buffers_exec |
|
3 |
20 |
135 |
2 |
| Source file: ./usr.bin/tmux/cmd-resize-pane.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cmd_resize_pane_exec |
|
17 |
72 |
516 |
2 |
| cmd_resize_pane_mouse_update |
|
29 |
51 |
408 |
2 |
| Source file: ./usr.bin/tmux/cmd-paste-buffer.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cmd_paste_buffer_exec |
|
17 |
50 |
360 |
2 |
| Source file: ./usr.bin/tmux/cmd-source-file.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cmd_source_file_exec |
|
8 |
40 |
275 |
2 |
| cmd_source_file_done |
|
1 |
5 |
24 |
2 |
| Source file: ./usr.bin/tmux/paste.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| paste_cmp_names |
|
1 |
4 |
30 |
2 |
| paste_cmp_times |
|
3 |
8 |
52 |
2 |
| paste_buffer_name |
|
1 |
4 |
16 |
1 |
| paste_buffer_order |
|
1 |
4 |
16 |
1 |
| paste_buffer_created |
|
1 |
4 |
16 |
1 |
| paste_buffer_data |
|
2 |
6 |
33 |
2 |
| paste_walk |
|
2 |
6 |
39 |
1 |
| paste_get_top |
|
3 |
10 |
53 |
1 |
| paste_get_name |
|
3 |
8 |
53 |
1 |
| paste_free |
|
2 |
10 |
57 |
1 |
| paste_add |
|
5 |
31 |
187 |
2 |
| paste_rename |
|
13 |
36 |
231 |
3 |
| paste_set |
|
7 |
31 |
201 |
4 |
| paste_make_sample |
|
4 |
15 |
106 |
1 |
| Source file: ./usr.bin/tmux/xmalloc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| xmalloc |
|
3 |
11 |
50 |
1 |
| xcalloc |
|
4 |
11 |
61 |
2 |
| xrealloc |
|
1 |
4 |
21 |
2 |
| xreallocarray |
|
4 |
11 |
67 |
3 |
| xstrdup |
|
2 |
7 |
39 |
1 |
| xstrndup |
|
2 |
7 |
44 |
2 |
| xasprintf |
|
1 |
9 |
47 |
3 |
| xvasprintf |
|
3 |
8 |
54 |
3 |
| xsnprintf |
|
1 |
9 |
52 |
4 |
| xvsnprintf |
|
4 |
10 |
67 |
4 |
| Source file: ./usr.bin/tmux/layout-custom.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| layout_find_bottomright |
|
2 |
7 |
42 |
1 |
| layout_checksum |
|
2 |
10 |
59 |
1 |
| layout_dump |
|
2 |
9 |
62 |
1 |
| layout_append |
|
11 |
38 |
279 |
3 |
| layout_parse |
|
8 |
43 |
291 |
2 |
| layout_assign |
|
4 |
15 |
77 |
2 |
| layout_construct |
|
25 |
79 |
448 |
2 |
| Source file: ./usr.bin/tmux/client.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| client_get_lock |
|
6 |
20 |
131 |
1 |
| client_connect |
|
16 |
59 |
374 |
3 |
| client_exit_message |
|
11 |
33 |
137 |
1 |
| client_main |
|
28 |
125 |
855 |
4 |
| client_send_identify |
|
5 |
27 |
245 |
2 |
| client_stdin_callback |
|
5 |
11 |
89 |
3 |
| client_write |
|
5 |
14 |
68 |
3 |
| client_exec |
|
4 |
23 |
163 |
2 |
| client_signal |
|
9 |
36 |
200 |
1 |
| client_dispatch |
|
3 |
13 |
52 |
2 |
| client_dispatch_wait |
|
24 |
74 |
389 |
1 |
| client_dispatch_attached |
|
23 |
66 |
421 |
1 |
| Source file: ./usr.bin/tmux/cmd-copy-mode.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cmd_copy_mode_exec |
|
13 |
33 |
263 |
2 |
| Source file: ./usr.bin/tmux/cmd-swap-window.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cmd_swap_window_exec |
|
9 |
41 |
286 |
2 |
| Source file: ./usr.bin/tmux/cmd-confirm-before.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cmd_confirm_before_exec |
|
3 |
25 |
195 |
2 |
| cmd_confirm_before_error |
|
1 |
7 |
38 |
2 |
| cmd_confirm_before_callback |
|
9 |
28 |
184 |
4 |
| cmd_confirm_before_free |
|
1 |
6 |
27 |
1 |
| Source file: ./usr.bin/tmux/cmd-show-messages.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cmd_show_messages_terminals |
|
3 |
18 |
116 |
2 |
| cmd_show_messages_jobs |
|
2 |
16 |
92 |
2 |
| cmd_show_messages_exec |
|
5 |
27 |
181 |
2 |
| Source file: ./usr.bin/tmux/cmd-load-buffer.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cmd_load_buffer_exec |
|
12 |
67 |
432 |
2 |
| cmd_load_buffer_callback |
|
7 |
33 |
220 |
3 |
| Source file: ./usr.bin/tmux/cmd-refresh-client.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cmd_refresh_client_exec |
|
11 |
38 |
257 |
2 |
| Source file: ./usr.bin/tmux/cmd-kill-session.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cmd_kill_session_exec |
|
4 |
25 |
155 |
2 |
| Source file: ./usr.bin/tmux/status.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| status_prompt_find_history_file |
|
6 |
16 |
111 |
1 |
| status_prompt_load_history |
|
7 |
33 |
188 |
1 |
| status_prompt_save_history |
|
4 |
21 |
116 |
1 |
| status_timer_callback |
|
5 |
16 |
124 |
3 |
| status_timer_start |
|
4 |
10 |
74 |
1 |
| status_timer_start_all |
|
1 |
6 |
25 |
1 |
| status_update_saved |
|
3 |
9 |
55 |
1 |
| status_at_line |
|
3 |
9 |
61 |
1 |
| status_line_size |
|
2 |
6 |
28 |
1 |
| status_redraw_get_left |
|
2 |
16 |
115 |
4 |
| status_redraw_get_right |
|
2 |
16 |
115 |
4 |
| status_get_window_at |
|
2 |
18 |
112 |
2 |
| status_redraw |
|
37 |
158 |
1153 |
1 |
| status_replace |
|
4 |
20 |
140 |
4 |
| status_print |
|
5 |
22 |
175 |
4 |
| status_message_set |
|
4 |
27 |
225 |
3 |
| status_message_clear |
|
3 |
11 |
66 |
1 |
| status_message_callback |
|
1 |
5 |
28 |
3 |
| status_message_redraw |
|
7 |
34 |
297 |
1 |
| status_prompt_set |
|
7 |
42 |
332 |
7 |
| status_prompt_clear |
|
4 |
14 |
94 |
1 |
| status_prompt_update |
|
1 |
19 |
144 |
3 |
| status_prompt_redraw |
|
19 |
79 |
651 |
1 |
| status_prompt_in_list |
|
3 |
6 |
49 |
2 |
| status_prompt_space |
|
3 |
6 |
39 |
1 |
| status_prompt_translate_key |
|
59 |
113 |
449 |
3 |
| status_prompt_key |
|
100 |
326 |
2145 |
2 |
| status_prompt_up_history |
|
3 |
7 |
41 |
1 |
| status_prompt_down_history |
|
4 |
9 |
53 |
1 |
| status_prompt_add_history |
|
4 |
17 |
119 |
1 |
| status_prompt_complete_list |
|
7 |
30 |
272 |
2 |
| status_prompt_complete_prefix |
|
5 |
17 |
118 |
2 |
| status_prompt_complete |
|
21 |
106 |
767 |
2 |
| Source file: ./usr.bin/tmux/environ.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| environ_cmp |
|
1 |
4 |
28 |
2 |
| environ_create |
|
1 |
7 |
32 |
1 |
| environ_free |
|
1 |
11 |
62 |
1 |
| environ_first |
|
1 |
4 |
19 |
1 |
| environ_next |
|
1 |
4 |
21 |
1 |
| environ_copy |
|
2 |
10 |
62 |
2 |
| environ_find |
|
1 |
6 |
41 |
2 |
| environ_set |
|
2 |
16 |
119 |
4 |
| environ_clear |
|
2 |
13 |
85 |
2 |
| environ_put |
|
2 |
12 |
76 |
2 |
| environ_unset |
|
2 |
10 |
64 |
2 |
| environ_update |
|
6 |
19 |
137 |
3 |
| environ_push |
|
3 |
9 |
63 |
1 |
| environ_log |
|
3 |
16 |
97 |
3 |
| environ_for_session |
|
4 |
20 |
123 |
2 |
| Source file: ./usr.bin/tmux/cmd-bind-key.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cmd_bind_key_exec |
|
6 |
28 |
192 |
2 |
| Source file: ./usr.bin/tmux/tty.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tty_create_log |
|
3 |
8 |
68 |
1 |
| tty_init |
|
4 |
18 |
126 |
4 |
| tty_resize |
|
4 |
20 |
118 |
1 |
| tty_set_size |
|
1 |
5 |
27 |
3 |
| tty_read_callback |
|
4 |
16 |
112 |
3 |
| tty_timer_callback |
|
2 |
16 |
113 |
3 |
| tty_block_maybe |
|
3 |
17 |
120 |
1 |
| tty_write_callback |
|
6 |
22 |
158 |
3 |
| tty_open |
|
2 |
19 |
152 |
2 |
| tty_start_tty |
|
8 |
43 |
348 |
1 |
| tty_stop_tty |
|
13 |
43 |
382 |
1 |
| tty_close |
|
4 |
19 |
115 |
1 |
| tty_free |
|
1 |
6 |
28 |
1 |
| tty_set_type |
|
2 |
6 |
32 |
2 |
| tty_raw |
|
6 |
17 |
100 |
2 |
| tty_putcode |
|
1 |
4 |
27 |
2 |
| tty_putcode1 |
|
2 |
6 |
40 |
3 |
| tty_putcode2 |
|
3 |
6 |
49 |
4 |
| tty_putcode3 |
|
4 |
6 |
58 |
5 |
| tty_putcode_ptr1 |
|
2 |
5 |
40 |
3 |
| tty_putcode_ptr2 |
|
3 |
6 |
51 |
4 |
| tty_add |
|
4 |
15 |
111 |
3 |
| tty_puts |
|
2 |
5 |
33 |
2 |
| tty_putc |
|
8 |
22 |
154 |
2 |
| tty_putn |
|
3 |
12 |
92 |
4 |
| tty_set_italics |
|
4 |
12 |
76 |
1 |
| tty_set_title |
|
3 |
9 |
59 |
2 |
| tty_force_cursor_colour |
|
2 |
9 |
54 |
2 |
| tty_update_mode |
|
23 |
58 |
364 |
3 |
| tty_emulate_repeat |
|
3 |
10 |
57 |
4 |
| tty_repeat_space |
|
4 |
12 |
80 |
2 |
| tty_large_region |
|
1 |
5 |
45 |
2 |
| tty_fake_bce |
|
5 |
12 |
87 |
3 |
| tty_redraw_region |
|
6 |
17 |
147 |
2 |
| tty_clear_line |
|
8 |
26 |
189 |
6 |
| tty_clear_area |
|
21 |
47 |
349 |
7 |
| tty_draw_pane |
|
1 |
5 |
41 |
5 |
| tty_draw_line |
|
47 |
118 |
955 |
6 |
| tty_client_ready |
|
6 |
12 |
91 |
2 |
| tty_write |
|
6 |
19 |
138 |
2 |
| tty_cmd_insertcharacter |
|
5 |
14 |
129 |
2 |
| tty_cmd_deletecharacter |
|
5 |
14 |
129 |
2 |
| tty_cmd_clearcharacter |
|
3 |
10 |
87 |
2 |
| tty_cmd_insertline |
|
5 |
16 |
140 |
2 |
| tty_cmd_deleteline |
|
5 |
16 |
140 |
2 |
| tty_cmd_clearline |
|
1 |
8 |
76 |
2 |
| tty_cmd_clearendofline |
|
1 |
8 |
84 |
2 |
| tty_cmd_clearstartofline |
|
1 |
7 |
69 |
2 |
| tty_cmd_reverseindex |
|
6 |
18 |
139 |
2 |
| tty_cmd_linefeed |
|
7 |
20 |
171 |
2 |
| tty_cmd_scrollup |
|
8 |
20 |
175 |
2 |
| tty_cmd_clearendofscreen |
|
1 |
17 |
178 |
2 |
| tty_cmd_clearstartofscreen |
|
1 |
17 |
156 |
2 |
| tty_cmd_clearscreen |
|
1 |
13 |
116 |
2 |
| tty_cmd_alignmenttest |
|
3 |
14 |
121 |
2 |
| tty_cmd_cell |
|
4 |
11 |
99 |
2 |
| tty_cmd_cells |
|
1 |
6 |
60 |
2 |
| tty_cmd_setselection |
|
2 |
12 |
92 |
2 |
| tty_cmd_rawstring |
|
1 |
5 |
33 |
2 |
| tty_cell |
|
10 |
24 |
187 |
3 |
| tty_reset |
|
4 |
12 |
96 |
1 |
| tty_invalidate |
|
2 |
18 |
136 |
1 |
| tty_region_off |
|
1 |
4 |
22 |
1 |
| tty_region_pane |
|
1 |
5 |
38 |
4 |
| tty_region |
|
5 |
13 |
103 |
3 |
| tty_margin_off |
|
1 |
4 |
22 |
1 |
| tty_margin_pane |
|
1 |
4 |
36 |
2 |
| tty_margin |
|
6 |
17 |
134 |
3 |
| tty_cursor_pane_unless_wrap |
|
8 |
14 |
109 |
4 |
| tty_cursor_pane |
|
1 |
4 |
38 |
4 |
| tty_cursor |
|
46 |
85 |
619 |
3 |
| tty_attributes |
|
28 |
56 |
437 |
3 |
| tty_colours |
|
19 |
32 |
245 |
2 |
| tty_check_fg |
|
15 |
43 |
280 |
3 |
| tty_check_bg |
|
13 |
35 |
238 |
3 |
| tty_colours_fg |
|
6 |
19 |
128 |
2 |
| tty_colours_bg |
|
6 |
19 |
130 |
2 |
| tty_try_colour |
|
11 |
41 |
288 |
3 |
| tty_default_colours |
|
12 |
40 |
312 |
2 |
| tty_default_attributes |
|
1 |
7 |
51 |
3 |
| Source file: ./usr.bin/tmux/tty-keys.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tty_keys_add |
|
2 |
14 |
105 |
3 |
| tty_keys_add1 |
|
6 |
24 |
145 |
3 |
| tty_keys_build |
|
10 |
31 |
234 |
1 |
| tty_keys_free |
|
1 |
4 |
16 |
1 |
| tty_keys_free1 |
|
4 |
10 |
59 |
1 |
| tty_keys_find |
|
1 |
5 |
42 |
4 |
| tty_keys_find1 |
|
8 |
18 |
134 |
4 |
| tty_keys_next1 |
|
15 |
49 |
360 |
6 |
| tty_keys_next |
|
27 |
107 |
676 |
1 |
| tty_keys_callback |
|
3 |
8 |
41 |
3 |
| tty_keys_mouse |
|
35 |
98 |
643 |
4 |
| tty_keys_device_attributes |
|
21 |
63 |
391 |
4 |
| Source file: ./usr.bin/tmux/cmd-respawn-window.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cmd_respawn_window_exec |
|
8 |
56 |
437 |
2 |
| Source file: ./usr.bin/tmux/server-fn.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| server_redraw_client |
|
1 |
4 |
15 |
1 |
| server_status_client |
|
1 |
4 |
15 |
1 |
| server_redraw_session |
|
2 |
8 |
38 |
1 |
| server_redraw_session_group |
|
2 |
10 |
51 |
1 |
| server_status_session |
|
2 |
8 |
38 |
1 |
| server_status_session_group |
|
2 |
10 |
51 |
1 |
| server_redraw_window |
|
3 |
8 |
48 |
1 |
| server_redraw_window_borders |
|
3 |
8 |
49 |
1 |
| server_status_window |
|
2 |
8 |
39 |
1 |
| server_lock |
|
2 |
8 |
35 |
1 |
| server_lock_session |
|
2 |
8 |
38 |
1 |
| server_lock_client |
|
5 |
17 |
159 |
1 |
| server_kill_window |
|
7 |
29 |
179 |
1 |
| server_link_window |
|
13 |
42 |
284 |
7 |
| server_unlink_window |
|
2 |
7 |
34 |
2 |
| server_destroy_pane |
|
10 |
52 |
335 |
2 |
| server_destroy_session_group |
|
2 |
13 |
67 |
1 |
| server_next_session |
|
4 |
13 |
70 |
1 |
| server_destroy_session |
|
4 |
28 |
149 |
1 |
| server_check_unattached |
|
3 |
10 |
53 |
1 |
| server_set_stdin_callback |
|
6 |
23 |
166 |
4 |
| server_unzoom_window |
|
2 |
7 |
30 |
1 |
| Source file: ./usr.bin/tmux/attributes.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| attributes_tostring |
|
11 |
19 |
140 |
1 |
| attributes_fromstring |
|
25 |
37 |
338 |
1 |
| Source file: ./usr.bin/tmux/key-string.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| key_string_search_table |
|
5 |
11 |
88 |
1 |
| key_string_get_modifiers |
|
9 |
26 |
112 |
1 |
| key_string_lookup_string |
|
29 |
62 |
428 |
1 |
| key_string_lookup_key |
|
32 |
76 |
541 |
1 |
| Source file: ./usr.bin/tmux/cmd-detach-client.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cmd_detach_client_exec |
|
13 |
48 |
283 |
2 |
| Source file: ./usr.bin/tmux/cmd-save-buffer.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cmd_save_buffer_exec |
|
15 |
83 |
536 |
2 |
| Source file: ./usr.bin/tmux/tmux.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usage |
|
1 |
8 |
23 |
1 |
| getshell |
|
4 |
12 |
69 |
1 |
| checkshell |
|
5 |
10 |
58 |
1 |
| areshell |
|
4 |
14 |
77 |
1 |
| make_label |
|
11 |
36 |
241 |
1 |
| setblocking |
|
3 |
11 |
54 |
2 |
| find_home |
|
5 |
16 |
79 |
1 |
| main |
|
48 |
129 |
825 |
2 |
| Source file: ./usr.bin/tmux/options-table.c |
| Source file: ./usr.bin/tmux/format.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| format_job_cmp |
|
3 |
8 |
59 |
2 |
| format_entry_cmp |
|
1 |
4 |
28 |
2 |
| format_job_update |
|
5 |
18 |
122 |
1 |
| format_job_complete |
|
7 |
27 |
188 |
1 |
| format_job_get |
|
11 |
49 |
381 |
2 |
| format_job_tidy |
|
5 |
18 |
134 |
2 |
| format_lost_client |
|
2 |
6 |
33 |
1 |
| format_job_timer |
|
2 |
12 |
84 |
3 |
| format_cb_host |
|
2 |
8 |
54 |
2 |
| format_cb_host_short |
|
3 |
11 |
79 |
2 |
| format_cb_pid |
|
1 |
4 |
32 |
2 |
| format_cb_session_alerts |
|
7 |
24 |
183 |
2 |
| format_cb_session_stack |
|
3 |
16 |
126 |
2 |
| format_cb_window_stack_index |
|
3 |
16 |
91 |
2 |
| format_cb_window_layout |
|
3 |
10 |
62 |
2 |
| format_cb_window_visible_layout |
|
2 |
7 |
42 |
2 |
| format_cb_start_command |
|
2 |
7 |
46 |
2 |
| format_cb_current_command |
|
6 |
18 |
120 |
2 |
| format_cb_history_bytes |
|
3 |
19 |
136 |
2 |
| format_cb_pane_tabs |
|
6 |
20 |
147 |
2 |
| format_cb_session_group_list |
|
5 |
22 |
147 |
2 |
| format_merge |
|
2 |
8 |
55 |
2 |
| format_create |
|
7 |
28 |
221 |
4 |
| format_free |
|
2 |
13 |
83 |
1 |
| format_add |
|
2 |
20 |
133 |
4 |
| format_add_tv |
|
2 |
17 |
112 |
3 |
| format_add_cb |
|
2 |
17 |
108 |
3 |
| format_find |
|
23 |
77 |
522 |
3 |
| format_skip |
|
7 |
15 |
76 |
1 |
| format_choose |
|
2 |
11 |
61 |
3 |
| format_true |
|
5 |
6 |
46 |
1 |
| format_replace |
|
65 |
190 |
1218 |
6 |
| format_expand_time |
|
4 |
11 |
89 |
3 |
| format_expand |
|
31 |
96 |
596 |
2 |
| format_single |
|
2 |
14 |
110 |
6 |
| format_defaults |
|
11 |
21 |
170 |
5 |
| format_defaults_session |
|
2 |
26 |
240 |
2 |
| format_defaults_client |
|
10 |
44 |
418 |
2 |
| format_defaults_window |
|
1 |
15 |
135 |
2 |
| format_defaults_winlink |
|
2 |
22 |
210 |
2 |
| format_defaults_pane |
|
9 |
75 |
859 |
2 |
| format_defaults_paste_buffer |
|
1 |
15 |
106 |
2 |
| Source file: ./usr.bin/tmux/tmux.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| client::TAILQ_HEAD |
|
1 |
9 |
38 |
1 |
| Source file: ./usr.bin/tmux/cmd-kill-server.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cmd_kill_server_exec |
|
2 |
6 |
38 |
2 |
| Source file: ./usr.bin/tmux/cmd-show-options.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cmd_show_options_exec |
|
3 |
20 |
137 |
2 |
| cmd_show_options_print |
|
7 |
33 |
232 |
4 |
| cmd_show_options_one |
|
6 |
35 |
247 |
3 |
| cmd_show_options_all |
|
7 |
26 |
159 |
3 |
| Source file: ./usr.bin/tmux/cmd-switch-client.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cmd_switch_client_exec |
|
23 |
87 |
602 |
2 |
| Source file: ./usr.bin/tmux/cmd-new-session.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cmd_new_session_exec |
|
70 |
215 |
1480 |
2 |
| Source file: ./usr.bin/tmux/notify.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| notify_hook |
|
7 |
30 |
252 |
2 |
| notify_callback |
|
16 |
39 |
357 |
2 |
| notify_add |
|
6 |
26 |
188 |
6 |
| notify_input |
|
2 |
8 |
47 |
2 |
| notify_client |
|
1 |
6 |
44 |
2 |
| notify_session |
|
2 |
9 |
60 |
2 |
| notify_winlink |
|
1 |
6 |
48 |
2 |
| notify_session_window |
|
1 |
6 |
51 |
3 |
| notify_window |
|
1 |
6 |
44 |
2 |
| notify_pane |
|
1 |
6 |
44 |
2 |
| Source file: ./usr.bin/tmux/procname.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cmp_procs |
|
20 |
30 |
254 |
2 |
| get_proc_name |
|
11 |
45 |
333 |
2 |
| Source file: ./usr.bin/tmux/server.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| server_set_marked |
|
1 |
8 |
53 |
3 |
| server_clear_marked |
|
1 |
4 |
14 |
1 |
| server_is_marked |
|
7 |
10 |
77 |
3 |
| server_check_marked |
|
1 |
4 |
15 |
1 |
| server_create_socket |
|
5 |
29 |
193 |
1 |
| server_start |
|
11 |
61 |
371 |
4 |
| server_loop |
|
7 |
25 |
134 |
1 |
| server_send_exit |
|
2 |
15 |
93 |
1 |
| server_update_socket |
|
8 |
30 |
150 |
1 |
| server_accept |
|
9 |
24 |
129 |
3 |
| server_add_accept |
|
3 |
15 |
87 |
1 |
| server_signal |
|
6 |
27 |
104 |
1 |
| server_child_signal |
|
8 |
19 |
93 |
1 |
| server_child_exited |
|
4 |
25 |
137 |
2 |
| server_child_stopped |
|
5 |
15 |
90 |
2 |
| Source file: ./usr.bin/tmux/cmd-unbind-key.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cmd_unbind_key_exec |
|
12 |
49 |
292 |
2 |
| Source file: ./usr.bin/tmux/proc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| proc_event_cb |
|
16 |
41 |
290 |
3 |
| proc_signal_cb |
|
1 |
5 |
29 |
3 |
| peer_check_version |
|
3 |
12 |
83 |
2 |
| proc_update_event |
|
2 |
10 |
70 |
1 |
| proc_send |
|
3 |
15 |
114 |
5 |
| proc_start |
|
2 |
16 |
121 |
1 |
| proc_loop |
|
4 |
8 |
61 |
2 |
| proc_exit |
|
1 |
4 |
15 |
1 |
| proc_set_signals |
|
1 |
26 |
257 |
2 |
| proc_clear_signals |
|
2 |
27 |
209 |
2 |
| proc_add_peer |
|
1 |
14 |
111 |
4 |
| proc_remove_peer |
|
1 |
8 |
46 |
1 |
| proc_kill_peer |
|
1 |
4 |
15 |
1 |
| proc_toggle_log |
|
1 |
4 |
16 |
1 |
| Source file: ./usr.bin/tmux/hooks.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| hooks_cmp |
|
1 |
4 |
28 |
2 |
| hooks_get |
|
2 |
6 |
27 |
1 |
| hooks_create |
|
1 |
8 |
44 |
1 |
| hooks_free1 |
|
1 |
7 |
49 |
2 |
| hooks_free |
|
1 |
7 |
42 |
1 |
| hooks_first |
|
1 |
4 |
22 |
1 |
| hooks_next |
|
1 |
4 |
24 |
1 |
| hooks_add |
|
2 |
11 |
91 |
3 |
| hooks_remove |
|
2 |
6 |
41 |
2 |
| hooks_find1 |
|
1 |
6 |
40 |
2 |
| hooks_find |
|
3 |
13 |
84 |
2 |
| hooks_run |
|
2 |
21 |
134 |
5 |
| hooks_insert |
|
4 |
26 |
160 |
5 |
| Source file: ./usr.bin/tmux/mode-tree.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mode_tree_find_item |
|
3 |
12 |
71 |
2 |
| mode_tree_free_item |
|
1 |
7 |
44 |
1 |
| mode_tree_free_items |
|
1 |
8 |
43 |
1 |
| mode_tree_check_selected |
|
2 |
5 |
35 |
1 |
| mode_tree_clear_lines |
|
1 |
6 |
28 |
1 |
| mode_tree_build_lines |
|
5 |
29 |
212 |
3 |
| mode_tree_clear_tagged |
|
1 |
8 |
38 |
1 |
| mode_tree_up |
|
5 |
14 |
83 |
2 |
| mode_tree_down |
|
4 |
13 |
73 |
2 |
| mode_tree_get_current |
|
1 |
4 |
25 |
1 |
| mode_tree_expand_current |
|
2 |
7 |
47 |
1 |
| mode_tree_set_current |
|
5 |
18 |
113 |
2 |
| mode_tree_count_tagged |
|
3 |
12 |
65 |
1 |
| mode_tree_each_tagged |
|
5 |
19 |
130 |
5 |
| mode_tree_start |
|
5 |
36 |
266 |
9 |
| mode_tree_build |
|
7 |
31 |
268 |
1 |
| mode_tree_remove_ref |
|
2 |
5 |
23 |
1 |
| mode_tree_free |
|
1 |
10 |
55 |
1 |
| mode_tree_resize |
|
1 |
8 |
54 |
3 |
| mode_tree_add |
|
7 |
29 |
224 |
7 |
| mode_tree_remove |
|
2 |
9 |
59 |
2 |
| mode_tree_draw |
|
28 |
115 |
842 |
1 |
| mode_tree_search_for |
|
13 |
36 |
228 |
1 |
| mode_tree_search_set |
|
3 |
18 |
92 |
1 |
| mode_tree_search_callback |
|
4 |
15 |
91 |
4 |
| mode_tree_search_free |
|
1 |
4 |
13 |
1 |
| mode_tree_filter_callback |
|
5 |
17 |
106 |
4 |
| mode_tree_filter_free |
|
1 |
4 |
13 |
1 |
| mode_tree_key |
|
67 |
174 |
981 |
6 |
| mode_tree_run_command |
|
6 |
25 |
165 |
4 |
| Source file: ./usr.bin/tmux/cmd-find-window.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cmd_find_window_exec |
|
15 |
43 |
294 |
2 |
| Source file: ./usr.bin/tmux/cmd-set-hook.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cmd_set_hook_exec |
|
13 |
65 |
383 |
2 |
| Source file: ./usr.bin/tmux/utf8.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| utf8_set |
|
1 |
6 |
49 |
2 |
| utf8_copy |
|
2 |
7 |
56 |
2 |
| utf8_open |
|
7 |
14 |
91 |
2 |
| utf8_append |
|
9 |
22 |
157 |
2 |
| utf8_width |
|
3 |
10 |
52 |
1 |
| utf8_combine |
|
3 |
14 |
82 |
2 |
| utf8_split |
|
3 |
12 |
82 |
2 |
| utf8_strvis |
|
9 |
28 |
204 |
4 |
| utf8_stravis |
|
1 |
9 |
72 |
3 |
| utf8_isvalid |
|
8 |
20 |
118 |
1 |
| utf8_sanitize |
|
9 |
33 |
217 |
1 |
| utf8_strlen |
|
2 |
7 |
37 |
1 |
| utf8_strwidth |
|
4 |
12 |
70 |
2 |
| utf8_fromcstr |
|
6 |
26 |
170 |
1 |
| utf8_tocstr |
|
2 |
15 |
99 |
1 |
| utf8_cstrwidth |
|
8 |
22 |
120 |
1 |
| utf8_trimcstr |
|
3 |
18 |
98 |
2 |
| utf8_rtrimcstr |
|
6 |
28 |
142 |
2 |
| utf8_padcstr |
|
3 |
16 |
109 |
2 |
| Source file: ./usr.bin/tmux/cmd-break-pane.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cmd_break_pane_exec |
|
11 |
61 |
484 |
2 |
| Source file: ./usr.bin/tmux/cmd-find.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cmd_find_try_TMUX |
|
4 |
16 |
109 |
1 |
| cmd_find_inside_pane |
|
3 |
11 |
58 |
1 |
| cmd_find_client_better |
|
2 |
6 |
43 |
2 |
| cmd_find_best_client |
|
6 |
16 |
86 |
1 |
| cmd_find_session_better |
|
7 |
14 |
103 |
3 |
| cmd_find_best_session |
|
5 |
18 |
108 |
3 |
| cmd_find_best_session_with_window |
|
4 |
23 |
137 |
1 |
| cmd_find_best_winlink_with_window |
|
5 |
20 |
120 |
1 |
| cmd_find_map_table |
|
3 |
9 |
76 |
2 |
| cmd_find_get_session |
|
13 |
47 |
290 |
2 |
| cmd_find_get_window |
|
7 |
21 |
157 |
3 |
| cmd_find_get_window_with_session |
|
36 |
125 |
962 |
2 |
| cmd_find_get_pane |
|
6 |
22 |
171 |
3 |
| cmd_find_get_pane_with_session |
|
3 |
15 |
113 |
2 |
| cmd_find_get_pane_with_window |
|
23 |
67 |
524 |
2 |
| cmd_find_clear_state |
|
1 |
6 |
36 |
2 |
| cmd_find_empty_state |
|
5 |
6 |
45 |
1 |
| cmd_find_valid_state |
|
10 |
17 |
135 |
1 |
| cmd_find_copy_state |
|
1 |
8 |
54 |
2 |
| cmd_find_log_state |
|
5 |
20 |
153 |
2 |
| cmd_find_from_session |
|
1 |
9 |
67 |
3 |
| cmd_find_from_winlink |
|
1 |
9 |
63 |
3 |
| cmd_find_from_session_window |
|
2 |
14 |
87 |
4 |
| cmd_find_from_window |
|
3 |
16 |
100 |
3 |
| cmd_find_from_winlink_pane |
|
1 |
11 |
76 |
4 |
| cmd_find_from_pane |
|
2 |
8 |
56 |
3 |
| cmd_find_from_nothing |
|
2 |
15 |
107 |
2 |
| cmd_find_from_mouse |
|
3 |
14 |
101 |
3 |
| cmd_find_from_client |
|
10 |
51 |
318 |
3 |
| cmd_find_target |
|
88 |
224 |
1393 |
5 |
| cmd_find_current_client |
|
8 |
24 |
167 |
2 |
| cmd_find_client |
|
12 |
31 |
228 |
3 |
| Source file: ./usr.bin/tmux/cmd-move-window.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cmd_move_window_exec |
|
10 |
45 |
340 |
2 |
| Source file: ./usr.bin/tmux/grid-view.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| grid_view_get_cell |
|
1 |
4 |
41 |
4 |
| grid_view_set_cell |
|
1 |
5 |
42 |
4 |
| grid_view_set_cells |
|
1 |
6 |
54 |
6 |
| grid_view_clear_history |
|
6 |
22 |
163 |
2 |
| grid_view_clear |
|
1 |
7 |
57 |
6 |
| grid_view_scroll_region_up |
|
4 |
18 |
124 |
4 |
| grid_view_scroll_region_down |
|
1 |
7 |
53 |
4 |
| grid_view_insert_lines |
|
1 |
7 |
60 |
4 |
| grid_view_insert_lines_region |
|
1 |
10 |
90 |
5 |
| grid_view_delete_lines |
|
1 |
8 |
87 |
4 |
| grid_view_delete_lines_region |
|
1 |
10 |
88 |
5 |
| grid_view_insert_cells |
|
2 |
11 |
98 |
5 |
| grid_view_delete_cells |
|
1 |
9 |
99 |
5 |
| grid_view_string_cells |
|
1 |
6 |
58 |
4 |
| Source file: ./usr.bin/tmux/job.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| job_run |
|
15 |
70 |
544 |
7 |
| job_free |
|
6 |
15 |
111 |
1 |
| job_read_callback |
|
2 |
6 |
36 |
2 |
| job_write_callback |
|
2 |
11 |
80 |
2 |
| job_error_callback |
|
3 |
14 |
91 |
3 |
| job_died |
|
3 |
13 |
82 |
2 |
| Source file: ./usr.bin/tmux/cmd-respawn-pane.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cmd_respawn_pane_exec |
|
9 |
46 |
372 |
2 |
| Source file: ./usr.bin/tmux/input-keys.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| input_split2 |
|
2 |
10 |
63 |
2 |
| input_key |
|
23 |
62 |
450 |
3 |
| input_key_mouse |
|
21 |
49 |
408 |
2 |
| Source file: ./usr.bin/tmux/cmd-send-keys.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cmd_send_keys_inject |
|
5 |
21 |
176 |
3 |
| cmd_send_keys_exec |
|
22 |
78 |
556 |
2 |
| Source file: ./usr.bin/tmux/cmd-select-window.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cmd_select_window_exec |
|
17 |
54 |
386 |
2 |
| Source file: ./usr.bin/tmux/colour.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| colour_dist_sq |
|
1 |
4 |
61 |
6 |
| colour_to_6cube |
|
3 |
8 |
40 |
1 |
| colour_find_rgb |
|
6 |
23 |
249 |
3 |
| colour_join_rgb |
|
1 |
6 |
69 |
3 |
| colour_split_rgb |
|
1 |
6 |
50 |
4 |
| colour_tostring |
|
20 |
51 |
238 |
1 |
| colour_fromstring |
|
42 |
58 |
614 |
1 |
| colour_256to16 |
|
1 |
22 |
537 |
1 |
| Source file: ./usr.bin/tmux/resize.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| recalculate_sizes |
|
39 |
108 |
728 |
1 |
| Source file: ./usr.bin/tmux/cmd-pipe-pane.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cmd_pipe_pane_exec |
|
16 |
73 |
587 |
2 |
| cmd_pipe_pane_write_callback |
|
2 |
7 |
44 |
2 |
| cmd_pipe_pane_error_callback |
|
2 |
11 |
69 |
3 |
| Source file: ./usr.bin/audioctl/audioctl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| strtoenc |
|
26 |
49 |
357 |
2 |
| print_val |
|
15 |
34 |
219 |
2 |
| parse_val |
|
5 |
14 |
97 |
3 |
| main |
|
28 |
90 |
581 |
2 |
| Source file: ./usr.bin/tmux/screen-redraw.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| screen_redraw_cell_border1 |
|
17 |
19 |
196 |
3 |
| screen_redraw_cell_border |
|
3 |
13 |
89 |
3 |
| screen_redraw_check_cell |
|
39 |
75 |
490 |
5 |
| screen_redraw_check_is |
|
20 |
35 |
264 |
7 |
| screen_redraw_make_pane_status |
|
4 |
39 |
314 |
3 |
| screen_redraw_draw_pane_status |
|
4 |
23 |
155 |
2 |
| screen_redraw_update |
|
7 |
24 |
144 |
1 |
| screen_redraw_screen |
|
13 |
36 |
237 |
4 |
| screen_redraw_pane |
|
4 |
14 |
113 |
2 |
| screen_redraw_draw_borders |
|
23 |
83 |
654 |
4 |
| screen_redraw_draw_panes |
|
5 |
19 |
137 |
3 |
| screen_redraw_draw_status |
|
3 |
11 |
78 |
3 |
| screen_redraw_draw_number |
|
16 |
64 |
513 |
4 |
| Source file: ./usr.bin/openssl/ciphers.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ciphers_usage |
|
1 |
5 |
18 |
1 |
| ciphers_main |
|
16 |
67 |
414 |
2 |
| Source file: ./usr.bin/openssl/s_cb.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| verify_callback |
|
16 |
61 |
318 |
2 |
| set_cert_stuff |
|
6 |
27 |
129 |
3 |
| set_cert_key_stuff |
|
5 |
21 |
104 |
3 |
| ssl_print_tmp_key |
|
5 |
28 |
166 |
2 |
| bio_dump_callback |
|
4 |
21 |
160 |
6 |
| apps_ssl_info_callback |
|
9 |
28 |
169 |
3 |
| msg_cb |
|
83 |
257 |
997 |
7 |
| tlsext_cb |
|
20 |
69 |
252 |
6 |
| generate_cookie_callback |
|
7 |
56 |
346 |
3 |
| verify_cookie_callback |
|
9 |
54 |
341 |
3 |
| Source file: ./usr.bin/openssl/rand.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rand_usage |
|
1 |
6 |
17 |
0 |
| rand_main |
|
21 |
70 |
420 |
2 |
| Source file: ./usr.bin/openssl/version.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| version_all_opts |
|
1 |
10 |
47 |
1 |
| version_usage |
|
1 |
5 |
18 |
1 |
| version_main |
|
12 |
43 |
269 |
2 |
| Source file: ./usr.bin/openssl/crl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| crl_usage |
|
1 |
9 |
21 |
1 |
| crl_main |
|
45 |
198 |
1118 |
2 |
| load_crl |
|
7 |
35 |
170 |
2 |
| Source file: ./usr.bin/openssl/openssl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| lock_dbg_cb |
|
12 |
41 |
212 |
4 |
| openssl_startup |
|
1 |
8 |
29 |
1 |
| openssl_shutdown |
|
1 |
10 |
36 |
1 |
| main |
|
25 |
132 |
711 |
2 |
| do_cmd |
|
38 |
112 |
817 |
3 |
| SortFnByName |
|
2 |
8 |
59 |
2 |
| list_pkey |
|
5 |
27 |
165 |
1 |
| list_cipher_fn |
|
4 |
13 |
71 |
4 |
| list_cipher |
|
1 |
4 |
15 |
1 |
| list_md_fn |
|
4 |
12 |
71 |
4 |
| list_md |
|
1 |
4 |
15 |
1 |
| function_cmp |
|
1 |
4 |
28 |
2 |
| function_hash |
|
1 |
4 |
16 |
1 |
| prog_init |
|
4 |
14 |
103 |
1 |
| Source file: ./usr.bin/openssl/pkcs8.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pkcs8_opt_v1 |
|
2 |
8 |
44 |
1 |
| pkcs8_opt_v2 |
|
2 |
8 |
44 |
1 |
| pkcs8_usage |
|
1 |
9 |
21 |
0 |
| pkcs8_main |
|
38 |
184 |
995 |
2 |
| Source file: ./usr.bin/openssl/dsaparam.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dsaparam_usage |
|
1 |
8 |
20 |
1 |
| dsaparam_main |
|
38 |
174 |
1046 |
2 |
| dsa_cb |
|
7 |
17 |
91 |
3 |
| Source file: ./usr.bin/openssl/testrsa.h |
| Source file: ./usr.bin/openssl/pkeyutl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pkeyutl_main |
|
65 |
226 |
1398 |
2 |
| usage |
|
1 |
20 |
124 |
0 |
| init_ctx |
|
19 |
72 |
353 |
6 |
| setup_peer |
|
4 |
21 |
115 |
4 |
| do_keyop |
|
6 |
24 |
138 |
6 |
| Source file: ./usr.bin/openssl/spkac.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| spkac_usage |
|
1 |
10 |
22 |
1 |
| spkac_main |
|
23 |
125 |
710 |
2 |
| Source file: ./usr.bin/tmux/input.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| input_table_compare |
|
2 |
8 |
65 |
2 |
| input_timer_callback |
|
1 |
7 |
56 |
3 |
| input_start_timer |
|
1 |
6 |
39 |
1 |
| input_reset_cell |
|
1 |
9 |
81 |
1 |
| input_init |
|
1 |
10 |
71 |
1 |
| input_free |
|
1 |
9 |
51 |
1 |
| input_reset |
|
3 |
17 |
112 |
2 |
| input_pending |
|
1 |
4 |
18 |
1 |
| input_set_state |
|
3 |
9 |
70 |
2 |
| input_parse |
|
15 |
45 |
342 |
1 |
| input_split |
|
6 |
23 |
144 |
1 |
| input_get |
|
4 |
12 |
71 |
4 |
| input_reply |
|
1 |
10 |
66 |
3 |
| input_clear |
|
1 |
11 |
62 |
1 |
| input_ground |
|
2 |
9 |
60 |
1 |
| input_print |
|
3 |
14 |
115 |
1 |
| input_intermediate |
|
2 |
10 |
63 |
1 |
| input_parameter |
|
2 |
10 |
63 |
1 |
| input_input |
|
3 |
17 |
102 |
1 |
| input_c0_dispatch |
|
14 |
45 |
231 |
1 |
| input_esc_dispatch |
|
19 |
70 |
405 |
1 |
| input_csi_dispatch |
|
59 |
223 |
1373 |
1 |
| input_csi_dispatch_rm |
|
4 |
17 |
90 |
1 |
| input_csi_dispatch_rm_private |
|
18 |
54 |
287 |
1 |
| input_csi_dispatch_sm |
|
4 |
17 |
90 |
1 |
| input_csi_dispatch_sm_private |
|
18 |
63 |
358 |
1 |
| input_csi_dispatch_winops |
|
30 |
65 |
296 |
1 |
| input_csi_dispatch_sgr_256 |
|
6 |
18 |
118 |
3 |
| input_csi_dispatch_sgr_rgb |
|
9 |
21 |
176 |
3 |
| input_csi_dispatch_sgr |
|
58 |
122 |
495 |
1 |
| input_enter_dcs |
|
1 |
7 |
33 |
1 |
| input_dcs_dispatch |
|
4 |
14 |
100 |
1 |
| input_enter_osc |
|
1 |
7 |
33 |
1 |
| input_exit_osc |
|
21 |
50 |
274 |
1 |
| input_enter_apc |
|
1 |
7 |
33 |
1 |
| input_exit_apc |
|
3 |
10 |
64 |
1 |
| input_enter_rename |
|
1 |
7 |
33 |
1 |
| input_exit_rename |
|
4 |
13 |
97 |
1 |
| input_utf8_open |
|
2 |
9 |
64 |
1 |
| input_utf8_add |
|
2 |
8 |
53 |
1 |
| input_utf8_close |
|
2 |
12 |
99 |
1 |
| input_osc_4 |
|
7 |
26 |
173 |
2 |
| input_osc_10 |
|
2 |
11 |
76 |
2 |
| input_osc_11 |
|
2 |
11 |
76 |
2 |
| input_osc_52 |
|
6 |
29 |
175 |
2 |
| input_osc_104 |
|
8 |
25 |
136 |
2 |
| Source file: ./usr.bin/openssl/s_client.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sc_usage |
|
1 |
58 |
395 |
1 |
| ssl_servername_cb |
|
3 |
10 |
73 |
3 |
| s_client_main |
|
264 |
849 |
5435 |
2 |
| print_stuff |
|
26 |
147 |
959 |
3 |
| ocsp_resp_cb |
|
3 |
23 |
134 |
2 |
| Source file: ./usr.bin/openssl/apps_posix.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| real_interval |
|
2 |
12 |
66 |
1 |
| user_interval |
|
2 |
13 |
72 |
1 |
| app_tminterval |
|
2 |
4 |
25 |
2 |
| setup_ui |
|
1 |
9 |
44 |
1 |
| destroy_ui |
|
2 |
7 |
21 |
1 |
| Source file: ./usr.bin/openssl/prime.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| prime_usage |
|
1 |
7 |
18 |
0 |
| prime_main |
|
17 |
75 |
428 |
2 |
| Source file: ./usr.bin/openssl/dgst.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| list_md_fn |
|
5 |
15 |
94 |
4 |
| dgst_main |
|
94 |
341 |
2087 |
2 |
| do_fp |
|
18 |
71 |
452 |
12 |
| Source file: ./usr.bin/openssl/errstr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| errstr_usage |
|
1 |
5 |
17 |
0 |
| errstr_main |
|
12 |
46 |
294 |
2 |
| Source file: ./usr.bin/openssl/dhparam.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dhparam_usage |
|
1 |
8 |
19 |
0 |
| dhparam_main |
|
56 |
215 |
1206 |
2 |
| dh_cb |
|
5 |
15 |
84 |
3 |
| Source file: ./usr.bin/openssl/dh.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dh_usage |
|
1 |
7 |
19 |
1 |
| dh_main |
|
33 |
135 |
780 |
2 |
| Source file: ./usr.bin/openssl/genrsa.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| genrsa_main |
|
38 |
129 |
855 |
2 |
| genrsa_cb |
|
5 |
15 |
84 |
3 |
| Source file: ./usr.bin/openssl/ocsp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ocsp_main |
|
193 |
635 |
3938 |
2 |
| add_ocsp_cert |
|
7 |
22 |
127 |
5 |
| add_ocsp_serial |
|
8 |
33 |
188 |
5 |
| print_ocsp_summary |
|
11 |
45 |
305 |
7 |
| make_ocsp_response |
|
12 |
85 |
554 |
10 |
| lookup_serial |
|
3 |
19 |
123 |
2 |
| init_responder |
|
4 |
22 |
106 |
1 |
| do_responder |
|
9 |
35 |
203 |
4 |
| send_ocsp_response |
|
2 |
12 |
62 |
2 |
| query_responder |
|
23 |
74 |
469 |
6 |
| process_responder |
|
8 |
36 |
206 |
8 |
| Source file: ./usr.bin/openssl/ca.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| setCertificateTime |
|
3 |
10 |
75 |
2 |
| ca_main |
|
311 |
1005 |
6257 |
2 |
| lookup_fail |
|
1 |
4 |
25 |
2 |
| certify |
|
11 |
60 |
413 |
25 |
| certify_cert |
|
9 |
49 |
365 |
24 |
| do_body |
|
126 |
427 |
2777 |
25 |
| write_new_certificate |
|
3 |
10 |
55 |
4 |
| certify_spkac |
|
21 |
102 |
669 |
23 |
| check_time_format |
|
1 |
4 |
17 |
1 |
| do_revoke |
|
18 |
89 |
675 |
4 |
| get_certificate_status |
|
11 |
55 |
467 |
2 |
| do_updatedb |
|
9 |
48 |
313 |
1 |
| make_revocation_str |
|
17 |
56 |
275 |
2 |
| make_revoked |
|
16 |
43 |
251 |
2 |
| old_entry_print |
|
11 |
36 |
281 |
3 |
| unpack_revinfo |
|
24 |
97 |
471 |
5 |
| bin2hex |
|
3 |
14 |
111 |
2 |
| Source file: ./usr.bin/openssl/sess_id.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sess_id_usage |
|
1 |
8 |
20 |
1 |
| sess_id_main |
|
25 |
93 |
515 |
2 |
| load_sess_id |
|
7 |
35 |
170 |
2 |
| Source file: ./usr.bin/openssl/gendh.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| gendh_usage |
|
1 |
6 |
18 |
1 |
| gendh_main |
|
15 |
59 |
354 |
2 |
| dh_cb |
|
5 |
15 |
84 |
3 |
| Source file: ./usr.bin/openssl/s_server.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| s_server_init |
|
1 |
21 |
79 |
1 |
| sv_usage |
|
1 |
75 |
495 |
1 |
| ssl_servername_cb |
|
7 |
18 |
114 |
3 |
| cert_status_cb |
|
21 |
103 |
599 |
2 |
| alpn_cb |
|
6 |
26 |
190 |
6 |
| s_server_main |
|
205 |
614 |
3983 |
2 |
| print_stats |
|
1 |
24 |
161 |
2 |
| sv_body |
|
75 |
265 |
1550 |
3 |
| close_accept_socket |
|
2 |
8 |
33 |
1 |
| init_ssl_connection |
|
14 |
74 |
443 |
1 |
| load_dh_param |
|
2 |
11 |
62 |
1 |
| www_body |
|
75 |
252 |
1627 |
3 |
| generate_session_id |
|
5 |
16 |
93 |
3 |
| Source file: ./usr.bin/openssl/pkcs7.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pkcs7_usage |
|
1 |
7 |
19 |
0 |
| pkcs7_main |
|
31 |
123 |
716 |
2 |
| Source file: ./usr.bin/openssl/ts.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ts_main |
|
70 |
189 |
1211 |
2 |
| txt2obj |
|
2 |
7 |
41 |
1 |
| load_config_file |
|
9 |
36 |
190 |
1 |
| query_command |
|
9 |
40 |
246 |
9 |
| BIO_open_with_default |
|
2 |
5 |
37 |
3 |
| create_query |
|
20 |
58 |
389 |
6 |
| create_digest |
|
7 |
34 |
190 |
4 |
| create_nonce |
|
6 |
24 |
163 |
1 |
| reply_command |
|
14 |
62 |
359 |
13 |
| read_PKCS7 |
|
8 |
33 |
184 |
1 |
| create_response |
|
18 |
50 |
353 |
8 |
| serial_cb |
|
2 |
14 |
68 |
2 |
| next_serial |
|
9 |
40 |
220 |
1 |
| save_ts_serial |
|
5 |
18 |
97 |
2 |
| verify_command |
|
8 |
37 |
219 |
8 |
| create_verify_ctx |
|
15 |
49 |
314 |
6 |
| create_cert_store |
|
7 |
38 |
183 |
2 |
| verify_cb |
|
1 |
4 |
14 |
2 |
| Source file: ./usr.bin/openssl/s_socket.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| init_client |
|
11 |
47 |
318 |
5 |
| do_server |
|
8 |
35 |
204 |
5 |
| init_server_long |
|
11 |
41 |
275 |
4 |
| init_server |
|
1 |
4 |
28 |
3 |
| do_accept |
|
8 |
47 |
281 |
3 |
| extract_host_port |
|
7 |
20 |
122 |
4 |
| extract_port |
|
3 |
18 |
108 |
2 |
| Source file: ./usr.bin/openssl/progs.h |
| Source file: ./usr.bin/openssl/passwd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| passwd_usage |
|
1 |
7 |
20 |
1 |
| passwd_main |
|
41 |
122 |
779 |
2 |
| md5crypt |
|
13 |
84 |
800 |
3 |
| do_passwd |
|
20 |
54 |
414 |
12 |
| passwd_main |
|
1 |
5 |
22 |
2 |
| Source file: ./usr.bin/openssl/req.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| req_main |
|
225 |
687 |
4338 |
2 |
| make_REQ |
|
13 |
52 |
324 |
6 |
| build_subject |
|
3 |
12 |
70 |
4 |
| prompt_info |
|
51 |
173 |
1113 |
7 |
| auto_info |
|
13 |
44 |
292 |
5 |
| add_DN_object |
|
14 |
47 |
353 |
9 |
| add_attribute_object |
|
14 |
51 |
357 |
8 |
| req_check_len |
|
5 |
12 |
78 |
3 |
| check_end |
|
2 |
11 |
63 |
2 |
| set_keygen_ctx |
|
27 |
119 |
693 |
5 |
| genpkey_cb |
|
5 |
18 |
95 |
1 |
| do_sign_init |
|
4 |
18 |
124 |
5 |
| do_X509_sign |
|
3 |
12 |
87 |
5 |
| do_X509_REQ_sign |
|
3 |
12 |
87 |
5 |
| do_X509_CRL_sign |
|
3 |
12 |
87 |
5 |
| Source file: ./usr.bin/openssl/crl2p7.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| crl2p7_opt_certfile |
|
4 |
14 |
77 |
1 |
| crl2p7_usage |
|
1 |
7 |
19 |
1 |
| crl2pkcs7_main |
|
30 |
119 |
698 |
2 |
| add_certs_from_file |
|
8 |
34 |
198 |
2 |
| Source file: ./usr.bin/openssl/testdsa.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| get_dsa512 |
|
7 |
15 |
158 |
0 |
| get_dsa1024 |
|
7 |
15 |
158 |
0 |
| get_dsa2048 |
|
7 |
15 |
158 |
0 |
| Source file: ./usr.bin/openssl/s_apps.h |
| Source file: ./usr.bin/openssl/x509.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| x509_main |
|
217 |
721 |
4934 |
2 |
| x509_load_serial |
|
9 |
37 |
236 |
3 |
| x509_certify |
|
18 |
59 |
408 |
14 |
| callb |
|
3 |
19 |
96 |
2 |
| sign |
|
10 |
36 |
241 |
7 |
| purpose_print |
|
5 |
18 |
122 |
3 |
| Source file: ./usr.bin/openssl/apps.h |
| Source file: ./usr.bin/openssl/asn1pars.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| asn1pars_opt_dlimit |
|
2 |
11 |
55 |
1 |
| asn1pars_opt_length |
|
2 |
11 |
55 |
1 |
| asn1pars_opt_strparse |
|
2 |
8 |
41 |
1 |
| asn1pars_usage |
|
1 |
10 |
21 |
0 |
| asn1parse_main |
|
39 |
172 |
1026 |
2 |
| do_generate |
|
9 |
43 |
237 |
4 |
| Source file: ./usr.bin/openssl/timeouts.h |
| Source file: ./usr.bin/openssl/genpkey.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| genpkey_main |
|
46 |
166 |
974 |
2 |
| init_keygen_file |
|
8 |
38 |
188 |
3 |
| init_gen_str |
|
8 |
36 |
188 |
4 |
| genpkey_cb |
|
5 |
18 |
95 |
1 |
| Source file: ./usr.bin/openssl/enc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| enc_opt_cipher |
|
4 |
16 |
98 |
3 |
| show_ciphers |
|
3 |
7 |
56 |
2 |
| enc_usage |
|
1 |
13 |
52 |
1 |
| enc_main |
|
110 |
347 |
2285 |
2 |
| set_hex |
|
11 |
32 |
219 |
3 |
| Source file: ./usr.bin/openssl/smime.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| smime_main |
|
171 |
516 |
3342 |
2 |
| save_certs |
|
4 |
14 |
83 |
2 |
| smime_cb |
|
4 |
10 |
56 |
2 |
| Source file: ./usr.bin/openssl/dsa.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dsa_opt_enc |
|
3 |
11 |
69 |
3 |
| show_ciphers |
|
3 |
7 |
56 |
2 |
| dsa_usage |
|
1 |
13 |
51 |
1 |
| dsa_main |
|
33 |
125 |
752 |
2 |
| Source file: ./usr.bin/openssl/verify.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| verify_main |
|
43 |
141 |
875 |
2 |
| check |
|
9 |
37 |
227 |
5 |
| cb |
|
17 |
38 |
167 |
2 |
| Source file: ./usr.bin/openssl/speed.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sig_done |
|
1 |
5 |
18 |
1 |
| Time_F |
|
1 |
4 |
15 |
1 |
| KDF1_SHA1 |
|
2 |
9 |
49 |
4 |
| speed_main |
|
325 |
1333 |
10887 |
2 |
| print_message |
|
2 |
7 |
45 |
3 |
| pkey_print_message |
|
2 |
8 |
55 |
5 |
| print_result |
|
2 |
6 |
58 |
4 |
| sstrsep |
|
5 |
21 |
121 |
2 |
| do_multi |
|
27 |
154 |
1222 |
1 |
| Source file: ./usr.bin/openssl/pkeyparam.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pkeyparam_usage |
|
1 |
7 |
18 |
0 |
| pkeyparam_main |
|
11 |
50 |
292 |
2 |
| Source file: ./usr.bin/openssl/nseq.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| nseq_usage |
|
1 |
5 |
17 |
0 |
| nseq_main |
|
13 |
65 |
417 |
2 |
| Source file: ./usr.bin/openssl/certhash.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| hashinfo |
|
5 |
16 |
115 |
3 |
| hashinfo_free |
|
2 |
8 |
36 |
1 |
| hashinfo_print |
|
3 |
10 |
78 |
1 |
| hashinfo_compare |
|
4 |
14 |
118 |
2 |
| hashinfo_chain |
|
3 |
10 |
57 |
2 |
| hashinfo_chain_free |
|
2 |
9 |
37 |
1 |
| hashinfo_chain_length |
|
2 |
9 |
36 |
1 |
| hashinfo_chain_sort |
|
5 |
22 |
175 |
1 |
| hashinfo_linkname |
|
3 |
8 |
54 |
1 |
| filename_is_hash |
|
10 |
15 |
100 |
1 |
| filename_is_pem |
|
4 |
11 |
81 |
1 |
| hashinfo_from_linkname |
|
14 |
40 |
270 |
2 |
| certhash_cert |
|
3 |
21 |
132 |
2 |
| certhash_crl |
|
3 |
21 |
137 |
2 |
| certhash_addlink |
|
3 |
16 |
110 |
2 |
| certhash_findlink |
|
8 |
17 |
112 |
2 |
| certhash_index |
|
5 |
27 |
139 |
2 |
| certhash_merge |
|
15 |
34 |
260 |
3 |
| certhash_link |
|
5 |
27 |
192 |
2 |
| certhash_file |
|
8 |
38 |
247 |
3 |
| certhash_directory |
|
25 |
69 |
454 |
1 |
| certhash_usage |
|
1 |
5 |
18 |
1 |
| certhash_main |
|
8 |
37 |
219 |
2 |
| Source file: ./usr.bin/openssl/pkcs12.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pkcs12_main |
|
130 |
443 |
2861 |
2 |
| dump_certs_keys_p12 |
|
10 |
42 |
257 |
6 |
| dump_certs_pkeys_bags |
|
3 |
13 |
79 |
6 |
| dump_certs_pkeys_bag |
|
20 |
73 |
475 |
6 |
| get_cert_chain |
|
3 |
19 |
109 |
3 |
| alg_print |
|
2 |
14 |
94 |
2 |
| cert_load |
|
3 |
13 |
67 |
2 |
| print_attribs |
|
9 |
52 |
333 |
3 |
| hex_prin |
|
2 |
6 |
44 |
3 |
| set_pbe |
|
4 |
15 |
78 |
3 |
| Source file: ./usr.bin/openssl/gendsa.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| gendsa_main |
|
33 |
115 |
746 |
2 |
| Source file: ./usr.bin/openssl/apps.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| str2fmt |
|
21 |
26 |
235 |
1 |
| program_name |
|
2 |
10 |
51 |
3 |
| chopup_args |
|
23 |
57 |
398 |
4 |
| dump_cert_text |
|
1 |
14 |
92 |
2 |
| ui_open |
|
1 |
4 |
19 |
1 |
| ui_read |
|
7 |
18 |
108 |
2 |
| ui_write |
|
7 |
16 |
97 |
2 |
| ui_close |
|
1 |
4 |
19 |
1 |
| password_callback |
|
16 |
62 |
390 |
4 |
| app_passwd |
|
11 |
21 |
132 |
5 |
| app_get_pass |
|
16 |
69 |
394 |
3 |
| add_oid_section |
|
5 |
24 |
152 |
2 |
| load_pkcs12 |
|
9 |
38 |
232 |
8 |
| load_cert |
|
12 |
57 |
336 |
5 |
| load_key |
|
18 |
55 |
349 |
6 |
| load_pubkey |
|
21 |
66 |
400 |
6 |
| load_netscape_key |
|
9 |
39 |
233 |
5 |
| load_certs_crls |
|
25 |
73 |
422 |
7 |
| load_certs |
|
2 |
8 |
60 |
5 |
| load_crls |
|
2 |
8 |
60 |
5 |
| set_cert_ex |
|
1 |
25 |
185 |
2 |
| set_name_ex |
|
1 |
34 |
257 |
2 |
| set_ext_copy |
|
4 |
12 |
67 |
2 |
| copy_extensions |
|
9 |
31 |
207 |
3 |
| set_multi_opts |
|
4 |
17 |
107 |
3 |
| set_table_opts |
|
6 |
26 |
131 |
3 |
| print_name |
|
5 |
23 |
136 |
4 |
| setup_verify |
|
8 |
32 |
179 |
3 |
| load_config |
|
5 |
18 |
85 |
2 |
| make_config_name |
|
2 |
8 |
39 |
0 |
| index_serial_hash |
|
2 |
8 |
39 |
1 |
| index_serial_cmp |
|
3 |
9 |
68 |
2 |
| index_name_qual |
|
1 |
4 |
21 |
1 |
| index_name_hash |
|
1 |
4 |
20 |
1 |
| index_name_cmp |
|
1 |
4 |
30 |
2 |
| load_serial |
|
13 |
46 |
241 |
3 |
| save_serial |
|
10 |
44 |
241 |
4 |
| rotate_serial |
|
8 |
35 |
198 |
3 |
| rand_serial |
|
7 |
20 |
95 |
2 |
| load_index |
|
14 |
62 |
333 |
2 |
| index_index |
|
4 |
18 |
125 |
1 |
| save_index |
|
8 |
41 |
245 |
3 |
| rotate_index |
|
20 |
87 |
525 |
3 |
| free_index |
|
3 |
8 |
32 |
1 |
| parse_yesno |
|
12 |
26 |
83 |
2 |
| parse_name |
|
23 |
104 |
582 |
3 |
| args_verify |
|
35 |
121 |
721 |
5 |
| bio_to_mem |
|
8 |
29 |
162 |
3 |
| pkey_ctrl_string |
|
4 |
18 |
92 |
2 |
| nodes_print |
|
3 |
14 |
93 |
3 |
| policies_print |
|
4 |
18 |
105 |
2 |
| next_protos_parse |
|
7 |
25 |
151 |
2 |
| app_isdir |
|
2 |
7 |
37 |
1 |
| options_usage |
|
6 |
22 |
199 |
1 |
| options_parse |
|
46 |
143 |
848 |
5 |
| Source file: ./usr.bin/openssl/ec.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ec_opt_enc |
|
3 |
11 |
69 |
3 |
| ec_opt_form |
|
4 |
15 |
89 |
1 |
| ec_opt_named |
|
3 |
13 |
71 |
1 |
| show_ciphers |
|
3 |
7 |
56 |
2 |
| ec_usage |
|
1 |
13 |
51 |
1 |
| ec_main |
|
32 |
123 |
726 |
2 |
| Source file: ./usr.bin/openssl/s_time.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| s_time_usage |
|
1 |
10 |
22 |
1 |
| tm_Time_F |
|
1 |
4 |
15 |
1 |
| s_time_main |
|
45 |
201 |
1229 |
2 |
| doConnection |
|
8 |
43 |
224 |
1 |
| Source file: ./usr.bin/openssl/rsautl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rsautl_main |
|
54 |
203 |
1243 |
2 |
| usage |
|
1 |
19 |
117 |
0 |
| Source file: ./usr.bin/doas/doas.h |
| Source file: ./usr.bin/openssl/rsa.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rsa_opt_cipher |
|
3 |
12 |
78 |
3 |
| show_ciphers |
|
2 |
5 |
39 |
2 |
| rsa_usage |
|
1 |
14 |
51 |
0 |
| rsa_main |
|
49 |
166 |
1005 |
2 |
| Source file: ./usr.bin/doas/env.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| envcmp |
|
1 |
4 |
26 |
2 |
| createnode |
|
4 |
12 |
81 |
2 |
| freenode |
|
1 |
6 |
36 |
1 |
| createenv |
|
8 |
34 |
217 |
1 |
| flattenenv |
|
3 |
17 |
113 |
1 |
| fillenv |
|
10 |
42 |
270 |
2 |
| prepenv |
|
3 |
15 |
89 |
1 |
| Source file: ./usr.bin/less/pattern.h |
| Source file: ./usr.bin/openssl/pkey.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pkey_main |
|
37 |
142 |
866 |
2 |
| Source file: ./usr.bin/openssl/ecparam.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ecparam_opt_form |
|
4 |
13 |
78 |
1 |
| ecparam_opt_enctype |
|
3 |
11 |
60 |
1 |
| ecparam_usage |
|
1 |
9 |
22 |
1 |
| ecparam_main |
|
64 |
299 |
1832 |
2 |
| ecparam_print_var |
|
5 |
21 |
152 |
5 |
| Source file: ./usr.bin/less/version.c |
| Source file: ./usr.bin/less/mark.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| init_mark |
|
2 |
6 |
34 |
1 |
| getumark |
|
5 |
9 |
63 |
1 |
| getmark |
|
8 |
41 |
199 |
1 |
| badmark |
|
1 |
4 |
17 |
1 |
| setmark |
|
2 |
11 |
49 |
1 |
| lastmark |
|
3 |
11 |
55 |
1 |
| gomark |
|
6 |
19 |
114 |
1 |
| markpos |
|
3 |
12 |
63 |
1 |
| unmark |
|
3 |
7 |
46 |
1 |
| Source file: ./usr.bin/less/less.h |
| Source file: ./usr.bin/doas/doas.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usage |
|
1 |
6 |
19 |
1 |
| parseuid |
|
3 |
13 |
74 |
2 |
| uidcheck |
|
3 |
9 |
44 |
2 |
| parsegid |
|
3 |
13 |
74 |
2 |
| match |
|
16 |
36 |
237 |
7 |
| permit |
|
4 |
14 |
105 |
7 |
| parseconfig |
|
8 |
22 |
145 |
2 |
| checkconfig |
|
4 |
17 |
128 |
7 |
| authuser |
|
11 |
42 |
286 |
3 |
| main |
|
40 |
137 |
907 |
2 |
| Source file: ./usr.bin/less/defines.h |
| Source file: ./usr.bin/less/forwback.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| eof_bell |
|
2 |
7 |
21 |
1 |
| eof_displayed |
|
4 |
10 |
53 |
1 |
| entire_file_displayed |
|
3 |
8 |
40 |
1 |
| squish_check |
|
2 |
7 |
21 |
1 |
| forw |
|
30 |
62 |
339 |
5 |
| back |
|
10 |
28 |
144 |
4 |
| forward |
|
11 |
27 |
158 |
3 |
| backward |
|
4 |
10 |
61 |
3 |
| get_back_scroll |
|
4 |
10 |
42 |
1 |
| Source file: ./usr.bin/diff3/diff3prog.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
14 |
47 |
300 |
2 |
| readin |
|
9 |
39 |
315 |
2 |
| number |
|
2 |
8 |
49 |
1 |
| getchange |
|
3 |
9 |
51 |
1 |
| get_line |
|
7 |
24 |
154 |
2 |
| merge |
|
27 |
83 |
741 |
2 |
| separate |
|
1 |
4 |
16 |
1 |
| change |
|
3 |
11 |
75 |
3 |
| prange |
|
3 |
11 |
70 |
1 |
| keep |
|
1 |
9 |
61 |
2 |
| skip |
|
4 |
13 |
96 |
3 |
| duplicate |
|
7 |
26 |
178 |
2 |
| repos |
|
2 |
6 |
42 |
1 |
| trouble |
|
1 |
4 |
13 |
1 |
| edit |
|
3 |
14 |
152 |
3 |
| edscript |
|
9 |
25 |
221 |
1 |
| increase |
|
6 |
29 |
236 |
1 |
| usage |
|
1 |
7 |
26 |
1 |
| Source file: ./usr.bin/less/tags.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cleantags |
|
2 |
12 |
59 |
1 |
| maketagent |
|
2 |
13 |
84 |
4 |
| findtag |
|
6 |
19 |
69 |
1 |
| tagsearch |
|
3 |
8 |
43 |
1 |
| nexttag |
|
2 |
7 |
31 |
1 |
| prevtag |
|
2 |
7 |
31 |
1 |
| ntags |
|
1 |
4 |
11 |
1 |
| curr_tag |
|
1 |
4 |
11 |
1 |
| findctag |
|
17 |
66 |
365 |
1 |
| edit_tagfile |
|
2 |
6 |
27 |
1 |
| ctagsearch |
|
10 |
31 |
178 |
1 |
| nextctag |
|
4 |
17 |
73 |
1 |
| prevctag |
|
4 |
17 |
73 |
1 |
| Source file: ./usr.bin/less/ifile.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| incr_index |
|
2 |
5 |
32 |
2 |
| link_ifile |
|
2 |
12 |
75 |
2 |
| unlink_ifile |
|
1 |
7 |
42 |
1 |
| new_ifile |
|
1 |
12 |
79 |
2 |
| del_ifile |
|
3 |
13 |
62 |
1 |
| next_ifile |
|
3 |
8 |
52 |
1 |
| prev_ifile |
|
3 |
8 |
52 |
1 |
| getoff_ifile |
|
3 |
9 |
51 |
1 |
| nifile |
|
1 |
4 |
11 |
1 |
| find_ifile |
|
3 |
8 |
56 |
1 |
| get_ifile |
|
2 |
7 |
49 |
2 |
| get_filename |
|
2 |
6 |
28 |
1 |
| get_index |
|
1 |
4 |
17 |
1 |
| store_pos |
|
1 |
4 |
22 |
2 |
| get_pos |
|
1 |
4 |
22 |
2 |
| set_open |
|
1 |
4 |
16 |
1 |
| opened |
|
1 |
4 |
17 |
1 |
| hold_ifile |
|
1 |
4 |
19 |
2 |
| held_ifile |
|
1 |
4 |
17 |
1 |
| get_filestate |
|
1 |
4 |
17 |
1 |
| set_filestate |
|
1 |
4 |
20 |
2 |
| Source file: ./usr.bin/less/ttyin.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| open_getchr |
|
2 |
6 |
25 |
1 |
| getchr |
|
5 |
16 |
79 |
1 |
| Source file: ./usr.bin/less/search.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| is_ucase |
|
3 |
11 |
60 |
1 |
| set_pattern |
|
6 |
18 |
114 |
3 |
| clear_pattern |
|
1 |
6 |
30 |
1 |
| init_pattern |
|
1 |
6 |
27 |
1 |
| init_search |
|
1 |
5 |
18 |
1 |
| get_cvt_ops |
|
8 |
17 |
77 |
1 |
| prev_pattern |
|
2 |
6 |
39 |
1 |
| repaint_hilite |
|
7 |
29 |
122 |
1 |
| clear_attn |
|
10 |
35 |
163 |
1 |
| undo_search |
|
2 |
9 |
36 |
1 |
| clr_hlist |
|
2 |
11 |
61 |
1 |
| clr_hilite |
|
1 |
4 |
12 |
1 |
| clr_filter |
|
1 |
4 |
12 |
1 |
| is_hilited_range |
|
5 |
10 |
66 |
2 |
| is_filtered |
|
4 |
11 |
63 |
1 |
| is_hilited |
|
12 |
21 |
119 |
4 |
| add_hilite |
|
6 |
20 |
132 |
2 |
| create_hilites |
|
5 |
17 |
143 |
4 |
| hilite_line |
|
6 |
21 |
147 |
6 |
| chg_caseless |
|
2 |
7 |
22 |
1 |
| hilite_screen |
|
2 |
9 |
47 |
1 |
| chg_hilite |
|
2 |
7 |
24 |
1 |
| search_pos |
|
16 |
53 |
244 |
1 |
| search_range |
|
25 |
93 |
542 |
7 |
| hist_pattern |
|
5 |
13 |
72 |
1 |
| search |
|
19 |
54 |
308 |
3 |
| prep_hilite |
|
22 |
59 |
308 |
3 |
| set_filter_pattern |
|
3 |
9 |
50 |
2 |
| is_filtering |
|
2 |
6 |
28 |
1 |
| Source file: ./usr.bin/less/output.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| put_line |
|
4 |
18 |
82 |
1 |
| flush |
|
6 |
17 |
88 |
1 |
| putchr |
|
3 |
11 |
55 |
1 |
| putstr |
|
2 |
5 |
26 |
1 |
| iprint_int |
|
1 |
7 |
37 |
1 |
| iprint_linenum |
|
1 |
7 |
38 |
1 |
| less_printf |
|
7 |
33 |
144 |
2 |
| get_return |
|
5 |
7 |
38 |
1 |
| error |
|
7 |
28 |
138 |
2 |
| ierror |
|
1 |
11 |
54 |
2 |
| query |
|
6 |
18 |
95 |
2 |
| Source file: ./usr.bin/less/decode.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| expand_special_keys |
|
10 |
32 |
179 |
2 |
| init_cmds |
|
2 |
13 |
91 |
1 |
| add_cmd_table |
|
3 |
15 |
97 |
3 |
| add_fcmd_table |
|
2 |
5 |
32 |
2 |
| add_ecmd_table |
|
2 |
5 |
32 |
2 |
| add_var_table |
|
2 |
6 |
37 |
3 |
| cmd_search |
|
14 |
39 |
224 |
4 |
| cmd_decode |
|
4 |
13 |
86 |
3 |
| fcmd_decode |
|
1 |
4 |
25 |
2 |
| ecmd_decode |
|
1 |
4 |
25 |
2 |
| lgetenv |
|
7 |
21 |
123 |
1 |
| gint |
|
1 |
7 |
36 |
1 |
| old_lesskey |
|
3 |
7 |
49 |
2 |
| new_lesskey |
|
10 |
36 |
182 |
3 |
| lesskey |
|
12 |
38 |
274 |
2 |
| add_hometable |
|
5 |
18 |
106 |
3 |
| editchar |
|
20 |
54 |
243 |
2 |
| Source file: ./usr.bin/less/brac.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| match_brac |
|
17 |
37 |
227 |
4 |
| Source file: ./usr.bin/less/lesskey.h |
| Source file: ./usr.bin/less/charset.h |
| Source file: ./usr.bin/less/cvt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cvt_length |
|
2 |
6 |
22 |
1 |
| cvt_alloc_chpos |
|
2 |
8 |
50 |
1 |
| cvt_text |
|
21 |
41 |
288 |
5 |
| Source file: ./usr.bin/less/cmd.h |
| Source file: ./usr.bin/less/ch.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ch_get |
|
36 |
108 |
645 |
1 |
| ch_ungetchar |
|
3 |
6 |
30 |
1 |
| end_logfile |
|
6 |
16 |
73 |
1 |
| sync_logfile |
|
5 |
25 |
129 |
1 |
| buffered |
|
2 |
13 |
60 |
1 |
| ch_seek |
|
12 |
26 |
144 |
1 |
| ch_end_seek |
|
6 |
15 |
78 |
1 |
| ch_beg_seek |
|
4 |
17 |
91 |
1 |
| ch_length |
|
4 |
10 |
44 |
1 |
| ch_tell |
|
2 |
6 |
29 |
1 |
| ch_forw_get |
|
4 |
16 |
65 |
1 |
| ch_back_get |
|
6 |
16 |
80 |
1 |
| ch_setbufspace |
|
3 |
10 |
49 |
1 |
| ch_flush |
|
6 |
24 |
118 |
1 |
| ch_addbuf |
|
2 |
14 |
74 |
1 |
| init_hashtbl |
|
2 |
8 |
52 |
1 |
| ch_delbufs |
|
2 |
11 |
44 |
1 |
| seekable |
|
1 |
4 |
28 |
1 |
| ch_set_eof |
|
1 |
4 |
10 |
1 |
| ch_init |
|
5 |
23 |
152 |
2 |
| ch_close |
|
6 |
23 |
104 |
1 |
| ch_getflags |
|
2 |
6 |
22 |
1 |
| Source file: ./usr.bin/less/filename.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| shell_unquote |
|
8 |
27 |
154 |
1 |
| get_meta_escape |
|
2 |
8 |
32 |
1 |
| metachars |
|
3 |
10 |
43 |
1 |
| metachar |
|
1 |
4 |
21 |
1 |
| shell_quote |
|
10 |
40 |
221 |
1 |
| dirfile |
|
4 |
19 |
106 |
2 |
| homefile |
|
1 |
4 |
21 |
1 |
| fexpand |
|
15 |
53 |
289 |
1 |
| fcomplete |
|
3 |
17 |
85 |
1 |
| bin_file |
|
9 |
24 |
175 |
1 |
| readfd |
|
5 |
25 |
147 |
1 |
| shellcmd |
|
4 |
22 |
118 |
1 |
| lglob |
|
8 |
43 |
256 |
1 |
| expand_pct_s |
|
9 |
51 |
316 |
2 |
| open_altfile |
|
14 |
54 |
306 |
3 |
| close_altfile |
|
6 |
22 |
122 |
3 |
| is_dir |
|
2 |
11 |
62 |
1 |
| bad_file |
|
6 |
22 |
121 |
1 |
| filesize |
|
2 |
7 |
36 |
1 |
| last_component |
|
3 |
10 |
52 |
1 |
| Source file: ./usr.bin/less/os.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| iread |
|
4 |
15 |
76 |
3 |
| errno_message |
|
1 |
4 |
23 |
1 |
| muldiv |
|
1 |
5 |
43 |
3 |
| percentage |
|
1 |
4 |
28 |
2 |
| percent_pos |
|
2 |
7 |
58 |
3 |
| Source file: ./usr.bin/less/funcs.h |
| Source file: ./usr.bin/less/lsystem.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| lsystem |
|
10 |
61 |
335 |
2 |
| pipe_mark |
|
6 |
19 |
135 |
2 |
| pipe_data |
|
11 |
45 |
247 |
3 |
| Source file: ./usr.bin/less/cmdbuf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cmd_reset |
|
1 |
10 |
36 |
1 |
| clear_cmd |
|
1 |
6 |
21 |
1 |
| cmd_putstr |
|
7 |
22 |
124 |
1 |
| len_cmdbuf |
|
2 |
11 |
56 |
1 |
| cmd_step_common |
|
20 |
45 |
266 |
5 |
| cmd_step_right |
|
1 |
6 |
60 |
3 |
| cmd_step_left |
|
1 |
6 |
56 |
3 |
| cmd_repaint |
|
6 |
25 |
128 |
1 |
| cmd_home |
|
3 |
11 |
54 |
1 |
| cmd_lshift |
|
5 |
25 |
124 |
1 |
| cmd_rshift |
|
3 |
17 |
82 |
1 |
| cmd_right |
|
7 |
26 |
139 |
1 |
| cmd_left |
|
6 |
21 |
96 |
1 |
| cmd_ichar |
|
4 |
16 |
113 |
2 |
| cmd_erase |
|
7 |
21 |
110 |
1 |
| cmd_delete |
|
2 |
9 |
33 |
1 |
| cmd_werase |
|
7 |
11 |
72 |
1 |
| cmd_wdelete |
|
5 |
11 |
56 |
1 |
| cmd_kill |
|
3 |
14 |
61 |
1 |
| set_mlist |
|
2 |
7 |
36 |
2 |
| cmd_updown |
|
9 |
32 |
174 |
1 |
| cmd_addhist |
|
4 |
16 |
113 |
2 |
| cmd_accept |
|
2 |
7 |
27 |
1 |
| cmd_edit |
|
31 |
82 |
382 |
1 |
| cmd_istr |
|
3 |
16 |
90 |
1 |
| delimit_word |
|
18 |
38 |
226 |
1 |
| init_compl |
|
4 |
27 |
148 |
1 |
| next_compl |
|
3 |
10 |
50 |
2 |
| cmd_complete |
|
14 |
44 |
222 |
1 |
| cmd_char |
|
14 |
54 |
249 |
1 |
| cmd_int |
|
4 |
13 |
88 |
1 |
| get_cmdbuf |
|
1 |
4 |
11 |
1 |
| cmd_lastpattern |
|
2 |
6 |
28 |
1 |
| histfile_name |
|
8 |
18 |
120 |
1 |
| init_cmdhist |
|
13 |
38 |
232 |
1 |
| save_mlist |
|
6 |
19 |
126 |
2 |
| save_cmdhist |
|
9 |
33 |
202 |
1 |
| Source file: ./usr.bin/less/option.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| opt_desc |
|
2 |
10 |
78 |
1 |
| propt |
|
1 |
6 |
39 |
1 |
| scan_option |
|
64 |
190 |
877 |
1 |
| toggle_option |
|
40 |
107 |
574 |
4 |
| flip_triple |
|
4 |
7 |
41 |
2 |
| opt_has_param |
|
3 |
8 |
46 |
1 |
| opt_prompt |
|
3 |
6 |
44 |
1 |
| isoptpending |
|
1 |
4 |
13 |
1 |
| nostring |
|
1 |
6 |
25 |
1 |
| nopendopt |
|
1 |
4 |
14 |
1 |
| optstring |
|
9 |
24 |
152 |
4 |
| num_error |
|
3 |
13 |
62 |
2 |
| getnum |
|
8 |
23 |
134 |
3 |
| getfraction |
|
9 |
23 |
146 |
3 |
| get_quit_at_eof |
|
1 |
4 |
11 |
1 |
| Source file: ./usr.bin/less/optfunc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| opt_o |
|
8 |
35 |
145 |
2 |
| opt__O |
|
1 |
5 |
22 |
2 |
| opt_j |
|
10 |
43 |
216 |
2 |
| calc_jump_sline |
|
2 |
6 |
22 |
1 |
| opt_shift |
|
10 |
43 |
216 |
2 |
| calc_shift_count |
|
2 |
6 |
22 |
1 |
| opt_k |
|
3 |
12 |
50 |
2 |
| opt_t |
|
6 |
24 |
104 |
2 |
| opt__T |
|
4 |
17 |
67 |
2 |
| opt_p |
|
3 |
11 |
41 |
2 |
| opt__P |
|
10 |
25 |
174 |
2 |
| opt_b |
|
4 |
11 |
35 |
2 |
| opt_i |
|
4 |
11 |
34 |
2 |
| opt__V |
|
4 |
27 |
113 |
2 |
| opt_x |
|
13 |
47 |
331 |
2 |
| opt_quote |
|
8 |
31 |
148 |
2 |
| opt_query |
|
4 |
11 |
39 |
2 |
| get_swindow |
|
2 |
6 |
24 |
1 |
| Source file: ./usr.bin/less/screen.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| raw_mode |
|
8 |
32 |
210 |
1 |
| scrsize |
|
12 |
28 |
187 |
1 |
| special_key_str |
|
13 |
45 |
155 |
1 |
| get_term |
|
50 |
113 |
675 |
1 |
| inc_costcount |
|
1 |
5 |
15 |
1 |
| cost |
|
1 |
6 |
29 |
1 |
| cheaper |
|
6 |
14 |
85 |
3 |
| tmodes |
|
5 |
20 |
101 |
6 |
| init |
|
5 |
14 |
79 |
1 |
| deinit |
|
4 |
10 |
51 |
1 |
| home |
|
1 |
4 |
18 |
1 |
| add_line |
|
1 |
4 |
18 |
1 |
| lower_left |
|
1 |
4 |
18 |
1 |
| line_left |
|
1 |
4 |
18 |
1 |
| goto_line |
|
1 |
5 |
40 |
1 |
| vbell |
|
2 |
6 |
27 |
1 |
| beep |
|
1 |
4 |
17 |
1 |
| ring_bell |
|
2 |
7 |
21 |
1 |
| do_clear |
|
1 |
4 |
18 |
1 |
| clear_eol |
|
1 |
4 |
18 |
1 |
| clear_eol_bot |
|
2 |
7 |
35 |
1 |
| clear_bot |
|
3 |
16 |
50 |
1 |
| at_enter |
|
5 |
13 |
90 |
1 |
| at_exit |
|
5 |
12 |
82 |
1 |
| at_switch |
|
2 |
9 |
45 |
1 |
| is_at_equiv |
|
1 |
6 |
31 |
2 |
| apply_at_specials |
|
3 |
9 |
40 |
1 |
| putbs |
|
1 |
4 |
18 |
1 |
| Source file: ./usr.bin/less/line.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| init_line |
|
5 |
12 |
78 |
1 |
| expand_linebuf |
|
3 |
15 |
87 |
1 |
| is_ascii_char |
|
1 |
4 |
14 |
1 |
| prewind |
|
2 |
13 |
46 |
1 |
| plinenum |
|
10 |
38 |
207 |
1 |
| pshift |
|
32 |
84 |
533 |
1 |
| pshift_all |
|
1 |
4 |
11 |
1 |
| attr_swidth |
|
5 |
14 |
64 |
1 |
| attr_ewidth |
|
5 |
14 |
64 |
1 |
| pwidth |
|
15 |
24 |
180 |
3 |
| backc |
|
5 |
18 |
125 |
1 |
| in_ansi_esc_seq |
|
4 |
12 |
71 |
1 |
| is_ansi_end |
|
2 |
6 |
35 |
1 |
| is_ansi_middle |
|
3 |
8 |
47 |
1 |
| store_char |
|
19 |
54 |
342 |
4 |
| store_tab |
|
7 |
21 |
152 |
2 |
| store_prchar |
|
3 |
12 |
86 |
2 |
| flush_mbc_buf |
|
3 |
8 |
47 |
1 |
| pappend |
|
19 |
63 |
342 |
2 |
| do_append |
|
38 |
83 |
542 |
3 |
| pflushmbc |
|
2 |
9 |
35 |
1 |
| pdone |
|
20 |
38 |
268 |
2 |
| set_status_col |
|
1 |
5 |
23 |
1 |
| gline |
|
5 |
16 |
76 |
2 |
| null_line |
|
1 |
5 |
14 |
1 |
| forw_raw_line |
|
12 |
30 |
166 |
3 |
| back_raw_line |
|
12 |
36 |
204 |
3 |
| Source file: ./usr.bin/less/prompt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| init_prompt |
|
3 |
9 |
65 |
1 |
| ap_str |
|
2 |
10 |
59 |
1 |
| ap_char |
|
1 |
7 |
32 |
1 |
| ap_pos |
|
1 |
6 |
30 |
1 |
| ap_int |
|
1 |
6 |
28 |
1 |
| ap_quest |
|
1 |
4 |
11 |
1 |
| curr_byte |
|
5 |
10 |
60 |
1 |
| cond |
|
23 |
39 |
246 |
2 |
| protochar |
|
42 |
122 |
562 |
2 |
| skipcond |
|
9 |
25 |
90 |
1 |
| wherechar |
|
11 |
15 |
113 |
2 |
| pr_expand |
|
14 |
50 |
243 |
2 |
| eq_message |
|
1 |
4 |
16 |
1 |
| prompt_string |
|
2 |
10 |
54 |
1 |
| wait_message |
|
1 |
4 |
22 |
1 |
| Source file: ./usr.bin/less/lesskey.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usage |
|
1 |
5 |
21 |
1 |
| mkpathname |
|
2 |
13 |
83 |
2 |
| homefile |
|
3 |
13 |
73 |
1 |
| parse_args |
|
17 |
55 |
275 |
2 |
| init_tables |
|
1 |
9 |
48 |
1 |
| tstr |
|
37 |
94 |
593 |
2 |
| skipsp |
|
3 |
6 |
28 |
1 |
| skipnsp |
|
4 |
6 |
33 |
1 |
| clean_line |
|
7 |
10 |
86 |
1 |
| add_cmd_char |
|
2 |
8 |
44 |
1 |
| add_cmd_str |
|
2 |
5 |
25 |
1 |
| control_line |
|
5 |
21 |
102 |
1 |
| fputbytes |
|
2 |
7 |
44 |
3 |
| fputint |
|
2 |
13 |
94 |
2 |
| findaction |
|
3 |
9 |
71 |
1 |
| lkerr |
|
1 |
5 |
25 |
1 |
| parse_cmdline |
|
8 |
38 |
199 |
1 |
| parse_varline |
|
7 |
21 |
125 |
1 |
| parse_line |
|
4 |
13 |
55 |
1 |
| main |
|
9 |
53 |
398 |
2 |
| Source file: ./usr.bin/less/option.h |
| Source file: ./usr.bin/less/position.h |
| Source file: ./usr.bin/less/jump.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| jump_forw |
|
4 |
20 |
95 |
1 |
| jump_back |
|
6 |
17 |
100 |
1 |
| repaint |
|
1 |
7 |
31 |
1 |
| jump_percent |
|
4 |
16 |
95 |
2 |
| jump_line_loc |
|
6 |
14 |
76 |
2 |
| jump_loc |
|
17 |
62 |
354 |
2 |
| Source file: ./usr.bin/less/signal.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| u_interrupt |
|
1 |
4 |
11 |
1 |
| stop |
|
1 |
4 |
11 |
1 |
| sigwinch |
|
1 |
4 |
11 |
1 |
| init_signals |
|
2 |
14 |
96 |
1 |
| psignals |
|
8 |
39 |
185 |
1 |
| lsignal |
|
2 |
10 |
69 |
2 |
| Source file: ./usr.bin/less/position.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| position |
|
4 |
14 |
56 |
1 |
| add_forw_pos |
|
2 |
7 |
44 |
1 |
| add_back_pos |
|
2 |
7 |
44 |
1 |
| pos_clear |
|
2 |
6 |
30 |
1 |
| pos_init |
|
4 |
17 |
89 |
1 |
| onscreen |
|
4 |
10 |
60 |
1 |
| empty_screen |
|
1 |
4 |
18 |
1 |
| empty_lines |
|
4 |
8 |
53 |
2 |
| get_scrpos |
|
3 |
11 |
63 |
1 |
| adjsline |
|
4 |
10 |
46 |
1 |
| Source file: ./usr.bin/less/main.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
48 |
140 |
767 |
2 |
| ecalloc |
|
2 |
10 |
52 |
2 |
| easprintf |
|
3 |
14 |
76 |
2 |
| estrdup |
|
2 |
10 |
45 |
1 |
| skipsp |
|
3 |
6 |
28 |
1 |
| sprefix |
|
7 |
21 |
111 |
3 |
| quit |
|
5 |
18 |
73 |
1 |
| helpfile |
|
2 |
4 |
17 |
1 |
| Source file: ./usr.bin/less/opttbl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| init_option |
|
4 |
10 |
69 |
1 |
| findopt |
|
5 |
12 |
77 |
1 |
| is_optchar |
|
4 |
7 |
35 |
1 |
| findopt_name |
|
14 |
43 |
270 |
3 |
| Source file: ./usr.bin/less/input.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| forw_line |
|
40 |
119 |
610 |
1 |
| back_line |
|
35 |
104 |
531 |
1 |
| set_attnpos |
|
11 |
24 |
104 |
1 |
| Source file: ./usr.bin/less/linenum.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| clr_linenum |
|
2 |
13 |
92 |
1 |
| calcgap |
|
3 |
6 |
41 |
1 |
| add_lnum |
|
8 |
40 |
237 |
2 |
| timeout_set |
|
1 |
5 |
21 |
1 |
| timeout_elapsed |
|
1 |
6 |
30 |
1 |
| longish |
|
4 |
10 |
43 |
1 |
| abort_long |
|
2 |
7 |
27 |
1 |
| find_linenum |
|
18 |
52 |
330 |
1 |
| find_pos |
|
15 |
40 |
273 |
1 |
| currline |
|
6 |
16 |
84 |
1 |
| Source file: ./usr.bin/less/command.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cmd_exec |
|
1 |
6 |
19 |
1 |
| start_mca |
|
1 |
8 |
47 |
4 |
| in_mca |
|
2 |
4 |
17 |
1 |
| mca_search |
|
10 |
28 |
131 |
1 |
| mca_opt_toggle |
|
6 |
26 |
112 |
1 |
| exec_mca |
|
20 |
64 |
304 |
1 |
| is_erase_char |
|
3 |
4 |
22 |
1 |
| mca_opt_first_char |
|
9 |
32 |
143 |
1 |
| mca_opt_nonfirst_char |
|
9 |
27 |
156 |
1 |
| mca_opt_char |
|
13 |
38 |
223 |
1 |
| mca_search_char |
|
14 |
35 |
144 |
1 |
| mca_char |
|
20 |
45 |
219 |
1 |
| clear_buffers |
|
2 |
8 |
31 |
1 |
| make_display |
|
5 |
21 |
97 |
1 |
| prompt |
|
14 |
32 |
167 |
1 |
| dispversion |
|
1 |
6 |
23 |
1 |
| getcc |
|
8 |
28 |
125 |
1 |
| ungetcc |
|
1 |
8 |
43 |
1 |
| ungetsc |
|
2 |
6 |
38 |
1 |
| multi_search |
|
12 |
46 |
198 |
2 |
| forw_loop |
|
9 |
24 |
117 |
1 |
| commands |
|
159 |
471 |
2245 |
1 |
| Source file: ./usr.bin/m4/pathnames.h |
| Source file: ./usr.bin/less/pattern.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| compile_pattern2 |
|
5 |
16 |
100 |
3 |
| compile_pattern |
|
3 |
15 |
92 |
3 |
| uncompile_pattern |
|
2 |
6 |
26 |
1 |
| match |
|
8 |
20 |
135 |
6 |
| match_pattern |
|
8 |
26 |
187 |
8 |
| Source file: ./usr.bin/m4/mdef.h |
| Source file: ./usr.bin/m4/trace.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| trace_file |
|
4 |
8 |
45 |
1 |
| letter_to_flag |
|
12 |
29 |
84 |
1 |
| set_trace_flags |
|
7 |
20 |
85 |
1 |
| frame_level |
|
2 |
9 |
43 |
0 |
| print_header |
|
4 |
11 |
76 |
1 |
| trace |
|
11 |
38 |
248 |
3 |
| finish_trace |
|
3 |
10 |
58 |
1 |
| Source file: ./usr.bin/touch/touch.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
28 |
75 |
457 |
2 |
| stime_arg1 |
|
21 |
65 |
419 |
2 |
| stime_arg2 |
|
11 |
34 |
249 |
3 |
| stime_file |
|
2 |
8 |
54 |
2 |
| stime_argd |
|
15 |
40 |
286 |
2 |
| usage |
|
1 |
7 |
22 |
1 |
| Source file: ./usr.bin/m4/stdd.h |
| Source file: ./usr.bin/less/edit.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| init_textlist |
|
10 |
27 |
177 |
2 |
| forw_textlist |
|
5 |
15 |
80 |
2 |
| back_textlist |
|
7 |
17 |
97 |
2 |
| close_file |
|
4 |
20 |
90 |
1 |
| edit |
|
2 |
6 |
35 |
1 |
| edit_ifile |
|
29 |
121 |
662 |
1 |
| edit_list |
|
7 |
35 |
191 |
1 |
| edit_first |
|
1 |
5 |
18 |
1 |
| edit_last |
|
1 |
5 |
18 |
1 |
| edit_istep |
|
7 |
19 |
96 |
3 |
| edit_inext |
|
1 |
4 |
23 |
2 |
| edit_next |
|
1 |
4 |
20 |
1 |
| edit_iprev |
|
1 |
4 |
23 |
2 |
| edit_prev |
|
1 |
4 |
20 |
1 |
| edit_index |
|
3 |
11 |
55 |
1 |
| save_curr_ifile |
|
2 |
6 |
24 |
1 |
| unsave_ifile |
|
2 |
5 |
21 |
1 |
| reedit_ifile |
|
6 |
15 |
82 |
1 |
| reopen_curr_ifile |
|
1 |
6 |
22 |
1 |
| edit_stdin |
|
3 |
14 |
51 |
1 |
| cat_file |
|
2 |
7 |
31 |
1 |
| use_logfile |
|
13 |
48 |
241 |
1 |
| Source file: ./usr.bin/m4/expr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| yyerror |
|
1 |
5 |
25 |
1 |
| expr |
|
1 |
7 |
25 |
1 |
| Source file: ./usr.bin/m4/extern.h |
| Source file: ./usr.bin/m4/misc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| indx |
|
2 |
9 |
47 |
2 |
| pushback |
|
3 |
8 |
31 |
1 |
| pbstr |
|
3 |
9 |
47 |
1 |
| pbnum |
|
1 |
4 |
16 |
1 |
| pbnumbase |
|
8 |
22 |
132 |
3 |
| pbunsigned |
|
2 |
7 |
31 |
1 |
| initspaces |
|
2 |
13 |
72 |
0 |
| enlarge_strspace |
|
4 |
18 |
115 |
0 |
| enlarge_bufspace |
|
2 |
13 |
89 |
0 |
| chrsave |
|
2 |
6 |
23 |
1 |
| getdiv |
|
3 |
11 |
75 |
1 |
| onintr |
|
1 |
5 |
26 |
1 |
| killdiv |
|
3 |
8 |
43 |
0 |
| m4errx |
|
2 |
13 |
78 |
3 |
| resizedivs |
|
2 |
9 |
53 |
1 |
| xalloc |
|
3 |
15 |
74 |
3 |
| xcalloc |
|
3 |
15 |
79 |
4 |
| xrealloc |
|
3 |
16 |
85 |
4 |
| xreallocarray |
|
3 |
16 |
90 |
5 |
| xstrdup |
|
2 |
7 |
34 |
1 |
| usage |
|
1 |
7 |
20 |
1 |
| obtain_char |
|
3 |
9 |
49 |
1 |
| set_input |
|
1 |
8 |
49 |
3 |
| do_emit_synchline |
|
1 |
6 |
40 |
0 |
| release_input |
|
3 |
8 |
50 |
1 |
| doprintlineno |
|
1 |
4 |
16 |
1 |
| doprintfilename |
|
1 |
6 |
26 |
1 |
| buffer_mark |
|
1 |
4 |
10 |
0 |
| dump_buffer |
|
2 |
6 |
38 |
2 |
| Source file: ./usr.bin/m4/look.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| hash_calloc |
|
1 |
5 |
31 |
3 |
| hash_free |
|
1 |
4 |
18 |
2 |
| element_alloc |
|
1 |
4 |
20 |
2 |
| init_macros |
|
1 |
4 |
16 |
0 |
| lookup |
|
1 |
4 |
24 |
1 |
| lookup_macro_definition |
|
2 |
9 |
41 |
1 |
| setup_definition |
|
4 |
17 |
131 |
3 |
| create_entry |
|
2 |
16 |
98 |
1 |
| macro_define |
|
3 |
12 |
88 |
2 |
| macro_pushdef |
|
1 |
10 |
67 |
2 |
| macro_undefine |
|
4 |
14 |
83 |
1 |
| macro_popdef |
|
4 |
13 |
70 |
1 |
| macro_for_all |
|
3 |
9 |
73 |
1 |
| setup_builtin |
|
2 |
17 |
127 |
2 |
| mark_traced |
|
4 |
17 |
90 |
2 |
| macro_getbuiltin |
|
3 |
9 |
38 |
1 |
| keep |
|
3 |
13 |
56 |
1 |
| string_in_use |
|
4 |
9 |
51 |
1 |
| free_definition |
|
5 |
17 |
87 |
1 |
| Source file: ./usr.bin/less/charset.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| checkfmt |
|
20 |
51 |
258 |
1 |
| setbinfmt |
|
11 |
26 |
158 |
3 |
| init_charset |
|
3 |
10 |
61 |
1 |
| binary_char |
|
3 |
7 |
46 |
1 |
| control_char |
|
3 |
7 |
49 |
1 |
| prchar |
|
7 |
14 |
139 |
1 |
| prutfchar |
|
14 |
40 |
291 |
1 |
| utf_len |
|
7 |
16 |
102 |
1 |
| is_utf8_well_formed |
|
9 |
23 |
169 |
1 |
| get_wchar |
|
7 |
39 |
339 |
1 |
| put_wchar |
|
7 |
31 |
548 |
2 |
| step_char |
|
10 |
30 |
179 |
3 |
| is_in_table |
|
5 |
19 |
113 |
3 |
| is_composing_char |
|
1 |
5 |
30 |
1 |
| is_ubin_char |
|
1 |
5 |
30 |
1 |
| is_wide_char |
|
1 |
5 |
30 |
1 |
| is_combining_char |
|
4 |
10 |
67 |
2 |
| Source file: ./usr.bin/m4/gnum4.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| new_path_entry |
|
2 |
10 |
55 |
1 |
| addtoincludepath |
|
2 |
11 |
44 |
1 |
| ensure_m4path |
|
4 |
18 |
85 |
0 |
| dopath |
|
3 |
14 |
95 |
2 |
| fopen_trypath |
|
3 |
13 |
71 |
2 |
| doindir |
|
3 |
10 |
90 |
2 |
| dobuiltin |
|
2 |
10 |
74 |
2 |
| addchars |
|
5 |
17 |
91 |
2 |
| addchar |
|
3 |
11 |
51 |
1 |
| getstring |
|
1 |
6 |
18 |
1 |
| exit_regerror |
|
1 |
10 |
73 |
3 |
| m4_warnx |
|
3 |
11 |
50 |
2 |
| add_sub |
|
4 |
10 |
86 |
4 |
| add_replace |
|
9 |
30 |
182 |
4 |
| do_subst |
|
9 |
33 |
233 |
5 |
| do_regexp |
|
3 |
15 |
92 |
5 |
| do_regexpindex |
|
3 |
15 |
85 |
4 |
| twiddle |
|
15 |
43 |
180 |
1 |
| dopatsubst |
|
14 |
41 |
301 |
2 |
| doregexp |
|
10 |
28 |
211 |
2 |
| doformat |
|
19 |
84 |
429 |
2 |
| doesyscmd |
|
10 |
39 |
267 |
1 |
| getdivfile |
|
3 |
11 |
60 |
1 |
| Source file: ./usr.bin/m4/main.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
34 |
112 |
584 |
2 |
| do_look_ahead |
|
5 |
15 |
98 |
2 |
| macro |
|
46 |
147 |
802 |
1 |
| outputstr |
|
3 |
8 |
33 |
1 |
| reallyoutputstr |
|
5 |
15 |
76 |
1 |
| reallyputchar |
|
4 |
9 |
52 |
1 |
| inspect |
|
11 |
29 |
180 |
2 |
| initkwds |
|
3 |
11 |
70 |
1 |
| record |
|
2 |
7 |
38 |
2 |
| dump_stack |
|
3 |
12 |
68 |
2 |
| enlarge_stack |
|
1 |
10 |
51 |
1 |
| Source file: ./usr.bin/spell/look.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| look |
|
3 |
11 |
80 |
3 |
| binary_search |
|
4 |
15 |
97 |
3 |
| linear_search |
|
4 |
13 |
72 |
3 |
| compare |
|
6 |
14 |
81 |
3 |
| Source file: ./usr.bin/m4/eval.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| eval |
|
5 |
15 |
97 |
4 |
| expand_builtin |
|
105 |
272 |
1525 |
3 |
| expand_macro |
|
23 |
66 |
311 |
2 |
| dodefine |
|
3 |
7 |
38 |
2 |
| dodefn |
|
3 |
14 |
75 |
1 |
| dopushdef |
|
3 |
7 |
38 |
2 |
| dump_one_def |
|
4 |
13 |
84 |
2 |
| dodump |
|
4 |
11 |
75 |
2 |
| dotrace |
|
3 |
9 |
59 |
3 |
| doifelse |
|
4 |
15 |
79 |
2 |
| doincl |
|
3 |
11 |
64 |
1 |
| dopaste |
|
4 |
15 |
89 |
1 |
| dochq |
|
3 |
14 |
108 |
2 |
| dochc |
|
3 |
14 |
94 |
2 |
| dom4wrap |
|
3 |
12 |
60 |
1 |
| dodiv |
|
8 |
21 |
119 |
1 |
| doundiv |
|
10 |
22 |
136 |
2 |
| dosub |
|
7 |
15 |
140 |
2 |
| map |
|
10 |
58 |
789 |
4 |
| handledash |
|
10 |
35 |
208 |
3 |
| Source file: ./usr.bin/file/xmalloc.h |
| Source file: ./usr.bin/file/magic-common.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| magic_strtoull |
|
7 |
15 |
101 |
2 |
| magic_strtoll |
|
6 |
15 |
96 |
2 |
| magic_vwarnm |
|
3 |
10 |
70 |
4 |
| magic_warnm |
|
1 |
7 |
45 |
4 |
| magic_warn |
|
1 |
7 |
46 |
3 |
| Source file: ./usr.bin/file/file.h |
| Source file: ./usr.bin/file/text.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| text_is_ascii |
|
4 |
9 |
53 |
1 |
| text_is_latin1 |
|
2 |
6 |
26 |
1 |
| text_is_extended |
|
2 |
6 |
26 |
1 |
| text_try_test |
|
3 |
10 |
67 |
3 |
| text_get_type |
|
4 |
10 |
65 |
2 |
| text_try_words |
|
11 |
29 |
204 |
3 |
| Source file: ./usr.bin/spell/spellprog.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
32 |
95 |
735 |
2 |
| print_word |
|
5 |
9 |
55 |
1 |
| suffix |
|
9 |
27 |
212 |
2 |
| nop |
|
1 |
4 |
24 |
4 |
| strip |
|
2 |
4 |
38 |
4 |
| s |
|
4 |
8 |
66 |
4 |
| an |
|
2 |
6 |
49 |
4 |
| ize |
|
1 |
5 |
39 |
4 |
| y_to_e |
|
2 |
9 |
62 |
4 |
| ily |
|
2 |
7 |
58 |
4 |
| ncy |
|
2 |
7 |
60 |
4 |
| bility |
|
1 |
5 |
39 |
4 |
| i_to_y |
|
2 |
8 |
57 |
4 |
| es |
|
7 |
16 |
90 |
4 |
| metry |
|
1 |
6 |
49 |
4 |
| tion |
|
4 |
11 |
69 |
4 |
| CCe |
|
18 |
34 |
197 |
4 |
| VCe |
|
6 |
16 |
116 |
4 |
| lookuppref |
|
6 |
20 |
122 |
2 |
| trypref |
|
6 |
27 |
172 |
3 |
| tryword |
|
12 |
25 |
202 |
3 |
| monosyl |
|
8 |
11 |
86 |
2 |
| skipv |
|
5 |
8 |
44 |
1 |
| vowel |
|
7 |
13 |
45 |
1 |
| ise |
|
5 |
18 |
119 |
1 |
| ztos |
|
3 |
6 |
29 |
1 |
| estrdup |
|
2 |
7 |
38 |
1 |
| dict |
|
4 |
16 |
108 |
2 |
| usage |
|
1 |
7 |
25 |
1 |
| Source file: ./usr.bin/file/xmalloc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| xmalloc |
|
3 |
10 |
49 |
1 |
| xcalloc |
|
4 |
10 |
60 |
2 |
| xreallocarray |
|
2 |
9 |
49 |
3 |
| xstrdup |
|
2 |
7 |
36 |
1 |
| xasprintf |
|
3 |
11 |
65 |
3 |
| Source file: ./usr.bin/file/file.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usage |
|
1 |
5 |
20 |
1 |
| main |
|
38 |
109 |
672 |
2 |
| prepare_input |
|
11 |
33 |
218 |
2 |
| read_link |
|
10 |
35 |
233 |
2 |
| fill_buffer |
|
6 |
25 |
125 |
3 |
| load_file |
|
8 |
26 |
196 |
1 |
| try_stat |
|
20 |
61 |
398 |
1 |
| try_empty |
|
3 |
10 |
52 |
1 |
| try_access |
|
7 |
17 |
152 |
1 |
| try_text |
|
7 |
29 |
184 |
1 |
| try_magic |
|
3 |
14 |
75 |
1 |
| try_unknown |
|
2 |
8 |
39 |
1 |
| test_file |
|
12 |
33 |
208 |
2 |
| Source file: ./usr.bin/file/magic-dump.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| magic_dump_line |
|
8 |
20 |
156 |
2 |
| magic_dump |
|
1 |
8 |
50 |
1 |
| Source file: ./usr.bin/nfsstat/nfsstat.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
21 |
79 |
459 |
2 |
| getnfsstats |
|
4 |
15 |
114 |
1 |
| intpr |
|
4 |
130 |
798 |
1 |
| sidewaysintpr |
|
6 |
66 |
409 |
2 |
| printhdr |
|
1 |
7 |
32 |
1 |
| catchalarm |
|
1 |
4 |
11 |
1 |
| usage |
|
1 |
7 |
25 |
1 |
| Source file: ./usr.bin/tty/tty.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
8 |
22 |
119 |
2 |
| usage |
|
1 |
5 |
18 |
1 |
| Source file: ./usr.bin/ctags/yacc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| y_entries |
|
29 |
63 |
290 |
1 |
| toss_yysec |
|
6 |
23 |
86 |
1 |
| Source file: ./usr.bin/file/magic.h |
| Source file: ./usr.bin/ctags/print.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| get_line |
|
11 |
34 |
205 |
1 |
| put_entries |
|
5 |
16 |
111 |
1 |
| Source file: ./usr.bin/ctags/lisp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| l_entries |
|
24 |
54 |
317 |
1 |
| Source file: ./usr.bin/ctags/tree.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pfnote |
|
11 |
37 |
258 |
2 |
| add_node |
|
9 |
29 |
162 |
2 |
| free_tree |
|
3 |
12 |
62 |
1 |
| Source file: ./usr.bin/ctags/ctags.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
24 |
77 |
368 |
2 |
| init |
|
5 |
13 |
104 |
1 |
| find_entries |
|
14 |
40 |
225 |
1 |
| preload_entries |
|
15 |
53 |
371 |
3 |
| Source file: ./usr.bin/ctags/ctags.h |
| Source file: ./usr.bin/look/pathnames.h |
| Source file: ./usr.bin/ctags/fortran.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| PF_funcs |
|
34 |
80 |
405 |
1 |
| cicmp |
|
4 |
13 |
75 |
1 |
| takeprec |
|
6 |
14 |
85 |
1 |
| Source file: ./usr.bin/logger/logger.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
19 |
63 |
384 |
2 |
| pencode |
|
6 |
27 |
147 |
1 |
| decode |
|
5 |
14 |
98 |
2 |
| usage |
|
1 |
6 |
21 |
1 |
| Source file: ./usr.bin/ypmatch/ypmatch.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usage |
|
1 |
13 |
30 |
1 |
| main |
|
16 |
63 |
377 |
2 |
| Source file: ./usr.bin/look/look.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
14 |
50 |
318 |
2 |
| look |
|
7 |
17 |
131 |
3 |
| binary_search |
|
4 |
15 |
97 |
3 |
| linear_search |
|
5 |
17 |
74 |
3 |
| print_from |
|
7 |
10 |
87 |
3 |
| compare |
|
10 |
16 |
112 |
3 |
| usage |
|
1 |
6 |
21 |
1 |
| Source file: ./usr.bin/logname/logname.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usage |
|
1 |
5 |
21 |
1 |
| main |
|
5 |
18 |
111 |
2 |
| Source file: ./usr.bin/ssh/atomicio.h |
| Source file: ./usr.bin/file/magic-load.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| magic_odigit |
|
3 |
6 |
30 |
1 |
| magic_xdigit |
|
7 |
10 |
68 |
1 |
| magic_mark_text |
|
2 |
7 |
34 |
2 |
| magic_make_pattern |
|
2 |
13 |
87 |
4 |
| magic_set_result |
|
117 |
187 |
851 |
2 |
| magic_get_strength |
|
81 |
128 |
458 |
1 |
| magic_get_string |
|
37 |
98 |
528 |
3 |
| magic_parse_offset |
|
26 |
89 |
538 |
2 |
| magic_parse_type |
|
91 |
197 |
1752 |
2 |
| magic_parse_value |
|
49 |
118 |
801 |
2 |
| magic_compare |
|
5 |
12 |
81 |
2 |
| magic_named_compare |
|
1 |
4 |
28 |
2 |
| magic_adjust_strength |
|
12 |
29 |
206 |
4 |
| magic_set_mimetype |
|
12 |
30 |
211 |
4 |
| magic_load |
|
25 |
85 |
604 |
3 |
| Source file: ./usr.bin/file/magic-test.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| magic_get_named |
|
1 |
6 |
40 |
2 |
| magic_reverse_type |
|
34 |
73 |
294 |
2 |
| magic_one_eq |
|
5 |
8 |
59 |
3 |
| magic_test_eq |
|
14 |
36 |
221 |
7 |
| magic_copy_from |
|
3 |
9 |
65 |
4 |
| magic_add_result |
|
9 |
36 |
227 |
4 |
| magic_add_string |
|
5 |
19 |
135 |
4 |
| magic_test_signed |
|
9 |
22 |
115 |
3 |
| magic_test_unsigned |
|
9 |
22 |
115 |
3 |
| magic_test_double |
|
3 |
10 |
47 |
3 |
| magic_test_type_none |
|
1 |
5 |
21 |
2 |
| magic_test_type_byte |
|
11 |
27 |
225 |
2 |
| magic_test_type_short |
|
13 |
31 |
265 |
2 |
| magic_test_type_long |
|
13 |
31 |
265 |
2 |
| magic_test_type_quad |
|
13 |
31 |
266 |
2 |
| magic_test_type_ubyte |
|
11 |
27 |
226 |
2 |
| magic_test_type_ushort |
|
13 |
31 |
256 |
2 |
| magic_test_type_ulong |
|
13 |
31 |
256 |
2 |
| magic_test_type_uquad |
|
13 |
31 |
257 |
2 |
| magic_test_type_float |
|
7 |
21 |
168 |
2 |
| magic_test_type_double |
|
7 |
21 |
168 |
2 |
| magic_test_type_string |
|
19 |
62 |
326 |
2 |
| magic_test_type_pstring |
|
16 |
55 |
310 |
2 |
| magic_test_type_date |
|
15 |
41 |
296 |
2 |
| magic_test_type_qdate |
|
15 |
41 |
296 |
2 |
| magic_test_type_udate |
|
15 |
41 |
296 |
2 |
| magic_test_type_uqdate |
|
15 |
41 |
276 |
2 |
| magic_test_type_bestring16 |
|
1 |
5 |
22 |
2 |
| magic_test_type_lestring16 |
|
1 |
5 |
22 |
2 |
| magic_test_type_melong |
|
1 |
5 |
22 |
2 |
| magic_test_type_medate |
|
1 |
5 |
22 |
2 |
| magic_test_type_meldate |
|
1 |
5 |
22 |
2 |
| magic_test_type_regex |
|
11 |
44 |
265 |
2 |
| magic_test_type_search |
|
35 |
86 |
585 |
2 |
| magic_test_type_default |
|
3 |
6 |
46 |
2 |
| magic_test_type_clear |
|
2 |
6 |
38 |
2 |
| magic_test_type_name |
|
1 |
5 |
22 |
2 |
| magic_test_type_use |
|
1 |
5 |
21 |
2 |
| magic_test_children |
|
1 |
20 |
113 |
4 |
| magic_test_line |
|
37 |
109 |
724 |
2 |
| magic_test |
|
6 |
23 |
161 |
4 |
| Source file: ./usr.bin/ctags/C.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| c_entries |
|
45 |
127 |
597 |
1 |
| func_entry |
|
27 |
75 |
355 |
1 |
| hash_entry |
|
20 |
51 |
268 |
1 |
| str_entry |
|
13 |
40 |
193 |
1 |
| skip_comment |
|
8 |
24 |
87 |
1 |
| skip_string |
|
6 |
17 |
64 |
1 |
| skip_key |
|
13 |
39 |
157 |
1 |
| Source file: ./usr.bin/ssh/kexecdh.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| kex_ecdh_hash |
|
18 |
44 |
346 |
15 |
| Source file: ./usr.bin/ssh/pathnames.h |
| Source file: ./usr.bin/ssh/sftp-common.h |
| Source file: ./usr.bin/ssh/cipher-chachapoly.h |
| Source file: ./usr.bin/su/su.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
98 |
237 |
1652 |
2 |
| verify_user |
|
14 |
30 |
259 |
5 |
| chshell |
|
3 |
14 |
64 |
1 |
| ontty |
|
2 |
9 |
56 |
1 |
| getloginname |
|
7 |
24 |
120 |
1 |
| usage |
|
1 |
9 |
39 |
1 |
| auth_err |
|
1 |
9 |
50 |
4 |
| auth_errx |
|
1 |
9 |
50 |
4 |
| Source file: ./usr.bin/ssh/hmac.h |
| Source file: ./usr.bin/ssh/groupaccess.h |
| Source file: ./usr.bin/ssh/dispatch.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dispatch_protocol_error |
|
5 |
11 |
89 |
3 |
| dispatch_protocol_ignore |
|
1 |
5 |
27 |
3 |
| ssh_dispatch_init |
|
2 |
6 |
38 |
2 |
| ssh_dispatch_range |
|
3 |
9 |
54 |
4 |
| ssh_dispatch_set |
|
1 |
4 |
25 |
3 |
| ssh_dispatch_run |
|
14 |
38 |
206 |
3 |
| ssh_dispatch_run_fatal |
|
2 |
6 |
46 |
3 |
| Source file: ./usr.bin/ssh/serverloop.h |
| Source file: ./usr.bin/ssh/kexgexc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| kexgex_client |
|
8 |
27 |
201 |
1 |
| input_kex_dh_gex_group |
|
17 |
45 |
340 |
3 |
| input_kex_dh_gex_reply |
|
28 |
106 |
726 |
3 |
| Source file: ./usr.bin/ssh/myproposal.h |
| Source file: ./usr.bin/ssh/match.h |
| Source file: ./usr.bin/ssh/krl.h |
| Source file: ./usr.bin/ssh/atomicio.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| atomicio6 |
|
9 |
33 |
200 |
6 |
| atomicio |
|
1 |
4 |
44 |
4 |
| atomiciov6 |
|
18 |
53 |
361 |
6 |
| atomiciov |
|
1 |
5 |
48 |
4 |
| Source file: ./usr.bin/ssh/sshbuf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sshbuf_check_sanity |
|
14 |
19 |
132 |
1 |
| sshbuf_maybe_pack |
|
7 |
14 |
112 |
2 |
| sshbuf_new |
|
3 |
16 |
99 |
1 |
| sshbuf_from |
|
4 |
14 |
94 |
2 |
| sshbuf_set_parent |
|
3 |
10 |
60 |
2 |
| sshbuf_fromb |
|
4 |
13 |
74 |
1 |
| sshbuf_init |
|
2 |
11 |
79 |
1 |
| sshbuf_free |
|
6 |
21 |
115 |
1 |
| sshbuf_reset |
|
5 |
18 |
115 |
1 |
| sshbuf_max_size |
|
1 |
4 |
15 |
1 |
| sshbuf_alloc |
|
1 |
4 |
15 |
1 |
| sshbuf_parent |
|
1 |
4 |
15 |
1 |
| sshbuf_refcount |
|
1 |
4 |
15 |
1 |
| sshbuf_set_max_size |
|
12 |
34 |
221 |
2 |
| sshbuf_len |
|
2 |
6 |
31 |
1 |
| sshbuf_avail |
|
4 |
6 |
47 |
1 |
| sshbuf_ptr |
|
2 |
6 |
31 |
1 |
| sshbuf_mutable_ptr |
|
4 |
6 |
41 |
1 |
| sshbuf_check_reserve |
|
6 |
12 |
80 |
2 |
| sshbuf_allocate |
|
6 |
30 |
228 |
2 |
| sshbuf_reserve |
|
4 |
15 |
93 |
3 |
| sshbuf_consume |
|
5 |
16 |
95 |
2 |
| sshbuf_consume_end |
|
4 |
14 |
75 |
2 |
| Source file: ./usr.bin/ssh/ttymodes.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| speed_to_baud |
|
37 |
57 |
168 |
1 |
| baud_to_speed |
|
37 |
57 |
168 |
1 |
| tty_make_modes |
|
4 |
29 |
174 |
2 |
| tty_parse_modes |
|
16 |
60 |
304 |
2 |
| Source file: ./usr.bin/ssh/version.h |
| Source file: ./usr.bin/ssh/utf8.h |
| Source file: ./usr.bin/ssh/kexgex.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| kexgex_hash |
|
23 |
51 |
435 |
19 |
| Source file: ./usr.bin/ssh/crc32.h |
| Source file: ./usr.bin/ssh/ssh_api.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mm_sshkey_sign |
|
1 |
5 |
37 |
7 |
| mm_choose_dh |
|
1 |
4 |
18 |
3 |
| ssh_init |
|
9 |
49 |
389 |
3 |
| ssh_free |
|
6 |
18 |
126 |
1 |
| ssh_set_app_data |
|
1 |
4 |
19 |
2 |
| ssh_get_app_data |
|
1 |
4 |
14 |
1 |
| ssh_add_hostkey |
|
6 |
28 |
200 |
2 |
| ssh_set_verify_host_key_callback |
|
3 |
8 |
50 |
2 |
| ssh_input_append |
|
1 |
4 |
30 |
3 |
| ssh_packet_next |
|
11 |
23 |
148 |
2 |
| ssh_packet_payload |
|
1 |
4 |
21 |
2 |
| ssh_packet_put |
|
4 |
9 |
70 |
4 |
| ssh_output_ptr |
|
1 |
6 |
37 |
2 |
| ssh_output_consume |
|
1 |
4 |
23 |
2 |
| ssh_output_space |
|
1 |
4 |
27 |
2 |
| ssh_input_space |
|
1 |
4 |
27 |
2 |
| _ssh_read_banner |
|
16 |
58 |
392 |
2 |
| _ssh_send_banner |
|
3 |
13 |
92 |
2 |
| _ssh_exchange_banner |
|
15 |
30 |
191 |
1 |
| _ssh_host_public_key |
|
4 |
12 |
92 |
3 |
| _ssh_host_private_key |
|
4 |
12 |
92 |
3 |
| _ssh_verify_host_key |
|
2 |
11 |
80 |
2 |
| _ssh_order_hostkeyalgs |
|
12 |
48 |
336 |
1 |
| _ssh_host_key_sign |
|
1 |
6 |
56 |
8 |
| Source file: ./usr.bin/ssh/auth-krb5.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| krb5_init |
|
3 |
12 |
62 |
1 |
| auth_krb5_password |
|
13 |
61 |
345 |
2 |
| krb5_cleanup_proc |
|
4 |
16 |
84 |
1 |
| Source file: ./usr.bin/ssh/sshlogin.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| get_last_login_time |
|
6 |
35 |
232 |
4 |
| store_lastlog_message |
|
4 |
20 |
141 |
2 |
| record_login |
|
4 |
29 |
277 |
7 |
| record_logout |
|
2 |
6 |
37 |
2 |
| Source file: ./usr.bin/ssh/kexdhs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| kexdh_server |
|
8 |
34 |
158 |
1 |
| input_kex_dh_init |
|
29 |
107 |
759 |
3 |
| Source file: ./usr.bin/ssh/log.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| log_facility_number |
|
4 |
9 |
60 |
1 |
| log_facility_name |
|
3 |
8 |
48 |
1 |
| log_level_number |
|
4 |
9 |
60 |
1 |
| log_level_name |
|
3 |
8 |
50 |
1 |
| error |
|
1 |
7 |
35 |
2 |
| sigdie |
|
1 |
8 |
40 |
2 |
| logdie |
|
1 |
8 |
40 |
2 |
| logit |
|
1 |
7 |
35 |
2 |
| verbose |
|
1 |
7 |
35 |
2 |
| debug |
|
1 |
7 |
35 |
2 |
| debug2 |
|
1 |
7 |
35 |
2 |
| debug3 |
|
1 |
7 |
35 |
2 |
| log_init |
|
14 |
54 |
191 |
4 |
| log_change_level |
|
10 |
19 |
59 |
1 |
| log_is_on_stderr |
|
2 |
4 |
13 |
1 |
| log_redirect_stderr_to |
|
2 |
10 |
59 |
1 |
| set_log_handler |
|
1 |
5 |
20 |
2 |
| do_log2 |
|
1 |
7 |
38 |
3 |
| do_log |
|
16 |
68 |
359 |
3 |
| Source file: ./usr.bin/ssh/ssh-gss.h |
| Source file: ./usr.bin/ssh/sftp-client.h |
| Source file: ./usr.bin/ssh/sc25519.h |
| Source file: ./usr.bin/ssh/buffer.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| buffer_append |
|
2 |
6 |
48 |
3 |
| buffer_append_space |
|
2 |
8 |
51 |
2 |
| buffer_check_alloc |
|
3 |
9 |
51 |
2 |
| buffer_get_ret |
|
2 |
9 |
56 |
3 |
| buffer_get |
|
2 |
5 |
36 |
3 |
| buffer_consume_ret |
|
3 |
9 |
52 |
2 |
| buffer_consume |
|
2 |
5 |
30 |
2 |
| buffer_consume_end_ret |
|
3 |
9 |
52 |
2 |
| buffer_consume_end |
|
2 |
5 |
30 |
2 |
| Source file: ./usr.bin/ssh/kexdhc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| kexdh_client |
|
12 |
42 |
238 |
1 |
| input_kex_dh |
|
27 |
101 |
678 |
3 |
| Source file: ./usr.bin/ssh/auth.h |
| Source file: ./usr.bin/ssh/mac.h |
| Source file: ./usr.bin/ssh/authfd.h |
| Source file: ./usr.bin/ssh/gss-serv-krb5.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ssh_gssapi_krb5_init |
|
3 |
13 |
48 |
1 |
| ssh_gssapi_krb5_userok |
|
4 |
23 |
131 |
2 |
| ssh_gssapi_krb5_storecreds |
|
7 |
49 |
302 |
1 |
| Source file: ./usr.bin/ssh/opacket.h |
| Source file: ./usr.bin/ssh/packet.h |
| Source file: ./usr.bin/ssh/sftp-server-main.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cleanup_exit |
|
1 |
4 |
12 |
1 |
| main |
|
2 |
12 |
70 |
2 |
| Source file: ./usr.bin/ssh/opacket.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ssh_packet_start |
|
2 |
6 |
42 |
2 |
| ssh_packet_put_char |
|
2 |
7 |
47 |
2 |
| ssh_packet_put_int |
|
2 |
6 |
42 |
2 |
| ssh_packet_put_int64 |
|
2 |
6 |
42 |
2 |
| ssh_packet_put_string |
|
2 |
6 |
49 |
3 |
| ssh_packet_put_cstring |
|
2 |
6 |
44 |
2 |
| ssh_packet_put_raw |
|
2 |
6 |
49 |
3 |
| ssh_packet_put_bignum2 |
|
2 |
6 |
43 |
2 |
| ssh_packet_put_ecpoint |
|
2 |
7 |
51 |
3 |
| ssh_packet_send |
|
2 |
6 |
37 |
1 |
| ssh_packet_get_char |
|
2 |
8 |
46 |
1 |
| ssh_packet_get_int |
|
2 |
8 |
46 |
1 |
| ssh_packet_get_int64 |
|
2 |
8 |
46 |
1 |
| ssh_packet_get_bignum2 |
|
2 |
6 |
43 |
2 |
| ssh_packet_get_ecpoint |
|
2 |
6 |
50 |
3 |
| ssh_packet_get_string |
|
3 |
11 |
71 |
2 |
| ssh_packet_get_string_ptr |
|
3 |
11 |
72 |
2 |
| ssh_packet_get_cstring |
|
3 |
11 |
71 |
2 |
| packet_set_connection |
|
2 |
6 |
34 |
2 |
| packet_get_char |
|
1 |
4 |
14 |
1 |
| packet_get_int |
|
1 |
4 |
14 |
1 |
| packet_read_seqnr |
|
2 |
8 |
44 |
1 |
| packet_read_poll_seqnr |
|
2 |
8 |
42 |
1 |
| packet_close |
|
1 |
5 |
15 |
1 |
| packet_process_incoming |
|
2 |
6 |
41 |
2 |
| packet_write_wait |
|
2 |
6 |
31 |
1 |
| packet_write_poll |
|
2 |
6 |
31 |
1 |
| packet_read_expect |
|
2 |
6 |
34 |
1 |
| Source file: ./usr.bin/ssh/uidswap.h |
| Source file: ./usr.bin/ssh/ssh-ecdsa.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ssh_ecdsa_sign |
|
20 |
55 |
399 |
6 |
| ssh_ecdsa_verify |
|
21 |
69 |
409 |
6 |
| Source file: ./usr.bin/ssh/ssh-sandbox.h |
| Source file: ./usr.bin/ssh/kex.h |
| Source file: ./usr.bin/ssh/ssh-keygen.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| type_bits_valid |
|
18 |
37 |
194 |
3 |
| ask_filename |
|
12 |
39 |
195 |
2 |
| load_identity |
|
5 |
20 |
132 |
1 |
| do_convert_to_ssh2 |
|
2 |
20 |
138 |
2 |
| do_convert_to_pkcs8 |
|
7 |
20 |
105 |
1 |
| do_convert_to_pem |
|
6 |
16 |
83 |
1 |
| do_convert_to |
|
7 |
26 |
138 |
1 |
| buffer_get_bignum_bits |
|
5 |
15 |
132 |
2 |
| do_convert_private_ssh2_from_blob |
|
25 |
99 |
769 |
2 |
| get_line |
|
8 |
22 |
131 |
3 |
| do_convert_from_ssh2 |
|
17 |
44 |
343 |
3 |
| do_convert_from_pkcs8 |
|
9 |
38 |
271 |
2 |
| do_convert_from_pem |
|
8 |
26 |
196 |
2 |
| do_convert_from |
|
13 |
51 |
290 |
1 |
| do_print_public |
|
4 |
16 |
106 |
1 |
| do_download |
|
10 |
37 |
241 |
1 |
| try_read_key |
|
3 |
11 |
60 |
1 |
| fingerprint_one_key |
|
7 |
18 |
134 |
2 |
| fingerprint_private |
|
4 |
20 |
145 |
1 |
| do_fingerprint |
|
29 |
63 |
459 |
1 |
| do_gen_all_hostkeys |
|
19 |
117 |
774 |
1 |
| known_hosts_hash |
|
14 |
37 |
282 |
2 |
| known_hosts_find_delete |
|
15 |
47 |
301 |
2 |
| do_known_hosts |
|
30 |
79 |
573 |
2 |
| do_change_passphrase |
|
11 |
68 |
399 |
1 |
| do_print_resource_record |
|
5 |
21 |
138 |
3 |
| do_change_comment |
|
18 |
88 |
591 |
1 |
| add_flag_option |
|
3 |
8 |
68 |
2 |
| add_string_option |
|
5 |
13 |
115 |
3 |
| prepare_options_buf |
|
21 |
37 |
286 |
2 |
| load_pkcs11_key |
|
6 |
23 |
156 |
1 |
| agent_signer |
|
1 |
8 |
69 |
8 |
| do_ca_sign |
|
37 |
120 |
969 |
3 |
| parse_relative_time |
|
5 |
10 |
82 |
2 |
| parse_absolute_time |
|
5 |
25 |
178 |
1 |
| parse_cert_times |
|
14 |
33 |
246 |
1 |
| add_cert_option |
|
23 |
57 |
447 |
1 |
| show_options |
|
16 |
41 |
296 |
2 |
| print_cert |
|
7 |
42 |
301 |
1 |
| do_show_cert |
|
15 |
48 |
342 |
1 |
| load_krl |
|
6 |
16 |
138 |
2 |
| update_krl_from_file |
|
40 |
115 |
818 |
5 |
| do_gen_krl |
|
17 |
52 |
399 |
4 |
| do_check_krl |
|
8 |
25 |
184 |
3 |
| usage |
|
3 |
32 |
54 |
1 |
| main |
|
150 |
449 |
2428 |
2 |
| Source file: ./usr.bin/ssh/ssh2.h |
| Source file: ./usr.bin/ssh/scp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| killchild |
|
4 |
10 |
49 |
1 |
| suspchild |
|
4 |
11 |
54 |
1 |
| do_local_cmd |
|
10 |
32 |
226 |
1 |
| do_cmd |
|
11 |
56 |
425 |
6 |
| do_cmd2 |
|
10 |
38 |
259 |
6 |
| main |
|
47 |
154 |
880 |
2 |
| scpio |
|
2 |
8 |
43 |
2 |
| do_times |
|
4 |
14 |
147 |
3 |
| toremote |
|
30 |
100 |
750 |
2 |
| tolocal |
|
12 |
52 |
370 |
2 |
| source |
|
30 |
105 |
707 |
2 |
| rsource |
|
12 |
46 |
340 |
2 |
| sink |
|
96 |
271 |
1801 |
2 |
| response |
|
10 |
31 |
210 |
1 |
| usage |
|
1 |
7 |
22 |
1 |
| run_err |
|
4 |
21 |
147 |
2 |
| verifydir |
|
3 |
11 |
57 |
1 |
| okname |
|
10 |
26 |
115 |
1 |
| allocbuf |
|
4 |
17 |
114 |
3 |
| lostconn |
|
3 |
9 |
39 |
1 |
| Source file: ./usr.bin/ssh/servconf.h |
| Source file: ./usr.bin/ssh/key.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fatal_on_fatal_errors |
|
5 |
7 |
47 |
3 |
| key_from_blob |
|
2 |
11 |
68 |
2 |
| key_to_blob |
|
7 |
22 |
134 |
3 |
| key_sign |
|
7 |
24 |
156 |
6 |
| key_verify |
|
3 |
12 |
87 |
5 |
| key_demote |
|
2 |
8 |
49 |
1 |
| key_drop_cert |
|
2 |
10 |
54 |
1 |
| key_cert_check_authority |
|
2 |
12 |
79 |
5 |
| key_load_cert |
|
3 |
14 |
82 |
1 |
| key_load_public |
|
3 |
14 |
88 |
2 |
| key_load_private |
|
4 |
16 |
99 |
3 |
| key_load_private_cert |
|
4 |
17 |
104 |
4 |
| key_load_private_type |
|
4 |
17 |
112 |
5 |
| Source file: ./usr.bin/ssh/gss-serv.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ssh_gssapi_prepare_supported_oids |
|
1 |
4 |
12 |
1 |
| ssh_gssapi_test_oid_supported |
|
2 |
6 |
37 |
3 |
| ssh_gssapi_acquire_cred |
|
5 |
28 |
180 |
1 |
| ssh_gssapi_server_ctx |
|
2 |
8 |
43 |
2 |
| ssh_gssapi_supported_oids |
|
4 |
19 |
112 |
1 |
| ssh_gssapi_accept_ctx |
|
8 |
23 |
163 |
4 |
| ssh_gssapi_parse_ename |
|
10 |
28 |
216 |
3 |
| ssh_gssapi_getclient |
|
8 |
32 |
236 |
2 |
| ssh_gssapi_cleanup_creds |
|
2 |
8 |
38 |
1 |
| ssh_gssapi_storecreds |
|
3 |
7 |
39 |
1 |
| ssh_gssapi_do_child |
|
3 |
10 |
69 |
2 |
| ssh_gssapi_userok |
|
6 |
23 |
132 |
1 |
| ssh_gssapi_checkmic |
|
1 |
6 |
43 |
3 |
| ssh_gssapi_displayname |
|
3 |
7 |
38 |
1 |
| Source file: ./usr.bin/ssh/sshtty.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| get_saved_tio |
|
2 |
4 |
14 |
1 |
| leave_raw_mode |
|
4 |
10 |
49 |
1 |
| enter_raw_mode |
|
7 |
23 |
160 |
1 |
| Source file: ./usr.bin/ssh/buffer.h |
| Source file: ./usr.bin/ssh/ssh-pkcs11-client.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| send_msg |
|
3 |
11 |
78 |
1 |
| recv_msg |
|
6 |
25 |
155 |
1 |
| pkcs11_init |
|
1 |
4 |
12 |
1 |
| pkcs11_terminate |
|
1 |
4 |
11 |
1 |
| pkcs11_rsa_private_encrypt |
|
5 |
33 |
221 |
5 |
| wrap_key |
|
1 |
9 |
52 |
1 |
| pkcs11_start_helper |
|
6 |
28 |
205 |
1 |
| pkcs11_add_provider |
|
5 |
32 |
218 |
3 |
| pkcs11_del_provider |
|
2 |
15 |
84 |
1 |
| Source file: ./usr.bin/ssh/readconf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| add_local_forward |
|
5 |
23 |
167 |
2 |
| add_remote_forward |
|
3 |
21 |
154 |
2 |
| clear_forwardings |
|
5 |
27 |
205 |
1 |
| add_certificate_file |
|
5 |
18 |
115 |
3 |
| add_identity_file |
|
7 |
24 |
163 |
4 |
| default_ssh_port |
|
3 |
10 |
48 |
1 |
| execute_in_shell |
|
12 |
45 |
336 |
1 |
| match_cfg_line |
|
42 |
128 |
934 |
8 |
| parse_token |
|
5 |
14 |
99 |
4 |
| process_config_line |
|
1 |
7 |
66 |
9 |
| process_config_line_depth |
|
294 |
742 |
4380 |
10 |
| read_config_file |
|
1 |
7 |
57 |
6 |
| read_config_file_depth |
|
13 |
36 |
272 |
8 |
| option_clear_or_none |
|
2 |
4 |
23 |
1 |
| initialize_options |
|
1 |
99 |
655 |
1 |
| fill_default_options_for_canonicalization |
|
4 |
9 |
53 |
1 |
| fill_default_options |
|
68 |
153 |
1135 |
1 |
| parse_fwd_field |
|
15 |
44 |
261 |
2 |
| parse_forward |
|
37 |
112 |
859 |
4 |
| parse_jump |
|
12 |
42 |
300 |
3 |
| parse_ssh_uri |
|
3 |
9 |
64 |
4 |
| fmt_multistate_int |
|
3 |
9 |
58 |
2 |
| fmt_intarg |
|
13 |
33 |
140 |
2 |
| lookup_opcode_name |
|
3 |
8 |
52 |
1 |
| dump_cfg_int |
|
1 |
4 |
22 |
2 |
| dump_cfg_fmtint |
|
1 |
4 |
27 |
2 |
| dump_cfg_string |
|
2 |
6 |
32 |
2 |
| dump_cfg_strarray |
|
2 |
6 |
45 |
3 |
| dump_cfg_strarray_oneline |
|
2 |
8 |
55 |
3 |
| dump_cfg_forwards |
|
13 |
34 |
223 |
3 |
| dump_client_config |
|
25 |
133 |
1149 |
2 |
| Source file: ./usr.bin/ssh/ssh-ed25519.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ssh_ed25519_sign |
|
17 |
51 |
324 |
6 |
| ssh_ed25519_verify |
|
21 |
69 |
417 |
6 |
| Source file: ./usr.bin/ssh/bitmap.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bitmap_new |
|
3 |
13 |
75 |
1 |
| bitmap_free |
|
3 |
9 |
46 |
1 |
| bitmap_zero |
|
1 |
5 |
30 |
1 |
| bitmap_test_bit |
|
4 |
8 |
67 |
2 |
| reserve |
|
5 |
16 |
99 |
2 |
| bitmap_set_bit |
|
3 |
12 |
78 |
2 |
| retop |
|
4 |
7 |
45 |
1 |
| bitmap_clear_bit |
|
4 |
11 |
73 |
2 |
| bitmap_nbits |
|
6 |
17 |
118 |
1 |
| bitmap_nbytes |
|
1 |
4 |
21 |
1 |
| bitmap_to_string |
|
7 |
17 |
143 |
3 |
| bitmap_from_string |
|
6 |
25 |
188 |
3 |
| Source file: ./usr.bin/ssh/ssh-pkcs11-helper.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| add_key |
|
1 |
8 |
55 |
2 |
| del_keys_by_name |
|
3 |
13 |
86 |
1 |
| lookup_key |
|
2 |
10 |
59 |
1 |
| send_msg |
|
1 |
7 |
44 |
1 |
| process_add |
|
4 |
31 |
195 |
1 |
| process_del |
|
2 |
17 |
89 |
1 |
| process_sign |
|
6 |
36 |
227 |
1 |
| process |
|
10 |
50 |
232 |
1 |
| cleanup_exit |
|
1 |
4 |
12 |
1 |
| main |
|
15 |
65 |
429 |
2 |
| Source file: ./usr.bin/ssh/monitor_fdpass.h |
| Source file: ./usr.bin/ssh/dh.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| parse_prime |
|
37 |
89 |
640 |
3 |
| choose_dh |
|
19 |
58 |
367 |
3 |
| dh_pub_is_valid |
|
9 |
36 |
208 |
2 |
| dh_gen_key |
|
9 |
17 |
113 |
2 |
| dh_new_group_asc |
|
4 |
12 |
74 |
2 |
| dh_new_group |
|
2 |
9 |
48 |
2 |
| dh_new_group1 |
|
1 |
11 |
59 |
1 |
| dh_new_group14 |
|
1 |
16 |
91 |
1 |
| dh_new_group16 |
|
1 |
27 |
155 |
1 |
| dh_new_group18 |
|
1 |
48 |
283 |
1 |
| dh_new_group_fallback |
|
3 |
13 |
63 |
1 |
| dh_estimate |
|
4 |
10 |
37 |
1 |
| Source file: ./usr.bin/ssh/dispatch.h |
| Source file: ./usr.bin/ssh/sshbuf.h |
| Source file: ./usr.bin/ssh/monitor.h |
| Source file: ./usr.bin/ssh/clientloop.h |
| Source file: ./usr.bin/ssh/misc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| chop |
|
4 |
12 |
49 |
1 |
| set_nonblock |
|
4 |
21 |
115 |
1 |
| unset_nonblock |
|
4 |
21 |
118 |
1 |
| ssh_gai_strerror |
|
3 |
6 |
29 |
1 |
| set_nodelay |
|
4 |
18 |
110 |
1 |
| set_reuseaddr |
|
2 |
9 |
55 |
1 |
| get_rdomain |
|
2 |
13 |
72 |
1 |
| set_rdomain |
|
4 |
19 |
112 |
2 |
| strdelim |
|
8 |
28 |
211 |
1 |
| pwcopy |
|
1 |
15 |
126 |
1 |
| a2port |
|
2 |
9 |
48 |
1 |
| a2tun |
|
6 |
25 |
175 |
2 |
| convtime |
|
23 |
54 |
230 |
1 |
| put_host_port |
|
4 |
10 |
73 |
2 |
| hpdelim2 |
|
10 |
29 |
155 |
2 |
| hpdelim |
|
1 |
4 |
16 |
1 |
| cleanhostname |
|
3 |
8 |
52 |
1 |
| colon |
|
12 |
19 |
118 |
1 |
| parse_user_host_path |
|
11 |
48 |
274 |
4 |
| parse_user_host_port |
|
16 |
45 |
290 |
4 |
| hexchar |
|
8 |
16 |
163 |
1 |
| urldecode |
|
7 |
28 |
151 |
1 |
| parse_uri |
|
27 |
73 |
487 |
6 |
| addargs |
|
4 |
22 |
156 |
3 |
| replacearg |
|
3 |
16 |
101 |
4 |
| freeargs |
|
3 |
11 |
69 |
1 |
| tilde_expand_filename |
|
11 |
31 |
237 |
2 |
| percent_expand |
|
15 |
49 |
344 |
2 |
| read_keyfile_line |
|
7 |
18 |
115 |
5 |
| tun_open |
|
15 |
56 |
389 |
3 |
| sanitise_stdfd |
|
7 |
19 |
117 |
1 |
| tohex |
|
3 |
15 |
113 |
2 |
| get_u64 |
|
1 |
14 |
130 |
1 |
| get_u32 |
|
1 |
10 |
78 |
1 |
| get_u32_le |
|
1 |
10 |
78 |
1 |
| get_u16 |
|
1 |
8 |
52 |
1 |
| put_u64 |
|
1 |
12 |
152 |
2 |
| put_u32 |
|
1 |
8 |
84 |
2 |
| put_u32_le |
|
1 |
8 |
84 |
2 |
| put_u16 |
|
1 |
6 |
50 |
2 |
| ms_subtract_diff |
|
1 |
7 |
55 |
2 |
| ms_to_timeval |
|
2 |
7 |
42 |
2 |
| monotime_ts |
|
2 |
5 |
30 |
1 |
| monotime_tv |
|
1 |
7 |
37 |
1 |
| monotime |
|
1 |
6 |
23 |
1 |
| monotime_double |
|
1 |
6 |
35 |
1 |
| bandwidth_limit_init |
|
1 |
9 |
57 |
3 |
| bandwidth_limit |
|
11 |
40 |
311 |
2 |
| mktemp_proto |
|
6 |
13 |
93 |
2 |
| parse_ipqos |
|
8 |
16 |
112 |
1 |
| iptos2str |
|
3 |
11 |
72 |
1 |
| lowercase |
|
2 |
5 |
29 |
1 |
| unix_listener |
|
8 |
42 |
278 |
3 |
| strcmp_maybe_null |
|
7 |
8 |
60 |
2 |
| forward_equals |
|
7 |
16 |
117 |
2 |
| bind_permitted |
|
3 |
6 |
26 |
2 |
| daemonized |
|
4 |
14 |
69 |
1 |
| argv_split |
|
25 |
57 |
450 |
3 |
| argv_assemble |
|
17 |
46 |
353 |
2 |
| subprocess |
|
28 |
118 |
920 |
7 |
| exited_cleanly |
|
6 |
19 |
130 |
4 |
| safe_path |
|
18 |
44 |
319 |
6 |
| safe_path_fd |
|
2 |
11 |
83 |
5 |
| child_set_env |
|
8 |
31 |
245 |
4 |
| valid_domain |
|
15 |
41 |
275 |
3 |
| Source file: ./usr.bin/ssh/xmalloc.h |
| Source file: ./usr.bin/ssh/ssh-dss.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ssh_dss_sign |
|
22 |
71 |
472 |
6 |
| ssh_dss_verify |
|
25 |
79 |
478 |
6 |
| Source file: ./usr.bin/ssh/cipher-aesctr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| aesctr_inc |
|
4 |
16 |
130 |
2 |
| aesctr_keysetup |
|
1 |
4 |
34 |
4 |
| aesctr_ivsetup |
|
1 |
4 |
24 |
2 |
| aesctr_encrypt_bytes |
|
3 |
13 |
103 |
4 |
| Source file: ./usr.bin/ssh/misc.h |
| Source file: ./usr.bin/ssh/sc25519.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| lt |
|
1 |
7 |
32 |
2 |
| reduce_add_sub |
|
3 |
18 |
132 |
1 |
| barrett_reduce |
|
12 |
39 |
368 |
2 |
| sc25519_from32bytes |
|
3 |
8 |
75 |
2 |
| shortsc25519_from16bytes |
|
2 |
5 |
44 |
2 |
| sc25519_from64bytes |
|
2 |
7 |
55 |
2 |
| sc25519_from_shortsc |
|
3 |
8 |
67 |
2 |
| sc25519_to32bytes |
|
2 |
5 |
44 |
2 |
| sc25519_iszero_vartime |
|
3 |
7 |
42 |
1 |
| sc25519_isshort_vartime |
|
3 |
7 |
42 |
1 |
| sc25519_lt_vartime |
|
4 |
10 |
73 |
2 |
| sc25519_add |
|
3 |
12 |
109 |
3 |
| sc25519_sub_nored |
|
2 |
12 |
84 |
3 |
| sc25519_mul |
|
5 |
16 |
146 |
3 |
| sc25519_mul_shortsc |
|
1 |
6 |
39 |
3 |
| sc25519_window3 |
|
3 |
34 |
534 |
2 |
| sc25519_window5 |
|
3 |
34 |
534 |
2 |
| sc25519_2interleave2 |
|
2 |
14 |
327 |
3 |
| Source file: ./usr.bin/ssh/sftp-glob.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fudge_opendir |
|
2 |
11 |
74 |
1 |
| fudge_readdir |
|
2 |
10 |
77 |
1 |
| fudge_closedir |
|
1 |
5 |
21 |
1 |
| fudge_lstat |
|
2 |
8 |
58 |
2 |
| fudge_stat |
|
2 |
8 |
58 |
2 |
| remote_glob |
|
1 |
12 |
121 |
5 |
| Source file: ./usr.bin/ssh/authfile.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sshkey_save_private_blob |
|
3 |
16 |
102 |
2 |
| sshkey_save_private |
|
4 |
18 |
120 |
7 |
| sshkey_load_file |
|
12 |
37 |
223 |
2 |
| sshkey_perm_ok |
|
4 |
17 |
102 |
2 |
| sshkey_load_private_type |
|
8 |
26 |
155 |
6 |
| sshkey_load_private_type_fd |
|
5 |
20 |
117 |
5 |
| sshkey_load_private |
|
8 |
29 |
170 |
4 |
| sshkey_try_load_public |
|
17 |
42 |
244 |
3 |
| sshkey_load_public |
|
10 |
38 |
215 |
3 |
| sshkey_load_cert |
|
6 |
24 |
135 |
2 |
| sshkey_load_private_cert |
|
14 |
38 |
206 |
5 |
| sshkey_in_file |
|
16 |
45 |
267 |
4 |
| sshkey_check_revoked |
|
4 |
15 |
71 |
2 |
| Source file: ./usr.bin/ssh/poly1305.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| poly1305_auth |
|
6 |
101 |
1431 |
4 |
| Source file: ./usr.bin/ssh/umac.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| kdf |
|
3 |
22 |
154 |
4 |
| pdf_init |
|
1 |
9 |
78 |
2 |
| pdf_gen_xor |
|
11 |
23 |
340 |
3 |
| nh_aux |
|
2 |
25 |
337 |
4 |
| nh_aux |
|
2 |
34 |
495 |
4 |
| nh_aux |
|
2 |
42 |
651 |
4 |
| nh_aux |
|
2 |
51 |
807 |
4 |
| nh_transform |
|
1 |
6 |
43 |
3 |
| endian_convert |
|
5 |
20 |
120 |
3 |
| nh_reset |
|
4 |
9 |
56 |
1 |
| nh_init |
|
1 |
6 |
50 |
2 |
| nh_update |
|
4 |
25 |
155 |
3 |
| zero_pad |
|
5 |
20 |
104 |
2 |
| nh_final |
|
6 |
22 |
240 |
2 |
| nh |
|
4 |
11 |
100 |
5 |
| poly64 |
|
3 |
22 |
163 |
3 |
| poly_hash |
|
3 |
16 |
152 |
2 |
| ip_aux |
|
1 |
8 |
102 |
3 |
| ip_reduce_p36 |
|
2 |
8 |
45 |
1 |
| ip_short |
|
4 |
13 |
190 |
3 |
| ip_long |
|
3 |
12 |
99 |
2 |
| uhash_reset |
|
4 |
10 |
60 |
1 |
| uhash_init |
|
4 |
26 |
290 |
2 |
| uhash_alloc |
|
3 |
18 |
109 |
1 |
| uhash_free |
|
3 |
12 |
60 |
1 |
| uhash_update |
|
7 |
38 |
259 |
3 |
| uhash_final |
|
3 |
17 |
108 |
2 |
| uhash |
|
5 |
33 |
265 |
4 |
| umac_reset |
|
1 |
5 |
22 |
1 |
| umac_delete |
|
3 |
10 |
53 |
1 |
| umac_new |
|
3 |
20 |
135 |
1 |
| umac_final |
|
1 |
6 |
61 |
3 |
| umac_update |
|
1 |
5 |
34 |
3 |
| umac |
|
1 |
8 |
70 |
5 |
| Source file: ./usr.bin/ssh/monitor_fdpass.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mm_send_fd |
|
6 |
43 |
297 |
2 |
| mm_receive_fd |
|
8 |
49 |
312 |
1 |
| Source file: ./usr.bin/ssh/auth.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| allowed_user |
|
29 |
92 |
563 |
1 |
| format_method_key |
|
9 |
29 |
200 |
1 |
| auth_log |
|
18 |
36 |
236 |
5 |
| auth_maxtries_exceeded |
|
2 |
11 |
48 |
1 |
| auth_root_allowed |
|
8 |
23 |
104 |
1 |
| expand_authorized_keys |
|
4 |
14 |
117 |
2 |
| authorized_principals_file |
|
2 |
6 |
30 |
1 |
| check_key_in_hostfiles |
|
9 |
40 |
249 |
5 |
| auth_openfile |
|
9 |
37 |
225 |
5 |
| auth_openkeyfile |
|
1 |
4 |
31 |
3 |
| auth_openprincipals |
|
1 |
5 |
31 |
3 |
| getpwnamallow |
|
9 |
34 |
231 |
1 |
| auth_key_is_revoked |
|
6 |
31 |
160 |
1 |
| auth_debug_add |
|
2 |
11 |
61 |
2 |
| auth_debug_send |
|
3 |
11 |
49 |
1 |
| auth_debug_reset |
|
2 |
9 |
29 |
1 |
| fakepw |
|
1 |
15 |
86 |
1 |
| remote_hostname |
|
9 |
51 |
376 |
1 |
| auth_get_canonical_hostname |
|
3 |
12 |
51 |
2 |
| Source file: ./usr.bin/ssh/fe25519.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| equal |
|
1 |
7 |
29 |
2 |
| ge |
|
1 |
8 |
36 |
2 |
| times19 |
|
1 |
4 |
24 |
1 |
| times38 |
|
1 |
4 |
29 |
1 |
| reduce_add_sub |
|
3 |
18 |
115 |
1 |
| reduce_mul |
|
3 |
18 |
115 |
1 |
| fe25519_freeze |
|
3 |
13 |
118 |
1 |
| fe25519_unpack |
|
2 |
6 |
53 |
2 |
| fe25519_pack |
|
2 |
8 |
56 |
2 |
| fe25519_iszero |
|
2 |
11 |
71 |
1 |
| fe25519_iseq_vartime |
|
3 |
11 |
76 |
2 |
| fe25519_cmov |
|
2 |
7 |
68 |
3 |
| fe25519_getparity |
|
1 |
6 |
31 |
1 |
| fe25519_setone |
|
2 |
6 |
42 |
1 |
| fe25519_setzero |
|
2 |
5 |
33 |
1 |
| fe25519_neg |
|
2 |
8 |
61 |
2 |
| fe25519_add |
|
2 |
6 |
60 |
3 |
| fe25519_sub |
|
3 |
10 |
119 |
3 |
| fe25519_mul |
|
5 |
13 |
150 |
3 |
| fe25519_square |
|
1 |
4 |
22 |
2 |
| fe25519_invert |
|
7 |
57 |
613 |
2 |
| fe25519_pow2523 |
|
8 |
44 |
456 |
2 |
| Source file: ./usr.bin/ssh/sshkey.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sshkey_type |
|
3 |
9 |
52 |
1 |
| sshkey_ssh_name_from_type_nid |
|
5 |
9 |
64 |
2 |
| sshkey_type_is_cert |
|
3 |
9 |
47 |
1 |
| sshkey_ssh_name |
|
1 |
4 |
22 |
1 |
| sshkey_ssh_name_plain |
|
1 |
5 |
25 |
1 |
| sshkey_type_from_name |
|
6 |
10 |
80 |
1 |
| sshkey_ecdsa_nid_from_name |
|
6 |
11 |
77 |
1 |
| sshkey_alg_list |
|
11 |
25 |
176 |
4 |
| sshkey_names_valid2 |
|
11 |
29 |
185 |
2 |
| sshkey_size |
|
10 |
18 |
76 |
1 |
| sshkey_type_is_valid_ca |
|
5 |
12 |
33 |
1 |
| sshkey_is_cert |
|
2 |
6 |
27 |
1 |
| sshkey_type_plain |
|
5 |
15 |
42 |
1 |
| sshkey_curve_name_to_nid |
|
4 |
11 |
58 |
1 |
| sshkey_curve_nid_to_bits |
|
4 |
13 |
36 |
1 |
| sshkey_ecdsa_bits_to_nid |
|
4 |
13 |
37 |
1 |
| sshkey_curve_nid_to_name |
|
4 |
13 |
36 |
1 |
| sshkey_ec_nid_to_hash_alg |
|
4 |
12 |
48 |
1 |
| cert_free |
|
3 |
16 |
103 |
1 |
| cert_new |
|
5 |
16 |
102 |
1 |
| sshkey_new |
|
25 |
62 |
332 |
1 |
| sshkey_add_private |
|
18 |
31 |
135 |
1 |
| sshkey_new_private |
|
3 |
11 |
48 |
1 |
| sshkey_free |
|
18 |
46 |
219 |
1 |
| cert_compare |
|
7 |
13 |
93 |
2 |
| sshkey_equal_public |
|
31 |
45 |
359 |
2 |
| sshkey_equal |
|
6 |
10 |
71 |
2 |
| to_blob_buf |
|
34 |
62 |
439 |
3 |
| sshkey_putb |
|
1 |
4 |
25 |
2 |
| sshkey_puts |
|
3 |
12 |
72 |
2 |
| sshkey_putb_plain |
|
1 |
4 |
25 |
2 |
| to_blob |
|
8 |
28 |
169 |
4 |
| sshkey_to_blob |
|
1 |
4 |
30 |
3 |
| sshkey_plain_to_blob |
|
1 |
4 |
30 |
3 |
| sshkey_fingerprint_raw |
|
10 |
38 |
219 |
4 |
| fingerprint_b64 |
|
5 |
21 |
157 |
3 |
| fingerprint_hex |
|
5 |
15 |
133 |
3 |
| fingerprint_bubblebabble |
|
6 |
45 |
501 |
2 |
| fingerprint_randomart |
|
17 |
66 |
619 |
4 |
| sshkey_fingerprint |
|
8 |
42 |
205 |
3 |
| sshkey_read |
|
42 |
117 |
647 |
2 |
| sshkey_to_base64 |
|
6 |
25 |
134 |
2 |
| sshkey_format_text |
|
3 |
14 |
84 |
2 |
| sshkey_write |
|
5 |
19 |
114 |
2 |
| sshkey_cert_type |
|
3 |
11 |
37 |
1 |
| rsa_generate_private_key |
|
10 |
30 |
159 |
2 |
| dsa_generate_private_key |
|
7 |
26 |
128 |
2 |
| sshkey_ecdsa_key_to_nid |
|
8 |
36 |
198 |
1 |
| ecdsa_generate_private_key |
|
7 |
26 |
137 |
3 |
| sshkey_generate |
|
11 |
39 |
207 |
3 |
| sshkey_cert_copy |
|
16 |
48 |
368 |
2 |
| sshkey_from_private |
|
26 |
68 |
442 |
2 |
| cert_parse |
|
31 |
96 |
791 |
3 |
| sshkey_from_blob_internal |
|
52 |
157 |
883 |
3 |
| sshkey_from_blob |
|
2 |
10 |
62 |
3 |
| sshkey_fromb |
|
1 |
4 |
24 |
2 |
| sshkey_froms |
|
2 |
10 |
60 |
2 |
| sshkey_sign |
|
13 |
27 |
166 |
7 |
| sshkey_verify |
|
12 |
23 |
141 |
6 |
| sshkey_demote |
|
27 |
76 |
504 |
2 |
| sshkey_to_certified |
|
7 |
24 |
87 |
1 |
| sshkey_drop_cert |
|
2 |
9 |
49 |
1 |
| sshkey_certify_custom |
|
40 |
89 |
757 |
5 |
| default_key_sign |
|
2 |
8 |
65 |
8 |
| sshkey_certify |
|
1 |
4 |
33 |
3 |
| sshkey_cert_check_authority |
|
14 |
52 |
264 |
5 |
| sshkey_format_cert_validity |
|
9 |
29 |
237 |
3 |
| sshkey_private_serialize |
|
47 |
89 |
736 |
2 |
| sshkey_private_deserialize |
|
77 |
178 |
1287 |
2 |
| sshkey_ec_validate_public |
|
19 |
53 |
345 |
2 |
| sshkey_ec_validate_private |
|
8 |
31 |
177 |
1 |
| sshkey_dump_ec_point |
|
7 |
36 |
204 |
2 |
| sshkey_dump_ec_key |
|
2 |
12 |
72 |
1 |
| sshkey_private_to_blob2 |
|
42 |
122 |
967 |
6 |
| sshkey_parse_private2 |
|
62 |
182 |
1252 |
5 |
| sshkey_private_pem_to_blob |
|
12 |
45 |
283 |
4 |
| sshkey_private_to_fileblob |
|
7 |
21 |
110 |
7 |
| translate_libcrypto_error |
|
12 |
29 |
92 |
1 |
| clear_libcrypto_errors |
|
2 |
5 |
15 |
1 |
| convert_libcrypto_error |
|
2 |
7 |
28 |
1 |
| sshkey_parse_private_pem_fileblob |
|
31 |
83 |
533 |
4 |
| sshkey_parse_private_fileblob_type |
|
12 |
29 |
148 |
5 |
| sshkey_parse_private_fileblob |
|
3 |
10 |
59 |
4 |
| Source file: ./usr.bin/ssh/cipher.h |
| Source file: ./usr.bin/ssh/uuencode.h |
| Source file: ./usr.bin/ssh/serverloop.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| notify_setup |
|
4 |
17 |
129 |
1 |
| notify_parent |
|
2 |
5 |
31 |
1 |
| notify_prepare |
|
2 |
5 |
28 |
1 |
| notify_done |
|
4 |
7 |
54 |
1 |
| sigchld_handler |
|
1 |
8 |
31 |
1 |
| sigterm_handler |
|
1 |
4 |
11 |
1 |
| client_alive_check |
|
3 |
17 |
83 |
1 |
| wait_until_can_do_something |
|
20 |
56 |
369 |
8 |
| process_input |
|
6 |
24 |
137 |
3 |
| process_output |
|
2 |
5 |
24 |
2 |
| process_buffered_input_packets |
|
1 |
4 |
18 |
1 |
| collect_children |
|
6 |
18 |
114 |
1 |
| server_loop2 |
|
10 |
48 |
297 |
2 |
| server_input_keep_alive |
|
1 |
6 |
32 |
3 |
| server_request_direct_tcpip |
|
5 |
27 |
162 |
3 |
| server_request_direct_streamlocal |
|
8 |
28 |
158 |
1 |
| server_request_tun |
|
11 |
45 |
235 |
1 |
| server_request_session |
|
3 |
20 |
114 |
1 |
| server_input_channel_open |
|
9 |
50 |
322 |
3 |
| server_input_hostkeys_prove |
|
13 |
56 |
422 |
2 |
| server_input_global_request |
|
27 |
89 |
661 |
3 |
| server_input_channel_req |
|
10 |
31 |
208 |
3 |
| server_init_dispatch |
|
1 |
20 |
137 |
1 |
| Source file: ./usr.bin/ssh/sshconnect2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| verify_host_key_callback |
|
2 |
6 |
36 |
2 |
| order_hostkeyalgs |
|
10 |
38 |
314 |
3 |
| ssh_kex2 |
|
11 |
62 |
442 |
3 |
| ssh_userauth2 |
|
8 |
42 |
323 |
4 |
| input_userauth_service_accept |
|
4 |
25 |
157 |
3 |
| input_userauth_ext_info |
|
1 |
4 |
25 |
3 |
| userauth |
|
7 |
29 |
170 |
2 |
| input_userauth_error |
|
1 |
6 |
26 |
3 |
| input_userauth_banner |
|
3 |
13 |
81 |
3 |
| input_userauth_success |
|
4 |
14 |
94 |
3 |
| input_userauth_success_unexpected |
|
2 |
9 |
50 |
3 |
| input_userauth_failure |
|
3 |
18 |
95 |
3 |
| input_userauth_pk_ok |
|
10 |
59 |
348 |
3 |
| userauth_gssapi |
|
7 |
39 |
252 |
1 |
| process_gssapi_token |
|
6 |
41 |
250 |
2 |
| input_gssapi_response |
|
7 |
29 |
165 |
3 |
| input_gssapi_token |
|
3 |
19 |
102 |
3 |
| input_gssapi_errtok |
|
2 |
20 |
117 |
3 |
| input_gssapi_error |
|
1 |
14 |
75 |
3 |
| userauth_none |
|
1 |
9 |
43 |
1 |
| userauth_passwd |
|
4 |
28 |
164 |
1 |
| input_userauth_passwd_changereq |
|
7 |
60 |
371 |
3 |
| key_sign_encode |
|
4 |
13 |
55 |
1 |
| identity_sign |
|
9 |
24 |
213 |
6 |
| id_filename_matches |
|
7 |
16 |
148 |
2 |
| sign_and_send_pubkey |
|
23 |
105 |
710 |
2 |
| send_pubkey_test |
|
3 |
22 |
134 |
2 |
| load_identity_file |
|
20 |
62 |
356 |
1 |
| pubkey_prepare |
|
30 |
117 |
911 |
1 |
| pubkey_cleanup |
|
3 |
13 |
85 |
1 |
| pubkey_reset |
|
1 |
6 |
29 |
1 |
| try_identity |
|
4 |
12 |
67 |
1 |
| userauth_pubkey |
|
9 |
43 |
245 |
1 |
| userauth_kbdint |
|
5 |
22 |
120 |
1 |
| input_userauth_info_req |
|
6 |
38 |
244 |
3 |
| ssh_keysign |
|
22 |
105 |
777 |
5 |
| userauth_hostbased |
|
41 |
120 |
964 |
1 |
| authmethod_is_enabled |
|
6 |
10 |
56 |
1 |
| authmethod_lookup |
|
5 |
10 |
66 |
1 |
| authmethod_get |
|
11 |
34 |
208 |
1 |
| authmethods_get |
|
5 |
18 |
118 |
1 |
| Source file: ./usr.bin/ssh/msg.h |
| Source file: ./usr.bin/ssh/ge25519.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| p1p1_to_p2 |
|
1 |
6 |
67 |
2 |
| p1p1_to_p3 |
|
1 |
5 |
42 |
2 |
| ge25519_mixadd2 |
|
1 |
22 |
286 |
2 |
| add_p1p1 |
|
1 |
18 |
229 |
3 |
| dbl_p1p1 |
|
1 |
16 |
183 |
2 |
| cmov_aff |
|
1 |
5 |
47 |
3 |
| equal |
|
1 |
10 |
49 |
2 |
| negative |
|
1 |
6 |
23 |
1 |
| choose_t |
|
1 |
11 |
172 |
3 |
| setneutral |
|
1 |
7 |
40 |
1 |
| ge25519_unpackneg_vartime |
|
4 |
34 |
367 |
2 |
| ge25519_pack |
|
1 |
9 |
84 |
2 |
| ge25519_isneutral_vartime |
|
3 |
7 |
52 |
1 |
| ge25519_double_scalarmult_vartime |
|
4 |
38 |
578 |
5 |
| ge25519_scalarmult_base |
|
2 |
15 |
116 |
2 |
| Source file: ./usr.bin/ssh/auth2-none.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| userauth_none |
|
4 |
10 |
71 |
1 |
| Source file: ./usr.bin/ssh/pkcs11.h |
| Source file: ./usr.bin/ssh/session.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| auth_sock_cleanup_proc |
|
2 |
10 |
40 |
1 |
| auth_input_request_forwarding |
|
6 |
42 |
219 |
2 |
| display_loginmsg |
|
2 |
8 |
49 |
1 |
| prepare_auth_info_file |
|
8 |
30 |
185 |
2 |
| do_authenticated |
|
4 |
13 |
82 |
2 |
| xauth_valid_string |
|
8 |
11 |
85 |
1 |
| do_exec_no_pty |
|
21 |
98 |
750 |
3 |
| do_exec_pty |
|
9 |
55 |
365 |
3 |
| do_exec |
|
16 |
56 |
344 |
3 |
| do_login |
|
5 |
25 |
170 |
3 |
| do_motd |
|
4 |
14 |
74 |
1 |
| check_quietlogin |
|
4 |
12 |
84 |
2 |
| read_environment_file |
|
10 |
30 |
190 |
3 |
| do_setup_env |
|
21 |
78 |
705 |
3 |
| do_rc_files |
|
19 |
63 |
376 |
2 |
| do_nologin |
|
7 |
21 |
152 |
1 |
| safely_chroot |
|
14 |
39 |
290 |
2 |
| do_setusercontext |
|
12 |
33 |
253 |
1 |
| do_pwchange |
|
2 |
15 |
71 |
1 |
| child_close_fds |
|
3 |
17 |
82 |
1 |
| do_child |
|
20 |
93 |
674 |
3 |
| session_unused |
|
3 |
19 |
142 |
1 |
| session_new |
|
7 |
35 |
180 |
1 |
| session_dump |
|
2 |
15 |
65 |
1 |
| session_open |
|
4 |
16 |
98 |
2 |
| session_by_tty |
|
5 |
14 |
88 |
1 |
| session_by_channel |
|
4 |
15 |
75 |
1 |
| session_by_x11_channel |
|
6 |
19 |
115 |
1 |
| session_by_pid |
|
4 |
13 |
77 |
1 |
| session_window_change_req |
|
1 |
10 |
75 |
2 |
| session_pty_req |
|
7 |
41 |
283 |
2 |
| session_subsystem_req |
|
6 |
34 |
224 |
2 |
| session_x11_req |
|
6 |
28 |
156 |
2 |
| session_shell_req |
|
1 |
5 |
29 |
2 |
| session_exec_req |
|
1 |
9 |
53 |
2 |
| session_break_req |
|
3 |
8 |
47 |
2 |
| session_env_req |
|
4 |
28 |
202 |
2 |
| session_auth_agent_req |
|
4 |
15 |
68 |
2 |
| session_input_channel_req |
|
12 |
33 |
291 |
3 |
| session_set_fds |
|
3 |
10 |
73 |
7 |
| session_pty_cleanup2 |
|
7 |
18 |
120 |
1 |
| session_pty_cleanup |
|
1 |
4 |
16 |
1 |
| sig2name |
|
1 |
17 |
75 |
1 |
| session_close_x11 |
|
3 |
12 |
76 |
2 |
| session_close_single_x11 |
|
4 |
25 |
188 |
3 |
| session_exit_message |
|
6 |
27 |
217 |
3 |
| session_close |
|
4 |
27 |
174 |
2 |
| session_close_by_pid |
|
4 |
13 |
84 |
3 |
| session_close_by_channel |
|
6 |
25 |
174 |
3 |
| session_destroy_all |
|
4 |
13 |
74 |
2 |
| session_tty_list |
|
6 |
17 |
123 |
1 |
| session_proctitle |
|
2 |
7 |
41 |
1 |
| session_setup_x11fwd |
|
10 |
50 |
328 |
2 |
| do_authenticated2 |
|
1 |
4 |
20 |
2 |
| do_cleanup |
|
13 |
27 |
134 |
2 |
| session_get_remote_name_or_ip |
|
4 |
9 |
60 |
3 |
| Source file: ./usr.bin/ssh/kexdh.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| kex_dh_hash |
|
18 |
43 |
337 |
14 |
| Source file: ./usr.bin/ssh/mac.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mac_alg_list |
|
4 |
19 |
124 |
1 |
| mac_setup_by_alg |
|
4 |
17 |
126 |
2 |
| mac_setup |
|
4 |
12 |
71 |
2 |
| mac_init |
|
9 |
22 |
119 |
1 |
| mac_compute |
|
11 |
41 |
268 |
6 |
| mac_check |
|
4 |
15 |
98 |
6 |
| mac_clear |
|
6 |
13 |
88 |
1 |
| mac_valid |
|
7 |
17 |
119 |
1 |
| Source file: ./usr.bin/ssh/hostfile.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| extract_salt |
|
8 |
40 |
264 |
4 |
| host_hash |
|
9 |
28 |
233 |
3 |
| hostfile_read_key |
|
7 |
15 |
103 |
3 |
| check_markers |
|
10 |
27 |
181 |
1 |
| init_hostkeys |
|
1 |
6 |
31 |
1 |
| record_hostkey |
|
5 |
28 |
249 |
2 |
| load_hostkeys |
|
5 |
17 |
117 |
3 |
| free_hostkeys |
|
2 |
13 |
105 |
1 |
| check_key_not_revoked |
|
6 |
16 |
106 |
2 |
| check_hostkeys_by_key_or_type |
|
16 |
48 |
289 |
4 |
| check_key_in_hostkeys |
|
2 |
7 |
43 |
3 |
| lookup_key_in_hostkeys_by_type |
|
1 |
6 |
34 |
3 |
| write_host_entry |
|
5 |
27 |
181 |
5 |
| add_host_to_hostfile |
|
3 |
14 |
79 |
4 |
| host_delete |
|
11 |
33 |
265 |
2 |
| hostfile_replace_entries |
|
24 |
102 |
694 |
8 |
| match_maybe_hashed |
|
5 |
15 |
106 |
3 |
| hostkeys_foreach |
|
47 |
135 |
924 |
6 |
| Source file: ./usr.bin/ssh/auth2-passwd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| userauth_passwd |
|
7 |
19 |
146 |
1 |
| Source file: ./usr.bin/ssh/monitor.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| monitor_permit |
|
4 |
11 |
57 |
3 |
| monitor_permit_authentications |
|
4 |
11 |
53 |
1 |
| monitor_child_preauth |
|
18 |
63 |
392 |
2 |
| monitor_set_child_handler |
|
1 |
4 |
11 |
1 |
| monitor_child_handler |
|
1 |
4 |
14 |
1 |
| monitor_child_postauth |
|
3 |
19 |
124 |
1 |
| monitor_read_log |
|
7 |
36 |
258 |
1 |
| monitor_read |
|
15 |
52 |
352 |
3 |
| monitor_allowed_key |
|
4 |
7 |
40 |
2 |
| monitor_reset_key_state |
|
1 |
11 |
41 |
1 |
| mm_answer_moduli |
|
5 |
26 |
166 |
2 |
| mm_answer_sign |
|
25 |
70 |
587 |
2 |
| mm_answer_pwnamallow |
|
6 |
46 |
315 |
2 |
| mm_answer_auth2_read_banner |
|
2 |
10 |
58 |
2 |
| mm_answer_authserv |
|
2 |
13 |
84 |
2 |
| mm_answer_authpassword |
|
5 |
24 |
134 |
2 |
| mm_answer_bsdauthquery |
|
5 |
25 |
149 |
2 |
| mm_answer_bsdauthrespond |
|
4 |
22 |
140 |
2 |
| mm_answer_keyallowed |
|
18 |
72 |
422 |
2 |
| monitor_valid_userblob |
|
17 |
57 |
357 |
2 |
| monitor_valid_hostbasedblob |
|
14 |
50 |
351 |
4 |
| mm_answer_keyverify |
|
13 |
48 |
360 |
2 |
| mm_record_login |
|
3 |
18 |
134 |
2 |
| mm_session_close |
|
2 |
9 |
64 |
1 |
| mm_answer_pty |
|
9 |
45 |
356 |
2 |
| mm_answer_pty_cleanup |
|
2 |
12 |
68 |
2 |
| mm_answer_term |
|
4 |
13 |
91 |
2 |
| monitor_clear_keystate |
|
1 |
8 |
39 |
1 |
| monitor_apply_keystate |
|
4 |
26 |
189 |
1 |
| mm_get_keystate |
|
2 |
9 |
53 |
1 |
| monitor_openfds |
|
8 |
24 |
227 |
2 |
| monitor_init |
|
1 |
7 |
34 |
1 |
| monitor_reinit |
|
1 |
4 |
16 |
1 |
| mm_answer_gss_setup_ctx |
|
2 |
17 |
105 |
2 |
| mm_answer_gss_accept_ctx |
|
3 |
26 |
177 |
2 |
| mm_answer_gss_checkmic |
|
3 |
21 |
142 |
2 |
| mm_answer_gss_userok |
|
4 |
16 |
106 |
2 |
| Source file: ./usr.bin/ssh/match.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| match_pattern |
|
15 |
29 |
156 |
2 |
| match_pattern_list |
|
13 |
32 |
211 |
3 |
| match_hostname |
|
1 |
9 |
50 |
2 |
| match_host_and_ip |
|
8 |
14 |
98 |
3 |
| match_user |
|
8 |
21 |
164 |
4 |
| match_list |
|
11 |
35 |
280 |
3 |
| match_filter_list |
|
6 |
23 |
149 |
2 |
| Source file: ./usr.bin/ssh/rijndael.h |
| Source file: ./usr.bin/ssh/kexc25519c.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| kexc25519_client |
|
5 |
16 |
117 |
1 |
| input_kex_c25519_reply |
|
20 |
82 |
554 |
3 |
| Source file: ./usr.bin/ssh/hmac.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ssh_hmac_bytes |
|
1 |
4 |
13 |
1 |
| ssh_hmac_start |
|
6 |
18 |
130 |
1 |
| ssh_hmac_init |
|
9 |
23 |
204 |
3 |
| ssh_hmac_update |
|
1 |
4 |
29 |
3 |
| ssh_hmac_update_buffer |
|
1 |
4 |
25 |
2 |
| ssh_hmac_final |
|
6 |
13 |
101 |
3 |
| ssh_hmac_free |
|
3 |
14 |
80 |
1 |
| hmac_test |
|
7 |
19 |
159 |
6 |
| main |
|
1 |
26 |
300 |
2 |
| Source file: ./usr.bin/ssh/sshd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| close_listen_socks |
|
2 |
7 |
35 |
1 |
| close_startup_pipes |
|
4 |
8 |
46 |
1 |
| sighup_handler |
|
1 |
7 |
27 |
1 |
| sighup_restart |
|
2 |
14 |
76 |
1 |
| sigterm_handler |
|
1 |
4 |
11 |
1 |
| main_sigchld_handler |
|
4 |
11 |
59 |
1 |
| grace_alarm_handler |
|
5 |
11 |
72 |
1 |
| sshd_exchange_identification |
|
17 |
89 |
560 |
3 |
| destroy_sensitive_data |
|
4 |
14 |
86 |
1 |
| demote_sensitive_data |
|
3 |
12 |
73 |
1 |
| privsep_preauth_child |
|
9 |
27 |
185 |
1 |
| privsep_preauth |
|
14 |
55 |
318 |
1 |
| privsep_postauth |
|
4 |
25 |
134 |
1 |
| list_hostkey_types |
|
18 |
56 |
320 |
1 |
| get_hostkey_by_type |
|
13 |
25 |
144 |
4 |
| get_hostkey_public_by_type |
|
1 |
4 |
27 |
3 |
| get_hostkey_private_by_type |
|
1 |
4 |
27 |
3 |
| get_hostkey_by_index |
|
3 |
6 |
37 |
1 |
| get_hostkey_public_by_index |
|
3 |
6 |
42 |
2 |
| get_hostkey_index |
|
15 |
23 |
172 |
3 |
| notify_hostkeys |
|
10 |
39 |
243 |
1 |
| drop_connection |
|
5 |
17 |
104 |
1 |
| usage |
|
2 |
14 |
35 |
1 |
| send_rexec_state |
|
4 |
15 |
113 |
2 |
| recv_rexec_state |
|
4 |
18 |
117 |
2 |
| server_accept_inetd |
|
7 |
25 |
154 |
2 |
| listen_on_addrs |
|
15 |
57 |
365 |
1 |
| server_listen |
|
3 |
16 |
113 |
1 |
| server_accept_loop |
|
41 |
146 |
950 |
4 |
| check_ip_options |
|
6 |
24 |
190 |
1 |
| set_process_rdomain |
|
7 |
18 |
132 |
2 |
| main |
|
142 |
462 |
2862 |
2 |
| sshd_hostkey_sign |
|
8 |
26 |
181 |
8 |
| do_ssh2_kex |
|
7 |
50 |
334 |
1 |
| cleanup_exit |
|
8 |
16 |
92 |
1 |
| Source file: ./usr.bin/ssh/readpass.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ssh_askpass |
|
16 |
55 |
412 |
2 |
| read_passphrase |
|
16 |
44 |
276 |
2 |
| ask_permission |
|
5 |
17 |
108 |
2 |
| Source file: ./usr.bin/ssh/sshbuf-getput-crypto.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sshbuf_get_bignum2 |
|
4 |
11 |
69 |
2 |
| sshbuf_get_bignum1 |
|
7 |
22 |
136 |
2 |
| get_ec |
|
6 |
10 |
71 |
4 |
| sshbuf_get_ec |
|
4 |
16 |
105 |
3 |
| sshbuf_get_eckey |
|
6 |
30 |
173 |
2 |
| sshbuf_put_bignum2 |
|
7 |
18 |
142 |
2 |
| sshbuf_put_bignum1 |
|
6 |
19 |
146 |
2 |
| sshbuf_put_ec |
|
4 |
23 |
138 |
3 |
| sshbuf_put_eckey |
|
1 |
5 |
30 |
2 |
| Source file: ./usr.bin/ssh/kexc25519s.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| kexc25519_server |
|
1 |
6 |
27 |
1 |
| input_kex_c25519_init |
|
22 |
87 |
624 |
3 |
| Source file: ./usr.bin/ssh/ssh-agent.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| close_socket |
|
1 |
9 |
49 |
1 |
| idtab_init |
|
1 |
6 |
33 |
1 |
| free_identity |
|
1 |
7 |
34 |
1 |
| lookup_identity |
|
2 |
9 |
47 |
1 |
| confirm_key |
|
3 |
12 |
62 |
1 |
| send_status |
|
4 |
8 |
62 |
2 |
| process_request_identities |
|
7 |
22 |
176 |
1 |
| agent_decode_alg |
|
4 |
10 |
44 |
2 |
| process_sign_request2 |
|
15 |
47 |
391 |
1 |
| process_remove_identity |
|
4 |
24 |
145 |
1 |
| process_remove_all_identities |
|
2 |
11 |
68 |
1 |
| reaper |
|
7 |
22 |
147 |
1 |
| process_add_identity |
|
12 |
60 |
360 |
1 |
| process_lock_agent |
|
11 |
43 |
298 |
2 |
| no_identities |
|
5 |
12 |
95 |
1 |
| process_add_smartcard_key |
|
14 |
73 |
475 |
1 |
| process_remove_smartcard_key |
|
8 |
35 |
245 |
1 |
| process_message |
|
25 |
84 |
408 |
1 |
| new_socket |
|
11 |
33 |
293 |
2 |
| handle_socket_read |
|
5 |
27 |
167 |
1 |
| handle_conn_read |
|
6 |
21 |
145 |
1 |
| handle_conn_write |
|
7 |
22 |
152 |
1 |
| after_poll |
|
16 |
39 |
259 |
2 |
| prepare_poll |
|
14 |
52 |
313 |
3 |
| cleanup_socket |
|
5 |
10 |
51 |
1 |
| cleanup_exit |
|
1 |
5 |
16 |
1 |
| cleanup_handler |
|
2 |
6 |
20 |
1 |
| check_parent_exists |
|
3 |
7 |
30 |
1 |
| usage |
|
1 |
8 |
20 |
1 |
| main |
|
64 |
208 |
1256 |
2 |
| Source file: ./usr.bin/ssh/ssh-rsa.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rsa_hash_alg_ident |
|
4 |
12 |
34 |
1 |
| rsa_hash_alg_from_ident |
|
5 |
11 |
64 |
1 |
| rsa_hash_alg_nid |
|
4 |
13 |
37 |
1 |
| ssh_rsa_generate_additional_parameters |
|
10 |
29 |
196 |
1 |
| ssh_rsa_sign |
|
25 |
73 |
495 |
6 |
| ssh_rsa_verify |
|
18 |
67 |
429 |
5 |
| rsa_hash_alg_oid |
|
4 |
20 |
84 |
3 |
| openssh_RSA_verify |
|
14 |
48 |
290 |
6 |
| Source file: ./usr.bin/ssh/xmalloc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ssh_malloc_init |
|
1 |
5 |
15 |
1 |
| xmalloc |
|
3 |
10 |
45 |
1 |
| xcalloc |
|
5 |
13 |
69 |
2 |
| xreallocarray |
|
2 |
9 |
47 |
3 |
| xrecallocarray |
|
2 |
9 |
52 |
4 |
| xstrdup |
|
1 |
9 |
44 |
1 |
| xasprintf |
|
3 |
11 |
65 |
3 |
| Source file: ./usr.bin/ssh/kexgexs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| kexgex_server |
|
1 |
7 |
27 |
1 |
| input_kex_dh_gex_request |
|
15 |
43 |
354 |
3 |
| input_kex_dh_gex_init |
|
29 |
108 |
773 |
3 |
| Source file: ./usr.bin/ssh/cleanup.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cleanup_exit |
|
1 |
4 |
12 |
1 |
| Source file: ./usr.bin/ssh/auth2-pubkey.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| userauth_pubkey |
|
47 |
146 |
1115 |
1 |
| match_principals_option |
|
3 |
15 |
80 |
2 |
| process_principals |
|
19 |
40 |
310 |
4 |
| match_principals_file |
|
2 |
15 |
90 |
3 |
| match_principals_command |
|
17 |
106 |
698 |
2 |
| check_authkeys_file |
|
38 |
98 |
631 |
4 |
| user_cert_trusted_ca |
|
15 |
48 |
334 |
2 |
| user_key_allowed2 |
|
2 |
13 |
85 |
3 |
| user_key_command_allowed2 |
|
16 |
92 |
612 |
2 |
| user_key_allowed |
|
9 |
25 |
160 |
3 |
| Source file: ./usr.bin/ssh/mux.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mux_master_session_cleanup_cb |
|
4 |
17 |
132 |
3 |
| mux_master_control_cleanup_cb |
|
8 |
26 |
189 |
3 |
| env_permitted |
|
7 |
16 |
132 |
1 |
| process_mux_master_hello |
|
8 |
37 |
223 |
5 |
| process_mux_new_session |
|
32 |
145 |
1073 |
5 |
| process_mux_alive_check |
|
1 |
9 |
64 |
5 |
| process_mux_terminate |
|
4 |
20 |
115 |
5 |
| format_forward |
|
13 |
33 |
213 |
2 |
| compare_host |
|
5 |
8 |
50 |
2 |
| compare_forward |
|
7 |
16 |
111 |
2 |
| mux_confirm_remote_forward |
|
13 |
71 |
510 |
4 |
| process_mux_open_fwd |
|
45 |
158 |
944 |
5 |
| process_mux_close_fwd |
|
26 |
96 |
607 |
5 |
| process_mux_stdio_fwd |
|
13 |
76 |
526 |
5 |
| mux_stdio_confirm |
|
6 |
34 |
256 |
4 |
| process_mux_stop_listening |
|
5 |
27 |
153 |
5 |
| process_mux_proxy |
|
1 |
9 |
58 |
5 |
| mux_master_read_cb |
|
11 |
67 |
452 |
2 |
| mux_exit_message |
|
2 |
16 |
125 |
3 |
| mux_tty_alloc_failed |
|
2 |
14 |
112 |
2 |
| muxserver_listen |
|
12 |
66 |
416 |
1 |
| mux_session_confirm |
|
14 |
64 |
486 |
4 |
| control_client_sighandler |
|
1 |
4 |
11 |
1 |
| control_client_sigrelay |
|
2 |
7 |
29 |
1 |
| mux_client_read |
|
7 |
33 |
159 |
3 |
| mux_client_write_packet |
|
7 |
43 |
224 |
2 |
| mux_client_read_packet |
|
4 |
28 |
171 |
2 |
| mux_client_hello_exchange |
|
6 |
42 |
238 |
1 |
| mux_client_request_alive |
|
5 |
30 |
192 |
1 |
| mux_client_request_terminate |
|
8 |
40 |
226 |
1 |
| mux_client_forward |
|
18 |
71 |
456 |
4 |
| mux_client_forwards |
|
7 |
20 |
136 |
2 |
| mux_client_request_session |
|
35 |
135 |
910 |
1 |
| mux_client_proxy |
|
5 |
28 |
173 |
1 |
| mux_client_request_stdio_fwd |
|
19 |
79 |
530 |
1 |
| mux_client_request_stop_listening |
|
7 |
35 |
208 |
1 |
| muxclient |
|
29 |
98 |
538 |
1 |
| Source file: ./usr.bin/ssh/packet.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ssh_alloc_session_state |
|
8 |
34 |
242 |
1 |
| ssh_packet_set_input_hook |
|
1 |
5 |
33 |
3 |
| ssh_packet_is_rekeying |
|
3 |
5 |
32 |
1 |
| ssh_packet_set_connection |
|
6 |
30 |
213 |
3 |
| ssh_packet_set_timeout |
|
4 |
12 |
74 |
3 |
| ssh_packet_set_mux |
|
1 |
5 |
25 |
1 |
| ssh_packet_get_mux |
|
1 |
4 |
16 |
1 |
| ssh_packet_set_log_preamble |
|
4 |
16 |
88 |
3 |
| ssh_packet_stop_discard |
|
5 |
23 |
149 |
1 |
| ssh_packet_start_discard |
|
9 |
19 |
137 |
5 |
| ssh_packet_connection_is_on_socket |
|
10 |
25 |
193 |
1 |
| ssh_packet_get_bytes |
|
3 |
7 |
47 |
3 |
| ssh_packet_connection_af |
|
2 |
10 |
66 |
1 |
| ssh_packet_set_nonblocking |
|
2 |
6 |
41 |
1 |
| ssh_packet_get_connection_in |
|
1 |
4 |
16 |
1 |
| ssh_packet_get_connection_out |
|
1 |
4 |
16 |
1 |
| ssh_remote_ipaddr |
|
3 |
18 |
112 |
1 |
| ssh_remote_port |
|
1 |
5 |
22 |
1 |
| ssh_local_ipaddr |
|
1 |
5 |
22 |
1 |
| ssh_local_port |
|
1 |
5 |
22 |
1 |
| ssh_packet_rdomain_in |
|
3 |
9 |
51 |
1 |
| ssh_packet_close_internal |
|
14 |
59 |
371 |
2 |
| ssh_packet_close |
|
1 |
4 |
16 |
1 |
| ssh_packet_clear_keys |
|
1 |
4 |
16 |
1 |
| ssh_packet_set_protocol_flags |
|
1 |
4 |
20 |
2 |
| ssh_packet_get_protocol_flags |
|
1 |
4 |
16 |
1 |
| ssh_packet_init_compression |
|
2 |
7 |
40 |
1 |
| start_compression_out |
|
6 |
18 |
95 |
2 |
| start_compression_in |
|
4 |
15 |
70 |
1 |
| ssh_packet_start_compression |
|
5 |
12 |
77 |
2 |
| compress_buffer |
|
9 |
33 |
209 |
3 |
| uncompress_buffer |
|
10 |
34 |
197 |
3 |
| ssh_clear_newkeys |
|
3 |
7 |
52 |
2 |
| ssh_set_newkeys |
|
18 |
80 |
599 |
2 |
| ssh_packet_need_rekeying |
|
14 |
25 |
186 |
2 |
| ssh_packet_enable_delayed_compress |
|
10 |
25 |
163 |
1 |
| ssh_packet_log_type |
|
4 |
11 |
30 |
1 |
| ssh_packet_send2_wrapped |
|
43 |
126 |
965 |
1 |
| ssh_packet_type_is_kex |
|
5 |
9 |
28 |
1 |
| ssh_packet_send2 |
|
16 |
56 |
367 |
1 |
| ssh_packet_read_seqnr |
|
18 |
65 |
392 |
3 |
| ssh_packet_read |
|
2 |
8 |
48 |
1 |
| ssh_packet_read_expect |
|
4 |
15 |
75 |
2 |
| ssh_packet_read_poll2_mux |
|
12 |
33 |
241 |
3 |
| ssh_packet_read_poll2 |
|
70 |
183 |
1463 |
3 |
| ssh_packet_read_poll_seqnr |
|
16 |
52 |
299 |
3 |
| ssh_packet_process_incoming |
|
5 |
17 |
105 |
3 |
| ssh_packet_remaining |
|
1 |
4 |
19 |
1 |
| ssh_packet_send_debug |
|
8 |
19 |
161 |
3 |
| fmt_connection_id |
|
3 |
7 |
53 |
3 |
| sshpkt_fatal |
|
18 |
39 |
219 |
3 |
| ssh_packet_disconnect |
|
4 |
21 |
157 |
3 |
| ssh_packet_write_poll |
|
7 |
20 |
114 |
1 |
| ssh_packet_write_wait |
|
14 |
52 |
309 |
1 |
| ssh_packet_have_data_to_write |
|
1 |
4 |
21 |
1 |
| ssh_packet_not_very_much_data_to_write |
|
2 |
7 |
44 |
1 |
| ssh_packet_set_tos |
|
7 |
21 |
137 |
2 |
| ssh_packet_set_interactive |
|
4 |
13 |
75 |
4 |
| ssh_packet_is_interactive |
|
1 |
4 |
16 |
1 |
| ssh_packet_set_maxsize |
|
4 |
17 |
93 |
2 |
| ssh_packet_inc_alive_timeouts |
|
1 |
4 |
17 |
1 |
| ssh_packet_set_alive_timeouts |
|
1 |
4 |
20 |
2 |
| ssh_packet_get_maxsize |
|
1 |
4 |
16 |
1 |
| ssh_packet_set_rekey_limits |
|
1 |
7 |
49 |
3 |
| ssh_packet_get_rekey_timeout |
|
2 |
7 |
41 |
1 |
| ssh_packet_set_server |
|
1 |
4 |
17 |
1 |
| ssh_packet_set_authenticated |
|
1 |
4 |
17 |
1 |
| ssh_packet_get_input |
|
1 |
4 |
20 |
1 |
| ssh_packet_get_output |
|
1 |
4 |
20 |
1 |
| ssh_packet_set_postauth |
|
2 |
10 |
54 |
1 |
| kex_to_blob |
|
10 |
16 |
164 |
2 |
| newkeys_to_blob |
|
16 |
40 |
359 |
3 |
| ssh_packet_get_state |
|
16 |
22 |
275 |
2 |
| newkeys_from_blob |
|
19 |
60 |
480 |
3 |
| kex_from_blob |
|
17 |
37 |
313 |
2 |
| ssh_packet_set_state |
|
22 |
38 |
428 |
2 |
| sshpkt_put |
|
1 |
4 |
31 |
3 |
| sshpkt_putb |
|
1 |
4 |
27 |
2 |
| sshpkt_put_u8 |
|
1 |
4 |
24 |
2 |
| sshpkt_put_u32 |
|
1 |
4 |
24 |
2 |
| sshpkt_put_u64 |
|
1 |
4 |
24 |
2 |
| sshpkt_put_string |
|
1 |
4 |
31 |
3 |
| sshpkt_put_cstring |
|
1 |
4 |
26 |
2 |
| sshpkt_put_stringb |
|
1 |
4 |
27 |
2 |
| sshpkt_put_ec |
|
1 |
4 |
33 |
3 |
| sshpkt_put_bignum2 |
|
1 |
4 |
26 |
2 |
| sshpkt_get |
|
1 |
4 |
30 |
3 |
| sshpkt_get_u8 |
|
1 |
4 |
25 |
2 |
| sshpkt_get_u32 |
|
1 |
4 |
25 |
2 |
| sshpkt_get_u64 |
|
1 |
4 |
25 |
2 |
| sshpkt_get_string |
|
1 |
4 |
31 |
3 |
| sshpkt_get_string_direct |
|
1 |
4 |
32 |
3 |
| sshpkt_peek_string_direct |
|
1 |
4 |
32 |
3 |
| sshpkt_get_cstring |
|
1 |
4 |
31 |
3 |
| sshpkt_get_ec |
|
1 |
4 |
32 |
3 |
| sshpkt_get_bignum2 |
|
1 |
4 |
25 |
2 |
| sshpkt_get_end |
|
2 |
6 |
28 |
1 |
| sshpkt_ptr |
|
2 |
6 |
41 |
2 |
| sshpkt_start |
|
1 |
9 |
78 |
2 |
| ssh_packet_send_mux |
|
7 |
25 |
142 |
1 |
| sshpkt_msg_ignore |
|
6 |
17 |
114 |
2 |
| sshpkt_send |
|
3 |
6 |
33 |
1 |
| sshpkt_disconnect |
|
6 |
16 |
125 |
3 |
| sshpkt_add_padding |
|
1 |
5 |
23 |
2 |
| Source file: ./usr.bin/ssh/auth-options.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| auth_clear_options |
|
2 |
22 |
96 |
1 |
| match_flag |
|
7 |
19 |
120 |
4 |
| auth_parse_options |
|
61 |
306 |
1664 |
4 |
| parse_option_list |
|
28 |
139 |
699 |
11 |
| auth_cert_options |
|
7 |
44 |
234 |
3 |
| Source file: ./usr.bin/ssh/groupaccess.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ga_init |
|
5 |
15 |
127 |
2 |
| ga_match |
|
4 |
9 |
65 |
2 |
| ga_match_pattern_list |
|
5 |
15 |
69 |
1 |
| ga_free |
|
3 |
9 |
42 |
1 |
| Source file: ./usr.bin/ssh/progressmeter.h |
| Source file: ./usr.bin/ssh/bufec.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| buffer_put_ecpoint_ret |
|
2 |
10 |
59 |
3 |
| buffer_put_ecpoint |
|
2 |
6 |
39 |
3 |
| buffer_get_ecpoint_ret |
|
2 |
10 |
58 |
3 |
| buffer_get_ecpoint |
|
2 |
6 |
38 |
3 |
| Source file: ./usr.bin/ssh/ssh.h |
| Source file: ./usr.bin/ssh/bufaux.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| buffer_get_short_ret |
|
2 |
9 |
51 |
2 |
| buffer_get_short |
|
2 |
7 |
36 |
1 |
| buffer_get_int_ret |
|
2 |
9 |
51 |
2 |
| buffer_get_int |
|
2 |
7 |
36 |
1 |
| buffer_get_int64_ret |
|
2 |
9 |
51 |
2 |
| buffer_get_int64 |
|
2 |
7 |
36 |
1 |
| buffer_put_short |
|
2 |
6 |
41 |
2 |
| buffer_put_int |
|
2 |
6 |
41 |
2 |
| buffer_put_int64 |
|
2 |
6 |
41 |
2 |
| buffer_get_string_ret |
|
3 |
13 |
72 |
2 |
| buffer_get_string |
|
2 |
7 |
43 |
2 |
| buffer_get_cstring_ret |
|
3 |
13 |
72 |
2 |
| buffer_get_cstring |
|
2 |
7 |
41 |
2 |
| buffer_get_string_ptr_ret |
|
3 |
13 |
73 |
2 |
| buffer_get_string_ptr |
|
2 |
7 |
44 |
2 |
| buffer_put_string |
|
2 |
6 |
48 |
3 |
| buffer_put_cstring |
|
2 |
6 |
43 |
2 |
| buffer_get_char_ret |
|
2 |
9 |
55 |
2 |
| buffer_get_char |
|
2 |
7 |
37 |
1 |
| buffer_put_char |
|
2 |
6 |
41 |
2 |
| buffer_put_bignum2_from_string |
|
2 |
6 |
48 |
3 |
| Source file: ./usr.bin/ssh/sftp.h |
| Source file: ./usr.bin/ssh/moduli.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| qfileout |
|
4 |
20 |
154 |
7 |
| sieve_large |
|
10 |
31 |
171 |
1 |
| gen_candidates |
|
32 |
124 |
872 |
4 |
| write_checkpoint |
|
8 |
28 |
188 |
2 |
| read_checkpoint |
|
3 |
13 |
75 |
1 |
| count_lines |
|
3 |
14 |
78 |
1 |
| fmt_time |
|
2 |
13 |
93 |
1 |
| print_progress |
|
4 |
35 |
204 |
3 |
| prime_test |
|
43 |
161 |
974 |
7 |
| Source file: ./usr.bin/ssh/verify.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| crypto_verify_32 |
|
1 |
37 |
168 |
2 |
| Source file: ./usr.bin/ssh/cipher-chachapoly.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| chachapoly_init |
|
2 |
9 |
59 |
3 |
| chachapoly_crypt |
|
5 |
38 |
305 |
8 |
| chachapoly_get_length |
|
2 |
12 |
88 |
5 |
| Source file: ./usr.bin/ssh/bitmap.h |
| Source file: ./usr.bin/ssh/compat.h |
| Source file: ./usr.bin/ssh/msg.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ssh_msg_send |
|
3 |
17 |
132 |
3 |
| ssh_msg_recv |
|
6 |
27 |
181 |
2 |
| Source file: ./usr.bin/ssh/auth-passwd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| disable_forwarding |
|
1 |
6 |
18 |
1 |
| auth_password |
|
12 |
17 |
122 |
2 |
| warn_expiry |
|
8 |
28 |
193 |
2 |
| sys_auth_passwd |
|
4 |
22 |
124 |
2 |
| Source file: ./usr.bin/ssh/dh.h |
| Source file: ./usr.bin/ssh/ssherr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ssh_err |
|
59 |
123 |
369 |
1 |
| Source file: ./usr.bin/ssh/digest-openssl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ssh_digest_by_alg |
|
4 |
8 |
43 |
1 |
| ssh_digest_alg_by_name |
|
3 |
9 |
61 |
1 |
| ssh_digest_alg_name |
|
2 |
5 |
29 |
1 |
| ssh_digest_bytes |
|
2 |
5 |
29 |
1 |
| ssh_digest_blocksize |
|
1 |
4 |
18 |
1 |
| ssh_digest_start |
|
4 |
14 |
98 |
1 |
| ssh_digest_copy_state |
|
3 |
8 |
49 |
2 |
| ssh_digest_update |
|
2 |
6 |
39 |
3 |
| ssh_digest_update_buffer |
|
1 |
4 |
31 |
2 |
| ssh_digest_final |
|
6 |
14 |
92 |
3 |
| ssh_digest_free |
|
2 |
8 |
41 |
1 |
| ssh_digest_memory |
|
5 |
15 |
98 |
5 |
| ssh_digest_buffer |
|
1 |
4 |
40 |
4 |
| Source file: ./usr.bin/ssh/channels.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| channel_init_channels |
|
4 |
15 |
124 |
1 |
| channel_by_id |
|
4 |
14 |
81 |
2 |
| channel_by_remote_id |
|
5 |
11 |
71 |
2 |
| channel_lookup |
|
12 |
21 |
89 |
2 |
| channel_register_fds |
|
13 |
29 |
245 |
8 |
| channel_new |
|
8 |
43 |
347 |
11 |
| channel_find_maxfd |
|
3 |
15 |
94 |
1 |
| channel_close_fd |
|
3 |
12 |
70 |
2 |
| channel_close_fds |
|
1 |
7 |
53 |
2 |
| fwd_perm_clear |
|
1 |
7 |
40 |
1 |
| fwd_perm_list_add |
|
4 |
31 |
242 |
8 |
| mux_remove_remote_forwardings |
|
9 |
26 |
194 |
2 |
| channel_free |
|
12 |
51 |
390 |
2 |
| channel_free_all |
|
3 |
7 |
56 |
1 |
| channel_close_all |
|
3 |
7 |
56 |
1 |
| channel_stop_listening |
|
9 |
21 |
99 |
1 |
| channel_not_very_much_buffered_data |
|
5 |
17 |
105 |
1 |
| channel_still_open |
|
23 |
38 |
145 |
1 |
| channel_find_open |
|
24 |
37 |
149 |
1 |
| channel_open_message |
|
28 |
58 |
311 |
1 |
| open_preamble |
|
6 |
11 |
117 |
4 |
| channel_send_open |
|
3 |
13 |
92 |
2 |
| channel_request_start |
|
7 |
18 |
155 |
4 |
| channel_register_status_confirm |
|
2 |
13 |
100 |
5 |
| channel_register_open_confirm |
|
2 |
11 |
62 |
4 |
| channel_register_cleanup |
|
2 |
11 |
61 |
4 |
| channel_cancel_cleanup |
|
2 |
10 |
54 |
2 |
| channel_register_filter |
|
2 |
13 |
82 |
6 |
| channel_set_fds |
|
8 |
18 |
191 |
9 |
| channel_pre_listener |
|
1 |
5 |
30 |
4 |
| channel_pre_connecting |
|
1 |
6 |
39 |
4 |
| channel_pre_open |
|
20 |
33 |
256 |
4 |
| x11_open_helper |
|
12 |
48 |
350 |
2 |
| channel_pre_x11_open |
|
3 |
19 |
142 |
4 |
| channel_pre_mux_client |
|
9 |
19 |
137 |
4 |
| channel_decode_socks4 |
|
24 |
106 |
738 |
3 |
| channel_decode_socks5 |
|
31 |
125 |
847 |
3 |
| channel_connect_stdio_fwd |
|
1 |
16 |
125 |
5 |
| channel_pre_dynamic |
|
7 |
36 |
216 |
4 |
| rdynamic_close |
|
1 |
9 |
54 |
2 |
| channel_before_prepare_select_rdynamic |
|
16 |
52 |
369 |
2 |
| channel_post_x11_listener |
|
13 |
51 |
384 |
4 |
| port_open_helper |
|
17 |
59 |
496 |
3 |
| channel_set_x11_refuse_time |
|
1 |
4 |
20 |
2 |
| channel_post_port_listener |
|
15 |
49 |
334 |
4 |
| channel_post_auth_listener |
|
6 |
25 |
190 |
4 |
| channel_post_connecting |
|
20 |
68 |
544 |
4 |
| channel_handle_rfd |
|
13 |
38 |
288 |
4 |
| channel_handle_wfd |
|
28 |
69 |
522 |
4 |
| channel_handle_efd_write |
|
8 |
24 |
186 |
4 |
| channel_handle_efd_read |
|
8 |
27 |
192 |
4 |
| channel_handle_efd |
|
5 |
12 |
83 |
4 |
| channel_check_window |
|
11 |
28 |
199 |
2 |
| channel_post_open |
|
1 |
8 |
61 |
4 |
| read_mux |
|
7 |
23 |
176 |
3 |
| channel_post_mux_client_read |
|
10 |
27 |
178 |
4 |
| channel_post_mux_client_write |
|
9 |
19 |
148 |
4 |
| channel_post_mux_client |
|
1 |
6 |
43 |
4 |
| channel_post_mux_listener |
|
8 |
41 |
291 |
4 |
| channel_handler_init |
|
3 |
34 |
271 |
1 |
| channel_garbage_collect |
|
6 |
18 |
118 |
2 |
| channel_handler |
|
14 |
39 |
268 |
5 |
| channel_before_prepare_select |
|
4 |
13 |
80 |
1 |
| channel_prepare_select |
|
6 |
22 |
194 |
6 |
| channel_after_select |
|
1 |
4 |
30 |
3 |
| channel_output_poll_input_open |
|
21 |
54 |
417 |
2 |
| channel_output_poll_extended_read |
|
12 |
30 |
256 |
2 |
| channel_output_poll |
|
9 |
24 |
141 |
1 |
| channel_proxy_downstream |
|
39 |
137 |
991 |
2 |
| channel_proxy_upstream |
|
27 |
66 |
364 |
4 |
| channel_parse_id |
|
3 |
14 |
101 |
3 |
| channel_from_packet_id |
|
2 |
10 |
66 |
3 |
| channel_input_data |
|
14 |
45 |
309 |
3 |
| channel_input_extended_data |
|
12 |
47 |
312 |
3 |
| channel_input_ieof |
|
5 |
15 |
106 |
3 |
| channel_input_oclose |
|
2 |
9 |
59 |
3 |
| channel_input_open_confirmation |
|
7 |
30 |
231 |
3 |
| reason2txt |
|
5 |
14 |
40 |
1 |
| channel_input_open_failure |
|
10 |
34 |
266 |
3 |
| channel_input_window_adjust |
|
5 |
26 |
176 |
3 |
| channel_input_status_confirm |
|
4 |
22 |
167 |
3 |
| channel_set_af |
|
1 |
4 |
20 |
2 |
| channel_fwd_bind_addr |
|
21 |
34 |
229 |
4 |
| channel_setup_fwd_listener_tcpip |
|
31 |
117 |
756 |
5 |
| channel_setup_fwd_listener_streamlocal |
|
10 |
64 |
358 |
4 |
| channel_cancel_rport_listener_tcpip |
|
6 |
17 |
115 |
3 |
| channel_cancel_rport_listener_streamlocal |
|
6 |
18 |
116 |
2 |
| channel_cancel_rport_listener |
|
2 |
10 |
51 |
2 |
| channel_cancel_lport_listener_tcpip |
|
14 |
31 |
206 |
5 |
| channel_cancel_lport_listener_streamlocal |
|
7 |
22 |
134 |
2 |
| channel_cancel_lport_listener |
|
2 |
11 |
63 |
4 |
| channel_setup_local_fwd_listener |
|
2 |
11 |
58 |
3 |
| channel_setup_remote_fwd_listener |
|
2 |
12 |
62 |
4 |
| channel_rfwd_bind_host |
|
6 |
15 |
66 |
1 |
| channel_request_remote_forwarding |
|
19 |
52 |
390 |
2 |
| open_match |
|
6 |
13 |
74 |
3 |
| open_listen_match_tcpip |
|
9 |
19 |
100 |
4 |
| open_listen_match_streamlocal |
|
5 |
12 |
60 |
2 |
| channel_request_rforward_cancel_tcpip |
|
10 |
27 |
202 |
3 |
| channel_request_rforward_cancel_streamlocal |
|
9 |
26 |
179 |
2 |
| channel_request_rforward_cancel |
|
3 |
11 |
59 |
2 |
| channel_permit_all_opens |
|
2 |
5 |
27 |
1 |
| channel_add_permitted_opens |
|
1 |
7 |
59 |
3 |
| channel_update_permitted_opens |
|
6 |
20 |
128 |
3 |
| channel_add_adm_permitted_opens |
|
1 |
6 |
45 |
3 |
| channel_disable_adm_local_opens |
|
1 |
5 |
33 |
1 |
| channel_clear_permitted_opens |
|
1 |
7 |
49 |
1 |
| channel_clear_adm_permitted_opens |
|
1 |
7 |
49 |
1 |
| permitopen_port |
|
3 |
9 |
46 |
1 |
| connect_next |
|
12 |
54 |
366 |
1 |
| channel_connect_ctx_free |
|
3 |
11 |
62 |
1 |
| connect_to_helper |
|
7 |
52 |
399 |
9 |
| connect_to |
|
2 |
20 |
143 |
5 |
| channel_connect_by_listen_address |
|
5 |
23 |
140 |
5 |
| channel_connect_by_listen_path |
|
3 |
18 |
104 |
4 |
| channel_connect_to_port |
|
11 |
50 |
327 |
7 |
| channel_connect_to_path |
|
9 |
33 |
198 |
4 |
| channel_send_window_changes |
|
11 |
22 |
212 |
1 |
| rdynamic_connect_prepare |
|
6 |
18 |
162 |
3 |
| rdynamic_connect_finish |
|
2 |
16 |
112 |
2 |
| x11_create_display_inet |
|
17 |
81 |
538 |
6 |
| connect_local_xsocket |
|
3 |
16 |
124 |
1 |
| x11_connect_display |
|
13 |
70 |
441 |
1 |
| x11_request_forwarding_with_spoofing |
|
14 |
48 |
384 |
6 |
| Source file: ./usr.bin/ssh/kexc25519.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| kexc25519_keygen |
|
1 |
6 |
44 |
2 |
| kexc25519_shared_key |
|
3 |
15 |
99 |
3 |
| kex_c25519_hash |
|
18 |
43 |
350 |
15 |
| Source file: ./usr.bin/ssh/fe25519.h |
| Source file: ./usr.bin/ssh/sshkey.h |
| Source file: ./usr.bin/ssh/monitor_wrap.h |
| Source file: ./usr.bin/ssh/auth2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| auth2_read_banner |
|
6 |
27 |
168 |
1 |
| userauth_banner |
|
4 |
15 |
79 |
1 |
| do_authentication2 |
|
1 |
9 |
57 |
1 |
| input_service_request |
|
5 |
27 |
141 |
3 |
| input_userauth_request |
|
17 |
59 |
443 |
3 |
| userauth_finish |
|
20 |
49 |
306 |
4 |
| auth2_method_allowed |
|
4 |
13 |
73 |
3 |
| authmethods_get |
|
8 |
25 |
177 |
1 |
| authmethod_lookup |
|
8 |
15 |
109 |
2 |
| auth2_methods_valid |
|
11 |
39 |
223 |
2 |
| auth2_setup_methods_lists |
|
5 |
28 |
163 |
1 |
| list_starts_with |
|
7 |
24 |
129 |
3 |
| remove_method |
|
6 |
17 |
112 |
3 |
| auth2_update_methods_lists |
|
5 |
21 |
130 |
3 |
| auth2_authctxt_reset_info |
|
1 |
7 |
34 |
1 |
| auth2_record_info |
|
3 |
12 |
79 |
3 |
| auth2_record_key |
|
6 |
21 |
172 |
3 |
| auth2_key_already_used |
|
4 |
17 |
108 |
2 |
| auth2_update_session_info |
|
14 |
31 |
264 |
3 |
| Source file: ./usr.bin/ssh/hostfile.h |
| Source file: ./usr.bin/ssh/readconf.h |
| Source file: ./usr.bin/ssh/addrmatch.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| addr_unicast_masklen |
|
3 |
11 |
31 |
1 |
| masklen_valid |
|
5 |
11 |
48 |
2 |
| addr_sa_to_xaddr |
|
5 |
24 |
175 |
3 |
| addr_netmask |
|
10 |
25 |
180 |
3 |
| addr_and |
|
8 |
19 |
136 |
3 |
| addr_cmp |
|
12 |
21 |
180 |
2 |
| addr_pton |
|
7 |
17 |
122 |
2 |
| addr_invert |
|
5 |
17 |
95 |
1 |
| addr_hostmask |
|
3 |
6 |
48 |
3 |
| addr_is_all0s |
|
6 |
15 |
87 |
1 |
| addr_host_is_all0s |
|
3 |
10 |
89 |
2 |
| addr_pton_cidr |
|
13 |
28 |
225 |
3 |
| addr_netmatch |
|
4 |
11 |
89 |
3 |
| addr_match_list |
|
14 |
45 |
258 |
2 |
| addr_match_cidr_list |
|
13 |
50 |
295 |
2 |
| Source file: ./usr.bin/ssh/compat.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| compat_datafellows |
|
3 |
159 |
569 |
1 |
| proto_spec |
|
6 |
22 |
123 |
1 |
| compat_cipher_proposal |
|
4 |
12 |
73 |
1 |
| compat_pkalg_proposal |
|
4 |
12 |
73 |
1 |
| compat_kex_proposal |
|
7 |
20 |
121 |
1 |
| Source file: ./usr.bin/ssh/kex.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| kex_alg_list |
|
4 |
19 |
124 |
1 |
| kex_alg_by_name |
|
3 |
9 |
51 |
1 |
| kex_names_valid |
|
7 |
19 |
131 |
1 |
| kex_names_cat |
|
13 |
32 |
251 |
2 |
| kex_assemble_names |
|
8 |
20 |
132 |
2 |
| kex_prop2buf |
|
7 |
18 |
130 |
2 |
| kex_buf2prop |
|
11 |
36 |
255 |
3 |
| kex_prop_free |
|
3 |
9 |
45 |
1 |
| kex_protocol_error |
|
4 |
10 |
72 |
3 |
| kex_reset_dispatch |
|
1 |
5 |
21 |
1 |
| kex_send_ext_info |
|
7 |
17 |
120 |
1 |
| kex_send_newkeys |
|
5 |
15 |
93 |
1 |
| kex_input_ext_info |
|
9 |
42 |
278 |
3 |
| kex_input_newkeys |
|
3 |
18 |
121 |
3 |
| kex_send_kexinit |
|
8 |
23 |
148 |
1 |
| kex_input_kexinit |
|
15 |
33 |
279 |
3 |
| kex_new |
|
6 |
24 |
157 |
3 |
| kex_free_newkeys |
|
5 |
29 |
239 |
1 |
| kex_free |
|
5 |
21 |
133 |
1 |
| kex_setup |
|
3 |
12 |
76 |
2 |
| kex_start_rekex |
|
3 |
13 |
65 |
1 |
| choose_enc |
|
3 |
18 |
124 |
3 |
| choose_mac |
|
4 |
16 |
100 |
4 |
| choose_comp |
|
5 |
18 |
118 |
3 |
| choose_kex |
|
4 |
14 |
107 |
3 |
| choose_hostkeyalg |
|
4 |
13 |
92 |
3 |
| proposals_match |
|
5 |
21 |
163 |
2 |
| kex_choose_conf |
|
26 |
100 |
780 |
1 |
| derive_key |
|
16 |
50 |
343 |
7 |
| kex_derive_keys |
|
11 |
24 |
225 |
4 |
| kex_derive_keys_bn |
|
3 |
12 |
80 |
4 |
| dump_digest |
|
1 |
5 |
33 |
3 |
| Source file: ./usr.bin/ssh/ssh-keysign.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| valid_request |
|
29 |
73 |
634 |
5 |
| main |
|
36 |
105 |
869 |
2 |
| Source file: ./usr.bin/ssh/cipher-aesctr.h |
| Source file: ./usr.bin/ssh/monitor_wrap.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mm_log_handler |
|
3 |
16 |
141 |
3 |
| mm_is_monitor |
|
2 |
4 |
17 |
1 |
| mm_request_send |
|
3 |
12 |
120 |
3 |
| mm_request_receive |
|
5 |
18 |
139 |
2 |
| mm_request_receive_expect |
|
2 |
10 |
58 |
3 |
| mm_choose_dh |
|
4 |
25 |
193 |
3 |
| mm_key_sign |
|
1 |
17 |
144 |
6 |
| mm_getpwnamallow |
|
4 |
38 |
279 |
1 |
| mm_auth2_read_banner |
|
2 |
18 |
97 |
1 |
| mm_inform_authserv |
|
2 |
10 |
66 |
2 |
| mm_auth_password |
|
2 |
16 |
104 |
2 |
| mm_user_key_allowed |
|
1 |
6 |
33 |
3 |
| mm_hostbased_key_allowed |
|
1 |
5 |
40 |
4 |
| mm_key_allowed |
|
5 |
27 |
205 |
5 |
| mm_sshkey_verify |
|
3 |
24 |
168 |
6 |
| mm_send_keystate |
|
3 |
14 |
93 |
1 |
| mm_pty_allocate |
|
8 |
38 |
291 |
4 |
| mm_session_pty_cleanup2 |
|
4 |
14 |
95 |
1 |
| mm_terminate |
|
1 |
7 |
33 |
1 |
| mm_chall_setup |
|
1 |
10 |
85 |
5 |
| mm_bsdauth_query |
|
2 |
24 |
164 |
6 |
| mm_bsdauth_respond |
|
3 |
16 |
109 |
3 |
| mm_ssh_gssapi_server_ctx |
|
1 |
13 |
85 |
2 |
| mm_ssh_gssapi_accept_ctx |
|
2 |
18 |
124 |
4 |
| mm_ssh_gssapi_checkmic |
|
1 |
14 |
97 |
3 |
| mm_ssh_gssapi_userok |
|
2 |
13 |
78 |
1 |
| Source file: ./usr.bin/ssh/poly1305.h |
| Source file: ./usr.bin/ssh/gss-genr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ssh_gssapi_check_oid |
|
4 |
6 |
51 |
3 |
| ssh_gssapi_set_oid_data |
|
2 |
11 |
87 |
3 |
| ssh_gssapi_set_oid |
|
1 |
4 |
24 |
2 |
| ssh_gssapi_error |
|
1 |
7 |
35 |
1 |
| ssh_gssapi_last_error |
|
5 |
34 |
240 |
3 |
| ssh_gssapi_build_ctx |
|
1 |
10 |
75 |
1 |
| ssh_gssapi_delete_ctx |
|
8 |
23 |
204 |
1 |
| ssh_gssapi_init_ctx |
|
3 |
16 |
111 |
5 |
| ssh_gssapi_import_name |
|
2 |
13 |
92 |
2 |
| ssh_gssapi_sign |
|
2 |
7 |
52 |
3 |
| ssh_gssapi_buildmic |
|
1 |
10 |
65 |
4 |
| ssh_gssapi_check_mechanism |
|
6 |
23 |
178 |
3 |
| Source file: ./usr.bin/ssh/canohost.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| get_socket_address |
|
8 |
31 |
201 |
3 |
| get_peer_ipaddr |
|
2 |
7 |
37 |
1 |
| get_local_ipaddr |
|
2 |
7 |
37 |
1 |
| get_local_name |
|
3 |
13 |
85 |
1 |
| get_sock_port |
|
7 |
27 |
195 |
2 |
| get_peer_port |
|
1 |
4 |
15 |
1 |
| get_local_port |
|
1 |
4 |
15 |
1 |
| Source file: ./usr.bin/ssh/uuencode.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| uuencode |
|
1 |
5 |
31 |
4 |
| uudecode |
|
6 |
14 |
99 |
3 |
| dump_base64 |
|
5 |
19 |
130 |
3 |
| Source file: ./usr.bin/ssh/ssh-pkcs11.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pkcs11_init |
|
1 |
6 |
22 |
1 |
| pkcs11_provider_finalize |
|
6 |
20 |
139 |
1 |
| pkcs11_provider_unref |
|
3 |
11 |
63 |
1 |
| pkcs11_terminate |
|
2 |
9 |
47 |
1 |
| pkcs11_provider_lookup |
|
2 |
10 |
57 |
1 |
| pkcs11_del_provider |
|
2 |
11 |
59 |
1 |
| pkcs11_rsa_finish |
|
4 |
14 |
79 |
1 |
| pkcs11_find |
|
5 |
24 |
168 |
5 |
| pkcs11_rsa_private_encrypt |
|
18 |
76 |
558 |
5 |
| pkcs11_rsa_private_decrypt |
|
1 |
5 |
29 |
5 |
| pkcs11_rsa_wrap |
|
2 |
24 |
187 |
4 |
| rmspace |
|
5 |
11 |
61 |
2 |
| pkcs11_open_session |
|
10 |
32 |
225 |
3 |
| pkcs11_fetch_keys |
|
3 |
28 |
179 |
4 |
| pkcs11_key_included |
|
3 |
8 |
61 |
3 |
| pkcs11_fetch_keys_filter |
|
30 |
101 |
739 |
6 |
| pkcs11_add_provider |
|
18 |
119 |
830 |
3 |
| pkcs11_add_provider |
|
1 |
5 |
29 |
3 |
| Source file: ./usr.bin/ssh/chacha.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| chacha_keysetup |
|
2 |
22 |
212 |
3 |
| chacha_ivsetup |
|
3 |
7 |
86 |
3 |
| chacha_encrypt_bytes |
|
10 |
122 |
1066 |
4 |
| Source file: ./usr.bin/ssh/sftp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| killchild |
|
2 |
8 |
36 |
1 |
| suspchild |
|
4 |
9 |
51 |
1 |
| cmd_interrupt |
|
1 |
8 |
45 |
1 |
| help |
|
1 |
36 |
43 |
1 |
| local_do_shell |
|
11 |
31 |
218 |
1 |
| local_do_ls |
|
3 |
12 |
73 |
1 |
| path_strip |
|
5 |
13 |
92 |
2 |
| make_absolute |
|
3 |
10 |
55 |
2 |
| parse_getput_flags |
|
8 |
31 |
159 |
7 |
| parse_link_flags |
|
3 |
19 |
102 |
4 |
| parse_rename_flags |
|
3 |
19 |
102 |
4 |
| parse_ls_flags |
|
11 |
48 |
202 |
3 |
| parse_df_flags |
|
4 |
22 |
119 |
5 |
| parse_no_flags |
|
2 |
15 |
83 |
3 |
| is_dir |
|
2 |
7 |
41 |
1 |
| remote_is_dir |
|
3 |
9 |
66 |
2 |
| pathname_is_dir |
|
2 |
5 |
31 |
1 |
| process_get |
|
26 |
73 |
514 |
8 |
| process_put |
|
28 |
78 |
549 |
8 |
| sdirent_comp |
|
5 |
13 |
129 |
2 |
| do_ls_dir |
|
18 |
66 |
522 |
4 |
| sglob_comp |
|
5 |
17 |
171 |
2 |
| do_globbed_ls |
|
24 |
81 |
606 |
4 |
| do_df |
|
6 |
55 |
481 |
4 |
| undo_glob_escape |
|
9 |
31 |
152 |
1 |
| makeargv |
|
48 |
122 |
854 |
5 |
| parse_args |
|
63 |
164 |
1043 |
13 |
| parse_dispatch_command |
|
73 |
239 |
1440 |
5 |
| prompt |
|
1 |
4 |
13 |
1 |
| complete_display |
|
7 |
28 |
224 |
2 |
| complete_ambiguous |
|
7 |
21 |
141 |
3 |
| complete_cmd_parse |
|
18 |
54 |
429 |
5 |
| complete_is_remote |
|
4 |
10 |
76 |
1 |
| complete_match |
|
45 |
102 |
743 |
8 |
| complete |
|
15 |
47 |
395 |
2 |
| interactive_loop |
|
30 |
121 |
838 |
3 |
| connect_to_server |
|
6 |
35 |
268 |
4 |
| usage |
|
1 |
13 |
30 |
1 |
| main |
|
57 |
192 |
1121 |
2 |
| Source file: ./usr.bin/ssh/bufbn.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| buffer_put_bignum2_ret |
|
2 |
9 |
52 |
2 |
| buffer_put_bignum2 |
|
2 |
5 |
32 |
2 |
| buffer_get_bignum2_ret |
|
2 |
9 |
51 |
2 |
| buffer_get_bignum2 |
|
2 |
5 |
31 |
2 |
| Source file: ./usr.bin/ssh/smult_curve25519_ref.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| add |
|
2 |
8 |
99 |
3 |
| sub |
|
2 |
13 |
101 |
3 |
| squeeze |
|
3 |
11 |
136 |
1 |
| freeze |
|
3 |
10 |
107 |
1 |
| mult |
|
4 |
13 |
130 |
3 |
| mult121665 |
|
3 |
11 |
148 |
2 |
| square |
|
5 |
18 |
182 |
2 |
| select |
|
2 |
12 |
111 |
5 |
| mainloop |
|
6 |
51 |
486 |
2 |
| recip |
|
7 |
57 |
553 |
2 |
| crypto_scalarmult_curve25519 |
|
4 |
19 |
172 |
3 |
| Source file: ./usr.bin/ssh/auth-bsdauth.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bsdauth_init_ctx |
|
1 |
4 |
11 |
1 |
| bsdauth_query |
|
8 |
37 |
255 |
6 |
| bsdauth_respond |
|
5 |
15 |
104 |
3 |
| bsdauth_free_ctx |
|
3 |
8 |
37 |
1 |
| Source file: ./usr.bin/ssh/auth2-gss.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| userauth_gssapi |
|
12 |
53 |
317 |
1 |
| input_gssapi_token |
|
9 |
46 |
273 |
3 |
| input_gssapi_errtok |
|
4 |
22 |
144 |
3 |
| input_gssapi_exchange_complete |
|
6 |
20 |
155 |
3 |
| input_gssapi_mic |
|
7 |
35 |
265 |
3 |
| Source file: ./usr.bin/ssh/sftp-common.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| attrib_clear |
|
1 |
10 |
50 |
1 |
| stat_to_attrib |
|
1 |
15 |
97 |
2 |
| attrib_to_stat |
|
5 |
16 |
111 |
2 |
| decode_attrib |
|
17 |
43 |
327 |
2 |
| encode_attrib |
|
12 |
25 |
190 |
2 |
| fx2txt |
|
10 |
25 |
92 |
1 |
| ls_file |
|
7 |
44 |
409 |
4 |
| Source file: ./usr.bin/ssh/sandbox-pledge.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ssh_sandbox_init |
|
1 |
8 |
40 |
1 |
| ssh_sandbox_child |
|
2 |
5 |
28 |
1 |
| ssh_sandbox_parent_finish |
|
1 |
5 |
21 |
1 |
| ssh_sandbox_parent_preauth |
|
1 |
4 |
18 |
2 |
| Source file: ./usr.bin/ssh/dns.h |
| Source file: ./usr.bin/ssh/digest.h |
| Source file: ./usr.bin/ssh/chacha.h |
| Source file: ./usr.bin/ssh/blocks.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| load_bigendian |
|
1 |
13 |
147 |
1 |
| store_bigendian |
|
1 |
11 |
103 |
2 |
| crypto_hashblocks_sha512 |
|
2 |
151 |
1055 |
3 |
| Source file: ./usr.bin/ssh/ssh-add.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| clear_pass |
|
2 |
8 |
31 |
1 |
| delete_file |
|
11 |
48 |
308 |
4 |
| delete_all |
|
3 |
12 |
59 |
1 |
| add_file |
|
35 |
131 |
829 |
4 |
| update_card |
|
7 |
22 |
140 |
3 |
| list_identities |
|
7 |
34 |
216 |
2 |
| lock_agent |
|
7 |
29 |
202 |
2 |
| do_file |
|
4 |
11 |
72 |
5 |
| usage |
|
1 |
18 |
113 |
1 |
| main |
|
40 |
135 |
720 |
2 |
| Source file: ./usr.bin/ssh/rijndael.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rijndaelKeySetupEnc |
|
10 |
79 |
745 |
3 |
| rijndaelKeySetupDec |
|
3 |
36 |
527 |
3 |
| rijndaelEncrypt |
|
6 |
150 |
3242 |
4 |
| rijndaelDecrypt |
|
6 |
150 |
3246 |
4 |
| Source file: ./usr.bin/ssh/session.h |
| Source file: ./usr.bin/ssh/ttymodes.h |
| Source file: ./usr.bin/ssh/hash.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| crypto_hash_sha512 |
|
7 |
41 |
398 |
3 |
| Source file: ./usr.bin/ssh/ssh-keyscan.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fdlim_get |
|
5 |
10 |
63 |
1 |
| fdlim_set |
|
4 |
12 |
70 |
1 |
| xstrsep |
|
3 |
12 |
70 |
2 |
| strnnsep |
|
3 |
8 |
43 |
2 |
| key_print_wrapper |
|
2 |
7 |
42 |
2 |
| ssh2_capable |
|
4 |
14 |
43 |
2 |
| keygrab_ssh2 |
|
11 |
47 |
294 |
1 |
| keyprint_one |
|
4 |
15 |
105 |
2 |
| keyprint |
|
7 |
15 |
105 |
2 |
| tcpconnect |
|
7 |
32 |
234 |
1 |
| conalloc |
|
5 |
34 |
276 |
3 |
| confree |
|
5 |
20 |
158 |
1 |
| contouch |
|
1 |
7 |
57 |
1 |
| conrecycle |
|
1 |
8 |
47 |
1 |
| congreet |
|
18 |
70 |
461 |
1 |
| conread |
|
5 |
30 |
190 |
1 |
| conloop |
|
16 |
43 |
349 |
1 |
| do_host |
|
6 |
14 |
79 |
1 |
| fatal |
|
1 |
8 |
40 |
2 |
| usage |
|
1 |
8 |
21 |
1 |
| main |
|
46 |
136 |
739 |
2 |
| Source file: ./usr.bin/ssh/umac.h |
| Source file: ./usr.bin/ssh/ssh.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usage |
|
1 |
13 |
24 |
1 |
| tilde_expand_paths |
|
2 |
10 |
60 |
2 |
| resolve_host |
|
12 |
31 |
237 |
5 |
| resolve_addr |
|
9 |
45 |
296 |
4 |
| check_follow_cname |
|
10 |
26 |
174 |
3 |
| resolve_canonicalize |
|
16 |
69 |
451 |
2 |
| process_config_files |
|
9 |
22 |
172 |
3 |
| set_addrinfo_port |
|
4 |
16 |
89 |
2 |
| main |
|
227 |
735 |
4540 |
2 |
| control_persist_detach |
|
10 |
36 |
227 |
1 |
| fork_postauth |
|
3 |
9 |
44 |
1 |
| ssh_confirm_remote_forward |
|
16 |
45 |
274 |
4 |
| client_cleanup_stdio_fwd |
|
1 |
5 |
26 |
3 |
| ssh_stdio_confirm |
|
2 |
5 |
29 |
4 |
| ssh_init_stdio_forwarding |
|
5 |
17 |
130 |
1 |
| ssh_init_forwarding |
|
20 |
62 |
447 |
2 |
| check_agent_present |
|
4 |
12 |
54 |
1 |
| ssh_session2_setup |
|
7 |
32 |
218 |
4 |
| ssh_session2_open |
|
10 |
36 |
215 |
1 |
| ssh_session2 |
|
24 |
79 |
453 |
2 |
| load_public_identity_files |
|
23 |
115 |
810 |
1 |
| main_sigchld_handler |
|
4 |
11 |
59 |
1 |
| Source file: ./usr.bin/ssh/sandbox-rlimit.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ssh_sandbox_init |
|
1 |
8 |
40 |
1 |
| ssh_sandbox_child |
|
4 |
14 |
98 |
1 |
| ssh_sandbox_parent_finish |
|
1 |
5 |
21 |
1 |
| ssh_sandbox_parent_preauth |
|
1 |
4 |
18 |
2 |
| Source file: ./usr.bin/ssh/sshbuf-getput-basic.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sshbuf_get |
|
4 |
10 |
69 |
3 |
| sshbuf_get_u64 |
|
3 |
10 |
61 |
2 |
| sshbuf_get_u32 |
|
3 |
10 |
61 |
2 |
| sshbuf_get_u16 |
|
3 |
10 |
61 |
2 |
| sshbuf_get_u8 |
|
3 |
10 |
62 |
2 |
| sshbuf_get_string |
|
8 |
24 |
148 |
3 |
| sshbuf_get_string_direct |
|
7 |
22 |
127 |
3 |
| sshbuf_peek_string_direct |
|
8 |
28 |
152 |
3 |
| sshbuf_get_cstring |
|
11 |
31 |
212 |
3 |
| sshbuf_get_stringb |
|
5 |
12 |
92 |
2 |
| sshbuf_put |
|
3 |
10 |
63 |
3 |
| sshbuf_putb |
|
1 |
4 |
31 |
2 |
| sshbuf_putf |
|
1 |
9 |
48 |
3 |
| sshbuf_putfv |
|
6 |
29 |
183 |
3 |
| sshbuf_put_u64 |
|
2 |
9 |
50 |
2 |
| sshbuf_put_u32 |
|
2 |
9 |
50 |
2 |
| sshbuf_put_u16 |
|
2 |
9 |
50 |
2 |
| sshbuf_put_u8 |
|
2 |
9 |
50 |
2 |
| sshbuf_put_string |
|
4 |
15 |
94 |
3 |
| sshbuf_put_cstring |
|
2 |
4 |
33 |
2 |
| sshbuf_put_stringb |
|
1 |
4 |
31 |
2 |
| sshbuf_froms |
|
7 |
21 |
136 |
2 |
| sshbuf_put_bignum2_bytes |
|
8 |
21 |
161 |
3 |
| sshbuf_get_bignum2_bytes_direct |
|
12 |
29 |
174 |
3 |
| Source file: ./usr.bin/ssh/sshpty.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pty_allocate |
|
2 |
12 |
76 |
4 |
| pty_release |
|
3 |
7 |
66 |
1 |
| pty_make_controlling_tty |
|
9 |
30 |
192 |
2 |
| pty_change_window_size |
|
1 |
10 |
60 |
5 |
| pty_setowner |
|
14 |
37 |
280 |
2 |
| disconnect_controlling_tty |
|
2 |
8 |
45 |
1 |
| Source file: ./usr.bin/ssh/dns.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dns_result_totext |
|
7 |
19 |
73 |
1 |
| dns_read_key |
|
14 |
53 |
239 |
5 |
| dns_read_rdata |
|
3 |
20 |
126 |
6 |
| is_numeric_hostname |
|
3 |
16 |
89 |
1 |
| verify_host_key_dns |
|
17 |
83 |
420 |
4 |
| export_dns_rr |
|
6 |
33 |
188 |
4 |
| Source file: ./usr.bin/ssh/crc32.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ssh_crc32 |
|
2 |
8 |
60 |
2 |
| Source file: ./usr.bin/ssh/utf8.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dangerous_locale |
|
5 |
7 |
63 |
1 |
| grow_dst |
|
4 |
16 |
113 |
5 |
| vasnmprintf |
|
34 |
109 |
613 |
5 |
| snmprintf |
|
2 |
15 |
94 |
5 |
| vfmprintf |
|
3 |
11 |
73 |
3 |
| fmprintf |
|
1 |
9 |
47 |
3 |
| mprintf |
|
1 |
9 |
43 |
2 |
| Source file: ./usr.bin/ssh/auth2-hostbased.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| userauth_hostbased |
|
29 |
88 |
688 |
1 |
| hostbased_key_allowed |
|
17 |
75 |
473 |
4 |
| Source file: ./usr.bin/ssh/digest-libc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ssh_digest_by_alg |
|
4 |
8 |
43 |
1 |
| ssh_digest_alg_by_name |
|
3 |
9 |
55 |
1 |
| ssh_digest_alg_name |
|
2 |
5 |
29 |
1 |
| ssh_digest_bytes |
|
2 |
5 |
29 |
1 |
| ssh_digest_blocksize |
|
2 |
5 |
33 |
1 |
| ssh_digest_start |
|
4 |
14 |
96 |
1 |
| ssh_digest_copy_state |
|
3 |
8 |
62 |
2 |
| ssh_digest_update |
|
2 |
8 |
55 |
3 |
| ssh_digest_update_buffer |
|
1 |
4 |
31 |
2 |
| ssh_digest_final |
|
4 |
12 |
72 |
3 |
| ssh_digest_free |
|
3 |
13 |
72 |
1 |
| ssh_digest_memory |
|
4 |
11 |
76 |
5 |
| ssh_digest_buffer |
|
1 |
4 |
40 |
4 |
| Source file: ./usr.bin/ssh/auth-rhosts.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| check_rhosts_file |
|
31 |
92 |
553 |
5 |
| auth_rhosts2 |
|
22 |
90 |
542 |
4 |
| Source file: ./usr.bin/ssh/ssh_api.h |
| Source file: ./usr.bin/ssh/uidswap.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| temporarily_use_uid |
|
9 |
33 |
238 |
1 |
| restore_uid |
|
6 |
17 |
118 |
1 |
| permanently_set_uid |
|
4 |
11 |
109 |
1 |
| permanently_drop_suid |
|
2 |
6 |
45 |
1 |
| Source file: ./usr.bin/ssh/sshconnect.h |
| Source file: ./usr.bin/ssh/ge25519.h |
| Source file: ./usr.bin/ssh/channels.h |
| Source file: ./usr.bin/ssh/sshlogin.h |
| Source file: ./usr.bin/ssh/clientloop.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| leave_non_blocking |
|
2 |
7 |
24 |
1 |
| window_change_handler |
|
1 |
5 |
18 |
1 |
| signal_handler |
|
1 |
5 |
15 |
1 |
| set_control_persist_exit_time |
|
7 |
16 |
93 |
1 |
| client_x11_display_valid |
|
5 |
15 |
89 |
1 |
| client_x11_get_proto |
|
32 |
113 |
713 |
7 |
| client_check_window_change |
|
2 |
8 |
32 |
1 |
| client_global_request_reply |
|
4 |
15 |
105 |
3 |
| server_alive_check |
|
2 |
12 |
56 |
1 |
| client_wait_until_can_do_something |
|
17 |
57 |
390 |
6 |
| client_suspend_self |
|
3 |
16 |
120 |
3 |
| client_process_net_input |
|
7 |
27 |
152 |
1 |
| client_status_confirm |
|
15 |
41 |
275 |
4 |
| client_abandon_status_confirm |
|
1 |
4 |
22 |
3 |
| client_expect_confirm |
|
1 |
9 |
62 |
4 |
| client_register_global_confirm |
|
5 |
16 |
111 |
2 |
| process_cmdline |
|
26 |
106 |
565 |
1 |
| print_escape_help |
|
6 |
24 |
185 |
4 |
| process_escapes |
|
41 |
155 |
881 |
7 |
| client_process_buffered_input_packets |
|
1 |
4 |
16 |
1 |
| client_new_escape_filter_ctx |
|
1 |
8 |
44 |
1 |
| client_filter_cleanup |
|
1 |
4 |
21 |
3 |
| client_simple_escape_filter |
|
2 |
7 |
55 |
4 |
| client_channel_closed |
|
1 |
6 |
36 |
3 |
| client_loop |
|
47 |
157 |
1008 |
4 |
| client_request_forwarded_tcpip |
|
15 |
44 |
333 |
5 |
| client_request_forwarded_streamlocal |
|
2 |
15 |
84 |
3 |
| client_request_x11 |
|
6 |
37 |
186 |
3 |
| client_request_agent |
|
4 |
23 |
125 |
3 |
| client_request_tun_fwd |
|
3 |
27 |
167 |
4 |
| client_input_channel_open |
|
10 |
52 |
343 |
3 |
| client_input_channel_req |
|
13 |
47 |
289 |
3 |
| hostkeys_update_ctx_free |
|
4 |
16 |
110 |
1 |
| hostkeys_find |
|
6 |
26 |
217 |
2 |
| update_known_hosts |
|
20 |
60 |
408 |
1 |
| client_global_hostkeys_private_confirm |
|
13 |
54 |
371 |
4 |
| key_accepted_by_hostkeyalgs |
|
7 |
13 |
99 |
1 |
| client_input_hostkeys |
|
33 |
122 |
878 |
1 |
| client_input_global_request |
|
4 |
20 |
97 |
3 |
| client_session2_setup |
|
16 |
82 |
584 |
9 |
| client_init_dispatch |
|
1 |
19 |
132 |
1 |
| client_stop_mux |
|
5 |
9 |
45 |
1 |
| cleanup_exit |
|
3 |
9 |
49 |
1 |
| Source file: ./usr.bin/ssh/kexecdhs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| kexecdh_server |
|
1 |
6 |
27 |
1 |
| input_kex_ecdh_init |
|
32 |
122 |
804 |
3 |
| Source file: ./usr.bin/ssh/sshpty.h |
| Source file: ./usr.bin/ssh/auth-options.h |
| Source file: ./usr.bin/ssh/ssh-pkcs11.h |
| Source file: ./usr.bin/ssh/progressmeter.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| can_output |
|
1 |
4 |
18 |
1 |
| format_rate |
|
5 |
16 |
120 |
3 |
| format_size |
|
4 |
10 |
73 |
3 |
| refresh_progress_meter |
|
18 |
86 |
540 |
1 |
| update_progress_meter |
|
3 |
14 |
54 |
1 |
| start_progress_meter |
|
2 |
17 |
86 |
3 |
| stop_progress_meter |
|
3 |
9 |
41 |
1 |
| sig_winch |
|
1 |
4 |
11 |
1 |
| setscreensize |
|
4 |
13 |
61 |
1 |
| Source file: ./usr.bin/ssh/authfile.h |
| Source file: ./usr.bin/ssh/authfd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| decode_reply |
|
3 |
9 |
31 |
1 |
| ssh_get_authentication_socket |
|
7 |
28 |
176 |
1 |
| ssh_request_reply |
|
9 |
29 |
201 |
3 |
| ssh_close_authentication_socket |
|
2 |
5 |
19 |
1 |
| ssh_lock_agent |
|
7 |
19 |
134 |
3 |
| deserialise_identity2 |
|
5 |
20 |
124 |
3 |
| ssh_fetch_identitylist |
|
17 |
59 |
366 |
2 |
| ssh_free_identitylist |
|
5 |
13 |
78 |
1 |
| agent_encode_alg |
|
5 |
10 |
61 |
2 |
| ssh_agent_sign |
|
15 |
48 |
336 |
8 |
| ssh_encode_identity_ssh2 |
|
3 |
9 |
56 |
3 |
| encode_constraints |
|
6 |
16 |
92 |
3 |
| ssh_add_identity_constrained |
|
18 |
40 |
219 |
5 |
| ssh_remove_identity |
|
9 |
32 |
197 |
2 |
| ssh_update_card |
|
11 |
30 |
201 |
6 |
| ssh_remove_all_identities |
|
6 |
20 |
120 |
2 |
| Source file: ./usr.bin/ssh/key.h |
| Source file: ./usr.bin/ssh/auth2-kbdint.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| userauth_kbdint |
|
2 |
14 |
74 |
1 |
| Source file: ./usr.bin/ssh/sshconnect.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| expand_proxy_command |
|
1 |
11 |
91 |
4 |
| ssh_proxy_fdpass_connect |
|
14 |
51 |
377 |
4 |
| ssh_proxy_connect |
|
11 |
48 |
347 |
4 |
| ssh_kill_proxy_command |
|
2 |
5 |
19 |
1 |
| ssh_create_socket |
|
11 |
49 |
303 |
2 |
| waitrfd |
|
6 |
23 |
124 |
2 |
| timeout_connect |
|
7 |
26 |
165 |
4 |
| ssh_connect_direct |
|
14 |
59 |
405 |
10 |
| ssh_connect |
|
5 |
19 |
152 |
10 |
| send_client_banner |
|
2 |
10 |
67 |
2 |
| ssh_exchange_identification |
|
21 |
77 |
440 |
1 |
| confirm |
|
10 |
20 |
133 |
1 |
| check_host_cert |
|
3 |
14 |
79 |
2 |
| sockaddr_is_local |
|
3 |
13 |
70 |
1 |
| get_hostfile_hostname_ipaddr |
|
6 |
24 |
152 |
5 |
| check_host_key |
|
96 |
350 |
1925 |
9 |
| verify_host_key |
|
20 |
98 |
574 |
3 |
| ssh_login |
|
2 |
16 |
118 |
6 |
| ssh_put_password |
|
2 |
15 |
81 |
1 |
| show_other_keys |
|
7 |
37 |
214 |
2 |
| warn_changed_key |
|
2 |
18 |
91 |
1 |
| ssh_local_cmd |
|
11 |
30 |
222 |
1 |
| maybe_add_key_to_agent |
|
6 |
23 |
143 |
4 |
| Source file: ./usr.bin/ssh/sftp-client.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sftpio |
|
1 |
6 |
33 |
2 |
| send_msg |
|
4 |
17 |
160 |
2 |
| get_msg_extended |
|
13 |
33 |
258 |
3 |
| get_msg |
|
1 |
4 |
23 |
2 |
| send_string_request |
|
5 |
15 |
130 |
5 |
| send_string_attrs_request |
|
6 |
16 |
147 |
6 |
| get_status |
|
7 |
23 |
169 |
2 |
| get_handle |
|
13 |
38 |
301 |
5 |
| get_decode_stat |
|
10 |
38 |
264 |
3 |
| get_decode_statvfs |
|
22 |
49 |
457 |
4 |
| do_init |
|
23 |
85 |
637 |
5 |
| sftp_proto_version |
|
1 |
4 |
14 |
1 |
| do_close |
|
7 |
20 |
165 |
3 |
| do_lsreaddir |
|
34 |
116 |
893 |
4 |
| do_readdir |
|
1 |
4 |
33 |
3 |
| free_sftp_dirents |
|
3 |
12 |
68 |
1 |
| do_rm |
|
3 |
11 |
84 |
2 |
| do_mkdir |
|
4 |
11 |
88 |
4 |
| do_rmdir |
|
3 |
11 |
77 |
2 |
| do_stat |
|
2 |
9 |
63 |
3 |
| do_lstat |
|
3 |
15 |
92 |
3 |
| do_fstat |
|
1 |
9 |
55 |
4 |
| do_setstat |
|
3 |
12 |
85 |
3 |
| do_fsetstat |
|
3 |
12 |
83 |
4 |
| do_realpath |
|
13 |
43 |
356 |
2 |
| do_rename |
|
14 |
34 |
282 |
4 |
| do_hardlink |
|
10 |
28 |
220 |
3 |
| do_symlink |
|
9 |
27 |
204 |
3 |
| do_fsync |
|
8 |
23 |
186 |
3 |
| do_readlink |
|
13 |
41 |
348 |
2 |
| do_statvfs |
|
7 |
23 |
177 |
4 |
| do_fstatvfs |
|
7 |
22 |
179 |
5 |
| send_read_request |
|
7 |
17 |
151 |
6 |
| do_download |
|
71 |
252 |
1645 |
7 |
| download_dir_internal |
|
20 |
78 |
550 |
9 |
| download_dir |
|
2 |
15 |
101 |
8 |
| do_upload |
|
52 |
176 |
1215 |
6 |
| upload_dir_internal |
|
20 |
77 |
527 |
8 |
| upload_dir |
|
2 |
14 |
95 |
7 |
| path_append |
|
3 |
11 |
93 |
2 |
| Source file: ./usr.bin/ssh/crypto_api.h |
| Source file: ./usr.bin/ssh/auth2-chall.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| kbdint_alloc |
|
5 |
26 |
180 |
1 |
| kbdint_reset_device |
|
2 |
8 |
39 |
1 |
| kbdint_free |
|
2 |
8 |
42 |
1 |
| kbdint_next_device |
|
13 |
31 |
218 |
2 |
| auth2_challenge |
|
6 |
12 |
79 |
2 |
| auth2_challenge_stop |
|
2 |
9 |
49 |
1 |
| auth2_challenge_start |
|
5 |
25 |
139 |
1 |
| send_userauth_info_request |
|
4 |
28 |
181 |
1 |
| input_userauth_info_response |
|
16 |
56 |
339 |
3 |
| privsep_challenge_enable |
|
1 |
5 |
18 |
1 |
| Source file: ./usr.bin/ssh/ssherr.h |
| Source file: ./usr.bin/ssh/ed25519.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| get_hram |
|
4 |
8 |
116 |
5 |
| crypto_sign_ed25519_keypair |
|
2 |
21 |
120 |
2 |
| crypto_sign_ed25519 |
|
5 |
39 |
325 |
5 |
| crypto_sign_ed25519_open |
|
6 |
34 |
233 |
5 |
| Source file: ./usr.bin/ssh/log.h |
| Source file: ./usr.bin/ssh/nchan.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| chan_set_istate |
|
3 |
8 |
61 |
2 |
| chan_set_ostate |
|
3 |
8 |
61 |
2 |
| chan_read_failed |
|
2 |
14 |
66 |
2 |
| chan_ibuf_empty |
|
4 |
20 |
103 |
2 |
| chan_obuf_empty |
|
3 |
19 |
88 |
2 |
| chan_rcvd_eow |
|
2 |
10 |
49 |
2 |
| chan_send_eof2 |
|
6 |
21 |
132 |
2 |
| chan_send_close2 |
|
8 |
21 |
158 |
2 |
| chan_send_eow2 |
|
9 |
20 |
154 |
2 |
| chan_rcvd_ieof |
|
5 |
11 |
73 |
2 |
| chan_rcvd_oclose |
|
8 |
31 |
161 |
2 |
| chan_write_failed |
|
4 |
17 |
89 |
2 |
| chan_mark_dead |
|
1 |
4 |
19 |
2 |
| chan_is_dead |
|
14 |
38 |
218 |
3 |
| chan_shutdown_write |
|
5 |
18 |
118 |
2 |
| chan_shutdown_read |
|
5 |
18 |
119 |
2 |
| Source file: ./usr.bin/ssh/kexecdhc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| kexecdh_client |
|
8 |
35 |
203 |
1 |
| input_kex_ecdh_reply |
|
28 |
110 |
699 |
3 |
| Source file: ./usr.bin/ssh/canohost.h |
| Source file: ./usr.bin/ssh/sshbuf-misc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sshbuf_dump_data |
|
8 |
24 |
178 |
3 |
| sshbuf_dump |
|
1 |
5 |
42 |
2 |
| sshbuf_dtob16 |
|
5 |
17 |
145 |
1 |
| sshbuf_dtob64 |
|
5 |
18 |
126 |
1 |
| sshbuf_b64tod |
|
5 |
23 |
139 |
2 |
| sshbuf_dup_string |
|
7 |
19 |
131 |
1 |
| Source file: ./usr.bin/ssh/fatal.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fatal |
|
1 |
8 |
40 |
2 |
| Source file: ./usr.bin/env/env.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
11 |
34 |
235 |
2 |
| usage |
|
1 |
7 |
29 |
1 |
| Source file: ./usr.bin/ssh/cipher.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cipher_alg_list |
|
7 |
23 |
153 |
2 |
| cipher_blocksize |
|
1 |
4 |
17 |
1 |
| cipher_keylen |
|
1 |
4 |
17 |
1 |
| cipher_seclen |
|
2 |
6 |
32 |
1 |
| cipher_authlen |
|
1 |
4 |
17 |
1 |
| cipher_ivlen |
|
3 |
5 |
37 |
1 |
| cipher_is_cbc |
|
1 |
4 |
21 |
1 |
| cipher_ctx_is_plaintext |
|
1 |
4 |
14 |
1 |
| cipher_by_name |
|
3 |
8 |
49 |
1 |
| ciphers_valid |
|
8 |
20 |
138 |
1 |
| cipher_warning_message |
|
3 |
6 |
28 |
1 |
| cipher_init |
|
21 |
76 |
499 |
7 |
| cipher_crypt |
|
20 |
53 |
375 |
7 |
| cipher_get_length |
|
3 |
11 |
75 |
5 |
| cipher_free |
|
6 |
15 |
115 |
1 |
| cipher_get_keyiv_len |
|
4 |
10 |
69 |
1 |
| cipher_get_keyiv |
|
13 |
32 |
207 |
3 |
| cipher_set_keyiv |
|
8 |
19 |
131 |
2 |
| Source file: ./usr.bin/ssh/sftp-server.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| request_permitted |
|
6 |
25 |
146 |
1 |
| errno_to_portable |
|
12 |
31 |
92 |
1 |
| flags_from_portable |
|
9 |
21 |
101 |
1 |
| string_from_portable |
|
7 |
18 |
82 |
1 |
| handle_unused |
|
1 |
6 |
29 |
1 |
| handle_new |
|
3 |
20 |
150 |
5 |
| handle_is_ok |
|
3 |
4 |
31 |
2 |
| handle_to_string |
|
3 |
9 |
59 |
3 |
| handle_from_string |
|
4 |
11 |
58 |
2 |
| handle_to_name |
|
3 |
7 |
34 |
1 |
| handle_to_dir |
|
2 |
6 |
27 |
1 |
| handle_to_fd |
|
2 |
6 |
28 |
1 |
| handle_to_flags |
|
2 |
6 |
27 |
1 |
| handle_update_read |
|
3 |
5 |
32 |
2 |
| handle_update_write |
|
3 |
5 |
32 |
2 |
| handle_bytes_read |
|
2 |
6 |
29 |
1 |
| handle_bytes_write |
|
2 |
6 |
29 |
1 |
| handle_close |
|
3 |
16 |
100 |
1 |
| handle_log_close |
|
6 |
14 |
97 |
2 |
| handle_log_exit |
|
3 |
7 |
40 |
1 |
| get_handle |
|
3 |
13 |
75 |
2 |
| send_msg |
|
2 |
7 |
44 |
1 |
| status_to_message |
|
1 |
16 |
49 |
1 |
| send_status |
|
11 |
23 |
186 |
2 |
| send_data_or_handle |
|
5 |
13 |
110 |
4 |
| send_data |
|
1 |
5 |
35 |
3 |
| send_handle |
|
1 |
9 |
53 |
2 |
| send_names |
|
9 |
20 |
200 |
3 |
| send_attrib |
|
5 |
14 |
113 |
2 |
| send_statvfs |
|
17 |
26 |
283 |
2 |
| process_init |
|
15 |
25 |
248 |
1 |
| process_open |
|
11 |
38 |
265 |
1 |
| process_close |
|
3 |
11 |
92 |
1 |
| process_read |
|
10 |
37 |
254 |
1 |
| process_write |
|
9 |
37 |
248 |
1 |
| process_do_stat |
|
7 |
22 |
161 |
2 |
| process_stat |
|
1 |
4 |
14 |
1 |
| process_lstat |
|
1 |
4 |
14 |
1 |
| process_fstat |
|
5 |
23 |
144 |
1 |
| attrib_to_tv |
|
1 |
9 |
60 |
1 |
| process_setstat |
|
11 |
42 |
322 |
1 |
| process_fsetstat |
|
12 |
47 |
345 |
1 |
| process_opendir |
|
5 |
25 |
155 |
1 |
| process_readdir |
|
11 |
48 |
351 |
1 |
| process_remove |
|
3 |
13 |
97 |
1 |
| process_mkdir |
|
5 |
17 |
138 |
1 |
| process_rmdir |
|
3 |
13 |
95 |
1 |
| process_realpath |
|
4 |
23 |
149 |
1 |
| process_rename |
|
12 |
42 |
283 |
1 |
| process_readlink |
|
3 |
20 |
145 |
1 |
| process_symlink |
|
4 |
15 |
123 |
1 |
| process_extended_posix_rename |
|
4 |
15 |
123 |
1 |
| process_extended_statvfs |
|
3 |
15 |
98 |
1 |
| process_extended_fstatvfs |
|
4 |
17 |
115 |
1 |
| process_extended_hardlink |
|
4 |
15 |
123 |
1 |
| process_extended_fsync |
|
5 |
15 |
124 |
1 |
| process_extended |
|
6 |
21 |
148 |
1 |
| process |
|
19 |
70 |
434 |
1 |
| sftp_server_cleanup_exit |
|
3 |
9 |
39 |
1 |
| sftp_server_usage |
|
1 |
11 |
30 |
1 |
| sftp_server_main |
|
49 |
158 |
1080 |
3 |
| Source file: ./usr.bin/ssh/krl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| serial_cmp |
|
4 |
6 |
49 |
2 |
| key_id_cmp |
|
1 |
4 |
26 |
2 |
| blob_cmp |
|
4 |
10 |
93 |
2 |
| ssh_krl_init |
|
2 |
10 |
60 |
1 |
| revoked_certs_free |
|
1 |
15 |
103 |
1 |
| ssh_krl_free |
|
2 |
22 |
150 |
1 |
| ssh_krl_set_version |
|
1 |
4 |
18 |
2 |
| ssh_krl_set_comment |
|
2 |
7 |
42 |
2 |
| revoked_certs_for_ca_key |
|
9 |
31 |
209 |
4 |
| insert_serial_range |
|
15 |
54 |
455 |
3 |
| ssh_krl_revoke_cert_by_serial |
|
1 |
5 |
30 |
3 |
| ssh_krl_revoke_cert_by_serial_range |
|
4 |
11 |
78 |
4 |
| ssh_krl_revoke_cert_by_key_id |
|
5 |
21 |
149 |
3 |
| plain_key_blob |
|
4 |
16 |
96 |
3 |
| revoke_blob |
|
3 |
14 |
92 |
3 |
| ssh_krl_revoke_key_explicit |
|
2 |
10 |
72 |
2 |
| ssh_krl_revoke_key_sha1 |
|
2 |
11 |
74 |
2 |
| ssh_krl_revoke_key |
|
3 |
14 |
82 |
2 |
| choose_next_state |
|
13 |
57 |
391 |
6 |
| put_bitmap |
|
3 |
16 |
89 |
2 |
| revoked_certs_generate |
|
47 |
136 |
885 |
2 |
| ssh_krl_to_blob |
|
26 |
71 |
615 |
4 |
| format_timestamp |
|
2 |
13 |
68 |
3 |
| parse_revoked_certs |
|
32 |
104 |
644 |
2 |
| ssh_krl_from_blob |
|
61 |
206 |
1299 |
4 |
| is_cert_revoked |
|
4 |
23 |
179 |
2 |
| is_key_revoked |
|
12 |
42 |
325 |
2 |
| ssh_krl_check_key |
|
4 |
14 |
95 |
2 |
| ssh_krl_file_contains_key |
|
8 |
31 |
193 |
2 |
| Source file: ./usr.bin/awk/lex.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| peek |
|
1 |
6 |
21 |
1 |
| gettok |
|
22 |
59 |
380 |
2 |
| yylex |
|
68 |
178 |
1091 |
1 |
| string |
|
38 |
74 |
540 |
1 |
| binsearch |
|
4 |
16 |
99 |
3 |
| word |
|
13 |
41 |
255 |
1 |
| startreg |
|
1 |
4 |
10 |
1 |
| regexpr |
|
11 |
34 |
230 |
1 |
| input |
|
7 |
19 |
102 |
1 |
| unput |
|
4 |
10 |
58 |
1 |
| unputstr |
|
2 |
6 |
38 |
1 |
| Source file: ./usr.bin/awk/awk.h |
| Source file: ./usr.bin/ssh/servconf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| initialize_server_options |
|
1 |
95 |
627 |
1 |
| option_clear_or_none |
|
2 |
4 |
23 |
1 |
| assemble_algorithms |
|
7 |
12 |
87 |
1 |
| array_append |
|
2 |
9 |
93 |
6 |
| servconf_add_hostkey |
|
1 |
8 |
57 |
4 |
| servconf_add_hostcert |
|
1 |
8 |
57 |
4 |
| fill_default_server_options |
|
67 |
164 |
1207 |
1 |
| parse_token |
|
3 |
13 |
90 |
4 |
| derelativise_path |
|
4 |
14 |
105 |
1 |
| add_listen_addr |
|
3 |
13 |
77 |
4 |
| add_one_listen_addr |
|
14 |
39 |
328 |
4 |
| valid_rdomain |
|
4 |
21 |
139 |
1 |
| queue_listen_addr |
|
2 |
13 |
98 |
4 |
| process_queued_listen_addrs |
|
4 |
18 |
128 |
1 |
| process_permitopen |
|
10 |
28 |
198 |
2 |
| get_connection_info |
|
2 |
13 |
82 |
2 |
| match_cfg_line_group |
|
5 |
24 |
139 |
3 |
| match_test_missing_fatal |
|
1 |
5 |
24 |
2 |
| match_cfg_line |
|
53 |
147 |
855 |
3 |
| process_server_config_line |
|
332 |
794 |
4824 |
6 |
| load_server_config |
|
5 |
24 |
187 |
2 |
| parse_server_match_config |
|
1 |
8 |
45 |
2 |
| parse_server_match_testspec |
|
10 |
29 |
247 |
2 |
| copy_set_server_options |
|
5 |
52 |
275 |
3 |
| parse_server_config |
|
6 |
21 |
156 |
4 |
| fmt_multistate_int |
|
3 |
9 |
58 |
2 |
| fmt_intarg |
|
11 |
30 |
126 |
2 |
| lookup_opcode_name |
|
3 |
8 |
52 |
1 |
| dump_cfg_int |
|
1 |
4 |
22 |
2 |
| dump_cfg_oct |
|
1 |
4 |
22 |
2 |
| dump_cfg_fmtint |
|
1 |
4 |
27 |
2 |
| dump_cfg_string |
|
2 |
5 |
30 |
2 |
| dump_cfg_strarray |
|
2 |
6 |
45 |
3 |
| dump_cfg_strarray_oneline |
|
6 |
12 |
82 |
3 |
| format_listen_addrs |
|
8 |
31 |
208 |
1 |
| dump_config |
|
17 |
125 |
1056 |
1 |
| Source file: ./usr.bin/awk/b.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| makedfa |
|
11 |
39 |
278 |
2 |
| mkdfa |
|
4 |
24 |
253 |
2 |
| makeinit |
|
8 |
29 |
298 |
2 |
| penter |
|
3 |
24 |
110 |
1 |
| freetr |
|
3 |
22 |
85 |
1 |
| hexstr |
|
8 |
16 |
136 |
1 |
| quoted |
|
11 |
30 |
177 |
1 |
| cclenter |
|
13 |
44 |
335 |
1 |
| overflo |
|
1 |
4 |
16 |
1 |
| cfoll |
|
10 |
42 |
291 |
2 |
| first |
|
19 |
45 |
306 |
1 |
| follow |
|
9 |
27 |
113 |
1 |
| member |
|
3 |
8 |
45 |
2 |
| match |
|
6 |
17 |
126 |
2 |
| pmatch |
|
15 |
55 |
404 |
2 |
| nematch |
|
15 |
54 |
394 |
2 |
| reparse |
|
3 |
14 |
84 |
1 |
| regexp |
|
1 |
4 |
19 |
1 |
| primary |
|
12 |
49 |
343 |
1 |
| concat |
|
9 |
8 |
60 |
1 |
| alt |
|
2 |
8 |
47 |
1 |
| unary |
|
4 |
16 |
93 |
1 |
| int( xisblank) |
|
2 |
4 |
15 |
1 |
| relex |
|
33 |
79 |
547 |
1 |
| cgoto |
|
40 |
82 |
764 |
3 |
| freefa |
|
6 |
15 |
125 |
1 |
| Source file: ./usr.bin/awk/parse.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| nodealloc |
|
2 |
10 |
65 |
1 |
| exptostat |
|
1 |
5 |
19 |
1 |
| node1 |
|
1 |
8 |
42 |
2 |
| node2 |
|
1 |
9 |
55 |
3 |
| node3 |
|
1 |
10 |
68 |
4 |
| node4 |
|
1 |
11 |
81 |
5 |
| stat1 |
|
1 |
7 |
35 |
2 |
| stat2 |
|
1 |
7 |
41 |
3 |
| stat3 |
|
1 |
7 |
47 |
4 |
| stat4 |
|
1 |
7 |
53 |
5 |
| op1 |
|
1 |
7 |
35 |
2 |
| op2 |
|
1 |
7 |
41 |
3 |
| op3 |
|
1 |
7 |
47 |
4 |
| op4 |
|
1 |
7 |
53 |
5 |
| celltonode |
|
1 |
9 |
51 |
2 |
| rectonode |
|
1 |
5 |
24 |
1 |
| makearr |
|
4 |
15 |
92 |
1 |
| pa2stat |
|
2 |
9 |
63 |
3 |
| linkum |
|
5 |
14 |
76 |
2 |
| defn |
|
4 |
20 |
124 |
3 |
| isarg |
|
3 |
10 |
75 |
1 |
| ptoi |
|
1 |
4 |
17 |
1 |
| itonp |
|
1 |
4 |
17 |
1 |
| Source file: ./usr.bin/awk/tran.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| syminit |
|
1 |
27 |
388 |
1 |
| arginit |
|
3 |
18 |
154 |
2 |
| envinit |
|
5 |
20 |
145 |
1 |
| makesymtab |
|
3 |
13 |
84 |
1 |
| freesymtab |
|
7 |
26 |
163 |
1 |
| freeelem |
|
5 |
21 |
149 |
2 |
| setsymtab |
|
5 |
28 |
255 |
5 |
| hash |
|
2 |
7 |
45 |
2 |
| rehash |
|
4 |
20 |
146 |
1 |
| lookup |
|
3 |
10 |
75 |
2 |
| setfval |
|
6 |
22 |
159 |
2 |
| funnyvar |
|
3 |
9 |
73 |
2 |
| setsval |
|
6 |
28 |
218 |
2 |
| getfval |
|
9 |
17 |
142 |
1 |
| get_str_val |
|
10 |
26 |
208 |
2 |
| getsval |
|
1 |
4 |
16 |
1 |
| getpssval |
|
1 |
4 |
16 |
1 |
| tostring |
|
2 |
8 |
36 |
1 |
| qstring |
|
15 |
45 |
306 |
2 |
| Source file: ./usr.bin/awk/maketab.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
13 |
54 |
387 |
2 |
| Source file: ./usr.bin/awk/run.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| adjbuf |
|
8 |
23 |
153 |
6 |
| run |
|
1 |
6 |
21 |
1 |
| execute |
|
16 |
34 |
229 |
1 |
| program |
|
14 |
32 |
195 |
2 |
| call |
|
24 |
96 |
791 |
2 |
| copycell |
|
2 |
12 |
79 |
1 |
| arg |
|
2 |
9 |
67 |
2 |
| jump |
|
12 |
42 |
254 |
2 |
| awkgetline |
|
9 |
50 |
332 |
2 |
| getnf |
|
2 |
6 |
31 |
2 |
| array |
|
7 |
37 |
313 |
2 |
| awkdelete |
|
7 |
36 |
264 |
2 |
| intest |
|
8 |
39 |
302 |
2 |
| matchop |
|
9 |
38 |
266 |
2 |
| boolop |
|
9 |
30 |
178 |
2 |
| relop |
|
17 |
33 |
255 |
2 |
| tfree |
|
3 |
11 |
70 |
1 |
| gettemp |
|
4 |
16 |
105 |
1 |
| indirect |
|
3 |
19 |
124 |
2 |
| substr |
|
9 |
46 |
311 |
2 |
| sindex |
|
5 |
23 |
174 |
2 |
| format |
|
45 |
134 |
1056 |
4 |
| awksprintf |
|
3 |
18 |
127 |
2 |
| awkprintf |
|
6 |
29 |
213 |
2 |
| arith |
|
13 |
50 |
257 |
2 |
| ipow |
|
3 |
11 |
54 |
2 |
| incrdecr |
|
5 |
18 |
116 |
2 |
| assign |
|
17 |
61 |
355 |
2 |
| cat |
|
2 |
26 |
178 |
2 |
| pastat |
|
3 |
14 |
74 |
2 |
| dopa2 |
|
5 |
21 |
128 |
2 |
| split |
|
40 |
133 |
1052 |
2 |
| condexpr |
|
2 |
13 |
72 |
2 |
| ifstat |
|
3 |
13 |
81 |
2 |
| whilestat |
|
7 |
18 |
105 |
2 |
| dostat |
|
7 |
16 |
97 |
2 |
| forstat |
|
8 |
21 |
139 |
2 |
| instat |
|
8 |
30 |
199 |
2 |
| bltin |
|
39 |
160 |
1015 |
2 |
| printstat |
|
6 |
24 |
159 |
2 |
| nullproc |
|
1 |
6 |
22 |
2 |
| redirect |
|
2 |
13 |
67 |
2 |
| stdinit |
|
2 |
16 |
117 |
1 |
| openfile |
|
21 |
51 |
402 |
2 |
| filename |
|
3 |
8 |
46 |
1 |
| closefile |
|
9 |
29 |
233 |
2 |
| closeall |
|
7 |
16 |
124 |
1 |
| flush_all |
|
3 |
7 |
41 |
1 |
| sub |
|
16 |
58 |
463 |
2 |
| gsub |
|
26 |
99 |
762 |
2 |
| backsub |
|
6 |
23 |
153 |
2 |
| Source file: ./usr.bin/awk/lib.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| recinit |
|
5 |
13 |
132 |
1 |
| makefields |
|
3 |
13 |
100 |
2 |
| initgetrec |
|
5 |
19 |
90 |
1 |
| getrec |
|
18 |
67 |
430 |
3 |
| nextfile |
|
3 |
7 |
28 |
1 |
| readrec |
|
21 |
39 |
353 |
3 |
| getargv |
|
2 |
13 |
89 |
1 |
| setclvar |
|
3 |
16 |
109 |
1 |
| fldbld |
|
36 |
95 |
687 |
1 |
| cleanfld |
|
3 |
12 |
69 |
2 |
| newfld |
|
2 |
8 |
41 |
1 |
| fieldadr |
|
3 |
8 |
39 |
1 |
| growfldtab |
|
4 |
16 |
104 |
1 |
| refldbld |
|
8 |
43 |
296 |
2 |
| recbld |
|
10 |
32 |
304 |
1 |
| yyerror |
|
1 |
4 |
16 |
1 |
| SYNTAX |
|
5 |
20 |
129 |
2 |
| fpecatch |
|
12 |
31 |
268 |
1 |
| bracecheck |
|
4 |
12 |
70 |
1 |
| bcheck2 |
|
5 |
11 |
83 |
3 |
| FATAL |
|
2 |
14 |
73 |
2 |
| WARNING |
|
1 |
11 |
58 |
2 |
| error |
|
11 |
19 |
147 |
0 |
| eprint |
|
23 |
35 |
251 |
1 |
| bclass |
|
7 |
11 |
61 |
1 |
| errcheck |
|
3 |
13 |
62 |
2 |
| isclvar |
|
8 |
10 |
85 |
1 |
| is_number |
|
8 |
15 |
81 |
1 |
| Source file: ./usr.bin/cdio/extern.h |
| Source file: ./usr.bin/awk/main.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
42 |
132 |
820 |
2 |
| pgetc |
|
8 |
21 |
118 |
1 |
| cursource |
|
2 |
7 |
22 |
1 |
| Source file: ./usr.bin/cdio/cddb.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cddb_sum |
|
2 |
9 |
37 |
1 |
| cddb_discid |
|
2 |
10 |
83 |
2 |
| send_hello |
|
2 |
9 |
61 |
1 |
| send_query |
|
2 |
8 |
85 |
3 |
| safe_copy |
|
3 |
13 |
81 |
2 |
| further_query |
|
3 |
20 |
129 |
2 |
| connect_to |
|
6 |
30 |
189 |
2 |
| parse_connect_to |
|
6 |
19 |
133 |
2 |
| get_line |
|
7 |
17 |
99 |
1 |
| get_answer |
|
3 |
9 |
36 |
1 |
| verify_track_names |
|
4 |
8 |
61 |
3 |
| cddb |
|
40 |
137 |
784 |
4 |
| free_names |
|
2 |
7 |
38 |
1 |
| Source file: ./usr.bin/compress/nullopen.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| null_ropen |
|
3 |
13 |
79 |
3 |
| null_wopen |
|
3 |
13 |
82 |
4 |
| null_close |
|
3 |
18 |
128 |
4 |
| null_flush |
|
3 |
9 |
48 |
2 |
| null_read |
|
4 |
19 |
112 |
3 |
| null_write |
|
2 |
9 |
56 |
3 |
| Source file: ./usr.bin/awk/proto.h |
| Source file: ./usr.bin/cdio/mmc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| get_media_type |
|
6 |
29 |
202 |
1 |
| get_media_capabilities |
|
31 |
94 |
703 |
2 |
| set_speed |
|
2 |
17 |
145 |
1 |
| blank |
|
2 |
17 |
111 |
1 |
| unit_ready |
|
2 |
16 |
105 |
1 |
| synchronize_cache |
|
2 |
16 |
105 |
1 |
| close_session |
|
2 |
17 |
111 |
1 |
| writetao |
|
6 |
43 |
262 |
1 |
| writetrack |
|
15 |
81 |
588 |
2 |
| mode_sense_write |
|
2 |
19 |
135 |
1 |
| mode_select_write |
|
2 |
19 |
159 |
1 |
| get_disc_size |
|
2 |
23 |
175 |
1 |
| get_nwa |
|
2 |
22 |
170 |
1 |
| Source file: ./usr.bin/cdio/rip.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _parse_val |
|
6 |
19 |
134 |
3 |
| _parse_pair |
|
10 |
33 |
188 |
4 |
| _add_pair |
|
16 |
42 |
267 |
4 |
| parse_tracks_init |
|
1 |
5 |
27 |
1 |
| parse_tracks_final |
|
2 |
8 |
43 |
1 |
| parse_tracks |
|
11 |
28 |
181 |
5 |
| parse_tracks_add |
|
1 |
5 |
30 |
4 |
| write_sector |
|
3 |
12 |
61 |
3 |
| read_data_sector |
|
5 |
28 |
188 |
3 |
| read_track |
|
13 |
52 |
349 |
1 |
| rip_next_track |
|
4 |
23 |
161 |
1 |
| play_next_track |
|
14 |
46 |
307 |
1 |
| rip_tracks_loop |
|
14 |
64 |
434 |
3 |
| rip_tracks |
|
8 |
39 |
251 |
3 |
| cdrip |
|
1 |
4 |
18 |
1 |
| cdplay |
|
1 |
4 |
18 |
1 |
| Source file: ./usr.bin/compress/main.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
108 |
281 |
1572 |
2 |
| docompress |
|
39 |
101 |
640 |
5 |
| check_method |
|
7 |
18 |
131 |
1 |
| dodecompress |
|
48 |
122 |
768 |
3 |
| setfile |
|
11 |
26 |
186 |
3 |
| permission |
|
4 |
11 |
73 |
1 |
| check_suffix |
|
5 |
16 |
126 |
1 |
| set_outfile |
|
4 |
17 |
127 |
3 |
| list_stats |
|
10 |
44 |
280 |
3 |
| verbose_info |
|
5 |
16 |
96 |
4 |
| usage |
|
10 |
23 |
123 |
1 |
| Source file: ./usr.bin/dirname/dirname.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
5 |
21 |
125 |
2 |
| usage |
|
1 |
5 |
23 |
1 |
| Source file: ./usr.bin/compress/compress.h |
| Source file: ./usr.bin/compress/zopen.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| zwrite |
|
21 |
83 |
616 |
3 |
| z_close |
|
5 |
30 |
211 |
4 |
| output |
|
16 |
67 |
461 |
2 |
| zread |
|
23 |
97 |
746 |
3 |
| getcode |
|
12 |
52 |
396 |
1 |
| cl_block |
|
5 |
25 |
151 |
1 |
| cl_hash |
|
3 |
29 |
221 |
2 |
| z_wopen |
|
5 |
27 |
181 |
4 |
| z_ropen |
|
3 |
23 |
157 |
3 |
| Source file: ./usr.bin/compress/gzopen.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| gz_ropen |
|
5 |
35 |
254 |
3 |
| get_byte |
|
4 |
16 |
102 |
1 |
| get_int32 |
|
1 |
9 |
87 |
1 |
| get_header |
|
20 |
64 |
382 |
3 |
| gz_read |
|
12 |
58 |
417 |
3 |
| put_int32 |
|
2 |
7 |
47 |
2 |
| put_header |
|
7 |
26 |
249 |
4 |
| gz_wopen |
|
7 |
40 |
286 |
4 |
| gz_write |
|
5 |
18 |
154 |
3 |
| gz_flush |
|
10 |
28 |
176 |
2 |
| gz_close |
|
12 |
40 |
309 |
4 |
| Source file: ./usr.bin/cdio/cdio.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| help |
|
6 |
23 |
134 |
1 |
| usage |
|
1 |
6 |
20 |
1 |
| main |
|
24 |
72 |
396 |
2 |
| run |
|
68 |
171 |
1086 |
2 |
| is_wave |
|
4 |
12 |
76 |
1 |
| tao |
|
24 |
101 |
594 |
2 |
| play |
|
67 |
213 |
2033 |
1 |
| play_prev |
|
4 |
18 |
122 |
1 |
| play_same |
|
3 |
14 |
93 |
1 |
| play_next |
|
4 |
21 |
137 |
1 |
| strstatus |
|
7 |
19 |
68 |
1 |
| pstatus |
|
12 |
55 |
382 |
1 |
| cdid |
|
6 |
22 |
128 |
1 |
| info |
|
7 |
34 |
232 |
1 |
| cddbinfo |
|
6 |
28 |
200 |
1 |
| lba2msf |
|
1 |
9 |
62 |
4 |
| msf2lba |
|
1 |
4 |
32 |
3 |
| entry2time |
|
2 |
12 |
80 |
1 |
| entry2frames |
|
2 |
13 |
95 |
1 |
| prtrack |
|
11 |
37 |
293 |
3 |
| play_track |
|
1 |
9 |
55 |
4 |
| play_blocks |
|
1 |
7 |
37 |
2 |
| setvol |
|
1 |
9 |
61 |
2 |
| read_toc_entrys |
|
4 |
18 |
95 |
1 |
| play_msf |
|
1 |
11 |
77 |
6 |
| status |
|
4 |
26 |
224 |
4 |
| input |
|
5 |
18 |
110 |
1 |
| parse |
|
20 |
47 |
321 |
2 |
| open_cd |
|
11 |
34 |
187 |
2 |
| prompt |
|
2 |
4 |
15 |
1 |
| switch_el |
|
5 |
23 |
134 |
1 |
| addmsf |
|
3 |
14 |
86 |
6 |
| cmpmsf |
|
7 |
16 |
99 |
6 |
| toc2msf |
|
2 |
11 |
89 |
4 |
| Source file: ./usr.bin/kdump/kdump.h |
| Source file: ./usr.bin/kdump/kdump_subr.h |
| Source file: ./usr.bin/fmt/fmt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| get_positive |
|
4 |
16 |
77 |
3 |
| main |
|
36 |
82 |
455 |
2 |
| process_named_file |
|
2 |
11 |
57 |
1 |
| process_stream |
|
35 |
96 |
526 |
2 |
| indent_length |
|
4 |
18 |
63 |
1 |
| might_be_header |
|
5 |
8 |
66 |
1 |
| new_paragraph |
|
2 |
9 |
34 |
1 |
| output_indent |
|
5 |
13 |
50 |
1 |
| output_word |
|
12 |
27 |
168 |
6 |
| center_stream |
|
10 |
35 |
208 |
2 |
| get_line |
|
17 |
30 |
201 |
1 |
| xrealloc |
|
2 |
8 |
40 |
2 |
| usage |
|
1 |
9 |
26 |
1 |
| Source file: ./usr.bin/ul/ul.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
19 |
55 |
314 |
2 |
| mfilter |
|
43 |
139 |
839 |
1 |
| flushln |
|
16 |
40 |
253 |
1 |
| overstrike |
|
7 |
21 |
134 |
1 |
| iattr |
|
10 |
38 |
159 |
1 |
| initbuf |
|
1 |
7 |
28 |
1 |
| fwd |
|
1 |
9 |
31 |
1 |
| reverse |
|
1 |
8 |
26 |
1 |
| initcap |
|
18 |
38 |
267 |
1 |
| outchar |
|
2 |
4 |
21 |
1 |
| outc |
|
5 |
11 |
66 |
2 |
| msetmode |
|
12 |
41 |
138 |
1 |
| Source file: ./usr.bin/make/lst.lib/lstFindFrom.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| Lst_FindFrom |
|
3 |
8 |
54 |
3 |
| Source file: ./usr.bin/make/lst.lib/lstReplace.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| Lst_Replace |
|
2 |
5 |
23 |
2 |
| Source file: ./usr.bin/make/lst.lib/lstAddNew.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| Lst_AddNew |
|
2 |
9 |
38 |
2 |
| Source file: ./usr.bin/make/lst.lib/lstInsert.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| Lst_Insert |
|
8 |
22 |
138 |
3 |
| Lst_AtFront |
|
2 |
13 |
70 |
2 |
| Source file: ./usr.bin/make/lst.lib/lstSucc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| Lst_Succ |
|
2 |
7 |
22 |
1 |
| Source file: ./usr.bin/make/lst.lib/lstRequeue.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| Lst_Requeue |
|
5 |
15 |
100 |
2 |
| Source file: ./usr.bin/make/lst.lib/lstDestroy.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| Lst_Destroy |
|
4 |
17 |
93 |
2 |
| Source file: ./usr.bin/make/lst.lib/lstDupl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| Lst_Clone |
|
3 |
12 |
75 |
3 |
| Source file: ./usr.bin/make/lst.lib/lstAppend.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| Lst_Append |
|
3 |
13 |
80 |
3 |
| Lst_AtEnd |
|
2 |
13 |
70 |
2 |
| Source file: ./usr.bin/make/lst.lib/lstInt.h |
| Source file: ./usr.bin/make/lst.lib/lstInit.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| Lst_Init |
|
1 |
5 |
19 |
1 |
| Source file: ./usr.bin/make/lst.lib/lstForEachFrom.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| Lst_ForEachFrom |
|
2 |
6 |
45 |
3 |
| Lst_Every |
|
2 |
6 |
41 |
2 |
| Source file: ./usr.bin/make/lst.lib/lstRemove.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| Lst_Remove |
|
6 |
14 |
91 |
2 |
| Source file: ./usr.bin/make/lst.lib/lstConcatDestroy.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| Lst_ConcatDestroy |
|
3 |
11 |
65 |
2 |
| Source file: ./usr.bin/getconf/getconf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| conf_variableconf_table::sysconf_row |
|
1 |
2 |
6 |
1 |
| conf_variableuposix_conf_table::pathconf_row |
|
1 |
2 |
6 |
1 |
| conf_variableposix_conf_table::posix_confstr_row |
|
1 |
2 |
6 |
1 |
| conf_variablecompat_posix2_conf_table::compat_posix2_constant_row |
|
1 |
2 |
6 |
1 |
| main |
|
36 |
106 |
696 |
2 |
| usage |
|
1 |
8 |
28 |
1 |
| list_var |
|
9 |
16 |
163 |
1 |
| compilation_spec_valid |
|
8 |
17 |
144 |
1 |
| Source file: ./usr.bin/make/lst.lib/lst_t.h |
| Source file: ./usr.bin/make/lst.lib/lstConcat.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| Lst_Concat |
|
4 |
21 |
111 |
2 |
| Source file: ./usr.bin/jot/jot.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
70 |
188 |
1117 |
2 |
| putdata |
|
18 |
30 |
201 |
2 |
| usage |
|
1 |
7 |
23 |
1 |
| getprec |
|
2 |
6 |
36 |
1 |
| getformat |
|
63 |
95 |
643 |
1 |
| Source file: ./usr.bin/make/lst.lib/lstMember.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| Lst_Member |
|
3 |
8 |
46 |
2 |
| Source file: ./usr.bin/make/lst.lib/lstDeQueue.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| Lst_DeQueue |
|
3 |
16 |
72 |
1 |
| Source file: ./usr.bin/make/parsevar.h |
| Source file: ./usr.bin/make/pathnames.h |
| Source file: ./usr.bin/make/lst.lib/lst.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| Lst_FindConst |
|
1 |
4 |
35 |
3 |
| Lst_FindFromConst |
|
1 |
4 |
32 |
3 |
| Source file: ./usr.bin/make/lowparse.h |
| Source file: ./usr.bin/make/for.h |
| Source file: ./usr.bin/make/parse.h |
| Source file: ./usr.bin/make/defines.h |
| Source file: ./usr.bin/make/targequiv.h |
| Source file: ./usr.bin/make/generate.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
10 |
49 |
288 |
2 |
| Source file: ./usr.bin/make/job.h |
| Source file: ./usr.bin/kdump/ktrstruct.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ktrsockaddr |
|
6 |
50 |
301 |
1 |
| print_time |
|
6 |
17 |
121 |
3 |
| print_timespec |
|
5 |
13 |
85 |
2 |
| uidname |
|
4 |
13 |
69 |
1 |
| gidname |
|
4 |
13 |
69 |
1 |
| ktrstat |
|
1 |
23 |
157 |
1 |
| ktrtimespec |
|
1 |
6 |
30 |
2 |
| print_timeval |
|
3 |
7 |
55 |
2 |
| ktrtimeval |
|
1 |
6 |
30 |
2 |
| ktrsigaction |
|
4 |
17 |
123 |
1 |
| print_rlim |
|
2 |
7 |
31 |
1 |
| ktrrlimit |
|
1 |
9 |
44 |
1 |
| ktrtfork |
|
1 |
5 |
31 |
1 |
| ktrfds |
|
2 |
11 |
97 |
2 |
| ktrfdset |
|
8 |
23 |
153 |
2 |
| ktrrusage |
|
1 |
15 |
104 |
1 |
| ktrquota |
|
1 |
12 |
72 |
1 |
| ktrmsghdr |
|
1 |
9 |
52 |
1 |
| ktriovec |
|
3 |
14 |
90 |
2 |
| ktrevent |
|
5 |
24 |
165 |
2 |
| ktrpollfd |
|
3 |
18 |
110 |
2 |
| ktrcmsghdr |
|
10 |
44 |
275 |
2 |
| ktrstruct |
|
47 |
129 |
1040 |
2 |
| Source file: ./usr.bin/make/parsevar.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| find_op1 |
|
9 |
12 |
82 |
1 |
| find_op2 |
|
6 |
10 |
57 |
1 |
| parse_variable_assignment |
|
31 |
104 |
584 |
2 |
| Parse_As_Var_Assignment |
|
1 |
4 |
17 |
1 |
| Parse_CmdlineVar |
|
1 |
9 |
37 |
1 |
| Source file: ./usr.bin/make/cond.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| find_cond |
|
3 |
7 |
33 |
1 |
| CondGetArg |
|
9 |
35 |
167 |
4 |
| CondDoDefined |
|
1 |
4 |
21 |
1 |
| CondDoMake |
|
3 |
10 |
71 |
1 |
| CondDoExists |
|
3 |
15 |
75 |
1 |
| CondDoTarget |
|
3 |
9 |
49 |
1 |
| CondDoTargetWithCommands |
|
4 |
9 |
57 |
1 |
| CondCvtArg |
|
7 |
23 |
146 |
2 |
| CondHandleNumber |
|
3 |
11 |
65 |
1 |
| CondHandleVarSpec |
|
7 |
24 |
156 |
1 |
| CondHandleString |
|
4 |
17 |
98 |
1 |
| CondHandleComparison |
|
58 |
143 |
769 |
3 |
| CondHandleDefault |
|
17 |
56 |
342 |
1 |
| CondToken |
|
24 |
44 |
187 |
1 |
| CondT |
|
8 |
20 |
102 |
1 |
| CondF |
|
4 |
16 |
72 |
1 |
| CondE |
|
4 |
16 |
72 |
1 |
| Cond_Eval |
|
87 |
198 |
1082 |
1 |
| Cond_End |
|
5 |
15 |
92 |
1 |
| Source file: ./usr.bin/make/suff.h |
| Source file: ./usr.bin/kdump/kdump.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
52 |
135 |
729 |
2 |
| fread_tail |
|
3 |
9 |
58 |
3 |
| dumpheader |
|
17 |
64 |
320 |
1 |
| pad |
|
1 |
4 |
12 |
1 |
| pass_two |
|
1 |
5 |
19 |
1 |
| pdeclong |
|
1 |
5 |
22 |
1 |
| pdeculong |
|
1 |
5 |
22 |
1 |
| phexlong |
|
1 |
5 |
22 |
1 |
| pnonfancy |
|
2 |
8 |
37 |
1 |
| pdecint |
|
1 |
4 |
17 |
1 |
| pdecuint |
|
1 |
4 |
17 |
1 |
| phexint |
|
1 |
4 |
17 |
1 |
| poctint |
|
1 |
4 |
17 |
1 |
| phexll |
|
4 |
11 |
90 |
1 |
| ktrsyscall |
|
23 |
74 |
511 |
2 |
| kresolvsysctl |
|
26 |
78 |
290 |
2 |
| ktrsysret |
|
28 |
73 |
434 |
2 |
| ktrnamei |
|
1 |
4 |
32 |
2 |
| showbufc |
|
8 |
38 |
221 |
4 |
| showbuf |
|
13 |
50 |
290 |
2 |
| ktrgenio |
|
7 |
17 |
117 |
2 |
| ktrpsig |
|
15 |
53 |
230 |
1 |
| ktruser |
|
2 |
9 |
73 |
2 |
| ktrexec |
|
3 |
19 |
107 |
2 |
| ktrpledge |
|
8 |
23 |
180 |
2 |
| usage |
|
1 |
9 |
44 |
1 |
| ioctldecode |
|
6 |
20 |
141 |
1 |
| ptracedecode |
|
17 |
33 |
151 |
1 |
| atfd |
|
2 |
7 |
27 |
1 |
| polltimeout |
|
2 |
7 |
27 |
1 |
| wait4pid |
|
3 |
9 |
42 |
1 |
| signame |
|
3 |
7 |
41 |
1 |
| sigset |
|
8 |
24 |
143 |
1 |
| semctlname |
|
11 |
37 |
155 |
1 |
| shmctlname |
|
4 |
16 |
64 |
1 |
| semgetname |
|
2 |
15 |
147 |
1 |
| flagsandmodename |
|
3 |
9 |
53 |
1 |
| clockname |
|
2 |
6 |
34 |
1 |
| sockoptlevelname |
|
3 |
12 |
65 |
1 |
| ktraceopname |
|
7 |
24 |
123 |
1 |
| Source file: ./usr.bin/make/regress.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
2 |
26 |
256 |
1 |
| Source file: ./usr.bin/make/init.h |
| Source file: ./usr.bin/make/error.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| Error |
|
1 |
8 |
48 |
2 |
| Fatal |
|
2 |
12 |
68 |
2 |
| Punt |
|
3 |
15 |
84 |
2 |
| Finish |
|
2 |
8 |
29 |
0 |
| ParseVErrorInternal |
|
5 |
19 |
122 |
4 |
| Parse_Error |
|
1 |
9 |
50 |
3 |
| Source file: ./usr.bin/make/dump.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| compare_names |
|
1 |
6 |
56 |
2 |
| sort_ohash_by_name |
|
1 |
5 |
25 |
1 |
| sort_ohash |
|
2 |
13 |
132 |
2 |
| TargPrintName |
|
1 |
5 |
24 |
1 |
| TargPrintOnlySrc |
|
6 |
11 |
80 |
1 |
| TargPrintNode |
|
19 |
57 |
337 |
2 |
| dump_special |
|
5 |
15 |
93 |
3 |
| targ_dump |
|
3 |
18 |
133 |
1 |
| dump_data |
|
1 |
7 |
23 |
1 |
| post_mortem |
|
2 |
8 |
26 |
1 |
| Source file: ./usr.bin/make/suff.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| reverse_hash_add_char |
|
1 |
4 |
37 |
2 |
| reverse_hashi |
|
4 |
16 |
81 |
2 |
| reverse_slot |
|
1 |
6 |
44 |
3 |
| suffix_is_suffix |
|
4 |
16 |
92 |
3 |
| find_suffi |
|
2 |
7 |
43 |
2 |
| find_transform |
|
2 |
7 |
35 |
1 |
| find_or_create_transformi |
|
3 |
13 |
78 |
2 |
| SuffInsert |
|
9 |
23 |
165 |
2 |
| clear_suffixes |
|
2 |
10 |
56 |
1 |
| Suff_ClearSuffixes |
|
1 |
4 |
10 |
1 |
| parse_transformi |
|
17 |
51 |
319 |
4 |
| special_path_hack |
|
1 |
5 |
23 |
1 |
| find_best_suffix |
|
7 |
23 |
136 |
2 |
| Suff_ParseAsTransform |
|
6 |
26 |
169 |
2 |
| make_suffix_known |
|
3 |
9 |
49 |
1 |
| new_suffixi |
|
1 |
11 |
72 |
2 |
| Suff_AddSuffixi |
|
1 |
4 |
24 |
2 |
| add_suffixi |
|
2 |
13 |
80 |
2 |
| find_suffix_path |
|
3 |
7 |
36 |
1 |
| build_suffixes_graph |
|
6 |
17 |
122 |
1 |
| setup_paths |
|
3 |
12 |
78 |
1 |
| process_suffixes_after_makefile_is_read |
|
1 |
5 |
14 |
1 |
| SuffAddSrc |
|
2 |
24 |
156 |
2 |
| SuffAddLevel |
|
1 |
9 |
41 |
2 |
| SuffRemoveSrc |
|
9 |
35 |
221 |
1 |
| SuffFindThem |
|
10 |
32 |
174 |
2 |
| SuffFindCmds |
|
8 |
43 |
280 |
2 |
| SuffLinkParent |
|
4 |
11 |
77 |
2 |
| SuffExpandVarChildren |
|
17 |
54 |
380 |
3 |
| SuffExpandWildChildren |
|
8 |
31 |
216 |
3 |
| SuffExpandChildren |
|
3 |
13 |
79 |
2 |
| expand_children_from |
|
2 |
8 |
46 |
2 |
| SuffApplyTransform |
|
7 |
34 |
215 |
4 |
| find_suffix_as_suffix |
|
3 |
11 |
70 |
3 |
| SuffFindArchiveDeps |
|
11 |
44 |
279 |
2 |
| record_possible_suffix |
|
2 |
18 |
145 |
5 |
| record_possible_suffixes |
|
6 |
22 |
148 |
3 |
| SuffFindNormalDeps |
|
35 |
134 |
908 |
2 |
| Suff_FindDeps |
|
2 |
6 |
26 |
1 |
| SuffFindDeps |
|
4 |
16 |
79 |
2 |
| Suff_Init |
|
1 |
12 |
68 |
1 |
| SuffPrintName |
|
2 |
5 |
30 |
1 |
| SuffPrintSuff |
|
3 |
14 |
86 |
1 |
| SuffPrintTrans |
|
1 |
8 |
48 |
1 |
| compare_order |
|
1 |
6 |
53 |
2 |
| print_path |
|
6 |
20 |
119 |
1 |
| Suff_PrintAll |
|
12 |
42 |
312 |
1 |
| PrintAddr |
|
1 |
4 |
19 |
1 |
| Source file: ./usr.bin/make/str.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| Str_concati |
|
3 |
17 |
111 |
5 |
| brk_string |
|
30 |
89 |
410 |
3 |
| iterate_words |
|
14 |
33 |
142 |
1 |
| star_match |
|
9 |
22 |
110 |
4 |
| range_match |
|
20 |
41 |
239 |
3 |
| Str_Matchi |
|
11 |
29 |
150 |
4 |
| Str_SYSVMatch |
|
10 |
28 |
170 |
3 |
| Str_SYSVSubst |
|
2 |
10 |
73 |
4 |
| Str_dupi |
|
1 |
8 |
52 |
2 |
| escape_dupi |
|
5 |
19 |
110 |
3 |
| Str_rchri |
|
4 |
9 |
51 |
3 |
| Source file: ./usr.bin/make/location.h |
| Source file: ./usr.bin/make/varmodifiers.h |
| Source file: ./usr.bin/make/symtable.h |
| Source file: ./usr.bin/make/error.h |
| Source file: ./usr.bin/make/gnode.h |
| Source file: ./usr.bin/make/var_int.h |
| Source file: ./usr.bin/make/extern.h |
| Source file: ./usr.bin/make/main.h |
| Source file: ./usr.bin/make/node_int.h |
| Source file: ./usr.bin/make/engine.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| drop_silently |
|
6 |
10 |
68 |
1 |
| node_find_valid_commands |
|
12 |
27 |
188 |
1 |
| list_parents |
|
5 |
17 |
103 |
2 |
| node_failure |
|
4 |
24 |
111 |
1 |
| rewrite_time |
|
3 |
14 |
90 |
1 |
| Job_Touch |
|
8 |
26 |
155 |
1 |
| Make_TimeStamp |
|
2 |
6 |
35 |
2 |
| Make_HandleUse |
|
9 |
29 |
203 |
2 |
| Make_DoAllVar |
|
20 |
65 |
430 |
1 |
| MakeTimeStamp |
|
1 |
4 |
19 |
2 |
| Make_OODate |
|
20 |
51 |
327 |
1 |
| setup_meta |
|
2 |
7 |
43 |
1 |
| recheck_command_for_shell |
|
4 |
14 |
96 |
1 |
| run_command |
|
6 |
28 |
182 |
2 |
| job_attach_node |
|
1 |
9 |
56 |
2 |
| job_handle_status |
|
22 |
60 |
377 |
2 |
| run_gnode |
|
5 |
14 |
74 |
1 |
| setup_engine |
|
2 |
8 |
27 |
1 |
| do_run_command |
|
22 |
63 |
344 |
2 |
| job_run_next |
|
4 |
23 |
138 |
1 |
| Source file: ./usr.bin/make/engine.h |
| Source file: ./usr.bin/make/direxpand.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| PathMatchFilesi |
|
2 |
6 |
57 |
4 |
| DirExpandWildi |
|
11 |
37 |
253 |
4 |
| DirExpandCurlyi |
|
22 |
68 |
436 |
4 |
| Dir_Expandi |
|
4 |
18 |
120 |
4 |
| DirPrintWord |
|
1 |
5 |
22 |
1 |
| Dir_HasWildcardsi |
|
12 |
35 |
141 |
2 |
| Source file: ./usr.bin/make/timestamp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| set_times |
|
1 |
4 |
17 |
1 |
| time_to_string |
|
2 |
15 |
102 |
1 |
| Source file: ./usr.bin/make/targ.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| Targ_FindNodeh |
|
1 |
4 |
34 |
4 |
| Source file: ./usr.bin/make/lst_t.h |
| Source file: ./usr.bin/make/for.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| build_words_list |
|
2 |
12 |
68 |
2 |
| For_Eval |
|
16 |
61 |
443 |
1 |
| For_Accumulate |
|
11 |
27 |
191 |
2 |
| ForExec |
|
5 |
23 |
184 |
2 |
| For_Run |
|
1 |
11 |
91 |
1 |
| Source file: ./usr.bin/make/arch.h |
| Source file: ./usr.bin/make/var.h |
| Source file: ./usr.bin/make/cond_int.h |
| Source file: ./usr.bin/make/make.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| no_jobs_left |
|
1 |
4 |
12 |
0 |
| random_setup |
|
3 |
7 |
41 |
0 |
| randomize_garray |
|
3 |
15 |
92 |
1 |
| has_unmade_predecessor |
|
6 |
16 |
94 |
1 |
| requeue_successors |
|
5 |
10 |
71 |
1 |
| requeue |
|
4 |
17 |
127 |
1 |
| Make_Update |
|
14 |
37 |
249 |
1 |
| try_to_make_node |
|
25 |
78 |
437 |
1 |
| MakeStartJobs |
|
3 |
9 |
43 |
1 |
| MakePrintStatus |
|
3 |
9 |
53 |
1 |
| MakeAddChild |
|
3 |
7 |
48 |
2 |
| MakeHandleUse |
|
2 |
7 |
39 |
2 |
| add_targets_to_make |
|
8 |
32 |
198 |
1 |
| Make_Run |
|
6 |
29 |
144 |
1 |
| targets_contain_cycles |
|
5 |
20 |
102 |
1 |
| print_unlink_cycle |
|
5 |
23 |
150 |
2 |
| break_and_print_cycles |
|
3 |
15 |
67 |
1 |
| find_cycle |
|
6 |
23 |
127 |
2 |
| Source file: ./usr.bin/make/stats.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| average_runs |
|
1 |
4 |
16 |
1 |
| print_stats |
|
11 |
57 |
316 |
1 |
| Init_Stats |
|
6 |
28 |
170 |
1 |
| Source file: ./usr.bin/make/compat.h |
| Source file: ./usr.bin/make/targ.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| Targ_Init |
|
1 |
12 |
95 |
1 |
| Targ_NewGNi |
|
2 |
31 |
196 |
2 |
| Targ_FindNodei |
|
1 |
6 |
42 |
3 |
| Targ_FindNodeih |
|
3 |
12 |
88 |
4 |
| Targ_FindList |
|
3 |
13 |
84 |
2 |
| Targ_Ignore |
|
3 |
7 |
25 |
1 |
| Targ_Silent |
|
3 |
7 |
25 |
1 |
| Targ_Precious |
|
3 |
7 |
33 |
1 |
| Targ_PrintCmd |
|
1 |
5 |
25 |
1 |
| Targ_PrintType |
|
4 |
26 |
116 |
1 |
| status_to_string |
|
6 |
17 |
51 |
1 |
| targets_hash |
|
1 |
4 |
9 |
0 |
| Targ_FindNodeh |
|
1 |
4 |
34 |
4 |
| Source file: ./usr.bin/make/buf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fatal_overflow |
|
1 |
5 |
17 |
0 |
| BufOverflow |
|
1 |
4 |
14 |
1 |
| Buf_AddChars |
|
2 |
7 |
58 |
3 |
| Buf_printf |
|
2 |
16 |
117 |
3 |
| Buf_Init |
|
5 |
12 |
64 |
2 |
| Source file: ./usr.bin/make/cmd_exec.h |
| Source file: ./usr.bin/make/varname.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| VarName_Get |
|
6 |
33 |
213 |
5 |
| VarName_Free |
|
2 |
5 |
26 |
1 |
| Source file: ./usr.bin/make/direxpand.h |
| Source file: ./usr.bin/make/make.h |
| Source file: ./usr.bin/make/compat.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| CompatMake |
|
41 |
128 |
711 |
2 |
| Compat_Run |
|
5 |
18 |
93 |
1 |
| Source file: ./usr.bin/make/cmd_exec.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| Cmd_Exec |
|
17 |
64 |
403 |
2 |
| Source file: ./usr.bin/make/arch.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| new_arch_member |
|
1 |
10 |
74 |
2 |
| mtime_of_member |
|
2 |
7 |
44 |
1 |
| Arch_ParseArchive |
|
1 |
9 |
53 |
3 |
| add_archive_node |
|
1 |
7 |
38 |
2 |
| parse_archive |
|
26 |
97 |
595 |
4 |
| field2long |
|
1 |
8 |
55 |
2 |
| read_archive |
|
25 |
85 |
560 |
2 |
| ArchMTimeMember |
|
10 |
52 |
301 |
3 |
| ArchSVR4Entry |
|
20 |
55 |
356 |
4 |
| ArchFindMember |
|
31 |
82 |
535 |
4 |
| ArchTouch |
|
3 |
13 |
110 |
2 |
| Arch_Touch |
|
1 |
4 |
25 |
1 |
| Arch_MTime |
|
1 |
6 |
36 |
1 |
| Arch_MemMTime |
|
9 |
25 |
169 |
1 |
| Arch_Init |
|
1 |
4 |
17 |
1 |
| Source file: ./usr.bin/make/str.h |
| Source file: ./usr.bin/make/dir.h |
| Source file: ./usr.bin/make/stats.h |
| Source file: ./usr.bin/make/memory.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| emalloc |
|
2 |
7 |
32 |
1 |
| estrdup |
|
1 |
9 |
44 |
1 |
| erealloc |
|
2 |
6 |
34 |
2 |
| ereallocarray |
|
2 |
6 |
41 |
3 |
| hash_calloc |
|
2 |
7 |
44 |
3 |
| hash_free |
|
1 |
4 |
18 |
2 |
| element_alloc |
|
1 |
4 |
18 |
2 |
| enomem |
|
1 |
5 |
26 |
1 |
| enocmem |
|
1 |
5 |
31 |
2 |
| esetenv |
|
2 |
7 |
46 |
2 |
| eunlink |
|
3 |
11 |
55 |
1 |
| free_hash |
|
2 |
8 |
53 |
1 |
| Source file: ./usr.bin/make/parse.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| create_special_nodes |
|
2 |
10 |
87 |
0 |
| ParseLinkSrc |
|
3 |
8 |
47 |
2 |
| operator_string |
|
4 |
17 |
78 |
1 |
| ParseDoOp |
|
7 |
26 |
193 |
2 |
| ParseAddDep |
|
2 |
9 |
51 |
2 |
| apply_op |
|
2 |
7 |
37 |
3 |
| ParseDoSrc |
|
9 |
46 |
255 |
5 |
| ParseFindMain |
|
3 |
10 |
52 |
2 |
| ParseClearPath |
|
1 |
6 |
25 |
1 |
| add_target_node |
|
2 |
10 |
60 |
2 |
| add_target_nodes |
|
3 |
18 |
114 |
2 |
| found_delimiter |
|
10 |
19 |
110 |
1 |
| parse_do_targets |
|
17 |
49 |
282 |
3 |
| dump_targets |
|
2 |
7 |
46 |
0 |
| handle_special_targets |
|
14 |
64 |
315 |
1 |
| parse_operator |
|
5 |
23 |
106 |
1 |
| ParseDoDependency |
|
35 |
114 |
551 |
1 |
| ParseAddCmd |
|
2 |
8 |
46 |
2 |
| ParseHasCommands |
|
1 |
5 |
20 |
1 |
| strip_comments |
|
7 |
26 |
154 |
2 |
| Parse_AddIncludeDir |
|
1 |
4 |
16 |
1 |
| resolve_include_filename |
|
12 |
36 |
208 |
3 |
| handle_include_file |
|
6 |
17 |
107 |
4 |
| lookup_bsd_include |
|
6 |
31 |
158 |
1 |
| lookup_sysv_style_include |
|
7 |
26 |
137 |
3 |
| lookup_sysv_include |
|
1 |
4 |
23 |
2 |
| lookup_conditional_include |
|
1 |
4 |
23 |
2 |
| handle_poison |
|
22 |
64 |
309 |
1 |
| handle_for_loop |
|
4 |
20 |
88 |
2 |
| handle_undef |
|
4 |
10 |
57 |
1 |
| handle_bsd_command |
|
12 |
30 |
153 |
3 |
| register_target |
|
2 |
15 |
91 |
2 |
| build_target_group |
|
13 |
43 |
297 |
2 |
| reset_target_hash |
|
2 |
7 |
30 |
0 |
| Parse_End |
|
2 |
5 |
15 |
0 |
| dedup_targets |
|
4 |
13 |
92 |
1 |
| finish_commands |
|
1 |
5 |
24 |
1 |
| parse_commands |
|
1 |
9 |
71 |
2 |
| parse_as_special_line |
|
15 |
27 |
186 |
3 |
| parse_target_line |
|
6 |
31 |
180 |
4 |
| Parse_File |
|
9 |
47 |
228 |
2 |
| Parse_Init |
|
1 |
9 |
40 |
1 |
| Parse_MainName |
|
3 |
11 |
56 |
1 |
| Source file: ./usr.bin/make/main.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| record_option |
|
2 |
10 |
59 |
2 |
| posixParseOptLetter |
|
13 |
42 |
129 |
1 |
| MainParseArgs |
|
46 |
150 |
632 |
2 |
| MainParseChdir |
|
11 |
33 |
172 |
2 |
| Main_ParseArgLine |
|
8 |
34 |
194 |
1 |
| add_dirpath |
|
5 |
14 |
77 |
2 |
| figure_out_MACHINE |
|
3 |
11 |
54 |
0 |
| figure_out_MACHINE_ARCH |
|
2 |
9 |
33 |
0 |
| figure_out_MACHINE_CPU |
|
4 |
10 |
37 |
0 |
| figure_out_CURDIR |
|
7 |
18 |
128 |
0 |
| chdir_verify_path |
|
3 |
10 |
56 |
2 |
| setup_CURDIR_OBJDIR |
|
3 |
11 |
67 |
1 |
| setup_VPATH |
|
2 |
9 |
46 |
0 |
| read_makefile_list |
|
2 |
7 |
46 |
2 |
| read_all_make_rules |
|
6 |
19 |
123 |
4 |
| main |
|
21 |
104 |
640 |
2 |
| ReadMakefile |
|
9 |
33 |
214 |
2 |
| usage |
|
1 |
8 |
20 |
0 |
| Source file: ./usr.bin/make/targequiv.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| add_to_equiv_list |
|
4 |
23 |
155 |
2 |
| build_equivalence |
|
4 |
18 |
137 |
0 |
| Targ_setdirs |
|
1 |
10 |
62 |
2 |
| kludge_look_harder_for_target |
|
6 |
20 |
140 |
1 |
| attach_node |
|
1 |
7 |
36 |
2 |
| parse_reduce |
|
14 |
33 |
199 |
2 |
| absolute_reduce |
|
2 |
9 |
50 |
1 |
| relative_reduce |
|
3 |
13 |
86 |
2 |
| relative_reduce2 |
|
4 |
17 |
122 |
3 |
| names_match_with_dir |
|
6 |
28 |
133 |
5 |
| names_match_with_dirs |
|
6 |
28 |
142 |
6 |
| names_match |
|
14 |
46 |
306 |
2 |
| find_siblings |
|
9 |
24 |
145 |
1 |
| look_harder_for_target |
|
3 |
12 |
54 |
1 |
| is_sibling |
|
3 |
11 |
48 |
2 |
| Source file: ./usr.bin/make/lst.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| Lst_FindConst |
|
1 |
4 |
35 |
3 |
| Lst_FindFromConst |
|
1 |
4 |
32 |
3 |
| Source file: ./usr.bin/make/varname.h |
| Source file: ./usr.bin/make/init.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| Init |
|
1 |
11 |
38 |
1 |
| Source file: ./usr.bin/make/buf.h |
| Source file: ./usr.bin/make/garray.h |
| Source file: ./usr.bin/make/timestamp.h |
| Source file: ./usr.bin/make/memory.h |
| Source file: ./usr.bin/make/lowparse.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| Parse_setcurdir |
|
1 |
5 |
20 |
1 |
| startswith |
|
2 |
4 |
36 |
3 |
| simplify |
|
3 |
15 |
97 |
1 |
| new_input_file |
|
1 |
12 |
80 |
2 |
| free_input_stream |
|
4 |
11 |
66 |
1 |
| new_input_string |
|
1 |
10 |
66 |
2 |
| Parse_FromString |
|
2 |
11 |
75 |
2 |
| Parse_FromFile |
|
2 |
6 |
36 |
2 |
| Parse_NextFile |
|
2 |
7 |
30 |
1 |
| grab_new_line_and_readchar |
|
3 |
14 |
68 |
1 |
| skip_to_end_of_line |
|
6 |
16 |
84 |
1 |
| Parse_ReadNextConditionalLine |
|
6 |
17 |
90 |
1 |
| read_logical_line |
|
9 |
30 |
142 |
2 |
| Parse_ReadUnparsedLine |
|
7 |
28 |
141 |
2 |
| skip_empty_lines_and_read_char |
|
22 |
64 |
313 |
1 |
| Parse_ReadNormalLine |
|
2 |
11 |
42 |
1 |
| Parse_Getlineno |
|
2 |
4 |
17 |
1 |
| Parse_Getfilename |
|
2 |
4 |
17 |
1 |
| Parse_SetLocation |
|
1 |
4 |
12 |
1 |
| Parse_FillLocation |
|
2 |
9 |
39 |
1 |
| Parse_ReportErrors |
|
2 |
7 |
23 |
1 |
| Source file: ./usr.bin/make/config.h |
| Source file: ./usr.bin/make/cond.h |
| Source file: ./usr.bin/make/dump.h |
| Source file: ./usr.bin/colrm/colrm.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
46 |
95 |
623 |
2 |
| usage |
|
1 |
5 |
21 |
1 |
| Source file: ./usr.bin/make/var.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| Var_setCheckEnvFirst |
|
1 |
4 |
11 |
1 |
| classify_var |
|
90 |
116 |
841 |
3 |
| create_var |
|
1 |
4 |
26 |
2 |
| var_set_initial_value |
|
1 |
7 |
51 |
2 |
| var_set_value |
|
2 |
10 |
65 |
2 |
| var_append_value |
|
2 |
10 |
65 |
2 |
| delete_var |
|
2 |
6 |
35 |
1 |
| SymTable_Init |
|
1 |
5 |
26 |
1 |
| find_global_var_without_env |
|
2 |
13 |
85 |
3 |
| fill_from_env |
|
3 |
12 |
54 |
1 |
| find_global_var |
|
5 |
10 |
78 |
3 |
| Var_Mark |
|
5 |
23 |
121 |
3 |
| poison_check |
|
5 |
17 |
87 |
1 |
| Var_Deletei |
|
6 |
23 |
132 |
2 |
| var_set_append |
|
15 |
32 |
269 |
5 |
| Var_Seti_with_ctxt |
|
1 |
5 |
35 |
4 |
| Var_Appendi_with_ctxt |
|
1 |
5 |
35 |
4 |
| var_exec_cmd |
|
2 |
13 |
82 |
1 |
| Var_Valuei |
|
4 |
20 |
106 |
2 |
| Var_Definedi |
|
4 |
15 |
87 |
2 |
| find_rparen |
|
5 |
6 |
37 |
1 |
| find_ket |
|
5 |
6 |
37 |
1 |
| find_pos |
|
3 |
13 |
39 |
1 |
| parse_base_variable_name |
|
5 |
26 |
149 |
3 |
| Var_ParseSkip |
|
5 |
26 |
146 |
2 |
| Var_ParseBuffer |
|
3 |
13 |
74 |
5 |
| push_used |
|
5 |
17 |
105 |
1 |
| pop_used |
|
1 |
5 |
17 |
1 |
| get_expanded_value |
|
11 |
39 |
234 |
7 |
| bad_dynamic_variable |
|
7 |
28 |
143 |
1 |
| Var_Parse |
|
8 |
41 |
236 |
5 |
| Var_Subst |
|
12 |
47 |
238 |
3 |
| Var_Check_for_target |
|
9 |
34 |
186 |
1 |
| Var_Substi |
|
3 |
8 |
72 |
4 |
| Var_NewLoopVar |
|
1 |
11 |
80 |
2 |
| Var_LoopVarName |
|
1 |
4 |
16 |
1 |
| Var_DeleteLoopVar |
|
2 |
7 |
51 |
1 |
| Var_SubstVar |
|
15 |
60 |
367 |
4 |
| set_magic_shell_variable |
|
1 |
11 |
62 |
0 |
| Var_Init |
|
1 |
9 |
42 |
1 |
| interpret |
|
2 |
6 |
19 |
1 |
| print_var |
|
2 |
5 |
41 |
1 |
| Var_Dump |
|
5 |
33 |
221 |
1 |
| Var_AddCmdline |
|
5 |
24 |
164 |
1 |
| Source file: ./usr.bin/rpcgen/rpc_scan.h |
| Source file: ./usr.bin/rpcgen/rpc_parse.h |
| Source file: ./usr.bin/make/dir.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| record_stamp |
|
2 |
15 |
94 |
2 |
| find_stampi |
|
1 |
4 |
32 |
2 |
| add_file |
|
2 |
13 |
90 |
2 |
| find_file_hashi |
|
1 |
6 |
49 |
4 |
| read_directory |
|
9 |
23 |
163 |
1 |
| create_PathEntry |
|
3 |
18 |
109 |
2 |
| PathEntry_name |
|
1 |
4 |
14 |
1 |
| Dir_Init |
|
2 |
10 |
60 |
1 |
| Dir_MatchFilesi |
|
6 |
15 |
122 |
4 |
| Dir_FindFileComplexi |
|
47 |
137 |
849 |
4 |
| Dir_AddDiri |
|
4 |
11 |
67 |
3 |
| Dir_CopyDir |
|
1 |
6 |
23 |
1 |
| Dir_Destroy |
|
2 |
10 |
55 |
1 |
| Dir_Concat |
|
3 |
10 |
61 |
2 |
| DirPrintDir |
|
1 |
5 |
25 |
1 |
| Dir_PrintPath |
|
1 |
4 |
14 |
1 |
| Dir_MTime |
|
12 |
41 |
253 |
1 |
| Source file: ./usr.bin/make/job.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| really_kill |
|
5 |
15 |
85 |
2 |
| may_remove_target |
|
7 |
12 |
91 |
1 |
| buf_addcurdir |
|
5 |
15 |
92 |
1 |
| shortened_curdir |
|
2 |
11 |
46 |
1 |
| quick_error |
|
2 |
10 |
71 |
3 |
| print_error |
|
10 |
40 |
313 |
1 |
| quick_summary |
|
7 |
20 |
124 |
1 |
| internal_print_errors |
|
7 |
25 |
140 |
0 |
| print_errors |
|
1 |
5 |
14 |
1 |
| setup_signal |
|
2 |
7 |
38 |
1 |
| notice_signal |
|
7 |
26 |
74 |
1 |
| setup_all_signals |
|
1 |
12 |
52 |
1 |
| handle_siginfo |
|
5 |
24 |
159 |
1 |
| check_dying_signal |
|
10 |
16 |
93 |
1 |
| handle_all_signals |
|
7 |
25 |
88 |
1 |
| debug_vprintf |
|
1 |
6 |
40 |
2 |
| debug_job_printf |
|
2 |
9 |
42 |
2 |
| debug_kill_printf |
|
2 |
9 |
42 |
2 |
| postprocess_job |
|
11 |
17 |
92 |
2 |
| determine_expensive_job |
|
4 |
12 |
73 |
1 |
| expensive_job |
|
3 |
8 |
46 |
1 |
| expensive_command |
|
19 |
41 |
221 |
1 |
| prepare_job |
|
4 |
19 |
80 |
1 |
| may_continue_job |
|
3 |
11 |
55 |
1 |
| continue_job |
|
2 |
8 |
33 |
1 |
| Job_Make |
|
2 |
9 |
34 |
1 |
| determine_job_next_step |
|
5 |
17 |
84 |
1 |
| remove_job |
|
4 |
16 |
79 |
2 |
| reap_finished_job |
|
3 |
11 |
69 |
1 |
| reap_jobs |
|
6 |
20 |
108 |
1 |
| handle_running_jobs |
|
3 |
12 |
56 |
1 |
| handle_one_job |
|
3 |
17 |
89 |
1 |
| loop_handle_running_jobs |
|
2 |
5 |
15 |
0 |
| Job_Init |
|
1 |
11 |
41 |
1 |
| can_start_job |
|
3 |
7 |
21 |
1 |
| Job_Empty |
|
1 |
4 |
11 |
1 |
| handle_fatal_signal |
|
5 |
26 |
161 |
1 |
| Job_Finish |
|
3 |
13 |
53 |
1 |
| Job_Begin |
|
2 |
7 |
29 |
1 |
| Job_Wait |
|
1 |
6 |
18 |
1 |
| Job_AbortAll |
|
3 |
12 |
69 |
1 |
| Source file: ./usr.bin/rpcgen/rpc_tblout.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| write_tables |
|
3 |
11 |
61 |
0 |
| write_table |
|
9 |
54 |
329 |
1 |
| printit |
|
2 |
18 |
121 |
2 |
| Source file: ./usr.bin/rpcgen/rpc_scan.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| scan |
|
2 |
8 |
33 |
2 |
| scan2 |
|
3 |
9 |
46 |
3 |
| scan3 |
|
4 |
11 |
59 |
4 |
| scan_num |
|
2 |
11 |
35 |
1 |
| peek |
|
1 |
6 |
20 |
1 |
| peekscan |
|
2 |
11 |
45 |
2 |
| get_token |
|
44 |
141 |
621 |
1 |
| unget_token |
|
1 |
6 |
19 |
1 |
| findstrconst |
|
5 |
22 |
119 |
2 |
| findchrconst |
|
6 |
25 |
132 |
2 |
| findconst |
|
6 |
25 |
147 |
2 |
| findkind |
|
8 |
31 |
213 |
2 |
| cppline |
|
2 |
5 |
22 |
1 |
| directive |
|
2 |
5 |
22 |
1 |
| printdirective |
|
1 |
5 |
21 |
1 |
| docppline |
|
10 |
41 |
209 |
3 |
| Source file: ./usr.bin/rpcgen/rpc_clntout.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| write_stubs |
|
3 |
15 |
72 |
0 |
| write_program |
|
3 |
18 |
128 |
1 |
| printarglist |
|
10 |
41 |
349 |
3 |
| ampr |
|
2 |
8 |
32 |
1 |
| printbody |
|
13 |
57 |
410 |
1 |
| Source file: ./usr.bin/rpcgen/rpc_util.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| reinitialize |
|
1 |
7 |
26 |
0 |
| streq |
|
1 |
6 |
28 |
2 |
| for |
|
2 |
5 |
38 |
1 |
| storeval |
|
3 |
17 |
97 |
2 |
| findit |
|
1 |
4 |
24 |
2 |
| fixit |
|
5 |
16 |
102 |
2 |
| fixtype |
|
1 |
5 |
20 |
1 |
| stringfix |
|
2 |
9 |
34 |
1 |
| ptype |
|
6 |
20 |
113 |
3 |
| typedefed |
|
3 |
7 |
48 |
2 |
| isvectordef |
|
7 |
22 |
111 |
2 |
| locase |
|
4 |
11 |
70 |
1 |
| pvname_svc |
|
1 |
6 |
30 |
2 |
| pvname |
|
1 |
6 |
30 |
2 |
| error |
|
1 |
8 |
38 |
1 |
| crash |
|
2 |
8 |
39 |
0 |
| record_open |
|
2 |
10 |
40 |
1 |
| expected1 |
|
1 |
7 |
29 |
1 |
| expected2 |
|
1 |
7 |
38 |
2 |
| expected3 |
|
1 |
7 |
47 |
3 |
| tabify |
|
2 |
8 |
32 |
2 |
| toktostr |
|
3 |
7 |
40 |
1 |
| printbuf |
|
4 |
17 |
81 |
1 |
| printwhere |
|
4 |
19 |
94 |
0 |
| make_argname |
|
2 |
14 |
89 |
2 |
| add_type |
|
3 |
20 |
100 |
2 |
| find_type |
|
3 |
13 |
56 |
1 |
| Source file: ./usr.bin/rpcgen/rpc_cout.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| emit |
|
9 |
33 |
131 |
1 |
| findtype |
|
3 |
10 |
52 |
2 |
| undefined |
|
1 |
7 |
36 |
1 |
| print_generic_header |
|
4 |
22 |
124 |
2 |
| print_header |
|
3 |
9 |
51 |
1 |
| print_prog_header |
|
1 |
5 |
21 |
1 |
| print_trailer |
|
1 |
5 |
19 |
0 |
| print_ifopen |
|
1 |
7 |
31 |
2 |
| print_ifarg |
|
1 |
5 |
19 |
1 |
| print_ifsizeof |
|
4 |
14 |
75 |
2 |
| print_ifclose |
|
1 |
7 |
30 |
1 |
| print_ifstat |
|
15 |
77 |
384 |
7 |
| emit_enum |
|
1 |
8 |
34 |
1 |
| emit_program |
|
6 |
17 |
116 |
1 |
| emit_union |
|
10 |
66 |
486 |
1 |
| emit_struct |
|
45 |
182 |
1052 |
1 |
| emit_typedef |
|
1 |
10 |
83 |
1 |
| print_stat |
|
2 |
16 |
113 |
2 |
| emit_inline |
|
3 |
20 |
95 |
2 |
| emit_single_in_line |
|
8 |
35 |
184 |
3 |
| upcase |
|
3 |
15 |
89 |
1 |
| Source file: ./usr.bin/rpcgen/rpc_sample.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| write_sample_svc |
|
2 |
7 |
25 |
1 |
| write_sample_clnt |
|
3 |
13 |
73 |
1 |
| write_sample_client |
|
15 |
72 |
598 |
2 |
| write_sample_server |
|
5 |
28 |
181 |
1 |
| return_type |
|
1 |
5 |
23 |
1 |
| add_sample_msg |
|
1 |
8 |
41 |
1 |
| write_sample_clnt_main |
|
5 |
27 |
168 |
0 |
| Source file: ./usr.bin/rpcgen/rpc_util.h |
| Source file: ./usr.bin/make/varmodifiers.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| VarModifiers_Init |
|
8 |
33 |
226 |
0 |
| VarHead |
|
4 |
16 |
93 |
4 |
| VarTail |
|
3 |
12 |
85 |
4 |
| VarSuffix |
|
3 |
12 |
77 |
4 |
| VarRoot |
|
3 |
12 |
83 |
4 |
| VarMatch |
|
3 |
12 |
79 |
4 |
| VarNoMatch |
|
3 |
12 |
80 |
4 |
| VarUniq |
|
5 |
14 |
118 |
4 |
| VarLoop |
|
2 |
8 |
55 |
4 |
| finish_loop |
|
1 |
5 |
39 |
3 |
| NameCompare |
|
5 |
24 |
148 |
2 |
| do_sort |
|
6 |
36 |
262 |
3 |
| do_label |
|
1 |
4 |
33 |
3 |
| do_path |
|
2 |
9 |
67 |
3 |
| do_def |
|
2 |
9 |
48 |
3 |
| do_undef |
|
2 |
9 |
48 |
3 |
| do_assign |
|
8 |
30 |
185 |
3 |
| do_exec |
|
2 |
10 |
65 |
3 |
| VarSYSVMatch |
|
4 |
16 |
109 |
4 |
| get_sysvpattern |
|
22 |
77 |
460 |
4 |
| VarSubstitute |
|
27 |
88 |
599 |
4 |
| VarREError |
|
1 |
10 |
68 |
3 |
| VarRESubstitute |
|
23 |
99 |
592 |
4 |
| VarModify |
|
2 |
19 |
143 |
3 |
| VarGetPattern |
|
13 |
41 |
278 |
7 |
| VarQuote |
|
4 |
17 |
112 |
3 |
| check_empty |
|
3 |
9 |
64 |
4 |
| check_quote |
|
4 |
16 |
107 |
4 |
| check_shcmd |
|
4 |
8 |
71 |
4 |
| do_shcmd |
|
2 |
9 |
53 |
3 |
| get_stringarg |
|
8 |
15 |
122 |
4 |
| free_stringarg |
|
1 |
4 |
13 |
1 |
| do_upper |
|
2 |
11 |
82 |
3 |
| do_lower |
|
2 |
11 |
82 |
3 |
| get_patternarg |
|
1 |
4 |
33 |
4 |
| get_spatternarg |
|
5 |
17 |
112 |
4 |
| free_looparg |
|
1 |
6 |
29 |
1 |
| LoopGrab |
|
4 |
13 |
75 |
1 |
| get_loop |
|
4 |
21 |
129 |
4 |
| common_get_patternarg |
|
10 |
41 |
233 |
5 |
| assign_get_value |
|
9 |
23 |
154 |
4 |
| get_value |
|
3 |
16 |
114 |
4 |
| get_cmd |
|
2 |
16 |
107 |
4 |
| free_patternarg |
|
1 |
7 |
33 |
1 |
| do_regex |
|
4 |
24 |
181 |
3 |
| VarModifiers_Apply |
|
27 |
73 |
456 |
7 |
| Var_GetHead |
|
1 |
4 |
18 |
1 |
| Var_GetTail |
|
1 |
4 |
18 |
1 |
| Source file: ./usr.bin/rev/rev.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
12 |
51 |
304 |
2 |
| isu8cont |
|
2 |
4 |
25 |
1 |
| usage |
|
1 |
6 |
28 |
1 |
| Source file: ./usr.bin/rpcgen/rpc_parse.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| get_definition |
|
8 |
35 |
135 |
1 |
| isdefined |
|
1 |
5 |
18 |
1 |
| def_struct |
|
2 |
24 |
138 |
1 |
| def_program |
|
12 |
93 |
603 |
1 |
| def_enum |
|
3 |
27 |
169 |
1 |
| def_const |
|
1 |
11 |
63 |
1 |
| def_union |
|
6 |
60 |
416 |
1 |
| check_type_name |
|
6 |
22 |
129 |
2 |
| def_typedef |
|
1 |
13 |
92 |
1 |
| get_declaration |
|
13 |
48 |
300 |
2 |
| get_prog_declaration |
|
17 |
60 |
378 |
3 |
| get_type |
|
20 |
54 |
230 |
3 |
| unsigned_dec |
|
6 |
34 |
149 |
1 |
| Source file: ./usr.bin/rpcgen/rpc_hout.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| print_datadef |
|
12 |
35 |
156 |
1 |
| print_funcdef |
|
2 |
12 |
39 |
1 |
| pxdrfuncdecl |
|
3 |
14 |
90 |
2 |
| pconstdef |
|
1 |
5 |
23 |
1 |
| pargdef |
|
6 |
26 |
170 |
1 |
| pstructdef |
|
2 |
11 |
85 |
1 |
| puniondef |
|
6 |
26 |
205 |
1 |
| pdefine |
|
1 |
6 |
27 |
2 |
| puldefine |
|
1 |
6 |
27 |
2 |
| define_printed |
|
5 |
17 |
100 |
2 |
| pprogramdef |
|
8 |
40 |
288 |
1 |
| pprocdef |
|
4 |
18 |
104 |
5 |
| parglist |
|
6 |
18 |
124 |
2 |
| penumdef |
|
5 |
29 |
181 |
1 |
| ptypedef |
|
11 |
43 |
282 |
1 |
| pdeclaration |
|
12 |
54 |
338 |
4 |
| undefined2 |
|
5 |
18 |
104 |
2 |
| Source file: ./usr.bin/ctfconv/generate.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dbuf_realloc |
|
1 |
8 |
61 |
2 |
| dbuf_copy |
|
3 |
15 |
113 |
3 |
| dbuf_pad |
|
2 |
7 |
50 |
2 |
| imcs_add_string |
|
4 |
15 |
123 |
2 |
| imcs_add_func |
|
2 |
19 |
154 |
2 |
| imcs_add_obj |
|
1 |
6 |
41 |
2 |
| imcs_add_type |
|
19 |
99 |
673 |
2 |
| imcs_generate |
|
3 |
32 |
274 |
3 |
| generate |
|
8 |
50 |
373 |
3 |
| data_compress |
|
6 |
38 |
239 |
4 |
| Source file: ./usr.bin/column/column.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
24 |
74 |
442 |
2 |
| c_columnate |
|
6 |
21 |
121 |
1 |
| r_columnate |
|
7 |
20 |
140 |
1 |
| print |
|
2 |
6 |
32 |
1 |
| maketbl |
|
3 |
11 |
96 |
1 |
| input |
|
24 |
82 |
550 |
1 |
| ereallocarray |
|
2 |
6 |
41 |
3 |
| ecalloc |
|
2 |
7 |
39 |
2 |
| usage |
|
1 |
6 |
21 |
1 |
| Source file: ./usr.bin/rpcgen/rpc_main.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
26 |
59 |
519 |
2 |
| extendfile |
|
4 |
23 |
156 |
2 |
| open_output |
|
5 |
19 |
96 |
2 |
| add_warning |
|
1 |
7 |
34 |
1 |
| clear_args |
|
2 |
7 |
33 |
1 |
| find_cpp |
|
4 |
17 |
77 |
1 |
| open_input |
|
5 |
31 |
201 |
2 |
| check_nettype |
|
3 |
10 |
64 |
2 |
| c_output |
|
6 |
28 |
161 |
4 |
| c_initialize |
|
1 |
10 |
55 |
1 |
| generate_guard |
|
5 |
21 |
136 |
1 |
| h_output |
|
8 |
35 |
213 |
4 |
| s_output |
|
33 |
90 |
527 |
8 |
| l_output |
|
7 |
29 |
168 |
4 |
| t_output |
|
5 |
21 |
114 |
4 |
| svc_output |
|
6 |
26 |
160 |
4 |
| clnt_output |
|
7 |
28 |
174 |
4 |
| do_registers |
|
10 |
28 |
181 |
2 |
| addarg |
|
2 |
9 |
37 |
1 |
| putarg |
|
2 |
10 |
41 |
2 |
| checkfiles |
|
6 |
21 |
83 |
2 |
| parseargs |
|
56 |
168 |
981 |
3 |
| usage |
|
1 |
9 |
40 |
1 |
| Source file: ./usr.bin/ctfconv/dw.h |
| Source file: ./usr.bin/ctfconv/pool.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pmalloc |
|
1 |
4 |
18 |
2 |
| pzalloc |
|
1 |
7 |
35 |
2 |
| pfree |
|
1 |
4 |
20 |
2 |
| Source file: ./usr.bin/ctfconv/ctfconv.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usage |
|
1 |
6 |
22 |
1 |
| main |
|
22 |
65 |
387 |
2 |
| convert |
|
6 |
29 |
181 |
1 |
| elf_convert |
|
6 |
28 |
204 |
2 |
| find_symb |
|
5 |
18 |
123 |
2 |
| elf_sort |
|
11 |
37 |
220 |
1 |
| type_name |
|
2 |
8 |
33 |
1 |
| dump_type |
|
28 |
86 |
516 |
1 |
| dump_func |
|
5 |
15 |
112 |
2 |
| dump_obj |
|
1 |
7 |
60 |
2 |
| ctf_enc2name |
|
4 |
12 |
82 |
1 |
| Source file: ./usr.bin/ctfconv/hash.h |
| Source file: ./usr.bin/ctfconv/xmalloc.h |
| Source file: ./usr.bin/ctfconv/elf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| iself |
|
11 |
39 |
258 |
2 |
| elf_getshstab |
|
7 |
30 |
181 |
4 |
| elf_getsymtab |
|
18 |
48 |
377 |
8 |
| elf_getsection |
|
12 |
39 |
280 |
7 |
| elf_reloc_size |
|
7 |
14 |
49 |
1 |
| elf_reloc_apply |
|
21 |
74 |
538 |
7 |
| Source file: ./usr.bin/ctfconv/pool.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pool_init |
|
1 |
11 |
81 |
4 |
| pool_get |
|
3 |
20 |
136 |
1 |
| pool_put |
|
2 |
9 |
61 |
2 |
| pool_dump |
|
1 |
7 |
37 |
1 |
| Source file: ./usr.bin/ctfconv/xmalloc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| xmalloc |
|
3 |
10 |
49 |
1 |
| xcalloc |
|
4 |
11 |
60 |
2 |
| xrealloc |
|
1 |
4 |
21 |
2 |
| xreallocarray |
|
4 |
11 |
66 |
3 |
| xstrdup |
|
2 |
7 |
36 |
1 |
| Source file: ./usr.bin/ctfconv/dwarf.h |
| Source file: ./usr.bin/ctfconv/itype.h |
| Source file: ./usr.bin/ctfconv/hash.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| hash_delete |
|
1 |
5 |
22 |
1 |
| hash_resize |
|
11 |
39 |
302 |
1 |
| hash_remove |
|
5 |
11 |
85 |
2 |
| hash_insert |
|
3 |
13 |
94 |
4 |
| hash_first |
|
1 |
5 |
27 |
2 |
| hash_next |
|
4 |
7 |
77 |
2 |
| hash_init |
|
4 |
17 |
106 |
1 |
| hash_interval |
|
4 |
13 |
83 |
2 |
| hash_qlookup |
|
10 |
35 |
273 |
2 |
| hash_find |
|
3 |
10 |
69 |
3 |
| Source file: ./usr.bin/rpcgen/rpc_svcout.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| p_xdrfunc |
|
2 |
9 |
45 |
2 |
| internal_proctype |
|
1 |
7 |
37 |
1 |
| write_most |
|
12 |
48 |
265 |
3 |
| write_netid_register |
|
4 |
47 |
344 |
1 |
| write_nettype_register |
|
4 |
24 |
161 |
1 |
| write_rest |
|
4 |
25 |
145 |
0 |
| write_programs |
|
5 |
16 |
102 |
1 |
| write_real_program |
|
10 |
50 |
368 |
1 |
| write_program |
|
21 |
137 |
891 |
2 |
| printerr |
|
1 |
6 |
27 |
2 |
| printif |
|
1 |
9 |
45 |
4 |
| nullproc |
|
3 |
9 |
46 |
1 |
| write_inetmost |
|
1 |
27 |
164 |
1 |
| print_return |
|
3 |
11 |
48 |
1 |
| print_pmapunset |
|
4 |
17 |
101 |
1 |
| print_err_message |
|
4 |
10 |
55 |
1 |
| write_svc_aux |
|
4 |
10 |
35 |
1 |
| write_msg_out |
|
4 |
23 |
133 |
0 |
| write_timeout_func |
|
4 |
30 |
177 |
0 |
| write_caller_func |
|
1 |
24 |
110 |
0 |
| write_pm_most |
|
10 |
75 |
485 |
2 |
| write_rpc_svc_fg |
|
7 |
47 |
322 |
2 |
| open_log_file |
|
3 |
12 |
58 |
2 |
| write_inetd_register |
|
21 |
77 |
510 |
1 |
| Source file: ./usr.bin/wall/wall.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
26 |
80 |
597 |
2 |
| makemsg |
|
22 |
68 |
568 |
1 |
| addgroup |
|
6 |
23 |
180 |
2 |
| usage |
|
1 |
6 |
28 |
1 |
| isu8cont |
|
1 |
4 |
21 |
1 |
| Source file: ./usr.bin/wall/ttymsg.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ttymsg |
|
27 |
106 |
719 |
4 |
| Source file: ./usr.bin/ctfconv/dw.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dw_read_bytes |
|
2 |
9 |
54 |
3 |
| dw_read_u8 |
|
1 |
4 |
27 |
2 |
| dw_read_u16 |
|
1 |
4 |
27 |
2 |
| dw_read_u32 |
|
1 |
4 |
27 |
2 |
| dw_read_u64 |
|
1 |
4 |
27 |
2 |
| dw_read_leb128 |
|
7 |
17 |
115 |
3 |
| dw_read_sleb128 |
|
1 |
4 |
27 |
2 |
| dw_read_uleb128 |
|
1 |
4 |
23 |
2 |
| dw_read_string |
|
2 |
12 |
77 |
2 |
| dw_read_buf |
|
2 |
10 |
58 |
3 |
| dw_skip_bytes |
|
2 |
8 |
39 |
2 |
| dw_read_filename |
|
16 |
36 |
241 |
5 |
| dw_tag2name |
|
4 |
11 |
57 |
1 |
| dw_at2name |
|
4 |
11 |
57 |
1 |
| dw_form2name |
|
4 |
11 |
57 |
1 |
| dw_op2name |
|
4 |
11 |
57 |
1 |
| dw_attr_parse |
|
32 |
86 |
506 |
4 |
| dw_attr_purge |
|
2 |
9 |
49 |
1 |
| dw_die_parse |
|
9 |
44 |
248 |
5 |
| dw_die_purge |
|
2 |
10 |
57 |
1 |
| dw_ab_parse |
|
14 |
39 |
252 |
2 |
| dw_dabq_purge |
|
3 |
14 |
90 |
1 |
| dw_cu_parse |
|
17 |
66 |
461 |
4 |
| dw_dcu_free |
|
2 |
8 |
41 |
1 |
| dw_loc_parse |
|
12 |
30 |
137 |
4 |
| Source file: ./usr.bin/at/at.h |
| Source file: ./usr.bin/time/time.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
21 |
111 |
783 |
2 |
| usage |
|
1 |
6 |
22 |
1 |
| Source file: ./usr.bin/at/parsetime.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| parse_token |
|
3 |
11 |
81 |
1 |
| init_scanner |
|
3 |
14 |
74 |
2 |
| token |
|
14 |
44 |
289 |
1 |
| plonk |
|
2 |
4 |
22 |
1 |
| expect |
|
2 |
8 |
33 |
1 |
| dateadd |
|
6 |
24 |
119 |
2 |
| plus |
|
12 |
39 |
183 |
1 |
| tod |
|
18 |
48 |
259 |
1 |
| assign_date |
|
11 |
21 |
144 |
4 |
| month |
|
42 |
85 |
499 |
1 |
| parsetime |
|
21 |
63 |
333 |
2 |
| Source file: ./usr.bin/from/from.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
18 |
53 |
356 |
2 |
| mail_spool |
|
8 |
22 |
140 |
2 |
| match |
|
9 |
21 |
157 |
2 |
| Source file: ./usr.bin/units/units.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dupstr |
|
2 |
10 |
43 |
1 |
| readunits |
|
19 |
95 |
539 |
1 |
| initializeunit |
|
1 |
5 |
33 |
1 |
| addsubunit |
|
5 |
13 |
82 |
2 |
| showunit |
|
16 |
42 |
247 |
1 |
| zeroerror |
|
1 |
4 |
13 |
1 |
| addunit |
|
21 |
82 |
451 |
3 |
| compare |
|
1 |
4 |
32 |
2 |
| sortunit |
|
3 |
9 |
94 |
1 |
| cancelunit |
|
5 |
17 |
85 |
1 |
| lookupunit |
|
18 |
59 |
419 |
1 |
| reduceproduct |
|
9 |
30 |
148 |
2 |
| reduceunit |
|
3 |
11 |
52 |
1 |
| compareproducts |
|
10 |
18 |
96 |
2 |
| compareunits |
|
2 |
5 |
37 |
2 |
| completereduce |
|
2 |
8 |
32 |
1 |
| showanswer |
|
2 |
10 |
62 |
2 |
| usage |
|
1 |
6 |
18 |
1 |
| main |
|
24 |
88 |
527 |
2 |
| Source file: ./usr.bin/tftp/extern.h |
| Source file: ./usr.bin/tftp/tftpsubs.h |
| Source file: ./usr.bin/at/at.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fatal |
|
2 |
10 |
47 |
2 |
| fatalx |
|
2 |
10 |
47 |
2 |
| sigc |
|
2 |
6 |
24 |
1 |
| strtot |
|
6 |
12 |
91 |
3 |
| newjob |
|
3 |
13 |
87 |
2 |
| writefile |
|
44 |
121 |
907 |
3 |
| byctime |
|
1 |
6 |
55 |
2 |
| byjobno |
|
2 |
8 |
74 |
2 |
| print_job |
|
5 |
26 |
212 |
3 |
| list_jobs |
|
50 |
126 |
910 |
4 |
| rmok |
|
4 |
9 |
54 |
1 |
| process_jobs |
|
48 |
116 |
804 |
3 |
| ttime |
|
23 |
68 |
407 |
1 |
| usage |
|
6 |
25 |
82 |
1 |
| main |
|
56 |
171 |
874 |
2 |
| Source file: ./usr.bin/tftp/tftpsubs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| w_init |
|
1 |
4 |
14 |
1 |
| r_init |
|
1 |
4 |
14 |
1 |
| rw_init |
|
1 |
10 |
57 |
1 |
| readit |
|
2 |
11 |
82 |
4 |
| read_ahead |
|
9 |
38 |
205 |
3 |
| writeit |
|
2 |
10 |
83 |
4 |
| write_behind |
|
8 |
37 |
200 |
2 |
| synchnet |
|
3 |
17 |
97 |
1 |
| Source file: ./usr.bin/quota/quota.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
22 |
67 |
343 |
2 |
| usage |
|
1 |
8 |
24 |
1 |
| showuid |
|
4 |
16 |
80 |
1 |
| showusrname |
|
4 |
16 |
87 |
1 |
| showgid |
|
8 |
28 |
149 |
1 |
| showgrpname |
|
8 |
28 |
158 |
1 |
| showquotas |
|
35 |
84 |
561 |
3 |
| heading |
|
3 |
17 |
79 |
4 |
| timeprt |
|
5 |
25 |
176 |
1 |
| getprivs |
|
13 |
43 |
335 |
2 |
| ufshasquota |
|
10 |
34 |
260 |
3 |
| getufsquota |
|
6 |
29 |
221 |
5 |
| getnfsquota |
|
9 |
66 |
400 |
5 |
| callaurpc |
|
3 |
27 |
213 |
8 |
| alldigits |
|
3 |
10 |
57 |
1 |
| Source file: ./usr.bin/skeyaudit/skeyaudit.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sanitise_stdfd |
|
7 |
19 |
117 |
1 |
| main |
|
26 |
80 |
498 |
2 |
| notify |
|
7 |
35 |
180 |
3 |
| runsendmail |
|
6 |
30 |
214 |
2 |
| usage |
|
1 |
7 |
28 |
1 |
| Source file: ./usr.bin/tftp/tftp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sendfile |
|
30 |
127 |
746 |
3 |
| recvfile |
|
28 |
134 |
795 |
3 |
| cmpport |
|
4 |
11 |
104 |
2 |
| makerequest |
|
5 |
30 |
243 |
4 |
| nak |
|
7 |
24 |
176 |
2 |
| tpacket |
|
10 |
37 |
236 |
3 |
| startclock |
|
1 |
4 |
14 |
1 |
| stopclock |
|
1 |
4 |
14 |
1 |
| printstats |
|
2 |
11 |
97 |
2 |
| printtimeout |
|
1 |
4 |
11 |
1 |
| oack |
|
10 |
39 |
233 |
3 |
| oack_set |
|
12 |
36 |
219 |
2 |
| Source file: ./usr.bin/netstat/unix.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| unixdomainpr |
|
4 |
24 |
168 |
1 |
| unpcb_dump |
|
3 |
23 |
188 |
1 |
| Source file: ./usr.bin/tftp/main.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
4 |
14 |
100 |
2 |
| setpeer |
|
10 |
54 |
336 |
2 |
| parsearg |
|
6 |
20 |
133 |
2 |
| modecmd |
|
8 |
28 |
167 |
2 |
| setbinary |
|
1 |
4 |
18 |
2 |
| setascii |
|
1 |
4 |
18 |
2 |
| settftpmode |
|
2 |
6 |
31 |
1 |
| put |
|
18 |
67 |
449 |
2 |
| putusage |
|
1 |
6 |
22 |
1 |
| get |
|
18 |
67 |
414 |
2 |
| getusage |
|
1 |
5 |
22 |
1 |
| setrexmt |
|
5 |
23 |
141 |
2 |
| settimeout |
|
5 |
23 |
141 |
2 |
| status |
|
4 |
11 |
58 |
2 |
| intr |
|
1 |
4 |
11 |
1 |
| tail |
|
4 |
13 |
60 |
1 |
| command |
|
9 |
25 |
136 |
1 |
| getcmd |
|
8 |
26 |
159 |
1 |
| makeargv |
|
8 |
27 |
137 |
1 |
| quit |
|
1 |
4 |
18 |
2 |
| help |
|
6 |
21 |
135 |
2 |
| settrace |
|
2 |
5 |
29 |
2 |
| setverbose |
|
2 |
5 |
29 |
2 |
| settsize |
|
3 |
9 |
40 |
2 |
| settout |
|
3 |
9 |
40 |
2 |
| setblksize |
|
6 |
26 |
152 |
2 |
| readcmd |
|
5 |
24 |
132 |
3 |
| Source file: ./usr.bin/netstat/mbuf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mbpr |
|
19 |
107 |
801 |
1 |
| Source file: ./usr.bin/showmount/showmount.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
25 |
122 |
660 |
2 |
| xdr_mntdump |
|
16 |
66 |
356 |
2 |
| xdr_exports |
|
11 |
38 |
242 |
2 |
| usage |
|
1 |
5 |
18 |
1 |
| print_dump |
|
6 |
26 |
154 |
1 |
| Source file: ./usr.bin/ctfconv/parse.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dwarf_parse |
|
7 |
36 |
285 |
4 |
| it_new |
|
5 |
33 |
258 |
8 |
| it_dup |
|
1 |
15 |
130 |
1 |
| it_merge |
|
1 |
16 |
138 |
2 |
| it_name |
|
2 |
6 |
28 |
1 |
| it_reference |
|
3 |
10 |
59 |
1 |
| it_free |
|
3 |
12 |
73 |
1 |
| it_cmp |
|
8 |
13 |
137 |
2 |
| it_name_cmp |
|
2 |
7 |
60 |
2 |
| it_off_cmp |
|
1 |
4 |
23 |
2 |
| ir_add |
|
2 |
11 |
74 |
2 |
| ir_purge |
|
2 |
8 |
50 |
1 |
| im_new |
|
3 |
19 |
111 |
3 |
| im_name |
|
2 |
6 |
28 |
1 |
| cu_stat |
|
1 |
4 |
10 |
1 |
| cu_resolve |
|
12 |
48 |
332 |
3 |
| cu_reference |
|
2 |
8 |
46 |
2 |
| cu_merge |
|
17 |
60 |
436 |
2 |
| cu_parse |
|
34 |
91 |
468 |
3 |
| parse_base |
|
18 |
76 |
334 |
2 |
| parse_refers |
|
9 |
34 |
208 |
3 |
| parse_array |
|
3 |
24 |
137 |
2 |
| parse_enum |
|
3 |
24 |
144 |
2 |
| subparse_subrange |
|
6 |
29 |
166 |
3 |
| subparse_enumerator |
|
7 |
37 |
218 |
3 |
| parse_struct |
|
5 |
31 |
187 |
4 |
| subparse_member |
|
16 |
50 |
323 |
4 |
| subparse_arguments |
|
10 |
36 |
215 |
3 |
| parse_function |
|
6 |
33 |
182 |
2 |
| parse_funcptr |
|
4 |
29 |
165 |
2 |
| parse_variable |
|
6 |
29 |
162 |
2 |
| dav2val |
|
20 |
46 |
179 |
2 |
| dav2str |
|
4 |
20 |
80 |
1 |
| enc2name |
|
3 |
10 |
72 |
1 |
| Source file: ./usr.bin/netstat/net80211.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| net80211_ifstats |
|
3 |
94 |
601 |
1 |
| Source file: ./usr.bin/netstat/mroute.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mroutepr |
|
15 |
83 |
540 |
1 |
| mrt_stats |
|
7 |
54 |
367 |
1 |
| Source file: ./usr.bin/netstat/mroute6.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mroute6pr |
|
16 |
90 |
584 |
1 |
| mrt6_stats |
|
6 |
57 |
394 |
1 |
| Source file: ./usr.bin/netstat/if.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| intpr |
|
25 |
89 |
627 |
2 |
| print_addr |
|
28 |
102 |
680 |
3 |
| sidewaysintpr |
|
21 |
114 |
686 |
2 |
| catchalarm |
|
1 |
4 |
11 |
1 |
| get_rtaddrs |
|
3 |
12 |
92 |
3 |
| isegress |
|
9 |
31 |
224 |
1 |
| fetchifs |
|
16 |
79 |
589 |
1 |
| Source file: ./usr.bin/netstat/netstat.h |
| Source file: ./usr.bin/netstat/main.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
86 |
231 |
1179 |
2 |
| kread |
|
2 |
9 |
59 |
3 |
| plural |
|
2 |
4 |
18 |
1 |
| plurales |
|
2 |
4 |
18 |
1 |
| pluralys |
|
2 |
4 |
18 |
1 |
| knownname |
|
4 |
9 |
65 |
1 |
| name2protox |
|
5 |
18 |
106 |
1 |
| usage |
|
1 |
15 |
42 |
1 |
| gettable |
|
3 |
21 |
142 |
1 |
| Source file: ./usr.bin/netstat/inet6.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ip6_stats |
|
27 |
127 |
807 |
1 |
| icmp6_stats |
|
9 |
64 |
439 |
1 |
| rip6_stats |
|
5 |
30 |
186 |
1 |
| div6_stats |
|
3 |
18 |
127 |
1 |
| inet6print |
|
13 |
26 |
213 |
3 |
| inet6name |
|
16 |
51 |
381 |
1 |
| Source file: ./usr.bin/netstat/route.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| routepr |
|
17 |
51 |
401 |
5 |
| kgetsa |
|
2 |
7 |
70 |
1 |
| p_tree |
|
11 |
33 |
194 |
1 |
| p_rtflags |
|
5 |
13 |
69 |
1 |
| p_rtnode |
|
9 |
43 |
336 |
1 |
| p_krtentry |
|
11 |
37 |
333 |
1 |
| rt_stats |
|
2 |
28 |
186 |
1 |
| Source file: ./usr.bin/top/commands.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| next_field |
|
4 |
15 |
81 |
1 |
| scan_arg |
|
6 |
22 |
138 |
3 |
| err_string |
|
8 |
31 |
208 |
1 |
| str_adderr |
|
3 |
9 |
68 |
3 |
| str_addarg |
|
3 |
9 |
62 |
4 |
| err_compar |
|
2 |
9 |
80 |
2 |
| error_count |
|
1 |
4 |
11 |
1 |
| kill_procs |
|
16 |
47 |
306 |
1 |
| renice_procs |
|
14 |
34 |
230 |
1 |
| Source file: ./usr.bin/top/screen.h |
| Source file: ./usr.bin/top/boolean.h |
| Source file: ./usr.bin/top/display.h |
| Source file: ./usr.bin/uudecode/uudecode.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
28 |
84 |
397 |
2 |
| decode |
|
6 |
23 |
103 |
1 |
| decode2 |
|
33 |
110 |
668 |
1 |
| get_line |
|
3 |
9 |
52 |
2 |
| checkend |
|
4 |
15 |
106 |
3 |
| uu_decode |
|
22 |
59 |
474 |
1 |
| base64_decode |
|
5 |
20 |
106 |
1 |
| usage |
|
3 |
16 |
49 |
1 |
| Source file: ./usr.bin/top/utils.h |
| Source file: ./usr.bin/top/layout.h |
| Source file: ./usr.bin/top/top.h |
| Source file: ./usr.bin/top/username.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| username |
|
1 |
4 |
15 |
1 |
| userid |
|
2 |
7 |
42 |
1 |
| Source file: ./usr.bin/top/top.local.h |
| Source file: ./usr.bin/top/screen.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| init_termcap |
|
11 |
44 |
213 |
1 |
| init_screen |
|
5 |
20 |
120 |
1 |
| end_screen |
|
3 |
11 |
50 |
1 |
| reinit_screen |
|
4 |
7 |
32 |
1 |
| get_screensize |
|
4 |
10 |
57 |
1 |
| go_home |
|
2 |
7 |
23 |
1 |
| Source file: ./usr.bin/netstat/show.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| get_sysctl |
|
7 |
19 |
129 |
3 |
| p_rttables |
|
4 |
29 |
189 |
2 |
| WID_DST |
|
5 |
19 |
52 |
1 |
| pr_rthdr |
|
6 |
26 |
147 |
2 |
| get_rtaddrs |
|
3 |
12 |
87 |
3 |
| p_rtentry |
|
10 |
40 |
328 |
1 |
| pr_family |
|
6 |
25 |
80 |
1 |
| p_addr |
|
1 |
4 |
33 |
3 |
| p_gwaddr |
|
1 |
4 |
26 |
2 |
| p_sockaddr |
|
11 |
39 |
230 |
4 |
| p_sockaddr_mpls |
|
4 |
13 |
103 |
4 |
| p_flags |
|
4 |
10 |
82 |
2 |
| routename |
|
15 |
58 |
399 |
1 |
| routename4 |
|
8 |
20 |
135 |
1 |
| routename6 |
|
3 |
12 |
77 |
1 |
| netname4 |
|
7 |
21 |
222 |
2 |
| netname6 |
|
22 |
82 |
442 |
2 |
| netname |
|
6 |
21 |
136 |
2 |
| any_ntoa |
|
3 |
15 |
132 |
1 |
| link_print |
|
6 |
17 |
120 |
1 |
| mpls_op |
|
5 |
15 |
60 |
1 |
| label_print |
|
2 |
10 |
71 |
1 |
| Source file: ./usr.bin/netstat/inet.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| kf_comp |
|
19 |
36 |
280 |
2 |
| protopr |
|
28 |
55 |
405 |
4 |
| netdomainpr |
|
45 |
121 |
756 |
2 |
| tcp_stats |
|
3 |
113 |
701 |
1 |
| udp_stats |
|
5 |
33 |
231 |
1 |
| ip_stats |
|
3 |
45 |
316 |
1 |
| div_stats |
|
3 |
18 |
127 |
1 |
| icmp_stats |
|
11 |
50 |
329 |
1 |
| igmp_stats |
|
3 |
22 |
155 |
1 |
| getrpcportnam |
|
11 |
57 |
387 |
2 |
| inetprint |
|
12 |
22 |
221 |
4 |
| inetname |
|
11 |
37 |
280 |
1 |
| ah_stats |
|
3 |
32 |
225 |
1 |
| etherip_stats |
|
3 |
22 |
155 |
1 |
| esp_stats |
|
3 |
37 |
260 |
1 |
| ipip_stats |
|
3 |
23 |
162 |
1 |
| carp_stats |
|
3 |
28 |
197 |
1 |
| pfsync_stats |
|
3 |
29 |
204 |
1 |
| pflow_stats |
|
3 |
17 |
119 |
1 |
| ipcomp_stats |
|
3 |
30 |
211 |
1 |
| socket_dump |
|
3 |
34 |
281 |
1 |
| sosplice_dump |
|
2 |
13 |
90 |
1 |
| sockbuf_dump |
|
1 |
16 |
125 |
2 |
| protosw_dump |
|
2 |
13 |
94 |
2 |
| domain_dump |
|
2 |
12 |
92 |
3 |
| inpcb_dump |
|
6 |
54 |
452 |
3 |
| tcpcb_dump |
|
4 |
67 |
574 |
1 |
| Source file: ./usr.bin/top/utils.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| atoiwi |
|
6 |
20 |
115 |
1 |
| itoa |
|
1 |
6 |
36 |
1 |
| format_uid |
|
1 |
6 |
36 |
1 |
| digits |
|
2 |
9 |
32 |
1 |
| string_index |
|
3 |
11 |
60 |
2 |
| argparse |
|
9 |
40 |
244 |
2 |
| percentages |
|
5 |
20 |
155 |
5 |
| format_time |
|
4 |
15 |
120 |
1 |
| format_k |
|
3 |
18 |
116 |
1 |
| find_pid |
|
4 |
11 |
72 |
1 |
| Source file: ./usr.bin/top/machine.h |
| Source file: ./usr.bin/top/machine.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| getfscale |
|
2 |
9 |
66 |
1 |
| getncpu |
|
2 |
10 |
72 |
1 |
| machine_init |
|
12 |
41 |
301 |
1 |
| format_header |
|
3 |
13 |
63 |
2 |
| get_system_info |
|
11 |
66 |
592 |
1 |
| getprocs |
|
6 |
33 |
261 |
3 |
| get_proc_args |
|
6 |
23 |
150 |
1 |
| cmd_matches |
|
7 |
23 |
102 |
2 |
| get_process_info |
|
26 |
61 |
476 |
3 |
| state_abbr |
|
3 |
11 |
78 |
1 |
| format_comm |
|
6 |
20 |
132 |
1 |
| format_next_process |
|
5 |
33 |
271 |
4 |
| compare_cpu |
|
1 |
17 |
81 |
2 |
| compare_size |
|
1 |
17 |
81 |
2 |
| compare_res |
|
1 |
17 |
81 |
2 |
| compare_time |
|
1 |
17 |
81 |
2 |
| compare_prio |
|
1 |
17 |
81 |
2 |
| compare_pid |
|
1 |
18 |
82 |
2 |
| compare_cmd |
|
1 |
18 |
82 |
2 |
| proc_owner |
|
3 |
13 |
68 |
1 |
| swapmode |
|
6 |
25 |
174 |
2 |
| Source file: ./usr.bin/false/false.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
1 |
4 |
18 |
2 |
| Source file: ./usr.bin/top/display.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| empty |
|
1 |
4 |
9 |
1 |
| myfputs |
|
1 |
4 |
17 |
1 |
| display_resize |
|
8 |
18 |
111 |
1 |
| display_init |
|
5 |
34 |
173 |
1 |
| format_uptime |
|
4 |
27 |
179 |
2 |
| i_loadave |
|
6 |
13 |
89 |
2 |
| i_timeofday |
|
7 |
21 |
126 |
1 |
| i_procstates |
|
5 |
23 |
131 |
3 |
| cpustates_tag |
|
10 |
31 |
188 |
1 |
| i_cpustates |
|
20 |
63 |
391 |
1 |
| i_memory |
|
3 |
13 |
64 |
1 |
| i_message |
|
3 |
15 |
67 |
1 |
| i_header |
|
6 |
16 |
75 |
1 |
| i_process |
|
5 |
12 |
63 |
3 |
| u_endscreen |
|
3 |
10 |
42 |
1 |
| display_header |
|
1 |
4 |
11 |
1 |
| new_message |
|
6 |
22 |
121 |
3 |
| clear_message |
|
1 |
5 |
17 |
1 |
| readlinedumb |
|
16 |
44 |
263 |
2 |
| readline |
|
6 |
16 |
108 |
2 |
| string_count |
|
2 |
8 |
31 |
1 |
| summary_format |
|
10 |
27 |
181 |
4 |
| printable |
|
3 |
11 |
56 |
1 |
| show_help |
|
3 |
35 |
62 |
1 |
| show_errors |
|
6 |
20 |
102 |
1 |
| anykey |
|
6 |
20 |
83 |
1 |
| Source file: ./usr.bin/users/users.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
12 |
49 |
336 |
2 |
| scmp |
|
1 |
4 |
34 |
2 |
| Source file: ./usr.bin/encrypt/encrypt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usage |
|
1 |
7 |
23 |
1 |
| print_passwd |
|
6 |
21 |
154 |
3 |
| main |
|
19 |
70 |
444 |
2 |
| Source file: ./usr.bin/mandoc/mdoc.h |
| Source file: ./usr.bin/mandoc/libmandoc.h |
| Source file: ./usr.bin/id/id.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
40 |
112 |
626 |
2 |
| pretty |
|
13 |
37 |
289 |
1 |
| current |
|
11 |
39 |
320 |
1 |
| user |
|
6 |
26 |
204 |
1 |
| group |
|
7 |
30 |
202 |
2 |
| who |
|
3 |
12 |
79 |
1 |
| usage |
|
3 |
17 |
135 |
1 |
| Source file: ./usr.bin/top/top.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usage |
|
1 |
8 |
21 |
1 |
| parseargs |
|
36 |
115 |
555 |
2 |
| main |
|
39 |
157 |
986 |
2 |
| rundisplay |
|
83 |
329 |
1739 |
1 |
| reset_display |
|
2 |
7 |
20 |
1 |
| leave |
|
1 |
4 |
11 |
1 |
| tstop |
|
1 |
4 |
11 |
1 |
| sigwinch |
|
1 |
4 |
11 |
1 |
| onalrm |
|
1 |
3 |
7 |
1 |
| quit |
|
1 |
5 |
16 |
1 |
| Source file: ./usr.bin/cal/cal.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
25 |
81 |
417 |
2 |
| week |
|
4 |
22 |
153 |
3 |
| isoweek |
|
5 |
24 |
216 |
3 |
| monthly |
|
9 |
27 |
236 |
2 |
| j_yearly |
|
6 |
31 |
302 |
1 |
| yearly |
|
13 |
48 |
441 |
1 |
| day_array |
|
6 |
14 |
120 |
3 |
| day_in_year |
|
2 |
8 |
53 |
3 |
| day_in_week |
|
3 |
11 |
96 |
3 |
| ascii_day |
|
7 |
37 |
231 |
2 |
| trim_trailing_spaces |
|
5 |
11 |
59 |
1 |
| center |
|
1 |
6 |
50 |
3 |
| usage |
|
1 |
5 |
21 |
1 |
| parsemonth |
|
6 |
15 |
101 |
1 |
| Source file: ./usr.bin/mandoc/roff.h |
| Source file: ./usr.bin/mandoc/mdoc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mdoc_parseln |
|
5 |
12 |
102 |
4 |
| mdoc_macro |
|
2 |
5 |
40 |
1 |
| mdoc_tail_alloc |
|
1 |
7 |
52 |
4 |
| mdoc_endbody_alloc |
|
1 |
14 |
94 |
5 |
| mdoc_block_alloc |
|
7 |
23 |
121 |
5 |
| mdoc_elem_alloc |
|
3 |
18 |
106 |
5 |
| mdoc_node_relink |
|
1 |
6 |
38 |
2 |
| mdoc_ptext |
|
41 |
91 |
677 |
4 |
| mdoc_pmacro |
|
24 |
54 |
395 |
4 |
| mdoc_isdelim |
|
17 |
31 |
133 |
1 |
| mdoc_validate |
|
1 |
6 |
27 |
1 |
| Source file: ./usr.bin/mandoc/term.h |
| Source file: ./usr.bin/mandoc/mandoc_xr.h |
| Source file: ./usr.bin/mandoc/dbm_map.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dbm_map |
|
12 |
64 |
357 |
1 |
| dbm_unmap |
|
3 |
8 |
49 |
1 |
| dbm_get |
|
3 |
14 |
57 |
1 |
| dbm_getint |
|
1 |
4 |
16 |
1 |
| dbm_addr |
|
1 |
4 |
22 |
1 |
| dbm_match |
|
4 |
13 |
80 |
2 |
| Source file: ./usr.bin/mandoc/man.h |
| Source file: ./usr.bin/mandoc/mdoc_state.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mdoc_state |
|
6 |
12 |
94 |
2 |
| mdoc_state_reset |
|
1 |
5 |
28 |
1 |
| state_bd |
|
7 |
13 |
80 |
1 |
| state_bl |
|
6 |
20 |
104 |
1 |
| state_dl |
|
3 |
13 |
40 |
1 |
| state_sh |
|
6 |
23 |
159 |
1 |
| state_sm |
|
4 |
9 |
62 |
1 |
| Source file: ./usr.bin/mandoc/tbl_term.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| term_tbl_sulen |
|
2 |
6 |
41 |
2 |
| term_tbl_strlen |
|
1 |
4 |
27 |
2 |
| term_tbl_len |
|
1 |
4 |
25 |
2 |
| term_tbl |
|
126 |
292 |
2190 |
2 |
| tbl_hrule |
|
25 |
47 |
369 |
3 |
| tbl_data |
|
16 |
47 |
201 |
5 |
| tbl_char |
|
2 |
10 |
70 |
3 |
| tbl_literal |
|
8 |
36 |
211 |
3 |
| tbl_number |
|
7 |
32 |
262 |
4 |
| tbl_word |
|
3 |
11 |
75 |
2 |
| Source file: ./usr.bin/mandoc/mansearch.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mansearch |
|
34 |
115 |
798 |
6 |
| manmerge |
|
4 |
13 |
65 |
2 |
| manmerge_term |
|
11 |
47 |
281 |
2 |
| manmerge_or |
|
2 |
8 |
40 |
2 |
| manmerge_and |
|
9 |
49 |
366 |
2 |
| mansearch_free |
|
2 |
10 |
65 |
2 |
| manpage_compare |
|
9 |
22 |
187 |
2 |
| buildnames |
|
3 |
20 |
169 |
1 |
| lstlen |
|
7 |
20 |
95 |
2 |
| lstcat |
|
8 |
21 |
138 |
4 |
| lstmatch |
|
6 |
11 |
69 |
2 |
| buildoutput |
|
9 |
48 |
248 |
2 |
| exprcomp |
|
14 |
50 |
292 |
4 |
| expr_and |
|
16 |
53 |
310 |
4 |
| exprterm |
|
23 |
94 |
674 |
4 |
| exprfree |
|
3 |
8 |
44 |
1 |
| Source file: ./usr.bin/deroff/deroff.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
21 |
96 |
457 |
2 |
| skeqn |
|
8 |
17 |
108 |
1 |
| opn |
|
2 |
7 |
41 |
1 |
| eof |
|
4 |
14 |
65 |
1 |
| getfname |
|
11 |
30 |
191 |
1 |
| textline |
|
2 |
8 |
29 |
2 |
| work |
|
5 |
11 |
44 |
1 |
| regline |
|
9 |
25 |
142 |
2 |
| macro |
|
6 |
13 |
48 |
1 |
| tbl |
|
2 |
7 |
19 |
1 |
| stbl |
|
8 |
12 |
55 |
1 |
| eqn |
|
26 |
50 |
240 |
1 |
| backsl |
|
31 |
63 |
216 |
1 |
| sce |
|
14 |
43 |
181 |
1 |
| refer |
|
8 |
21 |
82 |
1 |
| inpic |
|
16 |
59 |
239 |
1 |
| _C1 |
|
1 |
4 |
11 |
1 |
| _C |
|
1 |
4 |
11 |
1 |
| msputmac |
|
19 |
41 |
256 |
2 |
| msputwords |
|
11 |
24 |
166 |
1 |
| meputmac |
|
26 |
71 |
376 |
2 |
| meputwords |
|
1 |
4 |
12 |
1 |
| noblock |
|
25 |
50 |
239 |
2 |
| EQ |
|
1 |
5 |
15 |
1 |
| domacro |
|
1 |
5 |
15 |
1 |
| PS |
|
5 |
14 |
58 |
1 |
| skip |
|
1 |
5 |
13 |
1 |
| intbl |
|
2 |
8 |
24 |
1 |
| outtbl |
|
1 |
5 |
15 |
1 |
| so |
|
4 |
13 |
63 |
1 |
| nx |
|
4 |
12 |
57 |
1 |
| skiptocom |
|
1 |
5 |
13 |
1 |
| PP |
|
2 |
10 |
51 |
1 |
| AU |
|
2 |
7 |
24 |
1 |
| SH |
|
6 |
24 |
111 |
1 |
| UX |
|
2 |
8 |
26 |
1 |
| MMHU |
|
3 |
14 |
62 |
1 |
| mesnblock |
|
1 |
7 |
33 |
1 |
| mssnblock |
|
1 |
7 |
33 |
1 |
| nf |
|
1 |
5 |
18 |
1 |
| ce |
|
1 |
5 |
15 |
1 |
| meip |
|
3 |
10 |
36 |
1 |
| mepp |
|
1 |
5 |
17 |
1 |
| mesh |
|
3 |
10 |
34 |
1 |
| mefont |
|
1 |
7 |
25 |
1 |
| manfont |
|
1 |
4 |
15 |
1 |
| manpp |
|
1 |
4 |
15 |
1 |
| defcomline |
|
15 |
36 |
149 |
1 |
| comline |
|
32 |
86 |
394 |
1 |
| macsort |
|
1 |
6 |
49 |
2 |
| sizetab |
|
3 |
10 |
41 |
1 |
| macfill |
|
3 |
8 |
39 |
2 |
| usage |
|
1 |
6 |
25 |
1 |
| buildtab |
|
7 |
39 |
209 |
2 |
| Source file: ./usr.bin/mandoc/att.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mdoc_a2att |
|
1 |
18 |
110 |
1 |
| Source file: ./usr.bin/mandoc/mdoc_man.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| man_strlen |
|
12 |
40 |
142 |
1 |
| font_push |
|
2 |
13 |
71 |
1 |
| font_pop |
|
2 |
9 |
43 |
1 |
| print_word |
|
30 |
66 |
370 |
1 |
| print_line |
|
1 |
6 |
25 |
2 |
| print_block |
|
4 |
15 |
83 |
2 |
| print_offs |
|
13 |
31 |
199 |
2 |
| print_width |
|
12 |
42 |
271 |
2 |
| print_count |
|
1 |
6 |
38 |
1 |
| man_man |
|
1 |
5 |
32 |
2 |
| man_mdoc |
|
4 |
18 |
148 |
2 |
| print_node |
|
25 |
50 |
360 |
1 |
| cond_head |
|
1 |
4 |
13 |
1 |
| cond_body |
|
1 |
4 |
13 |
1 |
| pre_enc |
|
2 |
10 |
43 |
1 |
| post_enc |
|
2 |
9 |
43 |
1 |
| pre_ex |
|
1 |
5 |
15 |
1 |
| post_font |
|
1 |
4 |
10 |
1 |
| post_percent |
|
6 |
14 |
79 |
1 |
| pre__t |
|
3 |
9 |
46 |
1 |
| post__t |
|
3 |
9 |
49 |
1 |
| pre_sect |
|
2 |
11 |
51 |
1 |
| post_sect |
|
4 |
11 |
56 |
1 |
| pre_syn |
|
15 |
29 |
131 |
1 |
| pre_an |
|
6 |
20 |
81 |
1 |
| pre_ap |
|
1 |
7 |
22 |
1 |
| pre_aq |
|
4 |
7 |
42 |
1 |
| post_aq |
|
4 |
6 |
43 |
1 |
| pre_bd |
|
5 |
11 |
85 |
1 |
| post_bd |
|
4 |
9 |
56 |
1 |
| pre_bf |
|
5 |
23 |
74 |
1 |
| post_bf |
|
2 |
5 |
18 |
1 |
| pre_bk |
|
4 |
13 |
38 |
1 |
| post_bk |
|
5 |
14 |
52 |
1 |
| pre_bl |
|
6 |
25 |
133 |
1 |
| post_bl |
|
6 |
25 |
125 |
1 |
| pre_br |
|
1 |
4 |
10 |
1 |
| pre_dl |
|
1 |
5 |
16 |
1 |
| post_dl |
|
2 |
6 |
27 |
1 |
| pre_em |
|
1 |
5 |
14 |
1 |
| pre_en |
|
3 |
9 |
49 |
1 |
| post_en |
|
4 |
10 |
61 |
1 |
| pre_eo |
|
10 |
13 |
107 |
1 |
| post_eo |
|
9 |
16 |
100 |
1 |
| pre_fa |
|
6 |
17 |
85 |
1 |
| post_fa |
|
3 |
5 |
27 |
1 |
| pre_fd |
|
1 |
6 |
19 |
1 |
| post_fd |
|
1 |
5 |
14 |
1 |
| pre_fl |
|
2 |
8 |
31 |
1 |
| post_fl |
|
5 |
9 |
47 |
1 |
| pre_fn |
|
4 |
19 |
92 |
1 |
| post_fn |
|
2 |
8 |
30 |
1 |
| pre_fo |
|
6 |
23 |
89 |
1 |
| post_fo |
|
4 |
14 |
47 |
1 |
| pre_Ft |
|
1 |
6 |
19 |
1 |
| pre_ft |
|
1 |
6 |
26 |
1 |
| pre_in |
|
2 |
14 |
55 |
1 |
| post_in |
|
2 |
13 |
49 |
1 |
| pre_it |
|
17 |
63 |
315 |
1 |
| mid_it |
|
4 |
13 |
83 |
1 |
| post_it |
|
14 |
47 |
177 |
1 |
| post_lb |
|
2 |
5 |
18 |
1 |
| pre_lk |
|
10 |
36 |
203 |
1 |
| pre_onearg |
|
4 |
13 |
85 |
1 |
| pre_li |
|
1 |
5 |
14 |
1 |
| pre_nm |
|
8 |
22 |
126 |
1 |
| post_nm |
|
6 |
15 |
55 |
1 |
| pre_no |
|
1 |
5 |
13 |
1 |
| pre_ns |
|
1 |
5 |
13 |
1 |
| post_pf |
|
3 |
5 |
29 |
1 |
| pre_pp |
|
2 |
8 |
33 |
1 |
| pre_rs |
|
2 |
8 |
31 |
1 |
| pre_skip |
|
1 |
4 |
9 |
1 |
| pre_sm |
|
4 |
12 |
56 |
1 |
| pre_sp |
|
3 |
12 |
56 |
1 |
| pre_sy |
|
1 |
5 |
14 |
1 |
| pre_ta |
|
2 |
7 |
42 |
1 |
| pre_vt |
|
4 |
16 |
53 |
1 |
| post_vt |
|
3 |
6 |
26 |
1 |
| pre_xr |
|
3 |
15 |
67 |
1 |
| Source file: ./usr.bin/mandoc/dba.h |
| Source file: ./usr.bin/mandoc/mdoc_macro.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mdoc_endparse |
|
5 |
13 |
102 |
1 |
| lookup |
|
6 |
18 |
116 |
5 |
| rew_last |
|
3 |
13 |
89 |
2 |
| rew_pending |
|
11 |
32 |
148 |
2 |
| rew_alt |
|
17 |
39 |
115 |
1 |
| rew_elem |
|
2 |
10 |
63 |
2 |
| break_intermediate |
|
8 |
12 |
83 |
2 |
| find_pending |
|
9 |
29 |
186 |
5 |
| dword |
|
11 |
21 |
158 |
6 |
| append_delims |
|
5 |
16 |
108 |
4 |
| macro_or_word |
|
9 |
24 |
162 |
2 |
| blk_exp_close |
|
47 |
133 |
818 |
1 |
| in_line |
|
48 |
108 |
659 |
1 |
| blk_full |
|
57 |
161 |
1069 |
1 |
| blk_part_imp |
|
15 |
38 |
293 |
1 |
| blk_part_exp |
|
12 |
37 |
260 |
1 |
| in_line_argn |
|
36 |
88 |
546 |
1 |
| in_line_eoln |
|
10 |
24 |
175 |
1 |
| parse_rest |
|
4 |
12 |
83 |
5 |
| ctx_synopsis |
|
3 |
11 |
80 |
1 |
| phrase_ta |
|
9 |
21 |
148 |
1 |
| Source file: ./usr.bin/mandoc/mandoc_aux.h |
| Source file: ./usr.bin/mandoc/mandoc_ohash.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mandoc_ohash_init |
|
1 |
10 |
60 |
3 |
| hash_alloc |
|
1 |
4 |
17 |
2 |
| hash_calloc |
|
1 |
4 |
22 |
3 |
| hash_free |
|
1 |
4 |
17 |
2 |
| Source file: ./usr.bin/mandoc/st.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mdoc_a2st |
|
1 |
5 |
14 |
1 |
| Source file: ./usr.bin/mandoc/dba_array.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dba_array_new |
|
1 |
15 |
110 |
2 |
| dba_array_free |
|
4 |
12 |
72 |
1 |
| dba_array_set |
|
3 |
12 |
87 |
3 |
| dba_array_add |
|
2 |
12 |
101 |
2 |
| dba_array_get |
|
4 |
6 |
45 |
2 |
| dba_array_start |
|
1 |
4 |
17 |
1 |
| dba_array_next |
|
5 |
10 |
78 |
1 |
| dba_array_del |
|
3 |
7 |
50 |
1 |
| dba_array_undel |
|
1 |
4 |
30 |
1 |
| dba_array_setpos |
|
1 |
4 |
24 |
3 |
| dba_array_getpos |
|
1 |
4 |
14 |
1 |
| dba_array_sort |
|
1 |
5 |
42 |
2 |
| dba_array_writelen |
|
1 |
5 |
37 |
2 |
| dba_array_writepos |
|
3 |
8 |
57 |
1 |
| dba_array_writelst |
|
1 |
7 |
30 |
1 |
| Source file: ./usr.bin/mandoc/dbm_map.h |
| Source file: ./usr.bin/mandoc/mandoc_aux.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mandoc_asprintf |
|
2 |
11 |
64 |
3 |
| mandoc_calloc |
|
2 |
8 |
42 |
2 |
| mandoc_malloc |
|
2 |
8 |
37 |
1 |
| mandoc_realloc |
|
2 |
7 |
39 |
2 |
| mandoc_reallocarray |
|
2 |
7 |
44 |
3 |
| mandoc_recallocarray |
|
2 |
7 |
49 |
4 |
| mandoc_strdup |
|
2 |
8 |
39 |
1 |
| mandoc_strndup |
|
1 |
8 |
47 |
2 |
| Source file: ./usr.bin/mandoc/roff_int.h |
| Source file: ./usr.bin/mandoc/mdoc_argv.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mdoc_argv |
|
17 |
55 |
407 |
6 |
| mdoc_argv_free |
|
5 |
16 |
89 |
1 |
| argn_free |
|
5 |
13 |
114 |
2 |
| mdoc_args |
|
7 |
20 |
139 |
6 |
| args |
|
36 |
84 |
656 |
6 |
| args_checkpunct |
|
15 |
29 |
202 |
2 |
| argv_multi |
|
5 |
17 |
137 |
5 |
| argv_single |
|
2 |
12 |
90 |
5 |
| Source file: ./usr.bin/mandoc/libroff.h |
| Source file: ./usr.bin/mandoc/libman.h |
| Source file: ./usr.bin/mandoc/man_macro.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| man_unscope |
|
10 |
37 |
248 |
2 |
| rew_scope |
|
16 |
31 |
189 |
2 |
| blk_close |
|
21 |
58 |
376 |
1 |
| blk_exp |
|
6 |
26 |
209 |
1 |
| blk_imp |
|
8 |
24 |
164 |
1 |
| in_line_eoln |
|
17 |
45 |
335 |
1 |
| man_endparse |
|
1 |
5 |
24 |
1 |
| man_args |
|
2 |
11 |
81 |
5 |
| Source file: ./usr.bin/mandoc/tbl_data.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| getdata |
|
25 |
65 |
526 |
5 |
| tbl_cdata |
|
8 |
31 |
253 |
4 |
| newspan |
|
2 |
16 |
104 |
3 |
| tbl_data |
|
13 |
36 |
278 |
4 |
| Source file: ./usr.bin/mandoc/dba_write.h |
| Source file: ./usr.bin/mandoc/msec.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mandoc_a2msec |
|
1 |
5 |
14 |
1 |
| Source file: ./usr.bin/mandoc/man_html.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| print_bvspace |
|
7 |
10 |
74 |
2 |
| html_man |
|
2 |
20 |
173 |
2 |
| print_man_head |
|
1 |
9 |
52 |
1 |
| print_man_nodelist |
|
2 |
7 |
29 |
1 |
| print_man_node |
|
42 |
102 |
506 |
1 |
| fillmode |
|
7 |
16 |
94 |
2 |
| a2width |
|
2 |
6 |
40 |
2 |
| man_root_pre |
|
2 |
21 |
162 |
1 |
| man_root_post |
|
2 |
13 |
98 |
1 |
| man_SH_pre |
|
3 |
12 |
67 |
1 |
| man_alt_pre |
|
17 |
39 |
205 |
1 |
| man_SM_pre |
|
2 |
7 |
35 |
1 |
| man_SS_pre |
|
3 |
12 |
67 |
1 |
| man_PP_pre |
|
3 |
8 |
36 |
1 |
| man_IP_pre |
|
9 |
24 |
159 |
1 |
| man_HP_pre |
|
5 |
17 |
116 |
1 |
| man_OP_pre |
|
4 |
20 |
133 |
1 |
| man_B_pre |
|
1 |
5 |
18 |
1 |
| man_I_pre |
|
1 |
5 |
18 |
1 |
| man_in_pre |
|
1 |
5 |
18 |
1 |
| man_ign_pre |
|
1 |
4 |
9 |
1 |
| man_RS_pre |
|
4 |
13 |
76 |
1 |
| man_UR_pre |
|
4 |
20 |
147 |
1 |
| Source file: ./usr.bin/mandoc/out.h |
| Source file: ./usr.bin/mandoc/out.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| a2roffsu |
|
14 |
47 |
198 |
3 |
| tblcalc |
|
40 |
105 |
744 |
4 |
| tblcalc_data |
|
10 |
26 |
132 |
5 |
| tblcalc_literal |
|
14 |
30 |
205 |
4 |
| tblcalc_number |
|
7 |
32 |
264 |
4 |
| Source file: ./usr.bin/mandoc/html.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| html_alloc |
|
2 |
12 |
73 |
1 |
| html_free |
|
2 |
11 |
59 |
1 |
| print_gen_head |
|
2 |
17 |
119 |
1 |
| print_metaf |
|
11 |
44 |
189 |
2 |
| html_make_id |
|
6 |
16 |
102 |
1 |
| html_strlen |
|
12 |
40 |
141 |
1 |
| print_escape |
|
8 |
28 |
103 |
2 |
| print_encode |
|
43 |
104 |
577 |
4 |
| print_href |
|
11 |
21 |
184 |
4 |
| print_otag |
|
53 |
202 |
1092 |
4 |
| print_ctag |
|
7 |
24 |
153 |
2 |
| print_gen_decls |
|
1 |
5 |
21 |
1 |
| print_text |
|
11 |
39 |
243 |
2 |
| print_tagq |
|
4 |
9 |
51 |
2 |
| print_stagq |
|
4 |
9 |
51 |
2 |
| print_paragraph |
|
1 |
6 |
34 |
1 |
| print_byte |
|
3 |
22 |
149 |
2 |
| print_endline |
|
3 |
14 |
76 |
1 |
| print_endword |
|
4 |
16 |
96 |
1 |
| print_indent |
|
4 |
12 |
66 |
1 |
| print_word |
|
2 |
5 |
30 |
2 |
| a2width |
|
4 |
10 |
77 |
2 |
| Source file: ./usr.bin/mandoc/main.h |
| Source file: ./usr.bin/mandoc/tree.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tree_mdoc |
|
1 |
6 |
38 |
2 |
| tree_man |
|
2 |
8 |
53 |
2 |
| print_meta |
|
8 |
17 |
129 |
1 |
| print_mdoc |
|
41 |
124 |
660 |
2 |
| print_man |
|
27 |
77 |
356 |
2 |
| print_box |
|
19 |
55 |
336 |
2 |
| print_span |
|
12 |
39 |
190 |
2 |
| Source file: ./usr.bin/mandoc/manpath.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| manconf_parse |
|
8 |
36 |
240 |
4 |
| manpath_base |
|
1 |
5 |
25 |
1 |
| manpath_parseline |
|
3 |
8 |
59 |
3 |
| manpath_add |
|
7 |
23 |
163 |
3 |
| manconf_free |
|
2 |
11 |
86 |
1 |
| manconf_file |
|
20 |
56 |
377 |
2 |
| manconf_output |
|
30 |
98 |
575 |
3 |
| Source file: ./usr.bin/mandoc/tbl_html.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| html_tbl_len |
|
1 |
4 |
14 |
2 |
| html_tbl_strlen |
|
1 |
4 |
19 |
2 |
| html_tbl_sulen |
|
12 |
27 |
159 |
2 |
| html_tblopen |
|
3 |
17 |
152 |
2 |
| print_tblclose |
|
1 |
6 |
31 |
1 |
| print_tbl |
|
10 |
39 |
251 |
2 |
| Source file: ./usr.bin/mandoc/dbm.h |
| Source file: ./usr.bin/mandoc/roff.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| roffhash_alloc |
|
3 |
21 |
155 |
2 |
| roffhash_free |
|
3 |
12 |
67 |
1 |
| roffhash_find |
|
3 |
11 |
82 |
3 |
| roffnode_pop |
|
1 |
10 |
56 |
1 |
| roffnode_push |
|
3 |
14 |
103 |
5 |
| roff_free1 |
|
6 |
30 |
212 |
1 |
| roff_reset |
|
1 |
11 |
56 |
1 |
| roff_free |
|
1 |
6 |
26 |
1 |
| roff_alloc |
|
1 |
12 |
81 |
2 |
| roff_man_free1 |
|
2 |
12 |
89 |
1 |
| roff_man_alloc1 |
|
1 |
12 |
93 |
1 |
| roff_man_reset |
|
1 |
5 |
19 |
1 |
| roff_man_free |
|
1 |
5 |
19 |
1 |
| roff_man_alloc |
|
1 |
13 |
78 |
4 |
| roff_node_alloc |
|
3 |
19 |
116 |
5 |
| roff_node_append |
|
9 |
44 |
252 |
2 |
| roff_word_alloc |
|
1 |
9 |
74 |
4 |
| roff_word_append |
|
1 |
12 |
81 |
2 |
| roff_elem_alloc |
|
1 |
7 |
51 |
4 |
| roff_block_alloc |
|
1 |
8 |
54 |
4 |
| roff_head_alloc |
|
1 |
8 |
54 |
4 |
| roff_body_alloc |
|
1 |
8 |
54 |
4 |
| roff_addtbl |
|
3 |
14 |
99 |
2 |
| roff_node_unlink |
|
10 |
26 |
169 |
2 |
| roff_node_free |
|
5 |
11 |
72 |
1 |
| roff_node_delete |
|
2 |
7 |
43 |
2 |
| deroff |
|
14 |
32 |
233 |
2 |
| roff_res |
|
62 |
221 |
1275 |
4 |
| roff_parsetext |
|
14 |
52 |
307 |
4 |
| roff_parseln |
|
40 |
78 |
661 |
4 |
| roff_endparse |
|
4 |
19 |
143 |
1 |
| roff_parse |
|
8 |
29 |
171 |
5 |
| roff_cblock |
|
8 |
26 |
126 |
1 |
| roffnode_cleanscope |
|
3 |
8 |
35 |
1 |
| roff_ccond |
|
6 |
26 |
124 |
3 |
| roff_block |
|
26 |
95 |
696 |
1 |
| roff_block_sub |
|
13 |
31 |
257 |
1 |
| roff_block_text |
|
2 |
6 |
34 |
1 |
| roff_cond_sub |
|
10 |
29 |
203 |
1 |
| roff_cond_text |
|
5 |
17 |
100 |
1 |
| roff_getnum |
|
20 |
55 |
301 |
4 |
| roff_evalstrcond |
|
7 |
29 |
152 |
2 |
| roff_evalcond |
|
16 |
52 |
293 |
4 |
| roff_line_ignore |
|
1 |
4 |
9 |
1 |
| roff_insec |
|
1 |
6 |
27 |
1 |
| roff_unsupp |
|
1 |
6 |
27 |
1 |
| roff_cond |
|
13 |
37 |
292 |
1 |
| roff_ds |
|
6 |
22 |
139 |
1 |
| roff_getop |
|
17 |
54 |
216 |
3 |
| roff_evalpar |
|
5 |
14 |
108 |
6 |
| roff_evalnum |
|
36 |
96 |
499 |
6 |
| roff_setreg |
|
6 |
21 |
145 |
4 |
| roff_getregro |
|
8 |
21 |
72 |
2 |
| roff_getreg |
|
7 |
14 |
108 |
2 |
| roff_getregn |
|
7 |
15 |
111 |
3 |
| roff_hasregn |
|
7 |
15 |
109 |
3 |
| roff_freereg |
|
2 |
10 |
46 |
1 |
| roff_nr |
|
6 |
20 |
125 |
1 |
| roff_rr |
|
6 |
24 |
142 |
1 |
| roff_rm |
|
3 |
16 |
112 |
1 |
| roff_it |
|
5 |
16 |
109 |
1 |
| roff_Dd |
|
7 |
27 |
133 |
1 |
| roff_TE |
|
3 |
17 |
87 |
1 |
| roff_T_ |
|
2 |
9 |
44 |
1 |
| roff_eqndelim |
|
9 |
34 |
236 |
3 |
| roff_EQ |
|
5 |
24 |
194 |
1 |
| roff_EN |
|
3 |
12 |
80 |
1 |
| roff_TS |
|
3 |
15 |
89 |
1 |
| roff_onearg |
|
19 |
53 |
393 |
1 |
| roff_manyarg |
|
5 |
18 |
136 |
1 |
| roff_als |
|
5 |
21 |
169 |
1 |
| roff_br |
|
3 |
12 |
104 |
1 |
| roff_cc |
|
4 |
11 |
75 |
1 |
| roff_ec |
|
3 |
14 |
74 |
1 |
| roff_eo |
|
2 |
8 |
47 |
1 |
| roff_tr |
|
10 |
51 |
363 |
1 |
| roff_rn |
|
9 |
44 |
387 |
1 |
| roff_so |
|
4 |
18 |
123 |
1 |
| roff_userdef |
|
24 |
81 |
569 |
1 |
| roff_renamed |
|
2 |
9 |
63 |
1 |
| roff_getname |
|
10 |
30 |
187 |
4 |
| roff_setstr |
|
2 |
9 |
75 |
4 |
| roff_setstrn |
|
13 |
47 |
368 |
6 |
| roff_getstrn |
|
24 |
58 |
405 |
4 |
| roff_freestr |
|
2 |
10 |
60 |
1 |
| roff_strdup |
|
13 |
54 |
435 |
2 |
| roff_getformat |
|
1 |
4 |
15 |
1 |
| roff_getcontrol |
|
10 |
19 |
133 |
3 |
| Source file: ./usr.bin/mandoc/roff_html.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| roff_html_pre |
|
2 |
6 |
50 |
2 |
| roff_html_pre_br |
|
1 |
7 |
36 |
1 |
| roff_html_pre_ce |
|
4 |
12 |
77 |
1 |
| roff_html_pre_sp |
|
4 |
13 |
94 |
1 |
| Source file: ./usr.bin/mandoc/eqn_term.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| term_eqn |
|
1 |
5 |
28 |
2 |
| eqn_box |
|
66 |
105 |
831 |
2 |
| Source file: ./usr.bin/mandoc/tbl_layout.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mods |
|
45 |
123 |
775 |
5 |
| cell |
|
19 |
43 |
354 |
5 |
| tbl_layout |
|
21 |
63 |
404 |
4 |
| cell_alloc |
|
3 |
16 |
121 |
3 |
| Source file: ./usr.bin/mandoc/mandoc_ohash.h |
| Source file: ./usr.bin/mandoc/chars.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mchars_free |
|
1 |
4 |
12 |
1 |
| mchars_alloc |
|
2 |
11 |
95 |
1 |
| mchars_spec2cp |
|
3 |
8 |
71 |
2 |
| mchars_num2char |
|
3 |
6 |
40 |
2 |
| mchars_num2uc |
|
2 |
7 |
40 |
2 |
| mchars_spec2str |
|
3 |
13 |
89 |
3 |
| mchars_uc2str |
|
3 |
8 |
56 |
1 |
| Source file: ./usr.bin/mandoc/term.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| term_setcol |
|
2 |
10 |
69 |
2 |
| term_free |
|
2 |
8 |
64 |
1 |
| term_begin |
|
1 |
8 |
49 |
4 |
| term_end |
|
1 |
4 |
19 |
1 |
| term_flushln |
|
59 |
141 |
1187 |
1 |
| endline |
|
5 |
17 |
132 |
1 |
| term_newln |
|
3 |
6 |
32 |
1 |
| term_vspace |
|
2 |
10 |
50 |
1 |
| term_fontlast |
|
1 |
7 |
43 |
1 |
| term_fontrepl |
|
1 |
5 |
37 |
2 |
| term_fontpush |
|
2 |
10 |
79 |
2 |
| term_fontpopq |
|
2 |
6 |
33 |
2 |
| term_fontpop |
|
1 |
5 |
21 |
1 |
| term_word |
|
66 |
203 |
1214 |
2 |
| adjbuf |
|
3 |
8 |
64 |
2 |
| bufferc |
|
7 |
13 |
121 |
2 |
| encode1 |
|
19 |
39 |
344 |
2 |
| encode |
|
13 |
29 |
250 |
3 |
| term_setwidth |
|
5 |
26 |
118 |
2 |
| term_len |
|
1 |
4 |
28 |
2 |
| cond_width |
|
2 |
8 |
48 |
3 |
| term_strlen |
|
27 |
94 |
515 |
2 |
| term_vspan |
|
13 |
39 |
203 |
2 |
| term_hspan |
|
1 |
4 |
29 |
2 |
| term_hen |
|
2 |
8 |
62 |
2 |
| Source file: ./usr.bin/mandoc/cgi.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| html_putchar |
|
5 |
20 |
66 |
1 |
| html_print |
|
3 |
7 |
31 |
1 |
| set_query_attr |
|
2 |
10 |
50 |
2 |
| parse_query_string |
|
18 |
55 |
392 |
2 |
| http_decode |
|
8 |
25 |
159 |
1 |
| resp_begin_http |
|
2 |
10 |
40 |
2 |
| resp_copy |
|
3 |
12 |
78 |
1 |
| resp_begin_html |
|
4 |
26 |
130 |
3 |
| resp_end_html |
|
1 |
6 |
18 |
1 |
| resp_searchform |
|
13 |
58 |
364 |
2 |
| validate_urifrag |
|
7 |
11 |
62 |
1 |
| validate_manpath |
|
3 |
8 |
54 |
2 |
| validate_filename |
|
6 |
7 |
67 |
1 |
| pg_index |
|
3 |
15 |
63 |
1 |
| pg_noresult |
|
1 |
9 |
50 |
2 |
| pg_error_badrequest |
|
1 |
11 |
42 |
1 |
| pg_error_internal |
|
1 |
6 |
24 |
1 |
| pg_redirect |
|
5 |
15 |
118 |
2 |
| pg_searchres |
|
27 |
92 |
587 |
3 |
| resp_catman |
|
51 |
95 |
680 |
2 |
| resp_format |
|
7 |
46 |
310 |
2 |
| resp_show |
|
4 |
9 |
57 |
2 |
| pg_show |
|
5 |
34 |
164 |
2 |
| pg_search |
|
17 |
63 |
427 |
1 |
| main |
|
19 |
67 |
473 |
1 |
| parse_path_info |
|
15 |
57 |
472 |
2 |
| parse_manpath_conf |
|
7 |
41 |
242 |
1 |
| Source file: ./usr.bin/mandoc/tbl_opts.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| arg |
|
15 |
44 |
281 |
5 |
| tbl_option |
|
13 |
38 |
261 |
4 |
| Source file: ./usr.bin/mandoc/dba_write.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dba_open |
|
2 |
5 |
28 |
1 |
| dba_close |
|
2 |
4 |
19 |
1 |
| dba_tell |
|
3 |
11 |
54 |
1 |
| dba_seek |
|
2 |
5 |
30 |
1 |
| dba_align |
|
2 |
10 |
34 |
1 |
| dba_skip |
|
3 |
13 |
106 |
2 |
| dba_char_write |
|
2 |
5 |
25 |
1 |
| dba_str_write |
|
2 |
6 |
32 |
1 |
| dba_int_write |
|
2 |
6 |
40 |
1 |
| Source file: ./usr.bin/mandoc/dbm.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dbm_open |
|
7 |
36 |
219 |
1 |
| dbm_close |
|
1 |
4 |
10 |
1 |
| dbm_page_count |
|
1 |
4 |
9 |
1 |
| dbm_page_get |
|
6 |
21 |
176 |
1 |
| dbm_page_byname |
|
1 |
5 |
24 |
1 |
| dbm_page_bysect |
|
1 |
5 |
24 |
1 |
| dbm_page_byarch |
|
1 |
5 |
22 |
1 |
| dbm_page_bydesc |
|
1 |
5 |
24 |
1 |
| dbm_page_bymacro |
|
1 |
7 |
41 |
2 |
| dbm_page_next |
|
4 |
14 |
59 |
1 |
| page_bytitle |
|
19 |
62 |
320 |
2 |
| page_byarch |
|
6 |
25 |
141 |
1 |
| page_bymacro |
|
9 |
33 |
215 |
2 |
| dbm_macro_count |
|
1 |
6 |
27 |
1 |
| dbm_macro_get |
|
1 |
11 |
84 |
2 |
| dbm_macro_bypage |
|
1 |
7 |
38 |
2 |
| dbm_macro_next |
|
1 |
4 |
14 |
1 |
| macro_bypage |
|
10 |
31 |
167 |
2 |
| Source file: ./usr.bin/mandoc/term_ascii.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ascii_init |
|
9 |
46 |
310 |
2 |
| ascii_alloc |
|
1 |
4 |
18 |
1 |
| utf8_alloc |
|
1 |
4 |
18 |
1 |
| locale_alloc |
|
1 |
4 |
18 |
1 |
| ascii_setwidth |
|
5 |
15 |
112 |
3 |
| terminal_sepline |
|
2 |
11 |
82 |
1 |
| ascii_width |
|
1 |
4 |
16 |
2 |
| ascii_free |
|
1 |
4 |
18 |
1 |
| ascii_letter |
|
1 |
4 |
17 |
2 |
| ascii_begin |
|
1 |
4 |
23 |
1 |
| ascii_end |
|
1 |
4 |
23 |
1 |
| ascii_endline |
|
1 |
7 |
35 |
1 |
| ascii_advance |
|
2 |
6 |
33 |
2 |
| ascii_hspan |
|
12 |
35 |
182 |
2 |
| ascii_uc2str |
|
2 |
73 |
1094 |
1 |
| locale_width |
|
3 |
10 |
46 |
2 |
| locale_advance |
|
2 |
6 |
34 |
2 |
| locale_endline |
|
1 |
7 |
36 |
1 |
| locale_letter |
|
1 |
4 |
17 |
2 |
| Source file: ./usr.bin/mandoc/roff_validate.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| roff_validate |
|
2 |
8 |
55 |
1 |
| roff_valid_ft |
|
17 |
36 |
185 |
1 |
| Source file: ./usr.bin/mandoc/dba_read.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dba_read |
|
11 |
36 |
327 |
1 |
| Source file: ./usr.bin/mandoc/read.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| resize_buf |
|
2 |
5 |
47 |
2 |
| choose_parser |
|
13 |
36 |
234 |
1 |
| mparse_buf_r |
|
48 |
146 |
995 |
4 |
| read_whole_file |
|
14 |
62 |
407 |
5 |
| mparse_end |
|
3 |
10 |
59 |
1 |
| mparse_parse_buffer |
|
8 |
30 |
199 |
3 |
| mparse_readfd |
|
3 |
18 |
109 |
3 |
| mparse_open |
|
5 |
21 |
146 |
2 |
| mparse_alloc |
|
6 |
25 |
209 |
5 |
| mparse_reset |
|
2 |
11 |
62 |
1 |
| mparse_free |
|
2 |
12 |
75 |
1 |
| mparse_result |
|
3 |
10 |
53 |
3 |
| mparse_updaterc |
|
2 |
5 |
30 |
2 |
| mandoc_vmsg |
|
1 |
10 |
77 |
6 |
| mandoc_msg |
|
6 |
14 |
100 |
5 |
| mparse_strerror |
|
1 |
4 |
14 |
1 |
| mparse_strlevel |
|
1 |
4 |
14 |
1 |
| mparse_keep |
|
1 |
5 |
33 |
1 |
| mparse_getkeep |
|
2 |
5 |
32 |
1 |
| Source file: ./usr.bin/mandoc/dba.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dba_new |
|
2 |
16 |
108 |
1 |
| dba_free |
|
2 |
28 |
179 |
1 |
| dba_write |
|
3 |
25 |
134 |
2 |
| dba_page_new |
|
3 |
22 |
178 |
5 |
| dba_page_add |
|
9 |
24 |
135 |
3 |
| dba_page_alias |
|
3 |
17 |
95 |
3 |
| prepend |
|
2 |
14 |
79 |
2 |
| dba_pages_write |
|
2 |
39 |
254 |
1 |
| compare_names |
|
2 |
9 |
73 |
2 |
| compare_strings |
|
1 |
7 |
54 |
2 |
| get_macro_entry |
|
2 |
15 |
112 |
3 |
| dba_macro_new |
|
3 |
14 |
114 |
4 |
| dba_macro_add |
|
2 |
9 |
61 |
4 |
| dba_macros_write |
|
1 |
15 |
80 |
1 |
| dba_macro_write |
|
8 |
48 |
351 |
1 |
| compare_entries |
|
1 |
7 |
61 |
2 |
| Source file: ./usr.bin/mandoc/mandocdb.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mandocdb |
|
45 |
168 |
967 |
2 |
| fts_compare |
|
1 |
4 |
33 |
2 |
| treescan |
|
51 |
155 |
843 |
1 |
| filescan |
|
27 |
92 |
637 |
1 |
| mlink_add |
|
9 |
40 |
357 |
2 |
| mlink_free |
|
1 |
8 |
42 |
1 |
| mpages_free |
|
3 |
17 |
94 |
1 |
| mlinks_undupe |
|
7 |
34 |
223 |
1 |
| mlink_check |
|
6 |
19 |
149 |
2 |
| mpages_merge |
|
27 |
103 |
748 |
2 |
| parse_cat |
|
31 |
88 |
619 |
2 |
| putkey |
|
1 |
4 |
31 |
3 |
| putmdockey |
|
5 |
12 |
87 |
4 |
| parse_man |
|
31 |
81 |
527 |
3 |
| parse_mdoc |
|
15 |
29 |
205 |
3 |
| parse_mdoc_Fd |
|
13 |
25 |
182 |
3 |
| parse_mdoc_fname |
|
5 |
14 |
92 |
2 |
| parse_mdoc_Fn |
|
4 |
11 |
83 |
3 |
| parse_mdoc_Fo |
|
3 |
9 |
52 |
3 |
| parse_mdoc_Va |
|
9 |
19 |
124 |
3 |
| parse_mdoc_Xr |
|
3 |
15 |
99 |
3 |
| parse_mdoc_Nd |
|
2 |
7 |
42 |
3 |
| parse_mdoc_Nm |
|
9 |
19 |
152 |
3 |
| parse_mdoc_Sh |
|
2 |
5 |
34 |
3 |
| parse_mdoc_head |
|
1 |
5 |
28 |
3 |
| putkeys |
|
12 |
44 |
299 |
4 |
| utf8 |
|
7 |
42 |
427 |
2 |
| render_string |
|
20 |
82 |
451 |
2 |
| dbadd_mlink |
|
1 |
8 |
85 |
1 |
| dbadd |
|
21 |
75 |
544 |
2 |
| dbprune |
|
4 |
19 |
98 |
1 |
| dbwrite |
|
21 |
81 |
549 |
1 |
| set_basedir |
|
15 |
53 |
306 |
2 |
| say |
|
15 |
38 |
207 |
3 |
| Source file: ./usr.bin/mandoc/mdoc_term.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| terminal_mdoc |
|
11 |
40 |
257 |
2 |
| print_mdoc_nodelist |
|
2 |
7 |
31 |
1 |
| print_mdoc_node |
|
32 |
78 |
534 |
1 |
| print_mdoc_foot |
|
3 |
30 |
249 |
2 |
| print_mdoc_head |
|
7 |
46 |
367 |
2 |
| a2width |
|
3 |
11 |
82 |
2 |
| print_bvspace |
|
23 |
37 |
273 |
3 |
| termp_it_pre |
|
72 |
203 |
1150 |
1 |
| termp_it_post |
|
8 |
24 |
113 |
1 |
| termp_nm_pre |
|
15 |
46 |
324 |
1 |
| termp_nm_post |
|
7 |
12 |
94 |
1 |
| termp_fl_pre |
|
5 |
12 |
75 |
1 |
| termp__a_pre |
|
5 |
7 |
46 |
1 |
| termp_an_pre |
|
6 |
18 |
103 |
1 |
| termp_ns_pre |
|
2 |
6 |
26 |
1 |
| termp_rs_pre |
|
4 |
8 |
39 |
1 |
| termp_ex_pre |
|
1 |
5 |
14 |
1 |
| termp_nd_pre |
|
2 |
6 |
24 |
1 |
| termp_bl_pre |
|
1 |
4 |
13 |
1 |
| termp_bl_post |
|
4 |
11 |
62 |
1 |
| termp_xr_pre |
|
3 |
17 |
107 |
1 |
| synopsis_pre |
|
15 |
29 |
140 |
2 |
| termp_vt_pre |
|
4 |
12 |
80 |
1 |
| termp_bold_pre |
|
1 |
6 |
27 |
1 |
| termp_fd_pre |
|
1 |
5 |
25 |
1 |
| termp_fd_post |
|
1 |
4 |
11 |
1 |
| termp_sh_pre |
|
10 |
34 |
156 |
1 |
| termp_sh_post |
|
3 |
14 |
46 |
1 |
| termp_lb_post |
|
3 |
5 |
25 |
1 |
| termp_d1_pre |
|
2 |
11 |
63 |
1 |
| termp_ft_pre |
|
1 |
6 |
23 |
1 |
| termp_fn_pre |
|
10 |
50 |
332 |
1 |
| termp_fa_pre |
|
6 |
19 |
117 |
1 |
| termp_bd_pre |
|
29 |
69 |
509 |
1 |
| termp_bd_post |
|
4 |
11 |
61 |
1 |
| termp_xx_pre |
|
2 |
6 |
31 |
1 |
| termp_xx_post |
|
2 |
5 |
24 |
1 |
| termp_pf_post |
|
3 |
5 |
31 |
1 |
| termp_ss_pre |
|
7 |
27 |
153 |
1 |
| termp_ss_post |
|
3 |
5 |
25 |
1 |
| termp_cd_pre |
|
1 |
6 |
23 |
1 |
| termp_in_pre |
|
3 |
14 |
76 |
1 |
| termp_in_post |
|
3 |
9 |
47 |
1 |
| termp_pp_pre |
|
1 |
6 |
18 |
1 |
| termp_skip_pre |
|
1 |
4 |
9 |
1 |
| termp_quote_pre |
|
27 |
50 |
230 |
1 |
| termp_quote_post |
|
28 |
51 |
244 |
1 |
| termp_eo_pre |
|
11 |
15 |
118 |
1 |
| termp_eo_post |
|
10 |
18 |
118 |
1 |
| termp_fo_pre |
|
6 |
35 |
208 |
1 |
| termp_fo_post |
|
3 |
12 |
57 |
1 |
| termp_bf_pre |
|
5 |
14 |
79 |
1 |
| termp_sm_pre |
|
5 |
12 |
73 |
1 |
| termp_ap_pre |
|
1 |
7 |
28 |
1 |
| termp____post |
|
11 |
15 |
119 |
1 |
| termp_li_pre |
|
1 |
6 |
27 |
1 |
| termp_lk_pre |
|
11 |
39 |
253 |
1 |
| termp_bk_pre |
|
6 |
16 |
63 |
1 |
| termp_bk_post |
|
2 |
5 |
24 |
1 |
| termp__t_post |
|
4 |
7 |
52 |
1 |
| termp__t_pre |
|
4 |
8 |
52 |
1 |
| termp_under_pre |
|
1 |
5 |
16 |
1 |
| termp_em_pre |
|
3 |
8 |
47 |
1 |
| termp_sy_pre |
|
3 |
8 |
47 |
1 |
| termp_er_pre |
|
5 |
9 |
64 |
1 |
| termp_tag_pre |
|
10 |
14 |
113 |
1 |
| Source file: ./usr.bin/mandoc/manconf.h |
| Source file: ./usr.bin/mandoc/man.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| man_parseln |
|
4 |
8 |
78 |
4 |
| man_descope |
|
3 |
12 |
87 |
3 |
| man_ptext |
|
22 |
57 |
424 |
4 |
| man_pmacro |
|
22 |
60 |
431 |
4 |
| man_breakscope |
|
18 |
44 |
364 |
2 |
| man_mparse |
|
2 |
5 |
24 |
1 |
| man_state |
|
9 |
23 |
137 |
2 |
| man_validate |
|
1 |
6 |
28 |
1 |
| Source file: ./usr.bin/mandoc/term_ps.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pdf_alloc |
|
1 |
4 |
18 |
1 |
| ps_alloc |
|
1 |
4 |
18 |
1 |
| pspdf_alloc |
|
8 |
66 |
605 |
2 |
| ps_setwidth |
|
5 |
14 |
105 |
3 |
| pspdf_free |
|
1 |
9 |
52 |
1 |
| ps_printf |
|
3 |
17 |
136 |
3 |
| ps_putchar |
|
2 |
13 |
86 |
2 |
| pdf_obj |
|
2 |
11 |
100 |
2 |
| ps_closepage |
|
4 |
32 |
278 |
1 |
| ps_end |
|
5 |
49 |
412 |
1 |
| ps_begin |
|
6 |
81 |
661 |
1 |
| ps_pletter |
|
11 |
52 |
403 |
2 |
| ps_pclose |
|
4 |
14 |
91 |
1 |
| ps_plast |
|
6 |
23 |
193 |
1 |
| ps_letter |
|
13 |
53 |
305 |
2 |
| ps_advance |
|
1 |
6 |
30 |
2 |
| ps_endline |
|
4 |
17 |
112 |
1 |
| ps_setfont |
|
3 |
12 |
79 |
2 |
| ps_width |
|
3 |
8 |
53 |
2 |
| ps_hspan |
|
10 |
40 |
257 |
2 |
| ps_growbuf |
|
3 |
9 |
69 |
2 |
| Source file: ./usr.bin/mandoc/mandoc_xr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mandoc_xr_clear |
|
3 |
11 |
59 |
1 |
| mandoc_xr_reset |
|
2 |
10 |
49 |
1 |
| mandoc_xr_add |
|
5 |
41 |
294 |
4 |
| mandoc_xr_get |
|
1 |
4 |
9 |
1 |
| mandoc_xr_free |
|
1 |
6 |
19 |
1 |
| Source file: ./usr.bin/mandoc/man_term.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| terminal_man |
|
10 |
42 |
311 |
2 |
| print_bvspace |
|
8 |
13 |
98 |
3 |
| pre_ign |
|
1 |
4 |
9 |
1 |
| pre_I |
|
1 |
5 |
16 |
1 |
| pre_literal |
|
5 |
16 |
107 |
1 |
| pre_PD |
|
3 |
13 |
73 |
1 |
| pre_alternate |
|
12 |
48 |
266 |
1 |
| pre_B |
|
1 |
5 |
16 |
1 |
| pre_OP |
|
4 |
17 |
104 |
1 |
| pre_in |
|
9 |
32 |
197 |
1 |
| pre_DT |
|
1 |
7 |
30 |
1 |
| pre_HP |
|
9 |
32 |
214 |
1 |
| post_HP |
|
3 |
16 |
77 |
1 |
| pre_PP |
|
2 |
13 |
69 |
1 |
| pre_IP |
|
13 |
49 |
307 |
1 |
| post_IP |
|
3 |
17 |
70 |
1 |
| pre_TP |
|
17 |
56 |
363 |
1 |
| post_TP |
|
3 |
14 |
48 |
1 |
| pre_SS |
|
11 |
35 |
235 |
1 |
| post_SS |
|
3 |
13 |
38 |
1 |
| pre_SH |
|
11 |
35 |
230 |
1 |
| post_SH |
|
3 |
13 |
38 |
1 |
| pre_RS |
|
9 |
30 |
226 |
1 |
| post_RS |
|
4 |
16 |
72 |
1 |
| pre_UR |
|
1 |
4 |
13 |
1 |
| post_UR |
|
3 |
11 |
67 |
1 |
| print_man_node |
|
30 |
66 |
494 |
1 |
| print_man_nodelist |
|
2 |
7 |
31 |
1 |
| print_man_foot |
|
8 |
47 |
336 |
2 |
| print_man_head |
|
7 |
44 |
357 |
2 |
| Source file: ./usr.bin/mandoc/eqn_html.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| eqn_box |
|
71 |
173 |
1195 |
2 |
| print_eqn |
|
2 |
11 |
69 |
2 |
| Source file: ./usr.bin/mandoc/mansearch.h |
| Source file: ./usr.bin/mandoc/libmdoc.h |
| Source file: ./usr.bin/mandoc/term_tab.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| term_tab_set |
|
11 |
38 |
264 |
2 |
| term_tab_iset |
|
2 |
9 |
78 |
1 |
| term_tab_next |
|
8 |
21 |
197 |
1 |
| Source file: ./usr.bin/mandoc/main.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
120 |
371 |
2112 |
2 |
| usage |
|
5 |
26 |
78 |
1 |
| fs_lookup |
|
14 |
64 |
463 |
7 |
| fs_search |
|
12 |
32 |
256 |
6 |
| parse |
|
31 |
74 |
378 |
3 |
| check_xr |
|
7 |
31 |
228 |
1 |
| outdata_alloc |
|
7 |
25 |
117 |
1 |
| passthrough |
|
14 |
62 |
326 |
3 |
| koptions |
|
4 |
16 |
95 |
2 |
| moptions |
|
4 |
9 |
53 |
2 |
| toptions |
|
11 |
30 |
220 |
2 |
| woptions |
|
12 |
55 |
266 |
2 |
| mmsg |
|
5 |
15 |
123 |
6 |
| spawn_pager |
|
17 |
58 |
411 |
1 |
| Source file: ./usr.bin/mandoc/html.h |
| Source file: ./usr.bin/mandoc/eqn.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| eqn_alloc |
|
1 |
8 |
42 |
1 |
| eqn_reset |
|
1 |
6 |
40 |
1 |
| eqn_read |
|
2 |
13 |
86 |
2 |
| eqn_def_find |
|
4 |
9 |
82 |
1 |
| eqn_next |
|
28 |
88 |
691 |
2 |
| eqn_box_free |
|
3 |
13 |
75 |
1 |
| eqn_box_alloc |
|
2 |
17 |
111 |
2 |
| eqn_box_makebinary |
|
2 |
19 |
126 |
2 |
| eqn_delim |
|
8 |
20 |
169 |
1 |
| eqn_undef |
|
3 |
15 |
101 |
1 |
| eqn_def |
|
7 |
37 |
306 |
1 |
| eqn_parse |
|
148 |
398 |
2329 |
1 |
| eqn_free |
|
2 |
11 |
75 |
1 |
| Source file: ./usr.bin/mandoc/tag.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tag_init |
|
8 |
44 |
323 |
1 |
| tag_put |
|
15 |
39 |
294 |
3 |
| tag_write |
|
7 |
23 |
151 |
1 |
| tag_unlink |
|
7 |
15 |
98 |
1 |
| tag_signal |
|
1 |
11 |
66 |
1 |
| Source file: ./usr.bin/mandoc/mdoc_html.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| synopsis_pre |
|
15 |
29 |
148 |
2 |
| html_mdoc |
|
2 |
20 |
179 |
2 |
| print_mdoc_head |
|
5 |
17 |
130 |
1 |
| print_mdoc_nodelist |
|
2 |
7 |
29 |
1 |
| print_mdoc_node |
|
25 |
65 |
418 |
1 |
| mdoc_root_post |
|
1 |
12 |
92 |
1 |
| mdoc_root_pre |
|
3 |
29 |
201 |
1 |
| cond_id |
|
10 |
14 |
108 |
1 |
| mdoc_sh_pre |
|
5 |
20 |
97 |
1 |
| mdoc_ss_pre |
|
3 |
12 |
68 |
1 |
| mdoc_fl_pre |
|
6 |
15 |
105 |
1 |
| mdoc_cm_pre |
|
2 |
9 |
57 |
1 |
| mdoc_nd_pre |
|
2 |
8 |
38 |
1 |
| mdoc_nm_pre |
|
4 |
19 |
92 |
1 |
| mdoc_xr_pre |
|
5 |
22 |
144 |
1 |
| mdoc_ns_pre |
|
2 |
6 |
26 |
1 |
| mdoc_ar_pre |
|
1 |
5 |
20 |
1 |
| mdoc_xx_pre |
|
1 |
5 |
20 |
1 |
| mdoc_it_pre |
|
39 |
124 |
554 |
1 |
| mdoc_bl_pre |
|
20 |
75 |
466 |
1 |
| mdoc_ex_pre |
|
2 |
6 |
24 |
1 |
| mdoc_st_pre |
|
1 |
5 |
20 |
1 |
| mdoc_em_pre |
|
1 |
5 |
20 |
1 |
| mdoc_d1_pre |
|
3 |
9 |
50 |
1 |
| mdoc_sx_pre |
|
1 |
8 |
38 |
1 |
| mdoc_bd_pre |
|
31 |
65 |
414 |
1 |
| mdoc_pa_pre |
|
1 |
5 |
20 |
1 |
| mdoc_ad_pre |
|
1 |
5 |
20 |
1 |
| mdoc_an_pre |
|
6 |
19 |
118 |
1 |
| mdoc_cd_pre |
|
1 |
6 |
27 |
1 |
| mdoc_dv_pre |
|
2 |
9 |
57 |
1 |
| mdoc_ev_pre |
|
2 |
9 |
57 |
1 |
| mdoc_er_pre |
|
6 |
14 |
97 |
1 |
| mdoc_fa_pre |
|
7 |
23 |
147 |
1 |
| mdoc_fd_pre |
|
11 |
38 |
279 |
1 |
| mdoc_vt_pre |
|
4 |
12 |
70 |
1 |
| mdoc_ft_pre |
|
1 |
6 |
27 |
1 |
| mdoc_fn_pre |
|
8 |
51 |
347 |
1 |
| mdoc_sm_pre |
|
4 |
12 |
69 |
1 |
| mdoc_skip_pre |
|
1 |
4 |
9 |
1 |
| mdoc_pp_pre |
|
1 |
5 |
14 |
1 |
| mdoc_lk_pre |
|
8 |
28 |
183 |
1 |
| mdoc_mt_pre |
|
2 |
14 |
93 |
1 |
| mdoc_fo_pre |
|
4 |
20 |
118 |
1 |
| mdoc_fo_post |
|
2 |
9 |
42 |
1 |
| mdoc_in_pre |
|
6 |
27 |
192 |
1 |
| mdoc_ic_pre |
|
2 |
9 |
57 |
1 |
| mdoc_va_pre |
|
1 |
5 |
20 |
1 |
| mdoc_ap_pre |
|
1 |
7 |
28 |
1 |
| mdoc_bf_pre |
|
6 |
18 |
109 |
1 |
| mdoc_ms_pre |
|
2 |
9 |
57 |
1 |
| mdoc_igndelim_pre |
|
1 |
5 |
15 |
1 |
| mdoc_pf_post |
|
3 |
5 |
31 |
1 |
| mdoc_rs_pre |
|
4 |
9 |
48 |
1 |
| mdoc_no_pre |
|
2 |
9 |
57 |
1 |
| mdoc_li_pre |
|
2 |
9 |
57 |
1 |
| mdoc_sy_pre |
|
1 |
5 |
20 |
1 |
| mdoc_lb_pre |
|
4 |
7 |
47 |
1 |
| mdoc__x_pre |
|
19 |
60 |
236 |
1 |
| mdoc__x_post |
|
11 |
11 |
101 |
1 |
| mdoc_bk_pre |
|
6 |
16 |
63 |
1 |
| mdoc_bk_post |
|
2 |
5 |
24 |
1 |
| mdoc_quote_pre |
|
25 |
55 |
264 |
1 |
| mdoc_quote_post |
|
27 |
48 |
232 |
1 |
| mdoc_eo_pre |
|
11 |
15 |
118 |
1 |
| mdoc_eo_post |
|
8 |
16 |
101 |
1 |
| Source file: ./usr.bin/mandoc/roff_term.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| roff_term_pre |
|
1 |
5 |
39 |
2 |
| roff_term_pre_br |
|
2 |
9 |
53 |
1 |
| roff_term_pre_ce |
|
12 |
35 |
241 |
1 |
| roff_term_pre_ft |
|
10 |
24 |
82 |
1 |
| roff_term_pre_ll |
|
2 |
4 |
25 |
1 |
| roff_term_pre_mc |
|
3 |
13 |
68 |
1 |
| roff_term_pre_po |
|
6 |
18 |
121 |
1 |
| roff_term_pre_sp |
|
5 |
17 |
94 |
1 |
| roff_term_pre_ta |
|
2 |
6 |
40 |
1 |
| roff_term_pre_ti |
|
8 |
34 |
214 |
1 |
| Source file: ./usr.bin/mandoc/mandoc.h |
| Source file: ./usr.bin/mandoc/preconv.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| preconv_encode |
|
23 |
67 |
408 |
5 |
| preconv_cue |
|
19 |
46 |
295 |
2 |
| Source file: ./usr.bin/mandoc/mdoc_markdown.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| markdown_mdoc |
|
3 |
25 |
152 |
2 |
| md_nodelist |
|
2 |
7 |
28 |
1 |
| md_node |
|
25 |
53 |
344 |
1 |
| md_stack |
|
5 |
23 |
104 |
1 |
| md_preword |
|
13 |
38 |
207 |
1 |
| md_rawword |
|
11 |
33 |
137 |
1 |
| md_word |
|
72 |
164 |
753 |
1 |
| md_named |
|
1 |
6 |
27 |
1 |
| md_char |
|
9 |
20 |
93 |
1 |
| md_cond_head |
|
1 |
4 |
16 |
1 |
| md_cond_body |
|
1 |
4 |
16 |
1 |
| md_pre_raw |
|
3 |
11 |
55 |
1 |
| md_post_raw |
|
3 |
10 |
56 |
1 |
| md_pre_word |
|
2 |
9 |
45 |
1 |
| md_post_word |
|
2 |
8 |
46 |
1 |
| md_post_pc |
|
6 |
16 |
86 |
1 |
| md_pre_skip |
|
1 |
4 |
12 |
1 |
| md_pre_syn |
|
15 |
29 |
130 |
1 |
| md_pre_An |
|
6 |
20 |
84 |
1 |
| md_pre_Ap |
|
1 |
7 |
25 |
1 |
| md_pre_Bd |
|
3 |
10 |
41 |
1 |
| md_pre_Bk |
|
3 |
12 |
38 |
1 |
| md_post_Bk |
|
2 |
5 |
21 |
1 |
| md_pre_Bl |
|
2 |
8 |
43 |
1 |
| md_post_Bl |
|
2 |
7 |
40 |
1 |
| md_pre_D1 |
|
2 |
12 |
41 |
1 |
| md_post_D1 |
|
2 |
9 |
33 |
1 |
| md_pre_Dl |
|
2 |
12 |
41 |
1 |
| md_pre_En |
|
3 |
9 |
52 |
1 |
| md_post_En |
|
4 |
9 |
62 |
1 |
| md_pre_Eo |
|
10 |
13 |
109 |
1 |
| md_post_Eo |
|
6 |
13 |
74 |
1 |
| md_pre_Fa |
|
4 |
17 |
81 |
1 |
| md_post_Fa |
|
3 |
5 |
30 |
1 |
| md_pre_Fd |
|
1 |
6 |
22 |
1 |
| md_post_Fd |
|
1 |
5 |
18 |
1 |
| md_post_Fl |
|
5 |
7 |
51 |
1 |
| md_pre_Fn |
|
3 |
16 |
81 |
1 |
| md_post_Fn |
|
2 |
8 |
33 |
1 |
| md_pre_Fo |
|
5 |
20 |
73 |
1 |
| md_post_Fo |
|
4 |
14 |
49 |
1 |
| md_pre_In |
|
2 |
15 |
62 |
1 |
| md_post_In |
|
2 |
11 |
44 |
1 |
| md_pre_It |
|
23 |
70 |
291 |
1 |
| md_post_It |
|
19 |
41 |
222 |
1 |
| md_post_Lb |
|
2 |
5 |
21 |
1 |
| md_uri |
|
3 |
13 |
59 |
1 |
| md_pre_Lk |
|
7 |
29 |
163 |
1 |
| md_pre_Mt |
|
4 |
20 |
115 |
1 |
| md_pre_Nd |
|
1 |
7 |
25 |
1 |
| md_pre_Nm |
|
4 |
16 |
51 |
1 |
| md_post_Nm |
|
4 |
14 |
43 |
1 |
| md_pre_No |
|
1 |
5 |
16 |
1 |
| md_pre_Ns |
|
1 |
5 |
16 |
1 |
| md_post_Pf |
|
3 |
5 |
33 |
1 |
| md_pre_Pp |
|
1 |
5 |
16 |
1 |
| md_pre_Rs |
|
2 |
6 |
24 |
1 |
| md_pre_Sh |
|
6 |
19 |
76 |
1 |
| md_pre_Sm |
|
4 |
12 |
59 |
1 |
| md_pre_Vt |
|
4 |
14 |
47 |
1 |
| md_post_Vt |
|
3 |
11 |
34 |
1 |
| md_pre_Xr |
|
3 |
15 |
66 |
1 |
| md_pre__T |
|
3 |
9 |
47 |
1 |
| md_post__T |
|
3 |
9 |
49 |
1 |
| md_pre_br |
|
1 |
5 |
16 |
1 |
| Source file: ./usr.bin/mandoc/dba_array.h |
| Source file: ./usr.bin/mandoc/tag.h |
| Source file: ./usr.bin/mandoc/tbl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tbl_read |
|
11 |
42 |
195 |
4 |
| tbl_alloc |
|
1 |
12 |
76 |
3 |
| tbl_free |
|
5 |
28 |
160 |
1 |
| tbl_restart |
|
2 |
9 |
56 |
3 |
| tbl_span |
|
3 |
10 |
48 |
1 |
| tbl_end |
|
5 |
16 |
98 |
1 |
| Source file: ./usr.bin/uname/uname.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
24 |
73 |
342 |
2 |
| usage |
|
1 |
5 |
18 |
1 |
| Source file: ./usr.bin/what/what.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
10 |
34 |
205 |
2 |
| search |
|
19 |
39 |
227 |
1 |
| usage |
|
1 |
5 |
23 |
1 |
| Source file: ./usr.bin/rdistd/rdistd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usage |
|
1 |
5 |
20 |
1 |
| main |
|
9 |
36 |
187 |
3 |
| Source file: ./usr.bin/mandoc/man_validate.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| man_node_validate |
|
13 |
47 |
232 |
1 |
| check_root |
|
7 |
22 |
198 |
1 |
| check_text |
|
3 |
10 |
76 |
1 |
| post_OP |
|
4 |
11 |
89 |
1 |
| post_UR |
|
3 |
7 |
51 |
1 |
| check_part |
|
3 |
6 |
44 |
1 |
| check_par |
|
8 |
24 |
136 |
1 |
| post_IP |
|
7 |
17 |
97 |
1 |
| post_TH |
|
25 |
71 |
642 |
1 |
| post_UC |
|
8 |
31 |
192 |
1 |
| post_AT |
|
9 |
33 |
194 |
1 |
| post_in |
|
6 |
13 |
85 |
1 |
| post_vs |
|
8 |
20 |
92 |
1 |
| Source file: ./usr.bin/rdistd/server.h |
| Source file: ./usr.bin/rdistd/filesys-os.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| setmountent |
|
3 |
14 |
80 |
1 |
| getmountent |
|
4 |
19 |
122 |
1 |
| endmountent |
|
1 |
5 |
15 |
1 |
| newmountent |
|
1 |
8 |
46 |
1 |
| Source file: ./usr.bin/mandoc/mandoc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mandoc_escape |
|
96 |
231 |
1084 |
3 |
| mandoc_getarg |
|
21 |
60 |
339 |
4 |
| a2time |
|
3 |
12 |
80 |
3 |
| time2a |
|
5 |
23 |
152 |
1 |
| mandoc_normdate |
|
10 |
25 |
222 |
4 |
| mandoc_eos |
|
14 |
28 |
131 |
2 |
| mandoc_strntoi |
|
6 |
19 |
117 |
3 |
| Source file: ./usr.bin/rdistd/filesys.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| find_file |
|
23 |
63 |
443 |
3 |
| findmnt |
|
4 |
11 |
69 |
2 |
| isdupmnt |
|
3 |
8 |
59 |
2 |
| wakeup |
|
1 |
5 |
21 |
1 |
| makemntinfo |
|
8 |
41 |
248 |
1 |
| getmntpt |
|
7 |
25 |
158 |
3 |
| is_nfs_mounted |
|
3 |
9 |
62 |
3 |
| is_ro_mounted |
|
3 |
9 |
62 |
3 |
| is_symlinked |
|
4 |
12 |
74 |
3 |
| getfilesysinfo |
|
5 |
26 |
164 |
3 |
| Source file: ./usr.bin/x99token/x99token.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
39 |
124 |
944 |
2 |
| predict |
|
5 |
21 |
183 |
3 |
| Source file: ./usr.bin/dc/mem.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| new_number |
|
2 |
10 |
54 |
1 |
| free_number |
|
1 |
5 |
21 |
1 |
| dup_number |
|
1 |
9 |
55 |
1 |
| bmalloc |
|
2 |
8 |
34 |
1 |
| breallocarray |
|
2 |
8 |
45 |
3 |
| bstrdup |
|
2 |
8 |
36 |
1 |
| Source file: ./usr.bin/dc/extern.h |
| Source file: ./usr.bin/dc/bcode.h |
| Source file: ./usr.bin/dc/main.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
2 |
7 |
45 |
2 |
| Source file: ./usr.bin/dc/inout.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| src_setstream |
|
1 |
5 |
28 |
2 |
| src_setstring |
|
1 |
6 |
44 |
2 |
| src_getcharstream |
|
1 |
4 |
23 |
1 |
| src_ungetcharstream |
|
1 |
4 |
25 |
1 |
| src_freestream |
|
1 |
3 |
9 |
1 |
| src_getlinestream |
|
2 |
7 |
44 |
1 |
| src_getcharstring |
|
2 |
10 |
58 |
1 |
| src_ungetcharstring |
|
3 |
7 |
40 |
1 |
| src_getlinestring |
|
4 |
16 |
78 |
1 |
| src_freestring |
|
1 |
4 |
20 |
1 |
| flushwrap |
|
2 |
5 |
25 |
1 |
| putcharwrap |
|
3 |
12 |
59 |
2 |
| printwrap |
|
2 |
8 |
54 |
2 |
| readnumber |
|
15 |
42 |
261 |
2 |
| read_string |
|
9 |
34 |
177 |
1 |
| get_digit |
|
4 |
13 |
88 |
3 |
| printnumber |
|
11 |
78 |
521 |
3 |
| print_value |
|
5 |
16 |
100 |
4 |
| print_ascii |
|
3 |
12 |
93 |
2 |
| Source file: ./usr.bin/dc/dc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usage |
|
1 |
6 |
23 |
1 |
| dc_main |
|
17 |
69 |
437 |
2 |
| Source file: ./usr.bin/dc/stack.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| stack_init |
|
1 |
6 |
28 |
1 |
| stack_empty |
|
2 |
7 |
32 |
1 |
| stack_free_value |
|
4 |
15 |
63 |
1 |
| stack_dup_value |
|
6 |
18 |
115 |
2 |
| stack_size |
|
1 |
4 |
17 |
1 |
| stack_dup |
|
2 |
11 |
53 |
1 |
| stack_swap |
|
2 |
11 |
74 |
1 |
| stack_grow |
|
2 |
10 |
62 |
1 |
| stack_pushnumber |
|
1 |
7 |
60 |
2 |
| stack_pushstring |
|
1 |
7 |
59 |
2 |
| stack_push |
|
5 |
17 |
103 |
2 |
| stack_tos |
|
2 |
6 |
33 |
1 |
| stack_set_tos |
|
3 |
11 |
84 |
2 |
| stack_pop |
|
2 |
6 |
31 |
1 |
| stack_popnumber |
|
3 |
12 |
86 |
1 |
| stack_popstring |
|
3 |
12 |
86 |
1 |
| stack_clear |
|
2 |
7 |
43 |
1 |
| stack_print |
|
2 |
8 |
69 |
4 |
| array_new |
|
1 |
8 |
37 |
1 |
| array_free |
|
3 |
10 |
58 |
1 |
| array_dup |
|
3 |
12 |
82 |
1 |
| array_grow |
|
2 |
10 |
81 |
2 |
| array_assign |
|
2 |
7 |
56 |
3 |
| array_retrieve |
|
2 |
6 |
33 |
2 |
| frame_assign |
|
3 |
14 |
103 |
3 |
| frame_retrieve |
|
3 |
10 |
74 |
2 |
| Source file: ./usr.bin/systat/inetname.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| inet6name |
|
4 |
16 |
107 |
1 |
| inetname |
|
4 |
18 |
122 |
1 |
| Source file: ./usr.bin/systat/cache.h |
| Source file: ./usr.bin/systat/cpu.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| percentages |
|
5 |
20 |
155 |
5 |
| cpu_info |
|
3 |
15 |
119 |
1 |
| print_fld_percentage |
|
3 |
9 |
48 |
2 |
| select_cpu |
|
1 |
4 |
11 |
1 |
| read_cpu |
|
1 |
6 |
19 |
1 |
| initcpu |
|
11 |
27 |
262 |
1 |
| print_cpu |
|
4 |
16 |
98 |
1 |
| Source file: ./usr.bin/systat/systat.h |
| Source file: ./usr.bin/systat/if.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| initifstat |
|
2 |
8 |
39 |
1 |
| rt_getaddrinfo |
|
3 |
12 |
92 |
3 |
| select_if |
|
1 |
5 |
17 |
1 |
| read_if |
|
1 |
6 |
19 |
1 |
| print_if |
|
7 |
16 |
91 |
1 |
| fetchifstat |
|
20 |
92 |
689 |
1 |
| showifstat |
|
8 |
29 |
196 |
1 |
| showtotal |
|
3 |
14 |
106 |
1 |
| if_keyboard_callback |
|
8 |
36 |
169 |
1 |
| Source file: ./usr.bin/systat/mbufs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| initmembufs |
|
13 |
66 |
482 |
1 |
| select_mb |
|
1 |
5 |
15 |
1 |
| read_mb |
|
27 |
119 |
817 |
1 |
| print_mb |
|
10 |
28 |
180 |
1 |
| showmbuf |
|
9 |
24 |
183 |
3 |
| Source file: ./usr.bin/mandoc/mdoc_validate.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mdoc_node_validate |
|
22 |
59 |
358 |
1 |
| check_args |
|
3 |
9 |
73 |
2 |
| check_argv |
|
2 |
6 |
60 |
3 |
| check_text |
|
3 |
9 |
79 |
4 |
| check_toptext |
|
13 |
30 |
295 |
4 |
| post_delim |
|
12 |
24 |
172 |
1 |
| post_delim_nb |
|
43 |
74 |
498 |
1 |
| post_bl_norm |
|
44 |
148 |
858 |
1 |
| post_bd |
|
17 |
70 |
394 |
1 |
| post_an_norm |
|
5 |
22 |
140 |
1 |
| post_eoln |
|
4 |
15 |
118 |
1 |
| build_list |
|
6 |
24 |
181 |
2 |
| post_ex |
|
4 |
32 |
242 |
1 |
| post_lb |
|
1 |
16 |
128 |
1 |
| post_rv |
|
3 |
34 |
259 |
1 |
| post_std |
|
4 |
11 |
77 |
1 |
| post_st |
|
2 |
19 |
130 |
1 |
| post_obsolete |
|
3 |
8 |
55 |
1 |
| post_useless |
|
1 |
7 |
41 |
1 |
| post_bf |
|
12 |
47 |
320 |
1 |
| post_fname |
|
4 |
12 |
98 |
1 |
| post_fn |
|
1 |
5 |
16 |
1 |
| post_fo |
|
5 |
21 |
136 |
1 |
| post_fa |
|
6 |
18 |
116 |
1 |
| post_nm |
|
17 |
35 |
267 |
1 |
| post_nd |
|
4 |
16 |
92 |
1 |
| post_display |
|
14 |
44 |
273 |
1 |
| post_defaults |
|
5 |
27 |
150 |
1 |
| post_at |
|
3 |
19 |
144 |
1 |
| post_an |
|
4 |
16 |
106 |
1 |
| post_en |
|
2 |
6 |
33 |
1 |
| post_es |
|
1 |
5 |
19 |
1 |
| post_xx |
|
16 |
48 |
286 |
1 |
| post_it |
|
28 |
70 |
479 |
1 |
| post_bl_block |
|
10 |
36 |
213 |
1 |
| rewrite_macro2len |
|
4 |
15 |
91 |
2 |
| post_bl_head |
|
9 |
41 |
325 |
1 |
| post_bl |
|
26 |
104 |
592 |
1 |
| post_bk |
|
3 |
10 |
61 |
1 |
| post_sm |
|
4 |
23 |
129 |
1 |
| post_root |
|
23 |
72 |
623 |
1 |
| post_rs |
|
18 |
50 |
358 |
1 |
| post_hyph |
|
8 |
17 |
109 |
1 |
| post_ns |
|
4 |
9 |
60 |
1 |
| post_sx |
|
1 |
5 |
16 |
1 |
| post_sh |
|
6 |
26 |
82 |
1 |
| post_sh_name |
|
15 |
41 |
271 |
1 |
| post_sh_see_also |
|
18 |
55 |
362 |
1 |
| child_an |
|
5 |
7 |
55 |
1 |
| post_sh_authors |
|
2 |
6 |
39 |
1 |
| similar |
|
11 |
28 |
185 |
2 |
| post_sh_head |
|
27 |
80 |
518 |
1 |
| post_xr |
|
3 |
18 |
130 |
1 |
| post_ignpar |
|
10 |
33 |
199 |
1 |
| post_prevpar |
|
13 |
23 |
175 |
1 |
| post_par |
|
15 |
28 |
267 |
1 |
| post_dd |
|
9 |
34 |
263 |
1 |
| post_dt |
|
14 |
68 |
550 |
1 |
| post_bx |
|
8 |
39 |
315 |
1 |
| post_os |
|
19 |
64 |
477 |
1 |
| mdoc_a2sec |
|
4 |
8 |
57 |
1 |
| macro2len |
|
42 |
90 |
268 |
1 |
| Source file: ./usr.bin/systat/swap.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| select_sw |
|
4 |
10 |
39 |
1 |
| read_sw |
|
8 |
21 |
124 |
1 |
| print_sw |
|
7 |
17 |
80 |
1 |
| initswap |
|
2 |
9 |
57 |
1 |
| showswap |
|
2 |
17 |
112 |
1 |
| showtotal |
|
2 |
19 |
126 |
1 |
| Source file: ./usr.bin/dc/bcode.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sighandler |
|
1 |
4 |
13 |
1 |
| init_bmachine |
|
9 |
32 |
274 |
1 |
| bmachine_scale |
|
1 |
4 |
11 |
1 |
| reset_bmachine |
|
1 |
5 |
25 |
1 |
| readch |
|
1 |
5 |
31 |
1 |
| unreadch |
|
1 |
5 |
30 |
1 |
| readline |
|
1 |
5 |
31 |
1 |
| src_free |
|
1 |
5 |
30 |
1 |
| pn |
|
2 |
9 |
70 |
2 |
| pbn |
|
2 |
9 |
63 |
2 |
| max |
|
2 |
4 |
19 |
2 |
| scale_number |
|
6 |
32 |
210 |
2 |
| split_number |
|
5 |
29 |
219 |
3 |
| normalize |
|
1 |
5 |
31 |
2 |
| get_ulong |
|
1 |
5 |
24 |
1 |
| negate |
|
1 |
4 |
24 |
1 |
| push_number |
|
1 |
4 |
19 |
1 |
| push_string |
|
1 |
4 |
18 |
1 |
| push |
|
1 |
4 |
19 |
1 |
| tos |
|
1 |
4 |
15 |
1 |
| pop |
|
1 |
4 |
15 |
1 |
| pop_number |
|
1 |
4 |
15 |
1 |
| pop_string |
|
1 |
4 |
15 |
1 |
| clear_stack |
|
1 |
4 |
14 |
1 |
| print_stack |
|
1 |
4 |
22 |
1 |
| print_tos |
|
2 |
10 |
50 |
1 |
| print_err |
|
2 |
10 |
52 |
1 |
| pop_print |
|
5 |
20 |
103 |
1 |
| pop_printn |
|
2 |
9 |
49 |
1 |
| dup |
|
1 |
4 |
14 |
1 |
| swap |
|
1 |
4 |
14 |
1 |
| drop |
|
2 |
6 |
26 |
1 |
| get_scale |
|
1 |
7 |
36 |
1 |
| set_scale |
|
5 |
18 |
82 |
1 |
| get_obase |
|
1 |
7 |
36 |
1 |
| set_obase |
|
5 |
14 |
69 |
1 |
| get_ibase |
|
1 |
7 |
36 |
1 |
| set_ibase |
|
5 |
15 |
70 |
1 |
| stackdepth |
|
1 |
9 |
47 |
1 |
| push_scale |
|
5 |
22 |
96 |
1 |
| count_digits |
|
5 |
38 |
232 |
1 |
| num_digits |
|
5 |
25 |
126 |
1 |
| to_ascii |
|
6 |
26 |
146 |
1 |
| readreg |
|
7 |
19 |
110 |
1 |
| load |
|
3 |
16 |
91 |
1 |
| store |
|
3 |
13 |
57 |
1 |
| load_stack |
|
4 |
19 |
86 |
1 |
| store_stack |
|
3 |
12 |
55 |
1 |
| load_array |
|
8 |
31 |
173 |
1 |
| store_array |
|
7 |
31 |
154 |
1 |
| push_line |
|
1 |
4 |
22 |
1 |
| comment |
|
1 |
4 |
13 |
1 |
| badd |
|
5 |
23 |
147 |
1 |
| bsub |
|
5 |
23 |
147 |
1 |
| bmul_number |
|
4 |
14 |
122 |
4 |
| bmul |
|
3 |
18 |
88 |
1 |
| bdiv |
|
4 |
31 |
176 |
1 |
| bmod |
|
4 |
31 |
185 |
1 |
| bdivmod |
|
4 |
35 |
211 |
1 |
| bexp |
|
16 |
90 |
552 |
1 |
| bsqrt |
|
6 |
45 |
310 |
1 |
| not |
|
3 |
10 |
57 |
1 |
| equal |
|
1 |
4 |
11 |
1 |
| equal_numbers |
|
4 |
16 |
86 |
1 |
| less_numbers |
|
4 |
16 |
86 |
1 |
| lesseq_numbers |
|
4 |
16 |
86 |
1 |
| less |
|
1 |
4 |
11 |
1 |
| not_compare |
|
4 |
18 |
57 |
1 |
| greater |
|
1 |
4 |
11 |
1 |
| compare_numbers |
|
9 |
28 |
148 |
3 |
| compare |
|
14 |
42 |
218 |
1 |
| nop |
|
1 |
3 |
6 |
1 |
| quit |
|
2 |
9 |
37 |
1 |
| quitN |
|
6 |
20 |
90 |
1 |
| skipN |
|
6 |
20 |
89 |
1 |
| skip_until_mark |
|
20 |
48 |
181 |
1 |
| parse_number |
|
1 |
6 |
30 |
1 |
| unknown |
|
1 |
5 |
29 |
1 |
| eval_string |
|
5 |
24 |
147 |
1 |
| eval_line |
|
1 |
9 |
47 |
1 |
| eval_tos |
|
2 |
7 |
27 |
1 |
| eval |
|
10 |
33 |
187 |
1 |
| Source file: ./usr.bin/systat/engine.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tb_start |
|
1 |
6 |
24 |
1 |
| tb_end |
|
1 |
5 |
14 |
1 |
| GCC_PRINTFLIKE |
|
5 |
17 |
81 |
2 |
| GCC_PRINTFLIKE |
|
14 |
41 |
239 |
2 |
| move_horiz |
|
4 |
13 |
51 |
1 |
| print_str |
|
4 |
13 |
71 |
2 |
| clear_linebuf |
|
1 |
4 |
15 |
1 |
| end_line |
|
2 |
9 |
33 |
1 |
| end_page |
|
2 |
12 |
42 |
1 |
| print_fld_str |
|
11 |
39 |
241 |
2 |
| print_bar_title |
|
11 |
47 |
304 |
1 |
| print_fld_bar |
|
5 |
20 |
104 |
2 |
| print_fld_tb |
|
1 |
5 |
19 |
1 |
| print_title |
|
9 |
20 |
95 |
1 |
| hide_field |
|
2 |
6 |
22 |
1 |
| show_field |
|
2 |
6 |
28 |
1 |
| reset_fields |
|
4 |
14 |
70 |
1 |
| field_setup |
|
17 |
55 |
313 |
1 |
| set_curr_view |
|
6 |
22 |
113 |
1 |
| add_view |
|
7 |
15 |
89 |
1 |
| set_view |
|
6 |
21 |
108 |
1 |
| foreach_view |
|
1 |
7 |
37 |
1 |
| set_view_hotkey |
|
2 |
14 |
62 |
1 |
| next_view |
|
4 |
10 |
53 |
1 |
| prev_view |
|
4 |
10 |
57 |
1 |
| print_fld_age |
|
10 |
42 |
214 |
2 |
| print_fld_sdiv |
|
11 |
40 |
194 |
3 |
| print_fld_size |
|
1 |
4 |
20 |
2 |
| print_fld_ssdiv |
|
11 |
40 |
194 |
3 |
| print_fld_ssize |
|
1 |
4 |
20 |
2 |
| print_fld_rate |
|
2 |
8 |
36 |
2 |
| print_fld_bw |
|
2 |
8 |
38 |
2 |
| print_fld_uint |
|
4 |
15 |
69 |
2 |
| print_fld_float |
|
4 |
15 |
75 |
3 |
| set_order |
|
7 |
18 |
102 |
1 |
| set_order_hotkey |
|
7 |
21 |
106 |
1 |
| next_order |
|
5 |
17 |
97 |
1 |
| read_view |
|
4 |
10 |
48 |
1 |
| disp_update |
|
9 |
26 |
130 |
1 |
| sort_view |
|
3 |
6 |
26 |
1 |
| sig_close |
|
1 |
4 |
11 |
1 |
| sig_resize |
|
1 |
4 |
11 |
1 |
| sig_alarm |
|
1 |
4 |
11 |
1 |
| setup_term |
|
6 |
32 |
145 |
1 |
| do_resize_term |
|
5 |
16 |
82 |
1 |
| command_set |
|
4 |
20 |
98 |
2 |
| message_set |
|
2 |
9 |
39 |
1 |
| print_cmdline |
|
3 |
12 |
64 |
1 |
| cmd_keyboard |
|
15 |
40 |
170 |
1 |
| keyboard |
|
31 |
89 |
301 |
1 |
| engine_initialize |
|
1 |
8 |
41 |
1 |
| engine_loop |
|
17 |
44 |
185 |
1 |
| check_termcap |
|
9 |
26 |
148 |
1 |
| Source file: ./usr.bin/systat/pf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| select_pf |
|
1 |
4 |
11 |
1 |
| read_pf |
|
4 |
19 |
99 |
1 |
| initpf |
|
2 |
7 |
35 |
1 |
| print_fld_double |
|
4 |
15 |
68 |
2 |
| print_pf |
|
21 |
99 |
828 |
1 |
| Source file: ./usr.bin/systat/nfs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| select_client |
|
1 |
5 |
15 |
1 |
| select_server |
|
1 |
5 |
15 |
1 |
| initnfs |
|
2 |
8 |
39 |
1 |
| read_nfs |
|
2 |
13 |
82 |
1 |
| print_client |
|
1 |
126 |
825 |
1 |
| print_server |
|
1 |
111 |
658 |
1 |
| Source file: ./usr.bin/systat/engine.h |
| Source file: ./usr.bin/rdistd/server.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cattarget |
|
3 |
14 |
90 |
1 |
| setownership |
|
9 |
31 |
167 |
5 |
| setfilemode |
|
8 |
17 |
119 |
4 |
| fchog |
|
34 |
97 |
644 |
5 |
| removefile |
|
27 |
83 |
470 |
2 |
| doclean |
|
13 |
56 |
368 |
1 |
| clean |
|
1 |
6 |
30 |
1 |
| dospecial |
|
2 |
9 |
40 |
1 |
| docmdspecial |
|
8 |
47 |
284 |
1 |
| query |
|
18 |
60 |
354 |
1 |
| chkparent |
|
7 |
25 |
153 |
2 |
| savetarget |
|
11 |
41 |
252 |
2 |
| recvfile |
|
35 |
153 |
982 |
8 |
| recvdir |
|
31 |
121 |
721 |
4 |
| recvlink |
|
18 |
67 |
442 |
4 |
| hardlink |
|
16 |
61 |
347 |
1 |
| setconfig |
|
11 |
43 |
224 |
1 |
| recvit |
|
31 |
124 |
719 |
2 |
| dochmog |
|
9 |
48 |
259 |
1 |
| settarget |
|
5 |
23 |
118 |
2 |
| cleanup |
|
1 |
3 |
7 |
1 |
| server |
|
32 |
104 |
525 |
1 |
| Source file: ./usr.bin/systat/iostat.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| select_io |
|
1 |
5 |
19 |
1 |
| read_io |
|
3 |
18 |
104 |
1 |
| print_io |
|
6 |
17 |
83 |
1 |
| initiostat |
|
2 |
10 |
55 |
1 |
| showtotal |
|
2 |
20 |
156 |
1 |
| showdrive |
|
1 |
10 |
97 |
1 |
| showbcache |
|
1 |
42 |
282 |
1 |
| Source file: ./usr.bin/systat/pool.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sort_name_callback |
|
1 |
7 |
54 |
2 |
| sort_req_callback |
|
3 |
11 |
83 |
2 |
| sort_npage_callback |
|
3 |
11 |
83 |
2 |
| sort_psize_callback |
|
3 |
16 |
128 |
2 |
| sort_pool |
|
6 |
16 |
75 |
1 |
| select_pool |
|
1 |
5 |
15 |
1 |
| read_pool |
|
9 |
42 |
287 |
1 |
| print_pool |
|
10 |
21 |
120 |
1 |
| initpool |
|
2 |
14 |
65 |
1 |
| showpool |
|
4 |
22 |
186 |
1 |
| pool_keyboard_callback |
|
2 |
11 |
38 |
1 |
| pool_cache_read |
|
11 |
47 |
320 |
1 |
| pool_cache_sort |
|
6 |
16 |
75 |
1 |
| pool_cache_print |
|
7 |
18 |
95 |
1 |
| pool_cache_show |
|
2 |
20 |
142 |
1 |
| pool_get_npools |
|
1 |
5 |
32 |
1 |
| pool_get_cache |
|
1 |
6 |
58 |
2 |
| pool_get_cache_cpus |
|
1 |
7 |
64 |
3 |
| pool_get_name |
|
1 |
5 |
51 |
3 |
| hw_ncpusfound |
|
1 |
5 |
30 |
1 |
| sysctl_rdint |
|
2 |
8 |
57 |
2 |
| Source file: ./usr.bin/systat/sensors.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| next_sn |
|
4 |
15 |
75 |
1 |
| select_sn |
|
1 |
5 |
15 |
1 |
| read_sn |
|
13 |
47 |
319 |
1 |
| print_sn |
|
4 |
10 |
50 |
1 |
| initsensors |
|
2 |
8 |
47 |
1 |
| showsensor |
|
31 |
103 |
557 |
1 |
| fmttime |
|
13 |
43 |
231 |
1 |
| Source file: ./usr.bin/systat/vmstat.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| openkre |
|
1 |
4 |
26 |
1 |
| closekre |
|
2 |
8 |
31 |
1 |
| initvmstat |
|
7 |
41 |
301 |
1 |
| fetchkre |
|
1 |
4 |
12 |
1 |
| labelkre |
|
10 |
65 |
669 |
1 |
| showkre |
|
20 |
133 |
1556 |
1 |
| vm_keyboard_callback |
|
6 |
21 |
83 |
1 |
| cputime |
|
3 |
11 |
69 |
1 |
| putint |
|
5 |
17 |
95 |
4 |
| putintmk |
|
7 |
22 |
151 |
4 |
| putuint64 |
|
5 |
17 |
95 |
4 |
| putfloat |
|
6 |
17 |
107 |
6 |
| getinfo |
|
7 |
40 |
411 |
1 |
| allocinfo |
|
2 |
7 |
54 |
1 |
| copyinfo |
|
1 |
7 |
51 |
2 |
| dinfo |
|
1 |
13 |
190 |
2 |
| select_vm |
|
1 |
5 |
15 |
1 |
| read_vm |
|
3 |
11 |
46 |
1 |
| print_vm |
|
1 |
6 |
23 |
1 |
| Source file: ./usr.bin/systat/cache.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cache_init |
|
6 |
25 |
142 |
1 |
| update_state |
|
3 |
9 |
81 |
3 |
| add_state |
|
3 |
20 |
137 |
1 |
| cache_state |
|
5 |
25 |
195 |
1 |
| cache_endupdate |
|
2 |
15 |
77 |
1 |
| sc_cmp |
|
5 |
12 |
81 |
2 |
| Source file: ./usr.bin/systat/pigs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| select_pg |
|
2 |
10 |
72 |
1 |
| getprocs |
|
4 |
20 |
171 |
1 |
| read_pg |
|
10 |
46 |
335 |
1 |
| print_pg |
|
4 |
10 |
51 |
1 |
| initpigs |
|
2 |
19 |
163 |
1 |
| showpigs |
|
3 |
25 |
143 |
1 |
| compar |
|
2 |
7 |
58 |
2 |
| Source file: ./usr.bin/systat/main.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| print_header |
|
9 |
36 |
256 |
1 |
| error |
|
1 |
9 |
49 |
2 |
| nlisterr |
|
4 |
16 |
114 |
1 |
| die |
|
2 |
6 |
20 |
1 |
| prefix |
|
3 |
9 |
48 |
2 |
| ucount |
|
4 |
12 |
72 |
1 |
| usage |
|
1 |
7 |
26 |
1 |
| show_view |
|
2 |
9 |
36 |
1 |
| add_view_tb |
|
2 |
7 |
33 |
1 |
| show_help |
|
2 |
9 |
30 |
1 |
| cmd_compat |
|
10 |
31 |
170 |
1 |
| cmd_delay |
|
2 |
10 |
46 |
1 |
| cmd_count |
|
2 |
7 |
40 |
1 |
| keyboard_callback |
|
8 |
30 |
104 |
1 |
| initialize |
|
1 |
18 |
66 |
1 |
| gethz |
|
2 |
12 |
74 |
1 |
| main |
|
28 |
100 |
534 |
2 |
| Source file: ./usr.bin/systat/malloc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sort_tname_callback |
|
1 |
7 |
54 |
2 |
| sort_treq_callback |
|
3 |
11 |
83 |
2 |
| sort_inuse_callback |
|
3 |
11 |
83 |
2 |
| sort_memuse_callback |
|
3 |
11 |
83 |
2 |
| sort_types |
|
5 |
14 |
67 |
1 |
| select_types |
|
1 |
5 |
15 |
1 |
| select_buckets |
|
1 |
5 |
15 |
1 |
| read_buckets |
|
6 |
37 |
250 |
1 |
| read_types |
|
6 |
27 |
198 |
1 |
| print_types |
|
4 |
9 |
48 |
1 |
| print_buckets |
|
4 |
10 |
48 |
1 |
| initmalloc |
|
2 |
9 |
43 |
1 |
| showbucket |
|
3 |
13 |
91 |
1 |
| showtype |
|
4 |
16 |
133 |
1 |
| Source file: ./usr.bin/pctr/pctr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
35 |
86 |
416 |
2 |
| pctr_cpu_creds |
|
20 |
62 |
460 |
1 |
| pctr_ctrfn_index |
|
3 |
8 |
55 |
2 |
| pctr_fn2str |
|
30 |
67 |
497 |
1 |
| pctr_printvals |
|
8 |
19 |
98 |
1 |
| pctr_read |
|
3 |
14 |
77 |
1 |
| pctr_write |
|
3 |
14 |
81 |
2 |
| pctr_printdesc |
|
7 |
21 |
101 |
1 |
| pctr_list_fnct |
|
12 |
30 |
169 |
1 |
| pctr_set_cntr |
|
43 |
73 |
418 |
1 |
| usage |
|
5 |
21 |
71 |
1 |
| Source file: ./usr.bin/mg/pathnames.h |
| Source file: ./usr.bin/pctr/pctrvar.h |
| Source file: ./usr.bin/systat/netstat.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| next_ns |
|
4 |
15 |
75 |
1 |
| enter |
|
16 |
67 |
457 |
1 |
| select_ns |
|
1 |
5 |
15 |
1 |
| kf_comp |
|
19 |
36 |
280 |
2 |
| read_ns |
|
4 |
21 |
120 |
1 |
| print_ns |
|
4 |
10 |
50 |
1 |
| initnetstat |
|
2 |
8 |
43 |
1 |
| shownetstat |
|
13 |
53 |
270 |
1 |
| inetprint |
|
6 |
13 |
98 |
4 |
| inet6print |
|
6 |
13 |
97 |
4 |
| ns_keyboard_callback |
|
7 |
34 |
115 |
1 |
| Source file: ./usr.bin/mg/basic.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| gotobol |
|
2 |
7 |
32 |
2 |
| backchar |
|
6 |
23 |
130 |
2 |
| gotoeol |
|
2 |
7 |
37 |
2 |
| forwchar |
|
6 |
23 |
136 |
2 |
| gotobob |
|
1 |
9 |
52 |
2 |
| gotoeob |
|
4 |
18 |
126 |
2 |
| forwline |
|
9 |
36 |
210 |
2 |
| backline |
|
9 |
29 |
174 |
2 |
| setgoal |
|
1 |
4 |
13 |
1 |
| getgoal |
|
8 |
23 |
134 |
1 |
| forwpage |
|
10 |
28 |
194 |
2 |
| backpage |
|
12 |
33 |
231 |
2 |
| forw1page |
|
2 |
9 |
43 |
2 |
| back1page |
|
2 |
9 |
43 |
2 |
| pagenext |
|
2 |
15 |
78 |
2 |
| isetmark |
|
1 |
6 |
30 |
1 |
| setmark |
|
1 |
6 |
24 |
2 |
| clearmark |
|
2 |
9 |
45 |
2 |
| swapmark |
|
2 |
21 |
115 |
2 |
| gotoline |
|
5 |
19 |
127 |
2 |
| setlineno |
|
7 |
32 |
171 |
1 |
| Source file: ./usr.bin/mg/paragraph.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| gotobop |
|
8 |
25 |
149 |
2 |
| gotoeop |
|
1 |
5 |
26 |
2 |
| do_gotoeop |
|
9 |
31 |
196 |
3 |
| fillpara |
|
30 |
84 |
549 |
2 |
| killpara |
|
4 |
17 |
112 |
2 |
| markpara |
|
3 |
14 |
90 |
2 |
| transposepara |
|
4 |
24 |
161 |
2 |
| findpara |
|
6 |
20 |
111 |
1 |
| fillword |
|
20 |
40 |
343 |
2 |
| setfillcol |
|
5 |
24 |
144 |
2 |
| sentencespace |
|
2 |
8 |
33 |
2 |
| Source file: ./usr.bin/last/last.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
30 |
66 |
372 |
2 |
| checkargs |
|
8 |
27 |
108 |
1 |
| print_entry |
|
4 |
22 |
127 |
1 |
| wtmp |
|
42 |
130 |
872 |
1 |
| want |
|
15 |
34 |
224 |
2 |
| addarg |
|
2 |
10 |
64 |
2 |
| addtty |
|
2 |
10 |
69 |
1 |
| hostconv |
|
6 |
16 |
101 |
1 |
| ttyconv |
|
5 |
17 |
115 |
1 |
| dateconv |
|
12 |
57 |
320 |
1 |
| onintr |
|
2 |
10 |
75 |
1 |
| usage |
|
1 |
8 |
26 |
1 |
| Source file: ./usr.bin/mg/version.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| showversion |
|
1 |
5 |
22 |
2 |
| Source file: ./usr.bin/mg/bell.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bellinit |
|
1 |
5 |
14 |
1 |
| dobeep |
|
4 |
13 |
42 |
1 |
| toggleaudiblebell |
|
2 |
8 |
33 |
2 |
| togglevisiblebell |
|
2 |
8 |
33 |
2 |
| Source file: ./usr.bin/mg/tags.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ctagcmp |
|
1 |
4 |
26 |
2 |
| tagsvisit |
|
13 |
58 |
357 |
2 |
| findtag |
|
9 |
35 |
209 |
2 |
| unloadtags |
|
2 |
10 |
70 |
1 |
| pushtag |
|
8 |
45 |
284 |
1 |
| poptag |
|
4 |
23 |
136 |
2 |
| loadtags |
|
4 |
19 |
106 |
1 |
| closetags |
|
2 |
12 |
59 |
1 |
| strip |
|
3 |
10 |
56 |
2 |
| addctag |
|
5 |
26 |
162 |
1 |
| searchpat |
|
5 |
22 |
124 |
1 |
| atbow |
|
4 |
9 |
62 |
1 |
| curtoken |
|
9 |
35 |
233 |
3 |
| searchtag |
|
2 |
11 |
61 |
1 |
| loadbuffer |
|
8 |
28 |
171 |
1 |
| Source file: ./usr.bin/mg/region.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| killregion |
|
3 |
16 |
103 |
2 |
| copyregion |
|
7 |
28 |
168 |
2 |
| lowerregion |
|
7 |
31 |
191 |
2 |
| upperregion |
|
7 |
31 |
191 |
2 |
| getregion |
|
10 |
52 |
369 |
1 |
| setsize |
|
2 |
10 |
47 |
2 |
| prefixregion |
|
9 |
34 |
256 |
2 |
| setprefix |
|
6 |
21 |
146 |
2 |
| region_get_data |
|
4 |
21 |
122 |
3 |
| region_put_data |
|
4 |
10 |
61 |
2 |
| markbuffer |
|
3 |
8 |
47 |
2 |
| piperegion |
|
7 |
28 |
205 |
2 |
| shellcommand |
|
4 |
12 |
109 |
2 |
| shellcmdoutput |
|
4 |
21 |
131 |
3 |
| pipeio |
|
8 |
38 |
268 |
5 |
| iomux |
|
13 |
39 |
290 |
4 |
| pwriteout |
|
5 |
17 |
91 |
3 |
| preadin |
|
6 |
32 |
223 |
2 |
| Source file: ./usr.bin/mg/chrdef.h |
| Source file: ./usr.bin/mg/window.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| new_window |
|
3 |
19 |
110 |
1 |
| reposition |
|
3 |
7 |
49 |
2 |
| redraw |
|
1 |
4 |
22 |
2 |
| do_redraw |
|
6 |
23 |
124 |
3 |
| nextwind |
|
2 |
9 |
46 |
2 |
| prevwind |
|
3 |
13 |
65 |
2 |
| onlywind |
|
7 |
43 |
293 |
2 |
| splitwind |
|
10 |
64 |
393 |
2 |
| enlargewind |
|
11 |
41 |
259 |
2 |
| shrinkwind |
|
12 |
41 |
266 |
2 |
| delwind |
|
7 |
27 |
198 |
2 |
| Source file: ./usr.bin/systat/pftop.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sort_size_callback |
|
3 |
12 |
114 |
2 |
| sort_pkt_callback |
|
3 |
12 |
114 |
2 |
| sort_age_callback |
|
3 |
10 |
88 |
2 |
| sort_exp_callback |
|
3 |
10 |
88 |
2 |
| sort_rate_callback |
|
5 |
14 |
93 |
2 |
| sort_peak_callback |
|
6 |
14 |
97 |
2 |
| compare_addr |
|
13 |
30 |
263 |
3 |
| sort_addr_callback |
|
11 |
55 |
431 |
3 |
| sort_port_callback |
|
12 |
57 |
447 |
3 |
| sort_sa_callback |
|
1 |
6 |
56 |
2 |
| sort_da_callback |
|
1 |
6 |
56 |
2 |
| sort_sp_callback |
|
1 |
6 |
56 |
2 |
| sort_dp_callback |
|
1 |
6 |
56 |
2 |
| sort_states |
|
6 |
16 |
74 |
1 |
| alloc_buf |
|
6 |
19 |
106 |
1 |
| select_states |
|
1 |
5 |
15 |
1 |
| read_states |
|
8 |
29 |
172 |
1 |
| unmask |
|
6 |
19 |
115 |
2 |
| tb_print_addr |
|
5 |
17 |
92 |
3 |
| print_fld_host2 |
|
8 |
32 |
213 |
4 |
| print_fld_state |
|
18 |
38 |
243 |
4 |
| print_state |
|
13 |
54 |
451 |
2 |
| print_states |
|
4 |
10 |
60 |
1 |
| select_rules |
|
1 |
5 |
15 |
1 |
| add_rule_alloc |
|
6 |
17 |
100 |
1 |
| read_anchor_rules |
|
6 |
30 |
211 |
1 |
| alloc_anchor_name |
|
4 |
18 |
102 |
1 |
| reset_anchor_names |
|
2 |
8 |
30 |
1 |
| read_rulesets |
|
11 |
43 |
298 |
1 |
| compute_anchor_field |
|
8 |
25 |
145 |
1 |
| read_rules |
|
5 |
23 |
110 |
1 |
| tb_print_addrw |
|
5 |
20 |
97 |
3 |
| tb_print_op |
|
10 |
21 |
148 |
3 |
| tb_print_port |
|
4 |
14 |
124 |
4 |
| tb_print_fromto |
|
21 |
46 |
320 |
4 |
| tb_print_ugid |
|
4 |
12 |
102 |
5 |
| tb_print_flags |
|
3 |
8 |
52 |
1 |
| print_rule |
|
51 |
121 |
948 |
1 |
| print_rules |
|
4 |
10 |
50 |
1 |
| pfctl_find_queue_node |
|
3 |
9 |
66 |
2 |
| pfctl_insert_queue_node |
|
4 |
17 |
134 |
2 |
| pfctl_update_qstats |
|
8 |
47 |
339 |
1 |
| select_queues |
|
1 |
5 |
15 |
1 |
| read_queues |
|
2 |
8 |
35 |
1 |
| calc_interval |
|
1 |
7 |
52 |
2 |
| calc_rate |
|
1 |
6 |
34 |
3 |
| calc_pps |
|
1 |
6 |
34 |
3 |
| print_queue_node |
|
15 |
52 |
444 |
1 |
| print_queues |
|
4 |
18 |
76 |
1 |
| update_cache |
|
3 |
17 |
66 |
1 |
| initpftop |
|
7 |
25 |
137 |
1 |
| Source file: ./usr.bin/mg/word.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| backword |
|
8 |
18 |
114 |
2 |
| forwword |
|
7 |
16 |
93 |
2 |
| transposeword |
|
19 |
101 |
556 |
2 |
| grabword |
|
6 |
18 |
114 |
1 |
| upperword |
|
10 |
33 |
203 |
2 |
| lowerword |
|
10 |
33 |
203 |
2 |
| capword |
|
13 |
43 |
278 |
2 |
| countfword |
|
3 |
18 |
78 |
0 |
| delfword |
|
10 |
38 |
196 |
2 |
| delbword |
|
12 |
37 |
199 |
2 |
| inword |
|
2 |
5 |
34 |
1 |
| Source file: ./usr.bin/mg/def.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| undo_rec::TAILQ_ENTRY |
|
1 |
8 |
20 |
1 |
| Source file: ./usr.bin/mg/help.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| desckey |
|
18 |
65 |
432 |
2 |
| wallchart |
|
8 |
20 |
163 |
2 |
| showall |
|
8 |
25 |
181 |
3 |
| help_help |
|
6 |
14 |
100 |
2 |
| apropos_command |
|
6 |
26 |
193 |
2 |
| findbind |
|
5 |
22 |
154 |
4 |
| Source file: ./usr.bin/mg/search.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| forwsearch |
|
3 |
13 |
66 |
2 |
| backsearch |
|
3 |
13 |
66 |
2 |
| searchagain |
|
5 |
22 |
102 |
2 |
| forwisearch |
|
3 |
7 |
35 |
2 |
| backisearch |
|
3 |
7 |
35 |
2 |
| isearch |
|
49 |
213 |
1169 |
1 |
| is_cpush |
|
2 |
6 |
27 |
1 |
| is_lpush |
|
2 |
11 |
67 |
1 |
| is_pop |
|
3 |
12 |
80 |
1 |
| is_peek |
|
1 |
4 |
16 |
1 |
| is_undo |
|
9 |
30 |
122 |
2 |
| is_find |
|
6 |
35 |
187 |
1 |
| is_prompt |
|
5 |
15 |
78 |
3 |
| is_dspl |
|
2 |
7 |
34 |
2 |
| queryrepl |
|
21 |
66 |
353 |
2 |
| replstr |
|
6 |
26 |
154 |
2 |
| forwsrch |
|
12 |
51 |
315 |
1 |
| backsrch |
|
14 |
56 |
348 |
1 |
| eq |
|
5 |
14 |
86 |
3 |
| readpattern |
|
5 |
20 |
137 |
1 |
| Source file: ./usr.bin/mg/ttyio.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ttopen |
|
4 |
7 |
38 |
1 |
| ttraw |
|
3 |
22 |
156 |
1 |
| ttclose |
|
3 |
8 |
29 |
1 |
| ttcooked |
|
2 |
10 |
47 |
1 |
| ttputc |
|
2 |
7 |
30 |
1 |
| ttflush |
|
5 |
17 |
79 |
1 |
| ttgetc |
|
8 |
18 |
98 |
1 |
| charswaiting |
|
2 |
5 |
30 |
1 |
| panic |
|
2 |
13 |
64 |
1 |
| ttwait |
|
2 |
9 |
57 |
1 |
| Source file: ./usr.bin/mg/funmap.h |
| Source file: ./usr.bin/mg/buffer.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| togglereadonly |
|
4 |
15 |
81 |
2 |
| usebufname |
|
6 |
13 |
105 |
1 |
| usebuffer |
|
3 |
12 |
83 |
2 |
| poptobuffer |
|
8 |
26 |
197 |
2 |
| killbuffer_cmd |
|
5 |
15 |
110 |
2 |
| killbuffer |
|
17 |
53 |
344 |
1 |
| savebuffers |
|
2 |
6 |
29 |
2 |
| listbuffers |
|
4 |
18 |
130 |
2 |
| makelist |
|
14 |
44 |
301 |
1 |
| listbuf_goto_buffer |
|
1 |
4 |
22 |
2 |
| listbuf_goto_buffer_one |
|
1 |
4 |
22 |
2 |
| listbuf_goto_buffer_helper |
|
11 |
40 |
258 |
3 |
| addlinef |
|
3 |
21 |
144 |
3 |
| anycb |
|
11 |
32 |
215 |
1 |
| bfind |
|
4 |
14 |
76 |
2 |
| bnew |
|
8 |
52 |
341 |
1 |
| bclear |
|
4 |
18 |
129 |
1 |
| showbuffer |
|
9 |
42 |
299 |
3 |
| augbname |
|
3 |
11 |
88 |
3 |
| popbuf |
|
10 |
24 |
146 |
2 |
| bufferinsert |
|
16 |
47 |
320 |
2 |
| notmodified |
|
3 |
13 |
63 |
2 |
| popbuftop |
|
4 |
15 |
100 |
2 |
| getbufcwd |
|
5 |
17 |
110 |
2 |
| checkdirty |
|
6 |
22 |
118 |
1 |
| revertbuffer |
|
3 |
14 |
80 |
2 |
| dorevert |
|
5 |
24 |
132 |
1 |
| diffbuffer |
|
13 |
57 |
384 |
2 |
| findbuffer |
|
5 |
18 |
130 |
1 |
| Source file: ./usr.bin/mg/echo.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| eerase |
|
1 |
8 |
32 |
1 |
| eyorn |
|
10 |
23 |
130 |
1 |
| eynorr |
|
12 |
27 |
150 |
1 |
| eyesno |
|
8 |
32 |
185 |
1 |
| eread |
|
1 |
9 |
60 |
5 |
| veread |
|
93 |
335 |
1915 |
5 |
| complt |
|
27 |
75 |
512 |
6 |
| complt_list |
|
24 |
99 |
635 |
3 |
| getxtra |
|
6 |
15 |
94 |
4 |
| ewprintf |
|
2 |
14 |
65 |
2 |
| eformat |
|
13 |
55 |
294 |
2 |
| eputi |
|
3 |
11 |
59 |
2 |
| eputl |
|
3 |
11 |
64 |
2 |
| eputs |
|
2 |
6 |
29 |
1 |
| eputc |
|
3 |
11 |
46 |
1 |
| free_file_list |
|
2 |
10 |
42 |
1 |
| copy_list |
|
4 |
21 |
118 |
1 |
| Source file: ./usr.bin/mg/cinfo.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| getkeyname |
|
14 |
52 |
298 |
3 |
| Source file: ./usr.bin/mg/funmap.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| funmap_init |
|
2 |
8 |
38 |
1 |
| funmap_add |
|
2 |
11 |
66 |
2 |
| name_function |
|
3 |
9 |
57 |
1 |
| function_name |
|
3 |
9 |
50 |
1 |
| complete_function_list |
|
4 |
20 |
126 |
1 |
| Source file: ./usr.bin/mg/cscope.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cssymbol |
|
1 |
4 |
18 |
2 |
| csdefinition |
|
1 |
4 |
18 |
2 |
| csfuncalled |
|
1 |
4 |
18 |
2 |
| cscallerfuncs |
|
1 |
4 |
18 |
2 |
| csfindtext |
|
1 |
4 |
18 |
2 |
| csegrep |
|
1 |
4 |
18 |
2 |
| csfindfile |
|
1 |
4 |
18 |
2 |
| csfindinc |
|
1 |
4 |
18 |
2 |
| cscreatelist |
|
16 |
66 |
459 |
2 |
| csnextmatch |
|
5 |
30 |
153 |
2 |
| csprevmatch |
|
4 |
26 |
116 |
2 |
| csnextfile |
|
4 |
20 |
108 |
2 |
| csprevfile |
|
4 |
21 |
111 |
2 |
| jumptomatch |
|
8 |
21 |
133 |
1 |
| do_cscope |
|
17 |
70 |
475 |
1 |
| addentry |
|
10 |
43 |
319 |
2 |
| getattr |
|
5 |
22 |
144 |
2 |
| prettyprint |
|
2 |
8 |
60 |
2 |
| ltrim |
|
2 |
6 |
27 |
1 |
| csflush |
|
3 |
18 |
105 |
1 |
| csexists |
|
12 |
38 |
255 |
1 |
| Source file: ./usr.bin/mg/undo.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| find_dot |
|
4 |
18 |
94 |
2 |
| find_lo |
|
3 |
20 |
113 |
4 |
| new_undo_record |
|
3 |
14 |
83 |
1 |
| free_undo_record |
|
3 |
16 |
74 |
1 |
| drop_oldest_undo_record |
|
2 |
12 |
61 |
1 |
| lastrectype |
|
2 |
7 |
39 |
1 |
| undo_enabled |
|
1 |
4 |
11 |
1 |
| undo_enable |
|
4 |
11 |
62 |
2 |
| undo_boundary_enable |
|
5 |
15 |
79 |
2 |
| undo_add_boundary |
|
4 |
14 |
79 |
2 |
| undo_add_modified |
|
2 |
13 |
80 |
1 |
| undo_add_insert |
|
5 |
28 |
197 |
3 |
| undo_add_delete |
|
13 |
38 |
287 |
4 |
| undo_add_change |
|
2 |
12 |
72 |
3 |
| undo_dump |
|
14 |
53 |
406 |
2 |
| undo |
|
19 |
83 |
430 |
2 |
| Source file: ./usr.bin/mg/kbd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| do_meta |
|
3 |
9 |
44 |
2 |
| bsmap |
|
3 |
9 |
44 |
2 |
| ungetkey |
|
4 |
8 |
33 |
1 |
| getkey |
|
14 |
36 |
209 |
1 |
| doscan |
|
7 |
16 |
119 |
3 |
| doin |
|
4 |
14 |
105 |
1 |
| rescan |
|
20 |
50 |
384 |
2 |
| universal_argument |
|
11 |
30 |
213 |
2 |
| digit_argument |
|
8 |
29 |
203 |
2 |
| negative_argument |
|
9 |
33 |
206 |
2 |
| selfinsert |
|
19 |
52 |
335 |
2 |
| quote |
|
7 |
19 |
159 |
2 |
| mgwrap |
|
6 |
15 |
68 |
3 |
| Source file: ./usr.bin/mg/tty.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| winchhandler |
|
1 |
4 |
11 |
1 |
| ttinit |
|
20 |
45 |
248 |
1 |
| ttreinit |
|
4 |
11 |
49 |
1 |
| tttidy |
|
2 |
6 |
21 |
1 |
| ttmove |
|
3 |
8 |
44 |
2 |
| tteeol |
|
3 |
12 |
45 |
1 |
| tteeop |
|
4 |
18 |
88 |
1 |
| ttbeep |
|
1 |
5 |
17 |
1 |
| ttinsl |
|
10 |
36 |
214 |
3 |
| ttdell |
|
9 |
35 |
210 |
3 |
| ttwindow |
|
4 |
10 |
58 |
2 |
| ttnowindow |
|
3 |
11 |
54 |
1 |
| ttcolor |
|
4 |
10 |
46 |
1 |
| ttresize |
|
6 |
16 |
105 |
1 |
| fakec |
|
1 |
5 |
15 |
1 |
| charcost |
|
1 |
6 |
27 |
1 |
| Source file: ./usr.bin/mg/autoexec.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| find_autoexec |
|
6 |
27 |
146 |
1 |
| add_autoexec |
|
5 |
23 |
129 |
2 |
| auto_execute |
|
6 |
18 |
145 |
2 |
| Source file: ./usr.bin/mg/line.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| lalloc |
|
3 |
14 |
80 |
1 |
| lrealloc |
|
3 |
11 |
65 |
2 |
| lfree |
|
9 |
33 |
209 |
1 |
| lchange |
|
5 |
15 |
82 |
1 |
| linsert |
|
22 |
70 |
479 |
2 |
| lnewline_at |
|
19 |
59 |
431 |
2 |
| lnewline |
|
3 |
12 |
65 |
1 |
| ldelete |
|
19 |
72 |
450 |
2 |
| ldelnewline |
|
18 |
67 |
504 |
1 |
| lreplace |
|
3 |
20 |
122 |
2 |
| linetostr |
|
3 |
13 |
82 |
1 |
| Source file: ./usr.bin/mg/spawn.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| spawncli |
|
3 |
21 |
119 |
2 |
| Source file: ./usr.bin/mg/file.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fileinsert |
|
5 |
16 |
120 |
2 |
| filevisit |
|
10 |
30 |
214 |
2 |
| filevisitalt |
|
4 |
13 |
93 |
2 |
| do_filevisitalt |
|
9 |
25 |
160 |
1 |
| filevisitro |
|
2 |
9 |
44 |
2 |
| poptofile |
|
11 |
33 |
241 |
2 |
| readin |
|
18 |
56 |
391 |
1 |
| insertfile |
|
34 |
166 |
1022 |
3 |
| filewrite |
|
12 |
47 |
385 |
2 |
| filesave |
|
2 |
7 |
40 |
2 |
| buffsave |
|
10 |
35 |
214 |
1 |
| makebkfile |
|
3 |
9 |
44 |
2 |
| writeout |
|
9 |
33 |
234 |
3 |
| upmodes |
|
4 |
7 |
48 |
1 |
| xdirname |
|
4 |
12 |
89 |
3 |
| xbasename |
|
1 |
6 |
49 |
3 |
| do_dired |
|
2 |
8 |
49 |
1 |
| Source file: ./usr.bin/mg/macro.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| definemacro |
|
5 |
21 |
126 |
2 |
| finishmacro |
|
2 |
9 |
37 |
2 |
| executemacro |
|
9 |
38 |
203 |
2 |
| Source file: ./usr.bin/mg/grep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| grep_init |
|
1 |
9 |
53 |
1 |
| grep |
|
6 |
21 |
166 |
2 |
| compile |
|
6 |
23 |
180 |
2 |
| gid |
|
18 |
44 |
334 |
2 |
| compile_mode |
|
13 |
65 |
462 |
2 |
| compile_goto_error |
|
17 |
58 |
393 |
2 |
| next_error |
|
4 |
18 |
98 |
2 |
| globalwdtoggle |
|
2 |
9 |
37 |
2 |
| Source file: ./usr.bin/mg/macro.h |
| Source file: ./usr.bin/mg/yank.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| kdelete |
|
2 |
8 |
31 |
1 |
| kinsert |
|
10 |
16 |
105 |
2 |
| kgrow |
|
4 |
23 |
169 |
1 |
| kremove |
|
3 |
6 |
38 |
1 |
| kchunk |
|
8 |
19 |
134 |
3 |
| killline |
|
17 |
52 |
331 |
2 |
| yank |
|
10 |
33 |
184 |
2 |
| Source file: ./usr.bin/mg/ttykbd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ttykeymapinit |
|
15 |
30 |
194 |
1 |
| ttykeymaptidy |
|
2 |
5 |
17 |
1 |
| Source file: ./usr.bin/mg/match.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| showmatch |
|
4 |
11 |
67 |
2 |
| balance |
|
10 |
38 |
212 |
1 |
| displaymatch |
|
10 |
47 |
266 |
2 |
| Source file: ./usr.bin/mg/cmode.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cmode_init |
|
1 |
10 |
60 |
1 |
| cmode |
|
1 |
4 |
22 |
2 |
| cc_char |
|
3 |
8 |
47 |
2 |
| cc_brace |
|
3 |
8 |
47 |
2 |
| cc_tab |
|
3 |
8 |
64 |
2 |
| cc_indent |
|
4 |
22 |
135 |
2 |
| cc_lfindent |
|
3 |
8 |
47 |
2 |
| getindent |
|
40 |
107 |
580 |
2 |
| getmatch |
|
6 |
22 |
91 |
2 |
| in_whitespace |
|
4 |
12 |
67 |
2 |
| findcolpos |
|
7 |
22 |
135 |
3 |
| findnonblank |
|
15 |
35 |
207 |
1 |
| isnonblank |
|
8 |
21 |
114 |
2 |
| Source file: ./usr.bin/mg/util.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| showcpos |
|
8 |
40 |
227 |
2 |
| getcolpos |
|
7 |
22 |
131 |
1 |
| twiddle |
|
9 |
40 |
260 |
2 |
| openline |
|
6 |
17 |
96 |
2 |
| enewline |
|
4 |
11 |
53 |
2 |
| deblank |
|
5 |
17 |
128 |
2 |
| justone |
|
1 |
8 |
46 |
2 |
| delwhite |
|
7 |
20 |
142 |
2 |
| delleadwhite |
|
4 |
17 |
103 |
2 |
| deltrailwhite |
|
2 |
10 |
52 |
2 |
| lfindent |
|
14 |
28 |
198 |
2 |
| indent |
|
9 |
18 |
143 |
2 |
| forwdel |
|
5 |
11 |
76 |
2 |
| backdel |
|
6 |
14 |
100 |
2 |
| space_to_tabstop |
|
3 |
8 |
55 |
2 |
| backtoindent |
|
3 |
8 |
56 |
2 |
| joinline |
|
3 |
19 |
105 |
2 |
| Source file: ./usr.bin/mg/keymap.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| maps_init |
|
2 |
11 |
57 |
1 |
| maps_add |
|
2 |
11 |
67 |
2 |
| name_mode |
|
3 |
8 |
53 |
1 |
| name_map |
|
2 |
5 |
34 |
1 |
| Source file: ./usr.bin/mg/main.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usage |
|
1 |
6 |
19 |
0 |
| main |
|
33 |
123 |
684 |
2 |
| edinit |
|
3 |
18 |
102 |
1 |
| quit |
|
6 |
15 |
79 |
2 |
| ctrlg |
|
1 |
4 |
15 |
2 |
| Source file: ./usr.bin/mg/extend.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| insert |
|
13 |
32 |
217 |
2 |
| remap |
|
44 |
169 |
1242 |
4 |
| reallocmap |
|
6 |
34 |
275 |
1 |
| fixmap |
|
4 |
12 |
89 |
3 |
| dobind |
|
14 |
55 |
392 |
3 |
| bindkey |
|
7 |
24 |
180 |
4 |
| dobindkey |
|
17 |
38 |
243 |
3 |
| bindtokey |
|
1 |
4 |
22 |
2 |
| localbind |
|
1 |
5 |
31 |
2 |
| redefine_key |
|
5 |
20 |
171 |
2 |
| unbindtokey |
|
1 |
4 |
22 |
2 |
| localunbind |
|
1 |
5 |
31 |
2 |
| extend |
|
6 |
26 |
175 |
2 |
| evalexpr |
|
3 |
10 |
71 |
2 |
| evalbuffer |
|
4 |
16 |
121 |
2 |
| evalfile |
|
3 |
10 |
68 |
2 |
| load |
|
9 |
32 |
209 |
1 |
| excline |
|
64 |
211 |
1119 |
1 |
| skipwhite |
|
7 |
8 |
59 |
1 |
| parsetoken |
|
11 |
14 |
90 |
1 |
| Source file: ./usr.bin/mg/re_search.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| re_forwsearch |
|
3 |
13 |
66 |
2 |
| re_backsearch |
|
3 |
13 |
66 |
2 |
| re_searchagain |
|
6 |
23 |
108 |
2 |
| re_queryrepl |
|
18 |
61 |
353 |
2 |
| re_doreplace |
|
19 |
76 |
393 |
2 |
| re_forwsrch |
|
5 |
32 |
184 |
1 |
| re_backsrch |
|
6 |
39 |
263 |
1 |
| re_readpattern |
|
9 |
37 |
243 |
1 |
| setcasefold |
|
2 |
12 |
51 |
2 |
| delmatchlines |
|
2 |
9 |
43 |
2 |
| delnonmatchlines |
|
2 |
9 |
43 |
2 |
| killmatches |
|
9 |
30 |
203 |
1 |
| cntmatchlines |
|
2 |
8 |
43 |
2 |
| cntnonmatchlines |
|
2 |
8 |
43 |
2 |
| countmatches |
|
8 |
23 |
149 |
1 |
| Source file: ./usr.bin/mg/dir.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dirinit |
|
5 |
8 |
73 |
1 |
| changedir |
|
7 |
25 |
208 |
2 |
| showcwdir |
|
1 |
5 |
22 |
2 |
| getcwdir |
|
2 |
6 |
34 |
2 |
| makedir |
|
1 |
4 |
17 |
2 |
| ask_makedir |
|
4 |
13 |
88 |
1 |
| do_makedir |
|
18 |
55 |
318 |
1 |
| Source file: ./usr.bin/mg/key.h |
| Source file: ./usr.bin/mg/modes.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| changemode |
|
13 |
38 |
261 |
3 |
| indentmode |
|
1 |
4 |
22 |
2 |
| fillmode |
|
1 |
4 |
22 |
2 |
| notabmode |
|
4 |
13 |
67 |
2 |
| overwrite_mode |
|
4 |
13 |
67 |
2 |
| set_default_mode |
|
20 |
54 |
329 |
2 |
| Source file: ./usr.bin/mg/kbd.h |
| Source file: ./usr.bin/mg/fileio.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ffropen |
|
4 |
12 |
79 |
3 |
| ffstat |
|
3 |
11 |
88 |
2 |
| fupdstat |
|
3 |
12 |
70 |
1 |
| ffwopen |
|
7 |
25 |
182 |
3 |
| ffclose |
|
2 |
6 |
32 |
2 |
| ffputbuf |
|
6 |
21 |
158 |
2 |
| ffgetline |
|
7 |
17 |
111 |
4 |
| fbackupfile |
|
13 |
71 |
466 |
1 |
| adjustname |
|
9 |
25 |
158 |
2 |
| startupfile |
|
16 |
33 |
244 |
1 |
| copy |
|
10 |
39 |
289 |
2 |
| make_file_list |
|
23 |
77 |
511 |
1 |
| fisdir |
|
3 |
9 |
49 |
1 |
| fchecktime |
|
4 |
10 |
73 |
1 |
| bkuplocation |
|
12 |
33 |
229 |
1 |
| backuptohomedir |
|
5 |
19 |
102 |
2 |
| toggleleavetmp |
|
1 |
5 |
20 |
2 |
| bkupleavetmp |
|
3 |
8 |
42 |
1 |
| expandtilde |
|
16 |
55 |
392 |
1 |
| Source file: ./usr.bin/tic/dump_entry.h |
| Source file: ./usr.bin/tic/progs.priv.h |
| Source file: ./usr.bin/tic/transform.h |
| Source file: ./usr.bin/ktrace/extern.h |
| Source file: ./usr.bin/ktrace/ktrace.h |
| Source file: ./usr.bin/ktrace/subr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| getpoints |
|
12 |
42 |
139 |
2 |
| Source file: ./usr.bin/ktrace/ktrace.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
49 |
140 |
815 |
2 |
| rpid |
|
4 |
20 |
88 |
1 |
| usage |
|
2 |
13 |
39 |
1 |
| no_ktrace |
|
1 |
6 |
19 |
1 |
| Source file: ./usr.bin/yes/yes.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
5 |
11 |
62 |
2 |
| Source file: ./usr.bin/mg/display.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| linenotoggle |
|
2 |
9 |
37 |
2 |
| colnotoggle |
|
2 |
9 |
37 |
2 |
| vtresize |
|
21 |
54 |
423 |
3 |
| vtinit |
|
2 |
9 |
45 |
1 |
| vttidy |
|
1 |
10 |
40 |
1 |
| vtmove |
|
1 |
5 |
18 |
2 |
| vtputc |
|
9 |
24 |
150 |
1 |
| vtpute |
|
11 |
27 |
184 |
1 |
| vteeol |
|
2 |
7 |
34 |
1 |
| update |
|
58 |
214 |
1378 |
1 |
| ucopy |
|
1 |
9 |
65 |
2 |
| updext |
|
3 |
14 |
104 |
2 |
| uline |
|
28 |
64 |
470 |
3 |
| modeline |
|
19 |
64 |
428 |
2 |
| vtputs |
|
2 |
9 |
38 |
1 |
| hash |
|
6 |
19 |
135 |
1 |
| setscores |
|
11 |
72 |
470 |
2 |
| traceback |
|
18 |
55 |
388 |
4 |
| Source file: ./usr.bin/bgplg/bgplg.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| lg_urldecode |
|
11 |
36 |
234 |
1 |
| lg_getenv |
|
7 |
22 |
133 |
2 |
| lg_getarg |
|
5 |
18 |
109 |
3 |
| lg_arg2argv |
|
9 |
31 |
221 |
2 |
| lg_argextra |
|
5 |
18 |
162 |
3 |
| lg_incl |
|
3 |
13 |
86 |
1 |
| main |
|
31 |
119 |
719 |
1 |
| Source file: ./usr.bin/bgplg/bgplg.h |
| Source file: ./usr.bin/bgplg/misc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| lg_show_version |
|
2 |
8 |
58 |
2 |
| lg_checkperm |
|
4 |
10 |
66 |
1 |
| lg_help |
|
5 |
16 |
110 |
2 |
| lg_sig_alarm |
|
2 |
6 |
23 |
1 |
| lg_exec |
|
6 |
49 |
278 |
2 |
| lg_strip |
|
3 |
11 |
72 |
1 |
| Source file: ./usr.bin/tic/dump_entry.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| strncpy_DYN |
|
2 |
11 |
99 |
3 |
| strcpy_DYN |
|
2 |
9 |
49 |
2 |
| free_DYN |
|
2 |
8 |
41 |
1 |
| _nc_leaks_dump_entry |
|
1 |
5 |
18 |
1 |
| nametrans |
|
5 |
17 |
82 |
1 |
| dump_init |
|
24 |
79 |
370 |
6 |
| dump_predicate |
|
7 |
15 |
91 |
2 |
| version_filter |
|
32 |
62 |
334 |
2 |
| trim_trailing |
|
3 |
5 |
39 |
1 |
| force_wrap |
|
1 |
7 |
26 |
1 |
| wrap_concat |
|
3 |
12 |
71 |
1 |
| termcap_length |
|
2 |
12 |
63 |
1 |
| indent_DYN |
|
2 |
6 |
36 |
2 |
| has_params |
|
6 |
21 |
124 |
1 |
| fmt_complex |
|
23 |
80 |
461 |
2 |
| fmt_entry |
|
74 |
250 |
1611 |
6 |
| kill_string |
|
3 |
11 |
61 |
2 |
| find_string |
|
5 |
15 |
83 |
2 |
| kill_labels |
|
5 |
18 |
110 |
2 |
| kill_fkeys |
|
5 |
18 |
110 |
2 |
| one_one_mapping |
|
5 |
16 |
75 |
1 |
| purged_acs |
|
3 |
13 |
52 |
1 |
| dump_entry |
|
25 |
99 |
493 |
5 |
| dump_uses |
|
4 |
9 |
60 |
2 |
| show_entry |
|
1 |
7 |
35 |
1 |
| compare_entry |
|
7 |
35 |
235 |
3 |
| set_obsolete_termcaps |
|
1 |
4 |
10 |
1 |
| repair_acsc |
|
11 |
42 |
266 |
1 |
| Source file: ./usr.bin/bgplg/bgplgsh.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| lg_checkarg |
|
4 |
14 |
76 |
1 |
| lg_arg2argv |
|
12 |
36 |
251 |
2 |
| lg_argextra |
|
6 |
20 |
184 |
4 |
| lg_checkcmd |
|
12 |
27 |
207 |
4 |
| lg_completion |
|
4 |
15 |
88 |
2 |
| main |
|
12 |
54 |
342 |
1 |
| Source file: ./usr.bin/xargs/pathnames.h |
| Source file: ./usr.bin/tic/tic.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| free_namelist |
|
3 |
9 |
48 |
1 |
| cleanup |
|
5 |
10 |
43 |
1 |
| failed |
|
1 |
6 |
28 |
1 |
| usage |
|
5 |
39 |
123 |
1 |
| write_it |
|
15 |
43 |
279 |
1 |
| immedhook |
|
3 |
11 |
52 |
1 |
| put_translate |
|
12 |
52 |
353 |
1 |
| stripped |
|
6 |
16 |
94 |
1 |
| open_input |
|
4 |
15 |
94 |
1 |
| make_namelist |
|
19 |
55 |
358 |
1 |
| matches |
|
4 |
15 |
79 |
2 |
| open_tempfile |
|
4 |
10 |
58 |
1 |
| main |
|
92 |
285 |
1477 |
2 |
| check_acs |
|
10 |
31 |
220 |
1 |
| check_colors |
|
19 |
27 |
181 |
1 |
| keypad_final |
|
5 |
11 |
50 |
1 |
| keypad_index |
|
3 |
13 |
70 |
1 |
| check_keypad |
|
32 |
90 |
630 |
1 |
| expected_params |
|
3 |
81 |
471 |
1 |
| check_params |
|
18 |
45 |
272 |
3 |
| skip_delay |
|
3 |
6 |
30 |
1 |
| ignore_delays |
|
10 |
30 |
108 |
1 |
| similar_sgr |
|
12 |
57 |
256 |
3 |
| check_sgr |
|
7 |
32 |
187 |
5 |
| show_where |
|
2 |
10 |
44 |
1 |
| check_termtype |
|
40 |
124 |
810 |
2 |
| Source file: ./usr.bin/xargs/strnsubst.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| strnsubst |
|
11 |
33 |
236 |
4 |
| main |
|
2 |
22 |
135 |
1 |
| Source file: ./usr.bin/basename/basename.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
10 |
36 |
212 |
2 |
| usage |
|
1 |
5 |
23 |
1 |
| Source file: ./usr.bin/sdiff/extern.h |
| Source file: ./usr.bin/rup/rup.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| search_host |
|
4 |
11 |
63 |
1 |
| remember_host |
|
2 |
10 |
58 |
1 |
| compare |
|
4 |
17 |
99 |
2 |
| remember_rup_data |
|
4 |
19 |
113 |
2 |
| rstat_reply |
|
4 |
20 |
121 |
2 |
| print_rup_data |
|
11 |
47 |
355 |
2 |
| onehost |
|
4 |
26 |
158 |
1 |
| allhosts |
|
4 |
16 |
93 |
1 |
| main |
|
10 |
40 |
196 |
2 |
| usage |
|
1 |
5 |
18 |
1 |
| Source file: ./usr.bin/mg/dired.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dired_init |
|
1 |
21 |
139 |
1 |
| dired |
|
7 |
23 |
185 |
2 |
| d_otherwindow |
|
8 |
27 |
206 |
2 |
| d_del |
|
5 |
17 |
117 |
2 |
| d_undel |
|
5 |
15 |
110 |
2 |
| d_undelbak |
|
5 |
15 |
110 |
2 |
| d_findfile |
|
6 |
20 |
129 |
2 |
| d_ffotherwindow |
|
6 |
18 |
135 |
2 |
| d_expunge |
|
10 |
49 |
293 |
2 |
| d_copy |
|
8 |
33 |
250 |
2 |
| d_rename |
|
8 |
34 |
251 |
2 |
| reaper |
|
2 |
7 |
40 |
1 |
| d_shell_command |
|
6 |
27 |
206 |
2 |
| d_exec |
|
23 |
93 |
672 |
5 |
| d_create_directory |
|
3 |
11 |
67 |
2 |
| d_killbuffer_cmd |
|
1 |
4 |
20 |
2 |
| d_refreshbuffer |
|
2 |
7 |
47 |
2 |
| refreshbuffer |
|
7 |
32 |
200 |
1 |
| d_makename |
|
4 |
12 |
105 |
3 |
| d_warpdot |
|
6 |
18 |
104 |
2 |
| d_forwpage |
|
1 |
5 |
34 |
2 |
| d_backpage |
|
1 |
5 |
34 |
2 |
| d_forwline |
|
1 |
5 |
34 |
2 |
| d_backline |
|
1 |
5 |
34 |
2 |
| d_filevisitalt |
|
2 |
7 |
47 |
2 |
| dired_ |
|
14 |
61 |
457 |
1 |
| redelete |
|
8 |
41 |
261 |
1 |
| createlist |
|
9 |
43 |
282 |
1 |
| findfname |
|
2 |
9 |
49 |
2 |
| Source file: ./usr.bin/sdiff/common.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cleanup |
|
2 |
6 |
30 |
1 |
| Source file: ./usr.bin/sdiff/common.h |
| Source file: ./usr.bin/xargs/xargs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
44 |
126 |
741 |
2 |
| parse_input |
|
52 |
123 |
644 |
2 |
| prerun |
|
11 |
38 |
240 |
2 |
| run |
|
15 |
48 |
264 |
1 |
| waitchildren |
|
14 |
32 |
207 |
2 |
| prompt |
|
4 |
22 |
153 |
1 |
| usage |
|
1 |
8 |
20 |
1 |
| Source file: ./usr.bin/midiplay/midiplay.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usage |
|
1 |
8 |
29 |
1 |
| send_event |
|
4 |
14 |
85 |
3 |
| getvar |
|
3 |
10 |
66 |
1 |
| dometa |
|
17 |
40 |
190 |
3 |
| midireset |
|
1 |
5 |
34 |
1 |
| playfile |
|
5 |
26 |
150 |
2 |
| sigalrm |
|
1 |
3 |
7 |
1 |
| playdata |
|
31 |
129 |
862 |
3 |
| main |
|
19 |
74 |
389 |
2 |
| Source file: ./usr.bin/sdiff/edit.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| editit |
|
11 |
41 |
303 |
1 |
| eparse |
|
27 |
84 |
511 |
3 |
| Source file: ./usr.bin/lex/scanopt.h |
| Source file: ./usr.bin/lex/options.c |
| Source file: ./usr.bin/lex/version.h |
| Source file: ./usr.bin/cap_mkdb/cap_mkdb.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
12 |
37 |
236 |
2 |
| dounlink |
|
2 |
5 |
20 |
1 |
| db_build |
|
25 |
99 |
718 |
1 |
| usage |
|
1 |
6 |
21 |
1 |
| Source file: ./usr.bin/lex/tables_shared.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| yytbl_calc_total_len |
|
3 |
10 |
48 |
1 |
| Source file: ./usr.bin/lex/options.h |
| Source file: ./usr.bin/lex/filter.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| filter_create_ext |
|
7 |
37 |
252 |
3 |
| filter_create_int |
|
4 |
20 |
114 |
3 |
| filter_apply_chain |
|
9 |
39 |
276 |
1 |
| filter_truncate |
|
4 |
12 |
55 |
2 |
| filter_tee_header |
|
18 |
72 |
474 |
1 |
| filter_fix_linedirs |
|
21 |
66 |
391 |
1 |
| Source file: ./usr.bin/lex/tables.h |
| Source file: ./usr.bin/lex/yylex.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| yylex |
|
76 |
141 |
536 |
0 |
| Source file: ./usr.bin/sdiff/sdiff.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mktmpcpy |
|
13 |
47 |
287 |
1 |
| main |
|
50 |
155 |
989 |
2 |
| printcol |
|
6 |
19 |
99 |
3 |
| prompt |
|
14 |
45 |
204 |
2 |
| println |
|
6 |
22 |
116 |
3 |
| xfgets |
|
4 |
13 |
81 |
1 |
| parsecmd |
|
40 |
122 |
808 |
3 |
| enqueue |
|
2 |
10 |
71 |
3 |
| freediff |
|
1 |
6 |
28 |
1 |
| astrcat |
|
5 |
27 |
179 |
2 |
| processq |
|
16 |
37 |
230 |
1 |
| printa |
|
3 |
10 |
59 |
2 |
| printc |
|
10 |
45 |
307 |
4 |
| printd |
|
3 |
10 |
59 |
2 |
| int_usage |
|
1 |
12 |
19 |
1 |
| usage |
|
1 |
8 |
25 |
1 |
| Source file: ./usr.bin/lex/FlexLexer.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| FlexLexer::~FlexLexer |
|
1 |
1 |
5 |
0 |
| FlexLexer::YYText |
|
1 |
1 |
9 |
0 |
| FlexLexer::YYLeng |
|
1 |
1 |
9 |
0 |
| FlexLexer::yylex |
|
1 |
5 |
28 |
2 |
| FlexLexer::lineno |
|
1 |
1 |
9 |
0 |
| FlexLexer::debug |
|
1 |
1 |
9 |
0 |
| FlexLexer::set_debug |
|
1 |
1 |
11 |
1 |
| Source file: ./usr.bin/lex/regex.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| flex_init_regex |
|
1 |
6 |
29 |
1 |
| flex_regcomp |
|
4 |
20 |
160 |
3 |
| regmatch_dup |
|
4 |
14 |
101 |
2 |
| regmatch_cpy |
|
4 |
10 |
66 |
3 |
| regmatch_len |
|
3 |
7 |
34 |
1 |
| regmatch_strtol |
|
5 |
17 |
105 |
4 |
| regmatch_empty |
|
3 |
4 |
29 |
1 |
| Source file: ./usr.bin/lex/tables_shared.h |
| Source file: ./usr.bin/lex/sym.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| addsym |
|
5 |
34 |
190 |
5 |
| cclinstal |
|
1 |
7 |
43 |
2 |
| ccllookup |
|
1 |
5 |
27 |
1 |
| findsym |
|
3 |
18 |
103 |
3 |
| hashfunct |
|
2 |
14 |
66 |
2 |
| ndinstal |
|
2 |
9 |
51 |
2 |
| ndlookup |
|
1 |
5 |
27 |
1 |
| scextend |
|
1 |
10 |
57 |
0 |
| scinstal |
|
3 |
17 |
103 |
2 |
| sclookup |
|
1 |
5 |
23 |
1 |
| Source file: ./usr.bin/lex/scanflags.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sf_push |
|
2 |
7 |
55 |
1 |
| sf_pop |
|
1 |
5 |
16 |
1 |
| sf_init |
|
2 |
9 |
62 |
1 |
| Source file: ./usr.bin/lex/misc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sko_push |
|
4 |
16 |
87 |
1 |
| sko_peek |
|
3 |
7 |
35 |
1 |
| sko_pop |
|
2 |
7 |
27 |
1 |
| action_define |
|
2 |
17 |
93 |
2 |
| action_m4_define |
|
3 |
13 |
78 |
2 |
| add_action |
|
3 |
18 |
83 |
1 |
| allocate_array |
|
2 |
12 |
48 |
2 |
| all_lower |
|
4 |
10 |
48 |
1 |
| all_upper |
|
4 |
10 |
48 |
1 |
| intcmp |
|
1 |
4 |
31 |
2 |
| check_char |
|
3 |
11 |
47 |
1 |
| clower |
|
3 |
5 |
34 |
1 |
| copy_string |
|
4 |
15 |
104 |
1 |
| copy_unsigned_string |
|
3 |
10 |
65 |
1 |
| cclcmp |
|
3 |
9 |
62 |
2 |
| dataend |
|
3 |
10 |
34 |
0 |
| dataflush |
|
3 |
11 |
39 |
0 |
| flexerror |
|
1 |
6 |
27 |
1 |
| flexfatal |
|
1 |
7 |
30 |
1 |
| htoi |
|
1 |
7 |
35 |
1 |
| lerrif |
|
1 |
8 |
41 |
2 |
| lerrsf |
|
1 |
8 |
56 |
2 |
| lerrsf_fatal |
|
1 |
8 |
56 |
2 |
| line_directive_out |
|
10 |
30 |
182 |
2 |
| mark_defs1 |
|
1 |
7 |
30 |
0 |
| mark_prolog |
|
1 |
6 |
24 |
0 |
| mk2data |
|
4 |
16 |
60 |
1 |
| mkdata |
|
4 |
16 |
60 |
1 |
| myctoi |
|
1 |
7 |
32 |
1 |
| myesc |
|
24 |
58 |
236 |
1 |
| otoi |
|
1 |
7 |
35 |
1 |
| out |
|
1 |
5 |
18 |
1 |
| out_dec |
|
1 |
6 |
25 |
2 |
| out_dec2 |
|
1 |
6 |
31 |
3 |
| out_hex |
|
1 |
6 |
26 |
2 |
| out_str |
|
1 |
5 |
26 |
2 |
| out_str3 |
|
1 |
5 |
42 |
4 |
| out_str_dec |
|
1 |
6 |
33 |
3 |
| outc |
|
1 |
5 |
16 |
1 |
| outn |
|
1 |
6 |
25 |
1 |
| out_m4_define |
|
2 |
5 |
36 |
2 |
| readable_form |
|
13 |
32 |
135 |
1 |
| reallocate_array |
|
2 |
12 |
56 |
3 |
| skelout |
|
41 |
78 |
553 |
0 |
| transition_struct_out |
|
4 |
14 |
66 |
2 |
| yy_flex_xmalloc |
|
2 |
9 |
37 |
1 |
| chomp |
|
7 |
13 |
66 |
1 |
| Source file: ./usr.bin/lex/ccl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ccl_contains |
|
3 |
10 |
70 |
2 |
| ccladd |
|
5 |
23 |
127 |
2 |
| dump_cclp |
|
6 |
18 |
120 |
2 |
| ccl_set_diff |
|
5 |
19 |
123 |
2 |
| ccl_set_union |
|
4 |
20 |
154 |
2 |
| cclinit |
|
3 |
24 |
114 |
0 |
| cclnegate |
|
1 |
6 |
27 |
1 |
| list_character_set |
|
6 |
20 |
122 |
2 |
| range_covers_case |
|
5 |
12 |
62 |
2 |
| reverse_case |
|
3 |
4 |
32 |
1 |
| has_case |
|
3 |
4 |
24 |
1 |
| Source file: ./usr.bin/lex/buf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| buf_print_strings |
|
5 |
12 |
78 |
2 |
| buf_prints |
|
2 |
13 |
88 |
3 |
| buf_linedir |
|
4 |
23 |
162 |
3 |
| buf_concat |
|
1 |
5 |
31 |
2 |
| buf_strnappend |
|
1 |
6 |
36 |
3 |
| buf_strappend |
|
1 |
4 |
27 |
2 |
| buf_strdefine |
|
1 |
10 |
64 |
3 |
| buf_m4_define |
|
3 |
14 |
106 |
3 |
| buf_m4_undefine |
|
2 |
13 |
86 |
2 |
| buf_init |
|
1 |
7 |
36 |
2 |
| buf_destroy |
|
1 |
5 |
22 |
1 |
| buf_append |
|
7 |
27 |
186 |
3 |
| Source file: ./usr.bin/lex/scanopt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| STRCASECMP |
|
2 |
7 |
46 |
2 |
| NAME |
|
2 |
7 |
45 |
2 |
| PRINTLEN |
|
1 |
6 |
26 |
2 |
| RVAL |
|
1 |
6 |
26 |
2 |
| FLAGS |
|
1 |
6 |
26 |
2 |
| DESC |
|
2 |
6 |
37 |
2 |
| get_cols |
|
4 |
12 |
54 |
0 |
| scanopt_init |
|
15 |
62 |
457 |
4 |
| scanopt_usage |
|
53 |
190 |
1274 |
3 |
| scanopt_err |
|
10 |
51 |
244 |
4 |
| matchlongopt |
|
8 |
27 |
157 |
5 |
| find_opt |
|
17 |
51 |
313 |
6 |
| scanopt |
|
24 |
100 |
604 |
3 |
| scanopt_destroy |
|
2 |
10 |
42 |
1 |
| Source file: ./usr.bin/lex/libyywrap.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| yywrap |
|
1 |
4 |
9 |
1 |
| Source file: ./usr.bin/lex/libmain.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
2 |
7 |
29 |
2 |
| Source file: ./usr.bin/lex/dfa.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| check_for_backing_up |
|
6 |
15 |
87 |
2 |
| check_trailing_context |
|
7 |
23 |
132 |
4 |
| dump_associated_rules |
|
8 |
29 |
205 |
2 |
| dump_transitions |
|
3 |
18 |
128 |
2 |
| epsclosure |
|
12 |
47 |
289 |
5 |
| increase_max_dfas |
|
2 |
16 |
88 |
0 |
| ntod |
|
60 |
252 |
1431 |
0 |
| snstods |
|
19 |
67 |
478 |
6 |
| symfollowset |
|
14 |
46 |
278 |
4 |
| sympartition |
|
14 |
53 |
355 |
4 |
| Source file: ./usr.bin/lex/ecs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ccl2ecl |
|
4 |
17 |
106 |
1 |
| cre8ecs |
|
4 |
12 |
89 |
3 |
| mkeccl |
|
17 |
46 |
301 |
6 |
| mkechar |
|
3 |
9 |
73 |
3 |
| Source file: ./usr.bin/lex/flexint.h |
| Source file: ./usr.bin/lex/tblcmp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bldtbl |
|
12 |
61 |
360 |
5 |
| cmptmps |
|
9 |
32 |
189 |
0 |
| expand_nxt_chk |
|
1 |
9 |
53 |
0 |
| find_table_space |
|
14 |
40 |
206 |
2 |
| inittbl |
|
3 |
16 |
89 |
0 |
| mkdeftbl |
|
3 |
19 |
101 |
0 |
| mkentry |
|
31 |
66 |
468 |
5 |
| mk1tbl |
|
6 |
18 |
104 |
4 |
| mkprot |
|
5 |
20 |
137 |
3 |
| mktemplate |
|
5 |
29 |
190 |
3 |
| mv2front |
|
4 |
15 |
90 |
1 |
| place_state |
|
4 |
18 |
124 |
3 |
| stack1 |
|
2 |
13 |
74 |
4 |
| tbldiff |
|
3 |
16 |
103 |
3 |
| Source file: ./usr.bin/lex/config.h |
| Source file: ./usr.bin/lex/gen.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| get_int16_decl |
|
2 |
6 |
15 |
1 |
| get_int32_decl |
|
2 |
6 |
15 |
1 |
| get_state_decl |
|
2 |
6 |
15 |
1 |
| do_indent |
|
3 |
12 |
45 |
0 |
| mkeoltbl |
|
3 |
18 |
112 |
1 |
| geneoltbl |
|
5 |
17 |
91 |
0 |
| gen_backing_up |
|
4 |
15 |
58 |
0 |
| gen_bu_action |
|
5 |
17 |
72 |
0 |
| mkctbl |
|
11 |
54 |
461 |
1 |
| mkssltbl |
|
2 |
19 |
122 |
1 |
| genctbl |
|
15 |
53 |
387 |
0 |
| mkecstbl |
|
2 |
21 |
129 |
1 |
| genecs |
|
5 |
23 |
150 |
0 |
| gen_find_action |
|
8 |
97 |
377 |
0 |
| mkftbl |
|
5 |
26 |
163 |
1 |
| genftbl |
|
6 |
18 |
105 |
0 |
| gen_next_compressed_state |
|
2 |
22 |
86 |
1 |
| gen_next_match |
|
13 |
70 |
282 |
0 |
| gen_next_state |
|
17 |
53 |
203 |
1 |
| gen_NUL_trans |
|
14 |
52 |
236 |
0 |
| gen_start_state |
|
5 |
23 |
71 |
0 |
| gentabs |
|
72 |
284 |
1878 |
0 |
| indent_put2s |
|
1 |
7 |
32 |
2 |
| indent_puts |
|
1 |
6 |
20 |
1 |
| make_tables |
|
81 |
497 |
2231 |
0 |
| Source file: ./usr.bin/lex/nfa.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| add_accept |
|
2 |
11 |
63 |
2 |
| copysingl |
|
2 |
9 |
53 |
2 |
| dumpnfa |
|
3 |
21 |
132 |
1 |
| dupmachine |
|
6 |
26 |
195 |
1 |
| finish_rule |
|
13 |
60 |
336 |
5 |
| link_machines |
|
3 |
15 |
94 |
2 |
| mark_beginning_as_normal |
|
6 |
21 |
92 |
1 |
| mkbranch |
|
3 |
13 |
59 |
2 |
| mkclos |
|
1 |
5 |
18 |
1 |
| mkopt |
|
2 |
13 |
70 |
1 |
| mkor |
|
7 |
30 |
188 |
2 |
| mkposcl |
|
2 |
13 |
62 |
1 |
| mkrep |
|
3 |
22 |
130 |
3 |
| mkstate |
|
7 |
42 |
231 |
1 |
| mkxtion |
|
4 |
13 |
71 |
2 |
| new_rule |
|
3 |
20 |
94 |
0 |
| Source file: ./usr.bin/mktemp/mktemp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
25 |
77 |
429 |
2 |
| fatal |
|
2 |
10 |
45 |
2 |
| fatalx |
|
2 |
10 |
45 |
2 |
| usage |
|
1 |
7 |
28 |
1 |
| Source file: ./usr.bin/uniq/uniq.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
23 |
89 |
471 |
2 |
| show |
|
6 |
9 |
62 |
2 |
| skip |
|
10 |
25 |
160 |
1 |
| file |
|
4 |
9 |
68 |
2 |
| obsolete |
|
8 |
21 |
159 |
1 |
| usage |
|
1 |
8 |
28 |
1 |
| Source file: ./usr.bin/lex/main.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| flex_main |
|
15 |
36 |
200 |
2 |
| main |
|
4 |
15 |
82 |
2 |
| check_options |
|
61 |
167 |
1077 |
0 |
| flexend |
|
63 |
372 |
1562 |
1 |
| flexinit |
|
106 |
395 |
1731 |
2 |
| readin |
|
51 |
170 |
715 |
0 |
| set_up_initial_allocations |
|
2 |
47 |
290 |
0 |
| basename2 |
|
7 |
15 |
83 |
2 |
| usage |
|
3 |
66 |
130 |
0 |
| Source file: ./usr.bin/diff/xmalloc.h |
| Source file: ./usr.bin/vacation/vacation.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
22 |
81 |
495 |
2 |
| readheaders |
|
57 |
116 |
757 |
1 |
| nsearch |
|
3 |
8 |
52 |
2 |
| junkmail |
|
8 |
34 |
196 |
1 |
| recent |
|
5 |
20 |
149 |
1 |
| setinterval |
|
1 |
9 |
63 |
1 |
| setreply |
|
1 |
11 |
74 |
1 |
| sendmessage |
|
8 |
52 |
326 |
1 |
| usage |
|
1 |
6 |
22 |
1 |
| Source file: ./usr.bin/diff/xmalloc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| xmalloc |
|
3 |
10 |
49 |
1 |
| xcalloc |
|
2 |
8 |
43 |
2 |
| xreallocarray |
|
2 |
9 |
49 |
3 |
| xstrdup |
|
2 |
7 |
36 |
1 |
| xasprintf |
|
3 |
11 |
65 |
3 |
| Source file: ./usr.bin/lex/tables.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| yytbl_writer_init |
|
1 |
6 |
28 |
2 |
| yytbl_hdr_init |
|
1 |
13 |
102 |
3 |
| yytbl_data_init |
|
1 |
7 |
41 |
2 |
| yytbl_data_destroy |
|
1 |
7 |
30 |
1 |
| yytbl_write_pad64 |
|
3 |
11 |
54 |
1 |
| yytbl_hdr_fwrite |
|
10 |
29 |
254 |
2 |
| yytbl_data_fwrite |
|
16 |
59 |
406 |
2 |
| yytbl_writen |
|
2 |
9 |
53 |
3 |
| yytbl_write32 |
|
2 |
12 |
69 |
2 |
| yytbl_write16 |
|
2 |
12 |
69 |
2 |
| yytbl_write8 |
|
2 |
10 |
59 |
2 |
| yytbl_data_geti |
|
4 |
15 |
105 |
2 |
| yytbl_data_seti |
|
4 |
18 |
123 |
3 |
| min_int_size |
|
5 |
18 |
98 |
1 |
| yytbl_data_compress |
|
4 |
27 |
186 |
1 |
| Source file: ./usr.bin/diff/diff.h |
| Source file: ./usr.bin/lex/flexdef.h |
| Source file: ./usr.bin/printenv/printenv.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
9 |
23 |
157 |
2 |
| Source file: ./usr.bin/diff/diff.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
73 |
178 |
1029 |
2 |
| set_argstr |
|
3 |
14 |
97 |
2 |
| read_excludes_file |
|
6 |
20 |
140 |
1 |
| push_excludes |
|
1 |
8 |
40 |
1 |
| push_ignore_pats |
|
2 |
12 |
70 |
1 |
| print_only |
|
2 |
6 |
40 |
3 |
| print_status |
|
10 |
35 |
153 |
4 |
| usage |
|
1 |
12 |
27 |
1 |
| Source file: ./usr.bin/ipcrm/ipcrm.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usage |
|
1 |
8 |
26 |
1 |
| msgrm |
|
3 |
9 |
50 |
2 |
| shmrm |
|
3 |
9 |
52 |
2 |
| semrm |
|
3 |
10 |
58 |
2 |
| not_configured |
|
1 |
4 |
10 |
1 |
| main |
|
20 |
70 |
371 |
2 |
| Source file: ./usr.bin/diff/diffdir.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| diffdir |
|
34 |
96 |
647 |
3 |
| diffit |
|
16 |
41 |
309 |
6 |
| selectfile |
|
8 |
13 |
118 |
1 |
| Source file: ./usr.bin/whois/whois.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
27 |
75 |
348 |
2 |
| whois |
|
30 |
107 |
762 |
4 |
| choose_server |
|
26 |
47 |
406 |
3 |
| usage |
|
1 |
8 |
26 |
1 |
| Source file: ./usr.bin/biff/biff.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
14 |
38 |
256 |
2 |
| usage |
|
1 |
5 |
21 |
1 |
| Source file: ./usr.bin/mail/pathnames.h |
| Source file: ./usr.bin/tee/tee.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| add |
|
2 |
9 |
61 |
2 |
| main |
|
14 |
66 |
390 |
2 |
| Source file: ./usr.bin/mail/getname.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| getname |
|
2 |
7 |
37 |
1 |
| getuserid |
|
2 |
7 |
38 |
1 |
| Source file: ./usr.bin/apply/apply.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
46 |
97 |
770 |
2 |
| mysystem |
|
8 |
36 |
250 |
1 |
| usage |
|
1 |
6 |
21 |
1 |
| Source file: ./usr.bin/mail/version.c |
| Source file: ./usr.bin/mail/def.h |
| Source file: ./usr.bin/mail/rcv.h |
| Source file: ./usr.bin/mail/send.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sendmessage |
|
50 |
142 |
971 |
4 |
| statusput |
|
6 |
16 |
110 |
3 |
| mail |
|
1 |
13 |
85 |
6 |
| sendmail |
|
1 |
13 |
72 |
1 |
| mail1 |
|
22 |
92 |
590 |
2 |
| fixhead |
|
5 |
17 |
157 |
2 |
| infix |
|
7 |
43 |
296 |
2 |
| puthead |
|
13 |
20 |
199 |
3 |
| fmt |
|
8 |
24 |
158 |
4 |
| savemail |
|
5 |
28 |
209 |
2 |
| sendint |
|
1 |
4 |
11 |
1 |
| Source file: ./usr.bin/mail/temp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tinit |
|
13 |
31 |
184 |
1 |
| Source file: ./usr.bin/newsyslog/newsyslog.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
29 |
82 |
556 |
2 |
| do_entry |
|
40 |
61 |
533 |
1 |
| run_command |
|
2 |
7 |
28 |
1 |
| send_signal |
|
15 |
40 |
259 |
2 |
| parse_args |
|
12 |
45 |
231 |
2 |
| usage |
|
1 |
7 |
30 |
1 |
| parse_file |
|
76 |
285 |
1852 |
2 |
| missing_field |
|
3 |
9 |
54 |
3 |
| rotate |
|
11 |
38 |
328 |
2 |
| dotrim |
|
18 |
47 |
422 |
1 |
| log_trim |
|
3 |
11 |
75 |
1 |
| compress_log |
|
6 |
26 |
166 |
1 |
| sizefile |
|
2 |
7 |
38 |
1 |
| age_old_log |
|
7 |
20 |
175 |
1 |
| sob |
|
3 |
8 |
39 |
1 |
| son |
|
4 |
6 |
34 |
1 |
| isnumberstr |
|
3 |
8 |
39 |
1 |
| domonitor |
|
18 |
79 |
497 |
1 |
| child_killer |
|
2 |
8 |
35 |
1 |
| stat_suffix |
|
3 |
10 |
87 |
5 |
| lstat_log |
|
6 |
16 |
114 |
3 |
| parse8601 |
|
30 |
58 |
403 |
1 |
| parseDWM |
|
26 |
84 |
514 |
1 |
| movefile |
|
15 |
34 |
306 |
5 |
| Source file: ./usr.bin/mail/strings.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| salloc |
|
8 |
32 |
213 |
1 |
| sreset |
|
4 |
15 |
77 |
1 |
| spreserve |
|
2 |
6 |
38 |
1 |
| Source file: ./usr.bin/mail/quit.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| quitcmd |
|
2 |
6 |
23 |
1 |
| quit |
|
55 |
212 |
1451 |
1 |
| writeback |
|
14 |
42 |
293 |
1 |
| edstop |
|
23 |
95 |
633 |
1 |
| Source file: ./usr.bin/diff/diffreg.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| diffreg |
|
27 |
111 |
807 |
3 |
| files_differ |
|
12 |
20 |
179 |
3 |
| opentemp |
|
6 |
26 |
188 |
1 |
| splice |
|
4 |
14 |
92 |
2 |
| prepare |
|
5 |
20 |
151 |
4 |
| prune |
|
9 |
18 |
186 |
1 |
| equiv |
|
8 |
25 |
200 |
5 |
| isqrt |
|
4 |
13 |
71 |
1 |
| stone |
|
10 |
44 |
293 |
5 |
| newcand |
|
2 |
13 |
79 |
3 |
| search |
|
6 |
21 |
125 |
3 |
| unravel |
|
5 |
10 |
102 |
1 |
| check |
|
39 |
91 |
562 |
3 |
| sort |
|
10 |
29 |
233 |
2 |
| unsort |
|
3 |
10 |
95 |
3 |
| skipline |
|
3 |
7 |
44 |
1 |
| output |
|
20 |
49 |
429 |
5 |
| range |
|
3 |
6 |
42 |
3 |
| uni_range |
|
3 |
9 |
51 |
2 |
| preadline |
|
4 |
12 |
85 |
3 |
| ignoreline |
|
1 |
7 |
39 |
1 |
| change |
|
45 |
108 |
742 |
9 |
| fetch |
|
30 |
62 |
418 |
7 |
| readhash |
|
21 |
54 |
272 |
2 |
| asciifile |
|
2 |
10 |
64 |
1 |
| match_function |
|
15 |
40 |
269 |
3 |
| dump_context_vec |
|
22 |
85 |
600 |
3 |
| dump_unified_vec |
|
11 |
54 |
434 |
3 |
| print_header |
|
7 |
15 |
116 |
2 |
| Source file: ./usr.bin/mail/vars.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| assign |
|
3 |
17 |
110 |
2 |
| vfree |
|
2 |
5 |
21 |
1 |
| vcopy |
|
3 |
9 |
49 |
1 |
| value |
|
6 |
17 |
111 |
1 |
| lookup |
|
4 |
8 |
64 |
1 |
| findgroup |
|
4 |
8 |
64 |
1 |
| printgroup |
|
3 |
13 |
83 |
1 |
| hash |
|
3 |
11 |
57 |
1 |
| Source file: ./usr.bin/mail/names.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| nalloc |
|
1 |
10 |
64 |
2 |
| tailof |
|
3 |
10 |
48 |
1 |
| extract |
|
6 |
24 |
149 |
2 |
| detract |
|
16 |
37 |
238 |
2 |
| yankword |
|
15 |
35 |
189 |
2 |
| outof |
|
20 |
107 |
670 |
3 |
| isfileaddr |
|
7 |
13 |
77 |
1 |
| usermap |
|
4 |
25 |
144 |
1 |
| gexpand |
|
10 |
34 |
215 |
4 |
| cat |
|
3 |
12 |
65 |
2 |
| elide |
|
14 |
60 |
340 |
1 |
| put |
|
2 |
8 |
43 |
2 |
| count |
|
3 |
8 |
48 |
1 |
| delname |
|
10 |
24 |
175 |
2 |
| prettyprint |
|
2 |
10 |
54 |
1 |
| Source file: ./usr.bin/mail/lex.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| setfile |
|
18 |
73 |
484 |
1 |
| incfile |
|
6 |
29 |
159 |
1 |
| commands |
|
23 |
64 |
318 |
1 |
| execute |
|
58 |
159 |
960 |
2 |
| setmsize |
|
2 |
10 |
63 |
1 |
| lex |
|
4 |
11 |
75 |
1 |
| isprefix |
|
3 |
10 |
58 |
2 |
| dointr |
|
4 |
15 |
62 |
1 |
| announce |
|
3 |
13 |
72 |
1 |
| newfileinfo |
|
20 |
54 |
406 |
1 |
| pversion |
|
1 |
6 |
27 |
1 |
| load |
|
2 |
15 |
72 |
1 |
| Source file: ./usr.bin/mail/tty.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| grabh |
|
21 |
80 |
571 |
2 |
| readtty |
|
16 |
76 |
530 |
2 |
| ttystop |
|
1 |
19 |
137 |
1 |
| ttyint |
|
1 |
4 |
11 |
1 |
| tty_flush |
|
10 |
26 |
211 |
1 |
| tty_getc |
|
3 |
14 |
59 |
1 |
| tty_insert |
|
17 |
32 |
267 |
3 |
| tty_putc |
|
1 |
5 |
30 |
2 |
| tty_reset |
|
1 |
5 |
32 |
1 |
| tty_visc |
|
5 |
16 |
95 |
2 |
| Source file: ./usr.bin/mail/fio.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| myread |
|
3 |
7 |
45 |
3 |
| setptr |
|
28 |
83 |
615 |
2 |
| putline |
|
3 |
13 |
80 |
3 |
| readline |
|
13 |
50 |
392 |
4 |
| setinput |
|
2 |
8 |
51 |
1 |
| makemessage |
|
5 |
22 |
182 |
2 |
| append |
|
1 |
4 |
37 |
2 |
| rm |
|
5 |
17 |
95 |
1 |
| holdsigs |
|
2 |
10 |
56 |
1 |
| relsesigs |
|
2 |
5 |
23 |
1 |
| ignoresig |
|
3 |
17 |
117 |
3 |
| fsize |
|
2 |
7 |
39 |
1 |
| expand |
|
19 |
53 |
378 |
1 |
| getfold |
|
4 |
12 |
76 |
2 |
| getdeadletter |
|
4 |
12 |
86 |
1 |
| fioint |
|
1 |
4 |
11 |
1 |
| Source file: ./usr.bin/mail/glob.h |
| Source file: ./usr.bin/mail/popen.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| Fopen |
|
2 |
9 |
62 |
2 |
| Fdopen |
|
2 |
9 |
61 |
2 |
| Fclose |
|
1 |
5 |
21 |
1 |
| Popen |
|
5 |
31 |
233 |
2 |
| Pclose |
|
1 |
15 |
91 |
1 |
| close_all_files |
|
3 |
8 |
37 |
1 |
| register_file |
|
2 |
11 |
71 |
3 |
| unregister_file |
|
3 |
11 |
73 |
1 |
| file_pid |
|
3 |
8 |
49 |
1 |
| start_commandv |
|
4 |
20 |
150 |
5 |
| run_command |
|
2 |
11 |
73 |
5 |
| start_command |
|
1 |
9 |
58 |
5 |
| prepare_child |
|
11 |
24 |
166 |
3 |
| wait_command |
|
2 |
8 |
34 |
1 |
| findchild |
|
7 |
23 |
154 |
2 |
| delchild |
|
2 |
9 |
54 |
1 |
| sigchild |
|
4 |
19 |
93 |
1 |
| wait_child |
|
7 |
21 |
138 |
1 |
| free_child |
|
3 |
15 |
87 |
1 |
| handle_spool_locks |
|
7 |
35 |
183 |
1 |
| spool_lock |
|
1 |
4 |
14 |
1 |
| spool_unlock |
|
1 |
4 |
14 |
1 |
| Source file: ./usr.bin/mail/cmd2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| next |
|
13 |
42 |
268 |
1 |
| save |
|
1 |
5 |
28 |
1 |
| copycmd |
|
1 |
5 |
28 |
1 |
| save1 |
|
14 |
49 |
351 |
4 |
| swrite |
|
1 |
5 |
28 |
1 |
| snarf |
|
7 |
20 |
125 |
2 |
| deletecmd |
|
1 |
6 |
24 |
1 |
| deltype |
|
3 |
18 |
108 |
1 |
| delm |
|
4 |
26 |
153 |
1 |
| undeletecmd |
|
3 |
13 |
74 |
1 |
| retfield |
|
1 |
5 |
28 |
1 |
| igfield |
|
1 |
5 |
26 |
1 |
| saveretfield |
|
1 |
5 |
28 |
1 |
| saveigfield |
|
1 |
5 |
26 |
1 |
| ignore1 |
|
6 |
25 |
179 |
3 |
| igshow |
|
5 |
20 |
166 |
2 |
| igcomp |
|
1 |
4 |
34 |
2 |
| Source file: ./usr.bin/mail/cmdtab.c |
| Source file: ./usr.bin/mail/head.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ishead |
|
9 |
20 |
130 |
1 |
| fail |
|
1 |
3 |
12 |
2 |
| parse |
|
5 |
20 |
149 |
3 |
| copyin |
|
2 |
9 |
51 |
2 |
| isdate |
|
3 |
9 |
46 |
1 |
| cmatch |
|
25 |
47 |
258 |
2 |
| nextword |
|
12 |
25 |
156 |
2 |
| Source file: ./usr.bin/mail/cmd1.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| headers |
|
16 |
52 |
354 |
1 |
| scroll |
|
7 |
32 |
142 |
1 |
| screensize |
|
2 |
8 |
49 |
1 |
| from |
|
3 |
10 |
61 |
1 |
| printhead |
|
16 |
52 |
426 |
1 |
| pdot |
|
1 |
5 |
33 |
1 |
| pcmdlist |
|
4 |
19 |
120 |
1 |
| pipeit |
|
1 |
6 |
38 |
2 |
| more |
|
1 |
5 |
28 |
1 |
| More |
|
1 |
5 |
28 |
1 |
| type |
|
1 |
5 |
28 |
1 |
| Type |
|
1 |
5 |
28 |
1 |
| type1 |
|
20 |
49 |
368 |
4 |
| top |
|
11 |
35 |
225 |
1 |
| stouch |
|
2 |
11 |
62 |
1 |
| mboxit |
|
2 |
11 |
64 |
1 |
| folders |
|
4 |
12 |
114 |
1 |
| inc |
|
3 |
14 |
73 |
1 |
| hdrint |
|
1 |
4 |
11 |
1 |
| Source file: ./usr.bin/mail/extern.h |
| Source file: ./usr.bin/mail/main.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
33 |
121 |
669 |
2 |
| setscreensize |
|
8 |
24 |
143 |
1 |
| usage |
|
1 |
8 |
39 |
1 |
| Source file: ./usr.bin/mail/aux.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| savestr |
|
2 |
8 |
52 |
1 |
| save2str |
|
4 |
14 |
103 |
2 |
| touch |
|
2 |
6 |
35 |
1 |
| isdir |
|
2 |
7 |
39 |
1 |
| argcount |
|
2 |
7 |
35 |
1 |
| hfield |
|
6 |
20 |
149 |
2 |
| gethfield |
|
20 |
43 |
292 |
4 |
| ishfield |
|
4 |
13 |
79 |
3 |
| istrlcpy |
|
8 |
19 |
116 |
3 |
| source |
|
4 |
26 |
148 |
1 |
| unstack |
|
4 |
18 |
92 |
1 |
| alter |
|
1 |
8 |
57 |
1 |
| blankline |
|
4 |
8 |
46 |
1 |
| nameof |
|
6 |
14 |
96 |
2 |
| skip_comment |
|
7 |
19 |
71 |
1 |
| skin |
|
33 |
87 |
506 |
1 |
| name1 |
|
21 |
52 |
429 |
2 |
| charcount |
|
3 |
9 |
49 |
2 |
| copy |
|
2 |
6 |
34 |
2 |
| isign |
|
3 |
11 |
79 |
2 |
| member |
|
4 |
9 |
71 |
2 |
| clearnew |
|
3 |
10 |
56 |
1 |
| Source file: ./usr.bin/mail/v7.local.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| findmail |
|
6 |
12 |
97 |
3 |
| demail |
|
4 |
9 |
54 |
1 |
| username |
|
5 |
15 |
103 |
1 |
| Source file: ./usr.bin/mail/list.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| getmsglist |
|
5 |
17 |
118 |
3 |
| markall |
|
62 |
192 |
1137 |
2 |
| evalcol |
|
4 |
10 |
60 |
1 |
| check |
|
5 |
14 |
86 |
2 |
| getrawlist |
|
42 |
98 |
558 |
3 |
| scan |
|
20 |
63 |
384 |
1 |
| regret |
|
2 |
9 |
54 |
1 |
| scaninit |
|
1 |
4 |
11 |
1 |
| first |
|
6 |
15 |
117 |
2 |
| matchsender |
|
2 |
8 |
53 |
2 |
| matchto |
|
5 |
15 |
97 |
2 |
| matchsubj |
|
6 |
25 |
174 |
2 |
| mark |
|
3 |
8 |
42 |
1 |
| unmark |
|
3 |
8 |
42 |
1 |
| metamess |
|
9 |
30 |
214 |
2 |
| Source file: ./usr.bin/mail/edit.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| editor |
|
1 |
5 |
24 |
1 |
| visual |
|
1 |
5 |
24 |
1 |
| edit1 |
|
15 |
58 |
400 |
2 |
| run_editor |
|
21 |
78 |
496 |
4 |
| editit |
|
12 |
42 |
311 |
2 |
| Source file: ./usr.bin/mail/collect.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| collect |
|
84 |
241 |
1413 |
2 |
| exwrite |
|
9 |
38 |
235 |
3 |
| mesedit |
|
2 |
15 |
108 |
2 |
| mespipe |
|
5 |
34 |
243 |
2 |
| forward |
|
10 |
36 |
254 |
4 |
| collabort |
|
5 |
21 |
97 |
1 |
| savedeadletter |
|
4 |
18 |
104 |
1 |
| gethfromtty |
|
3 |
9 |
46 |
2 |
| Source file: ./usr.bin/write/write.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
15 |
48 |
363 |
2 |
| utmp_chk |
|
5 |
15 |
129 |
2 |
| search_utmp |
|
13 |
43 |
306 |
5 |
| term_chk |
|
3 |
14 |
103 |
4 |
| do_write |
|
10 |
40 |
327 |
3 |
| done |
|
2 |
8 |
34 |
1 |
| wr_fputs |
|
7 |
19 |
98 |
1 |
| isu8cont |
|
1 |
4 |
21 |
1 |
| Source file: ./usr.bin/which/which.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
14 |
35 |
254 |
2 |
| findprog |
|
18 |
46 |
340 |
4 |
| usage |
|
1 |
5 |
23 |
1 |
| Source file: ./usr.bin/mail/cmd3.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| shell |
|
2 |
18 |
143 |
1 |
| dosh |
|
1 |
13 |
97 |
1 |
| bangexp |
|
9 |
43 |
248 |
2 |
| help |
|
1 |
5 |
36 |
1 |
| schdir |
|
5 |
18 |
92 |
1 |
| respond |
|
2 |
8 |
40 |
1 |
| _respond |
|
15 |
54 |
428 |
1 |
| reedit |
|
3 |
14 |
83 |
1 |
| marknew |
|
2 |
11 |
70 |
1 |
| preserve |
|
3 |
18 |
93 |
1 |
| unread |
|
2 |
11 |
66 |
1 |
| messize |
|
2 |
12 |
76 |
1 |
| rexit |
|
2 |
6 |
22 |
1 |
| set |
|
12 |
41 |
299 |
1 |
| unset |
|
6 |
32 |
199 |
1 |
| group |
|
12 |
44 |
362 |
1 |
| sort |
|
3 |
9 |
54 |
1 |
| diction |
|
1 |
4 |
34 |
2 |
| null |
|
1 |
4 |
13 |
1 |
| file |
|
3 |
13 |
63 |
1 |
| echo |
|
4 |
15 |
85 |
1 |
| Respond |
|
2 |
8 |
40 |
1 |
| _Respond |
|
5 |
28 |
217 |
1 |
| ifcmd |
|
6 |
23 |
97 |
1 |
| elsecmd |
|
4 |
19 |
63 |
1 |
| endifcmd |
|
2 |
9 |
35 |
1 |
| alternates |
|
8 |
25 |
175 |
1 |
| Source file: ./usr.bin/mixerctl/mixerctl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| catstr |
|
1 |
6 |
44 |
3 |
| findfield |
|
3 |
8 |
60 |
1 |
| prfield |
|
16 |
43 |
364 |
4 |
| adjlevel |
|
13 |
23 |
170 |
3 |
| rdfield |
|
23 |
73 |
602 |
5 |
| main |
|
48 |
129 |
966 |
2 |
| usage |
|
1 |
11 |
34 |
1 |
| Source file: ./usr.bin/find/find.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| find_formplan |
|
6 |
34 |
196 |
1 |
| find_execute |
|
24 |
68 |
391 |
2 |
| find_traverse |
|
9 |
21 |
162 |
3 |
| Source file: ./usr.bin/find/misc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| brace_subst |
|
6 |
25 |
166 |
4 |
| queryuser |
|
6 |
24 |
143 |
1 |
| emalloc |
|
2 |
7 |
34 |
1 |
| ereallocarray |
|
2 |
7 |
47 |
3 |
| show_path |
|
2 |
16 |
119 |
1 |
| Source file: ./usr.bin/find/operator.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| yanknode |
|
2 |
9 |
53 |
1 |
| yankexpr |
|
8 |
32 |
178 |
1 |
| paren_squish |
|
4 |
19 |
93 |
1 |
| not_squish |
|
11 |
38 |
222 |
1 |
| or_squish |
|
8 |
30 |
197 |
1 |
| Source file: ./usr.bin/pkill/pkill.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| getargv |
|
7 |
22 |
153 |
1 |
| main |
|
107 |
273 |
1688 |
2 |
| usage |
|
2 |
12 |
41 |
1 |
| askyn |
|
4 |
10 |
71 |
1 |
| killact |
|
7 |
18 |
109 |
2 |
| grepact |
|
12 |
23 |
164 |
2 |
| makelist |
|
26 |
82 |
488 |
3 |
| Source file: ./usr.bin/find/option.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| find_create |
|
8 |
31 |
184 |
1 |
| option |
|
1 |
7 |
49 |
1 |
| typecompare |
|
1 |
4 |
40 |
2 |
| Source file: ./usr.bin/csplit/csplit.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
33 |
99 |
660 |
2 |
| usage |
|
1 |
8 |
25 |
1 |
| handlesig |
|
1 |
7 |
38 |
1 |
| newfile |
|
3 |
11 |
84 |
1 |
| cleanup |
|
3 |
12 |
63 |
1 |
| get_line |
|
5 |
17 |
91 |
1 |
| toomuch |
|
16 |
38 |
301 |
2 |
| do_rexp |
|
21 |
58 |
426 |
1 |
| do_lineno |
|
12 |
29 |
193 |
1 |
| Source file: ./usr.bin/find/ls.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| printlong |
|
4 |
20 |
194 |
3 |
| printtime |
|
5 |
15 |
91 |
1 |
| printlink |
|
2 |
11 |
68 |
1 |
| Source file: ./usr.bin/find/extern.h |
| Source file: ./usr.bin/find/main.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
17 |
59 |
337 |
2 |
| usage |
|
1 |
6 |
21 |
1 |
| Source file: ./usr.bin/rcs/rcsprog.h |
| Source file: ./usr.bin/find/find.h |
| Source file: ./usr.bin/rcs/rcs.h |
| Source file: ./usr.bin/rcs/worklist.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| worklist_add |
|
2 |
14 |
112 |
2 |
| worklist_run |
|
2 |
13 |
91 |
2 |
| worklist_clean |
|
1 |
6 |
38 |
2 |
| worklist_unlink |
|
1 |
4 |
19 |
1 |
| Source file: ./usr.bin/rcs/rcsclean.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rcsclean_main |
|
18 |
64 |
332 |
2 |
| rcsclean_usage |
|
1 |
7 |
19 |
1 |
| rcsclean_file |
|
21 |
69 |
449 |
2 |
| Source file: ./usr.bin/rcs/xmalloc.h |
| Source file: ./usr.bin/rcs/rcsutil.h |
| Source file: ./usr.bin/find/function.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| find_parsenum |
|
9 |
27 |
162 |
4 |
| f_amin |
|
1 |
6 |
39 |
2 |
| c_amin |
|
1 |
9 |
60 |
3 |
| f_atime |
|
1 |
5 |
35 |
2 |
| c_atime |
|
1 |
9 |
60 |
3 |
| f_cmin |
|
1 |
6 |
39 |
2 |
| c_cmin |
|
1 |
9 |
60 |
3 |
| f_ctime |
|
1 |
5 |
35 |
2 |
| c_ctime |
|
1 |
9 |
60 |
3 |
| f_always_true |
|
1 |
4 |
17 |
2 |
| c_depth |
|
1 |
5 |
30 |
3 |
| f_delete |
|
17 |
29 |
229 |
2 |
| c_delete |
|
1 |
8 |
42 |
3 |
| f_empty |
|
10 |
24 |
168 |
2 |
| c_empty |
|
1 |
5 |
30 |
3 |
| f_exec |
|
14 |
50 |
373 |
2 |
| run_f_exec |
|
6 |
31 |
185 |
1 |
| c_exec |
|
20 |
71 |
574 |
3 |
| f_execdir |
|
12 |
43 |
321 |
2 |
| c_execdir |
|
9 |
36 |
291 |
3 |
| f_flags |
|
2 |
11 |
72 |
2 |
| c_flags |
|
3 |
16 |
100 |
3 |
| c_follow |
|
1 |
6 |
34 |
3 |
| f_fstype |
|
10 |
41 |
263 |
2 |
| c_fstype |
|
5 |
25 |
125 |
3 |
| f_group |
|
1 |
4 |
25 |
2 |
| c_group |
|
3 |
18 |
106 |
3 |
| f_inum |
|
1 |
4 |
25 |
2 |
| c_inum |
|
2 |
12 |
79 |
3 |
| f_links |
|
1 |
4 |
25 |
2 |
| c_links |
|
2 |
12 |
79 |
3 |
| f_ls |
|
1 |
5 |
32 |
2 |
| c_ls |
|
1 |
6 |
34 |
3 |
| f_maxdepth |
|
2 |
6 |
42 |
2 |
| c_maxdepth |
|
2 |
10 |
72 |
3 |
| f_mindepth |
|
1 |
4 |
23 |
2 |
| c_mindepth |
|
2 |
10 |
72 |
3 |
| f_mtime |
|
1 |
5 |
35 |
2 |
| c_mtime |
|
1 |
9 |
60 |
3 |
| f_mmin |
|
1 |
6 |
39 |
2 |
| c_mmin |
|
1 |
9 |
60 |
3 |
| f_name |
|
1 |
4 |
29 |
2 |
| c_name |
|
1 |
7 |
40 |
3 |
| f_iname |
|
1 |
4 |
29 |
2 |
| c_iname |
|
1 |
7 |
40 |
3 |
| f_newer |
|
3 |
6 |
59 |
2 |
| c_newer |
|
2 |
11 |
80 |
3 |
| f_anewer |
|
3 |
6 |
59 |
2 |
| c_anewer |
|
2 |
11 |
80 |
3 |
| f_cnewer |
|
3 |
6 |
59 |
2 |
| c_cnewer |
|
2 |
11 |
80 |
3 |
| f_nogroup |
|
2 |
4 |
30 |
2 |
| c_nogroup |
|
1 |
5 |
30 |
3 |
| f_nouser |
|
2 |
4 |
30 |
2 |
| c_nouser |
|
1 |
5 |
30 |
3 |
| f_path |
|
1 |
4 |
29 |
2 |
| c_path |
|
1 |
7 |
40 |
3 |
| f_perm |
|
2 |
10 |
68 |
2 |
| c_perm |
|
3 |
16 |
98 |
3 |
| f_print |
|
1 |
5 |
29 |
2 |
| f_print0 |
|
1 |
6 |
39 |
2 |
| c_print |
|
1 |
5 |
30 |
3 |
| c_print0 |
|
1 |
5 |
30 |
3 |
| f_prune |
|
2 |
6 |
39 |
2 |
| c_prune |
|
1 |
4 |
26 |
3 |
| f_size |
|
2 |
7 |
48 |
2 |
| c_size |
|
2 |
12 |
71 |
3 |
| f_type |
|
1 |
4 |
29 |
2 |
| c_type |
|
8 |
34 |
130 |
3 |
| f_user |
|
1 |
4 |
25 |
2 |
| c_user |
|
3 |
18 |
106 |
3 |
| c_xdev |
|
1 |
5 |
30 |
3 |
| f_expr |
|
2 |
8 |
59 |
2 |
| c_openparen |
|
1 |
4 |
40 |
3 |
| c_closeparen |
|
1 |
4 |
40 |
3 |
| f_not |
|
2 |
8 |
60 |
2 |
| c_not |
|
1 |
4 |
26 |
3 |
| f_or |
|
4 |
12 |
103 |
2 |
| c_or |
|
1 |
4 |
26 |
3 |
| plan_cleanup |
|
3 |
6 |
34 |
2 |
| palloc |
|
2 |
10 |
67 |
2 |
| Source file: ./usr.bin/rcs/xmalloc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| xmalloc |
|
3 |
10 |
49 |
1 |
| xcalloc |
|
4 |
10 |
60 |
2 |
| xreallocarray |
|
2 |
9 |
49 |
3 |
| xstrdup |
|
2 |
7 |
36 |
1 |
| xasprintf |
|
3 |
11 |
65 |
3 |
| Source file: ./usr.bin/rcs/rcsparse.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rcsparse_init |
|
5 |
26 |
160 |
1 |
| rcsparse_deltas |
|
9 |
24 |
141 |
2 |
| rcsparse_deltatexts |
|
11 |
24 |
145 |
2 |
| rcsparse_free |
|
2 |
9 |
48 |
1 |
| rcsparse_desc |
|
6 |
15 |
106 |
1 |
| rcsparse_deltarevision |
|
1 |
9 |
60 |
2 |
| rcsparse_date |
|
2 |
7 |
53 |
2 |
| rcsparse_author |
|
2 |
7 |
53 |
2 |
| rcsparse_state |
|
2 |
7 |
53 |
2 |
| rcsparse_branches |
|
2 |
12 |
84 |
2 |
| rcsparse_next |
|
2 |
11 |
74 |
2 |
| rcsparse_commitid |
|
2 |
7 |
53 |
2 |
| rcsparse_textrevision |
|
3 |
17 |
105 |
2 |
| rcsparse_log |
|
2 |
7 |
46 |
2 |
| rcsparse_text |
|
3 |
15 |
115 |
2 |
| rcsparse_head |
|
2 |
10 |
61 |
2 |
| rcsparse_branch |
|
2 |
10 |
61 |
2 |
| rcsparse_access |
|
2 |
12 |
82 |
2 |
| rcsparse_symbols |
|
4 |
20 |
132 |
2 |
| rcsparse_locks |
|
4 |
21 |
132 |
2 |
| rcsparse_strict |
|
1 |
5 |
31 |
2 |
| rcsparse_comment |
|
2 |
10 |
61 |
2 |
| rcsparse_expand |
|
2 |
10 |
61 |
2 |
| rcsparse_string |
|
8 |
36 |
206 |
2 |
| rcsparse_token |
|
50 |
196 |
1205 |
2 |
| rcsparse |
|
13 |
36 |
225 |
2 |
| rcsparse_deltatext |
|
6 |
14 |
85 |
1 |
| rcsparse_delta |
|
5 |
20 |
118 |
1 |
| rcsparse_growbuf |
|
1 |
8 |
61 |
1 |
| valid_login |
|
10 |
15 |
101 |
1 |
| valid_commitid |
|
4 |
11 |
57 |
1 |
| kw_cmp |
|
1 |
4 |
34 |
2 |
| rcsparse_warnx |
|
2 |
16 |
98 |
3 |
| Source file: ./usr.bin/rcs/diff.h |
| Source file: ./usr.bin/rcs/rcsmerge.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rcsmerge_main |
|
36 |
115 |
733 |
2 |
| rcsmerge_usage |
|
1 |
7 |
19 |
1 |
| Source file: ./usr.bin/rcs/rcsprog.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sighdlr |
|
1 |
5 |
20 |
1 |
| build_cmd |
|
8 |
36 |
259 |
3 |
| main |
|
5 |
28 |
210 |
2 |
| rcs_usage |
|
1 |
8 |
20 |
1 |
| rcs_main |
|
83 |
303 |
1765 |
2 |
| rcs_attach_symbol |
|
15 |
42 |
238 |
2 |
| Source file: ./usr.bin/rcs/buf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| buf_alloc |
|
2 |
12 |
63 |
1 |
| buf_load |
|
8 |
41 |
221 |
1 |
| buf_free |
|
2 |
7 |
28 |
1 |
| buf_release |
|
1 |
7 |
28 |
1 |
| buf_get |
|
1 |
4 |
15 |
1 |
| buf_empty |
|
1 |
5 |
27 |
1 |
| buf_putc |
|
2 |
9 |
54 |
2 |
| buf_puts |
|
1 |
4 |
25 |
2 |
| buf_getc |
|
1 |
4 |
21 |
2 |
| buf_append |
|
2 |
13 |
81 |
3 |
| buf_len |
|
1 |
4 |
15 |
1 |
| buf_write_fd |
|
5 |
19 |
100 |
2 |
| buf_write |
|
6 |
19 |
134 |
3 |
| buf_write_stmp |
|
3 |
12 |
85 |
2 |
| buf_grow |
|
1 |
5 |
36 |
2 |
| Source file: ./usr.bin/rcs/worklist.h |
| Source file: ./usr.bin/rcs/merge.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| merge_main |
|
17 |
58 |
299 |
2 |
| merge_usage |
|
1 |
6 |
21 |
1 |
| Source file: ./usr.bin/rcs/co.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| checkout_main |
|
41 |
152 |
821 |
2 |
| checkout_usage |
|
1 |
8 |
20 |
1 |
| checkout_rev |
|
82 |
199 |
1429 |
8 |
| checkout_err_nobranch |
|
14 |
18 |
121 |
5 |
| checkout_file_has_diffs |
|
3 |
24 |
150 |
3 |
| Source file: ./usr.bin/rcs/rcsnum.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rcsnum_alloc |
|
1 |
8 |
38 |
1 |
| rcsnum_addmagic |
|
3 |
9 |
76 |
1 |
| rcsnum_parse |
|
4 |
13 |
70 |
1 |
| rcsnum_free |
|
2 |
7 |
28 |
1 |
| rcsnum_tostr |
|
7 |
19 |
160 |
3 |
| rcsnum_itoa |
|
3 |
15 |
76 |
3 |
| rcsnum_cpy |
|
3 |
10 |
72 |
3 |
| rcsnum_cmp |
|
10 |
23 |
161 |
3 |
| rcsnum_aton |
|
16 |
58 |
428 |
3 |
| rcsnum_inc |
|
2 |
7 |
45 |
1 |
| rcsnum_revtobr |
|
3 |
11 |
59 |
1 |
| rcsnum_brtorev |
|
2 |
12 |
73 |
1 |
| rcsnum_setsize |
|
1 |
5 |
40 |
2 |
| Source file: ./usr.bin/rcs/diff.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| diffreg |
|
17 |
86 |
632 |
4 |
| files_differ |
|
10 |
19 |
150 |
2 |
| prepare |
|
5 |
20 |
160 |
4 |
| prune |
|
9 |
18 |
186 |
1 |
| equiv |
|
8 |
25 |
200 |
5 |
| isqrt |
|
4 |
13 |
71 |
1 |
| stone |
|
10 |
44 |
293 |
5 |
| newcand |
|
2 |
13 |
79 |
3 |
| search |
|
6 |
21 |
125 |
3 |
| unravel |
|
5 |
10 |
102 |
1 |
| check |
|
39 |
87 |
553 |
3 |
| sort |
|
10 |
29 |
233 |
2 |
| unsort |
|
3 |
10 |
95 |
3 |
| skipline |
|
3 |
7 |
44 |
1 |
| output |
|
13 |
35 |
277 |
3 |
| range |
|
3 |
6 |
42 |
3 |
| uni_range |
|
3 |
9 |
51 |
2 |
| preadline |
|
2 |
10 |
67 |
3 |
| ignoreline |
|
1 |
7 |
38 |
1 |
| change |
|
39 |
109 |
745 |
7 |
| fetch |
|
20 |
53 |
332 |
7 |
| readhash |
|
21 |
54 |
272 |
2 |
| asciifile |
|
2 |
10 |
64 |
1 |
| match_function |
|
15 |
40 |
271 |
3 |
| dump_context_vec |
|
22 |
85 |
600 |
3 |
| dump_unified_vec |
|
11 |
54 |
432 |
3 |
| diff_output |
|
3 |
16 |
90 |
2 |
| Source file: ./usr.bin/rcs/ident.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ident_main |
|
8 |
36 |
195 |
2 |
| ident_file |
|
8 |
18 |
104 |
2 |
| ident_line |
|
8 |
34 |
180 |
1 |
| ident_usage |
|
1 |
5 |
18 |
1 |
| Source file: ./usr.bin/rcs/rcstime.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rcs_set_tz |
|
12 |
53 |
363 |
3 |
| Source file: ./usr.bin/rcs/buf.h |
| Source file: ./usr.bin/rcs/rlog.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rlog_usage |
|
1 |
9 |
21 |
1 |
| rlog_main |
|
29 |
103 |
447 |
2 |
| rlog_select_daterev |
|
45 |
128 |
712 |
2 |
| rlog_file |
|
23 |
62 |
510 |
2 |
| rlog_rev_print |
|
38 |
107 |
741 |
1 |
| Source file: ./usr.bin/rcs/rcsdiff.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rcsdiff_main |
|
54 |
188 |
1162 |
2 |
| rcsdiff_usage |
|
1 |
7 |
19 |
1 |
| rcsdiff_file |
|
9 |
65 |
495 |
4 |
| rcsdiff_rev |
|
8 |
55 |
454 |
4 |
| push_ignore_pats |
|
2 |
14 |
90 |
1 |
| Source file: ./usr.bin/cmp/misc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| eofmsg |
|
2 |
6 |
25 |
1 |
| diffmsg |
|
2 |
7 |
52 |
4 |
| Source file: ./usr.bin/cmp/special.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| c_special |
|
19 |
46 |
305 |
6 |
| Source file: ./usr.bin/cmp/extern.h |
| Source file: ./usr.bin/rcs/rcsutil.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rcs_get_mtime |
|
3 |
13 |
77 |
1 |
| rcs_set_mtime |
|
4 |
10 |
81 |
2 |
| rcs_getopt |
|
13 |
45 |
236 |
3 |
| rcs_choosefile |
|
29 |
73 |
691 |
3 |
| rcs_setrevstr |
|
3 |
8 |
37 |
2 |
| rcs_setrevstr2 |
|
4 |
11 |
57 |
3 |
| rcs_getrevnum |
|
2 |
8 |
44 |
2 |
| rcs_prompt |
|
10 |
24 |
170 |
2 |
| rcs_rev_select |
|
18 |
61 |
489 |
2 |
| rcs_set_description |
|
5 |
20 |
121 |
3 |
| rcs_splitlines |
|
4 |
25 |
191 |
2 |
| rcs_freelines |
|
2 |
9 |
58 |
1 |
| rcs_patchfile |
|
3 |
23 |
154 |
5 |
| rcs_yesno |
|
8 |
16 |
96 |
1 |
| rcs_strsplit |
|
2 |
17 |
139 |
2 |
| rcs_argv_destroy |
|
1 |
6 |
28 |
1 |
| rcs_strip_suffix |
|
4 |
14 |
92 |
1 |
| Source file: ./usr.bin/cmp/regular.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| c_regular |
|
16 |
50 |
338 |
8 |
| Source file: ./usr.bin/cmp/cmp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
28 |
84 |
502 |
2 |
| usage |
|
1 |
6 |
21 |
1 |
| Source file: ./usr.bin/passwd/local_passwd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| local_passwd |
|
18 |
69 |
490 |
2 |
| getnewpasswd |
|
19 |
67 |
507 |
3 |
| kbintr |
|
1 |
5 |
21 |
1 |
| Source file: ./usr.bin/passwd/passwd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
5 |
28 |
127 |
2 |
| usage |
|
1 |
5 |
19 |
1 |
| Source file: ./usr.bin/passwd/pwd_check.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pwd_check |
|
23 |
93 |
612 |
2 |
| pwd_gettries |
|
4 |
11 |
65 |
1 |
| Source file: ./usr.bin/arch/arch.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
8 |
34 |
159 |
2 |
| usage |
|
2 |
8 |
30 |
1 |
| Source file: ./usr.bin/rcs/ci.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| checkin_usage |
|
1 |
9 |
21 |
1 |
| checkin_main |
|
51 |
181 |
1070 |
2 |
| checkin_diff_file |
|
4 |
36 |
237 |
1 |
| checkin_getlogmsg |
|
3 |
21 |
148 |
3 |
| checkin_update |
|
37 |
104 |
900 |
1 |
| checkin_init |
|
24 |
69 |
587 |
1 |
| checkin_attach_symbol |
|
8 |
27 |
188 |
1 |
| checkin_revert |
|
8 |
24 |
196 |
1 |
| checkin_checklock |
|
4 |
13 |
101 |
1 |
| checkin_mtimedate |
|
2 |
7 |
47 |
1 |
| checkin_keywordscan |
|
13 |
60 |
348 |
5 |
| checkin_keywordtype |
|
7 |
19 |
149 |
1 |
| checkin_parsekeyword |
|
22 |
64 |
417 |
5 |
| Source file: ./usr.bin/w/pr_time.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pr_attime |
|
3 |
22 |
130 |
2 |
| pr_idle |
|
5 |
18 |
111 |
1 |
| Source file: ./usr.bin/w/proc_compare.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| proc_compare |
|
16 |
34 |
240 |
2 |
| Source file: ./usr.bin/w/extern.h |
| Source file: ./usr.bin/getopt/getopt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
6 |
27 |
151 |
2 |
| Source file: ./usr.bin/wc/wc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
16 |
46 |
218 |
2 |
| cnt |
|
34 |
117 |
639 |
1 |
| format_and_print |
|
2 |
10 |
47 |
1 |
| print_counts |
|
5 |
13 |
61 |
4 |
| Source file: ./lib/libcxxabi/include/__cxxabi_config.h |
| Source file: ./lib/libcxxabi/src/cxa_default_handlers.cpp |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| default_terminate_handler |
|
7 |
46 |
261 |
0 |
| default_unexpected_handler |
|
1 |
5 |
14 |
0 |
| std::set_unexpected |
|
2 |
7 |
29 |
1 |
| std::set_terminate |
|
2 |
7 |
29 |
1 |
| Source file: ./lib/libcxxabi/include/cxxabi.h |
| Source file: ./usr.bin/w/w.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
73 |
198 |
1493 |
2 |
| fmt_putc |
|
3 |
8 |
38 |
2 |
| fmt_puts |
|
7 |
29 |
164 |
2 |
| pr_args |
|
11 |
35 |
229 |
1 |
| pr_header |
|
17 |
53 |
430 |
2 |
| ttystat |
|
2 |
10 |
82 |
1 |
| usage |
|
2 |
10 |
37 |
1 |
| Source file: ./lib/libcxxabi/src/cxa_new_delete.cpp |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| operator new |
|
4 |
17 |
77 |
1 |
| operator new |
|
2 |
14 |
43 |
2 |
| operator new [ ] |
|
1 |
5 |
20 |
1 |
| operator new [ ] |
|
2 |
14 |
45 |
2 |
| operator delete |
|
2 |
7 |
22 |
1 |
| operator delete |
|
1 |
6 |
24 |
2 |
| operator delete [ ] |
|
1 |
6 |
18 |
1 |
| operator delete [ ] |
|
1 |
6 |
26 |
2 |
| std::bad_alloc::bad_alloc |
|
1 |
3 |
8 |
0 |
| std::bad_alloc::~bad_alloc |
|
1 |
3 |
8 |
0 |
| std::bad_alloc::what |
|
1 |
4 |
12 |
0 |
| std::bad_array_new_length::bad_array_new_length |
|
1 |
3 |
8 |
0 |
| std::bad_array_new_length::~bad_array_new_length |
|
1 |
3 |
8 |
0 |
| std::bad_array_new_length::what |
|
1 |
4 |
12 |
0 |
| std::bad_array_length::bad_array_length |
|
1 |
3 |
8 |
0 |
| std::bad_array_length::~bad_array_length |
|
1 |
3 |
8 |
0 |
| std::bad_array_length::what |
|
1 |
4 |
12 |
0 |
| Source file: ./usr.bin/rcs/rcs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rcs_open |
|
7 |
41 |
293 |
4 |
| rcs_close |
|
9 |
45 |
346 |
1 |
| rcs_write |
|
18 |
120 |
975 |
1 |
| rcs_movefile |
|
12 |
56 |
392 |
4 |
| rcs_head_set |
|
3 |
10 |
67 |
2 |
| rcs_branch_get |
|
1 |
4 |
15 |
1 |
| rcs_access_add |
|
2 |
15 |
103 |
2 |
| rcs_access_remove |
|
3 |
16 |
101 |
2 |
| rcs_sym_add |
|
3 |
21 |
146 |
3 |
| rcs_sym_remove |
|
4 |
21 |
128 |
2 |
| rcs_sym_getrev |
|
4 |
20 |
110 |
2 |
| rcs_sym_check |
|
5 |
15 |
86 |
1 |
| rcs_lock_getmode |
|
2 |
4 |
21 |
1 |
| rcs_lock_setmode |
|
3 |
13 |
67 |
2 |
| rcs_lock_add |
|
3 |
18 |
139 |
3 |
| rcs_lock_remove |
|
4 |
19 |
127 |
3 |
| rcs_desc_set |
|
1 |
8 |
43 |
2 |
| rcs_comment_set |
|
1 |
8 |
43 |
2 |
| rcs_patch_lines |
|
23 |
77 |
571 |
2 |
| rcs_getrev |
|
28 |
105 |
644 |
2 |
| rcs_delta_stats |
|
8 |
41 |
301 |
3 |
| rcs_rev_add |
|
9 |
47 |
350 |
5 |
| rcs_rev_remove |
|
18 |
61 |
473 |
2 |
| rcs_findrev |
|
9 |
32 |
198 |
2 |
| rcs_kwexp_set |
|
7 |
24 |
136 |
2 |
| rcs_kwexp_get |
|
2 |
6 |
31 |
1 |
| rcs_kflag_get |
|
11 |
28 |
154 |
1 |
| rcs_freedelta |
|
2 |
17 |
114 |
1 |
| rcs_strprint |
|
5 |
16 |
120 |
3 |
| rcs_expand_keywords |
|
49 |
166 |
1130 |
4 |
| rcs_deltatext_set |
|
4 |
24 |
151 |
3 |
| rcs_rev_setlog |
|
2 |
10 |
70 |
3 |
| rcs_rev_getdate |
|
2 |
7 |
49 |
2 |
| rcs_state_set |
|
2 |
10 |
70 |
3 |
| rcs_state_check |
|
5 |
15 |
88 |
1 |
| rcs_kwexp_buf |
|
3 |
12 |
85 |
3 |
| Source file: ./lib/libcxxabi/src/abort_message.h |
| Source file: ./lib/libcxxabi/src/typeinfo.cpp |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| std::type_info::~type_info |
|
1 |
3 |
7 |
0 |
| std::bad_cast::bad_cast |
|
1 |
3 |
8 |
0 |
| std::bad_cast::~bad_cast |
|
1 |
3 |
8 |
0 |
| std::bad_cast::what |
|
1 |
4 |
12 |
0 |
| std::bad_typeid::bad_typeid |
|
1 |
3 |
8 |
0 |
| std::bad_typeid::~bad_typeid |
|
1 |
3 |
8 |
0 |
| std::bad_typeid::what |
|
1 |
4 |
12 |
0 |
| Source file: ./lib/libcxxabi/src/cxa_unexpected.cpp |
| Source file: ./lib/libcxxabi/src/cxa_thread_atexit.cpp |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __cxxabiv1::__cxa_thread_atexit |
|
1 |
5 |
55 |
3 |
| Source file: ./lib/libcxxabi/src/cxa_virtual.cpp |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __cxxabiv1::__cxa_pure_virtual |
|
1 |
3 |
11 |
1 |
| __cxxabiv1::__cxa_deleted_virtual |
|
1 |
3 |
11 |
1 |
| Source file: ./usr.bin/rcs/diff3.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| merge_diff3 |
|
12 |
83 |
628 |
2 |
| rcs_diff3 |
|
14 |
90 |
706 |
5 |
| diff3_internal |
|
11 |
30 |
269 |
4 |
| ed_patch_lines |
|
29 |
83 |
610 |
2 |
| readin |
|
9 |
40 |
313 |
2 |
| number |
|
2 |
8 |
49 |
1 |
| getchange |
|
3 |
9 |
51 |
1 |
| get_line |
|
6 |
23 |
143 |
2 |
| merge |
|
27 |
84 |
753 |
2 |
| separate |
|
1 |
4 |
16 |
1 |
| change |
|
3 |
11 |
75 |
3 |
| prange |
|
3 |
11 |
70 |
1 |
| keep |
|
1 |
9 |
61 |
2 |
| skip |
|
4 |
13 |
98 |
3 |
| duplicate |
|
7 |
26 |
180 |
2 |
| repos |
|
2 |
6 |
42 |
1 |
| edit |
|
3 |
14 |
152 |
3 |
| edscript |
|
9 |
26 |
228 |
1 |
| increase |
|
2 |
15 |
161 |
1 |
| Source file: ./lib/libcxxabi/src/exception.cpp |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| std::exception::~exception |
|
1 |
3 |
8 |
0 |
| std::exception::what |
|
1 |
4 |
12 |
0 |
| std::bad_exception::~bad_exception |
|
1 |
3 |
8 |
0 |
| std::bad_exception::what |
|
1 |
4 |
12 |
0 |
| Source file: ./lib/libcxxabi/src/cxa_exception.cpp |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __cxxabiv1::cxa_exception_from_thrown_object |
|
1 |
4 |
20 |
1 |
| __cxxabiv1::thrown_object_from_cxa_exception |
|
1 |
4 |
20 |
1 |
| __cxxabiv1::cxa_exception_from_exception_unwind_exception |
|
1 |
4 |
16 |
1 |
| __cxxabiv1::cxa_exception_size_from_exception_thrown_size |
|
1 |
4 |
15 |
1 |
| __cxxabiv1::setExceptionClass |
|
1 |
3 |
14 |
1 |
| __cxxabiv1::setDependentExceptionClass |
|
1 |
3 |
14 |
1 |
| __cxxabiv1::isOurExceptionClass |
|
1 |
4 |
24 |
1 |
| __cxxabiv1::isDependentException |
|
1 |
3 |
19 |
1 |
| __cxxabiv1::incrementHandlerCount |
|
1 |
3 |
14 |
1 |
| __cxxabiv1::decrementHandlerCount |
|
1 |
3 |
14 |
1 |
| __cxxabiv1::do_malloc |
|
2 |
6 |
34 |
1 |
| __cxxabiv1::do_free |
|
2 |
3 |
25 |
1 |
| __cxxabiv1::exception_cleanup_func |
|
2 |
7 |
42 |
2 |
| __cxxabiv1::failed_throw |
|
1 |
4 |
28 |
1 |
| __cxxabiv1::__cxa_allocate_exception |
|
2 |
8 |
63 |
1 |
| __cxxabiv1::__cxa_free_exception |
|
1 |
3 |
19 |
1 |
| __cxxabiv1::__cxa_allocate_dependent_exception |
|
2 |
8 |
48 |
0 |
| __cxxabiv1::__cxa_free_dependent_exception |
|
1 |
3 |
13 |
1 |
| __cxxabiv1::__cxa_throw |
|
2 |
15 |
122 |
3 |
| __cxxabiv1::__cxa_get_exception_ptr |
|
2 |
6 |
50 |
1 |
| __cxxabiv1::__cxa_begin_cleanup |
|
4 |
22 |
105 |
1 |
| __cxxabiv1::__cxa_end_cleanup_impl |
|
4 |
23 |
90 |
0 |
| __cxxabiv1::__cxa_begin_catch |
|
6 |
28 |
164 |
1 |
| __cxxabiv1::__cxa_end_catch |
|
7 |
51 |
219 |
0 |
| __cxxabiv1::__cxa_current_exception_type |
|
4 |
11 |
58 |
0 |
| __cxxabiv1::__cxa_rethrow |
|
5 |
22 |
117 |
0 |
| __cxxabiv1::__cxa_increment_exception_refcount |
|
2 |
7 |
38 |
1 |
| __cxxabiv1::__cxa_decrement_exception_refcount |
|
4 |
12 |
67 |
1 |
| __cxxabiv1::__cxa_current_primary_exception |
|
5 |
18 |
107 |
0 |
| __cxxabiv1::dependent_exception_cleanup |
|
2 |
9 |
55 |
2 |
| __cxxabiv1::__cxa_rethrow_primary_exception |
|
3 |
20 |
127 |
1 |
| __cxxabiv1::__cxa_uncaught_exception |
|
1 |
1 |
15 |
0 |
| __cxxabiv1::__cxa_uncaught_exceptions |
|
2 |
7 |
30 |
0 |
| Source file: ./lib/libcxxabi/src/abort_message.cpp |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| abort_message |
|
5 |
26 |
153 |
2 |
| Source file: ./lib/libcxxabi/src/cxa_handlers.hpp |
| Source file: ./lib/libcxxabi/src/private_typeinfo.h |
| Source file: ./lib/libcxxabi/src/cxa_handlers.cpp |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| std::get_unexpected |
|
1 |
4 |
18 |
0 |
| std::__unexpected |
|
1 |
5 |
15 |
1 |
| std::unexpected |
|
1 |
4 |
11 |
0 |
| std::get_terminate |
|
1 |
4 |
18 |
0 |
| std::__terminate |
|
2 |
12 |
30 |
1 |
| std::terminate |
|
4 |
20 |
89 |
0 |
| std::set_new_handler |
|
1 |
4 |
19 |
1 |
| std::get_new_handler |
|
1 |
4 |
18 |
0 |
| Source file: ./lib/libcxxabi/src/cxa_exception.hpp |
| Source file: ./lib/libcxxabi/src/stdexcept.cpp |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| std::logic_error::~logic_error |
|
1 |
1 |
8 |
0 |
| std::logic_error::what |
|
1 |
4 |
16 |
0 |
| std::runtime_error::~runtime_error |
|
1 |
1 |
8 |
0 |
| std::runtime_error::what |
|
1 |
4 |
16 |
0 |
| std::domain_error::~domain_error |
|
1 |
1 |
8 |
0 |
| std::invalid_argument::~invalid_argument |
|
1 |
1 |
8 |
0 |
| std::length_error::~length_error |
|
1 |
1 |
8 |
0 |
| std::out_of_range::~out_of_range |
|
1 |
1 |
8 |
0 |
| std::range_error::~range_error |
|
1 |
1 |
8 |
0 |
| std::overflow_error::~overflow_error |
|
1 |
1 |
8 |
0 |
| std::underflow_error::~underflow_error |
|
1 |
1 |
8 |
0 |
| Source file: ./lib/libcxxabi/src/cxa_guard.cpp |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __cxxabiv1::is_initialized |
|
1 |
3 |
16 |
1 |
| __cxxabiv1::set_initialized |
|
1 |
3 |
13 |
1 |
| __cxxabiv1::is_initialized |
|
1 |
4 |
22 |
1 |
| __cxxabiv1::set_initialized |
|
1 |
4 |
23 |
1 |
| __cxxabiv1::get_lock |
|
1 |
4 |
19 |
1 |
| __cxxabiv1::set_lock |
|
1 |
4 |
24 |
2 |
| __cxxabiv1::get_lock |
|
1 |
4 |
16 |
1 |
| __cxxabiv1::set_lock |
|
1 |
4 |
15 |
2 |
| __cxxabiv1::get_lock |
|
1 |
9 |
35 |
1 |
| __cxxabiv1::set_lock |
|
1 |
10 |
44 |
2 |
| __cxxabiv1::get_lock |
|
1 |
9 |
35 |
1 |
| __cxxabiv1::set_lock |
|
1 |
10 |
44 |
2 |
| __cxxabiv1::__cxa_guard_acquire |
|
1 |
3 |
15 |
1 |
| __cxxabiv1::__cxa_guard_release |
|
1 |
4 |
18 |
1 |
| __cxxabiv1::__cxa_guard_abort |
|
1 |
3 |
13 |
1 |
| __cxxabiv1::__cxa_guard_acquire |
|
13 |
36 |
202 |
1 |
| __cxxabiv1::__cxa_guard_release |
|
4 |
10 |
57 |
1 |
| __cxxabiv1::__cxa_guard_abort |
|
4 |
9 |
52 |
1 |
| Source file: ./lib/libcxxabi/src/cxa_aux_runtime.cpp |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __cxxabiv1::__cxa_bad_cast |
|
1 |
4 |
19 |
1 |
| __cxxabiv1::__cxa_bad_typeid |
|
1 |
4 |
19 |
1 |
| __cxxabiv1::__cxa_throw_bad_array_new_length |
|
1 |
4 |
19 |
1 |
| Source file: ./lib/libcxxabi/src/config.h |
| Source file: ./lib/libcxxabi/src/cxa_noexception.cpp |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __cxxabiv1::__cxa_increment_exception_refcount |
|
2 |
4 |
23 |
1 |
| __cxxabiv1::__cxa_decrement_exception_refcount |
|
2 |
4 |
23 |
1 |
| __cxxabiv1::__cxa_current_primary_exception |
|
1 |
1 |
11 |
0 |
| __cxxabiv1::__cxa_rethrow_primary_exception |
|
2 |
4 |
20 |
1 |
| __cxxabiv1::__cxa_uncaught_exception |
|
1 |
1 |
11 |
0 |
| __cxxabiv1::__cxa_uncaught_exceptions |
|
1 |
1 |
11 |
0 |
| Source file: ./lib/libcxxabi/src/cxa_vector.cpp |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __cxxabiv1::__get_element_count |
|
1 |
3 |
22 |
1 |
| __cxxabiv1::__set_element_count |
|
1 |
3 |
26 |
2 |
| __cxxabiv1::st_heap_block2::st_heap_block2 |
|
1 |
2 |
26 |
2 |
| __cxxabiv1::st_heap_block2::~st_heap_block2 |
|
2 |
1 |
14 |
0 |
| __cxxabiv1::st_heap_block2::release |
|
1 |
1 |
9 |
0 |
| __cxxabiv1::st_heap_block3::st_heap_block3 |
|
1 |
2 |
34 |
3 |
| __cxxabiv1::st_heap_block3::~st_heap_block3 |
|
2 |
1 |
16 |
0 |
| __cxxabiv1::st_heap_block3::release |
|
1 |
1 |
9 |
0 |
| __cxxabiv1::st_cxa_cleanup::st_cxa_cleanup |
|
1 |
3 |
43 |
4 |
| __cxxabiv1::st_cxa_cleanup::~st_cxa_cleanup |
|
2 |
4 |
20 |
0 |
| __cxxabiv1::st_cxa_cleanup::release |
|
1 |
1 |
9 |
0 |
| __cxxabiv1::st_terminate::st_terminate |
|
1 |
1 |
14 |
1 |
| __cxxabiv1::st_terminate::~st_terminate |
|
2 |
1 |
15 |
0 |
| __cxxabiv1::st_terminate::release |
|
1 |
1 |
9 |
0 |
| __cxxabiv1::__cxa_vec_new |
|
1 |
5 |
61 |
5 |
| __cxxabiv1::__cxa_vec_new2 |
|
3 |
17 |
143 |
7 |
| __cxxabiv1::__cxa_vec_new3 |
|
3 |
17 |
147 |
7 |
| __cxxabiv1::__cxa_vec_cctor |
|
3 |
16 |
126 |
6 |
| __cxxabiv1::__cxa_vec_ctor |
|
3 |
11 |
98 |
5 |
| __cxxabiv1::__cxa_vec_dtor |
|
3 |
20 |
108 |
4 |
| __cxxabiv1::__cxa_vec_cleanup |
|
3 |
16 |
83 |
4 |
| __cxxabiv1::__cxa_vec_delete |
|
1 |
7 |
42 |
4 |
| __cxxabiv1::__cxa_vec_delete2 |
|
4 |
11 |
95 |
5 |
| __cxxabiv1::__cxa_vec_delete3 |
|
5 |
12 |
119 |
5 |
| Source file: ./lib/libcxxabi/src/cxa_exception_storage.cpp |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __cxxabiv1::__cxa_get_globals |
|
1 |
1 |
9 |
0 |
| __cxxabiv1::__cxa_get_globals_fast |
|
1 |
1 |
9 |
0 |
| __cxxabiv1::__globals |
|
1 |
4 |
14 |
0 |
| __cxxabiv1::__cxa_get_globals |
|
1 |
1 |
10 |
0 |
| __cxxabiv1::__cxa_get_globals_fast |
|
1 |
1 |
10 |
0 |
| __cxxabiv1::destruct_ |
|
2 |
5 |
32 |
1 |
| __cxxabiv1::construct_ |
|
2 |
4 |
22 |
0 |
| __cxxabiv1::__cxa_get_globals |
|
4 |
12 |
72 |
0 |
| __cxxabiv1::__cxa_get_globals_fast |
|
2 |
5 |
36 |
0 |
| Source file: ./lib/libcxxabi/src/cxa_personality.cpp |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __cxxabiv1::readPointerHelper |
|
1 |
6 |
42 |
1 |
| __cxxabiv1::readULEB128 |
|
2 |
15 |
74 |
1 |
| __cxxabiv1::readSLEB128 |
|
4 |
17 |
115 |
1 |
| __cxxabiv1::readEncodedPointer |
|
20 |
60 |
268 |
2 |
| __cxxabiv1::call_terminate |
|
2 |
10 |
53 |
2 |
| __cxxabiv1::read_target2_value |
|
3 |
10 |
70 |
1 |
| __cxxabiv1::get_shim_type_info |
|
3 |
14 |
79 |
5 |
| __cxxabiv1::get_shim_type_info |
|
9 |
31 |
121 |
5 |
| __cxxabiv1::exception_spec_can_catch |
|
6 |
28 |
163 |
6 |
| __cxxabiv1::exception_spec_can_catch |
|
5 |
27 |
124 |
6 |
| __cxxabiv1::get_thrown_object_ptr |
|
2 |
7 |
41 |
1 |
| __cxxabiv1::set_registers |
|
2 |
9 |
64 |
3 |
| __cxxabiv1::scan_eh_tab |
|
47 |
228 |
1164 |
5 |
| __cxxabiv1::__gxx_personality_v0 |
|
12 |
59 |
340 |
5 |
| __cxxabiv1::continue_unwind |
|
2 |
7 |
29 |
2 |
| __cxxabiv1::save_results_to_barrier_cache |
|
1 |
9 |
93 |
2 |
| __cxxabiv1::load_results_from_barrier_cache |
|
1 |
9 |
101 |
2 |
| __cxxabiv1::__gxx_personality_v0 |
|
16 |
60 |
331 |
3 |
| __cxxabiv1::__cxa_call_unexpected |
|
13 |
86 |
488 |
1 |
| Source file: ./lib/libcurses/trace/trace_buf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _nc_trace_alloc |
|
15 |
38 |
228 |
2 |
| _nc_trace_buf |
|
2 |
7 |
34 |
2 |
| _nc_trace_bufcat |
|
3 |
12 |
83 |
2 |
| Source file: ./lib/libcurses/trace/lib_tracemse.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _nc_tracemouse |
|
7 |
47 |
329 |
2 |
| _tracemouse |
|
1 |
4 |
16 |
1 |
| Source file: ./lib/libcurses/trace/lib_tracedmp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _tracedump |
|
34 |
111 |
888 |
2 |
| Source file: ./lib/libcxxabi/src/private_typeinfo.cpp |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __cxxabiv1::is_equal |
|
3 |
7 |
75 |
3 |
| __cxxabiv1::__shim_type_info::~__shim_type_info |
|
1 |
3 |
7 |
0 |
| __cxxabiv1::__shim_type_info::noop1 |
|
1 |
1 |
8 |
0 |
| __cxxabiv1::__shim_type_info::noop2 |
|
1 |
1 |
8 |
0 |
| __cxxabiv1::__fundamental_type_info::~__fundamental_type_info |
|
1 |
3 |
7 |
0 |
| __cxxabiv1::__array_type_info::~__array_type_info |
|
1 |
3 |
7 |
0 |
| __cxxabiv1::__function_type_info::~__function_type_info |
|
1 |
3 |
7 |
0 |
| __cxxabiv1::__enum_type_info::~__enum_type_info |
|
1 |
3 |
7 |
0 |
| __cxxabiv1::__class_type_info::~__class_type_info |
|
1 |
3 |
7 |
0 |
| __cxxabiv1::__si_class_type_info::~__si_class_type_info |
|
1 |
3 |
7 |
0 |
| __cxxabiv1::__vmi_class_type_info::~__vmi_class_type_info |
|
1 |
3 |
7 |
0 |
| __cxxabiv1::__pbase_type_info::~__pbase_type_info |
|
1 |
3 |
7 |
0 |
| __cxxabiv1::__pointer_type_info::~__pointer_type_info |
|
1 |
3 |
7 |
0 |
| __cxxabiv1::__pointer_to_member_type_info::~__pointer_to_member_type_info |
|
1 |
3 |
7 |
0 |
| __cxxabiv1::__fundamental_type_info::can_catch |
|
1 |
5 |
26 |
2 |
| __cxxabiv1::__array_type_info::can_catch |
|
1 |
4 |
18 |
2 |
| __cxxabiv1::__function_type_info::can_catch |
|
1 |
4 |
18 |
2 |
| __cxxabiv1::__enum_type_info::can_catch |
|
1 |
5 |
26 |
2 |
| __cxxabiv1::__class_type_info::can_catch |
|
4 |
19 |
118 |
2 |
| __cxxabiv1::__class_type_info::process_found_base_class |
|
4 |
22 |
92 |
3 |
| __cxxabiv1::__class_type_info::has_unambiguous_public_base |
|
2 |
7 |
40 |
3 |
| __cxxabiv1::__si_class_type_info::has_unambiguous_public_base |
|
2 |
9 |
52 |
3 |
| __cxxabiv1::__base_class_type_info::has_unambiguous_public_base |
|
4 |
19 |
107 |
3 |
| __cxxabiv1::__vmi_class_type_info::has_unambiguous_public_base |
|
5 |
23 |
112 |
3 |
| __cxxabiv1::__pbase_type_info::can_catch |
|
4 |
15 |
101 |
2 |
| __cxxabiv1::__pointer_type_info::can_catch |
|
16 |
54 |
360 |
2 |
| __cxxabiv1::__pointer_type_info::can_catch_nested |
|
7 |
26 |
137 |
1 |
| __cxxabiv1::__pointer_to_member_type_info::can_catch |
|
6 |
16 |
102 |
2 |
| __cxxabiv1::__pointer_to_member_type_info::can_catch_nested |
|
5 |
15 |
84 |
1 |
| __cxxabiv1::__dynamic_cast |
|
17 |
62 |
403 |
4 |
| __cxxabiv1::__class_type_info::process_static_type_above_dst |
|
9 |
31 |
154 |
4 |
| __cxxabiv1::__class_type_info::process_static_type_below_dst |
|
3 |
10 |
43 |
3 |
| __cxxabiv1::__vmi_class_type_info::search_below_dst |
|
31 |
106 |
485 |
4 |
| __cxxabiv1::__si_class_type_info::search_below_dst |
|
13 |
51 |
238 |
4 |
| __cxxabiv1::__class_type_info::search_below_dst |
|
8 |
27 |
135 |
4 |
| __cxxabiv1::__vmi_class_type_info::search_above_dst |
|
10 |
45 |
230 |
5 |
| __cxxabiv1::__si_class_type_info::search_above_dst |
|
2 |
11 |
67 |
5 |
| __cxxabiv1::__class_type_info::search_above_dst |
|
2 |
9 |
51 |
5 |
| __cxxabiv1::__base_class_type_info::search_above_dst |
|
3 |
19 |
109 |
5 |
| __cxxabiv1::__base_class_type_info::search_below_dst |
|
3 |
18 |
102 |
4 |
| Source file: ./lib/libcurses/trace/lib_traceatr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| color_of |
|
3 |
12 |
63 |
1 |
| _traceattr2 |
|
11 |
72 |
446 |
2 |
| _traceattr |
|
1 |
4 |
14 |
1 |
| _nc_retrace_attr_t |
|
1 |
5 |
24 |
1 |
| _nc_altcharset_name |
|
9 |
63 |
367 |
2 |
| _tracechtype2 |
|
4 |
19 |
147 |
2 |
| _tracechtype |
|
1 |
4 |
14 |
1 |
| _nc_retrace_chtype |
|
1 |
5 |
24 |
1 |
| _tracecchar_t2 |
|
12 |
52 |
345 |
2 |
| _tracecchar_t |
|
1 |
4 |
16 |
1 |
| Source file: ./lib/libcurses/trace/trace_xnames.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _nc_trace_xnames |
|
7 |
29 |
224 |
1 |
| Source file: ./lib/libcurses/trace/visbuf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _nc_vischar |
|
13 |
34 |
264 |
3 |
| _nc_visbuf2n |
|
7 |
29 |
202 |
3 |
| _nc_visbuf2 |
|
1 |
4 |
22 |
2 |
| _nc_visbuf |
|
1 |
4 |
16 |
1 |
| _nc_visbufn |
|
1 |
4 |
21 |
2 |
| _nc_wchstrlen |
|
2 |
8 |
35 |
1 |
| _nc_viswbuf2n |
|
8 |
35 |
262 |
3 |
| _nc_viswbuf2 |
|
1 |
4 |
22 |
2 |
| _nc_viswbuf |
|
1 |
4 |
16 |
1 |
| _nc_viswbufn |
|
1 |
4 |
21 |
2 |
| _nc_viswibuf |
|
5 |
17 |
116 |
1 |
| _nc_viscbuf2 |
|
16 |
62 |
433 |
3 |
| _nc_viscbuf |
|
1 |
4 |
21 |
2 |
| Source file: ./lib/libcurses/trace/trace_tries.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| recur_tries |
|
6 |
19 |
139 |
2 |
| _nc_trace_tries |
|
1 |
8 |
45 |
1 |
| _nc_trace_tries |
|
1 |
3 |
7 |
1 |
| Source file: ./lib/libcurses/trace/lib_tracechr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _nc_tracechar |
|
11 |
24 |
187 |
2 |
| _tracechar |
|
1 |
4 |
14 |
1 |
| Source file: ./lib/libcurses/trace/lib_tracebits.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| lookup_bits |
|
5 |
15 |
153 |
5 |
| _nc_trace_ttymode |
|
16 |
109 |
656 |
1 |
| _nc_tracebits |
|
1 |
4 |
16 |
1 |
| _nc_tracebits |
|
1 |
4 |
8 |
1 |
| Source file: ./lib/libcurses/trace/lib_trace.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| NCURSES_PUBLIC_VAR( _nc_tputs_trace) |
|
2 |
4 |
16 |
1 |
| NCURSES_PUBLIC_VAR( _nc_outchars) |
|
2 |
4 |
16 |
1 |
| _nc_set_tputs_trace |
|
2 |
7 |
25 |
1 |
| _nc_count_outchars |
|
2 |
7 |
23 |
1 |
| trace |
|
14 |
41 |
266 |
1 |
| _nc_va_tracef |
|
18 |
41 |
266 |
2 |
| _tracef |
|
1 |
7 |
32 |
2 |
| _nc_retrace_bool |
|
2 |
5 |
25 |
1 |
| _nc_retrace_int |
|
1 |
5 |
21 |
1 |
| _nc_retrace_unsigned |
|
1 |
5 |
21 |
1 |
| _nc_retrace_ptr |
|
1 |
5 |
25 |
1 |
| _nc_retrace_cptr |
|
1 |
5 |
26 |
1 |
| _nc_retrace_cvoid_ptr |
|
1 |
5 |
23 |
1 |
| _nc_retrace_void_ptr |
|
1 |
5 |
22 |
1 |
| _nc_retrace_sp |
|
1 |
5 |
22 |
1 |
| _nc_retrace_win |
|
1 |
5 |
22 |
1 |
| _nc_use_tracef |
|
4 |
16 |
81 |
1 |
| _nc_locked_tracef |
|
2 |
9 |
48 |
2 |
| Source file: ./lib/libcurses/tinfo/lib_tgoto.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| is_termcap |
|
10 |
24 |
109 |
1 |
| tgoto_internal |
|
27 |
108 |
562 |
3 |
| tgoto |
|
3 |
10 |
77 |
3 |
| Source file: ./lib/libcurses/trace/varargs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _nc_varargs |
|
40 |
117 |
585 |
2 |
| Source file: ./lib/libcurses/tinfo/lib_options.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| idlok |
|
4 |
9 |
59 |
2 |
| idcok |
|
3 |
7 |
44 |
2 |
| halfdelay |
|
4 |
9 |
54 |
1 |
| nodelay |
|
3 |
12 |
61 |
2 |
| notimeout |
|
2 |
9 |
47 |
2 |
| wtimeout |
|
2 |
8 |
38 |
2 |
| keypad |
|
2 |
9 |
52 |
2 |
| meta |
|
1 |
7 |
42 |
2 |
| curs_set |
|
1 |
7 |
35 |
1 |
| typeahead |
|
2 |
10 |
45 |
1 |
| has_key_internal |
|
4 |
10 |
58 |
2 |
| has_key |
|
2 |
5 |
36 |
1 |
| _nc_putp |
|
2 |
9 |
41 |
2 |
| _nc_putp_flush |
|
2 |
8 |
39 |
2 |
| _nc_keypad |
|
10 |
29 |
146 |
2 |
| _nc_curs_set |
|
10 |
27 |
144 |
2 |
| _nc_meta |
|
3 |
14 |
60 |
2 |
| Source file: ./lib/libcurses/tinfo/lib_kernel.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _nc_vdisable |
|
7 |
14 |
60 |
1 |
| erasechar |
|
4 |
12 |
64 |
1 |
| killchar |
|
4 |
12 |
64 |
1 |
| flushinp |
|
5 |
19 |
92 |
1 |
| Source file: ./lib/libcurses/tinfo/lib_acs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _nc_acs_map |
|
2 |
6 |
23 |
1 |
| _nc_init_acs |
|
28 |
103 |
689 |
1 |
| Source file: ./lib/libcurses/tinfo/access.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _nc_rootname |
|
7 |
16 |
96 |
1 |
| _nc_is_abs_path |
|
2 |
4 |
14 |
1 |
| _nc_pathlast |
|
4 |
11 |
56 |
1 |
| _nc_basename |
|
1 |
4 |
15 |
1 |
| _nc_access |
|
7 |
19 |
130 |
2 |
| _nc_is_dir_path |
|
3 |
10 |
48 |
1 |
| _nc_is_file_path |
|
3 |
10 |
48 |
1 |
| _nc_env_access |
|
7 |
9 |
48 |
1 |
| Source file: ./lib/libcurses/tinfo/trim_sgr0.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| set_attribute_9 |
|
2 |
7 |
56 |
2 |
| is_csi |
|
4 |
8 |
47 |
1 |
| skip_zero |
|
4 |
10 |
53 |
1 |
| skip_delay |
|
6 |
11 |
63 |
1 |
| rewrite_sgr |
|
6 |
20 |
137 |
2 |
| similar_sgr |
|
8 |
31 |
197 |
2 |
| chop_out |
|
2 |
9 |
65 |
3 |
| compare_part |
|
8 |
31 |
145 |
2 |
| _nc_trim_sgr0 |
|
21 |
81 |
568 |
1 |
| Source file: ./lib/libcurses/tinfo/write_entry.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| write_file |
|
5 |
17 |
142 |
2 |
| check_writeable |
|
5 |
16 |
126 |
1 |
| make_db_path |
|
11 |
30 |
193 |
3 |
| make_db_root |
|
8 |
21 |
156 |
1 |
| _nc_set_writedir |
|
10 |
25 |
156 |
1 |
| _nc_write_entry |
|
49 |
138 |
1018 |
1 |
| fake_write |
|
3 |
19 |
94 |
6 |
| compute_offsets |
|
4 |
18 |
127 |
3 |
| convert_shorts |
|
4 |
15 |
126 |
3 |
| extended_Booleans |
|
3 |
10 |
59 |
1 |
| extended_Numbers |
|
3 |
10 |
59 |
1 |
| extended_Strings |
|
3 |
10 |
59 |
1 |
| extended_object |
|
2 |
10 |
45 |
1 |
| write_object |
|
36 |
124 |
1011 |
4 |
| _nc_tic_written |
|
1 |
4 |
8 |
1 |
| Source file: ./lib/libcurses/tinfo/comp_hash.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _nc_make_hash_table |
|
5 |
20 |
127 |
2 |
| hash_function |
|
2 |
11 |
78 |
1 |
| _nc_find_entry |
|
4 |
18 |
115 |
2 |
| _nc_find_type_entry |
|
4 |
11 |
74 |
3 |
| parse_columns |
|
14 |
34 |
208 |
1 |
| main |
|
24 |
113 |
767 |
2 |
| Source file: ./lib/libcurses/tinfo/lib_raw.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| raw |
|
5 |
23 |
139 |
1 |
| cbreak |
|
5 |
23 |
131 |
1 |
| qiflush |
|
4 |
16 |
77 |
1 |
| noraw |
|
5 |
22 |
129 |
1 |
| nocbreak |
|
5 |
20 |
107 |
1 |
| noqiflush |
|
4 |
17 |
77 |
1 |
| intrflush |
|
5 |
20 |
103 |
2 |
| Source file: ./lib/libcurses/tinfo/read_entry.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| convert_shorts |
|
4 |
13 |
100 |
3 |
| convert_strings |
|
9 |
24 |
205 |
5 |
| fake_read |
|
3 |
13 |
83 |
5 |
| _nc_read_termtype |
|
53 |
183 |
1439 |
3 |
| _nc_read_file_entry |
|
5 |
22 |
150 |
2 |
| _nc_read_tic_entry |
|
14 |
57 |
377 |
5 |
| _nc_read_entry |
|
11 |
28 |
188 |
3 |
| Source file: ./lib/libcurses/tinfo/lib_tparm.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _nc_free_tparm |
|
2 |
10 |
53 |
1 |
| get_space |
|
3 |
10 |
68 |
1 |
| save_text |
|
2 |
9 |
93 |
3 |
| save_number |
|
2 |
8 |
83 |
3 |
| save_char |
|
2 |
7 |
39 |
1 |
| npush |
|
2 |
11 |
79 |
1 |
| npop |
|
3 |
13 |
86 |
1 |
| spush |
|
2 |
11 |
80 |
1 |
| spop |
|
4 |
15 |
113 |
1 |
| parse_format |
|
22 |
78 |
354 |
3 |
| _nc_tparm_analyze |
|
42 |
99 |
458 |
3 |
| tparam_internal |
|
77 |
238 |
1320 |
2 |
| tparm_varargs |
|
2 |
11 |
52 |
2 |
| tparm_proto |
|
1 |
13 |
59 |
10 |
| Source file: ./lib/libcurses/tinfo/lib_tputs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _nc_set_no_padding |
|
3 |
10 |
56 |
1 |
| delay_output |
|
4 |
16 |
90 |
1 |
| _nc_flush |
|
1 |
4 |
13 |
1 |
| _nc_outch |
|
3 |
12 |
54 |
1 |
| putp |
|
1 |
4 |
18 |
1 |
| tputs |
|
43 |
116 |
629 |
3 |
| Source file: ./lib/libcurses/tinfo/parse_entry.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _nc_extend_names |
|
23 |
103 |
679 |
3 |
| _nc_parse_entry |
|
65 |
207 |
1257 |
3 |
| _nc_capcmp |
|
25 |
32 |
215 |
2 |
| append_acs0 |
|
2 |
10 |
62 |
3 |
| append_acs |
|
3 |
6 |
40 |
3 |
| postprocess_termcap |
|
88 |
199 |
1375 |
2 |
| postprocess_terminfo |
|
3 |
25 |
215 |
1 |
| lookup_fullname |
|
9 |
30 |
137 |
1 |
| Source file: ./lib/libcurses/tinfo/strings.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _nc_strstr |
|
4 |
14 |
82 |
2 |
| _nc_str_init |
|
3 |
12 |
64 |
3 |
| _nc_str_null |
|
1 |
4 |
20 |
2 |
| _nc_str_copy |
|
1 |
5 |
20 |
2 |
| _nc_safe_strcat |
|
4 |
15 |
79 |
2 |
| _nc_safe_strcpy |
|
4 |
15 |
87 |
2 |
| Source file: ./lib/libcurses/tinfo/lib_ttyflags.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _nc_get_tty_mode |
|
8 |
26 |
125 |
1 |
| _nc_set_tty_mode |
|
9 |
26 |
126 |
1 |
| def_shell_mode |
|
6 |
15 |
83 |
1 |
| def_prog_mode |
|
4 |
13 |
67 |
1 |
| reset_prog_mode |
|
5 |
15 |
71 |
1 |
| reset_shell_mode |
|
3 |
13 |
61 |
1 |
| saved_tty |
|
3 |
13 |
62 |
1 |
| savetty |
|
1 |
5 |
25 |
1 |
| resetty |
|
1 |
5 |
25 |
1 |
| Source file: ./lib/libcurses/tinfo/doalloc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _nc_doalloc |
|
3 |
13 |
61 |
2 |
| _nc_strdup |
|
3 |
15 |
76 |
1 |
| Source file: ./lib/libcurses/tinfo/lib_baudrate.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _nc_baudrate |
|
10 |
25 |
113 |
1 |
| _nc_ospeed |
|
4 |
14 |
69 |
1 |
| baudrate |
|
9 |
24 |
144 |
1 |
| Source file: ./lib/libcurses/tinfo/comp_error.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _nc_get_source |
|
1 |
4 |
8 |
1 |
| _nc_set_source |
|
1 |
4 |
13 |
1 |
| _nc_set_type |
|
4 |
10 |
54 |
1 |
| _nc_get_type |
|
6 |
9 |
49 |
1 |
| where_is_problem |
|
6 |
12 |
85 |
1 |
| _nc_warning |
|
2 |
11 |
52 |
2 |
| _nc_err_abort |
|
1 |
10 |
51 |
2 |
| _nc_syserr_abort |
|
2 |
11 |
55 |
2 |
| Source file: ./lib/libcurses/tinfo/use_screen.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| use_screen |
|
1 |
13 |
77 |
3 |
| Source file: ./lib/libcurses/tinfo/free_ttype.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _nc_free_termtype |
|
2 |
12 |
79 |
1 |
| use_extended_names |
|
1 |
7 |
32 |
1 |
| Source file: ./lib/libcurses/tinfo/lib_print.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mcprint |
|
9 |
32 |
229 |
2 |
| Source file: ./lib/libcurses/tinfo/make_keys.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| lookup |
|
7 |
20 |
109 |
1 |
| make_keys |
|
6 |
27 |
162 |
2 |
| write_list |
|
2 |
5 |
31 |
2 |
| main |
|
4 |
38 |
148 |
2 |
| Source file: ./lib/libcurses/tinfo/comp_expand.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| trailing_spaces |
|
2 |
6 |
24 |
1 |
| _nc_tic_expand |
|
61 |
118 |
899 |
3 |
| Source file: ./lib/libcurses/tinfo/getenv_num.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _nc_getenv_num |
|
6 |
13 |
81 |
1 |
| Source file: ./lib/libcurses/tinfo/db_iterator.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _nc_tic_dir |
|
6 |
14 |
69 |
1 |
| _nc_keep_tic_dir |
|
1 |
5 |
17 |
1 |
| _nc_last_db |
|
2 |
7 |
22 |
1 |
| next_list_item |
|
8 |
24 |
149 |
2 |
| _nc_next_db |
|
29 |
66 |
332 |
2 |
| _nc_first_db |
|
1 |
5 |
21 |
2 |
| Source file: ./lib/libcurses/tinfo/name_match.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _nc_first_name |
|
9 |
21 |
113 |
1 |
| _nc_name_match |
|
12 |
30 |
174 |
3 |
| Source file: ./lib/libcurses/tinfo/home_terminfo.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _nc_home_terminfo |
|
7 |
18 |
107 |
1 |
| Source file: ./lib/libcurses/tinfo/hashed_db.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _nc_db_open |
|
10 |
41 |
197 |
2 |
| _nc_db_close |
|
2 |
7 |
33 |
1 |
| _nc_db_put |
|
2 |
8 |
69 |
3 |
| _nc_db_get |
|
2 |
8 |
66 |
3 |
| _nc_db_first |
|
3 |
11 |
101 |
3 |
| _nc_db_next |
|
3 |
12 |
72 |
3 |
| _nc_db_have_index |
|
2 |
13 |
77 |
4 |
| _nc_db_have_data |
|
4 |
15 |
89 |
4 |
| _nc_hashed_db |
|
1 |
3 |
5 |
1 |
| Source file: ./lib/libcurses/tinfo/init_keytry.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _nc_tinfo_fkeysf |
|
1 |
4 |
9 |
1 |
| _nc_init_keytry |
|
11 |
29 |
190 |
1 |
| Source file: ./lib/libcurses/tinfo/comp_scan.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _nc_reset_input |
|
3 |
12 |
56 |
2 |
| last_char |
|
3 |
9 |
44 |
1 |
| next_char |
|
25 |
78 |
443 |
1 |
| push_back |
|
2 |
7 |
27 |
1 |
| stream_pos |
|
3 |
4 |
26 |
1 |
| end_of_stream |
|
4 |
5 |
31 |
1 |
| eat_escaped_newline |
|
4 |
7 |
35 |
1 |
| _nc_get_token |
|
93 |
280 |
1414 |
1 |
| _nc_trans_string |
|
49 |
132 |
695 |
2 |
| _nc_push_token |
|
3 |
12 |
59 |
1 |
| _nc_panic_mode |
|
4 |
11 |
38 |
1 |
| _nc_comp_scan_leaks |
|
2 |
6 |
18 |
1 |
| Source file: ./lib/libcurses/tinfo/comp_parse.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| enqueue |
|
3 |
11 |
58 |
1 |
| force_bar |
|
3 |
13 |
78 |
3 |
| _nc_entry_match |
|
5 |
13 |
153 |
2 |
| _nc_read_entry_source |
|
12 |
36 |
252 |
5 |
| _nc_resolve_uses2 |
|
24 |
127 |
801 |
2 |
| _nc_resolve_uses |
|
1 |
4 |
14 |
1 |
| sanity_check2 |
|
18 |
46 |
279 |
2 |
| sanity_check |
|
1 |
4 |
15 |
1 |
| _nc_leaks_tic |
|
2 |
10 |
38 |
1 |
| _nc_free_tic |
|
1 |
5 |
15 |
1 |
| Source file: ./lib/libcurses/tinfo/lib_termname.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| termname |
|
2 |
8 |
38 |
1 |
| Source file: ./lib/libcurses/tinfo/lib_cur_term.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| NCURSES_PUBLIC_VAR( cur_term) |
|
3 |
4 |
26 |
1 |
| set_curterm |
|
6 |
20 |
121 |
1 |
| del_curterm |
|
3 |
16 |
84 |
1 |
| Source file: ./lib/libcurses/tinfo/alloc_entry.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _nc_init_entry |
|
9 |
29 |
190 |
1 |
| _nc_copy_entry |
|
2 |
9 |
52 |
1 |
| _nc_save_str |
|
5 |
20 |
137 |
1 |
| _nc_wrap_entry |
|
25 |
86 |
707 |
2 |
| _nc_merge_entry |
|
11 |
32 |
216 |
2 |
| _nc_alloc_entry_leaks |
|
2 |
7 |
22 |
1 |
| Source file: ./lib/libcurses/tinfo/lib_ti.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tigetflag |
|
3 |
15 |
91 |
1 |
| tigetnum |
|
4 |
17 |
109 |
1 |
| tigetstr |
|
3 |
15 |
91 |
1 |
| Source file: ./lib/libcurses/tinfo/entries.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _nc_free_entry |
|
2 |
7 |
37 |
2 |
| _nc_free_entries |
|
2 |
7 |
30 |
1 |
| _nc_delink_entry |
|
6 |
19 |
104 |
2 |
| _nc_leaks_tinfo |
|
5 |
17 |
80 |
1 |
| _nc_free_tinfo |
|
1 |
5 |
15 |
1 |
| Source file: ./lib/libcurses/tinfo/add_tries.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _nc_add_to_try |
|
16 |
57 |
366 |
3 |
| Source file: ./lib/libcurses/tinfo/setbuf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _nc_set_buffer |
|
15 |
29 |
183 |
2 |
| Source file: ./lib/libcurses/tinfo/captoinfo.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| init_string |
|
3 |
9 |
41 |
1 |
| save_string |
|
4 |
15 |
113 |
2 |
| save_char |
|
1 |
6 |
36 |
2 |
| push |
|
2 |
7 |
26 |
1 |
| pop |
|
3 |
11 |
42 |
1 |
| cvtchar |
|
20 |
57 |
320 |
1 |
| getparm |
|
13 |
32 |
164 |
2 |
| _nc_captoinfo |
|
80 |
259 |
1407 |
3 |
| bcd_expression |
|
5 |
20 |
118 |
1 |
| save_tc_char |
|
6 |
16 |
123 |
2 |
| save_tc_inequality |
|
1 |
7 |
44 |
3 |
| _nc_infotocap |
|
68 |
136 |
1010 |
3 |
| main |
|
9 |
29 |
190 |
2 |
| _nc_captoinfo_leaks |
|
2 |
7 |
22 |
1 |
| Source file: ./lib/libcurses/tinfo/lib_data.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| NCURSES_PUBLIC_VAR( stdscr) |
|
2 |
4 |
14 |
1 |
| NCURSES_PUBLIC_VAR( curscr) |
|
2 |
4 |
14 |
1 |
| NCURSES_PUBLIC_VAR( newscr) |
|
2 |
4 |
14 |
1 |
| _nc_screen |
|
1 |
4 |
8 |
1 |
| _nc_alloc_screen |
|
1 |
4 |
21 |
1 |
| _nc_set_screen |
|
1 |
4 |
11 |
1 |
| init_global_mutexes |
|
2 |
10 |
47 |
1 |
| _nc_init_pthreads |
|
8 |
17 |
69 |
1 |
| _nc_mutex_init |
|
2 |
9 |
38 |
1 |
| _nc_mutex_lock |
|
2 |
6 |
22 |
1 |
| _nc_mutex_trylock |
|
2 |
6 |
22 |
1 |
| _nc_mutex_unlock |
|
2 |
6 |
22 |
1 |
| _nc_sigprocmask |
|
2 |
7 |
42 |
3 |
| Source file: ./lib/libcurses/tinfo/lib_termcap.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tgetent |
|
21 |
68 |
386 |
2 |
| tgetflag |
|
3 |
15 |
93 |
1 |
| tgetnum |
|
4 |
17 |
111 |
1 |
| tgetstr |
|
10 |
32 |
227 |
2 |
| _nc_tgetent_leaks |
|
3 |
8 |
36 |
1 |
| Source file: ./lib/libcurses/tinfo/lib_napms.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| napms |
|
4 |
15 |
94 |
1 |
| Source file: ./lib/libcurses/tinfo/lib_longname.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| longname |
|
3 |
9 |
56 |
1 |
| Source file: ./lib/libcurses/tinfo/lib_has_cap.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| has_ic |
|
7 |
8 |
38 |
1 |
| has_il |
|
5 |
7 |
32 |
1 |
| Source file: ./lib/libcurses/tinfo/alloc_ttype.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| merge_names |
|
8 |
26 |
175 |
5 |
| find_name |
|
3 |
11 |
66 |
3 |
| realign_data |
|
10 |
50 |
451 |
5 |
| _nc_first_ext_name |
|
4 |
19 |
66 |
2 |
| _nc_last_ext_name |
|
4 |
17 |
63 |
2 |
| _nc_find_ext_name |
|
3 |
12 |
77 |
3 |
| _nc_ext_data_index |
|
4 |
17 |
90 |
3 |
| _nc_del_ext_name |
|
9 |
37 |
267 |
3 |
| _nc_ins_ext_name |
|
11 |
44 |
390 |
3 |
| adjust_cancels |
|
12 |
43 |
319 |
2 |
| _nc_align_termtype |
|
17 |
71 |
491 |
2 |
| _nc_copy_termtype |
|
3 |
20 |
178 |
2 |
| Source file: ./lib/libcurses/widechar/lib_unget_wch.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _nc_wcrtomb |
|
4 |
16 |
101 |
3 |
| unget_wch |
|
6 |
30 |
178 |
1 |
| Source file: ./lib/libcurses/widechar/lib_pecho_wchar.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pecho_wchar |
|
3 |
16 |
114 |
2 |
| Source file: ./lib/libcurses/widechar/lib_in_wch.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| win_wch |
|
3 |
16 |
113 |
2 |
| Source file: ./lib/libcurses/widechar/lib_erasewchar.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| erasewchar |
|
2 |
11 |
53 |
1 |
| killwchar |
|
2 |
11 |
53 |
1 |
| Source file: ./lib/libcurses/widechar/charable.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _nc_is_charable |
|
2 |
7 |
40 |
1 |
| _nc_to_char |
|
4 |
12 |
59 |
1 |
| _nc_to_widechar |
|
4 |
14 |
65 |
1 |
| Source file: ./lib/libcurses/widechar/lib_slk_wset.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| slk_wset |
|
4 |
22 |
167 |
3 |
| Source file: ./lib/libcurses/tinfo/read_termcap.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| get_termpath |
|
3 |
8 |
44 |
1 |
| _nc_cgetset |
|
3 |
17 |
94 |
1 |
| _nc_cgetcap |
|
14 |
29 |
165 |
3 |
| _nc_cgetent |
|
1 |
5 |
50 |
4 |
| _nc_getent |
|
51 |
212 |
1180 |
9 |
| _nc_cgetmatch |
|
12 |
26 |
134 |
2 |
| _nc_nfcmp |
|
2 |
11 |
78 |
2 |
| get_tc_token |
|
11 |
36 |
189 |
2 |
| copy_tc_token |
|
6 |
17 |
86 |
3 |
| _nc_tgetent |
|
31 |
111 |
731 |
4 |
| add_tc |
|
5 |
15 |
94 |
3 |
| _nc_read_termcap_entry |
|
42 |
128 |
976 |
2 |
| _nc_read_termcap |
|
1 |
3 |
5 |
1 |
| Source file: ./lib/libcurses/widechar/lib_wacs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _nc_init_wacs |
|
6 |
60 |
532 |
1 |
| Source file: ./lib/libcurses/widechar/lib_inwstr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| winnwstr |
|
11 |
39 |
233 |
3 |
| winwstr |
|
2 |
8 |
64 |
2 |
| Source file: ./lib/libcurses/widechar/lib_wunctrl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wunctrl |
|
3 |
13 |
90 |
1 |
| Source file: ./lib/libcurses/widechar/lib_in_wchnstr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| win_wchnstr |
|
9 |
29 |
221 |
3 |
| Source file: ./lib/libcurses/widechar/lib_get_wch.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wget_wch |
|
9 |
53 |
316 |
2 |
| Source file: ./lib/libcurses/tinfo/lib_setup.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| NCURSES_PUBLIC_VAR( ttytype) |
|
2 |
5 |
24 |
1 |
| _nc_ptr_Lines |
|
1 |
4 |
10 |
1 |
| NCURSES_PUBLIC_VAR( LINES) |
|
1 |
4 |
11 |
1 |
| _nc_ptr_Cols |
|
1 |
4 |
10 |
1 |
| NCURSES_PUBLIC_VAR( COLS) |
|
1 |
4 |
11 |
1 |
| NCURSES_PUBLIC_VAR( TABSIZE) |
|
2 |
4 |
14 |
1 |
| set_tabsize |
|
3 |
11 |
37 |
1 |
| _nc_handle_sigwinch |
|
4 |
11 |
51 |
1 |
| use_env |
|
1 |
6 |
24 |
1 |
| _nc_get_screensize |
|
25 |
68 |
430 |
3 |
| _nc_update_screensize |
|
5 |
15 |
83 |
1 |
| grab_entry |
|
4 |
17 |
107 |
2 |
| do_prototype |
|
5 |
18 |
100 |
1 |
| _nc_get_locale |
|
8 |
12 |
92 |
1 |
| _nc_unicode_locale |
|
4 |
15 |
87 |
1 |
| _nc_locale_breaks_acs |
|
11 |
21 |
132 |
1 |
| _nc_setupterm |
|
26 |
73 |
440 |
4 |
| setupterm |
|
1 |
4 |
27 |
3 |
| Source file: ./lib/libcurses/widechar/lib_cchar.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| setcchar |
|
8 |
37 |
243 |
5 |
| getcchar |
|
7 |
30 |
195 |
5 |
| Source file: ./lib/libcurses/widechar/lib_box_set.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wborder_set |
|
4 |
59 |
511 |
9 |
| Source file: ./lib/libcurses/widechar/lib_vline_set.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wvline_set |
|
5 |
29 |
172 |
3 |
| Source file: ./lib/libcurses/widechar/lib_add_wch.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wadd_wch |
|
9 |
31 |
215 |
2 |
| wecho_wchar |
|
9 |
32 |
220 |
2 |
| Source file: ./lib/libcurses/widechar/lib_key_name.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| key_name |
|
3 |
17 |
109 |
1 |
| Source file: ./lib/libcurses/widechar/lib_ins_wch.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _nc_insert_wch |
|
5 |
22 |
179 |
2 |
| wins_wch |
|
2 |
16 |
91 |
2 |
| wins_nwstr |
|
10 |
40 |
251 |
3 |
| Source file: ./lib/libcurses/widechar/lib_hline_set.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| whline_set |
|
5 |
28 |
168 |
3 |
| Source file: ./lib/libcurses/widechar/lib_vid_attr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| vid_puts |
|
43 |
126 |
857 |
4 |
| vid_attr |
|
1 |
5 |
44 |
3 |
| term_attrs |
|
7 |
19 |
77 |
1 |
| Source file: ./lib/libcurses/tty/hardscroll.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _nc_scroll_optimize |
|
27 |
54 |
392 |
1 |
| _nc_linedump |
|
3 |
13 |
110 |
1 |
| main |
|
7 |
25 |
180 |
2 |
| Source file: ./lib/libcurses/tty/tty_display.h |
| Source file: ./lib/libcurses/widechar/lib_get_wstr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wadd_wint |
|
1 |
9 |
63 |
2 |
| WipeOut |
|
7 |
21 |
151 |
6 |
| wgetn_wstr |
|
33 |
111 |
668 |
3 |
| Source file: ./lib/libcurses/tty/lib_twait.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _nc_gettime |
|
6 |
24 |
150 |
2 |
| _nc_eventlist_timeout |
|
5 |
16 |
83 |
1 |
| _nc_timed_wait |
|
97 |
201 |
1378 |
4 |
| Source file: ./lib/libcxxabi/src/cxa_demangle.cpp |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __cxxabiv1::print_stack |
|
9 |
38 |
257 |
1 |
| __cxxabiv1::print_state |
|
2 |
8 |
65 |
4 |
| __cxxabiv1::parse_number |
|
9 |
23 |
103 |
2 |
| __cxxabiv1::parse_floating_number |
|
9 |
37 |
305 |
3 |
| __cxxabiv1::parse_source_name |
|
8 |
28 |
187 |
3 |
| __cxxabiv1::parse_substitution |
|
23 |
73 |
419 |
3 |
| __cxxabiv1::parse_builtin_type |
|
36 |
145 |
614 |
3 |
| __cxxabiv1::parse_cv_qualifiers |
|
5 |
23 |
81 |
3 |
| __cxxabiv1::parse_template_param |
|
15 |
52 |
316 |
3 |
| __cxxabiv1::parse_const_cast_expr |
|
8 |
23 |
176 |
3 |
| __cxxabiv1::parse_dynamic_cast_expr |
|
8 |
23 |
176 |
3 |
| __cxxabiv1::parse_reinterpret_cast_expr |
|
8 |
23 |
176 |
3 |
| __cxxabiv1::parse_static_cast_expr |
|
7 |
21 |
163 |
3 |
| __cxxabiv1::parse_pack_expansion |
|
5 |
10 |
73 |
3 |
| __cxxabiv1::parse_sizeof_type_expr |
|
6 |
15 |
112 |
3 |
| __cxxabiv1::parse_sizeof_expr_expr |
|
6 |
15 |
112 |
3 |
| __cxxabiv1::parse_sizeof_param_pack_expr |
|
9 |
26 |
202 |
3 |
| __cxxabiv1::parse_function_param |
|
11 |
34 |
225 |
3 |
| __cxxabiv1::parse_sizeof_function_param_pack_expr |
|
7 |
15 |
119 |
3 |
| __cxxabiv1::parse_typeid_expr |
|
8 |
19 |
146 |
3 |
| __cxxabiv1::parse_throw_expr |
|
6 |
15 |
110 |
3 |
| __cxxabiv1::parse_dot_star_expr |
|
7 |
21 |
149 |
3 |
| __cxxabiv1::parse_simple_id |
|
5 |
23 |
137 |
3 |
| __cxxabiv1::parse_unresolved_type |
|
15 |
58 |
359 |
3 |
| __cxxabiv1::parse_destructor_name |
|
5 |
17 |
102 |
3 |
| __cxxabiv1::parse_base_unresolved_name |
|
14 |
54 |
323 |
3 |
| __cxxabiv1::parse_unresolved_qualifier_level |
|
1 |
4 |
28 |
3 |
| __cxxabiv1::parse_unresolved_name |
|
40 |
144 |
967 |
3 |
| __cxxabiv1::parse_dot_expr |
|
8 |
23 |
162 |
3 |
| __cxxabiv1::parse_call_expr |
|
15 |
46 |
326 |
3 |
| __cxxabiv1::parse_new_expr |
|
37 |
116 |
702 |
3 |
| __cxxabiv1::parse_conversion_expr |
|
18 |
62 |
382 |
3 |
| __cxxabiv1::parse_arrow_expr |
|
7 |
22 |
159 |
3 |
| __cxxabiv1::parse_function_type |
|
25 |
82 |
414 |
3 |
| __cxxabiv1::parse_pointer_to_member_type |
|
8 |
31 |
265 |
3 |
| __cxxabiv1::parse_array_type |
|
21 |
58 |
501 |
3 |
| __cxxabiv1::parse_decltype |
|
9 |
23 |
135 |
3 |
| __cxxabiv1::parse_vector_type |
|
20 |
63 |
386 |
3 |
| __cxxabiv1::parse_type |
|
90 |
381 |
2673 |
3 |
| __cxxabiv1::parse_operator_name |
|
72 |
297 |
1285 |
3 |
| __cxxabiv1::parse_integer_literal |
|
7 |
21 |
159 |
4 |
| __cxxabiv1::parse_expr_primary |
|
56 |
181 |
949 |
3 |
| __cxxabiv1::base_name |
|
15 |
58 |
235 |
1 |
| __cxxabiv1::parse_ctor_dtor_name |
|
15 |
40 |
193 |
3 |
| __cxxabiv1::parse_unnamed_type_name |
|
31 |
111 |
686 |
3 |
| __cxxabiv1::parse_unqualified_name |
|
18 |
40 |
172 |
3 |
| __cxxabiv1::parse_unscoped_name |
|
9 |
27 |
145 |
3 |
| __cxxabiv1::parse_alignof_type |
|
6 |
15 |
114 |
3 |
| __cxxabiv1::parse_alignof_expr |
|
6 |
15 |
114 |
3 |
| __cxxabiv1::parse_noexcept_expression |
|
3 |
12 |
86 |
3 |
| __cxxabiv1::parse_prefix_expression |
|
3 |
12 |
96 |
4 |
| __cxxabiv1::parse_binary_expression |
|
7 |
27 |
206 |
4 |
| __cxxabiv1::parse_expression |
|
167 |
489 |
2779 |
3 |
| __cxxabiv1::parse_template_arg |
|
16 |
45 |
233 |
3 |
| __cxxabiv1::parse_template_args |
|
16 |
45 |
343 |
3 |
| __cxxabiv1::parse_nested_name |
|
44 |
152 |
1035 |
4 |
| __cxxabiv1::parse_discriminator |
|
14 |
31 |
166 |
2 |
| __cxxabiv1::parse_local_name |
|
21 |
67 |
440 |
4 |
| __cxxabiv1::parse_name |
|
22 |
83 |
444 |
4 |
| __cxxabiv1::parse_call_offset |
|
13 |
28 |
150 |
2 |
| __cxxabiv1::parse_special_name |
|
39 |
146 |
833 |
3 |
| __cxxabiv1::save_value::save_value |
|
1 |
4 |
18 |
1 |
| __cxxabiv1::save_value::~save_value |
|
1 |
4 |
14 |
0 |
| __cxxabiv1::parse_encoding |
|
35 |
120 |
769 |
3 |
| __cxxabiv1::parse_block_invoke |
|
11 |
29 |
166 |
3 |
| __cxxabiv1::parse_dot_suffix |
|
4 |
11 |
75 |
3 |
| __cxxabiv1::demangle |
|
18 |
46 |
260 |
4 |
| __cxxabiv1::arena::align_up |
|
1 |
2 |
26 |
1 |
| __cxxabiv1::arena::pointer_in_buffer |
|
2 |
2 |
20 |
1 |
| __cxxabiv1::arena::arena |
|
1 |
1 |
11 |
0 |
| __cxxabiv1::arena::~arena |
|
1 |
1 |
9 |
0 |
| __cxxabiv1::arena::size |
|
1 |
1 |
8 |
0 |
| __cxxabiv1::arena::used |
|
1 |
1 |
19 |
0 |
| __cxxabiv1::arena::reset |
|
1 |
1 |
9 |
0 |
| __cxxabiv1::arena<N>::allocate |
|
2 |
11 |
69 |
1 |
| __cxxabiv1::arena<N>::deallocate |
|
3 |
11 |
55 |
2 |
| __cxxabiv1::short_alloc::short_alloc |
|
1 |
1 |
17 |
1 |
| __cxxabiv1::short_alloc::short_alloc |
|
1 |
2 |
22 |
1 |
| __cxxabiv1::short_alloc::allocate |
|
1 |
4 |
29 |
1 |
| __cxxabiv1::short_alloc::deallocate |
|
1 |
4 |
35 |
2 |
| __cxxabiv1::operator == |
|
2 |
4 |
41 |
2 |
| __cxxabiv1::operator != |
|
1 |
4 |
34 |
2 |
| __cxxabiv1::malloc_alloc::malloc_alloc |
|
1 |
1 |
12 |
1 |
| __cxxabiv1::malloc_alloc::allocate |
|
1 |
4 |
29 |
1 |
| __cxxabiv1::malloc_alloc::deallocate |
|
1 |
4 |
20 |
2 |
| __cxxabiv1::malloc_alloc::construct |
|
1 |
4 |
36 |
2 |
| __cxxabiv1::malloc_alloc::destroy |
|
1 |
4 |
14 |
1 |
| __cxxabiv1::operator == |
|
1 |
4 |
23 |
2 |
| __cxxabiv1::operator != |
|
1 |
4 |
30 |
2 |
| __cxxabiv1::string_pair::string_pair |
|
1 |
1 |
17 |
1 |
| __cxxabiv1::string_pair::string_pair |
|
1 |
2 |
30 |
2 |
| __cxxabiv1::string_pair::string_pair |
|
1 |
1 |
23 |
1 |
| __cxxabiv1::string_pair::size |
|
1 |
1 |
19 |
0 |
| __cxxabiv1::string_pair::full |
|
1 |
1 |
11 |
0 |
| __cxxabiv1::string_pair::move_full |
|
1 |
1 |
20 |
0 |
| __cxxabiv1::Db::Db |
|
1 |
5 |
34 |
1 |
| __cxxabiv1::__cxa_demangle |
|
17 |
64 |
408 |
4 |
| Source file: ./lib/libcurses/tty/lib_vidattr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| vidputs |
|
47 |
143 |
916 |
2 |
| vidattr |
|
1 |
5 |
31 |
1 |
| termattrs |
|
11 |
26 |
107 |
1 |
| Source file: ./lib/libcurses/tty/tty_input.h |
| Source file: ./lib/libcurses/base/lib_chgat.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wchgat |
|
5 |
16 |
154 |
5 |
| Source file: ./lib/libcurses/base/lib_winch.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| winch |
|
2 |
10 |
76 |
1 |
| Source file: ./lib/libcurses/base/lib_insnstr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| winsnstr |
|
6 |
21 |
159 |
3 |
| Source file: ./lib/libcurses/tty/hashmap.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| hash |
|
2 |
11 |
58 |
1 |
| update_cost |
|
3 |
9 |
59 |
2 |
| update_cost_from_blank |
|
4 |
12 |
72 |
1 |
| cost_effective |
|
6 |
15 |
134 |
3 |
| grow_hunks |
|
20 |
69 |
396 |
1 |
| _nc_hash_map |
|
38 |
91 |
635 |
1 |
| _nc_make_oldhash |
|
2 |
5 |
23 |
1 |
| _nc_scroll_oldhash |
|
5 |
17 |
143 |
3 |
| usage |
|
2 |
18 |
73 |
1 |
| main |
|
27 |
81 |
582 |
2 |
| Source file: ./lib/libcurses/base/lib_delch.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wdelch |
|
3 |
19 |
142 |
1 |
| Source file: ./lib/libcurses/tty/lib_mvcur.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| trace_cost_of |
|
1 |
7 |
50 |
3 |
| trace_normalized_cost |
|
1 |
7 |
50 |
3 |
| _nc_msec_cost |
|
14 |
26 |
203 |
2 |
| normalized_cost |
|
2 |
7 |
48 |
2 |
| reset_scroll_region |
|
2 |
7 |
31 |
1 |
| _nc_mvcur_resume |
|
3 |
14 |
66 |
1 |
| _nc_mvcur_init |
|
12 |
64 |
618 |
1 |
| _nc_mvcur_wrap |
|
3 |
14 |
70 |
1 |
| repeated_append |
|
4 |
17 |
85 |
5 |
| relative_move |
|
62 |
147 |
946 |
6 |
| onscreen_mvcur |
|
36 |
100 |
729 |
5 |
| mvcur |
|
18 |
65 |
394 |
4 |
| tputs |
|
2 |
8 |
52 |
3 |
| putp |
|
1 |
4 |
20 |
1 |
| _nc_outch |
|
1 |
5 |
16 |
1 |
| delay_output |
|
1 |
4 |
10 |
1 |
| load_term |
|
1 |
4 |
18 |
1 |
| roll |
|
2 |
8 |
43 |
1 |
| main |
|
26 |
158 |
1295 |
2 |
| Source file: ./lib/libcurses/base/use_window.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| use_window |
|
1 |
9 |
59 |
3 |
| Source file: ./lib/libcurses/tty/lib_tstp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| signal_name |
|
13 |
23 |
65 |
1 |
| tstp |
|
12 |
39 |
292 |
1 |
| cleanup |
|
11 |
28 |
146 |
1 |
| sigwinch |
|
1 |
4 |
14 |
1 |
| CatchIfDefault |
|
17 |
36 |
216 |
2 |
| _nc_signal_handler |
|
11 |
33 |
193 |
1 |
| Source file: ./lib/libcurses/base/lib_instr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| winnstr |
|
16 |
56 |
408 |
3 |
| Source file: ./lib/libcurses/base/version.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| curses_version |
|
1 |
5 |
21 |
1 |
| Source file: ./lib/libcurses/base/lib_inchstr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| winchnstr |
|
6 |
15 |
143 |
3 |
| Source file: ./lib/libcurses/base/lib_clearok.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| clearok |
|
2 |
9 |
47 |
2 |
| Source file: ./lib/libcurses/base/lib_erase.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| werase |
|
8 |
36 |
229 |
1 |
| Source file: ./lib/libcurses/base/legacy_coding.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| use_legacy_coding |
|
4 |
10 |
56 |
1 |
| Source file: ./lib/libcurses/base/lib_dft_fgbg.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| use_default_colors |
|
1 |
5 |
27 |
1 |
| assume_default_colors |
|
8 |
19 |
155 |
2 |
| Source file: ./lib/libcurses/base/lib_newterm.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _nc_initscr |
|
5 |
16 |
105 |
1 |
| filter |
|
1 |
7 |
27 |
1 |
| nofilter |
|
1 |
7 |
27 |
1 |
| newterm |
|
18 |
59 |
349 |
3 |
| Source file: ./lib/libcurses/base/keybound.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| keybound |
|
3 |
9 |
65 |
2 |
| Source file: ./lib/libcurses/base/nc_panel.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _nc_panelhook |
|
2 |
4 |
19 |
1 |
| Source file: ./lib/libcurses/base/key_defined.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| find_definition |
|
10 |
22 |
147 |
2 |
| key_defined |
|
3 |
9 |
56 |
1 |
| Source file: ./lib/libcurses/base/lib_scrollok.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| scrollok |
|
2 |
9 |
47 |
2 |
| Source file: ./lib/libcurses/base/lib_slk.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| slk_failed |
|
2 |
9 |
42 |
1 |
| _nc_slk_initialize |
|
28 |
83 |
764 |
2 |
| slk_restore |
|
2 |
9 |
51 |
1 |
| Source file: ./lib/libcurses/base/lib_scanw.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| vwscanw |
|
2 |
7 |
56 |
3 |
| scanw |
|
1 |
10 |
53 |
2 |
| wscanw |
|
1 |
10 |
59 |
3 |
| mvscanw |
|
2 |
9 |
63 |
4 |
| mvwscanw |
|
2 |
9 |
69 |
5 |
| Source file: ./lib/libcurses/base/resizeterm.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| show_window_sizes |
|
2 |
16 |
98 |
1 |
| is_term_resized |
|
4 |
8 |
44 |
2 |
| ripped_window |
|
5 |
14 |
60 |
1 |
| ripped_bottom |
|
5 |
16 |
65 |
1 |
| child_depth |
|
4 |
15 |
69 |
1 |
| parent_depth |
|
3 |
12 |
49 |
1 |
| adjust_window |
|
13 |
38 |
277 |
4 |
| decrease_size |
|
6 |
25 |
144 |
3 |
| increase_size |
|
6 |
25 |
144 |
3 |
| resize_term |
|
13 |
54 |
289 |
2 |
| resizeterm |
|
14 |
39 |
200 |
2 |
| Source file: ./lib/libcurses/base/lib_freeall.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _nc_freeall |
|
22 |
50 |
266 |
1 |
| _nc_free_and_exit |
|
3 |
13 |
62 |
1 |
| _nc_freeall |
|
1 |
3 |
5 |
1 |
| _nc_free_and_exit |
|
3 |
8 |
31 |
1 |
| Source file: ./lib/libcurses/base/lib_clear.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wclear |
|
2 |
8 |
48 |
1 |
| Source file: ./lib/libcurses/base/lib_refresh.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wrefresh |
|
5 |
17 |
100 |
1 |
| wnoutrefresh |
|
37 |
120 |
781 |
1 |
| Source file: ./lib/libcurses/base/lib_bkgd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wbkgrndset |
|
8 |
33 |
258 |
2 |
| wbkgdset |
|
1 |
6 |
30 |
2 |
| wbkgrnd |
|
5 |
28 |
225 |
2 |
| wbkgd |
|
1 |
6 |
31 |
2 |
| Source file: ./lib/libcurses/base/lib_flash.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| flash |
|
3 |
15 |
70 |
1 |
| Source file: ./lib/libcurses/base/lib_addstr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| waddnstr |
|
7 |
26 |
200 |
3 |
| waddchnstr |
|
8 |
29 |
220 |
3 |
| _nc_wchstrlen |
|
2 |
8 |
34 |
1 |
| wadd_wchnstr |
|
20 |
63 |
471 |
3 |
| waddnwstr |
|
7 |
25 |
195 |
3 |
| Source file: ./lib/libcurses/base/define_key.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| define_key |
|
10 |
31 |
188 |
2 |
| Source file: ./lib/libcurses/base/safe_sprintf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _nc_printf_length |
|
49 |
154 |
799 |
2 |
| _nc_printf_string |
|
13 |
36 |
217 |
2 |
| Source file: ./lib/libcurses/base/lib_slkcolor.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| slk_color |
|
5 |
12 |
104 |
1 |
| Source file: ./lib/libcurses/base/lib_wattroff.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wattr_off |
|
3 |
16 |
97 |
3 |
| Source file: ./lib/libcurses/base/lib_slkattr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| slk_attr |
|
3 |
11 |
73 |
1 |
| Source file: ./lib/libcurses/base/lib_clrbot.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wclrtobot |
|
4 |
24 |
180 |
1 |
| Source file: ./lib/libcurses/base/lib_restart.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| restartterm |
|
8 |
37 |
181 |
3 |
| Source file: ./lib/libcurses/base/lib_mvwin.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mvwin |
|
16 |
43 |
284 |
3 |
| Source file: ./lib/libcurses/base/lib_slkclear.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| slk_clear |
|
4 |
17 |
112 |
1 |
| Source file: ./lib/libcurses/base/lib_mouse.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _trace_slot |
|
2 |
9 |
63 |
2 |
| write_event |
|
2 |
10 |
100 |
5 |
| mouse_server |
|
11 |
47 |
343 |
1 |
| sysmouse_server |
|
14 |
44 |
317 |
1 |
| handle_sysmouse |
|
1 |
4 |
13 |
1 |
| init_xterm_mouse |
|
2 |
7 |
39 |
1 |
| enable_xterm_mouse |
|
2 |
6 |
35 |
2 |
| allow_gpm_mouse |
|
6 |
18 |
95 |
1 |
| unload_gpm_library |
|
2 |
10 |
51 |
1 |
| load_gpm_library |
|
6 |
16 |
96 |
1 |
| enable_gpm_mouse |
|
12 |
36 |
232 |
2 |
| initialize_mousetype |
|
31 |
101 |
667 |
1 |
| _nc_mouse_init |
|
4 |
18 |
106 |
1 |
| _nc_mouse_event |
|
22 |
71 |
400 |
1 |
| _nc_mouse_inline |
|
22 |
72 |
456 |
1 |
| mouse_activate |
|
19 |
50 |
227 |
2 |
| _nc_mouse_parse |
|
50 |
125 |
820 |
2 |
| _nc_mouse_wrap |
|
9 |
19 |
78 |
1 |
| _nc_mouse_resume |
|
9 |
19 |
78 |
1 |
| _nc_getmouse |
|
4 |
15 |
113 |
2 |
| getmouse |
|
1 |
4 |
15 |
1 |
| _nc_ungetmouse |
|
3 |
12 |
78 |
2 |
| ungetmouse |
|
1 |
4 |
15 |
1 |
| mousemask |
|
6 |
27 |
126 |
2 |
| wenclose |
|
6 |
13 |
100 |
3 |
| mouseinterval |
|
3 |
13 |
59 |
1 |
| _nc_has_mouse |
|
2 |
4 |
18 |
1 |
| wmouse_trafo |
|
8 |
26 |
160 |
4 |
| Source file: ./lib/libcurses/base/lib_initscr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| initscr |
|
9 |
31 |
184 |
1 |
| Source file: ./lib/libcurses/base/lib_slktouch.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| slk_touch |
|
3 |
8 |
45 |
1 |
| Source file: ./lib/libcurses/base/lib_slkatron.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| slk_attron |
|
4 |
14 |
126 |
1 |
| Source file: ./lib/libcurses/base/lib_slkatrof.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| slk_attroff |
|
4 |
14 |
123 |
1 |
| Source file: ./lib/libcurses/base/lib_slkrefr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| slk_paint_info |
|
5 |
12 |
103 |
1 |
| slk_intern_refresh |
|
12 |
37 |
259 |
1 |
| slk_noutrefresh |
|
4 |
10 |
64 |
1 |
| slk_refresh |
|
4 |
10 |
64 |
1 |
| Source file: ./lib/libcurses/base/vsscanf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| final_ch |
|
23 |
63 |
198 |
2 |
| other_ch |
|
3 |
13 |
39 |
1 |
| vsscanf |
|
44 |
148 |
780 |
3 |
| _nc_vsscanf |
|
1 |
3 |
5 |
1 |
| Source file: ./lib/libcurses/base/lib_endwin.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| endwin |
|
2 |
12 |
54 |
1 |
| Source file: ./lib/libcurses/base/lib_box.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _my_render |
|
1 |
7 |
40 |
2 |
| wborder |
|
4 |
59 |
503 |
9 |
| Source file: ./lib/libcurses/base/lib_touch.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| is_linetouched |
|
5 |
7 |
69 |
2 |
| is_wintouched |
|
4 |
10 |
64 |
1 |
| wtouchln |
|
9 |
14 |
131 |
4 |
| Source file: ./lib/libcurses/base/lib_slkatr_set.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| slk_attr_set |
|
7 |
15 |
139 |
3 |
| Source file: ./lib/libcurses/base/lib_beep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| beep |
|
4 |
17 |
83 |
1 |
| Source file: ./lib/libcurses/base/lib_nl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| nl |
|
2 |
8 |
37 |
1 |
| nonl |
|
2 |
8 |
37 |
1 |
| Source file: ./lib/libcurses/base/lib_hline.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| whline |
|
5 |
28 |
170 |
3 |
| Source file: ./lib/libcurses/base/lib_immedok.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| immedok |
|
2 |
7 |
36 |
2 |
| Source file: ./lib/libcurses/base/lib_slkset.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| slk_set |
|
23 |
85 |
559 |
3 |
| Source file: ./lib/libcurses/base/lib_isendwin.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| isendwin |
|
2 |
6 |
19 |
1 |
| Source file: ./lib/libcurses/base/lib_getstr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| WipeOut |
|
6 |
18 |
127 |
6 |
| wgetnstr_events |
|
38 |
100 |
612 |
4 |
| wgetnstr |
|
1 |
7 |
35 |
3 |
| Source file: ./lib/libcurses/base/lib_echo.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| echo |
|
1 |
6 |
26 |
1 |
| noecho |
|
1 |
6 |
26 |
1 |
| Source file: ./lib/libcurses/base/lib_slkatrset.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| slk_attrset |
|
3 |
9 |
58 |
1 |
| Source file: ./lib/libcurses/base/lib_vline.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wvline |
|
5 |
29 |
174 |
3 |
| Source file: ./lib/libcurses/base/lib_window.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _nc_synchook |
|
3 |
7 |
29 |
1 |
| mvderwin |
|
9 |
22 |
188 |
3 |
| syncok |
|
2 |
9 |
47 |
2 |
| wsyncup |
|
7 |
23 |
180 |
1 |
| wsyncdown |
|
8 |
24 |
200 |
1 |
| wcursyncup |
|
3 |
9 |
68 |
1 |
| dupwin |
|
6 |
56 |
426 |
1 |
| Source file: ./lib/libcurses/base/lib_wattron.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wattr_on |
|
3 |
16 |
102 |
3 |
| Source file: ./lib/libcurses/base/lib_leaveok.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| leaveok |
|
2 |
9 |
47 |
2 |
| Source file: ./lib/libcurses/base/lib_scrreg.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wsetscrreg |
|
7 |
13 |
88 |
3 |
| Source file: ./lib/libcurses/base/lib_printw.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| printw |
|
2 |
13 |
78 |
2 |
| wprintw |
|
2 |
13 |
84 |
3 |
| mvprintw |
|
3 |
15 |
105 |
4 |
| mvwprintw |
|
3 |
15 |
113 |
5 |
| vwprintw |
|
2 |
10 |
72 |
3 |
| Source file: ./lib/libcurses/base/keyok.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| keyok |
|
9 |
30 |
205 |
2 |
| Source file: ./lib/libcurses/base/lib_ungetch.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _nc_fifo_dump |
|
2 |
7 |
57 |
1 |
| _nc_ungetch |
|
5 |
20 |
99 |
2 |
| ungetch |
|
1 |
5 |
33 |
1 |
| Source file: ./lib/libcurses/base/lib_set_term.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| set_term |
|
4 |
28 |
140 |
1 |
| _nc_free_keytry |
|
2 |
8 |
35 |
1 |
| delink_screen |
|
4 |
18 |
70 |
1 |
| delscreen |
|
11 |
52 |
327 |
1 |
| no_mouse_event |
|
1 |
4 |
12 |
1 |
| no_mouse_inline |
|
1 |
4 |
12 |
1 |
| no_mouse_parse |
|
1 |
4 |
16 |
2 |
| no_mouse_resume |
|
1 |
3 |
9 |
1 |
| no_mouse_wrap |
|
1 |
3 |
9 |
1 |
| extract_fgbg |
|
6 |
15 |
85 |
2 |
| _nc_setupscreen |
|
63 |
235 |
1462 |
5 |
| _nc_ripoffline |
|
4 |
14 |
83 |
2 |
| ripoffline |
|
3 |
8 |
66 |
2 |
| Source file: ./lib/libcurses/base/tries.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _nc_expand_try |
|
11 |
30 |
200 |
4 |
| _nc_remove_key |
|
6 |
23 |
144 |
2 |
| _nc_remove_string |
|
7 |
22 |
164 |
2 |
| Source file: ./lib/libcurses/base/lib_delwin.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cannot_delete |
|
5 |
15 |
76 |
1 |
| delwin |
|
6 |
19 |
99 |
1 |
| Source file: ./lib/libcurses/base/lib_redrawln.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wredrawln |
|
9 |
30 |
250 |
3 |
| Source file: ./lib/libcurses/base/lib_overlay.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| overlap |
|
7 |
46 |
334 |
3 |
| overlay |
|
1 |
5 |
38 |
2 |
| overwrite |
|
1 |
5 |
38 |
2 |
| copywin |
|
15 |
61 |
470 |
9 |
| Source file: ./lib/libcurses/base/lib_screen.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| getwin |
|
11 |
58 |
429 |
1 |
| putwin |
|
7 |
22 |
151 |
2 |
| scr_restore |
|
4 |
15 |
96 |
1 |
| scr_dump |
|
3 |
13 |
86 |
1 |
| scr_init |
|
6 |
17 |
107 |
1 |
| scr_set |
|
3 |
12 |
67 |
1 |
| Source file: ./lib/libcurses/base/lib_color.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| NCURSES_PUBLIC_VAR( COLOR_PAIRS) |
|
2 |
4 |
15 |
1 |
| NCURSES_PUBLIC_VAR( COLORS) |
|
2 |
4 |
15 |
1 |
| default_fg |
|
2 |
4 |
19 |
1 |
| default_bg |
|
2 |
4 |
17 |
1 |
| toggled_colors |
|
2 |
10 |
66 |
1 |
| set_background_color |
|
2 |
10 |
66 |
2 |
| set_foreground_color |
|
2 |
10 |
66 |
2 |
| init_color_table |
|
8 |
23 |
163 |
1 |
| reset_color_pair |
|
2 |
10 |
36 |
1 |
| _nc_reset_colors |
|
4 |
15 |
77 |
1 |
| start_color |
|
10 |
38 |
219 |
1 |
| rgb2hls |
|
9 |
25 |
232 |
6 |
| init_pair |
|
29 |
58 |
477 |
3 |
| init_color |
|
10 |
30 |
252 |
4 |
| can_change_color |
|
2 |
5 |
28 |
1 |
| has_colors |
|
8 |
10 |
66 |
1 |
| color_content |
|
8 |
22 |
158 |
4 |
| pair_content |
|
10 |
22 |
162 |
3 |
| _nc_do_color |
|
27 |
55 |
335 |
4 |
| Source file: ./lib/libcurses/base/lib_insdel.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| winsdelln |
|
3 |
14 |
77 |
2 |
| Source file: ./lib/libcurses/base/lib_colorset.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wcolor_set |
|
5 |
14 |
93 |
3 |
| Source file: ./lib/libcurses/tty/tty_update.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| position_check |
|
11 |
37 |
267 |
3 |
| GoTo |
|
1 |
8 |
74 |
2 |
| PutAttrChar |
|
30 |
72 |
502 |
1 |
| check_pending |
|
11 |
33 |
193 |
1 |
| PutCharLR |
|
8 |
20 |
134 |
1 |
| wrap_cursor |
|
5 |
19 |
122 |
1 |
| PutChar |
|
4 |
10 |
62 |
1 |
| can_clear_with |
|
12 |
20 |
133 |
1 |
| EmitRange |
|
19 |
55 |
354 |
2 |
| PutRange |
|
9 |
28 |
202 |
5 |
| doupdate |
|
64 |
204 |
1279 |
1 |
| ClrBlank |
|
2 |
7 |
37 |
1 |
| ClrUpdate |
|
2 |
13 |
94 |
1 |
| ClrToEOL |
|
10 |
29 |
170 |
2 |
| ClrToEOS |
|
4 |
15 |
107 |
1 |
| ClrBottom |
|
14 |
32 |
243 |
1 |
| TransformLine |
|
81 |
204 |
1473 |
1 |
| ClearScreen |
|
16 |
50 |
335 |
1 |
| InsStr |
|
9 |
40 |
199 |
2 |
| DelChar |
|
3 |
17 |
88 |
1 |
| scroll_csr_forward |
|
24 |
49 |
357 |
6 |
| scroll_csr_backward |
|
24 |
50 |
357 |
6 |
| scroll_idl |
|
13 |
35 |
218 |
4 |
| _nc_scrolln |
|
39 |
87 |
650 |
4 |
| _nc_screen_resume |
|
14 |
33 |
184 |
1 |
| _nc_screen_init |
|
1 |
4 |
9 |
1 |
| _nc_screen_wrap |
|
5 |
16 |
93 |
1 |
| _nc_do_xmc_glitch |
|
4 |
13 |
80 |
1 |
| Source file: ./lib/libcurses/base/lib_scroll.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _nc_scroll_window |
|
19 |
67 |
530 |
5 |
| wscrl |
|
4 |
13 |
87 |
2 |
| Source file: ./lib/libcurses/base/lib_move.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wmove |
|
2 |
12 |
83 |
3 |
| Source file: ./lib/libcurses/base/lib_clreol.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wclrtoeol |
|
8 |
30 |
193 |
1 |
| Source file: ./lib/libcurses/base/lib_slkinit.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| slk_init |
|
4 |
10 |
68 |
1 |
| Source file: ./lib/libcurses/base/lib_insch.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _nc_insert_ch |
|
23 |
69 |
448 |
2 |
| winsch |
|
2 |
16 |
89 |
2 |
| Source file: ./lib/libcurses/base/lib_slklab.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| slk_label |
|
5 |
7 |
63 |
1 |
| Source file: ./lib/libcurses/base/lib_pad.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| newpad |
|
7 |
21 |
190 |
2 |
| subpad |
|
4 |
11 |
91 |
5 |
| prefresh |
|
3 |
16 |
74 |
7 |
| pnoutrefresh |
|
46 |
124 |
904 |
7 |
| pechochar |
|
3 |
16 |
113 |
2 |
| Source file: ./lib/libcurses/nc_panel.h |
| Source file: ./lib/libcurses/hashsize.h |
| Source file: ./lib/libcurses/base/lib_newwin.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| remove_window_from_screen |
|
5 |
16 |
70 |
1 |
| _nc_freewin |
|
8 |
33 |
186 |
1 |
| newwin |
|
11 |
27 |
225 |
4 |
| derwin |
|
13 |
30 |
260 |
5 |
| subwin |
|
1 |
6 |
84 |
5 |
| dimension_limit |
|
2 |
5 |
23 |
1 |
| _nc_makenew |
|
15 |
69 |
528 |
5 |
| _nc_screen_of |
|
2 |
9 |
42 |
1 |
| Source file: ./lib/libcurses/base/wresize.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cleanup_lines |
|
2 |
7 |
36 |
2 |
| repair_subwindows |
|
8 |
25 |
200 |
1 |
| wresize |
|
39 |
112 |
881 |
3 |
| Source file: ./lib/libcurses/termcap.h |
| Source file: ./lib/libcurses/fifo_defs.h |
| Source file: ./lib/libcurses/hashed_db.h |
| Source file: ./lib/libcurses/unctrl.h |
| Source file: ./lib/libcurses/nc_tparm.h |
| Source file: ./lib/libcurses/base/lib_addch.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| render_char |
|
9 |
35 |
248 |
2 |
| _nc_render |
|
1 |
4 |
18 |
2 |
| newline_forces_scroll |
|
3 |
11 |
57 |
2 |
| wrap_to_next_line |
|
3 |
12 |
66 |
1 |
| fill_cells |
|
3 |
12 |
64 |
2 |
| _nc_build_wch |
|
6 |
37 |
298 |
2 |
| waddch_literal |
|
27 |
104 |
734 |
2 |
| waddch_nosync |
|
28 |
77 |
424 |
2 |
| _nc_waddch_nosync |
|
1 |
4 |
21 |
2 |
| waddch |
|
3 |
14 |
94 |
2 |
| wechochar |
|
3 |
17 |
113 |
2 |
| Source file: ./lib/libcurses/tic.h |
| Source file: ./lib/libcurses/base/lib_getch.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| NCURSES_PUBLIC_VAR( ESCDELAY) |
|
2 |
4 |
15 |
1 |
| set_escdelay |
|
3 |
11 |
37 |
1 |
| _nc_use_meta |
|
2 |
5 |
28 |
1 |
| check_mouse_activity |
|
9 |
16 |
107 |
2 |
| fifo_peek |
|
1 |
7 |
36 |
1 |
| fifo_pull |
|
4 |
16 |
81 |
1 |
| fifo_push |
|
27 |
64 |
400 |
1 |
| fifo_clear |
|
1 |
6 |
35 |
1 |
| recur_wrefresh |
|
7 |
17 |
94 |
1 |
| recur_wgetnstr |
|
5 |
24 |
115 |
2 |
| _nc_wgetch |
|
62 |
126 |
802 |
3 |
| wgetch_events |
|
2 |
13 |
66 |
2 |
| wgetch |
|
2 |
13 |
64 |
1 |
| kgetch |
|
18 |
64 |
375 |
1 |
| Source file: ./lib/libcurses/ncurses_cfg.h |
| Source file: ./lib/libcurses/capdefaults.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| if |
|
1 |
4 |
22 |
1 |
| if |
|
1 |
7 |
35 |
1 |
| Source file: ./lib/libcurses/nc_alloc.h |
| Source file: ./lib/libcurses/SigAction.h |
| Source file: ./lib/libcurses/ncurses_def.h |
| Source file: ./lib/libcurses/parametrized.h |
| Source file: ./lib/libcrypto/aes/aes_wrap.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| AES_wrap_key |
|
7 |
30 |
277 |
5 |
| AES_unwrap_key |
|
8 |
36 |
304 |
5 |
| Source file: ./lib/libcurses/term_entry.h |
| Source file: ./lib/libcrypto/aes/aes_misc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| AES_options |
|
2 |
5 |
12 |
1 |
| Source file: ./lib/libcrypto/aes/aes_ofb.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| AES_ofb128_encrypt |
|
1 |
6 |
52 |
6 |
| Source file: ./lib/libcrypto/aes/aes_cbc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| AES_cbc_encrypt |
|
2 |
10 |
73 |
6 |
| Source file: ./lib/libcurses/term.h |
| Source file: ./lib/libcrypto/aes/aes.h |
| Source file: ./lib/libcrypto/aes/aes_ige.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| AES_ige_encrypt |
|
20 |
104 |
846 |
6 |
| Source file: ./lib/libcrypto/aes/aes_cfb.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| AES_cfb128_encrypt |
|
1 |
6 |
58 |
7 |
| AES_cfb1_encrypt |
|
1 |
6 |
58 |
7 |
| AES_cfb8_encrypt |
|
1 |
6 |
58 |
7 |
| Source file: ./lib/libcrypto/aes/aes_locl.h |
| Source file: ./lib/libcrypto/aes/aes_ctr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| AES_ctr128_encrypt |
|
1 |
7 |
64 |
7 |
| Source file: ./lib/libcrypto/aes/aes_ecb.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| AES_ecb_encrypt |
|
2 |
8 |
49 |
4 |
| Source file: ./lib/libcrypto/dsa/dsa_vrf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| DSA_do_verify |
|
1 |
4 |
37 |
4 |
| Source file: ./lib/libcrypto/dsa/dsa.h |
| Source file: ./lib/libcrypto/dsa/dsa_ossl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| DSA_OpenSSL |
|
1 |
4 |
10 |
1 |
| dsa_do_sign |
|
21 |
69 |
432 |
3 |
| dsa_sign_setup |
|
21 |
61 |
431 |
4 |
| dsa_do_verify |
|
27 |
71 |
549 |
4 |
| dsa_init |
|
1 |
5 |
17 |
1 |
| dsa_finish |
|
1 |
5 |
18 |
1 |
| Source file: ./lib/libcrypto/dsa/dsa_pmeth.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pkey_dsa_init |
|
2 |
15 |
77 |
1 |
| pkey_dsa_copy |
|
2 |
13 |
77 |
2 |
| pkey_dsa_cleanup |
|
1 |
5 |
21 |
1 |
| pkey_dsa_sign |
|
3 |
17 |
110 |
5 |
| pkey_dsa_verify |
|
2 |
13 |
91 |
5 |
| pkey_dsa_ctrl |
|
24 |
53 |
222 |
4 |
| pkey_dsa_ctrl_str |
|
18 |
39 |
260 |
3 |
| pkey_dsa_paramgen |
|
4 |
22 |
125 |
2 |
| pkey_dsa_keygen |
|
4 |
15 |
82 |
2 |
| Source file: ./lib/libcrypto/dsa/dsa_lib.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| DSA_set_default_method |
|
1 |
4 |
13 |
1 |
| DSA_get_default_method |
|
2 |
6 |
20 |
1 |
| DSA_new |
|
1 |
4 |
12 |
1 |
| DSA_set_method |
|
4 |
15 |
80 |
2 |
| DSA_new_method |
|
9 |
50 |
293 |
1 |
| DSA_free |
|
5 |
22 |
138 |
1 |
| DSA_up_ref |
|
2 |
5 |
32 |
1 |
| DSA_size |
|
1 |
15 |
92 |
1 |
| DSA_get_ex_new_index |
|
1 |
6 |
39 |
5 |
| DSA_set_ex_data |
|
1 |
4 |
28 |
3 |
| DSA_get_ex_data |
|
1 |
4 |
22 |
2 |
| DSA_dup_DH |
|
13 |
30 |
205 |
1 |
| Source file: ./lib/libcrypto/dsa/dsa_depr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| DSA_generate_parameters |
|
3 |
15 |
105 |
7 |
| Source file: ./lib/libcrypto/dsa/dsa_locl.h |
| Source file: ./lib/libcrypto/dsa/dsa_prn.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| DSA_print_fp |
|
2 |
13 |
76 |
3 |
| DSAparams_print_fp |
|
2 |
13 |
71 |
2 |
| DSA_print |
|
3 |
11 |
70 |
3 |
| DSAparams_print |
|
3 |
11 |
67 |
2 |
| Source file: ./lib/libcurses/curses.priv.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| NCURSES_EXPORT_VAR |
|
2 |
10 |
40 |
1 |
| Source file: ./lib/libcurses/curses.h |
| Source file: ./lib/libcrypto/dsa/dsa_gen.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| DSA_generate_parameters_ex |
|
3 |
20 |
129 |
7 |
| dsa_builtin_paramgen |
|
74 |
195 |
1353 |
10 |
| Source file: ./lib/libcrypto/dsa/dsa_err.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ERR_load_DSA_strings |
|
2 |
8 |
36 |
1 |
| Source file: ./lib/libcrypto/dsa/dsa_sign.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| DSA_do_sign |
|
1 |
4 |
31 |
3 |
| DSA_sign_setup |
|
1 |
4 |
36 |
4 |
| DSA_SIG_new |
|
2 |
10 |
43 |
1 |
| DSA_SIG_free |
|
2 |
8 |
33 |
1 |
| Source file: ./lib/libcrypto/dsa/dsa_key.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| DSA_generate_key |
|
2 |
6 |
32 |
1 |
| dsa_builtin_keygen |
|
13 |
38 |
234 |
1 |
| Source file: ./lib/libcrypto/hkdf/hkdf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| HKDF |
|
3 |
14 |
99 |
9 |
| HKDF_extract |
|
2 |
13 |
77 |
7 |
| HKDF_expand |
|
13 |
41 |
286 |
7 |
| Source file: ./lib/libcrypto/hkdf/hkdf.h |
| Source file: ./lib/libcrypto/curve25519/curve25519-generic.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| x25519_scalar_mult |
|
1 |
5 |
33 |
3 |
| Source file: ./lib/libcrypto/aes/aes_x86core.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| prefetch256 |
|
2 |
9 |
75 |
1 |
| AES_set_encrypt_key |
|
17 |
90 |
818 |
3 |
| AES_set_decrypt_key |
|
7 |
70 |
800 |
3 |
| AES_encrypt |
|
9 |
175 |
1989 |
3 |
| AES_decrypt |
|
8 |
170 |
1903 |
3 |
| Source file: ./lib/libcrypto/curve25519/curve25519.h |
| Source file: ./lib/libcrypto/curve25519/curve25519_internal.h |
| Source file: ./lib/libcrypto/x509/by_mem.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| X509_LOOKUP_mem |
|
1 |
4 |
12 |
1 |
| by_mem_ctrl |
|
13 |
40 |
268 |
5 |
| Source file: ./lib/libcrypto/dsa/dsa_asn1.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sig_cb |
|
3 |
16 |
84 |
4 |
| d2i_DSA_SIG |
|
1 |
5 |
38 |
3 |
| i2d_DSA_SIG |
|
1 |
4 |
29 |
2 |
| dsa_cb |
|
4 |
14 |
80 |
4 |
| d2i_DSAPrivateKey |
|
1 |
5 |
38 |
3 |
| i2d_DSAPrivateKey |
|
1 |
4 |
29 |
2 |
| d2i_DSAparams |
|
1 |
5 |
38 |
3 |
| i2d_DSAparams |
|
1 |
4 |
29 |
2 |
| d2i_DSAparams_bio |
|
1 |
4 |
23 |
2 |
| i2d_DSAparams_bio |
|
1 |
4 |
23 |
2 |
| d2i_DSAparams_fp |
|
1 |
4 |
23 |
2 |
| i2d_DSAparams_fp |
|
1 |
4 |
23 |
2 |
| d2i_DSAPublicKey |
|
1 |
5 |
38 |
3 |
| i2d_DSAPublicKey |
|
1 |
4 |
29 |
2 |
| DSAparams_dup |
|
1 |
4 |
17 |
1 |
| DSA_sign |
|
2 |
13 |
80 |
6 |
| DSA_verify |
|
5 |
22 |
151 |
6 |
| Source file: ./lib/libcrypto/dsa/dsa_ameth.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dsa_pub_decode |
|
10 |
47 |
271 |
2 |
| dsa_pub_encode |
|
9 |
39 |
210 |
2 |
| dsa_priv_decode |
|
11 |
55 |
329 |
2 |
| dsa_priv_encode |
|
5 |
35 |
196 |
2 |
| int_dsa_size |
|
1 |
4 |
19 |
1 |
| dsa_bits |
|
1 |
4 |
21 |
1 |
| dsa_missing_parameters |
|
4 |
8 |
47 |
1 |
| dsa_copy_parameters |
|
4 |
17 |
149 |
2 |
| dsa_cmp_parameters |
|
4 |
9 |
80 |
2 |
| dsa_pub_cmp |
|
2 |
7 |
44 |
2 |
| int_dsa_free |
|
1 |
4 |
17 |
1 |
| update_buflen |
|
3 |
8 |
45 |
2 |
| do_dsa_print |
|
14 |
53 |
343 |
4 |
| dsa_param_decode |
|
2 |
10 |
57 |
3 |
| dsa_param_encode |
|
1 |
4 |
26 |
2 |
| dsa_param_print |
|
1 |
4 |
36 |
4 |
| dsa_pub_print |
|
1 |
4 |
36 |
4 |
| dsa_priv_print |
|
1 |
4 |
36 |
4 |
| old_dsa_priv_decode |
|
11 |
39 |
256 |
3 |
| old_dsa_priv_encode |
|
1 |
4 |
26 |
2 |
| dsa_sig_print |
|
8 |
38 |
235 |
5 |
| dsa_pkey_ctrl |
|
8 |
27 |
153 |
4 |
| Source file: ./lib/libcrypto/x509/x509name.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| X509_NAME_get_text_by_NID |
|
2 |
8 |
55 |
4 |
| X509_NAME_get_text_by_OBJ |
|
5 |
18 |
130 |
4 |
| X509_NAME_entry_count |
|
2 |
6 |
29 |
1 |
| X509_NAME_get_index_by_NID |
|
2 |
8 |
49 |
3 |
| X509_NAME_get_index_by_OBJ |
|
5 |
18 |
112 |
3 |
| X509_NAME_get_entry |
|
4 |
8 |
48 |
2 |
| X509_NAME_delete_entry |
|
8 |
24 |
171 |
2 |
| X509_NAME_add_entry_by_OBJ |
|
2 |
12 |
80 |
7 |
| X509_NAME_add_entry_by_NID |
|
2 |
12 |
79 |
7 |
| X509_NAME_add_entry_by_txt |
|
2 |
12 |
82 |
7 |
| X509_NAME_add_entry |
|
14 |
50 |
303 |
4 |
| X509_NAME_ENTRY_create_by_txt |
|
2 |
15 |
90 |
5 |
| X509_NAME_ENTRY_create_by_NID |
|
2 |
14 |
78 |
5 |
| X509_NAME_ENTRY_create_by_OBJ |
|
10 |
21 |
150 |
5 |
| X509_NAME_ENTRY_set_object |
|
4 |
10 |
69 |
2 |
| X509_NAME_ENTRY_set_data |
|
11 |
22 |
172 |
4 |
| X509_NAME_ENTRY_get_object |
|
2 |
6 |
26 |
1 |
| X509_NAME_ENTRY_get_data |
|
2 |
6 |
26 |
1 |
| Source file: ./lib/libcrypto/x509/x509_v3.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| X509v3_get_ext_count |
|
2 |
6 |
31 |
1 |
| X509v3_get_ext_by_NID |
|
2 |
8 |
53 |
3 |
| X509v3_get_ext_by_OBJ |
|
5 |
18 |
103 |
3 |
| X509v3_get_ext_by_critical |
|
8 |
19 |
116 |
3 |
| X509v3_get_ext |
|
4 |
7 |
44 |
2 |
| X509v3_delete_ext |
|
4 |
8 |
54 |
2 |
| X509v3_add_ext |
|
13 |
35 |
205 |
3 |
| X509_EXTENSION_create_by_NID |
|
3 |
15 |
80 |
4 |
| X509_EXTENSION_create_by_OBJ |
|
11 |
25 |
161 |
4 |
| X509_EXTENSION_set_object |
|
3 |
8 |
54 |
2 |
| X509_EXTENSION_set_critical |
|
3 |
7 |
40 |
2 |
| X509_EXTENSION_set_data |
|
3 |
10 |
58 |
2 |
| X509_EXTENSION_get_object |
|
2 |
6 |
26 |
1 |
| X509_EXTENSION_get_data |
|
2 |
6 |
26 |
1 |
| X509_EXTENSION_get_critical |
|
3 |
8 |
33 |
1 |
| Source file: ./lib/libcrypto/x509/x509_set.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| X509_set_version |
|
4 |
10 |
69 |
2 |
| X509_set_serialNumber |
|
4 |
15 |
82 |
2 |
| X509_set_issuer_name |
|
3 |
6 |
48 |
2 |
| X509_set_subject_name |
|
3 |
6 |
48 |
2 |
| X509_set_notBefore |
|
5 |
15 |
101 |
2 |
| X509_set_notAfter |
|
5 |
15 |
101 |
2 |
| X509_set_pubkey |
|
3 |
6 |
50 |
2 |
| Source file: ./lib/libcrypto/x509/x509_txt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| X509_verify_cert_error_string |
|
55 |
117 |
477 |
1 |
| Source file: ./lib/libcrypto/x509/x509_trs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tr_cmp |
|
1 |
4 |
33 |
2 |
| int( * X509_TRUST_set_default(int(*trust)(int,X509*,int))) |
|
1 |
7 |
35 |
3 |
| X509_check_trust |
|
5 |
19 |
115 |
3 |
| X509_TRUST_get_count |
|
2 |
6 |
22 |
1 |
| X509_TRUST_get0 |
|
3 |
8 |
40 |
1 |
| X509_TRUST_get_by_id |
|
5 |
14 |
73 |
1 |
| X509_TRUST_set |
|
2 |
9 |
39 |
2 |
| X509_TRUST_add |
|
10 |
48 |
274 |
6 |
| trtable_free |
|
4 |
10 |
45 |
1 |
| X509_TRUST_cleanup |
|
2 |
8 |
41 |
1 |
| X509_TRUST_get_flags |
|
1 |
4 |
13 |
1 |
| X509_TRUST_get0_name |
|
1 |
4 |
13 |
1 |
| X509_TRUST_get_trust |
|
1 |
4 |
13 |
1 |
| trust_1oidany |
|
4 |
6 |
57 |
3 |
| trust_1oid |
|
2 |
6 |
36 |
3 |
| trust_compat |
|
2 |
8 |
40 |
3 |
| obj_trust |
|
8 |
24 |
144 |
3 |
| Source file: ./lib/libcrypto/x509/by_dir.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| X509_LOOKUP_hash_dir |
|
1 |
4 |
12 |
1 |
| dir_ctrl |
|
4 |
20 |
106 |
5 |
| new_dir |
|
3 |
13 |
80 |
1 |
| by_dir_hash_free |
|
1 |
4 |
13 |
1 |
| by_dir_hash_cmp |
|
3 |
9 |
60 |
2 |
| by_dir_entry_free |
|
2 |
7 |
35 |
1 |
| free_dir |
|
3 |
10 |
59 |
1 |
| add_cert_dir |
|
17 |
56 |
341 |
3 |
| get_cert_by_subject |
|
26 |
137 |
814 |
4 |
| Source file: ./lib/libcrypto/x509/x509_obj.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| X509_NAME_oneline |
|
28 |
104 |
786 |
3 |
| Source file: ./lib/libcrypto/x509/x509_def.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| X509_get_default_private_dir |
|
1 |
4 |
11 |
1 |
| X509_get_default_cert_area |
|
1 |
4 |
11 |
1 |
| X509_get_default_cert_dir |
|
1 |
4 |
11 |
1 |
| X509_get_default_cert_file |
|
1 |
4 |
11 |
1 |
| X509_get_default_cert_dir_env |
|
1 |
4 |
11 |
1 |
| X509_get_default_cert_file_env |
|
1 |
4 |
11 |
1 |
| Source file: ./lib/libcrypto/x509/x509_r2x.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| X509_REQ_to_X509 |
|
11 |
36 |
241 |
3 |
| Source file: ./lib/libcrypto/x509/x509type.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| X509_certificate_type |
|
19 |
57 |
240 |
2 |
| Source file: ./lib/libcrypto/x509/by_file.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| X509_LOOKUP_file |
|
1 |
4 |
12 |
1 |
| by_file_ctrl |
|
5 |
25 |
124 |
5 |
| X509_load_cert_file |
|
13 |
53 |
283 |
3 |
| X509_load_crl_file |
|
14 |
54 |
289 |
3 |
| X509_load_cert_crl_file |
|
7 |
33 |
192 |
3 |
| Source file: ./lib/libcrypto/x509/x_all.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| d2i_X509_bio |
|
1 |
4 |
23 |
2 |
| i2d_X509_bio |
|
1 |
4 |
23 |
2 |
| d2i_X509_fp |
|
1 |
4 |
23 |
2 |
| i2d_X509_fp |
|
1 |
4 |
23 |
2 |
| d2i_X509_CRL_bio |
|
1 |
4 |
23 |
2 |
| i2d_X509_CRL_bio |
|
1 |
4 |
23 |
2 |
| d2i_X509_CRL_fp |
|
1 |
4 |
23 |
2 |
| i2d_X509_CRL_fp |
|
1 |
4 |
23 |
2 |
| d2i_PKCS7_bio |
|
1 |
4 |
23 |
2 |
| i2d_PKCS7_bio |
|
1 |
4 |
23 |
2 |
| d2i_PKCS7_fp |
|
1 |
4 |
23 |
2 |
| i2d_PKCS7_fp |
|
1 |
4 |
23 |
2 |
| d2i_X509_REQ_bio |
|
1 |
4 |
23 |
2 |
| i2d_X509_REQ_bio |
|
1 |
4 |
23 |
2 |
| d2i_X509_REQ_fp |
|
1 |
4 |
23 |
2 |
| i2d_X509_REQ_fp |
|
1 |
4 |
23 |
2 |
| d2i_RSAPrivateKey_bio |
|
1 |
4 |
23 |
2 |
| i2d_RSAPrivateKey_bio |
|
1 |
4 |
23 |
2 |
| d2i_RSAPrivateKey_fp |
|
1 |
4 |
23 |
2 |
| i2d_RSAPrivateKey_fp |
|
1 |
4 |
23 |
2 |
| d2i_RSAPublicKey_bio |
|
1 |
4 |
23 |
2 |
| i2d_RSAPublicKey_bio |
|
1 |
4 |
23 |
2 |
| d2i_RSAPublicKey_fp |
|
1 |
4 |
23 |
2 |
| i2d_RSAPublicKey_fp |
|
1 |
4 |
23 |
2 |
| d2i_RSA_PUBKEY_bio |
|
1 |
4 |
26 |
2 |
| i2d_RSA_PUBKEY_bio |
|
1 |
4 |
24 |
2 |
| i2d_RSA_PUBKEY_fp |
|
1 |
4 |
28 |
2 |
| d2i_RSA_PUBKEY_fp |
|
1 |
5 |
44 |
2 |
| d2i_DSAPrivateKey_bio |
|
1 |
4 |
23 |
2 |
| i2d_DSAPrivateKey_bio |
|
1 |
4 |
23 |
2 |
| d2i_DSAPrivateKey_fp |
|
1 |
4 |
23 |
2 |
| i2d_DSAPrivateKey_fp |
|
1 |
4 |
23 |
2 |
| d2i_DSA_PUBKEY_bio |
|
1 |
4 |
26 |
2 |
| i2d_DSA_PUBKEY_bio |
|
1 |
4 |
24 |
2 |
| d2i_DSA_PUBKEY_fp |
|
1 |
4 |
26 |
2 |
| i2d_DSA_PUBKEY_fp |
|
1 |
4 |
24 |
2 |
| d2i_ECPrivateKey_bio |
|
1 |
4 |
26 |
2 |
| i2d_ECPrivateKey_bio |
|
1 |
4 |
24 |
2 |
| d2i_ECPrivateKey_fp |
|
1 |
4 |
26 |
2 |
| i2d_ECPrivateKey_fp |
|
1 |
4 |
24 |
2 |
| d2i_EC_PUBKEY_bio |
|
1 |
4 |
26 |
2 |
| i2d_EC_PUBKEY_bio |
|
1 |
4 |
24 |
2 |
| d2i_EC_PUBKEY_fp |
|
1 |
4 |
26 |
2 |
| i2d_EC_PUBKEY_fp |
|
1 |
4 |
24 |
2 |
| d2i_PKCS8_bio |
|
1 |
4 |
23 |
2 |
| i2d_PKCS8_bio |
|
1 |
4 |
23 |
2 |
| d2i_PKCS8_fp |
|
1 |
4 |
23 |
2 |
| i2d_PKCS8_fp |
|
1 |
4 |
23 |
2 |
| d2i_PKCS8_PRIV_KEY_INFO_bio |
|
1 |
5 |
23 |
2 |
| i2d_PKCS8_PRIV_KEY_INFO_bio |
|
1 |
5 |
23 |
2 |
| d2i_PKCS8_PRIV_KEY_INFO_fp |
|
1 |
5 |
23 |
2 |
| i2d_PKCS8_PRIV_KEY_INFO_fp |
|
1 |
5 |
23 |
2 |
| d2i_PrivateKey_bio |
|
1 |
5 |
26 |
2 |
| i2d_PrivateKey_bio |
|
1 |
4 |
24 |
2 |
| d2i_PrivateKey_fp |
|
1 |
5 |
26 |
2 |
| i2d_PrivateKey_fp |
|
1 |
4 |
24 |
2 |
| d2i_PUBKEY_bio |
|
1 |
4 |
26 |
2 |
| i2d_PUBKEY_bio |
|
1 |
4 |
24 |
2 |
| i2d_PUBKEY_fp |
|
1 |
4 |
24 |
2 |
| d2i_PUBKEY_fp |
|
1 |
4 |
26 |
2 |
| i2d_PKCS8PrivateKeyInfo_bio |
|
2 |
11 |
51 |
2 |
| i2d_PKCS8PrivateKeyInfo_fp |
|
2 |
11 |
51 |
2 |
| X509_verify |
|
2 |
7 |
53 |
2 |
| X509_REQ_verify |
|
1 |
5 |
35 |
2 |
| NETSCAPE_SPKI_verify |
|
1 |
5 |
35 |
2 |
| X509_sign |
|
1 |
7 |
58 |
3 |
| X509_sign_ctx |
|
1 |
7 |
49 |
2 |
| X509_REQ_sign |
|
1 |
5 |
44 |
3 |
| X509_REQ_sign_ctx |
|
1 |
5 |
35 |
2 |
| X509_CRL_sign |
|
1 |
6 |
58 |
3 |
| X509_CRL_sign_ctx |
|
1 |
6 |
49 |
2 |
| NETSCAPE_SPKI_sign |
|
1 |
5 |
44 |
3 |
| X509_pubkey_digest |
|
2 |
9 |
63 |
4 |
| X509_digest |
|
1 |
6 |
45 |
4 |
| X509_CRL_digest |
|
1 |
6 |
45 |
4 |
| X509_REQ_digest |
|
1 |
6 |
45 |
4 |
| X509_NAME_digest |
|
1 |
6 |
45 |
4 |
| PKCS7_ISSUER_AND_SERIAL_digest |
|
1 |
6 |
44 |
4 |
| X509_up_ref |
|
2 |
5 |
32 |
1 |
| Source file: ./lib/libcrypto/x509/x509_err.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ERR_load_X509_strings |
|
2 |
7 |
36 |
1 |
| Source file: ./lib/libcrypto/x509/x509_d2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| X509_STORE_set_default_paths |
|
3 |
14 |
83 |
1 |
| X509_STORE_load_locations |
|
9 |
21 |
142 |
3 |
| X509_STORE_load_mem |
|
3 |
13 |
81 |
3 |
| Source file: ./lib/libcrypto/x509/x509_vfy.h |
| Source file: ./lib/libcrypto/x509/x509cset.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| X509_CRL_set_version |
|
4 |
10 |
69 |
2 |
| X509_CRL_set_issuer_name |
|
3 |
6 |
48 |
2 |
| X509_CRL_set_lastUpdate |
|
4 |
15 |
83 |
2 |
| X509_CRL_set_nextUpdate |
|
4 |
15 |
83 |
2 |
| X509_CRL_sort |
|
2 |
12 |
78 |
1 |
| X509_REVOKED_set_revocationDate |
|
4 |
15 |
76 |
2 |
| X509_REVOKED_set_serialNumber |
|
4 |
15 |
76 |
2 |
| Source file: ./lib/libcrypto/aes/aes_core.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| AES_set_encrypt_key |
|
17 |
91 |
814 |
3 |
| AES_set_decrypt_key |
|
4 |
48 |
554 |
3 |
| AES_encrypt |
|
6 |
151 |
3255 |
3 |
| AES_decrypt |
|
6 |
151 |
3279 |
3 |
| AES_set_encrypt_key |
|
17 |
91 |
818 |
3 |
| AES_set_decrypt_key |
|
6 |
51 |
480 |
3 |
| Source file: ./lib/libcrypto/x509/x509.h |
| Source file: ./lib/libcrypto/x509/x509rset.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| X509_REQ_set_version |
|
2 |
6 |
36 |
2 |
| X509_REQ_set_subject_name |
|
3 |
6 |
48 |
2 |
| X509_REQ_set_pubkey |
|
3 |
6 |
48 |
2 |
| Source file: ./lib/libcrypto/x509/x509_cmp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| X509_issuer_and_serial_cmp |
|
2 |
11 |
72 |
2 |
| X509_issuer_and_serial_hash |
|
6 |
30 |
245 |
1 |
| X509_issuer_name_cmp |
|
1 |
4 |
32 |
2 |
| X509_subject_name_cmp |
|
1 |
4 |
32 |
2 |
| X509_CRL_cmp |
|
1 |
4 |
32 |
2 |
| X509_CRL_match |
|
1 |
4 |
28 |
2 |
| X509_get_issuer_name |
|
1 |
4 |
17 |
1 |
| X509_issuer_name_hash |
|
1 |
4 |
20 |
1 |
| X509_issuer_name_hash_old |
|
1 |
4 |
20 |
1 |
| X509_get_subject_name |
|
1 |
4 |
17 |
1 |
| X509_get_serialNumber |
|
1 |
4 |
17 |
1 |
| X509_subject_name_hash |
|
1 |
4 |
20 |
1 |
| X509_subject_name_hash_old |
|
1 |
4 |
20 |
1 |
| X509_cmp |
|
1 |
6 |
56 |
2 |
| X509_NAME_cmp |
|
8 |
18 |
122 |
2 |
| X509_NAME_hash |
|
2 |
13 |
119 |
1 |
| X509_NAME_hash_old |
|
4 |
18 |
149 |
1 |
| X509_find_by_issuer_and_serial |
|
4 |
18 |
109 |
3 |
| X509_find_by_subject |
|
3 |
11 |
73 |
2 |
| X509_get_pubkey |
|
3 |
6 |
41 |
1 |
| X509_get0_pubkey_bitstr |
|
2 |
6 |
26 |
1 |
| X509_check_private_key |
|
7 |
26 |
103 |
2 |
| Source file: ./lib/libcrypto/x509/x509_req.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| X509_to_X509_REQ |
|
9 |
33 |
187 |
3 |
| X509_REQ_get_pubkey |
|
3 |
6 |
41 |
1 |
| X509_REQ_check_private_key |
|
7 |
29 |
124 |
2 |
| X509_REQ_extension_nid |
|
4 |
11 |
50 |
1 |
| X509_REQ_get_extension_nids |
|
1 |
4 |
9 |
1 |
| X509_REQ_set_extension_nids |
|
1 |
4 |
12 |
1 |
| X509_REQ_get_extensions |
|
10 |
25 |
195 |
1 |
| X509_REQ_add_extensions_nid |
|
9 |
32 |
224 |
3 |
| X509_REQ_add_extensions |
|
1 |
4 |
25 |
2 |
| X509_REQ_get_attr_count |
|
1 |
4 |
19 |
1 |
| X509_REQ_get_attr_by_NID |
|
1 |
4 |
29 |
3 |
| X509_REQ_get_attr_by_OBJ |
|
1 |
4 |
30 |
3 |
| X509_REQ_get_attr |
|
1 |
4 |
24 |
2 |
| X509_REQ_delete_attr |
|
1 |
4 |
23 |
2 |
| X509_REQ_add1_attr |
|
2 |
6 |
32 |
2 |
| X509_REQ_add1_attr_by_OBJ |
|
2 |
8 |
51 |
5 |
| X509_REQ_add1_attr_by_NID |
|
2 |
8 |
49 |
5 |
| X509_REQ_add1_attr_by_txt |
|
2 |
8 |
51 |
5 |
| Source file: ./lib/libcrypto/x509/vpm_int.h |
| Source file: ./lib/libcrypto/x509/x509_vpm.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| str_free |
|
1 |
4 |
13 |
1 |
| sk_deep_copy |
|
7 |
25 |
178 |
3 |
| int_x509_param_set_hosts |
|
11 |
30 |
176 |
4 |
| x509_verify_param_zero |
|
4 |
29 |
157 |
1 |
| X509_VERIFY_PARAM_new |
|
3 |
16 |
77 |
1 |
| X509_VERIFY_PARAM_free |
|
2 |
8 |
33 |
1 |
| X509_VERIFY_PARAM_inherit |
|
19 |
59 |
347 |
2 |
| X509_VERIFY_PARAM_set1 |
|
1 |
9 |
48 |
2 |
| int_x509_param_set1 |
|
7 |
25 |
128 |
4 |
| X509_VERIFY_PARAM_set1_name |
|
3 |
11 |
56 |
2 |
| X509_VERIFY_PARAM_set_flags |
|
2 |
7 |
33 |
2 |
| X509_VERIFY_PARAM_clear_flags |
|
1 |
5 |
21 |
2 |
| X509_VERIFY_PARAM_get_flags |
|
1 |
4 |
13 |
1 |
| X509_VERIFY_PARAM_set_purpose |
|
1 |
4 |
22 |
2 |
| X509_VERIFY_PARAM_set_trust |
|
1 |
4 |
22 |
2 |
| X509_VERIFY_PARAM_set_depth |
|
1 |
4 |
17 |
2 |
| X509_VERIFY_PARAM_set_time |
|
1 |
5 |
23 |
2 |
| X509_VERIFY_PARAM_add0_policy |
|
4 |
11 |
57 |
2 |
| X509_VERIFY_PARAM_set1_policies |
|
8 |
29 |
155 |
2 |
| X509_VERIFY_PARAM_set1_host |
|
1 |
5 |
30 |
3 |
| X509_VERIFY_PARAM_add1_host |
|
1 |
5 |
30 |
3 |
| X509_VERIFY_PARAM_set_hostflags |
|
1 |
4 |
20 |
2 |
| X509_VERIFY_PARAM_get0_peername |
|
1 |
4 |
15 |
1 |
| X509_VERIFY_PARAM_set1_email |
|
1 |
6 |
38 |
3 |
| X509_VERIFY_PARAM_set1_ip |
|
4 |
8 |
64 |
3 |
| X509_VERIFY_PARAM_set1_ip_asc |
|
2 |
9 |
54 |
2 |
| X509_VERIFY_PARAM_get_depth |
|
1 |
4 |
14 |
1 |
| X509_VERIFY_PARAM_get0_name |
|
1 |
4 |
14 |
1 |
| param_cmp |
|
1 |
5 |
36 |
2 |
| X509_VERIFY_PARAM_add0_table |
|
5 |
22 |
98 |
1 |
| X509_VERIFY_PARAM_get_count |
|
2 |
7 |
33 |
1 |
| X509_VERIFY_PARAM_get0 |
|
2 |
7 |
41 |
1 |
| X509_VERIFY_PARAM_lookup |
|
5 |
18 |
117 |
1 |
| X509_VERIFY_PARAM_table_cleanup |
|
2 |
7 |
21 |
1 |
| Source file: ./lib/libcrypto/x509/x509_att.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| X509at_get_attr_count |
|
1 |
4 |
18 |
1 |
| X509at_get_attr_by_NID |
|
2 |
8 |
53 |
3 |
| X509at_get_attr_by_OBJ |
|
5 |
18 |
103 |
3 |
| X509at_get_attr |
|
4 |
7 |
44 |
2 |
| X509at_delete_attr |
|
4 |
8 |
54 |
2 |
| X509at_add1_attr |
|
10 |
29 |
165 |
2 |
| X509at_add1_attr_by_OBJ |
|
2 |
12 |
79 |
5 |
| X509at_add1_attr_by_NID |
|
2 |
12 |
77 |
5 |
| X509at_add1_attr_by_txt |
|
2 |
12 |
79 |
5 |
| X509at_get0_data_by_OBJ |
|
6 |
15 |
115 |
4 |
| X509_ATTRIBUTE_create_by_NID |
|
3 |
15 |
86 |
5 |
| X509_ATTRIBUTE_create_by_OBJ |
|
10 |
23 |
157 |
5 |
| X509_ATTRIBUTE_create_by_txt |
|
2 |
15 |
90 |
5 |
| X509_ATTRIBUTE_set1_object |
|
3 |
8 |
55 |
2 |
| X509_ATTRIBUTE_set1_data |
|
14 |
46 |
274 |
4 |
| X509_ATTRIBUTE_count |
|
3 |
8 |
39 |
1 |
| X509_ATTRIBUTE_get0_object |
|
2 |
6 |
26 |
1 |
| X509_ATTRIBUTE_get0_data |
|
3 |
12 |
65 |
4 |
| X509_ATTRIBUTE_get0_type |
|
4 |
11 |
61 |
2 |
| Source file: ./lib/libcrypto/x509/x509_ext.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| X509_CRL_get_ext_count |
|
1 |
4 |
20 |
1 |
| X509_CRL_get_ext_by_NID |
|
1 |
4 |
30 |
3 |
| X509_CRL_get_ext_by_OBJ |
|
1 |
4 |
31 |
3 |
| X509_CRL_get_ext_by_critical |
|
1 |
4 |
30 |
3 |
| X509_CRL_get_ext |
|
1 |
4 |
25 |
2 |
| X509_CRL_delete_ext |
|
1 |
4 |
25 |
2 |
| X509_CRL_get_ext_d2i |
|
1 |
4 |
35 |
4 |
| X509_CRL_add1_ext_i2d |
|
1 |
5 |
41 |
5 |
| X509_CRL_add_ext |
|
1 |
4 |
36 |
3 |
| X509_get_ext_count |
|
1 |
4 |
20 |
1 |
| X509_get_ext_by_NID |
|
1 |
4 |
30 |
3 |
| X509_get_ext_by_OBJ |
|
1 |
4 |
31 |
3 |
| X509_get_ext_by_critical |
|
1 |
5 |
30 |
3 |
| X509_get_ext |
|
1 |
4 |
25 |
2 |
| X509_delete_ext |
|
1 |
4 |
25 |
2 |
| X509_add_ext |
|
1 |
4 |
36 |
3 |
| X509_get_ext_d2i |
|
1 |
4 |
35 |
4 |
| X509_add1_ext_i2d |
|
1 |
5 |
41 |
5 |
| X509_REVOKED_get_ext_count |
|
1 |
4 |
18 |
1 |
| X509_REVOKED_get_ext_by_NID |
|
1 |
4 |
28 |
3 |
| X509_REVOKED_get_ext_by_OBJ |
|
1 |
4 |
29 |
3 |
| X509_REVOKED_get_ext_by_critical |
|
1 |
4 |
28 |
3 |
| X509_REVOKED_get_ext |
|
1 |
4 |
23 |
2 |
| X509_REVOKED_delete_ext |
|
1 |
4 |
23 |
2 |
| X509_REVOKED_add_ext |
|
1 |
4 |
34 |
3 |
| X509_REVOKED_get_ext_d2i |
|
1 |
4 |
33 |
4 |
| X509_REVOKED_add1_ext_i2d |
|
1 |
5 |
39 |
5 |
| Source file: ./lib/libcrypto/x509/x509_lcl.h |
| Source file: ./lib/libcrypto/x509/x509spki.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| NETSCAPE_SPKI_set_pubkey |
|
3 |
6 |
50 |
2 |
| NETSCAPE_SPKI_get_pubkey |
|
3 |
6 |
41 |
1 |
| NETSCAPE_SPKI_b64_decode |
|
4 |
23 |
129 |
2 |
| NETSCAPE_SPKI_b64_encode |
|
3 |
20 |
112 |
1 |
| Source file: ./lib/libcrypto/comp/comp_err.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ERR_load_COMP_strings |
|
2 |
7 |
36 |
1 |
| Source file: ./lib/libcrypto/comp/c_rle.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| COMP_rle |
|
1 |
4 |
12 |
1 |
| rle_compress_block |
|
3 |
10 |
72 |
5 |
| rle_expand_block |
|
3 |
13 |
81 |
5 |
| Source file: ./lib/libcrypto/comp/comp.h |
| Source file: ./lib/libcrypto/comp/comp_lib.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| COMP_CTX_new |
|
4 |
13 |
81 |
1 |
| COMP_CTX_free |
|
3 |
8 |
40 |
1 |
| COMP_compress_block |
|
3 |
14 |
89 |
5 |
| COMP_expand_block |
|
3 |
14 |
89 |
5 |
| Source file: ./lib/libcrypto/dso/dso_err.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ERR_load_DSO_strings |
|
2 |
7 |
36 |
1 |
| Source file: ./lib/libcrypto/dso/dso_null.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| DSO_METHOD_null |
|
1 |
4 |
12 |
1 |
| Source file: ./lib/libcrypto/x509/x509_lu.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| X509_LOOKUP_new |
|
4 |
17 |
92 |
1 |
| X509_LOOKUP_free |
|
4 |
8 |
53 |
1 |
| X509_LOOKUP_init |
|
3 |
9 |
43 |
1 |
| X509_LOOKUP_shutdown |
|
3 |
9 |
43 |
1 |
| X509_LOOKUP_ctrl |
|
3 |
10 |
67 |
5 |
| X509_LOOKUP_by_subject |
|
4 |
9 |
67 |
4 |
| X509_LOOKUP_by_issuer_serial |
|
3 |
8 |
64 |
5 |
| X509_LOOKUP_by_fingerprint |
|
3 |
7 |
64 |
5 |
| X509_LOOKUP_by_alias |
|
3 |
7 |
63 |
5 |
| x509_object_cmp |
|
4 |
18 |
121 |
2 |
| X509_STORE_new |
|
4 |
32 |
193 |
1 |
| X509_OBJECT_free |
|
1 |
5 |
18 |
1 |
| X509_STORE_free |
|
4 |
22 |
134 |
1 |
| X509_STORE_add_lookup |
|
5 |
25 |
122 |
2 |
| X509_STORE_get_by_subject |
|
7 |
32 |
198 |
4 |
| X509_STORE_add_cert |
|
7 |
33 |
169 |
2 |
| X509_STORE_add_crl |
|
7 |
33 |
169 |
2 |
| X509_OBJECT_dec_ref_count |
|
3 |
11 |
60 |
1 |
| X509_OBJECT_up_ref_count |
|
3 |
11 |
58 |
1 |
| X509_OBJECT_free_contents |
|
3 |
11 |
44 |
1 |
| x509_object_idx_cnt |
|
7 |
39 |
204 |
4 |
| X509_OBJECT_idx_by_subject |
|
1 |
4 |
30 |
3 |
| X509_OBJECT_retrieve_by_subject |
|
2 |
9 |
50 |
3 |
| X509_STORE_get1_certs |
|
7 |
42 |
254 |
2 |
| X509_STORE_get1_crls |
|
6 |
38 |
245 |
2 |
| X509_OBJECT_retrieve_match |
|
10 |
25 |
190 |
2 |
| X509_STORE_CTX_get1_issuer |
|
13 |
50 |
338 |
3 |
| X509_STORE_set_flags |
|
1 |
4 |
22 |
2 |
| X509_STORE_set_depth |
|
1 |
5 |
23 |
2 |
| X509_STORE_set_purpose |
|
1 |
4 |
21 |
2 |
| X509_STORE_set_trust |
|
1 |
4 |
21 |
2 |
| X509_STORE_set1_param |
|
1 |
4 |
22 |
2 |
| X509_STORE_set_verify_cb |
|
1 |
5 |
26 |
2 |
| Source file: ./lib/libcrypto/dso/dso_dlfcn.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| DSO_METHOD_dlfcn |
|
1 |
4 |
9 |
1 |
| DSO_METHOD_dlfcn |
|
1 |
4 |
12 |
1 |
| dlfcn_load |
|
6 |
30 |
154 |
1 |
| dlfcn_unload |
|
4 |
18 |
92 |
1 |
| dlfcn_bind_var |
|
6 |
24 |
148 |
2 |
| dlfcn_bind_func |
|
6 |
28 |
161 |
2 |
| dlfcn_merger |
|
13 |
40 |
237 |
3 |
| dlfcn_name_converter |
|
5 |
18 |
110 |
2 |
| dlfcn_pathbyaddr |
|
5 |
24 |
145 |
3 |
| dlfcn_globallookup |
|
2 |
9 |
48 |
1 |
| Source file: ./lib/libcrypto/comp/c_zlib.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| zlib_zalloc |
|
1 |
4 |
24 |
3 |
| zlib_zfree |
|
1 |
4 |
17 |
2 |
| zlib_stateful_init |
|
4 |
34 |
237 |
1 |
| zlib_stateful_finish |
|
1 |
10 |
61 |
1 |
| zlib_stateful_compress_block |
|
6 |
22 |
163 |
5 |
| zlib_stateful_expand_block |
|
6 |
22 |
162 |
5 |
| COMP_zlib |
|
5 |
19 |
80 |
1 |
| COMP_zlib_cleanup |
|
1 |
3 |
6 |
1 |
| BIO_f_zlib |
|
1 |
4 |
10 |
1 |
| bio_zlib_new |
|
2 |
31 |
194 |
1 |
| bio_zlib_free |
|
4 |
20 |
102 |
1 |
| bio_zlib_read |
|
14 |
46 |
287 |
3 |
| bio_zlib_write |
|
13 |
53 |
328 |
3 |
| bio_zlib_flush |
|
10 |
38 |
227 |
1 |
| bio_zlib_ctrl |
|
11 |
55 |
282 |
4 |
| bio_zlib_callback_ctrl |
|
2 |
6 |
37 |
3 |
| Source file: ./lib/libcrypto/dso/dso_openssl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| DSO_METHOD_openssl |
|
3 |
6 |
27 |
1 |
| Source file: ./lib/libcrypto/dso/dso.h |
| Source file: ./lib/libcrypto/bf/bf_cfb64.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| BF_cfb64_encrypt |
|
6 |
53 |
393 |
7 |
| Source file: ./lib/libcrypto/bf/bf_skey.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| BF_set_key |
|
9 |
41 |
326 |
3 |
| Source file: ./lib/libcrypto/bf/bf_enc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| BF_encrypt |
|
3 |
61 |
658 |
2 |
| BF_decrypt |
|
3 |
61 |
658 |
2 |
| BF_cbc_encrypt |
|
6 |
80 |
495 |
6 |
| Source file: ./lib/libcrypto/bf/bf_cbc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| BF_cbc_encrypt |
|
6 |
80 |
495 |
6 |
| Source file: ./lib/libcrypto/bf/bf_ofb64.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| BF_ofb64_encrypt |
|
4 |
43 |
294 |
6 |
| Source file: ./lib/libcrypto/dso/dso_lib.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| DSO_new |
|
1 |
4 |
14 |
1 |
| DSO_set_default_method |
|
1 |
4 |
12 |
1 |
| DSO_get_default_method |
|
1 |
4 |
11 |
1 |
| DSO_get_method |
|
1 |
4 |
15 |
1 |
| DSO_set_method |
|
1 |
7 |
33 |
2 |
| DSO_new_method |
|
7 |
27 |
150 |
1 |
| DSO_free |
|
7 |
24 |
154 |
1 |
| DSO_flags |
|
2 |
4 |
23 |
1 |
| DSO_up_ref |
|
2 |
9 |
43 |
1 |
| DSO_load |
|
11 |
45 |
223 |
4 |
| DSO_bind_var |
|
5 |
17 |
103 |
2 |
| DSO_bind_func |
|
5 |
17 |
102 |
2 |
| DSO_ctrl |
|
7 |
24 |
140 |
4 |
| DSO_set_name_converter |
|
3 |
12 |
55 |
3 |
| DSO_get_filename |
|
2 |
8 |
33 |
1 |
| DSO_set_filename |
|
5 |
20 |
104 |
2 |
| DSO_merge |
|
6 |
16 |
112 |
3 |
| DSO_convert_filename |
|
9 |
28 |
162 |
2 |
| DSO_get_loaded_filename |
|
2 |
8 |
33 |
1 |
| DSO_pathbyaddr |
|
3 |
11 |
67 |
3 |
| DSO_global_lookup |
|
3 |
11 |
56 |
1 |
| Source file: ./lib/libcrypto/bf/bf_ecb.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| BF_options |
|
3 |
6 |
21 |
1 |
| BF_ecb_encrypt |
|
2 |
14 |
120 |
4 |
| Source file: ./lib/libcrypto/bf/blowfish.h |
| Source file: ./lib/libcrypto/bf/bf_locl.h |
| Source file: ./lib/libcrypto/bf/bf_pi.h |
| Source file: ./lib/libcrypto/evp/e_chacha.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| EVP_chacha20 |
|
1 |
4 |
12 |
1 |
| chacha_init |
|
2 |
9 |
67 |
4 |
| chacha_cipher |
|
1 |
6 |
42 |
4 |
| Source file: ./lib/libcrypto/evp/m_ecdsa.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| init |
|
1 |
4 |
16 |
1 |
| update |
|
1 |
4 |
28 |
3 |
| final |
|
1 |
4 |
23 |
2 |
| EVP_ecdsa |
|
1 |
4 |
12 |
1 |
| Source file: ./lib/libcrypto/evp/m_dss.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| init |
|
1 |
4 |
16 |
1 |
| update |
|
1 |
4 |
28 |
3 |
| final |
|
1 |
4 |
23 |
2 |
| EVP_dss |
|
1 |
4 |
12 |
1 |
| Source file: ./lib/libcrypto/evp/e_bf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bf_init_key |
|
1 |
6 |
43 |
4 |
| Source file: ./lib/libcrypto/x509/x509_vfy.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| null_callback |
|
1 |
4 |
14 |
2 |
| x509_subject_cmp |
|
1 |
4 |
22 |
2 |
| cert_self_signed |
|
2 |
8 |
33 |
1 |
| check_id_error |
|
1 |
7 |
41 |
2 |
| check_hosts |
|
3 |
15 |
101 |
2 |
| check_id |
|
10 |
20 |
145 |
1 |
| X509_verify_cert |
|
55 |
212 |
1229 |
1 |
| find_issuer |
|
4 |
14 |
94 |
3 |
| check_issued |
|
3 |
13 |
81 |
3 |
| get_issuer_sk |
|
2 |
9 |
59 |
3 |
| check_chain_extensions |
|
36 |
117 |
678 |
1 |
| check_name_constraints |
|
8 |
24 |
162 |
1 |
| lookup_cert_match |
|
5 |
20 |
119 |
2 |
| check_trust |
|
8 |
36 |
232 |
1 |
| check_revocation |
|
6 |
20 |
107 |
1 |
| check_cert |
|
11 |
58 |
334 |
1 |
| check_crl_time |
|
19 |
47 |
273 |
3 |
| get_crl_sk |
|
7 |
38 |
247 |
7 |
| crl_extension_match |
|
10 |
26 |
170 |
3 |
| check_delta_base |
|
8 |
19 |
119 |
2 |
| get_delta_sk |
|
6 |
21 |
148 |
5 |
| get_crl_score |
|
14 |
37 |
249 |
5 |
| crl_akid_check |
|
11 |
40 |
270 |
4 |
| check_crl_path |
|
4 |
22 |
131 |
2 |
| check_crl_chain |
|
2 |
10 |
73 |
3 |
| idp_check_dp |
|
17 |
47 |
306 |
2 |
| crldp_check_crlissuer |
|
5 |
15 |
106 |
3 |
| crl_crldp_check |
|
12 |
28 |
182 |
4 |
| get_crl_delta |
|
5 |
30 |
196 |
4 |
| check_crl |
|
23 |
76 |
454 |
2 |
| cert_crl |
|
7 |
21 |
124 |
3 |
| check_policy |
|
10 |
38 |
230 |
1 |
| verify_cb_cert |
|
3 |
8 |
67 |
4 |
| x509_check_cert_time |
|
15 |
30 |
199 |
3 |
| internal_verify |
|
15 |
51 |
304 |
1 |
| X509_cmp_current_time |
|
1 |
4 |
17 |
1 |
| X509_cmp_time_internal |
|
12 |
32 |
208 |
3 |
| X509_cmp_time |
|
1 |
4 |
23 |
2 |
| X509_gmtime_adj |
|
1 |
4 |
21 |
2 |
| X509_time_adj |
|
1 |
4 |
27 |
3 |
| X509_time_adj_ex |
|
2 |
9 |
52 |
4 |
| X509_get_pubkey_parameters |
|
9 |
33 |
192 |
2 |
| X509_STORE_CTX_get_ex_new_index |
|
1 |
6 |
39 |
5 |
| X509_STORE_CTX_set_ex_data |
|
1 |
4 |
28 |
3 |
| X509_STORE_CTX_get_ex_data |
|
1 |
4 |
22 |
2 |
| X509_STORE_CTX_get_error |
|
1 |
4 |
13 |
1 |
| X509_STORE_CTX_set_error |
|
1 |
4 |
17 |
2 |
| X509_STORE_CTX_get_error_depth |
|
1 |
4 |
13 |
1 |
| X509_STORE_CTX_get_current_cert |
|
1 |
4 |
13 |
1 |
| X509_STORE_CTX_get_chain |
|
1 |
4 |
13 |
1 |
| X509_STORE_CTX_get1_chain |
|
4 |
13 |
86 |
1 |
| X509_STORE_CTX_get0_current_issuer |
|
1 |
4 |
13 |
1 |
| X509_STORE_CTX_get0_current_crl |
|
1 |
4 |
13 |
1 |
| X509_STORE_CTX_get0_parent_ctx |
|
1 |
4 |
13 |
1 |
| X509_STORE_CTX_set_cert |
|
1 |
4 |
18 |
2 |
| X509_STORE_CTX_set_chain |
|
1 |
4 |
21 |
2 |
| X509_STORE_CTX_set0_crls |
|
1 |
4 |
21 |
2 |
| X509_STORE_CTX_set_purpose |
|
1 |
4 |
23 |
2 |
| X509_STORE_CTX_set_trust |
|
1 |
4 |
23 |
2 |
| X509_STORE_CTX_purpose_inherit |
|
13 |
38 |
193 |
4 |
| X509_STORE_CTX_new |
|
2 |
10 |
40 |
1 |
| X509_STORE_CTX_free |
|
2 |
7 |
26 |
1 |
| X509_STORE_CTX_init |
|
28 |
77 |
442 |
4 |
| X509_STORE_CTX_trusted_stack |
|
1 |
5 |
27 |
2 |
| X509_STORE_CTX_cleanup |
|
6 |
21 |
129 |
1 |
| X509_STORE_CTX_set_depth |
|
1 |
4 |
20 |
2 |
| X509_STORE_CTX_set_flags |
|
1 |
4 |
21 |
2 |
| X509_STORE_CTX_set_time |
|
1 |
4 |
24 |
3 |
| X509_STORE_CTX_set_verify_cb |
|
1 |
5 |
26 |
2 |
| X509_STORE_CTX_get0_policy_tree |
|
1 |
4 |
13 |
1 |
| X509_STORE_CTX_get_explicit_policy |
|
1 |
4 |
13 |
1 |
| X509_STORE_CTX_set_default |
|
2 |
8 |
43 |
2 |
| X509_STORE_CTX_get0_param |
|
1 |
4 |
13 |
1 |
| X509_STORE_CTX_set0_param |
|
2 |
6 |
31 |
2 |
| Source file: ./lib/libcrypto/evp/evp_pkey.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| EVP_PKCS82PKEY |
|
6 |
31 |
162 |
1 |
| EVP_PKEY2PKCS8 |
|
1 |
4 |
16 |
1 |
| EVP_PKEY2PKCS8_broken |
|
5 |
27 |
119 |
2 |
| PKCS8_set_broken |
|
3 |
17 |
63 |
2 |
| EVP_PKEY_get_attr_count |
|
1 |
4 |
17 |
1 |
| EVP_PKEY_get_attr_by_NID |
|
1 |
4 |
27 |
3 |
| EVP_PKEY_get_attr_by_OBJ |
|
1 |
4 |
28 |
3 |
| EVP_PKEY_get_attr |
|
1 |
4 |
22 |
2 |
| EVP_PKEY_delete_attr |
|
1 |
4 |
21 |
2 |
| EVP_PKEY_add1_attr |
|
2 |
6 |
30 |
2 |
| EVP_PKEY_add1_attr_by_OBJ |
|
2 |
7 |
49 |
5 |
| EVP_PKEY_add1_attr_by_NID |
|
2 |
7 |
47 |
5 |
| EVP_PKEY_add1_attr_by_txt |
|
2 |
8 |
49 |
5 |
| Source file: ./lib/libcrypto/evp/m_sha1.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| init |
|
1 |
4 |
16 |
1 |
| update |
|
1 |
4 |
28 |
3 |
| final |
|
1 |
4 |
23 |
2 |
| EVP_sha1 |
|
1 |
4 |
12 |
1 |
| init224 |
|
1 |
4 |
16 |
1 |
| init256 |
|
1 |
4 |
16 |
1 |
| update256 |
|
1 |
4 |
28 |
3 |
| final256 |
|
1 |
4 |
23 |
2 |
| EVP_sha224 |
|
1 |
4 |
12 |
1 |
| EVP_sha256 |
|
1 |
4 |
12 |
1 |
| init384 |
|
1 |
4 |
16 |
1 |
| init512 |
|
1 |
4 |
16 |
1 |
| update512 |
|
1 |
4 |
28 |
3 |
| final512 |
|
1 |
4 |
23 |
2 |
| EVP_sha384 |
|
1 |
4 |
12 |
1 |
| EVP_sha512 |
|
1 |
4 |
12 |
1 |
| Source file: ./lib/libcrypto/evp/e_null.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| EVP_enc_null |
|
1 |
4 |
12 |
1 |
| null_init_key |
|
1 |
5 |
26 |
4 |
| null_cipher |
|
2 |
7 |
49 |
4 |
| Source file: ./lib/libcrypto/evp/p_enc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| EVP_PKEY_encrypt_old |
|
2 |
12 |
71 |
4 |
| Source file: ./lib/libcrypto/evp/m_gostr341194.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| gostr341194_init |
|
1 |
5 |
18 |
1 |
| gostr341194_update |
|
1 |
4 |
28 |
3 |
| gostr341194_final |
|
1 |
4 |
23 |
2 |
| EVP_gostr341194 |
|
1 |
4 |
12 |
1 |
| Source file: ./lib/libcrypto/evp/evp_locl.h |
| Source file: ./lib/libcrypto/evp/evp_enc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| EVP_CIPHER_CTX_init |
|
1 |
4 |
20 |
1 |
| EVP_CIPHER_CTX_new |
|
1 |
4 |
17 |
1 |
| EVP_CipherInit |
|
2 |
7 |
53 |
5 |
| EVP_CipherInit_ex |
|
35 |
107 |
591 |
6 |
| EVP_CipherUpdate |
|
2 |
8 |
61 |
5 |
| EVP_CipherFinal_ex |
|
2 |
7 |
44 |
3 |
| EVP_CipherFinal |
|
2 |
9 |
52 |
3 |
| EVP_EncryptInit |
|
1 |
5 |
39 |
4 |
| EVP_EncryptInit_ex |
|
1 |
5 |
45 |
5 |
| EVP_DecryptInit |
|
1 |
5 |
39 |
4 |
| EVP_DecryptInit_ex |
|
1 |
5 |
45 |
5 |
| EVP_EncryptUpdate |
|
14 |
62 |
386 |
5 |
| EVP_EncryptFinal |
|
1 |
6 |
34 |
3 |
| EVP_EncryptFinal_ex |
|
9 |
38 |
209 |
3 |
| EVP_DecryptUpdate |
|
11 |
43 |
260 |
5 |
| EVP_DecryptFinal |
|
1 |
6 |
34 |
3 |
| EVP_DecryptFinal_ex |
|
14 |
50 |
292 |
3 |
| EVP_CIPHER_CTX_free |
|
2 |
7 |
24 |
1 |
| EVP_CIPHER_CTX_cleanup |
|
6 |
14 |
91 |
1 |
| EVP_CIPHER_CTX_set_key_length |
|
5 |
14 |
81 |
2 |
| EVP_CIPHER_CTX_set_padding |
|
2 |
8 |
31 |
2 |
| EVP_CIPHER_CTX_ctrl |
|
4 |
18 |
94 |
4 |
| EVP_CIPHER_CTX_rand_key |
|
2 |
7 |
47 |
2 |
| EVP_CIPHER_CTX_copy |
|
9 |
25 |
173 |
2 |
| Source file: ./lib/libcrypto/evp/names.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| EVP_add_cipher |
|
3 |
14 |
86 |
1 |
| EVP_add_digest |
|
6 |
24 |
167 |
1 |
| EVP_get_cipherbyname |
|
1 |
6 |
33 |
1 |
| EVP_get_digestbyname |
|
1 |
6 |
33 |
1 |
| EVP_cleanup |
|
2 |
12 |
46 |
1 |
| do_all_cipher_fn |
|
2 |
8 |
70 |
2 |
| EVP_CIPHER_do_all |
|
1 |
8 |
60 |
2 |
| EVP_CIPHER_do_all_sorted |
|
1 |
9 |
60 |
2 |
| do_all_md_fn |
|
2 |
8 |
70 |
2 |
| EVP_MD_do_all |
|
1 |
8 |
60 |
2 |
| EVP_MD_do_all_sorted |
|
1 |
8 |
60 |
2 |
| Source file: ./lib/libcrypto/evp/e_cast.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cast_init_key |
|
1 |
6 |
43 |
4 |
| Source file: ./lib/libcrypto/evp/e_idea.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| idea_ecb_cipher |
|
1 |
7 |
43 |
4 |
| idea_init_key |
|
5 |
20 |
112 |
4 |
| Source file: ./lib/libcrypto/evp/p_sign.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| EVP_SignFinal |
|
13 |
53 |
338 |
4 |
| Source file: ./lib/libcrypto/evp/e_xcbc_d.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| EVP_desx_cbc |
|
1 |
4 |
12 |
1 |
| desx_cbc_init_key |
|
1 |
9 |
93 |
4 |
| desx_cbc_cipher |
|
3 |
17 |
157 |
4 |
| Source file: ./lib/libcrypto/evp/m_dss1.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| init |
|
1 |
4 |
16 |
1 |
| update |
|
1 |
4 |
28 |
3 |
| final |
|
1 |
4 |
23 |
2 |
| EVP_dss1 |
|
1 |
4 |
12 |
1 |
| Source file: ./lib/libcrypto/evp/m_wp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| init |
|
1 |
4 |
16 |
1 |
| update |
|
1 |
4 |
28 |
3 |
| final |
|
1 |
4 |
23 |
2 |
| EVP_whirlpool |
|
1 |
4 |
12 |
1 |
| Source file: ./lib/libcrypto/evp/encode.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| EVP_EncodeInit |
|
1 |
6 |
26 |
1 |
| EVP_EncodeUpdate |
|
8 |
44 |
309 |
5 |
| EVP_EncodeFinal |
|
2 |
11 |
74 |
3 |
| EVP_EncodeBlock |
|
5 |
27 |
262 |
3 |
| EVP_DecodeInit |
|
1 |
7 |
32 |
1 |
| EVP_DecodeUpdate |
|
35 |
98 |
580 |
5 |
| EVP_DecodeBlock |
|
11 |
31 |
311 |
3 |
| EVP_DecodeFinal |
|
3 |
14 |
84 |
3 |
| Source file: ./lib/libcrypto/evp/m_gost2814789.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| gost2814789_init |
|
1 |
5 |
18 |
1 |
| gost2814789_update |
|
1 |
4 |
28 |
3 |
| gost2814789_final |
|
1 |
4 |
23 |
2 |
| gost2814789_md_ctrl |
|
3 |
11 |
66 |
4 |
| EVP_gost2814789imit |
|
1 |
4 |
12 |
1 |
| Source file: ./lib/libcrypto/evp/m_md5.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| init |
|
1 |
4 |
16 |
1 |
| update |
|
1 |
4 |
28 |
3 |
| final |
|
1 |
4 |
23 |
2 |
| EVP_md5 |
|
1 |
4 |
12 |
1 |
| Source file: ./lib/libcrypto/evp/bio_md.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| BIO_f_md |
|
1 |
4 |
12 |
1 |
| md_new |
|
2 |
11 |
56 |
1 |
| md_free |
|
2 |
10 |
49 |
1 |
| md_read |
|
7 |
21 |
134 |
3 |
| md_write |
|
9 |
24 |
152 |
3 |
| md_ctrl |
|
14 |
59 |
299 |
4 |
| md_callback_ctrl |
|
2 |
12 |
61 |
3 |
| md_gets |
|
3 |
11 |
75 |
3 |
| Source file: ./lib/libcrypto/evp/m_md4.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| init |
|
1 |
4 |
16 |
1 |
| update |
|
1 |
4 |
28 |
3 |
| final |
|
1 |
4 |
23 |
2 |
| EVP_md4 |
|
1 |
4 |
12 |
1 |
| Source file: ./lib/libcrypto/evp/e_gost2814789.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| gost2814789_ctl |
|
5 |
20 |
105 |
4 |
| gost2814789_init_key |
|
1 |
6 |
48 |
4 |
| gost2814789_set_asn1_params |
|
6 |
44 |
252 |
2 |
| gost2814789_get_asn1_params |
|
4 |
28 |
198 |
2 |
| gost2814789_cnt_cipher |
|
3 |
16 |
113 |
4 |
| Source file: ./lib/libcrypto/evp/bio_b64.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| BIO_f_base64 |
|
1 |
4 |
12 |
1 |
| b64_new |
|
2 |
19 |
108 |
1 |
| b64_free |
|
2 |
10 |
49 |
1 |
| b64_read |
|
42 |
157 |
1060 |
3 |
| b64_write |
|
16 |
100 |
745 |
3 |
| b64_ctrl |
|
23 |
76 |
483 |
4 |
| b64_callback_ctrl |
|
2 |
12 |
61 |
3 |
| b64_puts |
|
1 |
4 |
26 |
2 |
| Source file: ./lib/libcrypto/evp/p_dec.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| EVP_PKEY_decrypt_old |
|
2 |
13 |
72 |
4 |
| Source file: ./lib/libcrypto/evp/p5_crpt2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| PKCS5_PBKDF2_HMAC |
|
16 |
65 |
470 |
8 |
| PKCS5_PBKDF2_HMAC_SHA1 |
|
1 |
6 |
54 |
7 |
| PKCS5_v2_PBE_keyivgen |
|
9 |
40 |
263 |
7 |
| PKCS5_v2_PBKDF2_keyivgen |
|
14 |
67 |
426 |
7 |
| Source file: ./lib/libcrypto/evp/m_md5_sha1.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| md5_sha1_init |
|
3 |
9 |
48 |
1 |
| md5_sha1_update |
|
3 |
9 |
64 |
3 |
| md5_sha1_final |
|
3 |
9 |
59 |
2 |
| EVP_md5_sha1 |
|
1 |
4 |
10 |
1 |
| Source file: ./lib/libcrypto/evp/e_rc4_hmac_md5.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rc4_hmac_md5_init_key |
|
1 |
11 |
80 |
4 |
| rc4_hmac_md5_cipher |
|
20 |
89 |
719 |
4 |
| rc4_hmac_md5_ctrl |
|
8 |
46 |
326 |
4 |
| EVP_rc4_hmac_md5 |
|
1 |
4 |
12 |
1 |
| Source file: ./lib/libcrypto/evp/p5_crpt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| PKCS5_PBE_add |
|
1 |
3 |
6 |
1 |
| PKCS5_PBE_keyivgen |
|
21 |
77 |
527 |
7 |
| Source file: ./lib/libcrypto/evp/e_rc4.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| EVP_rc4 |
|
1 |
4 |
12 |
1 |
| EVP_rc4_40 |
|
1 |
4 |
12 |
1 |
| rc4_init_key |
|
1 |
6 |
44 |
4 |
| rc4_cipher |
|
1 |
6 |
42 |
4 |
| Source file: ./lib/libcrypto/evp/bio_enc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| BIO_f_cipher |
|
1 |
4 |
12 |
1 |
| enc_new |
|
2 |
17 |
98 |
1 |
| enc_free |
|
2 |
13 |
78 |
1 |
| enc_read |
|
16 |
63 |
422 |
3 |
| enc_write |
|
10 |
44 |
304 |
3 |
| enc_ctrl |
|
18 |
79 |
496 |
4 |
| enc_callback_ctrl |
|
2 |
12 |
61 |
3 |
| BIO_set_cipher |
|
5 |
15 |
144 |
5 |
| Source file: ./lib/libcrypto/evp/evp_key.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| EVP_set_pw_prompt |
|
2 |
8 |
37 |
1 |
| EVP_get_pw_prompt |
|
2 |
7 |
26 |
1 |
| EVP_read_pw_string |
|
1 |
4 |
33 |
4 |
| EVP_read_pw_string_min |
|
9 |
24 |
168 |
5 |
| EVP_BytesToKey |
|
29 |
77 |
487 |
8 |
| Source file: ./lib/libcrypto/evp/e_camellia.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| camellia_init_key |
|
2 |
11 |
61 |
4 |
| Source file: ./lib/libcrypto/evp/m_streebog.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| streebog_init256 |
|
1 |
4 |
16 |
1 |
| streebog_update256 |
|
1 |
4 |
28 |
3 |
| streebog_final256 |
|
1 |
4 |
23 |
2 |
| streebog_init512 |
|
1 |
4 |
16 |
1 |
| streebog_update512 |
|
1 |
4 |
28 |
3 |
| streebog_final512 |
|
1 |
4 |
23 |
2 |
| EVP_streebog256 |
|
1 |
4 |
12 |
1 |
| EVP_streebog512 |
|
1 |
4 |
12 |
1 |
| Source file: ./lib/libcrypto/evp/pmeth_fn.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| EVP_PKEY_sign_init |
|
6 |
15 |
83 |
1 |
| EVP_PKEY_sign |
|
5 |
14 |
101 |
5 |
| EVP_PKEY_verify_init |
|
6 |
15 |
83 |
1 |
| EVP_PKEY_verify |
|
5 |
13 |
91 |
5 |
| EVP_PKEY_verify_recover_init |
|
6 |
15 |
83 |
1 |
| EVP_PKEY_verify_recover |
|
5 |
14 |
101 |
5 |
| EVP_PKEY_encrypt_init |
|
6 |
15 |
83 |
1 |
| EVP_PKEY_encrypt |
|
5 |
14 |
101 |
5 |
| EVP_PKEY_decrypt_init |
|
6 |
15 |
83 |
1 |
| EVP_PKEY_decrypt |
|
5 |
14 |
101 |
5 |
| EVP_PKEY_derive_init |
|
6 |
15 |
83 |
1 |
| EVP_PKEY_derive_set_peer |
|
17 |
43 |
262 |
2 |
| EVP_PKEY_derive |
|
5 |
13 |
88 |
3 |
| Source file: ./lib/libcrypto/evp/m_ripemd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| init |
|
1 |
4 |
16 |
1 |
| update |
|
1 |
4 |
28 |
3 |
| final |
|
1 |
4 |
23 |
2 |
| EVP_ripemd160 |
|
1 |
4 |
12 |
1 |
| Source file: ./lib/libcrypto/evp/pmeth_lib.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pmeth_cmp |
|
1 |
4 |
35 |
2 |
| pmeth_cmp_BSEARCH_CMP_FN |
|
1 |
6 |
40 |
2 |
| OBJ_bsearch_pmeth |
|
1 |
5 |
45 |
3 |
| EVP_PKEY_meth_find |
|
5 |
17 |
97 |
1 |
| int_ctx_new |
|
15 |
50 |
261 |
3 |
| EVP_PKEY_meth_new |
|
2 |
35 |
201 |
2 |
| EVP_PKEY_meth_get0_info |
|
3 |
7 |
39 |
3 |
| EVP_PKEY_meth_copy |
|
1 |
28 |
213 |
2 |
| EVP_PKEY_meth_free |
|
3 |
5 |
25 |
1 |
| EVP_PKEY_CTX_new |
|
1 |
4 |
23 |
2 |
| EVP_PKEY_CTX_new_id |
|
1 |
4 |
21 |
2 |
| EVP_PKEY_CTX_dup |
|
9 |
28 |
189 |
1 |
| EVP_PKEY_meth_add0 |
|
4 |
12 |
53 |
1 |
| EVP_PKEY_CTX_free |
|
5 |
12 |
69 |
1 |
| EVP_PKEY_CTX_ctrl |
|
10 |
23 |
158 |
6 |
| EVP_PKEY_CTX_ctrl_str |
|
7 |
16 |
110 |
3 |
| EVP_PKEY_CTX_get_operation |
|
1 |
4 |
13 |
1 |
| EVP_PKEY_CTX_set0_keygen_info |
|
1 |
5 |
27 |
3 |
| EVP_PKEY_CTX_set_data |
|
1 |
4 |
18 |
2 |
| EVP_PKEY_CTX_get_data |
|
1 |
4 |
13 |
1 |
| EVP_PKEY_CTX_get0_pkey |
|
1 |
4 |
13 |
1 |
| EVP_PKEY_CTX_get0_peerkey |
|
1 |
4 |
13 |
1 |
| EVP_PKEY_CTX_set_app_data |
|
1 |
4 |
18 |
2 |
| EVP_PKEY_CTX_get_app_data |
|
1 |
4 |
13 |
1 |
| EVP_PKEY_meth_set_init |
|
1 |
5 |
25 |
2 |
| EVP_PKEY_meth_set_copy |
|
1 |
5 |
29 |
2 |
| EVP_PKEY_meth_set_cleanup |
|
1 |
5 |
25 |
2 |
| EVP_PKEY_meth_set_paramgen |
|
1 |
7 |
46 |
3 |
| EVP_PKEY_meth_set_keygen |
|
1 |
7 |
46 |
3 |
| EVP_PKEY_meth_set_sign |
|
1 |
8 |
60 |
3 |
| EVP_PKEY_meth_set_verify |
|
1 |
8 |
60 |
3 |
| EVP_PKEY_meth_set_verify_recover |
|
1 |
9 |
60 |
3 |
| EVP_PKEY_meth_set_signctx |
|
1 |
8 |
59 |
3 |
| EVP_PKEY_meth_set_verifyctx |
|
1 |
8 |
59 |
3 |
| EVP_PKEY_meth_set_encrypt |
|
1 |
8 |
60 |
3 |
| EVP_PKEY_meth_set_decrypt |
|
1 |
8 |
60 |
3 |
| EVP_PKEY_meth_set_derive |
|
1 |
7 |
51 |
3 |
| EVP_PKEY_meth_set_ctrl |
|
1 |
7 |
62 |
3 |
| Source file: ./lib/libcrypto/evp/m_null.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| init |
|
1 |
4 |
11 |
1 |
| update |
|
1 |
4 |
19 |
3 |
| final |
|
1 |
4 |
16 |
2 |
| EVP_md_null |
|
1 |
4 |
12 |
1 |
| Source file: ./lib/libcrypto/evp/p_open.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| EVP_OpenInit |
|
9 |
33 |
213 |
6 |
| EVP_OpenFinal |
|
2 |
8 |
55 |
3 |
| Source file: ./lib/libcrypto/evp/evp_lib.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| EVP_CIPHER_param_to_asn1 |
|
3 |
11 |
69 |
2 |
| EVP_CIPHER_asn1_to_param |
|
3 |
11 |
69 |
2 |
| EVP_CIPHER_get_asn1_iv |
|
5 |
18 |
110 |
2 |
| EVP_CIPHER_set_asn1_iv |
|
3 |
14 |
75 |
2 |
| EVP_CIPHER_type |
|
23 |
41 |
141 |
1 |
| EVP_CIPHER_block_size |
|
1 |
4 |
14 |
1 |
| EVP_CIPHER_CTX_block_size |
|
1 |
4 |
16 |
1 |
| EVP_Cipher |
|
1 |
5 |
39 |
4 |
| EVP_CIPHER_CTX_cipher |
|
1 |
4 |
14 |
1 |
| EVP_CIPHER_flags |
|
1 |
4 |
14 |
1 |
| EVP_CIPHER_CTX_flags |
|
1 |
4 |
16 |
1 |
| EVP_CIPHER_CTX_get_app_data |
|
1 |
4 |
14 |
1 |
| EVP_CIPHER_CTX_set_app_data |
|
1 |
4 |
18 |
2 |
| EVP_CIPHER_iv_length |
|
1 |
4 |
14 |
1 |
| EVP_CIPHER_CTX_iv_length |
|
1 |
4 |
16 |
1 |
| EVP_CIPHER_key_length |
|
1 |
4 |
14 |
1 |
| EVP_CIPHER_CTX_key_length |
|
1 |
4 |
14 |
1 |
| EVP_CIPHER_nid |
|
1 |
4 |
14 |
1 |
| EVP_CIPHER_CTX_nid |
|
1 |
4 |
16 |
1 |
| EVP_MD_block_size |
|
1 |
4 |
14 |
1 |
| EVP_MD_type |
|
1 |
4 |
14 |
1 |
| EVP_MD_pkey_type |
|
1 |
4 |
14 |
1 |
| EVP_MD_size |
|
2 |
8 |
30 |
1 |
| EVP_MD_flags |
|
1 |
4 |
14 |
1 |
| EVP_MD_CTX_md |
|
2 |
6 |
22 |
1 |
| EVP_MD_CTX_set_flags |
|
1 |
4 |
17 |
2 |
| EVP_MD_CTX_clear_flags |
|
1 |
4 |
17 |
2 |
| EVP_MD_CTX_test_flags |
|
1 |
4 |
21 |
2 |
| EVP_CIPHER_CTX_set_flags |
|
1 |
4 |
17 |
2 |
| EVP_CIPHER_CTX_clear_flags |
|
1 |
4 |
17 |
2 |
| EVP_CIPHER_CTX_test_flags |
|
1 |
4 |
21 |
2 |
| Source file: ./lib/libcrypto/evp/e_des3.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| des_ede_ecb_cipher |
|
1 |
8 |
79 |
4 |
| des_ede_ofb_cipher |
|
3 |
17 |
147 |
4 |
| des_ede_cbc_cipher |
|
3 |
17 |
145 |
4 |
| des_ede_cfb64_cipher |
|
3 |
17 |
155 |
4 |
| des_ede3_cfb1_cipher |
|
3 |
15 |
186 |
4 |
| des_ede3_cfb8_cipher |
|
3 |
17 |
149 |
4 |
| des_ede_init_key |
|
1 |
10 |
98 |
4 |
| des_ede3_init_key |
|
1 |
9 |
87 |
4 |
| des3_ctrl |
|
7 |
16 |
94 |
4 |
| EVP_des_ede |
|
1 |
4 |
10 |
1 |
| EVP_des_ede3 |
|
1 |
4 |
10 |
1 |
| Source file: ./lib/libcrypto/curve25519/curve25519.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| load_3 |
|
1 |
7 |
55 |
1 |
| load_4 |
|
1 |
8 |
70 |
1 |
| fe_frombytes |
|
1 |
42 |
482 |
2 |
| fe_tobytes |
|
1 |
67 |
769 |
2 |
| fe_copy |
|
1 |
3 |
25 |
2 |
| fe_0 |
|
1 |
1 |
21 |
1 |
| fe_1 |
|
1 |
4 |
28 |
1 |
| fe_add |
|
2 |
6 |
48 |
3 |
| fe_sub |
|
2 |
6 |
48 |
3 |
| fe_mul |
|
1 |
178 |
1895 |
3 |
| fe_sq |
|
1 |
122 |
1264 |
2 |
| fe_invert |
|
12 |
62 |
444 |
2 |
| fe_neg |
|
2 |
6 |
40 |
2 |
| fe_cmov |
|
2 |
9 |
62 |
3 |
| fe_isnonzero |
|
1 |
6 |
48 |
1 |
| fe_isnegative |
|
1 |
5 |
29 |
1 |
| fe_sq2 |
|
1 |
132 |
1304 |
2 |
| fe_pow22523 |
|
12 |
61 |
441 |
2 |
| x25519_ge_tobytes |
|
1 |
10 |
73 |
2 |
| ge_p3_tobytes |
|
1 |
10 |
73 |
2 |
| x25519_ge_frombytes_vartime |
|
4 |
36 |
293 |
2 |
| ge_p2_0 |
|
1 |
5 |
29 |
1 |
| ge_p3_0 |
|
1 |
6 |
36 |
1 |
| ge_cached_0 |
|
1 |
6 |
36 |
1 |
| ge_precomp_0 |
|
1 |
5 |
29 |
1 |
| ge_p3_to_p2 |
|
1 |
5 |
46 |
2 |
| x25519_ge_p3_to_cached |
|
1 |
6 |
67 |
2 |
| x25519_ge_p1p1_to_p2 |
|
1 |
5 |
58 |
2 |
| x25519_ge_p1p1_to_p3 |
|
1 |
6 |
73 |
2 |
| ge_p1p1_to_cached |
|
1 |
5 |
32 |
2 |
| ge_p2_dbl |
|
1 |
12 |
131 |
2 |
| ge_p3_dbl |
|
1 |
5 |
32 |
2 |
| ge_madd |
|
1 |
13 |
165 |
3 |
| ge_msub |
|
1 |
13 |
165 |
3 |
| x25519_ge_add |
|
1 |
14 |
180 |
3 |
| x25519_ge_sub |
|
1 |
14 |
180 |
3 |
| equal |
|
1 |
9 |
46 |
2 |
| cmov |
|
1 |
5 |
55 |
3 |
| x25519_ge_scalarmult_small_precomp |
|
5 |
37 |
324 |
3 |
| x25519_ge_scalarmult_base |
|
1 |
3 |
24 |
2 |
| negative |
|
1 |
5 |
21 |
1 |
| table_select |
|
1 |
18 |
264 |
3 |
| x25519_ge_scalarmult_base |
|
5 |
39 |
325 |
2 |
| cmov_cached |
|
1 |
6 |
67 |
3 |
| x25519_ge_scalarmult |
|
6 |
44 |
361 |
3 |
| slide |
|
11 |
31 |
253 |
2 |
| ge_double_scalarmult_vartime |
|
9 |
60 |
581 |
4 |
| x25519_sc_reduce |
|
1 |
311 |
2453 |
1 |
| sc_muladd |
|
1 |
457 |
4010 |
4 |
| ED25519_keypair |
|
1 |
14 |
104 |
2 |
| ED25519_sign |
|
1 |
27 |
201 |
4 |
| ED25519_verify |
|
3 |
29 |
229 |
4 |
| fe_cswap |
|
2 |
10 |
69 |
3 |
| fe_mul121666 |
|
1 |
52 |
534 |
2 |
| x25519_scalar_mult_generic |
|
2 |
46 |
367 |
3 |
| x25519_public_from_private_generic |
|
1 |
17 |
120 |
2 |
| x25519_public_from_private |
|
1 |
6 |
38 |
2 |
| X25519_keypair |
|
1 |
9 |
51 |
2 |
| X25519 |
|
1 |
8 |
57 |
3 |
| Source file: ./lib/libcrypto/evp/e_des.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| des_ecb_cipher |
|
1 |
8 |
59 |
4 |
| des_ofb_cipher |
|
3 |
15 |
107 |
4 |
| des_cbc_cipher |
|
3 |
15 |
105 |
4 |
| des_cfb64_cipher |
|
3 |
15 |
115 |
4 |
| des_cfb1_cipher |
|
7 |
24 |
216 |
4 |
| des_cfb8_cipher |
|
3 |
15 |
109 |
4 |
| des_init_key |
|
1 |
7 |
44 |
4 |
| des_ctrl |
|
3 |
11 |
52 |
4 |
| Source file: ./lib/libcrypto/evp/pmeth_gn.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| EVP_PKEY_paramgen_init |
|
6 |
15 |
83 |
1 |
| EVP_PKEY_paramgen |
|
8 |
22 |
120 |
2 |
| EVP_PKEY_keygen_init |
|
6 |
15 |
83 |
1 |
| EVP_PKEY_keygen |
|
8 |
22 |
120 |
2 |
| EVP_PKEY_CTX_set_cb |
|
1 |
4 |
18 |
2 |
| EVP_PKEY_CTX_get_cb |
|
1 |
4 |
13 |
1 |
| trans_cb |
|
1 |
7 |
48 |
3 |
| evp_pkey_set_cb_translate |
|
1 |
4 |
20 |
2 |
| EVP_PKEY_CTX_get_keygen_info |
|
4 |
8 |
46 |
2 |
| EVP_PKEY_new_mac_key |
|
5 |
18 |
113 |
4 |
| Source file: ./lib/libcrypto/evp/p_verify.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| EVP_VerifyFinal |
|
12 |
48 |
309 |
4 |
| Source file: ./lib/libcrypto/evp/e_aes.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| aesni_init_key |
|
8 |
30 |
202 |
4 |
| aesni_cbc_cipher |
|
1 |
7 |
46 |
4 |
| aesni_ecb_cipher |
|
2 |
9 |
60 |
4 |
| aesni_gcm_init_key |
|
8 |
28 |
191 |
4 |
| aesni_xts_init_key |
|
6 |
29 |
198 |
4 |
| aesni_ccm_init_key |
|
6 |
20 |
142 |
4 |
| aes_init_key |
|
21 |
56 |
394 |
4 |
| aes_cbc_cipher |
|
3 |
15 |
126 |
4 |
| aes_ecb_cipher |
|
3 |
12 |
97 |
4 |
| aes_ofb_cipher |
|
1 |
8 |
64 |
4 |
| aes_cfb_cipher |
|
1 |
8 |
68 |
4 |
| aes_cfb8_cipher |
|
1 |
8 |
68 |
4 |
| aes_cfb1_cipher |
|
4 |
19 |
163 |
4 |
| aes_ctr_cipher |
|
2 |
14 |
123 |
4 |
| aes_gcm_cleanup |
|
2 |
8 |
46 |
1 |
| ctr64_inc |
|
3 |
13 |
52 |
1 |
| aes_gcm_ctrl |
|
42 |
110 |
746 |
4 |
| aes_gcm_set_key |
|
6 |
19 |
127 |
4 |
| aes_gcm_init_key |
|
8 |
26 |
171 |
4 |
| aes_gcm_tls_cipher |
|
14 |
50 |
317 |
4 |
| aes_gcm_cipher |
|
17 |
52 |
315 |
4 |
| aes_xts_ctrl |
|
7 |
27 |
153 |
4 |
| aes_xts_init_key |
|
15 |
48 |
344 |
4 |
| aes_xts_cipher |
|
8 |
16 |
131 |
4 |
| aes_ccm_ctrl |
|
22 |
54 |
309 |
4 |
| aes_ccm_init_key |
|
8 |
27 |
200 |
4 |
| aes_ccm_cipher |
|
21 |
53 |
363 |
4 |
| aead_aes_gcm_init |
|
8 |
32 |
189 |
4 |
| aead_aes_gcm_cleanup |
|
1 |
5 |
28 |
1 |
| aead_aes_gcm_seal |
|
7 |
29 |
218 |
10 |
| aead_aes_gcm_open |
|
8 |
40 |
275 |
10 |
| EVP_aead_aes_128_gcm |
|
1 |
4 |
10 |
1 |
| EVP_aead_aes_256_gcm |
|
1 |
4 |
10 |
1 |
| Source file: ./lib/libcrypto/evp/e_chacha20poly1305.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| aead_chacha20_poly1305_init |
|
5 |
20 |
115 |
4 |
| aead_chacha20_poly1305_cleanup |
|
1 |
5 |
28 |
1 |
| poly1305_update_with_length |
|
3 |
14 |
89 |
3 |
| poly1305_update_with_pad16 |
|
2 |
10 |
63 |
3 |
| aead_chacha20_poly1305_seal |
|
5 |
46 |
362 |
10 |
| aead_chacha20_poly1305_open |
|
6 |
50 |
371 |
10 |
| EVP_aead_chacha20_poly1305 |
|
1 |
4 |
9 |
0 |
| Source file: ./lib/libcrypto/evp/e_old.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| EVP_bf_cfb |
|
1 |
4 |
11 |
1 |
| EVP_des_cfb |
|
1 |
4 |
11 |
1 |
| EVP_des_ede3_cfb |
|
1 |
4 |
11 |
1 |
| EVP_des_ede_cfb |
|
1 |
4 |
11 |
1 |
| EVP_idea_cfb |
|
1 |
4 |
11 |
1 |
| EVP_rc2_cfb |
|
1 |
4 |
11 |
1 |
| EVP_cast5_cfb |
|
1 |
4 |
11 |
1 |
| EVP_aes_128_cfb |
|
1 |
4 |
11 |
1 |
| EVP_aes_192_cfb |
|
1 |
4 |
11 |
1 |
| EVP_aes_256_cfb |
|
1 |
4 |
11 |
1 |
| Source file: ./lib/libcrypto/evp/m_sigver.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| do_sigver_init |
|
16 |
40 |
272 |
6 |
| EVP_DigestSignInit |
|
1 |
5 |
41 |
5 |
| EVP_DigestVerifyInit |
|
1 |
5 |
41 |
5 |
| EVP_DigestSignFinal |
|
12 |
38 |
240 |
3 |
| EVP_DigestVerifyFinal |
|
6 |
24 |
152 |
3 |
| Source file: ./lib/libcrypto/evp/c_all.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| OpenSSL_add_all_ciphers |
|
2 |
120 |
825 |
1 |
| OpenSSL_add_all_digests |
|
3 |
29 |
188 |
1 |
| OPENSSL_add_all_algorithms_noconf |
|
1 |
6 |
18 |
1 |
| OPENSSL_add_all_algorithms_conf |
|
1 |
5 |
15 |
1 |
| Source file: ./lib/libcrypto/evp/p_lib.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| EVP_PKEY_bits |
|
4 |
6 |
35 |
1 |
| EVP_PKEY_size |
|
4 |
6 |
35 |
1 |
| EVP_PKEY_save_parameters |
|
5 |
16 |
84 |
2 |
| EVP_PKEY_copy_parameters |
|
5 |
15 |
79 |
2 |
| EVP_PKEY_missing_parameters |
|
3 |
6 |
34 |
1 |
| EVP_PKEY_cmp_parameters |
|
4 |
8 |
56 |
2 |
| EVP_PKEY_cmp |
|
6 |
16 |
95 |
2 |
| EVP_PKEY_new |
|
2 |
18 |
93 |
1 |
| pkey_set_type |
|
11 |
32 |
178 |
4 |
| EVP_PKEY_set_type |
|
1 |
4 |
24 |
2 |
| EVP_PKEY_set_type_str |
|
1 |
4 |
28 |
3 |
| EVP_PKEY_assign |
|
2 |
7 |
43 |
3 |
| EVP_PKEY_get0 |
|
1 |
4 |
15 |
1 |
| EVP_PKEY_set1_RSA |
|
2 |
7 |
34 |
2 |
| EVP_PKEY_get1_RSA |
|
2 |
9 |
42 |
1 |
| EVP_PKEY_set1_DSA |
|
2 |
7 |
34 |
2 |
| EVP_PKEY_get1_DSA |
|
2 |
9 |
42 |
1 |
| EVP_PKEY_set1_EC_KEY |
|
2 |
7 |
34 |
2 |
| EVP_PKEY_get1_EC_KEY |
|
2 |
9 |
42 |
1 |
| EVP_PKEY_set1_DH |
|
2 |
7 |
34 |
2 |
| EVP_PKEY_get1_DH |
|
2 |
9 |
42 |
1 |
| EVP_PKEY_type |
|
3 |
14 |
56 |
1 |
| EVP_PKEY_id |
|
1 |
4 |
14 |
1 |
| EVP_PKEY_base_id |
|
1 |
4 |
17 |
1 |
| EVP_PKEY_free |
|
4 |
13 |
67 |
1 |
| EVP_PKEY_free_it |
|
4 |
11 |
60 |
1 |
| unsup_alg |
|
1 |
7 |
49 |
4 |
| EVP_PKEY_print_public |
|
3 |
7 |
60 |
4 |
| EVP_PKEY_print_private |
|
3 |
7 |
60 |
4 |
| EVP_PKEY_print_params |
|
3 |
7 |
60 |
4 |
| EVP_PKEY_get_default_digest_nid |
|
3 |
7 |
46 |
2 |
| Source file: ./lib/libcrypto/evp/evp_pbe.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| EVP_PBE_CipherInit |
|
10 |
46 |
246 |
6 |
| pbe2_cmp |
|
2 |
8 |
42 |
2 |
| pbe2_cmp_BSEARCH_CMP_FN |
|
1 |
6 |
36 |
2 |
| OBJ_bsearch_pbe2 |
|
1 |
5 |
37 |
3 |
| pbe_cmp |
|
2 |
8 |
58 |
2 |
| EVP_PBE_alg_add_type |
|
5 |
28 |
140 |
5 |
| EVP_PBE_alg_add |
|
3 |
15 |
74 |
4 |
| EVP_PBE_find |
|
9 |
28 |
159 |
5 |
| free_evp_pbe_ctl |
|
1 |
4 |
13 |
1 |
| EVP_PBE_cleanup |
|
1 |
5 |
17 |
1 |
| Source file: ./lib/libcrypto/evp/digest.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| EVP_MD_CTX_init |
|
1 |
4 |
19 |
1 |
| EVP_MD_CTX_create |
|
1 |
4 |
17 |
1 |
| EVP_DigestInit |
|
1 |
5 |
28 |
2 |
| EVP_DigestInit_ex |
|
25 |
61 |
384 |
3 |
| EVP_DigestUpdate |
|
1 |
4 |
28 |
3 |
| EVP_DigestFinal |
|
1 |
7 |
40 |
3 |
| EVP_DigestFinal_ex |
|
4 |
17 |
116 |
3 |
| EVP_MD_CTX_copy |
|
1 |
5 |
26 |
2 |
| EVP_MD_CTX_copy_ex |
|
13 |
42 |
255 |
2 |
| EVP_Digest |
|
3 |
13 |
92 |
6 |
| EVP_MD_CTX_destroy |
|
2 |
7 |
24 |
1 |
| EVP_MD_CTX_cleanup |
|
9 |
14 |
108 |
1 |
| EVP_MD_CTX_ctrl |
|
4 |
18 |
94 |
4 |
| Source file: ./lib/libcrypto/evp/e_rc2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| EVP_rc2_64_cbc |
|
1 |
4 |
12 |
1 |
| EVP_rc2_40_cbc |
|
1 |
4 |
12 |
1 |
| rc2_init_key |
|
1 |
7 |
51 |
4 |
| rc2_meth_to_magic |
|
4 |
13 |
64 |
1 |
| rc2_magic_to_meth |
|
4 |
13 |
49 |
1 |
| rc2_get_asn1_type_and_iv |
|
7 |
27 |
173 |
2 |
| rc2_set_asn1_type_and_iv |
|
2 |
11 |
64 |
2 |
| rc2_ctrl |
|
7 |
22 |
111 |
4 |
| Source file: ./lib/libcrypto/evp/p_seal.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| EVP_SealInit |
|
10 |
26 |
198 |
7 |
| EVP_SealFinal |
|
2 |
8 |
53 |
3 |
| Source file: ./lib/libcrypto/evp/evp_err.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ERR_load_EVP_strings |
|
2 |
7 |
36 |
1 |
| Source file: ./lib/libcrypto/evp/e_aes_cbc_hmac_sha1.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| aesni_cbc_hmac_sha1_init_key |
|
3 |
15 |
115 |
4 |
| sha1_update |
|
6 |
25 |
151 |
3 |
| aesni_cbc_hmac_sha1_cipher |
|
30 |
233 |
2304 |
4 |
| aesni_cbc_hmac_sha1_ctrl |
|
9 |
55 |
409 |
4 |
| EVP_aes_128_cbc_hmac_sha1 |
|
2 |
5 |
20 |
1 |
| EVP_aes_256_cbc_hmac_sha1 |
|
2 |
5 |
20 |
1 |
| EVP_aes_128_cbc_hmac_sha1 |
|
1 |
4 |
9 |
1 |
| EVP_aes_256_cbc_hmac_sha1 |
|
1 |
4 |
9 |
1 |
| Source file: ./lib/libcrypto/evp/evp_aead.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| EVP_AEAD_key_length |
|
1 |
4 |
14 |
1 |
| EVP_AEAD_nonce_length |
|
1 |
4 |
14 |
1 |
| EVP_AEAD_max_overhead |
|
1 |
4 |
14 |
1 |
| EVP_AEAD_max_tag_len |
|
1 |
4 |
14 |
1 |
| EVP_AEAD_CTX_init |
|
2 |
10 |
67 |
6 |
| EVP_AEAD_CTX_cleanup |
|
2 |
7 |
33 |
1 |
| check_alias |
|
3 |
8 |
42 |
3 |
| EVP_AEAD_CTX_seal |
|
4 |
23 |
150 |
10 |
| EVP_AEAD_CTX_open |
|
3 |
18 |
123 |
10 |
| Source file: ./lib/libcrypto/ec/ecp_nistputil.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ec_GFp_nistp_points_make_affine_internal |
|
9 |
43 |
467 |
11 |
| ec_GFp_nistp_recode_scalar_bits |
|
1 |
10 |
91 |
3 |
| Source file: ./lib/libcrypto/ec/ec.h |
| Source file: ./lib/libcrypto/ec/ec_print.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| EC_POINT_point2bn |
|
4 |
19 |
124 |
5 |
| EC_POINT_bn2point |
|
8 |
31 |
169 |
4 |
| EC_POINT_point2hex |
|
7 |
32 |
223 |
4 |
| EC_POINT_hex2point |
|
2 |
11 |
69 |
4 |
| Source file: ./lib/libcrypto/ec/ecp_oct.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ec_GFp_simple_set_compressed_coordinates |
|
36 |
100 |
735 |
5 |
| ec_GFp_simple_point2oct |
|
28 |
92 |
509 |
6 |
| ec_GFp_simple_oct2point |
|
27 |
84 |
490 |
5 |
| Source file: ./lib/libcrypto/ec/ec_err.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ERR_load_EC_strings |
|
2 |
7 |
36 |
1 |
| Source file: ./lib/libcrypto/ec/ec_oct.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| EC_POINT_set_compressed_coordinates_GFp |
|
7 |
26 |
155 |
5 |
| EC_POINT_set_compressed_coordinates_GF2m |
|
6 |
22 |
145 |
5 |
| EC_POINT_point2oct |
|
7 |
27 |
165 |
6 |
| EC_POINT_oct2point |
|
7 |
26 |
156 |
5 |
| Source file: ./lib/libcrypto/ec/ecp_nistz256.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _booth_recode_w5 |
|
1 |
9 |
83 |
1 |
| _booth_recode_w7 |
|
1 |
9 |
83 |
1 |
| copy_conditional |
|
2 |
16 |
223 |
3 |
| is_zero |
|
1 |
8 |
33 |
1 |
| is_equal |
|
2 |
15 |
131 |
2 |
| is_one |
|
3 |
18 |
140 |
1 |
| ecp_nistz256_set_words |
|
2 |
11 |
65 |
2 |
| ecp_nistz256_mod_inverse |
|
8 |
56 |
454 |
2 |
| ecp_nistz256_bignum_to_field_elem |
|
2 |
8 |
61 |
2 |
| ecp_nistz256_windowed_mul |
|
20 |
112 |
1288 |
6 |
| ecp_nistz256_is_affine_G |
|
5 |
8 |
56 |
1 |
| ecp_nistz256_mult_precompute |
|
24 |
88 |
528 |
2 |
| ecp_nistz256_set_from_affine |
|
1 |
19 |
147 |
4 |
| ecp_nistz256_points_mul |
|
39 |
180 |
1501 |
7 |
| ecp_nistz256_get_affine |
|
9 |
37 |
242 |
5 |
| ecp_nistz256_pre_comp_new |
|
3 |
16 |
79 |
1 |
| ecp_nistz256_pre_comp_dup |
|
1 |
6 |
29 |
1 |
| ecp_nistz256_pre_comp_free |
|
3 |
12 |
60 |
1 |
| ecp_nistz256_pre_comp_clear_free |
|
4 |
14 |
81 |
1 |
| ecp_nistz256_window_have_precompute_mult |
|
3 |
11 |
51 |
1 |
| EC_GFp_nistz256_method |
|
1 |
46 |
192 |
1 |
| Source file: ./lib/libcrypto/ec/ec_cvt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| EC_GROUP_new_curve_GFp |
|
9 |
32 |
190 |
4 |
| EC_GROUP_new_curve_GF2m |
|
3 |
15 |
83 |
4 |
| Source file: ./lib/libcrypto/ec/ecp_mont.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| EC_GFp_mont_method |
|
1 |
43 |
177 |
1 |
| ec_GFp_mont_group_init |
|
1 |
8 |
33 |
1 |
| ec_GFp_mont_group_finish |
|
1 |
8 |
39 |
1 |
| ec_GFp_mont_group_clear_finish |
|
1 |
8 |
39 |
1 |
| ec_GFp_mont_group_copy |
|
8 |
28 |
161 |
2 |
| ec_GFp_mont_group_set_curve |
|
8 |
45 |
260 |
5 |
| ec_GFp_mont_field_mul |
|
2 |
9 |
61 |
5 |
| ec_GFp_mont_field_sqr |
|
2 |
9 |
56 |
4 |
| ec_GFp_mont_field_encode |
|
2 |
9 |
58 |
4 |
| ec_GFp_mont_field_decode |
|
2 |
9 |
54 |
4 |
| ec_GFp_mont_field_set_to_one |
|
3 |
10 |
53 |
3 |
| Source file: ./lib/libcrypto/ec/ec_ameth.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| eckey_param2type |
|
6 |
28 |
155 |
3 |
| eckey_pub_encode |
|
7 |
32 |
175 |
2 |
| eckey_type2param |
|
8 |
37 |
195 |
2 |
| eckey_pub_decode |
|
5 |
26 |
146 |
2 |
| eckey_pub_cmp |
|
3 |
12 |
92 |
2 |
| eckey_priv_decode |
|
10 |
54 |
300 |
2 |
| eckey_priv_encode |
|
6 |
40 |
225 |
2 |
| int_ec_size |
|
1 |
4 |
19 |
1 |
| ec_bits |
|
3 |
19 |
91 |
1 |
| ec_missing_parameters |
|
2 |
6 |
28 |
1 |
| ec_copy_parameters |
|
1 |
4 |
32 |
2 |
| ec_cmp_parameters |
|
2 |
8 |
58 |
2 |
| int_ec_free |
|
1 |
4 |
17 |
1 |
| do_EC_KEY_print |
|
23 |
76 |
462 |
4 |
| eckey_param_decode |
|
2 |
11 |
57 |
3 |
| eckey_param_encode |
|
1 |
4 |
26 |
2 |
| eckey_param_print |
|
1 |
5 |
36 |
4 |
| eckey_pub_print |
|
1 |
5 |
36 |
4 |
| eckey_priv_print |
|
1 |
5 |
36 |
4 |
| old_ec_priv_decode |
|
2 |
11 |
57 |
3 |
| old_ec_priv_encode |
|
1 |
4 |
26 |
2 |
| ec_pkey_ctrl |
|
8 |
25 |
153 |
4 |
| Source file: ./lib/libcrypto/ec/ecp_nistp224.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| EC_GFp_nistp224_method |
|
1 |
43 |
177 |
1 |
| bin28_to_felem |
|
1 |
7 |
102 |
2 |
| felem_to_bin28 |
|
2 |
10 |
106 |
2 |
| flip_endian |
|
2 |
6 |
46 |
3 |
| BN_to_felem |
|
3 |
20 |
100 |
2 |
| felem_to_BN |
|
1 |
7 |
45 |
2 |
| felem_one |
|
1 |
7 |
35 |
1 |
| felem_assign |
|
1 |
7 |
51 |
2 |
| felem_sum |
|
1 |
7 |
51 |
2 |
| felem_neg |
|
1 |
11 |
158 |
2 |
| felem_diff |
|
1 |
15 |
178 |
2 |
| widefelem_diff |
|
1 |
22 |
215 |
2 |
| felem_diff_128_64 |
|
1 |
17 |
178 |
2 |
| felem_scalar |
|
1 |
7 |
39 |
2 |
| widefelem_scalar |
|
1 |
10 |
60 |
2 |
| felem_square |
|
1 |
15 |
212 |
2 |
| felem_mul |
|
1 |
13 |
290 |
3 |
| felem_reduce |
|
1 |
38 |
457 |
2 |
| felem_square_reduce |
|
1 |
6 |
28 |
2 |
| felem_mul_reduce |
|
1 |
6 |
34 |
3 |
| felem_contract |
|
1 |
32 |
328 |
2 |
| felem_is_zero |
|
1 |
13 |
182 |
1 |
| felem_is_zero_int |
|
1 |
4 |
26 |
1 |
| felem_inv |
|
8 |
78 |
559 |
2 |
| copy_conditional |
|
2 |
9 |
64 |
3 |
| point_double |
|
1 |
37 |
266 |
6 |
| point_add |
|
7 |
74 |
551 |
10 |
| select_point |
|
3 |
17 |
153 |
4 |
| get_bit |
|
2 |
6 |
40 |
2 |
| batch_mul |
|
11 |
65 |
729 |
9 |
| nistp224_pre_comp_new |
|
2 |
12 |
60 |
0 |
| nistp224_pre_comp_dup |
|
1 |
6 |
29 |
1 |
| nistp224_pre_comp_free |
|
3 |
11 |
52 |
1 |
| nistp224_pre_comp_clear_free |
|
3 |
11 |
56 |
1 |
| ec_GFp_nistp224_group_init |
|
1 |
7 |
27 |
1 |
| ec_GFp_nistp224_group_set_curve |
|
9 |
29 |
240 |
5 |
| ec_GFp_nistp224_point_get_affine_coordinates |
|
9 |
37 |
249 |
5 |
| make_points_affine |
|
1 |
15 |
143 |
3 |
| ec_GFp_nistp224_points_mul |
|
43 |
154 |
1312 |
7 |
| ec_GFp_nistp224_precompute_mult |
|
20 |
106 |
1500 |
2 |
| ec_GFp_nistp224_have_precompute_mult |
|
2 |
9 |
33 |
1 |
| Source file: ./lib/libcrypto/evp/evp.h |
| Source file: ./lib/libcrypto/ec/ec_lib.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| EC_GROUP_new |
|
5 |
32 |
159 |
1 |
| EC_GROUP_free |
|
3 |
13 |
77 |
1 |
| EC_GROUP_clear_free |
|
4 |
15 |
105 |
1 |
| EC_GROUP_copy |
|
15 |
55 |
373 |
2 |
| EC_GROUP_dup |
|
3 |
10 |
62 |
1 |
| EC_GROUP_method_of |
|
1 |
4 |
14 |
1 |
| EC_METHOD_get_field_type |
|
1 |
4 |
14 |
1 |
| EC_GROUP_set_generator |
|
9 |
26 |
153 |
4 |
| EC_GROUP_get0_generator |
|
1 |
4 |
14 |
1 |
| EC_GROUP_get_order |
|
2 |
6 |
40 |
3 |
| EC_GROUP_get_cofactor |
|
2 |
6 |
43 |
3 |
| EC_GROUP_set_curve_name |
|
1 |
4 |
17 |
2 |
| EC_GROUP_get_curve_name |
|
1 |
4 |
14 |
1 |
| EC_GROUP_set_asn1_flag |
|
1 |
4 |
17 |
2 |
| EC_GROUP_get_asn1_flag |
|
1 |
4 |
14 |
1 |
| EC_GROUP_set_point_conversion_form |
|
1 |
5 |
17 |
2 |
| EC_GROUP_get_point_conversion_form |
|
1 |
4 |
14 |
1 |
| EC_GROUP_set_seed |
|
5 |
15 |
93 |
3 |
| EC_GROUP_get0_seed |
|
1 |
4 |
14 |
1 |
| EC_GROUP_get_seed_len |
|
1 |
4 |
14 |
1 |
| EC_GROUP_set_curve_GFp |
|
2 |
9 |
65 |
5 |
| EC_GROUP_get_curve_GFp |
|
2 |
9 |
63 |
5 |
| EC_GROUP_set_curve_GF2m |
|
2 |
9 |
65 |
5 |
| EC_GROUP_get_curve_GF2m |
|
2 |
9 |
63 |
5 |
| EC_GROUP_get_degree |
|
2 |
8 |
39 |
1 |
| EC_GROUP_check_discriminant |
|
2 |
8 |
45 |
2 |
| EC_GROUP_cmp |
|
30 |
55 |
422 |
3 |
| EC_EX_DATA_set_data |
|
8 |
28 |
171 |
5 |
| EC_EX_DATA_get_data |
|
5 |
12 |
91 |
4 |
| EC_EX_DATA_free_data |
|
6 |
20 |
146 |
4 |
| EC_EX_DATA_clear_free_data |
|
6 |
20 |
146 |
4 |
| EC_EX_DATA_free_all_data |
|
3 |
14 |
62 |
1 |
| EC_EX_DATA_clear_free_all_data |
|
3 |
14 |
62 |
1 |
| EC_POINT_new |
|
5 |
23 |
107 |
1 |
| EC_POINT_free |
|
3 |
8 |
39 |
1 |
| EC_POINT_clear_free |
|
4 |
10 |
63 |
1 |
| EC_POINT_copy |
|
4 |
14 |
74 |
2 |
| EC_POINT_dup |
|
4 |
16 |
76 |
2 |
| EC_POINT_method_of |
|
1 |
4 |
14 |
1 |
| EC_POINT_set_to_infinity |
|
3 |
12 |
65 |
2 |
| EC_POINT_set_Jprojective_coordinates_GFp |
|
3 |
13 |
92 |
6 |
| EC_POINT_get_Jprojective_coordinates_GFp |
|
3 |
13 |
90 |
6 |
| EC_POINT_set_affine_coordinates_GFp |
|
3 |
13 |
85 |
5 |
| EC_POINT_set_affine_coordinates_GF2m |
|
3 |
13 |
85 |
5 |
| EC_POINT_get_affine_coordinates_GFp |
|
3 |
13 |
84 |
5 |
| EC_POINT_get_affine_coordinates_GF2m |
|
3 |
13 |
84 |
5 |
| EC_POINT_add |
|
5 |
13 |
107 |
5 |
| EC_POINT_dbl |
|
4 |
12 |
90 |
4 |
| EC_POINT_invert |
|
3 |
12 |
71 |
3 |
| EC_POINT_is_at_infinity |
|
3 |
12 |
66 |
2 |
| EC_POINT_is_on_curve |
|
3 |
12 |
72 |
3 |
| EC_POINT_cmp |
|
4 |
13 |
93 |
4 |
| EC_POINT_make_affine |
|
3 |
12 |
71 |
3 |
| EC_POINTs_make_affine |
|
4 |
16 |
99 |
4 |
| EC_POINTs_mul |
|
2 |
7 |
89 |
7 |
| EC_POINT_mul |
|
2 |
11 |
88 |
6 |
| EC_GROUP_precompute_mult |
|
3 |
9 |
56 |
2 |
| EC_GROUP_have_precompute_mult |
|
3 |
9 |
49 |
1 |
| ECParameters_dup |
|
3 |
11 |
74 |
1 |
| Source file: ./lib/libcrypto/ec/ec_lcl.h |
| Source file: ./lib/libcrypto/ec/ecp_nist.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| EC_GFp_nist_method |
|
1 |
40 |
162 |
1 |
| ec_GFp_nist_group_copy |
|
1 |
5 |
29 |
2 |
| ec_GFp_nist_group_set_curve |
|
9 |
32 |
226 |
5 |
| ec_GFp_nist_field_mul |
|
9 |
21 |
137 |
5 |
| ec_GFp_nist_field_sqr |
|
8 |
21 |
127 |
4 |
| Source file: ./lib/libcrypto/ec/ec2_oct.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ec_GF2m_simple_set_compressed_coordinates |
|
23 |
62 |
451 |
5 |
| ec_GF2m_simple_point2oct |
|
30 |
100 |
556 |
6 |
| ec_GF2m_simple_oct2point |
|
29 |
89 |
535 |
5 |
| Source file: ./lib/libcrypto/ec/ecp_smpl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| EC_GFp_simple_method |
|
1 |
40 |
162 |
1 |
| ec_GFp_simple_group_init |
|
1 |
8 |
41 |
1 |
| ec_GFp_simple_group_finish |
|
1 |
6 |
32 |
1 |
| ec_GFp_simple_group_clear_finish |
|
1 |
6 |
32 |
1 |
| ec_GFp_simple_group_copy |
|
4 |
11 |
81 |
2 |
| ec_GFp_simple_group_set_curve |
|
15 |
42 |
312 |
5 |
| ec_GFp_simple_group_get_curve |
|
16 |
39 |
236 |
5 |
| ec_GFp_simple_group_get_degree |
|
1 |
4 |
18 |
1 |
| ec_GFp_simple_group_check_discriminant |
|
24 |
61 |
425 |
2 |
| ec_GFp_simple_point_init |
|
1 |
8 |
41 |
1 |
| ec_GFp_simple_point_finish |
|
1 |
6 |
32 |
1 |
| ec_GFp_simple_point_clear_finish |
|
1 |
7 |
38 |
1 |
| ec_GFp_simple_point_copy |
|
4 |
11 |
81 |
2 |
| ec_GFp_simple_point_set_to_infinity |
|
1 |
6 |
30 |
2 |
| ec_GFp_simple_set_Jprojective_coordinates_GFp |
|
18 |
47 |
346 |
6 |
| ec_GFp_simple_get_Jprojective_coordinates_GFp |
|
16 |
42 |
263 |
6 |
| ec_GFp_simple_point_set_affine_coordinates |
|
3 |
9 |
65 |
5 |
| ec_GFp_simple_point_get_affine_coordinates |
|
31 |
86 |
585 |
5 |
| ec_GFp_simple_add |
|
56 |
138 |
1104 |
5 |
| ec_GFp_simple_dbl |
|
42 |
106 |
880 |
4 |
| ec_GFp_simple_invert |
|
3 |
6 |
58 |
3 |
| ec_GFp_simple_is_at_infinity |
|
1 |
4 |
23 |
2 |
| ec_GFp_simple_is_on_curve |
|
27 |
73 |
606 |
3 |
| ec_GFp_simple_cmp |
|
28 |
76 |
612 |
4 |
| ec_GFp_simple_make_affine |
|
10 |
31 |
189 |
3 |
| ec_GFp_simple_points_make_affine |
|
44 |
114 |
979 |
4 |
| ec_GFp_simple_field_mul |
|
1 |
4 |
44 |
5 |
| ec_GFp_simple_field_sqr |
|
1 |
4 |
37 |
4 |
| Source file: ./lib/libcrypto/ec/eck_prn.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ECPKParameters_print_fp |
|
2 |
13 |
80 |
3 |
| EC_KEY_print_fp |
|
2 |
13 |
80 |
3 |
| ECParameters_print_fp |
|
2 |
13 |
75 |
2 |
| EC_KEY_print |
|
3 |
11 |
70 |
3 |
| ECParameters_print |
|
3 |
11 |
67 |
2 |
| ECPKParameters_print |
|
60 |
160 |
1097 |
3 |
| print_bin |
|
12 |
30 |
223 |
5 |
| Source file: ./lib/libcrypto/ec/ec_check.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| EC_GROUP_check |
|
13 |
50 |
270 |
2 |
| Source file: ./lib/libcrypto/ec/ec_asn1.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| EC_GROUP_get_basis_type |
|
5 |
15 |
66 |
1 |
| EC_GROUP_get_trinomial_basis |
|
7 |
14 |
98 |
2 |
| EC_GROUP_get_pentanomial_basis |
|
11 |
19 |
158 |
4 |
| X9_62_PENTANOMIAL_new |
|
1 |
4 |
17 |
1 |
| X9_62_PENTANOMIAL_free |
|
1 |
4 |
20 |
1 |
| X9_62_CHARACTERISTIC_TWO_new |
|
1 |
4 |
17 |
1 |
| X9_62_CHARACTERISTIC_TWO_free |
|
1 |
4 |
20 |
1 |
| ECPARAMETERS_new |
|
1 |
4 |
17 |
1 |
| ECPARAMETERS_free |
|
1 |
4 |
20 |
1 |
| d2i_ECPKPARAMETERS |
|
1 |
5 |
38 |
3 |
| i2d_ECPKPARAMETERS |
|
1 |
4 |
29 |
2 |
| ECPKPARAMETERS_new |
|
1 |
4 |
17 |
1 |
| ECPKPARAMETERS_free |
|
1 |
4 |
20 |
1 |
| d2i_EC_PRIVATEKEY |
|
1 |
5 |
38 |
3 |
| i2d_EC_PRIVATEKEY |
|
1 |
4 |
29 |
2 |
| EC_PRIVATEKEY_new |
|
1 |
4 |
17 |
1 |
| EC_PRIVATEKEY_free |
|
1 |
4 |
20 |
1 |
| ec_asn1_group2fieldid |
|
22 |
91 |
546 |
2 |
| ec_asn1_group2curve |
|
23 |
89 |
535 |
2 |
| ec_asn1_group2parameters |
|
19 |
81 |
471 |
2 |
| ec_asn1_group2pkparameters |
|
12 |
35 |
210 |
2 |
| ec_asn1_parameters2group |
|
56 |
179 |
1144 |
1 |
| ec_asn1_pkparameters2group |
|
7 |
30 |
159 |
1 |
| d2i_ECPKParameters |
|
4 |
20 |
110 |
3 |
| i2d_ECPKParameters |
|
3 |
16 |
86 |
2 |
| d2i_ECPrivateKey |
|
19 |
75 |
429 |
3 |
| i2d_ECPrivateKey |
|
20 |
77 |
468 |
2 |
| i2d_ECParameters |
|
2 |
8 |
39 |
2 |
| d2i_ECParameters |
|
10 |
24 |
138 |
3 |
| o2i_ECPublicKey |
|
6 |
21 |
149 |
3 |
| i2o_ECPublicKey |
|
9 |
32 |
177 |
2 |
| Source file: ./lib/libcrypto/ec/ec2_mult.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| gf2m_Mdouble |
|
9 |
26 |
213 |
4 |
| gf2m_Madd |
|
11 |
31 |
255 |
7 |
| gf2m_Mxy |
|
27 |
67 |
558 |
8 |
| ec_GF2m_montgomery_point_multiply |
|
28 |
84 |
642 |
5 |
| ec_GF2m_simple_mul |
|
22 |
51 |
393 |
7 |
| ec_GF2m_precompute_mult |
|
1 |
4 |
20 |
2 |
| ec_GF2m_have_precompute_mult |
|
1 |
4 |
15 |
1 |
| Source file: ./lib/libcrypto/ec/ec_key.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| EC_KEY_new |
|
2 |
19 |
97 |
1 |
| EC_KEY_new_by_curve_name |
|
3 |
12 |
54 |
1 |
| EC_KEY_free |
|
3 |
14 |
81 |
1 |
| EC_KEY_copy |
|
17 |
48 |
326 |
2 |
| EC_KEY_dup |
|
3 |
11 |
50 |
1 |
| EC_KEY_up_ref |
|
2 |
5 |
36 |
1 |
| EC_KEY_generate_key |
|
17 |
46 |
282 |
1 |
| EC_KEY_check_key |
|
15 |
57 |
337 |
1 |
| EC_KEY_set_public_key_affine_coordinates |
|
19 |
53 |
320 |
3 |
| EC_KEY_get0_group |
|
1 |
4 |
14 |
1 |
| EC_KEY_set_group |
|
2 |
6 |
42 |
2 |
| EC_KEY_get0_private_key |
|
1 |
4 |
14 |
1 |
| EC_KEY_set_private_key |
|
2 |
6 |
42 |
2 |
| EC_KEY_get0_public_key |
|
1 |
4 |
14 |
1 |
| EC_KEY_set_public_key |
|
2 |
6 |
46 |
2 |
| EC_KEY_get_enc_flags |
|
1 |
4 |
14 |
1 |
| EC_KEY_set_enc_flags |
|
1 |
4 |
18 |
2 |
| EC_KEY_get_conv_form |
|
1 |
4 |
14 |
1 |
| EC_KEY_set_conv_form |
|
2 |
6 |
34 |
2 |
| EC_KEY_get_key_method_data |
|
1 |
11 |
71 |
4 |
| EC_KEY_insert_key_method_data |
|
2 |
13 |
97 |
5 |
| EC_KEY_set_asn1_flag |
|
2 |
5 |
28 |
2 |
| EC_KEY_precompute_mult |
|
2 |
6 |
33 |
2 |
| EC_KEY_get_flags |
|
1 |
4 |
14 |
1 |
| EC_KEY_set_flags |
|
1 |
4 |
17 |
2 |
| EC_KEY_clear_flags |
|
1 |
4 |
17 |
2 |
| Source file: ./lib/libcrypto/ec/ec2_smpl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| EC_GF2m_simple_method |
|
1 |
40 |
173 |
1 |
| ec_GF2m_simple_group_init |
|
1 |
7 |
35 |
1 |
| ec_GF2m_simple_group_finish |
|
1 |
6 |
32 |
1 |
| ec_GF2m_simple_group_clear_finish |
|
1 |
12 |
87 |
1 |
| ec_GF2m_simple_group_copy |
|
8 |
25 |
290 |
2 |
| ec_GF2m_simple_group_set_curve |
|
10 |
27 |
271 |
5 |
| ec_GF2m_simple_group_get_curve |
|
7 |
20 |
111 |
5 |
| ec_GF2m_simple_group_get_degree |
|
1 |
4 |
20 |
1 |
| ec_GF2m_simple_group_check_discriminant |
|
7 |
26 |
136 |
2 |
| ec_GF2m_simple_point_init |
|
1 |
7 |
35 |
1 |
| ec_GF2m_simple_point_finish |
|
1 |
6 |
32 |
1 |
| ec_GF2m_simple_point_clear_finish |
|
1 |
7 |
38 |
1 |
| ec_GF2m_simple_point_copy |
|
4 |
11 |
81 |
2 |
| ec_GF2m_simple_point_set_to_infinity |
|
1 |
6 |
30 |
2 |
| ec_GF2m_simple_point_set_affine_coordinates |
|
6 |
22 |
147 |
5 |
| ec_GF2m_simple_point_get_affine_coordinates |
|
7 |
26 |
147 |
5 |
| ec_GF2m_simple_add |
|
44 |
105 |
773 |
5 |
| ec_GF2m_simple_dbl |
|
1 |
5 |
36 |
4 |
| ec_GF2m_simple_invert |
|
4 |
8 |
73 |
3 |
| ec_GF2m_simple_is_at_infinity |
|
1 |
4 |
23 |
2 |
| ec_GF2m_simple_is_on_curve |
|
15 |
44 |
349 |
3 |
| ec_GF2m_simple_cmp |
|
19 |
39 |
320 |
4 |
| ec_GF2m_simple_make_affine |
|
12 |
32 |
203 |
3 |
| ec_GF2m_simple_points_make_affine |
|
3 |
10 |
65 |
4 |
| ec_GF2m_simple_field_mul |
|
1 |
5 |
43 |
5 |
| ec_GF2m_simple_field_sqr |
|
1 |
5 |
36 |
4 |
| ec_GF2m_simple_field_div |
|
1 |
5 |
44 |
5 |
| Source file: ./lib/libcrypto/ec/ec_curve.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ec_group_new_from_data |
|
21 |
89 |
603 |
1 |
| EC_GROUP_new_by_curve_name |
|
5 |
18 |
89 |
1 |
| EC_get_builtin_curves |
|
5 |
12 |
85 |
2 |
| EC_curve_nid2nist |
|
3 |
9 |
59 |
1 |
| EC_curve_nist2nid |
|
3 |
9 |
65 |
1 |
| Source file: ./lib/libcrypto/ec/ec_pmeth.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pkey_ec_init |
|
2 |
11 |
51 |
1 |
| pkey_ec_copy |
|
4 |
15 |
82 |
2 |
| pkey_ec_cleanup |
|
2 |
8 |
34 |
1 |
| pkey_ec_sign |
|
5 |
24 |
155 |
5 |
| pkey_ec_verify |
|
2 |
14 |
91 |
5 |
| pkey_ec_derive |
|
5 |
23 |
150 |
3 |
| pkey_ec_ctrl |
|
14 |
35 |
195 |
4 |
| pkey_ec_ctrl_str |
|
5 |
18 |
94 |
3 |
| pkey_ec_paramgen |
|
4 |
19 |
94 |
2 |
| pkey_ec_keygen |
|
4 |
15 |
82 |
2 |
| Source file: ./lib/libcrypto/hmac/hmac.h |
| Source file: ./lib/libcrypto/hmac/hm_ameth.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| hmac_size |
|
1 |
4 |
12 |
1 |
| hmac_key_free |
|
3 |
9 |
50 |
1 |
| hmac_pkey_ctrl |
|
2 |
10 |
45 |
4 |
| old_hmac_decode |
|
4 |
15 |
82 |
3 |
| old_hmac_encode |
|
5 |
18 |
105 |
2 |
| Source file: ./lib/libcrypto/ec/ecp_nistp521.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bin66_to_felem |
|
1 |
12 |
230 |
2 |
| felem_to_bin66 |
|
1 |
13 |
221 |
2 |
| flip_endian |
|
2 |
6 |
46 |
3 |
| BN_to_felem |
|
3 |
20 |
100 |
2 |
| felem_to_BN |
|
1 |
7 |
45 |
2 |
| felem_one |
|
1 |
12 |
70 |
1 |
| felem_assign |
|
1 |
12 |
101 |
2 |
| felem_sum64 |
|
1 |
12 |
101 |
2 |
| felem_scalar |
|
1 |
12 |
122 |
3 |
| felem_scalar64 |
|
1 |
12 |
73 |
2 |
| felem_scalar128 |
|
1 |
12 |
73 |
2 |
| felem_neg |
|
1 |
14 |
177 |
2 |
| felem_diff64 |
|
1 |
14 |
177 |
2 |
| felem_diff_128_64 |
|
1 |
14 |
177 |
2 |
| felem_diff128 |
|
1 |
14 |
195 |
2 |
| felem_square |
|
1 |
51 |
794 |
2 |
| felem_mul |
|
1 |
86 |
1327 |
3 |
| felem_reduce |
|
1 |
46 |
813 |
2 |
| felem_square_reduce |
|
1 |
6 |
28 |
2 |
| felem_mul_reduce |
|
1 |
6 |
34 |
3 |
| felem_inv |
|
8 |
89 |
640 |
2 |
| felem_is_zero |
|
1 |
49 |
415 |
1 |
| felem_is_zero_int |
|
1 |
4 |
26 |
1 |
| felem_contract |
|
1 |
101 |
1009 |
2 |
| point_double |
|
1 |
37 |
266 |
6 |
| copy_conditional |
|
2 |
8 |
57 |
3 |
| point_add |
|
6 |
78 |
592 |
10 |
| select_point |
|
3 |
18 |
153 |
4 |
| get_bit |
|
2 |
6 |
40 |
2 |
| batch_mul |
|
12 |
58 |
619 |
9 |
| EC_GFp_nistp521_method |
|
1 |
43 |
177 |
1 |
| nistp521_pre_comp_new |
|
2 |
12 |
61 |
0 |
| nistp521_pre_comp_dup |
|
1 |
6 |
29 |
1 |
| nistp521_pre_comp_free |
|
3 |
11 |
52 |
1 |
| nistp521_pre_comp_clear_free |
|
3 |
11 |
58 |
1 |
| ec_GFp_nistp521_group_init |
|
1 |
7 |
27 |
1 |
| ec_GFp_nistp521_group_set_curve |
|
9 |
29 |
240 |
5 |
| ec_GFp_nistp521_point_get_affine_coordinates |
|
9 |
37 |
249 |
5 |
| make_points_affine |
|
1 |
15 |
143 |
3 |
| ec_GFp_nistp521_points_mul |
|
43 |
153 |
1318 |
7 |
| ec_GFp_nistp521_precompute_mult |
|
17 |
92 |
1111 |
2 |
| ec_GFp_nistp521_have_precompute_mult |
|
2 |
9 |
33 |
1 |
| Source file: ./lib/libcrypto/ec/ec_mult.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ec_pre_comp_new |
|
3 |
19 |
93 |
1 |
| ec_pre_comp_dup |
|
1 |
6 |
29 |
1 |
| ec_pre_comp_free |
|
5 |
17 |
93 |
1 |
| ec_pre_comp_clear_free |
|
5 |
19 |
108 |
1 |
| compute_wNAF |
|
25 |
84 |
454 |
3 |
| ec_wNAF_mul |
|
75 |
266 |
1769 |
7 |
| ec_wNAF_precompute_mult |
|
30 |
114 |
727 |
2 |
| ec_wNAF_have_precompute_mult |
|
2 |
7 |
33 |
1 |
| Source file: ./lib/libcrypto/hmac/hmac.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| HMAC_Init_ex |
|
24 |
61 |
457 |
5 |
| HMAC_Init |
|
3 |
6 |
46 |
4 |
| HMAC_Update |
|
2 |
6 |
41 |
3 |
| HMAC_Final |
|
6 |
18 |
122 |
3 |
| HMAC_CTX_init |
|
1 |
7 |
38 |
1 |
| HMAC_CTX_copy |
|
4 |
15 |
106 |
2 |
| HMAC_CTX_cleanup |
|
1 |
7 |
43 |
1 |
| HMAC |
|
5 |
20 |
133 |
7 |
| HMAC_CTX_set_flags |
|
1 |
6 |
42 |
2 |
| Source file: ./lib/libcrypto/ui/ui_locl.h |
| Source file: ./lib/libcrypto/ui/ui_compat.h |
| Source file: ./lib/libcrypto/ui/ui_openssl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| UI_OpenSSL |
|
1 |
4 |
10 |
1 |
| write_string |
|
3 |
13 |
51 |
2 |
| read_string |
|
6 |
34 |
196 |
2 |
| read_till_nl |
|
3 |
9 |
49 |
1 |
| read_string_inner |
|
16 |
42 |
245 |
4 |
| open_console |
|
6 |
19 |
101 |
1 |
| noecho_console |
|
3 |
8 |
48 |
1 |
| echo_console |
|
3 |
6 |
36 |
1 |
| close_console |
|
3 |
9 |
38 |
1 |
| pushsig |
|
5 |
17 |
90 |
1 |
| popsig |
|
4 |
11 |
53 |
1 |
| recsig |
|
1 |
4 |
11 |
1 |
| Source file: ./lib/libcrypto/hmac/hm_pmeth.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pkey_hmac_init |
|
2 |
16 |
91 |
1 |
| pkey_hmac_copy |
|
5 |
18 |
116 |
2 |
| pkey_hmac_cleanup |
|
1 |
7 |
44 |
1 |
| pkey_hmac_keygen |
|
3 |
12 |
68 |
2 |
| int_update |
|
2 |
7 |
47 |
3 |
| hmac_signctx_init |
|
1 |
8 |
50 |
2 |
| hmac_signctx |
|
4 |
16 |
93 |
4 |
| pkey_hmac_ctrl |
|
9 |
25 |
149 |
4 |
| pkey_hmac_ctrl_str |
|
5 |
21 |
127 |
3 |
| Source file: ./lib/libcrypto/ui/ui_util.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| UI_UTIL_read_pw_string |
|
2 |
9 |
63 |
4 |
| UI_UTIL_read_pw |
|
7 |
20 |
135 |
5 |
| _ossl_old_des_read_pw_string |
|
1 |
4 |
31 |
4 |
| _ossl_old_des_read_pw |
|
1 |
4 |
37 |
5 |
| Source file: ./lib/libcrypto/ui/ui_err.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ERR_load_UI_strings |
|
2 |
7 |
36 |
1 |
| Source file: ./lib/libcrypto/ec/ecp_nistp256.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bin32_to_felem |
|
1 |
7 |
86 |
2 |
| smallfelem_to_bin32 |
|
1 |
7 |
86 |
2 |
| flip_endian |
|
2 |
6 |
46 |
3 |
| BN_to_felem |
|
3 |
20 |
100 |
2 |
| smallfelem_to_BN |
|
1 |
7 |
45 |
2 |
| smallfelem_one |
|
1 |
7 |
35 |
1 |
| smallfelem_assign |
|
1 |
7 |
51 |
2 |
| felem_assign |
|
1 |
7 |
51 |
2 |
| felem_sum |
|
1 |
7 |
51 |
2 |
| felem_small_sum |
|
1 |
7 |
51 |
2 |
| felem_scalar |
|
1 |
7 |
39 |
2 |
| longfelem_scalar |
|
1 |
11 |
67 |
2 |
| smallfelem_neg |
|
1 |
7 |
71 |
2 |
| felem_diff |
|
1 |
11 |
91 |
2 |
| felem_diff_zero107 |
|
1 |
11 |
91 |
2 |
| longfelem_diff |
|
1 |
24 |
316 |
2 |
| felem_shrink |
|
1 |
46 |
469 |
2 |
| smallfelem_expand |
|
1 |
7 |
51 |
2 |
| smallfelem_square |
|
1 |
61 |
481 |
2 |
| felem_square |
|
1 |
6 |
31 |
2 |
| smallfelem_mul |
|
1 |
85 |
695 |
3 |
| felem_mul |
|
1 |
7 |
43 |
3 |
| felem_small_mul |
|
1 |
6 |
34 |
3 |
| felem_reduce_ |
|
1 |
22 |
239 |
2 |
| felem_reduce |
|
1 |
8 |
78 |
2 |
| felem_reduce_zero105 |
|
1 |
8 |
78 |
2 |
| subtract_u64 |
|
1 |
7 |
45 |
3 |
| felem_contract |
|
2 |
33 |
324 |
2 |
| smallfelem_square_contract |
|
1 |
8 |
38 |
2 |
| smallfelem_mul_contract |
|
1 |
8 |
44 |
3 |
| smallfelem_is_zero |
|
1 |
30 |
224 |
1 |
| smallfelem_is_zero_int |
|
1 |
4 |
26 |
1 |
| felem_inv |
|
8 |
89 |
642 |
2 |
| smallfelem_inv_contract |
|
1 |
7 |
35 |
2 |
| point_double |
|
1 |
40 |
285 |
6 |
| point_double_small |
|
1 |
14 |
96 |
6 |
| copy_conditional |
|
2 |
8 |
57 |
3 |
| copy_small_conditional |
|
2 |
8 |
66 |
3 |
| point_add |
|
6 |
86 |
650 |
10 |
| point_add_small |
|
1 |
14 |
110 |
9 |
| select_point |
|
3 |
17 |
158 |
4 |
| get_bit |
|
3 |
6 |
48 |
2 |
| batch_mul |
|
11 |
70 |
794 |
9 |
| EC_GFp_nistp256_method |
|
1 |
43 |
177 |
1 |
| nistp256_pre_comp_new |
|
2 |
12 |
60 |
0 |
| nistp256_pre_comp_dup |
|
1 |
6 |
29 |
1 |
| nistp256_pre_comp_free |
|
3 |
11 |
52 |
1 |
| nistp256_pre_comp_clear_free |
|
3 |
11 |
56 |
1 |
| ec_GFp_nistp256_group_init |
|
1 |
7 |
27 |
1 |
| ec_GFp_nistp256_group_set_curve |
|
9 |
29 |
240 |
5 |
| ec_GFp_nistp256_point_get_affine_coordinates |
|
9 |
38 |
250 |
5 |
| make_points_affine |
|
1 |
15 |
143 |
3 |
| ec_GFp_nistp256_points_mul |
|
43 |
154 |
1309 |
7 |
| ec_GFp_nistp256_precompute_mult |
|
20 |
100 |
1518 |
2 |
| ec_GFp_nistp256_have_precompute_mult |
|
2 |
9 |
33 |
1 |
| Source file: ./lib/libcrypto/ui/ui.h |
| Source file: ./lib/libcrypto/lhash/lh_stats.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| lh_stats |
|
2 |
24 |
232 |
2 |
| lh_node_stats |
|
3 |
10 |
78 |
2 |
| lh_node_usage_stats |
|
5 |
24 |
185 |
2 |
| lh_stats |
|
2 |
11 |
59 |
2 |
| lh_node_stats |
|
2 |
11 |
59 |
2 |
| lh_node_usage_stats |
|
2 |
11 |
59 |
2 |
| lh_stats_bio |
|
2 |
25 |
233 |
2 |
| lh_node_stats_bio |
|
3 |
10 |
79 |
2 |
| lh_node_usage_stats_bio |
|
5 |
24 |
186 |
2 |
| Source file: ./lib/libcrypto/rsa/rsa_prn.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| RSA_print_fp |
|
2 |
13 |
76 |
3 |
| RSA_print |
|
3 |
11 |
70 |
3 |
| Source file: ./lib/libcrypto/lhash/lhash.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| lh_new |
|
6 |
39 |
271 |
2 |
| lh_free |
|
4 |
17 |
88 |
1 |
| lh_insert |
|
4 |
30 |
173 |
2 |
| lh_delete |
|
4 |
23 |
139 |
2 |
| lh_retrieve |
|
2 |
16 |
84 |
2 |
| doall_util_fn |
|
5 |
19 |
106 |
5 |
| lh_doall |
|
1 |
4 |
27 |
2 |
| lh_doall_arg |
|
1 |
4 |
31 |
3 |
| expand |
|
6 |
41 |
304 |
1 |
| contract |
|
5 |
29 |
202 |
1 |
| getrn |
|
5 |
26 |
182 |
3 |
| lh_strhash |
|
5 |
19 |
125 |
1 |
| lh_num_items |
|
2 |
4 |
18 |
1 |
| Source file: ./lib/libcrypto/lhash/lhash.h |
| Source file: ./lib/libcrypto/rsa/rsa_locl.h |
| Source file: ./lib/libcrypto/ui/ui_lib.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| UI_new |
|
1 |
4 |
14 |
1 |
| UI_new_method |
|
3 |
18 |
93 |
1 |
| free_string |
|
3 |
16 |
96 |
1 |
| UI_free |
|
2 |
8 |
42 |
1 |
| allocate_string_stack |
|
3 |
10 |
43 |
1 |
| general_allocate_prompt |
|
8 |
18 |
128 |
6 |
| general_allocate_string |
|
4 |
20 |
139 |
9 |
| general_allocate_boolean |
|
8 |
33 |
211 |
9 |
| UI_add_input_string |
|
1 |
6 |
48 |
6 |
| UI_dup_input_string |
|
3 |
14 |
83 |
6 |
| UI_add_verify_string |
|
1 |
6 |
53 |
7 |
| UI_dup_verify_string |
|
3 |
14 |
89 |
7 |
| UI_add_input_boolean |
|
1 |
6 |
57 |
7 |
| UI_dup_input_boolean |
|
9 |
45 |
223 |
7 |
| UI_add_info_string |
|
1 |
5 |
35 |
2 |
| UI_dup_info_string |
|
3 |
13 |
71 |
2 |
| UI_add_error_string |
|
1 |
5 |
35 |
2 |
| UI_dup_error_string |
|
3 |
13 |
71 |
2 |
| UI_construct_prompt |
|
6 |
18 |
109 |
3 |
| UI_add_user_data |
|
1 |
6 |
29 |
2 |
| UI_get0_user_data |
|
1 |
4 |
13 |
1 |
| UI_get0_result |
|
3 |
12 |
61 |
2 |
| print_error |
|
3 |
11 |
72 |
3 |
| UI_process |
|
16 |
51 |
297 |
1 |
| UI_ctrl |
|
5 |
24 |
115 |
5 |
| UI_get_ex_new_index |
|
1 |
6 |
39 |
5 |
| UI_set_ex_data |
|
1 |
4 |
30 |
3 |
| UI_get_ex_data |
|
1 |
4 |
24 |
2 |
| UI_set_default_method |
|
1 |
4 |
13 |
1 |
| UI_get_default_method |
|
2 |
7 |
23 |
1 |
| UI_get_method |
|
1 |
4 |
13 |
1 |
| UI_set_method |
|
1 |
5 |
24 |
2 |
| UI_create_method |
|
3 |
7 |
40 |
1 |
| UI_destroy_method |
|
1 |
6 |
26 |
1 |
| UI_method_set_opener |
|
2 |
8 |
39 |
2 |
| UI_method_set_writer |
|
2 |
8 |
43 |
2 |
| UI_method_set_flusher |
|
2 |
8 |
39 |
2 |
| UI_method_set_reader |
|
2 |
8 |
43 |
2 |
| UI_method_set_closer |
|
2 |
8 |
39 |
2 |
| UI_method_set_prompt_constructor |
|
2 |
10 |
50 |
2 |
| int( * UI_method_get_opener(UI_METHOD*method)) |
|
2 |
7 |
19 |
1 |
| int( * UI_method_get_writer(UI_METHOD*method)) |
|
2 |
7 |
22 |
2 |
| int( * UI_method_get_flusher(UI_METHOD*method)) |
|
2 |
7 |
19 |
1 |
| int( * UI_method_get_reader(UI_METHOD*method)) |
|
2 |
7 |
22 |
2 |
| int( * UI_method_get_closer(UI_METHOD*method)) |
|
2 |
7 |
19 |
1 |
| UI_get_string_type |
|
2 |
6 |
21 |
1 |
| UI_get_input_flags |
|
2 |
6 |
21 |
1 |
| UI_get0_output_string |
|
2 |
6 |
21 |
1 |
| UI_get0_action_string |
|
4 |
12 |
44 |
1 |
| UI_get0_result_string |
|
4 |
12 |
40 |
1 |
| UI_get0_test_string |
|
3 |
11 |
41 |
1 |
| UI_get_result_minsize |
|
4 |
12 |
46 |
1 |
| UI_get_result_maxsize |
|
4 |
12 |
46 |
1 |
| UI_set_result |
|
12 |
60 |
327 |
3 |
| Source file: ./lib/libcrypto/rsa/rsa_sign.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| RSA_sign |
|
12 |
62 |
392 |
6 |
| int_rsa_verify |
|
22 |
77 |
477 |
8 |
| RSA_verify |
|
3 |
8 |
87 |
6 |
| Source file: ./lib/libcrypto/rsa/rsa_x931.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| RSA_padding_add_X931 |
|
4 |
26 |
136 |
4 |
| RSA_padding_check_X931 |
|
11 |
34 |
196 |
5 |
| RSA_X931_hash_id |
|
5 |
14 |
41 |
1 |
| Source file: ./lib/libcrypto/rsa/rsa_none.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| RSA_padding_add_none |
|
3 |
14 |
65 |
4 |
| RSA_padding_check_none |
|
2 |
11 |
68 |
5 |
| Source file: ./lib/libcrypto/rsa/rsa_lib.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| RSA_new |
|
1 |
5 |
18 |
1 |
| RSA_set_default_method |
|
1 |
4 |
13 |
1 |
| RSA_get_default_method |
|
2 |
6 |
21 |
1 |
| RSA_get_method |
|
1 |
4 |
14 |
1 |
| RSA_set_method |
|
4 |
15 |
80 |
2 |
| RSA_new_method |
|
11 |
59 |
343 |
1 |
| RSA_free |
|
5 |
25 |
159 |
1 |
| RSA_up_ref |
|
2 |
5 |
32 |
1 |
| RSA_get_ex_new_index |
|
1 |
6 |
39 |
5 |
| RSA_set_ex_data |
|
1 |
4 |
28 |
3 |
| RSA_get_ex_data |
|
1 |
4 |
23 |
2 |
| Source file: ./lib/libcrypto/rsa/rsa_gen.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| RSA_generate_key_ex |
|
2 |
6 |
55 |
4 |
| rsa_builtin_keygen |
|
42 |
111 |
915 |
4 |
| Source file: ./lib/libcrypto/rsa/rsa_err.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ERR_load_RSA_strings |
|
2 |
7 |
36 |
1 |
| Source file: ./lib/libcrypto/rsa/rsa_crpt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| RSA_size |
|
1 |
4 |
17 |
1 |
| RSA_public_encrypt |
|
1 |
5 |
43 |
5 |
| RSA_private_encrypt |
|
1 |
5 |
43 |
5 |
| RSA_private_decrypt |
|
1 |
5 |
43 |
5 |
| RSA_public_decrypt |
|
1 |
5 |
43 |
5 |
| RSA_flags |
|
2 |
4 |
22 |
1 |
| RSA_blinding_off |
|
1 |
6 |
27 |
1 |
| RSA_blinding_on |
|
3 |
13 |
69 |
2 |
| rsa_get_public_exp |
|
10 |
24 |
182 |
4 |
| RSA_setup_blinding |
|
8 |
37 |
214 |
2 |
| Source file: ./lib/libcrypto/rsa/rsa_asn1.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rsa_cb |
|
4 |
14 |
80 |
4 |
| d2i_RSA_PSS_PARAMS |
|
1 |
5 |
38 |
3 |
| i2d_RSA_PSS_PARAMS |
|
1 |
4 |
28 |
2 |
| RSA_PSS_PARAMS_new |
|
1 |
4 |
17 |
1 |
| RSA_PSS_PARAMS_free |
|
1 |
4 |
20 |
1 |
| d2i_RSAPrivateKey |
|
1 |
5 |
38 |
3 |
| i2d_RSAPrivateKey |
|
1 |
4 |
29 |
2 |
| d2i_RSAPublicKey |
|
1 |
5 |
38 |
3 |
| i2d_RSAPublicKey |
|
1 |
4 |
29 |
2 |
| RSAPublicKey_dup |
|
1 |
4 |
17 |
1 |
| RSAPrivateKey_dup |
|
1 |
4 |
17 |
1 |
| Source file: ./lib/libcrypto/rsa/rsa_pmeth.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pkey_rsa_init |
|
2 |
18 |
96 |
1 |
| pkey_rsa_copy |
|
4 |
17 |
98 |
2 |
| setup_tbuf |
|
3 |
9 |
48 |
2 |
| pkey_rsa_cleanup |
|
2 |
9 |
41 |
1 |
| pkey_rsa_sign |
|
11 |
44 |
325 |
5 |
| pkey_rsa_verifyrecover |
|
11 |
42 |
275 |
5 |
| pkey_rsa_verify |
|
13 |
41 |
281 |
5 |
| pkey_rsa_encrypt |
|
2 |
12 |
77 |
5 |
| pkey_rsa_decrypt |
|
2 |
12 |
77 |
5 |
| check_padding_md |
|
5 |
17 |
73 |
2 |
| pkey_rsa_ctrl |
|
33 |
87 |
426 |
4 |
| pkey_rsa_ctrl_str |
|
28 |
68 |
412 |
3 |
| pkey_rsa_keygen |
|
7 |
26 |
150 |
2 |
| Source file: ./lib/libcrypto/rsa/rsa_depr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| RSA_generate_key |
|
7 |
24 |
160 |
4 |
| Source file: ./lib/libcrypto/rsa/rsa_chk.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| RSA_check_key |
|
36 |
126 |
767 |
1 |
| Source file: ./lib/libcrypto/rsa/rsa_saos.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| RSA_sign_ASN1_OCTET_STRING |
|
4 |
30 |
196 |
6 |
| RSA_verify_ASN1_OCTET_STRING |
|
7 |
33 |
213 |
6 |
| Source file: ./lib/libcrypto/rsa/rsa.h |
| Source file: ./lib/libcrypto/rsa/rsa_oaep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| RSA_padding_add_PKCS1_OAEP |
|
9 |
42 |
322 |
6 |
| RSA_padding_check_PKCS1_OAEP |
|
16 |
63 |
418 |
7 |
| PKCS1_MGF1 |
|
9 |
38 |
292 |
5 |
| MGF1 |
|
1 |
4 |
37 |
4 |
| Source file: ./lib/libcrypto/rsa/rsa_pss.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| RSA_verify_PKCS1_PSS |
|
1 |
5 |
44 |
5 |
| RSA_verify_PKCS1_PSS_mgf1 |
|
26 |
86 |
542 |
6 |
| RSA_padding_add_PKCS1_PSS |
|
1 |
5 |
43 |
5 |
| RSA_padding_add_PKCS1_PSS_mgf1 |
|
21 |
71 |
455 |
6 |
| Source file: ./lib/libcrypto/cmac/cm_pmeth.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pkey_cmac_init |
|
2 |
8 |
35 |
1 |
| pkey_cmac_copy |
|
3 |
8 |
43 |
2 |
| pkey_cmac_cleanup |
|
1 |
4 |
15 |
1 |
| pkey_cmac_keygen |
|
3 |
13 |
68 |
2 |
| int_update |
|
2 |
6 |
38 |
3 |
| cmac_signctx_init |
|
1 |
6 |
28 |
2 |
| cmac_signctx |
|
1 |
5 |
33 |
4 |
| pkey_cmac_ctrl |
|
11 |
26 |
156 |
4 |
| pkey_cmac_ctrl_str |
|
7 |
29 |
178 |
3 |
| Source file: ./lib/libcrypto/rsa/rsa_pk1.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| RSA_padding_add_PKCS1_type_1 |
|
2 |
19 |
115 |
4 |
| RSA_padding_check_PKCS1_type_1 |
|
9 |
40 |
195 |
5 |
| RSA_padding_add_PKCS1_type_2 |
|
4 |
23 |
141 |
4 |
| RSA_padding_check_PKCS1_type_2 |
|
8 |
31 |
167 |
5 |
| Source file: ./lib/libcrypto/cmac/cmac.h |
| Source file: ./lib/libcrypto/cmac/cm_ameth.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cmac_size |
|
1 |
4 |
12 |
1 |
| cmac_key_free |
|
1 |
5 |
27 |
1 |
| Source file: ./lib/libcrypto/rc2/rc2_ecb.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| RC2_ecb_encrypt |
|
2 |
14 |
120 |
4 |
| Source file: ./lib/libcrypto/cmac/cmac.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| make_kn |
|
6 |
11 |
96 |
3 |
| CMAC_CTX_new |
|
2 |
10 |
46 |
1 |
| CMAC_CTX_cleanup |
|
1 |
9 |
59 |
1 |
| CMAC_CTX_get0_cipher_ctx |
|
1 |
4 |
14 |
1 |
| CMAC_CTX_free |
|
2 |
7 |
26 |
1 |
| CMAC_CTX_copy |
|
3 |
15 |
120 |
2 |
| CMAC_Init |
|
15 |
36 |
304 |
5 |
| CMAC_Update |
|
9 |
33 |
209 |
3 |
| CMAC_Final |
|
8 |
26 |
211 |
3 |
| CMAC_resume |
|
2 |
6 |
39 |
1 |
| Source file: ./lib/libcrypto/rsa/rsa_eay.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| RSA_PKCS1_SSLeay |
|
1 |
4 |
10 |
1 |
| RSA_eay_public_encrypt |
|
20 |
74 |
481 |
5 |
| rsa_get_blinding |
|
9 |
39 |
202 |
3 |
| rsa_blinding_convert |
|
2 |
12 |
70 |
4 |
| rsa_blinding_invert |
|
1 |
4 |
32 |
4 |
| RSA_eay_private_encrypt |
|
32 |
100 |
663 |
5 |
| RSA_eay_private_decrypt |
|
30 |
94 |
608 |
5 |
| RSA_eay_public_decrypt |
|
23 |
79 |
498 |
5 |
| RSA_eay_mod_exp |
|
31 |
93 |
709 |
4 |
| RSA_eay_init |
|
1 |
5 |
19 |
1 |
| RSA_eay_finish |
|
1 |
7 |
32 |
1 |
| Source file: ./lib/libcrypto/rc2/rc2.h |
| Source file: ./lib/libcrypto/rc2/rc2ofb64.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| RC2_ofb64_encrypt |
|
4 |
44 |
296 |
6 |
| Source file: ./lib/libcrypto/rc2/rc2_locl.h |
| Source file: ./lib/libcrypto/rc2/rc2cfb64.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| RC2_cfb64_encrypt |
|
6 |
54 |
396 |
7 |
| Source file: ./lib/libcrypto/rc2/rc2_skey.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| RC2_set_key |
|
8 |
34 |
300 |
4 |
| Source file: ./lib/libcrypto/gost/gost_asn1.h |
| Source file: ./lib/libcrypto/gost/gost_err.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ERR_load_GOST_strings |
|
2 |
8 |
36 |
1 |
| Source file: ./lib/libcrypto/rsa/rsa_ameth.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rsa_pub_encode |
|
3 |
13 |
77 |
2 |
| rsa_pub_decode |
|
3 |
14 |
85 |
2 |
| rsa_pub_cmp |
|
3 |
7 |
64 |
2 |
| old_rsa_priv_decode |
|
2 |
10 |
57 |
3 |
| old_rsa_priv_encode |
|
1 |
4 |
26 |
2 |
| rsa_priv_encode |
|
3 |
16 |
89 |
2 |
| rsa_priv_decode |
|
2 |
8 |
53 |
2 |
| int_rsa_size |
|
1 |
4 |
19 |
1 |
| rsa_bits |
|
1 |
4 |
21 |
1 |
| int_rsa_free |
|
1 |
4 |
17 |
1 |
| update_buflen |
|
3 |
8 |
45 |
2 |
| do_rsa_print |
|
18 |
60 |
443 |
4 |
| rsa_pub_print |
|
1 |
4 |
36 |
4 |
| rsa_priv_print |
|
1 |
4 |
36 |
4 |
| rsa_pss_decode |
|
8 |
24 |
170 |
2 |
| rsa_pss_param_print |
|
29 |
63 |
433 |
4 |
| rsa_sig_print |
|
8 |
21 |
133 |
5 |
| rsa_pkey_ctrl |
|
7 |
23 |
114 |
4 |
| rsa_item_verify |
|
18 |
69 |
378 |
6 |
| rsa_item_sign |
|
23 |
80 |
494 |
6 |
| Source file: ./lib/libcrypto/gost/gostr341194.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| swap_bytes |
|
3 |
7 |
63 |
2 |
| circle_xor8 |
|
2 |
9 |
75 |
2 |
| transform_3 |
|
1 |
9 |
115 |
1 |
| add_blocks |
|
2 |
12 |
83 |
3 |
| xor_blocks |
|
2 |
7 |
55 |
4 |
| hash_step |
|
3 |
55 |
527 |
3 |
| GOSTR341194_Init |
|
1 |
5 |
35 |
2 |
| GOSTR341194_block_data_order |
|
2 |
10 |
61 |
3 |
| GOSTR341194_Final |
|
2 |
18 |
154 |
2 |
| GOSTR341194 |
|
3 |
13 |
90 |
4 |
| Source file: ./lib/libcrypto/gost/gost.h |
| Source file: ./lib/libcrypto/rc2/rc2_cbc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| RC2_cbc_encrypt |
|
6 |
72 |
497 |
6 |
| RC2_encrypt |
|
5 |
38 |
419 |
2 |
| RC2_decrypt |
|
5 |
39 |
469 |
2 |
| Source file: ./lib/libcrypto/gost/gost89imit_pmeth.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pkey_gost_mac_init |
|
2 |
9 |
45 |
1 |
| pkey_gost_mac_cleanup |
|
1 |
5 |
23 |
1 |
| pkey_gost_mac_copy |
|
2 |
10 |
55 |
2 |
| pkey_gost_mac_keygen |
|
3 |
17 |
90 |
2 |
| pkey_gost_mac_ctrl |
|
10 |
45 |
223 |
4 |
| pkey_gost_mac_ctrl_str |
|
5 |
23 |
133 |
3 |
| pkey_gost_mac_signctx_init |
|
1 |
4 |
15 |
2 |
| pkey_gost_mac_signctx |
|
2 |
13 |
67 |
4 |
| Source file: ./lib/libcrypto/gost/gostr341001_key.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| GOST_KEY_new |
|
2 |
15 |
73 |
1 |
| GOST_KEY_free |
|
3 |
13 |
73 |
1 |
| GOST_KEY_check_key |
|
16 |
59 |
362 |
1 |
| GOST_KEY_set_public_key_affine_coordinates |
|
15 |
40 |
254 |
3 |
| GOST_KEY_get0_group |
|
1 |
4 |
14 |
1 |
| GOST_KEY_set_group |
|
2 |
6 |
42 |
2 |
| GOST_KEY_get0_private_key |
|
1 |
4 |
14 |
1 |
| GOST_KEY_set_private_key |
|
2 |
6 |
42 |
2 |
| GOST_KEY_get0_public_key |
|
1 |
4 |
14 |
1 |
| GOST_KEY_set_public_key |
|
2 |
6 |
46 |
2 |
| GOST_KEY_get_digest |
|
1 |
4 |
14 |
1 |
| GOST_KEY_set_digest |
|
4 |
10 |
39 |
2 |
| GOST_KEY_get_size |
|
5 |
20 |
103 |
1 |
| Source file: ./lib/libcrypto/gost/gostr341001_params.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| GostR3410_get_md_digest |
|
2 |
6 |
19 |
1 |
| GostR3410_get_pk_digest |
|
4 |
13 |
36 |
1 |
| GostR3410_256_param_id |
|
3 |
9 |
59 |
1 |
| GostR3410_512_param_id |
|
3 |
9 |
59 |
1 |
| Source file: ./lib/libcrypto/gost/gost_asn1.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| d2i_GOST_KEY_TRANSPORT |
|
1 |
5 |
38 |
3 |
| i2d_GOST_KEY_TRANSPORT |
|
1 |
4 |
28 |
2 |
| GOST_KEY_TRANSPORT_new |
|
1 |
4 |
17 |
1 |
| GOST_KEY_TRANSPORT_free |
|
1 |
4 |
20 |
1 |
| d2i_GOST_KEY_INFO |
|
1 |
5 |
38 |
3 |
| i2d_GOST_KEY_INFO |
|
1 |
4 |
28 |
2 |
| GOST_KEY_INFO_new |
|
1 |
4 |
17 |
1 |
| GOST_KEY_INFO_free |
|
1 |
4 |
20 |
1 |
| d2i_GOST_KEY_AGREEMENT_INFO |
|
1 |
5 |
38 |
3 |
| i2d_GOST_KEY_AGREEMENT_INFO |
|
1 |
4 |
28 |
2 |
| GOST_KEY_AGREEMENT_INFO_new |
|
1 |
4 |
17 |
1 |
| GOST_KEY_AGREEMENT_INFO_free |
|
1 |
4 |
20 |
1 |
| d2i_GOST_KEY_PARAMS |
|
1 |
5 |
38 |
3 |
| i2d_GOST_KEY_PARAMS |
|
1 |
4 |
28 |
2 |
| GOST_KEY_PARAMS_new |
|
1 |
4 |
17 |
1 |
| GOST_KEY_PARAMS_free |
|
1 |
4 |
20 |
1 |
| d2i_GOST_CIPHER_PARAMS |
|
1 |
5 |
38 |
3 |
| i2d_GOST_CIPHER_PARAMS |
|
1 |
4 |
28 |
2 |
| GOST_CIPHER_PARAMS_new |
|
1 |
4 |
17 |
1 |
| GOST_CIPHER_PARAMS_free |
|
1 |
4 |
20 |
1 |
| Source file: ./lib/libcrypto/gost/gost_locl.h |
| Source file: ./lib/libcrypto/gost/gost89imit_ameth.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mackey_free_gost |
|
1 |
4 |
17 |
1 |
| mac_ctrl_gost |
|
2 |
9 |
43 |
4 |
| Source file: ./lib/libcrypto/gost/gostr341001.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| GOST_le2bn |
|
3 |
11 |
75 |
3 |
| GOST_bn2le |
|
4 |
14 |
100 |
3 |
| gost2001_compute_public |
|
9 |
38 |
198 |
1 |
| gost2001_do_sign |
|
29 |
92 |
601 |
2 |
| gost2001_do_verify |
|
27 |
74 |
563 |
3 |
| VKO_compute_key |
|
10 |
38 |
260 |
5 |
| gost2001_keygen |
|
7 |
23 |
135 |
1 |
| Source file: ./lib/libcrypto/gost/gost2814789.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| f |
|
1 |
5 |
67 |
2 |
| Gost2814789_encrypt |
|
1 |
25 |
566 |
3 |
| Gost2814789_decrypt |
|
1 |
25 |
566 |
3 |
| Gost2814789_mac |
|
2 |
23 |
348 |
3 |
| Gost2814789_ecb_encrypt |
|
4 |
12 |
71 |
4 |
| Gost2814789_encrypt_mesh |
|
3 |
10 |
62 |
2 |
| Gost2814789_mac_mesh |
|
3 |
10 |
59 |
3 |
| Gost2814789_cfb64_encrypt |
|
28 |
97 |
653 |
7 |
| Gost2814789_cnt_next |
|
5 |
23 |
151 |
3 |
| Gost2814789_cnt_encrypt |
|
14 |
44 |
318 |
7 |
| GOST2814789IMIT_Init |
|
1 |
6 |
47 |
2 |
| GOST2814789IMIT_block_data_order |
|
2 |
9 |
53 |
3 |
| GOST2814789IMIT_Final |
|
5 |
13 |
121 |
2 |
| GOST2814789IMIT |
|
2 |
15 |
119 |
6 |
| Source file: ./lib/libcrypto/gost/gost89_keywrap.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| key_diversify_crypto_pro |
|
4 |
28 |
181 |
4 |
| gost_key_wrap_crypto_pro |
|
1 |
17 |
163 |
5 |
| gost_key_unwrap_crypto_pro |
|
2 |
17 |
167 |
4 |
| Source file: ./lib/libcrypto/gost/gostr341001_pmeth.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| unpack_signature_cp |
|
2 |
12 |
72 |
2 |
| pack_signature_cp |
|
3 |
13 |
106 |
4 |
| unpack_signature_le |
|
2 |
12 |
72 |
2 |
| pack_signature_le |
|
1 |
9 |
69 |
4 |
| pkey_gost01_init |
|
4 |
15 |
99 |
1 |
| pkey_gost01_copy |
|
3 |
12 |
69 |
2 |
| pkey_gost01_cleanup |
|
1 |
6 |
30 |
1 |
| pkey_gost01_paramgen |
|
8 |
28 |
160 |
2 |
| pkey_gost01_keygen |
|
2 |
6 |
38 |
2 |
| pkey_gost01_sign |
|
13 |
48 |
272 |
5 |
| pkey_gost01_verify |
|
6 |
29 |
164 |
5 |
| gost01_VKO_key |
|
9 |
50 |
312 |
4 |
| pkey_gost01_decrypt |
|
12 |
66 |
418 |
5 |
| pkey_gost01_derive |
|
4 |
18 |
107 |
3 |
| pkey_gost01_encrypt |
|
24 |
89 |
533 |
5 |
| pkey_gost01_ctrl |
|
20 |
60 |
270 |
4 |
| pkey_gost01_ctrl_str |
|
14 |
38 |
228 |
3 |
| Source file: ./lib/libcrypto/gost/gost89_params.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| Gost2814789_set_sbox |
|
5 |
26 |
323 |
2 |
| Gost2814789_set_key |
|
3 |
11 |
64 |
3 |
| Gost2814789_cryptopro_key_mesh |
|
1 |
9 |
76 |
1 |
| Source file: ./lib/libcrypto/ecdsa/ecs_err.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ERR_load_ECDSA_strings |
|
2 |
7 |
36 |
1 |
| Source file: ./lib/libcrypto/ecdsa/ecs_locl.h |
| Source file: ./lib/libcrypto/gost/gostr341001_ameth.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pkey_free_gost01 |
|
1 |
4 |
17 |
1 |
| decode_gost01_algor_params |
|
8 |
35 |
201 |
3 |
| encode_gost01_algor_params |
|
4 |
27 |
155 |
1 |
| pub_cmp_gost01 |
|
5 |
15 |
112 |
2 |
| pkey_size_gost01 |
|
2 |
6 |
28 |
1 |
| pkey_bits_gost01 |
|
2 |
6 |
28 |
1 |
| pub_decode_gost01 |
|
6 |
41 |
271 |
2 |
| pub_encode_gost01 |
|
10 |
64 |
376 |
2 |
| param_print_gost01 |
|
3 |
13 |
101 |
4 |
| pub_print_gost01 |
|
7 |
42 |
278 |
4 |
| priv_print_gost01 |
|
3 |
14 |
99 |
4 |
| priv_decode_gost01 |
|
15 |
73 |
452 |
2 |
| priv_encode_gost01 |
|
3 |
21 |
131 |
2 |
| param_encode_gost01 |
|
3 |
12 |
69 |
2 |
| param_decode_gost01 |
|
8 |
45 |
236 |
3 |
| param_missing_gost01 |
|
4 |
11 |
56 |
1 |
| param_copy_gost01 |
|
7 |
30 |
172 |
2 |
| param_cmp_gost01 |
|
3 |
10 |
69 |
2 |
| pkey_ctrl_gost01 |
|
10 |
34 |
208 |
4 |
| Source file: ./lib/libcrypto/ecdsa/ecs_sign.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ECDSA_do_sign |
|
1 |
4 |
31 |
3 |
| ECDSA_do_sign_ex |
|
2 |
8 |
63 |
5 |
| ECDSA_sign |
|
1 |
5 |
50 |
6 |
| ECDSA_sign_ex |
|
2 |
13 |
94 |
8 |
| ECDSA_sign_setup |
|
2 |
7 |
54 |
4 |
| Source file: ./lib/libcrypto/ecdsa/ecs_asn1.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| d2i_ECDSA_SIG |
|
1 |
5 |
38 |
3 |
| i2d_ECDSA_SIG |
|
1 |
4 |
29 |
2 |
| ECDSA_SIG_new |
|
1 |
4 |
17 |
1 |
| ECDSA_SIG_free |
|
1 |
4 |
20 |
1 |
| Source file: ./lib/libcrypto/ecdsa/ecs_ossl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ECDSA_OpenSSL |
|
1 |
4 |
10 |
1 |
| ecdsa_sign_setup |
|
25 |
93 |
528 |
4 |
| ecdsa_do_sign |
|
26 |
91 |
558 |
5 |
| ecdsa_do_verify |
|
27 |
98 |
616 |
4 |
| Source file: ./lib/libcrypto/ecdsa/ecs_vrf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ECDSA_do_verify |
|
2 |
8 |
56 |
4 |
| ECDSA_verify |
|
5 |
22 |
155 |
6 |
| Source file: ./lib/libcrypto/ecdsa/ecdsa.h |
| Source file: ./lib/libcrypto/chacha/chacha.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ChaCha_set_key |
|
1 |
5 |
36 |
3 |
| ChaCha_set_iv |
|
1 |
6 |
39 |
3 |
| ChaCha |
|
4 |
14 |
129 |
4 |
| CRYPTO_chacha_20 |
|
2 |
12 |
113 |
6 |
| Source file: ./lib/libcrypto/ecdsa/ecs_lib.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ECDSA_set_default_method |
|
1 |
4 |
13 |
1 |
| ECDSA_get_default_method |
|
2 |
7 |
22 |
1 |
| ECDSA_set_method |
|
3 |
13 |
63 |
2 |
| ECDSA_DATA_new_method |
|
5 |
26 |
150 |
1 |
| ecdsa_data_new |
|
1 |
4 |
16 |
1 |
| ecdsa_data_dup |
|
2 |
7 |
32 |
1 |
| ecdsa_data_free |
|
2 |
8 |
53 |
1 |
| ecdsa_check |
|
4 |
19 |
106 |
1 |
| ECDSA_size |
|
5 |
29 |
170 |
1 |
| ECDSA_get_ex_new_index |
|
1 |
6 |
39 |
5 |
| ECDSA_set_ex_data |
|
2 |
8 |
50 |
3 |
| ECDSA_get_ex_data |
|
2 |
8 |
44 |
2 |
| Source file: ./lib/libcrypto/chacha/chacha.h |
| Source file: ./lib/libcrypto/md4/md4_one.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| MD4 |
|
3 |
12 |
85 |
3 |
| Source file: ./lib/libcrypto/md4/md4.h |
| Source file: ./lib/libcrypto/md4/md4_locl.h |
| Source file: ./lib/libcrypto/pem/pem_sign.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| PEM_SignInit |
|
1 |
4 |
21 |
2 |
| PEM_SignUpdate |
|
1 |
5 |
26 |
3 |
| PEM_SignFinal |
|
3 |
20 |
117 |
4 |
| Source file: ./lib/libcrypto/pem/pem_xaux.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| PEM_read_X509_AUX |
|
1 |
5 |
44 |
4 |
| PEM_write_X509_AUX |
|
1 |
5 |
38 |
2 |
| PEM_read_bio_X509_AUX |
|
1 |
5 |
44 |
4 |
| PEM_write_bio_X509_AUX |
|
1 |
5 |
38 |
2 |
| PEM_read_X509_CERT_PAIR |
|
1 |
5 |
44 |
4 |
| PEM_write_X509_CERT_PAIR |
|
1 |
5 |
38 |
2 |
| PEM_read_bio_X509_CERT_PAIR |
|
1 |
5 |
44 |
4 |
| PEM_write_bio_X509_CERT_PAIR |
|
1 |
5 |
38 |
2 |
| Source file: ./lib/libcrypto/md4/md4_dgst.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| MD4_Init |
|
1 |
9 |
48 |
1 |
| md4_block_data_order |
|
2 |
69 |
1325 |
3 |
| Source file: ./lib/libcrypto/chacha/chacha-merged.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| chacha_keysetup |
|
2 |
22 |
212 |
3 |
| chacha_ivsetup |
|
3 |
7 |
86 |
3 |
| chacha_encrypt_bytes |
|
11 |
146 |
1260 |
4 |
| Source file: ./lib/libcrypto/pem/pem.h |
| Source file: ./lib/libcrypto/pem/pem2.h |
| Source file: ./lib/libcrypto/pem/pem_lib.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| PEM_def_callback |
|
8 |
34 |
186 |
4 |
| PEM_proc_type |
|
4 |
15 |
80 |
2 |
| PEM_dek_info |
|
3 |
18 |
173 |
4 |
| PEM_ASN1_read |
|
2 |
14 |
100 |
6 |
| check_pem |
|
25 |
59 |
336 |
2 |
| PEM_bytes_read_bio |
|
11 |
38 |
230 |
7 |
| PEM_ASN1_write |
|
2 |
15 |
118 |
9 |
| PEM_ASN1_write_bio |
|
18 |
84 |
596 |
9 |
| PEM_do_header |
|
8 |
40 |
310 |
5 |
| PEM_get_EVP_CIPHER_INFO |
|
20 |
55 |
355 |
2 |
| load_iv |
|
9 |
25 |
196 |
3 |
| PEM_write |
|
2 |
13 |
92 |
5 |
| PEM_write_bio |
|
17 |
49 |
402 |
5 |
| PEM_read |
|
2 |
13 |
93 |
5 |
| PEM_read_bio |
|
39 |
154 |
1039 |
5 |
| pem_check_suffix |
|
4 |
15 |
84 |
2 |
| Source file: ./lib/libcrypto/pem/pem_pk8.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| PEM_write_bio_PKCS8PrivateKey_nid |
|
1 |
5 |
52 |
7 |
| PEM_write_bio_PKCS8PrivateKey |
|
1 |
5 |
55 |
7 |
| i2d_PKCS8PrivateKey_bio |
|
1 |
5 |
55 |
7 |
| i2d_PKCS8PrivateKey_nid_bio |
|
1 |
5 |
52 |
7 |
| do_pk8pkey |
|
10 |
43 |
258 |
9 |
| d2i_PKCS8PrivateKey_bio |
|
7 |
33 |
178 |
4 |
| i2d_PKCS8PrivateKey_fp |
|
1 |
5 |
55 |
7 |
| i2d_PKCS8PrivateKey_nid_fp |
|
1 |
5 |
52 |
7 |
| PEM_write_PKCS8PrivateKey_nid |
|
1 |
5 |
52 |
7 |
| PEM_write_PKCS8PrivateKey |
|
1 |
5 |
55 |
7 |
| do_pk8pkey_fp |
|
2 |
13 |
102 |
9 |
| d2i_PKCS8PrivateKey_fp |
|
2 |
12 |
73 |
4 |
| PEM_read_PKCS8 |
|
1 |
5 |
44 |
4 |
| PEM_write_PKCS8 |
|
1 |
5 |
38 |
2 |
| PEM_read_bio_PKCS8 |
|
1 |
5 |
44 |
4 |
| PEM_write_bio_PKCS8 |
|
1 |
5 |
38 |
2 |
| PEM_read_PKCS8_PRIV_KEY_INFO |
|
1 |
5 |
44 |
4 |
| PEM_write_PKCS8_PRIV_KEY_INFO |
|
1 |
5 |
38 |
2 |
| PEM_read_bio_PKCS8_PRIV_KEY_INFO |
|
1 |
5 |
44 |
4 |
| PEM_write_bio_PKCS8_PRIV_KEY_INFO |
|
1 |
5 |
38 |
2 |
| Source file: ./lib/libcrypto/pem/pem_seal.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| PEM_ENCODE_SEAL_CTX_cleanup |
|
1 |
6 |
39 |
1 |
| PEM_SealInit |
|
9 |
44 |
325 |
8 |
| PEM_SealUpdate |
|
4 |
22 |
135 |
5 |
| PEM_SealFinal |
|
6 |
34 |
235 |
6 |
| Source file: ./lib/libcrypto/pem/pvkfmt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| read_ledword |
|
1 |
11 |
70 |
1 |
| read_lebn |
|
4 |
20 |
121 |
3 |
| do_blob_header |
|
14 |
57 |
268 |
6 |
| blob_length |
|
4 |
17 |
90 |
3 |
| do_b2i |
|
4 |
19 |
127 |
3 |
| do_b2i_bio |
|
6 |
33 |
206 |
2 |
| b2i_dss |
|
12 |
45 |
297 |
4 |
| b2i_rsa |
|
13 |
44 |
310 |
4 |
| b2i_PrivateKey |
|
1 |
4 |
23 |
2 |
| b2i_PublicKey |
|
1 |
4 |
23 |
2 |
| b2i_PrivateKey_bio |
|
1 |
4 |
16 |
1 |
| b2i_PublicKey_bio |
|
1 |
4 |
16 |
1 |
| write_ledword |
|
1 |
9 |
73 |
2 |
| write_lebn |
|
4 |
21 |
132 |
3 |
| do_i2b |
|
11 |
46 |
287 |
3 |
| do_i2b_bio |
|
3 |
13 |
78 |
3 |
| check_bitlen_dsa |
|
7 |
21 |
121 |
3 |
| check_bitlen_rsa |
|
9 |
27 |
180 |
3 |
| write_rsa |
|
2 |
16 |
141 |
3 |
| write_dsa |
|
2 |
15 |
105 |
3 |
| i2b_PrivateKey_bio |
|
1 |
4 |
22 |
2 |
| i2b_PublicKey_bio |
|
1 |
4 |
22 |
2 |
| do_PVK_header |
|
9 |
39 |
199 |
5 |
| derive_pvk_key |
|
5 |
14 |
103 |
5 |
| do_PVK_body |
|
19 |
74 |
482 |
5 |
| b2i_PVK_bio |
|
5 |
30 |
181 |
3 |
| i2b_PVK |
|
18 |
74 |
454 |
5 |
| i2b_PVK_bio |
|
3 |
15 |
97 |
5 |
| Source file: ./lib/libcrypto/pem/pem_all.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| PEM_read_X509_REQ |
|
1 |
5 |
44 |
4 |
| PEM_write_X509_REQ |
|
1 |
5 |
38 |
2 |
| PEM_read_bio_X509_REQ |
|
1 |
5 |
44 |
4 |
| PEM_write_bio_X509_REQ |
|
1 |
5 |
38 |
2 |
| PEM_write_X509_REQ_NEW |
|
1 |
5 |
38 |
2 |
| PEM_write_bio_X509_REQ_NEW |
|
1 |
5 |
38 |
2 |
| PEM_read_X509_CRL |
|
1 |
5 |
44 |
4 |
| PEM_write_X509_CRL |
|
1 |
5 |
38 |
2 |
| PEM_read_bio_X509_CRL |
|
1 |
5 |
44 |
4 |
| PEM_write_bio_X509_CRL |
|
1 |
5 |
38 |
2 |
| PEM_read_PKCS7 |
|
1 |
5 |
44 |
4 |
| PEM_write_PKCS7 |
|
1 |
5 |
38 |
2 |
| PEM_read_bio_PKCS7 |
|
1 |
5 |
44 |
4 |
| PEM_write_bio_PKCS7 |
|
1 |
5 |
38 |
2 |
| PEM_write_NETSCAPE_CERT_SEQUENCE |
|
1 |
5 |
38 |
2 |
| PEM_read_NETSCAPE_CERT_SEQUENCE |
|
1 |
5 |
44 |
4 |
| PEM_read_bio_NETSCAPE_CERT_SEQUENCE |
|
1 |
5 |
44 |
4 |
| PEM_write_bio_NETSCAPE_CERT_SEQUENCE |
|
1 |
5 |
38 |
2 |
| pkey_get_rsa |
|
4 |
15 |
64 |
2 |
| PEM_read_RSAPrivateKey |
|
1 |
6 |
45 |
4 |
| PEM_write_RSAPrivateKey |
|
1 |
6 |
59 |
7 |
| PEM_read_bio_RSAPrivateKey |
|
1 |
6 |
45 |
4 |
| PEM_write_bio_RSAPrivateKey |
|
1 |
7 |
59 |
7 |
| PEM_read_RSAPublicKey |
|
1 |
5 |
44 |
4 |
| PEM_write_RSAPublicKey |
|
1 |
5 |
43 |
2 |
| PEM_read_bio_RSAPublicKey |
|
1 |
5 |
44 |
4 |
| PEM_write_bio_RSAPublicKey |
|
1 |
5 |
43 |
2 |
| PEM_read_RSA_PUBKEY |
|
1 |
5 |
44 |
4 |
| PEM_write_RSA_PUBKEY |
|
1 |
5 |
38 |
2 |
| PEM_read_bio_RSA_PUBKEY |
|
1 |
5 |
44 |
4 |
| PEM_write_bio_RSA_PUBKEY |
|
1 |
5 |
38 |
2 |
| pkey_get_dsa |
|
4 |
15 |
64 |
2 |
| PEM_read_DSAPrivateKey |
|
1 |
6 |
45 |
4 |
| PEM_write_DSAPrivateKey |
|
1 |
6 |
59 |
7 |
| PEM_read_bio_DSAPrivateKey |
|
1 |
6 |
45 |
4 |
| PEM_write_bio_DSAPrivateKey |
|
1 |
7 |
59 |
7 |
| PEM_read_DSA_PUBKEY |
|
1 |
5 |
44 |
4 |
| PEM_write_DSA_PUBKEY |
|
1 |
5 |
38 |
2 |
| PEM_write_bio_DSA_PUBKEY |
|
1 |
5 |
38 |
2 |
| PEM_read_bio_DSA_PUBKEY |
|
1 |
5 |
44 |
4 |
| PEM_read_DSAparams |
|
1 |
5 |
44 |
4 |
| PEM_write_DSAparams |
|
1 |
5 |
43 |
2 |
| PEM_read_bio_DSAparams |
|
1 |
5 |
44 |
4 |
| PEM_write_bio_DSAparams |
|
1 |
5 |
43 |
2 |
| pkey_get_eckey |
|
4 |
15 |
64 |
2 |
| PEM_read_ECPKParameters |
|
1 |
5 |
44 |
4 |
| PEM_write_ECPKParameters |
|
1 |
5 |
43 |
2 |
| PEM_read_bio_ECPKParameters |
|
1 |
5 |
44 |
4 |
| PEM_write_bio_ECPKParameters |
|
1 |
5 |
43 |
2 |
| PEM_read_ECPrivateKey |
|
1 |
6 |
45 |
4 |
| PEM_write_ECPrivateKey |
|
1 |
6 |
59 |
7 |
| PEM_read_bio_ECPrivateKey |
|
1 |
6 |
45 |
4 |
| PEM_write_bio_ECPrivateKey |
|
1 |
7 |
59 |
7 |
| PEM_read_EC_PUBKEY |
|
1 |
5 |
44 |
4 |
| PEM_write_EC_PUBKEY |
|
1 |
5 |
38 |
2 |
| PEM_read_bio_EC_PUBKEY |
|
1 |
5 |
44 |
4 |
| PEM_write_bio_EC_PUBKEY |
|
1 |
5 |
38 |
2 |
| PEM_read_DHparams |
|
1 |
5 |
44 |
4 |
| PEM_write_DHparams |
|
1 |
5 |
43 |
2 |
| PEM_read_bio_DHparams |
|
1 |
5 |
44 |
4 |
| PEM_write_bio_DHparams |
|
1 |
5 |
43 |
2 |
| PEM_read_PUBKEY |
|
1 |
5 |
44 |
4 |
| PEM_write_PUBKEY |
|
1 |
5 |
38 |
2 |
| PEM_read_bio_PUBKEY |
|
1 |
5 |
44 |
4 |
| PEM_write_bio_PUBKEY |
|
1 |
5 |
38 |
2 |
| Source file: ./lib/libcrypto/pem/pem_pkey.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| PEM_read_bio_PrivateKey |
|
15 |
65 |
400 |
4 |
| PEM_write_bio_PrivateKey |
|
3 |
12 |
121 |
7 |
| PEM_read_bio_Parameters |
|
9 |
35 |
199 |
2 |
| PEM_write_bio_Parameters |
|
3 |
10 |
86 |
2 |
| PEM_read_PrivateKey |
|
2 |
13 |
87 |
4 |
| PEM_write_PrivateKey |
|
2 |
13 |
92 |
7 |
| Source file: ./lib/libcrypto/pem/pem_x509.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| PEM_read_X509 |
|
1 |
5 |
44 |
4 |
| PEM_write_X509 |
|
1 |
5 |
38 |
2 |
| PEM_read_bio_X509 |
|
1 |
5 |
44 |
4 |
| PEM_write_bio_X509 |
|
1 |
5 |
38 |
2 |
| Source file: ./lib/libcrypto/pem/pem_err.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ERR_load_PEM_strings |
|
2 |
7 |
36 |
1 |
| Source file: ./lib/libcrypto/pem/pem_oth.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| PEM_ASN1_read_bio |
|
3 |
16 |
115 |
6 |
| Source file: ./lib/libcrypto/pem/pem_info.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| PEM_X509_INFO_read |
|
2 |
14 |
93 |
4 |
| PEM_X509_INFO_read_bio |
|
55 |
187 |
1159 |
4 |
| PEM_X509_INFO_write_bio |
|
13 |
57 |
383 |
7 |
| Source file: ./lib/libcrypto/bio/bss_mem.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| BIO_s_mem |
|
1 |
4 |
12 |
1 |
| BIO_new_mem_buf |
|
4 |
20 |
115 |
2 |
| mem_new |
|
2 |
11 |
63 |
1 |
| mem_free |
|
6 |
16 |
89 |
1 |
| mem_read |
|
8 |
22 |
176 |
3 |
| mem_write |
|
4 |
23 |
132 |
3 |
| mem_ctrl |
|
19 |
65 |
328 |
4 |
| mem_gets |
|
6 |
27 |
155 |
3 |
| mem_puts |
|
1 |
7 |
41 |
2 |
| Source file: ./lib/libcrypto/bio/bio_err.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ERR_load_BIO_strings |
|
2 |
7 |
36 |
1 |
| Source file: ./lib/libcrypto/bio/bss_conn.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| conn_state |
|
35 |
146 |
890 |
2 |
| BIO_CONNECT_new |
|
2 |
18 |
129 |
1 |
| BIO_CONNECT_free |
|
2 |
8 |
35 |
1 |
| BIO_s_connect |
|
1 |
4 |
12 |
1 |
| conn_new |
|
2 |
10 |
56 |
1 |
| conn_close_socket |
|
3 |
11 |
64 |
1 |
| conn_free |
|
3 |
15 |
74 |
1 |
| conn_read |
|
6 |
21 |
119 |
3 |
| conn_write |
|
5 |
19 |
110 |
3 |
| conn_ctrl |
|
35 |
121 |
698 |
4 |
| conn_callback_ctrl |
|
2 |
17 |
82 |
3 |
| conn_puts |
|
1 |
7 |
41 |
2 |
| BIO_new_connect |
|
3 |
13 |
59 |
1 |
| Source file: ./lib/libcrypto/bio/bf_null.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| BIO_f_null |
|
1 |
4 |
12 |
1 |
| nullf_new |
|
1 |
7 |
31 |
1 |
| nullf_free |
|
2 |
6 |
24 |
1 |
| nullf_read |
|
3 |
12 |
72 |
3 |
| nullf_write |
|
4 |
12 |
81 |
3 |
| nullf_ctrl |
|
4 |
19 |
101 |
4 |
| nullf_callback_ctrl |
|
2 |
12 |
61 |
3 |
| nullf_gets |
|
2 |
6 |
42 |
3 |
| nullf_puts |
|
2 |
6 |
38 |
2 |
| Source file: ./lib/libcrypto/bio/bf_buff.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| BIO_f_buffer |
|
1 |
4 |
12 |
1 |
| buffer_new |
|
4 |
28 |
161 |
1 |
| buffer_free |
|
2 |
14 |
77 |
1 |
| buffer_read |
|
18 |
54 |
328 |
3 |
| buffer_write |
|
20 |
60 |
398 |
3 |
| buffer_ctrl |
|
40 |
155 |
899 |
4 |
| buffer_callback_ctrl |
|
2 |
12 |
61 |
3 |
| buffer_gets |
|
12 |
45 |
261 |
3 |
| buffer_puts |
|
1 |
4 |
28 |
2 |
| Source file: ./lib/libcrypto/bio/bss_dgram.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| BIO_s_datagram |
|
1 |
4 |
12 |
1 |
| BIO_new_dgram |
|
2 |
9 |
48 |
2 |
| dgram_new |
|
2 |
12 |
64 |
1 |
| dgram_free |
|
3 |
11 |
54 |
1 |
| dgram_clear |
|
4 |
14 |
68 |
1 |
| dgram_adjust_rcv_timeout |
|
13 |
34 |
261 |
1 |
| dgram_reset_rcv_timeout |
|
5 |
10 |
75 |
1 |
| dgram_read |
|
6 |
31 |
197 |
3 |
| dgram_write |
|
6 |
24 |
176 |
3 |
| dgram_ctrl |
|
73 |
265 |
1419 |
4 |
| dgram_puts |
|
1 |
7 |
41 |
2 |
| BIO_dgram_should_retry |
|
3 |
9 |
44 |
1 |
| BIO_dgram_non_fatal_error |
|
5 |
13 |
39 |
1 |
| Source file: ./lib/libcrypto/bio/bss_sock.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| BIO_s_socket |
|
1 |
4 |
12 |
1 |
| BIO_new_socket |
|
2 |
9 |
48 |
2 |
| sock_new |
|
1 |
8 |
37 |
1 |
| sock_free |
|
4 |
14 |
68 |
1 |
| sock_read |
|
4 |
14 |
75 |
3 |
| sock_write |
|
3 |
12 |
66 |
3 |
| sock_ctrl |
|
9 |
36 |
167 |
4 |
| sock_puts |
|
1 |
7 |
41 |
2 |
| BIO_sock_should_retry |
|
3 |
9 |
44 |
1 |
| BIO_sock_non_fatal_error |
|
6 |
14 |
42 |
1 |
| Source file: ./lib/libcrypto/bio/bf_lbuf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| BIO_f_linebuffer |
|
1 |
4 |
12 |
1 |
| linebuffer_new |
|
3 |
18 |
101 |
1 |
| linebuffer_free |
|
2 |
13 |
70 |
1 |
| linebuffer_read |
|
3 |
12 |
72 |
3 |
| linebuffer_write |
|
28 |
75 |
522 |
3 |
| linebuffer_ctrl |
|
25 |
95 |
557 |
4 |
| linebuffer_callback_ctrl |
|
2 |
12 |
61 |
3 |
| linebuffer_gets |
|
2 |
6 |
42 |
3 |
| linebuffer_puts |
|
1 |
4 |
28 |
2 |
| Source file: ./lib/libcrypto/bio/bss_bio.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| BIO_s_bio |
|
1 |
4 |
10 |
1 |
| bio_new |
|
2 |
12 |
60 |
1 |
| bio_free |
|
3 |
13 |
61 |
1 |
| bio_read |
|
12 |
58 |
339 |
3 |
| bio_nread0 |
|
5 |
26 |
169 |
2 |
| bio_nread |
|
6 |
25 |
145 |
3 |
| bio_write |
|
10 |
46 |
286 |
3 |
| bio_nwrite0 |
|
7 |
33 |
205 |
2 |
| bio_nwrite |
|
4 |
19 |
104 |
3 |
| bio_ctrl |
|
32 |
126 |
596 |
4 |
| bio_puts |
|
1 |
4 |
26 |
2 |
| bio_make_pair |
|
7 |
39 |
223 |
2 |
| bio_destroy_pair |
|
3 |
22 |
132 |
1 |
| BIO_new_bio_pair |
|
11 |
40 |
193 |
4 |
| BIO_ctrl_get_write_guarantee |
|
1 |
4 |
20 |
1 |
| BIO_ctrl_get_read_request |
|
1 |
4 |
20 |
1 |
| BIO_ctrl_reset_read_request |
|
1 |
4 |
24 |
1 |
| BIO_nread0 |
|
3 |
13 |
62 |
2 |
| BIO_nread |
|
3 |
12 |
67 |
3 |
| BIO_nwrite0 |
|
3 |
13 |
62 |
2 |
| BIO_nwrite |
|
3 |
12 |
64 |
3 |
| Source file: ./lib/libcrypto/bio/bss_file.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| BIO_new_file |
|
4 |
21 |
118 |
2 |
| BIO_new_fp |
|
2 |
8 |
49 |
2 |
| BIO_s_file |
|
1 |
4 |
12 |
1 |
| file_new |
|
1 |
8 |
37 |
1 |
| file_free |
|
5 |
14 |
75 |
1 |
| file_read |
|
5 |
13 |
90 |
3 |
| file_write |
|
3 |
7 |
55 |
3 |
| file_ctrl |
|
25 |
81 |
429 |
4 |
| file_gets |
|
3 |
11 |
71 |
3 |
| file_puts |
|
1 |
7 |
41 |
2 |
| Source file: ./lib/libcrypto/bio/b_dump.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| BIO_dump_cb |
|
1 |
5 |
49 |
4 |
| BIO_dump_indent_cb |
|
19 |
56 |
511 |
5 |
| write_fp |
|
1 |
4 |
28 |
3 |
| BIO_dump_fp |
|
1 |
4 |
28 |
3 |
| BIO_dump_indent_fp |
|
1 |
4 |
33 |
4 |
| write_bio |
|
1 |
4 |
35 |
3 |
| BIO_dump |
|
1 |
4 |
28 |
3 |
| BIO_dump_indent |
|
1 |
4 |
33 |
4 |
| Source file: ./lib/libcrypto/bio/b_posix.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| BIO_sock_init |
|
1 |
4 |
11 |
1 |
| BIO_sock_cleanup |
|
1 |
3 |
6 |
1 |
| BIO_socket_nbio |
|
5 |
9 |
82 |
2 |
| Source file: ./lib/libcrypto/bio/bss_fd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| BIO_s_fd |
|
1 |
4 |
12 |
1 |
| BIO_new_fd |
|
2 |
9 |
48 |
2 |
| fd_new |
|
1 |
8 |
38 |
1 |
| fd_free |
|
4 |
13 |
59 |
1 |
| fd_read |
|
4 |
14 |
75 |
3 |
| fd_write |
|
3 |
12 |
66 |
3 |
| fd_ctrl |
|
15 |
49 |
231 |
4 |
| fd_puts |
|
1 |
7 |
41 |
2 |
| fd_gets |
|
5 |
12 |
97 |
3 |
| BIO_fd_should_retry |
|
3 |
9 |
44 |
1 |
| BIO_fd_non_fatal_error |
|
6 |
14 |
42 |
1 |
| Source file: ./lib/libcrypto/bio/bss_null.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| BIO_s_null |
|
1 |
4 |
12 |
1 |
| null_new |
|
1 |
7 |
33 |
1 |
| null_free |
|
2 |
6 |
24 |
1 |
| null_read |
|
1 |
4 |
20 |
3 |
| null_write |
|
1 |
4 |
21 |
3 |
| null_ctrl |
|
12 |
23 |
81 |
4 |
| null_gets |
|
1 |
4 |
20 |
3 |
| null_puts |
|
2 |
6 |
32 |
2 |
| Source file: ./lib/libcrypto/gost/streebog.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| multipermute |
|
1 |
13 |
212 |
2 |
| transform |
|
1 |
21 |
240 |
3 |
| gN |
|
2 |
21 |
257 |
3 |
| streebog_single_block |
|
8 |
23 |
215 |
3 |
| streebog_block_data_order |
|
2 |
7 |
48 |
3 |
| STREEBOG512_Final |
|
10 |
67 |
784 |
2 |
| STREEBOG256_Final |
|
1 |
4 |
21 |
2 |
| STREEBOG512_Update |
|
6 |
32 |
206 |
3 |
| STREEBOG256_Update |
|
1 |
4 |
26 |
3 |
| STREEBOG512_Transform |
|
1 |
4 |
23 |
2 |
| STREEBOG256_Init |
|
1 |
7 |
46 |
1 |
| STREEBOG512_Init |
|
1 |
8 |
52 |
1 |
| STREEBOG256 |
|
2 |
12 |
79 |
3 |
| STREEBOG512 |
|
2 |
12 |
79 |
3 |
| Source file: ./lib/libcrypto/bio/bss_acpt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| BIO_s_accept |
|
1 |
4 |
12 |
1 |
| acpt_new |
|
2 |
13 |
75 |
1 |
| BIO_ACCEPT_new |
|
2 |
9 |
51 |
1 |
| BIO_ACCEPT_free |
|
2 |
9 |
42 |
1 |
| acpt_close_socket |
|
2 |
11 |
63 |
1 |
| acpt_free |
|
3 |
15 |
74 |
1 |
| acpt_state |
|
20 |
76 |
421 |
2 |
| acpt_read |
|
3 |
15 |
92 |
3 |
| acpt_write |
|
3 |
15 |
91 |
3 |
| acpt_ctrl |
|
24 |
87 |
431 |
4 |
| acpt_puts |
|
1 |
7 |
41 |
2 |
| BIO_new_accept |
|
3 |
13 |
59 |
1 |
| Source file: ./lib/libcrypto/bio/bf_nbio.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| BIO_f_nbio_test |
|
1 |
4 |
12 |
1 |
| nbiof_new |
|
2 |
12 |
73 |
1 |
| nbiof_free |
|
2 |
10 |
49 |
1 |
| nbiof_read |
|
6 |
24 |
132 |
3 |
| nbiof_write |
|
8 |
33 |
188 |
3 |
| nbiof_ctrl |
|
4 |
20 |
103 |
4 |
| nbiof_callback_ctrl |
|
2 |
12 |
61 |
3 |
| nbiof_gets |
|
2 |
6 |
42 |
3 |
| nbiof_puts |
|
2 |
6 |
38 |
2 |
| Source file: ./lib/libcrypto/bio/bss_log.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| BIO_s_log |
|
1 |
4 |
12 |
1 |
| slg_new |
|
1 |
8 |
40 |
1 |
| slg_free |
|
2 |
7 |
29 |
1 |
| slg_write |
|
3 |
46 |
319 |
3 |
| slg_ctrl |
|
2 |
12 |
52 |
4 |
| slg_puts |
|
1 |
7 |
41 |
2 |
| xopenlog |
|
1 |
4 |
26 |
3 |
| xsyslog |
|
1 |
4 |
25 |
3 |
| xcloselog |
|
1 |
4 |
12 |
1 |
| Source file: ./lib/libcrypto/bio/b_print.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| BIO_printf |
|
1 |
9 |
49 |
3 |
| _BIO_write |
|
1 |
4 |
26 |
3 |
| BIO_vprintf |
|
2 |
14 |
78 |
3 |
| BIO_vprintf |
|
2 |
14 |
74 |
3 |
| BIO_snprintf |
|
3 |
11 |
71 |
4 |
| BIO_vsnprintf |
|
3 |
8 |
57 |
4 |
| Source file: ./lib/libcrypto/bio/bio.h |
| Source file: ./lib/libcrypto/bio/bio_cb.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| BIO_debug_callback |
|
16 |
76 |
470 |
6 |
| Source file: ./lib/libcrypto/ripemd/rmd_one.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| RIPEMD160 |
|
3 |
13 |
85 |
3 |
| Source file: ./lib/libcrypto/ripemd/rmdconst.h |
| Source file: ./lib/libcrypto/ripemd/ripemd.h |
| Source file: ./lib/libcrypto/bio/b_sock.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| BIO_get_host_ip |
|
3 |
24 |
154 |
2 |
| BIO_get_port |
|
3 |
22 |
135 |
2 |
| BIO_sock_error |
|
2 |
9 |
49 |
1 |
| BIO_gethostbyname |
|
1 |
4 |
15 |
1 |
| BIO_socket_ioctl |
|
2 |
8 |
44 |
3 |
| BIO_get_accept_socket |
|
15 |
68 |
431 |
2 |
| BIO_accept |
|
8 |
33 |
209 |
2 |
| BIO_set_tcp_ndelay |
|
1 |
4 |
32 |
2 |
| Source file: ./lib/libcrypto/ripemd/rmd_locl.h |
| Source file: ./lib/libcrypto/ecdh/ech_locl.h |
| Source file: ./lib/libcrypto/ecdh/ech_key.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ecdh_compute_key |
|
20 |
93 |
543 |
5 |
| ECDH_OpenSSL |
|
1 |
4 |
10 |
1 |
| ECDH_compute_key |
|
2 |
9 |
80 |
5 |
| Source file: ./lib/libcrypto/ecdh/ecdh.h |
| Source file: ./lib/libcrypto/ecdh/ech_err.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ERR_load_ECDH_strings |
|
2 |
7 |
36 |
1 |
| Source file: ./lib/libcrypto/ecdh/ech_lib.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ECDH_set_default_method |
|
1 |
4 |
13 |
1 |
| ECDH_get_default_method |
|
2 |
7 |
22 |
1 |
| ECDH_set_method |
|
3 |
13 |
63 |
2 |
| ECDH_DATA_new_method |
|
5 |
26 |
150 |
1 |
| ecdh_data_new |
|
1 |
4 |
16 |
1 |
| ecdh_data_dup |
|
2 |
7 |
36 |
1 |
| ecdh_data_free |
|
2 |
8 |
53 |
1 |
| ecdh_check |
|
4 |
19 |
106 |
1 |
| ECDH_get_ex_new_index |
|
1 |
6 |
39 |
5 |
| ECDH_set_ex_data |
|
2 |
8 |
50 |
3 |
| ECDH_get_ex_data |
|
2 |
8 |
44 |
2 |
| ECDH_size |
|
1 |
4 |
26 |
1 |
| Source file: ./lib/libcrypto/ripemd/rmd_dgst.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| RIPEMD160_Init |
|
1 |
10 |
54 |
1 |
| ripemd160_block_data_order |
|
2 |
182 |
3443 |
3 |
| Source file: ./lib/libcrypto/ocsp/ocsp_lib.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| OCSP_cert_to_id |
|
3 |
17 |
93 |
3 |
| OCSP_cert_id_new |
|
13 |
43 |
281 |
4 |
| OCSP_id_issuer_cmp |
|
3 |
11 |
71 |
2 |
| OCSP_id_cmp |
|
2 |
8 |
43 |
2 |
| OCSP_parse_url |
|
9 |
44 |
276 |
5 |
| OCSP_CERTID_dup |
|
1 |
4 |
17 |
1 |
| Source file: ./lib/libcrypto/bio/bio_lib.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| BIO_new |
|
3 |
14 |
68 |
1 |
| BIO_set |
|
3 |
25 |
150 |
2 |
| BIO_free |
|
6 |
17 |
138 |
1 |
| BIO_vfree |
|
1 |
4 |
13 |
1 |
| BIO_clear_flags |
|
1 |
4 |
17 |
2 |
| BIO_test_flags |
|
1 |
4 |
21 |
2 |
| BIO_set_flags |
|
1 |
4 |
17 |
2 |
| long( * BIO_get_callback(constBIO*b)) |
|
1 |
5 |
24 |
6 |
| BIO_set_callback |
|
1 |
5 |
37 |
2 |
| BIO_set_callback_arg |
|
1 |
4 |
18 |
2 |
| BIO_get_callback_arg |
|
1 |
4 |
14 |
1 |
| BIO_method_name |
|
1 |
4 |
16 |
1 |
| BIO_method_type |
|
1 |
4 |
16 |
1 |
| BIO_read |
|
8 |
24 |
211 |
3 |
| BIO_write |
|
8 |
26 |
217 |
3 |
| BIO_puts |
|
8 |
23 |
207 |
2 |
| BIO_gets |
|
7 |
21 |
195 |
3 |
| BIO_indent |
|
5 |
11 |
56 |
3 |
| BIO_int_ctrl |
|
1 |
6 |
43 |
4 |
| BIO_ptr_ctrl |
|
2 |
8 |
51 |
3 |
| BIO_ctrl |
|
6 |
19 |
176 |
4 |
| BIO_callback_ctrl |
|
6 |
20 |
200 |
3 |
| BIO_ctrl_pending |
|
1 |
4 |
20 |
1 |
| BIO_ctrl_wpending |
|
1 |
4 |
20 |
1 |
| BIO_push |
|
4 |
14 |
79 |
2 |
| BIO_pop |
|
4 |
15 |
93 |
1 |
| BIO_get_retry_BIO |
|
5 |
16 |
78 |
2 |
| BIO_get_retry_reason |
|
1 |
4 |
15 |
1 |
| BIO_find_type |
|
7 |
19 |
99 |
2 |
| BIO_next |
|
2 |
6 |
21 |
1 |
| BIO_free_all |
|
3 |
13 |
52 |
1 |
| BIO_dup_chain |
|
6 |
32 |
201 |
1 |
| BIO_copy_next_retry |
|
1 |
5 |
30 |
1 |
| BIO_get_ex_new_index |
|
1 |
6 |
39 |
5 |
| BIO_set_ex_data |
|
1 |
4 |
32 |
3 |
| BIO_get_ex_data |
|
1 |
4 |
26 |
2 |
| BIO_number_read |
|
2 |
6 |
20 |
1 |
| BIO_number_written |
|
2 |
6 |
20 |
1 |
| Source file: ./lib/libcrypto/ocsp/ocsp_cl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| OCSP_request_add0_id |
|
5 |
15 |
83 |
2 |
| OCSP_request_set1_name |
|
4 |
16 |
90 |
2 |
| OCSP_request_add1_cert |
|
6 |
17 |
104 |
2 |
| OCSP_request_sign |
|
10 |
33 |
203 |
6 |
| OCSP_response_status |
|
1 |
4 |
16 |
1 |
| OCSP_response_get1_basic |
|
3 |
14 |
65 |
1 |
| OCSP_resp_count |
|
2 |
6 |
27 |
1 |
| OCSP_resp_get0 |
|
2 |
6 |
31 |
2 |
| OCSP_resp_find |
|
5 |
19 |
106 |
3 |
| OCSP_single_get0_status |
|
8 |
28 |
135 |
5 |
| OCSP_resp_find_status |
|
3 |
15 |
96 |
7 |
| OCSP_check_validity |
|
12 |
49 |
280 |
4 |
| Source file: ./lib/libcrypto/ocsp/ocsp_srv.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| OCSP_request_onereq_count |
|
1 |
4 |
18 |
1 |
| OCSP_request_onereq_get0 |
|
1 |
4 |
23 |
2 |
| OCSP_onereq_get0_id |
|
1 |
4 |
13 |
1 |
| OCSP_id_get0_info |
|
6 |
15 |
81 |
5 |
| OCSP_request_is_signed |
|
2 |
6 |
20 |
1 |
| OCSP_response_create |
|
7 |
21 |
121 |
2 |
| OCSP_basic_add1_status |
|
17 |
54 |
321 |
7 |
| OCSP_basic_add1_cert |
|
3 |
9 |
63 |
2 |
| OCSP_basic_sign |
|
13 |
43 |
288 |
6 |
| Source file: ./lib/libcrypto/ocsp/ocsp_vfy.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| OCSP_basic_verify |
|
24 |
88 |
498 |
4 |
| ocsp_find_signer |
|
3 |
17 |
104 |
5 |
| ocsp_find_signer_sk |
|
5 |
18 |
135 |
2 |
| ocsp_check_issuer |
|
7 |
29 |
169 |
3 |
| ocsp_check_ids |
|
4 |
20 |
115 |
2 |
| ocsp_match_issuerid |
|
11 |
40 |
248 |
3 |
| ocsp_check_delegated |
|
3 |
8 |
50 |
2 |
| OCSP_request_verify |
|
15 |
66 |
351 |
4 |
| ocsp_req_find_signer |
|
4 |
18 |
99 |
6 |
| Source file: ./lib/libcrypto/ocsp/ocsp_ht.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| OCSP_REQ_CTX_free |
|
2 |
8 |
35 |
1 |
| OCSP_REQ_CTX_set1_req |
|
3 |
11 |
74 |
2 |
| OCSP_REQ_CTX_add1_header |
|
7 |
17 |
103 |
3 |
| OCSP_sendreq_new |
|
9 |
39 |
228 |
4 |
| parse_http_line1 |
|
17 |
42 |
261 |
1 |
| OCSP_sendreq_nbio |
|
40 |
128 |
747 |
2 |
| OCSP_sendreq_bio |
|
5 |
16 |
95 |
3 |
| Source file: ./lib/libcrypto/ocsp/ocsp_prn.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ocsp_certid_print |
|
1 |
15 |
126 |
3 |
| table2string |
|
3 |
8 |
51 |
3 |
| OCSP_response_status_str |
|
1 |
12 |
62 |
1 |
| OCSP_cert_status_str |
|
1 |
9 |
44 |
1 |
| OCSP_crl_reason_str |
|
1 |
14 |
74 |
1 |
| OCSP_REQUEST_print |
|
14 |
47 |
330 |
3 |
| OCSP_RESPONSE_print |
|
35 |
111 |
751 |
3 |
| Source file: ./lib/libcrypto/ocsp/ocsp_ext.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| OCSP_REQUEST_get_ext_count |
|
1 |
4 |
18 |
1 |
| OCSP_REQUEST_get_ext_by_NID |
|
1 |
5 |
28 |
3 |
| OCSP_REQUEST_get_ext_by_OBJ |
|
1 |
5 |
29 |
3 |
| OCSP_REQUEST_get_ext_by_critical |
|
1 |
5 |
28 |
3 |
| OCSP_REQUEST_get_ext |
|
1 |
4 |
23 |
2 |
| OCSP_REQUEST_delete_ext |
|
1 |
4 |
23 |
2 |
| OCSP_REQUEST_get1_ext_d2i |
|
1 |
4 |
35 |
4 |
| OCSP_REQUEST_add1_ext_i2d |
|
1 |
6 |
41 |
5 |
| OCSP_REQUEST_add_ext |
|
1 |
5 |
34 |
3 |
| OCSP_ONEREQ_get_ext_count |
|
1 |
4 |
16 |
1 |
| OCSP_ONEREQ_get_ext_by_NID |
|
1 |
4 |
26 |
3 |
| OCSP_ONEREQ_get_ext_by_OBJ |
|
1 |
4 |
27 |
3 |
| OCSP_ONEREQ_get_ext_by_critical |
|
1 |
5 |
26 |
3 |
| OCSP_ONEREQ_get_ext |
|
1 |
4 |
21 |
2 |
| OCSP_ONEREQ_delete_ext |
|
1 |
4 |
21 |
2 |
| OCSP_ONEREQ_get1_ext_d2i |
|
1 |
4 |
33 |
4 |
| OCSP_ONEREQ_add1_ext_i2d |
|
1 |
6 |
39 |
5 |
| OCSP_ONEREQ_add_ext |
|
1 |
4 |
32 |
3 |
| OCSP_BASICRESP_get_ext_count |
|
1 |
4 |
18 |
1 |
| OCSP_BASICRESP_get_ext_by_NID |
|
1 |
5 |
28 |
3 |
| OCSP_BASICRESP_get_ext_by_OBJ |
|
1 |
5 |
29 |
3 |
| OCSP_BASICRESP_get_ext_by_critical |
|
1 |
5 |
28 |
3 |
| OCSP_BASICRESP_get_ext |
|
1 |
4 |
23 |
2 |
| OCSP_BASICRESP_delete_ext |
|
1 |
4 |
23 |
2 |
| OCSP_BASICRESP_get1_ext_d2i |
|
1 |
5 |
35 |
4 |
| OCSP_BASICRESP_add1_ext_i2d |
|
1 |
6 |
41 |
5 |
| OCSP_BASICRESP_add_ext |
|
1 |
5 |
34 |
3 |
| OCSP_SINGLERESP_get_ext_count |
|
1 |
4 |
16 |
1 |
| OCSP_SINGLERESP_get_ext_by_NID |
|
1 |
4 |
26 |
3 |
| OCSP_SINGLERESP_get_ext_by_OBJ |
|
1 |
5 |
27 |
3 |
| OCSP_SINGLERESP_get_ext_by_critical |
|
1 |
4 |
26 |
3 |
| OCSP_SINGLERESP_get_ext |
|
1 |
4 |
21 |
2 |
| OCSP_SINGLERESP_delete_ext |
|
1 |
4 |
21 |
2 |
| OCSP_SINGLERESP_get1_ext_d2i |
|
1 |
4 |
33 |
4 |
| OCSP_SINGLERESP_add1_ext_i2d |
|
1 |
5 |
39 |
5 |
| OCSP_SINGLERESP_add_ext |
|
1 |
4 |
32 |
3 |
| ocsp_add1_nonce |
|
5 |
25 |
154 |
3 |
| OCSP_request_add1_nonce |
|
1 |
4 |
31 |
3 |
| OCSP_basic_add1_nonce |
|
1 |
5 |
31 |
3 |
| OCSP_check_nonce |
|
8 |
19 |
125 |
2 |
| OCSP_copy_nonce |
|
2 |
10 |
60 |
2 |
| OCSP_crlID_new |
|
12 |
30 |
188 |
3 |
| OCSP_accept_responses_new |
|
6 |
21 |
125 |
1 |
| OCSP_archive_cutoff_new |
|
4 |
14 |
74 |
1 |
| OCSP_url_svcloc_new |
|
16 |
42 |
266 |
2 |
| Source file: ./lib/libcrypto/ocsp/ocsp_err.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ERR_load_OCSP_strings |
|
2 |
7 |
36 |
1 |
| Source file: ./lib/libcrypto/ocsp/ocsp.h |
| Source file: ./lib/libcrypto/md5/md5_one.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| MD5 |
|
3 |
12 |
85 |
3 |
| Source file: ./lib/libcrypto/md5/md5_locl.h |
| Source file: ./lib/libcrypto/md5/md5.h |
| Source file: ./lib/libcrypto/buffer/buffer.h |
| Source file: ./lib/libcrypto/md5/md5_dgst.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| MD5_Init |
|
1 |
9 |
48 |
1 |
| md5_block_data_order |
|
2 |
84 |
1645 |
3 |
| Source file: ./lib/libcrypto/buffer/buffer.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| BUF_MEM_new |
|
2 |
9 |
45 |
1 |
| BUF_MEM_free |
|
2 |
7 |
32 |
1 |
| BUF_MEM_grow |
|
1 |
4 |
19 |
2 |
| BUF_MEM_grow_clean |
|
5 |
24 |
152 |
2 |
| BUF_reverse |
|
4 |
18 |
108 |
3 |
| Source file: ./lib/libcrypto/buffer/buf_err.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ERR_load_BUF_strings |
|
2 |
7 |
36 |
1 |
| Source file: ./lib/libcrypto/buffer/buf_str.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| BUF_strdup |
|
3 |
9 |
44 |
1 |
| BUF_strndup |
|
3 |
9 |
49 |
2 |
| BUF_memdup |
|
3 |
11 |
60 |
2 |
| BUF_strlcpy |
|
1 |
4 |
26 |
3 |
| BUF_strlcat |
|
1 |
4 |
26 |
3 |
| Source file: ./lib/libcrypto/idea/idea.h |
| Source file: ./lib/libcrypto/ocsp/ocsp_asn.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| d2i_OCSP_SIGNATURE |
|
1 |
5 |
38 |
3 |
| i2d_OCSP_SIGNATURE |
|
1 |
4 |
28 |
2 |
| OCSP_SIGNATURE_new |
|
1 |
4 |
17 |
1 |
| OCSP_SIGNATURE_free |
|
1 |
4 |
20 |
1 |
| d2i_OCSP_CERTID |
|
1 |
5 |
38 |
3 |
| i2d_OCSP_CERTID |
|
1 |
4 |
28 |
2 |
| OCSP_CERTID_new |
|
1 |
4 |
17 |
1 |
| OCSP_CERTID_free |
|
1 |
4 |
20 |
1 |
| d2i_OCSP_ONEREQ |
|
1 |
5 |
38 |
3 |
| i2d_OCSP_ONEREQ |
|
1 |
4 |
28 |
2 |
| OCSP_ONEREQ_new |
|
1 |
4 |
17 |
1 |
| OCSP_ONEREQ_free |
|
1 |
4 |
20 |
1 |
| d2i_OCSP_REQINFO |
|
1 |
5 |
38 |
3 |
| i2d_OCSP_REQINFO |
|
1 |
4 |
28 |
2 |
| OCSP_REQINFO_new |
|
1 |
4 |
17 |
1 |
| OCSP_REQINFO_free |
|
1 |
4 |
20 |
1 |
| d2i_OCSP_REQUEST |
|
1 |
5 |
38 |
3 |
| i2d_OCSP_REQUEST |
|
1 |
4 |
28 |
2 |
| d2i_OCSP_REQUEST_bio |
|
1 |
4 |
23 |
2 |
| i2d_OCSP_REQUEST_bio |
|
1 |
4 |
23 |
2 |
| OCSP_REQUEST_new |
|
1 |
4 |
17 |
1 |
| OCSP_REQUEST_free |
|
1 |
4 |
20 |
1 |
| d2i_OCSP_RESPBYTES |
|
1 |
5 |
38 |
3 |
| i2d_OCSP_RESPBYTES |
|
1 |
4 |
28 |
2 |
| OCSP_RESPBYTES_new |
|
1 |
4 |
17 |
1 |
| OCSP_RESPBYTES_free |
|
1 |
4 |
20 |
1 |
| d2i_OCSP_RESPONSE |
|
1 |
5 |
38 |
3 |
| i2d_OCSP_RESPONSE |
|
1 |
4 |
28 |
2 |
| d2i_OCSP_RESPONSE_bio |
|
1 |
4 |
23 |
2 |
| i2d_OCSP_RESPONSE_bio |
|
1 |
4 |
23 |
2 |
| OCSP_RESPONSE_new |
|
1 |
4 |
17 |
1 |
| OCSP_RESPONSE_free |
|
1 |
4 |
20 |
1 |
| d2i_OCSP_RESPID |
|
1 |
5 |
38 |
3 |
| i2d_OCSP_RESPID |
|
1 |
4 |
28 |
2 |
| OCSP_RESPID_new |
|
1 |
4 |
17 |
1 |
| OCSP_RESPID_free |
|
1 |
4 |
20 |
1 |
| d2i_OCSP_REVOKEDINFO |
|
1 |
5 |
38 |
3 |
| i2d_OCSP_REVOKEDINFO |
|
1 |
4 |
28 |
2 |
| OCSP_REVOKEDINFO_new |
|
1 |
4 |
17 |
1 |
| OCSP_REVOKEDINFO_free |
|
1 |
4 |
20 |
1 |
| d2i_OCSP_CERTSTATUS |
|
1 |
5 |
38 |
3 |
| i2d_OCSP_CERTSTATUS |
|
1 |
4 |
28 |
2 |
| OCSP_CERTSTATUS_new |
|
1 |
4 |
17 |
1 |
| OCSP_CERTSTATUS_free |
|
1 |
4 |
20 |
1 |
| d2i_OCSP_SINGLERESP |
|
1 |
5 |
38 |
3 |
| i2d_OCSP_SINGLERESP |
|
1 |
4 |
28 |
2 |
| OCSP_SINGLERESP_new |
|
1 |
4 |
17 |
1 |
| OCSP_SINGLERESP_free |
|
1 |
4 |
20 |
1 |
| d2i_OCSP_RESPDATA |
|
1 |
5 |
38 |
3 |
| i2d_OCSP_RESPDATA |
|
1 |
4 |
28 |
2 |
| OCSP_RESPDATA_new |
|
1 |
4 |
17 |
1 |
| OCSP_RESPDATA_free |
|
1 |
4 |
20 |
1 |
| d2i_OCSP_BASICRESP |
|
1 |
5 |
38 |
3 |
| i2d_OCSP_BASICRESP |
|
1 |
4 |
28 |
2 |
| OCSP_BASICRESP_new |
|
1 |
4 |
17 |
1 |
| OCSP_BASICRESP_free |
|
1 |
4 |
20 |
1 |
| d2i_OCSP_CRLID |
|
1 |
5 |
38 |
3 |
| i2d_OCSP_CRLID |
|
1 |
4 |
28 |
2 |
| OCSP_CRLID_new |
|
1 |
4 |
17 |
1 |
| OCSP_CRLID_free |
|
1 |
4 |
20 |
1 |
| d2i_OCSP_SERVICELOC |
|
1 |
5 |
38 |
3 |
| i2d_OCSP_SERVICELOC |
|
1 |
4 |
28 |
2 |
| OCSP_SERVICELOC_new |
|
1 |
4 |
17 |
1 |
| OCSP_SERVICELOC_free |
|
1 |
4 |
20 |
1 |
| Source file: ./lib/libcrypto/idea/i_cfb64.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| idea_cfb64_encrypt |
|
6 |
54 |
396 |
7 |
| Source file: ./lib/libcrypto/idea/i_ecb.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| idea_options |
|
2 |
7 |
29 |
1 |
| idea_ecb_encrypt |
|
1 |
11 |
109 |
3 |
| Source file: ./lib/libcrypto/idea/i_skey.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| idea_set_encrypt_key |
|
3 |
31 |
408 |
2 |
| idea_set_decrypt_key |
|
3 |
25 |
238 |
2 |
| inverse |
|
5 |
28 |
135 |
1 |
| Source file: ./lib/libcrypto/idea/idea_lcl.h |
| Source file: ./lib/libcrypto/poly1305/poly1305.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| CRYPTO_poly1305_init |
|
1 |
4 |
23 |
2 |
| CRYPTO_poly1305_update |
|
1 |
5 |
26 |
3 |
| CRYPTO_poly1305_finish |
|
1 |
4 |
22 |
2 |
| Source file: ./lib/libcrypto/poly1305/poly1305.h |
| Source file: ./lib/libcrypto/idea/i_ofb64.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| idea_ofb64_encrypt |
|
4 |
44 |
296 |
6 |
| Source file: ./lib/libcrypto/idea/i_cbc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| idea_cbc_encrypt |
|
6 |
72 |
497 |
6 |
| idea_encrypt |
|
1 |
26 |
219 |
2 |
| Source file: ./lib/libcrypto/conf/conf_sap.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| OPENSSL_config |
|
4 |
20 |
93 |
1 |
| OPENSSL_no_config |
|
1 |
4 |
10 |
1 |
| Source file: ./lib/libcrypto/conf/conf_err.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ERR_load_CONF_strings |
|
2 |
7 |
36 |
1 |
| Source file: ./lib/libcrypto/conf/conf.h |
| Source file: ./lib/libcrypto/conf/conf_mod.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| CONF_modules_load |
|
11 |
28 |
186 |
3 |
| CONF_modules_load_file |
|
8 |
31 |
160 |
3 |
| module_run |
|
7 |
25 |
145 |
4 |
| module_load_dso |
|
6 |
35 |
195 |
4 |
| module_add |
|
6 |
24 |
132 |
4 |
| module_find |
|
4 |
17 |
95 |
1 |
| module_init |
|
14 |
44 |
245 |
4 |
| CONF_modules_unload |
|
6 |
17 |
104 |
1 |
| module_free |
|
2 |
7 |
33 |
1 |
| CONF_modules_finish |
|
2 |
10 |
42 |
1 |
| module_finish |
|
2 |
9 |
51 |
1 |
| CONF_module_add |
|
2 |
8 |
37 |
3 |
| CONF_modules_free |
|
1 |
5 |
15 |
1 |
| CONF_imodule_get_name |
|
1 |
4 |
14 |
1 |
| CONF_imodule_get_value |
|
1 |
4 |
14 |
1 |
| CONF_imodule_get_usr_data |
|
1 |
4 |
14 |
1 |
| CONF_imodule_set_usr_data |
|
1 |
4 |
18 |
2 |
| CONF_imodule_get_module |
|
1 |
4 |
14 |
1 |
| CONF_imodule_get_flags |
|
1 |
4 |
14 |
1 |
| CONF_imodule_set_flags |
|
1 |
4 |
18 |
2 |
| CONF_module_get_usr_data |
|
1 |
4 |
13 |
1 |
| CONF_module_set_usr_data |
|
1 |
4 |
18 |
2 |
| CONF_get1_default_config_file |
|
2 |
8 |
37 |
1 |
| CONF_parse_list |
|
13 |
36 |
218 |
5 |
| Source file: ./lib/libcrypto/conf/conf_def.h |
| Source file: ./lib/libcrypto/conf/conf_mall.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| OPENSSL_load_builtin_modules |
|
1 |
5 |
14 |
1 |
| Source file: ./lib/libcrypto/conf/conf_lib.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| CONF_set_nconf |
|
2 |
7 |
40 |
2 |
| CONF_set_default_method |
|
1 |
5 |
15 |
1 |
| CONF_load |
|
2 |
14 |
77 |
3 |
| CONF_load_fp |
|
2 |
13 |
73 |
3 |
| CONF_load_bio |
|
2 |
11 |
57 |
3 |
| CONF_get_section |
|
2 |
11 |
50 |
2 |
| CONF_get_string |
|
2 |
11 |
64 |
3 |
| CONF_get_number |
|
3 |
17 |
95 |
3 |
| CONF_free |
|
1 |
6 |
28 |
1 |
| CONF_dump_fp |
|
2 |
12 |
63 |
2 |
| CONF_dump_bio |
|
1 |
6 |
35 |
2 |
| NCONF_new |
|
3 |
12 |
54 |
1 |
| NCONF_free |
|
2 |
6 |
25 |
1 |
| NCONF_free_data |
|
2 |
6 |
25 |
1 |
| NCONF_load |
|
2 |
8 |
47 |
3 |
| NCONF_load_fp |
|
2 |
12 |
66 |
3 |
| NCONF_load_bio |
|
2 |
8 |
46 |
3 |
| NCONF_get_section |
|
3 |
12 |
54 |
2 |
| NCONF_get_string |
|
4 |
14 |
76 |
3 |
| NCONF_get_number_e |
|
4 |
17 |
113 |
4 |
| NCONF_dump_fp |
|
2 |
12 |
61 |
2 |
| NCONF_dump_bio |
|
2 |
8 |
41 |
2 |
| Source file: ./lib/libcrypto/conf/conf_api.h |
| Source file: ./lib/libcrypto/asn1/x_pkey.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| X509_PKEY_new |
|
5 |
31 |
171 |
1 |
| X509_PKEY_free |
|
6 |
16 |
99 |
1 |
| Source file: ./lib/libcrypto/poly1305/poly1305-donna.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| U8TO32 |
|
1 |
7 |
82 |
1 |
| U32TO8 |
|
1 |
7 |
66 |
2 |
| poly1305_init |
|
1 |
20 |
259 |
2 |
| poly1305_blocks |
|
3 |
80 |
781 |
3 |
| poly1305_update |
|
8 |
30 |
208 |
3 |
| poly1305_finish |
|
3 |
91 |
787 |
2 |
| Source file: ./lib/libcrypto/conf/conf_api.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _CONF_get_section |
|
3 |
10 |
71 |
2 |
| _CONF_get_section_values |
|
2 |
9 |
53 |
2 |
| _CONF_add_string |
|
3 |
18 |
116 |
3 |
| _CONF_get_string |
|
6 |
23 |
150 |
3 |
| conf_value_hash |
|
1 |
4 |
29 |
1 |
| conf_value_cmp |
|
7 |
16 |
121 |
2 |
| _CONF_new_data |
|
4 |
11 |
48 |
1 |
| _CONF_free_data |
|
3 |
11 |
71 |
1 |
| value_free_hash_doall_arg |
|
2 |
5 |
33 |
2 |
| value_free_stack_doall |
|
4 |
19 |
116 |
1 |
| _CONF_new_section |
|
6 |
27 |
182 |
2 |
| Source file: ./lib/libcrypto/asn1/x_info.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| X509_INFO_new |
|
2 |
17 |
89 |
1 |
| X509_INFO_free |
|
5 |
16 |
91 |
1 |
| Source file: ./lib/libcrypto/asn1/a_print.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ASN1_PRINTABLE_type |
|
27 |
31 |
234 |
2 |
| ASN1_UNIVERSALSTRING_to_string |
|
9 |
26 |
189 |
1 |
| Source file: ./lib/libcrypto/asn1/asn1_err.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ERR_load_ASN1_strings |
|
2 |
7 |
36 |
1 |
| Source file: ./lib/libcrypto/asn1/a_d2i_fp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ASN1_d2i_fp |
|
2 |
13 |
93 |
4 |
| ASN1_d2i_bio |
|
3 |
16 |
107 |
4 |
| ASN1_item_d2i_bio |
|
3 |
16 |
101 |
3 |
| ASN1_item_d2i_fp |
|
2 |
13 |
82 |
3 |
| asn1_d2i_read_bio |
|
31 |
116 |
635 |
2 |
| Source file: ./lib/libcrypto/conf/conf_def.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| NCONF_default |
|
1 |
4 |
10 |
1 |
| NCONF_WIN32 |
|
1 |
4 |
10 |
1 |
| def_create |
|
3 |
11 |
58 |
1 |
| def_init_default |
|
2 |
9 |
39 |
1 |
| def_init_WIN32 |
|
2 |
9 |
43 |
1 |
| def_destroy |
|
2 |
8 |
28 |
1 |
| def_destroy_data |
|
2 |
7 |
25 |
1 |
| def_load |
|
3 |
16 |
87 |
3 |
| def_load_bio |
|
47 |
180 |
1067 |
3 |
| clear_comments |
|
10 |
35 |
167 |
2 |
| str_copy |
|
37 |
121 |
751 |
4 |
| eat_ws |
|
3 |
6 |
41 |
2 |
| eat_alpha_numeric |
|
4 |
12 |
61 |
2 |
| scan_quote |
|
6 |
16 |
91 |
2 |
| scan_dquote |
|
5 |
18 |
84 |
2 |
| dump_value_doall_arg |
|
2 |
7 |
49 |
2 |
| def_dump |
|
1 |
6 |
31 |
2 |
| def_is_number |
|
1 |
4 |
20 |
2 |
| def_to_int |
|
1 |
4 |
17 |
2 |
| Source file: ./lib/libcrypto/asn1/asn1_par.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| asn1_print_info |
|
8 |
29 |
198 |
5 |
| ASN1_parse |
|
1 |
4 |
41 |
4 |
| ASN1_parse_dump |
|
1 |
4 |
44 |
5 |
| asn1_parse2 |
|
96 |
241 |
1598 |
7 |
| ASN1_tag2str |
|
5 |
18 |
117 |
1 |
| Source file: ./lib/libcrypto/asn1/x_long.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| long_new |
|
1 |
5 |
27 |
2 |
| long_free |
|
1 |
4 |
24 |
2 |
| long_i2c |
|
9 |
32 |
204 |
4 |
| long_c2i |
|
8 |
35 |
197 |
6 |
| long_print |
|
1 |
5 |
40 |
5 |
| Source file: ./lib/libcrypto/asn1/t_x509a.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| X509_CERT_AUX_print |
|
12 |
50 |
349 |
3 |
| Source file: ./lib/libcrypto/asn1/a_strnid.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ASN1_STRING_set_default_mask |
|
1 |
4 |
12 |
1 |
| ASN1_STRING_get_default_mask |
|
1 |
4 |
9 |
1 |
| ASN1_STRING_set_default_mask_asc |
|
8 |
23 |
152 |
1 |
| ASN1_STRING_set_by_NID |
|
5 |
23 |
138 |
5 |
| sk_table_cmp |
|
1 |
5 |
33 |
2 |
| table_cmp |
|
1 |
4 |
23 |
2 |
| table_cmp_BSEARCH_CMP_FN |
|
1 |
6 |
36 |
2 |
| OBJ_bsearch_table |
|
1 |
5 |
37 |
3 |
| ASN1_STRING_TABLE_get |
|
4 |
17 |
85 |
1 |
| ASN1_STRING_TABLE_add |
|
9 |
36 |
200 |
5 |
| ASN1_STRING_TABLE_cleanup |
|
2 |
9 |
35 |
1 |
| st_free |
|
2 |
5 |
21 |
1 |
| Source file: ./lib/libcrypto/asn1/x_name.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| d2i_X509_NAME_ENTRY |
|
1 |
5 |
38 |
3 |
| i2d_X509_NAME_ENTRY |
|
1 |
4 |
28 |
2 |
| X509_NAME_ENTRY_new |
|
1 |
4 |
17 |
1 |
| X509_NAME_ENTRY_free |
|
1 |
4 |
20 |
1 |
| X509_NAME_ENTRY_dup |
|
1 |
4 |
17 |
1 |
| d2i_X509_NAME |
|
1 |
5 |
38 |
3 |
| i2d_X509_NAME |
|
1 |
4 |
28 |
2 |
| X509_NAME_new |
|
1 |
4 |
17 |
1 |
| X509_NAME_free |
|
1 |
4 |
20 |
1 |
| X509_NAME_dup |
|
1 |
4 |
17 |
1 |
| x509_name_ex_new |
|
6 |
24 |
135 |
2 |
| x509_name_ex_free |
|
3 |
12 |
70 |
2 |
| x509_name_ex_d2i |
|
10 |
51 |
363 |
8 |
| x509_name_ex_i2d |
|
5 |
20 |
116 |
5 |
| local_sk_X509_NAME_ENTRY_free |
|
1 |
4 |
16 |
1 |
| local_sk_X509_NAME_ENTRY_pop_free |
|
1 |
4 |
18 |
1 |
| x509_name_encode |
|
9 |
46 |
275 |
1 |
| x509_name_ex_print |
|
2 |
8 |
53 |
5 |
| x509_name_canon |
|
17 |
62 |
351 |
1 |
| asn1_string_canon |
|
15 |
47 |
286 |
2 |
| i2d_name_canon |
|
3 |
16 |
109 |
2 |
| X509_NAME_set |
|
5 |
14 |
72 |
2 |
| Source file: ./lib/libcrypto/asn1/asn1.h |
| Source file: ./lib/libcrypto/asn1/tasn_new.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ASN1_item_new |
|
2 |
7 |
33 |
1 |
| ASN1_item_ex_new |
|
1 |
4 |
23 |
2 |
| asn1_item_ex_combine_new |
|
45 |
96 |
532 |
3 |
| asn1_item_clear |
|
10 |
27 |
116 |
2 |
| ASN1_template_new |
|
9 |
32 |
164 |
2 |
| asn1_template_clear |
|
2 |
7 |
40 |
2 |
| ASN1_primitive_new |
|
15 |
44 |
238 |
2 |
| asn1_primitive_clear |
|
7 |
20 |
105 |
2 |
| Source file: ./lib/libcrypto/asn1/p5_pbe.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| d2i_PBEPARAM |
|
1 |
5 |
38 |
3 |
| i2d_PBEPARAM |
|
1 |
4 |
28 |
2 |
| PBEPARAM_new |
|
1 |
4 |
17 |
1 |
| PBEPARAM_free |
|
1 |
4 |
20 |
1 |
| PKCS5_pbe_set0_algor |
|
10 |
42 |
229 |
5 |
| PKCS5_pbe_set |
|
3 |
13 |
70 |
4 |
| Source file: ./lib/libcrypto/asn1/evp_asn1.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ASN1_TYPE_set_octetstring |
|
3 |
12 |
75 |
3 |
| ASN1_TYPE_get_octetstring |
|
4 |
18 |
110 |
3 |
| ASN1_TYPE_set_int_octetstring |
|
7 |
27 |
181 |
4 |
| ASN1_TYPE_get_int_octetstring |
|
8 |
26 |
174 |
4 |
| Source file: ./lib/libcrypto/asn1/tasn_dec.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ASN1_tag2bit |
|
3 |
6 |
30 |
1 |
| ASN1_item_d2i |
|
3 |
12 |
79 |
4 |
| ASN1_template_d2i |
|
1 |
7 |
48 |
4 |
| ASN1_item_ex_d2i |
|
64 |
226 |
1359 |
8 |
| asn1_template_ex_d2i |
|
10 |
52 |
287 |
6 |
| asn1_template_noexp_d2i |
|
21 |
100 |
558 |
6 |
| asn1_d2i_ex_primitive |
|
24 |
101 |
584 |
8 |
| asn1_ex_c2i |
|
47 |
121 |
626 |
6 |
| asn1_find_end |
|
8 |
37 |
177 |
3 |
| asn1_collect |
|
13 |
46 |
255 |
7 |
| collect_data |
|
3 |
14 |
76 |
3 |
| asn1_check_eoc |
|
4 |
12 |
60 |
2 |
| asn1_check_tlen |
|
17 |
62 |
362 |
11 |
| Source file: ./lib/libcrypto/asn1/tasn_prn.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ASN1_PCTX_new |
|
2 |
15 |
69 |
1 |
| ASN1_PCTX_free |
|
1 |
4 |
13 |
1 |
| ASN1_PCTX_get_flags |
|
1 |
4 |
13 |
1 |
| ASN1_PCTX_set_flags |
|
1 |
4 |
18 |
2 |
| ASN1_PCTX_get_nm_flags |
|
1 |
4 |
13 |
1 |
| ASN1_PCTX_set_nm_flags |
|
1 |
4 |
18 |
2 |
| ASN1_PCTX_get_cert_flags |
|
1 |
4 |
13 |
1 |
| ASN1_PCTX_set_cert_flags |
|
1 |
4 |
18 |
2 |
| ASN1_PCTX_get_oid_flags |
|
1 |
4 |
13 |
1 |
| ASN1_PCTX_set_oid_flags |
|
1 |
4 |
18 |
2 |
| ASN1_PCTX_get_str_flags |
|
1 |
4 |
13 |
1 |
| ASN1_PCTX_set_str_flags |
|
1 |
4 |
18 |
2 |
| ASN1_item_print |
|
3 |
13 |
81 |
5 |
| asn1_item_print_ctx |
|
47 |
115 |
709 |
8 |
| asn1_template_print_ctx |
|
17 |
51 |
350 |
5 |
| asn1_print_fsname |
|
15 |
35 |
208 |
5 |
| asn1_print_boolean_ctx |
|
4 |
18 |
71 |
3 |
| asn1_print_integer_ctx |
|
2 |
10 |
58 |
3 |
| asn1_print_oid_ctx |
|
3 |
12 |
81 |
3 |
| asn1_print_obstring_ctx |
|
6 |
15 |
104 |
4 |
| asn1_primitive_print |
|
30 |
90 |
524 |
7 |
| Source file: ./lib/libcrypto/asn1/d2i_pu.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| d2i_PublicKey |
|
14 |
46 |
255 |
4 |
| Source file: ./lib/libcrypto/asn1/a_enum.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ASN1_ENUMERATED_set |
|
7 |
32 |
213 |
2 |
| ASN1_ENUMERATED_get |
|
8 |
24 |
138 |
1 |
| BN_to_ASN1_ENUMERATED |
|
9 |
37 |
212 |
2 |
| ASN1_ENUMERATED_to_BN |
|
3 |
9 |
63 |
2 |
| Source file: ./lib/libcrypto/asn1/x_sig.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| d2i_X509_SIG |
|
1 |
5 |
38 |
3 |
| i2d_X509_SIG |
|
1 |
4 |
28 |
2 |
| X509_SIG_new |
|
1 |
4 |
17 |
1 |
| X509_SIG_free |
|
1 |
4 |
20 |
1 |
| Source file: ./lib/libcrypto/asn1/a_time_tm.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ASN1_time_tm_cmp |
|
13 |
28 |
203 |
2 |
| ASN1_time_tm_clamp_notafter |
|
4 |
10 |
63 |
1 |
| gentime_string_from_tm |
|
4 |
13 |
87 |
1 |
| utctime_string_from_tm |
|
4 |
11 |
84 |
1 |
| rfc5280_string_from_tm |
|
4 |
13 |
67 |
1 |
| ASN1_time_parse |
|
25 |
62 |
420 |
4 |
| ASN1_TIME_set_string_internal |
|
6 |
18 |
128 |
3 |
| ASN1_TIME_adj_internal |
|
14 |
54 |
259 |
5 |
| ASN1_TIME_set |
|
1 |
4 |
25 |
2 |
| ASN1_TIME_set_tm |
|
2 |
7 |
47 |
2 |
| ASN1_TIME_adj |
|
1 |
4 |
33 |
4 |
| ASN1_TIME_check |
|
3 |
6 |
51 |
1 |
| ASN1_TIME_to_generalizedtime |
|
8 |
25 |
183 |
2 |
| ASN1_TIME_set_string |
|
1 |
4 |
25 |
2 |
| ASN1_UTCTIME_check |
|
2 |
6 |
45 |
1 |
| ASN1_UTCTIME_set_string |
|
3 |
6 |
42 |
2 |
| ASN1_UTCTIME_set |
|
1 |
4 |
25 |
2 |
| ASN1_UTCTIME_adj |
|
1 |
5 |
33 |
4 |
| ASN1_UTCTIME_cmp_time_t |
|
3 |
9 |
74 |
2 |
| ASN1_GENERALIZEDTIME_check |
|
2 |
6 |
45 |
1 |
| ASN1_GENERALIZEDTIME_set_string |
|
3 |
6 |
42 |
2 |
| ASN1_GENERALIZEDTIME_set |
|
1 |
4 |
25 |
2 |
| ASN1_GENERALIZEDTIME_adj |
|
1 |
6 |
33 |
4 |
| Source file: ./lib/libcrypto/asn1/i2d_pu.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| i2d_PublicKey |
|
4 |
14 |
85 |
2 |
| Source file: ./lib/libcrypto/asn1/x_val.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| d2i_X509_VAL |
|
1 |
5 |
38 |
3 |
| i2d_X509_VAL |
|
1 |
4 |
28 |
2 |
| X509_VAL_new |
|
1 |
4 |
17 |
1 |
| X509_VAL_free |
|
1 |
4 |
20 |
1 |
| Source file: ./lib/libcrypto/asn1/t_x509.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| X509_print_fp |
|
1 |
4 |
24 |
2 |
| X509_print_ex_fp |
|
2 |
13 |
86 |
4 |
| X509_print |
|
1 |
4 |
24 |
2 |
| X509_print_ex |
|
46 |
126 |
863 |
4 |
| X509_ocspid_print |
|
10 |
37 |
271 |
2 |
| X509_signature_dump |
|
8 |
21 |
150 |
3 |
| X509_signature_print |
|
9 |
23 |
156 |
3 |
| ASN1_STRING_print |
|
11 |
27 |
192 |
2 |
| ASN1_TIME_print |
|
3 |
9 |
59 |
2 |
| ASN1_GENERALIZEDTIME_print |
|
20 |
47 |
482 |
2 |
| ASN1_UTCTIME_print |
|
16 |
37 |
396 |
2 |
| X509_NAME_print |
|
17 |
42 |
274 |
3 |
| Source file: ./lib/libcrypto/asn1/asn1_locl.h |
| Source file: ./lib/libcrypto/asn1/a_bool.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| i2d_ASN1_BOOLEAN |
|
2 |
13 |
83 |
2 |
| d2i_ASN1_BOOLEAN |
|
5 |
30 |
159 |
3 |
| Source file: ./lib/libcrypto/asn1/bio_ndef.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| BIO_new_NDEF |
|
7 |
34 |
226 |
3 |
| ndef_prefix |
|
3 |
18 |
124 |
4 |
| ndef_prefix_free |
|
2 |
12 |
68 |
4 |
| ndef_suffix_free |
|
2 |
9 |
62 |
4 |
| ndef_suffix |
|
4 |
28 |
203 |
4 |
| Source file: ./lib/libcrypto/asn1/a_time.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| d2i_ASN1_TIME |
|
1 |
5 |
38 |
3 |
| i2d_ASN1_TIME |
|
1 |
4 |
28 |
2 |
| ASN1_TIME_new |
|
1 |
4 |
17 |
1 |
| ASN1_TIME_free |
|
1 |
4 |
20 |
1 |
| Source file: ./lib/libcrypto/asn1/tasn_typ.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| d2i_ASN1_INTEGER |
|
1 |
5 |
38 |
3 |
| i2d_ASN1_INTEGER |
|
1 |
4 |
28 |
2 |
| ASN1_INTEGER_new |
|
1 |
4 |
17 |
1 |
| ASN1_INTEGER_free |
|
1 |
4 |
20 |
1 |
| d2i_ASN1_ENUMERATED |
|
1 |
5 |
38 |
3 |
| i2d_ASN1_ENUMERATED |
|
1 |
4 |
28 |
2 |
| ASN1_ENUMERATED_new |
|
1 |
4 |
17 |
1 |
| ASN1_ENUMERATED_free |
|
1 |
4 |
20 |
1 |
| d2i_ASN1_BIT_STRING |
|
1 |
5 |
38 |
3 |
| i2d_ASN1_BIT_STRING |
|
1 |
4 |
28 |
2 |
| ASN1_BIT_STRING_new |
|
1 |
4 |
17 |
1 |
| ASN1_BIT_STRING_free |
|
1 |
4 |
20 |
1 |
| d2i_ASN1_OCTET_STRING |
|
1 |
5 |
38 |
3 |
| i2d_ASN1_OCTET_STRING |
|
1 |
4 |
28 |
2 |
| ASN1_OCTET_STRING_new |
|
1 |
4 |
17 |
1 |
| ASN1_OCTET_STRING_free |
|
1 |
4 |
20 |
1 |
| d2i_ASN1_NULL |
|
1 |
5 |
38 |
3 |
| i2d_ASN1_NULL |
|
1 |
4 |
28 |
2 |
| ASN1_NULL_new |
|
1 |
4 |
17 |
1 |
| ASN1_NULL_free |
|
1 |
4 |
20 |
1 |
| d2i_ASN1_UTF8STRING |
|
1 |
5 |
38 |
3 |
| i2d_ASN1_UTF8STRING |
|
1 |
4 |
28 |
2 |
| ASN1_UTF8STRING_new |
|
1 |
4 |
17 |
1 |
| ASN1_UTF8STRING_free |
|
1 |
4 |
20 |
1 |
| d2i_ASN1_PRINTABLESTRING |
|
1 |
6 |
38 |
3 |
| i2d_ASN1_PRINTABLESTRING |
|
1 |
4 |
28 |
2 |
| ASN1_PRINTABLESTRING_new |
|
1 |
4 |
17 |
1 |
| ASN1_PRINTABLESTRING_free |
|
1 |
4 |
20 |
1 |
| d2i_ASN1_T61STRING |
|
1 |
5 |
38 |
3 |
| i2d_ASN1_T61STRING |
|
1 |
4 |
28 |
2 |
| ASN1_T61STRING_new |
|
1 |
4 |
17 |
1 |
| ASN1_T61STRING_free |
|
1 |
4 |
20 |
1 |
| d2i_ASN1_IA5STRING |
|
1 |
5 |
38 |
3 |
| i2d_ASN1_IA5STRING |
|
1 |
4 |
28 |
2 |
| ASN1_IA5STRING_new |
|
1 |
4 |
17 |
1 |
| ASN1_IA5STRING_free |
|
1 |
4 |
20 |
1 |
| d2i_ASN1_GENERALSTRING |
|
1 |
6 |
38 |
3 |
| i2d_ASN1_GENERALSTRING |
|
1 |
4 |
28 |
2 |
| ASN1_GENERALSTRING_new |
|
1 |
4 |
17 |
1 |
| ASN1_GENERALSTRING_free |
|
1 |
4 |
20 |
1 |
| d2i_ASN1_UTCTIME |
|
1 |
5 |
38 |
3 |
| i2d_ASN1_UTCTIME |
|
1 |
4 |
28 |
2 |
| ASN1_UTCTIME_new |
|
1 |
4 |
17 |
1 |
| ASN1_UTCTIME_free |
|
1 |
4 |
20 |
1 |
| d2i_ASN1_GENERALIZEDTIME |
|
1 |
6 |
38 |
3 |
| i2d_ASN1_GENERALIZEDTIME |
|
1 |
4 |
28 |
2 |
| ASN1_GENERALIZEDTIME_new |
|
1 |
4 |
17 |
1 |
| ASN1_GENERALIZEDTIME_free |
|
1 |
4 |
20 |
1 |
| d2i_ASN1_VISIBLESTRING |
|
1 |
6 |
38 |
3 |
| i2d_ASN1_VISIBLESTRING |
|
1 |
4 |
28 |
2 |
| ASN1_VISIBLESTRING_new |
|
1 |
4 |
17 |
1 |
| ASN1_VISIBLESTRING_free |
|
1 |
4 |
20 |
1 |
| d2i_ASN1_UNIVERSALSTRING |
|
1 |
6 |
38 |
3 |
| i2d_ASN1_UNIVERSALSTRING |
|
1 |
4 |
28 |
2 |
| ASN1_UNIVERSALSTRING_new |
|
1 |
4 |
17 |
1 |
| ASN1_UNIVERSALSTRING_free |
|
1 |
4 |
20 |
1 |
| d2i_ASN1_BMPSTRING |
|
1 |
5 |
38 |
3 |
| i2d_ASN1_BMPSTRING |
|
1 |
4 |
28 |
2 |
| ASN1_BMPSTRING_new |
|
1 |
4 |
17 |
1 |
| ASN1_BMPSTRING_free |
|
1 |
4 |
20 |
1 |
| d2i_ASN1_TYPE |
|
1 |
5 |
38 |
3 |
| i2d_ASN1_TYPE |
|
1 |
4 |
28 |
2 |
| ASN1_TYPE_new |
|
1 |
4 |
17 |
1 |
| ASN1_TYPE_free |
|
1 |
4 |
20 |
1 |
| d2i_ASN1_PRINTABLE |
|
1 |
5 |
38 |
3 |
| i2d_ASN1_PRINTABLE |
|
1 |
4 |
28 |
2 |
| ASN1_PRINTABLE_new |
|
1 |
4 |
17 |
1 |
| ASN1_PRINTABLE_free |
|
1 |
4 |
20 |
1 |
| d2i_DISPLAYTEXT |
|
1 |
5 |
38 |
3 |
| i2d_DISPLAYTEXT |
|
1 |
4 |
28 |
2 |
| DISPLAYTEXT_new |
|
1 |
4 |
17 |
1 |
| DISPLAYTEXT_free |
|
1 |
4 |
20 |
1 |
| d2i_DIRECTORYSTRING |
|
1 |
5 |
38 |
3 |
| i2d_DIRECTORYSTRING |
|
1 |
4 |
28 |
2 |
| DIRECTORYSTRING_new |
|
1 |
4 |
17 |
1 |
| DIRECTORYSTRING_free |
|
1 |
4 |
20 |
1 |
| d2i_ASN1_SEQUENCE_ANY |
|
1 |
5 |
38 |
3 |
| i2d_ASN1_SEQUENCE_ANY |
|
1 |
4 |
29 |
2 |
| d2i_ASN1_SET_ANY |
|
1 |
5 |
38 |
3 |
| i2d_ASN1_SET_ANY |
|
1 |
4 |
29 |
2 |
| Source file: ./lib/libcrypto/asn1/t_bitst.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ASN1_BIT_STRING_name_print |
|
4 |
17 |
102 |
4 |
| ASN1_BIT_STRING_set_asc |
|
4 |
13 |
64 |
4 |
| ASN1_BIT_STRING_num_asc |
|
4 |
10 |
62 |
2 |
| Source file: ./lib/libcrypto/asn1/a_octet.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ASN1_OCTET_STRING_dup |
|
1 |
4 |
15 |
1 |
| ASN1_OCTET_STRING_cmp |
|
1 |
4 |
22 |
2 |
| ASN1_OCTET_STRING_set |
|
1 |
4 |
27 |
3 |
| Source file: ./lib/libcrypto/asn1/asn1_mac.h |
| Source file: ./lib/libcrypto/asn1/a_object.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| i2d_ASN1_OBJECT |
|
4 |
16 |
114 |
2 |
| a2d_ASN1_OBJECT |
|
41 |
116 |
672 |
4 |
| i2t_ASN1_OBJECT |
|
1 |
4 |
27 |
3 |
| i2a_ASN1_OBJECT |
|
7 |
24 |
184 |
2 |
| d2i_ASN1_OBJECT |
|
4 |
25 |
132 |
3 |
| c2i_ASN1_OBJECT |
|
18 |
48 |
330 |
3 |
| ASN1_OBJECT_new |
|
2 |
16 |
79 |
1 |
| ASN1_OBJECT_free |
|
5 |
17 |
108 |
1 |
| ASN1_OBJECT_create |
|
1 |
13 |
77 |
5 |
| Source file: ./lib/libcrypto/asn1/tasn_enc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ASN1_item_ndef_i2d |
|
1 |
4 |
30 |
3 |
| ASN1_item_i2d |
|
1 |
4 |
30 |
3 |
| asn1_item_flags_i2d |
|
5 |
19 |
128 |
4 |
| ASN1_item_ex_i2d |
|
32 |
89 |
619 |
5 |
| ASN1_template_i2d |
|
1 |
5 |
33 |
3 |
| asn1_template_ex_i2d |
|
23 |
88 |
535 |
5 |
| der_cmp |
|
3 |
10 |
82 |
2 |
| asn1_set_seq_out |
|
11 |
50 |
380 |
6 |
| asn1_i2d_ex_primitive |
|
11 |
35 |
193 |
5 |
| asn1_ex_i2c |
|
43 |
98 |
507 |
4 |
| Source file: ./lib/libcrypto/asn1/x_spki.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| d2i_NETSCAPE_SPKAC |
|
1 |
5 |
38 |
3 |
| i2d_NETSCAPE_SPKAC |
|
1 |
4 |
28 |
2 |
| NETSCAPE_SPKAC_new |
|
1 |
4 |
17 |
1 |
| NETSCAPE_SPKAC_free |
|
1 |
4 |
20 |
1 |
| d2i_NETSCAPE_SPKI |
|
1 |
5 |
38 |
3 |
| i2d_NETSCAPE_SPKI |
|
1 |
4 |
28 |
2 |
| NETSCAPE_SPKI_new |
|
1 |
4 |
17 |
1 |
| NETSCAPE_SPKI_free |
|
1 |
4 |
20 |
1 |
| Source file: ./lib/libcrypto/asn1/x_pubkey.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pubkey_cb |
|
2 |
8 |
49 |
4 |
| d2i_X509_PUBKEY |
|
1 |
5 |
38 |
3 |
| i2d_X509_PUBKEY |
|
1 |
4 |
28 |
2 |
| X509_PUBKEY_new |
|
1 |
4 |
17 |
1 |
| X509_PUBKEY_free |
|
1 |
4 |
20 |
1 |
| X509_PUBKEY_set |
|
8 |
30 |
145 |
2 |
| X509_PUBKEY_get |
|
9 |
43 |
227 |
1 |
| d2i_PUBKEY |
|
4 |
17 |
84 |
3 |
| i2d_PUBKEY |
|
3 |
12 |
61 |
2 |
| d2i_RSA_PUBKEY |
|
4 |
20 |
101 |
3 |
| i2d_RSA_PUBKEY |
|
3 |
16 |
73 |
2 |
| d2i_DSA_PUBKEY |
|
4 |
20 |
101 |
3 |
| i2d_DSA_PUBKEY |
|
3 |
16 |
73 |
2 |
| d2i_EC_PUBKEY |
|
4 |
20 |
107 |
3 |
| i2d_EC_PUBKEY |
|
3 |
15 |
80 |
2 |
| X509_PUBKEY_set0_param |
|
3 |
14 |
100 |
6 |
| X509_PUBKEY_get0_param |
|
4 |
13 |
77 |
5 |
| Source file: ./lib/libcrypto/asn1/t_spki.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| NETSCAPE_SPKI_print |
|
8 |
34 |
265 |
2 |
| Source file: ./lib/libcrypto/asn1/p5_pbev2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| d2i_PBE2PARAM |
|
1 |
5 |
38 |
3 |
| i2d_PBE2PARAM |
|
1 |
4 |
28 |
2 |
| PBE2PARAM_new |
|
1 |
4 |
17 |
1 |
| PBE2PARAM_free |
|
1 |
4 |
20 |
1 |
| d2i_PBKDF2PARAM |
|
1 |
5 |
38 |
3 |
| i2d_PBKDF2PARAM |
|
1 |
4 |
28 |
2 |
| PBKDF2PARAM_new |
|
1 |
4 |
17 |
1 |
| PBKDF2PARAM_free |
|
1 |
4 |
20 |
1 |
| PKCS5_pbe2_set_iv |
|
15 |
68 |
437 |
6 |
| PKCS5_pbe2_set |
|
1 |
5 |
37 |
4 |
| PKCS5_pbkdf2_set |
|
17 |
56 |
350 |
5 |
| Source file: ./lib/libcrypto/asn1/asn1t.h |
| Source file: ./lib/libcrypto/asn1/asn1_lib.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _asn1_check_infinite_end |
|
5 |
10 |
76 |
2 |
| ASN1_check_infinite_end |
|
1 |
4 |
26 |
2 |
| ASN1_const_check_infinite_end |
|
1 |
4 |
21 |
2 |
| ASN1_get_object |
|
13 |
53 |
309 |
5 |
| asn1_get_length |
|
10 |
36 |
197 |
4 |
| ASN1_put_object |
|
7 |
28 |
183 |
5 |
| ASN1_put_eoc |
|
1 |
8 |
37 |
1 |
| asn1_put_length |
|
4 |
20 |
114 |
2 |
| ASN1_object_size |
|
6 |
22 |
90 |
3 |
| _asn1_Finish |
|
8 |
15 |
116 |
1 |
| asn1_Finish |
|
1 |
4 |
18 |
1 |
| asn1_const_Finish |
|
1 |
4 |
14 |
1 |
| asn1_GetSequence |
|
6 |
24 |
184 |
2 |
| ASN1_STRING_copy |
|
3 |
10 |
60 |
2 |
| ASN1_STRING_dup |
|
4 |
14 |
58 |
1 |
| ASN1_STRING_set |
|
7 |
25 |
153 |
3 |
| ASN1_STRING_set0 |
|
1 |
6 |
38 |
3 |
| ASN1_STRING_new |
|
1 |
4 |
14 |
1 |
| ASN1_STRING_type_new |
|
2 |
14 |
68 |
1 |
| ASN1_STRING_free |
|
4 |
8 |
49 |
1 |
| ASN1_STRING_cmp |
|
3 |
13 |
83 |
2 |
| asn1_add_error |
|
1 |
4 |
20 |
2 |
| ASN1_STRING_length |
|
1 |
4 |
16 |
1 |
| ASN1_STRING_length_set |
|
1 |
4 |
17 |
2 |
| ASN1_STRING_type |
|
1 |
4 |
15 |
1 |
| ASN1_STRING_data |
|
1 |
4 |
15 |
1 |
| Source file: ./lib/libcrypto/asn1/nsseq.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| nsseq_cb |
|
2 |
9 |
53 |
4 |
| d2i_NETSCAPE_CERT_SEQUENCE |
|
1 |
5 |
38 |
3 |
| i2d_NETSCAPE_CERT_SEQUENCE |
|
1 |
4 |
28 |
2 |
| NETSCAPE_CERT_SEQUENCE_new |
|
1 |
4 |
17 |
1 |
| NETSCAPE_CERT_SEQUENCE_free |
|
1 |
4 |
20 |
1 |
| Source file: ./lib/libcrypto/asn1/tasn_utl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| asn1_get_choice_selector |
|
1 |
5 |
31 |
2 |
| asn1_set_choice_selector |
|
1 |
8 |
47 |
3 |
| asn1_do_lock |
|
6 |
18 |
115 |
3 |
| asn1_get_enc_ptr |
|
5 |
10 |
64 |
2 |
| asn1_enc_init |
|
2 |
10 |
50 |
2 |
| asn1_enc_free |
|
2 |
11 |
57 |
2 |
| asn1_enc_save |
|
3 |
16 |
95 |
4 |
| asn1_enc_restore |
|
5 |
15 |
88 |
4 |
| asn1_get_field_ptr |
|
2 |
8 |
43 |
2 |
| asn1_do_adb |
|
9 |
31 |
195 |
3 |
| Source file: ./lib/libcrypto/asn1/a_dup.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ASN1_dup |
|
3 |
21 |
124 |
3 |
| ASN1_item_dup |
|
3 |
18 |
102 |
2 |
| Source file: ./lib/libcrypto/asn1/ameth_lib.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ameth_cmp |
|
1 |
5 |
35 |
2 |
| ameth_cmp_BSEARCH_CMP_FN |
|
1 |
6 |
40 |
2 |
| OBJ_bsearch_ameth |
|
1 |
5 |
45 |
3 |
| EVP_PKEY_asn1_get_count |
|
2 |
7 |
34 |
1 |
| EVP_PKEY_asn1_get0 |
|
3 |
10 |
54 |
1 |
| pkey_asn1_find |
|
5 |
17 |
97 |
1 |
| EVP_PKEY_asn1_find |
|
6 |
20 |
96 |
2 |
| EVP_PKEY_asn1_find_str |
|
9 |
28 |
164 |
3 |
| EVP_PKEY_asn1_add0 |
|
4 |
12 |
53 |
1 |
| EVP_PKEY_asn1_add_alias |
|
3 |
13 |
62 |
2 |
| EVP_PKEY_asn1_get0_info |
|
7 |
18 |
97 |
6 |
| EVP_PKEY_get0_asn1 |
|
1 |
4 |
13 |
1 |
| EVP_PKEY_asn1_new |
|
6 |
47 |
267 |
4 |
| EVP_PKEY_asn1_copy |
|
1 |
24 |
181 |
2 |
| EVP_PKEY_asn1_free |
|
3 |
8 |
41 |
1 |
| EVP_PKEY_asn1_set_public |
|
1 |
16 |
139 |
7 |
| EVP_PKEY_asn1_set_private |
|
1 |
10 |
80 |
4 |
| EVP_PKEY_asn1_set_param |
|
1 |
16 |
149 |
7 |
| EVP_PKEY_asn1_set_free |
|
1 |
5 |
25 |
2 |
| EVP_PKEY_asn1_set_ctrl |
|
1 |
5 |
35 |
2 |
| Source file: ./lib/libcrypto/asn1/tasn_fre.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ASN1_item_free |
|
1 |
4 |
23 |
2 |
| ASN1_item_ex_free |
|
1 |
4 |
22 |
2 |
| asn1_item_combine_free |
|
27 |
74 |
437 |
3 |
| ASN1_template_free |
|
3 |
17 |
112 |
2 |
| ASN1_primitive_free |
|
15 |
48 |
236 |
2 |
| Source file: ./lib/libcrypto/asn1/asn_moid.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| oid_module_init |
|
4 |
20 |
117 |
2 |
| oid_module_finish |
|
1 |
4 |
12 |
1 |
| ASN1_add_oid_module |
|
1 |
4 |
15 |
1 |
| do_create |
|
10 |
41 |
228 |
2 |
| Source file: ./lib/libcrypto/asn1/asn_pack.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ASN1_seq_unpack |
|
2 |
11 |
76 |
4 |
| ASN1_seq_pack |
|
5 |
23 |
130 |
4 |
| ASN1_unpack_string |
|
2 |
9 |
55 |
2 |
| ASN1_pack_string |
|
10 |
32 |
170 |
3 |
| ASN1_item_pack |
|
9 |
28 |
152 |
3 |
| ASN1_item_unpack |
|
2 |
9 |
58 |
2 |
| Source file: ./lib/libcrypto/asn1/d2i_pr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| d2i_PrivateKey |
|
13 |
42 |
243 |
4 |
| d2i_AutoPrivateKey |
|
6 |
31 |
178 |
3 |
| Source file: ./lib/libcrypto/asn1/a_set.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| SetBlobCmp |
|
3 |
11 |
88 |
2 |
| i2d_ASN1_SET |
|
11 |
53 |
413 |
6 |
| d2i_ASN1_SET |
|
18 |
58 |
409 |
7 |
| Source file: ./lib/libcrypto/asn1/a_strex.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| send_bio_chars |
|
3 |
8 |
43 |
3 |
| send_fp_chars |
|
3 |
8 |
51 |
3 |
| do_esc_char |
|
19 |
53 |
336 |
5 |
| do_buf |
|
19 |
67 |
411 |
7 |
| do_hex_dump |
|
4 |
18 |
119 |
4 |
| do_dump |
|
6 |
27 |
187 |
4 |
| do_print_ex |
|
22 |
59 |
372 |
4 |
| do_indent |
|
3 |
8 |
49 |
3 |
| do_name_ex |
|
28 |
124 |
660 |
5 |
| X509_NAME_print_ex |
|
2 |
6 |
49 |
4 |
| X509_NAME_print_ex_fp |
|
3 |
14 |
85 |
4 |
| ASN1_STRING_print_ex |
|
1 |
4 |
28 |
3 |
| ASN1_STRING_print_ex_fp |
|
1 |
4 |
28 |
3 |
| ASN1_STRING_to_UTF8 |
|
6 |
22 |
137 |
2 |
| Source file: ./lib/libcrypto/asn1/bio_asn1.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| BIO_f_asn1 |
|
1 |
4 |
12 |
1 |
| asn1_bio_new |
|
3 |
15 |
75 |
1 |
| asn1_bio_init |
|
2 |
17 |
93 |
2 |
| asn1_bio_free |
|
2 |
13 |
64 |
1 |
| asn1_bio_write |
|
22 |
76 |
419 |
3 |
| asn1_bio_flush_ex |
|
6 |
25 |
133 |
4 |
| asn1_bio_setup_ex |
|
4 |
13 |
81 |
5 |
| asn1_bio_read |
|
2 |
6 |
37 |
3 |
| asn1_bio_puts |
|
1 |
4 |
26 |
2 |
| asn1_bio_gets |
|
2 |
6 |
37 |
3 |
| asn1_bio_callback_ctrl |
|
2 |
6 |
40 |
3 |
| asn1_bio_ctrl |
|
16 |
63 |
325 |
4 |
| asn1_bio_set_ex |
|
1 |
8 |
47 |
4 |
| asn1_bio_get_ex |
|
2 |
12 |
64 |
4 |
| BIO_asn1_set_prefix |
|
1 |
4 |
28 |
3 |
| BIO_asn1_get_prefix |
|
1 |
4 |
28 |
3 |
| BIO_asn1_set_suffix |
|
1 |
4 |
28 |
3 |
| BIO_asn1_get_suffix |
|
1 |
4 |
28 |
3 |
| Source file: ./lib/libcrypto/asn1/a_i2d_fp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ASN1_i2d_fp |
|
2 |
13 |
80 |
3 |
| ASN1_i2d_bio |
|
5 |
27 |
154 |
3 |
| ASN1_item_i2d_fp |
|
2 |
13 |
81 |
3 |
| ASN1_item_i2d_bio |
|
5 |
23 |
131 |
3 |
| Source file: ./lib/libcrypto/asn1/asn_mime.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| i2d_ASN1_bio_stream |
|
4 |
22 |
121 |
5 |
| B64_write_ASN1 |
|
2 |
17 |
100 |
5 |
| PEM_write_bio_ASN1_stream |
|
1 |
9 |
68 |
6 |
| b64_read_asn1 |
|
3 |
17 |
98 |
2 |
| asn1_write_micalg |
|
14 |
58 |
280 |
2 |
| SMIME_write_ASN1 |
|
15 |
79 |
521 |
8 |
| asn1_output_data |
|
8 |
30 |
203 |
5 |
| SMIME_read_ASN1 |
|
20 |
82 |
512 |
3 |
| SMIME_crlf_copy |
|
8 |
29 |
183 |
3 |
| SMIME_text |
|
7 |
28 |
175 |
2 |
| multi_split |
|
13 |
47 |
284 |
3 |
| mime_parse_hdr |
|
31 |
102 |
525 |
1 |
| strip_ends |
|
1 |
4 |
17 |
1 |
| strip_start |
|
5 |
14 |
73 |
1 |
| strip_end |
|
6 |
20 |
99 |
1 |
| mime_hdr_new |
|
9 |
31 |
194 |
2 |
| mime_hdr_addparam |
|
8 |
31 |
172 |
3 |
| mime_hdr_cmp |
|
3 |
6 |
75 |
2 |
| mime_param_cmp |
|
3 |
6 |
75 |
2 |
| mime_hdr_find |
|
2 |
10 |
54 |
2 |
| mime_param_find |
|
2 |
10 |
55 |
2 |
| mime_hdr_free |
|
2 |
8 |
42 |
1 |
| mime_param_free |
|
1 |
6 |
27 |
1 |
| mime_bound_check |
|
7 |
16 |
109 |
4 |
| strip_eol |
|
4 |
15 |
83 |
2 |
| Source file: ./lib/libcrypto/asn1/a_utf8.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| UTF8_getc |
|
23 |
58 |
440 |
3 |
| UTF8_putc |
|
14 |
44 |
359 |
3 |
| Source file: ./lib/libcrypto/asn1/t_crl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| X509_CRL_print_fp |
|
2 |
13 |
74 |
2 |
| X509_CRL_print |
|
7 |
49 |
347 |
2 |
| Source file: ./lib/libcrypto/asn1/n_pkey.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| d2i_NETSCAPE_ENCRYPTED_PKEY |
|
1 |
5 |
38 |
3 |
| i2d_NETSCAPE_ENCRYPTED_PKEY |
|
1 |
4 |
29 |
2 |
| NETSCAPE_ENCRYPTED_PKEY_new |
|
1 |
4 |
17 |
1 |
| NETSCAPE_ENCRYPTED_PKEY_free |
|
1 |
4 |
20 |
1 |
| d2i_NETSCAPE_PKEY |
|
1 |
5 |
38 |
3 |
| i2d_NETSCAPE_PKEY |
|
1 |
4 |
29 |
2 |
| NETSCAPE_PKEY_new |
|
1 |
4 |
17 |
1 |
| NETSCAPE_PKEY_free |
|
1 |
4 |
20 |
1 |
| i2d_Netscape_RSA |
|
1 |
5 |
48 |
3 |
| i2d_RSA_NET |
|
18 |
85 |
660 |
4 |
| d2i_Netscape_RSA |
|
1 |
5 |
53 |
4 |
| d2i_RSA_NET |
|
7 |
31 |
203 |
5 |
| d2i_RSA_NET_2 |
|
10 |
49 |
389 |
4 |
| Source file: ./lib/libcrypto/asn1/x_bignum.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bn_new |
|
2 |
8 |
36 |
2 |
| bn_free |
|
2 |
7 |
37 |
2 |
| bn_i2c |
|
5 |
19 |
107 |
4 |
| bn_c2i |
|
4 |
15 |
92 |
6 |
| Source file: ./lib/libcrypto/asn1/x_req.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rinf_cb |
|
3 |
10 |
60 |
4 |
| d2i_X509_REQ_INFO |
|
1 |
5 |
38 |
3 |
| i2d_X509_REQ_INFO |
|
1 |
4 |
28 |
2 |
| X509_REQ_INFO_new |
|
1 |
4 |
17 |
1 |
| X509_REQ_INFO_free |
|
1 |
4 |
20 |
1 |
| d2i_X509_REQ |
|
1 |
5 |
38 |
3 |
| i2d_X509_REQ |
|
1 |
4 |
28 |
2 |
| X509_REQ_new |
|
1 |
4 |
17 |
1 |
| X509_REQ_free |
|
1 |
4 |
20 |
1 |
| X509_REQ_dup |
|
1 |
4 |
17 |
1 |
| Source file: ./lib/libcrypto/asn1/f_string.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| i2a_ASN1_STRING |
|
9 |
29 |
218 |
3 |
| a2i_ASN1_STRING |
|
28 |
87 |
568 |
4 |
| Source file: ./lib/libcrypto/asn1/f_enum.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| i2a_ASN1_ENUMERATED |
|
9 |
29 |
215 |
2 |
| a2i_ASN1_ENUMERATED |
|
30 |
90 |
599 |
4 |
| Source file: ./lib/libcrypto/asn1/a_verify.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ASN1_item_verify |
|
15 |
70 |
395 |
5 |
| Source file: ./lib/libcrypto/asn1/a_type.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ASN1_TYPE_get |
|
3 |
7 |
41 |
1 |
| ASN1_TYPE_set |
|
4 |
12 |
78 |
3 |
| ASN1_TYPE_set1 |
|
6 |
20 |
119 |
3 |
| ASN1_TYPE_cmp |
|
27 |
42 |
188 |
2 |
| Source file: ./lib/libcrypto/asn1/x_exten.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| d2i_X509_EXTENSION |
|
1 |
5 |
38 |
3 |
| i2d_X509_EXTENSION |
|
1 |
4 |
28 |
2 |
| X509_EXTENSION_new |
|
1 |
4 |
17 |
1 |
| X509_EXTENSION_free |
|
1 |
4 |
20 |
1 |
| d2i_X509_EXTENSIONS |
|
1 |
5 |
38 |
3 |
| i2d_X509_EXTENSIONS |
|
1 |
4 |
28 |
2 |
| X509_EXTENSION_dup |
|
1 |
4 |
17 |
1 |
| Source file: ./lib/libcrypto/asn1/x_x509a.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| d2i_X509_CERT_AUX |
|
1 |
5 |
38 |
3 |
| i2d_X509_CERT_AUX |
|
1 |
4 |
28 |
2 |
| X509_CERT_AUX_new |
|
1 |
4 |
17 |
1 |
| X509_CERT_AUX_free |
|
1 |
4 |
20 |
1 |
| aux_get |
|
3 |
8 |
42 |
1 |
| X509_alias_set1 |
|
7 |
16 |
115 |
3 |
| X509_keyid_set1 |
|
7 |
16 |
115 |
3 |
| X509_alias_get0 |
|
4 |
8 |
53 |
2 |
| X509_keyid_get0 |
|
4 |
8 |
53 |
2 |
| X509_add1_trust_object |
|
5 |
18 |
104 |
2 |
| X509_add1_reject_object |
|
5 |
18 |
104 |
2 |
| X509_trust_clear |
|
3 |
7 |
41 |
1 |
| X509_reject_clear |
|
3 |
7 |
41 |
1 |
| d2i_X509_CERT_PAIR |
|
1 |
5 |
38 |
3 |
| i2d_X509_CERT_PAIR |
|
1 |
4 |
28 |
2 |
| X509_CERT_PAIR_new |
|
1 |
4 |
17 |
1 |
| X509_CERT_PAIR_free |
|
1 |
4 |
20 |
1 |
| Source file: ./lib/libcrypto/asn1/x_algor.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| d2i_X509_ALGOR |
|
1 |
5 |
38 |
3 |
| i2d_X509_ALGOR |
|
1 |
4 |
28 |
2 |
| X509_ALGOR_new |
|
1 |
4 |
17 |
1 |
| X509_ALGOR_free |
|
1 |
4 |
20 |
1 |
| d2i_X509_ALGORS |
|
1 |
5 |
38 |
3 |
| i2d_X509_ALGORS |
|
1 |
4 |
28 |
2 |
| X509_ALGOR_dup |
|
1 |
4 |
17 |
1 |
| X509_ALGOR_set0 |
|
10 |
26 |
140 |
4 |
| X509_ALGOR_get0 |
|
5 |
15 |
79 |
4 |
| X509_ALGOR_set_md |
|
2 |
9 |
50 |
2 |
| X509_ALGOR_cmp |
|
4 |
11 |
70 |
2 |
| Source file: ./lib/libcrypto/asn1/x_nx509.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| d2i_NETSCAPE_X509 |
|
1 |
5 |
38 |
3 |
| i2d_NETSCAPE_X509 |
|
1 |
4 |
28 |
2 |
| NETSCAPE_X509_new |
|
1 |
4 |
17 |
1 |
| NETSCAPE_X509_free |
|
1 |
4 |
20 |
1 |
| Source file: ./lib/libcrypto/asn1/a_sign.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ASN1_item_sign |
|
2 |
11 |
88 |
7 |
| ASN1_item_sign_ctx |
|
18 |
73 |
454 |
6 |
| Source file: ./lib/libcrypto/asn1/x_attrib.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| d2i_X509_ATTRIBUTE |
|
1 |
5 |
38 |
3 |
| i2d_X509_ATTRIBUTE |
|
1 |
4 |
28 |
2 |
| X509_ATTRIBUTE_new |
|
1 |
4 |
17 |
1 |
| X509_ATTRIBUTE_free |
|
1 |
4 |
20 |
1 |
| X509_ATTRIBUTE_dup |
|
1 |
4 |
17 |
1 |
| X509_ATTRIBUTE_create |
|
7 |
23 |
152 |
3 |
| Source file: ./lib/libcrypto/asn1/x_crl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| crl_inf_cb |
|
4 |
12 |
70 |
4 |
| crl_set_issuers |
|
14 |
54 |
308 |
1 |
| crl_cb |
|
20 |
73 |
446 |
4 |
| setup_idp |
|
9 |
31 |
189 |
2 |
| d2i_X509_REVOKED |
|
1 |
5 |
38 |
3 |
| i2d_X509_REVOKED |
|
1 |
4 |
28 |
2 |
| X509_REVOKED_new |
|
1 |
4 |
17 |
1 |
| X509_REVOKED_free |
|
1 |
4 |
20 |
1 |
| d2i_X509_CRL_INFO |
|
1 |
5 |
38 |
3 |
| i2d_X509_CRL_INFO |
|
1 |
4 |
28 |
2 |
| X509_CRL_INFO_new |
|
1 |
4 |
17 |
1 |
| X509_CRL_INFO_free |
|
1 |
4 |
20 |
1 |
| d2i_X509_CRL |
|
1 |
5 |
38 |
3 |
| i2d_X509_CRL |
|
1 |
4 |
28 |
2 |
| X509_CRL_new |
|
1 |
4 |
17 |
1 |
| X509_CRL_free |
|
1 |
4 |
20 |
1 |
| X509_CRL_dup |
|
1 |
4 |
17 |
1 |
| X509_REVOKED_cmp |
|
1 |
6 |
46 |
2 |
| X509_CRL_add0_revoked |
|
4 |
13 |
76 |
2 |
| X509_CRL_verify |
|
2 |
6 |
35 |
2 |
| X509_CRL_get0_by_serial |
|
2 |
7 |
43 |
3 |
| X509_CRL_get0_by_cert |
|
2 |
7 |
49 |
3 |
| def_crl_verify |
|
1 |
5 |
35 |
2 |
| crl_revoked_issuer_match |
|
8 |
21 |
130 |
3 |
| def_crl_lookup |
|
8 |
28 |
176 |
4 |
| X509_CRL_set_default_method |
|
2 |
7 |
25 |
1 |
| X509_CRL_METHOD_new |
|
2 |
17 |
119 |
4 |
| X509_CRL_METHOD_free |
|
2 |
6 |
26 |
1 |
| X509_CRL_set_meth_data |
|
1 |
4 |
18 |
2 |
| X509_CRL_get_meth_data |
|
1 |
4 |
13 |
1 |
| Source file: ./lib/libcrypto/asn1/a_digest.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ASN1_item_digest |
|
3 |
13 |
91 |
5 |
| Source file: ./lib/libcrypto/asn1/charmap.h |
| Source file: ./lib/libcrypto/asn1/i2d_pr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| i2d_PrivateKey |
|
5 |
14 |
91 |
2 |
| Source file: ./lib/libcrypto/asn1/asn1_gen.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ASN1_generate_nconf |
|
2 |
8 |
45 |
2 |
| ASN1_generate_v3 |
|
19 |
85 |
562 |
2 |
| asn1_cb |
|
27 |
84 |
506 |
3 |
| parse_tagging |
|
12 |
42 |
183 |
4 |
| asn1_multi |
|
14 |
48 |
290 |
3 |
| append_exp |
|
5 |
26 |
153 |
6 |
| asn1_str2tag |
|
5 |
64 |
449 |
2 |
| asn1_str2type |
|
46 |
151 |
754 |
3 |
| bitstr_cb |
|
7 |
19 |
102 |
3 |
| Source file: ./lib/libcrypto/asn1/t_pkey.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ASN1_bn_print |
|
18 |
45 |
339 |
5 |
| Source file: ./lib/libcrypto/asn1/a_bytes.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| d2i_ASN1_type_bytes |
|
13 |
53 |
319 |
4 |
| i2d_ASN1_bytes |
|
6 |
23 |
157 |
4 |
| d2i_ASN1_bytes |
|
16 |
71 |
422 |
5 |
| asn1_collate_primitive |
|
10 |
51 |
327 |
2 |
| Source file: ./lib/libcrypto/asn1/f_int.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| i2a_ASN1_INTEGER |
|
11 |
34 |
245 |
2 |
| a2i_ASN1_INTEGER |
|
30 |
89 |
600 |
4 |
| Source file: ./lib/libcrypto/asn1/p8_pkey.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pkey_cb |
|
5 |
12 |
91 |
4 |
| d2i_PKCS8_PRIV_KEY_INFO |
|
1 |
5 |
38 |
3 |
| i2d_PKCS8_PRIV_KEY_INFO |
|
1 |
4 |
28 |
2 |
| PKCS8_PRIV_KEY_INFO_new |
|
1 |
4 |
17 |
1 |
| PKCS8_PRIV_KEY_INFO_free |
|
1 |
4 |
20 |
1 |
| PKCS8_pkey_set0 |
|
8 |
30 |
167 |
7 |
| PKCS8_pkey_get0 |
|
7 |
23 |
158 |
5 |
| Source file: ./lib/libcrypto/asn1/t_req.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| X509_REQ_print_fp |
|
2 |
13 |
74 |
2 |
| X509_REQ_print_ex |
|
47 |
156 |
1024 |
4 |
| X509_REQ_print |
|
1 |
4 |
24 |
2 |
| Source file: ./lib/libcrypto/asn1/x_x509.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| d2i_X509_CINF |
|
1 |
5 |
38 |
3 |
| i2d_X509_CINF |
|
1 |
4 |
28 |
2 |
| X509_CINF_new |
|
1 |
4 |
17 |
1 |
| X509_CINF_free |
|
1 |
4 |
20 |
1 |
| x509_cb |
|
4 |
34 |
214 |
4 |
| d2i_X509 |
|
1 |
5 |
38 |
3 |
| i2d_X509 |
|
1 |
4 |
28 |
2 |
| X509_new |
|
1 |
4 |
17 |
1 |
| X509_free |
|
1 |
4 |
20 |
1 |
| X509_dup |
|
1 |
4 |
17 |
1 |
| X509_get_ex_new_index |
|
1 |
6 |
39 |
5 |
| X509_set_ex_data |
|
1 |
4 |
30 |
3 |
| X509_get_ex_data |
|
1 |
4 |
24 |
2 |
| d2i_X509_AUX |
|
5 |
22 |
116 |
3 |
| i2d_X509_AUX |
|
2 |
8 |
43 |
2 |
| Source file: ./lib/libcrypto/asn1/a_mbstr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ASN1_mbstring_copy |
|
1 |
5 |
42 |
5 |
| ASN1_mbstring_ncopy |
|
33 |
141 |
699 |
7 |
| traverse_string |
|
11 |
43 |
225 |
5 |
| in_utf8 |
|
1 |
7 |
29 |
2 |
| out_utf8 |
|
2 |
11 |
52 |
2 |
| type_str |
|
10 |
17 |
124 |
2 |
| cpy_asc |
|
1 |
9 |
43 |
2 |
| cpy_bmp |
|
1 |
10 |
57 |
2 |
| cpy_univ |
|
1 |
12 |
83 |
2 |
| cpy_utf8 |
|
1 |
9 |
44 |
2 |
| is_printable |
|
10 |
16 |
99 |
1 |
| Source file: ./lib/libcrypto/asn1/a_bitstr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ASN1_BIT_STRING_set |
|
1 |
4 |
26 |
3 |
| i2c_ASN1_BIT_STRING |
|
16 |
50 |
294 |
2 |
| c2i_ASN1_BIT_STRING |
|
11 |
45 |
287 |
3 |
| ASN1_BIT_STRING_set_bit |
|
10 |
30 |
248 |
3 |
| ASN1_BIT_STRING_get_bit |
|
4 |
9 |
86 |
2 |
| ASN1_BIT_STRING_check |
|
6 |
12 |
90 |
3 |
| Source file: ./lib/libcrypto/x509v3/v3_ia5.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| i2s_ASN1_IA5STRING |
|
4 |
13 |
80 |
2 |
| s2i_ASN1_IA5STRING |
|
4 |
19 |
96 |
3 |
| Source file: ./lib/libcrypto/x509v3/ext_dat.h |
| Source file: ./lib/libcrypto/asn1/a_int.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ASN1_INTEGER_dup |
|
1 |
4 |
15 |
1 |
| ASN1_INTEGER_cmp |
|
4 |
16 |
74 |
2 |
| i2c_ASN1_INTEGER |
|
16 |
55 |
349 |
2 |
| c2i_ASN1_INTEGER |
|
18 |
66 |
404 |
3 |
| d2i_ASN1_UINTEGER |
|
13 |
50 |
290 |
3 |
| ASN1_INTEGER_set |
|
7 |
32 |
213 |
2 |
| ASN1_INTEGER_get |
|
8 |
24 |
139 |
1 |
| BN_to_ASN1_INTEGER |
|
9 |
37 |
213 |
2 |
| ASN1_INTEGER_to_BN |
|
3 |
9 |
64 |
2 |
| Source file: ./lib/libcrypto/x509v3/v3_cpols.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| d2i_CERTIFICATEPOLICIES |
|
1 |
5 |
38 |
3 |
| i2d_CERTIFICATEPOLICIES |
|
1 |
4 |
28 |
2 |
| CERTIFICATEPOLICIES_new |
|
1 |
4 |
17 |
1 |
| CERTIFICATEPOLICIES_free |
|
1 |
4 |
20 |
1 |
| d2i_POLICYINFO |
|
1 |
5 |
38 |
3 |
| i2d_POLICYINFO |
|
1 |
4 |
28 |
2 |
| POLICYINFO_new |
|
1 |
4 |
17 |
1 |
| POLICYINFO_free |
|
1 |
4 |
20 |
1 |
| d2i_POLICYQUALINFO |
|
1 |
5 |
38 |
3 |
| i2d_POLICYQUALINFO |
|
1 |
4 |
28 |
2 |
| POLICYQUALINFO_new |
|
1 |
4 |
17 |
1 |
| POLICYQUALINFO_free |
|
1 |
4 |
20 |
1 |
| d2i_USERNOTICE |
|
1 |
5 |
38 |
3 |
| i2d_USERNOTICE |
|
1 |
4 |
28 |
2 |
| USERNOTICE_new |
|
1 |
4 |
17 |
1 |
| USERNOTICE_free |
|
1 |
4 |
20 |
1 |
| d2i_NOTICEREF |
|
1 |
5 |
38 |
3 |
| i2d_NOTICEREF |
|
1 |
4 |
28 |
2 |
| NOTICEREF_new |
|
1 |
4 |
17 |
1 |
| NOTICEREF_free |
|
1 |
4 |
20 |
1 |
| r2i_certpol |
|
12 |
66 |
353 |
3 |
| policy_section |
|
20 |
79 |
489 |
3 |
| notice_section |
|
23 |
78 |
478 |
3 |
| nref_nos |
|
4 |
21 |
117 |
2 |
| i2r_certpol |
|
3 |
15 |
105 |
4 |
| print_qualifiers |
|
4 |
24 |
151 |
3 |
| print_notice |
|
6 |
26 |
178 |
3 |
| X509_POLICY_NODE_print |
|
3 |
13 |
106 |
3 |
| Source file: ./lib/libcrypto/x509v3/v3_prn.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| X509V3_EXT_val_prn |
|
11 |
26 |
190 |
4 |
| X509V3_EXT_print |
|
11 |
45 |
325 |
4 |
| X509V3_extensions_print |
|
10 |
30 |
221 |
5 |
| unknown_ext_print |
|
6 |
22 |
127 |
5 |
| X509V3_EXT_print_fp |
|
2 |
10 |
63 |
4 |
| Source file: ./lib/libcrypto/x509v3/v3err.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ERR_load_X509V3_strings |
|
2 |
7 |
36 |
1 |
| Source file: ./lib/libcrypto/x509v3/v3_crld.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| gnames_from_sectname |
|
4 |
19 |
103 |
2 |
| set_dist_point_name |
|
12 |
55 |
328 |
3 |
| set_reasons |
|
10 |
34 |
192 |
2 |
| print_reasons |
|
5 |
20 |
124 |
4 |
| crldp_from_section |
|
9 |
32 |
186 |
2 |
| v2i_crld |
|
13 |
56 |
329 |
3 |
| dpn_cb |
|
4 |
14 |
69 |
4 |
| d2i_DIST_POINT_NAME |
|
1 |
5 |
38 |
3 |
| i2d_DIST_POINT_NAME |
|
1 |
4 |
28 |
2 |
| DIST_POINT_NAME_new |
|
1 |
4 |
17 |
1 |
| DIST_POINT_NAME_free |
|
1 |
4 |
20 |
1 |
| d2i_DIST_POINT |
|
1 |
5 |
38 |
3 |
| i2d_DIST_POINT |
|
1 |
4 |
28 |
2 |
| DIST_POINT_new |
|
1 |
4 |
17 |
1 |
| DIST_POINT_free |
|
1 |
4 |
20 |
1 |
| d2i_CRL_DIST_POINTS |
|
1 |
5 |
38 |
3 |
| i2d_CRL_DIST_POINTS |
|
1 |
4 |
28 |
2 |
| CRL_DIST_POINTS_new |
|
1 |
4 |
17 |
1 |
| CRL_DIST_POINTS_free |
|
1 |
4 |
20 |
1 |
| d2i_ISSUING_DIST_POINT |
|
1 |
5 |
38 |
3 |
| i2d_ISSUING_DIST_POINT |
|
1 |
4 |
28 |
2 |
| ISSUING_DIST_POINT_new |
|
1 |
4 |
17 |
1 |
| ISSUING_DIST_POINT_free |
|
1 |
4 |
20 |
1 |
| v2i_idp |
|
15 |
51 |
306 |
3 |
| print_gens |
|
2 |
10 |
74 |
3 |
| print_distpoint |
|
2 |
15 |
104 |
3 |
| i2r_idp |
|
13 |
22 |
196 |
4 |
| i2r_crldp |
|
5 |
20 |
139 |
4 |
| DIST_POINT_set_dpname |
|
8 |
26 |
169 |
2 |
| Source file: ./lib/libcrypto/x509v3/v3_skey.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| i2s_ASN1_OCTET_STRING |
|
1 |
4 |
24 |
2 |
| s2i_ASN1_OCTET_STRING |
|
3 |
15 |
80 |
3 |
| s2i_skey_id |
|
12 |
38 |
226 |
3 |
| Source file: ./lib/libcrypto/x509v3/v3_pci.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| i2r_pci |
|
4 |
17 |
127 |
4 |
| process_pci_value |
|
25 |
134 |
856 |
4 |
| r2i_pci |
|
16 |
74 |
411 |
3 |
| Source file: ./lib/libcrypto/x509v3/v3_sxnet.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| d2i_SXNETID |
|
1 |
5 |
38 |
3 |
| i2d_SXNETID |
|
1 |
4 |
28 |
2 |
| SXNETID_new |
|
1 |
4 |
17 |
1 |
| SXNETID_free |
|
1 |
4 |
20 |
1 |
| d2i_SXNET |
|
1 |
5 |
38 |
3 |
| i2d_SXNET |
|
1 |
4 |
28 |
2 |
| SXNET_new |
|
1 |
4 |
17 |
1 |
| SXNET_free |
|
1 |
4 |
20 |
1 |
| sxnet_i2r |
|
2 |
17 |
131 |
4 |
| sxnet_v2i |
|
3 |
13 |
85 |
3 |
| SXNET_add_id_asc |
|
2 |
9 |
61 |
4 |
| SXNET_add_id_ulong |
|
3 |
11 |
71 |
4 |
| SXNET_add_id_INTEGER |
|
14 |
43 |
243 |
4 |
| SXNET_get_id_asc |
|
2 |
12 |
63 |
2 |
| SXNET_get_id_ulong |
|
3 |
14 |
73 |
2 |
| SXNET_get_id_INTEGER |
|
3 |
11 |
70 |
2 |
| Source file: ./lib/libcrypto/x509v3/v3_pcia.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| d2i_PROXY_POLICY |
|
1 |
5 |
38 |
3 |
| i2d_PROXY_POLICY |
|
1 |
4 |
28 |
2 |
| PROXY_POLICY_new |
|
1 |
4 |
17 |
1 |
| PROXY_POLICY_free |
|
1 |
4 |
20 |
1 |
| d2i_PROXY_CERT_INFO_EXTENSION |
|
1 |
5 |
38 |
3 |
| i2d_PROXY_CERT_INFO_EXTENSION |
|
1 |
4 |
28 |
2 |
| PROXY_CERT_INFO_EXTENSION_new |
|
1 |
4 |
17 |
1 |
| PROXY_CERT_INFO_EXTENSION_free |
|
1 |
4 |
20 |
1 |
| Source file: ./lib/libcrypto/x509v3/v3_genn.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| d2i_OTHERNAME |
|
1 |
5 |
38 |
3 |
| i2d_OTHERNAME |
|
1 |
4 |
28 |
2 |
| OTHERNAME_new |
|
1 |
4 |
17 |
1 |
| OTHERNAME_free |
|
1 |
4 |
20 |
1 |
| d2i_EDIPARTYNAME |
|
1 |
5 |
38 |
3 |
| i2d_EDIPARTYNAME |
|
1 |
4 |
28 |
2 |
| EDIPARTYNAME_new |
|
1 |
4 |
17 |
1 |
| EDIPARTYNAME_free |
|
1 |
4 |
20 |
1 |
| d2i_GENERAL_NAME |
|
1 |
5 |
38 |
3 |
| i2d_GENERAL_NAME |
|
1 |
4 |
28 |
2 |
| GENERAL_NAME_new |
|
1 |
4 |
17 |
1 |
| GENERAL_NAME_free |
|
1 |
4 |
20 |
1 |
| d2i_GENERAL_NAMES |
|
1 |
5 |
38 |
3 |
| i2d_GENERAL_NAMES |
|
1 |
4 |
28 |
2 |
| GENERAL_NAMES_new |
|
1 |
4 |
17 |
1 |
| GENERAL_NAMES_free |
|
1 |
4 |
20 |
1 |
| GENERAL_NAME_dup |
|
1 |
4 |
17 |
1 |
| GENERAL_NAME_cmp |
|
13 |
30 |
190 |
2 |
| OTHERNAME_cmp |
|
4 |
10 |
68 |
2 |
| GENERAL_NAME_set0_value |
|
10 |
27 |
114 |
3 |
| GENERAL_NAME_get0_value |
|
11 |
24 |
105 |
2 |
| GENERAL_NAME_set0_othername |
|
2 |
12 |
58 |
3 |
| GENERAL_NAME_get0_otherName |
|
4 |
11 |
60 |
3 |
| Source file: ./lib/libcrypto/x509v3/pcy_lib.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| X509_policy_tree_level_count |
|
2 |
6 |
22 |
1 |
| X509_policy_tree_get0_level |
|
4 |
6 |
41 |
2 |
| X509_policy_tree_get0_policies |
|
2 |
6 |
22 |
1 |
| X509_policy_tree_get0_user_policies |
|
3 |
9 |
36 |
1 |
| X509_policy_level_node_count |
|
4 |
13 |
52 |
1 |
| X509_policy_level_get0_node |
|
4 |
11 |
51 |
2 |
| X509_policy_node_get0_policy |
|
2 |
6 |
24 |
1 |
| X509_policy_node_get0_qualifiers |
|
2 |
6 |
24 |
1 |
| X509_policy_node_get0_parent |
|
2 |
6 |
22 |
1 |
| Source file: ./lib/libcrypto/x509v3/pcy_int.h |
| Source file: ./lib/libcrypto/x509v3/pcy_tree.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| expected_print |
|
5 |
20 |
129 |
4 |
| tree_print |
|
6 |
28 |
209 |
3 |
| tree_init |
|
34 |
106 |
632 |
3 |
| tree_link_matching_nodes |
|
7 |
19 |
136 |
2 |
| tree_link_nodes |
|
3 |
11 |
67 |
2 |
| tree_add_unmatched |
|
4 |
17 |
112 |
5 |
| tree_link_unmatched |
|
9 |
25 |
178 |
4 |
| tree_link_any |
|
5 |
18 |
114 |
3 |
| tree_prune |
|
12 |
41 |
253 |
2 |
| tree_add_auth_node |
|
5 |
12 |
73 |
2 |
| tree_calculate_authority_set |
|
9 |
31 |
198 |
2 |
| tree_calculate_user_set |
|
11 |
44 |
269 |
3 |
| tree_evaluate |
|
6 |
19 |
124 |
1 |
| exnode_free |
|
3 |
5 |
29 |
1 |
| X509_policy_tree_free |
|
6 |
22 |
126 |
1 |
| X509_policy_check |
|
18 |
61 |
294 |
5 |
| Source file: ./lib/libcrypto/x509v3/v3_akey.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| i2v_AUTHORITY_KEYID |
|
4 |
19 |
125 |
3 |
| v2i_AUTHORITY_KEYID |
|
26 |
80 |
495 |
3 |
| Source file: ./lib/libcrypto/x509v3/v3_extku.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| d2i_EXTENDED_KEY_USAGE |
|
1 |
5 |
38 |
3 |
| i2d_EXTENDED_KEY_USAGE |
|
1 |
4 |
28 |
2 |
| EXTENDED_KEY_USAGE_new |
|
1 |
4 |
17 |
1 |
| EXTENDED_KEY_USAGE_free |
|
1 |
4 |
20 |
1 |
| i2v_EXTENDED_KEY_USAGE |
|
2 |
14 |
88 |
3 |
| v2i_EXTENDED_KEY_USAGE |
|
6 |
33 |
178 |
3 |
| Source file: ./lib/libcrypto/x509v3/v3_int.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| s2i_asn1_int |
|
1 |
4 |
24 |
3 |
| Source file: ./lib/libcrypto/x509v3/pcy_data.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| policy_data_free |
|
2 |
9 |
49 |
1 |
| policy_data_new |
|
10 |
38 |
196 |
3 |
| Source file: ./lib/libcrypto/x509v3/v3_utl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| X509V3_add_value |
|
6 |
26 |
169 |
3 |
| X509V3_add_value_uchar |
|
1 |
5 |
37 |
3 |
| X509V3_conf_free |
|
2 |
9 |
41 |
1 |
| X509V3_add_value_bool |
|
2 |
7 |
43 |
3 |
| X509V3_add_value_bool_nf |
|
2 |
7 |
35 |
3 |
| i2s_ASN1_ENUMERATED |
|
4 |
12 |
69 |
2 |
| i2s_ASN1_INTEGER |
|
4 |
12 |
69 |
2 |
| s2i_ASN1_INTEGER |
|
13 |
42 |
223 |
2 |
| X509V3_add_value_int |
|
3 |
13 |
71 |
3 |
| X509V3_get_value_bool |
|
14 |
21 |
166 |
2 |
| X509V3_get_value_int |
|
2 |
10 |
50 |
2 |
| X509V3_parse_list |
|
16 |
74 |
376 |
1 |
| strip_spaces |
|
8 |
17 |
103 |
1 |
| hex_to_string |
|
5 |
21 |
147 |
2 |
| string_to_hex |
|
15 |
48 |
284 |
2 |
| name_cmp |
|
4 |
12 |
71 |
2 |
| sk_strcmp |
|
1 |
4 |
28 |
2 |
| X509_get1_email |
|
1 |
9 |
54 |
1 |
| X509_get1_ocsp |
|
6 |
21 |
126 |
1 |
| X509_REQ_get1_email |
|
1 |
12 |
75 |
1 |
| get_email |
|
6 |
24 |
148 |
2 |
| str_free |
|
1 |
4 |
12 |
1 |
| append_ia5 |
|
9 |
21 |
136 |
2 |
| X509_email_free |
|
1 |
4 |
18 |
1 |
| skip_prefix |
|
7 |
19 |
104 |
5 |
| equal_nocase |
|
4 |
13 |
96 |
5 |
| equal_case |
|
4 |
13 |
96 |
5 |
| equal_email |
|
7 |
19 |
122 |
5 |
| wildcard_match |
|
23 |
37 |
281 |
7 |
| valid_star |
|
34 |
54 |
421 |
3 |
| equal_wildcard |
|
4 |
13 |
111 |
5 |
| do_check_string |
|
13 |
31 |
252 |
7 |
| do_x509_check |
|
21 |
74 |
435 |
6 |
| X509_check_host |
|
3 |
9 |
65 |
5 |
| X509_check_email |
|
3 |
9 |
61 |
4 |
| X509_check_ip |
|
2 |
7 |
51 |
4 |
| X509_check_ip_asc |
|
3 |
11 |
79 |
3 |
| a2i_IPADDRESS |
|
4 |
17 |
79 |
1 |
| a2i_IPADDRESS_NC |
|
9 |
34 |
188 |
1 |
| a2i_ipadd |
|
4 |
12 |
60 |
2 |
| ipv4_from_asc |
|
10 |
14 |
133 |
2 |
| ipv6_from_asc |
|
15 |
42 |
281 |
2 |
| ipv6_cb |
|
10 |
28 |
167 |
3 |
| ipv6_hex |
|
9 |
22 |
146 |
3 |
| X509V3_NAME_from_section |
|
10 |
29 |
184 |
3 |
| Source file: ./lib/libcrypto/x509v3/pcy_node.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| node_cmp |
|
1 |
4 |
40 |
2 |
| policy_node_cmp_new |
|
1 |
4 |
12 |
1 |
| tree_find_sk |
|
2 |
12 |
70 |
2 |
| level_find_node |
|
4 |
14 |
87 |
3 |
| level_add_node |
|
17 |
49 |
253 |
5 |
| policy_node_free |
|
1 |
4 |
13 |
1 |
| policy_node_match |
|
6 |
19 |
121 |
3 |
| Source file: ./lib/libcrypto/x509v3/v3_bitst.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| i2v_ASN1_BIT_STRING |
|
3 |
10 |
66 |
3 |
| v2i_ASN1_BIT_STRING |
|
8 |
34 |
188 |
3 |
| Source file: ./lib/libcrypto/x509v3/v3_pku.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| d2i_PKEY_USAGE_PERIOD |
|
1 |
5 |
38 |
3 |
| i2d_PKEY_USAGE_PERIOD |
|
1 |
4 |
28 |
2 |
| PKEY_USAGE_PERIOD_new |
|
1 |
4 |
17 |
1 |
| PKEY_USAGE_PERIOD_free |
|
1 |
4 |
20 |
1 |
| i2r_PKEY_USAGE_PERIOD |
|
4 |
16 |
100 |
4 |
| Source file: ./lib/libcrypto/x509v3/v3_conf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| X509V3_EXT_nconf |
|
3 |
15 |
106 |
4 |
| X509V3_EXT_nconf_nid |
|
2 |
10 |
76 |
4 |
| do_ext_nconf |
|
14 |
52 |
321 |
5 |
| do_ext_i2d |
|
6 |
35 |
190 |
4 |
| X509V3_EXT_i2d |
|
2 |
9 |
53 |
3 |
| v3_check_critical |
|
4 |
10 |
65 |
1 |
| v3_check_generic |
|
6 |
17 |
110 |
1 |
| v3_generic_extension |
|
6 |
40 |
225 |
5 |
| generic_asn1 |
|
2 |
11 |
64 |
3 |
| X509V3_EXT_add_nconf_sk |
|
5 |
19 |
132 |
4 |
| X509V3_EXT_add_nconf |
|
2 |
7 |
54 |
4 |
| X509V3_EXT_CRL_add_nconf |
|
2 |
8 |
54 |
4 |
| X509V3_EXT_REQ_add_nconf |
|
4 |
14 |
89 |
4 |
| X509V3_get_string |
|
5 |
10 |
72 |
3 |
| X509V3_get_section |
|
5 |
10 |
66 |
2 |
| X509V3_string_free |
|
3 |
7 |
40 |
2 |
| X509V3_section_free |
|
3 |
7 |
43 |
2 |
| nconf_get_string |
|
1 |
4 |
26 |
3 |
| nconf_get_section |
|
1 |
4 |
20 |
2 |
| X509V3_set_nconf |
|
1 |
5 |
25 |
2 |
| X509V3_set_ctx |
|
1 |
9 |
57 |
6 |
| X509V3_EXT_conf |
|
1 |
7 |
47 |
4 |
| X509V3_EXT_conf_nid |
|
1 |
7 |
46 |
4 |
| conf_lhash_get_string |
|
1 |
4 |
26 |
3 |
| conf_lhash_get_section |
|
1 |
4 |
20 |
2 |
| X509V3_set_conf_lhash |
|
1 |
5 |
28 |
2 |
| X509V3_EXT_add_conf |
|
1 |
7 |
47 |
4 |
| X509V3_EXT_CRL_add_conf |
|
1 |
7 |
47 |
4 |
| X509V3_EXT_REQ_add_conf |
|
1 |
7 |
47 |
4 |
| Source file: ./lib/libcrypto/x509v3/v3_bcons.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| d2i_BASIC_CONSTRAINTS |
|
1 |
5 |
38 |
3 |
| i2d_BASIC_CONSTRAINTS |
|
1 |
4 |
28 |
2 |
| BASIC_CONSTRAINTS_new |
|
1 |
4 |
17 |
1 |
| BASIC_CONSTRAINTS_free |
|
1 |
4 |
20 |
1 |
| i2v_BASIC_CONSTRAINTS |
|
1 |
7 |
46 |
3 |
| v2i_BASIC_CONSTRAINTS |
|
7 |
29 |
170 |
3 |
| Source file: ./lib/libcrypto/x509v3/v3_enum.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| i2s_ASN1_ENUMERATED_TABLE |
|
3 |
11 |
67 |
2 |
| Source file: ./lib/libcrypto/x509v3/v3_info.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| d2i_ACCESS_DESCRIPTION |
|
1 |
5 |
38 |
3 |
| i2d_ACCESS_DESCRIPTION |
|
1 |
4 |
28 |
2 |
| ACCESS_DESCRIPTION_new |
|
1 |
4 |
17 |
1 |
| ACCESS_DESCRIPTION_free |
|
1 |
4 |
20 |
1 |
| d2i_AUTHORITY_INFO_ACCESS |
|
1 |
5 |
38 |
3 |
| i2d_AUTHORITY_INFO_ACCESS |
|
1 |
4 |
28 |
2 |
| AUTHORITY_INFO_ACCESS_new |
|
1 |
4 |
17 |
1 |
| AUTHORITY_INFO_ACCESS_free |
|
1 |
4 |
20 |
1 |
| i2v_AUTHORITY_INFO_ACCESS |
|
5 |
30 |
202 |
3 |
| v2i_AUTHORITY_INFO_ACCESS |
|
9 |
52 |
312 |
3 |
| i2a_ACCESS_DESCRIPTION |
|
1 |
5 |
24 |
2 |
| Source file: ./lib/libcrypto/x509v3/v3_purp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| xp_cmp |
|
1 |
4 |
33 |
2 |
| X509_check_purpose |
|
4 |
17 |
97 |
3 |
| X509_PURPOSE_set |
|
2 |
9 |
39 |
2 |
| X509_PURPOSE_get_count |
|
2 |
6 |
22 |
1 |
| X509_PURPOSE_get0 |
|
3 |
8 |
40 |
1 |
| X509_PURPOSE_get_by_sname |
|
3 |
11 |
58 |
1 |
| X509_PURPOSE_get_by_id |
|
5 |
14 |
73 |
1 |
| X509_PURPOSE_add |
|
12 |
55 |
328 |
7 |
| xptable_free |
|
4 |
12 |
54 |
1 |
| X509_PURPOSE_cleanup |
|
2 |
8 |
41 |
1 |
| X509_PURPOSE_get_id |
|
1 |
4 |
13 |
1 |
| X509_PURPOSE_get0_name |
|
1 |
4 |
13 |
1 |
| X509_PURPOSE_get0_sname |
|
1 |
4 |
13 |
1 |
| X509_PURPOSE_get_trust |
|
1 |
4 |
13 |
1 |
| nid_cmp |
|
1 |
4 |
21 |
2 |
| nid_cmp_BSEARCH_CMP_FN |
|
1 |
6 |
36 |
2 |
| OBJ_bsearch_nid |
|
1 |
5 |
37 |
3 |
| X509_supported_extension |
|
3 |
23 |
85 |
1 |
| setup_dp |
|
9 |
25 |
186 |
2 |
| setup_crldp |
|
2 |
7 |
58 |
1 |
| x509v3_cache_extensions |
|
39 |
128 |
810 |
1 |
| check_ca |
|
8 |
20 |
97 |
1 |
| X509_check_ca |
|
2 |
9 |
42 |
1 |
| check_ssl_ca |
|
4 |
11 |
46 |
1 |
| check_purpose_ssl_client |
|
5 |
12 |
66 |
3 |
| check_purpose_ssl_server |
|
5 |
12 |
70 |
3 |
| check_purpose_ns_ssl_server |
|
4 |
10 |
56 |
3 |
| purpose_smime |
|
9 |
23 |
105 |
2 |
| check_purpose_smime_sign |
|
4 |
10 |
56 |
3 |
| check_purpose_smime_encrypt |
|
4 |
10 |
54 |
3 |
| check_purpose_crl_sign |
|
4 |
13 |
61 |
3 |
| ocsp_helper |
|
2 |
6 |
30 |
3 |
| check_purpose_timestamp_sign |
|
9 |
19 |
143 |
3 |
| no_check |
|
1 |
4 |
20 |
3 |
| X509_check_issued |
|
7 |
19 |
107 |
2 |
| X509_check_akid |
|
12 |
28 |
163 |
2 |
| Source file: ./lib/libcrypto/x509v3/v3_akeya.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| d2i_AUTHORITY_KEYID |
|
1 |
5 |
38 |
3 |
| i2d_AUTHORITY_KEYID |
|
1 |
4 |
28 |
2 |
| AUTHORITY_KEYID_new |
|
1 |
4 |
17 |
1 |
| AUTHORITY_KEYID_free |
|
1 |
4 |
20 |
1 |
| Source file: ./lib/libcrypto/x509v3/v3_lib.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| X509V3_EXT_add |
|
3 |
12 |
56 |
1 |
| ext_cmp |
|
1 |
4 |
35 |
2 |
| ext_cmp_BSEARCH_CMP_FN |
|
1 |
6 |
40 |
2 |
| OBJ_bsearch_ext |
|
1 |
5 |
45 |
3 |
| X509V3_EXT_get_nid |
|
5 |
18 |
97 |
1 |
| X509V3_EXT_get |
|
2 |
7 |
35 |
1 |
| X509V3_EXT_add_list |
|
3 |
7 |
35 |
1 |
| X509V3_EXT_add_alias |
|
3 |
17 |
90 |
2 |
| X509V3_EXT_cleanup |
|
1 |
5 |
17 |
1 |
| ext_list_free |
|
2 |
5 |
21 |
1 |
| X509V3_add_standard_extensions |
|
1 |
4 |
9 |
1 |
| X509V3_EXT_d2i |
|
3 |
12 |
84 |
1 |
| X509V3_get_d2i |
|
15 |
43 |
220 |
4 |
| X509V3_add1_i2d |
|
15 |
50 |
278 |
5 |
| Source file: ./lib/libcrypto/x509v3/pcy_cache.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| policy_cache_create |
|
12 |
43 |
259 |
3 |
| policy_cache_new |
|
20 |
66 |
370 |
1 |
| policy_cache_free |
|
4 |
10 |
48 |
1 |
| policy_cache_set |
|
2 |
9 |
38 |
1 |
| policy_cache_find_data |
|
2 |
10 |
62 |
2 |
| policy_data_cmp |
|
1 |
5 |
36 |
2 |
| policy_cache_set_int |
|
3 |
9 |
43 |
2 |
| Source file: ./lib/libcrypto/x509v3/pcy_map.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| policy_cache_set_mapping |
|
12 |
48 |
276 |
2 |
| Source file: ./lib/libcrypto/x509v3/v3_pcons.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| POLICY_CONSTRAINTS_new |
|
1 |
4 |
17 |
1 |
| POLICY_CONSTRAINTS_free |
|
1 |
4 |
20 |
1 |
| i2v_POLICY_CONSTRAINTS |
|
1 |
10 |
53 |
3 |
| v2i_POLICY_CONSTRAINTS |
|
9 |
33 |
193 |
3 |
| Source file: ./lib/libcrypto/x509v3/v3_pmaps.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| POLICY_MAPPING_new |
|
1 |
4 |
17 |
1 |
| POLICY_MAPPING_free |
|
1 |
4 |
20 |
1 |
| i2v_POLICY_MAPPINGS |
|
2 |
16 |
107 |
3 |
| v2i_POLICY_MAPPINGS |
|
10 |
49 |
268 |
3 |
| Source file: ./lib/libcrypto/x509v3/v3_alt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| i2v_GENERAL_NAMES |
|
3 |
13 |
77 |
3 |
| i2v_GENERAL_NAME |
|
14 |
57 |
395 |
3 |
| GENERAL_NAME_print |
|
13 |
51 |
311 |
2 |
| v2i_issuer_alt |
|
9 |
31 |
189 |
3 |
| copy_issuer |
|
10 |
32 |
181 |
2 |
| v2i_subject_alt |
|
13 |
35 |
229 |
3 |
| copy_email |
|
12 |
46 |
253 |
3 |
| v2i_GENERAL_NAMES |
|
5 |
25 |
140 |
3 |
| v2i_GENERAL_NAME |
|
1 |
5 |
31 |
3 |
| a2i_GENERAL_NAME |
|
20 |
77 |
358 |
6 |
| v2i_GENERAL_NAME_ex |
|
9 |
32 |
199 |
5 |
| do_othername |
|
6 |
23 |
179 |
3 |
| do_dirname |
|
4 |
21 |
119 |
3 |
| Source file: ./lib/libcrypto/x509v3/v3_ocsp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| i2r_ocsp_crlid |
|
13 |
31 |
210 |
4 |
| i2r_ocsp_acutoff |
|
3 |
9 |
54 |
4 |
| i2r_object |
|
3 |
8 |
55 |
4 |
| ocsp_nonce_new |
|
1 |
4 |
11 |
1 |
| i2d_ocsp_nonce |
|
2 |
9 |
51 |
2 |
| d2i_ocsp_nonce |
|
8 |
22 |
124 |
3 |
| ocsp_nonce_free |
|
1 |
4 |
13 |
1 |
| i2r_ocsp_nonce |
|
3 |
9 |
57 |
4 |
| i2r_ocsp_nocheck |
|
1 |
5 |
23 |
4 |
| s2i_ocsp_nocheck |
|
1 |
5 |
23 |
3 |
| i2r_ocsp_serviceloc |
|
8 |
24 |
178 |
4 |
| Source file: ./lib/libcrypto/ts/ts_err.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ERR_load_TS_strings |
|
2 |
7 |
36 |
1 |
| Source file: ./lib/libcrypto/ts/ts_lib.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| TS_ASN1_INTEGER_print_bio |
|
3 |
15 |
98 |
2 |
| TS_OBJ_print_bio |
|
2 |
10 |
75 |
2 |
| TS_ext_print_bio |
|
4 |
21 |
149 |
2 |
| TS_X509_ALGOR_print_bio |
|
2 |
6 |
44 |
2 |
| TS_MSG_IMPRINT_print_bio |
|
1 |
10 |
65 |
2 |
| Source file: ./lib/libcrypto/ts/ts_rsp_print.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| TS_RESP_print_bio |
|
2 |
13 |
74 |
2 |
| TS_STATUS_INFO_print_bio |
|
8 |
73 |
298 |
2 |
| TS_status_map_print |
|
4 |
12 |
77 |
3 |
| TS_TST_INFO_print_bio |
|
8 |
58 |
368 |
2 |
| TS_ACCURACY_print_bio |
|
4 |
22 |
130 |
2 |
| Source file: ./lib/libcrypto/ts/ts_verify_ctx.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| TS_VERIFY_CTX_new |
|
2 |
7 |
33 |
1 |
| TS_VERIFY_CTX_init |
|
1 |
4 |
20 |
1 |
| TS_VERIFY_CTX_free |
|
2 |
7 |
25 |
1 |
| TS_VERIFY_CTX_cleanup |
|
2 |
14 |
78 |
1 |
| TS_REQ_to_TS_VERIFY_CTX |
|
10 |
40 |
258 |
2 |
| Source file: ./lib/libcrypto/ts/ts_rsp_utils.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| TS_RESP_set_status_info |
|
3 |
14 |
66 |
2 |
| TS_RESP_get_status_info |
|
1 |
4 |
13 |
1 |
| TS_RESP_set_tst_info |
|
1 |
7 |
42 |
3 |
| TS_RESP_get_token |
|
1 |
4 |
13 |
1 |
| TS_RESP_get_tst_info |
|
1 |
4 |
13 |
1 |
| TS_TST_INFO_set_version |
|
1 |
4 |
21 |
2 |
| TS_TST_INFO_get_version |
|
1 |
4 |
17 |
1 |
| TS_TST_INFO_set_policy_id |
|
3 |
14 |
66 |
2 |
| TS_TST_INFO_get_policy_id |
|
1 |
4 |
13 |
1 |
| TS_TST_INFO_set_msg_imprint |
|
3 |
14 |
66 |
2 |
| TS_TST_INFO_get_msg_imprint |
|
1 |
4 |
13 |
1 |
| TS_TST_INFO_set_serial |
|
3 |
14 |
67 |
2 |
| TS_TST_INFO_get_serial |
|
1 |
4 |
14 |
1 |
| TS_TST_INFO_set_time |
|
3 |
14 |
67 |
2 |
| TS_TST_INFO_get_time |
|
1 |
4 |
14 |
1 |
| TS_TST_INFO_set_accuracy |
|
3 |
14 |
66 |
2 |
| TS_TST_INFO_get_accuracy |
|
1 |
4 |
13 |
1 |
| TS_ACCURACY_set_seconds |
|
3 |
14 |
67 |
2 |
| TS_ACCURACY_get_seconds |
|
1 |
4 |
14 |
1 |
| TS_ACCURACY_set_millis |
|
4 |
16 |
77 |
2 |
| TS_ACCURACY_get_millis |
|
1 |
4 |
14 |
1 |
| TS_ACCURACY_set_micros |
|
4 |
16 |
77 |
2 |
| TS_ACCURACY_get_micros |
|
1 |
4 |
14 |
1 |
| TS_TST_INFO_set_ordering |
|
2 |
5 |
24 |
2 |
| TS_TST_INFO_get_ordering |
|
2 |
4 |
18 |
1 |
| TS_TST_INFO_set_nonce |
|
3 |
14 |
67 |
2 |
| TS_TST_INFO_get_nonce |
|
1 |
4 |
14 |
1 |
| TS_TST_INFO_set_tsa |
|
3 |
14 |
66 |
2 |
| TS_TST_INFO_get_tsa |
|
1 |
4 |
13 |
1 |
| TS_TST_INFO_get_exts |
|
1 |
4 |
13 |
1 |
| TS_TST_INFO_ext_free |
|
2 |
7 |
30 |
1 |
| TS_TST_INFO_get_ext_count |
|
1 |
4 |
16 |
1 |
| TS_TST_INFO_get_ext_by_NID |
|
1 |
4 |
26 |
3 |
| TS_TST_INFO_get_ext_by_OBJ |
|
1 |
4 |
27 |
3 |
| TS_TST_INFO_get_ext_by_critical |
|
1 |
4 |
26 |
3 |
| TS_TST_INFO_get_ext |
|
1 |
4 |
21 |
2 |
| TS_TST_INFO_delete_ext |
|
1 |
4 |
21 |
2 |
| TS_TST_INFO_add_ext |
|
1 |
4 |
30 |
3 |
| TS_TST_INFO_get_ext_d2i |
|
1 |
4 |
33 |
4 |
| Source file: ./lib/libcrypto/x509v3/v3_ncons.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| GENERAL_SUBTREE_new |
|
1 |
4 |
17 |
1 |
| GENERAL_SUBTREE_free |
|
1 |
4 |
20 |
1 |
| NAME_CONSTRAINTS_new |
|
1 |
4 |
17 |
1 |
| NAME_CONSTRAINTS_free |
|
1 |
4 |
20 |
1 |
| v2i_NAME_CONSTRAINTS |
|
11 |
41 |
279 |
3 |
| i2r_NAME_CONSTRAINTS |
|
1 |
9 |
59 |
4 |
| do_i2r_name_constraints |
|
4 |
18 |
139 |
5 |
| print_nc_ipadd |
|
6 |
23 |
182 |
2 |
| NAME_CONSTRAINTS_check |
|
9 |
36 |
224 |
2 |
| nc_match |
|
16 |
36 |
232 |
2 |
| nc_match_single |
|
5 |
16 |
101 |
2 |
| nc_dn |
|
7 |
12 |
84 |
2 |
| nc_dns |
|
6 |
15 |
102 |
2 |
| nc_email |
|
11 |
30 |
196 |
2 |
| nc_uri |
|
12 |
31 |
213 |
2 |
| Source file: ./lib/libcrypto/ts/ts_req_print.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| TS_REQ_print_bio |
|
5 |
28 |
167 |
2 |
| Source file: ./lib/libcrypto/ts/ts_req_utils.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| TS_REQ_set_version |
|
1 |
4 |
21 |
2 |
| TS_REQ_get_version |
|
1 |
4 |
17 |
1 |
| TS_REQ_set_msg_imprint |
|
3 |
14 |
66 |
2 |
| TS_REQ_get_msg_imprint |
|
1 |
4 |
13 |
1 |
| TS_MSG_IMPRINT_set_algo |
|
3 |
14 |
66 |
2 |
| TS_MSG_IMPRINT_get_algo |
|
1 |
4 |
13 |
1 |
| TS_MSG_IMPRINT_set_msg |
|
1 |
4 |
28 |
3 |
| TS_MSG_IMPRINT_get_msg |
|
1 |
4 |
13 |
1 |
| TS_REQ_set_policy_id |
|
3 |
14 |
66 |
2 |
| TS_REQ_get_policy_id |
|
1 |
4 |
13 |
1 |
| TS_REQ_set_nonce |
|
3 |
14 |
67 |
2 |
| TS_REQ_get_nonce |
|
1 |
4 |
14 |
1 |
| TS_REQ_set_cert_req |
|
2 |
5 |
24 |
2 |
| TS_REQ_get_cert_req |
|
2 |
4 |
18 |
1 |
| TS_REQ_get_exts |
|
1 |
4 |
13 |
1 |
| TS_REQ_ext_free |
|
2 |
7 |
30 |
1 |
| TS_REQ_get_ext_count |
|
1 |
4 |
16 |
1 |
| TS_REQ_get_ext_by_NID |
|
1 |
4 |
26 |
3 |
| TS_REQ_get_ext_by_OBJ |
|
1 |
4 |
27 |
3 |
| TS_REQ_get_ext_by_critical |
|
1 |
4 |
26 |
3 |
| TS_REQ_get_ext |
|
1 |
4 |
21 |
2 |
| TS_REQ_delete_ext |
|
1 |
4 |
21 |
2 |
| TS_REQ_add_ext |
|
1 |
4 |
30 |
3 |
| TS_REQ_get_ext_d2i |
|
1 |
4 |
33 |
4 |
| Source file: ./lib/libcrypto/x509v3/x509v3.h |
| Source file: ./lib/libcrypto/ts/ts.h |
| Source file: ./lib/libcrypto/ts/ts_conf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| TS_CONF_load_cert |
|
3 |
13 |
77 |
1 |
| TS_CONF_load_certs |
|
7 |
29 |
184 |
1 |
| TS_CONF_load_key |
|
3 |
13 |
85 |
2 |
| TS_CONF_lookup_fail |
|
1 |
4 |
25 |
2 |
| TS_CONF_invalid |
|
1 |
4 |
25 |
2 |
| TS_CONF_get_tsa_section |
|
3 |
9 |
46 |
2 |
| TS_CONF_set_serial |
|
2 |
14 |
73 |
4 |
| TS_CONF_set_crypto_device |
|
4 |
13 |
70 |
3 |
| TS_CONF_set_default_engine |
|
6 |
20 |
99 |
1 |
| TS_CONF_set_signer_cert |
|
5 |
20 |
108 |
4 |
| TS_CONF_set_certs |
|
5 |
19 |
106 |
4 |
| TS_CONF_set_signer_key |
|
5 |
20 |
115 |
5 |
| TS_CONF_set_def_policy |
|
5 |
22 |
119 |
4 |
| TS_CONF_set_policies |
|
6 |
27 |
183 |
3 |
| TS_CONF_set_digests |
|
8 |
34 |
213 |
3 |
| TS_CONF_set_accuracy |
|
10 |
34 |
253 |
3 |
| TS_CONF_set_clock_precision_digits |
|
5 |
18 |
89 |
3 |
| TS_CONF_add_flag |
|
4 |
14 |
90 |
5 |
| TS_CONF_set_ordering |
|
1 |
4 |
31 |
3 |
| TS_CONF_set_tsa_name |
|
1 |
4 |
31 |
3 |
| TS_CONF_set_ess_cert_id_chain |
|
1 |
5 |
31 |
3 |
| Source file: ./lib/libcrypto/sha/sha.h |
| Source file: ./lib/libcrypto/ts/ts_rsp_verify.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| TS_RESP_verify_signature |
|
13 |
56 |
343 |
4 |
| TS_verify_cert |
|
4 |
29 |
153 |
4 |
| TS_check_signing_certs |
|
7 |
27 |
160 |
2 |
| ESS_get_signing_cert |
|
3 |
13 |
73 |
1 |
| TS_find_cert |
|
8 |
18 |
137 |
2 |
| TS_issuer_serial_cmp |
|
7 |
13 |
93 |
2 |
| TS_RESP_verify_response |
|
3 |
13 |
70 |
2 |
| TS_RESP_verify_token |
|
2 |
10 |
51 |
2 |
| int_TS_RESP_verify_token |
|
19 |
49 |
318 |
3 |
| TS_check_status_info |
|
12 |
43 |
243 |
1 |
| TS_get_status_text |
|
5 |
23 |
159 |
1 |
| TS_check_policy |
|
2 |
9 |
45 |
2 |
| TS_compute_imprint |
|
9 |
41 |
258 |
5 |
| TS_check_imprints |
|
9 |
22 |
145 |
4 |
| TS_check_nonces |
|
3 |
13 |
62 |
2 |
| TS_check_signer_name |
|
6 |
22 |
138 |
2 |
| TS_find_name |
|
4 |
10 |
77 |
2 |
| Source file: ./lib/libcrypto/ts/ts_asn1.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| d2i_TS_MSG_IMPRINT |
|
1 |
5 |
38 |
3 |
| i2d_TS_MSG_IMPRINT |
|
1 |
4 |
29 |
2 |
| TS_MSG_IMPRINT_new |
|
1 |
4 |
17 |
1 |
| TS_MSG_IMPRINT_free |
|
1 |
4 |
20 |
1 |
| TS_MSG_IMPRINT_dup |
|
1 |
4 |
17 |
1 |
| d2i_TS_MSG_IMPRINT_bio |
|
1 |
4 |
23 |
2 |
| i2d_TS_MSG_IMPRINT_bio |
|
1 |
4 |
23 |
2 |
| d2i_TS_MSG_IMPRINT_fp |
|
1 |
4 |
23 |
2 |
| i2d_TS_MSG_IMPRINT_fp |
|
1 |
4 |
23 |
2 |
| d2i_TS_REQ |
|
1 |
5 |
38 |
3 |
| i2d_TS_REQ |
|
1 |
4 |
29 |
2 |
| TS_REQ_new |
|
1 |
4 |
17 |
1 |
| TS_REQ_free |
|
1 |
4 |
20 |
1 |
| TS_REQ_dup |
|
1 |
4 |
17 |
1 |
| d2i_TS_REQ_bio |
|
1 |
4 |
23 |
2 |
| i2d_TS_REQ_bio |
|
1 |
4 |
23 |
2 |
| d2i_TS_REQ_fp |
|
1 |
4 |
23 |
2 |
| i2d_TS_REQ_fp |
|
1 |
4 |
23 |
2 |
| d2i_TS_ACCURACY |
|
1 |
5 |
38 |
3 |
| i2d_TS_ACCURACY |
|
1 |
4 |
29 |
2 |
| TS_ACCURACY_new |
|
1 |
4 |
17 |
1 |
| TS_ACCURACY_free |
|
1 |
4 |
20 |
1 |
| TS_ACCURACY_dup |
|
1 |
4 |
17 |
1 |
| d2i_TS_TST_INFO |
|
1 |
5 |
38 |
3 |
| i2d_TS_TST_INFO |
|
1 |
4 |
29 |
2 |
| TS_TST_INFO_new |
|
1 |
4 |
17 |
1 |
| TS_TST_INFO_free |
|
1 |
4 |
20 |
1 |
| TS_TST_INFO_dup |
|
1 |
4 |
17 |
1 |
| d2i_TS_TST_INFO_bio |
|
1 |
4 |
23 |
2 |
| i2d_TS_TST_INFO_bio |
|
1 |
4 |
23 |
2 |
| d2i_TS_TST_INFO_fp |
|
1 |
4 |
23 |
2 |
| i2d_TS_TST_INFO_fp |
|
1 |
4 |
23 |
2 |
| d2i_TS_STATUS_INFO |
|
1 |
5 |
38 |
3 |
| i2d_TS_STATUS_INFO |
|
1 |
4 |
29 |
2 |
| TS_STATUS_INFO_new |
|
1 |
4 |
17 |
1 |
| TS_STATUS_INFO_free |
|
1 |
4 |
20 |
1 |
| TS_STATUS_INFO_dup |
|
1 |
4 |
17 |
1 |
| ts_resp_set_tst_info |
|
8 |
22 |
117 |
1 |
| ts_resp_cb |
|
6 |
14 |
93 |
4 |
| d2i_TS_RESP |
|
1 |
5 |
38 |
3 |
| i2d_TS_RESP |
|
1 |
4 |
29 |
2 |
| TS_RESP_new |
|
1 |
4 |
17 |
1 |
| TS_RESP_free |
|
1 |
4 |
20 |
1 |
| TS_RESP_dup |
|
1 |
4 |
17 |
1 |
| d2i_TS_RESP_bio |
|
1 |
4 |
23 |
2 |
| i2d_TS_RESP_bio |
|
1 |
4 |
23 |
2 |
| d2i_TS_RESP_fp |
|
1 |
4 |
23 |
2 |
| i2d_TS_RESP_fp |
|
1 |
4 |
23 |
2 |
| d2i_ESS_ISSUER_SERIAL |
|
1 |
5 |
38 |
3 |
| i2d_ESS_ISSUER_SERIAL |
|
1 |
4 |
29 |
2 |
| ESS_ISSUER_SERIAL_new |
|
1 |
4 |
17 |
1 |
| ESS_ISSUER_SERIAL_free |
|
1 |
4 |
20 |
1 |
| ESS_ISSUER_SERIAL_dup |
|
1 |
4 |
17 |
1 |
| d2i_ESS_CERT_ID |
|
1 |
5 |
38 |
3 |
| i2d_ESS_CERT_ID |
|
1 |
4 |
29 |
2 |
| ESS_CERT_ID_new |
|
1 |
4 |
17 |
1 |
| ESS_CERT_ID_free |
|
1 |
4 |
20 |
1 |
| ESS_CERT_ID_dup |
|
1 |
4 |
17 |
1 |
| d2i_ESS_SIGNING_CERT |
|
1 |
5 |
38 |
3 |
| i2d_ESS_SIGNING_CERT |
|
1 |
4 |
29 |
2 |
| ESS_SIGNING_CERT_new |
|
1 |
4 |
17 |
1 |
| ESS_SIGNING_CERT_free |
|
1 |
4 |
20 |
1 |
| ESS_SIGNING_CERT_dup |
|
1 |
4 |
17 |
1 |
| PKCS7_to_TS_TST_INFO |
|
5 |
30 |
153 |
1 |
| Source file: ./lib/libcrypto/sha/sha1_one.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| SHA1 |
|
3 |
12 |
85 |
3 |
| Source file: ./lib/libcrypto/sha/sha1dgst.c |
| Source file: ./lib/libcrypto/sha/sha512.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| SHA384_Init |
|
1 |
14 |
131 |
1 |
| SHA512_Init |
|
1 |
14 |
131 |
1 |
| SHA512_Final |
|
8 |
64 |
900 |
2 |
| SHA384_Final |
|
1 |
2 |
21 |
2 |
| SHA512_Update |
|
10 |
41 |
367 |
3 |
| SHA384_Update |
|
1 |
2 |
26 |
3 |
| SHA512_Transform |
|
2 |
7 |
72 |
2 |
| SHA384 |
|
2 |
11 |
79 |
3 |
| SHA512 |
|
2 |
11 |
79 |
3 |
| sha512_block_data_order |
|
4 |
41 |
502 |
3 |
| sha512_block_data_order |
|
5 |
33 |
480 |
3 |
| sha512_block_data_order |
|
4 |
65 |
1730 |
3 |
| Source file: ./lib/libcrypto/dh/dh_gen.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| DH_generate_parameters_ex |
|
2 |
6 |
54 |
4 |
| dh_builtin_genparams |
|
20 |
58 |
363 |
4 |
| Source file: ./lib/libcrypto/sha/sha256.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| SHA224_Init |
|
1 |
10 |
102 |
1 |
| SHA256_Init |
|
1 |
10 |
102 |
1 |
| SHA224 |
|
2 |
11 |
79 |
3 |
| SHA256 |
|
2 |
11 |
79 |
3 |
| SHA224_Update |
|
1 |
2 |
26 |
3 |
| SHA224_Final |
|
1 |
2 |
21 |
2 |
| sha256_block_data_order |
|
4 |
31 |
469 |
3 |
| sha256_block_data_order |
|
6 |
66 |
1592 |
3 |
| Source file: ./lib/libcrypto/dh/dh_pmeth.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pkey_dh_init |
|
2 |
14 |
71 |
1 |
| pkey_dh_copy |
|
2 |
12 |
69 |
2 |
| pkey_dh_cleanup |
|
1 |
5 |
21 |
1 |
| pkey_dh_ctrl |
|
5 |
18 |
78 |
4 |
| pkey_dh_ctrl_str |
|
17 |
32 |
213 |
3 |
| pkey_dh_paramgen |
|
4 |
22 |
111 |
2 |
| pkey_dh_keygen |
|
4 |
15 |
82 |
2 |
| pkey_dh_derive |
|
4 |
14 |
84 |
3 |
| Source file: ./lib/libcrypto/dh/dh_prn.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| DHparams_print_fp |
|
2 |
13 |
71 |
2 |
| Source file: ./lib/libcrypto/ts/ts_rsp_sign.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| def_serial_cb |
|
3 |
14 |
64 |
2 |
| def_time_cb |
|
2 |
14 |
80 |
4 |
| def_extension_cb |
|
1 |
7 |
36 |
3 |
| TS_RESP_CTX_new |
|
2 |
12 |
58 |
1 |
| TS_RESP_CTX_free |
|
2 |
15 |
87 |
1 |
| TS_RESP_CTX_set_signer_cert |
|
2 |
11 |
66 |
2 |
| TS_RESP_CTX_set_signer_key |
|
1 |
7 |
43 |
2 |
| TS_RESP_CTX_set_def_policy |
|
3 |
11 |
55 |
2 |
| TS_RESP_CTX_set_certs |
|
5 |
19 |
122 |
2 |
| TS_RESP_CTX_add_policy |
|
4 |
15 |
87 |
2 |
| TS_RESP_CTX_add_md |
|
3 |
11 |
66 |
2 |
| TS_RESP_CTX_set_accuracy |
|
7 |
18 |
130 |
4 |
| TS_RESP_CTX_add_flags |
|
1 |
4 |
17 |
2 |
| TS_RESP_CTX_set_serial_cb |
|
1 |
5 |
27 |
3 |
| TS_RESP_CTX_set_extension_cb |
|
1 |
5 |
27 |
3 |
| TS_RESP_CTX_set_status_info |
|
10 |
29 |
179 |
3 |
| TS_RESP_CTX_set_status_info_cond |
|
2 |
9 |
59 |
3 |
| TS_RESP_CTX_add_failure_info |
|
3 |
12 |
73 |
2 |
| TS_RESP_CTX_get_request |
|
1 |
4 |
13 |
1 |
| TS_RESP_CTX_get_tst_info |
|
1 |
4 |
13 |
1 |
| TS_RESP_CTX_set_clock_precision_digits |
|
2 |
7 |
29 |
2 |
| TS_RESP_create_response |
|
12 |
47 |
250 |
2 |
| TS_RESP_CTX_init |
|
1 |
6 |
26 |
1 |
| TS_RESP_CTX_cleanup |
|
1 |
9 |
47 |
1 |
| TS_RESP_check_request |
|
9 |
47 |
249 |
1 |
| TS_RESP_get_policy |
|
8 |
25 |
149 |
1 |
| TS_RESP_create_tst_info |
|
30 |
71 |
478 |
2 |
| TS_RESP_process_extensions |
|
3 |
11 |
80 |
1 |
| TS_RESP_sign |
|
18 |
77 |
451 |
1 |
| ESS_SIGNING_CERT_new_init |
|
8 |
24 |
164 |
2 |
| ESS_CERT_ID_new_init |
|
9 |
34 |
217 |
2 |
| TS_TST_INFO_content_new |
|
5 |
21 |
123 |
1 |
| ESS_add_signing_cert |
|
4 |
25 |
141 |
2 |
| TS_RESP_set_genTime_with_precision |
|
11 |
40 |
266 |
4 |
| Source file: ./lib/libcrypto/dh/dh_err.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ERR_load_DH_strings |
|
2 |
8 |
36 |
1 |
| Source file: ./lib/libcrypto/sha/sha_locl.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| SHA1_Init |
|
1 |
10 |
54 |
1 |
| HASH_BLOCK_DATA_ORDER |
|
6 |
134 |
3807 |
3 |
| HASH_BLOCK_DATA_ORDER |
|
8 |
36 |
451 |
3 |
| Source file: ./lib/libcrypto/dh/dh_check.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| DH_check |
|
13 |
41 |
252 |
2 |
| DH_check_pub_key |
|
4 |
17 |
107 |
3 |
| Source file: ./lib/libcrypto/dh/dh_key.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| DH_generate_key |
|
1 |
4 |
18 |
1 |
| DH_compute_key |
|
1 |
4 |
32 |
3 |
| DH_OpenSSL |
|
1 |
4 |
10 |
1 |
| generate_key |
|
21 |
64 |
371 |
1 |
| compute_key |
|
11 |
45 |
258 |
3 |
| dh_bn_mod_exp |
|
1 |
5 |
52 |
7 |
| dh_init |
|
1 |
5 |
17 |
1 |
| dh_finish |
|
1 |
5 |
18 |
1 |
| Source file: ./lib/libcrypto/dh/dh.h |
| Source file: ./lib/libcrypto/dh/dh_depr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| DH_generate_parameters |
|
3 |
13 |
87 |
4 |
| Source file: ./lib/libcrypto/dh/dh_lib.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| DH_set_default_method |
|
1 |
4 |
13 |
1 |
| DH_get_default_method |
|
2 |
6 |
20 |
1 |
| DH_set_method |
|
4 |
15 |
80 |
2 |
| DH_new |
|
1 |
4 |
12 |
1 |
| DH_new_method |
|
9 |
52 |
305 |
1 |
| DH_free |
|
5 |
23 |
145 |
1 |
| DH_up_ref |
|
2 |
5 |
32 |
1 |
| DH_get_ex_new_index |
|
1 |
6 |
39 |
5 |
| DH_set_ex_data |
|
1 |
4 |
28 |
3 |
| DH_get_ex_data |
|
1 |
4 |
22 |
2 |
| DH_size |
|
1 |
4 |
17 |
1 |
| Source file: ./lib/libcrypto/dh/dh_asn1.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dh_cb |
|
4 |
14 |
80 |
4 |
| d2i_DHparams |
|
1 |
5 |
38 |
3 |
| i2d_DHparams |
|
1 |
4 |
29 |
2 |
| d2i_DHparams_bio |
|
1 |
4 |
23 |
2 |
| i2d_DHparams_bio |
|
1 |
4 |
23 |
2 |
| d2i_DHparams_fp |
|
1 |
4 |
23 |
2 |
| i2d_DHparams_fp |
|
1 |
4 |
23 |
2 |
| DHparams_dup |
|
1 |
4 |
17 |
1 |
| Source file: ./lib/libcrypto/des/cfb64enc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| DES_cfb64_encrypt |
|
6 |
54 |
393 |
7 |
| Source file: ./lib/libcrypto/des/ecb_enc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| DES_options |
|
8 |
24 |
115 |
1 |
| DES_ecb_encrypt |
|
1 |
14 |
136 |
4 |
| Source file: ./lib/libcrypto/des/cbc_enc.c |
| Source file: ./lib/libcrypto/des/ecb3_enc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| DES_ecb3_encrypt |
|
2 |
22 |
150 |
6 |
| Source file: ./lib/libcrypto/des/ncbc_enc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| DES_ncbc_encrypt |
|
6 |
70 |
546 |
6 |
| Source file: ./lib/libcrypto/des/rand_key.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| DES_random_key |
|
2 |
8 |
39 |
1 |
| Source file: ./lib/libcrypto/des/ofb64ede.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| DES_ede3_ofb64_encrypt |
|
4 |
46 |
282 |
8 |
| Source file: ./lib/libcrypto/ec/ecp_nistz256_table.h |
| Source file: ./lib/libcrypto/des/des_enc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| DES_encrypt1 |
|
7 |
67 |
522 |
3 |
| DES_encrypt2 |
|
7 |
63 |
500 |
3 |
| DES_encrypt3 |
|
1 |
18 |
134 |
4 |
| DES_decrypt3 |
|
1 |
18 |
134 |
4 |
| DES_ede3_cbc_encrypt |
|
6 |
97 |
611 |
8 |
| Source file: ./lib/libcrypto/des/qud_cksm.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| DES_quad_cksum |
|
7 |
42 |
354 |
5 |
| Source file: ./lib/libcrypto/des/des_locl.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ROTATE |
|
1 |
4 |
29 |
2 |
| Source file: ./lib/libcrypto/des/xcbc_enc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| DES_xcbc_encrypt |
|
6 |
81 |
646 |
8 |
| Source file: ./lib/libcrypto/dh/dh_ameth.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| int_dh_free |
|
1 |
4 |
17 |
1 |
| dh_pub_decode |
|
7 |
41 |
234 |
2 |
| dh_pub_encode |
|
6 |
37 |
198 |
2 |
| dh_priv_decode |
|
7 |
37 |
222 |
2 |
| dh_priv_encode |
|
5 |
35 |
196 |
2 |
| update_buflen |
|
3 |
8 |
45 |
2 |
| dh_param_decode |
|
2 |
10 |
57 |
3 |
| dh_param_encode |
|
1 |
4 |
26 |
2 |
| do_dh_print |
|
15 |
60 |
376 |
5 |
| int_dh_size |
|
1 |
4 |
19 |
1 |
| dh_bits |
|
1 |
4 |
21 |
1 |
| dh_cmp_parameters |
|
3 |
8 |
61 |
2 |
| dh_copy_parameters |
|
3 |
13 |
106 |
2 |
| dh_missing_parameters |
|
3 |
6 |
35 |
1 |
| dh_pub_cmp |
|
3 |
9 |
58 |
2 |
| dh_param_print |
|
1 |
4 |
38 |
4 |
| dh_public_print |
|
1 |
4 |
38 |
4 |
| dh_private_print |
|
1 |
4 |
38 |
4 |
| DHparams_print |
|
1 |
4 |
27 |
2 |
| Source file: ./lib/libcrypto/des/cfb_enc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| DES_cfb_encrypt |
|
19 |
99 |
770 |
7 |
| Source file: ./lib/libcrypto/des/enc_writ.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| DES_enc_write |
|
17 |
70 |
422 |
5 |
| Source file: ./lib/libcrypto/des/cbc_cksm.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| DES_cbc_cksum |
|
4 |
38 |
275 |
5 |
| Source file: ./lib/libcrypto/des/des.h |
| Source file: ./lib/libcrypto/des/cfb64ede.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| DES_ede3_cfb64_encrypt |
|
6 |
63 |
405 |
9 |
| DES_ede3_cfb_encrypt |
|
15 |
96 |
685 |
9 |
| Source file: ./lib/libcrypto/des/pcbc_enc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| DES_pcbc_encrypt |
|
6 |
61 |
380 |
6 |
| Source file: ./lib/libcrypto/des/str2key.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| DES_string_to_key |
|
7 |
31 |
288 |
2 |
| DES_string_to_2keys |
|
15 |
63 |
521 |
3 |
| Source file: ./lib/libcrypto/des/fcrypt_b.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fcrypt_body |
|
4 |
51 |
390 |
4 |
| Source file: ./lib/libcrypto/des/ofb_enc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| DES_ofb_encrypt |
|
9 |
65 |
490 |
6 |
| Source file: ./lib/libcrypto/des/ofb64enc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| DES_ofb64_encrypt |
|
4 |
44 |
283 |
6 |
| Source file: ./lib/libcrypto/des/spr.h |
| Source file: ./lib/libcrypto/des/enc_read.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| DES_enc_read |
|
28 |
101 |
596 |
5 |
| Source file: ./lib/libcrypto/des/ede_cbcm_enc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| DES_ede3_cbcm_encrypt |
|
6 |
110 |
706 |
9 |
| Source file: ./lib/libcrypto/des/fcrypt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| DES_crypt |
|
1 |
5 |
33 |
2 |
| DES_fcrypt |
|
10 |
48 |
359 |
3 |
| Source file: ./lib/libcrypto/modes/ofb128.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| CRYPTO_ofb128_encrypt |
|
14 |
46 |
330 |
7 |
| Source file: ./lib/libcrypto/modes/xts128.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| CRYPTO_xts128_encrypt |
|
17 |
90 |
1160 |
6 |
| Source file: ./lib/libcrypto/modes/cfb128.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| CRYPTO_cfb128_encrypt |
|
28 |
92 |
688 |
8 |
| cfbr_encrypt_block |
|
8 |
25 |
250 |
7 |
| CRYPTO_cfb128_1_encrypt |
|
3 |
15 |
173 |
8 |
| CRYPTO_cfb128_8_encrypt |
|
2 |
9 |
81 |
8 |
| Source file: ./lib/libcrypto/des/set_key.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| DES_set_odd_parity |
|
2 |
6 |
44 |
1 |
| DES_check_key_parity |
|
3 |
10 |
58 |
1 |
| DES_is_weak_key |
|
3 |
8 |
50 |
1 |
| DES_set_key |
|
2 |
12 |
39 |
2 |
| DES_set_key_checked |
|
3 |
9 |
49 |
2 |
| DES_set_key_unchecked |
|
3 |
43 |
605 |
2 |
| DES_key_sched |
|
1 |
4 |
22 |
2 |
| Source file: ./lib/libcrypto/modes/modes_lcl.h |
| Source file: ./lib/libcrypto/modes/cbc128.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| CRYPTO_cbc128_encrypt |
|
13 |
43 |
330 |
6 |
| CRYPTO_cbc128_decrypt |
|
22 |
81 |
635 |
6 |
| Source file: ./lib/libcrypto/modes/ctr128.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ctr128_inc |
|
3 |
11 |
51 |
1 |
| ctr128_inc_aligned |
|
4 |
15 |
73 |
1 |
| CRYPTO_ctr128_encrypt |
|
14 |
50 |
361 |
8 |
| ctr96_inc |
|
3 |
11 |
51 |
1 |
| CRYPTO_ctr128_encrypt_ctr32 |
|
11 |
44 |
316 |
8 |
| Source file: ./lib/libcrypto/modes/cts128.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| CRYPTO_cts128_encrypt_block |
|
4 |
17 |
152 |
6 |
| CRYPTO_nistcts128_encrypt_block |
|
4 |
17 |
142 |
6 |
| CRYPTO_cts128_encrypt |
|
3 |
17 |
169 |
6 |
| CRYPTO_nistcts128_encrypt |
|
3 |
17 |
159 |
6 |
| CRYPTO_cts128_decrypt_block |
|
6 |
26 |
258 |
6 |
| CRYPTO_nistcts128_decrypt_block |
|
6 |
31 |
292 |
6 |
| CRYPTO_cts128_decrypt |
|
4 |
20 |
207 |
6 |
| CRYPTO_nistcts128_decrypt |
|
4 |
24 |
226 |
6 |
| Source file: ./lib/libcrypto/modes/modes.h |
| Source file: ./lib/libcrypto/camellia/cmll_ofb.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| Camellia_ofb128_encrypt |
|
1 |
6 |
52 |
6 |
| Source file: ./lib/libcrypto/camellia/cmll_ecb.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| Camellia_ecb_encrypt |
|
2 |
8 |
49 |
4 |
| Source file: ./lib/libcrypto/camellia/cmll_misc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| Camellia_set_key |
|
6 |
10 |
70 |
3 |
| Camellia_encrypt |
|
1 |
5 |
37 |
3 |
| Camellia_decrypt |
|
1 |
5 |
37 |
3 |
| Source file: ./lib/libcrypto/camellia/cmll_ctr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| Camellia_ctr128_encrypt |
|
1 |
8 |
64 |
7 |
| Source file: ./lib/libcrypto/camellia/cmll_cbc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| Camellia_cbc_encrypt |
|
2 |
10 |
73 |
6 |
| Source file: ./lib/libcrypto/camellia/cmll_cfb.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| Camellia_cfb128_encrypt |
|
1 |
7 |
58 |
7 |
| Camellia_cfb1_encrypt |
|
1 |
7 |
58 |
7 |
| Camellia_cfb8_encrypt |
|
1 |
7 |
58 |
7 |
| Source file: ./lib/libcrypto/camellia/camellia.h |
| Source file: ./lib/libcrypto/camellia/cmll_locl.h |
| Source file: ./lib/libcrypto/modes/ccm128.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| CRYPTO_ccm128_init |
|
1 |
9 |
103 |
5 |
| CRYPTO_ccm128_setiv |
|
4 |
21 |
300 |
4 |
| CRYPTO_ccm128_aad |
|
8 |
43 |
542 |
3 |
| ctr64_inc |
|
3 |
12 |
56 |
1 |
| CRYPTO_ccm128_encrypt |
|
12 |
57 |
697 |
4 |
| CRYPTO_ccm128_decrypt |
|
10 |
50 |
611 |
4 |
| ctr64_add |
|
4 |
11 |
76 |
2 |
| CRYPTO_ccm128_encrypt_ccm64 |
|
11 |
46 |
507 |
5 |
| CRYPTO_ccm128_decrypt_ccm64 |
|
9 |
43 |
449 |
5 |
| CRYPTO_ccm128_tag |
|
2 |
7 |
69 |
3 |
| Source file: ./lib/libcrypto/pkcs12/p12_crpt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| PKCS12_PBE_add |
|
1 |
3 |
6 |
1 |
| PKCS12_PBE_keyivgen |
|
9 |
45 |
321 |
7 |
| Source file: ./lib/libcrypto/pkcs12/p12_decr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| PKCS12_pbe_crypt |
|
7 |
39 |
229 |
8 |
| PKCS12_item_decrypt_d2i |
|
4 |
21 |
131 |
6 |
| PKCS12_item_i2d_encrypt |
|
5 |
30 |
162 |
6 |
| Source file: ./lib/libcrypto/pkcs12/pk12err.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ERR_load_PKCS12_strings |
|
2 |
7 |
36 |
1 |
| Source file: ./lib/libcrypto/pkcs12/p12_key.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| PKCS12_key_gen_asc |
|
4 |
21 |
134 |
9 |
| PKCS12_key_gen_uni |
|
34 |
93 |
708 |
9 |
| Source file: ./lib/libcrypto/pkcs12/p12_asn.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| d2i_PKCS12 |
|
1 |
5 |
38 |
3 |
| i2d_PKCS12 |
|
1 |
4 |
28 |
2 |
| PKCS12_new |
|
1 |
4 |
17 |
1 |
| PKCS12_free |
|
1 |
4 |
20 |
1 |
| d2i_PKCS12_MAC_DATA |
|
1 |
5 |
38 |
3 |
| i2d_PKCS12_MAC_DATA |
|
1 |
4 |
28 |
2 |
| PKCS12_MAC_DATA_new |
|
1 |
4 |
17 |
1 |
| PKCS12_MAC_DATA_free |
|
1 |
4 |
20 |
1 |
| d2i_PKCS12_BAGS |
|
1 |
5 |
38 |
3 |
| i2d_PKCS12_BAGS |
|
1 |
4 |
28 |
2 |
| PKCS12_BAGS_new |
|
1 |
4 |
17 |
1 |
| PKCS12_BAGS_free |
|
1 |
4 |
20 |
1 |
| d2i_PKCS12_SAFEBAG |
|
1 |
5 |
38 |
3 |
| i2d_PKCS12_SAFEBAG |
|
1 |
4 |
28 |
2 |
| PKCS12_SAFEBAG_new |
|
1 |
4 |
17 |
1 |
| PKCS12_SAFEBAG_free |
|
1 |
4 |
20 |
1 |
| Source file: ./lib/libcrypto/pkcs12/p12_attr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| PKCS12_add_localkeyid |
|
2 |
8 |
41 |
3 |
| PKCS8_add_keyusage |
|
2 |
10 |
49 |
2 |
| PKCS12_add_friendlyname_asc |
|
2 |
8 |
46 |
3 |
| PKCS12_add_friendlyname_uni |
|
2 |
9 |
42 |
3 |
| PKCS12_add_CSPName_asc |
|
2 |
8 |
46 |
3 |
| PKCS12_get_attr_gen |
|
5 |
17 |
99 |
2 |
| PKCS12_get_friendlyname |
|
3 |
10 |
60 |
1 |
| Source file: ./lib/libcrypto/pkcs12/p12_p8d.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| PKCS8_decrypt |
|
1 |
5 |
37 |
3 |
| Source file: ./lib/libcrypto/pkcs12/pkcs12.h |
| Source file: ./lib/libcrypto/pkcs12/p12_p8e.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| PKCS8_encrypt |
|
5 |
32 |
185 |
8 |
| Source file: ./lib/libcrypto/pkcs12/p12_mutl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| PKCS12_gen_mac |
|
10 |
44 |
294 |
5 |
| PKCS12_verify_mac |
|
5 |
17 |
115 |
3 |
| PKCS12_set_mac |
|
5 |
22 |
141 |
7 |
| PKCS12_setup_mac |
|
9 |
34 |
242 |
5 |
| Source file: ./lib/libcrypto/pkcs12/p12_add.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| PKCS12_item_pack_safebag |
|
4 |
23 |
135 |
4 |
| PKCS12_MAKE_KEYBAG |
|
2 |
11 |
53 |
1 |
| PKCS12_MAKE_SHKEYBAG |
|
4 |
21 |
133 |
7 |
| PKCS12_pack_p7data |
|
4 |
21 |
111 |
1 |
| PKCS12_unpack_p7data |
|
2 |
8 |
39 |
1 |
| PKCS12_pack_p7encdata |
|
6 |
36 |
232 |
7 |
| PKCS12_unpack_p7encdata |
|
2 |
8 |
60 |
3 |
| PKCS12_decrypt_skey |
|
1 |
4 |
30 |
3 |
| PKCS12_pack_authsafes |
|
2 |
7 |
40 |
2 |
| PKCS12_unpack_authsafes |
|
2 |
9 |
43 |
1 |
| Source file: ./lib/libcrypto/pkcs12/p12_kiss.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| PKCS12_parse |
|
27 |
66 |
361 |
5 |
| parse_pk12 |
|
7 |
32 |
208 |
5 |
| parse_bags |
|
3 |
11 |
78 |
5 |
| parse_bag |
|
22 |
66 |
383 |
5 |
| Source file: ./lib/libcrypto/pkcs12/p12_init.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| PKCS12_init |
|
5 |
27 |
119 |
1 |
| Source file: ./lib/libcrypto/pkcs12/p12_crt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| copy_bag_attr |
|
3 |
12 |
71 |
3 |
| PKCS12_create |
|
36 |
79 |
532 |
10 |
| PKCS12_add_cert |
|
8 |
23 |
145 |
2 |
| PKCS12_add_key |
|
10 |
31 |
175 |
6 |
| PKCS12_add_safe |
|
9 |
33 |
173 |
5 |
| pkcs12_add_bag |
|
6 |
21 |
95 |
2 |
| PKCS12_add_safes |
|
4 |
14 |
66 |
2 |
| Source file: ./lib/libcrypto/pkcs12/p12_utl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| OPENSSL_asc2uni |
|
8 |
30 |
179 |
4 |
| OPENSSL_uni2asc |
|
6 |
19 |
119 |
2 |
| i2d_PKCS12_bio |
|
1 |
4 |
23 |
2 |
| i2d_PKCS12_fp |
|
1 |
4 |
23 |
2 |
| d2i_PKCS12_bio |
|
1 |
4 |
23 |
2 |
| d2i_PKCS12_fp |
|
1 |
4 |
23 |
2 |
| PKCS12_x5092certbag |
|
1 |
5 |
21 |
1 |
| PKCS12_x509crl2certbag |
|
1 |
5 |
21 |
1 |
| PKCS12_certbag2x509 |
|
3 |
9 |
57 |
1 |
| PKCS12_certbag2x509crl |
|
3 |
9 |
57 |
1 |
| Source file: ./lib/libcrypto/rand/randfile.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| RAND_load_file |
|
2 |
7 |
26 |
2 |
| RAND_write_file |
|
10 |
37 |
214 |
1 |
| RAND_file_name |
|
2 |
6 |
32 |
2 |
| Source file: ./lib/libcrypto/pkcs12/p12_npas.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| PKCS12_newpass |
|
4 |
16 |
79 |
3 |
| newpass_p12 |
|
17 |
73 |
509 |
3 |
| newpass_bags |
|
3 |
10 |
63 |
3 |
| newpass_bag |
|
5 |
18 |
145 |
3 |
| alg_get |
|
2 |
14 |
107 |
4 |
| Source file: ./lib/libcrypto/rand/rand_err.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ERR_load_RAND_strings |
|
2 |
7 |
36 |
1 |
| Source file: ./lib/libcrypto/rand/rand_lib.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| RAND_set_rand_method |
|
1 |
4 |
12 |
1 |
| RAND_get_rand_method |
|
1 |
4 |
9 |
1 |
| RAND_SSLeay |
|
1 |
4 |
9 |
1 |
| RAND_set_rand_engine |
|
1 |
4 |
11 |
1 |
| RAND_cleanup |
|
1 |
3 |
6 |
1 |
| RAND_seed |
|
1 |
3 |
12 |
2 |
| RAND_add |
|
1 |
3 |
15 |
3 |
| RAND_status |
|
1 |
4 |
9 |
1 |
| RAND_poll |
|
1 |
4 |
9 |
1 |
| RAND_bytes |
|
2 |
6 |
28 |
2 |
| RAND_pseudo_bytes |
|
2 |
6 |
28 |
2 |
| Source file: ./lib/libcrypto/rc4/rc4_locl.h |
| Source file: ./lib/libcrypto/rand/rand.h |
| Source file: ./lib/libcrypto/rc4/rc4_skey.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| RC4_options |
|
4 |
11 |
46 |
1 |
| RC4_set_key |
|
3 |
19 |
135 |
3 |
| Source file: ./lib/libcrypto/rc4/rc4.h |
| Source file: ./lib/libcrypto/rc4/rc4_enc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| RC4 |
|
21 |
91 |
648 |
4 |
| Source file: ./lib/libcrypto/objects/obj_xref.h |
| Source file: ./lib/libcrypto/camellia/camellia.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| Camellia_Ekeygen |
|
4 |
93 |
1628 |
3 |
| Camellia_EncryptBlock_Rounds |
|
3 |
32 |
325 |
4 |
| Camellia_EncryptBlock |
|
2 |
6 |
39 |
4 |
| Camellia_DecryptBlock_Rounds |
|
3 |
32 |
327 |
4 |
| Camellia_DecryptBlock |
|
2 |
6 |
39 |
4 |
| Source file: ./lib/libcrypto/objects/obj_xref.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sig_cmp |
|
1 |
4 |
23 |
2 |
| sig_cmp_BSEARCH_CMP_FN |
|
1 |
6 |
36 |
2 |
| OBJ_bsearch_sig |
|
1 |
5 |
37 |
3 |
| sig_sk_cmp |
|
1 |
4 |
33 |
2 |
| sigx_cmp |
|
2 |
8 |
59 |
2 |
| sigx_cmp_BSEARCH_CMP_FN |
|
1 |
6 |
40 |
2 |
| OBJ_bsearch_sigx |
|
1 |
5 |
45 |
3 |
| OBJ_find_sigid_algs |
|
7 |
22 |
125 |
3 |
| OBJ_find_sigid_by_algs |
|
6 |
24 |
138 |
3 |
| OBJ_add_sigid |
|
8 |
27 |
143 |
3 |
| sid_free |
|
1 |
4 |
13 |
1 |
| OBJ_sigid_free |
|
3 |
11 |
38 |
1 |
| Source file: ./lib/libcrypto/objects/objects.h |
| Source file: ./lib/libcrypto/objects/obj_err.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ERR_load_OBJ_strings |
|
2 |
7 |
36 |
1 |
| Source file: ./lib/libcrypto/objects/obj_lib.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| OBJ_dup |
|
10 |
46 |
278 |
1 |
| OBJ_cmp |
|
2 |
8 |
56 |
2 |
| Source file: ./lib/libcrypto/objects/o_names.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| OBJ_NAME_init |
|
2 |
7 |
29 |
1 |
| OBJ_NAME_new_index |
|
9 |
37 |
229 |
3 |
| obj_name_cmp |
|
4 |
16 |
121 |
2 |
| obj_name_hash |
|
3 |
14 |
87 |
1 |
| OBJ_NAME_get |
|
9 |
25 |
147 |
2 |
| OBJ_NAME_add |
|
8 |
32 |
191 |
3 |
| OBJ_NAME_remove |
|
5 |
21 |
124 |
2 |
| do_all_fn_doall_arg |
|
2 |
5 |
35 |
2 |
| OBJ_NAME_do_all |
|
1 |
9 |
63 |
3 |
| do_all_sorted_fn |
|
2 |
7 |
44 |
2 |
| do_all_sorted_cmp |
|
1 |
6 |
50 |
2 |
| OBJ_NAME_do_all_sorted |
|
3 |
17 |
142 |
3 |
| names_lh_free_doall |
|
4 |
7 |
39 |
1 |
| name_funcs_free |
|
1 |
4 |
12 |
1 |
| OBJ_NAME_cleanup |
|
3 |
17 |
83 |
1 |
| Source file: ./lib/libcrypto/stack/stack.h |
| Source file: ./lib/libcrypto/stack/stack.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| int( * sk_set_cmp_func(_STACK*sk,int(*c)(constvoid*,constvoid*))) |
|
2 |
9 |
53 |
2 |
| sk_dup |
|
4 |
21 |
142 |
1 |
| sk_new_null |
|
1 |
4 |
27 |
1 |
| sk_new |
|
4 |
19 |
134 |
1 |
| sk_insert |
|
6 |
23 |
185 |
3 |
| sk_delete_ptr |
|
3 |
8 |
56 |
2 |
| sk_delete |
|
5 |
13 |
109 |
2 |
| internal_find |
|
7 |
21 |
155 |
3 |
| sk_find |
|
1 |
4 |
22 |
2 |
| sk_find_ex |
|
1 |
4 |
22 |
2 |
| sk_push |
|
1 |
4 |
26 |
2 |
| sk_unshift |
|
1 |
4 |
24 |
2 |
| sk_shift |
|
3 |
8 |
42 |
1 |
| sk_pop |
|
3 |
8 |
46 |
1 |
| sk_zero |
|
3 |
9 |
52 |
1 |
| sk_pop_free |
|
4 |
10 |
70 |
2 |
| sk_free |
|
2 |
7 |
28 |
1 |
| sk_num |
|
2 |
6 |
24 |
1 |
| sk_value |
|
4 |
6 |
42 |
2 |
| sk_set |
|
4 |
6 |
49 |
3 |
| sk_sort |
|
3 |
9 |
82 |
1 |
| sk_is_sorted |
|
2 |
6 |
22 |
1 |
| Source file: ./lib/libcrypto/err/err_prn.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ERR_print_errors_cb |
|
4 |
20 |
163 |
2 |
| print_fp |
|
1 |
7 |
50 |
3 |
| ERR_print_errors_fp |
|
1 |
4 |
15 |
1 |
| print_bio |
|
1 |
4 |
30 |
3 |
| ERR_print_errors |
|
1 |
4 |
15 |
1 |
| Source file: ./lib/libcrypto/err/err.h |
| Source file: ./lib/libcrypto/err/err_all.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ERR_load_crypto_strings |
|
1 |
30 |
114 |
1 |
| Source file: ./lib/libcrypto/engine/eng_lib.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ENGINE_new |
|
2 |
14 |
77 |
1 |
| engine_set_all_null |
|
1 |
20 |
110 |
1 |
| engine_free_util |
|
5 |
22 |
118 |
2 |
| ENGINE_free |
|
1 |
4 |
16 |
1 |
| int_cleanup_check |
|
4 |
9 |
37 |
1 |
| int_cleanup_item |
|
2 |
8 |
37 |
1 |
| engine_cleanup_add_first |
|
3 |
9 |
42 |
1 |
| engine_cleanup_add_last |
|
3 |
9 |
40 |
1 |
| engine_cleanup_cb_free |
|
1 |
5 |
24 |
1 |
| ENGINE_cleanup |
|
2 |
9 |
31 |
1 |
| ENGINE_get_ex_new_index |
|
1 |
6 |
39 |
5 |
| ENGINE_set_ex_data |
|
1 |
4 |
30 |
3 |
| ENGINE_get_ex_data |
|
1 |
4 |
25 |
2 |
| ENGINE_set_id |
|
2 |
9 |
38 |
2 |
| ENGINE_set_name |
|
2 |
9 |
38 |
2 |
| ENGINE_set_destroy_function |
|
1 |
5 |
20 |
2 |
| ENGINE_set_init_function |
|
1 |
5 |
20 |
2 |
| ENGINE_set_finish_function |
|
1 |
5 |
20 |
2 |
| ENGINE_set_ctrl_function |
|
1 |
5 |
20 |
2 |
| ENGINE_set_flags |
|
1 |
5 |
20 |
2 |
| ENGINE_set_cmd_defns |
|
1 |
5 |
22 |
2 |
| ENGINE_get_id |
|
1 |
4 |
14 |
1 |
| ENGINE_get_name |
|
1 |
4 |
14 |
1 |
| ENGINE_get_destroy_function |
|
1 |
4 |
14 |
1 |
| ENGINE_get_init_function |
|
1 |
4 |
14 |
1 |
| ENGINE_get_finish_function |
|
1 |
4 |
14 |
1 |
| ENGINE_get_ctrl_function |
|
1 |
4 |
14 |
1 |
| ENGINE_get_flags |
|
1 |
4 |
14 |
1 |
| ENGINE_get_cmd_defns |
|
1 |
4 |
14 |
1 |
| ENGINE_get_static_state |
|
1 |
4 |
10 |
1 |
| Source file: ./lib/libcrypto/objects/obj_dat.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sn_cmp |
|
1 |
4 |
38 |
2 |
| sn_cmp_BSEARCH_CMP_FN |
|
1 |
6 |
39 |
2 |
| OBJ_bsearch_sn |
|
1 |
5 |
42 |
3 |
| ln_cmp |
|
1 |
4 |
38 |
2 |
| ln_cmp_BSEARCH_CMP_FN |
|
1 |
6 |
39 |
2 |
| OBJ_bsearch_ln |
|
1 |
5 |
42 |
3 |
| added_obj_hash |
|
6 |
30 |
162 |
1 |
| added_obj_cmp |
|
11 |
35 |
218 |
2 |
| init_added |
|
2 |
7 |
29 |
1 |
| cleanup1_doall |
|
1 |
7 |
28 |
1 |
| cleanup2_doall |
|
1 |
4 |
15 |
1 |
| cleanup3_doall |
|
2 |
6 |
31 |
1 |
| check_defer |
|
3 |
5 |
19 |
1 |
| OBJ_cleanup |
|
3 |
15 |
72 |
1 |
| OBJ_new_nid |
|
1 |
7 |
23 |
1 |
| OBJ_add_object |
|
15 |
41 |
308 |
1 |
| OBJ_nid2obj |
|
7 |
25 |
148 |
1 |
| OBJ_nid2sn |
|
7 |
25 |
145 |
1 |
| OBJ_nid2ln |
|
7 |
25 |
145 |
1 |
| obj_cmp |
|
2 |
10 |
79 |
2 |
| obj_cmp_BSEARCH_CMP_FN |
|
1 |
6 |
39 |
2 |
| OBJ_bsearch_obj |
|
1 |
5 |
42 |
3 |
| OBJ_obj2nid |
|
6 |
20 |
130 |
1 |
| OBJ_txt2obj |
|
6 |
28 |
191 |
2 |
| OBJ_obj2txt |
|
31 |
107 |
582 |
4 |
| OBJ_txt2nid |
|
1 |
9 |
40 |
1 |
| OBJ_ln2nid |
|
4 |
19 |
118 |
1 |
| OBJ_sn2nid |
|
4 |
19 |
118 |
1 |
| OBJ_bsearch_ |
|
1 |
5 |
51 |
5 |
| OBJ_bsearch_ex_ |
|
11 |
30 |
234 |
6 |
| OBJ_create_objects |
|
17 |
45 |
291 |
1 |
| OBJ_create |
|
5 |
25 |
166 |
3 |
| Source file: ./lib/libcrypto/engine/tb_cipher.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ENGINE_unregister_ciphers |
|
1 |
4 |
16 |
1 |
| engine_unregister_all_ciphers |
|
1 |
4 |
12 |
1 |
| ENGINE_register_ciphers |
|
3 |
12 |
64 |
1 |
| ENGINE_register_all_ciphers |
|
2 |
6 |
32 |
1 |
| ENGINE_set_default_ciphers |
|
3 |
12 |
64 |
1 |
| ENGINE_get_cipher_engine |
|
1 |
4 |
16 |
1 |
| ENGINE_get_cipher |
|
3 |
10 |
55 |
2 |
| ENGINE_get_ciphers |
|
1 |
4 |
14 |
1 |
| ENGINE_set_ciphers |
|
1 |
5 |
20 |
2 |
| Source file: ./lib/libcrypto/engine/eng_fat.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ENGINE_set_default |
|
21 |
26 |
185 |
2 |
| int_def_cb |
|
13 |
32 |
247 |
3 |
| ENGINE_set_default_string |
|
2 |
10 |
61 |
2 |
| ENGINE_register_complete |
|
1 |
13 |
56 |
1 |
| ENGINE_register_all_complete |
|
3 |
8 |
46 |
1 |
| Source file: ./lib/libcrypto/engine/eng_pkey.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ENGINE_set_load_privkey_function |
|
1 |
5 |
20 |
2 |
| ENGINE_set_load_pubkey_function |
|
1 |
5 |
20 |
2 |
| ENGINE_set_load_ssl_client_cert_function |
|
1 |
6 |
20 |
2 |
| ENGINE_get_load_privkey_function |
|
1 |
4 |
14 |
1 |
| ENGINE_get_load_pubkey_function |
|
1 |
4 |
14 |
1 |
| ENGINE_get_ssl_client_cert_function |
|
1 |
4 |
14 |
1 |
| ENGINE_load_private_key |
|
5 |
26 |
124 |
4 |
| ENGINE_load_public_key |
|
5 |
26 |
124 |
4 |
| ENGINE_load_ssl_client_cert |
|
4 |
22 |
130 |
8 |
| Source file: ./lib/libcrypto/engine/tb_asnmth.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ENGINE_unregister_pkey_asn1_meths |
|
1 |
4 |
16 |
1 |
| engine_unregister_all_pkey_asn1_meths |
|
1 |
4 |
12 |
1 |
| ENGINE_register_pkey_asn1_meths |
|
3 |
12 |
64 |
1 |
| ENGINE_register_all_pkey_asn1_meths |
|
2 |
6 |
32 |
1 |
| ENGINE_set_default_pkey_asn1_meths |
|
3 |
12 |
64 |
1 |
| ENGINE_get_pkey_asn1_meth_engine |
|
1 |
4 |
16 |
1 |
| ENGINE_get_pkey_asn1_meth |
|
3 |
10 |
54 |
2 |
| ENGINE_get_pkey_asn1_meths |
|
1 |
4 |
14 |
1 |
| ENGINE_set_pkey_asn1_meths |
|
1 |
5 |
20 |
2 |
| engine_pkey_asn1_meths_free |
|
4 |
15 |
88 |
1 |
| ENGINE_get_pkey_asn1_meth_str |
|
6 |
18 |
136 |
3 |
| look_str_cb |
|
5 |
18 |
136 |
4 |
| ENGINE_pkey_asn1_find_str |
|
2 |
17 |
100 |
3 |
| Source file: ./lib/libcrypto/engine/tb_rand.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ENGINE_unregister_RAND |
|
1 |
4 |
16 |
1 |
| engine_unregister_all_RAND |
|
1 |
4 |
12 |
1 |
| ENGINE_register_RAND |
|
2 |
7 |
35 |
1 |
| ENGINE_register_all_RAND |
|
2 |
6 |
32 |
1 |
| ENGINE_set_default_RAND |
|
2 |
7 |
35 |
1 |
| ENGINE_get_default_RAND |
|
1 |
4 |
15 |
1 |
| ENGINE_get_RAND |
|
1 |
4 |
14 |
1 |
| ENGINE_set_RAND |
|
1 |
5 |
22 |
2 |
| Source file: ./lib/libcrypto/engine/tb_ecdh.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ENGINE_unregister_ECDH |
|
1 |
4 |
16 |
1 |
| engine_unregister_all_ECDH |
|
1 |
4 |
12 |
1 |
| ENGINE_register_ECDH |
|
2 |
7 |
35 |
1 |
| ENGINE_register_all_ECDH |
|
2 |
6 |
32 |
1 |
| ENGINE_set_default_ECDH |
|
2 |
7 |
35 |
1 |
| ENGINE_get_default_ECDH |
|
1 |
4 |
15 |
1 |
| ENGINE_get_ECDH |
|
1 |
4 |
14 |
1 |
| ENGINE_set_ECDH |
|
1 |
5 |
22 |
2 |
| Source file: ./lib/libcrypto/engine/tb_pkmeth.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ENGINE_unregister_pkey_meths |
|
1 |
4 |
16 |
1 |
| engine_unregister_all_pkey_meths |
|
1 |
4 |
12 |
1 |
| ENGINE_register_pkey_meths |
|
3 |
12 |
64 |
1 |
| ENGINE_register_all_pkey_meths |
|
2 |
6 |
32 |
1 |
| ENGINE_set_default_pkey_meths |
|
3 |
12 |
64 |
1 |
| ENGINE_get_pkey_meth_engine |
|
1 |
4 |
16 |
1 |
| ENGINE_get_pkey_meth |
|
3 |
10 |
54 |
2 |
| ENGINE_get_pkey_meths |
|
1 |
4 |
14 |
1 |
| ENGINE_set_pkey_meths |
|
1 |
5 |
20 |
2 |
| engine_pkey_meths_free |
|
4 |
15 |
88 |
1 |
| Source file: ./lib/libcrypto/modes/gcm128.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| gcm_init_8bit |
|
4 |
20 |
177 |
2 |
| gcm_gmult_8bit |
|
6 |
92 |
1595 |
2 |
| gcm_init_4bit |
|
10 |
54 |
744 |
2 |
| gcm_gmult_4bit |
|
7 |
41 |
442 |
2 |
| Source file: ./lib/libcrypto/engine/eng_ctrl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| int_ctrl_cmd_is_null |
|
3 |
6 |
33 |
1 |
| int_ctrl_cmd_by_name |
|
4 |
12 |
62 |
2 |
| int_ctrl_cmd_by_num |
|
4 |
11 |
57 |
2 |
| int_ctrl_helper |
|
25 |
71 |
497 |
5 |
| ENGINE_ctrl |
|
18 |
41 |
219 |
5 |
| ENGINE_cmd_is_executable |
|
5 |
14 |
74 |
2 |
| ENGINE_ctrl_cmd |
|
7 |
22 |
140 |
6 |
| ENGINE_ctrl_cmd_string |
|
18 |
60 |
347 |
4 |
| Source file: ./lib/libcrypto/err/err.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| err_fns_check |
|
3 |
9 |
32 |
1 |
| ERR_get_implementation |
|
1 |
5 |
13 |
1 |
| ERR_set_implementation |
|
2 |
11 |
42 |
1 |
| err_string_data_hash |
|
1 |
7 |
46 |
1 |
| err_string_data_cmp |
|
1 |
4 |
27 |
2 |
| int_err_get |
|
4 |
14 |
61 |
1 |
| int_err_del |
|
2 |
9 |
31 |
1 |
| int_err_get_item |
|
2 |
13 |
64 |
1 |
| int_err_set_item |
|
2 |
13 |
63 |
1 |
| int_err_del_item |
|
2 |
13 |
63 |
1 |
| err_state_hash |
|
1 |
4 |
20 |
1 |
| err_state_cmp |
|
1 |
4 |
27 |
2 |
| int_thread_get |
|
4 |
16 |
66 |
1 |
| int_thread_release |
|
4 |
10 |
53 |
1 |
| int_thread_get_item |
|
2 |
14 |
73 |
1 |
| int_thread_set_item |
|
2 |
14 |
72 |
1 |
| int_thread_del_item |
|
6 |
20 |
104 |
1 |
| int_err_get_next_lib |
|
1 |
8 |
27 |
1 |
| build_SYS_str_reasons |
|
7 |
34 |
194 |
1 |
| ERR_STATE_free |
|
3 |
10 |
46 |
1 |
| ERR_load_ERR_strings |
|
1 |
9 |
42 |
1 |
| err_load_strings |
|
3 |
9 |
47 |
2 |
| ERR_load_strings |
|
1 |
5 |
22 |
2 |
| ERR_unload_strings |
|
3 |
9 |
47 |
2 |
| ERR_free_strings |
|
1 |
5 |
17 |
1 |
| ERR_put_error |
|
2 |
15 |
138 |
5 |
| ERR_clear_error |
|
2 |
10 |
51 |
1 |
| ERR_get_error |
|
1 |
4 |
24 |
1 |
| ERR_get_error_line |
|
1 |
4 |
31 |
2 |
| ERR_get_error_line_data |
|
1 |
5 |
40 |
4 |
| ERR_peek_error |
|
1 |
4 |
24 |
1 |
| ERR_peek_error_line |
|
1 |
4 |
31 |
2 |
| ERR_peek_error_line_data |
|
1 |
5 |
40 |
4 |
| ERR_peek_last_error |
|
1 |
4 |
24 |
1 |
| ERR_peek_last_error_line |
|
1 |
4 |
31 |
2 |
| ERR_peek_last_error_line_data |
|
1 |
5 |
40 |
4 |
| get_error_values |
|
20 |
57 |
319 |
6 |
| ERR_error_string_n |
|
10 |
43 |
306 |
3 |
| ERR_error_string |
|
2 |
8 |
41 |
2 |
| ERR_get_string_table |
|
1 |
5 |
19 |
1 |
| ERR_get_err_state_table |
|
1 |
5 |
19 |
1 |
| ERR_release_err_state_table |
|
1 |
5 |
23 |
1 |
| ERR_lib_error_string |
|
2 |
10 |
68 |
1 |
| ERR_func_error_string |
|
2 |
11 |
77 |
1 |
| ERR_reason_error_string |
|
3 |
15 |
110 |
1 |
| ERR_remove_thread_state |
|
2 |
10 |
48 |
1 |
| ERR_remove_state |
|
1 |
4 |
13 |
1 |
| ERR_get_state |
|
6 |
31 |
192 |
1 |
| ERR_get_next_error_library |
|
1 |
5 |
18 |
1 |
| ERR_set_error_data |
|
2 |
12 |
67 |
2 |
| ERR_asprintf_error_data |
|
2 |
12 |
70 |
2 |
| ERR_add_error_vdata |
|
4 |
17 |
107 |
2 |
| ERR_add_error_data |
|
1 |
7 |
31 |
2 |
| ERR_set_mark |
|
2 |
9 |
43 |
1 |
| ERR_pop_to_mark |
|
5 |
16 |
102 |
1 |
| Source file: ./lib/libcrypto/engine/eng_int.h |
| Source file: ./lib/libcrypto/engine/eng_aesni.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ENGINE_load_aesni |
|
3 |
10 |
40 |
1 |
| aesni_cfb128_encrypt |
|
24 |
90 |
618 |
7 |
| aesni_ofb128_encrypt |
|
12 |
42 |
294 |
6 |
| aesni_bind_helper |
|
7 |
11 |
71 |
1 |
| ENGINE_aesni |
|
3 |
12 |
45 |
1 |
| aesni_init |
|
1 |
4 |
11 |
1 |
| aesni_init_key |
|
5 |
17 |
115 |
4 |
| aesni_cipher_ecb |
|
1 |
7 |
51 |
4 |
| aesni_cipher_cbc |
|
1 |
7 |
55 |
4 |
| aesni_cipher_cfb |
|
1 |
8 |
60 |
4 |
| aesni_cipher_ofb |
|
1 |
7 |
56 |
4 |
| aesni_ciphers |
|
14 |
49 |
187 |
4 |
| Source file: ./lib/libcrypto/engine/eng_init.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| engine_unlocked_init |
|
4 |
13 |
71 |
1 |
| engine_unlocked_finish |
|
7 |
20 |
105 |
2 |
| ENGINE_init |
|
2 |
12 |
47 |
1 |
| ENGINE_finish |
|
3 |
16 |
66 |
1 |
| Source file: ./lib/libcrypto/engine/tb_ecdsa.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ENGINE_unregister_ECDSA |
|
1 |
4 |
16 |
1 |
| engine_unregister_all_ECDSA |
|
1 |
4 |
12 |
1 |
| ENGINE_register_ECDSA |
|
2 |
7 |
35 |
1 |
| ENGINE_register_all_ECDSA |
|
2 |
6 |
32 |
1 |
| ENGINE_set_default_ECDSA |
|
2 |
7 |
35 |
1 |
| ENGINE_get_default_ECDSA |
|
1 |
4 |
15 |
1 |
| ENGINE_get_ECDSA |
|
1 |
4 |
14 |
1 |
| ENGINE_set_ECDSA |
|
1 |
5 |
22 |
2 |
| Source file: ./lib/libcrypto/engine/eng_table.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ENGINE_get_table_flags |
|
1 |
4 |
9 |
1 |
| ENGINE_set_table_flags |
|
1 |
4 |
12 |
1 |
| engine_pile_hash |
|
1 |
4 |
14 |
1 |
| engine_pile_cmp |
|
1 |
4 |
23 |
2 |
| int_table_check |
|
4 |
12 |
60 |
2 |
| engine_table_register |
|
12 |
50 |
297 |
6 |
| int_unregister_cb_doall_arg |
|
3 |
12 |
75 |
2 |
| engine_table_unregister |
|
2 |
8 |
50 |
2 |
| int_cleanup_cb_doall |
|
2 |
7 |
35 |
1 |
| engine_table_cleanup |
|
2 |
11 |
56 |
1 |
| engine_table_select_tmp |
|
22 |
65 |
393 |
4 |
| int_cb_doall_arg |
|
1 |
4 |
33 |
2 |
| engine_table_doall |
|
1 |
8 |
48 |
3 |
| Source file: ./lib/libcrypto/engine/eng_cnf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| skip_dot |
|
2 |
8 |
33 |
1 |
| int_engine_init |
|
5 |
12 |
56 |
1 |
| int_engine_configure |
|
31 |
87 |
506 |
3 |
| int_engine_module_init |
|
5 |
19 |
120 |
2 |
| int_engine_module_finish |
|
2 |
8 |
37 |
1 |
| ENGINE_add_conf_module |
|
1 |
5 |
15 |
1 |
| Source file: ./lib/libcrypto/engine/tb_rsa.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ENGINE_unregister_RSA |
|
1 |
4 |
16 |
1 |
| engine_unregister_all_RSA |
|
1 |
4 |
12 |
1 |
| ENGINE_register_RSA |
|
2 |
7 |
35 |
1 |
| ENGINE_register_all_RSA |
|
2 |
6 |
32 |
1 |
| ENGINE_set_default_RSA |
|
2 |
7 |
35 |
1 |
| ENGINE_get_default_RSA |
|
1 |
4 |
15 |
1 |
| ENGINE_get_RSA |
|
1 |
4 |
14 |
1 |
| ENGINE_set_RSA |
|
1 |
5 |
22 |
2 |
| Source file: ./lib/libcrypto/engine/eng_dyn.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ENGINE_load_dynamic |
|
1 |
3 |
6 |
1 |
| Source file: ./lib/libcrypto/engine/engine.h |
| Source file: ./lib/libcrypto/engine/tb_digest.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ENGINE_unregister_digests |
|
1 |
4 |
16 |
1 |
| engine_unregister_all_digests |
|
1 |
4 |
12 |
1 |
| ENGINE_register_digests |
|
3 |
12 |
64 |
1 |
| ENGINE_register_all_digests |
|
2 |
6 |
32 |
1 |
| ENGINE_set_default_digests |
|
3 |
12 |
64 |
1 |
| ENGINE_get_digest_engine |
|
1 |
4 |
16 |
1 |
| ENGINE_get_digest |
|
3 |
10 |
55 |
2 |
| ENGINE_get_digests |
|
1 |
4 |
14 |
1 |
| ENGINE_set_digests |
|
1 |
5 |
20 |
2 |
| Source file: ./lib/libcrypto/engine/eng_padlock.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ENGINE_load_padlock |
|
3 |
9 |
35 |
1 |
| padlock_bind_helper |
|
10 |
17 |
102 |
1 |
| ENGINE_padlock |
|
3 |
12 |
45 |
1 |
| padlock_init |
|
2 |
4 |
15 |
1 |
| padlock_bind_fn |
|
4 |
10 |
49 |
2 |
| padlock_insn_cpuid_available |
|
1 |
19 |
46 |
1 |
| padlock_available |
|
4 |
30 |
179 |
1 |
| padlock_bswapl |
|
2 |
9 |
59 |
1 |
| padlock_reload_key |
|
1 |
4 |
12 |
1 |
| padlock_verify_context |
|
1 |
15 |
40 |
1 |
| padlock_xstore |
|
1 |
9 |
49 |
2 |
| padlock_memcpy |
|
2 |
9 |
57 |
3 |
| padlock_ciphers |
|
14 |
49 |
187 |
4 |
| padlock_aes_init_key |
|
9 |
37 |
252 |
4 |
| padlock_aes_cipher_omnivorous |
|
5 |
36 |
221 |
4 |
| padlock_aes_cipher |
|
52 |
207 |
1233 |
4 |
| padlock_rand_bytes |
|
11 |
32 |
201 |
2 |
| padlock_rand_status |
|
1 |
4 |
9 |
1 |
| bind_engine |
|
1 |
3 |
21 |
3 |
| Source file: ./lib/libcrypto/engine/tb_dh.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ENGINE_unregister_DH |
|
1 |
4 |
16 |
1 |
| engine_unregister_all_DH |
|
1 |
4 |
12 |
1 |
| ENGINE_register_DH |
|
2 |
7 |
35 |
1 |
| ENGINE_register_all_DH |
|
2 |
6 |
32 |
1 |
| ENGINE_set_default_DH |
|
2 |
7 |
35 |
1 |
| ENGINE_get_default_DH |
|
1 |
4 |
15 |
1 |
| ENGINE_get_DH |
|
1 |
4 |
14 |
1 |
| ENGINE_set_DH |
|
1 |
5 |
22 |
2 |
| Source file: ./lib/libcrypto/engine/eng_err.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ERR_load_ENGINE_strings |
|
2 |
7 |
36 |
1 |
| Source file: ./lib/libcrypto/engine/eng_all.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ENGINE_load_builtin_engines |
|
1 |
6 |
18 |
1 |
| Source file: ./lib/libcrypto/stack/safestack.h |
| Source file: ./lib/libcrypto/engine/eng_list.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| engine_list_cleanup |
|
3 |
6 |
27 |
1 |
| engine_list_add |
|
9 |
40 |
189 |
1 |
| engine_list_remove |
|
9 |
25 |
130 |
1 |
| ENGINE_get_first |
|
2 |
12 |
46 |
1 |
| ENGINE_get_last |
|
2 |
12 |
46 |
1 |
| ENGINE_get_next |
|
3 |
17 |
73 |
1 |
| ENGINE_get_prev |
|
3 |
17 |
73 |
1 |
| ENGINE_add |
|
5 |
18 |
86 |
1 |
| ENGINE_remove |
|
3 |
15 |
61 |
1 |
| engine_cpy |
|
1 |
23 |
173 |
2 |
| ENGINE_by_id |
|
8 |
32 |
152 |
1 |
| ENGINE_up_ref |
|
2 |
9 |
39 |
1 |
| Source file: ./lib/libcrypto/engine/tb_store.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ENGINE_unregister_STORE |
|
1 |
4 |
16 |
1 |
| engine_unregister_all_STORE |
|
1 |
4 |
12 |
1 |
| ENGINE_register_STORE |
|
2 |
7 |
35 |
1 |
| ENGINE_register_all_STORE |
|
2 |
6 |
32 |
1 |
| ENGINE_get_STORE |
|
1 |
4 |
14 |
1 |
| ENGINE_set_STORE |
|
1 |
5 |
22 |
2 |
| Source file: ./lib/libcrypto/engine/tb_dsa.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ENGINE_unregister_DSA |
|
1 |
4 |
16 |
1 |
| engine_unregister_all_DSA |
|
1 |
4 |
12 |
1 |
| ENGINE_register_DSA |
|
2 |
7 |
35 |
1 |
| ENGINE_register_all_DSA |
|
2 |
6 |
32 |
1 |
| ENGINE_set_default_DSA |
|
2 |
7 |
35 |
1 |
| ENGINE_get_default_DSA |
|
1 |
4 |
15 |
1 |
| ENGINE_get_DSA |
|
1 |
4 |
14 |
1 |
| ENGINE_set_DSA |
|
1 |
5 |
22 |
2 |
| Source file: ./lib/libcrypto/txt_db/txt_db.h |
| Source file: ./lib/libcrypto/arc4random/arc4random_solaris.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _getentropy_fail |
|
1 |
4 |
11 |
1 |
| _rs_forkhandler |
|
1 |
4 |
10 |
1 |
| _rs_forkdetect |
|
5 |
11 |
58 |
1 |
| _rs_allocate |
|
3 |
14 |
121 |
2 |
| Source file: ./lib/libcrypto/engine/eng_openssl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bind_helper |
|
15 |
17 |
116 |
1 |
| engine_openssl |
|
3 |
11 |
43 |
1 |
| ENGINE_load_openssl |
|
2 |
9 |
38 |
1 |
| bind_fn |
|
4 |
8 |
45 |
2 |
| test_rc4_init_key |
|
2 |
9 |
77 |
4 |
| test_rc4_cipher |
|
2 |
7 |
49 |
4 |
| openssl_ciphers |
|
5 |
18 |
85 |
4 |
| test_sha1_init |
|
2 |
5 |
23 |
1 |
| test_sha1_update |
|
2 |
5 |
35 |
3 |
| test_sha1_final |
|
2 |
5 |
30 |
2 |
| openssl_digests |
|
4 |
16 |
72 |
4 |
| openssl_load_privkey |
|
2 |
14 |
76 |
4 |
| Source file: ./lib/libcrypto/arc4random/getentropy_freebsd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| getentropy_sysctl |
|
3 |
17 |
97 |
2 |
| getentropy |
|
3 |
7 |
41 |
2 |
| Source file: ./lib/libcrypto/arc4random/arc4random_win.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _getentropy_fail |
|
1 |
4 |
15 |
1 |
| _rs_allocate |
|
3 |
15 |
102 |
2 |
| _rs_forkhandler |
|
1 |
3 |
6 |
1 |
| _rs_forkdetect |
|
1 |
3 |
6 |
1 |
| Source file: ./lib/libcrypto/arc4random/getentropy_win.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| getentropy |
|
4 |
20 |
102 |
2 |
| Source file: ./lib/libcrypto/arc4random/getentropy_netbsd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| getentropy_sysctl |
|
3 |
17 |
97 |
2 |
| getentropy |
|
3 |
9 |
43 |
2 |
| Source file: ./lib/libcrypto/arc4random/arc4random_netbsd.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _getentropy_fail |
|
1 |
4 |
11 |
1 |
| _rs_forkhandler |
|
1 |
4 |
10 |
1 |
| _rs_forkdetect |
|
5 |
11 |
58 |
1 |
| _rs_allocate |
|
3 |
14 |
121 |
2 |
| Source file: ./lib/libcrypto/arc4random/arc4random_freebsd.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _getentropy_fail |
|
1 |
4 |
11 |
1 |
| _rs_forkhandler |
|
1 |
4 |
10 |
1 |
| _rs_forkdetect |
|
5 |
11 |
58 |
1 |
| _rs_allocate |
|
3 |
14 |
121 |
2 |
| Source file: ./lib/libcrypto/arc4random/arc4random_osx.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _getentropy_fail |
|
1 |
4 |
11 |
1 |
| _rs_forkhandler |
|
1 |
4 |
10 |
1 |
| _rs_forkdetect |
|
5 |
11 |
58 |
1 |
| _rs_allocate |
|
3 |
14 |
121 |
2 |
| Source file: ./lib/libcrypto/arc4random/getentropy_hpux.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| getentropy |
|
5 |
17 |
95 |
2 |
| gotdata |
|
3 |
10 |
56 |
2 |
| getentropy_urandom |
|
12 |
41 |
239 |
4 |
| getentropy_fallback |
|
25 |
171 |
1416 |
2 |
| Source file: ./lib/libcrypto/arc4random/arc4random_aix.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _getentropy_fail |
|
1 |
4 |
11 |
1 |
| _rs_forkhandler |
|
1 |
4 |
10 |
1 |
| _rs_forkdetect |
|
5 |
11 |
58 |
1 |
| _rs_allocate |
|
3 |
14 |
121 |
2 |
| Source file: ./lib/libcrypto/arc4random/arc4random_hpux.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _getentropy_fail |
|
1 |
4 |
11 |
1 |
| _rs_forkhandler |
|
1 |
4 |
10 |
1 |
| _rs_forkdetect |
|
5 |
11 |
58 |
1 |
| _rs_allocate |
|
3 |
14 |
121 |
2 |
| Source file: ./lib/libcrypto/arc4random/getentropy_aix.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| getentropy |
|
5 |
17 |
95 |
2 |
| gotdata |
|
3 |
10 |
56 |
2 |
| getentropy_urandom |
|
12 |
41 |
239 |
4 |
| getentropy_fallback |
|
26 |
174 |
1440 |
2 |
| Source file: ./lib/libcrypto/arc4random/arc4random_linux.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _getentropy_fail |
|
1 |
4 |
11 |
1 |
| _rs_forkhandler |
|
1 |
4 |
10 |
1 |
| _rs_forkdetect |
|
6 |
11 |
62 |
1 |
| _rs_allocate |
|
3 |
14 |
121 |
2 |
| Source file: ./lib/libcrypto/txt_db/txt_db.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| TXT_DB_read |
|
28 |
112 |
722 |
2 |
| TXT_DB_get_by_index |
|
3 |
17 |
95 |
3 |
| TXT_DB_create_index |
|
8 |
33 |
249 |
5 |
| TXT_DB_write |
|
13 |
44 |
313 |
2 |
| TXT_DB_insert |
|
11 |
32 |
230 |
2 |
| TXT_DB_free |
|
13 |
35 |
260 |
1 |
| Source file: ./lib/libcrypto/cast/cast.h |
| Source file: ./lib/libcrypto/cast/c_ecb.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| CAST_ecb_encrypt |
|
2 |
14 |
120 |
4 |
| Source file: ./lib/libcrypto/arc4random/getentropy_osx.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| getentropy |
|
5 |
17 |
91 |
2 |
| gotdata |
|
3 |
10 |
56 |
2 |
| getentropy_urandom |
|
12 |
41 |
231 |
2 |
| getentropy_fallback |
|
23 |
181 |
1520 |
2 |
| Source file: ./lib/libcrypto/cast/c_cfb64.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| CAST_cfb64_encrypt |
|
6 |
54 |
368 |
7 |
| Source file: ./lib/libcrypto/arc4random/getentropy_solaris.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| getentropy |
|
6 |
21 |
120 |
2 |
| gotdata |
|
3 |
10 |
56 |
2 |
| getentropy_urandom |
|
14 |
42 |
256 |
4 |
| getentropy_phdr |
|
1 |
6 |
44 |
3 |
| getentropy_fallback |
|
24 |
162 |
1340 |
2 |
| Source file: ./lib/libcrypto/cast/c_enc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| CAST_encrypt |
|
2 |
29 |
350 |
2 |
| CAST_decrypt |
|
2 |
29 |
350 |
2 |
| CAST_cbc_encrypt |
|
6 |
80 |
495 |
6 |
| Source file: ./lib/libcrypto/arc4random/getentropy_linux.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| getentropy |
|
9 |
23 |
133 |
2 |
| gotdata |
|
3 |
10 |
56 |
2 |
| getentropy_getrandom |
|
5 |
14 |
80 |
2 |
| getentropy_urandom |
|
13 |
45 |
258 |
2 |
| getentropy_sysctl |
|
4 |
25 |
145 |
2 |
| getentropy_phdr |
|
1 |
6 |
44 |
3 |
| getentropy_fallback |
|
31 |
174 |
1433 |
2 |
| Source file: ./lib/libcrypto/cast/c_ofb64.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| CAST_ofb64_encrypt |
|
4 |
44 |
284 |
6 |
| Source file: ./lib/libcrypto/cast/cast_lcl.h |
| Source file: ./lib/libcrypto/pkcs7/bio_pk7.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| BIO_new_PKCS7 |
|
1 |
4 |
27 |
2 |
| Source file: ./lib/libcrypto/pkcs7/pk7_attr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| PKCS7_add_attrib_smimecap |
|
2 |
12 |
73 |
2 |
| PKCS7_get_smimecap |
|
3 |
12 |
80 |
1 |
| PKCS7_simple_smimecap |
|
7 |
30 |
170 |
3 |
| PKCS7_add_attrib_content_type |
|
3 |
9 |
48 |
2 |
| PKCS7_add0_attrib_signing_time |
|
2 |
9 |
51 |
2 |
| PKCS7_add1_attrib_digest |
|
4 |
15 |
72 |
3 |
| Source file: ./lib/libcrypto/pkcs7/pk7_mime.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| i2d_PKCS7_bio_stream |
|
1 |
5 |
38 |
4 |
| PEM_write_bio_PKCS7_stream |
|
1 |
5 |
40 |
4 |
| SMIME_write_PKCS7 |
|
2 |
12 |
86 |
4 |
| SMIME_read_PKCS7 |
|
1 |
4 |
27 |
2 |
| Source file: ./lib/libcrypto/pkcs7/pkcs7err.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ERR_load_PKCS7_strings |
|
2 |
7 |
36 |
1 |
| Source file: ./lib/libcrypto/cast/c_skey.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| CAST_set_key |
|
8 |
80 |
2033 |
3 |
| Source file: ./lib/libcrypto/cast/cast_s.h |
| Source file: ./lib/libcrypto/pkcs7/pk7_smime.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| PKCS7_sign |
|
12 |
33 |
205 |
5 |
| PKCS7_final |
|
3 |
19 |
99 |
3 |
| add_cipher_smcap |
|
2 |
6 |
37 |
3 |
| add_digest_smcap |
|
2 |
6 |
37 |
3 |
| PKCS7_sign_add_signer |
|
27 |
56 |
378 |
5 |
| pkcs7_copy_existing_digest |
|
6 |
24 |
144 |
2 |
| PKCS7_verify |
|
35 |
127 |
736 |
6 |
| PKCS7_get0_signers |
|
12 |
48 |
267 |
3 |
| PKCS7_encrypt |
|
8 |
33 |
179 |
4 |
| PKCS7_decrypt |
|
16 |
57 |
303 |
5 |
| Source file: ./lib/libcrypto/bn/asm/x86_64-gcc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bn_mul_add_words |
|
6 |
20 |
208 |
4 |
| bn_mul_words |
|
6 |
20 |
205 |
4 |
| bn_sqr_words |
|
6 |
18 |
194 |
3 |
| bn_div_words |
|
1 |
8 |
53 |
3 |
| bn_add_words |
|
2 |
18 |
88 |
4 |
| bn_sub_words |
|
2 |
18 |
88 |
4 |
| bn_mul_comba8 |
|
1 |
101 |
1419 |
3 |
| bn_mul_comba4 |
|
1 |
37 |
419 |
3 |
| bn_sqr_comba8 |
|
1 |
73 |
724 |
2 |
| bn_sqr_comba4 |
|
1 |
31 |
254 |
2 |
| Source file: ./lib/libcrypto/bn/bn_mpi.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| BN_bn2mpi |
|
5 |
25 |
207 |
2 |
| BN_mpi2bn |
|
9 |
35 |
234 |
3 |
| Source file: ./lib/libcrypto/pkcs7/pkcs7.h |
| Source file: ./lib/libcrypto/pkcs7/pk7_doit.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| PKCS7_type_is_other |
|
7 |
18 |
62 |
1 |
| PKCS7_get_octet_string |
|
5 |
9 |
61 |
1 |
| PKCS7_bio_add_digest |
|
5 |
26 |
129 |
2 |
| pkcs7_encode_rinfo |
|
8 |
38 |
223 |
3 |
| pkcs7_decrypt_rinfo |
|
9 |
41 |
240 |
4 |
| PKCS7_dataInit |
|
37 |
130 |
800 |
2 |
| pkcs7_cmp_ri |
|
2 |
10 |
55 |
2 |
| PKCS7_dataDecode |
|
41 |
172 |
1027 |
4 |
| PKCS7_find_digest |
|
5 |
19 |
94 |
3 |
| do_pkcs7_signed_attrib |
|
6 |
22 |
114 |
2 |
| PKCS7_dataFinal |
|
36 |
141 |
839 |
2 |
| PKCS7_SIGNER_INFO_sign |
|
10 |
47 |
285 |
1 |
| PKCS7_dataVerify |
|
9 |
48 |
264 |
5 |
| PKCS7_signatureVerify |
|
21 |
87 |
506 |
4 |
| PKCS7_get_issuer_and_serial |
|
5 |
19 |
114 |
2 |
| PKCS7_get_signed_attribute |
|
1 |
4 |
23 |
2 |
| PKCS7_get_attribute |
|
1 |
4 |
23 |
2 |
| get_attribute |
|
7 |
19 |
128 |
2 |
| PKCS7_digest_from_attributes |
|
3 |
9 |
50 |
1 |
| PKCS7_set_signed_attributes |
|
5 |
18 |
108 |
2 |
| PKCS7_set_attributes |
|
5 |
17 |
108 |
2 |
| PKCS7_add_signed_attribute |
|
1 |
5 |
37 |
4 |
| PKCS7_add_attribute |
|
1 |
4 |
37 |
4 |
| add_attribute |
|
9 |
36 |
204 |
4 |
| Source file: ./lib/libcrypto/bn/bn_err.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ERR_load_BN_strings |
|
2 |
7 |
36 |
1 |
| Source file: ./lib/libcrypto/pkcs7/pk7_lib.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| PKCS7_ctrl |
|
9 |
38 |
207 |
4 |
| PKCS7_content_new |
|
5 |
15 |
81 |
2 |
| PKCS7_set_content |
|
9 |
27 |
140 |
2 |
| PKCS7_set_type |
|
18 |
64 |
402 |
2 |
| PKCS7_set0_type_other |
|
1 |
6 |
35 |
3 |
| PKCS7_add_signer |
|
10 |
48 |
276 |
2 |
| PKCS7_add_certificate |
|
6 |
29 |
154 |
2 |
| PKCS7_add_crl |
|
6 |
29 |
154 |
2 |
| PKCS7_SIGNER_INFO_set |
|
8 |
31 |
195 |
4 |
| PKCS7_add_signature |
|
8 |
25 |
142 |
4 |
| PKCS7_set_digest |
|
3 |
14 |
94 |
2 |
| PKCS7_get_signer_info |
|
5 |
11 |
74 |
1 |
| PKCS7_SIGNER_INFO_get0_algs |
|
4 |
10 |
53 |
4 |
| PKCS7_RECIP_INFO_get0_alg |
|
2 |
5 |
23 |
2 |
| PKCS7_add_recipient |
|
5 |
15 |
74 |
2 |
| PKCS7_add_recipient_info |
|
4 |
20 |
97 |
2 |
| PKCS7_RECIP_INFO_set |
|
9 |
36 |
208 |
2 |
| PKCS7_cert_from_signer_info |
|
2 |
9 |
51 |
2 |
| PKCS7_set_cipher |
|
4 |
24 |
111 |
2 |
| PKCS7_stream |
|
8 |
34 |
183 |
2 |
| Source file: ./lib/libcrypto/pkcs7/pk7_asn1.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pk7_cb |
|
8 |
21 |
120 |
4 |
| d2i_PKCS7 |
|
1 |
5 |
38 |
3 |
| i2d_PKCS7 |
|
1 |
4 |
28 |
2 |
| PKCS7_new |
|
1 |
4 |
17 |
1 |
| PKCS7_free |
|
1 |
4 |
20 |
1 |
| i2d_PKCS7_NDEF |
|
1 |
4 |
28 |
2 |
| PKCS7_dup |
|
1 |
4 |
17 |
1 |
| d2i_PKCS7_SIGNED |
|
1 |
5 |
38 |
3 |
| i2d_PKCS7_SIGNED |
|
1 |
4 |
28 |
2 |
| PKCS7_SIGNED_new |
|
1 |
4 |
17 |
1 |
| PKCS7_SIGNED_free |
|
1 |
4 |
20 |
1 |
| si_cb |
|
2 |
8 |
49 |
4 |
| d2i_PKCS7_SIGNER_INFO |
|
1 |
5 |
38 |
3 |
| i2d_PKCS7_SIGNER_INFO |
|
1 |
4 |
28 |
2 |
| PKCS7_SIGNER_INFO_new |
|
1 |
4 |
17 |
1 |
| PKCS7_SIGNER_INFO_free |
|
1 |
4 |
20 |
1 |
| d2i_PKCS7_ISSUER_AND_SERIAL |
|
1 |
5 |
38 |
3 |
| i2d_PKCS7_ISSUER_AND_SERIAL |
|
1 |
4 |
28 |
2 |
| PKCS7_ISSUER_AND_SERIAL_new |
|
1 |
4 |
17 |
1 |
| PKCS7_ISSUER_AND_SERIAL_free |
|
1 |
4 |
20 |
1 |
| d2i_PKCS7_ENVELOPE |
|
1 |
5 |
38 |
3 |
| i2d_PKCS7_ENVELOPE |
|
1 |
4 |
28 |
2 |
| PKCS7_ENVELOPE_new |
|
1 |
4 |
17 |
1 |
| PKCS7_ENVELOPE_free |
|
1 |
4 |
20 |
1 |
| ri_cb |
|
2 |
8 |
49 |
4 |
| d2i_PKCS7_RECIP_INFO |
|
1 |
5 |
38 |
3 |
| i2d_PKCS7_RECIP_INFO |
|
1 |
4 |
28 |
2 |
| PKCS7_RECIP_INFO_new |
|
1 |
4 |
17 |
1 |
| PKCS7_RECIP_INFO_free |
|
1 |
4 |
20 |
1 |
| d2i_PKCS7_ENC_CONTENT |
|
1 |
5 |
38 |
3 |
| i2d_PKCS7_ENC_CONTENT |
|
1 |
4 |
28 |
2 |
| PKCS7_ENC_CONTENT_new |
|
1 |
4 |
17 |
1 |
| PKCS7_ENC_CONTENT_free |
|
1 |
4 |
20 |
1 |
| d2i_PKCS7_SIGN_ENVELOPE |
|
1 |
5 |
38 |
3 |
| i2d_PKCS7_SIGN_ENVELOPE |
|
1 |
4 |
28 |
2 |
| PKCS7_SIGN_ENVELOPE_new |
|
1 |
4 |
17 |
1 |
| PKCS7_SIGN_ENVELOPE_free |
|
1 |
4 |
20 |
1 |
| d2i_PKCS7_ENCRYPT |
|
1 |
5 |
38 |
3 |
| i2d_PKCS7_ENCRYPT |
|
1 |
4 |
28 |
2 |
| PKCS7_ENCRYPT_new |
|
1 |
4 |
17 |
1 |
| PKCS7_ENCRYPT_free |
|
1 |
4 |
20 |
1 |
| d2i_PKCS7_DIGEST |
|
1 |
5 |
38 |
3 |
| i2d_PKCS7_DIGEST |
|
1 |
4 |
28 |
2 |
| PKCS7_DIGEST_new |
|
1 |
4 |
17 |
1 |
| PKCS7_DIGEST_free |
|
1 |
4 |
20 |
1 |
| PKCS7_print_ctx |
|
1 |
5 |
39 |
4 |
| Source file: ./lib/libcrypto/bn/bn_print.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| BN_bn2hex |
|
8 |
29 |
206 |
1 |
| BN_bn2dec |
|
16 |
63 |
376 |
1 |
| BN_hex2bn |
|
22 |
63 |
415 |
2 |
| BN_dec2bn |
|
15 |
53 |
306 |
2 |
| BN_asc2bn |
|
8 |
16 |
107 |
2 |
| BN_print_fp |
|
2 |
11 |
68 |
2 |
| BN_print |
|
10 |
22 |
186 |
2 |
| BN_options |
|
3 |
13 |
94 |
1 |
| Source file: ./lib/libcrypto/bn/bn_add.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| BN_add |
|
6 |
28 |
162 |
3 |
| BN_uadd |
|
10 |
48 |
271 |
3 |
| BN_usub |
|
17 |
74 |
432 |
3 |
| BN_sub |
|
11 |
43 |
245 |
3 |
| Source file: ./lib/libcrypto/bn/bn_exp2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| BN_mod_exp2_mont |
|
55 |
156 |
1108 |
8 |
| Source file: ./lib/libcrypto/bn/bn_sqr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| BN_sqr |
|
17 |
66 |
483 |
3 |
| bn_sqr_normal |
|
3 |
26 |
185 |
4 |
| bn_sqr_recursive |
|
11 |
52 |
463 |
4 |
| Source file: ./lib/libcrypto/bn/bn_mod.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| BN_nnmod |
|
4 |
11 |
78 |
4 |
| BN_mod_add |
|
2 |
7 |
54 |
5 |
| BN_mod_add_quick |
|
3 |
8 |
62 |
4 |
| BN_mod_sub |
|
2 |
7 |
54 |
5 |
| BN_mod_sub_quick |
|
3 |
8 |
57 |
4 |
| BN_mod_mul |
|
6 |
26 |
153 |
5 |
| BN_mod_sqr |
|
2 |
6 |
49 |
4 |
| BN_mod_lshift1 |
|
2 |
7 |
52 |
4 |
| BN_mod_lshift1_quick |
|
3 |
9 |
60 |
3 |
| BN_mod_lshift |
|
5 |
17 |
113 |
5 |
| BN_mod_lshift_quick |
|
11 |
32 |
172 |
4 |
| Source file: ./lib/libcrypto/bn/bn_rand.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bnrand |
|
16 |
57 |
353 |
5 |
| BN_rand |
|
1 |
4 |
31 |
4 |
| BN_pseudo_rand |
|
1 |
4 |
31 |
4 |
| BN_bntest_rand |
|
1 |
4 |
31 |
4 |
| bn_rand_range |
|
17 |
41 |
275 |
3 |
| BN_rand_range |
|
1 |
4 |
23 |
2 |
| BN_pseudo_rand_range |
|
1 |
4 |
23 |
2 |
| Source file: ./lib/libcrypto/bn/bn.h |
| Source file: ./lib/libcrypto/bn/bn_lcl.h |
| Source file: ./lib/libcrypto/bn/bn_lib.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| BN_set_params |
|
9 |
27 |
208 |
4 |
| BN_get_params |
|
5 |
13 |
60 |
1 |
| BN_value_one |
|
1 |
8 |
41 |
1 |
| BN_num_bits_word |
|
9 |
47 |
735 |
1 |
| BN_num_bits |
|
2 |
8 |
52 |
1 |
| BN_clear_free |
|
5 |
13 |
91 |
1 |
| BN_free |
|
1 |
4 |
13 |
1 |
| BN_init |
|
1 |
5 |
25 |
1 |
| BN_new |
|
2 |
15 |
78 |
1 |
| bn_expand_internal |
|
10 |
45 |
311 |
2 |
| bn_dup_expand |
|
4 |
23 |
116 |
2 |
| bn_expand2 |
|
8 |
32 |
259 |
2 |
| BN_dup |
|
4 |
16 |
70 |
1 |
| BN_copy |
|
8 |
37 |
264 |
2 |
| BN_swap |
|
1 |
28 |
172 |
2 |
| BN_clear |
|
2 |
8 |
56 |
1 |
| BN_get_word |
|
3 |
8 |
40 |
1 |
| bn_expand |
|
3 |
8 |
67 |
2 |
| BN_set_word |
|
3 |
11 |
77 |
2 |
| BN_bin2bn |
|
7 |
36 |
218 |
3 |
| BN_bn2bin |
|
2 |
12 |
86 |
2 |
| BN_ucmp |
|
5 |
19 |
129 |
2 |
| BN_cmp |
|
13 |
42 |
238 |
2 |
| BN_set_bit |
|
5 |
18 |
130 |
2 |
| BN_clear_bit |
|
3 |
14 |
86 |
2 |
| BN_is_bit_set |
|
3 |
12 |
81 |
2 |
| BN_mask_bits |
|
4 |
19 |
100 |
2 |
| BN_set_negative |
|
3 |
7 |
34 |
2 |
| bn_cmp_words |
|
6 |
16 |
119 |
3 |
| bn_cmp_part_words |
|
7 |
18 |
116 |
4 |
| BN_consttime_swap |
|
12 |
30 |
224 |
4 |
| Source file: ./lib/libcrypto/bn/bn_gcd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| BN_gcd |
|
8 |
33 |
202 |
4 |
| BN_gcd_ct |
|
2 |
6 |
43 |
4 |
| BN_gcd_nonct |
|
1 |
4 |
34 |
4 |
| euclid |
|
16 |
60 |
273 |
2 |
| BN_mod_inverse_internal |
|
73 |
177 |
1144 |
5 |
| BN_mod_inverse |
|
2 |
6 |
63 |
4 |
| BN_mod_inverse_nonct |
|
1 |
4 |
36 |
4 |
| BN_mod_inverse_ct |
|
1 |
4 |
36 |
4 |
| BN_mod_inverse_no_branch |
|
28 |
87 |
564 |
4 |
| BN_gcd_no_branch |
|
21 |
70 |
470 |
4 |
| Source file: ./lib/libcrypto/bn/bn_kron.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| BN_kronecker |
|
23 |
75 |
458 |
3 |
| Source file: ./lib/libcrypto/bn/bn_depr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| BN_generate_prime |
|
8 |
20 |
153 |
7 |
| BN_is_prime |
|
1 |
7 |
60 |
5 |
| BN_is_prime_fasttest |
|
1 |
9 |
65 |
6 |
| Source file: ./lib/libcrypto/bn/bn_nist.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| BN_get0_nist_prime_192 |
|
1 |
4 |
10 |
1 |
| BN_get0_nist_prime_224 |
|
1 |
4 |
10 |
1 |
| BN_get0_nist_prime_256 |
|
1 |
4 |
10 |
1 |
| BN_get0_nist_prime_384 |
|
1 |
4 |
10 |
1 |
| BN_get0_nist_prime_521 |
|
1 |
4 |
10 |
1 |
| nist_cp_bn_0 |
|
4 |
9 |
69 |
4 |
| nist_cp_bn |
|
2 |
6 |
42 |
3 |
| BN_nist_mod_192 |
|
10 |
98 |
824 |
4 |
| BN_nist_mod_224 |
|
15 |
124 |
1109 |
4 |
| BN_nist_mod_256 |
|
13 |
177 |
1615 |
4 |
| BN_nist_mod_384 |
|
13 |
205 |
1890 |
4 |
| BN_nist_mod_521 |
|
9 |
47 |
405 |
4 |
| Source file: ./lib/libcrypto/bn/bn_const.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| get_rfc2409_prime_768 |
|
1 |
14 |
224 |
1 |
| get_rfc2409_prime_1024 |
|
1 |
17 |
288 |
1 |
| get_rfc3526_prime_1536 |
|
1 |
22 |
416 |
1 |
| get_rfc3526_prime_2048 |
|
1 |
28 |
544 |
1 |
| get_rfc3526_prime_3072 |
|
1 |
38 |
800 |
1 |
| get_rfc3526_prime_4096 |
|
1 |
49 |
1056 |
1 |
| get_rfc3526_prime_6144 |
|
1 |
70 |
1568 |
1 |
| get_rfc3526_prime_8192 |
|
1 |
92 |
2080 |
1 |
| Source file: ./lib/libcrypto/bn/bn_shift.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| BN_lshift1 |
|
7 |
30 |
202 |
2 |
| BN_rshift1 |
|
8 |
32 |
219 |
2 |
| BN_lshift |
|
5 |
31 |
256 |
3 |
| BN_rshift |
|
10 |
43 |
319 |
3 |
| Source file: ./lib/libcrypto/bn/bn_word.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| BN_mod_word |
|
5 |
27 |
215 |
2 |
| BN_div_word |
|
7 |
27 |
202 |
2 |
| BN_add_word |
|
11 |
30 |
205 |
2 |
| BN_sub_word |
|
11 |
40 |
254 |
2 |
| BN_mul_word |
|
5 |
20 |
112 |
2 |
| Source file: ./lib/libcrypto/bn/bn_sqrt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| BN_mod_sqrt |
|
86 |
217 |
1365 |
4 |
| Source file: ./lib/libcrypto/bn/bn_prime.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| BN_GENCB_call |
|
5 |
17 |
87 |
3 |
| BN_generate_prime_ex |
|
23 |
67 |
398 |
6 |
| BN_is_prime_ex |
|
1 |
4 |
34 |
4 |
| BN_is_prime_fasttest_ex |
|
31 |
89 |
556 |
5 |
| witness |
|
8 |
20 |
139 |
7 |
| probable_prime |
|
8 |
30 |
197 |
2 |
| probable_prime_dh |
|
12 |
38 |
238 |
5 |
| probable_prime_dh_safe |
|
21 |
54 |
374 |
5 |
| Source file: ./lib/libcrypto/bn/bn_prime.h |
| Source file: ./lib/libcrypto/bn/bn_gf2m.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bn_GF2m_mul_1x1 |
|
6 |
143 |
1141 |
4 |
| bn_GF2m_mul_2x2 |
|
1 |
10 |
115 |
5 |
| BN_GF2m_add |
|
5 |
25 |
168 |
3 |
| BN_GF2m_mod_arr |
|
15 |
67 |
484 |
3 |
| BN_GF2m_mod |
|
3 |
15 |
115 |
3 |
| BN_GF2m_mod_mul_arr |
|
11 |
39 |
344 |
5 |
| BN_GF2m_mod_mul |
|
4 |
22 |
147 |
5 |
| BN_GF2m_mod_sqr_arr |
|
5 |
24 |
185 |
4 |
| BN_GF2m_mod_sqr |
|
4 |
20 |
135 |
4 |
| BN_GF2m_mod_inv |
|
41 |
143 |
957 |
4 |
| BN_GF2m_mod_inv_arr |
|
3 |
16 |
99 |
4 |
| BN_GF2m_mod_div |
|
4 |
21 |
129 |
5 |
| BN_GF2m_mod_div |
|
31 |
73 |
478 |
5 |
| BN_GF2m_mod_div_arr |
|
3 |
18 |
111 |
5 |
| BN_GF2m_mod_exp_arr |
|
10 |
33 |
228 |
5 |
| BN_GF2m_mod_exp |
|
4 |
22 |
147 |
5 |
| BN_GF2m_mod_sqrt_arr |
|
4 |
20 |
124 |
4 |
| BN_GF2m_mod_sqrt |
|
4 |
20 |
135 |
4 |
| BN_GF2m_mod_solve_quad_arr |
|
32 |
88 |
589 |
4 |
| BN_GF2m_mod_solve_quad |
|
4 |
20 |
135 |
4 |
| BN_GF2m_poly2arr |
|
8 |
25 |
151 |
3 |
| BN_GF2m_arr2poly |
|
3 |
12 |
71 |
2 |
| Source file: ./lib/libcrypto/bn/bn_mul.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bn_sub_part_words |
|
39 |
124 |
687 |
5 |
| bn_add_part_words |
|
47 |
160 |
890 |
5 |
| bn_mul_recursive |
|
33 |
106 |
1041 |
7 |
| bn_mul_part_recursive |
|
29 |
122 |
1230 |
7 |
| bn_mul_low_recursive |
|
3 |
17 |
323 |
5 |
| bn_mul_high |
|
28 |
130 |
1335 |
6 |
| BN_mul |
|
49 |
130 |
917 |
4 |
| bn_mul_normal |
|
9 |
38 |
285 |
5 |
| bn_mul_low_normal |
|
7 |
21 |
175 |
4 |
| Source file: ./lib/libcrypto/bn/bn_recp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| BN_RECP_CTX_init |
|
1 |
7 |
40 |
1 |
| BN_RECP_CTX_new |
|
2 |
9 |
47 |
1 |
| BN_RECP_CTX_free |
|
3 |
9 |
49 |
1 |
| BN_RECP_CTX_set |
|
2 |
9 |
65 |
3 |
| BN_mod_mul_reciprocal |
|
6 |
26 |
153 |
5 |
| BN_div_recp |
|
23 |
67 |
481 |
5 |
| BN_reciprocal |
|
4 |
17 |
104 |
4 |
| Source file: ./lib/libcrypto/bn/bn_div.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| BN_div_internal |
|
49 |
173 |
1234 |
6 |
| BN_div |
|
2 |
7 |
69 |
5 |
| BN_div_nonct |
|
1 |
5 |
42 |
5 |
| BN_div_ct |
|
1 |
5 |
42 |
5 |
| Source file: ./lib/libcrypto/bn/bn_blind.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| BN_BLINDING_new |
|
9 |
28 |
187 |
3 |
| BN_BLINDING_free |
|
2 |
10 |
49 |
1 |
| BN_BLINDING_update |
|
12 |
25 |
200 |
2 |
| BN_BLINDING_convert |
|
1 |
4 |
28 |
3 |
| BN_BLINDING_convert_ex |
|
8 |
20 |
142 |
4 |
| BN_BLINDING_invert |
|
1 |
4 |
28 |
3 |
| BN_BLINDING_invert_ex |
|
3 |
16 |
104 |
4 |
| BN_BLINDING_get_thread_id |
|
1 |
4 |
14 |
1 |
| BN_BLINDING_set_thread_id |
|
1 |
4 |
18 |
2 |
| BN_BLINDING_thread_id |
|
1 |
4 |
14 |
1 |
| BN_BLINDING_get_flags |
|
1 |
4 |
14 |
1 |
| BN_BLINDING_set_flags |
|
1 |
4 |
18 |
2 |
| BN_BLINDING_create_param |
|
20 |
58 |
409 |
6 |
| Source file: ./lib/libcrypto/bn/bn_x931p.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bn_x931_derive_pi |
|
7 |
18 |
119 |
4 |
| BN_X931_derive_prime_ex |
|
28 |
66 |
483 |
9 |
| BN_X931_generate_Xpq |
|
9 |
26 |
167 |
4 |
| BN_X931_generate_prime_ex |
|
8 |
24 |
175 |
9 |
| Source file: ./lib/libcrypto/bn/bn_ctx.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ctxdbg |
|
5 |
24 |
161 |
1 |
| BN_CTX_init |
|
1 |
8 |
42 |
1 |
| BN_CTX_new |
|
2 |
14 |
70 |
1 |
| BN_CTX_free |
|
5 |
22 |
122 |
1 |
| BN_CTX_start |
|
4 |
11 |
63 |
1 |
| BN_CTX_end |
|
3 |
14 |
80 |
1 |
| BN_CTX_get |
|
4 |
16 |
84 |
1 |
| BN_STACK_init |
|
1 |
5 |
24 |
1 |
| BN_STACK_finish |
|
2 |
5 |
21 |
1 |
| BN_STACK_reset |
|
1 |
4 |
14 |
1 |
| BN_STACK_push |
|
6 |
21 |
139 |
2 |
| BN_STACK_pop |
|
1 |
4 |
21 |
1 |
| BN_POOL_init |
|
1 |
5 |
32 |
1 |
| BN_POOL_finish |
|
4 |
15 |
80 |
1 |
| BN_POOL_reset |
|
4 |
16 |
79 |
1 |
| BN_POOL_get |
|
7 |
30 |
199 |
1 |
| BN_POOL_release |
|
3 |
13 |
77 |
2 |
| Source file: ./lib/libcrypto/arch/m88k/opensslconf.h |
| Source file: ./lib/libcrypto/arch/i386/opensslconf.h |
| Source file: ./lib/libcrypto/arch/sparc64/opensslconf.h |
| Source file: ./lib/libcrypto/arch/alpha/opensslconf.h |
| Source file: ./lib/libcrypto/arch/amd64/opensslconf.h |
| Source file: ./lib/libcrypto/arch/aarch64/opensslconf.h |
| Source file: ./lib/libcrypto/whrlpool/wp_locl.h |
| Source file: ./lib/libcrypto/bn/bn_mont.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| BN_mod_mul_montgomery |
|
14 |
37 |
261 |
5 |
| BN_from_montgomery_word |
|
12 |
67 |
610 |
3 |
| BN_from_montgomery |
|
13 |
36 |
275 |
4 |
| BN_MONT_CTX_new |
|
2 |
9 |
47 |
1 |
| BN_MONT_CTX_init |
|
1 |
9 |
66 |
1 |
| BN_MONT_CTX_free |
|
3 |
10 |
59 |
1 |
| BN_MONT_CTX_set |
|
33 |
97 |
779 |
3 |
| BN_MONT_CTX_copy |
|
5 |
15 |
133 |
2 |
| BN_MONT_CTX_set_locked |
|
6 |
25 |
118 |
4 |
| Source file: ./lib/libcrypto/whrlpool/wp_dgst.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| WHIRLPOOL_Init |
|
1 |
5 |
26 |
1 |
| WHIRLPOOL_Update |
|
3 |
14 |
93 |
3 |
| WHIRLPOOL_BitUpdate |
|
19 |
107 |
622 |
3 |
| WHIRLPOOL_Final |
|
8 |
32 |
293 |
2 |
| WHIRLPOOL |
|
2 |
10 |
67 |
3 |
| Source file: ./lib/libcrypto/bn/bn_exp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| BN_exp |
|
16 |
42 |
265 |
4 |
| BN_mod_exp_internal |
|
5 |
19 |
148 |
6 |
| BN_mod_exp |
|
1 |
6 |
52 |
5 |
| BN_mod_exp_ct |
|
1 |
5 |
43 |
5 |
| BN_mod_exp_nonct |
|
1 |
5 |
43 |
5 |
| BN_mod_exp_recp |
|
31 |
105 |
671 |
5 |
| BN_mod_exp_mont_internal |
|
38 |
121 |
794 |
7 |
| BN_mod_exp_mont |
|
1 |
6 |
58 |
6 |
| BN_mod_exp_mont_ct |
|
1 |
5 |
49 |
6 |
| BN_mod_exp_mont_nonct |
|
1 |
5 |
49 |
6 |
| MOD_EXP_CTIME_COPY_TO_PREBUF |
|
3 |
13 |
98 |
5 |
| MOD_EXP_CTIME_COPY_FROM_PREBUF |
|
7 |
42 |
391 |
5 |
| BN_mod_exp_mont_consttime |
|
53 |
184 |
1702 |
6 |
| BN_mod_exp_mont_word |
|
34 |
114 |
624 |
6 |
| BN_mod_exp_simple |
|
27 |
91 |
587 |
5 |
| Source file: ./lib/libcrypto/arm_arch.h |
| Source file: ./lib/libcrypto/whrlpool/whrlpool.h |
| Source file: ./lib/libcrypto/o_init.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| OPENSSL_init |
|
1 |
3 |
6 |
1 |
| Source file: ./lib/libcrypto/o_time.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| OPENSSL_gmtime_adj |
|
6 |
34 |
225 |
3 |
| date_to_julian |
|
1 |
7 |
86 |
3 |
| julian_to_date |
|
1 |
14 |
141 |
4 |
| Source file: ./lib/libcrypto/mem_clr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| OPENSSL_cleanse |
|
1 |
4 |
18 |
2 |
| Source file: ./lib/libcrypto/cversion.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| SSLeay_version |
|
6 |
16 |
56 |
1 |
| SSLeay |
|
1 |
4 |
11 |
1 |
| Source file: ./lib/libcrypto/cpt_err.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ERR_load_CRYPTO_strings |
|
2 |
7 |
36 |
1 |
| Source file: ./lib/libcrypto/sparcv9cap.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bn_mul_mont |
|
4 |
12 |
155 |
6 |
| common_handler |
|
1 |
4 |
14 |
1 |
| OPENSSL_cpuid_setup |
|
6 |
41 |
254 |
1 |
| Source file: ./lib/libcrypto/ppccap.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bn_mul_mont |
|
1 |
5 |
47 |
6 |
| OPENSSL_cpuid_setup |
|
4 |
15 |
83 |
1 |
| Source file: ./lib/libcrypto/ex_data.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| impl_check |
|
2 |
7 |
26 |
1 |
| CRYPTO_get_ex_data_implementation |
|
1 |
5 |
10 |
1 |
| CRYPTO_set_ex_data_implementation |
|
2 |
11 |
42 |
1 |
| ex_class_item_hash |
|
1 |
4 |
14 |
1 |
| ex_class_item_cmp |
|
1 |
4 |
22 |
2 |
| ex_data_check |
|
2 |
10 |
42 |
1 |
| def_cleanup_util_cb |
|
1 |
4 |
13 |
1 |
| def_cleanup_cb |
|
1 |
6 |
32 |
1 |
| def_get_class |
|
5 |
26 |
133 |
1 |
| def_add_index |
|
4 |
28 |
169 |
6 |
| int_new_class |
|
1 |
8 |
27 |
1 |
| int_cleanup |
|
1 |
8 |
31 |
1 |
| int_get_new_index |
|
2 |
9 |
60 |
6 |
| int_new_ex_data |
|
10 |
35 |
231 |
3 |
| int_dup_ex_data |
|
12 |
39 |
267 |
3 |
| int_free_ex_data |
|
11 |
37 |
244 |
3 |
| CRYPTO_ex_data_new_class |
|
1 |
5 |
15 |
1 |
| CRYPTO_cleanup_all_ex_data |
|
1 |
5 |
14 |
1 |
| CRYPTO_get_ex_new_index |
|
1 |
9 |
56 |
6 |
| CRYPTO_new_ex_data |
|
1 |
5 |
29 |
3 |
| CRYPTO_dup_ex_data |
|
1 |
5 |
29 |
3 |
| CRYPTO_free_ex_data |
|
1 |
5 |
28 |
3 |
| CRYPTO_set_ex_data |
|
5 |
20 |
114 |
3 |
| CRYPTO_get_ex_data |
|
3 |
9 |
55 |
2 |
| Source file: ./lib/libcrypto/opensslfeatures.h |
| Source file: ./lib/libcrypto/cryptlib.h |
| Source file: ./lib/libcrypto/x86_arch.h |
| Source file: ./lib/libcrypto/md32_common.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ROTATE |
|
1 |
4 |
29 |
2 |
| HASH_UPDATE |
|
8 |
44 |
292 |
3 |
| HASH_TRANSFORM |
|
1 |
4 |
23 |
2 |
| HASH_FINAL |
|
4 |
24 |
177 |
2 |
| Source file: ./lib/libcrypto/armcap.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ill_handler |
|
1 |
2 |
14 |
1 |
| OPENSSL_cpuid_setup |
|
5 |
28 |
175 |
1 |
| Source file: ./lib/libcrypto/opensslv.h |
| Source file: ./lib/libcrypto/mem_dbg.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| CRYPTO_mem_ctrl |
|
1 |
4 |
12 |
1 |
| CRYPTO_is_mem_check_on |
|
1 |
4 |
11 |
1 |
| CRYPTO_dbg_set_options |
|
1 |
4 |
9 |
1 |
| CRYPTO_dbg_get_options |
|
1 |
4 |
11 |
1 |
| CRYPTO_push_info_ |
|
1 |
4 |
22 |
3 |
| CRYPTO_pop_info |
|
1 |
4 |
11 |
1 |
| CRYPTO_remove_all_info |
|
1 |
4 |
11 |
1 |
| CRYPTO_dbg_malloc |
|
1 |
5 |
26 |
5 |
| CRYPTO_dbg_free |
|
1 |
4 |
15 |
2 |
| CRYPTO_dbg_realloc |
|
1 |
5 |
30 |
6 |
| CRYPTO_mem_leaks |
|
1 |
4 |
10 |
1 |
| CRYPTO_mem_leaks_fp |
|
1 |
4 |
10 |
1 |
| CRYPTO_mem_leaks_cb |
|
1 |
4 |
10 |
1 |
| Source file: ./lib/libcrypto/o_time.h |
| Source file: ./lib/libcrypto/malloc-wrapper.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| CRYPTO_set_mem_functions |
|
1 |
5 |
40 |
3 |
| CRYPTO_set_mem_ex_functions |
|
1 |
5 |
52 |
3 |
| CRYPTO_set_locked_mem_functions |
|
1 |
4 |
27 |
2 |
| CRYPTO_set_locked_mem_ex_functions |
|
1 |
5 |
33 |
2 |
| CRYPTO_set_mem_debug_functions |
|
1 |
6 |
80 |
5 |
| CRYPTO_get_mem_functions |
|
4 |
10 |
70 |
3 |
| CRYPTO_get_mem_ex_functions |
|
4 |
10 |
82 |
3 |
| CRYPTO_get_locked_mem_functions |
|
3 |
7 |
46 |
2 |
| CRYPTO_get_locked_mem_ex_functions |
|
3 |
8 |
52 |
2 |
| CRYPTO_get_mem_debug_functions |
|
6 |
15 |
132 |
5 |
| CRYPTO_malloc_locked |
|
2 |
6 |
30 |
3 |
| CRYPTO_free_locked |
|
1 |
4 |
13 |
1 |
| CRYPTO_malloc |
|
2 |
6 |
30 |
3 |
| CRYPTO_strdup |
|
1 |
4 |
23 |
3 |
| CRYPTO_realloc |
|
2 |
6 |
36 |
4 |
| CRYPTO_realloc_clean |
|
6 |
15 |
84 |
5 |
| CRYPTO_free |
|
1 |
4 |
13 |
1 |
| CRYPTO_remalloc |
|
1 |
5 |
30 |
4 |
| CRYPTO_set_mem_debug_options |
|
1 |
4 |
9 |
1 |
| CRYPTO_get_mem_debug_options |
|
1 |
4 |
9 |
1 |
| Source file: ./lib/libcrypto/cryptlib.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| CRYPTO_get_new_lockid |
|
5 |
20 |
105 |
1 |
| CRYPTO_num_locks |
|
1 |
4 |
9 |
1 |
| CRYPTO_get_new_dynlockid |
|
7 |
42 |
236 |
1 |
| CRYPTO_destroy_dynlockid |
|
8 |
26 |
135 |
1 |
| CRYPTO_get_dynlock_value |
|
6 |
15 |
77 |
1 |
| void( * CRYPTO_get_dynlock_lock_callback(void)) |
|
1 |
5 |
24 |
4 |
| void( * CRYPTO_get_dynlock_destroy_callback(void)) |
|
1 |
5 |
21 |
3 |
| CRYPTO_set_dynlock_create_callback |
|
1 |
5 |
25 |
1 |
| CRYPTO_set_dynlock_lock_callback |
|
1 |
5 |
31 |
1 |
| CRYPTO_set_dynlock_destroy_callback |
|
1 |
5 |
28 |
1 |
| void( * CRYPTO_get_locking_callback(void)) |
|
1 |
5 |
22 |
4 |
| int( * CRYPTO_get_add_lock_callback(void)) |
|
1 |
5 |
26 |
5 |
| CRYPTO_set_locking_callback |
|
1 |
5 |
29 |
1 |
| CRYPTO_set_add_lock_callback |
|
1 |
5 |
33 |
1 |
| CRYPTO_THREADID_set_numeric |
|
1 |
5 |
31 |
2 |
| CRYPTO_THREADID_set_pointer |
|
2 |
14 |
108 |
2 |
| CRYPTO_THREADID_set_callback |
|
2 |
7 |
28 |
1 |
| void( * CRYPTO_THREADID_get_callback(void)) |
|
1 |
4 |
9 |
1 |
| CRYPTO_THREADID_current |
|
3 |
12 |
50 |
1 |
| CRYPTO_THREADID_cmp |
|
1 |
4 |
28 |
2 |
| CRYPTO_THREADID_cpy |
|
1 |
4 |
26 |
2 |
| CRYPTO_THREADID_hash |
|
1 |
4 |
14 |
1 |
| long( * CRYPTO_get_id_callback(void)) |
|
1 |
4 |
10 |
1 |
| CRYPTO_set_id_callback |
|
1 |
4 |
18 |
1 |
| CRYPTO_thread_id |
|
2 |
9 |
42 |
1 |
| CRYPTO_lock |
|
9 |
33 |
181 |
4 |
| CRYPTO_add_lock |
|
5 |
30 |
181 |
5 |
| CRYPTO_get_lock_name |
|
4 |
12 |
63 |
1 |
| OPENSSL_cpu_caps |
|
1 |
4 |
9 |
1 |
| OPENSSL_cpuid_setup |
|
2 |
9 |
34 |
1 |
| OPENSSL_cpu_caps |
|
1 |
4 |
9 |
1 |
| OPENSSL_cpuid_setup |
|
1 |
3 |
6 |
1 |
| OPENSSL_showfatal |
|
1 |
7 |
35 |
2 |
| OpenSSLDie |
|
1 |
7 |
32 |
3 |
| CRYPTO_memcmp |
|
2 |
10 |
70 |
3 |
| Source file: ./lib/libcrypto/o_str.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| OPENSSL_strncasecmp |
|
1 |
4 |
27 |
3 |
| OPENSSL_strcasecmp |
|
1 |
4 |
22 |
2 |
| Source file: ./lib/libcrypto/constant_time_locl.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| constant_time_msb |
|
1 |
4 |
27 |
1 |
| constant_time_lt |
|
1 |
4 |
36 |
2 |
| constant_time_lt_8 |
|
1 |
4 |
26 |
2 |
| constant_time_ge |
|
1 |
4 |
20 |
2 |
| constant_time_ge_8 |
|
1 |
4 |
26 |
2 |
| constant_time_is_zero |
|
1 |
4 |
20 |
1 |
| constant_time_is_zero_8 |
|
1 |
4 |
20 |
1 |
| constant_time_eq |
|
1 |
4 |
20 |
2 |
| constant_time_eq_8 |
|
1 |
4 |
26 |
2 |
| constant_time_eq_int |
|
1 |
4 |
28 |
2 |
| constant_time_eq_int_8 |
|
1 |
4 |
28 |
2 |
| constant_time_select |
|
1 |
6 |
29 |
3 |
| constant_time_select_8 |
|
1 |
6 |
32 |
3 |
| constant_time_select_int |
|
1 |
4 |
39 |
3 |
| Source file: ./lib/libcrypto/crypto.h |
| Source file: ./lib/librthread/rthread_np.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pthread_set_name_np |
|
1 |
4 |
28 |
2 |
| pthread_main_np |
|
3 |
5 |
26 |
1 |
| pthread_stackseg_np |
|
10 |
37 |
264 |
2 |
| Source file: ./lib/librthread/rthread_sched.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pthread_getschedparam |
|
3 |
10 |
52 |
3 |
| pthread_setschedparam |
|
6 |
13 |
70 |
3 |
| pthread_attr_getschedparam |
|
1 |
6 |
29 |
2 |
| pthread_attr_setschedparam |
|
1 |
6 |
29 |
2 |
| pthread_attr_getschedpolicy |
|
1 |
5 |
28 |
2 |
| pthread_attr_setschedpolicy |
|
4 |
8 |
44 |
2 |
| pthread_attr_getinheritsched |
|
1 |
5 |
28 |
2 |
| pthread_attr_setinheritsched |
|
3 |
8 |
40 |
2 |
| pthread_getprio |
|
2 |
6 |
27 |
1 |
| pthread_setprio |
|
2 |
7 |
34 |
2 |
| pthread_yield |
|
1 |
4 |
10 |
1 |
| Source file: ./lib/librthread/sched_prio.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sched_get_priority_max |
|
3 |
8 |
34 |
1 |
| sched_get_priority_min |
|
3 |
8 |
34 |
1 |
| Source file: ./lib/librthread/pthread.h |
| Source file: ./lib/librthread/rthread_stack.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _rthread_alloc_stack |
|
17 |
68 |
443 |
1 |
| _rthread_free_stack |
|
4 |
13 |
78 |
1 |
| Source file: ./lib/libcrypto/ossl_typ.h |
| Source file: ./lib/libcrypto/bn/bn_asm.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bn_mul_add_words |
|
4 |
23 |
167 |
4 |
| bn_mul_words |
|
4 |
23 |
167 |
4 |
| bn_sqr_words |
|
4 |
21 |
157 |
3 |
| bn_mul_add_words |
|
4 |
26 |
199 |
4 |
| bn_mul_words |
|
4 |
26 |
199 |
4 |
| bn_sqr_words |
|
4 |
21 |
157 |
3 |
| bn_div_words |
|
1 |
4 |
42 |
3 |
| bn_div_words |
|
13 |
56 |
360 |
3 |
| bn_add_words |
|
4 |
35 |
257 |
4 |
| bn_add_words |
|
4 |
51 |
368 |
4 |
| bn_sub_words |
|
9 |
46 |
314 |
4 |
| bn_mul_comba8 |
|
1 |
101 |
1419 |
3 |
| bn_mul_comba4 |
|
1 |
37 |
419 |
3 |
| bn_sqr_comba8 |
|
1 |
73 |
724 |
2 |
| bn_sqr_comba4 |
|
1 |
31 |
254 |
2 |
| bn_mul_mont |
|
21 |
63 |
613 |
6 |
| bn_mul_mont |
|
1 |
3 |
34 |
6 |
| bn_sqr_comba4 |
|
1 |
5 |
30 |
2 |
| bn_sqr_comba8 |
|
1 |
5 |
30 |
2 |
| bn_mul_comba4 |
|
1 |
7 |
116 |
3 |
| bn_mul_comba8 |
|
1 |
11 |
216 |
3 |
| bn_mul_mont |
|
10 |
31 |
315 |
6 |
| bn_mul_mont |
|
1 |
5 |
34 |
6 |
| Source file: ./lib/librthread/rthread_rwlockattr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pthread_rwlockattr_init |
|
2 |
10 |
50 |
1 |
| pthread_rwlockattr_destroy |
|
1 |
6 |
24 |
1 |
| pthread_rwlockattr_getpshared |
|
1 |
5 |
28 |
2 |
| pthread_rwlockattr_setpshared |
|
2 |
7 |
36 |
2 |
| Source file: ./lib/librthread/rthread_fork.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _dofork |
|
6 |
28 |
144 |
1 |
| _thread_fork |
|
1 |
4 |
13 |
1 |
| _thread_vfork |
|
1 |
4 |
13 |
1 |
| Source file: ./lib/librthread/rthread_sig.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sigwait |
|
4 |
15 |
91 |
2 |
| sigwaitinfo |
|
1 |
10 |
59 |
2 |
| sigtimedwait |
|
1 |
11 |
65 |
3 |
| Source file: ./lib/librthread/rthread_mutexattr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pthread_mutexattr_init |
|
2 |
10 |
50 |
1 |
| pthread_mutexattr_destroy |
|
1 |
6 |
24 |
1 |
| pthread_mutexattr_settype |
|
3 |
7 |
40 |
2 |
| pthread_mutexattr_gettype |
|
1 |
5 |
27 |
2 |
| pthread_mutexattr_setprotocol |
|
3 |
7 |
40 |
2 |
| pthread_mutexattr_getprotocol |
|
1 |
5 |
27 |
2 |
| pthread_mutexattr_setprioceiling |
|
3 |
8 |
40 |
2 |
| pthread_mutexattr_getprioceiling |
|
1 |
5 |
27 |
2 |
| pthread_mutexattr_getkind_np |
|
2 |
9 |
32 |
1 |
| pthread_mutexattr_setkind_np |
|
5 |
12 |
58 |
2 |
| Source file: ./lib/librthread/rthread_mutex_prio.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pthread_mutex_getprioceiling |
|
2 |
8 |
44 |
2 |
| pthread_mutex_setprioceiling |
|
5 |
16 |
86 |
3 |
| Source file: ./lib/librthread/rthread_spin_lock.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pthread_spin_init |
|
4 |
14 |
76 |
2 |
| pthread_spin_destroy |
|
4 |
10 |
56 |
1 |
| pthread_spin_trylock |
|
5 |
14 |
79 |
1 |
| pthread_spin_lock |
|
4 |
13 |
71 |
1 |
| pthread_spin_unlock |
|
4 |
13 |
71 |
1 |
| Source file: ./lib/librthread/namespace.h |
| Source file: ./lib/librthread/rthread_cb.h |
| Source file: ./lib/librthread/rthread_barrier_attr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pthread_barrierattr_init |
|
3 |
10 |
57 |
1 |
| pthread_barrierattr_destroy |
|
3 |
7 |
35 |
1 |
| pthread_barrierattr_getpshared |
|
3 |
7 |
43 |
2 |
| pthread_barrierattr_setpshared |
|
4 |
9 |
52 |
2 |
| Source file: ./lib/librthread/rthread_getcpuclockid.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pthread_getcpuclockid |
|
1 |
6 |
30 |
2 |
| Source file: ./lib/librthread/rthread_sem.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _sem_wait |
|
10 |
30 |
182 |
4 |
| _sem_post |
|
3 |
15 |
80 |
1 |
| sem_init |
|
11 |
45 |
250 |
3 |
| sem_destroy |
|
6 |
21 |
106 |
1 |
| sem_getvalue |
|
3 |
12 |
68 |
2 |
| sem_post |
|
3 |
10 |
46 |
1 |
| sem_wait |
|
5 |
23 |
122 |
1 |
| sem_timedwait |
|
6 |
23 |
134 |
2 |
| sem_trywait |
|
4 |
15 |
73 |
1 |
| makesempath |
|
1 |
6 |
45 |
3 |
| sem_open |
|
16 |
77 |
434 |
3 |
| sem_close |
|
4 |
12 |
63 |
1 |
| sem_unlink |
|
1 |
6 |
35 |
1 |
| Source file: ./lib/librthread/rthread.h |
| Source file: ./lib/libcrypto/whrlpool/wp_block.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| whirlpool_block |
|
17 |
152 |
3519 |
3 |
| Source file: ./lib/librthread/pthread_np.h |
| Source file: ./lib/librthread/rthread_attr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pthread_attr_init |
|
3 |
12 |
58 |
1 |
| pthread_attr_destroy |
|
1 |
6 |
24 |
1 |
| pthread_attr_getguardsize |
|
1 |
5 |
28 |
2 |
| pthread_attr_setguardsize |
|
1 |
5 |
25 |
2 |
| pthread_attr_getdetachstate |
|
1 |
5 |
28 |
2 |
| pthread_attr_setdetachstate |
|
4 |
9 |
50 |
2 |
| pthread_attr_getstack |
|
1 |
7 |
42 |
3 |
| pthread_attr_setstack |
|
3 |
10 |
61 |
3 |
| pthread_attr_getstacksize |
|
1 |
5 |
28 |
2 |
| pthread_attr_setstacksize |
|
4 |
10 |
52 |
2 |
| pthread_attr_getstackaddr |
|
1 |
5 |
28 |
2 |
| pthread_attr_setstackaddr |
|
4 |
9 |
57 |
2 |
| pthread_attr_getscope |
|
1 |
5 |
28 |
2 |
| pthread_attr_setscope |
|
3 |
8 |
40 |
2 |
| Source file: ./lib/librthread/rthread_barrier.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pthread_barrier_init |
|
11 |
32 |
195 |
3 |
| pthread_barrier_destroy |
|
6 |
20 |
125 |
1 |
| pthread_barrier_wait |
|
13 |
41 |
278 |
1 |
| Source file: ./lib/libz/zconf.h |
| Source file: ./lib/libz/zutil.h |
| Source file: ./lib/librthread/rthread_rwlock.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pthread_rwlock_init |
|
2 |
12 |
64 |
2 |
| pthread_rwlock_destroy |
|
4 |
15 |
78 |
1 |
| _rthread_rwlock_ensure_init |
|
3 |
12 |
55 |
1 |
| _rthread_rwlock_rdlock |
|
9 |
30 |
196 |
3 |
| pthread_rwlock_rdlock |
|
1 |
4 |
20 |
1 |
| pthread_rwlock_tryrdlock |
|
1 |
4 |
20 |
1 |
| pthread_rwlock_timedrdlock |
|
5 |
8 |
55 |
2 |
| _rthread_rwlock_wrlock |
|
9 |
34 |
219 |
3 |
| pthread_rwlock_wrlock |
|
1 |
4 |
20 |
1 |
| pthread_rwlock_trywrlock |
|
1 |
4 |
20 |
1 |
| pthread_rwlock_timedwrlock |
|
5 |
8 |
55 |
2 |
| pthread_rwlock_unlock |
|
5 |
33 |
191 |
1 |
| Source file: ./lib/libz/inffast.h |
| Source file: ./lib/libz/compress.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| compress2 |
|
7 |
29 |
200 |
5 |
| compress |
|
1 |
8 |
42 |
4 |
| compressBound |
|
1 |
5 |
28 |
1 |
| Source file: ./lib/librthread/rthread.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dlctl |
|
1 |
1 |
18 |
3 |
| _rthread_start |
|
1 |
7 |
33 |
1 |
| sigthr_handler |
|
6 |
14 |
74 |
1 |
| multi_threaded_errnoptr |
|
1 |
4 |
16 |
1 |
| multi_threaded_tcb |
|
1 |
4 |
13 |
1 |
| _rthread_free |
|
1 |
6 |
29 |
1 |
| _thread_release |
|
2 |
15 |
82 |
1 |
| _thread_key_zero |
|
3 |
11 |
58 |
1 |
| _rthread_init |
|
3 |
33 |
202 |
1 |
| _rthread_reaper |
|
3 |
24 |
140 |
1 |
| pthread_join |
|
9 |
32 |
187 |
2 |
| pthread_detach |
|
3 |
17 |
92 |
1 |
| pthread_create |
|
8 |
56 |
378 |
4 |
| pthread_kill |
|
3 |
9 |
56 |
2 |
| pthread_cancel |
|
5 |
14 |
89 |
1 |
| pthread_testcancel |
|
3 |
6 |
36 |
1 |
| pthread_setcancelstate |
|
5 |
17 |
86 |
2 |
| pthread_setcanceltype |
|
5 |
17 |
87 |
2 |
| pthread_cleanup_push |
|
2 |
12 |
76 |
2 |
| pthread_cleanup_pop |
|
3 |
12 |
57 |
1 |
| pthread_getconcurrency |
|
1 |
4 |
11 |
1 |
| pthread_setconcurrency |
|
2 |
7 |
27 |
1 |
| _thread_dump_info |
|
1 |
9 |
51 |
1 |
| _rthread_dl_lock |
|
10 |
38 |
220 |
1 |
| Source file: ./lib/libz/inftrees.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| inflate_table |
|
42 |
184 |
1436 |
6 |
| Source file: ./lib/libz/uncompr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| uncompress |
|
8 |
29 |
199 |
4 |
| Source file: ./lib/libz/adler32.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| adler32 |
|
13 |
55 |
261 |
3 |
| adler32_combine |
|
5 |
20 |
158 |
3 |
| Source file: ./lib/libz/zutil.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| zlibVersion |
|
1 |
4 |
8 |
0 |
| zlibCompileFlags |
|
29 |
46 |
306 |
0 |
| z_error |
|
1 |
6 |
24 |
1 |
| zError |
|
1 |
5 |
15 |
1 |
| zmemcpy |
|
3 |
10 |
49 |
3 |
| zmemcmp |
|
3 |
11 |
73 |
3 |
| zmemzero |
|
3 |
9 |
40 |
2 |
| zcalloc |
|
5 |
17 |
147 |
3 |
| zcfree |
|
5 |
19 |
109 |
2 |
| zcalloc |
|
2 |
5 |
32 |
3 |
| zcfree |
|
2 |
5 |
23 |
2 |
| zcalloc |
|
4 |
10 |
54 |
3 |
| zcfree |
|
2 |
7 |
25 |
2 |
| Source file: ./lib/libz/inffixed.h |
| Source file: ./lib/libz/inffast.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| inflate_fast |
|
44 |
223 |
1433 |
2 |
| Source file: ./lib/libz/zlib.h |
| Source file: ./lib/libz/deflate.h |
| Source file: ./lib/libz/trees.h |
| Source file: ./lib/libz/inftrees.h |
| Source file: ./lib/libz/gzio.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| gz_open |
|
25 |
85 |
716 |
3 |
| gzopen |
|
1 |
6 |
29 |
2 |
| gzdopen |
|
2 |
9 |
56 |
2 |
| gzsetparams |
|
5 |
16 |
116 |
3 |
| get_byte |
|
5 |
17 |
123 |
1 |
| check_header |
|
23 |
50 |
420 |
1 |
| destroy |
|
11 |
25 |
161 |
1 |
| gzread |
|
27 |
87 |
710 |
3 |
| gzgetc |
|
2 |
6 |
31 |
1 |
| gzungetc |
|
6 |
13 |
93 |
2 |
| gzgets |
|
8 |
11 |
82 |
3 |
| gzwrite |
|
7 |
28 |
235 |
3 |
| gzprintf |
|
4 |
13 |
102 |
3 |
| gzprintf |
|
4 |
17 |
240 |
22 |
| gzputc |
|
2 |
7 |
45 |
2 |
| gzputs |
|
1 |
6 |
36 |
2 |
| do_flush |
|
13 |
29 |
238 |
2 |
| gzflush |
|
3 |
10 |
61 |
2 |
| gzseek |
|
29 |
66 |
455 |
3 |
| gzrewind |
|
4 |
16 |
128 |
1 |
| gztell |
|
1 |
5 |
19 |
1 |
| gzeof |
|
4 |
8 |
50 |
1 |
| gzdirect |
|
3 |
7 |
39 |
1 |
| putLong |
|
2 |
10 |
52 |
2 |
| getLong |
|
2 |
12 |
88 |
1 |
| gzclose |
|
5 |
14 |
101 |
1 |
| gzerror |
|
7 |
24 |
226 |
2 |
| gzclearerr |
|
3 |
9 |
54 |
1 |
| Source file: ./lib/libsndio/debug.h |
| Source file: ./lib/libz/crc32.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| make_crc_table |
|
14 |
52 |
407 |
0 |
| write_table |
|
5 |
9 |
73 |
2 |
| get_crc_table |
|
3 |
6 |
23 |
0 |
| crc32 |
|
10 |
26 |
139 |
3 |
| crc32_little |
|
7 |
29 |
193 |
3 |
| crc32_big |
|
7 |
31 |
209 |
3 |
| gf2_matrix_times |
|
3 |
14 |
53 |
2 |
| gf2_matrix_square |
|
2 |
8 |
49 |
2 |
| crc32_combine |
|
7 |
34 |
180 |
3 |
| Source file: ./lib/libsndio/mio_priv.h |
| Source file: ./lib/libz/trees.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| send_bits |
|
3 |
18 |
138 |
3 |
| tr_static_init |
|
16 |
54 |
474 |
0 |
| gen_trees_header |
|
7 |
39 |
334 |
0 |
| _tr_init |
|
2 |
17 |
106 |
1 |
| init_block |
|
4 |
11 |
116 |
1 |
| pqdownheap |
|
5 |
18 |
141 |
3 |
| gen_bitlen |
|
14 |
56 |
496 |
2 |
| gen_codes |
|
5 |
23 |
203 |
3 |
| build_tree |
|
11 |
48 |
494 |
2 |
| scan_tree |
|
11 |
38 |
270 |
3 |
| send_tree |
|
13 |
40 |
322 |
3 |
| build_bl_tree |
|
3 |
15 |
142 |
1 |
| send_all_trees |
|
6 |
22 |
223 |
4 |
| _tr_stored_block |
|
2 |
11 |
88 |
4 |
| _tr_align |
|
4 |
15 |
98 |
1 |
| Source file: ./lib/libsndio/amsg.h |
| Source file: ./lib/libsndio/mio.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mio_open |
|
13 |
29 |
200 |
3 |
| _mio_create |
|
1 |
8 |
45 |
4 |
| mio_close |
|
1 |
4 |
18 |
1 |
| mio_psleep |
|
7 |
30 |
148 |
2 |
| mio_read |
|
10 |
31 |
162 |
3 |
| mio_write |
|
10 |
36 |
179 |
3 |
| mio_nfds |
|
1 |
4 |
19 |
1 |
| mio_pollfd |
|
2 |
6 |
40 |
3 |
| mio_revents |
|
2 |
6 |
35 |
2 |
| mio_eof |
|
1 |
4 |
14 |
1 |
| Source file: ./lib/libsndio/sio_priv.h |
| Source file: ./lib/libsndio/debug.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _sndio_debug_init |
|
5 |
9 |
52 |
1 |
| _sndio_parsetype |
|
5 |
12 |
55 |
2 |
| _sndio_parsenum |
|
7 |
21 |
120 |
3 |
| Source file: ./lib/libsndio/sio_aucat.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sio_aucat_runmsg |
|
10 |
52 |
361 |
1 |
| sio_aucat_buildmsg |
|
2 |
12 |
100 |
1 |
| _sio_aucat_open |
|
3 |
18 |
119 |
3 |
| sio_aucat_close |
|
3 |
8 |
66 |
1 |
| sio_aucat_start |
|
3 |
22 |
220 |
1 |
| sio_aucat_stop |
|
14 |
41 |
286 |
1 |
| sio_aucat_setpar |
|
4 |
22 |
277 |
2 |
| sio_aucat_getpar |
|
6 |
32 |
381 |
2 |
| sio_aucat_getcap |
|
21 |
71 |
508 |
2 |
| sio_aucat_read |
|
3 |
9 |
71 |
3 |
| sio_aucat_write |
|
8 |
21 |
165 |
3 |
| sio_aucat_nfds |
|
1 |
4 |
12 |
1 |
| sio_aucat_pollfd |
|
2 |
8 |
62 |
3 |
| sio_aucat_revents |
|
8 |
21 |
134 |
2 |
| sio_aucat_setvol |
|
1 |
6 |
34 |
2 |
| sio_aucat_getvol |
|
1 |
6 |
35 |
1 |
| Source file: ./lib/libsndio/mio_aucat.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mio_aucat_runmsg |
|
4 |
24 |
146 |
1 |
| _mio_aucat_open |
|
4 |
16 |
115 |
3 |
| mio_aucat_close |
|
2 |
8 |
66 |
1 |
| mio_aucat_read |
|
3 |
9 |
71 |
3 |
| mio_aucat_write |
|
4 |
12 |
101 |
3 |
| mio_aucat_nfds |
|
1 |
4 |
12 |
1 |
| mio_aucat_pollfd |
|
2 |
8 |
62 |
3 |
| mio_aucat_revents |
|
8 |
20 |
121 |
2 |
| Source file: ./lib/libz/inflate.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| inflateReset |
|
3 |
23 |
156 |
1 |
| inflatePrime |
|
5 |
14 |
100 |
3 |
| inflateInit2_ |
|
13 |
39 |
268 |
4 |
| inflateInit_ |
|
1 |
7 |
33 |
3 |
| fixedtables |
|
8 |
31 |
237 |
1 |
| makefixed |
|
7 |
37 |
247 |
0 |
| updatewindow |
|
9 |
42 |
295 |
2 |
| inflate |
|
198 |
591 |
4042 |
2 |
| inflateEnd |
|
5 |
13 |
95 |
1 |
| inflateSetDictionary |
|
9 |
35 |
221 |
3 |
| inflateGetHeader |
|
4 |
12 |
77 |
2 |
| syncsearch |
|
6 |
21 |
106 |
3 |
| inflateSync |
|
8 |
34 |
262 |
1 |
| inflateSyncPoint |
|
4 |
8 |
55 |
1 |
| inflateCopy |
|
12 |
40 |
324 |
2 |
| Source file: ./lib/libsndio/aucat.h |
| Source file: ./lib/libsndio/mio_rmidi.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mio_rmidi_getfd |
|
10 |
42 |
230 |
3 |
| mio_rmidi_fdopen |
|
3 |
11 |
72 |
3 |
| _mio_rmidi_open |
|
5 |
14 |
81 |
3 |
| mio_rmidi_close |
|
3 |
9 |
52 |
1 |
| mio_rmidi_read |
|
5 |
20 |
111 |
3 |
| mio_rmidi_write |
|
4 |
15 |
88 |
3 |
| mio_rmidi_nfds |
|
1 |
4 |
12 |
1 |
| mio_rmidi_pollfd |
|
1 |
7 |
46 |
3 |
| mio_rmidi_revents |
|
1 |
4 |
19 |
2 |
| Source file: ./lib/libc/dlfcn/init.h |
| Source file: ./lib/libsndio/sio_sun.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sio_sun_adjpar |
|
4 |
16 |
90 |
2 |
| sio_sun_testpar |
|
24 |
42 |
297 |
5 |
| sio_sun_getcap |
|
23 |
96 |
802 |
2 |
| sio_sun_getfd |
|
10 |
38 |
215 |
3 |
| sio_sun_fdopen |
|
4 |
17 |
104 |
3 |
| _sio_sun_open |
|
5 |
14 |
81 |
3 |
| sio_sun_close |
|
3 |
7 |
42 |
1 |
| sio_sun_start |
|
3 |
23 |
162 |
1 |
| sio_sun_stop |
|
3 |
14 |
72 |
1 |
| sio_sun_setpar |
|
8 |
32 |
245 |
2 |
| sio_sun_getpar |
|
2 |
22 |
161 |
2 |
| sio_sun_read |
|
5 |
20 |
111 |
3 |
| sio_sun_write |
|
4 |
17 |
102 |
3 |
| sio_sun_nfds |
|
1 |
4 |
12 |
1 |
| sio_sun_pollfd |
|
4 |
17 |
131 |
3 |
| sio_sun_revents |
|
14 |
60 |
474 |
2 |
| Source file: ./lib/libz/deflate.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| deflateInit_ |
|
1 |
9 |
46 |
4 |
| deflateInit2_ |
|
28 |
76 |
645 |
8 |
| deflateSetDictionary |
|
12 |
32 |
233 |
3 |
| deflateReset |
|
9 |
26 |
172 |
1 |
| deflateSetHeader |
|
4 |
9 |
53 |
2 |
| deflatePrime |
|
3 |
10 |
69 |
3 |
| deflateParams |
|
13 |
29 |
203 |
3 |
| deflateTune |
|
3 |
16 |
81 |
5 |
| deflateBound |
|
5 |
15 |
95 |
2 |
| putShortMSB |
|
1 |
7 |
44 |
2 |
| flush_pending |
|
4 |
16 |
113 |
1 |
| deflate |
|
95 |
251 |
1993 |
2 |
| deflateEnd |
|
11 |
23 |
138 |
1 |
| deflateCopy |
|
10 |
40 |
428 |
2 |
| read_buf |
|
6 |
20 |
140 |
3 |
| lm_init |
|
2 |
17 |
126 |
1 |
| longest_match |
|
34 |
71 |
746 |
2 |
| longest_match_fast |
|
15 |
27 |
295 |
2 |
| check_match |
|
5 |
19 |
144 |
4 |
| fill_window |
|
16 |
46 |
385 |
1 |
| deflate_stored |
|
12 |
33 |
247 |
2 |
| deflate_fast |
|
25 |
60 |
462 |
2 |
| deflate_slow |
|
29 |
73 |
580 |
2 |
| deflate_rle |
|
13 |
43 |
273 |
2 |
| Source file: ./lib/libsndio/aucat.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _aucat_rmsg |
|
8 |
36 |
213 |
2 |
| _aucat_wmsg |
|
8 |
35 |
214 |
2 |
| _aucat_rdata |
|
8 |
31 |
171 |
4 |
| _aucat_wdata |
|
12 |
44 |
251 |
5 |
| aucat_mkcookie |
|
15 |
74 |
419 |
1 |
| aucat_connect_tcp |
|
8 |
45 |
287 |
3 |
| aucat_connect_un |
|
6 |
32 |
212 |
2 |
| parsedev |
|
5 |
18 |
103 |
2 |
| parsestr |
|
6 |
17 |
96 |
3 |
| _aucat_open |
|
23 |
95 |
666 |
3 |
| _aucat_close |
|
7 |
16 |
106 |
2 |
| _aucat_setfl |
|
3 |
9 |
53 |
3 |
| _aucat_pollfd |
|
2 |
8 |
46 |
3 |
| _aucat_revents |
|
1 |
6 |
33 |
2 |
| Source file: ./lib/libc/dlfcn/tib.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _dl_allocate_tib |
|
7 |
21 |
141 |
1 |
| _dl_free_tib |
|
4 |
9 |
52 |
2 |
| Source file: ./lib/libc/dlfcn/dlfcn_stubs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dlopen |
|
1 |
5 |
20 |
2 |
| dlclose |
|
1 |
5 |
16 |
1 |
| dlsym |
|
1 |
5 |
21 |
2 |
| dlctl |
|
1 |
4 |
19 |
3 |
| dlerror |
|
1 |
4 |
9 |
1 |
| dl_iterate_phdr |
|
2 |
8 |
50 |
2 |
| dladdr |
|
1 |
5 |
23 |
2 |
| __tls_get_addr |
|
1 |
4 |
11 |
1 |
| ___tls_get_addr |
|
1 |
4 |
10 |
1 |
| Source file: ./lib/libc/asr/getaddrinfo.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| getaddrinfo |
|
6 |
22 |
138 |
4 |
| Source file: ./lib/libc/dlfcn/init.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _csu_finish |
|
13 |
38 |
217 |
3 |
| early_static_init |
|
3 |
15 |
100 |
2 |
| setup_static_tib |
|
12 |
40 |
291 |
2 |
| _static_tls_init |
|
5 |
16 |
97 |
2 |
| Source file: ./lib/libc/asr/getnetnamadr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _fillnetent |
|
7 |
34 |
261 |
4 |
| getnetbyname |
|
3 |
19 |
111 |
1 |
| getnetbyaddr |
|
3 |
19 |
114 |
2 |
| Source file: ./lib/libc/asr/res_mkquery.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| res_mkquery |
|
12 |
38 |
317 |
9 |
| res_querydomain |
|
6 |
25 |
173 |
6 |
| Source file: ./lib/libsndio/sio.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sio_initpar |
|
1 |
5 |
28 |
1 |
| sio_open |
|
11 |
27 |
186 |
3 |
| _sio_create |
|
1 |
11 |
63 |
4 |
| sio_close |
|
1 |
4 |
18 |
1 |
| sio_start |
|
7 |
25 |
145 |
1 |
| sio_stop |
|
5 |
18 |
87 |
1 |
| sio_setpar |
|
7 |
25 |
143 |
2 |
| sio_getpar |
|
4 |
18 |
86 |
2 |
| sio_getcap |
|
3 |
13 |
64 |
2 |
| sio_psleep |
|
7 |
30 |
148 |
2 |
| sio_rdrop |
|
4 |
16 |
87 |
1 |
| sio_wsil |
|
4 |
16 |
87 |
1 |
| sio_read |
|
14 |
38 |
210 |
3 |
| sio_write |
|
13 |
39 |
227 |
3 |
| sio_nfds |
|
1 |
4 |
19 |
1 |
| sio_pollfd |
|
3 |
8 |
51 |
3 |
| sio_revents |
|
12 |
27 |
176 |
2 |
| sio_eof |
|
1 |
4 |
14 |
1 |
| sio_onmove |
|
2 |
10 |
58 |
3 |
| _sio_printpos |
|
8 |
39 |
305 |
1 |
| _sio_onmove_cb |
|
8 |
17 |
135 |
2 |
| sio_setvol |
|
4 |
11 |
63 |
2 |
| sio_onvol |
|
3 |
14 |
84 |
3 |
| _sio_onvol_cb |
|
2 |
5 |
30 |
2 |
| Source file: ./lib/libc/asr/res_init.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| res_init |
|
9 |
37 |
306 |
1 |
| Source file: ./lib/libc/asr/getrrsetbyname.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| getrrsetbyname |
|
3 |
17 |
112 |
5 |
| freerrset |
|
9 |
25 |
156 |
1 |
| Source file: ./lib/libc/asr/gethostnamadr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _fillhostent |
|
11 |
49 |
398 |
4 |
| _gethostbyname |
|
4 |
21 |
140 |
6 |
| gethostbyname |
|
2 |
9 |
50 |
1 |
| gethostbyname2 |
|
3 |
14 |
70 |
2 |
| gethostbyaddr |
|
4 |
25 |
145 |
3 |
| Source file: ./lib/libc/asr/res_debug.c |
| Source file: ./lib/libc/asr/asr_private.h |
| Source file: ./lib/libc/asr/getrrsetbyname_async.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| getrrsetbyname_async |
|
4 |
23 |
155 |
5 |
| getrrsetbyname_async_run |
|
18 |
82 |
425 |
2 |
| get_response |
|
17 |
76 |
508 |
3 |
| parse_dns_response |
|
11 |
44 |
337 |
2 |
| parse_dns_qsection |
|
7 |
34 |
230 |
4 |
| parse_dns_rrsection |
|
8 |
46 |
312 |
4 |
| free_dns_query |
|
3 |
9 |
42 |
1 |
| free_dns_rr |
|
4 |
11 |
55 |
1 |
| free_dns_response |
|
2 |
10 |
50 |
1 |
| count_dns_rr |
|
4 |
10 |
54 |
3 |
| Source file: ./lib/libc/asr/res_send_async.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| res_send_async |
|
5 |
39 |
269 |
3 |
| res_query_async |
|
1 |
10 |
70 |
4 |
| _res_query_async_ctx |
|
4 |
15 |
104 |
4 |
| res_send_async_run |
|
30 |
133 |
709 |
2 |
| sockaddr_connect |
|
5 |
20 |
112 |
2 |
| setup_query |
|
12 |
61 |
499 |
5 |
| udp_send |
|
4 |
20 |
139 |
1 |
| udp_recv |
|
4 |
24 |
171 |
1 |
| tcp_write |
|
8 |
51 |
388 |
1 |
| tcp_read |
|
14 |
59 |
470 |
1 |
| ensure_ibuf |
|
3 |
12 |
95 |
2 |
| validate_packet |
|
16 |
57 |
401 |
1 |
| iter_ns |
|
6 |
19 |
162 |
1 |
| Source file: ./lib/libc/asr/gethostnamadr_async.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| gethostbyname_async |
|
1 |
4 |
23 |
2 |
| gethostbyname2_async |
|
7 |
28 |
176 |
3 |
| gethostbyaddr_async |
|
1 |
9 |
59 |
4 |
| _gethostbyaddr_async_ctx |
|
5 |
17 |
119 |
4 |
| gethostnamadr_async_run |
|
42 |
176 |
1084 |
2 |
| hostent_from_addr |
|
4 |
14 |
95 |
3 |
| hostent_file_match |
|
15 |
42 |
302 |
5 |
| hostent_from_packet |
|
23 |
65 |
427 |
4 |
| hostent_alloc |
|
3 |
15 |
122 |
1 |
| hostent_set_cname |
|
5 |
21 |
145 |
3 |
| hostent_add_alias |
|
7 |
24 |
170 |
3 |
| hostent_add_addr |
|
5 |
15 |
107 |
3 |
| Source file: ./lib/libc/asr/res_send.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| res_send |
|
6 |
25 |
151 |
4 |
| Source file: ./lib/libc/asr/res_query.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| res_query |
|
8 |
32 |
189 |
5 |
| res_search |
|
8 |
32 |
189 |
5 |
| Source file: ./lib/libc/asr/res_search_async.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| res_search_async |
|
1 |
10 |
70 |
4 |
| _res_search_async_ctx |
|
4 |
18 |
123 |
4 |
| res_search_async_run |
|
21 |
89 |
528 |
2 |
| domcat |
|
2 |
9 |
64 |
4 |
| _asr_iter_domain |
|
16 |
50 |
358 |
4 |
| Source file: ./lib/libc/asr/asr_debug.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rcodetostr |
|
7 |
12 |
54 |
1 |
| print_dname |
|
1 |
4 |
28 |
3 |
| print_rr |
|
12 |
64 |
459 |
3 |
| print_query |
|
1 |
8 |
63 |
3 |
| print_header |
|
8 |
18 |
173 |
3 |
| _asr_dump_packet |
|
13 |
45 |
350 |
3 |
| _asr_print_sockaddr |
|
3 |
26 |
163 |
3 |
| _asr_dump_config |
|
7 |
45 |
352 |
2 |
| _asr_statestr |
|
1 |
21 |
88 |
1 |
| _asr_querystr |
|
1 |
16 |
63 |
1 |
| _asr_transitionstr |
|
1 |
9 |
28 |
1 |
| Source file: ./lib/libc/asr/asr_utils.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dname_check_label |
|
3 |
6 |
33 |
2 |
| _asr_dname_from_fqdn |
|
13 |
37 |
220 |
3 |
| dname_expand |
|
17 |
44 |
313 |
6 |
| _asr_pack_init |
|
1 |
7 |
40 |
3 |
| _asr_unpack_init |
|
1 |
7 |
41 |
3 |
| unpack_data |
|
3 |
12 |
80 |
3 |
| unpack_u16 |
|
2 |
7 |
47 |
2 |
| unpack_u32 |
|
2 |
7 |
47 |
2 |
| unpack_inaddr |
|
1 |
4 |
26 |
2 |
| unpack_in6addr |
|
1 |
4 |
26 |
2 |
| unpack_dname |
|
5 |
16 |
107 |
3 |
| _asr_unpack_header |
|
2 |
11 |
94 |
2 |
| _asr_unpack_query |
|
2 |
7 |
66 |
2 |
| _asr_unpack_rr |
|
15 |
61 |
519 |
2 |
| pack_data |
|
3 |
12 |
81 |
3 |
| pack_u16 |
|
1 |
5 |
32 |
2 |
| pack_dname |
|
1 |
4 |
31 |
2 |
| _asr_pack_header |
|
1 |
11 |
95 |
2 |
| _asr_pack_query |
|
2 |
7 |
57 |
4 |
| _asr_pack_edns0 |
|
4 |
12 |
90 |
3 |
| _asr_sockaddr_from_str |
|
16 |
58 |
392 |
3 |
| _asr_addr_as_fqdn |
|
3 |
58 |
501 |
4 |
| Source file: ./lib/libc/asr/getnameinfo.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| asr_print_addr |
|
11 |
38 |
287 |
3 |
| asr_print_port |
|
6 |
32 |
191 |
4 |
| getnameinfo |
|
18 |
46 |
274 |
7 |
| Source file: ./lib/libc/asr/sethostent.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sethostent |
|
1 |
3 |
7 |
1 |
| endhostent |
|
1 |
3 |
6 |
1 |
| gethostent |
|
1 |
5 |
15 |
1 |
| Source file: ./lib/libc/asr/asr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _asr_resolver |
|
11 |
29 |
161 |
1 |
| _asr_resolver_done |
|
3 |
14 |
71 |
1 |
| asr_abort |
|
1 |
4 |
14 |
1 |
| asr_run |
|
4 |
15 |
110 |
2 |
| asr_run_sync |
|
8 |
27 |
193 |
2 |
| _asr_async_new |
|
4 |
14 |
98 |
2 |
| _asr_async_free |
|
24 |
50 |
346 |
1 |
| _asr_use_resolver |
|
4 |
20 |
103 |
1 |
| asr_ctx_ref |
|
1 |
5 |
26 |
1 |
| _asr_ctx_unref |
|
4 |
10 |
46 |
1 |
| asr_ctx_free |
|
4 |
11 |
76 |
1 |
| asr_check_reload |
|
10 |
32 |
196 |
1 |
| _asr_make_fqdn |
|
12 |
26 |
199 |
4 |
| asr_ndots |
|
3 |
8 |
40 |
1 |
| asr_ctx_create |
|
2 |
16 |
108 |
1 |
| _asr_no_resolver |
|
1 |
4 |
11 |
1 |
| asr_ctx_add_searchdomain |
|
4 |
12 |
94 |
2 |
| strsplit |
|
3 |
12 |
79 |
3 |
| pass0 |
|
35 |
68 |
654 |
3 |
| asr_ctx_from_string |
|
10 |
26 |
174 |
2 |
| asr_ctx_from_file |
|
4 |
19 |
120 |
2 |
| asr_ctx_parse |
|
5 |
25 |
150 |
2 |
| asr_ctx_envopts |
|
6 |
23 |
159 |
1 |
| asr_parse_nameserver |
|
4 |
11 |
93 |
2 |
| _asr_strdname |
|
6 |
25 |
172 |
3 |
| _asr_parse_namedb_line |
|
5 |
22 |
139 |
5 |
| _asr_iter_db |
|
2 |
10 |
54 |
1 |
| Source file: ./lib/libc/stdio/stdio.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __sread |
|
2 |
11 |
61 |
3 |
| __swrite |
|
2 |
8 |
64 |
3 |
| __sseek |
|
2 |
13 |
69 |
3 |
| __sclose |
|
1 |
4 |
24 |
1 |
| Source file: ./lib/libc/stdio/fputwc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __fputwc_unlock |
|
4 |
30 |
161 |
2 |
| fputwc |
|
1 |
8 |
38 |
2 |
| Source file: ./lib/libc/stdio/fclose.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fclose |
|
8 |
23 |
152 |
1 |
| Source file: ./lib/libc/asr/getaddrinfo_async.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| getaddrinfo_async |
|
9 |
33 |
243 |
4 |
| getaddrinfo_async_run |
|
90 |
286 |
1814 |
2 |
| get_port |
|
6 |
24 |
158 |
3 |
| iter_family |
|
4 |
13 |
86 |
2 |
| addrinfo_add |
|
17 |
52 |
442 |
3 |
| addrinfo_from_file |
|
9 |
31 |
211 |
3 |
| addrinfo_from_pkt |
|
11 |
48 |
370 |
3 |
| addrconfig_setup |
|
9 |
31 |
183 |
1 |
| Source file: ./lib/libc/stdio/fseek.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fseeko |
|
38 |
131 |
808 |
3 |
| fseek |
|
1 |
4 |
26 |
3 |
| Source file: ./lib/libc/asr/getnameinfo_async.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| getnameinfo_async |
|
5 |
27 |
245 |
8 |
| getnameinfo_async_run |
|
26 |
103 |
705 |
2 |
| _servname |
|
10 |
28 |
253 |
1 |
| _numerichost |
|
9 |
29 |
290 |
1 |
| Source file: ./lib/libc/stdio/vdprintf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __dwrite |
|
1 |
5 |
35 |
3 |
| vdprintf |
|
3 |
19 |
134 |
3 |
| Source file: ./lib/libc/stdio/putw.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| putw |
|
1 |
15 |
88 |
2 |
| Source file: ./lib/libc/stdio/feof.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| feof |
|
1 |
8 |
33 |
1 |
| Source file: ./lib/libc/stdio/fvwrite.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __sfvwrite |
|
28 |
113 |
761 |
2 |
| Source file: ./lib/libc/asr/getnetnamadr_async.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| getnetbyname_async |
|
5 |
24 |
140 |
2 |
| getnetbyaddr_async |
|
3 |
18 |
106 |
3 |
| getnetnamadr_async_run |
|
27 |
134 |
769 |
2 |
| netent_file_match |
|
13 |
42 |
277 |
3 |
| netent_from_packet |
|
15 |
47 |
296 |
3 |
| netent_alloc |
|
2 |
13 |
96 |
1 |
| netent_set_cname |
|
5 |
21 |
145 |
3 |
| netent_add_alias |
|
7 |
24 |
172 |
3 |
| Source file: ./lib/libc/stdio/fopen.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fopen |
|
6 |
30 |
187 |
2 |
| Source file: ./lib/libc/stdio/putc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| putc_unlocked |
|
2 |
9 |
47 |
2 |
| putc |
|
1 |
8 |
38 |
2 |
| Source file: ./lib/libc/stdio/fflush.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fflush |
|
3 |
14 |
74 |
1 |
| __sflush |
|
6 |
21 |
155 |
1 |
| __sflush_locked |
|
1 |
8 |
33 |
1 |
| Source file: ./lib/libc/stdio/vsprintf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| vsprintf |
|
1 |
14 |
103 |
3 |
| Source file: ./lib/libc/stdio/vswscanf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| eofread |
|
1 |
4 |
20 |
3 |
| vswscanf |
|
4 |
31 |
220 |
3 |
| Source file: ./lib/libc/stdio/swprintf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| swprintf |
|
1 |
9 |
56 |
4 |
| Source file: ./lib/libc/stdio/fputws.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fputws |
|
3 |
15 |
76 |
2 |
| Source file: ./lib/libc/stdio/fwalk.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _fwalk |
|
5 |
13 |
110 |
1 |
| Source file: ./lib/libc/stdio/fputs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fputs |
|
1 |
15 |
93 |
2 |
| Source file: ./lib/libc/stdio/vwscanf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| vwscanf |
|
1 |
4 |
25 |
2 |
| Source file: ./lib/libc/stdio/setbuffer.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| setbuffer |
|
2 |
4 |
33 |
3 |
| setlinebuf |
|
1 |
4 |
22 |
1 |
| Source file: ./lib/libc/stdio/open_wmemstream.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wmemstream_write |
|
6 |
29 |
255 |
3 |
| wmemstream_seek |
|
6 |
23 |
137 |
3 |
| wmemstream_close |
|
1 |
6 |
25 |
1 |
| open_wmemstream |
|
6 |
38 |
252 |
2 |
| Source file: ./lib/libc/stdio/fpurge.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fpurge |
|
4 |
17 |
101 |
1 |
| Source file: ./lib/libc/stdio/glue.h |
| Source file: ./lib/libc/stdio/fgetws.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fgetws |
|
9 |
33 |
159 |
3 |
| Source file: ./lib/libc/stdio/tmpfile.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tmpfile |
|
4 |
29 |
215 |
1 |
| Source file: ./lib/libc/stdio/wbuf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __swbuf |
|
8 |
23 |
149 |
2 |
| Source file: ./lib/libc/stdio/tempnam.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tempnam |
|
21 |
51 |
357 |
2 |
| Source file: ./lib/libc/stdio/clrerr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| clearerr |
|
1 |
6 |
23 |
1 |
| Source file: ./lib/libc/stdio/findfp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| moreglue |
|
3 |
26 |
171 |
1 |
| __sfp |
|
6 |
35 |
218 |
1 |
| _cleanup |
|
1 |
4 |
14 |
1 |
| __sinit |
|
3 |
15 |
72 |
1 |
| Source file: ./lib/libc/stdio/fgetwln.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __slbexpand |
|
3 |
11 |
85 |
2 |
| fgetwln |
|
8 |
27 |
169 |
2 |
| Source file: ./lib/libc/stdio/refill.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| lflush |
|
2 |
6 |
41 |
1 |
| __srefill |
|
14 |
53 |
340 |
1 |
| Source file: ./lib/libc/stdio/getc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| getc_unlocked |
|
1 |
4 |
16 |
1 |
| getc |
|
1 |
8 |
33 |
1 |
| Source file: ./lib/libc/stdio/fprintf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fprintf |
|
1 |
9 |
49 |
3 |
| Source file: ./lib/libc/stdio/getchar.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| getchar_unlocked |
|
1 |
4 |
14 |
1 |
| getchar |
|
1 |
4 |
14 |
1 |
| Source file: ./lib/libc/stdio/sscanf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| eofread |
|
1 |
4 |
20 |
3 |
| sscanf |
|
1 |
17 |
119 |
3 |
| Source file: ./lib/libc/stdio/ungetwc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __ungetwc |
|
4 |
18 |
87 |
2 |
| ungetwc |
|
1 |
8 |
38 |
2 |
| Source file: ./lib/libc/stdio/ferror.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ferror |
|
1 |
8 |
33 |
1 |
| Source file: ./lib/libc/stdio/fwscanf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fwscanf |
|
1 |
9 |
51 |
3 |
| Source file: ./lib/libc/stdio/vasprintf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| vasprintf |
|
6 |
33 |
248 |
3 |
| Source file: ./lib/libc/stdio/vsnprintf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| vsnprintf |
|
3 |
21 |
138 |
4 |
| Source file: ./lib/libc/stdio/rget.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __srget |
|
2 |
9 |
46 |
1 |
| Source file: ./lib/libc/stdio/wcio.h |
| Source file: ./lib/libc/stdio/tmpnam.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tmpnam |
|
2 |
10 |
56 |
1 |
| Source file: ./lib/libc/stdio/open_memstream.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| memstream_write |
|
6 |
27 |
217 |
3 |
| memstream_seek |
|
6 |
22 |
115 |
3 |
| memstream_close |
|
1 |
6 |
25 |
1 |
| open_memstream |
|
6 |
37 |
232 |
2 |
| Source file: ./lib/libc/stdio/floatio.h |
| Source file: ./lib/libc/stdio/flockfile.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| flockfile |
|
1 |
4 |
13 |
1 |
| ftrylockfile |
|
2 |
6 |
29 |
1 |
| funlockfile |
|
1 |
4 |
13 |
1 |
| Source file: ./lib/libc/stdio/fvwrite.h |
| Source file: ./lib/libc/stdio/fileno.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fileno |
|
1 |
8 |
33 |
1 |
| Source file: ./lib/libc/stdio/vprintf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| vprintf |
|
1 |
4 |
24 |
2 |
| Source file: ./lib/libc/stdio/vsscanf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| eofread |
|
1 |
4 |
20 |
3 |
| vsscanf |
|
1 |
12 |
98 |
3 |
| Source file: ./lib/libc/stdio/local.h |
| Source file: ./lib/libc/stdio/putwchar.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| putwchar |
|
1 |
4 |
15 |
1 |
| Source file: ./lib/libc/stdio/putchar.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| putchar_unlocked |
|
1 |
5 |
23 |
1 |
| putchar |
|
1 |
5 |
23 |
1 |
| Source file: ./lib/libc/stdio/remove.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| remove |
|
3 |
9 |
56 |
1 |
| Source file: ./lib/libc/stdio/fwide.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fwide |
|
6 |
18 |
91 |
2 |
| Source file: ./lib/libc/stdio/flags.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __sflags |
|
11 |
46 |
176 |
2 |
| Source file: ./lib/libc/stdio/vwprintf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| vwprintf |
|
1 |
4 |
25 |
2 |
| Source file: ./lib/libc/stdio/getline.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| getline |
|
1 |
4 |
31 |
3 |
| Source file: ./lib/libc/stdio/asprintf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| asprintf |
|
6 |
36 |
262 |
3 |
| Source file: ./lib/libc/stdio/swscanf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| swscanf |
|
1 |
9 |
52 |
3 |
| Source file: ./lib/libc/stdio/fscanf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fscanf |
|
1 |
9 |
49 |
3 |
| Source file: ./lib/libc/stdio/getwc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| getwc |
|
1 |
4 |
14 |
1 |
| Source file: ./lib/libc/stdio/fdopen.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fdopen |
|
10 |
32 |
236 |
2 |
| Source file: ./lib/libc/stdio/sprintf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sprintf |
|
1 |
17 |
117 |
3 |
| Source file: ./lib/libc/stdio/setvbuf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| setvbuf |
|
18 |
66 |
403 |
4 |
| Source file: ./lib/libc/stdio/funopen.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| funopen |
|
5 |
29 |
188 |
5 |
| Source file: ./lib/libc/stdio/fgetln.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __slbexpand |
|
3 |
11 |
84 |
2 |
| fgetln |
|
10 |
52 |
345 |
2 |
| Source file: ./lib/libc/stdio/vscanf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| vscanf |
|
1 |
4 |
24 |
2 |
| Source file: ./lib/libc/stdio/puts.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| puts |
|
2 |
19 |
132 |
1 |
| Source file: ./lib/libc/stdio/getdelim.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| getdelim |
|
18 |
66 |
398 |
4 |
| Source file: ./lib/libc/stdio/fgets.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fgets |
|
8 |
47 |
250 |
3 |
| Source file: ./lib/libc/stdio/ungetc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __submore |
|
5 |
25 |
201 |
1 |
| ungetc |
|
13 |
47 |
329 |
2 |
| Source file: ./lib/libc/stdio/fwprintf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fwprintf |
|
1 |
9 |
51 |
3 |
| Source file: ./lib/libc/stdio/fgetc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fgetc |
|
1 |
4 |
16 |
1 |
| Source file: ./lib/libc/stdio/wprintf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wprintf |
|
1 |
9 |
46 |
2 |
| Source file: ./lib/libc/stdio/fgetpos.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fgetpos |
|
1 |
4 |
31 |
2 |
| Source file: ./lib/libc/stdio/getwchar.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| getwchar |
|
1 |
4 |
11 |
0 |
| Source file: ./lib/libc/stdio/perror.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| perror |
|
3 |
22 |
142 |
1 |
| Source file: ./lib/libc/stdio/getw.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| getw |
|
2 |
5 |
35 |
1 |
| Source file: ./lib/libc/stdio/vfwprintf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __sbprintf |
|
4 |
21 |
156 |
3 |
| __xfputwc |
|
4 |
23 |
154 |
2 |
| __mbsconv |
|
16 |
47 |
313 |
2 |
| __vfwprintf |
|
171 |
547 |
2888 |
3 |
| vfwprintf |
|
1 |
8 |
47 |
3 |
| __find_arguments |
|
103 |
257 |
1333 |
4 |
| __grow_type_table |
|
5 |
25 |
192 |
2 |
| exponent |
|
7 |
26 |
164 |
3 |
| Source file: ./lib/libc/stdio/fread.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fread |
|
11 |
44 |
293 |
4 |
| Source file: ./lib/libc/stdio/fgetwc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __fgetwc_unlock |
|
6 |
32 |
161 |
1 |
| fgetwc |
|
1 |
8 |
33 |
1 |
| Source file: ./lib/libc/stdio/wsetup.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __swsetup |
|
10 |
28 |
191 |
1 |
| Source file: ./lib/libc/stdio/printf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| printf |
|
1 |
9 |
45 |
2 |
| Source file: ./lib/libc/stdio/setbuf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| setbuf |
|
2 |
4 |
30 |
2 |
| Source file: ./lib/libc/stdio/fwrite.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fwrite |
|
7 |
26 |
174 |
4 |
| Source file: ./lib/libc/stdio/freopen.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| freopen |
|
22 |
80 |
528 |
3 |
| Source file: ./lib/libc/stdio/wscanf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wscanf |
|
1 |
9 |
46 |
2 |
| Source file: ./lib/libc/stdio/scanf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| scanf |
|
1 |
9 |
45 |
2 |
| Source file: ./lib/libc/stdio/makebuf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __smakebuf |
|
5 |
25 |
158 |
1 |
| __swhatbuf |
|
6 |
18 |
125 |
3 |
| Source file: ./lib/libc/stdio/fputc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fputc |
|
1 |
4 |
21 |
2 |
| Source file: ./lib/libc/stdio/vswprintf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| vswprintf |
|
7 |
50 |
323 |
4 |
| Source file: ./lib/libc/stdio/fileext.h |
| Source file: ./lib/libc/stdio/snprintf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| snprintf |
|
3 |
24 |
152 |
4 |
| Source file: ./lib/libc/stdio/putwc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| putwc |
|
1 |
4 |
19 |
2 |
| Source file: ./lib/libc/stdio/rewind.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rewind |
|
1 |
6 |
29 |
1 |
| Source file: ./lib/libc/stdio/dprintf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dprintf |
|
1 |
9 |
47 |
3 |
| Source file: ./lib/libc/stdio/ftell.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ftello |
|
8 |
27 |
161 |
1 |
| ftell |
|
2 |
9 |
42 |
1 |
| Source file: ./lib/libc/stdio/mktemp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mktemp_internal |
|
21 |
56 |
361 |
4 |
| _mktemp |
|
2 |
6 |
34 |
1 |
| mktemp |
|
1 |
4 |
16 |
1 |
| mkostemps |
|
1 |
4 |
28 |
3 |
| mkstemp |
|
1 |
4 |
22 |
1 |
| mkostemp |
|
1 |
4 |
25 |
2 |
| mkstemps |
|
1 |
4 |
25 |
2 |
| mkdtemp |
|
2 |
6 |
33 |
1 |
| Source file: ./lib/libc/stdio/fsetpos.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fsetpos |
|
1 |
4 |
26 |
2 |
| Source file: ./lib/libc/stdio/fmemopen.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fmemopen_read |
|
3 |
9 |
75 |
3 |
| fmemopen_write |
|
6 |
16 |
138 |
3 |
| fmemopen_seek |
|
6 |
21 |
101 |
3 |
| fmemopen_close |
|
1 |
5 |
18 |
1 |
| fmemopen_close_free |
|
1 |
7 |
32 |
1 |
| fmemopen |
|
16 |
55 |
392 |
3 |
| Source file: ./lib/libc/quad/udivdi3.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __udivdi3 |
|
1 |
4 |
26 |
2 |
| Source file: ./lib/libc/quad/ashldi3.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __ashldi3 |
|
3 |
16 |
124 |
2 |
| Source file: ./lib/libc/quad/floatdidf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __floatdidf |
|
3 |
13 |
96 |
1 |
| Source file: ./lib/libc/quad/floatunsdidf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __floatunsdidf |
|
1 |
9 |
66 |
1 |
| Source file: ./lib/libc/quad/fixdfdi.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __fixdfdi |
|
4 |
13 |
62 |
1 |
| Source file: ./lib/libc/quad/muldi3.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __muldi3 |
|
9 |
34 |
248 |
2 |
| __lmulq |
|
7 |
43 |
289 |
2 |
| Source file: ./lib/libc/quad/divdi3.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __divdi3 |
|
4 |
15 |
87 |
2 |
| Source file: ./lib/libc/quad/adddi3.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __adddi3 |
|
1 |
9 |
95 |
2 |
| Source file: ./lib/libc/quad/umoddi3.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __umoddi3 |
|
1 |
6 |
31 |
2 |
| Source file: ./lib/libc/quad/negdi2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __negdi2 |
|
1 |
8 |
67 |
1 |
| Source file: ./lib/libc/quad/xordi3.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __xordi3 |
|
1 |
9 |
63 |
2 |
| Source file: ./lib/libc/quad/iordi3.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __iordi3 |
|
1 |
9 |
63 |
2 |
| Source file: ./lib/libc/quad/subdi3.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __subdi3 |
|
1 |
9 |
95 |
2 |
| Source file: ./lib/libc/quad/moddi3.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __moddi3 |
|
4 |
15 |
83 |
2 |
| Source file: ./lib/libc/quad/lshrdi3.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __lshrdi3 |
|
3 |
16 |
124 |
2 |
| Source file: ./lib/libc/quad/lshldi3.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __lshldi3 |
|
3 |
16 |
124 |
2 |
| Source file: ./lib/libc/quad/fixunsdfdi.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __fixunsdfdi |
|
5 |
15 |
91 |
1 |
| Source file: ./lib/libc/quad/ashrdi3.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __ashrdi3 |
|
3 |
18 |
148 |
2 |
| Source file: ./lib/libc/quad/anddi3.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __anddi3 |
|
1 |
9 |
63 |
2 |
| Source file: ./lib/libc/quad/notdi2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __one_cmpldi2 |
|
1 |
8 |
52 |
1 |
| Source file: ./lib/libc/quad/fixsfdi.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __fixsfdi |
|
4 |
13 |
62 |
1 |
| Source file: ./lib/libc/stdio/vfwscanf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __vfwscanf |
|
234 |
565 |
3162 |
3 |
| vfwscanf |
|
1 |
8 |
47 |
3 |
| Source file: ./lib/libc/quad/cmpdi2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __cmpdi2 |
|
5 |
8 |
97 |
2 |
| Source file: ./lib/libc/quad/floatdisf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __floatdisf |
|
3 |
13 |
96 |
1 |
| Source file: ./lib/libc/stdio/vfscanf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __svfscanf |
|
244 |
616 |
3400 |
3 |
| __sccl |
|
14 |
46 |
223 |
2 |
| vfscanf |
|
1 |
8 |
45 |
3 |
| Source file: ./lib/libc/quad/fixunssfdi.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __fixunssfdi |
|
7 |
26 |
155 |
1 |
| Source file: ./lib/libc/quad/ucmpdi2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __ucmpdi2 |
|
5 |
8 |
97 |
2 |
| Source file: ./lib/libc/quad/quad.h |
| Source file: ./lib/libc/locale/localeconv.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| localeconv |
|
3 |
35 |
241 |
1 |
| Source file: ./lib/libc/locale/wcstod.c |
| Source file: ./lib/libc/stdio/vfprintf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __sprint |
|
2 |
12 |
63 |
2 |
| __sbprintf |
|
4 |
21 |
156 |
3 |
| __wcsconv |
|
11 |
43 |
286 |
2 |
| vfprintf |
|
1 |
8 |
45 |
3 |
| __vfprintf |
|
173 |
550 |
2886 |
3 |
| __find_arguments |
|
106 |
261 |
1362 |
4 |
| __grow_type_table |
|
5 |
25 |
192 |
2 |
| exponent |
|
7 |
26 |
164 |
3 |
| Source file: ./lib/libc/quad/qdivrem.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __qdivrem |
|
22 |
121 |
1120 |
3 |
| shl |
|
2 |
8 |
97 |
3 |
| Source file: ./lib/libc/locale/nl_langinfo_l.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| nl_langinfo_l |
|
5 |
16 |
79 |
2 |
| Source file: ./lib/libc/locale/btowc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| btowc |
|
3 |
13 |
75 |
1 |
| Source file: ./lib/libc/locale/wcstoimax.c |
| Source file: ./lib/libc/locale/wcstof.c |
| Source file: ./lib/libc/locale/wcstold.c |
| Source file: ./lib/libc/locale/mbstowcs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mbstowcs |
|
1 |
8 |
59 |
3 |
| Source file: ./lib/libc/locale/setlocale.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| freegl |
|
3 |
9 |
45 |
1 |
| dupgl |
|
6 |
15 |
96 |
1 |
| changegl |
|
3 |
10 |
68 |
3 |
| setlocale |
|
33 |
87 |
573 |
2 |
| Source file: ./lib/libc/locale/rune_local.h |
| Source file: ./lib/libc/locale/wctomb.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wctomb |
|
3 |
12 |
80 |
2 |
| Source file: ./lib/libc/locale/wcstoll.c |
| Source file: ./lib/libc/locale/iswctype_l.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __runelocale |
|
3 |
10 |
39 |
1 |
| __isctype_wl |
|
2 |
8 |
57 |
3 |
| iswalnum_l |
|
1 |
4 |
22 |
2 |
| iswalpha_l |
|
1 |
4 |
20 |
2 |
| iswblank_l |
|
1 |
4 |
20 |
2 |
| iswcntrl_l |
|
1 |
4 |
20 |
2 |
| iswdigit_l |
|
1 |
4 |
20 |
2 |
| iswgraph_l |
|
1 |
4 |
20 |
2 |
| iswlower_l |
|
1 |
4 |
20 |
2 |
| iswprint_l |
|
1 |
4 |
20 |
2 |
| iswpunct_l |
|
1 |
4 |
20 |
2 |
| iswspace_l |
|
1 |
4 |
20 |
2 |
| iswupper_l |
|
1 |
4 |
20 |
2 |
| iswxdigit_l |
|
1 |
4 |
20 |
2 |
| towupper_l |
|
1 |
4 |
24 |
2 |
| towlower_l |
|
1 |
4 |
24 |
2 |
| wctrans_l |
|
4 |
12 |
87 |
2 |
| towctrans_l |
|
1 |
5 |
27 |
3 |
| wctype_l |
|
3 |
10 |
69 |
2 |
| iswctype_l |
|
2 |
6 |
43 |
3 |
| Source file: ./lib/libc/locale/_get_locname.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _get_locname |
|
15 |
33 |
224 |
2 |
| Source file: ./lib/libc/locale/newlocale.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| newlocale |
|
10 |
24 |
146 |
3 |
| Source file: ./lib/libc/locale/wcstoul.c |
| Source file: ./lib/libc/locale/wctoint.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wctoint |
|
63 |
44 |
492 |
1 |
| Source file: ./lib/libc/locale/wcsxfrm_l.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wcsxfrm_l |
|
1 |
5 |
35 |
4 |
| Source file: ./lib/libc/locale/wcsxfrm.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wcsxfrm |
|
2 |
6 |
38 |
3 |
| Source file: ./lib/libc/locale/_wcstol.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| FUNCNAME |
|
30 |
75 |
423 |
3 |
| Source file: ./lib/libc/locale/duplocale.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| duplocale |
|
6 |
12 |
51 |
1 |
| Source file: ./lib/libc/locale/multibyte_citrus.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mbsinit |
|
3 |
6 |
30 |
1 |
| mbrtowc |
|
3 |
9 |
65 |
4 |
| mbsrtowcs |
|
2 |
7 |
51 |
4 |
| mbsnrtowcs |
|
3 |
10 |
72 |
5 |
| wcrtomb |
|
3 |
9 |
56 |
3 |
| wcsrtombs |
|
2 |
7 |
51 |
4 |
| wcsnrtombs |
|
3 |
10 |
72 |
5 |
| Source file: ./lib/libc/locale/iswctype.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __runetype_w |
|
2 |
6 |
37 |
1 |
| __isctype_w |
|
1 |
4 |
24 |
2 |
| __toupper_w |
|
1 |
4 |
22 |
1 |
| __tolower_w |
|
1 |
4 |
22 |
1 |
| iswalnum |
|
1 |
4 |
21 |
1 |
| iswalpha |
|
1 |
4 |
19 |
1 |
| iswblank |
|
1 |
4 |
19 |
1 |
| iswcntrl |
|
1 |
4 |
19 |
1 |
| iswdigit |
|
1 |
4 |
19 |
1 |
| iswgraph |
|
1 |
4 |
19 |
1 |
| iswlower |
|
1 |
4 |
19 |
1 |
| iswprint |
|
1 |
4 |
19 |
1 |
| iswpunct |
|
1 |
4 |
19 |
1 |
| iswspace |
|
1 |
4 |
19 |
1 |
| iswupper |
|
1 |
4 |
19 |
1 |
| iswxdigit |
|
1 |
4 |
19 |
1 |
| towupper |
|
1 |
4 |
15 |
1 |
| towlower |
|
1 |
4 |
15 |
1 |
| wcwidth |
|
2 |
6 |
40 |
1 |
| wctrans |
|
4 |
11 |
90 |
1 |
| towctrans |
|
2 |
8 |
41 |
2 |
| wctype |
|
3 |
9 |
72 |
1 |
| iswctype |
|
2 |
7 |
42 |
2 |
| Source file: ./lib/libc/locale/_def_time.c |
| Source file: ./lib/libc/locale/wcstoull.c |
| Source file: ./lib/libc/locale/wcstol.c |
| Source file: ./lib/libc/locale/wcscoll_l.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wcscoll_l |
|
1 |
5 |
31 |
3 |
| Source file: ./lib/libc/locale/wcstombs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wcstombs |
|
1 |
8 |
59 |
3 |
| Source file: ./lib/libc/locale/_CurrentRuneLocale.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _CurrentRuneLocale |
|
2 |
7 |
30 |
1 |
| Source file: ./lib/libc/locale/_wctrans_local.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _towctrans |
|
2 |
5 |
36 |
2 |
| _wctrans_lower |
|
2 |
6 |
37 |
1 |
| _wctrans_upper |
|
2 |
6 |
37 |
1 |
| Source file: ./lib/libc/locale/runeglue.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __make_ctype_tabs |
|
13 |
40 |
365 |
1 |
| Source file: ./lib/libc/locale/_wctrans.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _wctrans_init |
|
1 |
9 |
84 |
1 |
| _towctrans_ext |
|
6 |
22 |
141 |
2 |
| Source file: ./lib/libc/locale/uselocale.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| uselocale |
|
8 |
19 |
102 |
1 |
| Source file: ./lib/libc/locale/___runetype_mb.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ___runetype_mb |
|
7 |
25 |
156 |
2 |
| Source file: ./lib/libc/locale/nl_langinfo.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| nl_langinfo |
|
54 |
98 |
359 |
1 |
| Source file: ./lib/libc/locale/_wcstod.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| FUNCNAME |
|
21 |
87 |
530 |
2 |
| Source file: ./lib/libc/locale/wcstoumax.c |
| Source file: ./lib/libc/locale/_def_messages.c |
| Source file: ./lib/libc/locale/__mb_cur_max.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __mb_cur_max |
|
2 |
5 |
17 |
1 |
| Source file: ./lib/libc/locale/mbrlen.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mbrlen |
|
2 |
7 |
47 |
3 |
| Source file: ./lib/libc/locale/freelocale.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| freelocale |
|
1 |
3 |
13 |
1 |
| Source file: ./lib/libc/locale/runetable.c |
| Source file: ./lib/libc/locale/rune.h |
| Source file: ./lib/libc/locale/wctob.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wctob |
|
3 |
9 |
62 |
1 |
| Source file: ./lib/libc/locale/_def_monetary.c |
| Source file: ./lib/libc/locale/_def_numeric.c |
| Source file: ./lib/libc/locale/mblen.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mblen |
|
4 |
13 |
91 |
2 |
| Source file: ./lib/libc/locale/mbtowc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mbtowc |
|
4 |
18 |
101 |
3 |
| Source file: ./lib/libc/locale/isctype_l.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| isalnum_l |
|
1 |
4 |
22 |
2 |
| isalpha_l |
|
1 |
4 |
22 |
2 |
| isblank_l |
|
1 |
4 |
22 |
2 |
| iscntrl_l |
|
1 |
4 |
22 |
2 |
| isdigit_l |
|
1 |
4 |
22 |
2 |
| isgraph_l |
|
1 |
4 |
22 |
2 |
| islower_l |
|
1 |
4 |
22 |
2 |
| isprint_l |
|
1 |
4 |
22 |
2 |
| ispunct_l |
|
1 |
4 |
22 |
2 |
| isspace_l |
|
1 |
4 |
22 |
2 |
| isupper_l |
|
1 |
4 |
22 |
2 |
| isxdigit_l |
|
1 |
4 |
22 |
2 |
| tolower_l |
|
1 |
4 |
22 |
2 |
| toupper_l |
|
1 |
4 |
22 |
2 |
| Source file: ./lib/libc/locale/wcscoll.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wcscoll |
|
1 |
4 |
24 |
2 |
| Source file: ./lib/libc/sys/w_poll.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| poll |
|
1 |
8 |
50 |
3 |
| Source file: ./lib/libc/sys/w_recvmsg.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| recvmsg |
|
1 |
8 |
50 |
3 |
| Source file: ./lib/libc/sys/w_wait4.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wait4 |
|
1 |
8 |
55 |
4 |
| Source file: ./lib/libc/locale/runetype.h |
| Source file: ./lib/libc/sys/pread.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| HIDDEN( pread) |
|
1 |
4 |
34 |
4 |
| Source file: ./lib/libc/sys/ptrace.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| WRAP( ptrace) |
|
1 |
5 |
33 |
4 |
| Source file: ./lib/libc/sys/w_msync.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| msync |
|
1 |
8 |
46 |
3 |
| Source file: ./lib/libc/sys/w_sigprocmask.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| WRAP( sigprocmask) |
|
4 |
10 |
67 |
3 |
| Source file: ./lib/libc/locale/rune.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| readrange |
|
5 |
26 |
182 |
5 |
| readentry |
|
9 |
40 |
295 |
2 |
| find_codeset |
|
4 |
23 |
169 |
1 |
| _freeentry |
|
2 |
10 |
57 |
1 |
| _wctype_init |
|
1 |
5 |
28 |
1 |
| _Read_RuneMagi |
|
22 |
73 |
627 |
1 |
| Source file: ./lib/libc/sys/w_sendmsg.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sendmsg |
|
1 |
8 |
50 |
3 |
| Source file: ./lib/libc/locale/_wcstoul.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| FUNCNAME |
|
25 |
57 |
360 |
3 |
| Source file: ./lib/libc/sys/w_pread.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pread |
|
1 |
8 |
54 |
4 |
| Source file: ./lib/libc/sys/mquery.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mquery |
|
1 |
4 |
45 |
6 |
| Source file: ./lib/libc/sys/lseek.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| lseek |
|
1 |
4 |
29 |
3 |
| Source file: ./lib/libc/sys/timer_settime.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| timer_settime |
|
1 |
6 |
29 |
4 |
| Source file: ./lib/libc/sys/pwritev.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| HIDDEN( pwritev) |
|
1 |
4 |
36 |
4 |
| Source file: ./lib/libc/sys/posix_madvise.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| posix_madvise |
|
2 |
4 |
30 |
3 |
| Source file: ./lib/libc/sys/w_read.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| read |
|
1 |
8 |
49 |
3 |
| Source file: ./lib/libc/sys/timer_getoverrun.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| timer_getoverrun |
|
1 |
5 |
15 |
1 |
| Source file: ./lib/libc/sys/w_fsync.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fsync |
|
1 |
8 |
35 |
1 |
| Source file: ./lib/libc/sys/timer_gettime.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| timer_gettime |
|
1 |
5 |
20 |
2 |
| Source file: ./lib/libc/sys/canceled.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _thread_canceled |
|
2 |
6 |
25 |
1 |
| Source file: ./lib/libc/sys/pwrite.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| HIDDEN( pwrite) |
|
1 |
4 |
35 |
4 |
| Source file: ./lib/libc/sys/preadv.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| HIDDEN( preadv) |
|
1 |
4 |
36 |
4 |
| Source file: ./lib/libc/sys/w_connect.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| connect |
|
1 |
8 |
51 |
3 |
| Source file: ./lib/libc/sys/w_select.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| select |
|
1 |
9 |
63 |
5 |
| Source file: ./lib/libc/sys/w_pwritev.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pwritev |
|
1 |
8 |
55 |
4 |
| Source file: ./lib/libc/sys/ftruncate.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ftruncate |
|
1 |
4 |
24 |
2 |
| Source file: ./lib/libc/sys/w_msgrcv.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| msgrcv |
|
1 |
8 |
59 |
5 |
| Source file: ./lib/libc/sys/w_sendto.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sendto |
|
1 |
9 |
67 |
6 |
| Source file: ./lib/libc/sys/w_fcntl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fcntl |
|
13 |
35 |
195 |
3 |
| Source file: ./lib/libc/sys/pthread_sigmask.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pthread_sigmask |
|
2 |
4 |
35 |
3 |
| Source file: ./lib/libc/sys/stack_protector.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __stack_smash_handler |
|
1 |
21 |
163 |
2 |
| Source file: ./lib/libc/sys/w_ppoll.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ppoll |
|
3 |
15 |
96 |
4 |
| Source file: ./lib/libc/sys/w_sigsuspend.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sigsuspend |
|
2 |
14 |
69 |
1 |
| Source file: ./lib/libc/sys/w_msgsnd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| msgsnd |
|
1 |
8 |
55 |
4 |
| Source file: ./lib/libc/sys/w_vfork.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| WRAP( vfork) |
|
3 |
10 |
50 |
1 |
| Source file: ./lib/libc/sys/w_close.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| close |
|
1 |
8 |
35 |
1 |
| Source file: ./lib/libc/sys/w_pselect.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pselect |
|
3 |
16 |
107 |
6 |
| Source file: ./lib/libc/sys/w_recvfrom.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| recvfrom |
|
1 |
9 |
67 |
6 |
| Source file: ./lib/libc/sys/mmap.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mmap |
|
1 |
4 |
45 |
6 |
| Source file: ./lib/libc/sys/w_openat.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| openat |
|
2 |
15 |
91 |
4 |
| Source file: ./lib/libc/sys/w_fork.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| WRAP( fork) |
|
10 |
35 |
195 |
1 |
| Source file: ./lib/libc/sys/w_readv.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| readv |
|
1 |
8 |
51 |
3 |
| Source file: ./lib/libc/sys/w_closefrom.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| closefrom |
|
1 |
8 |
35 |
1 |
| Source file: ./lib/libc/sys/semctl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| semctl |
|
6 |
14 |
94 |
4 |
| Source file: ./lib/libc/sys/w_accept.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| accept |
|
1 |
8 |
51 |
3 |
| Source file: ./lib/libc/sys/timer_delete.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| timer_delete |
|
1 |
5 |
15 |
1 |
| Source file: ./lib/libc/sys/timer_create.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| timer_create |
|
1 |
5 |
24 |
3 |
| Source file: ./lib/libc/sys/truncate.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| truncate |
|
1 |
4 |
26 |
2 |
| Source file: ./lib/libc/sys/w_preadv.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| preadv |
|
1 |
8 |
56 |
4 |
| Source file: ./lib/libc/sys/w_pwrite.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pwrite |
|
1 |
8 |
54 |
4 |
| Source file: ./lib/libc/sys/w_write.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| write |
|
1 |
8 |
49 |
3 |
| Source file: ./lib/libc/sys/w_sigaction.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| WRAP( sigaction) |
|
4 |
14 |
89 |
3 |
| Source file: ./lib/libc/sys/w_accept4.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| accept4 |
|
1 |
8 |
56 |
4 |
| Source file: ./lib/libc/sys/w_nanosleep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| nanosleep |
|
1 |
8 |
45 |
2 |
| Source file: ./lib/libc/sys/w_writev.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| writev |
|
1 |
8 |
50 |
3 |
| Source file: ./lib/libc/sys/w_open.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| open |
|
2 |
15 |
86 |
3 |
| Source file: ./lib/libc/hash/helper.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| HASHEnd |
|
3 |
16 |
135 |
2 |
| HASHFileChunk |
|
10 |
35 |
233 |
4 |
| HASHFile |
|
1 |
4 |
27 |
2 |
| HASHData |
|
1 |
7 |
46 |
3 |
| Source file: ./lib/libc/hash/siphash.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| SipHash_Init |
|
1 |
12 |
102 |
2 |
| SipHash_Update |
|
6 |
29 |
213 |
5 |
| SipHash_Final |
|
1 |
6 |
46 |
4 |
| SipHash_End |
|
1 |
15 |
147 |
3 |
| SipHash |
|
1 |
7 |
61 |
5 |
| SipHash_Rounds |
|
2 |
19 |
244 |
2 |
| SipHash_CRounds |
|
1 |
7 |
51 |
2 |
| Source file: ./lib/libc/net/vars6.c |
| Source file: ./lib/libc/net/send.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| send |
|
1 |
4 |
36 |
4 |
| Source file: ./lib/libc/hash/md5.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| MD5Init |
|
1 |
8 |
50 |
1 |
| MD5Update |
|
5 |
23 |
158 |
3 |
| MD5Pad |
|
2 |
12 |
79 |
1 |
| MD5Final |
|
2 |
8 |
63 |
2 |
| MD5Transform |
|
3 |
84 |
1601 |
2 |
| Source file: ./lib/libc/net/base64.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| b64_ntop |
|
8 |
48 |
460 |
4 |
| b64_pton |
|
35 |
93 |
525 |
3 |
| Source file: ./lib/libc/net/if_nameindex.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| if_nameindex |
|
9 |
49 |
318 |
1 |
| if_freenameindex |
|
1 |
4 |
14 |
1 |
| Source file: ./lib/libc/hash/sha1.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| SHA1Transform |
|
1 |
38 |
1338 |
2 |
| SHA1Init |
|
1 |
9 |
59 |
1 |
| SHA1Update |
|
3 |
16 |
162 |
3 |
| SHA1Pad |
|
3 |
13 |
112 |
1 |
| SHA1Final |
|
2 |
10 |
87 |
2 |
| Source file: ./lib/libc/net/ethers.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ether_ntoa |
|
1 |
9 |
77 |
1 |
| _ether_aton |
|
10 |
20 |
146 |
2 |
| ether_aton |
|
2 |
5 |
30 |
1 |
| ether_ntohost |
|
14 |
50 |
361 |
2 |
| ether_hostton |
|
13 |
43 |
292 |
2 |
| ether_line |
|
7 |
19 |
128 |
3 |
| Source file: ./lib/libc/net/getservbyname.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| getservbyname_r |
|
9 |
23 |
158 |
4 |
| getservbyname |
|
2 |
8 |
52 |
2 |
| Source file: ./lib/libc/net/inet_lnaof.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| inet_lnaof |
|
3 |
10 |
61 |
1 |
| Source file: ./lib/libc/net/rresvport.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rresvport |
|
1 |
4 |
16 |
1 |
| rresvport_af |
|
8 |
43 |
266 |
2 |
| Source file: ./lib/libc/net/getprotoent.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| setprotoent_r |
|
2 |
8 |
45 |
2 |
| endprotoent_r |
|
2 |
13 |
68 |
1 |
| getprotoent_r |
|
27 |
75 |
547 |
2 |
| setprotoent |
|
1 |
4 |
15 |
1 |
| endprotoent |
|
1 |
4 |
12 |
1 |
| getprotoent |
|
2 |
7 |
35 |
1 |
| Source file: ./lib/libc/net/getservbyport.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| getservbyport_r |
|
7 |
17 |
113 |
4 |
| getservbyport |
|
2 |
8 |
50 |
2 |
| Source file: ./lib/libc/hash/rmd160.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| RMD160Init |
|
1 |
9 |
59 |
1 |
| RMD160Update |
|
5 |
22 |
147 |
3 |
| RMD160Pad |
|
2 |
11 |
74 |
1 |
| RMD160Final |
|
2 |
8 |
62 |
2 |
| RMD160Transform |
|
3 |
189 |
3669 |
2 |
| Source file: ./lib/libc/net/inet_makeaddr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| inet_makeaddr |
|
4 |
14 |
104 |
2 |
| Source file: ./lib/libc/net/inet_pton.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| inet_pton |
|
3 |
12 |
60 |
3 |
| inet_pton4 |
|
10 |
33 |
207 |
2 |
| inet_pton6 |
|
22 |
82 |
512 |
2 |
| Source file: ./lib/libc/net/getpeereid.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| getpeereid |
|
2 |
13 |
75 |
3 |
| Source file: ./lib/libc/net/ruserok.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ruserok |
|
4 |
20 |
145 |
4 |
| iruserok_sa |
|
16 |
57 |
387 |
5 |
| __ivaliduser_sa |
|
49 |
120 |
753 |
5 |
| __icheckhost |
|
6 |
30 |
224 |
3 |
| __gethostloop |
|
7 |
35 |
266 |
2 |
| Source file: ./lib/libc/net/sockatmark.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sockatmark |
|
2 |
7 |
36 |
1 |
| Source file: ./lib/libc/net/recv.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| recv |
|
1 |
4 |
35 |
4 |
| Source file: ./lib/libc/net/if_nametoindex.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| if_nametoindex |
|
4 |
17 |
96 |
1 |
| Source file: ./lib/libc/net/ntohs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ntohs |
|
2 |
6 |
40 |
1 |
| Source file: ./lib/libc/net/inet_net_pton.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| inet_net_pton |
|
3 |
12 |
67 |
4 |
| inet_net_pton_ipv4 |
|
51 |
109 |
738 |
3 |
| inet_net_pton_ipv6 |
|
6 |
26 |
153 |
3 |
| Source file: ./lib/libc/net/getifaddrs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| getifaddrs |
|
45 |
220 |
1398 |
1 |
| freeifaddrs |
|
1 |
4 |
14 |
1 |
| Source file: ./lib/libc/net/getservent.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| setservent_r |
|
2 |
8 |
45 |
2 |
| endservent_r |
|
2 |
13 |
68 |
1 |
| getservent_r |
|
27 |
77 |
571 |
2 |
| setservent |
|
1 |
4 |
15 |
1 |
| endservent |
|
1 |
4 |
12 |
1 |
| getservent |
|
2 |
7 |
35 |
1 |
| Source file: ./lib/libc/net/getnetent.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| setnetent |
|
2 |
8 |
32 |
1 |
| endnetent |
|
2 |
8 |
25 |
1 |
| getnetent |
|
20 |
52 |
353 |
1 |
| Source file: ./lib/libc/net/rcmd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rcmd |
|
1 |
5 |
48 |
6 |
| rcmd_af |
|
44 |
216 |
1468 |
7 |
| Source file: ./lib/libc/net/inet_ntoa.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| inet_ntoa |
|
1 |
9 |
80 |
1 |
| Source file: ./lib/libc/net/htons.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| htons |
|
2 |
6 |
40 |
1 |
| Source file: ./lib/libc/net/res_data.c |
| Source file: ./lib/libc/net/getprotoname.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| getprotobyname_r |
|
7 |
20 |
133 |
3 |
| getprotobyname |
|
2 |
8 |
45 |
1 |
| Source file: ./lib/libc/net/inet_net_ntop.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| inet_net_ntop |
|
3 |
12 |
73 |
5 |
| inet_net_ntop_ipv4 |
|
20 |
57 |
357 |
4 |
| inet_net_ntop_ipv6 |
|
6 |
17 |
114 |
4 |
| Source file: ./lib/libc/hash/sha2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| SHA224Init |
|
1 |
7 |
49 |
1 |
| SHA224Final |
|
3 |
9 |
77 |
2 |
| SHA256Init |
|
1 |
7 |
49 |
1 |
| SHA256Transform |
|
3 |
44 |
509 |
2 |
| SHA256Transform |
|
3 |
57 |
448 |
2 |
| SHA256Update |
|
6 |
33 |
229 |
3 |
| SHA256Pad |
|
4 |
26 |
179 |
1 |
| SHA256Final |
|
3 |
9 |
77 |
2 |
| SHA512Init |
|
1 |
7 |
56 |
1 |
| SHA512Transform |
|
3 |
44 |
509 |
2 |
| SHA512Transform |
|
3 |
57 |
448 |
2 |
| SHA512Update |
|
6 |
33 |
229 |
3 |
| SHA512Pad |
|
4 |
26 |
201 |
1 |
| SHA512Final |
|
3 |
9 |
77 |
2 |
| SHA384Init |
|
1 |
7 |
56 |
1 |
| SHA384Final |
|
3 |
9 |
77 |
2 |
| SHA512_256Init |
|
1 |
7 |
56 |
1 |
| SHA512_256Final |
|
3 |
9 |
77 |
2 |
| Source file: ./lib/libc/net/res_comp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dn_expand |
|
18 |
54 |
327 |
5 |
| dn_comp |
|
23 |
69 |
423 |
5 |
| __dn_skipname |
|
5 |
22 |
96 |
2 |
| mklower |
|
3 |
6 |
32 |
1 |
| dn_find |
|
13 |
37 |
225 |
4 |
| __res_hnok |
|
9 |
21 |
124 |
1 |
| res_ownok |
|
4 |
10 |
63 |
1 |
| res_mailok |
|
9 |
19 |
107 |
1 |
| res_dnok |
|
3 |
8 |
42 |
1 |
| _getshort |
|
1 |
6 |
24 |
1 |
| _getlong |
|
1 |
6 |
24 |
1 |
| __putshort |
|
1 |
4 |
18 |
2 |
| __putlong |
|
1 |
4 |
18 |
2 |
| Source file: ./lib/libc/net/getproto.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| getprotobynumber_r |
|
5 |
13 |
90 |
3 |
| getprotobynumber |
|
2 |
8 |
43 |
1 |
| Source file: ./lib/libc/net/rthdr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| inet6_rth_space |
|
2 |
9 |
42 |
2 |
| inet6_rth_init |
|
3 |
20 |
117 |
4 |
| inet6_rth_add |
|
2 |
17 |
99 |
2 |
| inet6_rth_reverse |
|
4 |
29 |
209 |
2 |
| inet6_rth_segments |
|
4 |
16 |
97 |
1 |
| inet6_rth_getaddr |
|
6 |
19 |
128 |
2 |
| Source file: ./lib/libc/net/inet_network.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| inet_network |
|
15 |
42 |
272 |
1 |
| Source file: ./lib/libc/net/if_indextoname.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| if_indextoname |
|
4 |
16 |
93 |
2 |
| Source file: ./lib/libc/net/inet_netof.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| inet_netof |
|
3 |
10 |
76 |
1 |
| Source file: ./lib/libc/net/herror.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| herror |
|
3 |
19 |
123 |
1 |
| hstrerror |
|
3 |
8 |
38 |
1 |
| Source file: ./lib/libc/net/res_random.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pmod |
|
3 |
14 |
74 |
3 |
| permute15 |
|
4 |
19 |
137 |
1 |
| res_initid |
|
9 |
35 |
234 |
1 |
| __res_randomid |
|
4 |
19 |
113 |
1 |
| main |
|
3 |
18 |
112 |
2 |
| Source file: ./lib/libc/net/inet_addr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| inet_addr |
|
2 |
7 |
35 |
1 |
| inet_aton |
|
33 |
70 |
514 |
2 |
| Source file: ./lib/libc/net/inet_ntop.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| inet_ntop |
|
3 |
12 |
66 |
4 |
| inet_ntop4 |
|
3 |
13 |
95 |
3 |
| inet_ntop6 |
|
35 |
87 |
638 |
3 |
| Source file: ./lib/libc/net/ntohl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ntohl |
|
2 |
6 |
56 |
1 |
| Source file: ./lib/libc/net/inet_neta.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| inet_neta |
|
12 |
37 |
197 |
3 |
| Source file: ./lib/libc/net/linkaddr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| link_ntoa |
|
10 |
42 |
254 |
1 |
| Source file: ./lib/libc/net/htonl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| htonl |
|
2 |
6 |
56 |
1 |
| Source file: ./lib/libc/net/freeaddrinfo.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| freeaddrinfo |
|
2 |
10 |
44 |
1 |
| Source file: ./lib/libc/net/res_debug_syms.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __sym_ntos |
|
5 |
15 |
90 |
3 |
| __p_type |
|
1 |
4 |
23 |
1 |
| __p_class |
|
1 |
4 |
23 |
1 |
| Source file: ./lib/libc/net/gai_strerror.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| gai_strerror |
|
16 |
37 |
108 |
1 |
| Source file: ./lib/libc/uuid/uuid_create_nil.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| uuid_create_nil |
|
2 |
6 |
34 |
2 |
| Source file: ./lib/libc/uuid/uuid_create.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| uuid_create |
|
2 |
12 |
97 |
2 |
| Source file: ./lib/libc/uuid/uuid_equal.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| uuid_equal |
|
6 |
12 |
93 |
3 |
| Source file: ./lib/libc/uuid/uuid_to_string.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| uuid_to_string |
|
6 |
17 |
149 |
3 |
| Source file: ./lib/libc/uuid/uuid_hash.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| uuid_hash |
|
3 |
6 |
37 |
2 |
| Source file: ./lib/libc/uuid/uuid_is_nil.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| uuid_is_nil |
|
4 |
9 |
66 |
2 |
| Source file: ./lib/libc/uuid/uuid_from_string.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| uuid_from_string |
|
12 |
31 |
224 |
3 |
| Source file: ./lib/libc/include/ctype_private.h |
| Source file: ./lib/libc/include/cancel.h |
| Source file: ./lib/libc/uuid/uuid_stream.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| be16dec |
|
1 |
5 |
39 |
1 |
| be32dec |
|
1 |
5 |
62 |
1 |
| le16dec |
|
1 |
5 |
39 |
1 |
| le32dec |
|
1 |
5 |
62 |
1 |
| be16enc |
|
1 |
6 |
44 |
2 |
| be32enc |
|
1 |
8 |
72 |
2 |
| le16enc |
|
1 |
6 |
44 |
2 |
| le32enc |
|
1 |
8 |
72 |
2 |
| uuid_enc_le |
|
2 |
12 |
98 |
2 |
| uuid_dec_le |
|
2 |
12 |
99 |
2 |
| uuid_enc_be |
|
2 |
12 |
98 |
2 |
| uuid_dec_be |
|
2 |
12 |
99 |
2 |
| Source file: ./lib/libc/uuid/uuid_compare.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| uuid_compare |
|
9 |
21 |
176 |
3 |
| Source file: ./lib/libc/net/rcmdsh.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rcmdsh |
|
29 |
113 |
862 |
6 |
| Source file: ./lib/libc/include/namespace.h |
| Source file: ./lib/libc/include/atfork.h |
| Source file: ./lib/libc/hidden/rpcsvc/yp.h |
| Source file: ./lib/libc/include/localedef.h |
| Source file: ./lib/libc/include/mpool.h |
| Source file: ./lib/libc/hidden/sys/mman.h |
| Source file: ./lib/libc/hidden/sys/sem.h |
| Source file: ./lib/libc/hidden/rpcsvc/ypclnt.h |
| Source file: ./lib/libc/hidden/sys/mount.h |
| Source file: ./lib/libc/net/ip6opt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ip6optlen |
|
4 |
14 |
71 |
2 |
| inet6_opt_init |
|
4 |
10 |
65 |
2 |
| inet6_opt_append |
|
17 |
37 |
244 |
7 |
| inet6_opt_finish |
|
6 |
19 |
129 |
3 |
| inet6_opt_set_val |
|
1 |
5 |
40 |
4 |
| inet6_opt_next |
|
9 |
35 |
214 |
6 |
| inet6_opt_find |
|
7 |
26 |
176 |
6 |
| inet6_opt_get_val |
|
1 |
5 |
40 |
4 |
| Source file: ./lib/libc/hidden/sys/ioctl.h |
| Source file: ./lib/libc/hidden/sys/stat.h |
| Source file: ./lib/libc/hidden/sys/resource.h |
| Source file: ./lib/libc/hidden/sys/time.h |
| Source file: ./lib/libc/hidden/sys/msg.h |
| Source file: ./lib/libc/hidden/sys/socket.h |
| Source file: ./lib/libc/hidden/sys/ptrace.h |
| Source file: ./lib/libc/hidden/sys/futex.h |
| Source file: ./lib/libc/hidden/sys/tree.h |
| Source file: ./lib/libc/hidden/sys/sysctl.h |
| Source file: ./lib/libc/hidden/sys/select.h |
| Source file: ./lib/libc/hidden/sys/uio.h |
| Source file: ./lib/libc/hidden/net/if_dl.h |
| Source file: ./lib/libc/hidden/arpa/nameser.h |
| Source file: ./lib/libc/hidden/sys/wait.h |
| Source file: ./lib/libc/hidden/net/if.h |
| Source file: ./lib/libc/hidden/rpc/pmap_prot.h |
| Source file: ./lib/libc/hidden/rpc/auth_unix.h |
| Source file: ./lib/libc/hidden/rpc/auth.h |
| Source file: ./lib/libc/hidden/rpc/rpc_msg.h |
| Source file: ./lib/libc/hidden/arpa/inet.h |
| Source file: ./lib/libc/hidden/rpc/svc_auth.h |
| Source file: ./lib/libc/hidden/rpc/pmap_rmt.h |
| Source file: ./lib/libc/hidden/rpc/clnt.h |
| Source file: ./lib/libc/hidden/rpc/svc.h |
| Source file: ./lib/libc/hidden/rpc/pmap_clnt.h |
| Source file: ./lib/libc/hidden/machine/spinlock.h |
| Source file: ./lib/libc/hidden/machine/sysarch.h |
| Source file: ./lib/libc/hidden/netinet/if_ether.h |
| Source file: ./lib/libc/hidden/rpc/rpc.h |
| Source file: ./lib/libc/hidden/math.h |
| Source file: ./lib/libc/hidden/ftw.h |
| Source file: ./lib/libc/hidden/rpc/xdr.h |
| Source file: ./lib/libc/hidden/netinet/in.h |
| Source file: ./lib/libc/hidden/ndbm.h |
| Source file: ./lib/libc/hidden/wctype.h |
| Source file: ./lib/libc/hidden/assert.h |
| Source file: ./lib/libc/hidden/vis.h |
| Source file: ./lib/libc/hidden/pthread.h |
| Source file: ./lib/libc/include/thread_private.h |
| Source file: ./lib/libc/hidden/pwd.h |
| Source file: ./lib/libc/hidden/getopt.h |
| Source file: ./lib/libc/hidden/nl_types.h |
| Source file: ./lib/libc/hidden/err.h |
| Source file: ./lib/libc/hidden/readpassphrase.h |
| Source file: ./lib/libc/hidden/uuid.h |
| Source file: ./lib/libc/hidden/poll.h |
| Source file: ./lib/libc/hidden/spawn.h |
| Source file: ./lib/libc/hidden/search.h |
| Source file: ./lib/libc/hidden/utime.h |
| Source file: ./lib/libc/hidden/wchar.h |
| Source file: ./lib/libc/hidden/float.h |
| Source file: ./lib/libc/hidden/siphash.h |
| Source file: ./lib/libc/hidden/syslog.h |
| Source file: ./lib/libc/hidden/ieeefp.h |
| Source file: ./lib/libc/hidden/db.h |
| Source file: ./lib/libc/hidden/asr.h |
| Source file: ./lib/libc/hidden/termios.h |
| Source file: ./lib/libc/hidden/ttyent.h |
| Source file: ./lib/libc/hidden/grp.h |
| Source file: ./lib/libc/hidden/icdb.h |
| Source file: ./lib/libc/hidden/fstab.h |
| Source file: ./lib/libc/hidden/sha1.h |
| Source file: ./lib/libc/hidden/dirent.h |
| Source file: ./lib/libc/hidden/netgroup.h |
| Source file: ./lib/libc/hidden/inttypes.h |
| Source file: ./lib/libc/hidden/rmd160.h |
| Source file: ./lib/libc/hidden/sched.h |
| Source file: ./lib/libc/hidden/time.h |
| Source file: ./lib/libc/hidden/locale.h |
| Source file: ./lib/libc/hidden/sha2.h |
| Source file: ./lib/libc/hidden/regex.h |
| Source file: ./lib/libc/hidden/softfloat.h |
| Source file: ./lib/libc/hidden/netdb.h |
| Source file: ./lib/libc/hidden/tib.h |
| Source file: ./lib/libc/hidden/blf.h |
| Source file: ./lib/libc/hidden/login_cap.h |
| Source file: ./lib/libc/hidden/ifaddrs.h |
| Source file: ./lib/libc/hidden/md5.h |
| Source file: ./lib/libc/hidden/fts.h |
| Source file: ./lib/libc/hidden/langinfo.h |
| Source file: ./lib/libc/hidden/string.h |
| Source file: ./lib/libc/hidden/signal.h |
| Source file: ./lib/libc/hidden/fcntl.h |
| Source file: ./lib/libc/hidden/stdlib.h |
| Source file: ./lib/libc/hidden/errno.h |
| Source file: ./lib/libc/hidden/resolv.h |
| Source file: ./lib/libc/hidden/stdio.h |
| Source file: ./lib/libc/hidden/bsd_auth.h |
| Source file: ./lib/libc/db/recno/rec_utils.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __rec_ret |
|
10 |
42 |
353 |
5 |
| Source file: ./lib/libc/hidden/ctype.h |
| Source file: ./lib/libc/db/recno/rec_search.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __rec_search |
|
14 |
55 |
368 |
3 |
| Source file: ./lib/libc/hidden/unistd.h |
| Source file: ./lib/libc/db/recno/rec_seq.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __rec_seq |
|
20 |
58 |
390 |
4 |
| Source file: ./lib/libc/db/recno/extern.h |
| Source file: ./lib/libc/db/recno/recno.h |
| Source file: ./lib/libc/db/recno/rec_delete.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __rec_delete |
|
10 |
36 |
213 |
3 |
| rec_rdelete |
|
3 |
16 |
103 |
2 |
| __rec_dleaf |
|
7 |
24 |
236 |
3 |
| Source file: ./lib/libc/db/hash/hash_log2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __log2 |
|
2 |
7 |
42 |
1 |
| Source file: ./lib/libc/db/hash/page.h |
| Source file: ./lib/libc/db/recno/rec_close.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __rec_close |
|
8 |
25 |
140 |
1 |
| __rec_sync |
|
16 |
53 |
455 |
2 |
| Source file: ./lib/libc/db/recno/rec_put.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __rec_put |
|
30 |
92 |
657 |
4 |
| __rec_iput |
|
14 |
60 |
424 |
4 |
| Source file: ./lib/libc/db/recno/rec_get.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __rec_get |
|
9 |
31 |
224 |
4 |
| __rec_fpipe |
|
12 |
40 |
253 |
2 |
| __rec_vpipe |
|
12 |
42 |
290 |
2 |
| __rec_fmap |
|
9 |
34 |
255 |
2 |
| __rec_vmap |
|
6 |
23 |
163 |
2 |
| Source file: ./lib/libc/db/hash/hash_func.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __default_hash |
|
11 |
31 |
120 |
2 |
| Source file: ./lib/libc/db/hash/extern.h |
| Source file: ./lib/libc/db/hash/hash.h |
| Source file: ./lib/libc/db/recno/rec_open.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __rec_open |
|
27 |
108 |
664 |
5 |
| __rec_fd |
|
3 |
14 |
76 |
1 |
| Source file: ./lib/libc/db/hash/ndbm.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _dbm_open |
|
4 |
26 |
155 |
4 |
| dbm_open |
|
1 |
7 |
35 |
3 |
| dbm_close |
|
1 |
5 |
22 |
1 |
| dbm_fetch |
|
2 |
18 |
100 |
2 |
| dbm_firstkey |
|
2 |
13 |
71 |
1 |
| dbm_nextkey |
|
2 |
13 |
71 |
1 |
| dbm_delete |
|
2 |
14 |
69 |
2 |
| dbm_store |
|
2 |
13 |
89 |
4 |
| dbm_error |
|
1 |
7 |
31 |
1 |
| dbm_clearerr |
|
1 |
8 |
35 |
1 |
| dbm_dirfno |
|
1 |
5 |
25 |
1 |
| dbm_rdonly |
|
1 |
6 |
35 |
1 |
| Source file: ./lib/libc/db/hash/hash_buf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __get_buf |
|
11 |
38 |
231 |
4 |
| newbuf |
|
35 |
90 |
674 |
3 |
| __buf_init |
|
1 |
11 |
71 |
2 |
| __buf_free |
|
10 |
25 |
162 |
3 |
| __reclaim_buf |
|
1 |
8 |
40 |
2 |
| Source file: ./lib/libc/db/db/db.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dbopen |
|
7 |
19 |
139 |
5 |
| __dberr |
|
1 |
4 |
11 |
1 |
| __dbpanic |
|
1 |
9 |
150 |
1 |
| Source file: ./lib/libc/db/btree/bt_search.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __bt_search |
|
16 |
46 |
338 |
3 |
| __bt_snext |
|
3 |
15 |
119 |
4 |
| __bt_sprev |
|
3 |
15 |
126 |
4 |
| Source file: ./lib/libc/db/btree/bt_utils.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __bt_ret |
|
15 |
52 |
423 |
7 |
| __bt_cmp |
|
9 |
36 |
240 |
3 |
| __bt_defcmp |
|
3 |
10 |
100 |
2 |
| __bt_defpfx |
|
4 |
12 |
105 |
2 |
| Source file: ./lib/libc/db/mpool/mpool.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mpool_open |
|
5 |
22 |
156 |
4 |
| mpool_filter |
|
1 |
7 |
60 |
4 |
| mpool_new |
|
5 |
22 |
155 |
3 |
| mpool_delete |
|
3 |
17 |
122 |
2 |
| mpool_get |
|
13 |
53 |
377 |
3 |
| mpool_put |
|
5 |
15 |
99 |
3 |
| mpool_close |
|
2 |
10 |
55 |
1 |
| mpool_sync |
|
4 |
9 |
59 |
1 |
| mpool_bkt |
|
9 |
32 |
245 |
1 |
| mpool_write |
|
5 |
14 |
119 |
2 |
| mpool_look |
|
5 |
14 |
85 |
2 |
| mpool_stat |
|
5 |
36 |
267 |
1 |
| Source file: ./lib/libc/db/hash/hash_page.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| putpair |
|
1 |
15 |
142 |
3 |
| __delpair |
|
7 |
38 |
324 |
3 |
| __split_page |
|
8 |
61 |
525 |
3 |
| ugly_split |
|
19 |
98 |
718 |
6 |
| __addel |
|
19 |
50 |
405 |
4 |
| __add_ovflpage |
|
10 |
28 |
230 |
2 |
| __get_page |
|
13 |
43 |
287 |
6 |
| __put_page |
|
10 |
31 |
242 |
5 |
| __ibitmap |
|
2 |
18 |
166 |
4 |
| first_free |
|
3 |
11 |
57 |
1 |
| overflow_page |
|
25 |
101 |
777 |
1 |
| __free_ovflpage |
|
8 |
24 |
197 |
2 |
| open_temp |
|
7 |
22 |
171 |
1 |
| squeeze_key |
|
1 |
21 |
175 |
3 |
| fetch_bitmap |
|
4 |
13 |
111 |
2 |
| print_chain |
|
5 |
16 |
156 |
1 |
| Source file: ./lib/libc/db/btree/btree.h |
| Source file: ./lib/libc/db/btree/bt_open.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __bt_open |
|
51 |
167 |
1157 |
5 |
| nroot |
|
9 |
34 |
246 |
1 |
| tmp |
|
6 |
21 |
153 |
1 |
| byteorder |
|
3 |
15 |
56 |
1 |
| __bt_fd |
|
3 |
14 |
76 |
1 |
| Source file: ./lib/libc/db/btree/extern.h |
| Source file: ./lib/libc/db/hash/hash_bigkey.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __big_insert |
|
12 |
79 |
560 |
4 |
| __big_delete |
|
13 |
46 |
314 |
2 |
| __find_bigpair |
|
8 |
31 |
217 |
5 |
| __find_last_page |
|
8 |
24 |
159 |
2 |
| __big_return |
|
13 |
68 |
519 |
5 |
| collect_data |
|
10 |
45 |
328 |
4 |
| __big_keydata |
|
2 |
8 |
78 |
5 |
| collect_key |
|
8 |
30 |
254 |
5 |
| __big_split |
|
13 |
65 |
446 |
7 |
| Source file: ./lib/libc/db/btree/bt_split.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __bt_split |
|
37 |
147 |
1247 |
7 |
| bt_page |
|
10 |
50 |
386 |
6 |
| bt_root |
|
4 |
22 |
189 |
6 |
| bt_rroot |
|
3 |
17 |
169 |
4 |
| bt_broot |
|
5 |
39 |
317 |
4 |
| bt_psplit |
|
26 |
116 |
704 |
6 |
| bt_preserve |
|
2 |
9 |
61 |
2 |
| rec_total |
|
2 |
8 |
56 |
1 |
| Source file: ./lib/libc/db/btree/bt_put.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __bt_put |
|
37 |
128 |
954 |
4 |
| bt_fast |
|
13 |
40 |
315 |
4 |
| Source file: ./lib/libc/db/btree/bt_page.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __bt_free |
|
1 |
8 |
55 |
2 |
| __bt_new |
|
2 |
12 |
86 |
2 |
| Source file: ./lib/libc/db/btree/bt_close.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __bt_close |
|
8 |
33 |
225 |
1 |
| __bt_sync |
|
8 |
23 |
147 |
2 |
| bt_meta |
|
2 |
17 |
117 |
1 |
| Source file: ./lib/libc/db/btree/bt_seq.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __bt_seq |
|
10 |
37 |
226 |
4 |
| __bt_seqset |
|
16 |
49 |
327 |
4 |
| __bt_seqadv |
|
13 |
51 |
339 |
3 |
| __bt_first |
|
15 |
56 |
401 |
4 |
| __bt_setcur |
|
2 |
12 |
103 |
3 |
| Source file: ./lib/libc/db/btree/bt_get.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __bt_get |
|
6 |
27 |
190 |
4 |
| Source file: ./lib/libc/db/btree/bt_overflow.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __ovfl_get |
|
9 |
31 |
247 |
5 |
| __ovfl_put |
|
5 |
30 |
222 |
3 |
| __ovfl_delete |
|
9 |
26 |
191 |
2 |
| Source file: ./lib/libc/regex/cclass.h |
| Source file: ./lib/libc/regex/utils.h |
| Source file: ./lib/libc/db/btree/bt_debug.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __bt_dump |
|
5 |
25 |
174 |
1 |
| __bt_dmpage |
|
2 |
18 |
144 |
1 |
| __bt_dnpage |
|
2 |
8 |
49 |
2 |
| __bt_dpage |
|
15 |
75 |
565 |
1 |
| __bt_stat |
|
16 |
68 |
447 |
1 |
| Source file: ./lib/libc/db/btree/bt_conv.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __bt_pgin |
|
11 |
60 |
388 |
3 |
| __bt_pgout |
|
11 |
60 |
388 |
3 |
| mswap |
|
1 |
17 |
92 |
1 |
| Source file: ./lib/libc/regex/regerror.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| regerror |
|
7 |
30 |
197 |
4 |
| regatoi |
|
4 |
11 |
87 |
3 |
| Source file: ./lib/libc/db/hash/hash.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __hash_open |
|
26 |
103 |
729 |
5 |
| hash_close |
|
2 |
11 |
52 |
1 |
| hash_fd |
|
3 |
12 |
61 |
1 |
| init_hash |
|
13 |
51 |
313 |
3 |
| init_htab |
|
3 |
22 |
213 |
2 |
| hdestroy |
|
11 |
38 |
266 |
1 |
| hash_sync |
|
6 |
17 |
97 |
2 |
| flush_meta |
|
9 |
29 |
209 |
1 |
| hash_get |
|
2 |
10 |
72 |
4 |
| hash_put |
|
5 |
15 |
113 |
4 |
| hash_delete |
|
4 |
15 |
99 |
3 |
| hash_access |
|
29 |
110 |
680 |
4 |
| hash_seq |
|
24 |
77 |
549 |
4 |
| __expand_table |
|
8 |
32 |
243 |
1 |
| hash_realloc |
|
2 |
11 |
74 |
3 |
| __call_hash |
|
2 |
9 |
60 |
3 |
| alloc_segs |
|
5 |
26 |
174 |
2 |
| swap_header_copy |
|
2 |
25 |
251 |
2 |
| swap_header |
|
2 |
27 |
176 |
1 |
| Source file: ./lib/libc/db/btree/bt_delete.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __bt_delete |
|
15 |
46 |
298 |
3 |
| __bt_stkacq |
|
21 |
80 |
685 |
3 |
| __bt_bdelete |
|
19 |
51 |
355 |
2 |
| __bt_pdelete |
|
15 |
50 |
401 |
2 |
| __bt_dleaf |
|
18 |
35 |
365 |
4 |
| __bt_curdel |
|
18 |
70 |
531 |
4 |
| __bt_relink |
|
5 |
17 |
131 |
2 |
| Source file: ./lib/libc/regex/cname.h |
| Source file: ./lib/libc/regex/regfree.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| regfree |
|
4 |
16 |
88 |
1 |
| Source file: ./lib/libc/regex/regex2.h |
| Source file: ./lib/libc/yp/xdr_ypresp_key_val.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| xdr_ypresp_key_val |
|
3 |
10 |
64 |
2 |
| Source file: ./lib/libc/yp/ypexclude.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __ypexclude_add |
|
4 |
17 |
101 |
2 |
| __ypexclude_is |
|
3 |
9 |
59 |
2 |
| __ypexclude_free |
|
2 |
10 |
59 |
1 |
| Source file: ./lib/libc/regex/regexec.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| regexec |
|
7 |
16 |
148 |
5 |
| Source file: ./lib/libc/yp/xdr_ypstat.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| xdr_ypstat |
|
1 |
4 |
24 |
2 |
| Source file: ./lib/libc/yp/xdr_keydat.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| xdr_keydat |
|
1 |
5 |
38 |
2 |
| Source file: ./lib/libc/yp/yp_maplist.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| yp_maplist |
|
4 |
24 |
149 |
2 |
| Source file: ./lib/libc/yp/xdr_ypresp_order.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| xdr_ypresp_order |
|
2 |
7 |
50 |
2 |
| Source file: ./lib/libc/yp/xdr_ypresp_val.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| xdr_ypresp_val |
|
2 |
7 |
46 |
2 |
| Source file: ./lib/libc/yp/ypprot_err.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ypprot_err |
|
12 |
28 |
86 |
1 |
| Source file: ./lib/libc/yp/yp_get_default_domain.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| yp_get_default_domain |
|
4 |
11 |
55 |
1 |
| Source file: ./lib/libc/yp/xdr_ypbind_setdom.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| xdr_ypbind_setdom |
|
3 |
10 |
68 |
2 |
| Source file: ./lib/libc/yp/xdr_ypreq_key.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| xdr_ypreq_key |
|
3 |
10 |
68 |
2 |
| Source file: ./lib/libc/yp/xdr_valdat.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| xdr_valdat |
|
1 |
5 |
38 |
2 |
| Source file: ./lib/libc/yp/xdr_peername.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| xdr_peername |
|
1 |
4 |
22 |
2 |
| Source file: ./lib/libc/yp/xdr_domainname.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| xdr_domainname |
|
1 |
4 |
22 |
2 |
| Source file: ./lib/libc/yp/yp_master.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| yp_master |
|
13 |
35 |
257 |
3 |
| Source file: ./lib/libc/yp/xdr_mapname.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| xdr_mapname |
|
1 |
4 |
22 |
2 |
| Source file: ./lib/libc/yp/xdr_ypresp_all.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| xdr_ypresp_all |
|
4 |
14 |
68 |
2 |
| Source file: ./lib/libc/yp/ypinternal.h |
| Source file: ./lib/libc/yp/xdr_ypresp_maplist.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| xdr_ypresp_maplist |
|
2 |
8 |
58 |
2 |
| Source file: ./lib/libc/yp/yp_bind.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _yp_dobind |
|
42 |
167 |
1082 |
2 |
| _yp_unbind |
|
1 |
6 |
29 |
1 |
| yp_bind |
|
1 |
4 |
17 |
1 |
| yp_unbind |
|
4 |
17 |
89 |
1 |
| Source file: ./lib/libc/yp/ypexclude.h |
| Source file: ./lib/libc/yp/xdr_ypresp_master.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| xdr_ypresp_master |
|
2 |
7 |
50 |
2 |
| Source file: ./lib/libc/yp/yp_all.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _xdr_ypresp_all_seq |
|
9 |
51 |
338 |
2 |
| yp_all |
|
11 |
40 |
260 |
3 |
| Source file: ./lib/libc/yp/yp_order.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| yp_order |
|
11 |
37 |
247 |
3 |
| Source file: ./lib/libc/yp/_yp_check.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _yp_check |
|
5 |
12 |
56 |
1 |
| Source file: ./lib/libc/yp/xdr_ypbind_resptype.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| xdr_ypbind_resptype |
|
1 |
4 |
25 |
2 |
| Source file: ./lib/libc/yp/xdr_ypmaplist.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| xdr_ypmaplist |
|
2 |
8 |
58 |
2 |
| Source file: ./lib/libc/yp/yp_first.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| yp_first |
|
13 |
48 |
384 |
6 |
| Source file: ./lib/libc/yp/xdr_ypreq_nokey.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| xdr_ypreq_nokey |
|
2 |
7 |
50 |
2 |
| Source file: ./lib/libc/yp/xdr_ypbind_resp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| xdr_ypbind_resp |
|
4 |
16 |
80 |
2 |
| Source file: ./lib/libc/yp/yperr_string.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| yperr_string |
|
18 |
42 |
142 |
1 |
| Source file: ./lib/libc/thread/rthread_once.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pthread_once |
|
2 |
10 |
58 |
2 |
| Source file: ./lib/libc/yp/xdr_ypbind_binding.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| xdr_ypbind_binding |
|
2 |
7 |
46 |
2 |
| Source file: ./lib/libc/thread/callbacks.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _thread_canceled |
|
1 |
4 |
11 |
1 |
| _thread_set_callbacks |
|
3 |
33 |
210 |
2 |
| Source file: ./lib/libc/thread/rthread_condattr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pthread_condattr_init |
|
2 |
10 |
50 |
1 |
| pthread_condattr_destroy |
|
1 |
6 |
24 |
1 |
| pthread_condattr_getclock |
|
1 |
5 |
28 |
2 |
| pthread_condattr_setclock |
|
3 |
7 |
40 |
2 |
| Source file: ./lib/libc/thread/rthread_debug.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _rthread_debug |
|
2 |
9 |
46 |
3 |
| Source file: ./lib/libc/thread/atfork.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _thread_atfork |
|
2 |
15 |
107 |
4 |
| pthread_atfork |
|
1 |
4 |
45 |
3 |
| Source file: ./lib/libc/regex/engine.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| matcher |
|
41 |
134 |
1005 |
5 |
| dissect |
|
42 |
158 |
999 |
5 |
| backref |
|
71 |
181 |
1446 |
7 |
| fast |
|
33 |
71 |
585 |
5 |
| slow |
|
32 |
66 |
561 |
5 |
| step |
|
38 |
107 |
663 |
6 |
| print |
|
5 |
17 |
142 |
5 |
| at |
|
2 |
9 |
88 |
6 |
| pchar |
|
5 |
14 |
106 |
1 |
| Source file: ./lib/libc/thread/rthread_cb.h |
| Source file: ./lib/libc/yp/ypmatch_cache.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ypmatch_add |
|
10 |
43 |
288 |
5 |
| ypmatch_find |
|
7 |
23 |
135 |
5 |
| yp_match |
|
21 |
62 |
487 |
6 |
| yp_next |
|
15 |
51 |
420 |
8 |
| Source file: ./lib/libc/thread/synch.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _wake |
|
1 |
4 |
26 |
2 |
| _wait |
|
2 |
5 |
35 |
2 |
| _twait |
|
6 |
16 |
137 |
4 |
| _requeue |
|
1 |
4 |
41 |
4 |
| Source file: ./lib/libc/thread/rthread_file.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| find_lock |
|
6 |
12 |
100 |
2 |
| do_lock |
|
6 |
23 |
162 |
2 |
| _thread_flockfile |
|
4 |
19 |
125 |
1 |
| _thread_ftrylockfile |
|
4 |
18 |
105 |
1 |
| _thread_funlockfile |
|
5 |
16 |
118 |
1 |
| Source file: ./lib/libc/thread/rthread_mutex.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pthread_mutex_init |
|
4 |
17 |
108 |
2 |
| pthread_mutex_destroy |
|
5 |
16 |
86 |
1 |
| _rthread_mutex_trylock |
|
11 |
29 |
167 |
3 |
| _rthread_mutex_timedlock |
|
15 |
48 |
315 |
4 |
| pthread_mutex_trylock |
|
1 |
4 |
22 |
1 |
| pthread_mutex_timedlock |
|
1 |
4 |
28 |
2 |
| pthread_mutex_lock |
|
1 |
4 |
22 |
1 |
| pthread_mutex_unlock |
|
13 |
41 |
234 |
1 |
| Source file: ./lib/libc/thread/rthread_tls.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pthread_key_create |
|
6 |
24 |
137 |
2 |
| pthread_key_delete |
|
7 |
25 |
138 |
1 |
| _rthread_findstorage |
|
6 |
25 |
129 |
1 |
| pthread_getspecific |
|
4 |
10 |
51 |
1 |
| pthread_setspecific |
|
4 |
11 |
64 |
2 |
| _rthread_tls_destructors |
|
6 |
26 |
163 |
1 |
| Source file: ./lib/libc/thread/rthread.h |
| Source file: ./lib/libc/thread/rthread_libc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _thread_tag_init |
|
5 |
19 |
108 |
1 |
| _thread_tag_lock |
|
4 |
11 |
55 |
1 |
| _thread_tag_unlock |
|
4 |
11 |
55 |
1 |
| _thread_tag_storage |
|
5 |
23 |
119 |
4 |
| _thread_mutex_lock |
|
2 |
6 |
34 |
1 |
| _thread_mutex_unlock |
|
2 |
6 |
34 |
1 |
| _thread_mutex_destroy |
|
2 |
6 |
34 |
1 |
| _thread_malloc_lock |
|
1 |
4 |
16 |
1 |
| _thread_malloc_unlock |
|
1 |
4 |
16 |
1 |
| _thread_malloc_reinit |
|
2 |
10 |
62 |
1 |
| _thread_atexit_lock |
|
1 |
4 |
12 |
1 |
| _thread_atexit_unlock |
|
1 |
4 |
12 |
1 |
| _thread_atfork_lock |
|
1 |
4 |
12 |
1 |
| _thread_atfork_unlock |
|
1 |
4 |
12 |
1 |
| _thread_arc4_lock |
|
1 |
4 |
12 |
1 |
| _thread_arc4_unlock |
|
1 |
4 |
12 |
1 |
| _thread_dofork |
|
4 |
18 |
91 |
1 |
| Source file: ./lib/libc/thread/rthread.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _spinlock |
|
2 |
5 |
20 |
1 |
| _spinlocktry |
|
1 |
4 |
17 |
1 |
| _spinunlock |
|
1 |
4 |
14 |
1 |
| _rthread_init |
|
6 |
22 |
119 |
1 |
| pthread_self |
|
2 |
6 |
25 |
1 |
| pthread_exit |
|
5 |
23 |
131 |
1 |
| pthread_equal |
|
1 |
4 |
17 |
2 |
| Source file: ./lib/libc/gen/charclass.h |
| Source file: ./lib/libc/gen/getdomainname.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| getdomainname |
|
2 |
11 |
70 |
2 |
| Source file: ./lib/libc/thread/rthread_cond.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pthread_cond_init |
|
3 |
13 |
74 |
2 |
| pthread_cond_destroy |
|
3 |
15 |
75 |
1 |
| _rthread_cond_timedwait |
|
11 |
36 |
271 |
3 |
| pthread_cond_timedwait |
|
7 |
15 |
97 |
3 |
| pthread_cond_wait |
|
3 |
11 |
62 |
2 |
| pthread_cond_signal |
|
2 |
13 |
75 |
1 |
| pthread_cond_broadcast |
|
3 |
14 |
96 |
1 |
| Source file: ./lib/libc/gen/syslog_r.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| syslog_r |
|
1 |
7 |
45 |
4 |
| vsyslog_r |
|
1 |
4 |
33 |
4 |
| __vsyslog_r |
|
25 |
87 |
601 |
5 |
| openlog_r |
|
4 |
8 |
59 |
4 |
| closelog_r |
|
1 |
4 |
15 |
1 |
| Source file: ./lib/libc/gen/telldir.h |
| Source file: ./lib/libc/gen/sleep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sleep |
|
3 |
11 |
63 |
1 |
| Source file: ./lib/libc/gen/isfinite.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __isfinite |
|
1 |
5 |
29 |
1 |
| __isfinitef |
|
1 |
5 |
29 |
1 |
| Source file: ./lib/libc/gen/verrx.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| verrx |
|
2 |
8 |
60 |
3 |
| Source file: ./lib/libc/gen/signbit.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __signbit |
|
1 |
5 |
25 |
1 |
| __signbitf |
|
1 |
5 |
25 |
1 |
| Source file: ./lib/libc/gen/isnormal.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __isnormal |
|
2 |
5 |
35 |
1 |
| __isnormalf |
|
2 |
5 |
35 |
1 |
| Source file: ./lib/libc/gen/strtofflags.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fflagstostr |
|
7 |
22 |
152 |
1 |
| strtofflags |
|
15 |
39 |
235 |
3 |
| Source file: ./lib/libc/gen/basename.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| basename |
|
10 |
30 |
187 |
1 |
| Source file: ./lib/libc/gen/usleep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usleep |
|
2 |
9 |
53 |
1 |
| Source file: ./lib/libc/gen/seekdir.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| seekdir |
|
5 |
25 |
172 |
2 |
| Source file: ./lib/libc/gen/rewinddir.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rewinddir |
|
1 |
4 |
15 |
1 |
| Source file: ./lib/libc/gen/daemon.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| daemon |
|
7 |
24 |
143 |
2 |
| Source file: ./lib/libc/gen/telldir.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| telldir |
|
1 |
8 |
38 |
1 |
| Source file: ./lib/libc/gen/syslog.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| syslog |
|
1 |
7 |
38 |
3 |
| vsyslog |
|
1 |
4 |
29 |
3 |
| openlog |
|
1 |
4 |
27 |
3 |
| closelog |
|
1 |
4 |
12 |
1 |
| setlogmask |
|
1 |
4 |
18 |
1 |
| setlogmask_r |
|
2 |
8 |
38 |
2 |
| Source file: ./lib/libc/gen/dirfd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dirfd |
|
1 |
4 |
15 |
1 |
| Source file: ./lib/libc/gen/ttyname.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ttyname |
|
3 |
14 |
69 |
1 |
| ttyname_r |
|
8 |
38 |
291 |
3 |
| oldttyname |
|
9 |
26 |
181 |
3 |
| Source file: ./lib/libc/gen/isfdtype.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| isfdtype |
|
2 |
7 |
45 |
2 |
| Source file: ./lib/libc/gen/ldexp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _copysign |
|
1 |
8 |
49 |
2 |
| ldexp |
|
9 |
26 |
225 |
2 |
| Source file: ./lib/libc/gen/disklabel.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| getdiskbyname |
|
14 |
79 |
698 |
1 |
| gettype |
|
4 |
10 |
80 |
2 |
| Source file: ./lib/libc/thread/rthread_sync.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pthread_mutex_init |
|
4 |
19 |
123 |
2 |
| pthread_mutex_destroy |
|
5 |
16 |
91 |
1 |
| _rthread_mutex_lock |
|
19 |
64 |
424 |
3 |
| pthread_mutex_lock |
|
1 |
4 |
20 |
1 |
| pthread_mutex_trylock |
|
1 |
4 |
20 |
1 |
| pthread_mutex_timedlock |
|
1 |
4 |
26 |
2 |
| pthread_mutex_unlock |
|
12 |
34 |
203 |
1 |
| pthread_cond_init |
|
3 |
15 |
87 |
2 |
| pthread_cond_destroy |
|
3 |
15 |
74 |
1 |
| pthread_cond_timedwait |
|
25 |
99 |
676 |
3 |
| pthread_cond_wait |
|
19 |
87 |
601 |
2 |
| pthread_cond_signal |
|
7 |
37 |
248 |
1 |
| pthread_cond_broadcast |
|
6 |
43 |
299 |
1 |
| Source file: ./lib/libc/gen/nice.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| nice |
|
6 |
12 |
80 |
1 |
| Source file: ./lib/libc/gen/vwarnx.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| vwarnx |
|
2 |
7 |
52 |
2 |
| Source file: ./lib/libc/gen/getcwd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| getcwd |
|
5 |
16 |
93 |
2 |
| Source file: ./lib/libc/gen/errno.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __errno |
|
1 |
4 |
16 |
1 |
| single_threaded_tcb |
|
2 |
6 |
26 |
1 |
| single_threaded_errnoptr |
|
1 |
4 |
17 |
1 |
| __errno |
|
1 |
4 |
15 |
1 |
| Source file: ./lib/libc/gen/vis.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| vis |
|
28 |
82 |
483 |
4 |
| strvis |
|
2 |
9 |
64 |
3 |
| strnvis |
|
13 |
38 |
252 |
4 |
| stravis |
|
3 |
16 |
101 |
3 |
| strvisx |
|
3 |
13 |
91 |
4 |
| Source file: ./lib/libc/gen/getprogname.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| getprogname |
|
1 |
4 |
11 |
1 |
| Source file: ./lib/libc/gen/fdatasync.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fdatasync |
|
1 |
4 |
15 |
1 |
| Source file: ./lib/libc/gen/errx.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| errx |
|
1 |
7 |
38 |
3 |
| Source file: ./lib/libc/gen/ftw.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ftw |
|
18 |
54 |
270 |
3 |
| Source file: ./lib/libc/gen/wait3.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wait3 |
|
1 |
4 |
30 |
3 |
| Source file: ./lib/libc/gen/pw_dup.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pw_dup |
|
2 |
25 |
182 |
1 |
| Source file: ./lib/libc/gen/wait.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wait |
|
1 |
4 |
22 |
1 |
| Source file: ./lib/libc/gen/frexp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| frexp |
|
4 |
26 |
148 |
2 |
| Source file: ./lib/libc/gen/ctermid.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ctermid |
|
2 |
9 |
44 |
1 |
| Source file: ./lib/libc/gen/isatty.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| isatty |
|
1 |
4 |
18 |
1 |
| Source file: ./lib/libc/gen/warnx.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| warnx |
|
1 |
7 |
33 |
2 |
| Source file: ./lib/libc/gen/pause.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pause |
|
2 |
5 |
31 |
1 |
| Source file: ./lib/libc/gen/ctype_.c |
| Source file: ./lib/libc/gen/setmode.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| getmode |
|
20 |
51 |
327 |
2 |
| setmode |
|
43 |
128 |
710 |
1 |
| addcmd |
|
17 |
37 |
221 |
5 |
| dumpmode |
|
8 |
11 |
92 |
1 |
| compress_mode |
|
13 |
44 |
242 |
1 |
| Source file: ./lib/libc/gen/assert.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __assert |
|
1 |
7 |
37 |
3 |
| __assert2 |
|
1 |
7 |
44 |
4 |
| Source file: ./lib/libc/gen/getgrouplist.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _parse_netid |
|
12 |
34 |
218 |
5 |
| _read_netid |
|
9 |
30 |
184 |
5 |
| getgrouplist |
|
27 |
76 |
486 |
4 |
| Source file: ./lib/libc/regex/regcomp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| regcomp |
|
13 |
74 |
529 |
3 |
| p_ere |
|
8 |
32 |
176 |
2 |
| p_ere_exp |
|
41 |
121 |
701 |
1 |
| p_str |
|
2 |
6 |
33 |
1 |
| p_bre |
|
5 |
24 |
136 |
3 |
| p_simp_re |
|
35 |
109 |
691 |
2 |
| p_count |
|
5 |
11 |
76 |
1 |
| p_bracket |
|
27 |
63 |
457 |
1 |
| p_b_term |
|
14 |
52 |
302 |
2 |
| p_b_cclass |
|
9 |
23 |
178 |
2 |
| p_b_eclass |
|
1 |
6 |
32 |
2 |
| p_b_symbol |
|
2 |
10 |
64 |
1 |
| p_b_coll_elem |
|
8 |
21 |
141 |
2 |
| othercase |
|
3 |
11 |
65 |
1 |
| bothcases |
|
1 |
17 |
114 |
2 |
| ordinary |
|
5 |
11 |
90 |
2 |
| backslash |
|
3 |
14 |
53 |
2 |
| nonnewline |
|
1 |
16 |
101 |
1 |
| repeat |
|
11 |
55 |
362 |
4 |
| seterr |
|
2 |
8 |
43 |
2 |
| allocset |
|
7 |
43 |
359 |
1 |
| freeset |
|
3 |
10 |
81 |
2 |
| freezeset |
|
8 |
21 |
170 |
2 |
| firstch |
|
3 |
10 |
68 |
2 |
| nch |
|
3 |
10 |
63 |
2 |
| mcadd |
|
2 |
15 |
107 |
3 |
| mcinvert |
|
1 |
4 |
22 |
2 |
| mccase |
|
1 |
4 |
22 |
2 |
| isinsets |
|
3 |
11 |
88 |
2 |
| samesets |
|
3 |
12 |
102 |
3 |
| categorize |
|
8 |
17 |
126 |
2 |
| dupl |
|
3 |
15 |
104 |
3 |
| doemit |
|
4 |
10 |
84 |
3 |
| doinsert |
|
5 |
24 |
187 |
4 |
| dofwd |
|
2 |
7 |
54 |
3 |
| enlarge |
|
3 |
14 |
74 |
2 |
| stripsnug |
|
2 |
9 |
65 |
2 |
| findmust |
|
20 |
64 |
352 |
2 |
| pluscount |
|
7 |
26 |
123 |
2 |
| Source file: ./lib/libc/gen/login_cap.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| login_getclass |
|
15 |
56 |
344 |
1 |
| login_getstyle |
|
19 |
50 |
323 |
3 |
| login_getcapstr |
|
7 |
28 |
145 |
4 |
| login_getcaptime |
|
25 |
76 |
392 |
4 |
| login_getcapnum |
|
12 |
45 |
260 |
4 |
| login_getcapsize |
|
12 |
41 |
244 |
4 |
| login_getcapbool |
|
2 |
6 |
43 |
3 |
| login_close |
|
2 |
9 |
40 |
1 |
| gsetrl |
|
14 |
59 |
497 |
4 |
| setclasscontext |
|
2 |
11 |
63 |
2 |
| setusercontext |
|
21 |
70 |
484 |
4 |
| setuserpath |
|
14 |
35 |
235 |
2 |
| setuserenv |
|
11 |
38 |
228 |
2 |
| login_setenv |
|
3 |
10 |
73 |
4 |
| strtosize |
|
23 |
64 |
338 |
3 |
| strtolimit |
|
4 |
9 |
71 |
3 |
| multiply |
|
12 |
41 |
304 |
2 |
| secure_path |
|
5 |
18 |
130 |
1 |
| expandstr |
|
55 |
112 |
640 |
3 |
| Source file: ./lib/libc/gen/getgrent.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _getgrent_yp |
|
4 |
11 |
93 |
1 |
| getgrent |
|
1 |
4 |
14 |
1 |
| getgrnam_gs |
|
4 |
14 |
81 |
3 |
| getgrnam |
|
1 |
7 |
57 |
1 |
| getgrnam_r |
|
3 |
17 |
89 |
5 |
| getgrgid_gs |
|
4 |
14 |
79 |
3 |
| getgrgid |
|
1 |
7 |
55 |
1 |
| getgrgid_r |
|
3 |
17 |
87 |
5 |
| start_gr |
|
6 |
15 |
77 |
1 |
| setgrent |
|
1 |
7 |
22 |
1 |
| setgroupent |
|
2 |
13 |
47 |
1 |
| endgrent_basic |
|
4 |
16 |
59 |
1 |
| endgrent |
|
1 |
6 |
20 |
1 |
| grscan |
|
71 |
196 |
1078 |
6 |
| Source file: ./lib/libc/gen/opendir.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| opendir |
|
3 |
11 |
64 |
1 |
| fdopendir |
|
5 |
17 |
113 |
1 |
| __fdopendir |
|
5 |
28 |
174 |
1 |
| Source file: ./lib/libc/gen/popen.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| popen |
|
18 |
64 |
465 |
2 |
| pclose |
|
8 |
25 |
162 |
1 |
| Source file: ./lib/libc/gen/getpagesize.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| getpagesize |
|
3 |
13 |
75 |
1 |
| Source file: ./lib/libc/gen/isctype.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| isalnum |
|
2 |
4 |
39 |
1 |
| isalpha |
|
2 |
4 |
37 |
1 |
| isblank |
|
2 |
4 |
18 |
1 |
| iscntrl |
|
2 |
4 |
33 |
1 |
| isdigit |
|
2 |
4 |
33 |
1 |
| isgraph |
|
2 |
4 |
41 |
1 |
| islower |
|
2 |
4 |
33 |
1 |
| isprint |
|
2 |
4 |
43 |
1 |
| ispunct |
|
2 |
4 |
33 |
1 |
| isspace |
|
2 |
4 |
33 |
1 |
| isupper |
|
2 |
4 |
33 |
1 |
| isxdigit |
|
2 |
4 |
37 |
1 |
| isascii |
|
1 |
4 |
18 |
1 |
| toascii |
|
1 |
4 |
14 |
1 |
| _toupper |
|
1 |
4 |
16 |
1 |
| _tolower |
|
1 |
4 |
16 |
1 |
| Source file: ./lib/libc/gen/nlist.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __elf_is_okay__ |
|
8 |
15 |
85 |
1 |
| __fdnlist |
|
44 |
141 |
908 |
2 |
| nlist |
|
2 |
10 |
64 |
2 |
| Source file: ./lib/libc/gen/ualarm.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ualarm |
|
2 |
11 |
102 |
2 |
| Source file: ./lib/libc/gen/scandir.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| scandir |
|
16 |
60 |
441 |
4 |
| alphasort |
|
1 |
4 |
36 |
2 |
| Source file: ./lib/libc/gen/modf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| modf |
|
4 |
33 |
266 |
2 |
| Source file: ./lib/libc/gen/verr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| verr |
|
2 |
12 |
84 |
3 |
| Source file: ./lib/libc/gen/dirname.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dirname |
|
12 |
33 |
199 |
1 |
| Source file: ./lib/libc/gen/getlogin.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| getlogin |
|
3 |
13 |
53 |
1 |
| Source file: ./lib/libc/gen/time.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| time |
|
3 |
9 |
51 |
1 |
| Source file: ./lib/libc/gen/readdir.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _readdir_unlocked |
|
9 |
29 |
188 |
2 |
| readdir |
|
1 |
8 |
42 |
1 |
| Source file: ./lib/libc/gen/getusershell.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| getusershell |
|
3 |
10 |
41 |
1 |
| endusershell |
|
3 |
10 |
43 |
1 |
| setusershell |
|
1 |
4 |
12 |
1 |
| initshells |
|
9 |
44 |
262 |
1 |
| Source file: ./lib/libc/gen/vwarn.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| vwarn |
|
2 |
11 |
76 |
2 |
| Source file: ./lib/libc/gen/fts.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fts_open |
|
17 |
65 |
460 |
3 |
| fts_load |
|
4 |
14 |
121 |
2 |
| fts_close |
|
7 |
27 |
161 |
1 |
| fts_read |
|
39 |
125 |
857 |
1 |
| fts_set |
|
6 |
10 |
57 |
3 |
| fts_children |
|
13 |
36 |
228 |
2 |
| fts_build |
|
52 |
153 |
996 |
2 |
| fts_stat |
|
15 |
49 |
327 |
4 |
| fts_sort |
|
5 |
23 |
192 |
3 |
| fts_alloc |
|
4 |
17 |
133 |
3 |
| fts_lfree |
|
2 |
8 |
33 |
1 |
| fts_palloc |
|
3 |
21 |
119 |
2 |
| fts_padjust |
|
4 |
11 |
79 |
2 |
| fts_maxarglen |
|
3 |
8 |
52 |
1 |
| fts_safe_changedir |
|
7 |
26 |
163 |
4 |
| Source file: ./lib/libc/gen/getmntinfo.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| getmntinfo |
|
6 |
22 |
167 |
2 |
| Source file: ./lib/libc/gen/alarm.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| alarm |
|
3 |
13 |
94 |
1 |
| Source file: ./lib/libc/gen/getpwent.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __ypproto_set |
|
11 |
48 |
453 |
4 |
| __ypparse |
|
28 |
62 |
505 |
3 |
| getpwent |
|
39 |
156 |
833 |
1 |
| __has_yppw |
|
3 |
15 |
119 |
1 |
| __has_ypmaster |
|
8 |
37 |
192 |
1 |
| __yppwlookup |
|
37 |
134 |
784 |
7 |
| _pwhashbyname |
|
3 |
19 |
138 |
5 |
| _pwhashbyuid |
|
2 |
15 |
115 |
5 |
| getpwnam_internal |
|
10 |
36 |
214 |
6 |
| getpwnam_r |
|
1 |
5 |
42 |
5 |
| getpwnam |
|
2 |
12 |
56 |
1 |
| getpwnam_shadow |
|
2 |
12 |
58 |
1 |
| getpwuid_internal |
|
10 |
36 |
208 |
6 |
| getpwuid_r |
|
1 |
5 |
40 |
5 |
| getpwuid |
|
2 |
12 |
54 |
1 |
| getpwuid_shadow |
|
2 |
12 |
56 |
1 |
| setpassent |
|
2 |
13 |
53 |
1 |
| setpwent |
|
1 |
4 |
14 |
1 |
| endpwent |
|
3 |
18 |
76 |
1 |
| __initdb |
|
6 |
22 |
113 |
1 |
| __hashpw |
|
4 |
34 |
292 |
5 |
| Source file: ./lib/libc/gen/confstr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| confstr |
|
37 |
55 |
249 |
3 |
| Source file: ./lib/libc/gen/clock.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| clock |
|
2 |
7 |
53 |
1 |
| Source file: ./lib/libc/gen/sysconf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sysconf |
|
172 |
360 |
1770 |
1 |
| Source file: ./lib/libc/gen/isinf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __isinf |
|
3 |
6 |
41 |
1 |
| __isinff |
|
2 |
5 |
35 |
1 |
| Source file: ./lib/libc/gen/vwarnc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| vwarnc |
|
2 |
9 |
72 |
3 |
| Source file: ./lib/libc/gen/fnmatch.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| classmatch |
|
12 |
33 |
228 |
4 |
| fnmatch_ch |
|
52 |
94 |
679 |
3 |
| fnmatch |
|
74 |
116 |
778 |
3 |
| Source file: ./lib/libc/gen/posix_spawn.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __posix_spawn_file_actions_entry::SIMPLEQ_ENTRY |
|
1 |
2 |
14 |
1 |
| process_spawnattr |
|
17 |
36 |
257 |
1 |
| process_file_actions_entry |
|
14 |
34 |
208 |
1 |
| process_file_actions |
|
2 |
11 |
49 |
1 |
| do_posix_spawn |
|
11 |
34 |
180 |
7 |
| posix_spawn |
|
1 |
7 |
55 |
6 |
| posix_spawnp |
|
1 |
7 |
55 |
6 |
| posix_spawn_file_actions_init |
|
2 |
10 |
51 |
1 |
| posix_spawn_file_actions_destroy |
|
3 |
12 |
77 |
1 |
| posix_spawn_file_actions_addopen |
|
4 |
23 |
140 |
5 |
| posix_spawn_file_actions_adddup2 |
|
4 |
15 |
92 |
3 |
| posix_spawn_file_actions_addclose |
|
3 |
14 |
79 |
2 |
| posix_spawnattr_init |
|
2 |
9 |
45 |
1 |
| posix_spawnattr_destroy |
|
1 |
5 |
19 |
1 |
| posix_spawnattr_getflags |
|
1 |
6 |
30 |
2 |
| posix_spawnattr_getpgroup |
|
1 |
6 |
30 |
2 |
| posix_spawnattr_getschedparam |
|
1 |
6 |
31 |
2 |
| posix_spawnattr_getschedpolicy |
|
1 |
6 |
30 |
2 |
| posix_spawnattr_getsigdefault |
|
1 |
6 |
30 |
2 |
| posix_spawnattr_getsigmask |
|
1 |
6 |
30 |
2 |
| posix_spawnattr_setflags |
|
1 |
5 |
25 |
2 |
| posix_spawnattr_setpgroup |
|
1 |
5 |
25 |
2 |
| posix_spawnattr_setschedparam |
|
1 |
6 |
31 |
2 |
| posix_spawnattr_setschedpolicy |
|
1 |
5 |
25 |
2 |
| posix_spawnattr_setsigdefault |
|
1 |
6 |
30 |
2 |
| posix_spawnattr_setsigmask |
|
1 |
6 |
30 |
2 |
| Source file: ./lib/libc/gen/devname.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| devname_nodb |
|
8 |
22 |
157 |
2 |
| devname |
|
7 |
27 |
171 |
2 |
| Source file: ./lib/libc/gen/setproctitle.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| setproctitle |
|
6 |
31 |
213 |
2 |
| Source file: ./lib/libc/gen/warnc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| warnc |
|
1 |
7 |
38 |
3 |
| Source file: ./lib/libc/gen/signame.c |
| Source file: ./lib/libc/gen/uname.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| uname |
|
7 |
37 |
338 |
1 |
| Source file: ./lib/libc/gen/sigsetops.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sigemptyset |
|
1 |
5 |
18 |
1 |
| sigfillset |
|
1 |
5 |
21 |
1 |
| sigaddset |
|
3 |
9 |
44 |
2 |
| sigdelset |
|
3 |
9 |
44 |
2 |
| sigismember |
|
3 |
8 |
47 |
2 |
| Source file: ./lib/libc/gen/unvis.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| unvis |
|
42 |
127 |
627 |
4 |
| strunvis |
|
7 |
27 |
126 |
2 |
| strnunvis |
|
13 |
38 |
200 |
3 |
| Source file: ./lib/libc/gen/toupper_.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| toupper |
|
2 |
6 |
34 |
1 |
| Source file: ./lib/libc/gen/lockf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| lockf |
|
8 |
34 |
175 |
3 |
| Source file: ./lib/libc/gen/shm_open.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| makeshmpath |
|
1 |
6 |
45 |
3 |
| shm_open |
|
8 |
28 |
187 |
3 |
| shm_unlink |
|
1 |
6 |
33 |
1 |
| shm_mkstemp |
|
5 |
24 |
134 |
1 |
| Source file: ./lib/libc/gen/tree.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rb_n2e |
|
1 |
5 |
40 |
2 |
| rb_e2n |
|
1 |
5 |
40 |
2 |
| rbe_set |
|
1 |
6 |
40 |
2 |
| rbe_set_blackred |
|
1 |
5 |
28 |
2 |
| rbe_augment |
|
1 |
4 |
30 |
2 |
| rbe_if_augment |
|
2 |
5 |
30 |
2 |
| rbe_rotate_left |
|
6 |
28 |
178 |
3 |
| rbe_rotate_right |
|
6 |
28 |
178 |
3 |
| rbe_insert_color |
|
10 |
43 |
264 |
3 |
| rbe_remove_color |
|
24 |
77 |
533 |
4 |
| rbe_remove |
|
18 |
67 |
426 |
3 |
| _rb_remove |
|
2 |
7 |
63 |
3 |
| _rb_insert |
|
6 |
31 |
192 |
3 |
| _rb_find |
|
4 |
17 |
106 |
3 |
| _rb_nfind |
|
4 |
19 |
118 |
3 |
| _rb_next |
|
8 |
20 |
141 |
2 |
| _rb_prev |
|
8 |
20 |
137 |
2 |
| _rb_root |
|
2 |
5 |
41 |
2 |
| _rb_min |
|
3 |
10 |
67 |
2 |
| _rb_max |
|
3 |
10 |
67 |
2 |
| _rb_left |
|
2 |
6 |
49 |
2 |
| _rb_right |
|
2 |
6 |
49 |
2 |
| _rb_parent |
|
2 |
6 |
49 |
2 |
| _rb_set_left |
|
2 |
6 |
57 |
3 |
| _rb_set_right |
|
2 |
6 |
57 |
3 |
| _rb_set_parent |
|
2 |
6 |
57 |
3 |
| _rb_poison |
|
1 |
6 |
52 |
3 |
| _rb_check |
|
3 |
7 |
66 |
3 |
| Source file: ./lib/libc/gen/setdomainname.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| setdomainname |
|
2 |
9 |
67 |
2 |
| Source file: ./lib/libc/gen/siglist.c |
| Source file: ./lib/libc/gen/valloc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| valloc |
|
1 |
7 |
62 |
1 |
| Source file: ./lib/libc/gen/glob.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| glob |
|
15 |
46 |
327 |
4 |
| globexp1 |
|
5 |
9 |
100 |
3 |
| globexp2 |
|
28 |
65 |
390 |
4 |
| globtilde |
|
16 |
39 |
302 |
4 |
| g_strncmp |
|
4 |
12 |
67 |
3 |
| g_charclass |
|
7 |
22 |
171 |
2 |
| glob0 |
|
33 |
103 |
698 |
3 |
| compare |
|
1 |
4 |
34 |
2 |
| compare_gps |
|
1 |
6 |
56 |
2 |
| glob1 |
|
2 |
9 |
69 |
4 |
| glob2 |
|
20 |
54 |
361 |
8 |
| glob3 |
|
18 |
65 |
409 |
9 |
| globextend |
|
31 |
86 |
647 |
4 |
| match |
|
24 |
64 |
348 |
3 |
| globfree |
|
5 |
19 |
118 |
1 |
| g_opendir |
|
4 |
13 |
85 |
2 |
| g_lstat |
|
3 |
9 |
76 |
3 |
| g_stat |
|
3 |
9 |
76 |
3 |
| g_strchr |
|
3 |
8 |
43 |
2 |
| g_Ctoc |
|
3 |
8 |
47 |
3 |
| qprintf |
|
6 |
14 |
136 |
2 |
| Source file: ./lib/libc/gen/setprogname.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| setprogname |
|
2 |
9 |
43 |
1 |
| Source file: ./lib/libc/gen/warn.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| warn |
|
1 |
7 |
33 |
2 |
| Source file: ./lib/libc/gen/readdir_r.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| readdir_r |
|
4 |
18 |
109 |
3 |
| Source file: ./lib/libc/gen/signal.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| signal |
|
3 |
13 |
94 |
2 |
| Source file: ./lib/libc/gen/psignal.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| psignal |
|
3 |
20 |
163 |
2 |
| Source file: ./lib/libc/gen/sethostname.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sethostname |
|
2 |
9 |
67 |
2 |
| Source file: ./lib/libc/gen/gethostname.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| gethostname |
|
2 |
11 |
70 |
2 |
| Source file: ./lib/libc/gen/waitpid.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| waitpid |
|
1 |
4 |
28 |
3 |
| Source file: ./lib/libc/gen/verrc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| verrc |
|
2 |
10 |
80 |
4 |
| Source file: ./lib/libc/gen/siginterrupt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| siginterrupt |
|
3 |
15 |
93 |
2 |
| Source file: ./lib/libc/gen/getnetgrent.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _ng_sl_init |
|
3 |
14 |
79 |
1 |
| _ng_sl_add |
|
3 |
16 |
102 |
2 |
| _ng_sl_free |
|
3 |
9 |
56 |
2 |
| _ng_sl_find |
|
3 |
8 |
58 |
2 |
| getstring |
|
12 |
26 |
185 |
3 |
| getnetgroup |
|
6 |
26 |
151 |
1 |
| lookup |
|
14 |
46 |
245 |
4 |
| _ng_parse |
|
11 |
29 |
181 |
3 |
| addgroup |
|
10 |
35 |
181 |
3 |
| in_check |
|
10 |
14 |
117 |
4 |
| in_find |
|
12 |
48 |
270 |
6 |
| _ng_makekey |
|
4 |
13 |
82 |
3 |
| _ng_print |
|
1 |
5 |
50 |
3 |
| in_lookup1 |
|
5 |
14 |
108 |
4 |
| in_lookup |
|
10 |
27 |
219 |
5 |
| endnetgrent |
|
3 |
14 |
76 |
1 |
| setnetgrent |
|
9 |
22 |
137 |
1 |
| getnetgrent |
|
2 |
10 |
58 |
3 |
| innetgr |
|
14 |
32 |
236 |
4 |
| Source file: ./lib/libc/gen/times.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| times |
|
4 |
16 |
135 |
1 |
| Source file: ./lib/libc/gen/errlist.c |
| Source file: ./lib/libc/gen/fpclassify.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __fpclassify |
|
7 |
17 |
85 |
1 |
| __fpclassifyf |
|
5 |
17 |
73 |
1 |
| Source file: ./lib/libc/gen/errc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| errc |
|
1 |
7 |
43 |
4 |
| Source file: ./lib/libc/gen/nftw.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| nftw |
|
22 |
74 |
375 |
4 |
| Source file: ./lib/libc/gen/pwcache.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| user_from_uid |
|
8 |
40 |
284 |
2 |
| group_from_gid |
|
8 |
40 |
284 |
2 |
| Source file: ./lib/libc/gen/ftok.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ftok |
|
2 |
8 |
69 |
2 |
| Source file: ./lib/libc/gen/fstab.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fstabscan |
|
29 |
98 |
634 |
1 |
| getfsent |
|
4 |
6 |
34 |
1 |
| getfsspec |
|
4 |
8 |
44 |
1 |
| getfsfile |
|
4 |
8 |
44 |
1 |
| setfsent |
|
6 |
18 |
97 |
1 |
| endfsent |
|
2 |
7 |
24 |
1 |
| Source file: ./lib/libc/gen/statvfs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cvt_statfs_to_statvfs |
|
5 |
18 |
150 |
2 |
| fstatvfs |
|
2 |
9 |
48 |
2 |
| statvfs |
|
2 |
9 |
50 |
2 |
| Source file: ./lib/libc/gen/closedir.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| closedir |
|
1 |
12 |
68 |
1 |
| Source file: ./lib/libc/gen/utime.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| utime |
|
2 |
13 |
95 |
2 |
| Source file: ./lib/libc/gen/clock_getcpuclockid.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| clock_getcpuclockid |
|
3 |
7 |
38 |
2 |
| Source file: ./lib/libc/gen/ttyslot.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ttyslot |
|
6 |
24 |
127 |
1 |
| Source file: ./lib/libc/gen/err.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| err |
|
1 |
7 |
38 |
3 |
| Source file: ./lib/libc/gen/isnan.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __isnan |
|
3 |
6 |
43 |
1 |
| __isnanf |
|
2 |
5 |
35 |
1 |
| Source file: ./lib/libc/gen/getcap.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cgetusedb |
|
1 |
6 |
21 |
1 |
| cgetset |
|
3 |
15 |
83 |
1 |
| cgetcap |
|
14 |
29 |
161 |
3 |
| cgetent |
|
1 |
5 |
41 |
3 |
| getent |
|
58 |
243 |
1378 |
7 |
| cdbget |
|
6 |
20 |
166 |
3 |
| cgetmatch |
|
13 |
27 |
139 |
2 |
| cgetfirst |
|
1 |
5 |
29 |
2 |
| cgetclose |
|
2 |
11 |
43 |
1 |
| cgetnext |
|
23 |
97 |
554 |
2 |
| cgetstr |
|
34 |
87 |
497 |
3 |
| cgetustr |
|
9 |
41 |
245 |
3 |
| cgetnum |
|
13 |
35 |
201 |
3 |
| nfcmp |
|
2 |
12 |
78 |
2 |
| Source file: ./lib/libc/gen/raise.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| raise |
|
1 |
4 |
19 |
1 |
| Source file: ./lib/libc/gen/readpassphrase.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| readpassphrase |
|
33 |
108 |
902 |
4 |
| getpass |
|
1 |
5 |
35 |
1 |
| handler |
|
1 |
4 |
14 |
1 |
| Source file: ./lib/libc/gen/getbsize.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| getbsize |
|
18 |
59 |
340 |
2 |
| Source file: ./lib/libc/gen/getloadavg.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| getloadavg |
|
3 |
15 |
131 |
2 |
| Source file: ./lib/libc/gen/initgroups.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| initgroups |
|
2 |
10 |
62 |
2 |
| Source file: ./lib/libc/gen/exec.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| execl |
|
4 |
23 |
153 |
3 |
| execle |
|
4 |
24 |
166 |
3 |
| execlp |
|
4 |
23 |
151 |
3 |
| execv |
|
1 |
5 |
33 |
2 |
| execvpe |
|
23 |
90 |
543 |
3 |
| execvp |
|
1 |
4 |
25 |
2 |
| Source file: ./lib/libc/gen/getttyent.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| getttynam |
|
3 |
10 |
51 |
1 |
| getttyent |
|
28 |
65 |
418 |
1 |
| skip |
|
14 |
30 |
173 |
1 |
| value |
|
2 |
4 |
27 |
1 |
| setttyent |
|
3 |
9 |
46 |
1 |
| endttyent |
|
2 |
10 |
41 |
1 |
| Source file: ./lib/libc/crypt/crypt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| crypt |
|
3 |
14 |
65 |
2 |
| Source file: ./lib/libc/gen/authenticate.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| auth_mkvalue |
|
10 |
40 |
234 |
1 |
| auth_checknologin |
|
2 |
5 |
22 |
1 |
| _auth_checknologin |
|
13 |
33 |
182 |
2 |
| auth_cat |
|
3 |
11 |
89 |
1 |
| auth_approval |
|
39 |
113 |
806 |
4 |
| auth_usercheck |
|
10 |
42 |
344 |
4 |
| auth_userokay |
|
2 |
6 |
51 |
4 |
| auth_userchallenge |
|
12 |
39 |
320 |
4 |
| auth_userresponse |
|
12 |
38 |
302 |
3 |
| auth_verify |
|
9 |
23 |
208 |
4 |
| Source file: ./lib/libc/crypt/arc4random_uniform.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| arc4random_uniform |
|
4 |
13 |
54 |
1 |
| Source file: ./lib/libc/crypt/arc4random.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _rs_init |
|
4 |
11 |
75 |
2 |
| _rs_stir |
|
3 |
14 |
95 |
1 |
| _rs_stir_if_needed |
|
4 |
10 |
47 |
1 |
| _rs_rekey |
|
3 |
15 |
136 |
2 |
| _rs_random_buf |
|
4 |
21 |
126 |
2 |
| _rs_random_u32 |
|
2 |
11 |
93 |
1 |
| arc4random |
|
1 |
8 |
26 |
1 |
| arc4random_buf |
|
1 |
6 |
26 |
2 |
| Source file: ./lib/libc/gen/tolower_.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tolower |
|
2 |
6 |
34 |
1 |
| Source file: ./lib/libc/crypt/arc4random.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _getentropy_fail |
|
1 |
4 |
11 |
1 |
| _rs_allocate |
|
3 |
17 |
124 |
2 |
| _rs_forkdetect |
|
1 |
3 |
6 |
1 |
| Source file: ./lib/libc/gen/auth_subr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| auth_setstate |
|
1 |
1 |
17 |
2 |
| auth_set_va_list |
|
1 |
1 |
20 |
2 |
| auth_getstate |
|
1 |
1 |
15 |
1 |
| auth_getpwd |
|
1 |
1 |
15 |
1 |
| auth_open |
|
2 |
9 |
48 |
1 |
| auth_clean |
|
6 |
28 |
188 |
1 |
| auth_close |
|
10 |
40 |
266 |
1 |
| auth_challenge |
|
7 |
20 |
163 |
1 |
| auth_setenv |
|
18 |
43 |
341 |
1 |
| auth_clrenv |
|
7 |
18 |
163 |
1 |
| auth_getitem |
|
10 |
22 |
108 |
2 |
| auth_setitem |
|
27 |
74 |
480 |
3 |
| auth_setoption |
|
4 |
18 |
141 |
3 |
| auth_clroptions |
|
2 |
8 |
40 |
1 |
| auth_clroption |
|
9 |
23 |
166 |
2 |
| auth_setdata |
|
5 |
20 |
139 |
3 |
| auth_setpwd |
|
14 |
31 |
240 |
2 |
| auth_getvalue |
|
25 |
64 |
384 |
2 |
| auth_check_expire |
|
9 |
22 |
183 |
1 |
| auth_check_change |
|
9 |
22 |
178 |
1 |
| auth_call |
|
54 |
168 |
1212 |
3 |
| _recv_fd |
|
9 |
36 |
250 |
2 |
| _auth_spool |
|
6 |
25 |
175 |
2 |
| _add_rmlist |
|
2 |
13 |
96 |
2 |
| _auth_next_arg |
|
5 |
17 |
159 |
1 |
| Source file: ./lib/libc/crypt/cryptutil.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| crypt_checkpass |
|
7 |
19 |
109 |
2 |
| crypt_newhash |
|
9 |
39 |
253 |
4 |
| Source file: ./lib/libc/gdtoa/gmisc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rshift |
|
7 |
26 |
174 |
2 |
| trailz |
|
4 |
14 |
80 |
1 |
| Source file: ./lib/libc/gdtoa/strtord.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ULtod |
|
10 |
29 |
171 |
4 |
| strtord |
|
2 |
17 |
127 |
4 |
| Source file: ./lib/libc/crypt/chacha_private.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| chacha_keysetup |
|
2 |
22 |
215 |
4 |
| chacha_ivsetup |
|
1 |
7 |
59 |
2 |
| chacha_encrypt_bytes |
|
10 |
122 |
1066 |
4 |
| Source file: ./lib/libc/gdtoa/strtorQ.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ULtoQ |
|
10 |
35 |
245 |
4 |
| strtorQ |
|
2 |
17 |
127 |
4 |
| Source file: ./lib/libc/gdtoa/strtof.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| strtof |
|
11 |
33 |
216 |
2 |
| Source file: ./lib/libc/crypt/bcrypt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bcrypt_initsalt |
|
4 |
16 |
95 |
3 |
| bcrypt_hashpass |
|
19 |
80 |
636 |
4 |
| bcrypt_newhash |
|
3 |
10 |
77 |
4 |
| bcrypt_checkpass |
|
4 |
13 |
91 |
2 |
| _bcrypt_autorounds |
|
5 |
22 |
127 |
1 |
| decode_base64 |
|
8 |
29 |
224 |
3 |
| encode_base64 |
|
4 |
29 |
199 |
3 |
| bcrypt_gensalt |
|
1 |
6 |
29 |
1 |
| bcrypt |
|
2 |
7 |
45 |
2 |
| Source file: ./lib/libc/gdtoa/sum.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sum |
|
12 |
58 |
428 |
2 |
| Source file: ./lib/libc/gdtoa/ulp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ulp( x) |
|
5 |
24 |
144 |
1 |
| Source file: ./lib/libc/gdtoa/smisc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| s2b( s , nd0 , nd , y9 , dplen) |
|
11 |
36 |
258 |
5 |
| ratio( a , b) |
|
6 |
26 |
196 |
2 |
| match( sp , t) |
|
5 |
13 |
80 |
2 |
| copybits |
|
7 |
18 |
144 |
3 |
| any_on |
|
7 |
23 |
124 |
2 |
| Source file: ./lib/libc/gdtoa/hexnan.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| L_shift |
|
2 |
11 |
64 |
3 |
| hexnan |
|
37 |
88 |
586 |
3 |
| Source file: ./lib/libc/gdtoa/dmisc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rv_alloc |
|
3 |
18 |
96 |
1 |
| nrv_alloc |
|
4 |
12 |
69 |
3 |
| freedtoa |
|
2 |
8 |
60 |
1 |
| quorem( b , S) |
|
22 |
89 |
684 |
2 |
| Source file: ./lib/libc/gdtoa/gdtoa_fltrnds.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| switch |
|
4 |
5 |
33 |
1 |
| if |
|
1 |
5 |
23 |
1 |
| Source file: ./lib/libc/crypt/blowfish.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| Blowfish_encipher |
|
1 |
20 |
281 |
3 |
| Blowfish_decipher |
|
1 |
20 |
281 |
3 |
| Blowfish_initstate |
|
1 |
274 |
2116 |
1 |
| Blowfish_stream2word |
|
3 |
16 |
84 |
3 |
| Blowfish_expand0state |
|
5 |
29 |
212 |
3 |
| Blowfish_expandstate |
|
5 |
34 |
268 |
5 |
| blf_key |
|
1 |
5 |
30 |
3 |
| blf_enc |
|
2 |
10 |
56 |
3 |
| blf_dec |
|
2 |
10 |
56 |
3 |
| blf_ecb_encrypt |
|
2 |
19 |
206 |
3 |
| blf_ecb_decrypt |
|
2 |
19 |
206 |
3 |
| blf_cbc_encrypt |
|
3 |
22 |
239 |
4 |
| blf_cbc_decrypt |
|
4 |
38 |
447 |
4 |
| report |
|
2 |
7 |
50 |
2 |
| main |
|
2 |
24 |
177 |
1 |
| Source file: ./lib/libc/gdtoa/strtold.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| strtold |
|
1 |
4 |
23 |
2 |
| Source file: ./lib/libc/gdtoa/hdtoa.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| roundup |
|
3 |
13 |
67 |
2 |
| dorounding |
|
11 |
24 |
128 |
4 |
| __hdtoa |
|
19 |
59 |
453 |
6 |
| __hldtoa |
|
23 |
67 |
510 |
6 |
| __hldtoa |
|
1 |
5 |
49 |
6 |
| Source file: ./lib/libc/gdtoa/gdtoa.h |
| Source file: ./lib/libc/gdtoa/ldtoa.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __ldtoa |
|
9 |
46 |
258 |
6 |
| __ldtoa |
|
2 |
9 |
67 |
6 |
| Source file: ./lib/libc/gdtoa/gdtoa.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bitstob |
|
8 |
34 |
209 |
3 |
| gdtoa( fpi , be , bits , kindp , mode , ndigits , decpt , rve) |
|
209 |
568 |
3490 |
8 |
| Source file: ./lib/libc/gdtoa/gethex.c |
| Source file: ./lib/libc/gdtoa/strtorx.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ULtox |
|
10 |
36 |
250 |
4 |
| strtorx |
|
2 |
17 |
127 |
4 |
| Source file: ./lib/libc/gdtoa/dtoa.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dtoa( d0 , mode , ndigits , decpt , sign , rve) |
|
228 |
552 |
3475 |
6 |
| Source file: ./lib/libc/gdtoa/hd_init.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| htinit |
|
2 |
6 |
50 |
3 |
| __hexdig_init_D2A |
|
1 |
6 |
40 |
1 |
| Source file: ./lib/libc/stdlib/strtoumax.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| strtoumax |
|
29 |
61 |
393 |
3 |
| Source file: ./lib/libc/stdlib/insque.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| insque |
|
3 |
14 |
81 |
2 |
| Source file: ./lib/libc/gdtoa/misc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| Balloc( k) |
|
7 |
32 |
216 |
1 |
| Bfree( v) |
|
4 |
14 |
64 |
1 |
| lo0bits( y) |
|
10 |
40 |
182 |
1 |
| multadd( b , m , a) |
|
9 |
40 |
258 |
3 |
| hi0bits_D2A( x) |
|
7 |
26 |
120 |
1 |
| i2b( i) |
|
2 |
10 |
46 |
1 |
| mult( a , b) |
|
22 |
93 |
633 |
2 |
| pow5mult( b , k) |
|
18 |
54 |
337 |
2 |
| lshift( b , k) |
|
11 |
45 |
284 |
2 |
| cmp( a , b) |
|
11 |
24 |
156 |
2 |
| diff( a , b) |
|
16 |
79 |
518 |
2 |
| b2d( a , e) |
|
18 |
47 |
434 |
2 |
| d2b( dd , e , bits) |
|
21 |
93 |
675 |
3 |
| strcp_D2A |
|
2 |
6 |
29 |
2 |
| memcpy_D2A |
|
2 |
8 |
63 |
3 |
| Source file: ./lib/libc/stdlib/rand.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rand_r |
|
1 |
5 |
26 |
1 |
| rand |
|
2 |
6 |
30 |
1 |
| srand |
|
1 |
4 |
11 |
1 |
| srand_deterministic |
|
1 |
5 |
15 |
1 |
| Source file: ./lib/libc/stdlib/bsearch.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bsearch |
|
4 |
18 |
135 |
5 |
| Source file: ./lib/libc/gdtoa/gdtoaimp.h |
| Source file: ./lib/libc/gdtoa/strtod.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sulp( x , scale) |
|
3 |
12 |
90 |
2 |
| Source file: ./lib/libc/stdlib/a64l.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| a64l |
|
12 |
28 |
180 |
1 |
| Source file: ./lib/libc/stdlib/l64a.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| l64a |
|
7 |
26 |
141 |
1 |
| Source file: ./lib/libc/stdlib/rand48.h |
| Source file: ./lib/libc/stdlib/remque.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| remque |
|
3 |
8 |
51 |
1 |
| Source file: ./lib/libc/stdlib/mrand48.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mrand48 |
|
2 |
7 |
47 |
1 |
| Source file: ./lib/libc/stdlib/realpath.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| realpath |
|
35 |
134 |
798 |
2 |
| Source file: ./lib/libc/stdlib/random.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| srandom_l |
|
6 |
21 |
146 |
1 |
| srandom |
|
1 |
4 |
12 |
1 |
| srandomdev |
|
1 |
4 |
10 |
1 |
| srandom_deterministic |
|
1 |
6 |
21 |
1 |
| initstate |
|
8 |
44 |
254 |
3 |
| setstate |
|
8 |
35 |
201 |
1 |
| random_l |
|
5 |
18 |
105 |
1 |
| random |
|
1 |
8 |
26 |
1 |
| Source file: ./lib/libc/stdlib/posix_pty.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| posix_openpt |
|
5 |
19 |
107 |
1 |
| ptmname |
|
4 |
17 |
86 |
1 |
| grantpt |
|
2 |
4 |
18 |
1 |
| unlockpt |
|
2 |
4 |
18 |
1 |
| ptsname |
|
2 |
11 |
86 |
1 |
| Source file: ./lib/libc/stdlib/atof.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| atof |
|
1 |
4 |
23 |
1 |
| Source file: ./lib/libc/stdlib/hcreate.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| hcreate |
|
8 |
29 |
161 |
1 |
| hdestroy |
|
4 |
18 |
103 |
1 |
| hsearch |
|
7 |
30 |
205 |
2 |
| Source file: ./lib/libc/stdlib/ecvt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __cvt |
|
13 |
51 |
315 |
6 |
| ecvt |
|
1 |
4 |
36 |
4 |
| fcvt |
|
1 |
4 |
36 |
4 |
| Source file: ./lib/libc/stdlib/_rand48.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __dorand48 |
|
1 |
17 |
193 |
1 |
| Source file: ./lib/libc/gdtoa/strtodg.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| increment |
|
10 |
35 |
185 |
1 |
| decrement |
|
7 |
20 |
102 |
1 |
| all_on |
|
4 |
12 |
83 |
2 |
| set_ones |
|
6 |
23 |
137 |
2 |
| rvOK( d , fpi , exp , bits , exact , rd , irv) |
|
35 |
121 |
675 |
7 |
| mantbits |
|
5 |
11 |
94 |
1 |
| Source file: ./lib/libc/stdlib/atoi.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| atoi |
|
1 |
4 |
28 |
1 |
| Source file: ./lib/libc/stdlib/imaxabs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| imaxabs |
|
2 |
4 |
19 |
1 |
| Source file: ./lib/libc/stdlib/abort.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| abort |
|
1 |
15 |
106 |
1 |
| Source file: ./lib/libc/stdlib/reallocarray.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| reallocarray |
|
5 |
9 |
55 |
3 |
| Source file: ./lib/libc/stdlib/tsearch.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tsearch |
|
6 |
24 |
204 |
3 |
| tdelete |
|
10 |
38 |
330 |
3 |
| trecurse |
|
5 |
14 |
153 |
3 |
| twalk |
|
3 |
6 |
72 |
2 |
| Source file: ./lib/libc/stdlib/strtonum.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| strtonum |
|
12 |
35 |
216 |
4 |
| Source file: ./lib/libc/stdlib/atexit.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __cxa_atexit |
|
9 |
43 |
307 |
3 |
| atexit |
|
1 |
4 |
35 |
1 |
| __cxa_finalize |
|
14 |
49 |
308 |
1 |
| __atexit_register_cleanup |
|
7 |
32 |
237 |
1 |
| Source file: ./lib/libc/stdlib/srand48.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| srand48 |
|
1 |
5 |
16 |
1 |
| srand48_deterministic |
|
1 |
11 |
70 |
1 |
| Source file: ./lib/libc/stdlib/qsort.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| swapfunc |
|
5 |
16 |
77 |
4 |
| med3 |
|
6 |
6 |
97 |
4 |
| introsort |
|
20 |
82 |
601 |
6 |
| qsort |
|
7 |
15 |
140 |
4 |
| Source file: ./lib/libc/stdlib/drand48.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| drand48 |
|
2 |
11 |
78 |
1 |
| Source file: ./lib/libc/stdlib/lcong48.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| lcong48 |
|
1 |
5 |
20 |
1 |
| lcong48_deterministic |
|
1 |
11 |
82 |
1 |
| Source file: ./lib/libc/stdlib/atoll.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| atoll |
|
1 |
5 |
27 |
1 |
| Source file: ./lib/libc/stdlib/gcvt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| gcvt |
|
23 |
77 |
471 |
3 |
| Source file: ./lib/libc/stdlib/strtol.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| strtol |
|
34 |
79 |
459 |
3 |
| Source file: ./lib/libc/stdlib/ldiv.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ldiv |
|
3 |
11 |
59 |
2 |
| Source file: ./lib/libc/stdlib/seed48.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| seed48 |
|
1 |
7 |
30 |
1 |
| seed48_deterministic |
|
1 |
16 |
111 |
1 |
| Source file: ./lib/libc/stdlib/getsubopt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| getsubopt |
|
26 |
31 |
267 |
3 |
| Source file: ./lib/libc/stdlib/div.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| div |
|
3 |
11 |
59 |
2 |
| Source file: ./lib/libc/stdlib/lsearch.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| lsearch |
|
1 |
5 |
41 |
5 |
| lfind |
|
1 |
5 |
42 |
5 |
| linear_base |
|
4 |
14 |
118 |
6 |
| Source file: ./lib/libc/stdlib/getenv.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __findenv |
|
9 |
18 |
130 |
3 |
| getenv |
|
3 |
8 |
57 |
1 |
| Source file: ./lib/libc/stdlib/exit.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| exit |
|
1 |
5 |
17 |
1 |
| Source file: ./lib/libc/stdlib/labs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| labs |
|
2 |
4 |
19 |
1 |
| Source file: ./lib/libc/stdlib/heapsort.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| heapsort |
|
6 |
26 |
236 |
4 |
| Source file: ./lib/libc/stdlib/imaxdiv.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| imaxdiv |
|
3 |
11 |
59 |
2 |
| Source file: ./lib/libc/stdlib/setenv.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| putenv |
|
13 |
35 |
259 |
1 |
| setenv |
|
23 |
55 |
417 |
3 |
| unsetenv |
|
9 |
22 |
136 |
1 |
| Source file: ./lib/libc/stdlib/lrand48.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| lrand48 |
|
2 |
7 |
51 |
1 |
| Source file: ./lib/libc/stdlib/strtoul.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| strtoul |
|
29 |
61 |
397 |
3 |
| Source file: ./lib/libc/stdlib/atexit.h |
| Source file: ./lib/libc/stdlib/icdb.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| roundup |
|
2 |
7 |
29 |
1 |
| icdb_new |
|
9 |
31 |
217 |
6 |
| icdb_open |
|
12 |
46 |
342 |
3 |
| icdb_get |
|
1 |
6 |
47 |
3 |
| icdb_lookup |
|
5 |
28 |
205 |
5 |
| icdb_nentries |
|
1 |
4 |
16 |
1 |
| icdb_entries |
|
1 |
4 |
14 |
1 |
| icdb_update |
|
2 |
17 |
130 |
3 |
| icdb_add |
|
4 |
17 |
124 |
2 |
| icdb_rehash |
|
6 |
31 |
269 |
1 |
| icdb_save |
|
7 |
23 |
173 |
2 |
| icdb_close |
|
3 |
15 |
93 |
1 |
| Source file: ./lib/libc/stdlib/atol.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| atol |
|
1 |
4 |
25 |
1 |
| Source file: ./lib/libc/stdlib/radixsort.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| radixsort |
|
1 |
9 |
54 |
4 |
| sradixsort |
|
3 |
16 |
110 |
4 |
| r_sort_a |
|
16 |
59 |
444 |
5 |
| r_sort_b |
|
16 |
63 |
454 |
6 |
| simplesort |
|
6 |
15 |
150 |
5 |
| Source file: ./lib/libc/stdlib/merge.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mergesort |
|
34 |
124 |
840 |
4 |
| setup |
|
17 |
56 |
496 |
5 |
| insertionsort |
|
4 |
13 |
106 |
4 |
| Source file: ./lib/libc/stdlib/llabs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| llabs |
|
2 |
4 |
20 |
1 |
| Source file: ./lib/libc/stdlib/strtoull.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| strtoull |
|
29 |
61 |
401 |
3 |
| Source file: ./lib/libc/stdlib/strtoimax.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| strtoimax |
|
34 |
79 |
459 |
3 |
| Source file: ./lib/libc/stdlib/lldiv.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| lldiv |
|
3 |
11 |
61 |
2 |
| Source file: ./lib/libc/stdlib/strtoll.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| strtoll |
|
34 |
79 |
460 |
3 |
| Source file: ./lib/libc/stdlib/nrand48.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| nrand48 |
|
1 |
5 |
43 |
1 |
| Source file: ./lib/libc/stdlib/recallocarray.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| recallocarray |
|
15 |
37 |
238 |
4 |
| Source file: ./lib/libc/stdlib/_Exit.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _Exit |
|
1 |
4 |
12 |
1 |
| Source file: ./lib/libc/stdlib/abs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| abs |
|
2 |
4 |
19 |
1 |
| Source file: ./lib/libc/stdlib/erand48.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| erand48 |
|
1 |
7 |
59 |
1 |
| Source file: ./lib/libc/stdlib/tfind.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tfind |
|
5 |
17 |
148 |
3 |
| Source file: ./lib/libc/stdlib/jrand48.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| jrand48 |
|
1 |
5 |
38 |
1 |
| Source file: ./lib/libc/stdlib/system.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| system |
|
7 |
32 |
237 |
1 |
| Source file: ./lib/libc/stdlib/getopt_long.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| gcd |
|
2 |
11 |
46 |
2 |
| permute_args |
|
4 |
23 |
162 |
4 |
| parse_long_options |
|
32 |
92 |
552 |
6 |
| getopt_internal |
|
57 |
137 |
830 |
6 |
| getopt |
|
1 |
4 |
36 |
3 |
| getopt_long |
|
1 |
6 |
46 |
5 |
| getopt_long_only |
|
1 |
6 |
48 |
5 |
| Source file: ./lib/libc/string/wcscspn.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wcscspn |
|
4 |
17 |
72 |
2 |
| Source file: ./lib/libc/string/wcscpy.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wcscpy |
|
2 |
11 |
51 |
2 |
| Source file: ./lib/libc/string/strncmp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| strncmp |
|
5 |
12 |
83 |
3 |
| Source file: ./lib/libc/string/wcsncat.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wcsncat |
|
4 |
17 |
77 |
3 |
| Source file: ./lib/libc/string/strsignal.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| strsignal |
|
1 |
5 |
22 |
1 |
| Source file: ./lib/libc/string/timingsafe_memcmp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| timingsafe_memcmp |
|
2 |
14 |
117 |
3 |
| Source file: ./lib/libc/string/strxfrm.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| strxfrm |
|
2 |
6 |
42 |
3 |
| Source file: ./lib/libc/string/strsep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| strsep |
|
6 |
23 |
120 |
2 |
| Source file: ./lib/libc/string/wcslcpy.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wcslcpy |
|
7 |
18 |
98 |
3 |
| Source file: ./lib/libc/string/wcslen.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wcslen |
|
2 |
8 |
31 |
1 |
| Source file: ./lib/libc/string/strlcat.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| strlcat |
|
6 |
22 |
128 |
3 |
| Source file: ./lib/libc/string/wmemchr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wmemchr |
|
3 |
11 |
55 |
3 |
| Source file: ./lib/libc/string/strcmp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| strcmp |
|
3 |
7 |
56 |
2 |
| Source file: ./lib/libc/string/strcoll_l.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| strcoll_l |
|
1 |
5 |
31 |
3 |
| Source file: ./lib/libc/string/wcscasecmp_l.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wcscasecmp_l |
|
3 |
10 |
76 |
3 |
| wcsncasecmp_l |
|
5 |
15 |
105 |
4 |
| Source file: ./lib/libc/string/wcsdup.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wcsdup |
|
2 |
10 |
61 |
1 |
| Source file: ./lib/libc/string/wcsncmp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wcsncmp |
|
5 |
14 |
85 |
3 |
| Source file: ./lib/libc/string/wcscat.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wcscat |
|
3 |
15 |
67 |
2 |
| Source file: ./lib/libc/string/memmove.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| memmove |
|
10 |
41 |
307 |
3 |
| Source file: ./lib/libc/string/wcschr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wcschr |
|
4 |
13 |
56 |
2 |
| Source file: ./lib/libc/string/strerror.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| strerror |
|
1 |
6 |
34 |
1 |
| Source file: ./lib/libc/string/strmode.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| strmode |
|
27 |
97 |
405 |
2 |
| Source file: ./lib/libc/string/strcasecmp_l.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| strcasecmp_l |
|
1 |
5 |
31 |
3 |
| strncasecmp_l |
|
1 |
5 |
36 |
4 |
| Source file: ./lib/libc/string/wcscmp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wcscmp |
|
3 |
7 |
56 |
2 |
| Source file: ./lib/libc/string/wcscasecmp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wcscasecmp |
|
3 |
9 |
69 |
2 |
| wcsncasecmp |
|
5 |
14 |
98 |
3 |
| Source file: ./lib/libc/string/strxfrm_l.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| strxfrm_l |
|
1 |
5 |
35 |
4 |
| Source file: ./lib/libc/string/wcswidth.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wcswidth |
|
4 |
14 |
64 |
2 |
| Source file: ./lib/libc/string/swab.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| swab |
|
2 |
15 |
87 |
3 |
| Source file: ./lib/libc/string/strlen.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| strlen |
|
2 |
7 |
34 |
1 |
| Source file: ./lib/libc/string/bcopy.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bcopy |
|
10 |
41 |
304 |
3 |
| Source file: ./lib/libc/string/strpbrk.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| strpbrk |
|
4 |
11 |
79 |
2 |
| Source file: ./lib/libc/string/memcmp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| memcmp |
|
4 |
11 |
75 |
3 |
| Source file: ./lib/libc/string/stpncpy.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| stpncpy |
|
5 |
17 |
98 |
3 |
| Source file: ./lib/libc/string/strndup.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| strndup |
|
2 |
12 |
67 |
2 |
| Source file: ./lib/libc/string/wmemcmp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wmemcmp |
|
4 |
13 |
76 |
3 |
| Source file: ./lib/libc/string/memset.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| memset |
|
3 |
10 |
53 |
3 |
| Source file: ./lib/libc/string/strcasecmp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| strcasecmp |
|
3 |
10 |
89 |
2 |
| strncasecmp |
|
5 |
15 |
113 |
3 |
| Source file: ./lib/libc/string/wcsstr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wcsstr |
|
7 |
28 |
125 |
2 |
| Source file: ./lib/libc/string/wmemcpy.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wmemcpy |
|
1 |
4 |
35 |
3 |
| Source file: ./lib/libc/string/stpcpy.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| stpcpy |
|
2 |
5 |
38 |
2 |
| Source file: ./lib/libc/string/wcsspn.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wcsspn |
|
5 |
19 |
80 |
2 |
| Source file: ./lib/libc/string/memcpy.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| memcpy |
|
10 |
32 |
254 |
3 |
| Source file: ./lib/libc/string/strcpy.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| strcpy |
|
2 |
6 |
44 |
2 |
| Source file: ./lib/libc/string/memrchr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| memrchr |
|
4 |
12 |
79 |
3 |
| Source file: ./lib/libc/string/bcmp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bcmp |
|
4 |
13 |
78 |
3 |
| Source file: ./lib/libc/string/strchr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| strchr |
|
4 |
9 |
52 |
2 |
| Source file: ./lib/libc/string/strlcpy.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| strlcpy |
|
7 |
18 |
96 |
3 |
| Source file: ./lib/libc/string/strcasestr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| strcasestr |
|
5 |
17 |
123 |
2 |
| Source file: ./lib/libc/string/strcat.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| strcat |
|
3 |
7 |
49 |
2 |
| Source file: ./lib/libc/string/timingsafe_bcmp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| timingsafe_bcmp |
|
2 |
8 |
62 |
3 |
| Source file: ./lib/libc/string/strnlen.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| strnlen |
|
3 |
7 |
49 |
2 |
| Source file: ./lib/libc/string/strerror_l.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| strerror_l |
|
3 |
9 |
58 |
2 |
| Source file: ./lib/libc/string/wcsrchr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wcsrchr |
|
4 |
14 |
59 |
2 |
| Source file: ./lib/libc/string/strspn.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| strspn |
|
3 |
11 |
72 |
2 |
| Source file: ./lib/libc/string/bzero.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bzero |
|
2 |
6 |
31 |
2 |
| Source file: ./lib/libc/string/strrchr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| strrchr |
|
4 |
10 |
54 |
2 |
| Source file: ./lib/libc/string/strerror_r.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __digits10 |
|
2 |
9 |
33 |
1 |
| __itoa |
|
7 |
30 |
140 |
5 |
| __num2string |
|
6 |
21 |
135 |
8 |
| strerror_r |
|
2 |
9 |
51 |
3 |
| __strsignal |
|
1 |
6 |
33 |
2 |
| Source file: ./lib/libc/string/ffs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ffs |
|
4 |
25 |
136 |
1 |
| Source file: ./lib/libc/string/wcslcat.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wcslcat |
|
6 |
22 |
131 |
3 |
| Source file: ./lib/libc/string/strcspn.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| strcspn |
|
4 |
13 |
78 |
2 |
| Source file: ./lib/libc/string/memmem.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| memmem |
|
7 |
17 |
135 |
4 |
| Source file: ./lib/libc/string/memccpy.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| memccpy |
|
4 |
13 |
81 |
4 |
| Source file: ./lib/libc/string/wmemmove.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wmemmove |
|
1 |
4 |
35 |
3 |
| Source file: ./lib/libc/string/strcoll.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| strcoll |
|
1 |
4 |
24 |
2 |
| Source file: ./lib/libc/string/explicit_bzero.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __explicit_bzero_hook |
|
1 |
3 |
10 |
2 |
| explicit_bzero |
|
1 |
5 |
27 |
2 |
| Source file: ./lib/libc/string/strdup.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| strdup |
|
2 |
10 |
60 |
1 |
| Source file: ./lib/libc/string/wcswcs.c |
| Source file: ./lib/libc/string/strncpy.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| strncpy |
|
5 |
15 |
84 |
3 |
| Source file: ./lib/libc/string/strncat.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| strncat |
|
5 |
16 |
86 |
3 |
| Source file: ./lib/libc/string/wcspbrk.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wcspbrk |
|
4 |
17 |
72 |
2 |
| Source file: ./lib/libc/string/strtok.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| strtok |
|
1 |
5 |
29 |
2 |
| strtok_r |
|
9 |
33 |
181 |
3 |
| Source file: ./lib/libc/string/wcsncpy.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wcsncpy |
|
4 |
14 |
63 |
3 |
| Source file: ./lib/libc/string/memchr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| memchr |
|
4 |
11 |
72 |
3 |
| Source file: ./lib/libc/string/wmemset.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wmemset |
|
2 |
11 |
51 |
3 |
| Source file: ./lib/libc/string/wcstok.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wcstok |
|
9 |
34 |
189 |
3 |
| Source file: ./lib/libc/rpc/get_myaddress.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| get_myaddress |
|
9 |
24 |
153 |
1 |
| Source file: ./lib/libc/string/strstr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| twobyte_strstr |
|
4 |
6 |
85 |
2 |
| threebyte_strstr |
|
4 |
7 |
111 |
2 |
| fourbyte_strstr |
|
4 |
7 |
119 |
2 |
| twoway_strstr |
|
30 |
86 |
687 |
2 |
| strstr |
|
10 |
13 |
178 |
2 |
| Source file: ./lib/libc/rpc/clnt_simple.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| callrpc |
|
14 |
63 |
466 |
8 |
| Source file: ./lib/libc/rpc/xdr_reference.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| xdr_reference |
|
6 |
26 |
123 |
4 |
| xdr_pointer |
|
3 |
13 |
79 |
4 |
| Source file: ./lib/libc/rpc/pmap_prot.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| xdr_pmap |
|
4 |
8 |
63 |
2 |
| Source file: ./lib/libc/rpc/getrpcent.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _rpcdata |
|
2 |
9 |
43 |
1 |
| getrpcbynumber |
|
4 |
14 |
68 |
1 |
| getrpcbyname |
|
5 |
17 |
94 |
1 |
| setrpcent |
|
3 |
11 |
57 |
1 |
| endrpcent |
|
4 |
10 |
49 |
1 |
| getrpcent |
|
4 |
11 |
100 |
1 |
| interpret |
|
15 |
46 |
321 |
2 |
| Source file: ./lib/libc/rpc/xdr_float.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| xdr_float |
|
4 |
17 |
89 |
2 |
| xdr_double |
|
10 |
41 |
245 |
2 |
| Source file: ./lib/libc/rpc/pmap_prot2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| xdr_pmaplist |
|
7 |
19 |
140 |
2 |
| Source file: ./lib/libc/rpc/clnt_generic.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| clnt_create |
|
8 |
52 |
311 |
4 |
| Source file: ./lib/libc/rpc/xdr_stdio.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| xdrstdio_create |
|
1 |
8 |
50 |
3 |
| xdrstdio_destroy |
|
1 |
4 |
22 |
1 |
| xdrstdio_getlong |
|
2 |
8 |
62 |
2 |
| xdrstdio_putlong |
|
2 |
7 |
60 |
2 |
| xdrstdio_getbytes |
|
3 |
6 |
56 |
3 |
| xdrstdio_putbytes |
|
3 |
6 |
56 |
3 |
| xdrstdio_getpos |
|
1 |
4 |
25 |
1 |
| xdrstdio_setpos |
|
2 |
5 |
40 |
2 |
| xdrstdio_inline |
|
1 |
4 |
16 |
2 |
| Source file: ./lib/libc/rpc/svc_raw.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| svcraw_create |
|
3 |
15 |
106 |
1 |
| svcraw_stat |
|
1 |
4 |
13 |
1 |
| svcraw_recv |
|
3 |
13 |
75 |
2 |
| svcraw_reply |
|
3 |
14 |
83 |
2 |
| svcraw_getargs |
|
2 |
7 |
48 |
3 |
| svcraw_freeargs |
|
2 |
10 |
62 |
3 |
| svcraw_destroy |
|
1 |
3 |
8 |
1 |
| Source file: ./lib/libc/rpc/pmap_getmaps.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pmap_getmaps |
|
3 |
22 |
127 |
1 |
| Source file: ./lib/libc/rpc/bindresvport.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bindresvport |
|
1 |
4 |
25 |
2 |
| bindresvport_sa |
|
13 |
65 |
401 |
2 |
| Source file: ./lib/libc/rpc/rpc_callmsg.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| xdr_callmsg |
|
37 |
131 |
964 |
2 |
| Source file: ./lib/libc/rpc/rpc_commondata.c |
| Source file: ./lib/libc/rpc/svc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| xprt_register |
|
1 |
4 |
16 |
1 |
| __xprt_register |
|
7 |
23 |
133 |
1 |
| svc_fd_insert |
|
15 |
54 |
367 |
1 |
| svc_fd_remove |
|
17 |
47 |
293 |
1 |
| xprt_unregister |
|
2 |
8 |
38 |
1 |
| svc_register |
|
5 |
25 |
157 |
5 |
| svc_unregister |
|
3 |
15 |
99 |
2 |
| svc_find |
|
4 |
13 |
82 |
3 |
| svc_sendreply |
|
1 |
11 |
81 |
3 |
| svcerr_noproc |
|
1 |
9 |
52 |
1 |
| svcerr_decode |
|
1 |
9 |
52 |
1 |
| svcerr_systemerr |
|
1 |
9 |
52 |
1 |
| svcerr_auth |
|
1 |
9 |
54 |
2 |
| svcerr_weakauth |
|
1 |
4 |
15 |
1 |
| svcerr_noprog |
|
1 |
9 |
52 |
1 |
| svcerr_progvers |
|
1 |
11 |
78 |
3 |
| svc_getreq |
|
2 |
6 |
42 |
1 |
| svc_getreqset |
|
1 |
4 |
15 |
1 |
| svc_getreqset2 |
|
3 |
11 |
83 |
2 |
| svc_getreq_poll |
|
5 |
13 |
96 |
2 |
| svc_getreq_common |
|
12 |
57 |
352 |
1 |
| Source file: ./lib/libc/rpc/svc_simple.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| registerrpc |
|
6 |
27 |
184 |
6 |
| universal |
|
10 |
31 |
210 |
2 |
| Source file: ./lib/libc/rpc/svc_auth_unix.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _svcauth_unix |
|
7 |
60 |
393 |
2 |
| _svcauth_short |
|
1 |
4 |
19 |
2 |
| Source file: ./lib/libc/rpc/clnt_perror.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| clnt_sperror |
|
37 |
83 |
468 |
2 |
| clnt_perror |
|
1 |
4 |
29 |
2 |
| clnt_sperrno |
|
2 |
7 |
48 |
1 |
| clnt_perrno |
|
1 |
4 |
23 |
1 |
| clnt_spcreateerror |
|
3 |
22 |
134 |
1 |
| clnt_pcreateerror |
|
1 |
4 |
20 |
1 |
| auth_errmsg |
|
2 |
7 |
48 |
1 |
| Source file: ./lib/libc/rpc/pmap_clnt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pmap_set |
|
4 |
30 |
179 |
4 |
| pmap_unset |
|
3 |
22 |
140 |
2 |
| Source file: ./lib/libc/rpc/clnt_raw.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| clntraw_create |
|
5 |
36 |
231 |
2 |
| clntraw_call |
|
13 |
57 |
395 |
7 |
| clntraw_geterr |
|
1 |
3 |
13 |
2 |
| clntraw_freeres |
|
2 |
13 |
74 |
3 |
| clntraw_abort |
|
1 |
3 |
8 |
1 |
| clntraw_control |
|
1 |
4 |
20 |
3 |
| clntraw_destroy |
|
1 |
3 |
8 |
1 |
| Source file: ./lib/libc/rpc/xdr_rec.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| xdrrec_create |
|
4 |
44 |
328 |
6 |
| xdrrec_getlong |
|
4 |
18 |
165 |
2 |
| xdrrec_putlong |
|
3 |
15 |
141 |
2 |
| xdrrec_getbytes |
|
7 |
22 |
127 |
3 |
| xdrrec_putbytes |
|
5 |
20 |
130 |
3 |
| xdrrec_getpos |
|
4 |
19 |
104 |
1 |
| xdrrec_setpos |
|
10 |
31 |
181 |
2 |
| xdrrec_inline |
|
7 |
24 |
137 |
2 |
| xdrrec_destroy |
|
1 |
7 |
52 |
1 |
| xdrrec_skiprecord |
|
10 |
26 |
164 |
1 |
| xdrrec_eof |
|
7 |
14 |
104 |
1 |
| xdrrec_endofrecord |
|
4 |
17 |
143 |
2 |
| __xdrrec_getrec |
|
16 |
65 |
442 |
3 |
| __xdrrec_setnonblock |
|
2 |
9 |
54 |
2 |
| flush_out |
|
3 |
14 |
152 |
2 |
| fill_input_buf |
|
3 |
18 |
108 |
1 |
| get_input_bytes |
|
7 |
25 |
156 |
3 |
| set_input_fragment |
|
5 |
14 |
100 |
1 |
| skip_input_bytes |
|
5 |
16 |
89 |
2 |
| fix_buf_size |
|
2 |
6 |
25 |
1 |
| realloc_stream |
|
3 |
17 |
95 |
2 |
| Source file: ./lib/libc/rpc/pmap_rmt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pmap_rmtcall |
|
2 |
29 |
185 |
10 |
| xdr_rmtcall_args |
|
7 |
22 |
183 |
2 |
| xdr_rmtcallres |
|
3 |
11 |
88 |
2 |
| newgetbroadcastnets |
|
15 |
38 |
235 |
1 |
| clnt_broadcast |
|
28 |
152 |
926 |
8 |
| Source file: ./lib/libc/stdlib/malloc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _MALLOC_LEAVE |
|
2 |
7 |
29 |
1 |
| _MALLOC_ENTER |
|
2 |
7 |
29 |
1 |
| hash |
|
2 |
11 |
85 |
1 |
| getpool |
|
2 |
8 |
40 |
1 |
| wrterror |
|
5 |
15 |
99 |
3 |
| rbytes_init |
|
1 |
5 |
47 |
1 |
| getrbyte |
|
2 |
8 |
45 |
1 |
| unmap |
|
22 |
61 |
455 |
4 |
| zapcacheregion |
|
5 |
18 |
142 |
3 |
| map |
|
25 |
67 |
478 |
4 |
| omalloc_parseopt |
|
23 |
70 |
267 |
1 |
| omalloc_init |
|
17 |
52 |
269 |
1 |
| omalloc_poolinit |
|
5 |
32 |
272 |
1 |
| omalloc_grow |
|
7 |
40 |
284 |
1 |
| alloc_chunk_info |
|
6 |
31 |
222 |
2 |
| insert |
|
5 |
24 |
166 |
4 |
| find |
|
7 |
21 |
176 |
2 |
| delete |
|
11 |
27 |
209 |
2 |
| omalloc_make_chunks |
|
9 |
48 |
382 |
3 |
| find_chunksize |
|
5 |
15 |
71 |
1 |
| malloc_bytes |
|
22 |
61 |
456 |
3 |
| fill_canary |
|
2 |
7 |
42 |
3 |
| validate_canary |
|
5 |
17 |
99 |
4 |
| find_chunknum |
|
6 |
19 |
172 |
4 |
| free_bytes |
|
7 |
32 |
253 |
3 |
| omalloc |
|
17 |
53 |
354 |
4 |
| malloc_recurse |
|
2 |
11 |
48 |
1 |
| _malloc_init |
|
10 |
30 |
187 |
1 |
| malloc |
|
6 |
25 |
131 |
1 |
| validate_junk |
|
6 |
17 |
112 |
2 |
| ofree |
|
35 |
114 |
733 |
5 |
| free |
|
4 |
20 |
103 |
1 |
| freezero_p |
|
1 |
5 |
23 |
2 |
| freezero |
|
5 |
24 |
124 |
2 |
| orealloc |
|
56 |
170 |
1147 |
4 |
| realloc |
|
6 |
25 |
135 |
2 |
| calloc |
|
11 |
34 |
189 |
2 |
| orecallocarray |
|
17 |
63 |
421 |
5 |
| recallocarray_p |
|
15 |
37 |
236 |
4 |
| recallocarray |
|
17 |
46 |
278 |
4 |
| mapalign |
|
9 |
22 |
194 |
4 |
| omemalign |
|
13 |
46 |
293 |
5 |
| posix_memalign |
|
7 |
34 |
186 |
3 |
| leakcmp |
|
2 |
4 |
44 |
2 |
| putleakinfo |
|
7 |
27 |
175 |
3 |
| dump_leaks |
|
5 |
22 |
167 |
1 |
| dump_chunk |
|
6 |
21 |
159 |
4 |
| dump_free_chunk_info |
|
6 |
21 |
146 |
2 |
| dump_free_page_info |
|
3 |
12 |
92 |
2 |
| malloc_dump1 |
|
5 |
43 |
336 |
3 |
| malloc_dump |
|
5 |
22 |
137 |
3 |
| malloc_gdump |
|
2 |
8 |
46 |
1 |
| malloc_exit |
|
3 |
23 |
144 |
1 |
| Source file: ./lib/libc/rpc/svc_tcp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| svctcp_create |
|
13 |
55 |
376 |
3 |
| svcfd_create |
|
1 |
4 |
25 |
3 |
| makefd_xprt |
|
4 |
32 |
228 |
3 |
| rendezvous_request |
|
14 |
45 |
294 |
2 |
| rendezvous_stat |
|
1 |
4 |
13 |
1 |
| svctcp_destroy |
|
3 |
15 |
109 |
1 |
| readtcp |
|
8 |
34 |
241 |
3 |
| writetcp |
|
3 |
12 |
88 |
3 |
| svctcp_stat |
|
3 |
10 |
60 |
1 |
| svctcp_recv |
|
2 |
14 |
89 |
2 |
| svctcp_getargs |
|
1 |
4 |
43 |
3 |
| svctcp_freeargs |
|
1 |
7 |
55 |
3 |
| svctcp_reply |
|
1 |
12 |
81 |
2 |
| Source file: ./lib/libc/rpc/authunix_prot.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| xdr_authunix_parms |
|
6 |
12 |
109 |
2 |
| Source file: ./lib/libc/rpc/svc_auth.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _authenticate |
|
3 |
12 |
98 |
2 |
| _svcauth_null |
|
1 |
4 |
11 |
1 |
| Source file: ./lib/libc/rpc/rpc_prot.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| xdr_opaque_auth |
|
2 |
7 |
52 |
2 |
| xdr_des_block |
|
1 |
4 |
30 |
2 |
| xdr_accepted_reply |
|
6 |
17 |
140 |
2 |
| xdr_rejected_reply |
|
5 |
14 |
114 |
2 |
| xdr_replymsg |
|
4 |
9 |
91 |
2 |
| xdr_callhdr |
|
6 |
12 |
113 |
2 |
| accepted |
|
7 |
26 |
113 |
2 |
| rejected |
|
3 |
14 |
69 |
2 |
| _seterr_reply |
|
7 |
34 |
197 |
2 |
| Source file: ./lib/libc/rpc/svc_run.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| svc_run |
|
7 |
29 |
141 |
1 |
| Source file: ./lib/libc/rpc/xdr_mem.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| xdrmem_create |
|
2 |
8 |
66 |
4 |
| xdrmem_destroy |
|
1 |
3 |
8 |
1 |
| xdrmem_getlong_aligned |
|
2 |
9 |
67 |
2 |
| xdrmem_putlong_aligned |
|
2 |
9 |
70 |
2 |
| xdrmem_getlong_unaligned |
|
2 |
11 |
78 |
2 |
| xdrmem_putlong_unaligned |
|
2 |
11 |
81 |
2 |
| xdrmem_getbytes |
|
2 |
9 |
55 |
3 |
| xdrmem_putbytes |
|
2 |
9 |
55 |
3 |
| xdrmem_getpos |
|
1 |
4 |
25 |
1 |
| xdrmem_setpos |
|
2 |
10 |
66 |
2 |
| xdrmem_inline_aligned |
|
2 |
10 |
54 |
2 |
| xdrmem_inline_unaligned |
|
1 |
4 |
16 |
2 |
| Source file: ./lib/libc/rpc/auth_none.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| authnone_create |
|
4 |
24 |
161 |
1 |
| authnone_marshal |
|
2 |
8 |
53 |
2 |
| authnone_verf |
|
1 |
3 |
9 |
1 |
| authnone_validate |
|
1 |
4 |
19 |
2 |
| authnone_refresh |
|
1 |
4 |
14 |
1 |
| authnone_destroy |
|
1 |
3 |
9 |
1 |
| Source file: ./lib/libc/rpc/pmap_getport.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pmap_getport |
|
4 |
27 |
170 |
4 |
| Source file: ./lib/libc/rpc/xdr_array.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| xdr_array |
|
13 |
43 |
231 |
6 |
| xdr_vector |
|
3 |
13 |
74 |
5 |
| Source file: ./lib/libc/rpc/getrpcport.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| getrpcport |
|
2 |
13 |
114 |
4 |
| Source file: ./lib/libc/rpc/svc_udp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| svcudp_bufcreate |
|
14 |
63 |
443 |
3 |
| svcudp_create |
|
1 |
4 |
19 |
1 |
| svcudp_stat |
|
1 |
4 |
13 |
1 |
| svcudp_recv |
|
8 |
30 |
239 |
2 |
| svcudp_reply |
|
5 |
22 |
153 |
2 |
| svcudp_getargs |
|
1 |
4 |
35 |
3 |
| svcudp_freeargs |
|
1 |
6 |
47 |
3 |
| svcudp_destroy |
|
2 |
12 |
98 |
1 |
| svcudp_enablecache |
|
6 |
25 |
176 |
2 |
| cache_set |
|
7 |
46 |
319 |
2 |
| cache_get |
|
7 |
24 |
194 |
4 |
| Source file: ./lib/libc/rpc/xdr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| xdr_free |
|
1 |
6 |
31 |
2 |
| xdr_void |
|
1 |
4 |
11 |
1 |
| xdr_int |
|
5 |
18 |
92 |
2 |
| xdr_u_int |
|
5 |
18 |
100 |
2 |
| xdr_long |
|
4 |
12 |
60 |
2 |
| xdr_u_long |
|
4 |
12 |
67 |
2 |
| xdr_int32_t |
|
5 |
18 |
92 |
2 |
| xdr_u_int32_t |
|
5 |
18 |
100 |
2 |
| xdr_short |
|
5 |
18 |
93 |
2 |
| xdr_u_short |
|
5 |
18 |
100 |
2 |
| xdr_int16_t |
|
5 |
18 |
92 |
2 |
| xdr_u_int16_t |
|
5 |
18 |
100 |
2 |
| xdr_char |
|
2 |
10 |
50 |
2 |
| xdr_u_char |
|
2 |
10 |
50 |
2 |
| xdr_bool |
|
7 |
18 |
98 |
2 |
| xdr_enum |
|
4 |
13 |
115 |
2 |
| xdr_opaque |
|
10 |
30 |
180 |
3 |
| xdr_bytes |
|
11 |
32 |
179 |
4 |
| xdr_netobj |
|
1 |
4 |
33 |
2 |
| xdr_union |
|
5 |
18 |
109 |
5 |
| xdr_string |
|
12 |
42 |
207 |
3 |
| xdr_wrapstring |
|
1 |
4 |
22 |
2 |
| xdr_int64_t |
|
7 |
23 |
210 |
2 |
| xdr_u_int64_t |
|
7 |
23 |
204 |
2 |
| Source file: ./lib/libc/gmon/mcount.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _MCOUNT_DECL |
|
18 |
74 |
412 |
2 |
| Source file: ./lib/libc/rpc/auth_unix.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| authunix_create |
|
6 |
45 |
334 |
5 |
| set_rpc_maxgrouplist |
|
2 |
5 |
17 |
1 |
| authunix_create_default |
|
5 |
21 |
143 |
1 |
| authunix_nextverf |
|
1 |
3 |
8 |
1 |
| authunix_marshal |
|
1 |
5 |
38 |
2 |
| authunix_validate |
|
4 |
24 |
161 |
2 |
| authunix_refresh |
|
4 |
33 |
205 |
1 |
| authunix_destroy |
|
3 |
11 |
110 |
1 |
| marshal_new_auth |
|
3 |
13 |
92 |
1 |
| Source file: ./lib/libc/time/tzfile.h |
| Source file: ./lib/libc/gmon/gmon.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| monstartup |
|
13 |
64 |
489 |
2 |
| _mcleanup |
|
24 |
119 |
826 |
1 |
| moncontrol |
|
2 |
12 |
68 |
1 |
| hertz |
|
2 |
13 |
88 |
1 |
| Source file: ./lib/libc/rpc/clnt_tcp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| clnttcp_create |
|
14 |
83 |
619 |
6 |
| clnttcp_call |
|
26 |
71 |
561 |
7 |
| clnttcp_geterr |
|
1 |
6 |
34 |
2 |
| clnttcp_freeres |
|
1 |
7 |
58 |
3 |
| clnttcp_abort |
|
1 |
3 |
8 |
1 |
| clnttcp_control |
|
4 |
19 |
104 |
3 |
| clnttcp_destroy |
|
3 |
11 |
84 |
1 |
| readtcp |
|
12 |
53 |
342 |
3 |
| writetcp |
|
3 |
12 |
89 |
3 |
| Source file: ./lib/libc/time/difftime.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| difftime |
|
1 |
4 |
35 |
2 |
| Source file: ./lib/libc/time/strftime_l.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| strftime_l |
|
1 |
5 |
43 |
5 |
| Source file: ./lib/libc/rpc/clnt_udp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| clntudp_bufcreate |
|
11 |
79 |
558 |
7 |
| clntudp_create |
|
1 |
6 |
43 |
5 |
| clntudp_call |
|
32 |
134 |
952 |
7 |
| clntudp_geterr |
|
1 |
5 |
34 |
2 |
| clntudp_freeres |
|
1 |
7 |
58 |
3 |
| clntudp_abort |
|
1 |
3 |
8 |
1 |
| clntudp_control |
|
6 |
24 |
132 |
3 |
| clntudp_destroy |
|
3 |
10 |
94 |
1 |
| Source file: ./lib/libc/time/private.h |
| Source file: ./lib/libc/time/wcsftime.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wcsftime |
|
4 |
16 |
108 |
4 |
| _fmt |
|
83 |
265 |
1571 |
5 |
| _conv |
|
1 |
6 |
63 |
4 |
| _add |
|
2 |
6 |
42 |
3 |
| _sadd |
|
2 |
6 |
45 |
3 |
| _yconv |
|
10 |
24 |
174 |
6 |
| Source file: ./lib/libc/time/asctime.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| asctime3 |
|
9 |
40 |
270 |
3 |
| asctime_r |
|
1 |
4 |
24 |
2 |
| asctime |
|
2 |
10 |
62 |
1 |
| Source file: ./lib/libc/time/strftime.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| strftime |
|
5 |
16 |
112 |
4 |
| _fmt |
|
90 |
278 |
1561 |
5 |
| _conv |
|
1 |
6 |
57 |
4 |
| _add |
|
2 |
6 |
41 |
3 |
| _yconv |
|
10 |
23 |
171 |
6 |
| _loc |
|
24 |
98 |
584 |
1 |
| Source file: ./lib/libc/softfloat/fpgetround.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fpgetround |
|
1 |
4 |
9 |
1 |
| Source file: ./lib/libc/softfloat/milieu.h |
| Source file: ./lib/libc/softfloat/lesf2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __lesf2 |
|
1 |
4 |
20 |
2 |
| Source file: ./lib/libc/softfloat/gtdf2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __gtdf2 |
|
1 |
4 |
18 |
2 |
| Source file: ./lib/libc/softfloat/fpsetsticky.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fpsetsticky |
|
1 |
7 |
21 |
1 |
| Source file: ./lib/libc/softfloat/fpgetsticky.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fpgetsticky |
|
1 |
4 |
9 |
1 |
| Source file: ./lib/libc/softfloat/eqdf2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __eqdf2 |
|
1 |
4 |
19 |
2 |
| Source file: ./lib/libc/softfloat/unordsf2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __unordsf2 |
|
1 |
4 |
29 |
2 |
| Source file: ./lib/libc/softfloat/softfloat-for-gcc.h |
| Source file: ./lib/libc/softfloat/ltdf2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __ltdf2 |
|
1 |
4 |
19 |
2 |
| Source file: ./lib/libc/softfloat/nesf2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __nesf2 |
|
1 |
4 |
19 |
2 |
| Source file: ./lib/libc/softfloat/ledf2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __ledf2 |
|
1 |
4 |
20 |
2 |
| Source file: ./lib/libc/time/strptime.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| strptime |
|
1 |
4 |
33 |
3 |
| _strptime |
|
149 |
394 |
2456 |
4 |
| _conv_num |
|
9 |
16 |
117 |
4 |
| _find_string |
|
4 |
16 |
114 |
5 |
| leaps_thru_end_of |
|
2 |
5 |
44 |
1 |
| Source file: ./lib/libc/softfloat/eqsf2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __eqsf2 |
|
1 |
4 |
19 |
2 |
| Source file: ./lib/libc/softfloat/softfloat-specialize.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| float_raise |
|
2 |
7 |
24 |
1 |
| float32_is_nan |
|
1 |
4 |
22 |
1 |
| float32_is_signaling_nan |
|
2 |
4 |
29 |
1 |
| float32ToCommonNaN |
|
2 |
9 |
54 |
1 |
| commonNaNToFloat32 |
|
1 |
4 |
33 |
1 |
| propagateFloat32NaN |
|
4 |
17 |
89 |
2 |
| float64_is_nan |
|
1 |
5 |
28 |
1 |
| float64_is_signaling_nan |
|
2 |
6 |
38 |
1 |
| float64ToCommonNaN |
|
2 |
9 |
55 |
1 |
| commonNaNToFloat64 |
|
1 |
7 |
39 |
1 |
| propagateFloat64NaN |
|
4 |
17 |
101 |
2 |
| floatx80_is_nan |
|
2 |
4 |
32 |
1 |
| floatx80_is_signaling_nan |
|
3 |
9 |
53 |
1 |
| floatx80ToCommonNaN |
|
2 |
9 |
53 |
1 |
| commonNaNToFloatx80 |
|
1 |
7 |
51 |
1 |
| propagateFloatx80NaN |
|
4 |
17 |
99 |
2 |
| float128_is_nan |
|
3 |
6 |
44 |
1 |
| float128_is_signaling_nan |
|
3 |
6 |
42 |
1 |
| float128ToCommonNaN |
|
2 |
8 |
59 |
1 |
| commonNaNToFloat128 |
|
1 |
7 |
59 |
1 |
| propagateFloat128NaN |
|
4 |
17 |
99 |
2 |
| Source file: ./lib/libc/softfloat/nedf2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __nedf2 |
|
1 |
4 |
19 |
2 |
| Source file: ./lib/libc/softfloat/gtsf2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __gtsf2 |
|
1 |
4 |
18 |
2 |
| Source file: ./lib/libc/softfloat/negdf2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __negdf2 |
|
1 |
4 |
15 |
1 |
| Source file: ./lib/libc/softfloat/fpgetmask.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fpgetmask |
|
1 |
4 |
9 |
1 |
| Source file: ./lib/libc/softfloat/gesf2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __gesf2 |
|
1 |
4 |
20 |
2 |
| Source file: ./lib/libc/softfloat/ltsf2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __ltsf2 |
|
1 |
4 |
19 |
2 |
| Source file: ./lib/libc/softfloat/fpsetmask.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fpsetmask |
|
1 |
7 |
21 |
1 |
| Source file: ./lib/libc/softfloat/unorddf2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __unorddf2 |
|
1 |
4 |
29 |
2 |
| Source file: ./lib/libc/softfloat/negsf2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __negsf2 |
|
1 |
4 |
12 |
1 |
| Source file: ./lib/libc/softfloat/softfloat.h |
| Source file: ./lib/libc/softfloat/gedf2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __gedf2 |
|
1 |
4 |
20 |
2 |
| Source file: ./lib/libc/softfloat/fpsetround.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fpsetround |
|
1 |
7 |
21 |
1 |
| Source file: ./lib/libc/compat-43/getdtablesize.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| getdtablesize |
|
1 |
4 |
12 |
1 |
| Source file: ./lib/libc/compat-43/sethostid.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sethostid |
|
2 |
9 |
60 |
1 |
| Source file: ./lib/libc/compat-43/setpgrp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| setpgrp |
|
1 |
4 |
20 |
2 |
| Source file: ./lib/libc/compat-43/creat.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| creat |
|
1 |
4 |
28 |
2 |
| Source file: ./lib/libc/compat-43/gethostid.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| gethostid |
|
2 |
12 |
70 |
1 |
| Source file: ./lib/libc/compat-43/sigcompat.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sigvec |
|
5 |
14 |
89 |
3 |
| sigsetmask |
|
2 |
9 |
50 |
1 |
| sigblock |
|
2 |
9 |
50 |
1 |
| sigpause |
|
1 |
4 |
20 |
1 |
| Source file: ./lib/libc/compat-43/killpg.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| killpg |
|
3 |
8 |
43 |
2 |
| Source file: ./lib/libc/compat-43/getwd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| getwd |
|
2 |
8 |
47 |
1 |
| Source file: ./lib/libc/nls/catgets.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| catgets |
|
8 |
47 |
346 |
4 |
| Source file: ./lib/libc/nls/catclose.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| catclose |
|
3 |
12 |
52 |
1 |
| Source file: ./lib/libc/softfloat/softfloat-macros.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| shift32RightJamming |
|
3 |
14 |
81 |
3 |
| shift64Right |
|
4 |
20 |
122 |
5 |
| shift64RightJamming |
|
5 |
28 |
182 |
5 |
| shift64ExtraRightJamming |
|
6 |
47 |
208 |
7 |
| shortShift64Left |
|
2 |
7 |
61 |
5 |
| shortShift96Left |
|
2 |
24 |
107 |
7 |
| add64 |
|
1 |
8 |
51 |
6 |
| add96 |
|
1 |
26 |
111 |
9 |
| sub64 |
|
1 |
6 |
44 |
6 |
| sub96 |
|
1 |
26 |
111 |
9 |
| mul32To64 |
|
1 |
20 |
158 |
4 |
| mul64By32To96 |
|
1 |
17 |
92 |
6 |
| mul64To128 |
|
1 |
26 |
186 |
8 |
| estimateDiv64To32 |
|
5 |
19 |
175 |
3 |
| estimateSqrt32 |
|
4 |
26 |
248 |
2 |
| countLeadingZeros32 |
|
3 |
33 |
582 |
1 |
| eq64 |
|
2 |
4 |
29 |
4 |
| le64 |
|
3 |
4 |
37 |
4 |
| lt64 |
|
3 |
4 |
37 |
4 |
| ne64 |
|
2 |
4 |
29 |
4 |
| Source file: ./lib/libc/citrus/citrus_none.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wrapv |
|
2 |
7 |
26 |
1 |
| _citrus_none_ctype_mbrtowc |
|
4 |
11 |
62 |
3 |
| _citrus_none_ctype_mbsnrtowcs |
|
5 |
14 |
101 |
4 |
| _citrus_none_ctype_wcrtomb |
|
4 |
11 |
52 |
2 |
| _citrus_none_ctype_wcsnrtombs |
|
11 |
32 |
181 |
4 |
| Source file: ./lib/libc/citrus/citrus_ctype.h |
| Source file: ./lib/libc/nls/catopen.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| catopen |
|
46 |
95 |
556 |
2 |
| load_msgcat |
|
9 |
37 |
246 |
1 |
| verify_msgcat |
|
17 |
46 |
408 |
1 |
| Source file: ./lib/libc/termios/cfgetospeed.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cfgetospeed |
|
1 |
4 |
17 |
1 |
| Source file: ./lib/libc/termios/cfmakeraw.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cfmakeraw |
|
1 |
10 |
89 |
1 |
| Source file: ./lib/libc/termios/cfsetispeed.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cfsetispeed |
|
1 |
5 |
23 |
2 |
| Source file: ./lib/libc/termios/tcgetpgrp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tcgetpgrp |
|
2 |
7 |
35 |
1 |
| Source file: ./lib/libc/termios/tcgetattr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tcgetattr |
|
1 |
4 |
24 |
2 |
| Source file: ./lib/libc/termios/tcgetsid.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tcgetsid |
|
2 |
7 |
35 |
1 |
| Source file: ./lib/libc/termios/cfsetspeed.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cfsetspeed |
|
1 |
5 |
27 |
2 |
| Source file: ./lib/libc/termios/tcsendbreak.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tcsendbreak |
|
3 |
12 |
82 |
2 |
| Source file: ./lib/libc/termios/tcflush.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tcflush |
|
4 |
19 |
73 |
2 |
| Source file: ./lib/libc/termios/tcsetattr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tcsetattr |
|
5 |
20 |
109 |
3 |
| Source file: ./lib/libc/termios/tcsetpgrp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tcsetpgrp |
|
1 |
6 |
30 |
2 |
| Source file: ./lib/libc/termios/tcdrain.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tcdrain |
|
1 |
8 |
39 |
1 |
| Source file: ./lib/libc/termios/tcflow.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tcflow |
|
9 |
23 |
141 |
2 |
| Source file: ./lib/libc/termios/cfgetispeed.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cfgetispeed |
|
1 |
4 |
17 |
1 |
| Source file: ./lib/libc/termios/cfsetospeed.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cfsetospeed |
|
1 |
5 |
23 |
2 |
| Source file: ./lib/libc/arch/m88k/gen/fpgetround.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fpgetround |
|
1 |
6 |
30 |
1 |
| Source file: ./lib/libc/arch/m88k/gen/flt_rounds.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __flt_rounds |
|
1 |
6 |
31 |
0 |
| Source file: ./lib/libc/arch/m88k/gen/fpsetsticky.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fpsetsticky |
|
1 |
12 |
63 |
1 |
| Source file: ./lib/libc/citrus/citrus_utf8.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _citrus_utf8_ctype_mbrtowc |
|
25 |
84 |
500 |
4 |
| _citrus_utf8_ctype_mbsinit |
|
1 |
4 |
25 |
1 |
| _citrus_utf8_ctype_mbsnrtowcs |
|
22 |
63 |
424 |
5 |
| _citrus_utf8_ctype_wcrtomb |
|
11 |
37 |
210 |
3 |
| _citrus_utf8_ctype_wcsnrtombs |
|
17 |
56 |
351 |
5 |
| Source file: ./lib/libc/arch/m88k/gen/fpgetsticky.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fpgetsticky |
|
1 |
6 |
24 |
0 |
| Source file: ./lib/libc/arch/m88k/gen/_atomic_lock.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _atomic_lock |
|
1 |
8 |
44 |
1 |
| Source file: ./lib/libc/arch/m88k/gen/infinity.c |
| Source file: ./lib/libc/arch/m88k/gen/fpgetmask.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fpgetmask |
|
1 |
6 |
26 |
0 |
| Source file: ./lib/libc/arch/m88k/gen/nan.c |
| Source file: ./lib/libc/arch/m88k/gen/fpsetmask.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fpsetmask |
|
1 |
12 |
61 |
1 |
| Source file: ./lib/libc/arch/m88k/gdtoa/arith.h |
| Source file: ./lib/libc/arch/m88k/gen/fpsetround.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fpsetround |
|
1 |
12 |
74 |
1 |
| Source file: ./lib/libc/arch/m88k/gdtoa/gd_qnan.h |
| Source file: ./lib/libc/arch/m88k/DEFS.h |
| Source file: ./lib/libc/arch/m88k/SYS.h |
| Source file: ./lib/libc/arch/hppa/gen/fpgetround.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fpgetround |
|
1 |
6 |
38 |
1 |
| Source file: ./lib/libc/arch/hppa/gen/fpsetsticky.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fpsetsticky |
|
1 |
11 |
83 |
1 |
| Source file: ./lib/libc/arch/hppa/gen/flt_rounds.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __flt_rounds |
|
1 |
6 |
38 |
0 |
| Source file: ./lib/libc/arch/hppa/gen/fabs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fabs |
|
1 |
5 |
23 |
1 |
| Source file: ./lib/libc/arch/hppa/gen/infinity.c |
| Source file: ./lib/libc/arch/hppa/gen/fpgetsticky.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fpgetsticky |
|
1 |
6 |
37 |
0 |
| Source file: ./lib/libc/arch/hppa/gen/_atomic_lock.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _atomic_lock |
|
3 |
12 |
62 |
1 |
| Source file: ./lib/libc/arch/hppa/gen/fpgetmask.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fpgetmask |
|
1 |
6 |
37 |
0 |
| Source file: ./lib/libc/arch/hppa/gen/nan.c |
| Source file: ./lib/libc/arch/hppa/gen/fpsetround.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fpsetround |
|
1 |
12 |
83 |
1 |
| Source file: ./lib/libc/arch/hppa/gen/fpsetmask.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fpsetmask |
|
1 |
11 |
83 |
1 |
| Source file: ./lib/libc/arch/hppa/gdtoa/arith.h |
| Source file: ./lib/libc/arch/hppa/gdtoa/gd_qnan.h |
| Source file: ./lib/libc/arch/hppa/DEFS.h |
| Source file: ./lib/libc/arch/i386/gen/signbitl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __signbitl |
|
1 |
5 |
26 |
1 |
| Source file: ./lib/libc/arch/hppa/SYS.h |
| Source file: ./lib/libc/arch/i386/gen/ldexp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ldexp |
|
1 |
8 |
41 |
2 |
| Source file: ./lib/libc/arch/i386/gen/isfinitel.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __isfinitel |
|
1 |
5 |
30 |
1 |
| Source file: ./lib/libc/arch/i386/gen/infinity.c |
| Source file: ./lib/libc/arch/i386/gen/_atomic_lock.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _atomic_lock |
|
1 |
9 |
43 |
1 |
| Source file: ./lib/libc/arch/i386/gen/isnormall.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __isnormall |
|
2 |
5 |
36 |
1 |
| Source file: ./lib/libc/arch/i386/gen/nan.c |
| Source file: ./lib/libc/arch/i386/gen/fpclassifyl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __fpclassifyl |
|
7 |
18 |
92 |
1 |
| Source file: ./lib/libc/arch/i386/gen/isinfl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __isinfl |
|
3 |
7 |
48 |
1 |
| Source file: ./lib/libc/arch/i386/gdtoa/arith.h |
| Source file: ./lib/libc/arch/i386/gdtoa/gd_qnan.h |
| Source file: ./lib/libc/arch/i386/gen/isnanl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __isnanl |
|
3 |
7 |
50 |
1 |
| Source file: ./lib/libc/arch/i386/gdtoa/strtold.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| strtold |
|
1 |
6 |
34 |
2 |
| Source file: ./lib/libc/arch/i386/DEFS.h |
| Source file: ./lib/libc/arch/i386/SYS.h |
| Source file: ./lib/libc/arch/sparc64/fpu/fpu_arith.h |
| Source file: ./lib/libc/arch/sparc64/fpu/fpu_div.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __fpu_div |
|
10 |
53 |
360 |
1 |
| Source file: ./lib/libc/arch/sparc64/fpu/fpu_reg.h |
| Source file: ./lib/libc/arch/sparc64/fpu/fpu_q.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _Q_mul |
|
1 |
6 |
33 |
2 |
| _Q_div |
|
1 |
6 |
33 |
2 |
| _Q_sub |
|
1 |
6 |
33 |
2 |
| _Q_add |
|
1 |
6 |
33 |
2 |
| _Q_neg |
|
1 |
6 |
33 |
1 |
| _Q_sqrt |
|
1 |
6 |
26 |
1 |
| _Q_dtoq |
|
1 |
6 |
24 |
1 |
| _Q_stoq |
|
1 |
6 |
24 |
1 |
| _Q_itoq |
|
1 |
6 |
24 |
1 |
| _Q_utoq |
|
1 |
6 |
25 |
1 |
| _Q_qtod |
|
1 |
6 |
24 |
1 |
| _Q_qtoi |
|
1 |
6 |
24 |
1 |
| _Q_qtos |
|
1 |
6 |
24 |
1 |
| _Q_qtou |
|
1 |
6 |
25 |
1 |
| _Q_feq |
|
1 |
4 |
24 |
2 |
| _Q_fne |
|
1 |
4 |
24 |
2 |
| _Q_fge |
|
1 |
4 |
24 |
2 |
| _Q_fgt |
|
1 |
4 |
24 |
2 |
| _Q_flt |
|
1 |
4 |
24 |
2 |
| _Q_fle |
|
1 |
4 |
24 |
2 |
| Source file: ./lib/libc/arch/sparc64/fpu/fpu_explode.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __fpu_itof |
|
3 |
14 |
89 |
2 |
| __fpu_uitof |
|
2 |
14 |
79 |
2 |
| __fpu_xtof |
|
3 |
15 |
109 |
2 |
| __fpu_uxtof |
|
2 |
14 |
93 |
2 |
| __fpu_stof |
|
1 |
12 |
90 |
2 |
| __fpu_dtof |
|
1 |
14 |
122 |
3 |
| __fpu_qtof |
|
1 |
15 |
167 |
5 |
| __fpu_explode |
|
17 |
50 |
365 |
4 |
| Source file: ./lib/libc/softfloat/softfloat.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| extractFloat32Frac |
|
1 |
4 |
12 |
1 |
| extractFloat32Exp |
|
1 |
4 |
17 |
1 |
| extractFloat32Sign |
|
1 |
4 |
13 |
1 |
| normalizeFloat32Subnormal |
|
1 |
7 |
42 |
3 |
| packFloat32 |
|
1 |
4 |
40 |
3 |
| roundAndPackFloat32 |
|
17 |
49 |
286 |
3 |
| normalizeRoundAndPackFloat32 |
|
1 |
6 |
40 |
3 |
| extractFloat64Frac1 |
|
1 |
4 |
18 |
1 |
| extractFloat64Frac0 |
|
1 |
4 |
20 |
1 |
| extractFloat64Exp |
|
1 |
4 |
20 |
1 |
| extractFloat64Sign |
|
1 |
4 |
16 |
1 |
| normalizeFloat64Subnormal |
|
3 |
27 |
129 |
5 |
| packFloat64 |
|
1 |
6 |
58 |
4 |
| roundAndPackFloat64 |
|
29 |
70 |
404 |
5 |
| normalizeRoundAndPackFloat64 |
|
3 |
22 |
120 |
4 |
| int32_to_float32 |
|
4 |
8 |
61 |
1 |
| int32_to_float64 |
|
4 |
19 |
117 |
1 |
| float32_to_int32 |
|
15 |
56 |
286 |
1 |
| float32_to_int32_round_to_zero |
|
10 |
29 |
170 |
1 |
| float32_to_float64 |
|
5 |
20 |
143 |
1 |
| float32_round_to_int |
|
19 |
51 |
273 |
1 |
| addFloat32Sigs |
|
13 |
60 |
325 |
3 |
| subFloat32Sigs |
|
14 |
64 |
338 |
3 |
| float32_add |
|
2 |
12 |
60 |
2 |
| float32_sub |
|
2 |
12 |
60 |
2 |
| float32_mul |
|
14 |
49 |
348 |
2 |
| float32_div |
|
15 |
59 |
424 |
2 |
| float32_rem |
|
23 |
75 |
502 |
2 |
| float32_sqrt |
|
11 |
48 |
328 |
1 |
| float32_eq |
|
8 |
12 |
93 |
2 |
| float32_le |
|
8 |
14 |
117 |
2 |
| float32_lt |
|
8 |
14 |
117 |
2 |
| float32_eq_signaling |
|
6 |
10 |
79 |
2 |
| float32_le_quiet |
|
10 |
17 |
136 |
2 |
| float32_lt_quiet |
|
10 |
16 |
131 |
2 |
| float64_to_int32 |
|
16 |
59 |
338 |
1 |
| float64_to_int32_round_to_zero |
|
12 |
39 |
225 |
1 |
| float64_to_float32 |
|
4 |
20 |
121 |
1 |
| float64_round_to_int |
|
27 |
91 |
595 |
1 |
| addFloat64Sigs |
|
13 |
66 |
405 |
3 |
| subFloat64Sigs |
|
16 |
70 |
446 |
3 |
| float64_add |
|
2 |
12 |
60 |
2 |
| float64_sub |
|
2 |
12 |
60 |
2 |
| float64_mul |
|
14 |
52 |
440 |
2 |
| float64_div |
|
16 |
70 |
651 |
2 |
| float64_rem |
|
23 |
93 |
775 |
2 |
| float64_sqrt |
|
13 |
59 |
549 |
1 |
| float64_eq |
|
8 |
15 |
113 |
2 |
| float64_le |
|
8 |
20 |
143 |
2 |
| float64_lt |
|
8 |
20 |
143 |
2 |
| float64_eq_signaling |
|
6 |
12 |
93 |
2 |
| float64_le_quiet |
|
10 |
18 |
145 |
2 |
| float64_lt_quiet |
|
10 |
18 |
145 |
2 |
| Source file: ./lib/libc/arch/sparc64/fpu/fpu_extern.h |
| Source file: ./lib/libc/arch/sparc64/fpu/fpu_mul.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __fpu_mul |
|
13 |
69 |
414 |
1 |
| Source file: ./lib/libc/arch/sparc64/fpu/fpu_q.h |
| Source file: ./lib/libc/arch/sparc64/fpu/fpu_subr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __fpu_shr |
|
14 |
49 |
409 |
2 |
| __fpu_norm |
|
9 |
48 |
401 |
1 |
| __fpu_newnan |
|
1 |
11 |
78 |
1 |
| Source file: ./lib/libc/arch/sparc64/fpu/fpu_emu.h |
| Source file: ./lib/libc/arch/sparc64/fpu/fpu_sqrt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __fpu_sqrt |
|
19 |
127 |
777 |
1 |
| Source file: ./lib/libc/arch/sparc64/fpu/fpu_implode.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fpround |
|
12 |
52 |
367 |
2 |
| toinf |
|
5 |
20 |
71 |
2 |
| __fpu_ftoi |
|
7 |
25 |
145 |
2 |
| __fpu_ftox |
|
7 |
30 |
190 |
3 |
| __fpu_ftos |
|
15 |
38 |
339 |
2 |
| __fpu_ftod |
|
13 |
48 |
359 |
3 |
| __fpu_ftoq |
|
13 |
49 |
403 |
3 |
| __fpu_implode |
|
7 |
28 |
162 |
4 |
| Source file: ./lib/libc/arch/sparc64/fpu/fpu_qp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _Qp_sqrt |
|
1 |
11 |
114 |
2 |
| Source file: ./lib/libc/arch/sparc64/fpu/fpu_compare.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __fpu_compare |
|
13 |
49 |
252 |
3 |
| Source file: ./lib/libc/arch/sparc64/fpu/fpu_reg.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __fpu_setreg32 |
|
65 |
197 |
1104 |
2 |
| __fpu_setreg64 |
|
33 |
101 |
560 |
2 |
| __fpu_getreg32 |
|
65 |
199 |
1109 |
1 |
| __fpu_getreg64 |
|
33 |
103 |
565 |
1 |
| Source file: ./lib/libc/arch/sparc64/gen/fpgetround.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fpgetround |
|
1 |
6 |
31 |
1 |
| Source file: ./lib/libc/arch/sparc64/gen/signbitl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __signbitl |
|
1 |
5 |
26 |
1 |
| Source file: ./lib/libc/arch/sparc64/gen/flt_rounds.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __flt_rounds |
|
1 |
6 |
33 |
0 |
| Source file: ./lib/libc/arch/sparc64/gen/fpgetsticky.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fpgetsticky |
|
1 |
6 |
30 |
0 |
| Source file: ./lib/libc/arch/sparc64/fpu/fpu_add.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __fpu_add |
|
18 |
78 |
636 |
1 |
| Source file: ./lib/libc/arch/sparc64/gen/fpsetsticky.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fpsetsticky |
|
1 |
12 |
76 |
1 |
| Source file: ./lib/libc/arch/sparc64/gen/infinity.c |
| Source file: ./lib/libc/arch/sparc64/gen/isfinitel.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __isfinitel |
|
1 |
5 |
30 |
1 |
| Source file: ./lib/libc/arch/sparc64/gen/_atomic_lock.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _atomic_lock |
|
1 |
6 |
36 |
1 |
| Source file: ./lib/libc/arch/sparc64/gen/fpclassifyl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __fpclassifyl |
|
11 |
19 |
110 |
1 |
| Source file: ./lib/libc/arch/sparc64/gen/isnormall.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __isnormall |
|
2 |
5 |
36 |
1 |
| Source file: ./lib/libc/arch/sparc64/gen/fpgetmask.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fpgetmask |
|
1 |
6 |
30 |
0 |
| Source file: ./lib/libc/arch/sparc64/gen/nan.c |
| Source file: ./lib/libc/arch/sparc64/gen/fpsetmask.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fpsetmask |
|
1 |
12 |
76 |
1 |
| Source file: ./lib/libc/arch/sparc64/gen/isinfl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __isinfl |
|
5 |
7 |
54 |
1 |
| Source file: ./lib/libc/arch/sparc64/gen/isnanl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __isnanl |
|
5 |
7 |
56 |
1 |
| Source file: ./lib/libc/arch/sparc64/gdtoa/arith.h |
| Source file: ./lib/libc/arch/sparc64/gdtoa/gd_qnan.h |
| Source file: ./lib/libc/arch/sparc64/gen/fpsetround.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fpsetround |
|
1 |
12 |
76 |
1 |
| Source file: ./lib/libc/arch/sparc64/gdtoa/strtold.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| strtold |
|
1 |
6 |
34 |
2 |
| Source file: ./lib/libc/arch/sparc64/SYS.h |
| Source file: ./lib/libc/arch/alpha/gen/fpgetround.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fpgetround |
|
1 |
10 |
54 |
1 |
| Source file: ./lib/libc/arch/alpha/gen/fpsetsticky.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fpsetsticky |
|
1 |
7 |
28 |
1 |
| Source file: ./lib/libc/arch/alpha/gen/fpgetsticky.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fpgetsticky |
|
1 |
4 |
14 |
1 |
| Source file: ./lib/libc/arch/alpha/gen/flt_rounds.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __flt_rounds |
|
1 |
10 |
54 |
0 |
| Source file: ./lib/libc/arch/alpha/gen/infinity.c |
| Source file: ./lib/libc/arch/alpha/gen/fpgetmask.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fpgetmask |
|
1 |
4 |
14 |
1 |
| Source file: ./lib/libc/arch/alpha/gen/fpsetmask.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fpsetmask |
|
1 |
7 |
28 |
1 |
| Source file: ./lib/libc/arch/alpha/gen/nan.c |
| Source file: ./lib/libc/arch/alpha/gdtoa/arith.h |
| Source file: ./lib/libc/arch/alpha/gdtoa/gd_qnan.h |
| Source file: ./lib/libc/arch/alpha/gen/fpsetround.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fpsetround |
|
1 |
17 |
109 |
1 |
| Source file: ./lib/libc/arch/alpha/SYS.h |
| Source file: ./lib/libc/arch/amd64/gen/ldexp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ldexp |
|
1 |
8 |
41 |
2 |
| Source file: ./lib/libc/arch/amd64/gen/infinity.c |
| Source file: ./lib/libc/arch/amd64/gen/_atomic_lock.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _atomic_lock |
|
1 |
9 |
43 |
1 |
| Source file: ./lib/libc/arch/amd64/gen/nan.c |
| Source file: ./lib/libc/arch/amd64/DEFS.h |
| Source file: ./lib/libc/arch/powerpc/gen/fpgetround.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fpgetround |
|
1 |
6 |
27 |
1 |
| Source file: ./lib/libc/arch/amd64/SYS.h |
| Source file: ./lib/libc/arch/powerpc/gen/flt_rounds.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __flt_rounds |
|
2 |
8 |
45 |
1 |
| Source file: ./lib/libc/arch/powerpc/gen/fabs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fabs |
|
1 |
5 |
28 |
1 |
| Source file: ./lib/libc/arch/powerpc/gen/fpgetsticky.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fpgetsticky |
|
1 |
6 |
31 |
0 |
| Source file: ./lib/libc/arch/powerpc/gen/fpsetsticky.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fpsetsticky |
|
2 |
15 |
87 |
1 |
| Source file: ./lib/libc/arch/powerpc/gen/fpgetmask.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fpgetmask |
|
1 |
6 |
31 |
0 |
| Source file: ./lib/libc/arch/powerpc/gen/infinity.c |
| Source file: ./lib/libc/arch/powerpc/gen/nan.c |
| Source file: ./lib/libc/arch/powerpc/gen/_atomic_lock.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _atomic_lock |
|
1 |
12 |
49 |
1 |
| Source file: ./lib/libc/arch/powerpc/gdtoa/gd_qnan.h |
| Source file: ./lib/libc/time/localtime.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| detzcode |
|
3 |
9 |
64 |
1 |
| detzcode64 |
|
3 |
9 |
66 |
1 |
| settzname |
|
15 |
35 |
277 |
1 |
| differ_by_repeat |
|
2 |
6 |
34 |
2 |
| tzload |
|
77 |
200 |
1585 |
3 |
| typesequiv |
|
10 |
19 |
142 |
3 |
| getzname |
|
6 |
8 |
51 |
1 |
| getqzname |
|
3 |
7 |
37 |
2 |
| getnum |
|
6 |
18 |
112 |
4 |
| getsecs |
|
6 |
23 |
140 |
2 |
| getoffset |
|
5 |
15 |
77 |
2 |
| getrule |
|
10 |
34 |
245 |
2 |
| transtime |
|
12 |
43 |
306 |
4 |
| tzparse |
|
39 |
198 |
1244 |
3 |
| gmtload |
|
2 |
5 |
34 |
1 |
| tzsetwall_basic |
|
5 |
16 |
74 |
1 |
| tzsetwall |
|
1 |
6 |
20 |
1 |
| tzset_basic |
|
11 |
34 |
225 |
1 |
| tzset |
|
1 |
6 |
20 |
1 |
| localsub |
|
22 |
77 |
512 |
3 |
| localtime_r |
|
1 |
8 |
42 |
2 |
| localtime |
|
2 |
8 |
50 |
1 |
| gmtsub |
|
6 |
22 |
123 |
3 |
| gmtime_r |
|
1 |
4 |
24 |
2 |
| gmtime |
|
2 |
8 |
50 |
1 |
| offtime |
|
1 |
4 |
23 |
2 |
| leaps_thru_end_of |
|
2 |
5 |
43 |
1 |
| timesub |
|
28 |
107 |
711 |
4 |
| ctime |
|
1 |
4 |
18 |
1 |
| ctime_r |
|
1 |
5 |
31 |
2 |
| increment_overflow |
|
3 |
8 |
53 |
2 |
| long_increment_overflow |
|
3 |
8 |
53 |
2 |
| normalize_overflow |
|
2 |
9 |
64 |
3 |
| long_normalize_overflow |
|
2 |
9 |
64 |
3 |
| tmcomp |
|
2 |
11 |
114 |
2 |
| time2sub |
|
47 |
138 |
913 |
5 |
| time2 |
|
2 |
7 |
72 |
4 |
| time1 |
|
18 |
58 |
426 |
3 |
| mktime |
|
1 |
9 |
40 |
1 |
| timelocal |
|
2 |
6 |
28 |
1 |
| timegm |
|
2 |
6 |
31 |
1 |
| timeoff |
|
2 |
6 |
34 |
2 |
| leapcorr |
|
3 |
14 |
67 |
1 |
| time2posix |
|
1 |
5 |
20 |
1 |
| posix2time |
|
7 |
24 |
125 |
1 |
| Source file: ./lib/libc/arch/powerpc/gen/fpsetround.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fpsetround |
|
1 |
11 |
58 |
1 |
| Source file: ./lib/libc/arch/powerpc/gen/fpsetmask.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fpsetmask |
|
1 |
11 |
68 |
1 |
| Source file: ./lib/libc/arch/sh/net/htons.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| htons |
|
2 |
6 |
27 |
1 |
| Source file: ./lib/libc/arch/powerpc/SYS.h |
| Source file: ./lib/libc/arch/sh/net/ntohs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ntohs |
|
2 |
6 |
27 |
1 |
| Source file: ./lib/libc/arch/sh/net/htonl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| htonl |
|
2 |
10 |
65 |
1 |
| Source file: ./lib/libc/arch/sh/net/ntohl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ntohl |
|
2 |
10 |
65 |
1 |
| Source file: ./lib/libc/arch/sh/gen/fpgetround.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fpgetround |
|
1 |
6 |
27 |
1 |
| Source file: ./lib/libc/arch/sh/gen/flt_rounds.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __flt_rounds |
|
2 |
7 |
35 |
0 |
| Source file: ./lib/libc/arch/sh/gen/fpsetsticky.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fpsetsticky |
|
2 |
11 |
126 |
1 |
| Source file: ./lib/libc/arch/sh/gen/fabs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fabs |
|
2 |
7 |
42 |
1 |
| Source file: ./lib/libc/arch/sh/gen/fpgetsticky.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fpgetsticky |
|
1 |
6 |
31 |
0 |
| Source file: ./lib/libc/arch/sh/gen/_atomic_lock.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _atomic_lock |
|
1 |
10 |
38 |
1 |
| Source file: ./lib/libc/arch/sh/gen/fpgetmask.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fpgetmask |
|
1 |
6 |
31 |
0 |
| Source file: ./lib/libc/arch/sh/gen/nan.c |
| Source file: ./lib/libc/arch/sh/gen/infinity.c |
| Source file: ./lib/libc/arch/sh/gdtoa/arith.h |
| Source file: ./lib/libc/arch/sh/gdtoa/gd_qnan.h |
| Source file: ./lib/libc/arch/sh/gen/fpsetmask.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fpsetmask |
|
2 |
11 |
126 |
1 |
| Source file: ./lib/libc/arch/sh/softfloat/milieu.h |
| Source file: ./lib/libc/arch/sh/softfloat/sh-gcc.h |
| Source file: ./lib/libc/arch/sh/gen/fpsetround.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fpsetround |
|
5 |
13 |
103 |
1 |
| Source file: ./lib/libc/arch/sh/SYS.h |
| Source file: ./lib/libc/arch/arm/gen/flt_rounds.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __flt_rounds |
|
1 |
4 |
15 |
0 |
| Source file: ./lib/libc/arch/arm/gen/infinity.c |
| Source file: ./lib/libc/arch/arm/gen/fabs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fabs |
|
1 |
6 |
31 |
1 |
| Source file: ./lib/libc/arch/arm/gen/_atomic_lock.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _atomic_lock |
|
1 |
13 |
55 |
1 |
| Source file: ./lib/libc/arch/arm/gen/nan.c |
| Source file: ./lib/libc/arch/arm/gdtoa/gd_qnan.h |
| Source file: ./lib/libc/arch/arm/softfloat/milieu.h |
| Source file: ./lib/libc/arch/arm/DEFS.h |
| Source file: ./lib/libc/arch/arm/SYS.h |
| Source file: ./lib/libc/arch/arm/softfloat/arm-gcc.h |
| Source file: ./lib/libc/arch/aarch64/gen/signbitl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __signbitl |
|
1 |
5 |
26 |
1 |
| Source file: ./lib/libc/arch/aarch64/gen/fpgetround.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fpgetround |
|
1 |
6 |
32 |
1 |
| Source file: ./lib/libc/arch/arm/dlfcn/exidx.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| find_exidx |
|
7 |
25 |
173 |
3 |
| dl_unwind_find_exidx |
|
2 |
9 |
50 |
2 |
| Source file: ./lib/libc/arch/aarch64/gen/flt_rounds.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __flt_rounds |
|
1 |
4 |
15 |
0 |
| Source file: ./lib/libc/arch/aarch64/gen/fabs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fabs |
|
1 |
6 |
31 |
1 |
| Source file: ./lib/libc/arch/aarch64/gen/isfinitel.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __isfinitel |
|
1 |
5 |
30 |
1 |
| Source file: ./lib/libc/arch/aarch64/gen/infinity.c |
| Source file: ./lib/libc/arch/aarch64/gen/fpsetsticky.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fpsetsticky |
|
1 |
9 |
54 |
1 |
| Source file: ./lib/libc/arch/aarch64/gen/fpgetsticky.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fpgetsticky |
|
1 |
6 |
27 |
1 |
| Source file: ./lib/libc/arch/aarch64/gen/_atomic_lock.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _atomic_lock |
|
1 |
13 |
55 |
1 |
| Source file: ./lib/libc/arch/aarch64/gen/isnormall.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __isnormall |
|
2 |
5 |
36 |
1 |
| Source file: ./lib/libc/arch/aarch64/gen/nan.c |
| Source file: ./lib/libc/arch/aarch64/gen/fpclassifyl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __fpclassifyl |
|
11 |
19 |
110 |
1 |
| Source file: ./lib/libc/arch/aarch64/gen/fpgetmask.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fpgetmask |
|
1 |
6 |
32 |
1 |
| Source file: ./lib/libc/arch/aarch64/gen/isinfl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __isinfl |
|
5 |
7 |
54 |
1 |
| Source file: ./lib/libc/arch/aarch64/gen/isnanl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __isnanl |
|
5 |
7 |
56 |
1 |
| Source file: ./lib/libc/arch/aarch64/gdtoa/gd_qnan.h |
| Source file: ./lib/libc/arch/aarch64/gen/fpsetround.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fpsetround |
|
1 |
9 |
65 |
1 |
| Source file: ./lib/libc/arch/aarch64/gen/fpsetmask.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fpsetmask |
|
1 |
9 |
73 |
1 |
| Source file: ./lib/libc/arch/aarch64/gdtoa/strtold.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| strtold |
|
1 |
6 |
34 |
2 |
| Source file: ./lib/libc/arch/aarch64/DEFS.h |
| Source file: ./lib/libc/arch/aarch64/SYS.h |
| Source file: ./lib/libc/arch/mips64/gen/cacheflush.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cacheflush |
|
1 |
8 |
55 |
3 |
| Source file: ./lib/libc/arch/mips64/gen/fpgetround.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fpgetround |
|
1 |
6 |
24 |
1 |
| Source file: ./lib/libc/arch/mips64/gen/flt_rounds.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __flt_rounds |
|
1 |
7 |
31 |
0 |
| Source file: ./lib/libc/arch/mips64/gen/fpgetsticky.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fpgetsticky |
|
1 |
6 |
28 |
0 |
| Source file: ./lib/libc/arch/mips64/gen/fpsetsticky.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fpsetsticky |
|
1 |
12 |
72 |
1 |
| Source file: ./lib/libc/arch/mips64/gen/infinity.c |
| Source file: ./lib/libc/arch/mips64/gen/fpgetmask.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fpgetmask |
|
1 |
6 |
28 |
0 |
| Source file: ./lib/libc/arch/mips64/gen/_atomic_lock.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _atomic_lock |
|
1 |
15 |
52 |
1 |
| Source file: ./lib/libc/arch/mips64/gen/nan.c |
| Source file: ./lib/libc/arch/mips64/gen/fpsetround.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fpsetround |
|
1 |
12 |
57 |
1 |
| Source file: ./lib/libc/arch/mips64/gen/fpc_csr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| get_fpc_csr |
|
1 |
6 |
21 |
0 |
| set_fpc_csr |
|
1 |
7 |
33 |
1 |
| Source file: ./lib/libc/arch/mips64/gen/fpsetmask.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fpsetmask |
|
1 |
12 |
72 |
1 |
| Source file: ./lib/libc/arch/mips64/gdtoa/arith.h |
| Source file: ./lib/libc/arch/mips64/gdtoa/gd_qnan.h |
| Source file: ./lib/libc/arch/aarch64/gen/clz_tab.c |
| Source file: ./lib/libc/arch/mips64/SYS.h |
| Source file: ./lib/libradius/radius_local.h |
| Source file: ./lib/libradius/radius_msgauth.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| radius_calc_message_authenticator |
|
4 |
30 |
253 |
3 |
| radius_put_message_authenticator |
|
2 |
8 |
53 |
2 |
| radius_set_message_authenticator |
|
1 |
7 |
45 |
2 |
| radius_check_message_authenticator |
|
3 |
14 |
101 |
2 |
| Source file: ./lib/libradius/radius_userpass.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| radius_encrypt_user_password_attr |
|
5 |
28 |
233 |
5 |
| radius_decrypt_user_password_attr |
|
9 |
37 |
264 |
6 |
| radius_get_user_password_attr |
|
3 |
13 |
90 |
4 |
| radius_put_user_password_attr |
|
3 |
13 |
85 |
3 |
| Source file: ./lib/libradius/radius_eapmsk.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| radius_get_eap_msk |
|
6 |
22 |
173 |
4 |
| Source file: ./lib/libradius/radius_mppe.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| radius_encrypt_mppe_key_attr |
|
6 |
35 |
319 |
6 |
| radius_decrypt_mppe_key_attr |
|
9 |
34 |
293 |
6 |
| radius_get_mppe_key_attr |
|
3 |
13 |
96 |
5 |
| radius_put_mppe_key_attr |
|
3 |
13 |
95 |
5 |
| radius_get_mppe_send_key_attr |
|
1 |
6 |
38 |
4 |
| radius_put_mppe_send_key_attr |
|
1 |
6 |
37 |
4 |
| radius_get_mppe_recv_key_attr |
|
1 |
6 |
38 |
4 |
| radius_put_mppe_recv_key_attr |
|
1 |
6 |
37 |
4 |
| Source file: ./lib/libradius/radius.h |
| Source file: ./lib/libkvm/kvm_private.h |
| Source file: ./lib/libkvm/kvm_sh.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _kvm_freevtop |
|
1 |
3 |
8 |
1 |
| _kvm_initvtop |
|
1 |
4 |
13 |
1 |
| _kvm_kvatop |
|
14 |
56 |
428 |
3 |
| _kvm_pa2off |
|
4 |
14 |
107 |
2 |
| Source file: ./lib/libkvm/kvm_cd9660.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _kvm_stat_cd9660 |
|
2 |
15 |
126 |
3 |
| Source file: ./lib/libradius/radius.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| radius_check_packet_data |
|
11 |
28 |
191 |
2 |
| radius_ensure_add_capacity |
|
4 |
17 |
117 |
2 |
| radius_new_request_packet |
|
3 |
20 |
127 |
1 |
| radius_new_response_packet |
|
2 |
10 |
57 |
2 |
| radius_convert_packet |
|
4 |
19 |
115 |
2 |
| radius_delete_packet |
|
1 |
6 |
25 |
1 |
| radius_get_code |
|
1 |
4 |
18 |
1 |
| radius_get_id |
|
1 |
4 |
18 |
1 |
| radius_update_id |
|
1 |
4 |
17 |
1 |
| radius_set_id |
|
1 |
4 |
19 |
2 |
| radius_get_authenticator |
|
1 |
4 |
26 |
2 |
| radius_get_authenticator_retval |
|
1 |
4 |
18 |
1 |
| radius_get_request_authenticator_retval |
|
2 |
7 |
38 |
1 |
| radius_set_request_packet |
|
1 |
5 |
19 |
2 |
| radius_get_request_packet |
|
1 |
4 |
16 |
1 |
| radius_calc_authenticator |
|
1 |
14 |
119 |
4 |
| radius_calc_response_authenticator |
|
1 |
6 |
35 |
3 |
| radius_check_response_authenticator |
|
1 |
7 |
45 |
2 |
| radius_set_response_authenticator |
|
1 |
6 |
26 |
2 |
| radius_calc_accounting_request_authenticator |
|
1 |
8 |
47 |
3 |
| radius_set_accounting_request_authenticator |
|
1 |
6 |
26 |
2 |
| radius_check_accounting_request_authenticator |
|
1 |
8 |
45 |
2 |
| radius_get_length |
|
1 |
4 |
21 |
1 |
| radius_get_data |
|
1 |
4 |
16 |
1 |
| radius_recvfrom |
|
2 |
9 |
72 |
4 |
| radius_sendto |
|
2 |
10 |
69 |
5 |
| radius_recv |
|
2 |
9 |
59 |
2 |
| radius_send |
|
2 |
8 |
56 |
3 |
| radius_recvmsg |
|
4 |
18 |
122 |
3 |
| radius_sendmsg |
|
4 |
18 |
119 |
4 |
| Source file: ./lib/libkvm/kvm_amd64.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _kvm_freevtop |
|
1 |
5 |
21 |
1 |
| _kvm_initvtop |
|
1 |
4 |
13 |
1 |
| _kvm_kvatop |
|
13 |
68 |
548 |
3 |
| _kvm_pa2off |
|
5 |
21 |
160 |
2 |
| Source file: ./lib/libradius/radius_attr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| radius_get_raw_attr_ptr |
|
1 |
10 |
57 |
4 |
| radius_get_vs_raw_attr_ptr |
|
1 |
10 |
60 |
5 |
| radius_get_raw_attr |
|
1 |
10 |
67 |
4 |
| radius_get_vs_raw_attr |
|
1 |
10 |
70 |
5 |
| radius_get_raw_attr_cat |
|
3 |
17 |
101 |
4 |
| radius_get_vs_raw_attr_cat |
|
3 |
17 |
104 |
5 |
| radius_put_raw_attr |
|
3 |
15 |
113 |
4 |
| radius_put_vs_raw_attr |
|
4 |
20 |
155 |
5 |
| radius_put_raw_attr_cat |
|
3 |
14 |
86 |
4 |
| radius_put_vs_raw_attr_cat |
|
3 |
14 |
91 |
5 |
| radius_set_raw_attr |
|
2 |
11 |
65 |
4 |
| radius_set_vs_raw_attr |
|
2 |
11 |
68 |
5 |
| radius_del_attr_all |
|
1 |
12 |
92 |
2 |
| radius_del_vs_attr_all |
|
1 |
12 |
95 |
3 |
| radius_has_attr |
|
1 |
7 |
31 |
2 |
| radius_has_vs_attr |
|
1 |
7 |
34 |
3 |
| radius_get_string_attr |
|
4 |
16 |
114 |
4 |
| radius_get_vs_string_attr |
|
4 |
17 |
119 |
5 |
| radius_put_string_attr |
|
1 |
4 |
31 |
3 |
| radius_put_vs_string_attr |
|
1 |
5 |
36 |
4 |
| Source file: ./lib/libkvm/kvm_arm64.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _kvm_freevtop |
|
1 |
5 |
21 |
1 |
| _kvm_initvtop |
|
1 |
4 |
13 |
1 |
| _kvm_kvatop |
|
4 |
16 |
135 |
3 |
| _kvm_pa2off |
|
4 |
15 |
120 |
2 |
| Source file: ./lib/libkvm/kvm_hppa.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _kvm_freevtop |
|
1 |
5 |
21 |
1 |
| _kvm_initvtop |
|
1 |
4 |
13 |
1 |
| _kvm_kvatop |
|
2 |
9 |
62 |
3 |
| _kvm_pa2off |
|
1 |
4 |
20 |
2 |
| Source file: ./lib/libkvm/kvm_m88k.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _kvm_freevtop |
|
1 |
5 |
21 |
1 |
| _kvm_initvtop |
|
1 |
4 |
13 |
1 |
| _kvm_kvatop |
|
1 |
5 |
29 |
3 |
| _kvm_pa2off |
|
1 |
5 |
25 |
2 |
| Source file: ./lib/libkvm/kvm_ntfs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _kvm_stat_ntfs |
|
4 |
26 |
220 |
3 |
| Source file: ./lib/libkvm/kvm_powerpc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _kvm_freevtop |
|
1 |
5 |
21 |
1 |
| _kvm_initvtop |
|
1 |
4 |
13 |
1 |
| _kvm_kvatop |
|
1 |
5 |
29 |
3 |
| _kvm_pa2off |
|
1 |
5 |
25 |
2 |
| Source file: ./lib/libkvm/kvm_proc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _kvm_findanon |
|
12 |
39 |
263 |
3 |
| _kvm_ureadm |
|
18 |
60 |
497 |
4 |
| _kvm_reallocarray |
|
2 |
7 |
53 |
4 |
| kvm_argv |
|
27 |
90 |
677 |
5 |
| ps_str_a |
|
1 |
5 |
34 |
3 |
| ps_str_e |
|
1 |
5 |
34 |
3 |
| proc_verify |
|
5 |
14 |
115 |
2 |
| kvm_doargv |
|
8 |
30 |
239 |
4 |
| kvm_arg_sysctl |
|
11 |
35 |
274 |
4 |
| kvm_getargv |
|
2 |
6 |
54 |
3 |
| kvm_getenvv |
|
2 |
6 |
54 |
3 |
| kvm_ureadm |
|
3 |
21 |
129 |
5 |
| Source file: ./lib/libkvm/kvm_arm.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _kvm_freevtop |
|
1 |
5 |
21 |
1 |
| _kvm_initvtop |
|
1 |
4 |
13 |
1 |
| _kvm_kvatop |
|
4 |
16 |
135 |
3 |
| _kvm_pa2off |
|
4 |
15 |
120 |
2 |
| Source file: ./lib/libkvm/kvm_mips64.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _kvm_freevtop |
|
2 |
5 |
23 |
1 |
| _kvm_initvtop |
|
8 |
40 |
348 |
1 |
| _kvm_kvatop |
|
10 |
41 |
285 |
3 |
| _kvm_pa2off |
|
1 |
5 |
23 |
2 |
| Source file: ./lib/libkvm/kvm_alpha.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _kvm_freevtop |
|
1 |
5 |
21 |
1 |
| _kvm_initvtop |
|
4 |
18 |
119 |
1 |
| _kvm_kvatop |
|
13 |
65 |
483 |
3 |
| _kvm_pa2off |
|
4 |
19 |
137 |
2 |
| Source file: ./lib/libkvm/kvm_udf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| udf_permtomode |
|
1 |
15 |
118 |
1 |
| _kvm_stat_udf |
|
6 |
36 |
263 |
3 |
| Source file: ./lib/libkvm/kvm_getloadavg.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| kvm_getloadavg |
|
7 |
25 |
213 |
3 |
| Source file: ./lib/libkvm/kvm_file2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| kvm_getfiles |
|
13 |
55 |
356 |
5 |
| kvm_deadfile_byfile |
|
14 |
59 |
427 |
5 |
| kvm_deadfile_byid |
|
44 |
182 |
1246 |
5 |
| fill_file |
|
40 |
229 |
1755 |
8 |
| _kvm_getftype |
|
10 |
31 |
95 |
1 |
| ufs_filestat |
|
3 |
22 |
173 |
3 |
| ext2fs_filestat |
|
3 |
22 |
171 |
3 |
| msdos_filestat |
|
3 |
21 |
168 |
3 |
| nfs_filestat |
|
2 |
16 |
137 |
3 |
| spec_filestat |
|
4 |
19 |
135 |
3 |
| filestat |
|
13 |
38 |
200 |
3 |
| Source file: ./lib/libkvm/kvm_file.h |
| Source file: ./lib/libkvm/kvm_i386.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _kvm_freevtop |
|
2 |
8 |
40 |
1 |
| _kvm_initvtop |
|
8 |
48 |
366 |
1 |
| _kvm_kvatop |
|
7 |
34 |
258 |
3 |
| _kvm_pa2off |
|
1 |
4 |
25 |
2 |
| Source file: ./lib/libform/fty_ipv4.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| Check_IPV4_Field |
|
10 |
18 |
136 |
2 |
| Check_IPV4_Character |
|
3 |
4 |
36 |
2 |
| Source file: ./lib/libkvm/kvm_sparc64.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _kvm_freevtop |
|
2 |
7 |
35 |
1 |
| _kvm_initvtop |
|
1 |
4 |
13 |
1 |
| _kvm_kvatop |
|
12 |
57 |
440 |
3 |
| _kvm_pa2off |
|
5 |
19 |
136 |
2 |
| Source file: ./lib/libform/fld_info.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| field_info |
|
8 |
26 |
137 |
7 |
| dynamic_field_info |
|
5 |
13 |
86 |
4 |
| Source file: ./lib/libform/fld_ftlink.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| link_fieldtype |
|
8 |
32 |
173 |
2 |
| Source file: ./lib/libc/softfloat/timesoftfloat.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fail |
|
1 |
10 |
54 |
2 |
| reportTime |
|
4 |
22 |
108 |
2 |
| time_a_int32_z_float32 |
|
4 |
24 |
150 |
1 |
| time_a_int32_z_float64 |
|
4 |
24 |
150 |
1 |
| time_a_int32_z_floatx80 |
|
4 |
24 |
150 |
1 |
| time_a_int32_z_float128 |
|
4 |
24 |
150 |
1 |
| time_a_int64_z_float32 |
|
4 |
24 |
150 |
1 |
| time_a_int64_z_float64 |
|
4 |
24 |
150 |
1 |
| time_a_int64_z_floatx80 |
|
4 |
24 |
150 |
1 |
| time_a_int64_z_float128 |
|
4 |
24 |
150 |
1 |
| time_a_float32_z_int32 |
|
4 |
24 |
150 |
1 |
| time_a_float32_z_int64 |
|
4 |
24 |
150 |
1 |
| time_a_float32_z_float64 |
|
4 |
24 |
150 |
1 |
| time_a_float32_z_floatx80 |
|
4 |
24 |
150 |
1 |
| time_a_float32_z_float128 |
|
4 |
24 |
150 |
1 |
| time_az_float32 |
|
4 |
24 |
150 |
1 |
| time_ab_float32_z_flag |
|
6 |
32 |
218 |
1 |
| time_abz_float32 |
|
6 |
32 |
218 |
1 |
| time_az_float32_pos |
|
4 |
24 |
150 |
1 |
| time_a_float64_z_int32 |
|
4 |
24 |
150 |
1 |
| time_a_float64_z_int64 |
|
4 |
24 |
150 |
1 |
| time_a_float64_z_float32 |
|
4 |
24 |
150 |
1 |
| time_a_float64_z_floatx80 |
|
4 |
24 |
150 |
1 |
| time_a_float64_z_float128 |
|
4 |
24 |
150 |
1 |
| time_az_float64 |
|
4 |
24 |
150 |
1 |
| time_ab_float64_z_flag |
|
6 |
32 |
218 |
1 |
| time_abz_float64 |
|
6 |
32 |
218 |
1 |
| time_az_float64_pos |
|
4 |
24 |
150 |
1 |
| time_a_floatx80_z_int32 |
|
4 |
29 |
191 |
1 |
| time_a_floatx80_z_int64 |
|
4 |
29 |
191 |
1 |
| time_a_floatx80_z_float32 |
|
4 |
29 |
191 |
1 |
| time_a_floatx80_z_float64 |
|
4 |
29 |
191 |
1 |
| time_a_floatx80_z_float128 |
|
4 |
29 |
191 |
1 |
| time_az_floatx80 |
|
4 |
29 |
191 |
1 |
| time_ab_floatx80_z_flag |
|
6 |
39 |
299 |
1 |
| time_abz_floatx80 |
|
6 |
39 |
299 |
1 |
| time_az_floatx80_pos |
|
4 |
29 |
191 |
1 |
| time_a_float128_z_int32 |
|
4 |
29 |
191 |
1 |
| time_a_float128_z_int64 |
|
4 |
29 |
191 |
1 |
| time_a_float128_z_float32 |
|
4 |
29 |
191 |
1 |
| time_a_float128_z_float64 |
|
4 |
29 |
191 |
1 |
| time_a_float128_z_floatx80 |
|
4 |
29 |
191 |
1 |
| time_az_float128 |
|
4 |
29 |
191 |
1 |
| time_ab_float128_z_flag |
|
6 |
39 |
299 |
1 |
| time_abz_float128 |
|
6 |
39 |
299 |
1 |
| time_az_float128_pos |
|
4 |
29 |
191 |
1 |
| timeFunctionVariety |
|
113 |
328 |
1090 |
4 |
| timeFunction |
|
23 |
68 |
265 |
4 |
| main |
|
35 |
150 |
637 |
2 |
| Source file: ./lib/libform/frm_data.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| data_behind |
|
7 |
19 |
99 |
1 |
| Only_Padding |
|
8 |
33 |
151 |
3 |
| data_ahead |
|
11 |
51 |
258 |
1 |
| Source file: ./lib/libform/fty_enum.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| Make_Enum_Type |
|
6 |
21 |
142 |
1 |
| Copy_Enum_Type |
|
3 |
15 |
77 |
1 |
| Free_Enum_Type |
|
2 |
5 |
17 |
1 |
| Compare |
|
10 |
33 |
146 |
3 |
| Check_Enum_Field |
|
10 |
40 |
233 |
2 |
| Next_Enum |
|
7 |
24 |
158 |
2 |
| Previous_Enum |
|
7 |
24 |
172 |
2 |
| Source file: ./lib/libform/fld_arg.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| set_fieldtype_arg |
|
3 |
17 |
111 |
4 |
| field_arg |
|
1 |
5 |
30 |
1 |
| Source file: ./lib/libform/form.priv.h |
| Source file: ./lib/libform/fld_move.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| move_field |
|
5 |
11 |
79 |
3 |
| Source file: ./lib/libform/fld_just.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| set_field_just |
|
6 |
20 |
95 |
2 |
| field_just |
|
1 |
5 |
30 |
1 |
| Source file: ./lib/libkvm/kvm_proc2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| kvm_proclist |
|
68 |
230 |
1530 |
7 |
| kvm_getprocs |
|
19 |
90 |
696 |
5 |
| Source file: ./lib/libform/frm_opts.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| set_form_opts |
|
2 |
12 |
56 |
2 |
| form_opts |
|
1 |
5 |
37 |
1 |
| form_opts_on |
|
2 |
12 |
56 |
2 |
| form_opts_off |
|
2 |
12 |
56 |
2 |
| Source file: ./lib/libkvm/kvm.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| kvm_geterr |
|
1 |
4 |
15 |
1 |
| _kvm_pread |
|
3 |
10 |
70 |
5 |
| _kvm_pwrite |
|
3 |
10 |
71 |
5 |
| _kvm_err |
|
2 |
13 |
99 |
4 |
| _kvm_syserr |
|
2 |
18 |
150 |
4 |
| _kvm_malloc |
|
2 |
7 |
49 |
2 |
| _kvm_realloc |
|
2 |
6 |
51 |
3 |
| _kvm_open |
|
21 |
79 |
535 |
6 |
| kvm_opennamelist |
|
4 |
18 |
108 |
2 |
| _kvm_get_header |
|
15 |
59 |
429 |
1 |
| kvm_dump_mkheader |
|
13 |
59 |
443 |
2 |
| clear_gap |
|
4 |
12 |
70 |
3 |
| kvm_dump_wrtheader |
|
11 |
48 |
420 |
3 |
| kvm_openfiles |
|
2 |
11 |
93 |
5 |
| kvm_open |
|
3 |
11 |
100 |
5 |
| kvm_close |
|
13 |
34 |
269 |
1 |
| kvm_dbopen |
|
13 |
53 |
407 |
2 |
| kvm_nlist |
|
9 |
33 |
280 |
2 |
| kvm_dump_inval |
|
6 |
29 |
215 |
1 |
| kvm_read |
|
11 |
40 |
281 |
4 |
| kvm_write |
|
4 |
17 |
120 |
4 |
| Source file: ./lib/libform/fld_def.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _nc_Make_Argument |
|
7 |
32 |
179 |
3 |
| _nc_Copy_Argument |
|
8 |
35 |
192 |
3 |
| _nc_Free_Argument |
|
5 |
20 |
106 |
2 |
| _nc_Copy_Type |
|
4 |
22 |
135 |
2 |
| _nc_Free_Type |
|
2 |
9 |
48 |
1 |
| new_field |
|
13 |
55 |
377 |
6 |
| free_field |
|
9 |
38 |
180 |
1 |
| Source file: ./lib/libform/frm_sub.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| set_form_sub |
|
3 |
8 |
56 |
2 |
| form_sub |
|
1 |
7 |
40 |
1 |
| Source file: ./lib/libform/fld_ftchoice.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| set_fieldtype_choice |
|
4 |
12 |
92 |
3 |
| Source file: ./lib/libform/frm_page.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| set_form_page |
|
8 |
35 |
177 |
2 |
| form_page |
|
1 |
5 |
30 |
1 |
| Source file: ./lib/libform/fld_dup.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dup_field |
|
8 |
44 |
320 |
3 |
| Source file: ./lib/libform/fld_attr.c |
| Source file: ./lib/libform/fty_regex.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| RegEx_Init |
|
1 |
5 |
15 |
1 |
| RegEx_Error |
|
1 |
5 |
14 |
1 |
| Make_RegularExpression_Type |
|
15 |
71 |
379 |
1 |
| Copy_RegularExpression_Type |
|
3 |
12 |
62 |
1 |
| Free_RegularExpression_Type |
|
8 |
21 |
89 |
1 |
| Check_RegularExpression_Field |
|
9 |
15 |
109 |
2 |
| Source file: ./lib/libform/fty_alpha.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| Make_This_Type |
|
2 |
10 |
58 |
1 |
| Copy_This_Type |
|
2 |
11 |
65 |
1 |
| Free_This_Type |
|
2 |
5 |
17 |
1 |
| Check_This_Character |
|
4 |
6 |
41 |
2 |
| Check_This_Field |
|
1 |
8 |
69 |
2 |
| Source file: ./lib/libform/fld_pad.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| set_field_pad |
|
3 |
17 |
79 |
2 |
| field_pad |
|
1 |
5 |
30 |
1 |
| Source file: ./lib/libform/fld_newftyp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| new_fieldtype |
|
4 |
26 |
133 |
2 |
| free_fieldtype |
|
7 |
19 |
101 |
1 |
| Source file: ./lib/libform/fty_alnum.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| Make_This_Type |
|
2 |
10 |
58 |
1 |
| Copy_This_Type |
|
2 |
11 |
65 |
1 |
| Free_This_Type |
|
2 |
5 |
17 |
1 |
| Check_This_Character |
|
4 |
6 |
41 |
2 |
| Check_This_Field |
|
1 |
8 |
69 |
2 |
| Source file: ./lib/libform/fld_max.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| set_max_field |
|
14 |
26 |
160 |
2 |
| Source file: ./lib/libform/fld_user.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| set_field_userptr |
|
1 |
6 |
39 |
2 |
| field_userptr |
|
1 |
5 |
30 |
1 |
| Source file: ./lib/libform/frm_post.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| post_form |
|
7 |
25 |
169 |
1 |
| unpost_form |
|
4 |
17 |
108 |
1 |
| Source file: ./lib/libform/fld_link.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| link_field |
|
6 |
37 |
276 |
3 |
| Source file: ./lib/libform/fld_stat.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| set_field_status |
|
2 |
10 |
51 |
2 |
| field_status |
|
2 |
5 |
38 |
1 |
| Source file: ./lib/libform/frm_user.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| set_form_userptr |
|
1 |
6 |
39 |
2 |
| form_userptr |
|
1 |
5 |
30 |
1 |
| Source file: ./lib/libform/fld_page.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| set_new_page |
|
3 |
12 |
62 |
2 |
| new_page |
|
2 |
5 |
38 |
1 |
| Source file: ./lib/libform/f_trace.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _nc_retrace_field_ptr |
|
1 |
5 |
22 |
1 |
| _nc_retrace_field |
|
1 |
5 |
22 |
1 |
| _nc_retrace_field_type |
|
1 |
5 |
22 |
1 |
| _nc_retrace_form |
|
1 |
5 |
22 |
1 |
| _nc_retrace_form_hook |
|
1 |
5 |
21 |
1 |
| Source file: ./lib/libform/frm_win.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| set_form_win |
|
3 |
8 |
56 |
2 |
| form_win |
|
2 |
7 |
45 |
1 |
| Source file: ./lib/libform/frm_hook.c |
| Source file: ./lib/libform/fld_opts.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| set_field_opts |
|
2 |
9 |
59 |
2 |
| field_opts |
|
1 |
5 |
32 |
1 |
| field_opts_on |
|
2 |
12 |
67 |
2 |
| field_opts_off |
|
2 |
12 |
67 |
2 |
| Source file: ./lib/libform/fty_int.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| Make_This_Type |
|
2 |
12 |
80 |
1 |
| Copy_This_Type |
|
3 |
15 |
77 |
1 |
| Free_This_Type |
|
2 |
5 |
17 |
1 |
| Check_This_Field |
|
23 |
75 |
367 |
2 |
| Check_This_Character |
|
3 |
4 |
36 |
2 |
| Source file: ./lib/libform/frm_def.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| Insert_Field_By_Position |
|
7 |
31 |
156 |
2 |
| Disconnect_Fields |
|
5 |
18 |
114 |
1 |
| Connect_Fields |
|
17 |
77 |
492 |
2 |
| Associate_Fields |
|
3 |
18 |
78 |
2 |
| new_form |
|
4 |
19 |
104 |
1 |
| free_form |
|
4 |
13 |
70 |
1 |
| set_form_fields |
|
4 |
15 |
93 |
2 |
| form_fields |
|
1 |
5 |
30 |
1 |
| field_count |
|
1 |
5 |
30 |
1 |
| Source file: ./lib/libform/fty_num.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| Make_This_Type |
|
3 |
14 |
94 |
1 |
| Copy_This_Type |
|
3 |
15 |
77 |
1 |
| Free_This_Type |
|
2 |
5 |
17 |
1 |
| Check_This_Field |
|
29 |
95 |
455 |
2 |
| Check_This_Character |
|
5 |
11 |
60 |
2 |
| Source file: ./lib/libform/frm_scale.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| scale_form |
|
5 |
13 |
83 |
3 |
| Source file: ./lib/libform/fld_type.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| set_field_type |
|
3 |
26 |
157 |
3 |
| field_type |
|
1 |
5 |
30 |
1 |
| Source file: ./lib/libform/frm_cursor.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pos_form_cursor |
|
3 |
15 |
62 |
1 |
| Source file: ./lib/libform/fld_current.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| set_current_field |
|
10 |
52 |
231 |
2 |
| current_field |
|
1 |
5 |
30 |
1 |
| field_index |
|
3 |
5 |
45 |
1 |
| Source file: ./lib/libform/frm_req_name.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| form_request_name |
|
3 |
11 |
60 |
1 |
| form_request_by_name |
|
6 |
21 |
143 |
1 |
| Source file: ./lib/libunwind/include/__libunwind_config.h |
| Source file: ./lib/libform/form.h |
| Source file: ./lib/libunwind/include/mach-o/compact_unwind_encoding.h |
| Source file: ./lib/libunwind/include/libunwind.h |
| Source file: ./lib/libunwind/include/unwind.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _Unwind_GetGR |
|
1 |
5 |
37 |
2 |
| _Unwind_SetGR |
|
1 |
4 |
32 |
3 |
| _Unwind_GetIP |
|
1 |
3 |
24 |
1 |
| _Unwind_SetIP |
|
1 |
4 |
40 |
2 |
| Source file: ./lib/libunwind/src/Unwind-EHABI.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| signExtendPrel31 |
|
1 |
3 |
21 |
1 |
| readPrel31 |
|
1 |
3 |
28 |
1 |
| Source file: ./lib/libunwind/src/AddressSpace.hpp |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| libunwind::__attribute__ |
|
2 |
47 |
310 |
0 |
| libunwind::LocalAddressSpace::getP |
|
2 |
4 |
21 |
1 |
| libunwind::LocalAddressSpace::getULEB128 |
|
5 |
20 |
125 |
2 |
| libunwind::LocalAddressSpace::getSLEB128 |
|
4 |
18 |
122 |
2 |
| libunwind::LocalAddressSpace::getEncodedP |
|
19 |
81 |
380 |
4 |
| libunwind::_dyld_find_unwind_sections |
|
3 |
17 |
105 |
2 |
| libunwind::LocalAddressSpace::findUnwindSections |
|
20 |
73 |
506 |
2 |
| libunwind::LocalAddressSpace::findOtherFDE |
|
2 |
6 |
42 |
2 |
| libunwind::LocalAddressSpace::findFunctionName |
|
3 |
13 |
82 |
4 |
| libunwind::OtherAddressSpace::OtherAddressSpace |
|
1 |
1 |
12 |
1 |
| libunwind::OtherAddressSpace<P>::get8 |
|
1 |
3 |
25 |
1 |
| libunwind::OtherAddressSpace<P>::get16 |
|
1 |
3 |
30 |
1 |
| libunwind::OtherAddressSpace<P>::get32 |
|
1 |
3 |
30 |
1 |
| libunwind::OtherAddressSpace<P>::get64 |
|
1 |
3 |
30 |
1 |
| libunwind::OtherAddressSpace<P>::getP |
|
1 |
3 |
28 |
1 |
| libunwind::OtherAddressSpace<P>::getULEB128 |
|
1 |
8 |
72 |
2 |
| libunwind::OtherAddressSpace<P>::getSLEB128 |
|
1 |
8 |
72 |
2 |
| libunwind::OtherAddressSpace<P>::localCopy |
|
1 |
2 |
12 |
1 |
| libunwind::OtherAddressSpace<P>::findFunctionName |
|
1 |
3 |
23 |
4 |
| libunwind::unw_addr_space_i386::unw_addr_space_i386 |
|
1 |
1 |
12 |
1 |
| libunwind::unw_addr_space_x86_64::unw_addr_space_x86_64 |
|
1 |
1 |
12 |
1 |
| libunwind::unw_addr_space_ppc::unw_addr_space_ppc |
|
1 |
1 |
12 |
1 |
| Source file: ./lib/libunwind/src/Unwind-sjlj.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _Unwind_SjLj_Register |
|
1 |
4 |
22 |
1 |
| _Unwind_SjLj_Unregister |
|
1 |
3 |
16 |
1 |
| unwind_phase1 |
|
6 |
39 |
177 |
1 |
| unwind_phase2 |
|
8 |
49 |
216 |
1 |
| unwind_phase2_forced |
|
7 |
64 |
291 |
3 |
| _Unwind_SjLj_RaiseException |
|
2 |
9 |
51 |
1 |
| _Unwind_SjLj_Resume |
|
2 |
10 |
55 |
1 |
| _Unwind_SjLj_Resume_or_Rethrow |
|
2 |
11 |
48 |
1 |
| _Unwind_GetLanguageSpecificData |
|
1 |
6 |
34 |
1 |
| _Unwind_GetGR |
|
1 |
7 |
37 |
2 |
| _Unwind_SetGR |
|
1 |
7 |
43 |
3 |
| _Unwind_GetIP |
|
1 |
6 |
37 |
1 |
| _Unwind_GetIPInfo |
|
1 |
8 |
48 |
2 |
| _Unwind_SetIP |
|
1 |
7 |
37 |
2 |
| _Unwind_GetRegionStart |
|
1 |
5 |
24 |
1 |
| _Unwind_DeleteException |
|
2 |
7 |
36 |
1 |
| _Unwind_GetDataRelBase |
|
1 |
5 |
26 |
1 |
| _Unwind_GetTextRelBase |
|
1 |
5 |
26 |
1 |
| _Unwind_GetCFA |
|
2 |
8 |
46 |
1 |
| Source file: ./lib/libunwind/src/UnwindLevel1-gcc-ext.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _Unwind_Resume_or_Rethrow |
|
4 |
15 |
79 |
1 |
| _Unwind_GetDataRelBase |
|
1 |
5 |
30 |
1 |
| _Unwind_GetTextRelBase |
|
1 |
5 |
30 |
1 |
| _Unwind_FindEnclosingFunction |
|
2 |
13 |
84 |
1 |
| _Unwind_Backtrace |
|
10 |
54 |
329 |
2 |
| _Unwind_Find_FDE |
|
1 |
16 |
121 |
2 |
| _Unwind_GetCFA |
|
1 |
8 |
56 |
1 |
| _Unwind_GetIPInfo |
|
1 |
6 |
35 |
2 |
| __register_frame |
|
1 |
4 |
27 |
1 |
| __deregister_frame |
|
1 |
4 |
27 |
1 |
| __register_frame_info_bases |
|
1 |
9 |
54 |
4 |
| __register_frame_info |
|
1 |
5 |
32 |
2 |
| __register_frame_info_table_bases |
|
1 |
10 |
55 |
4 |
| __register_frame_info_table |
|
1 |
5 |
32 |
2 |
| __register_frame_table |
|
1 |
4 |
21 |
1 |
| __deregister_frame_info |
|
1 |
5 |
24 |
1 |
| __deregister_frame_info_bases |
|
1 |
5 |
24 |
1 |
| Source file: ./lib/libunwind/src/dwarf2.h |
| Source file: ./lib/libunwind/src/libunwind_ext.h |
| Source file: ./lib/libunwind/src/EHHeaderParser.hpp |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| libunwind::EHHeaderParser<A>::decodeEHHdr |
|
2 |
15 |
124 |
4 |
| libunwind::EHHeaderParser<A>::decodeTableEntry |
|
2 |
16 |
117 |
7 |
| libunwind::EHHeaderParser<A>::findFDE |
|
8 |
35 |
252 |
6 |
| libunwind::EHHeaderParser<A>::getTableEntrySize |
|
10 |
21 |
76 |
1 |
| Source file: ./lib/libunwind/src/CompactUnwinder.hpp |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| libunwind::CompactUnwinder_x86<A>::stepWithCompactEncoding |
|
4 |
16 |
85 |
4 |
| libunwind::CompactUnwinder_x86<A>::stepWithCompactEncodingEBPFrame |
|
8 |
40 |
215 |
4 |
| libunwind::CompactUnwinder_x86<A>::stepWithCompactEncodingFrameless |
|
19 |
113 |
752 |
5 |
| libunwind::CompactUnwinder_x86<A>::frameUnwind |
|
1 |
7 |
67 |
2 |
| libunwind::CompactUnwinder_x86<A>::framelessUnwind |
|
1 |
6 |
47 |
3 |
| libunwind::CompactUnwinder_x86_64<A>::stepWithCompactEncoding |
|
4 |
16 |
85 |
4 |
| libunwind::CompactUnwinder_x86_64<A>::stepWithCompactEncodingRBPFrame |
|
8 |
40 |
215 |
4 |
| libunwind::CompactUnwinder_x86_64<A>::stepWithCompactEncodingFrameless |
|
19 |
113 |
752 |
5 |
| libunwind::CompactUnwinder_x86_64<A>::frameUnwind |
|
1 |
7 |
61 |
2 |
| libunwind::CompactUnwinder_x86_64<A>::framelessUnwind |
|
1 |
6 |
41 |
3 |
| libunwind::CompactUnwinder_arm64<A>::stepWithCompactEncoding |
|
3 |
13 |
66 |
4 |
| libunwind::CompactUnwinder_arm64<A>::stepWithCompactEncodingFrameless |
|
10 |
72 |
463 |
4 |
| libunwind::CompactUnwinder_arm64<A>::stepWithCompactEncodingFrame |
|
10 |
72 |
476 |
4 |
| Source file: ./lib/libunwind/src/Unwind_AppleExtras.cpp |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| libunwind::checkKeyMgrRegisteredFDEs |
|
7 |
25 |
169 |
2 |
| __Unwind_SjLj_GetTopOfFunctionStack |
|
1 |
4 |
16 |
0 |
| __Unwind_SjLj_SetTopOfFunctionStack |
|
1 |
3 |
16 |
1 |
| Source file: ./lib/libunwind/src/libunwind.cpp |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| unw_init_local |
|
9 |
11 |
76 |
2 |
| unw_init_remote_thread |
|
5 |
26 |
168 |
3 |
| is64bit |
|
1 |
3 |
10 |
1 |
| unw_create_addr_space_for_task |
|
3 |
11 |
63 |
1 |
| unw_destroy_addr_space |
|
5 |
19 |
75 |
1 |
| unw_get_reg |
|
2 |
12 |
77 |
3 |
| unw_set_reg |
|
3 |
14 |
94 |
3 |
| unw_get_fpreg |
|
2 |
12 |
77 |
3 |
| unw_set_fpreg |
|
3 |
13 |
86 |
3 |
| unw_step |
|
1 |
5 |
39 |
1 |
| unw_get_proc_info |
|
2 |
11 |
67 |
2 |
| unw_resume |
|
1 |
6 |
41 |
1 |
| unw_get_proc_name |
|
2 |
11 |
81 |
4 |
| unw_is_fpreg |
|
1 |
6 |
45 |
2 |
| unw_regname |
|
1 |
7 |
45 |
2 |
| unw_is_signal_frame |
|
1 |
6 |
39 |
1 |
| unw_save_vfp_as_X |
|
1 |
6 |
39 |
1 |
| unw_iterate_dwarf_unwind_cache |
|
1 |
6 |
47 |
1 |
| _unw_add_dynamic_fde |
|
2 |
15 |
105 |
1 |
| _unw_remove_dynamic_fde |
|
1 |
3 |
22 |
1 |
| logAPIs |
|
2 |
9 |
42 |
0 |
| logUnwinding |
|
2 |
9 |
42 |
0 |
| Source file: ./lib/libunwind/src/Unwind-EHABI.cpp |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| getByte |
|
1 |
4 |
53 |
2 |
| getNextWord |
|
1 |
4 |
32 |
2 |
| getNextNibble |
|
1 |
4 |
32 |
2 |
| ProcessDescriptors |
|
12 |
64 |
328 |
6 |
| unwindOneFrame |
|
4 |
18 |
135 |
3 |
| RegisterMask |
|
1 |
3 |
29 |
2 |
| RegisterRange |
|
1 |
3 |
30 |
2 |
| decode_eht_entry |
|
5 |
24 |
154 |
3 |
| _Unwind_VRS_Interpret |
|
49 |
169 |
924 |
4 |
| __aeabi_unwind_cpp_pr0 |
|
1 |
6 |
25 |
3 |
| __aeabi_unwind_cpp_pr1 |
|
1 |
6 |
25 |
3 |
| __aeabi_unwind_cpp_pr2 |
|
1 |
6 |
25 |
3 |
| unwind_phase1 |
|
10 |
72 |
425 |
3 |
| unwind_phase2 |
|
15 |
91 |
504 |
4 |
| _Unwind_RaiseException |
|
2 |
12 |
79 |
1 |
| _Unwind_Complete |
|
1 |
3 |
13 |
1 |
| _Unwind_Resume |
|
1 |
9 |
52 |
1 |
| _Unwind_GetLanguageSpecificData |
|
2 |
11 |
71 |
1 |
| ValueAsBitPattern |
|
6 |
16 |
70 |
2 |
| _Unwind_VRS_Set |
|
21 |
49 |
280 |
5 |
| _Unwind_VRS_Get_Internal |
|
21 |
45 |
248 |
5 |
| _Unwind_VRS_Get |
|
1 |
16 |
70 |
5 |
| _Unwind_VRS_Pop |
|
19 |
62 |
357 |
4 |
| _Unwind_GetRegionStart |
|
2 |
10 |
71 |
1 |
| _Unwind_DeleteException |
|
2 |
7 |
42 |
1 |
| __gnu_unwind_frame |
|
2 |
7 |
38 |
2 |
| Source file: ./lib/libunwind/src/UnwindLevel1.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| unwind_phase1 |
|
11 |
73 |
385 |
3 |
| unwind_phase2 |
|
14 |
85 |
437 |
3 |
| unwind_phase2_forced |
|
10 |
81 |
436 |
5 |
| _Unwind_RaiseException |
|
2 |
13 |
78 |
1 |
| _Unwind_Resume |
|
2 |
13 |
82 |
1 |
| _Unwind_ForcedUnwind |
|
1 |
11 |
81 |
3 |
| _Unwind_GetLanguageSpecificData |
|
4 |
16 |
96 |
1 |
| _Unwind_GetRegionStart |
|
2 |
10 |
66 |
1 |
| _Unwind_DeleteException |
|
2 |
7 |
39 |
1 |
| _Unwind_GetGR |
|
1 |
8 |
61 |
2 |
| _Unwind_SetGR |
|
1 |
8 |
54 |
3 |
| _Unwind_GetIP |
|
1 |
8 |
56 |
1 |
| _Unwind_SetIP |
|
1 |
7 |
49 |
2 |
| Source file: ./lib/libunwind/src/config.h |
| Source file: ./lib/libunwind/src/assembly.h |
| Source file: ./lib/libunwind/src/unwind_ext.h |
| Source file: ./lib/libform/frm_driver.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| check_pos |
|
5 |
15 |
76 |
2 |
| wins_wchnstr |
|
4 |
14 |
85 |
3 |
| fix_wchnstr |
|
2 |
11 |
65 |
3 |
| cell_base |
|
4 |
15 |
84 |
3 |
| cell_width |
|
3 |
17 |
95 |
3 |
| delete_char |
|
2 |
10 |
76 |
1 |
| Get_Start_Of_Data |
|
5 |
9 |
66 |
2 |
| After_End_Of_Data |
|
4 |
8 |
55 |
2 |
| Get_First_Whitespace_Character |
|
5 |
9 |
67 |
2 |
| After_Last_Whitespace_Character |
|
4 |
8 |
56 |
2 |
| Adjust_Cursor_Position |
|
4 |
13 |
117 |
2 |
| Buffer_To_Window |
|
4 |
23 |
139 |
2 |
| Window_To_Buffer |
|
10 |
28 |
175 |
2 |
| Synchronize_Buffer |
|
2 |
10 |
56 |
1 |
| Field_Grown |
|
32 |
117 |
711 |
2 |
| Field_encloses |
|
6 |
13 |
80 |
3 |
| _nc_Position_Form_Cursor |
|
5 |
22 |
126 |
1 |
| _nc_Refresh_Current_Field |
|
18 |
100 |
469 |
1 |
| Perform_Justification |
|
7 |
27 |
155 |
2 |
| Undo_Justification |
|
2 |
13 |
85 |
2 |
| Check_Char |
|
6 |
19 |
104 |
3 |
| Display_Or_Erase_Field |
|
7 |
34 |
159 |
2 |
| Synchronize_Field |
|
7 |
26 |
153 |
1 |
| Synchronize_Linked_Fields |
|
6 |
19 |
92 |
1 |
| _nc_Synchronize_Attributes |
|
7 |
46 |
246 |
1 |
| _nc_Synchronize_Options |
|
25 |
75 |
337 |
2 |
| _nc_Set_Current_Field |
|
21 |
76 |
443 |
2 |
| IFN_Next_Character |
|
9 |
24 |
153 |
1 |
| IFN_Previous_Character |
|
3 |
17 |
109 |
1 |
| IFN_Next_Line |
|
5 |
14 |
86 |
1 |
| IFN_Previous_Line |
|
2 |
11 |
56 |
1 |
| IFN_Next_Word |
|
3 |
20 |
122 |
1 |
| IFN_Previous_Word |
|
7 |
25 |
185 |
1 |
| IFN_Beginning_Of_Field |
|
1 |
9 |
55 |
1 |
| IFN_End_Of_Field |
|
2 |
12 |
81 |
1 |
| IFN_Beginning_Of_Line |
|
1 |
10 |
55 |
1 |
| IFN_End_Of_Line |
|
2 |
14 |
86 |
1 |
| IFN_Left_Character |
|
2 |
12 |
77 |
1 |
| IFN_Right_Character |
|
5 |
15 |
106 |
1 |
| IFN_Up_Character |
|
2 |
10 |
50 |
1 |
| IFN_Down_Character |
|
5 |
13 |
82 |
1 |
| VSC_Generic |
|
7 |
29 |
152 |
2 |
| Vertical_Scrolling |
|
3 |
11 |
62 |
2 |
| VSC_Scroll_Line_Forward |
|
1 |
5 |
30 |
1 |
| VSC_Scroll_Line_Backward |
|
1 |
5 |
31 |
1 |
| VSC_Scroll_Page_Forward |
|
1 |
5 |
34 |
1 |
| VSC_Scroll_Half_Page_Forward |
|
1 |
5 |
40 |
1 |
| VSC_Scroll_Page_Backward |
|
1 |
5 |
37 |
1 |
| VSC_Scroll_Half_Page_Backward |
|
1 |
5 |
43 |
1 |
| HSC_Generic |
|
7 |
29 |
150 |
2 |
| Horizontal_Scrolling |
|
2 |
7 |
40 |
2 |
| HSC_Scroll_Char_Forward |
|
1 |
5 |
30 |
1 |
| HSC_Scroll_Char_Backward |
|
1 |
5 |
31 |
1 |
| HSC_Horizontal_Line_Forward |
|
1 |
5 |
34 |
1 |
| HSC_Horizontal_Half_Line_Forward |
|
1 |
5 |
40 |
1 |
| HSC_Horizontal_Line_Backward |
|
1 |
5 |
37 |
1 |
| HSC_Horizontal_Half_Line_Backward |
|
1 |
5 |
43 |
1 |
| Is_There_Room_For_A_Line |
|
2 |
9 |
67 |
1 |
| Is_There_Room_For_A_Char_In_Line |
|
3 |
9 |
85 |
1 |
| Insert_String |
|
7 |
50 |
343 |
4 |
| Wrapping_Not_Necessary_Or_Wrapping_Ok |
|
12 |
52 |
271 |
1 |
| Field_Editing |
|
9 |
33 |
138 |
2 |
| FE_New_Line |
|
17 |
62 |
408 |
1 |
| FE_Insert_Character |
|
7 |
22 |
131 |
1 |
| FE_Insert_Line |
|
8 |
24 |
142 |
1 |
| FE_Delete_Character |
|
1 |
6 |
30 |
1 |
| FE_Delete_Previous |
|
7 |
42 |
292 |
1 |
| FE_Delete_Line |
|
1 |
7 |
38 |
1 |
| FE_Delete_Word |
|
4 |
23 |
199 |
1 |
| FE_Clear_To_End_Of_Line |
|
1 |
7 |
47 |
1 |
| FE_Clear_To_End_Of_Field |
|
1 |
7 |
47 |
1 |
| FE_Clear_Field |
|
1 |
7 |
42 |
1 |
| EM_Overlay_Mode |
|
1 |
6 |
31 |
1 |
| EM_Insert_Mode |
|
1 |
6 |
31 |
1 |
| Next_Choice |
|
5 |
17 |
101 |
3 |
| Previous_Choice |
|
5 |
17 |
101 |
3 |
| CR_Next_Choice |
|
2 |
9 |
61 |
1 |
| CR_Previous_Choice |
|
2 |
9 |
61 |
1 |
| Check_Field |
|
8 |
30 |
141 |
3 |
| _nc_Internal_Validation |
|
4 |
16 |
90 |
1 |
| FV_Validation |
|
2 |
8 |
38 |
1 |
| Next_Field_On_Page |
|
4 |
16 |
115 |
1 |
| _nc_First_Active_Field |
|
8 |
26 |
168 |
1 |
| Previous_Field_On_Page |
|
4 |
16 |
115 |
1 |
| Sorted_Next_Field |
|
3 |
12 |
44 |
1 |
| Sorted_Previous_Field |
|
3 |
12 |
44 |
1 |
| Left_Neighbor_Field |
|
2 |
10 |
40 |
1 |
| Right_Neighbor_Field |
|
2 |
10 |
40 |
1 |
| Upper_Neighbor_Field |
|
7 |
20 |
110 |
1 |
| Down_Neighbor_Field |
|
7 |
20 |
110 |
1 |
| Inter_Field_Navigation |
|
2 |
13 |
61 |
2 |
| FN_Next_Field |
|
1 |
6 |
35 |
1 |
| FN_Previous_Field |
|
1 |
6 |
35 |
1 |
| FN_First_Field |
|
1 |
6 |
47 |
1 |
| FN_Last_Field |
|
1 |
7 |
47 |
1 |
| FN_Sorted_Next_Field |
|
1 |
6 |
35 |
1 |
| FN_Sorted_Previous_Field |
|
1 |
6 |
35 |
1 |
| FN_Sorted_First_Field |
|
1 |
6 |
47 |
1 |
| FN_Sorted_Last_Field |
|
1 |
6 |
47 |
1 |
| FN_Left_Field |
|
1 |
6 |
35 |
1 |
| FN_Right_Field |
|
1 |
6 |
35 |
1 |
| FN_Up_Field |
|
1 |
6 |
35 |
1 |
| FN_Down_Field |
|
1 |
6 |
35 |
1 |
| _nc_Set_Form_Page |
|
6 |
24 |
138 |
3 |
| Next_Page_Number |
|
1 |
4 |
22 |
1 |
| Previous_Page_Number |
|
2 |
4 |
30 |
1 |
| Page_Navigation |
|
2 |
15 |
75 |
2 |
| PN_Next_Page |
|
1 |
5 |
39 |
1 |
| PN_Previous_Page |
|
1 |
5 |
39 |
1 |
| PN_First_Page |
|
1 |
5 |
36 |
1 |
| PN_Last_Page |
|
1 |
5 |
40 |
1 |
| Data_Entry |
|
24 |
51 |
333 |
2 |
| form_driver |
|
43 |
129 |
820 |
2 |
| set_field_buffer |
|
26 |
78 |
494 |
3 |
| field_buffer |
|
10 |
35 |
257 |
2 |
| _nc_Widen_String |
|
12 |
60 |
253 |
2 |
| Source file: ./lib/libutil/ohash.h |
| Source file: ./lib/libutil/bcrypt_pbkdf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bcrypt_hash |
|
5 |
31 |
290 |
3 |
| bcrypt_pbkdf |
|
11 |
54 |
459 |
7 |
| Source file: ./lib/libunwind/src/UnwindCursor.hpp |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| libunwind::DwarfFDECache<A>::findFDE |
|
6 |
14 |
106 |
2 |
| libunwind::DwarfFDECache<A>::add |
|
6 |
25 |
175 |
4 |
| libunwind::DwarfFDECache<A>::removeAllIn |
|
4 |
13 |
85 |
1 |
| libunwind::DwarfFDECache<A>::dyldUnloadHook |
|
1 |
3 |
25 |
2 |
| libunwind::DwarfFDECache<A>::iterateCacheEntries |
|
2 |
8 |
87 |
1 |
| libunwind::UnwindSectionHeader::UnwindSectionHeader |
|
1 |
2 |
24 |
2 |
| libunwind::UnwindSectionHeader::version |
|
1 |
4 |
21 |
0 |
| libunwind::UnwindSectionHeader::commonEncodingsArraySectionOffset |
|
1 |
5 |
21 |
0 |
| libunwind::UnwindSectionHeader::commonEncodingsArrayCount |
|
1 |
4 |
21 |
0 |
| libunwind::UnwindSectionHeader::personalityArraySectionOffset |
|
1 |
4 |
21 |
0 |
| libunwind::UnwindSectionHeader::personalityArrayCount |
|
1 |
4 |
21 |
0 |
| libunwind::UnwindSectionHeader::indexSectionOffset |
|
1 |
4 |
21 |
0 |
| libunwind::UnwindSectionHeader::indexCount |
|
1 |
4 |
21 |
0 |
| libunwind::UnwindSectionIndexArray::UnwindSectionIndexArray |
|
1 |
2 |
24 |
2 |
| libunwind::UnwindSectionIndexArray::functionOffset |
|
1 |
5 |
25 |
1 |
| libunwind::UnwindSectionIndexArray::secondLevelPagesSectionOffset |
|
1 |
5 |
25 |
1 |
| libunwind::UnwindSectionIndexArray::lsdaIndexArraySectionOffset |
|
1 |
5 |
25 |
1 |
| libunwind::UnwindSectionRegularPageHeader::UnwindSectionRegularPageHeader |
|
1 |
2 |
24 |
2 |
| libunwind::UnwindSectionRegularPageHeader::kind |
|
1 |
4 |
21 |
0 |
| libunwind::UnwindSectionRegularPageHeader::entryPageOffset |
|
1 |
5 |
21 |
0 |
| libunwind::UnwindSectionRegularPageHeader::entryCount |
|
1 |
5 |
21 |
0 |
| libunwind::UnwindSectionRegularArray::UnwindSectionRegularArray |
|
1 |
2 |
24 |
2 |
| libunwind::UnwindSectionRegularArray::functionOffset |
|
1 |
5 |
25 |
1 |
| libunwind::UnwindSectionRegularArray::encoding |
|
1 |
5 |
25 |
1 |
| libunwind::UnwindSectionCompressedPageHeader::UnwindSectionCompressedPageHeader |
|
1 |
2 |
24 |
2 |
| libunwind::UnwindSectionCompressedPageHeader::kind |
|
1 |
5 |
21 |
0 |
| libunwind::UnwindSectionCompressedPageHeader::entryPageOffset |
|
1 |
5 |
21 |
0 |
| libunwind::UnwindSectionCompressedPageHeader::entryCount |
|
1 |
5 |
21 |
0 |
| libunwind::UnwindSectionCompressedPageHeader::encodingsPageOffset |
|
1 |
5 |
21 |
0 |
| libunwind::UnwindSectionCompressedPageHeader::encodingsCount |
|
1 |
5 |
21 |
0 |
| libunwind::UnwindSectionCompressedArray::UnwindSectionCompressedArray |
|
1 |
2 |
24 |
2 |
| libunwind::UnwindSectionCompressedArray::functionOffset |
|
1 |
4 |
26 |
1 |
| libunwind::UnwindSectionCompressedArray::encodingIndex |
|
1 |
4 |
26 |
1 |
| libunwind::UnwindSectionLsdaArray::UnwindSectionLsdaArray |
|
1 |
2 |
24 |
2 |
| libunwind::UnwindSectionLsdaArray::functionOffset |
|
1 |
5 |
25 |
1 |
| libunwind::UnwindSectionLsdaArray::lsdaOffset |
|
1 |
5 |
25 |
1 |
| libunwind::_LIBUNWIND_HIDDENAbstractUnwindCursor::operator delete |
|
1 |
1 |
10 |
2 |
| libunwind::_LIBUNWIND_HIDDENAbstractUnwindCursor::~AbstractUnwindCursor |
|
1 |
1 |
5 |
0 |
| libunwind::_LIBUNWIND_HIDDENAbstractUnwindCursor::validReg |
|
1 |
1 |
11 |
1 |
| libunwind::_LIBUNWIND_HIDDENAbstractUnwindCursor::getReg |
|
1 |
1 |
11 |
1 |
| libunwind::_LIBUNWIND_HIDDENAbstractUnwindCursor::setReg |
|
1 |
3 |
13 |
2 |
| libunwind::_LIBUNWIND_HIDDENAbstractUnwindCursor::validFloatReg |
|
1 |
3 |
11 |
1 |
| libunwind::_LIBUNWIND_HIDDENAbstractUnwindCursor::getFloatReg |
|
1 |
3 |
11 |
1 |
| libunwind::_LIBUNWIND_HIDDENAbstractUnwindCursor::setFloatReg |
|
1 |
3 |
13 |
2 |
| libunwind::_LIBUNWIND_HIDDENAbstractUnwindCursor::step |
|
1 |
1 |
10 |
0 |
| libunwind::_LIBUNWIND_HIDDENAbstractUnwindCursor::getInfo |
|
1 |
3 |
12 |
1 |
| libunwind::_LIBUNWIND_HIDDENAbstractUnwindCursor::jumpto |
|
1 |
1 |
10 |
0 |
| libunwind::_LIBUNWIND_HIDDENAbstractUnwindCursor::isSignalFrame |
|
1 |
3 |
10 |
0 |
| libunwind::_LIBUNWIND_HIDDENAbstractUnwindCursor::getFunctionName |
|
1 |
3 |
17 |
3 |
| libunwind::_LIBUNWIND_HIDDENAbstractUnwindCursor::setInfoBasedOnIPRegister |
|
1 |
3 |
13 |
1 |
| libunwind::_LIBUNWIND_HIDDENAbstractUnwindCursor::getRegisterName |
|
1 |
3 |
11 |
1 |
| libunwind::_LIBUNWIND_HIDDENAbstractUnwindCursor::saveVFPAsX |
|
1 |
1 |
10 |
0 |
| libunwind::UnwindCursor::~UnwindCursor |
|
1 |
1 |
5 |
0 |
| libunwind::UnwindCursor::stepWithEHABI |
|
2 |
11 |
66 |
0 |
| libunwind::UnwindCursor::stepWithDwarfFDE |
|
1 |
6 |
37 |
0 |
| libunwind::UnwindCursor::stepWithCompactEncoding |
|
3 |
6 |
25 |
0 |
| libunwind::UnwindCursor::stepWithCompactEncoding |
|
1 |
4 |
28 |
1 |
| libunwind::UnwindCursor::stepWithCompactEncoding |
|
1 |
4 |
31 |
1 |
| libunwind::UnwindCursor::stepWithCompactEncoding |
|
1 |
3 |
10 |
1 |
| libunwind::UnwindCursor::stepWithCompactEncoding |
|
1 |
4 |
28 |
1 |
| libunwind::UnwindCursor::compactSaysUseDwarf |
|
1 |
4 |
22 |
1 |
| libunwind::UnwindCursor::compactSaysUseDwarf |
|
3 |
8 |
47 |
2 |
| libunwind::UnwindCursor::compactSaysUseDwarf |
|
3 |
8 |
47 |
2 |
| libunwind::UnwindCursor::compactSaysUseDwarf |
|
1 |
3 |
14 |
2 |
| libunwind::UnwindCursor::compactSaysUseDwarf |
|
3 |
8 |
47 |
2 |
| libunwind::UnwindCursor::dwarfEncoding |
|
1 |
4 |
15 |
0 |
| libunwind::UnwindCursor::dwarfEncoding |
|
1 |
3 |
11 |
1 |
| libunwind::UnwindCursor::dwarfEncoding |
|
1 |
3 |
11 |
1 |
| libunwind::UnwindCursor::dwarfEncoding |
|
1 |
3 |
11 |
1 |
| libunwind::UnwindCursor::dwarfEncoding |
|
1 |
3 |
11 |
1 |
| libunwind::UnwindCursor::dwarfEncoding |
|
1 |
3 |
11 |
1 |
| libunwind::UnwindCursor::dwarfEncoding |
|
1 |
3 |
11 |
1 |
| libunwind::UnwindCursor<A,R>::UnwindCursor |
|
1 |
7 |
73 |
2 |
| libunwind::UnwindCursor<A,R>::UnwindCursor |
|
1 |
4 |
46 |
2 |
| libunwind::UnwindCursor<A,R>::validReg |
|
1 |
3 |
22 |
1 |
| libunwind::UnwindCursor<A,R>::getReg |
|
1 |
3 |
22 |
1 |
| libunwind::UnwindCursor<A,R>::setReg |
|
1 |
3 |
32 |
2 |
| libunwind::UnwindCursor<A,R>::validFloatReg |
|
1 |
3 |
22 |
1 |
| libunwind::UnwindCursor<A,R>::getFloatReg |
|
1 |
3 |
22 |
1 |
| libunwind::UnwindCursor<A,R>::setFloatReg |
|
1 |
3 |
26 |
2 |
| libunwind::UnwindCursor<A,R>::jumpto |
|
1 |
3 |
18 |
0 |
| libunwind::UnwindCursor<A,R>::saveVFPAsX |
|
1 |
3 |
18 |
0 |
| libunwind::UnwindCursor<A,R>::getRegisterName |
|
1 |
3 |
22 |
1 |
| libunwind::UnwindCursor<A,R>::isSignalFrame |
|
1 |
3 |
15 |
0 |
| libunwind::EHABISectionIterator::begin |
|
1 |
3 |
23 |
2 |
| libunwind::EHABISectionIterator::end |
|
1 |
3 |
25 |
2 |
| libunwind::EHABISectionIterator::EHABISectionIterator |
|
1 |
2 |
33 |
3 |
| libunwind::EHABISectionIterator::operator ++ |
|
1 |
1 |
13 |
0 |
| libunwind::EHABISectionIterator::operator += |
|
1 |
1 |
16 |
1 |
| libunwind::EHABISectionIterator::operator -- |
|
1 |
1 |
20 |
0 |
| libunwind::EHABISectionIterator::operator -= |
|
1 |
1 |
23 |
1 |
| libunwind::EHABISectionIterator::operator + |
|
1 |
1 |
23 |
1 |
| libunwind::EHABISectionIterator::operator - |
|
1 |
1 |
30 |
1 |
| libunwind::EHABISectionIterator::operator - |
|
1 |
1 |
17 |
1 |
| libunwind::EHABISectionIterator::operator == |
|
1 |
5 |
36 |
1 |
| libunwind::EHABISectionIterator::operator * |
|
1 |
1 |
12 |
0 |
| libunwind::EHABISectionIterator::functionAddress |
|
1 |
5 |
38 |
0 |
| libunwind::EHABISectionIterator::dataAddress |
|
1 |
5 |
27 |
0 |
| libunwind::UnwindCursor<A,R>::getInfoFromEHABISection |
|
15 |
85 |
514 |
2 |
| libunwind::UnwindCursor<A,R>::getInfoFromDwarfSection |
|
14 |
57 |
423 |
3 |
| libunwind::UnwindCursor<A,R>::getInfoFromCompactEncodingSection |
|
38 |
230 |
1372 |
2 |
| libunwind::UnwindCursor<A,R>::setInfoBasedOnIPRegister |
|
27 |
78 |
551 |
1 |
| libunwind::UnwindCursor<A,R>::step |
|
8 |
16 |
91 |
0 |
| libunwind::UnwindCursor<A,R>::getInfo |
|
1 |
3 |
20 |
1 |
| libunwind::UnwindCursor<A,R>::getFunctionName |
|
1 |
5 |
44 |
3 |
| Source file: ./lib/libunwind/src/DwarfInstructions.hpp |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| libunwind::DwarfInstructions::getCFA |
|
4 |
11 |
87 |
3 |
| libunwind::DwarfInstructions<A,R>::getSavedRegister |
|
8 |
24 |
187 |
4 |
| libunwind::DwarfInstructions<A,R>::getSavedFloatRegister |
|
8 |
19 |
136 |
4 |
| libunwind::DwarfInstructions<A,R>::getSavedVectorRegister |
|
8 |
19 |
136 |
4 |
| libunwind::DwarfInstructions<A,R>::stepWithDwarf |
|
11 |
47 |
336 |
4 |
| libunwind::DwarfInstructions<A,R>::evaluateExpression |
|
209 |
465 |
2596 |
4 |
| Source file: ./lib/libutil/ohash.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ohash_create_entry |
|
3 |
12 |
110 |
3 |
| ohash_delete |
|
1 |
5 |
34 |
1 |
| ohash_resize |
|
12 |
41 |
337 |
1 |
| ohash_remove |
|
6 |
12 |
88 |
2 |
| ohash_find |
|
2 |
7 |
44 |
2 |
| ohash_insert |
|
4 |
13 |
88 |
3 |
| ohash_entries |
|
1 |
4 |
18 |
1 |
| ohash_first |
|
1 |
5 |
27 |
2 |
| ohash_next |
|
4 |
7 |
77 |
2 |
| ohash_init |
|
3 |
16 |
139 |
3 |
| ohash_interval |
|
4 |
13 |
83 |
2 |
| ohash_lookup_interval |
|
13 |
37 |
278 |
4 |
| ohash_lookup_memory |
|
12 |
33 |
250 |
4 |
| ohash_qlookup |
|
1 |
5 |
32 |
2 |
| ohash_qlookupi |
|
1 |
6 |
44 |
3 |
| Source file: ./lib/libunwind/src/DwarfParser.hpp |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| libunwind::CFI_Parser::PrologInfoStackEntry::PrologInfoStackEntry |
|
1 |
2 |
23 |
2 |
| libunwind::CFI_Parser<A>::decodeFDE |
|
8 |
46 |
307 |
4 |
| libunwind::CFI_Parser<A>::findFDE |
|
14 |
62 |
400 |
7 |
| libunwind::CFI_Parser<A>::parseCIE |
|
15 |
74 |
473 |
3 |
| libunwind::CFI_Parser<A>::parseFDEInstructions |
|
2 |
13 |
109 |
5 |
| libunwind::CFI_Parser<A>::parseInstructions |
|
83 |
358 |
2045 |
7 |
| Source file: ./lib/libutil/readlabel.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| readlabelfs |
|
20 |
78 |
529 |
2 |
| Source file: ./lib/libutil/duid.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| isduid |
|
10 |
14 |
107 |
2 |
| Source file: ./lib/libutil/pidfile.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pidfile |
|
7 |
41 |
234 |
1 |
| pidfile_cleanup |
|
3 |
5 |
26 |
1 |
| Source file: ./lib/libutil/uucplock.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| uu_lock |
|
11 |
45 |
332 |
1 |
| uu_lock_txfr |
|
4 |
16 |
116 |
2 |
| uu_unlock |
|
1 |
6 |
44 |
1 |
| uu_lockerr |
|
10 |
37 |
133 |
1 |
| put_pid |
|
4 |
11 |
80 |
2 |
| get_pid |
|
3 |
15 |
92 |
2 |
| Source file: ./lib/libutil/util.h |
| Source file: ./lib/libutil/login_fbtab.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| login_fbtab |
|
18 |
44 |
356 |
3 |
| login_protect |
|
12 |
40 |
292 |
4 |
| Source file: ./lib/libutil/pkcs5_pbkdf2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| hmac_sha1 |
|
4 |
31 |
226 |
5 |
| pkcs5_pbkdf2 |
|
9 |
39 |
361 |
7 |
| Source file: ./lib/libutil/opendev.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| opendev |
|
17 |
53 |
360 |
4 |
| Source file: ./lib/libutil/fparseln.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| isescaped |
|
4 |
10 |
68 |
3 |
| fparseln |
|
38 |
81 |
572 |
5 |
| main |
|
2 |
12 |
65 |
2 |
| Source file: ./lib/libutil/logwtmp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| logwtmp |
|
4 |
18 |
175 |
3 |
| Source file: ./lib/libutil/pty.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| getptmfd |
|
1 |
4 |
18 |
1 |
| openpty |
|
3 |
13 |
91 |
5 |
| fdopenpty |
|
5 |
20 |
135 |
6 |
| forkpty |
|
3 |
13 |
92 |
4 |
| fdforkpty |
|
4 |
21 |
136 |
5 |
| Source file: ./lib/libutil/check_expire.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| login_check_expire |
|
14 |
77 |
424 |
4 |
| pwd_update |
|
5 |
23 |
130 |
2 |
| Source file: ./lib/libutil/getmaxpartitions.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| getmaxpartitions |
|
2 |
11 |
73 |
1 |
| Source file: ./lib/libutil/opendisk.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| opendisk |
|
12 |
29 |
241 |
5 |
| Source file: ./lib/libutil/getrawpartition.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| getrawpartition |
|
2 |
11 |
73 |
1 |
| Source file: ./lib/libutil/imsg.h |
| Source file: ./lib/libutil/login.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| login |
|
8 |
24 |
226 |
1 |
| Source file: ./lib/libutil/login_tty.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| login_tty |
|
3 |
12 |
87 |
1 |
| Source file: ./lib/libutil/fmt_scaled.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| scan_scaled |
|
32 |
106 |
557 |
2 |
| fmt_scaled |
|
15 |
44 |
274 |
2 |
| main |
|
3 |
14 |
95 |
2 |
| Source file: ./lib/libunwind/src/Registers.hpp |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| libunwind::_LIBUNWIND_HIDDENRegisters_x86::validFloatRegister |
|
1 |
1 |
10 |
1 |
| libunwind::_LIBUNWIND_HIDDENRegisters_x86::validVectorRegister |
|
1 |
1 |
10 |
1 |
| libunwind::_LIBUNWIND_HIDDENRegisters_x86::lastDwarfRegNum |
|
1 |
1 |
8 |
0 |
| libunwind::_LIBUNWIND_HIDDENRegisters_x86::getSP |
|
1 |
1 |
11 |
0 |
| libunwind::_LIBUNWIND_HIDDENRegisters_x86::setSP |
|
1 |
1 |
13 |
1 |
| libunwind::_LIBUNWIND_HIDDENRegisters_x86::getIP |
|
1 |
1 |
11 |
0 |
| libunwind::_LIBUNWIND_HIDDENRegisters_x86::setIP |
|
1 |
1 |
13 |
1 |
| libunwind::_LIBUNWIND_HIDDENRegisters_x86::getEBP |
|
1 |
1 |
11 |
0 |
| libunwind::_LIBUNWIND_HIDDENRegisters_x86::setEBP |
|
1 |
1 |
13 |
1 |
| libunwind::_LIBUNWIND_HIDDENRegisters_x86::getEBX |
|
1 |
1 |
11 |
0 |
| libunwind::_LIBUNWIND_HIDDENRegisters_x86::setEBX |
|
1 |
1 |
13 |
1 |
| libunwind::_LIBUNWIND_HIDDENRegisters_x86::getECX |
|
1 |
1 |
11 |
0 |
| libunwind::_LIBUNWIND_HIDDENRegisters_x86::setECX |
|
1 |
1 |
13 |
1 |
| libunwind::_LIBUNWIND_HIDDENRegisters_x86::getEDX |
|
1 |
1 |
11 |
0 |
| libunwind::_LIBUNWIND_HIDDENRegisters_x86::setEDX |
|
1 |
1 |
13 |
1 |
| libunwind::_LIBUNWIND_HIDDENRegisters_x86::getESI |
|
1 |
1 |
11 |
0 |
| libunwind::_LIBUNWIND_HIDDENRegisters_x86::setESI |
|
1 |
1 |
13 |
1 |
| libunwind::_LIBUNWIND_HIDDENRegisters_x86::getEDI |
|
1 |
1 |
11 |
0 |
| libunwind::_LIBUNWIND_HIDDENRegisters_x86::setEDI |
|
1 |
1 |
13 |
1 |
| libunwind::_LIBUNWIND_HIDDENRegisters_x86::getWCookie |
|
1 |
1 |
9 |
0 |
| libunwind::Registers_x86::Registers_x86 |
|
1 |
5 |
40 |
1 |
| libunwind::Registers_x86::Registers_x86 |
|
1 |
3 |
20 |
0 |
| libunwind::Registers_x86::validRegister |
|
5 |
11 |
49 |
1 |
| libunwind::Registers_x86::getRegister |
|
11 |
25 |
101 |
1 |
| libunwind::Registers_x86::setRegister |
|
11 |
35 |
133 |
2 |
| libunwind::Registers_x86::getRegisterName |
|
11 |
26 |
80 |
1 |
| libunwind::Registers_x86::getFloatRegister |
|
1 |
3 |
14 |
1 |
| libunwind::Registers_x86::setFloatRegister |
|
1 |
3 |
15 |
2 |
| libunwind::Registers_x86::getVectorRegister |
|
1 |
3 |
14 |
1 |
| libunwind::Registers_x86::setVectorRegister |
|
1 |
3 |
15 |
2 |
| libunwind::_LIBUNWIND_HIDDENRegisters_x86_64::validFloatRegister |
|
1 |
1 |
10 |
1 |
| libunwind::_LIBUNWIND_HIDDENRegisters_x86_64::validVectorRegister |
|
1 |
1 |
10 |
1 |
| libunwind::_LIBUNWIND_HIDDENRegisters_x86_64::lastDwarfRegNum |
|
1 |
1 |
8 |
0 |
| libunwind::_LIBUNWIND_HIDDENRegisters_x86_64::getSP |
|
1 |
1 |
11 |
0 |
| libunwind::_LIBUNWIND_HIDDENRegisters_x86_64::setSP |
|
1 |
1 |
13 |
1 |
| libunwind::_LIBUNWIND_HIDDENRegisters_x86_64::getIP |
|
1 |
1 |
11 |
0 |
| libunwind::_LIBUNWIND_HIDDENRegisters_x86_64::setIP |
|
1 |
1 |
13 |
1 |
| libunwind::_LIBUNWIND_HIDDENRegisters_x86_64::getRBP |
|
1 |
1 |
11 |
0 |
| libunwind::_LIBUNWIND_HIDDENRegisters_x86_64::setRBP |
|
1 |
1 |
13 |
1 |
| libunwind::_LIBUNWIND_HIDDENRegisters_x86_64::getRBX |
|
1 |
1 |
11 |
0 |
| libunwind::_LIBUNWIND_HIDDENRegisters_x86_64::setRBX |
|
1 |
1 |
13 |
1 |
| libunwind::_LIBUNWIND_HIDDENRegisters_x86_64::getR12 |
|
1 |
1 |
11 |
0 |
| libunwind::_LIBUNWIND_HIDDENRegisters_x86_64::setR12 |
|
1 |
1 |
13 |
1 |
| libunwind::_LIBUNWIND_HIDDENRegisters_x86_64::getR13 |
|
1 |
1 |
11 |
0 |
| libunwind::_LIBUNWIND_HIDDENRegisters_x86_64::setR13 |
|
1 |
1 |
13 |
1 |
| libunwind::_LIBUNWIND_HIDDENRegisters_x86_64::getR14 |
|
1 |
1 |
11 |
0 |
| libunwind::_LIBUNWIND_HIDDENRegisters_x86_64::setR14 |
|
1 |
1 |
13 |
1 |
| libunwind::_LIBUNWIND_HIDDENRegisters_x86_64::getR15 |
|
1 |
1 |
11 |
0 |
| libunwind::_LIBUNWIND_HIDDENRegisters_x86_64::setR15 |
|
1 |
1 |
13 |
1 |
| libunwind::_LIBUNWIND_HIDDENRegisters_x86_64::getWCookie |
|
1 |
1 |
9 |
0 |
| libunwind::Registers_x86_64::Registers_x86_64 |
|
1 |
5 |
40 |
1 |
| libunwind::Registers_x86_64::Registers_x86_64 |
|
1 |
3 |
20 |
0 |
| libunwind::Registers_x86_64::validRegister |
|
5 |
11 |
49 |
1 |
| libunwind::Registers_x86_64::getRegister |
|
19 |
41 |
165 |
1 |
| libunwind::Registers_x86_64::setRegister |
|
19 |
59 |
221 |
2 |
| libunwind::Registers_x86_64::getRegisterName |
|
19 |
42 |
128 |
1 |
| libunwind::Registers_x86_64::getFloatRegister |
|
1 |
3 |
14 |
1 |
| libunwind::Registers_x86_64::setFloatRegister |
|
1 |
3 |
15 |
2 |
| libunwind::Registers_x86_64::getVectorRegister |
|
1 |
3 |
14 |
1 |
| libunwind::Registers_x86_64::setVectorRegister |
|
1 |
3 |
15 |
2 |
| libunwind::_LIBUNWIND_HIDDENRegisters_ppc::lastDwarfRegNum |
|
1 |
1 |
8 |
0 |
| libunwind::_LIBUNWIND_HIDDENRegisters_ppc::getSP |
|
1 |
1 |
11 |
0 |
| libunwind::_LIBUNWIND_HIDDENRegisters_ppc::setSP |
|
1 |
1 |
13 |
1 |
| libunwind::_LIBUNWIND_HIDDENRegisters_ppc::getIP |
|
1 |
1 |
11 |
0 |
| libunwind::_LIBUNWIND_HIDDENRegisters_ppc::setIP |
|
1 |
1 |
13 |
1 |
| libunwind::_LIBUNWIND_HIDDENRegisters_ppc::getWCookie |
|
1 |
1 |
9 |
0 |
| libunwind::Registers_ppc::Registers_ppc |
|
1 |
17 |
133 |
1 |
| libunwind::Registers_ppc::Registers_ppc |
|
1 |
5 |
46 |
0 |
| libunwind::Registers_ppc::validRegister |
|
11 |
21 |
102 |
1 |
| libunwind::Registers_ppc::getRegister |
|
45 |
93 |
405 |
1 |
| libunwind::Registers_ppc::setRegister |
|
51 |
159 |
633 |
2 |
| libunwind::Registers_ppc::validFloatRegister |
|
3 |
7 |
31 |
1 |
| libunwind::Registers_ppc::getFloatRegister |
|
1 |
4 |
28 |
1 |
| libunwind::Registers_ppc::setFloatRegister |
|
1 |
4 |
31 |
2 |
| libunwind::Registers_ppc::validVectorRegister |
|
3 |
7 |
31 |
1 |
| libunwind::Registers_ppc::getVectorRegister |
|
1 |
5 |
31 |
1 |
| libunwind::Registers_ppc::setVectorRegister |
|
1 |
4 |
29 |
2 |
| libunwind::Registers_ppc::getRegisterName |
|
68 |
140 |
422 |
1 |
| libunwind::_LIBUNWIND_HIDDENRegisters_arm64::lastDwarfRegNum |
|
1 |
1 |
8 |
0 |
| libunwind::_LIBUNWIND_HIDDENRegisters_arm64::getSP |
|
1 |
1 |
11 |
0 |
| libunwind::_LIBUNWIND_HIDDENRegisters_arm64::setSP |
|
1 |
1 |
13 |
1 |
| libunwind::_LIBUNWIND_HIDDENRegisters_arm64::getIP |
|
1 |
1 |
11 |
0 |
| libunwind::_LIBUNWIND_HIDDENRegisters_arm64::setIP |
|
1 |
1 |
13 |
1 |
| libunwind::_LIBUNWIND_HIDDENRegisters_arm64::getFP |
|
1 |
1 |
11 |
0 |
| libunwind::_LIBUNWIND_HIDDENRegisters_arm64::setFP |
|
1 |
1 |
13 |
1 |
| libunwind::_LIBUNWIND_HIDDENRegisters_arm64::getWCookie |
|
1 |
1 |
9 |
0 |
| libunwind::Registers_arm64::Registers_arm64 |
|
1 |
10 |
77 |
1 |
| libunwind::Registers_arm64::Registers_arm64 |
|
1 |
4 |
33 |
0 |
| libunwind::Registers_arm64::validRegister |
|
7 |
13 |
66 |
1 |
| libunwind::Registers_arm64::getRegister |
|
5 |
9 |
59 |
1 |
| libunwind::Registers_arm64::setRegister |
|
5 |
10 |
67 |
2 |
| libunwind::Registers_arm64::getRegisterName |
|
67 |
138 |
416 |
1 |
| libunwind::Registers_arm64::validFloatRegister |
|
3 |
7 |
31 |
1 |
| libunwind::Registers_arm64::getFloatRegister |
|
1 |
4 |
26 |
1 |
| libunwind::Registers_arm64::setFloatRegister |
|
1 |
4 |
29 |
2 |
| libunwind::Registers_arm64::validVectorRegister |
|
1 |
3 |
12 |
1 |
| libunwind::Registers_arm64::getVectorRegister |
|
1 |
3 |
14 |
1 |
| libunwind::Registers_arm64::setVectorRegister |
|
1 |
3 |
15 |
2 |
| libunwind::_LIBUNWIND_HIDDENRegisters_arm::jumpto |
|
1 |
4 |
13 |
0 |
| libunwind::_LIBUNWIND_HIDDENRegisters_arm::getSP |
|
1 |
1 |
11 |
0 |
| libunwind::_LIBUNWIND_HIDDENRegisters_arm::setSP |
|
1 |
1 |
13 |
1 |
| libunwind::_LIBUNWIND_HIDDENRegisters_arm::getIP |
|
1 |
1 |
11 |
0 |
| libunwind::_LIBUNWIND_HIDDENRegisters_arm::setIP |
|
1 |
1 |
13 |
1 |
| libunwind::_LIBUNWIND_HIDDENRegisters_arm::getWCookie |
|
1 |
1 |
9 |
0 |
| libunwind::_LIBUNWIND_HIDDENRegisters_arm::saveVFPAsX |
|
2 |
4 |
17 |
0 |
| libunwind::_LIBUNWIND_HIDDENRegisters_arm::restoreSavedFloatRegisters |
|
7 |
14 |
53 |
0 |
| libunwind::Registers_arm::Registers_arm |
|
2 |
14 |
115 |
1 |
| libunwind::Registers_arm::Registers_arm |
|
2 |
12 |
95 |
0 |
| libunwind::Registers_arm::validRegister |
|
8 |
11 |
57 |
1 |
| libunwind::Registers_arm::getRegister |
|
12 |
18 |
109 |
1 |
| libunwind::Registers_arm::setRegister |
|
12 |
27 |
135 |
2 |
| libunwind::Registers_arm::getRegisterName |
|
83 |
168 |
506 |
1 |
| libunwind::Registers_arm::validFloatRegister |
|
5 |
5 |
39 |
1 |
| libunwind::Registers_arm::getFloatRegister |
|
12 |
27 |
132 |
1 |
| libunwind::Registers_arm::setFloatRegister |
|
12 |
30 |
144 |
2 |
| libunwind::Registers_arm::validVectorRegister |
|
1 |
3 |
12 |
1 |
| libunwind::Registers_arm::getVectorRegister |
|
1 |
3 |
14 |
1 |
| libunwind::Registers_arm::setVectorRegister |
|
1 |
3 |
15 |
2 |
| libunwind::_LIBUNWIND_HIDDENRegisters_or1k::lastDwarfRegNum |
|
1 |
1 |
8 |
0 |
| libunwind::_LIBUNWIND_HIDDENRegisters_or1k::getSP |
|
1 |
1 |
14 |
0 |
| libunwind::_LIBUNWIND_HIDDENRegisters_or1k::setSP |
|
1 |
1 |
16 |
1 |
| libunwind::_LIBUNWIND_HIDDENRegisters_or1k::getIP |
|
1 |
1 |
14 |
0 |
| libunwind::_LIBUNWIND_HIDDENRegisters_or1k::setIP |
|
1 |
1 |
16 |
1 |
| libunwind::_LIBUNWIND_HIDDENRegisters_or1k::getWCookie |
|
1 |
1 |
9 |
0 |
| libunwind::Registers_or1k::Registers_or1k |
|
1 |
6 |
48 |
1 |
| libunwind::Registers_or1k::Registers_or1k |
|
1 |
3 |
20 |
0 |
| libunwind::Registers_or1k::validRegister |
|
5 |
11 |
49 |
1 |
| libunwind::Registers_or1k::getRegister |
|
5 |
11 |
63 |
1 |
| libunwind::Registers_or1k::setRegister |
|
5 |
15 |
76 |
2 |
| libunwind::Registers_or1k::validFloatRegister |
|
1 |
3 |
12 |
1 |
| libunwind::Registers_or1k::getFloatRegister |
|
1 |
3 |
14 |
1 |
| libunwind::Registers_or1k::setFloatRegister |
|
1 |
4 |
15 |
2 |
| libunwind::Registers_or1k::validVectorRegister |
|
1 |
3 |
12 |
1 |
| libunwind::Registers_or1k::getVectorRegister |
|
1 |
3 |
14 |
1 |
| libunwind::Registers_or1k::setVectorRegister |
|
1 |
3 |
15 |
2 |
| libunwind::Registers_or1k::getRegisterName |
|
33 |
70 |
212 |
1 |
| libunwind::_LIBUNWIND_HIDDENRegisters_sparc64::lastDwarfRegNum |
|
1 |
1 |
8 |
0 |
| libunwind::_LIBUNWIND_HIDDENRegisters_sparc64::getSP |
|
1 |
1 |
16 |
0 |
| libunwind::_LIBUNWIND_HIDDENRegisters_sparc64::setSP |
|
1 |
1 |
18 |
1 |
| libunwind::_LIBUNWIND_HIDDENRegisters_sparc64::getIP |
|
1 |
1 |
14 |
0 |
| libunwind::_LIBUNWIND_HIDDENRegisters_sparc64::setIP |
|
1 |
1 |
16 |
1 |
| libunwind::_LIBUNWIND_HIDDENRegisters_sparc64::getWCookie |
|
1 |
1 |
9 |
0 |
| libunwind::Registers_sparc64::Registers_sparc64 |
|
1 |
8 |
74 |
1 |
| libunwind::Registers_sparc64::Registers_sparc64 |
|
1 |
4 |
24 |
0 |
| libunwind::Registers_sparc64::validRegister |
|
5 |
11 |
49 |
1 |
| libunwind::Registers_sparc64::getRegister |
|
11 |
17 |
125 |
1 |
| libunwind::Registers_sparc64::setRegister |
|
11 |
27 |
153 |
2 |
| libunwind::Registers_sparc64::validFloatRegister |
|
1 |
3 |
12 |
1 |
| libunwind::Registers_sparc64::getFloatRegister |
|
1 |
3 |
14 |
1 |
| libunwind::Registers_sparc64::setFloatRegister |
|
1 |
3 |
15 |
2 |
| libunwind::Registers_sparc64::validVectorRegister |
|
1 |
3 |
12 |
1 |
| libunwind::Registers_sparc64::getVectorRegister |
|
1 |
3 |
14 |
1 |
| libunwind::Registers_sparc64::setVectorRegister |
|
1 |
3 |
15 |
2 |
| libunwind::Registers_sparc64::getRegisterName |
|
1 |
3 |
12 |
1 |
| Source file: ./lib/libutil/passwd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pw_file |
|
3 |
12 |
60 |
1 |
| pw_setdir |
|
4 |
14 |
66 |
1 |
| pw_lock |
|
5 |
17 |
114 |
1 |
| pw_mkdb |
|
13 |
39 |
258 |
2 |
| pw_abort |
|
2 |
4 |
19 |
1 |
| pw_cont |
|
2 |
7 |
30 |
1 |
| pw_init |
|
2 |
21 |
178 |
1 |
| pw_edit |
|
13 |
42 |
249 |
2 |
| pw_prompt |
|
6 |
17 |
82 |
1 |
| pw_equal |
|
9 |
12 |
116 |
2 |
| pw_write_entry |
|
3 |
16 |
165 |
2 |
| pw_copy |
|
22 |
56 |
419 |
4 |
| pw_scan |
|
28 |
72 |
526 |
3 |
| pw_error |
|
4 |
16 |
74 |
3 |
| Source file: ./lib/libutil/logout.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| logout |
|
5 |
20 |
173 |
1 |
| Source file: ./lib/libkeynote/signature.h |
| Source file: ./lib/libkeynote/base64.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| kn_encode_base64 |
|
2 |
12 |
60 |
4 |
| kn_decode_base64 |
|
2 |
11 |
52 |
3 |
| Source file: ./lib/libkeynote/assertion.h |
| Source file: ./lib/libkeynote/sample-app.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
45 |
265 |
1097 |
2 |
| Source file: ./lib/libutil/imsg-buffer.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ibuf_open |
|
3 |
13 |
85 |
1 |
| ibuf_dynamic |
|
4 |
11 |
61 |
2 |
| ibuf_realloc |
|
3 |
14 |
94 |
2 |
| ibuf_add |
|
3 |
9 |
73 |
3 |
| ibuf_reserve |
|
3 |
10 |
66 |
2 |
| ibuf_seek |
|
2 |
6 |
39 |
3 |
| ibuf_size |
|
1 |
4 |
16 |
1 |
| ibuf_left |
|
1 |
4 |
20 |
1 |
| ibuf_close |
|
1 |
4 |
21 |
2 |
| ibuf_write |
|
6 |
29 |
175 |
1 |
| ibuf_free |
|
2 |
7 |
33 |
1 |
| msgbuf_init |
|
1 |
6 |
30 |
1 |
| msgbuf_drain |
|
4 |
15 |
99 |
2 |
| msgbuf_clear |
|
2 |
6 |
37 |
1 |
| msgbuf_write |
|
11 |
54 |
368 |
1 |
| ibuf_enqueue |
|
1 |
5 |
31 |
2 |
| ibuf_dequeue |
|
2 |
8 |
52 |
2 |
| Source file: ./lib/libkeynote/keynote-sign.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| signusage |
|
1 |
6 |
21 |
1 |
| keynote_sign |
|
25 |
130 |
714 |
2 |
| Source file: ./lib/libkeynote/keynote-sigver.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sigverusage |
|
1 |
5 |
20 |
1 |
| keynote_sigver |
|
15 |
92 |
421 |
2 |
| Source file: ./lib/libutil/imsg.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| imsg_init |
|
1 |
9 |
67 |
2 |
| imsg_read |
|
10 |
60 |
432 |
1 |
| imsg_get |
|
9 |
33 |
276 |
2 |
| imsg_compose |
|
3 |
12 |
99 |
7 |
| imsg_composev |
|
5 |
16 |
152 |
7 |
| imsg_create |
|
5 |
22 |
139 |
5 |
| imsg_add |
|
3 |
9 |
53 |
3 |
| imsg_close |
|
2 |
10 |
72 |
2 |
| imsg_free |
|
1 |
4 |
24 |
1 |
| imsg_get_fd |
|
2 |
11 |
67 |
1 |
| imsg_flush |
|
3 |
7 |
40 |
1 |
| imsg_clear |
|
2 |
7 |
39 |
1 |
| Source file: ./lib/libkeynote/keynote.h |
| Source file: ./lib/libkeynote/header.h |
| Source file: ./lib/libkeynote/keynote-main.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mainusage |
|
1 |
10 |
49 |
1 |
| main |
|
6 |
21 |
138 |
2 |
| Source file: ./lib/libkeynote/parse_assertion.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rec_evaluate_query |
|
22 |
107 |
446 |
1 |
| keynote_fix_fields |
|
34 |
77 |
443 |
2 |
| keynote_evaluate_query |
|
13 |
35 |
187 |
1 |
| whichkeyword |
|
9 |
25 |
150 |
2 |
| keynote_parse_assertion |
|
55 |
201 |
1022 |
3 |
| Source file: ./lib/libkeynote/keynote-keygen.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| keygenusage |
|
1 |
7 |
22 |
1 |
| print_space |
|
2 |
5 |
23 |
2 |
| print_key |
|
4 |
24 |
142 |
5 |
| keynote_keygen |
|
43 |
212 |
1241 |
2 |
| Source file: ./lib/libpanel/p_top.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| top_panel |
|
1 |
5 |
27 |
1 |
| Source file: ./lib/libpanel/p_above.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| panel_above |
|
3 |
10 |
52 |
1 |
| Source file: ./lib/libpanel/p_new.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| root_panel |
|
8 |
23 |
133 |
1 |
| new_panel |
|
6 |
22 |
152 |
1 |
| Source file: ./lib/libkeynote/environment.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| keynote_get_action_authorizers |
|
10 |
38 |
227 |
1 |
| keynote_get_values |
|
8 |
32 |
211 |
1 |
| keynote_free_env |
|
4 |
15 |
88 |
1 |
| keynote_env_lookup |
|
7 |
19 |
142 |
3 |
| keynote_env_delete |
|
5 |
29 |
153 |
3 |
| keynote_env_add |
|
9 |
54 |
278 |
5 |
| keynote_env_cleanup |
|
5 |
15 |
88 |
2 |
| keynote_init_environment |
|
3 |
18 |
105 |
1 |
| keynote_retindex |
|
3 |
8 |
48 |
1 |
| keynote_find_session |
|
3 |
11 |
53 |
1 |
| keynote_add_session |
|
2 |
8 |
51 |
1 |
| kn_init |
|
4 |
18 |
84 |
1 |
| kn_cleanup_action_environment |
|
4 |
18 |
85 |
1 |
| kn_close |
|
9 |
42 |
227 |
1 |
| kn_add_action |
|
9 |
28 |
147 |
4 |
| kn_remove_action |
|
8 |
28 |
133 |
2 |
| kn_do_query |
|
11 |
42 |
202 |
3 |
| kn_get_failed |
|
23 |
49 |
260 |
3 |
| kn_query |
|
13 |
52 |
337 |
11 |
| kn_read_asserts |
|
16 |
74 |
426 |
3 |
| kn_get_authorizer |
|
10 |
31 |
161 |
3 |
| kn_get_licensees |
|
10 |
30 |
152 |
2 |
| Source file: ./lib/libkeynote/signature.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bin2hex |
|
2 |
11 |
65 |
3 |
| kn_encode_hex |
|
3 |
17 |
83 |
3 |
| kn_decode_hex |
|
5 |
31 |
175 |
2 |
| keynote_free_key |
|
7 |
28 |
104 |
2 |
| keynote_get_sig_algorithm |
|
10 |
67 |
303 |
4 |
| keynote_get_key_algorithm |
|
9 |
54 |
245 |
3 |
| keynote_get_private_key_algorithm |
|
2 |
13 |
54 |
3 |
| kn_decode_key |
|
35 |
174 |
927 |
3 |
| kn_keycompare |
|
21 |
56 |
329 |
3 |
| keynote_sigverify_assertion |
|
34 |
124 |
719 |
1 |
| keynote_sign_assertion |
|
54 |
213 |
1141 |
5 |
| kn_verify_assertion |
|
2 |
12 |
59 |
2 |
| kn_sign_assertion |
|
13 |
56 |
295 |
5 |
| kn_encode_key |
|
38 |
156 |
771 |
4 |
| Source file: ./lib/libkeynote/keynote-verify.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| verifyusage |
|
1 |
12 |
62 |
1 |
| keynote_verify |
|
53 |
293 |
1475 |
2 |
| Source file: ./lib/libpanel/p_user.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| set_panel_userptr |
|
2 |
8 |
47 |
2 |
| panel_userptr |
|
2 |
5 |
36 |
1 |
| Source file: ./lib/libpanel/p_delete.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| del_panel |
|
2 |
14 |
72 |
1 |
| Source file: ./lib/libpanel/p_bottom.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bottom_panel |
|
4 |
24 |
132 |
1 |
| Source file: ./lib/libpanel/p_move.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| move_panel |
|
3 |
12 |
78 |
3 |
| Source file: ./lib/libpanel/p_below.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| panel_below |
|
4 |
12 |
65 |
1 |
| Source file: ./lib/libpanel/p_update.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| update_panels |
|
4 |
19 |
78 |
1 |
| Source file: ./lib/libpanel/panel.h |
| Source file: ./lib/libpanel/p_show.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| show_panel |
|
3 |
19 |
125 |
1 |
| Source file: ./lib/libpanel/p_hide.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| hide_panel |
|
2 |
12 |
81 |
1 |
| Source file: ./lib/libpanel/panel.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _nc_retrace_panel |
|
1 |
5 |
22 |
1 |
| _nc_my_visbuf |
|
2 |
9 |
43 |
1 |
| _nc_dPanel |
|
3 |
8 |
71 |
2 |
| _nc_dStack |
|
5 |
16 |
105 |
3 |
| _nc_Wnoutrefresh |
|
1 |
5 |
22 |
1 |
| _nc_Touchpan |
|
1 |
5 |
22 |
1 |
| _nc_Touchline |
|
1 |
7 |
49 |
3 |
| _nc_dummy_panel |
|
1 |
3 |
6 |
1 |
| Source file: ./lib/libpanel/p_win.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| panel_window |
|
2 |
5 |
35 |
1 |
| Source file: ./lib/libpanel/p_replace.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| replace_panel |
|
3 |
13 |
71 |
2 |
| Source file: ./lib/libpanel/p_hidden.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| panel_hidden |
|
3 |
7 |
42 |
1 |
| Source file: ./lib/libpanel/panel.priv.h |
| Source file: ./lib/libkeynote/auxil.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| keynote_keyhash |
|
8 |
38 |
250 |
2 |
| keynote_in_action_authorizers |
|
10 |
30 |
158 |
2 |
| keynote_keylist_add |
|
4 |
27 |
129 |
2 |
| kn_remove_authorizer |
|
8 |
40 |
198 |
2 |
| kn_add_authorizer |
|
6 |
28 |
114 |
2 |
| keynote_keylist_find |
|
3 |
7 |
44 |
2 |
| keynote_keylist_free |
|
2 |
12 |
55 |
1 |
| kn_free_key |
|
2 |
5 |
24 |
1 |
| keynote_find_assertion |
|
11 |
22 |
142 |
3 |
| keynote_add_htable |
|
4 |
23 |
104 |
2 |
| kn_add_assertion |
|
9 |
36 |
173 |
4 |
| keynote_remove_assertion |
|
11 |
39 |
191 |
3 |
| kn_remove_assertion |
|
1 |
5 |
24 |
2 |
| keynote_sremove_assertion |
|
1 |
4 |
20 |
2 |
| keynote_free_assertion |
|
5 |
14 |
90 |
1 |
| keynote_stringhash |
|
5 |
14 |
96 |
2 |
| Source file: ./lib/libtls/tls_peer.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tls_peer_cert_hash |
|
2 |
6 |
31 |
1 |
| tls_peer_cert_issuer |
|
2 |
6 |
31 |
1 |
| tls_peer_cert_subject |
|
2 |
6 |
31 |
1 |
| tls_peer_cert_provided |
|
1 |
4 |
18 |
1 |
| tls_peer_cert_contains_name |
|
3 |
9 |
59 |
2 |
| tls_peer_cert_notbefore |
|
3 |
8 |
46 |
1 |
| tls_peer_cert_notafter |
|
3 |
8 |
46 |
1 |
| tls_peer_cert_chain_pem |
|
3 |
9 |
57 |
2 |
| Source file: ./lib/libtls/tls_verify.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tls_match_name |
|
12 |
28 |
190 |
2 |
| tls_check_subject_altname |
|
19 |
87 |
474 |
5 |
| tls_check_common_name |
|
10 |
41 |
230 |
4 |
| tls_check_name |
|
4 |
11 |
75 |
4 |
| Source file: ./lib/libtls/tls_conninfo.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tls_hex_string |
|
6 |
23 |
173 |
4 |
| tls_get_peer_cert_hash |
|
3 |
12 |
66 |
2 |
| tls_get_peer_cert_issuer |
|
4 |
13 |
89 |
2 |
| tls_get_peer_cert_subject |
|
4 |
13 |
89 |
2 |
| tls_get_peer_cert_times |
|
9 |
27 |
217 |
3 |
| tls_get_peer_cert_info |
|
6 |
17 |
122 |
1 |
| tls_conninfo_alpn_proto |
|
3 |
15 |
111 |
1 |
| tls_conninfo_cert_pem |
|
9 |
32 |
226 |
1 |
| tls_conninfo_populate |
|
11 |
35 |
235 |
1 |
| tls_conninfo_free |
|
2 |
23 |
132 |
1 |
| tls_conn_alpn_selected |
|
2 |
6 |
31 |
1 |
| tls_conn_cipher |
|
2 |
6 |
31 |
1 |
| tls_conn_servername |
|
2 |
6 |
31 |
1 |
| tls_conn_version |
|
2 |
6 |
31 |
1 |
| Source file: ./lib/libtls/tls_ocsp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tls_ocsp_new |
|
1 |
4 |
20 |
1 |
| tls_ocsp_free |
|
2 |
12 |
61 |
1 |
| tls_ocsp_asn1_parse_time |
|
4 |
12 |
79 |
3 |
| tls_ocsp_fill_info |
|
10 |
47 |
294 |
7 |
| tls_ocsp_get_certid |
|
7 |
28 |
176 |
3 |
| tls_ocsp_setup_from_peer |
|
5 |
29 |
166 |
1 |
| tls_ocsp_verify_response |
|
10 |
58 |
347 |
2 |
| tls_ocsp_process_response_internal |
|
2 |
16 |
86 |
3 |
| tls_ocsp_verify_cb |
|
8 |
23 |
159 |
2 |
| tls_ocsp_stapling_cb |
|
8 |
23 |
151 |
2 |
| tls_peer_ocsp_url |
|
2 |
6 |
27 |
1 |
| tls_peer_ocsp_result |
|
3 |
8 |
42 |
1 |
| tls_peer_ocsp_response_status |
|
3 |
8 |
44 |
1 |
| tls_peer_ocsp_cert_status |
|
3 |
8 |
44 |
1 |
| tls_peer_ocsp_crl_reason |
|
3 |
8 |
44 |
1 |
| tls_peer_ocsp_this_update |
|
3 |
8 |
44 |
1 |
| tls_peer_ocsp_next_update |
|
3 |
8 |
44 |
1 |
| tls_peer_ocsp_revocation_time |
|
3 |
8 |
44 |
1 |
| tls_ocsp_process_response |
|
2 |
7 |
44 |
3 |
| Source file: ./lib/libtls/tls_bio_cb.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bio_s_cb |
|
1 |
4 |
12 |
1 |
| bio_cb_puts |
|
1 |
4 |
28 |
2 |
| bio_cb_ctrl |
|
8 |
21 |
96 |
4 |
| bio_cb_write |
|
3 |
15 |
94 |
3 |
| bio_cb_read |
|
3 |
15 |
93 |
3 |
| tls_set_cbs |
|
4 |
23 |
130 |
4 |
| Source file: ./lib/libtls/tls_util.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tls_host_port |
|
8 |
36 |
224 |
3 |
| tls_password_cb |
|
4 |
13 |
84 |
4 |
| tls_load_file |
|
15 |
57 |
374 |
3 |
| tls_unload_file |
|
1 |
4 |
18 |
2 |
| Source file: ./lib/libtls/tls.h |
| Source file: ./lib/libtls/tls_client.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tls_client |
|
2 |
8 |
39 |
1 |
| tls_connect |
|
1 |
4 |
31 |
3 |
| tls_connect_servername |
|
17 |
74 |
499 |
4 |
| tls_connect_common |
|
20 |
67 |
424 |
2 |
| tls_connect_socket |
|
1 |
4 |
29 |
3 |
| tls_connect_fds |
|
6 |
19 |
109 |
4 |
| tls_connect_cbs |
|
3 |
12 |
73 |
5 |
| tls_handshake_client |
|
8 |
39 |
222 |
1 |
| Source file: ./lib/libtls/tls_internal.h |
| Source file: ./lib/libm/hidden/fenv.h |
| Source file: ./lib/libm/hidden/namespace.h |
| Source file: ./lib/libm/hidden/math.h |
| Source file: ./lib/libm/hidden/complex.h |
| Source file: ./lib/libm/noieee_src/n_log10.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| log10 |
|
2 |
5 |
27 |
1 |
| Source file: ./lib/libm/noieee_src/n_floor.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| floor |
|
5 |
13 |
70 |
1 |
| ceil |
|
5 |
13 |
70 |
1 |
| floorf |
|
5 |
13 |
70 |
1 |
| ceilf |
|
5 |
13 |
70 |
1 |
| rint |
|
3 |
13 |
72 |
1 |
| rintf |
|
3 |
13 |
72 |
1 |
| Source file: ./lib/libm/noieee_src/n_acosh.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| acosh |
|
3 |
9 |
84 |
1 |
| Source file: ./lib/libm/noieee_src/n_cosh.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cosh |
|
7 |
18 |
193 |
1 |
| Source file: ./lib/libm/noieee_src/n_expm1.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| expm1 |
|
12 |
39 |
348 |
1 |
| Source file: ./lib/libtls/tls_config.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| set_string |
|
3 |
9 |
56 |
2 |
| memdup |
|
2 |
8 |
44 |
2 |
| set_mem |
|
3 |
11 |
70 |
4 |
| tls_keypair_new |
|
1 |
4 |
18 |
1 |
| tls_keypair_clear_key |
|
1 |
6 |
32 |
1 |
| tls_keypair_set_cert_file |
|
1 |
6 |
39 |
3 |
| tls_keypair_set_cert_mem |
|
1 |
5 |
35 |
3 |
| tls_keypair_set_key_file |
|
1 |
7 |
44 |
3 |
| tls_keypair_set_key_mem |
|
1 |
6 |
40 |
3 |
| tls_keypair_set_ocsp_staple_file |
|
1 |
6 |
39 |
3 |
| tls_keypair_set_ocsp_staple_mem |
|
1 |
6 |
35 |
3 |
| tls_keypair_clear |
|
1 |
5 |
27 |
1 |
| tls_keypair_free |
|
2 |
11 |
55 |
1 |
| tls_config_load_file |
|
8 |
43 |
255 |
5 |
| tls_config_new |
|
9 |
31 |
205 |
1 |
| tls_config_free |
|
4 |
20 |
137 |
1 |
| tls_config_keypair_add |
|
2 |
8 |
45 |
2 |
| tls_config_error |
|
1 |
4 |
16 |
1 |
| tls_config_clear_keys |
|
2 |
8 |
55 |
1 |
| tls_config_parse_protocols |
|
19 |
48 |
293 |
2 |
| tls_config_parse_alpn |
|
7 |
48 |
275 |
4 |
| tls_config_set_alpn |
|
1 |
5 |
32 |
2 |
| tls_config_add_keypair_file_internal |
|
6 |
20 |
133 |
4 |
| tls_config_add_keypair_mem_internal |
|
6 |
20 |
133 |
7 |
| tls_config_add_keypair_mem |
|
1 |
6 |
43 |
5 |
| tls_config_add_keypair_file |
|
1 |
6 |
31 |
3 |
| tls_config_add_keypair_ocsp_mem |
|
1 |
7 |
51 |
7 |
| tls_config_add_keypair_ocsp_file |
|
1 |
6 |
36 |
4 |
| tls_config_set_ca_file |
|
1 |
5 |
37 |
2 |
| tls_config_set_ca_path |
|
1 |
4 |
25 |
2 |
| tls_config_set_ca_mem |
|
1 |
4 |
35 |
3 |
| tls_config_set_cert_file |
|
1 |
5 |
29 |
2 |
| tls_config_set_cert_mem |
|
1 |
5 |
29 |
3 |
| tls_config_set_ciphers |
|
10 |
28 |
184 |
2 |
| tls_config_set_crl_file |
|
1 |
5 |
37 |
2 |
| tls_config_set_crl_mem |
|
1 |
5 |
35 |
3 |
| tls_config_set_dheparams |
|
5 |
16 |
98 |
2 |
| tls_config_set_ecdhecurve |
|
6 |
13 |
87 |
2 |
| tls_config_set_ecdhecurves |
|
11 |
49 |
288 |
2 |
| tls_config_set_key_file |
|
1 |
5 |
29 |
2 |
| tls_config_set_key_mem |
|
1 |
5 |
29 |
3 |
| tls_config_set_keypair_file_internal |
|
6 |
14 |
101 |
4 |
| tls_config_set_keypair_mem_internal |
|
5 |
13 |
103 |
7 |
| tls_config_set_keypair_file |
|
1 |
6 |
31 |
3 |
| tls_config_set_keypair_mem |
|
1 |
6 |
43 |
5 |
| tls_config_set_keypair_ocsp_file |
|
1 |
6 |
36 |
4 |
| tls_config_set_keypair_ocsp_mem |
|
1 |
7 |
51 |
7 |
| tls_config_set_protocols |
|
1 |
5 |
23 |
2 |
| tls_config_set_verify_depth |
|
1 |
5 |
23 |
2 |
| tls_config_prefer_ciphers_client |
|
1 |
4 |
15 |
1 |
| tls_config_prefer_ciphers_server |
|
1 |
4 |
15 |
1 |
| tls_config_insecure_noverifycert |
|
1 |
4 |
15 |
1 |
| tls_config_insecure_noverifyname |
|
1 |
4 |
15 |
1 |
| tls_config_insecure_noverifytime |
|
1 |
4 |
15 |
1 |
| tls_config_verify |
|
1 |
6 |
27 |
1 |
| tls_config_ocsp_require_stapling |
|
1 |
4 |
15 |
1 |
| tls_config_verify_client |
|
1 |
4 |
15 |
1 |
| tls_config_verify_client_optional |
|
1 |
4 |
15 |
1 |
| tls_config_skip_private_key_check |
|
1 |
4 |
15 |
1 |
| tls_config_set_ocsp_staple_file |
|
1 |
5 |
29 |
2 |
| tls_config_set_ocsp_staple_mem |
|
1 |
5 |
29 |
3 |
| tls_config_set_session_id |
|
2 |
11 |
71 |
3 |
| tls_config_set_session_lifetime |
|
4 |
13 |
69 |
2 |
| tls_config_add_ticket_key |
|
8 |
36 |
319 |
4 |
| tls_config_ticket_autorekey |
|
1 |
10 |
59 |
1 |
| Source file: ./lib/libtls/tls.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tls_init |
|
4 |
15 |
75 |
1 |
| tls_error |
|
1 |
4 |
16 |
1 |
| tls_error_clear |
|
1 |
7 |
34 |
1 |
| tls_error_vset |
|
4 |
24 |
142 |
4 |
| tls_error_set |
|
1 |
10 |
58 |
3 |
| tls_error_setx |
|
1 |
9 |
53 |
3 |
| tls_config_set_error |
|
1 |
10 |
61 |
3 |
| tls_config_set_errorx |
|
1 |
9 |
56 |
3 |
| tls_set_error |
|
1 |
10 |
61 |
3 |
| tls_set_errorx |
|
1 |
9 |
56 |
3 |
| tls_set_ssl_errorx |
|
2 |
11 |
71 |
3 |
| tls_sni_ctx_new |
|
1 |
4 |
20 |
1 |
| tls_sni_ctx_free |
|
2 |
8 |
36 |
1 |
| tls_new |
|
3 |
12 |
67 |
1 |
| tls_configure |
|
3 |
12 |
75 |
2 |
| tls_cert_hash |
|
4 |
18 |
116 |
2 |
| tls_keypair_pubkey_hash |
|
6 |
28 |
183 |
2 |
| tls_configure_ssl_keypair |
|
17 |
64 |
360 |
4 |
| tls_configure_ssl |
|
9 |
39 |
257 |
2 |
| tls_ssl_cert_verify_cb |
|
4 |
17 |
97 |
2 |
| tls_configure_ssl_verify |
|
17 |
75 |
473 |
3 |
| tls_free |
|
2 |
7 |
27 |
1 |
| tls_reset |
|
2 |
32 |
206 |
1 |
| tls_ssl_error |
|
15 |
42 |
246 |
4 |
| tls_handshake |
|
8 |
28 |
187 |
1 |
| tls_read |
|
5 |
23 |
145 |
3 |
| tls_write |
|
5 |
23 |
146 |
3 |
| tls_close |
|
14 |
45 |
254 |
1 |
| Source file: ./lib/libm/noieee_src/n_pow.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pow |
|
20 |
33 |
290 |
2 |
| pow_P |
|
11 |
37 |
256 |
2 |
| Source file: ./lib/libm/noieee_src/mathimpl.h |
| Source file: ./lib/libm/noieee_src/n_tanh.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tanh |
|
6 |
22 |
199 |
1 |
| Source file: ./lib/libm/noieee_src/n_log1p.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| log1p |
|
10 |
35 |
307 |
1 |
| Source file: ./lib/libm/noieee_src/n_log__L.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __log__L |
|
2 |
5 |
99 |
1 |
| Source file: ./lib/libtls/tls_server.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tls_server |
|
2 |
8 |
39 |
1 |
| tls_server_conn |
|
2 |
11 |
67 |
1 |
| tls_server_alpn_cb |
|
2 |
10 |
82 |
6 |
| tls_servername_cb |
|
9 |
35 |
237 |
3 |
| tls_server_ticket_key |
|
8 |
25 |
163 |
2 |
| tls_server_ticket_cb |
|
6 |
33 |
253 |
6 |
| tls_keypair_load_cert |
|
5 |
30 |
172 |
3 |
| tls_configure_server_ssl |
|
19 |
71 |
461 |
3 |
| tls_configure_server_sni |
|
6 |
24 |
173 |
1 |
| tls_configure_server |
|
3 |
11 |
59 |
1 |
| tls_accept_common |
|
5 |
24 |
134 |
1 |
| tls_accept_socket |
|
1 |
4 |
31 |
3 |
| tls_accept_fds |
|
4 |
17 |
105 |
4 |
| tls_accept_cbs |
|
3 |
15 |
91 |
5 |
| tls_handshake_server |
|
3 |
19 |
104 |
1 |
| Source file: ./lib/libm/noieee_src/n_exp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| exp |
|
6 |
22 |
201 |
1 |
| __exp__D |
|
6 |
24 |
212 |
2 |
| Source file: ./lib/libm/noieee_src/n_lgamma.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| lgamma |
|
9 |
23 |
148 |
1 |
| lgammaf |
|
1 |
4 |
13 |
1 |
| gamma |
|
1 |
4 |
13 |
1 |
| gammaf |
|
1 |
4 |
13 |
1 |
| large_lgam |
|
4 |
28 |
286 |
1 |
| small_lgam |
|
16 |
65 |
645 |
1 |
| neg_lgam |
|
9 |
38 |
228 |
1 |
| Source file: ./lib/libm/noieee_src/n_tgamma.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tgamma |
|
13 |
32 |
219 |
1 |
| tgammaf |
|
1 |
4 |
13 |
1 |
| large_gam |
|
1 |
20 |
212 |
1 |
| small_gam |
|
3 |
27 |
240 |
1 |
| smaller_gam |
|
2 |
28 |
238 |
1 |
| ratfun_gam |
|
1 |
24 |
268 |
2 |
| neg_gam |
|
11 |
43 |
307 |
1 |
| Source file: ./lib/libm/noieee_src/n_nan.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| nan |
|
1 |
4 |
14 |
1 |
| nanf |
|
1 |
4 |
14 |
1 |
| nanl |
|
1 |
4 |
14 |
1 |
| Source file: ./lib/libm/noieee_src/n_atan2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| atan2f |
|
1 |
4 |
27 |
2 |
| atan2 |
|
28 |
67 |
756 |
2 |
| Source file: ./lib/libm/noieee_src/n_j0.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| j0 |
|
12 |
42 |
369 |
1 |
| y0 |
|
13 |
40 |
366 |
1 |
| pzero |
|
5 |
12 |
209 |
1 |
| qzero |
|
5 |
12 |
224 |
1 |
| Source file: ./lib/libm/noieee_src/n_hypot.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| hypotf |
|
1 |
4 |
27 |
2 |
| hypot |
|
13 |
44 |
326 |
2 |
| hypot |
|
12 |
36 |
279 |
2 |
| Source file: ./lib/libm/noieee_src/n_exp__E.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __exp__E |
|
5 |
25 |
226 |
2 |
| Source file: ./lib/libm/noieee_src/n_atan.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| atan |
|
1 |
5 |
24 |
1 |
| atanf |
|
1 |
5 |
24 |
1 |
| Source file: ./lib/libm/noieee_src/n_tan.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tanf |
|
1 |
4 |
19 |
1 |
| tan |
|
6 |
29 |
186 |
1 |
| Source file: ./lib/libm/noieee_src/n_lrint.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| lrint |
|
1 |
4 |
16 |
1 |
| lrintf |
|
1 |
4 |
16 |
1 |
| llrint |
|
1 |
4 |
17 |
1 |
| llrintf |
|
1 |
4 |
17 |
1 |
| Source file: ./lib/libm/noieee_src/n_asinh.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| asinh |
|
4 |
16 |
134 |
1 |
| Source file: ./lib/libm/noieee_src/n_fmod.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fmod |
|
7 |
16 |
138 |
2 |
| Source file: ./lib/libm/noieee_src/n_sincos.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sinf |
|
1 |
4 |
19 |
1 |
| sin |
|
6 |
25 |
163 |
1 |
| cosf |
|
1 |
4 |
19 |
1 |
| cos |
|
6 |
27 |
166 |
1 |
| Source file: ./lib/libm/noieee_src/n_asincos.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| asin |
|
3 |
11 |
96 |
1 |
| acos |
|
3 |
11 |
78 |
1 |
| Source file: ./lib/libm/noieee_src/n_atanh.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| atanh |
|
3 |
11 |
83 |
1 |
| Source file: ./lib/libm/noieee_src/n_support.c |
| Source file: ./lib/libm/noieee_src/n_jn.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| jn |
|
25 |
79 |
640 |
2 |
| yn |
|
22 |
38 |
362 |
2 |
| Source file: ./lib/libm/noieee_src/n_j1.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| j1 |
|
11 |
40 |
324 |
1 |
| y1 |
|
15 |
44 |
397 |
1 |
| pone |
|
4 |
12 |
203 |
1 |
| qone |
|
4 |
12 |
215 |
1 |
| Source file: ./lib/libm/src/ld80/e_acoshl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| acoshl |
|
7 |
22 |
176 |
1 |
| Source file: ./lib/libm/noieee_src/n_cbrt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cbrtf |
|
1 |
4 |
19 |
1 |
| cbrt |
|
4 |
30 |
253 |
1 |
| Source file: ./lib/libm/noieee_src/n_sinh.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sinh |
|
4 |
15 |
146 |
1 |
| Source file: ./lib/libm/src/ld80/s_tanhl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tanhl |
|
10 |
28 |
198 |
1 |
| Source file: ./lib/libm/src/ld80/s_truncl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| truncl |
|
9 |
29 |
222 |
1 |
| Source file: ./lib/libm/noieee_src/n_erf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| erf |
|
14 |
55 |
601 |
1 |
| erfc |
|
15 |
73 |
772 |
1 |
| Source file: ./lib/libm/src/ld80/e_coshl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| coshl |
|
16 |
29 |
222 |
1 |
| Source file: ./lib/libm/src/ld80/e_fmodl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fmodl |
|
23 |
75 |
655 |
2 |
| Source file: ./lib/libm/noieee_src/n_log.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| log |
|
11 |
47 |
360 |
1 |
| __log__D |
|
4 |
37 |
295 |
1 |
| Source file: ./lib/libm/src/ld80/invtrig.c |
| Source file: ./lib/libm/src/ld80/k_cosl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __kernel_cosl |
|
1 |
9 |
109 |
2 |
| Source file: ./lib/libm/src/ld80/s_asinhl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| asinhl |
|
7 |
21 |
170 |
1 |
| Source file: ./lib/libm/src/ld80/s_log1pl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| log1pl |
|
12 |
64 |
372 |
1 |
| Source file: ./lib/libm/src/ld80/s_cbrtl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cbrtl |
|
8 |
59 |
383 |
1 |
| Source file: ./lib/libm/src/ld80/e_logl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| logl |
|
9 |
55 |
330 |
1 |
| Source file: ./lib/libm/src/ld80/e_lgammal.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sin_pi |
|
12 |
57 |
296 |
1 |
| lgammal |
|
28 |
140 |
993 |
1 |
| Source file: ./lib/libm/src/ld80/s_expm1l.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| expm1l |
|
4 |
32 |
202 |
1 |
| Source file: ./lib/libm/src/ld80/e_powl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| powl |
|
57 |
183 |
1095 |
2 |
| reducl |
|
1 |
8 |
43 |
1 |
| powil |
|
18 |
76 |
381 |
2 |
| Source file: ./lib/libm/src/ld80/k_tanl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __kernel_tanl |
|
7 |
46 |
389 |
3 |
| Source file: ./lib/libm/src/ld80/k_sinl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __kernel_sinl |
|
2 |
9 |
118 |
3 |
| Source file: ./lib/libm/src/ld80/e_tgammal.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| stirf |
|
3 |
27 |
187 |
1 |
| tgammal |
|
20 |
90 |
476 |
1 |
| Source file: ./lib/libm/src/ld80/e_log2l.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| log2l |
|
9 |
56 |
313 |
1 |
| Source file: ./lib/libm/src/ld80/invtrig.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| P |
|
1 |
5 |
52 |
1 |
| Q |
|
1 |
4 |
43 |
1 |
| T_even |
|
1 |
5 |
69 |
1 |
| T_odd |
|
1 |
5 |
60 |
1 |
| Source file: ./lib/libm/src/ld80/s_nexttowardf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| nexttowardf |
|
17 |
47 |
336 |
2 |
| Source file: ./lib/libm/src/ld80/s_nanl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| nanl |
|
1 |
12 |
62 |
1 |
| Source file: ./lib/libm/src/ld80/s_remquol.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| remquol |
|
31 |
94 |
730 |
3 |
| Source file: ./lib/libm/src/ld80/s_exp2l.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| exp2l |
|
12 |
58 |
468 |
1 |
| Source file: ./lib/libm/src/ld80/s_floorl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| floorl |
|
18 |
52 |
351 |
1 |
| Source file: ./lib/libm/src/ld80/e_expl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| expl |
|
4 |
21 |
145 |
1 |
| Source file: ./lib/libm/src/ld80/e_hypotl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| hypotl |
|
12 |
70 |
553 |
2 |
| Source file: ./lib/libm/src/ld80/e_atanhl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| atanhl |
|
7 |
20 |
196 |
1 |
| Source file: ./lib/libm/src/ld80/s_nextafterl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| nextafterl |
|
30 |
61 |
495 |
2 |
| Source file: ./lib/libm/src/ld80/e_sinhl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sinhl |
|
17 |
27 |
244 |
1 |
| Source file: ./lib/libm/src/ld80/s_modfl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| modfl |
|
8 |
39 |
285 |
2 |
| Source file: ./lib/libm/src/ld128/e_acoshl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| acoshl |
|
6 |
23 |
167 |
1 |
| Source file: ./lib/libm/src/ld80/s_nexttoward.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| nexttoward |
|
27 |
59 |
498 |
2 |
| Source file: ./lib/libm/src/ld80/s_ceill.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ceill |
|
18 |
50 |
362 |
1 |
| Source file: ./lib/libm/src/ld80/e_log10l.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| log10l |
|
9 |
57 |
353 |
1 |
| Source file: ./lib/libm/src/ld128/s_tanhl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tanhl |
|
8 |
39 |
191 |
1 |
| Source file: ./lib/libm/src/ld128/s_truncl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| truncl |
|
9 |
29 |
226 |
1 |
| Source file: ./lib/libm/src/ld128/e_coshl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| coshl |
|
7 |
33 |
181 |
1 |
| Source file: ./lib/libm/src/ld128/e_fmodl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fmodl |
|
31 |
91 |
833 |
2 |
| Source file: ./lib/libm/src/ld80/s_erfl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| erfl |
|
11 |
75 |
887 |
1 |
| erfcl |
|
13 |
98 |
1023 |
1 |
| Source file: ./lib/libm/src/ld128/k_cosl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __kernel_cosl |
|
1 |
10 |
133 |
2 |
| Source file: ./lib/libm/src/ld128/s_log1pl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| log1pl |
|
12 |
106 |
606 |
1 |
| Source file: ./lib/libm/src/ld128/invtrig.c |
| Source file: ./lib/libm/src/ld128/s_asinhl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| asinhl |
|
7 |
35 |
185 |
1 |
| Source file: ./lib/libm/src/ld128/s_cbrtl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cbrtl |
|
8 |
61 |
442 |
1 |
| Source file: ./lib/libm/src/ld128/k_tanl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __kernel_tanl |
|
7 |
49 |
461 |
3 |
| Source file: ./lib/libm/src/ld128/s_expm1l.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| expm1l |
|
8 |
45 |
356 |
1 |
| Source file: ./lib/libm/src/ld128/e_tgammal.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tgammal |
|
7 |
18 |
122 |
1 |
| Source file: ./lib/libm/src/ld128/e_powl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| powl |
|
59 |
249 |
1884 |
2 |
| Source file: ./lib/libm/src/ld128/e_log2l.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| neval |
|
2 |
12 |
55 |
3 |
| deval |
|
2 |
12 |
57 |
3 |
| log2l |
|
8 |
53 |
330 |
1 |
| Source file: ./lib/libm/src/ld128/k_sinl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __kernel_sinl |
|
2 |
10 |
142 |
3 |
| Source file: ./lib/libm/src/ld128/e_logl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| logl |
|
7 |
77 |
475 |
1 |
| Source file: ./lib/libm/src/ld128/invtrig.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| P |
|
1 |
6 |
71 |
1 |
| Q |
|
1 |
5 |
68 |
1 |
| T_even |
|
1 |
6 |
115 |
1 |
| T_odd |
|
1 |
6 |
115 |
1 |
| Source file: ./lib/libm/src/ld128/s_floorl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| floorl |
|
16 |
43 |
302 |
1 |
| Source file: ./lib/libm/src/ld128/s_nexttowardf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| nexttowardf |
|
17 |
45 |
338 |
2 |
| Source file: ./lib/libm/src/ld128/s_exp2l.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| exp2l |
|
14 |
64 |
521 |
1 |
| Source file: ./lib/libm/src/ld128/s_remquol.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| remquol |
|
31 |
96 |
853 |
3 |
| Source file: ./lib/libm/src/ld128/s_nanl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| nanl |
|
1 |
12 |
65 |
1 |
| Source file: ./lib/libm/src/ld128/s_nextafterl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| nextafterl |
|
21 |
44 |
312 |
2 |
| Source file: ./lib/libm/src/ld128/e_hypotl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| hypotl |
|
12 |
70 |
505 |
2 |
| Source file: ./lib/libm/src/ld128/e_expl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| expl |
|
3 |
20 |
136 |
1 |
| Source file: ./lib/libm/src/ld128/s_nexttoward.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| nexttoward |
|
26 |
57 |
517 |
2 |
| Source file: ./lib/libm/src/ld128/e_atanhl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| atanhl |
|
7 |
24 |
185 |
1 |
| Source file: ./lib/libm/src/ld128/e_sinhl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sinhl |
|
9 |
34 |
211 |
1 |
| Source file: ./lib/libm/src/ld128/s_ceill.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ceill |
|
16 |
41 |
307 |
1 |
| Source file: ./lib/libm/src/s_catanhf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| catanhf |
|
1 |
6 |
33 |
1 |
| Source file: ./lib/libm/src/ld128/s_modfl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| modfl |
|
8 |
39 |
268 |
2 |
| Source file: ./lib/libm/src/s_nextafterf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| nextafterf |
|
13 |
41 |
225 |
2 |
| Source file: ./lib/libm/src/s_catanhl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| catanhl |
|
1 |
6 |
35 |
1 |
| Source file: ./lib/libm/src/s_casinh.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| casinh |
|
1 |
6 |
33 |
1 |
| Source file: ./lib/libm/src/s_carg.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| carg |
|
1 |
4 |
18 |
1 |
| Source file: ./lib/libm/src/ld128/e_log10l.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| neval |
|
2 |
12 |
55 |
3 |
| deval |
|
2 |
12 |
57 |
3 |
| log10l |
|
8 |
54 |
342 |
1 |
| Source file: ./lib/libm/src/e_hypot.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| hypot |
|
12 |
69 |
506 |
2 |
| Source file: ./lib/libm/src/s_cosl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cosl |
|
10 |
46 |
357 |
1 |
| Source file: ./lib/libm/src/s_fmaxf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fmaxf |
|
6 |
14 |
77 |
2 |
| Source file: ./lib/libm/src/s_catanl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| redupil |
|
2 |
14 |
75 |
1 |
| catanl |
|
5 |
26 |
204 |
1 |
| Source file: ./lib/libm/src/e_sqrtl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| inc |
|
5 |
28 |
161 |
1 |
| dec |
|
5 |
28 |
161 |
1 |
| sqrtl |
|
14 |
62 |
442 |
1 |
| Source file: ./lib/libm/src/e_expf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| expf |
|
13 |
47 |
388 |
1 |
| Source file: ./lib/libm/src/s_llroundf.c |
| Source file: ./lib/libm/src/w_gamma_r.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| gamma_r |
|
1 |
4 |
19 |
2 |
| Source file: ./lib/libm/src/s_asinh.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| asinh |
|
7 |
21 |
168 |
1 |
| Source file: ./lib/libm/src/w_dremf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dremf |
|
1 |
4 |
18 |
2 |
| Source file: ./lib/libm/src/s_catan.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _redupi |
|
2 |
14 |
73 |
1 |
| catan |
|
5 |
26 |
201 |
1 |
| Source file: ./lib/libm/src/s_csinf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cchshf |
|
2 |
16 |
95 |
3 |
| csinf |
|
1 |
8 |
62 |
1 |
| Source file: ./lib/libm/src/s_fminf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fminf |
|
6 |
14 |
77 |
2 |
| Source file: ./lib/libm/src/e_rem_pio2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __ieee754_rem_pio2 |
|
16 |
88 |
742 |
2 |
| Source file: ./lib/libm/src/ld128/e_lgammal.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| neval |
|
2 |
12 |
55 |
3 |
| deval |
|
2 |
12 |
57 |
3 |
| lgammal |
|
42 |
256 |
1693 |
1 |
| Source file: ./lib/libm/src/s_casinl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| casinl |
|
6 |
51 |
348 |
1 |
| Source file: ./lib/libm/src/ld128/s_erfl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| neval |
|
2 |
12 |
55 |
3 |
| deval |
|
2 |
12 |
57 |
3 |
| erfl |
|
7 |
40 |
244 |
1 |
| erfcl |
|
27 |
124 |
854 |
1 |
| Source file: ./lib/libm/src/s_fmin.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fmin |
|
6 |
14 |
77 |
2 |
| Source file: ./lib/libm/src/s_cprojf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cprojf |
|
3 |
11 |
56 |
1 |
| Source file: ./lib/libm/src/s_creall.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| creall |
|
1 |
4 |
13 |
1 |
| Source file: ./lib/libm/src/s_cacosh.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cacosh |
|
1 |
6 |
38 |
1 |
| Source file: ./lib/libm/src/e_powf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| powf |
|
45 |
153 |
1477 |
2 |
| Source file: ./lib/libm/src/s_lrintl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fn |
|
2 |
11 |
52 |
1 |
| Source file: ./lib/libm/src/e_pow.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pow |
|
60 |
166 |
1600 |
2 |
| Source file: ./lib/libm/src/s_tan.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tan |
|
3 |
13 |
102 |
1 |
| Source file: ./lib/libm/src/s_significandf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| significandf |
|
1 |
4 |
22 |
1 |
| Source file: ./lib/libm/src/s_cacosf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cacosf |
|
1 |
7 |
45 |
1 |
| Source file: ./lib/libm/src/e_sinhf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sinhf |
|
9 |
24 |
198 |
1 |
| Source file: ./lib/libm/src/s_casinf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| casinf |
|
4 |
26 |
195 |
1 |
| Source file: ./lib/libm/src/s_floor.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| floor |
|
16 |
42 |
314 |
1 |
| Source file: ./lib/libm/src/s_significand.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| significand |
|
1 |
4 |
22 |
1 |
| Source file: ./lib/libm/src/s_cacosl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cacosl |
|
1 |
7 |
44 |
1 |
| Source file: ./lib/libm/src/s_tanhf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tanhf |
|
8 |
27 |
171 |
1 |
| Source file: ./lib/libm/src/s_cpowl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cpowl |
|
3 |
20 |
157 |
2 |
| Source file: ./lib/libm/src/s_cos.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cos |
|
6 |
19 |
154 |
1 |
| Source file: ./lib/libm/src/s_lround.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| LROUNDNAME |
|
13 |
32 |
255 |
1 |
| Source file: ./lib/libm/src/w_lgamma.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| lgamma |
|
1 |
4 |
16 |
1 |
| Source file: ./lib/libm/src/s_creal.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| creal |
|
1 |
4 |
12 |
1 |
| Source file: ./lib/libm/src/s_fma.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fma |
|
26 |
112 |
805 |
3 |
| fma |
|
1 |
4 |
26 |
3 |
| Source file: ./lib/libm/src/s_fmax.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fmax |
|
6 |
14 |
77 |
2 |
| Source file: ./lib/libm/src/b_log__D.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __log__D |
|
3 |
37 |
287 |
1 |
| Source file: ./lib/libm/src/e_acosh.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| acosh |
|
6 |
23 |
165 |
1 |
| Source file: ./lib/libm/src/s_roundf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| roundf |
|
6 |
17 |
100 |
1 |
| Source file: ./lib/libm/src/s_fmaxl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fmaxl |
|
6 |
14 |
79 |
2 |
| Source file: ./lib/libm/src/s_tanl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tanl |
|
12 |
45 |
359 |
1 |
| Source file: ./lib/libm/src/e_sqrtf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sqrtf |
|
13 |
53 |
313 |
1 |
| Source file: ./lib/libm/src/s_cpow.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cpow |
|
3 |
20 |
153 |
2 |
| Source file: ./lib/libm/src/e_remainderl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| remainderl |
|
1 |
5 |
28 |
2 |
| Source file: ./lib/libm/src/s_sinl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sinl |
|
12 |
49 |
383 |
1 |
| Source file: ./lib/libm/src/e_j1.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| j1 |
|
9 |
35 |
308 |
1 |
| y1 |
|
9 |
34 |
360 |
1 |
| pone |
|
5 |
16 |
217 |
1 |
| qone |
|
5 |
16 |
231 |
1 |
| Source file: ./lib/libm/src/s_conjl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| conjl |
|
1 |
4 |
12 |
1 |
| Source file: ./lib/libm/src/s_expm1f.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| expm1f |
|
22 |
81 |
693 |
1 |
| Source file: ./lib/libm/src/s_fminl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fminl |
|
6 |
14 |
79 |
2 |
| Source file: ./lib/libm/src/s_cimagl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cimagl |
|
1 |
4 |
13 |
1 |
| Source file: ./lib/libm/src/math_private.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _b_trunc |
|
1 |
6 |
30 |
1 |
| Source file: ./lib/libm/src/k_sinf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __kernel_sinf |
|
4 |
14 |
137 |
3 |
| Source file: ./lib/libm/src/s_cacoshl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cacoshl |
|
1 |
6 |
40 |
1 |
| Source file: ./lib/libm/src/e_atanh.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| atanh |
|
7 |
20 |
174 |
1 |
| Source file: ./lib/libm/src/s_clogl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| clogl |
|
1 |
10 |
62 |
1 |
| Source file: ./lib/libm/src/s_conj.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| conj |
|
1 |
4 |
11 |
1 |
| Source file: ./lib/libm/src/s_cabsl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cabsl |
|
1 |
4 |
19 |
1 |
| Source file: ./lib/libm/src/s_log1p.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| log1p |
|
19 |
60 |
538 |
1 |
| Source file: ./lib/libm/src/s_cprojl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cprojl |
|
3 |
11 |
58 |
1 |
| Source file: ./lib/libm/src/s_ccoshl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ccoshl |
|
1 |
9 |
65 |
1 |
| Source file: ./lib/libm/src/s_erff.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| erff |
|
11 |
49 |
627 |
1 |
| erfcf |
|
13 |
57 |
651 |
1 |
| Source file: ./lib/libm/src/s_logb.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| logb |
|
4 |
12 |
85 |
1 |
| Source file: ./lib/libm/src/s_ctanh.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ctanh |
|
1 |
10 |
86 |
1 |
| Source file: ./lib/libm/src/e_acosl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| acosl |
|
11 |
51 |
393 |
1 |
| Source file: ./lib/libm/src/s_exp2f.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| exp2f |
|
8 |
35 |
253 |
1 |
| Source file: ./lib/libm/src/s_copysignf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| copysignf |
|
1 |
8 |
49 |
2 |
| Source file: ./lib/libm/src/s_ceil.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ceil |
|
16 |
41 |
312 |
1 |
| Source file: ./lib/libm/src/e_atan2f.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| atan2f |
|
29 |
57 |
423 |
2 |
| Source file: ./lib/libm/src/s_ctanhl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ctanhl |
|
1 |
10 |
89 |
1 |
| Source file: ./lib/libm/src/s_cbrt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cbrt |
|
4 |
34 |
250 |
1 |
| Source file: ./lib/libm/src/e_logf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| logf |
|
12 |
46 |
510 |
1 |
| Source file: ./lib/libm/src/e_sinh.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sinh |
|
11 |
26 |
219 |
1 |
| Source file: ./lib/libm/src/s_nan.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _digittoint |
|
4 |
9 |
49 |
1 |
| Source file: ./lib/libm/src/s_llrintl.c |
| Source file: ./lib/libm/src/s_ctanl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| redupil |
|
2 |
14 |
75 |
1 |
| ctansl |
|
2 |
37 |
210 |
1 |
| ctanl |
|
3 |
18 |
139 |
1 |
| Source file: ./lib/libm/src/k_tanf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __kernel_tanf |
|
9 |
45 |
472 |
3 |
| Source file: ./lib/libm/src/s_ccoshf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ccoshf |
|
1 |
9 |
62 |
1 |
| Source file: ./lib/libm/src/e_asinf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| asinf |
|
8 |
41 |
425 |
1 |
| Source file: ./lib/libm/src/w_gammaf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| gammaf |
|
1 |
4 |
16 |
1 |
| Source file: ./lib/libm/src/s_ctan.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _redupi |
|
2 |
14 |
73 |
1 |
| _ctans |
|
2 |
38 |
207 |
1 |
| ctan |
|
3 |
14 |
121 |
1 |
| Source file: ./lib/libm/src/s_rint.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rint |
|
11 |
43 |
377 |
1 |
| Source file: ./lib/libm/src/e_log2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| log2 |
|
8 |
43 |
389 |
1 |
| Source file: ./lib/libm/src/s_nextafter.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| nextafter |
|
23 |
46 |
336 |
2 |
| Source file: ./lib/libm/src/s_frexpf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| frexpf |
|
4 |
18 |
112 |
2 |
| Source file: ./lib/libm/src/s_atanf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| atanf |
|
12 |
41 |
423 |
1 |
| Source file: ./lib/libm/src/b_tgamma.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tgamma |
|
8 |
21 |
159 |
1 |
| tgammaf |
|
1 |
4 |
13 |
1 |
| large_gam |
|
1 |
20 |
212 |
1 |
| small_gam |
|
3 |
27 |
240 |
1 |
| smaller_gam |
|
2 |
28 |
238 |
1 |
| ratfun_gam |
|
1 |
24 |
268 |
2 |
| neg_gam |
|
10 |
40 |
294 |
1 |
| Source file: ./lib/libm/src/k_cosf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __kernel_cosf |
|
5 |
24 |
197 |
2 |
| Source file: ./lib/libm/src/e_j1f.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| j1f |
|
9 |
35 |
314 |
1 |
| y1f |
|
9 |
34 |
352 |
1 |
| ponef |
|
5 |
16 |
217 |
1 |
| qonef |
|
5 |
16 |
234 |
1 |
| Source file: ./lib/libm/src/s_ccosl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cchshl |
|
2 |
14 |
93 |
3 |
| ccosl |
|
1 |
8 |
66 |
1 |
| Source file: ./lib/libm/src/s_log1pf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| log1pf |
|
19 |
60 |
568 |
1 |
| Source file: ./lib/libm/src/s_llrintf.c |
| Source file: ./lib/libm/src/e_remainder.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| remainder |
|
12 |
35 |
263 |
2 |
| Source file: ./lib/libm/src/s_casin.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| casin |
|
4 |
26 |
192 |
1 |
| Source file: ./lib/libm/src/s_csinl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cchshl |
|
2 |
14 |
93 |
3 |
| csinl |
|
1 |
8 |
65 |
1 |
| Source file: ./lib/libm/src/s_remquo.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| remquo |
|
39 |
110 |
974 |
3 |
| Source file: ./lib/libm/src/s_fmaf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fmaf |
|
1 |
4 |
25 |
3 |
| Source file: ./lib/libm/src/s_lrint.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| LRINTNAME |
|
12 |
35 |
263 |
1 |
| Source file: ./lib/libm/src/e_lgamma_r.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sin_pi |
|
12 |
36 |
281 |
1 |
| lgamma_r |
|
29 |
89 |
1007 |
2 |
| Source file: ./lib/libm/src/s_ilogbl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ilogbl |
|
22 |
40 |
294 |
1 |
| Source file: ./lib/libm/src/k_tan.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __kernel_tan |
|
9 |
66 |
523 |
3 |
| Source file: ./lib/libm/src/s_fmal.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fmal |
|
28 |
113 |
824 |
3 |
| Source file: ./lib/libm/src/s_round.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| round |
|
6 |
17 |
100 |
1 |
| Source file: ./lib/libm/src/s_llroundl.c |
| Source file: ./lib/libm/src/s_cpowf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cpowf |
|
3 |
20 |
153 |
2 |
| Source file: ./lib/libm/src/e_asinl.c |
| Source file: ./lib/libm/src/s_ctanhf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ctanhf |
|
1 |
10 |
86 |
1 |
| Source file: ./lib/libm/src/s_atan.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| atan |
|
14 |
44 |
430 |
1 |
| Source file: ./lib/libm/src/e_jnf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| jnf |
|
19 |
84 |
645 |
2 |
| ynf |
|
11 |
29 |
235 |
2 |
| Source file: ./lib/libm/src/e_rem_pio2f.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __ieee754_rem_pio2f |
|
16 |
85 |
739 |
2 |
| Source file: ./lib/libm/src/e_sqrt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sqrt |
|
24 |
83 |
606 |
1 |
| Source file: ./lib/libm/src/s_cexpl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cexpl |
|
1 |
8 |
59 |
1 |
| Source file: ./lib/libm/src/e_atan2l.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| atan2l |
|
44 |
82 |
628 |
2 |
| Source file: ./lib/libm/src/s_ccosf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _cchshf |
|
2 |
16 |
95 |
3 |
| ccosf |
|
1 |
8 |
63 |
1 |
| Source file: ./lib/libm/src/e_exp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| exp |
|
13 |
50 |
404 |
1 |
| Source file: ./lib/libm/src/s_csqrt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| csqrt |
|
11 |
62 |
396 |
1 |
| Source file: ./lib/libm/src/s_cosf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cosf |
|
6 |
19 |
154 |
1 |
| Source file: ./lib/libm/src/e_acoshf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| acoshf |
|
6 |
22 |
158 |
1 |
| Source file: ./lib/libm/src/s_rintl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rintl |
|
5 |
23 |
138 |
1 |
| Source file: ./lib/libm/src/k_cos.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __kernel_cos |
|
5 |
24 |
190 |
2 |
| Source file: ./lib/libm/src/s_logbl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| logbl |
|
16 |
43 |
323 |
1 |
| Source file: ./lib/libm/src/s_scalbln.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| scalbln |
|
3 |
9 |
51 |
2 |
| scalblnf |
|
3 |
9 |
51 |
2 |
| scalblnl |
|
3 |
9 |
52 |
2 |
| Source file: ./lib/libm/src/s_cacoshf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cacoshf |
|
1 |
6 |
38 |
1 |
| Source file: ./lib/libm/src/s_cexpf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cexpf |
|
1 |
8 |
54 |
1 |
| Source file: ./lib/libm/src/s_atanl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| atanl |
|
15 |
55 |
466 |
1 |
| Source file: ./lib/libm/src/s_cbrtf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cbrtf |
|
4 |
26 |
173 |
1 |
| Source file: ./lib/libm/src/s_cargl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cargl |
|
1 |
4 |
19 |
1 |
| Source file: ./lib/libm/src/s_frexpl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| frexpl |
|
6 |
25 |
118 |
2 |
| Source file: ./lib/libm/src/e_acosf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| acosf |
|
7 |
42 |
481 |
1 |
| Source file: ./lib/libm/src/k_rem_pio2f.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __kernel_rem_pio2f |
|
46 |
126 |
1331 |
6 |
| Source file: ./lib/libm/src/s_expm1.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| expm1 |
|
22 |
84 |
678 |
1 |
| Source file: ./lib/libm/src/e_log10.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| log10 |
|
5 |
23 |
186 |
1 |
| Source file: ./lib/libm/src/s_scalbnl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| scalbnl |
|
11 |
32 |
223 |
2 |
| ldexpl |
|
1 |
4 |
19 |
2 |
| Source file: ./lib/libm/src/s_llrint.c |
| Source file: ./lib/libm/src/e_fmod.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fmod |
|
31 |
91 |
835 |
2 |
| Source file: ./lib/libm/src/s_rintf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rintf |
|
7 |
35 |
270 |
1 |
| Source file: ./lib/libm/src/w_drem.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| drem |
|
1 |
5 |
21 |
2 |
| Source file: ./lib/libm/src/s_nexttowardf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| nexttowardf |
|
18 |
49 |
366 |
2 |
| Source file: ./lib/libm/src/w_lgammaf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| lgammaf |
|
1 |
4 |
16 |
1 |
| Source file: ./lib/libm/src/s_tanf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tanf |
|
3 |
13 |
102 |
1 |
| Source file: ./lib/libm/src/e_coshf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| coshf |
|
7 |
25 |
165 |
1 |
| Source file: ./lib/libm/src/s_tanh.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tanh |
|
8 |
27 |
179 |
1 |
| Source file: ./lib/libm/src/w_gamma.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| gamma |
|
1 |
4 |
16 |
1 |
| Source file: ./lib/libm/src/k_sin.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __kernel_sin |
|
4 |
14 |
137 |
3 |
| Source file: ./lib/libm/src/e_j0f.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| j0f |
|
10 |
41 |
361 |
1 |
| y0f |
|
9 |
34 |
324 |
1 |
| pzerof |
|
5 |
16 |
217 |
1 |
| qzerof |
|
5 |
16 |
235 |
1 |
| Source file: ./lib/libm/src/s_conjf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| conjf |
|
1 |
4 |
11 |
1 |
| Source file: ./lib/libm/src/s_ctanf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _redupif |
|
2 |
15 |
82 |
1 |
| _ctansf |
|
2 |
37 |
206 |
1 |
| ctanf |
|
3 |
14 |
121 |
1 |
| Source file: ./lib/libm/src/s_cabsf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cabsf |
|
1 |
4 |
18 |
1 |
| Source file: ./lib/libm/src/s_copysign.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| copysign |
|
1 |
8 |
49 |
2 |
| Source file: ./lib/libm/src/s_cimagf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cimagf |
|
1 |
4 |
12 |
1 |
| Source file: ./lib/libm/src/w_gammaf_r.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| gammaf_r |
|
1 |
4 |
19 |
2 |
| Source file: ./lib/libm/src/s_cimag.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cimag |
|
1 |
4 |
12 |
1 |
| Source file: ./lib/libm/src/s_truncf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| truncf |
|
7 |
23 |
136 |
1 |
| Source file: ./lib/libm/src/s_cexp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cexp |
|
1 |
10 |
63 |
1 |
| Source file: ./lib/libm/src/e_acos.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| acos |
|
7 |
43 |
471 |
1 |
| Source file: ./lib/libm/src/s_cacos.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cacos |
|
1 |
7 |
42 |
1 |
| Source file: ./lib/libm/src/s_fabsl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fabsl |
|
1 |
6 |
30 |
1 |
| Source file: ./lib/libm/src/s_lrintf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| LRINTNAME |
|
9 |
30 |
210 |
1 |
| Source file: ./lib/libm/src/s_csqrtf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| csqrtf |
|
11 |
59 |
393 |
1 |
| Source file: ./lib/libm/src/e_jn.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| jn |
|
24 |
94 |
752 |
2 |
| yn |
|
16 |
40 |
361 |
2 |
| Source file: ./lib/libm/src/s_casinhl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| casinhl |
|
1 |
6 |
35 |
1 |
| Source file: ./lib/libm/src/s_csin.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cchsh |
|
2 |
15 |
89 |
3 |
| csin |
|
1 |
8 |
62 |
1 |
| Source file: ./lib/libm/src/s_ilogbf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ilogbf |
|
5 |
15 |
90 |
1 |
| Source file: ./lib/libm/src/polevll.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __polevll |
|
2 |
11 |
63 |
3 |
| __p1evll |
|
2 |
12 |
69 |
3 |
| Source file: ./lib/libm/src/e_cosh.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cosh |
|
9 |
28 |
192 |
1 |
| Source file: ./lib/libm/src/e_atanhf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| atanhf |
|
7 |
19 |
159 |
1 |
| Source file: ./lib/libm/src/e_scalb.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| scalb |
|
1 |
4 |
18 |
2 |
| scalb |
|
8 |
12 |
126 |
2 |
| Source file: ./lib/libm/src/e_remainderf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| remainderf |
|
11 |
34 |
232 |
2 |
| Source file: ./lib/libm/src/s_csinhl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| csinhl |
|
1 |
9 |
65 |
1 |
| Source file: ./lib/libm/src/s_catanf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _redupif |
|
2 |
15 |
82 |
1 |
| catanf |
|
5 |
26 |
201 |
1 |
| Source file: ./lib/libm/src/s_ceilf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ceilf |
|
10 |
27 |
182 |
1 |
| Source file: ./lib/libm/src/s_scalbnf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| scalbnf |
|
9 |
25 |
215 |
2 |
| ldexpf |
|
1 |
4 |
18 |
2 |
| Source file: ./lib/libm/src/s_fabsf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fabsf |
|
1 |
7 |
29 |
1 |
| Source file: ./lib/libm/src/s_crealf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| crealf |
|
1 |
4 |
12 |
1 |
| Source file: ./lib/libm/src/s_clogf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| clogf |
|
1 |
12 |
71 |
1 |
| Source file: ./lib/libm/src/s_clog.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| clog |
|
1 |
10 |
59 |
1 |
| Source file: ./lib/libm/src/s_ilogb.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ilogb |
|
7 |
20 |
134 |
1 |
| Source file: ./lib/libm/src/s_lroundl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fn |
|
2 |
10 |
44 |
1 |
| Source file: ./lib/libm/src/e_hypotf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| hypotf |
|
12 |
57 |
431 |
2 |
| Source file: ./lib/libm/src/e_asin.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| asin |
|
8 |
41 |
413 |
1 |
| Source file: ./lib/libm/src/e_log.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| log |
|
12 |
47 |
487 |
1 |
| Source file: ./lib/libm/src/e_log10f.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| log10f |
|
5 |
22 |
177 |
1 |
| Source file: ./lib/libm/src/s_lroundf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| LROUNDNAME |
|
10 |
27 |
202 |
1 |
| Source file: ./lib/libm/src/s_fdim.c |
| Source file: ./lib/libm/src/s_llround.c |
| Source file: ./lib/libm/src/s_csinhf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| csinhf |
|
1 |
9 |
62 |
1 |
| Source file: ./lib/libm/src/s_copysignl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| copysignl |
|
1 |
7 |
49 |
2 |
| Source file: ./lib/libm/src/s_asinhf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| asinhf |
|
7 |
21 |
171 |
1 |
| Source file: ./lib/libm/src/s_ccosh.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ccosh |
|
1 |
9 |
62 |
1 |
| Source file: ./lib/libm/src/b_exp__D.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __exp__D |
|
6 |
24 |
212 |
2 |
| Source file: ./lib/libm/src/s_csinh.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| csinh |
|
1 |
9 |
62 |
1 |
| Source file: ./lib/libm/src/s_cargf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cargf |
|
1 |
4 |
18 |
1 |
| Source file: ./lib/libm/src/s_remquof.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| remquof |
|
27 |
79 |
601 |
3 |
| Source file: ./lib/libm/src/s_exp2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| exp2 |
|
11 |
44 |
358 |
1 |
| Source file: ./lib/libm/src/s_erf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| erf |
|
11 |
49 |
613 |
1 |
| erfc |
|
13 |
57 |
643 |
1 |
| Source file: ./lib/libm/src/e_lgammaf_r.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sin_pif |
|
12 |
36 |
299 |
1 |
| lgammaf_r |
|
29 |
89 |
1003 |
2 |
| Source file: ./lib/libm/src/s_nearbyint.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| nearbyint |
|
1 |
9 |
37 |
1 |
| nearbyintf |
|
1 |
9 |
37 |
1 |
| nearbyintl |
|
1 |
9 |
39 |
1 |
| Source file: ./lib/libm/src/s_sin.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sin |
|
6 |
19 |
156 |
1 |
| Source file: ./lib/libm/src/e_fmodf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fmodf |
|
19 |
61 |
463 |
2 |
| Source file: ./lib/libm/src/s_roundl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| roundl |
|
5 |
17 |
98 |
1 |
| Source file: ./lib/libm/src/e_j0.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| j0 |
|
10 |
41 |
352 |
1 |
| y0 |
|
9 |
34 |
332 |
1 |
| pzero |
|
5 |
16 |
217 |
1 |
| qzero |
|
5 |
16 |
232 |
1 |
| Source file: ./lib/libm/src/s_floorf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| floorf |
|
10 |
28 |
186 |
1 |
| Source file: ./lib/libm/src/s_csqrtl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| csqrtl |
|
10 |
56 |
378 |
1 |
| Source file: ./lib/libm/src/s_casinhf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| casinhf |
|
1 |
6 |
33 |
1 |
| Source file: ./lib/libm/src/s_cproj.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cproj |
|
3 |
11 |
56 |
1 |
| Source file: ./lib/libm/src/s_signgam.c |
| Source file: ./lib/libm/src/e_atan2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| atan2 |
|
29 |
58 |
467 |
2 |
| Source file: ./lib/libm/src/e_log2f.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| log2f |
|
8 |
42 |
410 |
1 |
| Source file: ./lib/libm/src/s_scalbn.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| scalbn |
|
1 |
4 |
18 |
2 |
| Source file: ./lib/libm/src/s_sinf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sinf |
|
6 |
19 |
156 |
1 |
| Source file: ./lib/libm/src/s_modff.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| modff |
|
4 |
31 |
174 |
2 |
| Source file: ./lib/libm/src/s_cabs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cabs |
|
1 |
4 |
18 |
1 |
| Source file: ./lib/libm/src/e_scalbf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| scalbf |
|
1 |
4 |
18 |
2 |
| scalbf |
|
8 |
12 |
135 |
2 |
| Source file: ./lib/libm/src/s_logbf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| logbf |
|
4 |
12 |
80 |
1 |
| Source file: ./lib/libm/src/s_catanh.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| catanh |
|
1 |
6 |
33 |
1 |
| Source file: ./lib/libm/src/s_ccos.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _cchsh |
|
2 |
15 |
89 |
3 |
| ccos |
|
1 |
8 |
62 |
1 |
| Source file: ./lib/libm/src/s_trunc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| trunc |
|
10 |
31 |
214 |
1 |
| Source file: ./lib/libm/arch/hppa/s_floor.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| floor |
|
1 |
10 |
88 |
1 |
| Source file: ./lib/libm/arch/hppa/e_sqrtf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sqrtf |
|
1 |
5 |
23 |
1 |
| Source file: ./lib/libm/arch/hppa/s_roundf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| roundf |
|
1 |
11 |
104 |
1 |
| Source file: ./lib/libm/arch/hppa/s_rint.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rint |
|
1 |
5 |
23 |
1 |
| Source file: ./lib/libm/arch/hppa/s_ceil.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ceil |
|
1 |
11 |
104 |
1 |
| Source file: ./lib/libm/arch/hppa/e_remainder.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| remainder |
|
1 |
5 |
31 |
2 |
| Source file: ./lib/libm/arch/hppa/s_round.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| round |
|
1 |
11 |
104 |
1 |
| Source file: ./lib/libm/arch/hppa/e_sqrt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sqrt |
|
1 |
5 |
23 |
1 |
| Source file: ./lib/libm/arch/hppa/s_rintf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rintf |
|
1 |
5 |
23 |
1 |
| Source file: ./lib/libm/arch/hppa/s_truncf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| truncf |
|
1 |
11 |
104 |
1 |
| Source file: ./lib/libm/arch/hppa/e_remainderf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| remainderf |
|
1 |
5 |
31 |
2 |
| Source file: ./lib/libm/arch/hppa/s_ceilf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ceilf |
|
1 |
11 |
104 |
1 |
| Source file: ./lib/libm/arch/m88k/fenv.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| feclearexcept |
|
1 |
9 |
47 |
1 |
| fegetexceptflag |
|
1 |
8 |
42 |
2 |
| feraiseexcept |
|
6 |
26 |
124 |
1 |
| fesetexceptflag |
|
1 |
10 |
59 |
2 |
| fetestexcept |
|
1 |
7 |
33 |
1 |
| fegetround |
|
1 |
6 |
28 |
1 |
| fesetround |
|
2 |
11 |
59 |
1 |
| fegetenv |
|
1 |
6 |
39 |
1 |
| feholdexcept |
|
1 |
13 |
89 |
1 |
| fesetenv |
|
1 |
13 |
111 |
1 |
| feupdateenv |
|
1 |
8 |
39 |
1 |
| feenableexcept |
|
1 |
10 |
55 |
1 |
| fedisableexcept |
|
1 |
10 |
55 |
1 |
| fegetexcept |
|
1 |
6 |
28 |
1 |
| Source file: ./lib/libm/arch/hppa/s_floorf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| floorf |
|
1 |
10 |
88 |
1 |
| Source file: ./lib/libm/arch/sparc64/e_sqrtl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sqrtl |
|
1 |
6 |
24 |
1 |
| Source file: ./lib/libm/arch/hppa/s_trunc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| trunc |
|
1 |
11 |
104 |
1 |
| Source file: ./lib/libm/arch/sparc64/fenv.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| feclearexcept |
|
1 |
9 |
44 |
1 |
| fegetexceptflag |
|
1 |
8 |
39 |
2 |
| fesetexceptflag |
|
1 |
10 |
56 |
2 |
| feraiseexcept |
|
6 |
26 |
120 |
1 |
| fetestexcept |
|
1 |
7 |
30 |
1 |
| fegetround |
|
1 |
6 |
30 |
1 |
| fesetround |
|
2 |
11 |
62 |
1 |
| fegetenv |
|
1 |
5 |
23 |
1 |
| feholdexcept |
|
1 |
9 |
55 |
1 |
| fesetenv |
|
1 |
5 |
25 |
1 |
| feupdateenv |
|
1 |
8 |
46 |
1 |
| feenableexcept |
|
1 |
9 |
60 |
1 |
| fedisableexcept |
|
1 |
9 |
60 |
1 |
| fegetexcept |
|
1 |
6 |
35 |
1 |
| Source file: ./lib/libm/arch/alpha/fenv.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| feclearexcept |
|
1 |
11 |
51 |
1 |
| fegetexceptflag |
|
1 |
8 |
40 |
2 |
| feraiseexcept |
|
1 |
6 |
28 |
1 |
| fesetexceptflag |
|
1 |
12 |
63 |
2 |
| fetestexcept |
|
1 |
7 |
31 |
1 |
| fegetround |
|
1 |
8 |
45 |
1 |
| fesetround |
|
2 |
15 |
99 |
1 |
| fegetenv |
|
1 |
11 |
79 |
1 |
| feholdexcept |
|
1 |
10 |
50 |
1 |
| fesetenv |
|
1 |
18 |
135 |
1 |
| feupdateenv |
|
1 |
8 |
37 |
1 |
| feenableexcept |
|
1 |
12 |
59 |
1 |
| fedisableexcept |
|
1 |
12 |
59 |
1 |
| fegetexcept |
|
1 |
6 |
26 |
1 |
| Source file: ./lib/libm/arch/amd64/abi.h |
| Source file: ./lib/libm/arch/hppa/fenv.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| feclearexcept |
|
1 |
10 |
71 |
1 |
| fegetexceptflag |
|
1 |
9 |
63 |
2 |
| feraiseexcept |
|
6 |
27 |
133 |
1 |
| fesetexceptflag |
|
1 |
11 |
93 |
2 |
| fetestexcept |
|
1 |
8 |
54 |
1 |
| fegetround |
|
1 |
7 |
44 |
1 |
| fesetround |
|
2 |
12 |
83 |
1 |
| fegetenv |
|
1 |
8 |
49 |
1 |
| feholdexcept |
|
1 |
11 |
87 |
1 |
| fesetenv |
|
1 |
12 |
98 |
1 |
| feupdateenv |
|
1 |
9 |
58 |
1 |
| feenableexcept |
|
1 |
12 |
81 |
1 |
| fedisableexcept |
|
1 |
12 |
81 |
1 |
| fegetexcept |
|
1 |
7 |
44 |
1 |
| Source file: ./lib/libm/arch/amd64/fenv.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| feclearexcept |
|
1 |
13 |
81 |
1 |
| fegetexceptflag |
|
1 |
10 |
61 |
2 |
| feraiseexcept |
|
1 |
7 |
34 |
1 |
| fesetexceptflag |
|
1 |
15 |
104 |
2 |
| fetestexcept |
|
1 |
9 |
52 |
1 |
| fegetround |
|
1 |
6 |
28 |
1 |
| fesetround |
|
2 |
16 |
102 |
1 |
| fegetenv |
|
1 |
7 |
54 |
1 |
| feholdexcept |
|
1 |
12 |
77 |
1 |
| fesetenv |
|
1 |
6 |
41 |
1 |
| feupdateenv |
|
1 |
10 |
56 |
1 |
| feenableexcept |
|
1 |
14 |
100 |
1 |
| fedisableexcept |
|
1 |
14 |
98 |
1 |
| fegetexcept |
|
1 |
6 |
28 |
1 |
| Source file: ./lib/libm/arch/amd64/invtrig.c |
| Source file: ./lib/libm/arch/sh/e_sqrtf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sqrtf |
|
1 |
10 |
69 |
1 |
| Source file: ./lib/libm/arch/sh/s_fabsf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fabsf |
|
1 |
5 |
23 |
1 |
| Source file: ./lib/libm/arch/sh/e_sqrt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sqrt |
|
1 |
11 |
73 |
1 |
| Source file: ./lib/libm/arch/arm/fenv.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| feclearexcept |
|
1 |
6 |
20 |
1 |
| fegetexceptflag |
|
1 |
6 |
27 |
2 |
| feraiseexcept |
|
1 |
7 |
33 |
1 |
| fesetexceptflag |
|
1 |
7 |
32 |
2 |
| fetestexcept |
|
1 |
5 |
18 |
1 |
| fegetround |
|
1 |
4 |
13 |
1 |
| fesetround |
|
2 |
8 |
32 |
1 |
| fegetenv |
|
1 |
7 |
31 |
1 |
| feholdexcept |
|
1 |
7 |
26 |
1 |
| fesetenv |
|
1 |
7 |
38 |
1 |
| feupdateenv |
|
1 |
7 |
29 |
1 |
| feenableexcept |
|
1 |
8 |
29 |
1 |
| fedisableexcept |
|
1 |
8 |
30 |
1 |
| fegetexcept |
|
1 |
4 |
13 |
1 |
| Source file: ./lib/libm/arch/aarch64/fenv.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| feclearexcept |
|
1 |
8 |
29 |
1 |
| fegetexceptflag |
|
1 |
7 |
31 |
2 |
| feraiseexcept |
|
1 |
8 |
29 |
1 |
| fesetexceptflag |
|
1 |
9 |
41 |
2 |
| fetestexcept |
|
1 |
6 |
22 |
1 |
| fegetround |
|
1 |
6 |
26 |
1 |
| fesetround |
|
2 |
11 |
53 |
1 |
| fegetenv |
|
1 |
9 |
49 |
1 |
| feholdexcept |
|
1 |
13 |
71 |
1 |
| fesetenv |
|
1 |
6 |
43 |
1 |
| feupdateenv |
|
1 |
8 |
34 |
1 |
| feenableexcept |
|
1 |
8 |
49 |
1 |
| fedisableexcept |
|
1 |
8 |
49 |
1 |
| fegetexcept |
|
1 |
6 |
26 |
1 |
| Source file: ./lib/libm/arch/i387/DEFS.h |
| Source file: ./lib/libm/arch/powerpc/fenv.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| feclearexcept |
|
2 |
11 |
70 |
1 |
| fegetexceptflag |
|
1 |
8 |
49 |
2 |
| feraiseexcept |
|
1 |
6 |
28 |
1 |
| fesetexceptflag |
|
3 |
16 |
106 |
2 |
| fetestexcept |
|
1 |
7 |
40 |
1 |
| fegetround |
|
1 |
6 |
35 |
1 |
| fesetround |
|
2 |
11 |
72 |
1 |
| fegetenv |
|
1 |
7 |
40 |
1 |
| feholdexcept |
|
1 |
10 |
80 |
1 |
| fesetenv |
|
1 |
8 |
50 |
1 |
| feupdateenv |
|
1 |
8 |
46 |
1 |
| feenableexcept |
|
1 |
11 |
78 |
1 |
| fedisableexcept |
|
1 |
11 |
80 |
1 |
| fegetexcept |
|
1 |
6 |
40 |
1 |
| Source file: ./lib/libssl/test/r160test.c |
| Source file: ./lib/libssl/test/methtest.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
3 |
27 |
184 |
2 |
| Source file: ./lib/libssl/test/asn1test.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
1 |
12 |
59 |
2 |
| Source file: ./lib/libm/arch/mips64/fenv.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| feclearexcept |
|
1 |
9 |
47 |
1 |
| fegetexceptflag |
|
1 |
8 |
42 |
2 |
| feraiseexcept |
|
1 |
9 |
54 |
1 |
| fesetexceptflag |
|
1 |
10 |
59 |
2 |
| fetestexcept |
|
1 |
7 |
33 |
1 |
| fegetround |
|
1 |
6 |
28 |
1 |
| fesetround |
|
2 |
11 |
59 |
1 |
| fegetenv |
|
1 |
5 |
25 |
1 |
| feholdexcept |
|
1 |
10 |
59 |
1 |
| fesetenv |
|
1 |
5 |
27 |
1 |
| feupdateenv |
|
1 |
8 |
39 |
1 |
| feenableexcept |
|
1 |
10 |
63 |
1 |
| fedisableexcept |
|
1 |
10 |
65 |
1 |
| fegetexcept |
|
1 |
6 |
33 |
1 |
| Source file: ./lib/libssl/ssl2.h |
| Source file: ./lib/libm/arch/sh/fenv.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| feclearexcept |
|
1 |
11 |
61 |
1 |
| fegetexceptflag |
|
1 |
8 |
42 |
2 |
| feraiseexcept |
|
6 |
26 |
122 |
1 |
| fesetexceptflag |
|
1 |
14 |
93 |
2 |
| fetestexcept |
|
1 |
7 |
33 |
1 |
| fegetround |
|
1 |
6 |
28 |
1 |
| fesetround |
|
2 |
15 |
87 |
1 |
| fegetenv |
|
1 |
5 |
25 |
1 |
| feholdexcept |
|
1 |
14 |
96 |
1 |
| fesetenv |
|
1 |
19 |
152 |
1 |
| feupdateenv |
|
1 |
8 |
39 |
1 |
| feenableexcept |
|
1 |
12 |
83 |
1 |
| fedisableexcept |
|
1 |
12 |
89 |
1 |
| fegetexcept |
|
1 |
6 |
33 |
1 |
| Source file: ./lib/libm/src/k_rem_pio2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __kernel_rem_pio2 |
|
46 |
126 |
1323 |
5 |
| Source file: ./lib/libm/arch/i387/fenv.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __test_sse |
|
2 |
9 |
59 |
1 |
| feclearexcept |
|
2 |
15 |
87 |
1 |
| fegetexceptflag |
|
2 |
11 |
67 |
2 |
| feraiseexcept |
|
1 |
7 |
34 |
1 |
| fesetexceptflag |
|
2 |
17 |
110 |
2 |
| fetestexcept |
|
2 |
10 |
58 |
1 |
| fegetround |
|
1 |
6 |
28 |
1 |
| fesetround |
|
3 |
18 |
108 |
1 |
| fegetenv |
|
2 |
8 |
58 |
1 |
| feholdexcept |
|
2 |
14 |
83 |
1 |
| fesetenv |
|
2 |
7 |
45 |
1 |
| feupdateenv |
|
2 |
11 |
62 |
1 |
| feenableexcept |
|
3 |
17 |
112 |
1 |
| fedisableexcept |
|
3 |
17 |
110 |
1 |
| fegetexcept |
|
1 |
6 |
28 |
1 |
| Source file: ./lib/libssl/ssl_packet.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ssl_is_sslv2_client_hello |
|
6 |
17 |
88 |
1 |
| ssl_is_sslv3_handshake |
|
5 |
15 |
76 |
1 |
| ssl_convert_sslv2_client_hello |
|
45 |
127 |
952 |
1 |
| ssl_server_legacy_first_packet |
|
14 |
44 |
282 |
1 |
| Source file: ./lib/libssl/d1_enc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dtls1_enc |
|
21 |
63 |
453 |
2 |
| Source file: ./lib/libssl/bs_ber.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cbs_nonstrict_get_any_asn1_element |
|
1 |
6 |
35 |
4 |
| cbs_find_indefinite |
|
10 |
29 |
168 |
3 |
| is_primitive_type |
|
3 |
6 |
41 |
1 |
| is_eoc |
|
2 |
5 |
38 |
2 |
| cbs_convert_indefinite |
|
27 |
80 |
426 |
5 |
| CBS_asn1_indefinite_to_definite |
|
5 |
19 |
114 |
3 |
| Source file: ./lib/libssl/pqueue.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pitem_new |
|
2 |
10 |
65 |
2 |
| pitem_free |
|
1 |
4 |
13 |
1 |
| pqueue_new |
|
1 |
4 |
17 |
1 |
| pqueue_free |
|
1 |
4 |
13 |
1 |
| pqueue_insert |
|
6 |
25 |
148 |
2 |
| pqueue_peek |
|
1 |
4 |
13 |
1 |
| pqueue_pop |
|
2 |
7 |
37 |
1 |
| pqueue_find |
|
3 |
9 |
61 |
2 |
| pqueue_iterator |
|
1 |
4 |
14 |
1 |
| pqueue_next |
|
3 |
9 |
44 |
1 |
| pqueue_size |
|
2 |
10 |
41 |
1 |
| Source file: ./lib/libssl/d1_lib.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dtls1_default_timeout |
|
1 |
4 |
15 |
1 |
| dtls1_new |
|
10 |
38 |
303 |
1 |
| dtls1_clear_queues |
|
6 |
36 |
276 |
1 |
| dtls1_free |
|
2 |
15 |
121 |
1 |
| dtls1_clear |
|
4 |
36 |
264 |
1 |
| dtls1_ctrl |
|
5 |
21 |
104 |
4 |
| dtls1_get_cipher |
|
3 |
9 |
40 |
1 |
| dtls1_start_timer |
|
3 |
10 |
87 |
1 |
| dtls1_get_timeout |
|
9 |
25 |
199 |
2 |
| dtls1_is_timer_expired |
|
4 |
11 |
51 |
1 |
| dtls1_double_timeout |
|
2 |
7 |
39 |
1 |
| dtls1_stop_timer |
|
1 |
9 |
83 |
1 |
| dtls1_check_timeout_num |
|
3 |
13 |
83 |
1 |
| dtls1_handle_timeout |
|
4 |
15 |
86 |
1 |
| dtls1_listen |
|
2 |
12 |
69 |
2 |
| dtls1_build_sequence_number |
|
1 |
10 |
65 |
3 |
| Source file: ./lib/libssl/d1_srtp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| srtp_find_profile_by_name |
|
4 |
15 |
72 |
3 |
| srtp_find_profile_by_num |
|
3 |
13 |
51 |
2 |
| ssl_ctx_make_profiles |
|
6 |
27 |
147 |
2 |
| SSL_CTX_set_tlsext_use_srtp |
|
1 |
4 |
26 |
2 |
| SSL_set_tlsext_use_srtp |
|
1 |
4 |
26 |
2 |
| SSL_get_srtp_profiles |
|
5 |
12 |
72 |
1 |
| SSL_get_selected_srtp_profile |
|
1 |
4 |
15 |
1 |
| Source file: ./lib/libssl/ssl_tlsext.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tlsext_alpn_clienthello_needs |
|
2 |
5 |
28 |
1 |
| tlsext_alpn_clienthello_build |
|
4 |
12 |
67 |
2 |
| tlsext_alpn_clienthello_parse |
|
10 |
39 |
261 |
3 |
| tlsext_alpn_serverhello_needs |
|
1 |
4 |
18 |
1 |
| tlsext_alpn_serverhello_build |
|
5 |
14 |
86 |
2 |
| tlsext_alpn_serverhello_parse |
|
8 |
25 |
153 |
3 |
| tlsext_ec_clienthello_needs |
|
1 |
4 |
14 |
1 |
| tlsext_ec_clienthello_build |
|
6 |
21 |
117 |
2 |
| tlsext_ec_clienthello_parse |
|
11 |
40 |
228 |
3 |
| tlsext_ec_serverhello_needs |
|
1 |
4 |
11 |
1 |
| tlsext_ec_serverhello_build |
|
1 |
4 |
15 |
2 |
| tlsext_ec_serverhello_parse |
|
2 |
8 |
42 |
3 |
| tlsext_ecpf_build |
|
5 |
18 |
98 |
2 |
| tlsext_ecpf_parse |
|
7 |
23 |
135 |
3 |
| tlsext_ecpf_clienthello_needs |
|
1 |
4 |
14 |
1 |
| tlsext_ecpf_clienthello_build |
|
1 |
4 |
20 |
2 |
| tlsext_ecpf_clienthello_parse |
|
1 |
4 |
26 |
3 |
| tlsext_ecpf_serverhello_needs |
|
2 |
6 |
25 |
1 |
| tlsext_ecpf_serverhello_build |
|
1 |
4 |
20 |
2 |
| tlsext_ecpf_serverhello_parse |
|
1 |
4 |
26 |
3 |
| tlsext_ri_clienthello_needs |
|
1 |
4 |
17 |
1 |
| tlsext_ri_clienthello_build |
|
4 |
12 |
69 |
2 |
| tlsext_ri_clienthello_parse |
|
4 |
21 |
123 |
3 |
| tlsext_ri_serverhello_needs |
|
1 |
4 |
18 |
1 |
| tlsext_ri_serverhello_build |
|
5 |
15 |
95 |
2 |
| tlsext_ri_serverhello_parse |
|
12 |
42 |
276 |
3 |
| tlsext_sigalgs_clienthello_needs |
|
1 |
4 |
18 |
1 |
| tlsext_sigalgs_clienthello_build |
|
4 |
14 |
78 |
2 |
| tlsext_sigalgs_clienthello_parse |
|
2 |
7 |
42 |
3 |
| tlsext_sigalgs_serverhello_needs |
|
1 |
4 |
11 |
1 |
| tlsext_sigalgs_serverhello_build |
|
1 |
4 |
15 |
2 |
| tlsext_sigalgs_serverhello_parse |
|
1 |
4 |
19 |
3 |
| tlsext_sni_clienthello_needs |
|
1 |
4 |
17 |
1 |
| tlsext_sni_clienthello_build |
|
6 |
16 |
102 |
2 |
| tlsext_sni_clienthello_parse |
|
15 |
45 |
255 |
3 |
| tlsext_sni_serverhello_needs |
|
1 |
4 |
19 |
1 |
| tlsext_sni_serverhello_build |
|
1 |
4 |
15 |
2 |
| tlsext_sni_serverhello_parse |
|
8 |
29 |
153 |
3 |
| tlsext_ocsp_clienthello_needs |
|
2 |
5 |
23 |
1 |
| tlsext_ocsp_clienthello_build |
|
14 |
40 |
270 |
2 |
| tlsext_ocsp_clienthello_parse |
|
16 |
60 |
375 |
3 |
| tlsext_ocsp_serverhello_needs |
|
1 |
4 |
15 |
1 |
| tlsext_ocsp_serverhello_build |
|
1 |
4 |
15 |
2 |
| tlsext_ocsp_serverhello_parse |
|
2 |
9 |
46 |
3 |
| tlsext_sessionticket_clienthello_needs |
|
5 |
11 |
61 |
1 |
| tlsext_sessionticket_clienthello_build |
|
10 |
26 |
186 |
2 |
| tlsext_sessionticket_clienthello_parse |
|
4 |
16 |
93 |
3 |
| tlsext_sessionticket_serverhello_needs |
|
2 |
5 |
27 |
1 |
| tlsext_sessionticket_serverhello_build |
|
1 |
4 |
15 |
2 |
| tlsext_sessionticket_serverhello_parse |
|
5 |
17 |
108 |
3 |
| tlsext_srtp_clienthello_needs |
|
2 |
4 |
21 |
1 |
| tlsext_srtp_clienthello_build |
|
9 |
28 |
176 |
2 |
| tlsext_srtp_clienthello_parse |
|
18 |
56 |
354 |
3 |
| tlsext_srtp_serverhello_needs |
|
2 |
4 |
21 |
1 |
| tlsext_srtp_serverhello_build |
|
6 |
16 |
95 |
2 |
| tlsext_srtp_serverhello_parse |
|
10 |
40 |
237 |
3 |
| tlsext_clienthello_build |
|
9 |
26 |
157 |
2 |
| tlsext_clienthello_parse_one |
|
5 |
18 |
102 |
4 |
| tlsext_serverhello_build |
|
9 |
26 |
154 |
2 |
| tlsext_serverhello_parse_one |
|
5 |
18 |
102 |
4 |
| Source file: ./lib/libssl/t1_srvr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tls1_get_server_method |
|
4 |
10 |
51 |
1 |
| SSLv23_server_method |
|
1 |
4 |
13 |
1 |
| TLS_server_method |
|
1 |
4 |
12 |
1 |
| TLSv1_server_method |
|
1 |
4 |
12 |
1 |
| TLSv1_1_server_method |
|
1 |
4 |
12 |
1 |
| TLSv1_2_server_method |
|
1 |
4 |
12 |
1 |
| Source file: ./lib/libssl/ssl_cert.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| SSL_get_ex_data_X509_STORE_CTX_idx |
|
4 |
21 |
87 |
1 |
| ssl_cert_set_default_md |
|
1 |
7 |
60 |
1 |
| ssl_cert_new |
|
2 |
13 |
70 |
1 |
| ssl_cert_dup |
|
18 |
81 |
504 |
1 |
| ssl_cert_free |
|
4 |
16 |
100 |
1 |
| ssl_cert_inst |
|
4 |
14 |
65 |
1 |
| ssl_sess_cert_new |
|
2 |
12 |
60 |
1 |
| ssl_sess_cert_free |
|
4 |
16 |
102 |
1 |
| ssl_verify_cert_chain |
|
7 |
28 |
210 |
2 |
| set_client_CA_list |
|
1 |
6 |
31 |
2 |
| SSL_dup_CA_list |
|
4 |
15 |
96 |
1 |
| SSL_set_client_CA_list |
|
1 |
4 |
29 |
2 |
| SSL_CTX_set_client_CA_list |
|
1 |
4 |
29 |
2 |
| SSL_CTX_get_client_CA_list |
|
1 |
4 |
18 |
1 |
| SSL_get_client_CA_list |
|
5 |
15 |
96 |
1 |
| add_client_CA |
|
5 |
15 |
106 |
2 |
| SSL_add_client_CA |
|
1 |
4 |
29 |
2 |
| SSL_CTX_add_client_CA |
|
1 |
4 |
29 |
2 |
| xname_cmp |
|
1 |
4 |
30 |
2 |
| SSL_load_client_CA_file |
|
13 |
47 |
259 |
1 |
| SSL_add_file_cert_subjects_to_stack |
|
9 |
38 |
225 |
2 |
| SSL_add_dir_cert_subjects_to_stack |
|
6 |
26 |
143 |
2 |
| Source file: ./lib/libssl/ssl_pkt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ssl_force_want_read |
|
1 |
8 |
37 |
1 |
| ssl3_read_n |
|
27 |
88 |
591 |
4 |
| ssl3_packet_read |
|
3 |
10 |
62 |
2 |
| ssl3_packet_extend |
|
4 |
13 |
81 |
2 |
| ssl3_get_record |
|
37 |
133 |
876 |
1 |
| ssl3_write_bytes |
|
13 |
43 |
276 |
4 |
| do_ssl3_write |
|
38 |
122 |
884 |
5 |
| ssl3_write_pending |
|
12 |
38 |
280 |
4 |
| ssl3_read_bytes |
|
111 |
311 |
2197 |
5 |
| ssl3_do_change_cipher_spec |
|
9 |
36 |
217 |
1 |
| ssl3_send_alert |
|
5 |
14 |
114 |
3 |
| ssl3_dispatch_alert |
|
7 |
25 |
233 |
1 |
| Source file: ./lib/libssl/ssl23.h |
| Source file: ./lib/libssl/ssl_locl.h |
| Source file: ./lib/libssl/pqueue.h |
| Source file: ./lib/libssl/bytestring.h |
| Source file: ./lib/libssl/ssl3.h |
| Source file: ./lib/libssl/dtls1.h |
| Source file: ./lib/libssl/ssl_sess.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| SSL_get_session |
|
1 |
4 |
16 |
1 |
| SSL_get1_session |
|
2 |
10 |
42 |
1 |
| SSL_SESSION_get_ex_new_index |
|
1 |
6 |
39 |
5 |
| SSL_SESSION_set_ex_data |
|
1 |
4 |
32 |
3 |
| SSL_SESSION_get_ex_data |
|
1 |
4 |
27 |
2 |
| SSL_SESSION_new |
|
3 |
26 |
185 |
1 |
| SSL_SESSION_get_id |
|
2 |
6 |
30 |
2 |
| SSL_SESSION_get_compress_id |
|
1 |
4 |
12 |
1 |
| def_generate_session_id |
|
4 |
11 |
68 |
3 |
| ssl_get_new_session |
|
19 |
81 |
466 |
2 |
| ssl_get_prev_session |
|
32 |
99 |
575 |
4 |
| SSL_CTX_add_session |
|
8 |
33 |
179 |
2 |
| SSL_CTX_remove_session |
|
1 |
4 |
22 |
2 |
| remove_session_lock |
|
8 |
24 |
155 |
3 |
| SSL_SESSION_free |
|
3 |
21 |
161 |
1 |
| SSL_set_session |
|
10 |
36 |
228 |
2 |
| SSL_SESSION_set_timeout |
|
2 |
7 |
33 |
2 |
| SSL_SESSION_get_timeout |
|
2 |
6 |
27 |
1 |
| SSL_SESSION_get_time |
|
2 |
6 |
27 |
1 |
| SSL_SESSION_set_time |
|
2 |
7 |
33 |
2 |
| SSL_SESSION_get0_peer |
|
1 |
4 |
13 |
1 |
| SSL_SESSION_set1_id_context |
|
2 |
11 |
54 |
3 |
| SSL_CTX_set_timeout |
|
2 |
9 |
42 |
2 |
| SSL_CTX_get_timeout |
|
2 |
6 |
27 |
1 |
| SSL_set_session_secret_cb |
|
2 |
10 |
78 |
3 |
| SSL_set_session_ticket_ext_cb |
|
2 |
9 |
47 |
3 |
| SSL_set_session_ticket_ext |
|
4 |
24 |
147 |
3 |
| timeout_doall_arg |
|
4 |
11 |
101 |
2 |
| timeout_LHASH_DOALL_ARG |
|
1 |
6 |
31 |
2 |
| SSL_CTX_flush_sessions |
|
2 |
17 |
113 |
2 |
| ssl_clear_bad_session |
|
5 |
9 |
66 |
1 |
| SSL_SESSION_list_remove |
|
6 |
25 |
246 |
2 |
| SSL_SESSION_list_add |
|
4 |
16 |
161 |
2 |
| SSL_CTX_sess_set_new_cb |
|
1 |
4 |
32 |
2 |
| int( * SSL_CTX_sess_get_new_cb(SSL_CTX*ctx)) |
|
1 |
4 |
18 |
2 |
| SSL_CTX_sess_set_remove_cb |
|
1 |
5 |
31 |
2 |
| void( * SSL_CTX_sess_get_remove_cb(SSL_CTX*ctx)) |
|
1 |
4 |
18 |
2 |
| SSL_CTX_sess_set_get_cb |
|
1 |
5 |
41 |
2 |
| SSL_CTX_set_info_callback |
|
1 |
5 |
34 |
2 |
| void( * SSL_CTX_get_info_callback(SSL_CTX*ctx)) |
|
1 |
4 |
21 |
3 |
| SSL_CTX_set_client_cert_cb |
|
1 |
5 |
35 |
2 |
| int( * SSL_CTX_get_client_cert_cb(SSL_CTX*ctx)) |
|
1 |
5 |
22 |
3 |
| SSL_CTX_set_client_cert_engine |
|
3 |
14 |
64 |
2 |
| SSL_CTX_set_cookie_generate_cb |
|
1 |
5 |
37 |
2 |
| SSL_CTX_set_cookie_verify_cb |
|
1 |
5 |
36 |
2 |
| PEM_write_SSL_SESSION |
|
1 |
5 |
38 |
2 |
| PEM_read_SSL_SESSION |
|
1 |
5 |
44 |
4 |
| PEM_read_bio_SSL_SESSION |
|
1 |
5 |
44 |
4 |
| PEM_write_bio_SSL_SESSION |
|
1 |
5 |
38 |
2 |
| Source file: ./lib/libssl/t1_meth.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tls1_get_method |
|
4 |
10 |
51 |
1 |
| SSLv23_method |
|
1 |
4 |
13 |
1 |
| TLS_method |
|
1 |
4 |
10 |
1 |
| TLSv1_method |
|
1 |
4 |
12 |
1 |
| TLSv1_1_method |
|
1 |
4 |
12 |
1 |
| TLSv1_2_method |
|
1 |
4 |
12 |
1 |
| Source file: ./lib/libssl/tls1.h |
| Source file: ./lib/libssl/t1_enc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tls1_cleanup_key_block |
|
1 |
6 |
51 |
1 |
| tls1_init_finished_mac |
|
2 |
9 |
68 |
1 |
| tls1_finish_mac |
|
5 |
13 |
87 |
3 |
| tls1_digest_cached_records |
|
3 |
17 |
90 |
1 |
| tls1_record_sequence_increment |
|
3 |
8 |
41 |
1 |
| tls1_P_hash |
|
34 |
72 |
561 |
15 |
| tls1_PRF |
|
6 |
29 |
261 |
15 |
| tls1_generate_key_block |
|
2 |
11 |
77 |
3 |
| tls1_aead_ctx_init |
|
3 |
13 |
68 |
1 |
| tls1_change_cipher_state_aead |
|
10 |
45 |
298 |
6 |
| tls1_change_cipher_state_cipher |
|
16 |
79 |
568 |
9 |
| tls1_change_cipher_state |
|
10 |
72 |
468 |
2 |
| tls1_setup_key_block |
|
14 |
60 |
446 |
1 |
| tls1_enc |
|
57 |
211 |
1516 |
2 |
| tls1_final_finish_mac |
|
4 |
14 |
111 |
4 |
| tls1_mac |
|
13 |
64 |
489 |
3 |
| tls1_generate_master_secret |
|
3 |
13 |
86 |
4 |
| tls1_export_keying_material |
|
10 |
56 |
362 |
8 |
| tls1_alert_code |
|
32 |
69 |
270 |
1 |
| Source file: ./lib/libssl/ssl_versions.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ssl_clamp_version_range |
|
7 |
13 |
75 |
4 |
| ssl_version_set_min |
|
3 |
16 |
87 |
4 |
| ssl_version_set_max |
|
3 |
16 |
87 |
4 |
| ssl_enabled_version_range |
|
15 |
28 |
210 |
3 |
| ssl_supported_version_range |
|
6 |
20 |
114 |
3 |
| ssl_max_shared_version |
|
9 |
28 |
135 |
3 |
| ssl_max_server_version |
|
4 |
13 |
84 |
1 |
| Source file: ./lib/libssl/t1_lib.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tls1_default_timeout |
|
1 |
4 |
15 |
1 |
| tls1_new |
|
2 |
7 |
37 |
1 |
| tls1_free |
|
2 |
7 |
30 |
1 |
| tls1_clear |
|
1 |
5 |
25 |
1 |
| tls1_ec_curve_id2nid |
|
3 |
7 |
48 |
1 |
| tls1_ec_nid2curve_id |
|
30 |
65 |
193 |
1 |
| tls1_get_formatlist |
|
3 |
15 |
90 |
4 |
| tls1_get_curvelist |
|
3 |
15 |
92 |
4 |
| tls1_set_groups |
|
4 |
20 |
114 |
4 |
| tls1_set_groups_list |
|
8 |
37 |
217 |
3 |
| tls1_check_curve |
|
3 |
11 |
69 |
2 |
| tls1_get_shared_curve |
|
5 |
18 |
146 |
1 |
| tls1_set_ec_id |
|
11 |
33 |
186 |
3 |
| tls1_check_ec_key |
|
11 |
25 |
166 |
3 |
| tls1_check_ec_server_key |
|
5 |
17 |
117 |
1 |
| tls1_check_ec_tmp_key |
|
4 |
12 |
76 |
1 |
| tls12_get_req_sig_algs |
|
1 |
5 |
30 |
3 |
| ssl_parse_clienthello_tlsext |
|
11 |
49 |
306 |
5 |
| ssl_parse_serverhello_tlsext |
|
11 |
48 |
291 |
4 |
| ssl_check_clienthello_tlsext_early |
|
8 |
23 |
156 |
1 |
| ssl_check_clienthello_tlsext_late |
|
11 |
45 |
221 |
1 |
| ssl_check_serverhello_tlsext |
|
14 |
41 |
276 |
1 |
| tls1_process_ticket |
|
20 |
60 |
359 |
5 |
| tls_decrypt_ticket |
|
18 |
95 |
590 |
6 |
| tls12_find_id |
|
3 |
9 |
55 |
3 |
| tls12_get_sigandhash |
|
4 |
16 |
106 |
3 |
| tls12_get_sigid |
|
1 |
5 |
29 |
1 |
| tls12_get_hash |
|
9 |
23 |
83 |
1 |
| tls1_process_sigalgs |
|
17 |
51 |
323 |
2 |
| Source file: ./lib/libssl/d1_meth.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| DTLSv1_method |
|
1 |
4 |
10 |
1 |
| dtls1_get_method |
|
2 |
6 |
25 |
1 |
| Source file: ./lib/libssl/ssl_tlsext.h |
| Source file: ./lib/libssl/ssl_lib.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| SSL_clear |
|
9 |
39 |
299 |
1 |
| SSL_CTX_set_ssl_version |
|
3 |
12 |
87 |
2 |
| SSL_new |
|
16 |
110 |
863 |
1 |
| SSL_CTX_set_session_id_context |
|
2 |
11 |
61 |
3 |
| SSL_set_session_id_context |
|
2 |
11 |
60 |
3 |
| SSL_CTX_set_generate_session_id |
|
1 |
7 |
34 |
2 |
| SSL_set_generate_session_id |
|
1 |
7 |
34 |
2 |
| SSL_has_matching_session_id |
|
2 |
14 |
97 |
3 |
| SSL_CTX_set_purpose |
|
1 |
4 |
23 |
2 |
| SSL_set_purpose |
|
1 |
4 |
23 |
2 |
| SSL_CTX_set_trust |
|
1 |
4 |
23 |
2 |
| SSL_set_trust |
|
1 |
4 |
23 |
2 |
| SSL_CTX_set1_param |
|
1 |
4 |
24 |
2 |
| SSL_set1_param |
|
1 |
4 |
24 |
2 |
| SSL_free |
|
8 |
48 |
340 |
1 |
| SSL_set_bio |
|
6 |
15 |
106 |
3 |
| SSL_get_rbio |
|
1 |
4 |
16 |
1 |
| SSL_get_wbio |
|
1 |
4 |
16 |
1 |
| SSL_get_fd |
|
1 |
4 |
17 |
1 |
| SSL_get_rfd |
|
2 |
10 |
57 |
1 |
| SSL_get_wfd |
|
2 |
10 |
57 |
1 |
| SSL_set_fd |
|
2 |
15 |
78 |
2 |
| SSL_set_wfd |
|
5 |
19 |
136 |
2 |
| SSL_set_rfd |
|
5 |
19 |
136 |
2 |
| SSL_get_finished |
|
3 |
11 |
73 |
3 |
| SSL_get_peer_finished |
|
3 |
11 |
73 |
3 |
| SSL_get_verify_mode |
|
1 |
4 |
16 |
1 |
| SSL_get_verify_depth |
|
1 |
4 |
19 |
1 |
| int( * SSL_get_verify_callback(constSSL*s)) |
|
1 |
4 |
17 |
2 |
| SSL_CTX_get_verify_mode |
|
1 |
4 |
16 |
1 |
| SSL_CTX_get_verify_depth |
|
1 |
4 |
19 |
1 |
| int( * SSL_CTX_get_verify_callback(constSSL_CTX*ctx)) |
|
1 |
4 |
17 |
2 |
| SSL_set_verify |
|
2 |
7 |
45 |
3 |
| SSL_set_verify_depth |
|
1 |
4 |
20 |
2 |
| SSL_set_read_ahead |
|
1 |
4 |
19 |
2 |
| SSL_get_read_ahead |
|
1 |
4 |
18 |
1 |
| SSL_pending |
|
1 |
4 |
23 |
1 |
| SSL_get_peer_certificate |
|
4 |
12 |
70 |
1 |
| SSL_get_peer_cert_chain |
|
4 |
10 |
64 |
1 |
| SSL_copy_session_id |
|
3 |
18 |
132 |
2 |
| SSL_CTX_check_private_key |
|
5 |
14 |
105 |
1 |
| SSL_check_private_key |
|
5 |
21 |
123 |
1 |
| SSL_accept |
|
2 |
6 |
37 |
1 |
| SSL_connect |
|
2 |
6 |
37 |
1 |
| SSL_get_default_timeout |
|
1 |
4 |
22 |
1 |
| SSL_read |
|
3 |
12 |
83 |
3 |
| SSL_peek |
|
3 |
11 |
75 |
3 |
| SSL_write |
|
3 |
13 |
92 |
3 |
| SSL_shutdown |
|
4 |
11 |
67 |
1 |
| SSL_renegotiate |
|
2 |
7 |
48 |
1 |
| SSL_renegotiate_abbreviated |
|
2 |
7 |
48 |
1 |
| SSL_renegotiate_pending |
|
1 |
4 |
19 |
1 |
| SSL_ctrl |
|
19 |
50 |
305 |
4 |
| SSL_callback_ctrl |
|
2 |
12 |
90 |
3 |
| SSL_CTX_sessions |
|
1 |
4 |
17 |
1 |
| SSL_CTX_ctrl |
|
29 |
72 |
459 |
4 |
| SSL_CTX_callback_ctrl |
|
2 |
12 |
90 |
3 |
| ssl_cipher_id_cmp |
|
3 |
9 |
53 |
2 |
| ssl_cipher_ptr_id_cmp |
|
3 |
10 |
63 |
2 |
| SSL_get_ciphers |
|
5 |
11 |
71 |
1 |
| ssl_get_ciphers_by_id |
|
5 |
12 |
78 |
1 |
| ssl_has_ecc_ciphers |
|
6 |
19 |
114 |
1 |
| SSL_get_cipher_list |
|
5 |
14 |
90 |
2 |
| SSL_CTX_set_cipher_list |
|
3 |
13 |
81 |
2 |
| SSL_set_cipher_list |
|
3 |
13 |
85 |
2 |
| SSL_get_shared_ciphers |
|
9 |
26 |
190 |
3 |
| ssl_cipher_list_to_bytes |
|
11 |
25 |
160 |
3 |
| ssl_bytes_to_cipher_list |
|
14 |
51 |
282 |
2 |
| SSL_get_servername |
|
4 |
8 |
46 |
2 |
| SSL_get_servername_type |
|
4 |
8 |
43 |
1 |
| SSL_select_next_proto |
|
5 |
29 |
187 |
6 |
| SSL_get0_next_proto_negotiated |
|
1 |
6 |
29 |
3 |
| SSL_CTX_set_next_protos_advertised_cb |
|
1 |
4 |
38 |
3 |
| SSL_CTX_set_next_proto_select_cb |
|
1 |
5 |
47 |
3 |
| SSL_CTX_set_alpn_protos |
|
4 |
18 |
113 |
3 |
| SSL_set_alpn_protos |
|
4 |
18 |
113 |
3 |
| SSL_CTX_set_alpn_select_cb |
|
1 |
7 |
64 |
3 |
| SSL_get0_alpn_selected |
|
2 |
10 |
61 |
3 |
| SSL_export_keying_material |
|
1 |
7 |
58 |
8 |
| ssl_session_hash |
|
1 |
10 |
85 |
1 |
| ssl_session_cmp |
|
4 |
10 |
73 |
2 |
| ssl_session_LHASH_HASH |
|
1 |
5 |
22 |
1 |
| ssl_session_LHASH_COMP |
|
1 |
6 |
36 |
2 |
| SSL_CTX_new |
|
16 |
102 |
720 |
1 |
| SSL_CTX_free |
|
6 |
29 |
214 |
1 |
| SSL_CTX_set_default_passwd_cb |
|
1 |
4 |
18 |
2 |
| SSL_CTX_set_default_passwd_cb_userdata |
|
1 |
4 |
18 |
2 |
| SSL_CTX_set_cert_verify_callback |
|
1 |
6 |
41 |
3 |
| SSL_CTX_set_verify |
|
1 |
5 |
37 |
3 |
| SSL_CTX_set_verify_depth |
|
1 |
4 |
20 |
2 |
| ssl_set_cert_masks |
|
16 |
43 |
302 |
2 |
| ssl_using_ecc_cipher |
|
4 |
9 |
73 |
1 |
| ssl_check_srvr_ecc_cert_and_alg |
|
4 |
15 |
95 |
2 |
| ssl_get_server_send_pkey |
|
5 |
23 |
133 |
1 |
| ssl_get_server_send_cert |
|
2 |
8 |
37 |
1 |
| ssl_get_sign_pkey |
|
8 |
23 |
162 |
3 |
| ssl_get_auto_dh |
|
16 |
41 |
291 |
1 |
| ssl_update_cache |
|
12 |
22 |
198 |
2 |
| SSL_get_ssl_method |
|
1 |
4 |
15 |
1 |
| SSL_set_ssl_method |
|
6 |
21 |
159 |
2 |
| SSL_get_error |
|
23 |
55 |
323 |
2 |
| SSL_do_handshake |
|
4 |
13 |
79 |
1 |
| SSL_set_accept_state |
|
1 |
10 |
72 |
1 |
| SSL_set_connect_state |
|
1 |
10 |
72 |
1 |
| ssl_undefined_function |
|
1 |
5 |
20 |
1 |
| ssl_undefined_void_function |
|
1 |
5 |
16 |
1 |
| ssl_undefined_const_function |
|
1 |
5 |
21 |
1 |
| ssl_version_string |
|
5 |
15 |
52 |
1 |
| SSL_get_version |
|
1 |
4 |
17 |
1 |
| SSL_dup |
|
21 |
95 |
754 |
1 |
| ssl_clear_cipher_ctx |
|
3 |
17 |
120 |
1 |
| SSL_get_certificate |
|
2 |
7 |
34 |
1 |
| SSL_get_privatekey |
|
2 |
7 |
33 |
1 |
| SSL_get_current_cipher |
|
3 |
6 |
43 |
1 |
| SSL_get_current_compression |
|
1 |
4 |
13 |
1 |
| SSL_get_current_expansion |
|
1 |
4 |
13 |
1 |
| ssl_init_wbio_buffer |
|
8 |
27 |
165 |
2 |
| ssl_free_wbio_buffer |
|
4 |
12 |
62 |
1 |
| SSL_CTX_set_quiet_shutdown |
|
1 |
4 |
19 |
2 |
| SSL_CTX_get_quiet_shutdown |
|
1 |
4 |
18 |
1 |
| SSL_set_quiet_shutdown |
|
1 |
4 |
19 |
2 |
| SSL_get_quiet_shutdown |
|
1 |
4 |
18 |
1 |
| SSL_set_shutdown |
|
1 |
4 |
19 |
2 |
| SSL_get_shutdown |
|
1 |
4 |
18 |
1 |
| SSL_version |
|
1 |
4 |
16 |
1 |
| SSL_get_SSL_CTX |
|
1 |
4 |
16 |
1 |
| SSL_set_SSL_CTX |
|
5 |
19 |
141 |
2 |
| SSL_CTX_set_default_verify_paths |
|
1 |
4 |
18 |
1 |
| SSL_CTX_load_verify_locations |
|
1 |
5 |
32 |
3 |
| SSL_CTX_load_verify_mem |
|
1 |
4 |
29 |
3 |
| SSL_set_info_callback |
|
1 |
4 |
34 |
2 |
| void( * SSL_get_info_callback(constSSL*ssl)) |
|
1 |
4 |
23 |
3 |
| SSL_state |
|
1 |
4 |
21 |
1 |
| SSL_set_state |
|
1 |
4 |
22 |
2 |
| SSL_set_verify_result |
|
1 |
4 |
17 |
2 |
| SSL_get_verify_result |
|
1 |
4 |
16 |
1 |
| SSL_get_ex_new_index |
|
1 |
6 |
41 |
5 |
| SSL_set_ex_data |
|
1 |
4 |
32 |
3 |
| SSL_get_ex_data |
|
1 |
4 |
27 |
2 |
| SSL_CTX_get_ex_new_index |
|
1 |
6 |
41 |
5 |
| SSL_CTX_set_ex_data |
|
1 |
4 |
32 |
3 |
| SSL_CTX_get_ex_data |
|
1 |
4 |
27 |
2 |
| ssl_ok |
|
1 |
4 |
13 |
1 |
| SSL_CTX_get_cert_store |
|
1 |
4 |
16 |
1 |
| SSL_CTX_set_cert_store |
|
1 |
5 |
25 |
2 |
| SSL_want |
|
1 |
4 |
18 |
1 |
| SSL_CTX_set_tmp_rsa_callback |
|
1 |
5 |
44 |
2 |
| SSL_set_tmp_rsa_callback |
|
1 |
5 |
44 |
2 |
| SSL_CTX_set_tmp_dh_callback |
|
1 |
5 |
44 |
2 |
| SSL_set_tmp_dh_callback |
|
1 |
5 |
44 |
2 |
| SSL_CTX_set_tmp_ecdh_callback |
|
1 |
6 |
44 |
2 |
| SSL_set_tmp_ecdh_callback |
|
1 |
5 |
44 |
2 |
| SSL_CTX_set_msg_callback |
|
1 |
6 |
58 |
2 |
| SSL_set_msg_callback |
|
1 |
5 |
58 |
2 |
| ssl_clear_hash_ctx |
|
2 |
6 |
24 |
1 |
| SSL_set_debug |
|
1 |
4 |
19 |
2 |
| SSL_cache_hit |
|
1 |
4 |
17 |
1 |
| SSL_CTX_set_min_proto_version |
|
1 |
5 |
34 |
2 |
| SSL_CTX_set_max_proto_version |
|
1 |
5 |
34 |
2 |
| SSL_set_min_proto_version |
|
1 |
5 |
34 |
2 |
| SSL_set_max_proto_version |
|
1 |
5 |
34 |
2 |
| ssl_cipher_id_cmp_BSEARCH_CMP_FN |
|
1 |
6 |
36 |
2 |
| OBJ_bsearch_ssl_cipher_id |
|
1 |
5 |
37 |
3 |
| Source file: ./lib/libssl/ssl_rsa.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| SSL_use_certificate |
|
3 |
12 |
69 |
2 |
| SSL_use_certificate_file |
|
6 |
37 |
196 |
3 |
| SSL_use_certificate_ASN1 |
|
2 |
13 |
78 |
3 |
| SSL_use_RSAPrivateKey |
|
4 |
22 |
123 |
2 |
| ssl_set_pkey |
|
6 |
31 |
221 |
2 |
| SSL_use_RSAPrivateKey_file |
|
6 |
36 |
195 |
3 |
| SSL_use_RSAPrivateKey_ASN1 |
|
2 |
14 |
87 |
3 |
| SSL_use_PrivateKey |
|
3 |
14 |
76 |
2 |
| SSL_use_PrivateKey_file |
|
6 |
36 |
195 |
3 |
| SSL_use_PrivateKey_ASN1 |
|
2 |
14 |
93 |
4 |
| SSL_CTX_use_certificate |
|
3 |
12 |
69 |
2 |
| ssl_set_cert |
|
7 |
37 |
259 |
2 |
| SSL_CTX_use_certificate_file |
|
6 |
36 |
184 |
3 |
| SSL_CTX_use_certificate_ASN1 |
|
2 |
13 |
76 |
3 |
| SSL_CTX_use_RSAPrivateKey |
|
4 |
22 |
121 |
2 |
| SSL_CTX_use_RSAPrivateKey_file |
|
6 |
36 |
183 |
3 |
| SSL_CTX_use_RSAPrivateKey_ASN1 |
|
2 |
14 |
86 |
3 |
| SSL_CTX_use_PrivateKey |
|
3 |
12 |
69 |
2 |
| SSL_CTX_use_PrivateKey_file |
|
6 |
36 |
183 |
3 |
| SSL_CTX_use_PrivateKey_ASN1 |
|
2 |
15 |
91 |
4 |
| ssl_ctx_use_certificate_chain_bio |
|
8 |
41 |
209 |
2 |
| SSL_CTX_use_certificate_chain_file |
|
3 |
18 |
89 |
2 |
| SSL_CTX_use_certificate_chain_mem |
|
2 |
14 |
70 |
3 |
| Source file: ./lib/libssl/ssl.h |
| Source file: ./lib/libssl/d1_clnt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| DTLSv1_client_method |
|
1 |
4 |
10 |
1 |
| dtls1_get_client_method |
|
2 |
6 |
25 |
1 |
| dtls1_get_hello_verify |
|
8 |
44 |
295 |
1 |
| Source file: ./lib/libssl/ssl_asn1.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| time_max |
|
3 |
8 |
39 |
1 |
| i2d_SSL_SESSION |
|
50 |
121 |
867 |
2 |
| d2i_SSL_SESSION |
|
50 |
143 |
965 |
3 |
| Source file: ./lib/libssl/ssl_stat.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| SSL_state_string_long |
|
78 |
223 |
687 |
1 |
| SSL_rstate_string_long |
|
4 |
19 |
64 |
1 |
| SSL_state_string |
|
69 |
196 |
598 |
1 |
| SSL_alert_type_string_long |
|
3 |
10 |
41 |
1 |
| SSL_alert_type_string |
|
3 |
10 |
41 |
1 |
| SSL_alert_desc_string |
|
31 |
100 |
303 |
1 |
| SSL_alert_desc_string_long |
|
31 |
100 |
303 |
1 |
| SSL_rstate_string |
|
4 |
19 |
64 |
1 |
| Source file: ./lib/libssl/s3_cbc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| constant_time_lt |
|
1 |
5 |
20 |
2 |
| constant_time_ge |
|
1 |
5 |
20 |
2 |
| constant_time_eq_8 |
|
1 |
6 |
26 |
2 |
| tls1_cbc_remove_padding |
|
7 |
37 |
301 |
4 |
| ssl3_cbc_copy_mac |
|
9 |
44 |
375 |
4 |
| tls1_md5_final_raw |
|
1 |
8 |
55 |
2 |
| tls1_sha1_final_raw |
|
1 |
9 |
64 |
2 |
| tls1_sha256_final_raw |
|
2 |
8 |
49 |
2 |
| tls1_sha512_final_raw |
|
2 |
8 |
49 |
2 |
| ssl3_cbc_record_digest_supported |
|
7 |
14 |
44 |
1 |
| ssl3_cbc_digest_record |
|
22 |
162 |
1280 |
9 |
| Source file: ./lib/libssl/d1_both.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dtls1_hm_fragment_new |
|
6 |
28 |
143 |
2 |
| dtls1_hm_fragment_free |
|
3 |
14 |
67 |
1 |
| dtls1_do_write |
|
23 |
107 |
819 |
2 |
| dtls1_get_message |
|
10 |
50 |
404 |
6 |
| dtls1_preprocess_fragment |
|
6 |
32 |
222 |
3 |
| dtls1_retrieve_buffered_fragment |
|
6 |
35 |
231 |
3 |
| dtls1_max_handshake_message_len |
|
2 |
8 |
43 |
1 |
| dtls1_reassemble_fragment |
|
18 |
76 |
552 |
3 |
| dtls1_process_out_of_seq_message |
|
21 |
58 |
466 |
3 |
| dtls1_get_message_fragment |
|
23 |
80 |
535 |
5 |
| dtls1_read_failed |
|
5 |
17 |
75 |
2 |
| dtls1_get_queue_priority |
|
1 |
4 |
18 |
2 |
| dtls1_retransmit_buffered_messages |
|
5 |
21 |
125 |
1 |
| dtls1_buffer_message |
|
5 |
41 |
386 |
2 |
| dtls1_retransmit_message |
|
7 |
64 |
546 |
4 |
| dtls1_clear_record_buffer |
|
2 |
9 |
58 |
1 |
| dtls1_set_message_header |
|
3 |
10 |
82 |
5 |
| dtls1_set_message_header_int |
|
1 |
10 |
71 |
6 |
| dtls1_fix_message_header |
|
1 |
6 |
41 |
3 |
| dtls1_write_message_header |
|
1 |
10 |
73 |
2 |
| dtls1_min_mtu |
|
1 |
5 |
29 |
1 |
| dtls1_guess_mtu |
|
4 |
10 |
66 |
1 |
| dtls1_get_message_header |
|
6 |
25 |
165 |
2 |
| dtls1_get_ccs_header |
|
1 |
5 |
37 |
2 |
| dtls1_shutdown |
|
1 |
6 |
21 |
1 |
| Source file: ./lib/libssl/ssl_srvr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ssl3_accept |
|
141 |
452 |
2778 |
1 |
| ssl3_send_hello_request |
|
4 |
17 |
107 |
1 |
| ssl3_get_client_hello |
|
65 |
237 |
1574 |
1 |
| ssl3_send_server_hello |
|
14 |
43 |
303 |
1 |
| ssl3_send_server_done |
|
4 |
17 |
107 |
1 |
| ssl3_send_server_kex_dhe |
|
17 |
60 |
415 |
2 |
| ssl3_send_server_kex_ecdhe_ecp |
|
16 |
68 |
408 |
3 |
| ssl3_send_server_kex_ecdhe_ecx |
|
10 |
34 |
219 |
3 |
| ssl3_send_server_kex_ecdhe |
|
2 |
8 |
48 |
2 |
| ssl3_send_server_key_exchange |
|
21 |
126 |
778 |
1 |
| ssl3_send_certificate_request |
|
14 |
48 |
332 |
1 |
| ssl3_get_client_kex_rsa |
|
15 |
60 |
417 |
3 |
| ssl3_get_client_kex_dhe |
|
7 |
45 |
287 |
3 |
| ssl3_get_client_kex_ecdhe_ecp |
|
14 |
92 |
530 |
3 |
| ssl3_get_client_kex_ecdhe_ecx |
|
6 |
26 |
186 |
3 |
| ssl3_get_client_kex_ecdhe |
|
2 |
6 |
49 |
3 |
| ssl3_get_client_kex_gost |
|
11 |
59 |
346 |
3 |
| ssl3_get_client_key_exchange |
|
10 |
35 |
228 |
1 |
| ssl3_get_cert_verify |
|
46 |
206 |
1184 |
1 |
| ssl3_get_client_certificate |
|
25 |
112 |
692 |
1 |
| ssl3_send_server_certificate |
|
6 |
24 |
153 |
1 |
| ssl3_send_newsession_ticket |
|
10 |
83 |
572 |
1 |
| ssl3_send_cert_status |
|
7 |
24 |
164 |
1 |
| Source file: ./lib/libssl/t1_clnt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tls1_get_client_method |
|
4 |
10 |
51 |
1 |
| SSLv23_client_method |
|
1 |
4 |
13 |
1 |
| TLS_client_method |
|
1 |
4 |
12 |
1 |
| TLSv1_client_method |
|
1 |
4 |
12 |
1 |
| TLSv1_1_client_method |
|
1 |
4 |
12 |
1 |
| TLSv1_2_client_method |
|
1 |
4 |
12 |
1 |
| Source file: ./lib/libssl/ssl_ciph.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ssl_load_ciphers |
|
3 |
58 |
316 |
1 |
| ssl_cipher_get_evp |
|
47 |
125 |
602 |
5 |
| ssl_cipher_get_evp_aead |
|
6 |
23 |
106 |
2 |
| ssl_get_handshake_evp_md |
|
6 |
24 |
101 |
2 |
| ll_append_tail |
|
5 |
16 |
102 |
3 |
| ll_append_head |
|
5 |
16 |
102 |
3 |
| ssl_cipher_get_disabled |
|
21 |
32 |
368 |
5 |
| ssl_cipher_collect_ciphers |
|
12 |
40 |
313 |
10 |
| ssl_cipher_collect_aliases |
|
13 |
46 |
281 |
8 |
| ssl_cipher_apply_rule |
|
31 |
77 |
479 |
11 |
| ssl_cipher_strength_sort |
|
9 |
29 |
196 |
2 |
| ssl_cipher_process_rulestr |
|
54 |
175 |
905 |
4 |
| ssl_aes_is_accelerated |
|
2 |
5 |
29 |
1 |
| ssl_create_cipher_list |
|
17 |
97 |
875 |
4 |
| SSL_CIPHER_get_by_id |
|
1 |
4 |
14 |
1 |
| SSL_CIPHER_get_by_value |
|
1 |
4 |
13 |
1 |
| SSL_CIPHER_description |
|
37 |
139 |
519 |
3 |
| SSL_CIPHER_get_version |
|
3 |
9 |
44 |
1 |
| SSL_CIPHER_get_name |
|
2 |
6 |
27 |
1 |
| SSL_CIPHER_get_bits |
|
3 |
10 |
50 |
2 |
| SSL_CIPHER_get_id |
|
1 |
4 |
14 |
1 |
| SSL_CIPHER_get_value |
|
1 |
4 |
15 |
1 |
| SSL_COMP_get_compression_methods |
|
1 |
4 |
9 |
1 |
| SSL_COMP_add_compression_method |
|
1 |
4 |
14 |
2 |
| SSL_COMP_get_name |
|
1 |
4 |
12 |
1 |
| Source file: ./lib/libssl/d1_pkt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| satsub64be |
|
11 |
41 |
271 |
2 |
| dtls1_copy_record |
|
1 |
12 |
139 |
2 |
| dtls1_buffer_record |
|
6 |
32 |
269 |
3 |
| dtls1_retrieve_buffered_record |
|
2 |
12 |
60 |
2 |
| dtls1_process_buffered_records |
|
6 |
20 |
162 |
1 |
| dtls1_process_record |
|
16 |
69 |
458 |
1 |
| dtls1_get_record |
|
33 |
81 |
581 |
1 |
| dtls1_read_bytes |
|
102 |
328 |
2218 |
5 |
| dtls1_write_app_data_bytes |
|
6 |
20 |
114 |
4 |
| have_handshake_fragment |
|
6 |
21 |
153 |
5 |
| dtls1_write_bytes |
|
1 |
8 |
53 |
4 |
| do_dtls1_write |
|
15 |
80 |
601 |
4 |
| dtls1_record_replay_check |
|
4 |
18 |
127 |
2 |
| dtls1_record_bitmap_update |
|
4 |
19 |
129 |
2 |
| dtls1_dispatch_alert |
|
11 |
36 |
338 |
1 |
| dtls1_get_bitmap |
|
5 |
12 |
99 |
3 |
| dtls1_reset_seq_numbers |
|
2 |
16 |
154 |
2 |
| Source file: ./lib/libssl/srtp.h |
| Source file: ./lib/libssl/d1_srvr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| DTLSv1_server_method |
|
1 |
4 |
10 |
1 |
| dtls1_get_server_method |
|
2 |
6 |
25 |
1 |
| dtls1_send_hello_verify_request |
|
9 |
29 |
220 |
1 |
| Source file: ./lib/libssl/ssl_both.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ssl3_do_write |
|
5 |
21 |
185 |
2 |
| ssl3_send_finished |
|
7 |
35 |
271 |
5 |
| ssl3_take_mac |
|
3 |
17 |
92 |
1 |
| ssl3_get_finished |
|
8 |
47 |
319 |
3 |
| ssl3_send_change_cipher_spec |
|
7 |
31 |
216 |
3 |
| ssl3_add_cert |
|
6 |
20 |
114 |
2 |
| ssl3_output_cert_chain |
|
13 |
44 |
273 |
3 |
| ssl3_get_message |
|
26 |
105 |
793 |
6 |
| ssl_cert_type |
|
8 |
24 |
116 |
2 |
| ssl_verify_alarm_type |
|
30 |
57 |
170 |
1 |
| ssl3_setup_init_buffer |
|
4 |
15 |
82 |
1 |
| ssl3_setup_read_buffer |
|
4 |
23 |
144 |
1 |
| ssl3_setup_write_buffer |
|
5 |
25 |
149 |
1 |
| ssl3_setup_buffers |
|
3 |
8 |
33 |
1 |
| ssl3_release_write_buffer |
|
1 |
6 |
32 |
1 |
| ssl3_release_read_buffer |
|
1 |
6 |
32 |
1 |
| Source file: ./lib/libssl/bs_cbs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| CBS_init |
|
1 |
6 |
34 |
3 |
| CBS_dup |
|
1 |
5 |
36 |
2 |
| cbs_get |
|
2 |
9 |
49 |
3 |
| CBS_offset |
|
1 |
4 |
18 |
1 |
| CBS_skip |
|
1 |
5 |
27 |
2 |
| CBS_data |
|
1 |
4 |
14 |
1 |
| CBS_len |
|
1 |
4 |
14 |
1 |
| CBS_stow |
|
3 |
13 |
87 |
3 |
| CBS_strdup |
|
1 |
6 |
46 |
2 |
| CBS_write_bytes |
|
3 |
9 |
60 |
4 |
| CBS_contains_zero_byte |
|
1 |
4 |
25 |
1 |
| CBS_mem_equal |
|
2 |
6 |
42 |
3 |
| cbs_get_u |
|
5 |
16 |
92 |
3 |
| CBS_get_u8 |
|
2 |
8 |
42 |
2 |
| CBS_get_u16 |
|
2 |
8 |
39 |
2 |
| CBS_get_u24 |
|
1 |
4 |
22 |
2 |
| CBS_get_u32 |
|
1 |
4 |
22 |
2 |
| CBS_get_bytes |
|
2 |
8 |
48 |
3 |
| cbs_get_length_prefixed |
|
2 |
7 |
44 |
3 |
| CBS_get_u8_length_prefixed |
|
1 |
4 |
22 |
2 |
| CBS_get_u16_length_prefixed |
|
1 |
4 |
22 |
2 |
| CBS_get_u24_length_prefixed |
|
1 |
4 |
22 |
2 |
| CBS_get_any_asn1_element |
|
1 |
6 |
35 |
4 |
| cbs_get_any_asn1_element_internal |
|
19 |
50 |
310 |
5 |
| cbs_get_asn1 |
|
6 |
16 |
88 |
4 |
| CBS_get_asn1 |
|
1 |
4 |
28 |
3 |
| CBS_get_asn1_element |
|
1 |
4 |
28 |
3 |
| CBS_peek_asn1_tag |
|
3 |
8 |
49 |
2 |
| CBS_get_asn1_uint64 |
|
9 |
24 |
161 |
2 |
| CBS_get_optional_asn1 |
|
3 |
11 |
62 |
4 |
| CBS_get_optional_asn1_octet_string |
|
6 |
18 |
99 |
4 |
| CBS_get_optional_asn1_uint64 |
|
5 |
16 |
83 |
4 |
| CBS_get_optional_asn1_bool |
|
8 |
24 |
137 |
4 |
| Source file: ./lib/libssl/bs_cbb.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cbb_init |
|
2 |
14 |
79 |
3 |
| CBB_init |
|
4 |
14 |
81 |
2 |
| CBB_init_fixed |
|
2 |
8 |
54 |
3 |
| CBB_cleanup |
|
3 |
10 |
58 |
1 |
| cbb_buffer_add |
|
9 |
26 |
158 |
3 |
| cbb_add_u |
|
6 |
16 |
95 |
3 |
| CBB_finish |
|
8 |
16 |
104 |
3 |
| CBB_flush |
|
17 |
53 |
351 |
1 |
| CBB_discard_child |
|
2 |
11 |
60 |
1 |
| cbb_add_length_prefixed |
|
3 |
16 |
108 |
3 |
| CBB_add_u8_length_prefixed |
|
1 |
4 |
22 |
2 |
| CBB_add_u16_length_prefixed |
|
1 |
4 |
22 |
2 |
| CBB_add_u24_length_prefixed |
|
1 |
4 |
22 |
2 |
| CBB_add_asn1 |
|
6 |
18 |
121 |
3 |
| CBB_add_bytes |
|
2 |
8 |
48 |
3 |
| CBB_add_space |
|
3 |
6 |
41 |
3 |
| CBB_add_u8 |
|
2 |
6 |
33 |
2 |
| CBB_add_u16 |
|
2 |
6 |
33 |
2 |
| CBB_add_u24 |
|
2 |
6 |
33 |
2 |
| CBB_add_asn1_uint64 |
|
10 |
23 |
147 |
2 |
| Source file: ./lib/libssl/ssl_txt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| SSL_SESSION_print_fp |
|
2 |
13 |
75 |
2 |
| SSL_SESSION_print |
|
31 |
72 |
533 |
2 |
| Source file: ./lib/libssl/ssl_algs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| SSL_library_init |
|
2 |
38 |
246 |
1 |
| Source file: ./lib/libssl/ssl_err.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ERR_load_SSL_strings |
|
2 |
7 |
36 |
1 |
| SSL_load_error_strings |
|
1 |
5 |
14 |
1 |
| SSL_state_func_code |
|
82 |
169 |
514 |
1 |
| SSL_error_internal |
|
1 |
5 |
44 |
4 |
| Source file: ./lib/libcompiler_rt/ppc/gcc_qmul.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __gcc_qmul |
|
3 |
31 |
272 |
2 |
| Source file: ./lib/libssl/t1_hash.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tls1_handshake_hash_init |
|
6 |
32 |
174 |
1 |
| tls1_handshake_hash_update |
|
2 |
6 |
46 |
3 |
| tls1_handshake_hash_value |
|
6 |
27 |
161 |
4 |
| tls1_handshake_hash_free |
|
1 |
5 |
27 |
1 |
| Source file: ./lib/libcompiler_rt/ppc/multc3.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __multc3 |
|
13 |
60 |
480 |
4 |
| Source file: ./lib/libcompiler_rt/ppc/fixunstfdi.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __fixunstfdi |
|
4 |
30 |
248 |
1 |
| Source file: ./lib/libcompiler_rt/ppc/gcc_qdiv.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __gcc_qdiv |
|
3 |
33 |
292 |
2 |
| Source file: ./lib/libssl/ssl_clnt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ssl3_connect |
|
123 |
381 |
2363 |
1 |
| ssl3_send_client_hello |
|
29 |
80 |
550 |
1 |
| ssl3_get_server_hello |
|
45 |
173 |
1159 |
1 |
| ssl3_get_server_certificate |
|
22 |
118 |
749 |
1 |
| ssl3_get_server_kex_dhe |
|
11 |
57 |
408 |
4 |
| ssl3_get_server_kex_ecdhe_ecp |
|
7 |
43 |
260 |
4 |
| ssl3_get_server_kex_ecdhe_ecx |
|
4 |
20 |
111 |
4 |
| ssl3_get_server_kex_ecdhe |
|
13 |
57 |
360 |
4 |
| ssl3_get_server_key_exchange |
|
28 |
152 |
974 |
1 |
| ssl3_get_certificate_request |
|
27 |
120 |
793 |
1 |
| ca_dn_cmp |
|
1 |
4 |
30 |
2 |
| ssl3_get_new_session_ticket |
|
11 |
49 |
320 |
1 |
| ssl3_get_cert_status |
|
13 |
63 |
354 |
1 |
| ssl3_get_server_done |
|
3 |
17 |
94 |
1 |
| ssl3_send_client_kex_rsa |
|
9 |
43 |
301 |
3 |
| ssl3_send_client_kex_dhe |
|
9 |
48 |
298 |
3 |
| ssl3_send_client_kex_ecdhe_ecp |
|
15 |
71 |
439 |
3 |
| ssl3_send_client_kex_ecdhe_ecx |
|
8 |
30 |
205 |
3 |
| ssl3_send_client_kex_ecdhe |
|
5 |
17 |
104 |
3 |
| ssl3_send_client_kex_gost |
|
14 |
73 |
462 |
3 |
| ssl3_send_client_key_exchange |
|
13 |
44 |
289 |
1 |
| ssl3_send_client_verify |
|
30 |
119 |
780 |
1 |
| ssl3_send_client_certificate |
|
19 |
52 |
401 |
1 |
| ssl3_check_cert_and_algorithm |
|
12 |
49 |
315 |
1 |
| ssl3_check_finished |
|
5 |
16 |
119 |
1 |
| ssl_do_client_cert_cb |
|
4 |
14 |
106 |
3 |
| Source file: ./lib/libcompiler_rt/ppc/gcc_qadd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __gcc_qadd |
|
8 |
49 |
470 |
2 |
| Source file: ./lib/libcompiler_rt/ppc/floatunditf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __floatunditf |
|
1 |
14 |
124 |
1 |
| Source file: ./lib/libcompiler_rt/ppc/floatditf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __floatditf |
|
1 |
11 |
109 |
1 |
| Source file: ./lib/libssl/bio_ssl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| BIO_f_ssl |
|
1 |
4 |
12 |
1 |
| ssl_new |
|
2 |
13 |
69 |
1 |
| ssl_free |
|
6 |
17 |
101 |
1 |
| ssl_read |
|
17 |
63 |
296 |
3 |
| ssl_write |
|
15 |
56 |
275 |
3 |
| ssl_ctrl |
|
45 |
171 |
1051 |
4 |
| ssl_callback_ctrl |
|
2 |
20 |
101 |
3 |
| ssl_puts |
|
1 |
7 |
41 |
2 |
| BIO_new_buffer_ssl_connect |
|
4 |
15 |
98 |
1 |
| BIO_new_ssl_connect |
|
4 |
15 |
100 |
1 |
| BIO_new_ssl |
|
4 |
18 |
94 |
2 |
| BIO_ssl_copy_session_id |
|
5 |
12 |
120 |
2 |
| BIO_ssl_shutdown |
|
3 |
12 |
59 |
1 |
| Source file: ./lib/libcompiler_rt/ppc/gcc_qsub.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __gcc_qsub |
|
8 |
49 |
472 |
2 |
| Source file: ./lib/libcompiler_rt/ppc/DD.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| local_fabs |
|
1 |
5 |
31 |
1 |
| high26bits |
|
1 |
5 |
31 |
1 |
| different_sign |
|
1 |
5 |
59 |
2 |
| Source file: ./lib/libcompiler_rt/x86_64/floatdidf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __floatdidf |
|
1 |
4 |
13 |
1 |
| Source file: ./lib/libcompiler_rt/ppc/fixtfdi.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __fixtfdi |
|
7 |
50 |
430 |
1 |
| Source file: ./lib/libcompiler_rt/x86_64/floatdixf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __floatdixf |
|
1 |
4 |
14 |
1 |
| Source file: ./lib/libcompiler_rt/x86_64/floatdisf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __floatdisf |
|
1 |
4 |
13 |
1 |
| Source file: ./lib/libcompiler_rt/arm/aeabi_div0.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __aeabi_idiv0 |
|
1 |
3 |
9 |
1 |
| __aeabi_ldiv0 |
|
1 |
3 |
10 |
1 |
| Source file: ./lib/libcompiler_rt/arm/aeabi_drsub.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __aeabi_drsub |
|
1 |
3 |
18 |
2 |
| Source file: ./lib/libcompiler_rt/arm/aeabi_cfcmpeq_check_nan.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __aeabi_cfcmpeq_check_nan |
|
2 |
3 |
20 |
2 |
| Source file: ./lib/libcompiler_rt/arm/aeabi_cdcmpeq_check_nan.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __aeabi_cdcmpeq_check_nan |
|
2 |
3 |
20 |
2 |
| Source file: ./lib/libcompiler_rt/arm/sync-ops.h |
| Source file: ./lib/libcompiler_rt/arm/aeabi_frsub.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __aeabi_frsub |
|
1 |
3 |
18 |
2 |
| Source file: ./lib/libcompiler_rt/popcountsi2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __popcountsi2 |
|
1 |
9 |
91 |
1 |
| Source file: ./lib/libcompiler_rt/atomic_flag_test_and_set_explicit.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| atomic_flag_test_and_set_explicit |
|
1 |
4 |
27 |
2 |
| Source file: ./lib/libcompiler_rt/modti3.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __modti3 |
|
1 |
11 |
88 |
2 |
| Source file: ./lib/libcompiler_rt/udivdi3.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __udivdi3 |
|
1 |
4 |
20 |
2 |
| Source file: ./lib/libcompiler_rt/multi3.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __mulddi3 |
|
1 |
19 |
207 |
2 |
| __multi3 |
|
1 |
11 |
85 |
2 |
| Source file: ./lib/libcompiler_rt/fixxfdi.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __fixxfdi |
|
4 |
16 |
155 |
1 |
| Source file: ./lib/libcompiler_rt/fixunsdfsi.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __fixunsdfsi |
|
1 |
3 |
12 |
1 |
| Source file: ./lib/libcompiler_rt/umodsi3.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __umodsi3 |
|
1 |
4 |
22 |
2 |
| Source file: ./lib/libcompiler_rt/atomic_signal_fence.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| atomic_signal_fence |
|
1 |
3 |
12 |
1 |
| Source file: ./lib/libcompiler_rt/fixdfti.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __fixdfti |
|
1 |
3 |
13 |
1 |
| Source file: ./lib/libcompiler_rt/absvti2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __absvti2 |
|
2 |
8 |
67 |
1 |
| Source file: ./lib/libcompiler_rt/divmodsi4.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __divmodsi4 |
|
1 |
6 |
38 |
3 |
| Source file: ./lib/libcompiler_rt/floatuntixf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __floatuntixf |
|
6 |
38 |
221 |
1 |
| Source file: ./lib/libcompiler_rt/truncdfhf2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __truncdfhf2 |
|
1 |
3 |
12 |
1 |
| Source file: ./lib/libcompiler_rt/muldc3.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __muldc3 |
|
25 |
53 |
394 |
4 |
| Source file: ./lib/libcompiler_rt/trunctfdf2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __trunctfdf2 |
|
1 |
3 |
14 |
1 |
| Source file: ./lib/libcompiler_rt/ppc/divtc3.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __divtc3 |
|
15 |
62 |
815 |
4 |
| Source file: ./lib/libcompiler_rt/fixtfsi.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __fixtfsi |
|
1 |
3 |
13 |
1 |
| Source file: ./lib/libcompiler_rt/floattidf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __floattidf |
|
6 |
42 |
273 |
1 |
| Source file: ./lib/libcompiler_rt/fixunstfsi.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __fixunstfsi |
|
1 |
3 |
13 |
1 |
| Source file: ./lib/libcompiler_rt/ashldi3.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __ashldi3 |
|
3 |
20 |
136 |
2 |
| Source file: ./lib/libcompiler_rt/trunctfsf2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __trunctfsf2 |
|
1 |
3 |
14 |
1 |
| Source file: ./lib/libcompiler_rt/multc3.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __multc3 |
|
25 |
48 |
392 |
4 |
| Source file: ./lib/libcompiler_rt/floatdidf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __floatdidf |
|
1 |
10 |
86 |
1 |
| __floatdidf |
|
6 |
42 |
273 |
1 |
| Source file: ./lib/libcompiler_rt/eprintf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __eprintf |
|
1 |
7 |
45 |
4 |
| Source file: ./lib/libcompiler_rt/absvdi2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __absvdi2 |
|
2 |
8 |
67 |
1 |
| Source file: ./lib/libcompiler_rt/extendsfdf2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __extendsfdf2 |
|
1 |
3 |
12 |
1 |
| Source file: ./lib/libcompiler_rt/popcountti2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __popcountti2 |
|
1 |
14 |
171 |
1 |
| Source file: ./lib/libcompiler_rt/fixsfti.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __fixsfti |
|
1 |
3 |
13 |
1 |
| Source file: ./lib/libcompiler_rt/floatundisf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __floatundisf |
|
6 |
38 |
215 |
1 |
| Source file: ./lib/libcompiler_rt/muldi3.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __muldsi3 |
|
1 |
19 |
207 |
2 |
| __muldi3 |
|
1 |
11 |
84 |
2 |
| Source file: ./lib/libcompiler_rt/ffsdi2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __ffsdi2 |
|
3 |
12 |
74 |
1 |
| Source file: ./lib/libcompiler_rt/extendhfsf2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __extendhfsf2 |
|
1 |
3 |
12 |
1 |
| __gnu_h2f_ieee |
|
1 |
3 |
13 |
1 |
| Source file: ./lib/libcompiler_rt/udivmoddi4.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __udivmoddi4 |
|
25 |
144 |
1216 |
3 |
| Source file: ./lib/libcompiler_rt/modsi3.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __modsi3 |
|
1 |
4 |
22 |
2 |
| Source file: ./lib/libcompiler_rt/int_util.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| compilerrt_abort_impl |
|
1 |
3 |
27 |
3 |
| compilerrt_abort_impl |
|
1 |
3 |
27 |
3 |
| compilerrt_abort_impl |
|
1 |
3 |
20 |
3 |
| Source file: ./lib/libcompiler_rt/subdf3.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __subdf3 |
|
1 |
3 |
25 |
2 |
| Source file: ./lib/libcompiler_rt/fixunstfdi.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __fixunstfdi |
|
1 |
3 |
13 |
1 |
| Source file: ./lib/libcompiler_rt/gcc_personality_v0.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| readULEB128 |
|
2 |
14 |
70 |
1 |
| readEncodedPointer |
|
18 |
63 |
310 |
2 |
| continueUnwind |
|
3 |
6 |
31 |
2 |
| __gcc_personality_v0 |
|
11 |
43 |
310 |
5 |
| Source file: ./lib/libcompiler_rt/comparesf2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __lesf2 |
|
9 |
18 |
131 |
2 |
| __gesf2 |
|
9 |
17 |
131 |
2 |
| __unordsf2 |
|
2 |
5 |
40 |
2 |
| __eqsf2 |
|
1 |
3 |
18 |
2 |
| __ltsf2 |
|
1 |
3 |
18 |
2 |
| __nesf2 |
|
1 |
3 |
18 |
2 |
| __gtsf2 |
|
1 |
3 |
18 |
2 |
| Source file: ./lib/libcompiler_rt/divxc3.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __divxc3 |
|
19 |
40 |
400 |
4 |
| Source file: ./lib/libcompiler_rt/floatsidf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __floatsidf |
|
3 |
16 |
113 |
1 |
| Source file: ./lib/libcompiler_rt/mulxc3.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __mulxc3 |
|
25 |
53 |
402 |
4 |
| Source file: ./lib/libcompiler_rt/trampoline_setup.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __trampoline_setup |
|
2 |
17 |
117 |
4 |
| Source file: ./lib/libcompiler_rt/mulodi4.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __mulodi4 |
|
12 |
37 |
216 |
3 |
| Source file: ./lib/libcompiler_rt/divdc3.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __divdc3 |
|
19 |
40 |
418 |
4 |
| Source file: ./lib/libcompiler_rt/fixdfdi.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __fixdfdi |
|
2 |
7 |
31 |
1 |
| __fixdfdi |
|
1 |
3 |
13 |
1 |
| Source file: ./lib/libcompiler_rt/subvsi3.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __subvsi3 |
|
4 |
15 |
57 |
2 |
| Source file: ./lib/libcompiler_rt/divdi3.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __divdi3 |
|
1 |
10 |
88 |
2 |
| Source file: ./lib/libcompiler_rt/parityti2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __parityti2 |
|
1 |
6 |
32 |
1 |
| Source file: ./lib/libcompiler_rt/fixunsxfsi.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __fixunsxfsi |
|
4 |
11 |
97 |
1 |
| Source file: ./lib/libcompiler_rt/fp_extend.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| src_rep_t_clz |
|
3 |
7 |
45 |
1 |
| srcToRep |
|
1 |
4 |
31 |
1 |
| dstFromRep |
|
1 |
4 |
31 |
1 |
| Source file: ./lib/libcompiler_rt/fixtfdi.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __fixtfdi |
|
1 |
3 |
13 |
1 |
| Source file: ./lib/libcompiler_rt/negvti2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __negvti2 |
|
2 |
7 |
47 |
1 |
| Source file: ./lib/libcompiler_rt/cpu_model.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| isCpuIdSupported |
|
4 |
23 |
49 |
0 |
| getX86CpuIDAndInfo |
|
7 |
21 |
154 |
5 |
| getX86CpuIDAndInfoEx |
|
10 |
36 |
236 |
6 |
| getX86XCR0 |
|
3 |
9 |
66 |
2 |
| detectX86FamilyModel |
|
4 |
10 |
89 |
3 |
| getIntelProcessorTypeAndSubtype |
|
90 |
229 |
907 |
6 |
| getAMDProcessorTypeAndSubtype |
|
35 |
117 |
429 |
5 |
| getAvailableFeatures |
|
9 |
30 |
392 |
3 |
| __cpu_indicator_init |
|
6 |
37 |
262 |
1 |
| Source file: ./lib/libcompiler_rt/negdi2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __negdi2 |
|
1 |
4 |
11 |
1 |
| Source file: ./lib/libcompiler_rt/powixf2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __powixf2 |
|
5 |
15 |
66 |
2 |
| Source file: ./lib/libcompiler_rt/popcountdi2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __popcountdi2 |
|
1 |
10 |
106 |
1 |
| Source file: ./lib/libcompiler_rt/paritydi2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __paritydi2 |
|
1 |
6 |
32 |
1 |
| Source file: ./lib/libcompiler_rt/floatunditf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __floatunditf |
|
2 |
10 |
86 |
1 |
| Source file: ./lib/libcompiler_rt/mulvti3.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __mulvti3 |
|
12 |
35 |
204 |
2 |
| Source file: ./lib/libcompiler_rt/ashlti3.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __ashlti3 |
|
3 |
20 |
137 |
2 |
| Source file: ./lib/libcompiler_rt/atomic_flag_clear_explicit.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| atomic_flag_clear_explicit |
|
1 |
4 |
26 |
2 |
| Source file: ./lib/libcompiler_rt/ctzti2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __ctzti2 |
|
1 |
8 |
76 |
1 |
| Source file: ./lib/libcompiler_rt/int_types.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| make_ti |
|
1 |
6 |
34 |
2 |
| make_tu |
|
1 |
6 |
34 |
2 |
| Source file: ./lib/libcompiler_rt/divtf3.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __divtf3 |
|
16 |
83 |
776 |
2 |
| Source file: ./lib/libcompiler_rt/floattixf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __floattixf |
|
6 |
41 |
256 |
1 |
| Source file: ./lib/libcompiler_rt/divdf3.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __divdf3 |
|
16 |
71 |
628 |
2 |
| Source file: ./lib/libcompiler_rt/addvdi3.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __addvdi3 |
|
4 |
15 |
57 |
2 |
| Source file: ./lib/libcompiler_rt/negvsi2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __negvsi2 |
|
2 |
7 |
47 |
1 |
| Source file: ./lib/libcompiler_rt/umoddi3.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __umoddi3 |
|
1 |
6 |
26 |
2 |
| Source file: ./lib/libcompiler_rt/comparedf2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __ledf2 |
|
9 |
18 |
131 |
2 |
| __gedf2 |
|
9 |
17 |
131 |
2 |
| __unorddf2 |
|
2 |
5 |
40 |
2 |
| __eqdf2 |
|
1 |
3 |
18 |
2 |
| __ltdf2 |
|
1 |
3 |
18 |
2 |
| __nedf2 |
|
1 |
3 |
18 |
2 |
| __gtdf2 |
|
1 |
3 |
18 |
2 |
| Source file: ./lib/libcompiler_rt/absvsi2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __absvsi2 |
|
2 |
8 |
64 |
1 |
| Source file: ./lib/libcompiler_rt/udivmodti4.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __udivmodti4 |
|
25 |
145 |
1216 |
3 |
| Source file: ./lib/libcompiler_rt/int_endianness.h |
| Source file: ./lib/libssl/s3_lib.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ssl3_num_ciphers |
|
1 |
4 |
11 |
1 |
| ssl3_get_cipher |
|
2 |
7 |
35 |
1 |
| ssl3_get_cipher_by_id |
|
3 |
10 |
56 |
1 |
| ssl3_get_cipher_by_value |
|
1 |
4 |
15 |
1 |
| ssl3_cipher_get_value |
|
1 |
4 |
18 |
1 |
| ssl3_pending |
|
3 |
7 |
47 |
1 |
| ssl3_handshake_msg_hdr_len |
|
2 |
5 |
20 |
1 |
| ssl3_handshake_msg_start |
|
1 |
8 |
61 |
2 |
| ssl3_handshake_msg_finish |
|
2 |
14 |
103 |
2 |
| ssl3_handshake_msg_start_cbb |
|
6 |
20 |
106 |
4 |
| ssl3_handshake_msg_finish_cbb |
|
6 |
30 |
193 |
2 |
| ssl3_handshake_write |
|
1 |
4 |
16 |
1 |
| ssl3_record_write |
|
2 |
6 |
34 |
2 |
| ssl3_new |
|
3 |
11 |
91 |
1 |
| ssl3_free |
|
2 |
18 |
146 |
1 |
| ssl3_clear |
|
1 |
38 |
344 |
1 |
| ssl_ctrl_get_server_tmp_key |
|
16 |
51 |
335 |
2 |
| _SSL_session_reused |
|
1 |
4 |
15 |
1 |
| _SSL_num_renegotiations |
|
1 |
4 |
16 |
1 |
| _SSL_clear_num_renegotiations |
|
1 |
7 |
32 |
1 |
| _SSL_total_renegotiations |
|
1 |
4 |
16 |
1 |
| _SSL_set_tmp_dh |
|
4 |
19 |
102 |
2 |
| _SSL_set_dh_auto |
|
1 |
5 |
22 |
2 |
| _SSL_set_tmp_ecdh |
|
4 |
15 |
86 |
2 |
| _SSL_set_ecdh_auto |
|
1 |
4 |
14 |
2 |
| _SSL_set_tlsext_host_name |
|
4 |
16 |
86 |
2 |
| _SSL_set_tlsext_debug_arg |
|
1 |
5 |
23 |
2 |
| _SSL_set_tlsext_status_type |
|
1 |
5 |
20 |
2 |
| _SSL_get_tlsext_status_exts |
|
1 |
5 |
27 |
2 |
| _SSL_set_tlsext_status_exts |
|
1 |
5 |
26 |
2 |
| _SSL_get_tlsext_status_ids |
|
1 |
5 |
27 |
2 |
| _SSL_set_tlsext_status_ids |
|
1 |
5 |
26 |
2 |
| _SSL_get_tlsext_status_ocsp_resp |
|
1 |
5 |
29 |
2 |
| _SSL_set_tlsext_status_ocsp_resp |
|
1 |
7 |
44 |
3 |
| SSL_set1_groups |
|
1 |
5 |
38 |
3 |
| SSL_set1_groups_list |
|
1 |
5 |
33 |
2 |
| ssl3_ctrl |
|
35 |
74 |
378 |
4 |
| ssl3_callback_ctrl |
|
8 |
24 |
149 |
3 |
| _SSL_CTX_set_tmp_dh |
|
2 |
11 |
63 |
2 |
| _SSL_CTX_set_dh_auto |
|
1 |
5 |
24 |
2 |
| _SSL_CTX_set_tmp_ecdh |
|
3 |
11 |
63 |
2 |
| _SSL_CTX_set_ecdh_auto |
|
1 |
4 |
14 |
2 |
| _SSL_CTX_set_tlsext_servername_arg |
|
1 |
5 |
23 |
2 |
| _SSL_CTX_get_tlsext_ticket_keys |
|
3 |
13 |
87 |
3 |
| _SSL_CTX_set_tlsext_ticket_keys |
|
3 |
13 |
87 |
3 |
| _SSL_CTX_set_tlsext_status_arg |
|
1 |
5 |
23 |
2 |
| _SSL_CTX_add_extra_chain_cert |
|
4 |
10 |
58 |
2 |
| _SSL_CTX_get_extra_chain_certs |
|
1 |
5 |
25 |
2 |
| _SSL_CTX_clear_extra_chain_certs |
|
1 |
6 |
26 |
1 |
| SSL_CTX_set1_groups |
|
1 |
5 |
38 |
3 |
| SSL_CTX_set1_groups_list |
|
1 |
5 |
33 |
2 |
| ssl3_ctx_ctrl |
|
25 |
52 |
264 |
4 |
| ssl3_ctx_callback_ctrl |
|
7 |
26 |
174 |
3 |
| ssl3_get_cipher_by_char |
|
2 |
9 |
47 |
1 |
| ssl3_put_cipher_by_char |
|
3 |
9 |
54 |
2 |
| ssl3_choose_cipher |
|
12 |
41 |
259 |
3 |
| ssl3_get_req_cert_types |
|
10 |
24 |
147 |
2 |
| ssl3_shutdown |
|
11 |
29 |
225 |
1 |
| ssl3_write |
|
10 |
35 |
239 |
3 |
| ssl3_read_internal |
|
4 |
18 |
141 |
4 |
| ssl3_read |
|
1 |
4 |
27 |
3 |
| ssl3_peek |
|
1 |
4 |
27 |
3 |
| ssl3_renegotiate |
|
3 |
9 |
52 |
1 |
| ssl3_renegotiate_check |
|
5 |
15 |
103 |
1 |
| ssl_get_algorithm2 |
|
3 |
8 |
52 |
1 |
| Source file: ./lib/libcompiler_rt/negti2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __negti2 |
|
1 |
4 |
11 |
1 |
| Source file: ./lib/libcompiler_rt/clzdi2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __clzdi2 |
|
1 |
8 |
73 |
1 |
| Source file: ./lib/libcompiler_rt/fixxfti.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __fixxfti |
|
5 |
19 |
166 |
1 |
| Source file: ./lib/libcompiler_rt/mulvsi3.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __mulvsi3 |
|
12 |
35 |
204 |
2 |
| Source file: ./lib/libcompiler_rt/fixunstfti.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __fixunstfti |
|
1 |
3 |
13 |
1 |
| Source file: ./lib/libcompiler_rt/atomic_flag_test_and_set.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| atomic_flag_test_and_set |
|
1 |
3 |
24 |
1 |
| Source file: ./lib/libcompiler_rt/emutls.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| emutls_memalign_alloc |
|
4 |
12 |
100 |
2 |
| emutls_memalign_free |
|
2 |
4 |
28 |
1 |
| emutls_allocate_object |
|
4 |
18 |
142 |
1 |
| emutls_key_destructor |
|
3 |
9 |
62 |
1 |
| emutls_init |
|
2 |
4 |
22 |
1 |
| emutls_get_index |
|
3 |
15 |
93 |
1 |
| emutls_check_array_set_size |
|
2 |
7 |
38 |
2 |
| emutls_new_data_array_size |
|
1 |
3 |
27 |
1 |
| emutls_get_address_array |
|
5 |
19 |
161 |
1 |
| __emutls_get_address |
|
2 |
7 |
62 |
1 |
| Source file: ./lib/libcompiler_rt/fixunsdfti.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __fixunsdfti |
|
1 |
3 |
13 |
1 |
| Source file: ./lib/libcompiler_rt/fixunssfti.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __fixunssfti |
|
1 |
3 |
13 |
1 |
| Source file: ./lib/libcompiler_rt/floatdixf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __floatdixf |
|
2 |
15 |
117 |
1 |
| Source file: ./lib/libcompiler_rt/moddi3.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __moddi3 |
|
1 |
11 |
88 |
2 |
| Source file: ./lib/libcompiler_rt/clzsi2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __clzsi2 |
|
1 |
17 |
143 |
1 |
| Source file: ./lib/libcompiler_rt/int_math.h |
| Source file: ./lib/libcompiler_rt/muloti4.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __muloti4 |
|
12 |
37 |
216 |
3 |
| Source file: ./lib/libcompiler_rt/negvdi2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __negvdi2 |
|
2 |
7 |
47 |
1 |
| Source file: ./lib/libcompiler_rt/ucmpti2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __ucmpti2 |
|
5 |
16 |
99 |
2 |
| Source file: ./lib/libcompiler_rt/ctzsi2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __ctzsi2 |
|
1 |
18 |
144 |
1 |
| Source file: ./lib/libcompiler_rt/int_util.h |
| Source file: ./lib/libcompiler_rt/fixsfsi.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __fixsfsi |
|
1 |
3 |
12 |
1 |
| Source file: ./lib/libcompiler_rt/fp_lib.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rep_clz |
|
1 |
3 |
13 |
1 |
| wideMultiply |
|
1 |
5 |
42 |
4 |
| rep_clz |
|
3 |
7 |
45 |
1 |
| wideMultiply |
|
1 |
10 |
134 |
4 |
| rep_clz |
|
3 |
19 |
94 |
1 |
| wideMultiply |
|
1 |
48 |
469 |
4 |
| toRep |
|
1 |
4 |
31 |
1 |
| fromRep |
|
1 |
4 |
31 |
1 |
| normalize |
|
1 |
5 |
34 |
1 |
| wideLeftShift |
|
1 |
4 |
43 |
3 |
| wideRightShiftWithSticky |
|
3 |
16 |
141 |
3 |
| Source file: ./lib/libcompiler_rt/divsi3.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __divsi3 |
|
1 |
10 |
84 |
2 |
| Source file: ./lib/libcompiler_rt/subsf3.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __subsf3 |
|
1 |
3 |
25 |
2 |
| Source file: ./lib/libcompiler_rt/addtf3.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __addtf3 |
|
1 |
3 |
20 |
2 |
| Source file: ./lib/libcompiler_rt/floatsisf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __floatsisf |
|
6 |
24 |
176 |
1 |
| Source file: ./lib/libcompiler_rt/lshrdi3.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __lshrdi3 |
|
3 |
20 |
136 |
2 |
| Source file: ./lib/libcompiler_rt/enable_execute_stack.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __enable_execute_stack |
|
5 |
15 |
145 |
1 |
| Source file: ./lib/libcompiler_rt/negdf2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __negdf2 |
|
1 |
3 |
17 |
1 |
| Source file: ./lib/libcompiler_rt/floatditf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __floatditf |
|
3 |
17 |
122 |
1 |
| Source file: ./lib/libcompiler_rt/ffsti2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __ffsti2 |
|
3 |
12 |
74 |
1 |
| Source file: ./lib/libcompiler_rt/divsf3.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __divsf3 |
|
16 |
62 |
543 |
2 |
| Source file: ./lib/libcompiler_rt/muldf3.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __muldf3 |
|
1 |
3 |
17 |
2 |
| Source file: ./lib/libcompiler_rt/mulsc3.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __mulsc3 |
|
25 |
53 |
394 |
4 |
| Source file: ./lib/libcompiler_rt/addsf3.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __addsf3 |
|
1 |
3 |
17 |
2 |
| Source file: ./lib/libcompiler_rt/floatunsisf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __floatunsisf |
|
5 |
18 |
153 |
1 |
| Source file: ./lib/libcompiler_rt/atomic_flag_clear.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| atomic_flag_clear |
|
1 |
3 |
23 |
1 |
| Source file: ./lib/libcompiler_rt/floatuntisf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __floatuntisf |
|
6 |
38 |
216 |
1 |
| Source file: ./lib/libcompiler_rt/mulsf3.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __mulsf3 |
|
1 |
3 |
17 |
2 |
| Source file: ./lib/libcompiler_rt/divmoddi4.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __divmoddi4 |
|
1 |
6 |
38 |
3 |
| Source file: ./lib/libcompiler_rt/floatundixf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __floatundixf |
|
2 |
12 |
85 |
1 |
| Source file: ./lib/libcompiler_rt/lshrti3.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __lshrti3 |
|
3 |
20 |
137 |
2 |
| Source file: ./lib/libcompiler_rt/floatunsidf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __floatunsidf |
|
2 |
10 |
86 |
1 |
| Source file: ./lib/libcompiler_rt/fixunsxfti.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __fixunsxfti |
|
5 |
16 |
118 |
1 |
| Source file: ./lib/libcompiler_rt/fixunssfsi.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __fixunssfsi |
|
1 |
3 |
12 |
1 |
| Source file: ./lib/libcompiler_rt/adddf3.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __adddf3 |
|
1 |
3 |
17 |
2 |
| Source file: ./lib/libcompiler_rt/unwind-ehabi-helpers.h |
| Source file: ./lib/libcompiler_rt/ashrti3.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __ashrti3 |
|
3 |
20 |
148 |
2 |
| Source file: ./lib/libcompiler_rt/powitf2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __powitf2 |
|
5 |
15 |
66 |
2 |
| Source file: ./lib/libcompiler_rt/fixunsdfdi.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __fixunsdfdi |
|
2 |
7 |
53 |
1 |
| __fixunsdfdi |
|
1 |
3 |
13 |
1 |
| Source file: ./lib/libcompiler_rt/mulosi4.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __mulosi4 |
|
12 |
37 |
216 |
3 |
| Source file: ./lib/libcompiler_rt/floatuntidf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __floatuntidf |
|
6 |
39 |
238 |
1 |
| Source file: ./lib/libcompiler_rt/ashrdi3.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __ashrdi3 |
|
3 |
20 |
147 |
2 |
| Source file: ./lib/libcompiler_rt/truncsfhf2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __truncsfhf2 |
|
1 |
3 |
12 |
1 |
| __gnu_f2h_ieee |
|
1 |
3 |
13 |
1 |
| Source file: ./lib/libcompiler_rt/floatunsitf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __floatunsitf |
|
2 |
10 |
87 |
1 |
| Source file: ./lib/libcompiler_rt/addvsi3.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __addvsi3 |
|
4 |
15 |
57 |
2 |
| Source file: ./lib/libcompiler_rt/int_lib.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __builtin_ctz |
|
2 |
6 |
28 |
1 |
| __builtin_clz |
|
2 |
6 |
30 |
1 |
| __builtin_clzll |
|
2 |
6 |
30 |
1 |
| __builtin_clzll |
|
3 |
9 |
61 |
1 |
| Source file: ./lib/libcompiler_rt/clzti2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __clzti2 |
|
1 |
8 |
76 |
1 |
| Source file: ./lib/libcompiler_rt/atomic.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| unlock |
|
2 |
6 |
51 |
1 |
| lock |
|
2 |
8 |
59 |
1 |
| unlock |
|
1 |
3 |
13 |
1 |
| lock |
|
1 |
3 |
13 |
1 |
| unlock |
|
1 |
3 |
16 |
1 |
| lock |
|
2 |
6 |
34 |
1 |
| lock_for_pointer |
|
1 |
8 |
46 |
1 |
| __atomic_load_c |
|
1 |
7 |
49 |
4 |
| __atomic_store_c |
|
1 |
7 |
50 |
4 |
| __atomic_compare_exchange_c |
|
2 |
14 |
92 |
6 |
| __atomic_exchange_c |
|
1 |
8 |
63 |
5 |
| Source file: ./lib/libcompiler_rt/comparetf2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __letf2 |
|
9 |
18 |
131 |
2 |
| __getf2 |
|
9 |
17 |
131 |
2 |
| __unordtf2 |
|
2 |
5 |
41 |
2 |
| __eqtf2 |
|
1 |
3 |
18 |
2 |
| __lttf2 |
|
1 |
3 |
18 |
2 |
| __netf2 |
|
1 |
3 |
18 |
2 |
| __gttf2 |
|
1 |
3 |
18 |
2 |
| Source file: ./lib/libcompiler_rt/fixsfdi.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __fixsfdi |
|
2 |
7 |
31 |
1 |
| __fixsfdi |
|
1 |
3 |
13 |
1 |
| Source file: ./lib/libcompiler_rt/cmpdi2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __cmpdi2 |
|
5 |
16 |
99 |
2 |
| __aeabi_lcmp |
|
1 |
4 |
20 |
2 |
| Source file: ./lib/libcompiler_rt/floatundidf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __floatundidf |
|
1 |
12 |
108 |
1 |
| __floatundidf |
|
6 |
39 |
238 |
1 |
| Source file: ./lib/libcompiler_rt/clear_cache.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| clear_mips_cache |
|
1 |
30 |
65 |
2 |
| __clear_cache |
|
14 |
41 |
376 |
2 |
| Source file: ./lib/libcompiler_rt/umodti3.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __umodti3 |
|
1 |
6 |
26 |
2 |
| Source file: ./lib/libcompiler_rt/ctzdi2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __ctzdi2 |
|
1 |
8 |
73 |
1 |
| Source file: ./lib/libcompiler_rt/divsc3.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __divsc3 |
|
19 |
40 |
394 |
4 |
| Source file: ./lib/libcompiler_rt/subvti3.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __subvti3 |
|
4 |
15 |
57 |
2 |
| Source file: ./lib/libcompiler_rt/powisf2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __powisf2 |
|
5 |
15 |
64 |
2 |
| Source file: ./lib/libcompiler_rt/paritysi2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __paritysi2 |
|
1 |
8 |
50 |
1 |
| Source file: ./lib/libcompiler_rt/extendsftf2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __extendsftf2 |
|
1 |
3 |
13 |
1 |
| Source file: ./lib/libcompiler_rt/floatsitf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __floatsitf |
|
3 |
17 |
122 |
1 |
| Source file: ./lib/libcompiler_rt/negsf2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __negsf2 |
|
1 |
3 |
17 |
1 |
| Source file: ./lib/libcompiler_rt/apple_versioning.c |
| Source file: ./lib/libcompiler_rt/extenddftf2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __extenddftf2 |
|
1 |
3 |
13 |
1 |
| Source file: ./lib/libcompiler_rt/divtc3.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __divtc3 |
|
19 |
40 |
406 |
4 |
| Source file: ./lib/libcompiler_rt/addvti3.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __addvti3 |
|
4 |
15 |
57 |
2 |
| Source file: ./lib/libcompiler_rt/atomic_thread_fence.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| atomic_thread_fence |
|
1 |
3 |
12 |
1 |
| Source file: ./lib/libcompiler_rt/fixdfsi.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __fixdfsi |
|
1 |
3 |
12 |
1 |
| Source file: ./lib/libcompiler_rt/fp_trunc.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| srcToRep |
|
1 |
4 |
31 |
1 |
| dstFromRep |
|
1 |
4 |
31 |
1 |
| Source file: ./lib/libcompiler_rt/cmpti2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __cmpti2 |
|
5 |
16 |
99 |
2 |
| Source file: ./lib/libcompiler_rt/truncdfsf2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __truncdfsf2 |
|
1 |
3 |
12 |
1 |
| Source file: ./lib/libcompiler_rt/multf3.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __multf3 |
|
1 |
3 |
18 |
2 |
| Source file: ./lib/libcompiler_rt/fixtfti.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __fixtfti |
|
1 |
3 |
13 |
1 |
| Source file: ./lib/libcompiler_rt/udivmodsi4.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __udivmodsi4 |
|
1 |
6 |
38 |
3 |
| Source file: ./lib/libcompiler_rt/subvdi3.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __subvdi3 |
|
4 |
15 |
57 |
2 |
| Source file: ./lib/libcompiler_rt/fixunssfdi.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __fixunssfdi |
|
2 |
8 |
58 |
1 |
| __fixunssfdi |
|
1 |
3 |
13 |
1 |
| Source file: ./lib/libcompiler_rt/subtf3.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __subtf3 |
|
1 |
3 |
26 |
2 |
| Source file: ./lib/libcompiler_rt/assembly.h |
| Source file: ./lib/libcompiler_rt/udivsi3.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __udivsi3 |
|
6 |
30 |
198 |
2 |
| Source file: ./lib/libcompiler_rt/divti3.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __divti3 |
|
1 |
10 |
88 |
2 |
| Source file: ./lib/libcompiler_rt/mulvdi3.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __mulvdi3 |
|
12 |
35 |
204 |
2 |
| Source file: ./lib/libcompiler_rt/floatdisf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __floatdisf |
|
6 |
41 |
250 |
1 |
| Source file: ./lib/libcompiler_rt/fixunsxfdi.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __fixunsxfdi |
|
4 |
11 |
95 |
1 |
| Source file: ./lib/libcompiler_rt/udivti3.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __udivti3 |
|
1 |
4 |
20 |
2 |
| Source file: ./lib/libcompiler_rt/ucmpdi2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __ucmpdi2 |
|
5 |
16 |
99 |
2 |
| __aeabi_ulcmp |
|
1 |
4 |
20 |
2 |
| Source file: ./lib/libcompiler_rt/powidf2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __powidf2 |
|
5 |
15 |
64 |
2 |
| Source file: ./lib/libusbhid/descr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| hid_get_report_desc |
|
2 |
8 |
52 |
1 |
| hid_use_report_desc |
|
2 |
10 |
62 |
2 |
| hid_dispose_report_desc |
|
1 |
4 |
12 |
1 |
| Source file: ./lib/libcompiler_rt/floattisf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __floattisf |
|
6 |
41 |
251 |
1 |
| Source file: ./lib/libusbhid/usbvar.h |
| Source file: ./lib/libusbhid/data.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| hid_get_data |
|
8 |
29 |
207 |
2 |
| hid_set_data |
|
5 |
28 |
195 |
3 |
| Source file: ./lib/libossaudio/soundcard.h |
| Source file: ./lib/libusbhid/usbhid.h |
| Source file: ./lib/libskey/skey.h |
| Source file: ./lib/libossaudio/ossaudio.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _oss_ioctl |
|
3 |
14 |
85 |
3 |
| opaque_to_enum |
|
7 |
17 |
116 |
3 |
| enum_to_ord |
|
2 |
6 |
34 |
2 |
| enum_to_mask |
|
3 |
10 |
51 |
2 |
| getdevinfo |
|
26 |
104 |
775 |
1 |
| mixer_ioctl |
|
45 |
147 |
1004 |
3 |
| Source file: ./lib/libusbhid/usage.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dump_hid_table |
|
3 |
11 |
94 |
1 |
| hid_init |
|
2 |
5 |
26 |
1 |
| hid_start |
|
30 |
119 |
708 |
1 |
| hid_usage_page |
|
4 |
12 |
72 |
1 |
| hid_usage_in_page |
|
7 |
24 |
176 |
1 |
| hid_parse_usage_page |
|
4 |
10 |
61 |
1 |
| hid_parse_usage_in_page |
|
6 |
21 |
159 |
1 |
| Source file: ./lib/liby/yyerror.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| yyerror |
|
1 |
5 |
25 |
1 |
| Source file: ./lib/liby/main.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
1 |
4 |
12 |
0 |
| Source file: ./lib/libedit/readline/history.h |
| Source file: ./lib/libusbhid/parse.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| hid_clear_local |
|
1 |
13 |
68 |
1 |
| hid_switch_rid |
|
15 |
40 |
291 |
3 |
| hid_start_parse |
|
2 |
13 |
87 |
3 |
| hid_end_parse |
|
2 |
6 |
20 |
1 |
| hid_get_byte |
|
3 |
15 |
79 |
2 |
| hid_get_item_raw |
|
56 |
261 |
1352 |
2 |
| hid_get_item |
|
5 |
10 |
58 |
2 |
| hid_report_size |
|
7 |
29 |
178 |
3 |
| hid_locate |
|
5 |
14 |
104 |
5 |
| Source file: ./lib/libskey/skeysubr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| keycrunch |
|
3 |
16 |
147 |
3 |
| keycrunch_md5 |
|
1 |
11 |
98 |
3 |
| keycrunch_sha1 |
|
2 |
17 |
212 |
3 |
| keycrunch_rmd160 |
|
1 |
12 |
108 |
3 |
| f |
|
1 |
4 |
22 |
1 |
| rip |
|
2 |
6 |
27 |
1 |
| readpass |
|
3 |
16 |
108 |
2 |
| readskey |
|
2 |
8 |
46 |
2 |
| trapped |
|
1 |
6 |
26 |
1 |
| atob8 |
|
8 |
20 |
150 |
2 |
| btoa8 |
|
3 |
9 |
101 |
2 |
| htoi |
|
7 |
10 |
68 |
1 |
| skipspace |
|
4 |
9 |
41 |
1 |
| backspace |
|
4 |
20 |
79 |
1 |
| sevenbit |
|
2 |
5 |
19 |
1 |
| skey_set_algorithm |
|
3 |
11 |
61 |
1 |
| skey_get_algorithm |
|
1 |
4 |
16 |
1 |
| skey_echo |
|
5 |
16 |
117 |
1 |
| Source file: ./lib/libedit/filecomplete.h |
| Source file: ./lib/libedit/parse.h |
| Source file: ./lib/libskey/skeylogin.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| skeychallenge2 |
|
4 |
22 |
133 |
4 |
| skeychallenge |
|
1 |
4 |
32 |
3 |
| skeygetent |
|
25 |
72 |
581 |
3 |
| skeylookup |
|
1 |
5 |
39 |
2 |
| skeygetnext |
|
7 |
22 |
156 |
1 |
| skeyverify |
|
13 |
46 |
452 |
2 |
| skey_haskey |
|
2 |
11 |
53 |
1 |
| skey_keyinfo |
|
3 |
14 |
74 |
1 |
| skey_passcheck |
|
4 |
11 |
71 |
2 |
| hash_collapse |
|
3 |
12 |
89 |
1 |
| skey_fakeprompt |
|
12 |
58 |
486 |
2 |
| skey_authenticate |
|
4 |
21 |
145 |
1 |
| skey_unlock |
|
3 |
6 |
44 |
1 |
| tgetline |
|
17 |
34 |
233 |
4 |
| Source file: ./lib/libedit/TEST/tc1.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| prompt |
|
2 |
6 |
33 |
1 |
| sig |
|
1 |
4 |
11 |
1 |
| complete |
|
7 |
26 |
177 |
2 |
| main |
|
32 |
127 |
953 |
2 |
| Source file: ./lib/libedit/historyn.c |
| Source file: ./lib/libedit/map.h |
| Source file: ./lib/libedit/refresh.h |
| Source file: ./lib/libedit/readline/readline.h |
| Source file: ./lib/libedit/tty.h |
| Source file: ./lib/libedit/hist.h |
| Source file: ./lib/libedit/read.h |
| Source file: ./lib/libedit/tokenizer.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| TYPE |
|
1 |
10 |
40 |
1 |
| FUN( tok , finish) |
|
3 |
10 |
77 |
1 |
| FUN( tok , init) |
|
6 |
33 |
225 |
1 |
| FUN( tok , reset) |
|
1 |
8 |
44 |
1 |
| FUN( tok , end) |
|
1 |
7 |
36 |
1 |
| FUN( tok , line) |
|
51 |
204 |
1064 |
6 |
| FUN( tok , str) |
|
1 |
9 |
87 |
4 |
| Source file: ./lib/libedit/search.h |
| Source file: ./lib/libedit/chared.h |
| Source file: ./lib/libedit/tokenizern.c |
| Source file: ./lib/libedit/chared.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cv_undo |
|
2 |
15 |
158 |
1 |
| cv_yank |
|
1 |
6 |
59 |
3 |
| c_insert |
|
5 |
13 |
101 |
2 |
| c_delafter |
|
5 |
15 |
129 |
2 |
| c_delafter1 |
|
2 |
7 |
48 |
1 |
| c_delbefore |
|
5 |
17 |
133 |
2 |
| c_delbefore1 |
|
2 |
7 |
50 |
1 |
| ce__isword |
|
2 |
4 |
23 |
1 |
| cv__isword |
|
4 |
8 |
35 |
1 |
| cv__isWord |
|
1 |
4 |
14 |
1 |
| c__prev_word |
|
7 |
14 |
91 |
4 |
| c__next_word |
|
7 |
12 |
85 |
4 |
| cv_next_word |
|
9 |
17 |
119 |
5 |
| cv_prev_word |
|
7 |
17 |
103 |
4 |
| cv_delfini |
|
7 |
28 |
195 |
1 |
| cv__endword |
|
6 |
14 |
93 |
4 |
| ch_init |
|
5 |
39 |
400 |
1 |
| ch_reset |
|
1 |
17 |
151 |
1 |
| ch_enlargebufs |
|
9 |
50 |
460 |
2 |
| ch_end |
|
1 |
16 |
131 |
1 |
| el_winsertstr |
|
5 |
14 |
95 |
2 |
| el_deletestr |
|
4 |
11 |
80 |
2 |
| c_gets |
|
11 |
51 |
267 |
3 |
| c_hpos |
|
4 |
13 |
78 |
1 |
| ch_resizefun |
|
1 |
6 |
34 |
3 |
| Source file: ./lib/libedit/sig.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sig_handler |
|
6 |
34 |
235 |
1 |
| sig_init |
|
3 |
19 |
151 |
1 |
| sig_end |
|
1 |
5 |
21 |
1 |
| sig_set |
|
4 |
17 |
130 |
1 |
| sig_clr |
|
3 |
12 |
104 |
1 |
| Source file: ./lib/libedit/el.h |
| Source file: ./lib/libedit/search.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| search_init |
|
2 |
14 |
99 |
1 |
| search_end |
|
1 |
5 |
25 |
1 |
| regerror |
|
1 |
3 |
9 |
1 |
| el_match |
|
9 |
30 |
210 |
2 |
| c_hmatch |
|
2 |
6 |
45 |
2 |
| c_setpat |
|
6 |
23 |
221 |
1 |
| ce_inc_search |
|
62 |
202 |
1298 |
2 |
| cv_search |
|
13 |
54 |
418 |
2 |
| ce_search_line |
|
8 |
32 |
182 |
2 |
| cv_repeat_srch |
|
4 |
15 |
96 |
2 |
| cv_csearch |
|
13 |
36 |
220 |
5 |
| Source file: ./lib/libskey/put.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| btoe |
|
2 |
20 |
243 |
2 |
| etob |
|
11 |
37 |
314 |
2 |
| put8 |
|
1 |
8 |
85 |
2 |
| wsrch |
|
7 |
21 |
126 |
3 |
| insert |
|
3 |
27 |
205 |
4 |
| standard |
|
7 |
16 |
94 |
1 |
| extract |
|
1 |
18 |
153 |
3 |
| Source file: ./lib/libedit/sys.h |
| Source file: ./lib/libedit/sig.h |
| Source file: ./lib/libedit/prompt.h |
| Source file: ./lib/libedit/terminal.h |
| Source file: ./lib/libedit/prompt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| prompt_default |
|
1 |
5 |
27 |
1 |
| prompt_default_r |
|
1 |
5 |
27 |
1 |
| prompt_print |
|
6 |
27 |
172 |
2 |
| prompt_init |
|
1 |
12 |
83 |
1 |
| prompt_end |
|
1 |
3 |
14 |
1 |
| prompt_set |
|
6 |
21 |
120 |
5 |
| prompt_get |
|
5 |
15 |
79 |
4 |
| Source file: ./lib/libedit/el.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| el_init |
|
8 |
41 |
289 |
4 |
| el_end |
|
2 |
22 |
121 |
1 |
| el_reset |
|
1 |
5 |
18 |
1 |
| el_wset |
|
42 |
168 |
889 |
3 |
| el_wget |
|
21 |
98 |
528 |
3 |
| el_wline |
|
1 |
4 |
23 |
1 |
| el_source |
|
19 |
50 |
316 |
2 |
| el_resize |
|
2 |
11 |
87 |
1 |
| el_beep |
|
1 |
4 |
13 |
1 |
| el_editmode |
|
6 |
20 |
124 |
3 |
| Source file: ./lib/libedit/hist.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| hist_init |
|
2 |
12 |
84 |
1 |
| hist_end |
|
1 |
5 |
25 |
1 |
| hist_set |
|
1 |
6 |
34 |
3 |
| hist_get |
|
14 |
41 |
367 |
1 |
| hist_command |
|
8 |
22 |
210 |
3 |
| hist_enlargebuf |
|
2 |
13 |
88 |
3 |
| hist_convert |
|
2 |
8 |
76 |
3 |
| Source file: ./lib/libedit/chartype.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ct_conv_buff_resize |
|
5 |
24 |
154 |
3 |
| ct_encode_string |
|
8 |
29 |
170 |
2 |
| ct_decode_string |
|
7 |
19 |
123 |
2 |
| ct_decode_argv |
|
8 |
31 |
214 |
3 |
| ct_enc_width |
|
5 |
13 |
50 |
1 |
| ct_encode_char |
|
3 |
12 |
64 |
3 |
| ct_visual_string |
|
8 |
44 |
233 |
1 |
| ct_visual_width |
|
8 |
23 |
85 |
1 |
| ct_visual_char |
|
12 |
37 |
251 |
3 |
| ct_chr_class |
|
6 |
13 |
56 |
1 |
| Source file: ./lib/libedit/filecomplete.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| fn_tilde_expand |
|
10 |
39 |
281 |
1 |
| fn_filename_completion_function |
|
29 |
93 |
569 |
2 |
| append_char_function |
|
6 |
14 |
83 |
1 |
| completion_matches |
|
10 |
44 |
284 |
2 |
| _fn_qsort_string_compare |
|
1 |
6 |
60 |
2 |
| fn_display_match_list |
|
6 |
22 |
181 |
4 |
| fn_complete |
|
30 |
101 |
744 |
11 |
| _el_fn_complete |
|
1 |
6 |
47 |
2 |
| Source file: ./lib/libedit/tty.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tty_getty |
|
3 |
7 |
43 |
2 |
| tty_setty |
|
3 |
7 |
49 |
3 |
| tty_setup |
|
16 |
52 |
480 |
1 |
| tty_init |
|
1 |
9 |
76 |
1 |
| tty_end |
|
5 |
11 |
69 |
1 |
| tty__getspeed |
|
2 |
7 |
35 |
1 |
| tty__getcharindex |
|
49 |
55 |
163 |
1 |
| tty__getchar |
|
25 |
27 |
302 |
2 |
| tty__setchar |
|
25 |
27 |
302 |
2 |
| tty_bind_char |
|
6 |
37 |
346 |
2 |
| tty__get_flag |
|
5 |
14 |
60 |
2 |
| tty_update_flag |
|
1 |
6 |
52 |
4 |
| tty_update_flags |
|
4 |
11 |
115 |
2 |
| tty_update_char |
|
4 |
7 |
129 |
3 |
| tty_rawmode |
|
19 |
51 |
506 |
1 |
| tty_cookedmode |
|
5 |
15 |
85 |
1 |
| tty_quotemode |
|
4 |
14 |
100 |
1 |
| tty_noquotemode |
|
4 |
12 |
74 |
1 |
| tty_stty |
|
38 |
140 |
1014 |
3 |
| tty_printchar |
|
7 |
16 |
134 |
2 |
| tty_setup_flags |
|
2 |
8 |
60 |
3 |
| Source file: ./lib/libedit/emacs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| em_delete_or_list |
|
5 |
20 |
121 |
2 |
| em_delete_next_word |
|
4 |
15 |
160 |
2 |
| em_yank |
|
5 |
19 |
181 |
2 |
| em_kill_line |
|
2 |
12 |
97 |
2 |
| em_kill_region |
|
5 |
23 |
210 |
2 |
| em_copy_region |
|
5 |
20 |
158 |
2 |
| em_gosmacs_transpose |
|
2 |
10 |
82 |
2 |
| em_next_word |
|
4 |
15 |
98 |
2 |
| em_upper_case |
|
4 |
13 |
120 |
2 |
| em_capitol_case |
|
7 |
21 |
164 |
2 |
| em_lower_case |
|
4 |
13 |
120 |
2 |
| em_set_mark |
|
1 |
5 |
34 |
2 |
| em_exchange_mark |
|
1 |
8 |
56 |
2 |
| em_universal_argument |
|
2 |
8 |
49 |
2 |
| em_meta_next |
|
1 |
5 |
28 |
2 |
| em_toggle_overwrite |
|
2 |
6 |
40 |
2 |
| em_copy_prev_word |
|
4 |
14 |
130 |
2 |
| em_inc_search_next |
|
1 |
5 |
33 |
2 |
| em_inc_search_prev |
|
1 |
5 |
33 |
2 |
| em_delete_prev_char |
|
4 |
13 |
100 |
2 |
| Source file: ./lib/libedit/parse.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| parse_line |
|
1 |
11 |
64 |
2 |
| el_wparse |
|
8 |
32 |
233 |
3 |
| parse__escape |
|
32 |
91 |
409 |
1 |
| parse__string |
|
9 |
26 |
125 |
2 |
| parse_cmd |
|
3 |
9 |
73 |
2 |
| Source file: ./lib/libedit/refresh.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| re_printstr |
|
2 |
7 |
68 |
4 |
| re_nextline |
|
3 |
17 |
166 |
1 |
| re_addc |
|
8 |
30 |
169 |
2 |
| re_putc |
|
7 |
23 |
210 |
3 |
| re_refresh |
|
21 |
91 |
867 |
1 |
| re_goto_bottom |
|
1 |
7 |
36 |
1 |
| re_insert |
|
8 |
32 |
270 |
6 |
| re_delete |
|
5 |
24 |
160 |
5 |
| re__strncopy |
|
3 |
5 |
31 |
3 |
| re_clear_eol |
|
5 |
15 |
96 |
4 |
| re_update_line |
|
62 |
258 |
2013 |
4 |
| re__copy_and_pad |
|
4 |
12 |
72 |
3 |
| re_refresh_cursor |
|
13 |
47 |
293 |
1 |
| re_fastputc |
|
9 |
36 |
301 |
2 |
| re_fastaddc |
|
11 |
34 |
188 |
1 |
| re_clear_display |
|
2 |
9 |
66 |
1 |
| re_clear_lines |
|
3 |
15 |
91 |
1 |
| Source file: ./lib/libedit/vi.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cv_action |
|
6 |
23 |
188 |
2 |
| cv_paste |
|
7 |
18 |
163 |
2 |
| vi_paste_next |
|
1 |
4 |
25 |
2 |
| vi_paste_prev |
|
1 |
4 |
25 |
2 |
| vi_prev_big_word |
|
3 |
14 |
88 |
2 |
| vi_prev_word |
|
3 |
14 |
88 |
2 |
| vi_next_big_word |
|
4 |
13 |
102 |
2 |
| vi_next_word |
|
4 |
13 |
102 |
2 |
| vi_change_case |
|
6 |
21 |
142 |
2 |
| vi_change_meta |
|
1 |
4 |
27 |
2 |
| vi_insert_at_bol |
|
1 |
7 |
49 |
2 |
| vi_replace_char |
|
2 |
9 |
62 |
2 |
| vi_replace_mode |
|
1 |
7 |
45 |
2 |
| vi_substitute_char |
|
1 |
6 |
43 |
2 |
| vi_substitute_line |
|
1 |
9 |
75 |
2 |
| vi_change_to_eol |
|
1 |
9 |
75 |
2 |
| vi_insert |
|
1 |
6 |
37 |
2 |
| vi_add |
|
3 |
14 |
98 |
2 |
| vi_add_at_eol |
|
1 |
7 |
49 |
2 |
| vi_delete_meta |
|
1 |
4 |
25 |
2 |
| vi_end_big_word |
|
3 |
13 |
95 |
2 |
| vi_end_word |
|
3 |
13 |
95 |
2 |
| vi_undo |
|
2 |
15 |
162 |
2 |
| vi_command_mode |
|
3 |
11 |
89 |
2 |
| vi_zero |
|
3 |
11 |
64 |
2 |
| vi_delete_prev_char |
|
2 |
8 |
49 |
2 |
| vi_list_or_eof |
|
4 |
18 |
92 |
2 |
| vi_kill_line_prev |
|
2 |
12 |
107 |
2 |
| vi_search_prev |
|
1 |
4 |
25 |
2 |
| vi_search_next |
|
1 |
4 |
25 |
2 |
| vi_repeat_search_next |
|
2 |
7 |
43 |
2 |
| vi_repeat_search_prev |
|
3 |
9 |
51 |
2 |
| vi_next_char |
|
1 |
4 |
36 |
2 |
| vi_prev_char |
|
1 |
4 |
36 |
2 |
| vi_to_next_char |
|
1 |
4 |
36 |
2 |
| vi_to_prev_char |
|
1 |
4 |
36 |
2 |
| vi_repeat_next_char |
|
1 |
5 |
47 |
2 |
| vi_repeat_prev_char |
|
1 |
9 |
68 |
2 |
| vi_match |
|
9 |
33 |
231 |
2 |
| vi_undo_line |
|
1 |
5 |
28 |
2 |
| vi_to_column |
|
1 |
6 |
44 |
2 |
| vi_yank_end |
|
1 |
6 |
48 |
2 |
| vi_yank |
|
1 |
4 |
25 |
2 |
| vi_comment_out |
|
1 |
8 |
58 |
2 |
| vi_alias |
|
5 |
17 |
104 |
2 |
| vi_to_history_line |
|
6 |
29 |
203 |
2 |
| vi_histedit |
|
12 |
74 |
473 |
2 |
| vi_history_word |
|
16 |
38 |
274 |
2 |
| vi_redo |
|
5 |
19 |
181 |
2 |
| Source file: ./lib/libedit/terminal.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| terminal_setflags |
|
27 |
34 |
306 |
1 |
| terminal_init |
|
6 |
37 |
267 |
1 |
| terminal_end |
|
1 |
15 |
106 |
1 |
| terminal_alloc |
|
13 |
45 |
375 |
3 |
| terminal_rebuffer_display |
|
2 |
10 |
59 |
1 |
| terminal_alloc_display |
|
9 |
38 |
272 |
1 |
| terminal_free_display |
|
5 |
19 |
106 |
1 |
| terminal_move_to_line |
|
18 |
50 |
355 |
2 |
| terminal_move_to_char |
|
20 |
67 |
433 |
2 |
| terminal_overwrite |
|
10 |
34 |
232 |
3 |
| terminal_deletechars |
|
13 |
26 |
176 |
2 |
| terminal_insertwrite |
|
16 |
39 |
276 |
3 |
| terminal_clear_EOL |
|
4 |
11 |
66 |
2 |
| terminal_clear_screen |
|
4 |
12 |
92 |
1 |
| terminal_beep |
|
2 |
7 |
35 |
1 |
| terminal_get |
|
1 |
4 |
22 |
2 |
| terminal_set |
|
14 |
63 |
528 |
2 |
| terminal_get_size |
|
10 |
24 |
151 |
3 |
| terminal_change_size |
|
4 |
9 |
66 |
3 |
| terminal_init_arrow |
|
1 |
28 |
252 |
1 |
| terminal_reset_arrow |
|
2 |
42 |
726 |
1 |
| terminal_set_arrow |
|
3 |
13 |
90 |
4 |
| terminal_clear_arrow |
|
3 |
11 |
73 |
2 |
| terminal_print_arrow |
|
5 |
10 |
98 |
2 |
| terminal_bind_arrow |
|
17 |
44 |
364 |
1 |
| terminal_putc |
|
2 |
6 |
25 |
1 |
| terminal_tputs |
|
3 |
7 |
46 |
3 |
| terminal__putc |
|
3 |
12 |
74 |
2 |
| terminal__flush |
|
1 |
4 |
18 |
1 |
| terminal_writec |
|
1 |
8 |
55 |
2 |
| terminal_telltc |
|
9 |
33 |
271 |
3 |
| terminal_settc |
|
21 |
59 |
522 |
3 |
| terminal_gettc |
|
15 |
36 |
293 |
3 |
| terminal_echotc |
|
74 |
195 |
1205 |
3 |
| Source file: ./lib/libedit/read.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| read_init |
|
3 |
16 |
109 |
1 |
| read_end |
|
1 |
6 |
34 |
1 |
| el_read_setfn |
|
2 |
5 |
29 |
2 |
| el_read_getfn |
|
2 |
5 |
22 |
1 |
| read__fixio |
|
15 |
27 |
132 |
2 |
| el_wpush |
|
4 |
12 |
83 |
2 |
| read_getcmd |
|
11 |
41 |
221 |
3 |
| read_char |
|
13 |
60 |
302 |
2 |
| read_pop |
|
2 |
9 |
64 |
1 |
| read_clearmacros |
|
2 |
6 |
36 |
1 |
| el_wgetc |
|
7 |
25 |
161 |
2 |
| read_prepare |
|
5 |
15 |
85 |
1 |
| read_finish |
|
3 |
7 |
41 |
1 |
| el_wgets |
|
54 |
163 |
1073 |
2 |
| Source file: ./lib/libedit/eln.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| el_getc |
|
3 |
17 |
78 |
2 |
| el_push |
|
1 |
4 |
28 |
2 |
| el_gets |
|
5 |
17 |
113 |
2 |
| el_parse |
|
2 |
12 |
73 |
3 |
| el_set |
|
32 |
129 |
774 |
3 |
| el_get |
|
19 |
71 |
443 |
3 |
| el_line |
|
3 |
17 |
132 |
1 |
| el_insertstr |
|
1 |
4 |
29 |
2 |
| Source file: ./lib/libedit/keymacro.h |
| Source file: ./lib/libedit/tokenizer.h |
| Source file: ./lib/libedit/chartype.h |
| Source file: ./lib/libedit/config.h |
| Source file: ./lib/libedit/map.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| map_init |
|
10 |
33 |
295 |
1 |
| map_end |
|
1 |
14 |
100 |
1 |
| map_init_nls |
|
3 |
8 |
48 |
1 |
| map_init_meta |
|
12 |
33 |
218 |
1 |
| map_init_vi |
|
2 |
19 |
135 |
1 |
| map_init_emacs |
|
2 |
23 |
170 |
1 |
| map_set_editor |
|
3 |
12 |
60 |
2 |
| map_get_editor |
|
4 |
14 |
61 |
2 |
| map_print_key |
|
5 |
16 |
144 |
3 |
| map_print_some_keys |
|
8 |
55 |
411 |
4 |
| map_print_all_keys |
|
5 |
26 |
235 |
1 |
| map_bind |
|
30 |
126 |
756 |
3 |
| map_addfunc |
|
6 |
22 |
202 |
4 |
| Source file: ./lib/libedit/histedit.h |
| Source file: ./lib/libfuse/debug.h |
| Source file: ./lib/libedit/common.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ed_end_of_file |
|
1 |
6 |
34 |
2 |
| ed_insert |
|
11 |
27 |
196 |
2 |
| ed_delete_prev_word |
|
4 |
16 |
168 |
2 |
| ed_delete_next_char |
|
10 |
29 |
207 |
2 |
| ed_kill_line |
|
2 |
11 |
85 |
2 |
| ed_move_to_end |
|
4 |
12 |
73 |
2 |
| ed_move_to_beg |
|
4 |
13 |
85 |
2 |
| ed_transpose_chars |
|
4 |
16 |
127 |
2 |
| ed_next_char |
|
8 |
18 |
135 |
2 |
| ed_prev_word |
|
4 |
15 |
98 |
2 |
| ed_prev_char |
|
5 |
15 |
110 |
2 |
| ed_quoted_insert |
|
2 |
11 |
57 |
2 |
| ed_digit |
|
5 |
17 |
101 |
2 |
| ed_argument_digit |
|
4 |
15 |
91 |
2 |
| ed_unassigned |
|
1 |
4 |
20 |
2 |
| ed_ignore |
|
1 |
5 |
26 |
2 |
| ed_newline |
|
1 |
7 |
44 |
2 |
| ed_delete_prev_char |
|
3 |
10 |
86 |
2 |
| ed_clear_screen |
|
1 |
6 |
30 |
2 |
| ed_redisplay |
|
1 |
5 |
26 |
2 |
| ed_start_over |
|
1 |
5 |
25 |
2 |
| ed_sequence_lead_in |
|
1 |
5 |
26 |
2 |
| ed_prev_history |
|
5 |
24 |
174 |
2 |
| ed_next_history |
|
3 |
15 |
99 |
2 |
| ed_search_prev_history |
|
14 |
47 |
341 |
2 |
| ed_search_next_history |
|
13 |
34 |
259 |
2 |
| ed_prev_line |
|
11 |
20 |
154 |
2 |
| ed_next_line |
|
8 |
16 |
120 |
2 |
| ed_command |
|
3 |
12 |
95 |
2 |
| Source file: ./lib/libedit/keymacro.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| keymacro_init |
|
2 |
10 |
61 |
1 |
| keymacro_end |
|
1 |
6 |
34 |
1 |
| keymacro_map_cmd |
|
1 |
5 |
32 |
2 |
| keymacro_map_str |
|
1 |
5 |
30 |
2 |
| keymacro_reset |
|
1 |
6 |
29 |
1 |
| keymacro_get |
|
1 |
4 |
32 |
3 |
| keymacro_add |
|
5 |
18 |
119 |
4 |
| keymacro_clear |
|
7 |
11 |
106 |
3 |
| keymacro_delete |
|
3 |
12 |
73 |
2 |
| keymacro_print |
|
4 |
10 |
78 |
2 |
| node_trav |
|
6 |
23 |
132 |
4 |
| node__try |
|
15 |
49 |
295 |
5 |
| node__delete |
|
11 |
38 |
227 |
3 |
| node__put |
|
7 |
23 |
118 |
2 |
| node__get |
|
2 |
13 |
66 |
1 |
| node__free |
|
2 |
8 |
35 |
1 |
| node_lookup |
|
9 |
37 |
234 |
4 |
| node_enum |
|
6 |
29 |
228 |
3 |
| keymacro_kprint |
|
9 |
36 |
253 |
4 |
| keymacro__decode_str |
|
9 |
35 |
235 |
4 |
| Source file: ./lib/libfuse/dict.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dict_check |
|
2 |
7 |
65 |
2 |
| dict_set |
|
4 |
15 |
131 |
3 |
| dict_get |
|
3 |
9 |
83 |
2 |
| dict_pop |
|
3 |
13 |
105 |
2 |
| dictentry_cmp |
|
1 |
4 |
26 |
2 |
| Source file: ./lib/libfuse/fuse_opt.h |
| Source file: ./lib/libfuse/fuse_subr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| alloc_vn |
|
6 |
32 |
210 |
4 |
| ref_vn |
|
1 |
4 |
14 |
1 |
| unref_vn |
|
3 |
10 |
66 |
2 |
| set_vn |
|
8 |
28 |
217 |
2 |
| remove_vnode_from_name_tree |
|
6 |
25 |
143 |
2 |
| get_vn_by_name_and_parent |
|
4 |
15 |
99 |
3 |
| build_realname |
|
8 |
33 |
196 |
2 |
| Source file: ./lib/libfuse/tree.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tree_check |
|
1 |
6 |
37 |
2 |
| tree_set |
|
3 |
14 |
95 |
3 |
| tree_get |
|
2 |
10 |
61 |
2 |
| tree_pop |
|
2 |
12 |
77 |
2 |
| treeentry_cmp |
|
3 |
8 |
50 |
2 |
| Source file: ./lib/libfuse/debug.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ifuse_debug_init |
|
5 |
9 |
52 |
1 |
| Source file: ./lib/libfuse/fuse.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ifuse_sighdlr |
|
3 |
7 |
28 |
1 |
| ifuse_try_unmount |
|
3 |
16 |
78 |
1 |
| ifuse_child_exit |
|
4 |
12 |
90 |
1 |
| fuse_loop |
|
20 |
91 |
575 |
1 |
| fuse_mount |
|
9 |
42 |
237 |
2 |
| fuse_unmount |
|
4 |
7 |
43 |
2 |
| fuse_is_lib_option |
|
1 |
4 |
19 |
1 |
| fuse_chan_fd |
|
2 |
6 |
28 |
1 |
| fuse_get_session |
|
1 |
4 |
17 |
1 |
| fuse_loop_mt |
|
1 |
4 |
16 |
1 |
| fuse_new |
|
6 |
27 |
195 |
5 |
| fuse_daemonize |
|
2 |
6 |
26 |
1 |
| fuse_destroy |
|
2 |
9 |
47 |
1 |
| fuse_remove_signal_handlers |
|
1 |
7 |
38 |
1 |
| fuse_set_signal_handlers |
|
1 |
8 |
43 |
1 |
| dump_help |
|
1 |
8 |
17 |
1 |
| dump_version |
|
1 |
4 |
15 |
1 |
| ifuse_process_opt |
|
13 |
60 |
316 |
4 |
| fuse_parse_cmdline |
|
8 |
22 |
146 |
4 |
| fuse_get_context |
|
1 |
4 |
11 |
1 |
| fuse_version |
|
1 |
4 |
11 |
1 |
| fuse_teardown |
|
3 |
7 |
39 |
2 |
| fuse_invalidate |
|
1 |
4 |
21 |
2 |
| fuse_setup |
|
5 |
25 |
165 |
7 |
| fuse_main |
|
2 |
8 |
68 |
4 |
| Source file: ./lib/libfuse/fuse.h |
| Source file: ./lib/libfuse/fuse_private.h |
| Source file: ./lib/libpcap/ppp.h |
| Source file: ./lib/libfuse/fuse_opt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| free_argv |
|
2 |
7 |
40 |
2 |
| alloc_argv |
|
5 |
21 |
134 |
1 |
| match_opt |
|
27 |
49 |
289 |
2 |
| add_opt |
|
4 |
15 |
92 |
2 |
| fuse_opt_add_opt |
|
3 |
8 |
49 |
2 |
| fuse_opt_add_opt_escaped |
|
13 |
41 |
221 |
2 |
| fuse_opt_add_arg |
|
1 |
4 |
28 |
2 |
| parse_opt |
|
18 |
50 |
422 |
5 |
| fuse_opt_parse |
|
24 |
77 |
510 |
4 |
| fuse_opt_insert_arg |
|
9 |
29 |
204 |
3 |
| fuse_opt_free_args |
|
2 |
9 |
47 |
1 |
| fuse_opt_match |
|
5 |
12 |
73 |
2 |
| Source file: ./lib/libedit/readline.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _get_prompt |
|
1 |
5 |
21 |
1 |
| _move_history |
|
2 |
10 |
49 |
1 |
| _getc_function |
|
2 |
9 |
52 |
2 |
| _resize_fun |
|
1 |
7 |
47 |
2 |
| _default_history_file |
|
3 |
12 |
67 |
1 |
| rl_set_prompt |
|
7 |
16 |
89 |
1 |
| rl_initialize |
|
14 |
56 |
362 |
1 |
| readline |
|
13 |
40 |
228 |
1 |
| using_history |
|
3 |
5 |
20 |
1 |
| _rl_compat_sub |
|
10 |
38 |
224 |
4 |
| get_history_event |
|
45 |
100 |
641 |
3 |
| _history_expand_command |
|
78 |
216 |
1416 |
4 |
| history_expand |
|
31 |
95 |
620 |
2 |
| history_arg_extract |
|
19 |
43 |
323 |
3 |
| history_tokenize |
|
18 |
52 |
346 |
1 |
| stifle_history |
|
6 |
20 |
118 |
1 |
| unstifle_history |
|
1 |
9 |
35 |
1 |
| history_is_stifled |
|
1 |
4 |
11 |
1 |
| history_truncate_file |
|
34 |
124 |
725 |
2 |
| read_history |
|
6 |
10 |
71 |
1 |
| write_history |
|
6 |
10 |
71 |
1 |
| history_get |
|
8 |
25 |
181 |
1 |
| add_history |
|
4 |
11 |
73 |
1 |
| remove_history |
|
6 |
17 |
110 |
1 |
| replace_history_entry |
|
10 |
28 |
192 |
3 |
| clear_history |
|
1 |
7 |
30 |
1 |
| where_history |
|
4 |
13 |
80 |
1 |
| current_history |
|
2 |
4 |
16 |
1 |
| history_total_bytes |
|
3 |
16 |
107 |
1 |
| history_set_pos |
|
4 |
15 |
93 |
1 |
| previous_history |
|
2 |
8 |
30 |
1 |
| next_history |
|
2 |
8 |
30 |
1 |
| history_search |
|
6 |
17 |
124 |
2 |
| history_search_prefix |
|
2 |
6 |
36 |
2 |
| history_search_pos |
|
11 |
22 |
173 |
3 |
| tilde_expand |
|
1 |
4 |
14 |
1 |
| filename_completion_function |
|
1 |
4 |
20 |
2 |
| username_completion_function |
|
8 |
17 |
108 |
2 |
| _el_rl_tstp |
|
1 |
5 |
36 |
2 |
| rl_display_match_list |
|
1 |
4 |
31 |
3 |
| _rl_completion_append_character_function |
|
1 |
8 |
39 |
1 |
| rl_complete |
|
4 |
22 |
124 |
2 |
| _el_rl_complete |
|
1 |
4 |
29 |
2 |
| rl_bind_key |
|
4 |
11 |
57 |
2 |
| rl_read_key |
|
3 |
7 |
39 |
1 |
| rl_reset_terminal |
|
3 |
6 |
34 |
1 |
| rl_insert |
|
4 |
11 |
64 |
2 |
| rl_insert_text |
|
6 |
10 |
59 |
1 |
| rl_newline |
|
1 |
4 |
18 |
2 |
| rl_bind_wrapper |
|
3 |
10 |
51 |
2 |
| rl_add_defun |
|
3 |
11 |
103 |
3 |
| rl_callback_read_char |
|
11 |
21 |
162 |
0 |
| rl_callback_handler_install |
|
2 |
9 |
46 |
2 |
| rl_callback_handler_remove |
|
1 |
5 |
19 |
1 |
| rl_redisplay |
|
1 |
7 |
43 |
1 |
| rl_get_previous_history |
|
2 |
9 |
45 |
2 |
| rl_prep_terminal |
|
1 |
4 |
16 |
1 |
| rl_deprep_terminal |
|
1 |
4 |
15 |
1 |
| rl_read_init_file |
|
1 |
4 |
17 |
1 |
| rl_parse_and_bind |
|
2 |
11 |
64 |
1 |
| rl_variable_bind |
|
2 |
4 |
37 |
2 |
| rl_stuff_char |
|
1 |
7 |
34 |
1 |
| _rl_event_read_char |
|
13 |
35 |
230 |
2 |
| _rl_update_pos |
|
1 |
6 |
46 |
1 |
| rl_get_screen_size |
|
3 |
7 |
42 |
2 |
| rl_set_screen_size |
|
1 |
8 |
76 |
2 |
| rl_completion_matches |
|
16 |
50 |
405 |
2 |
| rl_filename_completion_function |
|
1 |
4 |
20 |
2 |
| rl_forced_update_display |
|
1 |
4 |
13 |
1 |
| _rl_abort_internal |
|
1 |
5 |
18 |
1 |
| _rl_qsort_string_compare |
|
1 |
4 |
22 |
2 |
| history_get_history_state |
|
2 |
8 |
38 |
1 |
| rl_kill_text |
|
1 |
4 |
13 |
2 |
| rl_make_bare_keymap |
|
1 |
4 |
9 |
1 |
| rl_get_keymap |
|
1 |
4 |
9 |
1 |
| rl_set_keymap |
|
1 |
3 |
7 |
1 |
| rl_generic_bind |
|
1 |
4 |
23 |
4 |
| rl_bind_key_in_map |
|
1 |
4 |
17 |
3 |
| rl_cleanup_after_signal |
|
1 |
3 |
6 |
1 |
| rl_on_new_line |
|
1 |
4 |
9 |
1 |
| rl_set_keyboard_input_timeout |
|
1 |
4 |
16 |
1 |
| Source file: ./lib/libpcap/llc.h |
| Source file: ./lib/libpcap/pcap.h |
| Source file: ./lib/libpcap/pcap-namedb.h |
| Source file: ./lib/libedit/history.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| TYPE |
|
1 |
14 |
43 |
1 |
| history_def_first |
|
2 |
12 |
72 |
2 |
| history_def_last |
|
2 |
12 |
72 |
2 |
| history_def_next |
|
3 |
15 |
97 |
2 |
| history_def_prev |
|
4 |
16 |
107 |
2 |
| history_def_curr |
|
3 |
12 |
72 |
2 |
| history_def_set |
|
7 |
19 |
145 |
3 |
| history_set_nth |
|
5 |
17 |
116 |
3 |
| history_def_add |
|
3 |
22 |
194 |
3 |
| history_deldata_nth |
|
4 |
14 |
107 |
4 |
| history_def_del |
|
2 |
11 |
93 |
3 |
| history_def_delete |
|
4 |
17 |
125 |
3 |
| history_def_insert |
|
3 |
22 |
174 |
3 |
| history_def_enter |
|
7 |
12 |
123 |
3 |
| history_def_init |
|
3 |
18 |
138 |
3 |
| history_def_clear |
|
2 |
8 |
63 |
2 |
| FUN( history , init) |
|
3 |
23 |
143 |
1 |
| FUN( history , end) |
|
2 |
8 |
46 |
1 |
| history_setsize |
|
3 |
13 |
73 |
3 |
| history_getsize |
|
3 |
13 |
75 |
2 |
| history_setunique |
|
2 |
9 |
54 |
3 |
| history_getunique |
|
2 |
9 |
53 |
2 |
| history_set_fun |
|
14 |
37 |
289 |
2 |
| history_load |
|
11 |
48 |
305 |
2 |
| history_save_fp |
|
7 |
37 |
240 |
2 |
| history_save |
|
2 |
10 |
62 |
2 |
| history_prev_event |
|
3 |
9 |
71 |
3 |
| history_next_evdata |
|
4 |
12 |
98 |
4 |
| history_next_event |
|
3 |
9 |
71 |
3 |
| history_prev_string |
|
3 |
10 |
88 |
3 |
| history_next_string |
|
3 |
10 |
88 |
3 |
| FUNW( history) |
|
36 |
145 |
960 |
4 |
| Source file: ./lib/libpcap/pcap-int.h |
| Source file: ./lib/libfuse/fuse_ops.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| update_attr |
|
6 |
19 |
160 |
4 |
| ifuse_ops_init |
|
2 |
12 |
64 |
1 |
| ifuse_ops_getattr |
|
3 |
21 |
151 |
2 |
| ifuse_ops_access |
|
3 |
19 |
120 |
2 |
| ifuse_ops_open |
|
4 |
24 |
157 |
2 |
| ifuse_ops_opendir |
|
6 |
36 |
248 |
2 |
| ifuse_fill_readdir |
|
9 |
46 |
316 |
4 |
| ifuse_fill_getdir |
|
2 |
11 |
78 |
4 |
| ifuse_ops_readdir |
|
13 |
65 |
465 |
2 |
| ifuse_ops_releasedir |
|
5 |
29 |
196 |
2 |
| ifuse_ops_release |
|
3 |
24 |
158 |
2 |
| ifuse_ops_lookup |
|
9 |
42 |
314 |
2 |
| ifuse_ops_read |
|
6 |
40 |
252 |
2 |
| ifuse_ops_write |
|
4 |
36 |
231 |
2 |
| ifuse_ops_mkdir |
|
4 |
28 |
187 |
2 |
| ifuse_ops_rmdir |
|
3 |
21 |
131 |
2 |
| ifuse_ops_readlink |
|
6 |
37 |
241 |
2 |
| ifuse_ops_unlink |
|
3 |
21 |
131 |
2 |
| ifuse_ops_statfs |
|
3 |
20 |
136 |
2 |
| ifuse_ops_link |
|
4 |
31 |
185 |
2 |
| ifuse_ops_setattr |
|
20 |
69 |
532 |
2 |
| ifuse_ops_symlink |
|
3 |
26 |
178 |
2 |
| ifuse_ops_rename |
|
5 |
39 |
247 |
2 |
| ifuse_ops_destroy |
|
3 |
11 |
65 |
1 |
| ifuse_ops_reclaim |
|
2 |
8 |
51 |
2 |
| ifuse_ops_mknod |
|
4 |
30 |
200 |
2 |
| ifuse_exec_opcode |
|
24 |
85 |
414 |
2 |
| Source file: ./lib/libpcap/ethertype.h |
| Source file: ./lib/libpcap/fad-getad.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dup_sockaddr |
|
2 |
7 |
47 |
2 |
| get_instance |
|
5 |
16 |
100 |
1 |
| add_or_find_if |
|
20 |
84 |
508 |
6 |
| add_addr_to_iflist |
|
16 |
77 |
461 |
12 |
| pcap_findalldevs |
|
12 |
59 |
332 |
2 |
| Source file: ./lib/libpcap/etherent.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| xdtoi |
|
3 |
10 |
44 |
1 |
| skip_space |
|
3 |
9 |
38 |
1 |
| skip_line |
|
3 |
9 |
35 |
1 |
| pcap_next_etherent |
|
15 |
53 |
305 |
1 |
| Source file: ./lib/libpcap/gencode.h |
| Source file: ./lib/libpcap/nametoaddr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pcap_nametoaddr |
|
3 |
16 |
101 |
1 |
| pcap_nametoaddrinfo |
|
2 |
13 |
70 |
1 |
| pcap_nametonetaddr |
|
2 |
8 |
36 |
1 |
| pcap_nametoport |
|
8 |
30 |
164 |
3 |
| pcap_nametoproto |
|
2 |
9 |
36 |
1 |
| pcap_nametoeproto |
|
3 |
10 |
52 |
1 |
| pcap_nametollc |
|
3 |
10 |
52 |
1 |
| xdtoi |
|
3 |
10 |
44 |
1 |
| __pcap_atoin |
|
5 |
18 |
90 |
2 |
| __pcap_atodn |
|
2 |
9 |
72 |
2 |
| pcap_ether_aton |
|
5 |
19 |
105 |
1 |
| pcap_ether_hostton |
|
7 |
27 |
146 |
1 |
| pcap_ether_hostton |
|
3 |
12 |
76 |
1 |
| __pcap_nametodnaddr |
|
3 |
13 |
88 |
1 |
| Source file: ./lib/libpcap/inet.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pcap_freealldevs |
|
3 |
20 |
120 |
1 |
| pcap_lookupdev |
|
23 |
103 |
744 |
1 |
| pcap_lookupnet |
|
10 |
53 |
369 |
4 |
| Source file: ./lib/libpcap/pcap-bpf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pcap_stats |
|
2 |
12 |
80 |
2 |
| pcap_read |
|
16 |
64 |
376 |
4 |
| pcap_inject |
|
1 |
4 |
30 |
3 |
| pcap_sendpacket |
|
2 |
4 |
36 |
3 |
| bpf_open |
|
5 |
17 |
85 |
1 |
| get_dlt_list |
|
5 |
25 |
185 |
4 |
| pcap_can_set_rfmon |
|
4 |
11 |
52 |
1 |
| pcap_cleanup_bpf |
|
12 |
61 |
353 |
1 |
| pcap_close |
|
1 |
6 |
27 |
1 |
| check_setif_failure |
|
3 |
14 |
84 |
2 |
| pcap_activate |
|
24 |
116 |
732 |
1 |
| monitor_mode |
|
18 |
90 |
548 |
2 |
| find_802_11 |
|
5 |
20 |
92 |
1 |
| pcap_create |
|
3 |
23 |
146 |
2 |
| pcap_open_live |
|
10 |
37 |
215 |
5 |
| pcap_setfilter |
|
6 |
22 |
187 |
2 |
| pcap_setdirection |
|
5 |
24 |
111 |
2 |
| pcap_set_datalink |
|
7 |
26 |
170 |
2 |
| Source file: ./lib/libpcap/bpf_image.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bpf_image |
|
47 |
202 |
876 |
2 |
| Source file: ./lib/libexpat/examples/outline.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| start |
|
3 |
13 |
98 |
3 |
| end |
|
1 |
6 |
26 |
2 |
| main |
|
6 |
32 |
179 |
2 |
| Source file: ./lib/libexpat/examples/elements.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| startElement |
|
2 |
10 |
69 |
3 |
| endElement |
|
1 |
6 |
33 |
2 |
| main |
|
3 |
24 |
149 |
2 |
| Source file: ./lib/libexpat/lib/xmltok_impl.h |
| Source file: ./lib/libpcap/savefile.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sf_write_header |
|
2 |
14 |
97 |
4 |
| swap_hdr |
|
1 |
9 |
75 |
1 |
| pcap_open_offline |
|
6 |
21 |
115 |
2 |
| pcap_fopen_offline |
|
12 |
62 |
369 |
2 |
| sf_next_packet |
|
12 |
53 |
401 |
4 |
| pcap_offline_read |
|
8 |
22 |
149 |
4 |
| pcap_dump |
|
1 |
7 |
73 |
3 |
| pcap_setup_dump |
|
3 |
11 |
87 |
3 |
| pcap_dump_open |
|
4 |
15 |
92 |
2 |
| pcap_dump_fopen |
|
1 |
4 |
24 |
2 |
| pcap_dump_file |
|
1 |
4 |
17 |
1 |
| pcap_dump_ftell |
|
1 |
4 |
20 |
1 |
| pcap_dump_flush |
|
2 |
7 |
33 |
1 |
| pcap_dump_close |
|
3 |
6 |
37 |
1 |
| Source file: ./lib/libpcap/pcap.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pcap_dispatch |
|
2 |
6 |
56 |
4 |
| pcap_loop |
|
7 |
20 |
111 |
4 |
| pcap_oneshot |
|
1 |
6 |
45 |
3 |
| pcap_next |
|
2 |
8 |
55 |
2 |
| pcap_fakecallback |
|
1 |
7 |
46 |
3 |
| pcap_next_ex |
|
3 |
18 |
115 |
3 |
| pcap_check_activated |
|
2 |
9 |
35 |
1 |
| pcap_set_snaplen |
|
2 |
7 |
30 |
2 |
| pcap_set_promisc |
|
2 |
7 |
32 |
2 |
| pcap_set_rfmon |
|
2 |
7 |
32 |
2 |
| pcap_set_timeout |
|
2 |
7 |
32 |
2 |
| pcap_set_buffer_size |
|
2 |
7 |
32 |
2 |
| pcap_breakloop |
|
1 |
4 |
14 |
1 |
| pcap_datalink |
|
1 |
4 |
15 |
1 |
| pcap_list_datalinks |
|
4 |
24 |
175 |
2 |
| pcap_free_datalinks |
|
1 |
4 |
13 |
1 |
| pcap_datalink_name_to_val |
|
3 |
9 |
66 |
1 |
| pcap_datalink_val_to_name |
|
3 |
9 |
58 |
1 |
| pcap_datalink_val_to_description |
|
3 |
9 |
56 |
1 |
| pcap_snapshot |
|
1 |
4 |
15 |
1 |
| pcap_is_swapped |
|
1 |
4 |
17 |
1 |
| pcap_major_version |
|
1 |
4 |
17 |
1 |
| pcap_minor_version |
|
1 |
4 |
17 |
1 |
| pcap_file |
|
1 |
4 |
17 |
1 |
| pcap_fileno |
|
1 |
4 |
15 |
1 |
| pcap_perror |
|
1 |
4 |
25 |
2 |
| pcap_get_selectable_fd |
|
1 |
4 |
15 |
1 |
| pcap_geterr |
|
1 |
4 |
15 |
1 |
| pcap_getnonblock |
|
3 |
14 |
74 |
2 |
| pcap_setnonblock |
|
4 |
20 |
118 |
3 |
| pcap_statustostr |
|
15 |
36 |
156 |
1 |
| pcap_strerror |
|
3 |
11 |
77 |
1 |
| pcap_close_all |
|
2 |
6 |
26 |
1 |
| pcap_do_addexit |
|
3 |
12 |
55 |
1 |
| pcap_add_to_pcaps_to_close |
|
1 |
5 |
20 |
1 |
| pcap_remove_from_pcaps_to_close |
|
4 |
15 |
84 |
1 |
| pcap_open_dead |
|
2 |
11 |
58 |
2 |
| pcap_offline_filter |
|
2 |
9 |
60 |
3 |
| pcap_lib_version |
|
1 |
4 |
11 |
1 |
| Source file: ./lib/libexpat/lib/xmltok.h |
| Source file: ./lib/libexpat/lib/winconfig.h |
| Source file: ./lib/libexpat/lib/ascii.h |
| Source file: ./lib/libexpat/lib/xmlrole.h |
| Source file: ./lib/libexpat/lib/asciitab.h |
| Source file: ./lib/libexpat/lib/siphash.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sip_tokey |
|
1 |
5 |
55 |
2 |
| sip_tobin |
|
1 |
4 |
26 |
2 |
| sip_round |
|
2 |
19 |
173 |
2 |
| sip24_init |
|
1 |
10 |
104 |
2 |
| sip24_update |
|
5 |
18 |
138 |
3 |
| sip24_final |
|
9 |
20 |
226 |
1 |
| siphash24 |
|
1 |
5 |
43 |
3 |
| sip24_valid |
|
3 |
79 |
1312 |
1 |
| main |
|
2 |
8 |
33 |
1 |
| Source file: ./lib/libexpat/lib/utf8tab.h |
| Source file: ./lib/libexpat/lib/expat.h |
| Source file: ./lib/libexpat/lib/latin1tab.h |
| Source file: ./lib/libpcap/gencode.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bpf_error |
|
2 |
10 |
56 |
2 |
| newchunk |
|
5 |
22 |
136 |
1 |
| freechunks |
|
2 |
9 |
46 |
0 |
| sdup |
|
1 |
8 |
44 |
1 |
| new_block |
|
1 |
9 |
47 |
1 |
| new_stmt |
|
1 |
8 |
41 |
1 |
| gen_retblk |
|
1 |
7 |
32 |
1 |
| syntax |
|
1 |
4 |
10 |
0 |
| pcap_compile |
|
10 |
33 |
196 |
5 |
| pcap_compile_nopcap |
|
9 |
33 |
185 |
6 |
| pcap_freecode |
|
2 |
8 |
42 |
1 |
| backpatch |
|
3 |
15 |
71 |
2 |
| merge |
|
3 |
8 |
60 |
2 |
| finish_parse |
|
5 |
21 |
115 |
1 |
| gen_and |
|
1 |
10 |
67 |
2 |
| gen_or |
|
1 |
9 |
58 |
2 |
| gen_not |
|
1 |
5 |
20 |
1 |
| gen_cmp |
|
1 |
13 |
74 |
3 |
| gen_cmp_gt |
|
1 |
13 |
74 |
3 |
| gen_mcmp |
|
2 |
14 |
81 |
4 |
| gen_mcmp_nl |
|
2 |
14 |
81 |
4 |
| gen_bcmp |
|
7 |
33 |
259 |
3 |
| nl2X_stmt |
|
4 |
32 |
180 |
1 |
| gen_cmp_nl |
|
2 |
20 |
120 |
3 |
| init_linktype |
|
21 |
85 |
294 |
1 |
| gen_uncond |
|
1 |
11 |
56 |
1 |
| gen_true |
|
1 |
4 |
11 |
0 |
| gen_false |
|
1 |
4 |
11 |
0 |
| gen_linktype |
|
31 |
75 |
408 |
1 |
| gen_hostop |
|
6 |
35 |
206 |
6 |
| gen_hostop6 |
|
6 |
44 |
346 |
6 |
| gen_ehostop |
|
6 |
26 |
130 |
2 |
| gen_fhostop |
|
8 |
28 |
162 |
2 |
| gen_dnhostop |
|
6 |
55 |
403 |
3 |
| gen_host |
|
23 |
63 |
304 |
4 |
| gen_host6 |
|
22 |
54 |
226 |
4 |
| gen_gateway |
|
9 |
33 |
172 |
4 |
| gen_proto_abbrev |
|
28 |
82 |
408 |
1 |
| gen_ipfrag |
|
2 |
19 |
112 |
0 |
| iphl_to_x |
|
3 |
30 |
204 |
1 |
| gen_portatom |
|
1 |
15 |
88 |
2 |
| gen_portatom6 |
|
1 |
6 |
26 |
2 |
| gen_portop |
|
6 |
31 |
186 |
3 |
| gen_port |
|
4 |
23 |
112 |
3 |
| gen_portop6 |
|
6 |
29 |
173 |
3 |
| gen_port6 |
|
4 |
23 |
112 |
3 |
| lookup_proto |
|
7 |
26 |
104 |
2 |
| gen_protochain |
|
11 |
205 |
1707 |
3 |
| gen_proto |
|
26 |
68 |
324 |
3 |
| gen_scode |
|
50 |
166 |
925 |
2 |
| gen_mcode |
|
6 |
30 |
176 |
4 |
| gen_ncode |
|
20 |
64 |
353 |
3 |
| gen_mcode6 |
|
14 |
45 |
337 |
4 |
| gen_ecode |
|
8 |
15 |
107 |
2 |
| sappend |
|
2 |
7 |
34 |
2 |
| xfer_to_x |
|
1 |
8 |
38 |
1 |
| xfer_to_a |
|
1 |
8 |
38 |
1 |
| gen_load |
|
28 |
86 |
474 |
3 |
| gen_relation |
|
7 |
36 |
227 |
4 |
| gen_loadlen |
|
1 |
12 |
79 |
0 |
| gen_loadi |
|
1 |
16 |
95 |
1 |
| gen_neg |
|
1 |
14 |
87 |
1 |
| gen_arth |
|
1 |
18 |
131 |
3 |
| alloc_reg |
|
3 |
13 |
54 |
0 |
| free_reg |
|
1 |
5 |
16 |
1 |
| gen_len |
|
1 |
11 |
59 |
2 |
| gen_greater |
|
1 |
5 |
17 |
1 |
| gen_less |
|
1 |
8 |
31 |
1 |
| gen_byteop |
|
6 |
32 |
195 |
3 |
| gen_broadcast |
|
8 |
30 |
180 |
1 |
| gen_multicast |
|
8 |
39 |
228 |
1 |
| gen_inbound |
|
5 |
22 |
103 |
1 |
| gen_pf_ifname |
|
3 |
17 |
101 |
1 |
| gen_pf_ruleset |
|
3 |
14 |
97 |
1 |
| gen_pf_rnr |
|
2 |
11 |
55 |
1 |
| gen_pf_srnr |
|
2 |
10 |
52 |
1 |
| gen_pf_reason |
|
2 |
11 |
55 |
1 |
| gen_pf_action |
|
2 |
11 |
55 |
1 |
| gen_p80211_type |
|
4 |
15 |
90 |
2 |
| gen_ahostop |
|
6 |
24 |
125 |
2 |
| gen_acode |
|
5 |
10 |
65 |
2 |
| gen_vlan |
|
5 |
31 |
138 |
1 |
| gen_p80211_fcdir |
|
4 |
16 |
87 |
1 |
| gen_p80211_hostop |
|
11 |
85 |
556 |
2 |
| gen_p80211_addr |
|
1 |
8 |
62 |
3 |
| Source file: ./lib/libexpat/lib/internal.h |
| Source file: ./lib/libexpat/lib/xmlrole.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| prolog0 |
|
9 |
35 |
141 |
5 |
| prolog1 |
|
8 |
29 |
111 |
5 |
| prolog2 |
|
5 |
19 |
79 |
5 |
| doctype0 |
|
4 |
16 |
70 |
5 |
| doctype1 |
|
7 |
28 |
123 |
5 |
| doctype2 |
|
3 |
15 |
67 |
5 |
| doctype3 |
|
3 |
15 |
67 |
5 |
| doctype4 |
|
4 |
18 |
79 |
5 |
| doctype5 |
|
3 |
15 |
67 |
5 |
| internalSubset |
|
12 |
53 |
211 |
5 |
| externalSubset0 |
|
2 |
11 |
55 |
5 |
| externalSubset1 |
|
8 |
28 |
115 |
5 |
| entity0 |
|
4 |
18 |
79 |
5 |
| entity1 |
|
3 |
15 |
67 |
5 |
| entity2 |
|
6 |
26 |
117 |
5 |
| entity3 |
|
3 |
15 |
67 |
5 |
| entity4 |
|
3 |
15 |
67 |
5 |
| entity5 |
|
5 |
21 |
86 |
5 |
| entity6 |
|
3 |
16 |
73 |
5 |
| entity7 |
|
6 |
26 |
117 |
5 |
| entity8 |
|
3 |
15 |
67 |
5 |
| entity9 |
|
3 |
15 |
67 |
5 |
| entity10 |
|
3 |
15 |
66 |
5 |
| notation0 |
|
3 |
15 |
67 |
5 |
| notation1 |
|
5 |
22 |
99 |
5 |
| notation2 |
|
3 |
15 |
67 |
5 |
| notation3 |
|
3 |
16 |
73 |
5 |
| notation4 |
|
4 |
19 |
84 |
5 |
| attlist0 |
|
4 |
16 |
70 |
5 |
| attlist1 |
|
5 |
19 |
81 |
5 |
| attlist2 |
|
7 |
39 |
178 |
5 |
| attlist3 |
|
5 |
17 |
73 |
5 |
| attlist4 |
|
4 |
18 |
79 |
5 |
| attlist5 |
|
3 |
15 |
67 |
5 |
| attlist6 |
|
3 |
15 |
67 |
5 |
| attlist7 |
|
4 |
18 |
79 |
5 |
| attlist8 |
|
7 |
38 |
150 |
5 |
| attlist9 |
|
3 |
15 |
67 |
5 |
| element0 |
|
4 |
16 |
70 |
5 |
| element1 |
|
6 |
28 |
129 |
5 |
| element2 |
|
10 |
38 |
149 |
5 |
| element3 |
|
5 |
23 |
103 |
5 |
| element4 |
|
4 |
16 |
70 |
5 |
| element5 |
|
4 |
19 |
85 |
5 |
| element6 |
|
8 |
28 |
118 |
5 |
| element7 |
|
12 |
46 |
215 |
5 |
| condSect0 |
|
5 |
22 |
99 |
5 |
| condSect1 |
|
3 |
16 |
73 |
5 |
| condSect2 |
|
3 |
15 |
67 |
5 |
| declClose |
|
3 |
15 |
70 |
5 |
| error |
|
1 |
8 |
44 |
5 |
| common |
|
4 |
7 |
34 |
2 |
| XmlPrologStateInit |
|
2 |
7 |
32 |
1 |
| XmlPrologStateInitExternalEntity |
|
1 |
6 |
26 |
1 |
| Source file: ./lib/libexpat/lib/expat_external.h |
| Source file: ./lib/libexpat/lib/xmltok_ns.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| NS( XmlGetUtf8InternalEncoding) |
|
1 |
4 |
14 |
1 |
| NS( XmlGetUtf16InternalEncoding) |
|
4 |
9 |
57 |
1 |
| NS( initScanProlog) |
|
1 |
6 |
47 |
4 |
| NS( initScanContent) |
|
1 |
6 |
47 |
4 |
| NS( XmlInitEncoding) |
|
2 |
14 |
96 |
3 |
| NS( findEncoding) |
|
5 |
16 |
109 |
3 |
| NS( XmlParseXmlDecl) |
|
1 |
23 |
79 |
10 |
| Source file: ./lib/libpcap/optimize.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| find_levels_r |
|
3 |
18 |
107 |
1 |
| find_levels |
|
1 |
7 |
39 |
1 |
| find_dom |
|
6 |
22 |
157 |
1 |
| propedom |
|
2 |
9 |
64 |
1 |
| find_edom |
|
4 |
18 |
145 |
1 |
| find_closure |
|
4 |
17 |
130 |
1 |
| atomuse |
|
16 |
28 |
152 |
1 |
| atomdef |
|
9 |
19 |
81 |
1 |
| compute_local_ud |
|
13 |
37 |
241 |
1 |
| find_ud |
|
5 |
18 |
135 |
1 |
| init_val |
|
1 |
7 |
46 |
0 |
| F |
|
8 |
27 |
195 |
3 |
| vstore |
|
3 |
11 |
48 |
4 |
| fold_op |
|
11 |
44 |
173 |
3 |
| this_op |
|
3 |
7 |
34 |
1 |
| opt_not |
|
1 |
7 |
38 |
1 |
| opt_peep |
|
41 |
126 |
934 |
1 |
| opt_stmt |
|
67 |
161 |
1228 |
3 |
| deadstmt |
|
5 |
23 |
112 |
2 |
| opt_deadstores |
|
5 |
16 |
124 |
1 |
| opt_blk |
|
17 |
45 |
365 |
2 |
| use_conflict |
|
5 |
13 |
79 |
2 |
| fold_edge |
|
8 |
26 |
157 |
2 |
| opt_j |
|
9 |
31 |
203 |
1 |
| or_pullup |
|
21 |
61 |
416 |
1 |
| and_pullup |
|
21 |
61 |
416 |
1 |
| opt_blks |
|
8 |
26 |
173 |
2 |
| link_inedge |
|
1 |
7 |
32 |
2 |
| find_inedges |
|
4 |
14 |
105 |
1 |
| opt_root |
|
5 |
15 |
130 |
1 |
| opt_loop |
|
6 |
19 |
88 |
2 |
| bpf_optimize |
|
1 |
12 |
54 |
1 |
| make_marks |
|
3 |
11 |
57 |
1 |
| mark_code |
|
1 |
6 |
20 |
1 |
| eq_slist |
|
10 |
18 |
121 |
2 |
| eq_blk |
|
5 |
10 |
81 |
2 |
| intern_blocks |
|
13 |
40 |
256 |
1 |
| opt_cleanup |
|
1 |
10 |
68 |
0 |
| slength |
|
3 |
9 |
43 |
1 |
| count_blocks |
|
3 |
8 |
49 |
1 |
| number_blks_r |
|
3 |
13 |
66 |
1 |
| count_stmts |
|
3 |
10 |
71 |
1 |
| opt_init |
|
17 |
86 |
584 |
1 |
| convert_code_r |
|
34 |
114 |
754 |
1 |
| icode_to_fcode |
|
4 |
21 |
100 |
2 |
| opt_dump |
|
1 |
10 |
63 |
1 |
| Source file: ./lib/libexpat/lib/nametab.h |
| Source file: ./lib/libexpat/lib/xmltok.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| isNever |
|
1 |
4 |
23 |
2 |
| utf8_isName2 |
|
1 |
4 |
31 |
2 |
| utf8_isName3 |
|
1 |
4 |
31 |
2 |
| utf8_isNmstrt2 |
|
1 |
4 |
31 |
2 |
| utf8_isNmstrt3 |
|
1 |
4 |
31 |
2 |
| utf8_isInvalid2 |
|
1 |
4 |
29 |
2 |
| utf8_isInvalid3 |
|
1 |
4 |
29 |
2 |
| utf8_isInvalid4 |
|
1 |
4 |
29 |
2 |
| sb_byteType |
|
1 |
4 |
22 |
2 |
| sb_byteToAscii |
|
1 |
4 |
18 |
2 |
| sb_charMatches |
|
1 |
4 |
23 |
3 |
| _INTERNAL_trim_to_complete_utf8_characters |
|
9 |
33 |
190 |
2 |
| utf8_toUtf8 |
|
5 |
32 |
160 |
5 |
| utf8_toUtf16 |
|
11 |
58 |
405 |
5 |
| latin1_toUtf8 |
|
6 |
23 |
155 |
5 |
| latin1_toUtf16 |
|
5 |
11 |
86 |
5 |
| ascii_toUtf8 |
|
5 |
11 |
79 |
5 |
| unicode_byte_type |
|
12 |
17 |
76 |
2 |
| little2_byteType |
|
1 |
4 |
21 |
2 |
| little2_byteToAscii |
|
1 |
4 |
22 |
2 |
| little2_charMatches |
|
1 |
4 |
27 |
3 |
| little2_isNameMin |
|
1 |
4 |
22 |
2 |
| little2_isNmstrtMin |
|
1 |
4 |
22 |
2 |
| big2_byteType |
|
1 |
4 |
21 |
2 |
| big2_byteToAscii |
|
1 |
4 |
22 |
2 |
| big2_charMatches |
|
1 |
4 |
27 |
3 |
| big2_isNameMin |
|
1 |
4 |
22 |
2 |
| big2_isNmstrtMin |
|
1 |
4 |
22 |
2 |
| streqci |
|
8 |
16 |
85 |
2 |
| initUpdatePosition |
|
1 |
5 |
40 |
4 |
| toAscii |
|
2 |
10 |
65 |
3 |
| isSpace |
|
5 |
11 |
31 |
1 |
| parsePseudoAttribute |
|
26 |
83 |
443 |
7 |
| doParseXmlDecl |
|
27 |
89 |
521 |
11 |
| checkCharRefNumber |
|
14 |
17 |
86 |
1 |
| XmlUtf8Encode |
|
6 |
33 |
276 |
2 |
| XmlUtf16Encode |
|
4 |
16 |
100 |
2 |
| XmlSizeOfUnknownEncoding |
|
1 |
4 |
13 |
1 |
| unknown_isName |
|
2 |
8 |
63 |
2 |
| unknown_isNmstrt |
|
2 |
8 |
63 |
2 |
| unknown_isInvalid |
|
2 |
6 |
53 |
2 |
| unknown_toUtf8 |
|
6 |
31 |
200 |
5 |
| unknown_toUtf16 |
|
6 |
22 |
162 |
5 |
| XmlInitUnknownEncoding |
|
21 |
77 |
662 |
4 |
| getEncodingIndex |
|
4 |
18 |
92 |
1 |
| initScan |
|
37 |
89 |
497 |
6 |
| XmlInitUnknownEncodingNS |
|
2 |
10 |
57 |
4 |
| Source file: ./lib/libexpat/tests/chardata.h |
| Source file: ./lib/libexpat/tests/runtestspp.cpp |
| Source file: ./lib/libexpat/lib/iasciitab.h |
| Source file: ./lib/libexpat/tests/benchmark/benchmark.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usage |
|
1 |
6 |
26 |
2 |
| main |
|
15 |
81 |
516 |
2 |
| Source file: ./lib/libexpat/tests/minicheck.h |
| Source file: ./lib/libexpat/tests/minicheck.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| suite_create |
|
2 |
8 |
44 |
1 |
| tcase_create |
|
2 |
8 |
44 |
1 |
| suite_add_tcase |
|
1 |
8 |
49 |
2 |
| tcase_add_checked_fixture |
|
1 |
8 |
33 |
3 |
| tcase_add_test |
|
2 |
14 |
97 |
2 |
| tcase_free |
|
2 |
8 |
29 |
1 |
| suite_free |
|
3 |
12 |
55 |
1 |
| srunner_create |
|
2 |
8 |
39 |
1 |
| _check_set_test_info |
|
1 |
6 |
29 |
3 |
| add_failure |
|
2 |
8 |
35 |
2 |
| srunner_run_all |
|
9 |
41 |
232 |
2 |
| _fail_unless |
|
3 |
8 |
77 |
4 |
| srunner_ntests_failed |
|
1 |
5 |
20 |
1 |
| srunner_free |
|
2 |
8 |
29 |
1 |
| Source file: ./lib/libexpat/tests/structdata.h |
| Source file: ./lib/libexpat/tests/memcheck.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tracking_malloc |
|
4 |
24 |
118 |
1 |
| find_allocation |
|
3 |
10 |
46 |
1 |
| tracking_free |
|
5 |
22 |
107 |
1 |
| tracking_realloc |
|
8 |
42 |
211 |
2 |
| tracking_report |
|
3 |
12 |
57 |
1 |
| Source file: ./lib/libexpat/tests/memcheck.h |
| Source file: ./lib/libexpat/tests/chardata.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| xmlstrlen |
|
2 |
8 |
36 |
1 |
| CharData_Init |
|
1 |
5 |
22 |
1 |
| CharData_AppendXMLChars |
|
5 |
19 |
154 |
3 |
| CharData_CheckXMLChars |
|
4 |
19 |
118 |
2 |
| Source file: ./lib/libexpat/expat_config.h |
| Source file: ./lib/csu/m88k/md_init.h |
| Source file: ./lib/csu/hppa/md_init.h |
| Source file: ./lib/csu/i386/md_init.h |
| Source file: ./lib/csu/sparc64/md_init.h |
| Source file: ./lib/libexpat/tests/structdata.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| xmlstrdup |
|
1 |
8 |
54 |
1 |
| StructData_Init |
|
1 |
7 |
33 |
1 |
| StructData_AddItem |
|
2 |
24 |
137 |
5 |
| StructData_CheckItems |
|
7 |
36 |
213 |
3 |
| StructData_Dispose |
|
2 |
8 |
56 |
1 |
| Source file: ./lib/csu/alpha/md_init.h |
| Source file: ./lib/csu/amd64/md_init.h |
| Source file: ./lib/csu/powerpc/md_init.h |
| Source file: ./lib/csu/sh/md_init.h |
| Source file: ./lib/csu/arm/md_init.h |
| Source file: ./lib/csu/aarch64/md_init.h |
| Source file: ./lib/csu/mips64/md_init.h |
| Source file: ./lib/libexpat/lib/xmltok_impl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| PREFIX( scanComment) |
|
7 |
34 |
194 |
4 |
| PREFIX( scanDecl) |
|
16 |
41 |
226 |
4 |
| PREFIX( checkPiTarget) |
|
9 |
41 |
170 |
4 |
| PREFIX( scanPi) |
|
12 |
56 |
328 |
4 |
| PREFIX( scanCdataSection) |
|
3 |
16 |
116 |
4 |
| PREFIX( cdataSectionTok) |
|
18 |
62 |
346 |
4 |
| PREFIX( scanEndTag) |
|
13 |
40 |
225 |
4 |
| PREFIX( scanHexCharRef) |
|
8 |
28 |
140 |
4 |
| PREFIX( scanCharRef) |
|
7 |
28 |
165 |
4 |
| PREFIX( scanRef) |
|
4 |
25 |
149 |
4 |
| PREFIX( scanAtts) |
|
40 |
138 |
639 |
4 |
| PREFIX( scanLt) |
|
24 |
88 |
501 |
4 |
| PREFIX( contentTok) |
|
29 |
85 |
514 |
4 |
| PREFIX( scanPercent) |
|
7 |
26 |
146 |
4 |
| PREFIX( scanPoundName) |
|
9 |
24 |
140 |
4 |
| PREFIX( scanLit) |
|
12 |
30 |
154 |
5 |
| PREFIX( prologTok) |
|
79 |
200 |
1093 |
4 |
| PREFIX( attributeValueTok) |
|
15 |
55 |
293 |
4 |
| PREFIX( entityValueTok) |
|
15 |
53 |
302 |
4 |
| PREFIX( ignoreSectionTok) |
|
11 |
49 |
284 |
4 |
| PREFIX( isPublicId) |
|
29 |
51 |
212 |
4 |
| PREFIX( getAtts) |
|
34 |
74 |
409 |
4 |
| PREFIX( charRefNumber) |
|
28 |
41 |
275 |
2 |
| PREFIX( predefinedEntityName) |
|
18 |
52 |
290 |
3 |
| PREFIX( nameMatchesAscii) |
|
4 |
12 |
81 |
4 |
| PREFIX( nameLength) |
|
10 |
20 |
92 |
2 |
| PREFIX( skipS) |
|
5 |
14 |
54 |
2 |
| PREFIX( updatePosition) |
|
6 |
27 |
155 |
4 |
| Source file: ./lib/csu/crtbegin.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __register_frame_info |
|
1 |
3 |
14 |
2 |
| __ctors |
|
4 |
13 |
72 |
1 |
| __dtors |
|
2 |
6 |
28 |
1 |
| __do_init |
|
4 |
13 |
57 |
1 |
| __do_fini |
|
2 |
8 |
25 |
1 |
| Source file: ./lib/csu/crtbeginS.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| atexit |
|
1 |
4 |
36 |
1 |
| pthread_atfork |
|
1 |
4 |
46 |
3 |
| __ctors |
|
4 |
13 |
72 |
1 |
| __dtors |
|
2 |
6 |
28 |
1 |
| _do_init |
|
4 |
10 |
39 |
1 |
| _do_fini |
|
3 |
10 |
36 |
1 |
| Source file: ./lib/csu/extern.h |
| Source file: ./lib/csu/crtendS.c |
| Source file: ./lib/csu/os-note-elf.h |
| Source file: ./lib/csu/crtend.c |
| Source file: ./lib/csu/crt0.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ___start |
|
3 |
10 |
60 |
1 |
| Source file: ./lib/libarch/i386/i386_set_gsbase.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| i386_set_gsbase |
|
1 |
4 |
17 |
1 |
| Source file: ./lib/libarch/i386/i386_get_gsbase.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| i386_get_gsbase |
|
1 |
4 |
16 |
1 |
| Source file: ./lib/libarch/i386/i386_set_fsbase.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| i386_set_fsbase |
|
1 |
4 |
17 |
1 |
| Source file: ./lib/libarch/i386/i386_iopl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| i386_iopl |
|
1 |
6 |
26 |
1 |
| Source file: ./lib/libarch/i386/i386_vm86.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| i386_vm86 |
|
1 |
4 |
17 |
1 |
| Source file: ./lib/libarch/i386/i386_get_fsbase.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| i386_get_fsbase |
|
1 |
4 |
16 |
1 |
| Source file: ./lib/csu/boot.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _dl_boot_bind |
|
27 |
88 |
704 |
3 |
| _reloc_alpha_got |
|
6 |
23 |
150 |
2 |
| Source file: ./lib/libarch/alpha/io.h |
| Source file: ./lib/libarch/amd64/amd64_set_fsbase.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| amd64_set_fsbase |
|
1 |
4 |
17 |
1 |
| Source file: ./lib/libarch/amd64/amd64_get_fsbase.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| amd64_get_fsbase |
|
1 |
4 |
16 |
1 |
| Source file: ./lib/libarch/amd64/amd64_iopl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| amd64_iopl |
|
1 |
6 |
26 |
1 |
| Source file: ./lib/libarch/arm/arm_drain_writebuf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| arm_drain_writebuf |
|
1 |
4 |
13 |
0 |
| Source file: ./lib/libarch/alpha/io.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ioperm |
|
4 |
18 |
118 |
3 |
| inb |
|
1 |
4 |
15 |
1 |
| inw |
|
1 |
4 |
15 |
1 |
| inl |
|
1 |
4 |
15 |
1 |
| outb |
|
1 |
4 |
19 |
2 |
| outw |
|
1 |
4 |
19 |
2 |
| outl |
|
1 |
4 |
19 |
2 |
| map_memory |
|
1 |
4 |
20 |
2 |
| unmap_memory |
|
1 |
4 |
20 |
2 |
| readb |
|
1 |
4 |
21 |
2 |
| readw |
|
1 |
4 |
21 |
2 |
| readl |
|
1 |
4 |
21 |
2 |
| writeb |
|
1 |
5 |
31 |
3 |
| writew |
|
1 |
5 |
31 |
3 |
| writel |
|
1 |
5 |
31 |
3 |
| writeb_nb |
|
1 |
4 |
25 |
3 |
| writew_nb |
|
1 |
4 |
25 |
3 |
| writel_nb |
|
1 |
4 |
25 |
3 |
| dense_base |
|
3 |
15 |
93 |
1 |
| Source file: ./lib/libarch/arm/arm_sync_icache.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| arm_sync_icache |
|
1 |
9 |
39 |
2 |
| Source file: ./lib/libarch/alpha/bwx.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bwx_open_mem |
|
4 |
11 |
56 |
1 |
| bwx_close_mem |
|
2 |
7 |
25 |
1 |
| bwx_init |
|
3 |
14 |
115 |
1 |
| bwx_ioperm |
|
7 |
27 |
187 |
3 |
| bwx_inb |
|
1 |
5 |
19 |
1 |
| bwx_inw |
|
1 |
5 |
19 |
1 |
| bwx_inl |
|
1 |
5 |
19 |
1 |
| bwx_outb |
|
1 |
6 |
27 |
2 |
| bwx_outw |
|
1 |
6 |
27 |
2 |
| bwx_outl |
|
1 |
6 |
27 |
2 |
| bwx_map_memory |
|
5 |
34 |
225 |
2 |
| bwx_unmap_memory |
|
1 |
9 |
61 |
2 |
| bwx_readb |
|
1 |
5 |
28 |
2 |
| bwx_readw |
|
1 |
5 |
28 |
2 |
| bwx_readl |
|
1 |
5 |
28 |
2 |
| bwx_writeb |
|
1 |
5 |
32 |
3 |
| bwx_writew |
|
1 |
5 |
32 |
3 |
| bwx_writel |
|
1 |
5 |
32 |
3 |
| Source file: ./lib/libevent/event-internal.h |
| Source file: ./lib/libevent/event_tagging.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| evtag_init |
|
3 |
7 |
35 |
1 |
| encode_int |
|
4 |
19 |
167 |
2 |
| evtag_encode_tag |
|
4 |
16 |
91 |
2 |
| decode_tag_internal |
|
6 |
23 |
137 |
3 |
| evtag_decode_tag |
|
1 |
4 |
25 |
2 |
| evtag_marshal |
|
1 |
7 |
43 |
4 |
| evtag_marshal_int |
|
1 |
8 |
56 |
3 |
| evtag_marshal_string |
|
1 |
4 |
31 |
3 |
| evtag_marshal_timeval |
|
1 |
8 |
62 |
3 |
| decode_int_internal |
|
7 |
25 |
179 |
3 |
| evtag_decode_int |
|
2 |
4 |
33 |
2 |
| evtag_peek |
|
1 |
4 |
25 |
2 |
| evtag_peek_length |
|
3 |
16 |
100 |
2 |
| evtag_payload_length |
|
3 |
15 |
93 |
2 |
| evtag_consume |
|
3 |
10 |
63 |
1 |
| evtag_unmarshal |
|
5 |
16 |
117 |
3 |
| evtag_unmarshal_int |
|
6 |
21 |
146 |
3 |
| evtag_unmarshal_fixed |
|
4 |
12 |
89 |
4 |
| evtag_unmarshal_string |
|
4 |
13 |
103 |
3 |
| evtag_unmarshal_timeval |
|
5 |
16 |
113 |
3 |
| Source file: ./lib/libevent/evbuffer.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bufferevent_add |
|
2 |
10 |
54 |
2 |
| bufferevent_read_pressure_cb |
|
4 |
9 |
75 |
4 |
| bufferevent_readcb |
|
14 |
49 |
324 |
3 |
| bufferevent_writecb |
|
13 |
36 |
225 |
3 |
| bufferevent_new |
|
4 |
21 |
164 |
5 |
| bufferevent_setcb |
|
1 |
8 |
46 |
5 |
| bufferevent_setfd |
|
2 |
11 |
94 |
2 |
| bufferevent_priority_set |
|
3 |
8 |
59 |
2 |
| bufferevent_free |
|
1 |
8 |
44 |
1 |
| bufferevent_write |
|
4 |
10 |
76 |
3 |
| bufferevent_write_buffer |
|
2 |
8 |
53 |
2 |
| bufferevent_read |
|
3 |
10 |
66 |
3 |
| bufferevent_enable |
|
5 |
13 |
85 |
2 |
| bufferevent_disable |
|
5 |
13 |
77 |
2 |
| bufferevent_settimeout |
|
3 |
9 |
75 |
3 |
| bufferevent_setwatermark |
|
3 |
14 |
84 |
4 |
| bufferevent_base_set |
|
2 |
10 |
64 |
2 |
| Source file: ./lib/libevent/log.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| event_err |
|
1 |
8 |
45 |
3 |
| event_warn |
|
1 |
7 |
37 |
2 |
| event_errx |
|
1 |
8 |
46 |
3 |
| event_warnx |
|
1 |
7 |
38 |
2 |
| event_msgx |
|
1 |
7 |
38 |
2 |
| _event_debugx |
|
1 |
7 |
38 |
2 |
| _warn_helper |
|
4 |
17 |
111 |
4 |
| event_set_log_callback |
|
1 |
4 |
11 |
1 |
| event_log |
|
2 |
5 |
23 |
2 |
| Source file: ./lib/libevent/evsignal.h |
| Source file: ./lib/libevent/select.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| select_init |
|
4 |
11 |
83 |
1 |
| check_selectop |
|
4 |
20 |
159 |
1 |
| select_dispatch |
|
13 |
48 |
344 |
3 |
| select_resize |
|
8 |
48 |
387 |
2 |
| select_add |
|
9 |
32 |
216 |
2 |
| select_del |
|
5 |
21 |
137 |
2 |
| select_dealloc |
|
1 |
13 |
85 |
2 |
| Source file: ./lib/libevent/evutil.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| evutil_socketpair |
|
1 |
4 |
31 |
4 |
| evutil_make_socket_nonblocking |
|
3 |
13 |
70 |
1 |
| evutil_strtoll |
|
1 |
4 |
29 |
3 |
| evutil_snprintf |
|
1 |
9 |
52 |
4 |
| evutil_vsnprintf |
|
1 |
6 |
45 |
4 |
| evutil_issetugid |
|
1 |
4 |
11 |
1 |
| evutil_getenv |
|
2 |
6 |
24 |
1 |
| Source file: ./lib/libevent/buffer.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| evbuffer_new |
|
1 |
6 |
29 |
1 |
| evbuffer_free |
|
1 |
5 |
21 |
1 |
| evbuffer_add_buffer |
|
7 |
21 |
165 |
2 |
| evbuffer_add_vprintf |
|
7 |
29 |
210 |
3 |
| evbuffer_add_printf |
|
1 |
9 |
53 |
3 |
| evbuffer_remove |
|
2 |
9 |
58 |
3 |
| evbuffer_readline |
|
10 |
26 |
184 |
1 |
| evbuffer_readln |
|
24 |
74 |
431 |
3 |
| evbuffer_align |
|
1 |
6 |
38 |
1 |
| evbuffer_expand |
|
9 |
33 |
210 |
2 |
| evbuffer_add |
|
5 |
14 |
121 |
3 |
| evbuffer_drain |
|
4 |
16 |
106 |
2 |
| evbuffer_read |
|
14 |
28 |
224 |
3 |
| evbuffer_write |
|
3 |
11 |
66 |
2 |
| evbuffer_find |
|
4 |
14 |
103 |
3 |
| evbuffer_setcb |
|
1 |
7 |
43 |
3 |
| Source file: ./lib/libevent/poll.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| poll_init |
|
4 |
10 |
64 |
1 |
| poll_check_ok |
|
6 |
27 |
209 |
1 |
| poll_dispatch |
|
19 |
53 |
366 |
3 |
| poll_add |
|
15 |
85 |
543 |
2 |
| poll_del |
|
8 |
37 |
285 |
2 |
| poll_dealloc |
|
1 |
11 |
71 |
2 |
| Source file: ./lib/libevent/event.h |
| Source file: ./lib/libevent/min_heap.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| min_heap_elem_greater |
|
1 |
4 |
30 |
2 |
| min_heap_ctor |
|
1 |
1 |
26 |
1 |
| min_heap_dtor |
|
2 |
1 |
21 |
1 |
| min_heap_elem_init |
|
1 |
1 |
16 |
1 |
| min_heap_empty |
|
1 |
1 |
15 |
1 |
| min_heap_size |
|
1 |
1 |
13 |
1 |
| min_heap_top |
|
2 |
1 |
20 |
1 |
| min_heap_push |
|
2 |
7 |
45 |
2 |
| min_heap_pop |
|
2 |
11 |
56 |
1 |
| min_heap_erase |
|
4 |
15 |
115 |
2 |
| min_heap_reserve |
|
5 |
15 |
95 |
2 |
| min_heap_shift_up_ |
|
3 |
11 |
94 |
3 |
| min_heap_shift_down_ |
|
4 |
14 |
126 |
3 |
| Source file: ./lib/libevent/signal.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| evsignal_cb |
|
3 |
10 |
64 |
3 |
| evsignal_init |
|
3 |
20 |
175 |
1 |
| _evsignal_set_handler |
|
5 |
37 |
293 |
3 |
| evsignal_add |
|
7 |
24 |
175 |
1 |
| _evsignal_restore_handler |
|
2 |
14 |
84 |
2 |
| evsignal_del |
|
3 |
12 |
107 |
1 |
| evsignal_handler |
|
2 |
14 |
71 |
1 |
| evsignal_process |
|
5 |
21 |
141 |
1 |
| evsignal_dealloc |
|
8 |
25 |
200 |
1 |
| Source file: ./lib/libevent/evutil.h |
| Source file: ./lib/libevent/kqueue.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| kq_init |
|
8 |
32 |
217 |
1 |
| kq_insert |
|
6 |
30 |
202 |
2 |
| kq_sighandler |
|
1 |
3 |
7 |
1 |
| kq_dispatch |
|
19 |
68 |
427 |
3 |
| kq_add |
|
12 |
52 |
392 |
2 |
| kq_del |
|
11 |
45 |
342 |
2 |
| kq_dealloc |
|
3 |
11 |
80 |
2 |
| Source file: ./lib/libevent/log.h |
| Source file: ./lib/libcxx/docs/conf.py |
| Source file: ./lib/libcxx/include/support/xlocale/__strtonum_fallback.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| strtof_l |
|
1 |
4 |
24 |
3 |
| strtod_l |
|
1 |
4 |
24 |
3 |
| strtold_l |
|
1 |
4 |
24 |
3 |
| strtoll_l |
|
1 |
3 |
29 |
4 |
| strtoull_l |
|
1 |
3 |
29 |
4 |
| wcstoll_l |
|
1 |
3 |
29 |
4 |
| wcstoull_l |
|
1 |
3 |
29 |
4 |
| wcstold_l |
|
1 |
4 |
24 |
3 |
| Source file: ./lib/libcxx/include/support/xlocale/__nop_locale_mgmt.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| duplocale |
|
1 |
3 |
9 |
1 |
| freelocale |
|
1 |
2 |
6 |
1 |
| newlocale |
|
1 |
3 |
15 |
3 |
| uselocale |
|
1 |
3 |
9 |
1 |
| Source file: ./lib/libcxx/include/support/solaris/wchar.h |
| Source file: ./lib/libcxx/include/support/solaris/xlocale.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| strtoll_l |
|
1 |
4 |
29 |
4 |
| strtol_l |
|
1 |
4 |
29 |
4 |
| strtoull_l |
|
1 |
4 |
29 |
4 |
| strtoul_l |
|
1 |
4 |
29 |
4 |
| strtof_l |
|
1 |
4 |
24 |
3 |
| strtod_l |
|
1 |
4 |
24 |
3 |
| strtold_l |
|
1 |
4 |
24 |
3 |
| Source file: ./lib/libcxx/include/support/xlocale/__posix_l_fallback.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| isalnum_l |
|
1 |
3 |
16 |
2 |
| isalpha_l |
|
1 |
3 |
16 |
2 |
| isblank_l |
|
1 |
3 |
16 |
2 |
| iscntrl_l |
|
1 |
3 |
16 |
2 |
| isdigit_l |
|
1 |
3 |
16 |
2 |
| isgraph_l |
|
1 |
3 |
16 |
2 |
| islower_l |
|
1 |
3 |
16 |
2 |
| isprint_l |
|
1 |
3 |
16 |
2 |
| ispunct_l |
|
1 |
3 |
16 |
2 |
| isspace_l |
|
1 |
3 |
16 |
2 |
| isupper_l |
|
1 |
3 |
16 |
2 |
| isxdigit_l |
|
1 |
3 |
16 |
2 |
| iswalnum_l |
|
1 |
3 |
16 |
2 |
| iswalpha_l |
|
1 |
3 |
16 |
2 |
| iswblank_l |
|
1 |
3 |
16 |
2 |
| iswcntrl_l |
|
1 |
3 |
16 |
2 |
| iswdigit_l |
|
1 |
3 |
16 |
2 |
| iswgraph_l |
|
1 |
3 |
16 |
2 |
| iswlower_l |
|
1 |
3 |
16 |
2 |
| iswprint_l |
|
1 |
3 |
16 |
2 |
| iswpunct_l |
|
1 |
3 |
16 |
2 |
| iswspace_l |
|
1 |
3 |
16 |
2 |
| iswupper_l |
|
1 |
3 |
16 |
2 |
| iswxdigit_l |
|
1 |
3 |
16 |
2 |
| toupper_l |
|
1 |
3 |
16 |
2 |
| tolower_l |
|
1 |
3 |
16 |
2 |
| towupper_l |
|
1 |
3 |
16 |
2 |
| towlower_l |
|
1 |
3 |
16 |
2 |
| strcoll_l |
|
1 |
4 |
25 |
3 |
| strxfrm_l |
|
1 |
4 |
29 |
4 |
| strftime_l |
|
1 |
5 |
37 |
5 |
| wcscoll_l |
|
1 |
4 |
25 |
3 |
| wcsxfrm_l |
|
1 |
4 |
29 |
4 |
| Source file: ./lib/libcxx/include/support/solaris/floatingpoint.h |
| Source file: ./lib/libcxx/include/support/newlib/xlocale.h |
| Source file: ./lib/libcxx/include/support/android/locale_bionic.h |
| Source file: ./lib/libcxx/include/support/musl/xlocale.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| strtoll_l |
|
1 |
4 |
28 |
4 |
| strtoull_l |
|
1 |
4 |
28 |
4 |
| wcstoll_l |
|
1 |
4 |
28 |
4 |
| wcstoull_l |
|
1 |
5 |
28 |
4 |
| wcstold_l |
|
1 |
4 |
23 |
3 |
| Source file: ./lib/libcxx/include/support/win32/limits_win32.h |
| Source file: ./lib/libcxx/include/support/win32/locale_win32.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| MB_CUR_MAX_L |
|
1 |
5 |
20 |
1 |
| islower_l |
|
1 |
4 |
21 |
2 |
| isupper_l |
|
1 |
4 |
21 |
2 |
| isblank_l |
|
2 |
4 |
20 |
2 |
| iswblank_l |
|
2 |
4 |
22 |
2 |
| isblank |
|
2 |
2 |
20 |
2 |
| iswblank |
|
2 |
2 |
22 |
2 |
| Source file: ./lib/libevent/event.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| detect_monotonic |
|
2 |
6 |
26 |
1 |
| gettime |
|
4 |
16 |
98 |
2 |
| event_init |
|
2 |
7 |
30 |
1 |
| event_base_new |
|
7 |
26 |
205 |
1 |
| event_base_free |
|
14 |
46 |
334 |
1 |
| event_reinit |
|
8 |
28 |
197 |
1 |
| event_priority_init |
|
1 |
4 |
15 |
1 |
| event_base_priority_init |
|
8 |
26 |
196 |
2 |
| event_haveevents |
|
1 |
4 |
18 |
1 |
| event_process_active |
|
8 |
29 |
182 |
1 |
| event_dispatch |
|
1 |
4 |
14 |
1 |
| event_base_dispatch |
|
1 |
4 |
19 |
1 |
| event_base_get_method |
|
1 |
5 |
23 |
1 |
| event_loopexit_cb |
|
1 |
5 |
27 |
3 |
| event_loopexit |
|
1 |
5 |
27 |
1 |
| event_base_loopexit |
|
1 |
5 |
34 |
2 |
| event_loopbreak |
|
1 |
4 |
14 |
1 |
| event_base_loopbreak |
|
2 |
7 |
32 |
1 |
| event_loop |
|
1 |
4 |
15 |
1 |
| event_base_loop |
|
16 |
59 |
343 |
2 |
| event_once_cb |
|
1 |
6 |
42 |
3 |
| event_once |
|
1 |
5 |
50 |
5 |
| event_base_once |
|
8 |
34 |
241 |
6 |
| event_set |
|
2 |
16 |
106 |
5 |
| event_base_set |
|
2 |
8 |
49 |
2 |
| event_priority_set |
|
4 |
9 |
57 |
2 |
| event_pending |
|
6 |
19 |
156 |
3 |
| event_add |
|
17 |
45 |
338 |
2 |
| event_del |
|
7 |
26 |
170 |
1 |
| event_active |
|
2 |
11 |
62 |
3 |
| timeout_next |
|
4 |
21 |
156 |
2 |
| timeout_correct |
|
4 |
23 |
146 |
2 |
| timeout_process |
|
4 |
16 |
96 |
1 |
| event_queue_remove |
|
6 |
24 |
141 |
3 |
| event_queue_insert |
|
7 |
28 |
150 |
3 |
| event_get_version |
|
1 |
4 |
11 |
1 |
| event_get_method |
|
1 |
4 |
15 |
1 |
| event_asr_dispatch |
|
3 |
19 |
144 |
3 |
| event_asr_run |
|
2 |
17 |
116 |
3 |
| event_asr_abort |
|
1 |
6 |
29 |
1 |
| Source file: ./lib/libcxx/include/support/win32/locale_mgmt_win32.h |
| Source file: ./lib/libcxx/include/support/ibm/support.h |
| Source file: ./lib/libcxx/include/support/win32/support.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| strtof |
|
1 |
4 |
23 |
2 |
| strtod |
|
1 |
4 |
23 |
2 |
| strtold |
|
1 |
4 |
23 |
2 |
| __builtin_popcount |
|
1 |
11 |
95 |
1 |
| __builtin_popcountl |
|
1 |
4 |
20 |
1 |
| __builtin_popcountll |
|
1 |
11 |
106 |
1 |
| __builtin_ctzll |
|
6 |
11 |
92 |
1 |
| __builtin_ctzl |
|
2 |
7 |
34 |
1 |
| __builtin_ctz |
|
1 |
6 |
46 |
1 |
| __builtin_clzll |
|
6 |
12 |
100 |
1 |
| __builtin_clzl |
|
2 |
7 |
36 |
1 |
| __builtin_clz |
|
1 |
4 |
14 |
1 |
| Source file: ./lib/libcxx/include/support/win32/math_win32.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| isfinite |
|
1 |
4 |
15 |
1 |
| isinf |
|
2 |
4 |
20 |
1 |
| isnan |
|
1 |
4 |
15 |
1 |
| isnormal |
|
2 |
5 |
24 |
1 |
| isgreater |
|
3 |
5 |
35 |
2 |
| isgreaterequal |
|
3 |
5 |
35 |
2 |
| isless |
|
3 |
5 |
35 |
2 |
| islessequal |
|
3 |
5 |
37 |
2 |
| islessgreater |
|
4 |
5 |
41 |
2 |
| isunordered |
|
2 |
4 |
21 |
2 |
| signbit |
|
11 |
19 |
55 |
1 |
| copysignf |
|
2 |
4 |
28 |
2 |
| copysign |
|
1 |
4 |
19 |
2 |
| copysignl |
|
1 |
4 |
21 |
2 |
| fpclassify |
|
1 |
4 |
13 |
1 |
| Source file: ./lib/libcxx/include/support/ibm/limits.h |
| Source file: ./lib/libcxx/include/support/ibm/locale_mgmt_aix.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| newlocale |
|
9 |
28 |
189 |
3 |
| freelocale |
|
1 |
4 |
12 |
1 |
| uselocale |
|
1 |
4 |
13 |
1 |
| Source file: ./lib/libcxx/include/wchar.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __libcpp_wcschr |
|
1 |
1 |
24 |
2 |
| wcschr |
|
1 |
1 |
20 |
2 |
| wcschr |
|
1 |
1 |
19 |
2 |
| __libcpp_wcspbrk |
|
1 |
1 |
26 |
2 |
| wcspbrk |
|
1 |
1 |
22 |
2 |
| wcspbrk |
|
1 |
1 |
21 |
2 |
| __libcpp_wcsrchr |
|
1 |
1 |
24 |
2 |
| wcsrchr |
|
1 |
1 |
20 |
2 |
| wcsrchr |
|
1 |
1 |
19 |
2 |
| __libcpp_wcsstr |
|
1 |
1 |
26 |
2 |
| wcsstr |
|
1 |
1 |
22 |
2 |
| wcsstr |
|
1 |
1 |
21 |
2 |
| __libcpp_wmemchr |
|
1 |
1 |
29 |
3 |
| wmemchr |
|
1 |
1 |
25 |
3 |
| wmemchr |
|
1 |
1 |
24 |
3 |
| Source file: ./lib/libcxx/include/wctype.h |
| Source file: ./lib/libcxx/include/stddef.h |
| Source file: ./lib/libcxx/include/stdbool.h |
| Source file: ./lib/libcxx/include/float.h |
| Source file: ./lib/libcxx/include/tgmath.h |
| Source file: ./lib/libcxx/include/inttypes.h |
| Source file: ./lib/libcxx/include/support/ibm/xlocale.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| isalnum_l |
|
1 |
4 |
18 |
2 |
| isalpha_l |
|
1 |
4 |
18 |
2 |
| isblank_l |
|
1 |
4 |
18 |
2 |
| iscntrl_l |
|
1 |
4 |
18 |
2 |
| isdigit_l |
|
1 |
4 |
18 |
2 |
| isgraph_l |
|
1 |
4 |
18 |
2 |
| islower_l |
|
1 |
4 |
18 |
2 |
| isprint_l |
|
1 |
4 |
18 |
2 |
| ispunct_l |
|
1 |
4 |
18 |
2 |
| isspace_l |
|
1 |
4 |
18 |
2 |
| isupper_l |
|
1 |
4 |
18 |
2 |
| isxdigit_l |
|
1 |
4 |
18 |
2 |
| iswalnum_l |
|
1 |
4 |
18 |
2 |
| iswalpha_l |
|
1 |
4 |
18 |
2 |
| iswblank_l |
|
1 |
4 |
18 |
2 |
| iswcntrl_l |
|
1 |
4 |
18 |
2 |
| iswdigit_l |
|
1 |
4 |
18 |
2 |
| iswgraph_l |
|
1 |
4 |
18 |
2 |
| iswlower_l |
|
1 |
4 |
18 |
2 |
| iswprint_l |
|
1 |
4 |
18 |
2 |
| iswpunct_l |
|
1 |
4 |
18 |
2 |
| iswspace_l |
|
1 |
4 |
18 |
2 |
| iswupper_l |
|
1 |
4 |
18 |
2 |
| iswxdigit_l |
|
1 |
4 |
18 |
2 |
| iswctype_l |
|
1 |
4 |
23 |
3 |
| toupper_l |
|
1 |
4 |
18 |
2 |
| tolower_l |
|
1 |
4 |
18 |
2 |
| towupper_l |
|
1 |
4 |
18 |
2 |
| towlower_l |
|
1 |
4 |
18 |
2 |
| strcoll_l |
|
1 |
4 |
27 |
3 |
| wcscoll_l |
|
1 |
4 |
27 |
3 |
| strxfrm_l |
|
1 |
4 |
31 |
4 |
| wcsxfrm_l |
|
1 |
5 |
31 |
4 |
| strftime_l |
|
1 |
4 |
39 |
5 |
| strtoll_l |
|
1 |
4 |
29 |
4 |
| strtol_l |
|
1 |
4 |
29 |
4 |
| strtold_l |
|
1 |
4 |
24 |
3 |
| strtoull_l |
|
1 |
4 |
29 |
4 |
| strtoul_l |
|
1 |
4 |
29 |
4 |
| vasprintf |
|
4 |
18 |
119 |
3 |
| Source file: ./lib/libcxx/include/complex.h |
| Source file: ./lib/libcxx/include/stdlib.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| abs |
|
1 |
1 |
14 |
1 |
| abs |
|
1 |
1 |
15 |
1 |
| div |
|
1 |
1 |
19 |
2 |
| div |
|
1 |
1 |
21 |
2 |
| Source file: ./lib/libcxx/include/__bsd_locale_defaults.h |
| Source file: ./lib/libcxx/include/setjmp.h |
| Source file: ./lib/libcxx/include/string.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __libcpp_strchr |
|
1 |
1 |
24 |
2 |
| strchr |
|
1 |
1 |
20 |
2 |
| strchr |
|
1 |
1 |
19 |
2 |
| __libcpp_strpbrk |
|
1 |
1 |
26 |
2 |
| strpbrk |
|
1 |
1 |
22 |
2 |
| strpbrk |
|
1 |
1 |
21 |
2 |
| __libcpp_strrchr |
|
1 |
1 |
24 |
2 |
| strrchr |
|
1 |
1 |
20 |
2 |
| strrchr |
|
1 |
1 |
19 |
2 |
| __libcpp_memchr |
|
1 |
1 |
29 |
3 |
| memchr |
|
1 |
1 |
25 |
3 |
| memchr |
|
1 |
1 |
24 |
3 |
| __libcpp_strstr |
|
1 |
1 |
26 |
2 |
| strstr |
|
1 |
1 |
22 |
2 |
| strstr |
|
1 |
1 |
21 |
2 |
| Source file: ./lib/libcxx/include/ctype.h |
| Source file: ./lib/libcxx/include/stdio.h |
| Source file: ./lib/libcxx/include/__bsd_locale_fallbacks.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __libcpp_mb_cur_max_l |
|
1 |
5 |
20 |
1 |
| __libcpp_btowc_l |
|
1 |
5 |
27 |
2 |
| __libcpp_wctob_l |
|
1 |
5 |
27 |
2 |
| __libcpp_wcsnrtombs_l |
|
1 |
6 |
51 |
6 |
| __libcpp_wcrtomb_l |
|
1 |
5 |
39 |
4 |
| __libcpp_mbsnrtowcs_l |
|
1 |
6 |
51 |
6 |
| __libcpp_mbrtowc_l |
|
1 |
6 |
46 |
5 |
| __libcpp_mbtowc_l |
|
1 |
5 |
40 |
4 |
| __libcpp_mbrlen_l |
|
1 |
5 |
40 |
4 |
| __libcpp_localeconv_l |
|
1 |
5 |
23 |
1 |
| __libcpp_mbsrtowcs_l |
|
1 |
6 |
46 |
5 |
| __libcpp_snprintf_l |
|
1 |
8 |
64 |
5 |
| __libcpp_asprintf_l |
|
1 |
8 |
59 |
4 |
| __libcpp_sscanf_l |
|
1 |
8 |
60 |
4 |
| Source file: ./lib/libcxx/utils/not/not.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
8 |
20 |
116 |
0 |
| Source file: ./lib/libcxx/include/errno.h |
| Source file: ./lib/libcxx/utils/sym_check/sym_check/__init__.py |
| Source file: ./lib/libcxx/utils/sym_check/sym_check/diff.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _symbol_difference |
|
5 |
5 |
57 |
2 |
| _find_by_key |
|
3 |
5 |
24 |
2 |
| added_symbols |
|
1 |
2 |
14 |
2 |
| removed_symbols |
|
1 |
2 |
14 |
2 |
| changed_symbols |
|
6 |
10 |
66 |
2 |
| diff |
|
1 |
5 |
37 |
2 |
| report_diff |
|
1 |
2 |
17 |
5 |
| maybe_demangle |
|
2 |
2 |
16 |
1 |
| Source file: ./lib/libcxx/utils/sym_check/sym_check/extract.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| find_tool |
|
1 |
2 |
14 |
0 |
| __init__ |
|
2 |
6 |
41 |
1 |
| extract |
|
6 |
10 |
115 |
2 |
| _extract_sym |
|
4 |
13 |
96 |
2 |
| _want_sym |
|
4 |
6 |
57 |
1 |
| _transform_sym_type |
|
3 |
8 |
56 |
1 |
| find_tool |
|
1 |
2 |
14 |
0 |
| __init__ |
|
2 |
6 |
41 |
1 |
| extract |
|
2 |
7 |
68 |
2 |
| process_syms |
|
8 |
21 |
128 |
2 |
| get_dynsym_table |
|
7 |
13 |
99 |
2 |
| extract_symbols |
|
2 |
6 |
32 |
1 |
| Source file: ./lib/libcxx/utils/sym_check/sym_check/match.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| find_and_report_matching |
|
4 |
14 |
65 |
2 |
| find_matching_symbols |
|
3 |
7 |
42 |
2 |
| Source file: ./lib/libcxx/utils/sym_check/sym_check/util.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| execute_command |
|
2 |
12 |
78 |
2 |
| execute_command_verbose |
|
5 |
12 |
87 |
2 |
| read_syms_from_list |
|
2 |
2 |
19 |
1 |
| read_syms_from_file |
|
1 |
4 |
32 |
1 |
| read_blacklist |
|
5 |
6 |
64 |
1 |
| write_syms |
|
5 |
13 |
81 |
3 |
| demangle_symbol |
|
3 |
8 |
37 |
1 |
| is_elf |
|
1 |
4 |
27 |
1 |
| is_mach_o |
|
1 |
11 |
39 |
1 |
| is_library_file |
|
2 |
5 |
24 |
1 |
| extract_or_load |
|
2 |
5 |
29 |
1 |
| Source file: ./lib/libcxx/utils/sym_check/sym_diff.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
2 |
32 |
222 |
0 |
| Source file: ./lib/libcxx/utils/sym_check/sym_extract.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
2 |
17 |
137 |
0 |
| Source file: ./lib/libcxx/utils/sym_check/sym_match.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
5 |
26 |
171 |
0 |
| Source file: ./lib/libcxx/utils/gen_link_script/gen_link_script.py |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| print_and_exit |
|
1 |
3 |
21 |
1 |
| usage_and_exit |
|
1 |
2 |
8 |
0 |
| help_and_exit |
|
1 |
21 |
12 |
0 |
| parse_args |
|
5 |
15 |
84 |
0 |
| main |
|
4 |
15 |
112 |
0 |
| Source file: ./lib/libcxx/src/include/config_elast.h |
| Source file: ./lib/libcxx/src/include/atomic_support.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __libcpp_atomic_store |
|
1 |
5 |
25 |
3 |
| __libcpp_relaxed_store |
|
1 |
4 |
20 |
2 |
| __libcpp_atomic_load |
|
1 |
5 |
22 |
2 |
| __libcpp_atomic_add |
|
1 |
5 |
26 |
3 |
| __libcpp_atomic_compare_exchange |
|
1 |
8 |
41 |
5 |
| __libcpp_atomic_store |
|
1 |
5 |
20 |
3 |
| __libcpp_relaxed_store |
|
1 |
4 |
16 |
2 |
| __libcpp_atomic_load |
|
1 |
5 |
17 |
2 |
| __libcpp_atomic_add |
|
1 |
5 |
21 |
3 |
| __libcpp_atomic_compare_exchange |
|
2 |
11 |
50 |
5 |
| Source file: ./lib/libcxx/src/experimental/filesystem/path.cpp |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| parser::good |
|
1 |
1 |
12 |
1 |
| parser::is_separator |
|
2 |
3 |
30 |
2 |
| parser::is_root_name |
|
3 |
3 |
31 |
2 |
| parser::is_root_directory |
|
2 |
3 |
27 |
2 |
| parser::is_trailing_separator |
|
5 |
5 |
61 |
2 |
| parser::start_of |
|
8 |
11 |
98 |
2 |
| parser::end_of |
|
6 |
8 |
89 |
2 |
| parser::root_name_start |
|
2 |
3 |
22 |
1 |
| parser::root_name_end |
|
8 |
17 |
101 |
1 |
| parser::root_directory_start |
|
4 |
6 |
53 |
1 |
| parser::root_directory_end |
|
4 |
8 |
62 |
1 |
| parser::separate_filename |
|
5 |
6 |
81 |
1 |
| parser::extract_raw |
|
2 |
5 |
52 |
2 |
| parser::extract_preferred |
|
5 |
10 |
74 |
2 |
| path_view_iterator::path_view_iterator |
|
1 |
1 |
29 |
1 |
| path_view_iterator::path_view_iterator |
|
1 |
1 |
22 |
2 |
| path_view_iterator::operator * |
|
1 |
3 |
17 |
0 |
| path_view_iterator::operator ++ |
|
1 |
4 |
14 |
0 |
| path_view_iterator::operator -- |
|
1 |
4 |
14 |
0 |
| path_view_iterator::increment |
|
3 |
6 |
35 |
0 |
| path_view_iterator::decrement |
|
5 |
13 |
80 |
0 |
| path_view_iterator::set_position |
|
2 |
8 |
37 |
1 |
| path_view_iterator::valid_iterator_position |
|
5 |
7 |
57 |
0 |
| path_view_iterator::is_end |
|
1 |
1 |
13 |
0 |
| path_view_iterator::operator == |
|
1 |
3 |
17 |
1 |
| pbegin |
|
1 |
3 |
19 |
1 |
| pend |
|
1 |
5 |
30 |
1 |
| path::replace_extension |
|
4 |
14 |
93 |
1 |
| path::__root_name |
|
2 |
6 |
31 |
0 |
| path::__root_directory |
|
2 |
8 |
44 |
0 |
| path::__relative_path |
|
4 |
14 |
82 |
0 |
| path::__parent_path |
|
3 |
9 |
75 |
0 |
| path::__filename |
|
2 |
4 |
25 |
0 |
| path::__stem |
|
1 |
4 |
20 |
0 |
| path::__extension |
|
1 |
4 |
20 |
0 |
| path::__compare |
|
7 |
14 |
107 |
1 |
| hash_value |
|
2 |
16 |
97 |
1 |
| path::begin |
|
1 |
9 |
47 |
0 |
| path::end |
|
1 |
7 |
30 |
0 |
| path::iterator::__increment |
|
1 |
7 |
45 |
0 |
| path::iterator::__decrement |
|
1 |
7 |
45 |
0 |
| Source file: ./lib/libcxx/include/math.h |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __libcpp_signbit |
|
1 |
4 |
14 |
1 |
| signbit |
|
1 |
4 |
25 |
1 |
| __libcpp_fpclassify |
|
1 |
4 |
14 |
1 |
| fpclassify |
|
1 |
4 |
25 |
1 |
| __libcpp_isfinite |
|
1 |
4 |
14 |
1 |
| isfinite |
|
1 |
4 |
25 |
1 |
| __libcpp_isinf |
|
1 |
4 |
14 |
1 |
| isinf |
|
1 |
4 |
25 |
1 |
| __libcpp_isnan |
|
1 |
4 |
14 |
1 |
| isnan |
|
1 |
4 |
25 |
1 |
| __libcpp_isnormal |
|
1 |
4 |
14 |
1 |
| isnormal |
|
1 |
4 |
25 |
1 |
| __libcpp_isgreater |
|
1 |
4 |
19 |
2 |
| isgreater |
|
1 |
5 |
39 |
2 |
| __libcpp_isgreaterequal |
|
1 |
4 |
19 |
2 |
| isgreaterequal |
|
1 |
5 |
39 |
2 |
| __libcpp_isless |
|
1 |
4 |
19 |
2 |
| isless |
|
1 |
5 |
39 |
2 |
| __libcpp_islessequal |
|
1 |
4 |
19 |
2 |
| islessequal |
|
1 |
5 |
39 |
2 |
| __libcpp_islessgreater |
|
1 |
4 |
19 |
2 |
| islessgreater |
|
1 |
5 |
39 |
2 |
| __libcpp_isunordered |
|
1 |
4 |
19 |
2 |
| isunordered |
|
1 |
5 |
39 |
2 |
| abs |
|
1 |
1 |
14 |
1 |
| abs |
|
1 |
1 |
14 |
1 |
| abs |
|
1 |
1 |
15 |
1 |
| acos |
|
1 |
1 |
14 |
1 |
| acos |
|
1 |
1 |
15 |
1 |
| acos |
|
1 |
1 |
17 |
1 |
| asin |
|
1 |
1 |
14 |
1 |
| asin |
|
1 |
1 |
15 |
1 |
| asin |
|
1 |
1 |
17 |
1 |
| atan |
|
1 |
1 |
14 |
1 |
| atan |
|
1 |
1 |
15 |
1 |
| atan |
|
1 |
1 |
17 |
1 |
| atan2 |
|
1 |
1 |
19 |
2 |
| atan2 |
|
1 |
1 |
21 |
2 |
| atan2 |
|
2 |
7 |
71 |
2 |
| ceil |
|
1 |
1 |
14 |
1 |
| ceil |
|
1 |
1 |
15 |
1 |
| ceil |
|
1 |
1 |
17 |
1 |
| cos |
|
1 |
1 |
14 |
1 |
| cos |
|
1 |
1 |
15 |
1 |
| cos |
|
1 |
1 |
17 |
1 |
| cosh |
|
1 |
1 |
14 |
1 |
| cosh |
|
1 |
1 |
15 |
1 |
| cosh |
|
1 |
1 |
17 |
1 |
| exp |
|
1 |
1 |
14 |
1 |
| exp |
|
1 |
1 |
15 |
1 |
| exp |
|
1 |
1 |
17 |
1 |
| fabs |
|
1 |
1 |
14 |
1 |
| fabs |
|
1 |
1 |
15 |
1 |
| fabs |
|
1 |
1 |
17 |
1 |
| floor |
|
1 |
1 |
14 |
1 |
| floor |
|
1 |
1 |
15 |
1 |
| floor |
|
1 |
1 |
17 |
1 |
| fmod |
|
1 |
1 |
19 |
2 |
| fmod |
|
1 |
1 |
21 |
2 |
| fmod |
|
2 |
7 |
71 |
2 |
| frexp |
|
1 |
1 |
20 |
2 |
| frexp |
|
1 |
1 |
21 |
2 |
| frexp |
|
1 |
1 |
23 |
2 |
| ldexp |
|
1 |
1 |
19 |
2 |
| ldexp |
|
1 |
1 |
20 |
2 |
| ldexp |
|
1 |
1 |
22 |
2 |
| log |
|
1 |
1 |
14 |
1 |
| log |
|
1 |
1 |
15 |
1 |
| log |
|
1 |
1 |
17 |
1 |
| log10 |
|
1 |
1 |
14 |
1 |
| log10 |
|
1 |
1 |
15 |
1 |
| log10 |
|
1 |
1 |
17 |
1 |
| modf |
|
1 |
1 |
20 |
2 |
| modf |
|
1 |
1 |
22 |
2 |
| pow |
|
1 |
1 |
19 |
2 |
| pow |
|
1 |
1 |
21 |
2 |
| pow |
|
2 |
7 |
71 |
2 |
| sin |
|
1 |
1 |
14 |
1 |
| sin |
|
1 |
1 |
15 |
1 |
| sin |
|
1 |
1 |
17 |
1 |
| sinh |
|
1 |
1 |
14 |
1 |
| sinh |
|
1 |
1 |
15 |
1 |
| sinh |
|
1 |
1 |
17 |
1 |
| sqrt |
|
1 |
1 |
14 |
1 |
| sqrt |
|
1 |
1 |
15 |
1 |
| sqrt |
|
1 |
1 |
17 |
1 |
| tan |
|
1 |
1 |
14 |
1 |
| tan |
|
1 |
1 |
15 |
1 |
| tan |
|
1 |
1 |
17 |
1 |
| tanh |
|
1 |
1 |
14 |
1 |
| tanh |
|
1 |
1 |
15 |
1 |
| tanh |
|
1 |
1 |
17 |
1 |
| acosh |
|
1 |
1 |
14 |
1 |
| acosh |
|
1 |
1 |
15 |
1 |
| acosh |
|
1 |
1 |
17 |
1 |
| asinh |
|
1 |
1 |
14 |
1 |
| asinh |
|
1 |
1 |
15 |
1 |
| asinh |
|
1 |
1 |
17 |
1 |
| atanh |
|
1 |
1 |
14 |
1 |
| atanh |
|
1 |
1 |
15 |
1 |
| atanh |
|
1 |
1 |
17 |
1 |
| cbrt |
|
1 |
1 |
14 |
1 |
| cbrt |
|
1 |
1 |
15 |
1 |
| cbrt |
|
1 |
1 |
17 |
1 |
| copysign |
|
1 |
4 |
19 |
2 |
| copysign |
|
1 |
3 |
21 |
2 |
| copysign |
|
2 |
7 |
71 |
2 |
| erf |
|
1 |
1 |
14 |
1 |
| erf |
|
1 |
1 |
15 |
1 |
| erf |
|
1 |
1 |
17 |
1 |
| erfc |
|
1 |
1 |
14 |
1 |
| erfc |
|
1 |
1 |
15 |
1 |
| erfc |
|
1 |
1 |
17 |
1 |
| exp2 |
|
1 |
1 |
14 |
1 |
| exp2 |
|
1 |
1 |
15 |
1 |
| exp2 |
|
1 |
1 |
17 |
1 |
| expm1 |
|
1 |
1 |
14 |
1 |
| expm1 |
|
1 |
1 |
15 |
1 |
| expm1 |
|
1 |
1 |
17 |
1 |
| fdim |
|
1 |
1 |
19 |
2 |
| fdim |
|
1 |
1 |
21 |
2 |
| fdim |
|
2 |
7 |
71 |
2 |
| fma |
|
1 |
1 |
24 |
3 |
| fma |
|
1 |
1 |
27 |
3 |
| fma |
|
3 |
8 |
92 |
3 |
| fmax |
|
1 |
1 |
19 |
2 |
| fmax |
|
1 |
1 |
21 |
2 |
| fmax |
|
2 |
7 |
71 |
2 |
| fmin |
|
1 |
1 |
19 |
2 |
| fmin |
|
1 |
1 |
21 |
2 |
| fmin |
|
2 |
7 |
71 |
2 |
| hypot |
|
1 |
1 |
19 |
2 |
| hypot |
|
1 |
1 |
21 |
2 |
| hypot |
|
2 |
7 |
71 |
2 |
| ilogb |
|
1 |
1 |
14 |
1 |
| ilogb |
|
1 |
1 |
15 |
1 |
| ilogb |
|
1 |
1 |
17 |
1 |
| lgamma |
|
1 |
1 |
14 |
1 |
| lgamma |
|
1 |
1 |
15 |
1 |
| lgamma |
|
1 |
1 |
17 |
1 |
| llrint |
|
1 |
1 |
14 |
1 |
| llrint |
|
1 |
1 |
15 |
1 |
| llrint |
|
1 |
1 |
17 |
1 |
| llround |
|
1 |
1 |
14 |
1 |
| llround |
|
1 |
1 |
15 |
1 |
| llround |
|
1 |
1 |
17 |
1 |
| log1p |
|
1 |
1 |
14 |
1 |
| log1p |
|
1 |
1 |
15 |
1 |
| log1p |
|
1 |
1 |
17 |
1 |
| log2 |
|
1 |
1 |
14 |
1 |
| log2 |
|
1 |
1 |
15 |
1 |
| log2 |
|
1 |
1 |
17 |
1 |
| logb |
|
1 |
1 |
14 |
1 |
| logb |
|
1 |
1 |
15 |
1 |
| logb |
|
1 |
1 |
17 |
1 |
| lrint |
|
1 |
1 |
14 |
1 |
| lrint |
|
1 |
1 |
15 |
1 |
| lrint |
|
1 |
1 |
17 |
1 |
| lround |
|
1 |
1 |
14 |
1 |
| lround |
|
1 |
1 |
15 |
1 |
| lround |
|
1 |
1 |
17 |
1 |
| nearbyint |
|
1 |
1 |
14 |
1 |
| nearbyint |
|
1 |
1 |
15 |
1 |
| nearbyint |
|
1 |
1 |
17 |
1 |
| nextafter |
|
1 |
1 |
19 |
2 |
| nextafter |
|
1 |
1 |
21 |
2 |
| nextafter |
|
2 |
7 |
71 |
2 |
| nexttoward |
|
1 |
1 |
20 |
2 |
| nexttoward |
|
1 |
1 |
21 |
2 |
| nexttoward |
|
1 |
1 |
23 |
2 |
| remainder |
|
1 |
1 |
19 |
2 |
| remainder |
|
1 |
1 |
21 |
2 |
| remainder |
|
2 |
7 |
71 |
2 |
| remquo |
|
1 |
1 |
25 |
3 |
| remquo |
|
1 |
1 |
27 |
3 |
| remquo |
|
2 |
7 |
77 |
3 |
| rint |
|
1 |
1 |
14 |
1 |
| rint |
|
1 |
1 |
15 |
1 |
| rint |
|
1 |
1 |
17 |
1 |
| round |
|
1 |
1 |
14 |
1 |
| round |
|
1 |
1 |
15 |
1 |
| round |
|
1 |
1 |
17 |
1 |
| scalbln |
|
1 |
1 |
19 |
2 |
| scalbln |
|
1 |
1 |
20 |
2 |
| scalbln |
|
1 |
1 |
22 |
2 |
| scalbn |
|
1 |
1 |
19 |
2 |
| scalbn |
|
1 |
1 |
20 |
2 |
| scalbn |
|
1 |
1 |
22 |
2 |
| tgamma |
|
1 |
1 |
14 |
1 |
| tgamma |
|
1 |
1 |
15 |
1 |
| tgamma |
|
1 |
1 |
17 |
1 |
| trunc |
|
1 |
1 |
14 |
1 |
| trunc |
|
1 |
1 |
15 |
1 |
| trunc |
|
1 |
1 |
17 |
1 |
| Source file: ./lib/libcxx/src/experimental/filesystem/directory_iterator.cpp |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| detail::capture_errno |
|
1 |
4 |
24 |
0 |
| detail::capture_error_or_throw |
|
2 |
11 |
67 |
3 |
| detail::set_or_throw |
|
2 |
11 |
64 |
4 |
| detail::posix_readdir |
|
2 |
11 |
63 |
2 |
| __dir_stream::__dir_stream |
|
1 |
6 |
46 |
1 |
| __dir_stream::__dir_stream |
|
4 |
14 |
92 |
3 |
| __dir_stream::~__dir_stream |
|
2 |
2 |
14 |
0 |
| __dir_stream::good |
|
1 |
1 |
12 |
0 |
| __dir_stream::advance |
|
6 |
14 |
75 |
1 |
| __dir_stream::close |
|
2 |
7 |
37 |
0 |
| directory_iterator::directory_iterator |
|
4 |
13 |
78 |
3 |
| directory_iterator::__increment |
|
4 |
13 |
70 |
1 |
| directory_iterator::__deref |
|
1 |
4 |
20 |
0 |
| recursive_directory_iterator::recursive_directory_iterator |
|
5 |
13 |
112 |
3 |
| recursive_directory_iterator::__pop |
|
3 |
10 |
59 |
1 |
| recursive_directory_iterator::options |
|
1 |
3 |
13 |
0 |
| recursive_directory_iterator::depth |
|
1 |
3 |
19 |
0 |
| recursive_directory_iterator::__deref |
|
1 |
3 |
19 |
0 |
| recursive_directory_iterator::__increment |
|
6 |
11 |
59 |
1 |
| recursive_directory_iterator::__advance |
|
5 |
14 |
85 |
1 |
| recursive_directory_iterator::__try_recursion |
|
6 |
21 |
141 |
1 |
| Source file: ./lib/libcxx/src/support/solaris/xlocale.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| isxdigit_l |
|
1 |
3 |
16 |
2 |
| iswxdigit_l |
|
1 |
3 |
16 |
2 |
| snprintf_l |
|
1 |
8 |
55 |
5 |
| asprintf_l |
|
1 |
7 |
48 |
4 |
| sscanf_l |
|
1 |
7 |
49 |
4 |
| mbrtowc_l |
|
1 |
4 |
35 |
5 |
| localeconv_l |
|
1 |
3 |
12 |
1 |
| Source file: ./lib/libcxx/src/experimental/memory_resource.cpp |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _LIBCPP_TYPE_VIS_ONLY__new_delete_memory_resource_imp::do_allocate |
|
1 |
2 |
16 |
2 |
| _LIBCPP_TYPE_VIS_ONLY__new_delete_memory_resource_imp::do_deallocate |
|
1 |
2 |
17 |
3 |
| _LIBCPP_TYPE_VIS_ONLY__new_delete_memory_resource_imp::do_is_equal |
|
1 |
2 |
17 |
1 |
| _LIBCPP_TYPE_VIS_ONLY__null_memory_resource_imp::do_allocate |
|
1 |
4 |
19 |
2 |
| _LIBCPP_TYPE_VIS_ONLY__null_memory_resource_imp::do_deallocate |
|
1 |
1 |
11 |
3 |
| _LIBCPP_TYPE_VIS_ONLY__null_memory_resource_imp::do_is_equal |
|
1 |
2 |
17 |
1 |
| ResourceInitHelper::ResourceInitHelper |
|
1 |
1 |
9 |
0 |
| ResourceInitHelper::~ResourceInitHelper |
|
1 |
1 |
5 |
0 |
| new_delete_resource |
|
1 |
3 |
14 |
0 |
| null_memory_resource |
|
1 |
3 |
14 |
0 |
| __default_memory_resource |
|
8 |
35 |
197 |
2 |
| get_default_resource |
|
1 |
4 |
11 |
0 |
| set_default_resource |
|
1 |
4 |
17 |
1 |
| Source file: ./lib/libcxx/src/experimental/filesystem/operations.cpp |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| filesystem_error::~filesystem_error |
|
1 |
1 |
7 |
0 |
| detail::capture_errno |
|
1 |
5 |
29 |
0 |
| detail::set_or_throw |
|
2 |
11 |
76 |
5 |
| detail::set_or_throw |
|
1 |
5 |
47 |
4 |
| detail::posix_get_perms |
|
1 |
3 |
27 |
1 |
| detail::posix_convert_perms |
|
1 |
3 |
21 |
1 |
| detail::create_file_status |
|
13 |
25 |
248 |
4 |
| detail::posix_stat |
|
2 |
8 |
64 |
3 |
| detail::posix_stat |
|
1 |
4 |
30 |
2 |
| detail::posix_lstat |
|
2 |
8 |
64 |
3 |
| detail::posix_lstat |
|
1 |
4 |
30 |
2 |
| detail::stat_equivalent |
|
2 |
3 |
35 |
2 |
| detail::copy_file_impl |
|
5 |
21 |
170 |
4 |
| __canonical |
|
3 |
12 |
94 |
3 |
| __copy |
|
34 |
75 |
600 |
4 |
| __copy_file |
|
16 |
39 |
305 |
4 |
| __copy_symlink |
|
3 |
7 |
52 |
3 |
| __create_directories |
|
10 |
31 |
203 |
2 |
| __create_directory |
|
5 |
9 |
76 |
2 |
| __create_directory |
|
6 |
17 |
128 |
3 |
| __create_directory_symlink |
|
3 |
7 |
62 |
3 |
| __create_hard_link |
|
3 |
6 |
63 |
3 |
| __create_symlink |
|
3 |
6 |
63 |
3 |
| __current_path |
|
3 |
12 |
113 |
1 |
| __current_path |
|
3 |
6 |
50 |
2 |
| __equivalent |
|
7 |
15 |
161 |
3 |
| __file_size |
|
5 |
14 |
114 |
2 |
| __hard_link_count |
|
3 |
12 |
89 |
2 |
| __fs_is_empty |
|
4 |
13 |
104 |
2 |
| detail::checked_set |
|
3 |
7 |
54 |
2 |
| detail::set_times_checked |
|
4 |
16 |
124 |
3 |
| __last_write_time |
|
3 |
12 |
83 |
2 |
| __last_write_time |
|
10 |
42 |
322 |
3 |
| __permissions |
|
15 |
35 |
303 |
3 |
| __read_symlink |
|
3 |
14 |
110 |
2 |
| __remove |
|
3 |
8 |
57 |
2 |
| remove_all_impl |
|
8 |
18 |
142 |
2 |
| __remove_all |
|
3 |
10 |
72 |
2 |
| __rename |
|
3 |
6 |
63 |
3 |
| __resize_file |
|
3 |
6 |
63 |
3 |
| __space |
|
5 |
20 |
182 |
2 |
| __status |
|
1 |
3 |
25 |
2 |
| __symlink_status |
|
1 |
3 |
25 |
2 |
| __system_complete |
|
2 |
4 |
35 |
2 |
| __temp_directory_path |
|
8 |
18 |
134 |
1 |
| absolute |
|
8 |
23 |
144 |
2 |
| Source file: ./lib/libcxx/src/support/win32/locale_win32.cpp |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| newlocale |
|
1 |
4 |
22 |
3 |
| uselocale |
|
2 |
9 |
47 |
1 |
| localeconv_l |
|
1 |
5 |
23 |
1 |
| mbrlen_l |
|
1 |
6 |
42 |
4 |
| mbsrtowcs_l |
|
1 |
6 |
49 |
5 |
| wcrtomb_l |
|
1 |
6 |
41 |
4 |
| mbrtowc_l |
|
1 |
6 |
49 |
5 |
| mbsnrtowcs_l |
|
1 |
6 |
54 |
6 |
| wcsnrtombs_l |
|
1 |
6 |
54 |
6 |
| btowc_l |
|
1 |
5 |
27 |
2 |
| wctob_l |
|
1 |
5 |
27 |
2 |
| snprintf_l |
|
1 |
9 |
64 |
5 |
| asprintf_l |
|
1 |
8 |
50 |
4 |
| vasprintf_l |
|
1 |
5 |
40 |
4 |
| Source file: ./lib/libcxx/src/optional.cpp |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bad_optional_access::~bad_optional_access |
|
1 |
1 |
8 |
0 |
| Source file: ./lib/libcxx/src/condition_variable.cpp |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| condition_variable::~condition_variable |
|
1 |
4 |
13 |
0 |
| condition_variable::notify_one |
|
1 |
4 |
14 |
0 |
| condition_variable::notify_all |
|
1 |
4 |
14 |
0 |
| condition_variable::wait |
|
3 |
9 |
60 |
1 |
| condition_variable::__do_timed_wait |
|
6 |
28 |
220 |
2 |
| notify_all_at_thread_exit |
|
1 |
4 |
30 |
2 |
| Source file: ./lib/libcxx/src/support/win32/support.cpp |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| asprintf |
|
1 |
9 |
48 |
3 |
| vasprintf |
|
4 |
17 |
117 |
3 |
| mbsnrtowcs |
|
12 |
34 |
196 |
5 |
| wcsnrtombs |
|
11 |
45 |
235 |
5 |
| Source file: ./lib/libcxx/src/typeinfo.cpp |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| std::bad_cast::bad_cast |
|
1 |
3 |
10 |
0 |
| std::bad_typeid::bad_typeid |
|
1 |
3 |
10 |
0 |
| std::bad_cast::~bad_cast |
|
1 |
3 |
10 |
0 |
| std::bad_cast::what |
|
1 |
4 |
14 |
0 |
| std::bad_typeid::~bad_typeid |
|
1 |
3 |
10 |
0 |
| std::bad_typeid::what |
|
1 |
4 |
14 |
0 |
| __cxxabiv1::__cxa_bad_typeid |
|
1 |
4 |
14 |
0 |
| __cxxabiv1::__cxa_bad_cast |
|
1 |
4 |
14 |
0 |
| Source file: ./lib/libcxx/src/valarray.cpp |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| gslice::__init |
|
8 |
34 |
204 |
1 |
| Source file: ./lib/libcxx/src/random.cpp |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| random_device::random_device |
|
2 |
5 |
32 |
1 |
| random_device::~random_device |
|
1 |
3 |
7 |
0 |
| random_device::operator ( ) |
|
1 |
4 |
14 |
0 |
| random_device::random_device |
|
2 |
6 |
46 |
1 |
| random_device::~random_device |
|
1 |
4 |
12 |
0 |
| random_device::operator ( ) |
|
5 |
21 |
114 |
0 |
| random_device::random_device |
|
3 |
8 |
58 |
1 |
| random_device::~random_device |
|
1 |
3 |
7 |
0 |
| random_device::operator ( ) |
|
3 |
12 |
65 |
0 |
| random_device::random_device |
|
2 |
5 |
32 |
1 |
| random_device::~random_device |
|
1 |
3 |
7 |
0 |
| random_device::operator ( ) |
|
2 |
8 |
35 |
0 |
| random_device::entropy |
|
1 |
4 |
12 |
0 |
| Source file: ./lib/libcxx/src/bind.cpp |
| Source file: ./lib/libcxx/src/new.cpp |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| operator new |
|
4 |
17 |
78 |
1 |
| operator new |
|
2 |
12 |
42 |
2 |
| operator new [ ] |
|
1 |
5 |
24 |
1 |
| operator new [ ] |
|
2 |
12 |
46 |
2 |
| operator delete |
|
2 |
5 |
20 |
1 |
| operator delete |
|
1 |
4 |
23 |
2 |
| operator delete |
|
1 |
4 |
19 |
2 |
| operator delete [ ] |
|
1 |
4 |
19 |
1 |
| operator delete [ ] |
|
1 |
4 |
27 |
2 |
| operator delete [ ] |
|
1 |
4 |
23 |
2 |
| std::set_new_handler |
|
1 |
4 |
17 |
1 |
| std::get_new_handler |
|
1 |
4 |
15 |
0 |
| std::bad_alloc::bad_alloc |
|
1 |
3 |
8 |
0 |
| std::bad_alloc::~bad_alloc |
|
1 |
3 |
8 |
0 |
| std::bad_alloc::what |
|
1 |
4 |
12 |
0 |
| std::bad_array_new_length::bad_array_new_length |
|
1 |
3 |
8 |
0 |
| std::bad_array_new_length::~bad_array_new_length |
|
1 |
3 |
8 |
0 |
| std::bad_array_new_length::what |
|
1 |
4 |
12 |
0 |
| std::bad_array_length::what |
|
1 |
4 |
12 |
0 |
| std::bad_array_length::bad_array_length |
|
1 |
3 |
8 |
0 |
| std::bad_array_length::~bad_array_length |
|
1 |
3 |
8 |
0 |
| std::__throw_bad_alloc |
|
1 |
4 |
10 |
0 |
| Source file: ./lib/libcxx/src/utility.cpp |
| Source file: ./lib/libcxx/src/memory.cpp |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| increment |
|
1 |
4 |
20 |
1 |
| decrement |
|
1 |
4 |
21 |
1 |
| bad_weak_ptr::~bad_weak_ptr |
|
1 |
1 |
8 |
0 |
| bad_weak_ptr::what |
|
1 |
4 |
12 |
0 |
| __shared_count::~__shared_count |
|
1 |
3 |
7 |
0 |
| __shared_count::__add_shared |
|
1 |
4 |
13 |
0 |
| __shared_count::__release_shared |
|
2 |
9 |
30 |
0 |
| __shared_weak_count::~__shared_weak_count |
|
1 |
3 |
7 |
0 |
| __shared_weak_count::__add_shared |
|
1 |
4 |
14 |
0 |
| __shared_weak_count::__add_weak |
|
1 |
4 |
13 |
0 |
| __shared_weak_count::__release_shared |
|
2 |
5 |
20 |
0 |
| __shared_weak_count::__release_weak |
|
2 |
5 |
22 |
0 |
| __shared_weak_count::lock |
|
3 |
12 |
47 |
0 |
| __shared_weak_count::__get_deleter |
|
1 |
4 |
15 |
1 |
| __lx |
|
1 |
3 |
5 |
1 |
| __sp_mut::lock |
|
3 |
14 |
61 |
0 |
| __sp_mut::unlock |
|
1 |
4 |
21 |
0 |
| __get_sp_mut |
|
1 |
11 |
135 |
1 |
| declare_reachable |
|
1 |
3 |
7 |
1 |
| declare_no_pointers |
|
1 |
3 |
9 |
2 |
| undeclare_no_pointers |
|
1 |
3 |
9 |
2 |
| get_pointer_safety |
|
1 |
4 |
11 |
0 |
| __undeclare_reachable |
|
1 |
4 |
11 |
1 |
| align |
|
3 |
17 |
112 |
4 |
| Source file: ./lib/libcxx/src/future.cpp |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __future_error_category::name |
|
1 |
4 |
12 |
0 |
| __future_error_category::message |
|
6 |
19 |
81 |
1 |
| future_category |
|
1 |
5 |
13 |
0 |
| future_error::future_error |
|
1 |
5 |
23 |
1 |
| future_error::~future_error |
|
1 |
3 |
8 |
0 |
| __assoc_sub_state::__on_zero_shared |
|
1 |
4 |
11 |
0 |
| __assoc_sub_state::set_value |
|
2 |
8 |
45 |
0 |
| __assoc_sub_state::set_value_at_thread_exit |
|
2 |
8 |
46 |
0 |
| __assoc_sub_state::set_exception |
|
2 |
9 |
49 |
1 |
| __assoc_sub_state::set_exception_at_thread_exit |
|
2 |
8 |
48 |
1 |
| __assoc_sub_state::__make_ready |
|
1 |
6 |
26 |
0 |
| __assoc_sub_state::copy |
|
2 |
7 |
32 |
0 |
| __assoc_sub_state::wait |
|
1 |
5 |
21 |
0 |
| __assoc_sub_state::__sub_wait |
|
4 |
15 |
71 |
1 |
| __assoc_sub_state::__execute |
|
1 |
4 |
18 |
0 |
| future<void>::future |
|
2 |
8 |
49 |
1 |
| future<void>::~future |
|
2 |
5 |
20 |
0 |
| future<void>::get |
|
1 |
7 |
37 |
0 |
| promise<void>::promise |
|
1 |
4 |
16 |
0 |
| promise<void>::~promise |
|
4 |
11 |
57 |
0 |
| promise<void>::get_future |
|
2 |
6 |
36 |
0 |
| promise<void>::set_value |
|
2 |
6 |
33 |
0 |
| promise<void>::set_exception |
|
2 |
6 |
36 |
1 |
| promise<void>::set_value_at_thread_exit |
|
2 |
6 |
33 |
0 |
| promise<void>::set_exception_at_thread_exit |
|
2 |
6 |
36 |
1 |
| shared_future<void>::~shared_future |
|
2 |
5 |
20 |
0 |
| shared_future<void>::operator = |
|
3 |
9 |
49 |
1 |
| Source file: ./lib/libcxx/src/thread.cpp |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| thread::~thread |
|
2 |
5 |
17 |
0 |
| thread::join |
|
4 |
12 |
57 |
0 |
| thread::detach |
|
4 |
12 |
57 |
0 |
| thread::hardware_concurrency |
|
6 |
17 |
100 |
0 |
| this_thread::sleep_for |
|
5 |
23 |
154 |
1 |
| __thread_local_data |
|
1 |
5 |
15 |
0 |
| _LIBCPP_HIDDEN__hidden_allocator::allocate |
|
1 |
2 |
27 |
1 |
| _LIBCPP_HIDDEN__hidden_allocator::deallocate |
|
1 |
1 |
24 |
2 |
| _LIBCPP_HIDDEN__hidden_allocator::max_size |
|
1 |
1 |
17 |
0 |
| _LIBCPP_HIDDEN__thread_struct_imp::__thread_struct_imp |
|
1 |
1 |
5 |
0 |
| __thread_struct_imp::~__thread_struct_imp |
|
3 |
15 |
101 |
0 |
| __thread_struct_imp::notify_all_at_thread_exit |
|
1 |
4 |
33 |
2 |
| __thread_struct_imp::__make_ready_at_thread_exit |
|
1 |
5 |
23 |
1 |
| __thread_struct::__thread_struct |
|
1 |
4 |
13 |
0 |
| __thread_struct::~__thread_struct |
|
1 |
4 |
10 |
0 |
| __thread_struct::notify_all_at_thread_exit |
|
1 |
4 |
23 |
2 |
| __thread_struct::__make_ready_at_thread_exit |
|
1 |
4 |
17 |
1 |
| Source file: ./lib/libcxx/src/exception.cpp |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| std::set_unexpected |
|
1 |
4 |
17 |
1 |
| std::get_unexpected |
|
1 |
4 |
18 |
0 |
| std::unexpected |
|
1 |
5 |
18 |
0 |
| std::set_terminate |
|
1 |
4 |
17 |
1 |
| std::get_terminate |
|
1 |
4 |
18 |
0 |
| std::terminate |
|
2 |
14 |
48 |
0 |
| std::uncaught_exception |
|
1 |
1 |
13 |
0 |
| std::uncaught_exceptions |
|
5 |
8 |
36 |
0 |
| std::exception::~exception |
|
1 |
3 |
8 |
0 |
| std::exception::what |
|
1 |
4 |
12 |
0 |
| std::bad_exception::~bad_exception |
|
1 |
3 |
8 |
0 |
| std::bad_exception::what |
|
1 |
4 |
12 |
0 |
| std::exception_ptr::~exception_ptr |
|
4 |
8 |
44 |
0 |
| std::__ptr_ |
|
4 |
9 |
56 |
1 |
| std::exception_ptr::operator = |
|
5 |
16 |
89 |
1 |
| std::__ptr_ |
|
1 |
3 |
7 |
1 |
| std::nested_exception::~nested_exception |
|
1 |
3 |
8 |
0 |
| std::nested_exception::rethrow_nested |
|
2 |
6 |
23 |
0 |
| std::current_exception |
|
3 |
9 |
36 |
0 |
| std::rethrow_exception |
|
4 |
9 |
48 |
1 |
| Source file: ./lib/libcxx/src/string.cpp |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| throw_helper |
|
1 |
6 |
32 |
1 |
| throw_from_string_out_of_range |
|
1 |
4 |
19 |
1 |
| throw_from_string_invalid_arg |
|
1 |
4 |
19 |
1 |
| as_integer_helper |
|
4 |
16 |
128 |
5 |
| as_integer |
|
3 |
7 |
78 |
4 |
| as_integer |
|
1 |
4 |
38 |
4 |
| as_integer |
|
1 |
4 |
39 |
4 |
| as_integer |
|
1 |
4 |
39 |
4 |
| as_integer |
|
1 |
4 |
40 |
4 |
| as_integer |
|
3 |
7 |
78 |
4 |
| as_integer |
|
1 |
4 |
38 |
4 |
| as_integer |
|
1 |
4 |
39 |
4 |
| as_integer |
|
1 |
4 |
39 |
4 |
| as_integer |
|
1 |
4 |
40 |
4 |
| as_float_helper |
|
4 |
16 |
123 |
4 |
| as_float |
|
1 |
4 |
33 |
3 |
| as_float |
|
1 |
4 |
33 |
3 |
| as_float |
|
1 |
4 |
34 |
3 |
| as_float |
|
1 |
4 |
33 |
3 |
| as_float |
|
1 |
4 |
33 |
3 |
| as_float |
|
1 |
4 |
34 |
3 |
| stoi |
|
1 |
4 |
31 |
3 |
| stoi |
|
1 |
4 |
31 |
3 |
| stol |
|
1 |
4 |
31 |
3 |
| stol |
|
1 |
4 |
31 |
3 |
| stoul |
|
1 |
4 |
32 |
3 |
| stoul |
|
1 |
4 |
32 |
3 |
| stoll |
|
1 |
4 |
32 |
3 |
| stoll |
|
1 |
4 |
32 |
3 |
| stoull |
|
1 |
4 |
33 |
3 |
| stoull |
|
1 |
4 |
33 |
3 |
| stof |
|
1 |
4 |
26 |
2 |
| stof |
|
1 |
4 |
26 |
2 |
| stod |
|
1 |
4 |
26 |
2 |
| stod |
|
1 |
4 |
26 |
2 |
| stold |
|
1 |
4 |
27 |
2 |
| stold |
|
1 |
4 |
27 |
2 |
| as_string |
|
4 |
23 |
122 |
4 |
| initial_string<string,V,b>::operator ( ) |
|
1 |
6 |
25 |
0 |
| initial_string<wstring,V,false>::operator ( ) |
|
1 |
9 |
68 |
0 |
| initial_string<wstring,V,true>::operator ( ) |
|
1 |
6 |
32 |
0 |
| get_swprintf |
|
1 |
5 |
35 |
0 |
| to_string |
|
1 |
4 |
28 |
1 |
| to_string |
|
1 |
4 |
28 |
1 |
| to_string |
|
1 |
4 |
28 |
1 |
| to_string |
|
1 |
4 |
30 |
1 |
| to_string |
|
1 |
4 |
30 |
1 |
| to_string |
|
1 |
4 |
32 |
1 |
| to_string |
|
1 |
4 |
28 |
1 |
| to_string |
|
1 |
4 |
28 |
1 |
| to_string |
|
1 |
4 |
30 |
1 |
| to_wstring |
|
1 |
4 |
31 |
1 |
| to_wstring |
|
1 |
4 |
31 |
1 |
| to_wstring |
|
1 |
4 |
31 |
1 |
| to_wstring |
|
1 |
4 |
33 |
1 |
| to_wstring |
|
1 |
4 |
33 |
1 |
| to_wstring |
|
1 |
4 |
35 |
1 |
| to_wstring |
|
1 |
4 |
31 |
1 |
| to_wstring |
|
1 |
4 |
31 |
1 |
| to_wstring |
|
1 |
4 |
33 |
1 |
| Source file: ./lib/libcxx/src/regex.cpp |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| make_error_type_string |
|
16 |
44 |
147 |
1 |
| regex_error::regex_error |
|
1 |
4 |
24 |
1 |
| regex_error::~regex_error |
|
1 |
1 |
10 |
0 |
| use_strcmp::operator ( ) |
|
1 |
2 |
28 |
2 |
| use_strcmp::operator ( ) |
|
1 |
2 |
28 |
2 |
| __get_collation_name |
|
3 |
9 |
70 |
1 |
| __get_classname |
|
6 |
18 |
131 |
2 |
| __match_any_but_newline<char>::__exec |
|
4 |
24 |
101 |
1 |
| __match_any_but_newline<wchar_t>::__exec |
|
6 |
26 |
107 |
1 |
| Source file: ./lib/libcxx/src/chrono.cpp |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| chrono::system_clock::now |
|
3 |
10 |
80 |
0 |
| chrono::system_clock::to_time_t |
|
1 |
4 |
32 |
1 |
| chrono::system_clock::from_time_t |
|
1 |
4 |
21 |
1 |
| chrono::steady_clock::now |
|
2 |
7 |
49 |
0 |
| chrono::steady_simplified |
|
1 |
4 |
18 |
0 |
| chrono::compute_steady_factor |
|
1 |
6 |
29 |
0 |
| chrono::steady_full |
|
1 |
5 |
29 |
0 |
| chrono::init_steady_clock |
|
2 |
8 |
32 |
0 |
| chrono::steady_clock::now |
|
1 |
5 |
27 |
0 |
| Source file: ./lib/libcxx/src/system_error.cpp |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| error_category::error_category |
|
1 |
3 |
8 |
0 |
| error_category::~error_category |
|
1 |
3 |
8 |
0 |
| error_category::default_error_condition |
|
1 |
4 |
20 |
1 |
| error_category::equivalent |
|
1 |
4 |
24 |
2 |
| error_category::equivalent |
|
2 |
4 |
34 |
2 |
| do_strerror_r |
|
1 |
5 |
33 |
1 |
| do_strerror_r |
|
4 |
17 |
108 |
1 |
| __do_message::message |
|
2 |
5 |
26 |
1 |
| __generic_error_category::name |
|
1 |
4 |
12 |
0 |
| __generic_error_category::message |
|
3 |
6 |
30 |
1 |
| generic_category |
|
1 |
5 |
13 |
0 |
| __system_error_category::name |
|
1 |
4 |
12 |
0 |
| __system_error_category::message |
|
3 |
6 |
30 |
1 |
| __system_error_category::default_error_condition |
|
3 |
6 |
37 |
1 |
| system_category |
|
1 |
5 |
13 |
0 |
| error_condition::message |
|
1 |
4 |
16 |
0 |
| error_code::message |
|
1 |
4 |
16 |
0 |
| system_error::__init |
|
3 |
10 |
44 |
2 |
| system_error::system_error |
|
1 |
5 |
29 |
2 |
| system_error::system_error |
|
1 |
5 |
29 |
2 |
| system_error::system_error |
|
1 |
5 |
24 |
1 |
| system_error::system_error |
|
1 |
5 |
44 |
3 |
| system_error::system_error |
|
1 |
5 |
44 |
3 |
| system_error::system_error |
|
1 |
5 |
39 |
2 |
| system_error::~system_error |
|
1 |
3 |
8 |
0 |
| __throw_system_error |
|
1 |
6 |
37 |
2 |
| Source file: ./lib/libcxx/src/ios.cpp |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __iostream_category::name |
|
1 |
4 |
12 |
0 |
| __iostream_category::message |
|
4 |
8 |
42 |
1 |
| iostream_category |
|
1 |
5 |
13 |
0 |
| ios_base::failure::failure |
|
1 |
4 |
25 |
2 |
| ios_base::failure::failure |
|
1 |
4 |
25 |
2 |
| ios_base::failure::~failure |
|
1 |
3 |
12 |
0 |
| ios_base::__call_callbacks |
|
2 |
8 |
40 |
1 |
| ios_base::imbue |
|
1 |
9 |
58 |
1 |
| ios_base::getloc |
|
1 |
5 |
28 |
0 |
| __ios_new_cap |
|
2 |
8 |
54 |
2 |
| ios_base::xalloc |
|
1 |
4 |
11 |
0 |
| ios_base::iword |
|
4 |
22 |
140 |
1 |
| ios_base::pword |
|
4 |
22 |
143 |
1 |
| ios_base::register_callback |
|
4 |
20 |
137 |
2 |
| ios_base::~ios_base |
|
1 |
10 |
53 |
0 |
| ios_base::clear |
|
4 |
9 |
50 |
1 |
| ios_base::init |
|
2 |
20 |
88 |
1 |
| ios_base::copyfmt |
|
14 |
67 |
530 |
1 |
| ios_base::move |
|
1 |
31 |
192 |
1 |
| ios_base::swap |
|
1 |
21 |
217 |
1 |
| ios_base::__set_badbit_and_consider_rethrow |
|
2 |
6 |
19 |
0 |
| ios_base::__set_failbit_and_consider_rethrow |
|
2 |
6 |
19 |
0 |
| ios_base::sync_with_stdio |
|
1 |
7 |
27 |
1 |
| Source file: ./lib/libcxx/src/iostream.cpp |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ios_base::Init::Init |
|
2 |
17 |
249 |
0 |
| ios_base::Init::~Init |
|
1 |
11 |
85 |
0 |
| Source file: ./lib/libcxx/src/strstream.cpp |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| strstreambuf::strstreambuf |
|
1 |
7 |
29 |
1 |
| strstreambuf::strstreambuf |
|
1 |
7 |
46 |
2 |
| strstreambuf::__init |
|
4 |
14 |
85 |
3 |
| strstreambuf::strstreambuf |
|
1 |
8 |
45 |
3 |
| strstreambuf::strstreambuf |
|
1 |
8 |
50 |
2 |
| strstreambuf::strstreambuf |
|
1 |
8 |
69 |
3 |
| strstreambuf::strstreambuf |
|
1 |
8 |
59 |
2 |
| strstreambuf::strstreambuf |
|
1 |
8 |
69 |
3 |
| strstreambuf::strstreambuf |
|
1 |
8 |
59 |
2 |
| strstreambuf::~strstreambuf |
|
5 |
10 |
50 |
0 |
| strstreambuf::swap |
|
1 |
8 |
61 |
1 |
| strstreambuf::freeze |
|
3 |
10 |
30 |
1 |
| strstreambuf::str |
|
2 |
6 |
22 |
0 |
| strstreambuf::pcount |
|
1 |
4 |
23 |
0 |
| strstreambuf::overflow |
|
12 |
42 |
324 |
1 |
| strstreambuf::pbackfail |
|
5 |
22 |
104 |
1 |
| strstreambuf::underflow |
|
3 |
10 |
63 |
0 |
| strstreambuf::seekoff |
|
21 |
55 |
327 |
3 |
| strstreambuf::seekpos |
|
12 |
28 |
215 |
2 |
| istrstream::~istrstream |
|
1 |
3 |
7 |
0 |
| ostrstream::~ostrstream |
|
1 |
3 |
7 |
0 |
| strstream::~strstream |
|
1 |
3 |
7 |
0 |
| Source file: ./lib/libcxx/src/mutex.cpp |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mutex::~mutex |
|
1 |
4 |
13 |
0 |
| mutex::lock |
|
2 |
6 |
27 |
0 |
| mutex::try_lock |
|
1 |
4 |
17 |
0 |
| mutex::unlock |
|
1 |
6 |
29 |
0 |
| recursive_mutex::recursive_mutex |
|
2 |
6 |
27 |
0 |
| recursive_mutex::~recursive_mutex |
|
1 |
6 |
28 |
0 |
| recursive_mutex::lock |
|
2 |
6 |
27 |
0 |
| recursive_mutex::unlock |
|
1 |
6 |
29 |
0 |
| recursive_mutex::try_lock |
|
1 |
4 |
17 |
0 |
| timed_mutex::timed_mutex |
|
1 |
4 |
12 |
0 |
| timed_mutex::~timed_mutex |
|
1 |
4 |
16 |
0 |
| timed_mutex::lock |
|
2 |
7 |
31 |
0 |
| timed_mutex::try_lock |
|
3 |
10 |
42 |
0 |
| timed_mutex::unlock |
|
1 |
6 |
27 |
0 |
| recursive_timed_mutex::recursive_timed_mutex |
|
1 |
5 |
17 |
0 |
| recursive_timed_mutex::~recursive_timed_mutex |
|
1 |
4 |
16 |
0 |
| recursive_timed_mutex::lock |
|
4 |
16 |
80 |
0 |
| recursive_timed_mutex::try_lock |
|
5 |
14 |
78 |
0 |
| recursive_timed_mutex::unlock |
|
2 |
10 |
42 |
0 |
| __call_once |
|
7 |
43 |
178 |
3 |
| Source file: ./lib/libcxx/src/shared_mutex.cpp |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __shared_mutex_base::__shared_mutex_base |
|
1 |
4 |
12 |
0 |
| __shared_mutex_base::lock |
|
3 |
9 |
46 |
0 |
| __shared_mutex_base::try_lock |
|
2 |
10 |
34 |
0 |
| __shared_mutex_base::unlock |
|
1 |
6 |
26 |
0 |
| __shared_mutex_base::lock_shared |
|
3 |
9 |
58 |
0 |
| __shared_mutex_base::try_lock_shared |
|
3 |
13 |
55 |
0 |
| __shared_mutex_base::unlock_shared |
|
4 |
17 |
72 |
0 |
| shared_timed_mutex::shared_timed_mutex |
|
1 |
1 |
11 |
0 |
| shared_timed_mutex::lock |
|
1 |
1 |
14 |
0 |
| shared_timed_mutex::try_lock |
|
1 |
1 |
14 |
0 |
| shared_timed_mutex::unlock |
|
1 |
1 |
14 |
0 |
| shared_timed_mutex::lock_shared |
|
1 |
1 |
14 |
0 |
| shared_timed_mutex::try_lock_shared |
|
1 |
1 |
14 |
0 |
| shared_timed_mutex::unlock_shared |
|
1 |
1 |
14 |
0 |
| Source file: ./lib/libcxx/src/any.cpp |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| bad_any_cast::what |
|
1 |
3 |
12 |
0 |
| Source file: ./lib/libcxx/src/stdexcept.cpp |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| std::logic_error::logic_error |
|
1 |
3 |
20 |
1 |
| std::logic_error::logic_error |
|
1 |
3 |
16 |
1 |
| std::__imp_ |
|
1 |
3 |
7 |
1 |
| std::logic_error::operator = |
|
1 |
5 |
23 |
1 |
| std::logic_error::~logic_error |
|
1 |
3 |
8 |
0 |
| std::logic_error::what |
|
1 |
4 |
16 |
0 |
| std::runtime_error::runtime_error |
|
1 |
3 |
20 |
1 |
| std::runtime_error::runtime_error |
|
1 |
3 |
16 |
1 |
| std::__imp_ |
|
1 |
3 |
7 |
1 |
| std::runtime_error::operator = |
|
1 |
5 |
23 |
1 |
| std::runtime_error::~runtime_error |
|
1 |
3 |
8 |
0 |
| std::runtime_error::what |
|
1 |
4 |
16 |
0 |
| std::domain_error::~domain_error |
|
1 |
1 |
8 |
0 |
| std::invalid_argument::~invalid_argument |
|
1 |
1 |
8 |
0 |
| std::length_error::~length_error |
|
1 |
1 |
8 |
0 |
| std::out_of_range::~out_of_range |
|
1 |
1 |
8 |
0 |
| std::range_error::~range_error |
|
1 |
1 |
8 |
0 |
| std::overflow_error::~overflow_error |
|
1 |
1 |
8 |
0 |
| std::underflow_error::~underflow_error |
|
1 |
1 |
8 |
0 |
| Source file: ./lib/libcxx/src/algorithm.cpp |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __rs_default::__rs_default |
|
1 |
5 |
17 |
0 |
| __rs_default::__rs_default |
|
1 |
4 |
13 |
1 |
| __rs_default::~__rs_default |
|
2 |
6 |
23 |
0 |
| __rs_default::operator ( ) |
|
1 |
5 |
18 |
0 |
| __rs_get |
|
1 |
4 |
10 |
0 |
| Source file: ./lib/libcxx/src/hash.cpp |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __check_for_overflow |
|
2 |
6 |
24 |
1 |
| __check_for_overflow |
|
2 |
6 |
24 |
1 |
| __next_prime |
|
104 |
326 |
1626 |
1 |
| Source file: ./lib/libcxx/benchmarks/unordered_set_operations.bench.cpp |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| getInputs |
|
2 |
7 |
41 |
1 |
| BM_SetInsert |
|
3 |
10 |
84 |
3 |
| BM_SetFind |
|
3 |
9 |
88 |
3 |
| Source file: ./lib/libmenu/m_trace.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _nc_retrace_item |
|
1 |
5 |
22 |
1 |
| _nc_retrace_item_ptr |
|
1 |
5 |
22 |
1 |
| _nc_retrace_item_opts |
|
1 |
5 |
21 |
1 |
| _nc_retrace_menu |
|
1 |
5 |
22 |
1 |
| _nc_retrace_menu_hook |
|
1 |
5 |
21 |
1 |
| _nc_retrace_menu_opts |
|
1 |
5 |
21 |
1 |
| Source file: ./lib/libmenu/m_item_val.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| set_item_value |
|
9 |
27 |
130 |
2 |
| item_value |
|
2 |
5 |
36 |
1 |
| Source file: ./lib/libmenu/m_pattern.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| menu_pattern |
|
3 |
6 |
47 |
1 |
| set_menu_pattern |
|
10 |
36 |
199 |
2 |
| Source file: ./lib/libcxx/src/debug.cpp |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __get_db |
|
1 |
5 |
13 |
0 |
| __get_const_db |
|
1 |
4 |
10 |
0 |
| mut |
|
1 |
5 |
12 |
0 |
| __i_node::~__i_node |
|
2 |
8 |
24 |
0 |
| __c_node::~__c_node |
|
2 |
9 |
29 |
0 |
| __libcpp_db::__libcpp_db |
|
1 |
9 |
37 |
0 |
| __libcpp_db::~__libcpp_db |
|
7 |
27 |
111 |
0 |
| __libcpp_db::__find_c_from_i |
|
2 |
7 |
52 |
1 |
| __libcpp_db::__insert_ic |
|
5 |
19 |
119 |
2 |
| __libcpp_db::__insert_c |
|
6 |
38 |
279 |
1 |
| __libcpp_db::__erase_i |
|
7 |
29 |
154 |
1 |
| __libcpp_db::__invalidate_all |
|
6 |
22 |
119 |
1 |
| __libcpp_db::__find_c_and_lock |
|
5 |
26 |
128 |
1 |
| __libcpp_db::__find_c |
|
2 |
12 |
81 |
1 |
| __libcpp_db::unlock |
|
1 |
4 |
16 |
0 |
| __libcpp_db::__erase_c |
|
7 |
33 |
186 |
1 |
| __libcpp_db::__iterator_copy |
|
9 |
24 |
144 |
2 |
| __libcpp_db::__dereferenceable |
|
3 |
6 |
49 |
1 |
| __libcpp_db::__decrementable |
|
3 |
6 |
49 |
1 |
| __libcpp_db::__addable |
|
3 |
6 |
54 |
2 |
| __libcpp_db::__subscriptable |
|
3 |
6 |
54 |
2 |
| __libcpp_db::__less_than_comparable |
|
4 |
9 |
80 |
2 |
| __libcpp_db::swap |
|
5 |
27 |
250 |
2 |
| __libcpp_db::__insert_i |
|
1 |
5 |
23 |
1 |
| __c_node::__add |
|
5 |
21 |
132 |
1 |
| __libcpp_db::__insert_iterator |
|
6 |
36 |
270 |
1 |
| __libcpp_db::__find_iterator |
|
4 |
17 |
93 |
1 |
| __c_node::__remove |
|
2 |
7 |
64 |
1 |
| Source file: ./lib/libmenu/m_spacing.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| set_menu_spacing |
|
11 |
18 |
152 |
4 |
| menu_spacing |
|
4 |
14 |
93 |
4 |
| Source file: ./lib/libmenu/m_items.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| set_menu_items |
|
8 |
17 |
101 |
2 |
| menu_items |
|
2 |
5 |
35 |
1 |
| item_count |
|
2 |
5 |
32 |
1 |
| Source file: ./lib/libmenu/m_driver.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| Is_Sub_String |
|
10 |
25 |
102 |
3 |
| _nc_Match_Next_Character_In_Item_Name |
|
20 |
55 |
297 |
3 |
| menu_driver |
|
80 |
270 |
1367 |
2 |
| Source file: ./lib/libmenu/m_pad.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| set_menu_pad |
|
3 |
12 |
78 |
2 |
| menu_pad |
|
1 |
5 |
30 |
1 |
| Source file: ./lib/libmenu/m_item_opt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| set_item_opts |
|
8 |
25 |
128 |
2 |
| item_opts_off |
|
2 |
13 |
71 |
2 |
| item_opts_on |
|
2 |
14 |
71 |
2 |
| item_opts |
|
1 |
5 |
32 |
1 |
| Source file: ./lib/libmenu/m_opts.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| set_menu_opts |
|
11 |
35 |
205 |
2 |
| menu_opts_off |
|
2 |
14 |
71 |
2 |
| menu_opts_on |
|
2 |
14 |
71 |
2 |
| menu_opts |
|
1 |
5 |
32 |
1 |
| Source file: ./lib/libmenu/m_item_use.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| set_item_userptr |
|
1 |
6 |
39 |
2 |
| item_userptr |
|
1 |
5 |
30 |
1 |
| Source file: ./lib/libmenu/m_global.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ComputeMaximum_NameDesc_Lengths |
|
5 |
20 |
127 |
1 |
| ResetConnectionInfo |
|
4 |
16 |
104 |
2 |
| _nc_Connect_Items |
|
10 |
45 |
223 |
2 |
| _nc_Disconnect_Items |
|
3 |
5 |
24 |
1 |
| _nc_Calculate_Text_Width |
|
7 |
27 |
160 |
1 |
| calculate_actual_width |
|
9 |
32 |
154 |
2 |
| _nc_Calculate_Item_Length_and_Width |
|
3 |
21 |
134 |
1 |
| _nc_Link_Items |
|
33 |
98 |
664 |
1 |
| _nc_Show_Menu |
|
5 |
20 |
148 |
1 |
| _nc_New_TopRow_and_CurrentItem |
|
8 |
44 |
175 |
3 |
| Source file: ./lib/libmenu/m_item_new.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| Is_Printable_String |
|
7 |
31 |
157 |
1 |
| new_item |
|
10 |
36 |
192 |
2 |
| free_item |
|
3 |
10 |
50 |
1 |
| set_menu_mark |
|
13 |
53 |
256 |
2 |
| menu_mark |
|
1 |
5 |
30 |
1 |
| Source file: ./lib/libmenu/m_win.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| set_menu_win |
|
3 |
14 |
67 |
2 |
| menu_win |
|
2 |
6 |
43 |
1 |
| Source file: ./lib/libmenu/mf_common.h |
| Source file: ./lib/libmenu/menu.priv.h |
| Source file: ./lib/libmenu/m_scale.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| scale_menu |
|
6 |
16 |
90 |
3 |
| Source file: ./lib/libmenu/m_hook.c |
| Source file: ./lib/libmenu/m_new.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| new_menu |
|
6 |
25 |
128 |
1 |
| free_menu |
|
6 |
14 |
84 |
1 |
| Source file: ./lib/libmenu/m_post.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _nc_Post_Item |
|
31 |
114 |
802 |
2 |
| _nc_Draw_Menu |
|
12 |
45 |
317 |
1 |
| post_menu |
|
13 |
45 |
285 |
1 |
| unpost_menu |
|
4 |
24 |
152 |
1 |
| Source file: ./lib/libmenu/m_item_cur.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| set_current_item |
|
7 |
23 |
120 |
2 |
| current_item |
|
3 |
5 |
41 |
1 |
| item_index |
|
3 |
5 |
37 |
1 |
| Source file: ./lib/libmenu/m_sub.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| set_menu_sub |
|
3 |
14 |
67 |
2 |
| menu_sub |
|
1 |
6 |
38 |
1 |
| Source file: ./lib/libmenu/m_req_name.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| menu_request_name |
|
3 |
11 |
60 |
1 |
| menu_request_by_name |
|
6 |
21 |
143 |
1 |
| Source file: ./lib/libmenu/m_item_nam.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| item_name |
|
2 |
5 |
39 |
1 |
| item_description |
|
2 |
5 |
39 |
1 |
| Source file: ./lib/libmenu/eti.h |
| Source file: ./lib/libmenu/m_item_top.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| set_top_row |
|
9 |
26 |
171 |
2 |
| top_row |
|
5 |
11 |
71 |
1 |
| Source file: ./lib/libmenu/m_item_vis.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| item_visible |
|
5 |
13 |
83 |
1 |
| Source file: ./lib/libmenu/m_userptr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| set_menu_userptr |
|
1 |
6 |
39 |
2 |
| menu_userptr |
|
1 |
5 |
30 |
1 |
| Source file: ./lib/libmenu/m_format.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| set_menu_format |
|
13 |
43 |
275 |
3 |
| menu_format |
|
3 |
7 |
44 |
3 |
| Source file: ./lib/libmenu/m_attribs.c |
| Source file: ./lib/libmenu/m_cursor.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _nc_menu_cursor_pos |
|
6 |
16 |
122 |
4 |
| pos_menu_cursor |
|
8 |
23 |
164 |
1 |
| Source file: ./bin/mt/mt.h |
| Source file: ./bin/mt/pathnames.h |
| Source file: ./lib/libmenu/menu.h |
| Source file: ./bin/mt/mt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| _rmtopendev |
|
3 |
6 |
42 |
4 |
| _rmtmtioctop |
|
3 |
6 |
38 |
2 |
| _rmtstatus |
|
4 |
9 |
46 |
1 |
| _rmtclose |
|
3 |
5 |
14 |
1 |
| main |
|
30 |
90 |
539 |
2 |
| status |
|
4 |
19 |
144 |
1 |
| printreg |
|
11 |
27 |
157 |
3 |
| usage |
|
2 |
9 |
40 |
1 |
| Source file: ./bin/mt/mtrmt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rmthost |
|
3 |
10 |
55 |
1 |
| sigrmtconnaborted |
|
1 |
5 |
17 |
1 |
| rmtconnaborted |
|
1 |
4 |
13 |
1 |
| rmtgetconn |
|
13 |
43 |
305 |
1 |
| okname |
|
6 |
13 |
82 |
1 |
| rmtopen |
|
1 |
7 |
50 |
2 |
| rmtclose |
|
2 |
7 |
25 |
1 |
| rmtstatus |
|
3 |
11 |
70 |
1 |
| rmtioctl |
|
2 |
8 |
57 |
2 |
| rmtcall |
|
2 |
6 |
43 |
2 |
| rmtreply |
|
7 |
24 |
147 |
1 |
| rmtgetb |
|
2 |
7 |
32 |
1 |
| rmtgets |
|
3 |
17 |
77 |
2 |
| Source file: ./bin/ps/ps.h |
| Source file: ./bin/rm/rm.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
16 |
51 |
227 |
2 |
| rm_tree |
|
36 |
78 |
428 |
1 |
| rm_file |
|
15 |
34 |
196 |
1 |
| rm_overwrite |
|
14 |
48 |
306 |
2 |
| pass |
|
4 |
11 |
73 |
4 |
| check |
|
10 |
22 |
173 |
3 |
| checkdot |
|
12 |
33 |
208 |
1 |
| usage |
|
1 |
5 |
23 |
1 |
| Source file: ./bin/ps/nlist.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| donlist |
|
12 |
62 |
408 |
1 |
| nlisterr |
|
3 |
9 |
79 |
1 |
| Source file: ./bin/ps/extern.h |
| Source file: ./bin/ps/print.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cmdpart |
|
2 |
5 |
34 |
1 |
| printheader |
|
6 |
20 |
132 |
1 |
| command |
|
27 |
77 |
413 |
2 |
| ucomm |
|
1 |
4 |
33 |
2 |
| curwd |
|
3 |
9 |
86 |
2 |
| logname |
|
4 |
13 |
99 |
2 |
| printstate |
|
23 |
62 |
387 |
2 |
| pri |
|
1 |
6 |
42 |
2 |
| pnice |
|
1 |
6 |
42 |
2 |
| euname |
|
1 |
5 |
38 |
2 |
| runame |
|
1 |
5 |
38 |
2 |
| gname |
|
1 |
5 |
38 |
2 |
| rgname |
|
1 |
5 |
38 |
2 |
| tdev |
|
2 |
15 |
101 |
2 |
| tname |
|
5 |
16 |
122 |
2 |
| longtname |
|
3 |
12 |
85 |
2 |
| started |
|
5 |
24 |
196 |
2 |
| lstarted |
|
2 |
15 |
101 |
2 |
| elapsed |
|
6 |
36 |
242 |
2 |
| wchan |
|
2 |
9 |
69 |
2 |
| vsize |
|
1 |
7 |
51 |
2 |
| rssize |
|
2 |
7 |
53 |
2 |
| p_rssize |
|
2 |
7 |
53 |
2 |
| cputime |
|
4 |
25 |
153 |
2 |
| getpcpu |
|
2 |
6 |
37 |
1 |
| pcpu |
|
1 |
6 |
41 |
2 |
| getpmem |
|
3 |
10 |
63 |
1 |
| pmem |
|
1 |
6 |
41 |
2 |
| pagein |
|
2 |
7 |
46 |
2 |
| maxrss |
|
1 |
6 |
42 |
2 |
| tsize |
|
1 |
6 |
43 |
2 |
| dsize |
|
1 |
6 |
43 |
2 |
| ssize |
|
1 |
6 |
43 |
2 |
| printval |
|
10 |
34 |
255 |
2 |
| pvar |
|
3 |
9 |
69 |
2 |
| emulname |
|
1 |
6 |
43 |
2 |
| Source file: ./lib/libexpat/lib/xmlparse.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| XML_ParserCreate |
|
1 |
4 |
19 |
1 |
| XML_ParserCreateNS |
|
1 |
6 |
33 |
2 |
| generate_hash_secret_salt |
|
1 |
7 |
30 |
1 |
| get_hash_secret_salt |
|
2 |
5 |
28 |
1 |
| startParsing |
|
3 |
9 |
43 |
1 |
| XML_ParserCreate_MM |
|
1 |
6 |
31 |
3 |
| parserCreate |
|
16 |
94 |
597 |
4 |
| parserInit |
|
3 |
69 |
440 |
2 |
| moveToFreeBindingList |
|
2 |
9 |
43 |
2 |
| XML_ParserReset |
|
6 |
36 |
219 |
2 |
| XML_SetEncoding |
|
6 |
16 |
99 |
2 |
| XML_ExternalEntityParserCreate |
|
15 |
129 |
666 |
3 |
| destroyBindings |
|
3 |
11 |
53 |
2 |
| XML_ParserFree |
|
14 |
53 |
346 |
1 |
| XML_UseParserAsHandlerArg |
|
2 |
5 |
19 |
1 |
| XML_UseForeignDTD |
|
5 |
10 |
52 |
2 |
| XML_SetReturnNSTriplet |
|
5 |
8 |
48 |
2 |
| XML_SetUserData |
|
3 |
9 |
46 |
2 |
| XML_SetBase |
|
4 |
14 |
65 |
2 |
| XML_GetBase |
|
2 |
6 |
21 |
1 |
| XML_GetSpecifiedAttributeCount |
|
2 |
6 |
22 |
1 |
| XML_GetIdAttributeIndex |
|
2 |
6 |
22 |
1 |
| XML_GetAttributeInfo |
|
2 |
6 |
21 |
1 |
| XML_SetElementHandler |
|
2 |
9 |
33 |
3 |
| XML_SetStartElementHandler |
|
2 |
5 |
22 |
2 |
| XML_SetEndElementHandler |
|
2 |
5 |
22 |
2 |
| XML_SetCharacterDataHandler |
|
2 |
6 |
22 |
2 |
| XML_SetProcessingInstructionHandler |
|
2 |
6 |
22 |
2 |
| XML_SetCommentHandler |
|
2 |
6 |
22 |
2 |
| XML_SetCdataSectionHandler |
|
2 |
9 |
33 |
3 |
| XML_SetStartCdataSectionHandler |
|
2 |
5 |
22 |
2 |
| XML_SetEndCdataSectionHandler |
|
2 |
5 |
22 |
2 |
| XML_SetDefaultHandler |
|
2 |
8 |
30 |
2 |
| XML_SetDefaultHandlerExpand |
|
2 |
8 |
30 |
2 |
| XML_SetDoctypeDeclHandler |
|
2 |
9 |
33 |
3 |
| XML_SetStartDoctypeDeclHandler |
|
2 |
5 |
22 |
2 |
| XML_SetEndDoctypeDeclHandler |
|
2 |
5 |
22 |
2 |
| XML_SetUnparsedEntityDeclHandler |
|
2 |
6 |
22 |
2 |
| XML_SetNotationDeclHandler |
|
2 |
6 |
22 |
2 |
| XML_SetNamespaceDeclHandler |
|
2 |
9 |
33 |
3 |
| XML_SetStartNamespaceDeclHandler |
|
2 |
5 |
22 |
2 |
| XML_SetEndNamespaceDeclHandler |
|
2 |
5 |
22 |
2 |
| XML_SetNotStandaloneHandler |
|
2 |
6 |
22 |
2 |
| XML_SetExternalEntityRefHandler |
|
2 |
6 |
22 |
2 |
| XML_SetExternalEntityRefHandlerArg |
|
3 |
9 |
39 |
2 |
| XML_SetSkippedEntityHandler |
|
2 |
6 |
22 |
2 |
| XML_SetUnknownEncodingHandler |
|
2 |
9 |
34 |
3 |
| XML_SetElementDeclHandler |
|
2 |
6 |
22 |
2 |
| XML_SetAttlistDeclHandler |
|
2 |
6 |
22 |
2 |
| XML_SetEntityDeclHandler |
|
2 |
6 |
22 |
2 |
| XML_SetXmlDeclHandler |
|
2 |
5 |
22 |
2 |
| XML_SetParamEntityParsing |
|
5 |
11 |
55 |
2 |
| XML_SetHashSalt |
|
5 |
12 |
66 |
2 |
| XML_Parse |
|
30 |
118 |
744 |
4 |
| XML_ParseBuffer |
|
12 |
51 |
276 |
3 |
| XML_GetBuffer |
|
22 |
83 |
619 |
2 |
| XML_StopParser |
|
8 |
28 |
114 |
2 |
| XML_ResumeParser |
|
8 |
34 |
185 |
1 |
| XML_GetParsingStatus |
|
2 |
7 |
33 |
2 |
| XML_GetErrorCode |
|
2 |
6 |
21 |
1 |
| XML_GetCurrentByteIndex |
|
3 |
8 |
47 |
1 |
| XML_GetCurrentByteCount |
|
4 |
8 |
43 |
1 |
| XML_GetInputContext |
|
7 |
16 |
107 |
3 |
| XML_GetCurrentLineNumber |
|
4 |
10 |
69 |
1 |
| XML_GetCurrentColumnNumber |
|
4 |
10 |
67 |
1 |
| XML_FreeContentModel |
|
2 |
5 |
24 |
2 |
| XML_MemMalloc |
|
2 |
6 |
27 |
2 |
| XML_MemRealloc |
|
2 |
6 |
33 |
3 |
| XML_MemFree |
|
2 |
5 |
24 |
2 |
| XML_DefaultCurrent |
|
4 |
14 |
68 |
1 |
| XML_ErrorString |
|
43 |
90 |
392 |
1 |
| XML_ExpatVersion |
|
1 |
3 |
16 |
1 |
| XML_ExpatVersionInfo |
|
1 |
8 |
30 |
1 |
| XML_GetFeatureList |
|
9 |
20 |
142 |
1 |
| storeRawNames |
|
7 |
29 |
232 |
1 |
| contentProcessor |
|
3 |
13 |
75 |
4 |
| externalEntityInitProcessor |
|
2 |
11 |
58 |
4 |
| externalEntityInitProcessor2 |
|
8 |
33 |
164 |
4 |
| externalEntityInitProcessor3 |
|
9 |
45 |
206 |
4 |
| externalEntityContentProcessor |
|
3 |
13 |
75 |
4 |
| doContent |
|
116 |
416 |
2594 |
7 |
| freeBindings |
|
3 |
12 |
74 |
2 |
| storeAtts |
|
81 |
304 |
2272 |
5 |
| addBinding |
|
36 |
97 |
769 |
5 |
| cdataSectionProcessor |
|
4 |
21 |
117 |
4 |
| doCdataSection |
|
27 |
103 |
563 |
6 |
| ignoreSectionProcessor |
|
3 |
15 |
88 |
4 |
| doIgnoreSection |
|
11 |
56 |
256 |
6 |
| initializeEncoding |
|
8 |
24 |
158 |
1 |
| processXmlDecl |
|
25 |
85 |
449 |
4 |
| handleUnknownEncoding |
|
9 |
37 |
209 |
2 |
| prologInitProcessor |
|
2 |
11 |
58 |
4 |
| externalParEntInitProcessor |
|
3 |
18 |
97 |
4 |
| entityValueInitProcessor |
|
16 |
53 |
276 |
4 |
| externalParEntProcessor |
|
9 |
33 |
175 |
4 |
| entityValueProcessor |
|
9 |
32 |
147 |
4 |
| prologProcessor |
|
1 |
10 |
76 |
4 |
| doProlog |
|
280 |
903 |
5171 |
8 |
| epilogProcessor |
|
19 |
64 |
311 |
4 |
| processInternalEntity |
|
8 |
50 |
323 |
3 |
| internalEntityProcessor |
|
10 |
50 |
360 |
4 |
| errorProcessor |
|
1 |
7 |
36 |
4 |
| storeAttributeValue |
|
6 |
14 |
96 |
6 |
| appendAttributeValue |
|
46 |
127 |
688 |
6 |
| storeEntityValue |
|
38 |
139 |
727 |
4 |
| normalizeLines |
|
7 |
21 |
98 |
1 |
| reportProcessingInstruction |
|
5 |
27 |
180 |
4 |
| reportComment |
|
4 |
20 |
118 |
4 |
| reportDefault |
|
5 |
26 |
220 |
4 |
| defineAttribute |
|
13 |
42 |
269 |
6 |
| setElementTypePrefix |
|
8 |
27 |
192 |
2 |
| getAttributeId |
|
21 |
59 |
455 |
4 |
| getContext |
|
25 |
65 |
446 |
1 |
| setContext |
|
20 |
58 |
426 |
2 |
| normalizePublicId |
|
9 |
20 |
104 |
1 |
| dtdCreate |
|
3 |
27 |
205 |
1 |
| dtdReset |
|
5 |
34 |
244 |
2 |
| dtdDestroy |
|
6 |
24 |
178 |
3 |
| dtdCopy |
|
26 |
107 |
846 |
4 |
| copyEntityTable |
|
15 |
63 |
353 |
4 |
| keyeq |
|
3 |
7 |
38 |
2 |
| keylen |
|
2 |
6 |
28 |
1 |
| copy_salt_to_sipkey |
|
1 |
5 |
33 |
2 |
| hash |
|
1 |
11 |
74 |
2 |
| lookup |
|
20 |
74 |
621 |
4 |
| hashTableClear |
|
2 |
9 |
57 |
1 |
| hashTableDestroy |
|
2 |
7 |
51 |
1 |
| hashTableInit |
|
1 |
8 |
43 |
2 |
| hashTableIterInit |
|
1 |
5 |
33 |
2 |
| hashTableIterNext |
|
3 |
9 |
42 |
1 |
| poolInit |
|
1 |
9 |
49 |
2 |
| poolClear |
|
3 |
18 |
90 |
1 |
| poolDestroy |
|
3 |
15 |
76 |
1 |
| poolAppend |
|
7 |
14 |
112 |
4 |
| poolCopyString |
|
3 |
10 |
51 |
2 |
| poolCopyStringN |
|
5 |
13 |
77 |
3 |
| poolAppendString |
|
3 |
9 |
42 |
2 |
| poolStoreString |
|
4 |
10 |
74 |
4 |
| poolBytesToAllocateFor |
|
4 |
16 |
90 |
1 |
| poolGrow |
|
15 |
79 |
587 |
1 |
| nextScaffoldPart |
|
10 |
44 |
295 |
1 |
| build_node |
|
5 |
36 |
233 |
5 |
| build_model |
|
2 |
16 |
116 |
1 |
| getElementType |
|
5 |
22 |
136 |
4 |
| copyString |
|
3 |
15 |
80 |
2 |
| Source file: ./bin/ps/keyword.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| showkey |
|
4 |
18 |
104 |
1 |
| parsefmt |
|
11 |
29 |
175 |
1 |
| findvar |
|
8 |
26 |
158 |
1 |
| vcmp |
|
1 |
4 |
40 |
2 |
| Source file: ./bin/ps/utf8.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mbswprint |
|
9 |
35 |
211 |
3 |
| Source file: ./bin/ps/ps.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
85 |
243 |
1397 |
2 |
| scanvars |
|
5 |
18 |
98 |
1 |
| pscomp |
|
4 |
14 |
146 |
2 |
| kludge_oldps_options |
|
13 |
26 |
220 |
1 |
| usage |
|
1 |
9 |
45 |
1 |
| Source file: ./bin/pax/pax.h |
| Source file: ./bin/pax/tar.h |
| Source file: ./bin/pax/gen_subs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ls_list |
|
9 |
44 |
364 |
3 |
| ls_tty |
|
2 |
11 |
93 |
1 |
| safe_print |
|
3 |
13 |
93 |
2 |
| asc_ul |
|
15 |
24 |
227 |
3 |
| ul_asc |
|
9 |
29 |
170 |
4 |
| asc_ull |
|
15 |
24 |
229 |
3 |
| ull_asc |
|
9 |
29 |
174 |
4 |
| fieldcpy |
|
5 |
15 |
87 |
4 |
| Source file: ./bin/pax/buf_subs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| wr_start |
|
7 |
28 |
152 |
1 |
| rd_start |
|
7 |
22 |
122 |
1 |
| cp_start |
|
1 |
5 |
22 |
1 |
| appnd_start |
|
11 |
46 |
243 |
1 |
| rd_sync |
|
11 |
34 |
178 |
1 |
| pback |
|
1 |
5 |
24 |
2 |
| rd_skip |
|
7 |
30 |
178 |
1 |
| wr_fin |
|
2 |
8 |
37 |
1 |
| wr_rdbuf |
|
3 |
15 |
90 |
2 |
| rd_wrbuf |
|
4 |
20 |
115 |
2 |
| wr_skip |
|
3 |
14 |
82 |
1 |
| wr_rdfile |
|
8 |
30 |
224 |
3 |
| rd_wrfile |
|
16 |
45 |
322 |
3 |
| cp_file |
|
15 |
44 |
338 |
3 |
| buf_fill |
|
7 |
24 |
112 |
1 |
| buf_flush |
|
16 |
57 |
302 |
1 |
| Source file: ./bin/pax/tar.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tar_endwr |
|
1 |
4 |
14 |
1 |
| tar_endrd |
|
1 |
4 |
11 |
1 |
| tar_trail |
|
6 |
13 |
83 |
4 |
| ul_oct |
|
9 |
33 |
158 |
4 |
| ull_oct |
|
9 |
33 |
160 |
4 |
| tar_chksm |
|
3 |
15 |
87 |
2 |
| tar_id |
|
5 |
17 |
127 |
2 |
| tar_opt |
|
6 |
21 |
124 |
1 |
| tar_rd |
|
15 |
76 |
596 |
2 |
| tar_wr |
|
31 |
94 |
733 |
1 |
| ustar_strd |
|
3 |
6 |
35 |
1 |
| ustar_id |
|
6 |
14 |
120 |
2 |
| ustar_rd |
|
36 |
120 |
977 |
2 |
| ustar_wr |
|
47 |
136 |
1082 |
1 |
| name_split |
|
8 |
18 |
113 |
2 |
| expandname |
|
3 |
13 |
87 |
5 |
| rd_xheader |
|
21 |
75 |
478 |
3 |
| Source file: ./bin/pax/pat_rep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rep_add |
|
19 |
81 |
457 |
1 |
| pat_add |
|
5 |
25 |
150 |
2 |
| pat_chk |
|
4 |
14 |
74 |
1 |
| pat_sel |
|
16 |
52 |
347 |
1 |
| pat_match |
|
13 |
29 |
188 |
1 |
| fn_match |
|
19 |
45 |
262 |
3 |
| range_match |
|
10 |
21 |
142 |
2 |
| has_dotdot |
|
6 |
11 |
79 |
1 |
| mod_name |
|
25 |
71 |
523 |
1 |
| tty_rename |
|
10 |
39 |
254 |
1 |
| set_dest |
|
4 |
10 |
91 |
3 |
| fix_path |
|
5 |
26 |
152 |
4 |
| rep_name |
|
22 |
67 |
443 |
4 |
| resub |
|
13 |
35 |
256 |
6 |
| Source file: ./bin/pax/tty_subs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tty_init |
|
5 |
17 |
107 |
1 |
| tty_prnt |
|
2 |
12 |
61 |
2 |
| tty_read |
|
3 |
7 |
51 |
2 |
| paxwarn |
|
4 |
16 |
101 |
3 |
| syswarn |
|
5 |
18 |
125 |
4 |
| Source file: ./bin/pax/options.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| options |
|
3 |
18 |
88 |
2 |
| pax_options |
|
75 |
261 |
1162 |
2 |
| tar_options |
|
96 |
275 |
1319 |
2 |
| mkpath |
|
7 |
26 |
153 |
1 |
| cpio_options |
|
57 |
183 |
839 |
2 |
| printflg |
|
2 |
12 |
79 |
1 |
| opt_next |
|
2 |
7 |
31 |
1 |
| bad_opt |
|
3 |
11 |
67 |
1 |
| opt_add |
|
11 |
48 |
282 |
1 |
| str_offt |
|
16 |
52 |
228 |
1 |
| get_line |
|
4 |
16 |
88 |
1 |
| no_op |
|
1 |
4 |
11 |
1 |
| pax_usage |
|
1 |
15 |
29 |
1 |
| tar_usage |
|
1 |
11 |
25 |
1 |
| cpio_usage |
|
1 |
11 |
25 |
1 |
| compress_id |
|
4 |
9 |
56 |
2 |
| gzip_id |
|
4 |
9 |
56 |
2 |
| bzip2_id |
|
5 |
9 |
63 |
2 |
| xz_id |
|
3 |
8 |
48 |
2 |
| Source file: ./bin/pax/sel_subs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sel_chk |
|
7 |
8 |
59 |
1 |
| usr_add |
|
12 |
41 |
291 |
1 |
| usr_match |
|
3 |
11 |
66 |
1 |
| grp_add |
|
12 |
41 |
291 |
1 |
| grp_match |
|
3 |
11 |
66 |
1 |
| trng_add |
|
27 |
93 |
533 |
1 |
| trng_match |
|
20 |
43 |
261 |
1 |
| str_sec |
|
23 |
66 |
407 |
2 |
| Source file: ./bin/pax/ar_io.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ar_open |
|
48 |
124 |
733 |
1 |
| ar_close |
|
28 |
64 |
386 |
1 |
| ar_drain |
|
4 |
10 |
57 |
1 |
| ar_set_wr |
|
4 |
13 |
76 |
1 |
| ar_app_ok |
|
3 |
12 |
54 |
1 |
| ar_read |
|
12 |
35 |
168 |
2 |
| ar_write |
|
30 |
67 |
378 |
2 |
| ar_rdsync |
|
18 |
52 |
266 |
1 |
| ar_fow |
|
7 |
24 |
149 |
2 |
| ar_rev |
|
17 |
67 |
331 |
1 |
| get_phys |
|
13 |
59 |
383 |
1 |
| ar_next |
|
33 |
106 |
592 |
1 |
| ar_start_gzip |
|
11 |
38 |
248 |
3 |
| Source file: ./lib/libcxx/src/locale.cpp |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| __cloc |
|
1 |
4 |
21 |
0 |
| release::operator ( ) |
|
1 |
1 |
18 |
1 |
| make |
|
1 |
6 |
43 |
1 |
| make |
|
1 |
6 |
48 |
2 |
| make |
|
1 |
6 |
53 |
3 |
| countof |
|
1 |
4 |
16 |
1 |
| countof |
|
1 |
4 |
27 |
2 |
| _LIBCPP_HIDDENlocale::__imp::name |
|
1 |
1 |
9 |
0 |
| _LIBCPP_HIDDENlocale::__imp::has_facet |
|
2 |
2 |
34 |
1 |
| _LIBCPP_HIDDENlocale::__imp::install |
|
1 |
1 |
21 |
1 |
| locale::__imp::__imp |
|
1 |
35 |
492 |
1 |
| locale::__imp::__imp |
|
6 |
40 |
386 |
2 |
| locale::__imp::__imp |
|
3 |
9 |
79 |
1 |
| locale::__imp::__imp |
|
12 |
57 |
442 |
3 |
| locale::__imp::install_from |
|
1 |
5 |
53 |
1 |
| locale::__imp::__imp |
|
12 |
65 |
530 |
3 |
| locale::__imp::__imp |
|
3 |
12 |
116 |
3 |
| locale::__imp::~__imp |
|
3 |
6 |
43 |
0 |
| locale::__imp::install |
|
3 |
10 |
108 |
2 |
| locale::__imp::use_facet |
|
2 |
6 |
37 |
1 |
| locale::__imp::make_classic |
|
1 |
7 |
52 |
0 |
| locale::classic |
|
1 |
5 |
22 |
0 |
| locale::__imp::make_global |
|
1 |
6 |
48 |
0 |
| locale::__global |
|
1 |
5 |
21 |
0 |
| __locale_ |
|
1 |
4 |
15 |
1 |
| __locale_ |
|
1 |
4 |
13 |
1 |
| locale::~locale |
|
1 |
4 |
13 |
0 |
| locale::operator = |
|
1 |
7 |
37 |
1 |
| locale::locale |
|
1 |
7 |
43 |
1 |
| locale::locale |
|
1 |
5 |
26 |
1 |
| locale::locale |
|
1 |
7 |
65 |
3 |
| locale::locale |
|
1 |
5 |
41 |
3 |
| locale::locale |
|
1 |
5 |
44 |
3 |
| locale::name |
|
1 |
4 |
15 |
0 |
| locale::__install_ctor |
|
2 |
8 |
50 |
3 |
| locale::global |
|
2 |
9 |
56 |
1 |
| locale::has_facet |
|
1 |
4 |
23 |
1 |
| locale::use_facet |
|
1 |
4 |
23 |
1 |
| locale::operator == |
|
3 |
5 |
46 |
1 |
| locale::facet::~facet |
|
1 |
3 |
9 |
0 |
| locale::facet::__on_zero_shared |
|
1 |
4 |
13 |
0 |
| __fake_bind::__fake_bind |
|
1 |
2 |
32 |
2 |
| __fake_bind::operator ( ) |
|
1 |
4 |
17 |
0 |
| locale::id::__get |
|
1 |
5 |
31 |
0 |
| locale::id::__init |
|
1 |
4 |
19 |
0 |
| collate_byname<char>::collate_byname |
|
2 |
8 |
55 |
2 |
| collate_byname<char>::collate_byname |
|
2 |
8 |
56 |
2 |
| collate_byname<char>::~collate_byname |
|
1 |
4 |
15 |
0 |
| collate_byname<char>::do_compare |
|
3 |
12 |
88 |
4 |
| collate_byname<char>::do_transform |
|
1 |
7 |
87 |
2 |
| collate_byname<wchar_t>::collate_byname |
|
2 |
8 |
55 |
2 |
| collate_byname<wchar_t>::collate_byname |
|
2 |
8 |
56 |
2 |
| collate_byname<wchar_t>::~collate_byname |
|
1 |
4 |
15 |
0 |
| collate_byname<wchar_t>::do_compare |
|
3 |
12 |
88 |
4 |
| collate_byname<wchar_t>::do_transform |
|
1 |
7 |
87 |
2 |
| ctype<wchar_t>::~ctype |
|
1 |
3 |
10 |
0 |
| ctype<wchar_t>::do_is |
|
2 |
4 |
42 |
2 |
| ctype<wchar_t>::do_is |
|
3 |
7 |
70 |
3 |
| ctype<wchar_t>::do_scan_is |
|
4 |
7 |
63 |
3 |
| ctype<wchar_t>::do_scan_not |
|
4 |
7 |
66 |
3 |
| ctype<wchar_t>::do_toupper |
|
7 |
6 |
73 |
1 |
| ctype<wchar_t>::do_toupper |
|
8 |
9 |
110 |
2 |
| ctype<wchar_t>::do_tolower |
|
7 |
6 |
72 |
1 |
| ctype<wchar_t>::do_tolower |
|
8 |
9 |
108 |
2 |
| ctype<wchar_t>::do_widen |
|
1 |
4 |
16 |
1 |
| ctype<wchar_t>::do_widen |
|
2 |
6 |
46 |
3 |
| ctype<wchar_t>::do_narrow |
|
2 |
6 |
35 |
2 |
| ctype<wchar_t>::do_narrow |
|
3 |
9 |
69 |
4 |
| ctype<char>::ctype |
|
2 |
8 |
49 |
3 |
| ctype<char>::~ctype |
|
3 |
5 |
21 |
0 |
| ctype<char>::do_toupper |
|
8 |
9 |
112 |
1 |
| ctype<char>::do_toupper |
|
9 |
11 |
149 |
2 |
| ctype<char>::do_tolower |
|
8 |
9 |
111 |
1 |
| ctype<char>::do_tolower |
|
9 |
9 |
149 |
2 |
| ctype<char>::do_widen |
|
1 |
4 |
16 |
1 |
| ctype<char>::do_widen |
|
2 |
6 |
46 |
3 |
| ctype<char>::do_narrow |
|
2 |
6 |
35 |
2 |
| ctype<char>::do_narrow |
|
3 |
9 |
63 |
4 |
| ctype<char>::classic_table |
|
1 |
78 |
894 |
0 |
| ctype<char>::classic_table |
|
9 |
14 |
70 |
0 |
| ctype<char>::__classic_lower_table |
|
1 |
4 |
16 |
0 |
| ctype<char>::__classic_upper_table |
|
1 |
4 |
16 |
0 |
| ctype<char>::__classic_lower_table |
|
1 |
4 |
16 |
0 |
| ctype<char>::__classic_upper_table |
|
1 |
4 |
16 |
0 |
| ctype<char>::__classic_lower_table |
|
1 |
4 |
17 |
0 |
| ctype<char>::__classic_upper_table |
|
1 |
4 |
17 |
0 |
| ctype_byname<char>::ctype_byname |
|
2 |
8 |
59 |
2 |
| ctype_byname<char>::ctype_byname |
|
2 |
8 |
60 |
2 |
| ctype_byname<char>::~ctype_byname |
|
1 |
4 |
15 |
0 |
| ctype_byname<char>::do_toupper |
|
1 |
4 |
34 |
1 |
| ctype_byname<char>::do_toupper |
|
2 |
6 |
56 |
2 |
| ctype_byname<char>::do_tolower |
|
1 |
4 |
34 |
1 |
| ctype_byname<char>::do_tolower |
|
2 |
6 |
56 |
2 |
| ctype_byname<wchar_t>::ctype_byname |
|
2 |
8 |
55 |
2 |
| ctype_byname<wchar_t>::ctype_byname |
|
2 |
8 |
56 |
2 |
| ctype_byname<wchar_t>::~ctype_byname |
|
1 |
4 |
15 |
0 |
| ctype_byname<wchar_t>::do_is |
|
12 |
17 |
281 |
2 |
| ctype_byname<wchar_t>::do_is |
|
14 |
34 |
232 |
3 |
| ctype_byname<wchar_t>::do_scan_is |
|
24 |
20 |
254 |
3 |
| ctype_byname<wchar_t>::do_scan_not |
|
24 |
21 |
257 |
3 |
| ctype_byname<wchar_t>::do_toupper |
|
1 |
4 |
21 |
1 |
| ctype_byname<wchar_t>::do_toupper |
|
2 |
6 |
43 |
2 |
| ctype_byname<wchar_t>::do_tolower |
|
1 |
4 |
21 |
1 |
| ctype_byname<wchar_t>::do_tolower |
|
2 |
6 |
43 |
2 |
| ctype_byname<wchar_t>::do_widen |
|
1 |
4 |
21 |
1 |
| ctype_byname<wchar_t>::do_widen |
|
2 |
6 |
51 |
3 |
| ctype_byname<wchar_t>::do_narrow |
|
2 |
5 |
47 |
2 |
| ctype_byname<wchar_t>::do_narrow |
|
3 |
9 |
79 |
4 |
| codecvt<char,char,mbstate_t>::~codecvt |
|
1 |
3 |
14 |
0 |
| codecvt<char,char,mbstate_t>::do_out |
|
1 |
8 |
55 |
7 |
| codecvt<char,char,mbstate_t>::do_in |
|
1 |
8 |
55 |
7 |
| codecvt<char,char,mbstate_t>::do_unshift |
|
1 |
6 |
36 |
4 |
| codecvt<char,char,mbstate_t>::do_encoding |
|
1 |
4 |
19 |
0 |
| codecvt<char,char,mbstate_t>::do_always_noconv |
|
1 |
4 |
19 |
0 |
| codecvt<char,char,mbstate_t>::do_length |
|
1 |
5 |
55 |
4 |
| codecvt<char,char,mbstate_t>::do_max_length |
|
1 |
4 |
19 |
0 |
| codecvt<wchar_t,char,mbstate_t>::codecvt |
|
1 |
5 |
28 |
1 |
| codecvt<wchar_t,char,mbstate_t>::codecvt |
|
2 |
8 |
58 |
2 |
| codecvt<wchar_t,char,mbstate_t>::~codecvt |
|
2 |
5 |
25 |
0 |
| codecvt<wchar_t,char,mbstate_t>::do_out |
|
17 |
49 |
343 |
7 |
| codecvt<wchar_t,char,mbstate_t>::do_in |
|
18 |
58 |
351 |
7 |
| codecvt<wchar_t,char,mbstate_t>::do_unshift |
|
5 |
15 |
119 |
4 |
| codecvt<wchar_t,char,mbstate_t>::do_encoding |
|
4 |
8 |
54 |
0 |
| codecvt<wchar_t,char,mbstate_t>::do_always_noconv |
|
1 |
4 |
19 |
0 |
| codecvt<wchar_t,char,mbstate_t>::do_length |
|
6 |
24 |
128 |
4 |
| codecvt<wchar_t,char,mbstate_t>::do_max_length |
|
2 |
4 |
34 |
0 |
| utf16_to_utf8 |
|
18 |
74 |
638 |
8 |
| utf16_to_utf8 |
|
18 |
74 |
650 |
8 |
| utf8_to_utf16 |
|
37 |
118 |
751 |
8 |
| utf8_to_utf16 |
|
37 |
118 |
763 |
8 |
| utf8_to_utf16_length |
|
36 |
98 |
603 |
5 |
| ucs4_to_utf8 |
|
13 |
52 |
427 |
8 |
| utf8_to_ucs4 |
|
36 |
111 |
663 |
8 |
| utf8_to_ucs4_length |
|
35 |
95 |
593 |
5 |
| ucs2_to_utf8 |
|
11 |
43 |
322 |
8 |
| utf8_to_ucs2 |
|
25 |
78 |
458 |
8 |
| utf8_to_ucs2_length |
|
24 |
66 |
393 |
5 |
| ucs4_to_utf16be |
|
9 |
42 |
318 |
8 |
| utf16be_to_ucs4 |
|
14 |
42 |
314 |
8 |
| utf16be_to_ucs4_length |
|
13 |
39 |
268 |
5 |
| ucs4_to_utf16le |
|
9 |
42 |
318 |
8 |
| utf16le_to_ucs4 |
|
14 |
42 |
314 |
8 |
| utf16le_to_ucs4_length |
|
13 |
39 |
268 |
5 |
| ucs2_to_utf16be |
|
7 |
25 |
182 |
8 |
| utf16be_to_ucs2 |
|
10 |
21 |
170 |
8 |
| utf16be_to_ucs2_length |
|
9 |
19 |
147 |
5 |
| ucs2_to_utf16le |
|
7 |
25 |
182 |
8 |
| utf16le_to_ucs2 |
|
10 |
21 |
170 |
8 |
| utf16le_to_ucs2_length |
|
9 |
20 |
151 |
5 |
| codecvt<char16_t,char,mbstate_t>::~codecvt |
|
1 |
3 |
14 |
0 |
| codecvt<char16_t,char,mbstate_t>::do_out |
|
1 |
15 |
156 |
7 |
| codecvt<char16_t,char,mbstate_t>::do_in |
|
1 |
15 |
156 |
7 |
| codecvt<char16_t,char,mbstate_t>::do_unshift |
|
1 |
6 |
36 |
4 |
| codecvt<char16_t,char,mbstate_t>::do_encoding |
|
1 |
4 |
19 |
0 |
| codecvt<char16_t,char,mbstate_t>::do_always_noconv |
|
1 |
4 |
19 |
0 |
| codecvt<char16_t,char,mbstate_t>::do_length |
|
1 |
7 |
70 |
4 |
| codecvt<char16_t,char,mbstate_t>::do_max_length |
|
1 |
4 |
19 |
0 |
| codecvt<char32_t,char,mbstate_t>::~codecvt |
|
1 |
3 |
14 |
0 |
| codecvt<char32_t,char,mbstate_t>::do_out |
|
1 |
15 |
156 |
7 |
| codecvt<char32_t,char,mbstate_t>::do_in |
|
1 |
15 |
156 |
7 |
| codecvt<char32_t,char,mbstate_t>::do_unshift |
|
1 |
6 |
36 |
4 |
| codecvt<char32_t,char,mbstate_t>::do_encoding |
|
1 |
4 |
19 |
0 |
| codecvt<char32_t,char,mbstate_t>::do_always_noconv |
|
1 |
4 |
19 |
0 |
| codecvt<char32_t,char,mbstate_t>::do_length |
|
1 |
7 |
70 |
4 |
| codecvt<char32_t,char,mbstate_t>::do_max_length |
|
1 |
4 |
19 |
0 |
| __codecvt_utf8<wchar_t>::do_out |
|
3 |
21 |
215 |
7 |
| __codecvt_utf8<wchar_t>::do_in |
|
2 |
21 |
210 |
7 |
| __codecvt_utf8<wchar_t>::do_unshift |
|
1 |
6 |
32 |
4 |
| __codecvt_utf8<wchar_t>::do_encoding |
|
1 |
4 |
15 |
0 |
| __codecvt_utf8<wchar_t>::do_always_noconv |
|
1 |
4 |
15 |
0 |
| __codecvt_utf8<wchar_t>::do_length |
|
1 |
7 |
70 |
4 |
| __codecvt_utf8<wchar_t>::do_max_length |
|
2 |
6 |
24 |
0 |
| __codecvt_utf8<char16_t>::do_out |
|
1 |
16 |
156 |
7 |
| __codecvt_utf8<char16_t>::do_in |
|
1 |
16 |
156 |
7 |
| __codecvt_utf8<char16_t>::do_unshift |
|
1 |
6 |
32 |
4 |
| __codecvt_utf8<char16_t>::do_encoding |
|
1 |
4 |
15 |
0 |
| __codecvt_utf8<char16_t>::do_always_noconv |
|
1 |
4 |
15 |
0 |
| __codecvt_utf8<char16_t>::do_length |
|
1 |
7 |
70 |
4 |
| __codecvt_utf8<char16_t>::do_max_length |
|
2 |
6 |
24 |
0 |
| __codecvt_utf8<char32_t>::do_out |
|
1 |
16 |
156 |
7 |
| __codecvt_utf8<char32_t>::do_in |
|
1 |
16 |
156 |
7 |
| __codecvt_utf8<char32_t>::do_unshift |
|
1 |
6 |
32 |
4 |
| __codecvt_utf8<char32_t>::do_encoding |
|
1 |
4 |
15 |
0 |
| __codecvt_utf8<char32_t>::do_always_noconv |
|
1 |
4 |
15 |
0 |
| __codecvt_utf8<char32_t>::do_length |
|
1 |
7 |
70 |
4 |
| __codecvt_utf8<char32_t>::do_max_length |
|
2 |
6 |
24 |
0 |
| __codecvt_utf16<wchar_t,false>::do_out |
|
1 |
16 |
158 |
7 |
| __codecvt_utf16<wchar_t,false>::do_in |
|
1 |
16 |
158 |
7 |
| __codecvt_utf16<wchar_t,false>::do_unshift |
|
1 |
6 |
34 |
4 |
| __codecvt_utf16<wchar_t,false>::do_encoding |
|
1 |
4 |
17 |
0 |
| __codecvt_utf16<wchar_t,false>::do_always_noconv |
|
1 |
4 |
17 |
0 |
| __codecvt_utf16<wchar_t,false>::do_length |
|
1 |
7 |
72 |
4 |
| __codecvt_utf16<wchar_t,false>::do_max_length |
|
2 |
6 |
26 |
0 |
| __codecvt_utf16<wchar_t,true>::do_out |
|
1 |
16 |
158 |
7 |
| __codecvt_utf16<wchar_t,true>::do_in |
|
1 |
16 |
158 |
7 |
| __codecvt_utf16<wchar_t,true>::do_unshift |
|
1 |
6 |
34 |
4 |
| __codecvt_utf16<wchar_t,true>::do_encoding |
|
1 |
4 |
17 |
0 |
| __codecvt_utf16<wchar_t,true>::do_always_noconv |
|
1 |
4 |
17 |
0 |
| __codecvt_utf16<wchar_t,true>::do_length |
|
1 |
7 |
72 |
4 |
| __codecvt_utf16<wchar_t,true>::do_max_length |
|
2 |
6 |
26 |
0 |
| __codecvt_utf16<char16_t,false>::do_out |
|
1 |
16 |
158 |
7 |
| __codecvt_utf16<char16_t,false>::do_in |
|
1 |
16 |
158 |
7 |
| __codecvt_utf16<char16_t,false>::do_unshift |
|
1 |
6 |
34 |
4 |
| __codecvt_utf16<char16_t,false>::do_encoding |
|
1 |
4 |
17 |
0 |
| __codecvt_utf16<char16_t,false>::do_always_noconv |
|
1 |
4 |
17 |
0 |
| __codecvt_utf16<char16_t,false>::do_length |
|
1 |
7 |
72 |
4 |
| __codecvt_utf16<char16_t,false>::do_max_length |
|
2 |
6 |
26 |
0 |
| __codecvt_utf16<char16_t,true>::do_out |
|
1 |
16 |
158 |
7 |
| __codecvt_utf16<char16_t,true>::do_in |
|
1 |
16 |
158 |
7 |
| __codecvt_utf16<char16_t,true>::do_unshift |
|
1 |
6 |
34 |
4 |
| __codecvt_utf16<char16_t,true>::do_encoding |
|
1 |
4 |
17 |
0 |
| __codecvt_utf16<char16_t,true>::do_always_noconv |
|
1 |
4 |
17 |
0 |
| __codecvt_utf16<char16_t,true>::do_length |
|
1 |
7 |
72 |
4 |
| __codecvt_utf16<char16_t,true>::do_max_length |
|
2 |
6 |
26 |
0 |
| __codecvt_utf16<char32_t,false>::do_out |
|
1 |
16 |
158 |
7 |
| __codecvt_utf16<char32_t,false>::do_in |
|
1 |
16 |
158 |
7 |
| __codecvt_utf16<char32_t,false>::do_unshift |
|
1 |
6 |
34 |
4 |
| __codecvt_utf16<char32_t,false>::do_encoding |
|
1 |
4 |
17 |
0 |
| __codecvt_utf16<char32_t,false>::do_always_noconv |
|
1 |
4 |
17 |
0 |
| __codecvt_utf16<char32_t,false>::do_length |
|
1 |
7 |
72 |
4 |
| __codecvt_utf16<char32_t,false>::do_max_length |
|
2 |
6 |
26 |
0 |
| __codecvt_utf16<char32_t,true>::do_out |
|
1 |
16 |
158 |
7 |
| __codecvt_utf16<char32_t,true>::do_in |
|
1 |
16 |
158 |
7 |
| __codecvt_utf16<char32_t,true>::do_unshift |
|
1 |
6 |
34 |
4 |
| __codecvt_utf16<char32_t,true>::do_encoding |
|
1 |
4 |
17 |
0 |
| __codecvt_utf16<char32_t,true>::do_always_noconv |
|
1 |
4 |
17 |
0 |
| __codecvt_utf16<char32_t,true>::do_length |
|
1 |
7 |
72 |
4 |
| __codecvt_utf16<char32_t,true>::do_max_length |
|
2 |
6 |
26 |
0 |
| __codecvt_utf8_utf16<wchar_t>::do_out |
|
1 |
16 |
156 |
7 |
| __codecvt_utf8_utf16<wchar_t>::do_in |
|
1 |
16 |
156 |
7 |
| __codecvt_utf8_utf16<wchar_t>::do_unshift |
|
1 |
6 |
32 |
4 |
| __codecvt_utf8_utf16<wchar_t>::do_encoding |
|
1 |
4 |
15 |
0 |
| __codecvt_utf8_utf16<wchar_t>::do_always_noconv |
|
1 |
4 |
15 |
0 |
| __codecvt_utf8_utf16<wchar_t>::do_length |
|
1 |
7 |
70 |
4 |
| __codecvt_utf8_utf16<wchar_t>::do_max_length |
|
2 |
6 |
24 |
0 |
| __codecvt_utf8_utf16<char16_t>::do_out |
|
1 |
16 |
156 |
7 |
| __codecvt_utf8_utf16<char16_t>::do_in |
|
1 |
16 |
156 |
7 |
| __codecvt_utf8_utf16<char16_t>::do_unshift |
|
1 |
6 |
32 |
4 |
| __codecvt_utf8_utf16<char16_t>::do_encoding |
|
1 |
4 |
15 |
0 |
| __codecvt_utf8_utf16<char16_t>::do_always_noconv |
|
1 |
4 |
15 |
0 |
| __codecvt_utf8_utf16<char16_t>::do_length |
|
1 |
7 |
70 |
4 |
| __codecvt_utf8_utf16<char16_t>::do_max_length |
|
2 |
6 |
24 |
0 |
| __codecvt_utf8_utf16<char32_t>::do_out |
|
1 |
16 |
156 |
7 |
| __codecvt_utf8_utf16<char32_t>::do_in |
|
1 |
16 |
156 |
7 |
| __codecvt_utf8_utf16<char32_t>::do_unshift |
|
1 |
6 |
32 |
4 |
| __codecvt_utf8_utf16<char32_t>::do_encoding |
|
1 |
4 |
15 |
0 |
| __codecvt_utf8_utf16<char32_t>::do_always_noconv |
|
1 |
4 |
15 |
0 |
| __codecvt_utf8_utf16<char32_t>::do_length |
|
1 |
7 |
70 |
4 |
| __codecvt_utf8_utf16<char32_t>::do_max_length |
|
2 |
6 |
24 |
0 |
| __narrow_to_utf8<16>::~__narrow_to_utf8 |
|
1 |
3 |
10 |
0 |
| __narrow_to_utf8<32>::~__narrow_to_utf8 |
|
1 |
3 |
10 |
0 |
| __widen_from_utf8<16>::~__widen_from_utf8 |
|
1 |
3 |
10 |
0 |
| __widen_from_utf8<32>::~__widen_from_utf8 |
|
1 |
3 |
10 |
0 |
| numpunct<char>::numpunct |
|
1 |
6 |
29 |
1 |
| numpunct<wchar_t>::numpunct |
|
1 |
6 |
31 |
1 |
| numpunct<char>::~numpunct |
|
1 |
3 |
10 |
0 |
| numpunct<wchar_t>::~numpunct |
|
1 |
3 |
10 |
0 |
| numpunct<char>::do_decimal_point |
|
1 |
1 |
14 |
0 |
| numpunct<wchar_t>::do_decimal_point |
|
1 |
1 |
14 |
0 |
| numpunct<char>::do_thousands_sep |
|
1 |
1 |
14 |
0 |
| numpunct<wchar_t>::do_thousands_sep |
|
1 |
1 |
14 |
0 |
| numpunct<char>::do_grouping |
|
1 |
1 |
14 |
0 |
| numpunct<wchar_t>::do_grouping |
|
1 |
1 |
14 |
0 |
| numpunct<char>::do_truename |
|
1 |
1 |
14 |
0 |
| numpunct<wchar_t>::do_truename |
|
1 |
1 |
15 |
0 |
| numpunct<char>::do_falsename |
|
1 |
1 |
14 |
0 |
| numpunct<wchar_t>::do_falsename |
|
1 |
1 |
15 |
0 |
| numpunct_byname<char>::numpunct_byname |
|
1 |
5 |
30 |
2 |
| numpunct_byname<char>::numpunct_byname |
|
1 |
5 |
34 |
2 |
| numpunct_byname<char>::~numpunct_byname |
|
1 |
3 |
10 |
0 |
| numpunct_byname<char>::__init |
|
5 |
16 |
107 |
1 |
| numpunct_byname<wchar_t>::numpunct_byname |
|
1 |
5 |
30 |
2 |
| numpunct_byname<wchar_t>::numpunct_byname |
|
1 |
5 |
34 |
2 |
| numpunct_byname<wchar_t>::~numpunct_byname |
|
1 |
3 |
10 |
0 |
| numpunct_byname<wchar_t>::__init |
|
5 |
16 |
107 |
1 |
| __num_get_base::__get_base |
|
4 |
11 |
61 |
1 |
| __check_grouping |
|
11 |
28 |
193 |
4 |
| __num_put_base::__format_int |
|
8 |
23 |
135 |
4 |
| __num_put_base::__format_float |
|
12 |
49 |
227 |
3 |
| __num_put_base::__identify_padding |
|
10 |
20 |
117 |
3 |
| init_weeks |
|
1 |
19 |
113 |
0 |
| init_wweeks |
|
1 |
19 |
127 |
0 |
| __time_get_c_storage<char>::__weeks |
|
1 |
5 |
24 |
0 |
| __time_get_c_storage<wchar_t>::__weeks |
|
1 |
5 |
24 |
0 |
| init_months |
|
1 |
29 |
183 |
0 |
| init_wmonths |
|
1 |
29 |
207 |
0 |
| __time_get_c_storage<char>::__months |
|
1 |
5 |
24 |
0 |
| __time_get_c_storage<wchar_t>::__months |
|
1 |
5 |
24 |
0 |
| init_am_pm |
|
1 |
7 |
29 |
0 |
| init_wam_pm |
|
1 |
7 |
31 |
0 |
| __time_get_c_storage<char>::__am_pm |
|
1 |
5 |
24 |
0 |
| __time_get_c_storage<wchar_t>::__am_pm |
|
1 |
5 |
24 |
0 |
| __time_get_c_storage<char>::__x |
|
1 |
5 |
21 |
0 |
| __time_get_c_storage<wchar_t>::__x |
|
1 |
5 |
22 |
0 |
| __time_get_c_storage<char>::__X |
|
1 |
5 |
21 |
0 |
| __time_get_c_storage<wchar_t>::__X |
|
1 |
5 |
22 |
0 |
| __time_get_c_storage<char>::__c |
|
1 |
5 |
21 |
0 |
| __time_get_c_storage<wchar_t>::__c |
|
1 |
5 |
22 |
0 |
| __time_get_c_storage<char>::__r |
|
1 |
5 |
21 |
0 |
| __time_get_c_storage<wchar_t>::__r |
|
1 |
5 |
22 |
0 |
| __time_get::__time_get |
|
2 |
7 |
41 |
1 |
| __time_get::__time_get |
|
2 |
7 |
42 |
1 |
| __time_get::~__time_get |
|
1 |
4 |
12 |
0 |
| __time_get_storage<char>::__analyze |
|
27 |
141 |
803 |
2 |
| __time_get_storage<wchar_t>::__analyze |
|
28 |
147 |
897 |
2 |
| __time_get_storage<char>::init |
|
3 |
31 |
270 |
1 |
| __time_get_storage<wchar_t>::init |
|
9 |
70 |
635 |
1 |
| _LIBCPP_HIDDEN__time_get_temp::__time_get_temp |
|
1 |
2 |
19 |
1 |
| _LIBCPP_HIDDEN__time_get_temp::__time_get_temp |
|
1 |
2 |
19 |
1 |
| __time_get_storage<char>::__time_get_storage |
|
1 |
6 |
34 |
1 |
| __time_get_storage<char>::__time_get_storage |
|
1 |
6 |
34 |
1 |
| __time_get_storage<wchar_t>::__time_get_storage |
|
1 |
6 |
34 |
1 |
| __time_get_storage<wchar_t>::__time_get_storage |
|
1 |
6 |
34 |
1 |
| __time_get_storage<char>::__do_date_order |
|
38 |
84 |
486 |
0 |
| __time_get_storage<wchar_t>::__do_date_order |
|
38 |
84 |
508 |
0 |
| __time_put::__time_put |
|
2 |
7 |
41 |
1 |
| __time_put::__time_put |
|
2 |
7 |
42 |
1 |
| __time_put::~__time_put |
|
2 |
5 |
18 |
0 |
| __time_put::__do_put |
|
2 |
9 |
88 |
5 |
| __time_put::__do_put |
|
2 |
13 |
112 |
5 |
| __init_pat |
|
63 |
292 |
1445 |
7 |
| moneypunct_byname<char,false>::init |
|
7 |
36 |
241 |
1 |
| moneypunct_byname<char,true>::init |
|
12 |
44 |
303 |
1 |
| moneypunct_byname<wchar_t,false>::init |
|
10 |
59 |
454 |
1 |
| moneypunct_byname<wchar_t,true>::init |
|
15 |
67 |
518 |
1 |
| __do_nothing |
|
1 |
1 |
7 |
1 |
| __throw_runtime_error |
|
1 |
5 |
20 |
1 |
| Source file: ./bin/pax/pax.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
23 |
58 |
326 |
2 |
| sig_cleanup |
|
3 |
17 |
83 |
1 |
| setup_sig |
|
3 |
9 |
62 |
2 |
| gen_init |
|
20 |
47 |
399 |
1 |
| Source file: ./bin/pax/ftree.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ftree_start |
|
8 |
21 |
117 |
1 |
| ftree_add |
|
7 |
27 |
176 |
2 |
| ftree_sel |
|
6 |
11 |
61 |
1 |
| ftree_skipped_newer |
|
2 |
5 |
20 |
1 |
| ftree_chk |
|
7 |
16 |
95 |
1 |
| ftree_arg |
|
11 |
35 |
197 |
1 |
| next_file |
|
29 |
96 |
521 |
1 |
| getpathname |
|
12 |
32 |
204 |
2 |
| Source file: ./bin/pax/extern.h |
| Source file: ./bin/pax/getoldopt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| getoldopt |
|
10 |
41 |
214 |
3 |
| Source file: ./bin/pax/cache.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usrtb_start |
|
4 |
14 |
75 |
1 |
| grptb_start |
|
4 |
14 |
75 |
1 |
| uid_name |
|
14 |
38 |
294 |
2 |
| gid_name |
|
14 |
38 |
294 |
2 |
| Source file: ./bin/pax/cpio.h |
| Source file: ./bin/pax/ar_subs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| list |
|
16 |
37 |
262 |
1 |
| cmp_file_times |
|
7 |
16 |
144 |
4 |
| extract |
|
41 |
98 |
697 |
1 |
| wr_archive |
|
37 |
100 |
606 |
2 |
| append |
|
24 |
57 |
340 |
1 |
| archive |
|
5 |
9 |
56 |
1 |
| copy |
|
40 |
124 |
745 |
1 |
| next_head |
|
18 |
68 |
370 |
1 |
| get_arc |
|
19 |
64 |
384 |
1 |
| Source file: ./bin/pax/file_subs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| file_creat |
|
7 |
23 |
166 |
1 |
| file_close |
|
9 |
19 |
140 |
2 |
| lnk_creat |
|
5 |
23 |
140 |
1 |
| cross_lnk |
|
2 |
6 |
44 |
1 |
| chk_same |
|
5 |
14 |
89 |
1 |
| mk_link |
|
14 |
40 |
268 |
4 |
| node_creat |
|
41 |
112 |
713 |
1 |
| unlnk_exist |
|
7 |
23 |
141 |
2 |
| chk_path |
|
11 |
42 |
246 |
3 |
| set_ftime |
|
5 |
16 |
108 |
4 |
| fset_ftime |
|
5 |
16 |
107 |
5 |
| set_ids |
|
6 |
11 |
73 |
3 |
| fset_ids |
|
6 |
11 |
72 |
4 |
| set_pmode |
|
2 |
6 |
41 |
2 |
| fset_pmode |
|
2 |
6 |
40 |
3 |
| set_attr |
|
20 |
38 |
293 |
5 |
| file_write |
|
15 |
63 |
336 |
7 |
| file_flush |
|
4 |
12 |
82 |
3 |
| rdfile_close |
|
3 |
10 |
66 |
2 |
| set_crc |
|
10 |
36 |
262 |
2 |
| Source file: ./bin/mv/mv.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
20 |
65 |
397 |
2 |
| do_move |
|
26 |
59 |
437 |
2 |
| fastcopy |
|
21 |
74 |
517 |
3 |
| mvcopy |
|
4 |
20 |
119 |
2 |
| usage |
|
1 |
7 |
35 |
1 |
| Source file: ./bin/mv/rm.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rmmain |
|
2 |
7 |
33 |
2 |
| rm_tree |
|
16 |
46 |
224 |
1 |
| checkdot |
|
8 |
24 |
147 |
1 |
| Source file: ./bin/pax/cpio.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cpio_strd |
|
1 |
4 |
13 |
1 |
| cpio_trail |
|
3 |
6 |
55 |
4 |
| com_rd |
|
10 |
36 |
170 |
1 |
| cpio_endwr |
|
1 |
10 |
80 |
1 |
| rd_nm |
|
6 |
13 |
109 |
2 |
| rd_ln_nm |
|
5 |
21 |
153 |
1 |
| cpio_id |
|
3 |
7 |
54 |
2 |
| cpio_rd |
|
8 |
40 |
459 |
2 |
| cpio_endrd |
|
1 |
4 |
17 |
1 |
| cpio_stwr |
|
1 |
4 |
13 |
1 |
| cpio_wr |
|
28 |
64 |
579 |
1 |
| vcpio_id |
|
3 |
7 |
54 |
2 |
| crc_id |
|
3 |
7 |
54 |
2 |
| crc_strd |
|
1 |
5 |
17 |
1 |
| vcpio_rd |
|
11 |
51 |
607 |
2 |
| vcpio_endrd |
|
1 |
5 |
32 |
1 |
| crc_stwr |
|
1 |
5 |
17 |
1 |
| vcpio_wr |
|
36 |
78 |
766 |
1 |
| bcpio_id |
|
5 |
13 |
83 |
2 |
| bcpio_rd |
|
10 |
59 |
731 |
2 |
| bcpio_endrd |
|
1 |
5 |
32 |
1 |
| bcpio_wr |
|
28 |
117 |
1209 |
1 |
| Source file: ./bin/domainname/domainname.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
6 |
23 |
137 |
2 |
| usage |
|
1 |
5 |
23 |
1 |
| Source file: ./bin/ed/undo.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| push_undo_stack |
|
3 |
20 |
124 |
3 |
| pop_undo_stack |
|
11 |
42 |
301 |
1 |
| clear_undo_stack |
|
4 |
16 |
94 |
1 |
| Source file: ./bin/ed/ed.h |
| Source file: ./bin/mv/cp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usage |
|
1 |
9 |
35 |
1 |
| cpmain |
|
10 |
39 |
277 |
2 |
| find_last_component |
|
7 |
16 |
86 |
1 |
| copy |
|
39 |
119 |
749 |
3 |
| copy_file |
|
36 |
99 |
698 |
2 |
| copy_link |
|
5 |
19 |
133 |
2 |
| copy_fifo |
|
4 |
12 |
79 |
2 |
| copy_special |
|
4 |
12 |
83 |
2 |
| setfile |
|
12 |
35 |
281 |
2 |
| Source file: ./bin/ed/re.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| get_compiled_pattern |
|
11 |
32 |
199 |
1 |
| extract_pattern |
|
8 |
30 |
162 |
1 |
| parse_char_class |
|
12 |
14 |
128 |
1 |
| Source file: ./bin/ed/buf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| get_sbuf_line |
|
6 |
27 |
158 |
1 |
| put_sbuf_line |
|
8 |
41 |
222 |
1 |
| add_line_node |
|
1 |
8 |
32 |
1 |
| get_line_node_addr |
|
4 |
12 |
62 |
1 |
| get_addressed_line_node |
|
8 |
27 |
152 |
1 |
| open_sbuf |
|
4 |
15 |
85 |
1 |
| close_sbuf |
|
3 |
14 |
54 |
1 |
| quit |
|
2 |
8 |
28 |
1 |
| init_buffers |
|
3 |
10 |
64 |
1 |
| translit_text |
|
2 |
10 |
75 |
4 |
| Source file: ./bin/ed/sub.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| extract_subst_tail |
|
8 |
25 |
138 |
2 |
| extract_subst_template |
|
14 |
33 |
215 |
1 |
| search_and_replace |
|
13 |
48 |
281 |
3 |
| substitute_matching_text |
|
17 |
54 |
442 |
4 |
| apply_subst_template |
|
8 |
28 |
240 |
4 |
| Source file: ./bin/ed/glbl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| build_active_list |
|
10 |
27 |
171 |
1 |
| exec_global |
|
24 |
56 |
378 |
2 |
| set_active_node |
|
3 |
20 |
98 |
1 |
| unset_active_nodes |
|
4 |
12 |
91 |
2 |
| next_active_node |
|
4 |
6 |
37 |
1 |
| clear_active_list |
|
1 |
8 |
33 |
1 |
| Source file: ./bin/ed/io.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| read_file |
|
7 |
20 |
144 |
2 |
| read_stream |
|
19 |
40 |
242 |
2 |
| get_stream_line |
|
12 |
24 |
171 |
1 |
| write_file |
|
8 |
20 |
159 |
4 |
| write_stream |
|
8 |
18 |
121 |
3 |
| put_stream_line |
|
3 |
12 |
55 |
3 |
| get_extended_line |
|
12 |
38 |
266 |
2 |
| get_tty_line |
|
8 |
36 |
170 |
1 |
| put_tty_line |
|
15 |
44 |
291 |
4 |
| Source file: ./bin/dd/misc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| summary |
|
8 |
44 |
412 |
1 |
| summaryx |
|
1 |
6 |
20 |
1 |
| terminate |
|
1 |
5 |
18 |
1 |
| Source file: ./bin/dd/args.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| jcl |
|
26 |
59 |
450 |
1 |
| c_arg |
|
1 |
4 |
42 |
2 |
| f_bs |
|
1 |
4 |
21 |
1 |
| f_cbs |
|
1 |
4 |
15 |
1 |
| f_count |
|
2 |
5 |
29 |
1 |
| f_files |
|
1 |
4 |
15 |
1 |
| f_ibs |
|
2 |
5 |
26 |
1 |
| f_if |
|
1 |
4 |
14 |
1 |
| f_obs |
|
2 |
5 |
26 |
1 |
| f_of |
|
1 |
4 |
14 |
1 |
| f_seek |
|
1 |
4 |
17 |
1 |
| f_skip |
|
1 |
4 |
17 |
1 |
| f_status |
|
3 |
9 |
49 |
1 |
| f_conv |
|
7 |
18 |
120 |
1 |
| get_bsz |
|
22 |
65 |
290 |
1 |
| get_off |
|
20 |
62 |
264 |
1 |
| Source file: ./bin/dd/extern.h |
| Source file: ./bin/dd/dd.h |
| Source file: ./bin/dd/conv_tab.c |
| Source file: ./bin/dd/dd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
3 |
14 |
77 |
2 |
| setup |
|
26 |
68 |
569 |
1 |
| getfdtype |
|
6 |
11 |
90 |
1 |
| swapbytes |
|
2 |
12 |
62 |
2 |
| dd_in |
|
17 |
56 |
373 |
1 |
| dd_close |
|
9 |
18 |
122 |
1 |
| dd_out |
|
15 |
44 |
277 |
1 |
| Source file: ./bin/pax/tables.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| lnk_start |
|
3 |
10 |
56 |
1 |
| chk_lnk |
|
14 |
50 |
368 |
1 |
| purg_lnk |
|
10 |
27 |
174 |
1 |
| lnk_end |
|
5 |
20 |
95 |
1 |
| ftime_start |
|
4 |
17 |
108 |
1 |
| chk_ftime |
|
14 |
54 |
361 |
1 |
| sltab_start |
|
2 |
8 |
45 |
1 |
| sltab_add_sym |
|
13 |
67 |
465 |
3 |
| sltab_add_link |
|
11 |
33 |
254 |
2 |
| sltab_process_one |
|
23 |
46 |
310 |
4 |
| sltab_process |
|
12 |
38 |
205 |
1 |
| name_start |
|
3 |
10 |
56 |
1 |
| add_name |
|
11 |
37 |
261 |
3 |
| sub_name |
|
6 |
19 |
116 |
3 |
| dev_start |
|
3 |
10 |
56 |
1 |
| add_dev |
|
2 |
6 |
34 |
1 |
| chk_dev |
|
8 |
25 |
161 |
2 |
| map_dev |
|
20 |
63 |
458 |
3 |
| atdir_start |
|
3 |
10 |
56 |
1 |
| atdir_end |
|
5 |
13 |
80 |
1 |
| add_atdir |
|
9 |
36 |
255 |
5 |
| do_atdir |
|
9 |
30 |
232 |
3 |
| dir_start |
|
3 |
11 |
61 |
1 |
| add_dir |
|
8 |
42 |
277 |
3 |
| delete_dir |
|
6 |
19 |
107 |
2 |
| proc_dir |
|
7 |
21 |
109 |
1 |
| st_hash |
|
6 |
34 |
194 |
3 |
| Source file: ./bin/dd/position.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pos_in |
|
12 |
40 |
233 |
1 |
| pos_out |
|
11 |
32 |
263 |
1 |
| Source file: ./bin/dd/conv.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| def |
|
4 |
16 |
108 |
1 |
| def_close |
|
2 |
5 |
20 |
1 |
| block |
|
1 |
1 |
16 |
0 |
| block_close |
|
1 |
1 |
16 |
0 |
| unblock |
|
1 |
1 |
14 |
0 |
| unblock_close |
|
1 |
1 |
14 |
0 |
| block |
|
20 |
54 |
399 |
1 |
| block_close |
|
3 |
10 |
76 |
1 |
| unblock |
|
9 |
25 |
218 |
1 |
| unblock_close |
|
5 |
17 |
120 |
1 |
| Source file: ./bin/md5/crc.h |
| Source file: ./bin/ed/main.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| seterrmsg |
|
1 |
4 |
20 |
1 |
| main |
|
47 |
150 |
771 |
2 |
| extract_addr_range |
|
8 |
18 |
105 |
1 |
| next_addr |
|
41 |
71 |
380 |
1 |
| exec_command |
|
195 |
418 |
2303 |
1 |
| check_addr_range |
|
5 |
13 |
53 |
2 |
| get_matching_node_addr |
|
8 |
20 |
129 |
2 |
| get_filename |
|
10 |
33 |
194 |
1 |
| get_shell_command |
|
15 |
53 |
357 |
1 |
| append_lines |
|
16 |
43 |
241 |
1 |
| join_lines |
|
6 |
31 |
209 |
2 |
| move_lines |
|
8 |
37 |
243 |
1 |
| copy_lines |
|
8 |
31 |
188 |
1 |
| delete_lines |
|
3 |
19 |
109 |
2 |
| display_lines |
|
5 |
19 |
116 |
3 |
| mark_line_node |
|
3 |
10 |
56 |
2 |
| get_marked_node_addr |
|
2 |
8 |
36 |
1 |
| unmark_line_node |
|
4 |
9 |
47 |
1 |
| dup_line_node |
|
2 |
12 |
62 |
1 |
| has_trailing_escape |
|
3 |
4 |
40 |
2 |
| strip_escapes |
|
4 |
12 |
84 |
1 |
| signal_hup |
|
2 |
9 |
30 |
1 |
| signal_int |
|
2 |
9 |
30 |
1 |
| handle_hup |
|
8 |
14 |
109 |
1 |
| handle_int |
|
2 |
7 |
29 |
1 |
| handle_winch |
|
4 |
12 |
68 |
1 |
| Source file: ./bin/ksh/version.c |
| Source file: ./bin/ksh/alloc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ainit |
|
1 |
5 |
17 |
1 |
| afreeall |
|
2 |
9 |
51 |
1 |
| alloc |
|
4 |
15 |
101 |
2 |
| areallocarray |
|
5 |
8 |
61 |
4 |
| aresize |
|
6 |
21 |
142 |
3 |
| afree |
|
4 |
14 |
77 |
2 |
| Source file: ./bin/md5/crc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| CKSUM_Init |
|
1 |
5 |
20 |
1 |
| CKSUM_Update |
|
2 |
7 |
51 |
3 |
| CKSUM_Final |
|
2 |
9 |
47 |
1 |
| CKSUM_End |
|
3 |
12 |
82 |
2 |
| Source file: ./bin/ksh/sh.h |
| Source file: ./bin/ksh/jobs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| j_init |
|
9 |
26 |
174 |
1 |
| j_suspend |
|
9 |
44 |
224 |
1 |
| j_exit |
|
18 |
35 |
209 |
1 |
| j_change |
|
24 |
78 |
438 |
1 |
| exchild |
|
43 |
134 |
897 |
4 |
| startlast |
|
2 |
10 |
47 |
1 |
| waitlast |
|
4 |
19 |
104 |
1 |
| waitfor |
|
10 |
35 |
226 |
2 |
| j_kill |
|
9 |
28 |
197 |
2 |
| j_resume |
|
30 |
87 |
551 |
2 |
| j_stopped_running |
|
14 |
20 |
125 |
1 |
| j_njobs |
|
2 |
11 |
59 |
1 |
| j_jobs |
|
16 |
40 |
261 |
3 |
| j_notify |
|
9 |
19 |
137 |
1 |
| j_async |
|
2 |
9 |
43 |
1 |
| j_set_async |
|
13 |
28 |
177 |
1 |
| j_startjob |
|
3 |
12 |
60 |
1 |
| j_waitj |
|
32 |
72 |
493 |
3 |
| j_sigchld |
|
13 |
46 |
311 |
1 |
| check_job |
|
29 |
67 |
446 |
1 |
| j_print |
|
35 |
88 |
572 |
3 |
| j_lookup |
|
46 |
83 |
482 |
2 |
| new_job |
|
6 |
18 |
97 |
1 |
| new_proc |
|
2 |
10 |
44 |
1 |
| remove_job |
|
9 |
28 |
171 |
2 |
| put_job |
|
8 |
25 |
132 |
2 |
| kill_job |
|
4 |
10 |
67 |
2 |
| Source file: ./lib/libexpat/tests/runtests.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| basic_setup |
|
2 |
6 |
24 |
1 |
| basic_teardown |
|
2 |
7 |
23 |
1 |
| _xml_failure |
|
1 |
15 |
75 |
3 |
| _XML_Parse_SINGLE_BYTES |
|
5 |
17 |
115 |
4 |
| _expect_failure |
|
3 |
8 |
73 |
5 |
| dummy_xdecl_handler |
|
1 |
5 |
33 |
4 |
| dummy_start_doctype_handler |
|
1 |
8 |
45 |
5 |
| dummy_end_doctype_handler |
|
1 |
4 |
15 |
1 |
| dummy_entity_decl_handler |
|
1 |
12 |
75 |
9 |
| dummy_notation_decl_handler |
|
1 |
8 |
47 |
5 |
| dummy_element_decl_handler |
|
1 |
7 |
34 |
3 |
| dummy_attlist_decl_handler |
|
1 |
9 |
53 |
6 |
| dummy_comment_handler |
|
1 |
4 |
23 |
2 |
| dummy_pi_handler |
|
1 |
4 |
31 |
3 |
| dummy_start_element |
|
1 |
5 |
31 |
3 |
| dummy_end_element |
|
1 |
2 |
19 |
2 |
| dummy_start_cdata_handler |
|
1 |
4 |
15 |
1 |
| dummy_end_cdata_handler |
|
1 |
4 |
15 |
1 |
| dummy_cdata_handler |
|
1 |
4 |
25 |
3 |
| dummy_start_namespace_decl_handler |
|
1 |
6 |
31 |
3 |
| dummy_end_namespace_decl_handler |
|
1 |
5 |
23 |
2 |
| dummy_unparsed_entity_decl_handler |
|
1 |
9 |
55 |
6 |
| dummy_default_handler |
|
1 |
4 |
25 |
3 |
| dummy_start_doctype_decl_handler |
|
1 |
8 |
45 |
5 |
| dummy_end_doctype_decl_handler |
|
1 |
4 |
15 |
1 |
| dummy_skip_handler |
|
1 |
6 |
29 |
3 |
| external_entity_optioner |
|
4 |
26 |
136 |
5 |
| param_entity_match_handler |
|
7 |
24 |
122 |
9 |
| START_TEST |
|
3 |
8 |
52 |
1 |
| START_TEST |
|
1 |
6 |
15 |
1 |
| START_TEST |
|
2 |
5 |
18 |
1 |
| START_TEST |
|
3 |
21 |
136 |
1 |
| START_TEST |
|
2 |
6 |
36 |
1 |
| START_TEST |
|
2 |
6 |
38 |
1 |
| START_TEST |
|
2 |
6 |
38 |
1 |
| START_TEST |
|
2 |
6 |
38 |
1 |
| accumulate_characters |
|
1 |
4 |
29 |
3 |
| accumulate_attribute |
|
4 |
11 |
73 |
3 |
| _run_character_check |
|
2 |
11 |
81 |
4 |
| _run_attribute_check |
|
2 |
11 |
81 |
4 |
| ext_accumulate_characters |
|
1 |
5 |
37 |
3 |
| _run_ext_character_check |
|
2 |
15 |
91 |
5 |
| START_TEST |
|
2 |
11 |
41 |
1 |
| START_TEST |
|
2 |
11 |
41 |
1 |
| START_TEST |
|
2 |
11 |
41 |
1 |
| START_TEST |
|
2 |
11 |
41 |
1 |
| START_TEST |
|
2 |
9 |
41 |
1 |
| START_TEST |
|
2 |
7 |
40 |
1 |
| START_TEST |
|
4 |
17 |
97 |
1 |
| START_TEST |
|
5 |
45 |
303 |
1 |
| START_TEST |
|
3 |
20 |
96 |
1 |
| START_TEST |
|
4 |
20 |
97 |
1 |
| START_TEST |
|
1 |
10 |
30 |
1 |
| START_TEST |
|
2 |
9 |
40 |
1 |
| START_TEST |
|
2 |
24 |
114 |
1 |
| START_TEST |
|
1 |
9 |
23 |
1 |
| START_TEST |
|
2 |
60 |
186 |
1 |
| START_TEST |
|
1 |
42 |
112 |
1 |
| START_TEST |
|
3 |
17 |
78 |
1 |
| START_TEST |
|
3 |
14 |
76 |
1 |
| start_element_event_handler2 |
|
1 |
9 |
50 |
3 |
| end_element_event_handler2 |
|
1 |
8 |
42 |
2 |
| START_TEST |
|
2 |
34 |
242 |
1 |
| START_TEST |
|
3 |
16 |
78 |
1 |
| START_TEST |
|
3 |
17 |
78 |
1 |
| START_TEST |
|
2 |
25 |
54 |
1 |
| START_TEST |
|
3 |
33 |
98 |
1 |
| start_element_event_handler |
|
1 |
6 |
35 |
3 |
| end_element_event_handler |
|
1 |
6 |
45 |
2 |
| START_TEST |
|
2 |
12 |
78 |
1 |
| is_whitespace_normalized |
|
13 |
25 |
128 |
2 |
| testhelper_is_whitespace_normalized |
|
1 |
22 |
264 |
1 |
| check_attr_contains_normalized_whitespace |
|
6 |
21 |
146 |
3 |
| START_TEST |
|
2 |
20 |
54 |
1 |
| START_TEST |
|
1 |
8 |
17 |
1 |
| START_TEST |
|
1 |
6 |
15 |
1 |
| START_TEST |
|
1 |
6 |
15 |
1 |
| START_TEST |
|
1 |
7 |
16 |
1 |
| UnknownEncodingHandler |
|
3 |
13 |
85 |
3 |
| START_TEST |
|
2 |
10 |
47 |
1 |
| dummy_release |
|
1 |
3 |
11 |
1 |
| UnrecognisedEncodingHandler |
|
1 |
9 |
44 |
3 |
| START_TEST |
|
2 |
12 |
47 |
1 |
| external_entity_loader |
|
5 |
26 |
141 |
5 |
| START_TEST |
|
2 |
17 |
67 |
1 |
| START_TEST |
|
1 |
10 |
33 |
1 |
| START_TEST |
|
2 |
19 |
69 |
1 |
| external_entity_faulter |
|
6 |
25 |
154 |
5 |
| START_TEST |
|
1 |
19 |
56 |
1 |
| START_TEST |
|
1 |
18 |
62 |
1 |
| START_TEST |
|
2 |
7 |
37 |
1 |
| START_TEST |
|
1 |
5 |
15 |
1 |
| START_TEST |
|
1 |
9 |
24 |
1 |
| START_TEST |
|
1 |
17 |
57 |
1 |
| START_TEST |
|
1 |
14 |
57 |
1 |
| START_TEST |
|
1 |
14 |
53 |
1 |
| reject_not_standalone_handler |
|
1 |
4 |
14 |
1 |
| START_TEST |
|
1 |
22 |
87 |
1 |
| accept_not_standalone_handler |
|
1 |
4 |
14 |
1 |
| START_TEST |
|
1 |
19 |
84 |
1 |
| START_TEST |
|
1 |
11 |
25 |
1 |
| START_TEST |
|
2 |
39 |
126 |
1 |
| START_TEST |
|
1 |
24 |
107 |
1 |
| verify_attlist_decl_handler |
|
11 |
21 |
148 |
6 |
| START_TEST |
|
5 |
65 |
239 |
1 |
| START_TEST |
|
2 |
9 |
38 |
1 |
| START_TEST |
|
2 |
11 |
40 |
1 |
| clearing_aborting_character_handler |
|
1 |
6 |
39 |
3 |
| START_TEST |
|
3 |
10 |
61 |
1 |
| START_TEST |
|
5 |
14 |
98 |
1 |
| parser_stop_character_handler |
|
8 |
21 |
132 |
3 |
| START_TEST |
|
4 |
24 |
141 |
1 |
| START_TEST |
|
3 |
22 |
158 |
1 |
| START_TEST |
|
2 |
17 |
87 |
1 |
| START_TEST |
|
2 |
17 |
87 |
1 |
| START_TEST |
|
3 |
58 |
255 |
1 |
| START_TEST |
|
3 |
20 |
99 |
1 |
| START_TEST |
|
3 |
16 |
61 |
1 |
| START_TEST |
|
3 |
44 |
288 |
1 |
| START_TEST |
|
4 |
74 |
410 |
1 |
| START_TEST |
|
1 |
9 |
33 |
1 |
| START_TEST |
|
4 |
16 |
82 |
1 |
| START_TEST |
|
5 |
29 |
164 |
1 |
| record_default_handler |
|
1 |
6 |
38 |
3 |
| record_cdata_handler |
|
1 |
7 |
43 |
3 |
| record_cdata_nodefault_handler |
|
1 |
6 |
38 |
3 |
| record_skip_handler |
|
2 |
7 |
42 |
3 |
| START_TEST |
|
7 |
64 |
440 |
1 |
| START_TEST |
|
2 |
13 |
47 |
1 |
| START_TEST |
|
6 |
30 |
159 |
1 |
| START_TEST |
|
2 |
19 |
79 |
1 |
| START_TEST |
|
1 |
19 |
65 |
1 |
| START_TEST |
|
6 |
31 |
160 |
1 |
| external_entity_null_loader |
|
1 |
8 |
45 |
5 |
| START_TEST |
|
2 |
13 |
65 |
1 |
| START_TEST |
|
1 |
11 |
44 |
1 |
| START_TEST |
|
5 |
15 |
100 |
1 |
| counting_start_element_handler |
|
14 |
46 |
259 |
3 |
| START_TEST |
|
2 |
32 |
194 |
1 |
| START_TEST |
|
4 |
21 |
103 |
1 |
| START_TEST |
|
4 |
13 |
75 |
1 |
| START_TEST |
|
4 |
16 |
86 |
1 |
| START_TEST |
|
2 |
13 |
78 |
1 |
| external_entity_resetter |
|
8 |
41 |
229 |
5 |
| START_TEST |
|
2 |
11 |
52 |
1 |
| entity_suspending_decl_handler |
|
3 |
12 |
72 |
3 |
| external_entity_suspender |
|
3 |
21 |
118 |
5 |
| START_TEST |
|
2 |
11 |
52 |
1 |
| entity_suspending_xdecl_handler |
|
1 |
9 |
52 |
4 |
| external_entity_suspend_xmldecl |
|
8 |
33 |
192 |
5 |
| START_TEST |
|
2 |
15 |
57 |
1 |
| START_TEST |
|
2 |
15 |
57 |
1 |
| external_entity_suspending_faulter |
|
7 |
32 |
213 |
5 |
| START_TEST |
|
2 |
34 |
115 |
1 |
| START_TEST |
|
7 |
19 |
136 |
1 |
| cr_cdata_handler |
|
4 |
6 |
55 |
3 |
| START_TEST |
|
5 |
22 |
129 |
1 |
| external_entity_cr_catcher |
|
3 |
18 |
106 |
5 |
| external_entity_bad_cr_catcher |
|
4 |
20 |
120 |
5 |
| START_TEST |
|
5 |
28 |
146 |
1 |
| rsqb_handler |
|
3 |
6 |
45 |
3 |
| START_TEST |
|
7 |
33 |
206 |
1 |
| external_entity_rsqb_catcher |
|
4 |
20 |
120 |
5 |
| START_TEST |
|
3 |
18 |
79 |
1 |
| external_entity_good_cdata_ascii |
|
3 |
24 |
141 |
5 |
| START_TEST |
|
2 |
14 |
53 |
1 |
| xml_decl_handler |
|
3 |
11 |
53 |
4 |
| param_check_skip_handler |
|
2 |
8 |
36 |
3 |
| data_check_comment_handler |
|
3 |
8 |
48 |
2 |
| external_entity_param_checker |
|
3 |
23 |
113 |
5 |
| START_TEST |
|
8 |
38 |
195 |
1 |
| external_entity_ref_param_checker |
|
4 |
19 |
114 |
5 |
| START_TEST |
|
3 |
24 |
130 |
1 |
| START_TEST |
|
8 |
23 |
174 |
1 |
| get_feature |
|
4 |
13 |
67 |
2 |
| START_TEST |
|
8 |
23 |
160 |
1 |
| START_TEST |
|
4 |
13 |
86 |
1 |
| START_TEST |
|
6 |
14 |
92 |
1 |
| START_TEST |
|
4 |
11 |
68 |
1 |
| byte_character_handler |
|
8 |
23 |
140 |
3 |
| START_TEST |
|
3 |
15 |
108 |
1 |
| START_TEST |
|
2 |
16 |
102 |
1 |
| external_entity_param |
|
9 |
39 |
206 |
5 |
| START_TEST |
|
1 |
10 |
37 |
1 |
| START_TEST |
|
2 |
17 |
63 |
1 |
| external_entity_load_ignore |
|
3 |
17 |
99 |
5 |
| START_TEST |
|
2 |
23 |
128 |
1 |
| external_entity_load_ignore_utf16 |
|
3 |
20 |
104 |
5 |
| START_TEST |
|
2 |
25 |
132 |
1 |
| external_entity_load_ignore_utf16_be |
|
3 |
20 |
104 |
5 |
| START_TEST |
|
2 |
25 |
132 |
1 |
| START_TEST |
|
2 |
36 |
123 |
1 |
| external_entity_valuer |
|
12 |
46 |
249 |
5 |
| START_TEST |
|
3 |
85 |
219 |
1 |
| external_entity_not_standalone |
|
8 |
37 |
204 |
5 |
| START_TEST |
|
1 |
10 |
37 |
1 |
| external_entity_value_aborter |
|
8 |
36 |
196 |
5 |
| START_TEST |
|
2 |
13 |
55 |
1 |
| START_TEST |
|
1 |
11 |
33 |
1 |
| START_TEST |
|
1 |
20 |
77 |
1 |
| START_TEST |
|
1 |
9 |
26 |
1 |
| START_TEST |
|
3 |
15 |
61 |
1 |
| START_TEST |
|
3 |
15 |
61 |
1 |
| record_element_start_handler |
|
1 |
6 |
37 |
3 |
| START_TEST |
|
3 |
24 |
100 |
1 |
| START_TEST |
|
3 |
22 |
68 |
1 |
| external_entity_public |
|
6 |
27 |
162 |
5 |
| START_TEST |
|
2 |
18 |
69 |
1 |
| START_TEST |
|
3 |
20 |
95 |
1 |
| START_TEST |
|
1 |
21 |
61 |
1 |
| external_entity_devaluer |
|
7 |
27 |
157 |
5 |
| START_TEST |
|
3 |
19 |
123 |
1 |
| aborting_xdecl_handler |
|
1 |
8 |
47 |
4 |
| START_TEST |
|
5 |
15 |
98 |
1 |
| selective_aborting_default_handler |
|
4 |
12 |
72 |
3 |
| START_TEST |
|
3 |
13 |
78 |
1 |
| START_TEST |
|
1 |
9 |
50 |
1 |
| START_TEST |
|
2 |
11 |
64 |
1 |
| START_TEST |
|
1 |
6 |
22 |
1 |
| START_TEST |
|
4 |
11 |
68 |
1 |
| START_TEST |
|
2 |
16 |
50 |
1 |
| start_element_suspender |
|
3 |
9 |
64 |
3 |
| START_TEST |
|
4 |
25 |
145 |
1 |
| START_TEST |
|
4 |
16 |
74 |
1 |
| element_decl_suspender |
|
1 |
7 |
37 |
3 |
| START_TEST |
|
3 |
23 |
121 |
1 |
| START_TEST |
|
5 |
12 |
84 |
1 |
| START_TEST |
|
1 |
8 |
23 |
1 |
| START_TEST |
|
1 |
8 |
23 |
1 |
| START_TEST |
|
2 |
7 |
36 |
1 |
| START_TEST |
|
2 |
16 |
50 |
1 |
| START_TEST |
|
2 |
18 |
71 |
1 |
| external_entity_oneshot_loader |
|
3 |
21 |
120 |
5 |
| START_TEST |
|
2 |
18 |
70 |
1 |
| START_TEST |
|
2 |
18 |
70 |
1 |
| START_TEST |
|
4 |
27 |
129 |
1 |
| START_TEST |
|
1 |
10 |
25 |
1 |
| START_TEST |
|
1 |
10 |
25 |
1 |
| START_TEST |
|
3 |
14 |
57 |
1 |
| START_TEST |
|
1 |
10 |
25 |
1 |
| START_TEST |
|
2 |
13 |
78 |
1 |
| START_TEST |
|
2 |
13 |
78 |
1 |
| accumulate_pi_characters |
|
1 |
10 |
72 |
3 |
| START_TEST |
|
2 |
13 |
78 |
1 |
| START_TEST |
|
2 |
13 |
78 |
1 |
| START_TEST |
|
2 |
13 |
78 |
1 |
| START_TEST |
|
3 |
16 |
92 |
1 |
| START_TEST |
|
3 |
16 |
92 |
1 |
| accumulate_comment |
|
1 |
6 |
33 |
2 |
| START_TEST |
|
2 |
15 |
82 |
1 |
| START_TEST |
|
2 |
15 |
82 |
1 |
| failing_converter |
|
1 |
4 |
23 |
2 |
| prefix_converter |
|
2 |
6 |
52 |
2 |
| MiscEncodingHandler |
|
16 |
37 |
312 |
3 |
| START_TEST |
|
1 |
9 |
32 |
1 |
| START_TEST |
|
1 |
9 |
32 |
1 |
| START_TEST |
|
1 |
8 |
33 |
1 |
| START_TEST |
|
1 |
9 |
32 |
1 |
| START_TEST |
|
1 |
9 |
32 |
1 |
| START_TEST |
|
2 |
18 |
90 |
1 |
| START_TEST |
|
2 |
18 |
90 |
1 |
| START_TEST |
|
1 |
9 |
32 |
1 |
| START_TEST |
|
1 |
8 |
33 |
1 |
| START_TEST |
|
1 |
9 |
32 |
1 |
| START_TEST |
|
1 |
9 |
32 |
1 |
| START_TEST |
|
1 |
9 |
32 |
1 |
| START_TEST |
|
1 |
9 |
32 |
1 |
| START_TEST |
|
1 |
9 |
32 |
1 |
| START_TEST |
|
1 |
9 |
32 |
1 |
| external_entity_loader2 |
|
7 |
32 |
172 |
5 |
| ext2_accumulate_characters |
|
1 |
5 |
37 |
3 |
| START_TEST |
|
3 |
27 |
123 |
1 |
| START_TEST |
|
3 |
27 |
123 |
1 |
| START_TEST |
|
3 |
26 |
123 |
1 |
| START_TEST |
|
3 |
26 |
120 |
1 |
| START_TEST |
|
3 |
31 |
126 |
1 |
| START_TEST |
|
3 |
31 |
126 |
1 |
| external_entity_faulter2 |
|
6 |
25 |
151 |
5 |
| START_TEST |
|
1 |
19 |
55 |
1 |
| START_TEST |
|
3 |
27 |
120 |
1 |
| START_TEST |
|
2 |
7 |
40 |
1 |
| START_TEST |
|
2 |
7 |
40 |
1 |
| record_element_end_handler |
|
1 |
7 |
45 |
2 |
| START_TEST |
|
2 |
14 |
80 |
1 |
| START_TEST |
|
2 |
14 |
81 |
1 |
| START_TEST |
|
2 |
15 |
82 |
1 |
| START_TEST |
|
1 |
6 |
22 |
1 |
| accumulate_entity_decl |
|
1 |
16 |
112 |
9 |
| START_TEST |
|
3 |
23 |
97 |
1 |
| START_TEST |
|
1 |
10 |
25 |
1 |
| START_TEST |
|
3 |
13 |
56 |
1 |
| START_TEST |
|
1 |
9 |
32 |
1 |
| START_TEST |
|
3 |
12 |
55 |
1 |
| START_TEST |
|
1 |
8 |
23 |
1 |
| START_TEST |
|
1 |
8 |
23 |
1 |
| START_TEST |
|
1 |
8 |
23 |
1 |
| START_TEST |
|
1 |
19 |
71 |
1 |
| START_TEST |
|
3 |
16 |
92 |
1 |
| START_TEST |
|
3 |
16 |
92 |
1 |
| START_TEST |
|
2 |
29 |
122 |
1 |
| START_TEST |
|
2 |
29 |
122 |
1 |
| START_TEST |
|
1 |
6 |
22 |
1 |
| START_TEST |
|
1 |
6 |
22 |
1 |
| START_TEST |
|
1 |
6 |
22 |
1 |
| START_TEST |
|
1 |
6 |
22 |
1 |
| START_TEST |
|
1 |
10 |
25 |
1 |
| START_TEST |
|
1 |
10 |
25 |
1 |
| START_TEST |
|
1 |
10 |
25 |
1 |
| START_TEST |
|
1 |
10 |
25 |
1 |
| START_TEST |
|
1 |
10 |
25 |
1 |
| checking_default_handler |
|
4 |
14 |
93 |
3 |
| START_TEST |
|
4 |
31 |
134 |
1 |
| START_TEST |
|
2 |
8 |
43 |
1 |
| namespace_setup |
|
2 |
6 |
29 |
1 |
| namespace_teardown |
|
1 |
4 |
10 |
1 |
| triplet_start_checker |
|
3 |
16 |
108 |
3 |
| triplet_end_checker |
|
2 |
10 |
65 |
2 |
| START_TEST |
|
6 |
35 |
172 |
1 |
| overwrite_start_checker |
|
2 |
13 |
98 |
3 |
| overwrite_end_checker |
|
1 |
7 |
57 |
2 |
| run_ns_tagname_overwrite_test |
|
2 |
11 |
71 |
2 |
| START_TEST |
|
1 |
18 |
61 |
1 |
| START_TEST |
|
1 |
19 |
68 |
1 |
| start_element_fail |
|
1 |
5 |
32 |
3 |
| start_ns_clearing_start_element |
|
1 |
6 |
34 |
3 |
| START_TEST |
|
2 |
10 |
62 |
1 |
| external_entity_handler |
|
3 |
25 |
137 |
5 |
| START_TEST |
|
2 |
17 |
70 |
1 |
| START_TEST |
|
1 |
11 |
25 |
1 |
| START_TEST |
|
1 |
9 |
23 |
1 |
| START_TEST |
|
1 |
13 |
27 |
1 |
| START_TEST |
|
2 |
18 |
76 |
1 |
| START_TEST |
|
3 |
15 |
55 |
1 |
| START_TEST |
|
2 |
13 |
52 |
1 |
| START_TEST |
|
1 |
10 |
24 |
1 |
| START_TEST |
|
2 |
9 |
37 |
1 |
| START_TEST |
|
1 |
7 |
22 |
1 |
| START_TEST |
|
1 |
7 |
22 |
1 |
| START_TEST |
|
4 |
15 |
83 |
1 |
| START_TEST |
|
2 |
21 |
85 |
1 |
| START_TEST |
|
2 |
10 |
38 |
1 |
| START_TEST |
|
2 |
11 |
39 |
1 |
| START_TEST |
|
2 |
13 |
59 |
1 |
| START_TEST |
|
1 |
18 |
69 |
1 |
| START_TEST |
|
3 |
80 |
133 |
1 |
| START_TEST |
|
1 |
8 |
33 |
1 |
| START_TEST |
|
1 |
7 |
22 |
1 |
| START_TEST |
|
1 |
7 |
22 |
1 |
| START_TEST |
|
1 |
7 |
22 |
1 |
| START_TEST |
|
1 |
7 |
22 |
1 |
| START_TEST |
|
2 |
15 |
82 |
1 |
| START_TEST |
|
3 |
15 |
91 |
1 |
| START_TEST |
|
3 |
22 |
106 |
1 |
| START_TEST |
|
1 |
8 |
23 |
1 |
| START_TEST |
|
1 |
8 |
23 |
1 |
| duff_allocator |
|
3 |
8 |
31 |
1 |
| duff_reallocator |
|
3 |
8 |
37 |
2 |
| START_TEST |
|
5 |
17 |
90 |
1 |
| START_TEST |
|
5 |
16 |
93 |
1 |
| START_TEST |
|
1 |
4 |
11 |
1 |
| START_TEST |
|
3 |
7 |
43 |
1 |
| parse_version |
|
14 |
33 |
198 |
2 |
| versions_equal |
|
3 |
7 |
41 |
2 |
| START_TEST |
|
7 |
16 |
108 |
1 |
| START_TEST |
|
7 |
22 |
97 |
1 |
| START_TEST |
|
2 |
16 |
72 |
1 |
| START_TEST |
|
3 |
19 |
104 |
1 |
| alloc_setup |
|
2 |
13 |
48 |
1 |
| alloc_teardown |
|
1 |
4 |
10 |
1 |
| START_TEST |
|
5 |
21 |
99 |
1 |
| long_encoding_handler |
|
2 |
12 |
69 |
3 |
| START_TEST |
|
5 |
39 |
125 |
1 |
| START_TEST |
|
5 |
24 |
102 |
1 |
| START_TEST |
|
5 |
24 |
102 |
1 |
| START_TEST |
|
5 |
37 |
115 |
1 |
| START_TEST |
|
5 |
22 |
100 |
1 |
| START_TEST |
|
5 |
24 |
102 |
1 |
| external_entity_duff_loader |
|
5 |
26 |
125 |
5 |
| START_TEST |
|
2 |
16 |
68 |
1 |
| START_TEST |
|
5 |
27 |
124 |
1 |
| external_entity_dbl_handler |
|
8 |
51 |
257 |
5 |
| START_TEST |
|
2 |
17 |
63 |
1 |
| external_entity_dbl_handler_2 |
|
5 |
36 |
188 |
5 |
| START_TEST |
|
5 |
31 |
128 |
1 |
| external_entity_alloc_set_encoding |
|
4 |
25 |
127 |
5 |
| START_TEST |
|
5 |
25 |
106 |
1 |
| unknown_released_encoding_handler |
|
3 |
15 |
84 |
3 |
| START_TEST |
|
5 |
23 |
105 |
1 |
| START_TEST |
|
6 |
63 |
253 |
1 |
| START_TEST |
|
5 |
14 |
73 |
1 |
| START_TEST |
|
5 |
15 |
80 |
1 |
| START_TEST |
|
6 |
24 |
131 |
1 |
| external_entity_reallocator |
|
4 |
23 |
153 |
5 |
| START_TEST |
|
5 |
24 |
111 |
1 |
| START_TEST |
|
5 |
42 |
114 |
1 |
| START_TEST |
|
6 |
49 |
162 |
1 |
| START_TEST |
|
5 |
59 |
154 |
1 |
| START_TEST |
|
6 |
45 |
138 |
1 |
| START_TEST |
|
5 |
41 |
119 |
1 |
| external_entity_alloc |
|
2 |
17 |
101 |
5 |
| START_TEST |
|
6 |
26 |
137 |
1 |
| START_TEST |
|
5 |
29 |
130 |
1 |
| START_TEST |
|
5 |
46 |
147 |
1 |
| START_TEST |
|
5 |
40 |
118 |
1 |
| START_TEST |
|
5 |
40 |
118 |
1 |
| START_TEST |
|
6 |
63 |
162 |
1 |
| START_TEST |
|
6 |
44 |
134 |
1 |
| START_TEST |
|
6 |
44 |
134 |
1 |
| START_TEST |
|
6 |
35 |
155 |
1 |
| START_TEST |
|
6 |
35 |
155 |
1 |
| START_TEST |
|
6 |
34 |
124 |
1 |
| START_TEST |
|
6 |
36 |
126 |
1 |
| START_TEST |
|
6 |
24 |
114 |
1 |
| START_TEST |
|
6 |
24 |
114 |
1 |
| START_TEST |
|
5 |
37 |
109 |
1 |
| START_TEST |
|
5 |
18 |
91 |
1 |
| START_TEST |
|
5 |
18 |
91 |
1 |
| START_TEST |
|
5 |
37 |
109 |
1 |
| START_TEST |
|
5 |
37 |
109 |
1 |
| START_TEST |
|
1 |
37 |
81 |
1 |
| START_TEST |
|
5 |
43 |
138 |
1 |
| START_TEST |
|
5 |
43 |
138 |
1 |
| START_TEST |
|
5 |
32 |
104 |
1 |
| START_TEST |
|
5 |
35 |
108 |
1 |
| START_TEST |
|
6 |
47 |
215 |
1 |
| START_TEST |
|
5 |
43 |
140 |
1 |
| START_TEST |
|
5 |
44 |
141 |
1 |
| START_TEST |
|
5 |
66 |
183 |
1 |
| nsalloc_setup |
|
2 |
14 |
60 |
1 |
| nsalloc_teardown |
|
1 |
4 |
10 |
1 |
| START_TEST |
|
5 |
22 |
103 |
1 |
| START_TEST |
|
16 |
43 |
313 |
1 |
| START_TEST |
|
5 |
71 |
144 |
1 |
| START_TEST |
|
5 |
55 |
128 |
1 |
| START_TEST |
|
5 |
38 |
111 |
1 |
| START_TEST |
|
5 |
80 |
234 |
1 |
| START_TEST |
|
5 |
21 |
94 |
1 |
| START_TEST |
|
5 |
32 |
141 |
1 |
| START_TEST |
|
6 |
27 |
125 |
1 |
| START_TEST |
|
5 |
71 |
144 |
1 |
| START_TEST |
|
5 |
71 |
144 |
1 |
| START_TEST |
|
6 |
109 |
201 |
1 |
| START_TEST |
|
5 |
66 |
139 |
1 |
| START_TEST |
|
5 |
50 |
167 |
1 |
| context_realloc_test |
|
5 |
25 |
140 |
1 |
| START_TEST |
|
1 |
28 |
40 |
1 |
| START_TEST |
|
1 |
28 |
40 |
1 |
| START_TEST |
|
1 |
28 |
40 |
1 |
| START_TEST |
|
1 |
28 |
40 |
1 |
| START_TEST |
|
1 |
28 |
40 |
1 |
| START_TEST |
|
1 |
27 |
39 |
1 |
| START_TEST |
|
1 |
28 |
40 |
1 |
| START_TEST |
|
5 |
66 |
183 |
1 |
| START_TEST |
|
6 |
100 |
229 |
1 |
| START_TEST |
|
5 |
47 |
156 |
1 |
| START_TEST |
|
5 |
65 |
224 |
1 |
| START_TEST |
|
5 |
33 |
150 |
1 |
| make_suite |
|
1 |
352 |
2439 |
1 |
| main |
|
8 |
25 |
179 |
2 |
| Source file: ./bin/ksh/tty.h |
| Source file: ./bin/md5/md5.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
74 |
169 |
1025 |
2 |
| hash_insert |
|
2 |
10 |
67 |
3 |
| digest_end |
|
4 |
15 |
113 |
5 |
| digest_string |
|
1 |
13 |
91 |
2 |
| digest_print |
|
4 |
15 |
87 |
3 |
| digest_printstr |
|
4 |
15 |
87 |
3 |
| digest_file |
|
11 |
50 |
355 |
3 |
| digest_filelist |
|
48 |
157 |
1086 |
4 |
| digest_time |
|
5 |
33 |
269 |
2 |
| digest_test |
|
3 |
38 |
238 |
1 |
| usage |
|
3 |
14 |
45 |
1 |
| Source file: ./bin/ksh/lex.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| yylex |
|
202 |
606 |
3471 |
1 |
| gethere |
|
2 |
7 |
34 |
1 |
| readhere |
|
13 |
48 |
288 |
1 |
| yyerror |
|
3 |
12 |
71 |
2 |
| pushs |
|
3 |
21 |
139 |
2 |
| getsc__ |
|
19 |
75 |
433 |
1 |
| getsc_line |
|
35 |
71 |
492 |
1 |
| special_prompt_expand |
|
2 |
8 |
43 |
1 |
| set_prompt |
|
4 |
23 |
121 |
2 |
| dopprompt |
|
89 |
259 |
1551 |
4 |
| pprompt |
|
1 |
4 |
23 |
2 |
| promptlen |
|
1 |
4 |
26 |
2 |
| get_brace_var |
|
18 |
64 |
282 |
2 |
| arraysub |
|
7 |
20 |
113 |
1 |
| ungetsc |
|
5 |
18 |
109 |
1 |
| getsc_bn |
|
6 |
21 |
87 |
1 |
| push_state_ |
|
1 |
9 |
68 |
2 |
| pop_state_ |
|
1 |
8 |
58 |
2 |
| Source file: ./bin/ksh/shf.h |
| Source file: ./bin/ksh/tty.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| tty_close |
|
2 |
7 |
24 |
1 |
| tty_init |
|
7 |
29 |
150 |
1 |
| Source file: ./bin/ksh/lex.h |
| Source file: ./bin/ksh/tree.h |
| Source file: ./bin/ksh/expand.h |
| Source file: ./bin/ksh/misc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| setctypes |
|
4 |
11 |
72 |
2 |
| initctypes |
|
3 |
15 |
98 |
1 |
| ulton |
|
2 |
12 |
68 |
2 |
| str_save |
|
2 |
11 |
60 |
2 |
| str_nsave |
|
2 |
9 |
57 |
3 |
| Xcheck_grow_ |
|
2 |
8 |
83 |
3 |
| option |
|
4 |
8 |
58 |
1 |
| options_fmt_entry |
|
2 |
8 |
71 |
4 |
| printoptions |
|
8 |
29 |
200 |
1 |
| getoptions |
|
4 |
11 |
80 |
1 |
| change_flag |
|
25 |
36 |
200 |
3 |
| parse_args |
|
43 |
104 |
779 |
3 |
| getn |
|
5 |
10 |
63 |
2 |
| bi_getn |
|
2 |
7 |
38 |
2 |
| gmatch |
|
6 |
18 |
160 |
3 |
| has_globbing |
|
26 |
47 |
294 |
2 |
| do_gmatch |
|
49 |
106 |
664 |
4 |
| posix_cclass |
|
8 |
24 |
166 |
3 |
| cclass |
|
36 |
52 |
417 |
2 |
| pat_scan |
|
10 |
14 |
104 |
3 |
| qsortp |
|
1 |
6 |
41 |
3 |
| xstrcmp |
|
1 |
4 |
34 |
2 |
| ksh_getopt_reset |
|
1 |
9 |
50 |
2 |
| ksh_getopt |
|
40 |
82 |
705 |
3 |
| print_value_quoted |
|
9 |
26 |
132 |
1 |
| print_columns |
|
12 |
41 |
278 |
6 |
| strip_nuls |
|
6 |
19 |
128 |
2 |
| blocking_read |
|
5 |
17 |
83 |
3 |
| reset_nonblock |
|
4 |
12 |
65 |
1 |
| ksh_get_wd |
|
4 |
18 |
93 |
2 |
| Source file: ./bin/ksh/path.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| make_path |
|
22 |
60 |
384 |
5 |
| simplify_path |
|
22 |
44 |
263 |
1 |
| set_current_wd |
|
5 |
13 |
92 |
1 |
| get_phys_path |
|
3 |
13 |
89 |
1 |
| do_phys_path |
|
16 |
43 |
313 |
3 |
| Source file: ./bin/ksh/c_ulimit.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| c_ulimit |
|
25 |
89 |
540 |
1 |
| set_ulimit |
|
9 |
31 |
189 |
3 |
| print_ulimit |
|
4 |
16 |
87 |
2 |
| Source file: ./bin/ksh/tree.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ptree |
|
53 |
160 |
1151 |
3 |
| pioact |
|
22 |
47 |
307 |
3 |
| tputC |
|
5 |
11 |
97 |
2 |
| tputS |
|
23 |
65 |
346 |
2 |
| fptreef |
|
1 |
7 |
45 |
4 |
| snptreef |
|
2 |
10 |
76 |
4 |
| vfptreef |
|
22 |
60 |
364 |
4 |
| tcopy |
|
10 |
38 |
339 |
2 |
| wdcopy |
|
1 |
5 |
40 |
2 |
| wdscan |
|
21 |
47 |
188 |
2 |
| wdstrip |
|
19 |
56 |
311 |
1 |
| iocopy |
|
6 |
23 |
188 |
2 |
| tfree |
|
7 |
22 |
162 |
2 |
| iofree |
|
2 |
12 |
83 |
2 |
| Source file: ./bin/ksh/c_sh.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| c_label |
|
2 |
4 |
23 |
1 |
| c_shift |
|
5 |
27 |
149 |
1 |
| c_umask |
|
39 |
120 |
625 |
1 |
| c_dot |
|
8 |
32 |
206 |
1 |
| c_wait |
|
7 |
19 |
105 |
1 |
| c_read |
|
49 |
131 |
792 |
1 |
| c_eval |
|
3 |
15 |
89 |
1 |
| c_trap |
|
11 |
31 |
203 |
1 |
| c_exitreturn |
|
10 |
31 |
169 |
1 |
| c_brkcont |
|
13 |
36 |
230 |
1 |
| c_set |
|
7 |
24 |
203 |
1 |
| c_unset |
|
9 |
29 |
158 |
1 |
| p_tv |
|
4 |
12 |
107 |
6 |
| p_ts |
|
4 |
13 |
107 |
6 |
| c_times |
|
1 |
11 |
109 |
1 |
| timex |
|
8 |
50 |
418 |
3 |
| timex_hook |
|
9 |
29 |
198 |
2 |
| c_exec |
|
7 |
14 |
94 |
1 |
| c_suspend |
|
5 |
17 |
82 |
1 |
| c_builtin |
|
1 |
4 |
11 |
1 |
| Source file: ./bin/ksh/c_ksh.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| c_cd |
|
26 |
112 |
708 |
1 |
| c_pwd |
|
12 |
37 |
192 |
1 |
| c_print |
|
58 |
153 |
877 |
1 |
| c_whence |
|
49 |
106 |
599 |
1 |
| c_command |
|
1 |
4 |
14 |
1 |
| c_typeset |
|
86 |
228 |
1364 |
1 |
| c_alias |
|
43 |
116 |
733 |
1 |
| c_unalias |
|
12 |
45 |
264 |
1 |
| c_let |
|
4 |
15 |
76 |
1 |
| c_jobs |
|
11 |
34 |
154 |
1 |
| c_fgbg |
|
7 |
18 |
115 |
1 |
| kill_fmt_entry |
|
2 |
16 |
112 |
4 |
| c_kill |
|
41 |
99 |
693 |
1 |
| getopts_reset |
|
3 |
8 |
44 |
1 |
| c_getopts |
|
22 |
71 |
459 |
1 |
| c_bind |
|
9 |
27 |
158 |
1 |
| Source file: ./bin/ksh/mail.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mcheck |
|
13 |
32 |
174 |
1 |
| mcset |
|
1 |
4 |
12 |
1 |
| mbset |
|
4 |
12 |
83 |
1 |
| mpset |
|
8 |
33 |
190 |
1 |
| munset |
|
3 |
11 |
51 |
1 |
| mballoc |
|
3 |
14 |
91 |
2 |
| mprintit |
|
4 |
8 |
68 |
1 |
| Source file: ./bin/ksh/table.h |
| Source file: ./bin/ksh/expr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| evaluate |
|
1 |
10 |
67 |
4 |
| v_evaluate |
|
9 |
40 |
242 |
4 |
| evalerr |
|
11 |
49 |
241 |
3 |
| evalexpr |
|
80 |
177 |
1221 |
2 |
| token |
|
18 |
57 |
431 |
1 |
| do_ppmm |
|
4 |
15 |
113 |
4 |
| assign_check |
|
6 |
8 |
92 |
3 |
| tempvar |
|
1 |
11 |
64 |
1 |
| intvar |
|
5 |
18 |
137 |
2 |
| Source file: ./bin/ksh/c_test.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| c_test |
|
16 |
61 |
419 |
1 |
| test_isop |
|
9 |
16 |
116 |
3 |
| test_eval |
|
74 |
134 |
891 |
5 |
| test_stat |
|
1 |
4 |
22 |
2 |
| test_eaccess |
|
7 |
16 |
102 |
2 |
| test_parse |
|
4 |
8 |
72 |
1 |
| test_oexpr |
|
5 |
10 |
67 |
2 |
| test_aexpr |
|
5 |
10 |
68 |
2 |
| test_nexpr |
|
3 |
6 |
51 |
2 |
| test_primary |
|
14 |
48 |
407 |
2 |
| ptest_isa |
|
6 |
18 |
129 |
2 |
| ptest_getopnd |
|
3 |
6 |
44 |
3 |
| ptest_eval |
|
1 |
5 |
38 |
5 |
| ptest_error |
|
3 |
10 |
71 |
3 |
| Source file: ./bin/ksh/var.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| newblock |
|
2 |
20 |
152 |
1 |
| popblock |
|
6 |
18 |
138 |
1 |
| initvar |
|
4 |
35 |
219 |
1 |
| array_index_calc |
|
5 |
22 |
166 |
3 |
| global |
|
19 |
74 |
432 |
1 |
| local |
|
9 |
38 |
265 |
2 |
| str_val |
|
16 |
44 |
331 |
1 |
| intval |
|
2 |
9 |
47 |
1 |
| setstr |
|
13 |
40 |
295 |
3 |
| setint |
|
3 |
15 |
106 |
2 |
| getint |
|
27 |
62 |
389 |
3 |
| setint_v |
|
6 |
18 |
131 |
3 |
| formatstr |
|
19 |
49 |
396 |
2 |
| export |
|
2 |
15 |
136 |
2 |
| typeset |
|
54 |
107 |
818 |
5 |
| unset |
|
8 |
19 |
150 |
2 |
| skip_varname |
|
7 |
11 |
69 |
2 |
| skip_wdvarname |
|
13 |
27 |
155 |
2 |
| is_wdvarname |
|
2 |
5 |
35 |
2 |
| is_wdvarassign |
|
3 |
5 |
39 |
1 |
| makenv |
|
8 |
30 |
245 |
1 |
| change_random |
|
1 |
4 |
10 |
1 |
| special |
|
3 |
6 |
46 |
1 |
| unspecial |
|
2 |
7 |
38 |
1 |
| getspec |
|
8 |
31 |
180 |
1 |
| setspec |
|
31 |
95 |
510 |
1 |
| unsetspec |
|
13 |
34 |
132 |
1 |
| arraysearch |
|
8 |
34 |
232 |
2 |
| array_ref_len |
|
6 |
12 |
65 |
1 |
| arrayname |
|
2 |
7 |
48 |
1 |
| set_array |
|
4 |
14 |
101 |
3 |
| Source file: ./bin/ksh/table.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| hash |
|
2 |
7 |
41 |
1 |
| ktinit |
|
2 |
8 |
49 |
3 |
| texpand |
|
9 |
29 |
237 |
2 |
| ktsearch |
|
7 |
14 |
120 |
3 |
| ktenter |
|
8 |
33 |
251 |
3 |
| ktdelete |
|
1 |
4 |
15 |
1 |
| ktwalk |
|
1 |
5 |
30 |
2 |
| ktnext |
|
4 |
9 |
51 |
1 |
| tnamecmp |
|
1 |
6 |
54 |
2 |
| ktsort |
|
5 |
17 |
142 |
1 |
| tprintinfo |
|
9 |
36 |
239 |
1 |
| Source file: ./bin/ksh/c_test.h |
| Source file: ./bin/ksh/eval.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| substitute |
|
2 |
13 |
84 |
2 |
| eval |
|
3 |
12 |
76 |
2 |
| evalstr |
|
2 |
9 |
62 |
2 |
| evalonestr |
|
3 |
19 |
89 |
2 |
| expand |
|
138 |
422 |
2316 |
3 |
| varsub |
|
60 |
129 |
954 |
5 |
| comsub |
|
10 |
43 |
313 |
2 |
| trimsub |
|
13 |
40 |
245 |
3 |
| glob |
|
2 |
9 |
84 |
3 |
| glob_str |
|
2 |
10 |
77 |
3 |
| globit |
|
37 |
90 |
676 |
5 |
| debunk |
|
11 |
22 |
183 |
3 |
| maybe_expand_tilde |
|
11 |
28 |
201 |
4 |
| tilde |
|
7 |
15 |
106 |
1 |
| homedir |
|
3 |
14 |
94 |
1 |
| alt_expand |
|
22 |
61 |
430 |
5 |
| Source file: ./bin/ksh/shf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| shf_open |
|
9 |
30 |
221 |
4 |
| shf_fdopen |
|
13 |
48 |
281 |
3 |
| shf_reopen |
|
14 |
37 |
233 |
3 |
| shf_sopen |
|
8 |
27 |
206 |
4 |
| shf_close |
|
5 |
14 |
86 |
1 |
| shf_fdclose |
|
3 |
14 |
76 |
1 |
| shf_sclose |
|
3 |
11 |
64 |
1 |
| shf_flush |
|
8 |
22 |
148 |
1 |
| shf_emptybuf |
|
17 |
64 |
414 |
2 |
| shf_fillbuf |
|
13 |
35 |
214 |
1 |
| shf_read |
|
10 |
24 |
161 |
3 |
| shf_getse |
|
11 |
33 |
214 |
3 |
| shf_getchar |
|
5 |
9 |
69 |
1 |
| shf_ungetc |
|
11 |
24 |
177 |
2 |
| shf_putchar |
|
12 |
32 |
194 |
2 |
| shf_puts |
|
2 |
6 |
35 |
2 |
| shf_write |
|
16 |
50 |
297 |
3 |
| shf_fprintf |
|
1 |
9 |
48 |
3 |
| shf_snprintf |
|
3 |
15 |
96 |
4 |
| shf_smprintf |
|
1 |
10 |
61 |
2 |
| shf_vfprintf |
|
83 |
229 |
1176 |
3 |
| Source file: ./bin/ksh/emacs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| isu8cont |
|
1 |
4 |
21 |
1 |
| x_emacs |
|
26 |
110 |
569 |
2 |
| x_insert |
|
3 |
13 |
56 |
1 |
| x_ins_string |
|
1 |
4 |
13 |
1 |
| x_do_ins |
|
2 |
12 |
66 |
2 |
| x_ins |
|
4 |
17 |
91 |
1 |
| x_del_back |
|
5 |
15 |
75 |
1 |
| x_del_char |
|
5 |
14 |
66 |
1 |
| x_delete |
|
12 |
40 |
215 |
2 |
| x_del_bword |
|
1 |
5 |
19 |
1 |
| x_mv_bword |
|
1 |
5 |
17 |
1 |
| x_mv_fword |
|
1 |
5 |
19 |
1 |
| x_del_fword |
|
1 |
5 |
19 |
1 |
| x_bword |
|
7 |
21 |
95 |
1 |
| x_fword |
|
7 |
20 |
84 |
1 |
| x_goto |
|
7 |
13 |
84 |
1 |
| x_bs |
|
2 |
7 |
27 |
1 |
| x_size_str |
|
2 |
7 |
30 |
1 |
| x_size |
|
4 |
10 |
39 |
1 |
| x_zots |
|
8 |
12 |
71 |
1 |
| x_zotc |
|
3 |
10 |
49 |
1 |
| x_mv_back |
|
5 |
14 |
68 |
1 |
| x_mv_forw |
|
5 |
14 |
66 |
1 |
| x_search_char_forw |
|
5 |
16 |
93 |
1 |
| x_search_char_back |
|
7 |
18 |
90 |
1 |
| x_newline |
|
1 |
8 |
30 |
1 |
| x_end_of_text |
|
1 |
8 |
31 |
1 |
| x_beg_hist |
|
1 |
1 |
15 |
1 |
| x_end_hist |
|
1 |
1 |
15 |
1 |
| x_prev_com |
|
1 |
1 |
17 |
1 |
| x_next_com |
|
1 |
1 |
17 |
1 |
| x_goto_hist |
|
2 |
8 |
31 |
1 |
| x_load_hist |
|
4 |
17 |
90 |
1 |
| x_nl_next_com |
|
1 |
5 |
29 |
1 |
| x_eot_del |
|
3 |
7 |
32 |
1 |
| kb_find_hist_func |
|
2 |
11 |
69 |
1 |
| x_search_hist |
|
15 |
57 |
315 |
1 |
| x_search |
|
5 |
18 |
113 |
3 |
| x_match |
|
4 |
9 |
75 |
2 |
| x_del_line |
|
1 |
15 |
68 |
1 |
| x_mv_end |
|
1 |
5 |
15 |
1 |
| x_mv_begin |
|
1 |
5 |
15 |
1 |
| x_draw_line |
|
1 |
5 |
16 |
1 |
| x_redraw |
|
19 |
55 |
304 |
1 |
| x_transpose |
|
5 |
30 |
195 |
1 |
| x_literal |
|
1 |
5 |
14 |
1 |
| x_kill |
|
6 |
19 |
96 |
1 |
| x_push |
|
1 |
7 |
47 |
1 |
| x_yank |
|
3 |
16 |
65 |
1 |
| x_meta_yank |
|
6 |
22 |
113 |
1 |
| x_abort |
|
1 |
7 |
29 |
1 |
| x_error |
|
1 |
5 |
15 |
1 |
| kb_encode |
|
4 |
21 |
107 |
1 |
| kb_decode |
|
3 |
15 |
112 |
1 |
| kb_match |
|
3 |
12 |
67 |
1 |
| kb_del |
|
1 |
6 |
33 |
1 |
| kb_add_string |
|
7 |
27 |
208 |
3 |
| kb_add |
|
3 |
16 |
115 |
3 |
| kb_print |
|
3 |
10 |
73 |
1 |
| x_bind |
|
18 |
69 |
446 |
4 |
| x_init_emacs |
|
1 |
94 |
1465 |
1 |
| x_emacs_keys |
|
6 |
17 |
141 |
1 |
| x_set_mark |
|
1 |
5 |
14 |
1 |
| x_kill_region |
|
3 |
20 |
80 |
1 |
| x_xchg_point_mark |
|
2 |
12 |
43 |
1 |
| x_noop |
|
1 |
4 |
10 |
1 |
| x_comp_comm |
|
1 |
5 |
17 |
1 |
| x_list_comm |
|
1 |
5 |
17 |
1 |
| x_complete |
|
1 |
5 |
17 |
1 |
| x_enumerate |
|
1 |
5 |
17 |
1 |
| x_comp_file |
|
1 |
5 |
17 |
1 |
| x_list_file |
|
1 |
5 |
17 |
1 |
| x_comp_list |
|
1 |
5 |
17 |
1 |
| x_expand |
|
6 |
25 |
154 |
1 |
| do_complete |
|
10 |
41 |
239 |
2 |
| x_adjust |
|
2 |
9 |
42 |
1 |
| x_e_ungetc |
|
1 |
4 |
11 |
1 |
| x_e_getc |
|
4 |
16 |
66 |
1 |
| x_e_getu8 |
|
18 |
31 |
197 |
2 |
| x_e_putc |
|
12 |
24 |
98 |
1 |
| x_debug_info |
|
1 |
14 |
93 |
1 |
| x_e_puts |
|
3 |
6 |
30 |
1 |
| x_set_arg |
|
5 |
18 |
97 |
1 |
| x_comment |
|
3 |
17 |
88 |
1 |
| x_prev_histword |
|
17 |
37 |
201 |
1 |
| x_fold_upper |
|
1 |
4 |
13 |
1 |
| x_fold_lower |
|
1 |
4 |
13 |
1 |
| x_fold_capitalize |
|
1 |
4 |
13 |
1 |
| x_fold_case |
|
14 |
34 |
210 |
1 |
| x_lastcp |
|
4 |
12 |
66 |
1 |
| Source file: ./bin/ksh/history.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| c_fc |
|
74 |
191 |
1200 |
1 |
| hist_execute |
|
5 |
22 |
128 |
1 |
| hist_replace |
|
6 |
36 |
233 |
4 |
| hist_get |
|
11 |
35 |
219 |
3 |
| hist_get_newest |
|
5 |
10 |
44 |
1 |
| hist_get_oldest |
|
2 |
8 |
25 |
1 |
| histbackup |
|
3 |
10 |
49 |
1 |
| histreset |
|
2 |
8 |
43 |
1 |
| histpos |
|
1 |
4 |
9 |
1 |
| histnum |
|
3 |
11 |
47 |
1 |
| findhist |
|
10 |
15 |
124 |
4 |
| findhistrel |
|
5 |
16 |
81 |
1 |
| sethistcontrol |
|
5 |
17 |
114 |
1 |
| sethistsize |
|
5 |
17 |
121 |
1 |
| sethistfile |
|
5 |
14 |
62 |
1 |
| init_histvec |
|
2 |
11 |
54 |
1 |
| history_lock |
|
4 |
9 |
38 |
1 |
| histsave |
|
16 |
46 |
292 |
3 |
| history_open |
|
6 |
20 |
123 |
1 |
| history_close |
|
2 |
8 |
26 |
1 |
| history_load |
|
7 |
31 |
184 |
1 |
| hist_init |
|
10 |
29 |
154 |
1 |
| history_write |
|
6 |
23 |
142 |
1 |
| hist_finish |
|
1 |
4 |
10 |
1 |
| init_histvec |
|
1 |
3 |
6 |
1 |
| hist_init |
|
1 |
3 |
8 |
1 |
| hist_finish |
|
1 |
3 |
6 |
1 |
| histsave |
|
1 |
4 |
20 |
3 |
| Source file: ./bin/ksh/trap.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| inittraps |
|
3 |
29 |
226 |
1 |
| alarm_init |
|
1 |
6 |
32 |
1 |
| alarm_catcher |
|
3 |
13 |
54 |
1 |
| gettrap |
|
18 |
27 |
208 |
2 |
| trapsig |
|
5 |
15 |
87 |
1 |
| intrcheck |
|
2 |
5 |
17 |
1 |
| fatal_trap_check |
|
4 |
9 |
61 |
1 |
| trap_pending |
|
7 |
10 |
81 |
1 |
| runtraps |
|
10 |
21 |
124 |
1 |
| runtrap |
|
10 |
36 |
187 |
1 |
| cleartraps |
|
5 |
13 |
83 |
1 |
| restoresigs |
|
4 |
9 |
66 |
1 |
| settrap |
|
9 |
22 |
156 |
2 |
| block_pipe |
|
4 |
14 |
86 |
1 |
| restore_pipe |
|
2 |
5 |
24 |
1 |
| setsig |
|
12 |
30 |
213 |
3 |
| setexecsig |
|
7 |
20 |
105 |
2 |
| Source file: ./bin/ksh/config.h |
| Source file: ./bin/ksh/edit.h |
| Source file: ./bin/ksh/syn.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| yyparse |
|
5 |
11 |
63 |
1 |
| pipeline |
|
5 |
17 |
114 |
1 |
| andor |
|
6 |
15 |
97 |
1 |
| c_list |
|
14 |
31 |
188 |
1 |
| synio |
|
6 |
21 |
120 |
1 |
| musthave |
|
2 |
5 |
26 |
2 |
| nested |
|
1 |
10 |
66 |
3 |
| get_command |
|
46 |
184 |
1132 |
1 |
| dogroup |
|
3 |
15 |
71 |
1 |
| thenpart |
|
2 |
11 |
62 |
1 |
| elsepart |
|
4 |
18 |
91 |
1 |
| caselist |
|
5 |
22 |
131 |
1 |
| casepart |
|
4 |
23 |
155 |
1 |
| function_body |
|
7 |
36 |
297 |
2 |
| wordlist |
|
6 |
17 |
105 |
1 |
| block |
|
1 |
9 |
56 |
4 |
| initkeywords |
|
3 |
14 |
93 |
1 |
| syntaxerr |
|
11 |
44 |
231 |
1 |
| nesting_push |
|
1 |
6 |
31 |
2 |
| nesting_pop |
|
1 |
4 |
14 |
1 |
| newtp |
|
1 |
12 |
76 |
1 |
| compile |
|
1 |
9 |
35 |
1 |
| assign_command |
|
6 |
9 |
67 |
1 |
| inalias |
|
4 |
7 |
43 |
1 |
| dbtestp_isa |
|
21 |
37 |
295 |
2 |
| dbtestp_getopnd |
|
2 |
9 |
52 |
3 |
| dbtestp_eval |
|
1 |
5 |
27 |
5 |
| dbtestp_error |
|
2 |
11 |
72 |
3 |
| Source file: ./bin/ksh/main.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| make_argv |
|
2 |
11 |
84 |
2 |
| main |
|
56 |
190 |
1415 |
2 |
| init_username |
|
4 |
10 |
64 |
1 |
| include |
|
16 |
55 |
313 |
4 |
| command |
|
1 |
8 |
49 |
2 |
| shell |
|
36 |
78 |
416 |
2 |
| unwind |
|
19 |
31 |
167 |
1 |
| newenv |
|
1 |
13 |
75 |
1 |
| quitenv |
|
16 |
39 |
239 |
1 |
| cleanup_parents_env |
|
5 |
15 |
96 |
1 |
| cleanup_proc_env |
|
2 |
6 |
32 |
1 |
| reclaim |
|
1 |
6 |
27 |
1 |
| remove_temps |
|
3 |
7 |
39 |
1 |
| is_restricted |
|
6 |
13 |
75 |
1 |
| Source file: ./bin/ksh/io.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| errorf |
|
3 |
15 |
78 |
2 |
| warningf |
|
1 |
10 |
55 |
3 |
| bi_errorf |
|
7 |
21 |
118 |
2 |
| internal_errorf |
|
2 |
13 |
71 |
3 |
| error_prefix |
|
9 |
11 |
92 |
1 |
| shellf |
|
2 |
10 |
47 |
2 |
| shprintf |
|
2 |
9 |
47 |
2 |
| kshdebug_init_ |
|
3 |
11 |
56 |
1 |
| kshdebug_printf_ |
|
2 |
11 |
58 |
2 |
| kshdebug_dump_ |
|
5 |
18 |
129 |
3 |
| can_seek |
|
3 |
6 |
34 |
1 |
| initio |
|
1 |
8 |
41 |
1 |
| ksh_dup2 |
|
4 |
7 |
44 |
3 |
| savefd |
|
4 |
17 |
72 |
1 |
| restfd |
|
4 |
11 |
59 |
2 |
| openpipe |
|
4 |
12 |
94 |
1 |
| closepipe |
|
1 |
5 |
24 |
1 |
| check_fd |
|
16 |
27 |
188 |
3 |
| coproc_init |
|
1 |
6 |
33 |
1 |
| coproc_read_close |
|
3 |
8 |
42 |
1 |
| coproc_readw_close |
|
4 |
7 |
43 |
1 |
| coproc_write_close |
|
3 |
7 |
37 |
1 |
| coproc_getfd |
|
4 |
9 |
51 |
2 |
| coproc_cleanup |
|
7 |
17 |
98 |
1 |
| maketemp |
|
3 |
22 |
160 |
3 |
| Source file: ./bin/ksh/edit.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| x_init |
|
3 |
11 |
73 |
1 |
| x_sigwinch |
|
1 |
4 |
11 |
1 |
| check_sigwinch |
|
8 |
18 |
133 |
1 |
| x_read |
|
6 |
15 |
75 |
2 |
| x_getc |
|
5 |
14 |
75 |
1 |
| x_flush |
|
1 |
4 |
11 |
1 |
| x_putc |
|
1 |
4 |
14 |
1 |
| x_puts |
|
2 |
5 |
25 |
1 |
| x_mode |
|
11 |
46 |
318 |
1 |
| set_editmode |
|
6 |
16 |
103 |
1 |
| x_do_comment |
|
11 |
32 |
218 |
3 |
| x_print_expansions |
|
9 |
31 |
208 |
3 |
| x_file_glob |
|
9 |
44 |
270 |
4 |
| path_order_cmp |
|
2 |
8 |
79 |
2 |
| x_command_glob |
|
13 |
69 |
568 |
4 |
| x_locate_word |
|
18 |
35 |
245 |
5 |
| x_try_array |
|
25 |
60 |
491 |
6 |
| x_cf_glob |
|
8 |
26 |
193 |
8 |
| add_glob |
|
15 |
24 |
173 |
2 |
| x_longest_prefix |
|
5 |
16 |
103 |
2 |
| x_free_words |
|
2 |
7 |
44 |
2 |
| x_basename |
|
9 |
15 |
101 |
2 |
| glob_table |
|
3 |
9 |
78 |
3 |
| glob_path |
|
11 |
54 |
393 |
4 |
| x_escape |
|
7 |
24 |
173 |
3 |
| Source file: ./bin/cat/cat.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
17 |
42 |
198 |
2 |
| cook_args |
|
6 |
24 |
118 |
1 |
| cook_buf |
|
30 |
60 |
335 |
1 |
| raw_args |
|
6 |
22 |
122 |
1 |
| raw_cat |
|
10 |
25 |
186 |
1 |
| Source file: ./bin/ln/ln.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
15 |
47 |
255 |
2 |
| linkit |
|
25 |
55 |
389 |
3 |
| usage |
|
1 |
9 |
31 |
1 |
| Source file: ./bin/chmod/chmod.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
72 |
191 |
1100 |
2 |
| a_uid |
|
5 |
18 |
114 |
2 |
| a_gid |
|
4 |
14 |
95 |
1 |
| usage |
|
5 |
12 |
47 |
1 |
| Source file: ./bin/chio/pathnames.h |
| Source file: ./bin/expr/expr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| make_int |
|
2 |
11 |
55 |
1 |
| make_str |
|
3 |
10 |
65 |
1 |
| free_value |
|
2 |
6 |
31 |
1 |
| is_integer |
|
6 |
26 |
127 |
2 |
| to_integer |
|
3 |
13 |
64 |
1 |
| to_string |
|
3 |
10 |
63 |
1 |
| is_zero_or_null |
|
4 |
7 |
52 |
1 |
| nexttoken |
|
11 |
34 |
162 |
1 |
| error |
|
1 |
4 |
13 |
1 |
| eval6 |
|
4 |
16 |
70 |
1 |
| eval5 |
|
7 |
39 |
277 |
1 |
| eval4 |
|
13 |
31 |
211 |
1 |
| eval3 |
|
6 |
20 |
117 |
1 |
| eval2 |
|
21 |
65 |
383 |
1 |
| eval1 |
|
4 |
17 |
81 |
1 |
| eval0 |
|
3 |
16 |
68 |
1 |
| main |
|
6 |
18 |
121 |
2 |
| Source file: ./bin/chio/defs.h |
| Source file: ./bin/csh/pathnames.h |
| Source file: ./bin/kill/kill.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
28 |
77 |
542 |
2 |
| signame_to_signum |
|
4 |
11 |
66 |
1 |
| nosig |
|
1 |
6 |
25 |
1 |
| printsignals |
|
4 |
11 |
80 |
1 |
| usage |
|
1 |
11 |
59 |
1 |
| Source file: ./bin/csh/const.c |
| Source file: ./bin/csh/alloc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| Malloc |
|
2 |
9 |
39 |
1 |
| Reallocarray |
|
2 |
9 |
50 |
3 |
| Calloc |
|
2 |
9 |
44 |
2 |
| Source file: ./bin/csh/exp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| expr |
|
1 |
4 |
19 |
1 |
| exp0 |
|
5 |
11 |
73 |
2 |
| exp1 |
|
5 |
11 |
74 |
2 |
| exp2_ |
|
3 |
11 |
67 |
2 |
| exp2a |
|
3 |
11 |
67 |
2 |
| exp2b |
|
3 |
11 |
67 |
2 |
| exp2c |
|
9 |
33 |
182 |
2 |
| exp3 |
|
9 |
31 |
197 |
2 |
| exp3a |
|
5 |
19 |
139 |
2 |
| exp4 |
|
5 |
23 |
140 |
2 |
| exp5 |
|
12 |
40 |
229 |
2 |
| exp6 |
|
35 |
119 |
785 |
2 |
| evalav |
|
3 |
25 |
170 |
1 |
| isa |
|
35 |
45 |
340 |
2 |
| egetn |
|
4 |
6 |
40 |
1 |
| Source file: ./bin/ksh/exec.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| execute |
|
85 |
270 |
1868 |
3 |
| comexec |
|
67 |
232 |
1434 |
5 |
| scriptexec |
|
5 |
13 |
109 |
2 |
| shcomexec |
|
2 |
8 |
54 |
1 |
| findfunc |
|
5 |
18 |
116 |
3 |
| define |
|
8 |
29 |
187 |
2 |
| builtin |
|
5 |
19 |
114 |
2 |
| findcom |
|
37 |
77 |
599 |
2 |
| flushcom |
|
6 |
13 |
104 |
1 |
| search_access |
|
10 |
19 |
132 |
3 |
| search |
|
9 |
39 |
260 |
4 |
| call_builtin |
|
1 |
15 |
84 |
2 |
| iosetup |
|
40 |
102 |
666 |
2 |
| herein |
|
10 |
48 |
302 |
2 |
| do_selectargs |
|
8 |
26 |
168 |
2 |
| select_fmt_entry |
|
1 |
7 |
57 |
4 |
| pr_menu |
|
4 |
19 |
141 |
1 |
| plain_fmt_entry |
|
1 |
5 |
43 |
4 |
| pr_list |
|
3 |
12 |
93 |
1 |
| dbteste_isa |
|
11 |
29 |
207 |
2 |
| dbteste_getopnd |
|
5 |
14 |
82 |
3 |
| dbteste_eval |
|
1 |
5 |
38 |
5 |
| dbteste_error |
|
1 |
5 |
33 |
3 |
| Source file: ./bin/csh/misc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| any |
|
4 |
9 |
44 |
2 |
| strsave |
|
4 |
13 |
80 |
1 |
| blkend |
|
2 |
6 |
21 |
1 |
| blkpr |
|
3 |
8 |
56 |
2 |
| blklen |
|
2 |
7 |
27 |
1 |
| blkcpy |
|
2 |
7 |
39 |
2 |
| blkcat |
|
1 |
5 |
30 |
2 |
| blkfree |
|
3 |
9 |
41 |
1 |
| saveblk |
|
2 |
8 |
60 |
1 |
| blkspl |
|
1 |
7 |
62 |
2 |
| lastchr |
|
4 |
10 |
45 |
1 |
| fdcmp |
|
5 |
15 |
107 |
1 |
| closem |
|
4 |
15 |
61 |
1 |
| donefds |
|
1 |
7 |
34 |
1 |
| dmove |
|
6 |
15 |
90 |
2 |
| dcopy |
|
6 |
11 |
76 |
2 |
| renum |
|
5 |
14 |
81 |
2 |
| lshift |
|
3 |
7 |
48 |
2 |
| number |
|
6 |
14 |
69 |
1 |
| copyblk |
|
1 |
5 |
43 |
1 |
| strip |
|
3 |
9 |
43 |
1 |
| quote |
|
3 |
9 |
42 |
1 |
| udvar |
|
1 |
5 |
23 |
1 |
| prefix |
|
5 |
11 |
58 |
2 |
| Source file: ./bin/csh/str.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| blk2short |
|
3 |
12 |
86 |
1 |
| short2blk |
|
3 |
12 |
89 |
1 |
| str2short |
|
5 |
25 |
154 |
1 |
| short2str |
|
5 |
25 |
148 |
1 |
| Strlcpy |
|
8 |
19 |
109 |
3 |
| Strlcat |
|
6 |
22 |
130 |
3 |
| Strchr |
|
3 |
9 |
36 |
2 |
| Strrchr |
|
3 |
11 |
43 |
2 |
| Strlen |
|
2 |
7 |
31 |
1 |
| Strcmp |
|
7 |
13 |
86 |
2 |
| Strncmp |
|
7 |
20 |
108 |
3 |
| Strsave |
|
4 |
13 |
78 |
1 |
| Strspl |
|
7 |
19 |
149 |
2 |
| Strend |
|
3 |
8 |
31 |
1 |
| Strstr |
|
4 |
12 |
65 |
2 |
| short2qstr |
|
7 |
34 |
206 |
1 |
| vis_str |
|
4 |
18 |
115 |
1 |
| Source file: ./bin/ksh/vi.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| x_vi |
|
17 |
47 |
278 |
2 |
| vi_hook |
|
72 |
246 |
1274 |
1 |
| vi_reset |
|
1 |
12 |
60 |
2 |
| nextstate |
|
6 |
15 |
64 |
1 |
| vi_insert |
|
37 |
113 |
683 |
1 |
| vi_cmd |
|
166 |
432 |
2577 |
2 |
| domove |
|
64 |
114 |
668 |
3 |
| redo_insert |
|
5 |
11 |
65 |
1 |
| yank_range |
|
2 |
6 |
37 |
2 |
| bracktype |
|
7 |
19 |
57 |
1 |
| save_cbuf |
|
1 |
6 |
32 |
1 |
| restore_cbuf |
|
1 |
6 |
29 |
1 |
| save_edstate |
|
1 |
12 |
90 |
1 |
| restore_edstate |
|
1 |
8 |
58 |
2 |
| free_edstate |
|
1 |
5 |
25 |
1 |
| edit_reset |
|
4 |
31 |
230 |
2 |
| x_vi_putbuf |
|
1 |
4 |
22 |
2 |
| putbuf |
|
6 |
20 |
152 |
3 |
| del_range |
|
2 |
6 |
51 |
2 |
| findch |
|
9 |
25 |
113 |
4 |
| forwword |
|
9 |
26 |
128 |
1 |
| backword |
|
9 |
28 |
124 |
1 |
| endword |
|
9 |
27 |
125 |
1 |
| Forwword |
|
7 |
14 |
83 |
1 |
| Backword |
|
7 |
15 |
79 |
1 |
| Endword |
|
7 |
14 |
82 |
1 |
| grabhist |
|
7 |
24 |
142 |
2 |
| grabsearch |
|
13 |
29 |
203 |
4 |
| redraw_line |
|
2 |
11 |
51 |
1 |
| refresh |
|
2 |
7 |
40 |
1 |
| outofwin |
|
4 |
13 |
73 |
1 |
| rewindow |
|
4 |
21 |
129 |
1 |
| newcol |
|
3 |
8 |
43 |
2 |
| display |
|
39 |
107 |
592 |
3 |
| ed_mov_opt |
|
10 |
23 |
137 |
2 |
| expand_word |
|
12 |
48 |
271 |
1 |
| complete_word |
|
20 |
79 |
450 |
2 |
| print_expansions |
|
2 |
18 |
100 |
2 |
| char_len |
|
5 |
11 |
51 |
1 |
| x_vi_zotc |
|
5 |
12 |
57 |
1 |
| vi_pprompt |
|
2 |
4 |
22 |
1 |
| vi_error |
|
1 |
6 |
19 |
1 |
| vi_macro_reset |
|
2 |
7 |
40 |
1 |
| isu8cont |
|
2 |
4 |
27 |
1 |
| Source file: ./bin/csh/error.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| seterror |
|
4 |
13 |
87 |
2 |
| stderror |
|
15 |
45 |
300 |
2 |
| Source file: ./bin/csh/csh.h |
| Source file: ./bin/chio/chio.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
13 |
34 |
266 |
2 |
| do_move |
|
8 |
48 |
292 |
3 |
| do_exchange |
|
9 |
55 |
318 |
3 |
| do_position |
|
6 |
36 |
199 |
3 |
| do_params |
|
8 |
25 |
191 |
3 |
| do_getpicker |
|
3 |
16 |
95 |
3 |
| do_setpicker |
|
4 |
19 |
115 |
3 |
| do_status |
|
22 |
101 |
526 |
3 |
| check_source_drive |
|
10 |
38 |
308 |
1 |
| find_voltag |
|
14 |
57 |
348 |
3 |
| parse_element_type |
|
3 |
8 |
64 |
1 |
| parse_element_unit |
|
3 |
9 |
59 |
1 |
| parse_special |
|
2 |
8 |
36 |
1 |
| is_special |
|
3 |
8 |
60 |
1 |
| bits_to_string |
|
5 |
21 |
169 |
2 |
| usage |
|
2 |
11 |
67 |
1 |
| Source file: ./bin/csh/time.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| settimes |
|
1 |
8 |
52 |
1 |
| dotime |
|
1 |
10 |
80 |
2 |
| donice |
|
4 |
11 |
78 |
2 |
| ruadd |
|
2 |
20 |
172 |
2 |
| prusage |
|
29 |
86 |
715 |
4 |
| pdeltat |
|
1 |
7 |
52 |
2 |
| psecs |
|
2 |
17 |
90 |
1 |
| pcsecs |
|
2 |
19 |
118 |
1 |
| Source file: ./bin/csh/extern.h |
| Source file: ./bin/csh/hist.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| savehist |
|
8 |
25 |
160 |
1 |
| enthist |
|
2 |
18 |
129 |
3 |
| hfree |
|
1 |
5 |
22 |
1 |
| dohist |
|
10 |
35 |
174 |
2 |
| dohist1 |
|
5 |
16 |
103 |
4 |
| phist |
|
2 |
6 |
42 |
2 |
| Source file: ./bin/csh/lex.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| lex |
|
6 |
29 |
166 |
1 |
| prlex |
|
4 |
12 |
81 |
2 |
| copylex |
|
2 |
17 |
108 |
2 |
| freelex |
|
2 |
11 |
56 |
1 |
| word |
|
38 |
112 |
517 |
1 |
| getC1 |
|
17 |
53 |
253 |
1 |
| getdol |
|
52 |
172 |
899 |
1 |
| addla |
|
5 |
15 |
121 |
1 |
| getexcl |
|
22 |
73 |
421 |
1 |
| getsub |
|
40 |
111 |
656 |
1 |
| dosub |
|
11 |
45 |
268 |
3 |
| subword |
|
18 |
64 |
369 |
3 |
| domod |
|
20 |
41 |
270 |
2 |
| matchs |
|
4 |
6 |
40 |
2 |
| getsel |
|
22 |
74 |
371 |
3 |
| gethent |
|
35 |
103 |
563 |
1 |
| findev |
|
11 |
39 |
218 |
2 |
| setexclp |
|
3 |
6 |
25 |
1 |
| unreadc |
|
1 |
4 |
11 |
1 |
| readc |
|
34 |
108 |
541 |
1 |
| bgetc |
|
27 |
87 |
543 |
1 |
| bfree |
|
5 |
17 |
95 |
1 |
| bseek |
|
4 |
19 |
82 |
1 |
| btell |
|
4 |
20 |
88 |
1 |
| btoeof |
|
1 |
12 |
53 |
1 |
| settell |
|
6 |
13 |
96 |
1 |
| Source file: ./bin/csh/char.h |
| Source file: ./bin/csh/proc.h |
| Source file: ./bin/csh/dir.h |
| Source file: ./bin/csh/glob.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| globtilde |
|
8 |
26 |
190 |
2 |
| globbrace |
|
24 |
77 |
477 |
3 |
| expbrace |
|
16 |
54 |
386 |
3 |
| globexpand |
|
9 |
43 |
288 |
1 |
| handleone |
|
5 |
31 |
148 |
3 |
| libglob |
|
12 |
37 |
215 |
1 |
| globone |
|
14 |
51 |
319 |
2 |
| globall |
|
9 |
24 |
147 |
1 |
| ginit |
|
1 |
7 |
36 |
1 |
| rscan |
|
3 |
7 |
48 |
2 |
| trim |
|
3 |
7 |
35 |
1 |
| tglob |
|
17 |
31 |
170 |
1 |
| dobackp |
|
11 |
37 |
218 |
2 |
| backeval |
|
25 |
96 |
590 |
2 |
| psave |
|
2 |
6 |
25 |
1 |
| pword |
|
2 |
12 |
68 |
1 |
| Gmatch |
|
3 |
17 |
120 |
2 |
| pmatch |
|
21 |
51 |
282 |
2 |
| Gcat |
|
6 |
20 |
165 |
2 |
| sortscmp |
|
7 |
14 |
127 |
2 |
| Source file: ./bin/csh/parse.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| alias |
|
3 |
16 |
73 |
1 |
| asyntax |
|
3 |
10 |
52 |
2 |
| asyn0 |
|
14 |
31 |
159 |
2 |
| asyn3 |
|
12 |
45 |
310 |
2 |
| freenod |
|
2 |
12 |
70 |
2 |
| syntax |
|
3 |
9 |
61 |
3 |
| syn0 |
|
17 |
52 |
317 |
3 |
| syn1 |
|
8 |
28 |
177 |
3 |
| syn1a |
|
7 |
28 |
171 |
3 |
| syn1b |
|
7 |
26 |
167 |
3 |
| syn2 |
|
10 |
33 |
216 |
3 |
| syn3 |
|
63 |
163 |
872 |
3 |
| freesyn |
|
9 |
27 |
136 |
1 |
| Source file: ./bin/csh/file.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cl_flush |
|
11 |
29 |
220 |
1 |
| cl_getc |
|
5 |
17 |
68 |
1 |
| cl_lastw |
|
4 |
15 |
101 |
1 |
| cl_putc |
|
1 |
5 |
30 |
2 |
| cl_visc |
|
5 |
13 |
84 |
2 |
| cl_abort |
|
2 |
12 |
65 |
2 |
| cl_erasec |
|
2 |
6 |
28 |
2 |
| cl_erasew |
|
9 |
15 |
146 |
2 |
| cl_beep |
|
2 |
5 |
25 |
1 |
| cl_insert |
|
3 |
9 |
49 |
2 |
| cl_kill |
|
1 |
5 |
21 |
2 |
| cl_list |
|
4 |
16 |
99 |
2 |
| cl_literal |
|
2 |
9 |
42 |
2 |
| cl_recognize |
|
4 |
18 |
105 |
2 |
| cl_reprint |
|
1 |
7 |
35 |
2 |
| cl_status |
|
1 |
6 |
30 |
2 |
| setup_tty |
|
2 |
18 |
115 |
1 |
| catn |
|
5 |
9 |
56 |
3 |
| copyn |
|
3 |
7 |
43 |
3 |
| filetype |
|
8 |
25 |
153 |
2 |
| print_by_column |
|
12 |
31 |
285 |
3 |
| tilde |
|
6 |
23 |
173 |
2 |
| extract_dir_and_name |
|
2 |
13 |
77 |
3 |
| getentry |
|
4 |
13 |
82 |
2 |
| free_items |
|
2 |
7 |
40 |
2 |
| tsearch |
|
26 |
81 |
513 |
3 |
| recognize |
|
5 |
16 |
98 |
4 |
| is_prefix |
|
3 |
8 |
41 |
2 |
| is_suffix |
|
7 |
14 |
78 |
2 |
| tenex |
|
11 |
55 |
361 |
2 |
| ignored |
|
5 |
11 |
76 |
1 |
| Source file: ./bin/csh/char.c |
| Source file: ./bin/csh/set.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| doset |
|
31 |
94 |
588 |
2 |
| getinx |
|
4 |
10 |
68 |
2 |
| asx |
|
1 |
6 |
55 |
3 |
| getvx |
|
4 |
9 |
59 |
2 |
| dolet |
|
26 |
78 |
485 |
2 |
| xset |
|
2 |
11 |
59 |
2 |
| operate |
|
6 |
23 |
138 |
3 |
| putn |
|
3 |
9 |
59 |
1 |
| getn |
|
8 |
20 |
112 |
1 |
| value1 |
|
3 |
6 |
52 |
2 |
| madrof |
|
4 |
11 |
70 |
2 |
| adrof1 |
|
4 |
12 |
75 |
2 |
| set |
|
1 |
7 |
53 |
2 |
| set1 |
|
3 |
17 |
85 |
3 |
| setq |
|
3 |
23 |
176 |
3 |
| unset |
|
4 |
12 |
66 |
2 |
| unset1 |
|
4 |
12 |
76 |
2 |
| unsetv |
|
2 |
7 |
39 |
1 |
| unsetv1 |
|
5 |
25 |
161 |
1 |
| setNS |
|
1 |
4 |
18 |
1 |
| shift |
|
4 |
17 |
94 |
2 |
| exportpath |
|
6 |
18 |
125 |
1 |
| balance |
|
20 |
77 |
439 |
3 |
| plist |
|
9 |
35 |
199 |
1 |
| Source file: ./bin/csh/dol.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| Dfix |
|
5 |
17 |
93 |
1 |
| Dfix1 |
|
3 |
16 |
90 |
1 |
| Dfix2 |
|
2 |
12 |
46 |
1 |
| Dpack |
|
9 |
38 |
202 |
2 |
| Dword |
|
28 |
88 |
425 |
1 |
| DgetC |
|
11 |
41 |
192 |
1 |
| dolerror |
|
1 |
5 |
23 |
1 |
| Dgetdol |
|
72 |
209 |
1165 |
1 |
| fixDolMod |
|
22 |
55 |
307 |
1 |
| setDolp |
|
22 |
89 |
473 |
1 |
| unDredc |
|
1 |
4 |
11 |
1 |
| Dredc |
|
4 |
16 |
82 |
1 |
| Dtestq |
|
2 |
5 |
20 |
1 |
| heredoc |
|
26 |
106 |
647 |
1 |
| Source file: ./bin/csh/init.c |
| Source file: ./bin/csh/sem.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| execute |
|
99 |
300 |
1951 |
4 |
| vffree |
|
1 |
4 |
12 |
1 |
| splicepipe |
|
5 |
32 |
213 |
2 |
| doio |
|
17 |
75 |
562 |
3 |
| mypipe |
|
4 |
11 |
77 |
1 |
| chkclob |
|
3 |
9 |
44 |
1 |
| Source file: ./bin/csh/func.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| isbfunc |
|
7 |
33 |
253 |
1 |
| func |
|
3 |
12 |
86 |
2 |
| doonintr |
|
7 |
30 |
172 |
2 |
| donohup |
|
3 |
8 |
42 |
2 |
| dozip |
|
1 |
4 |
14 |
2 |
| prvars |
|
1 |
4 |
12 |
1 |
| doalias |
|
6 |
23 |
140 |
2 |
| unalias |
|
1 |
4 |
21 |
2 |
| dologout |
|
1 |
5 |
21 |
2 |
| dologin |
|
1 |
9 |
64 |
2 |
| islogin |
|
4 |
8 |
30 |
1 |
| doif |
|
6 |
23 |
126 |
2 |
| reexecute |
|
2 |
6 |
41 |
1 |
| doelse |
|
1 |
4 |
22 |
2 |
| dogoto |
|
1 |
6 |
37 |
2 |
| gotolab |
|
4 |
14 |
90 |
1 |
| doswitch |
|
6 |
14 |
101 |
2 |
| dobreak |
|
2 |
7 |
29 |
2 |
| doexit |
|
8 |
14 |
86 |
2 |
| doforeach |
|
10 |
35 |
245 |
2 |
| dowhile |
|
9 |
29 |
166 |
2 |
| preread |
|
3 |
14 |
78 |
1 |
| doend |
|
2 |
7 |
37 |
2 |
| docontin |
|
2 |
6 |
29 |
2 |
| doagain |
|
3 |
13 |
71 |
1 |
| dorepeat |
|
5 |
21 |
114 |
2 |
| doswbrk |
|
1 |
4 |
22 |
2 |
| srchx |
|
4 |
16 |
118 |
1 |
| search |
|
49 |
85 |
486 |
3 |
| getword |
|
30 |
66 |
361 |
1 |
| keyword |
|
5 |
12 |
119 |
1 |
| toend |
|
3 |
11 |
63 |
1 |
| wfree |
|
14 |
28 |
193 |
1 |
| doecho |
|
1 |
4 |
20 |
2 |
| doglob |
|
1 |
5 |
28 |
2 |
| xecho |
|
15 |
41 |
252 |
2 |
| dosetenv |
|
6 |
25 |
162 |
2 |
| dounsetenv |
|
13 |
29 |
217 |
2 |
| Setenv |
|
6 |
28 |
208 |
2 |
| Unsetenv |
|
6 |
20 |
125 |
1 |
| doumask |
|
8 |
17 |
124 |
2 |
| findlim |
|
5 |
15 |
87 |
1 |
| dolimit |
|
7 |
24 |
143 |
2 |
| getval |
|
21 |
64 |
370 |
2 |
| limtail |
|
4 |
8 |
47 |
2 |
| plim |
|
4 |
16 |
129 |
2 |
| dounlimit |
|
9 |
24 |
138 |
2 |
| setlim |
|
7 |
18 |
127 |
3 |
| dosuspend |
|
4 |
23 |
145 |
2 |
| doeval |
|
7 |
67 |
354 |
2 |
| Source file: ./bin/csh/exec.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| doexec |
|
20 |
95 |
563 |
2 |
| pexerr |
|
3 |
14 |
59 |
1 |
| texec |
|
15 |
67 |
412 |
2 |
| execash |
|
5 |
52 |
343 |
2 |
| xechoit |
|
2 |
8 |
42 |
1 |
| dohash |
|
12 |
33 |
233 |
2 |
| dounhash |
|
1 |
4 |
17 |
2 |
| hashstat |
|
2 |
6 |
43 |
2 |
| hashname |
|
2 |
7 |
37 |
1 |
| iscommand |
|
14 |
41 |
242 |
1 |
| executable |
|
12 |
27 |
201 |
3 |
| dowhich |
|
4 |
25 |
227 |
2 |
| tellmewhat |
|
26 |
97 |
634 |
3 |
| Source file: ./bin/rmdir/rmdir.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
10 |
33 |
193 |
2 |
| rm_path |
|
5 |
14 |
77 |
1 |
| usage |
|
1 |
5 |
20 |
1 |
| Source file: ./bin/echo/echo.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
7 |
20 |
106 |
2 |
| Source file: ./bin/pwd/pwd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
9 |
33 |
165 |
2 |
| getcwd_logical |
|
13 |
22 |
161 |
1 |
| usage |
|
1 |
5 |
20 |
1 |
| Source file: ./bin/mkdir/mkdir.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
15 |
49 |
314 |
2 |
| mkpath |
|
9 |
31 |
174 |
3 |
| usage |
|
1 |
6 |
23 |
1 |
| Source file: ./bin/csh/csh.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
94 |
299 |
1922 |
2 |
| untty |
|
2 |
7 |
34 |
1 |
| importpath |
|
9 |
29 |
168 |
1 |
| srccat |
|
2 |
7 |
51 |
2 |
| srcfile |
|
2 |
10 |
70 |
3 |
| srcunit |
|
14 |
69 |
432 |
3 |
| rechist |
|
8 |
35 |
272 |
1 |
| goodbye |
|
4 |
16 |
103 |
1 |
| exitstat |
|
2 |
7 |
33 |
1 |
| phup |
|
6 |
18 |
110 |
1 |
| pintr |
|
1 |
6 |
21 |
1 |
| pintr1 |
|
8 |
36 |
219 |
1 |
| process |
|
32 |
73 |
405 |
1 |
| dosource |
|
6 |
19 |
146 |
2 |
| mailchk |
|
17 |
35 |
240 |
1 |
| gethdir |
|
6 |
21 |
113 |
2 |
| readf |
|
1 |
4 |
28 |
3 |
| writef |
|
1 |
4 |
29 |
3 |
| seekf |
|
1 |
4 |
27 |
3 |
| closef |
|
1 |
4 |
17 |
1 |
| vis_fputc |
|
2 |
8 |
57 |
2 |
| initdesc |
|
1 |
9 |
90 |
1 |
| xexit |
|
1 |
5 |
16 |
1 |
| defaultpath |
|
1 |
11 |
58 |
1 |
| printprompt |
|
6 |
17 |
105 |
1 |
| Source file: ./bin/date/date.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
26 |
74 |
439 |
2 |
| setthetime |
|
28 |
80 |
512 |
1 |
| badformat |
|
1 |
5 |
15 |
1 |
| usage |
|
1 |
9 |
45 |
1 |
| Source file: ./bin/cp/extern.h |
| Source file: ./bin/cp/cp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
38 |
109 |
590 |
2 |
| find_last_component |
|
7 |
16 |
86 |
1 |
| copy |
|
53 |
150 |
953 |
3 |
| Source file: ./bin/hostname/hostname.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
8 |
29 |
175 |
2 |
| usage |
|
1 |
5 |
23 |
1 |
| Source file: ./bin/test/test.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
21 |
46 |
324 |
2 |
| syntax |
|
3 |
7 |
41 |
2 |
| oexpr |
|
3 |
9 |
48 |
1 |
| aexpr |
|
3 |
9 |
48 |
1 |
| nexpr |
|
2 |
6 |
32 |
1 |
| primary |
|
13 |
32 |
194 |
1 |
| binop |
|
15 |
39 |
246 |
1 |
| t_lex_type |
|
4 |
12 |
59 |
1 |
| filstat |
|
23 |
65 |
289 |
2 |
| t_lex |
|
4 |
17 |
73 |
1 |
| getn |
|
4 |
14 |
82 |
1 |
| newerf |
|
3 |
7 |
51 |
2 |
| olderf |
|
3 |
7 |
51 |
2 |
| equalf |
|
4 |
8 |
59 |
2 |
| Source file: ./bin/sleep/sleep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
17 |
50 |
327 |
2 |
| usage |
|
1 |
5 |
23 |
1 |
| alarmh |
|
1 |
4 |
12 |
1 |
| Source file: ./bin/cp/utils.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| copy_file |
|
44 |
110 |
791 |
2 |
| copy_link |
|
6 |
19 |
137 |
2 |
| copy_fifo |
|
5 |
12 |
83 |
2 |
| copy_special |
|
5 |
12 |
87 |
2 |
| setfile |
|
12 |
35 |
281 |
2 |
| usage |
|
1 |
9 |
35 |
1 |
| Source file: ./bin/csh/dir.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dinit |
|
18 |
51 |
356 |
1 |
| dset |
|
1 |
8 |
59 |
1 |
| skipargs |
|
7 |
22 |
127 |
2 |
| dodirs |
|
2 |
7 |
41 |
2 |
| printdirs |
|
16 |
34 |
287 |
1 |
| dtildepr |
|
3 |
7 |
65 |
2 |
| dtilde |
|
3 |
10 |
58 |
1 |
| dnormalize |
|
12 |
49 |
261 |
1 |
| dochngd |
|
8 |
40 |
276 |
2 |
| dgoto |
|
8 |
30 |
197 |
1 |
| dfollow |
|
13 |
49 |
351 |
1 |
| dopushd |
|
8 |
42 |
294 |
2 |
| dfind |
|
8 |
22 |
130 |
1 |
| dopopd |
|
10 |
31 |
214 |
2 |
| dfree |
|
2 |
10 |
48 |
1 |
| dcanon |
|
64 |
181 |
1349 |
2 |
| dnewcwd |
|
3 |
7 |
36 |
1 |
| Source file: ./bin/ls/extern.h |
| Source file: ./bin/ls/util.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mbsprint |
|
5 |
9 |
68 |
2 |
| usage |
|
1 |
7 |
23 |
1 |
| Source file: ./bin/ls/main.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
1 |
4 |
21 |
2 |
| Source file: ./bin/ls/utf8.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mbsprint |
|
9 |
29 |
167 |
2 |
| Source file: ./bin/ls/ls.h |
| Source file: ./bin/stty/cchar.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| c_cchar |
|
1 |
4 |
42 |
2 |
| csearch |
|
13 |
40 |
345 |
2 |
| Source file: ./bin/ls/print.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| printscol |
|
3 |
10 |
63 |
1 |
| printlong |
|
19 |
49 |
415 |
1 |
| compute_columns |
|
6 |
21 |
107 |
2 |
| printcol |
|
15 |
45 |
313 |
1 |
| printaname |
|
6 |
17 |
120 |
3 |
| printtime |
|
6 |
15 |
95 |
1 |
| printacol |
|
10 |
25 |
171 |
1 |
| printstream |
|
8 |
28 |
176 |
1 |
| printtype |
|
6 |
22 |
111 |
1 |
| printlink |
|
3 |
17 |
144 |
1 |
| printsize |
|
3 |
9 |
66 |
2 |
| Source file: ./bin/ls/cmp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| namecmp |
|
1 |
4 |
28 |
2 |
| revnamecmp |
|
1 |
4 |
28 |
2 |
| modcmp |
|
5 |
13 |
106 |
2 |
| revmodcmp |
|
5 |
13 |
106 |
2 |
| acccmp |
|
5 |
13 |
106 |
2 |
| revacccmp |
|
5 |
13 |
106 |
2 |
| statcmp |
|
5 |
13 |
106 |
2 |
| revstatcmp |
|
5 |
13 |
106 |
2 |
| sizecmp |
|
3 |
9 |
64 |
2 |
| revsizecmp |
|
3 |
9 |
64 |
2 |
| Source file: ./bin/stty/gfmt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| gerr |
|
2 |
7 |
29 |
1 |
| gprint |
|
2 |
9 |
99 |
3 |
| gread |
|
15 |
50 |
300 |
2 |
| Source file: ./bin/stty/stty.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
31 |
88 |
614 |
2 |
| usage |
|
1 |
6 |
20 |
1 |
| Source file: ./bin/csh/proc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pchild |
|
37 |
112 |
694 |
1 |
| pnote |
|
4 |
19 |
126 |
1 |
| pwait |
|
6 |
20 |
152 |
1 |
| pjwait |
|
25 |
75 |
531 |
1 |
| dowait |
|
4 |
19 |
112 |
2 |
| pflushall |
|
3 |
7 |
40 |
1 |
| pflush |
|
8 |
26 |
158 |
1 |
| pclrcurr |
|
4 |
14 |
65 |
1 |
| palloc |
|
14 |
59 |
354 |
2 |
| padd |
|
21 |
52 |
264 |
1 |
| pads |
|
4 |
18 |
97 |
1 |
| psavejob |
|
1 |
5 |
14 |
1 |
| prestjob |
|
1 |
5 |
14 |
1 |
| pendjob |
|
5 |
17 |
118 |
1 |
| pprint |
|
55 |
149 |
965 |
2 |
| ptprint |
|
3 |
17 |
119 |
1 |
| dojobs |
|
10 |
21 |
151 |
2 |
| dofg |
|
3 |
11 |
58 |
2 |
| dofg1 |
|
1 |
8 |
44 |
2 |
| dobg |
|
3 |
10 |
53 |
2 |
| dobg1 |
|
1 |
6 |
35 |
2 |
| dostop |
|
1 |
4 |
21 |
2 |
| dokill |
|
24 |
62 |
489 |
2 |
| pkill |
|
25 |
80 |
485 |
2 |
| pstart |
|
8 |
29 |
196 |
2 |
| panystop |
|
4 |
8 |
51 |
1 |
| pfind |
|
24 |
50 |
357 |
1 |
| pgetcurr |
|
8 |
14 |
89 |
1 |
| donotify |
|
1 |
6 |
33 |
2 |
| pfork |
|
20 |
56 |
395 |
2 |
| okpcntl |
|
3 |
7 |
29 |
1 |
| pgetty |
|
6 |
22 |
137 |
2 |
| Source file: ./bin/stty/extern.h |
| Source file: ./bin/ls/ls.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ls_main |
|
68 |
199 |
858 |
2 |
| traverse |
|
21 |
44 |
299 |
3 |
| display |
|
35 |
133 |
927 |
2 |
| mastercmp |
|
12 |
26 |
163 |
2 |
| Source file: ./bin/sync/sync.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
1 |
5 |
15 |
1 |
| Source file: ./bin/stty/stty.h |
| Source file: ./bin/df/ffs_df.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ffs_df |
|
7 |
38 |
360 |
3 |
| Source file: ./bin/stty/print.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| print |
|
18 |
132 |
960 |
4 |
| binit |
|
2 |
8 |
30 |
1 |
| bput |
|
3 |
14 |
83 |
2 |
| ccval |
|
7 |
29 |
161 |
2 |
| Source file: ./bin/df/ext2fs_df.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| e2fs_df |
|
7 |
41 |
347 |
3 |
| Source file: ./sbin/ipsecctl/pfkey.h |
| Source file: ./bin/stty/modes.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| msearch |
|
9 |
35 |
254 |
2 |
| Source file: ./bin/stty/key.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| c_key |
|
1 |
4 |
42 |
2 |
| ksearch |
|
6 |
25 |
178 |
2 |
| f_all |
|
1 |
4 |
28 |
1 |
| f_cbreak |
|
2 |
12 |
67 |
1 |
| f_columns |
|
2 |
8 |
55 |
1 |
| f_dec |
|
1 |
10 |
85 |
1 |
| f_ek |
|
1 |
6 |
37 |
1 |
| f_everything |
|
1 |
4 |
28 |
1 |
| f_extproc |
|
2 |
11 |
66 |
1 |
| f_ispeed |
|
2 |
10 |
64 |
1 |
| f_lcase |
|
2 |
13 |
74 |
1 |
| f_nl |
|
2 |
11 |
58 |
1 |
| f_ospeed |
|
2 |
10 |
64 |
1 |
| f_raw |
|
2 |
11 |
57 |
1 |
| f_rows |
|
2 |
8 |
55 |
1 |
| f_sane |
|
1 |
9 |
79 |
1 |
| f_size |
|
1 |
4 |
29 |
1 |
| f_speed |
|
1 |
4 |
25 |
1 |
| f_tty |
|
2 |
7 |
39 |
1 |
| f_ostart |
|
2 |
5 |
29 |
1 |
| f_ostop |
|
2 |
5 |
29 |
1 |
| Source file: ./bin/df/df.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
32 |
95 |
533 |
2 |
| getmntpt |
|
3 |
11 |
73 |
1 |
| selected |
|
6 |
10 |
73 |
1 |
| maketypelist |
|
8 |
22 |
187 |
1 |
| regetmntinfo |
|
9 |
21 |
145 |
2 |
| prthumanval |
|
2 |
9 |
50 |
1 |
| prthuman |
|
1 |
6 |
45 |
2 |
| prtstat |
|
5 |
25 |
226 |
4 |
| bsdprint |
|
5 |
28 |
163 |
3 |
| posixprint |
|
4 |
35 |
217 |
3 |
| raw_df |
|
4 |
15 |
100 |
2 |
| bread |
|
4 |
11 |
84 |
4 |
| usage |
|
1 |
7 |
25 |
1 |
| Source file: ./sbin/ipsecctl/ike.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ike_section_general |
|
2 |
9 |
43 |
2 |
| ike_section_peer |
|
5 |
18 |
138 |
2 |
| ike_section_ids |
|
12 |
39 |
323 |
2 |
| ike_section_ipsec |
|
3 |
13 |
133 |
2 |
| ike_section_p2 |
|
69 |
264 |
1170 |
2 |
| ike_section_p1 |
|
46 |
181 |
828 |
2 |
| ike_section_p2ids_net |
|
7 |
36 |
295 |
5 |
| ike_section_p2ids |
|
15 |
51 |
436 |
2 |
| ike_connect |
|
4 |
16 |
71 |
2 |
| ike_gen_config |
|
4 |
18 |
116 |
2 |
| ike_delete_config |
|
12 |
46 |
302 |
2 |
| ike_setup_ids |
|
15 |
36 |
356 |
1 |
| ike_print_config |
|
2 |
7 |
39 |
2 |
| ike_ipsec_establish |
|
7 |
26 |
173 |
3 |
| Source file: ./sbin/clri/clri.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usage |
|
1 |
5 |
21 |
1 |
| main |
|
20 |
72 |
610 |
2 |
| Source file: ./sbin/ipsecctl/ipsecctl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sacompare |
|
3 |
9 |
63 |
2 |
| ipsecctl_rules |
|
5 |
26 |
159 |
2 |
| ipsecctl_fopen |
|
4 |
18 |
97 |
2 |
| ipsecctl_commit |
|
7 |
26 |
141 |
2 |
| ipsecctl_add_rule |
|
3 |
8 |
59 |
2 |
| ipsecctl_free_rule |
|
10 |
51 |
309 |
1 |
| ipsecctl_merge_rules |
|
21 |
39 |
335 |
2 |
| ipsecctl_cmp_ident |
|
12 |
22 |
186 |
2 |
| ipsecctl_rule_matchsrc |
|
4 |
13 |
101 |
2 |
| ipsecctl_rule_matchdst |
|
4 |
13 |
101 |
2 |
| ipsecctl_print_addr |
|
5 |
16 |
106 |
1 |
| ipsecctl_print_proto |
|
2 |
8 |
42 |
1 |
| ipsecctl_print_port |
|
2 |
8 |
52 |
2 |
| ipsecctl_print_key |
|
2 |
6 |
42 |
1 |
| ipsecctl_print_flow |
|
16 |
63 |
389 |
2 |
| ipsecctl_print_sa |
|
16 |
36 |
263 |
2 |
| ipsecctl_print_sabundle |
|
1 |
9 |
68 |
2 |
| ipsecctl_print_rule |
|
7 |
21 |
129 |
2 |
| ipsecctl_flush |
|
4 |
10 |
55 |
1 |
| ipsecctl_get_rules |
|
12 |
42 |
311 |
1 |
| ipsecctl_print_title |
|
2 |
7 |
29 |
1 |
| ipsecctl_show_flows |
|
8 |
38 |
240 |
1 |
| ipsecctl_show_sas |
|
14 |
52 |
384 |
1 |
| ipsecctl_monitor |
|
1 |
4 |
15 |
1 |
| usage |
|
1 |
7 |
26 |
1 |
| ipsecctl_lookup_option |
|
5 |
8 |
58 |
2 |
| main |
|
28 |
85 |
355 |
2 |
| unmask |
|
5 |
15 |
98 |
2 |
| Source file: ./sbin/ipsecctl/ipsecctl.h |
| Source file: ./sbin/disklabel/pathnames.h |
| Source file: ./sbin/scan_ffs/scan_ffs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ufsscan |
|
12 |
61 |
471 |
4 |
| usage |
|
1 |
7 |
25 |
1 |
| main |
|
13 |
42 |
266 |
2 |
| Source file: ./sbin/disklabel/extern.h |
| Source file: ./sbin/disklabel/dkcksum.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dkcksum |
|
2 |
10 |
62 |
1 |
| Source file: ./sbin/ipsecctl/pfkey.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pfkey_flow |
|
37 |
277 |
2099 |
13 |
| pfkey_sa |
|
52 |
215 |
1349 |
10 |
| pfkey_sabundle |
|
7 |
110 |
858 |
8 |
| pfkey_reply |
|
9 |
33 |
188 |
3 |
| pfkey_parse |
|
54 |
265 |
1667 |
2 |
| pfkey_ipsec_establish |
|
33 |
135 |
610 |
2 |
| pfkey_ipsec_flush |
|
4 |
30 |
183 |
1 |
| pfkey_promisc |
|
3 |
18 |
118 |
1 |
| pfkey_monitor |
|
11 |
37 |
222 |
1 |
| pfkey_init |
|
2 |
6 |
34 |
1 |
| Source file: ./sbin/dump/pathnames.h |
| Source file: ./sbin/dump/itime.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| initdumptimes |
|
5 |
23 |
146 |
1 |
| readdumptimes |
|
4 |
20 |
134 |
1 |
| getdumptime |
|
7 |
23 |
145 |
1 |
| putdumptime |
|
11 |
50 |
361 |
1 |
| dumprecout |
|
2 |
8 |
52 |
2 |
| getrecord |
|
5 |
14 |
102 |
2 |
| makedumpdate |
|
7 |
21 |
169 |
2 |
| Source file: ./sbin/ipsecctl/pfkdump.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| lookup |
|
3 |
8 |
48 |
2 |
| lookup_name |
|
2 |
6 |
37 |
2 |
| print_ext |
|
3 |
16 |
101 |
2 |
| print_flags |
|
7 |
23 |
183 |
1 |
| print_sa |
|
2 |
16 |
111 |
2 |
| print_addr |
|
7 |
28 |
183 |
2 |
| print_key |
|
2 |
12 |
90 |
2 |
| print_life |
|
1 |
9 |
47 |
2 |
| print_proto |
|
2 |
11 |
66 |
2 |
| print_flow |
|
3 |
15 |
74 |
2 |
| print_tag |
|
1 |
7 |
49 |
2 |
| print_tap |
|
1 |
5 |
35 |
2 |
| print_satype |
|
1 |
5 |
40 |
2 |
| alg_by_ext |
|
4 |
13 |
54 |
2 |
| print_alg |
|
1 |
6 |
38 |
2 |
| print_supp |
|
3 |
16 |
127 |
2 |
| print_comb |
|
2 |
23 |
96 |
2 |
| print_prop |
|
2 |
11 |
88 |
2 |
| print_sens |
|
1 |
8 |
43 |
2 |
| print_spir |
|
1 |
6 |
39 |
2 |
| print_ident |
|
1 |
7 |
54 |
2 |
| print_policy |
|
1 |
5 |
35 |
2 |
| print_udpenc |
|
1 |
5 |
38 |
2 |
| setup_extensions |
|
4 |
13 |
108 |
1 |
| parse_addr |
|
4 |
21 |
138 |
2 |
| parse_key |
|
2 |
10 |
66 |
2 |
| parse_satype |
|
6 |
22 |
85 |
2 |
| pfkey_get_spi |
|
1 |
7 |
41 |
1 |
| pfkey_print_sa |
|
45 |
184 |
1034 |
2 |
| pfkey_monitor_sa |
|
4 |
18 |
116 |
2 |
| pfkey_print_raw |
|
4 |
13 |
83 |
2 |
| Source file: ./sbin/dump/traverse.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| blockest |
|
3 |
14 |
102 |
1 |
| mapfileino |
|
11 |
26 |
159 |
3 |
| fs_mapinodes |
|
13 |
41 |
278 |
3 |
| mapfiles |
|
17 |
68 |
429 |
4 |
| mapdirs |
|
20 |
59 |
426 |
2 |
| dirindir |
|
11 |
35 |
262 |
6 |
| searchdir |
|
17 |
55 |
348 |
6 |
| Source file: ./sbin/dump/dumprmt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| rmthost |
|
3 |
14 |
70 |
1 |
| rmtconnaborted |
|
1 |
4 |
14 |
1 |
| rmtgetconn |
|
11 |
44 |
323 |
1 |
| okname |
|
6 |
13 |
78 |
1 |
| rmtopen |
|
1 |
7 |
50 |
2 |
| rmtclose |
|
2 |
7 |
25 |
1 |
| rmtread |
|
4 |
18 |
117 |
2 |
| rmtwrite |
|
1 |
8 |
63 |
2 |
| rmtseek |
|
1 |
6 |
45 |
2 |
| rmtioctl |
|
2 |
8 |
57 |
2 |
| rmtcall |
|
2 |
6 |
44 |
2 |
| rmtreply |
|
7 |
23 |
151 |
1 |
| rmtgetb |
|
2 |
7 |
33 |
1 |
| rmtgets |
|
3 |
17 |
78 |
2 |
| Source file: ./sbin/ping/ping.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
169 |
539 |
3726 |
2 |
| onsignal |
|
4 |
14 |
37 |
1 |
| fill |
|
8 |
26 |
265 |
2 |
| summary |
|
5 |
24 |
135 |
1 |
| pr_addr |
|
3 |
11 |
70 |
2 |
| retransmit |
|
5 |
22 |
126 |
1 |
| pinger |
|
13 |
66 |
497 |
1 |
| pr_pack |
|
50 |
179 |
1142 |
3 |
| pr_ipopt |
|
22 |
111 |
600 |
2 |
| in_cksum |
|
3 |
19 |
112 |
2 |
| pr_icmph |
|
40 |
156 |
603 |
1 |
| pr_iph |
|
2 |
19 |
173 |
1 |
| pr_retip |
|
3 |
14 |
131 |
1 |
| map_tos |
|
3 |
43 |
253 |
2 |
| pr_exthdrs |
|
7 |
24 |
121 |
1 |
| pr_ip6opt |
|
5 |
39 |
206 |
1 |
| pr_rthdr |
|
5 |
26 |
179 |
1 |
| get_hoplim |
|
6 |
14 |
105 |
1 |
| get_pathmtu |
|
12 |
34 |
221 |
2 |
| pr_icmph6 |
|
27 |
113 |
513 |
2 |
| pr_iph6 |
|
3 |
19 |
185 |
1 |
| pr_retip6 |
|
14 |
71 |
461 |
2 |
| usage |
|
2 |
16 |
39 |
1 |
| Source file: ./sbin/dump/optr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| query |
|
11 |
39 |
266 |
1 |
| alarmcatch |
|
4 |
23 |
98 |
1 |
| interrupt |
|
2 |
6 |
24 |
1 |
| broadcast |
|
5 |
16 |
123 |
1 |
| timeest |
|
3 |
17 |
99 |
1 |
| msg |
|
2 |
14 |
107 |
2 |
| msgtail |
|
1 |
7 |
38 |
2 |
| quit |
|
2 |
12 |
83 |
2 |
| allocfsent |
|
5 |
13 |
107 |
1 |
| getfstab |
|
9 |
26 |
164 |
1 |
| fstabsearch |
|
14 |
30 |
224 |
1 |
| lastdump |
|
10 |
38 |
237 |
1 |
| datesort |
|
2 |
10 |
85 |
2 |
| Source file: ./sbin/dump/tape.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| alloctape |
|
7 |
25 |
211 |
1 |
| writerec |
|
3 |
12 |
83 |
2 |
| dumpblock |
|
3 |
17 |
117 |
2 |
| tperror |
|
3 |
18 |
83 |
1 |
| sigpipe |
|
1 |
4 |
12 |
1 |
| do_stats |
|
2 |
18 |
115 |
1 |
| statussig |
|
2 |
18 |
141 |
1 |
| flushtape |
|
16 |
60 |
417 |
1 |
| trewind |
|
13 |
41 |
261 |
1 |
| close_rewind |
|
5 |
15 |
66 |
1 |
| rollforward |
|
14 |
77 |
533 |
1 |
| startnewtape |
|
30 |
103 |
573 |
1 |
| dumpabort |
|
4 |
11 |
50 |
1 |
| Exit |
|
2 |
5 |
23 |
1 |
| proceed |
|
1 |
4 |
10 |
1 |
| enslave |
|
8 |
36 |
296 |
1 |
| killall |
|
3 |
9 |
59 |
1 |
| doslave |
|
24 |
71 |
513 |
2 |
| atomic |
|
4 |
7 |
80 |
4 |
| Source file: ./sbin/disklabel/disklabel.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| getphysmem |
|
2 |
7 |
57 |
1 |
| main |
|
69 |
162 |
899 |
2 |
| makelabel |
|
3 |
11 |
89 |
3 |
| writelabel |
|
5 |
19 |
109 |
2 |
| l_perror |
|
5 |
22 |
75 |
1 |
| readlabel |
|
8 |
12 |
86 |
1 |
| parselabel |
|
7 |
31 |
240 |
1 |
| makedisktab |
|
12 |
56 |
481 |
2 |
| scale |
|
7 |
21 |
113 |
3 |
| display_partition |
|
7 |
34 |
240 |
4 |
| canonical_unit |
|
8 |
23 |
166 |
2 |
| display |
|
12 |
54 |
501 |
4 |
| edit |
|
15 |
65 |
395 |
2 |
| editit |
|
11 |
41 |
303 |
1 |
| skip |
|
2 |
7 |
34 |
1 |
| word |
|
3 |
11 |
61 |
1 |
| getnum |
|
3 |
12 |
87 |
4 |
| duid_parse |
|
9 |
24 |
170 |
2 |
| getasciilabel |
|
77 |
259 |
1625 |
2 |
| checklabel |
|
34 |
82 |
558 |
1 |
| cmplabel |
|
1 |
15 |
118 |
2 |
| usage |
|
2 |
26 |
90 |
1 |
| Source file: ./sbin/dump/dump.h |
| Source file: ./sbin/dump/main.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
120 |
406 |
2739 |
2 |
| usage |
|
1 |
10 |
31 |
1 |
| numarg |
|
3 |
12 |
73 |
3 |
| sig |
|
5 |
15 |
61 |
1 |
| rawname |
|
3 |
13 |
92 |
1 |
| getduid |
|
5 |
28 |
211 |
1 |
| obsolete |
|
18 |
55 |
352 |
2 |
| Source file: ./sbin/disklabel/editor.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| editor |
|
79 |
266 |
1519 |
1 |
| editor_allocspace |
|
42 |
143 |
1020 |
1 |
| editor_resize |
|
21 |
78 |
465 |
2 |
| editor_add |
|
30 |
84 |
615 |
2 |
| editor_name |
|
13 |
32 |
205 |
2 |
| editor_modify |
|
15 |
34 |
222 |
2 |
| editor_delete |
|
9 |
32 |
189 |
2 |
| editor_change |
|
7 |
28 |
167 |
2 |
| partition_cmp |
|
3 |
13 |
80 |
2 |
| getstring |
|
10 |
25 |
190 |
3 |
| getuint64 |
|
41 |
122 |
805 |
7 |
| has_overlap |
|
10 |
41 |
323 |
1 |
| edit_parms |
|
31 |
136 |
749 |
1 |
| sort_partitions |
|
7 |
17 |
150 |
1 |
| getdisktype |
|
16 |
68 |
420 |
3 |
| set_bounds |
|
5 |
28 |
157 |
1 |
| set_duid |
|
5 |
20 |
146 |
1 |
| free_chunks |
|
10 |
42 |
292 |
1 |
| find_bounds |
|
3 |
12 |
44 |
1 |
| editor_countfree |
|
3 |
10 |
77 |
1 |
| editor_help |
|
1 |
23 |
33 |
1 |
| mpcopy |
|
4 |
13 |
85 |
2 |
| mpequal |
|
9 |
13 |
109 |
2 |
| mpsave |
|
15 |
51 |
467 |
1 |
| mpfree |
|
3 |
9 |
45 |
1 |
| get_offset |
|
14 |
41 |
282 |
2 |
| get_size |
|
8 |
32 |
196 |
2 |
| get_cpg |
|
7 |
24 |
143 |
2 |
| get_fsize |
|
10 |
31 |
206 |
2 |
| get_bsize |
|
23 |
63 |
462 |
2 |
| get_fstype |
|
9 |
42 |
221 |
2 |
| get_mp |
|
17 |
41 |
258 |
2 |
| micmp |
|
5 |
13 |
101 |
2 |
| get_geometry |
|
4 |
12 |
92 |
2 |
| set_geometry |
|
16 |
54 |
291 |
4 |
| zero_partitions |
|
2 |
10 |
77 |
1 |
| max_partition_size |
|
5 |
19 |
143 |
2 |
| psize |
|
3 |
8 |
58 |
3 |
| display_edit |
|
2 |
17 |
120 |
3 |
| parse_autotable |
|
14 |
38 |
372 |
1 |
| get_token |
|
7 |
20 |
137 |
2 |
| apply_unit |
|
6 |
22 |
94 |
3 |
| parse_sizespec |
|
6 |
9 |
77 |
3 |
| parse_sizerange |
|
12 |
31 |
244 |
3 |
| parse_pct |
|
3 |
13 |
89 |
2 |
| Source file: ./sbin/ttyflags/ttyflags.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
12 |
36 |
175 |
2 |
| all |
|
3 |
10 |
55 |
1 |
| ttys |
|
4 |
18 |
86 |
2 |
| ttyflags |
|
31 |
84 |
595 |
2 |
| usage |
|
1 |
5 |
21 |
1 |
| Source file: ./sbin/nologin/nologin.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
5 |
17 |
122 |
2 |
| Source file: ./sbin/nfsd/nfsd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
47 |
191 |
1240 |
2 |
| usage |
|
1 |
5 |
21 |
1 |
| nonfs |
|
1 |
7 |
32 |
1 |
| reapchild |
|
2 |
7 |
31 |
1 |
| Source file: ./sbin/umount/umount.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
17 |
42 |
215 |
2 |
| umountall |
|
6 |
19 |
109 |
1 |
| umountfs |
|
22 |
92 |
640 |
1 |
| getmntname |
|
10 |
27 |
209 |
3 |
| selected |
|
6 |
10 |
73 |
1 |
| maketypelist |
|
8 |
22 |
183 |
1 |
| namematch |
|
10 |
23 |
173 |
1 |
| xdr_dir |
|
1 |
4 |
25 |
2 |
| usage |
|
1 |
8 |
22 |
1 |
| Source file: ./sbin/pdisk/partition_map.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| open_partition_map |
|
14 |
56 |
321 |
4 |
| free_partition_map |
|
3 |
12 |
62 |
1 |
| read_partition_map |
|
17 |
89 |
473 |
1 |
| write_partition_map |
|
3 |
13 |
82 |
1 |
| create_partition_map |
|
4 |
25 |
182 |
4 |
| add_partition_to_map |
|
16 |
62 |
369 |
5 |
| create_entry |
|
5 |
28 |
204 |
6 |
| dpme_init_flags |
|
4 |
12 |
89 |
1 |
| renumber_disk_addresses |
|
1 |
10 |
49 |
1 |
| delete_partition_from_map |
|
5 |
30 |
170 |
1 |
| contains_driver |
|
4 |
17 |
98 |
1 |
| combine_entry |
|
12 |
51 |
305 |
1 |
| delete_entry |
|
1 |
9 |
44 |
1 |
| find_entry_by_disk_address |
|
2 |
9 |
43 |
2 |
| find_entry_by_type |
|
2 |
9 |
52 |
2 |
| find_entry_by_base |
|
2 |
9 |
43 |
2 |
| move_entry_in_map |
|
6 |
28 |
149 |
3 |
| insert_in_disk_order |
|
4 |
20 |
111 |
1 |
| insert_in_base_order |
|
4 |
22 |
118 |
1 |
| resize_map |
|
11 |
45 |
235 |
2 |
| remove_driver |
|
5 |
26 |
195 |
1 |
| Source file: ./sbin/pdisk/file_media.h |
| Source file: ./sbin/pdisk/io.h |
| Source file: ./sbin/pdisk/partition_map.h |
| Source file: ./sbin/pdisk/file_media.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| read_block |
|
4 |
14 |
78 |
3 |
| write_block |
|
2 |
9 |
49 |
3 |
| read_block0 |
|
4 |
49 |
473 |
2 |
| write_block0 |
|
3 |
48 |
390 |
2 |
| read_dpme |
|
3 |
61 |
554 |
3 |
| write_dpme |
|
2 |
63 |
510 |
3 |
| Source file: ./sbin/pdisk/dump.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dump_block_zero |
|
4 |
24 |
161 |
1 |
| dump_partition_map |
|
4 |
23 |
138 |
1 |
| dump_partition_entry |
|
3 |
16 |
112 |
4 |
| show_data_structures |
|
15 |
64 |
488 |
1 |
| full_dump_partition_entry |
|
11 |
56 |
393 |
2 |
| dump_block |
|
9 |
30 |
178 |
2 |
| full_dump_block_zero |
|
5 |
22 |
191 |
1 |
| get_max_type_string_length |
|
2 |
12 |
60 |
1 |
| get_max_name_string_length |
|
2 |
12 |
60 |
1 |
| get_max_base_or_length |
|
3 |
13 |
65 |
1 |
| Source file: ./sbin/pdisk/dump.h |
| Source file: ./sbin/pdisk/io.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| my_getch |
|
2 |
7 |
25 |
0 |
| my_ungetch |
|
2 |
7 |
29 |
1 |
| flush_to_newline |
|
5 |
16 |
58 |
1 |
| get_okay |
|
10 |
24 |
131 |
2 |
| get_command |
|
7 |
19 |
96 |
3 |
| get_number_argument |
|
8 |
23 |
118 |
2 |
| get_number |
|
7 |
18 |
93 |
1 |
| get_dpistr_argument |
|
16 |
23 |
151 |
1 |
| get_string |
|
8 |
24 |
141 |
1 |
| get_multiplier |
|
15 |
36 |
194 |
1 |
| get_partition_modifier |
|
4 |
11 |
50 |
1 |
| number_of_digits |
|
2 |
10 |
35 |
1 |
| bad_input |
|
1 |
9 |
47 |
2 |
| Source file: ./sbin/growfs/growfs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| growfs |
|
16 |
84 |
754 |
3 |
| initcg |
|
35 |
171 |
1395 |
4 |
| frag_adjust |
|
7 |
21 |
118 |
2 |
| cond_bl_upd |
|
4 |
26 |
192 |
5 |
| updjcg |
|
22 |
108 |
892 |
5 |
| updcsloc |
|
64 |
291 |
2500 |
4 |
| rdfs |
|
4 |
14 |
101 |
4 |
| wtfs |
|
4 |
11 |
92 |
5 |
| alloc |
|
22 |
73 |
561 |
1 |
| isblock |
|
5 |
20 |
163 |
3 |
| clrblock |
|
5 |
20 |
134 |
3 |
| setblock |
|
5 |
20 |
132 |
3 |
| ginode |
|
8 |
25 |
216 |
3 |
| charsperline |
|
6 |
15 |
90 |
1 |
| main |
|
51 |
159 |
1124 |
2 |
| return_disklabel |
|
5 |
19 |
116 |
3 |
| get_disklabel |
|
3 |
10 |
65 |
1 |
| usage |
|
1 |
5 |
18 |
1 |
| updclst |
|
7 |
19 |
112 |
1 |
| updrefs |
|
18 |
51 |
376 |
6 |
| indirchk |
|
9 |
32 |
271 |
8 |
| ffs1_sb_update |
|
1 |
15 |
120 |
2 |
| Source file: ./sbin/pdisk/pdisk.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
13 |
50 |
307 |
2 |
| edit |
|
21 |
101 |
326 |
1 |
| do_create_partition |
|
8 |
36 |
190 |
2 |
| get_base_argument |
|
4 |
20 |
96 |
2 |
| get_size_argument |
|
6 |
28 |
144 |
2 |
| do_rename_partition |
|
4 |
26 |
142 |
1 |
| do_change_type |
|
4 |
26 |
142 |
1 |
| do_delete_partition |
|
3 |
14 |
64 |
1 |
| do_reorder |
|
3 |
13 |
65 |
1 |
| do_write_partition_map |
|
4 |
17 |
70 |
1 |
| do_change_map_size |
|
2 |
9 |
40 |
1 |
| do_display_entry |
|
3 |
12 |
52 |
1 |
| do_dump_map |
|
2 |
7 |
27 |
2 |
| usage |
|
1 |
6 |
25 |
1 |
| Source file: ./sbin/pfctl/pfctl_parser.h |
| Source file: ./sbin/newfs_msdos/newfs_msdos.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
184 |
434 |
3538 |
2 |
| check_mounted |
|
11 |
22 |
176 |
2 |
| getstdfmt |
|
4 |
9 |
85 |
2 |
| getdiskinfo |
|
32 |
54 |
472 |
5 |
| print_bpb |
|
8 |
23 |
187 |
1 |
| ckgeom |
|
3 |
8 |
53 |
3 |
| argtou |
|
6 |
10 |
76 |
4 |
| oklabel |
|
5 |
10 |
64 |
1 |
| mklabel |
|
5 |
8 |
66 |
2 |
| setstr |
|
3 |
5 |
34 |
3 |
| usage |
|
1 |
13 |
32 |
1 |
| Source file: ./sbin/pfctl/pfctl_osfp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pfctl_file_fingerprints |
|
40 |
140 |
893 |
3 |
| pfctl_clear_fingerprints |
|
2 |
5 |
26 |
2 |
| pfctl_flush_my_fingerprints |
|
2 |
11 |
57 |
1 |
| pfctl_load_fingerprints |
|
4 |
18 |
100 |
2 |
| pfctl_show_fingerprints |
|
3 |
14 |
70 |
1 |
| pfctl_get_fingerprint |
|
17 |
87 |
499 |
1 |
| pfctl_lookup_fingerprint |
|
16 |
70 |
426 |
3 |
| lookup_name_list |
|
2 |
8 |
50 |
2 |
| add_fingerprint |
|
12 |
47 |
315 |
3 |
| import_fingerprint |
|
6 |
31 |
199 |
1 |
| fingerprint_name_entry |
|
6 |
21 |
142 |
2 |
| print_name_list |
|
1 |
11 |
75 |
3 |
| sort_name_list |
|
7 |
33 |
200 |
2 |
| get_int |
|
32 |
80 |
487 |
9 |
| get_str |
|
4 |
20 |
141 |
7 |
| get_tcpopts |
|
22 |
79 |
475 |
10 |
| get_field |
|
8 |
22 |
146 |
3 |
| print_ioctl |
|
21 |
91 |
797 |
1 |
| Source file: ./sbin/pfctl/pfctl_radix.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pfr_clr_tables |
|
4 |
13 |
84 |
3 |
| pfr_add_tables |
|
6 |
18 |
122 |
4 |
| pfr_del_tables |
|
6 |
18 |
122 |
4 |
| pfr_get_tables |
|
7 |
20 |
138 |
4 |
| pfr_get_tstats |
|
7 |
20 |
138 |
4 |
| pfr_clr_addrs |
|
4 |
16 |
96 |
3 |
| pfr_add_addrs |
|
7 |
20 |
138 |
5 |
| pfr_del_addrs |
|
7 |
20 |
138 |
5 |
| pfr_set_addrs |
|
11 |
27 |
204 |
8 |
| pfr_get_addrs |
|
7 |
20 |
136 |
4 |
| pfr_get_astats |
|
7 |
20 |
136 |
4 |
| pfr_clr_tstats |
|
6 |
18 |
119 |
4 |
| pfr_tst_addrs |
|
7 |
20 |
136 |
5 |
| pfr_ina_define |
|
8 |
23 |
164 |
7 |
| pfi_get_ifaces |
|
8 |
22 |
159 |
3 |
| pfr_buf_add |
|
7 |
16 |
117 |
2 |
| pfr_buf_next |
|
7 |
14 |
120 |
2 |
| pfr_buf_grow |
|
10 |
25 |
170 |
2 |
| pfr_buf_clear |
|
2 |
8 |
40 |
1 |
| pfr_buf_load |
|
8 |
26 |
157 |
4 |
| pfr_next_token |
|
12 |
32 |
181 |
2 |
| pfr_strerror |
|
3 |
11 |
33 |
1 |
| Source file: ./sbin/pfctl/pfctl.h |
| Source file: ./sbin/sysctl/sysctl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
12 |
36 |
179 |
2 |
| listall |
|
6 |
19 |
165 |
2 |
| parse |
|
238 |
627 |
3901 |
2 |
| parse_ports |
|
6 |
19 |
146 |
3 |
| parse_baddynamic |
|
15 |
48 |
308 |
7 |
| debuginit |
|
4 |
20 |
144 |
1 |
| vfsinit |
|
12 |
66 |
490 |
1 |
| sysctl_vfsgen |
|
9 |
30 |
206 |
5 |
| sysctl_vfs |
|
5 |
20 |
153 |
5 |
| sysctl_fs |
|
3 |
13 |
101 |
5 |
| sysctl_bios |
|
8 |
38 |
258 |
5 |
| sysctl_swpenc |
|
3 |
13 |
101 |
5 |
| sysctl_nchstats |
|
19 |
66 |
412 |
5 |
| sysctl_tty |
|
5 |
18 |
126 |
5 |
| sysctl_forkstat |
|
15 |
53 |
337 |
5 |
| sysctl_malloc |
|
28 |
100 |
808 |
5 |
| sysctl_chipset |
|
15 |
50 |
325 |
5 |
| sysctl_inet |
|
11 |
42 |
302 |
5 |
| sysctl_inet6 |
|
11 |
42 |
302 |
5 |
| sysctl_bpf |
|
3 |
13 |
94 |
5 |
| sysctl_mpls |
|
6 |
27 |
196 |
5 |
| sysctl_pipex |
|
6 |
27 |
196 |
5 |
| sysctl_seminfo |
|
3 |
18 |
104 |
5 |
| sysctl_shminfo |
|
3 |
18 |
104 |
5 |
| sysctl_watchdog |
|
3 |
14 |
101 |
5 |
| sysctl_tc |
|
3 |
14 |
101 |
5 |
| sysctl_sensors |
|
22 |
78 |
548 |
5 |
| print_sensordev |
|
10 |
37 |
260 |
4 |
| print_sensor |
|
41 |
136 |
643 |
1 |
| findname |
|
7 |
18 |
142 |
4 |
| usage |
|
1 |
8 |
23 |
1 |
| Source file: ./sbin/pfctl/pfctl_table.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pfctl_clear_tables |
|
2 |
5 |
39 |
2 |
| pfctl_show_tables |
|
2 |
5 |
39 |
2 |
| pfctl_command_tables |
|
3 |
7 |
66 |
7 |
| pfctl_table |
|
84 |
227 |
1752 |
7 |
| print_table |
|
12 |
20 |
161 |
3 |
| print_tstats |
|
5 |
22 |
183 |
2 |
| load_addr |
|
6 |
20 |
141 |
6 |
| print_addrx |
|
18 |
45 |
467 |
3 |
| print_astats |
|
7 |
21 |
190 |
2 |
| radix_perror |
|
1 |
5 |
25 |
1 |
| pfctl_define_table |
|
4 |
13 |
130 |
6 |
| warn_namespace_collision |
|
12 |
38 |
230 |
1 |
| xprintf |
|
4 |
15 |
81 |
3 |
| pfctl_show_ifaces |
|
5 |
23 |
135 |
2 |
| print_iface |
|
5 |
25 |
193 |
2 |
| Source file: ./sbin/pfctl/pfctl_queue.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pfctl_show_queues |
|
11 |
31 |
219 |
4 |
| pfctl_update_qstats |
|
7 |
40 |
287 |
1 |
| pfctl_insert_queue_node |
|
2 |
12 |
95 |
2 |
| pfctl_find_queue_node |
|
3 |
9 |
66 |
2 |
| pfctl_print_queue_node |
|
4 |
11 |
73 |
3 |
| pfctl_print_queue_nodestat |
|
6 |
33 |
277 |
2 |
| update_avg |
|
5 |
19 |
163 |
1 |
| rate2str |
|
5 |
18 |
132 |
1 |
| Source file: ./sbin/route/keywords.h |
| Source file: ./sbin/pfctl/pf_print_state.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| print_addr |
|
26 |
77 |
490 |
3 |
| print_name |
|
3 |
28 |
193 |
2 |
| print_host |
|
9 |
31 |
233 |
6 |
| print_seq |
|
2 |
9 |
75 |
1 |
| print_state |
|
47 |
139 |
1239 |
2 |
| unmask |
|
5 |
15 |
98 |
2 |
| Source file: ./sbin/route/show.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| p_rttables |
|
12 |
48 |
321 |
4 |
| WID_DST |
|
5 |
19 |
52 |
1 |
| pr_rthdr |
|
4 |
24 |
126 |
1 |
| get_rtaddrs |
|
3 |
12 |
87 |
3 |
| p_rtentry |
|
13 |
48 |
378 |
1 |
| pr_family |
|
6 |
25 |
80 |
1 |
| p_sockaddr |
|
11 |
39 |
230 |
4 |
| p_sockaddr_mpls |
|
4 |
13 |
103 |
4 |
| p_flags |
|
4 |
10 |
82 |
2 |
| routename |
|
15 |
59 |
410 |
1 |
| routename4 |
|
8 |
20 |
135 |
1 |
| routename6 |
|
3 |
12 |
75 |
1 |
| netname4 |
|
13 |
30 |
294 |
2 |
| netname6 |
|
22 |
82 |
441 |
2 |
| netname |
|
5 |
20 |
122 |
2 |
| any_ntoa |
|
3 |
15 |
132 |
1 |
| link_print |
|
6 |
17 |
120 |
1 |
| mpls_op |
|
5 |
15 |
60 |
1 |
| label_print |
|
2 |
10 |
71 |
1 |
| Source file: ./sbin/route/show.h |
| Source file: ./sbin/iked/types.h |
| Source file: ./sbin/iked/crypto.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| hash_new |
|
29 |
110 |
482 |
2 |
| hash_setkey |
|
2 |
9 |
61 |
3 |
| hash_free |
|
3 |
11 |
53 |
1 |
| hash_init |
|
1 |
5 |
35 |
1 |
| hash_update |
|
1 |
4 |
27 |
3 |
| hash_final |
|
3 |
8 |
63 |
3 |
| hash_length |
|
2 |
6 |
29 |
1 |
| hash_keylength |
|
1 |
4 |
16 |
1 |
| cipher_new |
|
22 |
81 |
395 |
3 |
| cipher_setkey |
|
2 |
9 |
61 |
3 |
| cipher_setiv |
|
4 |
19 |
117 |
3 |
| cipher_free |
|
3 |
11 |
53 |
1 |
| cipher_init |
|
1 |
6 |
50 |
2 |
| cipher_init_encrypt |
|
1 |
4 |
16 |
1 |
| cipher_init_decrypt |
|
1 |
4 |
16 |
1 |
| cipher_update |
|
2 |
12 |
72 |
5 |
| cipher_final |
|
2 |
11 |
61 |
3 |
| cipher_length |
|
1 |
4 |
16 |
1 |
| cipher_keylength |
|
2 |
6 |
32 |
1 |
| cipher_ivlength |
|
1 |
4 |
16 |
1 |
| cipher_outlength |
|
1 |
4 |
24 |
2 |
| dsa_new |
|
15 |
60 |
342 |
3 |
| dsa_sign_new |
|
1 |
4 |
24 |
2 |
| dsa_verify_new |
|
1 |
4 |
24 |
2 |
| dsa_free |
|
5 |
17 |
95 |
1 |
| dsa_setkey |
|
24 |
82 |
472 |
4 |
| _dsa_verify_init |
|
11 |
47 |
321 |
3 |
| dsa_init |
|
6 |
18 |
140 |
3 |
| dsa_update |
|
4 |
11 |
85 |
3 |
| _dsa_sign_encode |
|
10 |
27 |
212 |
3 |
| dsa_prefix |
|
2 |
7 |
36 |
1 |
| dsa_length |
|
5 |
12 |
77 |
1 |
| _dsa_sign_ecdsa |
|
9 |
34 |
251 |
3 |
| dsa_sign_final |
|
10 |
31 |
180 |
3 |
| _dsa_verify_prepare |
|
13 |
42 |
251 |
4 |
| dsa_verify_final |
|
7 |
23 |
168 |
3 |
| Source file: ./sbin/iked/log.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| log_init |
|
2 |
10 |
48 |
2 |
| log_procinit |
|
2 |
5 |
19 |
1 |
| log_setverbose |
|
1 |
4 |
11 |
1 |
| log_getverbose |
|
1 |
4 |
11 |
1 |
| logit |
|
1 |
7 |
38 |
3 |
| vlog |
|
3 |
17 |
99 |
3 |
| log_warn |
|
3 |
21 |
120 |
2 |
| log_warnx |
|
1 |
7 |
35 |
2 |
| log_info |
|
1 |
7 |
35 |
2 |
| log_debug |
|
2 |
9 |
43 |
2 |
| vfatalc |
|
3 |
17 |
106 |
3 |
| fatal |
|
1 |
8 |
40 |
2 |
| fatalx |
|
1 |
8 |
40 |
2 |
| Source file: ./sbin/pfctl/pfctl_optimize.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pfctl_optimize_ruleset |
|
12 |
63 |
504 |
2 |
| optimize_superblock |
|
13 |
26 |
188 |
2 |
| remove_identical_rules |
|
6 |
32 |
293 |
2 |
| combine_rules |
|
38 |
118 |
953 |
2 |
| reorder_rules |
|
24 |
120 |
808 |
3 |
| block_feedback |
|
7 |
42 |
312 |
2 |
| load_feedback_profile |
|
10 |
63 |
447 |
2 |
| skip_compare |
|
3 |
10 |
77 |
3 |
| skip_append |
|
3 |
13 |
96 |
4 |
| remove_from_skipsteps |
|
13 |
32 |
235 |
4 |
| skip_cmp_af |
|
3 |
6 |
40 |
2 |
| skip_cmp_dir |
|
3 |
6 |
40 |
2 |
| skip_cmp_rdom |
|
3 |
6 |
47 |
2 |
| skip_cmp_dst_addr |
|
17 |
32 |
387 |
2 |
| skip_cmp_dst_port |
|
5 |
8 |
82 |
2 |
| skip_cmp_ifp |
|
3 |
6 |
52 |
2 |
| skip_cmp_proto |
|
2 |
4 |
31 |
2 |
| skip_cmp_src_addr |
|
17 |
32 |
387 |
2 |
| skip_cmp_src_port |
|
5 |
8 |
82 |
2 |
| skip_init |
|
6 |
19 |
145 |
1 |
| add_opt_table |
|
11 |
44 |
436 |
5 |
| pf_opt_create_table |
|
7 |
39 |
264 |
2 |
| construct_superblocks |
|
6 |
23 |
165 |
3 |
| addrs_equal |
|
2 |
6 |
54 |
2 |
| addrs_combineable |
|
7 |
10 |
93 |
2 |
| rules_combineable |
|
1 |
7 |
59 |
2 |
| superblock_inclusive |
|
20 |
58 |
474 |
2 |
| interface_group |
|
4 |
9 |
56 |
1 |
| comparable_rule |
|
5 |
12 |
128 |
3 |
| exclude_supersets |
|
45 |
79 |
1117 |
2 |
| superblock_free |
|
3 |
13 |
86 |
2 |
| pf_opt_table_ref |
|
2 |
6 |
25 |
1 |
| pf_opt_table_unref |
|
4 |
10 |
59 |
1 |
| Source file: ./sbin/route/route.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usage |
|
2 |
12 |
45 |
1 |
| main |
|
35 |
108 |
537 |
2 |
| flushroutes |
|
40 |
127 |
783 |
2 |
| set_metric |
|
15 |
36 |
177 |
2 |
| newroute |
|
98 |
252 |
1274 |
2 |
| show |
|
12 |
41 |
184 |
2 |
| inet_makenetandmask |
|
12 |
41 |
276 |
3 |
| inet6_makenetandmask |
|
11 |
34 |
253 |
2 |
| getaddr |
|
39 |
140 |
884 |
3 |
| getmplslabel |
|
3 |
20 |
128 |
2 |
| prefixlen |
|
8 |
42 |
292 |
1 |
| interfaces |
|
6 |
27 |
201 |
1 |
| monitor |
|
6 |
23 |
140 |
2 |
| rtmsg |
|
15 |
61 |
402 |
4 |
| mask_addr |
|
9 |
25 |
199 |
3 |
| get_linkstate |
|
3 |
11 |
75 |
2 |
| print_rtmsg |
|
29 |
161 |
1023 |
2 |
| priorityname |
|
10 |
25 |
92 |
1 |
| getpriority |
|
8 |
30 |
116 |
1 |
| print_getmsg |
|
34 |
105 |
621 |
2 |
| bfd_state |
|
5 |
18 |
57 |
1 |
| bfd_diag |
|
10 |
33 |
107 |
1 |
| bfd_calc_uptime |
|
4 |
17 |
97 |
1 |
| print_bfdmsg |
|
1 |
7 |
57 |
1 |
| print_sabfd |
|
6 |
42 |
283 |
2 |
| pmsg_common |
|
1 |
8 |
62 |
1 |
| pmsg_addrs |
|
11 |
38 |
202 |
2 |
| bprintf |
|
8 |
23 |
132 |
3 |
| keycmp |
|
1 |
4 |
33 |
2 |
| keyword |
|
2 |
9 |
62 |
1 |
| sodump |
|
4 |
20 |
106 |
2 |
| sockaddr |
|
15 |
39 |
283 |
2 |
| getlabel |
|
2 |
10 |
71 |
1 |
| gettable |
|
3 |
21 |
136 |
1 |
| rdomain |
|
4 |
10 |
67 |
2 |
| print_rtdns |
|
9 |
52 |
304 |
1 |
| print_rtstatic |
|
11 |
75 |
498 |
1 |
| print_rtsearch |
|
3 |
18 |
104 |
1 |
| Source file: ./sbin/pfctl/pfctl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usage |
|
1 |
13 |
74 |
1 |
| pfctl_enable |
|
4 |
12 |
64 |
2 |
| pfctl_disable |
|
4 |
12 |
64 |
2 |
| pfctl_clear_stats |
|
6 |
16 |
130 |
3 |
| pfctl_clear_interface_flags |
|
4 |
12 |
79 |
2 |
| pfctl_clear_rules |
|
5 |
12 |
97 |
3 |
| pfctl_clear_src_nodes |
|
3 |
7 |
43 |
2 |
| pfctl_clear_states |
|
5 |
12 |
110 |
3 |
| pfctl_addrprefix |
|
12 |
40 |
319 |
2 |
| pfctl_kill_src_nodes |
|
18 |
84 |
774 |
3 |
| pfctl_net_kill_states |
|
20 |
88 |
821 |
4 |
| pfctl_label_kill_states |
|
8 |
20 |
188 |
4 |
| pfctl_id_kill_states |
|
8 |
27 |
217 |
2 |
| pfctl_key_kill_states |
|
17 |
48 |
412 |
4 |
| pfctl_parse_host |
|
7 |
44 |
347 |
2 |
| pfctl_print_rule_counters |
|
7 |
35 |
264 |
2 |
| pfctl_print_title |
|
2 |
7 |
29 |
1 |
| pfctl_show_rules |
|
37 |
142 |
1056 |
8 |
| pfctl_show_src_nodes |
|
14 |
42 |
266 |
2 |
| pfctl_show_states |
|
17 |
46 |
310 |
4 |
| pfctl_show_status |
|
3 |
12 |
63 |
2 |
| pfctl_show_timeouts |
|
6 |
21 |
146 |
2 |
| pfctl_show_limits |
|
5 |
19 |
129 |
2 |
| pfctl_add_rule |
|
9 |
30 |
288 |
3 |
| pfctl_ruleset_trans |
|
4 |
11 |
90 |
3 |
| pfctl_add_queue |
|
6 |
26 |
187 |
2 |
| pfctl_find_queue |
|
2 |
8 |
51 |
2 |
| pfctl_find_childqs |
|
15 |
40 |
386 |
1 |
| pfctl_load_queue |
|
4 |
16 |
140 |
3 |
| pfctl_load_queues |
|
12 |
30 |
255 |
1 |
| pfctl_clear_queues |
|
2 |
9 |
51 |
1 |
| pfctl_leafqueue_check |
|
7 |
25 |
140 |
1 |
| pfctl_check_qassignments |
|
10 |
32 |
206 |
1 |
| pfctl_load_ruleset |
|
15 |
50 |
373 |
4 |
| pfctl_load_rule |
|
11 |
38 |
332 |
4 |
| pfctl_rules |
|
28 |
106 |
760 |
6 |
| pfctl_fopen |
|
4 |
18 |
97 |
2 |
| pfctl_init_options |
|
4 |
46 |
387 |
1 |
| pfctl_load_options |
|
16 |
29 |
248 |
1 |
| pfctl_set_limit |
|
5 |
18 |
132 |
3 |
| pfctl_load_limit |
|
3 |
17 |
107 |
3 |
| pfctl_set_timeout |
|
6 |
18 |
137 |
4 |
| pfctl_load_timeout |
|
2 |
12 |
77 |
3 |
| pfctl_set_reassembly |
|
6 |
15 |
82 |
3 |
| pfctl_set_optimization |
|
7 |
20 |
154 |
2 |
| pfctl_set_logif |
|
4 |
15 |
90 |
2 |
| pfctl_load_logif |
|
4 |
15 |
100 |
2 |
| pfctl_set_hostid |
|
2 |
8 |
47 |
2 |
| pfctl_load_hostid |
|
2 |
8 |
41 |
2 |
| pfctl_load_reassembly |
|
2 |
8 |
41 |
2 |
| pfctl_set_debug |
|
5 |
19 |
115 |
2 |
| pfctl_load_debug |
|
2 |
8 |
44 |
2 |
| pfctl_set_interface_flags |
|
6 |
19 |
144 |
4 |
| pfctl_debug |
|
5 |
13 |
101 |
3 |
| pfctl_show_anchors |
|
11 |
35 |
269 |
3 |
| pfctl_lookup_option |
|
6 |
13 |
82 |
2 |
| pfctl_state_store |
|
13 |
38 |
261 |
2 |
| pfctl_state_load |
|
6 |
20 |
113 |
2 |
| main |
|
115 |
378 |
1927 |
2 |
| Source file: ./sbin/iked/timer.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| timer_set |
|
3 |
11 |
90 |
4 |
| timer_add |
|
1 |
5 |
36 |
3 |
| timer_del |
|
4 |
6 |
42 |
2 |
| timer_callback |
|
2 |
6 |
40 |
3 |
| Source file: ./sbin/iked/imsg_util.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ibuf_cat |
|
1 |
4 |
31 |
2 |
| ibuf_zero |
|
1 |
4 |
20 |
1 |
| ibuf_new |
|
6 |
20 |
108 |
2 |
| ibuf_static |
|
2 |
8 |
39 |
1 |
| ibuf_advance |
|
2 |
7 |
45 |
2 |
| ibuf_release |
|
3 |
10 |
44 |
1 |
| ibuf_length |
|
3 |
6 |
34 |
1 |
| ibuf_data |
|
1 |
4 |
21 |
1 |
| ibuf_getdata |
|
2 |
8 |
51 |
2 |
| ibuf_get |
|
2 |
7 |
46 |
2 |
| ibuf_dup |
|
2 |
6 |
36 |
1 |
| ibuf_random |
|
3 |
13 |
73 |
1 |
| ibuf_setsize |
|
2 |
7 |
37 |
2 |
| ibuf_prepend |
|
3 |
14 |
97 |
3 |
| Source file: ./sbin/iked/control.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| control |
|
1 |
4 |
35 |
2 |
| control_run |
|
2 |
5 |
35 |
3 |
| control_init |
|
9 |
49 |
367 |
2 |
| control_listen |
|
3 |
14 |
96 |
1 |
| control_cleanup |
|
2 |
8 |
45 |
1 |
| control_accept |
|
9 |
36 |
286 |
3 |
| control_connbyfd |
|
2 |
9 |
42 |
1 |
| control_close |
|
3 |
17 |
123 |
2 |
| control_dispatch_imsg |
|
21 |
67 |
390 |
3 |
| control_imsg_forward |
|
2 |
9 |
68 |
1 |
| Source file: ./sbin/iked/config.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| config_new_sa |
|
3 |
20 |
155 |
2 |
| config_getspi |
|
2 |
8 |
33 |
1 |
| config_free_kex |
|
3 |
12 |
65 |
1 |
| config_free_sa |
|
5 |
51 |
394 |
2 |
| config_new_policy |
|
2 |
10 |
67 |
1 |
| config_free_policy |
|
4 |
20 |
119 |
2 |
| config_add_proposal |
|
4 |
16 |
101 |
3 |
| config_free_proposals |
|
5 |
14 |
99 |
2 |
| config_free_flows |
|
2 |
10 |
77 |
2 |
| config_free_childsas |
|
8 |
24 |
180 |
4 |
| config_add_transform |
|
16 |
66 |
336 |
5 |
| config_findtransform |
|
5 |
17 |
97 |
3 |
| config_new_user |
|
3 |
15 |
131 |
2 |
| config_setcoupled |
|
2 |
7 |
46 |
2 |
| config_getcoupled |
|
2 |
5 |
36 |
2 |
| config_setmode |
|
2 |
7 |
46 |
2 |
| config_getmode |
|
4 |
12 |
88 |
2 |
| config_setreset |
|
1 |
5 |
42 |
3 |
| config_getreset |
|
10 |
36 |
277 |
2 |
| config_setsocket |
|
2 |
10 |
84 |
4 |
| config_getsocket |
|
7 |
34 |
258 |
3 |
| config_setpfkey |
|
2 |
9 |
64 |
2 |
| config_getpfkey |
|
1 |
6 |
39 |
2 |
| config_setuser |
|
2 |
9 |
63 |
3 |
| config_getuser |
|
2 |
10 |
70 |
2 |
| config_setpolicy |
|
5 |
36 |
256 |
3 |
| config_setflow |
|
3 |
20 |
145 |
3 |
| config_getpolicy |
|
8 |
41 |
330 |
2 |
| config_getflow |
|
6 |
30 |
211 |
2 |
| config_setcompile |
|
2 |
7 |
47 |
2 |
| config_getcompile |
|
1 |
6 |
34 |
2 |
| config_setmobike |
|
1 |
8 |
44 |
1 |
| config_getmobike |
|
2 |
9 |
67 |
2 |
| config_setocsp |
|
3 |
9 |
56 |
1 |
| config_getocsp |
|
3 |
11 |
75 |
2 |
| config_setkeys |
|
8 |
51 |
381 |
1 |
| config_getkey |
|
3 |
15 |
130 |
2 |
| Source file: ./sbin/iked/ocsp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ocsp_connect |
|
14 |
71 |
473 |
1 |
| ocsp_connect_cb |
|
4 |
18 |
118 |
3 |
| ocsp_connect_finish |
|
5 |
21 |
156 |
3 |
| ocsp_validate_cert |
|
15 |
47 |
379 |
6 |
| ocsp_free |
|
7 |
18 |
109 |
1 |
| ocsp_receive_fd |
|
7 |
38 |
299 |
2 |
| ocsp_load_certs |
|
11 |
39 |
233 |
1 |
| ocsp_callback |
|
8 |
19 |
159 |
3 |
| ocsp_parse_response |
|
15 |
67 |
379 |
2 |
| ocsp_validate_finish |
|
2 |
14 |
125 |
2 |
| Source file: ./sbin/iked/iked.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usage |
|
1 |
7 |
26 |
1 |
| main |
|
22 |
99 |
628 |
2 |
| parent_configure |
|
11 |
38 |
319 |
1 |
| parent_reload |
|
8 |
24 |
175 |
3 |
| parent_sig_handler |
|
19 |
59 |
321 |
3 |
| parent_dispatch_ca |
|
2 |
12 |
61 |
3 |
| parent_dispatch_control |
|
9 |
33 |
213 |
3 |
| parent_shutdown |
|
1 |
7 |
32 |
1 |
| Source file: ./sbin/iked/dh.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| group_init |
|
1 |
4 |
8 |
1 |
| group_free |
|
4 |
12 |
71 |
1 |
| group_get |
|
8 |
41 |
214 |
1 |
| group_getid |
|
3 |
13 |
79 |
1 |
| dh_init |
|
1 |
4 |
19 |
1 |
| dh_getlen |
|
1 |
4 |
19 |
1 |
| dh_secretlen |
|
2 |
7 |
36 |
1 |
| dh_create_exchange |
|
1 |
4 |
25 |
2 |
| dh_create_shared |
|
1 |
4 |
31 |
3 |
| modp_init |
|
4 |
11 |
80 |
1 |
| modp_getlen |
|
2 |
6 |
38 |
1 |
| modp_create_exchange |
|
4 |
16 |
106 |
2 |
| modp_create_shared |
|
4 |
17 |
123 |
3 |
| ec_init |
|
4 |
12 |
80 |
1 |
| ec_getlen |
|
2 |
6 |
42 |
1 |
| ec_secretlen |
|
1 |
4 |
19 |
1 |
| ec_create_exchange |
|
1 |
8 |
51 |
2 |
| ec_create_shared |
|
13 |
36 |
253 |
3 |
| ec_point2raw |
|
16 |
61 |
364 |
5 |
| ec_raw2point |
|
16 |
48 |
315 |
3 |
| ec25519_init |
|
2 |
12 |
84 |
1 |
| ec25519_getlen |
|
2 |
6 |
27 |
1 |
| ec25519_create_exchange |
|
1 |
6 |
41 |
2 |
| ec25519_create_shared |
|
1 |
6 |
42 |
3 |
| Source file: ./sbin/pfctl/pfctl_parser.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| geticmptypebynumber |
|
6 |
18 |
126 |
2 |
| geticmptypebyname |
|
6 |
18 |
135 |
2 |
| geticmpcodebynumber |
|
8 |
20 |
147 |
3 |
| geticmpcodebyname |
|
8 |
20 |
156 |
3 |
| string_to_loglevel |
|
9 |
24 |
180 |
1 |
| loglevel_to_string |
|
3 |
8 |
44 |
1 |
| print_op |
|
10 |
21 |
148 |
3 |
| print_port |
|
5 |
16 |
138 |
5 |
| print_ugid |
|
4 |
11 |
102 |
5 |
| print_flags |
|
3 |
7 |
45 |
1 |
| print_fromto |
|
19 |
37 |
312 |
6 |
| print_pool |
|
23 |
57 |
325 |
6 |
| print_status |
|
18 |
112 |
946 |
2 |
| print_src_node |
|
10 |
49 |
410 |
2 |
| print_rule |
|
164 |
426 |
2935 |
3 |
| print_tabledef |
|
13 |
37 |
226 |
4 |
| print_bwspec |
|
6 |
14 |
104 |
2 |
| print_scspec |
|
2 |
9 |
56 |
2 |
| print_queuespec |
|
11 |
29 |
226 |
1 |
| parse_flags |
|
4 |
12 |
75 |
1 |
| set_ipmask |
|
6 |
19 |
182 |
2 |
| check_netmask |
|
7 |
17 |
122 |
2 |
| gen_dynnode |
|
5 |
17 |
132 |
2 |
| ifa_load |
|
20 |
79 |
679 |
1 |
| ifa_nametoindex |
|
4 |
10 |
65 |
1 |
| ifa_indextoname |
|
4 |
12 |
74 |
2 |
| ifa_exists |
|
9 |
26 |
211 |
1 |
| ifa_grouplookup |
|
9 |
35 |
269 |
2 |
| ifa_lookup |
|
33 |
76 |
572 |
2 |
| ifa_skip_if |
|
12 |
18 |
154 |
2 |
| host |
|
21 |
51 |
436 |
2 |
| host_if |
|
14 |
41 |
290 |
2 |
| host_v4 |
|
5 |
24 |
187 |
2 |
| host_v6 |
|
3 |
26 |
201 |
2 |
| host_dns |
|
16 |
72 |
462 |
4 |
| append_addr |
|
9 |
46 |
272 |
4 |
| append_addr_host |
|
12 |
43 |
307 |
4 |
| pfctl_add_trans |
|
2 |
10 |
79 |
3 |
| pfctl_get_ticket |
|
3 |
8 |
60 |
3 |
| pfctl_trans |
|
1 |
9 |
81 |
4 |
| Source file: ./sbin/iked/eap.h |
| Source file: ./sbin/iked/ikev2_msg.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ikev2_msg_cb |
|
7 |
42 |
344 |
3 |
| ikev1_recv |
|
2 |
21 |
129 |
2 |
| ikev2_msg_init |
|
2 |
17 |
132 |
7 |
| ikev2_msg_copy |
|
6 |
21 |
186 |
2 |
| ikev2_msg_cleanup |
|
3 |
24 |
160 |
2 |
| ikev2_msg_valid_ike_sa |
|
18 |
57 |
441 |
3 |
| ikev2_msg_send |
|
14 |
60 |
507 |
2 |
| ikev2_msg_id |
|
2 |
8 |
44 |
2 |
| ikev2_msg_encrypt |
|
13 |
62 |
500 |
3 |
| ikev2_msg_integr |
|
7 |
41 |
304 |
3 |
| ikev2_msg_decrypt |
|
13 |
83 |
646 |
4 |
| ikev2_msg_send_encrypt |
|
11 |
43 |
360 |
6 |
| ikev2_msg_auth |
|
16 |
45 |
348 |
3 |
| ikev2_msg_authverify |
|
12 |
63 |
411 |
6 |
| ikev2_msg_authsign |
|
13 |
75 |
460 |
4 |
| ikev2_msg_frompeer |
|
7 |
16 |
112 |
1 |
| ikev2_msg_getsocket |
|
5 |
11 |
69 |
3 |
| ikev2_msg_prevail |
|
2 |
9 |
58 |
3 |
| ikev2_msg_dispose |
|
1 |
8 |
50 |
3 |
| ikev2_msg_flushqueue |
|
2 |
6 |
43 |
2 |
| ikev2_msg_lookup |
|
3 |
11 |
66 |
4 |
| ikev2_msg_retransmit_response |
|
2 |
13 |
107 |
3 |
| ikev2_msg_response_timeout |
|
1 |
6 |
41 |
2 |
| ikev2_msg_retransmit_timeout |
|
3 |
22 |
158 |
2 |
| Source file: ./sbin/iked/dh.h |
| Source file: ./sbin/iked/ikev2_pld.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ikev2_pld_parse |
|
2 |
23 |
161 |
4 |
| ikev2_validate_pld |
|
4 |
25 |
157 |
4 |
| ikev2_pld_payloads |
|
29 |
90 |
590 |
5 |
| ikev2_validate_sa |
|
8 |
36 |
218 |
4 |
| ikev2_pld_sa |
|
13 |
80 |
524 |
5 |
| ikev2_validate_xform |
|
4 |
24 |
157 |
4 |
| ikev2_pld_xform |
|
13 |
65 |
435 |
5 |
| ikev2_validate_attr |
|
2 |
12 |
85 |
4 |
| ikev2_pld_attr |
|
7 |
43 |
275 |
5 |
| ikev2_validate_ke |
|
2 |
12 |
85 |
4 |
| ikev2_pld_ke |
|
5 |
29 |
213 |
5 |
| ikev2_validate_id |
|
2 |
12 |
85 |
4 |
| ikev2_pld_id |
|
10 |
43 |
323 |
6 |
| ikev2_validate_cert |
|
2 |
12 |
85 |
4 |
| ikev2_pld_cert |
|
5 |
31 |
215 |
5 |
| ikev2_validate_certreq |
|
2 |
12 |
85 |
4 |
| ikev2_pld_certreq |
|
8 |
36 |
247 |
5 |
| ikev2_validate_auth |
|
2 |
12 |
85 |
4 |
| ikev2_pld_auth |
|
6 |
33 |
241 |
5 |
| ikev2_pld_nonce |
|
4 |
23 |
146 |
5 |
| ikev2_validate_notify |
|
2 |
12 |
85 |
4 |
| ikev2_pld_notify |
|
63 |
286 |
1664 |
5 |
| ikev2_validate_delete |
|
2 |
12 |
85 |
4 |
| ikev2_pld_delete |
|
31 |
131 |
859 |
5 |
| ikev2_validate_ts |
|
2 |
12 |
85 |
4 |
| ikev2_pld_ts |
|
5 |
62 |
511 |
6 |
| ikev2_pld_e |
|
6 |
35 |
268 |
5 |
| ikev2_validate_cp |
|
2 |
12 |
85 |
4 |
| ikev2_pld_cp |
|
5 |
31 |
236 |
5 |
| ikev2_validate_eap |
|
2 |
12 |
85 |
4 |
| ikev2_pld_eap |
|
5 |
28 |
218 |
5 |
| Source file: ./sbin/iked/ca.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| caproc |
|
1 |
4 |
35 |
2 |
| ca_run |
|
3 |
10 |
81 |
3 |
| ca_getkey |
|
5 |
25 |
175 |
3 |
| ca_reset |
|
10 |
24 |
184 |
1 |
| ca_dispatch_parent |
|
8 |
28 |
147 |
3 |
| ca_dispatch_ikev2 |
|
4 |
18 |
85 |
3 |
| ca_setcert |
|
6 |
33 |
272 |
7 |
| ca_setreq |
|
3 |
38 |
299 |
7 |
| ca_setauth |
|
10 |
38 |
284 |
4 |
| ca_getcert |
|
11 |
52 |
373 |
2 |
| ca_getreq |
|
15 |
61 |
450 |
2 |
| ca_getauth |
|
7 |
46 |
349 |
2 |
| ca_reload |
|
29 |
122 |
897 |
1 |
| ca_by_subjectpubkey |
|
5 |
21 |
138 |
3 |
| ca_by_issuer |
|
9 |
32 |
184 |
3 |
| ca_subjectpubkey_digest |
|
5 |
20 |
132 |
3 |
| ca_x509_serialize |
|
3 |
17 |
97 |
1 |
| ca_pubkey_serialize |
|
13 |
60 |
376 |
2 |
| ca_privkey_serialize |
|
13 |
60 |
376 |
2 |
| ca_privkey_to_method |
|
11 |
40 |
203 |
1 |
| ca_asn1_name |
|
2 |
12 |
72 |
2 |
| ca_x509_name |
|
2 |
9 |
60 |
1 |
| ca_x509_name_unescape |
|
5 |
21 |
91 |
3 |
| ca_x509_name_parse |
|
12 |
52 |
304 |
1 |
| ca_validate_pubkey |
|
32 |
104 |
662 |
4 |
| ca_validate_cert |
|
16 |
72 |
404 |
4 |
| ca_x509_subject_cmp |
|
6 |
21 |
154 |
2 |
| ca_x509_subjectaltname_cmp |
|
5 |
22 |
167 |
2 |
| ca_x509_subjectaltname |
|
13 |
60 |
378 |
3 |
| ca_sslinit |
|
1 |
7 |
22 |
1 |
| ca_sslerror |
|
2 |
7 |
41 |
1 |
| Source file: ./sbin/iked/chap_ms.h |
| Source file: ./sbin/iked/smult_curve25519_ref.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| add |
|
2 |
8 |
99 |
3 |
| sub |
|
2 |
13 |
101 |
3 |
| squeeze |
|
3 |
11 |
136 |
1 |
| freeze |
|
3 |
10 |
107 |
1 |
| mult |
|
4 |
13 |
130 |
3 |
| mult121665 |
|
3 |
11 |
148 |
2 |
| square |
|
5 |
18 |
182 |
2 |
| select |
|
2 |
12 |
111 |
5 |
| mainloop |
|
6 |
51 |
486 |
2 |
| recip |
|
7 |
57 |
553 |
2 |
| crypto_scalarmult_curve25519 |
|
4 |
19 |
172 |
3 |
| Source file: ./sbin/iked/pfkey.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pfkey_couple |
|
11 |
30 |
216 |
3 |
| pfkey_map |
|
3 |
10 |
72 |
3 |
| pfkey_flow |
|
27 |
208 |
1660 |
4 |
| pfkey_sa |
|
48 |
282 |
2136 |
4 |
| pfkey_sa_last_used |
|
7 |
88 |
715 |
3 |
| pfkey_sa_getspi |
|
7 |
85 |
697 |
4 |
| pfkey_sagroup |
|
4 |
89 |
747 |
5 |
| pfkey_write |
|
7 |
25 |
153 |
6 |
| pfkey_reply |
|
18 |
72 |
446 |
3 |
| pfkey_flow_add |
|
6 |
17 |
115 |
2 |
| pfkey_flow_delete |
|
6 |
17 |
116 |
2 |
| pfkey_block |
|
3 |
18 |
161 |
3 |
| pfkey_sa_init |
|
3 |
10 |
79 |
3 |
| pfkey_sa_add |
|
14 |
36 |
247 |
3 |
| pfkey_sa_update_addresses |
|
5 |
14 |
128 |
2 |
| pfkey_sa_delete |
|
5 |
12 |
91 |
2 |
| pfkey_flush |
|
1 |
18 |
124 |
1 |
| pfkey_id2ident |
|
11 |
36 |
209 |
2 |
| pfkey_socket |
|
3 |
10 |
53 |
1 |
| pfkey_init |
|
5 |
39 |
298 |
2 |
| pfkey_find_ext |
|
4 |
12 |
91 |
3 |
| pfkey_dispatch |
|
7 |
41 |
271 |
3 |
| pfkey_timer_cb |
|
5 |
24 |
157 |
3 |
| pfkey_process |
|
36 |
217 |
1491 |
2 |
| Source file: ./sbin/iked/util.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| socket_af |
|
3 |
20 |
111 |
2 |
| socket_getport |
|
3 |
12 |
69 |
1 |
| socket_setport |
|
3 |
14 |
75 |
2 |
| socket_getaddr |
|
1 |
5 |
33 |
2 |
| socket_bypass |
|
10 |
47 |
274 |
2 |
| udp_bind |
|
10 |
53 |
316 |
2 |
| sockaddr_cmp |
|
20 |
53 |
578 |
3 |
| sendtofrom |
|
3 |
46 |
337 |
8 |
| recvfromto |
|
11 |
61 |
432 |
8 |
| print_spi |
|
5 |
24 |
128 |
2 |
| print_map |
|
5 |
19 |
160 |
2 |
| lc_string |
|
2 |
5 |
32 |
1 |
| print_hex |
|
7 |
16 |
98 |
3 |
| print_hexval |
|
4 |
10 |
66 |
3 |
| print_bits |
|
10 |
31 |
231 |
2 |
| mask2prefixlen |
|
2 |
9 |
55 |
1 |
| mask2prefixlen6 |
|
11 |
40 |
187 |
1 |
| prefixlen2mask |
|
3 |
8 |
43 |
1 |
| prefixlen2mask6 |
|
4 |
15 |
107 |
2 |
| print_host |
|
6 |
27 |
188 |
3 |
| get_string |
|
3 |
8 |
48 |
2 |
| print_proto |
|
3 |
13 |
98 |
1 |
| expand_string |
|
6 |
29 |
195 |
4 |
| string2unicode |
|
3 |
12 |
94 |
2 |
| print_debug |
|
2 |
9 |
45 |
2 |
| print_verbose |
|
2 |
9 |
43 |
2 |
| Source file: ./sbin/iked/policy.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| policy_init |
|
1 |
9 |
57 |
1 |
| policy_lookup |
|
7 |
29 |
269 |
2 |
| policy_test |
|
16 |
49 |
375 |
2 |
| policy_calc_skip_steps |
|
13 |
28 |
203 |
1 |
| policy_ref |
|
1 |
5 |
25 |
2 |
| policy_unref |
|
5 |
16 |
100 |
2 |
| sa_state |
|
7 |
31 |
192 |
3 |
| sa_stateflags |
|
2 |
13 |
81 |
2 |
| sa_stateok |
|
7 |
21 |
117 |
2 |
| sa_new |
|
25 |
65 |
455 |
5 |
| sa_free |
|
3 |
16 |
124 |
2 |
| flow_replace |
|
9 |
33 |
211 |
2 |
| sa_free_flows |
|
5 |
15 |
119 |
2 |
| sa_address |
|
2 |
13 |
113 |
3 |
| childsa_free |
|
4 |
16 |
87 |
1 |
| childsa_lookup |
|
6 |
12 |
79 |
3 |
| flow_free |
|
1 |
4 |
14 |
1 |
| sa_lookup |
|
5 |
15 |
113 |
4 |
| sa_cmp |
|
12 |
19 |
175 |
2 |
| sa_addrpool_cmp |
|
1 |
5 |
47 |
2 |
| sa_addrpool6_cmp |
|
1 |
5 |
47 |
2 |
| user_lookup |
|
2 |
8 |
64 |
2 |
| user_cmp |
|
1 |
4 |
28 |
2 |
| childsa_cmp |
|
3 |
8 |
58 |
2 |
| addr_cmp |
|
4 |
11 |
92 |
3 |
| flow_cmp |
|
6 |
15 |
131 |
2 |
| flow_equal |
|
1 |
4 |
26 |
2 |
| Source file: ./sbin/iked/eap.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| eap_identity_request |
|
2 |
11 |
79 |
1 |
| eap_identity_response |
|
3 |
15 |
100 |
1 |
| eap_challenge_request |
|
7 |
45 |
349 |
3 |
| eap_success |
|
3 |
18 |
131 |
3 |
| eap_mschap |
|
28 |
138 |
1038 |
3 |
| eap_parse |
|
25 |
158 |
966 |
4 |
| Source file: ./sbin/iked/proc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| proc_ispeer |
|
3 |
9 |
55 |
3 |
| proc_init |
|
10 |
34 |
349 |
3 |
| proc_kill |
|
7 |
16 |
102 |
1 |
| proc_open |
|
8 |
32 |
274 |
4 |
| proc_listen |
|
14 |
50 |
509 |
3 |
| proc_close |
|
6 |
21 |
171 |
1 |
| proc_shutdown |
|
4 |
11 |
76 |
1 |
| proc_sig_handler |
|
7 |
17 |
61 |
3 |
| proc_run |
|
22 |
80 |
643 |
6 |
| proc_dispatch |
|
14 |
55 |
356 |
3 |
| proc_dispatch_null |
|
1 |
4 |
23 |
3 |
| imsg_event_add |
|
3 |
13 |
95 |
1 |
| imsg_compose_event |
|
2 |
10 |
75 |
7 |
| imsg_composev_event |
|
2 |
10 |
77 |
7 |
| proc_range |
|
2 |
9 |
57 |
4 |
| proc_compose_imsg |
|
3 |
12 |
102 |
8 |
| proc_compose |
|
1 |
5 |
48 |
5 |
| proc_composev_imsg |
|
3 |
11 |
102 |
8 |
| proc_composev |
|
1 |
5 |
50 |
5 |
| proc_forward_imsg |
|
1 |
6 |
58 |
4 |
| proc_ibuf |
|
1 |
6 |
48 |
3 |
| proc_iev |
|
1 |
6 |
46 |
3 |
| Source file: ./sbin/iked/ikev2.h |
| Source file: ./sbin/iked/chap_ms.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| get7bits |
|
1 |
8 |
66 |
2 |
| mschap_des_addparity |
|
1 |
12 |
117 |
2 |
| mschap_des_encrypt |
|
1 |
9 |
58 |
3 |
| mschap_challenge_response |
|
1 |
10 |
83 |
3 |
| mschap_ntpassword_hash |
|
1 |
8 |
53 |
3 |
| mschap_challenge_hash |
|
2 |
18 |
126 |
5 |
| mschap_nt_response |
|
1 |
11 |
73 |
7 |
| mschap_auth_response |
|
2 |
47 |
459 |
8 |
| mschap_masterkey |
|
1 |
18 |
152 |
3 |
| mschap_asymetric_startkey |
|
4 |
41 |
483 |
5 |
| mschap_msk |
|
1 |
17 |
146 |
4 |
| mschap_radiuskey |
|
3 |
23 |
220 |
4 |
| Source file: ./sbin/mount_tmpfs/mount_tmpfs.h |
| Source file: ./sbin/mount_tmpfs/mount_tmpfs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mount_tmpfs_parseargs |
|
16 |
66 |
383 |
6 |
| usage |
|
1 |
8 |
29 |
1 |
| mount_tmpfs |
|
2 |
11 |
77 |
2 |
| main |
|
1 |
4 |
21 |
2 |
| a_uid |
|
2 |
7 |
40 |
1 |
| a_gid |
|
2 |
7 |
40 |
1 |
| a_num |
|
4 |
9 |
60 |
2 |
| a_mask |
|
4 |
9 |
53 |
1 |
| pathadj |
|
3 |
9 |
58 |
2 |
| Source file: ./sbin/reboot/reboot.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sleep_while_procs |
|
4 |
9 |
42 |
1 |
| main |
|
42 |
139 |
816 |
2 |
| usage |
|
2 |
6 |
26 |
1 |
| Source file: ./sbin/fsck/pathnames.h |
| Source file: ./sbin/fsck/fsutil.h |
| Source file: ./sbin/fsck/fsutil.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| setcdevname |
|
1 |
6 |
29 |
3 |
| cdevname |
|
1 |
4 |
9 |
1 |
| hotroot |
|
1 |
4 |
9 |
1 |
| errexit |
|
1 |
8 |
43 |
2 |
| vmsg |
|
7 |
20 |
101 |
3 |
| pfatal |
|
1 |
7 |
35 |
2 |
| pwarn |
|
1 |
7 |
35 |
2 |
| xperror |
|
1 |
4 |
21 |
1 |
| panic |
|
1 |
8 |
40 |
2 |
| unrawname |
|
5 |
15 |
116 |
1 |
| rawname |
|
2 |
13 |
97 |
1 |
| blockcheck |
|
11 |
42 |
246 |
1 |
| emalloc |
|
3 |
10 |
47 |
1 |
| ereallocarray |
|
4 |
14 |
76 |
3 |
| estrdup |
|
2 |
7 |
34 |
1 |
| Source file: ./sbin/mount_udf/mount_udf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usage |
|
1 |
6 |
25 |
1 |
| lastblock |
|
3 |
16 |
107 |
1 |
| main |
|
6 |
25 |
166 |
2 |
| Source file: ./sbin/fsck/fsck.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
29 |
95 |
573 |
2 |
| isok |
|
8 |
20 |
93 |
1 |
| checkfs |
|
22 |
90 |
567 |
5 |
| selected |
|
4 |
8 |
55 |
1 |
| getoptions |
|
2 |
8 |
45 |
1 |
| addoption |
|
3 |
14 |
97 |
1 |
| addentry |
|
1 |
8 |
62 |
3 |
| maketypelist |
|
6 |
14 |
93 |
1 |
| catopt |
|
5 |
12 |
75 |
3 |
| mangle |
|
6 |
30 |
197 |
4 |
| hasopt |
|
4 |
13 |
92 |
2 |
| usage |
|
1 |
8 |
27 |
1 |
| Source file: ./sbin/atactl/atasmart.h |
| Source file: ./sbin/atactl/atasec.h |
| Source file: ./sbin/fsck/preen.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| checkfstab |
|
45 |
140 |
912 |
4 |
| finddisk |
|
6 |
24 |
176 |
1 |
| printpart |
|
1 |
11 |
70 |
1 |
| addpart |
|
2 |
16 |
129 |
4 |
| startdisk |
|
4 |
12 |
106 |
2 |
| Source file: ./sbin/newfs_ext2fs/extern.h |
| Source file: ./sbin/quotacheck/quotacheck.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
26 |
79 |
502 |
2 |
| usage |
|
1 |
7 |
29 |
1 |
| needchk |
|
12 |
28 |
207 |
1 |
| chkquota |
|
44 |
124 |
863 |
5 |
| update |
|
28 |
85 |
668 |
3 |
| oneof_realpath |
|
6 |
18 |
116 |
3 |
| oneof_specname |
|
6 |
23 |
153 |
3 |
| getquotagid |
|
2 |
7 |
37 |
1 |
| hasquota |
|
10 |
32 |
253 |
3 |
| lookup |
|
3 |
8 |
61 |
2 |
| addid |
|
6 |
24 |
184 |
3 |
| getnextinode |
|
6 |
29 |
155 |
1 |
| setinodebuf |
|
7 |
27 |
184 |
1 |
| freeinodebuf |
|
1 |
5 |
15 |
1 |
| bread |
|
2 |
5 |
44 |
3 |
| Source file: ./sbin/iked/iked.h |
| Source file: ./sbin/newfs_ext2fs/newfs_ext2fs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
74 |
225 |
1288 |
2 |
| strsuftoi64 |
|
20 |
50 |
258 |
5 |
| usage |
|
1 |
9 |
41 |
1 |
| getdisklabel |
|
4 |
19 |
97 |
2 |
| getpartition |
|
11 |
31 |
277 |
4 |
| Source file: ./sbin/newfs/pathnames.h |
| Source file: ./sbin/mknod/mknod.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
16 |
81 |
480 |
2 |
| compute_device |
|
12 |
25 |
208 |
2 |
| domakenodes |
|
5 |
20 |
127 |
2 |
| usage |
|
2 |
14 |
57 |
1 |
| Source file: ./sbin/atactl/atactl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
7 |
23 |
166 |
2 |
| usage |
|
1 |
5 |
20 |
1 |
| ata_command |
|
7 |
22 |
106 |
1 |
| print_bitinfo |
|
3 |
6 |
46 |
3 |
| strtoval |
|
3 |
7 |
52 |
2 |
| valtostr |
|
3 |
7 |
44 |
2 |
| device_dump |
|
76 |
237 |
1341 |
2 |
| device_identify |
|
30 |
96 |
845 |
2 |
| device_idle |
|
4 |
19 |
122 |
2 |
| device_sec_setpass |
|
12 |
50 |
393 |
2 |
| device_sec_unlock |
|
4 |
29 |
198 |
2 |
| device_sec_erase |
|
7 |
39 |
270 |
2 |
| device_sec_freeze |
|
2 |
14 |
80 |
2 |
| device_sec_disablepass |
|
4 |
29 |
198 |
2 |
| sec_getpass |
|
8 |
18 |
124 |
2 |
| device_smart_enable |
|
2 |
16 |
92 |
2 |
| device_smart_disable |
|
2 |
16 |
92 |
2 |
| device_smart_status |
|
4 |
23 |
137 |
2 |
| device_smart_autosave |
|
3 |
21 |
123 |
2 |
| device_smart_offline |
|
3 |
21 |
123 |
2 |
| device_smart_read |
|
5 |
46 |
320 |
2 |
| device_smart_readlog |
|
26 |
128 |
983 |
2 |
| smart_print_errdata |
|
1 |
34 |
384 |
1 |
| smart_cksum |
|
2 |
8 |
44 |
2 |
| device_attr |
|
10 |
65 |
481 |
2 |
| device_acoustic |
|
3 |
23 |
138 |
2 |
| device_apm |
|
3 |
23 |
138 |
2 |
| device_feature |
|
13 |
38 |
314 |
2 |
| device_setidle |
|
10 |
32 |
232 |
2 |
| device_checkpower |
|
5 |
29 |
140 |
2 |
| Source file: ./sbin/newfs_ext2fs/mke2fs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mke2fs |
|
64 |
307 |
2128 |
2 |
| initcg |
|
13 |
54 |
504 |
1 |
| zap_old_sblock |
|
11 |
48 |
322 |
1 |
| cgoverhead |
|
6 |
16 |
92 |
1 |
| fsinit |
|
16 |
74 |
631 |
1 |
| makedir |
|
2 |
18 |
143 |
2 |
| copy_dir |
|
1 |
6 |
50 |
2 |
| init_resizeino |
|
16 |
84 |
653 |
1 |
| alloc |
|
12 |
46 |
322 |
2 |
| iput |
|
8 |
43 |
358 |
2 |
| rdfs |
|
2 |
10 |
60 |
3 |
| wtfs |
|
3 |
12 |
66 |
3 |
| ilog2 |
|
3 |
7 |
38 |
1 |
| skpc |
|
3 |
8 |
48 |
3 |
| uuid_get |
|
1 |
10 |
81 |
1 |
| Source file: ./sbin/savecore/savecore.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
21 |
62 |
312 |
2 |
| kmem_setup |
|
17 |
70 |
536 |
1 |
| check_kmem |
|
9 |
38 |
254 |
1 |
| dump_exists |
|
3 |
16 |
96 |
1 |
| clear_dump |
|
2 |
6 |
30 |
1 |
| save_core |
|
37 |
139 |
1015 |
1 |
| find_dev |
|
7 |
33 |
244 |
2 |
| rawname |
|
4 |
15 |
122 |
1 |
| get_crashtime |
|
5 |
16 |
99 |
1 |
| check_space |
|
12 |
50 |
336 |
1 |
| usage |
|
1 |
7 |
25 |
1 |
| Source file: ./sbin/savecore/compress.h |
| Source file: ./sbin/newfs/newfs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| getphysmem |
|
2 |
7 |
53 |
1 |
| main |
|
126 |
378 |
2419 |
2 |
| getdisklabel |
|
4 |
18 |
95 |
2 |
| rewritelabel |
|
3 |
11 |
68 |
3 |
| fatal |
|
2 |
14 |
76 |
2 |
| usage |
|
2 |
23 |
52 |
1 |
| do_exec |
|
11 |
39 |
240 |
3 |
| isdir |
|
4 |
9 |
71 |
1 |
| copy |
|
15 |
43 |
336 |
3 |
| gettmpmnt |
|
10 |
29 |
224 |
2 |
| Source file: ./sbin/savecore/zopen.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| zwrite |
|
21 |
83 |
616 |
3 |
| z_close |
|
5 |
29 |
200 |
4 |
| zclose |
|
1 |
4 |
20 |
1 |
| output |
|
16 |
67 |
461 |
2 |
| cl_block |
|
5 |
25 |
151 |
1 |
| cl_hash |
|
3 |
29 |
221 |
2 |
| zopen |
|
6 |
20 |
147 |
3 |
| z_open |
|
9 |
29 |
219 |
6 |
| Source file: ./sbin/fdisk/gpt.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| GPT_get_header |
|
15 |
79 |
559 |
1 |
| GPT_get_partition_table |
|
6 |
37 |
268 |
1 |
| GPT_get_gpt |
|
8 |
18 |
144 |
1 |
| GPT_print |
|
7 |
31 |
234 |
2 |
| GPT_print_parthdr |
|
2 |
9 |
28 |
1 |
| GPT_print_part |
|
4 |
27 |
214 |
3 |
| GPT_init |
|
10 |
64 |
594 |
1 |
| GPT_write |
|
9 |
53 |
439 |
1 |
| Source file: ./sbin/fdisk/mbr.h |
| Source file: ./sbin/fdisk/user.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| USER_edit |
|
20 |
56 |
368 |
2 |
| USER_print_disk |
|
14 |
45 |
259 |
1 |
| Source file: ./sbin/fdisk/cmd.h |
| Source file: ./sbin/fdisk/misc.h |
| Source file: ./sbin/fdisk/disk.h |
| Source file: ./sbin/fdisk/gpt.h |
| Source file: ./sbin/fdisk/misc.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| unit_lookup |
|
5 |
14 |
81 |
1 |
| string_from_line |
|
4 |
15 |
86 |
2 |
| ask_cmd |
|
2 |
13 |
109 |
2 |
| ask_num |
|
7 |
24 |
152 |
4 |
| ask_pid |
|
13 |
33 |
208 |
2 |
| ask_yn |
|
7 |
15 |
91 |
1 |
| getuint64 |
|
28 |
105 |
621 |
4 |
| ask_string |
|
5 |
11 |
88 |
2 |
| crc32 |
|
3 |
15 |
99 |
2 |
| utf16le_to_string |
|
4 |
13 |
79 |
1 |
| string_to_utf16le |
|
4 |
13 |
81 |
1 |
| Source file: ./sbin/fdisk/part.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| PRT_printall |
|
3 |
18 |
169 |
1 |
| PRT_ascii_id |
|
3 |
10 |
68 |
1 |
| PRT_parse |
|
4 |
25 |
232 |
4 |
| PRT_check_chs |
|
7 |
13 |
71 |
1 |
| PRT_make |
|
8 |
37 |
325 |
4 |
| PRT_print |
|
3 |
26 |
157 |
3 |
| PRT_fix_BN |
|
3 |
23 |
151 |
2 |
| PRT_fix_CHS |
|
3 |
28 |
217 |
1 |
| PRT_uuid_to_typename |
|
5 |
24 |
165 |
1 |
| PRT_uuid_to_type |
|
4 |
20 |
125 |
1 |
| PRT_type_to_uuid |
|
6 |
16 |
129 |
1 |
| Source file: ./sbin/fdisk/fdisk.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usage |
|
1 |
20 |
38 |
1 |
| main |
|
51 |
145 |
874 |
2 |
| Source file: ./sbin/fdisk/user.h |
| Source file: ./sbin/fdisk/disk.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| DISK_open |
|
13 |
34 |
273 |
1 |
| DISK_printgeometry |
|
4 |
18 |
132 |
1 |
| DISK_readsector |
|
5 |
21 |
115 |
1 |
| DISK_writesector |
|
4 |
17 |
95 |
2 |
| Source file: ./sbin/newfs/mkfs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| siginfo |
|
1 |
7 |
34 |
1 |
| mkfs |
|
70 |
329 |
2622 |
7 |
| initcg |
|
24 |
124 |
1067 |
2 |
| fsinit1 |
|
6 |
40 |
398 |
4 |
| fsinit2 |
|
4 |
30 |
329 |
1 |
| makedir |
|
2 |
15 |
136 |
2 |
| alloc |
|
9 |
48 |
401 |
2 |
| iput |
|
5 |
30 |
267 |
2 |
| rdfs |
|
3 |
12 |
77 |
3 |
| wtfs |
|
4 |
14 |
83 |
3 |
| isblock |
|
6 |
21 |
170 |
3 |
| clrblock |
|
6 |
21 |
143 |
3 |
| setblock |
|
6 |
21 |
141 |
3 |
| charsperline |
|
6 |
15 |
90 |
1 |
| ilog2 |
|
3 |
8 |
51 |
1 |
| checksz |
|
3 |
23 |
188 |
1 |
| Source file: ./sbin/fdisk/mbrcode.h |
| Source file: ./sbin/fdisk/part.h |
| Source file: ./sbin/fdisk/mbr.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| MBR_protective_mbr |
|
2 |
11 |
92 |
1 |
| MBR_init_GPT |
|
1 |
8 |
70 |
1 |
| MBR_init |
|
10 |
56 |
618 |
1 |
| MBR_parse |
|
2 |
12 |
119 |
4 |
| MBR_make |
|
2 |
13 |
109 |
2 |
| MBR_print |
|
2 |
10 |
83 |
2 |
| MBR_read |
|
2 |
10 |
58 |
2 |
| MBR_write |
|
2 |
12 |
76 |
2 |
| MBR_zapgpt |
|
8 |
30 |
208 |
2 |
| gpt_chk_mbr |
|
9 |
23 |
137 |
2 |
| Source file: ./sbin/dmesg/dmesg.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
36 |
108 |
760 |
2 |
| usage |
|
1 |
6 |
25 |
1 |
| Source file: ./sbin/fsdb/fsdb.h |
| Source file: ./sbin/fdisk/cmd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| Xreinit |
|
6 |
29 |
174 |
2 |
| Xdisk |
|
3 |
20 |
126 |
2 |
| Xswap |
|
7 |
42 |
263 |
2 |
| Xgedit |
|
8 |
48 |
337 |
1 |
| Xedit |
|
10 |
51 |
410 |
2 |
| Xgsetpid |
|
5 |
29 |
196 |
1 |
| Xsetpid |
|
4 |
21 |
144 |
2 |
| Xselect |
|
6 |
29 |
177 |
2 |
| Xprint |
|
3 |
8 |
51 |
2 |
| Xwrite |
|
9 |
30 |
210 |
2 |
| Xquit |
|
1 |
4 |
18 |
2 |
| Xabort |
|
1 |
4 |
18 |
2 |
| Xexit |
|
1 |
4 |
18 |
2 |
| Xhelp |
|
5 |
18 |
130 |
2 |
| Xupdate |
|
1 |
7 |
47 |
2 |
| Xflag |
|
12 |
51 |
347 |
2 |
| Xmanual |
|
5 |
22 |
141 |
2 |
| Source file: ./sbin/ifconfig/brconfig.h |
| Source file: ./sbin/fsdb/fsdbutil.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| crack |
|
6 |
16 |
97 |
2 |
| argcount |
|
2 |
10 |
81 |
3 |
| printstat |
|
14 |
66 |
525 |
3 |
| checkactive |
|
2 |
8 |
24 |
1 |
| checkactivedir |
|
3 |
13 |
56 |
1 |
| printactive |
|
10 |
26 |
113 |
1 |
| Source file: ./sbin/fsck_ext2fs/utilities.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ftypeok |
|
9 |
17 |
71 |
1 |
| reply |
|
18 |
33 |
200 |
1 |
| bufinit |
|
6 |
30 |
183 |
1 |
| getdatablk |
|
6 |
24 |
173 |
2 |
| getblk |
|
2 |
12 |
79 |
3 |
| flush |
|
7 |
21 |
172 |
2 |
| rwerror |
|
3 |
8 |
45 |
2 |
| ckfini |
|
15 |
45 |
294 |
1 |
| bread |
|
5 |
28 |
190 |
4 |
| bwrite |
|
6 |
28 |
175 |
4 |
| allocblk |
|
3 |
12 |
53 |
1 |
| freeblk |
|
1 |
7 |
32 |
1 |
| getpathname |
|
12 |
51 |
340 |
4 |
| catch |
|
1 |
5 |
17 |
1 |
| catchquit |
|
1 |
9 |
49 |
1 |
| voidquit |
|
1 |
8 |
41 |
1 |
| dofix |
|
8 |
28 |
134 |
2 |
| Source file: ./sbin/ifconfig/brconfig.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| setdiscover |
|
1 |
4 |
19 |
2 |
| unsetdiscover |
|
1 |
4 |
19 |
2 |
| setblocknonip |
|
1 |
4 |
19 |
2 |
| unsetblocknonip |
|
1 |
4 |
19 |
2 |
| setlearn |
|
1 |
4 |
19 |
2 |
| unsetlearn |
|
1 |
4 |
19 |
2 |
| setstp |
|
1 |
4 |
19 |
2 |
| unsetstp |
|
1 |
4 |
19 |
2 |
| setedge |
|
1 |
4 |
19 |
2 |
| unsetedge |
|
1 |
4 |
19 |
2 |
| setautoedge |
|
1 |
4 |
19 |
2 |
| unsetautoedge |
|
1 |
4 |
19 |
2 |
| setptp |
|
1 |
4 |
19 |
2 |
| unsetptp |
|
1 |
4 |
19 |
2 |
| setautoptp |
|
1 |
4 |
19 |
2 |
| unsetautoptp |
|
1 |
4 |
19 |
2 |
| addlocal |
|
4 |
14 |
114 |
2 |
| bridge_ifsetflag |
|
3 |
11 |
112 |
2 |
| bridge_ifclrflag |
|
3 |
11 |
114 |
2 |
| bridge_flushall |
|
2 |
8 |
61 |
2 |
| bridge_flush |
|
2 |
8 |
61 |
2 |
| bridge_cfg |
|
4 |
31 |
224 |
1 |
| bridge_list |
|
8 |
40 |
294 |
1 |
| bridge_add |
|
3 |
11 |
83 |
2 |
| bridge_delete |
|
2 |
8 |
73 |
2 |
| bridge_addspan |
|
3 |
11 |
83 |
2 |
| bridge_delspan |
|
2 |
8 |
73 |
2 |
| bridge_timeout |
|
7 |
16 |
130 |
2 |
| bridge_maxage |
|
7 |
15 |
127 |
2 |
| bridge_priority |
|
7 |
15 |
127 |
2 |
| bridge_proto |
|
5 |
16 |
123 |
2 |
| bridge_fwddelay |
|
7 |
15 |
127 |
2 |
| bridge_hellotime |
|
7 |
15 |
127 |
2 |
| bridge_maxaddr |
|
7 |
15 |
127 |
2 |
| bridge_deladdr |
|
3 |
12 |
100 |
2 |
| bridge_ifprio |
|
7 |
16 |
147 |
2 |
| bridge_ifcost |
|
7 |
16 |
147 |
2 |
| bridge_noifcost |
|
2 |
9 |
80 |
2 |
| bridge_addaddr |
|
3 |
14 |
124 |
2 |
| bridge_addrs |
|
10 |
44 |
343 |
2 |
| bridge_holdcnt |
|
3 |
11 |
94 |
2 |
| is_bridge |
|
4 |
16 |
116 |
1 |
| bridge_status |
|
8 |
23 |
175 |
1 |
| bridge_flushrule |
|
2 |
8 |
73 |
2 |
| bridge_rules |
|
7 |
28 |
212 |
2 |
| bridge_showrule |
|
9 |
26 |
175 |
1 |
| bridge_rule |
|
25 |
94 |
633 |
3 |
| bridge_rulefile |
|
8 |
26 |
178 |
2 |
| bridge_badrule |
|
3 |
11 |
82 |
3 |
| is_switch |
|
2 |
8 |
55 |
1 |
| switch_cfg |
|
4 |
16 |
167 |
1 |
| switch_status |
|
5 |
13 |
74 |
1 |
| switch_datapathid |
|
5 |
14 |
116 |
2 |
| switch_portno |
|
6 |
19 |
145 |
2 |
| Source file: ./sbin/fsck_ext2fs/fsck.h |
| Source file: ./sbin/fsck_ext2fs/pass5.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pass5 |
|
43 |
160 |
1176 |
1 |
| print_bmap |
|
3 |
11 |
71 |
2 |
| Source file: ./sbin/fsdb/fsdb.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usage |
|
1 |
5 |
20 |
1 |
| main |
|
6 |
31 |
154 |
2 |
| helpfn |
|
2 |
10 |
68 |
2 |
| prompt |
|
1 |
7 |
37 |
1 |
| cmdloop |
|
14 |
61 |
376 |
1 |
| CMDFUNCSTART |
|
1 |
11 |
42 |
1 |
| CMDFUNCSTART |
|
1 |
7 |
24 |
1 |
| CMDFUNCSTART |
|
2 |
13 |
55 |
1 |
| CMDFUNCSTART |
|
1 |
5 |
13 |
1 |
| CMDFUNCSTART |
|
1 |
4 |
10 |
1 |
| CMDFUNCSTART |
|
2 |
10 |
58 |
1 |
| CMDFUNCSTART |
|
2 |
10 |
58 |
1 |
| scannames |
|
1 |
8 |
59 |
1 |
| CMDFUNCSTART |
|
1 |
13 |
60 |
1 |
| dolookup |
|
3 |
20 |
99 |
1 |
| CMDFUNCSTART |
|
9 |
27 |
147 |
1 |
| CMDFUNCSTART |
|
3 |
17 |
84 |
1 |
| CMDFUNCSTART |
|
3 |
14 |
65 |
1 |
| chinumfunc |
|
2 |
9 |
45 |
1 |
| CMDFUNCSTART |
|
6 |
26 |
147 |
1 |
| chnamefunc |
|
3 |
15 |
98 |
1 |
| CMDFUNCSTART |
|
6 |
29 |
182 |
1 |
| CMDFUNCSTART |
|
5 |
27 |
179 |
1 |
| CMDFUNCSTART |
|
4 |
18 |
115 |
1 |
| CMDFUNCSTART |
|
5 |
17 |
96 |
1 |
| CMDFUNCSTART |
|
5 |
21 |
112 |
1 |
| CMDFUNCSTART |
|
6 |
21 |
116 |
1 |
| CMDFUNCSTART |
|
6 |
21 |
114 |
1 |
| CMDFUNCSTART |
|
5 |
22 |
122 |
1 |
| CMDFUNCSTART |
|
5 |
22 |
122 |
1 |
| dotime |
|
11 |
50 |
370 |
3 |
| CMDFUNCSTART |
|
2 |
12 |
60 |
1 |
| CMDFUNCSTART |
|
2 |
12 |
60 |
1 |
| CMDFUNCSTART |
|
2 |
12 |
60 |
1 |
| Source file: ./sbin/fsck_ext2fs/pass4.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pass4 |
|
14 |
52 |
277 |
1 |
| pass4check |
|
7 |
26 |
149 |
1 |
| Source file: ./sbin/fsck_ext2fs/pass1.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pass1 |
|
16 |
49 |
355 |
1 |
| checkinode |
|
53 |
159 |
1035 |
2 |
| pass1check |
|
19 |
61 |
384 |
1 |
| Source file: ./sbin/fsck_ext2fs/inode.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| setlarge |
|
5 |
16 |
77 |
1 |
| inosize |
|
3 |
9 |
65 |
1 |
| inossize |
|
5 |
14 |
97 |
2 |
| ckinode |
|
20 |
80 |
527 |
2 |
| iblock |
|
18 |
78 |
532 |
3 |
| chkrange |
|
7 |
37 |
258 |
2 |
| ginode |
|
8 |
17 |
132 |
1 |
| getnextinode |
|
5 |
26 |
150 |
1 |
| resetinodebuf |
|
4 |
23 |
133 |
1 |
| freeinodebuf |
|
2 |
6 |
25 |
1 |
| cacheino |
|
6 |
33 |
248 |
2 |
| getinoinfo |
|
3 |
11 |
65 |
1 |
| inocleanup |
|
3 |
11 |
74 |
1 |
| inodirty |
|
1 |
4 |
11 |
1 |
| clri |
|
6 |
19 |
119 |
3 |
| findname |
|
2 |
10 |
75 |
1 |
| findino |
|
6 |
14 |
88 |
1 |
| pinode |
|
6 |
25 |
202 |
1 |
| blkerror |
|
5 |
18 |
88 |
3 |
| allocino |
|
12 |
46 |
280 |
2 |
| freeino |
|
1 |
15 |
85 |
1 |
| Source file: ./sbin/fsck_ext2fs/pass2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pass2 |
|
30 |
113 |
808 |
1 |
| pass2check |
|
71 |
226 |
1710 |
1 |
| blksort |
|
1 |
5 |
47 |
2 |
| Source file: ./sbin/fsck_ext2fs/extern.h |
| Source file: ./sbin/fsck_ext2fs/pass3.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pass3 |
|
10 |
27 |
176 |
1 |
| Source file: ./sbin/fsck_ext2fs/pass1b.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pass1b |
|
8 |
25 |
156 |
1 |
| pass1bcheck |
|
8 |
23 |
148 |
1 |
| Source file: ./sbin/fsck_ext2fs/main.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
15 |
53 |
266 |
2 |
| argtoi |
|
3 |
9 |
63 |
4 |
| checkfilesys |
|
35 |
116 |
649 |
4 |
| usage |
|
1 |
8 |
28 |
1 |
| Source file: ./sbin/fsck_ext2fs/setup.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| setup |
|
48 |
174 |
1207 |
1 |
| readsb |
|
17 |
96 |
842 |
1 |
| copyback_sb |
|
1 |
29 |
417 |
1 |
| badsb |
|
3 |
8 |
38 |
2 |
| calcsb |
|
11 |
44 |
385 |
4 |
| getdisklabel |
|
3 |
11 |
70 |
2 |
| cgoverhead |
|
4 |
14 |
63 |
1 |
| Source file: ./sbin/mount_ext2fs/mount_ext2fs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
11 |
48 |
255 |
2 |
| ext2fs_usage |
|
1 |
6 |
21 |
1 |
| Source file: ./sbin/mount_msdos/mount_msdos.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
24 |
82 |
459 |
2 |
| a_gid |
|
3 |
12 |
73 |
1 |
| a_uid |
|
3 |
12 |
73 |
1 |
| a_mask |
|
6 |
13 |
77 |
1 |
| usage |
|
1 |
6 |
18 |
1 |
| Source file: ./sbin/slaacd/log.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| log_init |
|
2 |
10 |
48 |
2 |
| log_procinit |
|
2 |
5 |
19 |
1 |
| log_setverbose |
|
1 |
4 |
11 |
1 |
| log_getverbose |
|
1 |
4 |
11 |
1 |
| logit |
|
1 |
7 |
38 |
3 |
| vlog |
|
3 |
17 |
99 |
3 |
| log_warn |
|
3 |
21 |
120 |
2 |
| log_warnx |
|
1 |
7 |
35 |
2 |
| log_info |
|
1 |
7 |
35 |
2 |
| log_debug |
|
2 |
9 |
41 |
2 |
| vfatalc |
|
3 |
17 |
106 |
3 |
| fatal |
|
1 |
8 |
40 |
2 |
| fatalx |
|
1 |
8 |
40 |
2 |
| Source file: ./sbin/fsck_ext2fs/dir.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| propagate |
|
8 |
27 |
160 |
1 |
| dirscan |
|
10 |
42 |
317 |
1 |
| fsck_readdir |
|
15 |
54 |
464 |
1 |
| dircheck |
|
15 |
28 |
208 |
2 |
| direrror |
|
1 |
4 |
20 |
2 |
| fileerror |
|
6 |
19 |
129 |
3 |
| adjust |
|
9 |
26 |
191 |
2 |
| mkentry |
|
5 |
27 |
233 |
1 |
| chgino |
|
5 |
15 |
116 |
1 |
| linkup |
|
26 |
100 |
647 |
2 |
| changeino |
|
1 |
12 |
82 |
3 |
| makeentry |
|
10 |
29 |
226 |
3 |
| expanddir |
|
11 |
55 |
459 |
2 |
| allocdir |
|
10 |
54 |
382 |
3 |
| freedir |
|
2 |
10 |
55 |
2 |
| lftempname |
|
3 |
18 |
94 |
2 |
| getdirblk |
|
2 |
7 |
36 |
2 |
| Source file: ./sbin/slaacd/control.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| control_init |
|
6 |
36 |
255 |
1 |
| control_listen |
|
2 |
12 |
80 |
1 |
| control_cleanup |
|
2 |
8 |
37 |
1 |
| control_accept |
|
9 |
34 |
272 |
3 |
| control_connbyfd |
|
2 |
9 |
42 |
1 |
| control_connbypid |
|
2 |
9 |
42 |
1 |
| control_close |
|
3 |
17 |
118 |
1 |
| control_dispatch_imsg |
|
16 |
64 |
419 |
3 |
| control_imsg_relay |
|
2 |
8 |
76 |
1 |
| Source file: ./sbin/slaacd/frontend.h |
| Source file: ./sbin/slaacd/engine.h |
| Source file: ./sbin/slaacd/control.h |
| Source file: ./sbin/slaacd/slaacd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main_sig_handler |
|
4 |
13 |
47 |
3 |
| usage |
|
1 |
7 |
25 |
1 |
| main |
|
25 |
102 |
716 |
2 |
| main_shutdown |
|
9 |
25 |
162 |
1 |
| start_child |
|
11 |
41 |
220 |
6 |
| main_dispatch_frontend |
|
18 |
66 |
389 |
3 |
| main_dispatch_engine |
|
21 |
71 |
458 |
3 |
| main_imsg_compose_frontend |
|
2 |
8 |
49 |
4 |
| main_imsg_compose_engine |
|
2 |
8 |
49 |
4 |
| imsg_event_add |
|
2 |
9 |
73 |
1 |
| imsg_compose_event |
|
2 |
9 |
70 |
7 |
| main_imsg_send_ipc_sockets |
|
4 |
17 |
123 |
2 |
| handle_proposal |
|
10 |
71 |
575 |
1 |
| configure_interface |
|
4 |
31 |
229 |
1 |
| configure_gateway |
|
6 |
71 |
643 |
2 |
| add_gateway |
|
1 |
4 |
16 |
1 |
| delete_gateway |
|
1 |
4 |
16 |
1 |
| sin6_to_str |
|
2 |
12 |
81 |
1 |
| Source file: ./sbin/slaacd/slaacd.h |
| Source file: ./sbin/slaacd/log.h |
| Source file: ./sbin/mountd/pathnames.h |
| Source file: ./sbin/slaacd/engine.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| engine_sig_handler |
|
3 |
10 |
37 |
3 |
| engine |
|
9 |
40 |
319 |
2 |
| engine_shutdown |
|
1 |
11 |
64 |
1 |
| engine_imsg_compose_frontend |
|
1 |
6 |
38 |
4 |
| engine_imsg_compose_main |
|
1 |
6 |
38 |
4 |
| engine_dispatch_frontend |
|
36 |
142 |
843 |
3 |
| engine_dispatch_main |
|
38 |
174 |
1095 |
3 |
| send_interface_info |
|
7 |
127 |
982 |
2 |
| engine_showinfo_ctl |
|
4 |
20 |
113 |
2 |
| get_slaacd_iface_by_id |
|
2 |
9 |
41 |
1 |
| remove_slaacd_iface |
|
5 |
28 |
167 |
1 |
| free_ra |
|
5 |
25 |
150 |
1 |
| parse_ra |
|
37 |
178 |
1145 |
2 |
| gen_addr |
|
3 |
48 |
483 |
4 |
| in6_prefixlen2mask |
|
5 |
14 |
125 |
2 |
| in6_mask2prefixlen |
|
10 |
21 |
169 |
1 |
| debug_log_ra |
|
32 |
176 |
1005 |
1 |
| parse_dnssl |
|
11 |
37 |
207 |
2 |
| update_iface_ra |
|
28 |
146 |
741 |
2 |
| timeout_from_lifetime |
|
3 |
21 |
124 |
1 |
| configure_address |
|
1 |
15 |
122 |
1 |
| gen_address_proposal |
|
5 |
45 |
317 |
4 |
| free_address_proposal |
|
2 |
7 |
30 |
1 |
| gen_dfr_proposal |
|
2 |
27 |
204 |
2 |
| configure_dfr |
|
4 |
28 |
195 |
1 |
| withdraw_dfr |
|
1 |
9 |
75 |
1 |
| free_dfr_proposal |
|
3 |
14 |
54 |
1 |
| send_proposal |
|
1 |
9 |
67 |
1 |
| start_probe |
|
1 |
11 |
66 |
1 |
| address_proposal_timeout |
|
10 |
80 |
507 |
3 |
| dfr_proposal_timeout |
|
7 |
68 |
420 |
3 |
| iface_timeout |
|
6 |
27 |
143 |
3 |
| find_ra |
|
2 |
10 |
68 |
2 |
| find_address_proposal_by_id |
|
2 |
9 |
48 |
2 |
| find_address_proposal_by_addr |
|
2 |
10 |
62 |
2 |
| find_dfr_proposal_by_id |
|
2 |
9 |
48 |
2 |
| find_prefix |
|
3 |
23 |
139 |
4 |
| real_lifetime |
|
3 |
12 |
75 |
2 |
| Source file: ./sbin/iked/ikev2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ikev2 |
|
1 |
4 |
35 |
2 |
| ikev2_run |
|
2 |
5 |
35 |
3 |
| ikev2_dispatch_parent |
|
15 |
41 |
249 |
3 |
| ikev2_dispatch_cert |
|
26 |
111 |
707 |
3 |
| ikev2_getimsgdata |
|
3 |
25 |
213 |
6 |
| ikev2_recv |
|
35 |
94 |
767 |
2 |
| ikev2_ike_auth_compatible |
|
17 |
31 |
122 |
3 |
| ikev2_ike_auth_recv |
|
24 |
115 |
828 |
3 |
| ikev2_ike_auth |
|
9 |
30 |
212 |
2 |
| ikev2_init_recv |
|
22 |
88 |
563 |
3 |
| ikev2_init_ike_sa |
|
4 |
21 |
150 |
2 |
| ikev2_init_ike_sa_timeout |
|
1 |
8 |
56 |
2 |
| ikev2_init_ike_sa_peer |
|
36 |
131 |
1100 |
4 |
| ikev2_init_auth |
|
5 |
21 |
149 |
2 |
| ikev2_init_ike_auth |
|
28 |
86 |
698 |
2 |
| ikev2_init_done |
|
7 |
26 |
214 |
2 |
| ikev2_policy2id |
|
21 |
74 |
530 |
3 |
| ikev2_add_header |
|
3 |
21 |
155 |
6 |
| ikev2_set_header |
|
2 |
10 |
64 |
2 |
| ikev2_add_payload |
|
2 |
11 |
68 |
1 |
| ikev2_add_ts_payload |
|
19 |
88 |
717 |
3 |
| ikev2_add_ts |
|
9 |
19 |
168 |
5 |
| ikev2_add_certreq |
|
8 |
23 |
181 |
5 |
| ikev2_add_ipcompnotify |
|
7 |
40 |
317 |
5 |
| ikev2_add_mobike |
|
5 |
20 |
153 |
5 |
| ikev2_add_sighashnotify |
|
5 |
30 |
215 |
3 |
| ikev2_next_payload |
|
2 |
14 |
83 |
3 |
| ikev2_nat_detection |
|
12 |
89 |
606 |
5 |
| ikev2_add_nat_detection |
|
12 |
37 |
354 |
5 |
| ikev2_add_cp |
|
38 |
98 |
671 |
3 |
| ikev2_add_proposals |
|
24 |
91 |
626 |
8 |
| ikev2_add_transform |
|
4 |
25 |
189 |
5 |
| ikev2_add_data |
|
2 |
10 |
64 |
3 |
| ikev2_add_buf |
|
2 |
10 |
71 |
2 |
| ikev2_resp_informational |
|
21 |
62 |
419 |
3 |
| ikev2_resp_recv |
|
30 |
102 |
605 |
3 |
| ikev2_resp_ike_sa_init |
|
24 |
86 |
682 |
2 |
| ikev2_send_auth_failed |
|
5 |
31 |
209 |
2 |
| ikev2_add_error |
|
12 |
64 |
360 |
3 |
| ikev2_send_error |
|
4 |
18 |
115 |
4 |
| ikev2_send_init_error |
|
9 |
41 |
301 |
2 |
| ikev2_resp_ike_auth |
|
39 |
115 |
934 |
2 |
| ikev2_resp_ike_eap |
|
20 |
61 |
476 |
3 |
| ikev2_send_ike_e |
|
6 |
23 |
147 |
6 |
| ikev2_set_sa_proposal |
|
6 |
23 |
165 |
3 |
| ikev2_send_create_child_sa |
|
33 |
125 |
909 |
4 |
| ikev2_ike_sa_rekey |
|
20 |
79 |
579 |
2 |
| ikev2_nonce_cmp |
|
3 |
12 |
88 |
2 |
| ikev2_init_create_child_sa |
|
34 |
159 |
1128 |
2 |
| ikev2_ikesa_enable |
|
13 |
107 |
879 |
3 |
| ikev2_ikesa_delete |
|
5 |
25 |
174 |
3 |
| ikev2_ikesa_recv_delete |
|
3 |
13 |
76 |
2 |
| ikev2_resp_create_child_sa |
|
58 |
201 |
1414 |
2 |
| ikev2_ike_sa_timeout |
|
1 |
6 |
34 |
2 |
| ikev2_ike_sa_rekey_timeout |
|
1 |
6 |
34 |
2 |
| ikev2_ike_sa_rekey_schedule |
|
1 |
5 |
41 |
2 |
| ikev2_ike_sa_alive |
|
9 |
36 |
226 |
2 |
| ikev2_ike_sa_keepalive |
|
2 |
17 |
190 |
2 |
| ikev2_send_informational |
|
23 |
85 |
638 |
2 |
| ikev2_psk |
|
3 |
15 |
120 |
4 |
| ikev2_match_proposals |
|
34 |
64 |
467 |
4 |
| ikev2_sa_negotiate |
|
17 |
69 |
555 |
4 |
| ikev2_sa_initiator_dh |
|
13 |
59 |
394 |
3 |
| ikev2_sa_initiator |
|
21 |
75 |
538 |
4 |
| ikev2_sa_responder_dh |
|
11 |
49 |
336 |
4 |
| ikev2_sa_responder |
|
19 |
69 |
524 |
4 |
| ikev2_sa_keys |
|
33 |
149 |
1236 |
3 |
| ikev2_sa_cleanup_dh |
|
1 |
9 |
48 |
1 |
| ikev2_prfplus |
|
7 |
47 |
380 |
4 |
| ikev2_sa_tag |
|
21 |
77 |
525 |
2 |
| ikev2_childsa_delete_proposed |
|
9 |
43 |
281 |
3 |
| ikev2_childsa_negotiate |
|
37 |
214 |
1488 |
7 |
| ikev2_ipcomp_csa_free |
|
4 |
15 |
88 |
2 |
| ikev2_ipcomp_enable |
|
33 |
133 |
1128 |
2 |
| ikev2_childsa_enable |
|
17 |
73 |
535 |
2 |
| ikev2_childsa_delete |
|
21 |
44 |
333 |
6 |
| ikev2_valid_proposal |
|
18 |
41 |
245 |
4 |
| ikev2_acquire_sa |
|
8 |
41 |
277 |
2 |
| ikev2_disable_rekeying |
|
1 |
9 |
62 |
2 |
| ikev2_rekey_sa |
|
10 |
33 |
220 |
2 |
| ikev2_drop_sa |
|
17 |
61 |
415 |
2 |
| ikev2_print_id |
|
19 |
73 |
508 |
3 |
| ikev2_cp_setaddr |
|
35 |
126 |
878 |
3 |
| ikev2_cp_fixaddr |
|
7 |
25 |
165 |
3 |
| ikev2_update_sa_addresses |
|
13 |
64 |
528 |
2 |
| Source file: ./sbin/mount_cd9660/mount_cd9660.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
15 |
59 |
326 |
2 |
| usage |
|
1 |
7 |
22 |
1 |
| Source file: ./sbin/swapctl/swaplist.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| list_swap |
|
15 |
71 |
531 |
4 |
| Source file: ./sbin/swapctl/swapctl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
32 |
95 |
421 |
2 |
| swapon_command |
|
13 |
41 |
194 |
2 |
| change_priority |
|
2 |
5 |
28 |
1 |
| add_swap |
|
3 |
6 |
36 |
1 |
| del_swap |
|
2 |
5 |
30 |
1 |
| do_fstab |
|
30 |
92 |
564 |
1 |
| usage |
|
1 |
10 |
56 |
1 |
| Source file: ./sbin/swapctl/swapctl.h |
| Source file: ./sbin/mount_nfs/mount_nfs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
59 |
211 |
1054 |
2 |
| getnfsargs |
|
27 |
130 |
781 |
2 |
| xdr_dir |
|
1 |
4 |
25 |
2 |
| xdr_fh |
|
16 |
33 |
244 |
2 |
| usage |
|
1 |
10 |
30 |
1 |
| Source file: ./sbin/wsconsctl/mouse.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mouse_init |
|
8 |
22 |
136 |
2 |
| mouse_get_values |
|
14 |
35 |
239 |
1 |
| mouse_put_values |
|
15 |
51 |
301 |
1 |
| mouse_next_device |
|
1 |
6 |
33 |
1 |
| Source file: ./sbin/wsconsctl/wsconsctl.h |
| Source file: ./sbin/wsconsctl/keysym.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cmp_name |
|
1 |
4 |
42 |
2 |
| cmp_ksym |
|
2 |
9 |
78 |
2 |
| sort_ksym_tab |
|
2 |
9 |
66 |
1 |
| ksym2name |
|
4 |
23 |
132 |
1 |
| name2ksym |
|
4 |
17 |
94 |
1 |
| ksymenc |
|
9 |
24 |
72 |
1 |
| ksym_upcase |
|
6 |
9 |
59 |
1 |
| Source file: ./sbin/wsconsctl/keyboard.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| keyboard_get_values |
|
32 |
71 |
618 |
1 |
| keyboard_put_values |
|
29 |
82 |
599 |
1 |
| keyboard_next_device |
|
1 |
6 |
33 |
1 |
| Source file: ./sbin/wsconsctl/wsconsctl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usage |
|
1 |
9 |
26 |
1 |
| main |
|
62 |
192 |
1282 |
2 |
| tab_by_name |
|
11 |
37 |
245 |
2 |
| Source file: ./sbin/slaacd/frontend.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| frontend_sig_handler |
|
3 |
10 |
37 |
3 |
| frontend |
|
20 |
125 |
1120 |
3 |
| frontend_shutdown |
|
1 |
13 |
84 |
1 |
| frontend_imsg_compose_main |
|
1 |
6 |
38 |
4 |
| frontend_imsg_compose_engine |
|
1 |
6 |
41 |
5 |
| frontend_dispatch_main |
|
20 |
65 |
379 |
3 |
| frontend_dispatch_engine |
|
25 |
60 |
314 |
3 |
| get_flags |
|
2 |
8 |
58 |
1 |
| get_xflags |
|
2 |
8 |
58 |
1 |
| update_iface |
|
2 |
19 |
141 |
2 |
| update_autoconf_addresses |
|
16 |
72 |
571 |
2 |
| frontend_startup |
|
4 |
14 |
99 |
1 |
| route_receive |
|
7 |
24 |
161 |
3 |
| handle_route_message |
|
21 |
103 |
705 |
2 |
| get_rtaddrs |
|
3 |
12 |
87 |
3 |
| get_lladdr |
|
9 |
37 |
258 |
3 |
| icmp6_receive |
|
13 |
55 |
399 |
3 |
| send_solicitation |
|
2 |
13 |
90 |
1 |
| Source file: ./sbin/wsconsctl/mousecfg.h |
| Source file: ./sbin/wsconsctl/util.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| field_by_name |
|
4 |
10 |
77 |
2 |
| field_by_value |
|
3 |
7 |
43 |
2 |
| int2name |
|
4 |
13 |
94 |
4 |
| name2int |
|
3 |
8 |
65 |
3 |
| pr_field |
|
19 |
78 |
557 |
3 |
| rd_field |
|
54 |
146 |
1102 |
3 |
| print_kmap |
|
13 |
30 |
263 |
1 |
| print_emul |
|
3 |
17 |
98 |
1 |
| print_screen |
|
3 |
17 |
98 |
1 |
| Source file: ./sbin/ifconfig/ifconfig.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
60 |
170 |
1123 |
2 |
| getsock |
|
4 |
13 |
61 |
1 |
| getinfo |
|
15 |
41 |
310 |
2 |
| printgroup |
|
9 |
29 |
217 |
2 |
| printgroupattribs |
|
2 |
12 |
92 |
1 |
| setgroupattribs |
|
6 |
25 |
179 |
3 |
| printif |
|
29 |
87 |
618 |
2 |
| clone_create |
|
2 |
7 |
58 |
2 |
| clone_destroy |
|
2 |
6 |
53 |
2 |
| list_cloners |
|
7 |
28 |
219 |
1 |
| setifaddr |
|
4 |
9 |
52 |
2 |
| setifrtlabel |
|
3 |
9 |
61 |
2 |
| setifnetmask |
|
1 |
4 |
21 |
2 |
| setifbroadaddr |
|
1 |
4 |
21 |
2 |
| setifdesc |
|
2 |
6 |
40 |
2 |
| unsetifdesc |
|
2 |
6 |
45 |
2 |
| setifipdst |
|
1 |
7 |
30 |
2 |
| notealias |
|
5 |
12 |
69 |
2 |
| setifdstaddr |
|
1 |
6 |
27 |
2 |
| setifflags |
|
4 |
17 |
140 |
2 |
| setifxflags |
|
4 |
17 |
136 |
2 |
| addaf |
|
2 |
8 |
60 |
2 |
| removeaf |
|
2 |
8 |
60 |
2 |
| setia6flags |
|
2 |
8 |
38 |
2 |
| setia6pltime |
|
1 |
4 |
19 |
2 |
| setia6vltime |
|
1 |
4 |
19 |
2 |
| setia6lifetime |
|
5 |
18 |
144 |
2 |
| setia6eui64 |
|
9 |
29 |
238 |
2 |
| setautoconf |
|
2 |
10 |
43 |
2 |
| setifmetric |
|
3 |
10 |
91 |
2 |
| setifmtu |
|
3 |
10 |
91 |
2 |
| setifllprio |
|
3 |
10 |
91 |
2 |
| setifgroup |
|
6 |
15 |
126 |
2 |
| unsetifgroup |
|
5 |
13 |
118 |
2 |
| get_string |
|
17 |
45 |
290 |
4 |
| print_string |
|
12 |
22 |
157 |
2 |
| setifnwid |
|
4 |
18 |
133 |
2 |
| setifbssid |
|
4 |
19 |
132 |
2 |
| setifnwkey |
|
19 |
75 |
497 |
2 |
| setifwpa |
|
2 |
9 |
78 |
2 |
| setifwpaprotos |
|
7 |
28 |
218 |
2 |
| setifwpaakms |
|
7 |
26 |
206 |
2 |
| getwpacipher |
|
3 |
8 |
63 |
1 |
| setifwpaciphers |
|
6 |
24 |
192 |
2 |
| setifwpagroupcipher |
|
4 |
15 |
127 |
2 |
| setifwpakey |
|
15 |
44 |
414 |
2 |
| setifchan |
|
7 |
25 |
140 |
2 |
| setifscan |
|
3 |
6 |
26 |
2 |
| setifnwflag |
|
7 |
21 |
166 |
2 |
| unsetifnwflag |
|
1 |
4 |
19 |
2 |
| setifpowersave |
|
7 |
18 |
149 |
2 |
| print_cipherset |
|
4 |
15 |
89 |
1 |
| ieee80211_status |
|
51 |
155 |
1261 |
1 |
| ieee80211_listchans |
|
5 |
25 |
169 |
1 |
| rssicmp |
|
2 |
5 |
47 |
2 |
| ieee80211_listnodes |
|
8 |
39 |
268 |
1 |
| ieee80211_printnode |
|
23 |
65 |
461 |
1 |
| init_current_media |
|
5 |
15 |
119 |
1 |
| process_media_commands |
|
3 |
12 |
83 |
1 |
| setmedia |
|
6 |
21 |
120 |
2 |
| setmediamode |
|
3 |
14 |
108 |
2 |
| unsetmediamode |
|
2 |
13 |
86 |
2 |
| setmediaopt |
|
3 |
9 |
54 |
2 |
| unsetmediaopt |
|
3 |
9 |
54 |
2 |
| setmediainst |
|
4 |
17 |
125 |
2 |
| get_media_type_string |
|
3 |
10 |
53 |
1 |
| get_media_subtype_string |
|
4 |
11 |
65 |
1 |
| get_media_subtype |
|
2 |
9 |
52 |
2 |
| get_media_mode |
|
2 |
9 |
52 |
2 |
| get_media_options |
|
4 |
18 |
121 |
2 |
| lookup_media_word |
|
4 |
10 |
67 |
3 |
| print_media_word |
|
15 |
33 |
237 |
3 |
| phys_status |
|
13 |
36 |
367 |
1 |
| get_linkstate |
|
3 |
11 |
75 |
2 |
| status |
|
44 |
148 |
1044 |
3 |
| in_status |
|
12 |
49 |
445 |
1 |
| setifprefixlen |
|
2 |
6 |
31 |
2 |
| in6_fillscopeid |
|
3 |
8 |
63 |
1 |
| in6_alias |
|
29 |
102 |
818 |
1 |
| in6_status |
|
1 |
4 |
18 |
1 |
| settunnel |
|
10 |
38 |
344 |
2 |
| deletetunnel |
|
2 |
5 |
31 |
2 |
| settunnelinst |
|
3 |
12 |
95 |
2 |
| settunnelttl |
|
3 |
12 |
95 |
2 |
| mpe_status |
|
2 |
9 |
60 |
1 |
| mpw_status |
|
9 |
41 |
225 |
1 |
| setmpelabel |
|
3 |
12 |
96 |
2 |
| process_mpw_commands |
|
13 |
37 |
295 |
1 |
| setmpwencap |
|
3 |
10 |
59 |
2 |
| setmpwlabel |
|
3 |
13 |
97 |
2 |
| setmpwneighbor |
|
2 |
9 |
60 |
2 |
| setmpwcontrolword |
|
2 |
9 |
39 |
2 |
| setvnetid |
|
4 |
16 |
114 |
2 |
| delvnetid |
|
2 |
5 |
31 |
2 |
| getvnetid |
|
5 |
18 |
106 |
1 |
| setifparent |
|
4 |
12 |
102 |
2 |
| delifparent |
|
2 |
5 |
31 |
2 |
| getifparent |
|
4 |
17 |
119 |
1 |
| getencap |
|
7 |
29 |
127 |
1 |
| setvlantag |
|
4 |
17 |
143 |
2 |
| setvlandev |
|
7 |
22 |
194 |
2 |
| unsetvlandev |
|
3 |
12 |
117 |
2 |
| settrunkport |
|
2 |
9 |
78 |
2 |
| unsettrunkport |
|
2 |
9 |
78 |
2 |
| settrunkproto |
|
5 |
19 |
157 |
2 |
| trunk_status |
|
12 |
57 |
464 |
1 |
| carp_status |
|
11 |
46 |
313 |
1 |
| setcarp_passwd |
|
3 |
12 |
112 |
2 |
| setcarp_vhid |
|
4 |
17 |
145 |
2 |
| setcarp_advskew |
|
4 |
16 |
136 |
2 |
| setcarp_advbase |
|
4 |
16 |
133 |
2 |
| setcarppeer |
|
5 |
23 |
197 |
2 |
| unsetcarppeer |
|
3 |
11 |
103 |
2 |
| setcarp_state |
|
5 |
17 |
129 |
2 |
| setcarpdev |
|
3 |
11 |
104 |
2 |
| setcarp_nodes |
|
9 |
34 |
278 |
2 |
| setcarp_balancing |
|
6 |
17 |
140 |
2 |
| setpfsync_syncdev |
|
3 |
11 |
104 |
2 |
| unsetpfsync_syncdev |
|
3 |
11 |
103 |
2 |
| setpfsync_syncpeer |
|
5 |
23 |
199 |
2 |
| unsetpfsync_syncpeer |
|
3 |
11 |
96 |
2 |
| setpfsync_maxupd |
|
4 |
16 |
133 |
2 |
| setpfsync_defer |
|
3 |
11 |
94 |
2 |
| pfsync_status |
|
5 |
16 |
121 |
1 |
| pflow_status |
|
20 |
75 |
504 |
1 |
| pflow_addr |
|
14 |
43 |
302 |
2 |
| setpflow_sender |
|
2 |
10 |
79 |
2 |
| unsetpflow_sender |
|
2 |
9 |
69 |
2 |
| setpflow_receiver |
|
2 |
10 |
79 |
2 |
| unsetpflow_receiver |
|
2 |
9 |
69 |
2 |
| setpflowproto |
|
5 |
20 |
161 |
2 |
| pppoe_status |
|
13 |
55 |
385 |
1 |
| setpppoe_dev |
|
3 |
10 |
81 |
2 |
| setpppoe_svc |
|
4 |
13 |
104 |
2 |
| setpppoe_ac |
|
4 |
13 |
104 |
2 |
| spppauthinfo |
|
3 |
8 |
66 |
2 |
| setspppproto |
|
6 |
16 |
119 |
2 |
| setsppppeerproto |
|
1 |
4 |
19 |
2 |
| setspppname |
|
5 |
12 |
105 |
2 |
| setsppppeername |
|
1 |
4 |
19 |
2 |
| setspppkey |
|
5 |
12 |
105 |
2 |
| setsppppeerkey |
|
1 |
4 |
19 |
2 |
| setsppppeerflag |
|
6 |
21 |
126 |
2 |
| unsetsppppeerflag |
|
1 |
4 |
19 |
2 |
| sppp_printproto |
|
6 |
21 |
112 |
2 |
| sppp_status |
|
9 |
40 |
195 |
1 |
| setkeepalive |
|
4 |
17 |
138 |
2 |
| unsetkeepalive |
|
2 |
8 |
65 |
2 |
| setifpriority |
|
3 |
12 |
95 |
2 |
| umb_descr2val |
|
3 |
9 |
47 |
2 |
| umb_status |
|
62 |
172 |
1159 |
1 |
| umb_printclasses |
|
3 |
15 |
81 |
2 |
| umb_parse_classes |
|
5 |
16 |
109 |
1 |
| umb_setpin |
|
1 |
4 |
23 |
2 |
| umb_chgpin |
|
1 |
4 |
25 |
2 |
| umb_puk |
|
1 |
4 |
25 |
2 |
| umb_pinop |
|
6 |
20 |
191 |
4 |
| umb_apn |
|
5 |
15 |
146 |
2 |
| umb_setclass |
|
6 |
20 |
134 |
2 |
| umb_roaming |
|
3 |
11 |
95 |
2 |
| utf16_to_char |
|
6 |
14 |
85 |
4 |
| char_to_utf16 |
|
4 |
17 |
96 |
3 |
| in_getaddr |
|
9 |
28 |
266 |
2 |
| in_getprefix |
|
7 |
22 |
185 |
2 |
| printb |
|
9 |
25 |
150 |
3 |
| printb_status |
|
7 |
19 |
111 |
2 |
| in6_getaddr |
|
10 |
33 |
283 |
2 |
| in6_getprefix |
|
7 |
22 |
185 |
2 |
| prefix |
|
10 |
21 |
163 |
2 |
| usage |
|
1 |
8 |
20 |
1 |
| getifgroups |
|
11 |
35 |
239 |
1 |
| printifhwfeatures |
|
6 |
20 |
137 |
2 |
| sec2str |
|
1 |
8 |
55 |
1 |
| setiflladdr |
|
4 |
21 |
146 |
2 |
| setrdomain |
|
3 |
12 |
95 |
2 |
| setpair |
|
3 |
10 |
80 |
2 |
| unsetpair |
|
2 |
7 |
56 |
2 |
| setignore |
|
1 |
3 |
12 |
2 |
| Source file: ./sbin/mount_ntfs/mount_ntfs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
19 |
62 |
401 |
2 |
| a_mask |
|
6 |
13 |
77 |
1 |
| usage |
|
1 |
7 |
19 |
1 |
| Source file: ./sbin/wsconsctl/display.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| display_get_values |
|
40 |
96 |
632 |
1 |
| display_put_values |
|
23 |
77 |
449 |
1 |
| display_next_device |
|
2 |
8 |
46 |
1 |
| Source file: ./sbin/fsck_msdos/ext.h |
| Source file: ./sbin/fsck_msdos/main.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usage |
|
1 |
4 |
11 |
1 |
| main |
|
7 |
31 |
140 |
2 |
| ask |
|
16 |
33 |
199 |
3 |
| Source file: ./sbin/wsconsctl/mousecfg.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mousecfg_init |
|
11 |
43 |
302 |
2 |
| index_of |
|
4 |
10 |
97 |
1 |
| mousecfg_get_field |
|
3 |
11 |
79 |
1 |
| mousecfg_put_field |
|
7 |
18 |
164 |
2 |
| get_value |
|
4 |
6 |
64 |
2 |
| set_value |
|
4 |
6 |
68 |
3 |
| read_param |
|
8 |
31 |
308 |
2 |
| mousecfg_pr_field |
|
7 |
20 |
143 |
1 |
| mousecfg_rd_field |
|
14 |
33 |
247 |
2 |
| Source file: ./sbin/fsck_msdos/check.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| checkfilesys |
|
35 |
133 |
825 |
1 |
| Source file: ./sbin/mount_vnd/mount_vnd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
32 |
93 |
507 |
2 |
| get_pkcs_key |
|
14 |
61 |
419 |
2 |
| getinfo |
|
9 |
35 |
211 |
1 |
| config |
|
15 |
38 |
271 |
6 |
| usage |
|
2 |
14 |
46 |
1 |
| Source file: ./sbin/fsck_msdos/dosfs.h |
| Source file: ./sbin/fsck_msdos/fat.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| checkclnum |
|
9 |
26 |
156 |
4 |
| readfat |
|
26 |
105 |
801 |
4 |
| rsrvdcltype |
|
4 |
10 |
45 |
1 |
| clustdiffer |
|
22 |
64 |
414 |
4 |
| comparefat |
|
3 |
10 |
91 |
4 |
| clearchain |
|
4 |
11 |
91 |
3 |
| tryclear |
|
5 |
19 |
119 |
4 |
| checkfat |
|
26 |
71 |
521 |
2 |
| writefat |
|
15 |
76 |
559 |
3 |
| checklost |
|
22 |
52 |
344 |
3 |
| Source file: ./sbin/fsck_msdos/boot.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| readboot |
|
57 |
221 |
1676 |
2 |
| writefsinfo |
|
11 |
49 |
363 |
2 |
| Source file: ./sbin/scsi/libscsi.h |
| Source file: ./sbin/ldattach/atomicio.h |
| Source file: ./sbin/ldattach/atomicio.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| atomicio |
|
7 |
28 |
158 |
4 |
| atomiciov |
|
15 |
48 |
310 |
4 |
| Source file: ./sbin/scsi/scsi.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usage |
|
1 |
18 |
29 |
1 |
| procargs |
|
13 |
47 |
233 |
2 |
| iget |
|
5 |
15 |
94 |
2 |
| cget |
|
4 |
15 |
85 |
2 |
| arg_put |
|
13 |
37 |
191 |
5 |
| do_cmd |
|
19 |
101 |
562 |
4 |
| mode_sense |
|
3 |
20 |
111 |
5 |
| mode_select |
|
3 |
18 |
99 |
4 |
| skipwhite |
|
5 |
13 |
64 |
1 |
| mode_lookup |
|
16 |
50 |
262 |
1 |
| edit_rewind |
|
1 |
4 |
10 |
1 |
| edit_done |
|
4 |
17 |
88 |
1 |
| edit_init |
|
3 |
12 |
75 |
1 |
| edit_check |
|
4 |
11 |
88 |
5 |
| edit_defaults |
|
3 |
8 |
60 |
5 |
| edit_report |
|
4 |
10 |
71 |
5 |
| edit_get |
|
6 |
20 |
147 |
2 |
| editit |
|
14 |
52 |
354 |
1 |
| mode_edit |
|
15 |
89 |
661 |
5 |
| main |
|
6 |
20 |
127 |
2 |
| Source file: ./sbin/fsck_msdos/dir.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| newDosDirEntry |
|
3 |
10 |
53 |
1 |
| freeDosDirEntry |
|
1 |
5 |
19 |
1 |
| newDirTodo |
|
3 |
10 |
53 |
1 |
| freeDirTodo |
|
1 |
5 |
19 |
1 |
| fullpath |
|
5 |
23 |
132 |
1 |
| calcShortSum |
|
2 |
10 |
59 |
1 |
| resetDosDirSection |
|
9 |
31 |
203 |
2 |
| finishDosDirSection |
|
5 |
24 |
133 |
1 |
| delete |
|
11 |
37 |
232 |
8 |
| removede |
|
9 |
30 |
170 |
10 |
| checksize |
|
9 |
43 |
321 |
4 |
| readDosDirSection |
|
135 |
374 |
2714 |
4 |
| handleDirTree |
|
8 |
29 |
174 |
3 |
| reconnect |
|
23 |
74 |
590 |
4 |
| finishlf |
|
1 |
5 |
15 |
1 |
| Source file: ./sbin/fsck_ffs/fsck.h |
| Source file: ./sbin/scsi/libscsi.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| scsireq_reset |
|
2 |
17 |
107 |
1 |
| scsireq_new |
|
2 |
7 |
30 |
1 |
| do_buff_decode |
|
41 |
155 |
807 |
6 |
| scsireq_decode_visit |
|
1 |
10 |
76 |
4 |
| scsireq_buff_decode_visit |
|
1 |
6 |
58 |
5 |
| next_field |
|
33 |
138 |
772 |
8 |
| do_encode |
|
24 |
96 |
506 |
7 |
| scsireq_build |
|
6 |
26 |
153 |
6 |
| scsireq_build_visit |
|
6 |
25 |
158 |
7 |
| scsireq_buff_encode_visit |
|
1 |
6 |
55 |
5 |
| scsireq_encode_visit |
|
1 |
7 |
56 |
4 |
| scsi_debug_output |
|
3 |
11 |
53 |
1 |
| scsi_assoc_text |
|
3 |
9 |
38 |
2 |
| scsi_dump |
|
12 |
27 |
220 |
6 |
| g_u_long |
|
1 |
4 |
44 |
1 |
| sense_7x_dump |
|
9 |
66 |
534 |
2 |
| scsi_sense_dump |
|
6 |
20 |
116 |
2 |
| scsi_retsts_dump |
|
3 |
14 |
70 |
2 |
| scsi_debug |
|
13 |
40 |
252 |
3 |
| scsi_open |
|
4 |
16 |
106 |
2 |
| scsireq_enter |
|
2 |
8 |
49 |
2 |
| Source file: ./sbin/ldattach/ldattach.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usage |
|
1 |
7 |
26 |
1 |
| relay |
|
11 |
39 |
254 |
2 |
| main |
|
54 |
185 |
1052 |
2 |
| coroner |
|
1 |
4 |
11 |
1 |
| Source file: ./sbin/fsck_ffs/utilities.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ftypeok |
|
9 |
17 |
71 |
1 |
| reply |
|
18 |
37 |
215 |
1 |
| inoinfo |
|
3 |
14 |
91 |
1 |
| bufinit |
|
7 |
34 |
215 |
1 |
| getdatablk |
|
6 |
23 |
170 |
2 |
| getblk |
|
2 |
12 |
79 |
3 |
| flush |
|
7 |
21 |
184 |
2 |
| rwerror |
|
3 |
8 |
49 |
2 |
| ckfini |
|
16 |
67 |
456 |
1 |
| bread |
|
5 |
28 |
190 |
4 |
| bwrite |
|
6 |
28 |
175 |
4 |
| allocblk |
|
12 |
37 |
269 |
1 |
| freeblk |
|
1 |
7 |
35 |
2 |
| getpathname |
|
12 |
51 |
339 |
4 |
| catch |
|
1 |
5 |
17 |
1 |
| catchquit |
|
1 |
9 |
49 |
1 |
| voidquit |
|
1 |
8 |
41 |
1 |
| dofix |
|
8 |
28 |
134 |
2 |
| catchinfo |
|
5 |
22 |
171 |
1 |
| Source file: ./sbin/fsck_ffs/pass4.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pass4_info |
|
1 |
6 |
39 |
2 |
| pass4 |
|
14 |
58 |
321 |
1 |
| pass4check |
|
7 |
26 |
145 |
1 |
| Source file: ./sbin/fsck_ffs/pass5.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pass5_info |
|
1 |
5 |
29 |
2 |
| pass5 |
|
82 |
307 |
2284 |
1 |
| Source file: ./sbin/fsck_ffs/extern.h |
| Source file: ./sbin/fsck_ffs/pass1.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pass1_info |
|
1 |
6 |
45 |
2 |
| pass1 |
|
26 |
105 |
685 |
1 |
| checkinode |
|
50 |
147 |
1044 |
2 |
| pass1check |
|
19 |
67 |
405 |
1 |
| Source file: ./sbin/mountd/mountd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
25 |
93 |
632 |
2 |
| check_child |
|
1 |
4 |
11 |
1 |
| privchild |
|
41 |
178 |
978 |
1 |
| imsg_getfh |
|
6 |
26 |
158 |
2 |
| imsg_export |
|
9 |
35 |
244 |
2 |
| recv_imsg |
|
5 |
25 |
131 |
1 |
| send_imsg |
|
3 |
12 |
84 |
3 |
| mountd_svc_run |
|
13 |
57 |
280 |
1 |
| mntsrv |
|
46 |
146 |
974 |
2 |
| xdr_dir |
|
1 |
4 |
25 |
2 |
| xdr_fhs |
|
7 |
23 |
163 |
2 |
| xdr_mlist |
|
6 |
21 |
138 |
2 |
| xdr_explist |
|
7 |
26 |
166 |
2 |
| put_exlist |
|
21 |
53 |
366 |
4 |
| new_exportlist |
|
1 |
4 |
11 |
1 |
| get_exportlist |
|
71 |
286 |
1755 |
1 |
| get_exp |
|
2 |
8 |
39 |
1 |
| get_grp |
|
2 |
8 |
39 |
1 |
| getexp_err |
|
4 |
12 |
68 |
2 |
| ex_search |
|
4 |
12 |
73 |
1 |
| add_expdir |
|
2 |
14 |
94 |
3 |
| hang_dirp |
|
6 |
27 |
153 |
4 |
| add_dlist |
|
6 |
34 |
190 |
4 |
| dirp_search |
|
4 |
14 |
81 |
2 |
| chk_host |
|
9 |
36 |
191 |
4 |
| scan_tree |
|
5 |
13 |
80 |
2 |
| free_dir |
|
2 |
9 |
44 |
1 |
| do_opt |
|
28 |
87 |
572 |
7 |
| get_host |
|
17 |
71 |
505 |
3 |
| free_exp |
|
2 |
10 |
58 |
1 |
| free_host |
|
2 |
9 |
38 |
1 |
| get_ht |
|
2 |
10 |
49 |
1 |
| out_of_mem |
|
1 |
5 |
18 |
1 |
| do_mount |
|
27 |
107 |
653 |
6 |
| get_net |
|
9 |
40 |
230 |
3 |
| nextfield |
|
9 |
15 |
95 |
2 |
| get_line |
|
12 |
31 |
173 |
1 |
| parsecred |
|
19 |
53 |
410 |
2 |
| get_mountlist |
|
6 |
28 |
194 |
1 |
| del_mlist |
|
7 |
29 |
168 |
2 |
| add_mlist |
|
5 |
20 |
149 |
2 |
| send_umntall |
|
1 |
4 |
11 |
1 |
| umntall_each |
|
1 |
4 |
17 |
2 |
| free_grp |
|
6 |
17 |
126 |
1 |
| check_options |
|
7 |
18 |
113 |
1 |
| check_dirpath |
|
11 |
23 |
149 |
1 |
| Source file: ./sbin/fsck_ffs/pass3.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pass3_info |
|
1 |
5 |
29 |
2 |
| pass3 |
|
11 |
34 |
219 |
1 |
| Source file: ./sbin/fsck_ffs/pass1b.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pass1b_info |
|
1 |
6 |
45 |
2 |
| pass1b |
|
7 |
28 |
158 |
1 |
| pass1bcheck |
|
8 |
23 |
148 |
1 |
| Source file: ./sbin/fsck_ffs/pass2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pass2_info1 |
|
1 |
5 |
29 |
2 |
| pass2_info2 |
|
2 |
7 |
41 |
2 |
| pass2 |
|
38 |
153 |
1026 |
1 |
| pass2check |
|
57 |
204 |
1433 |
1 |
| blksort |
|
3 |
12 |
79 |
2 |
| Source file: ./sbin/isakmpd/sysdep/openbsd/sysdep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sysdep_cleartext |
|
12 |
72 |
348 |
2 |
| Source file: ./sbin/fsck_ffs/main.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usage |
|
1 |
6 |
21 |
1 |
| main |
|
19 |
63 |
312 |
2 |
| argtoi |
|
3 |
9 |
63 |
4 |
| checkfilesys |
|
42 |
141 |
914 |
4 |
| Source file: ./sbin/isakmpd/isakmp_doi.h |
| Source file: ./sbin/fsck_ffs/setup.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| setup |
|
119 |
357 |
2358 |
2 |
| readsb |
|
33 |
103 |
697 |
1 |
| badsb |
|
3 |
8 |
38 |
2 |
| calcsb |
|
10 |
40 |
355 |
5 |
| getdisklabel |
|
3 |
11 |
70 |
2 |
| cmpsb |
|
25 |
29 |
218 |
2 |
| Source file: ./sbin/isakmpd/prf.h |
| Source file: ./sbin/isakmpd/vendor.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| setup_vendor_hashes |
|
5 |
34 |
244 |
1 |
| vendor_init |
|
1 |
4 |
10 |
1 |
| add_vendor_openbsd |
|
4 |
23 |
141 |
1 |
| check_vendor_openbsd |
|
5 |
27 |
174 |
2 |
| Source file: ./sbin/fsck_ffs/dir.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| propagate |
|
6 |
19 |
104 |
1 |
| dirscan |
|
9 |
34 |
264 |
1 |
| fsck_readdir |
|
15 |
54 |
431 |
1 |
| dircheck |
|
13 |
28 |
189 |
2 |
| direrror |
|
1 |
4 |
20 |
2 |
| fileerror |
|
5 |
20 |
123 |
3 |
| adjust |
|
11 |
27 |
194 |
2 |
| mkentry |
|
3 |
23 |
182 |
1 |
| chgino |
|
2 |
9 |
71 |
1 |
| linkup |
|
27 |
103 |
655 |
2 |
| changeino |
|
1 |
15 |
88 |
3 |
| makeentry |
|
8 |
28 |
216 |
3 |
| expanddir |
|
12 |
54 |
524 |
2 |
| allocdir |
|
7 |
57 |
400 |
3 |
| freedir |
|
2 |
10 |
55 |
2 |
| lftempname |
|
3 |
18 |
94 |
2 |
| getdirblk |
|
2 |
7 |
36 |
2 |
| Source file: ./sbin/fsck_ffs/inode.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ckinode |
|
23 |
88 |
615 |
2 |
| iblock |
|
20 |
76 |
522 |
3 |
| chkrange |
|
13 |
41 |
282 |
2 |
| ginode |
|
8 |
19 |
161 |
1 |
| getnextinode |
|
6 |
30 |
165 |
1 |
| setinodebuf |
|
6 |
29 |
162 |
1 |
| freeinodebuf |
|
1 |
5 |
15 |
1 |
| cacheino |
|
11 |
41 |
316 |
2 |
| getinoinfo |
|
3 |
11 |
65 |
1 |
| inocleanup |
|
3 |
11 |
60 |
1 |
| inodirty |
|
1 |
4 |
11 |
1 |
| clri |
|
6 |
19 |
122 |
3 |
| findname |
|
2 |
8 |
60 |
1 |
| findino |
|
5 |
12 |
80 |
1 |
| pinode |
|
5 |
23 |
179 |
1 |
| blkerror |
|
5 |
18 |
88 |
3 |
| allocino |
|
15 |
81 |
600 |
2 |
| freeino |
|
1 |
15 |
85 |
1 |
| Source file: ./sbin/isakmpd/message.h |
| Source file: ./sbin/isakmpd/app.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| app_init |
|
3 |
8 |
30 |
1 |
| app_handler |
|
1 |
4 |
11 |
1 |
| Source file: ./sbin/isakmpd/crypto.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| des3_init |
|
1 |
10 |
113 |
3 |
| des3_encrypt |
|
1 |
7 |
86 |
3 |
| des3_decrypt |
|
1 |
7 |
86 |
3 |
| blf_init |
|
1 |
5 |
31 |
3 |
| blf_encrypt |
|
2 |
16 |
131 |
3 |
| blf_decrypt |
|
2 |
21 |
170 |
3 |
| cast_init |
|
1 |
5 |
31 |
3 |
| cast1_encrypt |
|
1 |
5 |
53 |
3 |
| cast1_decrypt |
|
1 |
4 |
36 |
3 |
| aes_init |
|
1 |
6 |
55 |
3 |
| aes_encrypt |
|
1 |
6 |
58 |
3 |
| aes_decrypt |
|
1 |
6 |
58 |
3 |
| crypto_get |
|
3 |
8 |
52 |
1 |
| crypto_init |
|
5 |
30 |
188 |
4 |
| crypto_update_iv |
|
1 |
9 |
54 |
1 |
| crypto_init_iv |
|
1 |
6 |
44 |
3 |
| crypto_encrypt |
|
1 |
9 |
82 |
3 |
| crypto_decrypt |
|
1 |
9 |
82 |
3 |
| crypto_clone_keystate |
|
3 |
19 |
107 |
1 |
| Source file: ./sbin/isakmpd/transport.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| transport_reinit |
|
3 |
8 |
43 |
1 |
| transport_init |
|
1 |
5 |
18 |
1 |
| transport_setup |
|
2 |
16 |
91 |
2 |
| transport_reference |
|
1 |
7 |
31 |
1 |
| transport_release |
|
2 |
10 |
57 |
1 |
| transport_report |
|
8 |
24 |
182 |
1 |
| transport_prio_sendqs_empty |
|
3 |
8 |
50 |
1 |
| transport_method_add |
|
1 |
4 |
19 |
1 |
| transport_fd_set |
|
4 |
16 |
105 |
1 |
| transport_pending_wfd_set |
|
5 |
19 |
119 |
1 |
| transport_handle_messages |
|
4 |
11 |
92 |
1 |
| transport_send_messages |
|
19 |
82 |
579 |
1 |
| transport_create |
|
3 |
9 |
65 |
2 |
| Source file: ./sbin/isakmpd/if.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| if_map |
|
4 |
12 |
100 |
2 |
| Source file: ./sbin/isakmpd/ike_auth.h |
| Source file: ./sbin/isakmpd/ui.h |
| Source file: ./sbin/isakmpd/libcrypto.h |
| Source file: ./sbin/isakmpd/attribute.h |
| Source file: ./sbin/isakmpd/udp.h |
| Source file: ./sbin/isakmpd/virtual.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| virtual_init |
|
9 |
32 |
167 |
1 |
| virtual_get_default |
|
3 |
11 |
40 |
1 |
| virtual_reinit |
|
7 |
20 |
131 |
1 |
| virtual_listen_lookup |
|
7 |
22 |
149 |
1 |
| virtual_bind |
|
9 |
54 |
352 |
1 |
| virtual_bind_ADDR_ANY |
|
5 |
28 |
164 |
1 |
| virtual_bind_if |
|
39 |
145 |
876 |
3 |
| virtual_clone |
|
8 |
43 |
293 |
2 |
| virtual_create |
|
7 |
34 |
215 |
1 |
| virtual_remove |
|
6 |
15 |
119 |
1 |
| virtual_report |
|
1 |
3 |
9 |
1 |
| virtual_handle_message |
|
3 |
10 |
64 |
1 |
| virtual_send_message |
|
10 |
33 |
241 |
2 |
| virtual_get_src |
|
2 |
8 |
63 |
2 |
| virtual_get_dst |
|
2 |
8 |
63 |
2 |
| virtual_decode_ids |
|
2 |
8 |
52 |
1 |
| virtual_get_queue |
|
2 |
7 |
34 |
1 |
| Source file: ./sbin/isakmpd/pf_key_v2.h |
| Source file: ./sbin/isakmpd/vendor.h |
| Source file: ./sbin/isakmpd/ike_auth.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ike_auth_get |
|
3 |
8 |
51 |
1 |
| ike_auth_get_key |
|
30 |
171 |
910 |
4 |
| pre_shared_gen_skeyid |
|
14 |
74 |
436 |
2 |
| sig_gen_skeyid |
|
4 |
40 |
296 |
2 |
| enc_gen_skeyid |
|
3 |
26 |
205 |
2 |
| pre_shared_decode_hash |
|
6 |
30 |
200 |
1 |
| rsa_sig_decode_hash |
|
43 |
208 |
1213 |
1 |
| pre_shared_encode_hash |
|
4 |
19 |
125 |
1 |
| rsa_sig_encode_hash |
|
36 |
210 |
1159 |
1 |
| ike_auth_hash |
|
8 |
28 |
254 |
2 |
| get_raw_key_from_file |
|
10 |
45 |
280 |
4 |
| Source file: ./sbin/isakmpd/exchange.h |
| Source file: ./sbin/isakmpd/ike_main_mode.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| initiator_send_ID_AUTH |
|
3 |
9 |
45 |
1 |
| responder_send_KE_NONCE |
|
2 |
8 |
47 |
1 |
| responder_send_ID_AUTH |
|
2 |
7 |
34 |
1 |
| Source file: ./sbin/isakmpd/log.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| log_init |
|
2 |
7 |
21 |
1 |
| log_reinit |
|
7 |
29 |
171 |
1 |
| log_to |
|
4 |
8 |
39 |
1 |
| log_current |
|
1 |
4 |
9 |
1 |
| _log_get_class |
|
3 |
10 |
42 |
1 |
| _log_print |
|
13 |
45 |
355 |
6 |
| log_debug |
|
4 |
9 |
71 |
4 |
| log_debug_buf |
|
8 |
25 |
188 |
5 |
| log_debug_cmd |
|
5 |
20 |
92 |
2 |
| log_debug_toggle |
|
2 |
15 |
89 |
1 |
| log_print |
|
1 |
7 |
41 |
2 |
| log_verbose |
|
2 |
9 |
49 |
2 |
| log_error |
|
1 |
7 |
41 |
2 |
| log_errorx |
|
1 |
7 |
41 |
2 |
| log_fatal |
|
1 |
8 |
46 |
2 |
| log_fatalx |
|
1 |
8 |
46 |
2 |
| log_packet_init |
|
11 |
55 |
283 |
1 |
| log_packet_restart |
|
4 |
14 |
50 |
1 |
| log_packet_stop |
|
2 |
8 |
26 |
1 |
| log_packet_iov |
|
10 |
84 |
743 |
4 |
| udp_cksum |
|
10 |
64 |
485 |
3 |
| in_cksum |
|
3 |
15 |
95 |
2 |
| Source file: ./sbin/isakmpd/timer.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| timer_init |
|
1 |
4 |
11 |
1 |
| timer_next_event |
|
3 |
13 |
81 |
1 |
| timer_handle_expirations |
|
3 |
15 |
104 |
1 |
| timer_add_event |
|
5 |
31 |
228 |
4 |
| timer_remove_event |
|
1 |
7 |
43 |
1 |
| timer_report |
|
3 |
11 |
84 |
1 |
| Source file: ./sbin/isakmpd/ui.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ui_init |
|
6 |
22 |
117 |
1 |
| ui_connect |
|
2 |
10 |
56 |
1 |
| ui_teardown |
|
12 |
45 |
343 |
1 |
| ui_teardown_all |
|
1 |
4 |
12 |
1 |
| ui_conn_reinit_event |
|
1 |
5 |
16 |
1 |
| ui_conn_reinit |
|
3 |
13 |
58 |
1 |
| ui_config |
|
45 |
127 |
912 |
1 |
| ui_delete |
|
7 |
30 |
180 |
1 |
| ui_debug |
|
7 |
23 |
141 |
1 |
| ui_packetlog |
|
6 |
17 |
122 |
1 |
| ui_shutdown_daemon |
|
2 |
8 |
37 |
1 |
| ui_report |
|
1 |
9 |
32 |
1 |
| ui_report_sa |
|
2 |
8 |
33 |
1 |
| ui_setmode |
|
6 |
21 |
115 |
1 |
| ui_handle_command |
|
13 |
44 |
148 |
1 |
| ui_handler |
|
9 |
54 |
248 |
1 |
| ui_open_result |
|
2 |
7 |
30 |
1 |
| Source file: ./sbin/isakmpd/constants.h |
| Source file: ./sbin/isakmpd/transport.h |
| Source file: ./sbin/isakmpd/isakmp.h |
| Source file: ./sbin/isakmpd/init.h |
| Source file: ./sbin/isakmpd/doi.h |
| Source file: ./sbin/isakmpd/cookie.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cookie_gen |
|
2 |
19 |
190 |
4 |
| Source file: ./sbin/isakmpd/key.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| key_free |
|
4 |
15 |
54 |
3 |
| key_serialize |
|
7 |
40 |
216 |
5 |
| key_printable |
|
3 |
13 |
59 |
4 |
| key_internalize |
|
8 |
30 |
138 |
4 |
| key_from_printable |
|
5 |
35 |
168 |
5 |
| Source file: ./sbin/isakmpd/monitor.h |
| Source file: ./sbin/isakmpd/ipsec_doi.h |
| Source file: ./sbin/isakmpd/hash.h |
| Source file: ./sbin/isakmpd/util.h |
| Source file: ./sbin/isakmpd/connection.h |
| Source file: ./sbin/isakmpd/isakmp_doi.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| isakmp_doi_init |
|
1 |
4 |
12 |
1 |
| isakmp_debug_attribute |
|
1 |
5 |
21 |
4 |
| isakmp_finalize_exchange |
|
1 |
3 |
9 |
1 |
| isakmp_get_keystate |
|
1 |
4 |
12 |
1 |
| isakmp_setup_situation |
|
1 |
3 |
8 |
1 |
| isakmp_situation_size |
|
1 |
4 |
9 |
1 |
| isakmp_spi_size |
|
1 |
4 |
10 |
1 |
| isakmp_validate_attribute |
|
1 |
5 |
22 |
4 |
| isakmp_validate_exchange |
|
1 |
4 |
11 |
1 |
| isakmp_validate_id_information |
|
1 |
5 |
31 |
5 |
| isakmp_validate_key_information |
|
1 |
4 |
14 |
2 |
| isakmp_validate_notification |
|
1 |
4 |
11 |
1 |
| isakmp_validate_proto |
|
1 |
4 |
11 |
1 |
| isakmp_validate_situation |
|
1 |
5 |
23 |
3 |
| isakmp_validate_transform_id |
|
1 |
4 |
14 |
2 |
| isakmp_initiator |
|
2 |
9 |
49 |
1 |
| isakmp_responder |
|
8 |
40 |
193 |
1 |
| Source file: ./sbin/isakmpd/ike_phase_1.h |
| Source file: ./sbin/isakmpd/timer.h |
| Source file: ./sbin/isakmpd/app.h |
| Source file: ./sbin/isakmpd/monitor_fdpass.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| mm_send_fd |
|
3 |
33 |
208 |
2 |
| mm_receive_fd |
|
5 |
41 |
221 |
1 |
| Source file: ./sbin/isakmpd/dh.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| group_init |
|
1 |
4 |
8 |
1 |
| group_free |
|
4 |
11 |
58 |
1 |
| group_get |
|
9 |
43 |
237 |
1 |
| dh_init |
|
1 |
4 |
19 |
1 |
| dh_getlen |
|
1 |
4 |
19 |
1 |
| dh_secretlen |
|
2 |
7 |
36 |
1 |
| dh_create_exchange |
|
1 |
4 |
25 |
2 |
| dh_create_shared |
|
1 |
4 |
31 |
3 |
| modp_init |
|
4 |
11 |
80 |
1 |
| modp_getlen |
|
2 |
6 |
38 |
1 |
| modp_create_exchange |
|
4 |
16 |
106 |
2 |
| modp_create_shared |
|
4 |
17 |
123 |
3 |
| ec_init |
|
4 |
12 |
80 |
1 |
| ec_getlen |
|
2 |
6 |
42 |
1 |
| ec_secretlen |
|
1 |
4 |
19 |
1 |
| ec_create_exchange |
|
1 |
8 |
51 |
2 |
| ec_create_shared |
|
13 |
36 |
253 |
3 |
| ec_point2raw |
|
16 |
61 |
364 |
5 |
| ec_raw2point |
|
16 |
48 |
315 |
3 |
| Source file: ./sbin/isakmpd/ike_phase_1.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ike_phase_1_initiator_send_SA |
|
47 |
253 |
1616 |
1 |
| ike_phase_1_initiator_recv_SA |
|
7 |
25 |
202 |
1 |
| ike_phase_1_initiator_send_KE_NONCE |
|
1 |
6 |
39 |
1 |
| ike_phase_1_initiator_recv_KE_NONCE |
|
2 |
6 |
26 |
1 |
| ike_phase_1_responder_recv_SA |
|
10 |
35 |
291 |
1 |
| ike_phase_1_responder_send_SA |
|
5 |
12 |
56 |
1 |
| ike_phase_1_send_KE_NONCE |
|
7 |
20 |
92 |
2 |
| ike_phase_1_recv_KE_NONCE |
|
6 |
16 |
77 |
1 |
| ike_phase_1_post_exchange_KE_NONCE |
|
19 |
138 |
1117 |
1 |
| ike_phase_1_responder_send_ID_AUTH |
|
2 |
6 |
26 |
1 |
| ike_phase_1_send_ID |
|
31 |
149 |
805 |
1 |
| ike_phase_1_send_AUTH |
|
4 |
11 |
65 |
1 |
| ike_phase_1_recv_ID_AUTH |
|
2 |
6 |
26 |
1 |
| ike_phase_1_recv_ID |
|
23 |
109 |
599 |
1 |
| ike_phase_1_recv_AUTH |
|
12 |
45 |
385 |
1 |
| ike_phase_1_validate_prop |
|
11 |
62 |
384 |
3 |
| attribute_unacceptable |
|
38 |
148 |
723 |
4 |
| Source file: ./sbin/isakmpd/dnssec.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dns_get_key |
|
31 |
131 |
867 |
3 |
| dns_RSA_dns_to_x509 |
|
7 |
39 |
219 |
3 |
| dns_RSA_x509_to_dns |
|
1 |
4 |
19 |
3 |
| Source file: ./sbin/isakmpd/x509.h |
| Source file: ./sbin/isakmpd/ike_aggressive.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| initiator_send_SA_KE_NONCE_ID |
|
3 |
8 |
37 |
1 |
| initiator_recv_SA_KE_NONCE_ID_AUTH |
|
3 |
8 |
37 |
1 |
| initiator_send_AUTH |
|
2 |
7 |
31 |
1 |
| responder_recv_SA_KE_NONCE_ID |
|
3 |
8 |
37 |
1 |
| responder_send_SA_KE_NONCE_ID_AUTH |
|
4 |
10 |
54 |
1 |
| responder_recv_AUTH |
|
3 |
8 |
41 |
1 |
| Source file: ./sbin/isakmpd/ipsec.h |
| Source file: ./sbin/isakmpd/dpd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dpd_add_vendor_payload |
|
3 |
19 |
98 |
1 |
| dpd_check_vendor_payload |
|
5 |
24 |
140 |
2 |
| dpd_start |
|
2 |
8 |
46 |
1 |
| dpd_handle_notify |
|
9 |
40 |
217 |
2 |
| dpd_timer_interval |
|
5 |
11 |
54 |
1 |
| dpd_timer_reset |
|
5 |
24 |
126 |
3 |
| dpd_find_sa |
|
6 |
9 |
86 |
2 |
| dpd_check_time |
|
9 |
28 |
229 |
2 |
| dpd_event |
|
6 |
31 |
211 |
1 |
| dpd_check_event |
|
3 |
25 |
148 |
1 |
| Source file: ./sbin/isakmpd/x509.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| x509_generate_kn |
|
108 |
306 |
2147 |
2 |
| x509_hash |
|
3 |
12 |
94 |
2 |
| x509_hash_init |
|
6 |
23 |
154 |
1 |
| x509_hash_find |
|
8 |
32 |
237 |
2 |
| x509_hash_enter |
|
4 |
29 |
177 |
1 |
| x509_read_from_dir |
|
13 |
61 |
329 |
4 |
| x509_read_crls_from_dir |
|
10 |
56 |
319 |
2 |
| x509_cert_init |
|
9 |
38 |
174 |
1 |
| x509_crl_init |
|
4 |
17 |
75 |
1 |
| x509_cert_get |
|
1 |
4 |
19 |
2 |
| x509_cert_validate |
|
17 |
49 |
278 |
1 |
| x509_cert_insert |
|
4 |
20 |
96 |
2 |
| x509_hash_lookup |
|
4 |
11 |
67 |
1 |
| x509_cert_free |
|
2 |
7 |
42 |
1 |
| x509_certreq_validate |
|
4 |
13 |
75 |
2 |
| x509_certreq_decode |
|
7 |
35 |
214 |
3 |
| x509_free_aca |
|
2 |
10 |
59 |
1 |
| x509_from_asn |
|
4 |
22 |
103 |
2 |
| x509_cert_obtain |
|
5 |
20 |
103 |
5 |
| x509_cert_subjectaltname |
|
7 |
32 |
170 |
3 |
| x509_cert_get_subjects |
|
15 |
100 |
589 |
4 |
| x509_cert_get_key |
|
3 |
13 |
82 |
2 |
| x509_cert_dup |
|
1 |
4 |
14 |
1 |
| x509_serialize |
|
2 |
11 |
77 |
3 |
| x509_printable |
|
2 |
12 |
55 |
1 |
| x509_from_printable |
|
4 |
24 |
119 |
1 |
| x509_DN_string |
|
3 |
20 |
111 |
2 |
| x509_ca_count |
|
1 |
4 |
9 |
1 |
| Source file: ./sbin/isakmpd/ike_main_mode.h |
| Source file: ./sbin/isakmpd/prf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| prf_hash_init |
|
1 |
5 |
47 |
1 |
| prf_hash_update |
|
1 |
5 |
35 |
3 |
| prf_hash_final |
|
1 |
4 |
27 |
2 |
| prf_alloc |
|
8 |
63 |
373 |
4 |
| prf_free |
|
2 |
10 |
54 |
1 |
| Source file: ./sbin/isakmpd/conf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| conf_hash |
|
2 |
9 |
53 |
1 |
| conf_remove_now |
|
4 |
20 |
137 |
2 |
| conf_remove_section_now |
|
3 |
20 |
130 |
1 |
| conf_set_now |
|
8 |
37 |
251 |
5 |
| conf_parse_line |
|
14 |
47 |
302 |
4 |
| conf_parse |
|
6 |
23 |
129 |
3 |
| conf_get_trans_str |
|
8 |
14 |
107 |
3 |
| conf_find_trans_xf |
|
9 |
18 |
138 |
2 |
| conf_load_defaults_mm |
|
6 |
24 |
285 |
9 |
| conf_load_defaults_qm |
|
29 |
58 |
622 |
11 |
| conf_load_defaults |
|
14 |
108 |
1015 |
1 |
| conf_init |
|
2 |
8 |
49 |
1 |
| conf_reinit |
|
11 |
47 |
286 |
1 |
| conf_get_num |
|
2 |
7 |
39 |
3 |
| conf_get_address |
|
3 |
10 |
61 |
2 |
| conf_match_num |
|
5 |
22 |
144 |
3 |
| conf_get_str |
|
4 |
16 |
112 |
2 |
| conf_get_list |
|
13 |
45 |
278 |
2 |
| conf_get_tag_list |
|
7 |
29 |
179 |
1 |
| conf_free_list |
|
2 |
11 |
67 |
1 |
| conf_begin |
|
1 |
5 |
16 |
1 |
| conf_trans_node |
|
5 |
29 |
196 |
7 |
| conf_set |
|
1 |
6 |
43 |
6 |
| conf_remove |
|
1 |
5 |
33 |
3 |
| conf_remove_section |
|
1 |
5 |
29 |
2 |
| conf_end |
|
7 |
33 |
174 |
2 |
| conf_report_dump |
|
5 |
13 |
94 |
1 |
| conf_report |
|
15 |
56 |
352 |
1 |
| Source file: ./sbin/isakmpd/virtual.h |
| Source file: ./sbin/isakmpd/isakmp_cfg.h |
| Source file: ./sbin/isakmpd/field.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| field_debug_raw |
|
1 |
4 |
24 |
3 |
| extract_val |
|
4 |
17 |
67 |
3 |
| field_debug_num |
|
3 |
10 |
59 |
3 |
| field_debug_mask |
|
6 |
30 |
177 |
3 |
| field_debug_ign |
|
1 |
4 |
19 |
3 |
| field_debug_cst |
|
2 |
7 |
45 |
3 |
| field_dump_field |
|
2 |
9 |
72 |
2 |
| field_dump_payload |
|
2 |
6 |
38 |
2 |
| field_get_num |
|
2 |
7 |
40 |
2 |
| field_set_num |
|
4 |
14 |
70 |
3 |
| field_get_raw |
|
1 |
4 |
32 |
3 |
| field_set_raw |
|
1 |
4 |
32 |
3 |
| Source file: ./sbin/isakmpd/conf.h |
| Source file: ./sbin/isakmpd/nat_traversal.h |
| Source file: ./sbin/isakmpd/dh.h |
| Source file: ./sbin/isakmpd/cert.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cert_init |
|
4 |
10 |
63 |
1 |
| crl_init |
|
4 |
9 |
63 |
1 |
| cert_get |
|
3 |
8 |
51 |
1 |
| certreq_decode |
|
6 |
36 |
217 |
3 |
| cert_free_subjects |
|
2 |
8 |
49 |
3 |
| Source file: ./sbin/isakmpd/nat_traversal.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| nat_t_init |
|
1 |
4 |
10 |
1 |
| nat_t_setup_hashes |
|
5 |
36 |
248 |
1 |
| nat_t_add_vendor_payload |
|
4 |
20 |
114 |
2 |
| nat_t_add_vendor_payloads |
|
4 |
10 |
52 |
1 |
| nat_t_check_vendor_payload |
|
5 |
24 |
136 |
2 |
| nat_t_generate_nat_d_hash |
|
3 |
30 |
214 |
3 |
| nat_t_add_nat_d |
|
6 |
35 |
195 |
2 |
| nat_t_exchange_add_nat_d |
|
3 |
11 |
75 |
1 |
| nat_t_match_nat_d_payload |
|
6 |
24 |
145 |
2 |
| nat_t_exchange_check_nat_d |
|
6 |
26 |
156 |
1 |
| nat_t_send_keepalive |
|
3 |
19 |
122 |
1 |
| nat_t_setup_keepalive |
|
4 |
20 |
124 |
1 |
| Source file: ./sbin/isakmpd/ike_quick_mode.h |
| Source file: ./sbin/isakmpd/libcrypto.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| libcrypto_init |
|
2 |
5 |
14 |
1 |
| Source file: ./sbin/isakmpd/dpd.h |
| Source file: ./sbin/isakmpd/monitor.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| monitor_init |
|
14 |
43 |
315 |
1 |
| monitor_exit |
|
4 |
15 |
83 |
1 |
| monitor_pf_key_v2_open |
|
3 |
18 |
80 |
1 |
| monitor_open |
|
4 |
29 |
176 |
3 |
| monitor_fopen |
|
10 |
39 |
220 |
2 |
| monitor_stat |
|
2 |
12 |
69 |
2 |
| monitor_setsockopt |
|
3 |
20 |
128 |
5 |
| monitor_bind |
|
3 |
17 |
105 |
3 |
| monitor_req_readdir |
|
2 |
14 |
81 |
1 |
| monitor_readdir |
|
3 |
14 |
73 |
2 |
| monitor_init_done |
|
1 |
6 |
22 |
1 |
| set_monitor_signals |
|
2 |
9 |
50 |
1 |
| sig_pass_to_chld |
|
2 |
7 |
33 |
1 |
| monitor_loop |
|
10 |
46 |
177 |
1 |
| m_priv_pfkey_open |
|
4 |
14 |
73 |
1 |
| m_priv_getfd |
|
9 |
33 |
210 |
1 |
| m_priv_setsockopt |
|
5 |
36 |
198 |
1 |
| m_priv_bind |
|
5 |
36 |
191 |
1 |
| must_read |
|
6 |
18 |
86 |
2 |
| must_write |
|
6 |
18 |
88 |
2 |
| m_priv_local_sanitize_path |
|
7 |
18 |
122 |
3 |
| m_priv_check_sockopt |
|
14 |
30 |
92 |
2 |
| m_priv_check_bind |
|
9 |
38 |
193 |
2 |
| m_priv_req_readdir |
|
11 |
52 |
332 |
0 |
| Source file: ./sbin/isakmpd/if.h |
| Source file: ./sbin/isakmpd/field.h |
| Source file: ./sbin/isakmpd/util.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| decode_16 |
|
1 |
4 |
22 |
1 |
| decode_32 |
|
1 |
4 |
38 |
1 |
| encode_16 |
|
1 |
5 |
27 |
2 |
| encode_32 |
|
1 |
7 |
53 |
2 |
| zero_test |
|
3 |
7 |
33 |
2 |
| hex2nibble |
|
7 |
10 |
60 |
1 |
| hex2raw |
|
7 |
24 |
150 |
3 |
| raw2hex |
|
3 |
13 |
108 |
2 |
| text2port |
|
5 |
20 |
103 |
1 |
| text2sockaddr |
|
33 |
133 |
833 |
5 |
| sockaddr2text |
|
18 |
63 |
426 |
3 |
| sockaddr_addrlen |
|
3 |
13 |
67 |
1 |
| sockaddr_addrdata |
|
3 |
13 |
75 |
1 |
| sockaddr_port |
|
3 |
13 |
61 |
1 |
| sockaddr_set_port |
|
3 |
11 |
62 |
2 |
| util_ntoa |
|
4 |
22 |
129 |
3 |
| check_file_secrecy_fd |
|
6 |
23 |
130 |
3 |
| get_timeout |
|
2 |
8 |
47 |
1 |
| expand_string |
|
6 |
27 |
185 |
4 |
| Source file: ./sbin/isakmpd/cookie.h |
| Source file: ./sbin/isakmpd/ike_aggressive.h |
| Source file: ./sbin/isakmpd/udp_encap.h |
| Source file: ./sbin/isakmpd/attribute.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| attribute_set_basic |
|
1 |
6 |
38 |
3 |
| attribute_set_var |
|
1 |
8 |
55 |
4 |
| attribute_map |
|
7 |
25 |
163 |
4 |
| attribute_set_constant |
|
2 |
16 |
91 |
5 |
| Source file: ./sbin/isakmpd/hash.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| hash_get |
|
3 |
10 |
65 |
1 |
| hmac_init |
|
4 |
22 |
188 |
3 |
| hmac_final |
|
1 |
6 |
51 |
2 |
| Source file: ./sbin/isakmpd/ipsec.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| ipsec_sa_check |
|
9 |
28 |
220 |
2 |
| ipsec_sa_lookup |
|
1 |
8 |
46 |
3 |
| ipsec_sa_check_flow |
|
2 |
6 |
40 |
2 |
| ipsec_sa_check_flow_any |
|
19 |
29 |
260 |
2 |
| ipsec_sa_tag |
|
18 |
67 |
427 |
3 |
| ipsec_finalize_exchange |
|
33 |
105 |
595 |
1 |
| ipsec_set_network |
|
29 |
158 |
1034 |
3 |
| ipsec_free_exchange_data |
|
4 |
26 |
168 |
1 |
| ipsec_free_sa_data |
|
1 |
10 |
57 |
1 |
| ipsec_free_proto_data |
|
2 |
7 |
41 |
1 |
| ipsec_exchange_script |
|
4 |
12 |
34 |
1 |
| ipsec_init |
|
1 |
4 |
12 |
1 |
| ipsec_get_keystate |
|
6 |
38 |
304 |
1 |
| ipsec_setup_situation |
|
1 |
4 |
17 |
1 |
| ipsec_situation_size |
|
1 |
4 |
9 |
1 |
| ipsec_spi_size |
|
1 |
4 |
10 |
1 |
| ipsec_validate_attribute |
|
7 |
12 |
76 |
4 |
| ipsec_validate_exchange |
|
2 |
4 |
16 |
1 |
| ipsec_validate_id_information |
|
13 |
43 |
223 |
5 |
| ipsec_validate_key_information |
|
1 |
4 |
14 |
2 |
| ipsec_validate_notification |
|
3 |
5 |
21 |
1 |
| ipsec_validate_proto |
|
3 |
5 |
21 |
1 |
| ipsec_validate_situation |
|
3 |
12 |
60 |
3 |
| ipsec_validate_transform_id |
|
13 |
19 |
87 |
2 |
| ipsec_initiator |
|
15 |
38 |
193 |
1 |
| ipsec_delete_spi_list |
|
8 |
38 |
265 |
5 |
| ipsec_responder |
|
20 |
63 |
337 |
1 |
| from_ike_hash |
|
6 |
16 |
47 |
1 |
| from_ike_crypto |
|
1 |
4 |
10 |
1 |
| ipsec_is_attribute_incompatible |
|
48 |
84 |
349 |
4 |
| ipsec_debug_attribute |
|
4 |
16 |
118 |
4 |
| ipsec_decode_attribute |
|
40 |
149 |
595 |
4 |
| ipsec_decode_transform |
|
3 |
18 |
118 |
4 |
| ipsec_delete_spi |
|
11 |
19 |
143 |
3 |
| ipsec_g_x |
|
4 |
20 |
151 |
3 |
| ipsec_gen_g_x |
|
4 |
23 |
139 |
1 |
| ipsec_save_g_x |
|
2 |
14 |
109 |
1 |
| ipsec_get_spi |
|
2 |
14 |
98 |
3 |
| ipsec_handle_leftover_payload |
|
16 |
81 |
439 |
3 |
| ipsec_esp_enckeylength |
|
10 |
23 |
102 |
1 |
| ipsec_esp_authkeylength |
|
7 |
19 |
64 |
1 |
| ipsec_ah_keylength |
|
7 |
18 |
56 |
1 |
| ipsec_keymat_length |
|
3 |
12 |
46 |
1 |
| ipsec_get_proto_port |
|
11 |
38 |
205 |
3 |
| ipsec_get_id |
|
27 |
97 |
459 |
6 |
| ipsec_decode_id |
|
11 |
58 |
354 |
5 |
| ipsec_decode_ids |
|
1 |
10 |
88 |
6 |
| ipsec_build_id |
|
9 |
37 |
243 |
2 |
| ipsec_clone_id |
|
4 |
19 |
102 |
4 |
| ipsec_proto_init |
|
3 |
8 |
49 |
2 |
| ipsec_initial_contact |
|
4 |
24 |
129 |
1 |
| addr_cmp |
|
2 |
7 |
72 |
2 |
| ipsec_add_contact |
|
5 |
30 |
198 |
1 |
| ipsec_contacted |
|
2 |
8 |
67 |
1 |
| ipsec_add_hash_payload |
|
3 |
16 |
78 |
2 |
| ipsec_fill_in_hash |
|
5 |
44 |
329 |
1 |
| ipsec_informational_pre_hook |
|
2 |
11 |
63 |
1 |
| ipsec_informational_post_hook |
|
2 |
6 |
25 |
1 |
| ipsec_id_size |
|
12 |
36 |
170 |
2 |
| ipsec_id_string |
|
14 |
60 |
343 |
2 |
| Source file: ./sbin/isakmpd/isakmp_cfg.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| cfg_initiator_send_ATTR |
|
46 |
193 |
1034 |
1 |
| cfg_initiator_recv_ATTR |
|
16 |
85 |
487 |
1 |
| cfg_responder_recv_ATTR |
|
10 |
52 |
300 |
1 |
| cfg_responder_send_ATTR |
|
10 |
39 |
236 |
1 |
| cfg_add_hash |
|
3 |
18 |
104 |
1 |
| cfg_finalize_hash |
|
2 |
17 |
126 |
4 |
| cfg_verify_hash |
|
5 |
46 |
288 |
1 |
| cfg_decode_attribute |
|
8 |
34 |
185 |
4 |
| cfg_encode_attributes |
|
73 |
206 |
923 |
6 |
| Source file: ./sbin/isakmpd/connection.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| connection_init |
|
15 |
40 |
254 |
1 |
| connection_checker |
|
4 |
21 |
114 |
1 |
| connection_lookup |
|
3 |
9 |
53 |
1 |
| connection_exist |
|
1 |
4 |
18 |
1 |
| connection_passive_lookup_by_name |
|
3 |
9 |
53 |
1 |
| compare_ids |
|
2 |
8 |
57 |
3 |
| connection_passive_lookup_by_ids |
|
11 |
33 |
239 |
2 |
| connection_setup |
|
6 |
36 |
184 |
1 |
| connection_record_passive |
|
8 |
49 |
259 |
1 |
| connection_teardown |
|
2 |
11 |
56 |
1 |
| connection_passive_teardown |
|
2 |
12 |
63 |
1 |
| connection_report |
|
4 |
21 |
161 |
1 |
| connection_reinit |
|
3 |
16 |
105 |
1 |
| Source file: ./sbin/isakmpd/isakmpd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usage |
|
1 |
10 |
27 |
1 |
| parse_args |
|
27 |
82 |
318 |
2 |
| sighup |
|
1 |
4 |
11 |
1 |
| report |
|
2 |
17 |
81 |
1 |
| sigusr1 |
|
1 |
4 |
11 |
1 |
| phase2_sa_check |
|
1 |
4 |
20 |
2 |
| phase1_sa_check |
|
1 |
4 |
20 |
2 |
| set_slave_signals |
|
3 |
11 |
63 |
1 |
| daemon_shutdown |
|
7 |
20 |
109 |
1 |
| daemon_shutdown_now |
|
1 |
4 |
11 |
1 |
| write_pid_file |
|
3 |
14 |
71 |
1 |
| sanitise_stdfd |
|
7 |
19 |
117 |
1 |
| main |
|
23 |
86 |
467 |
2 |
| Source file: ./sbin/isakmpd/init.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| init |
|
1 |
24 |
90 |
1 |
| reinit |
|
1 |
12 |
43 |
1 |
| Source file: ./sbin/isakmpd/doi.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| doi_init |
|
1 |
4 |
11 |
1 |
| doi_lookup |
|
3 |
7 |
43 |
1 |
| doi_register |
|
1 |
4 |
19 |
1 |
| Source file: ./sbin/isakmpd/crypto.h |
| Source file: ./sbin/isakmpd/message.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| message_alloc |
|
7 |
36 |
258 |
3 |
| message_alloc_reply |
|
2 |
11 |
67 |
1 |
| message_free |
|
14 |
37 |
279 |
1 |
| message_parse_payloads |
|
14 |
86 |
502 |
6 |
| message_parse_proposal |
|
3 |
16 |
104 |
4 |
| message_parse_transform |
|
2 |
12 |
84 |
4 |
| message_get_field |
|
24 |
47 |
137 |
1 |
| message_validate_payload |
|
24 |
48 |
241 |
3 |
| message_payload_sz |
|
24 |
46 |
135 |
1 |
| message_validate_attribute |
|
4 |
19 |
95 |
2 |
| message_validate_cert |
|
2 |
9 |
47 |
2 |
| message_validate_cert_req |
|
5 |
19 |
118 |
2 |
| message_validate_delete |
|
15 |
84 |
511 |
2 |
| message_validate_hash |
|
8 |
52 |
385 |
2 |
| message_validate_id |
|
4 |
19 |
122 |
2 |
| message_validate_key_exch |
|
4 |
18 |
108 |
2 |
| message_validate_nat_d |
|
3 |
17 |
94 |
2 |
| message_validate_nat_oa |
|
3 |
11 |
61 |
2 |
| message_validate_nonce |
|
2 |
9 |
48 |
2 |
| message_validate_notify |
|
20 |
54 |
312 |
2 |
| message_validate_proposal |
|
6 |
24 |
155 |
2 |
| message_validate_sa |
|
12 |
56 |
344 |
2 |
| message_validate_sig |
|
2 |
9 |
48 |
2 |
| message_validate_transform |
|
7 |
36 |
242 |
2 |
| message_validate_vendor |
|
4 |
19 |
121 |
2 |
| message_index_payload |
|
2 |
15 |
87 |
4 |
| message_sort_payloads |
|
5 |
18 |
131 |
2 |
| message_validate_payloads |
|
4 |
17 |
116 |
1 |
| message_recv |
|
50 |
202 |
1221 |
1 |
| message_send_expire |
|
1 |
5 |
20 |
1 |
| message_send |
|
10 |
39 |
254 |
1 |
| message_setup_header |
|
1 |
14 |
110 |
4 |
| message_add_payload |
|
4 |
36 |
254 |
5 |
| message_send_notification |
|
9 |
19 |
181 |
5 |
| message_send_delete |
|
8 |
39 |
231 |
1 |
| message_send_dpd_notify |
|
1 |
12 |
94 |
3 |
| message_send_info |
|
13 |
64 |
411 |
1 |
| message_drop |
|
7 |
33 |
193 |
5 |
| message_dump_raw |
|
6 |
22 |
222 |
3 |
| message_packet_log |
|
6 |
18 |
155 |
1 |
| message_encrypt |
|
5 |
35 |
351 |
1 |
| message_check_duplicate |
|
9 |
37 |
236 |
1 |
| step_transform |
|
2 |
10 |
54 |
3 |
| message_negotiate_sa |
|
29 |
104 |
639 |
2 |
| message_add_sa_payload |
|
20 |
137 |
894 |
1 |
| message_copy |
|
6 |
26 |
200 |
3 |
| message_register_post_send |
|
2 |
11 |
64 |
2 |
| message_post_send |
|
2 |
9 |
56 |
1 |
| payload_first |
|
1 |
4 |
24 |
2 |
| Source file: ./sbin/isakmpd/udp_encap.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| udp_encap_init |
|
1 |
4 |
12 |
1 |
| udp_encap_make |
|
17 |
77 |
489 |
1 |
| udp_encap_bind |
|
2 |
9 |
51 |
1 |
| udp_encap_create |
|
19 |
85 |
454 |
1 |
| udp_encap_report |
|
6 |
16 |
141 |
1 |
| udp_encap_handle_message |
|
10 |
39 |
277 |
1 |
| udp_encap_send_message |
|
7 |
40 |
279 |
2 |
| Source file: ./sbin/isakmpd/udp.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| udp_init |
|
1 |
4 |
12 |
1 |
| udp_make |
|
17 |
76 |
489 |
1 |
| udp_clone |
|
4 |
34 |
233 |
2 |
| udp_bind |
|
2 |
9 |
51 |
1 |
| udp_create |
|
20 |
84 |
446 |
1 |
| udp_remove |
|
6 |
16 |
120 |
1 |
| udp_report |
|
6 |
16 |
141 |
1 |
| udp_handle_message |
|
6 |
31 |
219 |
1 |
| udp_send_message |
|
2 |
19 |
133 |
2 |
| udp_fd_set |
|
2 |
9 |
58 |
3 |
| udp_fd_isset |
|
1 |
5 |
35 |
2 |
| udp_get_dst |
|
1 |
4 |
28 |
2 |
| udp_get_src |
|
1 |
4 |
28 |
2 |
| udp_decode_ids |
|
3 |
20 |
158 |
1 |
| Source file: ./sbin/isakmpd/sa.h |
| Source file: ./sbin/isakmpd/key.h |
| Source file: ./sbin/isakmpd/dnssec.h |
| Source file: ./sbin/isakmpd/cert.h |
| Source file: ./sbin/isakmpd/exchange.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| exchange_script |
|
8 |
21 |
78 |
1 |
| exchange_validate |
|
16 |
32 |
213 |
1 |
| exchange_handle_leftover_payloads |
|
7 |
22 |
125 |
1 |
| exchange_run |
|
24 |
83 |
424 |
1 |
| exchange_init |
|
3 |
10 |
67 |
1 |
| exchange_lookup_from_icookie |
|
5 |
13 |
80 |
1 |
| exchange_lookup_by_name |
|
10 |
22 |
143 |
2 |
| exchange_lookup_active |
|
9 |
27 |
149 |
2 |
| exchange_enter |
|
3 |
17 |
122 |
1 |
| exchange_lookup |
|
10 |
27 |
193 |
2 |
| exchange_create |
|
5 |
44 |
273 |
4 |
| exchange_run_finalizations |
|
1 |
7 |
54 |
3 |
| exchange_add_finalization |
|
4 |
25 |
140 |
3 |
| exchange_establish_transaction |
|
3 |
10 |
77 |
3 |
| exchange_establish_p1 |
|
24 |
108 |
625 |
8 |
| exchange_establish_p2 |
|
20 |
87 |
511 |
6 |
| exchange_setup_p1 |
|
22 |
111 |
648 |
2 |
| exchange_setup_p2 |
|
6 |
19 |
142 |
2 |
| exchange_dump_real |
|
8 |
29 |
263 |
4 |
| exchange_dump |
|
1 |
4 |
24 |
2 |
| exchange_report |
|
3 |
10 |
62 |
1 |
| exchange_free_aux |
|
17 |
55 |
359 |
1 |
| exchange_free |
|
2 |
6 |
27 |
1 |
| exchange_upgrade_p1 |
|
1 |
10 |
59 |
1 |
| exchange_check_old_sa |
|
10 |
25 |
238 |
2 |
| exchange_finalize |
|
38 |
129 |
957 |
1 |
| exchange_nonce |
|
7 |
29 |
184 |
4 |
| exchange_gen_nonce |
|
3 |
19 |
109 |
2 |
| exchange_save_nonce |
|
1 |
9 |
61 |
1 |
| exchange_save_certreq |
|
2 |
15 |
96 |
1 |
| exchange_free_aca_list |
|
4 |
15 |
96 |
1 |
| exchange_add_certreqs |
|
7 |
34 |
190 |
1 |
| exchange_add_certs |
|
8 |
41 |
253 |
1 |
| exchange_establish_finalize |
|
3 |
10 |
67 |
3 |
| exchange_establish |
|
22 |
95 |
491 |
4 |
| Source file: ./sbin/isakmpd/policy.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| my_inet_ntop4 |
|
4 |
20 |
154 |
4 |
| my_inet_ntop6 |
|
3 |
16 |
163 |
3 |
| policy_callback |
|
274 |
1532 |
7977 |
1 |
| policy_init |
|
13 |
45 |
308 |
1 |
| keynote_cert_init |
|
1 |
4 |
9 |
1 |
| keynote_cert_get |
|
2 |
9 |
50 |
2 |
| keynote_cert_validate |
|
6 |
22 |
135 |
1 |
| keynote_cert_insert |
|
4 |
13 |
87 |
2 |
| keynote_cert_free |
|
1 |
4 |
13 |
1 |
| keynote_certreq_validate |
|
3 |
19 |
108 |
2 |
| keynote_certreq_decode |
|
1 |
4 |
18 |
3 |
| keynote_free_aca |
|
1 |
3 |
8 |
1 |
| keynote_cert_obtain |
|
15 |
93 |
541 |
5 |
| keynote_cert_get_subjects |
|
1 |
5 |
24 |
4 |
| keynote_cert_get_key |
|
11 |
43 |
268 |
2 |
| keynote_cert_dup |
|
1 |
4 |
18 |
1 |
| keynote_serialize |
|
2 |
7 |
57 |
3 |
| keynote_printable |
|
1 |
4 |
18 |
1 |
| keynote_from_printable |
|
1 |
4 |
14 |
1 |
| keynote_ca_count |
|
1 |
4 |
9 |
1 |
| Source file: ./sbin/isakmpd/log.h |
| Source file: ./sbin/isakmpd/constants.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| constant_value |
|
3 |
8 |
54 |
2 |
| constant_lookup |
|
3 |
8 |
48 |
2 |
| constant_link_lookup |
|
3 |
8 |
48 |
2 |
| constant_name |
|
2 |
10 |
55 |
2 |
| constant_name_maps |
|
3 |
13 |
74 |
2 |
| Source file: ./sbin/shutdown/pathnames.h |
| Source file: ./sbin/isakmpd/policy.h |
| Source file: ./sbin/init/pathnames.h |
| Source file: ./sbin/isakmpd/sa.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sa_init |
|
3 |
11 |
83 |
1 |
| sa_resize |
|
3 |
13 |
83 |
1 |
| sa_find |
|
4 |
14 |
108 |
2 |
| sa_check_icookie |
|
2 |
5 |
33 |
2 |
| sa_lookup_from_icookie |
|
1 |
4 |
16 |
1 |
| sa_check_name_phase |
|
4 |
6 |
55 |
2 |
| sa_lookup_by_name |
|
1 |
7 |
36 |
2 |
| _net_addrcmp |
|
10 |
27 |
241 |
2 |
| sa_check_peer |
|
8 |
18 |
158 |
2 |
| isakmp_sa_check |
|
6 |
15 |
136 |
2 |
| sa_lookup_isakmp_sa |
|
1 |
7 |
38 |
2 |
| sa_lookup_by_peer |
|
1 |
8 |
46 |
3 |
| sa_isakmp_lookup_by_peer |
|
1 |
8 |
43 |
2 |
| sa_enter |
|
3 |
19 |
137 |
1 |
| sa_lookup_by_header |
|
2 |
5 |
27 |
2 |
| sa_lookup |
|
10 |
25 |
186 |
2 |
| sa_create |
|
6 |
37 |
238 |
2 |
| sa_dump |
|
7 |
39 |
381 |
4 |
| report_spi |
|
5 |
21 |
147 |
4 |
| report_proto |
|
25 |
103 |
474 |
2 |
| report_lifetimes |
|
7 |
22 |
136 |
2 |
| report_phase1 |
|
1 |
6 |
54 |
2 |
| report_phase2 |
|
4 |
15 |
106 |
2 |
| sa_report |
|
3 |
8 |
62 |
1 |
| sa_dump_all |
|
7 |
19 |
160 |
2 |
| sa_report_all |
|
3 |
8 |
60 |
1 |
| proto_free |
|
9 |
26 |
197 |
1 |
| sa_free |
|
4 |
18 |
87 |
1 |
| sa_remove |
|
1 |
6 |
34 |
1 |
| sa_reference |
|
1 |
6 |
31 |
1 |
| sa_release |
|
15 |
45 |
298 |
1 |
| sa_isakmp_upgrade |
|
1 |
10 |
67 |
1 |
| sa_validate_xf_attrs |
|
13 |
48 |
266 |
4 |
| sa_validate_proto_xf |
|
13 |
48 |
340 |
3 |
| sa_add_transform |
|
17 |
64 |
459 |
4 |
| sa_delete |
|
2 |
6 |
26 |
2 |
| sa_teardown_all |
|
6 |
18 |
124 |
1 |
| sa_soft_expire |
|
2 |
11 |
62 |
1 |
| sa_hard_expire |
|
2 |
10 |
62 |
1 |
| sa_reinit |
|
7 |
18 |
123 |
1 |
| sa_flag |
|
3 |
23 |
102 |
1 |
| sa_mark_replaced |
|
3 |
10 |
59 |
1 |
| sa_replace |
|
5 |
12 |
87 |
2 |
| sa_setup_expirations |
|
5 |
35 |
202 |
1 |
| Source file: ./sbin/shutdown/shutdown.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
36 |
111 |
592 |
2 |
| loop |
|
10 |
34 |
181 |
1 |
| timewarn |
|
10 |
39 |
299 |
1 |
| timeout |
|
1 |
4 |
14 |
1 |
| die_you_gravy_sucking_pig_dog |
|
29 |
85 |
525 |
1 |
| getoffset |
|
24 |
64 |
430 |
1 |
| doitfast |
|
2 |
9 |
44 |
1 |
| nolog |
|
2 |
18 |
115 |
1 |
| finish |
|
3 |
9 |
37 |
1 |
| badtime |
|
1 |
4 |
13 |
1 |
| usage |
|
1 |
6 |
18 |
1 |
| Source file: ./sbin/isakmpd/pf_key_v2.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pf_key_v2_msg_new |
|
3 |
22 |
115 |
2 |
| pf_key_v2_msg_add |
|
2 |
14 |
90 |
3 |
| pf_key_v2_msg_free |
|
3 |
13 |
68 |
1 |
| pf_key_v2_seq |
|
1 |
5 |
16 |
1 |
| pf_key_v2_read |
|
20 |
99 |
556 |
1 |
| pf_key_v2_write |
|
10 |
53 |
358 |
1 |
| pf_key_v2_call |
|
2 |
8 |
33 |
1 |
| pf_key_v2_find_ext |
|
3 |
9 |
56 |
2 |
| pf_key_v2_open |
|
13 |
73 |
407 |
1 |
| pf_key_v2_get_spi |
|
23 |
121 |
778 |
5 |
| pf_key_v2_get_kernel_sa |
|
26 |
147 |
941 |
4 |
| pf_key_v2_setup_sockaddr |
|
7 |
39 |
285 |
5 |
| pf_key_v2_set_spi |
|
114 |
463 |
2916 |
4 |
| pf_key_v2_mask_to_bits |
|
1 |
5 |
29 |
1 |
| pf_key_v2_mask6_to_bits |
|
2 |
6 |
31 |
1 |
| pf_key_v2_flow |
|
46 |
191 |
1283 |
20 |
| pf_key_v2_convert_id |
|
22 |
95 |
617 |
4 |
| pf_key_v2_enable_sa |
|
6 |
42 |
372 |
2 |
| pf_key_v2_conf_refinc |
|
3 |
13 |
80 |
2 |
| pf_key_v2_conf_refhandle |
|
4 |
16 |
98 |
2 |
| pf_key_v2_remove_conf |
|
7 |
42 |
264 |
1 |
| pf_key_v2_disable_sa |
|
2 |
19 |
216 |
2 |
| pf_key_v2_delete_spi |
|
23 |
116 |
755 |
3 |
| pf_key_v2_stayalive |
|
5 |
13 |
76 |
3 |
| pf_key_v2_connection_check |
|
2 |
12 |
66 |
1 |
| pf_key_v2_expire |
|
17 |
75 |
401 |
1 |
| mask4len |
|
3 |
11 |
59 |
1 |
| mask6len |
|
5 |
12 |
81 |
1 |
| phase2id |
|
4 |
14 |
137 |
7 |
| pf_key_v2_acquire |
|
162 |
671 |
4232 |
1 |
| pf_key_v2_notify |
|
4 |
16 |
82 |
1 |
| pf_key_v2_handler |
|
4 |
15 |
64 |
1 |
| pf_key_v2_group_spis |
|
20 |
124 |
774 |
4 |
| Source file: ./sbin/dhclient/options.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| code_to_name |
|
6 |
13 |
88 |
1 |
| name_to_code |
|
7 |
18 |
122 |
1 |
| code_to_format |
|
4 |
8 |
42 |
1 |
| parse_option_buffer |
|
12 |
55 |
385 |
3 |
| pack_options |
|
9 |
36 |
257 |
3 |
| pretty_print_string |
|
7 |
22 |
181 |
3 |
| pretty_print_classless_routes |
|
9 |
35 |
252 |
4 |
| expand_search_domain_name |
|
8 |
53 |
292 |
4 |
| pretty_print_domain_search |
|
5 |
27 |
140 |
2 |
| pretty_print_option |
|
50 |
194 |
1059 |
3 |
| unpack_options |
|
7 |
28 |
206 |
1 |
| Source file: ./sbin/dhclient/conflex.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| new_parse |
|
1 |
14 |
86 |
1 |
| eol |
|
2 |
13 |
47 |
1 |
| get_char |
|
5 |
16 |
80 |
1 |
| get_token |
|
10 |
38 |
195 |
1 |
| next_token |
|
4 |
18 |
77 |
2 |
| peek_token |
|
4 |
20 |
86 |
2 |
| skip_to_eol |
|
4 |
13 |
47 |
1 |
| read_string |
|
11 |
27 |
146 |
1 |
| read_num_or_name |
|
13 |
36 |
224 |
2 |
| kw_cmp |
|
1 |
4 |
32 |
2 |
| intern |
|
2 |
9 |
63 |
2 |
| Source file: ./sbin/dhclient/dispatch.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dispatch |
|
21 |
71 |
496 |
2 |
| packethandler |
|
25 |
94 |
566 |
1 |
| flush_unpriv_ibuf |
|
7 |
15 |
67 |
1 |
| set_timeout |
|
1 |
7 |
43 |
3 |
| cancel_timeout |
|
1 |
5 |
21 |
1 |
| sendhup |
|
2 |
7 |
43 |
1 |
| Source file: ./sbin/dhclient/packet.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| checksum |
|
5 |
15 |
101 |
3 |
| wrapsum |
|
1 |
5 |
19 |
1 |
| assemble_eh_header |
|
1 |
7 |
56 |
2 |
| decode_hw_header |
|
2 |
9 |
66 |
3 |
| decode_udp_ip_header |
|
24 |
86 |
568 |
3 |
| Source file: ./sbin/dhclient/privsep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| dispatch_imsg |
|
27 |
111 |
537 |
5 |
| Source file: ./sbin/dhclient/parse.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| skip_to_semi |
|
8 |
23 |
119 |
1 |
| parse_semi |
|
2 |
11 |
44 |
1 |
| parse_string |
|
6 |
23 |
142 |
3 |
| parse_cidr |
|
9 |
34 |
202 |
2 |
| parse_ip_addr |
|
5 |
26 |
154 |
2 |
| parse_lease_time |
|
3 |
17 |
87 |
2 |
| parse_boolean |
|
7 |
22 |
124 |
2 |
| parse_decimal |
|
9 |
52 |
251 |
3 |
| parse_warn |
|
4 |
17 |
121 |
1 |
| Source file: ./sbin/dhclient/bpf.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| get_bpf_sock |
|
3 |
11 |
72 |
1 |
| get_udp_sock |
|
4 |
13 |
94 |
1 |
| configure_bpf_sock |
|
11 |
32 |
242 |
0 |
| send_packet |
|
8 |
82 |
653 |
0 |
| receive_packet |
|
11 |
66 |
438 |
0 |
| Source file: ./sbin/init/init.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
11 |
59 |
425 |
2 |
| handle |
|
3 |
17 |
100 |
2 |
| delset |
|
2 |
9 |
48 |
2 |
| stall |
|
1 |
9 |
43 |
2 |
| warning |
|
1 |
8 |
38 |
2 |
| emergency |
|
1 |
8 |
43 |
2 |
| badsys |
|
2 |
7 |
27 |
1 |
| disaster |
|
1 |
6 |
27 |
1 |
| getsecuritylevel |
|
3 |
15 |
87 |
1 |
| setsecuritylevel |
|
5 |
17 |
92 |
1 |
| transition |
|
2 |
5 |
24 |
1 |
| clear_session_logs |
|
2 |
6 |
39 |
1 |
| setctty |
|
3 |
14 |
78 |
1 |
| f_single_user |
|
33 |
111 |
685 |
1 |
| f_runcom |
|
17 |
67 |
401 |
1 |
| cmp_sessions |
|
3 |
8 |
48 |
2 |
| add_session |
|
2 |
5 |
36 |
1 |
| del_session |
|
1 |
4 |
18 |
1 |
| find_session |
|
1 |
6 |
31 |
1 |
| construct_argv |
|
4 |
15 |
114 |
1 |
| free_session |
|
3 |
13 |
64 |
1 |
| new_session |
|
8 |
28 |
181 |
3 |
| setupargv |
|
7 |
33 |
212 |
2 |
| f_read_ttys |
|
5 |
18 |
100 |
1 |
| start_window_system |
|
4 |
21 |
115 |
1 |
| start_getty |
|
17 |
65 |
406 |
1 |
| collect_child |
|
7 |
29 |
176 |
1 |
| transition_handler |
|
7 |
26 |
75 |
1 |
| f_multi_user |
|
8 |
25 |
136 |
1 |
| f_clean_ttys |
|
12 |
47 |
295 |
1 |
| f_catatonia |
|
2 |
7 |
33 |
1 |
| alrm_handler |
|
1 |
4 |
11 |
1 |
| f_do_reboot |
|
1 |
5 |
13 |
1 |
| f_hard_death |
|
1 |
5 |
13 |
1 |
| f_nice_death |
|
18 |
62 |
430 |
1 |
| f_death |
|
9 |
25 |
168 |
1 |
| setprocresources |
|
2 |
9 |
47 |
1 |
| Source file: ./sbin/dhclient/dhcp.h |
| Source file: ./sbin/dhclient/privsep.h |
| Source file: ./sbin/dhclient/dhcpd.h |
| Source file: ./sbin/dhclient/dhctoken.h |
| Source file: ./sbin/dhclient/log.h |
| Source file: ./sbin/isakmpd/ike_quick_mode.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| check_policy |
|
47 |
223 |
1400 |
3 |
| initiator_send_HASH_SA_NONCE |
|
78 |
509 |
2856 |
1 |
| initiator_recv_HASH_SA_NONCE |
|
31 |
189 |
1332 |
1 |
| initiator_send_HASH |
|
5 |
47 |
373 |
1 |
| post_quick_mode |
|
13 |
100 |
657 |
1 |
| responder_recv_HASH_SA_NONCE |
|
40 |
239 |
1485 |
1 |
| responder_send_HASH_SA_NONCE |
|
16 |
98 |
692 |
1 |
| gen_g_xy |
|
4 |
19 |
126 |
1 |
| responder_recv_HASH |
|
4 |
58 |
411 |
1 |
| Source file: ./sbin/bioctl/bioctl.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
50 |
158 |
824 |
2 |
| usage |
|
1 |
20 |
40 |
1 |
| str2locator |
|
6 |
25 |
177 |
2 |
| str2patrol |
|
7 |
26 |
173 |
2 |
| bio_status |
|
5 |
18 |
103 |
1 |
| bio_inq |
|
47 |
187 |
1065 |
1 |
| bio_alarm |
|
10 |
32 |
162 |
1 |
| bio_getvolbyname |
|
6 |
24 |
175 |
1 |
| bio_setstate |
|
6 |
29 |
204 |
3 |
| bio_setblink |
|
17 |
62 |
465 |
3 |
| bio_blink |
|
4 |
21 |
159 |
3 |
| bio_createraid |
|
20 |
91 |
613 |
3 |
| bio_kdf_derive |
|
4 |
16 |
121 |
4 |
| bio_kdf_generate |
|
4 |
17 |
154 |
1 |
| bio_parse_devlist |
|
13 |
39 |
290 |
2 |
| bio_createflags |
|
8 |
29 |
158 |
1 |
| bio_deleteraid |
|
2 |
10 |
76 |
1 |
| bio_changepass |
|
5 |
37 |
308 |
1 |
| bio_vis |
|
2 |
11 |
64 |
1 |
| bio_diskinq |
|
2 |
8 |
69 |
1 |
| bio_patrol |
|
18 |
83 |
386 |
1 |
| bcrypt_pbkdf_autorounds |
|
3 |
20 |
135 |
1 |
| derive_key |
|
27 |
72 |
538 |
8 |
| Source file: ./sbin/mount_ffs/mount_ffs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
12 |
50 |
267 |
2 |
| ffs_usage |
|
1 |
5 |
21 |
1 |
| Source file: ./sbin/dhclient/kroute.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| get_routes |
|
8 |
45 |
247 |
2 |
| flush_routes |
|
3 |
13 |
88 |
2 |
| priv_flush_routes |
|
12 |
41 |
275 |
4 |
| extract_classless_route |
|
8 |
25 |
176 |
5 |
| set_routes |
|
7 |
34 |
224 |
4 |
| add_route |
|
2 |
14 |
88 |
4 |
| priv_add_route |
|
5 |
55 |
463 |
4 |
| delete_addresses |
|
10 |
29 |
213 |
3 |
| delete_address |
|
2 |
10 |
59 |
1 |
| priv_delete_address |
|
3 |
16 |
132 |
3 |
| set_mtu |
|
4 |
16 |
92 |
2 |
| priv_set_mtu |
|
2 |
9 |
83 |
3 |
| set_address |
|
3 |
13 |
88 |
3 |
| priv_set_address |
|
2 |
18 |
173 |
3 |
| write_resolv_conf |
|
2 |
9 |
43 |
1 |
| priv_write_resolv_conf |
|
5 |
23 |
135 |
1 |
| default_route_index |
|
17 |
78 |
550 |
2 |
| set_resolv_conf |
|
17 |
68 |
453 |
5 |
| get_rtaddrs |
|
3 |
12 |
87 |
3 |
| route_in_rtstatic |
|
12 |
39 |
263 |
3 |
| Source file: ./sbin/restore/utilities.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| pathcheck |
|
5 |
21 |
117 |
1 |
| mktempname |
|
2 |
12 |
92 |
1 |
| gentempname |
|
4 |
14 |
100 |
1 |
| renameit |
|
3 |
8 |
50 |
2 |
| newnode |
|
4 |
13 |
75 |
1 |
| removenode |
|
5 |
16 |
94 |
1 |
| removeleaf |
|
4 |
14 |
79 |
1 |
| linkit |
|
8 |
23 |
137 |
3 |
| lowerbnd |
|
5 |
12 |
67 |
1 |
| upperbnd |
|
5 |
12 |
67 |
1 |
| badentry |
|
6 |
20 |
179 |
2 |
| flagvalues |
|
7 |
19 |
171 |
1 |
| dirlookup |
|
4 |
9 |
67 |
1 |
| reply |
|
7 |
15 |
90 |
1 |
| panic |
|
4 |
14 |
70 |
2 |
| Source file: ./sbin/dhclient/clparse.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| add_lease |
|
8 |
24 |
183 |
2 |
| read_client_conf |
|
4 |
46 |
265 |
1 |
| read_client_leases |
|
6 |
22 |
119 |
2 |
| parse_client_statement |
|
48 |
125 |
719 |
3 |
| parse_hex_octets |
|
11 |
34 |
211 |
3 |
| parse_option_list |
|
9 |
35 |
218 |
3 |
| parse_interface_declaration |
|
9 |
36 |
179 |
2 |
| parse_client_lease_statement |
|
9 |
37 |
190 |
3 |
| parse_client_lease_declaration |
|
23 |
75 |
395 |
3 |
| parse_option_decl |
|
34 |
114 |
672 |
3 |
| parse_reject_statement |
|
4 |
17 |
103 |
1 |
| Source file: ./sbin/restore/symtab.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| lookupino |
|
5 |
10 |
66 |
1 |
| addino |
|
6 |
15 |
104 |
2 |
| deleteino |
|
5 |
18 |
112 |
1 |
| lookupname |
|
10 |
23 |
161 |
1 |
| lookupparent |
|
4 |
16 |
85 |
1 |
| myname |
|
3 |
15 |
104 |
1 |
| addentry |
|
10 |
42 |
287 |
3 |
| freeentry |
|
12 |
37 |
213 |
1 |
| moveentry |
|
4 |
22 |
142 |
2 |
| removeentry |
|
5 |
17 |
94 |
1 |
| savename |
|
4 |
20 |
121 |
1 |
| freename |
|
1 |
8 |
52 |
1 |
| dumpsymtable |
|
14 |
69 |
530 |
2 |
| initsymtable |
|
20 |
80 |
586 |
1 |
| Source file: ./sbin/restore/extern.h |
| Source file: ./sbin/restore/dirs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| extractdirs |
|
18 |
65 |
463 |
1 |
| skipdirs |
|
3 |
6 |
28 |
1 |
| treescan |
|
10 |
46 |
349 |
3 |
| pathsearch |
|
5 |
18 |
115 |
1 |
| searchdir |
|
5 |
17 |
110 |
2 |
| putdir |
|
19 |
57 |
368 |
2 |
| putent |
|
2 |
13 |
92 |
1 |
| flushent |
|
1 |
7 |
50 |
1 |
| dcvt |
|
2 |
12 |
93 |
2 |
| rst_seekdir |
|
4 |
12 |
105 |
3 |
| rst_readdir |
|
10 |
34 |
209 |
1 |
| rst_opendir |
|
2 |
13 |
77 |
1 |
| rst_closedir |
|
1 |
6 |
25 |
1 |
| rst_telldir |
|
1 |
5 |
36 |
1 |
| opendirfile |
|
3 |
14 |
85 |
1 |
| setdirmodes |
|
17 |
58 |
382 |
1 |
| genliteraldir |
|
6 |
26 |
205 |
2 |
| inodetype |
|
2 |
8 |
35 |
1 |
| allocinotab |
|
3 |
29 |
272 |
3 |
| inotablookup |
|
3 |
8 |
52 |
1 |
| cleanup |
|
3 |
8 |
44 |
1 |
| Source file: ./sbin/restore/restore.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| listfile |
|
4 |
9 |
75 |
3 |
| addfile |
|
8 |
32 |
196 |
3 |
| deletefile |
|
5 |
15 |
89 |
3 |
| removeoldleaves |
|
6 |
25 |
136 |
1 |
| nodeupdates |
|
47 |
158 |
962 |
3 |
| keyval |
|
5 |
15 |
119 |
1 |
| findunreflinks |
|
11 |
33 |
206 |
1 |
| removeoldnodes |
|
5 |
22 |
120 |
1 |
| createleaves |
|
10 |
50 |
297 |
1 |
| createfiles |
|
14 |
52 |
296 |
1 |
| createlinks |
|
6 |
23 |
159 |
1 |
| checkrestore |
|
5 |
15 |
96 |
1 |
| verifyfile |
|
8 |
21 |
136 |
3 |
| Source file: ./sbin/dhclient/dhclient.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| sighdlr |
|
1 |
4 |
11 |
1 |
| get_ifa_family |
|
4 |
14 |
77 |
2 |
| interface_link_forceup |
|
4 |
17 |
122 |
2 |
| interface_status |
|
10 |
25 |
158 |
1 |
| get_hw_address |
|
10 |
32 |
199 |
1 |
| routehandler |
|
35 |
97 |
582 |
2 |
| main |
|
59 |
210 |
1554 |
2 |
| usage |
|
1 |
8 |
26 |
1 |
| state_preboot |
|
10 |
33 |
195 |
1 |
| state_reboot |
|
3 |
18 |
119 |
1 |
| state_init |
|
1 |
10 |
59 |
1 |
| state_selecting |
|
6 |
39 |
247 |
1 |
| dhcpoffer |
|
9 |
34 |
210 |
3 |
| dhcpack |
|
7 |
24 |
153 |
3 |
| dhcpnak |
|
9 |
26 |
155 |
3 |
| bind_lease |
|
13 |
71 |
496 |
1 |
| state_bound |
|
2 |
17 |
116 |
1 |
| addressinuse |
|
7 |
24 |
161 |
3 |
| packet_to_lease |
|
26 |
103 |
679 |
2 |
| send_discover |
|
7 |
34 |
222 |
1 |
| state_panic |
|
2 |
15 |
79 |
1 |
| send_request |
|
19 |
61 |
400 |
1 |
| send_decline |
|
2 |
7 |
39 |
1 |
| make_discover |
|
8 |
48 |
399 |
2 |
| make_request |
|
13 |
58 |
481 |
2 |
| make_decline |
|
5 |
43 |
370 |
2 |
| free_client_lease |
|
4 |
12 |
75 |
1 |
| rewrite_client_leases |
|
5 |
25 |
141 |
1 |
| rewrite_option_db |
|
9 |
27 |
176 |
3 |
| append_statement |
|
1 |
6 |
46 |
4 |
| lease_as_proposal |
|
16 |
84 |
654 |
1 |
| lease_as_string |
|
17 |
79 |
657 |
3 |
| go_daemon |
|
5 |
17 |
97 |
1 |
| rdaemon |
|
7 |
25 |
128 |
1 |
| res_hnok_list |
|
9 |
22 |
127 |
1 |
| fork_privchld |
|
20 |
76 |
489 |
3 |
| get_ifname |
|
10 |
29 |
245 |
3 |
| apply_defaults |
|
24 |
109 |
925 |
1 |
| clone_lease |
|
10 |
42 |
305 |
1 |
| apply_ignore_list |
|
7 |
25 |
161 |
1 |
| take_charge |
|
12 |
46 |
328 |
2 |
| get_recorded_lease |
|
12 |
31 |
233 |
1 |
| set_default_client_identifier |
|
4 |
14 |
102 |
1 |
| lease_expiry |
|
5 |
17 |
107 |
1 |
| lease_renewal |
|
3 |
15 |
94 |
1 |
| lease_rebind |
|
4 |
18 |
121 |
1 |
| Source file: ./sbin/restore/restore.h |
| Source file: ./sbin/badsect/badsect.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
14 |
49 |
401 |
2 |
| chkuse |
|
8 |
37 |
257 |
2 |
| rdfs |
|
2 |
7 |
53 |
3 |
| Source file: ./sbin/restore/main.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
47 |
168 |
872 |
2 |
| usage |
|
1 |
5 |
23 |
1 |
| obsolete |
|
14 |
52 |
342 |
2 |
| Source file: ./sbin/pflogd/pflogd.h |
| Source file: ./sbin/pflogd/privsep_fdpass.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| send_fd |
|
4 |
33 |
225 |
2 |
| receive_fd |
|
6 |
42 |
249 |
1 |
| Source file: ./sbin/restore/tape.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| setinput |
|
8 |
27 |
155 |
1 |
| newtapebuf |
|
3 |
12 |
57 |
1 |
| setup |
|
26 |
78 |
521 |
1 |
| getvol |
|
42 |
139 |
865 |
1 |
| terminateinput |
|
4 |
15 |
70 |
1 |
| setdumpnum |
|
7 |
15 |
84 |
1 |
| printdumpinfo |
|
3 |
14 |
110 |
1 |
| extractfile |
|
23 |
122 |
796 |
1 |
| skipmaps |
|
3 |
5 |
24 |
1 |
| skipfile |
|
1 |
5 |
19 |
1 |
| getfile |
|
22 |
55 |
409 |
2 |
| xtrfile |
|
3 |
8 |
51 |
2 |
| xtrskip |
|
2 |
6 |
48 |
2 |
| xtrlnkfile |
|
2 |
8 |
56 |
2 |
| xtrlnkskip |
|
1 |
4 |
22 |
2 |
| xtrmap |
|
1 |
5 |
24 |
2 |
| xtrmapskip |
|
1 |
5 |
20 |
2 |
| xtrnull |
|
1 |
4 |
13 |
2 |
| readtape |
|
29 |
91 |
530 |
1 |
| findtapeblksize |
|
6 |
21 |
127 |
1 |
| closemt |
|
4 |
9 |
31 |
1 |
| gethead |
|
23 |
91 |
618 |
1 |
| accthdr |
|
16 |
60 |
298 |
1 |
| findinode |
|
16 |
59 |
331 |
1 |
| checksum |
|
5 |
21 |
109 |
1 |
| msg |
|
1 |
7 |
38 |
2 |
| swap_header |
|
1 |
35 |
373 |
1 |
| swap_old_header |
|
1 |
21 |
243 |
1 |
| Source file: ./sbin/restore/interactive.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| runcmdshell |
|
40 |
155 |
833 |
1 |
| getcmd |
|
19 |
72 |
471 |
6 |
| copynext |
|
13 |
33 |
187 |
2 |
| canon |
|
17 |
37 |
296 |
3 |
| printlist |
|
21 |
77 |
545 |
2 |
| mkentry |
|
18 |
44 |
253 |
3 |
| formatf |
|
18 |
60 |
383 |
2 |
| glob_readdir |
|
5 |
15 |
98 |
1 |
| glob_stat |
|
5 |
12 |
83 |
2 |
| fcmp |
|
1 |
5 |
42 |
2 |
| onintr |
|
4 |
9 |
45 |
1 |
| Source file: ./sbin/kbd/main.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| usage |
|
1 |
6 |
29 |
1 |
| main |
|
7 |
23 |
118 |
2 |
| Source file: ./sbin/mount/pathnames.h |
| Source file: ./sbin/pflogd/privsep.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| priv_init |
|
28 |
120 |
811 |
3 |
| set_snaplen |
|
2 |
8 |
31 |
1 |
| move_log |
|
6 |
32 |
167 |
1 |
| priv_init_pcap |
|
5 |
28 |
183 |
1 |
| priv_set_snaplen |
|
3 |
13 |
87 |
1 |
| priv_open_log |
|
2 |
10 |
55 |
1 |
| priv_move_log |
|
2 |
10 |
61 |
1 |
| sig_pass_to_chld |
|
2 |
7 |
30 |
1 |
| may_read |
|
6 |
18 |
91 |
3 |
| must_read |
|
6 |
17 |
86 |
3 |
| must_write |
|
6 |
17 |
86 |
3 |
| Source file: ./sbin/pflogd/pflogd.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| set_suspended |
|
3 |
9 |
36 |
1 |
| copy_argv |
|
6 |
20 |
141 |
1 |
| logmsg |
|
2 |
11 |
61 |
3 |
| usage |
|
1 |
7 |
32 |
1 |
| sig_close |
|
1 |
4 |
11 |
1 |
| sig_hup |
|
1 |
4 |
11 |
1 |
| sig_alrm |
|
1 |
4 |
11 |
1 |
| set_pcap_filter |
|
3 |
11 |
73 |
1 |
| if_exists |
|
1 |
4 |
18 |
1 |
| init_pcap |
|
4 |
20 |
120 |
1 |
| set_snaplen |
|
3 |
9 |
38 |
1 |
| reset_dump |
|
3 |
10 |
37 |
1 |
| try_reset_dump |
|
14 |
64 |
381 |
1 |
| scan_dump |
|
16 |
48 |
295 |
2 |
| dump_packet_nobuf |
|
6 |
26 |
170 |
3 |
| flush_buffer |
|
4 |
26 |
141 |
1 |
| purge_buffer |
|
1 |
8 |
27 |
1 |
| dump_packet |
|
7 |
32 |
179 |
3 |
| main |
|
35 |
140 |
700 |
2 |
| Source file: ./sbin/mount/mntopts.h |
| Source file: ./sbin/kbd/kbd_wscons.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| kbd_show_enc |
|
8 |
33 |
215 |
2 |
| kbd_get_encs |
|
5 |
17 |
108 |
2 |
| kbd_list |
|
21 |
64 |
340 |
1 |
| kbd_set |
|
21 |
56 |
396 |
2 |
| Source file: ./sbin/mount/getmntopts.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| getmntopts |
|
3 |
14 |
90 |
3 |
| getmntopt |
|
24 |
53 |
401 |
4 |
| Source file: ./sbin/fsirand/fsirand.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
11 |
36 |
204 |
2 |
| fsirand |
|
58 |
180 |
1347 |
1 |
| usage |
|
1 |
6 |
24 |
1 |
| Source file: ./sbin/tunefs/tunefs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
31 |
133 |
765 |
2 |
| getnum |
|
2 |
9 |
66 |
4 |
| usage |
|
1 |
10 |
27 |
1 |
| getsb |
|
10 |
24 |
138 |
2 |
| bwrite |
|
2 |
6 |
57 |
4 |
| bread |
|
2 |
6 |
62 |
4 |
| openpartition |
|
5 |
19 |
140 |
3 |
| Source file: ./sbin/mount/mount.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
61 |
171 |
1025 |
2 |
| hasopt |
|
5 |
14 |
105 |
2 |
| flags2opts |
|
4 |
11 |
64 |
1 |
| mountfs |
|
28 |
117 |
759 |
6 |
| prmount |
|
93 |
128 |
1324 |
1 |
| getmntpt |
|
4 |
11 |
86 |
1 |
| selected |
|
6 |
10 |
73 |
1 |
| maketypelist |
|
8 |
22 |
185 |
1 |
| catopt |
|
5 |
13 |
81 |
2 |
| mangle |
|
5 |
22 |
144 |
4 |
| usage |
|
1 |
8 |
23 |
1 |
| disklabelcheck |
|
9 |
24 |
162 |
1 |
| Source file: ./sbin/ncheck_ffs/ncheck_ffs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| matchino |
|
3 |
10 |
57 |
2 |
| matchcache |
|
3 |
10 |
63 |
2 |
| cacheino |
|
4 |
16 |
118 |
2 |
| cached |
|
3 |
13 |
78 |
1 |
| findinodes |
|
10 |
20 |
120 |
1 |
| getino |
|
8 |
24 |
180 |
1 |
| bread |
|
8 |
39 |
264 |
3 |
| addinode |
|
2 |
10 |
55 |
1 |
| scanonedir |
|
8 |
21 |
176 |
2 |
| dirindir |
|
11 |
33 |
253 |
5 |
| searchdir |
|
21 |
60 |
434 |
5 |
| rawname |
|
2 |
13 |
85 |
1 |
| usage |
|
1 |
8 |
25 |
1 |
| main |
|
42 |
101 |
723 |
2 |
| format_entry |
|
23 |
75 |
406 |
2 |
| Source file: ./sbin/dumpfs/dumpfs.c |
| Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
| main |
|
10 |
39 |
211 |
2 |
| open_disk |
|
10 |
24 |
178 |
1 |
| dumpfs |
|
32 |
160 |
1173 |
2 |
| dumpcg |
|
14 |
72 |
552 |
3 |
| marshal |
|
4 |
33 |
200 |
1 |
| pbits |
|
8 |
19 |
124 |
2 |
| usage |
|
1 |
5 |
21 |
1 |