View results by: Directories | Files
| Path | Line Coverage | Function Coverage | Region Coverage |
|---|---|---|---|
src/tmux/alerts.c |
15.18% (29/191) |
23.08% (3/13) |
9.27% (24/259) |
src/tmux/arguments.c |
47.95% (375/782) |
46.51% (20/43) |
52.18% (490/939) |
src/tmux/attributes.c |
65.75% (48/73) |
50.00% (1/2) |
41.07% (46/112) |
src/tmux/cfg.c |
0.00% (0/176) |
0.00% (0/8) |
0.00% (0/166) |
src/tmux/client.c |
0.00% (0/545) |
0.00% (0/13) |
0.00% (0/473) |
src/tmux/cmd-attach-session.c |
0.00% (0/115) |
0.00% (0/2) |
0.00% (0/115) |
src/tmux/cmd-bind-key.c |
6.00% (3/50) |
50.00% (1/2) |
3.33% (1/30) |
src/tmux/cmd-break-pane.c |
0.00% (0/137) |
0.00% (0/2) |
0.00% (0/124) |
src/tmux/cmd-capture-pane.c |
0.00% (0/341) |
0.00% (0/7) |
0.00% (0/274) |
src/tmux/cmd-choose-tree.c |
9.09% (3/33) |
50.00% (1/2) |
3.33% (1/30) |
src/tmux/cmd-command-prompt.c |
1.69% (3/178) |
25.00% (1/4) |
0.74% (1/136) |
src/tmux/cmd-confirm-before.c |
3.66% (3/82) |
25.00% (1/4) |
1.61% (1/62) |
src/tmux/cmd-copy-mode.c |
0.00% (0/51) |
0.00% (0/1) |
0.00% (0/56) |
src/tmux/cmd-detach-client.c |
0.00% (0/53) |
0.00% (0/1) |
0.00% (0/63) |
src/tmux/cmd-display-menu.c |
3.20% (18/563) |
20.00% (1/5) |
2.95% (13/440) |
src/tmux/cmd-display-message.c |
0.00% (0/88) |
0.00% (0/2) |
0.00% (0/77) |
src/tmux/cmd-find-window.c |
0.00% (0/64) |
0.00% (0/1) |
0.00% (0/51) |
src/tmux/cmd-find.c |
6.02% (55/913) |
25.00% (8/32) |
4.34% (48/1106) |
src/tmux/cmd-if-shell.c |
4.81% (5/104) |
25.00% (1/4) |
6.25% (6/96) |
src/tmux/cmd-join-pane.c |
0.00% (0/397) |
0.00% (0/7) |
0.00% (0/490) |
src/tmux/cmd-kill-pane.c |
0.00% (0/51) |
0.00% (0/3) |
0.00% (0/41) |
src/tmux/cmd-kill-server.c |
0.00% (0/5) |
0.00% (0/1) |
0.00% (0/4) |
src/tmux/cmd-kill-session.c |
0.00% (0/58) |
0.00% (0/3) |
0.00% (0/79) |
src/tmux/cmd-kill-window.c |
0.00% (0/72) |
0.00% (0/3) |
0.00% (0/74) |
src/tmux/cmd-list-buffers.c |
0.00% (0/37) |
0.00% (0/1) |
0.00% (0/20) |
src/tmux/cmd-list-clients.c |
0.00% (0/46) |
0.00% (0/1) |
0.00% (0/38) |
src/tmux/cmd-list-commands.c |
0.00% (0/48) |
0.00% (0/2) |
0.00% (0/34) |
src/tmux/cmd-list-keys.c |
0.00% (0/159) |
0.00% (0/7) |
0.00% (0/125) |
src/tmux/cmd-list-panes.c |
0.00% (0/93) |
0.00% (0/4) |
0.00% (0/51) |
src/tmux/cmd-list-sessions.c |
0.00% (0/38) |
0.00% (0/1) |
0.00% (0/23) |
src/tmux/cmd-list-windows.c |
0.00% (0/49) |
0.00% (0/1) |
0.00% (0/29) |
src/tmux/cmd-load-buffer.c |
0.00% (0/49) |
0.00% (0/2) |
0.00% (0/37) |
src/tmux/cmd-lock-server.c |
0.00% (0/12) |
0.00% (0/1) |
0.00% (0/7) |
src/tmux/cmd-move-window.c |
0.00% (0/48) |
0.00% (0/1) |
0.00% (0/32) |
src/tmux/cmd-new-session.c |
0.00% (0/259) |
0.00% (0/1) |
0.00% (0/246) |
src/tmux/cmd-new-window.c |
0.00% (0/116) |
0.00% (0/1) |
0.00% (0/109) |
src/tmux/cmd-parse.c |
86.41% (1450/1678) |
86.11% (31/36) |
88.77% (1178/1327) |
src/tmux/cmd-paste-buffer.c |
0.00% (0/70) |
0.00% (0/2) |
0.00% (0/61) |
src/tmux/cmd-pipe-pane.c |
0.00% (0/133) |
0.00% (0/4) |
0.00% (0/104) |
src/tmux/cmd-queue.c |
5.58% (29/520) |
9.52% (4/42) |
5.45% (22/404) |
src/tmux/cmd-refresh-client.c |
0.00% (0/210) |
0.00% (0/5) |
0.00% (0/187) |
src/tmux/cmd-rename-session.c |
0.00% (0/38) |
0.00% (0/1) |
0.00% (0/15) |
src/tmux/cmd-rename-window.c |
0.00% (0/18) |
0.00% (0/1) |
0.00% (0/4) |
src/tmux/cmd-resize-pane.c |
0.00% (0/312) |
0.00% (0/4) |
0.00% (0/312) |
src/tmux/cmd-resize-window.c |
0.00% (0/61) |
0.00% (0/1) |
0.00% (0/50) |
src/tmux/cmd-respawn-pane.c |
0.00% (0/43) |
0.00% (0/1) |
0.00% (0/23) |
src/tmux/cmd-respawn-window.c |
0.00% (0/41) |
0.00% (0/1) |
0.00% (0/22) |
src/tmux/cmd-rotate-window.c |
0.00% (0/64) |
0.00% (0/1) |
0.00% (0/79) |
src/tmux/cmd-run-shell.c |
2.44% (5/205) |
16.67% (1/6) |
2.02% (4/198) |
src/tmux/cmd-save-buffer.c |
0.00% (0/52) |
0.00% (0/2) |
0.00% (0/40) |
src/tmux/cmd-select-layout.c |
0.00% (0/66) |
0.00% (0/1) |
0.00% (0/41) |
src/tmux/cmd-select-pane.c |
0.00% (0/194) |
0.00% (0/3) |
0.00% (0/168) |
src/tmux/cmd-select-window.c |
0.00% (0/58) |
0.00% (0/1) |
0.00% (0/48) |
src/tmux/cmd-send-keys.c |
0.00% (0/170) |
0.00% (0/3) |
0.00% (0/165) |
src/tmux/cmd-server-access.c |
0.00% (0/89) |
0.00% (0/2) |
0.00% (0/75) |
src/tmux/cmd-set-buffer.c |
0.00% (0/72) |
0.00% (0/1) |
0.00% (0/61) |
src/tmux/cmd-set-environment.c |
0.00% (0/67) |
0.00% (0/1) |
0.00% (0/54) |
src/tmux/cmd-set-option.c |
2.17% (6/277) |
25.00% (1/4) |
2.52% (6/238) |
src/tmux/cmd-show-environment.c |
0.00% (0/75) |
0.00% (0/3) |
0.00% (0/66) |
src/tmux/cmd-show-messages.c |
0.00% (0/50) |
0.00% (0/2) |
0.00% (0/40) |
src/tmux/cmd-show-options.c |
0.00% (0/270) |
0.00% (0/4) |
0.00% (0/194) |
src/tmux/cmd-show-prompt-history.c |
0.00% (0/45) |
0.00% (0/1) |
0.00% (0/34) |
src/tmux/cmd-source-file.c |
0.00% (0/157) |
0.00% (0/6) |
0.00% (0/130) |
src/tmux/cmd-split-window.c |
0.00% (0/277) |
0.00% (0/2) |
0.00% (0/228) |
src/tmux/cmd-swap-pane.c |
0.00% (0/138) |
0.00% (0/3) |
0.00% (0/148) |
src/tmux/cmd-swap-window.c |
0.00% (0/43) |
0.00% (0/1) |
0.00% (0/47) |
src/tmux/cmd-switch-client.c |
0.00% (0/106) |
0.00% (0/1) |
0.00% (0/98) |
src/tmux/cmd-unbind-key.c |
0.00% (0/55) |
0.00% (0/1) |
0.00% (0/47) |
src/tmux/cmd-wait-for.c |
0.00% (0/286) |
0.00% (0/21) |
0.00% (0/729) |
src/tmux/cmd.c |
35.97% (168/467) |
35.29% (12/34) |
42.70% (190/445) |
src/tmux/colour.c |
81.21% (886/1091) |
73.91% (17/23) |
62.92% (319/507) |
src/tmux/compat/closefrom.c |
0.00% (0/28) |
0.00% (0/2) |
0.00% (0/33) |
src/tmux/compat/fdforkpty.c |
0.00% (0/5) |
0.00% (0/2) |
0.00% (0/3) |
src/tmux/compat/freezero.c |
0.00% (0/6) |
0.00% (0/1) |
0.00% (0/4) |
src/tmux/compat/getdtablecount.c |
0.00% (0/11) |
0.00% (0/1) |
0.00% (0/6) |
src/tmux/compat/getopt_long.c |
0.00% (0/252) |
0.00% (0/5) |
0.00% (0/342) |
src/tmux/compat/getpeereid.c |
0.00% (0/10) |
0.00% (0/1) |
0.00% (0/6) |
src/tmux/compat/getprogname.c |
0.00% (0/3) |
0.00% (0/1) |
0.00% (0/1) |
src/tmux/compat/htonll.c |
0.00% (0/6) |
0.00% (0/1) |
0.00% (0/3) |
src/tmux/compat/imsg-buffer.c |
0.00% (0/674) |
0.00% (0/69) |
0.00% (0/634) |
src/tmux/compat/imsg.c |
0.00% (0/273) |
0.00% (0/31) |
0.00% (0/217) |
src/tmux/compat/ntohll.c |
0.00% (0/6) |
0.00% (0/1) |
0.00% (0/3) |
src/tmux/compat/recallocarray.c |
61.11% (22/36) |
100.00% (1/1) |
57.69% (30/52) |
src/tmux/compat/setproctitle.c |
0.00% (0/14) |
0.00% (0/1) |
0.00% (0/9) |
src/tmux/compat/strlcat.c |
95.24% (20/21) |
100.00% (1/1) |
91.67% (11/12) |
src/tmux/compat/strlcpy.c |
94.44% (17/18) |
100.00% (1/1) |
93.33% (14/15) |
src/tmux/compat/strtonum.c |
96.97% (32/33) |
100.00% (1/1) |
95.65% (44/46) |
src/tmux/compat/tree.h |
30.19% (80/265) |
37.50% (3/8) |
93.31% (237/254) |
src/tmux/compat/unvis.c |
0.00% (0/184) |
0.00% (0/3) |
0.00% (0/173) |
src/tmux/compat/vis.c |
34.21% (52/152) |
20.00% (1/5) |
35.48% (77/217) |
src/tmux/control-notify.c |
0.00% (0/223) |
0.00% (0/15) |
0.00% (0/476) |
src/tmux/control.c |
0.00% (0/554) |
0.00% (0/40) |
0.00% (0/1282) |
src/tmux/environ.c |
28.31% (47/166) |
50.00% (8/16) |
13.50% (66/489) |
src/tmux/events-payload.c |
24.57% (100/407) |
35.14% (13/37) |
14.62% (99/677) |
src/tmux/events.c |
32.38% (34/105) |
40.00% (4/10) |
25.00% (20/80) |
src/tmux/file.c |
0.00% (0/610) |
0.00% (0/32) |
0.00% (0/879) |
src/tmux/format-draw.c |
18.37% (156/849) |
25.00% (4/16) |
21.98% (120/546) |
src/tmux/format.c |
61.76% (2749/4451) |
85.86% (255/297) |
52.67% (2778/5274) |
src/tmux/fuzz/cmd-parse-fuzzer.c |
92.11% (35/38) |
100.00% (2/2) |
92.86% (26/28) |
src/tmux/fuzz/format-fuzzer.c |
95.35% (41/43) |
100.00% (2/2) |
93.33% (28/30) |
src/tmux/fuzz/input-fuzzer.c |
91.84% (45/49) |
100.00% (2/2) |
80.77% (42/52) |
src/tmux/fuzz/style-fuzzer.c |
94.29% (33/35) |
100.00% (2/2) |
92.59% (25/27) |
src/tmux/fuzzy.c |
95.32% (407/427) |
100.00% (16/16) |
90.35% (365/404) |
src/tmux/grid-reader.c |
0.00% (0/291) |
0.00% (0/18) |
0.00% (0/269) |
src/tmux/grid-view.c |
69.64% (78/112) |
86.67% (13/15) |
62.67% (47/75) |
src/tmux/grid.c |
30.69% (379/1235) |
48.33% (29/60) |
31.96% (318/995) |
src/tmux/hooks.c |
0.00% (0/326) |
0.00% (0/19) |
0.00% (0/257) |
src/tmux/hyperlinks.c |
78.79% (78/99) |
81.82% (9/11) |
69.41% (540/778) |
src/tmux/input-keys.c |
0.00% (0/317) |
0.00% (0/13) |
0.00% (0/512) |
src/tmux/input.c |
84.60% (1977/2337) |
83.13% (69/83) |
80.29% (1515/1887) |
src/tmux/job.c |
0.00% (0/268) |
0.00% (0/14) |
0.00% (0/310) |
src/tmux/key-bindings.c |
0.00% (0/547) |
0.00% (0/23) |
0.00% (0/939) |
src/tmux/key-string.c |
22.69% (54/238) |
25.00% (1/4) |
31.47% (79/251) |
src/tmux/layout-custom.c |
0.00% (0/299) |
0.00% (0/9) |
0.00% (0/285) |
src/tmux/layout-set.c |
0.00% (0/521) |
0.00% (0/14) |
0.00% (0/512) |
src/tmux/layout.c |
1.10% (15/1366) |
3.64% (2/55) |
1.51% (21/1389) |
src/tmux/log.c |
10.00% (8/80) |
20.00% (2/10) |
8.62% (5/58) |
src/tmux/menu.c |
1.19% (6/504) |
11.11% (2/18) |
1.04% (5/481) |
src/tmux/mode-tree.c |
0.00% (0/1268) |
0.00% (0/55) |
0.00% (0/1220) |
src/tmux/monitor.c |
0.00% (0/421) |
0.00% (0/32) |
0.00% (0/1479) |
src/tmux/names.c |
0.00% (0/106) |
0.00% (0/6) |
0.00% (0/93) |
src/tmux/options.c |
39.64% (442/1115) |
61.19% (41/67) |
28.86% (563/1951) |
src/tmux/osdep-linux.c |
12.73% (7/55) |
33.33% (1/3) |
2.56% (1/39) |
src/tmux/paste.c |
36.95% (75/203) |
52.63% (10/19) |
60.32% (529/877) |
src/tmux/popup.c |
0.00% (0/472) |
0.00% (0/17) |
0.00% (0/427) |
src/tmux/proc.c |
0.00% (0/223) |
0.00% (0/18) |
0.00% (0/213) |
src/tmux/prompt-history.c |
0.00% (0/157) |
0.00% (0/10) |
0.00% (0/150) |
src/tmux/prompt.c |
0.00% (0/1311) |
0.00% (0/39) |
0.00% (0/998) |
src/tmux/regsub.c |
40.28% (29/72) |
66.67% (2/3) |
54.29% (19/35) |
src/tmux/resize.c |
0.00% (0/282) |
0.00% (0/11) |
0.00% (0/396) |
src/tmux/screen-redraw.c |
0.23% (3/1283) |
2.13% (1/47) |
0.08% (1/1297) |
src/tmux/screen-write.c |
61.91% (1289/2082) |
75.00% (63/84) |
64.05% (1185/1850) |
src/tmux/screen.c |
45.29% (250/552) |
74.07% (20/27) |
38.74% (215/555) |
src/tmux/server-acl.c |
0.00% (0/126) |
0.00% (0/13) |
0.00% (0/463) |
src/tmux/server-client.c |
0.26% (6/2340) |
1.45% (1/69) |
0.15% (4/2653) |
src/tmux/server-fn.c |
2.14% (8/374) |
7.14% (2/28) |
2.78% (13/467) |
src/tmux/server.c |
0.00% (0/360) |
0.00% (0/17) |
0.00% (0/488) |
src/tmux/session.c |
0.00% (0/517) |
2.33% (1/43) |
0.32% (4/1261) |
src/tmux/sort.c |
6.84% (36/526) |
14.29% (3/21) |
5.70% (24/421) |
src/tmux/spawn.c |
1.50% (8/535) |
11.11% (1/9) |
1.17% (6/511) |
src/tmux/status.c |
0.00% (0/464) |
0.00% (0/29) |
0.00% (0/382) |
src/tmux/style.c |
63.21% (280/443) |
76.92% (10/13) |
68.60% (332/484) |
src/tmux/tmux.c |
5.05% (20/396) |
17.65% (3/17) |
5.10% (21/412) |
src/tmux/tty-acs.c |
0.00% (0/58) |
0.00% (0/8) |
0.00% (0/47) |
src/tmux/tty-draw.c |
0.00% (0/224) |
0.00% (0/3) |
0.00% (0/195) |
src/tmux/tty-features.c |
0.00% (0/193) |
0.00% (0/5) |
0.00% (0/99) |
src/tmux/tty-keys.c |
0.00% (0/988) |
0.00% (0/20) |
0.00% (0/1002) |
src/tmux/tty-term.c |
0.00% (0/455) |
0.00% (0/20) |
0.00% (0/339) |
src/tmux/tty.c |
2.35% (47/2002) |
4.39% (5/114) |
1.92% (40/2083) |
src/tmux/utf8-combined.c |
22.77% (51/224) |
88.89% (8/9) |
14.62% (37/253) |
src/tmux/utf8.c |
35.48% (187/527) |
41.67% (15/36) |
17.96% (153/852) |
src/tmux/window-border.c |
0.00% (0/156) |
0.00% (0/8) |
0.00% (0/82) |
src/tmux/window-buffer.c |
0.00% (0/414) |
0.00% (0/21) |
0.00% (0/317) |
src/tmux/window-client.c |
0.00% (0/268) |
0.00% (0/15) |
0.00% (0/212) |
src/tmux/window-clock.c |
0.00% (0/141) |
0.00% (0/7) |
0.00% (0/93) |
src/tmux/window-copy.c |
0.00% (0/4646) |
0.00% (0/234) |
0.00% (0/3200) |
src/tmux/window-customize.c |
0.00% (0/2220) |
0.00% (0/69) |
0.00% (0/1846) |
src/tmux/window-panes.c |
0.00% (0/794) |
0.00% (0/38) |
0.00% (0/760) |
src/tmux/window-switch.c |
0.00% (0/432) |
0.00% (0/15) |
0.00% (0/341) |
src/tmux/window-tree.c |
0.00% (0/1057) |
0.00% (0/35) |
0.00% (0/865) |
src/tmux/window-visible.c |
18.54% (28/151) |
50.00% (1/2) |
17.37% (29/167) |
src/tmux/window.c |
15.01% (291/1939) |
23.53% (32/136) |
8.46% (278/3285) |
src/tmux/xmalloc.c |
84.62% (77/91) |
100.00% (12/12) |
82.28% (65/79) |
Totals |
19.60% (12685/64731) |
26.81% (779/2906) |
17.96% (12381/68948) |