Enable/ Disable Modules and Languages

Below table shows a list of all languages and modules supported by Embold.

Sr. no.LanguagesModulesDefault EnabledType
1.JavapmdEnabledCode Issues
gamma_javaEnabledCode Issues
spotbugsDisabledCode Issues
klocworkDisabledCode Issues
findsecbugsDisabledCode Issues
cloverEnabledCoverage
jacocoEnabledCoverage
2.CPPklocworkDisabledCode Issues
cpplintDisabledCode Issues
cppcheckEnabledCode Issues
embold_secDisabledCode Issues
gtestEnabledUnit Test
gcovEnabledCode Issues
3.C_SHARPgamma_csEnabledCode Issues
mstestEnabledUnit Test
coverletEnabledCode Issues
4.ApexpmdEnabledCode Issues
5.Objective_Cgamma_cxxEnabledCode Issues
6.PHPembold_s ecDisabledCode Issues
phpmdEnabledCode Issues
phpcsEnabledCode Issues
7.PythonpylintEnabledCode Issues
dlintEnabledCode Issues
banditEnabledCode Issues
8.JavaScripteslintEnabledCode Issues
gamma_jsEnabledCode Issues
jshintDisabledCode Issues
9.TypeScripttslintEnabledCode Issues
10.GOgometalinterEnabledCode Issues
gosecEnabledCode Issues
staticcheckEnabledCode Issues
11.KotlindetektEnabledCode Issues
12.SoliditysoliumEnabledCode Issues
13.SQlsqlcheckEnabledCode Issues
14.SwiftswiftlintEnabledCode Issues
15.RubybrakemanEnabledCode Issues
16.HTMLhtmlhintEnabledCode Issues
17.CSSstyelintEnabledCode Issues
18.AllsonarDisabledCode Issues
gamma_genericDisabledCode Issues
relevanceEnabledRelevance

Modules
Below is an example of a YAML file that contains modules and rules.

👍

modules:

- name: gamma_java
  enabled: true
  rules:
     - key: 'EMB-JAVA-10'
       enabled: false
- name: pmd
  enabled: true

To disable any specific module, use below syntax. List of all modules for a specific language is given in the table below.

👍

modules:

- name: pmd

enabled: true

Languages

When you scan your repository, Embold automatically detects languages that are in your repository. If the language key is not present it identifies all the languages and runs the scan for the same.

Supported languages are:

JAVA, CPP, C_SHARP, PYTHON, JAVASCRIPT, TYPESCRIPT, GO, OBJECTIVE_C, KOTLIN, PHP, SOLIDITY, SQL, SWIFT, RUBY, APEX, HTML, CSS

All languages are detected by default by Embold. If you do not wish to scan all languages from your repository, you can update the embold.yaml file as shown below.

👍

#languages: 'JAVA,CPP'