Condition Coverage

lib/Yandex/Disk.pm
Criterion Covered Total %
condition 12 35 34.2


and 3 conditions

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

or 2 conditions

line l !l condition
190 0 1 $opt{'-path'} || ''
216 0 1 $opt{'-limit'} || 999999
234 0 1 $opt{'-limit'} || 999999
255 0 1 $opt{'-limit'} || 999999

or 3 conditions

line l !l&&r !l&&!r condition
26 3 0 0 $opt{'-token'} || croak('Specify -token param')
56 1 0 0 $opt{'-file'} || croak('Specify -file param')
57 1 0 0 $opt{'-remote_path'} || croak('Specify -remote_path param')
103 3 0 0 $opt{'-path'} || croak('Specify -path param')
134 1 0 0 $opt{'-path'} || croak('Specify -path param')
161 1 0 0 $opt{'-path'} || croak('Specify -path param')
162 1 0 0 $opt{'-file'} || croak('Specify -file param')
215 1 0 0 $opt{'-path'} || croak('Specify -path param')