CS_TableInit - cyclomatic complexity of 20
Open
@jphickey is already working on this.
Since Nov 18, 2025.
enhancement
- Dominant language
- C
- Stars
- 36
- Forks
- 41
- Avg merge
- 11d 19h
- Merged PRs (30d)
- 2
Description
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_TableInit unnecessarily violates the recommendation with a cyclomatic complexity of 20.
Describe the solution you'd like
Clean up CS_TableInit such that it has a cyclomatic complexity of 15 or less.
Requester Info
Justin Figueroa, Vantage Systems
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.