cppclean is a command-line tool to find problems in C++ source code that slow development of large code bases. It identifies issues such as unused variables, uninitialized variables, complex control flow, and more. Version 0.13 is the latest stable release; the project is in maintenance mode with infrequent updates.
pip install cppcleanNo compatibility data collected yet for this library.
Run cppclean from Python using subprocess (cppclean is not importable as a module, it's a CLI tool).
Use subprocess.run(['cppclean', 'file.cpp']) or equivalent.
Review warnings manually; consider using cppclean as a complement to other tools like clang-tidy.
Evaluate if it meets your needs; consider alternative tools like clang-tidy or cppcheck for active support.
Do NOT import cppclean; it is a CLI tool. Use subprocess.run(['cppclean', 'file.cpp']) instead.
Run 'cppclean --help' to see valid arguments. Common options: --verbose, --std=c++11.
No dependency data recorded yet.