Branch Coverage

blib/lib/NetStumbler/Stumbler.pm
Criterion Covered Total %
branch 8 70 11.4


line true false branch
63 0 0 if ($line =~ /^#/)
67 0 0 if ($line =~ /(\w).(\d+\.\d+)\t(\w).(\d+\.\d+)\t\(.(.*).\)\t(\S+)\t\(.(\w+\:\w+\:\w+\:\w+\:\w+\:\w+).\)\t(.*)\[.(\w+).(\w+).(\w+).\]\t\#.\((.*)\)\t(\d+)\t(\d+)\t(\d+)\t(\d+)\t(\d+)/) { }
77 0 0 if ($time)
82 0 0 if ($mac)
90 0 0 unless ($name)
94 0 0 unless ($16)
96 0 0 unless ($ssid)
97 0 0 unless ($lat)
98 0 0 unless ($lon)
99 0 0 unless ($d1)
100 0 0 unless ($d2)
101 0 0 if ($d1 =~ /[sS]/)
102 0 0 if ($d2 =~ /[wW]/)
129 0 1 unless open FD, $file
133 2 0 if (/^#/)
135 1 1 if (/wi-scan summary with extensions/)
140 1 1 if ($found)
167 0 1 unless open FD, $file
171 1 0 if ($magic eq 'NetS') { }
193 0 0 unless open FD, $file
197 0 0 if ($magic eq 'Network') { }
293 0 0 unless ($sig =~ /NetS/)
294 0 0 unless ($ver > 6)
344 0 0 if ($wapinfo->isInfrastructure($flags)) { }
366 0 0 if ($ver > 6)
386 0 0 if ($ver > 8)
393 0 0 if ($ver > 11)
397 0 0 if ($ieLength > 0)
430 0 0 if ($loc > 0)
502 0 0 if ($r != 8)
524 0 0 if ($r != 4)
546 0 0 if ($r != 4)
568 0 0 if ($r != 1)
592 0 0 if ($r != $length)
612 0 0 if ($diff != $amt)