Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TBL: consolidate repeated logic blocks #2532

Open
jphickey opened this issue Mar 21, 2024 · 0 comments
Open

TBL: consolidate repeated logic blocks #2532

jphickey opened this issue Mar 21, 2024 · 0 comments
Assignees

Comments

@jphickey
Copy link
Contributor

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:

  • Getting the Active/Inactive buffer
  • Dealing with the "LoadInProgress" buffer (allocating it, freeing it, etc)

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.

@jphickey jphickey self-assigned this Mar 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant