DEV Community

Arsalan Khan
Arsalan Khan

Posted on

2 1

Improve Code Quality - Static Analyzer

My Workflow

As a developer, I am looking to improve my code quality and wants to receive fast feedback for my code changes. Specially, when a change comes in the Pull Request (PR) which can be overlooked. In such cases, automated static code analysis can be helpful, which list code coverage, potential bugs, code smells, vulnerabilities and security issues in the form of reports.

One popular tool, SonarCloud by SonarSource helped me to detect bugs and list code coverage detail on the PR. In the workflow, I have used an existing Github Action from sonar cloud to automatically analysis my changes (in a PR) and post the results on the PR itself.

GitHub Action used[https://github.com/SonarSource/sonarcloud-github-action]

SonarCloud Results on PR

Results on SonarCloud.io
Results on SonarCloud.io

Submission Category:

Maintainer Must-Haves

Yaml File or Link to Code

[https://github.com/asalan316/spring-boot-camunda-bpm-example/actions/runs/1541515266/workflow]

Additional Resources / Info

Sample PR
[https://github.com/asalan316/spring-boot-camunda-bpm-example/pull/1]

Master Branch
[https://github.com/asalan316/spring-boot-camunda-bpm-example/runs/4422734786?check_suite_focus=true]

Project
[https://github.com/asalan316/spring-boot-camunda-bpm-example]

Speedy emails, satisfied customers

Postmark Image

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay