nasa / CS

The Core Flight System (cFS) Checksum (CS) application.
Apache License 2.0
28 stars 25 forks source link

CS_ProcessNewTablesDefinitionTable - cyclomatic complexity of 19 #63

Open chillfig opened 1 year ago

chillfig commented 1 year ago

Checklist (Please check before submitting)

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