Condition Coverage

blib/lib/HTTP/Session/State/MobileAgentID.pm
Criterion Covered Total %
condition 5 10 50.0


or 2 conditions

line l !l condition
36 0 0 $ENV{'REMOTE_ADDR'} || (&Scalar::Util::blessed($req) ? $req->address : $$req{'REMOTE_ADDR'}) || die('cannot get client ip address')
43 0 1 $ENV{'REMOTE_ADDR'} || (&Scalar::Util::blessed($req) ? $req->address : $$req{'REMOTE_ADDR'}) || 'UNKNOWN'

or 3 conditions

line l !l&&r !l&&!r condition
31 5 0 1 $ma->is_docomo or $ma->is_softbank
5 0 1 $ma->is_docomo or $ma->is_softbank or $ma->is_ezweb