Branch Coverage

blib/lib/CTK/Configuration.pm
Criterion Covered Total %
branch 26 38 68.4


line true false branch
196 2 2 if ($mydir) { }
197 1 1 'File::Spec'->file_name_is_absolute($mydir) ? :
200 1 1 unless 'File::Spec'->file_name_is_absolute($mydir)
205 4 0 if length $confdir
206 4 0 if $confdir ne 'conf'
211 1 3 unless ($fileconf)
215 2 1 unless 'File::Spec'->file_name_is_absolute($fileconf)
218 1 2 unless (-e $fileconf)
228 2 0 unless exists $options{'-ApacheCompatible'}
229 2 0 unless exists $options{'-LowerCaseNames'}
230 2 0 unless exists $options{'-AutoTrue'}
238 2 0 if $cfg and $cfg->can('getall')
239 2 0 if $cfg and $cfg->can('files')
244 12 0 if $k and not $lkeys{$k}
257 2 1 $self->{'status'} ? :
262 0 1 unless defined $key and length $key
269 0 6 unless defined $key and length $key
279 0 1 unless $self->{'conf'}
280 1 0 unless defined $key