Branch Coverage

lib/URI/Title/HTML.pm
Criterion Covered Total %
branch 13 28 46.4


line true false branch
28 0 0 if ($INC{'URI/Title/iTMS.pm'} and $url =~ /phobos.apple.com/ and $data =~ m[(itms://[^']*)])
33 0 1 if ($data =~ /charset=\"?([\w-]+)/i)
37 1 0 if ($CAN_USE_ENCODE)
43 1 0 if ($url)
44 0 1 if ($url =~ m[use\.perl\.org/~([^/]+).*journal/\d]i) { }
0 1 elsif ($url =~ /(pants\.heddley\.com|dailychump\.org).*#(.*)$/i) { }
0 1 elsif ($url =~ /paste\.husk\.org/i) { }
0 1 elsif ($url =~ m[twitter.com/(.*?)/status(es)?/\d+]i) { }
0 1 elsif ($url =~ /independent\.co\.uk/i) { }
0 1 elsif ($url =~ m[www\.hs\.fi/english/article]i) { }
0 2 elsif ($url =~ /google.com/i and $data =~ /calc_img/) { }
75 0 1 if (not $found_title and $special_case)
78 1 0 unless ($found_title)
81 0 1 unless $found_title