| blib/lib/Template/Benchmark.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 26 | 46 | 56.5 |
| line | l | !l | condition |
|---|---|---|---|
| 391 | 0 | 39 | $functions and scalar keys %{$functions;} |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 284 | 297 | 231 | 0 | $$options{'features_from'} and $$options{'features_from'}{$leaf} |
| 285 | 231 | 0 | $$options{'cache_types_from'} and $$options{'cache_types_from'}{$leaf} | |
| 334 | 0 | 3 | 78 | &Scalar::Util::looks_like_number($$options{$_}) && int $$options{$_} == $$options{$_} && $$options{$_} > 0 |
| 399 | 15 | 0 | 12 | $$options{'cache_types_from'} and $$options{'cache_types_from'}{$leaf} |
| 565 | 0 | 0 | 0 | $output and ref $output |
| line | l | !l | condition |
|---|---|---|---|
| 177 | 0 | 30 | $$options{$opt} ||= {} |
| 421 | 128 | 4 | $$self{'feature_repeats'}{$feature} || 1 |
| 460 | 12 | 27 | $$self{'benchmark_functions'}{$type} ||= {} |
| 713 | 0 | 0 | $$errors{$leaf} ||= [] |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 166 | 0 | 17 | 0 | ref $this || $this |
| 173 | 16 | 0 | 15 | $opt eq 'only_plugin' or $opt eq 'skip_plugin' |
| 16 | 7 | 8 | $opt eq 'only_plugin' or $opt eq 'skip_plugin' or $opt eq 'features_from' | |
| 7 | 7 | 1 | $opt eq 'only_plugin' or $opt eq 'skip_plugin' or $opt eq 'features_from' or $opt eq 'cache_types_from' | |
| 284 | 12 | 0 | 516 | $$options{'features_from'} and $$options{'features_from'}{$leaf} or $$options{'cache_types_from'} and $$options{'cache_types_from'}{$leaf} |
| 623 | 0 | 0 | 0 | not defined $$output[2] or $$output[2] ne $$result{'reference'}{'output'} |
| 747 | 787 | 0 | 0 | $1 || $engine |