Branch Coverage

blib/lib/Net/LDAP/Class/MethodMaker.pm
Criterion Covered Total %
branch 32 44 72.7


line true false branch
86 0 32 if ($interface eq 'get_set_init') { }
32 0 elsif ($interface eq 'get_set') { }
93 97 160 if (@_ > 1)
94 0 97 unless ($_[0]->validate($key, $_[1]))
101 61 99 exists $_[0]{$key} ? :
127 0 132 if ($class->can($name))
137 132 0 if ($interface eq 'get_set') { }
144 0 2628 if (scalar @args > 1)
150 1392 1236 unless (defined $self->ldap_entry)
152 210 1182 if (scalar @args)
157 1133 259 exists $self->{'_not_yet_set'}{$attribute} ? :
170 8 1228 if (scalar @args)
172 0 8 unless ($self->validate($attribute, $args[0]))
184 8 0 unless (exists $self->{'_was_set'}{$attribute}{'old'})
186 1 7 @old > 1 ? :
191 88 1148 if (wantarray) { }
195 19 1129 @ret > 1 ? :
222 1999 41 if (ref $_[0]) { }
223 0 1999 if @_ > 1
225 0 1999 if ($_[0]->can($init_method)) { }
228 0 0 defined $_[0]{$key} ? :
233 1355 644 defined $_[0]{$key} ? :