blib/lib/OPM/Maker/Command/index.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 16 | 18 | 88.8 |
line | true | false | branch |
---|---|---|---|
31 | 6 | 1 | if not $args or "ARRAY" ne ref $args or not $args->[0] or not -d $args->[0] |
63 | 16 | 0 | unless ($ENV{'OPM_UNSECURE'}) |
72 | 11 | 5 | if ($ENV{'OPM_MAX_SIZE'}) |
76 | 3 | 13 | if ($size > $max_size) |
80 | 0 | 13 | if ($size > 10000000) |
102 | 19 | 7 | if (not $location =~ m[\A doc/]x) { } |
131 | 12 | 1 | if $dir ne "." |
132 | 1 | 12 | if "/" ne substr($file_path, 0, 1) |
146 | 1 | 7 | $root_name =~ /otobo/ ? : |