Data/Sah/Type/all.pm

filter: Statementstmt 90.4% 19 / 21 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 80.0% 4 / 5 Podpod n/a totaltotal 88.4% 23 / 26 CC 1 SCAR 1.8
CC
1
Cov
90%
__ANON__
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« Data/Sah/Compiler/perl/TH.pm ↑ Summary Data/Sah/Type/any.pm »
1 package Data::Sah::Type::all;
2  
3 6 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 6 ▶use Data::Sah::Util::Role 'has_clause';
Subroutine BEGIN: called CC=1 SCAR=0.0
6 6 ▶use Role::Tiny;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 6 ▶use Role::Tiny::With;
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 6 with 'Data::Sah::Type::BaseType';
10  
11 has_clause 'of',
12 v => 2,
13 tags => ['constraint'],
14 schema => ['array' => {req=>1, min_len=>1, each_elem => ['sah::schema', {req=>1}, {}]}],
15 0 ▶ subschema => sub { @{ $_[0] } },
Subroutine __ANON__: not called CC=1 SCAR=6.9
16 6 allow_expr => 0,
17 ;
18  
19 6 our $AUTHORITY = 'cpan:PERLANCAR'; # AUTHORITY
20 6 our $DATE = '2024-02-16'; # DATE
21 6 our $DIST = 'Data-Sah'; # DIST
22 6 our $VERSION = '0.917'; # VERSION
23  
24 6 1;
25 # ABSTRACT: all type
26  
27 __END__
« Data/Sah/Compiler/perl/TH.pm ↑ Summary Data/Sah/Type/any.pm »