Coverage Report

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
 45.27% (354/782)
 46.51% (20/43)
 50.85% (477/938)
src/tmux/attributes.c
 65.75% (48/73)
 50.00% (1/2)
 41.07% (46/112)
src/tmux/cfg.c
  0.00% (0/195)
  0.00% (0/9)
  0.00% (0/183)
src/tmux/client.c
  0.00% (0/553)
  0.00% (0/13)
  0.00% (0/476)
src/tmux/cmd-attach-session.c
  0.00% (0/117)
  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/347)
  0.00% (0/7)
  0.00% (0/278)
src/tmux/cmd-choose-tree.c
  0.00% (0/33)
  0.00% (0/2)
  0.00% (0/30)
src/tmux/cmd-command-prompt.c
  0.00% (0/180)
  0.00% (0/4)
  0.00% (0/136)
src/tmux/cmd-confirm-before.c
  0.00% (0/82)
  0.00% (0/4)
  0.00% (0/62)
src/tmux/cmd-copy-mode.c
  0.00% (0/53)
  0.00% (0/1)
  0.00% (0/60)
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.88% (18/464)
 20.00% (1/5)
  3.66% (13/355)
src/tmux/cmd-display-message.c
  0.00% (0/104)
  0.00% (0/2)
  0.00% (0/97)
src/tmux/cmd-find-window.c
  0.00% (0/64)
  0.00% (0/1)
  0.00% (0/51)
src/tmux/cmd-find.c
  6.00% (55/917)
 25.00% (8/32)
  4.32% (48/1112)
src/tmux/cmd-if-shell.c
  4.67% (5/107)
 25.00% (1/4)
  6.25% (6/96)
src/tmux/cmd-join-pane.c
  0.00% (0/409)
  0.00% (0/7)
  0.00% (0/530)
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/94)
  0.00% (0/4)
  0.00% (0/50)
src/tmux/cmd-list-sessions.c
  0.00% (0/39)
  0.00% (0/1)
  0.00% (0/22)
src/tmux/cmd-list-windows.c
  0.00% (0/50)
  0.00% (0/1)
  0.00% (0/28)
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/122)
  0.00% (0/1)
  0.00% (0/110)
src/tmux/cmd-parse.c
 83.33% (1400/1680)
 86.11% (31/36)
 85.97% (1140/1326)
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.44% (29/533)
  9.52% (4/42)
  5.20% (22/423)
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/316)
  0.00% (0/4)
  0.00% (0/314)
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
  0.00% (0/207)
  0.00% (0/6)
  0.00% (0/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/71)
  0.00% (0/1)
  0.00% (0/53)
src/tmux/cmd-select-pane.c
  0.00% (0/203)
  0.00% (0/3)
  0.00% (0/190)
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/76)
  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/170)
  0.00% (0/7)
  0.00% (0/138)
src/tmux/cmd-split-window.c
  0.00% (0/304)
  0.00% (0/2)
  0.00% (0/263)
src/tmux/cmd-swap-pane.c
  0.00% (0/142)
  0.00% (0/3)
  0.00% (0/151)
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/110)
  0.00% (0/1)
  0.00% (0/109)
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/314)
  0.00% (0/22)
  0.00% (0/804)
src/tmux/cmd.c
 34.90% (163/467)
 35.29% (12/34)
 42.02% (187/445)
