Expand description
Design pattern detection via graph queries.
Detects common design patterns (Factory, Observer, Singleton, Strategy, Decorator) by querying the existing call/inheritance graph.
Structs§
- Pattern
Match - A single detected design-pattern instance.
- Pattern
Participant - A symbol participating in a detected pattern.
- Pattern
Report - Aggregated pattern-detection report.
Functions§
- detect_
all - Run all pattern detectors and return a combined report.
- detect_
filtered - Run detectors and optionally keep only the given pattern type.
- format_
json - Render report as pretty-printed JSON.
- format_
report - Render report as human-readable text grouped by pattern type.