Condition Coverage

blib/lib/Mojo/Webqq/Model.pm
Criterion Covered Total %
condition 0 67 0.0


and 3 conditions

line !l l&&!r l&&r condition
95 0 0 0 defined $self->model_status->{'friend'} and defined $self->model_status->{'group'}
100 0 0 0 $self->model_status->{'friend'} == 0 && $self->model_status->{'group'} == 0
261 0 0 0 defined $friends_ext_info and ref $friends_ext_info eq 'ARRAY'
322 0 0 0 ref $self->friend eq 'ARRAY' and @{$self->friend;} == 0
414 0 0 0 defined $group and defined $group->uid
426 0 0 0 defined $group_list_ext and ref $group_list_ext eq 'ARRAY'
559 0 0 0 $p{'is_update_group_ext'} && $p{'is_blocking'}
586 0 0 0 $p{'is_blocking'} && $p{'is_update_group_ext'} && $p{'is_update_group_member'}
599 0 0 0 ref $self->group eq 'ARRAY' and @{$self->group;} == 0
790 0 0 0 ref $self->discuss eq 'ARRAY' and @{$self->discuss;} == 0
873 0 0 0 $group->role ne 'manage' and $group->role ne 'create'
897 0 0 0 $group->role ne 'manage' and $group->role ne 'create'
933 0 0 0 $group->role ne 'manage' and $group->role ne 'create'
961 0 0 0 $group->role ne 'manage' and $group->role ne 'create'
1036 0 0 0 not $member->is_me and $group->role ne 'create'
0 0 0 not $member->is_me and $group->role ne 'create' and $group->role ne 'manage'

or 2 conditions

line l !l condition
486 0 0 $_[0]{'name'} // ''
487 0 0 $_[0]{'card'} // ''

or 3 conditions

line l !l&&r !l&&!r condition
414 0 0 0 defined $group || &first(sub { not defined $_->uid; } , @{$self->group;})
507 0 0 0 $group->{'max_member'} //= $group_info_ext->{'max_member'}
508 0 0 0 $group->{'max_admin'} //= $group_info_ext->{'max_admin'}
939 0 0 0 $_->role eq 'admin' or $_->role eq 'owner'
967 0 0 0 $_->role eq 'admin' or $_->role eq 'owner'