lib/Test/Docker/Image/Boot/Boot2docker.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 12 | 13 | 92.3 |
branch | n/a | ||
condition | n/a | ||
subroutine | 4 | 5 | 80.0 |
pod | 0 | 1 | 0.0 |
total | 16 | 19 | 84.2 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Test::Docker::Image::Boot::Boot2docker; | ||||||
2 | |||||||
3 | 3 | 3 | 8392 | use strict; | |||
3 | 7 | ||||||
3 | 124 | ||||||
4 | 3 | 3 | 17 | use warnings; | |||
3 | 6 | ||||||
3 | 110 | ||||||
5 | 3 | 3 | 834 | use parent 'Test::Docker::Image::Boot'; | |||
3 | 369 | ||||||
3 | 23 | ||||||
6 | |||||||
7 | 3 | 3 | 851 | use Test::Docker::Image::Utility qw(run docker); | |||
3 | 6 | ||||||
3 | 304 | ||||||
8 | |||||||
9 | sub host { | ||||||
10 | 0 | 0 | 0 | return run(qw/boot2docker ip/); | |||
11 | } | ||||||
12 | |||||||
13 | 1; |