Branch Coverage

blib/lib/Circle/Ruleable.pm
Criterion Covered Total %
branch 1 26 3.8


line true false branch
25 4 0 if eval { do { $$self{'rulestore'}->run($chainname, $event); 1 } }
50 0 0 if (defined $chain)
51 0 0 unless grep {$chain eq $_;} @chains
90 0 0 unless $index =~ /^\d+$/
132 0 0 unless $index =~ /^\d+$/
156 0 0 if (defined $name) { }
161 0 0 if not $$opts{'actions'} or $$opts{'conds'}
162 0 0 if not $$opts{'conds'} or $$opts{'actions'}
166 0 0 if (my $attrs = eval { do { $rulestore->describe_cond($name) } }) { }
0 0 elsif ($attrs = eval { do { $rulestore->describe_action($name) } }) { }
169 0 0 if defined $$attrs{'format'}
174 0 0 if defined $$attrs{'format'}
193 0 0 unless my $rules_ynode = $$ynode{'rules'}