Condition Coverage

blib/lib/DBIx/XHTML_Table.pm
Criterion Covered Total %
condition 21 84 25.0


and 2 conditions

line l !l condition
47 0 0 carp($@) and return undef
67 0 0 carp($@) and return undef
86 0 0 carp(q[can't call output(): no data]) and return ''
142 0 0 carp('map_cell() is being ignored - no data') and return $self
168 0 0 carp('map_head() is being ignored - no data') and return $self

and 3 conditions

line !l l&&!r l&&r condition
93 0 7 0 $config and not ref $config
116 0 0 1 defined $cols and length $cols
399 0 0 0 defined $pos and $pos =~ /^\d+$/
618 22 3 3 $nodup && $index == $_
641 0 0 0 $self->{'subtotals_mask'} and defined $sum
683 4 0 0 $self->{'totals_mask'} and defined $sum
758 3 0 0 ref $ref eq 'ARRAY' and scalar @$ref < 1

or 2 conditions

line l !l condition
352 0 0 shift() || 'id'
551 7 0 $self->_build_body_group([@{$$self{'rows'};}[$beg .. $end]]) || ''
574 3 11 $i && $self->{'nodup'} || 0
709 4 0 $value || ''

or 3 conditions

line l !l&&r !l&&!r condition
313 0 0 1 $value || $self->{'null_value'}
353 0 0 0 $self->_lookup_name($pk) || $pk
399 0 0 0 $self->_lookup_index(ucfirst $pos || '') || $max_pos
489 0 0 7 $self->{'head'}{'thead'} || $self->{'global'}{'thead'}
519 0 0 14 $self->{$field}{'th'} || $self->{'head'}{'th'}
0 0 14 $self->{'global'}{'th'} || $self->{'head'}{'th'}
552 0 0 7 $self->{'global'}{'tbody'} || $self->{'body'}{'tbody'}
600 0 0 28 $self->{$name}{'td'} || $self->{'body'}{'td'}
0 0 28 $self->{'global'}{'td'} || $self->{'body'}{'td'}
637 0 0 0 $self->{$name}{'th'} || $self->{'body'}{'th'}
0 0 0 $self->{'global'}{'th'} || $self->{'body'}{'th'}
662 0 0 2 $self->{'foot'}{'tfoot'} || $self->{'global'}{'tfoot'}
678 0 0 4 $self->{$name}{'th'} || $self->{'foot'}{'th'}
0 0 4 $self->{'global'}{'th'} || $self->{'foot'}{'th'}
761 0 0 0 $self->_lookup_name($_) || $_