Branch Coverage

inc/Test/Differences.pm
Criterion Covered Total %
branch 14 76 18.4


line true false branch
215 0 0 if ref $_ ne 'ARRAY'
221 0 0 if ref $_ ne 'HASH'
231 0 4 if @_
232 4 0 unless ref $_
233 0 0 if (ref $_ eq 'ARRAY')
234 0 0 unless @$_
235 0 0 unless _isnt_ARRAY_of_scalars()
237 0 0 unless grep _isnt_ARRAY_of_scalars(), @$_
239 0 0 unless grep _isnt_HASH_of_scalars(), @$_
249 4 0 if @_
251 4 0 unless ref $_
253 0 0 unless $type
258 0 0 if ($type eq 'ARRAY of ARRAYs of scalars')
264 0 0 if ($type eq 'ARRAY of HASHes of scalars')
281 0 0 if ($type eq 'ARRAY of ARRAYs of scalars')
285 0 0 unless defined $_
302 0 2 if $has_test_pm and not $has_builder_pm
303 2 0 if not $has_test_pm and $has_builder_pm
305 0 0 if ($has_test_pm and $has_builder_pm)
327 0 2 if @_ > 2 and ref $_[-1]
331 0 2 if $options
332 2 0 unless ref $vals[0] or ref $vals[1]
341 0 2 if ($dump_it) { }
366 0 2 unless ($passed)
369 0 0 if exists $$options{'context'}
372 0 0 grep((@$_ > 25), @vals) ? :
0 0 $dump_it ? :
0 0 unless defined $context
375 0 0 unless $context =~ /\A\d+\z/
378 0 0 $data_type eq 'text' ? :
0 0 $data_type eq 'text' ? :
0 0 $data_type eq 'text' ? :
393 0 2 if ($which eq 'Test') { }
2 0 elsif ($which eq 'Test::Builder') { }
394 0 0 $passed ? :
404 0 2 unless $passed
407 0 0 unless ($warned_of_unknown_test_lib)
413 0 0 if ($passed) { }