Branch Coverage

blib/lib/overload/reify.pm
Criterion Covered Total %
branch 41 50 82.0


line true false branch
154 5 8 'HASH' eq ref $_[-1] ? :
163 0 13 if %opt
172 3 1 if ($arg eq '-not') { }
175 2 1 if @args == @_ - 1
178 0 3 unless $arg = shift @args
181 3 0 unless 'ARRAY' eq ref $arg
193 10 3 unless %install or @_
201 585 43 unless defined $glob
204 0 43 unless defined $coderef
208 9 34 if (defined &overload::nil and $coderef == \&overload::nil or defined &overload::_nil and $coderef == \&overload::_nil)
215 0 9 unless defined $original_method_name
221 9 34 if (defined $original_method_name)
222 1 8 unless $wrap_methods
226 1 7 if $original_method_name eq $new_method_name
242 31 10 unless ($redefine)
253 39 0 defined &overload::nil ? :
270 2 60 exists do { "${package}::" }->{$name} ? :
280 2 60 defined $glob ? :
311 6 32 if defined $OP{$op}
312 15 17 if $op eq ':all'
316 0 17 unless defined $tag
320 17 0 if defined $overload::ops{$tag}
331 0 16 unless @ops
370 2 3 'HASH' eq ref $_[-1] ? :
373 4 1 @_ ? :