blib/lib/Pod/Man.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 85 | 120 | 70.8 |
line | l | !l | condition |
---|---|---|---|
408 | 16 | 662 | $convert and not $self->{'utf8'} and 1 |
631 | 18 | 10 | $fixed && 1 |
28 | 0 | $bold && 1 | |
24 | 4 | $italic && 1 | |
656 | 142 | 94 | $fixed && 1 |
194 | 42 | $bold && 1 | |
170 | 66 | $italic && 1 | |
1065 | 0 | 244 | defined $line and 0 |
1150 | 0 | 86 | defined $line and 0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
124 | 29 | 0 | 1 | $self->{'stderr'} and not $self->{'errors'} |
157 | 25 | 4 | 1 | $self->{'utf8'} and not $HAS_ENCODE |
195 | 116 | 4 | 0 | defined $font and length $font < 1 || length $font > 2 |
333 | 244 | 191 | 177 | $element ne 'Para' and length $element > 1 |
391 | 119 | 19 | 540 | $options->{'guesswork'} && !$self->{'IN_NAME'} |
408 | 4 | 12 | 662 | $convert and not $self->{'utf8'} |
686 | 0 | 7 | 13 | $c_is_quote and $text =~ /\\\*\(C[\'\`]/ |
792 | 62 | 0 | 1 | $attrs->{'contentless'} and not $self->{'ALWAYS_EMIT_SOMETHING'} |
847 | 62 | 0 | 1 | $self->{'complain_die'} and $self->errors_seen |
851 | 61 | 0 | 1 | $self->{'CONTENTLESS'} and not $self->{'ALWAYS_EMIT_SOMETHING'} |
862 | 0 | 43 | 1 | not $self->{'section'} and $name =~ /\.pm\z/i |
911 | 0 | 0 | 0 | $dirs[$i + 1] and $dirs[$i + 1] eq 'lib' |
922 | 0 | 0 | 0 | $dirs[0] eq 'blib' and $dirs[1] eq 'lib' |
961 | 59 | 1 | 1 | defined $ENV{'SOURCE_DATE_EPOCH'} and not $ENV{'SOURCE_DATE_EPOCH'} =~ /\D/ |
1065 | 244 | 0 | 0 | defined $line and 0 and not $self->{'IN_NAME'} |
1108 | 13 | 0 | 0 | $unbroken > 12 and not $self->{'MAGIC_VNOPAGEBREAK_LIMIT'} |
1262 | 0 | 0 | 42 | defined $indent and $indent =~ /^[-+]?\d{1,4}\s*$/ |
1399 | 0 | 0 | 1 | defined $$opts{-'cutting'} and not $$opts{-'cutting'} |
line | l | !l | condition |
---|---|---|---|
54 | 11 | 0 | $parent || sub () { 10 } |
203 | 1 | 29 | $self->{'fixed'} ||= 'CW' |
204 | 1 | 29 | $self->{'fixedbold'} ||= 'CB' |
205 | 1 | 29 | $self->{'fixeditalic'} ||= 'CI' |
206 | 1 | 29 | $self->{'fixedbolditalic'} ||= 'CB' |
226 | 2 | 28 | $self->{'quotes'} ||= '"' |
263 | 30 | 0 | $version[2] ||= 0 |
497 | 0 | 19 | $hyphen ||= '' |
821 | 1 | 19 | $self->{'section'} || 1 |
826 | 0 | 62 | $self->bare_output or !1 |
860 | 41 | 3 | $self->source_filename || '' |
861 | 0 | 44 | $self->{'section'} || 1 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
133 | 2 | 1 | 27 | $self->{'errors'} eq 'stderr' or $self->{'errors'} eq 'die' |
195 | 0 | 0 | 4 | length $font < 1 || length $font > 2 |
677 | 150 | 2 | 0 | $self->{'LQUOTE'} =~ /\"/ || $self->{'RQUOTE'} =~ /\"/ |
681 | 10 | 10 | 132 | $text =~ /\"/ or $text =~ /$fixedpat/ |
747 | 113 | 5 | 273 | $section or @entries |
970 | 41 | 2 | 0 | (stat $input)[9] || time |
1163 | 13 | 0 | 60 | $text eq 'NAME' || $text =~ /\(NAME\)/ |
1235 | 0 | 1 | 3 | not defined $to or $to eq $text |