Condition Coverage

blib/lib/AnyEvent/Mattermost.pm
Criterion Covered Total %
condition 0 56 0.0


and 3 conditions

line !l l&&!r l&&r condition
90 0 0 0 defined $host and length $host > 0
92 0 0 0 defined $team and length $team > 0
94 0 0 0 defined $user and defined $pass
0 0 0 defined $user and defined $pass and length $user > 0
0 0 0 defined $user and defined $pass and length $user > 0 and length $pass > 0
139 0 0 0 exists $userdata->{'user'} and ref $userdata->{'user'} eq 'HASH'
0 0 0 exists $userdata->{'user'} and ref $userdata->{'user'} eq 'HASH' and exists $userdata->{'user'}{'id'}
144 0 0 0 exists $userdata->{'teams'} and ref $userdata->{'teams'} eq 'ARRAY'
0 0 0 exists $userdata->{'teams'} and ref $userdata->{'teams'} eq 'ARRAY' and grep {$_->{'name'} eq $self->{'team'};} @{$$userdata{'teams'};}
269 0 0 0 defined $data and ref $data eq 'HASH'
272 0 0 0 exists $data->{'message'} and not ref $data->{'message'}
0 0 0 exists $data->{'message'} and not ref $data->{'message'} and length $data->{'message'} > 0
274 0 0 0 exists $data->{'channel'} and length $data->{'channel'} > 0
395 0 0 0 defined $data and ref $data eq 'HASH'
0 0 0 defined $data and ref $data eq 'HASH' and exists $data->{'channels'}
0 0 0 defined $data and ref $data eq 'HASH' and exists $data->{'channels'} and ref $data->{'channels'} eq 'ARRAY'
399 0 0 0 ref $channel eq 'HASH' and exists $channel->{'id'}
0 0 0 ref $channel eq 'HASH' and exists $channel->{'id'} and exists $channel->{'name'}

or 2 conditions

line l !l condition
329 0 0 $self->{'started'} // 0