Branch Coverage

inc/Test/ClassAPI.pm
Criterion Covered Total %
branch 19 42 45.2


line true false branch
60 0 1 ref $_[0] eq 'GLOB' ? :
64 0 1 unless $Test::ClassAPI::CONFIG = 'Config::Tiny'->read_string()
67 0 1 unless $Test::ClassAPI::SCHEDULE = delete $$Test::ClassAPI::CONFIG{'_'}
74 29 0 unless $$Test::ClassAPI::CONFIG{$tclass}{$test} eq 'implements'
83 0 6 unless ($value =~ /^(?:class|abstract|interface)$/)
86 0 6 unless ($$Test::ClassAPI::CONFIG{$tclass})
97 0 1 if ($Test::ClassAPI::EXECUTED)
100 1 0 unless $Test::ClassAPI::CONFIG
108 0 1 unless ('Test::More'->builder->has_plan)
135 38 4 if ($type eq 'method')
142 4 0 if ($type eq 'isa')
147 0 0 unless ($type eq 'implements')
159 0 0 if grep {$_ eq $test;} @path
160 0 0 if grep {$_ eq $test;} @implements
170 0 0 if ($type eq 'method')
178 5 0 if ($CHECK_UNKNOWN_METHODS)
180 0 5 unless my $methods = 'Class::Inspector'->methods($class, 'public', 'expanded')
185 0 5 if (@$methods)
191 5 0 if ($CHECK_FUNCTION_COLLISIONS)
204 73 5 unless $symbol =~ s/::$//
205 5 0 unless defined *{"${class}::$symbol";}{'CODE'}