ParamCheck/Implementation/TypeParams/TypeTiny.pm

filter: Statementstmt 100% 40 / 40 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 14 / 14 Podpod 0.0% 0 / 2 totaltotal 96.4% 54 / 56 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« ParamCheck/Implementation/TypeParams/Specio.pm ↑ Summary ParamCheck/Implementation/ParamsCheck/TypeTiny.pm »
1 4 ▶use v5.12;
Subroutine BEGIN: called CC=1 SCAR=0.0
2 4 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 4 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 package Benchmark::Featureset::ParamCheck::Implementation::TypeParams::TypeTiny;
6  
7 4 our $AUTHORITY = 'cpan:TOBYINK';
8 4 our $VERSION = '0.006';
9  
10 4 ▶use parent qw(Benchmark::Featureset::ParamCheck::Base);
Subroutine BEGIN: called CC=1 SCAR=0.0
11 4 ▶use Ref::Util 0.203 ();
Subroutine BEGIN: called CC=1 SCAR=0.0
12 4 ▶use Ref::Util::XS 0.116 ();
Subroutine BEGIN: called CC=1 SCAR=0.0
13 4 ▶use Type::Params 1.016004 qw(compile_named compile);
Subroutine BEGIN: called CC=1 SCAR=0.0
14 4 ▶use Types::Standard 1.016004 -types;
Subroutine BEGIN: called CC=1 SCAR=0.0
15 4 ▶use Type::Tiny::XS 0.012 ();
Subroutine BEGIN: called CC=1 SCAR=0.0
16 4 ▶use namespace::autoclean;
Subroutine BEGIN: called CC=1 SCAR=0.0
17  
18 4 ▶use constant long_name => 'Type::Params with Type::Tiny';
Subroutine BEGIN: called CC=1 SCAR=0.0
19 4 ▶use constant short_name => 'TP-TT';
Subroutine BEGIN: called CC=1 SCAR=0.0
20  
21 sub get_named_check {
22 98 ▶ state $check = compile_named(
Subroutine get_named_check: called CC=1 SCAR=0.0
Pod undocumented
23 integer => Int,
24 hashes => ArrayRef[HashRef],
25 object => HasMethods[qw/ print close /],
26 );
27 }
28  
29 sub get_positional_check {
30 107 ▶ state $check = compile(
Subroutine get_positional_check: called CC=1 SCAR=0.0
Pod undocumented
31 Int,
32 ArrayRef[HashRef],
33 HasMethods[qw/ print close /],
34 );
35 }
36  
37 4 1;
« ParamCheck/Implementation/TypeParams/Specio.pm ↑ Summary ParamCheck/Implementation/ParamsCheck/TypeTiny.pm »