New in CppDepend 2027
ROS 2 Analysis
Rebuilds the topic graph from C++ sources and checks QoS, callbacks, executors, parameters, build and launch.

A ROS 2 system fails quietly: a wrong QoS or a mismatched type gives no error, only a silent topic. The ROS 2 section rebuilds the architecture of a C++ (rclcpp) package from its sources, package.xml, CMakeLists.txt, Python launch files and YAML parameter files, and checks it with 32 rules. No ROS installation is needed.
| Page | Shows |
|---|---|
| ROS 2 Overview | Counts of nodes, publishers, subscriptions, timers, services, clients, callbacks and findings |
| Nodes & Topics | Nodes and the topic graph with types, publishers, subscribers and state |
| Callbacks & Executors | Callbacks with trigger, callback group and type; executors; spin and lifetime rules |
| QoS Compatibility | Reliability, durability and history of every publisher and subscription |
| Services & Parameters | Services, actions, clients, declared parameters and YAML keys |
| Blocking & Deadlocks | Callbacks that sleep, wait, spin or loop; synchronous-call deadlock; shared data |
| Build & Launch | Packages, dependencies, find_package, launched nodes, namespaces and remaps |
- 32 rules
ROS2-TOPIC / QOS / SRV / CB / EXEC / LIFE / PARAM / BUILD / LAUNCH: for example QoS reliability and durability mismatch, message type mismatch, blocking call in a callback, service call deadlock, spin inside a callback, entity created and destroyed at once, parameter read but not declared, include missing frompackage.xml, remap that matches nothing. - Method callbacks and lambdas are analysed, and a helper called from a callback counts as part of it.
- Findings are issues of the tool
ROS2. Five rules carry CWE references (deadlock, endless loop, race, memory leak, unbounded history). - A detailed ROS 2 Analysis Guide (HTML) accompanies the release.
A hint, not a proofTopic names built at run time are skipped, and launch namespaces and remaps are not applied to the graph. Findings that depend on them say so.
Go further. Every page, setting and rule is described in the ROS 2 Analysis Guide.Read the ROS 2 Analysis Guide →
