Branch Coverage

blib/lib/Rubric/WebApp/URI.pm
Criterion Covered Total %
branch 21 30 70.0


line true false branch
33 0 85 if $href
62 0 6 if ($$arg{'user'} and defined $$arg{'reset_code'})
76 0 60 if 'Rubric::Config'->registration_closed
92 214 175 if ref $$arg{'tags'} eq 'ARRAY'
98 127 262 if $$arg{'user'}
99 240 149 if %{$$arg{'tags'};}
101 0 0 $$arg{$_} ? :
0 778 if defined $$arg{$_} and $$arg{$_} ne ''
104 23 366 if $$arg{'urimd5'}
105 70 319 if $format
117 0 45 unless &Scalar::Util::blessed($entry) and $entry->isa('Rubric::Entry')
130 0 3 unless &Scalar::Util::blessed($entry) and $entry->isa('Rubric::Entry')
143 0 1 unless &Scalar::Util::blessed($entry) and $entry->isa('Rubric::Entry')
168 2 42 if $year
169 2 42 if $month