Condition Coverage

blib/lib/HH/Unispool/Config/File/Token/Comment/Date.pm
Criterion Covered Total %
condition 18 44 40.9


and 3 conditions

line !l l&&!r l&&r condition
310 26 0 0 ref $val and exists $ALLOW_ISA{$name}
317 26 0 0 ref $val and exists $ALLOW_REF{$name}
322 0 0 26 defined $val and not ref $val
0 0 26 defined $val and not ref $val and exists $ALLOW_RX{$name}
329 0 0 0 not ref $val and exists $ALLOW_VALUE{$name}
356 6 2 0 $am_pm =~ /am/i and $hour == 12
2 0 6 $am_pm =~ /pm/i and $hour < 12

or 2 conditions

line l !l condition
397 20 0 $UNIX2USP_WDAY[$time[6]] || ''
20 0 $UNIX2USP_MONTH{$time[4]} || ''
20 0 $time[3] || 0
20 0 $time[5] + 1900 || 0
20 0 $hour12 || 0
20 0 $time[1] || 0
20 0 $am_pm || 0

or 3 conditions

line l !l&&r !l&&!r condition
302 0 0 26 exists $ALLOW_ISA{$name} or exists $ALLOW_REF{$name}
0 0 26 exists $ALLOW_ISA{$name} or exists $ALLOW_REF{$name} or exists $ALLOW_RX{$name}
26 0 0 exists $ALLOW_ISA{$name} or exists $ALLOW_REF{$name} or exists $ALLOW_RX{$name} or exists $ALLOW_VALUE{$name}