blib/lib/Magpie/Transformer.pm

filter: Statementstmt 91.6% 11 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 66.6% 2 / 3 Podpod n/a totaltotal 86.6% 13 / 15 CC 1 SCAR 2.9
CC
1
Cov
92%
__ANON__
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.3
« blib/lib/Magpie/Dispatcher/RequestMethod.pm ↑ Summary blib/lib/Magpie/Resource/Abstract.pm »
1 package Magpie::Transformer;
2 # ABSTRACT: Magpie Pipeline Transformer Base Class
3 35 $Magpie::Transformer::VERSION = '1.141660';
4 35 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 35 extends 'Magpie::Component';
6 35 ▶use Magpie::Constants;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 # abstract base class for all transformer;
9  
10 35 has '+_trait_namespace' => (
11 default => 'Magpie::Plugin::Transformer'
12 );
13  
14 has resource => (
15 is => 'rw',
16 isa => 'MagpieResourceObject',
17 coerce => 1,
18 0 ▶ default => sub { return $_[0]->resolve_internal_asset( service => 'default_resource') },
Subroutine __ANON__: not called CC=1 SCAR=6.9
19 35 );
20  
21 # SEEALSO: Magpie
22  
23 35 1;
24  
25  
26 =pod
27  
28 =head1 NAME
29  
30 Magpie::Transformer - Magpie Pipeline Transformer Base Class
31  
32 =head1 VERSION
33  
34 version 1.141660
35  
36 =head1 AUTHORS
37  
38 =over 4
39  
40 =item *
41  
42 Kip Hampton <kip.hampton@tamarou.com>
43  
44 =item *
45  
46 Chris Prather <chris.prather@tamarou.com>
47  
48 =back
49  
50 =head1 COPYRIGHT AND LICENSE
51  
52 This software is copyright (c) 2011 by Tamarou, LLC.
53  
54 This is free software; you can redistribute it and/or modify it under
55 the same terms as the Perl 5 programming language system itself.
56  
57 =cut
58  
59  
60 __END__
« blib/lib/Magpie/Dispatcher/RequestMethod.pm ↑ Summary blib/lib/Magpie/Resource/Abstract.pm »