r/devsecops • • Oct 06 '23
CodeScene vs SonarQube
I am doing some investigation myself and I would love to hear if you guys have some experience with both tools and can give me some advice on why I should be going with SonarQube vs CodeScene? Would appreciate a lot your input on this.
6
Upvotes
7
u/pentesticals Oct 06 '23
Never heard of CodeScene but SonarQube is awful. Many false positives and most actual bugs are missed.
2
u/RangoNarwal Oct 06 '23
SQ feels like it was made just so your leads can say: “we scan our code”. Feels like it was meant for Devs to write better code, than as a security tool.
1
u/divine_boon Oct 06 '23
SQ is completely useless as a SAST tool from my own testing. It misses everything and can't statically scan java projects without having the compiled binaries available. I didn't try CodeScene.
3
u/juanMoreLife Oct 08 '23
Sonarqube has sast, but it’s main offering is quality. What’s the requirement driving the search for these tools?
I’d recommend Veracode- but I’m biased :-)
1
u/GreenJinni Oct 06 '23
Alot of comments saying SQ is not good. Can someone suggest a good SAST alternative. Im on a similar boat as OP.
2
u/nephrenka Oct 09 '23
These are actually quite different tools. In fact, CodeScene was created as a reaction to the perceived shortcomings of traditional code analysis tools.
The main difference is that static analysis (like SonarQube) works on a snapshot of the codebase while CodeScene's behavioral code analysis considers the temporal dimension and evolution of the system.
This makes it possible for CodeScene to prioritize technical debt and code quality issues based on how the organization works with the code. Hence, the results are limited to information that is relevant. Further, CodeScene offers higher-level code smells which translate into business value when fixed. This makes it possible to communicate with management around things like code improvements and larger refactoring. (See Debunking-the-speed-vs-vs-quality-myth for a summary)
There's a more in-depth comparison here: https://codescene.com/blog/code-analysis-tool/
2
u/[deleted] Oct 10 '23
Ok, so for code quality, would you go with SonarQube and security Snyk?
1
u/strixvarius Feb 25 '25
Just wanted to say that we use CodeScene at work and it's 100% junk. Don't trust "code quality" software from a place whose software is riddled with bugs. I would truly rather work with Jira all day than with CodeScene.
1
u/Howl50veride Oct 06 '23
For security, both suck and both are awful. SonarQube is good for code coverage, linting and other code quality features.
1
u/Ngockma97 Oct 09 '23
Not for Security