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
321 22 32 if (defined $data->{$name})
334 2 1 if defined $h
335 3 0 if defined $m
336 3 0 if defined $s
346 3 0 if defined $d
347 2 1 if defined $m
348 1 2 if defined $y
363 48 0 if (my $code = $self->can("sub_$name"))
376 7 4 if $size
386 6 5 if $size
396 2 1 if defined $h
397 3 0 if defined $m
398 2 1 if defined $s
408 3 0 if defined $d
409 3 0 if defined $m
410 1 2 if defined $y
420 6 5 if $size
430 7 4 if $size
448 5 6 if $size