Condition Coverage

blib/lib/Metabrik/Database/Cvesearch.pm
Criterion Covered Total %
condition 0 20 0.0


and 3 conditions

line !l l&&!r l&&r condition
144 0 0 0 @$json == 1 and $json->[0] eq 'undef'
177 0 0 0 @$json == 1 and $json->[0] eq 'undef'
200 0 0 0 @$xml == 1 and $xml->[0] eq 'undef'

or 2 conditions

line l !l condition
55 0 0 defined $self->global && $self->global->datadir || defined $ENV{'HOME'} && $ENV{'HOME'} . '/metabrik' || '/tmp/metabrik'

or 3 conditions

line l !l&&r !l&&!r condition
144 0 0 0 @$json <= 0 or @$json == 1 and $json->[0] eq 'undef'
177 0 0 0 @$json <= 0 or @$json == 1 and $json->[0] eq 'undef'
200 0 0 0 @$xml <= 0 or @$xml == 1 and $xml->[0] eq 'undef'