| blib/lib/Bat/Interpreter.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 18 | 26 | 69.2 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 144 | 0 | 0 | 149 | defined $command and $command ne "" |
| 343 | 0 | 2 | 5 | $file_exists && -e $expanded_path |
| 365 | 96 | 10 | 14 | defined $parameters and scalar keys %$parameters > 0 |
| 383 | 0 | 12 | 29 | defined $variable_name and $variable_name ne "" |
| 387 | 24 | 0 | 5 | defined $manipulation and $manipulation ne "" |
| 468 | 0 | 3 | 144 | defined $line and $line ne "" |
| line | l | !l | condition |
|---|---|---|---|
| 48 | 3 | 24 | shift() // \%ENV |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 221 | 0 | 3 | 0 | $extension eq ".bat" or $extension eq ".cmd" |
| 314 | 4 | 3 | 14 | $operator eq "==" or $uppercase_operator eq "EQU" |