Branch Coverage

blib/lib/Term/ReadLine/Zoid/FileBrowse.pm
Criterion Covered Total %
branch 0 44 0.0


line true false branch
31 0 0 unless defined $$self{'config'}{$$_[0]}
53 0 0 if ($dir eq '.') { }
61 0 0 unless opendir DIR, $dir
64 0 0 if (m[(.*/)(.*)]) { }
0 0 elsif ($pwd) { }
65 0 0 if ($1 eq $dir) { }
71 0 0 -d "$dir/$_" ? :
75 0 0 $$self{'config'}{'hide_hidden_files'} ? :
80 0 0 if (@marks)
84 0 0 if grep {$_ eq $item;} @marks
109 0 0 $_[0]{'config'}{'hide_hidden_files'} ? :
116 0 0 unless $key =~ /^\d+$/
123 0 0 if -d $dir
135 0 0 if $_[0]{'fb_item'} < $#{$_[0]{'fb_items'};}
141 0 0 if ($vpos > $higth) { }
149 0 0 if ($rvpos > $higth) { }
151 0 0 if $$self{'fb_item'} > $#{$$self{'fb_items'};}
154 0 0 if $_[0]{'fb_item'} > 0
158 0 0 unless $_[0]{'fb_rows'} > $#{$_[0]{'fb_items'};} - $_[0]{'fb_item'}
162 0 0 unless $_[0]{'fb_rows'} > $_[0]{'fb_item'}
170 0 0 if $l == scalar @{$$self{'fb_marks'};}
178 0 0 if length $dir