Branch Coverage

lib/WWW/Automate.pm
Criterion Covered Total %
branch 15 28 53.5


line true false branch
167 2 2 if (isnumber($link)) { }
168 0 2 if ($link <= $#links) { }
177 0 2 if ($$l[1] =~ /$link/)
182 2 0 unless ($thislink)
222 0 2 if ($$self{'forms'}[$form - 1]) { }
245 0 1 if ($number > 1) { }
272 0 0 unless defined $_
373 0 2 if (@{$$self{'page_stack'};})
392 3 0 $$token[0] eq 'a' ? :
393 0 3 unless defined $url
394 3 0 $$token[0] eq 'a' ? :
419 3 0 if ($$self{'ct'} eq 'text/html')
421 0 3 if @{$$self{'forms'};}
428 2 2 if ($in =~ /^\d+$/) { }