Branch Coverage

blib/lib/WWW/GoDaddy/REST/Schema.pm
Criterion Covered Total %
branch 23 50 46.0


line true false branch
18 0 3 unless (exists $$res_fields{$name})
34 0 0 if ($want_array or $auto_upconvert_reference or $qualify_schema_types)
37 1 2 $b_type ? :
39 0 3 if ($auto_upconvert_reference)
46 0 0 if (not $compound_type and $name =~ /^(.*)(_id|Id)$/)
48 0 0 if ($possible_schema)
56 0 3 if ($qualify_schema_types)
57 0 0 if ($compound_type) { }
59 0 0 if ($possible_schema)
65 0 0 if ($possible_schema)
71 3 0 if ($want_array) { }
72 1 2 if ($compound_type) { }
80 0 0 if ($compound_type) { }
94 5 3 if (not ref $_[0]) { }
112 2 1 wantarray ? :
130 0 3 unless (@all)
136 0 3 if (@all and _looks_like_http_options($all[-1])) { }
163 0 0 if ($self->id eq 'schema')
166 0 0 if ($self->link('collection'))
175 0 27 $self->id eq 'schema' ? :
176 0 27 unless (defined $base_url)
179 21 6 if (defined $id)
199 4 38 unless defined $find
200 37 1 if (exists $REGISTRY{$find} and defined $REGISTRY{$find})
204 0 22 if (lc $find eq lc $key)