Branch Coverage

lib/Egg/Util.pm
Criterion Covered Total %
branch 0 78 0.0


line true false branch
17 0 0 unless @_
21 0 0 unless $_[0]->flag->{-'debug'}
27 0 0 unless $e->global->{'flag'}{'-' . lc($key)}
31 0 0 unless @_
32 0 0 $_[1] ? :
0 0 $_[0] ? :
36 0 0 unless @_
37 0 0 $_[1] ? :
0 0 $_[0] ? :
41 0 0 unless @_
42 0 0 if @_ < 2
49 0 0 if (my $name = shift()) { }
53 0 0 if (my $dir = $class->config->{'dir'}{$path})
61 0 0 unless @_
62 0 0 ref $_[0] eq 'HASH' ? :
70 0 0 if @$snip < $num
72 0 0 unless $_
75 0 0 -e "$$c{'template_path'}[0]/$tmpl" ? :
90 0 0 if not $name or $name eq $e->namespace
93 0 0 if $$conf{$key}
96 0 0 unless $$conf{$key}
101 0 0 defined $_[0] ? :
103 0 0 if (my $type = ref $str) { }
104 0 0 unless $type eq 'SCALAR'
109 0 0 unless defined $$text
111 0 0 $1 ? :
117 0 0 defined $_[0] ? :
118 0 0 if (my $type = ref $value) { }
119 0 0 if ($type eq 'HASH') { }
0 0 elsif ($type eq 'ARRAY') { }
121 0 0 ref $v ? :
127 0 0 ref $_ ? :
142 0 0 ref $v eq 'CODE' ? :
0 0 defined $v ? :
147 0 0 if (my $error = $self->errstr)
160 0 0 unless $$cf{'root'}
170 0 0 unless ref $$cf{'template_path'} eq 'ARRAY'
174 0 0 unless $$cf{'static_uri'} =~ m[/$]
191 0 0 if $_[0]