Condition Coverage

blib/lib/Crypt/IDA/ShareFile.pm
Criterion Covered Total %
condition 39 117 33.3


and 3 conditions

line !l l&&!r l&&r condition
148 0 0 9 defined $filename && defined $default_bytes_per_write
314 3 6 0 defined $k and $k != $$header_info{'k'}
323 3 6 0 defined $w and $w != $$header_info{'w'}
365 3 6 0 defined $start and $start != $$header_info{'chunk_start'}
381 9 0 0 not $$header_info{'opt_final'} and $$header_info{'chunk_next'} % $colsize
392 3 6 0 defined $next and $next != $$header_info{'chunk_next'}
423 3 6 0 defined $hdr and $hdr != $header_size
464 0 0 12 defined $version and $version == 1
465 0 0 12 defined $k and defined $s
0 0 12 defined $k and defined $s and defined $chunk_start
0 0 12 defined $k and defined $s and defined $chunk_start and defined $chunk_next
468 0 12 0 defined $transform and scalar @$transform != $k
640 0 0 3 defined $save_transform and $save_transform
667 0 0 3 defined $hs and $hs > 0
714 0 0 0 defined $hs and $hs > 0
980 0 0 9 defined $hs and $hs > 0
1129 3 0 0 defined $key and defined $mat
1133 0 0 0 defined $shares && defined $sharelist
3 0 0 defined $key and not defined $shares && defined $sharelist
1165 3 0 0 defined $k and scalar @$infiles < $k

or 3 conditions

line l !l&&r !l&&!r condition
32 0 0 10 $_[0] eq $classname or ref $_[0] eq $classname
53 0 0 9 $_[0] eq $classname or ref $_[0] eq $classname
64 0 0 9 not defined $filename or $default_bytes_per_read <= 0
0 0 9 not defined $filename or $default_bytes_per_read <= 0 or $default_bytes_per_read > 4
0 0 9 not defined $filename or $default_bytes_per_read <= 0 or $default_bytes_per_read > 4 or int $default_bytes_per_read != $default_bytes_per_read
92 0 0 99 int $bytes_to_read != $bytes_to_read or $bytes_to_read <= 0
148 0 0 9 not defined $filename && defined $default_bytes_per_write or $default_bytes_per_write <= 0
436 0 0 12 $_[0] eq $classname or ref $_[0] eq $classname
582 0 0 3 $_[0] eq $classname or ref $_[0] eq $classname
616 3 0 0 $w == 1 or $w == 2
3 0 0 $w == 1 or $w == 2 or $w == 4
620 0 0 3 $k < 1 or $k >= 256 ** $w
655 0 3 0 $file_size == 0 or $defined_methods == 0
683 0 0 0 defined $in_chunk_size or defined $out_chunk_size
768 0 0 3 $_[0] eq $classname or ref $_[0] eq $classname
848 0 0 0 scalar @chunks == 1 or $filespec =~ /\%c/
1083 0 0 3 $_[0] eq $classname or ref $_[0] eq $classname
1221 0 0 0 defined $mat or defined $key
1246 0 0 3 defined $key or defined $mat