StackExchange2/V2/Errors.pm

filter: Statementstmt 71.4% 15 / 21 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 83.3% 5 / 6 Podpod 0.0% 0 / 1 totaltotal 71.4% 20 / 28 CC 1 SCAR 1.5
CC
1
Cov
71%
new
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« StackExchange2/V2/Search.pm ↑ Summary StackExchange2/V2/AccessTokens.pm »
1 package Net::StackExchange2::V2::Errors;
2  
3 1 ▶use 5.006;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 1 ▶use warnings FATAL => 'all';
Subroutine BEGIN: called CC=1 SCAR=0.0
6 1 ▶use Sub::Name qw(subname);
Subroutine BEGIN: called CC=1 SCAR=0.0
7 1 ▶use Net::StackExchange2::V2::Common qw(query no_params one_param);
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 1 our $VERSION = "0.05";
10  
11 0 ▶sub new {
Subroutine new: not called CC=1 SCAR=6.9
Pod undocumented
12 0 my ($class, $params) = @_;
13 0 my $self = $params;
14 0 bless $self, $class;
15  
16 0 *errors_all = subname(
17 "Net::StackExchange2::V2::Errors::errors_all",
18 no_params("errors"),
19 );
20 0 *errors = subname(
21 "Net::StackExchange2::V2::Errors::errors",
22 one_param("errors"),
23 );
24 0 return $self;
25 }
26 __END__
« StackExchange2/V2/Search.pm ↑ Summary StackExchange2/V2/AccessTokens.pm »