Condition Coverage

blib/lib/OPM/Maker/Command/sopm.pm
Criterion Covered Total %
condition 23 41 56.1


and 3 conditions

line !l l&&!r l&&r condition
175 0 0 166 substr($_, 0, 1) ne "." and not $_ =~ m[[\\/]\.]
178 35 0 1 $json->{'exclude_files'} and "ARRAY" eq ref $json->{'exclude_files'}
196 35 0 1 $json->{'changes_file'} and -f $config->dir . "/" . $json->{'changes_file'}

or 2 conditions

line l !l condition
44 0 0 $args->[0] || '.'
132 2 34 $json->{'product'} // "OTRS"
154 36 0 $json->{'vendor'}{'name'} || ''
155 36 0 $json->{'vendor'}{'url'} || ''
200 5 0 $_ // ""
215 2 0 $header // ""
425 0 1 $code->{'phase'} // "post"
436 1 1 $intro->{'time'} || 'post'
459 112 0 $value //= ""
722 33 0 $OPM::Maker::Command::sopm::VERSION || '1.0.0'

or 3 conditions

line l !l&&r !l&&!r condition
137 36 0 0 $utils_versions{$product}{$max} || $utils_versions{'OTRS'}{'4'}
289 2 38 0 $action->{'phase'} || $actions{$action_type}
361 3 26 0 $code->{'function'} || $code->{'type'}
507 2 2 0 $unique->{'id'} || join('_', @{["unique$table"] unless $unique->{'columns'};})