Condition Coverage

blib/lib/Text/Amuse/Element.pm
Criterion Covered Total %
condition 43 62 69.3


and 3 conditions

line !l l&&!r l&&r condition
46 358561 0 110316 exists $args{$accessor} and defined $args{$accessor}
58 27161 0 420 exists $args{'anchor'} and length $args{'anchor'}
329 50505 404 352 $self->type eq "startblock" and $self->block eq $block
345 0 1967 374 $element and $self->type eq "stopblock"
1967 41 333 $element and $self->type eq "stopblock" and $self->block eq $element->type
2008 15 318 $element and $self->type eq "stopblock" and $self->block eq $element->type and $self->style eq $element->style
517 6697 5786 2595 $self->can_merge_next and $element->can_be_merged
520 12026 10 447 $self->type eq "footnote" and $element->type ne "footnote"
12036 427 20 $self->type eq "footnote" and $element->type ne "footnote" and $element->type ne "null"
437 0 20 $self->type eq "footnote" and $element->type ne "footnote" and $element->type ne "null" and not $element->should_close_blocks
528 30023 4900 1518 $self->type eq $type and $element->type eq $type

or 2 conditions

line l !l condition
328 51261 0 shift() || ''

or 3 conditions

line l !l&&r !l&&!r condition
175 28080 18168 0 $self->{'block'} || $self->type
365 0 0 0 $self->type eq "li" or $self->type eq "null"
0 0 0 $self->type eq "li" or $self->type eq "null" or $self->type eq "regular"
410 2595 0 5786 $self->type eq "regular" or $self->type eq "verse"
426 0 0 0 $self->type eq "li" or $self->type eq "null"
0 0 0 $self->type eq "li" or $self->type eq "null" or $self->type eq "regular"
444 172 67 4259 $self->block eq "quote" or $self->block eq "center"
239 39 4220 $self->block eq "quote" or $self->block eq "center" or $self->block eq "right"
496 209 267 4125 $type eq "verse" or $type eq "footnote"