Search code examples
oopautomated-refactoring

Automated evaluation of SOLID principles enforcement


Are there tools that can automatically evaluate the degree to which SOLID principles of OO design are respected in a project?


Solution

  • Nope.

    The principles of SOLID are higher-level concepts than a computer can be aware of. Things like LSP can't be verified by a computer short of running a piece of code with every conceivable input. And SRP can't be mechanically verified at all.