blib/lib/Net/StackExchange2.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 12 | 15 | 80.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 4 | 5 | 80.0 |
pod | 0 | 1 | 0.0 |
total | 16 | 21 | 76.1 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Net::StackExchange2; | ||||||
2 | |||||||
3 | 1 | 1 | 24155 | use 5.006; | |||
1 | 4 | ||||||
1 | 52 | ||||||
4 | 1 | 1 | 6 | use strict; | |||
1 | 3 | ||||||
1 | 39 | ||||||
5 | 1 | 1 | 6 | use warnings FATAL => 'all'; | |||
1 | 12 | ||||||
1 | 49 | ||||||
6 | 1 | 1 | 564 | use Net::StackExchange2::V2; | |||
1 | 4 | ||||||
1 | 86 | ||||||
7 | |||||||
8 | our $VERSION = "0.05"; | ||||||
9 | |||||||
10 | sub new { | ||||||
11 | 0 | 0 | 0 | my $class = shift;#unused here | |||
12 | 0 | my $params = shift; | |||||
13 | 0 | return Net::StackExchange2::V2->new($params); | |||||
14 | } | ||||||
15 | |||||||
16 | 1; # End of Net::StackExchange2 | ||||||
17 | __END__ |