| blib/lib/Test/Effects.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 26 | 68 | 38.2 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 111 | 0 | 0 | 0 | ref $got eq 'ARRAY' && @{$got;} == 1 |
| 131 | 42 | 0 | 0 | $expected_type eq "" and &looks_like_number($expected) |
| 138 | 0 | 0 | 0 | ref $got eq 'ARRAY' && @{$got;} == 1 |
| 254 | 46 | 0 | 0 | @_ == 2 and not $expected_ref |
| 357 | 1 | 0 | 1 | not $is_pattern and $is_libpath |
| 526 | 0 | 0 | 0 | $min <= $duration && $duration <= $max |
| 554 | 25 | 0 | 19 | $is_terse and $passed |
| 589 | 0 | 13 | 4 | $time_one_call and $wantarray |
| 0 | 6 | 7 | $time_one_call and defined $wantarray |
| line | l | !l | condition |
|---|---|---|---|
| 187 | 42 | 0 | eval { do { @{$expected;} } } // 1 |
| 260 | 46 | 0 | $expected //= {} |
| 262 | 0 | 1 | ref $expected or "scalar value" |
| 278 | 6 | 38 | (caller 0)[10] // {} |
| 507 | 0 | 0 | $time_spec->{'min'} // 0 |
| 0 | 0 | $time_spec->[0] // 0 | |
| 615 | 17 | 0 | $wall_time || 1 |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 270 | 0 | 0 | 1 | ref($spec) =~ / \A (?: HASH | ARRAY ) \Z/msux || !ref($spec) && &looks_like_number($spec) |
| 308 | 44 | 0 | 0 | $desc //= sprintf("Testing effects_ok() at %s line %d", (caller)[1, 2]) |
| 316 | 25 | 0 | 19 | !$is_terse || exists $expected->{'timing'} |
| 400 | 2 | 0 | 2 | match($target, $without_list) or match("/$target", $without_list) |
| 512 | 0 | 0 | 0 | $time_spec->{'max'} // $INF |
| 0 | 0 | 0 | $time_spec->[-1] // $INF | |
| 610 | 0 | 0 | 17 | $cpu_time > $MAX_CPU_TIME or $wall_time > 2 * $MAX_CPU_TIME |
| 0 | 17 | 0 | $cpu_time > $MAX_CPU_TIME or $wall_time > 2 * $MAX_CPU_TIME or $time_one_call | |
| 616 | 13 | 4 | 0 | !$cpu_time || $utilization < $MIN_CREDIBLE_UTILIZATION |