| lib/Test/Docker/Image/Boot.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| statement | 9 | 9 | 100.0 |
| branch | n/a | ||
| condition | n/a | ||
| subroutine | 4 | 4 | 100.0 |
| pod | 0 | 2 | 0.0 |
| total | 13 | 15 | 86.6 |
| line | stmt | bran | cond | sub | pod | time | code |
|---|---|---|---|---|---|---|---|
| 1 | package Test::Docker::Image::Boot; | ||||||
| 2 | |||||||
| 3 | 5 | 5 | 31724 | use strict; | |||
| 5 | 14 | ||||||
| 5 | 205 | ||||||
| 4 | 5 | 5 | 27 | use warnings; | |||
| 5 | 10 | ||||||
| 5 | 469 | ||||||
| 5 | |||||||
| 6 | sub new { | ||||||
| 7 | 4 | 4 | 0 | 42 | my $class = shift; | ||
| 8 | 4 | 40 | return bless{}, $class; | ||||
| 9 | } | ||||||
| 10 | |||||||
| 11 | sub host { | ||||||
| 12 | 1 | 1 | 0 | 663 | return '127.0.0.1'; # local | ||
| 13 | } | ||||||
| 14 | |||||||
| 15 | 1; |