lib/Mojolicious/Plugin/UrlWith.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 10 | 14 | 71.4 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
110 | 2 | 0 | 6 | defined $_[0] and ref $_[0] eq '' |
153 | 0 | 4 | 6 | defined $_[-1] and ref $_[-1] eq 'CODE' |
line | l | !l | condition |
---|---|---|---|
189 | 0 | 3 | $$config{'url_with_alias'} ||= 'url_with' |
190 | 0 | 3 | $$config{'link_with_alias'} ||= 'link_with' |
191 | 1 | 2 | $$config{'parse_fragment'} || 0 |
192 | 1 | 2 | $$config{'current_page_class'} || '' |