blib/lib/Mason/Tidy.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 20 | 28 | 71.4 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
96 | 0 | 39 | 35 | @lines and $lines[-1] eq '' |
109 | 4 | 183 | 4 | $mason2 and $line =~ /^%\s*(.*)\{\{\s*/ |
116 | 4 | 179 | 4 | $mason2 and $line =~ /^%\s*\}\}\s*/ |
215 | 24 | 0 | 1 | length $preceding > 0 and substr($preceding, 0, 1) eq '%' |
273 | 12 | 0 | 1 | $block_type eq 'filter' and not defined $block_args |
2 | 0 | 0 | $block_type eq 'filter' and defined $block_args |
line | l | !l | condition |
---|---|---|---|
226 | 0 | 1 | $block_args || '' |
318 | 166 | 11 | $params{'argv'} ||= '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
273 | 10 | 0 | 13 | $self->_is_code_block->{$block_type} or $block_type eq 'filter' and not defined $block_args |
10 | 0 | 2 | $self->_is_mixed_block->{$block_type} or $block_type eq 'filter' and defined $block_args |