blib/lib/OPM/Maker/Command/sopm.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 23 | 41 | 56.1 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
174 | 0 | 0 | 166 | substr($_, 0, 1) ne "." and not $_ =~ m[[\\/]\.] |
177 | 35 | 0 | 1 | $json->{'exclude_files'} and "ARRAY" eq ref $json->{'exclude_files'} |
195 | 35 | 0 | 1 | $json->{'changes_file'} and -f $config->dir . "/" . $json->{'changes_file'} |
line | l | !l | condition |
---|---|---|---|
44 | 0 | 0 | $args->[0] || '.' |
131 | 2 | 34 | $json->{'product'} // "OTRS" |
153 | 36 | 0 | $json->{'vendor'}{'name'} || '' |
154 | 36 | 0 | $json->{'vendor'}{'url'} || '' |
199 | 5 | 0 | $_ // "" |
214 | 2 | 0 | $header // "" |
424 | 0 | 1 | $code->{'phase'} // "post" |
435 | 1 | 1 | $intro->{'time'} || 'post' |
458 | 112 | 0 | $value //= "" |
721 | 33 | 0 | $OPM::Maker::Command::sopm::VERSION || '1.0.0' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
136 | 36 | 0 | 0 | $utils_versions{$product}{$max} || $utils_versions{'OTRS'}{'3'} |
288 | 2 | 38 | 0 | $action->{'phase'} || $actions{$action_type} |
360 | 3 | 26 | 0 | $code->{'function'} || $code->{'type'} |
506 | 2 | 2 | 0 | $unique->{'id'} || join('_', @{["unique$table"] unless $unique->{'columns'};}) |