Condition Coverage

blib/lib/Venus/Date.pm
Criterion Covered Total %
condition 44 68 64.7


or 2 conditions

line l !l condition
91 7 4 $size //= 0
101 6 5 $size //= 0
135 7 4 $size //= 0
145 6 5 $size //= 0
155 6 5 $size //= 0
163 6 5 $size //= 0
374 7 4 $size //= 0
384 6 5 $size //= 0
418 7 4 $size //= 0
428 7 4 $size //= 0
438 6 5 $size //= 0
446 5 6 $size //= 0
481 0 60 $time // 0

or 3 conditions

line l !l&&r !l&&!r condition
49 0 93 0 $data->{'day'} //= $time[3]
50 0 1 92 $data->{'hour'} //= $time[2]
51 0 1 92 $data->{'minute'} //= $time[1]
52 0 93 0 $data->{'month'} //= $time[4] + 1
53 0 1 92 $data->{'second'} //= $time[0]
54 0 93 0 $data->{'year'} //= $time[5] + 1900
64 96 0 0 $data->{'day'} //= $time[3]
65 93 3 0 $data->{'hour'} //= $time[2]
66 93 3 0 $data->{'minute'} //= $time[1]
67 96 0 0 $data->{'month'} //= $time[4] + 1
68 93 3 0 $data->{'second'} //= $time[0]
69 96 0 0 $data->{'year'} //= $time[5] + 1900
176 0 0 0 ref $self || $self
229 134 0 0 $time ||= time