CppClean - Find Unused C++ Code | Online Free DevTools by Hexmos
Find unused code with CppClean, a static analysis tool for C++ projects. Identify dead code, simplify your codebase, and improve maintainability. Free online tool, no registration required.
cppclean
Find unused code in C++ projects. More information: https://github.com/myint/cppclean.
- Run in a project’s directory:
cppclean {{path/to/project}}
- Run on a project where the headers are in the
inc1/andinc2/directories:
cppclean {{path/to/project}} --include-path {{inc1}} --include-path {{inc2}}
- Run on a specific file
main.cpp:
cppclean {{main.cpp}}
- Run on the current directory, excluding the “build” directory:
cppclean {{.}} --exclude {{build}}