Branch Coverage

blib/lib/Net/Async/Matrix/Room/State.pm
Criterion Covered Total %
branch 7 14 50.0


line true false branch
49 0 18 unless defined $event->{'state_key'}
115 0 2 unless my $event = $self->get_event('m.room.name')
131 0 2 unless my $event = $self->get_event('m.room.join_rules')
146 0 2 unless my $event = $self->get_event('m.room.topic')
184 0 5 if $content->{'membership'} eq 'leave' and not $with_leaves
220 0 12 unless my $event = $self->get_event('m.room.member', $user_id)
243 0 2 unless my $event = $self->get_event('m.room.power_levels')