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.14% (353/782)
 46.51% (20/43)
 50.05% (470/939)
src/tmux/attributes.c
 65.75% (48/73)
 50.00% (1/2)
 41.07% (46/112)
src/tmux/cfg.c
  0.00% (0/175)
  0.00% (0/8)
  0.00% (0/165)
src/tmux/client.c
  0.00% (0/553)
  0.00% (0/13)
  0.00% (0/480)
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/128)
  0.00% (0/2)
  0.00% (0/121)
src/tmux/cmd-capture-pane.c
  0.00% (0/329)
  0.00% (0/7)
  0.00% (0/265)
src/tmux/cmd-choose-tree.c
  9.68% (3/31)
 50.00% (1/2)
  3.70% (1/27)
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/49)
  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
  4.48% (18/402)
 25.00% (1/4)
  4.21% (13/309)
src/tmux/cmd-display-message.c
  0.00% (0/88)
  0.00% (0/2)
  0.00% (0/77)
src/tmux/cmd-display-panes.c
  1.13% (3/265)
 12.50% (1/8)
  0.53% (1/190)
src/tmux/cmd-find-window.c
  0.00% (0/63)
  0.00% (0/1)
  0.00% (0/51)
src/tmux/cmd-find.c
  7.23% (66/913)
 31.25% (10/32)
  5.88% (65/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/377)
  0.00% (0/7)
  0.00% (0/476)
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/130)
  0.00% (0/4)
  0.00% (0/100)
src/tmux/cmd-queue.c
 21.10% (115/545)
 26.83% (11/41)
 22.73% (95/418)
src/tmux/cmd-refresh-client.c
  0.00% (0/217)
  0.00% (0/5)
  0.00% (0/190)
src/tmux/cmd-rename-session.c
  0.00% (0/30)
  0.00% (0/1)
  0.00% (0/16)
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.03% (4/197)
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/165)
  0.00% (0/2)
  0.00% (0/172)
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.64% (6/227)
 33.33% (1/3)
  3.11% (6/193)
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/190)
  0.00% (0/5)
  0.00% (0/154)
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/179)
  0.00% (0/1)
  0.00% (0/131)
src/tmux/cmd-swap-pane.c
  0.00% (0/127)
  0.00% (0/3)
  0.00% (0/141)
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/128)
  0.00% (0/10)
  0.00% (0/512)
src/tmux/cmd.c
 38.10% (168/441)
 35.29% (12/34)
 45.45% (190/418)
src/tmux/colour.c
 79.93% (872/1091)
 69.57% (16/23)
 61.14% (310/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/fgetln.c
  0.00% (0/32)
  0.00% (0/1)
  0.00% (0/38)
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
  8.23% (13/158)
 21.43% (3/14)
  5.07% (18/355)
src/tmux/control.c
  0.00% (0/467)
  0.00% (0/33)
  0.00% (0/846)
src/tmux/environ.c
 24.70% (41/166)
 37.50% (6/16)
 12.07% (59/489)
src/tmux/file.c
  0.00% (0/609)
  0.00% (0/32)
  0.00% (0/876)
src/tmux/format-draw.c
 18.37% (156/849)
 25.00% (4/16)
 21.98% (120/546)
src/tmux/format.c
 60.13% (2555/4249)
 89.36% (252/282)
 50.45% (2545/5045)
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
 93.88% (46/49)
100.00% (2/2)
 82.69% (43/52)
src/tmux/fuzz/style-fuzzer.c
 94.29% (33/35)
100.00% (2/2)
 92.59% (25/27)
src/tmux/fuzzy.c
 77.52% (331/427)
 93.75% (15/16)
 72.03% (291/404)
src/tmux/grid-reader.c
  0.00% (0/294)
  0.00% (0/18)
  0.00% (0/271)
src/tmux/grid-view.c
 69.64% (78/112)
 86.67% (13/15)
 62.67% (47/75)
src/tmux/grid.c
 31.50% (379/1203)
 50.88% (29/57)
 32.85% (318/968)
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
 86.14% (1902/2208)
 83.75% (67/80)
 82.04% (1466/1787)
src/tmux/job.c
  0.00% (0/268)
  0.00% (0/14)
  0.00% (0/310)
src/tmux/key-bindings.c
  0.00% (0/543)
  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/502)
  0.00% (0/13)
  0.00% (0/497)
