| blib/lib/RapidApp/Util/MetaKeys.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 9 | 23 | 39.1 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 21 | 7 | 0 | 0 | &blessed($data) and $data->isa('RapidApp::Util::MetaKeys') |
| 33 | 7 | 0 | 0 | $can_be_file && -f file($data) |
| 146 | 0 | 0 | 21 | ref $itm and not &blessed($itm) |
| line | l | !l | condition |
|---|---|---|---|
| 129 | 0 | 0 | $schema //= '' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 26 | 0 | 7 | 0 | ref $data || length $data > 1024 || $data =~ /\n/ |
| 64 | 2 | 5 | 0 | &try(sub { &from_json($string, {'allow_singlequote', 1, 'allow_barekey', 1}); } ) || &try(sub { $self->parse_key_vals($string); } ) |
| 91 | 8 | 0 | 15 | not $line or $line eq '' |
| 181 | 38 | 0 | 0 | scalar @parts == 2 or scalar @parts == 3 |