Branch Coverage

blib/lib/DateTime/Format/Builder/Parser/generic.pm
Criterion Covered Total %
branch 23 30 76.6


line true false branch
35 5 58 exists $args{'on_match'} || exists $args{'on_fail'} ? :
39 0 84 unless defined $date
41 84 0 if $p
43 0 84 defined $label ? :
9 75 @args ? :
50 8 76 if ($args{'preprocess'})
55 84 0 if $class->can('do_match')
58 6 78 if ($callback)
59 5 1 defined $rv ? :
60 6 0 if $args{$type}
62 40 44 unless defined $rv
65 44 0 if $class->can('post_match')
69 10 34 if ($args{'postprocess'})
76 0 10 unless $rv
80 30 14 if $class->can('make')