TableDataRole/Spec/GetRowByPos.pm

filter: Statementstmt 83.3% 10 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 50.0% 1 / 2 Podpod 100% 1 / 1 totaltotal 80.0% 12 / 15 CC 1 SCAR 4.1
CC
1
Cov
83%
get_row_at_pos
2.0
BEGIN
1.0
CRAP 1.5
« TableDataRole/Spec/Basic.pm ↑ Summary TableData.pm »
1 ## no critic: TestingAndDebugging::RequireUseStrict
2 package TableDataRole::Spec::GetRowByPos;
3  
4 1 ▶use Role::Tiny;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 1 our $AUTHORITY = 'cpan:PERLANCAR'; # AUTHORITY
7 1 our $DATE = '2023-11-25'; # DATE
8 1 our $DIST = 'TableData'; # DIST
9 1 our $VERSION = '0.2.6'; # VERSION
10  
11 ### mixins
12  
13 1 with 'Role::TinyCommons::Collection::GetItemByPos';
14  
15 ### requires
16  
17 1 requires 'get_row_at_pos_hashref';
18  
19 ### aliases, for convenience and clarity
20  
21 0 ▶sub get_row_at_pos {
Subroutine get_row_at_pos: not called CC=1 SCAR=6.9
Pod documented
22 0 my $self = shift;
23 0 $self->get_item_at_pos(@_);
24 }
25  
26 ### implementation
27  
28 1 1;
29 # ABSTRACT: TableData::* that can access a row by position
30  
31 __END__
« TableDataRole/Spec/Basic.pm ↑ Summary TableData.pm »