Condition Coverage

blib/lib/Getopt/ArgvFile.pm
Criterion Covered Total %
condition 36 54 66.6


and 3 conditions

line !l l&&!r l&&r condition
629 0 0 6 ref $switches{'array'} && ref $switches{'array'} eq 'ARRAY'
16 6 0 exists $switches{'array'} and not ref $switches{'array'} && ref $switches{'array'} eq 'ARRAY'
630 18 4 0 exists $switches{'prefix'} and !defined($switches{'prefix'}) || ref $switches{'prefix'}
631 18 4 0 exists $switches{'prefix'} and $switches{'prefix'} =~ /^[-#=+]$/
632 18 1 3 exists $switches{'startupFilename'} and ref $switches{'startupFilename'}
19 3 0 exists $switches{'startupFilename'} and ref $switches{'startupFilename'} and not ref($switches{'startupFilename'}) =~ /^(ARRAY|CODE)$/
633 17 5 0 exists $switches{'fileOption'} and !defined($switches{'fileOption'}) || ref $switches{'fileOption'}
638 20 0 2 defined $callerSub and $callerSub eq join('::', 'Getopt::ArgvFile', 'import')
20 1 1 defined $callerSub and $callerSub eq join('::', 'Getopt::ArgvFile', 'import') and exists $switches{'justload'}
662 1 20 0 ref $startupFilenames and ref $startupFilenames ne 'ARRAY'
856 2 0 6 @_ == 2 and $_[-1] eq 'argvFile'

or 3 conditions

line l !l&&r !l&&!r condition
630 0 0 4 !defined($switches{'prefix'}) || ref $switches{'prefix'}
633 0 0 5 !defined($switches{'fileOption'}) || ref $switches{'fileOption'}
707 0 0 19 not defined $cfg or exists $seen{$cfg}
759 2 0 36 not -e $$arrayRef[$i] or -d _
2 0 36 not -e $$arrayRef[$i] or -d _ or $rfiles{$casesensitiveFilenames ? $$arrayRef[$i] : lc $$arrayRef[$i]}
778 215 137 240 /^\s*$/ or /^\s*\#/
352 40 200 /^\s*$/ or /^\s*\#/ or $pod