Condition Coverage

blib/lib/Time/Clock.pm
Criterion Covered Total %
condition 52 66 78.7


and 3 conditions

line !l l&&!r l&&r condition
86 0 0 4 $hour >= 0 and $hour <= 24
91 1 1 577 $hour >= 0 and $hour <= 23
109 1 1 562 $minute >= 0 and $minute <= 59
126 1 1 559 $second >= 0 and $second <= 59
143 1 1 42 $nanosecond >= 0 and $nanosecond < 1000000000
156 224 60 13 @_ and defined $_[0]
265 1 1 5 $min == 0 and $sec == 0
2 1 4 $min == 0 and $sec == 0 and $fsec == 0

or 2 conditions

line l !l condition
51 80 0 $Default_Format{$invocant} ||= '%H:%M:%S%n'
98 1407 88 $$self{'hour'} ||= 0
115 1135 53 $$self{'minute'} ||= 0
132 651 64 $$self{'second'} ||= 0
206 46 64 $ns || 0
230 11 0 $ns || 0
234 9 0 $ns || 0
330 146 347 $args{'hours'} || 0
179 314 $args{'minutes'} || 0
178 315 $args{'seconds'} || 0
388 3 6 $self->nanosecond || 0
416 5 3 $self->nanosecond || 0

or 3 conditions

line l !l&&r !l&&!r condition
86 0 0 4 not defined $hour or $hour >= 0 and $hour <= 24
91 0 0 579 not defined $hour or $hour >= 0 and $hour <= 23
109 4 0 564 not defined $minute or $minute >= 0 and $minute <= 59
126 7 0 561 not defined $second or $second >= 0 and $second <= 59
143 51 0 44 not defined $nanosecond or $nanosecond >= 0 and $nanosecond < 1000000000
198 110 0 0 $format ||= ref($self)->default_format