Condition Coverage

blib/lib/Text/SmartLinks.pm
Criterion Covered Total %
condition 18 50 36.0


and 3 conditions

line !l l&&!r l&&r condition
466 4 11 0 $from and $from == $to
476 4 0 11 $setter and $from
483 0 0 4 $setter and $from
508 5 10 0 $pattern and substr($pattern, -1, 1) eq '/'
640 0 0 0 $ok_count == 0 and $failed_count == 0
753 0 0 0 $self->line_anchor and not $$podtree{$section}[-1] =~ /^=over\b|^=item\b/
1106 0 0 0 not $self->check and $self->broken_link_count > 0

or 2 conditions

line l !l condition
355 0 6 $$self{'out_dir'} ||= '.'
506 2 13 $$self{'linktree'}{$synopsis} ||= {}
507 1 14 $$self{'linktree'}{$synopsis}{$section} ||= []
745 0 0 $$podtree{'_sections'} ||= []
750 0 0 $$podtree{$section} ||= []
758 0 0 $$podtree{$section} ||= ['']
762 0 0 $$podtree{$section} ||= ['']

or 3 conditions

line l !l&&r !l&&!r condition
526 4 3 16 $pat =~ /\G\s*"([^"]+)"/cg or $pat =~ /\G\s*'([^']+)'/cg
7 10 6 $pat =~ /\G\s*"([^"]+)"/cg or $pat =~ /\G\s*'([^']+)'/cg or $pat =~ /\G\s*(\S+)/cg
794 0 0 0 $case->skipped or not $case->test_line
913 0 0 0 $pugs_rev ||= $smoke_rev
1038 0 0 0 not $para or $para =~ /\?hide_quotes=no/