Skip to main content
Glama

Smart Code Reviewer

by renjismzy

calculate_complexity

Analyze code complexity metrics such as cyclomatic and cognitive complexity to assess maintainability and identify potential refactoring needs using Smart Code Reviewer.

Instructions

计算代码复杂度指标(圈复杂度、认知复杂度等)

Input Schema

NameRequiredDescriptionDefault
codeYes要分析的代码
languageYes编程语言

Input Schema (JSON Schema)

{ "properties": { "code": { "description": "要分析的代码", "type": "string" }, "language": { "description": "编程语言", "type": "string" } }, "required": [ "code", "language" ], "type": "object" }

Other Tools from Smart Code Reviewer

Related Tools

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/renjismzy/mcp-code'

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