Branch Coverage

blib/lib/Zoidberg/Fish/Intel.pm
Criterion Covered Total %
branch 0 168 0.0


line true false branch
45 0 0 if $diff < 0
47 0 0 if ($diff) { }
0 0 elsif (length $$m{'prefix'}) { }
48 0 0 if (substr($$c[0], 0, $diff) =~ /^(.*\W)/)
52 0 0 if (@$c == 1)
54 0 0 if $$c[0] =~ /\w$/
75 0 0 if $$block[-1] =~ s/^(['"])//
79 0 0 if ref $$block[0] eq 'ARRAY'
84 0 0 if ($meta{'quote'}) { }
92 0 0 $1 ? :
102 0 0 unless ref $block
107 0 0 unless ($block)
109 0 0 unless $c =~ /::/
114 0 0 if (exists $$block[0]{'compl'}) { }
0 0 elsif (@$block == 1) { }
0 0 elsif ($$block[0]{'string'} =~ /\s$/ and not $$block[-1] =~ /\s$/) { }
120 0 0 @$block == 2 ? :
123 0 0 if (length $$block[-1] and not $string =~ s/\Q$$block[-1]\E$//)
138 0 0 if @blocks < 2
150 0 0 unless $try
152 0 0 if (ref $try eq 'CODE') { }
0 0 elsif (exists $$self{'shell'}{'parser'}{$try}{'intel'}) { }
0 0 elsif (exists $$self{'shell'}{'parser'}{$try}{'completion_function'}) { }
0 0 elsif ($self->can('i_' . lc($try))) { }
167 0 0 if (defined $re[0]) { }
168 0 0 @try ? :
171 0 0 if (ref $$block[0] eq 'ARRAY') { }
172 0 0 if $$_[0]{'poss'}
0 0 if grep {@{$$_[0]{'poss'};} if $$_[0]{'poss'};} @{$block;}
174 0 0 if $$block[0]{'poss'} and @{$$block[0]{'poss'};}
176 0 0 if ($succes) { }
177 0 0 scalar @try ? :
182 0 0 unless exists $$self{'shell'}{'parser'}{$try}{'completion_function'}
207 0 0 unless $arg =~ m[/]
213 0 0 if (not @re) { }
0 0 elsif (ref $re[0]) { }
227 0 0 if (not exists $$self{'shell'}{'commands'}{$$block[1]} and $$block[-1] =~ /^-/) { }
0 0 elsif (exists $$self{'config'}{'commands'}{$$block[1]}) { }
0 0 elsif ($self->can('i_cmd_' . lc($$block[1]))) { }
232 0 0 ref $exp ? :
249 0 0 unless $type
252 0 0 if ($arg =~ s/^(.*?(?
253 0 0 unless $$block[0]{'i_dirs_n_files'}
258 0 0 if ($arg =~ /^~/ and not $arg =~ m[/]) { }
259 0 0 unless $type =~ /d/
264 0 0 if ($arg =~ s[^(.*/)][]) { }
269 0 0 unless -d $dir
275 0 0 -x _ ? :
0 0 -d "$dir/$_" ? :
279 0 0 $type =~ /x/ ? :
0 0 $type =~ /f/ ? :
282 0 0 if $$self{'shell'}{'settings'}{'hide_hidden_files'} and not $arg =~ /^\./
300 0 0 if $$block[0]{'opts'} =~ /z/
302 0 0 unless $$block[-1] =~ /^( (?:\$shell)? ( (?:->|->|\xA3) (?:\S+->)* (?:[\[\{].*?[\]\}])* )) (\S*)$/x
311 0 0 if ($@ or not $type) { }
312 0 0 if $@
318 0 0 if ($type eq 'HASH') { }
0 0 elsif ($type eq 'ARRAY') { }
0 0 elsif ($type eq 'CODE') { }
322 0 0 if ($type eq ref $$self{'shell'} and not $$self{'shell'}{'settings'}{'naked_zoid'}) { }
330 0 0 if (UNIVERSAL::isa($ding, 'HASH')) { }
0 0 elsif (UNIVERSAL::isa($ding, 'ARRAY')) { }
337 0 0 unless ($arg =~ /[\[\{]/)
354 0 0 if $$self{'shell'}{'settings'}{'hide_private_method'} and not $arg =~ /_/
363 0 0 unless $$block[-1] =~ /^(.*[\$\@])(\w*)$/
365 0 0 $2 ? :
389 0 0 unless $$self{'config'}{'man_cmd'} and $$block[1]
406 0 0 if ($state > 1) { }
0 0 elsif ($state == 1) { }
410 0 0 $state == 3 ? :
0 0 if (not /^\s*-{1,2}\w/) { }
412 0 0 if $state
413 0 0 unless $state > 1
414 0 0 unless exists $poss{$1}
417 0 0 if (/\w/) { }
426 0 0 unless /\w/
432 0 0 if (@{$$block[0]{'poss'};} == 1) { }
0 0 elsif (exists $poss{$$block[-1]}) { }
446 0 0 unless /^(\Q$$block[-1]\E\S*?)\s*:/
455 0 0 if $$block[-1] =~ m[/]
457 0 0 if @$block > 3
460 0 0 unless -d $mdir
462 0 0 if $section
465 0 0 unless -d $dir