atikin-coderank
v1.0.0
Published
Analyze JavaScript/TypeScript code and rank functions by complexity (cyclomatic + length + depth). Created by Atikin Verse.
Maintainers
Readme
Atikin CodeRank
Analyze JavaScript/TypeScript code and rank functions by complexity (cyclomatic complexity + length + nesting depth).
🚀 Installation
npm install -g atikin-coderank📦 Usage
coderank ./your-projectExample Output
[
{
"file": "example.js",
"functionName": "calculateSum",
"lines": 12,
"cyclomaticComplexity": 4,
"nestingDepth": 2
}
]🛠 How It Works
- Parses JS/TS files using
esprima - Calculates:
- Function length
- Cyclomatic complexity (branches)
- Nesting depth (max block depth)
👨💻 For Development
npm install
npm test📤 To Publish
npm login
npm publishMade with ❤️ by Atikin Verse
📲 FOLLOW US ON
Join our social media for exciting updates, tech drops, and insights!
| ACCOUNTS | USERNAME | |---------------|----------------| | FACEBOOK | atikinverse | | INSTAGRAM | atikinverse | | LINKEDIN | atikinverse | | TWITTER (X) | atikinverse | | THREADS | atikinverse | | PINTEREST | atikinverse | | QUORA | atikinverse | | REDDIT | atikinverse | | TUMBLR | atikinverse | | SNAPCHAT | atikinverse | | SKYPE | atikinverse | | GITHUB | atikinverse |
💬 Feel free to reach out for questions, feature requests, or collaborations!
✨ Happy Coding! — Atikin Verse 🚀
