BLAH.pm

filter: Statementstmt 100% 35 / 35 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 8 / 8 Podpod 0.0% 0 / 1 totaltotal 97.7% 43 / 44 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« BLAH/Types.pm ↑ Summary BLAH/Role/Authentication.pm »
1 #
2 # This file is part of BLAH
3 #
4 # This software is Copyright (c) 2015 by Chris Weyl.
5 #
6 # This is free software, licensed under:
7 #
8 # The GNU Lesser General Public License, Version 2.1, February 1999
9 #
10 package BLAH;
11 2 our $AUTHORITY = 'cpan:RSRCHBOY';
12 # git description: 34a88a7
13 2 $BLAH::VERSION = '0.001'; # TRIAL
14  
15 # ABSTRACT: Business Logic Adapter Helpers
16  
17 2 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
18 2 ▶use namespace::autoclean 0.24;
Subroutine BEGIN: called CC=1 SCAR=0.0
19 2 ▶use Moose::Exporter;
Subroutine BEGIN: called CC=1 SCAR=0.0
20 2 ▶use Moose::Util;
Subroutine BEGIN: called CC=1 SCAR=0.0
21 2 ▶use MooseX::AbstractMethod;
Subroutine BEGIN: called CC=1 SCAR=0.0
22  
23 2 ▶use MooseX::Util::Meta::Class;
Subroutine BEGIN: called CC=1 SCAR=0.0
24  
25 2 ▶use BLAH::Role::BLAH;
Subroutine BEGIN: called CC=1 SCAR=0.0
26  
27 2 with
28 'MooseX::Traitor',
29 ;
30  
31 2 Moose::Exporter->setup_import_methods(
32 also => 'Moose',
33 );
34  
35 1 ▶sub init_meta {
Subroutine init_meta: called CC=1 SCAR=0.0
Pod undocumented
36 1 my $class = shift @_;
37 1 my %args = @_;
38  
39 ### $class
40 ### %args
41  
42 ### create metaclass and push BLAH into superclasses for: $args{for_class}
43 1 my $meta = Moose->init_meta(@_, metaclass => 'MooseX::Util::Meta::Class');
44 1 $meta->superclasses('BLAH');
45  
46 1 return $meta;
47 }
48  
49  
50 2 abstract 'execute';
51 2 abstract 'name';
52  
53 2 with 'BLAH::Role::BLAH';
54  
55 2 __PACKAGE__->meta->make_immutable;
56 2 !!42;
57  
58 __END__
« BLAH/Types.pm ↑ Summary BLAH/Role/Authentication.pm »