blib/lib/Test/Smoke/App/Archiver.pm

filter: Statementstmt 100% 20 / 20 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 6 / 6 Podpod 100% 2 / 2 totaltotal 100% 28 / 28 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/Test/Smoke/App/HandleQueue.pm ↑ Summary blib/lib/Test/Smoke/App/Reporter.pm »
1 package Test::Smoke::App::Archiver;
2 3 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 3 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 3 our $VERSION = '0.001';
6  
7 3 ▶use base 'Test::Smoke::App::Base';
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 3 ▶use Test::Smoke::Archiver;
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 =head1 NAME
12  
13 Test::Smoke::App::Archiver - The tsarchive.pl application.
14  
15 =head1 DESCRIPTION
16  
17 =head2 Test::Smoke::App::Archiver->new()
18  
19 Creates a new attribute C<archiver> of class L<Test::Smoke::Archiver>.
20  
21 =cut
22  
23 3 ▶sub new {
Subroutine new: called CC=1 SCAR=0.0
Pod documented
24 3 my $class = shift;
25 3 my $self = $class->SUPER::new(@_);
26  
27 3 $self->{_archiver} = Test::Smoke::Archiver->new(
28 $self->options,
29 v => $self->option('verbose'),
30 );
31  
32 3 return $self;
33 }
34  
35 =head2 $archiver->run()
36  
37 Calls C<< $self->archiver->archive_files() >>.
38  
39 =cut
40  
41 2 ▶sub run {
Subroutine run: called CC=1 SCAR=0.0
Pod documented
42 2 my $self = shift;
43  
44 2 $self->archiver->archive_files();
45 }
46  
47 3 1;
48  
49 =head1 COPYRIGHT
50  
51 (c) 2002-2013, Abe Timmerman <abeltje@cpan.org> All rights reserved.
52  
53 With contributions from Jarkko Hietaniemi, Merijn Brand, Campo
54 Weijerman, Alan Burlison, Allen Smith, Alain Barbet, Dominic Dunlop,
55 Rich Rauenzahn, David Cantrell.
56  
57 This library is free software; you can redistribute it and/or modify
58 it under the same terms as Perl itself.
59  
60 See:
61  
62 =over 4
63  
64 =item * L<http://www.perl.com/perl/misc/Artistic.html>
65  
66 =item * L<http://www.gnu.org/copyleft/gpl.html>
67  
68 =back
69  
70 This program is distributed in the hope that it will be useful,
71 but WITHOUT ANY WARRANTY; without even the implied warranty of
72 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
73  
74 =cut
« blib/lib/Test/Smoke/App/HandleQueue.pm ↑ Summary blib/lib/Test/Smoke/App/Reporter.pm »