Catmandu/Fix/Condition/is_array.pm

filter: Statementstmt 100% 20 / 20 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 6 / 6 Podpod n/a totaltotal 100% 26 / 26 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Catmandu/Fix/Condition/any_match.pm ↑ Summary Catmandu/Fix/Condition/is_number.pm »
1 package Catmandu::Fix::Condition::is_array;
2  
3 1 ▶use Catmandu::Sane;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 1 our $VERSION = '1.2025';
6  
7 1 ▶use Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
8 1 ▶use Catmandu::Util qw(is_array_ref);
Subroutine BEGIN: called CC=1 SCAR=0.0
9 1 ▶use namespace::clean;
Subroutine BEGIN: called CC=1 SCAR=0.0
10 1 ▶use Catmandu::Fix::Has;
Subroutine BEGIN: called CC=1 SCAR=0.0
11  
12 1 has path => (fix_arg => 1);
13  
14 1 with 'Catmandu::Fix::Condition::Builder::Simple';
15  
16 1 ▶sub _build_value_tester {
Subroutine _build_value_tester: called CC=1 SCAR=0.0
17 1 \&is_array_ref;
18 }
19  
20 1 1;
21  
22 __END__
« Catmandu/Fix/Condition/any_match.pm ↑ Summary Catmandu/Fix/Condition/is_number.pm »