Branch Coverage

lib/Term/Tmux/Layout.pm
Criterion Covered Total %
branch 21 48 43.7


line true false branch
23 0 0 if ($#_ < 1)
27 0 0 unless (defined $y)
34 0 0 if ($@)
43 0 11 if ($#_ < 1)
49 0 17 if ($width != length $_)
87 0 27 if ($#_ != 1)
119 9 18 if ($h_char_abs_b > 0)
120 0 27 if ($v_char_abs_b > 0)
137 18 9 if ($h_char_abs_b == 0)
138 27 0 if ($v_char_abs_b == 0)
142 19 8 if (scalar keys %panes == 1)
151 4 12 if ($map[$j][$i - 1] eq $map[$j][$i])
196 0 0 if ($map[$j - 1][$i] eq $map[$j][$i])
241 0 0 if ($#_ != 2)
251 0 0 if ($i == 0)
256 0 0 if ($j < $spos) { }
275 0 8 if ($#_ != 2)
285 12 27 if ($i == 0)
290 18 21 if ($i < $spos) { }
309 0 35 if ($#_ != 1)
312 0 35 unless (defined $field)
331 0 14 if ($#_ != 1)
349 0 0 if (scalar @_ != 1)
354 0 0 if (scalar @windows)