Having C++ coding standard guidelines is a good idea, but is it applied? To be sure that developers follow the guidelines, the better way is to automate this code review and maybe integrate it in your build process to conserve code base quality.

Using CQL for more flexibility

CppDepend supports the Code Query Language (CQL) for maximum flexibility. CQL will help you answer in seconds your questions about your code base:
- Which public methods have more than 30 lines of code?
 SELECT METHODS  WHERE NbLinesOfCode >  30  AND IsPublic 
- Which classes Derived From CBase?
 SELECT TYPES WHERE IsClass AND DeriveFrom "CBase"
- Which methods have been refactored recently ?
 SELECT METHODS WHERE CodeWasChanged

CppDepend comes with many queries to understand and audit the existing code, queries are grouped by category.

Please refer to the detailled documentation of CQL to discover all its capabilities to query the code.

Integration to the build process

CppDepend comes with CppDepend.Console.exe, you can use it to launch the analysis from your build process, and provides also the possibility to stop build if some critical rules are violated.
We can specify that a query is critical from CQL query editor.



Share |
Customers


Last Version: 3.1.0


CppDepend accelerate the process of your developement, migration and maintenance.

These Cases Studies shows the utility of CppDepend to have a deep view of your architecture, design and implementation.

CQL language provides more flexibility to request code base, so you can customize your analysis and reports .

Home Contact Us SiteMap