Branch Coverage

blib/lib/Class/AutoClass/Root.pm
Criterion Covered Total %
branch 13 32 40.6


line true false branch
26 0 1 if (@_ > 1)
29 0 0 if @_ % 2
39 0 3 if $Class::AutoClass::Root::DEBUG
40 0 3 unless ref $self
42 1 2 if (defined $value or not defined $$self{'_root_verbose'})
50 0 0 if ($method)
51 0 0 unless (exists $$self{'_root_cleanup_methods'})
67 0 612 unless ref $self and $self->isa('HASH')
68 612 0 unless my $methods = $$self{'_root_cleanup_methods'}
125 1 0 if ($self->verbose >= 0)
134 2 0 if ($self->can('verbose')) { }
140 0 2 if ($verbose == 2) { }
0 2 elsif ($verbose == -1) { }
0 2 elsif ($verbose == 1) { }
162 0 0 if ($self->verbose > 0)
169 612 0 unless my(@cleanup_methods) = $self->_cleanup_methods