blib/lib/Sque/Encoder.pm

filter: Statementstmt 100% 10 / 10 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 100% 13 / 13 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
__ANON__
1.0
CRAP 1.0
« blib/lib/Sque/Job.pm ↑ Summary
1 package Sque::Encoder;
2 6 $Sque::Encoder::VERSION = '0.010';
3 6 ▶use Any::Moose 'Role';
Subroutine BEGIN: called CC=1 SCAR=0.0
4 6 ▶use JSON;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 # ABSTRACT: Any::Moose role for encoding Sque structures
7 #
8 # =attr encoder
9 #
10 # JSON encoder by default.
11 #
12 # =cut
13 11 ▶has encoder => ( is => 'ro', default => sub { JSON->new->utf8 } );
Subroutine __ANON__: called CC=1 SCAR=0.0
14  
15 6 1;
16  
17 __END__
« blib/lib/Sque/Job.pm ↑ Summary