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

CS_ProcessNewTablesDefinitionTable - cyclomatic complexity of 19 #63

Open
3 tasks done
chillfig opened this issue Mar 2, 2023 · 0 comments
Open
3 tasks done

Comments

@chillfig
Copy link
Contributor

chillfig commented Mar 2, 2023

Checklist (Please check before submitting)

  • I reviewed the Contributing Guide.
  • I reviewed the README file to see if the feature is in the major future work.
  • I performed a cursory search to see if the feature request is relevant, not redundant, nor in conflict with other tickets.

Is your feature request related to a problem? Please describe.
NASA guidelines in NPR 7150.2D recommends maintaining a cyclomatic complexity in software, in particular flight software of 15.

cs_table_processing.c::CS_ProcessNewTablesDefinitionTable unnecessarily violates the recommendation with a cyclomatic complexity of 19.

Describe the solution you'd like
Clean up CS_ProcessNewTablesDefinitionTable such that it has a cyclomatic complexity of 15 or less.

Requester Info
Justin Figueroa, Vantage Systems

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