-
Notifications
You must be signed in to change notification settings - Fork 24
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
Feature 1855 sonarqube fix #1865
Conversation
…variables at get_filtered_nc_data\*()
…), and local variables at data()
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewed the 71 modified files and see the following types of changes:
- Removing unreachable break statements that occur after exit(1).
- Checking for null pointers.
- Fix Grid-Stat bug checking for equal numbers of U and V pairs.
- Lining up source code consistently.
- Skip setting values that never get used.
I don't see any obvious problems with these changes. I'm running a full regression test to ensure there aren't any unexpected differences.
met_test@kiowa:/d1/projects/MET/MET_pull_requests/met-10.1.0/met-10.1.0_beta2/feature_1865
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I approve of these changes. After merging the latest from develop into this feature branch, the regression test flagged no differences in the results.
Pull Request Testing
remove break statement after return statement
Avoid un-initialized variables
Avoid release memory twice
Avoid null pointer references
And some bug fixes
Describe testing already performed for these changes:
Recommend testing for the reviewer(s) to perform, including the location of input datasets, and any additional instructions:
Do these changes include sufficient documentation updates, ensuring that no errors or warnings exist in the build of the documentation? [No]
Do these changes include sufficient testing updates? [No]
Will this PR result in changes to the test suite? [No]
If yes, describe the new output and/or changes to the existing output:
Please complete this pull request review by [8/05/2021].
Pull Request Checklist
See the METplus Workflow for details.
Select: Reviewer(s)
Select: Organization level software support Project or Repository level development cycle Project
Select: Milestone as the version that will include these changes