CodeScanCloud is a tool for maintaining Code Quality in your Salesforce projects. It is a static source code analysis solution that enables continuous tracking of bugs, code smells and vulnerabilities for various Salesforce languages like Apex, VisualForce, Lightning, etc, ... About the CodeScanCloud VSTS Marketplace ExtensionThis extension provides the following features:
Highlighted FeaturesSeamless Integration with SalesforceThe analysis of Salesforce is really straightforward since it only requires adding the two Prepare Analysis Configuration and Run Code Analysis tasks to your build definition. Branch and Pull Request analysisWhatever type of source repository you are analysing, when a build is run on a branch of your project, the extension automatically configures the analysis to be pushed to the relevant project branch on CodeScanCloud: If you configure your build definition as a build validation for pull requests of that project (this can be done on "Branch policies"), CodeScanCloud will also analyze the code changes and decorate the pull request with comments and overall status so that you can merge with confidence: Important note: to activate pull request decoration, you must specify a user token in the "General Settings > Pull Requests" administration page of your project in CodeScanCloud. Quality Gate StatusIn the build summaryThe Publish Quality Gate Result task waits for the analysis report to be consumed by the CodeScanCloud in order to flag the build job with the Quality Gate status. The Quality Gate is a major, out-of-the-box, feature of CodeScanCloud. It provides the ability to know at each analysis whether an application passes or fails the release criteria. In other words it tells you at every analysis whether an application is ready for production "quality-wise". Example of a passing Quality Gate: Example of a failing Quality Gate: This Get Started guide provides all the required documentation for you to setup a build definition. |