Checks for spaghetti code
A tool for calculating simple, useful complexity metrics – notably the Koopman Spaghetti Factor (KSF) – for C. This tool is designed to work especially on embedded software written for compilers with non-standard extensions. It works without a compiler or any preprocessing required.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.