blib/lib/Kubernetes/REST/CallContext.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 6 | 6 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 2 | 2 | 100.0 |
pod | n/a | ||
total | 8 | 8 | 100.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Kubernetes::REST::CallContext; | ||||||
2 | 1 | 1 | 65498 | use Moo; | |||
1 | 11026 | ||||||
1 | 6 | ||||||
3 | 1 | 1 | 1978 | use Types::Standard qw/Str ArrayRef InstanceOf/; | |||
1 | 73947 | ||||||
1 | 10 | ||||||
4 | |||||||
5 | has method => (is => 'ro', isa => Str, required => 1); | ||||||
6 | has params => (is => 'ro', isa => ArrayRef, required => 1); | ||||||
7 | has credentials => (is => 'ro', required => 1); | ||||||
8 | has server => (is => 'ro', isa => InstanceOf['Kubernetes::REST::Server'], required => 1); | ||||||
9 | |||||||
10 | 1; |