| 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 | 6696 | 164 | 49 | not $opts->{'ignore_loaded'} and is_class_loaded($class) | 
| 336 | 7766 | 962 | 81 | $right_ref and $left_ref | 
| 406 | 8 | 0 | 0 | $ENV{'COLUMNS'} and $ENV{'COLUMNS'} =~ /\A\d+\z/ | 
| line | l | !l | condition | 
|---|---|---|---|
| 52 | 7039 | 0 | shift() || '' | 
| 68 | 1 | 0 | shift() || '' | 
| 83 | 6954 | 0 | shift() || '' | 
| 84 | 6953 | 1 | class2appclass($class) || '' | 
| 99 | 1062 | 0 | shift() || '' | 
| 113 | 6174 | 0 | shift() || '' | 
| 114 | 0 | 6174 | shift() || 0 | 
| 133 | 0 | 0 | shift() || '' | 
| 134 | 0 | 0 | shift() || 0 | 
| 334 | 1127 | 7682 | ref $righthash->{$key} || '' | 
| 335 | 168 | 8641 | 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'} |