blib/lib/FSM/Basic.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 30 | 55 | 54.5 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
195 | 0 | 40005 | 10 | exists $self->{'states_list'}{$self->{'state'}} and exists $self->{'states_list'}{$self->{'state'}}{'repeat'} |
40005 | 9 | 1 | exists $self->{'states_list'}{$self->{'state'}} and exists $self->{'states_list'}{$self->{'state'}}{'repeat'} and $self->{'states_list'}{$self->{'state'}}{'repeat'} <= 0 | |
216 | 9 | 40005 | 0 | exists $self->{'previous_output'} and $in eq '' |
40014 | 0 | 0 | exists $self->{'previous_output'} and $in eq '' and $self->{'previous_output'} =~ /\[(.+)\]/ |
line | l | !l | condition |
---|---|---|---|
204 | 0 | 1 | $self->{'states_list'}{$self->{'state'}}{'output'} // '' |
205 | 1 | 0 | $self->{'states_list'}{$self->{'state'}}{'final'} // 0 |
234 | 40011 | 0 | ($state->{'output'} // $self->{'states_list'}{$self->{'state'}}{'output'}) // '' |
236 | 40010 | 1 | ($state->{'output'} // $self->{'states_list'}{$self->{'state'}}{'output'}) // '' |
284 | 40000 | 0 | $w //= 1 |
285 | 40000 | 0 | $w // 1 |
322 | 3 | 0 | $self->{'states_list'}{$self->{'state'}}{'output'} // '' |
326 | 0 | 3 | ($self->{'states_list'}{$self->{'state'}}{$in}{'final'} // $self->{'states_list'}{$self->{'state'}}{'final'}) // 0 |
328 | 1 | 40010 | ($self->{'states_list'}{$self->{'state'}}{$in}{'final'} // $self->{'states_list'}{$self->{'state'}}{'final'}) // 0 |
336 | 0 | 0 | $self->{'states_list'}{$self->{'state'}}{'output'} // '' |
351 | 0 | 3 | $_[2] || 0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
200 | 0 | 1 | 0 | $self->{'states_list'}{$self->{'state'}}{'expect'}{'not_matching0'} // $self->{'states_list'}{$self->{'state'}}{'not_matching0'} |
234 | 0 | 40011 | 0 | $state->{'output'} // $self->{'states_list'}{$self->{'state'}}{'output'} |
235 | 7 | 40004 | 0 | $state->{'matching'} // $self->{'state'} |
236 | 0 | 40010 | 1 | $state->{'output'} // $self->{'states_list'}{$self->{'state'}}{'output'} |
319 | 3 | 0 | 0 | $self->{'states_list'}{$self->{'state'}}{'not_matching'} // $self->{'state'} |
326 | 0 | 0 | 3 | $self->{'states_list'}{$self->{'state'}}{$in}{'final'} // $self->{'states_list'}{$self->{'state'}}{'final'} |
328 | 0 | 1 | 40010 | $self->{'states_list'}{$self->{'state'}}{$in}{'final'} // $self->{'states_list'}{$self->{'state'}}{'final'} |