por Igor Polishchuk hace 10 años
540
Ver más
por Cristiano Paulo dos Santos
por G6Zawiercie AH
por Serik Ayazhan
por Jayro paredes ruiz
Sum of complexity of all class methods
http://staff.unak.is/andy/StaticAnalysis0809/metrics/wmc.html
lower RFC - lower bugs
inokation complexity on message
http://staff.unak.is/andy/StaticAnalysis0809/metrics/rfc.html
Wrappers time & space overhead
Potentialy lower Response for Class (RFC) Metric
Lower dependencies between classes
Safer code change
Why its needed (ru): https://toster.ru/q/44822
Wiki (en): https://en.wikipedia.org/wiki/Law_of_Demeter
Only talk to your immediate friends
Each unit should only talk to its friends; don't talk to stangers
Every unit should have limited knowledge about other units: only "closely" related to the current unit