File Coverage

blib/lib/Stenciller/Standard.pm
Criterion Covered Total %
statement 35 35 100.0
branch n/a
condition 1 2 50.0
subroutine 11 11 100.0
pod n/a
total 47 48 97.9


line stmt bran cond sub pod time code
1 5     5   39 use 5.14.0;
  5         12  
  5         155  
2 5     5   19 use strict;
  5         6  
  5         113  
3 5     5   16 use warnings;
  5         5  
  5         197  
4              
5             package Stenciller::Standard {
6              
7             our $VERSION = '0.1212'; # VERSION:
8             # ABSTRACT: Import to all
9              
10 5     5   20 use base 'Moops';
  5         5  
  5         2414  
11 5     5   213159 use List::AllUtils();
  5         44287  
  5         119  
12 5     5   2022 use Types::Stenciller();
  5         14  
  5         149  
13 5     5   2241 use MooseX::AttributeDocumented();
  5         1899064  
  5         154  
14 5     5   40 use Path::Tiny();
  5         81  
  5         78  
15 5     5   2972 use PerlX::Maybe();
  5         7908  
  5         102  
16 5     5   25 use Carp();
  5         7  
  5         561  
17              
18             sub import {
19 19     19   59 my $class = shift;
20 19         41 my %opts = @_;
21              
22 19   50     23 push @{ $opts{'imports'} ||= [] } => (
  19         333  
23             'List::AllUtils' => [qw/any none sum uniq first_index/],
24             'feature' => [qw/:5.14/],
25             'Types::Stenciller' => [{ replace => 1 }, '-types'],
26             'Path::Tiny' => ['path'],
27             'MooseX::AttributeDocumented' => [],
28             'PerlX::Maybe' => [qw/maybe provided/],
29             'Carp' => [qw/carp/],
30             );
31              
32 19         150 $class->SUPER::import(%opts);
33             }
34             }
35              
36             1;
37              
38             __END__
39              
40             =pod
41              
42             =encoding UTF-8
43              
44             =head1 NAME
45              
46             Stenciller::Standard - Import to all
47              
48             =head1 VERSION
49              
50             Version 0.1212, released 2015-02-10.
51              
52             =head1 SOURCE
53              
54             L<https://github.com/Csson/p5-Stenciller>
55              
56             =head1 HOMEPAGE
57              
58             L<https://metacpan.org/release/Stenciller>
59              
60             =head1 AUTHOR
61              
62             Erik Carlsson <info@code301.com>
63              
64             =head1 COPYRIGHT AND LICENSE
65              
66             This software is copyright (c) 2015 by Erik Carlsson <info@code301.com>.
67              
68             This is free software; you can redistribute it and/or modify it under
69             the same terms as the Perl 5 programming language system itself.
70              
71             =cut