Branch Coverage

blib/lib/DBD/SQLeet/VirtualTable/FileContent.pm
Criterion Covered Total %
branch 22 32 68.7


line true false branch
31 0 3 if @{$self->{'columns'};}
34 0 3 unless $self->{'options'}{'source'}
37 0 3 if @bad_options
42 9 3 unless defined $self->{'options'}{$k}
50 0 3 unless @$src_info
59 0 3 if ($self->{'options'}{'expose'} eq '*') { }
65 0 3 if @bad_cols
69 0 5 if $_ eq $self->{'options'}{'content_col'}
101 3 7 unless $self->{'headers'}
109 1 4 if $col == 0
112 3 1 $col == -1 ? :
150 73 0 if $root
153 73 0 if (open my $fh, '<', $path) { }
186 50 4 if $idxStr
190 0 54 unless $self->{'sth'} = $dbh->prepare($sql)
214 73 77 $idxCol == 0 ? :