blib/lib/Pod/Term.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 43 | 77 | 55.8 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
173 | 2467 | 16 | 0 | defined $globals and ref $globals ne ref {} |
188 | 5992 | 17 | 0 | defined $prop_map and ref $prop_map ne ref {} |
215 | 0 | 0 | 156 | $element_name and $prop_name |
0 | 0 | 156 | $element_name and $prop_name and $value | |
224 | 1344 | 0 | 0 | defined $stack and ref $stack ne ref [] |
237 | 2016 | 0 | 0 | defined $color and ref $color ne ref '' |
250 | 864 | 0 | 0 | defined $color and ref $color ne ref '' |
264 | 864 | 0 | 0 | defined $blocks and ref $blocks ne ref [] |
338 | 2452 | 13 | 47 | $prop_set->{'after_indent'} and $i != $#stack |
425 | 0 | 0 | 288 | $display and $display eq 'block' |
464 | 0 | 0 | 288 | $display and $display eq 'block' |
469 | 0 | 272 | 16 | $block->{'wrap'} and $block->{'wrap'} eq 'verbatim' |
548 | 0 | 498 | 0 | not $li->{'text'} =~ /^\s*$/s and $li->{'color'} |
629 | 226 | 226 | 0 | not $clipped and $chars_left == $max_chars |
line | l | !l | condition |
---|---|---|---|
230 | 1328 | 16 | $self->{'stack'} ||= [] |
270 | 848 | 16 | $self->{'blocks'} ||= [] |
427 | 37 | 251 | $self->_get_prop($element, 'top_spacing') || 0 |
437 | 16 | 272 | $self->_get_prop($element, 'wrap') || 'normal' |
438 | 37 | 251 | $self->_get_prop($element, 'top_spacing') || 0 |
439 | 272 | 16 | $self->_get_prop($element, 'bottom_spacing') || 0 |
583 | 5 | 11 | $block->{'indent'} || 0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
179 | 2482 | 1 | 0 | $self->{'globals'} ||= $self->_default_globals |
194 | 6008 | 1 | 0 | $self->{'prop_map'} ||= $self->_default_prop_map |
242 | 0 | 0 | 2016 | $self->{'color'} ||= $self->globals->{'base_color'} |
256 | 0 | 0 | 864 | $self->{'last_color'} ||= $self->_color |
352 | 0 | 48 | 0 | $block ||= $self->_blocks->[0] |
366 | 0 | 0 | 48 | $ins->{'color'} || $self->_color |
576 | 0 | 0 | 16 | $color ||= $item->{'color'} |