line |
true |
false |
branch |
45
|
8 |
0 |
if @list > 0 |
56
|
8 |
0 |
if @list > 0 |
177
|
54 |
0 |
if (defined $shell) { } |
179
|
2 |
52 |
if (ref $shell eq '') |
182
|
2 |
0 |
if ('Shell::Guess'->can($method)) { } |
205
|
8 |
42 |
$shell->is_win32 ? : |
207
|
3 |
47 |
if (exists $self->{'shebang'} and $shell->is_unix) |
209
|
1 |
2 |
if (defined $self->{'shebang'}) { } |
215
|
1 |
1 |
if ($self->{'echo_off'} and $shell->is_cmd || $shell->is_command) |
224
|
18 |
79 |
if ($command eq 'set_path_sep') |
231
|
8 |
71 |
if ($command eq 'set_path') |
238
|
22 |
57 |
if ($command eq 'set') { } |
|
32 |
25 |
elsif ($command eq 'append_path' or $command eq 'prepend_path') { } |
|
10 |
15 |
elsif ($command eq 'comment') { } |
|
15 |
0 |
elsif ($command eq 'alias') { } |
241
|
0 |
22 |
if ($shell->is_c) { } |
|
0 |
22 |
elsif ($shell->is_fish) { } |
|
22 |
0 |
elsif ($shell->is_bourne) { } |
|
0 |
0 |
elsif ($shell->is_cmd or $shell->is_command) { } |
|
0 |
0 |
elsif ($shell->is_power) { } |
276
|
0 |
32 |
if ($shell->is_c) { } |
|
32 |
0 |
elsif ($shell->is_bourne) { } |
|
0 |
0 |
elsif ($shell->is_fish) { } |
|
0 |
0 |
elsif ($shell->is_cmd or $shell->is_command or $shell->is_power) { } |
280
|
0 |
0 |
if ($command eq 'prepend_path') { } |
290
|
16 |
16 |
if ($command eq 'prepend_path') { } |
302
|
0 |
0 |
if ($command eq 'prepend_path') { } |
310
|
0 |
0 |
$shell->is_power ? : |
311
|
0 |
0 |
if ($shell->is_power) { } |
314
|
0 |
0 |
if ($command eq 'prepend_path') { } |
323
|
0 |
0 |
if ($command eq 'prepend_path') { } |
338
|
10 |
0 |
if ($shell->is_unix or $shell->is_power) { } |
|
0 |
0 |
elsif ($shell->is_cmd or $shell->is_command) { } |
354
|
5 |
10 |
if ($shell->is_bourne) { } |
|
4 |
6 |
elsif ($shell->is_c) { } |
|
2 |
4 |
elsif ($shell->is_cmd or $shell->is_command) { } |
|
3 |
1 |
elsif ($shell->is_power) { } |
|
1 |
0 |
elsif ($shell->is_fish) { } |
389
|
0 |
0 |
unless open $fh, '>', $filename |
390
|
0 |
0 |
unless print $fh $self->generate($shell) |
391
|
0 |
0 |
unless close $fh |
404
|
1 |
0 |
unless $^O =~ /^(MSWin32|cygwin|msys)$/ |
405
|
0 |
0 |
/\s/ ? : |