blib/lib/Magpie/Dispatcher/Env.pm

filter: Statementstmt 46.6% 7 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 50.0% 1 / 2 Podpod 0.0% 0 / 1 totaltotal 44.4% 8 / 18 CC 2 SCAR 14.7
CC
2
Cov
47%
load_queue
6.0
BEGIN
1.0
CRAP 4.3
« blib/lib/Magpie/Event.pm ↑ Summary blib/lib/Magpie/Util.pm »
1 package Magpie::Dispatcher::Env;
2 #ABSTRACT: INCOMPLETE - Placeholder for future Dispatcher Role
3 1 $Magpie::Dispatcher::Env::VERSION = '1.141660';
4 1 ▶use Moose::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 1 requires 'map_events';
7  
8 1 has event_mapping => (
9 is => 'ro',
10 isa => 'HashRef',
11 builder => 'map_events',
12 );
13  
14 sub load_queue {
15 0 ▶ my $self = shift;
Subroutine load_queue: not called CC=2 SCAR=17.9
Pod undocumented
16 0 my $ctxt = shift;
17 0 my $mapping = $self->event_mapping;
18  
19 0 my @event_names = ();
20 0 my $env = $self->plack_request->env;
21  
22 0 foreach my $event ( keys( %{$mapping} )) {
23 0 my $val = $mapping->{$event};
24  
25 }
26 }
27  
28 1 1;
29  
30  
31  
32 =pod
33  
34 =head1 NAME
35  
36 Magpie::Dispatcher::Env - INCOMPLETE - Placeholder for future Dispatcher Role
37  
38 =head1 VERSION
39  
40 version 1.141660
41  
42 #SEEALSO: Magpie
43  
44 =head1 AUTHORS
45  
46 =over 4
47  
48 =item *
49  
50 Kip Hampton <kip.hampton@tamarou.com>
51  
52 =item *
53  
54 Chris Prather <chris.prather@tamarou.com>
55  
56 =back
57  
58 =head1 COPYRIGHT AND LICENSE
59  
60 This software is copyright (c) 2011 by Tamarou, LLC.
61  
62 This is free software; you can redistribute it and/or modify it under
63 the same terms as the Perl 5 programming language system itself.
64  
65 =cut
66  
67  
68 __END__
« blib/lib/Magpie/Event.pm ↑ Summary blib/lib/Magpie/Util.pm »