blib/lib/MarpaX/ESLIF/Recognizer.pm

filter: Statementstmt 42.8% 15 / 35 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 20.0% 4 / 20 Podpod 100% 8 / 8 totaltotal 42.8% 27 / 63 CC 1 SCAR 5.7
CC
1
Cov
43%
_CLONABLE
2.0
__ANON__
2.0
_ALLOCATE
2.0
CRAP 1.8
« blib/lib/MarpaX/ESLIF/Grammar/Properties.pm ↑ Summary blib/lib/MarpaX/ESLIF/Value.pm »
1 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
2 1 ▶use warnings FATAL => 'all';
Subroutine BEGIN: called CC=1 SCAR=0.0
3  
4 package MarpaX::ESLIF::Recognizer;
5 1 ▶use parent qw/MarpaX::ESLIF::Base/;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 #
8 # Base required class methods
9 #
10 0 ▶sub _CLONABLE { return sub { 0 } }
Subroutine _CLONABLE: not called CC=1 SCAR=6.9
Subroutine __ANON__: not called CC=1 SCAR=6.9
11 0 ▶sub _ALLOCATE { return \&MarpaX::ESLIF::Recognizer::allocate }
Subroutine _ALLOCATE: not called CC=1 SCAR=6.9
12 0 ▶sub _DISPOSE { return \&MarpaX::ESLIF::Recognizer::dispose }
Subroutine _DISPOSE: not called CC=1 SCAR=6.9
13 0 ▶sub _EQ { return }
Subroutine _EQ: not called CC=1 SCAR=6.9
14  
15 # ABSTRACT: MarpaX::ESLIF's recognizer
16  
17 1 our $AUTHORITY = 'cpan:JDDPAUSE'; # AUTHORITY
18  
19 1 our $VERSION = '6.0.35.1'; # VERSION
20  
21  
22 0 ▶sub _allocate_newFrom {
Subroutine _allocate_newFrom: not called CC=1 SCAR=6.9
23 0 my ($self, $eslifGrammar) = @_;
24  
25 0 return $self->allocate_newFrom($eslifGrammar)
26 }
27  
28 0 ▶sub newFrom {
Subroutine newFrom: not called CC=1 SCAR=2.2
Pod documented
29 0 my $self = shift;
30 {
31 0 ▶ no warnings 'redefine';
Subroutine BEGIN: called CC=1 SCAR=0.2
32 0 ▶ local *_ALLOCATE = sub { return \&_allocate_newFrom };
Subroutine __ANON__: not called CC=1 SCAR=6.9
33 #
34 # Take care, this is method that returns a new instance
35 #
36 0 return $self->new(@_)
37 }
38 }
39  
40  
41 0 ▶sub lexemeAlternative { goto &alternative }
Subroutine lexemeAlternative: not called CC=1 SCAR=6.9
Pod documented
42  
43  
44 0 ▶sub lexemeComplete { goto &alternativeComplete }
Subroutine lexemeComplete: not called CC=1 SCAR=6.9
Pod documented
45  
46  
47 0 ▶sub lexemeRead { goto &alternativeRead }
Subroutine lexemeRead: not called CC=1 SCAR=6.9
Pod documented
48  
49  
50 0 ▶sub lexemeTry { goto &nameTry }
Subroutine lexemeTry: not called CC=1 SCAR=6.9
Pod documented
51  
52  
53 0 ▶sub lexemeExpected { goto &nameExpected }
Subroutine lexemeExpected: not called CC=1 SCAR=6.9
Pod documented
54  
55  
56 0 ▶sub lexemeLastPause { goto &nameLastPause }
Subroutine lexemeLastPause: not called CC=1 SCAR=6.9
Pod documented
57  
58  
59 0 ▶sub lexemeLastTry { goto &nameLastTry }
Subroutine lexemeLastTry: not called CC=1 SCAR=6.9
Pod documented
60  
61  
62 0 ▶sub CLONE_SKIP {
Subroutine CLONE_SKIP: not called CC=1 SCAR=6.9
63 0 return 1
64 }
65  
66 1 1;
67  
68 __END__
« blib/lib/MarpaX/ESLIF/Grammar/Properties.pm ↑ Summary blib/lib/MarpaX/ESLIF/Value.pm »