Branch Coverage

blib/lib/Net/Stomp/Producer.pm
Criterion Covered Total %
branch 22 24 91.6


line true false branch
26 20 1 unless ref $message
52 1 1 if ($value) { }
67 20 11 $requested_method eq '' || $requested_method eq 'default' ? :
94 1 1 if (eval { do { $_[0]->isa('Net::Stomp::Producer::Exceptions::CantSerialize') } })
111 19 6 if defined $destination
114 14 11 unless m[^/]
129 1 22 unless $ret
157 0 8 if ref $transformer
160 4 4 if ($transformer->can('new'))
177 0 8 unless my $method = &try(sub { $transformer->can('transform'); } )
188 2 6 if ($vmethod)
193 1 1 unless ($valid)