Branch Coverage

lib/Class/Forward.pm
Criterion Covered Total %
branch 49 54 90.7


line true false branch
31 41 0 @_ ? :
33 41 0 if defined $args{'namespace'}
42 0 65 if $namespace
66 17 3 if ($shorthand)
70 3 14 if $shorthand =~ s[^((\.{1,2}/){1,})][]
72 9 8 if $shorthand =~ s[^(/+)][] and not $backspace
76 2 15 if $shorthand =~ s/((\.\w+){1,})$//
81 4 15 /_/ ? :
84 12 5 if ($backspace) { }
85 5 7 unless ($backspace =~ m[^/$])
87 2 3 if ($backspace =~ m[^//$]) { }
93 1 2 unless ($backspace =~ m[^\./$])
96 0 3 unless @class == 1
106 12 5 if $myspace
108 2 15 if $methods
112 4 16 unless @class
116 10 10 @class > 1 ? :
123 16 4 unless ($INC{$file})
129 1 15 if (@matches == 1)
148 39 2 if $DATA and not @methods
152 2 39 if (@methods) { }
158 2 1 $i == $#methods ? :
182 0 24 unless $self->namespace
184 21 3 if $shorthand
190 9 15 if (defined $offset and $offset >= 0) { }
191 4 5 if ($offset == 0) { }
203 42 19 if ($_)