Condition Coverage

blib/lib/Net/Jaiku.pm
Criterion Covered Total %
condition 4 36 11.1


and 3 conditions

line !l l&&!r l&&r condition
48 0 0 0 $self->username and $self->userkey
58 1 0 0 $self->username and $self->userkey
81 1 0 0 $arg{'user'} and not $self->auth
94 0 0 0 $arg{'user'} and not $self->auth
186 0 0 0 exists $arg{'icon'} and $arg{'icon'} =~ /\D/
188 0 0 0 exists $arg{'location'} and ref $arg{'location'} eq 'ARRAY'

or 2 conditions

line l !l condition
21 0 1 $conf{'username'} ||= ''
22 0 1 $conf{'userkey'} ||= ''
264 0 0 $iconByName{lc $icon} || undef

or 3 conditions

line l !l&&r !l&&!r condition
75 0 0 0 $arg{'user'} || $self->username
111 0 0 0 $arg{'user'} ||= $self->username
133 0 0 0 $arg{'user'} ||= $self->username
263 0 0 0 shift() || $class