Skip to main content
Glama
dependabot-report.md3.72 kB
# 🤖 Code-MCP Dependabot Report ## File: `src/index.ts` ### 🧠 Complexity Analysis # Code Quality Report **Rating**: Medium - ⚠️ Warning - **Cyclomatic Complexity**: ~16 (Target: < 10) - **Nesting Depth**: 4 (Target: < 3) - **Estimated Operators**: 239 - **Estimated Operands**: 1360 ## Recommendations - Extract complex logic into helper functions. - Use guard clauses (early returns) to flatten nesting. - Module is too large; consider splitting. --- ## File: `src/prompts.test.ts` ### 🧠 Complexity Analysis # Code Quality Report **Rating**: Medium - ⚠️ Warning - **Cyclomatic Complexity**: ~2 (Target: < 10) - **Nesting Depth**: 3 (Target: < 3) - **Estimated Operators**: 24 - **Estimated Operands**: 142 ## Recommendations - Code structure looks healthy. --- ## File: `src/prompts.ts` ### 🧠 Complexity Analysis # Code Quality Report **Rating**: High - ⚠️ Refactor Needed - **Cyclomatic Complexity**: ~41 (Target: < 10) - **Nesting Depth**: 125 (Target: < 3) - **Estimated Operators**: 1192 - **Estimated Operands**: 3093 ## Recommendations - Extract complex logic into helper functions. - Use guard clauses (early returns) to flatten nesting. - Module is too large; consider splitting. --- ## File: `src/tools/advanced.test.ts` ### 🧠 Complexity Analysis # Code Quality Report **Rating**: Medium - ⚠️ Warning - **Cyclomatic Complexity**: ~3 (Target: < 10) - **Nesting Depth**: 4 (Target: < 3) - **Estimated Operators**: 61 - **Estimated Operands**: 361 ## Recommendations - Use guard clauses (early returns) to flatten nesting. --- ## File: `src/tools/advanced.ts` ### 🧠 Complexity Analysis # Code Quality Report **Rating**: High - ⚠️ Refactor Needed - **Cyclomatic Complexity**: ~105 (Target: < 10) - **Nesting Depth**: 10 (Target: < 3) - **Estimated Operators**: 770 - **Estimated Operands**: 3770 ## Recommendations - Extract complex logic into helper functions. - Use guard clauses (early returns) to flatten nesting. - Module is too large; consider splitting. --- ## File: `src/tools/cognitive.test.ts` ### 🧠 Complexity Analysis # Code Quality Report **Rating**: Medium - ⚠️ Warning - **Cyclomatic Complexity**: ~4 (Target: < 10) - **Nesting Depth**: 4 (Target: < 3) - **Estimated Operators**: 95 - **Estimated Operands**: 592 ## Recommendations - Use guard clauses (early returns) to flatten nesting. --- ## File: `src/tools/cognitive.ts` ### 🧠 Complexity Analysis # Code Quality Report **Rating**: High - ⚠️ Refactor Needed - **Cyclomatic Complexity**: ~67 (Target: < 10) - **Nesting Depth**: 7 (Target: < 3) - **Estimated Operators**: 640 - **Estimated Operands**: 2175 ## Recommendations - Extract complex logic into helper functions. - Use guard clauses (early returns) to flatten nesting. - Module is too large; consider splitting. --- ## File: `src/tools/coordination.test.ts` ### 🧠 Complexity Analysis # Code Quality Report **Rating**: Medium - ⚠️ Warning - **Cyclomatic Complexity**: ~2 (Target: < 10) - **Nesting Depth**: 4 (Target: < 3) - **Estimated Operators**: 36 - **Estimated Operands**: 235 ## Recommendations - Use guard clauses (early returns) to flatten nesting. --- ## File: `src/tools/coordination.ts` ### 🧠 Complexity Analysis # Code Quality Report **Rating**: High - ⚠️ Refactor Needed - **Cyclomatic Complexity**: ~27 (Target: < 10) - **Nesting Depth**: 5 (Target: < 3) - **Estimated Operators**: 110 - **Estimated Operands**: 916 ## Recommendations - Extract complex logic into helper functions. - Use guard clauses (early returns) to flatten nesting. - Module is too large; consider splitting. --- ## 📦 Dependency Audit ✅ `npm audit` passed.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/millsydotdev/Code-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server