Condition Coverage

blib/lib/Bro/Log/Parse.pm
Criterion Covered Total %
condition 11 24 45.8


and 3 conditions

line !l l&&!r l&&r condition
55 5 0 5 defined $self->{'file'} and not defined $self->{'fh'}
65 1 2 0 defined $self->{'diamond'} and $self->{'diamond'}
90 0 9 0 length $line > 1 and substr($line, 0, 1) eq '{'

or 2 conditions

line l !l condition
72 1 8 $self->{'empty_as_undef'} //= 0
74 9 0 $self->{'headers'} //= {}
75 9 0 $self->{'headerlines'} //= []

or 3 conditions

line l !l&&r !l&&!r condition
65 7 0 3 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'