Branch Coverage

blib/lib/File/Finder.pm
Criterion Covered Total %
branch 54 66 81.8


line true false branch
65 641 25 ref $self_or_class ? :
85 1650 43 if defined $_
97 3564 252 if (@stat)
99 66 3498 unless "@stat" eq "@cache_stat"
102 3414 402 if (ref $step) { }
63 339 elsif ($step eq 'or') { }
27 312 elsif ($step eq 'left') { }
27 285 elsif ($step eq 'right') { }
12 273 elsif ($step eq 'comma') { }
273 0 elsif ($step eq 'not') { }
103 2573 841 if ($state[-1] >= 1)
104 1735 838 if ($self->$step) { }
105 111 1624 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 273 0 if ($state[-1] >= 1)
148 2 271 $state[-1] > 1 ? :
154 0 1693 unless @state == 1
155 0 1693 if $state[-1] > 1
163 0 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)