Branch Coverage

blib/lib/Test/OnlySome.pm
Criterion Covered Total %
branch 44 78 56.4


line true false branch
143 13 12 if $should_shift
144 0 25 unless ref $hrOpts eq 'HASH'
146 30 10 if (_is_testnum()) { }
165 7 7 if $should_shift
166 0 14 unless ref $hrOpts eq 'HASH'
190 3 39 if ($target =~ /^Test::Kit::Fake::(.*)::\Q$self\E$/u)
204 4 35 unless defined &{$target . '::skip';}
227 35 0 unless ${$target . '::TEST_NUMBER_OS';}
229 35 0 unless 'HASH' eq ref ${$target . '::TEST_ONLYSOME';}
233 35 0 unless $hrTOS->{'n'}
234 35 0 unless $hrTOS->{'skip'}
235 35 0 unless $hrTOS->{'verbose'}
240 10 25 if (/^skip$/u)
241 0 25 if (/^verbose$/u)
243 0 25 if ($curr_keyword eq 'verbose')
248 25 0 if ($curr_keyword eq 'skip' and _is_testnum())
254 0 0 $curr_keyword ? :
258 0 35 if ($hrTOS->{'verbose'})
327 35 0 if (((caller 0)[3] // '') =~ /\b(?:un)?import\Z/u)
348 0 0 if (length $debug_var)
18 233 if (length $debug_var)
358 0 0 length $opts_name ? :
113 138 length $opts_name ? :
363 0 0 unless defined $hrOptsName and substr($hrOptsName, 0, 1) eq '$'
0 251 unless defined $hrOptsName and substr($hrOptsName, 0, 1) eq '$'
366 0 0 length $N ? :
20 231 length $N ? :
0 0 if (((caller 0)[3] // '') =~ /\b(?:un)?import\Z/u)
383 0 251 unless my $optsVarName = shift()
384 0 251 unless my $code = shift()
394 231 20 unless $N
440 0 39 unless my $target = caller 1
447 20 19 if ref $arg eq 'HASH'
461 0 14 unless my $target = caller 1
487 0 21 unless $callpkg
488 3 18 if $callpkg eq $kit
491 3 0 if ($callpkg and $callpkg eq $kit)
494 3 0 if $callpkg
516 0 0 unless $callers[-1][0]