Condition Coverage

blib/lib/Ed2k_link.pm
Criterion Covered Total %
condition 2 51 3.9


and 3 conditions

line !l l&&!r l&&r condition
79 0 0 0 $_[0] eq 'r' and $_[2] + $_[3] == $med * 2
91 0 0 0 $_[0] eq 'r' and $_[2] + $_[3] == $med * 2
135 0 0 0 -f $filename_to_access and -s _
190 0 0 0 defined $readed_bytes and $self->{'size'} == $#{$$self{'p'};} * 9728000 + $readed_bytes
275 0 0 1 $self->{'size'} < 9728000 and not exists $self->{'p'}
303 0 1 0 exists $instance->{'escaped_filename'} && exists $instance->{'size'} && exists $instance->{'hash'}
427 0 0 0 index($optional, 'p') != -1 and $instance->filesize >= 9728000
0 0 0 index($optional, 'p') != -1 and $instance->filesize >= 9728000 and $instance->has_complete_hashset
434 0 0 0 index($optional, 'h') != -1 and $instance->has_aich
485 0 0 0 $one->ok && $two->ok && $one->filesize == $two->filesize && $one->hash eq $two->hash
487 0 0 0 $one->has_complete_hashset and $two->has_complete_hashset
490 0 0 0 $one->has_aich and $two->has_aich
495 0 0 0 $one->is_reliable and $two->is_reliable
496 0 0 0 $one->has_complete_hashset and not $two->has_complete_hashset
0 0 0 not $one->has_complete_hashset and $two->has_complete_hashset
501 0 0 0 $one->has_aich and not $two->has_aich
0 0 0 not $one->has_aich and $two->has_aich