Branch Coverage

blib/lib/Class/Param/Base.pm
Criterion Covered Total %
branch 36 38 94.7


line true false branch
17 0 6 ref $_[0] ? :
26 6 6 unless ($self->has($name))
30 4 2 if (@add == 1) { }
31 3 1 ref $add[0] eq 'ARRAY' ? :
42 0 6 unless (ref $value eq 'ARRAY')
55 17 40 if $_ eq $name
78 4 61 if (@_ == 1)
82 4 57 unless (defined $name)
83 2 2 wantarray ? :
86 46 11 if (@_ == 2)
88 4 42 unless ($self->has($name))
89 2 2 wantarray ? :
94 24 18 if (ref $value eq 'ARRAY') { }
95 21 3 wantarray ? :
98 12 6 wantarray ? :
102 4 7 if (@values == 1 and not defined $values[0])
106 2 5 @values > 1 ? :
124 12 8 @_ > 2 ? :
127 2 4 wantarray ? :