Branch Coverage

blib/lib/Test/Valgrind.pm
Criterion Covered Total %
branch 15 56 26.7


line true false branch
191 0 3 if (defined $plan) { }
207 0 3 if &Scalar::Util::blessed($_[0])
211 3 0 unless ($tool->$instanceof('Test::Valgrind::Tool'))
220 0 3 unless ($tool)
222 0 0 unless $skippable
239 3 0 unless ($sess)
241 0 3 unless $skippable
246 0 0 unless ($action->$instanceof('Test::Valgrind::Action'))
255 0 0 unless ($action)
257 0 0 unless $skippable
263 0 0 unless ($cmd->$instanceof('Test::Valgrind::Command'))
273 0 0 unless ($cmd)
275 0 0 unless $skippable
290 0 0 unless (eval { do { $sess->run('command', $cmd, 'tool', $tool, 'action', $action); 1 } })
292 0 0 if ($skippable) { }
303 0 0 unless defined $status
340 0 3 if @_ % 2
343 0 3 if (defined delete $args{'run'} or $run)
356 3 0 unless (defined $file)
360 0 3 unless defined $next
361 0 3 if $next =~ /^\s*\(\s*eval\s*\d*\s*\)\s*$/
362 0 3 if ($next =~ /\.pmc?$/) { }
369 0 3 unless defined $file
372 0 3 unless (defined $file)
378 3 0 if ($file ne '-e')
391 0 0 if ($status > 0) { }
0 0 elsif ($status == 0) { }
418 0 0 if ($dl_unload and $run and eval { do { require DynaLoader; 1 } })