Please nominate your Qt Champions for 2021! https://forum.qt.io/topic/132134/looking-for-the-2021-qt-champions
Find unused functions in C/C++ code with coverage analysis
reggie last edited by
Hi Qt developers,
Unused functions in a software project can cause code bloat, but they also create more work for the developers of tests, especially in the situation where code coverage (the quality) of tests is being measured. If a function is not used, then removing it from a project will reduce not only the complexity of the project, but also the amount of tests that need to be written for it. The problem of finding unused functions in software projects is that it can often be time consuming and frustrating.
Read https://www.froglogic.com/blog/find-unused-functions-c-code-coverage/ to learn how to use froglogic’s Coco product to find unused functions in your code.