Condition Coverage

lib/Yandex/Disk.pm
Criterion Covered Total %
condition 1 31 3.2


and 3 conditions

line !l l&&!r l&&r condition
234 0 0 0 $code eq '200' and __fromJson($res->decoded_content)->{'status'} eq 'success'

or 2 conditions

line l !l condition
167 0 0 $opt{'-path'} || ''
193 0 0 $opt{'-limit'} || 999999

or 3 conditions

line l !l&&r !l&&!r condition
25 2 0 0 $opt{'-token'} || croak('Specify -token param')
54 0 0 0 $opt{'-file'} || croak('Specify -file param')
55 0 0 0 $opt{'-remote_path'} || croak('Specify -remote_path param')
92 0 0 0 $opt{'-path'} || croak('Specify -path param')
123 0 0 0 $opt{'-path'} || croak('Specify -path param')
150 0 0 0 $opt{'-path'} || croak('Specify -path param')
151 0 0 0 $opt{'-file'} || croak('Specify -file param')
192 0 0 0 $opt{'-path'} || croak('Specify -path param')