Branch Coverage

File:lib/Yukki/Web/Controller/Page.pm
Coverage:8.7%

line%coveragebranch
3250TFif ($action eq 'view') { }
0TFelsif ($action eq 'edit') { }
0TFelsif ($action eq 'history') { }
0TFelsif ($action eq 'diff') { }
0TFelsif ($action eq 'preview') { }
0TFelsif ($action eq 'attach') { }
0TFelsif ($action eq 'rename') { }
0TFelsif ($action eq 'remove') { }
5950TFunless (defined $path)
8450TFif ($final_part =~ s/\.(?<filetype>[a-z0-9]+)$//u)
10950TFif (not $page->exists) { }
1490TFif ($ctx->request->method eq 'POST')
1540TFif (my $user = $ctx->session->{'user'})
1990TFif ($ctx->request->method eq 'POST')
2030TFif ($new_name =~ m[^$part(?:/$part)*$]u) { }
2050TFif (my $user = $ctx->session->{'user'})
2510TFif ($ctx->request->method eq 'POST' and $confirmed)
2530TFif ($return_to->full_path ne $page->full_path) { }
2540TFif (my $user = $ctx->session->{'user'})
3330TFif ($chunk->[0] eq ' ') { }
0TFelsif ($chunk->[0] eq '+') { }
0TFelsif ($chunk->[0] eq '-') { }
3560TFif ("$_" =~ /usage: git diff/u)