Branch Coverage

blib/lib/Object/Factory/Declarative.pm
Criterion Covered Total %
branch 21 52 40.3


line true false branch
18 3 0 if (@_ > 3) { }
27 3 0 wantarray ? :
35 0 0 wantarray ? :
41 0 2 if @args & 1
46 2 0 wantarray ? :
52 0 2 unless defined $argf
53 0 2 unless ref $argf
56 0 2 unless $@
58 2 0 unless $@
72 0 1 unless ($init)
75 0 0 if (@c_args) { }
95 0 1 unless (@i_args)
98 0 0 if (@c_args) { }
107 0 0 if @args
120 0 0 if @args
128 1 0 if (@c_args) { }
136 0 1 if @args
148 0 0 if @args
157 0 2 if @args & 1
167 1 1 if ('--defaults' eq $name)
175 4 0 if defined $v
177 0 1 if %h
180 0 1 if ('--export-to' eq $name)
189 0 1 if %h
190 0 1 if $p{'method_args'} and not $p{'method'}
192 0 1 unless $p{'constructor'}