nasa / cFE

The Core Flight System (cFS) Core Flight Executive (cFE)
Apache License 2.0
402 stars 198 forks source link

TBL: consolidate repeated logic blocks #2532

Open jphickey opened 3 months ago

jphickey commented 3 months ago

Is your feature request related to a problem? Please describe. The TBL module suffers from having many functions with high complexity levels, making it difficult to maintain.

There are a number of "low-hanging fruits" of repeated code that should be consolidated into common routines:

Describe the solution you'd like Write internal helper functions for these logic blocks, and call those functions instead of repeating the logic everywhere.

Additional context This should help with code complexity metrics and make the code more maintainable.

Requester Info Joseph Hickey, Vantage Systems, Inc.