| lib/Mojolicious/Plugin/JSLoader.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 18 | 26 | 69.2 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 21 | 6 | 0 | 3 | $base and substr($base, -1) ne '/' |
| 38 | 0 | 32 | 0 | $_[1] and $_[1]{'inplace'} |
| 66 | 20 | 5 | 0 | $config->{'no_file'} and $config->{'on_ready'} |
| 98 | 6 | 1 | 0 | not exists $browser->{$name} and exists $browser->{'default'} |
| 109 | 2 | 0 | 2 | $op ne 'gt' and $op ne 'lt' |
| 2 | 2 | 0 | $op ne 'gt' and $op ne 'lt' and $op ne '!' |
| line | l | !l | condition |
|---|---|---|---|
| 19 | 3 | 6 | $config->{'base'} || '' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 98 | 6 | 1 | 2 | exists $browser->{$name} || exists $browser->{'default'} |
| 109 | 2 | 0 | 4 | not $op or $op ne 'gt' and $op ne 'lt' and $op ne '!' |