| lib/Rex/Cron/Linux.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % | 
| statement | 11 | 16 | 68.7 | 
| branch | n/a | ||
| condition | 0 | 3 | 0.0 | 
| subroutine | 4 | 5 | 80.0 | 
| pod | 0 | 1 | 0.0 | 
| total | 15 | 25 | 60.0 | 
| line | stmt | bran | cond | sub | pod | time | code | 
|---|---|---|---|---|---|---|---|
| 1 | # | ||||||
| 2 |  # (c) Jan Gehring  | 
||||||
| 3 | # | ||||||
| 4 | |||||||
| 5 | package Rex::Cron::Linux; | ||||||
| 6 | |||||||
| 7 | 1 | 1 | 13 | use v5.12.5; | |||
| 1 | 8 | ||||||
| 8 | 1 | 1 | 5 | use warnings; | |||
| 1 | 2 | ||||||
| 1 | 45 | ||||||
| 9 | |||||||
| 10 | our $VERSION = '1.14.3'; # VERSION | ||||||
| 11 | |||||||
| 12 | 1 | 1 | 11 | use Rex::Cron::Base; | |||
| 1 | 3 | ||||||
| 1 | 26 | ||||||
| 13 | 1 | 1 | 28 | use base qw(Rex::Cron::Base); | |||
| 1 | 12 | ||||||
| 1 | 179 | ||||||
| 14 | |||||||
| 15 | sub new { | ||||||
| 16 | 0 | 0 | 0 | my $that = shift; | |||
| 17 | 0 | 0 | my $proto = ref($that) || $that; | ||||
| 18 | 0 | my $self = $proto->SUPER::new(@_); | |||||
| 19 | |||||||
| 20 | 0 | bless( $self, $proto ); | |||||
| 21 | |||||||
| 22 | 0 | return $self; | |||||
| 23 | } | ||||||
| 24 | |||||||
| 25 | 1; |