I've checked the files in the src directory (without those in
subdirectories) with Cppcheck. The attachment contains the results as an
XML file. You can open it in the Cppcheck GUI e. g. to restrict the
items to errors only. (There are very few ones.)
Perhaps, this list is of interest to you to further improve the quality
of Inkscape's source code base.