| lib/Config/Neat/Schema.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 16 | 21 | 76.1 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 116 | 0 | 35 | 38 | $schema_type eq 'HASH' and defined $schema_node->{''} |
| 140 | 105 | 0 | 14 | $schema_type eq 'STRING' and $data_type eq 'ARRAY' |
| 146 | 108 | 0 | 11 | $schema_type eq 'BOOLEAN' and $data_type eq 'ARRAY' |
| 173 | 69 | 24 | 15 | $schema_type eq 'ARRAY' and $data_type eq 'HASH' |
| 178 | 93 | 14 | 0 | $schema_type ne $data_type and not $cast_to_array |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 157 | 1 | 1 | 6 | is_simple_array($data_node) or not is_any_array($data_node) |
| 195 | 41 | 0 | 59 | $schema_node->{$key} || $schema_node->{'*'} |