Catmandu/Importer/Null.pm

filter: Statementstmt 100% 15 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod 0.0% 0 / 1 totaltotal 95.0% 19 / 20 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Catmandu/Fix/reject.pm ↑ Summary Catmandu/Importer/Mock.pm »
1 package Catmandu::Importer::Null;
2  
3 2 ▶use Catmandu::Sane;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 2 our $VERSION = '1.2025';
6  
7 2 ▶use Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
8 2 ▶use namespace::clean;
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 2 with 'Catmandu::Importer';
11  
12 5 ▶sub generator {
Subroutine generator: called CC=1 SCAR=0.0
Pod undocumented
13 5 my ($self) = @_;
14 5 my $n = 0;
15 sub {
16 return undef if $n++;
17 +{};
18 5 };
19 }
20  
21 2 1;
22  
23 __END__
« Catmandu/Fix/reject.pm ↑ Summary Catmandu/Importer/Mock.pm »