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 361604 0 111285 exists $args{$accessor} and defined $args{$accessor}
58 27397 0 420 exists $args{'anchor'} and length $args{'anchor'}
329 50937 411 356 $self->type eq "startblock" and $self->block eq $block
345 0 1974 378 $element and $self->type eq "stopblock"
1974 41 337 $element and $self->type eq "stopblock" and $self->block eq $element->type
2015 15 322 $element and $self->type eq "stopblock" and $self->block eq $element->type and $self->style eq $element->style
517 6747 5838 2620 $self->can_merge_next and $element->can_be_merged
520 12115 12 458 $self->type eq "footnote" and $element->type ne "footnote"
12127 438 20 $self->type eq "footnote" and $element->type ne "footnote" and $element->type ne "null"
450 0 20 $self->type eq "footnote" and $element->type ne "footnote" and $element->type ne "null" and not $element->should_close_blocks
528 30278 4947 1518 $self->type eq $type and $element->type eq $type

or 2 conditions

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

or 3 conditions

line l !l&&r !l&&!r condition
175 28336 18293 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 2620 0 5838 $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 68 4284 $self->block eq "quote" or $self->block eq "center"
240 39 4245 $self->block eq "quote" or $self->block eq "center" or $self->block eq "right"
496 213 272 4145 $type eq "verse" or $type eq "footnote"