Condition Coverage

lib/Yandex/Disk/Public.pm
Criterion Covered Total %
condition 1 14 7.1


and 3 conditions

line !l l&&!r l&&r condition
70 0 0 0 $type ne 'dir' and $type ne 'file'
0 0 0 $type and ($type ne 'dir' and $type ne 'file')

or 2 conditions

line l !l condition
65 0 0 $opt{'-offset'} || 0

or 3 conditions

line l !l&&r !l&&!r condition
35 1 0 0 $opt{'-path'} || croak('Specify -path param')
51 0 0 0 $opt{'-path'} || croak('Specify -path param')