The sort of stuff I'm after right now is quite basic:
- Auto format
- Detect ununsed variables
- Variable naming convention checking
I wouldn't be surprised if there was a tool available that could handle more complex refactorings such as those found in Refactoring Databases, but I appreciate that the added complexities introduced by current db structure and data state may prevent many of them.
I suppose I'm after ReSQLer