blib/lib/CGI/Compile.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 14 | 23 | 60.8 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
213 | 4 | 0 | 3214 | $tmp_dir and -d $tmp_dir |
line | l | !l | condition |
---|---|---|---|
22 | 0 | 3299 | $opts{'namespace_root'} ||= 'CGI::Compile::ROOT' |
41 | 1 | 3217 | $orig ||= sub { my $exit_code = shift(); exit(defined $exit_code ? $exit_code : 0); } |
45 | 17 | 3218 | $exit_code || 0 |
149 | 36 | 3256 | $SIG{'__WARN__'} || sub { warn @_; } |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
69 | 0 | 88 | 0 | $package ||= (caller)[0] |
80 | 3211 | 0 | 0 | $path || $script |
82 | 0 | 3211 | 0 | $package ||= $genned_package |
192 | 85 | 3214 | 0 | $tmp_dir ||= 'File::Spec'->catfile('File::Spec'->tmpdir, "cgi_compile_$$") |