Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
PricingDownload
Product

Platform

All features44 capabilities, from IDE to CICompliance KitsISO 26262, DO-178C, IEC 62304...AI GovernanceControl AI-generated C/C++ codeWhat’s new in 2027Latest 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
Docs
Documentation

Analysis & Report

Elevate Your Code Analysis with Customized CppDepend Reports

2 min readAnalysis & ReportCppDepend 2027

Elevate Your Code Analysis with Customized CppDepend Reports

Getting Started Video

Watch our introductory video to learn the basics of CppDepend report customization.

Report Sections

Report can be customized through the VisualCppDepend or VS addin > Project Properties > Report sub-panel. You can choose to activate many pre-defined sections like, Application and Projects metrics, some diagrams (dependencies, metrics, abstractness vs. instability...), Linq rules violation, and more.

Report sections customization panel

Reporting groups of Linq Queries

Reporting the set of rules violated is useful, but it is also interesting to report some result sets of a few Linq queries. For example, you might want to write Linq queries to ask for methods and types added or refactored since the last release. And you might want to list these methods and types added or refactored in the report.

To do so, CppDepend make possible to append extra report sections that lists these Linq queries. In the Linq Query Explorer panel, a particular Linq group reported is bordered with an orange rectangle.

Group of Linq Queries

And here are the extra report sections:

Extra report sections for Linq Queries

Avoiding too large report

It is recommended to de-activate the Type Metrics and Type Dependencies sections since they can become pretty large if you have more than a thousand types in your application. Typically, browsing type metrics and dependencies is a scenario better addressed through the interactive UI.

By default, CppDepend sets a few flags on Project Properties to avoid too large reports.

Too large Report settings

Report Xml Files

You can choose to build your own customized report by providing your own XSL sheet. It can be inspired from the one in $CppDepend Install Dir$/BuildProcessResources/ReportXsl/CppDependReport.xsl. Input information can be taken from the following XML files outputted by the analysis in the $AnalysisOutputDir$\XmlFilesUsedToBuildReport folder:

•ApplicationMetrics.xml
•Dashboard.xml
•ProjectsBuildOrder.xml
•ProjectsDependencies.xml
•ProjectsMetrics.xml
•NamespacesMetrics.xml
•NamespacesDependencies.xml
•TypesDependencies.xml
•TypesMetrics.xml
•InfoWarnings.xml
•CodeRuleResult.xml
•CodeRuleCriticalResult.xml
•CodeQueryResult.xml

The tickbox VisualCppDepend or VS addin > Project Properties > Analysis > Keep XML files used to build reports and store warnings must be ticked, else these XML files get deleted by CppDepend after the report is built.

Was this page helpful?
Evaluating CppDepend on a production codebase?Get a guided proof of concept with our static analysis architects.
Request a PoC