complexity-analyzer
SolidAutomated Big-O complexity analysis of code and algorithms. Performs static analysis of loop structures, recursive call trees, space complexity estimation, and amortized analysis with detailed derivation documents.
AI & Automation 1,160 stars
71 forks Updated today MIT
Install
Quality Score: 96/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
# complexity-analyzer
A specialized skill for automated analysis of algorithm time and space complexity, providing Big-O notation analysis, detailed derivations, and optimization recommendations.
## Purpose
Analyze code and algorithms to determine:
- Time complexity (Big-O, Big-Omega, Big-Theta)
- Space complexity (auxiliary and total)
- Amortized complexity for data structure operations
- Complexity derivation with step-by-step reasoning
- Optimization opportunities and bottleneck identification
## Capabilities
### Core Analysis Features
1. **Static Analysis**
- Loop structure analysis (nested loops, dependent bounds)
- Recursive call tree analysis
- Function call graph traversal
- Branch condition impact analysis
2. **Complexity Types**
- **Time Complexity**: Worst, average, and best case analysis
- **Space Complexity**: Stack space, heap allocations, auxiliary space
- **Amortized Analysis**: Aggregate, accounting, and potential methods
- **Recurrence Relations**: Master theorem, substitution method
3. **Output Formats**
- Big-O notation with detailed derivation
- Complexity comparison tables
- Visual complexity graphs
- Optimization recommendations
### Supported Languages
- Python (primary)
- C++ (full support)
- Java (full support)
- JavaScript/TypeScript (full support)
- Go, Rust, C (partial support)
## Integration Options
### MCP Servers
**AST MCP Server** - Advanced code structure analysis:
```bash
# Provides AST parsing...
Details
- Author
- a5c-ai
- Repository
- a5c-ai/babysitter
- Created
- 4 months ago
- Last Updated
- today
- Language
- JavaScript
- License
- MIT
Integrates with
Similar Skills
Semantically similar based on skill content — not just same category
AI & Automation Listed
algorithm-analysis
Big O notation, time/space complexity analysis, and choosing efficient algorithms.
15 Updated 2 months ago
sethdford AI & Automation Solid
code-complexity-analyzer
Analyze code complexity metrics including cyclomatic complexity, code smells, and technical debt
1,160 Updated today
a5c-ai Data & Documents Listed
complexity-analyzer
Measure and report code complexity metrics with actionable recommendations.
335 Updated today
aiskillstore AI & Automation Solid
asymptotic-notation-calculator
Automated derivation and simplification of Big-O, Big-Omega, and Big-Theta expressions for algorithm analysis
1,160 Updated today
a5c-ai AI & Automation Solid
static-code-analyzer
Deep static analysis of codebases for quality, complexity, and migration readiness assessment
1,160 Updated today
a5c-ai