| line | % | coverage | condition |
| 1548 | 100 | | ref $args eq "HASH" or defined $_[2] |
| 1593 | 67 | | exists $schema->{'module'} and length $schema->{'module'} |
| 1624 | 50 | | $module and length $module and $module ne "builtin" |
| 1629 | 50 | | $function ||= "run" |
| 1630 | 100 | | $iterations ||= 30 |
| 1631 | 67 | | defined $seed and $seed eq "" |
| 1639 | 33 | | $yaml_data and ref $yaml_data eq "HASH" |
| 1645 | 67 | | $outputs and ref $outputs eq "ARRAY" |
| 1658 | 50 | | exists $cases{$k} and ref $cases{$k} eq "ARRAY" and ref $yaml_corpus_data{$k} eq "ARRAY" |
| 1673 | 33 | | $schema->{'type'} and $schema->{'type'} =~ /^(integer|number|float)$/u |
| 1684 | 33 | | exists $schema->{'relationships'} and ref $schema->{'relationships'} eq "ARRAY" |
| 1696 | 0 | | $rel->{'type'} // "" |
| 1708 | 0 | | $rel->{'logic'} // "or" |
| 1758 | 67 | | $na and $nb |
| 1781 | 67 | | defined $config{$key} && $config{$key} |
| 1792 | 75 | | scalar keys %input == 1 and exists $input{'type'} and not ref $input{'type'} |
| 1832 | 100 | | $new && ref $new eq 'HASH' |
| 1856 | 67 | | keys %transforms and $config{'properties'}{'enable'} // 0 |
| 1896 | 67 | | defined $module and length $module |
| 100 | | defined $new and defined $module |
| 1914 | 0 | | $accessor{'type'} eq "getset" or $accessor{'type'} eq "getter" |
| 1929 | 67 | | defined $accessor{'type'} and $accessor{'type'} eq "getset" |
| 1935 | 33 | | defined $accessor{'type'} and $accessor{'type'} eq "getter" |
| 1973 | 33 | | ref $inputs eq 'HASH' && $inputs->{'_STATUS'} // "OK" |
| 1994 | 33 | | $input_str eq "undef" and not $config{'test_undef'} |
| 2000 | 0 | | $_ // "" |
| 2003 | 0 | | $_ // "" |
| 2006 | 0 | | $_ // "" |
| 2009 | 0 | | $output{'type'} // "" |
| 2040 | 50 | | $_ // "" |
| 2043 | 50 | | $output{'type'} // "" |
| 2097 | 100 | | $config{'properties'}{'trials'} // 1000 |
| 2173 | 100 | | $BUILTINS{lc $name} // 0 |
| 2223 | 67 | | exists $schema->{$LEGACY_PERL_KEY_1} or exists $schema->{$LEGACY_PERL_KEY_2} |
| 2275 | 67 | | defined $schema->{$section} and $schema->{$section} eq "undef" |
| 2281 | 67 | | ref $schema->{$section} || $schema->{$section} |
| 2317 | 100 | | defined $schema->{'module'} or defined $schema->{'function'} |
| 2323 | 100 | | defined $schema->{'input'} or defined $schema->{'output'} |
| 2328 | 100 | | $schema->{'input'} and ref $schema->{'input'} ne "HASH" |
| 2344 | 67 | | exists $schema->{'transforms'} and ref $schema->{'transforms'} eq "HASH" |
| 2420 | 100 | | ref $spec eq "HASH" and defined $spec->{'position'} |
| 2440 | 67 | | ref $spec eq "HASH" and defined $spec->{'position'} |
| 2494 | 100 | | $spec->{'enum'} and $spec->{'memberof'} |
| 2547 | 67 | | $prop->{'name'} and $prop->{'code'} |
| 2593 | 100 | | exists $config->{$field} and defined $config->{$field} |
| 2652 | 100 | | $VALID{$type} // 0 |
| 2711 | 100 | | $schema_file and not $mod_info |
| 2724 | 33 | | $ENV{$ENV_TEST_VERBOSE} || $ENV{$ENV_GENERATOR_VERBOSE} |
| 2728 | 0 | | $mod_info->{'version'} || 'unknown' |
| 2739 | 0 | | $Module::Load::Conditional::ERROR || 'unknown error' |
| 2882 | 100 | | $href and ref $href eq "HASH" |
| 2892 | 67 | | defined $def and ref $def eq "HASH" |
| 2893 | 50 | | defined $def and not ref $def and _valid_type($def) |
| 2911 | 0 | | ref $def->{$subk} eq "ARRAY" or ref $def->{$subk} eq "Regexp" |
| 2924 | 67 | | $subk eq $KEY_MATCHES or $subk eq $KEY_NOMATCH |
| 2928 | 33 | | $@ or not defined $re |
| 2999 | 100 | | $href and ref $href eq "HASH" |
| 3063 | 67 | | $href and ref $href eq "HASH" |
| 3110 | 100 | | defined $input_spec and ref $input_spec eq "HASH" |
| 3367 | 75 | | not defined $input_spec or not ref $input_spec and $input_spec eq "undef" |
| 3380 | 50 | | $transform->{'output'} // {} |
| 3392 | 33 | | exists $transform->{'properties'} and ref $transform->{'properties'} eq "ARRAY" |
| 3424 | 33 | | defined $gen and length $gen |
| 3439 | 33 | | $module and $module ne $MODULE_BUILTIN |
| 67 | | $module and defined $new |
| 3477 | 100 | | $output_spec->{'_STATUS'} // "" |
| 3478 | 100 | | $output_spec->{'_STATUS'} // "" |
| 3487 | 50 | | $config->{'properties'}{'trials'} // 1000 |
| 3964 | 100 | | defined $spec and ref $spec eq "HASH" |
| 3967 | 33 | | $spec->{'type'} || $DEFAULT_FIELD_TYPE |
| 3974 | 100 | | $type eq "string" and defined $spec->{'semantic'} |
| 4002 | 67 | | defined $min || defined $max |
| 4021 | 100 | | $type eq "number" or $type eq "float" |
| 4025 | 100 | | defined $min || defined $max |
| 4072 | 100 | | $spec->{'min'} // 0 |
| 4073 | 67 | | $spec->{'max'} // $DEFAULT_MAX_STRING_LEN |
| 4103 | 50 | | $spec->{'min'} // 0 |
| 4104 | 33 | | $spec->{'max'} // $DEFAULT_MAX_COLLECTION_SIZE |
| 4114 | 50 | | $spec->{'min'} // 0 |
| 4115 | 33 | | $spec->{'max'} // $DEFAULT_MAX_COLLECTION_SIZE |
| 4152 | 100 | | +($output_spec // {})->{'type'} // "" |
| 100 | | $output_spec // {} |
| 4154 | 100 | | $out_type eq 'number' || $out_type eq 'integer' || $out_type eq 'float' |
| 4182 | 100 | | +($output_spec // {})->{'type'} // "" |
| 100 | | $output_spec // {} |
| 4221 | 100 | | $input_spec // {} |
| 4222 | 100 | | $output_spec // {} |
| 4253 | 67 | | defined $spec and ref $spec eq "HASH" |
| 4308 | 100 | | defined $properties and ref $properties eq "ARRAY" |
| 4386 | 67 | | not ref $input_spec and $input_spec eq "undef" |
| 4390 | 50 | | $output_spec //= {} |
| 4473 | 75 | | $type eq "number" or $type eq "integer" or $type eq "float" |
| 4487 | 100 | | $output_spec->{'type'} // "" |
| 4578 | 33 | | $module and $module ne $MODULE_BUILTIN |
| 33 | | $module and defined $new |
| 4598 | 100 | | $prop_def->{'name'} || 'custom_property' |
| 4600 | 67 | | $prop_def->{'description'} || "Custom property: $prop_name" |
| 4609 | 33 | | $prop_code =~ /\$/u or $prop_code =~ /\w+/u |