blib/lib/Mojo/Cloudflare/RecordSet.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 3 | 13 | 23.0 |
line | l | !l | condition |
---|---|---|---|
38 | 0 | 0 | $$self{'all'} ||= [map({my $obj = 'Mojo::Cloudflare::Record'->new($_); &Scalar::Util::weaken($obj->_cf($self->_cf)->{'_cf'}); $obj;} @{[] unless $self->get('/objs');})] |
68 | 1 | 0 | $tx->res->json || {} |
70 | 1 | 0 | $$json{'result'} //= '' |
71 | 0 | 0 | $$json{'msg'} || $$json{'result'} || 'Unknown error.' |
73 | 1 | 0 | $$json{'response'}{'recs'} || {} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
71 | 0 | 0 | 0 | $err ||= $$json{'msg'} || $$json{'result'} || 'Unknown error.' |