blib/lib/Zeek/Log/Parse.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 12 | 24 | 50.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
55 | 5 | 0 | 6 | defined $self->{'file'} and not defined $self->{'fh'} |
65 | 1 | 0 | 2 | defined $self->{'diamond'} and $self->{'diamond'} |
90 | 0 | 10 | 0 | length $line > 1 and substr($line, 0, 1) eq '{' |
line | l | !l | condition |
---|---|---|---|
72 | 1 | 9 | $self->{'empty_as_undef'} //= 0 |
74 | 10 | 0 | $self->{'headers'} //= {} |
75 | 10 | 0 | $self->{'headerlines'} //= [] |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
65 | 8 | 2 | 1 | defined $self->{'fh'} or defined $self->{'diamond'} and $self->{'diamond'} |
95 | 0 | 0 | 0 | not defined $val or ref $val ne 'HASH' |
139 | 0 | 0 | 0 | not defined $val or ref $val ne 'HASH' |