How can I measure SOLIDness of C # code?

What indicators exist and what tools exist for measuring SOLID ness of C # code? Or tools indicating where principles are violated most harmful?

+4
source share
2 answers

Scott Hanselman has an excellent article on NDepend . Also, to see the violation, you can also use Code Analysis, which comes with Visual Studio; You can use the code analysis policy editor to select the rules.

+3
source

You can use the static analysis tool (some of them are built into Visual Studio 2008 and higher, professional editions and higher), or NDepend .

With NDepend, you can see how closely the different classes are related, what is their relationship with the code base, etc.

+2
source

Source: https://habr.com/ru/post/1299632/


All Articles