Condition Coverage

lib/WorldCat/API.pm
Criterion Covered Total %
condition 1 11 9.0


or 2 conditions

line l !l condition
26 0 1 $ENV{uc "WORLDCAT_API_$attr"} // die("Attribute $attr is required")

or 3 conditions

line l !l&&r !l&&!r condition
67 0 0 0 $opts{'retries'} // $DEFAULT_RETRIES
115 0 0 0 $opts{'nonce'} || sprintf('%x', &irand())
116 0 0 0 $opts{'timestamp'} || time