Agreed. I like to do these scans but for informational purposes, not as a gate. Also most tools allow you to annotate code to turn off warnings, which can help when used intelligently.
Of course some teams will over use such tools and turn off the metrics left and right.
In the end there is no substitute for experienced engineers.