Branch Coverage

blib/lib/Test/Deep/Hashbag.pm
Criterion Covered Total %
branch 38 40 95.0


line true false branch
21 0 27 unless ($style eq "hashbag" or $style eq "superhashbag")
26 1 26 unless (@want % 2 == 0)
38 96 18 if (ref $k)
39 1 95 unless ((builtin::blessed($k) // "") eq "Test::Deep::Ignore")
48 1 17 if ($seen{$k}++)
64 1 25 unless (ref $have eq "HASH")
88 99 15 if (ref $k) { }
104 4 21 unless $hcompare->descend(\%got)
114 1 20 if ($self->{'style'} eq 'hashbag' and @tocheck == 0) { }
1 19 elsif ($self->{'style'} eq 'hashbag' and @tocheck != @unkeyed) { }
1 31 elsif ($self->{'style'} eq 'superhashbag' and @unkeyed == 0) { }
155 137 1824 if (Test::Deep::eq_deeply_cache($tocheck[$j]{'v'}, $unkeyed[$i]))
207 16 2 if (%match_by_got)
227 87 5 if ($graph{'source'}{"g$g"} == 0)
235 87 3 if ($graph{"m$m"}{'sink'} == 0)
246 9 7 if $max_flow_found == @unkeyed
284 9 0 if ($self->data->{'diag'}) { }
314 3710 7365 unless $graph->{$item}{$v}
316 3373 3992 if $visited{$v}++
344 87 180 if $graph->{$pc}{$c} < $path_flow