Condition Coverage

blib/lib/OTRS/OPM/Maker/Command/sopm.pm
Criterion Covered Total %
condition 19 34 55.8


and 3 conditions

line !l l&&!r l&&r condition
168 0 0 154 substr($_, 0, 1) ne '.' and not $_ =~ m[[\\/]\.]
171 31 0 1 $json->{'exclude_files'} and 'ARRAY' eq ref $json->{'exclude_files'}
189 31 0 1 $json->{'changes_file'} and -f $config->dir . '/' . $json->{'changes_file'}

or 2 conditions

line l !l condition
46 0 0 $args->[0] || '.'
125 1 31 $json->{'product'} //= 'OTRS'
147 32 0 $json->{'vendor'}{'name'} || ''
148 32 0 $json->{'vendor'}{'url'} || ''
193 5 0 $_ // ''
208 2 0 $header // ''
382 1 1 $intro->{'time'} || 'post'
405 70 0 $value //= ''

or 3 conditions

line l !l&&r !l&&!r condition
130 32 0 0 $utils_versions{$max} || $utils_versions{'3'}
345 3 24 0 $code->{'function'} || $code->{'type'}
453 1 1 0 $unique->{'id'} || join('_', @{["unique$table"] unless $unique->{'columns'};})