Skip to content

csu-anzai/doxygen

 
 

Repository files navigation

Draw FlowChart automatically with plantuml from your source code

  • it is not sufficient for doxygen. But , I make this edition (version) briefly to help fast.
  • Use this function when you make a flow chart for ASPICE.

result example examples/flow.cpp

  • This is auto-generated result ( visual studio code) from source code. Result1

  • nested case: Result2

    • It gives the detailed branch counts (# of test cases) with flow charts.

how to run

how to show the result (plantuml.md)

  • this is plantuml file
  • you can show the result with vcode or atom editor ( need "markdown preview enhanced" plugin)

test case

- supports nested combination
- if ~
- if ~ else
- if ~ else if ~ else ~
- for ~
- while ~
- do ~ while
- switch ~ case ~ ...  default ~
- enum case

weak point & solution

  • do not give proper result
    • for(;;)
        if (condition)
      • this is nested if. but , doxygen code.l does not distinguish it. so I can not generate the right result.
      • solution : you use brace for all if as the following
        •   for(;;){
            if (condition){
            }
          }

relation between flow statement and plantuml

  • @details (c++) switch case default -> (plantuml) if elseif endif
  • @details (c++) if else -> (plantuml) if else endif
  • @details (c++) if else if -> (plantuml) if elseif endif
  • @details (c++) do while -> (plantuml) repeat ~ repeat while
  • @details (c++) while -> (plantuml) while ~ endwhile
  • @details (c++) for -> (plantuml) while ~ endwhile

Doxygen

=============== Donate

Doxygen is the de facto standard tool for generating documentation from annotated C++ sources, but it also supports other popular programming languages such as C, Objective-C, C#, PHP, Java, Python, IDL (Corba, Microsoft, and UNO/OpenOffice flavors), Fortran, VHDL, Tcl, and to some extent D.

Doxygen can help you in three ways:

  1. It can generate an on-line documentation browser (in HTML) and/or an off-line reference manual (in LaTeX) from a set of documented source files. There is also support for generating output in RTF (MS-Word), PostScript, hyperlinked PDF, compressed HTML, DocBook and Unix man pages. The documentation is extracted directly from the sources, which makes it much easier to keep the documentation consistent with the source code.
  2. You can configure doxygen to extract the code structure from undocumented source files. This is very useful to quickly find your way in large source distributions. Doxygen can also visualize the relations between the various elements by means of include dependency graphs, inheritance diagrams, and collaboration diagrams, which are all generated automatically.
  3. You can also use doxygen for creating normal documentation (as I did for the doxygen user manual and doxygen web-site).

Download

The latest binaries and source of Doxygen can be downloaded from:

Developers

Issues, bugs, requests, ideas

Use the issue tracker to report bugs.

Comms

Mailing Lists

There are three mailing lists:

Source Code

In May 2013, Doxygen moved from subversion to git hosted at GitHub

Enjoy,

Dimitri van Heesch (doxygen at gmail.com)

About

Draw FlowChart automatically with plantuml from your source code

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 81.8%
  • Lex 8.8%
  • C 4.2%
  • TeX 1.2%
  • Smarty 1.1%
  • JavaScript 0.8%
  • Other 2.1%