Branch Coverage

blib/lib/Test/ClassAPI.pm
Criterion Covered Total %
branch 24 42 57.1


line true false branch
62 0 3 ref $_[0] eq 'GLOB' ? :
66 0 3 unless $Test::ClassAPI::CONFIG = 'Config::Tiny'->read_string(readline DATA)
70 0 3 unless $Test::ClassAPI::SCHEDULE = delete $Test::ClassAPI::CONFIG->{'_'}
76 28 2 unless $Test::ClassAPI::CONFIG->{$tclass}{$test} eq 'implements'
85 0 9 unless ($value =~ /^(?:class|abstract|interface)$/)
88 0 9 unless ($Test::ClassAPI::CONFIG->{$tclass})
99 0 3 if ($Test::ClassAPI::EXECUTED)
102 3 0 unless $Test::ClassAPI::CONFIG
110 0 3 unless ('Test::More'->builder->has_plan)
137 15 3 if ($type eq 'method')
144 1 2 if ($type eq 'isa')
149 0 2 unless ($type eq 'implements')
161 0 2 if grep {$_ eq $test;} @path
162 0 2 if grep {$_ eq $test;} @implements
172 12 0 if ($type eq 'method')
180 6 0 if ($CHECK_UNKNOWN_METHODS)
182 0 6 unless my $methods = 'Class::Inspector'->methods($class, 'public', 'expanded')
187 0 6 if (@$methods)
193 2 4 if ($CHECK_FUNCTION_COLLISIONS)
206 24 0 unless $symbol =~ s/::$//
207 0 0 unless defined *{"${class}::$symbol";}{'CODE'}