blib/lib/Grammar/Graph.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 0 | 51 | 0.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
630 | 0 | 0 | 0 | defined $label and ref $label ne 'Grammar::Formal::Empty' |
670 | 0 | 0 | 0 | defined $label->position and $label->position < $min_pos |
913 | 0 | 0 | 0 | defined $max and $min > $max |
915 | 0 | 0 | 0 | $min <= 1 and not defined $max |
940 | 0 | 0 | 0 | defined $max and $max == 0 |
946 | 0 | 0 | 0 | defined $max and --$max |
line | l | !l | condition |
---|---|---|---|
328 | 0 | 0 | &max(grep({/^[0-9]+$/u;} $self->g->vertices)) // 0 |
372 | 0 | 0 | $cond //= sub { 1; } |
1092 | 0 | 0 | $table->{$pattern} //= {} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
327 | 0 | 0 | 0 | not defined $next_id or $self->g->has_vertex($next_id) |
340 | 0 | 0 | 0 | $o{'p'} // 'Grammar::Formal::Empty'->new |
405 | 0 | 0 | 0 | $$map{$att->get_value($label)} //= $self->fa_add_state |
427 | 0 | 0 | 0 | $map{$k} //= $self->fa_add_state |
432 | 0 | 0 | 0 | $cloned_label // $label |
669 | 0 | 0 | 0 | $min_pos //= $label->position |
790 | 0 | 0 | 0 | $self->vertex_isa($v, 'Grammar::Graph::Start') || $self->vertex_isa($v, 'Grammar::Graph::If') |
796 | 0 | 0 | 0 | $self->vertex_isa($v, 'Grammar::Graph::Final') || $self->vertex_isa($v, 'Grammar::Graph::Fi') |
851 | 0 | 0 | 0 | $tmp->has_edge($scc, $scc) or $scc =~ /\+/u |