Condition Coverage

blib/lib/Tree/Family/Person.pm
Criterion Covered Total %
condition 30 39 76.9


and 3 conditions

line !l l&&!r l&&r condition
241 1 2 2 $self->gender and $self->gender eq 'f'
3 1 1 $self->gender and $self->gender eq 'f' and $which->mom
242 1 2 2 $self->gender and $self->gender eq 'm'
3 1 1 $self->gender and $self->gender eq 'm' and $which->dad
311 0 3829 807 defined $$_{$key} && $$_{$key} eq $value
380 395 5 373 $person->dad and $person->mom
400 373 0 $person->dad and $person->mom and !$person->mom->spouse || $person->mom->spouse ne $person->dad
350 1 22 $person->dad and $person->mom and !$person->mom->spouse || $person->mom->spouse ne $person->dad and not grep({$_ eq $person->dad;} $person->mom->partners)
442 174 0 0 ref $tmp && $tmp->isa('REF')
445 112 0 0 ref $_ && $_->isa('REF')
448 32 0 0 ref $_ && $_->isa('REF')

or 3 conditions

line l !l&&r !l&&!r condition
72 761 1 0 $$h{$keyMethod} || int(rand(1) * 10000) . $$
380 11 12 350 !$person->mom->spouse || $person->mom->spouse ne $person->dad