Condition Coverage

blib/lib/Text/Report.pm
Criterion Covered Total %
condition 42 82 51.2


and 3 conditions

line !l l&&!r l&&r condition
138 7 0 2 defined $this{'debug'} and $this{'debug'} =~ /^(off|notice|error|warning|critical)$/i
148 8 0 1 defined $this{'sortby'} and $this{'sortby'} =~ /^\d+$/
272 4 0 1 defined $this{'pad'}{'top'} and $this{'pad'}{'top'} =~ /^\d+$/
280 4 0 1 defined $this{'pad'}{'bottom'} and $this{'pad'}{'bottom'} =~ /^\d+$/
316 4 0 1 defined $this{'columnWidth'} and $this{'columnWidth'} =~ /^\d+$/
4 0 1 defined $this{'columnWidth'} and $this{'columnWidth'} =~ /^\d+$/ and $this{'columnWidth'} > 0
332 4 0 1 defined $this{'columnAlign'} and $this{'columnAlign'} =~ /^(left|right|center)$/i
347 4 0 0 defined $this{'cols'} and $this{'cols'} =~ /^\d+$/
4 0 0 defined $this{'cols'} and $this{'cols'} =~ /^\d+$/ and $this{'cols'} > 0
439 3 0 2 defined $this{'sortby'} and $this{'sortby'} =~ /^\d+$/
447 3 0 2 defined $this{'sorttype'} and $this{'sorttype'} =~ /^(alpha|numeric)$/i
455 3 0 2 defined $this{'orderby'} and $this{'orderby'} =~ /^(ascending|descending)$/i
500 2 0 0 defined $this{'pad'}{'top'} and $this{'pad'}{'top'} =~ /^\d+$/
508 2 0 0 defined $this{'pad'}{'bottom'} and $this{'pad'}{'bottom'} =~ /^\d+$/
533 2 0 0 defined $this{'order'} and $this{'order'} =~ /^\d+$/
547 2 0 0 defined $this{'sortby'} and $this{'sortby'} =~ /^\d+$/
555 2 0 0 defined $this{'sorttype'} and $this{'sorttype'} =~ /^(alpha|numeric)$/i
563 2 0 0 defined $this{'orderby'} and $this{'orderby'} =~ /^(ascending|descending)$/i
599 8 0 10 defined $this{'align'} and $this{'align'} =~ /^(left|right|center)$/i
613 5 0 13 defined $this{'width'} and $this{'width'} =~ /^\d+$/
5 0 13 defined $this{'width'} and $this{'width'} =~ /^\d+$/ and $this{'width'} > 0
930 0 12 1 defined $$self{'_block'}{'_profile'}{$blockname}{'pad'}{'top'} and $$self{'_block'}{'_profile'}{$blockname}{'pad'}{'top'} > 0
961 0 0 13 defined $$self{'_block'}{'_profile'}{$blockname}{'pad'}{'bottom'} and $$self{'_block'}{'_profile'}{$blockname}{'pad'}{'bottom'} > 0
1179 0 0 22 $length =~ /\d+/ and $length > 0
1363 0 0 0 $this{'name'} =~ /^\w+$/ and not $this{'name'} =~ /^$/

or 2 conditions

line l !l condition
167 1 0 keys %{$this{'column'};} || (return undef)
295 2 3 $this{'title'} || undef

or 3 conditions

line l !l&&r !l&&!r condition
695 0 3 0 $this{'width'} || $$self{'_page'}{'_profile'}{'report'}{'width'}