Request a PoCDownload
Product

Platform

All features32 capabilities, from IDE to CICompliance KitsISO 26262, DO-178C, IEC 62304...AI GovernanceControl AI-generated C/C++ codeWhat’s new in 2026Latest version highlightsScreenshotsSee the product in action

Analyze & improve

Coding standardsMISRA, CERT, CWE, AUTOSARArchitecture & dependenciesGraphs, matrix, cyclesTechnical debtMeasured in hours and dollarsQuality gatesStop regressions in CISmart Code CityYour codebase in 3D

Integrations

IDE pluginsVisual Studio, VS Code, CLion...CI/CD pipelinesJenkins, Azure DevOps, GitHub, GitLabSonarQube pluginC/C++ results in SonarQubeExternal analyzersClang-Tidy, Cppcheck, coverageFeature on Demand
Solutions

By need

Functional safetyCompliance kits per standardCoding standardsMISRA, CERT, AUTOSAR, ISO...Legacy modernizationRefactor large C/C++ safelyCode auditExpert review of your codebaseM&A due diligenceAssess technical health fast

By role

DevelopersSoftware architectsTech leadsDevOps engineersEngineering managersProject managers

CTOsCIOs / IT leadersQA engineersSecurity leadersComplianceConsultantsRequest a guided PoC
Industries

Safety-critical

AutomotiveISO 26262, MISRA, AUTOSARAerospace & DefenseDO-178C programsMedical DevicesIEC 62304 softwareEnergy & UtilitiesIEC 61508 systemsEmbedded SystemsFirmware and devices

Enterprise

Financial ServicesTrading and paymentsGame DevelopmentEngines and large C++Software VendorsCommercial C/C++ productsGovernmentAgencies and contractorsAll industries & case studies
Resources

Learn

DocumentationGuides, rules and CI setupKnowledge baseFrequently asked questionsBlogC and C++ code quality articlesRelease notesEvery version since 2009

Customers

Case studiesSuccess storiesTestimonialsWhat users sayOur customersCompanies using CppDependGold Code QualityOpen source projects we rate

Programs & company

Feature on DemandMissing features built for freeFree for open sourceLicenses for OSS and studentsContact usSales and supportEULALicense agreement
DocsPricing
Documentation

CppDepend AI

Quality gate

The quality gate is your rule for "this change is acceptable". cppdepend-ai gate checks it against the latest analysis and fails when quality got worse. After cppdepend-ai init, the file cppdepend-ai.gate.json is in your repository: edit it to match your team's rules. Every line is optional, and // comments are allowed.

{
  "failOnNewIssues": [ "Blocker", "Critical" ],   // any NEW issue of these severities fails
  "maxNewIssues":    { "High": 0, "Medium": 10 },  // maximum number of NEW issues per severity
  "maxTotalIssues":  { "Blocker": 0 },             // maximum number of issues (new or old) per severity
  "maxNamespaceCycles": 0,                         // remove this line to disable
  "minCoveragePercent": 60,                        // only checked when code coverage is imported in CppDepend
  "queries": [
    "failif count > 0 from t in Application.Types where t.CyclomaticComplexity > 500 select t"
  ]
}

Severities: Blocker, Critical, High, Medium, Low. The queries entries are your own CQLinq rules.

Without a gate file: new Blocker or Critical issues fail, and no Blocker issue is allowed at all.

"New" means new compared with the baseline of your CppDepend project. Without a baseline nothing is new: use maxTotalIssues instead.

Adopting it on an existing code base

Set the baseline to today, and keep failOnNewIssues for Blocker and Critical. Only new problems fail, so you do not have to fix years of history first. Tighten the other limits as your team agrees.

Where to check it

  • On your machine: run cppdepend-ai gate, or ask your assistant to run it before it says a task is done.
  • On every pull request: see Continuous integration. That is the check that counts.
Was this page helpful?Give feedbackRequest a feature