Condition Coverage

lib/Hypersonic/Compress.pm
Criterion Covered Total %
condition 9 27 33.3


or 2 conditions

line l !l condition
40 0 0 $ZLIB_DETECTION->{'cflags'} || ''
0 0 $ZLIB_DETECTION->{'ldflags'} || '-lz'
52 0 3 $opts{'enabled'} // 1
2 1 $opts{'min_size'} // 1024
2 1 $opts{'level'} // 6
0 3 $opts{'types'} // ["text/html", "text/css", "text/plain", "text/xml", "text/javascript", "application/json", "application/javascript", "application/xml", "application/xhtml+xml", "image/svg+xml"]
75 1 0 $COMPRESS_CONFIG->{'level'} // 6
76 1 0 $COMPRESS_CONFIG->{'min_size'} // 1024
148 0 0 $COMPRESS_CONFIG->{'level'} // 6

or 3 conditions

line l !l&&r !l&&!r condition
39 0 0 0 $ZLIB_DETECTION //= "Hypersonic::JIT::Util"->detect_zlib
75 0 1 0 $level //= $COMPRESS_CONFIG->{'level'} // 6
148 0 0 0 $level //= $COMPRESS_CONFIG->{'level'} // 6