blib/lib/Mojo/Cloudflare/Record.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 4 | 18 | 22.2 |
line | l | !l | condition |
---|---|---|---|
88 | 0 | 0 | $_[0]->get('/obj/rec_id') || '' |
133 | 2 | 0 | $tx->res->json || {} |
135 | 2 | 0 | $$json{'result'} //= '' |
136 | 0 | 0 | $$json{'msg'} || $$json{'result'} || 'Unknown error.' |
139 | 0 | 0 | $$json{'response'}{'rec'}{'obj'} || {} |
147 | 1 | 1 | $$json{'response'}{'rec'} || {} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
88 | 0 | 0 | 0 | $_[0]{'id'} ||= $_[0]->get('/obj/rec_id') || '' |
136 | 0 | 0 | 0 | $err ||= $$json{'msg'} || $$json{'result'} || 'Unknown error.' |