Branch Coverage

blib/lib/HTML/Table/FromDatabase.pm
Criterion Covered Total %
branch 0 56 0.0


line true false branch
107 0 0 unless ($sth and ref $sth and $sth->isa('DBI::st'))
114 0 0 if ($callbacks and ref $callbacks ne 'ARRAY')
121 0 0 if ($row_callbacks and ref $row_callbacks ne 'ARRAY')
128 0 0 if ($override_headers and ref $override_headers ne 'ARRAY')
135 0 0 if ($rename_headers and ref $rename_headers ne 'HASH')
141 0 0 unless exists $flags{-'pad_empty_cells'}
148 0 0 if (my $handle_html = delete $flags{-'html'})
149 0 0 if ($handle_html eq 'strip') { }
0 0 elsif ($handle_html eq 'encode' or $handle_html eq 'escape') { }
151 0 0 if ($@)
159 0 0 if ($@)
182 0 0 if (exists $$rename_headers{$_}) { }
0 0 elsif ($auto_pretty_headers) { }
189 0 0 if ($override_headers)
190 0 0 if (@$override_headers != @heading_names)
209 0 0 unless defined $row
216 0 0 if ($preprocessor)
226 0 0 if (exists $$callback{'column'})
227 0 0 if (_callback_matches($$callback{'column'}, $column))
233 0 0 if (exists $$callback{'value'})
234 0 0 if (_callback_matches($$callback{'value'}, $value))
244 0 0 if $value eq '' and $flags{-'pad_empty_cells'}
262 0 0 if (ref $match eq 'Regexp') { }
0 0 elsif (ref $match eq 'CODE') { }
0 0 elsif (ref $match) { }
283 0 0 if (exists $$callback{'callback'} and ref $$callback{'callback'} eq 'CODE')
289 0 0 unless (exists $$callback{'transform'})
294 0 0 if (ref $$callback{'transform'} ne 'CODE')