Condition Coverage

blib/lib/Getopt/Long/Spec/Builder.pm
Criterion Covered Total %
condition 12 27 44.4


and 3 conditions

line !l l&&!r l&&r condition
42 14 1 0 $params{'default_num'} and $spec_type ne ':'
73 7 4 4 defined $$params{'val_required'} and $$params{'val_required'} == 0
95 7 0 1 $$params{'opt_type'} =~ /^incr/ and not $$params{'val_type'}

or 2 conditions

line l !l condition
55 0 0 $$params{'aliases'} ||= []
90 6 2 $$params{'val_type'} || 'str'
99 0 0 $$params{'dest_type'} || ''

or 3 conditions

line l !l&&r !l&&!r condition
79 0 0 0 defined $$params{'default_num'} or defined $$params{'val_type'}
0 0 0 defined $$params{'default_num'} or defined $$params{'val_type'} or defined $$params{'destination'}
0 0 0 defined $$params{'default_num'} or defined $$params{'val_type'} or defined $$params{'destination'} or defined $$params{'dest_type'}
104 1 1 6 defined $$params{'min_vals'} or defined $$params{'max_vals'}