lib/MetaPOD/Format/JSON/namespace/v1.pm

filter: Statementstmt 100% 15 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod 100% 1 / 1 totaltotal 100% 21 / 21 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/MetaPOD/Format/JSON/v1_1.pm ↑ Summary
1  
2 6 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 6 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 package MetaPOD::Format::JSON::namespace::v1;
6 6 ▶BEGIN {
Subroutine BEGIN: called CC=1 SCAR=0.0
7 6 $MetaPOD::Format::JSON::namespace::v1::AUTHORITY = 'cpan:KENTNL';
8 }
9 {
10 6 $MetaPOD::Format::JSON::namespace::v1::VERSION = '0.3.0';
11 }
12  
13 # ABSTRACT: Implementation of JSON/namespace format component
14  
15  
16 6 ▶use Moo::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
17  
18  
19 12 ▶sub add_namespace {
Subroutine add_namespace: called CC=1 SCAR=0.0
Pod documented
20 12 my ( $self, $namespace, $result ) = @_;
21 12 return $result->set_namespace($namespace);
22 }
23  
24 6 1;
25  
26 __END__
« blib/lib/MetaPOD/Format/JSON/v1_1.pm ↑ Summary