Are there any tools which can be used freely to review apex and visualforce code written and provide some suggestions about code improvement and applying best practices. I need to check quality of apex and visualforce code written and improve the same.

  • 1
    I've been mulling about creating an app that does that, because the Force.com Scanner tool is only concerned with security violations, not actual "best practices". Something like a Apex Lint tool.
    – sfdcfox
    May 23, 2015 at 13:54

2 Answers 2


There is the checkmarx based force.com scanner: http://security.force.com/security/tools/forcecom/scanner

Have a read of the faq stuff first and I think it's really aimed at partner/appexchange apps but it's useful. It's not meant to be used often (I.e. Part of an organisations development cycle) but the site does explain that.


There are not many options for static code analyzer like we have in Java.
However you can try the Apex PMD plugin for eclipse. Available at http://codescan.villagechief.com/eclipse/
Github, Jenkins facilitate the code review at peer level but does not provide any analysis on its own like PMD, FindBugs

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .