Branch Coverage

blib/lib/WWW/FetchStory/Fetcher/PotionsAndSnitches.pm
Criterion Covered Total %
branch 0 34 0.0


line true false branch
102 0 0 if ($content =~ m[<title>([^<]+)</title>]s)
108 0 0 if ($content =~ /(<div id="chaptertitle".*?)<div id="prev">/s) { }
0 0 elsif ($content =~ /(<div class=['"]chaptertitle['"].*?)<div class=['"]storyend['"]>/s) { }
116 0 0 if ($story and $story =~ m[<div style=[^>]+>The End.</div>]s)
123 0 0 if ($content =~ /(<div id="pagetitle">.*?)<div id="chaptertitle"/s) { }
0 0 elsif ($content =~ /(<div id="pagetitle">.*?)<div class=['"]chaptertitle['"]/s) { }
133 0 0 if ($story) { }
143 0 0 if $para
259 0 0 if ($args{'url'} =~ /sid=(\d+)/) { }
292 0 0 if (defined $args{'urls'})
296 0 0 if (@chapters == 1)
299 0 0 if ($content =~ m[<span class="label">Chapters:\s*</span>\s*(\d+)]s)
307 0 0 if $self->{'verbose'} > 1
331 0 0 if ($content =~ m[<div id="pagetitle"><a href="viewstory.php\?sid=\d+">([^<]+)</a>]s) { }
357 0 0 if ($content =~ m[\s*by\s*<a href="viewuser.php\?uid=\d+">([^<]+)</a></div>]s) { }
383 0 0 if ($content =~ m[<span class="label">Summary:</span>\s*(.*?)\s*<br><br>]s) { }
409 0 0 if ($content =~ m[<span class="label">Characters:\s*</span>(.*?)<td]s) { }