wheels analyze
These commands works correctly without options (parameters). Option support is under development and will be available soon.
Base command for code analysis and quality checks.
Synopsis
wheels analyze [subcommand] [options]
Description
The wheels analyze
command provides comprehensive code analysis tools for Wheels applications. It helps identify code quality issues, performance bottlenecks, security vulnerabilities, and provides actionable insights for improvement.
Subcommands
code
Analyze code quality and patterns
performance
Analyze performance characteristics
security
Security vulnerability analysis (deprecated)
Options (Coming Soon)
--help
Show help information
--version
Show version information
Direct Usage
When called without subcommands, show list of available commands:
wheels analyze help
Analysis Overview
The analyze [code, performance, security] commands examines:
Code Quality
Coding standards compliance
Code complexity metrics
Duplication detection
Best practices adherence
Performance
N+1 query detection
Slow query identification
Memory usage patterns
Cache effectiveness
Security
SQL injection risks
XSS vulnerabilities
Insecure configurations
Outdated dependencies
Best Practices
Run analysis regularly
Fix high-priority issues first
Set realistic quality gates
Track metrics over time
Integrate with development workflow
Troubleshooting
Analysis Takes Too Long
Exclude wheels directories
Use incremental mode
Increase memory allocation
Too Many False Positives
Tune rule sensitivity
Add specific ignores
Update rule definitions
Notes
First run may take longer due to initial scanning
Results are cached for performance
Some rules require database connection
Memory usage scales with codebase size
See Also
wheels analyze code - Code quality analysis
wheels analyze performance - Performance analysis
wheels security scan - Security scanning
wheels test - Run tests
Last updated
Was this helpful?