Condition Coverage

blib/lib/Elive/Entity/Participant.pm
Criterion Covered Total %
condition 5 33 15.1


and 3 conditions

line !l l&&!r l&&r condition
169 52 0 7 defined $roleId and $roleId ne ''
229 0 0 0 defined $self->type and $self->type == $TYPE_GUEST
248 0 0 0 defined $role_id && $role_id != $Elive::Entity::Role::PARTICIPANT
274 0 0 0 defined $role_id and $role_id != $Elive::Entity::Role::PARTICIPANT

or 3 conditions

line l !l&&r !l&&!r condition
115 0 0 153 $spec{'type'} ||= $TYPE_USER
118 0 0 0 $spec{'type'} ||= $TYPE_GROUP
121 0 0 0 $spec{'type'} ||= $TYPE_GUEST
208 0 0 0 !defined($self->type) || $self->type == $TYPE_USER
209 0 0 0 $self->user or $self->group
261 106 0 0 shift() || $self
266 0 106 0 not defined $$data{'type'} or $$data{'type'} == $TYPE_USER