| blib/lib/Net/Social/Mapper.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 13 | 23 | 56.5 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 104 | 11 | 0 | 7 | $user =~ /@/ and not $user =~ m[/] |
| line | l | !l | condition |
|---|---|---|---|
| 124 | 26 | 0 | shift() || (return) |
| 130 | 13 | 13 | $classmap{lc $service} || 'Net::Social::Mapper::Persona::Generic' |
| 158 | 18 | 8 | $$self{'_class_map'} ||= {'email', 'Net::Social::Mapper::Persona::Email', 'website', 'Net::Social::Mapper::Persona::Website', 'flickr', 'Net::Social::Mapper::Persona::Flickr', 'myspace', 'Net::Social::Mapper::Persona::Myspace'} |
| 185 | 4 | 0 | shift() || (return) |
| 186 | 0 | 4 | $self->_get($url) || (return) |
| 192 | 4 | 0 | shift() || (return) |
| 216 | 0 | 0 | $r->header('Content-Type') || '' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 143 | 0 | 29 | 0 | $$self{'_sitemap'} || 'Net::Social::Mapper::SiteMap'->new |
| 193 | 2 | 2 | 0 | $$self{'_ua'} ||= 'LWP::UserAgent'->new('parse_head', 0) |