Branch Coverage

blib/lib/Marpa/R2/Thin/Trace.pm
Criterion Covered Total %
branch 18 44 40.9


line true false branch
49 0 234205 unless defined $symbol_name
57 0 0 if $symbol_name =~ / \A \w* \z/msx
59 0 0 if $symbol_name =~ / \] \z/msx
96 0 51444 unless defined $rule_length
107 0 0 if $dot_position < 0
112 0 0 if $dot_position < 0
127 0 0 if (defined $minimum)
128 0 0 $minimum <= 0 ? :
140 0 0 unless defined $rule_id
158 0 0 unless defined $rule_id
176 333 663 if ($dot_position < 0)
188 996 1923 if ($position == $dot_position)
192 996 1923 unless defined $name
206 118 181 if ($postdot_id < 0) { }
248 90 3539 if ($grammar_c->_marpa_g_nsy_is_start($id))
256 33 3506 if (defined $lhs_xrl and defined $grammar_c->sequence_min($lhs_xrl))
264 341 3165 if ($xrl_offset)
275 329 2836 if $grammar_c->_marpa_g_nsy_is_nulling($id)
288 0 0 if $grammar->rule_length($rule_id) == 0
289 0 0 unless $grammar->rule_is_productive($rule_id)
290 0 0 unless $grammar->rule_is_accessible($rule_id)
295 0 0 if (@comment)