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

Feature 2472 sonarqube findings mtd and madis2nc #2526

Merged
merged 9 commits into from
May 3, 2023

Conversation

hsoh-u
Copy link
Collaborator

@hsoh-u hsoh-u commented Apr 27, 2023

Resolves the SonarQube findings

  • Recommended not to use "module" as a function name because it's the keyword for C++ standard V20.
  • Checking boundary condition to avoid memory access errors

Expected Differences

  • Do these changes introduce new tools, command line arguments, or configuration file options? [No]

    If yes, please describe:

  • Do these changes modify the structure of existing or add new output data types (e.g. statistic line types or NetCDF variables)? [No]

    If yes, please describe:

Pull Request Testing

  • Describe testing already performed for these changes:

Unittest and compared the outputs with nightly build

  • Recommend testing for the reviewer(s) to perform, including the location of input datasets, and any additional instructions:

Code review

  • 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 [Fill in date].

Pull Request Checklist

See the METplus Workflow for details.

  • Review the source issue metadata (required labels, projects, and milestone).
  • Complete the PR definition above.
  • Ensure the PR title matches the feature or bugfix branch name.
  • Define the PR metadata, as permissions allow.
    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
  • After submitting the PR, select Development issue with the original issue number.
  • After the PR is approved, merge your changes. If permissions do not allow this, request that the reviewer do the merge.
  • Close the linked issue and delete your feature or bugfix branch from GitHub.

@hsoh-u hsoh-u requested a review from jprestop April 27, 2023 17:06
@hsoh-u hsoh-u linked an issue Apr 27, 2023 that may be closed by this pull request
20 tasks
Copy link
Collaborator

@jprestop jprestop left a comment

Choose a reason for hiding this comment

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

I reviewed the code changes, which were straightforward. I corrected one typo in the comments in the code. I verified that all GHA tests passed. I approve this request. Thanks for all of your work on this @hsoh-u.

@hsoh-u hsoh-u merged commit bc39161 into develop May 3, 2023
@hsoh-u hsoh-u deleted the feature_2521_sonarqube_findings_mtd branch May 3, 2023 22:00
@JohnHalleyGotway JohnHalleyGotway changed the title Feature 2521 sonarqube findings mtd and madis2nc Feature 2472 sonarqube findings mtd and madis2nc May 5, 2023
@JohnHalleyGotway JohnHalleyGotway linked an issue May 5, 2023 that may be closed by this pull request
20 tasks
@JohnHalleyGotway JohnHalleyGotway added this to the MET 11.1.0 milestone May 5, 2023
@JohnHalleyGotway
Copy link
Collaborator

FYI, I changed the title of this PR to reference issue #2472 (SonarQube fixes for beta2) instead of #2521 (SonarQube fixes for rc1). We are recreating the beta2 release on 5/5/23 and these already merged SonarQube fixes are now included in beta2 instead of rc1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

SonarQube: Further reduce bugs for MET-11.1.0-beta2
3 participants