smart_coverage library
Smart Coverage CLI - A modern Dart CLI tool for intelligent coverage analysis with AI-powered insights for Flutter/Dart projects.
# activate smart_coverage
dart pub global activate smart_coverage
# analyze coverage for modified files
smart_coverage analyze
# analyze with test insights
smart_coverage analyze --test-insights --code-review
# see usage
smart_coverage --help
Classes
- AiConfig
- Configuration for AI services
- AiService
- Interface for AI-powered code analysis services
- AiServiceFactory
- Factory for creating AI service instances
- ApiAiService
- Interface for API-based AI services
- ConfigService
- Service for loading and validating configuration from multiple sources
- ConfigServiceImpl
- Implementation of configuration service
- CoverageData
- Represents parsed coverage data from LCOV files
- CoverageProcessor
- Main service that coordinates coverage analysis workflow
- CoverageProcessorImpl
- Implementation of coverage processor service
- CoverageSummary
- Overall coverage statistics
- DebugService
- Service for enhanced debugging and logging capabilities
- DebugServiceImpl
- Implementation of debug service
- FileCoverage
- Coverage information for a single file
- FileDetector
- Service for detecting modified files in a Git repository
- FileDetectorImpl
- Implementation of file detector service with Git integration
- GeminiApiService
- Gemini API-based AI service implementation
- GeminiCliService
- Gemini CLI-based AI service implementation
- LcovParser
- Service for parsing LCOV coverage data
- LcovParserImpl
- Implementation of LCOV parser service with optimized parsing for large files
- LineCoverage
- Coverage information for a single line
- LocalAiService
- Interface for local CLI-based AI services
- ReportGenerator
- Interface for generating coverage reports
- ReportGeneratorImpl
- Default implementation of report generator
- SmartCoverageConfig
- Configuration for the smart coverage CLI tool
Enums
- AiProviderType
- AI provider types