MCPcopy Create free account
hub / github.com/rabbitstack/fibratus / currentState

Method currentState

pkg/rules/sequence.go:300–302  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

298}
299
300func (s *sequenceState) currentState() fsm.State {
301 return s.fsm.MustState()
302}
303
304func (s *sequenceState) expr(state fsm.State) string {
305 seqID, ok := state.(int)

Callers 7

initFSMMethod · 0.95
isTerminalStateMethod · 0.95
isInitialStateMethod · 0.95
runSequenceMethod · 0.95
TestSequenceStateFunction · 0.80
TestComplexSequenceFunction · 0.80

Calls

no outgoing calls

Tested by 3

TestSequenceStateFunction · 0.64
TestComplexSequenceFunction · 0.64