blib/lib/CouchDB/Client.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 3 | 14 | 21.4 |
line | l | !l | condition |
---|---|---|---|
27 | 0 | 0 | $opt{'scheme'} || 'http' |
0 | 0 | $opt{'host'} || 'localhost' | |
0 | 0 | $opt{'port'} || '5984' | |
104 | 0 | 2 | shift() || '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
31 | 0 | 2 | 0 | $opt{'json'} || 'JSON::Any'->new('utf8', 1, 'allow_blessed', 1) |
32 | 0 | 2 | 0 | $opt{'ua'} || 'LWP::UserAgent'->new('agent', "CouchDB::Client/$VERSION") |