Comments (7)
Hi @fayaz988,
There are different things to keep in mind:
- The cxx plugin is not a static code analyzer, it’s only an interface reading already existing reports from other static code analyzer and forward it to SonarQube. That’s different with other plugins, especially the SonarSource plugins which are real static code analysis tools and can therefore be used standalone.
- SonarLint is a tool from SonarSource supporting their own plugins only. There is no way to add other plugins.
- SonarLink was mainly written to support also other plugins, especially the cxx plugin. Main idea behind is to move the time consuming static code analysis to a server without blocking your local machine. After analysis is done you can see the results in your local IDE.
Regards,
from sonar-cxx.
So, like you said the cxx plugin is not a static code analyzer, it’s only an interface reading already existing reports from other static code analyzer and forward it to SonarQube. Is it possible to use any (existing) plugin which would work along side my visual studio 2019, and instead of forwarding a reading from the existing reports to SonarQube, it forwards the reading to my error list debugger?
from sonar-cxx.
Hi @fayaz988,
There are different things to keep in mind:
- The cxx plugin is not a static code analyzer, it’s only an interface reading already existing reports from other static code analyzer and forward it to SonarQube. That’s different with other plugins, especially the SonarSource plugins which are real static code analysis tools and can therefore be used standalone.
- SonarLint is a tool from SonarSource supporting their own plugins only. There is no way to add other plugins.
- SonarLink was mainly written to support also other plugins, especially the cxx plugin. Main idea behind is to move the time consuming static code analysis to a server without blocking your local machine. After analysis is done you can see the results in your local IDE.
Regards,
Thanks for reply, i have one more question that I can see different rules repository on SonarQube from cxx plugin as below,
and issues also listed related other repos like SonarQube cxx how this is happening? is cxx is forwarding existing report as well as analyzing against other repos like SonarQube cxx? how it works? please through some light on this!!
from sonar-cxx.
Hi @akshats01,
Is it possible to use any (existing) plugin which would work along side my visual studio 2019,
You need a VisualStudio plugin for Cppcheck. Maybe best is to ask in the Cppcheck forum: https://cppcheck.sourceforge.io/, something like this https://github.com/VioletGiraffe/cppcheck-vs-addin/releases/tag/1.5
Regards,
from sonar-cxx.
Hi @fayaz988,
issues also listed related other repos like SonarQube cxx how this is happening?
Issues are reported in reports from a specific tool, are read by one sensor and are visible in the corresponding repo. Best is to verify the LOG file to see what happens https://github.com/SonarOpenCommunity/sonar-cxx/wiki/Get-Debug-Information
Regards,
from sonar-cxx.
Hi @akshats01,
Is it possible to use any (existing) plugin which would work along side my visual studio 2019,
You need a VisualStudio plugin for Cppcheck. Maybe best is to ask in the Cppcheck forum: https://cppcheck.sourceforge.io/, something like this https://github.com/VioletGiraffe/cppcheck-vs-addin/releases/tag/1.5
Regards,
I understand, but as per my needs, cppcheck is not able to show the codesmells that i can view on the sonarqube cxx plugin. So i wanted to use this cxx plugin as an extension on my visual studio. But i suppose there is no possible way to achieve that.
from sonar-cxx.
Hi @akshats01,
So i wanted to use this cxx plugin as an extension on my visual studio. But i suppose there is no possible way to achieve that.
I’m sorry but I’m not aware of a solution for your problem.
Regards,
from sonar-cxx.
Related Issues (20)
- Preprocessor cannot find include file... HOT 1
- Sorry I was wrong
- Exception while running CppDepend.SonarQube.RuleRunner.exe HOT 1
- Rule template for GCC custom rules not working due to key validation: - sign not allowed HOT 15
- Sonar read xml file of CppCheck check by MISRA2012;But there is no corresponding misra warning HOT 13
- Cppcheck 2.13.0 support HOT 3
- Unable to get coverage report when using Sonar.cxx plugin HOT 5
- plugin issue: The plugin [cxx] does not support Java 1.8.0_212 HOT 1
- Change rule keys containing non standard characters
- Builds failing with 'CXX-public_undocumented_api' does not exist error HOT 1
- SonarCloud: Java 11 is no longer supported as scanner runtime environment
- Very little security rules and security hotspot rules HOT 1
- can you update xx-custom-checks-example-plugin for Sonar 9.9 TLS HOT 2
- Verify deprecated Web API endpoints and parameters HOT 1
- Optimizing the execution of sensors
- C++ plugin causing an issue while running Java/python projects HOT 5
- How to define program language HOT 1
- cxx-custom-checks-example-plugin can not to report issue information HOT 8
- The SonarScanners download only required 3rd-party plugins HOT 1
- [Fix][cxx-custom-checks-example-plugin] the problem that sample rules could not be loaded and registerd normally HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sonar-cxx.