Branch Coverage

blib/lib/GetRc.pm
Criterion Covered Total %
branch 23 96 23.9


line true false branch
30 0 2 if @_ != 1
46 2 0 if $$self{'filename'} =~ m[^/]
47 0 0 if -e "$_" . $$self{'filename'}
82 1 0 if ($$self{'lock'}) { }
88 0 1 unless defined $rc
95 0 1 if ($@)
96 0 0 if $@ eq "File lock timeouted\n"
97 0 0 if $@ eq "Can't open file\n"
103 0 0 unless defined $rc
112 1 0 if $$self{'lock'}
114 0 1 if $?
126 0 0 unless -e $$self{'filename'}
127 0 0 unless -r $$self{'filename'} or -R $$self{'filename'}
130 0 0 if ($$self{'lock'}) { }
136 0 0 unless defined $rc
143 0 0 if ($@)
144 0 0 if $@ eq "File lock timeouted\n"
151 0 0 unless defined $rc
159 0 0 if /^\s*#/ or /^\s*$/ or /^\s*\;/
162 0 0 if (s/\\$//)
170 0 0 unless defined $value and $key
173 0 0 if ($h_input{"$key"} and $$self{'multivalues'}) { }
180 0 0 if $$self{'lock'}
182 0 0 if $?
193 0 1 unless -e $$self{'filename'}
194 0 1 unless -r $$self{'filename'} or -R $$self{'filename'}
197 1 0 if ($$self{'lock'}) { }
203 0 1 unless defined $rc
210 0 1 if ($@)
211 0 0 if $@ eq "File lock timeouted\n"
212 0 0 if $@ eq "Can't open file\n"
219 0 0 unless defined $rc
227 0 4 if /^\s*#/ or /^\s*$/ or /^\s*\;/
230 0 4 if (s/\\$//)
238 0 4 unless defined $value and $key
241 0 4 if ($update_input{"$key"} and $$self{'multivalues'}) { }
263 1 0 if $$self{'lock'}
265 0 1 if $?
286 14 0 unless $$self{'debug'}
300 2 0 if defined $value
303 0 2 if $value and $name eq 'filename'
305 0 2 if (ref($$self{$name}) =~ /ARRAY/) { }
0 2 elsif (isa($$self{$name}, 'ARRAY')) { }
308 0 0 if (wantarray) { }
322 0 0 if ref($self) =~ /ARRAY/
332 0 0 if ref($self) =~ /ARRAY/
341 0 0 if ref($self) =~ /ARRAY/
349 0 0 if ref($self) =~ /ARRAY/