Branch Coverage

blib/lib/DateTime/Format/Builder.pm
Criterion Covered Total %
branch 35 42 83.3


line true false branch
24 13 23 if @_
42 0 21 if exists $args{'verbose'}
50 4 17 if exists $args{'version'}
75 2 17 if defined &{$globname;}
87 13 8 unless $intended
89 3 18 unless $value
90 2 16 if not $intended and defined &$new
91 2 14 if defined &$new
96 2 12 if ref $value eq 'CODE'
99 1 15 if @_
113 27 13 if (@_ == 1) { }
115 20 0 ref $parsers eq 'ARRAY' ? :
7 20 ref $parsers eq 'HASH' ? :
152 3 9 unless UNIVERSAL::isa($pkg, 'DateTime::Format::Builder') or UNIVERSAL::isa($pkg, 'DateTime::Format::Builder::Parser')
161 1 10 if @_
166 2 8 if (ref $class)
183 0 6 ref $class ? :
192 0 1 unless ref $self
198 0 8 unless $parser and ref $parser eq 'CODE'
212 0 14 unless ref $self and $self->isa('DateTime::Format::Builder')
214 0 14 unless @_