blib/lib/Text/Chump.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 32 | 48 | 66.6 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
357 | 0 | 4 | 45 | defined $$opts{"${typename}s"} and $$opts{"${typename}s"} |
692 | 10 | 3 | 9 | $link and $self->_is_url($link) |
708 | 4 | 0 | 81 | $$opts{'urls'} and not $text =~ /^\+?\[.*\]$/ |
line | l | !l | condition |
---|---|---|---|
181 | 6 | 2 | shift() || {} |
306 | 53 | 0 | shift() || '' |
307 | 32 | 21 | shift() || {} |
353 | 30 | 19 | $1 || 'link' |
508 | 53 | 0 | shift() || '' |
523 | 8 | 41 | $mc->pre_matched || '' |
530 | 6 | 43 | $mc->post_matched || '' |
686 | 22 | 0 | $$opts{'border'} ||= '' |
687 | 22 | 0 | $url ||= '' |
688 | 22 | 0 | $label ||= '' |
689 | 12 | 10 | $link ||= '' |
728 | 72 | 0 | $link ||= '' |
729 | 72 | 0 | $text ||= '' |
731 | 72 | 0 | $_[3] || {} |
753 | 72 | 2 | $url ||= '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
486 | 32 | 0 | 0 | shift() || carp("Must be called in an OO manner\n") |
487 | 32 | 0 | 0 | shift() || carp("Must pass a name\n") |
488 | 32 | 0 | 0 | shift() || carp("Must pass a coderef\n") |