CppDepend Benefits

50 %
50 %
Information about CppDepend Benefits

Published on October 13, 2014

Author: CoderGears

Source: slideshare.net


CppDepend simplifies managing a complex C/C++ code base. You can analyze code structure, specify design rules, do effective code reviews and master evolution by comparing different versions of the code.

1. CppDepend Benefits by CoderGears www.cppdepend.com

2. What is CppDepend? Bad Quality High Quality + = www.cppdepend.com

3. CQLinq – Code Query Language CppDepend has innovative code query language named CQLinq, which is used to create and customize easily your own code rules. From m in Application.Methods where m.NbLinesOfCode > 30 select m From n in Namespaces n.Level = null select n From t in Types where t.IsClass select t Writing CQLinq queries and constraints is straightforward because CppDepend provides a CQLinq editor which supports: •Code completion / intellisense, •Live compile error description, •Integrated tooltip documentation. www.cppdepend.com

4. Interactive Guis Exploration and Architecture Compliance categories are represented best via interactive graphs: •Dependency Graph, •Dependency Matrix, •Metrics View, •Abstracness vs Instability. www.cppdepend.com

5. Dependency graph The CppDepend dependency graph panel displays the graph of dependencies between projects. www.cppdepend.com

6. Dependency Structure Matrix The DSM (Dependency Structure Matrix) is a compact way to represent and navigate across dependencies between components. www.cppdepend.com

7. Metrics View In the Metric View, the code base is represented through a Treemap. Treemapping is a method for displaying tree-structured data by using nested rectangles. www.cppdepend.com

8. Abstracness vs. Instability In any software system particularly large ones, balance is critical. In this case, a system should balance abstractness with stability in order to be "good”. www.cppdepend.com

9. More than 80 Code Metrics CppDepend comes with more than 80 code metrics some of them are related to: •Your code organization (the number of classes, the number of methods declared in a class...), •Code quality (complexity, percentage of comments, number of parameters, cohesion of classes, stability of Projects...), •The structure of code (which types are the most used, depth of inheritance...) www.cppdepend.com

10. Plugins CppDepend support out of the box the XML files from CppCheck and CPD, however you can integrate another analysis tool by providing to CppDepend an XML file with this following format: www.cppdepend.com

11. Builds comparison In software development, products are constantly evolving. Hence, developers and architects must pay attention to modifications in code bases. Modern source code repositories handle incremental development. CppDepend can tell you what has been changed between 2 builds but it does more than simple text comparison. It can distinguish between: •Comment change, •Code change, •what has been added/removed •what has just been modified. www.cppdepend.com

12. Customizable reports CppDepend can analyze source code and C/C++ Projects through CppDepend Console. Each time it analyzes a code base, CppDepend yields a report that can inform you about the status of your development. You can customize sections shown in the report and you can even provide your own XSL sheet for full customization. You can also build your own set of CQLinq constraints that will be checked at each analysis. Sample Report made by CppDepend. www.cppdepend.com

13. Rich Code Search facilities Contrary to other tools, CppDepend Code Search supports numerous criterias including Searching by: •Name, •Size, •Complexity, •Coupling, •Popularity, •Coverage, •Visibility, •Mutability, •Purity, •Change and Coverage of Changes. www.cppdepend.com

14. CppDepend features • Analysis of Application Projects, Code Source and Third-Party Projects, • Facilities to Create and Customize CppDepend Project, • Dashboard reflecting the status of the code base, • Automatic HTML Report Production through CppDepend console, • Possible Integration into the Build Process, • Warnings about the Health of the Build Process, • Plugins Integration (CppCheck, CPD), • Clang diagnostics, • Interactive UI: Dependency Graph, Dependency Matrix, Metrics Visualization, • Build Comparison / Code Diff • Edition of custom CQLinq Queries and Rules • Support for Trend charts and Trend metrics www.cppdepend.com

15. Related links CQlinq syntax: http://www.cppdepend.com/Doc_CQLinq_Syntax.aspx CQLinq features: http://www.cppdepend.com/Doc_CQLinq_Features.aspx CQLinq performance: http://www.cppdepend.com/Doc_CQLinq_Perf.aspx Dependency graph: http://www.cppdepend.com/Doc_VS_Arch.aspx Dependency Structure Matrix: http://www.cppdepend.com/Doc_Matrix.aspx Metrics view: http://www.cppdepend.com/Doc_Treemap.aspx Code metrics: http://www.cppdepend.com/Metrics.aspx Plugins: http://www.cppdepend.com/plugins.aspx Clang diagnostics: http://www.cppdepend.com/Doc_Diagnostics.aspx Build comparison: http://www.cppdepend.com/Doc_VS_Diff.aspx Reports: http://www.cppdepend.com/Doc_CI_Report.aspx Rich code search: http://www.cppdepend.com/Doc_VS_Search.aspx www.cppdepend.com

16. Our contacts Our teams at CoderGears will be more than happy to assist you! Support Team support@codergears.com Sales Team sales@codergears.com www.cppdepend.com

Add a comment

Related presentations

Speaker: Matt Stine Developing for the Cloud Track Marc Andressen has famou...

This presentation explains how to develop a Web API in Java using (JAX-RS or Restl...

1 App,

1 App,

November 10, 2014

How to bring innovation to your organization by streamlining the deployment proces...

Cisco Call-control solutions can handle voice, video and data

Nathan Sharp of Siemens Energy recently spoke at the SAP Project Management in Atl...

Related pages

CppDepend - Immutability and Purity - CppDepend :: C/C++ ...

Immutability and Purity. ... CppDepend lets assert immutability and purity on your classes and methods. ... understand their benefits and use them.
Read more

CppDepend - Detect Dependency Cycle - CppDepend :: C/C++ ...

CppDepend, c/c++ static analysis tool ... If a dependency cycle involves N components, ... the benefits of having N smaller components are lost: ...
Read more

CoderGears | LinkedIn

CppDepend manage complex C/C++ code base and achieve higher Code Quality. here' a short presentation about CppDepend benefits.
Read more

CppDepend | CoderGears Blog

Posted in CppDepend | Tagged C++, debug, paradigms ... here are some benefits from using them: Make the code source more readable and maintainable.
Read more

Cppdepend (7 Downloads Available) - FileFixation

Found 7 results for Cppdepend. Full version downloads available, all hosted on high speed servers!
Read more


So what's new in MFC 10? to answer to this question i tried to compare the two versions MFC 9 and MFC 10 using CppDepend. ... So all these classes benefit ...
Read more

Irrlicht | CoderGears Blog

Irrlicht is a 3D engine library that use many GRASP concepts, let’s discover with CppDepend the benefits of using this kind of patterns, and to show ...
Read more

CppDepend: September 2009

CppDepend. Wednesday, September 23, ... Let’s discover the benefits of this Pattern using CppDepend, and for that we analyze the following ...
Read more