Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Codacy for Java  RSS feed

 
Isaac Ferguson
Ranch Hand
Posts: 1063
3
Java Netbeans IDE Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

is there some tool like Codacy for Java?

Regards, Isaac
 
Tapas Chand
Ranch Hand
Posts: 614
9
BSD Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you want something for automated code review, then you will find sonar interesting.
It has plugins for different IDEs and it can run standalone with maven too.
 
Tim Cooke
Marshal
Posts: 3871
233
Clojure IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Isaac, SonarQube is pretty decent and free. Other non-free options include Coverity which boasts a dynamic analysis feature which is really quite impressive, however it's priced accordingly.

For personal projects, SonarQube would be my choice. Most CI systems have integration features built in already so configuration is a breeze.
 
Tapas Chand
Ranch Hand
Posts: 614
9
BSD Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tim Cooke wrote:...Most CI systems have integration features built in already so configuration is a breeze.

Oh yes, I forgot this point. We are using Jenkins with SonarQube integrated with it.
 
Tim Cooke
Marshal
Posts: 3871
233
Clojure IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
... and we use Atlasssian Bamboo with SonarQube integration.

I also have SonarQube installed locally and use the Maven goal to generate a SonarQube analysis report. It's very useful to double check yourself before pushing changes to the shared repo.
 
Isaac Ferguson
Ranch Hand
Posts: 1063
3
Java Netbeans IDE Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It is for a professional web site with quite a lot of traffic, it would be preferable use a free tool. I used Sonar in the past for coverage of a goverment app, it was quite good.

I need to do it also for PHP I checked that there is a plugin for PHP. Any more advice?
 
Isaac Ferguson
Ranch Hand
Posts: 1063
3
Java Netbeans IDE Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It is for a professional web site with quite a lot of traffic, it would be preferable use a free tool. I used Sonar in the past for coverage of a goverment app, it was quite good.

I need to do it also for PHP I checked that there is a plugin for PHP.

For PHP, I need to do a complete review of the code/app performance, at the moment we are thinking in using codacy but I am not familiar with it and it costs money.

There is any problem in using SONARQUBE for both cases (PHP/Java)

Sonar professional edition costs 12500 per year, is it needed use the professional version because it is too much. This is for a ecommerce web site which will have an average of 5000 unique users per day.

What about TravisCI, is it like Sonar or it is like Eclemma (The Eclipse plugin)

Any more advice?

 
Paul Bleicher
Codacy Software Support
Greenhorn
Posts: 15
5
Java Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Isaac Ferguson wrote:Hi,

is there some tool like Codacy for Java?

Regards, Isaac


Hi Isaac,

just to let you know that we will be releasing Java support on Codacy in one month
As an open source alternative, and as the other mentioned as well: SonarQube.

You can also add some tools to your CI: Checkstyle & PMD

Cheers,
Paul

 
Isaac Ferguson
Ranch Hand
Posts: 1063
3
Java Netbeans IDE Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sounds very good! I need to start doing it this week. Any cons for use SONAR for a PHP ecommerce app with 5000 / day?

 
Tim Cooke
Marshal
Posts: 3871
233
Clojure IntelliJ IDE Java
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Paul, welcome to the Ranch!

Please feel free to use our Blatant Advertising forum to announce when you do release the Java version of your product. I certainly would be interested in giving it a go and I'm sure others will too.
 
Tim Cooke
Marshal
Posts: 3871
233
Clojure IntelliJ IDE Java
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Isaac, You seem to be a little confused about how the likes of SonarQube work. They take a copy of your codebase and perform static analysis on it to generate reports showing how terrible your code quality is. There is no link at all to how much traffic your application gets when running in production, so that is not a factor you need to consider when choosing a static analysis tool.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!