Skip to content
Corrina Del Greco edited this page Nov 30, 2020 · 20 revisions

Welcome to the C Dependency Graph wiki!

Test-driven development (TDD) has been used widely to improve the quality for software development. To use TDD for embedded systems based on the C programming language, we must be able to run the tests on the host computer, which involves the mockup of the functions designed to run on the target. To reduce the amount of work of mocking-up, we need to reduce the number of function calls (the dependencies) between modules (a module is usually contained in a single source file) as much as possible. Seeing the graph of dependencies is the first step to reduce it. Doxygen can be used to generate call graphs and caller graphs of all functions in a project by generating the DOT (a graph description language) source files, which can be processed by Graphviz (the tool that processes DOT files). While these graphs can show us the dependencies between different modules, they are too cluttered. We need to reduce these graphs to only display the dependencies between the modules.

Product Vision

  • Create visual representations of the dependencies between modules to reduce the amount of work necessary to refractor modules.

Team Roles

Clone this wiki locally