CDT and external static code analysis tools: a match made in heaven

Session Type: 
Standard [35 minutes]
Speakers

Codan is a code analysis framework that performs code checks on C/C++ projects. Part of the Eclipse CDT (C/C++ Development Tooling) suite since 2011, Codan not only provides all the infrastructure necessary to perform static code analysis, but also some useful, ready-to-use problem checkers.

Codan was updated with the Eclipse Juno release in June 2012 to enable developers to automatically execute external code analysis tools within Eclipse. This is an exciting advance for Eclipse CDT and for C/C++ developers. While the previously provided problem checkers were good, many more were needed to give Codan feature-parity with existing external code analysis tools. Codan now easily integrates with mature external tools such as Cppcheck and clang_check.

Integrating external code analysis tools with Eclipse CDT enables more and better code checks than developers were able to do with Codan alone. It should also greatly improve overall development productivity. We can now configure external code analysis tools from Codan's Preferences pages. Once integrated with Codan, the tools are invoked automatically and their outputs are displayed as editor markers.

In this session, I'll show you how to integrate your favorite code analysis tool into your Eclipse C/C++ development environment. My example will be based on integrating Cppcheck with Codan, but the process should be applicable to the tool of your choice.

Schedule info

Status: 
Declined

Audience

Track: 
Tools
Experience level: 
Beginner

Copyright © 2013 The Eclipse Foundation. All Rights Reserved.