Branch Coverage

blib/lib/File/UserConfig.pm
Criterion Covered Total %
branch 24 40 60.0


line true false branch
151 0 2 unless ($self->dist)
158 1 1 unless ($self->module)
165 1 1 unless ($self->sharedir)
170 1 1 unless ($self->dirname)
172 0 1 unless my $scheme = $File::HomeDir::IMPLEMENTED_BY
174 0 1 if ($scheme->isa('File::HomeDir::Darwin')) { }
0 1 elsif ($scheme->isa('File::HomeDir::Windows')) { }
1 0 elsif ($scheme->isa('File::HomeDir::Unix')) { }
189 2 0 unless ($self->configdir)
190 0 2 unless ($self->homedir)
199 0 2 if (-d $self->configdir) { }
0 2 elsif (-f $self->configdir) { }
208 0 2 unless File::Copy::Recursive::dircopy($self->sharedir, $self->configdir)
227 7 0 ref $_[0] ? :
247 2 0 ref $_[0] ? :
265 5 0 ref $_[0] ? :
285 7 0 ref $_[0] ? :
305 8 0 ref $_[0] ? :
325 20 0 ref $_[0] ? :
339 1 3 if $c[0]->isa('File::UserConfig')