Simple scripts for inspecting a Dart codebase.
dart_metrics.sh /path/to/codebase
BaseClass
└── Subclass1
└── Subclass2
- Total Files Checked: 594
- Total Lines of Code: 100,000
- Total Classes Found: 425
- Average Lines per File: 82
- Max Lines in a Single File: 6,169 (
/path/to/fat.dart
)
- Total Files Checked: 114
- Total Lines of Code: 25,000
- Total Classes Found: 67
- Average Lines per File: 184
- Max Lines in a Single File: 1,062 (
/path/to/fat.dart
)