Branch Coverage

blib/lib/Test/PlugAuth/Plugin/Auth.pm
Criterion Covered Total %
branch 26 52 50.0


line true false branch
23 2 0 unless $class =~ /::/
25 0 2 if $@
29 2 0 unless eval { do { $global_config->isa('Clustericious::Config') } }
32 2 0 unless eval { do { $plugin_config->isa('Clustericious::Config') } }
38 2 0 if (ref $object) { }
58 0 2 if $@
61 0 2 if $@
64 2 0 if ($refresh)
67 0 2 if $@
71 0 2 if $@
74 0 2 if $@
76 2 0 if ($refresh)
79 0 2 if $@
83 0 2 if $@
86 0 2 if $@
90 2 0 if (@users > 0) { }
94 0 2 unless $pass
97 0 2 if $@
99 2 0 if ($refresh)
102 0 2 if $@
109 0 2 unless $pass
119 0 2 if $@
121 2 0 if ($refresh)
124 0 2 if $@
128 0 2 if $@
131 0 2 if $@