A few weeks back Federico (@fekir) created a huge number of code improvements based on ‘cppcheck’ (a static analyser). He documented how he did it on a new developer page:

I’ve just filled out all the other ways and tools which we’ve used to improve the code and debug NeoMutt.

Section Description
Clang-Format Source code formatter
Coccinelle Source code manipulation
Compiler Enable gcc/clang warnings
Coverage Code coverage testing
Coverity Source code anaylser
CppCheck Source code analyser
Cproto Function prototype generator
Ctags Source tags generator
Include-What-You-Use Header file checker
Scan-Build Source code anaylser
Travis Continuous Integration
Valgrind Run time memory checker