| blib/lib/Test2/Tools/LoadModule.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 27 | 30 | 90.0 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 199 | 2 | 1 | 1 | defined $num and $num =~ / [^0-9] /msx |
| 277 | 1 | 0 | 33 | $opt->{'load_error'} =~ / ( %+ ) [ #0+-]* [0-9]* s /msx and length($1) % 2 |
| 317 | 3 | 2 | 1 | defined $arg[0] && $arg[0] =~ /(?x: (?x: |
| 372 | 44 | 10 | 19 | $import and @{$import;} |
| 387 | 15 | 17 | 2 | $max_arg and @ARGV > $max_arg |
| line | l | !l | condition |
|---|---|---|---|
| 204 | 1 | 2 | $num ||= 1 |
| 250 | 50 | 0 | $opt ||= {} |
| 334 | 4 | 0 | $lvl || 1 |
| 348 | 37 | 5 | $level ||= 0 |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 402 | 17 | 6 | 3 | not defined $import or "ARRAY" eq ref $import |
| line | l&&r | l&&!r | !l&&r | !l&&!r | condition |
|---|---|---|---|---|---|
| 372 | 5 | 5 | 37 | 7 | defined $import xor not $opt->{'require'} |