Branch Coverage

lib/WWW/Comic/Plugin/UFS.pm
Criterion Covered Total %
branch 7 32 21.8


line true false branch
50 0 9 if exists $param{'id'}
54 0 0 unless (exists $WWW::Comic::Plugin::UFS::COMICS{$param{'comic'}} or $WWW::Comic::Plugin::UFS::HAVE_PROBED)
60 0 9 if ($WWW::Comic::Plugin::UFS::HAVE_PROBED and not exists $WWW::Comic::Plugin::UFS::COMICS{$param{'comic'}})
61 0 0 if $^W
69 0 9 if ($response->is_success) { }
0 9 elsif ($^W) { }
71 0 0 if ($html =~ m[
75 0 0 unless $url =~ m[^https?://]i
88 0 25 @_ % 2 ? :
91 25 0 if (keys %WWW::Comic::Plugin::UFS::COMICS)
93 25 0 unless (not $WWW::Comic::Plugin::UFS::HAVE_PROBED and exists $param{'probe'} and $param{'probe'})
100 0 0 unless (not $WWW::Comic::Plugin::UFS::HAVE_PROBED and exists $param{'probe'} and $param{'probe'})
107 0 0 if ($response->is_success) { }
0 0 elsif ($^W) { }
124 0 0 if (exists $WWW::Comic::Plugin::UFS::COMICS{$param{'comic'}})
133 0 0 if (exists $WWW::Comic::Plugin::UFS::COMICS{$param{'comic'}})