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
 47.95% (375/782)
 46.51% (20/43)
 52.24% (490/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/128)
  0.00% (0/2)
  0.00% (0/143)
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
  4.05% (3/74)
 33.33% (1/3)
  1.41% (1/71)
src/tmux/cmd-command-prompt.c
  1.67% (3/180)
 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/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.53% (18/510)
 14.29% (1/7)
  3.10% (13/419)
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
  5.99% (55/918)
 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/418)
  0.00% (0/7)
  0.00% (0/550)
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/75)
  0.00% (0/3)
  0.00% (0/61)
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/267)
  0.00% (0/1)
  0.00% (0/254)
src/tmux/cmd-new-window.c
  0.00% (0/122)
  0.00% (0/1)
  0.00% (0/110)
src/tmux/cmd-parse.c
 86.95% (1532/1762)
 88.10% (37/42)
 89.21% (1240/1390)
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.36% (29/541)
  9.52% (4/42)
  5.05% (22/436)
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/332)
  0.00% (0/4)
  0.00% (0/350)
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.42% (5/207)
 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/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/172)
  0.00% (0/3)
  0.00% (0/173)
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.53% (7/277)
 25.00% (1/4)
  2.94% (7/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/302)
  0.00% (0/2)
  0.00% (0/259)
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/119)
  0.00% (0/1)
  0.00% (0/138)
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
 35.82% (168/469)
 35.29% (12/34)
 42.32% (190/449)
src/tmux/colour.c
 81.94% (894/1091)
 73.91% (17/23)
 64.10% (325/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/keyring-linux.c
  0.00% (0/33)
  0.00% (0/1)
  0.00% (0/52)
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
 34.21% (52/152)
 20.00% (1/5)
 35.48% (77/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
 13.88% (156/1124)
 15.38% (4/26)
 15.48% (120/775)
src/tmux/format.c
 63.43% (2907/4583)
 88.60% (272/307)
 54.58% (2968/5438)
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.33% (446/463)
100.00% (17/17)
 93.17% (423/454)
src/tmux/grid-reader.c
  0.00% (0/438)
  0.00% (0/21)
  0.00% (0/414)
src/tmux/grid-view.c
 64.60% (73/113)
 80.00% (12/15)
 58.67% (44/75)
src/tmux/grid.c
 34.97% (455/1301)
 58.33% (35/60)
 34.05% (364/1069)
src/tmux/hooks.c
  0.00% (0/329)
  0.00% (0/19)
  0.00% (0/257)
src/tmux/hyperlinks.c
 80.37% (86/107)
 81.82% (9/11)
 69.75% (551/790)
src/tmux/input-keys.c
  0.00% (0/317)
  0.00% (0/13)
  0.00% (0/513)
src/tmux/input.c
 87.65% (2086/2380)
 84.52% (71/84)
 84.19% (1630/1936)
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/554)
  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.12% (6/534)
 10.53% (2/19)
  0.98% (5/508)
src/tmux/mode-tree.c
  0.00% (0/1283)
  0.00% (0/55)
  0.00% (0/1234)
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.25% (442/1126)
 61.19% (41/67)
 28.56% (563/1971)
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/1333)
  0.00% (0/39)
  0.00% (0/1014)
src/tmux/regsub.c
 40.28% (29/72)
 66.67% (2/3)
 54.29% (19/35)
src/tmux/resize.c
 24.51% (75/306)
 45.45% (5/11)
 27.44% (118/430)
src/tmux/screen-redraw.c
  3.14% (48/1530)
  6.67% (4/60)
  3.90% (63/1616)
src/tmux/screen-write.c
 63.08% (1394/2210)
 76.09% (70/92)
 64.64% (1294/2002)
src/tmux/screen.c
 54.87% (304/554)
 81.48% (22/27)
 45.16% (252/558)
src/tmux/server-acl.c
  0.00% (0/126)
  0.00% (0/13)
  0.00% (0/463)
src/tmux/server-client.c
  0.25% (6/2418)
  1.45% (1/69)
  0.14% (4/2816)
src/tmux/server-fn.c
  2.11% (8/380)
  7.14% (2/28)
  2.78% (13/467)
src/tmux/server.c
  0.00% (0/366)
  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.45% (8/552)
 11.11% (1/9)
  1.12% (6/536)
src/tmux/status.c
  0.00% (0/598)
  0.00% (0/37)
  0.00% (0/476)
src/tmux/style.c
 63.74% (290/455)
 71.43% (10/14)
 67.58% (344/509)
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/229)
  0.00% (0/3)
  0.00% (0/200)
src/tmux/tty-features.c
  0.00% (0/249)
  0.00% (0/6)
  0.00% (0/131)
src/tmux/tty-keys.c
  0.00% (0/1039)
  0.00% (0/24)
  0.00% (0/1113)
src/tmux/tty-term.c
  0.00% (0/475)
  0.00% (0/21)
  0.00% (0/356)
src/tmux/tty.c
  2.41% (47/1953)
  4.42% (5/113)
  1.95% (40/2053)
src/tmux/utf8-combined.c
 22.17% (51/230)
 88.89% (8/9)
 14.29% (37/259)
src/tmux/utf8.c
 31.64% (187/591)
 40.54% (15/37)
 17.23% (157/911)
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/413)
  0.00% (0/21)
  0.00% (0/318)
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/5052)
  0.00% (0/252)
  0.00% (0/3480)
src/tmux/window-customize.c
  0.00% (0/2224)
  0.00% (0/69)
  0.00% (0/1847)
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/505)
  0.00% (0/17)
  0.00% (0/392)
src/tmux/window-tree.c
  0.00% (0/1065)
  0.00% (0/35)
  0.00% (0/883)
src/tmux/window-visible.c
 18.47% (29/157)
 33.33% (1/3)
 20.86% (34/163)
src/tmux/window.c
 22.34% (472/2113)
 32.64% (47/144)
 15.16% (539/3555)
src/tmux/xmalloc.c
 84.62% (77/91)
100.00% (12/12)
 82.28% (65/79)
Totals
 22.42% (15352/68489)
 30.28% (929/3068)
 20.85% (15293/73357)