blib/lib/Catalyst/Utils.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 37 | 72 | 51.3 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
139 | 0 | 0 | 0 | $create and not -e $tmpdir |
199 | 0 | 1 | 252 | defined $path and length $path |
212 | 0 | 7 | 6 | $dir = pop @dir_list and $dir eq ".." |
301 | 6694 | 163 | 49 | not $opts->{'ignore_loaded'} and is_class_loaded($class) |
336 | 7764 | 962 | 81 | $right_ref and $left_ref |
406 | 8 | 0 | 0 | $ENV{'COLUMNS'} and $ENV{'COLUMNS'} =~ /\A\d+\z/ |
line | l | !l | condition |
---|---|---|---|
52 | 7037 | 0 | shift() || '' |
68 | 1 | 0 | shift() || '' |
83 | 6952 | 0 | shift() || '' |
84 | 6951 | 1 | class2appclass($class) || '' |
99 | 1056 | 0 | shift() || '' |
113 | 6170 | 0 | shift() || '' |
114 | 0 | 6170 | shift() || 0 |
133 | 0 | 0 | shift() || '' |
134 | 0 | 0 | shift() || 0 |
334 | 1127 | 7680 | ref $righthash->{$key} || '' |
335 | 168 | 8639 | exists $lefthash->{$key} && ref $lefthash->{$key} || '' |
588 | 0 | 11 | $INC{$file} ||= 1 |
631 | 0 | 8 | $env->{'SCRIPT_NAME'} || '' |
681 | 0 | 11 | $env->{'SCRIPT_NAME'} || '' |
719 | 0 | 7 | $env->{'SCRIPT_NAME'} || '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
199 | 0 | 1 | 0 | $path ||= cwd() |
410 | 0 | 0 | 8 | -t STDOUT or -t STDERR |
434 | 0 | 0 | 0 | Term::Size::Any::chars(*STDERR) || Term::Size::Any::chars(*STDOUT) |
437 | 0 | 0 | 0 | not $width or $width < 80 |
480 | 3 | 0 | 7 | $namespace =~ s/^\+// or $namespace =~ /^Plack::Middleware/ |
3 | 0 | 7 | $namespace =~ s/^\+// or $namespace =~ /^Plack::Middleware/ or $namespace =~ /^$class/ | |
569 | 9 | 2 | 0 | $as ||= $component |
570 | 6 | 0 | 5 | $as =~ /^(?:Controller|Model|View)::/ or $given{'skip_mvc_renaming'} |