Branch Coverage

blib/lib/Package/Role/ini.pm
Criterion Covered Total %
branch 16 30 53.3


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 9 0 unless (ref $self->{'ini_path'} eq 'ARRAY')
113 0 9 if ($^O eq 'MSWin32') { }
9 0 elsif (-d $etc and -r $etc) { }
116 0 0 unless $@
122 0 0 unless $@
124 0 9 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'})