Branch Coverage

blib/lib/CGI/Application/Plugin/ConfigAuto.pm
Criterion Covered Total %
branch 13 22 59.0


line true false branch
144 4 4 unless ($$self{'__CFG'})
147 0 4 unless ($$self{'__CFG_FILES'})
151 0 0 if (defined $cfg_file)
152 0 0 if ref $cfg_file eq 'ARRAY'
153 0 0 if ref \$cfg_file eq 'SCALAR'
166 2 3 if (ref $$self{'__CFG_FILES'}[$i + 1] eq 'HASH')
174 1 2 unless keys %combined_cfg
182 1 5 if $field
183 5 0 if (ref $cfg)
184 1 4 wantarray ? :
205 0 5 unless (scalar @cfg_files)