Condition Coverage

blib/lib/Crypt/Passphrase/System.pm
Criterion Covered Total %
condition 10 27 37.0


or 2 conditions

line l !l condition
50 0 0 ($args{'salt_size'} // $algorithm{$type}{'salt_size'}) // 16
51 0 0 ($args{'format'} // $algorithm{$type}{'format'}) // "%s%s\$"
58 3 13 ($args{'format'} // $algorithm{$type}{'format'}) // "%s%s\$"

or 3 conditions

line l !l&&r !l&&!r condition
50 0 0 0 $args{'salt_size'} // $algorithm{$type}{'salt_size'}
51 0 0 0 $args{'format'} // $algorithm{$type}{'format'}
55 15 1 0 $args{'type'} // $default
16 0 0 ($args{'type'} // $default) // croak("No known crypt type found")
56 16 0 0 $algorithm{$type}{'settings'} // croak("No such crypt type '${type}' known")
57 0 15 1 $args{'salt_size'} // $algorithm{$type}{'salt_size'}
58 0 3 13 $args{'format'} // $algorithm{$type}{'format'}