blib/lib/Text/GooglewikiFormat.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 21 | 31 | 67.7 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
103 | 14 | 0 | 1 | defined $newtags and (reftype $newtags || '') eq 'HASH' |
344 | 0 | 4 | 3 | defined $$opts{'prefix'} && $is_relative |
line | l | !l | condition |
---|---|---|---|
80 | 33 | 7 | reftype $value || '' |
96 | 1 | 14 | $opts ||= {'prefix', '', 'extended', 1, 'implicit_links', 1, 'absolute_links', 1} |
103 | 1 | 0 | reftype $newtags || '' |
187 | 4 | 43 | $level || 0 |
249 | 26 | 28 | reftype $start_line || '' |
280 | 53 | 0 | $opts ||= {} |
330 | 4 | 0 | $$tags{'link'}($tag, $opts) || '' |
339 | 7 | 0 | $opts ||= {} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
105 | 1 | 0 | 14 | exists $$newtags{'blockorder'} or exists $$newtags{'blocks'} |
164 | 4 | 3 | 47 | $Text::GooglewikiFormat::code_delimiters or $text =~ /^\{\{\{$/ |
244 | 0 | 0 | 0 | pop @text || () |