Condition Coverage

blib/lib/Pod/Text.pm
Criterion Covered Total %
condition 37 49 75.5


and 3 conditions

line !l l&&!r l&&r condition
110 28 0 1 $self->{'opt_stderr'} and not $self->{'opt_errors'}
303 1173 45 5 $encoding and $encoding ne $self->{'ENCODING'}
327 39 0 1 $attrs->{'contentless'} and not $self->{'ALWAYS_EMIT_SOMETHING'}
366 39 0 1 $self->{'complain_die'} and $self->errors_seen
413 37 0 2 $self->{'opt_alt'} and $indent > 0
420 13 22 4 $text and $text =~ /^\s*$/
424 13 4 22 $text and $text =~ /\S/
429 95 0 2 $self->{'opt_alt'} and $indent > 0
530 0 0 66 defined $indent and $indent =~ /^\s*[-+]?\d{1,4}\s*$/
714 0 0 1 defined $opts->{'-cutting'} and not $opts->{'-cutting'}

or 2 conditions

line l !l condition
144 1 28 $self->{'opt_quotes'} ||= '"'
302 50 1173 $self->{'encoding'} || ''

or 3 conditions

line l !l&&r !l&&!r condition
119 2 1 26 $self->{'opt_errors'} eq 'stderr' or $self->{'opt_errors'} eq 'die'
258 39 0 0 s/^([^\n]{0,$width})\s+// or s/^([^\n]{$width})//
409 13 4 119 not $text or $text =~ /^\s+$/
17 22 97 not $text or $text =~ /^\s+$/ or not $fits
644 0 3 3 not defined $attrs->{'to'} or $attrs->{'to'} eq $text