StackExchange2/V2/Answers.pm

filter: Statementstmt 69.5% 16 / 23 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 83.3% 5 / 6 Podpod 0.0% 0 / 1 totaltotal 70.0% 21 / 30 CC 1 SCAR 1.5
CC
1
Cov
70%
new
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« StackExchange2/V2/Comments.pm ↑ Summary StackExchange2/V2/Search.pm »
1 package Net::StackExchange2::V2::Answers;
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 *answers_comments = subname(
17 "Net::StackExchange2::V2::Answers::answers_comments",
18 one_param("answers","comments"),
19 );
20 0 *answers = subname(
21 "Net::StackExchange2::V2::Answers::answers",
22 one_param("answers"),
23 );
24 0 *answers_all = subname(
25 "Net::StackExchange2::V2::Answers::answers_all",
26 no_params("answers"),
27 );
28 0 return $self;
29 }
30  
31 1 1; #END of Net::StackExchange2::V2::Answers
32 __END__
« StackExchange2/V2/Comments.pm ↑ Summary StackExchange2/V2/Search.pm »