Branch Coverage

blib/lib/Assert/Refute.pm
Criterion Covered Total %
branch 44 54 81.4


line true false branch
189 8 33 if (ref $_ eq 'HASH') { }
0 33 elsif (not ref $_ and $_ eq '{}') { }
33 0 elsif (not ref $_) { }
202 8 39 if $need_conf
222 2 4 $report->is_passing ? :
224 2 4 $title ? :
266 0 18 unless ($conf)
269 1 17 if exists $conf->{'skip_all'}
275 1 16 unless (eval { do { $report->do_run($block); 1 } })
281 8 9 $report->is_passing ? :
282 4 13 if $callback
342 2 1 unless $name and ref $block eq 'CODE'
353 2 2 unless ($conf)
357 0 4 if exists $conf->{'skip_all'}
362 1 3 $report->is_passing ? :
363 4 0 if $callback
638 1 14 unless ref $given_conf eq 'HASH'
642 0 14 if @extra
653 1 13 if ($conf->{'driver'}) { }
658 1 0 unless $conf->{'driver'}->isa('Assert::Refute::Report')
663 1 12 if ($NDEBUG and not $conf->{'skip_all'})
667 1 12 if ($conf->{'skip_all'}) { }
691 0 1 unless ref $conf eq 'HASH'
695 0 1 if @extra
720 20 8 defined $known_callback{$sub} ? :
721 13 15 unless $sub
722 0 15 unless ref $sub and UNIVERSAL::isa($sub, 'CODE')