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
43 0 0 0 $_[0] eq 'r' and $_[2] + $_[3] == $med * 2
55 0 0 0 $_[0] eq 'r' and $_[2] + $_[3] == $med * 2
69 0 0 0 -f $file and -s $file
113 0 0 0 defined $readed_bytes and $$self{'size'} == $#{$$self{'p'};} * 9728000 + $readed_bytes
173 0 0 1 $$self{'size'} < 9728000 and not exists $$self{'p'}
193 0 0 1 exists $$instance{'escaped_filename'} && exists $$instance{'size'} && exists $$instance{'hash'}
245 0 0 0 $optional =~ /p/ and $instance->filesize >= 9728000
0 0 0 $optional =~ /p/ and $instance->filesize >= 9728000 and $instance->has_complete_hashset
248 0 0 0 $optional =~ /h/ and $instance->has_aich
268 0 0 0 $one->ok && $two->ok && $one->filesize == $two->filesize && $one->hash eq $two->hash
270 0 0 0 $one->has_complete_hashset and $two->has_complete_hashset
273 0 0 0 $one->has_aich and $two->has_aich
278 0 0 0 $one->is_reliable and $two->is_reliable
279 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
284 0 0 0 $one->has_aich and not $two->has_aich
0 0 0 not $one->has_aich and $two->has_aich