FAQ

What is a 'code block'?
A code block is a block of SFDC 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 SFDC code you have on your Production Org. Example 120K lines of SFDC code would equal 3 blocks.
What is an On Premise Single-Project Licence?
A 'Single-Project' Licence allows you to run CodeScan's tests on one SonarQube project and includes a single project key. The amount of CodeScan blocks you need on your license depends on the number of code blocks you have in your code base.
What is an On Premise Multi-Project Licence?
A single ‘Multi-Project License allows you to run tests on one code block across multiple SonarQube projects and Sandboxes. The amount of licences you need depends on the number of code blocks you have in all Production Orgs linked to the Sandboxes you are analysing. A Multi-Project License includes unlimited project keys.
How do I use the Eclipse/IntelliJ Plugin?
The Eclipse and IntelliJ plugins are an additional feature which require a current On Premise Licence.
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 SonarQube 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 are CodeScan's system requirements?
Official requirements for SonarQube can be found here.
Official requirements for Jenkins can be found here.
An example of a typical SonarQube/CodeScan server requires:
  • 2 CPUs (Equivalent to AWS t2.large)
  • 8GB RAM
  • 100GB Disk
  • Modern Linux OS
Note: depending on your use-case, this may be way too much or too little. As SonarQube stores all snapshots for a long time, the data can build up for a large project. Additionally, heavy usage for users would cause more load.
Can I do an incremental scan on my updated code only?
Yes, however there are a few things to consider:
  • We recommend you scan your entire project and not try to only scan the changes. Many rules in CodeScan rely on all the code being there
  • Keep in mind your CodeScan licence must be based on your entire production org code base.
  • You can use the 'Leak Period' feature in SonarQube to find changes in your code base between two periods. The issues that are introduced during this period is displayed on the project page.
Can I export my test results?
Yes you can. To export to an html report, run your scan with the following additional parameters:
sonar.analysis.mode=preview
sonar.issuesReport.html.enable=true
sonar.issuesReport.html.location=.

This will create the html report in the project directory. SonarQube results will not be modified in this mode.
How many scans can be run?
You can execute the CodeScan license as many times as you want during this period, as long as the total number of lines of each project doesn't exceed your licensed limit.
How can I pay for CodeScan?
Multiple models available including subscription, credit card and annual upfront.
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. Please contact our Support Team for assistance.
CodeScan documentation

Copyright © Village Chief Pty Ltd – 2014-2017. ABN: 11 153 295 571