StackExchange2/V2/Info.pm

filter: Statementstmt 73.0% 19 / 26 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 85.7% 6 / 7 Podpod 0.0% 0 / 1 totaltotal 73.5% 25 / 34 CC 1 SCAR 1.3
CC
1
Cov
73%
new
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.1
« StackExchange2/V2/Sites.pm ↑ Summary
1 package Net::StackExchange2::V2::Info;
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 Data::Dumper;
Subroutine BEGIN: called CC=1 SCAR=0.0
8 1 ▶use Net::StackExchange2::V2::Common qw(query no_params one_param);
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 1 our $VERSION = "0.05";
11  
12 0 ▶sub new {
Subroutine new: not called CC=1 SCAR=6.9
Pod undocumented
13 0 print "egg2";
14 0 print Dumper(@_);
15
16 0 my ($class, $params) = @_;
17 0 my $self = $params;
18 #print "class, oparams\n";
19 #print Dumper($class, $params);
20 0 bless $self, $class;
21  
22 0 *info = subname(
23 "Net::StackExchange2::V2::Info::info",
24 no_params("info"),
25 );
26 0 return $self;
27 }
28 1 1; #END of Net::StackExchange2::V2::Info
29 __END__
« StackExchange2/V2/Sites.pm ↑ Summary