Branch Coverage

blib/lib/File/Finder.pm
Criterion Covered Total %
branch 55 66 83.3


line true false branch
65 978 25 ref $self_or_class ? :
85 2125 43 if defined $_
97 4590 252 if (@stat)
99 85 4505 unless join($", @stat) eq join($", @cache_stat)
102 4364 478 if (ref $step) { }
63 415 elsif ($step eq 'or') { }
27 388 elsif ($step eq 'left') { }
27 361 elsif ($step eq 'right') { }
12 349 elsif ($step eq 'comma') { }
349 0 elsif ($step eq 'not') { }
103 3295 1069 if ($state[-1] >= 1)
104 2249 1046 if ($self->$step) { }
105 159 2090 if ($state[-1] == 2)
114 0 63 if $state[-1] > 1
115 12 51 if ($state[-1] == 0) { }
31 20 elsif ($state[-1] == 1) { }
123 11 16 $state[-1] >= 1 ? :
126 0 27 unless @state > 1
127 0 27 if $state[-1] > 1
129 11 16 if ($state[-1] >= 1)
130 9 2 if ($result) { }
131 2 7 if ($state[-1] == 2)
139 0 12 if $state[-1] > 1
140 3 9 if (@state < 2) { }
143 3 6 $state[-2] >= 1 ? :
147 349 0 if ($state[-1] >= 1)
148 2 347 $state[-1] > 1 ? :
154 0 2168 unless @state == 1
155 0 2168 if $state[-1] > 1
163 337 308 if $method eq "DESTROY"
169 0 308 if $steps_class =~ /[^\w:]/
171 0 308 if $@
173 0 308 unless my $sub_method = $steps_class->can($method)