Catmandu/Fix/Base.pm

filter: Statementstmt 100% 20 / 20 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod 0.0% 0 / 1 totaltotal 96.1% 25 / 26 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Catmandu/Exporter/YAML.pm ↑ Summary Catmandu/Serializer.pm »
1 package Catmandu::Fix::Base;
2  
3 107 ▶use Catmandu::Sane;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 107 our $VERSION = '1.2025';
6  
7 107 ▶use Catmandu::Fix;
Subroutine BEGIN: called CC=1 SCAR=0.0
8 107 ▶use Moo::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
9 107 ▶use namespace::clean;
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 107 with 'Catmandu::Logger';
12 107 with 'Catmandu::Fix::Inlineable';
13 107 with 'Catmandu::Emit';
14  
15 107 requires 'emit';
16  
17 336 ▶sub fix {
Subroutine fix: called CC=1 SCAR=0.0
Pod undocumented
18 336 my ($self, $data) = @_;
19 336 Catmandu::Fix->new(fixes => [$self])->fix($data);
20 }
21  
22 107 1;
23  
24 __END__
« Catmandu/Exporter/YAML.pm ↑ Summary Catmandu/Serializer.pm »