In Sonar, you have many ways to hunt for bad design and architecture:
Hunting for cycles
Checking your own architecture rules
Managing your librairies
Checking the Single Responsibility Principle with LCOM4
RFC - Checking Coupling