Branch Coverage

blib/lib/Ixchel/Actions/sagan_rules.pm
Criterion Covered Total %
branch 0 40 0.0


line true false branch
75 0 0 if ($@)
83 0 0 if ($@)
91 0 0 if (not defined $base_config->{'rules-files'}) { }
0 0 elsif (ref $base_config->{'rules-files'} ne 'ARRAY') { }
0 0 elsif (not defined $base_config->{'rules-files'}[0]) { }
112 0 0 if ($self->{'config'}{'sagan'}{'multi_instance'}) { }
122 0 0 if (defined $self->{'opts'}{'i'}) { }
133 0 0 if ($@)
146 0 0 if (defined $self->{'opts'}{'i'})
157 0 0 if ($@)
181 0 0 if (not -f $file) { }
192 0 0 if ($@)
206 0 0 unless (defined $self->{'rules'}{$rule})
218 0 0 if ($line =~ /^ *\#/) { }
0 0 elsif (not $start and $line =~ /^rules\-files\:/) { }
0 0 elsif ($start and not $line =~ /^\ \ \-\ \$RULE\_PATH/) { }
228 0 0 if ($ignore_line) { }
240 0 0 if (not defined $current_rules->{$rule}) { }
248 0 0 if (defined $custom_rules_array[0])
260 0 0 if ($self->{'opts'}{'w'})