Condition Coverage

blib/lib/Net/STOMP/Client/Frame.pm
Criterion Covered Total %
condition 19 66 28.7


and 3 conditions

line !l l&&!r l&&r condition
121 0 0 0 32 <= $char and $char <= 126
0 0 0 32 <= $char and $char <= 126 and $char != 37
139 0 0 0 $DebugBodyLength and $length > $DebugBodyLength
155 0 0 0 32 <= $char && $char <= 126
236 0 0 0 @_ == 1 and defined $value
0 0 0 @_ == 1 and defined $value and ref $value eq ""
0 0 0 @_ == 1 and defined $value and ref $value eq "" and $value =~ /$new_options{'command'}{'regex'}/
251 0 0 0 @_ == 1 and ref $value eq "HASH"
265 0 0 0 @_ == 1 and ref $value eq "SCALAR"
283 0 0 0 @_ == 1 and defined $value
0 0 0 @_ == 1 and defined $value and ref $value eq ""
308 0 0 8 defined $key and ref $key eq ""
399 23 0 6 $index == $tmp + 1 and substr(${$bufref;}, $tmp, 1) eq "\r"
595 4 0 7 $option{'version'} ge "1.1" and $frame{'headers'}
768 0 0 0 @_ == 2 and $_[0] eq "Net::STOMP::Client::Frame"

or 2 conditions

line l !l condition
219 13 4 $option{'command'} ||= "SEND"
220 12 5 $option{'headers'} ||= {}
221 14 3 $option{'body_reference'} ||= \""
364 43 1 $option{'state'} || {}
495 0 11 $option{'debug'} ||= ""
496 0 11 $option{'state'} || {}
498 11 0 $option{'version'} ||= "1.0"
643 0 0 $option{'debug'} ||= ""
645 0 0 $option{'version'} ||= "1.0"

or 3 conditions

line l !l&&r !l&&!r condition
452 4 5 4 $tmp eq "\r" or $tmp eq "\n"