blib/lib/Hook/Modular.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 7 | 30 | 23.3 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
75 | 9 | 0 | 3 | $$self{'conf'}{'should_rewrite_config'} and @{$$self{'rewrite_tasks'};} |
164 | 0 | 0 | 0 | -f $ent and $ent =~ /\.pm$/ |
168 | 0 | 0 | 0 | -e $lib and -d _ |
218 | 0 | 0 | 0 | ref $stuff && ref $stuff eq 'Regexp' |
line | l | !l | condition |
---|---|---|---|
55 | 12 | 0 | $$self{'conf'}{'log'} ||= {'level', 'debug'} |
137 | 0 | 0 | (basename($config) =~ /^(.*?)\.yaml$/)[0] || 'config' |
154 | 0 | 12 | $self->conf->{'plugin_path'} || [] |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
56 | 0 | 12 | 0 | $$self{'conf'}{'plugin_namespace'} ||= $self->PLUGIN_NAMESPACE |
68 | 0 | 12 | 0 | $$self{'conf'}{'log'}{'encoding'} ||= Term::Encoding::get_encoding() |
139 | 0 | 0 | 0 | $$self{'conf'}{'cache'}{'base'} ||= 'File::Spec'->catfile($self->home_dir, $dir) |
316 | 0 | 12 | 0 | $caller ||= caller 0 |