Condition Coverage

blib/lib/Concierge/Auth.pm
Criterion Covered Total %
condition 48 65 73.8


and 3 conditions

line !l l&&!r l&&r condition
104 1 6 46 defined $id and length $id > 0
108 2 1 43 length $id >= 2 and length $id <= 32
128 1 4 30 defined $password and length $password > 0
132 6 1 23 length $password >= 8 and length $password <= 72
147 4 0 9 $file && -e $file && -r $file
190 1 0 2 $pfile and -e $pfile
209 0 0 2 seek $fh, 0, 0 and truncate $fh, 0
0 0 2 seek $fh, 0, 0 and truncate $fh, 0 and print $fh @output
0 0 2 seek $fh, 0, 0 and truncate $fh, 0 and print $fh @output and close $fh
332 0 0 2 seek $fh, 0, 0 and truncate $fh, 0
0 0 2 seek $fh, 0, 0 and truncate $fh, 0 and print $fh @output
0 0 2 seek $fh, 0, 0 and truncate $fh, 0 and print $fh @output and close $fh
380 2 0 2 $pfile and -e $pfile

or 2 conditions

line l !l condition
86 21 65 shift() || 'Auth confirmation'
90 49 1 shift() || 'Auth rejection'
95 41 1 shift() // 0
189 2 1 $self->{'auth'}{'file'} || ''
266 5 1 shift() || ''
267 5 1 shift() || ''
300 5 1 shift() || ''
301 5 1 shift() || ''
311 2 1 $self->{'auth'}{'file'} || ''
379 2 2 $self->{'auth'}{'file'} || ''

or 3 conditions

line l !l&&r !l&&!r condition
96 39 3 0 shift() || ($bool ? 'Auth confirmation' : 'Auth rejection')
146 11 0 2 $file ||= $self->{'auth'}{'file'}