Boxer/World.pm

filter: Statementstmt 100% 38 / 38 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 11 / 11 Podpod n/a totaltotal 100% 49 / 49 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Boxer/Task.pm ↑ Summary
1 package Boxer::World;
2  
3 =encoding UTF-8
4  
5 =head1 NAME
6  
7 Boxer::World - set of software available to install
8  
9 =cut
10  
11 6 ▶use v5.14;
Subroutine BEGIN: called CC=1 SCAR=0.0
12 6 ▶use utf8;
Subroutine BEGIN: called CC=1 SCAR=0.0
13 6 ▶use Role::Commons -all;
Subroutine BEGIN: called CC=1 SCAR=0.0
14 6 ▶use namespace::autoclean 0.16;
Subroutine BEGIN: called CC=1 SCAR=0.0
15 6 ▶use autodie;
Subroutine BEGIN: called CC=1 SCAR=0.0
16  
17 6 ▶use Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
18 6 ▶use MooX::StrictConstructor;
Subroutine BEGIN: called CC=1 SCAR=0.0
19 6 ▶use Types::Standard qw( ArrayRef InstanceOf Maybe );
Subroutine BEGIN: called CC=1 SCAR=0.0
20 6 ▶use Boxer::Types qw( DataDir );
Subroutine BEGIN: called CC=1 SCAR=0.0
21 6 with qw(MooX::Role::Logger);
22  
23 6 ▶use strictures 2;
Subroutine BEGIN: called CC=1 SCAR=0.0
24 6 ▶no warnings "experimental::signatures";
Subroutine BEGIN: called CC=1 SCAR=0.0
25  
26 =head1 VERSION
27  
28 Version v1.4.3
29  
30 =cut
31  
32 6 our $VERSION = "v1.4.3";
33  
34 =head1 DESCRIPTION
35  
36 Outside the box is a world of software.
37  
38 B<Boxer::World> is a class describing a collection of software
39 available for installation into (or as) an operating system.
40  
41 =head1 SEE ALSO
42  
43 L<Boxer>.
44  
45 =cut
46  
47 6 has data => (
48 is => 'lazy',
49 isa => Maybe [DataDir],
50 coerce => 1,
51 );
52  
53 6 has parts => (
54 is => 'ro',
55 isa => ArrayRef [ InstanceOf ['Boxer::Part'] ],
56 required => 1,
57 );
58  
59 =head1 AUTHOR
60  
61 Jonas Smedegaard C<< <dr@jones.dk> >>.
62  
63 =cut
64  
65 6 our $AUTHORITY = 'cpan:JONASS';
66  
67 =head1 COPYRIGHT AND LICENCE
68  
69 Copyright © 2013-2016 Jonas Smedegaard
70  
71 This is free software; you can redistribute it and/or modify it under
72 the same terms as the Perl 5 programming language system itself.
73  
74 =head1 DISCLAIMER OF WARRANTIES
75  
76 THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
77 WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
78 MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
79  
80 =cut
81  
82 6 1;
« Boxer/Task.pm ↑ Summary