Condition Coverage

blib/lib/MarpaX/Languages/M4/Impl/Value.pm
Criterion Covered Total %
condition 7 11 63.6


and 3 conditions

line !l l&&!r l&&r condition
70 4440 2 12 &M4Macro()->check($firstElement) and $macro->macro_paramCanBeMacro($paramPos)

or 2 conditions

line l !l condition
69 4454 0 $paramPos //= 0

or 3 conditions

line l !l&&r !l&&!r condition
52 5534 11 0 Type::Tiny::XS::Str($_) || do { if (&Scalar::Util::blessed($_)) { my $method = $_->can('DOES') || $_->can('isa'); $_->$method('MarpaX::Languages::M4::Role::Macro'); } }
57 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'); } }