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'}
206 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'} || ''
210 5 0 $_ // ""
225 2 0 $header // ""
435 0 1 $code->{'phase'} // "post"
446 1 1 $intro->{'time'} || 'post'
469 112 0 $value //= ""
732 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'}
299 2 38 0 $action->{'phase'} || $actions{$action_type}
371 3 26 0 $code->{'function'} || $code->{'type'}
517 2 2 0 $unique->{'id'} || join('_', @{["unique$table"] unless $unique->{'columns'};})