Condition Coverage

blib/lib/App/Rakubrew/Shell.pm
Criterion Covered Total %
condition 1 63 1.5


and 3 conditions

line !l l&&!r l&&r condition
54 0 0 0 $shell eq "csh" and $ENV{'tcsh'}
90 0 0 0 $command eq "shell" and @params
0 0 0 $command eq "mode" and $mode eq "shim"
216 0 0 0 $index == 1 and $words[0] eq 'global' || $words[0] eq 'switch' || $words[0] eq 'shell' || $words[0] eq 'local' || $words[0] eq 'nuke' || $words[0] eq 'test'
0 0 0 $index == 1 and $words[0] eq "build"
0 0 0 $index == 2 and $words[0] eq "build"
0 0 0 $index == 1 and $words[0] eq "download"
0 0 0 $index == 2 and $words[0] eq "download"
0 0 0 $index == 1 and $words[0] eq "mode"
0 0 0 $index == 2 and $words[0] eq "register"
0 0 0 $index == 1 and $words[0] eq "help"
267 0 0 0 length $candidate > 0 and substr($candidate, -1) ne "/"

or 2 conditions

line l !l condition
49 0 0 $ENV{'SHELL'} || '/bin/bash'
84 0 0 shift @params // ""
225 0 0 $words[1] // ""
229 0 0 $words[1] // ""
235 0 0 $words[2] // ""
239 0 0 $words[1] // ""
246 0 0 $words[2] // ""
251 0 0 $words[2] // ""
274 0 0 $words[1] // ""

or 3 conditions

line l !l&&r !l&&!r condition
24 0 0 7 not shell_exists("Dummy self", $shell) or $shell eq "auto"
216 0 0 0 $words[0] eq 'global' || $words[0] eq 'switch' || $words[0] eq 'shell' || $words[0] eq 'local' || $words[0] eq 'nuke' || $words[0] eq 'test'
217 0 0 0 $index < 0 || !$words[0]