doxygen是一款生成开源代码说明文件的工具,因为不需要编译源码,用作代码的分析也十分方便。

一、安装

sudo apt-get install graphviz
sudo apt-get install doxygen-gui
ubuntu - Generate graphs and diagrams with Doxygen - Stack Overflow

二、使用

示例:简单的代码调用关系的分析

代码见用 Graphviz+pvtrace 可视化函数调用 - fengbohello - 博客园

1.运行doxywizard出现doxygen的gui前端

2.选择源码目录和生成代码目录

3.Diagrams选项,选择use dot...

使用doxygen静态分析开源代码

 

4.Build 选择Extract_all

 使用doxygen静态分析开源代码

 

5.Dot HAVE_DOT 

 使用doxygen静态分析开源代码

5.结果

在Files下面

使用doxygen静态分析开源代码

 

ubuntu - Generate graphs and diagrams with Doxygen - Stack Overflow

how to get doxygen to produce call & caller graphs for c functions - Stack Overflow

 

linux源代码分析和阅读工具比较_开发工具_酷勤网

How to create header include graph using Doxygen – Code Yarns

doxywizard - Doxygen isn't generating documentation for source files - Stack Overflow

 

 
                    
            
                

相关文章:

  • 2022-12-23
  • 2021-11-22
  • 2021-10-04
  • 2021-06-21
  • 2021-06-12
  • 2021-06-18
  • 2021-11-27
  • 2022-12-23
猜你喜欢
  • 2021-06-12
  • 2021-09-28
  • 2022-12-23
  • 2022-12-23
  • 2020-01-14
  • 2022-12-23
  • 2019-11-10
相关资源
相似解决方案