File Coverage

blib/lib/Stepford/FinalStep.pm
Criterion Covered Total %
statement 19 19 100.0
branch n/a
condition n/a
subroutine 7 7 100.0
pod 0 2 0.0
total 26 28 92.8


line stmt bran cond sub pod time code
1             package Stepford::FinalStep;
2              
3 39     39   303 use strict;
  39         641  
  39         1154  
4 39     39   215 use warnings;
  39         312  
  39         913  
5 39     39   500 use namespace::autoclean;
  39         81  
  39         200  
6              
7             our $VERSION = '0.006001';
8              
9 39     39   3878 use Moose;
  39         121  
  39         439  
10 39     39   283080 use MooseX::StrictConstructor;
  39         849973  
  39         157  
11              
12             with 'Stepford::Role::Step';
13              
14             # We always want this step to run
15             sub last_run_time {
16             ## no critic (Subroutines::ProhibitExplicitReturnUndef)
17 122     122 0 3470 return undef;
18             }
19              
20             sub run {
21 73     73 0 303 my $self = shift;
22              
23 73         2362 $self->logger->info('Completed execution');
24              
25 73         3215 return;
26             }
27              
28             __PACKAGE__->meta->make_immutable;
29              
30             1;
31              
32             # ABSTRACT: The final step for all Stepford runs
33              
34             __END__
35              
36             =pod
37              
38             =encoding UTF-8
39              
40             =head1 NAME
41              
42             Stepford::FinalStep - The final step for all Stepford runs
43              
44             =head1 VERSION
45              
46             version 0.006001
47              
48             =head1 DESCRIPTION
49              
50             This step just logs the message "Completed execution". It is always run as the
51             last step when calling C<run> on a L<Stepford::Runner> object.
52              
53             =for Pod::Coverage .*
54              
55             =head1 SUPPORT
56              
57             Bugs may be submitted through L<https://github.com/maxmind/Stepford/issues>.
58              
59             =head1 AUTHOR
60              
61             Dave Rolsky <drolsky@maxmind.com>
62              
63             =head1 COPYRIGHT AND LICENSE
64              
65             This software is copyright (c) 2014 - 2023 by MaxMind, Inc.
66              
67             This is free software; you can redistribute it and/or modify it under
68             the same terms as the Perl 5 programming language system itself.
69              
70             =cut