Branch Coverage

File:blib/lib/App/Test/Generator/BenchmarkGenerator.pm
Coverage:96.9%

line%coveragebranch
191100TFunless defined $params->{'schema'}
192100TFunless ref $params->{'schema'} eq "HASH"
298100TFunless ($module eq "builtin")
299100TFunless $module =~ /^[A-Za-z_]\w*(?:::[A-Za-z_]\w*)*\z/u
302100TFunless $function =~ /^[A-Za-z_]\w*(?:::[A-Za-z_]\w*)*\z/u
312100TF$is_builtin ? :
322100TFunless ($is_builtin)
331100TFif ($has_new and not $is_builtin)
333100TFif (ref $new_spec eq 'HASH' and %$new_spec) { }
345100TFif (%xforms) { }
350100TFexists $xform->{'input'} && defined $xform->{'input'} ? :
388100TFif ref $_ eq "HASH"
391100TFif ($has_positions) { }
39350TFif ref $_ eq "HASH"
403100TF$module eq 'builtin' ? :
100TF$has_new ? :
410100TF$has_new ? :
430100TFunless defined $spec
43150TFunless ref $spec eq "HASH"
435100TFif ($type eq "number" or $type eq "integer" or $type eq "float")
440100TFdefined $spec->{'sample_max'} ? :
442100TFif (defined $min and &looks_like_number($min) and defined $max and &looks_like_number($max))
445100TFif (defined $min and &looks_like_number($min))
447100TF$default > $min ? :
449100TFif (defined $max and &looks_like_number($max))
451100TF$default < $max ? :
471100TFunless defined $v
473100TFif (my $type = ref $v)
474100TFunless $type eq "HASH" or $type eq "ARRAY"
482100TFif $v =~ /$NUMERIC_LITERAL_RE/u
513100TF$key =~ /$BAREWORD_RE/u ? :
531100TFref $v eq 'HASH' ? :