Branch Coverage

blib/lib/Template/Plugin/Java/Utils.pm
Criterion Covered Total %
branch 0 70 0.0


line true false branch
36 0 0 ref $_[0] ? :
0 0 if $_[0]
40 0 0 unless ($Template::VERSION =~ /^[01]/)
72 0 0 if (@_ > 1) { }
0 0 elsif (defined $_[0] and UNIVERSAL::isa($_[0], 'HASH')) { }
79 0 0 if ($option =~ /^no(.*)/)
84 0 0 if (($_ = $option) =~ s/_(\w)/\U$1\E/g)
89 0 0 wantarray ? :
102 0 0 if (not exists $$options{$option}) { }
0 0 elsif (not ref $$options{$option}) { }
0 0 elsif (not $value) { }
0 0 elsif (ref $$options{$option} eq 'ARRAY') { }
0 0 elsif (ref $$options{$option} eq 'HASH') { }
0 0 elsif (UNIVERSAL::can($$options{$option}, $value)) { }
105 0 0 if ($$options{$option} ne 1 and $value) { }
0 0 elsif (not $value) { }
135 0 0 if /^--$/
137 0 0 if (/^[-+]+(.*)=?(.*)/) { }
0 0 elsif (not $last_option_had_value and $last_option) { }
141 0 0 $2 ? :
163 0 0 if /^.*char$/i
164 0 0 if /^integer$/i
165 0 0 if /^bigint$/i
166 0 0 if /^smallint$/i
168 0 0 if (/^numeric$/i)
169 0 0 if $precision <= 5
170 0 0 if $precision <= 10
174 0 0 if /^date$/i
206 0 0 if -d $_
225 0 0 if (findPackageDir $package)
243 0 0 if (DBI::looks_like_number(shift())) { }
280 0 0 if (/String/)
281 0 0 if (/int/)
282 0 0 if (@{[\undef];})
284 0 0 if ($type =~ /^[A-Z]/) { }