Branch Coverage

blib/lib/Test2/Tools/Tiny.pm
Criterion Covered Total %
branch 53 68 77.9


line true false branch
6 0 94 if ($] lt '5.008')
31 670 13 if $bool
40 608 61 if (defined $got and defined $want) { }
2 59 elsif (defined $got xor defined $want) { }
50 665 4 if $bool
52 1 3 unless defined $got
53 1 3 unless defined $want
67 13 3 if (defined $got and defined $want) { }
2 1 elsif (defined $got xor defined $want) { }
77 14 2 if $bool
79 2 0 unless $bool
90 153 1 if (defined $thing) { }
92 1 152 unless $bool
102 152 2 if $bool
111 2 1 if (defined $thing) { }
113 1 1 unless $bool
124 1 2 if $bool
143 368 0 if (ref $thing)
144 299 69 if "$thing" =~ /=HASH/
145 45 323 if "$thing" =~ /=ARRAY/
146 0 368 if "$thing" =~ /=SCALAR/
156 403 1 if $bool
176 0 0 if $ctx
189 9 3 if ($active_hub == $hub) { }
190 4 5 if $event->can('set_todo')
204 2 0 if $ctx
233 8 76 $ok ? :
242 4 85 if $be
263 7 0 if ($] ge '5.008') { }
264 0 7 unless open $out_fh, '>', \$out
265 0 7 unless open $err_fh, '>', \$err
269 0 0 unless $out_fh = 'Test::Builder::IO::Scalar'->new(\$out)
270 0 0 unless $err_fh = 'Test::Builder::IO::Scalar'->new(\$err)
280 0 7 unless $ok