Branch Coverage

blib/lib/TAP/Parser/SourceHandler/pgTAP.pm
Criterion Covered Total %
branch 23 30 76.6


line true false branch
208 2 5 unless ($meta->{'is_file'})
209 2 0 ref $source->raw ? :
210 0 2 if $test =~ /^pgsql:/
217 2 3 if (my $config = $source->config_for('pgTAP'))
218 2 0 if (my $suffix = $config->{'suffix'})
219 1 1 if (ref $suffix)
220 1 0 grep({$suf eq $_;} @{$suffix;}) ? :
222 1 0 $suf eq $config->{'suffix'} ? :
318 4 12 if defined $config->{$_}
321 0 4 if (my $pset = $config->{'pset'})
327 1 3 if (my $set = $config->{'set'})
333 1 3 ref $source->raw ? :
335 0 4 if ($fn and $fn =~ s/^pgsql:\s*//) { }
338 1 1 defined $fn ? :
2 2 unless $fn and -e $fn