Branch Coverage

blib/lib/Assert/Conditional/Utils.pm
Criterion Covered Total %
branch 30 80 37.5


line true false branch
118 21 141 unless $glyph eq $glyph_map->{'CODE'}
121 0 162 if (defined $tagref and not ref $tagref)
129 0 162 if $debugging
131 162 0 if ($tagref)
134 0 330 if $debugging
163 0 3 if ($Assert::Conditional::Utils::ASSERT_CONDITIONAL)
165 0 0 unless (/\b(?: carp | always | never )\b/ux)
169 0 0 if (/\b carp \b/ux)
170 0 0 if (/\b always \b/ux)
171 0 0 if (/\b never \b/ux)
172 0 0 if (/\b handlers \b/ux)
176 3 0 unless $Assert_Carp or $Assert_Never
178 0 3 if ($Assert_Never)
179 0 0 if $Assert_Always
180 0 0 if $Assert_Carp
196 0 455 if $Assert_Never
201 455 0 unless $Allow_Handlers
205 0 455 if ($Assert_Carp)
209 455 0 if ($Assert_Always)
262 0 0 unless $Allow_Handlers
464 0 2 unless $cv->isa('B::CV')
466 0 2 if $gv->isa('B::SPECIAL')
477 2 0 if ($name =~ /__ANON__/u) { }
488 17 28 @_ == 2 ? :
48 45 @_ == 1 ? :
0 93 @_ == 0 ? :
562 0 0 @exports ? :
564 0 0 if $Pod_Generation
566 0 0 if $seen{$tag}++
568 0 0 unless ($aref)
573 0 0 if ($Pod_Generation) { }
580 0 0 if $Pod_Generation
602 0 4 unless $level =~ /^[1-4]$/u
603 0 4 if $Comparitor[$level]
650 624 162 unless $seen{$_}++
691 0 10 unless $num =~ /^\d+$/u
705 0 0 unless $name =~ /^\p{upper}+$/u
732 1 20 if $count eq '1'
766 0 2 if $str =~ s/(?<! [aeiou] ) y $/ies/ux
767 0 2 if $str =~ s/ (?: [szx] | [sc]h ) \K $/es/ux