line |
true |
false |
branch |
66
|
0 |
186 |
if ($expected_type eq 'CODE') { } |
|
72 |
114 |
elsif ($expected_type eq 'Regexp') { } |
|
0 |
114 |
elsif (&looks_like_number($expected)) { } |
69
|
0 |
0 |
unless defined $_[2] |
85
|
0 |
4 |
if ($expected_type eq 'CODE') { } |
88
|
0 |
0 |
unless defined $_[2] |
104
|
4 |
8 |
if ($expected_type eq 'CODE') { } |
|
0 |
8 |
elsif ($expected_type eq 'Regexp') { } |
|
8 |
0 |
elsif ($expected_type eq '') { } |
107
|
0 |
4 |
unless defined $_[2] |
111
|
0 |
0 |
ref $got eq 'ARRAY' && @{$got;} == 1 ? : |
115
|
7 |
1 |
if (&looks_like_number($expected)) { } |
131
|
0 |
42 |
if ($expected_type eq 'CODE') { } |
|
0 |
42 |
elsif ($expected_type eq 'Regexp') { } |
|
0 |
42 |
elsif ($expected_type eq '' and &looks_like_number($expected)) { } |
|
0 |
42 |
elsif ($expected_type eq '') { } |
|
42 |
0 |
elsif ($expected_type eq 'ARRAY') { } |
134
|
0 |
0 |
unless defined $_[2] |
138
|
0 |
0 |
ref $got eq 'ARRAY' && @{$got;} == 1 ? : |
178
|
93 |
71 |
unless $was_were |
189
|
22 |
0 |
$was_were ? : |
|
0 |
20 |
$was_were ? : |
|
22 |
20 |
$count == 1 ? : |
197
|
4 |
0 |
if (eval {
do {
require Carp
}
}) { } |
254
|
0 |
46 |
if (@_ == 2 and not $expected_ref) |
261
|
1 |
45 |
if (ref $expected ne "HASH") |
268
|
1 |
44 |
if (exists $expected->{'timing'}) |
272
|
1 |
0 |
unless ($valid_time) |
283
|
6 |
38 |
exists $expected->{'ONLY'} ? : |
288
|
16 |
28 |
exists $expected->{'TIME'} ? : |
290
|
37 |
7 |
unless ($is_only) |
295
|
17 |
20 |
ref $warn eq 'ARRAY' ? : |
301
|
14 |
206 |
unless exists $expected->{$option} |
302
|
20 |
186 |
if (match($expected->{$option}, $BAD_NULL_VALUE_FOR{$option})) |
313
|
24 |
20 |
exists $expected->{'VERBOSE'} ? : |
317
|
25 |
19 |
if ($preview_desc) |
319
|
0 |
25 |
exists $expected->{'timing'} ? : |
333
|
19 |
25 |
unless ($preview_desc) |
342
|
4 |
40 |
if (exists $expected->{'WITHOUT'}) |
346
|
4 |
0 |
if (ref $without_list ne "ARRAY") |
357
|
2 |
2 |
if (not $is_libpath) { } |
|
1 |
1 |
elsif (not $is_pattern and $is_libpath) { } |
358
|
0 |
2 |
unless ($module_name =~ s[::][/]gmsux) |
359
|
0 |
0 |
$is_pattern ? : |
|
0 |
0 |
$is_pattern ? : |
|
0 |
0 |
$is_pattern ? : |
368
|
1 |
1 |
if (not $is_pattern) { } |
378
|
0 |
1 |
if ($module_name =~ m[\A /]ux) { } |
390
|
2 |
2 |
if ($is_libpath) |
400
|
2 |
2 |
if (match($target, $without_list) or match("/$target", $without_list)) |
411
|
0 |
44 |
if (@return_specs > 1) |
423
|
1 |
43 |
if (exists $expected->{'return'}) |
425
|
0 |
1 |
if ($return_type eq 'ARRAY') { } |
436
|
3 |
41 |
if (exists $expected->{'void_return'}) { } |
|
12 |
29 |
elsif (exists $expected->{'scalar_return'}) { } |
|
4 |
25 |
elsif (exists $expected->{'list_return'}) { } |
437
|
0 |
3 |
if (defined $expected->{'void_return'}) |
442
|
3 |
0 |
if ($timed_test) { } |
453
|
7 |
5 |
if ($timed_test) { } |
466
|
4 |
0 |
if ($timed_test) { } |
478
|
3 |
22 |
if ($timed_test) { } |
489
|
206 |
14 |
if (exists $expected->{$info}) |
493
|
113 |
93 |
match($expected->{$info}, $NULL_VALUE_FOR{$info}) ? : |
501
|
0 |
44 |
if (exists $expected->{'timing'}) |
507
|
0 |
0 |
$spec_type eq 'ARRAY' ? : |
|
0 |
0 |
$spec_type eq 'HASH' ? : |
512
|
0 |
0 |
$spec_type eq 'ARRAY' ? : |
|
0 |
0 |
$spec_type eq 'HASH' ? : |
520
|
0 |
0 |
$duration ? : |
521
|
0 |
0 |
$speed > 0 ? : |
|
0 |
0 |
$speed > 1 ? : |
529
|
0 |
0 |
$duration > $MS_THRESHHOLD ? : |
534
|
0 |
0 |
unless ($in_range) |
540
|
0 |
0 |
if (not $in_range) |
554
|
19 |
25 |
if ($is_terse and $passed) { } |
|
0 |
25 |
elsif ($is_terse) { } |
563
|
17 |
27 |
if ($timed_test) |
573
|
22 |
0 |
if require Time::HiRes |
589
|
4 |
13 |
if ($time_one_call and $wantarray) { } |
|
7 |
6 |
elsif ($time_one_call and defined $wantarray) { } |
610
|
17 |
0 |
if $cpu_time > $MAX_CPU_TIME or $wall_time > 2 * $MAX_CPU_TIME or $time_one_call |
616
|
17 |
0 |
!$cpu_time || $utilization < $MIN_CREDIBLE_UTILIZATION ? : |
620
|
17 |
0 |
if ($time_one_call) { } |
621
|
1 |
16 |
if ($timing < $MS_THRESHHOLD) { } |
627
|
4 |
13 |
$wantarray ? : |