Branch Coverage

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


line true false branch
25 2 202 unless @_
28 2 200 unless Types::TypeTiny::is_TypeTiny($param)
33 8 192 if @_
34 4 196 if @_
38 192 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 148 44 if $paramname
50 0 0 if $maker
59 192 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 192 if @_
91 4 196 if @_
95 192 8 if ($min == 0 and $max == -1)
100 16 184 unless $param->can_be_inlined
104 881 431 if $xsubname and not $Type::Tiny::AvoidCallbacks
107 88 343 if ($min != 0)
110 36 395 if ($max > 0)
115 4 427 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 72 29 unless $param->has_coercion
166 14 15 if ($param->coercion->can_be_inlined and $coercable_item->can_be_inlined) { }
192 74 0 @_ ? :
195 2 285 unless $coercable_item->check($item)