Catmandu/Exporter.pm

filter: Statementstmt 100% 24 / 24 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 8 / 8 Podpod 100% 1 / 1 totaltotal 100% 33 / 33 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Catmandu/Expander.pm ↑ Summary Catmandu/Exporter/TSV.pm »
1 package Catmandu::Exporter;
2  
3 23 ▶use Catmandu::Sane;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 23 our $VERSION = '1.2025';
6  
7 23 ▶use Catmandu::Util qw(io);
Subroutine BEGIN: called CC=1 SCAR=0.0
8 23 ▶use Moo::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
9 23 ▶use namespace::clean;
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 23 with 'Catmandu::Logger';
12 23 with 'Catmandu::Addable';
13 23 with 'Catmandu::Counter';
14  
15 16 ▶has file => (is => 'ro', lazy => 1, default => sub {\*STDOUT},);
Subroutine __ANON__: called CC=1 SCAR=0.0
16  
17 has fh => (
18 is => 'ro',
19 lazy => 1,
20 43 ▶ default => sub {io($_[0]->file, mode => 'w', binmode => $_[0]->encoding)},
Subroutine __ANON__: called CC=1 SCAR=0.0
21 23 );
22  
23 356 ▶after add => sub {
Subroutine __ANON__: called CC=1 SCAR=0.0
24 356 $_[0]->inc_count;
25 23 };
26  
27 44 ▶sub encoding {':utf8'}
Subroutine encoding: called CC=1 SCAR=0.0
Pod documented
28  
29 23 1;
30  
31 __END__
« Catmandu/Expander.pm ↑ Summary Catmandu/Exporter/TSV.pm »