Condition Coverage

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


and 3 conditions

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

or 2 conditions

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

or 3 conditions

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