| blib/lib/Bat/Interpreter.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 18 | 26 | 69.2 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 143 | 0 | 0 | 149 | defined $command and $command ne '' |
| 342 | 0 | 2 | 5 | $file_exists && -e $expanded_path |
| 364 | 96 | 10 | 14 | defined $parameters and scalar keys %$parameters > 0 |
| 382 | 0 | 12 | 29 | defined $variable_name and $variable_name ne '' |
| 386 | 24 | 0 | 5 | defined $manipulation and $manipulation ne '' |
| 467 | 0 | 3 | 144 | defined $line and $line ne '' |
| line | l | !l | condition |
|---|---|---|---|
| 48 | 3 | 24 | shift() // \%ENV |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 220 | 0 | 3 | 0 | $extension eq '.bat' or $extension eq '.cmd' |
| 313 | 4 | 3 | 14 | $operator eq '==' or $uppercase_operator eq 'EQU' |