Branch Coverage

blib/lib/Rubric/WebApp/URI.pm
Criterion Covered Total %
branch 22 32 68.7


line true false branch
33 0 85 if $href
53 0 36 if 'Rubric::Config'->secure_login
66 0 6 if ($arg->{'user'} and defined $arg->{'reset_code'})
80 0 60 if 'Rubric::Config'->registration_closed
97 207 175 if ref $arg->{'tags'} eq 'ARRAY'
102 120 262 if $arg->{'user'}
103 233 149 if %{$arg->{'tags'};}
106 0 0 $arg->{$_} ? :
0 764 if defined $arg->{$_} and $arg->{$_} ne ''
108 23 359 if $arg->{'urimd5'}
109 70 312 if $format
121 0 45 unless &Scalar::Util::blessed($entry) and $entry->isa('Rubric::Entry')
134 0 8 unless &Scalar::Util::blessed($entry) and $entry->isa('Rubric::Entry')
147 0 1 unless &Scalar::Util::blessed($entry) and $entry->isa('Rubric::Entry')
172 2 42 if $year
173 2 42 if $month