FeatureMetrics class
One feature of the project and how it is coupled to the others.
afferent counts the imports reaching in from other features, efferent the imports going out to them — Robert C. Martin's Ca and Ce.
Constructors
- FeatureMetrics(String name, {required int files, required int afferent, required int efferent})
-
const
Properties
- afferent → int
-
final
- efferent → int
-
final
- files → int
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- instability → double?
-
Ce / (Ca + Ce): 0 for a feature everything leans on and that leans on
nothing, 1 for one that only leans on others. Null when it has no edge
to any other feature at all.
no setter
- name → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited