lib/WebService/Qiita/Client/Base.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 9 | 12 | 75.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
86 | 1 | 0 | 1 | $json and $$json{'error'} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
32 | 0 | 24 | 0 | $$self{'agent'} ||= 'LWP::UserAgent'->new(%$options) |
64 | 19 | 1 | 4 | $method eq 'GET' or $method eq 'DELETE' |
2 | 1 | 1 | $method eq 'POST' or $method eq 'PUT' |