Branch Coverage

blib/lib/App/ElasticSearch/Utilities/VersionHacks.pm
Criterion Covered Total %
branch 0 38 0.0


line true false branch
59 0 0 unless (defined $version)
63 0 0 unless (eval {
67 0 0 if (defined $version and $version < $MIN_VERSION)
76 0 0 if (exists $SIMPLE{$url}) { }
79 0 0 if (exists $SIMPLE{$url}{$vstr}) { }
0 0 elsif (exists $SIMPLE{$url}{'default'}) { }
91 0 0 unless $url =~ /^\Q$check\E/iu
95 0 0 if (defined $cb)
98 0 0 if (exists $CALLBACKS{$url}{$vstr}) { }
0 0 elsif (exists $CALLBACKS{$url}{'default'}) { }
129 0 0 if (@parts < 3)
133 0 0 if (exists $options->{'uri_param'})
136 0 0 if /^filter_/u
140 0 0 if (keys %filters) { }
142 0 0 unless exists $filters{$metric}
161 0 0 if qv($version) < qv("6.0.0")
162 0 0 if qv($version) < qv("7.0.0")
164 0 0 if (@invalid and exists $options->{'uri_param'})
167 0 0 if exists $options->{'uri_param'}{$invalid}