blib/lib/Text/WikiFormat.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 32 | 38 | 84.2 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
131 | 8 | 0 | 37 | defined $newtags and (reftype $newtags || '') eq 'HASH' |
349 | 19 | 0 | 15 | defined $$opts{'prefix'} && $is_relative |
352 | 26 | 5 | 3 | !$is_relative && $$opts{'nofollow_extended'} |
line | l | !l | condition |
---|---|---|---|
78 | 159 | 36 | reftype $value || '' |
107 | 8 | 1 | $tags ||= {} |
108 | 6 | 3 | $opts ||= {} |
123 | 31 | 14 | $opts ||= {'prefix', '', 'extended', 0, 'implicit_links', 1, 'absolute_links', 0, 'nofollow_extended', 0} |
131 | 37 | 0 | reftype $newtags || '' |
192 | 76 | 102 | $level || 0 |
256 | 36 | 148 | reftype $start_line || '' |
286 | 181 | 1 | $opts ||= {} |
334 | 14 | 1 | $$tags{'link'}($tag, $opts) || '' |
344 | 34 | 0 | $opts ||= {} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
133 | 5 | 11 | 29 | exists $$newtags{'blockorder'} or exists $$newtags{'blocks'} |
251 | 11 | 0 | 0 | pop @text || () |
293 | 105 | 76 | 1 | not defined $$opts{'implicit_links'} or $$opts{'implicit_links'} |