Condition Coverage

blib/lib/Code/Generator/Perl.pm
Criterion Covered Total %
condition 18 25 72.0


or 2 conditions

line l !l condition
19 3 0 $details{'outdir'} || '.'
21 2 1 $details{'readonly'} || 0
23 1 2 $details{'generated_by'} || 'a script'
64 11 0 $package_name || die('new_package: Missing package name')
67 1 10 $details{'use'} || []
100 6 10 $$options{'sortkeys'} || 0
135 91 32 $str ||= ''
232 0 0 $die_message ||= ''

or 3 conditions

line l !l&&r !l&&!r condition
41 2 1 8 $$self{'readonly'} or $$self{'package_readonly'}
66 0 11 0 $details{'outdir'} || $$self{'outdir'}
200 1 10 0 $$self{'package_generated_by'} || $$self{'generated_by'}