Amazon/Response/TextStream.pm

filter: Statementstmt 91.6% 22 / 24 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 87.5% 7 / 8 Podpod 33.3% 1 / 3 totaltotal 85.7% 30 / 35 CC 1 SCAR 1.2
CC
1
Cov
92%
as_string
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.1
« Amazon/Response/Manufacturer.pm ↑ Summary Amazon/Validate/ItemSearch.pm »
1 ######################################################################
2 package Net::Amazon::Response::TextStream;
3 ######################################################################
4 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 1 ▶use base qw(Net::Amazon::Response);
Subroutine BEGIN: called CC=1 SCAR=0.0
7
8 1 ▶use Net::Amazon::Property;
Subroutine BEGIN: called CC=1 SCAR=0.0
9 1 ▶use Log::Log4perl qw(:easy get_logger);
Subroutine BEGIN: called CC=1 SCAR=0.0
10
11 ##################################################
12 1 ▶sub new {
Subroutine new: called CC=1 SCAR=0.0
Pod undocumented
13 ##################################################
14 1 my($class, %options) = @_;
15
16 1 my $self = $class->SUPER::new(%options);
17
18 1 bless $self, $class; # reconsecrate
19 }
20
21 ##################################################
22 1 ▶sub is_page_available {
Subroutine is_page_available: called CC=1 SCAR=0.0
Pod undocumented
23 ##################################################
24 1 my($self, $ref, $new_items) = @_;
25 1 DEBUG("TextStream does not allow the fetching of more than one page");
26 1 return 0;
27 }
28
29 ##################################################
30 0 ▶sub as_string {
Subroutine as_string: not called CC=1 SCAR=6.9
Pod documented
31 ##################################################
32 0 my($self) = @_;
33
34 0 return $self->SUPER::list_as_string($self->properties);
35 }
36
37 1 1;
« Amazon/Response/Manufacturer.pm ↑ Summary Amazon/Validate/ItemSearch.pm »