DepthOfInheritanceAnalyzer class

Analyzes Dart source code to calculate depth of inheritance for classes.

Depth of inheritance measures how many levels deep a class hierarchy extends. Deeper hierarchies are harder to understand and maintain, as changes to base classes can have cascading effects.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

analyze(String sourceCode) InheritanceResult
Analyzes the given Dart source code and returns inheritance depth metrics.
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