Branch Coverage

blib/lib/Elasticsearch/Util.pm
Criterion Covered Total %
branch 13 20 65.0


line true false branch
23 74 174 ref $_[0] eq 'ARRAY' ? :
31 117 360 if (@_ % 2) { }
32 0 117 unless ref $_[0] eq 'HASH'
50 0 497 if blessed $spec
53 0 497 if (ref $spec eq 'ARRAY') { }
60 322 175 unless ($class =~ s/\A\+//)
64 0 497 $version ? :
85 47 0 ref $error && $error->isa('Elasticsearch::Error') ? :
94 142 0 $one->does('Elasticsearch::Role::Is_Sync') ? :
99 142 0 if eval { do { $two->does($role) } }