Branch Coverage

inc/Test/ClassAPI.pm
Criterion Covered Total %
branch 17 42 40.5


line true false branch
59 0 1 isa($_[0], 'GLOB') ? :
63 0 1 unless $CONFIG = 'Config::Tiny'->read_string(<DATA>)
66 0 1 unless $SCHEDULE = delete $$CONFIG{'_'}
73 19 0 unless $$CONFIG{$tclass}{$test} eq 'implements'
82 0 6 unless ($value =~ /^(?:class|abstract|interface)$/)
85 0 6 unless ($$CONFIG{$tclass})
96 0 1 if ($EXECUTED)
99 1 0 unless $CONFIG
107 0 1 unless ('Test::More'->builder->has_plan)
132 26 3 if ($type eq 'method') { }
3 0 elsif ($type eq 'isa') { }
140 29 0 unless $type eq 'implements'
149 0 0 if grep {$_ eq $test;} @path
150 0 0 if grep {$_ eq $test;} @implements
160 0 0 if ($type eq 'method')
168 4 0 if ($CHECK_UNKNOWN_METHODS)
170 0 4 unless my $methods = 'Class::Inspector'->methods($class, 'public', 'expanded')
175 0 4 if (@$methods)
181 0 4 if ($CHECK_FUNCTION_COLLISIONS)
194 0 0 unless $symbol =~ s/::$//
195 0 0 unless defined *{"${class}::$symbol";}{'CODE'}