File Coverage

blib/lib/Role/TinyCommons/Iterator.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package Role::TinyCommons::Iterator;
2              
3             our $AUTHORITY = 'cpan:PERLANCAR'; # AUTHORITY
4             our $DATE = '2021-04-18'; # DATE
5             our $DIST = 'Role-TinyCommons-Iterator'; # DIST
6             our $VERSION = '0.001'; # VERSION
7              
8 2     2   174215 use Role::Tiny;
  2         24  
  2         13  
9              
10             ### required
11              
12             requires 'get_next_item';
13             requires 'has_next_item';
14             requires 'get_iterator_pos';
15              
16             ### provided
17              
18             1;
19             # ABSTRACT: A basic iterator
20              
21             __END__