SonarSource

SonarSource is used by developers to help them detect various coding practices that may have a negative impact on the overall sustainability of the software.

SonarSource - https://www.sonarsource.com

The below video gives a brief overview of using this tool https://youtu.be/PTGYFUR-mgo - test