More than 1 million lines of code reviewed and counting
I started Clayton as an experiment and announced it in late July. In less that two months it has code reviewed ~1.4 million lines of code from Salesforce developers worldwide that decided to play with the first experimental build. It's not a small number, if you consider humans review 90 to 100 lines lines of code it's 15,000+ hours that have been somehow saved thanks to the hard work of Clayton.
I am thrilled by the response that Clayton has received so far, it really motivates me in working hard to make it the best way to develop on the Salesforce platform. I spent a good part of my summer holidays to factor in the feedback from the pilot users. Today a new release of Clayton went live, and it’s the biggest one to date. If you haven't tried Clayton yet this is seriously the time to do it.
Configurable coding standards
- Code review criteria are now fully configurable on each project. You can now fine-tune thresholds and parameters (for example: define what’s the maximum allowed number of parameters in a method before Clayton suggests to refactor it).
- You can now decide whether Clayton should report a failure, or simply leave a comment (rule severity).
Configurable naming conventions
If you want Clayton to help you enforce naming conventions, you can now choose your preferred naming convention amongst 6 templates for:
- classes & triggers
- test methods
New code review criteria
We added new rules to check for:
- Triggers that contain logic
- Non-bulkified expressions in triggers
- Use of dynamic SOQL
- Use of dynamic SOSL
- Use of
New project dashboard
- All you need to know about quality, trends, most common defects and latest code reviews are now visible in Clayton's new project dashboard. There is all you need to know in a neat single view.
- We also updated existing rules to reduce the number of false positives.
Better support for teams
- Different team members can now add the same project to Clayton, so they all can access its dashboard and code reviews.
- You can now select the preferred code reviewer per each project (the user Clayton will comment on behalf of when leaving feedback on pull requests)
- You can now set the default branch on projects
- You can now delete projects
Fixes and improvements
- Fixed an annoying issue: you are no longer redirected to Github or Bitbucket when clicking on a project that is watched by Clayton.
- Various usability improvements
- Various stability fixes
Go ahead and use it!
Now it’s all there for you Salesforce developers and architects of the world. Go and try Clayton on your real world project, and let me know how it goes and what you think.