Branch Coverage

blib/lib/Assert/Refute.pm
Criterion Covered Total %
branch 29 34 85.2


line true false branch
184 20 36 if (ref $_ eq 'HASH') { }
0 36 elsif (not ref $_ and $_ eq '{}') { }
36 0 elsif (not ref $_) { }
197 20 36 if $need_conf
258 2 52 unless ($conf)
262 1 53 if exists $conf->{'skip_all'}
268 14 39 $report->is_passing ? :
269 5 48 if $callback
510 1 23 unless ref $given_conf eq 'HASH'
514 0 23 if @extra
525 1 22 if ($conf->{'driver'}) { }
530 1 0 unless $conf->{'driver'}->isa('Assert::Refute::Report')
535 1 21 if ($NDEBUG and not $conf->{'skip_all'})
539 1 21 if ($conf->{'skip_all'}) { }
567 45 1 defined $known_callback{$sub} ? :
568 40 6 unless $sub
569 0 6 unless ref $sub and UNIVERSAL::isa($sub, 'CODE')