Branch Coverage

blib/lib/Net/OpenSoundControl.pm
Criterion Covered Total %
branch 33 44 75.0


line true false branch
22 0 5 if ($Net::OpenSoundControl::Config{'byteorder'} eq '1234') { }
5 0 elsif ($Net::OpenSoundControl::Config{'byteorder'} eq '12345678') { }
134 0 19 unless $data
136 7 12 if ($data =~ /^\#bundle/) { }
150 0 7 unless $data =~ /^($_match_OSCString)(.*)/x
156 1 6 if ($secs eq 0 and $frac == $IMMEDIATE_FRACTION) { }
182 0 12 unless $data =~ /^($_match_OSCString)(.*)/x
189 0 12 unless $data =~ /^($_match_OSCString)(.*)/x
199 9 6 if (/i/)
206 2 4 if (/f/)
214 2 2 if (/s/)
215 0 2 unless $data =~ /^($_match_OSCString)(.*)/x
221 2 0 if (/b/)
251 0 21 unless $data and ref $data
255 7 14 if ($$data[0] eq '#bundle')
274 11 10 if ($t eq 'i')
275 5 16 if ($t eq 'f')
276 3 18 if ($t eq 's')
277 2 19 if ($t eq 'b')
351 0 40 unless defined $str
366 0 2 unless defined $d
380 1 6 if ($timetag == 0) { }