blib/lib/WWW/ORCID/API/v2_0_public.pm

filter: Statementstmt 95.0% 19 / 20 Branchbran 0.0% 0 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 85.7% 6 / 7 Podpod 0.0% 0 / 1 totaltotal 83.3% 25 / 30 SCAR 7.0
CC
2
Cov
86%
_build_api_url
6.0
BEGIN
1.0
BEGIN
1.0
CRAP 2.0
« blib/lib/WWW/ORCID/API/v2_0.pm ↑ Summary blib/lib/WWW/ORCID/Base.pm »
1 package WWW::ORCID::API::v2_0_public;
2  
3 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 1 our $VERSION = 0.02_01;
7  
8 1 ▶use utf8;
Subroutine BEGIN: called CC=1 SCAR=0.0
9 1 ▶use Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
10 1 ▶use namespace::clean;
Subroutine BEGIN: called CC=1 SCAR=0.0
11  
12 1 with 'WWW::ORCID::API';
13  
14 sub ops {
15 +{
16 1 ▶ 'activities' => {orcid => 1, get => 1},
Subroutine ops: called CC=1 SCAR=0.0
Pod undocumented
17 'address' => {orcid => 1, get => 1, get_pc => 1},
18 'biography' => {orcid => 1, get => 1},
19 'education' => {orcid => 1, delete => 1, get_pc => 1},
20 'education/summary' => {orcid => 1, get_pc => 1},
21 'educations' => {orcid => 1, get => 1},
22 'email' => {orcid => 1, get => 1},
23 'employment' => {orcid => 1, get_pc => 1},
24 'employment/summary' => {orcid => 1, get_pc => 1},
25 'employments' => {orcid => 1, get => 1},
26 'external-identifiers' => {orcid => 1, get => 1, get_pc => 1},
27 'funding' => {orcid => 1, get_pc => 1},
28 'funding/summary' => {orcid => 1, get_pc => 1},
29 'fundings' => {orcid => 1, get => 1},
30 'keywords' => {orcid => 1, get => 1, get_pc => 1},
31 'other-names' => {orcid => 1, get => 1, get_pc => 1},
32 'peer-review' => {orcid => 1, get_pc => 1},
33 'peer-review/summary' => {orcid => 1, get_pc => 1},
34 'peer-reviews' => {orcid => 1, get => 1},
35 'person' => {orcid => 1, get => 1},
36 'personal-details' => {orcid => 1, get => 1},
37 'researcher-urls' => {orcid => 1, get => 1, get_pc => 1},
38 'work' => {orcid => 1, get_pc => 1},
39 'work/summary' => {orcid => 1, get_pc => 1},
40 'works' => {orcid => 1, get => 1, get_pc_bulk => 1},
41 };
42 }
43  
44 sub _build_api_url {
45 0 ▶ $_[0]->sandbox
Subroutine _build_api_url: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
$_[0]->sandbox ? : 0 0 0
46 ? 'https://pub.sandbox.orcid.org/v2.0'
47 : 'https://pub.orcid.org/v2.0';
48 }
49  
50 1 __PACKAGE__->install_helper_methods;
51  
52 __END__
« blib/lib/WWW/ORCID/API/v2_0.pm ↑ Summary blib/lib/WWW/ORCID/Base.pm »