blib/lib/Text/YAWikiFormater.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 18 | 54 | 33.3 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
112 | 0 | 0 | 0 | $lnk and $lnk =~ m[\Ahttps?://] |
332 | 1 | 3 | 4 | not $close and substr($cl, $i, 1) eq substr($nl, $i, 1) |
364 | 1 | 0 | 3 | $$self{'_links'} and $$self{'_links'}{$link} |
410 | 1 | 0 | 0 | @$params and ref $$params[0] eq 'HASH' |
421 | 1 | 0 | 0 | $src =~ m[\Ahttps?://] and $$self{'image_filter'} |
433 | 0 | 0 | 0 | $w and $h |
line | l | !l | condition |
---|---|---|---|
72 | 0 | 2 | $$self{'_links'} ||= {} |
78 | 0 | 13 | $$links{$lnk} ||= {} |
143 | 0 | 8 | shift() || '^\\w\\-\\/\\s\\#' |
204 | 4 | 0 | $re4 //= '' |
209 | 22 | 7 | $re5 //= '' |
227 | 2 | 0 | $plugins{$plugin}($self, $plugin, $params) // '' |
240 | 1 | 0 | $plugins{$plugin}($self, $plugin, @params) // '' |
269 | 0 | 0 | $$self{'__headers'} ||= {} |
270 | 0 | 0 | $$self{'__headnames'} ||= {} |
271 | 0 | 0 | $$self{'__toc'} ||= [] |
366 | 4 | 0 | $$self{'_links'}{$link} || {} |
371 | 1 | 3 | $$lnk{'class'} || $$lnk{'_class'} || '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
254 | 0 | 0 | 0 | $override or not $namespaces{$namespace} |
263 | 0 | 0 | 0 | $override or not $plugins{$pluginname} |
434 | 0 | 0 | 0 | $$params{'width'} ||= $w |
435 | 0 | 0 | 0 | $$params{'height'} ||= $h |