Branch Coverage

blib/lib/Net/Wireless/802_11/WPA/CLI.pm
Criterion Covered Total %
branch 0 126 0.0


line true false branch
62 0 0 if (defined $socket)
69 0 0 if (!$? == 0)
77 0 0 if ($self->error)
105 0 0 unless ($self->errorblank)
112 0 0 if ($self->error)
117 0 0 if ($returned =~ /.*\nFAIL\n/)
196 0 0 unless ($self->errorblank)
200 0 0 unless (defined $bssid)
217 0 0 unless ($bssid =~ /$macregexp/)
226 0 0 if (!$? == 0)
234 0 0 if ($status =~ /.*\nFAIL\n/)
241 0 0 if ($self->error)
267 0 0 unless ($self->errorblank)
290 0 0 unless ($self->errorblank)
295 0 0 unless ($nid =~ /^[0123456789]*$/)
322 0 0 unless ($self->errorblank)
327 0 0 unless ($nid =~ /^[0123456789]*$/)
361 0 0 unless ($self->errorblank)
365 0 0 unless (defined $request)
373 0 0 unless (defined $$self{'capabilities'}{$request})
383 0 0 if ($self->error)
388 0 0 if ($returned =~ /.*\nFAIL\n/)
421 0 0 unless ($self->errorblank)
426 0 0 unless ($nid =~ /^[0123456789]*$/)
436 0 0 unless (defined $returned)
441 0 0 if ($returned =~ /.*\nFAIL\n/)
487 0 0 unless ($self->errorblank)
494 0 0 if ($self->error)
499 0 0 if ($returned =~ /.*\nFAIL\n/)
520 0 0 if (defined $linesplit[3])
551 0 0 unless ($self->errorblank)
556 0 0 unless ($nid =~ /^[0123456789]*$/)
582 0 0 unless ($self->errorblank)
587 0 0 unless ($nid =~ /^[0123456789]*$/)
613 0 0 unless ($self->errorblank)
637 0 0 unless ($self->errorblank)
660 0 0 unless ($self->errorblank)
683 0 0 unless ($self->errorblank)
688 0 0 unless ($nid =~ /^[0123456789]*$/)
715 0 0 unless ($self->errorblank)
738 0 0 unless ($self->errorblank)
798 0 0 unless ($self->errorblank)
805 0 0 if ($self->error)
810 0 0 if ($returned =~ /.*\nFAIL\n/)
861 0 0 unless ($self->errorblank)
866 0 0 unless ($nid =~ /^[0123456789]*$/)
894 0 0 unless ($self->errorblank)
899 0 0 unless ($nid =~ /^[0123456789]*$/)
925 0 0 unless ($self->errorblank)
931 0 0 if (!$? == 0)
938 0 0 if ($status =~ /.*\nFAIL\n/)
945 0 0 if ($self->error)
969 0 0 unless ($self->errorblank)
975 0 0 if ($self->error)
980 0 0 if ($returned =~ /.*\nFAIL\n/)
1014 0 0 unless ($self->errorblank)
1020 0 0 if (!$? == 0)
1028 0 0 if ($status =~ /.*\nFAIL\n/)
1035 0 0 if ($status =~ /.*\nOK\n/)
1067 0 0 unless ($self->errorblank)
1073 0 0 if (!$? == 0)
1097 0 0 unless (defined $type)
1101 0 0 unless ($statusA[0] =~ /^Selected interface/)