Branch Coverage

blib/lib/MarpaX/Languages/M4/Impl/Parser/Actions.pm
Criterion Covered Total %
branch 53 94 56.3


line true false branch
32 4558 0 @_ ? :
0 4558 if @_ > 1
4455 103 $#_ >= 0 ? :
4455 0 !defined($tokens) || do { if (&Scalar::Util::blessed($tokens)) { my $method = $tokens->can('DOES') || $tokens->can('isa'); $tokens->$method('MarpaX::Languages::M4::Role::Value'); } } ? :
4455 103 if ($#_ >= 0)
33 4455 103 if (not &Undef()->check($tokens)) { }
41 31 0 @_ ? :
0 31 if @_ != 5
31 0 $#_ >= 0 ? :
31 0 if (&Scalar::Util::blessed($argumentsGroupLeft))
31 0 do { if (&Scalar::Util::blessed($argumentsGroupLeft)) { my $method = $argumentsGroupLeft->can('DOES') || $argumentsGroupLeft->can('isa'); $argumentsGroupLeft->$method('MarpaX::Languages::M4::Role::Value'); } } ? :
31 0 if ($#_ >= 0)
31 0 $#_ >= 1 ? :
31 0 Type::Tiny::XS::Str($lparen) ? :
31 0 if ($#_ >= 1)
31 0 $#_ >= 2 ? :
31 0 if (&Scalar::Util::blessed($argumentsGroupMiddle))
31 0 do { if (&Scalar::Util::blessed($argumentsGroupMiddle)) { my $method = $argumentsGroupMiddle->can('DOES') || $argumentsGroupMiddle->can('isa'); $argumentsGroupMiddle->$method('MarpaX::Languages::M4::Role::Value'); } } ? :
31 0 if ($#_ >= 2)
31 0 $#_ >= 3 ? :
31 0 Type::Tiny::XS::Str($rparen) ? :
31 0 if ($#_ >= 3)
31 0 $#_ >= 4 ? :
31 0 if (&Scalar::Util::blessed($argumentsGroupRight))
31 0 do { if (&Scalar::Util::blessed($argumentsGroupRight)) { my $method = $argumentsGroupRight->can('DOES') || $argumentsGroupRight->can('isa'); $argumentsGroupRight->$method('MarpaX::Languages::M4::Role::Value'); } } ? :
31 0 if ($#_ >= 4)
49 4457 0 @_ ? :
4457 0 $#_ >= 0 ? :
9856 0 Type::Tiny::XS::Str($_) || do { if (&Scalar::Util::blessed($_)) { my $method = $_->can('DOES') || $_->can('isa'); $_->$method('MarpaX::Languages::M4::Role::Macro'); } } ? :
53 15 0 @_ ? :
0 15 if @_ != 0
57 1838 0 @_ ? :
0 1838 if @_ > 1
1830 8 $#_ >= 0 ? :
1830 0 !defined($argumentsGroup) || do { if (&Scalar::Util::blessed($argumentsGroup)) { my $method = $argumentsGroup->can('DOES') || $argumentsGroup->can('isa'); $argumentsGroup->$method('MarpaX::Languages::M4::Role::Value'); } } ? :
1830 8 if ($#_ >= 0)
61 8 1830 if (&Undef()->check($argumentsGroup)) { }
70 2666 0 @_ ? :
0 2666 if @_ != 2
2666 0 $#_ >= 0 ? :
2666 0 if (&Scalar::Util::blessed($arguments))
2666 0 do { if (&Scalar::Util::blessed($arguments)) { my $method = $arguments->can('DOES') || $arguments->can('isa'); $arguments->$method('MarpaX::Languages::M4::Role::Value'); } } ? :
2666 0 if ($#_ >= 0)
2666 0 $#_ >= 1 ? :
2666 0 !defined($argumentsGroup) || do { if (&Scalar::Util::blessed($argumentsGroup)) { my $method = $argumentsGroup->can('DOES') || $argumentsGroup->can('isa'); $argumentsGroup->$method('MarpaX::Languages::M4::Role::Value'); } } ? :
2666 0 if ($#_ >= 1)
75 2666 0 if (not &Undef()->check($argumentsGroup)) { }