In Coverity you need to be very careful that what you analyze is really what you wanted to. First off of course you need to have the correct compiler configured, missing function models defined and correct compilation flags being used for the Coverity build. These are usually a one-off job, but depending on your workflow there might be problems making sure that the new snapshot really is built exactly like the previous one. You have to remember to clean the build etc very carefully.
There are a few things to check out:
- Did Coverity compile everything? It says at the end of the process what percentage of units were compiled. This should be 100.
- Do you see an unexpectedly high number of fixed and/or new defects? This can reveal issues listed above.
- Are there any errors in the build log (build-log.txt in the intermediary directory)? Search for "error #" in the log. This should also show in the percentage.
- Are there any warnings in the build log? Search for "warning #" in the log. These can prevent Coverity from analyzing functions.
- Are there any asserts? This is a rare Coverity bug and also should show in the percentage as well. Search for "Assertion failed". There are instructions on how to get past this issue in the build log. It involves setting COVERITY_SUPPRESS_ASSERT.