blib/lib/Mojolicious/Plugin/TagHelpers/ContentBlock.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 12 | 23 | 52.1 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
164 | 17 | 19 | 1 | $string and $sep |
line | l | !l | condition |
---|---|---|---|
42 | 5 | 0 | $param ||= {} |
86 | 0 | 0 | $block //= {} |
98 | 0 | 0 | $block //= {} |
105 | 0 | 0 | $block //= {} |
147 | 35 | 0 | $c->render_to_string('inline', $_->{'inline'}) // '' |
152 | 2 | 0 | $c->render_to_string('template', $_->{'template'}) // '' |
157 | 0 | 0 | &$_($c) // '' |
174 | 11 | 7 | $content_block{$name} ||= [] |
178 | 16 | 2 | $block->{'position'} //= 0 |
185 | 1 | 7 | $c->stash->{'cblock.' . $name} ||= [] |