Condition Coverage

blib/lib/Image/Grab.pm
Criterion Covered Total %
condition 13 46 28.2


and 3 conditions

line !l l&&!r l&&r condition
124 0 0 3 defined $self->search_url and defined $self->do_posix
130 3 0 0 not $req->is_success and $count < $times
136 3 0 0 $count == $times and not $req->is_success
183 0 0 1 defined $self->regexp and defined $self->do_posix
213 11 0 0 $self->cookiefile and not -f $self->cookiefile
11 0 0 $self->cookiefile and not defined $self->cookiejar
265 0 8 0 $count <= $times and not $rc->is_success
311 0 0 0 defined $self->date and $self->date >= $tmp->date
313 0 0 0 defined $self->md5 and $self->md5 eq $tmp->md5

or 2 conditions

line l !l condition
114 1 2 shift() || 10
159 0 0 shift() || 10
169 8 0 shift() || 10
196 1 0 $self->regexp || '.'
297 0 0 shift() || 10

or 3 conditions

line l !l&&r !l&&!r condition
48 0 11 0 ref $that || $that
190 1 0 0 $self->regexp or $self->index
299 0 0 0 defined $self->date or defined $self->md5