Branch Coverage

blib/lib/Package/Role/ini.pm
Criterion Covered Total %
branch 17 30 56.6


line true false branch
48 0 0 unless ($self->{'ini'})
78 0 6 if (@_)
82 3 3 unless defined $self->{'ini_file'}
107 0 9 if (@_)
111 3 6 unless (defined $self->{'ini_path'})
113 0 3 if ($^O eq 'MSWin32') { }
3 0 elsif (-d $etc and -r $etc) { }
116 0 0 unless $@
122 0 0 unless $@
124 0 3 unless defined $self->{'ini_path'}
139 0 6 if (@_)
143 3 3 unless ($self->{'ini_file_default'})
147 2 1 if defined $ext
161 0 6 if (@_)
165 1 5 unless (exists $self->{'ini_file_default_extension'})