Condition Coverage

blib/lib/Catalyst.pm
Criterion Covered Total %
condition 55 119 46.2


and 3 conditions

line !l l&&!r l&&r condition
667 299 48 0 @_ and $c->setup_finished
826 51 0 0 not $@ and $ENV{'CATALYST_SCRIPT_GEN'}
51 0 0 not $@ and $ENV{'CATALYST_SCRIPT_GEN'} and $ENV{'CATALYST_SCRIPT_GEN'} < $Catalyst::Devel::CATALYST_SCRIPT_GEN
924 3 1 14 scalar @args && ref $args[0] eq 'ARRAY'
940 9 9 9 scalar @args && ref $args[$#args] eq 'HASH'
1189 8456 0 0 $c->debug and $stats_info
1194 0 2 24 not ref $error and $error eq $DETACH
1213 0 0 0 $code->name =~ /^_.*/ and not $c->config->{'show_internal_actions'}
1227 0 0 0 (caller $index)[0] eq 'Catalyst' and (caller $index)[3] eq '(eval)'
1408 19 0 797 $c->response->body and not $c->response->content_length
1411 795 0 2 blessed($c->response->body) and $c->response->body->can('read')
1615 817 0 0 $c->debug and keys %{$c->req->body_parameters;}
1709 818 0 0 $c->debug and keys %{$c->request->query_parameters;}
1748 817 0 0 $c->debug and keys %{$c->request->uploads;}
2014 51 0 0 $engine->isa('Catalyst::Engine::Apache') and not 'Catalyst::Engine::Apache'->VERSION
51 0 0 $engine->isa('Catalyst::Engine::Server::Base') and 'Catalyst::Engine::Server'->VERSION le '0.02'
51 0 0 $engine->isa('Catalyst::Engine::HTTP::POE') and $engine->VERSION eq '0.01'
51 0 0 $engine->isa('Catalyst::Engine::Zeus') and $engine->VERSION eq '0.01'

or 2 conditions

line l !l condition
380 50 3559 $$c{'error'} || []
840 0 0 $_->VERSION || ''
890 0 0 $class->config->{'name'} || 'Application'
921 28 2 $c->namespace || ''
935 26 1 $path ||= ''
1187 6553 1877 &$code($class, $c, @{$c->req->args;}) || 0
1291 0 0 delete $$localized{'request'} || {}
1292 0 0 delete $$localized{'response'} || {}
1346 0 0 $$stat{'elapsed'} || '??'
1489 0 0 time - $START || 1
1578 817 0 $c->req->method || ''
1579 813 4 $c->req->path || '/'
1580 817 0 $c->req->address || ''
1833 1 50 delete $$config{'search_extra'} || []
1871 0 2660 $class->config->{$suffix} || {}
2154 49 2 $plugins ||= []

or 3 conditions

line l !l&&r !l&&!r condition
434 8 63 0 ref $c || $c
449 0 3 0 ref $c || $c
471 0 2 0 ref $c || $c
626 17017 29 0 ref $c || $c
1170 8460 0 0 $c->component($class) || $class
1520 0 39 0 ref $class || $class
2071 47 47 0 $class->config->{'home'} ||= $home
2072 47 47 0 $class->config->{'root'} ||= 'Path::Class::Dir'->new($home)->subdir('root')
2091 0 0 51 defined $ENV{'CATALYST_DEBUG'} || defined $ENV{$app_flag}
0 0 0 $ENV{'CATALYST_DEBUG'} || $ENV{$app_flag}
2136 0 190 0 ref $proto || $proto