blib/lib/Docker/Registry/Auth/None.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 5 | 5 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 2 | 2 | 100.0 |
pod | 0 | 1 | 0.0 |
total | 7 | 8 | 87.5 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Docker::Registry::Auth::None; | ||||||
2 | 6 | 6 | 735586 | use Moo; | |||
6 | 34942 | ||||||
6 | 30 | ||||||
3 | with 'Docker::Registry::Auth'; | ||||||
4 | |||||||
5 | sub authorize { | ||||||
6 | 11 | 11 | 0 | 257 | my ($self, $request) = @_; | ||
7 | 11 | 29 | return $request; | ||||
8 | } | ||||||
9 | |||||||
10 | 1; |