Branch Coverage

blib/lib/Filter/SQL.pm
Criterion Covered Total %
branch 25 56 44.6


line true false branch
29 5 31 if ($op =~ /^EXEC\s+/) { }
23 8 elsif ($op =~ /^SELECT(\s+ROW|)(\s+AS\s+HASH|)/) { }
32 3 20 $2 ? :
33 21 2 if ($1) { }
52 9 7 if ($1) { }
56 6 1 $& eq '$' ? :
58 11 4 if ($depth == 0) { }
60 3 8 unless $src =~ /^(?:([A-Za-z0-9_]+(?:->|))|([\[\{\(]))/
62 5 3 if ($1) { }
69 0 4 unless $src =~ /([\]\}\)](?:->|))/
87 9 6 $s =~ /^[\'\"]/ ? :
105 2 3 if (@_)
109 1 2 ref $dbh eq 'CODE' ? :
117 0 0 unless ($sth)
118 0 0 if $pe
121 0 0 unless ($sth->execute(@params))
122 0 0 if $pe
132 0 0 $as_hash ? :
137 0 0 unless ($rows)
138 0 0 if $pe
141 0 0 wantarray ? :
148 0 0 $as_hash ? :
153 0 0 unless ($rows)
154 0 0 if $pe
157 0 0 @$rows ? :
0 0 if $as_hash
159 0 0 wantarray ? :
0 0 @$rows ? :