Branch Coverage

blib/lib/Sql/Textify.pm
Criterion Covered Total %
branch 11 42 26.1


line true false branch
145 0 0 if ($sql =~ /conn=\"([^\""]*)\"\s/)
146 0 0 if ($sql =~ /username=\"([^\""]*)\"\s/)
147 0 0 if ($sql =~ /password=\"([^\""]*)\"\s/)
148 0 0 if ($sql =~ /maxwidth=\"([^\""]*)\"\s/)
149 0 0 if ($sql =~ /format=\"([^\""]*)\"\s/)
150 0 0 if ($sql =~ /layout=\"([^\""]*)\"\s/)
158 0 0 unless $qry->execute
165 0 0 wantarray ? :
176 0 0 defined $2 ? :
200 10 0 if ($m{$self->{'format'}}{$self->{'layout'}}) { }
215 0 3 if ($max_width and $max_width > 0)
222 3 0 if (scalar @{$records->{'rows'};} > 0) { }
263 0 2 if ($max_width and $max_width > 0)
296 0 2 if ($nr == 1)
307 3 0 if (scalar @{$records->{'rows'};} > 0) { }
337 2 0 if (scalar @{$records->{'rows'};} > 0) { }
366 2 0 unless $p->{'value'}
367 0 0 if $p->{'value'} =~ /^$p->{'regexp'}$/
375 52 0 if (defined $s) { }
389 20 0 if ($_[1]) { }
398 0 24 if ($_[1]) { }