Branch Coverage

blib/lib/Test/Vars.pm
Criterion Covered Total %
branch 70 90 77.7


line true false branch
30 0 2 unless (-f $ExtUtils::Manifest::MANIFEST)
36 0 2 unless (@libs)
45 0 1 unless _vars_ok(\&Test::Vars::_results_as_tests, $lib, \%args)
89 161 0 if (defined $pid) { }
90 133 28 if ($pid != 0) { }
115 28 0 if ($file =~ /\./) { }
127 1 27 if (ref $args->{'ignore_vars'} eq 'ARRAY')
131 28 0 unless (exists $args->{'ignore_vars'}{'$self'})
143 28 0 if ($file =~ s[\A (.*\b lib)/][]msx)
148 2 26 if ($@)
171 0 101 if ref $ref ne 'GLOB'
178 44 57 if ($hashref || $coderef and $gv->FILE =~ /\Q$file\E\z/msx)
179 0 44 if ($hashref and B::svref_2object($hashref)->NAME) { }
44 0 elsif ($coderef) { }
180 0 0 unless (_check_into_stash($hashref, $file, $args, $results))
186 9 35 unless (_check_into_code($coderef, $args, $results))
202 0 44 if ($cv->XSUB or $cv->ROOT->isa('B::NULL'))
217 336 191 unless defined $p and not $p->{'outside'}
219 15 176 if (not $p->{'count'}) { }
220 3 12 if $args->{'ignore_vars'}{$p->{'name'}}
222 2 10 if (my $cb = $args->{'ignore_if'})
224 2 0 if &$cb($_)
259 0 37 $aelemfast == -1 ? :
287 673 0 if ($padname->can('PVX'))
294 226 1 if (defined $pv and length $pv and $pv ne '&' and $pv ne '$' and not $padname->FLAGS & 16)
298 38 188 $padname->FLAGS & 16777216 ? :
299 38 188 if ($p{'outside'})
323 3 3383 if $stringy_eval_seen
326 2745 638 unless defined $padops[$optype]
329 1 637 if ($optype == $op_entereval)
340 74 563 if ($op->isa('B::UNOP_AUX'))
347 0 154 unless do { no warnings; "$i" ne '' }
351 80 74 if $pad[$i]
358 8 555 if $targ == 0
364 6 549 if ($optype == $op_anoncode) { }
59 490 elsif ($optype == $op_enteriter or ($op->flags & 3) == 1) { }
139 351 elsif ($op->private & 128) { }
366 6 0 if ($anon_cv->CvFLAGS & 32)
372 28 20 if (defined $p and $p->{'outside_padix'})
382 57 2 if (_ckwarn_once($cop))
392 120 139 unless $op_svusers[$o->type]
393 2 137 if ($o->flags & 3) != 1
395 137 0 if (_ckwarn_once($cop))
409 50 0 if (${$root;}) { }
428 186 10 if (ref $w eq 'B::SPECIAL') { }