Branch Coverage

blib/lib/WWW/Mechanize/Pliant.pm
Criterion Covered Total %
branch 4 38 10.5


line true false branch
52 0 1 if ($self->content =~ m[You should select this link to get the right page]) { }
0 1 elsif ($self->content =~ /If your browser is not smart enough to switch back automatically when the computation is over, then you'll have to press the Back button (\d+) time/) { }
67 0 1 unless $retval
74 0 0 unless $retval
81 0 0 unless $retval
88 0 0 if (my $name = $self->pliant_form->find_field($regex))
147 0 0 if ($content =~ /title="$regex"\s+onClick="button_pressed\('(.*?)'\)"/) { }
0 0 elsif ($content =~ /name="(button.*?)"\s+value="$regex"/) { }
154 0 0 unless $retval
192 0 0 if (/button/) { }
0 0 elsif (/_pliant_x/) { }
0 0 elsif (/_pliant_y/) { }
201 0 0 unless $found_button
221 1 0 unless ($$self{'pliant_form'})
286 0 0 if (@inputs) { }
291 0 0 wantarray ? :
297 0 0 if (my $name = $self->find_field($regex))
319 0 0 if ($self->find_field("dummy_$checkbox_name"))
346 0 0 if (my $name = $self->find_checkbox_hidden_field($regex))