blib/lib/OTRS/OPM/Maker/Command/sopm.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 19 | 34 | 55.8 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
176 | 0 | 0 | 155 | substr($_, 0, 1) ne "." and not $_ =~ m[[\\/]\.] |
179 | 32 | 0 | 1 | $json->{'exclude_files'} and "ARRAY" eq ref $json->{'exclude_files'} |
197 | 32 | 0 | 1 | $json->{'changes_file'} and -f $config->dir . "/" . $json->{'changes_file'} |
line | l | !l | condition |
---|---|---|---|
46 | 0 | 0 | $args->[0] || '.' |
133 | 2 | 31 | $json->{'product'} // "OTRS" |
155 | 33 | 0 | $json->{'vendor'}{'name'} || '' |
156 | 33 | 0 | $json->{'vendor'}{'url'} || '' |
201 | 5 | 0 | $_ // "" |
216 | 2 | 0 | $header // "" |
400 | 1 | 1 | $intro->{'time'} || 'post' |
423 | 70 | 0 | $value //= "" |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
138 | 33 | 0 | 0 | $utils_versions{$product}{$max} || $utils_versions{'OTRS'}{'3'} |
353 | 3 | 26 | 0 | $code->{'function'} || $code->{'type'} |
471 | 1 | 1 | 0 | $unique->{'id'} || join('_', @{["unique$table"] unless $unique->{'columns'};}) |