Script Stats Tool is a powerful Editor tool that provides a comprehensive analysis of your Unity project's codebase. With its user-friendly interface, it offers a range of features to help you optimize and maintain your scripts, including line counting, code quality analysis, and visualization. The tool also tracks historical data and provides customizable settings to suit your needs.
- Overview: Displays total scripts, lines, empty lines, comments, and average lines per script.
- Code Analysis: Counts classes, methods, variables, and namespaces.
- Quality: Analyzes cyclomatic complexity, nesting depth, and maintainability index.
- Visualization: Pie chart showing code distribution (comments vs. empty lines).
- History: Tracks stats over time with historical data.
- Performance: Estimates execution time and memory usage.
- Settings: Customizable file type filters and ignore patterns.
- Code Smells: Detects long methods and potential unused variables.
- Custom Metrics: Allows user-defined metrics (basic TODO counter included).
- Real-Time Updates: Optional automatic re-analysis every 5 seconds.
- Export Options: CSV and styled HTML report generation.
Script Stats Tool: Optimize and Maintain Your Unity Project - Asset Store





