Pager/Page.pm

filter: Statementstmt 100% 12 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod 0.0% 0 / 1 totaltotal 94.1% 16 / 17 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Pager/Logic/MySQLFoundRows.pm ↑ Summary Pager/Page/Default.pm »
1 package DBIx::Skinny::Pager::Page;
2 8 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 8 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 8 ▶use base qw(Data::Page);
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 1 ▶sub to_hash {
Subroutine to_hash: called CC=1 SCAR=0.0
Pod undocumented
7 1 my $self = $_[0];
8 return +{
9 1 total_entries => $self->total_entries,
10 entries_per_page => $self->entries_per_page,
11 previous_page => $self->previous_page,
12 current_page => $self->current_page,
13 next_page => $self->next_page,
14 };
15 }
16  
17 8 1;
18  
19 __END__
« Pager/Logic/MySQLFoundRows.pm ↑ Summary Pager/Page/Default.pm »