Condition Coverage

blib/lib/Module/Mapper.pm
Criterion Covered Total %
condition 33 63 52.3


and 3 conditions

line !l l&&!r l&&r condition
30 3 0 0 $verbose and ref $verbose ne 'CODE'
43 1 2 0 $useINC and not scalar @localdirs
3 0 0 $useINC and not scalar @localdirs and not scalar @modules
2 0 0 $useINC and not scalar @localdirs and not scalar @modules and not scalar @exes
133 0 2 1 $usepod and -e "$_/$podfile"
146 0 2 1 $useINC and not exists $modules{$module}
153 0 10 0 $usepod and -e "$_/$podfile"
166 2 0 1 $all and exists $modules{$module}
184 1 0 1 $#$c > -1 and length $m > 2 + length($module)
1 0 1 $#$c > -1 and length $m > 2 + length($module) and substr($m, 0, length $module) eq $module
232 6 4 1 substr($child, 0, 1) ne '.' and -d "$dir/$child"

or 2 conditions

line l !l condition
28 0 3 $options{'Project'} || '.'
133 1 0 $modules{$module} ||= [undef, undef]
138 0 1 $modules{$module} ||= []
153 0 0 $modules{$module} ||= [undef, undef]
158 0 0 $modules{$module} ||= []
241 2 2 $$modules{$module} ||= []

or 3 conditions

line l !l&&r !l&&!r condition
51 2 0 1 scalar @modules or scalar @exes
56 1 0 0 -d "$projdir/bin" or -d "$projdir/lib"
106 0 2 0 -e $_ or not $verbose
160 1 0 9 exists $modules{$module} or -d "$_/$root"
189 1 0 0 $childcnt or not $verbose
238 2 2 0 substr($child, -3) eq '.pm' or substr($child, -4) eq '.pod'