Find unused functions in C/C++ code with coverage analysis

Hier können eigene Projekte, die mit Qt in Beziehung stehen vorgestellt werden.
Antworten
reggie
Beiträge: 19
Registriert: 9. Januar 2018 11:15

Find unused functions in C/C++ code with coverage analysis

Beitrag von reggie »

Hi Qt devs,

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-unu ... -coverage/ to learn how to use froglogic’s Coco product to find unused functions in your code.

Reginald
Antworten