Gearset comes with static code analysis built in, based on the open-source PMD library.
Gearset static code analysis powered by PMD
Static code analysis (SCA) checks your Apex code to detect errors and bugs, and help you meet best practices. You can set different rulesets as your code moves through the pipeline.
Within Gearset you can used our standard PMD-based ruleset, or customize your static code analysis rulesets to apply for different automated integrations and validation jobs.