blib/lib/Tapper/CLI/API/Command/upload.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 0 | 27 | 0.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
50 | 0 | 0 | 0 | $file && ($file eq '-' || -r $file) |
56 | 0 | 0 | 0 | $reportid && $reportid =~ /^\d+$/ |
60 | 0 | 0 | 0 | $opt->{'reportid'} and $file_ok |
0 | 0 | 0 | $opt->{'reportid'} and $file_ok and $report_ok |
line | l | !l | condition |
---|---|---|---|
52 | 0 | 0 | $file // '' |
58 | 0 | 0 | $reportid // '' |
98 | 0 | 0 | $opt->{'contenttype'} || 'plain' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
92 | 0 | 0 | 0 | $opt->{'reportserver'} || 'Tapper::Config'->subconfig->{'report_server'} |
93 | 0 | 0 | 0 | $opt->{'reportport'} || 'Tapper::Config'->subconfig->{'report_api_port'} |
101 | 0 | 0 | 0 | $filename || $file |