smell_detect_feature_envy
Identify methods exhibiting feature envy by analyzing which class's data they rely on most. Scan a project directory to reveal methods that use more data from other classes than their own.
Instructions
Find methods that use more data from other classes than their own
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"directory": "<directory>"
},
"name": "smell_detect_feature_envy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | ||
| directory | Yes | Project directory to scan |