Branch Coverage

blib/lib/Hook/Modular/Plugin.pm
Criterion Covered Total %
branch 12 22 54.5


line true false branch
36 6 10 if (my $rule = $$self{'rule'}) { }
37 6 0 if ref $rule eq 'HASH'
43 3 13 if 'Hook::Modular'->context->{'conf'}{'should_rewrite_config'}
57 12 3 unless defined $data and ref $data
58 3 0 if (ref $data eq 'HASH') { }
0 0 elsif (ref $data eq 'ARRAY') { }
60 3 9 if ($key =~ /password/)
73 3 0 if ($decrypted eq $$data{$key}) { }
83 4 0 if $self->rule_hook
104 0 0 if ($self->conf->{'assets_path'})
120 0 0 unless (blessed $rule and $rule->isa('File::Find::Rule'))