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 '/') { }
87 1 0 unless $modname
104 54 0 unless "$modname"->can($method)
105 46 8 if $i == 0
110 0 0 if (my $cref = "$modname"->can($e))
115 0 1 if ("$modname"->can('project_dir')) { }
175 0 0 if (substr(cfg_www_static_captchas_dir(), 0, length cfg_www_static_dir()) eq cfg_www_static_dir()) { }
187 0 0 cfg_template_dir_contains_lang() ? :
263 0 0 unless $request->{'env'}{'psgix.logger'}
268 0 0 if ($src eq 'get' || $src eq 'app' and $params ne '')
273 0 0 unless (defined $v)
276 0 0 if (exists $form->{$p})
289 0 0 if (exists $config_export{$cfg_key}) { }
0 0 elsif (exists $config_export{$key}) { }