Branch Coverage

blib/lib/Net/Social/Mapper/SiteMap.pm
Criterion Covered Total %
branch 22 26 84.6


line true false branch
46 6 30 if $$self{'_sitemap'}
72 4 16 unless defined $val and not $val =~ /^\s*$/
73 1 15 unless ref $val ne ''
75 14 1 if defined $user
86 109 41 if (not defined $ref or $ref eq '') { }
0 41 elsif ($ref eq 'SCALAR') { }
14 27 elsif ($ref eq 'HASH') { }
27 0 elsif ($ref eq 'ARRAY') { }
108 3 14 unless $url =~ m[[a-z]+:\/\/]i
113 243 716 unless ref $$sitemap{$service}
115 716 0 ref $regex ? :
118 1034 10 unless $url =~ /$test/
119 0 10 unless defined $1