Skip to content

Static Code Analysis and Quality Gates #43

Description

@philliplbryant

@Col-E, how do you feel about modifying the GitHub workflows to include static code analysis?

For background, I added analysis steps for SonarQube Cloud, Qodana, and CodeQL in the persistence fork, and they've been very helpful in pointing out potential bugs, potential NPEs, gaps in test coverage, etc. I've already fixed the issues discovered in the persistence modules, but there are still issues in the core module. Analysis in the fork is configured to ignore the core and demos/basic modules, so porting the configuration shouldn't break anything. Those modules can be included as findings in them are resolved. I'd be happy to open issues for them and implement most as separate PRs.

Adopting the changes would require creating a SonarQube Cloud account and generating an access token. Codecov and Qodana Cloud accounts would be needed as well, each with its own token. So we'd likely want to coordinate closely to avoid downtime. I don't want to "move any cheese," but I'm willing to port them over if it's something you actually want. Let me know if you're interested.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions