| lib/Rex/PkgConf/Base.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| statement | 5 | 10 | 50.0 |
| branch | n/a | ||
| condition | 0 | 3 | 0.0 |
| subroutine | 2 | 3 | 66.6 |
| pod | 0 | 1 | 0.0 |
| total | 7 | 17 | 41.1 |
| line | stmt | bran | cond | sub | pod | time | code |
|---|---|---|---|---|---|---|---|
| 1 | # | ||||||
| 2 | # (c) Jan Gehring |
||||||
| 3 | # | ||||||
| 4 | |||||||
| 5 | package Rex::PkgConf::Base; | ||||||
| 6 | |||||||
| 7 | 1 | 1 | 14 | use v5.12.5; | |||
| 1 | 3 | ||||||
| 8 | 1 | 1 | 5 | use warnings; | |||
| 1 | 3 | ||||||
| 1 | 105 | ||||||
| 9 | |||||||
| 10 | our $VERSION = '1.14.2.3'; # TRIAL VERSION | ||||||
| 11 | |||||||
| 12 | sub new { | ||||||
| 13 | 0 | 0 | 0 | my $that = shift; | |||
| 14 | 0 | 0 | my $proto = ref($that) || $that; | ||||
| 15 | 0 | my $self = {@_}; | |||||
| 16 | |||||||
| 17 | 0 | bless( $self, $proto ); | |||||
| 18 | |||||||
| 19 | 0 | return $self; | |||||
| 20 | } | ||||||
| 21 | |||||||
| 22 | 1; |