Condition Coverage

blib/lib/WebService/VirusTotal.pm
Criterion Covered Total %
condition 0 42 0.0


and 3 conditions

line !l l&&!r l&&r condition
113 0 0 0 not defined $self->{'CACHE'} and $self->conn_cache
201 0 0 0 length $file > $self->allowlong and not $file =~ m[/]
205 0 0 0 -r $file and not $file =~ /\.\./
284 0 0 0 ref $self and ref $self->{'scanhash'}
289 0 0 0 defined $self->{'valid_conn'} and $self->{'valid_conn'}
0 0 0 defined $self->{'valid_conn'} and $self->{'valid_conn'} and defined $self->{'ua'}
314 0 0 0 not $self->{'valid_conn'} and $self->{'last_conn_check'} < time - 300
344 0 0 0 defined $sha and $sha ne ''
467 0 0 0 exists $self->{'scanhash'}{$scankey} and defined $self->{'scanhash'}{$scankey}{'key'}
474 0 0 0 $self->{'scanhash'}{$scankey}{'last_checked'} and $self->{'scanhash'}{$scankey}{'last_checked'} > time - 300

or 3 conditions

line l !l&&r !l&&!r condition
374 0 0 0 defined $self->{'valid_conn'} or $self->{'valid_conn'}
415 0 0 0 $respcode eq '-2' or $respcode eq '0'
461 0 0 0 defined $self->{'valid_conn'} or $self->{'valid_conn'}
510 0 0 0 $respcode eq '-2' or $respcode eq '0'