Branch Coverage

blib/lib/Venus/Date.pm
Criterion Covered Total %
branch 52 62 83.8


line true false branch
80 48 0 if (my $code = $self->can("add_$name"))
93 6 5 if $size
103 6 5 if $size
113 2 1 if defined $h
114 3 0 if defined $m
115 2 1 if defined $s
125 3 0 if defined $d
126 2 1 if defined $m
127 2 1 if defined $y
137 6 5 if $size
147 6 5 if $size
165 5 6 if $size
319 22 32 if (defined $data->{$name})
332 2 1 if defined $h
333 3 0 if defined $m
334 3 0 if defined $s
344 3 0 if defined $d
345 2 1 if defined $m
346 1 2 if defined $y
361 48 0 if (my $code = $self->can("sub_$name"))
374 7 4 if $size
384 6 5 if $size
394 2 1 if defined $h
395 3 0 if defined $m
396 2 1 if defined $s
406 3 0 if defined $d
407 3 0 if defined $m
408 1 2 if defined $y
418 6 5 if $size
428 7 4 if $size
446 5 6 if $size