src/tmux/colour.c
 81.12% (885/1091)
 73.91% (17/23)
 63.12% (320/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
100.00% (18/18)
100.00% (1/1)
100.00% (15/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
 28.95% (44/152)
 20.00% (1/5)
 34.56% (75/217)
src/tmux/control-notify.c
  0.00% (0/237)
  0.00% (0/15)
  0.00% (0/480)
src/tmux/control.c
  0.00% (0/659)
  0.00% (0/46)
  0.00% (0/1404)
src/tmux/environ.c
 28.31% (47/166)
 50.00% (8/16)
 13.50% (66/489)
src/tmux/events-payload.c
 26.54% (108/407)
 37.84% (14/37)
 22.16% (150/677)
src/tmux/events.c
 32.38% (34/105)
 40.00% (4/10)
 25.00% (20/80)
src/tmux/file.c
  0.00% (0/647)
  0.00% (0/34)
  0.00% (0/928)
src/tmux/format-draw.c
 18.26% (155/849)
 25.00% (4/16)
 21.79% (119/546)
src/tmux/format.c
 38.52% (1753/4551)
 27.81% (84/302)
 33.12% (1793/5414)
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.39% (41/51)
src/tmux/fuzz/json-fuzzer.c
 92.98% (53/57)
100.00% (3/3)
 88.10% (37/42)
src/tmux/fuzz/layout-fuzzer.c
 90.00% (45/50)
100.00% (2/2)
 93.02% (40/43)
src/tmux/fuzz/style-fuzzer.c
 94.29% (33/35)
100.00% (2/2)
 92.59% (25/27)
src/tmux/fuzzy.c
 96.32% (419/435)
100.00% (16/16)
 90.38% (376/416)
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
 36.55% (455/1245)
 60.00% (36/60)
 35.43% (361/1019)
src/tmux/hooks.c
  0.00% (0/326)
  0.00% (0/19)
  0.00% (0/257)
src/tmux/hyperlinks.c
 79.44% (85/107)
 81.82% (9/11)
 69.49% (549/790)
src/tmux/input-keys.c
  0.00% (0/317)
  0.00% (0/13)
  0.00% (0/512)
src/tmux/input.c
 87.61% (2044/2333)
 84.34% (70/83)
 83.90% (1579/1882)
src/tmux/job.c
  0.00% (0/268)
  0.00% (0/14)
  0.00% (0/310)
src/tmux/json.c
 95.21% (596/626)
 97.06% (33/34)
 77.07% (662/859)
src/tmux/key-bindings.c
  0.00% (0/548)
  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
 85.75% (740/863)
 94.12% (32/34)
 84.81% (720/849)
src/tmux/layout-set.c
  0.00% (0/521)
  0.00% (0/14)
  0.00% (0/512)
src/tmux/layout.c
 21.20% (300/1415)
 32.73% (18/55)
 22.98% (333/1449)
src/tmux/log.c
 10.00% (8/80)
 20.00% (2/10)
  8.62% (5/58)
src/tmux/menu.c
  1.15% (6/521)
 10.53% (2/19)
  1.02% (5/488)
src/tmux/mode-tree.c
  0.00% (0/1274)
  0.00% (0/55)
  0.00% (0/1225)
src/tmux/monitor.c
  0.00% (0/423)
  0.00% (0/32)
  0.00% (0/1483)
src/tmux/names.c
  0.00% (0/106)
  0.00% (0/6)
  0.00% (0/93)
src/tmux/options.c
 39.01% (435/1115)
 61.19% (41/67)
 28.45% (555/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/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/1313)
  0.00% (0/39)
  0.00% (0/1000)
src/tmux/regsub.c
 40.28% (29/72)
 66.67% (2/3)
 54.29% (19/35)
src/tmux/resize.c
 23.40% (66/282)
 45.45% (5/11)
 25.75% (103/400)
src/tmux/screen-redraw.c
  2.85% (41/1437)
  5.36% (3/56)
  4.10% (62/1514)
src/tmux/screen-write.c
 63.29% (1405/2220)
 75.82% (69/91)
 64.95% (1310/2017)
src/tmux/screen.c
 54.89% (303/552)
 81.48% (22/27)
 45.23% (251/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/2343)
  1.47% (1/68)
  0.15% (4/2732)
src/tmux/server-fn.c
  2.11% (8/379)
  7.14% (2/28)
  2.78% (13/467)
src/tmux/server.c
  0.00% (0/363)
  0.00% (0/17)
  0.00% (0/488)
src/tmux/session.c
  0.00% (0/525)
  2.33% (1/43)
  0.31% (4/1288)
src/tmux/sort.c
  5.03% (27/537)
 13.64% (3/22)
  4.40% (19/432)
src/tmux/spawn.c
  1.47% (8/545)
 11.11% (1/9)
  1.14% (6/527)
src/tmux/status.c
  0.00% (0/463)
  0.00% (0/29)
  0.00% (0/380)
src/tmux/style.c
 65.01% (288/443)
 76.92% (10/13)
 70.45% (341/484)
src/tmux/tmux.c
  4.90% (21/429)
 16.67% (3/18)
  4.97% (22/443)
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/228)
  0.00% (0/3)
  0.00% (0/197)
src/tmux/tty-features.c
  0.00% (0/232)
  0.00% (0/6)
  0.00% (0/130)
src/tmux/tty-keys.c
  0.00% (0/1040)
  0.00% (0/21)
  0.00% (0/1059)
src/tmux/tty-term.c
  0.00% (0/473)
  0.00% (0/21)
  0.00% (0/354)
src/tmux/tty.c
  2.47% (47/1902)
  4.46% (5/112)
  2.01% (40/1995)
src/tmux/utf8-combined.c
 22.77% (51/224)
 88.89% (8/9)
 14.62% (37/253)
src/tmux/utf8.c
 31.64% (187/591)
 40.54% (15/37)
 16.87% (153/907)
src/tmux/window-border.c
  0.00% (0/160)
  0.00% (0/8)
  0.00% (0/84)
src/tmux/window-buffer.c
  0.00% (0/412)
  0.00% (0/21)
  0.00% (0/317)
src/tmux/window-client.c
  0.00% (0/272)
  0.00% (0/15)
  0.00% (0/216)
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/4720)
  0.00% (0/236)
  0.00% (0/3242)
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/795)
  0.00% (0/38)
  0.00% (0/760)
src/tmux/window-switch.c
  0.00% (0/433)
  0.00% (0/15)
  0.00% (0/343)
src/tmux/window-tree.c
  0.00% (0/1063)
  0.00% (0/35)
  0.00% (0/881)
src/tmux/window-visible.c
 18.47% (29/157)
 33.33% (1/3)
 20.86% (34/163)
src/tmux/window.c
 21.65% (454/2097)
 31.91% (45/141)
 14.87% (527/3544)
src/tmux/xmalloc.c
 84.62% (77/91)
100.00% (12/12)
 82.28% (65/79)
Totals
 20.85% (13909/66703)
 24.26% (727/2997)
 19.36% (13858/71599)