Branch Coverage

blib/lib/Slackware/Slackget/Network/Auth.pm
Criterion Covered Total %
branch 0 112 0.0


line true false branch
36 0 0 if not defined $config and ref $config ne 'Slackware::Slackget::Config'
71 0 0 if (exists $$self{'CONF'}{'daemon'}{'connection-policy'}{'host'}{"$host"} and defined $$self{'CONF'}{'daemon'}{'connection-policy'}{'host'}{"$host"})
73 0 0 if (exists $$self{'CONF'}{'daemon'}{'connection-policy'}{'host'}{"$host"}{'can-connect'} and defined $$self{'CONF'}{'daemon'}{'connection-policy'}{'host'}{"$host"}{'can-connect'})
75 0 0 if ($$self{'CONF'}{'daemon'}{'connection-policy'}{'host'}{"$host"}{'can-connect'} =~ /yes/i) { }
85 0 0 if (exists $$self{'CONF'}{'daemon'}{'connection-policy'}{'all'}{'can-connect'} and defined $$self{'CONF'}{'daemon'}{'connection-policy'}{'all'}{'can-connect'}) { }
87 0 0 if ($$self{'CONF'}{'daemon'}{'connection-policy'}{'all'}{'can-connect'} =~ /yes/i) { }
108 0 0 if (exists $$self{'CONF'}{'daemon'}{'connection-policy'}{'host'}{"$host"} and defined $$self{'CONF'}{'daemon'}{'connection-policy'}{'host'}{"$host"})
110 0 0 if (exists $$self{'CONF'}{'daemon'}{'connection-policy'}{'host'}{"$host"}{'can-build-packages-list'} and defined $$self{'CONF'}{'daemon'}{'connection-policy'}{'host'}{"$host"}{'can-build-packages-list'})
112 0 0 if ($$self{'CONF'}{'daemon'}{'connection-policy'}{'host'}{"$host"}{'can-build-packages-list'} =~ /yes/i) { }
122 0 0 if (exists $$self{'CONF'}{'daemon'}{'connection-policy'}{'all'}{'can-build-packages-list'} and defined $$self{'CONF'}{'daemon'}{'connection-policy'}{'all'}{'can-build-packages-list'}) { }
124 0 0 if ($$self{'CONF'}{'daemon'}{'connection-policy'}{'all'}{'can-build-packages-list'} =~ /yes/i) { }
145 0 0 if (exists $$self{'CONF'}{'daemon'}{'connection-policy'}{'host'}{"$host"} and defined $$self{'CONF'}{'daemon'}{'connection-policy'}{'host'}{"$host"})
147 0 0 if (exists $$self{'CONF'}{'daemon'}{'connection-policy'}{'host'}{"$host"}{'can-build-installed-list'} and defined $$self{'CONF'}{'daemon'}{'connection-policy'}{'host'}{"$host"}{'can-build-installed-list'})
149 0 0 if ($$self{'CONF'}{'daemon'}{'connection-policy'}{'host'}{"$host"}{'can-build-installed-list'} =~ /yes/i) { }
159 0 0 if (exists $$self{'CONF'}{'daemon'}{'connection-policy'}{'all'}{'can-build-installed-list'} and defined $$self{'CONF'}{'daemon'}{'connection-policy'}{'all'}{'can-build-installed-list'}) { }
161 0 0 if ($$self{'CONF'}{'daemon'}{'connection-policy'}{'all'}{'can-build-installed-list'} =~ /yes/i) { }
182 0 0 if (exists $$self{'CONF'}{'daemon'}{'connection-policy'}{'host'}{"$host"} and defined $$self{'CONF'}{'daemon'}{'connection-policy'}{'host'}{"$host"})
184 0 0 if (exists $$self{'CONF'}{'daemon'}{'connection-policy'}{'host'}{"$host"}{'can-install-packages'} and defined $$self{'CONF'}{'daemon'}{'connection-policy'}{'host'}{"$host"}{'can-install-packages'})
186 0 0 if ($$self{'CONF'}{'daemon'}{'connection-policy'}{'host'}{"$host"}{'can-install-packages'} =~ /yes/i) { }
196 0 0 if (exists $$self{'CONF'}{'daemon'}{'connection-policy'}{'all'}{'can-install-packages'} and defined $$self{'CONF'}{'daemon'}{'connection-policy'}{'all'}{'can-install-packages'}) { }
198 0 0 if ($$self{'CONF'}{'daemon'}{'connection-policy'}{'all'}{'can-install-packages'} =~ /yes/i) { }
219 0 0 if (exists $$self{'CONF'}{'daemon'}{'connection-policy'}{'host'}{"$host"} and defined $$self{'CONF'}{'daemon'}{'connection-policy'}{'host'}{"$host"})
221 0 0 if (exists $$self{'CONF'}{'daemon'}{'connection-policy'}{'host'}{"$host"}{'can-upgrade-packages'} and defined $$self{'CONF'}{'daemon'}{'connection-policy'}{'host'}{"$host"}{'can-upgrade-packages'})
223 0 0 if ($$self{'CONF'}{'daemon'}{'connection-policy'}{'host'}{"$host"}{'can-upgrade-packages'} =~ /yes/i) { }
233 0 0 if (exists $$self{'CONF'}{'daemon'}{'connection-policy'}{'all'}{'can-upgrade-packages'} and defined $$self{'CONF'}{'daemon'}{'connection-policy'}{'all'}{'can-upgrade-packages'}) { }
235 0 0 if ($$self{'CONF'}{'daemon'}{'connection-policy'}{'all'}{'can-upgrade-packages'} =~ /yes/i) { }
256 0 0 if (exists $$self{'CONF'}{'daemon'}{'connection-policy'}{'host'}{"$host"} and defined $$self{'CONF'}{'daemon'}{'connection-policy'}{'host'}{"$host"})
258 0 0 if (exists $$self{'CONF'}{'daemon'}{'connection-policy'}{'host'}{"$host"}{'can-remove-packages'} and defined $$self{'CONF'}{'daemon'}{'connection-policy'}{'host'}{"$host"}{'can-remove-packages'})
260 0 0 if ($$self{'CONF'}{'daemon'}{'connection-policy'}{'host'}{"$host"}{'can-remove-packages'} =~ /yes/i) { }
270 0 0 if (exists $$self{'CONF'}{'daemon'}{'connection-policy'}{'all'}{'can-remove-packages'} and defined $$self{'CONF'}{'daemon'}{'connection-policy'}{'all'}{'can-remove-packages'}) { }
272 0 0 if ($$self{'CONF'}{'daemon'}{'connection-policy'}{'all'}{'can-remove-packages'} =~ /yes/i) { }
293 0 0 if (exists $$self{'CONF'}{'daemon'}{'connection-policy'}{'host'}{"$host"} and defined $$self{'CONF'}{'daemon'}{'connection-policy'}{'host'}{"$host"})
295 0 0 if (exists $$self{'CONF'}{'daemon'}{'connection-policy'}{'host'}{"$host"}{'can-require-installed-list'} and defined $$self{'CONF'}{'daemon'}{'connection-policy'}{'host'}{"$host"}{'can-require-installed-list'})
297 0 0 if ($$self{'CONF'}{'daemon'}{'connection-policy'}{'host'}{"$host"}{'can-require-installed-list'} =~ /yes/i) { }
307 0 0 if (exists $$self{'CONF'}{'daemon'}{'connection-policy'}{'all'}{'can-require-installed-list'} and defined $$self{'CONF'}{'daemon'}{'connection-policy'}{'all'}{'can-require-installed-list'}) { }
309 0 0 if ($$self{'CONF'}{'daemon'}{'connection-policy'}{'all'}{'can-require-installed-list'} =~ /yes/i) { }
330 0 0 if (exists $$self{'CONF'}{'daemon'}{'connection-policy'}{'host'}{"$host"} and defined $$self{'CONF'}{'daemon'}{'connection-policy'}{'host'}{"$host"})
332 0 0 if (exists $$self{'CONF'}{'daemon'}{'connection-policy'}{'host'}{"$host"}{'can-require-servers-list'} and defined $$self{'CONF'}{'daemon'}{'connection-policy'}{'host'}{"$host"}{'can-require-servers-list'})
334 0 0 if ($$self{'CONF'}{'daemon'}{'connection-policy'}{'host'}{"$host"}{'can-require-servers-list'} =~ /yes/i) { }
344 0 0 if (exists $$self{'CONF'}{'daemon'}{'connection-policy'}{'all'}{'can-require-servers-list'} and defined $$self{'CONF'}{'daemon'}{'connection-policy'}{'all'}{'can-require-servers-list'}) { }
346 0 0 if ($$self{'CONF'}{'daemon'}{'connection-policy'}{'all'}{'can-require-servers-list'} =~ /yes/i) { }
367 0 0 if (exists $$self{'CONF'}{'daemon'}{'connection-policy'}{'host'}{"$host"} and defined $$self{'CONF'}{'daemon'}{'connection-policy'}{'host'}{"$host"})
369 0 0 if (exists $$self{'CONF'}{'daemon'}{'connection-policy'}{'host'}{"$host"}{'can-require-packages-list'} and defined $$self{'CONF'}{'daemon'}{'connection-policy'}{'host'}{"$host"}{'can-require-packages-list'})
371 0 0 if ($$self{'CONF'}{'daemon'}{'connection-policy'}{'host'}{"$host"}{'can-require-packages-list'} =~ /yes/i) { }
381 0 0 if (exists $$self{'CONF'}{'daemon'}{'connection-policy'}{'all'}{'can-require-packages-list'} and defined $$self{'CONF'}{'daemon'}{'connection-policy'}{'all'}{'can-require-packages-list'}) { }
383 0 0 if ($$self{'CONF'}{'daemon'}{'connection-policy'}{'all'}{'can-require-packages-list'} =~ /yes/i) { }
405 0 0 if (exists $$self{'CONF'}{'daemon'}{'connection-policy'}{'host'}{"$host"} and defined $$self{'CONF'}{'daemon'}{'connection-policy'}{'host'}{"$host"})
407 0 0 if (exists $$self{'CONF'}{'daemon'}{'connection-policy'}{'host'}{"$host"}{'can-search'} and defined $$self{'CONF'}{'daemon'}{'connection-policy'}{'host'}{"$host"}{'can-search'})
409 0 0 if ($$self{'CONF'}{'daemon'}{'connection-policy'}{'host'}{"$host"}{'can-search'} =~ /yes/i) { }
419 0 0 if (exists $$self{'CONF'}{'daemon'}{'connection-policy'}{'all'}{'can-search'} and defined $$self{'CONF'}{'daemon'}{'connection-policy'}{'all'}{'can-search'}) { }
421 0 0 if ($$self{'CONF'}{'daemon'}{'connection-policy'}{'all'}{'can-search'} =~ /yes/i) { }
442 0 0 if (exists $$self{'CONF'}{'daemon'}{'connection-policy'}{'host'}{"$host"} and defined $$self{'CONF'}{'daemon'}{'connection-policy'}{'host'}{"$host"})
444 0 0 if (exists $$self{'CONF'}{'daemon'}{'connection-policy'}{'host'}{"$host"}{$rule} and defined $$self{'CONF'}{'daemon'}{'connection-policy'}{'host'}{"$host"}{$rule})
446 0 0 if ($$self{'CONF'}{'daemon'}{'connection-policy'}{'host'}{"$host"}{$rule} =~ /yes/i) { }
456 0 0 if (exists $$self{'CONF'}{'daemon'}{'connection-policy'}{'all'}{$rule} and defined $$self{'CONF'}{'daemon'}{'connection-policy'}{'all'}{$rule}) { }
458 0 0 if ($$self{'CONF'}{'daemon'}{'connection-policy'}{'all'}{$rule} =~ /yes/i) { }