blib/lib/TOML/Tiny/Parser.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 27 | 35 | 77.1 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
40 | 0 | 361 | 5997 | $self->{'tokenizer'} && $self->{'tokenizer'}->next_token |
136 | 2 | 931 | 2 | $key and exists $node->{$key} |
176 | 0 | 1 | 8 | exists $node->{$key} and ref $node->{$key} eq "ARRAY" |
line | l | !l | condition |
---|---|---|---|
35 | 1 | 429 | $param{'inflate_datetime'} || sub { |
1 | 429 | $param{'inflate_boolean'} || sub { | |
145 | 467 | 422 | $self->current_key || (return) |
195 | 1009 | 655 | shift() // [$self->get_keys] |
223 | 655 | 2 | (shift() // $self->next_token) // (return) |
276 | 35 | 38 | $node->{$key} //= [] |
408 | 2 | 14 | $node->{$_} ||= {} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
167 | 0 | 2 | 229 | exists $self->{'arrays'}{$key} or exists $self->{'array_tables'}{$key} |
223 | 233 | 422 | 2 | shift() // $self->next_token |
267 | 74 | 0 | 0 | shift() // $self->next_token |
310 | 0 | 0 | 0 | shift() // $self->next_token |