blib/lib/Chef/Knife/Cmd/EC2.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 7 | 7 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 3 | 3 | 100.0 |
pod | n/a | ||
total | 10 | 10 | 100.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Chef::Knife::Cmd::EC2; | ||||||
2 | 6 | 6 | 27 | use Moo; | |||
6 | 8 | ||||||
6 | 32 | ||||||
3 | |||||||
4 | 6 | 6 | 3622 | use Chef::Knife::Cmd::EC2::Server; | |||
6 | 13 | ||||||
6 | 466 | ||||||
5 | |||||||
6 | has knife => (is => 'ro', required => 1, handles => [qw/handle_options run/]); | ||||||
7 | has server => (is => 'lazy'); | ||||||
8 | |||||||
9 | 1 | 1 | 753 | sub _build_server { Chef::Knife::Cmd::EC2::Server->new(knife => shift) } | |||
10 | |||||||
11 | 1; |