Branch Coverage

lib/PEF/Front/Config.pm
Criterion Covered Total %
branch 7 30 23.3


line true false branch
13 0 1 if (not $path) { }
0 1 elsif (substr($path, -1, 1) ne '/') { }
85 1 0 unless $modname
102 52 0 unless "$modname"->can($method)
103 44 8 if $i == 0
108 0 0 if (my $cref = "$modname"->can($e))
113 0 1 if ("$modname"->can('project_dir')) { }
171 0 0 if (substr(cfg_www_static_captchas_dir(), 0, length cfg_www_static_dir()) eq cfg_www_static_dir()) { }
183 0 0 cfg_template_dir_contains_lang() ? :
259 0 0 unless $request->{'env'}{'psgix.logger'}
264 0 0 if ($src eq 'get' || $src eq 'app' and $params ne '')
269 0 0 unless (defined $v)
272 0 0 if (exists $form->{$p})
285 0 0 if (exists $config_export{$cfg_key}) { }
0 0 elsif (exists $config_export{$key}) { }