Branch Coverage

lib/URI/Title/HTML.pm
Criterion Covered Total %
branch 14 30 46.6


line true false branch
28 0 0 if ($INC{'URI/Title/iTMS.pm'} and $url =~ /phobos.apple.com/ and $data =~ m[(itms://[^']*)])
33 1 0 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 1 elsif ($url =~ /google.com/i and $data =~ /calc_img/) { }
0 1 elsif ($url =~ /spotify\.url\.fi/) { }
77 0 1 if (not $found_title and $special_case)
80 1 0 unless ($found_title)
83 0 1 unless $found_title