Resume/Internal.pm

filter: Statementstmt 100% 25 / 25 Branchbran n/a Conditioncond 50.0% 1 / 2 MC/DCmcdc 0.0% 0 / 1 Subroutinesub 100% 7 / 7 Podpod n/a totaltotal 94.2% 33 / 35 CC 2 SCAR 2.3
CC
2
Cov
96%
import
2.0
__ANON__
1.0
__ANON__
1.0
CRAP 1.3
« Resume.pm ↑ Summary Resume/Moose.pm »
1 package Acme::Resume::Internal;
2  
3 6 our $VERSION = '0.0102'; # VERSION
4 # ABSTRACT: Moops wrapper for internal use
5  
6 6 ▶use strict;
Subroutine __ANON__: called CC=1 SCAR=0.0
7 6 ▶use warnings;
Subroutine __ANON__: called CC=1 SCAR=0.0
8  
9 6 ▶use base 'MoopsX::UsingMoose';
Subroutine __ANON__: called CC=1 SCAR=0.0
10  
11 6 ▶use Types::Standard();
Subroutine __ANON__: called CC=1 SCAR=0.0
12 6 ▶use Types::URI();
Subroutine __ANON__: called CC=1 SCAR=0.0
13 6 ▶use Acme::Resume::Types();
Subroutine __ANON__: called CC=1 SCAR=0.0
14  
15 sub import {
16 8 ▶ my $class = shift;
Subroutine import: called CC=2 SCAR=7.0
17 8 my %opts = @_;
18  
19 8 ▶ push @{ $opts{'imports'} ||= [] } => (
Condition50%1/2
$opts{"imports"} ||= []
l!l
08
MC/DC0%0/1
$opts{"imports"} ||= []
$opts{"imports"}
Truth table50%1/2
A
A= $opts{"imports"}
Aresult
11
00
20 'Types::Standard' => ['-types'],
21 'Types::URI' => ['-types'],
22 'Acme::Resume::Types' => [{ replace => 1 }, '-types'],
23 );
24  
25 8 $class->SUPER::import(%opts);
26 }
27  
28 6 1;
29  
30 __END__
31  
32 =pod
33  
34 =encoding UTF-8
35  
36 =head1 NAME
37  
38 Acme::Resume::Internal - Moops wrapper for internal use
39  
40 =head1 VERSION
41  
42 Version 0.0102, released 2016-01-27.
43  
44 =head1 SOURCE
45  
46 L<https://github.com/Csson/p5-Acme-Resume>
47  
48 =head1 HOMEPAGE
49  
50 L<https://metacpan.org/release/Acme-Resume>
51  
52 =head1 AUTHOR
53  
54 Erik Carlsson <info@code301.com>
55  
56 =head1 COPYRIGHT AND LICENSE
57  
58 This software is copyright (c) 2016 by Erik Carlsson.
59  
60 This is free software; you can redistribute it and/or modify it under
61 the same terms as the Perl 5 programming language system itself.
62  
63 =cut
« Resume.pm ↑ Summary Resume/Moose.pm »