Branch Coverage

blib/lib/HTML/TableContent.pm
Criterion Covered Total %
branch 23 28 82.1


line true false branch
53 29 2 if (defined $args{'headers'}) { }
2 0 elsif (defined $args{'header'}) { }
61 49 12 if ($table->header_exists(@headers))
67 0 31 if ($args{'flex'} and not scalar @{$tables;})
92 2 0 if $$header_spec{lc $_}
138 3 5 if (exists $options->{'aoa'}) { }
5 0 elsif (exists $options->{'aoh'}) { }
157 5 0 if (my $order = $options->{'order'})
165 4 1 unless (defined $options->{'no_headers'})
179 9 30 defined $options->{'no_headers'} ? :
183 30 9 unless (defined $options->{'no_headers'})
198 2 1 unless (defined $options->{'no_headers'})
232 54 53 if (my $base = $options->{$element})
240 44 63 if (my $custom = $options->{$elements})