Enable/ Disable Modules and Languages
Below table shows a list of all languages and modules supported by Embold.
Sr. no. | Languages | Modules | Default Enabled | Type |
---|---|---|---|---|
1. | Java | pmd | Enabled | Code Issues |
gamma_java | Enabled | Code Issues | ||
spotbugs | Disabled | Code Issues | ||
klocwork | Disabled | Code Issues | ||
findsecbugs | Disabled | Code Issues | ||
clover | Enabled | Coverage | ||
jacoco | Enabled | Coverage | ||
2. | CPP | klocwork | Disabled | Code Issues |
cpplint | Disabled | Code Issues | ||
cppcheck | Enabled | Code Issues | ||
embold_sec | Disabled | Code Issues | ||
gtest | Enabled | Unit Test | ||
gcov | Enabled | Code Issues | ||
3. | C_SHARP | gamma_cs | Enabled | Code Issues |
mstest | Enabled | Unit Test | ||
coverlet | Enabled | Code Issues | ||
4. | Apex | pmd | Enabled | Code Issues |
5. | Objective_C | gamma_cxx | Enabled | Code Issues |
6. | PHP | embold_s ec | Disabled | Code Issues |
phpmd | Enabled | Code Issues | ||
phpcs | Enabled | Code Issues | ||
7. | Python | pylint | Enabled | Code Issues |
dlint | Enabled | Code Issues | ||
bandit | Enabled | Code Issues | ||
8. | JavaScript | eslint | Enabled | Code Issues |
gamma_js | Enabled | Code Issues | ||
jshint | Disabled | Code Issues | ||
9. | TypeScript | tslint | Enabled | Code Issues |
10. | GO | gometalinter | Enabled | Code Issues |
gosec | Enabled | Code Issues | ||
staticcheck | Enabled | Code Issues | ||
11. | Kotlin | detekt | Enabled | Code Issues |
12. | Solidity | solium | Enabled | Code Issues |
13. | SQl | sqlcheck | Enabled | Code Issues |
14. | Swift | swiftlint | Enabled | Code Issues |
15. | Ruby | brakeman | Enabled | Code Issues |
16. | HTML | htmlhint | Enabled | Code Issues |
17. | CSS | styelint | Enabled | Code Issues |
18. | All | sonar | Disabled | Code Issues |
gamma_generic | Disabled | Code Issues | ||
relevance | Enabled | Relevance |
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'
Updated over 2 years ago