Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/finger/extern.h |
Source file: /home/sergeyb/sources/src/usr.bin/finger/net.c |
Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
netfinger |
|
18 |
74 |
456 |
1 |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/finger/finger.h |
Source file: /home/sergeyb/sources/src/usr.bin/sndiod/miofile.h |
Source file: /home/sergeyb/sources/src/usr.bin/sndiod/utils.h |
Source file: /home/sergeyb/sources/src/usr.bin/sndiod/dev.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/sndiod/siofile.h |
Source file: /home/sergeyb/sources/src/usr.bin/sndiod/fdpass.h |
Source file: /home/sergeyb/sources/src/usr.bin/sndiod/sysex.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/sndiod/opt.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/sndiod/midi.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/sndiod/file.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/sndiod/defs.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/sndiod/abuf.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/sndiod/listen.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/sndiod/sock.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/grep/grep.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/indent/indent_globs.h |
Source file: /home/sergeyb/sources/src/usr.bin/indent/indent_codes.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/chpass/chpass.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/chpass/table.c |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/nm/elfuncs.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/nm/util.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/telnet/defines.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/telnet/ring.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/telnet/telnet_locl.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/telnet/externs.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/aucat/afile.h |
Source file: /home/sergeyb/sources/src/usr.bin/aucat/utils.h |
Source file: /home/sergeyb/sources/src/usr.bin/aucat/sysex.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/aucat/defs.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/aucat/abuf.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/vmstat/dkstats.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/mesg/mesg.c |
Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
main |
|
12 |
41 |
270 |
2 |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/rs/utf8.c |
Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
mbsavis |
|
7 |
36 |
202 |
2 |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/yacc/defs.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/vi/build/pathnames.h |
Source file: /home/sergeyb/sources/src/usr.bin/vi/build/config.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/vi/vi/v_cmd.c |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/vi/vi/vi.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/vi/include/com_extern.h |
Source file: /home/sergeyb/sources/src/usr.bin/vi/include/vi_extern.h |
Source file: /home/sergeyb/sources/src/usr.bin/vi/include/ex_extern.h |
Source file: /home/sergeyb/sources/src/usr.bin/vi/include/options_def.h |
Source file: /home/sergeyb/sources/src/usr.bin/vi/include/ex_def.h |
Source file: /home/sergeyb/sources/src/usr.bin/vi/include/cl_extern.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/vi/common/options.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/vi/common/args.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/vi/common/mark.h |
Source file: /home/sergeyb/sources/src/usr.bin/vi/common/mem.h |
Source file: /home/sergeyb/sources/src/usr.bin/vi/common/seq.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/vi/common/util.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/vi/common/gs.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/vi/common/msg.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/vi/common/exf.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/vi/common/common.h |
Source file: /home/sergeyb/sources/src/usr.bin/vi/common/key.h |
Source file: /home/sergeyb/sources/src/usr.bin/vi/common/log.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/vi/ex/version.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/vi/ex/ex.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/vi/ex/ex_cmd.c |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/vi/ex/script.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/vi/ex/tag.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/vi/cl/cl.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/calendar/pathnames.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/calendar/pesach.c |
Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
pesach |
|
12 |
27 |
211 |
1 |
Source file: /home/sergeyb/sources/src/usr.bin/calendar/paskha.c |
Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
paskha |
|
2 |
16 |
116 |
1 |
Source file: /home/sergeyb/sources/src/usr.bin/calendar/ostern.c |
Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
easter |
|
4 |
29 |
273 |
1 |
Source file: /home/sergeyb/sources/src/usr.bin/calendar/calendar.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/sed/extern.h |
Source file: /home/sergeyb/sources/src/usr.bin/sed/defs.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/mklocale/ldef.h |
Source file: /home/sergeyb/sources/src/usr.bin/lastcomm/pathnames.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/talk/talk_ctl.h |
Source file: /home/sergeyb/sources/src/usr.bin/talk/talk.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/talk/talk.c |
Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
main |
|
6 |
23 |
136 |
2 |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/nc/atomicio.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/nc/atomicio.c |
Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
atomicio |
|
8 |
28 |
166 |
4 |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/fstat/fstat.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/true/true.c |
Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
main |
|
1 |
4 |
18 |
2 |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/patch/pathnames.h |
Source file: /home/sergeyb/sources/src/usr.bin/patch/backupfile.h |
Source file: /home/sergeyb/sources/src/usr.bin/patch/mkpath.c |
Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
mkpath |
|
7 |
25 |
148 |
1 |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/patch/inp.h |
Source file: /home/sergeyb/sources/src/usr.bin/patch/ed.h |
Source file: /home/sergeyb/sources/src/usr.bin/patch/util.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/patch/pch.h |
Source file: /home/sergeyb/sources/src/usr.bin/patch/common.h |
Source file: /home/sergeyb/sources/src/usr.bin/bc/pathnames.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/bc/extern.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/hexdump/hexdump.c |
Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
main |
|
9 |
26 |
198 |
2 |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/hexdump/hexdump.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/tr/extern.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/xinstall/pathnames.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/banner/banner.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/banner/chset.c |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/pr/egetopt.c |
Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
egetopt |
|
37 |
102 |
620 |
3 |
Source file: /home/sergeyb/sources/src/usr.bin/pr/extern.h |
Source file: /home/sergeyb/sources/src/usr.bin/pr/pr.h |
Source file: /home/sergeyb/sources/src/usr.bin/sendbug/atomicio.h |
Source file: /home/sergeyb/sources/src/usr.bin/sendbug/atomicio.c |
Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
atomicio |
|
7 |
28 |
158 |
4 |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/gprof/pathnames.h |
Source file: /home/sergeyb/sources/src/usr.bin/gprof/alpha.c |
Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
findcall |
|
1 |
3 |
16 |
3 |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/gprof/aarch64.c |
Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
findcall |
|
1 |
3 |
16 |
3 |
Source file: /home/sergeyb/sources/src/usr.bin/gprof/sh.h |
Source file: /home/sergeyb/sources/src/usr.bin/gprof/hppa.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/gprof/mips64.h |
Source file: /home/sergeyb/sources/src/usr.bin/gprof/sparc64.c |
Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
findcall |
|
1 |
3 |
16 |
3 |
Source file: /home/sergeyb/sources/src/usr.bin/gprof/i386.c |
Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
findcall |
|
18 |
45 |
249 |
3 |
Source file: /home/sergeyb/sources/src/usr.bin/gprof/aarch64.h |
Source file: /home/sergeyb/sources/src/usr.bin/gprof/sparc64.h |
Source file: /home/sergeyb/sources/src/usr.bin/gprof/powerpc.c |
Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
findcall |
|
1 |
3 |
16 |
3 |
Source file: /home/sergeyb/sources/src/usr.bin/gprof/m88k.c |
Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
findcall |
|
1 |
3 |
16 |
3 |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/gprof/arm.h |
Source file: /home/sergeyb/sources/src/usr.bin/gprof/sh.c |
Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
findcall |
|
1 |
3 |
16 |
3 |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/gprof/hppa.c |
Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
findcall |
|
1 |
3 |
16 |
3 |
Source file: /home/sergeyb/sources/src/usr.bin/gprof/powerpc.h |
Source file: /home/sergeyb/sources/src/usr.bin/gprof/gprof.h |
Source file: /home/sergeyb/sources/src/usr.bin/gprof/hertz.c |
Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
hertz |
|
2 |
12 |
74 |
1 |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/gprof/alpha.h |
Source file: /home/sergeyb/sources/src/usr.bin/gprof/amd64.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/gprof/mips64.c |
Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
findcall |
|
11 |
28 |
192 |
3 |
Source file: /home/sergeyb/sources/src/usr.bin/gprof/i386.h |
Source file: /home/sergeyb/sources/src/usr.bin/gprof/m88k.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/gprof/arm.c |
Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
findcall |
|
1 |
3 |
16 |
3 |
Source file: /home/sergeyb/sources/src/usr.bin/gprof/amd64.c |
Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
findcall |
|
1 |
3 |
16 |
3 |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/signify/sc25519.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/signify/fe25519.h |
Source file: /home/sergeyb/sources/src/usr.bin/signify/signify.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/signify/ge25519.h |
Source file: /home/sergeyb/sources/src/usr.bin/signify/crypto_api.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/sort/sort.h |
Source file: /home/sergeyb/sources/src/usr.bin/sort/mem.h |
Source file: /home/sergeyb/sources/src/usr.bin/sort/radixsort.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/sort/vsort.h |
Source file: /home/sergeyb/sources/src/usr.bin/sort/coll.h |
Source file: /home/sergeyb/sources/src/usr.bin/sort/file.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/fgen/fgen.h |
Source file: /home/sergeyb/sources/src/usr.bin/login/pathnames.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/tail/extern.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/cvs/atomicio.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/cvs/trigger.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/cvs/atomicio.c |
Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
atomicio |
|
7 |
28 |
158 |
4 |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/cvs/rcs.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/cvs/init.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/cvs/hash.h |
Source file: /home/sergeyb/sources/src/usr.bin/cvs/xmalloc.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/cvs/util.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/cvs/file.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/cvs/remote.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/cvs/repository.h |
Source file: /home/sergeyb/sources/src/usr.bin/cvs/cvs.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/cvs/diff.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/cvs/worklist.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/cvs/rcsparse.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/cvs/buf.h |
Source file: /home/sergeyb/sources/src/usr.bin/cvs/config.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/cvs/log.h |
Source file: /home/sergeyb/sources/src/usr.bin/cvs/fatal.c |
Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
fatal |
|
4 |
17 |
86 |
2 |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/locate/locate/pathnames.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/locate/locate/locate.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/rdist/pathnames.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/rdist/types.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/rdist/version.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/rdist/isexec.c |
Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
isexec |
|
6 |
14 |
114 |
2 |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/rdist/client.h |
Source file: /home/sergeyb/sources/src/usr.bin/rdist/defs.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/rdist/config.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/vis/foldit.c |
Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
foldit |
|
8 |
29 |
117 |
3 |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/cu/cu.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/ftp/pathnames.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/ftp/small.h |
Source file: /home/sergeyb/sources/src/usr.bin/ftp/ftp_var.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/ftp/stringlist.h |
Source file: /home/sergeyb/sources/src/usr.bin/ftp/extern.h |
Source file: /home/sergeyb/sources/src/usr.bin/ftp/cmdtab.c |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/ftp/cmds.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/ftp/domacro.c |
Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
domacro |
|
27 |
102 |
630 |
2 |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/unifdef/version.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/tmux/xmalloc.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/tmux/options-table.c |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/openssl/testrsa.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/openssl/progs.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/openssl/s_apps.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/openssl/apps.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/openssl/timeouts.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/doas/doas.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/less/pattern.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/less/version.c |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/less/less.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/less/defines.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/less/lesskey.h |
Source file: /home/sergeyb/sources/src/usr.bin/less/charset.h |
Source file: /home/sergeyb/sources/src/usr.bin/less/funcs.h |
Source file: /home/sergeyb/sources/src/usr.bin/less/cmd.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/less/option.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/less/position.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/m4/pathnames.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/m4/mdef.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/m4/stdd.h |
Source file: /home/sergeyb/sources/src/usr.bin/m4/extern.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/file/xmalloc.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/file/file.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/file/magic.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/ctags/ctags.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/look/pathnames.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/ssh/atomicio.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/ssh/sftp-common.h |
Source file: /home/sergeyb/sources/src/usr.bin/ssh/pathnames.h |
Source file: /home/sergeyb/sources/src/usr.bin/ssh/cipher-chachapoly.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/ssh/hmac.h |
Source file: /home/sergeyb/sources/src/usr.bin/ssh/groupaccess.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/ssh/serverloop.h |
Source file: /home/sergeyb/sources/src/usr.bin/ssh/myproposal.h |
Source file: /home/sergeyb/sources/src/usr.bin/ssh/match.h |
Source file: /home/sergeyb/sources/src/usr.bin/ssh/krl.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/ssh/utf8.h |
Source file: /home/sergeyb/sources/src/usr.bin/ssh/version.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/ssh/crc32.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/ssh/sftp-client.h |
Source file: /home/sergeyb/sources/src/usr.bin/ssh/ssh-gss.h |
Source file: /home/sergeyb/sources/src/usr.bin/ssh/sc25519.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/ssh/auth.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/ssh/mac.h |
Source file: /home/sergeyb/sources/src/usr.bin/ssh/authfd.h |
Source file: /home/sergeyb/sources/src/usr.bin/ssh/packet.h |
Source file: /home/sergeyb/sources/src/usr.bin/ssh/opacket.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/ssh/uidswap.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/ssh/ssh-sandbox.h |
Source file: /home/sergeyb/sources/src/usr.bin/ssh/kex.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/ssh/ssh2.h |
Source file: /home/sergeyb/sources/src/usr.bin/ssh/servconf.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/ssh/buffer.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/ssh/monitor_fdpass.h |
Source file: /home/sergeyb/sources/src/usr.bin/ssh/sshbuf.h |
Source file: /home/sergeyb/sources/src/usr.bin/ssh/dispatch.h |
Source file: /home/sergeyb/sources/src/usr.bin/ssh/monitor.h |
Source file: /home/sergeyb/sources/src/usr.bin/ssh/clientloop.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/ssh/xmalloc.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/ssh/misc.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/ssh/cipher.h |
Source file: /home/sergeyb/sources/src/usr.bin/ssh/uuencode.h |
Source file: /home/sergeyb/sources/src/usr.bin/ssh/pkcs11.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/ssh/msg.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/ssh/rijndael.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/ssh/progressmeter.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/ssh/ssh.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/ssh/sftp.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/ssh/bitmap.h |
Source file: /home/sergeyb/sources/src/usr.bin/ssh/compat.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/ssh/dh.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/ssh/fe25519.h |
Source file: /home/sergeyb/sources/src/usr.bin/ssh/sshkey.h |
Source file: /home/sergeyb/sources/src/usr.bin/ssh/monitor_wrap.h |
Source file: /home/sergeyb/sources/src/usr.bin/ssh/hostfile.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/ssh/readconf.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/ssh/cipher-aesctr.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/ssh/poly1305.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/ssh/digest.h |
Source file: /home/sergeyb/sources/src/usr.bin/ssh/dns.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/ssh/chacha.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/ssh/session.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/ssh/ttymodes.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/ssh/umac.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/ssh/ssh_api.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/ssh/channels.h |
Source file: /home/sergeyb/sources/src/usr.bin/ssh/sshconnect.h |
Source file: /home/sergeyb/sources/src/usr.bin/ssh/ge25519.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/ssh/sshlogin.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/ssh/sshpty.h |
Source file: /home/sergeyb/sources/src/usr.bin/ssh/auth-options.h |
Source file: /home/sergeyb/sources/src/usr.bin/ssh/ssh-pkcs11.h |
Source file: /home/sergeyb/sources/src/usr.bin/ssh/authfile.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/ssh/key.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/ssh/crypto_api.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/ssh/ssherr.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/ssh/log.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/ssh/canohost.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/ssh/fatal.c |
Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
fatal |
|
1 |
8 |
40 |
2 |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/awk/awk.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/awk/maketab.c |
Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
main |
|
13 |
54 |
387 |
2 |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/awk/proto.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/cdio/extern.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/compress/compress.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/kdump/kdump_subr.h |
Source file: /home/sergeyb/sources/src/usr.bin/kdump/kdump.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/make/lst.lib/lstInt.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/make/lst.lib/lst_t.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/make/parsevar.h |
Source file: /home/sergeyb/sources/src/usr.bin/make/generate.c |
Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
main |
|
10 |
49 |
288 |
2 |
Source file: /home/sergeyb/sources/src/usr.bin/make/pathnames.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/make/lowparse.h |
Source file: /home/sergeyb/sources/src/usr.bin/make/for.h |
Source file: /home/sergeyb/sources/src/usr.bin/make/parse.h |
Source file: /home/sergeyb/sources/src/usr.bin/make/defines.h |
Source file: /home/sergeyb/sources/src/usr.bin/make/targequiv.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/make/job.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/make/suff.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/make/regress.c |
Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
main |
|
2 |
26 |
256 |
1 |
Source file: /home/sergeyb/sources/src/usr.bin/make/init.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/make/gnode.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/make/location.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/make/varmodifiers.h |
Source file: /home/sergeyb/sources/src/usr.bin/make/symtable.h |
Source file: /home/sergeyb/sources/src/usr.bin/make/error.h |
Source file: /home/sergeyb/sources/src/usr.bin/make/var_int.h |
Source file: /home/sergeyb/sources/src/usr.bin/make/extern.h |
Source file: /home/sergeyb/sources/src/usr.bin/make/main.h |
Source file: /home/sergeyb/sources/src/usr.bin/make/engine.h |
Source file: /home/sergeyb/sources/src/usr.bin/make/node_int.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/make/var.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/make/lst_t.h |
Source file: /home/sergeyb/sources/src/usr.bin/make/arch.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/make/cond_int.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/make/compat.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/make/cmd_exec.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/make/direxpand.h |
Source file: /home/sergeyb/sources/src/usr.bin/make/make.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/make/str.h |
Source file: /home/sergeyb/sources/src/usr.bin/make/dir.h |
Source file: /home/sergeyb/sources/src/usr.bin/make/stats.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/make/varname.h |
Source file: /home/sergeyb/sources/src/usr.bin/make/init.c |
Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
Init |
|
1 |
11 |
38 |
1 |
Source file: /home/sergeyb/sources/src/usr.bin/make/buf.h |
Source file: /home/sergeyb/sources/src/usr.bin/make/garray.h |
Source file: /home/sergeyb/sources/src/usr.bin/make/timestamp.h |
Source file: /home/sergeyb/sources/src/usr.bin/make/memory.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/make/config.h |
Source file: /home/sergeyb/sources/src/usr.bin/make/cond.h |
Source file: /home/sergeyb/sources/src/usr.bin/make/dump.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/rpcgen/rpc_scan.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/rpcgen/rpc_parse.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/rpcgen/rpc_util.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/ctfconv/dw.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/ctfconv/hash.h |
Source file: /home/sergeyb/sources/src/usr.bin/ctfconv/xmalloc.h |
Source file: /home/sergeyb/sources/src/usr.bin/ctfconv/dwarf.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/ctfconv/itype.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/wall/ttymsg.c |
Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
ttymsg |
|
27 |
106 |
719 |
4 |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/at/at.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/tftp/tftpsubs.h |
Source file: /home/sergeyb/sources/src/usr.bin/tftp/extern.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/netstat/mbuf.c |
Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
mbpr |
|
19 |
107 |
801 |
1 |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/netstat/netstat.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/top/display.h |
Source file: /home/sergeyb/sources/src/usr.bin/top/screen.h |
Source file: /home/sergeyb/sources/src/usr.bin/top/boolean.h |
Source file: /home/sergeyb/sources/src/usr.bin/top/utils.h |
Source file: /home/sergeyb/sources/src/usr.bin/top/layout.h |
Source file: /home/sergeyb/sources/src/usr.bin/top/top.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/top/top.local.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/top/machine.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/false/false.c |
Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
main |
|
1 |
4 |
18 |
2 |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/mandoc/mdoc.h |
Source file: /home/sergeyb/sources/src/usr.bin/mandoc/libmandoc.h |
Source file: /home/sergeyb/sources/src/usr.bin/mandoc/roff.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/mandoc/term.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/mandoc/mandoc_xr.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/mandoc/man.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/mandoc/dba.h |
Source file: /home/sergeyb/sources/src/usr.bin/mandoc/mandoc_aux.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/mandoc/dbm_map.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/mandoc/roff_int.h |
Source file: /home/sergeyb/sources/src/usr.bin/mandoc/libroff.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/mandoc/libman.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/mandoc/dba_write.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/mandoc/out.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/mandoc/main.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/mandoc/dbm.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/mandoc/mandoc_ohash.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/mandoc/manconf.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/mandoc/mansearch.h |
Source file: /home/sergeyb/sources/src/usr.bin/mandoc/libmdoc.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/mandoc/html.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/mandoc/mandoc.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/mandoc/dba_array.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/mandoc/tag.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/rdistd/server.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/dc/extern.h |
Source file: /home/sergeyb/sources/src/usr.bin/dc/bcode.h |
Source file: /home/sergeyb/sources/src/usr.bin/dc/main.c |
Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
main |
|
2 |
7 |
45 |
2 |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/systat/cache.h |
Source file: /home/sergeyb/sources/src/usr.bin/systat/systat.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/systat/engine.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/pctr/pctrvar.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/mg/pathnames.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/mg/version.c |
Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
showversion |
|
1 |
5 |
22 |
2 |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/mg/chrdef.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/mg/funmap.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/mg/cinfo.c |
Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
getkeyname |
|
14 |
52 |
298 |
3 |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/mg/spawn.c |
Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
spawncli |
|
3 |
21 |
119 |
2 |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/mg/macro.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/mg/key.h |
Source file: /home/sergeyb/sources/src/usr.bin/mg/kbd.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/tic/dump_entry.h |
Source file: /home/sergeyb/sources/src/usr.bin/tic/progs.priv.h |
Source file: /home/sergeyb/sources/src/usr.bin/tic/transform.h |
Source file: /home/sergeyb/sources/src/usr.bin/ktrace/extern.h |
Source file: /home/sergeyb/sources/src/usr.bin/ktrace/ktrace.h |
Source file: /home/sergeyb/sources/src/usr.bin/ktrace/subr.c |
Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
getpoints |
|
12 |
42 |
139 |
2 |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/yes/yes.c |
Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
main |
|
5 |
11 |
62 |
2 |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/bgplg/bgplg.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/xargs/pathnames.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/sdiff/extern.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/sdiff/common.c |
Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
cleanup |
|
2 |
6 |
30 |
1 |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/sdiff/common.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/lex/options.c |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/lex/scanopt.h |
Source file: /home/sergeyb/sources/src/usr.bin/lex/options.h |
Source file: /home/sergeyb/sources/src/usr.bin/lex/version.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/lex/tables.h |
Source file: /home/sergeyb/sources/src/usr.bin/lex/yylex.c |
Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
yylex |
|
76 |
141 |
536 |
0 |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/lex/tables_shared.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/lex/libyywrap.c |
Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
yywrap |
|
1 |
4 |
9 |
1 |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/lex/libmain.c |
Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
main |
|
2 |
7 |
29 |
2 |
Source file: /home/sergeyb/sources/src/usr.bin/lex/flexdef.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/lex/flexint.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/lex/config.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/diff/xmalloc.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/diff/diff.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/printenv/printenv.c |
Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
main |
|
9 |
23 |
157 |
2 |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/mail/pathnames.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/mail/def.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/mail/version.c |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/mail/rcv.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/mail/temp.c |
Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
tinit |
|
13 |
31 |
184 |
1 |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/mail/extern.h |
Source file: /home/sergeyb/sources/src/usr.bin/mail/cmdtab.c |
Source file: /home/sergeyb/sources/src/usr.bin/mail/glob.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/find/extern.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/find/find.h |
Source file: /home/sergeyb/sources/src/usr.bin/rcs/rcsprog.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/rcs/rcs.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/rcs/xmalloc.h |
Source file: /home/sergeyb/sources/src/usr.bin/rcs/rcsutil.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/rcs/diff.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/rcs/worklist.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/rcs/buf.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/cmp/extern.h |
Source file: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/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: /home/sergeyb/sources/src/usr.bin/w/extern.h |
Source file: /home/sergeyb/sources/src/usr.bin/getopt/getopt.c |
Function name | | Cyclomatic complexity (15) | LOC (1000) |
Token count
| Parameter count (100) |
main |
|
6 |
27 |
151 |
2 |