Module Coupling

Import path

semmle.code.csharp.metrics.Coupling

Imports

csharp

The default C# QL library.

Predicates

accessesLocalFieldOrProperty

whether m accesses field or property f defined in the same type

afferentCoupling

the afferent coupling of a type is the number of types that directly depend on it.

depends

whether t depends on u

efferentCoupling

The efferent coupling of a type is the number of types that it directly depends on.

hasAccessedFieldOrProperty

returns any field or property that is accessed by a local method

hasAccessingMethod

whether t has a method m that accesses some local field,

ignoreLackOfCohesionCK

whether the method m should be excluded from the CK cohesion computation

lackOfCohesionCK

The Chidamber-Kemerer lack of cohesion metric.

lackOfCohesionHS

the Henderson-Sellers lack of cohesion metric

methodUsesFieldOrProperty
shareFieldOrProperty

whether m1 and m2 access a common field or property

usesType

does t use dep in any way?