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 3688 42 @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 780 $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 138 0 106 $el->can_be_regular and $el->indentation
138 8 98 $el->can_be_regular and $el->indentation and _kinda_equal($el->indentation, $fn_indent)
658 9424 3107 31 @pile and $el->should_close_blocks
665 25 0 2440 $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 5799 3385 547 $l =~ /^(\x{20}+)/s and $l =~ /\|/
1071 1640 11870 6122 $current and $current->type eq 'null' || $current->type eq 'startblock'
11870 5934 188 $current and $current->type eq 'null' || $current->type eq 'startblock' and $current->anchors
1075 11605 7703 324 $element->type eq "null" and $element->anchors
19308 179 145 $element->type eq "null" and $element->anchors and $current->type ne "null"
7882 37 108 $element->type eq "null" and $element->anchors and $current->type ne "null" and $current->type ne "example"
1090 4881 46823 2347 $current and $current->type eq $block
1100 1808 213 6 $current->type eq "verse" and $element->type eq "inlinecomment"
1121 1616 11047 4158 $current and $current->can_append($element)
1133 0 0 7218 $open_close and $block
1156 1295 0 131 $el->attribute and $el->attribute_type
1214 360 1 2871 $one_indent and $two_indent
1336 2850 1079 658 $self->_list_pile_count and _indentation_kinda_minor($el, $self->_list_pile_last_element)
1355 0 0 824 $last && $current
0 507 317 $last > 0 and $current > 1

or 2 conditions

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

or 3 conditions

line l !l&&r !l&&!r condition
554 1317 131 11835 $el->type eq "li" or $el->type eq "dd"
618 450 125 17245 $el->type eq "footnote" or $el->type eq "secondary_footnote"
680 6 15 10 $block->block eq 'rtl' || $block->block eq 'ltr'
1071 6053 69 11870 $current->type eq 'null' || $current->type eq 'startblock'
1237 825 69 894 $block eq "li" or $block eq "dd"