File Coverage

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


line stmt bran cond sub pod time code
1 7     7   69 use 5.14.0;
  7         25  
2 7     7   37 use strict;
  7         14  
  7         166  
3 7     7   74 use warnings;
  7         12  
  7         352  
4              
5             package Stenciller::Standard {
6              
7             our $VERSION = '0.1302'; # VERSION:
8             # ABSTRACT: Import to all
9              
10 7     7   33 use base 'Moops';
  7         15  
  7         5475  
11 7     7   433187 use List::AllUtils();
  7         106230  
  7         181  
12 7     7   3552 use Types::Stenciller();
  7         26  
  7         233  
13 7     7   4888 use MooseX::AttributeDocumented();
  7         3754490  
  7         213  
14 7     7   62 use Path::Tiny();
  7         11  
  7         144  
15 7     7   6312 use PerlX::Maybe();
  7         15216  
  7         188  
16 7     7   41 use Carp();
  7         12  
  7         1165  
17              
18             sub import {
19 27     27   72 my $class = shift;
20 27         79 my %opts = @_;
21              
22 27   50     58 push @{ $opts{'imports'} ||= [] } => (
  27         579  
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 27         274 $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.1302, released 2015-11-28.
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.
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