Branch Coverage

blib/lib/Net/WAMP/Session.pm
Criterion Covered Total %
branch 9 36 25.0


line true false branch
43 0 2 unless $opts{'serialization'}
44 0 2 unless $opts{'serialization'}
88 0 1 if ($self->{'_peer_roles'})
102 1 0 $self->{'_peer_roles'}{$role} ? :
108 0 0 unless length $role
109 0 0 unless length $feature
113 0 0 if (my $brk = $self->{'_peer_roles'}{$role})
114 0 0 if (my $features_hr = $brk->{'features'})
116 0 0 unless defined $val
118 0 0 unless ($val->isa('Types::Serialiser::Boolean'))
132 0 1 unless $self->{'_peer_roles'}
144 0 0 if ($self->{'_sent_GOODBYE'})
150 0 0 if ($self->{'_received_GOODBYE'})
162 0 0 if ($self->{'_sent_GOODBYE'})
170 0 2 $_[0]{'_finished'} ? :
217 1 1 unless $ser_mod->can('stringify')
228 0 0 $self->{'_serialization_module'} ? :
248 0 4 unless $mod->can('new')