Static analysis can cover all your code, though generally with a significant rate of false positives that you will need to analyse.