FAQ

What is a ‘code block’?

A code block is a block of Apex and/or Visualforce code of up to 40,000 lines. Line count is based on production org code and does not include Sandbox code. How many blocks you require on your CodeScan license depends on how many lines of Apex and Visualforce code you have on your Production Org. Example 120K lines of Apex and Visualforce code would equal 3 blocks.

What is a Self-Hosted Licence?

A single Self-Hosted CodeScan License allows you to run tests on one code block across multiple SonarQube projects. The amount of licenses you need depends on the number of code blocks you have in all Production Orgs linked to the Sandboxes you are analyzing.

How do I find out how many lines of code I have in my codebase?

You can get this number by installing a trial version of CodeScan and analyzing your project.

You can also try our new Quick Report tool, which allows you to get a quick overview of your project. It includes the ‘Lines of Code’ metric which we use for licensing.

What counts as a line of code and how is it calculated?

A line of code is counted as a non-commented line of code. i.e. not white space. It’s the same value as CodeScan reports in the ‘Lines of Code’ metric in your output.

The lines of code are calculated based on the files that are given to CodeScan from SonarQube. Any files that are excluded from the analysis, for example through parameters like sonar.exclusions, are not counted. Only Apex and VisualForce files are counted for licensing purposes, any Javascript/css/etc that is scanned by other plugins are not counted.

You can also try our new Quick Report tool, which allows you to get a quick overview of your project. It includes the ‘Lines of Code’ metric which we use for licensing.

How many scans can be run?

You can execute the CodeScan license as many times as you want during your license period, as long as the total number of lines of each project doesn’t exceed your licensed limit.

Does the subscription automatically renew?

The 12 month subscription does not automatically renew. Subscription may be renewed upon client request. At the end of the term, if the subscription is not renewed, the license will stop from working and an error message will display indicating that license has expired.

How can I pay for Self-Hosted CodeScan?

Multiple models available including subscription, credit card and annual upfront. See here.

How can I pay for CodeScan Cloud?

For more information on paying for CodeScan Cloud please visit the help page.

What are the differences between CodeScan Self Hosted and Cloud?

To compare the features of CodeScan Cloud and Self Hosted Visit the feature comparison page

Custom Pricing?

Please contact us if you are seeking custom or volume pricing and we’ll get back to you right away.

Any Questions?

We’re happy to answer any questions you have. For technical questions, please search our knowledge base at docs.codescan.io. If we have not answered your question anywhere, please contact our Support Team for assistance.