BrowserStack Code Quality’s four-vector analysis (Code Metrics, Anti-patterns, Duplication, and Code Issues) is made possible through a blend of our proprietary, state-of-the-art BrowserStack Code Quality analyzer as well as external open-source tools. We currently support the following languages:
| Language | Version | Code Issues | Metrics | Anti-Patterns |
|---|
| Java | 1.0 - 15.0 | Embold: 80 PMD : 270 SpotBugs : 447 | 18 | 18 |
| C | 99 | Embold: 523 CppCheck : 584 | 18 | 22 |
| C++ | 98, 14, 11 | Embold: 523 CppCheck : 584 | 18 | 22 |
| C# | .Net FW 2.0 - 7.0, .Net Core 1.0 | Embold: 87 Microsoft Security Codescan: 31 | 18 | 19 |
| Objective-C | 2 | Embold: 50 | 18 | 18 |
| TypeScript | 2.0 - 4.8 | TSLint : 229 | 18 | 18 |
| JavaScript | ES5, ES6 | JSHint : 164 ESLint : 569 Embold : 3 | 18 | 7 |
| Python | 3 | PYLint : 445 Bandit : 69 Dlint: 38 | 18 | 18 |
| Go | | GOMetaLinter : 53 Gosec : 30 Staticcheck : 149 | 3 | |
| Kotlin | | Detekt : 109 MobSF: 23 | 3 | |
| Solidity | | Solium : 28 | 3 | |
| SQL | | SQLCheck : 29 | 3 | |
| Swift (Cloud only) | | Swiftlint : 154 | 3 | |
| Ruby | | Brakeman : 35 | 3 | |
| Apex | | PMDApex: 46 | 3 | |
| HTML | | htmlhint: 26 | 3 | |
| CSS | | stylelint: 48 | 3 | |
| Infrastructure | 2.0.654 | checkov : 605 | 3 |