Static Code Coverage¶
This feature colors used and unused code fragments and thus highlights them to the software engineer. The Includator starts with global variable declarations, static class fields and, either the main function (if present) of all top level declarations.
An example can be seen in the screenshot. The starting point of the static code coverage feature is the
main function (main.cpp line 9-21) as well as the
globalInt declaration (main.cpp line 23). Through the given starting point, all the code fragments highlighted in green can be reached.
Notcie: This feature is (1) having memory issues on big projects and (2) used very seldom. Thus chances are big that it will get removed in from Includator's final version.