Condition Coverage

blib/lib/WWW/JSONAPI.pm
Criterion Covered Total %
condition 2 11 18.1


or 2 conditions

line l !l condition
95 0 1 $opts{'base_url'} || ''

or 3 conditions

line l !l&&r !l&&!r condition
84 0 0 1 defined $opts{'cert_file'} or defined $opts{'key_file'}
85 0 0 0 $opts{'cert_file'} || croak('Need both cert and key files for WWW::JSONAPI, or neither')
86 0 0 0 $opts{'key_file'} || croak('Need both cert and key files for WWW::JSONAPI, or neither')