Branch Coverage

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


line true false branch
40 72 232 ref $_[0] eq 'ARRAY' ? :
48 150 412 if (@_ % 2) { }
49 0 150 unless ref $_[0] eq "HASH"
67 0 700 if &blessed($spec)
70 0 700 if (ref $spec eq 'ARRAY') { }
77 468 232 unless ($class =~ s/\A\+//)
81 0 700 $version ? :
103 46 0 ref $error && $error->isa('Search::Elasticsearch::Error') ? :
113 200 0 $one->does('Search::Elasticsearch::Role::Is_Sync') ? :
118 200 0 if eval { do { $two->does($role) } }