Condition Coverage

blib/lib/Puncheur.pm
Criterion Covered Total %
condition 17 41 41.4


and 3 conditions

line !l l&&!r l&&r condition
29 1 0 1 $base_class eq 'Puncheur' and not defined $args{'app_name'}
93 1 1 0 ref $self and $asset_dir = $$self{'asset_dir'}
113 1 1 1 ref $self && $$self{'app_name'}
114 1 0 2 not $app_name and my $libpath = $INC{"$path.pm"}
147 0 0 2 ref $_ && ref $_ eq 'CODE'
405 0 0 0 &Scalar::Util::blessed($response) and $response->isa('Plack::Response')
420 1 1 0 @args > 0 && ref $args[0]

or 2 conditions

line l !l condition
117 0 0 $libpath || './'
246 0 0 $$self{'dispatcher'} // 'PHPish'
319 0 0 $$c{'stash'} ||= {}
353 0 0 $self->req->base || '/'

or 3 conditions

line l !l&&r !l&&!r condition
34 1 1 0 $args{'app_name'} // $base_class
147 0 0 0 ref $_ || 'File::Spec'->file_name_is_absolute($_)
273 0 2 0 $$self{'config'} || 'File::Spec'->catfile('config', 'common.pl')
314 2 2 0 $$c{'session'} ||= 'Plack::Session'->new($c->request->env)