blib/lib/Pod/Text.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 37 | 49 | 75.5 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
91 | 28 | 0 | 1 | $self->{'opt_stderr'} and not $self->{'opt_errors'} |
279 | 1173 | 45 | 5 | $encoding and $encoding ne $self->{'ENCODING'} |
303 | 39 | 0 | 1 | $attrs->{'contentless'} and not $self->{'ALWAYS_EMIT_SOMETHING'} |
342 | 39 | 0 | 1 | $self->{'complain_die'} and $self->errors_seen |
389 | 37 | 0 | 2 | $self->{'opt_alt'} and $indent > 0 |
396 | 13 | 22 | 4 | $text and $text =~ /^\s*$/ |
400 | 13 | 4 | 22 | $text and $text =~ /\S/ |
405 | 95 | 0 | 2 | $self->{'opt_alt'} and $indent > 0 |
506 | 0 | 0 | 66 | defined $indent and $indent =~ /^\s*[-+]?\d{1,4}\s*$/ |
690 | 0 | 0 | 1 | defined $$opts{-'cutting'} and not $$opts{-'cutting'} |
line | l | !l | condition |
---|---|---|---|
125 | 1 | 28 | $self->{'opt_quotes'} ||= '"' |
278 | 50 | 1173 | $self->{'encoding'} || '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
100 | 2 | 1 | 26 | $self->{'opt_errors'} eq 'stderr' or $self->{'opt_errors'} eq 'die' |
239 | 40 | 0 | 0 | s/^([^\n]{0,$width})\s+// or s/^([^\n]{$width})// |
385 | 13 | 4 | 119 | not $text or $text =~ /^\s+$/ |
17 | 22 | 97 | not $text or $text =~ /^\s+$/ or not $fits | |
620 | 0 | 3 | 3 | not defined $attrs->{'to'} or $attrs->{'to'} eq $text |