Branch Coverage

blib/lib/WWW/ORCID/API.pm
Criterion Covered Total %
branch 7 44 15.9


line true false branch
36 0 0 $_[0]->sandbox ? :
51 0 0 ref $_[0] ? :
58 0 0 if ($res->[0] eq '200')
67 0 0 ref $_[0] ? :
74 0 0 $self->sandbox ? :
87 0 0 unless try_load_class($transport_class)
94 0 0 if $self->log->is_error
99 0 0 if ref $path
102 0 0 if (defined(my $orcid = $opts->{'orcid'}))
105 0 0 if (defined(my $put_code = $opts->{'put_code'}))
106 0 0 if ref $put_code
115 0 0 if ref $token
117 0 0 if ($add_accept)
120 0 0 if ($add_content_type)
135 0 0 ref $_[0] ? :
139 0 0 if ($res->[0] eq '200')
154 0 0 ref $_[0] ? :
160 0 0 if ($res->[0] eq '200')
175 20 0 if ($spec->{'get'} or $spec->{'get_pc'} or $spec->{'get_pc_bulk'})
179 11 40 if ($spec->{'add'})
183 11 40 if ($spec->{'update'})
188 12 39 if ($spec->{'delete'})