blib/lib/Text/YAWikiFormater.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 27 | 60 | 45.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
116 | 0 | 0 | 0 | $lnk and $lnk =~ m[\Ahttps?://] |
342 | 1 | 3 | 19 | not $close and substr($cl, $i, 1) eq substr($nl, $i, 1) |
376 | 0 | 0 | 11 | $self->{'_links'} and $self->{'_links'}{$link} |
422 | 1 | 0 | 0 | @$params and ref $params->[0] eq 'HASH' |
433 | 1 | 0 | 0 | $src =~ m[\Ahttps?://] and $self->{'image_filter'} |
445 | 0 | 0 | 0 | $w and $h |
line | l | !l | condition |
---|---|---|---|
74 | 0 | 4 | $self->{'_links'} ||= {} |
80 | 0 | 20 | $links->{$lnk} ||= {} |
147 | 6 | 15 | shift() || '^\\w\\-\\/\\s\\#' |
211 | 4 | 0 | $re4 //= '' |
216 | 43 | 0 | $t1 //= '' |
217 | 43 | 0 | $in //= '' |
218 | 43 | 0 | $t2 //= '' |
219 | 34 | 9 | $re5 //= '' |
237 | 2 | 0 | $plugins{$plugin}->($self, $plugin, $params) // '' |
250 | 1 | 0 | $plugins{$plugin}->($self, $plugin, @params) // '' |
279 | 5 | 1 | $self->{'__headers'} ||= {} |
280 | 5 | 1 | $self->{'__headnames'} ||= {} |
281 | 5 | 1 | $self->{'__toc'} ||= [] |
378 | 11 | 0 | $self->{'_links'}{$link} || {} |
383 | 1 | 10 | $lnk->{'class'} || $lnk->{'_class'} || '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
265 | 0 | 0 | 0 | $override or not $namespaces{$namespace} |
274 | 0 | 0 | 0 | $override or not $plugins{$pluginname} |
446 | 0 | 0 | 0 | $params->{'width'} ||= $w |
447 | 0 | 0 | 0 | $params->{'height'} ||= $h |