Branch Coverage

blib/lib/HTML/TableContent/Table.pm
Criterion Covered Total %
branch 35 52 67.3


line true false branch
37 0 45 defined $_[0]->attributes->{'html5'} ? :
43 0 0 defined $_[0]->attributes->{'thead'} ? :
49 0 0 defined $_[0]->attributes->{'tbody'} ? :
55 0 45 defined $_[0]->attributes->{'vertical'} ? :
78 10 1 if (scalar @headers > 0)
105 46 6 $_[0]->caption ? :
152 0 52 defined $_[0]->vertical ? :
160 0 0 if ($_[0]->has_caption)
183 46 6 if ($_[0]->has_caption)
187 47 5 if ($_[0]->header_count)
191 0 47 if ($_[0]->html5)
198 51 1 if ($_[0]->row_count)
201 0 51 if ($_[0]->html5)
215 0 0 if (my $attributes = $self->$element)
233 51 28 if $$headers_spec{lc $_}
253 26 26 if ($header->lc_text =~ /$column/imsx)
260 3 23 if (defined $args{'dedupe'})
273 39 5204 if (my $row_header = $row->header) { }
281 172 5071 unless $header
300 19 44 if $_->has_nested
312 19 20 if ($cell->has_nested)
326 5 3 unless (defined $args{$item->text})
341 89 177 if ($header->lc_text =~ /$_/ism)
362 2 2 if ($self->headers->[$index]->lc_text =~ /$_/ism)
381 0 0 if (my $order = $options->{'order'})
397 0 0 if (my $order = $options->{'order_template'})