Branch Coverage

lib/Types/Standard/ArrayRef.pm
Criterion Covered Total %
branch 53 64 82.8


line true false branch
25 2 131 unless @_
28 2 129 unless Types::TypeTiny::is_TypeTiny($param)
33 8 121 if @_
34 4 125 if @_
38 121 8 if ($min == 0 and $max == -1) { }
0 8 elsif (&Type::Tiny::_USE_MOUSE() and $param->_has_xsub and $min == 0 and $max == -1) { }
40 95 26 if $paramname
50 0 0 if $maker
59 121 8 if $min == 0 and $max == -1
64 10 12 if @$array < $min
68 4 4 if $max == -1
72 0 0 if @$array > $max
76 0 4 if $min == 0
80 2 8 if @$array < $min
81 3 5 if @$array > $max
90 8 121 if @_
91 4 125 if @_
95 121 8 if ($min == 0 and $max == -1)
100 9 120 unless $param->can_be_inlined
104 717 335 if $xsubname and not $Type::Tiny::AvoidCallbacks
107 88 247 if ($min != 0)
110 36 299 if ($max > 0)
115 4 331 if $param->{'uniq'} eq &Types::Standard::Any()->{'uniq'}
128 0 2 if @{$type->parameters;} > 1
129 0 2 if @{$type->parameters;} > 2
131 0 2 if ($min != 0 and @$value < $min)
138 0 2 if ($max > 0 and @$value > $max)
147 3 2 if $param->check($item)
161 23 25 unless $param->has_coercion
166 11 14 if ($param->coercion->can_be_inlined and $coercable_item->can_be_inlined) { }
192 72 0 @_ ? :
195 1 279 unless $coercable_item->check($item)