Branch Coverage

blib/lib/Data/RuledCluster.pm
Criterion Covered Total %
branch 21 32 65.6


line true false branch
13 0 6 @_ == 1 ? :
21 0 49 $pkg =~ s/^\+// ? :
28 7 1 if $config
35 0 96 unless $$self{'config'}
37 49 47 if ($self->is_cluster($cluster_or_node)) { }
47 0 elsif ($self->is_node($cluster_or_node)) { }
38 0 49 if (is_hash_ref($args)) { }
39 0 0 unless $$args{'strategy'}
50 8 41 if (is_array_ref($cluster_info)) { }
41 0 elsif (is_hash_ref($cluster_info)) { }
85 0 21 if (is_hash_ref($args)) { }
98 0 5 wantarray ? :
109 10 7 is_array_ref($cluster_info) ? :
110 15 2 wantarray ? :
115 51 47 exists $$self{'config'}{'clusters'}{$cluster} ? :
120 51 0 exists $$self{'config'}{'node'}{$node} ? :