Importer/Pure/Parser/raw.pm

filter: Statementstmt 72.7% 8 / 11 Branchbran 0.0% 0 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 66.6% 2 / 3 Podpod 0.0% 0 / 1 totaltotal 58.8% 10 / 17 CC 2 SCAR 12.5
CC
2
Cov
62%
parse
6.0
BEGIN
1.0
BEGIN
1.0
CRAP 3.5
« Importer/Pure.pm ↑ Summary Importer/Pure/Parser/struct.pm »
1 package Catmandu::Importer::Pure::Parser::raw;
2  
3 1 ▶use Catmandu::Sane;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 1 our $VERSION = '0.05';
7  
8 0 ▶sub parse {
Subroutine parse: not called CC=2 SCAR=17.9
Pod undocumented
9 0 my ($self,$dom) = @_;
10  
11 0 ▶ return undef unless defined $dom;
Branch: 1 branch
BranchTrueFalseTotal
unless defined $dom 0 0 0
12 0 $dom->toString;
13 }
14  
15 1 1;
« Importer/Pure.pm ↑ Summary Importer/Pure/Parser/struct.pm »