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

Fix #1933, Remove unreachable/dead branch in CFE_ES_RunPerfLogDump() #2330

Conversation

thnkslprpt
Copy link
Contributor

Checklist

Describe the contribution

Testing performed
GitHub CI actions all passing successfully (incl. Build + Run, Unit/Functional Tests etc.).
This PR (slightly) increases coverage by one branch by removing an unreachable branch.

Expected behavior changes
No change to behavior.

Contributor Info
Avi Weiss @thnkslprpt

Copy link
Contributor

@skliper skliper left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Recommend updating lines/branches coverage check in CI:

missed_branches=52
missed_lines=18

Note even without this update main looks like it's 1 line and 1 branch out of date. See https://github.com/nasa/cFE/actions/runs/5570239970/jobs/10174148336 which shows 17 and 51 (vs 18 and 52).

See https://github.com/nasa/cFE/actions/runs/4899459045/jobs/8749435100#step:9:160 shows 17 and 50 with this update.

@skliper skliper added this to the Equuleus milestone Jul 17, 2023
@thnkslprpt thnkslprpt force-pushed the fix-1933-remove-dead-branch-in-CFE_ES_RunPerfLogDump branch from 0d01cfe to d5e12de Compare July 18, 2023 00:09
@thnkslprpt thnkslprpt force-pushed the fix-1933-remove-dead-branch-in-CFE_ES_RunPerfLogDump branch from d5e12de to 870c878 Compare July 18, 2023 00:10
@thnkslprpt
Copy link
Contributor Author

Recommend updating lines/branches coverage check in CI:

Good point @skliper

Updated now.
Cheers

@thnkslprpt thnkslprpt requested a review from skliper July 18, 2023 00:18
@thnkslprpt
Copy link
Contributor Author

Note: may need to lower the coverage minimums further if other PRs that improve coverage are merged before this one.

@jphickey jphickey added the CCB:Ready Ready for discussion at the Configuration Control Board (CCB) label Feb 15, 2024
@dzbaker dzbaker added CCB:Approved Indicates code review and approval by community CCB and removed CCB:Ready Ready for discussion at the Configuration Control Board (CCB) labels Feb 22, 2024
dzbaker added a commit to nasa/cFS that referenced this pull request Feb 23, 2024
*Combines:*

cFE equuleus-rc1+dev96
osal equuleus-rc1+dev53
to_lab equuleus-rc1+dev44

**Includes:**

*cFE*
- nasa/cFE#2515
- nasa/cFE#2330

*osal*
- nasa/osal#1448
- nasa/osal#1146
- nasa/osal#1357
- nasa/osal#1354
- nasa/osal#1331

*to_lab*
- nasa/to_lab#191
- nasa/to_lab#136

Co-authored by: Joseph Hickey <jphickey@users.noreply.github.com>
Co-authored by: Avi Weiss <thnkslprpt@users.noreply.github.com>
Co-authored by: Sam Price <thesamprice@users.noreply.github.com>
@dzbaker dzbaker merged commit 171fea3 into nasa:main Feb 23, 2024
21 checks passed
dzbaker added a commit to nasa/cFS that referenced this pull request Feb 23, 2024
*Combines:*

cFE equuleus-rc1+dev96
osal equuleus-rc1+dev53
to_lab equuleus-rc1+dev44

**Includes:**

*cFE*
- nasa/cFE#2515
- nasa/cFE#2330

*osal*
- nasa/osal#1448
- nasa/osal#1146
- nasa/osal#1357
- nasa/osal#1354
- nasa/osal#1331

*to_lab*
- nasa/to_lab#191
- nasa/to_lab#136

Co-authored by: Joseph Hickey <jphickey@users.noreply.github.com>
Co-authored by: Avi Weiss <thnkslprpt@users.noreply.github.com>
Co-authored by: Sam Price <thesamprice@users.noreply.github.com>
@thnkslprpt thnkslprpt deleted the fix-1933-remove-dead-branch-in-CFE_ES_RunPerfLogDump branch February 23, 2024 16:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CCB:Approved Indicates code review and approval by community CCB
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ES missing branch coverage in CFE_ES_RunPerfLogDump, condition not possible
4 participants