Condition Coverage

blib/lib/Config/General.pm
Criterion Covered Total %
condition 40 72 55.6


and 3 conditions

line !l l&&!r l&&r condition
161 0 0 1 $conf{-'FlagBits'} and ref $conf{-'FlagBits'} eq 'HASH'
169 0 1 1 $conf{-'DefaultConfig'} and ref $conf{-'DefaultConfig'} eq 'HASH'
0 0 1 $conf{-'DefaultConfig'} and ref $conf{-'DefaultConfig'} eq ''
269 0 38 1 $$self{'DefaultConfig'} and $$self{'InterPolateVars'}
365 33 0 1 $$this{'IncludeGlob'} and $configfile =~ /[*?\[\{\\]/
407 29 0 1 -d $configfile and $$this{'IncludeDirectories'}
453 34 0 7 $flag and $flag eq 'SCALAR'
615 231 0 12 $$this{'IncludeRelative'} and defined $$this{'CurrentConfigFilePath'}
622 234 0 0 /^\s*include\s+(.+?)\s*$/i and $$this{'UseApacheInclude'}
624 5 0 4 $$this{'IncludeRelative'} and $path
5 0 4 $$this{'IncludeRelative'} and $path and not file_name_is_absolute($incl_file)
682 97 266 6 $value and $value =~ /^"/
363 2 4 $value and $value =~ /^"/ and $value =~ /"$/
948 0 0 0 @two and $one
0 0 0 @two and $one and scalar(@two) % 2 == 0

or 3 conditions

line l !l&&r !l&&!r condition
46 8 32 0 ref $this || $this
249 1 0 38 $$self{'InterPolateVars'} or $$self{'InterPolateEnv'}
272 0 0 22 ref $$self{'ConfigFile'} eq 'GLOB' or ref $$self{'ConfigFile'} eq 'FileHandle'
622 9 0 234 /^\s*<<include\s+(.+?)>>\s*$/i or /^\s*include\s+(.+?)\s*$/i and $$this{'UseApacheInclude'}
696 1 45 0 $1 || $2
697 3 14 29 $3 || $4
1007 0 0 0 not $config or ref $config ne 'HASH'
1067 1 0 24 $line =~ /\n/ or $line =~ /\\$/
1160 0 0 1 not $file or not $hash