Condition Coverage

blib/lib/Mail/Builder/List.pm
Criterion Covered Total %
condition 18 33 54.5


and 3 conditions

line !l l&&!r l&&r condition
37 0 0 18 &blessed($element) and $element->isa($type)
83 0 0 8 defined $object and &blessed($object)
0 0 8 defined $object and &blessed($object) and $object->isa($type)
95 0 0 1 scalar @elements == 1 && ref $elements[0] eq 'ARRAY'
120 10 13 1 &blessed($compare) and $item == $compare
154 3 4 0 &blessed($remove) and $item == $remove
5 1 1 $remove =~ /^\d+$/ and $index == $remove
188 0 0 21 defined $index and $index =~ /^\d+$/
193 0 0 21 $index =~ /^\d+$/ and defined $self->list->[$index]

or 3 conditions

line l !l&&r !l&&!r condition
154 0 0 7 &blessed($remove) and $item == $remove or $remove =~ /^\d+$/ and $index == $remove
1 1 5 &blessed($remove) and $item == $remove or $remove =~ /^\d+$/ and $index == $remove or $item->compare($remove)