| blib/lib/Pod/Man.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 85 | 120 | 70.8 |
| line | l | !l | condition |
|---|---|---|---|
| 408 | 16 | 655 | $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 | 242 | defined $line and 0 |
| 1150 | 0 | 83 | defined $line and 0 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 124 | 60 | 0 | 1 | $self->{'stderr'} and not $self->{'errors'} |
| 157 | 56 | 4 | 1 | $self->{'utf8'} and not $HAS_ENCODE |
| 195 | 240 | 4 | 0 | defined $font and length $font < 1 || length $font > 2 |
| 333 | 242 | 190 | 174 | $element ne 'Para' and length $element > 1 |
| 391 | 118 | 17 | 536 | $options->{'guesswork'} && !$self->{'IN_NAME'} |
| 408 | 4 | 12 | 655 | $convert and not $self->{'utf8'} |
| 686 | 0 | 7 | 13 | $c_is_quote and $text =~ /\\\*\(C[\'\`]/ |
| 792 | 59 | 0 | 1 | $attrs->{'contentless'} and not $self->{'ALWAYS_EMIT_SOMETHING'} |
| 847 | 59 | 0 | 1 | $self->{'complain_die'} and $self->errors_seen |
| 851 | 58 | 0 | 1 | $self->{'CONTENTLESS'} and not $self->{'ALWAYS_EMIT_SOMETHING'} |
| 862 | 0 | 8 | 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 | 56 | 1 | 1 | defined $ENV{'SOURCE_DATE_EPOCH'} and not $ENV{'SOURCE_DATE_EPOCH'} =~ /\D/ |
| 1065 | 242 | 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 | 60 | $self->{'fixed'} ||= 'CW' |
| 204 | 1 | 60 | $self->{'fixedbold'} ||= 'CB' |
| 205 | 1 | 60 | $self->{'fixeditalic'} ||= 'CI' |
| 206 | 1 | 60 | $self->{'fixedbolditalic'} ||= 'CB' |
| 226 | 2 | 59 | $self->{'quotes'} ||= '"' |
| 263 | 61 | 0 | $version[2] ||= 0 |
| 497 | 0 | 19 | $hyphen ||= '' |
| 821 | 1 | 51 | $self->{'section'} || 1 |
| 826 | 0 | 59 | $self->bare_output or !1 |
| 860 | 6 | 3 | $self->source_filename || '' |
| 861 | 0 | 9 | $self->{'section'} || 1 |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 133 | 2 | 1 | 58 | $self->{'errors'} eq 'stderr' or $self->{'errors'} eq 'die' |
| 195 | 0 | 0 | 4 | length $font < 1 || length $font > 2 |
| 677 | 147 | 2 | 0 | $self->{'LQUOTE'} =~ /\"/ || $self->{'RQUOTE'} =~ /\"/ |
| 681 | 10 | 10 | 129 | $text =~ /\"/ or $text =~ /$fixedpat/ |
| 747 | 111 | 5 | 271 | $section or @entries |
| 970 | 6 | 2 | 0 | (stat $input)[9] || time |
| 1163 | 12 | 0 | 58 | $text eq 'NAME' || $text =~ /\(NAME\)/ |
| 1235 | 0 | 1 | 3 | not defined $to or $to eq $text |