Condition Coverage

blib/lib/Marpa/R2/Recognizer.pm
Criterion Covered Total %
condition 30 60 50.0


and 3 conditions

line !l l&&!r l&&r condition
182 966 266 46 defined $package_source and $package_source ne "legacy"
661 3994 0 0 $ref_type ne "SCALAR" and $ref_type ne "REF"
3994 0 0 $ref_type ne "SCALAR" and $ref_type ne "REF" and $ref_type ne "VSTRING"

or 2 conditions

line l !l condition
84 0 0 $grammar_c->error_code // -1
220 0 0 "ref to $ref_type" || 'non-reference'
284 0 104 $recce->[31] //= "semantics_package"
672 885 3379 $length //= 1
1030 101 0 $recce_c->_marpa_r_source_predecessor_state // -1
1050 236 0 $recce_c->_marpa_r_source_predecessor_state // -1

or 3 conditions

line l !l&&r !l&&!r condition
58 5 211 0 $trace_file_handle //= $grammar->[8]
94 3 25 188 defined $grammar->[15] or defined $grammar->[5]
28 188 0 defined $grammar->[15] or defined $grammar->[5] or not defined $grammar->[11]
219 0 0 1302 not $ref_type or $ref_type ne "HASH"
543 0 0 4 $start_ordinal < 0 or $start_ordinal > $last_ordinal
629 0 0 4264 not defined $recce or ref $recce ne "Marpa::R2::Recognizer"
693 281 0 4 $result == $Marpa::R2::Error::UNEXPECTED_TOKEN_ID or $result == $Marpa::R2::Error::NO_TOKEN_EXPECTED_HERE
281 1 3 $result == $Marpa::R2::Error::UNEXPECTED_TOKEN_ID or $result == $Marpa::R2::Error::NO_TOKEN_EXPECTED_HERE or $result == $Marpa::R2::Error::INACCESSIBLE_TOKEN
815 109 18 0 $escape_by_ord[$ord] // sprintf("\\x{%04x}", $ord)
844 179 0 0 $set_id //= $recce_c->latest_earley_set
1039 0 0 0 $Marpa::R2::Internal::Recognizer::a->[0] <=> $Marpa::R2::Internal::Recognizer::b->[0] or $Marpa::R2::Internal::Recognizer::a->[1] <=> $Marpa::R2::Internal::Recognizer::b->[1]
1061 5 22 0 $Marpa::R2::Internal::Recognizer::a->[0] <=> $Marpa::R2::Internal::Recognizer::b->[0] or $Marpa::R2::Internal::Recognizer::a->[1] <=> $Marpa::R2::Internal::Recognizer::b->[1]
1083 0 0 0 $Marpa::R2::Internal::Recognizer::a->[0] <=> $Marpa::R2::Internal::Recognizer::b->[0] or $Marpa::R2::Internal::Recognizer::a->[1] <=> $Marpa::R2::Internal::Recognizer::b->[1]