src/tmux/layout.c
  1.27% (16/1264)
  3.77% (2/53)
  1.62% (21/1298)
src/tmux/log.c
 10.00% (8/80)
 20.00% (2/10)
  8.62% (5/58)
src/tmux/menu.c
  0.00% (0/480)
  0.00% (0/13)
  0.00% (0/483)
src/tmux/mode-tree.c
  0.00% (0/1266)
  0.00% (0/55)
  0.00% (0/1220)
src/tmux/monitor.c
  0.00% (0/404)
  0.00% (0/30)
  0.00% (0/1455)
src/tmux/names.c
  0.00% (0/106)
  0.00% (0/6)
  0.00% (0/93)
src/tmux/notify.c
 31.65% (113/357)
 33.33% (6/18)
 40.57% (114/281)
src/tmux/options.c
 38.55% (426/1105)
 56.25% (36/64)
 27.87% (543/1948)
src/tmux/osdep-linux.c
 12.73% (7/55)
 33.33% (1/3)
  2.56% (1/39)
src/tmux/paste.c
 35.03% (69/197)
 50.00% (9/18)
 60.27% (528/876)
src/tmux/popup.c
  0.00% (0/616)
  0.00% (0/19)
  0.00% (0/529)
src/tmux/proc.c
  0.00% (0/223)
  0.00% (0/18)
  0.00% (0/213)
src/tmux/prompt-history.c
  0.00% (0/165)
  0.00% (0/10)
  0.00% (0/151)
src/tmux/prompt.c
  0.00% (0/1221)
  0.00% (0/37)
  0.00% (0/950)
src/tmux/regsub.c
 40.28% (29/72)
 66.67% (2/3)
 54.29% (19/35)
src/tmux/resize.c
  0.00% (0/275)
  0.00% (0/10)
  0.00% (0/400)
src/tmux/screen-redraw.c
  0.25% (3/1189)
  2.27% (1/44)
  0.08% (1/1203)
src/tmux/screen-write.c
 61.07% (1266/2073)
 73.81% (62/84)
 63.42% (1165/1837)
src/tmux/screen.c
 45.09% (248/550)
 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.27% (6/2253)
  1.39% (1/72)
  0.14% (4/2903)
src/tmux/server-fn.c
  2.36% (8/339)
  7.69% (2/26)
  3.04% (13/427)
src/tmux/server.c
  0.00% (0/358)
  0.00% (0/17)
  0.00% (0/488)
src/tmux/session.c
  0.00% (0/484)
  2.44% (1/41)
  0.32% (4/1253)
src/tmux/sort.c
  6.84% (36/526)
 14.29% (3/21)
  5.70% (24/421)
src/tmux/spawn.c
  1.68% (8/477)
 12.50% (1/8)
  1.31% (6/459)
src/tmux/status.c
  0.00% (0/464)
  0.00% (0/29)
  0.00% (0/380)
src/tmux/style.c
 61.40% (272/443)
 76.92% (10/13)
 66.74% (323/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/222)
  0.00% (0/3)
  0.00% (0/192)
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/987)
  0.00% (0/20)
  0.00% (0/997)
src/tmux/tty-term.c
  0.00% (0/455)
  0.00% (0/20)
  0.00% (0/339)
src/tmux/tty.c
  2.15% (43/2002)
  3.51% (4/114)
  1.63% (34/2082)
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/112)
  0.00% (0/4)
  0.00% (0/64)
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/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/4453)
  0.00% (0/227)
  0.00% (0/3013)
src/tmux/window-customize.c
  0.00% (0/1214)
  0.00% (0/40)
  0.00% (0/1061)
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)
 16.36% (27/165)
src/tmux/window.c
 16.12% (281/1743)
 24.81% (32/129)
  9.16% (283/3088)
src/tmux/xmalloc.c
 82.11% (78/95)
100.00% (12/12)
 74.68% (59/79)
Totals
 20.29% (12318/60720)
 28.04% (762/2718)
 18.52% (12030/64969)