Branch Coverage

blib/lib/WWW/Scraper/Lite.pm
Criterion Covered Total %
branch 16 20 80.0


line true false branch
21 4 2 unless ($ref)
36 1 2 unless ($$self{'ua'})
52 0 1 if ($$self{'seen'}{$url}++)
100 1 1 unless ($url)
111 1 3 unless ($url)
117 0 3 unless ($current_url)
123 0 3 unless ($current_dir)
127 0 3 if ($url =~ /^mailto:/imsx)
131 1 2 if ($url =~ m[^[[:lower:]]+://]imsx)
138 1 1 if ($url =~ m[^/]msx)