Condition Coverage

blib/lib/TOML/Tiny/Parser.pm
Criterion Covered Total %
condition 27 35 77.1


and 3 conditions

line !l l&&!r l&&r condition
42 0 361 5997 $self->{'tokenizer'} && $self->{'tokenizer'}->next_token
138 2 931 2 $key and exists $node->{$key}
177 0 1 8 exists $node->{$key} and ref $node->{$key} eq 'ARRAY'

or 2 conditions

line l !l condition
37 1 429 $param{'inflate_datetime'} || sub {
1 429 $param{'inflate_boolean'} || sub {
147 467 422 $self->current_key || (return)
198 1009 655 shift() // [$self->get_keys]
222 655 2 (shift() // $self->next_token) // (return)
277 35 38 $node->{$key} //= []
417 2 14 $node->{$_} ||= {}

or 3 conditions

line l !l&&r !l&&!r condition
168 0 2 229 exists $self->{'arrays'}{$key} or exists $self->{'array_tables'}{$key}
222 233 422 2 shift() // $self->next_token
268 74 0 0 shift() // $self->next_token
312 0 0 0 shift() // $self->next_token