Branch Coverage

blib/lib/Class/Closure.pm
Criterion Covered Total %
branch 12 18 66.6


line true false branch
55 0 0 if $base->isa($class)
56 0 0 if $_->isa($class)
63 4 0 unless ref $var
80 5 13 if $code
84 3 3 unless $code = $pkg->can($method)
98 3 2 if (my $code = $_[0]->can($AUTOLOAD)) { }
1 1 elsif (my $fallback = $_[0]->can('FALLBACK')) { }
115 2 4 if $self->can('BUILD')
164 0 4 unless $arg{'get'} and $arg{'set'}