Branch Coverage

blib/lib/CTK/Configuration.pm
Criterion Covered Total %
branch 28 42 66.6


line true false branch
223 2 2 if ($mydir) { }
224 1 1 'File::Spec'->file_name_is_absolute($mydir) ? :
227 1 1 unless "File::Spec"->file_name_is_absolute($mydir)
232 4 0 if length $confdir
233 4 0 if $confdir ne "conf"
238 1 3 unless ($fileconf)
242 2 1 unless "File::Spec"->file_name_is_absolute($fileconf)
245 1 2 unless (-e $fileconf)
255 2 0 unless exists $options{'-ApacheCompatible'}
256 2 0 unless exists $options{'-LowerCaseNames'}
257 2 0 unless exists $options{'-AutoTrue'}
260 0 2 if $args{'no_autoload'}
275 0 2 if length $self->{'error'}
278 2 0 if $cfg and $cfg->can("getall")
279 2 0 if $cfg and $cfg->can("files")
284 12 0 if $k and not $lkeys{$k}
309 2 1 $self->{'status'} ? :
314 0 1 unless defined $key and length $key
321 0 9 unless defined $key and length $key
331 0 1 unless $self->{'conf'}
332 1 0 unless defined $key