| /root/.cpan/build/Riji-v1.1.4-0/lib/Riji/CLI/Publish.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 8 | 16 | 50.0 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 68 | 6 | 30 | 24 | $url->scheme and not eval { do { $url->host =~ /(?:localhost|$host_reg)/ if $url->host } } |
| 75 | 0 | 0 | 36 | $file && "[${\(-s $file);}]" |
| 82 | 0 | 0 | 36 | $file and $file =~ /\.(?:js|css|html|xml)$/ |
| line | l | !l | condition |
|---|---|---|---|
| 45 | 0 | 6 | $conf->{'publish_dir'} // "blog" |
| 64 | 0 | 6 | $mount_path || '/' |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 46 | 6 | 0 | 0 | mkdir $dir or $! == 17 |