Branch Coverage

blib/lib/Test/TestCoverage.pm
Criterion Covered Total %
branch 17 34 50.0


line true false branch
30 0 3 unless defined $package
36 0 3 $INC{'Moose.pm'} ? :
42 6 0 unless (exists $$invokes{$package}{$sub})
51 6 0 if (not $moosified) { }
59 0 0 $package->can('add_before_method_modifier') ? :
76 2 0 if (exists $$invokes{$package} and exists $$invokes{$package}{$subname} and exists $$self{'subs'}{$package})
97 2 0 unless ($package and exists $$invokes{$package} || $package =~ /^(?:\w+(?:::)?)+$/)
102 0 6 unless (exists $$invokes{$package})
107 1 5 defined $msg ? :
113 0 10 if (not exists $$invokes{$package}{$sub} or $$invokes{$package}{$sub} == 0)
114 0 0 defined $missing && !$bool_msg ? :
119 5 1 unless ($bool_msg)
121 0 5 if defined $missing
146 0 3 if $@
147 0 3 if $@
157 0 6 if $owner ne $test
162 6 0 unless $func =~ /^_/