Branch Coverage

blib/lib/Test/Valgrind/Command/Perl.pm
Criterion Covered Total %
branch 4 30 13.3


line true false branch
81 0 4 unless ref $inc eq 'ARRAY'
107 0 0 unless close $fh
134 0 2 unless $_[0]{'inc'}
175 0 0 unless (defined $self->{'suppressions_tag'})
178 0 0 unless open my $pipe, '-|', $self->perl, '-V'
181 0 0 unless close $pipe
194 0 0 unless open my $fh, '<', $file
198 0 0 if /^\s*fun:(Perl|S|XS)_/ or /^\s*obj:.*perl/
211 10 0 if $report->is_diag or not $report->isa('Test::Valgrind::Report::Suppressions')
220 0 0 if $top
222 0 0 unless (defined $top)
229 0 0 unless (defined $top)
236 0 0 unless (defined $top)
243 0 0 if defined $top
260 2 0 unless $file and -e $file