Branch Coverage

blib/lib/Device/Modem/GSM.pm
Criterion Covered Total %
branch 0 52 0.0


line true false branch
97 0 0 if (@_)
100 0 0 if (not defined $$self{'pb_storage'} or $new_pb_storage ne $$self{'pb_storage'}) { }
106 0 0 if ($result eq 'OK') { }
114 0 0 if ($result eq 'OK') { }
115 0 0 if ($lines[0] =~ /^\+CPBR:\s\((.*)-(.*)\),(.*),(.*)$/) { }
148 0 0 if (exists $$self{'pb_storage'}) { }
149 0 0 if (exists $$self{'pb_storage_min'} and exists $$self{'pb_storage_max'}) { }
195 0 0 if ($args{'index'} ne '')
196 0 0 if ($self->pb_storage_ok >= 2) { }
197 0 0 if ($args{'index'} < $$self{'pb_storage_min'} or $args{'index'} > $$self{'pb_storage_max'})
211 0 0 if ($args{'number'} =~ /^\+(.*)$/) { }
219 0 0 if (length $args{'number'} > $$self{'pb_storage_nlength'})
223 0 0 if (length $args{'text'} > $$self{'pb_storage_tlength'})
239 0 0 if ($result ne 'OK')
263 0 0 if ($self->pb_storage_ok > 1)
264 0 0 if ($idx < $$self{'pb_storage_min'} or $idx > $$self{'pb_storage_max'})
288 0 0 if ($self->pb_storage_ok < 2)
325 0 0 if ($self->pb_storage_ok < 2)
329 0 0 if ($idx < $$self{'pb_storage_min'} or $idx > $$self{'pb_storage_max'} or defined $idx2 and $idx2 < $$self{'pb_storage_min'} || $idx2 > $$self{'pb_storage_max'})
339 0 0 if (defined $idx2)
350 0 0 if $line =~ /^$/
351 0 0 if ($line =~ /^\+CPBR:\s+([0-9]+),\"([0-9]*)\",([0-9]+),\"(.*)\"$/) { }
361 0 0 if ($type == 145)
383 0 0 if ($self->pb_storage_ok < 2)
418 0 0 if ($result ne 'OK')
428 0 0 if ($result ne 'OK')