Condition Coverage

blib/lib/Lilith.pm
Criterion Covered Total %
condition 0 39 0.0


and 3 conditions

line !l l&&!r l&&r condition
346 0 0 0 defined $json and defined $json->{'event_type'}
0 0 0 defined $json and defined $json->{'event_type'} and $json->{'event_type'} eq "alert"
834 0 0 0 $opts{'table'} ne "suricata" and $opts{'table'} ne "sagan"
848 0 0 0 defined $opts{'limit'} and not $opts{'limit'} =~ /^[0-9]+$/
852 0 0 0 defined $opts{'offset'} and not $opts{'offset'} =~ /^[0-9]+$/
856 0 0 0 defined $opts{'order_by'} and not $opts{'order_by'} =~ /^[\_a-zA-Z]+$/
860 0 0 0 defined $opts{'order_dir'} and $opts{'order_dir'} ne "ASC"
0 0 0 defined $opts{'order_dir'} and $opts{'order_dir'} ne "ASC" and $opts{'order_dir'} ne "DESC"
889 0 0 0 defined $opts{$var_to_check} and $opts{$var_to_check} =~ /[\\\']/
926 0 0 0 defined $opts{'no_time'} and $opts{'no_time'}
1007 0 0 0 defined $opts{$item . "_like"} and $opts{$item . "_like"}
1008 0 0 0 defined $opts{$item} . "_not" and not $opts{$item . "_not"}
1016 0 0 0 defined $opts{$item} . "_not" and not $opts{$item . "_not"}