blib/lib/WebService/Bugzilla/Information.pm

filter: Statementstmt 69.5% 16 / 23 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 33.3% 3 / 9 Podpod 100% 1 / 1 totaltotal 60.6% 20 / 33 CC 2 SCAR 7.2
CC
2
Cov
70%
refresh
6.0
_build_server_extensions
1.1
_build_server_jobqueue_status
1.1
CRAP 2.1
« blib/lib/WebService/Bugzilla/Reminder.pm ↑ Summary blib/lib/WebService/Bugzilla/GitHub.pm »
1 #!/usr/bin/false
2 # ABSTRACT: Bugzilla server information endpoints
3 # PODNAME: WebService::Bugzilla::Information
4  
5 package WebService::Bugzilla::Information 0.001;
6 1 ▶use strictures 2;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 1 ▶use Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
8 1 ▶use namespace::clean;
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 1 extends 'WebService::Bugzilla::Object';
11  
12 0 ▶has server_extensions => (is => 'ro', lazy => 1, builder => sub { shift->_simple_get('extensions') });
Subroutine _build_server_extensions: not called CC=1 SCAR=1.2
13 0 ▶has server_jobqueue_status => (is => 'ro', lazy => 1, builder => sub { shift->_simple_get('jobqueue_status') });
Subroutine _build_server_jobqueue_status: not called CC=1 SCAR=1.2
14 0 ▶has server_time => (is => 'ro', lazy => 1, builder => sub { shift->_simple_get('time') });
Subroutine _build_server_time: not called CC=1 SCAR=1.2
15 0 ▶has server_timezones => (is => 'ro', lazy => 1, builder => sub { shift->_simple_get('timezones') });
Subroutine __ANON__: not called CC=1 SCAR=1.2
16 0 ▶has server_version => (is => 'ro', lazy => 1, builder => sub { shift->_simple_get('version') });
Subroutine _build_server_version: not called CC=1 SCAR=1.2
17  
18 0 ▶sub refresh {
Subroutine refresh: not called CC=2 SCAR=17.9
Pod documented
19 0 my ($self) = @_;
20 0 delete $self->{$_} for qw(server_extensions server_jobqueue_status server_time server_timezones server_version);
21 }
22  
23 1 1;
24  
25 __END__
« blib/lib/WebService/Bugzilla/Reminder.pm ↑ Summary blib/lib/WebService/Bugzilla/GitHub.pm »