I am using Sonar-Lint as my static code analysis plugin in intellij. When I run that after setting configurations, it can fetch rules form the server and show issues.
But still it can't clearly indicate code-duplication and coverage. Can anyone tell me, what has gone wrong or it's a bug?
SonarLint doesn't compute code coverage. To have the code coverage, you should use one of the scanners with SonarQube.
Difference between SonarLint and SonarQubeSonarLint gives instant feedback as you type your code. Sonarqube give a vision of the quality of your complete project code base. SonarLint concentrates on what you are writing run time while coding. SonarQube analyzes all the source code for all files in frequent interval.
SonarLint catches issues right in your IDE while SonarQube analyzes pull requests and branches. The combination forms a continuous code quality analysis solution that keeps your codebase clean. You'll spend less time reviewing code issues and more time on code logic and solving interesting problems!
SonarLint doesn't support those features, it goes out of its scope as SonarLint won't necessarily scan the entire project. SonarLint only shows code issues.
Use SonarQube and one of its Scanners to have that information.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With