Condition Coverage

blib/lib/OCR/OcrSpace.pm
Criterion Covered Total %
condition 4 11 36.3


and 3 conditions

line !l l&&!r l&&r condition
387 0 0 1 defined $params->{'body_param'} and uc ref $params->{'body_param'} eq 'HASH'

or 2 conditions

line l !l condition
312 1 0 $result // undef

or 3 conditions

line l !l&&r !l&&!r condition
349 0 1 0 $params->{'url'} || $params->{'file'} || $params->{'base64Image'}
351 2 0 0 $params->{'ocr_space_url'} // $OCR::OcrSpace::BASE_URL