Condition Coverage

blib/lib/Pod/Man.pm
Criterion Covered Total %
condition 85 120 70.8


and 2 conditions

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
192 44 $bold && 1
172 64 $italic && 1
1068 0 242 defined $line and 0
1153 0 83 defined $line and 0

and 3 conditions

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'}
850 59 0 1 $self->{'complain_die'} and $self->errors_seen
854 58 0 1 $self->{'CONTENTLESS'} and not $self->{'ALWAYS_EMIT_SOMETHING'}
865 0 8 1 not $self->{'section'} and $name =~ /\.pm\z/i
914 0 0 0 $dirs[$i + 1] and $dirs[$i + 1] eq 'lib'
925 0 0 0 $dirs[0] eq 'blib' and $dirs[1] eq 'lib'
964 56 1 1 defined $ENV{'SOURCE_DATE_EPOCH'} and not $ENV{'SOURCE_DATE_EPOCH'} =~ /\D/
1068 242 0 0 defined $line and 0 and not $self->{'IN_NAME'}
1111 13 0 0 $unbroken > 12 and not $self->{'MAGIC_VNOPAGEBREAK_LIMIT'}
1265 0 0 42 defined $indent and $indent =~ /^[-+]?\d{1,4}\s*$/
1402 0 0 1 defined $opts->{'-cutting'} and not $opts->{'-cutting'}

or 2 conditions

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 ||= ''
824 1 51 $self->{'section'} || 1
829 0 59 $self->bare_output or !1
863 6 3 $self->source_filename || ''
864 0 9 $self->{'section'} || 1

or 3 conditions

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
973 6 2 0 (stat $input)[9] || time
1166 12 0 58 $text eq 'NAME' || $text =~ /\(NAME\)/
1238 0 1 3 not defined $to or $to eq $text