| blib/lib/Plack/Middleware/Debug/GitStatus.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 4 | 14 | 28.5 |
| line | true | false | branch |
|---|---|---|---|
| 31 | 1 | 2 | if ($info->{'error'}) { } |
| 47 | 1 | 1 | if (my $url = $self->gitweb_url) |
| 61 | 0 | 0 | if (my $dir = $self->git_dir) |
| 62 | 0 | 0 | unless (chdir $dir) |
| 69 | 0 | 0 | if ($?) |
| 86 | 0 | 0 | if (my $err = $@) { } |
| 98 | 0 | 0 | unless $status |