Branch Coverage

blib/lib/Footprintless/Plugin/Database/AbstractProvider.pm
Criterion Covered Total %
branch 24 56 42.8


line true false branch
28 0 0 unless $self->{'connection'}
41 0 0 if ($options{'in_file'})
42 0 0 unless open $in_file, '<', delete $options{'in_file'}
45 0 0 if ($options{'in_string'})
47 0 0 unless open $in_file, '<', \$string
53 0 0 if $local_in
61 0 0 if ($in_file)
65 0 0 if $error
70 0 0 unless $self->{'connection'}
80 0 5 if $self->{'connection'}
98 0 5 if $self->{'tunnel'}
100 0 5 if ($self->{'tunnel_hostname'})
125 5 7 if ($self->{'connection'})
131 0 12 if ($self->{'tunnel'})
161 0 25 if ($self->{'tunnel'}) { }
170 25 0 $hostname eq 'localhost' ? :
198 10 1 ref $query eq 'HASH' ? :
200 0 11 if ($logger->is_trace)
201 0 0 $parameters ? :
210 2 9 defined $parameters ? :
219 0 11 if ($@)
247 4 0 if ($row_mapper) { }
255 1 1 wantarray ? :
265 4 4 if ($row_mapper) { }
274 2 2 wantarray ? :
285 2 0 if (my(@row) = $statement_handle->fetchrow_array)
286 1 1 if ($row_mapper) { }
304 0 0 unless $self->{'connection'}