We started using a static analyzer (Coverity) on our code base. We were stunned by the sheer number of warnings we received (hundreds of thousands of them), it only takes a few months to clear them all (unimaginably impossible).
the parameters that we have discussed so far,
1) hire a contractor to deal with the warning and fix them - it has a drawback: we will probably need a lot of people to make all these changes, and no contractor will need to understand the code.
2) filter the warning and apply it only to the dangerous ones - the problem is that our static analysis result will always be cluttered with a warning that makes it difficult for us to isolate the problems. also warning filtering is also a serious effort.
in any case, bringing our code to a state where a static analyzer can be a useful tool for us seems like a monumental task.
so how can you work with a static analyzer without going into ongoing full-rack development efforts?
source
share