Catmandu/Iterator.pm

filter: Statementstmt 100% 15 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod 50.0% 1 / 2 totaltotal 95.4% 21 / 22 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Catmandu/IdGenerator/UUID.pm ↑ Summary Catmandu/Exporter/YAML.pm »
1 package Catmandu::Iterator;
2  
3 65 ▶use Catmandu::Sane;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 65 our $VERSION = '1.2025';
6  
7 65 ▶use Role::Tiny::With;
Subroutine BEGIN: called CC=1 SCAR=0.0
8 65 ▶use namespace::clean;
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 65 with 'Catmandu::Iterable';
11  
12 79 ▶sub new {
Subroutine new: called CC=1 SCAR=0.0
Pod undocumented
13 79 bless $_[1], $_[0];
14 }
15  
16 76 ▶sub generator {
Subroutine generator: called CC=1 SCAR=0.0
Pod documented
17 76 goto &{$_[0]};
18 }
19  
20 65 1;
21  
22 __END__
« Catmandu/IdGenerator/UUID.pm ↑ Summary Catmandu/Exporter/YAML.pm »