File Coverage

blib/lib/PkgForge/BuildCommand/Submitter.pm
Criterion Covered Total %
statement 15 15 100.0
branch n/a
condition n/a
subroutine 5 5 100.0
pod n/a
total 20 20 100.0


line stmt bran cond sub pod time code
1             package PkgForge::BuildCommand::Submitter; # -*-perl-*-
2 1     1   1206 use strict;
  1         4  
  1         99  
3 1     1   7 use warnings;
  1         2  
  1         63  
4              
5             # $Id: Submitter.pm.in 16781 2011-04-22 09:41:46Z squinney@INF.ED.AC.UK $
6             # $Source:$
7             # $Revision: 16781 $
8             # $HeadURL: https://svn.lcfg.org/svn/source/tags/PkgForge-Server/PkgForge_Server_1_1_10/lib/PkgForge/BuildCommand/Submitter.pm.in $
9             # $Date: 2011-04-22 10:41:46 +0100 (Fri, 22 Apr 2011) $
10              
11             our $VERSION = '1.1.10';
12              
13 1     1   1054 use Moose::Role;
  1         5255  
  1         5  
14 1     1   6112 use MooseX::Types::Moose qw(Str);
  1         4  
  1         38  
15              
16             with 'PkgForge::BuildCommand';
17              
18             has 'platform' => (
19             is => 'ro',
20             isa => Str,
21             required => 1,
22             documentation => 'The platform to build on',
23             );
24              
25             has 'architecture' => (
26             is => 'ro',
27             isa => Str,
28             required => 0,
29             predicate => 'has_architecture',
30             documentation => 'The architecture to build on',
31             );
32              
33 1     1   5560 no Moose::Role;
  1         2  
  1         5  
34              
35             1;
36             __END__
37              
38