Moose/Parser.pm

filter: Statementstmt 76.9% 10 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 40.0% 2 / 5 Podpod 100% 3 / 3 totaltotal 71.4% 15 / 21 CC 1 SCAR 4.7
CC
1
Cov
77%
begin
2.0
end
2.0
parse
2.0
CRAP 1.6
« Moose/Reader/File/Marcxml.pm ↑ Summary Moose/Lint/Checker.pm »
1 package MARC::Moose::Parser;
2 # ABSTRACT: A record parser base class
3 4 $MARC::Moose::Parser::VERSION = '1.0.49';
4 4 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 4 ▶use Modern::Perl;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 # FIXME Experimental. Not used yet.
8 #has converter => (
9 # is => 'rw',
10 # isa => 'Text::IconvPtr',
11 # default => sub { Text::Iconv->new( "cp857", "utf8" ) }
12 #);
13  
14  
15 4 has lint => (is => 'rw');
16  
17  
18  
19 0 ▶sub begin {
Subroutine begin: not called CC=1 SCAR=6.9
Pod documented
20 0 return "";
21 }
22  
23  
24  
25 0 ▶sub end {
Subroutine end: not called CC=1 SCAR=6.9
Pod documented
26 0 return "";
27 }
28  
29  
30  
31 0 ▶sub parse {
Subroutine parse: not called CC=1 SCAR=6.9
Pod documented
32 0 return MARC::Moose::Record->new();
33 };
34  
35 4 __PACKAGE__->meta->make_immutable;
36  
37 4 1;
38  
39 __END__
« Moose/Reader/File/Marcxml.pm ↑ Summary Moose/Lint/Checker.pm »