You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File coupling metric is currently not further described on how and what it will count. This should be fixed according to this list:
Coupling should be renamed and made clear that it is currently only a class coupling metric per file
If a class uses any amount of methods from another class it's count as 1
Fluent Interface or also called Method Chaining, should also be counted if possible. As the following example explains this pretty good:
a.buildB().buildC().buildD().doStuff();
// kinda equivalent to
const a: A = new A();
const b: B = a.buildB();
const c: C = b.buildC();
const d: D = c.buildD();
d.doStuff();
This means that you need knowledge over the implementation of the other classes and therefor coupling them together.
File coupling metric is currently not further described on how and what it will count. This should be fixed according to this list:
This means that you need knowledge over the implementation of the other classes and therefor coupling them together.
Background information
It can be helpful to also check the visual studio implementation of it: https://learn.microsoft.com/en-us/visualstudio/code-quality/code-metrics-class-coupling?view=vs-2022
The text was updated successfully, but these errors were encountered: