Condition Coverage

blib/lib/Text/Amuse/Document.pm
Criterion Covered Total %
condition 81 92 88.0


and 3 conditions

line !l l&&!r l&&r condition
140 0 3686 10 @args and $self->{'debug'}
436 0 0 2 -e $final and -T $final
536 24 6 15 $current_direction and $current_direction ne $dir
564 70 44 779 $self->_list_element_is_same_kind_as_in_list($el) and $self->_list_element_is_a_progression($el)
570 71 43 228 $self->_list_pile_count and _indentation_kinda_equal($top, $self->_list_pile_last_element)
622 133 0 106 $el->can_be_regular and $el->indentation
133 8 98 $el->can_be_regular and $el->indentation and _kinda_equal($el->indentation, $fn_indent)
658 9343 3082 31 @pile and $el->should_close_blocks
665 25 0 2416 $exp and $exp->block eq $el->block
680 10 6 15 $block->block eq 'rtl' || $block->block eq 'ltr' and not $close_rtl{$el->type}
874 5733 3374 544 $l =~ /^(\x{20}+)/s and $l =~ /\|/
1071 1626 11774 6076 $current and $current->type eq 'null' || $current->type eq 'startblock'
11774 5888 188 $current and $current->type eq 'null' || $current->type eq 'startblock' and $current->anchors
1075 11504 7648 324 $element->type eq "null" and $element->anchors
19152 179 145 $element->type eq "null" and $element->anchors and $current->type ne "null"
7827 37 108 $element->type eq "null" and $element->anchors and $current->type ne "null" and $current->type ne "example"
1090 4839 46422 2336 $current and $current->type eq $block
1100 1805 209 6 $current->type eq "verse" and $element->type eq "inlinecomment"
1121 1602 10945 4133 $current and $current->can_append($element)
1133 0 0 7148 $open_close and $block
1156 1288 0 128 $el->attribute and $el->attribute_type
1214 346 1 2865 $one_indent and $two_indent
1336 2835 1078 644 $self->_list_pile_count and _indentation_kinda_minor($el, $self->_list_pile_last_element)
1355 0 0 823 $last && $current
0 506 317 $last > 0 and $current > 1

or 2 conditions

line l !l condition
245 32 485 $header{'lang'} || $header{'language'} || 'en'

or 3 conditions

line l !l&&r !l&&!r condition
554 1310 128 11721 $el->type eq "li" or $el->type eq "dd"
618 437 119 17093 $el->type eq "footnote" or $el->type eq "secondary_footnote"
680 6 15 10 $block->block eq 'rtl' || $block->block eq 'ltr'
1071 6008 68 11774 $current->type eq 'null' || $current->type eq 'startblock'
1237 825 68 893 $block eq "li" or $block eq "dd"