Condition Coverage

blib/lib/Rubric/User.pm
Criterion Covered Total %
condition 21 21 100.0


and 3 conditions

line !l l&&!r l&&r condition
107 1 1 4 $tags and my(@tags) = @$tags
111 1 1 2 grep {$_ eq "\@private";} @$tags and ($context->{'user'} || '') ne $self->username
142 3 1 2 grep {$_ eq "\@private";} @$tags and ($context->{'user'} || '') ne $self->username
240 1 1 1 $code and $code eq $self->verification_code
262 1 1 1 $code and $code eq $self->reset_code

or 2 conditions

line l !l condition
111 2 1 $context->{'user'} || ''
142 2 1 $context->{'user'} || ''
221 5 7 $entry->{'body'} || undef