Poz.pm

filter: Statementstmt 81.8% 9 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod n/a totaltotal 86.6% 13 / 15 CC 1 SCAR 0.7
CC
1
Cov
82%
BEGIN
1.3
BEGIN
1.0
BEGIN
1.0
CRAP 1.1
« Poz/Types/scalar.pm ↑ Summary Poz/Builder.pm »
1 package Poz;
2 11 ▶use 5.032;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 11 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 11 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 0 ▶use Poz::Builder;
Subroutine BEGIN: called CC=1 SCAR=2.6
6 use Exporter 'import';
7 use Carp;
8  
9 our $VERSION = "0.16";
10  
11 our @EXPORT_OK = qw/z/;
12 our %EXPORT_TAGS = (all => \@EXPORT_OK);
13  
14 $Carp::Internal{'Poz'}++;
15 $Carp::Internal{'Poz::Builder'}++;
16 $Carp::Internal{'Poz::Types'}++;
17 $Carp::Internal{'Poz::Types::scalar'}++;
18 $Carp::Internal{'Poz::Types::null'}++;
19 $Carp::Internal{'Poz::Types::string'}++;
20 $Carp::Internal{'Poz::Types::number'}++;
21 $Carp::Internal{'Poz::Types::object'}++;
22 $Carp::Internal{'Poz::Types::array'}++;
23 $Carp::Internal{'Poz::Types::enum'}++;
24 $Carp::Internal{'Poz::Types::union'}++;
25 $Carp::Internal{'Poz::Types::is'}++;
26  
27 sub z {
28 return Poz::Builder->new;
29 }
30  
31 1;
32 __END__
« Poz/Types/scalar.pm ↑ Summary Poz/Builder.pm »