Condition Coverage

blib/lib/Mojo/Cloudflare/Record.pm
Criterion Covered Total %
condition 4 18 22.2


or 2 conditions

line l !l condition
89 0 0 $_[0]->get('/rec_id') || $_[0]->get('/obj/rec_id') || ''
132 2 0 $tx->res->json || {}
134 2 0 $$json{'result'} //= ''
135 0 0 $$json{'msg'} || $$json{'result'} || 'Unknown error.'
138 0 0 $$json{'response'}{'rec'}{'obj'} || {}
146 1 1 $$json{'response'}{'rec'} || {}

or 3 conditions

line l !l&&r !l&&!r condition
89 0 0 0 $_[0]{'id'} ||= $_[0]->get('/rec_id') || $_[0]->get('/obj/rec_id') || ''
135 0 0 0 $err ||= $$json{'msg'} || $$json{'result'} || 'Unknown error.'