Branch Coverage

blib/lib/MarpaX/Languages/M4/Impl/Value.pm
Criterion Covered Total %
branch 33 48 68.7


line true false branch
35 9510 0 @_ ? :
9510 0 XXX ? :
0 9510 if @_ < 1
9510 0 $#_ >= 0 ? :
9510 0 do { Types::Standard::_is_class_loaded(do { my $tmp = $class }) } ? :
9510 0 if ($#_ >= 0)
4511 4999 $#_ >= 1 ? :
36 4511 4999 if (@args) { }
44 4519 0 @_ ? :
48 2879 0 @_ ? :
52 5545 0 @_ ? :
5545 0 $#_ >= 0 ? :
5545 0 Type::Tiny::XS::Str($_) || do { if (&Scalar::Util::blessed($_)) { my $method = $_->can('DOES') || $_->can('isa'); $_->$method('MarpaX::Languages::M4::Role::Macro'); } } ? :
57 7375 0 @_ ? :
0 7375 if @_ > 2
4496 2879 $#_ >= 0 ? :
4496 0 !defined($macro) || do { if (&Scalar::Util::blessed($macro)) { my $method = $macro->can('DOES') || $macro->can('isa'); $macro->$method('MarpaX::Languages::M4::Role::Macro'); } } ? :
4496 2879 if ($#_ >= 0)
4496 2879 $#_ >= 1 ? :
4496 0 Type::Tiny::XS::AUTO::TC1($paramPos) ? :
4496 2879 if ($#_ >= 1)
58 42 7333 if ($self->_value_count <= 0)
63 4454 2879 if (&M4Macro()->check($macro)) { }
70 12 4442 if (&M4Macro()->check($firstElement) and $macro->macro_paramCanBeMacro($paramPos)) { }