Condition Coverage

lib/Egg/Util.pm
Criterion Covered Total %
condition 0 71 0.0


or 2 conditions

line l !l condition
25 0 0 shift() || (return $e->global->{'flag'})
48 0 0 shift() || (return $class->config->{'dir'}{'root'})
69 0 0 $e->snip || (return 0)
87 0 0 shift() || (caller())[0] || (return {})
165 0 0 $$cf{'content_type'} ||= 'text/html'
166 0 0 $$cf{'template_extention'} ||= 'tt'
168 0 0 $$cf{'template_default_name'} ||= 'index'
169 0 0 $$cf{'template_path'} ||= ["$$cf{'root'}/root"]
173 0 0 $$cf{'static_uri'} ||= '/'
175 0 0 $$cf{'dir'} ||= {}

or 3 conditions

line l !l&&r !l&&!r condition
17 0 0 0 $e->stash->{'page_title'} ||= $e->config->{'title'}
18 0 0 0 shift() || $e->config->{'title'}
47 0 0 0 ref $e || $e
50 0 0 0 $class->config->{'dir'}{$path} || croak("'${path}' is empty.")
59 0 0 0 shift() || croak(' I want base URI ')
68 0 0 0 shift() || croak(' I want snip num. ')
90 0 0 0 not $name or $name eq $e->namespace
100 0 0 0 shift() || croak(' I want base parameter. ')
116 0 0 0 shift() || croak(' I want base parameter. ')
159 0 0 0 shift() || croak(' I want configuration. ')
164 0 0 0 $$cf{'title'} ||= $e->namespace
177 0 0 0 $$dir{$_} ||= "$$cf{'root'}/$_"
182 0 0 0 $$dir{'temp'} ||= $$dir{'tmp'}
183 0 0 0 $$cf{'template_path'}[1] || "$$dir{'root'}/comp"
0 0 0 $$dir{'comp'} ||= $$cf{'template_path'}[1] || "$$dir{'root'}/comp"
184 0 0 0 $$dir{'template'} ||= $$cf{'template_path'}[0]
190 0 0 0 shift() || croak(' I want config ')