๐Ÿงช flutter_statix

Flutter Statix

A comprehensive Dart & Flutter static analysis tool that provides advanced code metrics, performance insights, and quality assessments for your Flutter projects.

โœจ Features

๐Ÿ” Static Code Analysis

  • Advanced Dart analyzer with custom lint rules
  • Performance bottleneck detection
  • Code smell identification
  • Architecture pattern validation

๐Ÿ“Š Code Metrics

  • Cyclomatic Complexity: Measure code complexity and maintainability
  • Maintainability Index: Assess how easy your code is to maintain
  • Technical Debt Tracking: Identify areas that need refactoring
  • Lines of Code (LOC): Detailed code statistics

๐Ÿงช Test Coverage Analysis

  • Unit test coverage reports
  • Widget test coverage analysis
  • Integration test metrics
  • Coverage trend tracking

โšก Performance Monitoring

  • Real-time performance metrics
  • Build time analysis
  • Widget rebuild optimization suggestions
  • Memory usage patterns

๐Ÿ“ฆ Installation

Add flutter_statix to your pubspec.yaml:

dev_dependencies:
  flutter_statix: ^1.0.8

Then run:

flutter pub get

๐Ÿš€ Usage

Basic Analysis

Run a complete analysis of your Flutter project:

flutter pub run flutter_statix

๐Ÿค Contributing

We welcome contributions! Please see our Contributing Guide for details.

Development Setup

git clone https://github.com/adinath-nikam/flutter_statix.git
cd flutter_statix
dart pub get
dart test

๐Ÿ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

๐Ÿ†˜ Support

๐Ÿ“ˆ Changelog

v1.0.8 (Latest)

  • โœจ Added Dart 3.0 compatibility
  • ๐Ÿ› Fixed coverage calculation for generated files
  • โšก Improved analysis performance by 40%
  • ๐Ÿ“Š Enhanced HTML report visualizations

v1.0.7

  • ๐Ÿ”ง Added configuration file support
  • ๐Ÿ“ฑ Material Design 3 UI updates
  • ๐Ÿงช Improved test coverage analysis

v1.0.6

  • ๐Ÿš€ Initial stable release
  • ๐Ÿ“Š Core metrics implementation
  • ๐ŸŽจ HTML report generation

Made with โค๏ธ for the Flutter community

Website โ€ข Documentation

Libraries

flutter_statix
Support for doing something awesome.