Branch Coverage

blib/lib/Circle/Net/Matrix/Room.pm
Criterion Covered Total %
branch 0 42 0.0


line true false branch
46 0 0 unless my $code = $self->can($method)
51 0 0 unless eval { do { $self->$code(@args); 1 } }
142 0 0 if ($type =~ /^(.*)\*$/) { }
178 0 0 if $event = $state->get_event('m.room.name')
183 0 0 if @others == 1
210 0 0 if $members_by_membership{'invite'}
257 0 0 if ($type eq 'm.text') { }
0 0 elsif ($type eq 'm.notice') { }
0 0 elsif ($type eq 'm.emote') { }
300 0 0 if (my $membership = $changes{'membership'})
301 0 0 if (($membership->[0] // '') ne 'join' and $membership->[1] eq 'join')
309 0 0 if ($membership->[0] eq 'join' and not defined $membership->[1])
322 0 0 if (my $displayname = $changes{'displayname'}) { }
0 0 elsif (my $state = $changes{'state'}) { }
0 0 elsif (keys %changes) { }
333 0 0 defined $message ? :
354 0 0 $member ? :
359 0 0 if (my $code = $$watches{$event->{'type'}})
380 0 0 unless (@members)
398 0 0 unless $member->user->user_id eq $my_userid
400 0 0 if ($event_id eq $self->{'latest_event_id'})