blib/lib/WWW/Mechanize/CGI.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 34 | 42 | 80.9 |
line | true | false | branch |
---|---|---|---|
19 | 8 | 6 | if (@_) |
29 | 1 | 0 | unless ('File::Spec'->file_name_is_absolute($application)) |
35 | 0 | 1 | unless (-e $application) |
39 | 0 | 1 | unless (-f _) |
43 | 0 | 1 | unless (-x _) |
52 | 0 | 2 | if ($status == -1) |
56 | 1 | 1 | if ($value > 0) |
67 | 3 | 22 | if (@_) |
77 | 4 | 11 | if (@_) |
81 | 5 | 10 | unless $$self{'env'} |
87 | 9 | 0 | if ($self->cookie_jar) |
95 | 5 | 4 | if ($self->fork) |
100 | 0 | 5 | unless (defined $kid) |
105 | 6 | 3 | unless ($kid) |
113 | 2 | 4 | if ($self->fork) |
116 | 1 | 1 | if $@ |
118 | 1 | 1 | if $@ |
125 | 3 | 4 | if ($self->fork) |
130 | 1 | 2 | if $? >> 8 > 0 |
133 | 3 | 4 | if ($error) { } |
147 | 7 | 0 | if ($self->cookie_jar) |