Condition Coverage

lib/Yandex/Disk/Public.pm
Criterion Covered Total %
condition 4 14 28.5


and 3 conditions

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

or 2 conditions

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

or 3 conditions

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