blib/lib/Plack/Middleware/BasicStyle.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 24 | 38 | 63.1 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
80 | 13 | 0 | 1 | $tagname eq 'link' and ($attr->{'rel'} // '') =~ /stylesheet/isu |
90 | 8 | 1 | 2 | $styled and not $self->even_if_styled |
line | l | !l | condition |
---|---|---|---|
80 | 1 | 0 | $attr->{'rel'} // '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
37 | 1 | 12 | 0 | $self->style // $DEFAULT_STYLE |
65 | 0 | 0 | 12 | ref $res ne 'ARRAY' or @$res < 3 |
0 | 0 | 12 | ref $res ne 'ARRAY' or @$res < 3 or ref $res->[2] ne 'ARRAY' | |
75 | 0 | 3 | 0 | $html_end //= $offset_end |
76 | 0 | 3 | 0 | $head_end //= $offset_end |
77 | 0 | 5 | 0 | $doctype_end //= $offset_end |
99 | 2 | 1 | 5 | $head_end or $html_end |
3 | 2 | 3 | $head_end or $html_end or $doctype_end | |
101 | 2 | 1 | 2 | $head_end // $html_end |
3 | 2 | 0 | ($head_end // $html_end) // $doctype_end |