Branch Coverage

blib/lib/URI/news.pm
Criterion Covered Total %
branch 22 24 91.6


line true false branch
25 4 14 if (@_)
27 2 2 if ($group =~ /\@/)
33 1 3 if (defined $from)
35 1 0 if defined $to
41 2 13 if (not $old =~ /\@/ and $old =~ s[/(.*)][] and wantarray)
52 2 10 if (@_)
53 0 2 if $_[0] =~ /\@/
56 1 11 if $old[0] =~ /\@/
57 1 10 wantarray ? :
63 3 3 if (@_)
64 1 2 unless $_[0] =~ /\@/
67 3 2 unless $old =~ /\@/