Branch Coverage

blib/lib/Net/STOMP/Client/HeartBeat.pm
Criterion Covered Total %
branch 1 32 3.1


line true false branch
36 0 0 if @_ == 0
38 0 0 if (@_ == 1 and defined $value and ref $value eq '')
54 0 0 if @_ == 0
56 0 0 if (@_ == 1 and defined $value and ref $value eq '')
71 0 0 unless $self->{'io'}
82 0 0 unless $self->{'io'}
96 0 0 unless $delta
99 0 0 if &Time::HiRes::time() - $sent < $delta / 2
113 1 0 unless $self
127 0 0 if defined $frame->header('heart-beat')
129 0 0 unless grep(($_ ne '1.0'), $self->accept_version)
133 0 0 if $chb or $shb
143 0 0 unless $x and $y
144 0 0 $x > $y ? :
156 0 0 if (defined $value) { }
158 0 0 if ($value =~ /^(\d+),(\d+)$/) { }