Condition Coverage

blib/lib/Bio/Gonzales/Util/File.pm
Criterion Covered Total %
condition 16 39 41.0


and 3 conditions

line !l l&&!r l&&r condition
79 0 0 0 /$re/ and not $_ =~ /^\.\.?$/
122 0 0 56 $mode and exists $ZMODES{$mode}
127 0 16 40 $src and not ref $src
16 40 0 $src and not ref $src and $src eq '-'
140 9 0 27 $mode eq '<' and -e $src
9 27 0 $mode eq '<' and -e $src and gz_type($src)
171 0 0 5 $gz and -x $gz
220 0 0 0 -e $b and (stat $a)[9] > (stat $b)[9]
232 40 26 0 $reftype and $reftype eq 'IO' || $reftype eq 'GLOB' && *{$fh;}{'IO'} || &Scalar::Util::blessed($fh) && $fh->isa('IO::Handle')

or 3 conditions

line l !l&&r !l&&!r condition
63 0 0 0 $ENV{'HOME'} || $ENV{'LOGDIR'} || (getpwuid $>)[7]
140 4 0 36 $src =~ /.+?\.b?gz$/i or $mode eq '<' and -e $src and gz_type($src)
220 0 0 0 not -e $b or -e $b and (stat $a)[9] > (stat $b)[9]
232 23 0 3 $reftype eq 'IO' || $reftype eq 'GLOB' && *{$fh;}{'IO'} || &Scalar::Util::blessed($fh) && $fh->isa('IO::Handle')