Branch Coverage

blib/lib/Test/Valgrind.pm
Criterion Covered Total %
branch 16 58 27.5


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'))
213 0 3 if $callers <= 0
222 0 3 unless ($tool)
224 0 0 unless $skippable
241 3 0 unless ($sess)
243 0 3 unless $skippable
248 0 0 unless ($action->$instanceof('Test::Valgrind::Action'))
257 0 0 unless ($action)
259 0 0 unless $skippable
265 0 0 unless ($cmd->$instanceof('Test::Valgrind::Command'))
275 0 0 unless ($cmd)
277 0 0 unless $skippable
292 0 0 unless (eval { do { $sess->run('command', $cmd, 'tool', $tool, 'action', $action); 1 } })
294 0 0 if ($skippable) { }
305 0 0 unless defined $status
342 0 3 if @_ % 2
345 0 3 if (defined delete $args{'run'} or $run)
358 3 0 unless (defined $file)
362 0 3 unless defined $next
363 0 3 if $next =~ /^\s*\(\s*eval\s*\d*\s*\)\s*$/
364 0 3 if ($next =~ /\.pmc?$/) { }
371 0 3 unless defined $file
374 0 3 unless (defined $file)
380 3 0 if ($file ne '-e')
393 0 0 if ($status > 0) { }
0 0 elsif ($status == 0) { }
420 0 0 if ($dl_unload and $run and eval { do { require DynaLoader; 1 } })