| blib/lib/Net/Social/Mapper/Persona.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 2 | 24 | 8.3 |
| line | l | !l | condition |
|---|---|---|---|
| 25 | 29 | 0 | shift() || (return undef) |
| 26 | 29 | 0 | shift() || (return undef) |
| 145 | 0 | 0 | $self->mapper->get("$url") || (return ()) |
| 146 | 0 | 0 | eval { do { $self->_json->decode($page) } } || (return ()) |
| 151 | 0 | 0 | $self->_attributes_to_persona($url, $attributes) || (next) |
| 239 | 0 | 0 | $_attribute_map{$key} || (next) |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 68 | 0 | 0 | 0 | $self->_do('favicon') || 'http://' . $self->domain . '/favicon.ico' |
| 242 | 0 | 0 | 0 | ref $$persona{$name} eq 'ARRAY' or ref $$attributes{$key} eq 'ARRAY' |
| 257 | 0 | 0 | 0 | $$self{'_json'} ||= 'JSON::Any'->new |
| 262 | 0 | 0 | 0 | $self->homepage || $self->user |