| line |
true |
false |
branch |
|
173
|
30 |
1 |
if ($opt eq 'only_plugin' or $opt eq 'skip_plugin' or $opt eq 'features_from' or $opt eq 'cache_types_from') { } |
|
178
|
17 |
13 |
if (ref $val) { } |
|
180
|
0 |
17 |
if ref $val eq 'HASH' |
|
195
|
1 |
0 |
unless exists $option_defaults{$opt} |
|
202
|
610 |
30 |
unless defined $$options{$opt} |
|
207
|
0 |
16 |
unless scalar keys %{$$options{'only_plugin'};} |
|
209
|
16 |
0 |
unless scalar keys %{$$options{'skip_plugin'};} |
|
211
|
9 |
7 |
unless scalar keys %{$$options{'features_from'};} |
|
213
|
9 |
7 |
unless scalar keys %{$$options{'cache_types_from'};} |
|
215
|
0 |
16 |
if (ref $$options{'dataset'}) { } |
|
220
|
0 |
0 |
unless ref $$options{'dataset'} eq 'HASH' |
|
222
|
0 |
0 |
unless defined $$options{'dataset'}{'hash1'} |
|
224
|
0 |
0 |
unless defined $$options{'dataset'}{'hash2'} |
|
232
|
0 |
16 |
unless defined $datasets{$$options{'dataset'}} |
|
237
|
7 |
9 |
if ($$options{'features_from'}) { } |
|
244
|
212 |
12 |
unless $$options{'features_from'}{$leaf} |
|
247
|
0 |
12 |
if $@ |
|
264
|
7 |
9 |
if ($$options{'cache_types_from'}) { } |
|
284
|
488 |
12 |
unless ($$options{'features_from'} and $$options{'features_from'}{$leaf} or $$options{'cache_types_from'} and $$options{'cache_types_from'}{$leaf}) |
|
289
|
488 |
0 |
if ($$options{'only_plugin'}) |
|
291
|
485 |
3 |
unless $$options{'only_plugin'}{$leaf} |
|
293
|
0 |
3 |
if ($$options{'skip_plugin'}) |
|
295
|
0 |
0 |
if $$options{'skip_plugin'}{$leaf} |
|
299
|
0 |
27 |
if ($@) { } |
|
312
|
0 |
16 |
if $$self{'options'}{'keep_tmp_dirs'} |
|
315
|
0 |
16 |
unless $$self{'file_temp'} = 'File::Temp'->newdir('benchmark_XXXX', %temp_options) |
|
328
|
0 |
16 |
unless mkpath($$self{'template_dir'}) |
|
330
|
0 |
16 |
unless mkpath($$self{'cache_dir'}) |
|
334
|
0 |
3 |
$$options{$_} ? : |
|
|
78 |
3 |
&Scalar::Util::looks_like_number($$options{$_}) && int $$options{$_} == $$options{$_} && $$options{$_} > 0 ? : |
|
375
|
123 |
39 |
unless $engine->can($method) |
|
378
|
16 |
23 |
unless $cache_type eq 'uncached_string' |
|
380
|
8 |
31 |
unless $cache_type =~ /^uncached/o |
|
384
|
0 |
39 |
if ($@) |
|
391
|
0 |
39 |
unless $functions and scalar keys %{$functions;} |
|
399
|
12 |
15 |
if $$options{'cache_types_from'} and $$options{'cache_types_from'}{$leaf} |
|
401
|
0 |
27 |
unless (%benchmark_functions) |
|
418
|
132 |
0 |
if (defined $feature_syntax) { } |
|
429
|
0 |
27 |
if ($missing_syntaxes) |
|
439
|
0 |
27 |
if $engine->can('preprocess_template') |
|
445
|
0 |
27 |
unless ($fh) |
|
467
|
23 |
16 |
if ($type =~ /_string$/) { } |
|
492
|
7 |
9 |
if ($$options{'cache_types_from'}) |
|
543
|
0 |
0 |
if ($@) |
|
556
|
0 |
0 |
if ($@) |
|
565
|
0 |
0 |
if $output and ref $output |
|
568
|
0 |
0 |
if $output |
|
570
|
0 |
0 |
if $tag eq $reference_preference |
|
574
|
0 |
0 |
unless %{$$self{'benchmark_functions'}{$type};} |
|
583
|
0 |
0 |
unless (@outputs) |
|
589
|
0 |
0 |
if %{$errors;} |
|
609
|
0 |
0 |
if %{$errors;} |
|
611
|
0 |
0 |
unless ($$self{'options'}{'skip_output_compare'}) |
|
623
|
0 |
0 |
defined $$output[2] ? : |
|
|
0 |
0 |
if not defined $$output[2] or $$output[2] ne $$result{'reference'}{'output'} |
|
626
|
0 |
0 |
unless $#{$$result{'failures'};} == -1 |
|
639
|
0 |
0 |
if ($duration) |
|
666
|
0 |
17 |
if ($$self{'options'}{'keep_tmp_dirs'}) { } |
|
669
|
0 |
0 |
if $$self{'cache_dir'} |
|
671
|
0 |
0 |
if $$self{'template_dir'} |
|
708
|
0 |
0 |
unless $errors |