Branch Coverage

blib/lib/DBD/SQLite/VirtualTable/PerlData.pm
Criterion Covered Total %
branch 35 52 67.3


line true false branch
8 5 0 $DBD::SQLite::sqlite_version_number >= 3010000 ? :
9 5 0 $DBD::SQLite::sqlite_version_number >= 3021000 ? :
46 0 11 unless $n_cols > 0
48 0 11 unless not $self->{'options'}{'colref'} or $n_cols == 1
53 0 11 unless my $symbolic_ref = $self->{'options'}{'arrayrefs'} || $self->{'options'}{'hashrefs'} || $self->{'options'}{'colref'}
57 0 11 unless defined ${$symbolic_ref;}
75 10 19 $_->{'type'} =~ /INT|REAL|FLOA|DOUB/i ? :
85 11 56 unless $self->{'headers'}
91 54 8 if $_->{'usable'}
97 0 54 if ($col == -1) { }
107 7 0 $opts->{'colref'} ? :
10 7 $opts->{'hashrefs'} ? :
37 17 $opts->{'arrayrefs'} ? :
112 8 46 if ($op =~ /defined/) { }
1 45 elsif ($op =~ /str/) { }
113 6 2 if ($constraint->{'op'} =~ /NULL/) { }
159 4 0 $opts->{'colref'} ? :
0 4 $opts->{'hashrefs'} ? :
1 4 $opts->{'arrayrefs'} ? :
168 0 5 if (defined $new_rowid) { }
169 0 0 if ${$$self{"rows"};}->[$new_rowid]
190 0 0 if ($new_rowid == $old_rowid) { }
223 0 69 unless $self->{'is_wanted_row'} = do {
262 467 0 $opts->{'colref'} ? :
201 467 $opts->{'hashrefs'} ? :
76 668 $opts->{'arrayrefs'} ? :