• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Liutauras Vilda
  • Knute Snortum
  • Bear Bibeault
Sheriffs:
  • Devaka Cooray
  • Jeanne Boyarsky
  • Junilu Lacar
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • salvin francis
Bartenders:
  • Tim Holloway
  • Piet Souris
  • Frits Walraven

Best Static Analysis Tools for Java applications

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Kindly provide suggestions for Static Analysis Tools/Java Standards Checking tools for enterprise Java applications/products.

I came across certain tools like PMD,Assent.Suggest me the best , please

Thanks,
Krithika
 
krithika vittal
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And also please share POM.xml file to configure the plugins ... thanks
 
Saloon Keeper
Posts: 6195
157
Android Mac OS X Firefox Browser VI Editor Tomcat Server Safari
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I like FindBugs, but PMD isn't bad either.
 
Ranch Hand
Posts: 349
Hibernate Eclipse IDE Spring
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My pick would be PMD and findbugs(both).
 
krithika vittal
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
are you people using eclipse plugins or configuring the reports in pom.xml for PMD and findbugs?
 
Tim Moores
Saloon Keeper
Posts: 6195
157
Android Mac OS X Firefox Browser VI Editor Tomcat Server Safari
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I use the Ant tasks available for both. That way it's easy to start them from the command line, from within the IDE and as part of a Hudson/Jenkins build.
 
Ananth Chellathurai
Ranch Hand
Posts: 349
Hibernate Eclipse IDE Spring
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We use eclipse plugins
 
Rancher
Posts: 2759
32
Eclipse IDE Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We run Sonar on our maven prject. It runs several tools out of the box and merges the reports
 
krithika vittal
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I added pmd and findbugs plugins into my eclipse.

But when i run pmd on my source code, am getting the below exception,,

2012/03/14 11:24:00,372 ERROR PMDPlugin Error when writing project properties
org.eclipse.core.internal.resources.ResourceException: Could not set property: net.sourceforge.pmd.eclipse.persprops active_rulset. Value is too long.
at org.eclipse.core.internal.properties.PropertyManager2.setProperty(PropertyManager2.java:157)
at org.eclipse.core.internal.resources.Resource.setPersistentProperty(Resource.java:1822)
at net.sourceforge.pmd.eclipse.PMDPlugin.storeRuleSetForResource(PMDPlugin.java:447)
at net.sourceforge.pmd.eclipse.PMDPlugin.getRuleSetForResourceFromProperties(PMDPlugin.java:388)
at net.sourceforge.pmd.eclipse.PMDPlugin.getRuleSetForResource(PMDPlugin.java:340)

Anybody knows how to resolve this ?

Thanks in advance.
 
krithika vittal
Greenhorn
Posts: 11
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Finally,I have chosen PMD and findbugs.

Thank you guys.
 
I am Arthur, King of the Britons. And this is a tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!